draft
bool
1 class
date
stringlengths
19
20
title
stringlengths
9
214
tag
sequence
category
sequence
body
stringlengths
575
57.5k
description
stringlengths
40
192
image
stringlengths
28
59
embeddings_base_en
sequence
embeddings_small_en
sequence
embeddings_mini_lm
sequence
slug
stringlengths
8
191
url
stringlengths
49
232
false
2009-05-26 23:44:36
Pair Programming: Refactoring
[ "pair-programming", "refactoring" ]
[ "Pair Programming" ]
One area of development where I have sometimes wondered about the value that we can get from pair programming is when we're spending time doing some major refactoring of our code base. The reason I felt that pairing on big refactoring tasks might be difficult compared to when working on a story together is that with a story there tends to be a more defined goal and the business have defined that goal whereas with a refactoring task that goal is often less clear and people have much wider ranging differing opinions about the approach that should be taken. Having spent time pairing on some refactoring work for most of the last week I have changed my mind and I think that pairing on refactoring tasks is actually extremely valuable - certainly equally as valuable as pairing on story work and perhaps more so. What I noticed in my time pairing on this task is that actually although there is more conflict over the approach that should be taken this actually works out reasonably well in terms of driving *an approach that is somewhere between pragmatic and dogmatic*. From my experience, the mentality when you're the driver in a refactoring session is pretty much to want to fix everything that you come across but having someone else alongside you helps to rein in this desire and focus on making the fixes that add value to the code right now. I was quite surprised to notice that within just one keyboard switch we had both suggested to the other that making a particular refactoring should probably be added to our 'refactoring list' to have a look at later on rather than looking at it now and potentially getting into a http://sethgodin.typepad.com/seths_blog/2005/03/dont_shave_that.html[yak shaving situation]. Another thing I noticed was that the navigator was often able to point out things that the other person didn't see - sometimes making a certain change to the code had a bigger impact than the driver had expected and the navigator was able to spot this quickly and initiate a discussion about what the next step should be before we had gone too far down the wrong path. Refactoring code effectively and not making mistakes when doing so is one of the more difficult skills to learn as a developer and I think it is very difficult to learn by just working on your own since the approach to effectively refactor code by taking very small steps is not necessarily obvious. While http://www.amazon.co.uk/Refactoring-Improving-Design-Existing-Technology/dp/0201485672/ref=sr_1_1?ie=UTF8&s=books&qid=1243345240&sr=8-1[there] http://www.amazon.co.uk/Refactoring-Patterns-Addison-Wesley-Signature-Kerievsky/dp/0321213351/ref=sr_1_2?ie=UTF8&s=books&qid=1243345240&sr=8-2[are] http://www.markhneedham.com/blog/2008/09/15/clean-code-book-review/[certainly books] which explain how to do refactorings on our code a lot of the approaches that I like to use have been taught to me by more experienced people that I've had the chance to pair with. *Pairing creates the opportunity for these skills to be passed on to other members of the team*.
null
null
[ 0.017780479043722153, -0.005024665035307407, -0.0032536794897168875, 0.0291544608771801, 0.07185446470975876, 0.038912028074264526, 0.0371503122150898, 0.0306972898542881, 0.036669790744781494, -0.04958876967430115, -0.01674238033592701, 0.011098942719399929, -0.07065439969301224, -0.008320325054228306, -0.04274509847164154, 0.07392822951078415, 0.07416326552629471, -0.017680559307336807, 0.00016190110181923956, 0.0039916918613016605, 0.021168364211916924, 0.0729135274887085, -0.0035218840930610895, 0.03899979218840599, 0.020688356831669807, 0.015458822250366211, 0.009075840003788471, 0.003113824175670743, -0.06527110189199448, -0.016636501997709274, 0.05224340781569481, -0.010097566992044449, 0.01043330505490303, -0.011522004380822182, 0.010877223685383797, -0.02407807484269142, -0.007403280586004257, 0.03118077479302883, 0.01653100922703743, 0.007909690961241722, -0.06369487941265106, 0.03913190960884094, 0.000021145813661860302, -0.002518485067412257, -0.030918503180146217, -0.003271077061071992, -0.037233687937259674, 0.007929719053208828, -0.013113663531839848, -0.02165895514190197, -0.0644141212105751, 0.03470727428793907, 0.007678635884076357, -0.0026753575075417757, -0.009984397329390049, 0.0708523616194725, 0.031017111614346504, -0.07279026508331299, -0.004061725456267595, -0.04257602617144585, -0.004674913827329874, 0.008348727598786354, 0.016261709854006767, 0.0462038554251194, 0.04074851796030998, -0.002946365624666214, 0.0024765245616436005, 0.02148648165166378, -0.03328984975814819, 0.008931363001465797, 0.0036089145578444004, 0.009860546328127384, -0.028096286579966545, -0.014647092670202255, -0.0060239615850150585, -0.023130355402827263, -0.011691158637404442, 0.0663168728351593, 0.024553705006837845, 0.03799118101596832, -0.007568817585706711, 0.02045801654458046, -0.007359380833804607, 0.02176099456846714, 0.01460169069468975, -0.03657747432589531, 0.014134839177131653, -0.03277478739619255, -0.06562652438879013, 0.039708200842142105, 0.025659853592514992, -0.07994440943002701, 0.02249673195183277, 0.03847000002861023, 0.021169399842619896, 0.03661016747355461, 0.02093328908085823, 0.03628218173980713, 0.007169472519308329, -0.0036959373392164707, -0.026048528030514717, -0.007846718654036522, 0.001052639912813902, 0.0012731865281239152, -0.07648450881242752, -0.01925518736243248, -0.013633374124765396, -0.02235979028046131, 0.00194544845726341, 0.005046608857810497, -0.03103194385766983, 0.021228618919849396, -0.026387576013803482, 0.0192811731249094, -0.07417391985654831, 0.06293638050556183, -0.01892511360347271, -0.04072749242186546, -0.045555125921964645, -0.01015909481793642, 0.04737677052617073, 0.036646824330091476, 0.0009250335278920829, 0.0886324942111969, 0.009425626136362553, 0.03583642467856407, -0.030823074281215668, 0.047961603850126266, -0.029375335201621056, -0.054902803152799606, -0.006580378860235214, 0.04903270676732063, -0.04579465836286545, -0.014612700790166855, 0.006153141614049673, -0.02492920123040676, -0.00567603250965476, 0.026748105883598328, 0.010965894907712936, 0.0384194552898407, -0.02249000407755375, -0.030355634167790413, 0.026633398607373238, 0.010221381671726704, 0.015668991953134537, 0.012776651419699192, -0.00922760646790266, -0.0166575126349926, -0.025296669453382492, -0.0007159808301366866, 0.01030213013291359, 0.05221924930810928, 0.01833825372159481, -0.04572151228785515, 0.04406123608350754, 0.09387825429439545, 0.0161957498639822, 0.0038438301999121904, -0.010408333502709866, 0.039289720356464386, 0.03393963351845741, 0.02139110304415226, 0.0004360593156889081, 0.011013947427272797, 0.009173463098704815, 0.0015117853181436658, -0.0028928399551659822, 0.023116689175367355, 0.014770027250051498, 0.020771857351064682, -0.06486747413873672, -0.031202608719468117, 0.05077284201979637, -0.06405828893184662, -0.024599017575383186, 0.04878764599561691, 0.07389497011899948, 0.01963084749877453, 0.02266019769012928, 0.011565287597477436, -0.07482641190290451, 0.02793183922767639, 0.018114792183041573, -0.005335274618119001, 0.018116170540452003, -0.011131245642900467, 0.046505920588970184, 0.03219151124358177, -0.013900930993258953, 0.039169684052467346, -0.07684119790792465, -0.08260264992713928, -0.013917499221861362, -0.023917531594634056, 0.05883820354938507, -0.022649629041552544, 0.004347863141447306, 0.08570066839456558, 0.010236123576760292, 0.04402915760874748, 0.033066440373659134, 0.003390068653970957, 0.001531375339254737, -0.0428619384765625, -0.03719713166356087, 0.04540064558386803, 0.05254262313246727, -0.0024341654498130083, -0.06958664208650589, 0.009182965382933617, -0.0034267560113221407, -0.006694793235510588, 0.04460607096552849, -0.011875992640852928, 0.04399280995130539, 0.0061662327498197556, 0.03926368057727814, -0.03969941288232803, 0.05640570819377899, -0.048543840646743774, 0.0015816129744052887, 0.0013547297567129135, -0.019482895731925964, 0.0019236254738643765, 0.0019042899366468191, 0.09274197369813919, 0.060132838785648346, -0.05603644624352455, -0.043486203998327255, 0.016528304666280746, 0.008951692841947079, -0.042789459228515625, -0.008865035139024258, -0.007814069278538227, 0.013574539683759212, -0.012302744202315807, -0.05760953575372696, -0.02236439473927021, 0.016751790419220924, -0.03958633542060852, 0.019637437537312508, 0.0732799619436264, -0.03692387044429779, 0.05197290703654289, 0.008215534500777721, -0.021680554375052452, -0.002899643499404192, -0.00860488973557949, -0.04476923495531082, 0.025532888248562813, 0.019140195101499557, -0.010445420630276203, 0.0451803132891655, -0.03259650245308876, -0.031449951231479645, -0.03065118007361889, -0.03028814122080803, -0.011208408512175083, 0.0344550646841526, 0.06250624358654022, 0.0016866254154592752, 0.05852356553077698, -0.006848221179097891, 0.02381773665547371, 0.009054739959537983, -0.03862069919705391, -0.024174774065613747, -0.02254309132695198, 0.014417777769267559, 0.04014002904295921, -0.008616510778665543, 0.01864536479115486, 0.01946820504963398, -0.002677910029888153, -0.02736591547727585, -0.02556305192410946, 0.023281419649720192, 0.0007153644692152739, -0.020989680662751198, -0.04136166721582413, -0.031726986169815063, 0.03897600248456001, -0.055272310972213745, -0.030591148883104324, 0.007562401704490185, -0.059397779405117035, 0.051671549677848816, -0.07144933193922043, -0.061854179948568344, -0.0029551724437624216, 0.049124427139759064, 0.051178865134716034, -0.0037006514612585306, 0.026383768767118454, 0.07623856514692307, 0.00923039298504591, 0.02031795121729374, -0.006679491605609655, -0.005564036779105663, 0.0421224981546402, 0.013486243784427643, -0.009563927538692951, 0.03088558278977871, 0.0014129562769085169, -0.005419601686298847, -0.039107367396354675, 0.042660970240831375, -0.0115004051476717, -0.3153221607208252, 0.02529907040297985, 0.002386895939707756, -0.052842531353235245, 0.00905965082347393, -0.008430547080934048, -0.00012765709834638983, -0.048370394855737686, -0.021495774388313293, 0.026566527783870697, -0.04209071770310402, -0.057906366884708405, -0.023382244631648064, 0.056886881589889526, -0.01000664196908474, 0.03783995285630226, 0.013830143958330154, -0.020599542185664177, -0.01649012602865696, 0.04101572558283806, -0.010540465824306011, -0.06914360821247101, -0.00462376419454813, 0.020008709281682968, 0.03350584954023361, 0.03289937227964401, -0.09280478209257126, 0.03615415841341019, -0.05031488463282585, -0.008767255581915379, 0.010990251787006855, 0.016191644594073296, 0.0016413942212238908, -0.03205070272088051, -0.01183321513235569, -0.011621123179793358, 0.025411458685994148, 0.011834054253995419, -0.0025929086841642857, 0.023876069113612175, -0.023007573559880257, -0.03009338304400444, -0.008561775088310242, 0.02168763056397438, 0.06401075422763824, -0.02155587077140808, -0.08385376632213593, 0.005525632295757532, -0.013188216835260391, 0.09355700016021729, -0.03483239933848381, -0.042995888739824295, -0.0025427064392715693, 0.05037209391593933, 0.017331648617982864, -0.048405472189188004, 0.0021690386347472668, -0.018324382603168488, -0.017076624557375908, -0.019900931045413017, -0.009620784781873226, -0.03204319626092911, -0.0008432663162238896, -0.04571724683046341, 0.011770081706345081, -0.05985259637236595, -0.06273867934942245, -0.026611221954226494, 0.07240720838308334, 0.03210737928748131, -0.04448237642645836, 0.02059723623096943, -0.0008232407853938639, -0.10570249706506729, -0.009663984179496765, -0.011137610301375389, -0.014220542274415493, -0.01536508183926344, -0.018573524430394173, 0.04336689040064812, -0.029263436794281006, -0.059583500027656555, 0.019063884392380714, 0.0011086569866165519, 0.028595494106411934, 0.011025380343198776, 0.02501489780843258, 0.013769112527370453, -0.014431670308113098, 0.016793254762887955, 0.06300855427980423, -0.004738339222967625, -0.02807118184864521, -0.014318937435746193, 0.03048183210194111, -0.010428783483803272, 0.01894216239452362, -0.02325725369155407, -0.0043602148070931435, 0.0349855050444603, -0.012115566991269588, -0.06972913444042206, 0.03398928418755531, -0.0031573595479130745, 0.0034342503640800714, -0.014806284569203854, -0.05789022520184517, 0.022162968292832375, 0.05113896727561951, 0.04101116210222244, -0.012744921259582043, -0.020163943991065025, -0.004378441255539656, -0.023971527814865112, -0.034291233867406845, -0.016194812953472137, 0.023915192112326622, 0.035377319902181625, -0.03932712972164154, 0.0016421700129285455, -0.05122702196240425, 0.0031587204430252314, -0.014781729318201542, 0.011684835888445377, -0.07324383407831192, -0.03178618475794792, -0.019399451091885567, -0.03264331445097923, 0.015551799908280373, 0.03952469676733017, -0.025318671017885208, 0.04084213450551033, -0.0038796786684542894, -0.0460585318505764, 0.007628170773386955, -0.03527475520968437, -0.046556297689676285, -0.009316454641520977, -0.02301548235118389, -0.014821834862232208, 0.005867862608283758, 0.033038362860679626, 0.008164672181010246, 0.004565326031297445, 0.03349854424595833, -0.005491146817803383, 0.023419909179210663, -0.023566454648971558, 0.007846610620617867, 0.015268737450242043, 0.010590266436338425, -0.08075103163719177, 0.005678646266460419, -0.05411430448293686, -0.016366183757781982, -0.030706854537129402, 0.029141709208488464, -0.008511721156537533, -0.02204784005880356, 0.008150399662554264, 0.018985697999596596, -0.052336376160383224, -0.039031628519296646, -0.02354428917169571, 0.027774449437856674, 0.0454508475959301, -0.026417691260576248, 0.008610581047832966, -0.0168283861130476, -0.0033900791313499212, 0.0013200801331549883, 0.02606644481420517, -0.06456013023853302, -0.01236480101943016, 0.013460228219628334, 0.009819473139941692, 0.0011575610842555761, -0.010639150626957417, 0.039646491408348083, 0.018404390662908554, -0.000342018436640501, -0.01537127885967493, 0.010352060198783875, 0.02083926647901535, 0.04740145802497864, 0.000892991665750742, 0.024299567565321922, -0.021026261150836945, -0.02668428234755993, -0.015724822878837585, -0.050781771540641785, 0.0003563745704013854, 0.01936638541519642, 0.03309665992856026, -0.033270277082920074, -0.06498619168996811, 0.06045196205377579, 0.03900134563446045, 0.011856013908982277, 0.017307715490460396, -0.015873286873102188, 0.015037555247545242, -0.023848669603466988, 0.026596302166581154, 0.06928171217441559, -0.06843876838684082, -0.0005142379086464643, -0.011673305183649063, 0.004688854329288006, 0.00241812109015882, -0.0015355198411270976, -0.04444978013634682, -0.030207553878426552, -0.03747979551553726, 0.0038756378926336765, -0.0622282549738884, -0.011965155601501465, -0.01207689754664898, 0.0163992028683424, -0.0016470791306346655, -0.03189536929130554, -0.014796995557844639, -0.0022701735142618418, -0.022791845723986626, -0.024208497256040573, 0.006377948448061943, -0.038869068026542664, 0.03360925242304802, 0.008053984493017197, -0.04358402267098427, 0.012008783407509327, -0.047728464007377625, 0.027006888762116432, 0.02245425060391426, -0.008337474428117275, -0.021050024777650833, -0.04946481063961983, -0.004883260931819677, 0.014337895438075066, 0.023770146071910858, 0.007502966094762087, -0.034189749509096146, -0.02977697178721428, -0.014884993433952332, -0.04350273683667183, 0.011905056424438953, -0.04597584158182144, -0.013535680249333382, 0.011388756334781647, 0.0647503063082695, 0.03418092429637909, 0.0399278849363327, -0.0021203418727964163, -0.0036458552349358797, 0.060797952115535736, -0.059148818254470825, -0.03815726935863495, -0.03272039070725441, -0.08130361884832382, 0.004615076817572117, 0.010153770446777344, 0.026112619787454605, -0.06487878412008286, 0.02101168781518936, 0.017531607300043106, 0.045364860445261, 0.02047779969871044, -0.012500378303229809, 0.03639916330575943, -0.05791443958878517, 0.0007213145145215094, -0.06306988000869751, 0.013984140008687973, 0.03857475146651268, 0.0021262182854115963, -0.01910249888896942, -0.005101509392261505, -0.028462687507271767, 0.04361933097243309, -0.07823389023542404, -0.00019302261353004724, 0.036678481847047806, 0.0150778042152524, 0.0025743988808244467, -0.0011579160345718265, -0.0717238336801529, 0.025405561551451683, 0.016719326376914978, -0.03788427263498306, -0.03011283278465271, -0.03737971559166908, 0.0545986071228981, 0.015543454326689243, 0.039018664509058, -0.03797651827335358, -0.007872091606259346, 0.0768401101231575, 0.009684321470558643, 0.009044887498021126, 0.04660572111606598, 0.002790292026475072, 0.04146742448210716, 0.026522859930992126, 0.0034637709613889456, -0.0037197545170783997, 0.02983025275170803, 0.004289674106985331, -0.05581717565655708, 0.04773386940360069, 0.01498833391815424, -0.02505340799689293, -0.011590617708861828, 0.06772782653570175, 0.021502114832401276, -0.022292403504252434, -0.034782376140356064, 0.00412330124527216, -0.06600229442119598, 0.005330399610102177, -0.004362581763416529, -0.018372997641563416, -0.04891321808099747, 0.04267432913184166, 0.016860540956258774, -0.005850954446941614, 0.05526205152273178, 0.020665062591433525, -0.029668154194951057, -0.03203370049595833, 0.08662526309490204, 0.06013946235179901, 0.07033812999725342, 0.022868450731039047, 0.04657907783985138, -0.022456703707575798, -0.0415850393474102, 0.029945800080895424, 0.016155710443854332, -0.02641976810991764, -0.030618956312537193, 0.04194968193769455, 0.0411364808678627, 0.003989902790635824, 0.06531281024217606, -0.010941754095256329, -0.014293722808361053, 0.004260640125721693, 0.014330683276057243, 0.016789903864264488, 0.07165291160345078, 0.010651680640876293, 0.008240381255745888, -0.027376681566238403, -0.0401262603700161, 0.0347871296107769, -0.03077724575996399, -0.00502834701910615, 0.022518686950206757, -0.0025951971765607595, 0.028362469747662544, 0.033365510404109955, 0.023502033203840256, 0.08859828114509583, -0.04688546061515808, 0.008312219753861427, -0.021907055750489235, 0.0390847846865654, -0.008458392694592476, 0.005268603563308716, -0.018249692395329475, -0.03695540130138397, 0.021268649026751518, -0.020255977287888527, -0.01842523366212845, -0.014370125718414783, -0.011171020567417145, 0.05619995668530464, -0.0406452976167202, 0.01056553702801466, 0.0269567109644413, 0.015828846022486687, -0.0317203626036644, -0.08232711255550385, -0.027440013363957405, -0.03825917840003967, -0.03541634976863861, -0.03548172488808632, 0.005090226884931326, -0.0017893416807055473, -0.026670308783650398, -0.005976996850222349, -0.02921723574399948, -0.028109686449170113, 0.05387388914823532, -0.06796899437904358, -0.03120417892932892, 0.015256187878549099, 0.015090384520590305, 0.0402044951915741, 0.02765711396932602, 0.04235668107867241, -0.0130532868206501, -0.0029345995280891657, -0.00270247645676136, 0.02200011909008026, 0.03331681340932846, 0.004158204421401024, 0.008334319107234478, -0.08506983518600464, 0.02084066905081272, 0.03336966037750244, -0.006839676294475794, -0.06172342970967293, 0.034331247210502625, 0.002339731901884079, -0.018337609246373177, 0.049742069095373154, -0.03216008469462395, 0.016063109040260315, -0.03835124149918556, 0.005266412161290646, -0.012153705582022667, 0.033999551087617874, 0.04978453367948532, -0.02121725305914879, 0.07912926375865936, -0.0038484730757772923, -0.002440382493659854, -0.04969354718923569, -0.021375779062509537, 0.011625112034380436, 0.01294162217527628, -0.014963757246732712, -0.029440607875585556, -0.001397590385749936, -0.05051349475979805, -0.02164006046950817, 0.02496318891644478, -0.0035402753856033087, -0.031050799414515495, 0.04294514283537865, 0.032725993543863297, -0.04588141664862633, 0.02986261062324047, -0.05494355037808418, 0.04316035285592079, -0.017135070636868477, -0.01038429792970419, 0.002678878838196397, -0.003228731220588088, -0.01248097326606512, 0.008783639408648014, 0.018979303538799286, -0.040025170892477036, 0.009564925916492939, 0.0021592325065284967, 0.026178570464253426, 0.023343518376350403, 0.008483701385557652, 0.0014668016228824854 ]
[ -0.09549496322870255, -0.014456578530371189, -0.02937721647322178, -0.022984052076935768, 0.0076800123788416386, -0.037631724029779434, -0.023589810356497765, 0.03967121243476868, 0.005650877021253109, -0.042407166212797165, -0.01836424507200718, -0.005778166931122541, 0.018797656521201134, -0.007918346673250198, 0.09143906086683273, 0.001971994061022997, -0.018989093601703644, -0.0395989753305912, -0.0016431341646239161, 0.010799583978950977, 0.004276383202522993, -0.06061318889260292, -0.0339798629283905, -0.039468225091695786, 0.01095011830329895, 0.04855827987194061, 0.020190568640828133, -0.05325448885560036, 0.03600203990936279, -0.20353065431118011, 0.007229143753647804, 0.05011636018753052, 0.03877347335219383, -0.0019225511932745576, -0.003805164946243167, 0.06820932030677795, 0.0035614408552646637, 0.03205364942550659, -0.003350336104631424, 0.03203350678086281, 0.014708960428833961, 0.02483094297349453, -0.04503365606069565, -0.046300940215587616, -0.0005774651071988046, 0.011348802596330643, -0.013647959567606449, -0.04377519711852074, -0.03250551223754883, 0.017194416373968124, -0.05467657372355461, -0.060292281210422516, -0.04502593353390694, -0.004007539711892605, -0.006070596631616354, 0.05660885572433472, 0.04699893295764923, 0.060010164976119995, 0.0036435711663216352, 0.04012671113014221, 0.015198425389826298, -0.027294650673866272, -0.12056457996368408, 0.06504043191671371, 0.057823553681373596, 0.04995507746934891, -0.03343832492828369, -0.022526590153574944, -0.015023263171315193, 0.10457955300807953, -0.004719847347587347, -0.004156151320785284, -0.020311934873461723, 0.03397836163640022, 0.027571571990847588, 0.004398076795041561, -0.022496908903121948, 0.027681000530719757, 0.035612910985946655, -0.0339023657143116, -0.049676313996315, -0.011492183431982994, -0.006302129477262497, 0.009665731340646744, -0.03242911398410797, 0.01857410930097103, -0.004257323686033487, 0.03555406630039215, 0.04606933146715164, -0.0008576629916206002, 0.0599222406744957, -0.023539455607533455, 0.041486892849206924, -0.01282371673732996, -0.08434659987688065, 0.009627767838537693, 0.013881616294384003, 0.002447611652314663, -0.03840146213769913, 0.4226338863372803, -0.056051913648843765, -0.045904044061899185, 0.08998362720012665, 0.03015683963894844, -0.032684192061424255, 0.017745768651366234, 0.008732521906495094, -0.038062240928411484, 0.02661566063761711, -0.031032487750053406, 0.009355155751109123, 0.004434759262949228, 0.031104369089007378, -0.049957532435655594, 0.013157373294234276, 0.0660492479801178, 0.0006176653550937772, 0.029038118198513985, 0.022524671629071236, -0.011083853431046009, 0.0006767235463485122, 0.010085111483931541, 0.02077251486480236, 0.016926081851124763, -0.025357956066727638, -0.027260296046733856, 0.011666089296340942, 0.03050091862678528, 0.02570568025112152, -0.0027775815688073635, 0.05915967375040054, -0.041963595896959305, -0.04098361358046532, 0.019949955865740776, -0.01386464573442936, 0.004902436397969723, 0.02226315438747406, -0.028796615079045296, -0.0013350395020097494, 0.0510336197912693, 0.019315969198942184, -0.006917581427842379, 0.009242999367415905, -0.011176243424415588, -0.036424003541469574, 0.11952140927314758, 0.012242433615028858, -0.034759022295475006, -0.006838186644017696, -0.01340447086840868, -0.015288129448890686, 0.028161589056253433, -0.01625792682170868, -0.05284605920314789, 0.027653558179736137, -0.014419573359191418, 0.0969780907034874, -0.014043295755982399, -0.0706486850976944, 0.018080944195389748, -0.012496882118284702, -0.010278141126036644, -0.09363464266061783, -0.0016630387399345636, 0.08076980710029602, -0.104831263422966, 0.005002741236239672, 0.000949299952480942, 0.028894992545247078, -0.04377047345042229, -0.02957833744585514, 0.022737232968211174, -0.0034204854164272547, -0.019542988389730453, 0.04845916107296944, -0.019403912127017975, -0.07102851569652557, 0.008883828297257423, 0.059181518852710724, 0.023783907294273376, 0.022852089256048203, 0.0396537184715271, -0.039427489042282104, 0.003760694060474634, -0.03199281543493271, -0.10192354023456573, -0.03769761323928833, 0.01664658635854721, -0.04010443389415741, -0.006282243877649307, -0.008050675503909588, -0.02797698602080345, -0.06241980940103531, 0.11521463096141815, -0.005633446387946606, -0.039166245609521866, 0.04445540904998779, -0.018770985305309296, -0.051085397601127625, -0.0052115898579359055, -0.06449183076620102, 0.04001953452825546, -0.01813649758696556, 0.011807960458099842, -0.0563371479511261, 0.05201956629753113, 0.021976323798298836, -0.03834845498204231, 0.08102919906377792, 0.05390201508998871, -0.03135311231017113, -0.0367271825671196, 0.010289969854056835, 0.016313275322318077, -0.0075391922146081924, -0.016692642122507095, -0.008076860569417477, 0.050219494849443436, 0.0023068420123308897, 0.023680798709392548, -0.013979596085846424, 0.008041420951485634, 0.03250286355614662, -0.35328295826911926, -0.030558140948414803, -0.02263394184410572, -0.00927752535790205, 0.0016217133961617947, -0.06472703069448471, 0.021596193313598633, -0.0185256227850914, -0.0453798845410347, 0.010447106324136257, 0.06893204152584076, -0.02141527645289898, 0.004578649997711182, -0.078833669424057, 0.0016620776150375605, 0.006207202095538378, -0.023020347580313683, -0.003234241157770157, -0.035554997622966766, 0.005672766827046871, 0.017153974622488022, -0.002882045228034258, -0.00740228733047843, -0.0700821653008461, 0.013029447756707668, -0.029600372537970543, 0.09844456613063812, -0.02689369209110737, 0.09463072568178177, -0.02802301198244095, 0.042344480752944946, 0.0072267078794538975, 0.021257860586047173, -0.08665434271097183, 0.02170950174331665, 0.001789767062291503, 0.033199869096279144, -0.05003773793578148, 0.010785460472106934, -0.0376780703663826, -0.06036733463406563, -0.006297836545854807, -0.0634361132979393, -0.05382026731967926, -0.07765733450651169, 0.007339811883866787, -0.039055079221725464, -0.059118349105119705, -0.0010380580788478255, 0.10437699407339096, 0.004570230841636658, 0.01982187293469906, 0.015231558121740818, -0.018142521381378174, -0.03966512903571129, -0.0156125258654356, -0.06967921555042267, 0.03743026778101921, 0.011823530308902264, -0.030569711700081825, 0.03549429401755333, 0.06593684107065201, 0.03218863531947136, -0.05613201484084129, 0.010430458001792431, 0.014264484867453575, 0.00497304555028677, -0.008300097659230232, 0.03615117073059082, -0.006369085516780615, -0.011695870198309422, 0.09412740916013718, 0.007550249807536602, -0.03080669231712818, 0.015254460275173187, 0.014900622889399529, -0.021227730438113213, 0.02878596819937229, 0.022764891386032104, -0.025596613064408302, 0.016270341351628304, -0.029294712468981743, 0.021985402330756187, -0.01857133023440838, 0.0038218314293771982, -0.008954296819865704, 0.012681886553764343, -0.05172605440020561, 0.02800949104130268, -0.0001927753910422325, -0.0340588204562664, -0.0054068551398813725, -0.005553875584155321, -0.0643269494175911, 0.0788741484284401, -0.003046442521736026, -0.253415048122406, 0.001483434927649796, 0.046270374208688736, 0.05693270266056061, -0.024493880569934845, 0.021708084270358086, 0.01933003030717373, -0.036634765565395355, 0.0031287854071706533, -0.017469234764575958, 0.04013463109731674, 0.0187371876090765, -0.002336513251066208, 0.0011073329951614141, 0.04919576644897461, 0.0056388480588793755, 0.061137210577726364, 0.0041534570045769215, 0.03618026524782181, -0.03131444752216339, 0.0053355204872787, -0.007540582213550806, 0.1696118712425232, 0.014957149513065815, 0.049698781222105026, 0.009711000137031078, -0.0070031615905463696, 0.017419936135411263, 0.0777309313416481, -0.0011040247045457363, -0.008499132469296455, 0.004483433905988932, 0.0573091097176075, 0.004101138096302748, 0.02819753810763359, -0.043780967593193054, -0.02048576809465885, 0.025163890793919563, 0.04863367974758148, 0.04044114798307419, 0.02968376874923706, 0.01840946078300476, -0.01942155323922634, -0.004719004966318607, 0.08014506846666336, 0.01847352460026741, 0.012645372189581394, -0.023209236562252045, -0.06535250693559647, -0.004926084075123072, -0.054094478487968445, -0.02100979909300804, 0.02084268070757389, -0.001955348299816251, 0.009581686928868294, 0.051059115678071976, 0.005370620638132095, -0.010325183160603046, -0.008723157458007336, 0.020013799890875816, -0.0050524454563856125, 0.007314242888242006, 0.08499465882778168, 0.034020695835351944, 0.019099391996860504 ]
[ -0.03144077956676483, -0.014920013025403023, 0.01116908248513937, 0.032420121133327484, -0.026075454428792, 0.04844304174184799, -0.023877348750829697, 0.011370633728802204, 0.0021485621109604836, -0.006607215851545334, -0.010104486718773842, 0.03211010619997978, -0.034539222717285156, 0.0019441830227151513, 0.02229493111371994, -0.009001693688333035, -0.013086928054690361, 0.0029934323392808437, 0.023994918912649155, 0.011696768924593925, -0.01571068726480007, 0.0009205325040966272, -0.04683452844619751, -0.03065720573067665, 0.0025260327383875847, -0.009598842822015285, -0.007613568101078272, -0.05473438650369644, 0.0245731920003891, -0.1325763612985611, -0.03752102702856064, -0.005082065239548683, -0.006516556721180677, 0.021668393164873123, -0.023521853610873222, -0.02136569656431675, 0.057677846401929855, 0.02988332509994507, 0.02261597290635109, -0.04634850472211838, -0.05008252337574959, -0.006657902151346207, -0.0058171749114990234, -0.010526292957365513, 0.017892785370349884, -0.00265511404722929, 0.021757889539003372, -0.050493933260440826, -0.040554970502853394, -0.02329047955572605, -0.059148140251636505, 0.026044022291898727, -0.020864926278591156, -0.012600286863744259, 0.01836419105529785, 0.01291532814502716, 0.01296592503786087, -0.04961021989583969, 0.010646583512425423, 0.004427866544574499, -0.02962978184223175, -0.012990973889827728, -0.05484476312994957, -0.02019774727523327, -0.04155343398451805, -0.01850806176662445, -0.002910285722464323, -0.0119619807228446, -0.003714286722242832, 0.0017196801491081715, -0.037301383912563324, 0.0010709536727517843, 0.0019226145232096314, -0.0529443733394146, 0.0033663397189229727, 0.029861610382795334, -0.007123601622879505, -0.0460650809109211, 0.026088733226060867, -0.04477168619632721, -0.052863121032714844, 0.014225699007511139, 0.027645869180560112, 0.03807180002331734, 0.028183110058307648, -0.02588173933327198, -0.0047985524870455265, 0.013584326952695847, 0.014625745825469494, 0.011241663247346878, -0.03147468715906143, 0.03573070466518402, -0.0024547537323087454, -0.016757963225245476, -0.0818895697593689, 0.01759527623653412, -0.02933252416551113, 0.016934270039200783, -0.011970230378210545, 0.8193253874778748, -0.011453768238425255, 0.05576049163937569, 0.01822998747229576, -0.0012254264438524842, -0.000497345463372767, 0.024426443502306938, 0.02506677620112896, -0.02369830757379532, 0.022921036928892136, -0.04018132761120796, 0.03072323277592659, -0.0022196441423147917, 0.009783525951206684, 0.008978916332125664, 0.0363408587872982, 0.028895683586597443, 0.0001863631041487679, -0.007609085645526648, 0.00895659625530243, -0.007155899424105883, 0.006567015312612057, 0.013524566777050495, 0.0011057177325710654, -0.005735408514738083, 0.03520549088716507, -0.15476731956005096, 0.03671640157699585, -7.543990666423334e-33, 0.05279800668358803, 0.046902675181627274, -0.022472120821475983, -0.008975532837212086, 0.00594262033700943, 0.004890038166195154, 0.004164641257375479, -0.012415872886776924, -0.031145185232162476, -0.02813800983130932, -0.02056852914392948, -0.013813501223921776, -0.008860134519636631, -0.022198399528861046, 0.009855465032160282, -0.013865375891327858, -0.01051697414368391, 0.02454339526593685, -0.04574200510978699, 0.027373962104320526, 0.038831569254398346, 0.04973709210753441, -0.023508330807089806, -0.0007203238783404231, -0.03509489446878433, 0.0028322776779532433, -0.005056152585893869, 0.019680103287100792, 0.013592656701803207, -0.038475118577480316, -0.015286704525351524, 0.034430794417858124, -0.016848936676979065, 0.018868673592805862, -0.034229204058647156, -0.016558386385440826, -0.017208661884069443, -0.02357974462211132, -0.007759629283100367, -0.004489888437092304, -0.04928405210375786, 0.013143799267709255, -0.061315905302762985, -0.04222884401679039, 0.007366514764726162, -0.02814030647277832, -0.00995507650077343, 0.07764378190040588, -0.003233634401112795, -0.032594114542007446, -0.004945793654769659, 0.03953416272997856, -0.012762793339788914, 0.02255268581211567, -0.02527056448161602, 0.021212348714470863, 0.01819751039147377, -0.004941686522215605, 0.013289384543895721, 0.043935440480709076, 0.02233414351940155, 0.0027588983066380024, -0.03158331289887428, 0.005630092695355415, -0.005185379181057215, 0.0003555287839844823, 0.030687490478157997, 0.029876776039600372, 0.017618777230381966, -0.01414430234581232, -0.025395799428224564, 0.013479657471179962, 0.01689092442393303, -0.020566795021295547, -0.004375530872493982, -0.006045844405889511, 0.02987145446240902, -0.011768845841288567, -0.022404147312045097, 0.038511164486408234, -0.027981996536254883, 0.019431959837675095, 0.008451172150671482, -0.04614253714680672, -0.03514622151851654, -0.034875769168138504, -0.0024332301691174507, -0.014529231935739517, -0.03723159804940224, 0.06796230375766754, 0.022579465061426163, 0.009731809608638287, 0.014242212288081646, -0.01014113798737526, 0.03639340028166771, 7.151327798790688e-33, 0.004771041683852673, -0.02338969148695469, 0.028947537764906883, 0.011595731601119041, 0.05438043177127838, -0.011479022912681103, 0.022301193326711655, -0.030468842014670372, -0.02246762439608574, 0.02654729038476944, -0.025992801412940025, -0.015190040692687035, 0.028167860582470894, -0.003189667360857129, 0.03889551758766174, -0.009354710578918457, 0.022981896996498108, -0.021899791434407234, 0.041835784912109375, -0.0007013506256043911, 0.03153853118419647, 0.012264867313206196, 0.04373405501246452, 0.050295352935791016, 0.0380026213824749, 0.022740019485354424, 0.008424474857747555, 0.0024802505504339933, -0.0007995929918251932, -0.023112187162041664, 0.00459603127092123, -0.019354432821273804, 0.018713926896452904, -0.03287305310368538, 0.013076622039079666, 0.04628501087427139, -0.056544601917266846, -0.04438435286283493, 0.0001820954930735752, 0.0012768353335559368, 0.01345084048807621, 0.0010706073371693492, -0.02275027707219124, 0.01897237077355385, 0.033817190676927567, -0.002358440775424242, 0.01212383434176445, -0.0459664985537529, -0.0015791385667398572, -0.013561581261456013, 0.05525871366262436, 0.035042569041252136, -0.02967991679906845, -0.02327425591647625, -0.04227980598807335, -0.01705154962837696, 0.000212772618397139, 0.0023017851635813713, -0.004336071200668812, 0.04918833449482918, 0.030626974999904633, 0.002197685418650508, -0.012800578959286213, 0.01634157821536064, -0.014185670763254166, -0.007373351603746414, 0.010755564086139202, 0.018909253180027008, -0.00036158793955110013, -0.003953068051487207, -0.02171012945473194, -0.02903176099061966, 0.01331370696425438, 0.05343363434076309, 0.004866387229412794, -0.04754847660660744, -0.03661468252539635, -0.021584725007414818, 0.006657120306044817, -0.0033508092164993286, 0.02905614860355854, 0.025324219837784767, 0.04154999181628227, 0.045370712876319885, -0.0037365539465099573, 0.04691094532608986, 0.006734790746122599, 0.08906173706054688, -0.00011961848940700293, -0.007252549286931753, -0.031491752713918686, -0.013187617994844913, 0.03639945760369301, 0.01593630574643612, -0.02598736621439457, -1.3271693077854252e-8, -0.024319205433130264, 0.011905266903340816, 0.00010900171037064865, 0.03272426500916481, -0.0070882211439311504, -0.0048864153213799, 0.010650819167494774, 0.011748047545552254, -0.03781526908278465, 0.00733160087838769, 0.033282604068517685, -0.03499175235629082, 0.007433510851114988, 0.0064196279272437096, 0.07563745975494385, -0.03510937839746475, -0.005270997527986765, -0.0498398020863533, 0.02296121045947075, 0.0031998849008232355, 0.012845453806221485, 0.012544332072138786, -0.04052193835377693, 0.0399172380566597, -0.031277645379304886, 0.015009520575404167, 0.014328455552458763, -0.06168675795197487, 0.002187315607443452, 0.007330589462071657, 0.0028576247859746218, -0.024953387677669525, -0.03384317457675934, 0.029324963688850403, -0.007697549648582935, -0.02984943427145481, 0.011658369563519955, 0.04643634334206581, 0.010701076127588749, 0.00605124281719327, -0.032474882900714874, 0.01245657168328762, -0.0199825968593359, -0.007987840101122856, -0.008218766190111637, 0.030551530420780182, -0.05636293441057205, -0.03797811269760132, -0.03927893936634064, -0.010184145532548428, 0.02863924577832222, -0.021205291152000427, 0.017141716554760933, 0.015365621075034142, -0.019310472533106804, 0.038044579327106476, -0.004548223689198494, -0.020071301609277725, 0.011458881199359894, -0.05094239115715027, 0.032574497163295746, 0.036611512303352356, -0.02025320567190647, -0.03287125006318092 ]
pair-programming-refactoring
https://markhneedham.com/blog/2009/05/26/pair-programming-refactoring
false
2009-05-26 00:51:41
The value of a fresh mind
[ "software-development" ]
[ "Software Development" ]
I recently http://developer-in-test.blogspot.com/2009/05/why-i-dont-like-over-working-in-project.html[read a post by my colleague Sai Venkatakrishnan] where he talks about some of the disadvantages of over working on a project and it reminded me of something I've noticed a lot recently - notably that after taking a break from solving a problem, either by looking at it again the next day or after lunch or any kind of break I end up solving it significantly more quickly than if I'd kept on trying to solve it without doing so. I'm not sure exactly why that is, but it seems to tie in nicely with Tip 16 from http://www.markhneedham.com/blog/2008/10/06/pragmatic-learning-and-thinking-book-review/[Pragmatic Learning and Thinking]: ____ Step away from the keyboard to solve hard problems. ____ The idea that Andy Hunt is promoting is that we should take some time away from the keyboard and keep the problem in mind but don't focus on it - the rich mode in our brain (used for intuition, problem solving and creativity) will take over from the linear mode (used for working through the details and making things happen) and probably lead us to the insight that helps us solve the problem. I think it comes down to the fact that when you are really close to a problem for a long period of time and you're feeling tired you stop seeing the bigger picture and therefore perhaps miss what would be a much simpler way of solving the problem. This has happened on several occasions for me and each time I am surprised that I couldn't see the obvious solution the day before. Another thing I've noticed is that not only do I start to not see solutions to problems but I start to make more mistakes than I normally would and end up spending time the next day fixing these, meaning the extra time spent didn't really add any value at all - very frustrating! I think it's fine to sometimes spend extra time working on problems, especially if they are critical ones that need to be fixed within a certain time frame - usually production issues or when close to release - but apart from those occasions it really does seem to be true that maintaining a http://c2.com/cgi/wiki?SustainablePace[sustainable pace] works out more productive overall than over working and being in a consistently tired state. An idea somewhat related which I'm keen to try out is the http://blog.staffannoteberg.com/2008/02/22/pomodoro-technique-in-5-minutes/[Pomodoro technique] which I've seen the http://pairwith.us/[pairwithus] guys using during their pairing sessions. From what I've read about this technique it might take the idea of keeping our mind fresh and focused to the next level. Whatever the technique we choose to use the value of stepping away from the keyboard to solve problems more quickly seems counter intuitive but somehow keeps coming true for me at least.
null
null
[ 0.017355386167764664, 0.012413709424436092, 0.016596749424934387, 0.028809556737542152, 0.08100531995296478, 0.012959546409547329, 0.027046186849474907, 0.058261509984731674, 0.007923230528831482, -0.0285959430038929, -0.030524684116244316, -0.005772507283836603, -0.05082634463906288, 0.017148632556200027, -0.04133186116814613, 0.08026780188083649, 0.06764114648103714, -0.0061600361950695515, -0.0020630010403692722, 0.0169393140822649, 0.06081454083323479, 0.07886277884244919, 0.03228841349482536, 0.037468090653419495, 0.039976567029953, -0.01794796623289585, -0.007465867325663567, -0.010801846161484718, -0.05247621238231659, -0.02549249306321144, 0.04647766798734665, 0.001629955368116498, 0.019497983157634735, -0.0034719156101346016, 0.02024747058749199, -0.005817918572574854, -0.03095156140625477, 0.03545554354786873, 0.0015539356973022223, 0.0007936984766274691, -0.08306553959846497, 0.03759152442216873, -0.03038647770881653, -0.007745418697595596, -0.031295545399188995, 0.00676331203430891, -0.03734713792800903, 0.006065865978598595, 0.015388368628919125, -0.00917942076921463, -0.07620835304260254, 0.04905090481042862, 0.01717771403491497, -0.003411030862480402, -0.02433096244931221, 0.05218623951077461, 0.02566470392048359, -0.0633348748087883, 0.019677452743053436, -0.03663291037082672, -0.004548883065581322, -0.026345720514655113, -0.013835713267326355, 0.038481492549180984, 0.03203725814819336, -0.03739215061068535, 0.010717240162193775, 0.02723183110356331, -0.03346884623169899, 0.029876336455345154, -0.030304353684186935, 0.009446794167160988, -0.018836122006177902, -0.012542561627924442, 0.009988180361688137, -0.035457462072372437, 0.022251343354582787, 0.03803267702460289, 0.01440331619232893, 0.052469223737716675, -0.03687426820397377, 0.018219301477074623, 0.016804281622171402, 0.03373290225863457, -0.015647530555725098, -0.03309978172183037, 0.01420909259468317, -0.03476911783218384, -0.06677308678627014, 0.04490818455815315, 0.01579887792468071, -0.0442206971347332, 0.03531596064567566, 0.05159740149974823, 0.0035946739371865988, 0.00848065409809351, 0.03755359724164009, -0.0036617035511881113, -0.01769430562853813, -0.006500109564512968, -0.0075271157547831535, -0.03102577105164528, -0.01901845447719097, 0.029706569388508797, -0.0784672424197197, -0.02093198336660862, -0.0037987770047038794, -0.020147843286395073, -0.022325873374938965, 0.013015137985348701, -0.04652952775359154, 0.02248504012823105, -0.022760063409805298, 0.005370491184294224, -0.07778508216142654, 0.052987005561590195, 0.007424615789204836, -0.030175503343343735, -0.023339705541729927, 0.01522627379745245, 0.021881254389882088, 0.017475903034210205, 0.00036021354026161134, 0.06473689526319504, -0.005661388859152794, 0.005733208730816841, -0.037954118102788925, 0.036280885338783264, -0.024228166788816452, -0.05409727990627289, 0.006426246836781502, 0.044710855931043625, -0.021360181272029877, -0.03849046677350998, 0.0034125815145671368, -0.022694583982229233, 0.023462852463126183, 0.011872346512973309, 0.015407870523631573, 0.05540350824594498, -0.005798595491796732, -0.036703161895275116, 0.02913106232881546, 0.02884340099990368, 0.011991716921329498, -0.005246889311820269, -0.004016650374978781, -0.009406035766005516, -0.03654336556792259, -0.02874474972486496, 0.004267089068889618, 0.014976146630942822, 0.00959930568933487, -0.04434089735150337, 0.01561929564923048, 0.09193543344736099, 0.016797032207250595, 0.004670338239520788, -0.010999098420143127, 0.017877254635095596, 0.04195379838347435, 0.026005730032920837, -0.005036588758230209, 0.03474945202469826, 0.014574763365089893, -0.01718006283044815, 0.012177577242255211, 0.027346180751919746, -0.010842710733413696, 0.020304983481764793, -0.061850033700466156, -0.04266783595085144, 0.07249480485916138, -0.08998624980449677, -0.027980264276266098, 0.061271727085113525, 0.08192294090986252, 0.04875494912266731, 0.014523617923259735, 0.00416706595569849, -0.08293917775154114, 0.024108801037073135, -0.006213890854269266, 0.024111781269311905, 0.01711197756230831, -0.035529375076293945, 0.03860399127006531, 0.01068528275936842, 0.005198419094085693, 0.035741232335567474, -0.07859493792057037, -0.08661583811044693, -0.001244846498593688, -0.006083512678742409, 0.0615399032831192, -0.022968558594584465, -0.002404294442385435, 0.071831613779068, -0.004447417799383402, 0.06914404034614563, 0.021268727257847786, 0.014736457727849483, 0.0029056763742119074, -0.04695592075586319, -0.04871555417776108, 0.06439132988452911, 0.026155715808272362, -0.007642174605280161, -0.042125433683395386, 0.02193439193069935, -0.0048506599850952625, -0.018242578953504562, 0.04278336465358734, -0.02152853086590767, 0.03384667634963989, 0.005274882540106773, 0.05634581670165062, -0.042778197675943375, 0.0456201396882534, -0.041958037763834, -0.004386552609503269, 0.015442261472344398, -0.010276878252625465, 0.01531442254781723, 0.0031361521687358618, 0.08899862319231033, 0.05212261527776718, -0.0562453456223011, -0.041963234543800354, 0.023042920976877213, 0.008633432909846306, -0.04251565411686897, -0.010957903228700161, 0.0028096854221075773, 0.011483773589134216, 0.007513690274208784, -0.05057686194777489, -0.03365631029009819, 0.01430242508649826, -0.05768688768148422, -0.01946471817791462, 0.06106816232204437, -0.029699811711907387, 0.06698457896709442, -0.007624749559909105, 0.003739788429811597, -0.02128569409251213, 0.006948811933398247, -0.05893446505069733, 0.008416841737926006, 0.01903330348432064, -0.0059136454947292805, 0.046301186084747314, -0.029466014355421066, -0.01643766462802887, -0.047836463898420334, -0.03146245703101158, 0.011997544206678867, 0.05675355717539787, 0.08047083020210266, -0.021243218332529068, 0.08505134284496307, 0.01858518086373806, 0.04649099335074425, 0.00032993362401612103, -0.04226023703813553, -0.0293420497328043, -0.04669911786913872, 0.005626112688332796, 0.02071697637438774, -0.00035264273174107075, 0.009525911882519722, 0.02138202078640461, 0.027597786858677864, -0.019277432933449745, -0.026753408834338188, 0.027546759694814682, 0.009621422737836838, -0.01087871938943863, -0.028118165209889412, -0.001198791665956378, 0.05702778697013855, -0.044740304350852966, -0.010965043678879738, 0.008078163489699364, -0.08083003759384155, 0.03290769085288048, -0.05781624838709831, -0.05620818957686424, 0.014576390385627747, 0.0249168761074543, 0.03802071511745453, -0.004294108599424362, 0.034023962914943695, 0.06892793625593185, 0.027303049340844154, 0.01128522027283907, 0.008321883156895638, 0.0043780626729130745, 0.05152762308716774, 0.018246667459607124, -0.01728888414800167, 0.04298662021756172, 0.0026900561060756445, -0.010309379547834396, -0.05245041847229004, 0.044224902987480164, -0.04989815875887871, -0.28343430161476135, 0.024502743035554886, 0.0014949144097045064, -0.024299729615449905, 0.007783383596688509, -0.02208840474486351, 0.02093886211514473, -0.049647994339466095, -0.028746237978339195, 0.01836611144244671, -0.03691115975379944, -0.06164666637778282, -0.010533640161156654, 0.04150933772325516, -0.011660895310342312, 0.018495524302124977, 0.0407259464263916, -0.039353128522634506, 0.005028693005442619, 0.05165468528866768, -0.008285858668386936, -0.06377240270376205, -0.026638377457857132, 0.05039733275771141, 0.04104652628302574, 0.06896306574344635, -0.07109101861715317, 0.05652487277984619, -0.056329093873500824, 0.02202518843114376, 0.0037198381032794714, -0.007209024857729673, 0.00023741381301078945, -0.02499585971236229, 0.007849699817597866, -0.005460432730615139, 0.027973996475338936, -0.0009231779840774834, 0.019665544852614403, 0.033161744475364685, -0.011567444540560246, -0.0318712554872036, 0.012113111093640327, 0.016744062304496765, 0.05936995893716812, 0.021767526865005493, -0.07975488901138306, -0.029255760833621025, -0.0346023365855217, 0.0749209001660347, -0.015406758524477482, -0.02876439318060875, -0.008365275338292122, 0.014542761258780956, -0.007992029190063477, -0.014633197337388992, 0.00777021748945117, -0.034896813333034515, -0.030473651364445686, -0.04960070922970772, -0.008735153824090958, -0.0037923504132777452, -0.018422532826662064, -0.05891172215342522, 0.006071921903640032, -0.06423621624708176, -0.0556965097784996, -0.017680702731013298, 0.06999729573726654, 0.02488042041659355, -0.03970213606953621, 0.013020286336541176, 0.005377265624701977, -0.10658566653728485, -0.01999772898852825, 0.013770878314971924, -0.059815529733896255, 0.001792607014067471, 0.027154169976711273, 0.03907144442200661, -0.02991580218076706, -0.051545217633247375, 0.04446111246943474, 0.01493064220994711, 0.025604942813515663, -0.008212151937186718, 0.030575988814234734, 0.019442515447735786, -0.013319354504346848, 0.029620371758937836, 0.054161783307790756, 0.009386510588228703, -0.042015690356492996, -0.04025781899690628, 0.03753405436873436, 0.016711637377738953, 0.014350117184221745, -0.028435679152607918, 0.02695664018392563, 0.014228935353457928, -0.008142927661538124, -0.051323991268873215, 0.015482685528695583, -0.005130823235958815, -0.006046727765351534, -0.027386531233787537, -0.060782868415117264, 0.017404085025191307, 0.046876952052116394, 0.023205196484923363, -0.004177526105195284, -0.015809765085577965, 0.0013478499604389071, -0.02871839515864849, -0.014024420641362667, -0.021240234375, 0.027143457904458046, 0.05029089376330376, -0.011134421452879906, -0.007114742882549763, -0.05946408584713936, 0.005206179339438677, -0.009486183524131775, 0.0015188849065452814, -0.06075875088572502, 0.0028271139599382877, -0.013074500486254692, -0.03434781730175018, 0.012402849271893501, 0.042902622371912, -0.022203851491212845, 0.012350556440651417, 0.026957206428050995, -0.025634674355387688, 0.019994519650936127, -0.05053632706403732, -0.061495959758758545, -0.018345434218645096, -0.0024519667495042086, -0.0007584947743453085, -0.001358712906949222, 0.01748003251850605, 0.002862128894776106, 0.007185233291238546, 0.04865581542253494, 0.024676773697137833, 0.0021378486417233944, -0.03809765726327896, 0.023801162838935852, 0.01151566207408905, 0.0017949477769434452, -0.06929904967546463, 0.02351604588329792, -0.03975247964262962, -0.008952044881880283, -0.020827719941735268, 0.012953005731105804, -0.02892807312309742, -0.023470986634492874, -0.00967569462954998, 0.015187046490609646, -0.053764328360557556, -0.05956477299332619, -0.03992261365056038, 0.02316448837518692, 0.06405512988567352, -0.007454420439898968, 0.015738515183329582, 0.0025067038368433714, -0.00792307686060667, 0.033437855541706085, 0.020031049847602844, -0.07084975391626358, -0.008937964215874672, 0.012944096699357033, -0.001615922898054123, 0.003920749761164188, -0.03667715936899185, 0.0563008189201355, 0.00576800387352705, -0.006182126235216856, -0.028039254248142242, 0.008665955625474453, 0.006635622121393681, 0.03673553466796875, -0.004196257796138525, 0.009512239135801792, -0.006924507673829794, -0.023532604798674583, -0.026505278423428535, -0.035383522510528564, -0.015012177638709545, 0.005002118181437254, 0.010458612814545631, -0.03961649164557457, -0.06441438943147659, 0.049668438732624054, 0.030477941036224365, 0.01615855097770691, 0.01595078967511654, -0.015713071450591087, -0.018800530582666397, -0.04265248775482178, 0.03791094943881035, 0.07914470881223679, -0.07782850414514542, 0.012156435288488865, 0.007204493507742882, -0.00033887694007717073, 0.020088475197553635, -0.015839753672480583, -0.017788082361221313, -0.01904229447245598, -0.03917616233229637, 0.0156564861536026, -0.07482270896434784, -0.01001961063593626, -0.017193714156746864, 0.03118583932518959, 0.012074609287083149, -0.014744293875992298, -0.029856404289603233, -0.03572564944624901, -0.014641056768596172, -0.020151237025856972, -0.0034446297213435173, -0.03885047882795334, 0.0020832724403589964, 0.027435999363660812, -0.040345944464206696, 0.006198002025485039, -0.02382277138531208, 0.03563738241791725, 0.024623749777674675, -0.03087148629128933, -0.02336258627474308, -0.01949271187186241, 0.005562923848628998, 0.00514825526624918, 0.03713815286755562, -0.01063044648617506, -0.04515491798520088, -0.03632885590195656, -0.01652366667985916, -0.03252992406487465, 0.01892337203025818, -0.031924597918987274, -0.005781679879873991, 0.022095799446105957, 0.06821346282958984, 0.028311891481280327, 0.022846436128020287, -0.01872272416949272, -0.025016378611326218, 0.022689688950777054, -0.07508781552314758, -0.03991217538714409, -0.015309825539588928, -0.04381367564201355, 0.010884642601013184, 0.006606807932257652, 0.014848582446575165, -0.03799733892083168, 0.03803807497024536, 0.016476744785904884, 0.04569167643785477, 0.023580512031912804, 0.013915151357650757, 0.03620710223913193, -0.051817845553159714, -0.005251455586403608, -0.09050307422876358, -0.012478437274694443, 0.016791366040706635, -0.003976754378527403, 0.007855184376239777, -0.0007174937636591494, -0.02116701565682888, 0.05039582774043083, -0.07992226630449295, -0.02044382132589817, 0.04319391027092934, 0.004244617652148008, -0.015368236228823662, 0.03824790567159653, -0.07977835088968277, 0.019669920206069946, 0.01513754017651081, -0.02953498810529709, -0.015420788899064064, -0.01893501728773117, 0.0642675831913948, 0.00032381786149926484, 0.019278226420283318, -0.05917460098862648, 0.008279657922685146, 0.06937006860971451, 0.016825471073389053, -0.013477371074259281, 0.03824878856539726, -0.013812381774187088, 0.040861282497644424, 0.04800287261605263, 0.038751691579818726, -0.018707549199461937, 0.011972503736615181, -0.015676209703087807, -0.05593669414520264, 0.03227454423904419, -0.001897013746201992, -0.009287640452384949, -0.03446457162499428, 0.06182944029569626, 0.032495591789484024, -0.02706684172153473, -0.04601366072893143, 0.020250599831342697, -0.055355384945869446, 0.009085343219339848, 0.010467998683452606, -0.006472029257565737, -0.0411570705473423, 0.04548520967364311, -0.018146932125091553, 0.009858985431492329, 0.06176748126745224, 0.017012322321534157, -0.02560190111398697, -0.006829756777733564, 0.09711691737174988, 0.06763356924057007, 0.05827556177973747, 0.030939443036913872, 0.07491619139909744, -0.005756177939474583, -0.03716595843434334, 0.03293702006340027, -0.018399178981781006, -0.03488492593169212, -0.0454987958073616, 0.04491294547915459, 0.054849039763212204, 0.00031856560963205993, 0.060012660920619965, -0.020407164469361305, -0.020157188177108765, 0.005159963387995958, 0.03117017075419426, 0.005396029446274042, 0.052264392375946045, 0.01675863191485405, 0.027775399386882782, -0.018705982714891434, -0.05245305225253105, 0.02301691845059395, -0.03949394449591637, -0.007173448335379362, 0.03746316209435463, -0.0032080949749797583, 0.016859322786331177, 0.04525572061538696, 0.00431113550439477, 0.07491947710514069, -0.04077945277094841, 0.02855067141354084, 0.0007726676994934678, 0.04922809824347496, -0.004695931915193796, 0.011660879477858543, -0.024589959532022476, -0.013371646404266357, -0.007831748574972153, -0.01186551246792078, -0.02837771736085415, -0.029603952541947365, -0.030762024223804474, 0.032675791531801224, -0.037479765713214874, 0.008957793936133385, 0.05521261319518089, 0.009373925626277924, -0.021244706586003304, -0.05909106880426407, -0.04567748308181763, -0.049313291907310486, -0.046453580260276794, -0.0021550918463617563, 0.025335906073451042, -0.012004972435534, -0.029954440891742706, -0.020644590258598328, 0.0000025060826374101453, -0.040921926498413086, 0.023384202271699905, -0.041986651718616486, -0.03527253866195679, 0.017250340431928635, 0.020750928670167923, 0.024206744506955147, 0.008179286494851112, 0.051000699400901794, -0.00423650024458766, -0.00011516080849105492, -0.010503370314836502, 0.009279880672693253, 0.020181801170110703, -0.010924666188657284, 0.005292798392474651, -0.07758758962154388, 0.019906338304281235, 0.014723235741257668, -0.024989396333694458, -0.0623403824865818, 0.02343328855931759, 0.030258452519774437, -0.0007365464698523283, 0.05100397765636444, -0.028649603947997093, 0.008567365817725658, -0.055775225162506104, 0.01748574711382389, -0.009944040328264236, 0.011519028805196285, 0.03834886848926544, -0.02376769855618477, 0.05728357285261154, 0.0027774048503488302, -0.0010726115433499217, -0.028159286826848984, -0.008928019553422928, -0.008191455155611038, 0.009328370913863182, -0.032366346567869186, -0.02517550252377987, -0.03303441405296326, -0.08335742354393005, -0.021381299942731857, 0.008252325467765331, -0.024073410779237747, -0.041924916207790375, 0.04157481715083122, 0.01152146514505148, -0.008300897665321827, 0.0212512519210577, -0.04988742247223854, 0.031427450478076935, -0.017739012837409973, -0.004991874564439058, 0.01641971990466118, 0.011959902942180634, 0.0076197232119739056, -0.0031000501476228237, 0.03511854633688927, -0.04716506227850914, 0.02965031936764717, -0.005532941315323114, 0.014844384044408798, 0.03982166200876236, 0.005204347427934408, -0.02457592636346817 ]
[ -0.08143989741802216, 0.00039515638491138816, 0.005155558232218027, -0.01759176515042782, 0.01439476665109396, -0.03593068942427635, 0.008099605329334736, 0.001070136553607881, -0.007151329889893532, -0.022099154070019722, 0.006434367969632149, -0.010763604193925858, 0.013008116744458675, 0.005651386920362711, 0.07095646113157272, 0.024912893772125244, -0.03218719735741615, -0.05512888729572296, 0.0014758288161829114, 0.0074086920358240604, -0.010644594207406044, -0.02734030969440937, -0.035348307341337204, -0.013819855637848377, 0.02267872728407383, 0.010388949885964394, 0.0294228233397007, -0.03999722748994827, 0.01500941812992096, -0.16611652076244354, -0.015139059163630009, 0.028645094484090805, 0.047784630209207535, -0.01847228966653347, 0.016981830820441246, 0.07962282747030258, 0.002720665419474244, 0.040736425668001175, -0.01564769074320793, 0.03724388778209686, 0.029172757640480995, 0.020430870354175568, -0.04010949656367302, -0.041047602891922, 0.02106308564543724, 0.021827196702361107, 0.012084411457180977, -0.06669347733259201, -0.01713297702372074, 0.007985672913491726, -0.07973144948482513, -0.03365215286612511, -0.031919926404953, -0.007966501638293266, -0.00567603250965476, 0.023944297805428505, 0.0432119257748127, 0.07220282405614853, 0.006535330321639776, 0.04309333115816116, 0.029697801917791367, -0.015981288626790047, -0.15480969846248627, 0.0853826105594635, 0.06444108486175537, 0.05507523566484451, -0.031540535390377045, -0.015058350749313831, -0.006226696539670229, 0.1090797707438469, 0.003906453959643841, -0.024312922731041908, -0.019175341352820396, 0.04158758372068405, 0.05179931968450546, 0.005232163704931736, -0.017990145832300186, 0.021519873291254044, 0.024382729083299637, -0.04740384966135025, 0.012208071537315845, 0.0142079908400774, -0.003489115508273244, -0.008595687337219715, -0.043791983276605606, 0.025692055001854897, -0.021511657163500786, 0.04582447186112404, 0.043034594506025314, 0.028424162417650223, 0.02444247528910637, -0.021251952275633812, 0.031903356313705444, -0.005888393614441156, -0.05944759026169777, -0.04223490506410599, 0.010764854960143566, 0.039338454604148865, -0.08116200566291809, 0.41231727600097656, -0.05577249079942703, -0.0020386462565511465, 0.08370236307382584, 0.0315360352396965, -0.02749834582209587, -0.016019901260733604, 0.02395761013031006, -0.04257723689079285, 0.013802780769765377, -0.03154280036687851, 0.024137714877724648, 0.010506946593523026, 0.07029664516448975, -0.0202788058668375, 0.0005449707969091833, 0.029323283582925797, 0.03932729735970497, 0.00957469455897808, 0.002753335051238537, -0.00888492539525032, -0.004479237832129002, 0.02684064768254757, 0.02568580023944378, -0.0028753839433193207, -0.04746043309569359, -0.02960655651986599, 0.014851771295070648, 0.056406036019325256, 0.02484232932329178, -0.03634416311979294, 0.045957051217556, -0.07611782103776932, -0.04274241626262665, 0.02510150708258152, -0.010837100446224213, 0.010597839951515198, 0.038732171058654785, -0.02137403003871441, 0.01815112866461277, 0.03433545306324959, 0.018302708864212036, 0.0231365654617548, 0.010246118530631065, -0.03621571138501167, -0.02861592546105385, 0.1228705495595932, 0.04067044332623482, -0.041778791695833206, 0.000014464058949670289, -0.06633978337049484, -0.014422009699046612, 0.02906511351466179, 0.004103840794414282, -0.034720469266176224, 0.04779493436217308, 0.0030989295337349176, 0.10038614273071289, 0.0020665586926043034, -0.053885988891124725, 0.013595043681561947, -0.03516080230474472, -0.0220788661390543, -0.06650208681821823, 0.01783851906657219, 0.08634892106056213, -0.0663609430193901, -0.016679398715496063, -0.01427127793431282, 0.004377797245979309, -0.059242065995931625, -0.011263281106948853, 0.004305804613977671, -0.015652775764465332, -0.013796190731227398, 0.07090888917446136, -0.03332196921110153, -0.02962878905236721, 0.005247403401881456, 0.029710836708545685, 0.05961168557405472, 0.05975562706589699, -0.02309993840754032, -0.02571057714521885, -0.005872304085642099, -0.034573204815387726, -0.079279825091362, -0.007933625020086765, -0.01133083924651146, -0.020580682903528214, -0.007786178961396217, -0.012635490857064724, -0.03776043280959129, -0.08478625863790512, 0.10243510454893112, -0.0223509781062603, -0.03329310566186905, 0.029308224096894264, -0.023677386343479156, -0.029382262378931046, -0.0182618647813797, -0.07986674457788467, 0.03007313422858715, -0.05386367067694664, 0.012873414903879166, -0.05284023657441139, 0.04680047929286957, 0.03049151599407196, -0.05581923574209213, 0.10885562747716904, 0.06777168065309525, -0.04848349094390869, -0.01698901318013668, 0.02203884907066822, 0.03856762871146202, 0.0058480435982346535, -0.0010821496834978461, 0.010232375003397465, 0.03549670800566673, -0.011207749135792255, 0.03161701187491417, -0.011886446736752987, -0.012998316437005997, -0.038072921335697174, -0.33939090371131897, -0.05277962237596512, -0.026112841442227364, -0.009387197904288769, 0.017700931057333946, -0.03926648572087288, 0.00291265407577157, -0.037324268370866776, -0.02365141361951828, -0.0020020166411995888, 0.06457702815532684, -0.027757378295063972, -0.017139505594968796, -0.0973316878080368, 0.007907828316092491, -0.011932749301195145, -0.022622903808951378, -0.0528348870575428, -0.044882964342832565, -0.016294749453663826, 0.02061150223016739, 0.006574580445885658, -0.004082337953150272, -0.09361301362514496, -0.010799451731145382, -0.05930561199784279, 0.09062954783439636, 0.0039003186393529177, 0.0766008198261261, -0.02687203511595726, 0.02190415933728218, 0.014174363575875759, 0.031170785427093506, -0.12726975977420807, 0.0067980969324707985, -0.01715610921382904, 0.019105488434433937, -0.04000600799918175, -0.0019058937905356288, -0.053314100950956345, -0.0378965400159359, 0.027597440406680107, -0.0754246935248375, -0.03368313983082771, -0.10893289744853973, 0.01826600357890129, -0.031061766669154167, -0.04123077541589737, -0.029935425147414207, 0.05101264268159866, 0.024875085800886154, 0.017816945910453796, 0.00010379641753388569, 0.00870520994067192, -0.0022663637064397335, -0.01837221533060074, -0.08578848838806152, 0.010055318474769592, -0.014498553238809109, -0.041570793837308884, 0.021446002647280693, 0.046498097479343414, 0.0316515751183033, -0.01335108932107687, 0.0015258761122822762, 0.0288238488137722, 0.014440986327826977, 0.01276180986315012, 0.03417912870645523, 0.015217353589832783, -0.00620485283434391, 0.12555043399333954, 0.0064668371342122555, -0.02968120574951172, 0.013604882173240185, 0.016561094671487808, -0.016920844092965126, 0.039724647998809814, 0.011412570253014565, -0.0031951095443218946, -0.00914938747882843, -0.033435992896556854, 0.03100513480603695, 0.002864413196220994, -0.008903096430003643, -0.0009185843518935144, -0.021355606615543365, -0.06568024307489395, 0.08593007177114487, 0.023501217365264893, -0.024140547960996628, 0.03681394085288048, -0.035395778715610504, -0.0670018270611763, 0.09106318652629852, 0.012686644680798054, -0.22493091225624084, 0.03139818087220192, 0.05690064653754234, 0.023449856787919998, -0.0336349792778492, 0.05308753624558449, 0.015911053866147995, -0.0006124538485892117, 0.025862518697977066, 0.01785305142402649, 0.006741364020854235, 0.04572148621082306, -0.008761145174503326, 0.013784934766590595, 0.05079743266105652, -0.03303712606430054, 0.057242777198553085, -0.0002914547803811729, 0.04095856845378876, -0.005758999846875668, 0.010603930801153183, 0.006398774683475494, 0.14570797979831696, 0.017102325335144997, 0.03303391858935356, -0.016049738973379135, -0.005038460250943899, -0.0033381578978151083, 0.07453603297472, -0.0030754960607737303, 0.00804674718528986, 0.0014906651340425014, 0.025855673477053642, 0.009391955099999905, 0.0401986800134182, -0.07478082180023193, -0.04267789050936699, 0.04428799822926521, 0.01642022840678692, -0.02164330706000328, 0.03385813906788826, 0.0042515466921031475, -0.04152485728263855, 0.0433896966278553, 0.08295294642448425, -0.016581352800130844, -0.012999875470995903, -0.060045383870601654, -0.04138464480638504, -0.04993206635117531, -0.019923191517591476, -0.02472079172730446, 0.022084981203079224, 0.0189078226685524, 0.002962998114526272, 0.06274468451738358, 0.019248591735959053, -0.023237597197294235, 0.009038128890097141, -0.0051073976792395115, -0.020354632288217545, 0.005454818718135357, 0.09883302450180054, 0.023445675149559975, 0.056938208639621735 ]
[ -0.02143595926463604, 0.007900231517851353, 0.019218169152736664, 0.01915300078690052, 0.01258825697004795, -0.014126998372375965, 0.00013539096107706428, 0.005886976607143879, 0.0069371783174574375, 0.014243642799556255, -0.0038738029543310404, 0.012387745082378387, 0.0031267195008695126, -0.017976420000195503, 0.008857657201588154, 0.002960158744826913, -0.01606135442852974, -0.02391155995428562, 0.025826258584856987, 0.02545331045985222, -0.021830124780535698, 0.017370253801345825, 0.0045779552310705185, -0.0015917724231258035, -0.007322537712752819, 0.020215407013893127, -0.006539142224937677, -0.016848739236593246, 0.035999078303575516, -0.12536749243736267, -0.032320257276296616, -0.01830619014799595, -0.022271398454904556, -0.0005394272156991065, -0.006125223357230425, 0.015441594645380974, -0.0017216167179867625, 0.017021384090185165, -0.01562405750155449, -0.029186643660068512, 0.0028687051963061094, -0.0002444910351186991, -0.013484857976436615, 0.013944199308753014, 0.0017255727434530854, -0.002284341724589467, -0.0015361652476713061, -0.06329603493213654, -0.022975405678153038, -0.039659805595874786, -0.03949088975787163, -0.014979192987084389, -0.01344591099768877, -0.0025585375260561705, 0.030900144949555397, -0.020192548632621765, 0.029645327478647232, -0.0059553286992013454, 0.005936183035373688, -0.0251667108386755, 0.02017289213836193, -0.03201475366950035, -0.0698169395327568, -0.03647678717970848, 0.006020014174282551, 0.01506796944886446, -0.015529116615653038, 0.003865116275846958, -0.052262719720602036, 0.010350520722568035, -0.019506199285387993, 0.014645516872406006, -0.01622386835515499, -0.06181924790143967, 0.03014502115547657, -0.013459564186632633, -0.026917986571788788, -0.03745683282613754, 0.012659757398068905, -0.003530740737915039, -0.02242923155426979, 0.03572405129671097, 0.017750730738043785, -0.0013605457497760653, 0.017449531704187393, -0.010843202471733093, 0.01778830587863922, 0.0028115841560065746, 0.03166298195719719, -0.015318105928599834, -0.008111556060612202, 0.003865307429805398, -0.0036833120975643396, 0.030797524377703667, -0.1006639301776886, -0.026875412091612816, -0.001887143705971539, 0.0016400957247242332, -0.008856028318405151, 0.871759295463562, -0.012875054031610489, 0.03835856541991234, 0.03953653946518898, -0.020472927019000053, 0.009869533590972424, 0.015091911889612675, -0.019480930641293526, -0.004242343828082085, 0.010994873009622097, -0.04377983510494232, -0.007131934631615877, 0.0038216332904994488, 0.017049515619874, 0.031158218160271645, 0.02759353071451187, 0.030936850234866142, 0.03301480785012245, 0.0049027809873223305, 0.0071115209721028805, 0.010858987458050251, 0.03922218829393387, 0.00986708328127861, 0.002024493645876646, 0.0038638391997665167, -0.016577670350670815, -0.1820818930864334, -0.01223344262689352, -7.674331684094417e-33, 0.03475949913263321, -0.006718986202031374, -0.00530365202575922, -0.016464659944176674, 0.014607096090912819, -0.003000353928655386, 0.03229047730565071, 0.056967705488204956, -0.007763280067592859, -0.021289492025971413, 0.018075278028845787, -0.01278569083660841, -0.02067600004374981, -0.023782089352607727, 0.03685462847352028, -0.014510475099086761, -0.01572808437049389, 0.058085452765226364, 0.0016156771453097463, 0.026187708601355553, 0.023864518851041794, -0.0045104240998625755, 0.001372013008221984, -0.013332484290003777, 0.03791533410549164, 0.002502742223441601, 0.01797749288380146, 0.009300473146140575, -0.02434457838535309, -0.04885255917906761, -0.008500535041093826, 0.043346747756004333, -0.04106153920292854, -0.011401417665183544, -0.01096531841903925, -0.03128201141953468, -0.009671919047832489, 0.026540646329522133, -0.011532550677657127, -0.018837712705135345, -0.039675381034612656, 0.006401405204087496, -0.03506775572896004, 0.01421344093978405, 0.02378169447183609, -0.007137702777981758, 0.003603394143283367, 0.031068934127688408, 0.002984745427966118, -0.0017931072507053614, -0.023433387279510498, 0.010491480119526386, 0.0015385072911158204, -0.004301212262362242, -0.01442326232790947, -0.010117135010659695, 0.003046056255698204, 0.0005262856720946729, 0.012226537801325321, 0.015559431165456772, 0.014091704040765762, -0.0028374746907502413, -0.014865050092339516, 0.029362384229898453, -0.027696706354618073, 0.005683224648237228, -0.014328474178910255, 0.009489665739238262, 0.007062523625791073, 0.01245124638080597, -0.03612730652093887, -0.013251464813947678, -0.0083689596503973, -0.010345722548663616, 0.0010595176136121154, 0.009687602519989014, -0.014089249074459076, 0.014280126430094242, -0.02524193562567234, 0.049694836139678955, 0.0057041822001338005, 0.005736204795539379, -0.012377786450088024, -0.0492093451321125, 0.00004008453106507659, 0.010761260986328125, 0.016864633187651634, -0.023235144093632698, -0.018880285322666168, 0.0036370304878801107, 0.029795581474900246, -0.005014973226934671, 0.0021362078841775656, -0.00646820105612278, -0.035586871206760406, 7.838135352513564e-33, 0.005762933753430843, -0.03860364109277725, -0.027080396190285683, -0.013883768580853939, 0.02300092577934265, -0.012323948554694653, -0.006564558483660221, -0.018131718039512634, -0.031027108430862427, 0.010387537069618702, -0.019697025418281555, 0.0005604832549579442, -0.027620473876595497, 0.03228265419602394, 0.000004531825652520638, -0.02623388171195984, 0.025375617668032646, -0.007742874789983034, 0.004930625203996897, 0.0031638951040804386, -0.002169587416574359, 0.011938408948481083, -0.000668453867547214, 0.003030097344890237, 0.02114364132285118, 0.049244433641433716, -0.0019043083302676678, 0.02764211595058441, 0.0021910446230322123, -0.0014445632696151733, 0.002529740799218416, -0.025723032653331757, 0.013498577289283276, -0.009020650759339333, -0.01592327281832695, 0.040451060980558395, -0.02627476304769516, -0.02736951783299446, 0.012926961295306683, 0.02438577264547348, 0.038588929921388626, 0.01185827236622572, 0.015145526267588139, 0.027071252465248108, 0.018794355913996696, 0.014153395779430866, -0.007592807989567518, -0.019441870972514153, -0.016974905505776405, 0.01570061407983303, 0.027349714189767838, 0.01700453832745552, 0.025237226858735085, -0.0067771426402032375, -0.013240166008472443, -0.013117690570652485, -0.028142476454377174, 0.014218375086784363, -0.03066733106970787, 0.010734287090599537, -0.0036442591808736324, 0.016023483127355576, 0.014224868267774582, 0.007459512911736965, -0.01696518063545227, -0.004270337056368589, -0.00322179333306849, 0.012138430029153824, 0.004694893024861813, 0.0077121807262301445, -0.033294543623924255, 0.016969535499811172, -0.010771983303129673, 0.05518944188952446, 0.014161095954477787, -0.010179703123867512, 0.0027765280101448298, 0.009032059460878372, -0.00028611361631192267, 0.0032546091824769974, 0.009820472449064255, -0.0032938322983682156, 0.023420965299010277, 0.0034649381414055824, -0.01826384663581848, 0.02314547635614872, -0.020032014697790146, 0.024618463590741158, -0.003047033678740263, -0.03265199437737465, 0.004437948111444712, -0.009739235043525696, -0.0185630414634943, 0.032823268324136734, 0.0038095919881016016, -1.345320121970417e-8, 0.018349340185523033, 0.0013914904557168484, -0.0018091126112267375, -0.003813012968748808, 0.022284509614109993, -0.03413589671254158, 0.004038425162434578, 0.0021966369822621346, -0.0341460257768631, 0.026225250214338303, 0.045731667429208755, -0.017598966136574745, 0.010050143115222454, 0.01444885041564703, 0.012617137283086777, -0.04692937061190605, -0.005855596624314785, 0.013179285451769829, 0.02503124810755253, -0.005070068873465061, 0.03309338912367821, 0.030489979311823845, -0.012239157222211361, 0.014533688314259052, 0.029335202649235725, -0.016378281638026237, -0.008998450823128223, -0.07451092451810837, 0.005158702377229929, 0.0269948560744524, 0.024306265637278557, -0.034152403473854065, -0.01591908186674118, 0.029125673696398735, 0.003289954736828804, -0.03669854998588562, 0.012840114533901215, 0.004444172605872154, -0.00911333691328764, 0.000898239086382091, -0.021993106231093407, -0.0023248062934726477, 0.002751317573711276, -0.016952795907855034, -0.018032731488347054, 0.009404183365404606, -0.03301815688610077, -0.01019794587045908, 0.02110240049660206, -0.02068595215678215, 0.02472015656530857, 0.006747592706233263, 0.06804028153419495, 0.01880240999162197, -0.002939730416983366, 0.022137146443128586, 0.011998728848993778, 0.006061288993805647, -0.05122663825750351, -0.000904997403267771, 0.02895500510931015, 0.027700483798980713, -0.016814228147268295, -0.015309587121009827 ]
the-value-of-a-fresh-mind
https://markhneedham.com/blog/2009/05/26/the-value-of-a-fresh-mind
false
2009-05-26 13:20:01
Refactoring: Removing duplication more safely
[ "coding", "refactoring" ]
[ "Coding", "Incremental Refactoring" ]
One of the most important things that I've learnt from the http://www.markhneedham.com/blog/category/coding-dojo/[coding dojo sessions] that we've been running over the last six months is the importance of http://www.markhneedham.com/blog/2009/05/15/coding-dojo-14-rock-scissors-paper-tdd-as-if-you-meant-it/[small step refactorings]. Granted we have been trying to take some of the practices to the extreme but the basic idea of trying to *keep the tests green* for as much time as well as +++<strong>+++keeping our code in a state where it still compiles +++</strong>+++(in a static language) is very useful no matter what code we're working on. Recently a colleague and I were doing some work on our code base to try and remove some duplication - we had two classes which were doing pretty much the same thing but they were named just slightly differently. The implementation was also slightly different - one was a list containing objects with Key and Value properties on and the other was a dictionary/map of key/value pairs. We spent a bit of time checking that we hadn't misunderstood what these two different classes were doing and having convinced ourselves that we knew what was going on decided to get rid of one of them - one was used in around 50% more places than the other so we decided to keep that one. We now needed to replace the usages of the other one. My pre-coding dojo refactoring approach would have been to just find the first place that the one we wanted to replace was being used, delete that and then let the compiler guide me to replacing all its usages and then do that with the second usage and so on. The problem with this approach is that we would probably have had the code in a state where it didn't compile for maybe half an hour, leading to a situation where we would be unable to run our tests for any of this time which would mean that we would lose confidence that the changes we were making actually worked. The approach we therefore took was to add in the class we wanted to keep side by side with the one we wanted to get rid of and slowly move our tests across to setup data for that. We therefore ended up with code looking a bit like this to start with: [source,csharp] ---- public class IHaveUsages { public IDictionary<OldType, string> OldType { get; set; } public IList<NewType> OldType2 { get; set; } } ---- When changing tests we took the approach of commenting out the old setup code to start with so that we could see exactly what was going on in the setup and then delete it once we had done so. I've written previously about my http://www.markhneedham.com/blog/2009/01/17/the-danger-of-commenting-out-code/[dislike for commented code] but we were using it in this case as a mechanism to guide our refactoring and we didn't ever check the code in with these comments in so I think it was a reasonable approach. [source,csharp] ---- [Test] public void SomeTest() { // some test stuff new IHaveUsages { // OldType = new Dictionary<OldType, string> {{new OldType("key"), "value"}}, OldType2 = new List<NewType> { new NewType { Key = "key", Value = "value" } } } } ---- The intention was to try and reduce the number of places that OldType was being used until the point where there were none left which would allow us to safely remove it. Once we had made that change to the test setup we needed to make the changes in the class using that data to get our green bar back. On a couple of occasions we found methods in the production code which took in the OldType as a parameter. In order to refactor these areas we decided to take a copy of the method and renamed it slightly before re-implementing it using the NewType. [source,csharp] ---- private void OldMethod(OldType oldType) { // Do some stuff } ---- [source,csharp] ---- private void OldMethod2(NewType newType) { // replicate what's being done in DoSomeStuffOn } ---- We then looked for the usages of 'OldMethod' and replaced those with calls to 'OldMethod2', also ensuring that we passed in NewType to the method instead of OldType. I'm intrigued as to whether there is an even better way to perform this refactoring - when I chatted with http://pilchardfriendly.wordpress.com/[Nick] about this he suggested that it might have been even easier to create a temporary inheritance hierarchy with NewType extending OldType. We could then just change any calls which use OldType to use NewType before eventually getting rid of OldType. I haven't tried this approach out yet but if it makes our feedback cycle quicker and chances of failing less then I'm all for it.
null
null
[ -0.003496285295113921, -0.0014038069639354944, -0.015601794235408306, 0.027097009122371674, 0.07011079043149948, 0.0051672570407390594, 0.047959908843040466, 0.016022611409425735, 0.0224076546728611, -0.023570863530039787, -0.019361739978194237, 0.0045104678720235825, -0.06673360615968704, 0.0024201006162911654, -0.04016602411866188, 0.06970950961112976, 0.06716839224100113, -0.013992964290082455, 0.037322163581848145, -0.0016068285331130028, 0.027788907289505005, 0.06672530621290207, -0.0022753789089620113, 0.03450370952486992, 0.02951873652637005, 0.030834777280688286, 0.020847328007221222, 0.007124490570276976, -0.07831570506095886, -0.02038230001926422, 0.041904304176568985, 0.01882060058414936, 0.009653822518885136, 0.01429419033229351, 0.005263887345790863, -0.02594710886478424, -0.012475274503231049, 0.02431027777493, 0.0008902612025849521, 0.021296147257089615, -0.04826805368065834, 0.043850045651197433, -0.001490133348852396, 0.007707342971116304, -0.04771233722567558, -0.005189540795981884, -0.03604578971862793, -0.0009611393907107413, -0.024218818172812462, -0.03710547462105751, -0.0751929059624672, 0.02384546399116516, 0.01306504663079977, -0.001716263242997229, -0.02575763687491417, 0.053644973784685135, 0.03528428450226784, -0.06541673094034195, 0.01620689406991005, -0.04397420212626457, -0.0031742393039166927, -0.011427056044340134, 0.010523815639317036, 0.04003163054585457, 0.02062472142279148, -0.022479074075818062, -0.0016524797538295388, 0.044224631041288376, -0.03141746670007706, -0.013175067491829395, -0.0027747354470193386, 0.009578780271112919, -0.02012135274708271, -0.01533716730773449, 0.0021181683987379074, -0.03683321923017502, -0.014426826499402523, 0.06502870470285416, 0.004405794199556112, 0.022891221567988396, -0.028000494465231895, 0.01111117284744978, 0.01563592068850994, 0.01612144336104393, 0.005692807957530022, -0.04427402839064598, -0.0004903938970528543, -0.0086341118440032, -0.046641457825899124, 0.062256183475255966, 0.02505936473608017, -0.04304258152842522, 0.02890300750732422, 0.031987264752388, 0.00324459932744503, 0.024918468669056892, 0.016305794939398766, 0.0008407930145040154, -0.012760575860738754, -0.010696093551814556, -0.02344866655766964, -0.014130902476608753, 0.02689933590590954, -0.004578346386551857, -0.07863675802946091, -0.0086326003074646, -0.021993817761540413, -0.011576046235859394, 0.011240232735872269, 0.021292299032211304, -0.03811221569776535, 0.017624782398343086, -0.009211388416588306, 0.0008914690115489066, -0.07597792893648148, 0.06154940277338028, -0.0025226755533367395, -0.03600349649786949, -0.03111044317483902, 0.019685832783579826, 0.040111713111400604, 0.029507188126444817, -0.005312277935445309, 0.09756239503622055, 0.02526753395795822, 0.03544867783784866, -0.026641570031642914, 0.054488420486450195, -0.01806679740548134, -0.06696685403585434, 0.006458661053329706, 0.04203435406088829, -0.0222936999052763, 0.001146178226917982, 0.003542909398674965, -0.029146118089556694, -0.0017355801537632942, 0.005537091754376888, 0.0355631448328495, 0.05039343982934952, -0.02254541777074337, -0.03151775896549225, 0.01787608675658703, -0.0022216150537133217, 0.009243161417543888, 0.032827917486429214, -0.02462756633758545, -0.015108968131244183, -0.025542505085468292, 0.010957255028188229, 0.0011456758948042989, 0.04156726226210594, 0.017724154517054558, -0.039752889424562454, 0.022091295570135117, 0.08543434739112854, -0.0168833639472723, 0.022125504910945892, -0.020366033539175987, 0.04369960352778435, 0.015058785676956177, 0.025830643251538277, 0.008025813847780228, 0.035227805376052856, 0.0038688017521053553, -0.0018306669080629945, -0.0063726636581122875, 0.045948486775159836, 0.006914764177054167, 0.0124822361394763, -0.06014857441186905, -0.046647246927022934, 0.059549130499362946, -0.059408869594335556, -0.022902468219399452, 0.047998491674661636, 0.07750464975833893, 0.01300323847681284, 0.04079810529947281, 0.004614199046045542, -0.07928245514631271, 0.009570839814841747, 0.014588491059839725, -0.0039665657095611095, 0.02276105247437954, -0.01364759262651205, 0.050478167831897736, 0.04481356590986252, 0.006589299999177456, 0.039663124829530716, -0.08153681457042694, -0.08534342795610428, -0.004466238897293806, -0.02764197438955307, 0.0682285949587822, -0.013881280086934566, 0.0030054824892431498, 0.07094161957502365, 0.036526456475257874, 0.05232756957411766, 0.03691002354025841, -0.006532424595206976, 0.02798013761639595, -0.024294007569551468, -0.013322204351425171, 0.04222581535577774, 0.03313961625099182, -0.008680213242769241, -0.041259340941905975, 0.0002560769789852202, -0.007672631647437811, -0.008500771597027779, 0.041506558656692505, -0.004386004060506821, 0.026807989925146103, 0.013746838085353374, 0.05810759216547012, -0.042280301451683044, 0.06389442086219788, -0.07490271329879761, 0.01780753768980503, 0.00015931518282741308, -0.02034836821258068, -0.006028132978826761, -0.00762391509488225, 0.12246601283550262, 0.05809720233082771, -0.04032570868730545, -0.030407870188355446, 0.004075734876096249, 0.00029068003641441464, -0.047577615827322006, -0.025458578020334244, -0.010731082409620285, 0.023802638053894043, -0.013964586891233921, -0.05789369344711304, -0.03538329899311066, 0.009276153519749641, -0.04466669261455536, 0.02843824215233326, 0.06992808729410172, -0.006308349780738354, 0.04859599471092224, -0.013163465075194836, -0.01306768599897623, 0.0027165052015334368, 0.009709533303976059, -0.050883546471595764, 0.015488669276237488, 0.0176655612885952, -0.02339910715818405, 0.05160100385546684, -0.03147469460964203, -0.02643582597374916, -0.03819695860147476, -0.026650238782167435, -0.009868980385363102, 0.027920959517359734, 0.07214385271072388, -0.004380831029266119, 0.0625123605132103, 0.0046664089895784855, 0.0132821686565876, 0.006573669146746397, -0.05645911023020744, -0.014705370180308819, -0.015603987500071526, 0.0052611795254051685, 0.0383249931037426, -0.01467965729534626, 0.031159454956650734, 0.031031860038638115, -0.005450886208564043, -0.02166849374771118, -0.02824433706700802, 0.03553859144449234, 0.0036086258478462696, -0.03521585464477539, -0.022115973755717278, -0.03534127399325371, 0.04057780280709267, -0.04235804080963135, -0.03453567251563072, 0.010497058741748333, -0.07446008920669556, 0.058707911521196365, -0.07393952459096909, -0.06117084622383118, 0.021443964913487434, 0.028597498312592506, 0.049917642027139664, -0.031932178884744644, 0.017187556251883507, 0.08673953264951706, -0.012822756543755531, 0.024950260296463966, -0.005031198263168335, 0.006908488925546408, 0.03618159517645836, -0.0009455676190555096, -0.0008729937835596502, 0.027696510776877403, 0.01761009730398655, 0.0039718179032206535, -0.03995915502309799, 0.024859212338924408, -0.009447474963963032, -0.2797869145870209, 0.033447470515966415, -0.004687770269811153, -0.054890282452106476, 0.023495551198720932, -0.0007142768590711057, 0.015626080334186554, -0.05359466001391411, -0.02090972103178501, 0.009652146138250828, -0.034943629056215286, -0.04951201006770134, -0.0396929569542408, 0.0667843446135521, -0.0027358245570212603, 0.02285153977572918, 0.02891511470079422, -0.021597566083073616, 0.015165896154940128, 0.054981429129838943, -0.018145393580198288, -0.06602787971496582, 0.006898840889334679, 0.043412018567323685, 0.02680695615708828, 0.059248633682727814, -0.10346784442663193, 0.030065437778830528, -0.04142741113901138, -0.004812899976968765, 0.010756089352071285, 0.0069710430689156055, -0.004405422601848841, -0.02980787679553032, -0.02300211973488331, 0.002489511389285326, 0.04013979434967041, 0.006983004976063967, -0.009494629688560963, 0.012452816590666771, -0.02679566480219364, -0.0451166145503521, -0.019545679911971092, 0.0006158853648230433, 0.06683124601840973, 0.014951742254197598, -0.07912355661392212, -0.021137407049536705, -0.031113432720303535, 0.07968117296695709, -0.02206788770854473, -0.03098987229168415, 0.00007943796663312241, 0.02827836573123932, 0.01382096204906702, -0.02697363868355751, 0.0019715074449777603, -0.015994088724255562, -0.04840947687625885, -0.04183940216898918, -0.01607750914990902, -0.05100160837173462, -0.009573625400662422, -0.057614121586084366, 0.0035736216232180595, -0.07623802125453949, -0.03704487159848213, -0.0005107542965561152, 0.0794840082526207, 0.024032913148403168, -0.04196210950613022, 0.01309303380548954, 0.009321783669292927, -0.10800416022539139, -0.003968317061662674, -0.009244523011147976, -0.01889493316411972, -0.027857713401317596, 0.0061259884387254715, 0.049129270017147064, -0.03572595492005348, -0.039619408547878265, 0.0449473038315773, 0.005060823634266853, 0.01190135907381773, -0.01187996007502079, 0.03669155016541481, 0.02309412509202957, -0.011332128196954727, 0.007236611098051071, 0.08306006342172623, -0.0001830916153267026, -0.0300042275339365, -0.03947889059782028, 0.05439198762178421, 0.039147622883319855, 0.02795042283833027, -0.025879038497805595, 0.01041238009929657, 0.018451521173119545, 0.009228164330124855, -0.055902156978845596, 0.04867425188422203, -0.026496026664972305, -0.008546414785087109, -0.01404301542788744, -0.07053352147340775, 0.021555304527282715, 0.022072572261095047, 0.03631206229329109, -0.0030811824835836887, -0.04008153825998306, -0.011866995133459568, -0.034873224794864655, -0.024182479828596115, -0.01627865619957447, 0.012844260782003403, 0.03632328286767006, -0.026296788826584816, -0.004971741698682308, -0.05383815988898277, 0.010232942178845406, -0.0070601096376776695, -0.018697742372751236, -0.05066244304180145, -0.028769677504897118, -0.020260727033019066, -0.015530318953096867, 0.01646376959979534, 0.025209248065948486, -0.003704529721289873, 0.03093862347304821, 0.006615897174924612, -0.034311745315790176, 0.01933373510837555, -0.014298008754849434, -0.03155863657593727, -0.022025490179657936, -0.004031331744045019, -0.013159072957932949, -0.014651789329946041, 0.020464664325118065, 0.005532082635909319, 0.012514046393334866, 0.03545047342777252, 0.005217284429818392, 0.017198242247104645, -0.017263470217585564, 0.007326504681259394, 0.00853013526648283, 0.011993976309895515, -0.09534303098917007, 0.016633009538054466, -0.055045731365680695, -0.038926225155591965, -0.007895848713815212, 0.020185519009828568, -0.009501505643129349, -0.026569033041596413, -0.01153542846441269, -0.006905011832714081, -0.060919761657714844, -0.03457076847553253, -0.027603143826127052, 0.018305577337741852, 0.056235749274492264, -0.02039433643221855, 0.03840023651719093, -0.021165337413549423, -0.02671089954674244, -0.000017632070012041368, 0.017948081716895103, -0.03848448023200035, 0.012498493306338787, 0.02716394141316414, -0.020373184233903885, 0.008611566387116909, -0.009044508449733257, 0.05222287401556969, 0.028247017413377762, 0.006937224883586168, -0.024447279050946236, 0.0016295640962198377, 0.02618909440934658, 0.050629619508981705, -0.013144884258508682, 0.008225468918681145, 0.001145856804214418, -0.014740949496626854, -0.02146700583398342, -0.04040974751114845, -0.01177328359335661, 0.009154879488050938, 0.029646119102835655, -0.04271451011300087, -0.06776756048202515, 0.051295433193445206, 0.04479014500975609, 0.014216902665793896, 0.02861722745001316, 0.008427854627370834, -0.008226167410612106, -0.023144638165831566, 0.024693237617611885, 0.05168230086565018, -0.06033281609416008, 0.007661174982786179, -0.013883651234209538, 0.016424262896180153, -0.004810631275177002, -0.016362203285098076, -0.04882974177598953, -0.028064122423529625, -0.03684550151228905, -0.007106751669198275, -0.04679988697171211, -0.0255567729473114, -0.018221592530608177, 0.019238479435443878, -0.03261715918779373, -0.01835744082927704, 0.005733832251280546, 0.002180617768317461, -0.00846537109464407, -0.018970509991049767, 0.002587534487247467, -0.05456971377134323, 0.023661887273192406, 0.018325451761484146, -0.037089020013809204, 0.017468713223934174, -0.02277231775224209, 0.021432064473628998, 0.03589519485831261, -0.01334884949028492, -0.0281906109303236, -0.03842337056994438, 0.01001914031803608, 0.019541673362255096, 0.04040331393480301, 0.018687313422560692, -0.010149120353162289, -0.0354677177965641, -0.008582312613725662, -0.053979385644197464, 0.028950504958629608, -0.04482070356607437, -0.03181713446974754, 0.04470125213265419, 0.05998120829463005, 0.025626165792346, 0.05833697319030762, -0.013155799359083176, -0.016087016090750694, 0.06446415930986404, -0.08343224972486496, -0.02528318203985691, -0.041235245764255524, -0.08578507602214813, 0.009993123821914196, 0.009270336478948593, 0.03318261727690697, -0.013767736032605171, 0.034139908850193024, 0.020210295915603638, 0.03193231672048569, 0.025861337780952454, -0.022382568567991257, 0.034217216074466705, -0.0688539445400238, 0.000178062473423779, -0.08344892412424088, 0.016108641400933266, 0.03339511156082153, 0.02684221789240837, -0.01381384301930666, -0.01794331520795822, -0.038360387086868286, 0.039571572095155716, -0.04059085249900818, -0.008342575281858444, 0.038174208253622055, 0.00451341038569808, -0.0277712419629097, 0.015638787299394608, -0.07896388322114944, 0.029223492369055748, 0.026962874457240105, -0.031819283962249756, -0.03161917254328728, -0.03544136509299278, 0.04476693645119667, 0.020207703113555908, 0.020716102793812752, -0.024438852444291115, 0.016770943999290466, 0.06498927623033524, 0.014523796737194061, 0.009616936556994915, 0.03326931595802307, -0.0013150236336514354, 0.04998301714658737, 0.033863309770822525, 0.014175208285450935, -0.02611466683447361, 0.014702122658491135, 0.0021265943069010973, -0.05072331055998802, 0.025777682662010193, 0.023772375658154488, -0.0427788570523262, -0.03252149000763893, 0.059324782341718674, 0.037296343594789505, -0.027826454490423203, -0.0347641259431839, 0.007930106483399868, -0.06859373301267624, -0.0020882098469883204, -0.03012184426188469, 0.005600121803581715, -0.05123795568943024, 0.06039514020085335, 0.01089395023882389, -0.011633685790002346, 0.07459309697151184, -0.0007595138740725815, -0.02148468606173992, -0.030996963381767273, 0.06673119217157364, 0.07056613266468048, 0.04951542615890503, 0.005429506301879883, 0.05846388265490532, -0.024631991982460022, -0.0334494411945343, 0.033124811947345734, 0.012960696592926979, -0.01405602227896452, -0.03352639451622963, 0.023634931072592735, 0.04826977849006653, -0.0048713283613324165, 0.05885735899209976, -0.02779628336429596, -0.022908348590135574, -0.0055067278444767, 0.014526041224598885, 0.027244456112384796, 0.06383597105741501, 0.013834366574883461, 0.006319629028439522, -0.007026634644716978, -0.04136818274855614, 0.02480909414589405, -0.03922484442591667, -0.016509082168340683, 0.021999947726726532, -0.009081346914172173, 0.01978972554206848, 0.012986450456082821, 0.03880482167005539, 0.05757535248994827, -0.030265286564826965, 0.022859150543808937, -0.022889602929353714, 0.035116031765937805, 0.012774189002811909, 0.0035505956038832664, -0.032794442027807236, -0.02611454762518406, 0.011437194421887398, -0.02653050236403942, -0.02955690026283264, -0.02582615055143833, -0.020546987652778625, 0.053369347006082535, -0.026095958426594734, 0.022753668949007988, 0.03504194691777229, 0.02906802110373974, -0.04108789563179016, -0.08258669078350067, -0.050446219742298126, -0.026796206831932068, -0.048885881900787354, -0.027238504961133003, 0.046425819396972656, -0.0031235574278980494, -0.022897381335496902, 0.007030645851045847, -0.03456312045454979, -0.022593587636947632, 0.059131182730197906, -0.06400284916162491, -0.034511640667915344, 0.01937045343220234, 0.009904395788908005, 0.057994578033685684, 0.016747256740927696, 0.048012539744377136, -0.010147668421268463, -0.004121749196201563, -0.025325648486614227, 0.0055238027125597, 0.033345676958560944, -0.004041310865432024, 0.01787027344107628, -0.08830220997333527, 0.02339990809559822, 0.02409348078072071, 0.004000571556389332, -0.050738777965307236, 0.03805180639028549, 0.005109104327857494, -0.02286882884800434, 0.06770649552345276, -0.01661595143377781, 0.005471670534461737, -0.031532980501651764, -0.004307773895561695, 0.00297634513117373, 0.023325510323047638, 0.04380873218178749, -0.015441115945577621, 0.08106422424316406, 0.006001600529998541, -0.022783618420362473, -0.04779474437236786, 0.0028975659515708685, 0.0016104045789688826, -0.017256971448659897, -0.012651392258703709, -0.03565944731235504, -0.03045971319079399, -0.06435909122228622, -0.03299673646688461, -0.0007612965418957174, -0.011870135553181171, -0.033836934715509415, 0.006456546485424042, 0.023517729714512825, -0.0566319078207016, 0.02185363881289959, -0.03617649897933006, 0.04607362300157547, -0.03890189155936241, -0.0011323789367452264, 0.011631232686340809, -0.01683085411787033, 0.005199374631047249, 0.005769920535385609, 0.03175676614046097, -0.04614504799246788, 0.0011436158092692494, 0.012299051508307457, 0.02378227561712265, 0.04189714416861534, 0.00474654883146286, -0.029897579923272133 ]
[ -0.12017837166786194, -0.009213841520249844, -0.011669882573187351, -0.04135715588927269, 0.03416317328810692, -0.022698620334267616, -0.019881412386894226, 0.03369956463575363, -0.0010173519840463996, -0.02589230053126812, 0.0081096850335598, -0.014819763600826263, -0.013793740421533585, 0.00925024040043354, 0.08836846798658371, -0.0017345703672617674, -0.03195365145802498, -0.022994913160800934, 0.00771730300039053, -0.0027249117847532034, 0.016879672184586525, -0.013321111910045147, -0.0415576696395874, -0.02143222652375698, 0.033841922879219055, 0.044062722474336624, 0.03777178004384041, -0.03488602489233017, 0.02421163208782673, -0.21148157119750977, 0.005787152796983719, 0.0026224076282233, 0.04374286159873009, -0.01760724000632763, -0.0086979316547513, 0.050600867718458176, 0.011360393837094307, 0.006890138145536184, -0.01778586395084858, 0.05402076244354248, 0.003840662771835923, 0.0370413139462471, -0.05967913568019867, -0.05663871392607689, 0.015099655836820602, 0.017473263666033745, -0.0014087754534557462, -0.0638473704457283, -0.0036836143117398024, 0.03341749683022499, -0.06594844162464142, -0.03810267522931099, -0.021895473822951317, -0.026211557909846306, -0.0065568797290325165, 0.002632818417623639, 0.05737331882119179, 0.07872091978788376, 0.007272662594914436, 0.015122637152671814, 0.015500392764806747, -0.023873699828982353, -0.13250741362571716, 0.0640716701745987, 0.04195777326822281, 0.05013176053762436, -0.0108955642208457, -0.015644270926713943, 0.006373509764671326, 0.1257118433713913, -0.02284165658056736, -0.021947868168354034, -0.0020866210106760263, 0.05419015884399414, 0.010903929360210896, -0.00184085953515023, -0.012625307776033878, 0.004624612629413605, 0.02271263860166073, -0.0531640350818634, -0.048473309725522995, -0.03173953667283058, 0.0029691520612686872, -0.0035336166620254517, -0.04691473767161369, 0.008745833300054073, -0.02891739457845688, 0.050210271030664444, 0.0407518669962883, 0.011090470477938652, 0.055817924439907074, -0.009726823307573795, 0.0465884655714035, 0.01610179804265499, -0.09679459780454636, -0.0011980441631749272, -0.0005403938121162355, 0.04904598370194435, -0.030949095264077187, 0.44798743724823, -0.056754447519779205, -0.038887351751327515, 0.060607679188251495, 0.010563931427896023, -0.018704500049352646, -0.000002347322833884391, 0.026839174330234528, -0.035567402839660645, 0.022791456431150436, -0.040422409772872925, 0.017995035275816917, 0.007832637056708336, 0.07530535012483597, -0.03753213956952095, -0.0036741190124303102, 0.03243183344602585, 0.014628713019192219, 0.015803050249814987, -0.005494848825037479, 0.03287629783153534, 0.002060774713754654, 0.0021947622299194336, 0.01349237747490406, 0.006977189797908068, -0.007313599344342947, -0.024617139250040054, 0.010118965059518814, 0.05717025324702263, 0.021126074716448784, 0.006587049458175898, 0.044085804373025894, -0.04933037608861923, -0.05173331871628761, 0.014057604596018791, 0.003037350485101342, 0.007089231628924608, 0.04669089615345001, -0.007229956332594156, -0.002582589630037546, 0.037576690316200256, 0.02107238955795765, -0.0041070980951189995, 0.030407339334487915, -0.014640401117503643, -0.040652696043252945, 0.11454285681247711, -0.010358358733355999, -0.018264342099428177, 0.010690665803849697, -0.0322103388607502, 0.002971082925796509, 0.04205331578850746, -0.012037168256938457, -0.06441906839609146, 0.01507079228758812, 0.0029013794846832752, 0.0826745331287384, -0.00298765255138278, -0.033622488379478455, -0.026180563494563103, -0.04250849410891533, -0.015941640362143517, -0.06431299448013306, 0.023171547800302505, 0.05581622198224068, -0.06025734916329384, -0.024896424263715744, -0.0024864610750228167, 0.03911484405398369, -0.07392693310976028, -0.014739842154085636, 0.012822922319173813, -0.024886617437005043, -0.015733717009425163, 0.05434424430131912, -0.026475703343749046, 0.006584565620869398, 0.022878125309944153, 0.046418000012636185, 0.02592325583100319, 0.03684494271874428, 0.032561685889959335, -0.043837759643793106, -0.012995914556086063, -0.014041056856513023, -0.0669715479016304, -0.04115811735391617, 0.0030129083897918463, -0.04124005511403084, -0.005144122987985611, -0.0414217934012413, -0.029579052701592445, -0.0743008553981781, 0.07161422073841095, -0.01997123472392559, -0.036835335195064545, 0.014208030886948109, -0.022368445992469788, -0.010913765989243984, -0.009797299280762672, -0.03258901089429855, 0.06388240307569504, -0.013685619458556175, -0.005406233947724104, -0.04548874497413635, 0.057951778173446655, 0.05954267829656601, -0.042883679270744324, 0.06059345602989197, 0.06926640123128891, -0.05760614201426506, -0.028690949082374573, 0.03006024844944477, 0.019999593496322632, 0.0046211895532906055, -0.01794375851750374, -0.014921574853360653, 0.030737601220607758, 0.0007003955543041229, 0.011815616860985756, -0.020504431799054146, -0.006700152065604925, 0.004223728086799383, -0.3288065791130066, -0.05328398197889328, -0.02088378183543682, -0.021442357450723648, 0.025047359988093376, -0.05325566232204437, 0.007380909752100706, -0.023206809535622597, -0.023897483944892883, -0.008943927474319935, 0.042020250111818314, -0.008762341924011707, -0.01982947252690792, -0.0764538124203682, -0.002322800923138857, -0.007096585817635059, -0.01855221390724182, -0.039806146174669266, -0.04685431346297264, -0.0024377198424190283, 0.015385814011096954, -0.006767326034605503, -0.006438263691961765, -0.06502123177051544, -0.0039004222489893436, -0.05741851031780243, 0.09732003509998322, -0.031227167695760727, 0.13069403171539307, -0.026916947215795517, 0.04020305350422859, -0.015233997255563736, 0.023752188310027122, -0.08836570382118225, 0.03140973299741745, -0.026883037760853767, -0.01728631556034088, -0.02831311896443367, 0.05433912202715874, -0.03961478918790817, -0.012296396307647228, 0.01368735358119011, -0.0708061084151268, -0.0618133582174778, -0.04326246678829193, 0.005885547026991844, -0.04148094356060028, -0.0704292356967926, -0.024869773536920547, 0.06822870671749115, 0.01291453093290329, -0.00511309364810586, 0.01876605674624443, -0.002723701298236847, -0.019127042964100838, -0.01508464477956295, -0.07555467635393143, 0.012681148946285248, 0.02298113703727722, -0.014769100584089756, 0.028778085485100746, 0.0709388479590416, 0.016710197553038597, -0.061125531792640686, -0.006755093578249216, 0.025251848623156548, 0.021387705579400063, -0.028307512402534485, 0.061014167964458466, -0.012634411454200745, -0.01300741359591484, 0.08229976892471313, -0.01101760845631361, -0.032151054590940475, 0.0435437448322773, 0.049331750720739365, -0.010137357749044895, 0.01720229908823967, 0.02405940741300583, -0.011592268943786621, 0.033077578991651535, -0.013095282018184662, 0.043563589453697205, -0.033853113651275635, -0.01729380339384079, 0.03194664046168327, 0.010197787545621395, -0.03446734696626663, 0.05560621619224548, 0.021393273025751114, -0.029257606714963913, -0.012242011725902557, -0.009312629699707031, -0.03987178951501846, 0.07180801779031754, -0.011125436052680016, -0.23719054460525513, 0.0030697137117385864, 0.052632033824920654, 0.05703356862068176, -0.005026103463023901, 0.04719778895378113, 0.03783586993813515, -0.06067560613155365, 0.003875837428495288, 0.009315728209912777, 0.024232178926467896, 0.041756369173526764, -0.00205253972671926, -0.019887156784534454, 0.054328273981809616, -0.0273005161434412, 0.049226757138967514, -0.009564613923430443, 0.06531409174203873, -0.01944422535598278, -0.002271495759487152, -0.006886996328830719, 0.17420998215675354, 0.005129591096192598, 0.04287661612033844, 0.019593270495533943, 0.01767914742231369, 0.0064947232604026794, 0.08099158853292465, -0.002181551419198513, -0.014477502554655075, 0.0038279718719422817, 0.05670814588665962, 0.008665063418447971, 0.02016277424991131, -0.07080693542957306, -0.05274352803826332, 0.03982710838317871, 0.014661508612334728, 0.005341754294931889, 0.017641548067331314, -0.015415329486131668, -0.04279675334692001, 0.0019215401262044907, 0.07682130485773087, 0.02841857820749283, -0.007338975090533495, -0.038083795458078384, -0.044312138110399246, -0.013700384646654129, -0.02731776051223278, -0.03859246149659157, -0.004529270809143782, -0.009169645607471466, -0.004233769606798887, 0.07151676714420319, 0.0007994268089532852, 0.00471434136852622, -0.03189368173480034, 0.007062694523483515, 0.00031057681189849973, -0.0013995778281241655, 0.12088706344366074, 0.03401494771242142, 0.015217750333249569 ]
[ -0.03693258389830589, -0.004689284600317478, 0.005827261134982109, 0.00624091038480401, -0.025138355791568756, -0.009256135672330856, -0.002923007356002927, 0.011983860284090042, -0.0051586441695690155, 0.013808796182274818, 0.0043054185807704926, 0.002291920129209757, 0.005411223042756319, -0.023534147068858147, 0.02569480799138546, 0.014108024537563324, 0.0021454254165291786, 0.01476902887225151, 0.019082924351096153, 0.006266681011766195, 0.0016310825012624264, 0.016612162813544273, 0.02176644466817379, -0.00806931871920824, -0.013774500228464603, 0.026070019230246544, -0.0033271098509430885, -0.006548087112605572, 0.019435008987784386, -0.13179267942905426, -0.02623903751373291, -0.04171886667609215, -0.011316702701151371, 0.01577538065612316, -0.040144264698028564, -0.0029959913808852434, 0.01764199323952198, 0.01061548013240099, 0.021482104435563087, 0.02914561703801155, -0.027706041932106018, 0.0024350639432668686, 0.014368539676070213, -0.017644891515374184, -0.00413700845092535, -0.018656684085726738, -0.01901598647236824, -0.0498560294508934, -0.04486139863729477, -0.008265805430710316, -0.03045680746436119, 0.011301044374704361, -0.010669071227312088, -0.005637015216052532, 0.022187693044543266, -0.012281982228159904, 0.011315352283418179, 0.003989917691797018, -0.00005017455987399444, 0.0096876947209239, -0.006643509026616812, 0.007758237887173891, -0.027255386114120483, -0.027607357129454613, -0.017791960388422012, -0.04247191548347473, -0.004180316347628832, 0.01908557116985321, 0.0023940778337419033, -0.0016719992272555828, -0.030929820612072945, 0.019877087324857712, -0.0010474469745531678, -0.03470334783196449, 0.00009285748092224821, -0.007374308072030544, -0.0027266608085483313, -0.0013054064474999905, 0.015193846076726913, -0.011871862225234509, -0.013586782850325108, 0.007688833866268396, 0.02199242077767849, 0.012363381683826447, 0.017341775819659233, 0.0026072231121361256, 0.005609098821878433, -0.005122004542499781, 0.024094438180327415, -0.01153937540948391, -0.0003892739478033036, 0.023119846358895302, -0.0061892298981547356, 0.004839202389121056, -0.07520832866430283, -0.0037803209852427244, 0.005618426948785782, 0.009679803624749184, 0.006943881511688232, 0.8647006750106812, -0.0012043544556945562, 0.015547266229987144, 0.02889411337673664, -0.011029505170881748, -0.000463650532765314, -0.02118946798145771, -0.007417886983603239, 0.005905757192522287, 0.03653772920370102, -0.06287854164838791, 0.03721567243337631, 0.02732759341597557, 0.02697720192372799, 0.004157341085374355, -0.024292178452014923, 0.032973676919937134, 0.012210870161652565, -0.009136981330811977, 0.010079458355903625, 0.014212851412594318, 0.027281105518341064, -0.018057748675346375, -0.00677593145519495, 0.037595484405756, 0.015283050015568733, -0.20271532237529755, 0.007228616625070572, -8.363820099621137e-33, 0.060148026794195175, -0.033657144755125046, -0.02328936755657196, -0.0011282075429335237, 0.01607663743197918, 0.0010240955743938684, 0.010605885647237301, 0.009982498362660408, -0.03800595924258232, -0.030632175505161285, 0.028282422572374344, -0.014400794170796871, -0.016016259789466858, -0.005951919127255678, 0.02534070611000061, -0.0038622249849140644, -0.008231308311223984, 0.037858422845602036, -0.008063658140599728, -0.0032880324870347977, 0.028650224208831787, 0.02894624136388302, -0.006080511957406998, 0.015677934512495995, 0.029930463060736656, 0.04058343172073364, 0.008083747699856758, 0.0066814422607421875, -0.006912618409842253, -0.042774803936481476, 0.002817169763147831, 0.012382855638861656, -0.02592293545603752, 0.024458037689328194, 0.01567060314118862, -0.01805531606078148, -0.01699605956673622, 0.028250813484191895, -0.028148487210273743, -0.029323117807507515, -0.023196004331111908, -0.0015962842153385282, -0.050170980393886566, -0.009313243441283703, 0.011428680270910263, -0.02200300619006157, 0.0032573312055319548, 0.008544865064322948, 0.028471995145082474, 0.013129770755767822, 0.0030297806952148676, 0.0019518346525728703, 0.011667032726109028, 0.02920347824692726, -0.04304700717329979, 0.003910350613296032, -0.012285635806620121, 0.02198341116309166, 0.016465425491333008, 0.0657041072845459, -0.018978308886289597, 0.0027827040757983923, -0.027161311358213425, 0.021517744287848473, -0.030261164531111717, -0.032172393053770065, 0.037243906408548355, 0.021046387031674385, 0.044604528695344925, -0.013533083721995354, -0.0306540597230196, 0.009925208985805511, -0.015864472836256027, -0.016858655959367752, -0.009082392789423466, -0.02020685002207756, -0.003451496595516801, 0.029158884659409523, -0.026452520862221718, 0.021470002830028534, 0.04400189220905304, -0.0054042162373661995, -0.020128998905420303, -0.02522457204759121, -0.012322833761572838, 0.012074329890310764, 0.011493144556879997, -0.029558921232819557, -0.02493102103471756, 0.02072715014219284, 0.04423118010163307, -0.0056739128194749355, -0.006404800806194544, -0.02700674533843994, -0.002140415133908391, 8.317493132571262e-33, -0.012376277707517147, -0.028234193101525307, -0.011891458183526993, 0.01566017046570778, 0.01133615244179964, -0.004938459489494562, 0.019529186189174652, 0.0052095563150942326, -0.06085405871272087, 0.01218959130346775, -0.012294496409595013, -0.008641167543828487, -0.015868835151195526, 0.03167673945426941, 0.027419595047831535, -0.031845711171627045, -0.0019006896764039993, -0.00034542515641078353, 0.014433365315198898, 0.010588694363832474, 0.016223233193159103, 0.008169981651008129, 0.023259704932570457, 0.010304084047675133, 0.0007178518571890891, 0.05653130263090134, -0.057185206562280655, 0.0052935536950826645, 0.0015077487332746387, -0.00025115968310274184, -0.020272117108106613, -0.014181063510477543, 0.012776799499988556, -0.0010459290351718664, -0.025967836380004883, 0.02279655821621418, -0.015344740822911263, 0.0007330366061069071, 0.00936103891581297, 0.017434056848287582, 0.023679686710238457, -0.007395127788186073, 0.005285331513732672, 0.034900031983852386, 0.011824395507574081, 0.0216529481112957, 0.0031428681686520576, -0.022378239780664444, -0.011850294657051563, -0.01606784388422966, 0.016422199085354805, 0.009179663844406605, -0.004148675594478846, -0.004096226301044226, -0.012316430918872356, -0.01588994823396206, -0.03551625832915306, -0.0012369930045679212, -0.045094843953847885, 0.029724527150392532, -0.0048111178912222385, -0.003329794155433774, -0.017631065100431442, 0.04789707809686661, -0.012728876434266567, 0.008981548249721527, -0.012331776320934296, -0.009748921729624271, -0.012591646984219551, 0.002758280374109745, -0.013547704555094242, 0.02328578010201454, -0.0017818690976127982, 0.021080048754811287, 0.033692892640829086, -0.046643491834402084, -0.035677094012498856, 0.005344744771718979, -0.01650349423289299, 0.04173256829380989, 0.004876691848039627, -0.01981511525809765, 0.019424421712756157, -0.015671592205762863, -0.013919960707426071, 0.04271242395043373, 0.008332301862537861, 0.03743838891386986, -0.014552155509591103, -0.0253645870834589, -0.0176385510712862, -0.01176633220165968, -0.012272299267351627, 0.024195147678256035, 0.005216874182224274, -1.3706251245082512e-8, -0.022441616281867027, 0.0007614218047820032, -0.030843209475278854, 0.02280298061668873, 0.03536162152886391, 0.02792760729789734, -0.004246094264090061, 0.01620507426559925, -0.03747066855430603, 0.02031664550304413, 0.02356145530939102, 0.0028899635653942823, -0.020871147513389587, -0.0005321157514117658, 0.012609756551682949, -0.07906194776296616, -0.027292270213365555, -0.00837734341621399, 0.038271352648735046, 0.013604294508695602, 0.019689777866005898, 0.04647364839911461, -0.004223507363349199, 0.02132960595190525, 0.0142285181209445, 0.016638433560729027, 0.024738194420933723, -0.05695262923836708, -0.006809165235608816, 0.021153908222913742, 0.016810787841677666, -0.03615197166800499, -0.029274027794599533, 0.025423038750886917, -0.025389937683939934, -0.055993761867284775, -0.0059791929088532925, 0.031582605093717575, 0.006629940588027239, 0.0021808655001223087, -0.02091170847415924, 0.0023525594733655453, -0.0008209813386201859, -0.015327281318604946, -0.00816543959081173, 0.02117682620882988, -0.0011500822147354484, -0.016298731788992882, 0.035829633474349976, -0.02737264148890972, 0.013742029666900635, -0.011630261316895485, 0.010719372890889645, 0.007541688159108162, 0.006302863359451294, 0.014695776626467705, 0.016303757205605507, 0.0020582296419888735, -0.04955876246094704, 0.007785487920045853, 0.03009101375937462, -0.0012860313290730119, -0.019501712173223495, -0.026719816029071808 ]
refactoring-removing-duplication-more-safely
https://markhneedham.com/blog/2009/05/26/refactoring-removing-duplication-more-safely
false
2009-05-21 19:05:26
Coding Dojo #15: Smalltalk
[ "coding-dojo", "smalltalk" ]
[ "Coding Dojo" ]
We decided to play around with Smalltalk a bit in our latest coding dojo. A lot of the ideas that I value the most in terms of writing software effectively seem to have originally come from the Smalltalk community and a colleague of mine has been reading Kent Beck's http://www.markhneedham.com/blog/2008/10/07/test-driven-development-by-example-book-review/[TDD by Example book] and was really keen to try out the language to see where Kent's original ideas came from. == The Format We only had 2/3 people for the dojo this week so we all spent a bit of time at the keyboard getting familiar with the way things worked. We projected to a wide screen television so the other guys could track what was doing on. == What We Learnt * One interesting thing for me was that the *Smalltalk syntax reminded me a little bit of Ruby*. We spent a little bit of time with irb open as well as the Smalltalk environment and compared what the code would look like for a few simple expressions in the different languages. Ruby seemed a little bit easier to understand for some of the expressions but I guess it has probably been influenced syntax wise by Smalltalk. To give a simple example that we tried out, this is how you'd print the values 1-10 to the screen: In Smalltalk: ~~~smalltalk 1 to: 10 do: [:i | Transcript cr; show: (i printString)]. ~~~ In Ruby: ~~~ruby (1..10).each { |i| puts i } ~~~ * We were following a http://objectsroot.com/squeak/squeak_tutorial-2.html#ss2.2[simple introduction to Squeak], an open source implementation of Smalltalk. We were actually using http://www.cincomsmalltalk.com/scripts/DownloadInstaller.ssp[Visual Works/Cincom Smalltalk] which seems to differ a little bit. For example there was no 'asString' method on integer when we tried to execute the following bit of code: ~~~smalltalk Transcript show: (1 asString) ~~~ It leads to the error: ~~~text Unhandled exception: Message not understood: #asString ~~~ Instead we needed to use 'printString like this: ~~~smalltalk Transcript show: (1 printString) ~~~ I'm sure there are probably some other differences but we only tried a few examples at the dojo. * The idea of the *development environment being the same as the environment where the code runs* was quite strange for me but we saw some benefits of it even in the small amount of code we wrote. On making one of our many syntax errors the IDE popped up with a message asking whether we wanted to debug that piece of code on the fly. Pretty cool if we'd understood the stack trace that followed a bit better! * I haven't looked into the type systems of other languages that closely but I was quite surprised that looking the type of the value '1' was 'SmallInteger' - it was *much more strongly typed than I had expected*. The ability to delve into the code of objects within the environment is really cool and we came across quite a bit of code which intrigued us to want to learn more. * The intention for this session wasn't actually to learn Smalltalk the language, as I don't think dojos are great for doing that, but rather to try and *understand the concepts behind all expressions being about sending a message to an object* which for me is what object orientation is all about. Chatting with http://twitter.com/davcamer[Dave] about object oriented design he spoke highly of Smalltalk as being the language where he learnt a lot about this and a couple of colleagues have said the same thing as well. + </ul> + == For next time ** We just about got started with writing a little bit of Smalltalk code this week but next week I'd quite like to see if we can write a little application using Smalltalk. We're particularly keen on working out how unit testing fits into the picture and it'd be quite cool to play around with http://www.seaside.st/[seaside] a bit as well. ** Smalltalk is quite renowned for its http://www.refactory.com/RefactoringBrowser/[refactoring browser] so we're quite keen to play around with that a bit and see what its like compared to some of the features available in IDEs nowadays
null
null
[ -0.004370626527816057, 0.02050868235528469, -0.02338527701795101, 0.042943309992551804, 0.06829473376274109, 0.044268302619457245, 0.03276967257261276, 0.008400939404964447, 0.008598514832556248, 0.003529055044054985, -0.03376215696334839, 0.039383795112371445, -0.07165643572807312, 0.0089885788038373, -0.03829260170459747, 0.05725457891821861, 0.06659527122974396, -0.02075473591685295, 0.037681274116039276, 0.010728535242378712, 0.022179368883371353, 0.08107074350118637, 0.0072510442696511745, 0.022861110046505928, 0.037729471921920776, 0.025871271267533302, 0.018290506675839424, -0.00010437748278491199, -0.08816466480493546, -0.0019379820441827178, 0.0382632352411747, 0.01183602400124073, 0.026527199894189835, -0.006760744843631983, 0.007302089594304562, -0.0030133514665067196, 0.0010484408121556044, 0.020553184673190117, 0.004170987289398909, 0.04150032252073288, -0.04817989841103554, 0.060110099613666534, 0.013468130491673946, 0.011192073114216328, -0.039773352444171906, 0.007609945256263018, -0.04724133014678955, 0.004114882554858923, 0.005218557082116604, -0.001600115210749209, -0.0782756581902504, 0.028347276151180267, 0.001278980285860598, -0.018637241795659065, -0.016751443967223167, 0.04488428309559822, 0.04215649142861366, -0.07534409314393997, 0.024685805663466454, -0.047796301543712616, -0.012118194252252579, -0.008948836475610733, 0.004760974086821079, 0.03691038861870766, 0.025569189339876175, -0.009877361357212067, -0.015285013243556023, 0.051460668444633484, -0.05456189066171646, -0.006618214305490255, -0.005916966591030359, 0.006517342757433653, -0.03609670698642731, -0.023418845608830452, 0.03160078078508377, -0.04448302090167999, 0.0006225330289453268, 0.07316127419471741, 0.005789752118289471, 0.03750358521938324, -0.0429413840174675, 0.03166620060801506, 0.027479523792862892, 0.01860092580318451, -0.000256807281402871, -0.03226490691304207, -0.007397304754704237, -0.0024496116675436497, -0.05736974626779556, 0.059608448296785355, 0.012313413433730602, -0.06046196073293686, 0.012272284366190434, 0.02524517849087715, -0.00008287194214062765, 0.03106483817100525, 0.009192435070872307, 0.0013060051715001464, -0.010600595735013485, -0.006331662181764841, -0.025169819593429565, 0.0012217139592394233, 0.02657662145793438, 0.0002642995386850089, -0.08099792152643204, 0.0031823439057916403, -0.0048941937275230885, -0.00029203970916569233, -0.004536667373031378, 0.01959124580025673, -0.030133379623293877, 0.002908402355387807, -0.018063165247440338, -0.000626258784905076, -0.06666993349790573, 0.07918808609247208, -0.00852709636092186, -0.04024973884224892, -0.0321912057697773, 0.003574540838599205, 0.042155828326940536, 0.025101754814386368, -0.020528465509414673, 0.10329456627368927, 0.0020533022470772266, 0.01480321865528822, -0.024669170379638672, 0.07715412974357605, -0.006766092963516712, -0.06428544223308563, -0.020878389477729797, 0.04725787788629532, -0.01433615479618311, -0.01438074465841055, -0.0027110730297863483, -0.005198285449296236, 0.001061188173480332, 0.0077326917089521885, 0.02396569587290287, 0.046087753027677536, 0.00843410100787878, -0.01815570890903473, 0.018881425261497498, -0.009332925081253052, 0.016571149230003357, 0.0021326744463294744, -0.013927648775279522, -0.02229931391775608, -0.042276445776224136, 0.002373817842453718, -0.02825232967734337, 0.0020965782459825277, 0.04382956027984619, -0.04463745281100273, 0.017793992534279823, 0.07784363627433777, 0.0032032569870352745, 0.011538125574588776, -0.016858121380209923, 0.0167684406042099, 0.01606333628296852, 0.03549424931406975, 0.016726311296224594, 0.0143565209582448, 0.012191414833068848, -0.007817323319613934, -0.010203978978097439, 0.03785863518714905, 0.006737690884619951, 0.016437524929642677, -0.07060197740793228, -0.03871721774339676, 0.06748345494270325, -0.050597622990608215, -0.037172622978687286, 0.021414557471871376, 0.09569650143384933, 0.028667671605944633, 0.03606555238366127, -0.0005519577534869313, -0.08001772314310074, 0.00031655424390919507, -0.006047040689736605, 0.006898730527609587, 0.03957628086209297, -0.018638718873262405, 0.06687311083078384, 0.01866493560373783, -0.0006443698075599968, 0.022950181737542152, -0.07239364832639694, -0.10102920979261398, -0.01581297628581524, -0.014999005943536758, 0.05551908165216446, -0.012755973264575005, -0.009309178218245506, 0.04321741685271263, 0.019049910828471184, 0.03138097748160362, 0.03526827692985535, 0.010421562008559704, 0.01895470917224884, -0.017425304278731346, -0.02057170309126377, 0.044636938720941544, 0.03840019181370735, -0.017127523198723793, -0.05049607530236244, 0.013214502483606339, -0.011004140600562096, -0.021270811557769775, 0.05325942859053612, -0.020838817581534386, 0.04055412486195564, 0.030473893508315086, 0.051778409630060196, -0.029151147231459618, 0.04036147892475128, -0.05993269011378288, -0.005594400689005852, 0.001755906967446208, -0.00522598484531045, 0.005044121295213699, 0.021994125097990036, 0.13274595141410828, 0.07107365131378174, -0.031173422932624817, -0.029757991433143616, 0.0020089857280254364, 0.0013792776735499501, -0.07298670709133148, -0.01792326010763645, -0.0158621184527874, 0.007161389105021954, 0.004340551793575287, -0.06138460338115692, -0.017356252297759056, 0.0069775572046637535, -0.027494769543409348, 0.019738784059882164, 0.07774744182825089, -0.03216918185353279, 0.03767954558134079, 0.0015318793011829257, -0.02239689789712429, 0.021670661866664886, -0.010417062789201736, -0.05967633053660393, 0.019581079483032227, 0.021320976316928864, -0.016993103548884392, 0.06276718527078629, -0.021918339654803276, -0.04507393017411232, -0.03202185034751892, -0.03382614627480507, 0.005889766849577427, 0.04011577367782593, 0.05482110753655434, -0.00882706232368946, 0.05547886714339256, -0.014605090953409672, 0.0031276459340006113, 0.00226731039583683, -0.044370610266923904, -0.01404122356325388, 0.0021487765479832888, 0.005589790176600218, 0.032072290778160095, -0.01133006438612938, 0.034788962453603745, 0.021752795204520226, -0.019806915894150734, -0.004765920341014862, -0.015373943373560905, 0.036170996725559235, 0.002987707732245326, -0.029200268909335136, -0.03515428304672241, -0.040398009121418, 0.029483506456017494, -0.05643796920776367, -0.034457553178071976, -0.000045483400754164904, -0.05569804087281227, 0.0637146532535553, -0.07947477698326111, -0.046500369906425476, -0.009068620391190052, 0.0061354986391961575, 0.04331238940358162, -0.032421622425317764, 0.02016059309244156, 0.08096147328615189, -0.0029530625324696302, 0.030933650210499763, 0.007492301519960165, 0.0013794508995488286, 0.042350783944129944, 0.017454812303185463, 0.02376634068787098, 0.03568575158715248, 0.009384913370013237, -0.005908591207116842, -0.04732045903801918, 0.036464471369981766, -0.02283998765051365, -0.27586641907691956, 0.02139272168278694, -0.01145469956099987, -0.061470985412597656, 0.029309570789337158, -0.019950788468122482, -0.009048150852322578, -0.055054984986782074, -0.009740317240357399, 0.02544672042131424, -0.04974902793765068, -0.04690242558717728, -0.04092089459300041, 0.04395376518368721, 0.012113875709474087, 0.017918452620506287, 0.0014060736866667867, -0.03387780115008354, 0.0066363816149532795, 0.04414249584078789, -0.014138876460492611, -0.058233071118593216, 0.029947100207209587, 0.057755932211875916, 0.027776652947068214, 0.060203589498996735, -0.09090758860111237, 0.03294941410422325, -0.03281969204545021, -0.01465748343616724, -0.004116273485124111, 0.014868359081447124, -0.005702701862901449, -0.018711097538471222, -0.02193165197968483, -0.005421679932624102, 0.030751409009099007, 0.0003329201426822692, 0.03685598075389862, 0.01167026162147522, -0.03725948929786682, -0.038758378475904465, 0.013664032332599163, -0.004697219002991915, 0.07642396539449692, -0.005439836531877518, -0.06912589818239212, -0.03073245659470558, -0.04112729802727699, 0.07756991684436798, -0.039147719740867615, -0.026795485988259315, 0.00046409410424530506, 0.03850223869085312, 0.01306967530399561, -0.03375670313835144, -0.013722334988415241, -0.019978052005171776, -0.039057593792676926, -0.03669841215014458, -0.009186498820781708, -0.038986753672361374, -0.025510316714644432, -0.06708287447690964, 0.014948565512895584, -0.07140639424324036, -0.05298089608550072, 0.005552604328840971, 0.07569967210292816, 0.01334703154861927, -0.021377215161919594, 0.026321664452552795, -0.003730425611138344, -0.10138960182666779, 0.007891546003520489, -0.007641197647899389, -0.02558588609099388, -0.026066264137625694, 0.02961908094584942, 0.044348228722810745, -0.027545321732759476, -0.06067367270588875, 0.044844068586826324, 0.0032959324307739735, 0.005794207565486431, -0.016604477539658546, 0.0287779550999403, 0.012052813544869423, -0.003914675209671259, 0.011972070671617985, 0.08309918642044067, -0.008094466291368008, -0.04401101544499397, -0.02143600955605507, 0.04502706229686737, 0.008638576604425907, 0.038809601217508316, -0.008071579039096832, 0.022289985790848732, 0.038280803710222244, 0.016134416684508324, -0.06136667728424072, 0.018713228404521942, -0.02571210451424122, -0.023586997762322426, 0.006656666286289692, -0.07454460114240646, 0.01272053923457861, 0.03775312006473541, 0.016641627997159958, -0.00330245029181242, -0.03263697400689125, 0.002287266543135047, -0.05144113674759865, -0.019656144082546234, -0.02295186184346676, 0.020178815349936485, 0.02714177966117859, -0.012694704346358776, -0.027425745502114296, -0.05923725664615631, -0.014826138503849506, 0.033508189022541046, -0.007799271959811449, -0.06046633794903755, -0.027821291238069534, -0.01810927875339985, 0.006561107933521271, 0.000633103889413178, 0.013284123502671719, 0.004254286177456379, 0.002133449772372842, 0.016589080914855003, -0.052436403930187225, 0.021793317049741745, -0.001203537336550653, -0.04564034193754196, -0.027623485773801804, -0.008909032680094242, -0.013709011487662792, 0.007800915744155645, 0.004716488067060709, -0.006608834955841303, 0.018325520679354668, 0.020664535462856293, -0.00022805154731031507, 0.020485492423176765, 0.007895158603787422, 0.008712872862815857, 0.00197306158952415, 0.023079071193933487, -0.0856320932507515, 0.012294584885239601, -0.027111364528536797, -0.027809105813503265, -0.0168666560202837, 0.025784580036997795, -0.01913999207317829, -0.03796626999974251, -0.016406821087002754, 0.019431620836257935, -0.031994037330150604, -0.015346679836511612, -0.032234497368335724, 0.029537983238697052, 0.042807966470718384, -0.008382190018892288, 0.02398671768605709, -0.014368774369359016, -0.01141597144305706, 0.007668396923691034, 0.025040604174137115, -0.03209301456809044, 0.014140679500997066, 0.018857739865779877, -0.004830090329051018, -0.005309620406478643, -0.0064174709841609, 0.04823602735996246, 0.019378604367375374, 0.026306750252842903, -0.03579292818903923, 0.0008497684029862285, 0.0340212844312191, 0.0405316986143589, 0.014552868902683258, -0.029921410605311394, -0.0028032066766172647, -0.023391619324684143, -0.011860409751534462, -0.034617021679878235, -0.017941582947969437, 0.012414222583174706, 0.03570684790611267, -0.052182357758283615, -0.07944151014089584, 0.0469353049993515, 0.02571919560432434, 0.011922218836843967, 0.011665678583085537, 0.00020295684225857258, 0.00613669166341424, -0.027910782024264336, 0.028613008558750153, 0.07069405168294907, -0.0686706006526947, 0.00765094393864274, -0.017826799303293228, 0.00679811043664813, 0.005386015400290489, 0.008738534525036812, -0.04593014717102051, -0.010295383632183075, -0.029282841831445694, -0.021272767335176468, -0.04907301440834999, -0.041319623589515686, -0.0121687650680542, -0.00363460136577487, -0.02235209383070469, -0.00415510730817914, -0.02568206563591957, -0.012800958938896656, -0.016231806948781013, -0.042816270142793655, 0.012865670025348663, -0.06123649328947067, 0.02340780757367611, 0.0184516329318285, -0.035140786319971085, 0.008407874032855034, -0.020886939018964767, 0.044775333255529404, 0.018336355686187744, -0.020890412852168083, -0.025110039860010147, -0.060196783393621445, 0.008253121748566628, 0.0003646667464636266, 0.036466509103775024, 0.005393780302256346, 0.0066816010512411594, -0.043537188321352005, 0.004535304382443428, -0.0650196447968483, 0.00857649277895689, -0.03624442592263222, -0.0421273298561573, 0.01157679408788681, 0.04776957631111145, -0.0018311310559511185, 0.051227789372205734, -0.004339840728789568, -0.016311828047037125, 0.05029873922467232, -0.06600076705217361, -0.04343511164188385, -0.015159646980464458, -0.0776367336511612, 0.01668882928788662, 0.01059043500572443, 0.029706250876188278, -0.026919890195131302, 0.0463690422475338, 0.03345483914017677, 0.03312617167830467, 0.02498035319149494, -0.00810355506837368, 0.04043404012918472, -0.05031348392367363, -0.008160482160747051, -0.08316801488399506, 0.021331029012799263, 0.013807428069412708, 0.016372857615351677, -0.03013380989432335, -0.011500135995447636, -0.03777323663234711, 0.04223090410232544, -0.03887258842587471, -0.007364426739513874, 0.03696031868457794, 0.017237858846783638, -0.015303720720112324, 0.024683509021997452, -0.07026412338018417, 0.0341467410326004, 0.028867026790976524, -0.04048466682434082, -0.0242771003395319, -0.028448497876524925, 0.04844241961836815, 0.0059942761436104774, 0.062357477843761444, -0.02702195756137371, -0.009789618663489819, 0.07555743306875229, 0.016786592081189156, 0.014053902588784695, 0.04625990614295006, -0.006380848586559296, 0.04090937599539757, 0.03773163631558418, -0.00839078240096569, -0.012937337160110474, 0.01779216155409813, -0.01944766379892826, -0.062340620905160904, 0.00965485442429781, 0.01202525943517685, -0.03830396756529808, -0.023330409079790115, 0.04887865111231804, 0.032782673835754395, -0.030195821076631546, -0.04879146069288254, 0.013915478251874447, -0.06971218436956406, 0.013492513447999954, -0.018423525616526604, 0.007200040388852358, -0.05330790579319, 0.06021951511502266, 0.0011639876756817102, -0.008265779353678226, 0.06410244107246399, 0.00028417023713700473, -0.027043713256716728, -0.02119750715792179, 0.08266834914684296, 0.07757995277643204, 0.06598874181509018, 0.03514096885919571, 0.04667359218001366, -0.030293721705675125, -0.04750895872712135, 0.030955001711845398, 0.014338890090584755, 0.009433618746697903, -0.02593880146741867, 0.023440072312951088, 0.05725012719631195, -0.024107586592435837, 0.048356425017118454, -0.030286401510238647, -0.005448295269161463, -0.003472905606031418, 0.014945977367460728, 0.012234409339725971, 0.0801549032330513, 0.036302484571933746, 0.03000626340508461, -0.0000037165739286137978, -0.03903878480195999, 0.025355655699968338, -0.029678817838430405, -0.01648538187146187, 0.013314391486346722, -0.005069180857390165, 0.022876890376210213, 0.015360094606876373, 0.03595513477921486, 0.09309882670640945, -0.033509861677885056, -0.0013325839536264539, 0.005389239173382521, 0.042457181960344315, 0.00708351843059063, 0.01591983251273632, -0.02878989279270172, -0.024998372420668602, 0.01820220798254013, -0.016176076605916023, -0.033582162111997604, -0.018788330256938934, -0.021376343443989754, 0.04781129211187363, -0.0100993812084198, 0.007774079218506813, 0.03682146593928337, 0.015235083177685738, -0.03640889376401901, -0.06072886288166046, -0.06202052906155586, -0.04504568502306938, -0.03262045606970787, -0.012885209172964096, 0.03511078655719757, -0.011212562210857868, -0.03424565866589546, -0.01934920810163021, -0.0340874120593071, 0.008837447501718998, 0.043043218553066254, -0.052205394953489304, -0.036427415907382965, 0.010484759695827961, -0.0006037806742824614, 0.030091887339949608, 0.026723215356469154, 0.03040659800171852, -0.007471699733287096, -0.013227884657680988, -0.025837689638137817, 0.007875969633460045, 0.03863541781902313, 0.0016807374777272344, -0.005321406293660402, -0.07165246456861496, 0.006172441877424717, 0.03058106265962124, 0.016232972964644432, -0.053161732852458954, 0.011286014690995216, 0.00965097639709711, 0.0026987758465111256, 0.06404346972703934, 0.00016965699614956975, 0.023615486919879913, -0.014909119345247746, -0.011968369595706463, -0.0029670712538063526, 0.03715961426496506, 0.021968144923448563, -0.01455750036984682, 0.1046052873134613, 0.0227628443390131, -0.0037596174515783787, -0.041040144860744476, -0.018091117963194847, -0.014318590052425861, -0.020374804735183716, -0.007778912782669067, -0.026025308296084404, -0.03663765639066696, -0.0760716050863266, -0.036819081753492355, -0.0030765393748879433, -0.004092120565474033, -0.04271794855594635, 0.02640465274453163, 0.019597798585891724, -0.02984696812927723, 0.050426773726940155, -0.05309878662228584, 0.033564161509275436, -0.02684888057410717, -0.019433017820119858, 0.006136468145996332, -0.00867609865963459, -0.019800929352641106, -0.012841136194765568, -0.005723945796489716, -0.012488557025790215, 0.0005817926721647382, 0.015262926928699017, 0.03504188731312752, 0.020074976608157158, 0.0015614251606166363, -0.009732524864375591 ]
[ -0.09678632020950317, -0.02521558478474617, -0.04471203312277794, -0.039417557418346405, 0.029591798782348633, -0.061101414263248444, -0.02875806763768196, 0.03478272259235382, -0.014260703697800636, -0.041840821504592896, 0.008625635877251625, -0.03252079710364342, -0.003924877382814884, -0.01603073626756668, 0.10397285968065262, 0.009575196541845798, -0.001073908992111683, -0.06318450719118118, -0.01402592845261097, 0.02263258770108223, 0.019517581909894943, -0.029611144214868546, -0.03292953968048096, -0.03467052802443504, 0.005950847174972296, 0.053387321531772614, 0.0249585323035717, -0.03194258362054825, -0.0003173709555994719, -0.19444714486598969, 0.022740129381418228, 0.032910339534282684, 0.0807383805513382, -0.02759496495127678, -0.013871549628674984, 0.04636995866894722, 0.023057209327816963, -0.003246078034862876, -0.029185906052589417, 0.05356534197926521, 0.005288851447403431, 0.007511534728109837, -0.043783556669950485, -0.021436048671603203, 0.013234598562121391, -0.006182592362165451, 0.00027851181221194565, -0.05064943805336952, -0.019729940220713615, -0.00023740102187730372, -0.08211404830217361, -0.014062822796404362, 0.00029602344147861004, -0.04652424901723862, -0.007097136694937944, 0.02109614759683609, 0.04329301416873932, 0.09456183761358261, -0.0031340369023382664, 0.008195055648684502, 0.023959660902619362, -0.010594084858894348, -0.12693601846694946, 0.06629977375268936, 0.04786163568496704, 0.045980069786310196, -0.029089609161019325, -0.026735465973615646, -0.003611393040046096, 0.10065936297178268, 0.017513995990157127, -0.019458038732409477, -0.021671688184142113, 0.06276857107877731, -0.006764919962733984, -0.015492039732635021, -0.005839033052325249, 0.012707496993243694, 0.03925994783639908, -0.03807767480611801, -0.05215378478169441, -0.021354064345359802, -0.027530869469046593, -0.00047856051241979003, -0.05611281469464302, 0.006885966751724482, -0.022678811103105545, 0.05495939403772354, 0.01583915948867798, 0.007174293976277113, 0.03252981975674629, 0.00595054542645812, 0.018231019377708435, 0.015319776721298695, -0.07824148237705231, -0.017656469717621803, 0.01039110403507948, 0.008507849648594856, -0.04788321629166603, 0.4489670395851135, -0.02720499224960804, -0.04229540005326271, 0.07499396800994873, 0.0034845161717385054, -0.016383852809667587, 0.004020598251372576, -0.0030804520938545465, -0.05099349841475487, 0.014704358763992786, -0.03310385346412659, 0.008484908379614353, -0.001975033897906542, 0.06760729849338531, -0.039370838552713394, 0.019947845488786697, 0.016957299783825874, 0.03131549432873726, 0.011945641599595547, 0.015953587368130684, 0.017077630385756493, -0.031183503568172455, 0.015934912487864494, 0.0005788899725303054, -0.0027911837678402662, 0.002868225332349539, -0.03339404985308647, 0.03785271942615509, 0.06453540921211243, 0.027656471356749535, 0.024526646360754967, 0.06996185332536697, -0.011485392227768898, -0.05856787785887718, 0.0063598244450986385, -0.007939895614981651, 0.014724913984537125, 0.04249517619609833, 0.0006451302906498313, 0.006729551125317812, 0.03105388768017292, 0.012842359021306038, -0.02996101789176464, 0.016176583245396614, -0.004940029699355364, -0.04332828149199486, 0.09687746316194534, -0.014151574112474918, -0.02430843934416771, -0.0036532313097268343, -0.03985210880637169, -0.0036565414629876614, 0.023378584533929825, -0.008029951713979244, -0.054219719022512436, 0.01212492398917675, -0.0007650716579519212, 0.08104747533798218, -0.031613584607839584, -0.04317861422896385, 0.009879755787551403, -0.03539063781499863, -0.028027130290865898, -0.034292712807655334, 0.004973237402737141, 0.04782178997993469, -0.10761312395334244, -0.028828149661421776, 0.009775887243449688, 0.05184312164783478, -0.08913422375917435, -0.003673505038022995, 0.016122763976454735, -0.040387000888586044, -0.014681949280202389, 0.015818260610103607, -0.02997957542538643, -0.012958099134266376, 0.018290504813194275, 0.035871367901563644, 0.021700089797377586, 0.03835507482290268, 0.031320612877607346, -0.0014824483077973127, 0.00562922190874815, -0.053247325122356415, -0.07412965595722198, -0.03811885416507721, -0.005605223588645458, -0.030345890671014786, -0.006203479133546352, -0.026224110275506973, -0.00907580554485321, -0.09052187949419022, 0.07085324078798294, -0.0330749973654747, -0.011115333065390587, 0.02641976624727249, 0.005409316159784794, -0.04843555763363838, 0.004117466509342194, -0.03325441852211952, 0.05412900447845459, -0.03562397137284279, 0.02755209431052208, -0.07883208990097046, 0.011513691395521164, 0.07024446874856949, -0.029377633705735207, 0.07854326069355011, 0.04471173509955406, -0.030074669048190117, -0.028303883969783783, 0.020935263484716415, 0.032546330243349075, -0.01594442129135132, -0.019282326102256775, -0.034447524696588516, 0.02192351222038269, -0.0013974083121865988, 0.01134210079908371, -0.043346304446458817, -0.02003341168165207, -0.03000478632748127, -0.34736916422843933, -0.021888023242354393, 0.002787472680211067, -0.025684531778097153, 0.017200956121087074, -0.052667852491140366, 0.03192836046218872, -0.02099965699017048, -0.011932606808841228, -0.005485998000949621, 0.06891775876283646, -0.012284552678465843, 0.006777872797101736, -0.0916639119386673, -0.023500138893723488, 0.03314581140875816, -0.04991620406508446, -0.02543988637626171, -0.0271247997879982, 0.043902844190597534, 0.010214293375611305, -0.0200442336499691, -0.0006508316146209836, -0.07631805539131165, -0.01942175067961216, -0.05394721403717995, 0.09483717381954193, 0.007973634637892246, 0.10846228897571564, -0.043229665607213974, 0.04442004859447479, -0.01537048164755106, 0.021341737359762192, -0.09526694566011429, 0.012606112286448479, -0.00102114153560251, 0.01703290268778801, -0.009577698074281216, 0.058651335537433624, -0.01817336678504944, -0.033866092562675476, 0.018505046144127846, -0.05763808637857437, -0.03326026722788811, -0.04752765968441963, 0.020641684532165527, -0.016178399324417114, -0.07434293627738953, -0.007027088198810816, 0.04912837967276573, 0.013350799679756165, -0.0027277139015495777, 0.03126368671655655, 0.010499315336346626, -0.009390152059495449, -0.024099059402942657, -0.07387729734182358, 0.017255645245313644, 0.01921434886753559, 0.0034760921262204647, 0.03355441242456436, 0.06426811963319778, 0.028263891115784645, -0.07760051637887955, -0.005541848484426737, 0.007044954225420952, 0.011745735071599483, 0.006334712728857994, 0.03568315505981445, -0.0025253049097955227, 0.00040971435373649, 0.10286222398281097, 0.0015128061641007662, -0.009401180781424046, 0.011824388988316059, 0.05086863785982132, 0.01974855363368988, 0.010571113787591457, 0.015187904238700867, 0.005278853699564934, 0.04083533585071564, -0.021533118560910225, 0.0595938041806221, -0.04102065786719322, -0.00864409375935793, 0.041419386863708496, 0.02453291416168213, -0.040228839963674545, 0.06981384754180908, 0.015669219195842743, -0.025484906509518623, 0.004114593379199505, 0.0054606227204203606, -0.03887864202260971, 0.07197989523410797, -0.015665877610445023, -0.23475979268550873, 0.020821377635002136, 0.05136720463633537, 0.05788636952638626, -0.022839194163680077, 0.05540873855352402, 0.03822708502411842, -0.06368883699178696, 0.000572224787902087, 0.006051566451787949, 0.028202464804053307, 0.014787182211875916, 0.01786547154188156, -0.01677854359149933, 0.05508586764335632, 0.0016860536998137832, 0.056846778839826584, -0.010511983186006546, 0.0077439346350729465, 0.014705682173371315, 0.028645366430282593, 0.009739004075527191, 0.14494718611240387, -0.013657909817993641, 0.039272721856832504, 0.027856694534420967, -0.007230584509670734, 0.010667579248547554, 0.07334521412849426, 0.0037616188637912273, 0.005582548677921295, 0.0015556816942989826, 0.06361494958400726, -0.0048336246982216835, 0.023892225697636604, -0.07087861001491547, -0.041386522352695465, 0.01003203820437193, 0.02981957234442234, -0.004597614519298077, -0.007891975343227386, 0.005424892995506525, -0.01678335852921009, 0.026669902727007866, 0.04779314622282982, 0.01574268564581871, -0.002634587697684765, -0.036248091608285904, -0.04310024529695511, -0.004686209373176098, -0.026376623660326004, -0.04933132976293564, 0.004976713098585606, -0.0051481095142662525, 0.01926238462328911, 0.08445212990045547, 0.004750336054712534, -0.004491762723773718, -0.022733934223651886, 0.007947392761707306, -0.0014970814809203148, -0.0372980535030365, 0.13157960772514343, 0.03795135021209717, 0.03461817279458046 ]
[ 0.0285812858492136, 0.017750602215528488, 0.011396446265280247, 0.009065497666597366, -0.0017451683524996042, 0.04263933375477791, 0.017771048471331596, 0.04870790243148804, -0.027179069817066193, 0.012573031708598137, 0.0077778249979019165, 0.007002226542681456, 0.025340287014842033, -0.0043497043661773205, -0.011951401829719543, 0.006386132445186377, 0.04187372326850891, 0.0010819736635312438, 0.0033086484763771296, -0.023738069459795952, -0.021892478689551353, 0.02049568109214306, -0.015959566459059715, -0.02063116803765297, 0.0016587289283052087, -0.019951537251472473, -0.009699558839201927, 0.008636838756501675, 0.0239510927349329, -0.13933834433555603, -0.015066295862197876, -0.017635444179177284, 0.029526975005865097, 0.03282863274216652, 0.00801871344447136, -0.005346177611500025, 0.015550442971289158, 0.01300342008471489, -0.016201436519622803, 0.030854759737849236, -0.019864661619067192, -0.0040963320061564445, -0.003260422730818391, 0.007421850226819515, -0.03246120736002922, -0.03912992402911186, -0.0012272698804736137, -0.041341666132211685, -0.019270872697234154, -0.04905853793025017, -0.012838948518037796, 0.03652649745345116, -0.016204293817281723, 0.032555557787418365, 0.0037374484818428755, -0.03341445326805115, -0.009586155414581299, -0.005466099828481674, 0.004536706488579512, 0.0006988780223764479, 0.0044041844084858894, -0.006607930641621351, -0.028956338763237, -0.03358699008822441, -0.04428747296333313, 0.009447230026125908, -0.0168007705360651, 0.011033526621758938, -0.027189895510673523, -0.009762933477759361, -0.01843217760324478, 0.030984703451395035, -0.04502657428383827, 0.0012014721287414432, -0.028280150145292282, -0.047214146703481674, 0.049231357872486115, -0.03153935819864273, -0.004678546451032162, 0.004400824196636677, -0.05369192361831665, 0.00013641048280987889, -0.032970625907182693, 0.02789831906557083, -0.008429662324488163, 0.007143856957554817, 0.005563805811107159, 0.02007118985056877, -0.008048363029956818, 0.008071744814515114, -0.030407370999455452, 0.016239050775766373, 0.016043519601225853, 0.03801598772406578, -0.07663491368293762, -0.024885758757591248, -0.026512520387768745, -0.01573687419295311, -0.019208183512091637, 0.8305278420448303, 0.005947315599769354, 0.02457309514284134, 0.03450729697942734, -0.005727218929678202, -0.007392867002636194, 0.0008640840533189476, 0.05155439302325249, -0.009322136640548706, 0.022874532267451286, -0.024994751438498497, 0.013379906304180622, 0.017244936898350716, 0.016377819702029228, 0.02887575514614582, 0.0368615984916687, 0.02031496725976467, -0.027113009244203568, 0.007105786353349686, 0.019122280180454254, -0.00596756162121892, 0.03476322442293167, 0.027706393972039223, 0.009753956459462643, 0.011162836104631424, 0.022267840802669525, -0.14293327927589417, 0.0077268932946026325, -6.323508677427139e-33, 0.033857859671115875, -0.00988727156072855, -0.05320652946829796, 0.016497939825057983, 0.016026506200432777, 0.030381174758076668, 0.013598555698990822, 0.008932902477681637, -0.018845610320568085, -0.02403535321354866, 0.01958169974386692, -0.009717421606183052, -0.0027372436597943306, -0.03659762814640999, 0.032041605561971664, -0.01065763272345066, -0.010618172585964203, 0.044298939406871796, -0.007967219687998295, 0.028800133615732193, -0.005176662001758814, 0.031762026250362396, -0.010376537218689919, 0.005845879204571247, 0.009346112608909607, 0.01789918541908264, 0.047521352767944336, -0.019804993644356728, 0.00551757775247097, -0.03189339116215706, -0.029914366081357002, 0.03545500710606575, 0.02187494933605194, -0.034672144800424576, 0.022764917463064194, -0.035920388996601105, -0.0017130374908447266, 0.02088669128715992, 0.01030592992901802, -0.057502955198287964, -0.04236571863293648, -0.0022184797562658787, -0.06376205384731293, -0.029305126518011093, 0.014584778808057308, -0.03823712840676308, 0.0026107472367584705, 0.054812975227832794, -0.0131868040189147, -0.005177097860723734, 0.009927409701049328, 0.011002840474247932, 0.009722950868308544, 0.01866857521235943, 0.03996017947793007, -0.014920808374881744, -0.002255677478387952, -0.017291270196437836, 0.019206302240490913, 0.013229718431830406, 0.011462151072919369, -0.0023607562761753798, -0.0083365049213171, 0.05931583791971207, -0.0011420772643759847, 0.002677791053429246, 0.01692633330821991, 0.015387014485895634, 0.012054056860506535, 0.009042877703905106, -0.06076136603951454, 0.033465977758169174, 0.02140490710735321, -0.034955572336912155, 0.021725157275795937, -0.015496265143156052, 0.005875213071703911, 0.002090445486828685, 0.004707742016762495, 0.030969703570008278, 0.018017379567027092, -0.00530954310670495, -0.027426263317465782, -0.026540597900748253, -0.016144121065735817, -0.014967324212193489, 0.027883252128958702, 0.021394772455096245, -0.029147861525416374, 0.032707277685403824, -0.012734568677842617, -0.023998752236366272, -0.01878225989639759, -0.015718011185526848, 0.008734588511288166, 6.732062024630995e-33, -0.011072484776377678, 0.011713813059031963, -0.008188511244952679, -0.018017813563346863, 0.004801478236913681, -0.018559804186224937, 0.10503091663122177, -0.003695613704621792, -0.040882665663957596, 0.02886689081788063, -0.04258248209953308, -0.007736634463071823, -0.03958384320139885, -0.0014136731624603271, 0.07227355986833572, -0.011720092967152596, 0.03291039541363716, -0.01713459938764572, 0.04606298357248306, 0.014177771285176277, 0.01903497613966465, 0.020395932719111443, -0.017723828554153442, -0.000509070698171854, 0.03071024641394615, 0.0393688939511776, -0.017000053077936172, 0.05125466361641884, -0.02176930382847786, -0.023298809304833412, 0.018822357058525085, -0.03913262486457825, 0.006011513527482748, -0.027088358998298645, -0.04938727617263794, 0.025753015652298927, 0.0028792808298021555, -0.044383008033037186, -0.01581859588623047, -0.03135392814874649, 0.019769219681620598, -0.01666073501110077, -0.019494686275720596, 0.010049132630228996, -0.02812967263162136, 0.024902300909161568, -0.020524166524410248, -0.027453409507870674, -0.011673562228679657, -0.0031148383859544992, 0.0033732957672327757, 0.004934430588036776, -0.013644232414662838, -0.009684261865913868, -0.028785893693566322, -0.007547467015683651, -0.005822034552693367, 0.039485327899456024, -0.01240924559533596, -0.0008800029172562063, -0.013933823443949223, -0.03448564559221268, 0.029801098629832268, -0.004315918777137995, -0.018128108233213425, 0.023224249482154846, 0.01931029185652733, -0.0012323042610660195, -0.016180410981178284, -0.00678430637344718, 0.012432447634637356, -0.006135312374681234, 0.046001411974430084, 0.047819241881370544, 0.009926761500537395, 0.02883644960820675, -0.0442056804895401, -0.000711608212441206, -0.037742845714092255, 0.023297421634197235, 0.0031190195586532354, -0.008149132132530212, -0.006474592722952366, 0.01911015994846821, 0.029618624597787857, 0.01773281954228878, -0.01388530246913433, 0.03452778607606888, 0.019340982660651207, 0.003979711327701807, -0.036679305136203766, 0.007147344294935465, 0.028585536405444145, -0.008989153429865837, -0.008281124755740166, -1.2725696940663056e-8, -0.04668803513050079, -0.018895696848630905, -0.01056817825883627, 0.024065613746643066, 0.024073028936982155, -0.013598302379250526, -0.022650860249996185, -0.008142322301864624, -0.03320689871907234, 0.03763735294342041, 0.026348721235990524, -0.024360304698348045, -0.01976485550403595, 0.04000410810112953, 0.049049802124500275, -0.03978507220745087, -0.017636001110076904, -0.07829642295837402, 0.038957007229328156, 0.00940812099725008, 0.03673437982797623, 0.04563908651471138, 0.0006719062803313136, 0.02260431833565235, -0.05230679735541344, -0.030923230573534966, 0.017905646935105324, -0.06996536254882812, -0.016045834869146347, -0.05448431894183159, 0.03616747632622719, 0.0055704498663544655, -0.03655355051159859, 0.025844896212220192, -0.026976468041539192, -0.03187979757785797, 0.03292687609791756, 0.01774710789322853, 0.028797157108783722, -0.019961992278695107, 0.006303773727267981, -0.02815510705113411, 0.004563482943922281, -0.04473062977194786, -0.039353109896183014, -0.01637800969183445, -0.00425157742574811, -0.045374441891908646, 0.022453878074884415, -0.03965245932340622, 0.0016442930791527033, 0.006685424596071243, -0.0360737219452858, 0.01872369460761547, 0.019699517637491226, -0.0056065963581204414, 0.03286920115351677, -0.049456533044576645, -0.009492375887930393, 0.04018590599298477, -0.004914567805826664, 0.04809064045548439, -0.033611033111810684, -0.01113617792725563 ]
coding-dojo-15-smalltalk
https://markhneedham.com/blog/2009/05/21/coding-dojo-15-smalltalk
false
2009-05-21 18:02:27
Build: Using virtual machines to run it in parallel
[ "build", "selenium", "parallel-builds" ]
[ "Build" ]
One of the things that we've been working on lately to improve the overall time that our full build takes to run is to split the acceptance tests into several small groups of tests so that we can run them in parallel. We are using http://studios.thoughtworks.com/cruise-continuous-integration[Cruise] as our build server so the ability to have multiple agents running against different parts of the build at the same time comes built it. We then had to work out what the best environment to run more agents would be. I guess the traditional approach to the problem would be to get some extra machines to use to run the build but this wasn't possible so our initial solution was to use our developer virtual machines as build agents. This worked in principle but the environment became way too slow to work on when the build was running and the selenium windows that popped up when each test was running became amazingly annoying. We could only really use this approach to set up agents on developer machines that weren't being used that day. We therefore came across the idea of having 2 virtual machines running on each developer machine, splitting the resources of the machine across the two virtual machines. From experimenting it seems like the agent used to run a build with selenium tests in it needs to have around 1.2 GB of RAM assigned to it to run at a reasonable rate. Our developer machines have a total of 3 GB of RAM so the majority of the rest is being used by the development virtual machine. Our development virtual machine environments run marginally slower when there is a build running on that machine but we've reduced that problem by ensuring we have the build running across as many developer machines as possible so that it runs less frequently on each machine I think it serves as a worthwhile trade off for helping to reduce our total build time significantly - running sequentially it would take over an hour to run all our tests but in parallel we've managed to get a 10-15 minute turn around time at worst. While trying to see if we could make that any faster we toyed with the idea of having two build virtual machines on the same box but that didn't seem to provide the improvement that we expected due to I/O restraints - our build has quite a bit of writing and reading from disc and having two builds doing this at the same time seemed to slow down both of them. Overall though it's working out pretty well for us in terms of providing us a quick feedback mechanism of whether or not our system is working correctly end to end.
null
null
[ 0.028599966317415237, 0.020482735708355904, 0.0021745525300502777, 0.0608549527823925, 0.10835260152816772, 0.03302633762359619, 0.03299262374639511, 0.04421592876315117, 0.012776368297636509, -0.03297189623117447, -0.012579518370330334, 0.008989307098090649, -0.06995345652103424, 0.028887584805488586, -0.04029349982738495, 0.06433197110891342, 0.06599525362253189, -0.005824123974889517, 0.024285130202770233, 0.022963477298617363, 0.040923479944467545, 0.05189497396349907, 0.04021831601858139, 0.04762100428342819, -0.006966080516576767, 0.008066865615546703, 0.014170187525451183, -0.007989098317921162, -0.05766700208187103, -0.02497049607336521, 0.031002992764115334, -0.013234218582510948, -0.017281558364629745, 0.00017748882237356156, 0.015169220976531506, -0.035097528249025345, -0.03196128085255623, 0.02283155731856823, -0.016130143776535988, 0.015423552133142948, -0.05836986005306244, 0.04799126833677292, 0.002946373075246811, 0.00624324195086956, -0.046962663531303406, 0.047029927372932434, -0.029495732858777046, -0.005115295760333538, 0.0019309011986479163, -0.026285957545042038, -0.062454674392938614, 0.021363968029618263, -0.02000454068183899, -0.0013374474365264177, -0.006091227289289236, 0.018316110596060753, 0.03984050825238228, -0.06590650975704193, 0.016568796709179878, -0.03744126856327057, 0.0022734696976840496, -0.015177649445831776, -0.012496395036578178, 0.04615640267729759, 0.02447992004454136, -0.028972972184419632, 0.034367915242910385, 0.03926609829068184, -0.020909542217850685, -0.0008785739773884416, -0.01746247336268425, 0.025600463151931763, -0.021117335185408592, -0.021939760074019432, 0.018735863268375397, -0.04821441322565079, 0.013359008356928825, 0.047418612986803055, 0.029762955382466316, 0.03521611541509628, -0.02502368576824665, 0.013424742966890335, 0.005645828787237406, 0.04572601243853569, -0.02456638216972351, -0.016762131825089455, 0.0005398148787207901, -0.0009166616364382207, -0.07664336264133453, 0.09452610462903976, 0.033559400588274, -0.03948340564966202, 0.007705267518758774, 0.022760434076189995, 0.006140758749097586, 0.003270777640864253, 0.029842525720596313, 0.005079553462564945, 0.010800264775753021, 0.024672014638781548, -0.030486317351460457, 0.001642474438995123, -0.021339844912290573, 0.013744611293077469, -0.05741551145911217, -0.003813179675489664, -0.017939366400241852, -0.00470011867582798, -0.015049847774207592, 0.014981218613684177, -0.005088504403829575, 0.021946454420685768, -0.006329760886728764, 0.03356979042291641, -0.10095223039388657, 0.06394470483064651, -0.004106552340090275, -0.06454723328351974, -0.01855451427400112, -0.01355210691690445, 0.047487691044807434, 0.058636873960494995, -0.02883634902536869, 0.0679759606719017, -0.001021764473989606, 0.03383314236998558, -0.000495332118589431, 0.0245377104729414, -0.0030232665594667196, -0.060052260756492615, 0.008485265076160431, 0.06288974732160568, -0.007980751805007458, 0.002915036166086793, -0.01691226288676262, -0.01734835095703602, 0.018114212900400162, -0.00960060115903616, 0.04016682878136635, 0.019008183851838112, -0.014161968603730202, -0.03644966706633568, 0.04421074688434601, 0.01647491380572319, 0.037801343947649, 0.0013074780581519008, 0.0014875928172841668, -0.03231841325759888, -0.06166650727391243, 0.005518150981515646, -0.005238732788711786, 0.021133890375494957, 0.0010334918042644858, -0.056049853563308716, 0.03792427480220795, 0.09029735624790192, 0.0440751388669014, -0.011870869435369968, -0.03275801241397858, 0.013499345630407333, 0.026214176788926125, 0.02754848264157772, 0.00680199870839715, 0.026554232463240623, 0.01185836922377348, 0.026285655796527863, -0.0005826526903547347, 0.02753002755343914, 0.00778720760717988, 0.020814161747694016, -0.06200306490063667, -0.024214429780840874, 0.03677656501531601, -0.059287067502737045, -0.030100123956799507, 0.05606750398874283, 0.09117539972066879, 0.044080302119255066, 0.03311967849731445, -0.01785222999751568, -0.08088258653879166, 0.014368981122970581, 0.017867980524897575, 0.04097066447138786, 0.010808385908603668, -0.0377066396176815, 0.05068149417638779, 0.022697564214468002, -0.02330123633146286, 0.01859940029680729, -0.08783823251724243, -0.088436558842659, 0.02203848958015442, -0.026278125122189522, 0.04407278448343277, -0.019407864660024643, 0.00031250552274286747, 0.04224429279565811, 0.021597478538751602, 0.04879036918282509, 0.023941373452544212, 0.017811929807066917, 0.021872524172067642, -0.07684419304132462, -0.06116245687007904, 0.04410429298877716, 0.032767269760370255, -0.012077415362000465, -0.052180368453264236, 0.011470967903733253, -0.03554493933916092, -0.001577172428369522, 0.03976573050022125, 0.0029331056866794825, 0.05665852501988411, -0.001478591002523899, 0.05021815001964569, -0.03948185220360756, 0.04740303382277489, -0.04497940465807915, 0.015777697786688805, -0.008737564086914062, -0.038152288645505905, 0.03753974288702011, -0.018601758405566216, 0.09081155061721802, 0.05323326960206032, -0.08071932196617126, -0.028789004310965538, 0.01670592650771141, -0.010844848118722439, -0.037736617028713226, -0.015157072804868221, 0.0007600809913128614, 0.021740004420280457, 0.017200998961925507, -0.06506706029176712, -0.030264241620898247, -0.0007173158228397369, -0.05414383113384247, -0.01659383997321129, 0.04693467542529106, -0.010050453245639801, 0.06777893006801605, 0.019030719995498657, -0.014118338003754616, 0.005502020940184593, -0.032515477389097214, -0.06381119787693024, -0.01140396948903799, 0.00339876557700336, -0.020545057952404022, 0.03832635283470154, -0.0169241763651371, -0.02338998205959797, -0.05978473275899887, -0.006541216745972633, 0.0027632247656583786, 0.030026789754629135, 0.07339485734701157, -0.021448295563459396, 0.06885109096765518, -0.0004926363471895456, 0.03582599759101868, 0.016632936894893646, -0.06474858522415161, -0.036475468426942825, -0.02948407270014286, 0.0012800190597772598, 0.024041056632995605, -0.018764352425932884, 0.0019387969514355063, 0.01149815320968628, -0.011721880175173283, -0.0007991410093382001, -0.04728526622056961, 0.0372803658246994, -0.006882914807647467, 0.0007853302522562444, -0.022556575015187263, 0.004474052228033543, 0.05258181691169739, -0.034728433936834335, 0.019426798447966576, 0.008032167330384254, -0.05735274404287338, 0.030107980594038963, -0.11640620976686478, -0.047376349568367004, -0.014970128424465656, 0.025082699954509735, 0.020158866420388222, 0.003915763460099697, 0.027812663465738297, 0.0688963457942009, 0.01894339919090271, 0.011525099165737629, -0.002611433155834675, 0.021477574482560158, 0.02021186798810959, 0.019960148259997368, 0.005853420123457909, 0.00011192149395355955, 0.00332835060544312, -0.001432715798728168, -0.060161806643009186, 0.0272789616137743, -0.052074313163757324, -0.267230749130249, 0.009369704872369766, 0.020907903090119362, -0.049202755093574524, 0.027419690042734146, -0.013139508664608002, 0.017534984275698662, -0.05558299645781517, -0.032964739948511124, 0.013812757097184658, -0.020161239430308342, -0.030253469944000244, 0.0004184668941888958, 0.04063902795314789, 0.020990779623389244, 0.04407976195216179, 0.04780987650156021, -0.04355867579579353, 0.028994161635637283, 0.0088645676150918, -0.0029893291648477316, -0.07938288152217865, 0.01350115705281496, 0.007378028705716133, 0.05592504143714905, 0.06911373138427734, -0.058635029941797256, 0.03622884303331375, -0.053571272641420364, -0.005079404916614294, 0.028165973722934723, -0.0026296875439584255, -0.0008516759262420237, -0.017368320375680923, -0.007195079233497381, -0.013918954879045486, 0.04235408455133438, -0.012351024895906448, 0.008731577545404434, -0.012370184995234013, 0.002803455339744687, -0.027415502816438675, -0.013576974160969257, 0.008190273307263851, 0.054320625960826874, -0.006571965292096138, -0.08207245916128159, 0.0082155242562294, -0.02748720534145832, 0.07753694802522659, -0.025563951581716537, -0.015539057552814484, -0.016250748187303543, 0.037993017584085464, -0.0252107884734869, -0.013598213903605938, -0.021646786481142044, 0.004766867496073246, -0.04329841583967209, -0.009263182058930397, -0.025578003376722336, -0.026016108691692352, -0.021045895293354988, -0.03843393921852112, 0.005004110746085644, -0.05286136269569397, -0.054892729967832565, -0.014735588803887367, 0.06440599262714386, 0.0080851586535573, -0.031267598271369934, -0.0041097840294241905, 0.010578676126897335, -0.10869188606739044, 0.007697246503084898, 0.006756023038178682, -0.0497962087392807, -0.0035855956375598907, 0.009364310652017593, 0.06335223466157913, -0.028643161058425903, -0.042236510664224625, 0.01704907789826393, 0.000442227756138891, 0.029795223847031593, -0.015900418162345886, 0.012686907313764095, 0.026996156200766563, -0.01227045152336359, 0.01591564156115055, 0.06292133778333664, -0.023354342207312584, -0.026782847940921783, -0.03650256618857384, 0.029824743047356606, 0.017692601308226585, -0.0006009195349179208, 0.02165491133928299, 0.01078424509614706, 0.029033133760094643, 0.0014477685326710343, -0.04757830500602722, 0.03706709295511246, -0.008201480843126774, -0.012202487327158451, 0.0017080411780625582, -0.04902772977948189, 0.008262871764600277, 0.03604806214570999, 0.06451083719730377, 0.0013762777671217918, -0.01629832573235035, 0.027010401710867882, -0.025129470974206924, -0.024762706831097603, -0.004271066747605801, 0.015181723050773144, 0.03508266806602478, -0.029457304626703262, 0.01210759673267603, -0.06677578389644623, 0.01903987117111683, -0.006523020099848509, -0.021435832604765892, -0.03200040012598038, 0.00886139553040266, 0.007964990101754665, 0.003578206989914179, 0.013419153168797493, 0.01161009632050991, -0.021816793829202652, 0.02827695943415165, 0.04201696813106537, -0.028695205226540565, 0.004777909722179174, -0.013366913422942162, -0.0644245520234108, -0.03768429160118103, 0.009564856067299843, 0.022671030834317207, -0.024446597322821617, 0.02693316340446472, 0.03118612989783287, 0.008539162576198578, 0.04324771463871002, 0.025166111066937447, 0.03801333159208298, -0.019468070939183235, 0.0377950444817543, -0.008905322290956974, 0.004775075241923332, -0.06678760051727295, 0.02445625141263008, -0.06459417939186096, -0.02918817475438118, -0.02922040969133377, 0.033820442855358124, -0.01813964731991291, -0.051368921995162964, -0.008290299214422703, 0.005934514570981264, -0.05457279086112976, -0.03207659721374512, -0.0012478830758482218, 0.013642530888319016, 0.06777642667293549, 0.0012743874685838819, -0.008200544863939285, -0.037866249680519104, 0.009661048650741577, 0.003701349487528205, 0.027358639985322952, -0.059046413749456406, 0.0026175384409725666, 0.014531086198985577, 0.012077176943421364, -0.009427597746253014, -0.01174843218177557, 0.048406846821308136, 0.010663439519703388, -0.01605716533958912, -0.0015660938806831837, 0.00955249834805727, -0.018992550671100616, 0.04217783361673355, -0.017675181850790977, -0.008431919850409031, 0.03253677114844322, -0.0007611459586769342, -0.0011392661835998297, -0.012818243354558945, -0.008197078481316566, 0.013617326505482197, -0.002858273219317198, -0.009907439351081848, -0.08467287570238113, 0.07956098020076752, 0.047776274383068085, 0.017702942714095116, -0.0056045930832624435, -0.0011541740968823433, -0.015893151983618736, -0.02017047069966793, 0.029387149959802628, 0.08099205791950226, -0.05393237993121147, 0.008222668431699276, -0.004006145987659693, 0.02449888363480568, 0.02727685309946537, -0.03225483372807503, -0.03394445776939392, -0.04454396292567253, 0.006306723225861788, 0.0034511324483901262, -0.06275956332683563, -0.030880102887749672, -0.026918131858110428, 0.009258591569960117, -0.02437400259077549, -0.015697576105594635, -0.0015830975025892258, -0.00559224421158433, -0.03648294880986214, -0.04707351326942444, -0.0163461584597826, -0.022700464352965355, 0.00278394459746778, 0.009785688482224941, -0.0412389300763607, 0.01644340716302395, -0.03501874580979347, 0.00982183963060379, 0.020759765058755875, -0.01408211700618267, -0.002661528531461954, -0.01943688653409481, -0.017851879820227623, 0.024808092042803764, 0.012527535669505596, -0.016266316175460815, 0.004897152539342642, -0.05055699124932289, -0.0064139352180063725, -0.04022746533155441, 0.0027928149793297052, -0.03136306256055832, -0.012653501704335213, 0.005662915296852589, 0.04939504340291023, -0.028758455067873, 0.01896004192531109, 0.00700540654361248, -0.016150349751114845, 0.026037216186523438, -0.08751580119132996, -0.03393019363284111, -0.040154460817575455, -0.06910586357116699, -0.006098032463341951, 0.0027170695830136538, -0.011468034237623215, -0.05131528154015541, 0.04823564365506172, 0.03225310891866684, 0.022777995094656944, 0.02787896990776062, -0.016264814883470535, 0.013951133005321026, -0.05647759512066841, 0.008695044554769993, -0.08014346659183502, 0.0034054627176374197, 0.047070275992155075, -0.0064305951818823814, 0.004210601095110178, 0.016347412019968033, -0.038981370627880096, 0.05253900960087776, -0.04908670485019684, -0.04425918683409691, 0.0513569638133049, -0.007087863050401211, -0.015394269488751888, 0.0011788844130933285, -0.0671750009059906, 0.019252581521868706, -0.008367897011339664, -0.03202277049422264, 0.0033773339819163084, -0.009829786606132984, 0.04162558168172836, -0.01138787716627121, 0.024744104593992233, -0.05289419740438461, -0.025996992364525795, 0.06416748464107513, -0.0028419678565114737, -0.013815192505717278, 0.01827704720199108, 0.00671574380248785, 0.054721832275390625, 0.03519456088542938, 0.01933436468243599, 0.0019972596783190966, 0.014969784766435623, -0.005536556709557772, -0.02618032693862915, 0.012710131704807281, 0.008171639405190945, -0.017113864421844482, -0.02831858955323696, 0.05965234711766243, 0.04327941685914993, -0.04481523483991623, -0.04970245435833931, 0.02963755838572979, -0.07414241135120392, -0.022871091961860657, -0.01313193142414093, 0.00676379818469286, -0.040878765285015106, 0.05564701557159424, -0.010272081941366196, 0.016701601445674896, 0.08219558000564575, 0.021936146542429924, -0.010858763940632343, -0.002051055431365967, 0.08489268273115158, 0.06652291864156723, 0.0396651029586792, 0.002546579809859395, 0.0707549899816513, -0.021040664985775948, -0.05316166952252388, 0.02317100763320923, -0.02165265940129757, -0.04092346504330635, -0.0357440784573555, 0.04005980119109154, 0.0459102988243103, -0.01243605650961399, 0.06747780740261078, -0.018754923716187477, -0.0026041932869702578, 0.022636599838733673, 0.040501367300748825, 0.01143915019929409, 0.07540640980005264, 0.006972083356231451, -0.001345334225334227, -0.015074925497174263, -0.03016055002808571, 0.005126668605953455, -0.04393528401851654, -0.01821487955749035, 0.02273664064705372, -0.012353253550827503, 0.01976294256746769, 0.005206887610256672, 0.013351047411561012, 0.0829969123005867, -0.019166193902492523, 0.024228952825069427, -0.020894691348075867, 0.02873651310801506, -0.0011695417342707515, -0.009108079597353935, -0.02304830215871334, -0.022130247205495834, -0.01493223849684, -0.028601445257663727, -0.022960202768445015, -0.0036774124018847942, -0.006830338854342699, 0.03828013688325882, -0.012398838065564632, 0.019402742385864258, 0.02301141433417797, 0.010612337850034237, -0.0368933267891407, -0.041691821068525314, -0.045313507318496704, -0.026739398017525673, -0.02266816422343254, 0.01529399212449789, 0.04122130572795868, 0.006272824481129646, -0.042671702802181244, -0.004231204744428396, 0.004278586711734533, -0.025671763345599174, 0.03009015880525112, -0.07782130688428879, -0.03622309863567352, 0.03504106029868126, 0.0027040159329771996, 0.039916642010211945, 0.01700393669307232, 0.07131149619817734, -0.018361637368798256, -0.007961815223097801, -0.0064413901418447495, 0.017079345881938934, 0.007027863524854183, -0.013519604690372944, 0.02267419546842575, -0.08880114555358887, 0.035093437880277634, 0.034890539944171906, -0.012302032671868801, -0.0506739504635334, 0.019894786179065704, 0.003403564915060997, -0.012850895524024963, 0.06527011096477509, -0.02712675742805004, 0.044441867619752884, -0.057700254023075104, -0.01025298796594143, 0.006388708017766476, 0.013116137124598026, 0.03926068916916847, -0.011338594369590282, 0.0886632576584816, 0.009226085618138313, -0.03323396295309067, -0.04734101518988609, 0.008700584061443806, -0.005023861303925514, -0.009607146494090557, 0.00006870280776638538, -0.01838277280330658, -0.05452048033475876, -0.1018633171916008, -0.026075320318341255, -0.00346759962849319, -0.0073861004784703255, -0.025629805400967598, 0.03918534889817238, 0.011490030214190483, -0.06172085553407669, 0.0015599505277350545, -0.04544154927134514, 0.011274893768131733, -0.03328423202037811, -0.027942514047026634, 0.02074861153960228, 0.009990524500608444, 0.004642336163669825, -0.017577145248651505, 0.007001250982284546, -0.03805791959166527, -0.004862584639340639, -0.008326518349349499, 0.046884894371032715, 0.04941587895154953, 0.03529832884669304, -0.0003543570055626333 ]
[ -0.09001872688531876, 0.00005536495882552117, -0.025240669026970863, -0.016210835427045822, 0.04360078275203705, -0.021274704486131668, -0.05914151668548584, 0.008482118137180805, 0.01930500939488411, -0.021785466000437737, 0.015009930357336998, -0.026803230866789818, -0.01301589421927929, -0.04732828214764595, 0.0956762284040451, 0.006758630275726318, -0.017281511798501015, -0.08951687067747116, 0.013400767929852009, 0.0317053385078907, -0.009902812540531158, -0.061490338295698166, -0.02998238615691662, -0.05382883921265602, -0.013403374701738358, 0.010996919125318527, 0.03946394473314285, -0.03285238891839981, 0.0073564667254686356, -0.19343586266040802, 0.036429934203624725, -0.0069872229360044, 0.03136885166168213, -0.00419148663058877, 0.026770928874611855, 0.025216558948159218, 0.022610722109675407, 0.010318036191165447, -0.04012884199619293, 0.01725906692445278, 0.015441226772964, 0.0320558026432991, -0.062493059784173965, -0.015247034840285778, 0.03717446327209473, 0.0092144925147295, -0.02338065579533577, -0.04000460356473923, 0.01452707964926958, 0.010819834657013416, -0.013363195583224297, -0.03120768442749977, -0.011649838648736477, -0.04765349254012108, -0.0038444872479885817, 0.011131461709737778, 0.0032651762012392282, 0.06939062476158142, 0.01535370945930481, 0.012465647421777248, 0.013270504772663116, -0.01945371925830841, -0.1332738846540451, 0.0626799538731575, 0.06800755113363266, 0.027002695947885513, -0.0640668049454689, -0.06299342960119247, -0.03085896745324135, 0.10740707069635391, -0.019030222669243813, -0.02412380464375019, -0.013412047177553177, 0.043702736496925354, 0.009610714390873909, 0.0317150242626667, 0.003741305088624358, 0.021507740020751953, 0.039128340780735016, -0.041638243943452835, -0.025808274745941162, -0.03734508529305458, -0.05649597570300102, 0.0022071595303714275, -0.04337771236896515, 0.04095694422721863, -0.0033093972597271204, 0.0983748659491539, 0.04530096426606178, 0.024409545585513115, 0.03203195706009865, -0.018933411687612534, 0.031161010265350342, 0.0029485675040632486, -0.07820136100053787, -0.008954879827797413, -0.000016304982636938803, -0.003836974734440446, -0.03403272479772568, 0.456962913274765, 0.006817865185439587, -0.02304171770811081, 0.07260061800479889, 0.01979033276438713, 0.012717088684439659, 0.00601427024230361, -0.0015297645004466176, -0.030798768624663353, 0.029540671035647392, -0.017466723918914795, 0.028357259929180145, 0.02736695110797882, 0.07717304676771164, -0.03732762485742569, 0.005006365478038788, 0.0348297655582428, -0.019102342426776886, -0.009453047066926956, -0.0075943260453641415, -0.011936326511204243, 0.016303682699799538, 0.01265011727809906, 0.03310544788837433, -0.015840014442801476, 0.004277865868061781, -0.021537620574235916, 0.057184040546417236, 0.05870901793241501, -0.004619505722075701, -0.005036331247538328, 0.018492799252271652, -0.050650279968976974, -0.03570464253425598, 0.014029775746166706, 0.03104524128139019, 0.016682682558894157, 0.037732161581516266, -0.031799815595149994, 0.00735136866569519, 0.04224207252264023, -0.025973303243517876, 0.019954731687903404, 0.041012343019247055, -0.05949220061302185, -0.01625175029039383, 0.0921890065073967, 0.06537122279405594, -0.02616794779896736, -0.02756248041987419, -0.04990006610751152, -0.01089079026132822, 0.038581084460020065, 0.016207503154873848, -0.07070951908826828, 0.0038730143569409847, 0.016881052404642105, 0.06724249571561813, 0.007041730917990208, -0.05657701566815376, -0.0013313366798684, -0.01274768728762865, -0.018364999443292618, -0.05773655325174332, 0.05916609987616539, 0.04318510368466377, -0.10402970016002655, -0.04298792779445648, 0.03679746389389038, 0.03711526095867157, -0.05333724617958069, -0.03239975497126579, 0.017046736553311348, -0.028800273314118385, -0.03217305615544319, 0.0546412393450737, -0.06493758410215378, -0.061491504311561584, 0.04512515664100647, 0.006974149961024523, -0.001487281988374889, 0.0018597549060359597, 0.009302978403866291, -0.052444007247686386, -0.004207249730825424, -0.03789469599723816, -0.09302964061498642, -0.039287783205509186, -0.010683947242796421, -0.06013050302863121, -0.030820325016975403, -0.03759480267763138, -0.006322188302874565, -0.06984946876764297, 0.11577429622411728, 0.017268139868974686, -0.01250289473682642, 0.010370775125920773, 0.01208101212978363, -0.0303169135004282, -0.0345732718706131, 0.01367966365069151, 0.016799544915556908, -0.03219594806432724, 0.050310224294662476, -0.10614205151796341, 0.05249003320932388, 0.03883263096213341, -0.029618719592690468, 0.08522843569517136, 0.05496403947472572, -0.026805123314261436, -0.04148102179169655, 0.02176157385110855, 0.03004569746553898, -0.012534846551716328, 0.02076641656458378, 0.003694693325087428, 0.023905085399746895, 0.03998998925089836, 0.038121793419122696, 0.012107337825000286, 0.028583452105522156, -0.00035957610816694796, -0.3245554268360138, -0.05585704743862152, -0.05266072228550911, 0.002936706645414233, 0.02749812789261341, -0.03540767729282379, 0.022562654688954353, -0.002874337136745453, -0.01035461388528347, -0.007142977323383093, 0.08061940222978592, -0.007274628151208162, 0.01384633406996727, -0.07869704812765121, -0.016572369262576103, 0.013824435882270336, -0.025666944682598114, 0.017893115058541298, -0.047136612236499786, 0.01834554597735405, 0.022094767540693283, -0.003128492971882224, -0.029202627018094063, -0.04292051121592522, 0.007106655742973089, -0.006941535510122776, 0.13598297536373138, -0.03199192136526108, 0.08419034630060196, -0.033013951033353806, 0.05007217079401016, 0.01791638508439064, 0.021054400131106377, -0.07505282759666443, 0.007060868665575981, 0.004404054954648018, 0.03927220031619072, -0.03818424791097641, 0.012231038883328438, 0.003502527019008994, -0.08015637844800949, 0.01677791029214859, -0.0614643320441246, -0.06517351418733597, -0.03403105214238167, -0.00691779050976038, -0.04319668561220169, -0.00194550643209368, -0.024403849616646767, 0.062300149351358414, 0.02913777157664299, -0.01568269543349743, 0.005886798724532127, 0.009745313785970211, 0.006111905910074711, -0.03851228579878807, -0.08046409487724304, -0.004704888444393873, 0.009521092288196087, -0.0017619476420804858, 0.025810640305280685, 0.06349501013755798, 0.01739291287958622, -0.04347629100084305, 0.04641496390104294, 0.014404748566448689, 0.008358846418559551, 0.0036100209690630436, 0.04517265409231186, -0.043132103979587555, -0.01900605484843254, 0.07170108705759048, 0.003132654121145606, 0.017370272427797318, 0.00916378479450941, 0.016415784135460854, -0.023305384442210197, 0.03175077587366104, 0.02579079009592533, 0.0069485800340771675, 0.01279383897781372, -0.025056855753064156, 0.006402474828064442, 0.010652177035808563, 0.0007509756833314896, 0.0318417064845562, -0.020272159948945045, -0.012841756455600262, 0.04653305932879448, -0.0008039418025873601, -0.02673223800957203, 0.022109132260084152, -0.03484395518898964, -0.03981572762131691, 0.06927250325679779, -0.002024868270382285, -0.24659501016139984, 0.028006117790937424, 0.034525107592344284, 0.027214758098125458, -0.028264882043004036, 0.006618673913180828, 0.0060904487036168575, -0.031113669276237488, 0.03438373655080795, 0.03013504669070244, 0.009436077438294888, 0.04487227275967598, -0.004889882169663906, 0.0024078621063381433, 0.0396658331155777, 0.009384234435856342, 0.04698323830962181, -0.001741898595355451, 0.02184147760272026, -0.020658250898122787, 0.006015852093696594, -0.02243725024163723, 0.1595958024263382, -0.0009375138324685395, 0.029796654358506203, 0.05669242516160011, -0.025030527263879776, 0.033242616802453995, 0.03732091560959816, 0.019951291382312775, -0.021114153787493706, -0.007053110748529434, 0.006221276242285967, -0.028609998524188995, 0.018258748576045036, -0.058589085936546326, -0.028444547206163406, 0.014137918129563332, 0.020267512649297714, 0.028248082846403122, 0.029336053878068924, 0.0014723357744514942, -0.02001980133354664, 0.01184192206710577, 0.05733257159590721, 0.003024511970579624, 0.00039700997876934707, -0.049759235233068466, -0.052412837743759155, -0.014110189862549305, -0.05278470367193222, -0.05982787907123566, 0.0487239733338356, -0.0041098990477621555, 0.025588922202587128, 0.06803355365991592, 0.028995968401432037, -0.023766253143548965, 0.008322946727275848, -0.01701373979449272, 0.00014115485828369856, -0.02896088734269142, 0.08821753412485123, 0.0089282700791955, 0.03769262135028839 ]
[ 0.031101662665605545, 0.025270752608776093, 0.003441684879362583, -0.0002055271324934438, 0.008463922888040543, -0.03663509711623192, -0.011804968118667603, 0.0004183623823337257, -0.006569201592355967, -0.023119626566767693, 0.01734716072678566, -0.03444628790020943, 0.03982360288500786, -0.03199208527803421, 0.04087149351835251, 0.02476990595459938, 0.010656051337718964, 0.03579099848866463, 0.04561696946620941, 0.020297817885875702, -0.012361295521259308, 0.03262150287628174, 0.0020848512649536133, 0.0150192491710186, -0.004167135339230299, 0.020203765481710434, -0.03216865286231041, 0.013439488597214222, 0.019235454499721527, -0.13679547607898712, -0.0012687939452007413, -0.0030688566621392965, -0.03175891935825348, 0.02884060889482498, 0.06236375495791435, -0.02571464702486992, -0.017537271603941917, 0.01941237784922123, -0.01544731855392456, 0.013702258467674255, 0.022349927574396133, -0.0007128888973966241, 0.002044678432866931, -0.0057616448029875755, -0.03433443605899811, 0.005420845467597246, 0.00006143291830085218, -0.0684444010257721, 0.009007921442389488, 0.011546652764081955, -0.03174185752868652, -0.013813168741762638, 0.021519379690289497, 0.02442447654902935, -0.01753687858581543, 0.00007914721936685964, 0.022062532603740692, -0.0035973426420241594, 0.023609613999724388, -0.01619691774249077, 0.02382715791463852, 0.025380238890647888, -0.03396620973944664, -0.029041580855846405, -0.021318497136235237, 0.019752228632569313, -0.0038734739646315575, 0.0036248581018298864, -0.05015324056148529, -0.011534815654158592, -0.021720455959439278, 0.009449651464819908, -0.01764272339642048, -0.055285923182964325, -0.0027139228768646717, 0.030638206750154495, -0.015159147791564465, 0.010819233022630215, 0.028951438143849373, -0.0017322523053735495, -0.04898899048566818, -0.006520864088088274, -0.047233641147613525, 0.007804451510310173, -0.049978286027908325, 0.03648244962096214, 0.041982367634773254, 0.024835925549268723, 0.01099686324596405, 0.021341487765312195, 0.002086454536765814, 0.010070388205349445, 0.00728001119568944, -0.0012859683483839035, -0.06310565024614334, 0.0017812327714636922, -0.01824643276631832, -0.03340911865234375, 0.014750642701983452, 0.8006815910339355, -0.012995952740311623, -0.0005145299364812672, 0.04536323621869087, 0.015959251672029495, 0.001809498993679881, 0.02019534818828106, 0.017850510776042938, -0.01822616346180439, 0.00016171520110219717, -0.06760076433420181, -0.007809746544808149, 0.004307369235903025, 0.04827583581209183, 0.0046602035872638226, 0.03881489485502243, 0.041373834013938904, 0.04192487522959709, 0.051134247332811356, 0.01949518732726574, -0.01322351023554802, 0.06492027640342712, -0.0447998009622097, 0.01796080358326435, 0.004626774229109287, 0.0343245267868042, -0.17406988143920898, 0.008590834215283394, -7.662162378827529e-33, 0.017884492874145508, -0.020799368619918823, -0.0006690314621664584, 0.00945295486599207, 0.05843309313058853, -0.016591250896453857, 0.035485733300447464, 0.04099284112453461, -0.053751539438962936, -0.046681150794029236, -0.014455314725637436, -0.042686499655246735, 0.007593900430947542, -0.0071492563001811504, 0.010619846172630787, -0.040590882301330566, -0.006804883014410734, 0.050205256789922714, 0.0006308075971901417, 0.012718464247882366, 0.037599291652441025, 0.00479379715397954, 0.012193750590085983, 0.019391844049096107, -0.00903356820344925, -0.00043729087337851524, -0.006824946030974388, 0.008286848664283752, -0.00977166648954153, -0.041422437876462936, -0.06438594311475754, 0.06003177911043167, -0.010411875322461128, 0.029708050191402435, -0.013302292674779892, -0.01930406130850315, -0.004498257767409086, -0.015546281822025776, -0.0355653278529644, -0.012476596981287003, -0.030510159209370613, 0.015103033743798733, 0.01480608806014061, -0.03917469084262848, -0.024683266878128052, 0.004445564467459917, -0.01503208838403225, -0.008061304688453674, 0.05116134509444237, -0.011156430467963219, 0.009818551130592823, 0.012119407765567303, -0.0008871206664480269, -0.021663039922714233, -0.0050443075597286224, 0.012379728257656097, 0.03532901406288147, 0.035737115889787674, -0.02655014581978321, 0.05303895100951195, -0.026441000401973724, -0.005677639972418547, -0.04129895940423012, 0.03382840007543564, -0.021643241867423058, -0.02169504202902317, 0.013802796602249146, 0.04062211886048317, 0.005455830600112677, -0.00806184858083725, -0.03787887468934059, -0.0008633319521322846, -0.02513924241065979, -0.0492253340780735, 0.021927036345005035, -0.02244049310684204, -0.02073504962027073, 0.015524170361459255, -0.0003910893574357033, 0.035159118473529816, -0.009219026193022728, 0.017017390578985214, -0.04158265143632889, -0.05012575536966324, -0.0007165871793404222, -0.02347046323120594, -0.03644914925098419, 0.025623751804232597, 0.01626807451248169, 0.0016674905782565475, -0.007908754050731659, -0.05622052773833275, 0.03390420228242874, -0.011209012940526009, -0.04973846301436424, 8.714135048581442e-33, -0.05808717757463455, -0.029385458678007126, -0.026181736961007118, 0.0038993447087705135, 0.030162978917360306, 0.010405904613435268, 0.012658432126045227, -0.014065643772482872, -0.061791591346263885, 0.016037505120038986, -0.028715141117572784, 0.019642002880573273, -0.024348897859454155, 0.024553967639803886, -0.0020252494141459465, -0.014814392663538456, 0.06721056252717972, -0.05794120579957962, 0.06262394040822983, -0.009477395564317703, 0.03252188861370087, 0.01224435493350029, 0.0015183400828391314, -0.014011500403285027, 0.05218861997127533, 0.04870773106813431, -0.01735660247504711, 0.03789228945970535, 0.006572588812559843, 0.012724784202873707, -0.00006956995639484376, 0.004540859721601009, 0.005625719204545021, -0.011431200429797173, 0.02901957370340824, 0.017765481024980545, -0.009799160994589329, 0.009872181341052055, 0.002592416014522314, 0.01743173785507679, -0.01917385309934616, -0.00003248913344577886, -0.008868050761520863, 0.014932581223547459, 0.03828251734375954, 0.04149305075407028, -0.023801136761903763, -0.01831645704805851, -0.006554123479872942, 0.023229802027344704, -0.0197319146245718, 0.03688255697488785, -0.0013083110097795725, -0.0215146541595459, -0.024141132831573486, -0.02666425332427025, -0.048902664333581924, 0.028488462790846825, -0.023613935336470604, -0.0067502656020224094, -0.00404424499720335, 0.01740572229027748, -0.012911388650536537, 0.022772712633013725, -0.040396545082330704, 0.015893753618001938, -0.0013040505582466722, 0.01660500094294548, -0.015075158327817917, -0.0077819256111979485, -0.030936766415834427, 0.00012207255349494517, -0.02983137033879757, 0.05107734724879265, 0.007576254662126303, -0.07214837521314621, -0.010084036737680435, -0.01851622946560383, 0.007019973360002041, 0.05796460434794426, -0.006658082827925682, 0.005995885469019413, -0.012800508178770542, 0.0007746709743514657, -0.029117386788129807, 0.011877210810780525, -0.044089313596487045, 0.049759991466999054, 0.03937998414039612, -0.029233304783701897, 0.002529990626499057, 0.0022647902369499207, -0.01908794231712818, 0.04688793048262596, -0.03420509397983551, -1.3047906755048189e-8, 0.02029380574822426, -0.014015006832778454, 0.006501843687146902, 0.013531631790101528, 0.02714470773935318, -0.0021396914962679148, -0.016936421394348145, 0.03273992985486984, -0.014642997644841671, 0.01866401731967926, 0.03897353261709213, -0.0441504567861557, 0.001381823793053627, 0.028721418231725693, 0.026501743122935295, -0.026580700650811195, 0.031055040657520294, 0.0045750937424600124, 0.03158772736787796, -0.03280787169933319, 0.05347813293337822, 0.05904166027903557, 0.017120104283094406, 0.025934385135769844, 0.008150122128427029, 0.006651816423982382, -0.004135964438319206, -0.07895949482917786, -0.01439967192709446, 0.0402425117790699, 0.0006470641237683594, -0.021761838346719742, -0.06323543936014175, 0.018552260473370552, -0.040441904217004776, -0.013979013077914715, 0.0104459123685956, 0.03471636027097702, 0.06025923788547516, 0.018666326999664307, -0.02382655255496502, 0.023127049207687378, -0.010112084448337555, -0.03571208938956261, 0.018937138840556145, 0.006625357083976269, -0.05249987170100212, -0.012153609655797482, 0.026233160868287086, -0.10273687541484833, 0.00815670657902956, -0.017086148262023926, 0.020447831600904465, 0.07019233703613281, 0.0306501854211092, -0.012521079741418362, 0.012800787575542927, -0.0018694739555940032, 0.003752563614398241, -0.0010913031874224544, 0.006432451773434877, 0.032545797526836395, 0.01744423434138298, -0.009632699191570282 ]
build-using-virtual-machines-to-run-it-in-parallel
https://markhneedham.com/blog/2009/05/21/build-using-virtual-machines-to-run-it-in-parallel
false
2009-05-31 23:28:20
CouchDB/Futon: '_all_dbs' call returns databases with leading 'c/'
[ "couchdb", "futon" ]
[ "CouchDB" ]
As I mentioned http://www.markhneedham.com/blog/2009/05/31/sharpcouch-use-anonymous-type-to-create-json-objects/[in my previous post] I've been playing around with http://wiki.apache.org/couchdb/FrontPage[CouchDB] and one of the problems that I've been having is that although I can access my database through the REST API perfectly fine, whenever I went to the https://forge.process-one.net/browse/~raw,r=811/CouchDB/trunk/share/www/index.html[Futon] page ('http://localhost:5984/_utils/' in my case) to view my list of databases I was getting the following javascript error: [source,text] ---- Database information could not be retrieved: missing ---- I thought I'd have a quick look with FireBug to see if I could work out what was going on and saw several requests being made to the following urls and resulting in 404s: * http://localhost:5984/c%2Fsharpcouch/ * http://localhost:5984/c%2Fmark_erlang/ The value 'c/' was being added to the front of each of my database names, therefore meaning that Futon was unable to display the various attributes on the page for each of them. Tracing this further I realised that the call to 'http://localhost:5984/_all_dbs' was actually the one that was failing, and calling it directly from 'erl' was resulting in the same error: [source,erlang] ---- > couch_server:all_databases(). {ok,["c/mark_erlang","c/sharpcouch","c/test_suite_db"]} ---- I don't know Erlang well enough to try and change the code to fix this problem but I came across a https://issues.apache.org/jira/browse/COUCHDB-307[bug report] on the CouchDB website which described exactly the problem I've been having. Apparently there is a problem when you use an upper case 'C' for the 'DbRootDir' property in 'couch.ini'. Changing that to a lower case 'c' so that my 'couch.ini' file now looks like this solved the problem: [source,text] ---- DbRootDir=c:/couchdb/db ----
null
null
[ -0.02467724122107029, -0.010689832270145416, 0.003870108863338828, 0.03753843531012535, 0.07592055201530457, -0.008501579985022545, 0.03552459925413132, 0.05827061086893082, -0.0024383366107940674, -0.02260359562933445, -0.02814941108226776, 0.007177179679274559, -0.070014588534832, 0.0023119517136365175, -0.03234805539250374, 0.0537635013461113, 0.06426562368869781, -0.010790305212140083, 0.0074441758915781975, -0.01882302574813366, 0.04133377969264984, 0.06027907133102417, -0.02095499262213707, 0.02689000964164734, 0.006437310017645359, 0.048191189765930176, -0.015832168981432915, 0.005126113072037697, -0.05283676087856293, -0.024104343727231026, 0.014608406461775303, 0.003757445141673088, 0.006018552463501692, -0.024672824889421463, 0.011931659653782845, 0.006297012325376272, -0.005429836455732584, 0.03116530366241932, -0.0006085549830459058, 0.02967674843966961, -0.040594618767499924, 0.04675464332103729, 0.00001544470615044702, 0.039085112512111664, -0.02708185464143753, 0.029751146212220192, -0.04967234283685684, 0.007583711761981249, 0.005406184587627649, -0.007012772373855114, -0.04479349032044411, 0.03183658421039581, -0.014562125317752361, -0.0026851757429540157, 0.018814701586961746, 0.050213128328323364, -0.004203465301543474, -0.0820310115814209, 0.02749875746667385, -0.021140841767191887, 0.013578965328633785, 0.01797022670507431, -0.0011590480571612716, 0.021572452038526535, 0.015817660838365555, 0.004671457223594189, -0.024632738903164864, 0.07228078693151474, -0.04157635569572449, -0.01574256271123886, 0.031239058822393417, 0.004088734742254019, -0.03121490217745304, 0.01611684076488018, 0.015697039663791656, -0.04383936896920204, 0.002365526743233204, 0.04115710407495499, 0.017797045409679413, 0.09102625399827957, -0.0003792551869992167, 0.006897671148180962, 0.05578835308551788, 0.02136550098657608, 0.018448524177074432, -0.038469098508358, -0.03722820803523064, -0.021241936832666397, -0.01142322737723589, 0.03954089432954788, 0.04663780704140663, -0.06033889949321747, 0.02202792279422283, 0.010806719772517681, -0.026969091966748238, -0.00867033377289772, 0.038332849740982056, 0.006541288923472166, -0.008310549892485142, -0.015773827210068703, -0.058413486927747726, -0.004745318088680506, 0.010882390663027763, 0.015730857849121094, -0.06005954369902611, -0.0022038351744413376, -0.017316626384854317, -0.010562785901129246, -0.010237346403300762, -0.005507688969373703, -0.04608491063117981, 0.04923483729362488, -0.014325492084026337, -0.013671815395355225, -0.0846896767616272, 0.07281658798456192, 0.01961583085358143, -0.047201648354530334, 0.0009556450531817973, 0.017378540709614754, 0.0693124309182167, 0.04088645428419113, -0.005758678074926138, 0.05952691286802292, 0.03125637024641037, 0.019389811903238297, -0.012359458021819592, 0.03515610843896866, 0.0046858349815011024, -0.06284060329198837, 0.009602570906281471, 0.07359317690134048, -0.03562697395682335, 0.008215398527681828, 0.01450641080737114, -0.008776064030826092, -0.010719254612922668, 0.00028823583852499723, 0.054217852652072906, 0.03349856287240982, -0.024504289031028748, -0.06387928128242493, -0.044755104929208755, 0.0203696396201849, 0.05995431914925575, 0.013066682033240795, -0.01658482290804386, -0.03374294564127922, -0.04187144711613655, 0.02835366502404213, 0.005317372735589743, 0.03662114217877388, 0.0466381311416626, -0.04776245728135109, -0.006678866222500801, 0.09906304627656937, 0.032051924616098404, 0.0079873688519001, -0.013488026335835457, 0.006213923916220665, 0.021866953000426292, 0.02865927666425705, -0.0002796516055241227, 0.027013812214136124, -0.010039796121418476, -0.015065500512719154, 0.010771962814033031, 0.058843404054641724, 0.022650184109807014, 0.020635398104786873, -0.06529481709003448, -0.055120959877967834, 0.07094800472259521, -0.04792347922921181, -0.02513386495411396, 0.05325170233845711, 0.07406733930110931, 0.02613772451877594, 0.019007980823516846, 0.0366329550743103, -0.08656035363674164, 0.020222922787070274, 0.021069899201393127, -0.021512433886528015, 0.017585864290595055, -0.022212907671928406, 0.07548950612545013, 0.03265933692455292, 0.025105595588684082, 0.03863297030329704, -0.07836738973855972, -0.09238048642873764, -0.050273820757865906, 0.00593555998057127, 0.05299632251262665, -0.06282739341259003, 0.0004119583172723651, 0.07659515738487244, 0.025795014575123787, 0.03629373759031296, 0.005104159004986286, -0.010301090776920319, 0.019256696105003357, -0.053183332085609436, -0.02426648512482643, 0.029842015355825424, 0.027210406959056854, -0.01714332215487957, -0.05215514451265335, 0.012037553824484348, -0.004898987244814634, -0.024795839563012123, 0.01878247782588005, -0.020986376330256462, 0.01375814713537693, 0.007893005385994911, 0.06183193251490593, -0.034655533730983734, 0.05731360241770744, -0.04319631680846214, 0.07570096850395203, 0.017408421263098717, -0.012933976948261261, -0.013665293343365192, 0.01026913058012724, 0.12022460252046585, 0.07456765323877335, -0.009922131896018982, -0.032101333141326904, 0.016536541283130646, 0.017399828881025314, -0.03952701389789581, -0.025651749223470688, -0.026427924633026123, -0.018913650885224342, 0.013486318290233612, -0.038486186414957047, -0.02280854433774948, 0.030019497498869896, -0.045480310916900635, 0.0006689009023830295, 0.06558801233768463, -0.015106763690710068, 0.03550827503204346, 0.01220079604536295, -0.03514386713504791, -0.02477705292403698, -0.020103519782423973, -0.04308421164751053, -0.005145140923559666, 0.011164166033267975, -0.01531408354640007, 0.030481813475489616, -0.032142817974090576, -0.0029150957707315683, -0.0056551131419837475, -0.04938865453004837, 0.049874190241098404, 0.04012391343712807, 0.0600101612508297, -0.002918689278885722, 0.05464129522442818, -0.027174202725291252, 0.02249152399599552, -0.0007698567351326346, -0.023375920951366425, -0.06936461478471756, -0.027239173650741577, 0.019635185599327087, 0.027056798338890076, 0.027269084006547928, 0.01167293917387724, 0.004167735576629639, 0.009507525712251663, 0.009493978694081306, 0.006169904489070177, 0.017463386058807373, 0.0032277230639010668, 0.0014680345775559545, -0.035215217620134354, -0.02866949886083603, 0.025083184242248535, -0.019568100571632385, -0.02931971289217472, 0.008348320610821247, -0.07953924685716629, 0.042784184217453, -0.06935334205627441, -0.055544424802064896, -0.005396008957177401, 0.0005456253420561552, 0.03789474442601204, 0.014465135522186756, 0.0011502172565087676, 0.06246698647737503, 0.012677834369242191, -0.002271504607051611, 0.017637653276324272, -0.01791776530444622, 0.0311882421374321, -0.017071770504117012, 0.01840510219335556, 0.02891957201063633, -0.023216592147946358, -0.013818475417792797, -0.051345858722925186, 0.0005757218459621072, -0.01987639255821705, -0.29323238134384155, 0.04032240808010101, -0.008699644356966019, -0.03750619292259216, 0.02627979777753353, -0.002985916566103697, -0.009447681717574596, -0.03062022477388382, -0.02538229152560234, 0.018823182210326195, -0.016526319086551666, -0.049445029348134995, -0.01722624897956848, 0.03793040290474892, -0.006470097694545984, 0.023476937785744667, -0.009139771573245525, -0.02396097220480442, -0.019530903548002243, 0.019166260957717896, -0.006370112299919128, -0.05921966955065727, -0.013474611565470695, 0.039923667907714844, 0.02364637888967991, 0.05627802014350891, -0.04750309884548187, 0.05703049525618553, -0.02916986308991909, -0.02426496520638466, 0.03780854493379593, -0.009326661005616188, 0.0048090191558003426, -0.013277257792651653, -0.03222588822245598, -0.008820162154734135, 0.009693424217402935, -0.008729587309062481, -0.0041368259117007256, -0.021456167101860046, -0.05083835497498512, -0.035536594688892365, -0.026825029402971268, 0.022041646763682365, 0.10554582625627518, -0.0208501648157835, -0.08023276180028915, 0.010926847346127033, -0.034345388412475586, 0.05677136406302452, -0.013015289790928364, -0.07845883816480637, -0.018744725733995438, 0.05551445111632347, 0.009014707058668137, -0.0036652302369475365, -0.02260792814195156, -0.012912297621369362, -0.014597129076719284, -0.027744771912693977, -0.0033791959285736084, -0.04507995769381523, -0.021179357543587685, -0.023409167304635048, -0.019953731447458267, -0.05679900571703911, -0.05315797030925751, -0.03483717888593674, 0.06733935326337814, 0.009266841225326061, -0.023055868223309517, -0.0027230889536440372, -0.009521742351353168, -0.10641001164913177, -0.005008441861718893, -0.02011534944176674, -0.045655861496925354, -0.004212564788758755, -0.015443679876625538, 0.049714989960193634, -0.010530544444918633, -0.03628809377551079, -0.0005731792189180851, 0.01228554267436266, 0.004490517545491457, -0.018342988565564156, 0.037719015032052994, -0.008486706763505936, -0.023968081921339035, 0.007171554956585169, 0.052932627499103546, -0.059665530920028687, -0.04298994690179825, -0.005583799444139004, -0.020502980798482895, 0.016331747174263, -0.002433404326438904, -0.0042923130095005035, 0.013529418967664242, 0.05747150629758835, 0.040522631257772446, -0.07037241756916046, 0.009422744624316692, -0.05170679837465286, -0.005740827415138483, -0.011260200291872025, -0.022019481286406517, 0.007972386665642262, 0.041630905121564865, 0.019187312573194504, -0.011382807046175003, -0.016227854415774345, 0.013092639856040478, -0.05272906646132469, -0.018597379326820374, -0.012324717827141285, 0.0215064138174057, 0.009976092725992203, 0.022498533129692078, -0.05989943817257881, -0.047592271119356155, 0.00935009028762579, 0.049532707780599594, -0.004320517648011446, -0.04897110164165497, -0.019363626837730408, 0.00847498420625925, -0.028488939628005028, 0.04027848318219185, 0.016447337344288826, -0.00355147453956306, 0.003005275269970298, 0.015131859108805656, 0.0019067396642640233, 0.029633590951561928, -0.041806500405073166, -0.03211098909378052, 0.004142033401876688, 0.012716364115476608, -0.009472363628447056, -0.0011872093891724944, -0.00694454787299037, -0.002955204341560602, 0.035817112773656845, 0.04254935309290886, 0.012170776724815369, 0.0026951381005346775, 0.00499799195677042, 0.0015409830957651138, -0.009521251544356346, 0.0058059049770236015, -0.04938454553484917, 0.02253582328557968, -0.044542357325553894, -0.06039539724588394, -0.02034045197069645, 0.058598268777132034, 0.00979494396597147, -0.029365891590714455, -0.03318309411406517, 0.010212798602879047, -0.08346434682607651, -0.029383152723312378, 0.015463326126337051, -0.03540479764342308, 0.039990488439798355, -0.01761384680867195, 0.03189842402935028, -0.013217708095908165, -0.01536763459444046, 0.003971461672335863, 0.0179971382021904, -0.006740237586200237, 0.008322951383888721, 0.001717561623081565, -0.010831644758582115, -0.04886586219072342, 0.03129193186759949, 0.04073911905288696, 0.029794879257678986, 0.011613123118877411, 0.00575634278357029, 0.01055547408759594, 0.02590295299887657, 0.06232292950153351, 0.01831984892487526, -0.022398078814148903, -0.01736491173505783, 0.013471981510519981, -0.03859977424144745, -0.018121769651770592, 0.008917467668652534, 0.0037561459466814995, 0.04806168004870415, 0.007112434599548578, -0.08557070046663284, 0.06612671911716461, 0.006580654997378588, -0.0019419167656451464, 0.0151821905747056, -0.01907392404973507, 0.006986276246607304, -0.008049524389207363, 0.03203732520341873, 0.05562685802578926, -0.0625443235039711, 0.006783324759453535, -0.012170756235718727, 0.0019454405410215259, 0.014833691529929638, -0.00005100654379930347, -0.040665216743946075, -0.027229279279708862, -0.028634099289774895, 0.023469459265470505, -0.02896980009973049, -0.020581159740686417, -0.014513376168906689, 0.0058857412077486515, 0.0081776212900877, 0.00020872909226454794, 0.0014705104986205697, -0.00039077410474419594, 0.013473260216414928, -0.03094315156340599, 0.017444441094994545, -0.04302460700273514, -0.022124556824564934, -0.002450879430398345, -0.021088730543851852, 0.027144325897097588, -0.02784077078104019, 0.016253313049674034, 0.02411033771932125, -0.01100908499211073, 0.007163086906075478, -0.030903739854693413, 0.003101616632193327, -0.002498821122571826, 0.05551433935761452, -0.0010455286828801036, -0.017923394218087196, 0.00956362672150135, 0.017082979902625084, -0.028118103742599487, 0.011568731628358364, -0.01685667783021927, -0.004619961138814688, 0.042782627046108246, 0.03872471675276756, 0.0017549368785694242, 0.013183953240513802, -0.024932509288191795, -0.026450105011463165, 0.029197560623288155, -0.06863116472959518, 0.004745842423290014, -0.011485674418509007, -0.045377857983112335, 0.046673309057950974, 0.017308373004198074, 0.009282086044549942, -0.05135982856154442, 0.0786639153957367, 0.024509653449058533, 0.005980673711746931, 0.05067698284983635, -0.00765371834859252, 0.0350986011326313, -0.05011044442653656, -0.04709985479712486, -0.09538388252258301, -0.0016564317047595978, 0.0202776025980711, -0.01439314428716898, -0.01106274127960205, 0.02365589328110218, -0.03663523495197296, 0.011994109489023685, -0.08226653933525085, -0.03577834740281105, 0.00567850423976779, -0.020523345097899437, -0.011350502260029316, 0.0027949700597673655, -0.06297221034765244, 0.019585654139518738, 0.01894143596291542, -0.038163281977176666, -0.04070918634533882, -0.01355549693107605, 0.06102751940488815, 0.009764512069523335, 0.04213740676641464, -0.005765977315604687, -0.0016389958327636123, 0.07166697829961777, 0.01993989571928978, 0.03568102791905403, 0.07330527901649475, -0.028074273839592934, 0.03440701216459274, 0.03653676435351372, 0.009556131437420845, 0.037923846393823624, -0.0067778998054564, -0.023361220955848694, -0.046037569642066956, 0.0407581552863121, 0.01920893043279648, -0.011486215516924858, -0.03094424679875374, 0.05328851193189621, 0.02085859701037407, -0.03647945821285248, -0.029365655034780502, 0.010455965995788574, -0.06529389321804047, -0.03144719451665878, -0.02805335260927677, 0.013229409232735634, -0.022673293948173523, 0.06466842442750931, 0.0026379881892353296, 0.00914781354367733, 0.0692763701081276, -0.013573050498962402, 0.006326731294393539, -0.004374876152724028, 0.07246986776590347, 0.10170836001634598, 0.002939533907920122, 0.027192072942852974, 0.045222312211990356, -0.013937448151409626, -0.03563285619020462, -0.013962389901280403, -0.03704831749200821, -0.02769438363611698, -0.024864481762051582, -0.03195146843791008, 0.07747276872396469, -0.006416498217731714, 0.07387209683656693, -0.007507113739848137, 0.01871076226234436, -0.020425057038664818, 0.011432131752371788, 0.032085586339235306, 0.033439505845308304, -0.01236949022859335, 0.02473369427025318, -0.023618048056960106, -0.054820746183395386, 0.0015876628458499908, -0.0026519245002418756, -0.03430967032909393, 0.0034212947357445955, -0.016139017418026924, 0.04616426303982735, 0.026012882590293884, 0.027022069320082664, 0.08192358911037445, -0.026150139048695564, -0.001871801563538611, 0.0027030762284994125, 0.008679640479385853, -0.014979429543018341, 0.04171163588762283, -0.01368026901036501, -0.007192511577159166, 0.006546174641698599, -0.013615412637591362, -0.0003637766058091074, -0.04138324037194252, -0.04488131031394005, 0.04859251528978348, -0.04095466807484627, -0.006359868682920933, 0.013318878598511219, 0.016358090564608574, -0.019119003787636757, -0.03666355460882187, -0.07051374763250351, -0.01822936348617077, -0.0667385458946228, -0.008525853045284748, 0.023260295391082764, -0.011358391493558884, -0.032832272350788116, -0.021295413374900818, -0.01040240190923214, 0.020798316225409508, 0.015862956643104553, -0.028486713767051697, -0.060208503156900406, 0.014693842269480228, 0.004472037777304649, 0.03285859152674675, 0.0395023413002491, 0.07216862589120865, 0.016117151826620102, 0.023270726203918457, -0.03398702293634415, 0.008954448625445366, 0.041726868599653244, -0.017138434574007988, 0.030901597812771797, -0.07323680818080902, 0.036519475281238556, -0.003754469333216548, 0.025926699861884117, -0.05959854647517204, -0.012761639431118965, 0.024329733103513718, -0.025244150310754776, 0.04927342012524605, -0.014538539573550224, -0.003190169110894203, -0.025365378707647324, -0.004056514706462622, -0.007254329510033131, 0.010373377241194248, 0.021596234291791916, -0.010527080856263638, 0.07822507619857788, 0.03227793425321579, -0.019932230934500694, -0.02366664446890354, 0.0017542532877996564, 0.012350506149232388, 0.01410328783094883, -0.020926741883158684, -0.05718366801738739, -0.03783357888460159, -0.06830408424139023, -0.05324767157435417, 0.020401475951075554, -0.0256627406924963, -0.014337961561977863, 0.00813229475170374, 0.010951541364192963, -0.07752994447946548, 0.021647199988365173, -0.03536958247423172, 0.03413955867290497, -0.02025746740400791, -0.04189694672822952, -0.027691837400197983, 0.011589212343096733, 0.03582794591784477, -0.006280981469899416, 0.03037678822875023, -0.051243122667074203, -0.00045739623601548374, -0.004596156068146229, -0.01172538660466671, 0.033674608916044235, -0.015617771074175835, 0.0074294330552220345 ]
[ -0.07798746228218079, -0.05578703060746193, -0.051808394491672516, -0.00027134266565553844, 0.044658176600933075, -0.05264180153608322, -0.04554985091090202, 0.013065720908343792, -0.011414281092584133, 0.024589160457253456, 0.0473322868347168, -0.06278839707374573, -0.014401380904018879, -0.023552121594548225, 0.06807016581296921, 0.0489426925778389, -0.019998401403427124, -0.05166803300380707, -0.03416241705417633, 0.05610208958387375, -0.012237277813255787, -0.025598302483558655, -0.01564585603773594, -0.024715274572372437, -0.055761437863111496, 0.055660467594861984, 0.05014391243457794, -0.04264387488365173, -0.031629059463739395, -0.19420284032821655, 0.003613486886024475, -0.03565951809287071, 0.0223408080637455, -0.01612779311835766, 0.027923258021473885, 0.013901067897677422, 0.05893575772643089, -0.039381109178066254, -0.0038027644623070955, 0.0749850645661354, -0.0037486704532057047, 0.015168113633990288, -0.03323178365826607, -0.03339051827788353, 0.024031303822994232, -0.005055336281657219, -0.008030634373426437, 0.028941413387656212, 0.027454234659671783, -0.01539033092558384, -0.083597831428051, 0.032033033668994904, -0.029085004702210426, -0.044505469501018524, 0.008404899388551712, 0.02315559610724449, 0.050596173852682114, 0.07235521823167801, -0.013133510015904903, 0.02810826152563095, 0.043601300567388535, -0.012930788099765778, -0.10396046936511993, 0.07674308121204376, 0.01493407879024744, 0.06363576650619507, -0.030322866514325142, -0.06091180071234703, -0.0002672480186447501, 0.006184088997542858, -0.014015494845807552, -0.04604977369308472, -0.04613029584288597, 0.09378688037395477, 0.03463711589574814, -0.02163255773484707, 0.014726941473782063, 0.02828148566186428, 0.07817065715789795, -0.014634682796895504, -0.05336010083556175, -0.0442434623837471, -0.017024219036102295, -0.02708195149898529, 0.00738117378205061, -0.01597428508102894, -0.026273267343640327, 0.04207466542720795, 0.01220758631825447, 0.06692789494991302, -0.007116513792425394, -0.02982560358941555, 0.06626458466053009, 0.018195852637290955, -0.11362522095441818, -0.03088977374136448, -0.0007430003606714308, 0.014906652271747589, 0.004690575413405895, 0.3722575902938843, -0.013853895477950573, -0.025928033515810966, 0.013962541706860065, -0.0032814103178679943, 0.015368142165243626, -0.035464800894260406, 0.010391316376626492, -0.02218100056052208, 0.0748528391122818, -0.006367977242916822, -0.03371679410338402, -0.026530640199780464, -0.0005101103452034295, -0.05172541365027428, -0.0035501408856362104, 0.026959732174873352, -0.009232016280293465, 0.02416905388236046, -0.045895934104919434, 0.000616453995462507, 0.006793865468353033, 0.005749398842453957, 0.05544612556695938, 0.01816285401582718, 0.016870826482772827, 0.019793624058365822, 0.006815896835178137, 0.05959148332476616, 0.04298953711986542, 0.028212571516633034, 0.023053200915455818, -0.015190876089036465, -0.06440939009189606, -0.02675795741379261, -0.023814864456653595, 0.03145802393555641, 0.002696491312235594, -0.02853824943304062, 0.045520391315221786, 0.04794246330857277, 0.0026395434979349375, -0.01767919585108757, -0.020555736497044563, 0.025671860203146935, -0.04221310839056969, 0.029359908774495125, 0.02933882735669613, 0.006784409284591675, -0.056467801332473755, -0.02584991604089737, -0.00009618283365853131, 0.05035381019115448, -0.011145614087581635, -0.04875904694199562, -0.010816231369972229, 0.034556034952402115, 0.047352682799100876, -0.03833606466650963, -0.041862670332193375, -0.049789346754550934, -0.0022682815324515104, -0.054806895554065704, 0.011190937831997871, 0.06939055025577545, -0.02115791104733944, -0.10554483532905579, -0.04310024529695511, 0.04414781183004379, -0.006248855032026768, -0.08423249423503876, 0.001204022322781384, 0.00681969104334712, -0.057267095893621445, 0.01562551036477089, 0.06161097437143326, -0.02258707955479622, 0.01575603149831295, 0.017068618908524513, -0.004699804820120335, 0.028513772413134575, -0.021045655012130737, 0.002595048863440752, -0.03805502876639366, 0.0033258888870477676, -0.03146110847592354, -0.09041891992092133, -0.05476579815149307, -0.0022415004204958677, 0.02273179218173027, 0.002380009973421693, -0.05300610512495041, -0.04369611293077469, -0.09250479191541672, 0.02871829643845558, 0.03858860954642296, -0.01059699710458517, 0.048158712685108185, -0.005892537999898195, 0.0012947851791977882, -0.02383907325565815, 0.11941222846508026, 0.03942330554127693, 0.005797761958092451, 0.04770204424858093, -0.06470342725515366, 0.025948328897356987, 0.043189436197280884, 0.002619839506223798, 0.034928251057863235, 0.005986182950437069, -0.05709831044077873, 0.010430102236568928, -0.0494249127805233, 0.019078925251960754, -0.025202328339219093, -0.005373988766223192, -0.030614672228693962, 0.027742721140384674, 0.019951000809669495, 0.05447186902165413, -0.029687518253922462, -0.03253648430109024, -0.016998691484332085, -0.34292587637901306, 0.0035836005117744207, -0.04335316643118858, -0.03272039443254471, -0.034403130412101746, -0.01629369519650936, 0.008110187016427517, 0.013373179361224174, -0.02198534645140171, 0.043557751923799515, 0.10327507555484772, -0.010343579575419426, 0.01676972582936287, -0.09969887137413025, -0.01601475663483143, 0.038943205028772354, -0.02108168415725231, -0.059771619737148285, -0.062462467700242996, -0.021397972479462624, -0.009085815399885178, -0.021468080580234528, -0.02121077850461006, -0.03304670378565788, -0.026769235730171204, -0.0354655385017395, 0.10860676318407059, -0.0018091402016580105, 0.04655570909380913, -0.07802687585353851, 0.03805829584598541, 0.02039344795048237, -0.005597113166004419, -0.09389222413301468, 0.009482773020863533, -0.03249167278409004, 0.024147015064954758, 0.02058914117515087, 0.02478271909058094, -0.027165612205863, -0.04781121388077736, 0.004808308091014624, -0.02634846791625023, -0.04801568388938904, 0.004638077691197395, 0.010853114537894726, -0.011748462915420532, -0.03222633898258209, 0.002499721711501479, 0.09040564298629761, 0.007427960634231567, 0.06891831755638123, 0.03506523743271828, 0.06231603026390076, -0.034948475658893585, -0.003786651883274317, -0.052231308072805405, -0.03957270830869675, -0.010942792519927025, 0.05993834137916565, 0.03725198283791542, 0.043486032634973526, 0.003108932403847575, -0.05503875017166138, 0.01622978039085865, -0.0005175928818061948, -0.031351473182439804, 0.011094918474555016, 0.07104978710412979, -0.05328299105167389, -0.05036881938576698, 0.10285107046365738, -0.00024790747556835413, 0.05667852982878685, 0.0472983755171299, 0.02585388720035553, -0.00353903672657907, -0.026724496856331825, 0.0414876751601696, -0.023395376279950142, 0.05281197279691696, -0.011108539998531342, 0.09289754182100296, -0.030202314257621765, -0.0006634375895373523, 0.0851370319724083, 0.00030881798011250794, 0.025301983579993248, 0.036309316754341125, -0.010836081579327583, -0.005913069937378168, -0.07130313664674759, -0.05222265049815178, -0.06453050673007965, 0.08624383062124252, 0.02823544293642044, -0.23304641246795654, 0.049934420734643936, 0.04211203381419182, 0.02661728858947754, 0.04359579458832741, 0.04804324358701706, 0.01857241988182068, -0.060334526002407074, 0.020501967519521713, -0.008961913175880909, 0.07480267435312271, 0.04007527604699135, 0.0011777413310483098, -0.026973947882652283, 0.02855958417057991, 0.010695635341107845, -0.002774119144305587, 0.032151106745004654, 0.009129040874540806, -0.016561664640903473, 0.014179116114974022, -0.012817720882594585, 0.16432157158851624, 0.04107390344142914, -0.013596209697425365, 0.009999520145356655, -0.014660564251244068, 0.013669698499143124, 0.06497641652822495, 0.037946928292512894, -0.001378615852445364, 0.047296203672885895, 0.03892655298113823, 0.014617832377552986, 0.019180405884981155, -0.07939630001783371, 0.027741000056266785, 0.020373884588479996, 0.04131254926323891, -0.0655347928404808, -0.034092556685209274, 0.031112059950828552, -0.05945269390940666, 0.03912866488099098, 0.07642363756895065, -0.0031493620481342077, -0.03478613123297691, -0.001979855354875326, 0.006941522937268019, -0.033706918358802795, -0.012820016592741013, -0.05172617733478546, 0.016195140779018402, -0.003056526416912675, 0.011796995997428894, 0.048086680471897125, 0.04239599034190178, 0.044423919171094894, -0.027459029108285904, 0.020292265340685844, 0.016486698761582375, 0.007356955669820309, 0.06482139974832535, 0.04388003796339035, -0.005864347331225872 ]
[ 0.0052722143009305, 0.020705759525299072, -0.0009420290589332581, 0.02041478268802166, 0.013299278914928436, 0.012549906969070435, -0.008949427865445614, 0.01750679314136505, -0.02708546631038189, -0.009736115112900734, -0.0034460132010281086, -0.007825447246432304, 0.05657553672790527, -0.01111491210758686, -0.006230508908629417, -0.008082411251962185, 0.001973100006580353, 0.012928159907460213, 0.031316354870796204, 0.06122841686010361, -0.023762201890349388, 0.010629764758050442, -0.014393377117812634, 0.007162417750805616, 0.003323227632790804, -0.04009019210934639, -0.010301046073436737, -0.0036057843826711178, 0.018804680556058884, -0.15863822400569916, 0.00033268192782998085, -0.05315908417105675, 0.010438869707286358, 0.025176187977194786, -0.005672537721693516, -0.006649340502917767, 0.027603963389992714, -0.04032672196626663, -0.011971456930041313, 0.027143238112330437, -0.004098497796803713, -0.01390425767749548, -0.037501849234104156, 0.01312079094350338, -0.00669276574626565, -0.032102059572935104, -0.05461448058485985, -0.04387115314602852, -0.007074044551700354, 0.013412900269031525, -0.03468116372823715, -0.01667816750705242, -0.0028263472486287355, 0.001167076756246388, -0.009170676581561565, -0.008670074865221977, -0.012307384982705116, 0.08008581399917603, -0.028252029791474342, 0.03479377180337906, 0.037421755492687225, -0.007684431504458189, -0.020598743110895157, -0.03573334589600563, -0.031907934695482254, -0.017571598291397095, -0.022493034601211548, -0.024654416367411613, 0.013081714510917664, 0.00609858613461256, -0.006548636592924595, -0.0012536795111373067, -0.021985242143273354, -0.0674976110458374, -0.01749899983406067, -0.03152863308787346, -0.02474227175116539, -0.0012899964349344373, -0.01761290617287159, 0.032915640622377396, -0.04140729084610939, 0.0025495984591543674, -0.015134448185563087, -0.014757897704839706, -0.012061074376106262, 0.00983335915952921, -0.006969844922423363, 0.004191490355879068, -0.018210435286164284, 0.003404035931453109, 0.005567656364291906, -0.022074077278375626, 0.015025426633656025, 0.010603319853544235, -0.11917268484830856, 0.00749666104093194, 0.031436603516340256, -0.005882233381271362, -0.01345074363052845, 0.8080841302871704, -0.01642964780330658, 0.028404992073774338, 0.02394711971282959, 0.0015834838850423694, -0.014415447600185871, -0.011134016327559948, -0.007385998032987118, -0.023394273594021797, -0.043728701770305634, -0.05797269567847252, 0.008142253383994102, 0.023433221504092216, 0.010617942549288273, 0.017622290179133415, 0.008941946551203728, 0.0375782735645771, 0.032977018505334854, -0.05172917991876602, -0.003870975458994508, 0.013567066751420498, 0.03443869948387146, 0.011834410950541496, 0.06833250820636749, 0.06981050223112106, -0.0018583276541903615, -0.1858605444431305, -0.000489626603666693, -7.160547347920981e-33, 0.03933969512581825, -0.001440086867660284, 0.02058565802872181, 0.009010545909404755, 0.00607083085924387, -0.001950812991708517, -0.0068214633502066135, 0.07204917073249817, -0.027768773958086967, -0.028837135061621666, 0.010924356058239937, -0.024301234632730484, 0.038371648639440536, -0.04744672030210495, -0.0017338930629193783, -0.012051576748490334, -0.00566181680187583, 0.05323990061879158, 0.005482252687215805, 0.042512062937021255, 0.055795952677726746, 0.0470937043428421, 0.031949691474437714, 0.022055791690945625, -0.023190079256892204, 0.014816001057624817, -0.0059466068632900715, 0.014351321384310722, -0.021617023274302483, -0.0429433211684227, -0.021685147657990456, -0.031751636415719986, -0.009511874057352543, -0.013655558228492737, 0.0023723540361970663, -0.0326026976108551, -0.004339609295129776, 0.015612844377756119, -0.02763131447136402, -0.01990295946598053, -0.0122885312885046, 0.03618934005498886, -0.027583610266447067, -0.011679350398480892, -0.021649349480867386, 0.04011949524283409, 0.015989791601896286, 0.019328130409121513, 0.008569978177547455, 0.019986193627119064, -0.03472044691443443, -0.030887873843312263, 0.001212974195368588, 0.032624099403619766, -0.019128335639834404, 0.015804633498191833, 0.00744165014475584, 0.004397794138640165, 0.02373170666396618, 0.006497750990092754, 0.03386169299483299, -0.025177597999572754, -0.002080655423924327, 0.0009248553542420268, 0.0035827027168124914, -0.013297608122229576, 0.03658101707696915, 0.046664584428071976, 0.0638340413570404, 0.014172407798469067, -0.020960064604878426, 0.025758106261491776, 0.0014784373342990875, -0.016208894550800323, 0.037876613438129425, -0.019612424075603485, -0.022590024396777153, -0.0017851198790594935, 0.007398834452033043, 0.005575073417276144, 0.05002744495868683, 0.02037295140326023, -0.03751213848590851, 0.002526636468246579, -0.04110756888985634, -0.02402009628713131, 0.021665344014763832, 0.013423164375126362, -0.03520580008625984, 0.04326322674751282, 0.04741816222667694, 0.04839830845594406, 0.01909955032169819, -0.05011056363582611, -0.014783968217670918, 7.731382098359669e-33, 0.02401880733668804, -0.03756801411509514, -0.03535637632012367, -0.0034548582043498755, 0.05624740570783615, -0.013157782144844532, 0.03729243576526642, 0.01173365581780672, -0.021468795835971832, 0.04937060549855232, 0.005705855321139097, -0.030321594327688217, -0.0007717834669165313, 0.03334321454167366, 0.005065178964287043, -0.013857509009540081, 0.014156118035316467, -0.02416141703724861, 0.011786109767854214, 0.029802262783050537, 0.0003707832074724138, -0.010766590014100075, -0.0007008950342424214, 0.03001951426267624, 0.02319042757153511, 0.05350704863667488, -0.040864232927560806, -0.02175118401646614, -0.04004359990358353, 0.01667768880724907, -0.016794901341199875, -0.016934122890233994, 0.02345418557524681, -0.004105116240680218, -0.05224104970693588, 0.014819725416600704, -0.005850555840879679, 0.032315827906131744, -0.0018081988673657179, -0.05310079827904701, 0.038570862263441086, 0.02578769065439701, -0.01522746216505766, 0.021848751232028008, 0.013536996208131313, -0.01576358638703823, -0.015872430056333542, 0.022665012627840042, -0.010995018295943737, 0.0252689216285944, -0.005738215986639261, 0.013215807266533375, 0.007868118584156036, 0.011540909297764301, -0.020093601197004318, -0.029290813952684402, 0.005547831300646067, 0.013356901705265045, -0.010214733891189098, 0.06374174356460571, -0.011443695053458214, -0.0006008658092468977, -0.07996219396591187, 0.044955529272556305, -0.019611036404967308, -0.043815694749355316, -0.038733579218387604, -0.010984539054334164, -0.02505713887512684, -0.040787164121866226, 0.020294001325964928, 0.0182496327906847, 0.009006763808429241, 0.04160371050238609, 0.02427155151963234, -0.04520367085933685, 0.003045814810320735, -0.018612347543239594, 0.0064741941168904305, 0.040540583431720734, -0.0010991712333634496, -0.011735616251826286, 0.019388670101761818, -0.003174497978761792, 0.010758557356894016, -0.008443602360785007, -0.020476432517170906, 0.020006785169243813, -0.018729805946350098, 0.005798005033284426, -0.01699829287827015, -0.024973807856440544, -0.03036431036889553, 0.026395224034786224, 0.006103546358644962, -1.2669339355397824e-8, -0.0375165194272995, -0.02349931187927723, -0.009670647792518139, -0.005815289448946714, 0.015935884788632393, -0.0033313841558992863, -0.018606796860694885, 0.02079574018716812, -0.02302399091422558, 0.01849670335650444, 0.0319363959133625, -0.005244910251349211, -0.018262391909956932, 0.027077114209532738, 0.051438383758068085, -0.040945786982774734, 0.04140776768326759, 0.01867968775331974, 0.02979840338230133, 0.0027761803939938545, -0.006094015669077635, 0.037351444363594055, -0.022243667393922806, -0.04635625332593918, 0.025652484968304634, -0.0026855587493628263, -0.016929348930716515, -0.05666135996580124, -0.0028000869788229465, -0.02048870362341404, 0.026652919128537178, -0.030847450718283653, -0.008637763559818268, -0.012847612611949444, -0.03350134566426277, 0.005895558744668961, 0.007980728521943092, 0.04834564030170441, -0.01415967009961605, -0.003556676208972931, -0.013674817979335785, 0.012186052277684212, -0.018048424273729324, -0.04209177941083908, -0.015230921097099781, 0.00693704467266798, -0.0012518686708062887, 0.012532948516309261, 0.05709933489561081, 0.004225711803883314, 0.030129563063383102, -0.03389500826597214, 0.06231393292546272, -0.013441678136587143, 0.0008370094583369792, 0.015510075725615025, 0.02722533605992794, -0.0020650518126785755, 0.009171699173748493, 0.0036934141535311937, 0.069148950278759, 0.004324053879827261, 0.02520325407385826, -0.007731134071946144 ]
couchdbfuton-_all_dbs-call-returns-databases-with-leading-c
https://markhneedham.com/blog/2009/05/31/couchdbfuton-_all_dbs-call-returns-databases-with-leading-c
false
2009-05-31 20:59:47
SharpCouch: Use anonymous type to create JSON objects
[ "sharpcouch", "couchdb" ]
[ ".NET", "CouchDB" ]
I've been playing around with http://wiki.apache.org/couchdb/FrontPage[CouchDB] a bit today and in particular making use of http://code.google.com/p/couchbrowse/source/browse/trunk/SharpCouch/SharpCouch.cs[SharpCouch], a library which acts as a wrapper around CouchDB calls. It is included in the http://code.google.com/p/couchbrowse/[CouchBrowse] library which is recommended as a good starting point for interacting with CouchDB from C# code. I decided to work out how the API worked with by writing an integration test to save a document to the database. The API is reasonably easy to understand and I ended up with the following test: [source,csharp] ---- [Test] public void ShouldAllowMeToSaveADocument() { var server = "http://localhost:5984"; var databaseName = "sharpcouch"; var sharpCouchDb = new SharpCouch.DB(); sharpCouchDb.CreateDocument(server, databaseName, "{ key : \"value\"}"); } ---- In theory that should save the JSON object { key = "value" } to the database but it actually throws a 500 internal error in http://code.google.com/p/couchbrowse/source/browse/trunk/SharpCouch/SharpCouch.cs[SharpCouch.cs]: [source,csharp] ---- HttpWebResponse resp = req.GetResponse() as HttpWebResponse; ---- Debugging into that line the Status property is set to 'Protocol Error' and a bit of Googling led me to think that I probably had a https://issues.apache.org/jira/browse/COUCHDB-335[malformed client request]. I tried the same test but this time created the document to save by creating an anonymous type and then converted it to a JSON object using the http://litjson.sourceforge.net/[LitJSON] library: [source,csharp] ---- [Test] public void ShouldAllowMeToSaveADocumentWithAnonymousType() { var server = "http://localhost:5984"; var databaseName = "sharpcouch"; var sharpCouchDb = new SharpCouch.DB(); var savedDocument = new { key = "value"}; sharpCouchDb.CreateDocument(server, databaseName, JsonMapper.ToJson(savedDocument)); } ---- That works much better and does actually save the document to the database which I was able to verify by adding a new method to SharpCouch.cs which creates a document and then returns the 'documentID', allowing me to reload it afterwards. [source,csharp] ---- [Test] public void ShouldAllowMeToSaveAndRetrieveADocument() { var server = "http://localhost:5984"; var databaseName = "sharpcouch"; var sharpCouchDb = new SharpCouch.DB(); var savedDocument = new {key = "value"}; var documentId = sharpCouchDb.CreateDocumentAndReturnId(server, databaseName, JsonMapper.ToJson(savedDocument)); var retrievedDocument = sharpCouchDb.GetDocument(server, databaseName, documentId); Assert.AreEqual(savedDocument.key, JsonMapper.ToObject(retrievedDocument)["key"].ToString()); } ---- [source,csharp] ---- public string CreateDocumentAndReturnId(string server, string db, string content) { var response = DoRequest(server + "/" + db, "POST", content, "application/json"); return JsonMapper.ToObject(response)["id"].ToString(); } ---- I'm not sure how well anonymous types work for more complicated JSON objects but for the simple cases it seems to do the job.
null
null
[ -0.014419175684452057, -0.03449495509266853, -0.010016555897891521, 0.04815229773521423, 0.0644831731915474, -0.02523537166416645, 0.02173827961087227, 0.04299747943878174, 0.0010516358306631446, -0.02100512944161892, -0.029179371893405914, 0.009048734791576862, -0.0719703659415245, 0.007823269814252853, -0.03038710169494152, 0.05650389939546585, 0.08729168772697449, -0.03045954927802086, 0.020930049940943718, -0.029226597398519516, 0.016912980005145073, 0.055584847927093506, -0.03309245407581329, 0.03996087610721588, 0.03409827873110771, 0.04752669855952263, -0.006032157223671675, -0.0020012904424220324, -0.042734213173389435, -0.007832638919353485, 0.04253396764397621, 0.011851616203784943, -0.0003671878366731107, -0.028275910764932632, 0.033795639872550964, -0.004809458274394274, -0.020589832216501236, 0.03168671950697899, -0.0038789573591202497, 0.03504841402173042, -0.06523145735263824, 0.04038282483816147, -0.0037342971190810204, 0.04309861361980438, -0.026247862726449966, 0.021470149978995323, -0.034375693649053574, 0.007666927296668291, -0.02530793286859989, 0.0016259426483884454, -0.06111498549580574, 0.02927248924970627, -0.044399309903383255, 0.004172552842646837, 0.00922941043972969, 0.04453076422214508, 0.008621858432888985, -0.06879924237728119, 0.02640269137918949, -0.03256116434931755, 0.010067151859402657, 0.007568966597318649, 0.006620286498218775, 0.03086702525615692, -0.0028010006062686443, -0.0013567552668973804, -0.0239435862749815, 0.06590971350669861, -0.035985302180051804, -0.0004783705808222294, 0.017439180985093117, -0.00819517020136118, -0.022741394117474556, 0.04374350607395172, 0.007259999867528677, -0.03363775089383125, 0.012047762051224709, 0.04151323065161705, 0.028837144374847412, 0.0815809890627861, 0.0047132824547588825, 0.023835353553295135, 0.05090237781405449, 0.019216416403651237, 0.014236734248697758, -0.04462376981973648, -0.021445617079734802, -0.0054068672470748425, -0.029930246993899345, 0.036314062774181366, 0.03425393998622894, -0.037049874663352966, 0.012677890248596668, 0.026470694690942764, 0.006117120385169983, 0.013652646914124489, 0.03254842385649681, -0.018314987421035767, 0.0032190445344895124, -0.01603040099143982, -0.07448985427618027, 0.017359793186187744, 0.012279612012207508, 0.02546072192490101, -0.05937809869647026, 0.012225711718201637, -0.019516371190547943, -0.03735542669892311, -0.018677931278944016, 0.010259686969220638, -0.03942706063389778, 0.00993881281465292, -0.04215433821082115, -0.009720910340547562, -0.07207458466291428, 0.057261377573013306, 0.019551847130060196, -0.01756996102631092, -0.009294169023633003, 0.03381925821304321, 0.030694084241986275, 0.04578250274062157, -0.0177631638944149, 0.0574372224509716, -0.0012548589147627354, 0.017075205221772194, -0.010845700278878212, 0.03921253979206085, 0.01698821224272251, -0.079429991543293, 0.005915421526879072, 0.04688919335603714, -0.012952500954270363, -0.004252571612596512, 0.012300553731620312, 0.0014012212632223964, -0.0082720210775733, 0.0038422802463173866, 0.03689098730683327, 0.03505237028002739, -0.010254778899252415, -0.05804484337568283, -0.009425288997590542, 0.00018857607210520655, 0.027468590065836906, 0.02058584988117218, -0.027055837213993073, -0.03104906901717186, -0.045932870358228683, 0.05371266230940819, 0.006629701238125563, 0.04146654158830643, 0.06384832412004471, -0.056482382118701935, -0.019441450014710426, 0.07348693907260895, 0.027197450399398804, 0.03575938940048218, 0.014414560981094837, 0.0005282043130137026, 0.046426109969615936, 0.03434457257390022, -0.010060383006930351, 0.03460601717233658, -0.014683905057609081, -0.011430998332798481, 0.0029504336416721344, 0.05929466336965561, -0.0056751323863863945, 0.021021710708737373, -0.04101789370179176, -0.04036154970526695, 0.059583842754364014, -0.06184045597910881, -0.006447333376854658, 0.05652383342385292, 0.07251700013875961, 0.025884432718157768, 0.024871228262782097, 0.02774696610867977, -0.08715520054101944, 0.026796679943799973, 0.013833225704729557, -0.034579675644636154, 0.005982428323477507, -0.0037355388049036264, 0.07250181585550308, 0.021235065534710884, -0.014075787737965584, 0.019136684015393257, -0.08168000727891922, -0.06042332947254181, -0.0636008232831955, 0.001474006217904389, 0.0734093189239502, -0.07049408555030823, -0.0037179267965257168, 0.09988045692443848, 0.03319539874792099, 0.016244906932115555, 0.004320182371884584, -0.03027290105819702, 0.019735204055905342, -0.03264154866337776, -0.04049280285835266, 0.017998863011598587, 0.03233636915683746, 0.00009947343642124906, -0.049754343926906586, -0.006036223378032446, 0.0072363391518592834, 0.017066625878214836, 0.022424375638365746, -0.011441720649600029, 0.026471052318811417, 0.004391257185488939, 0.035519085824489594, -0.0345977246761322, 0.07375800609588623, -0.055447790771722794, 0.07251593470573425, -0.012167024426162243, 0.0031876934226602316, -0.01908167265355587, -0.010398869402706623, 0.11578669399023056, 0.07250705361366272, -0.015035012736916542, -0.048061393201351166, 0.01455054059624672, 0.0037741076666861773, -0.03229420632123947, -0.023614319041371346, -0.054857466369867325, -0.012419413775205612, 0.015339775010943413, -0.026225630193948746, -0.00798303633928299, 0.028308790177106857, -0.036536503583192825, 0.017042797058820724, 0.06302139163017273, -0.0024013060610741377, 0.039734840393066406, 0.0189187154173851, -0.042132772505283356, -0.027055617421865463, -0.01688598468899727, -0.03670226410031319, -0.01788954809308052, 0.029857097193598747, -0.01082542259246111, 0.02766670100390911, -0.04033003747463226, -0.01642034202814102, -0.005690750665962696, -0.054420728236436844, 0.03844412788748741, 0.026482032611966133, 0.06893280893564224, 0.014026449993252754, 0.04546434059739113, -0.02611890435218811, 0.022167246788740158, 0.01783522218465805, -0.003952597733587027, -0.027095140889286995, -0.003590966109186411, 0.03124743513762951, 0.009311026893556118, 0.022158760577440262, -0.005903287325054407, 0.026263786479830742, -0.004687295760959387, -0.002005485352128744, 0.014547484926879406, 0.03725183755159378, 0.005167985800653696, -0.011155107989907265, -0.04095260426402092, -0.02936018630862236, 0.02205517329275608, -0.05328289046883583, -0.0381879024207592, 0.012843764387071133, -0.09952843934297562, 0.02715594694018364, -0.0709875226020813, -0.06097540631890297, -0.012086672708392143, 0.024821799248456955, 0.020357361063361168, 0.016012955456972122, 0.028950532898306847, 0.08658819645643234, 0.024404123425483704, 0.02020297944545746, 0.0010067155817523599, -0.025945797562599182, 0.01357683539390564, -0.015599626116454601, 0.01715347357094288, 0.03496482968330383, -0.03719703108072281, -0.01752123236656189, -0.050822917371988297, 0.027559438720345497, -0.0204690620303154, -0.27806922793388367, 0.042622826993465424, -0.025368081405758858, -0.04527793824672699, 0.027201326563954353, -0.008568006567656994, 0.028643568977713585, -0.06090172380208969, -0.04053701087832451, 0.04583151638507843, -0.010377537459135056, -0.03620634600520134, -0.02374529279768467, 0.028801204636693, -0.007907350547611713, 0.02123028039932251, -0.03992707282304764, -0.011870265007019043, -0.01806202158331871, 0.022457048296928406, -0.007653012406080961, -0.030121563002467155, 0.009747767820954323, 0.025480929762125015, 0.03200598806142807, 0.03926241025328636, -0.06465549767017365, 0.04488598182797432, -0.006449660751968622, -0.032977595925331116, 0.050308000296354294, -0.018328482285141945, 0.021150315180420876, -0.015333561226725578, -0.017817864194512367, -0.010460244491696358, 0.03353244066238403, -0.0006174087175168097, -0.012652968056499958, -0.0024214209988713264, -0.043831322342157364, -0.03565947711467743, -0.02825378254055977, 0.008716218173503876, 0.10210218280553818, -0.015985706821084023, -0.08241434395313263, -0.0029529498424381018, -0.04358990490436554, 0.0543765090405941, -0.01871649920940399, -0.05383514240384102, -0.042084429413080215, 0.06703832745552063, -0.005040775053203106, -0.01593761518597603, -0.004859295208007097, -0.0042207674123346806, -0.03590548038482666, -0.03509574756026268, -0.021584386005997658, -0.04550619050860405, -0.01846417784690857, -0.03971518203616142, 0.0027882924769073725, -0.07012753188610077, -0.0663461983203888, -0.034319162368774414, 0.06489633768796921, 0.013490184210240841, -0.004724537953734398, 0.01145093236118555, -0.0010211345506832004, -0.10753121972084045, 0.0034673435147851706, -0.04211317002773285, -0.019998418167233467, -0.015504813753068447, -0.013634325005114079, 0.059126485139131546, -0.015605364926159382, -0.0310169979929924, 0.022050371393561363, 0.0076972367241978645, -0.004375871270895004, -0.02345595322549343, 0.03107844479382038, -0.020282160490751266, -0.03024565801024437, -0.0036716749891638756, 0.06437097489833832, -0.05586184933781624, -0.032283373177051544, -0.022809922695159912, -0.014653089456260204, 0.004938985221087933, 0.010623440146446228, 0.01810457929968834, 0.02053573727607727, 0.03268666937947273, 0.055868275463581085, -0.03775816038250923, 0.001960611902177334, -0.06488083302974701, -0.002964587416499853, -0.03541562333703041, -0.05459854006767273, 0.04250400885939598, 0.04883264750242233, 0.015392939560115337, -0.023839838802814484, -0.0001519127399660647, 0.024596426635980606, -0.0575001984834671, 0.01381729170680046, -0.02781047485768795, 0.009601499885320663, 0.005431851372122765, 0.008486704900860786, -0.058033835142850876, -0.05416150391101837, 0.01200860645622015, 0.058139607310295105, -0.012525754980742931, -0.06117088720202446, -0.0072346339002251625, 0.014028117060661316, -0.028950439766049385, 0.012312026694417, 0.016412338241934776, -0.03435584157705307, 0.022966546937823296, -0.006777006201446056, -0.01951046660542488, 0.01537344790995121, -0.0461457297205925, 0.0003967080556321889, -0.01889456994831562, 0.008607471361756325, -0.002333244774490595, -0.026018459349870682, -0.017132842913269997, 0.0071884868666529655, 0.026424380019307137, 0.046803198754787445, 0.01468129362910986, 0.002963434439152479, 0.03773295506834984, 0.010321375913918018, -0.02135855332016945, 0.0016505997627973557, -0.049660902470350266, -0.005010685883462429, -0.0196643378585577, -0.06369493901729584, -0.03550080582499504, 0.046739812940359116, 0.008892624638974667, -0.008509582839906216, -0.041686028242111206, 0.01242983341217041, -0.06965421885251999, -0.022545453161001205, 0.00899528618901968, 0.0008305960800498724, 0.035737499594688416, -0.005962195806205273, 0.04861507937312126, -0.022281205281615257, -0.028948379680514336, 0.022715436294674873, 0.013282732106745243, -0.006910788360983133, -0.010491774417459965, -0.004714714363217354, 0.012495304457843304, -0.027892455458641052, 0.05137935280799866, 0.008676071651279926, 0.021796774119138718, 0.031073682010173798, -0.022767163813114166, 0.028596417978405952, -0.019095931202173233, 0.05211085453629494, -0.0000842966401251033, -0.02550826407968998, -0.010110327042639256, 0.0064830482006073, -0.013112682849168777, -0.027143893763422966, -0.0005883203120902181, -0.018519682809710503, 0.026644045487046242, -0.013188288547098637, -0.08877837657928467, 0.0506456196308136, 0.030797554180026054, 0.0002806278062053025, 0.004779974929988384, -0.0212498027831316, 0.030090123414993286, -0.010122687555849552, 0.0389338843524456, 0.04051218181848526, -0.04552330821752548, -0.0015628947876393795, -0.007386611774563789, 0.003602501703426242, -0.0010368560906499624, 0.005935425404459238, -0.050274886190891266, -0.021248476579785347, -0.046793676912784576, -0.00685291551053524, -0.011377155780792236, -0.025526393204927444, -0.033721525222063065, 0.015424218960106373, -0.012200971134006977, -0.0015356119256466627, 0.007938501425087452, -0.003734002588316798, -0.008720677345991135, -0.00972775835543871, 0.022552570328116417, -0.04688451811671257, -0.020677534863352776, 0.013765066862106323, -0.03317493200302124, 0.03534382954239845, -0.007916474714875221, 0.01724015362560749, 0.013869669288396835, -0.025691665709018707, 0.001238033757545054, -0.05667523294687271, 0.02630573697388172, -0.001947716809809208, 0.0822506844997406, -0.003376786829903722, -0.009886614046990871, 0.020877908915281296, 0.001826089108362794, -0.024609792977571487, 0.004814496263861656, -0.012000261805951595, -0.004070637747645378, 0.024710536003112793, 0.05160735920071602, 0.011276955716311932, 0.02349594049155712, 0.01172327809035778, -0.028821412473917007, 0.06197487562894821, -0.048770178109407425, 0.014256269671022892, -0.022704310715198517, -0.06753050535917282, 0.03250036761164665, 0.019249381497502327, 0.022901203483343124, -0.06815456598997116, 0.07538420706987381, 0.029809463769197464, -0.008723082952201366, 0.04261742904782295, -0.00848144106566906, 0.03545341640710831, -0.029805395752191544, -0.012830138206481934, -0.08208003640174866, 0.02950076386332512, 0.038995541632175446, 0.005036715883761644, -0.018113626167178154, 0.013096057809889317, -0.014231445267796516, 0.026603199541568756, -0.0760493203997612, -0.03460395336151123, 0.010502105578780174, -0.021016346290707588, 0.0006166270468384027, 0.010200918652117252, -0.054684676229953766, 0.040791526436805725, 0.04561410844326019, -0.035357505083084106, -0.05210604891180992, -0.03516049310564995, 0.06466176360845566, 0.011125818826258183, 0.01878243125975132, -0.04754183068871498, -0.011794053018093109, 0.07076653838157654, 0.020833220332860947, 0.06613389402627945, 0.07339534163475037, -0.01819208823144436, 0.021095432341098785, 0.027203379198908806, -0.02897576428949833, 0.022998319938778877, 0.0035195359960198402, -0.01360414270311594, -0.04237014427781105, 0.0382256880402565, 0.01047587487846613, -0.019483843818306923, -0.029199698939919472, 0.04392705112695694, 0.014090773649513721, -0.03718707710504532, -0.02938987873494625, 0.028558500111103058, -0.03487660735845566, -0.038634590804576874, -0.039795830845832825, 0.021022561937570572, 0.0018922751769423485, 0.07192898541688919, 0.0011288158129900694, -0.001052442123182118, 0.06793408840894699, -0.005418913904577494, 0.010370775125920773, -0.026858340948820114, 0.07044878602027893, 0.09431483596563339, 0.0020991326309740543, 0.013748187571763992, 0.040157563984394073, 0.002033369615674019, -0.040993306785821915, -0.02612661011517048, -0.052998315542936325, -0.029024695977568626, -0.006912569049745798, -0.03098316863179207, 0.09218703210353851, 0.0023246831260621548, 0.0540192686021328, -0.03562004491686821, 0.007574271410703659, -0.013786345720291138, 0.0296074990183115, 0.022075967863202095, 0.016247795894742012, 0.003453601850196719, -0.004033260513097048, -0.022201137617230415, -0.03074626438319683, 0.030254250392317772, -0.010532338172197342, -0.01637965999543667, 0.0033288574777543545, -0.02147434465587139, 0.011166033335030079, 0.01768149994313717, 0.02394317090511322, 0.07385270297527313, -0.01151505671441555, -0.00044312316458672285, 0.0004662448482122272, -0.026344401761889458, 0.014208322390913963, 0.012588798999786377, -0.00639834301546216, -0.027519624680280685, 0.01968170329928398, -0.016026509925723076, 0.016680357977747917, -0.019509484991431236, -0.044865917414426804, 0.02830362692475319, -0.03135149925947189, 0.02294583059847355, 0.010694040916860104, 0.009614795446395874, -0.05432646721601486, -0.04075857996940613, -0.04230237007141113, -0.015860706567764282, -0.06820829212665558, -0.03401423990726471, 0.03079056367278099, -0.020827464759349823, -0.031640276312828064, -0.043501876294612885, -0.028718752786517143, 0.025034509599208832, 0.03595152124762535, -0.014214259572327137, -0.03232073411345482, 0.03318041190505028, -0.001026998506858945, 0.01507016271352768, 0.05096328631043434, 0.035342685878276825, -0.019557487219572067, 0.0020517308730632067, -0.06041480973362923, -0.012182238511741161, 0.06374041736125946, -0.03183765709400177, 0.040024325251579285, -0.05525955557823181, 0.03455556929111481, -0.019746435806155205, 0.026820357888936996, -0.07332132011651993, -0.029514238238334656, 0.03144197165966034, -0.019964557141065598, 0.049325015395879745, 0.004830766934901476, -0.014671421609818935, -0.014157998375594616, 0.001630580984055996, -0.0036024744622409344, 0.0014005191624164581, 0.043889544904232025, -0.0070580048486590385, 0.07150807976722717, 0.060147807002067566, -0.031713537871837616, -0.014746371656656265, 0.005003191996365786, 0.02571997232735157, 0.026862090453505516, -0.045078475028276443, -0.04536469280719757, -0.03675580024719238, -0.048591285943984985, -0.033543169498443604, 0.027378421276807785, -0.01324340421706438, -0.0060836696065962315, 0.011592678725719452, 0.02619585208594799, -0.06429766118526459, 0.022827792912721634, -0.0291433185338974, 0.04189106076955795, -0.02038680389523506, -0.03893284127116203, -0.005769831594079733, 0.022954823449254036, 0.029993852600455284, -0.019596170634031296, 0.02298961952328682, -0.03196093067526817, -0.023261921480298042, 0.005076324101537466, -0.012036745436489582, 0.04568992927670479, -0.023403681814670563, 0.01937413215637207 ]
[ -0.09521878510713577, -0.04228207841515541, -0.062393248081207275, -0.018334828317165375, 0.06463765352964401, -0.06440495699644089, -0.039082638919353485, 0.023456139490008354, -0.016659654676914215, 0.021731901913881302, 0.020279891788959503, -0.03403728827834129, -0.01317506656050682, 0.012098041363060474, 0.05574841797351837, 0.047720227390527725, 0.008506262674927711, -0.05595625191926956, -0.03723970800638199, 0.06962250173091888, 0.012771436013281345, -0.0025561824440956116, -0.03162115439772606, -0.006630889140069485, -0.04585062339901924, 0.03517970070242882, 0.05284683033823967, -0.06257517635822296, -0.02079949714243412, -0.17567996680736542, -0.0038968774024397135, -0.024776972830295563, 0.039495475590229034, -0.022023459896445274, 0.020820144563913345, -0.0011023569386452436, 0.06160091608762741, -0.004152704495936632, -0.028622295707464218, 0.06303378194570541, -0.01185713429003954, -0.0017596528632566333, -0.04884834215044975, -0.003468709299340844, 0.03196069598197937, -0.011623037979006767, 0.007523905485868454, 0.0037186320405453444, 0.012324401177465916, -0.0029449323192238808, -0.10007621347904205, -0.005206467118114233, -0.03330521658062935, -0.04447080194950104, -0.00018941548478323966, 0.01690402813255787, 0.050671644508838654, 0.07350364327430725, 0.00928384531289339, 0.042221974581480026, 0.03556949272751808, -0.023376258090138435, -0.12048052996397018, 0.11322249472141266, 0.0034553741570562124, 0.09005584567785263, -0.04307118058204651, -0.0369274839758873, 0.0027336664497852325, 0.05156503990292549, -0.0003778694081120193, -0.041771791875362396, -0.030513156205415726, 0.0813337117433548, 0.046346962451934814, -0.03757135197520256, 0.006306366994976997, 0.03980603441596031, 0.0507684089243412, -0.0019128081621602178, -0.0613732673227787, -0.042236387729644775, -0.005738290958106518, 0.006126189138740301, -0.007408738601952791, 0.00042230254621244967, -0.011484107002615929, 0.031247306615114212, 0.013792835175991058, 0.051344968378543854, -0.0019046684028580785, -0.030060065910220146, 0.0534156896173954, -0.004160222597420216, -0.14577627182006836, -0.02164779044687748, 0.005084075499325991, 0.022940287366509438, -0.003178845625370741, 0.38264840841293335, -0.015721522271633148, -0.052308015525341034, 0.018828513100743294, -0.014161371625959873, -0.0031422541942447424, -0.04572850838303566, 0.01706203818321228, -0.06297926604747772, 0.0422859787940979, -0.02599853277206421, -0.033257998526096344, 0.0040215919725596905, 0.012090779840946198, -0.04072011634707451, -0.005294953007251024, 0.0495116300880909, -0.006946573965251446, 0.041478607803583145, -0.01753275655210018, -0.01556539535522461, 0.006195132154971361, 0.020850401371717453, 0.04158332571387291, 0.012776337563991547, 0.022394675761461258, -0.015744877979159355, 0.026367681100964546, 0.04093606397509575, 0.04857521131634712, 0.03449830785393715, 0.053641412407159805, -0.0245800968259573, -0.07118212431669235, -0.024448327720165253, -0.0007688394980505109, 0.035026129335165024, 0.010602283291518688, -0.010516421869397163, 0.013407794758677483, 0.0072285933420062065, 0.010814100503921509, -0.018249953165650368, 0.002631751587614417, 0.04050949960947037, -0.05900205671787262, 0.07337136566638947, 0.0247634369879961, 0.01285199448466301, -0.04052300751209259, -0.0531696081161499, 0.0406411848962307, 0.055978868156671524, -0.01191238034516573, -0.04338069260120392, -0.005363740026950836, 0.01659916527569294, 0.06770090013742447, -0.021113233640789986, -0.04096947982907295, -0.03227885812520981, -0.009958980605006218, -0.03517661243677139, 0.008864138275384903, 0.06337323039770126, 0.00502396235242486, -0.12223879992961884, -0.03523428365588188, 0.029635844752192497, 0.009830686263740063, -0.06207481771707535, -0.002463423879817128, 0.007922760210931301, -0.056767500936985016, 0.009890550747513771, 0.03618479520082474, -0.006062119267880917, -0.017835769802331924, 0.018311116844415665, 0.007001971360296011, 0.009884691797196865, -0.025390977039933205, -0.00183348567225039, -0.07938168942928314, 0.015280444175004959, -0.02235790155827999, -0.08255381882190704, -0.056513819843530655, 0.003873650450259447, 0.00660703843459487, -0.005993073806166649, -0.03223329782485962, -0.03086707554757595, -0.08818619698286057, 0.08061041682958603, 0.016624482348561287, 0.004488788079470396, 0.00006972697156015784, -0.009475817903876305, -0.006899156142026186, -0.018741441890597343, 0.05914780870079994, 0.033166274428367615, -0.003935100045055151, 0.041640352457761765, -0.03124179132282734, 0.026213787496089935, 0.04620520398020744, -0.01623937301337719, 0.04280008375644684, 0.020208070054650307, -0.022246452048420906, -0.0009530333336442709, -0.03791242092847824, 0.006262482143938541, -0.02164267934858799, -0.00549175962805748, -0.014560922980308533, 0.03399084508419037, 0.011303008534014225, 0.0739055797457695, -0.047745198011398315, -0.04109755903482437, 0.006642218213528395, -0.34834223985671997, -0.007583748549222946, -0.05947231128811836, -0.018647251650691032, -0.009653303772211075, -0.03647385537624359, 0.009953242726624012, -0.009038633666932583, -0.025042667984962463, 0.027982452884316444, 0.1055586040019989, -0.03831367939710617, 0.008297042921185493, -0.10246801376342773, -0.007871519774198532, 0.022377295419573784, -0.00809087511152029, -0.05523952841758728, -0.07070081681013107, 0.008578533306717873, -0.003733295714482665, -0.015611360780894756, -0.05059439688920975, -0.02832208387553692, -0.006318692117929459, -0.05181584507226944, 0.09692363440990448, -0.013696415349841118, 0.06722531467676163, -0.038022786378860474, 0.03358078747987747, 0.0012119360035285354, 0.016557078808546066, -0.11054178327322006, -0.008026854135096073, -0.03473075106739998, 0.005141271278262138, 0.014552891254425049, 0.014980260282754898, -0.015244939364492893, -0.05618013069033623, 0.03161982074379921, -0.01656697690486908, -0.051938630640506744, -0.012848119251430035, -0.00048014678759500384, -0.014686483889818192, -0.026616275310516357, 0.0017772618448361754, 0.0981411412358284, -0.0009106900542974472, 0.03661724179983139, 0.022968072444200516, 0.06800539791584015, -0.003192970296368003, -0.017959915101528168, -0.06786338984966278, -0.02075708657503128, -0.011777669191360474, 0.0225451048463583, 0.02269057370722294, 0.039966125041246414, 0.03664902225136757, -0.04754963144659996, 0.0215553417801857, 0.00034422101452946663, -0.008172839879989624, 0.009138423018157482, 0.06444664299488068, -0.053484443575143814, -0.052954208105802536, 0.10385213047266006, 0.0015887115150690079, 0.035152144730091095, 0.04054292291402817, 0.04105494171380997, -0.00030520043219439685, -0.007378958165645599, 0.0396500788629055, -0.02828214317560196, 0.05577143654227257, 0.026209358125925064, 0.057836487889289856, -0.043349068611860275, 0.01947781816124916, 0.052492301911115646, 0.0020983924623578787, 0.017611034214496613, 0.03750372305512428, -0.023499423637986183, -0.0002859738015104085, -0.044541746377944946, -0.021973861381411552, -0.08172807842493057, 0.05777912959456444, 0.005198036320507526, -0.26856568455696106, 0.030901096761226654, 0.04203873500227928, 0.042375996708869934, 0.008924861438572407, 0.028908047825098038, 0.03238259628415108, -0.04961593076586723, 0.016933420673012733, 0.02486720122396946, 0.021239887923002243, 0.03780141845345497, -0.01721610687673092, -0.008366625756025314, 0.024739498272538185, -0.01195975486189127, 0.011567967012524605, 0.04004106670618057, 0.027818381786346436, -0.014447411522269249, -0.011644875630736351, -0.023422610014677048, 0.16691695153713226, 0.030739586800336838, 0.018837058916687965, 0.03216014802455902, 0.005114651285111904, 0.031200582161545753, 0.104597307741642, 0.04114342853426933, 0.000520131376106292, 0.01031798217445612, 0.05084943771362305, 0.01286221668124199, 0.03309524059295654, -0.09664057195186615, -0.003020343603566289, 0.027856430038809776, 0.02815326862037182, -0.03855716809630394, -0.014479952864348888, 0.03472376614809036, -0.04823979362845421, 0.00786066334694624, 0.08754051476716995, 0.025742627680301666, -0.024905649945139885, -0.003994462545961142, -0.020714260637760162, -0.015038632787764072, -0.02171291597187519, -0.05291994661092758, 0.013681246899068356, -0.04242321103811264, -0.004966709762811661, 0.04380589351058006, 0.043020401149988174, 0.023019898682832718, -0.021935217082500458, 0.016548076644539833, 0.010074503719806671, -0.010992641560733318, 0.07312771677970886, 0.04718596860766411, 0.016579514369368553 ]
[ -0.01201303768903017, 0.017217744141817093, -0.00509874289855361, 0.012253093533217907, -0.014546725898981094, 0.03387557715177536, -0.008529598824679852, 0.02078457735478878, -0.03246631473302841, 0.01928900182247162, -0.022746792063117027, 0.0034842861350625753, 0.06642342358827591, -0.026211338117718697, -0.010071960277855396, 0.007378919515758753, -0.0037794404197484255, -0.012721429578959942, 0.010165456682443619, 0.06814118474721909, -0.035334162414073944, 0.0172103438526392, -0.016718586906790733, -0.013748126104474068, 0.0019513425650075078, -0.042592182755470276, 0.0006009663920849562, -0.03323847055435181, 0.02153320051729679, -0.09877954423427582, 0.014259152114391327, -0.039060451090335846, -0.017806541174650192, 0.025374824181199074, -0.011757932603359222, 0.015288264490664005, 0.030084064230322838, -0.02792917937040329, -0.011608443222939968, 0.02334318496286869, 0.0012837834656238556, -0.024683190509676933, -0.017135629430413246, 0.032415349036455154, 0.0005270099500194192, -0.037836503237485886, -0.04944000020623207, -0.026673123240470886, -0.02370803989470005, 0.013467644341289997, -0.055700674653053284, -0.018473723903298378, -0.0045585352927446365, 0.014283083379268646, -0.0079116802662611, -0.02034441940486431, 0.005476020276546478, 0.09675417095422745, 0.015187202952802181, 0.0416739359498024, 0.019455580040812492, -0.025413235649466515, -0.025155572220683098, -0.03858007490634918, -0.022389570251107216, 0.020453667268157005, -0.03382726013660431, -0.03588568791747093, 0.006087230984121561, -0.004102194216102362, -0.013576730154454708, 0.028683703392744064, -0.031134450808167458, -0.07592722028493881, -0.04351675137877464, -0.048209208995103836, -0.009920373558998108, -0.01277314592152834, 0.004567550029605627, 0.03312280401587486, -0.03745153173804283, -0.005959669593721628, -0.021311575546860695, 0.015680834650993347, -0.0037218467332422733, 0.037780992686748505, 0.005777860525995493, 0.015592850744724274, -0.03502420336008072, 0.02536543272435665, -0.004891752265393734, -0.0014654250117018819, 0.02169334888458252, 0.0017893132753670216, -0.12074366211891174, 0.02933201752603054, 0.055727843195199966, -0.0252058282494545, -0.015062094666063786, 0.8119555115699768, -0.02202746272087097, 0.023116305470466614, 0.023675834760069847, -0.02755788341164589, -0.016654852777719498, -0.03179182484745979, -0.01648796536028385, -0.009292942471802235, -0.024513334035873413, -0.025518935173749924, 0.018981192260980606, 0.023090602830052376, 0.006173989269882441, 0.02288670651614666, -0.0010538444621488452, 0.05574606731534004, 0.035273998975753784, -0.0460825152695179, 0.017150206491351128, -0.016312576830387115, 0.020898310467600822, 0.026659343391656876, 0.047746188938617706, 0.04239051416516304, 0.0008222396718338132, -0.18282800912857056, 0.03607763722538948, -7.515634069261654e-33, 0.03601224720478058, -0.04070611670613289, 0.014294291846454144, 0.024466102942824364, 0.010269882157444954, -0.008251670747995377, -0.0016041635535657406, 0.08887062966823578, -0.02662069723010063, -0.06765744835138321, 0.021962419152259827, -0.025923244655132294, 0.03319036588072777, -0.03581730276346207, -0.01595965586602688, -0.005606994032859802, -0.014048288576304913, 0.039590902626514435, 0.002478622365742922, 0.05407634750008583, 0.026308568194508553, 0.05382552742958069, 0.05670139938592911, 0.029472190886735916, -0.026702897623181343, 0.013265433721244335, -0.004532338585704565, 0.004894510842859745, -0.03326910361647606, -0.04589397832751274, -0.03119456022977829, -0.011233629658818245, -0.02403249219059944, -0.05041924864053726, 0.0074484762735664845, -0.043596163392066956, 0.0015955157577991486, -0.002000449225306511, -0.02924853004515171, -0.01633651740849018, -0.02741668000817299, 0.01776374690234661, -0.009111479856073856, -0.015285616740584373, -0.001901735900901258, 0.02024960145354271, 0.009649183601140976, -0.008135365322232246, 0.0059366668574512005, 0.02935521863400936, -0.014970188029110432, 0.0022208711598068476, 0.0004135396156925708, 0.015452180989086628, -0.030496366322040558, 0.02033822424709797, 0.015178469941020012, -0.017361901700496674, 0.021822085604071617, 0.0067736366763710976, 0.058033574372529984, -0.024038389325141907, -0.0005383620737120509, -0.007011955138295889, -0.010478200390934944, -0.05188766121864319, 0.01377884205430746, 0.041079744696617126, 0.054253656417131424, -0.009637306444346905, -0.018017703667283058, 0.03157589212059975, -0.012839335948228836, -0.025047410279512405, 0.029081979766488075, -0.00047290604561567307, -0.006918476428836584, 0.024350687861442566, 0.020509442314505577, -0.02614700235426426, 0.04358172044157982, 0.014461848884820938, -0.0044305636547505856, -0.0038806821685284376, -0.04260646924376488, -0.01456129178404808, 0.013387291692197323, -0.0020539485849440098, -0.04457776993513107, 0.013280922546982765, 0.03885294869542122, 0.06241609901189804, -0.010340177454054356, -0.05498531460762024, -0.011470203287899494, 7.12384694492037e-33, 0.01410006359219551, -0.037475503981113434, -0.024560367688536644, 0.003262321697548032, 0.037689901888370514, 0.007917200215160847, 0.03843213990330696, -0.007111311424523592, -0.01314152218401432, 0.040808744728565216, 0.01805226132273674, -0.002493630861863494, -0.01492268219590187, 0.03380436450242996, 0.030348313972353935, -0.035465557128190994, -0.0003730450989678502, -0.04600488021969795, 0.0032462647650390863, -0.007368128746747971, 0.029376305639743805, -0.015209424309432507, 0.025029990822076797, 0.017814017832279205, 0.025363899767398834, 0.026243919506669044, -0.06391801685094833, 0.01157220359891653, -0.028340037912130356, 0.035962849855422974, -0.0102516058832407, 0.0066907973960042, 0.02613871358335018, -0.006492936983704567, -0.023295240476727486, 0.02322837896645069, 0.0017498941160738468, 0.021513352170586586, 0.0054735466837882996, -0.026936985552310944, 0.03733538091182709, -0.011299814097583294, -0.015048432163894176, 0.01240897923707962, 0.01579633168876171, -0.014673846773803234, -0.03995181992650032, 0.013591917231678963, -0.027512148022651672, 0.03525439649820328, 0.022522244602441788, 0.03177354112267494, 0.006599192973226309, 0.014222627505660057, -0.0026291583199054003, -0.004505554214119911, -0.015132429078221321, 0.0005900716059841216, 0.0004937800113111734, 0.0369887575507164, -0.009987834841012955, 0.008829453028738499, -0.06708782911300659, 0.03548228368163109, -0.014297831803560257, -0.0348043367266655, -0.04563599452376366, -0.01873438060283661, -0.040156040340662, -0.02616085670888424, 0.010499781928956509, 0.016735494136810303, 0.007786165922880173, 0.019251596182584763, 0.011859100311994553, -0.046948280185461044, 0.010272453539073467, -0.021660657599568367, 0.00207457784563303, 0.02190070040524006, 0.004030533134937286, 0.02317678928375244, 0.06088154390454292, -0.019841309636831284, -0.002098731230944395, -0.004608155693858862, -0.012885816395282745, -0.012018625624477863, -0.030934883281588554, 0.006631323602050543, -0.05641894415020943, 0.016208576038479805, -0.02759365737438202, -0.0027464337181299925, 0.02140219323337078, -1.2818357042476691e-8, -0.06505214422941208, 0.011040900833904743, -0.03034926950931549, -0.009510086849331856, -0.0008702497580088675, 0.00024117506109178066, -0.03490735962986946, 0.007820277474820614, -0.00374773982912302, 0.012542419135570526, 0.029733825474977493, -0.0453178733587265, -0.018377233296632767, 0.0386970080435276, 0.01991368643939495, -0.045868296176195145, 0.01048670057207346, -0.033899907022714615, 0.020997589454054832, 0.012285067699849606, -0.008280168287456036, 0.01661299541592598, -0.021067876368761063, -0.03627149388194084, 0.016549771651625633, -0.011749462224543095, 0.004244107287377119, -0.029232531785964966, -0.0007705324678681791, 0.010090604424476624, -0.008251307532191277, -0.035073693841695786, -0.022447675466537476, -0.019250299781560898, -0.02967923693358898, 0.03254956379532814, 0.02050335891544819, 0.017101498320698738, 0.004951375536620617, -0.011743290349841118, -0.0009454995160922408, 0.004399897065013647, -0.023969195783138275, -0.03770151361823082, 0.0078101325780153275, 0.0036729546263813972, 0.014414837583899498, 0.008297182619571686, 0.055671852082014084, 0.028326036408543587, 0.021762430667877197, 0.005381929222494364, 0.04266547039151192, -0.0020886489655822515, 0.010290210135281086, 0.02077586017549038, 0.01672658696770668, -0.008494225330650806, -0.00040834996616467834, 0.015514632686972618, 0.06439995020627975, 0.017082825303077698, 0.015714913606643677, 0.011099233292043209 ]
sharpcouch-use-anonymous-type-to-create-json-objects
https://markhneedham.com/blog/2009/05/31/sharpcouch-use-anonymous-type-to-create-json-objects
false
2009-05-30 11:51:53
xUnit.NET: Running tests written in Visual Studio 2010
[ "xunit" ]
[ ".NET" ]
I've been playing around with F# in Visual Studio 2010 after the http://blogs.msdn.com/dsyme/archive/2009/05/20/visual-studio-2010-beta1-with-f-is-now-available-plus-matching-f-ctp-update-for-vs2008.aspx[Beta 1 release last Wednesday] and in particular I've been writing some xUnit.NET tests around the http://www.markhneedham.com/blog/2009/04/13/f-a-day-of-writing-a-little-twitter-application/[twitter] http://www.markhneedham.com/blog/2009/04/18/f-refactoring-that-little-twitter-application-into-objects/[application] I've been working on. A problem I ran into when attempting to run my tests against 'xunit.console.exe' is that http://twitter.com/bradwilson/statuses/1955212964[xUnit.NET is linked to run against version 2.0 of the CLR] and right now you can't actually change the 'targetframework' for a project compiled in Visual Studio 2010. [source,text] ---- > xunit.console.exe ..\..\TwitterTests\bin\Debug\TwitterTests.dll System.BadImageFormatException: Could not load file or assembly 'C:\Playbox\FSharpPlayground\Twitter\TwitterTests\bin\Debug\TwitterTests.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. File name: 'C:\Playbox\FSharpPlayground\Twitter\TwitterTests\bin\Debug\TwitterTests.dll' at System.Reflection.AssemblyName.nGetFileInformation(String s) at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile) at Xunit.Sdk.Executor..ctor(String assemblyFilename) at Xunit.ExecutorWrapper.RethrowWithNoStackTraceLoss(Exception ex) at Xunit.ExecutorWrapper.CreateObject(String typeName, Object[] args) at Xunit.ExecutorWrapper..ctor(String assemblyFilename, String configFilename, Boolean shadowCopy) at Xunit.ConsoleClient.Program.Main(String[] args) ---- I wasn't really sure how to fix this but luckily http://twitter.com/davcamer/statuses/1955037499[Dave] pointed out that the way to do this is to add a http://msdn.microsoft.com/en-us/library/bbx34a2h(VS.100).aspx['requiredRunTime' tag in the 'startup' section of the configuration file] (xunit.console.exe.config): [source,text] ---- <configuration> ... <startup> <requiredRuntime version="v4.0.20506" safemode="true"/> </startup> ... </configuration> ---- And all is good: [source,text] ---- > xunit.console.exe ..\..\TwitterTests\bin\Debug\TwitterTests.dll xUnit.net console runner (xunit.dll version 1.4.9.1416) Test assembly: C:\Playbox\FSharpPlayground\Twitter\TwitterTests\bin\Debug\TwitterTests.dll ........ Total tests: 8, Failures: 0, Skipped: 0, Time: 0.231 seconds ----
null
null
[ 0.03698064014315605, -0.017749283462762833, -0.013530935160815716, 0.008631466887891293, 0.08544808626174927, 0.03364842012524605, 0.02535974606871605, 0.06588591635227203, 0.0052205342799425125, -0.026089591905474663, -0.008493589237332344, 0.008029674179852009, -0.09460271149873734, 0.008433481678366661, -0.007928610779345036, 0.07520131766796112, 0.07557564228773117, -0.0205212589353323, 0.04881254583597183, 0.024435540661215782, 0.004138320218771696, 0.06349193304777145, -0.015102691948413849, 0.05457693710923195, 0.0030945786274969578, 0.014020019210875034, 0.034250617027282715, -0.02083861641585827, -0.05765312910079956, 0.003120368579402566, 0.014526926912367344, 0.009860855527222157, 0.03778798505663872, -0.04578550159931183, 0.009407170116901398, 0.006547494791448116, 0.0016395135316997766, 0.028334883973002434, 0.014251722022891045, 0.01314866915345192, -0.07946884632110596, 0.009341737255454063, 0.0005309442058205605, -0.010353685356676579, -0.024238329380750656, 0.05136286839842796, -0.014590637758374214, -0.004314193967729807, -0.028779013082385063, -0.0334806963801384, -0.0697229653596878, 0.02396572381258011, -0.022854505106806755, -0.010520818643271923, 0.01001651305705309, 0.037994712591171265, 0.012321081943809986, -0.06656695902347565, 0.028817806392908096, -0.05407536402344704, 0.01128214132040739, -0.014515841379761696, 0.02032107301056385, 0.056932322680950165, 0.04487011954188347, -0.01884153112769127, -0.0078045958653092384, 0.04537588730454445, -0.06714851409196854, -0.019291892647743225, -0.010796692222356796, 0.018588559702038765, -0.02985396236181259, -0.046290796250104904, 0.048139702528715134, -0.03258528187870979, -0.005598907358944416, 0.05472737178206444, 0.05091892182826996, 0.035608869045972824, -0.014890801161527634, 0.010088673792779446, 0.06634004414081573, 0.017307642847299576, -0.009157131426036358, -0.0034205091651529074, -0.02284127287566662, 0.04792819917201996, -0.0615730844438076, 0.06991223245859146, 0.01939198561012745, -0.0354146771132946, 0.02173483930528164, 0.027206575497984886, 0.003108027158305049, 0.037610698491334915, 0.00943129975348711, 0.027749355882406235, 0.012486242689192295, 0.008535007946193218, -0.028509100899100304, -0.009858938865363598, 0.016467196866869926, 0.028957651928067207, -0.08195503056049347, -0.023801881819963455, -0.015306336805224419, -0.015167229808866978, 0.031810492277145386, 0.013341004960238934, -0.03373134136199951, 0.028364816680550575, -0.015716450288891792, -0.004589322488754988, -0.0811213031411171, 0.04736680909991264, -0.001584659214131534, -0.007287772838026285, -0.009508226066827774, 0.03286297991871834, 0.05628936365246773, 0.014912799000740051, -0.01939312554895878, 0.0691324770450592, 0.0013571373419836164, 0.07221659272909164, -0.04201795905828476, 0.06276938319206238, -0.030598368495702744, -0.06586328148841858, -0.017810557037591934, 0.039366964250802994, -0.021241074427962303, 0.012387818656861782, -0.011951836757361889, -0.023018119856715202, -0.014899369329214096, -0.026904288679361343, 0.02412508986890316, 0.042136404663324356, -0.03441314026713371, -0.02645997144281864, -0.001348879188299179, -0.02458173781633377, 0.014712022617459297, 0.02908087521791458, -0.02130725048482418, -0.021209299564361572, -0.02622980810701847, 0.052093204110860825, 0.028980812057852745, 0.01803884655237198, 0.04983123019337654, -0.05728914588689804, 0.0017795987660065293, 0.06543223559856415, 0.012074368074536324, -0.026147713884711266, -0.038959991186857224, 0.03745310381054878, 0.047980405390262604, 0.053666722029447556, 0.009663238190114498, 0.07377199828624725, -0.0010264269076287746, -0.01658722199499607, 0.0064960080198943615, 0.02457347698509693, -0.028065135702490807, 0.00036001173430122435, -0.05875920131802559, -0.05626658350229263, 0.025492653250694275, -0.050150346010923386, -0.010676785372197628, 0.04427599906921387, 0.057161103934049606, 0.007494679652154446, 0.037583962082862854, 0.009995270520448685, -0.06635675579309464, 0.01859065517783165, 0.031768981367349625, 0.028526443988084793, -0.010115197859704494, 0.007587300147861242, 0.05065077170729637, 0.008193004876375198, 0.014680168591439724, 0.04655150696635246, -0.044210728257894516, -0.0818207785487175, -0.04242793843150139, -0.013331196270883083, 0.06361396610736847, -0.004735119640827179, -0.018634391948580742, 0.061445243656635284, 0.020559417083859444, 0.036076560616493225, 0.032579727470874786, -0.018324032425880432, 0.022124668583273888, -0.051818426698446274, -0.0775231346487999, 0.05179227516055107, 0.03184521198272705, -0.01078301202505827, -0.06537880003452301, 0.019172025844454765, -0.01797536015510559, -0.011177785694599152, 0.06066351756453514, 0.01073039323091507, 0.06820087134838104, 0.006968407426029444, 0.00427623325958848, -0.03182820603251457, 0.05016772076487541, -0.07670639455318451, 0.014704772271215916, -0.02753467671573162, -0.0026871731970459223, -0.05112156644463539, -0.02299978770315647, 0.10628660023212433, 0.03468833863735199, -0.06143033131957054, -0.06142884120345116, -0.006410939618945122, 0.01750536635518074, -0.02933141402900219, 0.012001502327620983, 0.007417777087539434, 0.01091171894222498, 0.015493354760110378, -0.06646501272916794, -0.02541557140648365, -0.0009660098003223538, -0.037811603397130966, 0.0310894213616848, 0.07025358825922012, -0.024330809712409973, 0.043671805411577225, 0.01199882011860609, -0.04409073293209076, 0.027700237929821014, -0.026409190148115158, -0.04601292312145233, 0.009688182733952999, 0.05135536566376686, -0.017963416874408722, 0.03216002881526947, 0.015596382319927216, -0.06355579197406769, -0.00946136750280857, -0.0514003224670887, 0.012700049206614494, 0.023401282727718353, 0.043082449585199356, 0.0062050288543105125, 0.023313522338867188, -0.046168435364961624, 0.01681298203766346, -0.0035586454905569553, -0.03779225051403046, 0.00683894008398056, 0.020017797127366066, 0.04205040633678436, 0.021872563287615776, 0.004378130193799734, -0.005152761470526457, 0.03168480843305588, 0.01565813645720482, -0.004069474991410971, -0.015471508726477623, 0.019162671640515327, 0.015615139156579971, -0.050633132457733154, -0.04858063533902168, -0.04666559770703316, 0.024321818724274635, -0.044156450778245926, -0.037943970412015915, -0.0052098422311246395, -0.06620316207408905, 0.028548166155815125, -0.05964488908648491, -0.041870683431625366, -0.004795584362000227, 0.018806960433721542, 0.018459461629390717, -0.014652309939265251, -0.009685687720775604, 0.04317854344844818, -0.00710303895175457, 0.021763330325484276, 0.010807489976286888, -0.03234175592660904, 0.018553905189037323, -0.00023353837605100125, 0.03731214255094528, 0.03471304103732109, -0.0183388851583004, 0.00025509981787763536, -0.07038968056440353, 0.00975868757814169, -0.018096571788191795, -0.2699611783027649, 0.056515756994485855, -0.009680711664259434, -0.032824233174324036, 0.05050671473145485, -0.01382328663021326, 0.021767275407910347, -0.044386424124240875, -0.013948053121566772, 0.02638830617070198, -0.00800093449652195, 0.0008145658648572862, -0.008791903033852577, 0.008959108963608742, -0.025410739704966545, -0.03551042079925537, 0.0172056183218956, -0.05069496110081673, 0.03978630155324936, 0.019582662731409073, -0.007966823875904083, -0.03785867989063263, 0.008567146956920624, 0.012398629449307919, 0.026310939341783524, 0.07713202387094498, -0.10633517801761627, 0.07049541175365448, -0.00068023765925318, -0.006611639633774757, -0.022906342521309853, -0.003601697739213705, 0.005060289055109024, 0.004193284083157778, -0.013326860032975674, -0.010566717945039272, 0.016610166057944298, -0.009910468012094498, 0.003957338631153107, -0.004547532182186842, -0.028224175795912743, -0.058590568602085114, -0.024187518283724785, -0.012497924268245697, 0.08853093534708023, 0.0024105466436594725, -0.08901010453701019, 0.01650303043425083, -0.042495451867580414, 0.07431209832429886, -0.04400477185845375, -0.061075691133737564, -0.019278690218925476, 0.01872764341533184, -0.0122803570702672, -0.04026852175593376, 0.013937200419604778, -0.02565731108188629, -0.05854720249772072, -0.06127796322107315, -0.0013053020229563117, -0.042333073914051056, -0.031238147988915443, -0.04047028347849846, -0.0204467736184597, -0.07003704458475113, -0.031123457476496696, -0.0014050733298063278, 0.06116682291030884, 0.015447581186890602, -0.02920142188668251, -0.005959052126854658, -0.01081086229532957, -0.10586931556463242, -0.018487930297851562, -0.0328410379588604, -0.07836972177028656, -0.0348554328083992, -0.004340308252722025, 0.05599067360162735, -0.01721598580479622, -0.018631502985954285, 0.01923532783985138, 0.02515510655939579, 0.008715768344700336, 0.029388610273599625, 0.03389175981283188, -0.007554067764431238, -0.028702350333333015, 0.013844996690750122, 0.0816640555858612, -0.018896564841270447, 0.0035282669123262167, -0.04356631636619568, 0.015898024663329124, 0.012454197742044926, 0.03901476413011551, 0.02269865944981575, 0.0009883999591693282, 0.018297920003533363, 0.07058679312467575, -0.05545589327812195, -0.0008955628145486116, -0.042209871113300323, 0.002307916060090065, -0.011425166390836239, -0.05784514918923378, 0.01751692406833172, 0.019194278866052628, 0.04818641021847725, -0.015887413173913956, -0.03573072701692581, 0.02429455704987049, -0.045769575983285904, -0.02905171923339367, -0.0023441496305167675, 0.03084610216319561, 0.03504922240972519, -0.015551207587122917, -0.019292326644062996, -0.04823916032910347, 0.014137443155050278, 0.009029585868120193, -0.007809870410710573, -0.04789920896291733, -0.04370962083339691, -0.006933574099093676, -0.019236581400036812, -0.006457430776208639, 0.014233368448913097, -0.006238084752112627, 0.04538187012076378, 0.021534429863095284, -0.030176552012562752, 0.031848013401031494, 0.004966123960912228, -0.0044197444804012775, -0.06427379697561264, 0.02480386570096016, -0.029512686654925346, -0.029049759730696678, -0.010597214102745056, 0.006422777194529772, -0.012535554356873035, 0.06323418021202087, 0.01257778238505125, 0.01290515810251236, -0.010470311157405376, 0.005750594660639763, 0.018168024718761444, 0.04573526605963707, -0.05722092092037201, 0.03492995724081993, -0.010014094412326813, -0.024366622790694237, -0.008121329359710217, 0.030529823154211044, -0.036962974816560745, -0.011595862917602062, -0.07187957316637039, 0.04559046030044556, -0.04033328592777252, -0.021323850378394127, -0.007758213672786951, -0.016666283831000328, 0.03292352706193924, 0.007923767901957035, 0.04841851443052292, -0.01914333365857601, -0.02628929354250431, 0.005854068323969841, 0.00476726284250617, -0.018956949934363365, 0.03295420482754707, -0.007960970513522625, 0.02427862584590912, 0.0032355671282857656, 0.018531963229179382, 0.06913097202777863, 0.021172914654016495, 0.013847963884472847, -0.02841024100780487, 0.020311130210757256, -0.006430118810385466, 0.028504295274615288, 0.025844570249319077, 0.01001737080514431, 0.0009515805286355317, -0.03997654467821121, 0.020836854353547096, -0.012274600565433502, -0.0007732163649052382, -0.014208315871655941, 0.048201415687799454, -0.039434030652046204, -0.05908673256635666, 0.023720424622297287, 0.0028171013109385967, 0.03564218431711197, 0.00700064841657877, -0.013798349536955357, 0.032882846891880035, -0.024836841970682144, 0.04484552517533302, 0.05134975165128708, -0.05106918513774872, -0.014985781162977219, -0.0098924171179533, 0.034786369651556015, 0.001912734704092145, 0.021082749590277672, -0.039154939353466034, -0.019283078610897064, -0.011049973778426647, 0.002517430577427149, -0.03802057355642319, -0.010638547129929066, -0.027526134625077248, 0.03072093054652214, 0.002480102702975273, -0.01858881302177906, -0.028930842876434326, 0.005806631408631802, -0.000339907972374931, -0.02153782546520233, 0.010929860174655914, -0.00403220672160387, -0.006716047879308462, 0.024101266637444496, -0.04149744659662247, 0.014456975273787975, -0.03693593293428421, 0.046522680670022964, 0.018545009195804596, -0.025665104389190674, -0.0004985887208022177, -0.04357277229428291, -0.007972495630383492, 0.013049039989709854, 0.019825266674160957, -0.009166201576590538, -0.020193587988615036, -0.04075825959444046, -0.02835109457373619, -0.017086956650018692, -0.03533102944493294, 0.012960349209606647, -0.029611758887767792, 0.03695891797542572, 0.04658038169145584, 0.0011994350934401155, 0.008967571891844273, -0.02890392206609249, -0.0007032048888504505, 0.04170752316713333, -0.08373234421014786, -0.030414603650569916, -0.0068792845122516155, -0.054283224046230316, -0.016748668625950813, -0.005364167038351297, 0.0012657520128414035, -0.06104583665728569, 0.055120453238487244, 0.03691181540489197, 0.011302674189209938, 0.06624017655849457, -0.006679297424852848, 0.032451894134283066, -0.03363550826907158, -0.03662070631980896, -0.06176404282450676, 0.010495449416339397, 0.05964206904172897, -0.017306266352534294, -0.015476515516638756, 0.018311159685254097, 0.008530487306416035, 0.030679119750857353, -0.03203011304140091, -0.02788563445210457, 0.042762432247400284, -0.009634802117943764, -0.01310392003506422, 0.03559383004903793, -0.03295160457491875, 0.054887037724256516, 0.00850293505936861, -0.03667654097080231, -0.04326604679226875, -0.01639828272163868, 0.054801419377326965, 0.0010771456873044372, -0.021251648664474487, -0.058048926293849945, -0.03063880279660225, 0.06635526567697525, 0.023986488580703735, 0.03413768857717514, 0.0696839913725853, -0.03321084380149841, 0.04163800925016403, 0.02541041374206543, -0.025059372186660767, 0.004908431321382523, -0.017178799957036972, -0.02556861750781536, -0.06345044076442719, -0.0027308124117553234, 0.014265801757574081, -0.022370655089616776, -0.04513511806726456, 0.05607670918107033, 0.01822972111403942, -0.01617891900241375, -0.003214719472452998, 0.006609517615288496, -0.05992583557963371, -0.01702183671295643, -0.050205379724502563, 0.009855540469288826, -0.03709900751709938, 0.07743743807077408, 0.022779542952775955, -0.011856618337333202, 0.06531696766614914, -0.006079453509300947, 0.022505220025777817, -0.0015600527403876185, 0.059580978006124496, 0.05105958878993988, 0.024407511577010155, 0.003997153136879206, 0.06600087881088257, -0.03968239575624466, -0.0731256827712059, 0.02301875315606594, -0.023745425045490265, 0.010565263219177723, -0.010700024664402008, 0.022635653614997864, 0.08868344128131866, 0.013762486167252064, 0.058946847915649414, -0.021328430622816086, 0.01620297320187092, -0.03811353072524071, -0.0012487932108342648, 0.004757527727633715, 0.01895909383893013, -0.0064647919498384, 0.014551933854818344, -0.011887367814779282, -0.012475155293941498, 0.04161408916115761, -0.014620651490986347, 0.035918768495321274, -0.013890297152101994, -0.0017027982976287603, 0.02664048783481121, 0.012663008645176888, 0.01954960636794567, 0.056651148945093155, -0.02550402097404003, -0.002695946954190731, -0.010141025297343731, 0.03309332951903343, 0.02768459916114807, -0.01837392896413803, -0.0311077069491148, 0.00239565409719944, -0.022831756621599197, -0.011955146677792072, -0.00846563559025526, 0.005652124993503094, -0.016537446528673172, 0.02287328615784645, 0.0022883375640958548, 0.009962756186723709, 0.011357443407177925, -0.026375753805041313, -0.012764675542712212, -0.03956330567598343, -0.055908091366291046, -0.03189567103981972, -0.05300471931695938, 0.011743800714612007, -0.005035096779465675, 0.014375862665474415, -0.01970791257917881, -0.029566507786512375, -0.014478971250355244, 0.010988222435116768, 0.03306781128048897, -0.032812703400850296, -0.02652646042406559, 0.019460812211036682, 0.011588433757424355, 0.008312211371958256, 0.04581253603100777, 0.06435847282409668, -0.007304775528609753, -0.013889618217945099, -0.03289755433797836, -0.010979375801980495, 0.03314588963985443, -0.008639893494546413, 0.02932123653590679, -0.08240100741386414, 0.04564531147480011, 0.02487366646528244, 0.006728064268827438, -0.061164043843746185, 0.0017478946829214692, 0.00006178681360324845, -0.0228962991386652, 0.02808285504579544, -0.015414310619235039, -0.000060283684433670714, -0.011126966215670109, 0.0026441928930580616, 0.022696057334542274, 0.014898832887411118, 0.04269995167851448, -0.05237899720668793, 0.06251578778028488, 0.008942697197198868, -0.004541340749710798, -0.036265645176172256, -0.008705762214958668, -0.020560206845402718, 0.025469282642006874, -0.01604575850069523, -0.058510877192020416, -0.07397060096263885, -0.06427057832479477, 0.026349466294050217, 0.01277939137071371, 0.005240038502961397, -0.04986318200826645, 0.03291777893900871, 0.035695940256118774, -0.06489269435405731, 0.0424734391272068, -0.012991823256015778, 0.004729338455945253, -0.0020731184631586075, -0.017184073105454445, 0.026914671063423157, 0.006384784821420908, 0.012997513636946678, -0.007775051984935999, 0.04760298132896423, -0.02507115714251995, -0.005997625179588795, -0.02109318971633911, 0.01917255111038685, 0.026055319234728813, -0.003506567794829607, 0.037136148661375046 ]
[ -0.10610315948724747, -0.017870543524622917, -0.024154050275683403, -0.008236768655478954, 0.06698861718177795, -0.052405472844839096, -0.020148662850260735, 0.03954946622252464, 0.012160620652139187, -0.03553718701004982, 0.006261265836656094, -0.030384782701730728, -0.018180327489972115, -0.005810977891087532, 0.09141860157251358, 0.024331847205758095, -0.016878187656402588, -0.08438616991043091, -0.010379433631896973, -0.02753976732492447, 0.009579913690686226, -0.022297360002994537, -0.00818853359669447, -0.03710300847887993, 0.0008618048159405589, 0.021265758201479912, 0.0282895565032959, -0.06207972392439842, 0.00912659801542759, -0.19270433485507965, -0.004178294446319342, 0.0010454726871103048, 0.013763470575213432, -0.02470969222486019, 0.014576504938304424, 0.03391532972455025, -0.003273125272244215, 0.006445336155593395, -0.0183990728110075, 0.06156947463750839, 0.01564995013177395, 0.034727565944194794, -0.0709700956940651, -0.03326226770877838, 0.05621422454714775, -0.030903466045856476, -0.022533228620886803, -0.01689373515546322, -0.015323207713663578, 0.014412316493690014, -0.04502147436141968, -0.039556555449962616, -0.007142526563256979, -0.029950888827443123, -0.023829733952879906, 0.04688806086778641, 0.057681094855070114, 0.06469014286994934, 0.009007628075778484, 0.024519816040992737, 0.034014567732810974, -0.037450794130563736, -0.13484330475330353, 0.1180475503206253, 0.0504695326089859, 0.06074961647391319, -0.010229459032416344, -0.05122542753815651, -0.0026988855097442865, 0.08717165142297745, 0.009932833723723888, 0.003895098576322198, -0.010829441249370575, 0.043203651905059814, 0.0257268026471138, -0.0025290066841989756, 0.029582835733890533, 0.023187225684523582, 0.026615174487233162, -0.053238071501255035, -0.03355183079838753, -0.025038911029696465, -0.016206856817007065, -0.005061820149421692, -0.028609776869416237, -0.005756638944149017, -0.01417097169905901, 0.09944073855876923, 0.05355482175946236, 0.03234870731830597, 0.013272097334265709, -0.043297577649354935, 0.08023400604724884, 0.003210884053260088, -0.08541982620954514, -0.021888675168156624, 0.010861827991902828, -0.005710241850465536, -0.02718076854944229, 0.4326341450214386, -0.04165826737880707, -0.027880607172846794, 0.05634051561355591, 0.04055238142609596, 0.00017296035366598517, 0.025793634355068207, 0.021729962900280952, -0.04788893833756447, -0.011151009239256382, -0.03155091777443886, -0.015918344259262085, 0.017863059416413307, 0.062135882675647736, -0.052862074226140976, -0.004904014989733696, 0.005446081515401602, -0.014376772567629814, 0.0037536416202783585, -0.03897276893258095, 0.02157425507903099, -0.0006690924637950957, -0.002878938801586628, 0.02081012725830078, 0.004780016839504242, 0.011970573104918003, -0.02615996263921261, 0.012463904917240143, 0.057066429406404495, 0.03420456126332283, -0.006473608780652285, 0.026567770168185234, -0.009682233445346355, -0.07960627973079681, -0.03257931023836136, 0.013003026135265827, 0.04899982362985611, -0.0018507993081584573, -0.006749219726771116, -0.034539513289928436, 0.0348544679582119, -0.03148345649242401, -0.04275400564074516, 0.025963595137000084, -0.004629063885658979, -0.035467442125082016, 0.10704734176397324, -0.003846239997074008, -0.009759180247783661, -0.00837253499776125, -0.034400906413793564, 0.02658769115805626, 0.038225919008255005, -0.029757756739854813, -0.02828497812151909, 0.022730480879545212, 0.008214958943426609, 0.05815725028514862, -0.007593287155032158, -0.04705895483493805, -0.013856424018740654, -0.0021318269427865744, -0.020856844261288643, -0.008611433207988739, 0.009060262702405453, 0.027932176366448402, -0.09430547803640366, -0.05549470707774162, 0.008077195845544338, 0.028240909799933434, -0.09181999415159225, -0.027670204639434814, 0.002694131340831518, -0.041243862360715866, -0.04465082287788391, 0.06103541702032089, -0.02785799652338028, -0.01613069698214531, 0.02090436778962612, 0.044054530560970306, 0.03341444581747055, 0.0013652801280841231, 0.0017946610460057855, -0.053928572684526443, -0.00878708716481924, -0.03458121791481972, -0.0773613452911377, -0.002358765807002783, -0.02579273283481598, 0.01515814010053873, -0.05636647343635559, -0.009497711434960365, -0.0171283558011055, -0.06389361619949341, 0.07924147695302963, -0.025462668389081955, 0.009061896242201328, 0.00955911073833704, -0.0046949428506195545, 0.03134521469473839, -0.06907986849546432, 0.04068358242511749, 0.030223466455936432, -0.033160075545310974, 0.05571282282471657, -0.06891408562660217, 0.04720964655280113, 0.02968882955610752, -0.037766411900520325, 0.06855753809213638, 0.022393375635147095, -0.05213961377739906, -0.02569551020860672, 0.013980585150420666, 0.014630540274083614, 0.012437871657311916, -0.01123224850744009, -0.008097978308796883, 0.015139828436076641, -0.002117208205163479, 0.03727913647890091, -0.01766863651573658, -0.0071632410399615765, -0.030679697170853615, -0.335926353931427, -0.04452531039714813, -0.01762320101261139, -0.0201890766620636, -0.006175502203404903, -0.04650008678436279, -0.028460869565606117, -0.03489876165986061, 0.0031714951619505882, 0.026700090616941452, 0.08223236352205276, 0.01664496771991253, 0.026066603139042854, -0.08910985291004181, 0.007891876623034477, -0.015141095966100693, -0.01489518117159605, -0.04217248782515526, 0.015567559748888016, -0.005602595862001181, -0.018017256632447243, -0.010344551876187325, -0.0528036504983902, -0.030107418075203896, 0.028271235525608063, -0.022742487490177155, 0.09273787587881088, 0.007596109993755817, 0.11354458332061768, -0.039599526673555374, 0.05443628877401352, 0.036203909665346146, 0.02197561413049698, -0.10356245189905167, 0.02418145351111889, -0.028588417917490005, 0.019253669306635857, 0.0008883930277079344, 0.03665831685066223, -0.008190039545297623, -0.040758926421403885, 0.019787469878792763, -0.03576520085334778, -0.08232924342155457, -0.0143189812079072, 0.0006792570929974318, -0.005795819219201803, -0.019978508353233337, -0.03383318707346916, 0.07735634595155716, -0.0023309679236263037, -0.007933150045573711, 0.014274608343839645, 0.06252121925354004, -0.009649545885622501, -0.006057461723685265, -0.08074361830949783, -0.0028093450237065554, 0.0017846948467195034, -0.03626105189323425, 0.07469316571950912, 0.0659291073679924, 0.04180339723825455, -0.04091056063771248, 0.00714200409129262, 0.04760931804776192, -0.01859733834862709, -0.023012004792690277, 0.06429438292980194, -0.02512066438794136, -0.014214720577001572, 0.06695824861526489, 0.007172692101448774, 0.014037185348570347, 0.036174286156892776, 0.006219715811312199, -0.012727467343211174, 0.022749049589037895, 0.026093419641256332, 0.0015032181981950998, 0.009934600442647934, -0.005968013312667608, 0.03855876997113228, -0.05319981276988983, -0.03165827691555023, 0.0329141803085804, -0.032585423439741135, -0.016820456832647324, 0.0508372001349926, 0.008642190136015415, -0.013049743138253689, 0.009160617366433144, 0.010720718652009964, -0.09760153293609619, 0.0870523452758789, -0.013165892101824284, -0.22870570421218872, -0.004184507764875889, 0.09987328201532364, 0.043743062764406204, -0.012287016957998276, 0.0037109414115548134, 0.03814282640814781, -0.07305427640676498, 0.000986587954685092, 0.006593584548681974, 0.00416517211124301, 0.03284433111548424, 0.014765001833438873, -0.017570827156305313, 0.01911124773323536, -0.010663678869605064, 0.02268863655626774, 0.014980736188590527, 0.022443251684308052, 0.0020398576743900776, 0.020395606756210327, -0.035382241010665894, 0.16361798346042633, 0.013461620546877384, 0.006838557310402393, 0.018977249041199684, -0.01125962845981121, 0.02054811827838421, 0.07326776534318924, 0.025404121726751328, 0.011708082631230354, -0.021906744688749313, 0.05090915784239769, 0.0019322802545502782, 0.030974334105849266, -0.10645699501037598, -0.004560832399874926, 0.0573638491332531, 0.021759720519185066, 0.031241757795214653, -0.03306178003549576, 0.018077274784445763, -0.04860953986644745, 0.0318269282579422, 0.04877212271094322, -0.03733988106250763, 0.0025647366419434547, 0.011601952835917473, -0.06508912891149521, -0.012400033883750439, -0.052033357322216034, -0.01556214690208435, 0.037877898663282394, 0.012493680231273174, 0.03108305111527443, 0.05027478188276291, 0.031010258942842484, -0.02017759531736374, 0.006584482733160257, 0.009074162691831589, 0.016722049564123154, 0.007833081297576427, 0.08113311976194382, 0.013606598600745201, 0.04788089543581009 ]
[ 0.014857548289000988, -0.015144851058721542, -0.017715608701109886, 0.02698538266122341, 0.025227738544344902, 0.017132963985204697, 0.02583402208983898, 0.06356097012758255, -0.006024337373673916, 0.016964001581072807, -0.0016099903732538223, -0.018435129895806313, 0.0008510480402037501, -0.03093736805021763, 0.004667491186410189, -0.01830526813864708, -0.020322715863585472, -0.04655349254608154, 0.020734598860144615, -0.01854573003947735, -0.04196858033537865, 0.02038406766951084, -0.00621651578694582, 0.0013279590057209134, -0.004265997093170881, -0.007612036075443029, -0.05279827117919922, -0.018581563606858253, 0.031146224588155746, -0.11998328566551208, -0.006552622187882662, 0.0007801956962794065, -0.020953314378857613, 0.011699242517352104, 0.02055664174258709, 0.015043159015476704, -0.003088180208578706, -0.00587582727894187, -0.040979571640491486, -0.019846614450216293, -0.03344422206282616, -0.0254125464707613, 0.005086081102490425, -0.0005621587624773383, -0.040252260863780975, -0.0033277675975114107, 0.030950848013162613, -0.039048075675964355, -0.021955745294690132, 0.027542728930711746, -0.014176486060023308, 0.007777895778417587, -0.0028331843204796314, 0.0075819953344762325, 0.008710196241736412, 0.02017180807888508, 0.021864300593733788, 0.020029256120324135, 0.014574810862541199, 0.030323395505547523, -0.010713508352637291, -0.008014238439500332, -0.02654772810637951, -0.013245328329503536, 0.01643497124314308, 0.02330310456454754, -0.020082581788301468, -0.012455342337489128, -0.034871362149715424, -0.00965865608304739, -0.0228071678429842, 0.05376310274004936, -0.01811584271490574, 0.00378368585370481, -0.017405981197953224, 0.011947356164455414, 0.036554966121912, -0.006435574032366276, 0.010538934729993343, -0.025410084053874016, -0.022219812497496605, 0.018151037395000458, 0.03635139390826225, -0.0004876899183727801, 0.04421163350343704, 0.030844533815979958, -0.025357544422149658, -0.023797372356057167, -0.004951298236846924, 0.03271671012043953, -0.014143861830234528, 0.039610907435417175, 0.0031378918793052435, 0.049741461873054504, -0.0779973641037941, -0.02165941335260868, 0.01122993417084217, -0.02742321975529194, -0.031141456216573715, 0.840157151222229, -0.04707237333059311, 0.03161260113120079, 0.059067029505968094, 0.01034979522228241, 0.026353249326348305, -0.00585656613111496, 0.031404994428157806, -0.03961595147848129, 0.00947551615536213, -0.04909341782331467, 0.012342256493866444, -0.011317417956888676, 0.03502488508820534, -0.016152480617165565, 0.049351491034030914, -0.023748794570565224, 0.027928967028856277, 0.0004538468492683023, 0.00507871899753809, 0.016568297520279884, 0.022978240624070168, -0.012359553016722202, -0.02512551099061966, 0.0033668088726699352, 0.006067455746233463, -0.16087324917316437, 0.007272613234817982, -6.859140310794577e-33, 0.024493614211678505, 0.00606464222073555, -0.020473597571253777, 0.03182516247034073, 0.0458238311111927, -0.02458631433546543, 0.04836534708738327, 0.025596197694540024, -0.028921205550432205, -0.016347303986549377, -0.011207916773855686, -0.031921904534101486, -0.02839030884206295, -0.025751860812306404, 0.05130039528012276, -0.008702206425368786, -0.002354004420340061, 0.061443500220775604, -0.014260821044445038, 0.003222130471840501, 0.02892407402396202, 0.028080709278583527, 0.023476744070649147, -0.04231499135494232, 0.015886712819337845, 0.006907840259373188, 0.009686793200671673, 0.013907099142670631, 0.004068221431225538, -0.04559702426195145, -0.053908754140138626, 0.03990574926137924, -0.04104010388255119, -0.01936555653810501, 0.014733675867319107, -0.06328573077917099, -0.01838524639606476, 0.009958181530237198, -0.03638039901852608, 0.008372090756893158, -0.038301363587379456, 0.01772773638367653, -0.03889605775475502, -0.028758332133293152, -0.006783920805901289, -0.003667724085971713, -0.010060634464025497, -0.016207952052354813, 0.007047041319310665, 0.0070983488112688065, 0.05055737867951393, 0.01898122765123844, -0.031117986887693405, -0.00964666623622179, -0.013666768558323383, 0.03586425259709358, -0.03019881434738636, -0.014387025497853756, 0.026378914713859558, 0.023568257689476013, 0.04667438939213753, -0.024272922426462173, -0.016326814889907837, 0.016222229227423668, -0.010039704851806164, -0.00825045257806778, 0.05184327811002731, -0.03763300180435181, 0.003674914361909032, -0.031264256685972214, -0.05084037035703659, -0.003543735248968005, -0.00673705292865634, -0.040574103593826294, 0.05849199369549751, -0.008474225178360939, -0.009867695160210133, -0.02286422625184059, 0.007621335797011852, 0.020534595474600792, 0.01934771053493023, -0.02440207079052925, 0.0027890042401850224, -0.056766659021377563, -0.01243277546018362, -0.031665101647377014, 0.020130645483732224, -0.016140757128596306, 0.015181106515228748, -0.009830281138420105, 0.02381758578121662, 0.0002690985566005111, -0.0085914870724082, -0.011934616602957249, -0.03024800308048725, 6.949986922329939e-33, -0.020878104493021965, -0.008330077864229679, -0.025948327034711838, -0.0007950126309879124, -0.011168550699949265, 0.020991168916225433, 0.01723300851881504, -0.025376267731189728, -0.033359043300151825, 0.0320487916469574, -0.004225034266710281, 0.021606795489788055, -0.03998400270938873, -0.0010840974282473326, 0.03394702821969986, -0.025134893134236336, 0.02992774359881878, -0.021529601886868477, 0.01145038940012455, -0.003031164640560746, 0.02697574719786644, -0.006278445012867451, 0.01614176109433174, 0.005832452792674303, 0.02805294468998909, 0.04965521767735481, -0.019058968871831894, 0.0008832520106807351, 0.03484010696411133, -0.024492258206009865, 0.0019282468128949404, 0.03146002069115639, 0.013899537734687328, -0.053837791085243225, -0.004474503453820944, 0.01604965142905712, 0.0061206091195344925, -0.002826770767569542, 0.04518899321556091, 0.004708341788500547, 0.0789376050233841, -0.010641289874911308, 0.0025678083766251802, -0.0020076457876712084, -0.013911647722125053, 0.037579599767923355, -0.005099604371935129, -0.04300681874155998, 0.0033586614299565554, 0.024231011047959328, 0.0464012511074543, 0.0017362863291054964, 0.0015066773630678654, -0.01407615002244711, -0.007493286859244108, -0.019875580444931984, -0.0019438292365521193, -0.02141643688082695, -0.02779364213347435, 0.002262249356135726, 0.0015531479148194194, 0.0082388399168849, -0.028940126299858093, 0.003733624704182148, -0.025708457455039024, 0.008118337951600552, -0.025210216641426086, 0.019778016954660416, -0.0051888395100831985, 0.011197580024600029, -0.007415602914988995, -0.016123181208968163, 0.011880113743245602, 0.032988522201776505, 0.010515210218727589, -0.037583932280540466, 0.025799129158258438, -0.01900499500334263, 0.01445043459534645, 0.018085405230522156, -0.0068545471876859665, 0.024466488510370255, 0.022046690806746483, -0.03133821859955788, -0.0244127344340086, -0.0059089744463562965, -0.014165541157126427, 0.02271459996700287, 0.0011836002813652158, -0.021154627203941345, -0.003733409568667412, 0.006981146987527609, 0.026433264836668968, -0.0001546793064335361, 0.024174358695745468, -1.2892498624239579e-8, -0.041097547858953476, -0.008694297634065151, -0.021609719842672348, 0.015253150835633278, -0.012041104026138783, -0.0035424388479441404, -0.03622709587216377, 0.006566444877535105, 0.017945170402526855, 0.014186054468154907, -0.02203518897294998, 0.00769361387938261, 0.007650621701031923, 0.026456015184521675, -0.0006019268184900284, -0.018227720633149147, -0.01782134547829628, -0.04582257568836212, 0.026258235797286034, 0.0000015926599417070975, 0.00905822403728962, 0.045095231384038925, 0.012690399773418903, 0.00440199812874198, -0.008392882533371449, 0.002340619917958975, 0.01593085378408432, -0.08848956972360611, -0.030525535345077515, 0.0560595765709877, 0.006001954432576895, 0.016310153529047966, -0.06135326996445656, -0.0019174753688275814, -0.016307134181261063, 0.017663821578025818, 0.027231309562921524, -0.007897044532001019, -0.00045050884364172816, -0.010229071602225304, 0.007815368473529816, 0.008146807551383972, 0.0177829097956419, -0.02978205680847168, -0.029271356761455536, -0.020613806322216988, 0.000695865077432245, 0.0058390311896800995, 0.018598023802042007, -0.08317752182483673, 0.005057575646787882, 0.02800005115568638, 0.0008475132053717971, 0.036733854562044144, -0.008753348141908646, 0.034385014325380325, 0.01998741552233696, -0.01482724491506815, -0.024375908076763153, 0.02673783153295517, 0.028182560577988625, -0.003597108880057931, -0.015809867531061172, -0.017376480624079704 ]
xunitnet-running-tests-written-in-visual-studio-2010
https://markhneedham.com/blog/2009/05/30/xunitnet-running-tests-written-in-visual-studio-2010
false
2009-05-30 20:38:02
F#: Testing asynchronous calls to MailBoxProcessor
[ "f", "xunitnet", "asynchronous" ]
[ "fsharp" ]
Continuing with my attempts to test some of the code in my http://www.markhneedham.com/blog/2009/04/13/f-a-day-of-writing-a-little-twitter-application/[twitter] http://www.markhneedham.com/blog/2009/04/18/f-refactoring-that-little-twitter-application-into-objects/[application] I've been trying to work out how to test the http://www.markhneedham.com/blog/2009/05/02/f-erlang-style-messaging-passing/[Erlang style messaging] which I set up to process tweets when I had captured them using the http://code.google.com/p/tweetsharp/[TweetSharp API]. The problem I had is that that processing is being done asynchronously so we can't test it in our normal sequential way. Chatting with http://twitter.com/davcamer[Dave] about this he suggested that what I really needed was a latch which could be triggered when the asynchronous behaviour had completed, thus informing the test that it could proceed. In the .NET library we have two classes which do this, http://msdn.microsoft.com/en-us/library/zd6a283y.aspx[AutoResetEvent] and http://msdn.microsoft.com/en-us/library/system.threading.manualresetevent.aspx[ManualResetEvent]. The main difference that I can see between them is that AutoResetEvent will automatically reset itself after one call to Set whereas ManualResetEvent lets any number of calls go through and doesn't reset its state unless you explicitly call the Reset method. In terms of what I wanted to do it doesn't actually make a big difference which one is used so I decided to use AutoResetEvent since that seems a bit simpler. This is the code I'm trying to test: [source,ocaml] ---- open Dimebrain.TweetSharp.Model type Message = Phrase of TwitterStatus | Stop type ILinkProcessor = abstract Send : TwitterStatus -> Unit abstract Stop : Unit -> Unit type LinkProcessor(callBack) = let agent = MailboxProcessor.Start(fun inbox -> let rec loop () = async { let! msg = inbox.Receive() match msg with | Phrase item -> callBack item return! loop() | Stop -> return () } loop() ) interface ILinkProcessor with member x.Send(status:TwitterStatus) = agent.Post(Phrase(status)) member x.Stop() = agent.Post(Stop) type MainProcessor(linkProcessor:ILinkProcessor) = let agent = MailboxProcessor.Start(fun inbox -> let rec loop () = async { let! msg = inbox.Receive() match msg with | Phrase item when item |> hasLink -> linkProcessor.Send(item) return! loop() | Phrase item -> return! loop() | Stop -> return () } loop() ) member x.Send(statuses:seq<TwitterStatus>) = statuses |> Seq.iter (fun status -> agent.Post(Phrase(status))) member x.Stop() = agent.Post(Stop) ---- In particular I want to test that when I send a message to the MainProcessor it gets sent to the LinkProcessor if the message contains a link. The idea is to stub out the LinkProcessor and then trigger the 'Set' method of our latch when we are inside the 'Send' method of our stubbed LinkProcessor: [source,ocaml] ---- [<Fact>] let should_send_message_to_link_processor_if_it_contains_link_mutable () = let latch = new AutoResetEvent(false) let messageWithLink = (new MessageBuilder(message = "a message with http://www.google.com link")).Build() let mutable interceptedMessage = "" let linkProcessorStub = { new ILinkProcessor with member x.Send (message) = interceptedMessage <- message.Text latch.Set() |> ignore member x.Stop() = () } (new MainProcessor(linkProcessorStub)).Send(seq { yield messageWithLink }) let wasTripped = latch.WaitOne(1000) Assert.True(wasTripped) Assert.Equal(messageWithLink.Text, interceptedMessage) ---- The problem is this doesn't actually compile, we get an error on line 11: [source,text] ---- The mutable variable 'interceptedMessage' is used in an invalid way. Mutable variables may not be captured by closures. Consider eliminating this use of mutation or using a heap-allocated mutable reference cell via 'ref' and '!'. ---- I wasn't immediately sure how to get rid of the mutation so as the error message suggested I decided to try and use a http://lorgonblog.spaces.live.com/blog/cns!701679AD17B6D310!677.entry[heap allocated reference cell]: [source,ocaml] ---- [<Fact>] let should_send_message_to_link_processor_if_it_contains_link_ref () = let latch = new AutoResetEvent(false) let messageWithLink = (new MessageBuilder(message = "a message with http://www.google.com link")).Build() let interceptedMessage = ref "" let linkProcessorStub = { new ILinkProcessor with member x.Send (message) = interceptedMessage := message.Text latch.Set() |> ignore member x.Stop() = () } (new MainProcessor(linkProcessorStub)).Send(seq { yield messageWithLink }) let wasTripped = latch.WaitOne(1000) Assert.True(wasTripped) Assert.Equal(messageWithLink.Text, !interceptedMessage) ---- Now this works but I don't really like the look of line 6 where we setup the reference cell, it feels a little hacky. My next attempt was to try to get rid of the mutation by testing the message inside the linkProcessorStub: [source,ocaml] ---- [<Fact>] let should_send_message_to_link_processor_if_it_contains_link_closure () = let latch = new AutoResetEvent(false) let messageWithLink = (new MessageBuilder(message = "a message with http://www.google.com link")).Build() let linkProcessorStub = { new ILinkProcessor with member x.Send (message) = Assert.Equal(messageWithLink.Text, message.Text) latch.Set() |> ignore member x.Stop() = () } (new MainProcessor(linkProcessorStub)).Send(seq { yield messageWithLink }) let wasTripped = latch.WaitOne(1000) Assert.True(wasTripped) ---- This seems like it should work the same as the previous example but in fact the Assert.Equal call on line 9 is being done on another thread since it is within the asynchronous operation. This means that when there is a failure with this assertion we don't get to hear about it. I'm still trying to work out if there is a better way of doing this, perhaps by wrapping the AutoResetEvent in a custom type: [source,ocaml] ---- type AutoResetEvent with member x.WasTripped = x.WaitOne(1000) type MyOneTimeLatch (autoResetEvent: AutoResetEvent) = let mutable savedMessage = None member x.MessageReceived (message:TwitterStatus) = savedMessage <- Some(message) autoResetEvent.Set() |> ignore member x.WasTripped = autoResetEvent.WasTripped member x.RetrieveMessage = if(savedMessage.IsSome) then savedMessage.Value.Text else "" ---- Our test would then read like this: [source,ocaml] ---- [<Fact>] let should_send_message_to_link_processor_if_it_contains_link_custom_type () = let latch = new MyOneTimeLatch(autoResetEvent = new AutoResetEvent(false)) let messageWithLink = (new MessageBuilder(message = "a message with http://www.google.com link")).Build() let linkProcessorStub = { new ILinkProcessor with member x.Send (message) = latch.MessageReceived(message) member x.Stop() = () } (new MainProcessor(linkProcessorStub)).Send(seq { yield messageWithLink }) Assert.True(latch.WasTripped) Assert.Equal(messageWithLink.Text, latch.RetrieveMessage) ---- Does the job and maybe it's fine to have this as a stub for testing purposes. I'd be interested in hearing if anyone's found any good ways to do this kind of thing.
null
null
[ 0.03664623200893402, -0.02060672640800476, -0.007729593198746443, 0.023191256448626518, 0.08257146179676056, 0.011899507604539394, 0.036935243755578995, 0.0483829565346241, 0.000645486346911639, 0.0017956122756004333, 0.009711221791803837, -0.001437733299098909, -0.07337551563978195, 0.0095640504732728, -0.019901346415281296, 0.0658511146903038, 0.06299993395805359, -0.021810133010149002, 0.0690392404794693, 0.012025288306176662, 0.015142903663218021, 0.07377751171588898, 0.019281435757875443, 0.014485426247119904, 0.01624036580324173, 0.01979117840528488, -0.006367222405970097, -0.028630809858441353, -0.0532412976026535, -0.0032109441235661507, 0.05338481068611145, 0.0153913339599967, 0.013631222769618034, -0.011582032777369022, 0.029177572578191757, -0.000832735444419086, 0.013255844824016094, 0.01705978624522686, -0.0008104037842713296, 0.007392487023025751, -0.09175270050764084, 0.012709973379969597, -0.026852691546082497, -0.031013676896691322, -0.04705683887004852, 0.017256582155823708, -0.007324173115193844, -0.016635164618492126, -0.01012150477617979, -0.016837839037179947, -0.0916261374950409, 0.024572115391492844, -0.0009154040599241853, -0.0051116649992764, 0.014715105295181274, 0.050229817628860474, -0.001476240111514926, -0.06648722290992737, 0.00762672396376729, -0.03275994211435318, 0.012890835292637348, -0.018236488103866577, -0.0023361495696008205, 0.02855820022523403, 0.025288689881563187, -0.0273403562605381, 0.01440576370805502, 0.053245775401592255, -0.0470612496137619, 0.015773601830005646, 0.01215826440602541, 0.03799157589673996, -0.024090619757771492, 0.008760410360991955, 0.029869399964809418, -0.036529023200273514, 0.005659534130245447, 0.08144733309745789, 0.022361047565937042, 0.056014928966760635, -0.008499725721776485, -0.0020830777939409018, 0.06191666051745415, 0.03073994256556034, 0.014745796099305153, -0.007068889681249857, -0.02771802246570587, 0.015956521034240723, -0.021550580859184265, 0.06052524596452713, -0.01111882645636797, -0.038424473255872726, 0.02415444701910019, 0.021986067295074463, -0.014360114932060242, 0.0026788911782205105, -0.01117513794451952, 0.024911202490329742, -0.007264246232807636, -0.019054384902119637, -0.024010712280869484, -0.028205789625644684, 0.03431247919797897, 0.02940180152654648, -0.0720929503440857, -0.01761835440993309, -0.025522956624627113, -0.02325296774506569, 0.05213429778814316, 0.007880624383687973, -0.03222386911511421, 0.014075817540287971, -0.03077271394431591, -0.011335967108607292, -0.09390281140804291, 0.06862975656986237, 0.02343684993684292, -0.0020307176746428013, 0.006696936674416065, -0.0010721124708652496, 0.03622778132557869, 0.04287300631403923, 0.0015694439643993974, 0.06672932207584381, 0.009955420158803463, 0.04082384705543518, -0.029995204880833626, 0.04140445217490196, -0.027132607996463776, -0.04448189586400986, -0.016772471368312836, 0.058197226375341415, -0.03350095823407173, 0.023502543568611145, -0.016482975333929062, -0.006808221805840731, -0.0036202219780534506, -0.010206490755081177, 0.05769263580441475, 0.06092630699276924, -0.007230386603623629, -0.025057461112737656, -0.008346389047801495, 0.001954904291778803, 0.007254025433212519, 0.038063641637563705, -0.013693360611796379, -0.010193433612585068, -0.019601842388510704, 0.045862920582294464, 0.024190930649638176, 0.007500320207327604, 0.04372670501470566, -0.044041577726602554, 0.02493726648390293, 0.0691547840833664, 0.020454352721571922, 0.0024357482325285673, -0.020627349615097046, 0.025853728875517845, 0.041399016976356506, 0.056629084050655365, 0.022669795900583267, 0.038322512060403824, 0.01719059981405735, 0.0013046797830611467, 0.020174328237771988, 0.039728909730911255, 0.003545039566233754, -0.017462119460105896, -0.056245092302560806, -0.04980921372771263, 0.056733086705207825, -0.058535438030958176, 0.004134988412261009, 0.04149867221713066, 0.06405119597911835, 0.00024971432867459953, 0.03497547656297684, 0.013868766836822033, -0.06957545131444931, 0.03587443754076958, 0.011369972489774227, 0.028222477063536644, -0.004083971492946148, -0.018547579646110535, 0.0667881965637207, 0.016863999888300896, -0.007465967442840338, 0.013837785460054874, -0.07000205665826797, -0.07544833421707153, -0.0025435201823711395, -0.011770081706345081, 0.07062365859746933, -0.03673309087753296, 0.0012463843449950218, 0.07570773363113403, 0.002108462853357196, 0.0513082779943943, 0.042899731546640396, -0.03472784161567688, -0.0015362566336989403, -0.04303189367055893, -0.07064081728458405, 0.03711235895752907, 0.030669638887047768, -0.011793520301580429, -0.042024970054626465, 0.0024065624456852674, -0.018849432468414307, 0.008011490106582642, 0.034259453415870667, -0.008439826779067516, 0.029030583798885345, 0.024021364748477936, 0.014634949155151844, -0.04164578393101692, 0.06756036728620529, -0.06383253633975983, 0.03843475878238678, -0.013574347831308842, 0.0009347782470285892, -0.004847812466323376, -0.003561862278729677, 0.11438258737325668, 0.04624703899025917, -0.043816644698381424, -0.07076376676559448, -0.009854231961071491, 0.02135513909161091, -0.04120839387178421, -0.0016098925843834877, -0.026637237519025803, -0.014905028976500034, 0.018583223223686218, -0.051278114318847656, -0.01609332486987114, -0.0003910113882739097, -0.04616641625761986, 0.0373227633535862, 0.07780598849058151, -0.025776749476790428, 0.061600830405950546, -0.0097722252830863, -0.015843795612454414, 0.011712060309946537, -0.024919675663113594, -0.04413043335080147, 0.028616292402148247, 0.038844652473926544, -0.008830467239022255, 0.05289033055305481, -0.033275045454502106, -0.036226656287908554, -0.021645883098244667, -0.036100272089242935, 0.02616349421441555, 0.029334044083952904, 0.051600076258182526, 0.003587576560676098, 0.049903273582458496, -0.02899787202477455, -0.004082676954567432, -0.0027649656403809786, -0.03858473524451256, -0.011793145909905434, -0.015592028386890888, -0.0011398940114304423, 0.02782672829926014, 0.0017635468393564224, -0.005417366977781057, 0.04428428038954735, 0.01917361468076706, -0.005945543758571148, -0.018514297902584076, 0.012481006793677807, -0.015345312654972076, -0.044945769011974335, -0.019195422530174255, -0.05143550783395767, 0.03970209136605263, -0.025522274896502495, -0.029250415042042732, -0.0007441345951519907, -0.07335630804300308, 0.03793109208345413, -0.06009889394044876, -0.0633578822016716, -0.006108514033257961, 0.011805076152086258, 0.015738103538751602, 0.0016343211755156517, 0.03012920543551445, 0.052018918097019196, -0.0033865931909531355, -0.008348622359335423, 0.016068290919065475, -0.010072048753499985, 0.01540982536971569, -0.0052820835262537, 0.022037962451577187, 0.032793547958135605, -0.010770071297883987, -0.011212890967726707, -0.08706459403038025, -0.0004440564080141485, 0.002726217731833458, -0.2785722315311432, 0.06880981475114822, 0.02905891276896, -0.05207408219575882, 0.039703767746686935, -0.01054825447499752, 0.03294406086206436, -0.026917412877082825, -0.018609968945384026, 0.03175094723701477, -0.006248991936445236, -0.055270276963710785, -0.010382876731455326, 0.03248337656259537, -0.00695857685059309, -0.014923151582479477, 0.001627255347557366, -0.055451054126024246, 0.039453670382499695, 0.04451265558600426, -0.005523067433387041, -0.048248741775751114, 0.014791558496654034, 0.02299945242702961, 0.03293894976377487, 0.05250585079193115, -0.108212910592556, 0.05912602320313454, -0.008876601234078407, 0.015352842397987843, 0.006710805464535952, 0.000034742966818157583, 0.0011508162133395672, 0.002630729926750064, -0.040172066539525986, -0.025366585701704025, 0.02933473512530327, 0.016898823902010918, 0.002478432608768344, -0.00865196529775858, -0.01589043065905571, -0.0398847796022892, -0.02101113274693489, 0.007204078137874603, 0.08015638589859009, 0.007970225997269154, -0.07132704555988312, 0.005284298676997423, -0.03211406618356705, 0.08849788457155228, -0.028750769793987274, -0.06972368061542511, -0.025159195065498352, 0.015745090320706367, 0.00038328091613948345, -0.029317224398255348, -0.020147260278463364, -0.02019560895860195, -0.037567149847745895, -0.05164928361773491, -0.0064055435359478, -0.025652160868048668, -0.0201027300208807, -0.03467754274606705, -0.019443009048700333, -0.07225116342306137, -0.05658383667469025, 0.0005780160427093506, 0.07544240355491638, 0.009853414259850979, -0.033763326704502106, 0.023099033161997795, -0.03652386739850044, -0.11170312762260437, 0.002081541111692786, -0.0163576640188694, -0.03765429928898811, 0.013810019940137863, 0.015256909653544426, 0.038924526423215866, -0.04505283385515213, -0.03547903150320053, 0.029100140556693077, 0.008045472204685211, 0.02614392153918743, 0.021850360557436943, 0.018563948571681976, -0.018554382026195526, -0.016681918874382973, 0.008296406827867031, 0.08274135738611221, -0.022644655779004097, -0.04645811393857002, -0.010165378451347351, 0.011236789636313915, 0.027763616293668747, 0.030773483216762543, -0.009849599562585354, 0.025715483352541924, 0.01956073008477688, 0.04392895847558975, -0.05087777227163315, 0.0268954336643219, -0.03246096521615982, 0.010139361023902893, -0.00505369296297431, -0.048247553408145905, 0.010489863343536854, 0.029160426929593086, 0.03202007710933685, -0.03265104815363884, -0.0054262131452560425, 0.0021668486297130585, -0.07051543891429901, -0.02079484984278679, 0.0022108792327344418, 0.01027551107108593, 0.022763794288039207, 0.0071321637369692326, -0.0400400385260582, -0.053203340619802475, 0.03516099229454994, -0.011378053575754166, 0.016025131568312645, -0.055135950446128845, -0.05223296210169792, 0.0033870916813611984, -0.008540784008800983, 0.008050420321524143, 0.030839387327432632, -0.0038857196923345327, 0.006987135391682386, 0.012620815075933933, -0.03673509135842323, 0.01463968213647604, 0.016262726858258247, -0.019732343032956123, -0.04685037210583687, 0.00788094475865364, -0.020311804488301277, -0.0038972850888967514, -0.003425061237066984, -0.015503288246691227, 0.0006127221276983619, 0.07557381689548492, 0.021136177703738213, 0.008217813447117805, 0.011441397480666637, 0.008715128526091576, 0.010120969265699387, 0.038871102035045624, -0.08485031872987747, -0.003939982503652573, -0.03559432923793793, -0.009620264172554016, -0.011297325603663921, 0.04793486371636391, -0.021229369565844536, -0.008940921165049076, -0.0380011610686779, 0.009662432596087456, -0.05982016772031784, -0.016025954857468605, -0.022371850907802582, -0.012554417364299297, 0.028125576674938202, -0.010979849845170975, 0.05162649229168892, -0.00016226501611527056, -0.051767200231552124, -0.011776670813560486, -0.013584424741566181, -0.004020520020276308, 0.02554449439048767, 0.022781362757086754, 0.011444930918514729, -0.008745844475924969, 0.0067636845633387566, 0.008804584853351116, 0.02068996988236904, 0.022449500858783722, -0.02140670269727707, 0.002913022181019187, 0.01975821889936924, 0.05578021705150604, 0.04387944936752319, -0.002326830755919218, -0.019367145374417305, -0.05490438640117645, -0.012611966580152512, -0.055263519287109375, -0.0057922289706766605, 0.0006099581369198859, 0.03564605861902237, -0.03273795545101166, -0.0760044977068901, 0.022922689095139503, 0.01902943290770054, 0.0436847098171711, 0.00439422857016325, 0.01935826987028122, 0.004197948612272739, -0.01423780806362629, 0.010281236842274666, 0.04549279436469078, -0.05211802199482918, 0.012217534705996513, -0.00688238674774766, 0.027342665940523148, 0.020944535732269287, 0.020156463608145714, -0.057941220700740814, -0.008530435152351856, -0.007873776368796825, 0.005676297005265951, -0.05435093864798546, -0.01850847527384758, -0.014334148727357388, 0.01220578420907259, -0.006891918368637562, -0.013115164823830128, -0.024493148550391197, -0.005849460139870644, 0.003657151013612747, -0.018403124064207077, 0.015125462785363197, -0.03089297004044056, -0.015449298545718193, 0.05005252733826637, -0.03713572025299072, -0.0008954511722549796, -0.025785332545638084, 0.030064310878515244, 0.031334392726421356, -0.034035004675388336, -0.04963143914937973, -0.037340544164180756, -0.015833597630262375, -0.011646934784948826, 0.05282687023282051, -0.032304342836141586, -0.019866004586219788, -0.04483513906598091, -0.007167484145611525, -0.022280419245362282, 0.006159074138849974, -0.010898588225245476, -0.009086637757718563, 0.03446272015571594, 0.054485075175762177, 0.03129700571298599, 0.06828373670578003, 0.004178865812718868, 0.033770155161619186, 0.04537307471036911, -0.07445046305656433, -0.024314885959029198, -0.02801917865872383, -0.0509098656475544, 0.01308175828307867, 0.012808225117623806, -0.008577967993915081, -0.06576427817344666, 0.021900594234466553, 0.012609527446329594, 0.02173462137579918, 0.05669206380844116, -0.008672153577208519, 0.02826201356947422, -0.04570135846734047, 0.0009311806061305106, -0.07242012023925781, -0.02324475347995758, 0.038666021078825, -0.00811519380658865, -0.008405433036386967, 0.001995188184082508, -0.014631999656558037, 0.02828451618552208, -0.032497841864824295, -0.013296800665557384, 0.03648199886083603, 0.010736950673162937, -0.008013798855245113, 0.048597536981105804, -0.0636305883526802, 0.041979096829891205, 0.008625461719930172, -0.05459214374423027, -0.03184732794761658, -0.016988549381494522, 0.042229488492012024, -0.007911182008683681, 0.02077254094183445, -0.06641855090856552, -0.04185780510306358, 0.049171775579452515, 0.037151820957660675, -0.009693407453596592, 0.0681382417678833, -0.034414876252412796, 0.03548735752701759, 0.042698293924331665, -0.0007893068832345307, 0.006405016407370567, -0.020499756559729576, -0.015807973220944405, -0.081166572868824, 0.02587280049920082, 0.005912716966122389, -0.030048994347453117, -0.052907027304172516, 0.07382283359766006, 0.025218209251761436, -0.039959732443094254, -0.022033490240573883, 0.010111710987985134, -0.04889936000108719, -0.05872791260480881, -0.041628461331129074, 0.014095011167228222, -0.040347058326005936, 0.06385862827301025, 0.006696712225675583, -0.014989659190177917, 0.07997895777225494, -0.01977335847914219, 0.010835566557943821, 0.005570325069129467, 0.0741511732339859, 0.08526579290628433, 0.0328686498105526, -0.018603159114718437, 0.05722874030470848, -0.01757977344095707, -0.03904959186911583, 0.009543435648083687, -0.03307772055268288, -0.015102849341928959, -0.03446372225880623, 0.03196938708424568, 0.07512970268726349, -0.007344801444560289, 0.06325583904981613, -0.03834277018904686, -0.012117969803512096, -0.01069347932934761, 0.016763994470238686, 0.017277106642723083, 0.03495108336210251, -0.0004733701061923057, 0.026802245527505875, -0.01500144973397255, -0.016085736453533173, 0.04604923352599144, -0.05135099217295647, -0.0075736199505627155, 0.01960851065814495, 0.0005815603653900325, 0.01013106107711792, 0.034549541771411896, 0.022936182096600533, 0.06824275851249695, -0.014613008126616478, 0.002760314615443349, 0.01616663672029972, 0.01894235424697399, -0.012620796449482441, 0.0000796837339294143, 0.003548405598849058, -0.0010745060862973332, -0.014961146749556065, -0.000002389813289482845, -0.005072917323559523, -0.031376827508211136, -0.027905073016881943, 0.027575291693210602, -0.0016231543850153685, 0.00013712348300032318, 0.00340827158652246, -0.03110583871603012, -0.05789493769407272, -0.02672373689711094, -0.06883230805397034, -0.06741006672382355, -0.04542066901922226, -0.012141689658164978, -0.0002423216064926237, 0.01547828409820795, -0.03630223125219345, -0.02855748124420643, -0.027966033667325974, -0.022328980267047882, 0.013967643491923809, -0.031185397878289223, -0.0281082633882761, 0.02814490534365177, -0.0037922475021332502, 0.025812048465013504, 0.04115552082657814, 0.04865950718522072, 0.01042864192277193, -0.018288107588887215, -0.05749748274683952, 0.009043016470968723, 0.0320027619600296, 0.03675839677453041, -0.014902963303029537, -0.07408072054386139, 0.023475589230656624, 0.022384371608495712, 0.01170701626688242, -0.05222412198781967, 0.015276885591447353, 0.02107914164662361, 0.005037352442741394, 0.0378044918179512, -0.03384343907237053, 0.0039708237163722515, -0.03721092641353607, -0.012219637632369995, -0.0034122855868190527, 0.01694164238870144, 0.04520696401596069, -0.030719676986336708, 0.07116463780403137, 0.015057639218866825, -0.021608293056488037, -0.0382186621427536, -0.008454724214971066, -0.020485633984208107, -0.010138621553778648, -0.017563972622156143, -0.054204363375902176, -0.04806328937411308, -0.06038229912519455, -0.018881728872656822, 0.04941297695040703, 0.003257195698097348, -0.01768873631954193, 0.0587165392935276, 0.04236139729619026, -0.05180823802947998, 0.05256176367402077, -0.028985952958464622, 0.008791626431047916, -0.022746579721570015, -0.034198109060525894, 0.0057411291636526585, -0.022711344063282013, -0.00388273480348289, 0.01077951304614544, 0.010707911103963852, -0.009527046233415604, -0.016047514975070953, -0.00012385024456307292, 0.021915944293141365, 0.012244614772498608, -0.02715311199426651, 0.011178934946656227 ]
[ -0.09241224825382233, -0.020507367327809334, -0.029118582606315613, -0.019848115742206573, 0.016429107636213303, -0.049656812101602554, 0.02206369861960411, 0.04190140962600708, -0.0008576753316447139, -0.04190541058778763, -0.000592720287386328, -0.010057184845209122, 0.001204027095809579, 0.004150105640292168, 0.07899492233991623, 0.019289685413241386, -0.017588075250387192, -0.09298387169837952, -0.01736036315560341, -0.013276713900268078, 0.010498369112610817, -0.011247488670051098, -0.03556712716817856, -0.039550140500068665, 0.039866264909505844, 0.02383347786962986, 0.039885107427835464, -0.07184717059135437, -0.010631492361426353, -0.1990530788898468, 0.05485399439930916, -0.040513377636671066, 0.013570928946137428, -0.027562806382775307, -0.00757730333134532, 0.03180478513240814, -0.03675854206085205, -0.013460304588079453, 0.0012205005623400211, 0.053207699209451675, 0.009309995919466019, -0.0013220615219324827, -0.058074843138456345, -0.018976999446749687, 0.07048895210027695, -0.018305150792002678, 0.002248318400233984, -0.019252881407737732, -0.02474192902445793, 0.022164341062307358, -0.051818475127220154, -0.0005945761222392321, -0.002777951071038842, -0.04308702424168587, -0.00880516692996025, 0.015611314214766026, 0.045361850410699844, 0.1275767683982849, 0.0530395545065403, 0.008548610843718052, 0.04394371435046196, -0.005872771609574556, -0.1329514980316162, 0.12754353880882263, 0.015039979480206966, 0.04356091469526291, 0.00178994529414922, -0.013224332593381405, 0.01908222585916519, 0.10450394451618195, 0.002615824108943343, -0.0007941173389554024, -0.014411672949790955, 0.07504352182149887, 0.003736794926226139, -0.007541770581156015, 0.022744109854102135, 0.014270713552832603, 0.025575442239642143, -0.030868738889694214, -0.05832066014409065, -0.01963937096297741, 0.006289964076131582, -0.015069716610014439, -0.05077574402093887, -0.02735358662903309, -0.0192917138338089, 0.03541643172502518, 0.023990100249648094, 0.01860101707279682, 0.04006075859069824, 0.0007548657595179975, 0.06594828516244888, 0.000489342026412487, -0.10037649422883987, -0.01914525404572487, -0.032766569405794144, 0.019107701256871223, -0.03249543905258179, 0.3758028745651245, -0.01562492735683918, 0.009253516793251038, 0.029629284515976906, 0.07784993201494217, 0.023419782519340515, -0.029697278514504433, 0.0015808201860636473, -0.0673503652215004, -0.02787770889699459, -0.0160354133695364, 0.009990922175347805, -0.017278844490647316, 0.07682453840970993, -0.036089539527893066, 0.03139612451195717, 0.04598505049943924, 0.0530218631029129, 0.02753535471856594, 0.005210337229073048, 0.0223502479493618, -0.01169414259493351, 0.024559756740927696, 0.031017020344734192, -0.04747862368822098, 0.009502065367996693, 0.013414242304861546, 0.052589211612939835, 0.0871104896068573, 0.02643791027367115, -0.013068582862615585, 0.02741245925426483, -0.013955379836261272, -0.08314985781908035, 0.027493257075548172, 0.026078369468450546, 0.019023442640900612, 0.0025923100765794516, -0.03471986949443817, -0.014696049503982067, -0.01804202049970627, -0.020203249529004097, -0.021684719249606133, 0.04422132298350334, -0.03069315478205681, -0.04286501184105873, 0.10607414692640305, -0.016101691871881485, -0.020722053945064545, -0.0003566931118257344, -0.03289021924138069, 0.0007909349515102804, 0.027855368331074715, -0.029193099588155746, -0.06220197305083275, 0.009497442282736301, 0.041821300983428955, 0.04410098120570183, -0.006515278946608305, -0.022128334268927574, 0.00029755529249086976, -0.042964864522218704, 0.01404630858451128, -0.03394215181469917, 0.014418364502489567, 0.019414745271205902, -0.12692902982234955, -0.027554985135793686, -0.003088630735874176, 0.007460145279765129, -0.08605196326971054, 0.0032556026708334684, 0.03803432360291481, -0.06838878244161606, -0.06745672971010208, 0.013344901613891125, -0.016047818586230278, -0.00570951122790575, -0.0038119079545140266, 0.04901435598731041, 0.044534727931022644, -0.013679245486855507, -0.011356035247445107, -0.006273611914366484, 0.02309083193540573, -0.038307953625917435, -0.06200200691819191, -0.015677716583013535, -0.01670188456773758, 0.03489523380994797, -0.014400328509509563, -0.019253719598054886, -0.06061200052499771, -0.054650306701660156, 0.051256213337183, -0.020174331963062286, -0.024151358753442764, 0.027329107746481895, -0.030517946928739548, 0.024418622255325317, -0.015401385724544525, -0.023654432967305183, 0.008540553040802479, -0.027887582778930664, 0.03888320550322533, -0.025622248649597168, 0.07529903203248978, 0.006299637723714113, -0.045740894973278046, 0.08700123429298401, 0.016323791816830635, -0.04306533560156822, -0.026413843035697937, -0.034314557909965515, 0.006859826855361462, -0.007334667723625898, -0.03249667212367058, -0.016179706901311874, -0.0025156978517770767, 0.0050254520028829575, 0.042245347052812576, -0.0401187539100647, -0.01575891487300396, 0.009365626610815525, -0.33471065759658813, -0.05129522457718849, 0.005641568452119827, -0.012828022241592407, 0.005361111834645271, -0.09067422896623611, -0.03500931337475777, -0.04359348118305206, 0.03948779031634331, -0.01779768615961075, 0.07652472704648972, 0.0033901871647685766, 0.009462760761380196, -0.08860280364751816, 0.0425569973886013, 0.016144800931215286, -0.060752179473638535, -0.01334384735673666, -0.0026579161640256643, 0.02779671549797058, -0.03052854724228382, -0.01862780563533306, 0.006882700603455305, -0.06027371436357498, 0.008257447741925716, -0.025882309302687645, 0.07725950330495834, 0.013337235897779465, 0.10263264179229736, -0.018347542732954025, 0.045465633273124695, 0.027902876958251, 0.011915563605725765, -0.09648361802101135, -0.01355176791548729, 0.0006892980309203267, 0.00018036554683931172, 0.03442685306072235, 0.0325898639857769, -0.017308996990323067, -0.07249089330434799, 0.03535151481628418, -0.028807422146201134, -0.08844093233346939, -0.04055260121822357, 0.0013500414788722992, -0.014503741636872292, -0.05801535025238991, 0.007322461809962988, 0.0552142895758152, 0.009314754977822304, -0.011414622887969017, 0.02473318576812744, 0.022945400327444077, -0.0009561280603520572, -0.011871817521750927, -0.06491555273532867, -0.016144340857863426, -0.03779422491788864, -0.026130247861146927, 0.028475100174546242, 0.05474136024713516, 0.014610376209020615, -0.03905082494020462, 0.018180251121520996, 0.04749670624732971, -0.04120757430791855, -0.04146450757980347, 0.032969262450933456, -0.02051132544875145, -0.01734597235918045, 0.1375880092382431, -0.014176764525473118, 0.030093491077423096, 0.03858358785510063, 0.011570160277187824, -0.00537390261888504, -0.02835359238088131, -0.002849000971764326, 0.006913475692272186, 0.006274908781051636, -0.016858799383044243, 0.07549269497394562, -0.028797853738069534, -0.03888457641005516, 0.03733062744140625, -0.029706543311476707, 0.017042245715856552, 0.05488259345293045, 0.02484852820634842, -0.00928502343595028, 0.02914106845855713, -0.03001808002591133, -0.07156800478696823, 0.06149701401591301, -0.012118575163185596, -0.22093930840492249, -0.0002601153391879052, 0.041505906730890274, 0.0681019127368927, -0.00879988819360733, -0.0017944739665836096, 0.023218728601932526, -0.0343029648065567, -0.022686699405312538, -0.001721736858598888, -0.015475076623260975, 0.07324693351984024, 0.036922357976436615, 0.026612933725118637, 0.038391150534152985, 0.018434982746839523, 0.02557186596095562, 0.003605060512199998, -0.020546380430459976, -0.018787922337651253, 0.006487569771707058, -0.04064397141337395, 0.160695880651474, 0.017815178260207176, 0.028481105342507362, 0.06665414571762085, 0.03182857111096382, 0.0273036640137434, 0.10792922973632812, 0.007956772111356258, -0.01690257526934147, -0.002125243889167905, 0.025252077728509903, 0.007186606992036104, 0.04993482306599617, -0.10940159857273102, -0.04386653006076813, 0.05672703683376312, 0.025955231860280037, 0.0001991896133404225, -0.02391379326581955, 0.028621304780244827, 0.0002222912007709965, -0.012312226928770542, 0.07587236166000366, 0.012867029756307602, -0.03705817461013794, -0.04349545016884804, -0.06677599996328354, 0.04465213045477867, -0.02466260828077793, -0.0418161079287529, 0.0018467847257852554, 0.018380481749773026, 0.026208067312836647, 0.09327689558267593, 0.0016554807079955935, 0.0008011211757548153, -0.005788560025393963, 0.017446856945753098, 0.014078604988753796, 0.0030980033334344625, 0.11343259364366531, 0.01100425235927105, 0.06195203214883804 ]
[ -0.0067071691155433655, 0.011286918073892593, -0.006493027787655592, 0.010368171148002148, -0.0025648409500718117, 0.004708162043243647, 0.019896047189831734, 0.027168259024620056, 0.03193262964487076, -0.0006962927291169763, 0.00029881775844842196, -0.011550183407962322, 0.020655270665884018, -0.02006470039486885, 0.02371605485677719, -0.024387899786233902, 0.019684864208102226, -0.040386054664850235, 0.017606358975172043, -0.05002068728208542, -0.020283140242099762, 0.04181072860956192, 0.014007831923663616, 0.004627577494829893, 0.012990600429475307, -0.01143859326839447, -0.012771026231348515, -0.022078588604927063, 0.018448233604431152, -0.11445305496454239, -0.02628818340599537, -0.04252917319536209, -0.018580736592411995, -0.002582336077466607, -0.00828500371426344, 0.012216774746775627, -0.0006075780256651342, 0.0172076765447855, -0.00009663400851422921, -0.001401478541083634, 0.017634321004152298, -0.06030051037669182, -0.030497288331389427, -0.006945459172129631, -0.020417647436261177, 0.01938585937023163, -0.0011424649273976684, -0.022565247491002083, -0.036675747483968735, 0.018107613548636436, -0.0020366215612739325, 0.021188247948884964, -0.015605611726641655, 0.026487888768315315, 0.005039384122937918, 0.0021487397607415915, -0.007816906087100506, 0.021829670295119286, 0.007580996491014957, -0.008998549543321133, -0.0042755077593028545, -0.010551013052463531, -0.01896749436855316, -0.02333163470029831, -0.01222439855337143, 0.03028004802763462, -0.018777022138237953, 0.0028023510240018368, -0.0041504823602736, -0.01606355980038643, 0.0004138192452955991, 0.038881566375494, -0.029048476368188858, 0.021884897723793983, -0.021942444145679474, 0.006541994865983725, 0.02462117373943329, -0.027264146134257317, -0.028353964909911156, 0.009162451140582561, -0.014089478179812431, 0.01858421228826046, 0.019465604797005653, 0.013630228117108345, -0.001161280320957303, 0.01724451780319214, 0.012150879018008709, -0.0117654325440526, 0.02095782198011875, 0.019447708502411842, -0.0076860710978507996, 0.03145909309387207, 0.0023668736685067415, 0.01974845863878727, -0.08063686639070511, -0.0027413121424615383, -0.043181706219911575, -0.027748800814151764, -0.017363866791129112, 0.8623812198638916, -0.0047399429604411125, 0.015751691535115242, 0.0412452407181263, 0.009246735833585262, 0.005874220281839371, -0.0003344848519191146, 0.009264315478503704, -0.02488803304731846, 0.03356337547302246, -0.03432208672165871, 0.031819894909858704, 0.000012432630683179013, 0.03860509395599365, 0.021534232422709465, 0.019071120768785477, 0.00329775782302022, 0.007766559720039368, 0.003418894950300455, 0.012770368717610836, 0.022664489224553108, 0.027808070182800293, -0.015312601812183857, 0.0013790219090878963, 0.015333648771047592, 0.03053351864218712, -0.16536596417427063, 0.02702242322266102, -7.201868178404292e-33, 0.024919386953115463, -0.0050191679038107395, -0.01370624266564846, 0.023792950436472893, 0.015646615996956825, 0.008456834591925144, 0.032405391335487366, -0.00040185212856158614, -0.008306850679218769, -0.03680911287665367, -0.018696004524827003, -0.024848783388733864, 0.003738529048860073, -0.021389257162809372, 0.04287862777709961, -0.016122201457619667, -0.0016686695162206888, 0.054755739867687225, 0.00860812421888113, 0.014653701335191727, 0.031974468380212784, 0.0655779018998146, -0.001230353955179453, -0.013565544970333576, -0.0014746661763638258, 0.03084932081401348, 0.027399519458413124, -0.012852889485657215, -0.01813245750963688, -0.040465377271175385, -0.039027824997901917, 0.03240033984184265, -0.0066251205280423164, 0.0008442847174592316, 0.03046954981982708, -0.03383590281009674, -0.03369078040122986, 0.01898847706615925, -0.02884269505739212, -0.06685342639684677, -0.022242890670895576, 0.03311478719115257, -0.056050095707178116, -0.028655793517827988, -0.040814004838466644, -0.02294267900288105, -0.01655447483062744, 0.003930382896214724, 0.0066522578708827496, -0.0077985008247196674, 0.04437253251671791, 0.01219956949353218, -0.0058862920850515366, -0.023226723074913025, -0.00726364366710186, 0.010167322121560574, -0.007848751731216908, -0.0008185311453416944, 0.04957369714975357, 0.024717507883906364, 0.03722308203577995, -0.043294165283441544, -0.009518261067569256, 0.02578713744878769, 0.029589757323265076, -0.007884400896728039, -0.009734314866364002, -0.009176325052976608, 0.00942273624241352, -0.013932863250374794, -0.0387345515191555, -0.01669785939157009, -0.00679872278124094, -0.0031308394391089678, 0.009620049968361855, -0.0028221202082931995, -0.0027615977451205254, -0.018331555649638176, -0.017037637531757355, 0.016105640679597855, 0.02163064293563366, -0.02012374997138977, 0.008597342297434807, -0.04713086783885956, -0.008644653484225273, -0.025572005659341812, 0.015448099002242088, -0.009251353330910206, -0.008805245161056519, 0.023065464571118355, 0.01362826768308878, 0.028727620840072632, -0.016829177737236023, 0.008935470134019852, -0.015233076177537441, 7.661416674598726e-33, -0.0026179496198892593, -0.023793155327439308, -0.03164994344115257, -0.005764972884207964, -0.00981502141803503, 0.009580180048942566, 0.03282669186592102, 0.02137170359492302, -0.0551084503531456, 0.04914337396621704, 0.004922138061374426, -0.005527820438146591, -0.03988182544708252, 0.03451225906610489, 0.05135972797870636, -0.03563786670565605, 0.0503409281373024, -0.022410187870264053, 0.014401993714272976, 0.008911567740142345, -0.0025893710553646088, -0.002063215244561434, -0.015193171799182892, 0.01045216340571642, 0.015578333288431168, 0.06228244677186012, -0.019990531727671623, 0.018329044803977013, 0.001485884771682322, -0.0322473980486393, -0.01968526653945446, -0.010040431283414364, 0.028098585084080696, -0.011667589657008648, -0.0028442812617868185, 0.03403915837407112, 0.02022169902920723, -0.0270773284137249, 0.04313146322965622, -0.029574163258075714, 0.07131414115428925, -0.0021887703333050013, 0.009579244069755077, 0.0062648155726492405, -0.015712134540081024, 0.00942576490342617, -0.012243634089827538, -0.039858534932136536, -0.012062301859259605, 0.005855202674865723, 0.018462469801306725, 0.008873953483998775, 0.01226022094488144, 0.007838308811187744, -0.00576404295861721, -0.016551103442907333, 0.025425061583518982, -0.029867982491850853, -0.03695378825068474, -0.022954769432544708, -0.027336813509464264, -0.008709188550710678, 0.013775067403912544, 0.007183093577623367, -0.021481173112988472, -0.003693333128467202, -0.004669686779379845, -0.01671239174902439, -0.00697802659124136, -0.008160693570971489, -0.0036322649102658033, -0.007645644713193178, -0.0015091390814632177, 0.03661894053220749, 0.036828041076660156, -0.03854919224977493, 0.017657112330198288, -0.008282555267214775, -0.005935511086136103, -0.00894295983016491, -0.006822478026151657, -0.0034190681762993336, -0.003131283912807703, -0.001031156163662672, -0.027800869196653366, -0.0042502195574343204, -0.0034245618153363466, 0.014082580804824829, 0.012837791815400124, 0.01442865189164877, -0.005726025439798832, -0.009069208055734634, 0.013656332157552242, 0.026976870372891426, 0.018195711076259613, -1.3398069320658124e-8, -0.04170355200767517, -0.009110839106142521, -0.005588644649833441, 0.04084957018494606, -0.006771521642804146, 0.019877910614013672, -0.022683901712298393, -0.006819038651883602, -0.0035190286580473185, -0.00408726604655385, -0.006984506733715534, -0.0066856988705694675, -0.01558714173734188, 0.009446938522160053, 0.01673673465847969, -0.05834352225065231, -0.055972106754779816, -0.04541429877281189, 0.034246716648340225, 0.009554318152368069, 0.024697907269001007, 0.03502248227596283, -0.021231262013316154, -0.005799663718789816, 0.025814853608608246, 0.02417617104947567, 0.013697398826479912, -0.06841414421796799, -0.01589432917535305, -0.008495141752064228, 0.006147398613393307, -0.0338473841547966, -0.030852388590574265, 0.019032398238778114, -0.03144443407654762, -0.013965415768325329, 0.006320742424577475, -0.011998547241091728, 0.0003702960966620594, -0.029129788279533386, 0.01980767399072647, -0.0021748733706772327, 0.0035852212458848953, -0.027586016803979874, -0.030154675245285034, 0.012059914879500866, -0.005236477591097355, -0.0022550688590854406, 0.029239198192954063, -0.010251695290207863, -0.017412753775715828, 0.00672310683876276, 0.007398639805614948, 0.02350340597331524, -0.010435604490339756, 0.007670153398066759, 0.04150664061307907, -0.03195067122578621, -0.022056972607970238, 0.003971459809690714, 0.059886571019887924, 0.02134811505675316, -0.031588029116392136, -0.027014048770070076 ]
f-testing-asynchronous-calls-to-mailboxprocessor
https://markhneedham.com/blog/2009/05/30/f-testing-asynchronous-calls-to-mailboxprocessor
false
2009-05-06 19:30:50
C#: Using virtual leads to confusion?
[ "c", "net" ]
[ ".NET" ]
A colleague and I were looking through some code that I worked on a couple of months ago where I had created a one level hierarchy using inheritance to represent the response status that we get back from a service call. The code was along these lines: [source,csharp] ---- public class ResponseStatus { public static readonly ResponseStatus TransactionSuccessful = new TransactionSuccessful(); public static readonly ResponseStatus UnrecoverableError = new UnrecoverableError(); public virtual bool RedirectToErrorPage { get { return true; } } } public class UnrecoverableError : ResponseStatus { } public class TransactionSuccessful : ResponseStatus { public override bool RedirectToErrorPage { get { return false; } } } ---- Looking at it now it does seem a bit over-engineered, but the main confusion with this code is that when you click through to the definition of 'RedirectToError' it goes to the ResponseStatus version of that property and it's not obvious that it is being overridden in a sub class, this being possible due to my use of the http://msdn.microsoft.com/en-us/library/9fkccyh4(VS.71).aspx[virtual] key word. You therefore need to look in two places to work out what's going on which isn't so good. A solution which we came up with which is a bit cleaner is like so: [source,csharp] ---- public abstract class ResponseStatus { public static readonly ResponseStatus TransactionSuccessful = new TransactionSuccessful(); public static readonly ResponseStatus UnrecoverableError = new UnrecoverableError(); public abstract bool RedirectToErrorPage { get; } } public class UnrecoverableError : ResponseStatus { public override bool RedirectToErrorPage { get { return true; } } } public class TransactionSuccessful : ResponseStatus { public override bool RedirectToErrorPage { get { return false; } } } ---- When you have more response statuses then I suppose there does become a bit more duplication but it's traded off against the improved ease of use/reading that we get. It's generally considered good practice to http://www.artima.com/lejava/articles/designprinciples4.html[favour composition over inheritance] and from what I can tell the virtual keyword is only ever going to be useful if you're creating an inheritance hierarchy. An interesting lesson learned.
null
null
[ 0.007278794422745705, -0.029365209862589836, -0.0006897374405525625, 0.03947465121746063, 0.07524663954973221, -0.006213940680027008, 0.044263966381549835, 0.026091260835528374, -0.00524351978674531, -0.016317157074809074, -0.016445299610495567, -0.005497956648468971, -0.06973113119602203, 0.03925387188792229, -0.023379914462566376, 0.054768092930316925, 0.07522249966859818, -0.020645759999752045, 0.02171166241168976, -0.005121164955198765, -0.007212986703962088, 0.08426045626401901, -0.038504328578710556, 0.0292966365814209, 0.029445087537169456, 0.04015591740608215, -0.0010052826255559921, -0.004731970373541117, -0.06187588348984718, -0.015340670943260193, 0.06065056845545769, 0.017808567732572556, 0.01688299886882305, 0.002021975349634886, 0.03187871351838112, -0.019281405955553055, -0.0037592286244034767, 0.004215471912175417, -0.007625536993145943, -0.002273833379149437, -0.061195213347673416, 0.023947840556502342, -0.02651296742260456, -0.009344647638499737, -0.0747419074177742, 0.02116464078426361, -0.02002907544374466, -0.005777300801128149, -0.041037146002054214, -0.011764585971832275, -0.06059417128562927, 0.039528973400592804, -0.07391055673360825, 0.004231788218021393, -0.0009428763878531754, 0.052083440124988556, 0.0007379074231721461, -0.06888937205076218, 0.005322759505361319, -0.08340857923030853, 0.028913220390677452, -0.015863075852394104, -0.006416370626538992, 0.02562357857823372, 0.012023511342704296, -0.005724830087274313, -0.012240033596754074, 0.07004784047603607, -0.041114628314971924, -0.017020560801029205, -0.014661986380815506, 0.009992611594498158, 0.006749933119863272, 0.018135331571102142, 0.0070102582685649395, -0.023721866309642792, -0.004050923977047205, 0.04053312912583351, 0.033165764063596725, 0.06555160135030746, -0.0028520459309220314, 0.014406407251954079, 0.03925259783864021, -0.001179848681204021, 0.026127271354198456, -0.027970818802714348, -0.018807779997587204, -0.002998460317030549, -0.029004482552409172, 0.04068710282444954, -0.0016356386477127671, -0.01531276572495699, -0.005797226447612047, 0.02980065904557705, 0.01062751840800047, -0.00382078904658556, -0.010995625518262386, -0.022768424823880196, 0.01361155603080988, -0.0230256374925375, -0.04924251139163971, -0.01123354583978653, 0.02780098468065262, 0.02005021832883358, -0.0727638378739357, 0.024660613387823105, -0.02502809464931488, -0.029278406873345375, -0.011264126747846603, 0.012469619512557983, -0.03985785320401192, 0.031035082414746284, -0.034140694886446, -0.007392337080091238, -0.0718676820397377, 0.07482409477233887, 0.02197124995291233, -0.007647061254829168, 0.02188611403107643, 0.024407995864748955, 0.03601168468594551, 0.015728000551462173, -0.0446009635925293, 0.0776682198047638, 0.04475964233279228, 0.01964223012328148, -0.030072633177042007, 0.059573493897914886, -0.009059588424861431, -0.06277088075876236, 0.01792595349252224, 0.05819583311676979, -0.020478859543800354, 0.03998672962188721, -0.005562996491789818, 0.0079837990924716, 0.000597231148276478, -0.0035461338702589273, 0.0219340231269598, 0.021147938445210457, -0.028657706454396248, -0.021504472941160202, 0.001019937451928854, -0.008740447461605072, 0.020907610654830933, -0.0021144363563507795, -0.002139509655535221, -0.015133140608668327, -0.005023172125220299, 0.041321638971567154, 0.027479343116283417, 0.05335550382733345, 0.054750245064496994, -0.06143461540341377, -0.00322908372618258, 0.06286362558603287, 0.003206671914085746, 0.009405837394297123, -0.015833815559744835, 0.015481132082641125, 0.02010953426361084, 0.016727525740861893, 0.014671559445559978, 0.02583516389131546, 0.027657071128487587, 0.01036219671368599, -0.01547086052596569, 0.0642535537481308, -0.020791176706552505, -0.005305676721036434, -0.08519233018159866, -0.07543441653251648, 0.03390475735068321, -0.07049044221639633, -0.015133055858314037, 0.03809119760990143, 0.07168417423963547, 0.006215502507984638, 0.08264888823032379, -0.02058323845267296, -0.07039357721805573, 0.013938643969595432, 0.014601120725274086, -0.0015194211155176163, -0.016539739444851875, 0.0027557620778679848, 0.0720537006855011, 0.02629403956234455, 0.004530697595328093, 0.03571378067135811, -0.06849320977926254, -0.05307161435484886, -0.046276986598968506, -0.012425207532942295, 0.0625806525349617, -0.009710382670164108, -0.021257121115922928, 0.09353718161582947, 0.00414037611335516, 0.05976293981075287, 0.04070067033171654, -0.001417761784978211, 0.030453581362962723, -0.023768920451402664, -0.02470175363123417, 0.023464294150471687, 0.03777790442109108, 0.030488383024930954, -0.00886578019708395, 0.01308971457183361, 0.006142547819763422, -0.0032852909062057734, 0.053206320852041245, -0.010556861758232117, 0.046211350709199905, 0.014284118078649044, 0.017306126654148102, -0.04500672593712807, 0.062264129519462585, -0.07957203686237335, 0.03182961791753769, -0.014418474398553371, 0.00041278250864706933, -0.005143746733665466, -0.004766562953591347, 0.10837806761264801, 0.06198887899518013, -0.02320307493209839, -0.0512455478310585, 0.007647696882486343, 0.01769702136516571, -0.04084453731775284, -0.0022145260591059923, -0.04161766543984413, 0.01309787668287754, 0.013355342671275139, -0.04242291301488876, -0.025772809982299805, 0.017045708373188972, -0.038690097630023956, -0.003970318008214235, 0.08445805311203003, -0.013524641282856464, 0.043530113995075226, 0.005611018277704716, -0.02021968923509121, 0.0258432999253273, -0.003857511794194579, -0.03837961703538895, 0.0163711030036211, 0.017148373648524284, -0.005671500228345394, 0.05972573533654213, -0.04125745967030525, -0.00653438363224268, -0.006299878936260939, -0.025998737663030624, 0.011500995606184006, 0.018367629498243332, 0.05921723693609238, -0.023137401789426804, 0.04656831547617912, -0.002275794045999646, -0.005007532890886068, -0.0038415491580963135, -0.039143260568380356, -0.005156541243195534, 0.01349385641515255, 0.038608793169260025, 0.021565929055213928, 0.014124535955488682, -0.0010727645130828023, 0.04365153983235359, 0.011770899407565594, -0.023022327572107315, -0.013755712658166885, 0.06208231672644615, 0.02200438641011715, -0.028433863073587418, -0.03333323821425438, -0.04067540168762207, 0.020991751924157143, -0.022934865206480026, -0.0553315244615078, 0.019733427092432976, -0.09426017105579376, 0.04457933455705643, -0.07425890117883682, -0.05791822075843811, 0.016359221190214157, 0.01848449930548668, 0.0031990460120141506, 0.00021308065333869308, 0.024551011621952057, 0.0860380232334137, 0.006244748365134001, 0.0013806050410494208, 0.015520235523581505, -0.0021367084700614214, 0.032636284828186035, -0.007808696012943983, 0.015022028237581253, 0.03710630163550377, 0.005501223728060722, -0.0055804201401770115, -0.0493137501180172, 0.019374769181013107, -0.022004371508955956, -0.26963430643081665, 0.020692814141511917, 0.002000635489821434, -0.045903563499450684, 0.038315944373607635, 0.001628351747058332, 0.029020333662629128, -0.05406637489795685, -0.025123197585344315, 0.049846500158309937, 0.0022217759396880865, -0.07202985137701035, -0.0062242005951702595, 0.04884939268231392, -0.006136407144367695, 0.012229301035404205, 0.009511723183095455, -0.04825284704566002, -0.008289026096463203, 0.04710616171360016, -0.011503977701067924, -0.04832491651177406, -0.015280523337423801, 0.0493452250957489, 0.01381548959761858, 0.05059455707669258, -0.08835257589817047, 0.03907530754804611, -0.026297541335225105, -0.027068695053458214, 0.003222847357392311, 0.0015577401500195265, -0.008639189414680004, -0.026282036677002907, -0.026047786697745323, -0.03281348571181297, -0.00008458869706373662, 0.050707243382930756, -0.03985489904880524, 0.018045146018266678, -0.03609015420079231, -0.05585825815796852, -0.04554750397801399, -0.007853960618376732, 0.06898287683725357, -0.011362884193658829, -0.06017548218369484, 0.001217066077515483, -0.03506264463067055, 0.08384285122156143, -0.051112838089466095, -0.04383211210370064, 0.010989300906658173, 0.037495117634534836, -0.014540880918502808, -0.034770216792821884, 0.018897172063589096, -0.020214293152093887, -0.04837740957736969, -0.02407965064048767, -0.014765755273401737, -0.034575190395116806, -0.012935463339090347, -0.03695278987288475, 0.013988219201564789, -0.05000680312514305, -0.06260770559310913, -0.004378144629299641, 0.053387437015771866, 0.028793931007385254, -0.03308988735079765, 0.0016368139768019319, 0.012817219831049442, -0.11125113815069199, -0.0024193692952394485, -0.03844520449638367, -0.022313663735985756, -0.05697598680853844, -0.0004651867493521422, 0.0296933650970459, -0.01117936335504055, -0.011724276468157768, 0.017157668247818947, 0.034646451473236084, 0.007685151416808367, -0.0070921266451478004, 0.03500787168741226, -0.015749504789710045, -0.018774328753352165, -0.004706717561930418, 0.07972870767116547, 0.012983188964426517, -0.0032055925112217665, -0.04574640840291977, -0.011418957263231277, 0.02107929065823555, 0.018638567999005318, -0.010201293043792248, -0.005693338345736265, 0.010136151686310768, 0.03125733882188797, -0.06096706911921501, 0.019675595685839653, -0.034259527921676636, 0.006090381182730198, -0.019763149321079254, -0.05975329130887985, 0.021811803802847862, 0.01605881378054619, 0.0069106449373066425, -0.010613749735057354, -0.03175301477313042, -0.0012134348507970572, -0.05564407631754875, -0.012655739672482014, -0.014858128502964973, -0.00005900494215893559, 0.027733847498893738, -0.010666939429938793, -0.01191047765314579, -0.03179912641644478, 0.018647825345396996, 0.011002898216247559, 0.024555575102567673, -0.06807725131511688, -0.045231081545352936, 0.0004094911564607173, 0.01207096129655838, -0.01360372919589281, 0.00985013972967863, -0.020445268601179123, 0.019907211884856224, 0.0023802551440894604, -0.03752966970205307, 0.021132145076990128, -0.00031688116723671556, -0.01072598434984684, -0.021204432472586632, -0.019744466990232468, -0.006545846350491047, 0.005710920784622431, -0.007610677275806665, 0.020600520074367523, 0.03089560568332672, 0.08620719611644745, 0.002891573589295149, 0.03242933750152588, 0.01118891779333353, -0.0046187411062419415, 0.028682470321655273, 0.005153670907020569, -0.0800170749425888, 0.012040781788527966, -0.05412152037024498, -0.03577924519777298, -0.023139584809541702, 0.030357392504811287, -0.0144595205783844, -0.0309770368039608, -0.009159451350569725, 0.02545395866036415, -0.06459967792034149, -0.03403392806649208, -0.023112518712878227, 0.014025114476680756, 0.06288215517997742, -0.02191551774740219, 0.023096082732081413, -0.014724723994731903, -0.034133024513721466, 0.01677362620830536, 0.012492598965764046, -0.022679969668388367, 0.03856459632515907, 0.008042518980801105, 0.0037881305906921625, -0.012674744240939617, 0.003815692150965333, 0.0472855269908905, 0.014687448740005493, 0.021236205473542213, -0.01887437328696251, 0.03360443934798241, -0.02528887614607811, 0.042247217148542404, 0.016641443595290184, -0.00013041702914051712, -0.012934045866131783, -0.019082844257354736, -0.029727060347795486, -0.03886443376541138, -0.009850487112998962, -0.04520031809806824, 0.05662538856267929, -0.024531474336981773, -0.07298655807971954, 0.011689858511090279, 0.003067998681217432, 0.0294413510710001, 0.006723825819790363, 0.023025725036859512, 0.043700866401195526, -0.005625828634947538, 0.016933508217334747, 0.03203095868229866, -0.03215491399168968, 0.03320079296827316, 0.017698481678962708, 0.014322877861559391, 0.033882059156894684, 0.00777748366817832, -0.04747849330306053, -0.006854945793747902, -0.027626238763332367, -0.0011518822284415364, -0.05893600359559059, -0.0328076034784317, -0.031693704426288605, 0.009835581295192242, -0.013714906759560108, -0.029731594026088715, -0.01955232582986355, 0.014066147617995739, -0.030920635908842087, -0.010303274728357792, 0.004028599709272385, -0.022510288283228874, -0.007996273227036, 0.046778228133916855, -0.029932504519820213, 0.00610267324373126, -0.012942648492753506, 0.034298982471227646, 0.0036779874935746193, -0.030419154092669487, -0.05278494954109192, -0.054456908255815506, 0.009888401255011559, -0.009645192883908749, 0.045493777841329575, -0.01931336149573326, -0.02670731022953987, -0.004701094701886177, -0.027087194845080376, -0.002617719816043973, 0.03081342577934265, 0.007143903523683548, -0.03884299099445343, 0.051270246505737305, 0.0584307424724102, 0.014975327998399734, 0.016142670065164566, 0.013947641476988792, -0.01257338747382164, 0.0743122324347496, -0.07783041149377823, -0.02688080444931984, -0.006192524451762438, -0.0668061375617981, 0.03387492522597313, 0.023050153627991676, 0.029693560674786568, -0.05353739485144615, 0.03629515692591667, 0.035214703530073166, 0.013786403462290764, 0.03671315684914589, 0.006144783925265074, 0.06433223932981491, -0.03932437300682068, 0.036354031413793564, -0.0733402669429779, 0.04062783345580101, 0.03600010648369789, 0.02199619449675083, -0.016062000766396523, -0.038501329720020294, -0.01329120621085167, 0.033524349331855774, -0.05489618331193924, -0.025162624195218086, 0.027257680892944336, 0.007722153328359127, -0.023785091936588287, 0.005630821455270052, -0.042921118438243866, 0.06371964514255524, 0.02627837285399437, -0.035316430032253265, -0.04242143779993057, -0.03818441554903984, 0.06352018564939499, 0.030637692660093307, 0.030077459290623665, -0.06640279293060303, 0.003093127626925707, 0.02776356413960457, 0.029444590210914612, 0.03166349232196808, 0.07026652246713638, -0.03747645765542984, 0.033910125494003296, 0.005190146155655384, 0.009668867103755474, -0.009561753831803799, 0.006809327285736799, 0.01852414570748806, -0.061918653547763824, 0.022359216585755348, -0.002881057094782591, -0.02724047563970089, -0.06259871274232864, 0.0560498982667923, -0.008440791629254818, 0.0010717594996094704, -0.025997310876846313, 0.0069726514630019665, -0.04817257449030876, -0.03436516970396042, -0.03279750794172287, 0.011573584750294685, -0.01145061757415533, 0.0855838805437088, -0.00984652154147625, -0.013384977355599403, 0.08065475523471832, -0.021480925381183624, -0.012238320894539356, 0.006819799542427063, 0.0831877589225769, 0.07081400603055954, 0.036350738257169724, -0.030113020911812782, 0.06248272582888603, -0.03116895817220211, -0.032989904284477234, 0.010977867990732193, -0.03536774590611458, -0.026782836765050888, -0.008909188210964203, 0.011352796107530594, 0.05487635359168053, -0.003741981228813529, 0.06214253604412079, -0.059600748121738434, 0.007259722799062729, -0.00024918385315686464, 0.023630307987332344, 0.021642524749040604, 0.03520697355270386, 0.0184616856276989, -0.006359007675200701, 0.02235371805727482, -0.04856705665588379, 0.025709277018904686, 0.012450792826712132, -0.017721977084875107, -0.014331250451505184, 0.012098744511604309, 0.004538474604487419, -0.014227093197405338, -0.004360634367913008, 0.0693688914179802, -0.025113441050052643, -0.03177601844072342, 0.003968677017837763, 0.02127949893474579, 0.015219361521303654, -0.03639044985175133, -0.02090868353843689, -0.03193790093064308, -0.021916693076491356, -0.01567990519106388, -0.011832263320684433, -0.03952695429325104, -0.014762964099645615, 0.03856850042939186, -0.012122075073421001, 0.010053952224552631, 0.007671419531106949, 0.009060487151145935, -0.03823541849851608, -0.05594693869352341, -0.09349602460861206, -0.020675968378782272, -0.052034445106983185, -0.015011969022452831, 0.023416830226778984, -0.01191865373402834, -0.029582437127828598, -0.029503503814339638, -0.03228165954351425, -0.03781002014875412, 0.07173454761505127, -0.0211141649633646, -0.018999766558408737, 0.03455422818660736, 0.003578377887606621, 0.037957217544317245, 0.04467209428548813, 0.04548956826329231, -0.006660571321845055, -0.01753118447959423, -0.04603191092610359, -0.04268627241253853, 0.040239766240119934, 0.024212481454014778, 0.0004690558125730604, -0.07777027040719986, 0.021572217345237732, 0.016434969380497932, 0.019612513482570648, -0.06986557692289352, -0.017071232199668884, 0.013253318145871162, -0.00439127953723073, 0.044044505804777145, -0.016947949305176735, -0.01919853687286377, 0.002035610843449831, -0.014709442853927612, -0.0038394462317228317, 0.030290892347693443, 0.04212142899632454, -0.031879279762506485, 0.06628970801830292, 0.042312439531087875, -0.017592480406165123, -0.03083982691168785, 0.01620562933385372, -0.011842208914458752, -0.006802045274525881, -0.04492613300681114, -0.01302372757345438, -0.02951659820973873, -0.04822321608662605, -0.002093863906338811, 0.03639249503612518, -0.018420172855257988, -0.036121051758527756, 0.003803962143138051, 0.05044062063097954, -0.04780874773859978, 0.007401906419545412, -0.04087015241384506, 0.034272607415914536, -0.01084105484187603, -0.03415505960583687, 0.036110296845436096, 0.00663743494078517, 0.003567791311070323, 0.007539783138781786, 0.023931443691253662, -0.011263543739914894, -0.009151513688266277, -0.023236703127622604, 0.007414764259010553, 0.05489217862486839, 0.006481866352260113, 0.02325843833386898 ]
[ -0.09135643392801285, -0.0015786952571943402, -0.03209434449672699, -0.03925119340419769, 0.05264846235513687, -0.06588029116392136, 0.013626277446746826, 0.03187773749232292, 0.014761405065655708, 0.0007004248327575624, 0.01769360527396202, -0.009836534969508648, -0.021953150629997253, -0.009186132811009884, 0.08138388395309448, 0.012175435200333595, -0.019878730177879333, -0.01847938634455204, -0.008535833097994328, 0.03433845192193985, 0.043144602328538895, -0.026126444339752197, -0.039938464760780334, -0.029435081407427788, 0.03229914978146553, 0.021513301879167557, 0.013048352673649788, -0.033895060420036316, -0.014560705050826073, -0.19509074091911316, 0.021133389323949814, -0.037873152643442154, 0.006401436869055033, -0.01618250086903572, 0.038470394909381866, 0.02908475138247013, 0.018313417211174965, 0.01281435415148735, -0.013492912985384464, 0.0642671063542366, 0.002083849161863327, 0.043244369328022, -0.047666601836681366, -0.03167726472020149, 0.04029453545808792, -0.025055740028619766, 0.002157223643735051, -0.009592706337571144, -0.006749297492206097, 0.0029748259112238884, -0.04410428926348686, -0.01600451022386551, 0.0015888850903138518, 0.007018771953880787, -0.010190875269472599, 0.013430899009108543, 0.05885814502835274, 0.0498640313744545, 0.040567509829998016, 0.011985690332949162, 0.0080551877617836, -0.018237881362438202, -0.12594199180603027, 0.0856255441904068, -0.006075930316001177, 0.05059044435620308, -0.0102737070992589, -0.009129885584115982, 0.010107576847076416, 0.06693844497203827, 0.024824481457471848, -0.053091831505298615, -0.009163718670606613, 0.07409991323947906, 0.009928557090461254, -0.014497327618300915, 0.019864395260810852, 0.002671163296326995, 0.06722589582204819, -0.059489525854587555, -0.06171425059437752, -0.021219879388809204, -0.009296181611716747, -0.015728460624814034, -0.022774342447519302, 0.025812333449721336, 0.007668649777770042, 0.02598920650780201, 0.05694940686225891, 0.04139552637934685, 0.05336714908480644, -0.031153524294495583, 0.042703211307525635, -0.002864477224647999, -0.08516101539134979, 0.015896031633019447, -0.04139719903469086, -0.0051882266998291016, -0.041040800511837006, 0.4175143241882324, -0.02023320086300373, -0.020495371893048286, 0.042615845799446106, 0.03713751584291458, 0.012202529236674309, 0.014289897866547108, 0.03286915645003319, -0.03168990835547447, 0.012152382172644138, -0.044664736837148666, 0.011996835470199585, -0.029151903465390205, 0.028270119801163673, -0.046534135937690735, -0.019702324643731117, 0.006618816871196032, 0.008986854925751686, -0.018659209832549095, -0.029818804934620857, -0.008128548972308636, -0.005507365800440311, -0.011646867729723454, 0.011354055255651474, 0.004149628337472677, 0.018373053520917892, -0.03618047386407852, 0.04416767880320549, 0.0726219043135643, 0.02570682018995285, 0.030182866379618645, 0.05274296551942825, -0.07503344118595123, -0.09181197732686996, -0.05215999111533165, -0.0009213191806338727, 0.0041274419054389, 0.04449804499745369, -0.014138679020106792, 0.00007688463665544987, 0.021436776965856552, -0.030429376289248466, -0.039503827691078186, -0.023358214646577835, -0.017992550507187843, -0.09555143117904663, 0.12755833566188812, -0.008809863589704037, 0.014805341139435768, -0.015314476564526558, 0.006919524632394314, -0.02166849561035633, 0.05093534663319588, 0.018391374498605728, -0.09204911440610886, -0.008057897910475731, 0.04340827092528343, 0.027117542922496796, -0.002811290556564927, -0.01749080792069435, -0.043697960674762726, 0.005194911267608404, -0.026808366179466248, -0.04865593463182449, 0.07126258313655853, 0.04360755532979965, -0.08994659036397934, -0.01809435524046421, 0.010215329006314278, 0.028419435024261475, -0.0479416623711586, -0.004886303562670946, 0.019728442654013634, -0.020441660657525063, -0.013989747501909733, 0.04729815572500229, -0.014150934293866158, -0.0326528437435627, -0.01115365605801344, 0.040465109050273895, 0.03196696564555168, 0.004881685599684715, -0.009481227025389671, -0.08167674392461777, 0.004550520330667496, 0.007761442102491856, -0.0447208471596241, -0.03836726397275925, 0.008261042647063732, -0.015600983053445816, -0.03225470706820488, -0.04783575236797333, -0.027367327362298965, -0.06658940017223358, 0.058350514620542526, -0.011368364095687866, -0.006207115016877651, 0.03691041097044945, -0.004043599124997854, 0.027552450075745583, 0.011775841005146503, 0.04028460755944252, 0.08224601298570633, -0.035927657037973404, 0.032029103487730026, -0.07552701979875565, 0.04183350130915642, 0.051883671432733536, -0.030056672170758247, 0.04788508266210556, 0.03122282400727272, -0.04748208448290825, -0.021124938502907753, -0.03020487166941166, 0.02686380408704281, -0.003936633467674255, -0.022461071610450745, -0.002974058035761118, 0.04388139396905899, -0.0029586998280137777, 0.005681912414729595, -0.027702901512384415, -0.0062216357327997684, 0.025880241766572, -0.3632488548755646, -0.03977704048156738, -0.007581760175526142, -0.022315742447972298, -0.018096039071679115, -0.04614834487438202, 0.02847396954894066, -0.009279222227633, -0.006940304301679134, 0.00139601097907871, 0.09878276288509369, 0.0016607089200988412, -0.01375340111553669, -0.04598928615450859, 0.01457618921995163, 0.0010745374020189047, -0.07255937904119492, -0.04007817432284355, -0.025110434740781784, 0.0015299239894375205, 0.008090849034488201, 0.027131617069244385, 0.012273149564862251, -0.06026200205087662, 0.007324350997805595, -0.0476791188120842, 0.09059155732393265, -0.02196474000811577, 0.11711316555738449, -0.027990415692329407, 0.05798069387674332, -0.011090477928519249, 0.047775302082300186, -0.0872790738940239, 0.020659759640693665, -0.03757130354642868, -0.031111914664506912, -0.017827153205871582, 0.027315832674503326, -0.02360759675502777, -0.030896881595253944, 0.027351344004273415, -0.05592123791575432, -0.03253926709294319, -0.005761463660746813, -0.0010613059857860208, -0.013037686236202717, -0.0303951483219862, -0.004340946674346924, 0.07950841635465622, -0.013462280854582787, -0.05250666290521622, 0.003405009163543582, 0.0662238597869873, 0.0013391046086326241, -0.023337479680776596, -0.06554068624973297, -0.0038914743345230818, -0.0005105684394948184, 0.01069070864468813, 0.05324847251176834, 0.0978461280465126, 0.04291372373700142, -0.04185740277171135, 0.001258203643374145, -0.006405303254723549, -0.001737826270982623, -0.012330512516200542, 0.03288119658827782, -0.08424440771341324, -0.04537151753902435, 0.11393433809280396, -0.0006159476470202208, -0.01947561651468277, -0.012899861671030521, 0.0834486335515976, -0.027153657749295235, 0.0005700329202227294, -0.03183756768703461, 0.02129191905260086, 0.006074039731174707, -0.005484553519636393, 0.008127668872475624, -0.01849212311208248, 0.0007182909175753593, 0.020120849832892418, -0.030192416161298752, 0.0011853158939629793, 0.0444440096616745, -0.035680677741765976, -0.03907053545117378, 0.012511192820966244, -0.028567276895046234, -0.05807444453239441, 0.03466886281967163, -0.015120204538106918, -0.26194456219673157, -0.0184114221483469, 0.055437929928302765, 0.03450595960021019, -0.004453109577298164, 0.05728290230035782, 0.0360332615673542, -0.040120843797922134, -0.01446622796356678, 0.0008034170023165643, 0.0433109812438488, 0.04806460812687874, 0.02630016952753067, 0.0024206668604165316, 0.01227723341435194, -0.026352064684033394, 0.04799220338463783, -0.01330519374459982, 0.01881326735019684, 0.022276200354099274, 0.02189614064991474, -0.0169775802642107, 0.14941532909870148, 0.00630419235676527, 0.05345767363905907, 0.018860522657632828, -0.0065783350728452206, 0.035551104694604874, 0.07099107652902603, 0.008486523292958736, 0.02962758019566536, 0.0010917718755081296, 0.08507698774337769, 0.005222299601882696, 0.037749942392110825, -0.0859309658408165, 0.020443573594093323, 0.014051653444766998, 0.007430245168507099, 0.01771012879908085, -0.027713678777217865, 0.02159002609550953, -0.036990415304899216, 0.006089426577091217, 0.086891770362854, 0.010652708820998669, -0.007769323419779539, -0.046418312937021255, -0.02327619679272175, -0.006455869413912296, -0.037892896682024, -0.01770111732184887, 0.019536109641194344, -0.0002708641404751688, -0.012403454631567001, 0.04789012670516968, 0.019306374713778496, -0.03267572820186615, -0.034763216972351074, -0.008878479711711407, 0.02244420535862446, 0.010580469854176044, 0.10518685728311539, 0.036883629858493805, 0.02078837715089321 ]
[ -0.02113521285355091, 0.027638578787446022, -0.015104955993592739, 0.019928880035877228, -0.03025980480015278, 0.026762720197439194, 0.011616047471761703, 0.005400367081165314, -0.00727768475189805, 0.0036540329456329346, 0.01300841011106968, -0.006885583512485027, 0.03609785810112953, -0.012760349549353123, -0.0029109888710081577, -0.012745964340865612, 0.028603918850421906, 0.002544305520132184, -0.009276199154555798, 0.012824310921132565, -0.006179671734571457, 0.038989581167697906, -0.039579518139362335, -0.026473764330148697, -0.026170076802372932, 0.004593139514327049, -0.023973887786269188, -0.05488794669508934, -0.008331729099154472, -0.17769545316696167, -0.005303782410919666, -0.01925443485379219, -0.02748287469148636, 0.012900365516543388, 0.02437290921807289, -0.015530903823673725, 0.061905387789011, 0.009000808000564575, 0.005173675715923309, -0.005119453649967909, -0.007097420282661915, 0.01327777374535799, -0.0031938261818140745, 0.0022712228819727898, 0.02352166920900345, -0.024434808641672134, -0.020990842953324318, -0.03479344770312309, -0.004651329945772886, 0.014683045446872711, 0.0017514277715235949, 0.0111012514680624, 0.04856390506029129, 0.03266209736466408, 0.020645685493946075, 0.009658063761889935, -0.0023661258164793253, -0.02186708338558674, -0.03194881230592728, -0.0006511961692012846, 0.0037626908160746098, 0.0013676990056410432, -0.041875243186950684, -0.03997572138905525, -0.03788767382502556, 0.03233092650771141, 0.005485248751938343, -0.019289204850792885, -0.023219574242830276, -0.025980375707149506, -0.04169744625687599, 0.02207721397280693, -0.052630022168159485, 0.008781584911048412, 0.020501641556620598, -0.02716931700706482, 0.03135640174150467, -0.0004958109348081052, 0.010783618316054344, -0.0437239408493042, -0.027538063004612923, 0.0014891565078869462, 0.02933923527598381, 0.016927840188145638, 0.019180050119757652, -0.020134707912802696, -0.025493698194622993, -0.01540252473205328, 0.011128755286335945, 0.03939012065529823, -0.01088031753897667, 0.034896451979875565, 0.04189421236515045, -0.027964048087596893, -0.0521625317633152, -0.009031813591718674, -0.01644190400838852, -0.06384408473968506, 0.011459216475486755, 0.8172711133956909, 0.020864522084593773, 0.050798699259757996, 0.04707574099302292, 0.032683804631233215, 0.02087613008916378, -0.021814072504639626, -0.0031518007162958384, 0.014946913346648216, 0.02042924053966999, -0.04844893515110016, -0.015767943114042282, 0.023003924638032913, 0.011479432694613934, -0.00866800919175148, -0.011091428808867931, 0.02913890965282917, -0.004798721522092819, -0.024908658117055893, -0.0208705123513937, -0.03316003456711769, 0.03021680936217308, -0.013486508280038834, -0.012648566626012325, -0.010595295578241348, 0.007126420736312866, -0.21292313933372498, -0.006422771140933037, -7.937670336669441e-33, 0.01061062328517437, 0.014004956930875778, -0.009203875437378883, 0.026064250618219376, 0.05468248948454857, 0.01535564661026001, 0.03840426728129387, 0.012975397519767284, 0.020669888705015182, -0.05975937843322754, -0.018032167106866837, -0.03369444981217384, 0.01345160510390997, -0.015416206791996956, 0.02973790280520916, -0.016165636479854584, -0.010570012032985687, 0.05107513815164566, 0.0035873602610081434, -0.012774084694683552, 0.024749960750341415, 0.04684515669941902, 0.04656943306326866, -0.026128970086574554, 0.019242990761995316, 0.025381244719028473, -0.0450807549059391, 0.0042884452268481255, -0.02196299470961094, -0.04239674657583237, 0.04805029183626175, 0.006435193587094545, 0.017267882823944092, -0.025648165494203568, 0.002391811227425933, -0.03238248452544212, -0.0030845976434648037, -0.01114164013415575, -0.033600013703107834, -0.047442808747291565, -0.06857842952013016, -0.0048386952839791775, -0.026927100494503975, 0.030497316271066666, -0.028985491022467613, -0.011975105851888657, -0.018243059515953064, -0.021021125838160515, 0.03759051486849785, 0.03140668943524361, -0.001828834880143404, 0.04269659146666527, 0.025587737560272217, -0.00961047038435936, -0.0242170337587595, -0.015985602512955666, -0.013643678277730942, 0.03331603854894638, -0.011405394412577152, 0.008260740898549557, 0.053410664200782776, -0.053182054311037064, -0.04415132850408554, 0.017602283507585526, -0.03331557661294937, 0.004037872422486544, -0.0116576524451375, -0.002259587636217475, 0.01899784617125988, -0.0483970083296299, -0.02677936479449272, 0.0025738419499248266, -0.005750977899879217, -0.013764088042080402, 0.017153898254036903, -0.015732573345303535, 0.014850775711238384, 0.010718157514929771, 0.01988890767097473, -0.016496412456035614, -0.01043784897774458, -0.012408235110342503, 0.006312793120741844, -0.015464052557945251, -0.009500274434685707, 0.003499529790133238, 0.030736425891518593, -0.013038082048296928, 0.020267128944396973, 0.0041305567137897015, 0.004583617206662893, 0.030073266476392746, 0.04036826640367508, 0.004440327640622854, 0.022639723494648933, 7.222893364236687e-33, 0.0005828785360790789, -0.027087153866887093, -0.034058183431625366, 0.0048816874623298645, -0.029302353039383888, 0.020066913217306137, -0.00171791878528893, 0.04293154552578926, -0.041291266679763794, 0.0013554224278777838, -0.020439177751541138, 0.06495991349220276, -0.01651453971862793, 0.020233511924743652, 0.03533318266272545, -0.015376224182546139, 0.027129756286740303, -0.023498298600316048, 0.021665161475539207, 0.021758046001195908, 0.03210773319005966, 0.020462164655327797, 0.009303503669798374, 0.0019882686901837587, -0.004269477445632219, 0.062952920794487, -0.06763455271720886, 0.0076372018083930016, -0.011645093560218811, -0.01498477440327406, -0.0042635248973965645, 0.0038474120665341616, 0.03575494512915611, -0.01572607271373272, 0.02547594904899597, 0.002852523000910878, -0.022140653803944588, -0.012626622803509235, -0.001982490997761488, 0.02236391231417656, 0.034105315804481506, -0.005156495608389378, -0.012724137865006924, 0.01856335625052452, 0.03257426619529724, 0.010951461270451546, -0.007676430977880955, -0.007483677938580513, 0.030615001916885376, 0.027777541428804398, 0.009633016772568226, -0.019685665145516396, 0.02603105641901493, 0.032092269510030746, 0.012286118231713772, 0.004230116028338671, -0.007570201531052589, -0.011675423011183739, -0.020442018285393715, 0.009820948354899883, -0.022564489394426346, 0.03232455626130104, -0.040736280381679535, 0.04142562299966812, -0.025724580511450768, -0.010977749712765217, -0.0031811362132430077, -0.006760283373296261, 0.0203238595277071, -0.008345783688127995, -0.02961011976003647, -0.02265012450516224, -0.01361860055476427, 0.024991970509290695, 0.05262454226613045, -0.03972826525568962, 0.003482045838609338, -0.03531830385327339, -0.026597216725349426, 0.014187956228852272, -0.02153240703046322, 0.0015582737978547812, 0.04411054402589798, -0.00943373329937458, -0.00146529043558985, -0.0282719898968935, -0.012809187173843384, -0.013653685338795185, 0.02054462395608425, -0.02046077512204647, -0.028205765411257744, -0.045488469302654266, -0.010129446163773537, 0.006948413792997599, 0.003948298282921314, -1.3167279711012725e-8, -0.02582351304590702, 0.02238781750202179, 0.009514476172626019, 0.007573503069579601, 0.03593013435602188, 0.0017731734551489353, -0.023468391969799995, -0.044862762093544006, -0.03622474521398544, 0.02534082531929016, -0.004220218397676945, -0.000014618015484302305, 0.003245290834456682, -0.05614767596125603, 0.05639582872390747, -0.04114251211285591, -0.03738978132605553, -0.017903298139572144, 0.010796526446938515, 0.018123457208275795, 0.023037901148200035, 0.02639332227408886, 0.018095294013619423, 0.0125031853094697, 0.02653992548584938, -0.007904228754341602, 0.032095491886138916, -0.056381698697805405, -0.0019836730789393187, 0.0052510411478579044, 0.010967100970447063, -0.016787420958280563, -0.006099064834415913, 0.014390310272574425, -0.036399226635694504, -0.002640858758240938, 0.018087999895215034, 0.0348624624311924, -0.007287178188562393, -0.0185774527490139, 0.009972859174013138, -0.017586925998330116, -0.0008449206943623722, 0.005479023791849613, 0.0007169697200879455, 0.008953884243965149, -0.04663199931383133, -0.009459048509597778, 0.05838019400835037, -0.040376801043748856, -0.03350288048386574, 0.014697347767651081, 0.0378471240401268, 0.03605375066399574, -0.03113243170082569, -0.004616810940206051, 0.022232739254832268, 0.005724695045500994, 0.006858590990304947, 0.012723802588880062, 0.056055597960948944, 0.03185949847102165, -0.013443881645798683, -0.02717798762023449 ]
c-using-virtual-leads-to-confusion
https://markhneedham.com/blog/2009/05/06/c-using-virtual-leads-to-confusion
false
2009-05-24 23:43:28
TDD: Making the test green quickly
[ "tdd" ]
[ "Testing" ]
Although http://www.markhneedham.com/blog/2009/05/23/its-not-about-equal-keyboard-time/[I pointed out some things that I disagreed with] in http://ca.rroll.net/2009/05/23/is-your-pair-hogging-the-keyboard/[Nick's post about pair programming] one thing that I really liked in that post was that he emphasised the importance of getting tests from red to green as quickly as possible. ____ I remember the best programming sessions I've had was with Stacy Curl, now an ex-thoughtworker and whom I believe was also a chess player. He would always look to quickly make my tests pass, even if it was to just echo the output that my tests would sometimes expect. ____ The idea that we didn't have to implement the real functionality after writing the first test for a method was an idea that I feel really freed me up when doing TDD - previous to this I had often spent a lot of time thinking how exactly I wanted to implement the code to make the test pass and I was never entirely satisfied with this approach. Kent Beck refers to the patterns used to go from red to green quickly as the Green Bar Patterns in his book http://www.markhneedham.com/blog/2008/10/07/test-driven-development-by-example-book-review/[Test Driven Development by Example]. == Fake It This was an idea which I was first introduced to a couple of years ago while pairing with Dan North - the idea is that if you don't know how to implement the real code to make a test pass you just do the minimum to *make it pass by inserting a http://c2.com/cgi/wiki?FakeIt[fake implementation]*. For example, if we have a test checking the calculation of the factorial of 5: [source,csharp] ---- [Test] public void ShouldCalculateFactorial() { Assert.AreEqual(120, CalculateFactorial(5)); } ---- The fake implementation of this would be to return the value '120': [source,csharp] ---- public int CalculateFactorial(int value) { return 120; } ---- I've found that it actually makes pair programming quite fun when we take this approach as it becomes a bit of a game between the two people to try and come up with a test case that forces the other person to write the real implementation code. The thing to be careful with here is that sometimes it can actually end up being more complicated faking code for specific inputs and in these cases it may be easier to just implement the solution. == Triangulate For me triangulating is the *next step that we take after inserting a fake implementation to try and drive towards a more generic solution*. The guidance in the book is that we should look to triangulate when we have two or more examples/tests. In the factorial example perhaps we would drive some example tests which forced us to implement the two parts of the recursive function. Given we started with CalculateFactorial(5) our next step would probably be to calculate the factorial of 0. [source,csharp] ---- [Test] public void ShouldCalculateFactorial() { Assert.AreEqual(120, CalculateFactorial(5)); Assert.AreEqual(1, CalculateFactorial(0)); } ---- Leading to an implementation like this: [source,csharp] ---- public int CalculateFactorial(int value) { if(value == 0) return 1; return 120; } ---- We now have one example for each branch. The next test would look to drive the implementation of the else side of the expression. [source,csharp] ---- [Test] public void ShouldCalculateFactorial() { Assert.AreEqual(1, CalculateFactorial(0)); Assert.AreEqual(24, CalculateFactorial(4)); Assert.AreEqual(120, CalculateFactorial(5)); } ---- We could still try to fake the implementation here... [source,csharp] ---- public int CalculateFactorial(int value) { if(value == 0) return 1; else { if(value == 4) return 24; return 120; } } ---- ...although it would probably be easier to just put the obvious implementation in as that's easier than branching it out for different input values at this stage. [source,csharp] ---- public int CalculateFactorial(int value) { if(value == 0) return 1; return value * CalculateFactorial(value - 1); } ---- == Obvious implementation As I alluded to above obvious implementation is *where you know exactly how to implement the production code to make your test pass* so you might as well just go ahead and write that code straight away. The trap I've run into many times is thinking that I know how to make a test pass by doing the 'obvious implementation' before writing way too much code in an attempt to do so - it wasn't as obvious as I had thought! This is where the other two approaches can be helpful.
null
null
[ 0.008996514603495598, 0.010616470128297806, 0.007461789529770613, 0.04039027914404869, 0.08921032398939133, 0.023879216983914375, 0.03319958224892616, 0.0399538092315197, 0.01403848547488451, -0.031715914607048035, 0.013943640515208244, -0.0058584860526025295, -0.04998251423239708, 0.0012721472885459661, -0.04622000455856323, 0.08470252901315689, 0.07952944934368134, -0.02281896211206913, 0.025875000283122063, 0.004740592557936907, 0.03588337078690529, 0.06427224725484848, 0.02321481518447399, 0.04451046884059906, 0.03721184656023979, 0.03267770633101463, -0.015246693976223469, -0.014935584738850594, -0.05972510576248169, -0.011155486106872559, 0.04915769770741463, 0.012409104034304619, 0.01919477805495262, -0.014366855844855309, 0.016528287902474403, -0.008051731623709202, -0.025046706199645996, 0.02511269599199295, 0.010660656727850437, 0.01757708378136158, -0.0673050507903099, 0.0284673310816288, 0.000785322452429682, 0.022987250238656998, -0.05048524960875511, -0.0031491892877966166, -0.052113261073827744, -0.005659595597535372, -0.008951736614108086, -0.0015349286841228604, -0.06680180877447128, 0.04696456715464592, -0.02601770870387554, 0.01187361404299736, -0.0104222996160388, 0.045821644365787506, 0.023686330765485764, -0.054807063192129135, 0.02514588087797165, -0.042897943407297134, 0.008582175709307194, 0.003059185342863202, -0.0032212533988058567, 0.026859639212489128, 0.010806857608258724, -0.014689978212118149, 0.003452299628406763, 0.04018573835492134, -0.042047493159770966, 0.007961350493133068, -0.012790240347385406, 0.027283618226647377, -0.008133978582918644, -0.03117036446928978, 0.03120025433599949, -0.037985824048519135, -0.007246969733387232, 0.05147772282361984, 0.049153685569763184, 0.027506982907652855, -0.006279684137552977, 0.016643889248371124, 0.03820336237549782, 0.027947012335062027, -0.008825080469250679, -0.02724624238908291, -0.009327566251158714, -0.024424942210316658, -0.051854174584150314, 0.06369519978761673, 0.0011105653829872608, -0.038249529898166656, 0.022007906809449196, 0.039695776998996735, -0.018521495163440704, 0.0037788678891956806, 0.03781002387404442, -0.021070843562483788, -0.011577173136174679, -0.006584389600902796, -0.02033160999417305, -0.04571154713630676, 0.012413558550179005, 0.0245449747890234, -0.08496212959289551, -0.005140950437635183, -0.036925025284290314, -0.004704485181719065, 0.016790959984064102, 0.03507697954773903, -0.04647945612668991, 0.012239092960953712, -0.0071724397130310535, -0.001473136362619698, -0.07675942033529282, 0.0642056092619896, 0.010136245749890804, -0.02477381005883217, -0.0053322273306548595, 0.02905385009944439, 0.04356945678591728, 0.04300863668322563, -0.004690737929195166, 0.07637759298086166, 0.026367725804448128, 0.028158968314528465, 0.0030528486240655184, 0.0462472140789032, -0.01134993601590395, -0.057372018694877625, -0.0005568949854932725, 0.05111650004982948, -0.011785515584051609, -0.006973889656364918, 0.0005640560411848128, -0.026103870943188667, -0.001451220945455134, 0.007465217728167772, 0.019770823419094086, 0.07258340716362, 0.0014169869245961308, -0.041971899569034576, 0.03303290158510208, -0.0036016623489558697, -0.00004642152271117084, -0.007936611771583557, -0.009560092352330685, -0.0019205675926059484, -0.027839355170726776, 0.02921692281961441, 0.006225203163921833, 0.03826770558953285, 0.01444272231310606, -0.04493683576583862, 0.007857595570385456, 0.06941922008991241, 0.0049262093380093575, 0.015013061463832855, -0.01748906448483467, 0.032157089561223984, 0.04443047568202019, 0.03462904319167137, 0.0006246158736757934, 0.019936343654990196, 0.013159655965864658, 0.010231572203338146, 0.007514122873544693, 0.056161243468523026, -0.026926105841994286, 0.00835114624351263, -0.04445366933941841, -0.02240700274705887, 0.06273381412029266, -0.05953868106007576, -0.01923186331987381, 0.04496079310774803, 0.059980664402246475, 0.020955050364136696, 0.04966041445732117, -0.010932973586022854, -0.0872373953461647, 0.017562206834554672, 0.023083193227648735, 0.029555654153227806, 0.0028367030899971724, -0.01628507673740387, 0.06309504061937332, 0.018122181296348572, -0.014617991633713245, 0.03191034123301506, -0.06649117916822433, -0.08100210875272751, -0.018488207831978798, -0.02729993872344494, 0.08292023837566376, -0.03142546862363815, 0.0019904659129679203, 0.06112063676118851, 0.004284011200070381, 0.05913076922297478, 0.014098872430622578, -0.015124921686947346, 0.002152075059711933, -0.04131165146827698, -0.032294344156980515, 0.04575592279434204, 0.03187365084886551, -0.016362544149160385, -0.05766158178448677, -0.004021928645670414, -0.002747753169387579, -0.013344667851924896, 0.02085793763399124, -0.02665458247065544, 0.02384841814637184, 0.026855092495679855, 0.049982793629169464, -0.012004999443888664, 0.04082101210951805, -0.060781341046094894, 0.004045300651341677, 0.020128026604652405, -0.010714524425566196, 0.02058306336402893, 0.002308154944330454, 0.1208684891462326, 0.06179094314575195, -0.05595522001385689, -0.040817707777023315, 0.024779152125120163, 0.004156582988798618, -0.04635820910334587, -0.00888647511601448, -0.02338172309100628, 0.0019981306977570057, -0.016835708171129227, -0.0704106017947197, -0.02550388127565384, 0.033777642995119095, -0.04500812292098999, 0.02474815584719181, 0.07262245565652847, -0.03339119255542755, 0.06286699324846268, -0.03256045654416084, -0.013327181339263916, -0.014660011045634747, -0.0026211512740701437, -0.040186043828725815, -0.010128695517778397, 0.008411936461925507, -0.009364294819533825, 0.046538617461919785, -0.02950129099190235, -0.018892105668783188, -0.029410529881715775, -0.036091398447752, 0.0022925238590687513, 0.0339263379573822, 0.06911416351795197, 0.02381967566907406, 0.05968121811747551, -0.0022398449946194887, 0.006740632466971874, -0.010184315033257008, -0.06006857007741928, -0.029827984049916267, -0.013750177808105946, 0.018098052591085434, 0.03524639829993248, -0.008340814150869846, 0.023440169170498848, 0.01080474816262722, 0.003400114830583334, -0.02138577401638031, -0.023886162787675858, 0.029804104939103127, 0.010354005731642246, -0.025953203439712524, -0.022577429190278053, -0.03739778697490692, 0.053141139447689056, -0.046496521681547165, -0.014578759670257568, 0.018302936106920242, -0.07074464857578278, 0.034986045211553574, -0.08445259183645248, -0.05078556388616562, 0.006684110499918461, 0.009028208442032337, 0.044499728828668594, -0.005206991918385029, 0.020652126520872116, 0.08067141473293304, 0.010115323588252068, 0.007225892506539822, -0.007564939092844725, 0.0053039356134831905, 0.03661710023880005, 0.018050605431199074, 0.013948353007435799, 0.028641171753406525, 0.005384842865169048, 0.0053006564266979694, -0.0669814944267273, 0.027341052889823914, -0.0176989808678627, -0.28644341230392456, 0.05218775197863579, -0.012199856340885162, -0.0369965136051178, 0.007357038091868162, -0.01314619742333889, 0.03418232873082161, -0.04062918201088905, -0.02239251881837845, 0.04192214459180832, -0.05200033634901047, -0.05034344270825386, -0.05007188022136688, 0.04166187718510628, 0.0015092220855876803, -0.00038890549330972135, 0.020534636452794075, -0.05945207178592682, 0.006549633573740721, 0.050583209842443466, 0.007603120524436235, -0.07203072309494019, 0.015355401672422886, 0.03785623982548714, 0.038574960082769394, 0.07524996995925903, -0.09756115078926086, 0.021073222160339355, -0.0451233796775341, 0.01305115595459938, -0.002165881684049964, 0.0223376527428627, 0.01978367567062378, -0.02487020194530487, 0.0032310858368873596, -0.001472154981456697, 0.026922084391117096, -0.010682091116905212, -0.005959154572337866, 0.03437117859721184, -0.023249123245477676, -0.018650203943252563, -0.0041368198581039906, 0.0039350371807813644, 0.08259399980306625, 0.014099400490522385, -0.06611493229866028, -0.0017060277750715613, -0.026808032765984535, 0.0677017793059349, -0.04778851568698883, -0.029190676286816597, -0.00901081319898367, 0.04257747530937195, -0.013079410418868065, -0.04197302460670471, -0.0025442212354391813, -0.012510743923485279, -0.017520414665341377, -0.03654879704117775, -0.017242208123207092, -0.029808897525072098, -0.007704548072069883, -0.04691162705421448, 0.0009358111419714987, -0.0813320204615593, -0.056871868669986725, -0.01221099030226469, 0.0843389704823494, 0.02867208421230316, -0.033596623688936234, 0.0015024365857243538, 0.0019412260735407472, -0.1120176762342453, -0.010769166052341461, 0.013495862483978271, -0.03860875219106674, -0.012249835766851902, 0.012830688618123531, 0.05960814654827118, -0.0448288656771183, -0.0564703568816185, 0.028530720621347427, 0.017072437331080437, 0.025428414344787598, -0.01895586960017681, 0.010027986019849777, 0.014462447725236416, -0.006205811630934477, 0.020421365275979042, 0.08015290647745132, -0.020375287160277367, -0.02308758534491062, -0.05776238813996315, 0.021748734638094902, 0.0019324269378557801, 0.03905694559216499, 0.0013634131755679846, 0.008377901278436184, 0.011889621615409851, 0.005614529363811016, -0.05739768594503403, 0.0469241701066494, -0.03828217089176178, -0.002458470407873392, -0.021848460659384727, -0.04681956395506859, 0.026207907125353813, 0.03927212208509445, 0.029689902439713478, -0.017378684133291245, -0.0325617790222168, -0.003060193732380867, -0.03327057138085365, -0.023681942373514175, -0.030872970819473267, 0.022528916597366333, 0.03861505165696144, -0.02298763580620289, -0.002149338833987713, -0.042927470058202744, -0.0004211781488265842, -0.002405572682619095, -0.008300178684294224, -0.055426642298698425, -0.018950888887047768, -0.014038928784430027, -0.023653419688344002, 0.023753192275762558, 0.018988290801644325, -0.01206191536039114, 0.05058753490447998, 0.0006601925706490874, -0.025495965033769608, 0.006808165460824966, -0.005305607803165913, -0.036655597388744354, -0.023092184215784073, -0.003863614285364747, -0.010258280672132969, 0.021412869915366173, -0.0012046224437654018, 0.011843944899737835, 0.024533972144126892, 0.03935481980443001, 0.011664537712931633, 0.03507407382130623, -0.00815829448401928, 0.011774194426834583, 0.019096147269010544, 0.02698693796992302, -0.07032661885023117, 0.03506764397025108, -0.042297665029764175, -0.03420952335000038, -0.025906356051564217, 0.03220630809664726, 0.002753602573648095, -0.03640415146946907, -0.019501453265547752, 0.016853125765919685, -0.025655843317508698, -0.039917606860399246, -0.046050455421209335, 0.02116226777434349, 0.0690213292837143, -0.023407747969031334, 0.047018732875585556, -0.019139466807246208, -0.0045300256460905075, 0.01575036533176899, 0.011689241044223309, -0.054354604333639145, 0.01256940420717001, 0.009072932414710522, -0.027038419619202614, -0.0022301627323031425, -0.01767047308385372, 0.051584210246801376, 0.00907919742166996, 0.014940639026463032, -0.04748929291963577, 0.010771996341645718, 0.022096717730164528, 0.06076749786734581, 0.0009561178158037364, 0.0007929685525596142, -0.02463190257549286, -0.010131267830729485, -0.0009428986231796443, -0.034003838896751404, -0.03919059783220291, 0.00904085859656334, 0.006398266181349754, -0.04660860449075699, -0.06484474241733551, 0.02953457459807396, 0.03873540833592415, 0.0015432251384481788, 0.03641471266746521, 0.01680932380259037, -0.008086559362709522, -0.011075408197939396, 0.050763070583343506, 0.08221952617168427, -0.0583312027156353, 0.017336701974272728, 0.009828310459852219, -0.00013072043657302856, 0.010803627781569958, 0.013066614978015423, -0.03680536895990372, -0.010748167522251606, -0.016970179975032806, -0.0030959330033510923, -0.04352337867021561, -0.026305178180336952, -0.015683654695749283, 0.006673531606793404, -0.010565712116658688, -0.026314401999115944, 0.0020677363499999046, -0.02107986807823181, -0.022016802802681923, -0.016388850286602974, -0.007327117491513491, -0.04607260599732399, 0.021366428583860397, 0.03945683315396309, -0.03442957252264023, 0.02433745376765728, -0.028314728289842606, 0.017420992255210876, 0.0327191986143589, -0.011883670464158058, -0.04264182597398758, -0.0622805655002594, 0.015486608259379864, -0.013910390436649323, 0.0492386594414711, -0.01327046100050211, -0.04865802079439163, -0.04534463956952095, 0.0050039272755384445, -0.0411369688808918, 0.009596960619091988, -0.013224015012383461, -0.010071569122374058, 0.04066848009824753, 0.053134724497795105, 0.0020473026670515537, 0.027328630909323692, -0.017826631665229797, -0.021478693932294846, 0.033618539571762085, -0.06417455524206161, -0.008902554400265217, -0.020084479823708534, -0.052514445036649704, 0.0028714851941913366, -0.01679048500955105, 0.03245619684457779, -0.03457947075366974, 0.03712684288620949, 0.007203787565231323, 0.0251095462590456, 0.03639564663171768, 0.0024205937515944242, 0.03563028946518898, -0.0440172515809536, 0.006508958525955677, -0.10094944387674332, 0.014532475732266903, 0.0361923947930336, 0.00010989129805238917, -0.019172780215740204, 0.010055316612124443, -0.019800527021288872, 0.03052898682653904, -0.07068561762571335, -0.02255474030971527, 0.04118671268224716, -0.0029902257956564426, -0.014098991639912128, 0.019085098057985306, -0.07053518295288086, 0.022871308028697968, 0.005962310824543238, -0.03387052193284035, -0.044182516634464264, -0.014444401487708092, 0.050325486809015274, 0.014578855596482754, 0.04022449627518654, -0.04389223828911781, -0.008084647357463837, 0.06781027466058731, 0.02225593291223049, 0.0067101046442985535, 0.04313727468252182, -0.009834389202296734, 0.04785315692424774, 0.03235265612602234, 0.00407895864918828, -0.0027034617960453033, -0.007655723486095667, -0.016184119507670403, -0.06177445501089096, 0.012396275997161865, 0.004586636088788509, -0.03343432396650314, -0.050895702093839645, 0.057033926248550415, 0.01976954936981201, -0.02744036540389061, -0.061000145971775055, 0.020531048998236656, -0.04564235731959343, -0.007392807863652706, -0.00982681754976511, 0.004050659481436014, -0.04374641925096512, 0.047924041748046875, 0.012336594983935356, -0.004438233096152544, 0.07080572098493576, 0.012539796531200409, -0.017719697207212448, -0.014318621717393398, 0.09455470740795135, 0.07738310843706131, 0.047047168016433716, 0.013466463424265385, 0.05696651712059975, -0.015270326286554337, -0.042747240513563156, 0.00972644705325365, -0.00475277891382575, -0.03744575008749962, -0.02321144938468933, 0.013854286633431911, 0.07694457471370697, -0.021222800016403198, 0.06204088032245636, -0.03932037204504013, -0.016521839424967766, 0.0006099102320149541, 0.03807902708649635, 0.007075466215610504, 0.06603441387414932, -0.002030069474130869, 0.0024629898834973574, -0.021525895223021507, -0.037216491997241974, 0.02477182447910309, -0.02868443913757801, -0.014966212213039398, -0.0011904656421393156, -0.021360160782933235, 0.02546566352248192, 0.0038534263148903847, 0.024854429066181183, 0.08594143390655518, -0.041363127529621124, 0.0053062341175973415, 0.017385276034474373, 0.020551851019263268, 0.0076278322376310825, -0.008538857102394104, -0.03533358499407768, -0.0143856480717659, -0.022265657782554626, 0.00635035103186965, -0.0038847445975989103, -0.031545232981443405, -0.021980391815304756, 0.04524248465895653, -0.015741363167762756, 0.0003056642599403858, 0.037772975862026215, 0.0016954410821199417, -0.0282184686511755, -0.07267553359270096, -0.05086381733417511, -0.03679016977548599, -0.05083940178155899, -0.02492348663508892, 0.021931467577815056, -0.015256693586707115, -0.02715151570737362, -0.007149877957999706, -0.031076017767190933, -0.028417550027370453, 0.03335050866007805, -0.04972434043884277, -0.044221147894859314, 0.018995793536305428, 0.019234104081988335, 0.01616724021732807, 0.02250293828547001, 0.04601747915148735, -0.007894208654761314, -0.004839279688894749, -0.04769834876060486, -0.025100160390138626, 0.04261696711182594, 0.0023374874144792557, 0.007817397825419903, -0.07909498363733292, 0.017723314464092255, 0.004537460394203663, -0.007548354100435972, -0.07326432317495346, 0.024437928572297096, -0.010905899107456207, -0.006992826238274574, 0.05688309296965599, -0.032135725021362305, 0.009563297964632511, -0.029635494574904442, -0.0006662632804363966, -0.0047844164073467255, 0.01410012785345316, 0.05404368042945862, -0.025200793519616127, 0.09297657012939453, 0.003420958761125803, -0.020405292510986328, -0.04090782254934311, -0.02445111609995365, 0.00023372785653918982, 0.00047213557991199195, -0.02042231336236, -0.027133870869874954, -0.027540039271116257, -0.07904502004384995, -0.009670044295489788, 0.00745247770100832, -0.027005307376384735, -0.029056688770651817, 0.04312872886657715, 0.02251153439283371, -0.028302814811468124, 0.028325412422418594, -0.049603451043367386, 0.017383161932229996, -0.031628068536520004, -0.016967106610536575, 0.014127080328762531, 0.011289438232779503, -0.02921944670379162, 0.017317146062850952, 0.03198247775435448, -0.043233662843704224, -0.008019614964723587, 0.012008452787995338, 0.027184447273612022, 0.026436327025294304, -0.00044127836008556187, -0.015322037041187286 ]
[ -0.127247616648674, 0.004067770671099424, -0.031346794217824936, -0.02061198092997074, -0.01656840182840824, -0.01516185887157917, 0.013269036076962948, 0.01846664398908615, 0.011033494025468826, -0.038358423858881, -0.02268928289413452, -0.016432834789156914, 0.011311710812151432, -0.005856972653418779, 0.06990914046764374, -0.0052690147422254086, -0.013077491894364357, -0.06481090188026428, 0.009697655215859413, 0.022074636071920395, 0.026630055159330368, -0.028274446725845337, -0.056429166346788406, -0.04752251133322716, 0.015091542154550552, 0.03236735239624977, 0.03351158648729324, -0.05726734548807144, 0.01607886329293251, -0.2184566706418991, 0.0050759706646203995, 0.009038214571774006, 0.052357275038957596, -0.03869922459125519, -0.022327996790409088, 0.03191208839416504, 0.011828703805804253, 0.006540266796946526, -0.030152924358844757, 0.005280037876218557, 0.007279767654836178, -0.003891517175361514, -0.027572138234972954, -0.004151341505348682, 0.0430765375494957, 0.021841593086719513, -0.008150029927492142, -0.03655737265944481, -0.008768463507294655, 0.013296255841851234, -0.05947602540254593, -0.01829642243683338, 0.003068415680900216, -0.03090984746813774, 0.00216819834895432, 0.02204868011176586, 0.05653233826160431, 0.07390988618135452, 0.005472240969538689, 0.02581128478050232, -0.01066529843956232, 0.005155008286237717, -0.1148475855588913, 0.076469287276268, 0.03789859265089035, 0.035832829773426056, -0.019430171698331833, -0.04199286922812462, 0.006927907932549715, 0.11158186942338943, 0.012350611388683319, -0.023093633353710175, -0.026431281119585037, 0.055340707302093506, 0.011990736238658428, 0.00270511070266366, -0.0174546055495739, 0.009235118515789509, 0.04181128740310669, -0.04439949616789818, -0.024201413616538048, -0.0006618399056605995, -0.011666559614241123, -0.0033310172148048878, -0.023419054225087166, 0.03027014061808586, -0.025675611570477486, 0.03927251324057579, 0.03483495116233826, 0.01753094419836998, 0.04292253777384758, -0.030540723353624344, 0.014738410711288452, -0.023348873481154442, -0.06483407318592072, -0.000923078041523695, 0.017702607437968254, 0.02626081369817257, -0.04261845350265503, 0.46699726581573486, -0.04869365319609642, 0.0004017760802526027, 0.05712175369262695, 0.02141810953617096, -0.028443748131394386, -0.00962480902671814, 0.028579259291291237, -0.06051407754421234, 0.009018057025969028, -0.03959153592586517, 0.026951972395181656, -0.004870682954788208, 0.0827765241265297, -0.019881604239344597, -0.012556909583508968, 0.045077644288539886, 0.040827929973602295, 0.01613491028547287, 0.02048550359904766, 0.0003792152856476605, -0.01604670099914074, 0.018313812091946602, 0.016102541238069534, -0.03396863862872124, -0.01569586992263794, -0.0677502453327179, 0.013156491331756115, 0.059345558285713196, 0.0024824219290167093, 0.011097769252955914, 0.06460310518741608, -0.05278840661048889, -0.042657967656850815, 0.01161058060824871, -0.002349267713725567, 0.0006233008462004364, 0.024766581133008003, -0.013480893336236477, 0.02059183642268181, 0.04028582200407982, 0.00661039724946022, -0.011175611056387424, 0.03940688446164131, 0.004066023044288158, -0.023741869255900383, 0.10573723167181015, 0.0010670666815713048, -0.030928438529372215, -0.005745092872530222, -0.01560106873512268, 0.01597266085445881, 0.015463431365787983, -0.016029050573706627, -0.06904852390289307, 0.01616264134645462, 0.01293985266238451, 0.10207953304052353, 0.0031860738527029753, -0.040796250104904175, 0.004879315849393606, -0.044281985610723495, -0.019288303330540657, -0.07080519944429398, 0.033369384706020355, 0.07511856406927109, -0.07506266236305237, -0.006282450165599585, -0.0018407214665785432, 0.035594817250967026, -0.08020783960819244, 0.022220665588974953, -0.00547450827434659, -0.03260482847690582, -0.01631186343729496, 0.03825971484184265, -0.03160206228494644, -0.03609380125999451, 0.008653884753584862, 0.03801244869828224, 0.004955964628607035, 0.03035627491772175, -0.013228105381131172, -0.044450752437114716, 0.014236832968890667, -0.015213064849376678, -0.050517018884420395, -0.035304613411426544, -0.007263548206537962, -0.02595813013613224, 0.022315697744488716, 0.0031274487264454365, -0.026452016085386276, -0.10143382102251053, 0.08301275223493576, -0.042971279472112656, -0.05759677663445473, 0.03023953177034855, -0.04047110304236412, -0.03220085799694061, -0.019893895834684372, -0.03278760984539986, 0.012342225760221481, -0.037468086928129196, 0.03170863911509514, -0.062063317745923996, 0.035039983689785004, 0.04959844797849655, -0.0663122683763504, 0.11740453541278839, 0.07564989477396011, -0.018343599513173103, -0.054109469056129456, -0.01158398948609829, 0.021649211645126343, -0.015364647842943668, -0.03934489190578461, 0.004136561881750822, 0.010443794541060925, -0.012189354747533798, 0.043077681213617325, -0.023323239758610725, 0.01858588494360447, -0.02188527211546898, -0.3327075242996216, -0.03888125345110893, -0.017768146470189095, -0.0023305935319513083, 0.03929295390844345, -0.060862574726343155, -0.0009563868516124785, 0.0070327771827578545, -0.024344949051737785, 0.002165462588891387, 0.08115765452384949, 0.006026146002113819, -0.011676060035824776, -0.08336499333381653, 0.012562240473926067, 0.013247299939393997, -0.035070545971393585, -0.01625220663845539, -0.014833343215286732, 0.018491970375180244, -0.0015650559216737747, 0.020590845495462418, -0.011519216932356358, -0.06132453680038452, 0.0018178739119321108, -0.0511491522192955, 0.10230410844087601, -0.01625696010887623, 0.10407789051532745, -0.02855595014989376, 0.026289116591215134, 0.0013511627912521362, 0.027538226917386055, -0.08038416504859924, 0.017867226153612137, -0.007515351753681898, -0.004636084660887718, -0.03406527638435364, 0.0503426231443882, -0.043257106095552444, -0.044921454042196274, 0.010882503353059292, -0.04733699560165405, -0.05034223943948746, -0.0671510249376297, 0.00780809810385108, -0.0187936183065176, -0.034388087689876556, -0.018452083691954613, 0.07129479944705963, 0.01988396979868412, -0.015594128519296646, 0.012712933123111725, -0.010037836618721485, 0.003927146550267935, -0.03908581659197807, -0.0803864374756813, 0.0124397287145257, -0.00040240699308924377, -0.01247820071876049, 0.033914923667907715, 0.05076879635453224, 0.0069181714206933975, -0.03245452046394348, -0.0032381557393819094, 0.006703132763504982, -0.002993227681145072, -0.020633626729249954, 0.05355481058359146, 0.014205541461706161, -0.011996929533779621, 0.09220726788043976, 0.009687709622085094, -0.001724345376715064, 0.02777251973748207, 0.046563271433115005, -0.0014396932674571872, 0.02751617506146431, 0.030845632776618004, 0.0023770479019731283, -0.004445039667189121, -0.002435022499412298, 0.04152235388755798, -0.024800095707178116, -0.025369323790073395, -0.013725369237363338, 0.018957603722810745, -0.013175118714571, 0.07493121922016144, 0.013817249797284603, -0.03479067236185074, 0.01582074724137783, 0.004346959292888641, -0.0590662807226181, 0.09698213636875153, -0.011214682832360268, -0.23880431056022644, 0.008748844265937805, 0.048660412430763245, 0.04711321368813515, -0.027332819998264313, 0.025979245081543922, 0.02807321399450302, -0.05543336644768715, -0.017341619357466698, -0.017794400453567505, 0.009295566938817501, 0.03076380118727684, 0.0036254371516406536, 0.014125390909612179, 0.035925157368183136, -0.023040497675538063, 0.04652586579322815, -0.02350372076034546, 0.009914381429553032, -0.00469584297388792, 0.01820405200123787, -0.007157118525356054, 0.16410399973392487, -0.0029731476679444313, 0.02138187363743782, 0.04855315759778023, 0.029658595100045204, 0.011179625056684017, 0.09929823130369186, 0.004937487654387951, 0.0003466221387498081, 0.007258035242557526, 0.020765304565429688, -0.005577153526246548, 0.011858602054417133, -0.04652537778019905, -0.02558574266731739, 0.016859937459230423, 0.026818538084626198, 0.005383128300309181, 0.027913430705666542, -0.011104291304945946, -0.02709987387061119, 0.0104928994551301, 0.07147771865129471, 0.037049550563097, 0.006186237558722496, -0.03893883153796196, -0.04051318019628525, -0.024143695831298828, -0.015409818850457668, -0.03591114655137062, 0.004598068539053202, -0.013117334805428982, 0.008059854619204998, 0.07039819657802582, 0.015602665022015572, -0.020285774022340775, -0.019290916621685028, 0.00393460551276803, -0.002229053294286132, -0.010888651944696903, 0.1179652139544487, 0.04483631253242493, 0.025609850883483887 ]
[ -0.020642194896936417, 0.036135539412498474, -0.03548029065132141, 0.0004902574582956731, -0.05397099629044533, 0.03575487807393074, -0.0018849304178729653, 0.01968996226787567, 0.03969578444957733, -0.014968409202992916, -0.026252832263708115, 0.004726908169686794, 0.02273034118115902, -0.0389530174434185, -0.0008680883329361677, -0.0340474471449852, 0.0031362532172352076, 0.0032737785950303078, 0.011394303292036057, -0.009008174762129784, -0.04057091102004051, -0.028331471607089043, -0.002195588778704405, -0.02940206415951252, -0.018072204664349556, -0.004834297113120556, 0.024666020646691322, -0.028540417551994324, 0.03190700709819794, -0.14515076577663422, -0.04659690707921982, -0.02996709942817688, -0.006358148064464331, 0.015834752470254898, -0.054649680852890015, 0.013102352619171143, 0.0101201506331563, 0.016704658046364784, -0.021082207560539246, -0.012080633081495762, -0.018203360959887505, -0.01614711433649063, 0.010914312675595284, 0.05483929067850113, 0.01628687232732773, 0.011861640959978104, -0.002332930453121662, -0.012196780182421207, -0.03361083194613457, -0.03524186834692955, -0.05035686865448952, 0.011138025671243668, -0.019792873412370682, 0.0011599418940022588, 0.005009461659938097, -0.014942246489226818, 0.009404872544109821, -0.02390158921480179, 0.05334709212183952, -0.003721049288287759, -0.012024071998894215, 0.005652708001434803, -0.041803717613220215, -0.021559810265898705, -0.02780110388994217, -0.00009902478632284328, -0.012820051051676273, -0.004036162048578262, -0.0004211045161355287, 0.002622319618239999, -0.033745091408491135, 0.021705076098442078, -0.005335600581020117, -0.037908121943473816, 0.0068820081651210785, 0.007099941372871399, 0.0038397302851080894, -0.02591104991734028, 0.020051874220371246, -0.01941636949777603, -0.04694421589374542, -0.008601497858762741, 0.010402729734778404, 0.01755473203957081, 0.05267574265599251, 0.004486778751015663, 0.015843195840716362, 0.022478340193629265, 0.016173461452126503, 0.0029527507722377777, 0.0005927484598942101, 0.04604807123541832, -0.012217480689287186, 0.02792014554142952, -0.08111798018217087, 0.007929051294922829, -0.018133923411369324, -0.017557360231876373, 0.0021667126566171646, 0.8438387513160706, -0.00998375378549099, 0.05156505107879639, 0.040272604674100876, 0.015017421916127205, -0.014151454903185368, -0.008099808357656002, 0.006183191668242216, -0.0033084703609347343, 0.02501404657959938, -0.0592513307929039, 0.023886408656835556, -0.00885874405503273, 0.024984819814562798, 0.018603211268782616, 0.021952232345938683, 0.048291947692632675, 0.018905919045209885, -0.003403825918212533, -0.0003348772879689932, 0.003440405009314418, 0.013435081578791142, 0.015313849784433842, -0.017715388908982277, 0.0035025617107748985, 0.002742893761023879, -0.19694724678993225, -0.012967300601303577, -7.283869194949716e-33, 0.03357371687889099, -0.0011226573260501027, 0.006016687955707312, -0.017298446968197823, 0.011892647482454777, 0.025271795690059662, 0.03195742517709732, 0.014853372238576412, -0.009373658336699009, -0.008540871553122997, 0.027188025414943695, 0.019679881632328033, -0.007348435930907726, -0.011505515314638615, 0.03276969492435455, -0.006385030224919319, 0.0019347560591995716, 0.030434636399149895, -0.03746822848916054, 0.01828584261238575, 0.05201268941164017, 0.017569808289408684, 0.019519304856657982, -0.023544106632471085, 0.01578262820839882, 0.028352828696370125, 0.018225662410259247, 0.027442241087555885, 0.009440924040973186, -0.048292126506567, -0.026193613186478615, 0.026441117748618126, -0.040329709649086, -0.007922643795609474, 0.005343770608305931, -0.035586949437856674, 0.014976409263908863, 0.016919033601880074, 0.002472621388733387, 0.019367868080735207, -0.028136614710092545, 0.0012834218796342611, -0.03358779475092888, -0.02146589756011963, 0.007510010153055191, -0.03783740475773811, -0.011029875837266445, 0.03963843360543251, 0.03606034442782402, -0.029960520565509796, -0.011597095057368279, 0.03917597234249115, 0.012606475502252579, -0.010951954871416092, -0.017461592331528664, -0.004375446122139692, -0.004569890443235636, 0.03822986036539078, -0.005754085257649422, 0.06362031400203705, 0.024310672655701637, 0.022422729060053825, -0.010332843288779259, 0.020721662789583206, -0.018861709162592888, -0.020091494545340538, -0.013826274313032627, 0.009309466928243637, 0.010772379115223885, -0.018268268555402756, -0.04252538084983826, 0.012204749509692192, -0.010325878858566284, -0.036087896674871445, 0.020566636696457863, -0.02083911933004856, 0.005512735806405544, 0.008539199829101562, -0.011964443139731884, 0.011942103505134583, 0.005258551333099604, -0.01705441251397133, -0.018384387716650963, -0.022304555401206017, 0.005603375378996134, -0.013883826322853565, -0.01651589199900627, -0.0063540213741362095, -0.024271061643958092, -0.0013317145640030503, 0.01665588654577732, 0.02984016202390194, -0.003979107365012169, -0.014577974565327168, -0.009287099353969097, 6.955990025042794e-33, -0.012252737767994404, -0.008986455388367176, -0.02979240193963051, 0.03021843545138836, 0.05480040982365608, -0.011915487237274647, 0.021161075681447983, -0.025264302268624306, -0.018131913617253304, 0.02516382746398449, -0.025552069768309593, 0.009502528235316277, -0.023072246462106705, 0.040817949920892715, 0.05078873783349991, -0.03345900774002075, 0.017954273149371147, -0.012101096101105213, 0.0180324949324131, -0.022104943171143532, 0.006707349792122841, 0.0031342545989900827, 0.018557973206043243, 0.025607561692595482, 0.01384697388857603, 0.05173423886299133, -0.021864132955670357, 0.0258188396692276, -0.003566982224583626, 0.014316011220216751, -0.017930766567587852, 0.029199035838246346, 0.007202202919870615, -0.005395481828600168, -0.021308040246367455, 0.029117116704583168, -0.005378871224820614, -0.017278118059039116, 0.004630972631275654, 0.03322620317339897, 0.03611734136939049, -0.027892272919416428, -0.010299604386091232, 0.0051146638579666615, 0.005690532270818949, 0.035617195069789886, 0.01472168043255806, -0.026923401281237602, -0.008431213907897472, 0.010954598896205425, 0.0519106462597847, 0.029602114111185074, -0.03484920784831047, -0.0019160587107762694, -0.027970531955361366, -0.01178885530680418, -0.03201565518975258, 0.002517096232622862, 0.006477979477494955, 0.033280324190855026, -0.013196825981140137, 0.0011982821160927415, -0.02362562157213688, 0.02161468006670475, -0.00035698621650226414, 0.01094821561127901, 0.004723570309579372, 0.005004131700843573, 0.002416051924228668, 0.0056684743613004684, -0.022391682490706444, 0.013623139820992947, 0.004867281764745712, 0.03685039281845093, -0.015050392597913742, -0.012549765408039093, 0.00007867043314035982, -0.005903828889131546, 0.020529454573988914, 0.016965633258223534, 0.028447670862078667, -0.004394455812871456, 0.03319013863801956, -0.0009731740574352443, -0.021626479923725128, 0.030942464247345924, -0.015874994918704033, 0.03175830468535423, 0.003798354882746935, -0.014826550148427486, -0.006031522527337074, 0.0058167786337435246, 0.017924107611179352, 0.01163671538233757, 0.00833535473793745, -1.3048044422703242e-8, 0.02441316843032837, 0.005501306615769863, -0.0305059552192688, 0.0033704827073961496, -0.00596266845241189, -0.001605199882760644, -0.011639507487416267, -0.035144735127687454, -0.055224061012268066, 0.009412039071321487, 0.012903932482004166, -0.017273003235459328, 0.047701988369226456, 0.0012356204679235816, 0.033400118350982666, -0.035218048840761185, -0.010756346397101879, -0.04897869750857353, 0.02207157388329506, 0.014770553447306156, 0.015406043268740177, 0.03844447061419487, -0.024046560749411583, 0.029741967096924782, -0.0031610876321792603, -0.023236865177750587, 0.018916890025138855, -0.0709107369184494, -0.008426506072282791, 0.007373298052698374, 0.020286530256271362, -0.01439613662660122, -0.010856888256967068, 0.001351089682430029, -0.016161682084202766, -0.025748109444975853, 0.028759941458702087, 0.04747536778450012, 0.028469249606132507, -0.012157117947936058, -0.07005931437015533, -0.018451174721121788, -0.02903440035879612, -0.03255545347929001, -0.021611962467432022, -0.028510740026831627, -0.05315828695893288, -0.029896609485149384, 0.005829464644193649, -0.047425512224435806, -0.011013872921466827, 0.040595922619104385, 0.010718165896832943, -0.010738248005509377, 0.005971887148916721, 0.02939598821103573, -0.018477803096175194, -0.02202286198735237, -0.03328775614500046, -0.03284063562750816, 0.0257735438644886, -0.0025915605947375298, -0.01311548426747322, -0.025897471234202385 ]
tdd-making-the-test-green-quickly
https://markhneedham.com/blog/2009/05/24/tdd-making-the-test-green-quickly
false
2009-05-24 19:25:07
Real World Functional Programming: Book Review
[ "c", "net", "books", "f", "book-review" ]
[ "Books" ]
== The Book http://manning.com/petricek/[Real World Functional Programming] by Tomas Petricek with Jon Skeet (http://www.functional-programming.net/[corresponding website]) == The Review I decided to read this book after being somewhat inspired to learn more about functional programming after talking with http://fragmental.tw/[Phil] about his experiences learning http://clojure.org/[Clojure]. I'm currently working on a .NET project so it seemed to make sense that F# was the language I picked to learn. == What did I learn? * I've worked with C# 3.0 since around July 2008 so I had a bit of experience using some of the functional features in C# before picking up this book. I therefore found it very interesting to read about the history of lambda and the different functional languages and how they came into being. Having this as an opening chapter was a nice way to introduce the functional approach to programming. * *Immutable state* is one of the key ideas in functional programming - this reminded me of a http://channel9.msdn.com/posts/Charles/JAOO-2007-Joe-Armstrong-On-Erlang-OO-Concurrency-Shared-State-and-the-Future-Part-2/[Joe Armstrong video] I watched last year where he spoke of his http://www.markhneedham.com/blog/2009/03/22/coding-making-the-debugger-redundant/[reduced need to use a debugger] when coding Erlang due to the fact that there was only one place where state could have been set rather than several as is the case with a more imperative approach. We have been trying to code with immutable state in mind in our http://www.markhneedham.com/blog/category/coding-dojo/[coding dojos] and while it takes a bit more thinking up front, the code is much easier to read when written that way. * *Separating the operations from the data* is important for allowing us to write code that can be parallelised, focusing on *what to do to the data rather than how to do it*. http://sadekdrobi.com/[Sadek Drobi] has a nice illustration of what he calls mosquito programming vs functional programming on page 14 of the http://qconlondon.com/london-2009/file?path=/qcon-london-2009/slides/SadekDrobi_FunctionalProgrammingWithAMainstreamLanguage.pdf[slides of his QCon presentation]. It describes this idea quite nicely. * A cool technique that Phil taught me when reading language related books is to have the PDF of the book on one side of the screen and the http://en.wikipedia.org/wiki/REPL[REPL] (in this case F# interactive) on the other side so that you can try out the examples in real time. The book encourages this approach and all the examples follow on from previous ones which I think works quite well for gradually introducing concepts. * *Functions are types* in functional programming - I have had a bit of exposure to this idea with Funcs in C# but partial function application is certainly a new concept to me. I can certainly see the value in this although it took me a while to get used to the idea. I am intrigued as to where we should use a functional approach and where an OO approach when working in C#. I think both have a place in well written code. * F#'s *implicit static typing* is one of my favourite things about the language - you get safety at compile time but you don't waste a lot of code writing in type information that the compiler should be able to work out for you. It has the strongest type inference of any language that I've worked with and I thought it was quite nice that it was able to work stuff out for me instead of me having to type it all out. * I really like the idea of http://www.markhneedham.com/blog/2009/01/02/f-option-types/[option types] which I first learnt about from the book. Having the ability to explicitly define when a query hasn't worked is far superior to having to do null checks in our code or the http://www.markhneedham.com/blog/2008/08/16/null-handling-strategies/[various strategies we use to get around this]. * I thought it was cool that in the early chapters the focus with the F# code is to provide *examples that you can just get running straight away* instead of having to worry about the need to structure your code in a maintainable way. After I had a reasonable grasp of this then the chapter about using record types to structure code in an OO way come up. I still prefer the C# style of structuring code in objects - it just feels more natural to me at the moment and manages the complexity more easily. It is quite easy to switch between the two styles http://www.markhneedham.com/blog/2009/04/18/f-refactoring-that-little-twitter-application-into-objects/[using features like member augmentation] so I think it's probably possible to mix the two styles quite easily. * We can *use modules to make F# functions which don't fit onto any class available from C# code*. The code is not as clean as if we were writing just for it to be used by other F# code but it's not too bad: ~~~ocaml module Tests = let WithIncome (f:Func<_, _>) client = { client with Income = f.Invoke(client.Income) } ~~~ We can then call this in our C# code like so: ~~~csharp Tests.WithIncome(income \=> income + 5000, client); ~~~ Dave Cameron has http://intwoplacesatonce.com/?p=9[written more about this]. * Although I studied *data structures* at university I don't really pay a great deal of attention to them in terms of performance normally so it was interesting to see the massive performance hit that you take when appending a value to the end of an F# list compared to adding it to the beginning. F# uses linked lists so if we want to add something to the end then there is a lot of recursion involved to do that which is quite costly. In terms of http://en.wikipedia.org/wiki/Big_O_notation[big O notation] we go from O(N) where N is the number of elements to append to O(N*M) in terms of performance. * Chapter 13 is about parallel processing of data for which I found I needed to download the http://www.microsoft.com/downloads/details.aspx?FamilyId=348F73FD-593D-4B3C-B055-694C50D2B0F3&displaylang=en[Microsoft Parallel Extensions to .NET Framework 3.5, June 2008 Community Technology Preview] and then add a reference to 'C:\Program Files\Microsoft Parallel Extensions Jun08 CTP\System.Threading.dll' in order to make use of those features. * The author provides a nice introduction to http://en.wikipedia.org/wiki/Continuation[continuations] and how you can make use of them in F# by using http://blogs.msdn.com/wesdyer/archive/2007/12/22/continuation-passing-style.aspx[continuation passing style]. I'm intrigued as to how we can make use of these in our code - we do a bit already by making use of callbacks which get fired at a later point in our code - but http://www.double.co.nz/pdf/inverting-back-the-inversion.pdf[from what I've read] it sounds like we should be able to do even more especially when writing web applications. * http://www.infoq.com/articles/pickering-fsharp-async[Asynchronous workflows] are also made very accessible in this book - I had previously struggled a bit with them but the author covers the various API methods available to you and then explains what is going on behind the syntactic sugar that F# provides. I have made some use of these in the http://www.markhneedham.com/blog/2009/04/13/f-a-day-of-writing-a-little-twitter-application/[little] http://www.markhneedham.com/blog/2009/04/18/f-refactoring-that-little-twitter-application-into-objects/[twitter appication] that I've been working on now and again. == In Summary I really enjoyed reading this book - it's my first real foray into the world of functional programming since university and I think I understand the functional approach to programming much better than I did back then from reading this book. It takes an approach of introducing various functional programming concepts before showing examples of where that concept might come in useful when coding. It's also particularly useful that examples are shown in C# and F# as this made it much easier for me to understand what the F# code was doing by comparing it with the code in a more familiar language. I'd certainly recommend this to any .NET developers curious about learning how to apply ideas derived from functional programming to their C# code and indeed to any developers looking to start out learning about functional programming.
null
null
[ 0.00947445910423994, 0.010990545153617859, -0.016346821561455727, 0.012730219401419163, 0.08273244649171829, 0.01576593890786171, 0.025426579639315605, 0.038175277411937714, 0.007982208393514156, -0.0216663908213377, 0.01739373989403248, -0.006119759753346443, -0.07140233367681503, 0.010116860270500183, -0.031739741563797, 0.061542775481939316, 0.08050684630870819, -0.01959405653178692, 0.029084788635373116, 0.01249446626752615, 0.021782880648970604, 0.08038049191236496, 0.023991214111447334, 0.034392498433589935, 0.01858813688158989, 0.014572939835488796, 0.02632562629878521, -0.005140784662216902, -0.05899076908826828, 0.0033540527801960707, 0.04279161989688873, 0.02351275086402893, -0.005794194992631674, 0.005155890714377165, 0.01437367033213377, -0.016793739050626755, 0.0005681607290171087, 0.01107789482921362, 0.008011813275516033, 0.033049773424863815, -0.06658751517534256, 0.01612941548228264, 0.005062812939286232, 0.017041776329278946, -0.04015681892633438, 0.012081677094101906, -0.040934182703495026, 0.010224972851574421, -0.007670846302062273, 0.0028782617300748825, -0.0571853443980217, 0.019730698317289352, -0.0018129058880731463, 0.0006679570069536567, -0.04030926898121834, 0.05410810187458992, 0.012149606831371784, -0.049688078463077545, 0.019130593165755272, -0.05773812159895897, -0.0030600798781961203, -0.00664881058037281, 0.025446055456995964, 0.03254341334104538, 0.026231026276946068, -0.017062438651919365, -0.03283078595995903, 0.04409324377775192, -0.05849643424153328, -0.013091456145048141, -0.016403457149863243, 0.02569791115820408, -0.024630635976791382, -0.00873294472694397, 0.022348806262016296, -0.043733447790145874, -0.0041265590116381645, 0.07374952733516693, 0.006140815559774637, 0.04423901066184044, -0.008139891549944878, 0.04958668351173401, 0.04052237048745155, 0.01744011603295803, 0.0011585564352571964, -0.024122143164277077, -0.034742724150419235, -0.03098251111805439, -0.05179545655846596, 0.05795438215136528, 0.008616641163825989, -0.04904542118310928, -0.00682592811062932, 0.03927160054445267, -0.0038559376262128353, 0.004761447198688984, 0.028682371601462364, -0.009298463352024555, -0.02063751220703125, -0.004445818718522787, -0.01874593459069729, -0.03650103136897087, 0.016225311905145645, -0.02363828383386135, -0.07947095483541489, -0.022508228197693825, -0.020730651915073395, -0.004923529457300901, 0.014114199206233025, 0.00877099484205246, -0.0375245027244091, 0.03206363320350647, -0.010879559442400932, 0.008189748041331768, -0.06930852681398392, 0.0727934017777443, -0.009847844019532204, -0.033690761774778366, -0.017036041244864464, 0.0064811850897967815, 0.06094993278384209, 0.03249138221144676, 0.0014416886260733008, 0.08093593269586563, 0.026118895038962364, 0.010398329235613346, -0.016082124784588814, 0.0579344742000103, -0.01343383826315403, -0.05326681584119797, -0.023852573707699776, 0.04763226583600044, -0.040376320481300354, -0.0031904778443276882, -0.0037286332808434963, -0.03626176714897156, -0.020023761317133904, 0.015276636928319931, 0.029308024793863297, 0.05034269019961357, 0.0020913793705403805, -0.035717353224754333, 0.03240589424967766, -0.025890883058309555, 0.03040163405239582, -0.00895778089761734, 0.013810504227876663, -0.0041484348475933075, -0.017613958567380905, 0.01160194631665945, 0.021257853135466576, 0.04481884837150574, 0.024158159270882607, -0.033617716282606125, 0.03146170824766159, 0.08064579963684082, 0.018018515780568123, 0.03770958632230759, -0.016774680465459824, 0.02388138137757778, 0.05333521217107773, 0.03308810666203499, 0.016295619308948517, 0.024967674165964127, 0.005724969785660505, -0.004877767059952021, 0.0016667491290718317, 0.0638849213719368, 0.012393778190016747, -0.009746510535478592, -0.0423993282020092, -0.034248050302267075, 0.05972360819578171, -0.03272856026887894, -0.030345017090439796, 0.014312625862658024, 0.07866716384887695, 0.01029368955641985, 0.050313904881477356, -0.021838907152414322, -0.0786091536283493, 0.024982908740639687, 0.028126046061515808, 0.014175466261804104, -0.002653789473697543, -0.017230292782187462, 0.08329383283853531, 0.015551420859992504, 0.01631917804479599, 0.03283880278468132, -0.04081731662154198, -0.08383852243423462, -0.02235114574432373, -0.0400211401283741, 0.08600472658872604, -0.029991190880537033, -0.0042139277793467045, 0.051720306277275085, 0.003159774001687765, 0.0505233108997345, 0.028681321069598198, -0.01732766628265381, 0.004846724681556225, -0.023153992369771004, -0.032971493899822235, 0.05539260059595108, 0.034267544746398926, 0.013492191210389137, -0.05658096820116043, 0.017037836834788322, 0.012312569655478, -0.007339342962950468, 0.030968468636274338, -0.024006972089409828, 0.039215344935655594, -0.004112835507839918, 0.0460544228553772, -0.027542583644390106, 0.05651763454079628, -0.041271913796663284, 0.014186277985572815, 0.004093565512448549, -0.012722130864858627, 0.01398341916501522, 0.005534746218472719, 0.1216537356376648, 0.07780074328184128, -0.04875348508358002, -0.02931804023683071, 0.026458660140633583, 0.00517847528681159, -0.050098590552806854, -0.020802760496735573, 0.003561545629054308, 0.006143396720290184, 0.003368213539943099, -0.039905086159706116, 0.001572197419591248, 0.014558021910488605, -0.0397760383784771, 0.008273143321275711, 0.06604886800050735, -0.022703787311911583, 0.04913843423128128, 0.006167144980281591, -0.038831260055303574, 0.002908592578023672, -0.01531288679689169, -0.06090473383665085, 0.004258513450622559, -0.008251193910837173, -0.023792903870344162, 0.0650152862071991, -0.02255113236606121, -0.015566191636025906, -0.034847259521484375, -0.03350035846233368, 0.034844767302274704, 0.0540330745279789, 0.06368719041347504, -0.009999450296163559, 0.045371558517217636, -0.029741670936346054, -0.0030230090487748384, -0.010368414223194122, -0.06030945107340813, -0.02840994857251644, -0.023070553317666054, 0.0219483133405447, 0.0354093573987484, -0.000390790868550539, 0.021281933411955833, 0.025058940052986145, 0.007485020440071821, -0.02418551966547966, -0.02667856402695179, 0.04209069907665253, -0.008048838935792446, -0.04006558656692505, -0.029074085876345634, -0.04875132814049721, 0.06125880032777786, -0.04641881585121155, -0.02248181402683258, -0.010825700126588345, -0.05526864528656006, 0.05193473771214485, -0.07691275328397751, -0.03200260177254677, -0.003301519202068448, 0.03669416159391403, 0.026970084756612778, -0.011988368816673756, -0.0015045634936541319, 0.06965335458517075, 0.021898722276091576, 0.0049804458394646645, 0.001554242568090558, -0.00619278009980917, 0.00457038264721632, 0.00846869871020317, 0.01572437211871147, 0.04337284341454506, 0.014774402603507042, 0.0006784648867323995, -0.04705171659588814, 0.018963154405355453, -0.014210356399416924, -0.27790898084640503, 0.03775785118341446, -0.002497423207387328, -0.04113553464412689, 0.021991664543747902, 0.018064288422465324, -0.012545514851808548, -0.055506542325019836, -0.009725886397063732, 0.024248287081718445, -0.04022613540291786, -0.042510103434324265, -0.04815950617194176, 0.05114569142460823, 0.01127604115754366, 0.010551500134170055, 0.010903384536504745, -0.04076869785785675, -0.030730416998267174, 0.055146507918834686, -0.005667112767696381, -0.07479274272918701, -0.0001418126921635121, 0.0267653726041317, 0.04185301437973976, 0.035955388098955154, -0.09889378398656845, 0.037831395864486694, -0.06032068282365799, -0.011329173110425472, -0.01923801377415657, 0.007921632379293442, 0.016805877909064293, -0.04369707778096199, -0.007002934813499451, -0.027635524049401283, 0.028932200744748116, 0.011905931867659092, 0.007388907950371504, 0.01643199659883976, -0.017246583476662636, -0.030826551839709282, -0.006078810431063175, 0.004643754102289677, 0.07680591195821762, 0.0179725494235754, -0.0896584540605545, -0.012544765137135983, -0.03241703659296036, 0.06853274255990982, -0.03857899457216263, -0.05968029424548149, 0.0018777961377054453, 0.04639051482081413, 0.01424398459494114, -0.03785114735364914, -0.0027602778282016516, -0.026759715750813484, -0.03929242864251137, -0.021047038957476616, -0.030215905979275703, -0.03312616050243378, -0.01774577610194683, -0.07065322250127792, -0.018995214253664017, -0.05749817192554474, -0.07835729420185089, -0.018446728587150574, 0.07711413502693176, 0.02823825553059578, -0.035239242017269135, 0.013596737757325172, -0.01980290375649929, -0.10888645797967911, -0.04339909553527832, -0.012476806528866291, -0.03906026855111122, -0.006198194809257984, 0.036062855273485184, 0.050310783088207245, -0.03932178020477295, -0.05869714543223381, 0.015028423629701138, 0.031693071126937866, 0.053230833262205124, -0.024770300835371017, 0.0048322672955691814, -0.0032146265730261803, -0.03635072708129883, -0.0034691784530878067, 0.0727679580450058, 0.0024646269157528877, -0.0002573956153355539, -0.05189882218837738, 0.028973594307899475, 0.0037114594597369432, 0.03873128071427345, -0.01398193184286356, 0.01840856298804283, 0.029250862076878548, 0.01311253011226654, -0.049209751188755035, 0.025423215702176094, -0.02659834362566471, -0.0078087253496050835, 0.002861730055883527, -0.06698184460401535, 0.023684082552790642, 0.03797236829996109, 0.009895597584545612, -0.021660855039954185, -0.04639891907572746, 0.01624327525496483, -0.06860750168561935, -0.0424749031662941, -0.00825522281229496, 0.01824038103222847, 0.04195530712604523, -0.00190535478759557, 0.00028580703656189144, -0.055862605571746826, 0.0001257959083886817, -0.005190141499042511, -0.03799861669540405, -0.06053132191300392, -0.033989351242780685, -0.026233457028865814, -0.01708231307566166, 0.005999488290399313, 0.038306862115859985, -0.0038612321950495243, 0.040388453751802444, 0.007576162461191416, -0.03992554545402527, 0.023406006395816803, -0.021652277559041977, -0.03742694854736328, -0.03287152945995331, -0.02160121500492096, -0.014857574366033077, 0.009153961203992367, 0.005852808244526386, 0.027162475511431694, 0.008141541853547096, 0.01713455654680729, 0.023785118013620377, 0.025562910363078117, 0.0175618939101696, 0.004842073190957308, 0.02182728797197342, 0.0038249122444540262, -0.06657197326421738, 0.030883310362696648, -0.04939774051308632, -0.024123279377818108, 0.0015061189187690616, 0.05432155728340149, -0.026424048468470573, -0.05135524645447731, -0.026723287999629974, 0.036269016563892365, -0.04362216219305992, -0.010619484819471836, -0.03208855539560318, -0.01695157028734684, 0.07352529466152191, -0.026357406750321388, 0.043391190469264984, -0.02486887387931347, -0.011207174509763718, 0.007458795793354511, 0.029141614213585854, -0.040004000067710876, 0.020915040746331215, 0.012138120830059052, -0.01200083363801241, -0.021914929151535034, 0.014664934948086739, 0.03434394299983978, -0.0010814863489940763, 0.007507032714784145, -0.016747092828154564, 0.00006422364094760269, 0.023247286677360535, 0.06470168381929398, -0.008817311376333237, 0.013782855123281479, -0.011790086515247822, -0.029135119169950485, -0.00991660077124834, -0.01872137002646923, -0.0058553158305585384, -0.007083258591592312, 0.023076176643371582, -0.04105198755860329, -0.060764871537685394, 0.03191947564482689, 0.04536472633481026, -0.005781109444797039, 0.007682662922888994, 0.01544565986841917, 0.015551927499473095, -0.027599863708019257, 0.01041808258742094, 0.07122715562582016, -0.0476730614900589, 0.012349993921816349, -0.004435191862285137, 0.011438771151006222, 0.015893297269940376, 0.008929086849093437, -0.03724421560764313, -0.015276482328772545, -0.017117328941822052, 0.0011846801498904824, -0.02524476684629917, -0.02066555805504322, -0.008820617571473122, -0.00616373959928751, -0.01141204684972763, -0.033166851848363876, -0.005656753666698933, -0.007999223656952381, -0.026793014258146286, -0.03266657888889313, 0.016836104914546013, -0.03576675057411194, 0.022214405238628387, 0.029733838513493538, -0.0468122661113739, -0.0004911043215543032, -0.04583442211151123, 0.028716422617435455, 0.0248413048684597, -0.008128893561661243, -0.031413860619068146, -0.05193745344877243, 0.00800341460853815, -0.02079010009765625, 0.04773726314306259, -0.0042387270368635654, -0.02885059267282486, -0.03731455281376839, -0.011751675046980381, -0.060822706669569016, 0.013072413392364979, -0.015126184560358524, -0.0007732222438789904, 0.03173617646098137, 0.04654867947101593, -0.012322068214416504, 0.028226250782608986, -0.023668749257922173, -0.010610401630401611, 0.05515328794717789, -0.049197666347026825, -0.023567872121930122, -0.02294466458261013, -0.03759127855300903, 0.005782953463494778, 0.0007174055790528655, 0.017422934994101524, -0.03410518541932106, 0.025660868734121323, 0.032339733093976974, 0.04134310409426689, 0.04283330589532852, -0.0069552320055663586, 0.04802422970533371, -0.03267008438706398, 0.003530152840539813, -0.09041935205459595, -0.0020623975433409214, 0.01887797936797142, 0.010665802285075188, -0.021140938624739647, -0.00579745601862669, -0.027705170214176178, 0.047385722398757935, -0.07882184535264969, -0.000998302479274571, 0.04537012428045273, -0.0010952254524454474, -0.020715823397040367, 0.02199314534664154, -0.05425937473773956, 0.029741661623120308, 0.02381153777241707, -0.04578200727701187, -0.01742442138493061, -0.011386899277567863, 0.038339316844940186, -0.004871544428169727, 0.03642162308096886, -0.005050394218415022, 0.00445271423086524, 0.06063489615917206, 0.030709849670529366, -0.0032000921200960875, 0.06468342989683151, -0.01718221977353096, 0.028930163010954857, 0.025494111701846123, 0.0023053400218486786, -0.0038327493239194155, 0.019450459629297256, -0.02457529492676258, -0.07006994634866714, 0.0012634755112230778, 0.003063532989472151, -0.03660794720053673, -0.053091861307621, 0.06758823245763779, 0.028403501957654953, -0.01650812476873398, -0.05041908100247383, 0.00659558642655611, -0.07056473940610886, 0.000306343863485381, -0.016090285032987595, 0.023366961628198624, -0.054513510316610336, 0.04465920478105545, 0.004989131819456816, -0.009019841440021992, 0.05633290484547615, -0.011385894380509853, -0.03240470588207245, -0.03108028694987297, 0.09759421646595001, 0.08624891191720963, 0.055364467203617096, 0.015387075021862984, 0.06168762594461441, -0.027505086734890938, -0.03685754910111427, -0.0011903526028618217, 0.003813680727034807, -0.01526699960231781, -0.01418251171708107, 0.02846391312777996, 0.08626430481672287, -0.010009964928030968, 0.07543877512216568, -0.030400387942790985, -0.010216666385531425, -0.00018733658362179995, 0.023354098200798035, 0.005759652704000473, 0.07053402811288834, 0.02235591597855091, 0.026909178122878075, -0.008971482515335083, -0.04709425941109657, 0.03390848636627197, -0.021295905113220215, -0.0056989421136677265, -0.013656407594680786, 0.00657546054571867, 0.035600695759058, 0.01815229281783104, 0.042342424392700195, 0.08150438219308853, -0.025743039324879646, 0.017679492011666298, -0.003684466937556863, 0.02018303982913494, 0.008644490502774715, 0.0013495335588231683, -0.04437820613384247, -0.02049233205616474, 0.007376285269856453, 0.0008953181095421314, -0.024886835366487503, -0.02284647710621357, -0.03196309134364128, 0.03339731693267822, -0.021136172115802765, -0.01892971061170101, 0.005091310478746891, 0.01127035915851593, -0.022513749077916145, -0.05668400228023529, -0.061015836894512177, -0.02281472086906433, -0.057330645620822906, -0.014514392241835594, -0.0015102471224963665, -0.022023646160960197, -0.03163342922925949, -0.01980736292898655, -0.013669493608176708, -0.025503799319267273, 0.03975078836083412, -0.049136802554130554, -0.03422928601503372, 0.018388645723462105, 0.030670268461108208, 0.05006032809615135, 0.014502495527267456, 0.050672318786382675, -0.011856993660330772, -0.00974955689162016, -0.012630144134163857, -0.01543754618614912, 0.030813131481409073, 0.009000014513731003, 0.01942146010696888, -0.08459562808275223, 0.031684983521699905, 0.026758180931210518, 0.01294107735157013, -0.07994192838668823, 0.02387581579387188, 0.009154832921922207, -0.012364412657916546, 0.03960730880498886, -0.04074797034263611, -0.0023759445175528526, -0.039818234741687775, -0.0018782425904646516, -0.005496865604072809, 0.02316453494131565, 0.047050926834344864, -0.03159930557012558, 0.09856956452131271, 0.00638367235660553, -0.018084796145558357, -0.031671199947595596, -0.01915832795202732, -0.014620165340602398, 0.017299961298704147, -0.02762535586953163, -0.016629941761493683, -0.004227309487760067, -0.0680304616689682, -0.0020641961600631475, 0.009754028171300888, -0.03519245609641075, -0.03715963661670685, 0.020790493115782738, 0.04087831452488899, -0.04072652384638786, 0.044909872114658356, -0.025722036138176918, 0.024552008137106895, -0.012021162547171116, -0.007453806232661009, 0.003186536720022559, 0.013836987316608429, -0.0003945035277865827, 0.018127651885151863, 0.008761901408433914, -0.04534780979156494, -0.014653549529612064, -0.003931449726223946, 0.025095516815781593, 0.040162649005651474, 0.0067318519577383995, 0.01603180170059204 ]
[ -0.12635181844234467, -0.028556760400533676, -0.038296811282634735, -0.023928703740239143, 0.01758980192244053, -0.012847457081079483, -0.0189555361866951, 0.05021482706069946, 0.001357557950541377, -0.017106054350733757, 0.0011851751478388906, -0.03507808595895767, -0.02200651541352272, 0.015465077012777328, 0.07743500918149948, 0.015193316154181957, -0.0006044101901352406, -0.041320689022541046, -0.027798261493444443, -0.0011002621613442898, 0.03146665170788765, -0.05395962670445442, -0.047741927206516266, -0.045099977403879166, 0.01844450831413269, 0.04794876277446747, 0.05522795766592026, -0.03948101028800011, 0.03330441191792488, -0.20184014737606049, -0.016314100474119186, 0.035562727600336075, 0.06803889572620392, -0.01885022409260273, -0.017104750499129295, 0.030377792194485664, 0.03354936093091965, -0.0022740140557289124, -0.04166730120778084, 0.06033571437001228, 0.009513871744275093, 0.028989531099796295, -0.019071310758590698, 0.0037694964557886124, 0.04853083938360214, -0.015441878698766232, 0.002262345515191555, -0.03258837014436722, -0.025156987830996513, 0.008752868510782719, -0.087882861495018, -0.02384510450065136, -0.0015007172478362918, -0.014626577496528625, 0.015446985140442848, 0.026777369901537895, 0.016373660415410995, 0.07897710055112839, -0.011110964231193066, 0.016502799466252327, -0.0006271535530686378, -0.00728471577167511, -0.10251462459564209, 0.08755780011415482, 0.05258052051067352, 0.06009393557906151, -0.0025505651719868183, -0.037992630153894424, 0.00908562820404768, 0.08323197811841965, -0.001220893464051187, -0.04489725083112717, -0.027049969881772995, 0.03774455934762955, 0.02016610838472843, -0.02713153138756752, 0.008664531633257866, 0.007110461592674255, 0.0332341343164444, -0.047307416796684265, -0.003262836718931794, -0.021849263459444046, 0.004313695710152388, -0.017788954079151154, -0.047963839024305344, 0.039923541247844696, -0.019287381321191788, 0.05294935405254364, 0.013945179060101509, 0.011984195560216904, 0.010502195917069912, -0.003552581649273634, 0.051084160804748535, 0.009747656062245369, -0.06484755128622055, 0.0014892971375957131, 0.003763268468901515, 0.02108066901564598, -0.021047035232186317, 0.45552128553390503, -0.04725249111652374, -0.022906072437763214, 0.07275916635990143, 0.02631399966776371, -0.008014734834432602, 0.012289359234273434, 0.0236201211810112, -0.033068493008613586, 0.023883156478405, -0.05740221589803696, -0.024553438648581505, 0.014792684465646744, 0.06282330304384232, -0.036339372396469116, 0.0026141232810914516, 0.003138428321108222, 0.05807093530893326, 0.015457559376955032, 0.05006405711174011, 0.00785512663424015, 0.017738891765475273, -0.0012137284502387047, 0.018936775624752045, 0.008465328253805637, 0.007777993101626635, -0.07196653634309769, 0.00942193903028965, 0.0484103262424469, 0.04416478052735329, 0.03468005359172821, 0.07598967105150223, -0.01779525727033615, -0.054020557552576065, -0.011843697167932987, 0.0052117290906608105, 0.025795593857765198, 0.01492941565811634, -0.04353438690304756, 0.004244904965162277, 0.019485825672745705, -0.008133982308208942, -0.011382902972400188, 0.025781672447919846, -0.043239280581474304, -0.05449838563799858, 0.09640618413686752, 0.02474101074039936, -0.01882459968328476, -0.021785499528050423, -0.0159373190253973, 0.009016407653689384, 0.037230152636766434, -0.002961593447253108, -0.0578976571559906, 0.0322105847299099, 0.021909158676862717, 0.09399916976690292, -0.013720831833779812, -0.07009995728731155, -0.0052161929197609425, -0.07943832874298096, -0.009013820439577103, -0.05087466910481453, 0.06184196099638939, 0.008449713699519634, -0.10201796889305115, -0.01207585446536541, 0.010281999595463276, 0.04106859862804413, -0.06753494590520859, 0.01107021328061819, 0.013750646263360977, -0.029852626845240593, 0.01682567596435547, 0.049564749002456665, -0.016580665484070778, -0.01838255487382412, -0.015115411020815372, 0.03197138383984566, 0.031114207580685616, -0.01324075274169445, -0.0026034663897007704, -0.03256422281265259, 0.00388230849057436, -0.029090607538819313, -0.08010032027959824, -0.03932199999690056, -0.0073734004981815815, -0.020342601463198662, 0.012638836167752743, 0.002270870143547654, -0.0011796716134995222, -0.05552833899855614, 0.05737922340631485, -0.05634232237935066, -0.045099806040525436, 0.015941813588142395, -0.005503659602254629, -0.029295610263943672, -0.020641520619392395, -0.023267319425940514, 0.04215746000409126, -0.027860963717103004, 0.029148796573281288, -0.051001522690057755, 0.0024579784367233515, 0.0457904227077961, -0.05403904244303703, 0.0716237872838974, 0.05366206169128418, -0.03587556257843971, -0.03555706888437271, 0.017294645309448242, 0.007177324499934912, 0.003353269537910819, -0.04701538011431694, -0.0007192944176495075, 0.020744772627949715, -0.01929265260696411, -0.0028277295641601086, -0.039913028478622437, -0.03035423904657364, -0.06203697249293327, -0.31104180216789246, -0.025361303240060806, -0.034400973469018936, -0.03918727859854698, 0.019960464909672737, -0.08057529479265213, 0.008953611366450787, -0.018592659384012222, -0.0208232831209898, -0.0022560341749340296, 0.08031901717185974, 0.006371631752699614, -0.020036399364471436, -0.10020165890455246, 0.009303512051701546, 0.0065888576209545135, 0.015130529180169106, -0.04632004722952843, -0.0589541532099247, 0.026015181094408035, 0.0019720271229743958, 0.012731648050248623, -0.015575941652059555, -0.05107071250677109, -0.012303760275244713, -0.05284741520881653, 0.0754612386226654, -0.029628394171595573, 0.1397583931684494, -0.010174700058996677, 0.03678847476840019, -0.00906003825366497, 0.026394959539175034, -0.08926507085561752, -0.003925854340195656, -0.004999624099582434, 0.03213190659880638, -0.028375010937452316, 0.05318424478173256, -0.03596113622188568, -0.03563588857650757, 0.0020742863416671753, -0.06778188794851303, -0.033156633377075195, -0.03517218679189682, 0.011469156481325626, 0.0007444415823556483, -0.03613240644335747, -0.018981678411364555, 0.05461835116147995, 0.008902217261493206, -0.0071709672920405865, 0.011020747944712639, 0.033983826637268066, -0.027977174147963524, -0.011321469210088253, -0.0783175453543663, -0.005987406242638826, -0.015311028808355331, 0.018873656168580055, 0.04415078088641167, 0.04685123637318611, 0.01780971698462963, -0.04579591006040573, 0.023518836125731468, 0.002940809354186058, -0.014584812335669994, -0.002983331913128495, 0.049360450357198715, -0.011564724147319794, -0.03997255489230156, 0.07038623839616776, -0.013858139514923096, -0.00019567708659451455, 0.02423098497092724, 0.060312047600746155, -0.013229943811893463, 0.04261651635169983, 0.017690468579530716, -0.010866346769034863, 0.030725015327334404, -0.013437802903354168, 0.04631891846656799, -0.035588935017585754, -0.012885605916380882, 0.0037372803781181574, -0.012603094801306725, -0.026201102882623672, 0.015664588660001755, 0.01919686049222946, -0.04223328083753586, 0.009174259379506111, 0.005358905531466007, -0.08360934257507324, 0.09369100630283356, 0.0007856284501031041, -0.2428601235151291, 0.018477099016308784, 0.07208301872015, 0.052891574800014496, -0.023057691752910614, 0.026251405477523804, 0.04038430005311966, -0.08481736481189728, 0.0006092996336519718, 0.006606073584407568, 0.03801754117012024, 0.02585541643202305, 0.028626149520277977, -0.005197628401219845, 0.06040901690721512, -0.0071599651128053665, 0.01822446845471859, -0.0037982638459652662, 0.00765117397531867, 0.026871787384152412, 0.04348073899745941, 0.034867268055677414, 0.16296696662902832, 0.00956564862281084, 0.04009013622999191, 0.009829338639974594, 0.018626190721988678, 0.027259711176156998, 0.06568212062120438, 0.021462053060531616, 0.03545628860592842, 0.029086828231811523, 0.04188670590519905, 0.02321190945804119, 0.013459455221891403, -0.08622771501541138, -0.028607672080397606, 0.06010350584983826, 0.024613961577415466, -0.015553445555269718, -0.004296530969440937, 0.002484578639268875, -0.0264135655015707, 0.009166078642010689, 0.06963745504617691, 0.03083651140332222, -0.020297018811106682, -0.06631061434745789, -0.03205510601401329, 0.0009662947850301862, -0.04596513509750366, -0.041231341660022736, 0.017810659483075142, -0.021175069734454155, -0.007552845403552055, 0.07167712599039078, 0.008993449620902538, -0.04992596060037613, -0.027659039944410324, 0.015546157024800777, 0.013586441986262798, -0.02323344349861145, 0.10543715953826904, 0.03147580474615097, 0.0201265886425972 ]
[ -0.011396516114473343, 0.009136192500591278, -0.01554562896490097, -0.0023993400391191244, -0.023233840242028236, 0.008920197375118732, 0.0226338729262352, 0.0214830469340086, -0.006101325619965792, -0.011026207357645035, -0.01725350320339203, 0.023499205708503723, -0.0005576816620305181, -0.006476761307567358, 0.029706567525863647, -0.00845820177346468, -0.014778819866478443, -0.007549161557108164, 0.00539269857108593, 0.0012465156614780426, 0.007490685675293207, 0.009924931451678276, 0.007142296526581049, 0.0011884658597409725, -0.006210840307176113, 0.02384951151907444, -0.006071936339139938, -0.021832415834069252, 0.009591087698936462, -0.12956996262073517, -0.029277987778186798, -0.024097776040434837, 0.0029217142146080732, -0.002553254598751664, -0.01367372926324606, -0.012268361635506153, -0.009015423245728016, -0.009734057821333408, 0.0053583974950015545, -0.012417864985764027, -0.004387893248349428, 0.01567680574953556, -0.01769953779876232, -0.017532577738165855, -0.013056231662631035, 0.019723810255527496, 0.013089602813124657, -0.056367386132478714, 0.021878790110349655, -0.005600437056273222, -0.02444969303905964, 0.03287890926003456, -0.02603049762547016, 0.01397355180233717, 0.04331405460834503, -0.03692009672522545, 0.010601717978715897, -0.01422124169766903, -0.02494705282151699, -0.0211758092045784, -0.029184166342020035, 0.0025408363435417414, -0.03046097233891487, -0.006096225697547197, -0.00017460329399909824, 0.00811238493770361, 0.0009763794369064271, -0.0015380093827843666, 0.005583576858043671, -0.011818839237093925, -0.0012910470832139254, 0.004452044609934092, -0.0216094758361578, -0.024244798347353935, 0.018878988921642303, -0.00369170936755836, 0.03485593944787979, -0.001299290801398456, 0.02086472511291504, 0.003400260815396905, -0.037011295557022095, 0.025331079959869385, 0.011499281041324139, 0.017001919448375702, 0.02147538959980011, -0.004035009536892176, -0.029848143458366394, -0.03884212672710419, 0.01840614527463913, 0.009445752948522568, -0.02943556383252144, 0.01228987704962492, 0.006293369922786951, -0.0009102186886593699, -0.07171332091093063, 0.0029071266762912273, 0.0022221377585083246, -0.017413757741451263, 0.0012955691199749708, 0.8612001538276672, -0.009552247822284698, 0.03838435187935829, 0.043543435633182526, 0.0036634455900639296, 0.0016830125823616982, 0.003118197899311781, 0.011627266183495522, -0.02562110498547554, 0.005866160150617361, -0.049883726984262466, -0.0063588437624275684, 0.011784922331571579, 0.06512002646923065, 0.02328515611588955, 0.006885527167469263, 0.014580965042114258, 0.020547648891806602, -0.011403151787817478, 0.03828349709510803, 0.008288385346531868, 0.004226955585181713, -0.03867475315928459, 0.0010762809542939067, 0.037211861461400986, 0.019546644762158394, -0.17902196943759918, -0.029441798105835915, -8.845918985568159e-33, 0.019252661615610123, -0.016203558072447777, 0.014322131872177124, -0.00321496301330626, 0.018381644040346146, -0.013680626638233662, 0.04631217569112778, -0.05099803954362869, -0.028484728187322617, -0.012526110745966434, -0.024652088060975075, 0.004740090575069189, 0.005770964082330465, -0.016466878354549408, 0.00322754611261189, -0.024621089920401573, 0.01980816386640072, 0.021627206355333328, -0.002709051361307502, 0.008671024814248085, 0.051730260252952576, 0.014564923010766506, -0.007443494163453579, -0.020537404343485832, 0.007620673626661301, 0.016173584386706352, -0.0026758876629173756, -0.003777248552069068, -0.005359105300158262, -0.04634079337120056, -0.026108749210834503, 0.02297056093811989, -0.013346460647881031, -0.001023885328322649, 0.029490876942873, -0.03267127275466919, -0.01271150540560484, -0.0073105338960886, -0.006907536648213863, -0.031756386160850525, -0.022657638415694237, 0.003191996831446886, -0.050117820501327515, 0.007532941643148661, -0.02104729413986206, -0.015967512503266335, -0.012563131749629974, 0.0537598617374897, 0.025942042469978333, 0.009198615327477455, 0.032981324940919876, 0.020786942914128304, 0.0071816290728747845, -0.028791939839720726, -0.013232162222266197, 0.0274325180798769, -0.003480013692751527, -0.018686896190047264, 0.0252413060516119, 0.08025555312633514, -0.005250383168458939, -0.012050491757690907, -0.00438628951087594, -0.010427318513393402, 0.012075778096914291, -0.017650410532951355, -0.015984706580638885, 0.03107602149248123, 0.04422759637236595, -0.015895046293735504, -0.04334075748920441, -0.01355914305895567, 0.0015748445875942707, -0.019718822091817856, 0.01965220831334591, 0.006633853539824486, -0.006494809873402119, -0.04889542609453201, -0.04327502101659775, 0.024061428382992744, 0.04932500422000885, 0.008804052136838436, -0.017952237278223038, -0.004889148287475109, 0.011393464170396328, -0.011329215951263905, 0.021536119282245636, -0.02860381081700325, 0.006859718356281519, 0.0021252455189824104, 0.04753158986568451, -0.013431370258331299, 0.03023407608270645, -0.030209019780158997, -0.019411930814385414, 8.632227336900114e-33, -0.02445697784423828, -0.03024536930024624, -0.04601564258337021, -0.005454751197248697, -0.00038264322211034596, -0.027049193158745766, 0.029469909146428108, -0.010127791203558445, -0.049964483827352524, 0.06138533353805542, -0.01972678303718567, -0.006219975184649229, -0.0020073240157216787, 0.04117697849869728, 0.0226240586489439, -0.005302819889038801, 0.02523263730108738, -0.00825955905020237, 0.03566734120249748, -0.011342440731823444, -0.0013657102826982737, 0.0037003124598413706, 0.01381268072873354, 0.01313990168273449, -0.012714505195617676, 0.05686565116047859, -0.03633233159780502, 0.008687964640557766, 0.006166027393192053, -0.007391622755676508, -0.012098638340830803, -0.016792286187410355, 0.019163398072123528, -0.017674941569566727, -0.0021967459470033646, 0.017712678760290146, -0.004465721547603607, -0.027234936133027077, 0.014772003516554832, 0.0010465377708896995, 0.01303169410675764, -0.017458494752645493, 0.003637652611359954, 0.007348237559199333, 0.012033226899802685, 0.03264272212982178, 0.010195069946348667, -0.015975693240761757, -0.01881478540599346, 0.015596218407154083, -0.007163145113736391, 0.02341703325510025, -0.007733670063316822, 0.009696872904896736, -0.004675936885178089, -0.006055266130715609, 0.014095029793679714, -0.000633014366030693, -0.01809607446193695, -0.012301835231482983, -0.01909579709172249, -0.014777453616261482, -0.014865045435726643, 0.01173068955540657, -0.0073605990037322044, 0.002589342650026083, 0.007763180416077375, -0.053507834672927856, 0.01771334744989872, -0.015269000083208084, -0.02521263062953949, 0.03047218918800354, 0.022927571088075638, 0.03164207562804222, 0.017835281789302826, -0.018901029601693153, -0.012282280251383781, 0.016570372506976128, -0.017158053815364838, 0.04339868947863579, 0.011434925720095634, -0.03128458186984062, -0.009229033254086971, -0.0007650362676940858, -0.02030494436621666, -0.0016107618575915694, -0.01895083300769329, 0.026756063103675842, -0.0063058435916900635, -0.04116258770227432, -0.0010131201706826687, 0.015440003015100956, -0.01974816434085369, 0.03819451853632927, 0.011746377684175968, -1.3855554037434104e-8, -0.011696575209498405, 0.026211393997073174, -0.02809717506170273, 0.024760974571108818, 0.03505810350179672, 0.02300248108804226, -0.016457194462418556, -0.034191470593214035, -0.04462164267897606, 0.0024628688115626574, 0.029005706310272217, -0.017882823944091797, -0.0018393450882285833, -0.035323768854141235, 0.03951079770922661, -0.0005015578935854137, 0.010858049616217613, -0.007769272197037935, 0.03430554270744324, 0.019594119861721992, 0.030342521145939827, 0.06730040162801743, -0.032165221869945526, 0.02238726057112217, -0.012181967496871948, 0.010807804763317108, 0.021833887323737144, -0.07180039584636688, -0.003042866475880146, 0.006596737541258335, 0.00299465493299067, -0.03166375309228897, -0.009734388440847397, 0.011163719929754734, -0.025914354249835014, -0.06182925030589104, 0.017957834526896477, 0.023762278258800507, 0.013648067601025105, -0.015522842295467854, -0.014899679459631443, -0.0036168296355754137, 0.003464119043201208, -0.014148669317364693, -0.0011474586790427566, 0.020499935373663902, -0.0012688436545431614, -0.004297638777643442, 0.009690551087260246, -0.03806620463728905, 0.031591251492500305, 0.019253959879279137, 0.054695725440979004, 0.04160023480653763, 0.010628136806190014, 0.023768167942762375, -0.0029180089477449656, -0.024654598906636238, -0.01801866851747036, 0.04167143628001213, -0.003034107154235244, 0.041785985231399536, -0.03630787506699562, -0.010177402757108212 ]
real-world-functional-programming-book-review
https://markhneedham.com/blog/2009/05/24/real-world-functional-programming-book-review
false
2009-05-23 16:35:56
Pair Programming: It's not about equal keyboard time
[ "pair-programming" ]
[ "Pair Programming" ]
My colleague http://ca.rroll.net[Nick Carroll] recently blogged some ideas about http://ca.rroll.net/2009/05/23/is-your-pair-hogging-the-keyboard/[what to do if your pair is hogging the keyboard], suggesting using a timer which keeps track of how long each person has had at the keyboard as a useful way of ensuring that both people in the pair stay more engaged. While I can see the thinking behind this I think it is addressing the wrong problem. From my experience we don't always want to be moving the keyboard between the two people quickly at all times - I have certainly seen times where it makes sense for one person to be spending more time at the keyboard than the other. A particular example of this is when there is a *difference in experience between the two people* at the particular skills required to complete the task they're working on. On a project I worked on around 18 months ago I was struggling to stay engaged as the navigator as I didn't really understand what was going on and the half/half split in keyboard time wasn't really helping. Chatting with a more experienced colleague about this at the time he suggested that when I paired with him he was perfectly happy to spend the majority of the time navigating while I drove so that I could get more understanding around the code base and become more useful to the team. This colleague was clearly keeping the big picture in mind and I haven't come across a situation since then where someone acted so selflessly for the benefit of the team. The lesson for me from this situation is that *sometimes it makes sense for the person who can gain most from driving to do so* more frequently. The other thing I think Nick's post is suggesting is that the only way for you to be engaged in a pair is when you are at the keyboard, which I don't believe to be correct. The http://www.markhneedham.com/blog/2008/02/14/pair-programming-the-non-driving-pair/[role of the navigator] shouldn't be underestimated as when it's done well it provides a very good complement to the person driving as that person is taking a bigger picture view of what the pair are working on and ensuring that the code being written is still fitting in with the rest of the system. Dahlia has http://dahliabock.wordpress.com/2009/05/23/pairing-what-to-do-when-youre-navigating/[written an informative post about some of the things that she does when navigating in a pair]. Another idea http://dannorth.net/[Dan] suggested to me is to *commentate on what you think is happening/what the other person is doing at the keyboard* when you're navigating and feeling a bit lost. I've spent quite a bit of time working with http://luning12.blogbus.com/[Lu Ning] on some Javascript on our project recently and have been trying out this approach there and I think it's helped me to understand things better although clearly it takes a lot of patience from the driver if you take this approach.
null
null
[ 0.00771510973572731, 0.021172642707824707, 0.03929569199681282, 0.016476918011903763, 0.09479658305644989, 0.02863108366727829, 0.03378807753324509, 0.04109640046954155, 0.003681979840621352, -0.04235733672976494, -0.01792323775589466, 0.015598245896399021, -0.04448926821351051, -0.010042251087725163, -0.026836704462766647, 0.08396824449300766, 0.06689993292093277, 0.004831921774893999, -0.00822530873119831, -0.01503740344196558, 0.05500787869095802, 0.05715566873550415, 0.054763659834861755, 0.036966171115636826, 0.03773918002843857, 0.00543648237362504, -0.017118198797106743, 0.0034130977001041174, -0.05310633406043053, -0.02272176742553711, 0.04538966342806816, 0.013808278366923332, 0.013695876114070415, -0.005572573281824589, 0.029413076117634773, -0.02824113890528679, -0.0036696300376206636, 0.016966916620731354, 0.01647527515888214, 0.018893258646130562, -0.0619460754096508, 0.03302912786602974, -0.015398598276078701, 0.018487881869077682, -0.026225345209240913, 0.015571787022054195, -0.0632086917757988, 0.012148304842412472, 0.0299318116158247, -0.0018294659676030278, -0.07051729410886765, 0.035294730216264725, 0.01952943578362465, 0.019213641062378883, -0.020517094060778618, 0.038319189101457596, 0.043433625251054764, -0.0647033303976059, 0.02238583378493786, -0.034961599856615067, 0.007008276414126158, 0.00854966975748539, 0.011753557249903679, 0.0298481322824955, 0.030408702790737152, -0.03781517595052719, 0.03542792797088623, 0.039371538907289505, -0.05190305411815643, 0.03130209445953369, -0.023496590554714203, 0.011634164489805698, 0.001799632329493761, -0.03711418807506561, 0.017035113647580147, -0.05295255780220032, 0.005205461755394936, 0.03923022747039795, 0.05794249475002289, 0.029731087386608124, 0.004632830619812012, 0.005218552425503731, -0.002474114764481783, 0.05384410172700882, -0.030388526618480682, -0.03694426640868187, -0.00866706483066082, -0.03803209960460663, -0.06545073539018631, 0.04488803446292877, -0.0047121052630245686, -0.0645340085029602, 0.01525016687810421, 0.041435468941926956, -0.016927773132920265, 0.004045386333018541, 0.04484495520591736, -0.0013312117662280798, -0.014794489368796349, -0.00753385154530406, -0.018725868314504623, -0.03663003072142601, -0.022302407771348953, 0.03124270774424076, -0.08334191143512726, 0.000030625462386524305, -0.031075309962034225, 0.013037693686783314, 0.009479411877691746, 0.017520379275083542, -0.022917164489626884, -0.0009782968554645777, 0.0029999278485774994, 0.0026715726125985384, -0.07265224307775497, 0.06715641170740128, 0.007202433422207832, -0.027952661737799644, -0.016414443030953407, 0.009124631993472576, 0.045022375881671906, 0.03851037099957466, -0.005723319016396999, 0.07055336236953735, 0.01952432468533516, 0.007024690974503756, -0.012031293474137783, 0.050282008945941925, -0.01673690788447857, -0.062200382351875305, 0.01656249910593033, 0.05195539817214012, -0.020260285586118698, -0.005099841859191656, 0.0049492232501506805, -0.01980772614479065, 0.012910802848637104, 0.01851339265704155, 0.018132347613573074, 0.07098840922117233, 0.0020234889816492796, -0.035406652837991714, 0.030311554670333862, 0.02120574191212654, 0.02498828060925007, -0.014834072440862656, -0.010958066210150719, -0.006363947410136461, -0.044581856578588486, -0.012978730723261833, 0.014502511359751225, 0.0064928047358989716, 0.0042100585997104645, -0.04777642339468002, 0.016061265021562576, 0.06864969432353973, 0.023234855383634567, 0.008861067704856396, -0.024927109479904175, 0.02892889268696308, 0.024150319397449493, 0.01736706681549549, -0.02366463653743267, 0.01845279335975647, 0.014784404076635838, -0.011367040686309338, 0.008421082980930805, 0.04926040396094322, 0.008738993667066097, 0.040002912282943726, -0.055882424116134644, -0.02876361273229122, 0.05502527579665184, -0.06031182035803795, -0.04489222168922424, 0.06333903223276138, 0.08375526964664459, 0.033237144351005554, 0.04419110715389252, -0.00568945100530982, -0.08835729956626892, 0.02899855375289917, 0.0023581634741276503, 0.03149835020303726, 0.013215023092925549, -0.004637253470718861, 0.04810703545808792, 0.01143977977335453, -0.03497345373034477, 0.016408400610089302, -0.061299316585063934, -0.09738331288099289, -0.012020891532301903, -0.017474200576543808, 0.054039936512708664, -0.05014331638813019, 0.03111916407942772, 0.05203855410218239, 0.01859179139137268, 0.06577052921056747, 0.0006618431070819497, 0.010187040083110332, 0.02545176073908806, -0.03658062592148781, -0.04633913189172745, 0.08225490897893906, 0.030406413599848747, -0.02272159233689308, -0.03873788192868233, 0.01394200511276722, -0.013280033133924007, -0.026151001453399658, 0.03552614524960518, -0.02252632938325405, 0.04493742063641548, -0.010762815363705158, 0.04387931153178215, -0.03098798543214798, 0.020526239648461342, -0.02967611886560917, -0.026584751904010773, 0.028447842225432396, -0.009351327084004879, 0.054999519139528275, 0.0044132801704108715, 0.11478506773710251, 0.0710250586271286, -0.05039057508111, -0.05079508200287819, 0.015180645510554314, 0.005555539391934872, -0.05031657591462135, -0.009066497907042503, -0.007782006170600653, -0.00048381168744526803, 0.01477254368364811, -0.06256461888551712, -0.04876498132944107, 0.015568504109978676, -0.051565542817115784, -0.01603752002120018, 0.07637529075145721, -0.02675480954349041, 0.06936369091272354, -0.03218543902039528, -0.0164144579321146, -0.0007743091555312276, -0.003680902300402522, -0.007662315387278795, 0.0055610379204154015, 0.0030475379899144173, -0.013704046607017517, 0.036401789635419846, -0.023866040632128716, -0.003386072115972638, -0.04839403182268143, -0.024614498019218445, 0.01674604043364525, 0.04870970919728279, 0.056173961609601974, -0.0014544244622811675, 0.07493826001882553, 0.00671246787533164, 0.016646532341837883, -0.012522231787443161, -0.0654933750629425, -0.03840365260839462, -0.02605995535850525, 0.002475383458659053, 0.03912260755896568, -0.014865057542920113, 0.006770003121346235, 0.008352439850568771, 0.006630416493862867, -0.009401810355484486, 0.00040870445081964135, 0.021662114188075066, 0.015806501731276512, 0.005544991698116064, -0.028080064803361893, -0.022626932710409164, 0.058127425611019135, -0.041247110813856125, -0.020155077800154686, 0.021738313138484955, -0.063954196870327, 0.021123023703694344, -0.07589741796255112, -0.05961956828832626, 0.00032333980198018253, 0.016020387411117554, 0.039745230227708817, 0.002850203076377511, 0.019092068076133728, 0.05092940852046013, 0.016561446711421013, 0.011297321878373623, 0.006792204454541206, -0.008917564526200294, 0.04218512773513794, 0.013443096540868282, 0.013925350271165371, 0.03712604194879532, -0.009173021651804447, 0.0016487890388816595, -0.061083436012268066, 0.0428452268242836, -0.04335126280784607, -0.2922179102897644, 0.03466159105300903, -0.0018691376317292452, -0.034901831299066544, 0.019109688699245453, -0.0015910204965621233, 0.03259892016649246, -0.051276206970214844, -0.032265253365039825, 0.02480599284172058, -0.04122314974665642, -0.024248167872428894, -0.0071837762370705605, 0.039691586047410965, 0.0029715385753661394, 0.013305731117725372, 0.002507017692551017, -0.060107871890068054, -0.0005689873360097408, 0.018573904410004616, -0.004918450955301523, -0.09416376054286957, -0.013190739788115025, 0.03490612283349037, 0.055332835763692856, 0.06336504220962524, -0.07338028401136398, 0.009119291789829731, -0.05001259967684746, 0.01572154276072979, -0.008128534071147442, 0.024679740890860558, -0.00015771087782923132, -0.032746024429798126, -0.005364593118429184, -0.030085120350122452, 0.03910617157816887, -0.013276524841785431, 0.02113792486488819, 0.0038739184383302927, -0.013270608149468899, -0.02218167670071125, 0.007212183438241482, 0.009842528030276299, 0.07180271297693253, 0.003571998095139861, -0.07639279961585999, 0.0005903670098632574, -0.014630800113081932, 0.06444673985242844, -0.03562391176819801, -0.03501083329319954, -0.02537495084106922, 0.029061036184430122, 0.009178340435028076, -0.02431270107626915, -0.021299179643392563, -0.0050278520211577415, -0.01075781974941492, -0.03072664886713028, -0.0183149091899395, -0.025865819305181503, -0.024872247129678726, -0.04793824627995491, 0.011882411316037178, -0.056814927607774734, -0.06167575716972351, -0.02203696221113205, 0.08157411962747574, 0.016735708341002464, -0.0672091543674469, -0.0009207092225551605, 0.0005556410178542137, -0.10329984873533249, 0.0026258286088705063, 0.028250379487872124, -0.0348861999809742, 0.0033890395425260067, 0.02302606962621212, 0.05436766520142555, -0.03298995643854141, -0.06028412654995918, 0.01228095032274723, 0.007037507835775614, 0.022875584661960602, -0.03069319576025009, 0.021263299509882927, 0.010944526642560959, 0.00298160407692194, 0.012779289856553078, 0.08047282695770264, -0.012715393677353859, -0.032689884305000305, -0.02917279116809368, 0.027863778173923492, -0.00026530545437708497, 0.02000233344733715, -0.002442540368065238, 0.008708631619811058, 0.018980631604790688, 0.0063128722831606865, -0.05789772793650627, 0.027603261172771454, -0.011730646714568138, 0.010003647767007351, -0.006659646984189749, -0.050655774772167206, -0.0006504766643047333, 0.04695670306682587, 0.0338594876229763, -0.012305237352848053, -0.031119370833039284, 0.012166526168584824, -0.0463629774749279, -0.016905244439840317, -0.032832030206918716, 0.025594620034098625, 0.03457315266132355, -0.007955164648592472, -0.010269389487802982, -0.04993387684226036, 0.0016794059192761779, -0.0143771106377244, 0.007478024810552597, -0.07594824582338333, 0.02353540249168873, -0.0241255983710289, -0.028857361525297165, 0.016249792650341988, 0.019109690561890602, -0.008054633624851704, 0.03562392294406891, 0.019453255459666252, -0.0175390113145113, 0.01815657690167427, -0.028437642380595207, -0.055507976561784744, -0.008518488146364689, -0.008467322215437889, -0.022547902539372444, 0.00015074778639245778, 0.008281636983156204, 0.00577897671610117, 0.01006630901247263, 0.017516683787107468, 0.019921068102121353, 0.019863132387399673, -0.021861936897039413, 0.019731787964701653, 0.01935807801783085, 0.0033006747253239155, -0.06618950515985489, 0.014051641337573528, -0.03836917504668236, -0.012074289843440056, -0.013109972700476646, 0.03705446794629097, -0.0037276444490998983, -0.04434966295957565, 0.004366144072264433, 0.006758390925824642, -0.043164316564798355, -0.023363865911960602, -0.04215506836771965, 0.036624375730752945, 0.06973650306463242, -0.019090063869953156, -0.0025869375094771385, -0.009700109250843525, 0.022901438176631927, 0.018082527443766594, 0.02637862041592598, -0.07232364267110825, 0.013360591605305672, 0.021098176017403603, -0.0028437580913305283, -0.011362048797309399, -0.009445464238524437, 0.04452355578541756, 0.0061855316162109375, 0.013622608035802841, -0.015972081571817398, -0.01397683098912239, -0.0036462757270783186, 0.06483824551105499, -0.006259452551603317, -0.0010831230320036411, -0.025171207264065742, 0.002798480913043022, -0.02517273649573326, -0.03414854034781456, -0.016102978959679604, -0.002984808525070548, 0.012486121617257595, -0.04125213623046875, -0.0683269202709198, 0.03001011349260807, 0.03483730927109718, -0.015837661921977997, 0.02472904697060585, -0.013090640306472778, -0.0027022024150937796, -0.01589176617562771, 0.037163037806749344, 0.07189209014177322, -0.07352063804864883, 0.02849563956260681, -0.005365330260246992, -0.01510403212159872, 0.026184236630797386, -0.010921748355031013, -0.02610591985285282, -0.006073360797017813, -0.029881551861763, 0.0032994288485497236, -0.060836248099803925, -0.021329659968614578, -0.01218138262629509, 0.0004810290993191302, 0.00915630254894495, -0.03496875986456871, -0.012736469507217407, -0.022962816059589386, -0.01872655376791954, -0.03512175381183624, 0.014772975817322731, -0.04347195103764534, 0.0009976424043998122, 0.0406029149889946, -0.029359662905335426, 0.0023169810883700848, -0.032821524888277054, 0.029773004353046417, 0.032233841717243195, -0.041046999394893646, -0.02453622967004776, -0.05557982251048088, -0.011213698424398899, -0.012003585696220398, 0.042529985308647156, 0.0162976011633873, -0.02815420553088188, -0.057411372661590576, -0.012661048211157322, -0.05192731320858002, 0.012403068132698536, -0.02582491934299469, -0.004984605126082897, 0.024728771299123764, 0.04200351610779762, 0.026074273511767387, 0.026849623769521713, -0.0281111691147089, -0.017976149916648865, 0.020257679745554924, -0.05089515075087547, -0.03475693240761757, -0.006607303861528635, -0.04081203415989876, 0.000219737587030977, 0.008851353079080582, 0.013453351333737373, -0.023471737280488014, 0.0367150604724884, 0.006345451809465885, 0.016614792868494987, 0.012547297403216362, -0.009225142188370228, 0.03493223339319229, -0.05536958947777748, 0.01422765851020813, -0.07464637607336044, 0.019025234505534172, 0.01576601155102253, 0.008667212910950184, -0.016143180429935455, 0.04634664207696915, -0.03246792033314705, 0.043619170784950256, -0.07390467822551727, -0.014384445734322071, 0.03530976548790932, -0.016061747446656227, -0.017399735748767853, 0.002950982889160514, -0.07485602051019669, 0.04045717045664787, -0.009379442781209946, -0.02626679837703705, -0.037986475974321365, -0.007572165224701166, 0.055025022476911545, -0.0004544583789538592, 0.06468991935253143, -0.03555941954255104, -0.02042287401854992, 0.07518325001001358, 0.0037563960067927837, -0.008694850839674473, 0.044853225350379944, -0.01555860135704279, 0.053624920547008514, 0.03804402053356171, 0.015622078441083431, -0.0032775290310382843, 0.016248760744929314, -0.008099553175270557, -0.07003678381443024, 0.023992016911506653, 0.0044538769870996475, -0.02061719261109829, -0.04644295200705528, 0.055044278502464294, 0.03422749415040016, -0.018858034163713455, -0.05215411260724068, 0.02794044464826584, -0.06123917177319527, -0.006355736870318651, -0.006322236731648445, 0.0032344700302928686, -0.05698636919260025, 0.040633346885442734, 0.0037634337786585093, 0.01001849863678217, 0.053140703588724136, 0.029139086604118347, -0.015158570371568203, -0.0032471795566380024, 0.11227645725011826, 0.07833575457334518, 0.07012007385492325, 0.036641307175159454, 0.07193464040756226, -0.029489126056432724, -0.039394304156303406, 0.02197294682264328, -0.0009932034881785512, -0.04193299636244774, -0.00876231025904417, 0.01980743743479252, 0.06689676642417908, -0.004303275141865015, 0.07379335910081863, -0.01622023805975914, -0.03004465624690056, 0.014613410457968712, 0.026445060968399048, 0.004010018892586231, 0.04480704292654991, 0.011296340264379978, 0.019556501880288124, -0.03462841361761093, -0.05024632439017296, 0.03891948238015175, -0.032763779163360596, 0.0016697159735485911, -0.002910953713580966, -0.02569730393588543, 0.026930976659059525, 0.0029290381353348494, 0.019054727628827095, 0.09512723982334137, -0.03046347014605999, 0.0187238659709692, 0.005204982589930296, 0.030517110601067543, -0.016680143773555756, 0.022005686536431313, -0.029770655557513237, 0.0038437522016465664, -0.0056983837857842445, -0.01590840145945549, -0.019178105518221855, -0.03363669291138649, -0.0211398433893919, 0.03831234574317932, -0.024048637598752975, 0.0009043071768246591, 0.03165154904127121, 0.004998336546123028, -0.024550147354602814, -0.049513038247823715, -0.050750549882650375, -0.029314134269952774, -0.024123799055814743, -0.024923276156187057, 0.008954964578151703, 0.0032091427128762007, -0.02812165394425392, -0.0022975781466811895, -0.038957130163908005, -0.03381163254380226, 0.003132940735667944, -0.060335613787174225, -0.06008586287498474, 0.035034969449043274, 0.019878173246979713, 0.028753606602549553, 0.023130925372242928, 0.059990428388118744, -0.012834570370614529, -0.009595002047717571, -0.027782689779996872, -0.0055243996903300285, 0.0379827506840229, -0.003840093733742833, -0.022057071328163147, -0.08248937129974365, 0.011646033264696598, 0.014840235933661461, 0.00901829358190298, -0.07418167591094971, 0.023393163457512856, 0.008830821141600609, 0.0285622701048851, 0.0502157099545002, -0.028627343475818634, 0.025975098833441734, -0.03647787868976593, 0.01634052023291588, -0.0018788879970088601, 0.013588596135377884, 0.04124341160058975, -0.013409183360636234, 0.08582556992769241, 0.013498728163540363, -0.008162189275026321, -0.033533718436956406, -0.012829974293708801, 0.004434740636497736, 0.001094710431061685, -0.01925487630069256, -0.03071507252752781, -0.01514839380979538, -0.09290947020053864, -0.022100312635302544, -0.005160537548363209, -0.007726986426860094, -0.03560301288962364, 0.030405733734369278, 0.0104081304743886, 0.008090824820101261, 0.03331642970442772, -0.04772974178195, 0.005734152626246214, -0.020977746695280075, -0.019321464002132416, -0.003728484734892845, -0.0004411164263729006, -0.03702200949192047, -0.026454897597432137, 0.013436723500490189, -0.0415029302239418, 0.01305228378623724, -0.0004354997363407165, 0.012603345327079296, 0.02817392721772194, 0.0006259785150177777, -0.005334689747542143 ]
[ -0.10012088716030121, -0.001968828495591879, -0.00983490515500307, -0.031091943383216858, -0.04288941249251366, -0.0229691993445158, 0.022374043241143227, 0.012842624448239803, 0.011386857368052006, -0.05486219376325607, -0.03435305505990982, -0.014993538148701191, 0.035533756017684937, -0.01149864960461855, 0.0748768299818039, -0.005048552993685007, 0.000346340675605461, -0.07712709903717041, 0.01300053484737873, 0.023760193958878517, -0.021138375625014305, -0.06400370597839355, -0.044862158596515656, -0.012472587637603283, -0.007503810338675976, 0.03032207302749157, 0.0254786666482687, -0.03605904430150986, 0.012795183807611465, -0.1913122832775116, -0.01008473802357912, 0.008279475383460522, 0.057903073728084564, -0.0006102971965447068, -0.048644643276929855, 0.050108492374420166, 0.014402057975530624, 0.03326600790023804, 0.007213260512799025, 0.0021006115712225437, 0.007451777812093496, 0.009676158428192139, -0.04222764074802399, -0.02416354790329933, 0.03466186672449112, 0.02427048422396183, -0.016195977106690407, -0.05002043768763542, 0.00008442224498139694, 0.015340733341872692, -0.06060241535305977, -0.03155895695090294, -0.002204394666478038, -0.02410617098212242, 0.00537125812843442, 0.035242922604084015, 0.031129375100135803, 0.050695762038230896, 0.008280724287033081, 0.03077833540737629, 0.008591865189373493, -0.0110207200050354, -0.1276075839996338, 0.08626063913106918, 0.03937090188264847, 0.03210238739848137, -0.01615004800260067, -0.04469292610883713, -0.017909323796629906, 0.08666461706161499, 0.0028151236474514008, -0.03551010414958, -0.026335494592785835, 0.034076590090990067, 0.01649773120880127, -0.013722453266382217, -0.026426123455166817, 0.04287359490990639, 0.01696258969604969, -0.021353086456656456, -0.02648191712796688, -0.0015962133184075356, -0.023418810218572617, -0.0034257834777235985, -0.03161326050758362, 0.023627856746315956, -0.013722422532737255, 0.001195920747704804, 0.0014180304715409875, -0.0019102939404547215, 0.02721898816525936, -0.007853097282350063, 0.03522542864084244, -0.017877642065286636, -0.08696147054433823, -0.008555523119866848, 0.010275191627442837, 0.024439621716737747, -0.07718825340270996, 0.4537679851055145, -0.04203668609261513, -0.0022530725691467524, 0.08565004914999008, 0.004115022253245115, -0.029641933739185333, 0.006149765104055405, 0.020367415621876717, -0.05201815441250801, 0.00680840527638793, -0.014191919937729836, 0.042245540767908096, 0.004991541150957346, 0.05749683454632759, 0.0032917200587689877, 0.013868587091565132, 0.06678608804941177, 0.05573010817170143, 0.03680481016635895, 0.021801084280014038, -0.013541096821427345, -0.03687994182109833, -0.004225721582770348, 0.018863338977098465, 0.0006103718187659979, -0.0015378439566120505, -0.06714014708995819, 0.02898101694881916, 0.043299753218889236, 0.012615568935871124, -0.017910458147525787, 0.05875348299741745, -0.06076531112194061, -0.02868201956152916, 0.028405524790287018, -0.02511032484471798, -0.0021715001203119755, 0.0291923638433218, -0.022314155474305153, 0.01502341777086258, 0.033307529985904694, 0.030123809352517128, -0.06084402650594711, 0.057457901537418365, -0.010054879821836948, 0.006663636304438114, 0.12615904211997986, 0.004501868039369583, -0.06432776153087616, 0.002434886060655117, -0.012887086719274521, 0.0010147002758458257, 0.010099773295223713, -0.0006986595690250397, -0.0627601146697998, 0.016377970576286316, 0.02836451679468155, 0.11445265263319016, 0.0026890260633081198, -0.06926633417606354, 0.011337317526340485, -0.019706644117832184, -0.03156186640262604, -0.07537346333265305, 0.01625450886785984, 0.11240600049495697, -0.09868744760751724, -0.00841797236353159, 0.0016987432027235627, 0.0041314237751066685, -0.06880532950162888, -0.013756930828094482, 0.000010281833965564147, -0.02909994125366211, 0.016034873202443123, 0.0564374215900898, -0.017662955448031425, -0.052280452102422714, 0.016627924516797066, 0.01452566310763359, 0.016263123601675034, 0.004113180562853813, 0.01984286680817604, -0.05712815374135971, -0.012788968160748482, -0.02178058587014675, -0.053431473672389984, -0.039734043180942535, -0.008918971754610538, -0.02504277043044567, 0.024094615131616592, 0.013316181488335133, -0.052916139364242554, -0.06619419157505035, 0.10514996945858002, -0.033783718943595886, -0.03790101036429405, 0.007932204753160477, -0.04186270758509636, -0.049699705094099045, -0.006869246251881123, -0.044862400740385056, 0.0021742561366409063, -0.04992629587650299, 0.020211689174175262, -0.04451004043221474, 0.05000859871506691, 0.02464989945292473, -0.042387038469314575, 0.11182281374931335, 0.04495227709412575, -0.00451308349147439, -0.05492280051112175, -0.003982322756201029, 0.024811265990138054, 0.009338446892797947, -0.028129607439041138, -0.02565382607281208, 0.02962607890367508, -0.005173128563910723, 0.02976388670504093, -0.013236412778496742, 0.022224420681595802, 0.010535617358982563, -0.32903456687927246, -0.03190910816192627, -0.026897765696048737, 0.018076840788125992, 0.019760701805353165, -0.05425972864031792, 0.015683133155107498, 0.012372210621833801, -0.02225734293460846, -0.014594747684895992, 0.07472895830869675, -0.008726677857339382, 0.005528330337256193, -0.0638236552476883, 0.01033188309520483, 0.04964922368526459, -0.038725465536117554, 0.005807098001241684, -0.027548396959900856, 0.026476861909031868, 0.012808006256818771, 0.028337761759757996, -0.058863021433353424, -0.03459259867668152, 0.010431897826492786, -0.024794725701212883, 0.10017698258161545, -0.0006718296208418906, 0.09933861345052719, -0.04752285033464432, 0.03861381858587265, 0.02101365104317665, 0.019236326217651367, -0.09902363270521164, 0.00997187476605177, 0.003173775738105178, 0.020021645352244377, -0.06098182871937752, 0.03495015203952789, -0.04029868170619011, -0.08322060853242874, 0.003847283311188221, -0.05765000358223915, -0.034735146909952164, -0.07948716729879379, 0.01293562538921833, -0.022348400205373764, -0.03661714121699333, -0.019381660968065262, 0.08089927583932877, 0.030768325552344322, 0.01816999725997448, 0.006185546983033419, -0.022021854296326637, 0.0008839517249725759, -0.04418807476758957, -0.07979737222194672, 0.017211996018886566, -0.011018919758498669, -0.009682618081569672, 0.016225647181272507, 0.06820398569107056, 0.03117474727332592, -0.06536608189344406, 0.0020877053029835224, 0.04276341572403908, -0.012258654460310936, 0.00045866373693570495, 0.02278306521475315, 0.021976130083203316, -0.011131578125059605, 0.08167333900928497, -0.01198458019644022, 0.012767876498401165, 0.005713299848139286, 0.03241676837205887, 0.01639527827501297, 0.04938274621963501, 0.02128896862268448, -0.01671728491783142, 0.010178497061133385, -0.023157427087426186, 0.049576614052057266, -0.01029505580663681, 0.0027222384233027697, -0.01512573566287756, 0.020489564165472984, -0.031130753457546234, 0.06652374565601349, -0.007883825339376926, -0.006594616919755936, 0.008807226084172726, 0.001184495398774743, -0.060597386211156845, 0.07165852189064026, -0.0005509941838681698, -0.24790836870670319, 0.01511810626834631, 0.06038294732570648, 0.05572810396552086, -0.03350084275007248, 0.027508225291967392, 0.009664920158684254, -0.02498568780720234, -0.03186984360218048, -0.00926972460001707, 0.005279100500047207, 0.04286904260516167, -0.027780955657362938, 0.03281066566705704, 0.04406118765473366, -0.005273795686662197, 0.052069291472435, 0.011089044623076916, -0.0031414018012583256, -0.016611721366643906, 0.015665480867028236, -0.01011370774358511, 0.14361290633678436, 0.019975261762738228, 0.04930988326668739, 0.02014824002981186, -0.008901698514819145, 0.01461009494960308, 0.06614693999290466, -0.009512392804026604, -0.016537150368094444, -0.0023694962728768587, 0.02014092169702053, -0.0013090353459119797, 0.02670992538332939, -0.0613844059407711, -0.02566593512892723, 0.030722584575414658, 0.02850690297782421, 0.019503852352499962, 0.02744210697710514, 0.01825602911412716, -0.014933353289961815, -0.005375288426876068, 0.08443816751241684, 0.024121848866343498, 0.016974743455648422, -0.023877790197730064, -0.04992920532822609, -0.005837517324835062, -0.024320067837834358, -0.049683064222335815, 0.0003390830534044653, 0.003954408690333366, 0.020745037123560905, 0.06433969736099243, 0.00680199358612299, -0.03683221712708473, 0.020424101501703262, 0.03308459371328354, -0.008125510066747665, -0.014388473704457283, 0.09345557540655136, 0.019368615001440048, 0.045273348689079285 ]
[ -0.012794669717550278, -0.004621515981853008, 0.011852451600134373, 0.005247009452432394, -0.039512999355793, 0.04902166873216629, -0.01069601345807314, 0.0091955391690135, 0.03520866483449936, 0.013457419350743294, -0.0010910608107224107, 0.014544610865414143, 0.03650561347603798, -0.0021521139424294233, 0.004366355482488871, -0.04330619052052498, 0.008092735894024372, -0.006902778055518866, 0.013256411999464035, 0.03772253170609474, -0.009187174960970879, -0.000857692735735327, -0.015013344585895538, -0.00594719871878624, -0.023217445239424706, -0.014816517941653728, -0.003474282333627343, -0.032101210206747055, 0.021622823551297188, -0.13770906627178192, -0.05081925913691521, -0.007773670367896557, -0.014191186055541039, 0.009076414629817009, -0.05235177278518677, -0.02642335183918476, 0.018116049468517303, 0.016306312754750252, -0.013237517327070236, -0.04916108772158623, 0.00030678563052788377, -0.03515416383743286, 0.0128254946321249, 0.03360341489315033, 0.016811897978186607, -0.001203833264298737, 0.014603180810809135, -0.0554751418530941, -0.023861190304160118, -0.03206312283873558, -0.052768200635910034, 0.02026406303048134, 0.007299228571355343, -0.03488559648394585, 0.010991867631673813, 0.0021617545280605555, -0.008723593316972256, 0.014241738244891167, 0.02194368652999401, -0.0028368791099637747, 0.01679280959069729, -0.004714433569461107, -0.0685565173625946, -0.028256528079509735, -0.012572118081152439, 0.005181656684726477, -0.0040603685192763805, -0.007676853332668543, 0.004071162082254887, 0.02071188949048519, -0.027834342792630196, 0.015211787074804306, -0.003895537229254842, -0.05253005400300026, 0.014404650777578354, -0.037280745804309845, -0.02373768761754036, -0.020220331847667694, 0.03100420907139778, -0.05411725863814354, -0.026324953883886337, 0.004193840082734823, 0.018636099994182587, 0.03201683238148689, 0.045529235154390335, -0.01283031515777111, 0.01279420591890812, 0.00854297261685133, -0.010547979734838009, -0.012497263960540295, -0.028816264122724533, 0.020531730726361275, 0.012582208029925823, -0.0018725496483966708, -0.08954796940088272, -0.0049159289337694645, -0.0013346553314477205, 0.005519771948456764, -0.003181010950356722, 0.8353170156478882, 0.008220850490033627, 0.0414850190281868, 0.018788881599903107, 0.0066735451109707355, -0.011587448418140411, 0.05201026797294617, 0.02233787626028061, -0.03229266777634621, 0.003891265019774437, -0.030393704771995544, 0.054584357887506485, 0.0012532576220110059, -0.011046770960092545, 0.021752962842583656, -0.002537780674174428, 0.0481143593788147, 0.010348225943744183, 0.016320297494530678, 0.030011992901563644, 0.02063734270632267, -0.057477764785289764, -0.029469329863786697, -0.010787026025354862, -0.013936893083155155, 0.002345252549275756, -0.19283582270145416, 0.036653198301792145, -6.90190552996146e-33, 0.007762379944324493, 0.0171598382294178, -0.03531329333782196, -0.02306114137172699, 0.04545953497290611, 0.008529439568519592, 0.01962215080857277, -0.002444381359964609, -0.006388128735125065, -0.017174456268548965, 0.013306492939591408, -0.0010606797877699137, -0.009310637600719929, -0.036327604204416275, 0.037399448454380035, -0.03074188530445099, -0.00917046982795, 0.02402941696345806, -0.041393741965293884, -0.007549650967121124, 0.05369594693183899, 0.0218680240213871, -0.005873605143278837, -0.003410706762224436, 0.006227819249033928, 0.007639840245246887, -0.01824108697474003, 0.013842621818184853, 0.01804136112332344, -0.032991308718919754, -0.0018226723186671734, 0.05825753137469292, -0.05435016751289368, 0.0033121833112090826, -0.019322913140058517, -0.031183211132884026, -0.004322000779211521, 0.004474985413253307, -0.008406509645283222, -0.017210783436894417, -0.0417562797665596, -0.0025470794644206762, -0.04748738557100296, -0.019944872707128525, -0.04639565572142601, -0.051731206476688385, 0.008733917027711868, 0.0792197585105896, 0.013783044181764126, -0.010111570358276367, 0.011869334615767002, 0.0068133012391626835, -0.017884787172079086, -0.013665799051523209, -0.020752228796482086, 0.007409207988530397, -0.006712114904075861, 0.01776265911757946, 0.008826887235045433, 0.06434821337461472, 0.030036307871341705, -0.016345620155334473, 0.004943918902426958, 0.0022232099436223507, 0.015381213277578354, 0.0030580435413867235, 0.008289310149848461, -0.011216453276574612, 0.025527525693178177, -0.0011193840764462948, -0.012516319751739502, 0.0003224857209715992, 0.0076013607904314995, -0.01830258220434189, 0.01890852116048336, 0.020638154819607735, 0.017001841217279434, 0.007851136848330498, -0.026080183684825897, 0.039892591536045074, 0.0010181760881096125, 0.01337673980742693, 0.001101800473406911, -0.032580211758613586, -0.0023290172684937716, 0.0022256888914853334, 0.003163152141496539, -0.028946971520781517, -0.03922107070684433, 0.05651364102959633, 0.012142055667936802, 0.03164854273200035, -0.004607802256941795, -0.005123388022184372, -0.015138904564082623, 7.206905906381535e-33, 0.013599569909274578, -0.007171694654971361, 0.007506764959543943, 0.0001446338719688356, 0.028377005830407143, 0.005806462373584509, 0.033746764063835144, -0.03616061434149742, -0.009721135720610619, 0.032830435782670975, -0.015641385689377785, 0.004730923101305962, 0.039156753569841385, 0.014400176703929901, 0.02519458904862404, -0.0269452054053545, 0.03372033312916756, -0.02955421805381775, 0.028351537883281708, -0.017251519486308098, 0.009227418340742588, -0.008961666375398636, -0.013322756625711918, 0.02762555703520775, 0.032293651252985, 0.04011376202106476, 0.020806143060326576, 0.032366037368774414, -0.03389284387230873, 0.006132279522716999, -0.006407454609870911, -0.008744117803871632, 0.013152687810361385, -0.028994403779506683, -0.02427363023161888, 0.0440245047211647, -0.017399176955223083, -0.01287220697849989, -0.03957438841462135, 0.03709900379180908, 0.02629745379090309, -0.01803865283727646, 0.012680827639997005, 0.04081210494041443, 0.04076794162392616, -0.023855574429035187, 0.006691467948257923, -0.019593926146626472, -0.015120099298655987, 0.033532626926898956, 0.07167702168226242, 0.007209359668195248, -0.025484517216682434, 0.0037922493647783995, -0.041178878396749496, 0.0023540672846138477, 0.007519938983023167, 0.01776215061545372, 0.016037337481975555, -0.01026061549782753, 0.015660705044865608, -0.0014178744750097394, -0.048515934497117996, 0.03234287351369858, 0.012315874919295311, -0.01792757399380207, -0.02414928562939167, -0.009436314925551414, 0.0127871697768569, -0.020511923357844353, 0.00026191954384557903, -0.004482082091271877, 0.006064373999834061, 0.041775986552238464, -0.009197289124131203, -0.05028526484966278, -0.012243877165019512, -0.013835685327649117, 0.006829708348959684, -0.006469262298196554, 0.021344317123293877, 0.0214792899787426, 0.04479100927710533, 0.010553288273513317, -0.024604549631476402, 0.05009030923247337, -0.01631496474146843, 0.014964469708502293, 0.0072753820568323135, 0.008744795806705952, 0.00412581255659461, -0.010849501937627792, -0.014797240495681763, 0.017224028706550598, -0.001033369917422533, -1.2853461406336919e-8, 0.002252764767035842, 0.054038241505622864, -0.032007183879613876, 0.01992344669997692, -0.013692124746739864, -0.011832888238132, 0.005449084099382162, -0.016334226354956627, -0.04463321715593338, 0.01087530329823494, 0.028647026047110558, -0.03293687105178833, 0.018267549574375153, 0.031211692839860916, 0.05002029985189438, 0.0024828293826431036, 0.008055269718170166, -0.013052314519882202, 0.007278283126652241, 0.0157026220113039, 0.031870078295469284, 0.016505185514688492, -0.0017094336217269301, 0.049634210765361786, 0.0012391918571665883, 0.004651821218430996, 0.00007251731585711241, -0.06458126753568649, -0.002852530451491475, -0.035735927522182465, -0.014185127802193165, -0.01966327428817749, -0.0056407395750284195, 0.007556673604995012, -0.012288037687540054, -0.02803616039454937, -0.012156739830970764, 0.023499056696891785, 0.016076743602752686, 0.02286914363503456, -0.036472562700510025, 0.00955505482852459, -0.035255447030067444, -0.007061344105750322, -0.022926369681954384, 0.026776548475027084, -0.038360148668289185, -0.013898459263145924, -0.023214520886540413, -0.014362973161041737, 0.018435107544064522, -0.005129118915647268, 0.04110883176326752, 0.013999296352267265, -0.020564377307891846, 0.015300084836781025, 0.007503346540033817, 0.0010140216909348965, -0.004849118180572987, -0.008394035510718822, 0.0008825502591207623, 0.045501708984375, -0.026267705485224724, -0.03663661330938339 ]
its-not-about-equal-keyboard-time
https://markhneedham.com/blog/2009/05/23/its-not-about-equal-keyboard-time
false
2009-05-23 15:37:34
Coding: Setters reduce trust
[ "coding", "setters" ]
[ "Coding" ]
I've written previously about my dislike of the way the http://www.markhneedham.com/blog/2009/02/16/c-object-initializer-and-the-horse-shoe/[object initialiser is misused in C# 3.0] and although I've also written about my preference for http://www.markhneedham.com/blog/2009/02/28/coding-implicit-vs-explicit-modeling/[explicit modeling] and the need for http://www.markhneedham.com/blog/2009/03/04/coding-good-citizens/[objects to act as good citizens]I've never quite been able to articulate what it is I dislike so much about having setter methods on objects. I've learnt from experience that it leads to a world of pain in our code by having the ability to setup an object after construction using setters and in a conversation with a colleague about this last week he suggested that the reason it's such a bad practice to follow is that *it makes us lose our trust in not only that object but in all the other objects in the application*. The thinking here is that if we get caught out (usually by a null pointer exception) when using an object which wasn't completely set up at construction then we are likely to have a seed of doubt in our mind when we come across another object as to whether the same pattern has been followed with that one - we've lost a little bit of our belief that we can just use this object and it will work the way we expect it to. As a result of that loss of trust we end up spending more time looking at more implementation details of an object just to check how it has been designed to ensure that we don't get caught out. I don't think this is a particularly useful way to spend our time and it also adds another thing that we have to keep in our mind when looking at code, further dragging us away from the task that we originally intended to do. Apart from when we're creating http://www.martinfowler.com/bliki/FluentInterface.html[fluent interface] style DSLs I've always felt more pain from using setters than I've gained from that so when I don't see a good reason for them - sometimes Java frameworks might need them (thanks http://dahliabock.wordpress.com/[Dahlia]!) - to exist I pretty much follow http://groups.google.com/group/software_craftsmanship/browse_thread/thread/da5e9c019b559062?pli=1[the boy scout rule] and try and get rid of them.
null
null
[ 0.009930736385285854, 0.0005666280048899353, 0.004446075297892094, 0.03661259636282921, 0.06769981980323792, 0.025699835270643234, 0.046444594860076904, 0.0294185858219862, 0.01071980595588684, -0.03352263569831848, -0.00650982279330492, 0.018455950543284416, -0.07254353165626526, 0.005388909950852394, -0.02065342105925083, 0.05509495735168457, 0.06374344974756241, -0.026135582476854324, 0.012278213165700436, 0.004578425548970699, 0.030806725844740868, 0.06739196926355362, 0.010089539922773838, 0.0234448853880167, 0.0472135990858078, 0.036978621035814285, -0.008570371195673943, 0.009254207834601402, -0.0625544860959053, -0.015521002933382988, 0.018831873312592506, 0.025423724204301834, -0.0023125645238906145, -0.014005267061293125, 0.014054067432880402, -0.035037118941545486, -0.0070307874120771885, 0.011720334179699421, -0.01193180587142706, 0.03139025345444679, -0.0672321766614914, 0.046115223318338394, 0.005731232929974794, 0.01423156913369894, -0.03980807214975357, -0.011749980971217155, -0.032951608300209045, -0.003888644278049469, -0.02616938017308712, -0.028349146246910095, -0.07161758840084076, 0.0349285788834095, -0.0043409522622823715, 0.025580599904060364, -0.023230448365211487, 0.04248039051890373, 0.026989784091711044, -0.08763483911752701, 0.018988031893968582, -0.05269172415137291, 0.008441361598670483, 0.0025103725492954254, 0.004829180892556906, 0.012335728853940964, 0.01818634569644928, 0.013161380775272846, -0.023467611521482468, 0.03070853278040886, -0.04700129106640816, -0.012863125652074814, -0.0009181874920614064, -0.001240501063875854, 0.0032128714956343174, -0.00907989963889122, 0.013152036815881729, -0.046800196170806885, 0.0013887550448998809, 0.04552919790148735, 0.022242574021220207, 0.038974788039922714, -0.010282776318490505, 0.009494343772530556, 0.030167508870363235, 0.006215236149728298, -0.002091248519718647, -0.03868096321821213, 0.003627794561907649, -0.002963042352348566, -0.025303971022367477, 0.059674713760614395, 0.012413520365953445, -0.03315975144505501, 0.01405824813991785, 0.0317145399749279, 0.0011253985576331615, -0.00039477579412050545, 0.03534350544214249, -0.0008281287737190723, -0.0033999073784798384, 0.004156608134508133, -0.020337214693427086, -0.02884947694838047, 0.02268405817449093, 0.01391561608761549, -0.06890758872032166, -0.025800542905926704, -0.04289807006716728, -0.0009184933733195066, -0.012063290923833847, 0.00901198573410511, -0.054347921162843704, 0.03328927233815193, -0.006410543341189623, -0.027752848342061043, -0.0723271444439888, 0.05088990926742554, 0.01187671534717083, -0.02111802063882351, -0.012545647099614143, 0.03412894532084465, 0.04098856821656227, 0.023653659969568253, -0.006247868295758963, 0.07735929638147354, -0.0023690336383879185, 0.032157305628061295, -0.020749719813466072, 0.05946993827819824, -0.005021329037845135, -0.07890991121530533, 0.0030416962690651417, 0.045852575451135635, -0.029508918523788452, -0.002302619395777583, 0.015847222879529, -0.032974597066640854, 0.006884177215397358, -0.01014793012291193, 0.03318058326840401, 0.044845741242170334, -0.01881350390613079, -0.08070869743824005, 0.027708597481250763, 0.010003479197621346, 0.012967965565621853, 0.01884564757347107, -0.010910079814493656, 0.007308075204491615, -0.0025437972508370876, 0.03655871003866196, 0.003548478242009878, 0.050963107496500015, 0.024524342268705368, -0.04199226200580597, 0.007369289640337229, 0.09074533730745316, -0.00863856915384531, 0.02545389160513878, -0.009371459484100342, 0.04313455894589424, 0.040213048458099365, 0.019434362649917603, 0.01215935405343771, 0.00651633320376277, 0.028236733749508858, 0.010852480307221413, -0.0010229407344013453, 0.04287378489971161, 0.007483955007046461, -0.017952922731637955, -0.05940113961696625, -0.05065101012587547, 0.03601829707622528, -0.05321647971868515, -0.02345629408955574, 0.03182392194867134, 0.0803852453827858, -0.012248585000634193, 0.06729548424482346, -0.006429971195757389, -0.0777374655008316, -0.004812459461390972, 0.0035091110039502382, 0.01355520449578762, 0.001180604682303965, 0.006697783712297678, 0.05565578117966652, 0.02278352715075016, -0.006210023071616888, 0.03185030072927475, -0.0524493083357811, -0.05770297348499298, -0.024080902338027954, -0.022547544911503792, 0.06210692226886749, -0.0188087560236454, -0.01814638078212738, 0.0754615068435669, 0.018898608162999153, 0.05859591066837311, 0.023205125704407692, -0.007192430552095175, 0.0017498041270300746, -0.01628829911351204, -0.017541280016303062, 0.02340364269912243, 0.029409555718302727, 0.01651696115732193, -0.04945291951298714, 0.010074782185256481, -0.011032037436962128, -0.011176918633282185, 0.05125219374895096, -0.012728007510304451, 0.029656752943992615, -0.0005333314766176045, 0.05058679357171059, -0.02884136699140072, 0.05300924554467201, -0.06804448366165161, -0.025020796805620193, -0.01816488243639469, -0.012561232782900333, 0.008497225120663643, -0.0019870928954333067, 0.13300636410713196, 0.0466613695025444, -0.06026902049779892, -0.03803364187479019, 0.0018195976736024022, 0.03182906284928322, -0.04912402480840683, 0.002185215475037694, -0.011168844997882843, -0.005137346684932709, 0.016321035102009773, -0.037505894899368286, -0.021678635850548744, 0.004760729148983955, -0.012989315204322338, 0.024243654683232307, 0.06882703304290771, -0.025723841041326523, 0.051110174506902695, -0.001487115048803389, -0.016628479585051537, -0.0023763850331306458, -0.025049330666661263, -0.06398653984069824, -0.0026691160164773464, 0.005837232805788517, -0.01348508894443512, 0.08819534629583359, -0.013410734944045544, -0.014550955966114998, -0.037911493331193924, -0.04079579934477806, 0.012647916562855244, 0.021561801433563232, 0.07375410944223404, -0.012198523618280888, 0.06918659061193466, -0.03454628214240074, 0.0023281110916286707, -0.01662047579884529, -0.045872222632169724, 0.0008777038310654461, -0.0013996309135109186, 0.002487169113010168, 0.05006541311740875, -0.02402058243751526, -0.001078084227629006, 0.03473690524697304, 0.015083559788763523, -0.027841337025165558, -0.013550539501011372, 0.04251266270875931, 0.004534041974693537, -0.019471606239676476, -0.034960586577653885, -0.04887676611542702, 0.04145164415240288, -0.050006553530693054, -0.013450606726109982, 0.002601740648970008, -0.07205957174301147, 0.05215388908982277, -0.07345740497112274, -0.07563488930463791, -0.004721685778349638, 0.04034962132573128, 0.019210336729884148, -0.0028211153112351894, 0.03548824042081833, 0.07676935195922852, 0.023797526955604553, -0.003772197524085641, 0.00560784712433815, -0.010953717865049839, 0.011911451816558838, -0.0031615975312888622, 0.022579679265618324, 0.0222393199801445, 0.02150890789926052, 0.004520228132605553, -0.030866524204611778, 0.03873211890459061, 0.011796539649367332, -0.29198774695396423, 0.034010257571935654, 0.02482002228498459, -0.05168134719133377, 0.011992117390036583, 0.012679397128522396, 0.02601177617907524, -0.06028877943754196, -0.017313677817583084, 0.06471452116966248, -0.02717246674001217, -0.04211634397506714, -0.0370040126144886, 0.04837382957339287, 0.0030115803238004446, 0.02693699486553669, 0.013650131411850452, -0.03661893308162689, -0.020414702594280243, 0.0659044086933136, -0.01729157380759716, -0.0719529539346695, 0.021284405142068863, 0.029148276895284653, 0.021568328142166138, 0.06331665813922882, -0.08876089751720428, 0.04318015277385712, -0.04008590802550316, 0.00551848579198122, -0.012987012974917889, 0.01571826823055744, 0.02044079639017582, -0.04971068352460861, -0.040091514587402344, -0.024743270128965378, 0.011173618026077747, 0.0323575921356678, -0.014931066893041134, 0.021645819768309593, -0.0378926619887352, -0.053092364221811295, -0.007666436489671469, 0.007792788557708263, 0.0622117780148983, -0.007575401104986668, -0.08467280864715576, -0.020458867773413658, -0.03781558945775032, 0.04876627400517464, -0.043619152158498764, -0.047561004757881165, -0.00562589755281806, 0.057476695626974106, -0.005196432117372751, -0.03399777412414551, 0.012187709100544453, -0.01077537052333355, -0.06106248125433922, -0.021081995218992233, -0.007069536484777927, -0.03699999675154686, -0.014828596264123917, -0.037398502230644226, -0.0050978753715753555, -0.0706925243139267, -0.05940181761980057, -0.009179189801216125, 0.07504308968782425, 0.04170920327305794, -0.0075971996411681175, 0.015073518268764019, 0.02821238338947296, -0.11128801107406616, 0.004514368250966072, -0.028889937326312065, -0.016078727319836617, -0.031153831630945206, -0.0020151364151388407, 0.05129764974117279, -0.022484421730041504, -0.048121094703674316, 0.027155345305800438, 0.019847247749567032, 0.014206374064087868, -0.009199966676533222, 0.03533880040049553, 0.005564820021390915, -0.012673934921622276, 0.015158445574343204, 0.0692937895655632, 0.015193626284599304, -0.011461159214377403, -0.04575502872467041, 0.0238516703248024, 0.032646194100379944, 0.03884347155690193, -0.039338838309049606, 0.021711425855755806, 0.009345212019979954, 0.04445813596248627, -0.052096348255872726, 0.04200836271047592, -0.02674766071140766, 0.006201419048011303, -0.012538631446659565, -0.049810267984867096, 0.027996964752674103, 0.04012855514883995, 0.01986667513847351, -0.007506533991545439, -0.022119784727692604, 0.01086305733770132, -0.05196912959218025, -0.03725484013557434, -0.023122921586036682, 0.010035398416221142, 0.03520946204662323, -0.012763448990881443, -0.044282253831624985, -0.050237566232681274, 0.0163720715790987, 0.0042862962000072, 0.01379889901727438, -0.062035754323005676, -0.04410450905561447, -0.016529230400919914, -0.025797121226787567, -0.007722077425569296, 0.033957645297050476, -0.009795157238841057, 0.05836263671517372, 0.015757275745272636, -0.04187407344579697, 0.0108082490041852, 0.0019265685696154833, -0.03802132606506348, -0.04403465986251831, -0.018184904009103775, -0.029241375625133514, 0.015386843122541904, 0.008786006830632687, 0.030932897701859474, 0.028813067823648453, 0.03233840689063072, 0.0060120029374957085, 0.04743646830320358, -0.011377690359950066, 0.014543549157679081, 0.030792957171797752, 0.02021593227982521, -0.10280739516019821, 0.026941824704408646, -0.03751974552869797, -0.03789656609296799, -0.02213241718709469, 0.03884553536772728, -0.028790295124053955, -0.042659319937229156, -0.017215542495250702, 0.04572810232639313, -0.04379373416304588, -0.041123952716588974, -0.05538398399949074, 0.02018994465470314, 0.05687331035733223, -0.022652892395853996, 0.03059171326458454, -0.011073954403400421, -0.025037826970219612, 0.023061374202370644, 0.01961585506796837, -0.051359549164772034, 0.016050145030021667, 0.023077204823493958, -0.014133336953818798, -0.02218601293861866, 0.0037321816198527813, 0.04615145921707153, 0.008299123495817184, -0.0060905469581484795, -0.01651645638048649, 0.01539734099060297, 0.007332817651331425, 0.05434691533446312, -0.014967343769967556, 0.019099030643701553, -0.011364023201167583, 0.0035342571791261435, -0.00652577169239521, -0.04672957956790924, -0.01477523148059845, 0.0049346876330673695, 0.05180943012237549, -0.04141989350318909, -0.07226351648569107, 0.039130426943302155, 0.017381561920046806, 0.022701088339090347, 0.024898620322346687, 0.009923911653459072, 0.003098534420132637, -0.02652079053223133, 0.019197707995772362, 0.05588654428720474, -0.04807676002383232, 0.015903102234005928, -0.020394330844283104, 0.01891983486711979, 0.03235340118408203, 0.005715968552976847, -0.042259152978658676, -0.008173839189112186, -0.033015310764312744, -0.00202168058604002, -0.06544382125139236, -0.017552463337779045, -0.031600505113601685, 0.011346349492669106, 0.008923554793000221, -0.033114247024059296, -0.006160135846585035, -0.006781460717320442, -0.0047744507901370525, -0.026372365653514862, 0.03296896070241928, -0.046995241194963455, 0.008695198222994804, 0.019911741837859154, -0.038856521248817444, 0.012251542881131172, -0.00439048744738102, 0.02005479857325554, 0.026902828365564346, -0.03344160318374634, -0.026959171518683434, -0.03461795300245285, 0.014339768327772617, 0.009830827824771404, 0.05518335476517677, 0.004844515584409237, -0.03195398300886154, -0.03069681115448475, -0.016462264582514763, -0.03885903209447861, 0.03020663745701313, -0.03698268160223961, -0.016499541699886322, 0.020634528249502182, 0.04397553578019142, 0.004412231966853142, 0.036262571811676025, -0.007039079442620277, -0.017330100759863853, 0.058029431849718094, -0.08187162131071091, -0.01777445338666439, -0.046321481466293335, -0.06507338583469391, 0.0034064920619130135, 0.013422204181551933, 0.022167619317770004, -0.01709958165884018, 0.04981008544564247, 0.029930727556347847, 0.02155480720102787, 0.03281457722187042, 0.01497470773756504, 0.03886830061674118, -0.042635031044483185, -0.011697150766849518, -0.07959124445915222, 0.027781721204519272, 0.031801141798496246, 0.027438033372163773, -0.018518120050430298, -0.02064785175025463, -0.022565258666872978, 0.04185004159808159, -0.07581959664821625, -0.023724013939499855, 0.022228185087442398, 0.005582747515290976, -0.01861448958516121, -0.009497242048382759, -0.04945804178714752, 0.020558426156640053, 0.02177576906979084, -0.05137968808412552, -0.04479879140853882, -0.02479572221636772, 0.04237710312008858, 0.009360059164464474, 0.015368616208434105, -0.04487184062600136, 0.015837255865335464, 0.05377194285392761, 0.01675751805305481, 0.014963027089834213, 0.03813181445002556, -0.03616440296173096, 0.05057032033801079, 0.040493279695510864, -0.013241967186331749, -0.018081452697515488, -0.029534630477428436, 0.00866473838686943, -0.06574004143476486, 0.001953451195731759, 0.01313840877264738, -0.06461070477962494, -0.04222063720226288, 0.05815586820244789, 0.01791728101670742, -0.019696421921253204, -0.04188275337219238, -0.000612768460996449, -0.03821086138486862, -0.009401893243193626, -0.028525562956929207, 0.01394405122846365, -0.02446877770125866, 0.053055837750434875, 0.000875948229804635, -0.02104373648762703, 0.0646868497133255, 0.002325325505807996, -0.0014120020205155015, -0.015031499788165092, 0.08094601333141327, 0.08041157573461533, 0.04664973169565201, -0.005883053410798311, 0.05311441421508789, -0.020189737901091576, -0.04270535334944725, 0.038206201046705246, -0.019584590569138527, -0.003164042020216584, -0.028256714344024658, 0.03330545872449875, 0.07192572951316833, -0.018406443297863007, 0.061011992394924164, -0.04321235790848732, -0.007633555214852095, -0.001338918344117701, 0.030716655775904655, 0.013224625028669834, 0.052596185356378555, 0.01142583042383194, 0.01539293210953474, -0.004419256933033466, -0.043391402810811996, 0.012273858301341534, -0.02595466747879982, -0.009265280328691006, 0.003534002462401986, -0.002335909754037857, 0.017746731638908386, 0.012308573350310326, 0.025808382779359818, 0.06927325576543808, -0.047373224049806595, 0.004699301905930042, -0.006935791578143835, 0.019883017987012863, 0.0223159808665514, -0.01782221533358097, -0.020109623670578003, -0.03244587033987045, 0.028095923364162445, -0.008994477801024914, -0.009987381286919117, -0.03312887251377106, -0.031297467648983, 0.036015585064888, -0.0057010469026863575, 0.0035136649385094643, 0.00160218367818743, 0.014769598841667175, -0.03156643733382225, -0.06634406745433807, -0.04255298897624016, -0.020318875089287758, -0.06640970706939697, -0.030186189338564873, 0.0027338149957358837, 0.002637431723996997, -0.02954959310591221, -0.038426537066698074, -0.004014928825199604, -0.017020344734191895, 0.06402222067117691, -0.04092251509428024, -0.023732975125312805, 0.027868488803505898, 0.01593250036239624, 0.022089717909693718, 0.040119469165802, 0.03016984649002552, 0.0009863725863397121, -0.01614179089665413, -0.03044956363737583, -0.016618480905890465, 0.040655143558979034, -0.00827675312757492, -0.012055333703756332, -0.09705375880002975, 0.022783998399972916, 0.027341168373823166, -0.0137640330940485, -0.07253582030534744, 0.014454616233706474, 0.01798112876713276, -0.010026840493083, 0.06104116886854172, -0.018388450145721436, -0.011222293600440025, -0.02093365602195263, -0.005811942741274834, 0.006277504842728376, 0.0389898307621479, 0.03735484927892685, -0.009260013699531555, 0.06920716166496277, 0.031156165525317192, -0.03870507329702377, -0.022531572729349136, -0.013359306380152702, 0.015041060745716095, 0.009721140377223492, -0.01990668475627899, -0.01690942607820034, -0.012712194584310055, -0.052706580609083176, -0.011163705959916115, 0.019925115630030632, -0.004810578189790249, -0.024292735382914543, 0.022392556071281433, 0.05198870599269867, -0.05762602016329765, 0.04308266565203667, -0.034054264426231384, 0.049451056867837906, -0.011334821581840515, -0.011618941091001034, 0.0075400215573608875, 0.014872134663164616, 0.00932286586612463, -0.009347038343548775, -0.005697110202163458, -0.046354979276657104, -0.018340669572353363, -0.0021019279956817627, 0.054317623376846313, 0.03594021126627922, -0.0005474863573908806, 0.017593758180737495 ]
[ -0.0998753160238266, -0.010963835753500462, -0.04249515011906624, -0.02053426206111908, 0.008758801966905594, -0.040429968386888504, 0.009718315675854683, 0.005038010887801647, 0.018152453005313873, 0.0006108585512265563, -0.006122402846813202, -0.04228466376662254, -0.028974929824471474, 0.010461823083460331, 0.07784167677164078, 0.002753620035946369, -0.01925119012594223, -0.03340854123234749, -0.006905705668032169, 0.008531584404408932, 0.03314489126205444, -0.03033320978283882, -0.033258743584156036, -0.04998699575662613, 0.00029267597710713744, 0.04371585324406624, 0.027809808030724525, -0.023842165246605873, 0.02355506643652916, -0.20162338018417358, -0.005704881623387337, -0.005240020342171192, 0.042819615453481674, -0.0215748380869627, -0.01137808058410883, 0.04241699352860451, 0.02527105063199997, 0.045585982501506805, -0.031016340479254723, 0.03811608999967575, 0.006260993890464306, 0.031613778322935104, -0.05338282138109207, -0.030525129288434982, 0.031370602548122406, 0.008721369318664074, 0.0017170808278024197, -0.03891757130622864, -0.023041268810629845, 0.010958323255181313, -0.06768687814474106, -0.0404866486787796, -0.015689197927713394, -0.032159749418497086, 0.005970125086605549, 0.017695805057883263, 0.03359468653798103, 0.0663938894867897, 0.022059518843889236, 0.009080937132239342, 0.007474101148545742, -0.03991290181875229, -0.1104540303349495, 0.10174978524446487, 0.047850351780653, 0.051783718168735504, -0.00605278043076396, -0.049445465207099915, -0.003474634373560548, 0.0879533439874649, 0.03476317599415779, -0.008185162208974361, -0.0029991166666150093, 0.0476582907140255, 0.012238235212862492, -0.020946266129612923, 0.00770227238535881, 0.027632268145680428, 0.033392272889614105, -0.019444888457655907, -0.03534071892499924, -0.018692851066589355, 0.012008802965283394, -0.009434795007109642, -0.046877581626176834, 0.010352006182074547, -0.023363707587122917, 0.02804558351635933, 0.04073634743690491, 0.035506442189216614, 0.027081014588475227, -0.017035892233252525, 0.0475681833922863, 0.007608824409544468, -0.06579700857400894, 0.005250252783298492, -0.01896241120994091, -0.004949927795678377, -0.05947103351354599, 0.4302014410495758, -0.026409972459077835, -0.033038005232810974, 0.07945619523525238, 0.018025876954197884, -0.024785490706562996, 0.012103819288313389, 0.005084614269435406, -0.058929018676280975, 0.0036988381762057543, -0.035605140030384064, -0.0003475910343695432, -0.0007169882883317769, 0.023972060531377792, -0.027613552287220955, -0.02037280797958374, -0.008397490717470646, 0.06311478465795517, 0.020554469898343086, 0.014719901606440544, 0.018152592703700066, -0.006483412813395262, 0.005160043481737375, -0.008406194858253002, 0.05211762338876724, -0.013198320753872395, -0.06864383071660995, -0.00476170564070344, 0.05146703124046326, 0.010833349078893661, -0.0041082995012402534, 0.05196520686149597, -0.0470954030752182, -0.08231726288795471, 0.005490331444889307, 0.015308487229049206, 0.005227678455412388, 0.029249273240566254, -0.012395338155329227, 0.032589711248874664, 0.003448944538831711, -0.0010655492078512907, -0.016702372580766678, 0.02628196030855179, 0.0007013424183242023, -0.026547159999608994, 0.10631817579269409, -0.017557242885231972, -0.027233604341745377, -0.0039773364551365376, -0.03605525940656662, 0.00743801100179553, 0.03201138600707054, -0.026748184114694595, -0.06165384128689766, 0.03173675015568733, 0.028864074498414993, 0.06820433586835861, -0.01996762678027153, -0.05191219970583916, -0.035546112805604935, -0.04226244240999222, -0.0015347236767411232, -0.04958444461226463, 0.005710442550480366, 0.03410375490784645, -0.0697379782795906, -0.033087216317653656, -0.0017373176524415612, 0.03383113443851471, -0.05375580117106438, -0.00887560099363327, 0.026690136641263962, -0.03628753498196602, -0.014573190361261368, 0.05729508772492409, -0.01688775233924389, -0.05381771922111511, 0.004543513525277376, 0.03974016010761261, 0.03845619037747383, 0.025336647406220436, 0.01115498784929514, -0.0492936335504055, 0.014430496841669083, -0.04216718673706055, -0.07792016118764877, -0.061066027730703354, -0.011367562226951122, -0.03185706585645676, -0.0013543774839490652, -0.02692483551800251, -0.04724569991230965, -0.11362899839878082, 0.07240025699138641, -0.05181785300374031, -0.028594674542546272, 0.03910757973790169, 0.006088944151997566, -0.020877288654446602, -0.014386297203600407, -0.006457775365561247, 0.06726857274770737, -0.006178390234708786, 0.05723700299859047, -0.06532683223485947, 0.0720263198018074, 0.050557225942611694, -0.07393778860569, 0.0704558789730072, 0.04288201406598091, -0.0471290685236454, -0.04516078904271126, -0.010483401827514172, 0.0028962106443941593, -0.0247025303542614, -0.012994101271033287, 0.005860082805156708, 0.02040185034275055, 0.006265223026275635, -0.00031964678782969713, -0.049542032182216644, -0.010730039328336716, -0.010912379249930382, -0.3463152050971985, -0.02905716747045517, -0.013623600825667381, -0.025770112872123718, 0.016841527074575424, -0.06201570853590965, 0.011513324454426765, -0.016776176169514656, -0.030496176332235336, -0.002559148706495762, 0.04366440698504448, -0.02867119200527668, 0.013340460136532784, -0.07458532601594925, -0.002066334243863821, 0.038748882710933685, -0.05588192865252495, -0.03369056433439255, -0.047573022544384, 0.041370805352926254, -0.010923299938440323, 0.015943007543683052, -0.015012210234999657, -0.05322297662496567, -0.006630813702940941, -0.04764218628406525, 0.08958829194307327, -0.005621837917715311, 0.1154489666223526, -0.016195867210626602, 0.051935747265815735, 0.004069593735039234, 0.01238439604640007, -0.08958416432142258, 0.00035180445411242545, -0.014326977543532848, -0.011256781406700611, -0.0002675711293704808, 0.057307418435811996, -0.011046580970287323, -0.02430570125579834, -0.0024364518467336893, -0.053513575345277786, -0.04322916641831398, -0.0317496620118618, 0.01848364621400833, -0.013006290420889854, -0.0010085528483614326, -0.011547875590622425, 0.09468548744916916, -0.0018565674545243382, -0.01462628599256277, 0.02612694539129734, 0.03698168694972992, -0.001246888656169176, -0.045173369348049164, -0.0790288895368576, 0.014547324739396572, 0.0181847233325243, 0.046247273683547974, 0.05807792395353317, 0.047076743096113205, 0.033534590154886246, -0.05918971076607704, 0.0023861166555434465, 0.024760818108916283, 0.009140796028077602, -0.02758004702627659, 0.037140604108572006, -0.037286750972270966, -0.020118433982133865, 0.11551100760698318, 0.012476903386414051, -0.023107877001166344, 0.035777632147073746, 0.03512883558869362, -0.0004699117271229625, 0.011587582528591156, 0.009340528398752213, 0.000014888123587297741, 0.005540774203836918, 0.00767956767231226, 0.014688858762383461, -0.03164428472518921, 0.005678894463926554, 0.015417402610182762, -0.019336454570293427, 0.0042989617213606834, 0.03651447594165802, -0.018015341833233833, -0.018517715856432915, 0.00578048313036561, -0.00044111459283158183, -0.050893545150756836, 0.08514980971813202, -0.01635926216840744, -0.2571508586406708, 0.004065750166773796, 0.104754239320755, 0.05591544136404991, 0.009867093525826931, 0.04073712229728699, 0.023971227928996086, -0.06954673677682877, 0.030209369957447052, -0.01612473651766777, 0.007620236836373806, 0.03825295343995094, 0.006793410982936621, 0.017330888658761978, 0.043974511325359344, -0.012789684347808361, 0.037609510123729706, 0.0015901243314146996, 0.026691460981965065, -0.014222802594304085, 0.020612213760614395, 0.007340561132878065, 0.1761392056941986, -0.0062825316563248634, 0.028085749596357346, -0.008554253727197647, 0.028418682515621185, 0.0018486888147890568, 0.07258935272693634, 0.019628087058663368, -0.001466179615817964, 0.002729819854721427, 0.07923141121864319, 0.016249360516667366, 0.04270258545875549, -0.10603917390108109, -0.014875221997499466, 0.009176227264106274, 0.03266849368810654, -0.006467783823609352, 0.01834762655198574, 0.018570594489574432, -0.03142328932881355, 0.02080465666949749, 0.08930259197950363, 0.04096482694149017, -0.007000420242547989, -0.0018433891236782074, -0.03670912981033325, -0.03184724226593971, -0.02306606061756611, -0.03449024260044098, 0.009708701632916927, -0.0011176870903000236, -0.0015801778063178062, 0.061614081263542175, 0.00625747861340642, -0.01384957879781723, -0.051720768213272095, 0.027617737650871277, 0.03225661441683769, -0.013372444547712803, 0.10166344791650772, 0.03928445279598236, 0.03336044028401375 ]
[ -0.04071004316210747, -0.017578989267349243, 0.019433490931987762, 0.007612165063619614, -0.021645644679665565, 0.005858069285750389, -0.01821153610944748, 0.02315189689397812, -0.004173789173364639, 0.010035724379122257, -0.008134027011692524, -0.00018687562260311097, -0.0017198914429172873, -0.01982920989394188, 0.02557298168540001, -0.012946411035954952, 0.004373664036393166, 0.007113962899893522, 0.015270909294486046, 0.027625584974884987, -0.019672056660056114, 0.012123928405344486, -0.00017602602019906044, -0.03683241456747055, -0.020974859595298767, 0.0073440601117908955, -0.010667013004422188, -0.010011912323534489, 0.023099057376384735, -0.1199871227145195, -0.05806455761194229, -0.02477143332362175, -0.0123595567420125, 0.03235720470547676, -0.03275524452328682, -0.0279223695397377, 0.021591737866401672, 0.022683823481202126, 0.015657689422369003, 0.021241959184408188, -0.010341762565076351, -0.012884714640676975, -0.016409093514084816, 0.019816948100924492, -0.009242196567356586, 0.0039443038403987885, 0.000890224298927933, -0.017434749752283096, -0.0031442733015865088, -0.047729190438985825, -0.018975086510181427, 0.019724799320101738, 0.014249039813876152, -0.020959336310625076, 0.03506379947066307, -0.0007194179925136268, 0.0008055209764279425, -0.00202157418243587, 0.0037291187327355146, -0.02104165405035019, -0.0017656898126006126, -0.007890570908784866, -0.01718256250023842, -0.03446020185947418, -0.005164939910173416, -0.017602989450097084, -0.011810853146016598, 0.00804783683270216, 0.018559355288743973, -0.014734266325831413, -0.045655686408281326, 0.03740789741277695, 0.012275743298232555, 0.0020328103564679623, -0.022312240675091743, 0.023509392514824867, 0.001748529844917357, 0.0005877648363821208, 0.05137188360095024, -0.008222930133342743, -0.005178994964808226, 0.014557316899299622, 0.031888026744127274, 0.010810389183461666, 0.0047747110947966576, -0.00754895294085145, 0.014444300904870033, -0.007562029641121626, 0.008225534111261368, 0.007755549158900976, -0.04201701283454895, -0.003955183085054159, -0.024588609114289284, 0.02959023416042328, -0.08657814562320709, -0.010216147638857365, 0.017629392445087433, -0.02073976956307888, 0.006869248580187559, 0.8641350865364075, 0.0005092381616123021, 0.02544320747256279, 0.03353385254740715, 0.02623743936419487, 0.02149762026965618, -0.015532346442341805, -0.034367259591817856, -0.0011140548158437014, 0.0019334680400788784, -0.0344129353761673, 0.016200656071305275, -0.0009403913863934577, 0.006072157062590122, 0.018478846177458763, 0.001258230535313487, 0.01043769996613264, 0.012802252545952797, 0.0119181452319026, 0.010840575210750103, -0.0035409671254456043, 0.01769557036459446, -0.011875313706696033, 0.008697006851434708, -0.005001422483474016, -0.004734069108963013, -0.19965609908103943, -0.008237865753471851, -9.156487531791284e-33, 0.052266404032707214, -0.026681996881961823, -0.0027000228874385357, 0.0014013280160725117, 0.005435120780020952, -0.020550493150949478, 0.02860582433640957, 0.04577568918466568, -0.0015756923239678144, -0.03160800412297249, 0.014415349811315536, -0.022390494123101234, 0.004585065878927708, -0.004449654836207628, 0.05086226388812065, -0.015724537894129753, 0.00048691421397961676, 0.019936509430408478, -0.025509227067232132, 0.012140477076172829, 0.02751956135034561, 0.016918838024139404, 0.008901108056306839, -0.024907806888222694, 0.023021241649985313, 0.01052401028573513, 0.007402694784104824, -0.002894363831728697, -0.03197244182229042, -0.0373062789440155, -0.0018346082651987672, 0.017862197011709213, 0.011510733515024185, -0.006274377927184105, 0.009516283869743347, -0.04699796810746193, -0.0019874521531164646, 0.004154813475906849, -0.0037959087640047073, -0.06700947880744934, -0.010079862549901009, -0.009495718404650688, -0.032761141657829285, -0.007587727624922991, -0.014224695973098278, -0.005357472691684961, -0.02629125490784645, 0.03877001255750656, 0.01849531941115856, -0.004131906665861607, 0.0014210863737389445, 0.0412197969853878, -0.012644591741263866, 0.01984105259180069, -0.01562865637242794, 0.015192762948572636, -0.017599964514374733, -0.004502922762185335, 0.0044003999792039394, -0.009356675669550896, -0.017431288957595825, 0.008559825830161572, -0.037346843630075455, 0.015714142471551895, -0.00815600622445345, -0.018569571897387505, 0.005563977640122175, -0.006369276437908411, 0.010423753410577774, 0.003383824834600091, -0.039782002568244934, 0.010604691691696644, -0.028773142024874687, -0.003722343361005187, -0.010211099870502949, 0.01211966760456562, 0.01208605244755745, 0.02801559865474701, -0.01245155744254589, 0.005248358007520437, 0.01265932247042656, 0.033880382776260376, 0.024066276848316193, -0.031201431527733803, 0.007815751247107983, -0.017961548641324043, 0.047524236142635345, -0.00864167045801878, -0.010143717750906944, 0.006556755863130093, 0.045056235045194626, 0.033467572182416916, -0.016998538747429848, -0.02931600995361805, -0.037481602281332016, 8.889864107189681e-33, 0.034505754709243774, -0.015356257557868958, -0.03348589688539505, 0.012257024645805359, -0.007251485250890255, -0.01817266270518303, 0.016719546169042587, 0.004451360087841749, -0.034418657422065735, 0.029193369671702385, -0.016144994646310806, 0.04167928546667099, 0.009265320375561714, 0.00846603512763977, 0.038353387266397476, -0.06412822008132935, 0.005338300485163927, -0.026236413046717644, 0.02989567071199417, -0.005258865188807249, 0.05046879127621651, -0.01373688131570816, 0.004384010098874569, -0.025479890406131744, 0.015099744312465191, 0.03515302762389183, -0.03040407970547676, 0.01385217159986496, -0.04758116975426674, 0.009099306538701057, 0.01832474395632744, -0.0033713807351887226, 0.047402042895555496, -0.028823040425777435, -0.018914904445409775, 0.00991599727421999, -0.009882564656436443, -0.005878516007214785, 0.031869303435087204, 0.007467078045010567, 0.021191144362092018, -0.007433750666677952, -0.016440855339169502, 0.013459577225148678, 0.018265169113874435, -0.02339848317205906, -0.0012851309729740024, -0.0014273355482146144, -0.010307430289685726, 0.022254956886172295, 0.009135167114436626, 0.003425031201913953, 0.027448510751128197, -0.023906199261546135, 0.009981288574635983, 0.0123105114325881, -0.027938921004533768, -0.01361863687634468, -0.003731106873601675, 0.06108558177947998, -0.003020535223186016, -0.008835813961923122, -0.0594276525080204, 0.01784517429769039, -0.028267614543437958, -0.012453505769371986, -0.038996875286102295, -0.012485281564295292, 0.011223603039979935, -0.029632681980729103, -0.009510822594165802, 0.01734555885195732, 0.001289044856093824, 0.026642119511961937, 0.03363792970776558, -0.040803223848342896, -0.018224427476525307, 0.01786825619637966, 0.021162401884794235, 0.01870116777718067, -0.014715330675244331, -0.032203130424022675, 0.023147083818912506, -0.013520794920623302, 0.020432397723197937, 0.02596389688551426, -0.017999550327658653, 0.024684302508831024, -0.030808132141828537, -0.009639105759561062, -0.02732206881046295, 0.0014485485153272748, 0.014214176684617996, 0.02017977274954319, 0.006870471406728029, -1.412269146072731e-8, -0.011392539367079735, 0.03632576763629913, -0.00795706920325756, 0.02718961425125599, 0.04049511253833771, 0.005727838724851608, -0.024017447605729103, -0.010136036202311516, -0.021821359172463417, -0.008733004331588745, 0.03278013691306114, 0.018227050080895424, -0.025813227519392967, -0.00213107792660594, 0.019517049193382263, -0.04921061918139458, -0.013899480924010277, -0.005658619571477175, 0.009524204768240452, 0.01162357721477747, 0.024657685309648514, 0.04746285080909729, -0.024771839380264282, 0.005245410371571779, 0.03378685936331749, 0.0036459360271692276, 0.011643904261291027, -0.07376562058925629, 0.000715535250492394, 0.05255865678191185, -0.02339993230998516, -0.015395051799714565, -0.005348102655261755, 0.03357837721705437, -0.0215489212423563, -0.009639443829655647, -0.021035317331552505, 0.01813780516386032, 0.03119003213942051, -0.028775235638022423, 0.0297913309186697, 0.009489662945270538, -0.006291124038398266, -0.019463447853922844, -0.011273588985204697, 0.01638389751315117, -0.017949489876627922, 0.01801144890487194, 0.010030947625637054, -0.028070049360394478, -0.014351974241435528, 0.03715859353542328, 0.010831314139068127, 0.025418072938919067, 0.02670218236744404, 0.0016478458419442177, 0.010838760063052177, -0.008340963162481785, -0.023029597476124763, 0.02231069654226303, -0.003626578953117132, 0.015022623352706432, -0.022051697596907616, -0.00285074464045465 ]
coding-setters-reduce-trust
https://markhneedham.com/blog/2009/05/23/coding-setters-reduce-trust
false
2009-05-15 07:39:57
Coding Dojo #14: Rock, Scissors, Paper - TDD as if you meant it
[ "coding-dojo" ]
[ "Coding Dojo" ]
We decided to have a second week of following Keith Braithwaite's 'http://www.parlezuml.com/softwarecraftsmanship/sessions/tdd_as_if_you_meant_it.htm[TDD as if you meant it]' exercise which he led at the http://www.parlezuml.com/softwarecraftsmanship/index.htm[Software Craftsmanship Conference]. Our http://www.markhneedham.com/blog/2009/04/30/coding-dojo-13-tdd-as-if-you-meant-it/[attempt a fortnight ago] was around implementing a Flash Message interceptor, to hook into the Spring framework but this week was focused more around modeling, the goal being to model a game of http://en.wikipedia.org/wiki/Rock-paper-scissors[Rock, Paper, Scissors]. The code is available on our http://bitbucket.org/codingdojosydney/rockscissorspaper/src/[bitbucket repository]. == The Format We used the http://codingdojo.org/cgi-bin/wiki.pl?RandoriKata[Randori] approach with four people participating for the whole session. == What We Learnt * It was interesting trying to work out what should be the first test that we should write - *the instinct for me was to think about about the different objects that we would need to model* a game but http://blog.halvard.skogsrud.com/[Halvard] suggested it would be simpler to start off with a http://bitbucket.org/codingdojosydney/rockscissorspaper/src/tip/test/rsp/RockScissorsPaperUnitTest.java[test where rock should beat scissors]. What I also found interesting was that we edited and then ran this test at least 3 times, adding more test setup and then implementation details each time. It felt much more iterative than the normal TDD approach where much more time would be spent up front writing the test before writing the code to make it past. * One thing http://pilchardfriendly.wordpress.com/[Nick] was helping us to drive was *'safe refactoring'* when refactoring various parts of the code. The idea here was to try and drive the refactorings from the IDE without having to do too much of it manually which can lead to mistakes. We also tried to keep the code compiling the whole time while keeping the time that the tests were failing to a minimum. For example we started off with rock as a string and our goal was to get it to be Throw.ROCK as it is on the repository. ** We started off by making "rock" a constant. ** We then introduced the enums by converting from the strings to enums using Throw.valueOf("rock") ** Then the twoPlayerRsp method that took an enum was called from the old one that took a string ** Finally we updated the tests to call the enum method directly and removed the old twoPlayerRsp that took the string. + This type of refactoring proved to be a bit harder when trying to refactor the return result of the twoPlayerRsp method since you cannot overload on return types in Java. There was therefore a little bit of time when we couldn't compile the code while doing this refactoring. It felt quite slow refactoring this way but I think this style of refactoring was new to most people so we would probably get quicker at it from doing it a few times. The fact that we are more certain that we haven't broken anything while refactoring this way makes it a useful approach from my point of view. == For next time * An idea that http://fragmental.tw/[Phil] and I were discussing was running an open dojo where anyone who wants to come is welcome. At the moment we've had it as an internal dojo but if anyone is interested in coming to code with us then let me know by replying to this post or http://twitter.com/markhneedham[messaging me on twitter]. We normally run the dojo on Wednesday nights for a couple of hours in the ThoughtWorks Sydney office. * We've used the Randori approach for the http://www.markhneedham.com/blog/category/coding-dojo/[majority of our dojos so far] and while I think it works really well I'm interested in seeing what other setups we can try. I've been reading about the http://codeache.blogspot.com/2008/10/coding-rumors-or-uberdojo.html[Uber/Ultra Dojo on Hugo Corbucci's blog] so either of those might be something that we try out in one session. * Another quite interesting idea that was suggested to me by http://dannorth.net[Dan North] is to make a commit to Mercurial after each pair's go at the computer so that you have a history of how the code has progressed through the session - I think this would probably be quite interesting to read and maybe more useful than just having the code as it was when the session finished.
null
null
[ 0.006626615766435862, -0.003356641624122858, -0.032387442886829376, 0.05648846924304962, 0.07114441692829132, 0.010305016301572323, 0.04097595438361168, 0.03185499459505081, 0.026879552751779556, -0.013845259323716164, -0.0045937360264360905, 0.007363329641520977, -0.0364852249622345, -0.0034754853695631027, -0.0507538840174675, 0.0754212737083435, 0.06843916326761246, -0.02902301959693432, 0.050452619791030884, -0.00008897098450688645, 0.02949652448296547, 0.07417559623718262, 0.03227011486887932, 0.04076535999774933, 0.043968234211206436, 0.03159091994166374, 0.03873075172305107, -0.009347215294837952, -0.05067546293139458, -0.019823294132947922, 0.026703551411628723, -0.00920827779918909, 0.017634879797697067, -0.01588445156812668, 0.005440933629870415, 0.00024614797439426184, -0.02396957203745842, 0.02551782876253128, 0.011154319159686565, -0.0044885845854878426, -0.06224910169839859, 0.059341441839933395, -0.007298919837921858, 0.015929672867059708, -0.05128495395183563, 0.00469660060480237, -0.016228144988417625, 0.008394529111683369, 0.020269187167286873, -0.00542079284787178, -0.06829699873924255, 0.04558121785521507, -0.01110084168612957, 0.00391861516982317, -0.01678645610809326, 0.03780575469136238, 0.05145970731973648, -0.06978534907102585, 0.025061653926968575, -0.02840639278292656, -0.01976587064564228, -0.021269390359520912, 0.0018881841097027063, 0.032590921968221664, 0.016325820237398148, -0.024333294481039047, -0.005819189827889204, 0.03866361454129219, -0.02474820427596569, 0.0012114951387047768, -0.016842830926179886, 0.009635413996875286, -0.019781935960054398, -0.005204272922128439, 0.022257482632994652, -0.04326887056231499, 0.002244866220280528, 0.06480549275875092, -0.0006793277570977807, 0.030692825093865395, -0.016533788293600082, 0.01720254123210907, 0.017332257702946663, 0.03537926822900772, -0.015707578510046005, -0.03390911966562271, -0.008488432504236698, -0.011974249966442585, -0.056024860590696335, 0.06017381697893143, 0.001657608663663268, -0.052416447550058365, 0.01839357800781727, 0.026412900537252426, -0.005298831965774298, 0.023349715396761894, 0.02065502479672432, 0.010875098407268524, -0.006246865727007389, -0.007448449730873108, -0.004247394856065512, -0.03103667125105858, 0.02083498053252697, 0.020060449838638306, -0.08301659673452377, 0.01863589882850647, -0.023870892822742462, -0.048358120024204254, -0.009920778684318066, 0.02139781042933464, -0.01763828657567501, 0.012225991114974022, -0.016704175621271133, -0.0004350517119746655, -0.07639762759208679, 0.07691303640604019, 0.005255021154880524, -0.029353026300668716, -0.01927236281335354, 0.02082042768597603, 0.026463758200407028, 0.022074854001402855, -0.008922471664845943, 0.08799248188734055, 0.028093621134757996, 0.03130655735731125, -0.03271299973130226, 0.06254396587610245, -0.012045077979564667, -0.05857241153717041, -0.008077418431639671, 0.0365607924759388, -0.025129513815045357, -0.004742887336760759, -0.007033210713416338, -0.03873331472277641, 0.0013460282934829593, -0.014637147076427937, 0.022720621898770332, 0.06025288254022598, -0.027741776779294014, -0.033517077565193176, 0.03526219725608826, -0.012558761052787304, 0.00743893114849925, 0.00519642373546958, 0.0009491182281635702, -0.005299394018948078, -0.04369841888546944, 0.006063885521143675, 0.0117294667288661, 0.0032782333437353373, 0.01954125426709652, -0.03359483182430267, 0.017329800873994827, 0.08565807342529297, 0.011166120879352093, 0.030421718955039978, -0.02411348558962345, 0.03578363358974457, 0.022341081872582436, 0.023189973086118698, 0.001857658615335822, 0.041378334164619446, 0.0016100218053907156, 0.0022654077038168907, -0.005823071580380201, 0.042039696127176285, 0.002063647611066699, 0.001966224517673254, -0.055876411497592926, -0.021096140146255493, 0.057996753603219986, -0.05312761291861534, -0.019489653408527374, 0.0340251624584198, 0.07640095800161362, 0.022301727905869484, 0.025541290640830994, 0.010295722633600235, -0.0750117152929306, 0.0015150441322475672, 0.026363125070929527, 0.01914767548441887, 0.017108380794525146, -0.032300207763910294, 0.06757275760173798, 0.02624385990202427, -0.015372343361377716, 0.06256923824548721, -0.08660319447517395, -0.09241827577352524, -0.02070717327296734, -0.02336670085787773, 0.07207902520895004, -0.03586391359567642, 0.018973229452967644, 0.05067848041653633, 0.02530818246304989, 0.040266092866659164, 0.030953209847211838, -0.006486430298537016, 0.023421216756105423, -0.036287084221839905, -0.03481989726424217, 0.043586526066064835, 0.03535760939121246, -0.024268584325909615, -0.05707116797566414, -0.0010402901098132133, -0.0018398837419226766, -0.011230602860450745, 0.027776461094617844, -0.009012383408844471, 0.0332319475710392, 0.04197175055742264, 0.0702148973941803, -0.011559522710740566, 0.07302959263324738, -0.06296250224113464, 0.0032742347102612257, -0.01292923092842102, -0.01867349073290825, 0.01337307970970869, -0.009455716237425804, 0.1059933751821518, 0.04068395122885704, -0.04655788838863373, -0.037581492215394974, 0.014759386889636517, -0.0037711651530116796, -0.048181820660829544, -0.015907621011137962, -0.02096695452928543, 0.020664408802986145, -0.011810568161308765, -0.07625410705804825, -0.05341773480176926, 0.018031038343906403, -0.04695253074169159, 0.017302364110946655, 0.06838329136371613, 0.004678140394389629, 0.03903670608997345, -0.010478957556188107, -0.005819614510983229, -0.007663858123123646, -0.009059717878699303, -0.04635026305913925, 0.014706544578075409, 0.022894756868481636, -0.032866910099983215, 0.04491052404046059, -0.027705909684300423, -0.04058795049786568, -0.03401075676083565, -0.02993064559996128, -0.0030125011689960957, 0.05206954479217529, 0.0763920247554779, 0.00011237469152547419, 0.053371772170066833, -0.009429436177015305, 0.028877265751361847, -0.003967576660215855, -0.05657510831952095, -0.041627850383520126, -0.02560904249548912, -0.009369720704853535, 0.055976755917072296, -0.004915500525385141, 0.01629791408777237, 0.03847605362534523, 0.004931990057229996, -0.024928970262408257, -0.023806333541870117, 0.031378865242004395, 0.011813657358288765, -0.04723499342799187, -0.010741665959358215, -0.037525296211242676, 0.04809177294373512, -0.028942929580807686, -0.011861498467624187, 0.0157057736068964, -0.06391112506389618, 0.05827934667468071, -0.0842205360531807, -0.05073969066143036, 0.027012336999177933, 0.015293550677597523, 0.05145759508013725, -0.011732196435332298, 0.013408960774540901, 0.0764932632446289, 0.004842823836952448, 0.017986958846449852, -0.012328439392149448, 0.008291295729577541, 0.03613705933094025, 0.0006278502405621111, 0.008126492612063885, 0.004308154806494713, 0.02105180360376835, 0.006831851787865162, -0.04693210497498512, 0.04216976463794708, -0.020921848714351654, -0.27865633368492126, 0.013417904265224934, 0.003388320794329047, -0.04704412445425987, 0.02692892961204052, 0.0009418147383257747, 0.007464480586349964, -0.05448943376541138, -0.01653926447033882, 0.007035396993160248, -0.036513376981019974, -0.03429253026843071, -0.025817567482590675, 0.04675162211060524, 0.00038980101817287505, 0.013426234014332294, 0.029147835448384285, -0.04226876422762871, 0.0388418547809124, 0.06160224601626396, 0.011253603734076023, -0.07538286596536636, 0.003917114809155464, 0.03255024552345276, 0.009024315513670444, 0.06475015729665756, -0.08768893033266068, 0.030901802703738213, -0.028275270015001297, -0.005724484100937843, 0.020183593034744263, 0.014526761136949062, 0.013594274409115314, -0.0257779061794281, -0.015636689960956573, 0.0017990153282880783, 0.04864630103111267, -0.0017169950297102332, 0.002580819884315133, 0.009246919304132462, -0.02048109658062458, -0.03866112232208252, -0.010505368001759052, 0.019785109907388687, 0.08158189803361893, -0.003686114912852645, -0.048983216285705566, -0.02269267849624157, -0.03499840572476387, 0.07782111316919327, -0.03179897740483284, -0.024976661428809166, 0.025241730734705925, 0.038358401507139206, -0.023422490805387497, -0.027685685083270073, -0.009367936290800571, -0.013803292065858841, -0.04454214870929718, -0.037267256528139114, -0.014469129964709282, -0.04379984736442566, -0.009050044231116772, -0.06773250550031662, 0.0065202913247048855, -0.08810272812843323, -0.03801581636071205, -0.001015317626297474, 0.05856013670563698, 0.015581569634377956, -0.008281245827674866, 0.02084134891629219, -0.010384977795183659, -0.11121012270450592, -0.007323503959923983, 0.0046712737530469894, -0.02539808861911297, -0.026666700839996338, 0.012667740695178509, 0.08289328217506409, -0.027944905683398247, -0.056746046990156174, 0.053407587110996246, 0.003690506797283888, 0.03085102140903473, 0.006297403946518898, 0.040627505630254745, 0.004644322674721479, -0.02221311442553997, 0.002991634653881192, 0.05714775621891022, -0.0072415233589708805, -0.0438823476433754, -0.019906271249055862, 0.038717031478881836, 0.04333268851041794, 0.03272341191768646, -0.015872269868850708, 0.003630386432632804, 0.02656485140323639, -0.006046033930033445, -0.05114925652742386, 0.06499844789505005, -0.030392620712518692, -0.0144835589453578, -0.018441379070281982, -0.03560012951493263, 0.022303501144051552, 0.035895250737667084, 0.036087919026613235, -0.013887074775993824, -0.04528742656111717, 0.008394511416554451, -0.028030909597873688, -0.03548726066946983, -0.0225235465914011, 0.016136938706040382, 0.02942195162177086, -0.016502324491739273, -0.005043649114668369, -0.07841311395168304, 0.0012675555190071464, 0.004984503611922264, -0.021179473027586937, -0.023392612114548683, -0.024320285767316818, -0.008350701071321964, -0.02664417028427124, 0.034137971699237823, 0.017984433099627495, -0.014480984769761562, 0.03581198304891586, 0.0024742470122873783, -0.0341685526072979, 0.01635657250881195, -0.008963034488260746, -0.06330922245979309, -0.00784031767398119, 0.016550252214074135, -0.006410508882254362, -0.005891678389161825, 0.01398918405175209, 0.004991754423826933, 0.019822506234049797, 0.04625793546438217, -0.003377347718924284, 0.004425404127687216, -0.014589091762900352, 0.013943633995950222, 0.005399227607995272, 0.01403098739683628, -0.06254715472459793, 0.03330833464860916, -0.04413658753037453, -0.02524440549314022, -0.030286554247140884, 0.020531758666038513, -0.01647862419486046, -0.023797640576958656, -0.02502293325960636, 0.0064135827124118805, -0.04756132513284683, -0.03287433460354805, -0.029130635783076286, 0.032199591398239136, 0.06578616797924042, -0.027358006685972214, 0.030007027089595795, -0.006377485580742359, -0.03732872009277344, -0.003803958185017109, 0.003933239728212357, -0.033388860523700714, 0.02441227249801159, 0.013988136313855648, -0.01926247961819172, 0.00465107848867774, -0.01474850159138441, 0.03536767140030861, 0.013120442628860474, -0.008612921461462975, -0.030395276844501495, 0.016152776777744293, 0.02681976556777954, 0.05572826415300369, -0.0020584987942129374, -0.002069674199447036, 0.008756505325436592, -0.015237205661833286, -0.007430586498230696, -0.021314460784196854, -0.021861553192138672, 0.011947260238230228, 0.038620613515377045, -0.04344205558300018, -0.07926525920629501, 0.04121336340904236, 0.022687453776597977, -0.0019258016254752874, 0.0019975430332124233, 0.005487954709678888, -0.015475780703127384, -0.013349753804504871, 0.03279447183012962, 0.061458002775907516, -0.06164052337408066, 0.002890735398977995, -0.010586475022137165, 0.017837611958384514, -0.008708312176167965, -0.010777423158288002, -0.045532114803791046, -0.021396765485405922, -0.02148631401360035, 0.00034674571361392736, -0.05600912123918533, -0.034610819071531296, -0.015346024185419083, 0.01745796576142311, -0.005647130776196718, -0.012827163562178612, 0.0015865451423451304, -0.022453410550951958, -0.016073253005743027, -0.015497442334890366, 0.008751334622502327, -0.05895361304283142, -0.004395331256091595, 0.0027020990382879972, -0.025898277759552002, 0.009053921326994896, -0.02527165785431862, 0.022428428754210472, 0.025445031002163887, -0.028815502300858498, -0.03593400493264198, -0.02492441236972809, 0.024552514776587486, -0.004486587829887867, 0.030776573345065117, 0.011633248999714851, -0.010079460218548775, -0.034063879400491714, 0.0028352125082165003, -0.058327775448560715, 0.025585904717445374, -0.01644628308713436, -0.018850576132535934, 0.06298443675041199, 0.06355353444814682, 0.024854950606822968, 0.05941584333777428, -0.0034704552963376045, -0.015351655893027782, 0.047037944197654724, -0.071553535759449, -0.004689232911914587, -0.03112676739692688, -0.0763472318649292, 0.004224161617457867, -0.017484726384282112, 0.02998426742851734, -0.042411524802446365, 0.04047738388180733, 0.005661046598106623, 0.020751001313328743, 0.0446448028087616, -0.019400164484977722, 0.02991398796439171, -0.031902868300676346, -0.0045464858412742615, -0.09027201682329178, -0.005268417298793793, 0.041702162474393845, 0.006855173967778683, -0.012250532396137714, -0.0070691825821995735, -0.032659776508808136, 0.01760014519095421, -0.043345723301172256, -0.024426909163594246, 0.04768161103129387, -0.020213313400745392, -0.009887060150504112, 0.004035714082419872, -0.05850965157151222, 0.021016791462898254, 0.04884202033281326, -0.038649823516607285, -0.016305672004818916, -0.031008634716272354, 0.049603961408138275, 0.0033862078562378883, 0.015288270078599453, -0.023839062079787254, -0.007505391724407673, 0.05894288048148155, 0.00854218378663063, 0.014217840507626534, 0.050475429743528366, -0.011246913112699986, 0.04019821062684059, 0.02771376632153988, 0.012616228312253952, -0.019605213776230812, 0.009731011465191841, -0.0034963050857186317, -0.03520194813609123, 0.04144827648997307, 0.011005264706909657, -0.03746631741523743, -0.02988852746784687, 0.05912597477436066, 0.029746320098638535, -0.050634849816560745, -0.04365774244070053, 0.01812714710831642, -0.08321810513734818, -0.008258053101599216, -0.00992212351411581, -0.007113778498023748, -0.036687206476926804, 0.0512487068772316, 0.00241714995354414, 0.0019410258391872048, 0.07674594223499298, -0.001283466350287199, -0.033937595784664154, -0.031862951815128326, 0.07918620109558105, 0.06761040538549423, 0.04471967741847038, -0.0011869467562064528, 0.058799851685762405, -0.03658417984843254, -0.04773822799324989, 0.01323592010885477, -0.003389633959159255, -0.014023338444530964, -0.047526173293590546, 0.021455781534314156, 0.05538840591907501, -0.025688162073493004, 0.049650080502033234, -0.026149099692702293, -0.013767155818641186, 0.0013112941524013877, 0.03754745051264763, 0.036363329738378525, 0.07611753046512604, 0.01394046749919653, -0.018738284707069397, -0.0031126453541219234, -0.04513433575630188, 0.04682895913720131, -0.046745914965867996, -0.027768123894929886, 0.02867501974105835, -0.010737034492194653, 0.0322917178273201, 0.00881743524223566, 0.029706956818699837, 0.056103892624378204, -0.024287784472107887, 0.030951691791415215, -0.02270669676363468, 0.021794816479086876, 0.02119305171072483, -0.013526448048651218, -0.0206134133040905, -0.008140903897583485, -0.016313079744577408, -0.03136811405420303, -0.02683243341743946, -0.0348861999809742, -0.03323884680867195, 0.03430807590484619, -0.009853307157754898, 0.011854552663862705, 0.04377548396587372, 0.01587498188018799, -0.029416529461741447, -0.07094299793243408, -0.043283384293317795, -0.04542181268334389, -0.036669570952653885, -0.010515226982533932, 0.028010856360197067, 0.0025054877623915672, -0.040750496089458466, 0.0005535174859687686, -0.038207706063985825, -0.02689621038734913, 0.05289827287197113, -0.04835933819413185, -0.04437898471951485, 0.030899133533239365, 0.016281558200716972, 0.030292605981230736, 0.017166350036859512, 0.041618816554546356, -0.004362890031188726, -0.004693124908953905, -0.047385599464178085, 0.0007896005408838391, 0.034158192574977875, 0.020052626729011536, 0.02166140452027321, -0.0873098075389862, 0.02067212015390396, 0.037957631051540375, 0.009200489148497581, -0.050350286066532135, 0.04142804443836212, -0.016295935958623886, -0.01404944434762001, 0.047251276671886444, -0.03623819723725319, 0.010130470618605614, -0.04159807041287422, -0.007550831418484449, 0.01792825758457184, 0.01456432230770588, 0.045243728905916214, -0.019303807988762856, 0.09083987772464752, 0.019106103107333183, -0.04022599384188652, -0.05473737418651581, 0.0013759939465671778, -0.0007514001335948706, -0.0075624799355864525, 0.005883576348423958, -0.04906092956662178, -0.03542065992951393, -0.08482342958450317, -0.01947074383497238, 0.011570293456315994, -0.030384555459022522, -0.03029816970229149, 0.026953494176268578, -0.004960623104125261, -0.03378202021121979, 0.0116103021427989, -0.05684732273221016, 0.04859016463160515, -0.039290886372327805, -0.0036944171879440546, 0.022710073739290237, -0.009992102161049843, -0.01857793889939785, 0.0163368321955204, 0.038616228848695755, -0.05374898761510849, 0.0011895974166691303, 0.01707817241549492, 0.03311435133218765, 0.03648889437317848, 0.021831514313817024, -0.04826800525188446 ]
[ -0.12201957404613495, 0.004129940643906593, -0.012485237792134285, -0.05414246395230293, 0.029870744794607162, -0.00829688273370266, -0.01830527000129223, 0.01937483251094818, -0.009136691689491272, -0.022968744859099388, -0.008627528324723244, -0.02253689058125019, 0.0007420038455165923, 0.00038126265280880034, 0.08295888453722, 0.018289605155587196, -0.012398667633533478, -0.048284366726875305, 0.031160280108451843, 0.02873081900179386, 0.018766723573207855, 0.0007138348300941288, -0.0383266843855381, -0.034733034670352936, 0.010348480194807053, 0.04092063009738922, 0.023611340671777725, -0.05452655255794525, 0.004557066131383181, -0.19370481371879578, 0.019209152087569237, -0.009648853912949562, 0.034504033625125885, -0.02926664985716343, -0.03253152221441269, 0.042393025010824203, 0.018741125240921974, 0.01015691552311182, -0.03682657703757286, 0.011909189634025097, -0.006214810535311699, 0.020254680886864662, -0.03856159374117851, -0.043683212250471115, 0.038120899349451065, -0.012972372584044933, -0.0006273035542108119, -0.03912060707807541, -0.00481391791254282, 0.014287330210208893, -0.05598593130707741, -0.010184871964156628, -0.005926609504967928, -0.06417302042245865, -0.0014801976503804326, -0.004297647625207901, 0.03236087039113045, 0.08109258860349655, 0.009351198561489582, 0.032425809651613235, 0.019112257286906242, -0.009765480645000935, -0.12442395836114883, 0.07523298263549805, 0.04200341925024986, 0.07006784528493881, -0.044863663613796234, -0.013661332428455353, 0.006505809724330902, 0.11165690422058105, 0.01373692974448204, -0.008808998391032219, -0.0026224374305456877, 0.05080210790038109, 0.01326528750360012, 0.010564613156020641, 0.002574881538748741, 0.00488804979249835, 0.022737471386790276, -0.061173517256975174, -0.04784451052546501, -0.013650527223944664, -0.022268278524279594, -0.004687351640313864, -0.04861754924058914, 0.019845571368932724, -0.020027538761496544, 0.05545944347977638, 0.01101998146623373, 0.0349145233631134, 0.055940382182598114, 0.007637037895619869, 0.025510774925351143, -0.00853054691106081, -0.10268060117959976, -0.0005038384697400033, 0.00497746467590332, 0.0043052975088357925, -0.029138384386897087, 0.47604599595069885, -0.005514761433005333, -0.04011520370841026, 0.032936520874500275, 0.021281149238348007, -0.012753700837492943, -0.007578780874609947, 0.024129867553710938, -0.060856666415929794, 0.01411315705627203, -0.0341474786400795, 0.02404163032770157, 0.0051747583784163, 0.0773647204041481, -0.033185094594955444, -0.0029234501998871565, 0.04537392035126686, 0.02746632508933544, 0.015627015382051468, -0.008235875517129898, 0.018371595069766045, 0.008029080927371979, 0.022181786596775055, 0.020124267786741257, -0.02501801587641239, 0.005475795362144709, -0.012217553332448006, 0.01441626064479351, 0.051814109086990356, 0.0407857671380043, 0.0021898930426687002, 0.0549560971558094, -0.05331078916788101, -0.05536529794335365, 0.00829837191849947, 0.005053530912846327, 0.0011131761129945517, 0.03476942330598831, -0.028351811692118645, -0.005064242519438267, 0.04752209410071373, 0.006505014840513468, -0.019133560359477997, 0.04966077581048012, -0.031079648062586784, -0.03946550935506821, 0.0871962383389473, 0.008810647763311863, -0.04579990729689598, -0.0030840167310088873, -0.022199975326657295, 0.009672945365309715, 0.031553953886032104, 0.001987601164728403, -0.0459238663315773, 0.018396824598312378, 0.007409834768623114, 0.08520203083753586, -0.003938318695873022, -0.05508723109960556, -0.017235781997442245, -0.01681431382894516, -0.027045641094446182, -0.02091400697827339, 0.029258763417601585, 0.04924889653921127, -0.08438892662525177, -0.03155011311173439, 0.012230933643877506, 0.03464283421635628, -0.089581698179245, -0.00985653791576624, 0.010967550799250603, -0.04605703800916672, -0.024114076048135757, 0.04337911680340767, -0.02112053893506527, -0.03218301385641098, 0.013193669728934765, 0.04513911157846451, 0.0129279475659132, 0.03191293030977249, 0.02142706699669361, -0.020978908985853195, -0.004983453545719385, -0.044019948691129684, -0.0652979388833046, -0.036672335118055344, -0.016445985063910484, -0.024676267057657242, 0.002115923911333084, -0.01996753178536892, -0.02909865230321884, -0.09099985659122467, 0.07778957486152649, -0.020877961069345474, -0.03233899921178818, 0.01856067031621933, -0.023617714643478394, -0.010128439404070377, -0.01695995405316353, -0.04420914873480797, 0.02839704416692257, -0.02993905544281006, 0.03711003065109253, -0.062352221459150314, 0.04781484603881836, 0.06524666398763657, -0.06708334386348724, 0.07021674513816833, 0.045355211943387985, -0.04972018301486969, -0.05528218671679497, 0.009902308695018291, 0.010710158385336399, 0.007241370156407356, -0.010054056532680988, 0.00008129118214128539, 0.00936521403491497, -0.021901842206716537, 0.04269132763147354, -0.021226562559604645, 0.025927167385816574, 0.009493033401668072, -0.3160618245601654, -0.054004792124032974, -0.02294021286070347, -0.010311244055628777, 0.03316047787666321, -0.028265438973903656, 0.012235230766236782, -0.02412995882332325, -0.0023210328072309494, -0.011672811582684517, 0.07733503729104996, -0.008927572518587112, -0.011593816801905632, -0.09055390954017639, -0.01079501211643219, -0.0033017767127603292, -0.04799528792500496, -0.030203266069293022, -0.02124759554862976, 0.034398943185806274, 0.018282581120729446, -0.01826580986380577, -0.041514791548252106, -0.05781872943043709, -0.01937360130250454, -0.05626292526721954, 0.10221429914236069, 0.022289156913757324, 0.09019455313682556, -0.03135843575000763, 0.02608686126768589, 0.010354213416576385, 0.01424905564635992, -0.09047632664442062, 0.01493003498762846, -0.012394232675433159, 0.002225998556241393, -0.018131989985704422, 0.033538952469825745, -0.052447881549596786, -0.0731586366891861, 0.04153133183717728, -0.06099234148859978, -0.06859487295150757, -0.0370250903069973, 0.002107327338308096, -0.03672914206981659, -0.030622560530900955, -0.015087724663317204, 0.08223143219947815, 0.03209269046783447, -0.024051418527960777, 0.03274523839354515, -0.013787302188575268, 0.0022796299308538437, -0.03578164801001549, -0.08185486495494843, 0.01347910612821579, 0.0019625963177531958, -0.005555381067097187, 0.02264915034174919, 0.058519717305898666, -0.0031181571539491415, -0.04841506481170654, 0.01053585670888424, 0.031314752995967865, 0.013916668482124805, -0.02395796589553356, 0.054449256509542465, -0.028376849368214607, -0.014291364699602127, 0.053105272352695465, 0.01841454952955246, -0.011359111405909061, 0.01463828794658184, 0.04509522765874863, 0.005652263294905424, -0.001236250507645309, 0.024516597390174866, 0.004465772304683924, 0.023565761744976044, -0.018417464569211006, 0.05563747510313988, -0.03345540910959244, -0.020205164328217506, 0.020979829132556915, 0.008906058967113495, -0.022888602688908577, 0.07371726632118225, 0.02328556403517723, -0.014681989327073097, 0.0015823672292754054, -0.025630289688706398, -0.05229025334119797, 0.0509222149848938, -0.0025077550671994686, -0.26323628425598145, 0.015274024568498135, 0.07629182934761047, 0.046665675938129425, -0.011688357219099998, 0.027845511212944984, 0.0627157911658287, -0.035128332674503326, 0.009006188251078129, 0.000491732731461525, 0.017888151109218597, 0.040318068116903305, -0.006242440547794104, 0.014345863834023476, 0.016665691509842873, -0.012491438537836075, 0.03443320468068123, -0.011413317173719406, 0.05085230991244316, -0.014662085101008415, 0.004490735474973917, 0.036038078367710114, 0.15825794637203217, -0.007501915562897921, 0.04054875299334526, 0.04229731857776642, 0.03099643997848034, -0.008205692283809185, 0.08263445645570755, 0.01319251861423254, -0.009207974188029766, -0.0013821425382047892, 0.023206248879432678, 0.014966503717005253, 0.01866462454199791, -0.06860935688018799, -0.03133472800254822, 0.039468444883823395, -0.0003801050188485533, 0.0017957055242732167, 0.008153851144015789, 0.005756326951086521, -0.007173623889684677, 0.022842170670628548, 0.0515766404569149, 0.033079713582992554, 0.020311111584305763, -0.03665631264448166, -0.06083572655916214, -0.013226998969912529, -0.03856457397341728, -0.04678419977426529, 0.0004452833964023739, -0.03532487154006958, 0.01939021795988083, 0.07418321073055267, 0.04544105753302574, 0.0029679208528250456, -0.009129962883889675, -0.0025727732572704554, -0.024465302005410194, -0.007638460956513882, 0.12761089205741882, 0.025459889322519302, 0.04404277727007866 ]
[ 0.009262044914066792, -0.0018847850151360035, 0.013228325173258781, -0.023117713630199432, -0.002206086181104183, 0.0029441723600029945, 0.006240163929760456, -0.000597009842749685, -0.0019593460019677877, 0.019963759928941727, 0.010058928281068802, 0.024563578888773918, 0.0290669035166502, -0.0026726024225354195, 0.0033522730227559805, -0.015498489141464233, 0.015464147552847862, -0.01531076431274414, 0.022378919646143913, 0.03169217333197594, -0.012402035295963287, 0.00367071689106524, 0.028024611994624138, -0.010312317870557308, -0.026982199400663376, 0.014292017556726933, 0.006276614498347044, -0.003965757321566343, 0.01641346886754036, -0.13414646685123444, 0.005509548354893923, -0.03205212950706482, -0.018208589404821396, -0.01517996285110712, 0.017279360443353653, -0.013289517723023891, 0.000050272825319552794, 0.005206594243645668, 0.017123721539974213, 0.003685793373733759, -0.05321520194411278, -0.042735014110803604, 0.017132749781012535, -0.0016914939042180777, 0.00037097951280884445, -0.005781904328614473, -0.018362196162343025, -0.040441352874040604, -0.024455904960632324, -0.03335331752896309, -0.006604470312595367, -0.012453341856598854, -0.019935980439186096, -0.024435091763734818, 0.013198256492614746, -0.01315466407686472, -0.003690121928229928, -0.003868998261168599, 0.028316117823123932, -0.014237563125789165, -0.015026046894490719, 0.01397542841732502, -0.04151320829987526, -0.03127815201878548, -0.03450164198875427, -0.01193599496036768, -0.019044695422053337, -0.0002866701106540859, -0.0168615709990263, -0.003873433917760849, -0.007778520695865154, 0.03784765675663948, -0.0198224987834692, -0.031357161700725555, -0.005065786652266979, -0.021018344908952713, 0.010181273333728313, 0.00744284363463521, 0.0007237804238684475, 0.0027397889643907547, -0.014981186017394066, 0.015527008101344109, -0.007735789753496647, -0.003224247368052602, 0.0027501315344125032, 0.011369641870260239, 0.0012230228167027235, 0.003947690594941378, 0.03937342017889023, 0.028657810762524605, -0.020340358838438988, 0.01692681759595871, 0.006254592444747686, 0.0316663421690464, -0.11503404378890991, -0.0018258042400702834, 0.0013342889724299312, -0.024559738114476204, 0.006711546331644058, 0.869242787361145, 0.0034401551820337772, 0.003186827292665839, 0.028715960681438446, 0.02205495722591877, 0.02647162228822708, 0.0031595693435519934, -0.005456503015011549, -0.0018392757046967745, 0.023738503456115723, -0.04826800152659416, 0.021301914006471634, 0.03853324428200722, 0.009640862233936787, 0.030790528282523155, -0.020479252561926842, 0.038496892899274826, -0.02122318372130394, -0.005300222430378199, 0.014080161228775978, 0.010436353273689747, 0.009172838181257248, 0.019382044672966003, 0.017445191740989685, 0.045751575380563736, 0.027246860787272453, -0.1586071103811264, 0.0005520564154721797, -7.548708072189978e-33, 0.052257224917411804, -0.008668860420584679, -0.008829325437545776, 0.008518815040588379, 0.013248385861515999, 0.0012917111162096262, 0.03179945796728134, 0.003831074805930257, 0.017521493136882782, -0.03552587702870369, -0.021794715896248817, -0.005586264654994011, -0.007313338574022055, -0.018355537205934525, 0.03917376697063446, -0.0052667343989014626, -0.03223187103867531, 0.016905402764678, -0.016870738938450813, 0.022227657958865166, 0.018631363287568092, 0.016048168763518333, -0.012738262303173542, 0.004909179639071226, 0.02400270663201809, 0.06081845238804817, -0.025627175346016884, 0.0014624890172854066, 0.020356325432658195, -0.036199696362018585, -0.00932309776544571, 0.009506406262516975, -0.016269255429506302, 0.017231211066246033, 0.012446398846805096, -0.0138603700324893, 0.00017577080870978534, -0.012782993726432323, -0.028891416266560555, -0.03404393419623375, -0.02821776270866394, -0.010335496626794338, -0.05594153702259064, -0.03853359445929527, -0.015224965289235115, -0.03218736872076988, 0.026196569204330444, 0.0314977765083313, 0.01800689287483692, -0.02153438702225685, 0.023595571517944336, 0.001107621705159545, 0.035915374755859375, 0.015418200753629208, -0.03194829076528549, 0.016054971143603325, 0.006558094639331102, 0.01181435864418745, 0.01788547821342945, 0.03872574865818024, -0.003576381830498576, -0.008808853104710579, -0.020519176498055458, 0.028064001351594925, -0.03428967669606209, 0.00646888418123126, 0.00732561107724905, 0.0020559467375278473, 0.029730843380093575, -0.007744967006146908, -0.04778784140944481, -0.015177810564637184, 0.004483502358198166, -0.010438062250614166, -0.019234010949730873, -0.015646981075406075, 0.013133694417774677, 0.022558489814400673, -0.004037856124341488, 0.024806497618556023, 0.011901902966201305, -0.012010954320430756, -0.027503281831741333, -0.05120222270488739, 0.0030773726757615805, 0.0063309739343822, 0.021578555926680565, -0.043934356421232224, 0.006090544629842043, 0.00823899731040001, 0.018260439857840538, 0.010680586099624634, -0.001462119398638606, 0.0022457612212747335, 0.01223320048302412, 7.25791427968356e-33, -0.012736397795379162, -0.009415378794074059, -0.012895168736577034, 0.0018272842280566692, 0.03841603547334671, -0.007527533452957869, 0.0220783818513155, -0.0008177650743164122, -0.048023708164691925, 0.0022157118655741215, -0.044703125953674316, -0.010419058613479137, -0.021100958809256554, 0.02402382530272007, 0.03859797492623329, -0.04190575331449509, 0.031821366399526596, -0.023427801206707954, 0.017544424161314964, 0.012316869571805, 0.01039165910333395, 0.018732285127043724, 0.013062240555882454, -0.014306548051536083, 0.0216066911816597, 0.04716560244560242, -0.02661537379026413, 0.021451566368341446, 0.002172101754695177, 0.007910174317657948, 0.007755842059850693, -0.015673333778977394, 0.011544950306415558, 0.005370385479182005, -0.00994009617716074, 0.02499021589756012, -0.003982039168477058, 0.012306813150644302, 0.002048106398433447, 0.010113632306456566, 0.0063051627948880196, -0.02171122282743454, -0.016384858638048172, 0.05850452184677124, 0.006590778008103371, 0.03811832144856453, 0.015715863555669785, -0.012566404417157173, -0.0025889019016176462, 0.015471094287931919, -0.0033467269968241453, -0.0004558693617582321, 0.02597227320075035, -0.007691538892686367, -0.023641105741262436, -0.03284268081188202, -0.014845411293208599, -0.0004737759882118553, -0.00617578811943531, 0.019080093130469322, -0.00616192352026701, 0.015730444341897964, -0.027786247432231903, 0.05103030800819397, 0.006007261108607054, 0.005389394238591194, -0.028837913647294044, -0.021108096465468407, -0.03553718701004982, 0.011028463020920753, -0.03661522641777992, 0.0012746677966788411, 0.012048416770994663, 0.03068368509411812, 0.03388092666864395, -0.02422824688255787, -0.054626189172267914, 0.0002332539443159476, -0.02435733750462532, -0.0027228055987507105, 0.00566650228574872, 0.01936257816851139, -0.0002467304584570229, -0.006365190260112286, -0.031953196972608566, 0.0405195876955986, -0.015765313059091568, 0.024476630613207817, -0.018221156671643257, -0.025074586272239685, -0.011263933964073658, 0.01798548921942711, 0.020878130570054054, 0.012793447822332382, -0.003535941243171692, -1.3286761912922884e-8, -0.0009529007948003709, 0.021694261580705643, -0.011640956625342369, -0.011221606284379959, -0.0009210907737724483, 0.038466546684503555, 0.0022686845622956753, -0.011271760798990726, -0.022877469658851624, -0.006110228598117828, 0.030774110928177834, 0.004995643626898527, -0.021830355748534203, 0.008437735959887505, -0.004046272952109575, -0.0625571683049202, -0.025092395022511482, -0.013683216646313667, 0.015321332029998302, 0.01552217174321413, 0.0520002655684948, 0.050103943794965744, -0.0009407174657098949, 0.002198923612013459, -0.00041152595076709986, 0.008670755662024021, 0.016950102522969246, -0.06423872709274292, -0.018461083993315697, -0.008090428076684475, -0.019508695229887962, -0.02830619551241398, -0.007430229801684618, 0.03462529927492142, -0.0285456795245409, -0.0077216289937496185, 0.02320161461830139, 0.01915312372148037, -0.009084227494895458, 0.010305347852408886, -0.02223006635904312, 0.009747951291501522, -0.025099080055952072, -0.03777068108320236, -0.0389053076505661, 0.038218121975660324, -0.05511655658483505, -0.025124656036496162, 0.04265720769762993, -0.007214939687401056, -0.01577223837375641, 0.008198385126888752, -0.00586869427934289, 0.0034907611552625895, 0.010557123459875584, 0.029395658522844315, 0.009058905765414238, -0.019377242773771286, -0.022243021056056023, -0.0314212441444397, 0.011506512761116028, 0.008266386575996876, -0.0182929839938879, -0.013665190897881985 ]
coding-dojo-14-rock-scissors-paper-tdd-as-if-you-meant-it
https://markhneedham.com/blog/2009/05/15/coding-dojo-14-rock-scissors-paper-tdd-as-if-you-meant-it
false
2009-05-12 09:21:13
Debugging: Get to a stage where it works
[ "debugging" ]
[ "Software Development" ]
When debugging a problem I've learnt far too many times that where possible the most effective approach is to try and get the application back into a state where it does work and then analyse the changes that have resulted in it no longer working as expected. About 7 or 8 years ago when I used to code PHP at school and university that pretty much was my default approach - I didn't really know how to program well enough to work out how to fix something that was broken so I would always just revert back all the steps I'd done until it worked. I didn't think it was a particularly good approach at the time - I wasn't using source control so I always used to lose my changes - but looking back at that approach now I think it is one of the most effective ones when debugging. A recent example of this came when we were trying to work out why our selenium server was no longer being launched when we ran the build locally. There had been some changes on the files involved but they didn't seem substantial, so my pair and I started looking through the code as it was now and trying to work out what it was doing wrong now. We didn't really succeed in getting anywhere - there wasn't anything that stood out as being wrong. Somewhat luckily another colleague happened to come across the code that we were looking at and pointed out something else that seemed strange about what was going on. It turned out that more of the code had been changed that we originally thought. We went back to the subversion logs and realised that the paths to the selenium jar had been changed to be relative rather than absolute - it was a valid change designed to allow us to run the build for different branches locally - but the relative path wasn't correct and therefore the selenium server was never being started even when the build was run from the trunk. We had actually been attempting to fix this problem on a branch so we had actually made the problem more difficult for ourselves than it needed to be. Not only was the absolute path not going to work for us but the relative path that we needed was also different as we had checked out the code a level up in the directory structure. In an attempt to get something working we reverted the changes back to a state where we were able to run the build on the trunk and the selenium server starting working correctly again. We then had a more stable base to make the changes from. The lesson for me here was that if things go wrong it's more effective to get back to a working state as quickly as possible and go from there instead of theorising on what went wrong and trying to fix it that way.
null
null
[ 0.014229705557227135, 0.011525371111929417, -0.018170710653066635, 0.037933360785245895, 0.09101685136556625, 0.01653851382434368, 0.028799815103411674, 0.05240998789668083, 0.023198379203677177, -0.03487706184387207, -0.01984206959605217, 0.01217013131827116, -0.07073256373405457, 0.009645683690905571, -0.028604546561837196, 0.06924113631248474, 0.07472524791955948, -0.003943443764001131, 0.0197776947170496, 0.011249186471104622, 0.031613774597644806, 0.07236433774232864, -0.019609184935688972, 0.03197946399450302, 0.01844036765396595, 0.024530822411179543, -0.004333775956183672, -0.012251443229615688, -0.08674992620944977, -0.007088388781994581, 0.040353916585445404, 0.0203024223446846, 0.0006304839043878019, -0.008993944153189659, -0.010142100974917412, -0.025153029710054398, -0.012115087360143661, 0.023021578788757324, 0.005228835623711348, 0.017743468284606934, -0.05944879353046417, 0.03354013338685036, -0.024275317788124084, 0.014335136860609055, -0.02376495860517025, 0.033394310623407364, -0.03213757276535034, -0.009533780626952648, 0.0023133265785872936, -0.017287714406847954, -0.058225955814123154, 0.029955824837088585, -0.002591331023722887, -0.023865723982453346, -0.025073954835534096, 0.05441628769040108, 0.043507371097803116, -0.07816293090581894, -0.004004606511443853, -0.033364903181791306, -0.0053483243100345135, 0.023003557696938515, -0.0034467841032892466, 0.05044398829340935, 0.015572634525597095, -0.007979809306561947, 0.007390087936073542, 0.03625340014696121, -0.029444439336657524, -0.008336572907865047, -0.0061866180039942265, 0.01029192190617323, -0.037204984575510025, -0.029543085023760796, 0.03548460453748703, -0.026898358017206192, -0.028578193858265877, 0.06030478700995445, 0.008536608889698982, 0.03711557388305664, -0.024086330085992813, 0.030349289998412132, 0.016134707257151604, 0.007177269551903009, 0.004971045069396496, -0.03175786882638931, -0.01781122200191021, -0.010448217391967773, -0.04153047129511833, 0.06026255711913109, 0.03853369504213333, -0.07104738056659698, 0.0175517275929451, 0.06011286750435829, -0.006751952227205038, 0.005818589124828577, 0.026549138128757477, -0.0034500809852033854, 0.00508100725710392, -0.012195399031043053, -0.01450314186513424, -0.013379345647990704, 0.021636152639985085, 0.013788390904664993, -0.07297683507204056, 0.015178690664470196, -0.03960445895791054, 0.008219649083912373, -0.008802779018878937, -0.005874404218047857, -0.015415997244417667, 0.035355374217033386, -0.03263215720653534, 0.012813182547688484, -0.08603722602128983, 0.07231547683477402, -0.0072616939432919025, -0.05873625725507736, 0.005102308001369238, -0.0006323032430373132, 0.023981010541319847, 0.021137863397598267, -0.01103847473859787, 0.09307920932769775, 0.014113359153270721, 0.038398031145334244, -0.015241554006934166, 0.049685146659612656, -0.019921859726309776, -0.05574234575033188, -0.0190754197537899, 0.052961766719818115, 0.00045975271495990455, -0.026891525834798813, 0.00026059633819386363, -0.029164163395762444, -0.001317045302130282, -0.014322641305625439, 0.014615933410823345, 0.04210815206170082, -0.018789086490869522, -0.0178214181214571, 0.0019167981809005141, 0.016631808131933212, 0.04037204757332802, 0.012970161624252796, 0.008548427373170853, -0.01501428335905075, -0.023627793416380882, 0.029003802686929703, 0.010612689889967442, 0.007373599335551262, 0.018880048766732216, -0.03664011135697365, -0.0018521607853472233, 0.09029488265514374, -0.010470261797308922, -0.005197054706513882, -0.04007270559668541, 0.022919652983546257, 0.03802262246608734, 0.03804592788219452, 0.00883981678634882, 0.02748219296336174, 0.027183104306459427, -0.00015868306218180805, -0.010595366358757019, 0.025308605283498764, 0.00946031603962183, 0.032131798565387726, -0.07478968799114227, -0.04866527020931244, 0.05240125209093094, -0.06475825607776642, -0.04971509054303169, 0.0644957572221756, 0.06976562738418579, 0.02014858089387417, 0.018648730590939522, -0.009372994303703308, -0.08073222637176514, 0.011746830306947231, 0.0019103139638900757, 0.024862710386514664, 0.01829460635781288, -0.022046925500035286, 0.055051736533641815, 0.029824955388903618, 0.009607433341443539, 0.009775945916771889, -0.101128488779068, -0.09821609407663345, -0.012510848231613636, -0.012576820328831673, 0.06249004229903221, -0.009276376105844975, -0.02321704663336277, 0.06466972082853317, 0.0030913338996469975, 0.03925853595137596, 0.011938685551285744, 0.010808205232024193, 0.006790529005229473, -0.054261576384305954, -0.05048900097608566, 0.04241672530770302, 0.06602464616298676, -0.012757905758917332, -0.04575885459780693, 0.01848534680902958, -0.019768070429563522, 0.008219023235142231, 0.026500536128878593, -0.0012056413106620312, 0.05258442461490631, 0.014470153488218784, 0.05142652615904808, -0.05449024960398674, 0.07035659998655319, -0.05805865302681923, 0.0012972074327990413, -0.00548761198297143, -0.02144111692905426, 0.00023100404359865934, 0.0018340452807024121, 0.11021953821182251, 0.07170163840055466, -0.058388855308294296, -0.022180989384651184, 0.013312425464391708, 0.02021808736026287, -0.052026573568582535, -0.005367590114474297, -0.010560629889369011, 0.00803168024867773, 0.01663125865161419, -0.0756438598036766, -0.0535438247025013, 0.012058613821864128, -0.04004927724599838, 0.019681666046380997, 0.058975815773010254, -0.0175233855843544, 0.055840641260147095, -0.017122991383075714, -0.012371978722512722, 0.008896652609109879, -0.004009579308331013, -0.053725238889455795, 0.021776478737592697, 0.03723200038075447, -0.01958354376256466, 0.04096287488937378, -0.02300260215997696, -0.03068302758038044, -0.031627967953681946, -0.021389713510870934, -0.01052776537835598, 0.029939746484160423, 0.06448668241500854, -0.01734105497598648, 0.03925997391343117, 0.000971719971857965, 0.026122665032744408, 0.012641096487641335, -0.04548928886651993, -0.022093776613473892, -0.029416710138320923, -0.0008708909736014903, 0.029206272214651108, -0.013793407008051872, 0.025888370350003242, 0.023460842669010162, 0.0007215130608528852, -0.0022496397141367197, -0.021211804822087288, 0.03722364827990532, -0.0035490740556269884, -0.014016165398061275, -0.023213118314743042, 0.005566231906414032, 0.039453621953725815, -0.056138720363378525, -0.018623406067490578, -0.0021631219424307346, -0.05743947625160217, 0.05898858234286308, -0.058190930634737015, -0.06782890856266022, 0.017580216750502586, 0.01764792762696743, 0.024597223848104477, -0.0018164749490097165, 0.02610703930258751, 0.06156991422176361, -0.022820714861154556, 0.025581004098057747, -0.0017304681241512299, 0.03539391979575157, 0.029450641945004463, 0.030759964138269424, -0.015128260478377342, 0.011008594185113907, 0.009007450193166733, -0.001803747029043734, -0.03709927946329117, 0.04578282684087753, -0.033626846969127655, -0.26754117012023926, 0.04120321571826935, 0.016044097021222115, -0.05035019665956497, 0.03130870312452316, -0.00678040599450469, 0.013075049966573715, -0.059731483459472656, -0.005320980213582516, 0.018698541447520256, -0.02915450744330883, -0.040333837270736694, -0.0015435648383572698, 0.0542924590408802, -0.017931176349520683, 0.022436978295445442, 0.036709848791360855, -0.03040613792836666, 0.017196262255311012, 0.03418019041419029, 0.0023825173266232014, -0.06707717478275299, 0.025403743609786034, 0.030442988499999046, 0.042411234229803085, 0.07523274421691895, -0.0681493952870369, 0.06006716564297676, -0.03445633500814438, -0.01951565220952034, 0.042296890169382095, -0.00042454240610823035, -0.014068846590816975, -0.009645775891840458, -0.023045867681503296, -0.008941239677369595, 0.015278730541467667, 0.0024254927411675453, -0.008748942986130714, 0.004573620390146971, -0.03051833249628544, -0.042023565620183945, -0.007425123825669289, 0.000361292390152812, 0.06875737756490707, -0.01172815915197134, -0.04863075539469719, -0.01655595563352108, -0.034231990575790405, 0.0874934196472168, -0.03391195833683014, -0.022983793169260025, 0.009931539185345173, 0.0318036749958992, 0.006352290511131287, -0.0062354011461138725, -0.0015762780094519258, 0.01682370901107788, -0.043358251452445984, -0.034266456961631775, 0.017049307003617287, -0.031068876385688782, -0.01434708759188652, -0.06892892718315125, 0.012561449781060219, -0.056365374475717545, -0.040541838854551315, -0.004921695217490196, 0.07893802970647812, 0.022853156551718712, -0.029903434216976166, 0.014671709388494492, 0.00740166287869215, -0.10201822966337204, 0.025980079546570778, -0.01717783510684967, -0.041192710399627686, -0.028043530881404877, -0.0021260674111545086, 0.03672844544053078, -0.037887487560510635, -0.03284148499369621, 0.027444133535027504, 0.016686102375388145, 0.00492754066362977, -0.01209031231701374, 0.016756800934672356, 0.026456186547875404, -0.03269905224442482, 0.0022688100580126047, 0.09278424084186554, -0.018594104796648026, -0.024060098454356194, -0.028846094384789467, 0.02273968793451786, 0.05991130694746971, 0.021091552451252937, -0.021774135529994965, 0.015848515555262566, 0.02577945776283741, 0.0020541525445878506, -0.054340679198503494, 0.05338744446635246, -0.01176869310438633, 0.007096791174262762, 0.0024875164963304996, -0.06959199905395508, 0.006714679300785065, 0.01992751657962799, 0.039271771907806396, 0.0003983820497523993, -0.03128883242607117, -0.010689697228372097, -0.04137568175792694, -0.036120105534791946, -0.0056160688400268555, 0.02069162204861641, 0.023450488224625587, -0.016882719472050667, -0.010667226277291775, -0.05028452351689339, 0.005107913166284561, 0.01801098883152008, -0.0006537730223499238, -0.06519544124603271, -0.041168928146362305, -0.013444721698760986, 0.013440439477562904, 0.024630162864923477, 0.020372670143842697, -0.0164714977145195, 0.04887433722615242, 0.035864781588315964, -0.027814501896500587, 0.004637147765606642, 0.000032727839425206184, -0.04872621223330498, -0.03086436167359352, -0.0031128942500799894, -0.0003478985163383186, -0.02618103101849556, 0.016868282109498978, 0.010131380520761013, -0.007098146714270115, 0.045765470713377, 0.004451222717761993, 0.020416608080267906, -0.011011569760739803, 0.0022433195263147354, 0.018455756828188896, -0.00842859037220478, -0.0803752988576889, 0.014888674020767212, -0.05413956567645073, -0.0527924969792366, -0.015241713263094425, 0.03047247603535652, -0.015648340806365013, -0.049600984901189804, -0.00186398986261338, 0.006689725909382105, -0.07262889295816422, -0.017604215070605278, -0.01119773555546999, -0.021146563813090324, 0.06429705023765564, 0.006338519975543022, 0.01365401316434145, -0.030830714851617813, 0.00032261654268950224, -0.006061402149498463, 0.03808759152889252, -0.054206471890211105, 0.013518777675926685, 0.013438553549349308, -0.017826026305556297, -0.008236777037382126, -0.017087914049625397, 0.04026868939399719, 0.013716881163418293, -0.005437001120299101, -0.004066281486302614, 0.018290158361196518, -0.013140115886926651, 0.05060266703367233, -0.048270899802446365, -0.03178955242037773, 0.010170617140829563, -0.014311274513602257, -0.020911531522870064, -0.021105937659740448, -0.012294404208660126, -0.007408812176436186, 0.034480031579732895, -0.025541363283991814, -0.09822576493024826, 0.016182513907551765, 0.027246680110692978, 0.03193683549761772, 0.0035492845345288515, -0.029453018680214882, -0.010476387105882168, -0.014123291708528996, 0.040532082319259644, 0.05079985782504082, -0.06797514855861664, 0.0020496032666414976, 0.011724085547029972, 0.0021840704139322042, 0.014636015519499779, -0.012885807082057, -0.05218030884861946, -0.04529288783669472, -0.021394841372966766, 0.015407606959342957, -0.04543563351035118, -0.024890650063753128, -0.030568109825253487, -0.0003508117515593767, -0.03221547603607178, -0.02260374091565609, -0.01667737029492855, 0.022739285603165627, -0.02075798250734806, -0.015422516502439976, -0.013381092809140682, -0.019904695451259613, 0.014048769138753414, 0.038038112223148346, -0.01783761940896511, 0.030094578862190247, -0.014224614948034286, 0.040763791650533676, 0.011507393792271614, -0.005816261749714613, -0.010775991715490818, -0.03570394217967987, -0.01812724769115448, 0.019540922716259956, 0.036659177392721176, -0.005480521824210882, 0.016822325065732002, -0.037803780287504196, -0.01786326989531517, -0.036429472267627716, 0.01438497006893158, -0.032363418489694595, -0.02366841398179531, 0.02136852964758873, 0.06591782718896866, 0.009291933849453926, 0.030143795534968376, 0.019408447667956352, -0.006767071783542633, 0.04759695753455162, -0.07862062752246857, -0.04129035770893097, -0.04223312437534332, -0.06322084367275238, 0.00886385329067707, 0.01903834193944931, 0.01773979887366295, -0.04615144804120064, 0.02609359286725521, 0.02003834955394268, 0.006765362340956926, 0.02476155385375023, -0.0166313573718071, 0.04068174958229065, -0.06605751812458038, 0.002412961097434163, -0.08822422474622726, 0.025186436250805855, 0.03692123666405678, -0.028306763619184494, -0.02412150613963604, -0.009947024285793304, -0.024776853621006012, 0.028892671689391136, -0.06986850500106812, -0.01983310468494892, 0.03173987194895744, 0.02245371975004673, -0.0070702251978218555, 0.012165727093815804, -0.06153396517038345, 0.046547822654247284, 0.020965352654457092, -0.04629931226372719, -0.008127521723508835, -0.019845863804221153, 0.048724450170993805, 0.02544182352721691, 0.029356885701417923, -0.016047505661845207, 0.007816462777554989, 0.06258458644151688, 0.028163030743598938, -0.002651005517691374, 0.01488705538213253, -0.009325800463557243, 0.044725291430950165, 0.054298464208841324, 0.028118407353758812, -0.014586423523724079, 0.02611098624765873, 0.005164525471627712, -0.040736790746450424, 0.01856835000216961, 0.0014360705390572548, -0.0076779695227742195, -0.033770956099033356, 0.05554049089550972, 0.046738479286432266, -0.04047788307070732, -0.040068451315164566, -0.01565985567867756, -0.07114002853631973, -0.01717926561832428, -0.011821683496236801, 0.00021131968242116272, -0.06010865047574043, 0.05612717568874359, -0.00795445404946804, -0.004182449076324701, 0.07216399908065796, 0.0034387584310024977, 0.007777624763548374, -0.015890486538410187, 0.08120225369930267, 0.0451386384665966, 0.039738729596138, 0.02247922495007515, 0.06926929205656052, -0.030841225758194923, -0.03435947746038437, 0.03502838313579559, -0.02062239870429039, -0.02841482311487198, -0.0354718416929245, 0.026397928595542908, 0.0535847432911396, -0.003168372204527259, 0.07352013140916824, -0.018363919109106064, 0.02219490520656109, -0.003432695986703038, 0.04562956467270851, 0.01669342815876007, 0.06967170536518097, 0.001534628332592547, 0.00043084853678010404, 0.0025165912229567766, -0.014440306462347507, 0.00120502058416605, -0.0521375834941864, -0.04094214364886284, 0.0313517190515995, -0.027441376820206642, 0.027379443868994713, 0.01793629303574562, 0.01083584688603878, 0.08975298702716827, -0.028831858187913895, -0.0076567865908145905, -0.026290735229849815, 0.04972029849886894, 0.016721826046705246, 0.010554702021181583, -0.019292524084448814, -0.025250518694519997, -0.011055353097617626, -0.031893033534288406, -0.0362267903983593, -0.02793806418776512, -0.036757759749889374, 0.04908188059926033, -0.013782231137156487, 0.008863364346325397, 0.045974358916282654, 0.020171387121081352, -0.03549255430698395, -0.06270043551921844, -0.07492010295391083, -0.035656142979860306, -0.029773827642202377, -0.020052960142493248, 0.034566521644592285, 0.015471423044800758, -0.036520350724458694, 0.014619945548474789, -0.024045603349804878, -0.020412765443325043, 0.026105932891368866, -0.04102085158228874, -0.03911018744111061, 0.03937039524316788, 0.020933939144015312, 0.036316607147455215, -0.0005174176185391843, 0.040702782571315765, -0.0016471546841785312, -0.021010013297200203, -0.004896089900285006, -0.0007400379399769008, 0.04518633335828781, -0.009816143661737442, 0.024389145895838737, -0.07991888374090195, 0.037007056176662445, 0.018730774521827698, 0.007924720644950867, -0.046319976449012756, 0.027837781235575676, 0.0077189854346215725, -0.024062728509306908, 0.07139363139867783, -0.04831524193286896, 0.003412936581298709, -0.020250631496310234, -0.017069470137357712, -0.0013289193157106638, 0.02624591626226902, 0.043938931077718735, -0.008349454961717129, 0.08996929973363876, -0.0005221860483288765, 0.0036434130743145943, -0.07286141067743301, 0.010025465860962868, -0.0028617503121495247, -0.021370239555835724, -0.015914129093289375, -0.03709852695465088, -0.045532215386629105, -0.07692690193653107, -0.01680554449558258, -0.0008771782740950584, -0.021848371252417564, -0.036835554987192154, -0.0008363575907424092, 0.020850758999586105, -0.05841663107275963, 0.028260119259357452, -0.04803400859236717, 0.028523646295070648, -0.025916410610079765, -0.022691749036312103, 0.025732116773724556, -0.011975065805017948, 0.008550753816962242, 0.003778554033488035, 0.016223149374127388, -0.019403858110308647, 0.00013540549844037741, -0.012848558835685253, 0.04763222858309746, 0.041291311383247375, 0.005018184427171946, 0.005415010266005993 ]
[ -0.09155362844467163, -0.021071845665574074, -0.025368351489305496, -0.030002761632204056, 0.05096292868256569, -0.07400136440992355, -0.011386950500309467, 0.051457010209560394, -0.02123573049902916, -0.0383688360452652, 0.01926042139530182, -0.011319712735712528, -0.007253638468682766, -0.022612450644373894, 0.07393957674503326, 0.006446564104408026, -0.00574528519064188, -0.05792418122291565, -0.022891199216246605, 0.021567294374108315, -0.016647474840283394, -0.023267123848199844, -0.043530404567718506, -0.044795259833335876, -0.011949178762733936, 0.04716530814766884, 0.04292888939380646, -0.016131622716784477, 0.003659224836155772, -0.19137799739837646, 0.01784329302608967, -0.005304305348545313, 0.031609099358320236, -0.019963223487138748, 0.027976753190159798, 0.04912227764725685, 0.017514819279313087, -0.0022366661578416824, -0.01133081316947937, 0.032339006662368774, 0.03857218846678734, 0.03946873918175697, -0.08029945939779282, -0.0376928448677063, 0.012996024452149868, -0.0029885219410061836, 0.020159782841801643, -0.03643043339252472, 0.007744785863906145, 0.0270724818110466, -0.05500124767422676, -0.002864519599825144, 0.012094664387404919, -0.041519928723573685, -0.01330349501222372, 0.03326401859521866, 0.022739412263035774, 0.09516052156686783, -0.013820160180330276, 0.017512354999780655, 0.00870045181363821, -0.044690199196338654, -0.12264050543308258, 0.06870121508836746, 0.08262224495410919, 0.0391308069229126, -0.03112889640033245, -0.03858618065714836, -0.012470165267586708, 0.0953512042760849, -0.004326995462179184, -0.03120238520205021, -0.04835054650902748, 0.0744117721915245, 0.01775408908724785, 0.002621348714455962, 0.020306574180722237, 0.024762792512774467, 0.03174515441060066, -0.03667396679520607, -0.040658194571733475, -0.05760197341442108, -0.013336366042494774, -0.004766336642205715, -0.03581656888127327, 0.03732658550143242, 0.003340586554259062, 0.08773680776357651, 0.050461526960134506, 0.02367286942899227, 0.06324055045843124, -0.030760588124394417, 0.056827571243047714, 0.0036274613812565804, -0.06279503554105759, 0.00865267589688301, 0.003219358390197158, 0.022193413227796555, -0.046465467661619186, 0.4363264739513397, -0.029805442318320274, -0.016761230304837227, 0.06614483147859573, 0.016971800476312637, -0.0048428867012262344, 0.002411287510767579, 0.004288126714527607, -0.009568008594214916, 0.013770567253232002, -0.025478364899754524, 0.03660649061203003, 0.004478501155972481, 0.09764966368675232, -0.039282236248254776, -0.0008888466982170939, 0.02542245015501976, 0.0027423822320997715, -0.00284419278614223, -0.004900578409433365, -0.0014679408632218838, 0.011212368495762348, 0.01277360413223505, 0.02214651368558407, -0.000675709976349026, 0.006719016004353762, -0.02126879245042801, 0.02071329578757286, 0.05481087043881416, 0.003530839690938592, 0.028307298198342323, 0.044508982449769974, -0.04806888848543167, -0.05851450935006142, 0.002668386558070779, -0.015847815200686455, 0.023480011150240898, 0.02356938272714615, 0.0012702527455985546, -0.005495063494890928, 0.03342515602707863, -0.0281904935836792, -0.014548047445714474, 0.02779138647019863, -0.01914576254785061, -0.06605802476406097, 0.08670863509178162, 0.01422608271241188, -0.022287877276539803, -0.0034630089066922665, -0.07268495857715607, -0.017994103953242302, 0.0391923263669014, 0.00155215326230973, -0.05443921312689781, 0.003892696462571621, 0.03706575557589531, 0.06100582703948021, -0.01028883270919323, -0.04425017163157463, 0.00022492579591926187, -0.036327023059129715, -0.041390299797058105, -0.05924273654818535, 0.027583034709095955, 0.060196440666913986, -0.08362305909395218, -0.011280525475740433, 0.016417043283581734, 0.03889746218919754, -0.05586135387420654, -0.03239498659968376, 0.02579004503786564, -0.007053527049720287, -0.06293943524360657, 0.02495231106877327, -0.05029537156224251, -0.024676576256752014, 0.028390657156705856, 0.03185573220252991, 0.010802972130477428, 0.043481193482875824, 0.0208798348903656, -0.0592326745390892, 0.009156654588878155, -0.039255138486623764, -0.08793475478887558, -0.056155961006879807, 0.03304450213909149, -0.017550062388181686, 0.006508181802928448, -0.05425572767853737, -0.04106463864445686, -0.07739316672086716, 0.05997280031442642, -0.006328771822154522, -0.0400049202144146, -0.0006085126660764217, 0.020798657089471817, -0.009625500999391079, -0.011815585196018219, 0.021287962794303894, 0.035901088267564774, -0.011559194885194302, 0.04221795126795769, -0.08216681331396103, 0.06470648944377899, 0.06935008615255356, -0.05051298439502716, 0.07449162751436234, 0.027080057188868523, -0.030394453555345535, -0.0021657939068973064, 0.03200145810842514, 0.016041014343500137, -0.002007695147767663, -0.030782096087932587, -0.015063048340380192, 0.02101653814315796, 0.03177039697766304, 0.055513739585876465, -0.008339227177202702, -0.016437215730547905, -0.01557743176817894, -0.3469580113887787, -0.061830610036849976, -0.05345518887042999, -0.0015684192767366767, 0.01311946939677, -0.05575081706047058, 0.028985027223825455, -0.04537443444132805, -0.032025355845689774, -0.006114110350608826, 0.06455202400684357, -0.017607348039746284, 0.02509438432753086, -0.10793877393007278, -0.0010569150326773524, -0.0002134776150342077, -0.010798180475831032, -0.00040680341771803796, -0.04510459303855896, 0.019565491005778313, -0.009248616173863411, -0.038550976663827896, -0.0022196732461452484, -0.05504168942570686, 0.0018578259041532874, -0.044253427535295486, 0.10938313603401184, 0.00020049867453053594, 0.10506060719490051, -0.05090608447790146, 0.03911653906106949, -0.01871929131448269, 0.012147207744419575, -0.08504515886306763, 0.012861188501119614, 0.003475599456578493, 0.008434499613940716, -0.03310602530837059, 0.035496506839990616, -0.010841863229870796, -0.046668559312820435, 0.0018296282505616546, -0.06660865992307663, -0.03900698944926262, -0.024613186717033386, -0.009954491630196571, -0.01773296669125557, -0.057572733610868454, -0.01765533536672592, 0.07843944430351257, 0.024618802592158318, -0.0028033992275595665, 0.025281565263867378, 0.011741731315851212, -0.006898144260048866, -0.01347715687006712, -0.05826128274202347, 0.01544367615133524, 0.03308382257819176, -0.03126310557126999, 0.03164966404438019, 0.05586869642138481, 0.01683497428894043, -0.05180754512548447, 0.029760880395770073, 0.037015367299318314, 0.005591180175542831, -0.014489229768514633, 0.059006765484809875, -0.03494158759713173, -0.025544341653585434, 0.11305603384971619, -0.0033698701299726963, -0.015052557922899723, 0.00817065592855215, 0.0484025701880455, -0.027113696560263634, 0.009806811809539795, 0.019333263859152794, -0.016792213544249535, 0.0324687585234642, 0.0007778679137118161, 0.046984218060970306, -0.040022075176239014, -0.0357280969619751, 0.04688490554690361, -0.02335773967206478, -0.05980667844414711, 0.05151631310582161, -0.005830044858157635, -0.02640354260802269, -0.012674693018198013, -0.04146294668316841, -0.06641115993261337, 0.06731628626585007, -0.0007064689416438341, -0.22064870595932007, 0.0057573397643864155, 0.05275896191596985, 0.013157716020941734, -0.010534977540373802, 0.03610139340162277, 0.05238998308777809, -0.03705580532550812, 0.004892617929726839, 0.0033426713198423386, 0.026392489671707153, 0.015100318007171154, 0.009314813651144505, -0.033053793013095856, 0.046601418405771255, -0.0007012466085143387, 0.021839506924152374, 0.0061930944211781025, 0.012706666253507137, 0.007068282924592495, 0.009849896654486656, -0.010485971346497536, 0.1443028450012207, 0.013183506205677986, 0.015922898426651955, 0.03200751915574074, 0.0005217483267188072, 0.03536170348525047, 0.08375824987888336, 0.022666994482278824, -0.018365565687417984, 0.009423390962183475, 0.03458618000149727, -0.00711357407271862, 0.040945086628198624, -0.08799884468317032, -0.043254654854536057, 0.020202692598104477, 0.030420172959566116, -0.007065563928335905, 0.005202768370509148, 0.010067807510495186, -0.021223334595561028, 0.016665009781718254, 0.06629781424999237, -0.015562444925308228, 0.00908918771892786, -0.032693084329366684, -0.02758386917412281, 0.006248814519494772, -0.02800234779715538, -0.046087950468063354, 0.021406667307019234, -0.0062986318953335285, -0.0005982405273243785, 0.08882181346416473, -0.00803019106388092, -0.004152908455580473, -0.010785314254462719, 0.018759392201900482, 0.0051156883127987385, -0.011012026108801365, 0.13226132094860077, 0.01243083830922842, 0.05275127291679382 ]
[ -0.002022966742515564, 0.013862425461411476, -0.01873117685317993, 0.031122438609600067, -0.00965739507228136, -0.04248196259140968, -0.012300211004912853, 0.00574892433360219, -0.0010963438544422388, -0.041228748857975006, 0.02624315768480301, 0.021656066179275513, 0.03406689688563347, -0.028200305998325348, 0.028882496058940887, -0.017095062881708145, 0.007167309056967497, 0.005952753592282534, 0.028271080926060677, 0.026720769703388214, -0.03783581405878067, 0.03391620144248009, 0.014289853163063526, 0.008733338676393032, 0.012728562578558922, 0.026081183925271034, 0.014368590898811817, -0.025626998394727707, 0.011094939894974232, -0.15960392355918884, -0.009566197171807289, -0.0081535829231143, -0.023445090278983116, 0.00999406911432743, -0.0003049230726901442, 0.009405250661075115, 0.02410055138170719, 0.017194947227835655, -0.03316771239042282, -0.031929608434438705, -0.008486929349601269, 0.009151038713753223, -0.006261663045734167, -0.023910801857709885, -0.065047487616539, -0.05306435376405716, -0.014046219177544117, -0.051835138350725174, -0.03382957726716995, -0.022435929626226425, -0.007320659700781107, -0.012126625515520573, 0.032441459596157074, 0.035681210458278656, -0.016359277069568634, 0.004943098407238722, 0.019815178588032722, 0.023830488324165344, 0.00382328312844038, 0.014901526272296906, -0.017150165513157845, -0.008226117119193077, -0.0481368824839592, -0.028125522658228874, -0.0013097996124997735, -0.018969330936670303, -0.007441325578838587, -0.012925185263156891, -0.024432901293039322, 0.01586581952869892, -0.02009367197751999, -0.02486838959157467, -0.03172702342271805, -0.02534378506243229, 0.03600078448653221, 0.027688391506671906, -0.00029688095673918724, 0.01075406838208437, -0.001994489459320903, -0.018734849989414215, -0.05545109137892723, 0.01511018443852663, -0.008652223274111748, 0.0019338504644110799, 0.00007657874084543437, 0.036066871136426926, 0.03013598546385765, 0.012440438382327557, 0.010593771003186703, 0.023818010464310646, 0.0016008301172405481, -0.0021026211325079203, 0.007358381059020758, 0.0042111617513000965, -0.07576502114534378, 0.00488975178450346, 0.004756900016218424, 0.012087306007742882, 0.02055535651743412, 0.8398489356040955, 0.012866759672760963, 0.03261532261967659, 0.030723538249731064, 0.0010598843218758702, -0.02052435278892517, -0.012278133071959019, 0.002633802592754364, 0.009774007834494114, 0.024258578196167946, -0.05596261844038963, 0.040145840495824814, 0.0014721835032105446, 0.02690219320356846, 0.020004378631711006, 0.0346955843269825, 0.012362686917185783, 0.030127082020044327, 0.0005482787964865565, 0.0024635749869048595, 0.020343292504549026, 0.05150613188743591, -0.005634448491036892, -0.00690701836720109, 0.023038577288389206, 0.03929827734827995, -0.15954792499542236, -0.019326090812683105, -7.301708056407414e-33, 0.051598940044641495, -0.011251507326960564, -0.0012482361635193229, 0.005377023946493864, 0.03725114092230797, 0.019231464713811874, 0.015541516244411469, 0.059322893619537354, -0.01711357571184635, -0.04695121571421623, -0.005842573009431362, -0.025051873177289963, 0.00317195151001215, -0.037844300270080566, 0.04941214248538017, -0.018806857988238335, -0.016736866906285286, 0.022868700325489044, 0.005921249743551016, 0.007879838347434998, 0.028094880282878876, 0.0061567178927361965, 0.010759380646049976, -0.008343865163624287, -0.011786915361881256, 0.02331029251217842, 0.007231648080050945, 0.057583700865507126, -0.020597359165549278, -0.05346544831991196, -0.010403653606772423, 0.018736330792307854, -0.004896927159279585, 0.012274807319045067, 0.0066293212585151196, -0.018905892968177795, -0.005978267174214125, -0.009826540015637875, -0.04628528282046318, -0.020974740386009216, -0.038755904883146286, 0.004503875505179167, -0.04080113023519516, -0.004049661569297314, -0.014029199257493019, -0.028220586478710175, -0.029262198135256767, 0.014167307876050472, 0.015585636720061302, 0.003468474606052041, -0.009719676338136196, 0.042982157319784164, 0.012570592574775219, -0.011570652015507221, -0.023985248059034348, 0.04356371611356735, -0.017392149195075035, 0.022226551547646523, -0.010157470591366291, 0.01432775892317295, 0.01820269599556923, 0.012079655192792416, -0.03039373829960823, 0.027847642078995705, -0.000167507998412475, -0.020365722477436066, 0.02362225390970707, 0.02694091573357582, 0.011351077817380428, -0.050124190747737885, -0.036369360983371735, 0.0035515092313289642, -0.013621932826936245, 0.0021524960175156593, 0.011175001040101051, 0.01178639754652977, -0.015176897868514061, -0.010524585843086243, 0.01747717894613743, -0.0002099652192555368, -0.004226317163556814, -0.00909695215523243, -0.022078875452280045, -0.04853479564189911, -0.01295390073210001, -0.009984237141907215, -0.020377159118652344, 0.0004908398841507733, 0.006774927489459515, 0.021998804062604904, 0.041066333651542664, -0.005293277557939291, 0.01668638363480568, -0.024115925654768944, -0.019911134615540504, 7.033784975864182e-33, -0.0020270198583602905, -0.016291940584778786, -0.014738806523382664, 0.010240594856441021, 0.031550344079732895, -0.00020132906502112746, -0.0037009555380791426, 0.019597141072154045, -0.05648745223879814, 0.017701826989650726, -0.02512575127184391, 0.03654284402728081, 0.00608526635915041, 0.020897943526506424, 0.010947520844638348, 0.024304697290062904, 0.015162785537540913, -0.037083644419908524, 0.048322856426239014, -0.028269415721297264, -0.021145328879356384, 0.015825502574443817, 0.0005834095645695925, 0.0016599184600636363, 0.003641637973487377, 0.04633432626724243, -0.0014753800351172686, 0.01975964941084385, 0.015503661707043648, -0.021748455241322517, 0.006341942120343447, -0.007265732157975435, 0.01752358116209507, -0.028496887534856796, -0.009416190907359123, 0.02033371850848198, -0.01283345278352499, -0.0168119166046381, 0.01873449794948101, 0.015687135979533195, -0.010583578608930111, 0.017189178615808487, 0.031208399683237076, 0.037646614015102386, 0.03284771367907524, -0.005883081816136837, 0.005118227563798428, -0.0014157936675474048, -0.03666131570935249, 0.018501313403248787, -0.0002331923897145316, -0.005012694280594587, 0.03007180616259575, -0.028432749211788177, 0.03320801258087158, -0.015889007598161697, -0.04615607112646103, -0.005719728767871857, -0.03744274750351906, 0.0013799585867673159, -0.020076273009181023, -0.005651813466101885, -0.009211394935846329, 0.03980941325426102, -0.06856714934110641, -0.015506679192185402, -0.05214402452111244, 0.00778657803311944, -0.007181291934102774, -0.02004304714500904, -0.010973557829856873, -0.0030364631675183773, -0.03832627460360527, 0.03276783972978592, 0.01953687146306038, -0.047141652554273605, -0.0016516675241291523, 0.02303398959338665, -0.004639067687094212, 0.0343843437731266, 0.012104575522243977, 0.00876695103943348, -0.031224116683006287, -0.018453586846590042, 0.012218073010444641, 0.012752306647598743, -0.03361930325627327, 0.03411159664392471, 0.031494904309511185, -0.0328180268406868, -0.03175351023674011, 0.03596431016921997, 0.007196358405053616, 0.018386434763669968, 0.022006956860423088, -1.291956497340152e-8, -0.0035192156210541725, -0.03462177887558937, 0.00394723704084754, 0.026120232418179512, 0.06816303730010986, -0.0009916966082528234, -0.00872532557696104, 0.007499372586607933, -0.060610394924879074, 0.015513179823756218, 0.005543981213122606, -0.013473759405314922, 0.006893378682434559, -0.015641100704669952, 0.0036386537831276655, -0.015086056664586067, 0.023523570969700813, 0.016651958227157593, 0.029703238978981972, 0.013477605767548084, 0.024768702685832977, 0.02912082150578499, -0.012655398808419704, 0.052999477833509445, 0.007531956769526005, -0.03121260181069374, 0.026551228016614914, -0.06343185156583786, -0.020311150699853897, -0.00005609112486126833, -0.014893108047544956, -0.028246382251381874, -0.022308023646473885, -0.00774306571111083, -0.043219469487667084, -0.04038718342781067, -0.002606958383694291, 0.003416289109736681, 0.036850474774837494, 0.017918741330504417, -0.006998369004577398, -0.007129576522856951, -0.019049230962991714, -0.04078265279531479, -0.014205335639417171, -0.0036134670954197645, -0.056879639625549316, 0.014421079307794571, -0.006713868584483862, -0.03307120501995087, 0.0026438036002218723, -0.03236661106348038, 0.026359163224697113, 0.037076644599437714, 0.05724428966641426, -0.013903550803661346, 0.019343538209795952, 0.01494276151061058, -0.011553028598427773, 0.012090859934687614, 0.012413912452757359, 0.07169976830482483, -0.00807762797921896, -0.04386819154024124 ]
debugging-get-to-a-stage-where-it-works
https://markhneedham.com/blog/2009/05/12/debugging-get-to-a-stage-where-it-works
false
2009-05-13 07:49:44
Mercurial: Pulling from behind a proxy
[ "mercurial", "version-control" ]
[ "Version Control" ]
I've been playing around with Mercurial and the mercurial hosting website http://bitbucket.org/[bitbucket] a bit this year and recently wanted to pull from a repository from behind a proxy server. With a bit of help from the http://www.nabble.com/proxy-td21973435.html[mercurial mailing list] and the http://www.selenic.com/mercurial/hgrc.5.html[documentation] this is how I was able to pull the repository for the Hambread project I've been doing a bit of work on: ~~~text hg --config http_proxy.host=ipOfYourProxyServer:portOfYourProxyServer --config http_proxy.user=user --config http_proxy.passwd=password pull http://bitbucket.org/markhneedham/hambread~~~ After that command a 'hg update' updates your local repository with all the changes that have just been pulled. What I found strange was that you needed to define the '-- config' part of the command three times as far as I can tell in order to pass each of the different properties related to the proxy. I tried just defining it once and just setting the properties individually but that just produced errors.
null
null
[ 0.004690342582762241, 0.00309465522877872, -0.009402301162481308, 0.026775823906064034, 0.0877675861120224, -0.007110409438610077, 0.008147249929606915, 0.035992108285427094, 0.011623039841651917, -0.023326588794589043, -0.0167823638767004, -0.016607055440545082, -0.06556776165962219, 0.028641102835536003, -0.019921360537409782, 0.05574733763933182, 0.05836079642176628, 0.005180363077670336, -0.010255743749439716, 0.023751653730869293, 0.04188867658376694, 0.05899786949157715, -0.01290258951485157, 0.007432026322931051, 0.01781211793422699, 0.05039258301258087, 0.006968766916543245, -0.006791628897190094, -0.04981387406587601, -0.021675540134310722, 0.05098097771406174, -0.01073128916323185, 0.017427776008844376, -0.03759780153632164, 0.0360562801361084, -0.023795295506715775, -0.04683299362659454, 0.0030036407988518476, -0.00894264318048954, 0.007430083584040403, -0.050511155277490616, 0.045484479516744614, -0.02036050707101822, 0.0228232704102993, -0.05234849825501442, 0.03293262794613838, -0.02876756712794304, 0.0009673509048298001, -0.016468076035380363, -0.0158363189548254, -0.06777257472276688, 0.027364948764443398, -0.028622610494494438, 0.016063401475548744, 0.029833009466528893, 0.02217147871851921, 0.049093831330537796, -0.07289353013038635, 0.009971593506634235, -0.00860554724931717, -0.04024258628487587, 0.012220247648656368, 0.0048052784986793995, 0.03185563534498215, 0.017733024433255196, -0.012896748259663582, -0.012420748360455036, 0.053727131336927414, -0.03385396674275398, -0.0034840209409594536, 0.004225143231451511, 0.01717599667608738, -0.029882119968533516, -0.01970236748456955, 0.03680199757218361, -0.022872937843203545, 0.0018082461319863796, 0.03739643841981888, 0.003833729773759842, 0.061317890882492065, -0.046987421810626984, -0.00426441989839077, 0.027497855946421623, 0.011613392271101475, 0.0013717834372073412, -0.04253741353750229, -0.0517716258764267, 0.004237387795001268, -0.05953042954206467, 0.11400846391916275, 0.00564530910924077, -0.08047756552696228, 0.03787210211157799, -0.013718243688344955, -0.0018672235310077667, 0.009182681329548359, 0.04262392595410347, 0.011083798483014107, 0.011576246470212936, 0.010863358154892921, -0.04899537190794945, 0.012449435889720917, 0.0030465766321867704, -0.010874496772885323, -0.07137737423181534, 0.032961420714855194, -0.031793322414159775, -0.0468817837536335, -0.014989366754889488, -0.03138795495033264, 0.004118297249078751, 0.04018065333366394, -0.006538360379636288, 0.027205895632505417, -0.03819241747260094, 0.08638106286525726, 0.007710456848144531, -0.06944428384304047, 0.015526335686445236, 0.028651908040046692, 0.043590471148490906, 0.03452461585402489, -0.039373621344566345, 0.0554770864546299, 0.04600180312991142, 0.04375157505273819, 0.0009759089443832636, 0.03334278613328934, -0.027626939117908478, -0.08088520169258118, -0.0016974664758890867, 0.09303878247737885, 0.0030849333852529526, 0.029187409207224846, -0.0264601968228817, -0.017817316576838493, -0.01703832857310772, -0.03766399249434471, 0.04248925670981407, -0.003186180954799056, -0.025807010009884834, -0.011255098506808281, -0.01775798574090004, -0.005023694131523371, 0.01266589853912592, 0.02674585022032261, 0.04249810799956322, -0.04518728330731392, -0.036329369992017746, 0.020930521190166473, 0.01879841648042202, -0.009733820334076881, 0.030534496530890465, -0.03481572866439819, 0.007682097610086203, 0.04467085748910904, 0.028497004881501198, 0.005623699631541967, -0.03229854255914688, -0.0222894549369812, 0.02326345257461071, 0.02680017799139023, 0.01642341911792755, 0.04233024641871452, -0.02215893194079399, -0.009298766031861305, -0.011364263482391834, 0.05654017999768257, 0.021278858184814453, -0.012517942115664482, -0.06063768267631531, -0.06787780672311783, 0.0601537711918354, -0.03564321994781494, 0.006363762076944113, 0.03570947051048279, 0.07997731864452362, 0.04657277092337608, 0.04373030737042427, 0.010384292341768742, -0.07296964526176453, 0.032802384346723557, 0.024852430447936058, 0.052455440163612366, 0.024133218452334404, -0.029666787013411522, 0.07580014318227768, 0.017100226134061813, 0.035939350724220276, 0.035166285932064056, -0.08754371106624603, -0.06180036813020706, -0.010265967808663845, 0.012210337445139885, 0.07388719916343689, -0.006002305541187525, 0.019555354490876198, 0.05351764336228371, 0.02839275822043419, 0.01245818566530943, 0.02626628801226616, 0.00597759522497654, 0.01967160403728485, -0.07132408767938614, -0.06521046161651611, 0.017900701612234116, 0.012394526973366737, -0.009845981374382973, -0.050126813352108, -0.002029217081144452, -0.010571387596428394, 0.015452134422957897, 0.039756231009960175, -0.007549016736447811, 0.04609855264425278, 0.03230753540992737, 0.037284236401319504, -0.016413506120443344, 0.031141512095928192, -0.02259029820561409, 0.018069889396429062, 0.012433646246790886, -0.001296701841056347, 0.017888108268380165, -0.012718387879431248, 0.12216829508543015, 0.0531357005238533, -0.03937551751732826, -0.008364658802747726, 0.03661023825407028, -0.009385322220623493, -0.032470136880874634, 0.01957027055323124, -0.013198936358094215, 0.0030452932696789503, -0.00484849838539958, -0.05260085314512253, -0.05728878825902939, 0.02233276516199112, -0.028852632269263268, 0.014452911913394928, 0.04691793769598007, -0.03075363300740719, 0.03575311228632927, 0.016829123720526695, -0.0103141525760293, -0.02240908145904541, -0.035129718482494354, -0.08773675560951233, 0.013631527312099934, 0.025040090084075928, -0.011938540264964104, 0.04466450959444046, -0.025756090879440308, -0.010099898092448711, -0.01804680936038494, -0.02361111156642437, 0.030070440843701363, 0.010369302704930305, 0.06668257713317871, -0.04759768024086952, 0.0387808233499527, -0.028354104608297348, 0.031042665243148804, -0.011969822458922863, -0.026672137901186943, -0.046553611755371094, -0.019526707008481026, -0.018967894837260246, 0.03289239853620529, 0.03171525150537491, -0.00976188387721777, 0.003971971105784178, -0.004486510530114174, 0.03256399556994438, -0.02471296116709709, 0.033182673156261444, 0.01555204764008522, 0.002516434993594885, -0.05480389669537544, 0.016116473823785782, 0.0241603571921587, -0.04067407175898552, -0.0038295378908514977, -0.030384905636310577, -0.045107096433639526, 0.055472131818532944, -0.05834624916315079, -0.05585590749979019, -0.008766375482082367, 0.009204256348311901, 0.04080917313694954, 0.01846695877611637, 0.04523357376456261, 0.04326173663139343, -0.0009504620684310794, 0.025659557431936264, 0.02145245112478733, 0.019226035103201866, 0.06590444594621658, 0.01723843812942505, 0.013219906017184258, 0.01978476531803608, -0.003805220592767, -0.01796349138021469, -0.07122750580310822, 0.022631671279668808, -0.056809183210134506, -0.27270442247390747, 0.05676973983645439, 0.03396381065249443, -0.02319817617535591, 0.0338205061852932, 0.0034931967966258526, 0.0022670722100883722, -0.03129454702138901, -0.005128294695168734, 0.025351108983159065, -0.0010578982764855027, -0.03915049880743027, 0.03200969099998474, 0.007815073244273663, -0.02859719656407833, 0.026929248124361038, 0.016031159088015556, -0.07032519578933716, 0.02674720250070095, 0.008458190597593784, -0.036777425557374954, -0.04532535746693611, 0.031185878440737724, 0.024382011964917183, 0.003368642181158066, 0.030940428376197815, -0.061007075011730194, 0.05481834337115288, -0.057251956313848495, 0.0024829660542309284, 0.023988597095012665, 0.0010612918995320797, 0.00022057320165913552, 0.002764936303719878, -0.00783784594386816, 0.0004775957786478102, 0.024813275784254074, 0.031952932476997375, 0.02363371104001999, 0.014523074962198734, -0.03228994831442833, -0.016539931297302246, -0.03326290100812912, -0.024072695523500443, 0.07939081639051437, -0.02242349088191986, -0.06251238286495209, -0.03162464499473572, -0.011971315369009972, 0.0794234350323677, -0.0444108322262764, -0.055784258991479874, 0.0013522416120395064, 0.030331678688526154, -0.004570607095956802, 0.005872831679880619, -0.031117035076022148, 0.008086137473583221, -0.05643332004547119, -0.033575091511011124, -0.010757280513644218, -0.01470049750059843, -0.04692070558667183, -0.08234017342329025, 0.003025727579370141, -0.06916550546884537, -0.040889058262109756, -0.01847768761217594, 0.05702079087495804, 0.012236491777002811, -0.015250722877681255, 0.005527002736926079, -0.011764435097575188, -0.09943658113479614, 0.02160041779279709, -0.031732313334941864, -0.03806164860725403, -0.01250055618584156, 0.020194286480545998, 0.013022472150623798, -0.039728567004203796, -0.04050106927752495, 0.0008980296552181244, 0.013628225773572922, 0.0034934969153255224, -0.013777658343315125, 0.058805402368307114, -0.02956634759902954, -0.033784762024879456, -0.010156948119401932, 0.06690998375415802, -0.04792240262031555, -0.05781323462724686, -0.0045615932904183865, -0.022447852417826653, 0.03201130032539368, -0.016629334539175034, 0.01801132783293724, 0.026591438800096512, 0.04593139886856079, 0.06690947711467743, -0.03601958230137825, 0.00609463220462203, -0.02953781560063362, -0.015755662694573402, 0.04856303334236145, -0.04419530928134918, -0.0069783939979970455, 0.0276497695595026, 0.03081628493964672, -0.02158927544951439, -0.010337620042264462, 0.016446975991129875, -0.026931680738925934, -0.06990518420934677, 0.006623064633458853, -0.001515247393399477, 0.016882603988051414, 0.03140889108181, -0.017057431861758232, -0.030372923240065575, 0.008905315771698952, 0.051957231014966965, -0.024389736354351044, -0.02184009738266468, -0.023793570697307587, -0.009856676682829857, 0.008705425076186657, 0.0669252797961235, 0.03054957091808319, 0.012123691849410534, 0.0394621267914772, 0.0351552739739418, -0.03972241282463074, 0.031063631176948547, -0.008376438170671463, -0.03964750096201897, -0.024639884009957314, -0.01108925323933363, 0.02780842036008835, -0.05184684693813324, -0.008196411654353142, 0.004200898110866547, 0.04803483188152313, 0.05563890561461449, 0.005893045105040073, 0.018450111150741577, 0.005190481897443533, -0.004406780004501343, -0.0025860159657895565, 0.008872638456523418, -0.06331183761358261, 0.022202158346772194, -0.03587980940937996, -0.01184978149831295, -0.02559320256114006, 0.043762240558862686, 0.005947086960077286, -0.009206941351294518, -0.02480308711528778, 0.014517526142299175, -0.07880812883377075, -0.0020850286819040775, 0.00876628141850233, -0.04017123207449913, 0.06064330413937569, -0.016854193061590195, 0.029954586178064346, -0.03213326632976532, -0.0032461101654917, 0.023063087835907936, 0.06691909581422806, -0.013426804915070534, 0.012136529199779034, 0.009463581256568432, -0.003017562674358487, -0.020358789712190628, 0.023135876283049583, 0.05027460679411888, 0.0024806205183267593, -0.009471924044191837, 0.007855663076043129, 0.026983818039298058, -0.010012304410338402, 0.046711381524801254, -0.006844554096460342, -0.004339972976595163, 0.014125562272965908, -0.01991688460111618, -0.008242047391831875, -0.006638918071985245, -0.004642193205654621, -0.02990802749991417, 0.02501104027032852, -0.014346538111567497, -0.08213699609041214, 0.033287081867456436, -0.003977430053055286, -0.004411736968904734, 0.01269078440964222, 0.001830740598961711, 0.027108334004878998, -0.061750903725624084, 0.04869572073221207, 0.05941399559378624, -0.05726366490125656, -0.01078876107931137, -0.0070556821301579475, 0.017429735511541367, -0.009725620970129967, 0.003800526261329651, -0.04621826112270355, -0.0096284756436944, -0.012593892402946949, -0.007309396751224995, -0.05895164608955383, -0.06730424612760544, -0.01862126775085926, 0.01552305743098259, 0.007953379303216934, -0.004588184878230095, -0.004782798700034618, 0.007030482403934002, 0.003491376293823123, -0.06351138651371002, 0.01318395510315895, 0.008418753743171692, -0.025278985500335693, 0.02478446066379547, -0.007469434756785631, 0.015228541567921638, -0.01866626739501953, 0.059302959591150284, 0.015572686679661274, -0.007320423610508442, -0.00827554240822792, -0.009807205758988857, -0.01196976751089096, -0.05138625204563141, 0.039064645767211914, 0.0010449116816744208, -0.004167127888649702, -0.03267322853207588, -0.010900630615651608, -0.022171709686517715, 0.013383147306740284, 0.0008525155717507005, -0.008755139075219631, 0.01447112113237381, 0.040599752217531204, -0.005656078923493624, 0.02800806239247322, -0.01247367076575756, -0.02683402970433235, 0.041356489062309265, -0.06254960596561432, -0.02511749230325222, -0.03896656259894371, -0.020422430709004402, -0.0086976932361722, 0.02276749722659588, 0.009151621721684933, -0.06197642534971237, 0.04520564153790474, 0.03443333879113197, 0.00281989062204957, 0.02921360544860363, -0.0024348741862922907, 0.01607634499669075, -0.04503751918673515, -0.04850216209888458, -0.06533344089984894, 0.009910703636705875, 0.006225534714758396, -0.029935112223029137, -0.014150775969028473, 0.0008026431896723807, -0.03321455791592598, 0.04221513867378235, -0.06175299361348152, -0.0431901253759861, 0.03321035951375961, 0.007445247378200293, -0.005186235066503286, 0.01913858763873577, -0.0674339085817337, 0.009156590327620506, 0.03995221480727196, -0.04061051085591316, -0.0307263545691967, -0.02177523635327816, 0.03032902255654335, -0.001409417949616909, 0.053794074803590775, -0.02967098169028759, -0.02177426964044571, 0.0686679407954216, 0.030886473134160042, 0.01743171736598015, 0.048045411705970764, -0.027738649398088455, 0.017131133005023003, 0.029363956302404404, 0.01801326684653759, -0.011022350750863552, 0.0026676510460674763, -0.03483796492218971, -0.06877018511295319, 0.046758659183979034, -0.023234635591506958, -0.02938893623650074, -0.04485274851322174, 0.0384109728038311, 0.008392482995986938, -0.036030158400535583, -0.08183162659406662, 0.048198163509368896, -0.03620588779449463, -0.017974132671952248, 0.005749496631324291, -0.010391468182206154, -0.03683629631996155, 0.0417732410132885, 0.012890649028122425, 0.018623918294906616, 0.05288190394639969, -0.0036062258295714855, -0.029696732759475708, 0.02226719632744789, 0.07947549223899841, 0.07520619034767151, 0.027765346691012383, 0.019995886832475662, 0.060495298355817795, 0.0012955075362697244, -0.05175459012389183, -0.014015098102390766, -0.0038864510133862495, -0.014514452777802944, -0.015857122838497162, 0.006750756409019232, 0.05876863747835159, -0.04211387410759926, 0.05345945805311203, 0.0009259365033358335, 0.03119055926799774, 0.001904082135297358, 0.028817331418395042, 0.02566603757441044, 0.0440731979906559, 0.024603156372904778, -0.006946962792426348, -0.009823493659496307, -0.04218769446015358, -0.011781926266849041, 0.00784298311918974, -0.023851118981838226, 0.008819760754704475, -0.03516800329089165, 0.04222424328327179, 0.019208470359444618, -0.02784615196287632, 0.05629045516252518, -0.005477481056004763, 0.012160942889750004, -0.01900690235197544, 0.008225240744650364, -0.022974232211709023, 0.0018325276905670762, 0.0042360699735581875, -0.017116351053118706, -0.014539512805640697, -0.03122643753886223, -0.02301463484764099, -0.0061678397469222546, -0.02917397767305374, 0.038698066025972366, -0.0031276950612664223, 0.040905747562646866, 0.007449502125382423, -0.0033484080340713263, -0.03184730187058449, -0.023576049134135246, -0.06294195353984833, -0.06600861251354218, -0.01848508045077324, -0.0189673975110054, 0.04065941274166107, -0.0008292549173347652, -0.05136027932167053, -0.0023229438811540604, -0.015757553279399872, -0.050383612513542175, 0.04236968234181404, -0.08189104497432709, -0.026106275618076324, 0.013798827305436134, 0.018017316237092018, 0.013670613057911396, 0.008323492482304573, 0.05281432345509529, 0.018770234659314156, 0.0075629157945513725, -0.02831903286278248, -0.0005803437670692801, 0.05804821103811264, 0.00046399905113503337, 0.02444320172071457, -0.09465840458869934, 0.04312044009566307, 0.01573621667921543, 0.002315746620297432, -0.05767703056335449, 0.022265128791332245, 0.00988160539418459, -0.03429018706083298, 0.06215318292379379, -0.02542106620967388, -0.00684135127812624, -0.03327365219593048, -0.045566681772470474, -0.013397113420069218, -0.011576423421502113, 0.044628534466028214, 0.011612865142524242, 0.0877080038189888, 0.035643886774778366, -0.04119417071342468, -0.05812989920377731, 0.006185109727084637, 0.005666801240295172, 0.0009842546423897147, -0.02810068428516388, -0.02258964069187641, -0.03322092443704605, -0.09061004221439362, -0.04078412055969238, -0.013103676028549671, -0.004949065390974283, -0.018920117989182472, -0.0004667949106078595, 0.0149837676435709, -0.05041680857539177, 0.02989746257662773, -0.03921135514974594, 0.01597767136991024, -0.0015904293395578861, -0.0003841780126094818, -0.015414996072649956, 0.03360411897301674, 0.018598956987261772, -0.03467128798365593, 0.03598537668585777, -0.04806223511695862, 0.0023384394589811563, -0.0031244901474565268, 0.03414463251829147, 0.05493486300110817, 0.00286201573908329, 0.022053051739931107 ]
[ -0.0623302087187767, 0.032543111592531204, -0.032853301614522934, -0.027000103145837784, 0.07200454920530319, -0.05245246738195419, -0.018896955996751785, 0.018740247935056686, -0.03786112368106842, -0.016359608620405197, -0.009272756986320019, -0.07231776416301727, 0.002978740958496928, -0.03990519419312477, 0.10042474418878555, 0.023214129731059074, -0.01729639247059822, -0.04541049152612686, 0.011610818095505238, 0.03482852131128311, 0.000548616808373481, -0.018629850819706917, -0.03597515448927879, -0.02812703140079975, 0.00612490763887763, 0.024018773809075356, 0.03402384743094444, -0.014938623644411564, -0.03174015134572983, -0.2002394050359726, 0.03313903138041496, -0.0323750264942646, -0.02887129969894886, -0.014764712192118168, 0.011092910543084145, 0.07928738743066788, 0.012009559199213982, -0.0017967714229598641, -0.018087085336446762, 0.07904621958732605, 0.043043844401836395, 0.009831935167312622, -0.036471884697675705, -0.0356370285153389, 0.010571273043751717, -0.02821793034672737, 0.037712182849645615, -0.030032312497496605, 0.0067052459344267845, 0.028290651738643646, -0.029331760480999947, 0.03812103345990181, -0.005058866459876299, -0.018240375444293022, 0.0029826683457940817, 0.0367061123251915, 0.024251827970147133, 0.05733895301818848, -0.017745129764080048, 0.015383177436888218, 0.036750733852386475, 0.010303723625838757, -0.16121894121170044, 0.0930318683385849, 0.030103471130132675, 0.03473526984453201, -0.0011848991271108389, 0.0055196164175868034, -0.00008925775182433426, 0.09373048692941666, 0.006831544917076826, -0.03880014270544052, -0.06685727089643478, 0.052845511585474014, 0.019950199872255325, -0.013334369286894798, 0.017061693593859673, 0.029732931405305862, 0.02471187710762024, -0.061522215604782104, -0.049304790794849396, -0.024624980986118317, -0.03487792983651161, -0.013455789536237717, -0.014125337824225426, 0.003042113734409213, 0.0113399438560009, 0.06764330714941025, 0.012871653772890568, 0.02377726137638092, 0.048546310514211655, -0.017030032351613045, 0.0396188385784626, -0.02343083545565605, -0.0970522090792656, 0.0034371267538517714, -0.011472239159047604, 0.011435039341449738, -0.0380684956908226, 0.4228192865848541, 0.016862154006958008, -0.015248965471982956, 0.04861763119697571, 0.018459981307387352, 0.016994092613458633, 0.029645754024386406, 0.007105989847332239, -0.005401687230914831, 0.012010342441499233, -0.029936587437987328, 0.022834565490484238, -0.01190996915102005, 0.09214521944522858, -0.02583072893321514, 0.005948662757873535, 0.01617223396897316, -0.006218375638127327, 0.006989875342696905, -0.01679007150232792, 0.024263517931103706, -0.04513024538755417, 0.02461230382323265, 0.0475163497030735, 0.025883367285132408, 0.03511013463139534, 0.009602146223187447, 0.014668438583612442, 0.040006183087825775, 0.028622757643461227, 0.049363359808921814, 0.02549162320792675, -0.03844519704580307, -0.06544800102710724, -0.012100683525204659, 0.0025915452279150486, 0.023444926366209984, 0.03305479511618614, -0.011250593699514866, 0.008412734605371952, 0.032766349613666534, -0.04164283350110054, -0.014891418628394604, 0.010518389753997326, -0.019873451441526413, -0.04516785219311714, 0.05577147379517555, 0.005707910284399986, -0.02683839201927185, -0.03278676047921181, -0.05452530458569527, -0.034472182393074036, 0.0198354609310627, 0.014080800116062164, -0.06183662265539169, 0.008679324761033058, 0.026855358853936195, 0.059607040137052536, 0.013787083327770233, -0.043961554765701294, 0.017451656982302666, 0.01946135424077511, -0.04310784488916397, -0.02397136203944683, 0.06872899830341339, 0.05959337577223778, -0.12478943914175034, -0.001995167462155223, 0.014004409313201904, 0.03711361438035965, -0.06214142590761185, -0.025538718327879906, 0.04748615622520447, -0.0010496965842321515, -0.025812124833464622, 0.060846783220767975, -0.02974117361009121, -0.04303240403532982, 0.018173353746533394, 0.012706035748124123, -0.0005918695242144167, -0.015807945281267166, 0.019850678741931915, -0.05277685821056366, -0.012819931842386723, -0.04044008627533913, -0.10766181349754333, -0.056468598544597626, 0.01217015739530325, -0.04204627871513367, -0.0023693914990872145, -0.04682636260986328, -0.027030259370803833, -0.04969080165028572, 0.09409932792186737, 0.008009585551917553, -0.005644652526825666, -0.024166058748960495, 0.016554784029722214, 0.004508230369538069, -0.011180964298546314, 0.026563458144664764, 0.04546365514397621, -0.03210604563355446, 0.024813439697027206, -0.07084209471940994, 0.04052678868174553, 0.037383176386356354, -0.02693602815270424, 0.07270617038011551, 0.004854483064264059, -0.0038720208685845137, 0.020257843658328056, -0.020062951371073723, 0.021894102916121483, 0.028186792507767677, 0.023549700155854225, 0.025238828733563423, 0.014708006754517555, 0.05581651255488396, 0.028669696301221848, -0.004469811450690031, -0.03681757301092148, -0.03433014824986458, -0.36081722378730774, -0.055763211101293564, -0.04775411635637283, -0.009375433437526226, 0.031318455934524536, -0.06746411323547363, 0.03650107979774475, -0.004238089080899954, -0.01519722305238247, 0.007476016879081726, 0.08972480148077011, -0.02280929498374462, 0.00016240835248026997, -0.06425883620977402, -0.048954833298921585, 0.019519902765750885, -0.002359773265197873, -0.02099708653986454, -0.02683524414896965, 0.007910219952464104, -0.014146431349217892, -0.049530986696481705, -0.036378007382154465, -0.003001015167683363, -0.006696597207337618, -0.009737162850797176, 0.08951503783464432, 0.03805992379784584, 0.07760357856750488, -0.02908051572740078, 0.031602632254362106, -0.007361340802162886, 0.02948654629290104, -0.1318916529417038, 0.018546979874372482, 0.001952940714545548, 0.01344248652458191, 0.01865534298121929, 0.047994714230298996, -0.054290905594825745, -0.04887087270617485, 0.024451151490211487, -0.056506283581256866, -0.05593780428171158, 0.014507624320685863, 0.021276304498314857, -0.0020237271673977375, -0.011361605487763882, -0.02820035070180893, 0.032047975808382034, 0.011519050225615501, 0.0025964148808270693, 0.0045616808347404, 0.02535165660083294, 0.003425672883167863, 0.0008993056253530085, -0.04725606366991997, -0.03285418078303337, 0.04213206097483635, -0.001584947807714343, 0.03527642786502838, 0.0743929073214531, 0.016614412888884544, -0.05119176208972931, -0.0034463524352759123, 0.002238896442577243, 0.005556871183216572, 0.004987213294953108, 0.03358323127031326, -0.03373357653617859, -0.041980862617492676, 0.07491836696863174, -0.012779262848198414, 0.011558559723198414, -0.028859317302703857, 0.023147428408265114, -0.014161464758217335, 0.0012740961974486709, -0.015090282075107098, -0.02864571288228035, 0.05315852165222168, -0.006462322548031807, 0.0300124678760767, -0.01666727475821972, -0.02797948196530342, 0.08733440935611725, -0.037111394107341766, -0.06066935881972313, 0.06057337298989296, 0.026333967223763466, -0.011274268850684166, -0.034890301525592804, -0.04201005771756172, -0.052002109587192535, 0.0534541979432106, 0.02372083067893982, -0.23736204206943512, 0.015422485768795013, 0.041264213621616364, 0.07247363030910492, -0.027516348287463188, -0.026363983750343323, 0.08830896019935608, -0.059705737978219986, -0.0027052583172917366, 0.00974033772945404, 0.028914932161569595, 0.031046884134411812, 0.018035676330327988, -0.01144481636583805, 0.029011765494942665, -0.020851075649261475, 0.03027636930346489, 0.01080499216914177, -0.028758840635418892, -0.013956993818283081, 0.005132222082465887, -0.026094984263181686, 0.175104022026062, 0.041175540536642075, 0.01975998282432556, 0.025179695338010788, -0.008024483919143677, 0.0314650721848011, 0.04537414386868477, 0.01615763083100319, 0.032566577196121216, -0.020690111443400383, 0.03796206787228584, -0.027672328054904938, 0.03204452618956566, -0.057419221848249435, 0.0018779539968818426, 0.01753467321395874, 0.0017648068023845553, -0.02766125276684761, -0.028361419215798378, 0.02762421779334545, -0.05273694545030594, 0.03991656005382538, 0.06346303224563599, -0.05323566868901253, 0.013837856240570545, -0.022150365635752678, -0.06217440217733383, 0.013341800309717655, -0.03112087771296501, -0.050803717225790024, 0.010942194610834122, -0.02548420988023281, -0.012134838849306107, 0.052581921219825745, -0.0015666873659938574, -0.025011910125613213, -0.003936298191547394, 0.022472800686955452, -0.010961524210870266, -0.017612971365451813, 0.09869666397571564, -0.03013511374592781, 0.04951277747750282 ]
[ -0.00661722756922245, 0.06301269680261612, -0.01008711289614439, 0.017356451600790024, 0.0035057906061410904, 0.004639185033738613, -0.007052665110677481, -0.00031547891558147967, -0.012472597882151604, 0.02701149880886078, 0.0074824197217822075, 0.016504529863595963, 0.01897267997264862, -0.05325010418891907, 0.030221397057175636, 0.008433070033788681, 0.010095065459609032, -0.0029042246751487255, 0.024947980418801308, -0.014726691879332066, -0.0349343977868557, -0.0360741913318634, 0.017500534653663635, 0.02005825936794281, -0.014353744685649872, 0.00029267315403558314, -0.06183791160583496, 0.06390196830034256, 0.007172632031142712, -0.13760267198085785, 0.01728026196360588, -0.0026009262073785067, -0.017663730308413506, -0.013626114465296268, 0.004711149726063013, 0.03558257967233658, 0.03130214288830757, 0.0056718382984399796, -0.008432374335825443, 0.003128524636849761, 0.07424815744161606, 0.006330724805593491, -0.006487338803708553, 0.028646647930145264, -0.0014229582156985998, -0.028214111924171448, 0.023520471528172493, 0.002664700150489807, -0.023738577961921692, -0.009089285507798195, -0.04702163487672806, -0.04027285799384117, 0.004021971486508846, -0.00003714906415552832, -0.04639408737421036, -0.005290977191179991, 0.008731845766305923, 0.031285420060157776, 0.07007794082164764, -0.015381739474833012, -0.014167512767016888, 0.00017279342864640057, -0.038528941571712494, -0.041296835988759995, -0.020452531054615974, -0.04241299256682396, 0.0043500866740942, 0.0028693631757050753, 0.009338918142020702, 0.01256991270929575, -0.030420036986470222, 0.0174749493598938, -0.03862367570400238, -0.03365315496921539, 0.017891066148877144, -0.023108698427677155, 0.0075837415643036366, -0.005208233371376991, 0.04517946019768715, -0.01633351296186447, -0.03810982406139374, -0.008706795983016491, -0.020317384973168373, 0.02178889885544777, -0.034845296293497086, -0.03443510830402374, 0.0024492947850376368, 0.005220447666943073, 0.03521090745925903, -0.012638487853109837, 0.008661472238600254, 0.0007280040299519897, 0.018790068104863167, 0.0036118696443736553, -0.06243163347244263, -0.030199149623513222, 0.027615472674369812, 0.017406174913048744, -0.01473576296120882, 0.8147208094596863, 0.04669949412345886, 0.009178588166832924, 0.023246949538588524, -0.025309307500720024, -0.008151447400450706, -0.01979682594537735, -0.011196418665349483, 0.04895862191915512, 0.03660289943218231, -0.02065499685704708, -0.034771986305713654, 0.027852870523929596, 0.001431081211194396, -0.02487379126250744, -0.007293338421732187, 0.03765551745891571, 0.022480877116322517, -0.012776205316185951, -0.0045550307258963585, -0.022694937884807587, 0.030977683141827583, 0.01691475696861744, 0.03379900008440018, -0.016459064558148384, 0.008740857243537903, -0.17024771869182587, -0.0008995734970085323, -7.370985815973125e-33, 0.046717848628759384, -0.012944054789841175, 0.006305685266852379, 0.024600185453891754, 0.005001442972570658, -0.012498465366661549, 0.030089247971773148, 0.05374619737267494, -0.01800409145653248, -0.0302790068089962, 0.014667736366391182, -0.0478905588388443, -0.040706612169742584, 0.006584130693227053, -0.006081134080886841, -0.008022860623896122, -0.03673194348812103, 0.038127683103084564, -0.030483540147542953, 0.026890436187386513, -0.01930052973330021, -0.006064721383154392, 0.007748837117105722, -0.0088052274659276, 0.04177829250693321, -0.014108145609498024, 0.02008669637143612, 0.026071807369589806, -0.013301595114171505, -0.03480522707104683, 0.05608471482992172, 0.033485960215330124, 0.026330966502428055, -0.04239289090037346, 0.01805788278579712, -0.051966916769742966, -0.013511753641068935, 0.013325943611562252, -0.04320948198437691, -0.04129405319690704, -0.02745162509381771, 0.017348574474453926, 0.005096522159874439, -0.024035535752773285, -0.015438318252563477, -0.051284074783325195, 0.03167159482836723, 0.004568167962133884, 0.03577784076333046, -0.0028858156874775887, 0.013169887475669384, -0.010444889776408672, 0.006938527803868055, -0.011399145238101482, 0.0195902232080698, 0.04854583740234375, 0.0023006205447018147, 0.05083823949098587, -0.003649089951068163, -0.007242629304528236, 0.022183654829859734, 0.0006660173530690372, -0.016219306737184525, 0.019420480355620384, 0.034115713089704514, 0.035878896713256836, 0.0005571945221163332, 0.060177166014909744, -0.0057122898288071156, 0.038420677185058594, -0.023988204076886177, -0.0018888924969360232, -0.02926938235759735, -0.010408764705061913, -0.0020973205100744963, -0.007688523735851049, 0.018086660653352737, 0.02336410991847515, 0.053395941853523254, 0.02613106556236744, 0.014992774464190006, -0.028559038415551186, -0.017410065978765488, 0.018531156703829765, -0.06086219847202301, 0.02273600548505783, 0.05359470471739769, 0.004787122365087271, -0.02098766341805458, 0.002748632337898016, 0.0397900752723217, 0.018549028784036636, -0.005248467903584242, -0.033317189663648605, -0.04105733335018158, 7.158495375594827e-33, -0.05250857025384903, 0.0025925971567630768, -0.014907973818480968, -0.0021845039445906878, 0.012324374169111252, 0.040722791105508804, 0.030063193291425705, 0.011785732582211494, -0.028011376038193703, 0.010928170755505562, 0.0033377886284142733, 0.004002764821052551, -0.041826628148555756, -0.0069776601158082485, 0.026617417111992836, -0.031656865030527115, 0.0028083007782697678, -0.02867041900753975, 0.014526080340147018, 0.01422946434468031, 0.011078421026468277, -0.011607329361140728, 0.01523135881870985, 0.03404359146952629, 0.027305420488119125, 0.017544370144605637, -0.00002704242433537729, -0.0039874231442809105, 0.015608358196914196, -0.028420206159353256, 0.004788085352629423, -0.009307239204645157, 0.0010608129668980837, 0.017453674226999283, -0.007632055785506964, -0.007595776580274105, -0.014273016713559628, 0.049614354968070984, -0.01548764482140541, -0.014684932306408882, -0.0066798352636396885, -0.032086536288261414, -0.018915778025984764, 0.01727505959570408, 0.005123891402035952, 0.03161321207880974, -0.02440558187663555, 0.009904440492391586, -0.01743130572140217, 0.07547709345817566, -0.002798639703541994, 0.012483415193855762, 0.03873712942004204, 0.01849036104977131, 0.01914397068321705, -0.014672434888780117, -0.06261717528104782, 0.021197015419602394, 0.009313337504863739, -0.021951312199234962, -0.061961378902196884, 0.02268311381340027, -0.010035097599029541, 0.030245400965213776, -0.025234634056687355, -0.028758017346262932, -0.09195756167173386, -0.012604612857103348, -0.00023853358288761228, -0.011422546580433846, 0.004406618885695934, 0.025989411398768425, -0.03748699650168419, -0.021457122638821602, 0.007963987067341805, -0.03760644048452377, 0.0045484802685678005, -0.015512044541537762, -0.023055102676153183, 0.04276712238788605, 0.012332083657383919, 0.029674941673874855, 0.006114707328379154, -0.038503799587488174, -0.0045154280960559845, -0.015507436357438564, -0.037228040397167206, 0.039154183119535446, 0.06652603298425674, 0.01604953594505787, -0.006120123900473118, -0.022862005978822708, -0.036348890513181686, -0.0018941210582852364, 0.006658284924924374, -1.2611587330013663e-8, 0.0014804168604314327, -0.018339209258556366, -0.004186340607702732, 0.00586183276027441, -0.004031351767480373, 0.014049986377358437, -0.06123622879385948, -0.024411005899310112, -0.04569559171795845, 0.05436380207538605, 0.03557361662387848, -0.005570876877754927, 0.011372429318726063, 0.018312660977244377, -0.05068385973572731, -0.07645934075117111, -0.0009798691608011723, 0.0000103136153484229, 0.03651207312941551, 0.0000617535479250364, -0.004169960040599108, 0.021639032289385796, 0.018711494281888008, 0.03249822184443474, 0.0523025281727314, -0.01846417784690857, -0.0059725698083639145, -0.07720112055540085, 0.0016960822977125645, 0.005732220131903887, 0.019296789541840553, -0.015943074598908424, -0.04515909031033516, 0.004797808360308409, -0.036841485649347305, 0.009154283441603184, -0.026590969413518906, 0.004226389806717634, 0.002088000066578388, 0.007169533520936966, 0.035146426409482956, 0.0019167793216183782, -0.02382616512477398, -0.028671320527791977, -0.025045176967978477, -0.01111180055886507, -0.012763898819684982, 0.0398130901157856, -0.019890528172254562, -0.025675000622868538, 0.027240393683314323, -0.02724071405827999, 0.03664629906415939, -0.012633713893592358, 0.02895073965191841, 0.013363702222704887, 0.03437923640012741, -0.008921777829527855, 0.02032076194882393, -0.0014448813162744045, 0.04990759119391441, -0.014913042075932026, -0.015491892583668232, -0.020948678255081177 ]
mercurial-pulling-from-behind-a-proxy
https://markhneedham.com/blog/2009/05/13/mercurial-pulling-from-behind-a-proxy
false
2009-02-03 10:43:56
Nant include task - namespace matters
[ "build", "nant" ]
[ "Build" ]
We've been trying to include some properties into our build file from a properties file today but no matter what we tried the properties were not being set. We eventually realised that the build file has an XML Namespace set on the project element. [source,text] ---- <project name="..." xmlns="http://nant.sf.net/schemas/nant.xsd"> ---- It turns out that if you want to include a properties file in your build file, like so: [source,text] ---- <include buildfile="properties.xml" /> ---- ...you need to put the namespace on the project attribute of that file as well, otherwise its properties don't get picked up. Our properties file therefore needs to look like this, assuming that we have a namespace set on the build file. [source,text] ---- <project name="properties" xmlns="http://nant.sf.net/schemas/nant.xsd"> <property name="foo" value="bar" /> </project> ---- What's a bit confusing is that on the NAnt documentation page for the http://nant.sourceforge.net/release/latest/help/tasks/include.html[include task] it says that project element attributes are ignored! That's not what we found!
null
null
[ 0.008807669393718243, 0.010602184571325779, -0.008142533712089062, 0.05088803544640541, 0.09108014404773712, 0.01821894198656082, 0.017563411965966225, 0.005131556652486324, 0.03224446251988411, -0.04586728662252426, -0.0480646975338459, 0.01750510185956955, -0.07007863372564316, 0.019982455298304558, -0.037779759615659714, 0.06638660281896591, 0.0887308120727539, 0.026675648987293243, 0.023869451135396957, 0.028157822787761688, 0.02741330675780773, 0.03325532749295235, -0.008741335943341255, 0.04983896762132645, 0.005558048840612173, 0.039760902523994446, 0.0027058550622314215, -0.015595129691064358, -0.05462927371263504, 0.012522797100245953, 0.00753855099901557, -0.01940895989537239, -0.002885674126446247, -0.03574267029762268, -0.01474817655980587, -0.025366738438606262, -0.059117257595062256, -0.0019982377998530865, -0.015675244852900505, 0.018311943858861923, -0.08230568468570709, 0.020741447806358337, -0.004548762459307909, 0.016748305410146713, -0.038637515157461166, 0.021840009838342667, -0.028945157304406166, -0.005757840350270271, -0.04282797873020172, 0.012128814123570919, -0.05657002702355385, 0.020950492471456528, -0.044649526476860046, -0.009352723136544228, 0.02507450431585312, 0.027514059096574783, 0.01565142348408699, -0.0795285776257515, 0.044968243688344955, -0.04524436220526695, 0.005988776218146086, -0.00722917914390564, -0.01374280545860529, 0.05118910223245621, 0.07890062034130096, -0.026748599484562874, -0.011013691313564777, 0.04653329402208328, -0.025804104283452034, -0.003268616972491145, -0.01009376160800457, 0.02216554619371891, -0.026983046904206276, -0.01240694522857666, 0.028725389391183853, -0.03148658573627472, 0.005350498482584953, 0.05073105916380882, 0.012991401366889477, 0.06350400298833847, -0.03337275609374046, 0.04709154739975929, 0.015160676091909409, 0.02461431547999382, -0.016467658802866936, -0.02700740098953247, -0.005958892405033112, -0.007269992493093014, -0.05971428006887436, 0.056389544159173965, 0.037045370787382126, -0.03615972772240639, 0.01742633804678917, 0.024544240906834602, 0.04057006165385246, -0.0007874553557485342, 0.0009062060271389782, -0.0018321623792871833, 0.0056382897309958935, 0.019943581894040108, -0.03689592704176903, 0.009742709808051586, -0.020675567910075188, 0.00785127468407154, -0.08211811631917953, -0.014070914126932621, -0.037165332585573196, -0.028461160138249397, -0.0008796720649115741, 0.005411461461335421, -0.006336064077913761, 0.01758381351828575, -0.014643981121480465, -0.017572758719325066, -0.07484357804059982, 0.05067610740661621, 0.017424454912543297, -0.028332188725471497, -0.024471387267112732, 0.02341282181441784, 0.06263872981071472, 0.014251994900405407, -0.014877615496516228, 0.06957608461380005, 0.0008134267991408706, 0.03347340598702431, -0.016841823235154152, 0.051971953362226486, -0.022707894444465637, -0.09403210133314133, -0.0027998052537441254, 0.04663551598787308, -0.016258643940091133, 0.014404160901904106, -0.007400123402476311, -0.010197450406849384, -0.022759368643164635, 0.010865716263651848, 0.030467262491583824, 0.011676947586238384, -0.04369800537824631, -0.028871973976492882, 0.02045765519142151, 0.017809318378567696, 0.02347147837281227, 0.00802635308355093, -0.008742384612560272, -0.0541992224752903, -0.038367513567209244, 0.03753216937184334, 0.027066726237535477, 0.03708551079034805, 0.05592580512166023, -0.039077598601579666, 0.02087879367172718, 0.08876824378967285, 0.04390813782811165, 0.010597201995551586, -0.04755460098385811, 0.014670570380985737, 0.03611362352967262, 0.017174525186419487, 0.02835388481616974, 0.0654805526137352, 0.02223767526447773, -0.014998387545347214, -0.005337985698133707, 0.008292973041534424, 0.030739715322852135, -0.00013735161337535828, -0.05862092971801758, -0.058886460959911346, 0.052056241780519485, -0.04388510063290596, 0.0013785642804577947, 0.03298042714595795, 0.06763583421707153, 0.022476784884929657, 0.037834059447050095, -0.002821541391313076, -0.07608097791671753, 0.011035636067390442, -0.004161718301475048, 0.014005133882164955, 0.03332454711198807, 0.005259699188172817, 0.05334490165114403, 0.029840853065252304, -0.0007908855914138258, 0.03614572063088417, -0.07134079188108444, -0.09032297879457474, -0.0007103672251105309, -0.026818856596946716, 0.05672818049788475, -0.00416462030261755, -0.014167043380439281, 0.05589612200856209, 0.015342132188379765, 0.04309666156768799, 0.04298217222094536, 0.011081630364060402, -0.0045702168717980385, -0.06319142132997513, -0.054247017949819565, 0.01648094318807125, 0.03484681248664856, -0.004996296484023333, -0.03419279679656029, 0.010650384239852428, 0.0024796617217361927, 0.02232673577964306, 0.06784455478191376, -0.016906917095184326, 0.057625796645879745, -0.00912034884095192, 0.03337767347693443, -0.028647037222981453, 0.051339779049158096, -0.05289961397647858, 0.027101311832666397, -0.00959699135273695, -0.03424033150076866, -0.017279256135225296, -0.03194669634103775, 0.11049145460128784, 0.06822051852941513, -0.026724649593234062, -0.022793056443333626, 0.03194599971175194, -0.005353592336177826, -0.045636244118213654, 0.00552606163546443, 0.013118310831487179, 0.005154558457434177, 0.0042630587704479694, -0.03702173009514809, 0.013503176160156727, 0.004018079489469528, -0.026254771277308464, 0.014915715903043747, 0.07249674946069717, -0.041213344782590866, 0.03776511549949646, 0.03304506838321686, 0.0007866036612540483, 0.016327951103448868, -0.03512926399707794, -0.0928240716457367, -0.008497891016304493, 0.03453158587217331, -0.0051561458967626095, 0.02632511965930462, -0.012123903259634972, -0.03233236446976662, -0.03427635505795479, -0.04239746555685997, -0.013450965285301208, 0.04587673023343086, 0.04730594530701637, -0.014527021907269955, 0.039654236286878586, -0.0245389211922884, 0.018824828788638115, -0.006245675031095743, -0.04709596186876297, 0.027868997305631638, 0.0077048903331160545, 0.003548321081325412, 0.022692369297146797, 0.024903614073991776, 0.02551158517599106, 0.005556533113121986, -0.020328382030129433, 0.01913987100124359, -0.008218107745051384, 0.0318196676671505, -0.010105566121637821, 0.009397587738931179, -0.03489450737833977, -0.013184672221541405, 0.01887412741780281, -0.04458247870206833, -0.020089492201805115, 0.029184022918343544, -0.047031763941049576, 0.029566433280706406, -0.09500917792320251, -0.0461539626121521, -0.03374367579817772, 0.028816141188144684, -0.012734383344650269, 0.009296064265072346, 0.017550839111208916, 0.09423482418060303, 0.04653460532426834, 0.008131954818964005, 0.021238891407847404, 0.0061490884982049465, 0.04058392345905304, 0.0008578542619943619, 0.030325502157211304, 0.02498646453022957, -0.015249543823301792, 0.008656815625727177, -0.01954829692840576, 0.008388901129364967, -0.04073223099112511, -0.26618629693984985, 0.030758745968341827, -0.01488772314041853, -0.05848170071840286, 0.03943195939064026, -0.03761129826307297, 0.0330306738615036, -0.03393027186393738, -0.04545825719833374, 0.03473368287086487, -0.036377765238285065, -0.06480184197425842, 0.04856608808040619, 0.03906239941716194, -0.006727783940732479, 0.01758662424981594, 0.029802074655890465, -0.04648662731051445, 0.01755370758473873, 0.01929326169192791, -0.03886104375123978, -0.046613626182079315, 0.022615328431129456, 0.028264662250876427, 0.028575332835316658, 0.06399450451135635, -0.08032133430242538, 0.05611459165811539, -0.0310975331813097, -0.028848251327872276, 0.008373425342142582, 0.0011566999601200223, 0.008276904001832008, -0.02224714495241642, -0.024396194145083427, -0.03028389811515808, 0.025245949625968933, 0.005252287723124027, -0.026495570316910744, -0.0056104399263858795, -0.03182827681303024, -0.03409028425812721, -0.0031465485226362944, -0.011164814233779907, 0.05672117695212364, -0.04757009819149971, -0.0758180022239685, -0.014151436276733875, -0.04696206375956535, 0.06367259472608566, -0.023976517841219902, -0.007158038206398487, -0.011751447804272175, 0.02413793094456196, -0.023957375437021255, -0.022661961615085602, 0.03441498428583145, -0.00483884708955884, -0.06892918795347214, -0.024144211784005165, -0.017931373789906502, -0.03209039941430092, -0.01992320641875267, -0.03534332662820816, 0.0024632508866488934, -0.05594883859157562, -0.05891423672437668, -0.033553361892700195, 0.04691922664642334, -0.005675846245139837, -0.045399557799100876, -0.013353402726352215, -0.005696430336683989, -0.11535745859146118, 0.009067369624972343, -0.04049644246697426, -0.06677208095788956, -0.04844363406300545, -0.039808306843042374, 0.016589080914855003, -0.03114425577223301, -0.02028532326221466, 0.02319580875337124, 0.02866317518055439, -0.022685457020998, 0.0243165772408247, 0.029657138511538506, 0.00634352071210742, -0.0389777272939682, -0.01080406829714775, 0.04625295475125313, -0.024575212970376015, 0.01924060843884945, -0.0347428061068058, -0.012705294415354729, 0.0011202661553397775, -0.0018392070196568966, -0.006901191081851721, 0.046637263149023056, 0.022753873839974403, 0.040840424597263336, -0.03428627923130989, 0.03158600255846977, -0.004899479914456606, -0.011280191130936146, -0.00790570117533207, -0.0360938236117363, 0.004250550176948309, 0.03806314989924431, 0.04330817237496376, -0.029613077640533447, -0.011160515248775482, 0.00890981126576662, -0.03697876259684563, -0.01751627027988434, -0.015416616573929787, 0.007282090373337269, 0.015897342935204506, -0.0028862592298537493, -0.005081497598439455, -0.04648929834365845, 0.01947387307882309, -0.0016430545365437865, -0.03484006226062775, -0.04802096262574196, -0.009626071900129318, 0.004361965227872133, -0.02540070191025734, 0.006842059548944235, -0.0012445782776921988, -0.027063900604844093, 0.05407550185918808, 0.008595656603574753, -0.026842407882213593, 0.014453263953328133, 0.0019821194000542164, -0.032592106610536575, -0.02307027019560337, -0.0012011155486106873, -0.018156878650188446, -0.04904086887836456, 0.015357411466538906, 0.03656283766031265, 0.02958221174776554, 0.05211822688579559, 0.026047298684716225, 0.02041228860616684, 0.024783534929156303, 0.027531903237104416, -0.025470668449997902, 0.01691851206123829, -0.07676294445991516, 0.013007923029363155, -0.04737112298607826, -0.0333094447851181, -0.033367931842803955, 0.027532773092389107, -0.002785752760246396, -0.006788421887904406, -0.030505400151014328, 0.03342350572347641, -0.05641875043511391, -0.015601900406181812, 0.010136033408343792, -0.016300495713949203, 0.04487695172429085, -0.007429914083331823, 0.015178021043539047, -0.05776441842317581, 0.009022044949233532, 0.03541134297847748, 0.005118966568261385, -0.05828322097659111, 0.00017744988144841045, 0.0005142494337633252, 0.002449878491461277, 0.029213720932602882, 0.006374242249876261, 0.03028513491153717, 0.03253405913710594, 0.006046814378350973, 0.015000814571976662, 0.021080100908875465, -0.0019565492402762175, 0.022266054525971413, -0.014428442344069481, -0.005339840427041054, 0.0099515151232481, -0.029476895928382874, -0.008769478648900986, -0.020061170682311058, -0.0038620757404714823, -0.019452759996056557, 0.027447687461972237, -0.031651705503463745, -0.06593587249517441, 0.03777646645903587, 0.010564357042312622, 0.016846219077706337, 0.014536327682435513, -0.04008650779724121, -0.0138573432341218, -0.03276406601071358, 0.052936721593141556, 0.08369728922843933, -0.03815854713320732, 0.03347396105527878, -0.002845324110239744, 0.01264918688684702, 0.0031163766980171204, 0.00620630756020546, -0.04175003990530968, -0.036056239157915115, -0.029068859294056892, 0.00021981338795740157, -0.05305815115571022, -0.012895108200609684, -0.03277936577796936, -0.005149653647094965, -0.01092004869133234, -0.00236074673011899, 0.005975724663585424, 0.06187078356742859, -0.012213287875056267, -0.02451420947909355, -0.012402827851474285, 0.011958417482674122, 0.01641092821955681, 0.024906408041715622, -0.04242553561925888, 0.0015542685287073255, -0.024581950157880783, 0.02007354237139225, 0.016321122646331787, -0.019936973229050636, -0.030284764245152473, -0.03786429762840271, -0.020847048610448837, 0.037118591368198395, 0.054243382066488266, -0.007340311072766781, -0.007145535200834274, -0.03167401999235153, -0.012296967208385468, -0.007875308394432068, -0.007444898597896099, -0.027143588289618492, -0.020401859655976295, -0.013914727605879307, 0.05408678576350212, 0.0003991538833361119, 0.0033330286387354136, -0.033417150378227234, -0.01907939836382866, 0.045078642666339874, -0.06503330916166306, -0.04308807849884033, 0.0032424787059426308, -0.058050643652677536, -0.015848403796553612, 0.04272918775677681, 0.017594559118151665, -0.059198539704084396, 0.06118249148130417, 0.05449974164366722, -0.002439454896375537, 0.0066903154365718365, -0.011515739373862743, 0.018758049234747887, -0.03550957515835762, -0.0019060734193772078, -0.08370152115821838, 0.01513344794511795, 0.024981331080198288, 0.021634163334965706, -0.03994208946824074, -0.012512932531535625, -0.018795771524310112, 0.04899405315518379, -0.06595095992088318, -0.059382516890764236, 0.04520475119352341, 0.024295227602124214, 0.02395448461174965, 0.005222572945058346, -0.04169515147805214, 0.022486353293061256, 0.027761634439229965, -0.038450468331575394, -0.00277874362654984, -0.03917667642235756, 0.02483377419412136, -0.025099504739046097, -0.005949719343334436, -0.04259336739778519, -0.017792383208870888, 0.06402008980512619, 0.02763788402080536, 0.034266065806150436, 0.006273664999753237, -0.03591863811016083, 0.04938695207238197, 0.04339158907532692, -0.01827569119632244, -0.00984086375683546, 0.02323063462972641, 0.012587462551891804, -0.049863558262586594, -0.006325895432382822, 0.025423698127269745, 0.01401331927627325, -0.03666921705007553, 0.04913477227091789, 0.04623556509613991, -0.03492095693945885, 0.00014193251263350248, 0.023524286225438118, -0.020042886957526207, 0.011425454169511795, -0.009028380736708641, 0.006876691244542599, -0.07140370458364487, 0.058606453239917755, 0.008089626207947731, -0.013628489337861538, 0.09544779360294342, -0.009504735469818115, -0.015372691676020622, 0.02083192951977253, 0.08571002632379532, 0.06673753261566162, 0.02850526198744774, 0.021265793591737747, 0.055805839598178864, -0.028182778507471085, -0.052754439413547516, 0.027497200295329094, -0.013099034316837788, 0.028236160054802895, 0.0020228461362421513, 0.01068318635225296, 0.05474182963371277, 0.0026898731011897326, 0.048302389681339264, -0.02941994182765484, -0.0001819087192416191, -0.004840658511966467, 0.02101011760532856, 0.018306005746126175, 0.039493292570114136, 0.0038821634370833635, 0.019901763647794724, -0.017877677455544472, -0.032447345554828644, -0.005451299250125885, -0.008088601753115654, -0.005500069819390774, 0.022992409765720367, 0.02217693068087101, 0.007026449777185917, 0.007813679985702038, 0.04253757745027542, 0.0994597002863884, 0.011296970769762993, -0.03754127025604248, 0.005975030828267336, 0.04672988876700401, 0.034294046461582184, 0.01621200330555439, -0.0034122762735933065, -0.00653136195614934, 0.007349084131419659, -0.024777851998806, -0.058625172823667526, 0.013836557045578957, 0.006509692873805761, 0.0583769790828228, -0.02633797749876976, -0.0009391849744133651, -0.020323371514678, 0.025824738666415215, -0.027700241655111313, -0.06503278762102127, -0.06453298777341843, -0.03242296352982521, -0.054494019597768784, 0.011720634996891022, 0.014717835001647472, -0.002261516870930791, -0.025206677615642548, -0.04027197137475014, -0.0011322986101731658, -0.00027786323335021734, 0.04881744831800461, -0.07114385068416595, -0.0384979210793972, 0.031827233731746674, 0.037964947521686554, 0.0471302792429924, 0.03576365485787392, 0.06738220155239105, 0.00896748248487711, -0.007211348507553339, -0.02083553560078144, 0.006476735230535269, 0.014298250898718834, -0.012880859896540642, 0.03400671109557152, -0.06007412075996399, 0.027007684111595154, 0.009844386018812656, -0.0087504917755723, -0.05106513574719429, 0.024239832535386086, 0.044953852891922, -0.03824117034673691, 0.0622192919254303, 0.008066266775131226, 0.0002367045817663893, -0.01724163629114628, -0.0015859931008890271, 0.020415080711245537, 0.017369244247674942, 0.03458676114678383, -0.026578625664114952, 0.08289598673582077, 0.05424695461988449, -0.02206120453774929, -0.027263497933745384, -0.05073373764753342, -0.016307935118675232, 0.043780889362096786, -0.0437205508351326, -0.005919202230870724, -0.07725302875041962, -0.06640972197055817, -0.022128097712993622, -0.031510137021541595, -0.01529190968722105, -0.03244743496179581, 0.023201540112495422, 0.0003293631016276777, -0.08336557447910309, -0.0004614770587068051, -0.06785183399915695, 0.007902066223323345, -0.006425635889172554, -0.007318894378840923, -0.007296500261873007, 0.01487851794809103, 0.03758554905653, -0.019575225189328194, 0.025377729907631874, -0.0387570820748806, -0.01642756722867489, -0.017592743039131165, 0.02867085672914982, 0.049404341727495193, 0.022226257249712944, 0.019020678475499153 ]
[ -0.056592907756567, 0.009969322942197323, -0.01956276409327984, -0.04534152150154114, 0.07671236246824265, -0.02382027730345726, -0.01855146698653698, -0.0024963102769106627, 0.003919502254575491, -0.02047295682132244, 0.019145755097270012, -0.03117230534553528, 0.008846517652273178, -0.0315801203250885, 0.07417907565832138, 0.004233188461512327, -0.036682214587926865, -0.019822796806693077, -0.012540219351649284, 0.02862406335771084, 0.012552964501082897, -0.015202399343252182, -0.00003082180046476424, -0.010577129200100899, 0.04042651131749153, 0.029738495126366615, 0.021327976137399673, 0.004935202654451132, -0.01644744537770748, -0.21895204484462738, -0.005973468068987131, -0.00782872922718525, 0.016244472935795784, -0.015924576669931412, 0.02931961789727211, 0.06013591215014458, 0.0002341927756788209, 0.04401730000972748, 0.00471886433660984, 0.014170282520353794, 0.029867863282561302, 0.017275145277380943, -0.013349169865250587, -0.038425885140895844, 0.018951714038848877, 0.008116881363093853, 0.005894546862691641, -0.05260535329580307, -0.015202232636511326, -0.0009061213349923491, -0.013462748378515244, -0.02642725221812725, 0.013343917205929756, -0.005037231836467981, -0.01230405643582344, 0.07077694684267044, 0.03083435818552971, 0.05888887867331505, 0.02396809495985508, 0.04695744812488556, 0.01873420737683773, -0.041272442787885666, -0.15017394721508026, 0.08409057557582855, 0.05475481599569321, 0.03907376527786255, -0.03527699410915375, -0.029357340186834335, 0.006173012778162956, 0.08326389640569687, 0.01435474120080471, -0.012054701335728168, -0.04440716281533241, 0.06943263113498688, 0.023411856964230537, -0.01379950251430273, 0.020771978422999382, 0.0035268752835690975, 0.03817243129014969, -0.043037913739681244, -0.06299944221973419, -0.0114058256149292, -0.03864128515124321, -0.009449781849980354, -0.032089073210954666, 0.04945231229066849, -0.019866803660988808, 0.05816231667995453, 0.03960803896188736, 0.04198705032467842, 0.0255862008780241, -0.07445234060287476, 0.008647261187434196, 0.03683871030807495, -0.0835035890340805, -0.0025119176134467125, -0.015060938894748688, -0.0018733571050688624, -0.013415669091045856, 0.432606041431427, -0.052626654505729675, -0.019467957317829132, 0.05306008830666542, 0.018026113510131836, -0.024022715166211128, 0.020460495725274086, 0.010735446587204933, -0.019998034462332726, 0.0011086876038461924, -0.02077837474644184, -0.011259479448199272, 0.023048346862196922, -0.0010488210245966911, -0.08345260471105576, 0.002492239000275731, -0.01835799776017666, -0.013983732089400291, 0.008158393204212189, -0.03441693261265755, 0.0012529429513961077, 0.01679297909140587, 0.0034417069982737303, -0.0050600687973201275, 0.03623860329389572, -0.00759718706831336, -0.01726505346596241, 0.030027708038687706, 0.01621965505182743, 0.019996484741568565, 0.021615609526634216, -0.010056662373244762, -0.05418181046843529, -0.07366572320461273, -0.023528553545475006, 0.012332604266703129, 0.048678040504455566, 0.03687718138098717, -0.015043821185827255, -0.006534957326948643, 0.0007541817030869424, -0.0019066518871113658, -0.03355124220252037, 0.023746397346258163, -0.0014922850532457232, -0.04590289667248726, 0.08834604918956757, -0.018108632415533066, -0.007757844869047403, -0.01713288016617298, 0.004806541372090578, -0.029644591733813286, 0.053293801844120026, -0.01844223216176033, -0.0589749850332737, 0.027890793979167938, -0.004117416683584452, 0.03261089697480202, -0.04628610238432884, -0.05718928575515747, -0.01777016930282116, 0.024825716391205788, -0.03411274030804634, -0.035916391760110855, 0.04196234792470932, 0.028664376586675644, -0.12623348832130432, -0.05664324015378952, 0.03937634825706482, 0.011276870965957642, -0.0677654892206192, -0.012218435294926167, 0.021062318235635757, -0.01971965841948986, -0.03099600039422512, 0.07734828442335129, 0.002683642553165555, -0.02400640957057476, 0.032797977328300476, 0.024030594155192375, -0.0029262532480061054, -0.023930329829454422, 0.03000340610742569, -0.018633170053362846, 0.0035050525330007076, -0.048651453107595444, -0.07913553714752197, -0.07041452825069427, 0.010579025372862816, -0.05317777767777443, -0.05870234966278076, -0.04364928603172302, 0.005028098355978727, -0.03657425940036774, 0.0870673730969429, -0.017299342900514603, 0.016733642667531967, 0.032700471580028534, 0.012700687162578106, 0.026998715475201607, -0.047213271260261536, 0.05283753201365471, 0.034640274941921234, -0.0065896217711269855, 0.02596351131796837, -0.09059706330299377, 0.04807659983634949, 0.06168709695339203, -0.023487044498324394, 0.050680093467235565, 0.011982479132711887, -0.05185855180025101, -0.021992649883031845, 0.013584469445049763, 0.023416971787810326, 0.0011770548298954964, 0.02071925811469555, -0.02488134615123272, 0.016789888963103294, 0.05187493935227394, 0.03848327323794365, -0.05291908606886864, -0.02471461519598961, -0.023199036717414856, -0.3451879322528839, -0.05112821236252785, -0.015808334574103355, -0.044675782322883606, 0.0036248660180717707, -0.04188234731554985, -0.003696971107274294, 0.002627746667712927, -0.040000032633543015, 0.00474874023348093, 0.07084614783525467, -0.057273514568805695, 0.01757311075925827, -0.08117549866437912, -0.028825221583247185, -0.0009606123785488307, -0.017133377492427826, -0.034027546644210815, -0.021904511377215385, 0.01362293865531683, 0.010363486595451832, -0.02993643283843994, -0.05672861263155937, -0.01765451394021511, 0.03779194504022598, -0.018215186893939972, 0.08864139020442963, -0.02269667573273182, 0.08748481422662735, -0.058687448501586914, 0.05795643478631973, 0.02149916999042034, 0.003016351955011487, -0.10756522417068481, -0.006167212035506964, -0.039369452744722366, -0.013866286724805832, 0.05082934349775314, -0.008011472411453724, -0.021830804646015167, -0.006485454738140106, 0.010622077621519566, -0.03768743947148323, -0.025846997275948524, 0.013479459099471569, -0.01716136932373047, -0.014266729354858398, 0.001137393992394209, -0.01299415435642004, 0.056027982383966446, -0.017939219251275063, 0.029636582359671593, 0.01981159672141075, 0.03773754462599754, 0.03317977488040924, -0.00032555361394770443, -0.04783676564693451, 0.004273607861250639, 0.04575211927294731, -0.020612584426999092, 0.07649711519479752, 0.04288725182414055, 0.04154790937900543, -0.04887146130204201, 0.016346106305718422, -0.011608270928263664, 0.0002700354962144047, -0.0034384422469884157, 0.0075450921431183815, -0.024445973336696625, -0.005370165221393108, 0.08753630518913269, 0.00007591462053824216, 0.0010450028348714113, 0.009284201078116894, 0.04321376234292984, -0.022846972569823265, 0.03438066318631172, 0.03385663032531738, 0.010480728931725025, 0.01777087152004242, 0.0071565937250852585, 0.047294363379478455, -0.02372780255973339, 0.019848205149173737, 0.07542850822210312, -0.03482309728860855, -0.04858701303601265, 0.05682530999183655, -0.006891120690852404, -0.02134193666279316, 0.014418616890907288, 0.007771171163767576, -0.03769667074084282, 0.07615509629249573, -0.020337853580713272, -0.2555455267429352, 0.005115126725286245, 0.08723176270723343, 0.04391474276781082, -0.027903253212571144, -0.005564465187489986, 0.018470333889126778, -0.029772702604532242, 0.03478100523352623, 0.039141569286584854, 0.0022428270895034075, 0.04963560774922371, -0.02668408490717411, -0.06685670465230942, 0.016498396173119545, -0.04011876881122589, 0.06749093532562256, 0.0507536306977272, 0.06807684153318405, -0.0030796565115451813, 0.025810668244957924, -0.028329098597168922, 0.19909179210662842, 0.03314618766307831, 0.012586086988449097, -0.006065524648874998, -0.02554119937121868, 0.029306352138519287, 0.050891224294900894, 0.022851942107081413, 0.03844581916928291, 0.010996725410223007, 0.05220260098576546, 0.021952930837869644, -0.014779654331505299, -0.05268090218305588, 0.006567778065800667, 0.03158501535654068, 0.014825182035565376, 0.005182825028896332, -0.01064648199826479, 0.0027201788034290075, -0.07650451362133026, 0.044406380504369736, 0.04523945599794388, -0.024216243997216225, -0.01361880823969841, -0.0063137575052678585, -0.06825416535139084, -0.0024924941826611757, -0.04114554449915886, -0.01764807105064392, -0.020020784810185432, -0.027736101299524307, 0.0011671112151816487, 0.022746114060282707, 0.02695062756538391, -0.026349637657403946, 0.005102300550788641, 0.03475170210003853, -0.015572158619761467, -0.020506232976913452, 0.09324481338262558, 0.012559479102492332, 0.024073412641882896 ]
[ -0.02117198333144188, -0.003196143079549074, 0.004302587825804949, 0.002262636786326766, 0.033012229949235916, -0.003262881888076663, 0.008472918532788754, -0.008027107454836369, -0.00360901583917439, -0.002597309648990631, 0.014083261601626873, -0.04330378770828247, 0.0368240624666214, -0.028646694496273994, 0.04018564522266388, 0.01990562677383423, -0.010656462050974369, -0.030193854123353958, 0.024626480415463448, -0.02163589745759964, 0.009481120854616165, 0.025437401607632637, 0.025026723742485046, -0.004236661829054356, 0.005173978395760059, 0.024103114381432533, 0.008888080716133118, -0.012314894236624241, 0.030365247279405594, -0.09580741822719574, -0.034499332308769226, -0.012565494515001774, 0.01787874847650528, 0.00019015386351384223, 0.01735125482082367, 0.030936894938349724, 0.0331103540956974, 0.03722376003861427, -0.08598694205284119, -0.00035449903225526214, -0.041812583804130554, 0.013476069085299969, 0.05440487340092659, -0.03793567046523094, -0.03325636684894562, 0.01586528681218624, 0.025707999244332314, -0.11418193578720093, 0.004124137572944164, -0.03486790880560875, -0.008296779356896877, -0.01603548973798752, -0.004340142011642456, -0.028051458299160004, 0.06330263614654541, 0.054350461810827255, -0.008705264888703823, -0.017070388421416283, -0.028641173616051674, -0.031220339238643646, -0.011137176305055618, 0.007408695295453072, -0.0459672175347805, -0.0518331304192543, 0.06675639003515244, 0.04998917132616043, -0.04850400611758232, 0.01986972987651825, -0.01161703746765852, -0.003795807948336005, 0.02564014121890068, -0.002383261453360319, 0.006970406975597143, -0.004610693082213402, -0.023621991276741028, 0.03105219081044197, 0.04701075330376625, 0.021229034289717674, 0.056774165481328964, -0.029375826939940453, -0.06335979700088501, 0.03125348314642906, 0.01954539492726326, -0.021488621830940247, 0.01364828646183014, 0.060140207409858704, -0.008176488801836967, 0.0291048102080822, 0.039994336664676666, 0.05120136961340904, -0.03724270313978195, 0.0055259475484490395, -0.020523225888609886, 0.04785700887441635, -0.050748422741889954, 0.0027781722601503134, -0.019220957532525063, -0.0032513863407075405, -0.025517091155052185, 0.7901524305343628, 0.0016772524686530232, 0.06139576435089111, 0.03523736447095871, 0.009985733777284622, -0.019392360001802444, 0.002723227022215724, 0.007957298308610916, -0.001996430102735758, -0.001694349804893136, 0.02322910726070404, 0.008295389823615551, -0.03566219285130501, 0.020989488810300827, -0.006936771795153618, 0.007488429546356201, -0.02545720897614956, 0.02055063471198082, -0.009508882649242878, -0.01940770074725151, -0.004315264988690615, 0.02133801020681858, 0.006462753284722567, -0.0007038046605885029, 0.018048787489533424, -0.016415521502494812, -0.18362046778202057, 0.0014341594651341438, -8.032429140341134e-33, -0.00013398771989159286, 0.010543822310864925, 0.008974393829703331, 0.03112606145441532, 0.022609103471040726, -0.0161902979016304, 0.05657216161489487, 0.06464725732803345, 0.009304669685661793, -0.029385682195425034, -0.007460795342922211, -0.027037978172302246, -0.058598075062036514, -0.04043344035744667, 0.010778293013572693, -0.01876048929989338, -0.010017880238592625, 0.025558341294527054, -0.007472491357475519, 0.004542937967926264, 0.03688663989305496, 0.021980799734592438, -0.000759851885959506, -0.01907431147992611, 0.054530609399080276, -0.03935457766056061, 0.004441036377102137, 0.019070424139499664, -0.03326072171330452, -0.04931305721402168, -0.044971074908971786, -0.00461758766323328, 0.03820859268307686, -0.025560563430190086, 0.010206072591245174, -0.02859472669661045, 0.010087517090141773, 0.025650564581155777, -0.03334328904747963, 0.015377420000731945, -0.03828250244259834, 0.01274382509291172, -0.02589765377342701, 0.023777296766638756, -0.04686277359724045, -0.02392895333468914, 0.049103327095508575, 0.021257737651467323, 0.024879090487957, -0.023203790187835693, 0.012469669803977013, 0.016002992168068886, -0.008979533798992634, 0.008569865487515926, 0.01946987770497799, -0.02863466739654541, -0.037126827985048294, -0.024003488942980766, -0.0017725033685564995, -0.023417646065354347, -0.008049789816141129, -0.028173139318823814, -0.030620228499174118, 0.020180074498057365, -0.016236621886491776, 0.02553999423980713, 0.002156019676476717, 0.008750246837735176, 0.013847745023667812, -0.03452885150909424, -0.05416640639305115, -0.0702880248427391, 0.005006760358810425, -0.0602453388273716, 0.03956989943981171, -0.03320998325943947, -0.027181556448340416, -0.032544054090976715, -0.008692897856235504, 0.062448836863040924, 0.0055331760086119175, -0.018313566222786903, -0.0143735371530056, -0.007075290661305189, 0.02586372382938862, 0.03558140993118286, 0.02164754830300808, -0.00916706770658493, -0.036760155111551285, 0.0032402377109974623, 0.07692564278841019, -0.04620784521102905, -0.010410156100988388, -0.020494474098086357, -0.0033660861663520336, 8.207019438797014e-33, -0.018680192530155182, -0.011368311941623688, -0.03243054449558258, -0.03636298328638077, 0.032372452318668365, -0.0413307249546051, 0.0021458554547280073, -0.018731702119112015, -0.02289125695824623, 0.003197930520400405, -0.023034593090415, -0.037971947342157364, -0.0403779111802578, -0.06151522696018219, 0.012166648171842098, 0.001607757993042469, 0.02688279002904892, -0.013224141672253609, 0.024491513147950172, -0.035790663212537766, 0.022634347900748253, 0.004470390733331442, 0.022091101855039597, -0.005427147261798382, 0.03784049302339554, 0.05227915942668915, -0.002374387579038739, 0.024940328672528267, 0.041787780821323395, -0.03123531863093376, 0.011378860101103783, -0.0062339953146874905, -0.03385617211461067, -0.045266710221767426, -0.025485102087259293, 0.000014367720723384991, -0.002324999077245593, 0.012304037809371948, -0.023149045184254646, -0.03788915276527405, 0.010638550855219364, 0.014718439429998398, -0.021973684430122375, 0.019013505429029465, -0.010050322860479355, 0.0645628571510315, 0.005898582749068737, -0.033036746084690094, 0.0016298576956614852, -0.0018319574883207679, 0.02703937329351902, -0.006378279998898506, 0.03680744767189026, 0.024883341044187546, 0.016749069094657898, -0.032374635338783264, -0.010792535729706287, 0.021919628605246544, -0.04513349011540413, 0.0025780254509299994, 0.017898285761475563, -0.03256937861442566, 0.00039732843288220465, 0.03781389445066452, -0.04435787722468376, 0.017295438796281815, -0.03110518679022789, 0.05866778641939163, 0.003432417521253228, 0.011208911426365376, -0.0820220559835434, -0.0016886990051716566, -0.006901896093040705, 0.03484702482819557, -0.027941783890128136, -0.025939127430319786, 0.04939620941877365, -0.010227796621620655, -0.0038170435000211, 0.031192893162369728, -0.013153258711099625, 0.03006039559841156, 0.012845422141253948, -0.012781557627022266, 0.039685383439064026, 0.03368116915225983, -0.016901912167668343, 0.05372314900159836, -0.007558546029031277, 0.016120674088597298, -0.04212561994791031, -0.017036594450473785, -0.0227296594530344, 0.03220238909125328, -0.05310608819127083, -1.3143711008467562e-8, -0.02079036645591259, 0.0278970617800951, -0.015299602411687374, -0.04795083403587341, -0.01808888465166092, 0.021137939766049385, 0.0004136576026212424, 0.01716078259050846, 0.02884494699537754, 0.012377217411994934, 0.04685824364423752, 0.012395831756293774, 0.025607090443372726, 0.017977247014641762, -0.03834376856684685, -0.051820531487464905, 0.030404457822442055, 0.04288177192211151, 0.024809516966342926, -0.08822046965360641, 0.022988425567746162, 0.050070155411958694, -0.020696019753813744, -0.0005442010588012636, 0.011282084509730339, 0.025743916630744934, -0.027250267565250397, -0.05767606943845749, 0.017902033403515816, 0.0581834502518177, -0.002747299848124385, -0.032418783754110336, 0.009297812357544899, 0.01644786074757576, 0.011178833432495594, -0.009090675041079521, 0.03349156677722931, 0.034369975328445435, 0.020316442474722862, 0.005756082013249397, 0.005785980727523565, 0.013876603916287422, 0.008238004520535469, 0.009508886374533176, 0.016792992129921913, -0.004913647193461657, -0.031177882105112076, 0.04025953263044357, 0.021315347403287888, -0.0023620212450623512, 0.030179213732481003, 0.003144730580970645, 0.0017630644142627716, 0.00957415159791708, 0.009318715892732143, 0.012687881477177143, -0.009697489440441132, -0.010661479085683823, -0.033042095601558685, -0.009218096733093262, 0.02066311426460743, -0.019595786929130554, -0.018380165100097656, 0.01468589622527361 ]
nant-include-task-namespace-matters
https://markhneedham.com/blog/2009/02/03/nant-include-task-namespace-matters
false
2009-02-03 07:18:40
C#: Refactoring to functional collection parameters
[ "net", "functional-programming" ]
[ ".NET" ]
I wrote about a month or so ago about the http://www.markhneedham.com/blog/2008/12/17/functional-collection-parameters-in-c/[functional collection parameters] now available in C# and certainly one of the most fun refactorings for me is trying to get code written using a for loop into a state where it is using one of these. With a bit of help from my colleague http://jamescrisp.org/[James Crisp], these are some of the most common refactorings that I have come across so far. There's a little bit of repetition with regards to my previous post but I think it's interesting to see the procedural approach to solving this problems versus the functional approach. For the sake of the examples, the following classes are common: [source,csharp] ---- public class Foo { private String bar; private String baz; private readonly bool specialFlag; public Foo(string bar, string baz, bool specialFlag) { this.bar = bar; this.baz = baz; this.specialFlag = specialFlag; } public bool HasSpecialFlag() { return specialFlag; } } public class NewFoo { public NewFoo(Foo foo) { } } public class NumericFoo { public int Value { get; set; } } ---- == Going from one collection to another conditionally [source,csharp] ---- var foos = new List<Foo> {new Foo("bar1", "baz2", true), new Foo("bar2", "baz2", false)}.Where(foo => foo.HasSpecialFlag()); var newFoos = new List<NewFoo>(); foreach (var foo in foos) { newFoos.Add(new NewFoo(foo)); } ---- We started off well using the 'Where' method to reduce the original list but we can do even better! [source,csharp] ---- var foos = new List<Foo> {new Foo("bar1", "baz2", true), new Foo("bar2", "baz2", false)}; foos.Where(foo => foo.HasSpecialFlag()) .Select(foo => new NewFoo(foo)); ---- Not significantly less code but it removes the need for more state in our code and makes the code more expressive at the same time which can only be a good thing. == Returning just one result I came across some code last week which was iterating through a collection and then returning the first item which matched a certain criteria. This would be useful if we wanted to get the first Foo object which has the special flag set for example. [source,csharp] ---- private Foo GetSpecialFoo(List<Foo> foos) { foreach (var foo in foos) { if(foo.HasSpecialFlag()) { return foo; } } return null; } ---- My initial thoughts on coming upon this code were that it should be possible to get rid of the loop but I wasn't sure how to do the return. Luckily the 'First' method solves this problem. [source,csharp] ---- private Foo GetSpecialFoo(List<Foo> foos) { return foos.Where(foo => foo.HasSpecialFlag()).First(); } ---- == Accumulating some values Adding values in collections together is surely one of the most common operations we do and functional collection parameters can help us here too. [source,csharp] ---- var numericFoos = new List<NumericFoo> {new NumericFoo {Value = 2}, new NumericFoo {Value = 5}}; int total = 0; foreach (var numericFoo in numericFoos) { total += numericFoo.Value; } ---- Introducing a functional approach here gives us the following code: [source,csharp] ---- var numericFoos = new List<NumericFoo> {new NumericFoo {Value = 2}, new NumericFoo {Value = 5}}; int total = numericFoos.Sum(foo => foo.Value); ----
null
null
[ 0.015780987218022346, -0.034184738993644714, -0.006430537905544043, 0.012438046745955944, 0.07218210399150848, 0.012941635213792324, 0.019197793677449226, 0.01281396672129631, -0.0105446120724082, -0.034124404191970825, -0.0039098868146538734, -0.007484122179448605, -0.08722994476556778, 0.012373599223792553, -0.021664386615157127, 0.0691230446100235, 0.07196290045976639, -0.044894177466630936, 0.028443263843655586, 0.012659743428230286, -0.008901270106434822, 0.08548055589199066, 0.009041246958076954, 0.023625703528523445, 0.012747883796691895, 0.029124658554792404, 0.009671812877058983, -0.002661887090653181, -0.06068465858697891, -0.0192851759493351, 0.027828890830278397, 0.027499139308929443, -0.002192283049225807, 0.004762858618050814, 0.008001347072422504, -0.04435208812355995, -0.003956867381930351, 0.005828646942973137, 0.00515382643789053, 0.02704646810889244, -0.06451677531003952, 0.027001122012734413, 0.004371468909084797, -0.006114013493061066, -0.0545729361474514, 0.011932160705327988, -0.03522113710641861, -0.013089077547192574, -0.05144675821065903, -0.023916125297546387, -0.05823225528001785, 0.014872797764837742, -0.0538029782474041, 0.011081548407673836, -0.01730368100106716, 0.05971650034189224, -0.014020056463778019, -0.08120615780353546, 0.0094221793115139, -0.04973521828651428, -0.0005126344040036201, -0.007290617097169161, 0.0041936361230909824, 0.04433494061231613, 0.025735097005963326, -0.01215055026113987, -0.0327218659222126, 0.05083085224032402, -0.03230469301342964, -0.02429037354886532, -0.01690426841378212, 0.026267943903803825, 0.013146196492016315, -0.005641541909426451, 0.01627996377646923, -0.027691198512911797, -0.013300576247274876, 0.06456500291824341, 0.016971686854958534, 0.04656820371747017, 0.011264228262007236, 0.0045525380410254, 0.05243334919214249, 0.016083113849163055, 0.04277385398745537, -0.028605375438928604, -0.042067088186740875, -0.0008319607004523277, -0.022073272615671158, 0.07050739973783493, 0.016987930983304977, -0.02581719122827053, 0.0026828551199287176, 0.030117399990558624, 0.0070222411304712296, 0.00035930139711126685, 0.0044965073466300964, -0.02470591478049755, -0.011054075323045254, 0.015224458649754524, -0.026293886825442314, -0.023738611489534378, 0.024550462141633034, -0.027652617543935776, -0.06991325318813324, -0.018288446590304375, -0.03579174727201462, -0.0002175320842070505, 0.002573447534814477, 0.01501461211591959, -0.05317219719290733, 0.03474770486354828, -0.0264691524207592, 0.016209593042731285, -0.07100159674882889, 0.030062813311815262, 0.01769540272653103, 0.011311774142086506, -0.027579225599765778, 0.019199155271053314, 0.06675182282924652, 0.037726692855358124, 0.01260761171579361, 0.07475168257951736, 0.019194606691598892, 0.03435712307691574, -0.02635744959115982, 0.057284656912088394, -0.02002355083823204, -0.08226598799228668, -0.01934638060629368, 0.03932439163327217, -0.01817990466952324, 0.007675141096115112, -0.0029780433978885412, -0.05740335211157799, -0.03712085261940956, 0.007323250640183687, 0.039491623640060425, 0.043268829584121704, -0.007219788618385792, -0.04306402429938316, 0.016802528873085976, -0.02920546382665634, 0.01788814552128315, 0.009394223801791668, -0.01800554059445858, 0.005222170148044825, -0.011340591125190258, 0.038871072232723236, 0.025016775354743004, 0.08631446212530136, 0.05003560334444046, -0.054940856993198395, 0.01262610126286745, 0.077035091817379, 0.012559923343360424, 0.021026719361543655, 0.012664956972002983, 0.0165889672935009, 0.05274181067943573, 0.04777409881353378, 0.01094698254019022, 0.052622631192207336, 0.00035624136216938496, -0.005240137688815594, -0.013395251706242561, 0.06645006686449051, -0.0026155412197113037, -0.02088097296655178, -0.04113434627652168, -0.02850351668894291, 0.040695108473300934, -0.049082644283771515, 0.0024207457900047302, 0.030493663623929024, 0.06454931199550629, -0.005908392835408449, 0.06402337551116943, -0.006685564760118723, -0.07296047359704971, 0.01878386177122593, 0.00874354038387537, 0.0012013744562864304, -0.0021595186553895473, -0.001374410348944366, 0.06994140148162842, 0.030202751979231834, 0.021791303530335426, 0.02876991219818592, -0.06326303631067276, -0.06432031840085983, -0.0509452149271965, -0.014267710037529469, 0.07841765135526657, 0.003950015641748905, -0.00021650070266332477, 0.07640937715768814, 0.013421259820461273, 0.047277577221393585, 0.04843968525528908, -0.034761782735586166, 0.0014035205822438002, -0.0043966155499219894, -0.04049259051680565, 0.04164930433034897, 0.024894842877984047, 0.023486735299229622, -0.04226415976881981, 0.01065951120108366, -0.008043074049055576, 0.011305626481771469, 0.05066422000527382, -0.010978060774505138, 0.039394304156303406, 0.004105713218450546, 0.023576973006129265, -0.039273057132959366, 0.049077052623033524, -0.0686865895986557, 0.018398357555270195, 0.010247058235108852, -0.013151058927178383, -0.00761465635150671, -0.0197035763412714, 0.12531276047229767, 0.050371695309877396, -0.05465058237314224, -0.04791503772139549, 0.013064397498965263, 0.01755320094525814, -0.04444845765829086, -0.013574822805821896, -0.03761184215545654, 0.014560461975634098, 0.002437317743897438, -0.03844912350177765, -0.003419288666918874, -0.0012612835271283984, -0.039860110729932785, 0.006149454973638058, 0.05606578662991524, -0.01651964895427227, 0.053816452622413635, 0.011562957428395748, -0.04493673890829086, -0.007183902896940708, -0.01846475899219513, -0.045398395508527756, 0.002143295481801033, 0.008008556440472603, -0.010247317142784595, 0.05501529946923256, -0.007696841843426228, -0.019260631874203682, -0.0074709756299853325, -0.03708638623356819, 0.005446253344416618, 0.004652202595025301, 0.07504725456237793, -0.02011207491159439, 0.04581684619188309, -0.017044106498360634, 0.00010993036266881973, -0.004740539938211441, -0.04675142467021942, 0.013636193238198757, -0.0018544966587796807, 0.028702082112431526, 0.05335747450590134, 0.0021707580890506506, 0.007587272208184004, 0.024966822937130928, -0.00375770078971982, -0.03234734386205673, -0.02786555327475071, 0.032699741423130035, -0.013193128630518913, -0.051940564066171646, -0.050561077892780304, -0.060331735759973526, 0.03715117275714874, -0.047517940402030945, -0.04970458149909973, -0.004729419946670532, -0.07196757197380066, 0.060856640338897705, -0.07611246407032013, -0.05414111539721489, -0.006571853533387184, 0.040843844413757324, 0.0367271825671196, 0.0008407089044339955, 0.000935109390411526, 0.05063986778259277, 0.010209981352090836, -0.006640173029154539, 0.009130939841270447, -0.02109469473361969, 0.003131498582661152, -0.01976650394499302, 0.007523691281676292, 0.03812868520617485, 0.008691485971212387, -0.0006460779113695025, -0.04684913530945778, 0.027526995167136192, 0.008638600818812847, -0.27104058861732483, 0.04219551011919975, -0.006734728347510099, -0.0340479351580143, 0.03500398248434067, 0.008686954155564308, 0.02004557102918625, -0.047098513692617416, -0.006889252923429012, 0.07097207009792328, -0.031446654349565506, -0.02493208460509777, -0.04675332456827164, 0.06664298474788666, 0.0005712672136723995, 0.01224965788424015, -0.02018333412706852, -0.02913057804107666, -0.018043873831629753, 0.05639157071709633, 0.009811770170927048, -0.07265101373195648, -0.016005394980311394, 0.04927418753504753, 0.021144306287169456, 0.038154587149620056, -0.0927814319729805, 0.05368204787373543, -0.027087828144431114, -0.00882139801979065, -0.009395543485879898, 0.015969516709446907, 0.02290254645049572, -0.02743782475590706, -0.030529074370861053, -0.006606302224099636, 0.004779573995620012, 0.02464289404451847, -0.02604980580508709, 0.042034368962049484, -0.05153791606426239, -0.04349594935774803, -0.014869880862534046, 0.025769712403416634, 0.07964369654655457, 0.012178509496152401, -0.07533258944749832, -0.01555489469319582, -0.05084531754255295, 0.04803214594721794, -0.0239112488925457, -0.06630508601665497, 0.012988699600100517, 0.04601874575018883, -0.01855047419667244, -0.028160883113741875, 0.00917212013155222, -0.004718433134257793, -0.03943007439374924, -0.03041153959929943, -0.00902486126869917, -0.04926731064915657, -0.0139182573184371, -0.03442378342151642, -0.02941628359258175, -0.05120692029595375, -0.05688399821519852, 0.007162790279835463, 0.08037594705820084, 0.03949972242116928, -0.005337399896234274, 0.0071266815066337585, -0.0069158379919826984, -0.10905313491821289, -0.015997741371393204, -0.04745766147971153, -0.034122053533792496, -0.023130003362894058, 0.0074406517669558525, 0.04954294115304947, -0.023878222331404686, -0.04602824151515961, 0.023486986756324768, 0.032768987119197845, 0.03409242630004883, -0.014140059240162373, 0.022311948239803314, 0.011723379604518414, -0.031313296407461166, -0.010743084363639355, 0.07580980658531189, 0.01570023223757744, 0.017088957130908966, -0.030062973499298096, 0.005426649935543537, 0.008210111409425735, 0.04591074958443642, -0.0011285444488748908, 0.02485688216984272, 0.024062255397439003, 0.06272581964731216, -0.04599132388830185, 0.03998955339193344, -0.04324173554778099, -0.01099180057644844, -0.020053787156939507, -0.05035245046019554, 0.025750549510121346, 0.023697316646575928, -0.010598461143672466, -0.015324227511882782, -0.026170887053012848, 0.01089987438172102, -0.05198444426059723, -0.02326241135597229, -0.014428490772843361, 0.03235214948654175, 0.04309498891234398, 0.003675326704978943, -0.007165198680013418, -0.053329408168792725, 0.015389285050332546, 0.002222904935479164, -0.0021835723891854286, -0.08046937733888626, -0.048105161637067795, -0.02125224843621254, 0.00356851052492857, 0.01145203784108162, 0.03447629511356354, -0.0014787169639021158, 0.02208133414387703, -0.013078413903713226, -0.04194338992238045, 0.024326546117663383, -0.015041728504002094, 0.006962497252970934, -0.03791074827313423, -0.04156709834933281, -0.02044636942446232, 0.008812027052044868, -0.010584237985312939, 0.026172129437327385, 0.020769203081727028, 0.017436914145946503, 0.003598925191909075, 0.0676296055316925, 0.02260274812579155, 0.009149311110377312, 0.038265492767095566, -0.0042612082324922085, -0.057655904442071915, 0.002791855949908495, -0.0510278046131134, -0.02296135388314724, -0.019983448088169098, 0.03900740295648575, -0.03541209176182747, -0.015234927646815777, -0.04385928809642792, 0.05316770821809769, -0.04538983479142189, -0.04264432191848755, -0.021893423050642014, -0.02682836726307869, 0.052141185849905014, -0.030979784205555916, 0.038032665848731995, -0.018614687025547028, 0.014755488373339176, 0.01959552802145481, 0.003354447428137064, -0.02693847566843033, 0.02996969036757946, 0.007480285130441189, -0.0021406919695436954, -0.0023841788060963154, 0.031334199011325836, 0.026927800849080086, 0.019161516800522804, 0.0216650553047657, -0.014960277825593948, 0.008774898946285248, -0.01398721244186163, 0.04262455925345421, -0.018886001780629158, 0.017001930624246597, -0.016422869637608528, -0.022583775222301483, -0.003195248544216156, -0.058500126004219055, -0.022953547537326813, -0.005888455547392368, 0.0434400774538517, -0.03725237026810646, -0.0669374018907547, 0.02574814110994339, 0.015811104327440262, 0.013372805900871754, -0.00715429475530982, 0.005467249546200037, -0.0028643961995840073, -0.016496900469064713, 0.005839399062097073, 0.048008326441049576, -0.05207555368542671, 0.012982453219592571, -0.0028832475654780865, 0.006655376870185137, 0.02926432341337204, 0.018501752987504005, -0.03604114428162575, 0.0020422146189957857, -0.01270741131156683, 0.0041620065458118916, -0.029554057866334915, -0.03179740905761719, -0.03279910236597061, 0.005655348766595125, -0.012696142308413982, -0.045540109276771545, -0.015411648899316788, 0.0028220268432050943, -0.015330899506807327, -0.019334424287080765, 0.006362206302583218, -0.04497654736042023, -0.0057550035417079926, 0.02171427756547928, -0.05023522302508354, 0.020496627315878868, -0.03789840638637543, 0.024859672412276268, 0.024546770378947258, -0.010499617084860802, -0.0033020623959600925, -0.06173991039395332, 0.008229761384427547, -0.01667949929833412, 0.06506947427988052, -0.005958424415439367, -0.03938620537519455, -0.0023673740215599537, -0.032971035689115524, -0.03455547243356705, -0.009819045662879944, 0.000037793535739183426, 0.00030713609885424376, 0.01175449788570404, 0.052710678428411484, -0.007406927645206451, 0.04101292043924332, -0.009010291658341885, 0.0055130524560809135, 0.09530611336231232, -0.039369016885757446, -0.004285744857043028, -0.01832158863544464, -0.05039294809103012, -0.0002653126430232078, -0.0008273128187283874, 0.04320753365755081, -0.05835305154323578, 0.028270354494452477, 0.041921328753232956, 0.021004393696784973, 0.04875817894935608, 0.009188367985188961, 0.03759033977985382, -0.01195377018302679, 0.0031893043778836727, -0.05696412920951843, 0.03224658593535423, 0.04148630425333977, 0.03498993068933487, -0.04879722744226456, -0.03129754960536957, -0.02346722222864628, 0.037838228046894073, -0.07302232086658478, -0.0010506670223549008, 0.021310506388545036, -0.012541989795863628, 0.00032473981264047325, 0.03430129215121269, -0.03005373105406761, 0.022288713604211807, 0.012851402163505554, -0.019428297877311707, -0.02943735383450985, -0.030840802937746048, 0.05300892889499664, 0.018943358212709427, 0.008241130039095879, -0.02906603179872036, 0.01122606173157692, 0.04329412057995796, 0.040213458240032196, 0.03213214874267578, 0.060946084558963776, -0.021259745582938194, 0.016111182048916817, 0.013721277005970478, -0.021983765065670013, -0.0035666755866259336, 0.0026278323493897915, -0.0017917196964845061, -0.05964475870132446, -0.0005512374918907881, 0.01833825372159481, -0.05482400208711624, -0.0635581761598587, 0.06269899755716324, 0.014107741415500641, 0.00041314048576168716, -0.04866965487599373, 0.010802275501191616, -0.0422174297273159, -0.011162097565829754, -0.018114672973752022, 0.02246812917292118, -0.0371612049639225, 0.06501010060310364, 0.028896266594529152, -0.019905880093574524, 0.05285462364554405, -0.023414714261889458, -0.0011713907588273287, -0.030968505889177322, 0.0731801688671112, 0.07208613306283951, 0.05465223640203476, -0.01062833983451128, 0.06004384905099869, -0.035062313079833984, -0.052138280123472214, -0.007956249639391899, -0.01723041944205761, -0.012826717458665371, -0.01364960242062807, 0.038251832127571106, 0.09207233786582947, 0.008093406446278095, 0.05201876908540726, -0.04918902739882469, -0.009752441197633743, -0.03268789127469063, 0.02452854998409748, 0.03114919550716877, 0.04040568694472313, 0.010466651991009712, 0.019670750945806503, 0.0006218805210664868, -0.04140258580446243, 0.0364510677754879, -0.02486821450293064, -0.0010730777867138386, 0.019560683518648148, 0.000012973680895811412, 0.007475669961422682, 0.021138109266757965, 0.030592575669288635, 0.05324825644493103, -0.012440805323421955, -0.01733824796974659, -0.011430253274738789, 0.01532090175896883, 0.012861604802310467, -0.026669127866625786, -0.025855084881186485, -0.03668113797903061, 0.023741424083709717, 0.006505397614091635, -0.006041186396032572, -0.02892443910241127, -0.01901623234152794, 0.05053455010056496, -0.02357546053826809, 0.024614501744508743, 0.005483611486852169, 0.015670159831643105, -0.03253667801618576, -0.048585254698991776, -0.04675598815083504, -0.029644371941685677, -0.05757276713848114, -0.021877331659197807, 0.024792741984128952, -0.014188000932335854, -0.037363968789577484, -0.029042772948741913, -0.022408345714211464, -0.02270720899105072, 0.06699422746896744, -0.018731290474534035, -0.0469508059322834, 0.017362158745527267, 0.010198923759162426, 0.04928336665034294, 0.03675989806652069, 0.04053445905447006, -0.019083157181739807, -0.00037483577034436166, -0.04608588665723801, -0.020075533539056778, 0.06353530287742615, 0.013612319715321064, 0.021732473745942116, -0.08670488744974136, 0.05295092612504959, 0.007231259718537331, 0.003847564337775111, -0.07311316579580307, -0.004669605288654566, 0.0029773302376270294, -0.0039038050454109907, 0.03873807564377785, -0.027777988463640213, -0.04014449939131737, -0.04973890259861946, 0.003725546645000577, 0.019523965194821358, 0.014058191329240799, 0.053364552557468414, -0.0282927006483078, 0.06538510322570801, 0.014413665048778057, -0.018108738586306572, -0.04288502782583237, -0.0006901006563566625, -0.013565928675234318, 0.011841063387691975, -0.049145858734846115, -0.05167413875460625, -0.008864532224833965, -0.028273869305849075, -0.0001763567270245403, 0.01980840042233467, -0.0033833589404821396, -0.030263764783740044, 0.023565156385302544, 0.0650382712483406, -0.07083943486213684, 0.02154579758644104, -0.0003641622024588287, 0.04004661366343498, -0.013288772664964199, -0.020456280559301376, -0.009582757949829102, 0.010476489551365376, 0.00760437548160553, 0.017649052664637566, 0.03200747072696686, -0.035479966551065445, -0.01832517236471176, -0.020733412355184555, -0.004249615129083395, 0.055660735815763474, -0.024510985240340233, 0.032285891473293304 ]
[ -0.10406068712472916, -0.0050022900104522705, -0.021976741030812263, -0.019268501549959183, 0.029649443924427032, -0.034507185220718384, 0.029381537809967995, 0.03846389427781105, -0.001624201308004558, -0.026051275432109833, 0.0017791381105780602, -0.008859090507030487, -0.0010957964695990086, 0.016749342903494835, 0.03185036778450012, 0.003462919732555747, -0.02056397870182991, -0.01950102671980858, -0.027312256395816803, 0.033373720943927765, 0.052478689700365067, -0.017138969153165817, -0.0436386875808239, -0.0132797472178936, 0.03096192516386509, 0.04379192739725113, 0.03766893595457077, -0.03914016857743263, 0.025358667597174644, -0.23336082696914673, -0.02067919448018074, 0.00856435764580965, 0.010180467739701271, -0.003441613633185625, -0.0037441644817590714, 0.023014448583126068, 0.03476032614707947, 0.04396175220608711, -0.02650543488562107, 0.07336437702178955, 0.03935050219297409, 0.04893612489104271, -0.04082782566547394, -0.010584969073534012, 0.020068224519491196, -0.00422234833240509, -0.02655336819589138, -0.03561054915189743, -0.019404320046305656, 0.02672353945672512, -0.0720168799161911, -0.03534749522805214, -0.037942275404930115, 0.0006704676779918373, -0.028876662254333496, 0.027726177126169205, 0.031711190938949585, 0.055352892726659775, 0.035794299095869064, 0.040452368557453156, 0.010320106521248817, -0.01889125071465969, -0.12044532597064972, 0.0853617787361145, 0.00805863831192255, 0.05270374193787575, 0.01838655024766922, -0.03561577573418617, 0.004226129502058029, 0.09291361272335052, 0.0202567670494318, -0.032038602977991104, -0.028176719322800636, 0.049125127494335175, 0.03118499368429184, -0.0510982908308506, -0.005698144901543856, 0.03437938913702965, 0.052600666880607605, -0.006959495600312948, -0.05762328952550888, -0.038119278848171234, 0.047045476734638214, -0.032800719141960144, -0.011126574128866196, 0.013539711944758892, 0.011373455636203289, 0.013705499470233917, 0.04794754832983017, 0.0380377434194088, 0.044574446976184845, -0.0011151825310662389, 0.05486362427473068, 0.011327176354825497, -0.09146363288164139, -0.0011113104410469532, -0.007887732237577438, 0.0012531529646366835, -0.029999639838933945, 0.4107513427734375, -0.03220023587346077, -0.03466415777802467, 0.036053016781806946, 0.02493887208402157, -0.042607199400663376, 0.00411056587472558, 0.03290380910038948, -0.044195178896188736, -0.005020119249820709, -0.05648326501250267, -0.04705866053700447, -0.005616019945591688, 0.043453413993120193, -0.05728227272629738, -0.012260542251169682, 0.020707949995994568, 0.027254270389676094, 0.007539799436926842, -0.0061480640433728695, 0.004915969911962748, 0.017362305894494057, -0.010138530284166336, 0.012861622497439384, 0.041890550404787064, 0.01162456814199686, -0.01769045554101467, -0.0021932630334049463, 0.04980021342635155, 0.039371587336063385, 0.03616463392972946, 0.05750352889299393, -0.03358239680528641, -0.09834954887628555, -0.019874531775712967, 0.0054208869114518166, 0.01956367865204811, 0.037993382662534714, -0.03874193876981735, 0.03342746943235397, 0.0024419415276497602, 0.019507447257637978, 0.007528969086706638, 0.012789507396519184, -0.03667159005999565, -0.05478167161345482, 0.1365320235490799, -0.03646897152066231, -0.013460689224302769, -0.04234706237912178, -0.041863057762384415, 0.0061285775154829025, 0.034968115389347076, -0.001972877886146307, -0.03353444114327431, 0.03353424742817879, 0.011613938957452774, 0.07389052212238312, -0.028469601646065712, -0.031651608645915985, -0.02591974101960659, -0.07067867368459702, 0.004802599549293518, -0.03883893042802811, 0.02670888416469097, 0.018298868089914322, -0.05878596380352974, -0.023767799139022827, -0.019900748506188393, 0.005753644742071629, -0.05494323745369911, -0.003992621786892414, 0.026980651542544365, -0.03183542564511299, 0.010384338907897472, 0.04922293871641159, 0.013794541358947754, -0.044672198593616486, -0.028611348941922188, 0.04045538604259491, 0.03323584049940109, -0.011333840899169445, 0.02610952779650688, -0.06795404106378555, 0.010893753729760647, -0.011869445443153381, -0.08971206843852997, -0.06747973710298538, -0.008170846849679947, -0.021267883479595184, -0.003916964866220951, -0.02593732438981533, -0.04114147648215294, -0.026205940172076225, 0.08954272419214249, -0.05267263576388359, -0.023129472509026527, 0.04208788648247719, -0.004767379257827997, 0.035863421857357025, -0.012948867864906788, 0.03727233409881592, 0.05736833065748215, 0.01794443093240261, 0.020403772592544556, -0.036160439252853394, 0.0023631849326193333, 0.020776113495230675, -0.07330052554607391, 0.03405841067433357, 0.00923481397330761, -0.057858165353536606, -0.001981245120987296, -0.026142820715904236, 0.013791264034807682, -0.005681498907506466, -0.04932507500052452, 0.0060459584929049015, 0.02286306954920292, 0.011525828391313553, -0.0014149319613352418, -0.04725773259997368, -0.050087906420230865, 0.018359661102294922, -0.3415418863296509, -0.02747691236436367, -0.013406342826783657, -0.03879953548312187, 0.008194816298782825, -0.05256400629878044, 0.0033227340318262577, -0.003743945388123393, -0.056031081825494766, 0.003516922937706113, 0.018751006573438644, -0.02024693414568901, -0.007397819310426712, -0.05850799381732941, 0.0040979040786623955, 0.007888567633926868, -0.022719528526067734, -0.0718475878238678, -0.028778141364455223, 0.014369769021868706, 0.014229904860258102, 0.023670682683587074, -0.023931166157126427, -0.07387299090623856, 0.010348898358643055, -0.04356031119823456, 0.08963693678379059, -0.04193760082125664, 0.09472356736660004, -0.004626083187758923, 0.06518452614545822, -0.013856528326869011, 0.0029274900443851948, -0.05444086715579033, -0.009368832223117352, -0.018204456195235252, -0.01484695728868246, -0.015372338704764843, 0.054974623024463654, -0.0036819512024521828, -0.016981100663542747, 0.024880222976207733, -0.07595202326774597, -0.05361473560333252, -0.012402125634253025, -0.0035805110819637775, -0.012433530762791634, -0.0300605408847332, 0.01815810240805149, 0.08965622633695602, -0.025069892406463623, -0.0038086569402366877, 0.008352898061275482, 0.012104354798793793, 0.011270553804934025, -0.01107088290154934, -0.04451778903603554, -0.008004973642528057, -0.01684277504682541, 0.004522685427218676, 0.026184555143117905, 0.05161961540579796, 0.0404251404106617, -0.01898357830941677, 0.01659771427512169, 0.014939061366021633, -0.0005069911130703986, -0.031843092292547226, 0.029727503657341003, -0.048400383442640305, -0.04421205073595047, 0.05922428518533707, -0.015722637996077538, -0.009543359279632568, 0.05069157853722572, 0.05801309645175934, -0.031924307346343994, 0.031463757157325745, 0.009783267974853516, -0.015899231657385826, 0.023831147700548172, 0.030507661402225494, 0.04191878065466881, -0.004304207861423492, 0.003995667211711407, 0.01817108318209648, -0.007555377669632435, 0.012204082682728767, 0.02536907233297825, -0.03078519180417061, -0.02316286228597164, -0.006551398430019617, 0.0030570514500141144, -0.04178648814558983, 0.0530107319355011, -0.010160449892282486, -0.25728142261505127, -0.012027396820485592, 0.10422881692647934, 0.043767910450696945, -0.009961485862731934, 0.029430167749524117, 0.0525139644742012, -0.06985045969486237, 0.01124519482254982, 0.0014798393240198493, 0.03219209983944893, 0.037961240857839584, 0.0056055402383208275, 0.0326511450111866, 0.035694241523742676, -0.034204427152872086, 0.023346304893493652, -0.012156330980360508, 0.03794645518064499, -0.015881337225437164, 0.037333931773900986, 0.012757908552885056, 0.199896901845932, 0.003388694254681468, 0.05167180299758911, -0.01341318804770708, 0.03202354535460472, 0.015012457966804504, 0.08312100917100906, 0.018813036382198334, 0.045162420719861984, -0.010828530415892601, 0.10284823179244995, 0.017551761120557785, 0.04599805176258087, -0.09821347892284393, -0.016185050830245018, 0.05318198353052139, 0.020679043605923653, -0.010125753469765186, -0.05288702994585037, 0.008983510546386242, -0.06716667860746384, 0.0022360901348292828, 0.10939207673072815, 0.016672782599925995, -0.032736800611019135, -0.04378081485629082, -0.036369688808918, 0.018786944448947906, -0.04542157053947449, -0.0028279717080295086, 0.028292139992117882, -0.06753078103065491, 0.00852278247475624, 0.03831430897116661, 0.0038362417835742235, -0.03675038367509842, -0.03517254814505577, 0.04883629456162453, 0.02536238729953766, 0.008137812837958336, 0.08676763623952866, 0.009516287595033646, 0.030938029289245605 ]
[ -0.018158337101340294, 0.03848091885447502, -0.030023809522390366, 0.024079080671072006, -0.023865491151809692, 0.022176546975970268, 0.016152072697877884, 0.01920359767973423, -0.009501421824097633, -0.005367375444620848, -0.019154679030179977, -0.026783395558595657, 0.007832820527255535, -0.025028344243764877, 0.035173606127500534, 0.004024747293442488, -0.0035458228085190058, -0.011128908023238182, 0.020189516246318817, 0.0038060506340116262, 0.004592770244926214, 0.041768137365579605, 0.01646030880510807, -0.015759535133838654, -0.041731927543878555, 0.020144419744610786, -0.0073164356872439384, -0.028156206011772156, 0.01613394170999527, -0.1333678513765335, -0.02169819176197052, -0.0009523315820842981, -0.030769171193242073, 0.012306837365031242, -0.012480897828936577, -0.006340443156659603, 0.025324419140815735, 0.01831924542784691, 0.010024964809417725, -0.017851270735263824, -0.036731187254190445, 0.04010612890124321, -0.020570270717144012, -0.025401335209608078, 0.008086257614195347, -0.00027929397765547037, -0.0060089328326284885, -0.0020300354808568954, -0.0008208041545003653, 0.0005316177266649902, -0.03530704975128174, 0.0017367685213685036, 0.00031232472974807024, 0.02029464766383171, 0.03403002768754959, -0.017477093264460564, -0.0017354891169816256, -0.022837571799755096, 0.008504576049745083, -0.006900922395288944, -0.00920430663973093, -0.03546568751335144, -0.016590682789683342, -0.016232609748840332, 0.02604081481695175, -0.011898591183125973, 0.00491228187456727, -0.01469192374497652, -0.0009434014791622758, -0.029023990035057068, -0.04548100754618645, 0.023485416546463966, -0.007472408469766378, -0.023326419293880463, 0.019129930064082146, -0.01456922385841608, 0.03072890266776085, -0.02286401018500328, 0.016668539494276047, -0.023668240755796432, -0.019280919805169106, 0.002971390727907419, -0.00245879078283906, -0.005274403840303421, 0.03207279369235039, -0.02264808677136898, -0.01968919113278389, -0.01345157716423273, 0.021852226927876472, 0.02940639667212963, -0.029976313933730125, 0.02141641452908516, 0.022687232121825218, -0.004306726157665253, -0.06573063135147095, 0.027685297653079033, 0.0050401813350617886, -0.014941315166652203, -0.01021803729236126, 0.8484994173049927, -0.0029512413311749697, 0.062298621982336044, 0.041740428656339645, -0.02959984913468361, -0.0012736270437017083, -0.025740517303347588, -0.005900486838072538, 0.008531058207154274, 0.024285491555929184, -0.06245046481490135, 0.01738353818655014, 0.015531451441347599, 0.03854745998978615, -0.004687326028943062, -0.016892602667212486, 0.03281852975487709, 0.03272829204797745, 0.001483635394833982, -0.012300297617912292, 0.0025392109528183937, 0.01628236658871174, -0.014305023476481438, 0.012804611586034298, 0.002952647628262639, 0.026408052071928978, -0.1835535615682602, -0.016057880595326424, -8.729451005288687e-33, 0.053416039794683456, -0.007734041661024094, 0.016051851212978363, 0.0055740149691700935, 0.0002901145489886403, -0.03251049295067787, 0.02071739360690117, 0.01420969795435667, 0.0167593564838171, -0.04798548296093941, 0.036954935640096664, -0.03545122221112251, 0.006583161652088165, -0.012041809037327766, 0.05232209339737892, -0.03180454298853874, -0.00016318664711434394, 0.01219317689538002, 0.03158881887793541, -0.014631770551204681, 0.00102214643266052, 0.051490768790245056, 0.060387611389160156, -0.037740640342235565, 0.0038761270698159933, 0.0400853306055069, 0.016329266130924225, 0.022369034588336945, -0.03805650770664215, -0.03411244601011276, 0.0043940762989223, 0.0255372803658247, -0.01965484954416752, -0.002473833505064249, 0.05066012591123581, -0.013333934359252453, -0.004154291935265064, -0.005410515237599611, 0.0038317861035466194, -0.04811360687017441, -0.029879746958613396, 0.013134785927832127, -0.010351660661399364, 0.049454547464847565, -0.020264828577637672, -0.05160382762551308, -0.013829823583364487, 0.004819788038730621, 0.034931622445583344, 0.060854438692331314, 0.009884549304842949, 0.0264003686606884, -0.0009743383852764964, -0.022187763825058937, -0.01658792980015278, 0.020558681339025497, -0.025139622390270233, -0.010991357266902924, 0.005432619247585535, 0.042681772261857986, 0.008571750484406948, 0.009718652814626694, -0.024198368191719055, 0.04034986346960068, -0.01790645904839039, -0.03265274688601494, 0.01914580538868904, -0.0003790690388996154, 0.027292560786008835, -0.021403208374977112, -0.026636069640517235, 0.02265494130551815, 0.001500740647315979, -0.029894733801484108, -0.010637599974870682, -0.0170595720410347, -0.015565385110676289, -0.019337547942996025, 0.00730939581990242, 0.008437673561275005, 0.03337077051401138, -0.014599441550672054, -0.007978210225701332, 0.018006987869739532, -0.009182638488709927, 0.0006382561405189335, 0.023616129532456398, 0.0015759952366352081, 0.011763622052967548, -0.02198779210448265, 0.028388379141688347, 0.03835025802254677, -0.006390814203768969, -0.027180200442671776, 0.008435283787548542, 7.961634993062862e-33, 0.01003844104707241, -0.028359901160001755, -0.009844002313911915, 0.017513135448098183, 0.006617821287363768, -0.02249700389802456, 0.0041015977039933205, -0.006345187779515982, -0.048711858689785004, 0.013111009262502193, -0.011293378658592701, 0.02833714336156845, -0.02654663659632206, 0.007310061249881983, 0.06152962148189545, -0.025855164974927902, 0.00735177006572485, -0.01726156659424305, 0.015540660358965397, -0.013473442755639553, 0.015565241686999798, -0.00039191346149891615, 0.03115713782608509, 0.0022563734091818333, -0.01011584047228098, 0.03627614304423332, -0.05396536365151405, -0.010838162153959274, 0.005919717252254486, 0.03143198415637016, 0.007628473453223705, 0.013774611055850983, 0.0052231429144740105, -0.0433073490858078, -0.010890839621424675, -0.0069806999526917934, -0.00898344349116087, 0.004398212302476168, 0.04950276389718056, 0.024298489093780518, 0.025081295520067215, -0.01600334793329239, 0.007917607203125954, -0.011934281326830387, 0.02476811222732067, -0.009770406410098076, -0.027964815497398376, -0.010706664994359016, 0.005847031716257334, 0.03134806826710701, 0.027381913736462593, 0.008806287311017513, -0.0353279709815979, 0.006170932203531265, 0.014688828028738499, -0.0016068433178588748, -0.04443329945206642, -0.034997694194316864, -0.01937834732234478, -0.009132076054811478, -0.019349360838532448, 0.028356453403830528, -0.020128440111875534, -0.00414160406216979, 0.0001303871686104685, 0.003187581431120634, -0.03471752628684044, -0.05817621573805809, -0.009635438211262226, -0.0017215844709426165, -0.021593255922198296, -0.004109565634280443, -0.028693435713648796, 0.007126556243747473, -0.021212179213762283, -0.03332510590553284, -0.00945005938410759, 0.005105943419039249, 0.012651468627154827, 0.02420264109969139, 0.013212356716394424, -0.015435452573001385, 0.03375636786222458, 0.0008607535855844617, -0.01717226952314377, -0.0012878415873274207, -0.01483248919248581, -0.014746399596333504, -0.008903463371098042, -0.02694077230989933, -0.017303669825196266, -0.022666798904538155, 0.0006236222106963396, 0.014485463500022888, -0.0035680111031979322, -1.3557083455850716e-8, -0.06547319889068604, 0.029926292598247528, -0.01911003515124321, 0.023696159943938255, 0.040963198989629745, 0.016454722732305527, -0.0647803544998169, -0.05706240236759186, 0.013510813936591148, 0.00595793966203928, 0.022042889147996902, 0.0215253047645092, 0.032853953540325165, 0.010443279519677162, 0.027103696018457413, -0.051991574466228485, -0.011201190762221813, -0.011153102852404118, 0.008770684711635113, 0.03692465275526047, -0.006219693925231695, 0.04273485019803047, -0.011326014064252377, -0.013263508677482605, 0.02307865023612976, -0.011849679984152317, 0.014196020551025867, -0.060413360595703125, 0.008710778318345547, 0.04482453688979149, 0.0020384653471410275, -0.025971047580242157, -0.026390159502625465, -0.013611456379294395, -0.03065807744860649, -0.045286744832992554, 0.0010487651452422142, 0.004338923841714859, 0.020326895639300346, 0.00932453852146864, -0.001729843788780272, -0.013281378895044327, 0.004666576161980629, -0.004308547358959913, -0.0007242463761940598, -0.04005170613527298, -0.001977392705157399, -0.0023309902753680944, 0.021087633445858955, -0.009083893150091171, 0.00931969191879034, 0.014644339680671692, 0.03367877006530762, 0.013832911849021912, 0.033368561416864395, 0.04462144151329994, 0.021730929613113403, -0.0238227229565382, -0.018679512664675713, 0.022402238100767136, 0.05144103243947029, -0.0016211334150284529, -0.053283363580703735, -0.0015877210535109043 ]
c-refactoring-to-functional-collection-parameters
https://markhneedham.com/blog/2009/02/03/c-refactoring-to-functional-collection-parameters
false
2009-02-04 17:52:03
C#: Public fields vs automatic properties
[ "c", "net" ]
[ ".NET" ]
An interesting new feature in C# 3.0 is that of http://msdn.microsoft.com/en-us/library/bb384054.aspx[automatic properties] on objects - this allows us to define a get/set property and the creation of the underlying field is taken care off for us. We can therefore create a class like this: [source,csharp] ---- public class Foo { public string Bar { get; set; } } ---- Now ignoring the fact that it's terrible OO to write a class like that, one thing that we've been wondering is what's the difference between doing the above and just creating a public field on Foo called Bar like so: [source,csharp] ---- public class Foo { public string Bar; } ---- In terms of how we use the class in our code it's conceptually the same but there are a couple of subtle differences. We can change our implementation more easily if we use the automated properties. If we decide that we want to do something else apart from just setting a field or returning it then we can do that more easily without having to recompile assemblies that depend on that class. If we decided we only wanted the getter to be public but to have a private setter that would be an easier change using automated properties, and if we want to reflect on the class I find it's much easier to do that when we have properties rather than fields. That's all I can think of at least. Are there any other differences?
null
null
[ 0.022846030071377754, -0.017243167385458946, 0.0004009394906461239, 0.027825774624943733, 0.06956584751605988, -0.007142886985093355, 0.014760392718017101, 0.026112159714102745, -0.006944647058844566, -0.017306365072727203, -0.04058408364653587, 0.007784774526953697, -0.07859832048416138, 0.042228374630212784, -0.017128247767686844, 0.06138801947236061, 0.08790852129459381, -0.025582371279597282, 0.0007452981662936509, 0.0023024941328912973, -0.007350806146860123, 0.07568439096212387, -0.03318382054567337, 0.03718404099345207, 0.029048824682831764, 0.047284651547670364, -0.012361505068838596, -0.0028173387981951237, -0.043393343687057495, -0.01321443822234869, 0.03018118254840374, 0.012542861513793468, -0.00982147641479969, -0.007289428263902664, 0.012776404619216919, -0.0400255061686039, -0.014345322735607624, -0.017425106838345528, -0.004559468477964401, 0.019429732114076614, -0.07003434747457504, 0.016438299790024757, 0.00925395730882883, 0.003789182286709547, -0.03977570682764053, -0.00840987078845501, -0.05616050586104393, -0.015020630322396755, -0.06412789225578308, -0.01182534173130989, -0.05570583418011665, 0.02013939805328846, -0.05263815447688103, 0.008991880342364311, 0.013458442874252796, 0.04658878967165947, 0.007202254142612219, -0.07425083220005035, 0.03041338548064232, -0.05544770136475563, 0.018695726990699768, -0.00435546413064003, -0.0002775058674160391, 0.018379462882876396, 0.016994940117001534, 0.001478572958149016, -0.01952696405351162, 0.026238471269607544, -0.030270326882600784, -0.005679733585566282, -0.008604555390775204, 0.0038780076429247856, -0.010778354480862617, -0.018827417865395546, 0.01254991628229618, -0.019446533173322678, -0.014803207479417324, 0.039115119725465775, 0.03265654668211937, 0.05540142580866814, -0.0077904462814331055, 0.032283492386341095, 0.03290038928389549, -0.02048356831073761, 0.011629626154899597, -0.023716257885098457, -0.03594160079956055, 0.028617097064852715, -0.013020972721278667, 0.05887020379304886, 0.020175287500023842, -0.012720422819256783, -0.006705818232148886, 0.02983594499528408, 0.012112079188227654, 0.015615278854966164, -0.0030050016939640045, -0.034901052713394165, -0.010780000127851963, -0.008240842260420322, -0.03947751596570015, -0.01614113338291645, 0.038265541195869446, 0.009489047341048717, -0.06548377871513367, 0.008203311823308468, -0.036119963973760605, -0.014717793092131615, 0.0027304503601044416, 0.024834290146827698, -0.050614118576049805, 0.01037407387048006, -0.028658995404839516, -0.005996015854179859, -0.06693173199892044, 0.013936752453446388, 0.022479992359876633, 0.019871992990374565, 0.024752313271164894, 0.03271675482392311, 0.027289004996418953, 0.009387556463479996, -0.02468268945813179, 0.07265442609786987, -0.0017207316122949123, 0.012243959121406078, -0.03272451460361481, 0.06385466456413269, -0.0026214933022856712, -0.11108580231666565, -0.00945224892348051, 0.03074675239622593, -0.022609686478972435, 0.01036496926099062, 0.014399907551705837, -0.007148686330765486, 0.01396042387932539, 0.013671831227838993, 0.045860305428504944, 0.04671318084001541, -0.033552005887031555, -0.05158239230513573, 0.03211049363017082, 0.0032526860013604164, -0.01381973922252655, 0.010324705392122269, -0.006393800489604473, -0.018051499500870705, -0.014008508995175362, 0.06272696703672409, 0.03410306200385094, 0.07784080505371094, 0.05978643521666527, -0.03623875975608826, -0.00031745381420478225, 0.06002645939588547, -0.012028811499476433, 0.03486620634794235, 0.004611493553966284, 0.0013790344819426537, 0.041970230638980865, 0.037855662405490875, 0.027983713895082474, 0.0324714332818985, 0.02877083234488964, -0.01303120981901884, 0.007747409865260124, 0.05608624219894409, -0.001986951334401965, -0.02670171856880188, -0.0664040818810463, -0.04180927202105522, 0.0307668074965477, -0.06066201254725456, -0.00019559019710868597, 0.04415106028318405, 0.06545383483171463, 0.014111279509961605, 0.07777459174394608, 0.003597225993871689, -0.07750485837459564, 0.02387821488082409, -0.009964303113520145, -0.011985957622528076, 0.01886819116771221, 0.012503936886787415, 0.053149741142988205, 0.03653978928923607, 0.020528975874185562, 0.008070714771747589, -0.05502891167998314, -0.07232480496168137, -0.029609166085720062, -0.0021923293825238943, 0.05859622359275818, -0.03718554973602295, -0.01794598251581192, 0.09311316907405853, 0.009641015902161598, 0.07011532783508301, 0.029924359172582626, -0.028497546911239624, 0.0007976584020070732, -0.017506888136267662, -0.028134595602750778, -0.001130250166170299, 0.013204445131123066, 0.011329530738294125, -0.052316851913928986, -0.01631510630249977, -0.002845253562554717, -0.00815384741872549, 0.07466238737106323, -0.014538534916937351, 0.048137594014406204, 0.023731281980872154, 0.025307370349764824, -0.03980794921517372, 0.04594682529568672, -0.08158530294895172, 0.009060676209628582, -0.013676198199391365, 0.0005072849453426898, -0.006708790548145771, -0.005832842085510492, 0.13365347683429718, 0.06426886469125748, -0.03742199391126633, -0.03359176963567734, 0.008007972501218319, 0.023349450901150703, -0.0495578795671463, -0.009273823350667953, -0.019742976874113083, 0.011440709233283997, 0.008719968609511852, -0.05021291226148605, -0.006897842511534691, -0.008208115585148335, -0.02364913560450077, 0.02882969193160534, 0.056190431118011475, -0.024420052766799927, 0.06042465195059776, 0.0032272725366055965, -0.028848696500062943, 0.01468537375330925, -0.020086659118533134, -0.06760893762111664, 0.018757030367851257, 0.002030841773375869, -0.011400531977415085, 0.060573749244213104, -0.006308586802333593, -0.034402742981910706, -0.008317764848470688, -0.03149610757827759, 0.007179299369454384, 0.008177582174539566, 0.04776739329099655, -0.00868120975792408, 0.04460296779870987, -0.018518464639782906, -0.012124216184020042, 0.0012042567832395434, -0.04786482825875282, 0.02835901267826557, 0.005345448851585388, 0.02532987669110298, 0.020371465012431145, -0.014256718568503857, 0.016396092250943184, 0.02614511549472809, 0.0006275332998484373, -0.012692880816757679, -0.003019119845703244, 0.04507928341627121, -0.015718774870038033, -0.032613616436719894, -0.06398240476846695, -0.04354522004723549, 0.021578697487711906, -0.03512480482459068, -0.049788571894168854, -0.0025511113926768303, -0.07956229150295258, 0.03371023014187813, -0.09529149532318115, -0.07212423533201218, -0.016673970967531204, 0.009650621563196182, 0.019693586975336075, -0.0019831564277410507, 0.04403224214911461, 0.08556045591831207, 0.02839990146458149, 0.009923816658556461, 0.0005317000905051827, 0.004258093424141407, 0.02171880565583706, -0.030362507328391075, 0.007836523465812206, 0.04138193279504776, -0.012270133942365646, 0.011896868236362934, -0.056454531848430634, 0.024819117039442062, 0.015278598293662071, -0.25349128246307373, 0.034436602145433426, -0.010689879767596722, -0.05777598172426224, 0.027221189811825752, -0.014654882252216339, 0.01641491800546646, -0.05304089933633804, -0.0072588627226650715, 0.04629503935575485, -0.027102701365947723, -0.06944260001182556, -0.015557559207081795, 0.06879737973213196, 0.004049314651638269, 0.0041949148289859295, -0.0008897926891222596, -0.04488477110862732, -0.00920048262923956, 0.0681949257850647, -0.02263471484184265, -0.05599823594093323, 0.004477441310882568, 0.03201868385076523, 0.03843580558896065, 0.043969906866550446, -0.09242187440395355, 0.02519395388662815, -0.04820437729358673, 0.000783157127443701, -0.00469473609700799, 0.015808697789907455, 0.010753295384347439, -0.0167224183678627, -0.03287363424897194, -0.03565460443496704, 0.008112158626317978, 0.032729100435972214, -0.02577844262123108, 0.013249464333057404, -0.05170537158846855, -0.044555701315402985, -0.021060803905129433, 0.0075668711215257645, 0.08268149197101593, -0.007867736741900444, -0.0693328008055687, -0.01898551732301712, -0.07589641958475113, 0.07268191128969193, -0.04320957139134407, -0.03188758343458176, 0.016219818964600563, 0.026674406602978706, -0.017179595306515694, -0.019366934895515442, 0.020563539117574692, 0.012426143512129784, -0.05317229777574539, -0.043442245572805405, 0.00564710795879364, -0.031764354556798935, -0.005823476240038872, -0.049153465777635574, 0.006881637964397669, -0.05981462448835373, -0.0514923557639122, -0.0014942237176001072, 0.07406837493181229, 0.03652618080377579, -0.018767068162560463, 0.001526061911135912, 0.014846611768007278, -0.10052961856126785, 0.013682731427252293, -0.036104366183280945, -0.03257701173424721, -0.055345118045806885, -0.003965257201343775, 0.054678019136190414, -0.006392330396920443, -0.038190748542547226, 0.04164072871208191, 0.03626023977994919, -0.013802648521959782, 0.017047306522727013, 0.05466818809509277, -0.013599162921309471, -0.022836046293377876, -0.0010922267101705074, 0.08306603878736496, 0.002213407540693879, 0.01240701973438263, -0.05346016213297844, 0.00253419391810894, 0.024893909692764282, 0.019773611798882484, -0.022812632843852043, 0.03241749480366707, 0.006178068928420544, 0.06265483051538467, -0.05121903494000435, 0.01854938082396984, -0.008037268184125423, -0.003926045726984739, -0.033031679689884186, -0.06133975833654404, 0.024613143876194954, 0.04531523957848549, 0.0007004971848800778, -0.005351533647626638, -0.019426798447966576, 0.01760307140648365, -0.05566594377160072, -0.011996102519333363, -0.03530973196029663, 0.013542800210416317, 0.025122540071606636, -0.015138735994696617, -0.019363727420568466, -0.046916086226701736, 0.03841298818588257, 0.020810943096876144, -0.017674218863248825, -0.08521515130996704, -0.03573903068900108, -0.008144328370690346, -0.004161279648542404, -0.008339162915945053, 0.014130943454802036, -0.019722599536180496, 0.034262217581272125, 0.011878184974193573, -0.05407083034515381, 0.002112302929162979, 0.040624890476465225, -0.006058113649487495, -0.03892204165458679, -0.024999909102916718, -0.0018078592838719487, -0.0067983269691467285, -0.009749291464686394, 0.020761726424098015, 0.024486839771270752, 0.053061097860336304, -0.00015084892220329493, 0.047574687749147415, 0.04395800083875656, 0.0042331465519964695, 0.009413748048245907, 0.015871122479438782, -0.08609599620103836, 0.023125706240534782, -0.03285150229930878, -0.026457248255610466, -0.05355881527066231, 0.016559453681111336, -0.02596939541399479, -0.01707228645682335, -0.02264929749071598, 0.04547097533941269, -0.049629636108875275, -0.043106358498334885, -0.033467069268226624, 0.005949981510639191, 0.056190162897109985, -0.01679787039756775, 0.04139586165547371, -0.038584478199481964, -0.007965012453496456, 0.0232837051153183, 0.007409396581351757, -0.04087791591882706, 0.02001993916928768, -0.0010406875517219305, -0.015843989327549934, 0.024425575509667397, 0.023397527635097504, 0.04232040047645569, 0.008920513093471527, 0.030168207362294197, -0.005573943257331848, -0.003453727113083005, -0.012834969907999039, 0.04755423590540886, 0.01966976746916771, -0.004725724458694458, -0.016083750873804092, -0.0074783675372600555, -0.0036782841198146343, -0.023988137021660805, -0.015612560324370861, -0.04089297354221344, 0.04537596553564072, -0.03988152742385864, -0.0662781149148941, 0.005651578307151794, 0.010097007267177105, 0.032716959714889526, -0.0028565158136188984, 0.009754333645105362, 0.009938006289303303, -0.016465606167912483, 0.010594961233437061, 0.056049197912216187, -0.034519508481025696, 0.036123063415288925, 0.024971233680844307, 0.0042314231395721436, 0.040520504117012024, 0.027190038934350014, -0.025392983108758926, -0.012219192460179329, -0.01597459241747856, -0.017855340614914894, -0.04380524158477783, -0.02330894023180008, -0.02367919683456421, -0.004729290492832661, -0.010870549827814102, 0.0013278619153425097, -0.016171231865882874, 0.019681185483932495, -0.007132341153919697, -0.024174638092517853, 0.018999407067894936, -0.036814410239458084, 0.016967114061117172, 0.02724764682352543, -0.029288487508893013, 0.01999654434621334, 0.00032352653215639293, 0.026137452572584152, 0.013928554020822048, -0.023620186373591423, -0.05011302977800369, -0.0697886273264885, 0.02436976134777069, -0.008675217628479004, 0.07595279812812805, 0.011725962162017822, -0.013978945091366768, -0.017617441713809967, -0.03898823633790016, -0.028165586292743683, -0.008525178767740726, -0.012012765742838383, -0.029655899852514267, 0.02824598178267479, 0.035081274807453156, 0.007892854511737823, 0.012240596115589142, 0.00967959500849247, -0.005641141906380653, 0.05940130725502968, -0.06900467723608017, -0.022735262289643288, 0.0012526316568255424, -0.06713943183422089, 0.01515940297394991, 0.021883755922317505, 0.03408251702785492, -0.04548582434654236, 0.037448834627866745, 0.05276846885681152, 0.007126501761376858, 0.020705871284008026, 0.005440383218228817, 0.04204300045967102, -0.02998264692723751, 0.02053661271929741, -0.053800616413354874, 0.03516080603003502, 0.030299285426735878, 0.0376422144472599, -0.03698417916893959, -0.02894405648112297, -0.019182592630386353, 0.029997870326042175, -0.07484976202249527, -0.027185458689928055, 0.047486837953329086, 0.031906191259622574, -0.005769732408225536, -0.008939200080931187, -0.05294648930430412, 0.04757392033934593, 0.026191819459199905, -0.03565399348735809, -0.035306721925735474, -0.026222558692097664, 0.0356244295835495, 0.025404585525393486, 0.03086995519697666, -0.045610684901475906, 0.0006633827579207718, 0.06609300523996353, 0.02443656511604786, 0.04753503203392029, 0.06287296116352081, -0.05120847746729851, 0.028892384842038155, 0.023241691291332245, -0.026415830478072166, 0.008155206218361855, -0.015182692557573318, 0.01742578111588955, -0.0628868043422699, -0.002806541509926319, 0.014433474279940128, -0.03724478557705879, -0.07684046030044556, 0.05505943298339844, 0.015822898596525192, -0.029200026765465736, -0.039222147315740585, 0.028645653277635574, -0.021024074405431747, -0.027795905247330666, -0.01668182760477066, 0.005870121065527201, -0.03584868088364601, 0.06406540423631668, 0.01007168646901846, -0.03256289288401604, 0.0737285390496254, -0.015174081549048424, -0.003951527178287506, -0.00040345609886571765, 0.07116333395242691, 0.08230143040418625, 0.050940558314323425, -0.021736685186624527, 0.0587489940226078, -0.027841228991746902, -0.06603819876909256, 0.042763564735651016, -0.035993319004774094, -0.002022456843405962, -0.026053357869386673, 0.042395252734422684, 0.05677960440516472, 0.009614798240363598, 0.027139363810420036, -0.05537392571568489, -0.005672388710081577, -0.003377349814400077, 0.022770339623093605, 0.00703041348606348, 0.02354123443365097, 0.02714644931256771, 0.0020736921578645706, 0.024881726130843163, -0.03390227630734444, 0.030291058123111725, -0.0012235331814736128, -0.015004690736532211, 0.019086770713329315, 0.00413944898173213, 0.011256990022957325, 0.013912646099925041, 0.044484786689281464, 0.08401205390691757, -0.010971974581480026, -0.018421491608023643, 0.023783382028341293, 0.019561583176255226, 0.010842004790902138, -0.023846248164772987, -0.018584582954645157, -0.012887908145785332, -0.0034947828389704227, -0.004309995099902153, -0.009503462351858616, -0.0066632176749408245, 0.0008924962603487074, 0.0530502013862133, 0.0003480980230960995, 0.030160224065184593, 0.0006457050913013518, 0.007855311967432499, -0.046830352395772934, -0.042205169796943665, -0.06421663612127304, -0.015224436298012733, -0.056210048496723175, -0.024495335295796394, 0.03915917128324509, -0.011636774986982346, -0.014709270559251308, -0.03129095584154129, -0.01600998267531395, 0.010270166210830212, 0.049654655158519745, -0.0268251895904541, -0.03348376601934433, 0.007759195752441883, 0.02372558042407036, 0.0424329936504364, 0.03323731571435928, 0.023732878267765045, -0.017103321850299835, -0.03668379411101341, -0.05564142018556595, -0.02411051094532013, 0.017960015684366226, -0.010996182449162006, 0.0009063417091965675, -0.06552494317293167, 0.04399485886096954, 0.005192568991333246, -0.03113958239555359, -0.0701332539319992, 0.0017026818823069334, 0.02825789526104927, -0.008478442206978798, 0.04931609705090523, -0.01828763820230961, -0.022003725171089172, -0.014394715428352356, -0.005249727051705122, 0.03433970361948013, 0.011542447842657566, 0.029721764847636223, -0.010682045482099056, 0.07307915389537811, 0.029093826189637184, -0.03995588421821594, -0.023544134572148323, -0.010570403188467026, -0.016419323161244392, 0.022865960374474525, -0.04270138591527939, -0.020336106419563293, -0.021333780139684677, -0.05895913764834404, -0.01992311328649521, 0.025161931291222572, -0.041043855249881744, -0.030462058261036873, -0.0074251554906368256, 0.04489646106958389, -0.04934237152338028, 0.042720187455415726, -0.02758520096540451, 0.0357963889837265, -0.027531098574399948, 0.0034610575530678034, 0.014715914614498615, -0.001151649164967239, -0.007121396716684103, 0.010173017159104347, 0.022047627717256546, -0.0033744440879672766, -0.03266442194581032, -0.03172549605369568, 0.032854896038770676, 0.04332127049565315, -0.030810697004199028, 0.033919356763362885 ]
[ -0.09227798134088516, -0.029030974954366684, -0.030527088791131973, -0.04293724149465561, 0.0257888063788414, -0.028338082134723663, 0.021524745970964432, -0.0041013555601239204, 0.004446426406502724, -0.008577917702496052, 0.013896052725613117, 0.0034571432042866945, -0.02183990739285946, -0.005838198121637106, 0.09037124365568161, 0.02326064370572567, -0.02934487722814083, -0.023174811154603958, -0.007970430888235569, 0.0579456090927124, 0.03277895599603653, -0.021760545670986176, -0.06055186316370964, -0.03134463354945183, 0.011305302381515503, 0.029839666560292244, 0.03145047649741173, -0.04316343739628792, 0.002545212861150503, -0.20027591288089752, 0.01776575669646263, -0.026393083855509758, 0.024647125974297523, -0.019587498158216476, 0.016170112416148186, -0.0030491442885249853, 0.004982395097613335, 0.03798277676105499, -0.01489878911525011, 0.047523509711027145, 0.022432761266827583, 0.04203084111213684, -0.04449319839477539, -0.024787990376353264, 0.03917047753930092, 0.0026830430142581463, 0.021618003025650978, -0.022342421114444733, -0.014696389436721802, 0.006667866371572018, -0.058640316128730774, -0.03762950375676155, -0.015888022258877754, 0.011068211868405342, -0.0017520930850878358, 0.021732639521360397, 0.02640916034579277, 0.04874351620674133, 0.025757690891623497, 0.005898225586861372, -0.0011252720141783357, -0.022699015215039253, -0.13079796731472015, 0.1219073235988617, 0.02309861220419407, 0.05980193614959717, 0.0058303410187363625, -0.01825852505862713, 0.01944582164287567, 0.06526289880275726, 0.04962651804089546, -0.0162267554551363, -0.02285698801279068, 0.04926590248942375, 0.007457101717591286, -0.03452007845044136, -0.0008369229035452008, 0.013117799535393715, 0.0366937629878521, -0.018076516687870026, -0.06426022201776505, -0.02841402031481266, 0.010579434223473072, 0.0006185741513036191, -0.057207219302654266, 0.03113875351846218, 0.010169555433094501, 0.005212474148720503, 0.05582870915532112, 0.037476103752851486, 0.01156745757907629, -0.023525964468717575, 0.04350534826517105, 0.01146832387894392, -0.07672914117574692, 0.014221515506505966, -0.0563291497528553, 0.009078051894903183, -0.030411407351493835, 0.42997977137565613, -0.02121564745903015, -0.04449573904275894, 0.0445588119328022, 0.020361965522170067, -0.004596750717610121, 0.024181576445698738, 0.004985665902495384, -0.03348205238580704, -0.0050478605553507805, -0.04909161478281021, -0.0021793690975755453, 0.02084035985171795, 0.005966329015791416, -0.042004700750112534, -0.01269594021141529, 0.00043915119022130966, 0.021801456809043884, -0.0022375413682311773, 0.006328001152724028, -0.0042055388912558556, 0.016795139759778976, 0.005340920761227608, -0.016509708017110825, 0.051149629056453705, 0.018216727301478386, -0.06308478116989136, 0.01770937070250511, 0.049842849373817444, 0.0289873369038105, 0.02977663278579712, 0.040502749383449554, -0.05386090278625488, -0.09113706648349762, -0.040337007492780685, 0.03529716283082962, 0.0027085912879556417, 0.023923898115754128, -0.017653482034802437, 0.012989071197807789, -0.00428016996011138, -0.013586821034550667, -0.009391287341713905, 0.021247178316116333, -0.028091929852962494, -0.029504090547561646, 0.12276525050401688, -0.02443748153746128, -0.01154506579041481, -0.016811292618513107, -0.013645836152136326, 0.002859689760953188, 0.021730976179242134, -0.034329406917095184, -0.06357545405626297, 0.022076614201068878, 0.027635494247078896, 0.07531373202800751, -0.029596997424960136, -0.027461936697363853, -0.04273576661944389, -0.0328095369040966, 0.02754148654639721, -0.027330024167895317, 0.031446460634469986, 0.013894758187234402, -0.10306517034769058, -0.03848550468683243, 0.017147628590464592, 0.008922179229557514, -0.0626189187169075, -0.0244262907654047, 0.048373010009527206, -0.057419486343860626, -0.019375262781977654, 0.07234343141317368, 0.023335488513112068, -0.0626784935593605, -0.010391888208687305, 0.047785986214876175, 0.03053666651248932, -0.01641005463898182, 0.036858297884464264, -0.05618935450911522, -0.008531110361218452, -0.008477546274662018, -0.07599181681871414, -0.05127304792404175, 0.002647220389917493, -0.03688213229179382, -0.0004751155211124569, 0.005002822261303663, -0.009185192175209522, -0.0773908942937851, 0.07413192093372345, -0.049582816660404205, 0.01241263560950756, 0.04617175832390785, -0.002262394642457366, 0.03182845562696457, -0.007819917052984238, 0.012554654851555824, 0.06781778484582901, -0.007553449831902981, 0.043437667191028595, -0.04624883085489273, 0.059732597321271896, 0.04318951815366745, -0.041908103972673416, 0.04869191721081734, 0.03682771697640419, -0.05534237250685692, -0.03187866881489754, -0.02060738205909729, 0.006016954313963652, -0.018834205344319344, -0.03702234849333763, -0.006355449557304382, 0.02890072390437126, 0.012130789458751678, 0.0036049121990799904, -0.07803672552108765, -0.031437136232852936, -0.002408561995252967, -0.31978359818458557, -0.01710936240851879, -0.01452288031578064, -0.055711980909109116, 0.010922165587544441, -0.0660463273525238, 0.0026055853813886642, -0.023195210844278336, -0.02378087490797043, -0.008597899228334427, 0.08864610642194748, -0.03273474797606468, 0.022710753604769707, -0.050139617174863815, 0.010440865531563759, 0.023956667631864548, -0.04030628874897957, -0.04252071678638458, -0.056553084403276443, 0.018384702503681183, 0.003738870844244957, 0.025797538459300995, -0.024197321385145187, -0.058717694133520126, 0.022448472678661346, -0.04725376144051552, 0.08339723199605942, -0.034907300025224686, 0.11949153244495392, -0.007211961783468723, 0.05827390030026436, -0.004855041392147541, 0.0009430375066585839, -0.09575171768665314, -0.021845724433660507, -0.020787551999092102, -0.012832468375563622, 0.020915500819683075, 0.015173505060374737, -0.004091719165444374, -0.021370576694607735, 0.011138131842017174, -0.05334223061800003, -0.03865182027220726, -0.0015285323606804013, -0.02429726906120777, 0.004647414665669203, -0.011050283908843994, -0.004303325898945332, 0.09792032837867737, -0.010246675461530685, -0.017280427739024162, -0.002070012968033552, 0.03112444095313549, -0.010289035737514496, -0.017906391993165016, -0.05677429586648941, 0.010281164199113846, 0.014404213055968285, 0.01817186549305916, 0.07599051296710968, 0.059722982347011566, 0.019087882712483406, -0.0628678947687149, 0.0042833369225263596, 0.0051941461861133575, -0.023526310920715332, -0.026340054348111153, 0.025716660544276237, -0.06065265089273453, -0.04077263921499252, 0.08291283994913101, 0.0069764237850904465, 0.009652438573539257, 0.029434822499752045, 0.0388517864048481, 0.012146544642746449, 0.01543806865811348, 0.005560486111789942, 0.0014441083185374737, 0.011299801990389824, 0.02114587277173996, 0.01961446739733219, -0.03204493224620819, 0.029733626171946526, 0.04309482499957085, -0.027058646082878113, 0.003434346755966544, 0.014546986669301987, -0.023785021156072617, -0.032999515533447266, 0.0175715833902359, -0.015283098444342613, -0.06245590001344681, 0.08153064548969269, -0.03448518365621567, -0.27357640862464905, -0.009510410949587822, 0.10519646853208542, 0.07463434338569641, -0.00025222948170267045, 0.012108450755476952, 0.018005676567554474, -0.055551979690790176, 0.006535145454108715, -0.007803475949913263, 0.016897102817893028, 0.031373776495456696, -0.002659059129655361, -0.011127730831503868, 0.033094022423028946, -0.03270602598786354, 0.061735283583402634, -0.016619723290205002, 0.034026626497507095, 0.011949288658797741, 0.030873840674757957, 0.012028590776026249, 0.19937443733215332, 0.03596358001232147, 0.059617578983306885, 0.0005319552728906274, 0.025594528764486313, 0.0003786289016716182, 0.06473004817962646, 0.02446395717561245, 0.033882055431604385, -0.008442920632660389, 0.08873337507247925, 0.014020866714417934, 0.0381692536175251, -0.09830592572689056, 0.0017976484959945083, 0.04423869401216507, -0.007733529899269342, 0.0075390394777059555, -0.007797305937856436, 0.0030999116133898497, -0.08178746700286865, 0.01698877662420273, 0.05631415545940399, 0.020820636302232742, -0.0242365263402462, -0.03556258603930473, -0.04015820100903511, 0.006011574529111385, -0.05554511770606041, -0.008019656874239445, -0.006508809048682451, -0.02491258643567562, -0.007367717567831278, 0.05255061015486717, 0.017109964042901993, -0.015557528473436832, -0.00997249037027359, 0.03491499647498131, 0.024940336123108864, -0.003916237503290176, 0.05910508707165718, 0.03244279697537422, 0.0436895415186882 ]
[ 0.004719707649201155, 0.021396711468696594, -0.01851000264286995, 0.028800811618566513, -0.032090190798044205, 0.019935565069317818, 0.01142210140824318, -0.009093670174479485, 0.011624014936387539, 0.011741052381694317, -0.03607100620865822, -0.02258208952844143, 0.010900270193815231, -0.0474761426448822, 0.03728823736310005, 0.01981572061777115, 0.007429782301187515, -0.025922676548361778, -0.006738944444805384, 0.03559804707765579, -0.014993039891123772, 0.03672288730740547, -0.03689974546432495, -0.004069482441991568, 0.0000017639066527408431, -0.013333464972674847, -0.016894957050681114, -0.008988723158836365, 0.011819401755928993, -0.1268940418958664, -0.03406698256731033, -0.022477278485894203, 0.001394989318214357, 0.025856364518404007, -0.021297935396432877, -0.016004301607608795, 0.04628344625234604, 0.06287945061922073, -0.012903924100100994, 0.01735747419297695, -0.02726907841861248, 0.009324777871370316, 0.02021547220647335, 0.018807943910360336, 0.004246783442795277, 0.008668282069265842, 0.010420085862278938, -0.03391307219862938, 0.0004630106268450618, -0.040637481957674026, -0.02405705861747265, -0.013336662203073502, -0.0028033906128257513, 0.004328934010118246, 0.0070473672822117805, -0.009932353161275387, -0.013316015712916851, -0.007375193759799004, -0.003747914917767048, -0.025139113888144493, -0.04106856882572174, -0.034274518489837646, -0.006016027182340622, -0.02671865187585354, 0.04698009788990021, 0.005576275289058685, -0.004351036157459021, 0.028863420709967613, 0.01686638593673706, -0.02430148981511593, -0.016851462423801422, 0.028077472001314163, -0.011299225501716137, 0.017370987683534622, 0.010460169985890388, 0.03341517224907875, 0.013932749629020691, 0.013430002145469189, 0.05402971804141998, -0.020337330177426338, -0.03627271577715874, -0.00890683475881815, 0.0033472420182079077, 0.007720461115241051, 0.002992982277646661, 0.01248436700552702, -0.019648592919111252, 0.00399587070569396, -0.005658951587975025, 0.047751717269420624, -0.031711455434560776, 0.011169795878231525, -0.007736483588814735, 0.007907885126769543, -0.08350673317909241, 0.006487539503723383, -0.020922161638736725, -0.04890678822994232, 0.0071488358080387115, 0.8405511379241943, -0.0026495386846363544, 0.06968561559915543, 0.02743729203939438, 0.004151086322963238, 0.008560837246477604, -0.011225443333387375, 0.01612556166946888, 0.021037274971604347, 0.012376898899674416, -0.02967906929552555, 0.02959253080189228, -0.00038932531606405973, -0.007046959828585386, -0.036600496619939804, 0.017277881503105164, 0.06331467628479004, 0.011064108461141586, -0.009117953479290009, -0.01782642863690853, -0.022465791553258896, 0.009839581325650215, -0.005693785846233368, -0.01783551089465618, -0.021343106403946877, -0.012937545776367188, -0.16898444294929504, 0.00032819685293361545, -8.117309383362103e-33, 0.03074990026652813, 0.00007057084440020844, 0.004651596769690514, 0.00929858349263668, 0.02117329090833664, -0.017101699486374855, 0.00976548157632351, 0.025557398796081543, 0.028094390407204628, -0.04103116691112518, 0.0010959440842270851, -0.03320492431521416, 0.023598961532115936, -0.033220067620277405, 0.06435131281614304, -0.03268001228570938, -0.015185591764748096, 0.009270395152270794, -0.004536023363471031, -0.02102532982826233, 0.02123113162815571, 0.0375874899327755, 0.032555751502513885, -0.013744759373366833, 0.015495468862354755, 0.020327609032392502, 0.0217572208493948, 0.008284027688205242, -0.03611811250448227, -0.04639824852347374, 0.006203275173902512, 0.04856330156326294, 0.0041478481143713, -0.012466096319258213, 0.04021938145160675, -0.04495869576931, -0.005000812467187643, 0.0027418695390224457, 0.024378594011068344, -0.02014058083295822, 0.00024863932048901916, -0.032540228217840195, -0.01818772591650486, 0.015535491518676281, -0.03750738874077797, -0.04202010855078697, 0.003022950841113925, -0.018880411982536316, 0.015650248154997826, 0.032724812626838684, 0.027611050754785538, 0.044799257069826126, -0.01993054337799549, 0.016735123470425606, 0.0005378698115237057, 0.025379061698913574, -0.04399402439594269, -0.0043690381571650505, 0.02278643473982811, -0.02289731428027153, 0.023534948006272316, 0.013210039585828781, -0.007246727589517832, 0.0092668067663908, -0.011994702741503716, -0.0016686076996847987, 0.011223266832530499, 0.007845680229365826, 0.018616339191794395, -0.011003897525370121, -0.0059892283752560616, 0.012593409046530724, -0.05588594451546669, -0.020254936069250107, 0.0137105081230402, 0.024127406999468803, 0.005473741330206394, -0.007896419614553452, 0.025944281369447708, 0.035915594547986984, 0.00317955669015646, 0.027010200545191765, -0.018479924649000168, 0.005963908042758703, -0.030784552916884422, -0.006320098880678415, 0.05696924403309822, -0.012886635027825832, 0.00802318099886179, -0.025287630036473274, 0.04367171972990036, 0.015189232304692268, -0.018663164228200912, -0.0062791588716208935, -0.028862956911325455, 7.377833070566665e-33, 0.043265607208013535, -0.03413011506199837, -0.012558018788695335, 0.0074917529709637165, -0.013067182153463364, 0.004512143321335316, -0.034967366605997086, 0.003993398044258356, -0.04291784390807152, 0.04298838973045349, -0.009017420932650566, 0.04587279632687569, -0.027905749157071114, -0.00406500231474638, 0.0587688684463501, -0.024435870349407196, 0.0037709244061261415, -0.027080701664090157, 0.009012137539684772, -0.009914824739098549, 0.0341046117246151, 0.016120953485369682, 0.01934073492884636, -0.0011993956286460161, -0.029551977291703224, 0.014100832864642143, -0.046646226197481155, -0.015366318635642529, 0.011440586298704147, -0.007400170899927616, -0.010932749137282372, 0.018532078713178635, 0.0177284087985754, -0.04208019748330116, -0.06355072557926178, 0.03866590932011604, 0.0463268980383873, -0.016274133697152138, 0.0283189807087183, 0.007339861709624529, 0.02106533758342266, -0.004692125134170055, -0.007993395440280437, -0.013568920083343983, 0.012480754405260086, 0.003227448556572199, 0.005243317224085331, -0.005971014034003019, 0.028471076861023903, 0.06484439969062805, 0.02848920039832592, 0.005315922200679779, 0.010189655236899853, -0.018296200782060623, 0.03487072512507439, -0.026606233790516853, 0.0014744701329618692, -0.03920361027121544, -0.03138634189963341, 0.02980634942650795, -0.03902049362659454, 0.015039028599858284, -0.044585827738046646, -0.004253868944942951, -0.024015741422772408, 0.027849655598402023, -0.01680936850607395, -0.0023712003603577614, -0.008148865774273872, -0.04127631336450577, -0.03233088552951813, -0.0240804310888052, -0.008312327787280083, 0.0031751212663948536, -0.019124601036310196, -0.014384748414158821, -0.00958943460136652, 0.007875152863562107, 0.005160019267350435, 0.019852258265018463, 0.013862895779311657, -0.01076858676970005, 0.05711039528250694, 0.029659632593393326, -0.010221915319561958, -0.010045659728348255, -0.018939606845378876, -0.028001176193356514, -0.0029503663536161184, -0.013273533433675766, -0.03743191435933113, -0.02857288159430027, 0.01101489644497633, 0.02974832057952881, -0.0005827764980494976, -1.3427514211628022e-8, -0.046680182218551636, 0.060994960367679596, -0.009926419705152512, 0.012999170459806919, 0.002467646263539791, 0.0030800187960267067, -0.04411052539944649, -0.024915020912885666, 0.0031932624988257885, -0.0046294680796563625, -0.0019021572079509497, -0.012526538223028183, 0.002419516211375594, -0.022537531331181526, 0.01627686619758606, -0.03911789134144783, -0.0371771939098835, -0.03844895958900452, 0.025509575381875038, 0.009661021642386913, 0.018215948715806007, 0.012335097417235374, 0.002194065600633621, 0.01140675600618124, 0.034832440316677094, -0.016973569989204407, -0.018009115010499954, -0.09061337262392044, 0.024614157155156136, 0.04710504785180092, 0.00313397916033864, -0.009868483059108257, -0.038302771747112274, 0.007250735070556402, -0.010610450990498066, -0.029719606041908264, -0.0048890854232013226, -0.00949801504611969, 0.013972817920148373, 0.03664715588092804, 0.020504646003246307, -0.0239569004625082, -0.013002505525946617, -0.0173223577439785, -0.007422936148941517, -0.0018588805105537176, 0.009974343702197075, -0.010398461483418941, -0.016872713342308998, -0.05867848917841911, 0.005490833893418312, 0.028410140424966812, 0.019253160804510117, 0.023632636293768883, -0.016511863097548485, 0.026745248585939407, 0.004887080285698175, -0.01505409087985754, -0.010509218089282513, 0.01657325029373169, 0.021062511950731277, 0.030169373378157616, -0.05625888332724571, -0.027905000373721123 ]
c-public-fields-vs-automatic-properties
https://markhneedham.com/blog/2009/02/04/c-public-fields-vs-automatic-properties
false
2009-02-11 11:20:08
C#: Properties vs Methods
[ "c", "net" ]
[ ".NET" ]
I was browsing through our tests today and noticed a test along these lines (simplified for example purposes): [source,csharp] ---- [Test, ExpectedException(typeof(Exception))] public void ShouldThrowExceptionIfNoBarSet() { var bar = new Foo(null).Bar; } ---- [source,csharp] ---- public class Foo { private readonly string bar; public Foo(string bar) { this.bar = bar; } public string Bar { get { if (bar == null) { throw new Exception("No bar"); } return bar; } } } ---- What I found strange here is that 'bar' is never used and Resharper points out as much. If we try to remove it, however, the code no longer compiles. [source,csharp] ---- [Test, ExpectedException(typeof(Exception))] public void ShouldThrowExceptionIfNoBarSet() { new Foo(null).Bar; } ---- [source,text] ---- Only call, assignment, increment, decrement, and new object expressions can be used as a statement. ---- We therefore need to assign the call to Bar to a variable even though we never intend to reference it. This problem wouldn't happen if Bar was a method instead. [source,csharp] ---- [Test, ExpectedException(typeof(Exception))] public void ShouldThrowExceptionIfNoBarSet() { new Foo(null).Bar(); } ---- [source,csharp] ---- public string Bar() { if (bar == null) { throw new Exception("No bar"); } return bar; } ---- Which got me thinking how do we know when to use a method and when to use a property? Clearly if there are parameters to be passed in then we have no choice but to use a method since we can't call properties with parameters. If we are simply returning data values then we might as well just use properties since this is what they were made for. We can even make use of automated properties to smooth the process. Which leaves the situation where there is some logic that needs to be calculated, no outside data is needed to do this calculation and a result is returned to the client. Probably because of the Java influence my preference would be to do this using a method but I don't really have any other justification for not using a property to achieve the same thing. Discussing this briefly with http://twitter.com/davcamer[Dave] we thought maybe if a property is used then the execution needs to be idempotent (i.e. return the same result every time) although the argument could be made that well written methods should also be side effect free. Eric Evans' advocates writing http://domaindrivendesign.org/discussion/messageboardarchive/SideEffectFreeFunctions.html[side effect free functions] in http://domaindrivendesign.org/[Domain Driven Design] for example. Does anyone have any compelling reasons why or why not to use one or the other?
null
null
[ 0.0056322538293898106, -0.010695476084947586, -0.027319027110934258, 0.026783453300595284, 0.054820287972688675, 0.010456380434334278, 0.04854631796479225, 0.00993684958666563, -0.022609496489167213, -0.010447475127875805, -0.009696888737380505, 0.009179670363664627, -0.0889362245798111, 0.03104275092482567, -0.009590435773134232, 0.08077683299779892, 0.08852841705083847, -0.022422412410378456, 0.03958769142627716, -0.026813823729753494, 0.004504319280385971, 0.05865819752216339, -0.022580349817872047, 0.03018636256456375, 0.04989034682512283, 0.010349065065383911, -0.013361405581235886, -0.006158282049000263, -0.05632123351097107, -0.024351567029953003, 0.0372551828622818, 0.0396648533642292, -0.013578630983829498, -0.025505533441901207, 0.010522712022066116, -0.026596153154969215, -0.00413220189511776, -0.005526546388864517, -0.02198922261595726, 0.028647858649492264, -0.06051122024655342, 0.02196141891181469, -0.02257365919649601, 0.013947469182312489, -0.02762492373585701, -0.007071877829730511, -0.014071323908865452, -0.005217741709202528, -0.05092579126358032, 0.0009089240338653326, -0.06942146271467209, 0.04091593250632286, -0.054495442658662796, -0.004509203135967255, 0.02040293626487255, 0.03856035694479942, 0.0023397330660372972, -0.08140207827091217, 0.03160766139626503, -0.06471452116966248, 0.014280225150287151, -0.00401771767064929, -0.020418936386704445, 0.039171792566776276, 0.0371951125562191, 0.004294542130082846, 0.014220968820154667, 0.048667166382074356, -0.059517767280340195, -0.013796745799481869, -0.03296481817960739, -0.015437384136021137, -0.0167844295501709, -0.009183893911540508, 0.009480422362685204, -0.03530723229050636, -0.0325755774974823, 0.039696816354990005, 0.03260704129934311, 0.04447251185774803, -0.010883341543376446, 0.004258749540895224, 0.04820302873849869, -0.010071774944663048, 0.03103763237595558, -0.03308087959885597, -0.015418014489114285, 0.008885035291314125, 0.0025787402410060167, 0.049308691173791885, 0.018161365762352943, -0.02026265859603882, -0.008195975795388222, 0.020800309255719185, 0.0013528118142858148, -0.003309935098513961, 0.009935100562870502, -0.033900871872901917, 0.0027153377886861563, 0.014108039438724518, -0.04994196072220802, -0.013238525949418545, 0.040738753974437714, 0.03622223436832428, -0.06613406538963318, -0.006844195071607828, -0.024110065773129463, -0.016381386667490005, -0.007332030683755875, 0.0404546856880188, -0.055514898151159286, 0.028554771095514297, -0.015870746225118637, -0.009011001326143742, -0.07663587480783463, 0.03010386973619461, 0.02021847851574421, 0.032699067145586014, 0.0003848432097584009, 0.029388558119535446, 0.04053310304880142, 0.013970241881906986, -0.00044450629502534866, 0.08356071263551712, 0.0010281798895448446, 0.0167608093470335, -0.01360144279897213, 0.06937415897846222, 0.02058887854218483, -0.08172284811735153, 0.004614639561623335, 0.036948010325431824, 0.005895880050957203, -0.007324449252337217, 0.0032448035199195147, -0.013843893073499203, -0.0026130243204534054, -0.0050089419819414616, 0.020901311188936234, 0.038071408867836, -0.04350661486387253, -0.027568545192480087, 0.02928289771080017, 0.012774677015841007, -0.009566139429807663, 0.024959510192275047, 0.004548642318695784, -0.012395079247653484, 0.004056151024997234, 0.06670781970024109, 0.030420370399951935, 0.08581884205341339, 0.07273508608341217, -0.0440661795437336, -0.007139660883694887, 0.06472479552030563, -0.01731490157544613, 0.030025141313672066, -0.005179134663194418, 0.01775551214814186, 0.0664605125784874, 0.04621933400630951, 0.00830368883907795, 0.03129960224032402, 0.026884770020842552, 0.008559814654290676, -0.008815706707537174, 0.04400220140814781, -0.02547638863325119, -0.018326474353671074, -0.0709618479013443, -0.035000793635845184, 0.026936206966638565, -0.07469199597835541, 0.00791889801621437, 0.02889571711421013, 0.058687783777713776, -0.0026187801267951727, 0.07125215232372284, 0.0012228398118168116, -0.07702039182186127, 0.011874315328896046, -0.0130536500364542, 0.012903222814202309, 0.0068712676875293255, 0.026564937084913254, 0.0530385859310627, 0.014892683364450932, -0.004821367096155882, 0.01941932924091816, -0.06668251007795334, -0.0872434750199318, -0.04675795137882233, 0.0023659660946577787, 0.06210657209157944, -0.039099909365177155, -0.029008423909544945, 0.09804003685712814, -0.005887937266379595, 0.04217934235930443, 0.03378884121775627, -0.015295816585421562, 0.0017207568744197488, -0.028090087696909904, -0.047156862914562225, 0.01886533759534359, 0.05348995700478554, -0.0004742201999761164, -0.04006432741880417, 0.012529116123914719, -0.01932108961045742, 0.0427764356136322, 0.021172964945435524, -0.004042938817292452, 0.04948295280337334, 0.027667075395584106, 0.01974264159798622, -0.03987551108002663, 0.06037590652704239, -0.07260565459728241, 0.022778058424592018, -0.012044237926602364, 0.018180370330810547, -0.02458592690527439, -0.01014971174299717, 0.1392144113779068, 0.047797832638025284, -0.009086152538657188, -0.0413564071059227, -0.0002985059400089085, 0.030647095292806625, -0.033263158053159714, 0.01461031660437584, -0.02490215189754963, -0.0015205343952402472, 0.022152358666062355, -0.026724515482783318, 0.01064242422580719, 0.016934802755713463, -0.028504135087132454, 0.046191584318876266, 0.074028879404068, -0.006760447286069393, 0.06789685785770416, -0.00444728834554553, -0.03513152524828911, 0.010549698024988174, -0.04032491147518158, -0.056405916810035706, 0.0004734906542580575, 0.039883073419332504, -0.01081426814198494, 0.04734047129750252, -0.005794362630695105, -0.025102412328124046, 0.005455692298710346, -0.053537942469120026, -0.007130790501832962, 0.04000568762421608, 0.05664985254406929, 0.00868845172226429, 0.04464190453290939, -0.010593579150736332, -0.008951849304139614, 0.010546708479523659, -0.051546260714530945, 0.02658478356897831, 0.03106880746781826, 0.03233364224433899, 0.04046948626637459, -0.0014239916345104575, 0.0026938142254948616, 0.02913367748260498, 0.01674790494143963, -0.040193118155002594, -0.010232687927782536, 0.04401729255914688, 0.008422800339758396, -0.03095066174864769, -0.046337027102708817, -0.042137812823057175, 0.014290345832705498, -0.03254498913884163, -0.0489824078977108, 0.029777714982628822, -0.07496044784784317, 0.018986038863658905, -0.06595112383365631, -0.07646124064922333, -0.00408651027828455, 0.006709584034979343, 0.00979415699839592, -0.0009057165589183569, 0.019809186458587646, 0.07857915014028549, 0.004688845481723547, 0.007288368418812752, 0.020665721967816353, 0.014263011515140533, 0.008489459753036499, -0.0009716041968204081, 0.015314878895878792, 0.035248614847660065, -0.008687552995979786, 0.00903849396854639, -0.04578188806772232, 0.013025461696088314, 0.0033612230326980352, -0.25344324111938477, 0.019816791638731956, -0.014414885081350803, -0.02771475538611412, 0.025559667497873306, -0.02462809532880783, 0.04725906252861023, -0.04324353486299515, -0.019802328199148178, 0.06961428374052048, -0.02845521830022335, -0.05193842202425003, -0.021423717960715294, 0.04517035186290741, -0.00025318076950497925, -0.010061959736049175, 0.00023151625646278262, -0.04157831519842148, 0.005025870632380247, 0.05636557564139366, -0.003628768026828766, -0.047995079308748245, 0.01350069884210825, 0.04161059111356735, 0.021134914830327034, 0.07491617649793625, -0.08410905301570892, 0.06985381990671158, -0.009503539651632309, -0.013217264786362648, 0.008001427166163921, -0.00814193207770586, 0.013603084720671177, -0.042009226977825165, -0.03094608709216118, -0.013160661794245243, 0.007901578210294247, 0.03576008602976799, -0.025785919278860092, 0.0355830080807209, -0.050112366676330566, -0.06357108056545258, -0.03720325976610184, 0.022360578179359436, 0.05773645266890526, -0.020849302411079407, -0.057722270488739014, -0.004079928155988455, -0.06093713268637657, 0.06891778111457825, -0.05162264406681061, -0.018024682998657227, -0.006395770702511072, 0.024821702390909195, -0.02714894525706768, -0.008423312567174435, 0.00031964233494363725, 0.009148577228188515, -0.055577415972948074, -0.015662871301174164, -0.005612188018858433, -0.046725962311029434, -0.014642655849456787, -0.0422246940433979, -0.014952566474676132, -0.07001308351755142, -0.04979002848267555, -0.018388506025075912, 0.057426922023296356, 0.03005778044462204, 0.003256872296333313, -0.00930496770888567, 0.029175586998462677, -0.11595596373081207, 0.014815920032560825, -0.04597669094800949, -0.030364234000444412, -0.04828362911939621, -0.0088649932295084, 0.03482479229569435, -0.02495294064283371, -0.023606659844517708, 0.04809628427028656, 0.023303067311644554, 0.019137674942612648, 0.00026751848054118454, 0.016500044614076614, -0.02570832148194313, -0.03732442855834961, -0.006854482926428318, 0.06809581071138382, -0.011703400872647762, 0.0034353898372501135, -0.04019152745604515, -0.013821854256093502, 0.043663740158081055, 0.040010835975408554, -0.0244267787784338, 0.03413843363523483, 0.014362938702106476, 0.054406605660915375, -0.06811852008104324, 0.0268096961081028, -0.04571530595421791, 0.00795151386409998, -0.04107154533267021, -0.07482966780662537, 0.037579819560050964, 0.023231498897075653, -0.02033020555973053, 0.0037336996756494045, -0.008860612288117409, 0.0020496160723268986, -0.05932985991239548, -0.031532615423202515, -0.031173832714557648, 0.013758230023086071, 0.018631786108016968, -0.034585174173116684, -0.04999468848109245, -0.03939259797334671, 0.013745038770139217, 0.009321006946265697, -0.013926963321864605, -0.08738525211811066, -0.05994916334748268, 0.01474708504974842, 0.013851362280547619, -0.007562147453427315, 0.034805648028850555, -0.02282731421291828, 0.034276094287633896, 0.0014885953860357404, -0.025384461507201195, 0.002510581398382783, 0.010769141837954521, 0.00006348775059450418, -0.03015764057636261, -0.013576197437942028, -0.021289143711328506, 0.0016515299212187529, -0.022570867091417313, -0.010703004896640778, 0.026791855692863464, 0.04579818993806839, 0.013767636381089687, 0.026674756780266762, 0.055634673684835434, -0.015847736969590187, 0.016322443261742592, 0.003979233093559742, -0.05447723716497421, 0.02129221521317959, -0.013793908059597015, -0.05003383010625839, -0.028492219746112823, 0.022295713424682617, -0.029750676825642586, -0.019809460267424583, -0.04186678305268288, 0.030769184231758118, -0.028447482734918594, -0.037088993936777115, -0.03756562992930412, -0.001131313620135188, 0.053263645619153976, -0.02725260704755783, 0.04471629112958908, -0.04139707610011101, -0.012945418246090412, 0.026968585327267647, -0.009379053488373756, -0.0212596133351326, 0.05760348215699196, 0.0066608162596821785, 0.00469009717926383, 0.009483929723501205, 0.021152323111891747, 0.013373256660997868, 0.026615586131811142, 0.011852176859974861, -0.016462117433547974, 0.03869087994098663, 0.01797367073595524, 0.03022860176861286, -0.00876541156321764, -0.01055274996906519, -0.024345260113477707, -0.0286977831274271, -0.012645508162677288, -0.05334889888763428, -0.031783327460289, -0.0020584280136972666, 0.036586545407772064, -0.04658397659659386, -0.06479626148939133, 0.011855143122375011, 0.001256508519873023, 0.025626884773373604, 0.008534436114132404, 0.010658958926796913, 0.006096870172768831, -0.012140430510044098, 0.0005149859935045242, 0.03543339669704437, -0.04149638116359711, 0.03827524557709694, 0.020051369443535805, -0.003036313457414508, 0.048030734062194824, 0.012152625247836113, -0.03997287154197693, -0.008322895504534245, -0.005271622445434332, -0.019551312550902367, -0.031305283308029175, -0.020460160449147224, -0.020258203148841858, -0.010106188245117664, -0.01964692771434784, -0.00771413603797555, -0.006753077730536461, -0.0027121773455291986, -0.04442782700061798, 0.0029765842482447624, -0.00278905825689435, -0.02436177246272564, -0.025246843695640564, 0.06022294983267784, -0.03669964522123337, -0.0034821026492863894, -0.00686187157407403, 0.029612326994538307, 0.013193909078836441, -0.02393132634460926, -0.05702929571270943, -0.07337554544210434, 0.019738251343369484, 0.008908644318580627, 0.06214556470513344, 0.0037030065432190895, -0.018503494560718536, -0.021519457921385765, -0.04073111340403557, 0.0006431261426769197, 0.01369189377874136, -0.005307919345796108, -0.021981440484523773, 0.03940518945455551, 0.03713180124759674, -0.005272719543427229, 0.0399211086332798, 0.019911982119083405, -0.011023405939340591, 0.06647555530071259, -0.044352129101753235, -0.010204238817095757, -0.010398199781775475, -0.06774395704269409, 0.02667519822716713, 0.02368537150323391, 0.030110511928796768, -0.05077196657657623, 0.05018371343612671, 0.04162842035293579, 0.016359442844986916, 0.04060928151011467, 0.007528983056545258, 0.02510109171271324, -0.027545848861336708, 0.005850350484251976, -0.08137192577123642, 0.010426269844174385, 0.049802426248788834, 0.020078882575035095, -0.032862041145563126, -0.0471058115363121, -0.012960288673639297, 0.05289394035935402, -0.05912163108587265, -0.014638339169323444, 0.026962121948599815, -0.0002730095002334565, 0.019620927050709724, 0.008282206952571869, -0.035621460527181625, 0.04068741202354431, 0.02328159473836422, -0.026223141700029373, -0.04328108951449394, -0.025016380473971367, 0.04805620014667511, 0.0539628230035305, 0.01209323387593031, -0.05643614009022713, 0.017560791224241257, 0.03132157772779465, 0.03133891895413399, 0.04413864016532898, 0.06238865479826927, -0.06214521452784538, 0.02872750349342823, 0.02047826535999775, -0.03345923498272896, -0.023029621690511703, -0.011068870313465595, 0.012266471050679684, -0.047585632652044296, 0.0008861334063112736, 0.012344250455498695, -0.026256121695041656, -0.05148846656084061, 0.06081468239426613, -0.009763632901012897, -0.031339604407548904, -0.04042505472898483, -0.00792296975851059, -0.02330491691827774, -0.03372303396463394, -0.02993086166679859, 0.00683328602463007, -0.034067533910274506, 0.07211599498987198, 0.0013956758193671703, 0.006729063577950001, 0.06542956084012985, -0.0102614164352417, 0.03077593818306923, -0.01219643373042345, 0.06753914803266525, 0.07864894717931747, 0.030577829107642174, -0.006686094217002392, 0.04463260620832443, -0.031508948653936386, -0.0582558810710907, 0.020629243925213814, -0.060441114008426666, 0.008070763200521469, -0.030692391097545624, 0.030635938048362732, 0.06964211910963058, 0.012969219125807285, 0.037458453327417374, -0.05379187688231468, -0.0007359971641562879, -0.011582838371396065, 0.039486248046159744, 0.021998507902026176, 0.010528882965445518, 0.001274745911359787, -0.012856753543019295, 0.027811191976070404, -0.034247566014528275, 0.04558385908603668, -0.007020396646112204, -0.025479083880782127, 0.01496786531060934, -0.01325350534170866, 0.0072229779325425625, -0.001850311877205968, 0.024439822882413864, 0.06846790760755539, -0.005497951991856098, -0.025651972740888596, 0.0019313369411975145, 0.034068867564201355, 0.02154490165412426, -0.029992133378982544, -0.003336996305733919, -0.028702259063720703, 0.005474829114973545, 0.005187959875911474, 0.008498255163431168, -0.03339434787631035, -0.03551657497882843, 0.008947465568780899, -0.0030751663725823164, 0.02126343920826912, 0.01833196170628071, -0.001379429711960256, -0.0344880074262619, -0.06495378166437149, -0.04140904173254967, -0.025615964084863663, -0.06586160510778427, -0.010121505707502365, 0.034344691783189774, -0.038136765360832214, -0.0242555420845747, -0.03297965228557587, -0.011174704879522324, -0.004287247080355883, 0.04860786721110344, -0.009733893908560276, -0.039497267454862595, 0.03458453714847565, -0.012763043865561485, 0.04405253753066063, 0.04710300266742706, 0.008534971624612808, -0.021866392344236374, -0.028654664754867554, -0.035445649176836014, -0.01913440227508545, 0.04850305616855621, -0.005040526390075684, 0.025402668863534927, -0.07296618819236755, 0.021915145218372345, -0.015219845809042454, -0.009983603842556477, -0.05213005840778351, 0.016990598291158676, 0.020424334332346916, 0.0051691243425011635, 0.04591015726327896, -0.01794259436428547, -0.01720738224685192, -0.013317851349711418, -0.026296911761164665, 0.02246130257844925, 0.023438476026058197, 0.03367265686392784, -0.022343939170241356, 0.05874912068247795, 0.021045507863163948, -0.03952726721763611, -0.030757853761315346, -0.009028973057866096, -0.0036155893467366695, 0.024656731635332108, -0.03552482649683952, -0.012577134184539318, -0.04672309383749962, -0.0384102500975132, 0.01946602202951908, 0.03942730650305748, -0.015329604968428612, -0.02075035125017166, 0.023630857467651367, 0.05208984762430191, -0.06738933175802231, 0.03836825489997864, -0.019505575299263, 0.038149379193782806, -0.03780309110879898, -0.048699166625738144, 0.024525901302695274, 0.027873646467924118, -0.005640516988933086, 0.01222347840666771, 0.025713611394166946, -0.02335561253130436, -0.026334140449762344, -0.02627938985824585, 0.015111823566257954, 0.04253712296485901, -0.04998819902539253, 0.014243551529943943 ]
[ -0.07975408434867859, -0.02088579349219799, -0.046119675040245056, -0.06437069177627563, 0.03158600628376007, -0.050376661121845245, 0.05530960112810135, 0.05300773307681084, -0.00016106477414723486, -0.026489069685339928, 0.0031712050549685955, -0.01727568544447422, -0.028996000066399574, 0.007963063195347786, 0.03067217767238617, 0.015008055604994297, -0.034750256687402725, -0.02591012790799141, -0.025110285729169846, 0.020661598071455956, 0.057403869926929474, -0.001630087848752737, -0.01829931139945984, -0.0505688451230526, 0.026469985023140907, 0.012418867088854313, 0.04978450387716293, -0.04093111306428909, 0.0028003407642245293, -0.18742024898529053, 0.005140249151736498, -0.0414816252887249, 0.02531716413795948, -0.020940976217389107, -0.04353819042444229, 0.011734929867088795, 0.013977834954857826, 0.026783877983689308, -0.0017593865050002933, 0.05833518132567406, 0.010875692591071129, 0.056983474642038345, -0.03275032341480255, -0.018331453204154968, -0.0030345043633133173, 0.010350160300731659, -0.0037083022762089968, -0.035886965692043304, 0.011243371292948723, 0.010750995017588139, -0.060981132090091705, -0.017117220908403397, 0.022923389449715614, -0.02480519376695156, -0.011222410015761852, 0.02384665235877037, 0.04041008651256561, 0.044844381511211395, 0.026335252448916435, 0.027416788041591644, 0.016102109104394913, -0.04378420487046242, -0.12654675543308258, 0.08256087452173233, 0.023943766951560974, 0.04230852797627449, 0.02168114297091961, 0.005350101739168167, 0.03177269548177719, 0.08155634254217148, 0.02796594612300396, 0.009138239547610283, -0.026645630598068237, 0.09752445667982101, 0.022503260523080826, -0.030480260029435158, 0.0065156277269124985, -0.000695419788826257, 0.05999526381492615, -0.052960529923439026, -0.06448587775230408, -0.03850316256284714, 0.04583216458559036, -0.007813791744410992, -0.012988249771296978, 0.04804517701268196, -0.0003780953411478549, 0.030274365097284317, 0.06697431206703186, 0.022089842706918716, 0.02934574894607067, -0.007464747875928879, 0.03476211428642273, 0.024141430854797363, -0.08868416398763657, 0.0238183606415987, -0.021026840433478355, 0.002233194187283516, -0.039816081523895264, 0.3912653625011444, -0.039157893508672714, -0.021682607010006905, 0.027599574998021126, 0.027921104803681374, -0.007012224290519953, 0.002062011742964387, -0.016319639980793, -0.03914838284254074, -0.007043852005153894, -0.053304970264434814, 0.01902392879128456, -0.027749521657824516, 0.017805874347686768, -0.03112064115703106, -0.023347221314907074, 0.015853317454457283, 0.01589672826230526, -0.024121126160025597, -0.028925174847245216, -0.014597509987652302, -0.015242831781506538, -0.024990582838654518, -0.0040622432716190815, 0.04917531460523605, 0.02539687789976597, -0.044943537563085556, -0.000740791903808713, 0.0777449756860733, 0.020487815141677856, 0.001984307309612632, 0.04978369176387787, -0.07397793978452682, -0.08247068524360657, -0.013452041894197464, 0.023206699639558792, 0.01430719718337059, 0.05239860713481903, -0.02723531238734722, 0.015252052806317806, -0.037415988743305206, 0.022078339010477066, -0.0280704814940691, 0.0033317680936306715, -0.024428468197584152, -0.04454218968749046, 0.12009795755147934, -0.014810503460466862, -0.005010539200156927, -0.010497384704649448, -0.05549311265349388, 0.007238295860588551, 0.02661874145269394, -0.04141013324260712, -0.0668381080031395, 0.035903412848711014, 0.004512976389378309, 0.03726882115006447, -0.007836803793907166, -0.02169259637594223, -0.013928922824561596, -0.03184612840414047, 0.013925492763519287, -0.07603106647729874, 0.04064531624317169, 0.014572828076779842, -0.053747761994600296, -0.04191978648304939, 0.002300092950463295, -0.010990293696522713, -0.04165945202112198, 0.02001226134598255, 0.005054089240729809, -0.029617248103022575, -0.017337096855044365, 0.025533949956297874, 0.016178254038095474, -0.0337943434715271, -0.021365506574511528, 0.018770568072795868, 0.050442323088645935, 0.033331237733364105, 0.056991785764694214, -0.0626581460237503, 0.036156509071588516, 0.008515696041285992, -0.08219990879297256, -0.047010134905576706, 0.005008845590054989, -0.01707550883293152, 0.003941387869417667, -0.01506704930216074, -0.04928257688879967, -0.05607455223798752, 0.05339035764336586, -0.051587168127298355, 0.023097984492778778, 0.04903469607234001, -0.0248817577958107, 0.011859102174639702, 0.0007140314555726945, 0.060860514640808105, 0.07100767642259598, 0.00007296095282072201, 0.03918430209159851, -0.046252332627773285, 0.026893209666013718, 0.039994098246097565, -0.04227157309651375, 0.037833161652088165, 0.014912335202097893, -0.041758593171834946, -0.008696548640727997, -0.017242537811398506, 0.029518570750951767, -0.0028351861983537674, -0.06171353906393051, 0.007071867119520903, 0.017146416008472443, 0.006419836077839136, 0.00967508926987648, -0.07122350484132767, -0.030589718371629715, 0.034439001232385635, -0.34674304723739624, -0.013600562699139118, 0.009947549551725388, -0.026470772922039032, 0.027453046292066574, -0.03541720286011696, -0.02109253779053688, -0.022964078933000565, -0.0837952271103859, -0.03223976120352745, 0.08959425240755081, -0.04924512282013893, -0.01643974520266056, -0.08350865542888641, 0.003558151423931122, 0.005343431606888771, -0.06448397040367126, -0.052597776055336, -0.05856282263994217, 0.00594512652605772, -0.016248807311058044, 0.012264289893209934, 0.011338992975652218, -0.04656597599387169, 0.021295519545674324, -0.05405721440911293, 0.08470133692026138, -0.006660320796072483, 0.11123153567314148, -0.011464201845228672, 0.044615354388952255, -0.007246887777000666, 0.02150486782193184, -0.10650239139795303, -0.0037930491380393505, -0.026919804513454437, -0.051938630640506744, 0.01513107493519783, 0.030437685549259186, 0.0041605508886277676, -0.024755969643592834, 0.03259367495775223, -0.04918920248746872, -0.023282617330551147, 0.00008438068471150473, -0.021853024140000343, 0.021585002541542053, -0.026054786518216133, 0.004133535083383322, 0.06021224334836006, 0.0014079768443480134, 0.0009161178022623062, 0.03729991614818573, 0.03442344069480896, 0.029673533514142036, -0.024851318448781967, -0.04634169861674309, -0.009464230388402939, 0.02323569543659687, -0.01532110758125782, 0.048564277589321136, 0.07007315009832382, 0.03156153857707977, -0.04901117831468582, -0.008865537121891975, 0.002123408718034625, 0.010167972184717655, -0.017278233543038368, 0.03290066123008728, -0.03178206831216812, -0.08150426298379898, 0.12820464372634888, -0.009203177876770496, -0.015182511880993843, 0.028811076655983925, 0.053570181131362915, 0.005200195591896772, -0.04356615990400314, -0.0025751276407390833, 0.008869101293385029, -0.013479956425726414, 0.022136347368359566, 0.04624700918793678, -0.01083462592214346, 0.02353723905980587, 0.04517528787255287, -0.028744112700223923, 0.022671081125736237, 0.05421416833996773, -0.06129053980112076, -0.029377173632383347, -0.0204281285405159, -0.0016956364270299673, -0.05917809531092644, 0.04992936551570892, -0.012704272754490376, -0.26991134881973267, -0.0072779166512191296, 0.0672948881983757, 0.0399944931268692, -0.0023858724161982536, 0.030560923740267754, 0.042676497250795364, -0.04365876317024231, 0.01004654448479414, 0.034610942006111145, 0.022336911410093307, 0.0015024013118818402, 0.02026183344423771, -0.01823754794895649, 0.03142043203115463, -0.0328882671892643, 0.069090336561203, 0.010258006863296032, 0.0442643016576767, -0.02288428135216236, 0.04718581587076187, 0.008263804949820042, 0.1817319244146347, 0.004517995752394199, 0.05605011060833931, 0.026025759056210518, 0.020408181473612785, 0.012895175255835056, 0.08498930186033249, 0.02334597334265709, 0.02159915864467621, -0.039245933294296265, 0.1227247416973114, 0.0057514868676662445, 0.03794123977422714, -0.0770331472158432, 0.016570420935750008, 0.00831534806638956, 0.0007180380052886903, -0.020299959927797318, -0.008793515153229237, 0.026603233069181442, -0.055723972618579865, -0.0007405641954392195, 0.09211156517267227, 0.025864170864224434, -0.01731041446328163, -0.09495997428894043, -0.008199010975658894, 0.008550469763576984, -0.022516250610351562, -0.017737584188580513, -0.001331973820924759, -0.02144230715930462, 0.0030199745669960976, 0.026309732347726822, 0.016513431444764137, -0.029084302484989166, -0.03733399882912636, 0.014209497720003128, 0.045711517333984375, 0.01669389009475708, 0.07998200505971909, 0.03524494171142578, 0.058092810213565826 ]
[ 0.004574666265398264, 0.05012379214167595, -0.020723046734929085, 0.022317416965961456, -0.038151223212480545, 0.0533156618475914, -0.0070948246866464615, 0.031065423041582108, 0.0038577173836529255, 0.002630352508276701, -0.02364923804998398, -0.047103818506002426, 0.045432016253471375, -0.04818686842918396, 0.01215515285730362, 0.011246617883443832, -0.009561729617416859, -0.032591935247182846, 0.018538620322942734, -0.00917884986847639, -0.02348175272345543, 0.05581853166222572, -0.016625650227069855, -0.02149221859872341, -0.011691296473145485, 0.008967811241745949, -0.004949540831148624, -0.022222798317670822, 0.019978802651166916, -0.13738511502742767, -0.03692445904016495, -0.01337278913706541, -0.009271383285522461, 0.02754325047135353, -0.03818381577730179, 0.0041770413517951965, 0.05509689450263977, 0.07086096704006195, -0.019746480509638786, -0.010070270858705044, -0.034413330256938934, 0.03114599548280239, -0.010242849588394165, 0.0064083789475262165, 0.0051762377843260765, -0.022699570283293724, 0.010527549311518669, -0.026923036202788353, -0.005147323478013277, -0.027252666652202606, -0.021808063611388206, -0.008605115115642548, 0.02074757032096386, 0.008241134695708752, 0.034608785063028336, -0.017143897712230682, 0.011013067327439785, -0.015536791644990444, 0.036174774169921875, 0.010458198375999928, -0.03085767664015293, -0.04635718837380409, -0.027148280292749405, -0.02303965575993061, 0.03872554004192352, 0.015073896385729313, 0.025365736335515976, 0.024447189643979073, 0.008940194733440876, -0.019115421921014786, -0.02059170976281166, 0.010362084023654461, -0.042112428694963455, 0.01463653240352869, -0.005343325436115265, -0.008472739718854427, 0.03052816167473793, -0.033046379685401917, 0.053520213812589645, -0.003429364413022995, -0.053196076303720474, -0.007111034356057644, -0.018118632957339287, 0.020298467949032784, 0.04647314175963402, 0.02620961144566536, -0.021736949682235718, 0.01580032706260681, 0.025162598118185997, 0.04589717090129852, -0.02993134595453739, 0.03921990469098091, -0.0003536297590471804, 0.018896954134106636, -0.05913383886218071, 0.021253295242786407, -0.02005540393292904, -0.04269817844033241, 0.003981316462159157, 0.8236955404281616, 0.02086447738111019, 0.06086990609765053, 0.04491075500845909, -0.017131848260760307, -0.003278169548138976, -0.023939944803714752, 0.04390005022287369, -0.0017594534438103437, 0.03862979635596275, -0.03153412416577339, 0.03202403709292412, -0.0028521346393972635, 0.015323959290981293, -0.015006344765424728, -0.0013649931643158197, 0.03297974541783333, -0.005237335804849863, -0.015347395092248917, -0.020257961004972458, -0.02881612628698349, -0.007203483954071999, 0.00506833428516984, 0.021892063319683075, -0.006364063359797001, 0.0019192766631022096, -0.18370088934898376, 0.01600698195397854, -8.499602921452558e-33, 0.003502465784549713, -0.007156761828809977, 0.03011189214885235, 0.008625783026218414, 0.03206610679626465, -0.026124730706214905, 0.009423088282346725, 0.040731918066740036, 0.046232178807258606, -0.07405463606119156, 0.01648654229938984, -0.05933866649866104, -0.0005759196938015521, -0.03120282106101513, 0.047994814813137054, -0.008724127896130085, 0.02053861692547798, 0.0196249857544899, -0.012863908894360065, -0.0024171213153749704, 0.02182263508439064, 0.049087535589933395, 0.06051664426922798, -0.006436031311750412, -0.010714370757341385, 0.01621202938258648, 0.031700436025857925, 0.014272389933466911, -0.024177702143788338, -0.037326060235500336, 0.0013352090027183294, 0.027915576472878456, 0.011224496178328991, -0.009014416486024857, 0.04310283437371254, -0.022783197462558746, 0.005356128327548504, 0.021606333553791046, 0.01038904208689928, -0.007509585469961166, -0.03526705130934715, 0.002772918436676264, -0.022243356332182884, 0.020822947844862938, -0.03496247157454491, -0.055316533893346786, 0.011883950792253017, -0.04926099628210068, 0.024382706731557846, 0.043100640177726746, -0.006078277248889208, 0.05512549355626106, 0.002523318398743868, 0.00783495046198368, 0.006587406154721975, 0.02901112474501133, -0.037072863429784775, 0.0031591954175382853, 0.0016397598665207624, 0.003027545288205147, 0.017077859491109848, 0.01210671104490757, -0.014555845409631729, 0.02455243468284607, -0.00898618996143341, -0.011620822362601757, -0.007339155301451683, -0.022385548800230026, 0.015997368842363358, -0.04290230944752693, -0.03548208996653557, -0.01334422081708908, -0.013144126161932945, -0.02404436096549034, 0.01267513819038868, 0.011725623160600662, -0.0006502862670458853, -0.002184914890676737, 0.029337918385863304, 0.023678775876760483, 0.008819065988063812, -0.008359447121620178, -0.013552692718803883, -0.0067859007976949215, 0.0012328914599493146, -0.02471148781478405, 0.05027659609913826, -0.017628172412514687, -0.001508326968178153, -0.037057001143693924, 0.027606239542365074, 0.024371536448597908, -0.03277119621634483, -0.018391592428088188, 0.008161671459674835, 7.826254043362628e-33, 0.0158538818359375, -0.010255086235702038, -0.008807013742625713, 0.016203712671995163, 0.0008817292982712388, -0.005529697518795729, -0.007197695784270763, -0.008500362746417522, -0.04903905838727951, -0.001977965235710144, -0.033568158745765686, 0.028277169913053513, -0.02324795350432396, 0.011046366766095161, 0.05828067660331726, -0.006068879272788763, 0.0017570836935192347, 0.003939369693398476, -0.023394891992211342, -0.01978173479437828, 0.03987525403499603, 0.005395149812102318, 0.027145259082317352, -0.01311060506850481, -0.014641476795077324, 0.06453585624694824, -0.045649681240320206, -0.00004400071702548303, 0.034411896020174026, 0.003985689487308264, -0.003161576110869646, 0.029808571562170982, 0.008817540481686592, -0.06837272644042969, -0.03596029430627823, 0.007497664075344801, 0.020369701087474823, -0.0026445745024830103, 0.01259124930948019, 0.020387878641486168, 0.016241153702139854, 0.017298871651291847, -0.00007113000174285844, 0.0081544890999794, 0.022412164136767387, 0.01703694835305214, 0.01881960965692997, -0.04280179738998413, 0.003293149871751666, 0.01816318742930889, 0.041111238300800323, 0.011588509194552898, -0.007371038664132357, 0.0061219800263643265, 0.0463436134159565, -0.017120055854320526, -0.014777838252484798, 0.008950029499828815, -0.03632810339331627, -0.011083179153501987, -0.06226646527647972, 0.003331746906042099, -0.028112981468439102, -0.019162535667419434, -0.020703230053186417, 0.010511277243494987, -0.02386309579014778, -0.01748809590935707, -0.0103253573179245, -0.04256698861718178, -0.022017842158675194, -0.012225321494042873, -0.008615363389253616, -0.011337376199662685, -0.04268414527177811, -0.010925507172942162, -0.00031708867754787207, -0.019782131537795067, 0.0061836205422878265, -0.004791945219039917, 0.02857261896133423, 0.002939598634839058, 0.059100013226270676, 0.026075541973114014, 0.0010153793264180422, -0.013091471046209335, -0.011342613957822323, -0.046484194695949554, 0.011421474628150463, 0.009177983738481998, -0.049532003700733185, 0.01246967539191246, -0.008418994955718517, 0.02037007361650467, -0.004834514111280441, -1.3578656421486812e-8, -0.05857117101550102, 0.02282227762043476, -0.01996861770749092, 0.021224824711680412, 0.02377014420926571, 0.0024431045167148113, -0.0462336428463459, -0.04496205970644951, -0.024953138083219528, -0.0001934787433128804, 0.019323080778121948, -0.013356366194784641, -0.00277862511575222, -0.007333239074796438, 0.0004525301046669483, -0.06445247679948807, -0.02557637356221676, -0.00007367683429038152, 0.006043280009180307, 0.008556056767702103, -0.02573341503739357, 0.0454639196395874, -0.028179574757814407, 0.024472225457429886, 0.0024937132839113474, -0.012739814817905426, 0.006652223877608776, -0.08449345827102661, 0.030461782589554787, 0.004065748769789934, -0.008395113050937653, -0.021713480353355408, -0.0038366711232811213, -0.02539188601076603, -0.040636736899614334, -0.019397679716348648, 0.009960207156836987, -0.0034433710388839245, 0.03641992062330246, -0.00033884678850881755, 0.0023802684154361486, -0.03518838807940483, 0.02895466424524784, -0.00934911984950304, -0.0030645474325865507, -0.013033198192715645, -0.007597765419632196, 0.012870592065155506, 0.013227676041424274, -0.016877099871635437, 0.003841798985376954, 0.023181146010756493, 0.006746235303580761, 0.014126680791378021, -0.010956971906125546, 0.04641880467534065, -0.0033779158256947994, -0.012278827838599682, -0.02146654762327671, 0.00873098149895668, 0.0499260388314724, 0.0035865353420376778, -0.04995202645659447, -0.03007936291396618 ]
c-properties-vs-methods
https://markhneedham.com/blog/2009/02/11/c-properties-vs-methods
false
2009-02-11 07:25:50
Agile: Re-estimating cards
[ "agile" ]
[ "Agile" ]
Chris Johnston has another interesting post in which he writes about the http://www.fuzzylizard.com/archives/2009/02/08/1008/[practice of re-estimating cards after they have been completed]. I think this somewhat misses the point that *the estimate is indeed supposed to be an estimate*. It might turn out to be too optimistic or too pessimistic, the theory being that overall we will end up with a reasonable balance that will allow us to make a prediction on how much work we believe we can complete in a certain time period. I've always seen estimates of story cards to be a relative thing - on all the teams I've worked on after initial cards have been estimated we've looked at the difficulty of upcoming cards and tried to score them relative to the ones already estimated. Re-estimating cards (presumably) individually means that you lose the benefits of this approach and end up with a fairly meaningless value. We are also ignoring the inherent uncertainty involved in estimating if we do so afterwards and I don't really see it helping us that much for future predictions since there is still going to be uncertainty with regards to the implementation of future cards no matter what we try to do. If data needs to be collected after a card has been played then I would say the time it took to complete a card might be a more useful metric although there are more than likely going to be some cards that take longer than expected and some that take less than expected, so I'm not sure what extra value this data would provide. As Chris points out if there are times, when we come to play a card or just after we start work on it, when we realise that some of our assumptions are incorrect therefore meaning that the estimate is inaccurate. In this case I think it's reasonable to talk through the new assumptions and re-estimate the card so that we have a more accurate estimation of its difficulty. When trying to work out how much work we can do in a certain time box, averaging the data we have from the original estimates is likely to provide the most accurate prediction in my opinion. Apart from times when we have story cards overflowing from one iteration to the next, meaning that we end up with one high scoring and then one low scoring iteration, I have found on my projects that the amount of work points wise doesn't tend to vary very much which lends credence to the theory that the estimates eventually balance out.
null
null
[ 0.01681603491306305, -0.0057961405254900455, 0.020824521780014038, 0.035206276923418045, 0.0681961253285408, 0.006811918690800667, 0.011386682279407978, 0.03722551465034485, 0.007098900154232979, -0.039142072200775146, 0.009114227257668972, -0.002330052899196744, -0.03916799649596214, 0.01296041440218687, -0.03942379727959633, 0.06828077882528305, 0.03646259009838104, 0.012080760672688484, -0.008997990749776363, -0.006572859827429056, 0.03172237426042557, 0.04739033803343773, 0.0154342632740736, 0.02755441702902317, 0.0227153692394495, 0.0018333153566345572, 0.018608124926686287, -0.006795893423259258, -0.0365079827606678, -0.020435737445950508, 0.038038384169340134, 0.0037049357779324055, -0.004310532473027706, -0.005715750157833099, 0.024757757782936096, -0.010547207668423653, -0.03240261599421501, 0.038669653236866, -0.002708984538912773, -0.004382816608995199, -0.0656801238656044, 0.054024744778871536, -0.025308454409241676, 0.004575228318572044, -0.06221896409988403, -0.010350346565246582, -0.02779887430369854, 0.0027686208486557007, -0.002535659819841385, -0.018355093896389008, -0.06542939692735672, 0.06377898901700974, -0.01135961152613163, -0.004826369229704142, -0.032148465514183044, 0.05158386006951332, 0.004322331864386797, -0.06792887300252914, -0.009422513656318188, -0.03796956315636635, 0.014569406397640705, -0.020769599825143814, -0.01705385185778141, 0.028241794556379318, 0.025610672309994698, -0.04733549803495407, 0.030737295746803284, 0.047834593802690506, -0.023512769490480423, 0.013739202171564102, -0.03194046765565872, 0.00461241789162159, 0.009448627009987831, -0.02719533070921898, -0.001378765795379877, -0.04626001417636871, 0.02561800554394722, 0.06803075969219208, 0.025701448321342468, 0.0324239581823349, -0.013806413859128952, 0.00819425843656063, 0.027691440656781197, 0.023976819589734077, -0.0053658997640013695, -0.04800036549568176, 0.016263427212834358, -0.05742613598704338, -0.05848716199398041, 0.0678338035941124, 0.007953101769089699, -0.04841230809688568, 0.017557300627231598, 0.021735213696956635, -0.024907268583774567, -0.009721101261675358, 0.012764082290232182, 0.004838339984416962, -0.02882312424480915, -0.022844260558485985, -0.023269981145858765, -0.021023506298661232, 0.014029782265424728, 0.01273704320192337, -0.08919351547956467, -0.018653742969036102, 0.010426717810332775, -0.011704986914992332, -0.03487762063741684, 0.012592087499797344, -0.019754495471715927, 0.009082910604774952, 0.0011346149258315563, 0.0021929817739874125, -0.06624326854944229, 0.039795782417058945, 0.02631896547973156, -0.023880023509263992, -0.019598396494984627, -0.0059556239284574986, 0.06959754228591919, 0.03815165534615517, -0.000779786380007863, 0.06745503097772598, 0.004342564847320318, 0.021106168627738953, -0.00259498436935246, 0.039484359323978424, -0.03370844945311546, -0.053819067776203156, 0.0075494591146707535, 0.07396183907985687, -0.05999099835753441, -0.010716250166296959, 0.01694541610777378, -0.045072320848703384, -0.01516149565577507, -0.01591087318956852, 0.051461298018693924, 0.03660615161061287, -0.030447836965322495, -0.03446602448821068, 0.02170391008257866, 0.033845312893390656, 0.018104376271367073, 0.005756264086812735, 0.016806721687316895, -0.03414663299918175, -0.04394036531448364, -0.006470650900155306, 0.01344431471079588, 0.024852896109223366, 0.019612563773989677, -0.03817068040370941, 0.03218923136591911, 0.07538013905286789, 0.02596447430551052, 0.016146689653396606, -0.017011195421218872, 0.04269576072692871, 0.03548708185553551, 0.025555433705449104, 0.03565418720245361, 0.02171175181865692, 0.015014218166470528, -0.0033397653605788946, 0.03434985503554344, 0.04928140342235565, -0.004630354233086109, -0.006813753861933947, -0.0504717193543911, -0.04643445461988449, 0.06752950698137283, -0.043360333889722824, -0.003219482023268938, 0.06802091747522354, 0.0683130994439125, 0.045398030430078506, 0.03858332708477974, -0.00021145569917280227, -0.08919785171747208, 0.037897590547800064, 0.01676461473107338, 0.022424189373850822, 0.03153295814990997, -0.038962800055742264, 0.05196743085980415, 0.019116956740617752, 0.012835979461669922, 0.029933739453554153, -0.05693366378545761, -0.06490525603294373, -0.005327457096427679, -0.02964874729514122, 0.033701177686452866, -0.017880013212561607, 0.028449637815356255, 0.08937583863735199, 0.006554950959980488, 0.042675841599702835, 0.026630612090229988, -0.0059382859617471695, 0.031217016279697418, -0.02141355350613594, -0.025388631969690323, 0.06762687861919403, 0.030056389048695564, -0.0019959916826337576, -0.027424998581409454, 0.03232486918568611, -0.0260354895144701, -0.020394217222929, 0.03183409944176674, -0.02073037065565586, 0.014791126362979412, 0.022468475624918938, 0.06136937439441681, -0.025844169780611992, 0.03769838064908981, -0.04568789154291153, 0.015224045142531395, 0.025874579325318336, -0.01512855477631092, 0.005396087188273668, -0.004060972481966019, 0.11262873560190201, 0.04789789021015167, -0.05039416626095772, -0.04827004298567772, 0.00801379419863224, 0.00958434958010912, -0.040672630071640015, -0.009692001156508923, -0.01858389936387539, 0.006953816395252943, -0.02504417672753334, -0.06858731061220169, -0.03387093544006348, 0.039897020906209946, -0.04193706810474396, -0.004809478297829628, 0.0431225560605526, -0.00885111652314663, 0.08164988458156586, 0.00575901148840785, 0.02703496441245079, -0.02212836593389511, -0.0025996624026447535, -0.0679808109998703, -0.0037863431498408318, -0.01695946790277958, -0.015086688101291656, 0.024722259491682053, 0.0014508325839415193, -0.019472958520054817, -0.018063368275761604, -0.04720749706029892, 0.016941064968705177, 0.07179904729127884, 0.06502976268529892, -0.0002673180715646595, 0.07459884881973267, 0.014828532934188843, 0.006912755314260721, -0.002874028170481324, -0.06970586627721786, -0.0575544647872448, -0.026373056694865227, -0.003619988216087222, 0.030910884961485863, 0.04835660755634308, -0.01500355638563633, 0.009804713539779186, 0.006745890248566866, -0.014761017635464668, -0.008307430893182755, 0.04233730211853981, -0.0035608243197202682, -0.033359941095113754, -0.006013838574290276, -0.011068209074437618, 0.07263317704200745, -0.04770436882972717, -0.02022593468427658, 0.014934692531824112, -0.0741472989320755, 0.03114478290081024, -0.054184913635253906, -0.03459196165204048, -0.012825259007513523, 0.01200895942747593, 0.05223194509744644, 0.004578023217618465, 0.008135161362588406, 0.07824058830738068, 0.030907804146409035, 0.011962704360485077, 0.004304982256144285, 0.017577828839421272, 0.03994269669055939, 0.0011089729377999902, -0.039001960307359695, 0.04514490067958832, -0.012129595503211021, -0.015229052864015102, -0.043156687170267105, 0.035345207899808884, -0.014031433500349522, -0.3069770634174347, 0.006203246768563986, -0.023196155205368996, -0.044593844562768936, 0.012337394058704376, -0.015905184671282768, 0.008764920756220818, -0.02339792624115944, -0.04423067346215248, 0.01273404061794281, -0.018185578286647797, -0.039016783237457275, -0.03379569202661514, 0.06362836807966232, 0.02939329296350479, 0.01852315664291382, 0.026014119386672974, -0.02822902239859104, 0.001011850661598146, 0.051812540739774704, -0.0005364349344745278, -0.08930563926696777, -0.03953726217150688, 0.05195869505405426, 0.017203835770487785, 0.08990755677223206, -0.06187927722930908, -0.004380404017865658, -0.08704055100679398, -0.00028432116960175335, 0.0075762164779007435, -0.015009185299277306, 0.010865364223718643, -0.012380613945424557, -0.014705748297274113, -0.05039761960506439, 0.04631068557500839, 0.002966028405353427, -0.013507477007806301, -0.003924758173525333, -0.024104243144392967, -0.028834812343120575, -0.014773025177419186, 0.030696051195263863, 0.05654159560799599, 0.0019851508550345898, -0.05318697914481163, 0.0025745993480086327, -0.0278609786182642, 0.07077653706073761, 0.004734589718282223, -0.005408665165305138, -0.03281060606241226, 0.015650173649191856, -0.03878198564052582, -0.005823239218443632, -0.01776643469929695, -0.0284115057438612, -0.058480072766542435, -0.014248860999941826, -0.022713525220751762, -0.025882361456751823, 0.012318803928792477, -0.016393890604376793, -0.017887994647026062, -0.06013019382953644, -0.05776406452059746, -0.017971770837903023, 0.07347560673952103, 0.003018235322088003, -0.015418602153658867, 0.01886840909719467, -0.014252919703722, -0.08845262974500656, -0.014913595281541348, 0.002334771677851677, -0.026691116392612457, 0.04147724434733391, -0.0001657108514336869, 0.060190021991729736, -0.02374093420803547, -0.05029825121164322, 0.028485072776675224, 0.004231147468090057, 0.022212021052837372, -0.01424053218215704, 0.026784460991621017, 0.03634042665362358, -0.014631254598498344, 0.019083580002188683, 0.058833349496126175, 0.0017270026728510857, -0.012851033359766006, -0.0006886824266985059, 0.02324332483112812, 0.03678949177265167, 0.022939570248126984, -0.016342362388968468, 0.021335486322641373, 0.0322335883975029, 0.020251737907528877, -0.06239468604326248, 0.02507336251437664, -0.057075485587120056, -0.03443009406328201, -0.019672852009534836, -0.028208062052726746, 0.019028592854738235, 0.03361307457089424, 0.0151530671864748, 0.023444339632987976, -0.010567395947873592, 0.027349544689059258, -0.027212245389819145, -0.011104769073426723, -0.015531145967543125, 0.017816690728068352, 0.04653874784708023, -0.014474834315478802, 0.012900451198220253, -0.039292607456445694, 0.035183969885110855, -0.013113670982420444, -0.015842966735363007, -0.04020727798342705, -0.016847098246216774, -0.0014715855941176414, -0.006544378120452166, 0.0199690293520689, 0.011872123926877975, -0.007988485507667065, 0.011281541548669338, 0.021352455019950867, -0.021505208685994148, 0.04320736974477768, -0.015401300974190235, -0.06350194662809372, -0.028952963650226593, 0.0032240499276667833, -0.018533581867814064, 0.001361734583042562, 0.018965912982821465, 0.01770922914147377, 0.017241794615983963, 0.037784650921821594, -0.005214512348175049, 0.017777657136321068, -0.016647042706608772, 0.011787308380007744, -0.005732859019190073, 0.011720120906829834, -0.044424861669540405, 0.017350586131215096, -0.03991793468594551, -0.019659869372844696, -0.0024005635641515255, 0.025365814566612244, -0.02295222133398056, -0.014010579325258732, -0.038650330156087875, 0.013929248787462711, -0.026277819648385048, -0.03806169703602791, -0.03807629272341728, 0.028712555766105652, 0.04758240655064583, -0.025845983996987343, -0.006269377656280994, 0.013637683354318142, 0.023750241845846176, 0.026083344593644142, 0.0017286291113123298, -0.04477531462907791, 0.005268062464892864, 0.010877149179577827, -0.03263113647699356, -0.00032930856104940176, -0.029999777674674988, 0.047298628836870193, -0.012463136576116085, -0.026794273406267166, -0.01997443474829197, 0.01864251308143139, -0.0029317496810108423, 0.04200424998998642, 0.04194865748286247, 0.007845601066946983, -0.00425941264256835, -0.032586775720119476, -0.013624998740851879, -0.049897897988557816, -0.013646124862134457, 0.006394725292921066, 0.007950880564749241, -0.04394051060080528, -0.04841722920536995, 0.057633426040410995, 0.0017627584747970104, 0.008257593028247356, 0.017416013404726982, 0.012428686022758484, -0.016439680010080338, -0.03656800463795662, -0.026030218228697777, 0.07758395373821259, -0.06988003849983215, -0.008169899694621563, -0.0003814359661191702, -0.009532810188829899, 0.013448061421513557, -0.008933654986321926, -0.016562020406126976, -0.035450324416160583, -0.009689515456557274, 0.031633827835321426, -0.089968740940094, -0.017205050215125084, -0.03317859396338463, 0.019013479351997375, 0.009208058938384056, 0.017903810366988182, -0.03371886536478996, -0.027587085962295532, -0.01440505776554346, -0.0158632081001997, 0.008743883110582829, -0.027956491336226463, -0.028595231473445892, 0.006115387659519911, -0.03813568502664566, -0.009357936680316925, -0.047358717769384384, 0.02504185028374195, 0.045955996960401535, -0.03280818089842796, 0.024263814091682434, -0.05574892461299896, 0.04393981769680977, -0.01388681959360838, 0.03858797997236252, -0.025505414232611656, -0.04947175830602646, -0.0067933229729533195, -0.012149159796535969, -0.03098011203110218, 0.0012500439770519733, -0.0012629827251657844, -0.016079718247056007, 0.019218111410737038, 0.06289356201887131, 0.026884881779551506, -0.002991602523252368, -0.027148587629199028, -0.024761399254202843, 0.047624874860048294, -0.05146787688136101, -0.007317713927477598, -0.023586243391036987, -0.05796632170677185, 0.010674946010112762, -0.005802310071885586, 0.0038070655427873135, -0.02158907614648342, 0.03620067238807678, 0.03569987416267395, 0.06110595911741257, 0.038513217121362686, 0.029484698548913002, 0.029575468972325325, -0.05221283808350563, 0.0043922471813857555, -0.07915021479129791, 0.0011932641500607133, 0.039807990193367004, 0.015449943020939827, 0.010081224143505096, 0.014628064818680286, -0.048202384263277054, 0.040741778910160065, -0.0846574455499649, -0.017447756603360176, 0.0421600416302681, -0.02704641968011856, -0.01289029885083437, 0.0024119652807712555, -0.0665665864944458, -0.010151145048439503, 0.018996698781847954, -0.042941637337207794, -0.0006602157955057919, -0.018169734627008438, 0.07723233848810196, -0.0028432088438421488, 0.0064544943161308765, -0.03323684260249138, 0.00524199428036809, 0.06895756721496582, 0.03121630661189556, 0.008927147835493088, 0.05036163702607155, -0.018477778881788254, 0.043481748551130295, 0.014353067614138126, 0.019843317568302155, -0.000976401090156287, -0.010621429421007633, -0.0051689171232283115, -0.02763715572655201, 0.03766283765435219, -0.013273193500936031, -0.03499165549874306, -0.03451647236943245, 0.05916867405176163, 0.011563765816390514, -0.017727108672261238, -0.07971494644880295, 0.014716892503201962, -0.044047269970178604, -0.0072136311791837215, 0.005701533053070307, -0.007895627990365028, -0.04089624434709549, 0.04351092502474785, -0.008336408995091915, 0.008455549366772175, 0.05744149163365364, 0.0035355142317712307, -0.0060674166306853294, -0.00576288066804409, 0.09171269834041595, 0.09087811410427094, 0.08192883431911469, 0.029576726257801056, 0.07204299420118332, -0.017335031181573868, -0.04668223485350609, 0.015006677247583866, -0.01996622420847416, 0.0005743533838540316, -0.014700304716825485, 0.015819724649190903, 0.049102265387773514, -0.0048597450368106365, 0.0651014894247055, -0.02189944125711918, -0.028876537457108498, 0.013339455239474773, 0.050167571753263474, 0.011793158017098904, 0.0576709508895874, -0.0001777648867573589, -0.005929470062255859, -0.030998047441244125, -0.0725594311952591, 0.05349719896912575, -0.01540929451584816, 0.0013347866479307413, 0.029639609158039093, -0.012538314796984196, 0.024525344371795654, 0.017212599515914917, 0.03634921461343765, 0.06574128568172455, -0.06489305943250656, 0.021405251696705818, -0.016074279323220253, 0.03663910925388336, 0.005957611370831728, 0.021751515567302704, -0.009785107336938381, -0.019314736127853394, 0.015175711363554, -0.04048128426074982, 0.004192032851278782, -0.007184663787484169, -0.0023404057137668133, 0.03494677320122719, -0.03536771610379219, -0.019387999549508095, 0.04771680012345314, 0.003381060902029276, -0.05060293525457382, -0.041741013526916504, -0.013829211704432964, -0.0336267463862896, -0.06549772620201111, 0.00458100251853466, 0.025347327813506126, -0.010502762161195278, -0.028429025784134865, -0.00035036858753301203, -0.03580601140856743, -0.034200724214315414, 0.04690232872962952, -0.04650961235165596, -0.03842655569314957, 0.009259837679564953, 0.0003568854881450534, 0.021301671862602234, -0.00029687301139347255, 0.044409316033124924, 0.0017833125311881304, -0.004095072858035564, -0.0003401731373742223, 0.020747849717736244, 0.039090391248464584, 0.025769084692001343, -0.00030749430879950523, -0.09326854348182678, 0.017547082155942917, 0.060000330209732056, -0.04406465217471123, -0.07547537982463837, 0.02683109976351261, -0.005553387571126223, -0.026680897921323776, 0.05719253048300743, -0.010783764533698559, 0.010461819358170033, -0.0741596594452858, -0.010092254728078842, -0.017182784155011177, -0.010510735213756561, 0.045514728873968124, -0.02160806581377983, 0.07352704554796219, 0.0015857333783060312, -0.04199182242155075, -0.024399952962994576, -0.011213570833206177, 0.018263153731822968, -0.01416816096752882, -0.01907324604690075, -0.024464698508381844, -0.014354686252772808, -0.08840274065732956, -0.013597095385193825, 0.014124619774520397, -0.008317857049405575, -0.04293564334511757, 0.029917830601334572, 0.0025296721141785383, -0.013325379230082035, -0.009827378205955029, -0.03981785103678703, 0.04055230692028999, -0.04108802601695061, -0.022680679336190224, -0.025874333456158638, 0.037877172231674194, -0.0008327002287842333, 0.008492754772305489, 0.01780225895345211, -0.051540449261665344, 0.005430283490568399, -0.012749717570841312, -0.002017390914261341, 0.03905445337295532, -0.004347771871834993, -0.01889203116297722 ]
[ -0.08474796265363693, -0.006698145065456629, -0.018106143921613693, 0.016063552349805832, 0.05130113288760185, -0.02560667134821415, -0.02699430286884308, 0.018376637250185013, 0.02123676799237728, 0.0020984658040106297, 0.016688182950019836, -0.03826942667365074, -0.02722751908004284, 0.003443470224738121, 0.011289739981293678, -0.009372800588607788, -0.007201183121651411, -0.08076564222574234, 0.027973143383860588, 0.03457426279783249, 0.009677286259829998, -0.03942224010825157, -0.023268138989806175, -0.024660561233758926, 0.035924654453992844, 0.04460514336824417, 0.0040058898739516735, -0.05039896443486214, 0.008795822970569134, -0.1983504295349121, -0.017719320952892303, 0.025687895715236664, 0.03497886657714844, -0.023258427157998085, 0.007504690904170275, 0.02628960832953453, 0.01633591577410698, 0.06129153072834015, 0.026735397055745125, 0.06306812912225723, 0.0143563998863101, 0.022340986877679825, -0.04675505310297012, -0.06011779606342316, 0.04525693133473396, 0.02336105704307556, -0.016469141468405724, -0.02426273748278618, -0.021674122661352158, 0.045023299753665924, -0.03089536726474762, 0.014213364571332932, -0.008462839759886265, 0.002858133986592293, -0.007275368552654982, 0.04535716027021408, 0.047622330486774445, 0.05276883766055107, 0.025907283648848534, 0.009388689883053303, 0.02503228932619095, 0.0033956507686525583, -0.1447746306657791, 0.04817982017993927, -0.00044619524851441383, 0.025107618421316147, -0.04663080349564552, -0.027486886829137802, -0.015567484311759472, 0.09836813807487488, 0.0011641510063782334, -0.015398586168885231, -0.014770405367016792, 0.023755259811878204, 0.0317494198679924, 0.003482640953734517, 0.022719351574778557, 0.02147418074309826, 0.02701776660978794, -0.006362199783325195, -0.019031092524528503, 0.009165069088339806, -0.017677010968327522, -0.007607123348861933, -0.030634408816695213, 0.005680582020431757, -0.012713267467916012, 0.04134395718574524, 0.03841102868318558, 0.02405206859111786, 0.07974141836166382, 0.025946825742721558, 0.006328134331852198, 0.009144342504441738, -0.09251899272203445, -0.004089060705155134, 0.000038974725612206385, 0.03880573436617851, -0.041062455624341965, 0.4651004672050476, 0.004518548026680946, -0.005816968157887459, 0.0563381090760231, 0.06019756942987442, -0.02527385577559471, -0.01709710620343685, -0.028974583372473717, -0.040004663169384, 0.005486858077347279, -0.041488707065582275, 0.005703900475054979, -0.011233888566493988, 0.052198078483343124, -0.006243380717933178, 0.022860614582896233, 0.06795735657215118, 0.027959683910012245, 0.024409709498286247, 0.03606061637401581, 0.004413353744894266, -0.026239216327667236, 0.04094619303941727, -0.0030647742096334696, -0.004285645205527544, -0.05514916405081749, -0.04018381983041763, 0.01321773324161768, 0.0708615630865097, 0.014419815503060818, -0.0020619325805455446, 0.02883116342127323, -0.07572051137685776, -0.10328555852174759, -0.003889470361173153, -0.00563030457124114, 0.0038314710836857557, 0.06423164159059525, -0.004686226136982441, 0.034369781613349915, 0.02613787353038788, 0.033003054559230804, 0.005545031279325485, 0.0009330663015134633, -0.008511146530508995, -0.0661119669675827, 0.13633057475090027, 0.03939912095665932, -0.026446593925356865, 0.006136910058557987, -0.06613991409540176, -0.007477984298020601, 0.014568940736353397, -0.004387527238577604, -0.042164284735918045, 0.013180926442146301, -0.0012104986235499382, 0.0907708927989006, -0.008467367850244045, -0.09332070499658585, -0.024552883580327034, -0.022620227187871933, -0.01961900107562542, -0.062272198498249054, 0.04834366217255592, 0.06886238604784012, -0.05200956016778946, -0.0038627267349511385, -0.01234089769423008, 0.022469479590654373, -0.06730861961841583, 0.011048851534724236, 0.0017668618820607662, -0.0220944881439209, 0.015021211467683315, 0.05377214029431343, -0.017556630074977875, -0.0440942756831646, -0.005132268648594618, 0.05445093289017677, 0.0031094211153686047, 0.017383774742484093, 0.008565079420804977, -0.049484893679618835, 0.007080106995999813, -0.056433141231536865, -0.07961943000555038, -0.05427158996462822, -0.004628803115338087, -0.026343457400798798, 0.0118176881223917, -0.018704697489738464, -0.03245169669389725, -0.06976345926523209, 0.1157049685716629, -0.04913963004946709, -0.05066822096705437, -0.002639276208356023, 0.002264405135065317, -0.02183692529797554, -0.040727268904447556, -0.07905229181051254, -0.0037064277566969395, 0.022211505100131035, 0.01718558371067047, -0.05621064081788063, 0.060863420367240906, 0.030229050666093826, -0.05808330327272415, 0.06364097446203232, 0.04097358137369156, -0.004538829438388348, -0.07364799082279205, -0.016259144991636276, 0.03536684438586235, -0.011717240326106548, 0.03949930518865585, 0.04172935709357262, 0.0005465953145176172, -0.006734312046319246, 0.015927715227007866, -0.007451712153851986, -0.01590430922806263, 0.03410210832953453, -0.3481021225452423, -0.044702790677547455, -0.047018829733133316, -0.008380451239645481, 0.03368044272065163, -0.05875643715262413, 0.0010220567928627133, 0.002600857987999916, -0.02305484749376774, 0.026574255898594856, 0.020787766203284264, -0.005442009773105383, -0.000761336472351104, -0.06877995282411575, 0.017255181446671486, -0.00029064618865959346, -0.06830842792987823, -0.048730842769145966, -0.04376978054642677, 0.021124672144651413, -0.010293642058968544, 0.008899429813027382, -0.03135857731103897, -0.0681646317243576, 0.032156459987163544, -0.02018127590417862, 0.11738184839487076, -0.011584860272705555, 0.014553430490195751, -0.020067812874913216, -0.0001648922625463456, 0.004879498854279518, -0.01746966317296028, -0.06532526016235352, 0.018445473164319992, -0.027215084061026573, -0.00923740305006504, -0.02236429788172245, -0.007255298085510731, -0.045358315110206604, -0.050864603370428085, 0.023953329771757126, -0.019564850255846977, -0.013587857596576214, -0.07772111147642136, 0.03697698563337326, -0.036018721759319305, 0.013475647196173668, -0.010137949138879776, 0.09101375192403793, 0.02802460640668869, -0.004677092656493187, 0.0366150364279747, -0.032975636422634125, 0.013271532021462917, -0.026257622987031937, -0.09292720258235931, 0.037209462374448776, 0.010116531513631344, 0.01632629707455635, 0.02872927486896515, 0.051455844193696976, 0.04527391865849495, -0.026448283344507217, 0.01088821329176426, 0.01795964688062668, 0.0024188573006540537, -0.03965882956981659, 0.02584115043282509, -0.011044162325561047, -0.008415638469159603, 0.06804054975509644, -0.018982160836458206, -0.0486612431704998, 0.05244416743516922, 0.06474172323942184, -0.001791974063962698, -0.01796843111515045, 0.02232457511126995, -0.0023088196758180857, 0.02651175484061241, -0.04566974937915802, 0.03025268204510212, 0.015506979078054428, 0.0036300013307482004, 0.020864160731434822, -0.021775249391794205, 0.0029181295540183783, 0.030942028388381004, 0.01956619694828987, -0.023619066923856735, 0.0061590406112372875, -0.04069776460528374, -0.05123256891965866, 0.04271271079778671, 0.004985760431736708, -0.24727466702461243, 0.008207393810153008, 0.0695449486374855, 0.013467704877257347, 0.010419289581477642, 0.024295177310705185, 0.018924396485090256, -0.014759749174118042, 0.014385021291673183, -0.009031110443174839, 0.023517530411481857, 0.03163973614573479, 0.011098506860435009, -0.0008613324025645852, -0.019803859293460846, -0.04994918778538704, 0.03711692616343498, -0.02010367251932621, 0.0394764207303524, 0.01300226803869009, 0.032913755625486374, -0.0005778003251180053, 0.15765006840229034, 0.009873621165752411, -0.00733842421323061, -0.00964460801333189, -0.01171108242124319, -0.010436606593430042, 0.049792125821113586, -0.0070400480180978775, -0.01371914241462946, -0.0029283748008310795, 0.02113739214837551, 0.02220946177840233, 0.045014794915914536, -0.038888707756996155, -0.024538734927773476, 0.03055037185549736, 0.02455252781510353, -0.008719501085579395, 0.03794250264763832, 0.006900053471326828, -0.03361670300364494, 0.017860645428299904, 0.07700654119253159, 0.04208865389227867, -0.03114871308207512, -0.0047210585325956345, -0.07890861481428146, -0.015635136514902115, -0.031233564019203186, -0.03264942020177841, 0.01158293429762125, -0.019888270646333694, 0.00612569460645318, 0.06133946776390076, -0.007488809525966644, -0.01319038961082697, 0.023277001455426216, 0.016942458227276802, -0.018990715965628624, 0.006600947584956884, 0.08601587265729904, 0.02633562870323658, 0.018695568665862083 ]
[ 0.010287302546203136, 0.026429902762174606, -0.009068286046385765, 0.04067910462617874, -0.027463197708129883, 0.02920832857489586, -0.012267280369997025, 0.007198872976005077, 0.03634033352136612, -0.01991245336830616, -0.05982036888599396, 0.018680382519960403, -0.05740920081734657, -0.010147730819880962, -0.006335376296192408, -0.02965451218187809, 0.01861977018415928, -0.023413337767124176, 0.05266909673810005, 0.032595451921224594, -0.01463448628783226, -0.0062131816521286964, -0.033593591302633286, 0.016595058143138885, -0.026541849598288536, 0.012329595163464546, -0.03875745087862015, -0.00884737353771925, 0.008367292582988739, -0.11853465437889099, -0.042103830724954605, 0.01138526201248169, 0.045420195907354355, 0.02672657184302807, -0.016675107181072235, -0.01666761003434658, -0.01609206199645996, 0.04382212460041046, 0.020273633301258087, -0.0059083253145217896, 0.005362348165363073, 0.009075954556465149, -0.006233435124158859, 0.028840232640504837, 0.009161386638879776, 0.007914634421467781, 0.004800052847713232, 0.0019256540108472109, -0.05679544433951378, 0.038918156176805496, -0.050019122660160065, 0.028219982981681824, -0.0009951890679076314, -0.022311067208647728, 0.00936440471559763, 0.03264979273080826, 0.009068228304386139, -0.0539373904466629, 0.027867557480931282, -0.033551618456840515, 0.00008068479655776173, -0.005861727055162191, -0.03258773311972618, 0.0036515011452138424, -0.038575153797864914, -0.03944128751754761, 0.006565513089299202, 0.03835921734571457, -0.011913593858480453, -0.015241631306707859, 0.06469455361366272, 0.0274294875562191, -0.04002398997545242, -0.037453435361385345, 0.029923558235168457, 0.04680937901139259, 0.005892029497772455, -0.050710368901491165, 0.03507107123732567, -0.025200290605425835, -0.03235850855708122, -0.014988328330218792, 0.051493048667907715, -0.013236749917268753, -0.005089438054710627, -0.012288323603570461, 0.018155090510845184, 0.016112320125102997, 0.017697565257549286, -0.057394884526729584, 0.004233677871525288, 0.019683320075273514, -0.025690240785479546, 0.037753064185380936, -0.06073454022407532, -0.013916563242673874, -0.01021247822791338, -0.02366209402680397, -0.004931918811053038, 0.8098046183586121, 0.022520054131746292, 0.0431206189095974, 0.0218428336083889, 0.021849891170859337, 0.03572520986199379, -0.0017490459140390158, 0.039326462894678116, -0.021120447665452957, 0.00002704973849176895, -0.04497287794947624, 0.04059803858399391, -0.01142080407589674, 0.004982579965144396, 0.010931744240224361, 0.017105309292674065, 0.045743461698293686, 0.0043958318419754505, 0.019712256267666817, -0.0384969599545002, 0.05077555030584335, 0.044230956584215164, -0.0015623552026227117, 0.013210966251790524, 0.03683658316731453, 0.016630368307232857, -0.159537672996521, -0.004244084935635328, -7.982191450522866e-33, 0.04546639695763588, -0.01992330700159073, 0.010669318959116936, 0.004029224626719952, 0.01439251471310854, -0.01717406138777733, 0.013631729409098625, -0.010525843128561974, 0.023021988570690155, -0.0015413434011861682, -0.01283368468284607, 0.023854924365878105, -0.005781922489404678, -0.019860846921801567, 0.026847880333662033, -0.00005624853656627238, -0.04564407840371132, 0.038289085030555725, 0.031545914709568024, 0.03778887912631035, 0.02908807434141636, -0.011923701502382755, 0.029429003596305847, -0.01377061940729618, 0.011321235448122025, 0.045388057827949524, 0.004370180424302816, -0.05253123492002487, 0.03559654578566551, -0.04070822522044182, 0.023252075538039207, -0.02737496979534626, 0.005155088379979134, -0.01753784716129303, -0.00031600205693393946, -0.020594555884599686, -0.013159126043319702, 0.026610929518938065, -0.012117360718548298, 0.021366534754633904, -0.02064395323395729, -0.018724989145994186, -0.03317991644144058, -0.060145266354084015, 0.006835263222455978, -0.031354572623968124, 0.03713453188538551, 0.014424360357224941, -0.01360972598195076, 0.03210700675845146, 0.012900901958346367, -0.020833421498537064, 0.023459970951080322, -0.02690766379237175, -0.015965884551405907, -0.030280740931630135, -0.004895408172160387, 0.03313547372817993, 0.039769068360328674, -0.029518064111471176, 0.009400998242199421, -0.01761321909725666, -0.05177640542387962, 0.0027093037497252226, -0.03931647911667824, 0.04923352599143982, 0.0015926440246403217, -0.004063634667545557, -0.015676017850637436, -0.0004969354486092925, -0.010900849476456642, -0.026743607595562935, -0.0030782795511186123, 0.00703327264636755, -0.015094923786818981, 0.02712412178516388, -0.00871606171131134, 0.054684873670339584, -0.03607760742306709, 0.049877528101205826, -0.02729059010744095, 0.0012341220863163471, -0.0571708008646965, -0.04824883118271828, -0.00188161781989038, 0.016432302072644234, 0.06392063200473785, -0.007188725750893354, 0.007505870424211025, -0.010832982137799263, 0.016352996230125427, 0.028958339244127274, 0.014068200252950191, -0.003636464010924101, 0.005297289229929447, 8.338909170275305e-33, -0.020137978717684746, -0.02984587848186493, -0.006759164854884148, -0.004901522304862738, 0.034394826740026474, -0.05715367943048477, 0.0073008048348128796, 0.02057473734021187, -0.007012008689343929, -0.0026808816473931074, -0.0386178083717823, 0.006965441629290581, -0.04168898984789848, 0.021826039999723434, 0.005229699891060591, -0.023427309468388557, 0.05050865188241005, 0.00991237722337246, 0.008010433986783028, 0.0030445358715951443, 0.0320301279425621, -0.003507190151140094, 0.006398897152394056, 0.028023390099406242, 0.047248415648937225, 0.07406903803348541, -0.0012308680452406406, -0.03353669494390488, -0.01183222234249115, -0.041112788021564484, 0.010527353733778, -0.053102631121873856, 0.02363019622862339, 0.03509405627846718, -0.039886560291051865, 0.04359050467610359, -0.008284599520266056, 0.029318517073988914, -0.006316299084573984, -0.012881899252533913, -0.01594999060034752, 0.011054675094783306, -0.015085937455296516, 0.0059674889780581, -0.0015540258027613163, 0.020879434421658516, 0.03200831636786461, -0.02881128154695034, 0.029891351237893105, -0.006892997305840254, -0.026170147582888603, -0.0213983952999115, 0.006386685650795698, -0.0013347642961889505, -0.023118536919355392, 0.01953899674117565, -0.019869813695549965, 0.009429451078176498, -0.0014053734485059977, -0.014421912841498852, -0.019408442080020905, 0.04338819906115532, -0.011595587246119976, -0.0036870527546852827, -0.012663752771914005, 0.03085012175142765, -0.027675993740558624, -0.033470503985881805, -0.011007190681993961, -0.022970030084252357, -0.05846026539802551, 0.057902511209249496, -0.026082385331392288, 0.055734388530254364, -0.006109707057476044, 0.01683417335152626, -0.01499777752906084, -0.02870832569897175, 0.011398760601878166, -0.004754155408591032, 0.0051607792265713215, -0.031553030014038086, -0.00523325614631176, -0.00802630465477705, -0.0036536897532641888, 0.015668481588363647, 0.016287146136164665, -0.010888096876442432, 0.02244427613914013, -0.0328335277736187, -0.03015900030732155, 0.004393520765006542, 0.03083062544465065, -0.01238094549626112, -0.03279418870806694, -1.3338336657398031e-8, -0.01420598290860653, 0.017370617017149925, -0.027993151918053627, 0.042861394584178925, -0.004265095107257366, -0.0032018909696489573, 0.011460535228252411, -0.011566807515919209, -0.015232025645673275, -0.0158422589302063, 0.07112196832895279, -0.01844126172363758, -0.004323574248701334, -0.036612916737794876, 0.031766921281814575, -0.05755089595913887, 0.009932308457791805, -0.01912996917963028, 0.02704567462205887, 0.0003400551504455507, 0.038743361830711365, 0.03244813159108162, 0.02603093907237053, 0.001947162440046668, 0.004150141961872578, 0.0018091531237587333, -0.0234521497040987, -0.11674814671278, 0.027468707412481308, -0.004752029664814472, 0.015170847065746784, -0.026365850120782852, 0.033728133887052536, 0.055911242961883545, 0.0244732853025198, -0.05176752805709839, 0.027147207409143448, 0.024577144533395767, 0.0038237886037677526, 0.009447993710637093, -0.010961447842419147, 0.004511249717324972, -0.03841979801654816, -0.044156670570373535, -0.00912438239902258, -0.05845028534531593, -0.04437785968184471, -0.01877862960100174, 0.024881752207875252, -0.0494941771030426, 0.025992028415203094, 0.008263400755822659, 0.021694732829928398, 0.04038260504603386, 0.014926126226782799, 0.019933246076107025, 0.008169468492269516, -0.0010754246031865478, -0.0287178847938776, -0.04199976846575737, -0.0060018389485776424, 0.00822464283555746, -0.01869928650557995, -0.0166307520121336 ]
agile-re-estimating-cards
https://markhneedham.com/blog/2009/02/11/agile-re-estimating-cards
false
2009-02-16 22:04:20
C#: Object Initializer and The Horse Shoe
[ "coding", "c" ]
[ ".NET" ]
The http://davidhayden.com/blog/dave/archive/2006/12/04/ObjectInitializationExpressions.aspx[object initializer] syntax introduced in C# 3.0 makes it easier for us to initialise our objects in one statement but I think we need to remember that they are not http://en.wikipedia.org/wiki/Named_parameter[named parameters] and that there is still a place (a very good one actually) for creating objects from constructors or factory methods. Unfortunately what I think the cleaner syntax does is encourage us to create objects with half the fields populated and half of them null by default. When we didn't have the object initializer syntax we would have to set properties on objects like so: [source,csharp] ---- var foo = new Foo(); var bar = new Bar(); bar.Baz = new Baz(); foo.Bar = bar; ---- It takes a lot of extra boiler plate code to achieve this and it looks terrible, hopefully driving us towards using the constructor to initialise our objects. Object initializers makes it much easier to achieve the same thing but at its worst we end up with code similar to the following which to me *looks a bit like a horse shoe*, an anti pattern in my opinion. [source,csharp] ---- new Foo { Bar = new Bar { Baz = new Baz { Other = new Other { Value = "value", OtherValue = "otherValue" } } } } ---- I don't think we should write code like this - to me *it's not expressive and it's difficult to understand* why certain fields are set or not set. You end up having to think how this code fits into the bigger picture in order to understand it - extra context which shouldn't be necessary. From experience we also end up in the debugger much more frequently than should be the case, trying to work out why certain fields are set. I feel this leads to very implicit code where you have to work out what is going on/where you are in the work flow by checking the state of our objects. Of course the problem here is the reliance on properties (i.e. getters/setters) to instantiate our objects rather than object initializer in itself but the new syntax has made it much easier for us to do it. Certainly there are some times when it's quite nice to have the object initializer syntax but as with most things we need to be careful not to overdo it.
null
null
[ 0.01667904295027256, -0.0013612147886306047, -0.0138243418186903, 0.010899629443883896, 0.06496967375278473, 0.022619739174842834, 0.015188128687441349, 0.016004709526896477, -0.01085912436246872, -0.02660667523741722, -0.029941637068986893, -7.591907547066512e-7, -0.07205311208963394, 0.025566209107637405, -0.004223992116749287, 0.07255803793668747, 0.08423063158988953, -0.009721863083541393, 0.005543103441596031, -0.0033987907227128744, 0.002326413057744503, 0.06279949098825455, -0.008546496741473675, 0.011328806169331074, 0.04609619081020355, 0.03067082166671753, -0.02920491248369217, 0.0008314846782013774, -0.047122713178396225, -0.019193323329091072, -0.002175569999963045, 0.027457278221845627, -0.010576339438557625, -0.02932128868997097, -0.0008611145312897861, -0.032402750104665756, -0.013607156462967396, 0.005952330306172371, -0.0002822046517394483, 0.022730985656380653, -0.08473944664001465, 0.023783382028341293, 0.006507121492177248, 0.0012182618957012892, -0.04045209661126137, -0.02571229077875614, -0.04475600644946098, -0.0036896192468702793, -0.03974131867289543, -0.02430318295955658, -0.0598343089222908, 0.0471758209168911, -0.029516149312257767, 0.024958962574601173, -0.011409243568778038, 0.039729077368974686, 0.010290154255926609, -0.07864458858966827, 0.02231479622423649, -0.06534657627344131, 0.01906570978462696, 0.016237322241067886, 0.00437839375808835, 0.019316574558615685, 0.031552575528621674, 0.013153504580259323, -0.021851029247045517, 0.026660429313778877, -0.04273991659283638, -0.020727619528770447, -0.009940478950738907, -0.015453405678272247, 0.004865746013820171, -0.006226417608559132, 0.008623785339295864, -0.029016397893428802, -0.017061222344636917, 0.035435620695352554, 0.02192584238946438, 0.06287911534309387, -0.0027779503725469112, 0.00028623463003896177, 0.03902779147028923, -0.006382300052791834, 0.01673094555735588, -0.030001910403370857, -0.035548046231269836, 0.013255473226308823, -0.017616938799619675, 0.051445405930280685, 0.01969211734831333, -0.002445267979055643, 0.00005371764564188197, 0.024763407185673714, 0.009976537898182869, -0.0008758571930229664, 0.01740909181535244, -0.00884286966174841, 0.009514636360108852, 0.00023954309290274978, -0.025065766647458076, -0.019377194344997406, 0.029171811416745186, 0.012671297416090965, -0.06254729628562927, -0.019566435366868973, -0.04613552615046501, 0.007963771000504494, -0.0015600218903273344, 0.003845399711281061, -0.06085392087697983, 0.013102478347718716, -0.0103351641446352, -0.009621620178222656, -0.07235603034496307, 0.02707437239587307, 0.019449209794402122, 0.0046809217892587185, -0.007884192280471325, 0.035764552652835846, 0.0338425412774086, 0.02829436957836151, -0.0061873262748122215, 0.06751628965139389, -0.026643404737114906, 0.037361569702625275, -0.03508593142032623, 0.08315000683069229, -0.01649743877351284, -0.07818573713302612, -0.013837398029863834, 0.05706650763750076, -0.010433288291096687, 0.00523948622867465, 0.014744168147444725, -0.036126166582107544, 0.007218598388135433, -0.012295537628233433, 0.04126550629734993, 0.0430886372923851, -0.030697226524353027, -0.0801335945725441, 0.03218105062842369, -0.0027199951000511646, 0.002437915187329054, 0.03146134689450264, 0.005484535358846188, -0.011746025644242764, 0.002588723786175251, 0.046291284263134, 0.027239618822932243, 0.06230705976486206, 0.04785347729921341, -0.02785634621977806, 0.0036178953014314175, 0.06725526601076126, -0.006843026727437973, 0.015685291960835457, -0.002584017813205719, 0.02832913212478161, 0.039615705609321594, 0.028817282989621162, 0.039817627519369125, 0.0476643331348896, 0.039648495614528656, 0.010491856373846531, -0.00581642659381032, 0.04997241869568825, 0.007528646383434534, -0.029134517535567284, -0.06256399303674698, -0.04504803940653801, 0.03572086989879608, -0.05880840867757797, -0.0022082447540014982, 0.026150761172175407, 0.06263549625873566, -0.03479708731174469, 0.08339664340019226, -0.010894379578530788, -0.06427198648452759, 0.014166594482958317, -0.018257008865475655, 0.014050286263227463, 0.015302831307053566, -0.0013974191388115287, 0.06524443626403809, 0.011200102977454662, 0.014510268345475197, 0.02342592179775238, -0.038197897374629974, -0.05332142114639282, -0.024413857609033585, -0.01688370853662491, 0.04898863658308983, -0.04078890010714531, -0.03505746275186539, 0.08833920210599899, 0.03235785663127899, 0.053259141743183136, 0.03384331986308098, -0.020552676171064377, -0.006014363374561071, -0.0188930481672287, -0.022393807768821716, 0.031060606241226196, 0.02809157222509384, -0.0028473108541220427, -0.039810407906770706, 0.01310525182634592, -0.014292499050498009, -0.013947862200438976, 0.055888108909130096, -0.004666703753173351, 0.036886103451251984, 0.015269297175109386, 0.022364137694239616, -0.01786370389163494, 0.04224833473563194, -0.061851151287555695, 0.016805775463581085, -0.011708776466548443, 0.00802036002278328, -0.032454781234264374, 0.010668470524251461, 0.130472332239151, 0.050534069538116455, -0.05147892236709595, -0.054534826427698135, -0.006097207777202129, 0.054144393652677536, -0.034135933965444565, 0.004196093417704105, -0.02188028022646904, -0.019417734816670418, 0.0005141512374393642, -0.022251196205615997, 0.008839106187224388, -0.0017166240140795708, -0.017756134271621704, 0.04267534986138344, 0.062117382884025574, -0.03567397594451904, 0.04725954681634903, 0.005877811927348375, -0.012955199927091599, 0.013332689180970192, -0.031151367351412773, -0.09700138866901398, 0.0022430287208408117, 0.01147401612251997, -0.004679279867559671, 0.07726230472326279, 0.007849925197660923, -0.02961939014494419, 0.001108155818656087, -0.07571329921483994, 0.00798219908028841, 0.020052794367074966, 0.06324489414691925, -0.0017123064026236534, 0.06480403244495392, -0.023338180035352707, -0.0032856594771146774, -0.007535265292972326, -0.054759103804826736, 0.023164473474025726, 0.023273872211575508, 0.01455784309655428, 0.054236263036727905, -0.01006722915917635, 0.003548568347468972, 0.020969528704881668, 0.0055795772932469845, -0.03392663598060608, -0.003226060885936022, 0.036822084337472916, -0.0044841100461781025, -0.022097794339060783, -0.034006282687187195, -0.056505002081394196, 0.03009817749261856, -0.03586769476532936, -0.03506015986204147, -0.006374790798872709, -0.078216053545475, 0.0317746177315712, -0.08501835912466049, -0.08400025963783264, -0.022879060357809067, 0.028821144253015518, 0.028700677677989006, -0.0003444260510150343, 0.042266592383384705, 0.08482689410448074, 0.02856120839715004, -0.010066280141472816, 0.0006756755174137652, -0.0025074726436287165, 0.022387251257896423, -0.02246784418821335, 0.01955883391201496, 0.010996159166097641, 0.0010919825872406363, -0.00048519467236474156, -0.02708669938147068, 0.013919619843363762, 0.02436027117073536, -0.26636767387390137, 0.03876102715730667, -0.004794363863766193, -0.056875962764024734, 0.01733814924955368, 0.004455803893506527, 0.03452644124627113, -0.03619777783751488, -0.03489386662840843, 0.06469988822937012, -0.03139278665184975, -0.06019191816449165, -0.0374898798763752, 0.05129336193203926, -0.008510532788932323, 0.033750019967556, -0.0028609056025743484, -0.029811551794409752, -0.02887086383998394, 0.07514242827892303, -0.03623456135392189, -0.06423629820346832, -0.000018887909391196445, 0.038737036287784576, 0.02565176971256733, 0.05236560478806496, -0.09105457365512848, 0.031204383820295334, -0.03948236629366875, -0.004073407966643572, -0.021048039197921753, -0.009632175788283348, 0.014075926505029202, -0.03549196571111679, -0.03808508813381195, -0.03295883163809776, -0.002467044861987233, 0.027959784492850304, -0.003954004961997271, 0.008916729129850864, -0.04937412962317467, -0.059825699776411057, -0.01292705349624157, 0.0030257808975875378, 0.06171455606818199, -0.022634761407971382, -0.0671607181429863, -0.03304082527756691, -0.06838706135749817, 0.04667578637599945, -0.016562510281801224, -0.0321899838745594, -0.005290455650538206, 0.03237763047218323, -0.014195378869771957, -0.021799206733703613, 0.01033714134246111, -0.004395277705043554, -0.034206822514534, -0.03815459832549095, -0.0013542721280828118, -0.042637769132852554, -0.015873847529292107, -0.032815076410770416, 0.011898411437869072, -0.05810467526316643, -0.05619967356324196, -0.0048036761581897736, 0.0702773854136467, 0.047513123601675034, 0.010393664240837097, 0.014258230105042458, 0.003601925680413842, -0.10129645466804504, 0.018723487854003906, -0.04374859109520912, -0.013742874376475811, -0.04806295409798622, -0.013558962382376194, 0.06009475514292717, -0.029166458174586296, -0.0312691330909729, 0.047187689691782, 0.020767906680703163, -0.0010968828573822975, 0.00656242948025465, 0.03745844215154648, 0.002405924489721656, -0.01867995224893093, 0.005415642634034157, 0.05390907824039459, 0.012327269650995731, 0.015370960347354412, -0.04425873979926109, 0.0024909679777920246, 0.03149314969778061, 0.035923171788454056, -0.012930610217154026, 0.03062424622476101, 0.012384149245917797, 0.05226902291178703, -0.05022183433175087, 0.04381680488586426, -0.021406376734375954, -0.004813926760107279, -0.019494177773594856, -0.055331066250801086, 0.04130670800805092, 0.03927946463227272, 0.006865095347166061, -0.017340680584311485, -0.03036329336464405, -0.003148095915094018, -0.05049929395318031, -0.007382840849459171, -0.04240407422184944, 0.008682400919497013, 0.013640197925269604, -0.018254412338137627, -0.02552873082458973, -0.04960938170552254, 0.03658493980765343, -0.004075891803950071, 0.003988365177065134, -0.06862012296915054, -0.06374140828847885, -0.010301964357495308, -0.012667760252952576, -0.011603188700973988, 0.024781852960586548, -0.010403132997453213, 0.05324860289692879, 0.007112234365195036, -0.038905687630176544, -0.006776144728064537, 0.017756251618266106, -0.02561851218342781, -0.05622940883040428, -0.03980550915002823, -0.00872314628213644, 0.0043482473120093346, -0.009839721955358982, 0.02344001643359661, 0.028250813484191895, 0.04812674969434738, 0.017666323110461235, 0.07167815417051315, 0.010116158984601498, -0.012978684157133102, 0.0018371770856902003, 0.026972712948918343, -0.09379943460226059, 0.022852899506688118, -0.04165610298514366, -0.05500373989343643, -0.0338272824883461, 0.038979027420282364, -0.03276616334915161, -0.032347191125154495, -0.03814008831977844, 0.05517295002937317, -0.03897281363606453, -0.04633834958076477, -0.044995661824941635, 0.021772034466266632, 0.05417545884847641, 0.00006148807005956769, 0.0294522475451231, -0.025810474529862404, 0.003478030441328883, 0.03402997925877571, 0.020807072520256042, -0.08470815420150757, 0.014286598190665245, -0.006517620757222176, -0.025629093870520592, -0.01888336054980755, 0.029125811532139778, 0.030923742800951004, 0.009843721985816956, 0.013909700326621532, 0.006595078390091658, 0.01730339042842388, 0.011638951487839222, 0.037906378507614136, 0.003503859508782625, 0.010384948924183846, -0.009168288670480251, -0.01705005019903183, -0.009820421226322651, -0.027657264843583107, -0.04741957411170006, -0.0004408505919855088, 0.06110464036464691, -0.04208127036690712, -0.04814387112855911, 0.010786937549710274, 0.019899971783161163, 0.02040766179561615, 0.030006645247340202, 0.014269961975514889, 0.013049072585999966, -0.021349160000681877, 0.018199395388364792, 0.060102369636297226, -0.027088573202490807, 0.008353141136467457, -0.0019109823042526841, 0.021543731912970543, 0.058551251888275146, 0.02343442104756832, -0.052152931690216064, -0.001572985085658729, -0.026208456605672836, 0.015313828364014626, -0.045125748962163925, -0.018144678324460983, -0.025567907840013504, 0.0049015735276043415, 0.004741583485156298, 0.0027658180333673954, -0.013822091743350029, 0.009700865484774113, -0.02106432244181633, -0.029806943610310555, 0.03767388314008713, -0.02454805001616478, 0.01283621322363615, 0.021235661581158638, -0.038187261670827866, 0.007418251596391201, 0.0008503698045387864, 0.019121937453746796, 0.009444382973015308, -0.027312925085425377, -0.018931826576590538, -0.06480992585420609, 0.028138915076851845, 0.0035397845786064863, 0.05780382826924324, 0.018820857629179955, -0.027214262634515762, -0.012943522073328495, -0.022811006754636765, -0.028679022565484047, -0.0032153651118278503, -0.018267277628183365, -0.0203176848590374, 0.019814757630228996, 0.04683826118707657, -0.0012719056103378534, 0.02835739403963089, -0.0033180629834532738, -0.009103688411414623, 0.05637982860207558, -0.060271136462688446, -0.02335663139820099, -0.02597891353070736, -0.07810001820325851, 0.007070996332913637, 0.02962406352162361, 0.03228830173611641, -0.02361232601106167, 0.05306784436106682, 0.04861002415418625, 0.029156222939491272, 0.02961399033665657, 0.028094075620174408, 0.04472868889570236, -0.04546422138810158, 0.010475357063114643, -0.09050019085407257, 0.0332704596221447, 0.04436017572879791, 0.040566325187683105, -0.02970440313220024, -0.041029609739780426, -0.005170729011297226, 0.039380475878715515, -0.06815852969884872, -0.029523836448788643, 0.03378024324774742, 0.03269905969500542, 0.0015681423246860504, -0.015950990840792656, -0.046914272010326385, 0.007323992904275656, 0.024185137823224068, -0.045136064291000366, -0.02450539357960224, -0.03146543726325035, 0.0482797846198082, 0.006588022690266371, 0.0092558478936553, -0.05281095951795578, -0.010002709925174713, 0.06847254186868668, 0.03623642399907112, 0.046064358204603195, 0.0400029718875885, -0.03550470247864723, 0.0385860949754715, 0.038715947419404984, -0.03926099091768265, -0.024176770821213722, -0.0064409165643155575, 0.011178798973560333, -0.05028035491704941, -0.00978383980691433, 0.02809993550181389, -0.05256388708949089, -0.055521633476018906, 0.0666048601269722, 0.0006636548787355423, -0.017680050805211067, -0.03204873576760292, 0.0050410679541528225, -0.020260397344827652, -0.030325977131724358, -0.025947483256459236, 0.015443370677530766, -0.009993286803364754, 0.05654684081673622, 0.0057716029696166515, -0.022618070244789124, 0.05449281632900238, -0.005071035120636225, 0.001056040171533823, -0.012440227903425694, 0.07220160961151123, 0.08749928325414658, 0.034909047186374664, 0.0029780687764286995, 0.03647565841674805, -0.033087216317653656, -0.06133738160133362, 0.019680283963680267, -0.03931884095072746, 0.007760049309581518, -0.02703411877155304, 0.013491165824234486, 0.06536567956209183, 0.014182230457663536, 0.045919764786958694, -0.05089183151721954, -0.0009046233026310802, -0.011612762697041035, 0.049538325518369675, 0.02093660831451416, 0.04240105301141739, 0.00629684142768383, 0.0036144601181149483, 0.01696868985891342, -0.05096790939569473, 0.026206525042653084, -0.01924738474190235, -0.015494618564844131, 0.019377008080482483, 0.0049673100002110004, -0.005576909054070711, 0.002417898504063487, 0.03559883311390877, 0.08148075640201569, -0.04194023087620735, -0.011688877828419209, 0.0018288926221430302, 0.016186553984880447, 0.03210259974002838, -0.03187974542379379, -0.004248818848282099, -0.030485589057207108, 0.001430418575182557, 0.018378492444753647, -0.010131948627531528, -0.042144328355789185, -0.010311652906239033, 0.04378664866089821, -0.008953345939517021, 0.006281379610300064, 0.004122811369597912, 0.026693979278206825, -0.010027502663433552, -0.04855426400899887, -0.03319280222058296, -0.032757800072431564, -0.08024559170007706, -0.02417006716132164, 0.00785050168633461, -0.01618162728846073, 0.0006850552163086832, -0.03544764965772629, -0.0052790711633861065, -0.0025494771543890238, 0.03786483034491539, -0.02584134228527546, -0.02201186493039131, 0.025663098320364952, 0.013773636892437935, 0.03498709574341774, 0.0488070510327816, 0.007520103827118874, 0.015886884182691574, -0.030568847432732582, -0.028883865103125572, -0.009999816305935383, 0.03739122673869133, -0.0038096364587545395, -0.006279869005084038, -0.09542306512594223, 0.011538272723555565, 0.010972760617733002, -0.024774927645921707, -0.07181528955698013, 0.019907407462596893, 0.018451085314154625, -0.006512254010885954, 0.05057215318083763, -0.01219666562974453, -0.016053659841418266, -0.017782852053642273, -0.012830696068704128, 0.033044829964637756, 0.01527284923940897, 0.039014387875795364, -0.002418696880340576, 0.07831579446792603, 0.03749838471412659, -0.028798213228583336, -0.009768020361661911, -0.01250566728413105, 0.003940473310649395, 0.024322019889950752, -0.009444376453757286, -0.011531166732311249, -0.03121335804462433, -0.04416666552424431, -0.0028358695562928915, 0.01714925840497017, -0.027931541204452515, -0.04797210916876793, 0.010513557121157646, 0.05323868244886398, -0.06360788643360138, 0.03654081001877785, -0.0025368400383740664, 0.041190944612026215, -0.022763866931200027, -0.033348340541124344, 0.0006287969299592078, 0.0151867950335145, 0.009125974029302597, -0.0018888185732066631, 0.006970511749386787, -0.004987374413758516, -0.04030846804380417, -0.04052460938692093, 0.03920593857765198, 0.0321962833404541, -0.028111614286899567, 0.03499772399663925 ]
[ -0.09579476714134216, -0.01241760328412056, -0.04656488448381424, -0.04462571069598198, 0.002626972272992134, -0.016872858628630638, 0.02211660146713257, -0.020862581208348274, 0.03875410556793213, -0.001992478733882308, -0.0022045050282031298, -0.0491146594285965, -0.026362339034676552, 0.01830149255692959, 0.055329203605651855, 0.010103881359100342, -0.061084941029548645, -0.018112702295184135, -0.031410638242959976, 0.01735633797943592, 0.04049275070428848, -0.028779899701476097, -0.036471009254455566, -0.051843639463186264, 0.006833640392869711, 0.06333326548337936, 0.037168242037296295, -0.02067730203270912, 0.04354838281869888, -0.22707615792751312, -0.04039931297302246, -0.0014734551077708602, 0.031031308695673943, -0.017838874831795692, -0.006186038721352816, -0.00042747921543195844, 0.0323428213596344, 0.05862017720937729, -0.017127258703112602, 0.03799345716834068, 0.013096331618726254, 0.040409155189991, -0.0263446606695652, -0.023549191653728485, 0.023689739406108856, -0.008134542964398861, -0.004693139810115099, -0.03298568353056908, -0.031165828928351402, 0.0298035629093647, -0.028664739802479744, -0.029059378430247307, -0.04599911719560623, -0.0077788191847503185, 0.02861059084534645, 0.021642040461301804, 0.031510140746831894, 0.05540087819099426, 0.01763293147087097, -0.002085847780108452, 0.0018010642379522324, -0.04845161363482475, -0.10897156596183777, 0.09684214740991592, 0.04832662642002106, 0.043250977993011475, 0.0035665868781507015, -0.058474842458963394, -0.014438418671488762, 0.06004496291279793, 0.03211935609579086, -0.0006343581480905414, 0.002683294704183936, 0.04351748153567314, 0.021880200132727623, -0.044760897755622864, -0.006499230861663818, 0.021536460146307945, 0.07480812817811966, -0.01622938923537731, -0.029074331745505333, -0.027026711031794548, 0.019783180207014084, 0.012382537126541138, -0.05728570371866226, 0.02601727657020092, 0.011260719038546085, -0.019490445032715797, 0.026399632915854454, 0.04060828685760498, 0.0029824438970535994, -0.05397352948784828, 0.0312781035900116, 0.009321445599198341, -0.06542663276195526, 0.024127094075083733, -0.04956080764532089, -0.008434380404651165, -0.03461219742894173, 0.38808611035346985, -0.049178265035152435, -0.029773103073239326, 0.037264902144670486, 0.018910208716988564, -0.025750232860445976, 0.02501845918595791, -0.002782308729365468, -0.04358645901083946, -0.0006250852602533996, -0.019367419183254242, -0.01671593450009823, 0.036663349717855453, -0.013224884867668152, -0.0796787217259407, -0.016923239454627037, -0.024690750986337662, 0.01330466940999031, -0.02631000243127346, 0.017967818304896355, 0.03118661604821682, 0.053523968905210495, -0.00950181670486927, -0.020399441942572594, 0.0647469237446785, -0.006813317071646452, -0.04524138942360878, -0.014969528652727604, 0.04280714690685272, 0.020402928814291954, 0.01527151744812727, 0.06643213331699371, -0.01682126335799694, -0.09961764514446259, -0.01334382127970457, 0.03827480599284172, 0.005746169947087765, 0.020336205139756203, -0.0023486425634473562, 0.016121860593557358, -0.0010801657335832715, 0.005277498625218868, -0.005365587305277586, 0.022232195362448692, -0.02912011742591858, -0.032345905900001526, 0.12528368830680847, -0.06326257437467575, -0.023800591006875038, -0.021717078983783722, -0.02244391106069088, -0.018093284219503403, 0.026667078956961632, -0.031659599393606186, -0.04660618677735329, 0.003365764394402504, 0.024467170238494873, 0.05205542966723442, -0.014394976198673248, -0.0264955572783947, -0.06037185713648796, -0.06784660369157791, 0.02044958807528019, -0.013869104906916618, 0.05440059304237366, 0.0005153382080607116, -0.07271066308021545, -0.05019569396972656, 0.02554246038198471, 0.024391457438468933, -0.07167907804250717, -0.033560674637556076, 0.01971089094877243, -0.0734623372554779, -0.01080616656690836, 0.06058857589960098, 0.0061879707500338554, -0.05071914568543434, -0.019140008836984634, 0.03226156532764435, 0.0476670078933239, 0.042747728526592255, 0.01891285926103592, -0.03374304249882698, 0.0030220216140151024, -0.03920479491353035, -0.0848904401063919, -0.055630411952733994, -0.009956790134310722, -0.03528008610010147, -0.018721891567111015, -0.022766103968024254, -0.028100311756134033, -0.06523794680833817, 0.08440037071704865, -0.050877105444669724, 0.01729722134768963, 0.045495979487895966, 0.005598033312708139, 0.012197434902191162, -0.034532587975263596, 0.05147051066160202, 0.05984612554311752, 0.013548694550991058, 0.07851650565862656, -0.05372240021824837, 0.065120629966259, 0.05825814977288246, -0.0548737570643425, 0.06542469561100006, 0.007604330778121948, -0.08732730895280838, -0.017313318327069283, -0.030658258125185966, -0.0015656939940527081, -0.016979293897747993, -0.0321899950504303, -0.012823374010622501, 0.01886996254324913, -0.002124970545992255, 0.006628173403441906, -0.0728745236992836, 0.004783162847161293, 0.003452987177297473, -0.31121426820755005, 0.02045968919992447, 0.0018362938426434994, -0.05260293558239937, 0.02697642333805561, -0.05185291916131973, 0.00590675650164485, 0.013591906055808067, -0.02571396715939045, -0.0077720931731164455, 0.043712396174669266, -0.012524213641881943, 0.05974113941192627, -0.0704115480184555, 0.0010517406044527888, 0.03388248011469841, -0.033017806708812714, -0.0328473262488842, -0.04820387065410614, 0.034139927476644516, -0.009442086331546307, 0.033233001828193665, -0.016593508422374725, -0.05640128627419472, -0.010433956049382687, -0.057850804179906845, 0.08087403327226639, -0.019569236785173416, 0.11381523311138153, -0.010980521328747272, 0.07726907730102539, 0.02126903086900711, -0.0007137329084798694, -0.09072431921958923, -0.007833441719412804, -0.011823427863419056, -0.025736596435308456, 0.030732035636901855, 0.01934875175356865, 0.03386472538113594, 0.013352151960134506, -0.007651984225958586, -0.02942337654531002, -0.036835215985774994, 0.009150625206530094, -0.0326731838285923, -0.018013522028923035, -0.0015772299375385046, 0.004266471602022648, 0.06845574826002121, -0.0127894077450037, 0.011705377139151096, 0.012249628081917763, 0.037958092987537384, 0.01253792829811573, -0.043686773627996445, -0.035532690584659576, -0.01650131493806839, 0.0024478891864418983, 0.031705278903245926, 0.06224415823817253, 0.03993682190775871, 0.030875254422426224, -0.03626387566328049, -0.00419293437153101, 0.00714959716424346, -0.00015186589735094458, -0.042296286672353745, 0.031622450798749924, -0.05684942752122879, -0.05751441791653633, 0.10954613983631134, -0.0059402636252343655, -0.017466992139816284, 0.034766506403684616, 0.01974787749350071, -0.0016105674440041184, 0.0309742484241724, 0.017825454473495483, 0.018682226538658142, -0.030841615051031113, 0.008398231118917465, 0.04774809628725052, -0.022959917783737183, 0.040801528841257095, 0.03330382704734802, -0.022182123735547066, 0.02344563975930214, 0.007356823887676001, -0.03635716810822487, -0.035877544432878494, -0.004236147738993168, -0.0030468807090073824, -0.025052277371287346, 0.07999616116285324, -0.04108663648366928, -0.25190699100494385, 0.002779087284579873, 0.11857400089502335, 0.05764494463801384, -0.0037963553331792355, 0.037891797721385956, 0.05963883548974991, -0.07509452104568481, 0.03001791052520275, -0.011017846874892712, 0.012250417843461037, 0.0020353607833385468, 0.03324884548783302, 0.020278602838516235, 0.03807276487350464, 0.0033694603480398655, 0.039161741733551025, -0.019683493301272392, 0.02300431951880455, -0.002396952360868454, 0.018401145935058594, -0.008921080268919468, 0.20308032631874084, 0.005009080283343792, 0.053077440708875656, 0.00674201687797904, 0.027890644967556, 0.011866261251270771, 0.06134931370615959, 0.06140671297907829, 0.03733903542160988, -0.00705296453088522, 0.10978870838880539, 0.019515205174684525, 0.05746952444314957, -0.11202805489301682, -0.0008494382491335273, 0.036408089101314545, 0.027364378795027733, -0.01951383426785469, -0.028129445388913155, -0.008380340412259102, -0.04760618880391121, 0.01326517853885889, 0.04968930408358574, 0.0021557901054620743, 0.001390740042552352, -0.024363985285162926, -0.048986442387104034, -0.039196040481328964, -0.07847488671541214, -0.016607563942670822, 0.03938248008489609, -0.016762830317020416, -0.0019476291490718722, 0.030840130522847176, 0.010357090272009373, -0.014954347163438797, -0.03627868369221687, 0.038530945777893066, 0.052565716207027435, 0.0078104352578520775, 0.095665842294693, 0.036617461591959, 0.030617279931902885 ]
[ -0.03495997563004494, 0.019952448084950447, -0.006979459431022406, 0.0450783334672451, -0.051847100257873535, 0.03866472840309143, 0.006321649998426437, 0.0152735011652112, -0.01165078580379486, -0.005217183381319046, -0.031613994389772415, -0.025196988135576248, 0.010684315115213394, -0.01678982377052307, 0.010900158435106277, 0.01776673085987568, 0.03150365129113197, -0.03127887472510338, 0.011202770285308361, 0.003467945381999016, -0.013521706685423851, 0.02088160626590252, -0.012939016334712505, -0.0063920896500349045, 0.009611512534320354, 0.021222401410341263, -0.016174744814634323, -0.005967232398688793, 0.040097925812006, -0.1350746601819992, -0.037120427936315536, -0.0324101597070694, 0.0102758277207613, 0.03328048437833786, -0.015236295759677887, 0.008416205644607544, 0.05329470708966255, 0.048527784645557404, -0.0012830174528062344, 0.011973965913057327, -0.009945465251803398, 0.027701303362846375, -0.01951771229505539, -0.004490417428314686, 0.01728370599448681, 0.0010647797025740147, 0.008205625228583813, -0.01069238968193531, -0.002524818293750286, -0.03341689705848694, -0.04010240361094475, -0.00548410601913929, 0.02962593175470829, 0.004667238332331181, 0.039811260998249054, -0.02054741233587265, -0.021449770778417587, -0.046982262283563614, 0.021554788574576378, -0.012761655263602734, -0.026835238561034203, -0.01540115475654602, -0.004798251204192638, -0.012219486758112907, 0.04038139060139656, 0.005912111606448889, -0.019185734912753105, 0.03276481479406357, 0.011634346097707748, -0.031429585069417953, -0.0193957332521677, 0.009189433418214321, -0.008406543172895908, 0.015994355082511902, -0.013628650456666946, 0.004896254278719425, 0.02940106764435768, -0.0007788799703121185, 0.038486041128635406, -0.026990165933966637, -0.03856176882982254, -0.02343805320560932, -0.016279153525829315, 0.00620839511975646, -0.000877821003086865, 0.006240825168788433, -0.014495092444121838, 0.003941818606108427, 0.024653229862451553, 0.03670522943139076, -0.03846529871225357, 0.023865386843681335, -0.01309459563344717, 0.02889772690832615, -0.0639188289642334, 0.00499707693234086, -0.006481874268501997, -0.027182210236787796, 0.002287342445924878, 0.8445999026298523, -0.004015720449388027, 0.03582362085580826, 0.0611584335565567, 0.020603621378540993, 0.0060935961082577705, -0.03543718531727791, 0.002525587333366275, 0.006388524547219276, 0.02166607603430748, -0.012447872199118137, 0.023743929341435432, 0.01400136761367321, 0.02355314791202545, -0.01482864748686552, 0.0048829480074346066, 0.03498099744319916, 0.012887279503047466, -0.018679173663258553, -0.017007986083626747, -0.007018107455223799, 0.009661626070737839, -0.006129872519522905, -0.015551868826150894, -0.003335187677294016, -0.006919645704329014, -0.16438406705856323, -0.01723034307360649, -8.12796230091643e-33, 0.03171604871749878, -0.027177507057785988, 0.029699256643652916, 0.0349319726228714, 0.004966008942574263, -0.011112966574728489, 0.03164622560143471, 0.04803667217493057, 0.026982417330145836, -0.0451962985098362, -0.010256752371788025, -0.02798420377075672, 0.012212168425321579, -0.03513748198747635, 0.04218243435025215, -0.033912837505340576, -0.008720641024410725, 0.023917734622955322, -0.014061777852475643, -0.0012524562189355493, 0.014710813760757446, 0.03494998440146446, -0.002892980817705393, -0.02478950098156929, 0.013435784727334976, 0.006099809426814318, 0.03400599583983421, -0.013974077999591827, -0.051964543759822845, -0.038095735013484955, 0.0040756589733064175, 0.028891077265143394, 0.003571057226508856, -0.016538105905056, 0.02988867647945881, -0.022697068750858307, 0.023645538836717606, 0.02715166099369526, -0.0014845994301140308, -0.05094367265701294, -0.022539671510457993, -0.012675155885517597, -0.040919139981269836, 0.027815792709589005, -0.05214919149875641, -0.052735939621925354, -0.02636384218931198, -0.014762322418391705, 0.037391990423202515, 0.015499994158744812, 0.012448450550436974, 0.07439465075731277, 0.0032158484682440758, -0.002416950184851885, -0.018526965752243996, 0.032795608043670654, -0.04073111340403557, -0.013623025268316269, 0.0097573297098279, -0.03430235758423805, 0.00290282117202878, -0.0005903301062062383, -0.05363981053233147, 0.016251197084784508, 0.006548548117280006, -0.022830961272120476, 0.006797179579734802, 0.00006195680907694623, 0.018718447536230087, -0.0326378308236599, -0.038439564406871796, 0.013833406381309032, -0.028708480298519135, -0.0331457182765007, 0.030089350417256355, 0.014653114601969719, 0.00777750089764595, -0.0002943982253782451, 0.015350923873484135, 0.023535456508398056, -0.01710401475429535, 0.009416576474905014, -0.008141648024320602, 0.023365691304206848, 0.009171339683234692, -0.010736633092164993, 0.06177293881773949, -0.002027788432314992, -0.0006872816011309624, -0.008064392022788525, 0.05754756182432175, 0.007480256725102663, -0.0038378441240638494, -0.01877058483660221, -0.011382861994206905, 8.122647597082775e-33, 0.03960145637392998, -0.026153678074479103, -0.011415299028158188, 0.022726109251379967, -0.0010283903684467077, -0.012217150069773197, 0.007767630275338888, -0.00945413950830698, -0.043575406074523926, 0.043628595769405365, 0.006879717577248812, 0.04784936457872391, -0.018219761550426483, 0.013736015185713768, 0.06391952931880951, -0.0014518201351165771, 0.006023935973644257, -0.027534831315279007, 0.006343001965433359, -0.0170159749686718, 0.03763553127646446, 0.024655373767018318, -0.00046923087211325765, -0.006419084034860134, -0.03557585924863815, 0.0630694031715393, -0.043601181358098984, -0.0012693008175119758, 0.007630182895809412, 0.011738828383386135, -0.00984915904700756, 0.011815309524536133, 0.0151458028703928, -0.05745331197977066, -0.051457006484270096, 0.0032298376318067312, -0.004219735972583294, -0.003002467565238476, 0.035869333893060684, 0.002694969065487385, 0.02715251035988331, -0.0039002622943371534, -0.03465036302804947, 0.006276210304349661, 0.010183577425777912, 0.0015680990181863308, 0.012941254302859306, -0.03348049521446228, 0.010900397785007954, 0.024506814777851105, 0.017901642248034477, 0.0087810093536973, -0.02168847993016243, -0.007981939241290092, 0.01949634961783886, -0.016972048208117485, -0.015295350924134254, -0.012291685678064823, -0.020534954965114594, 0.020837906748056412, -0.03291415050625801, 0.027085406705737114, -0.00391235388815403, -0.019264813512563705, -0.031102411448955536, 0.0032273344695568085, -0.041165098547935486, -0.013676648028194904, 0.008598835207521915, -0.04979577288031578, -0.03459550440311432, 0.007293615490198135, 0.0049580675549805164, 0.021022392436861992, -0.006782944779843092, -0.013990378938615322, -0.004221501760184765, -0.014369240030646324, 0.012498094700276852, 0.009740873239934444, 0.0023423731327056885, -0.013777845539152622, 0.05232732370495796, 0.031668033450841904, 0.01653560996055603, -0.01393552590161562, -0.0144003601744771, -0.01774303801357746, 0.013257283717393875, -0.0014173294184729457, -0.03314949944615364, -0.025485524907708168, -0.009108077734708786, 0.030872192233800888, -0.016615575179457664, -1.3350529570743674e-8, -0.059231922030448914, 0.042579036206007004, -0.01517424825578928, 0.03325577452778816, 0.008720453828573227, 0.015582618303596973, -0.05425909534096718, -0.02717735432088375, 0.0051419660449028015, -0.019709741696715355, 0.023096533492207527, 0.01330454833805561, 0.00382430013269186, 0.0013366328785195947, 0.0026448166463524103, -0.03481219708919525, -0.0312892347574234, -0.02484205737709999, 0.0130436597391963, -0.008081181906163692, -0.0065360539592802525, 0.04747779667377472, -0.01228590402752161, 0.007546747103333473, 0.03083665855228901, -0.032953888177871704, -0.012100759893655777, -0.08303210884332657, 0.06224704161286354, 0.025450486689805984, -0.017197221517562866, 0.0003652509185485542, -0.0031380036380141973, 0.007959477603435516, -0.015099008567631245, -0.0199707243591547, 0.016460953280329704, 0.002483972581103444, 0.015132761560380459, -0.011156929656863213, 0.02500029280781746, -0.01067052036523819, -0.010830492712557316, -0.021227292716503143, -0.003927669487893581, 0.008498678915202618, -0.019658681005239487, 0.018465861678123474, 0.01707088015973568, -0.026380814611911774, 0.011869898065924644, 0.03641905635595322, 0.02650272659957409, 0.02044832520186901, -0.0001293605746468529, 0.02923613227903843, -0.0006628890987485647, -0.02500651590526104, -0.026234891265630722, 0.0049802628345787525, 0.03216421976685524, 0.01209152489900589, -0.03082393854856491, -0.007414015009999275 ]
c-object-initializer-and-the-horse-shoe
https://markhneedham.com/blog/2009/02/16/c-object-initializer-and-the-horse-shoe
false
2009-02-28 09:50:45
Coding: Implicit vs Explicit modeling
[ "coding", "modeling" ]
[ "Coding" ]
When it comes to object modeling there seem to be two distinct approaches that I have come across. == Implicit modeling The first approach is where we do what I like to think of as implicit modeling. With this approach we would probably use less objects than in the explicit approach and we would have objects being populated as we moved through the work flow of our application. I call it *implicit modeling because we need to imply where we are based on the internal state of our objects* - we can typically work this out by seeing what is and is not set to null. The disadvantage of this approach is that sometimes data which should have been set isn't set because an error occurred somewhere so we then end up with our object in an invalid state - it has one extra null value than it was supposed to have. We need to understand more context to work out whether this was intentionally set to null or whether there was a problem somewhere which caused it to happen. I find myself doing a lot of debugging with this approach. == Explicit modeling The alternate approach is to add more objects into our code which describe the work flow and current state more explicitly. With this approach we will probably end up writing more code than with the implicit approach and there will be more 'mapping' code written transitioning data between our objects. The advantage of doing this is that it becomes much more easier to work out what is going on when reading the code without necessarily having to dive deep into the logic behind it. We spend a lot more time reading code than writing it so I'm happy to write more code if it helps to save time when others have to look at it later on. == A contrived example To give a somewhat contrived example let's say we have a Foo in our application which we only have an identifier for when we first get it but will have a Bar and Baz later on in our application. [source,csharp] ---- public class Foo { public string Id {get; set;} public string Bar {get;set;} public string Baz {get; set;} } ---- The implicit approach to modeling would involve setting the values of say Id and leaving Bar and Baz undefined until we have them. The more explicit approach might involved having another object called 'FooReference' which just has the Id and then we can load the actual Foo from that: [source,csharp] ---- public class FooReference { public string Id {get;set;} } public class Foo { public Foo(FooReference fooReference, string bar, string baz} { // and so on... } } ---- This way we can tell from just reading the code when we have a real Foo and when we just have a placeholder for it, which I think makes the code much more expressive. == Combining the two approaches An approach which is half way between the two extremes involves being able to specifically state when we are deliberately not setting values on an object by introducing the concept of an optional or blank object for example. I haven't tried this approach (only been told about it) but it sounds like a pretty good compromise for avoiding over complicating the code while also maintaining the expressiveness.
null
null
[ -0.008827516809105873, 0.002616503508761525, -0.03816378489136696, 0.03520297259092331, 0.0649980902671814, 0.009067319333553314, 0.03122619539499283, 0.03339441493153572, 0.005801776889711618, -0.02970556728541851, -0.02168276719748974, 0.005180144216865301, -0.07652231305837631, 0.03362494334578514, 0.0006348253809846938, 0.06712765991687775, 0.06520073115825653, -0.038150813430547714, 0.020555291324853897, 0.015259855426847935, 0.01027370523661375, 0.06861592084169388, -0.009657389484345913, 0.03741372376680374, 0.03441678732633591, 0.017096657305955887, -0.0018477208213880658, -0.029253587126731873, -0.05415933206677437, -0.0028512286953628063, -0.006888147909194231, 0.015834063291549683, -0.013384547084569931, -0.017192721366882324, 0.007356650661677122, -0.026592349633574486, -0.009038603864610195, 0.015510058030486107, 0.008352083154022694, 0.022137168794870377, -0.06004004925489426, 0.027248714119195938, -0.012458257377147675, -0.012314162217080593, -0.02051626704633236, -0.020250124856829643, -0.047852806746959686, 0.0013815925922244787, -0.03515685722231865, -0.01886487938463688, -0.08359313011169434, 0.02196778915822506, -0.03424721956253052, 0.05085495486855507, -0.02153703011572361, 0.04937877133488655, 0.009372670203447342, -0.09427540004253387, 0.012743847444653511, -0.06296736747026443, 0.025314927101135254, 0.003397345310077071, -0.00786000955849886, -0.0012252775486558676, 0.0274734515696764, -0.026414386928081512, -0.013571358285844326, 0.03675514832139015, -0.04757417365908623, -0.015950730070471764, -0.0019959891214966774, 0.009390235878527164, -0.010151386260986328, -0.020895997062325478, -0.005333754234015942, -0.021057359874248505, 0.009295592084527016, 0.0339215025305748, 0.03446480631828308, 0.050645194947719574, -0.0066039166413247585, 0.015163595788180828, 0.03582332283258438, -0.00013809019583277404, 0.026485664770007133, -0.025854995474219322, -0.0235483106225729, -0.009310145862400532, -0.016986899077892303, 0.03439631313085556, 0.0017393543384969234, -0.03064676560461521, -0.015948666259646416, 0.02978740818798542, -0.016142569482326508, -0.00256617390550673, 0.00816095806658268, -0.003813238115981221, -0.006774181965738535, 0.02399880811572075, -0.021175209432840347, -0.036073844879865646, 0.05536532774567604, 0.02169499732553959, -0.0766264796257019, -0.03179337456822395, -0.03145967796444893, -0.010748149827122688, -0.011685336008667946, 0.030470656231045723, -0.06704877316951752, 0.005511082708835602, -0.03800446540117264, -0.00955985952168703, -0.04946153238415718, 0.03541034832596779, -0.002290145494043827, 0.0018918158020824194, -0.0036354612093418837, 0.03101773001253605, 0.03217872604727745, 0.025028452277183533, -0.002816694788634777, 0.05839863047003746, -0.012497032061219215, 0.045006804168224335, -0.02972251921892166, 0.06321994215250015, -0.010197455063462257, -0.08715791255235672, 0.0008407596033066511, 0.043798040598630905, -0.014880853705108166, -0.012796269729733467, -0.0014569726772606373, -0.05514569953083992, 0.0003761902335099876, 0.016519848257303238, 0.019121792167425156, 0.03195412829518318, -0.041027359664440155, -0.04433567076921463, 0.04047457501292229, -0.006807022728025913, -0.0022071958519518375, -0.002352318959310651, -0.009853309951722622, 0.00673389108851552, -0.004909845069050789, 0.05012950673699379, 0.03505629673600197, 0.05591760575771332, 0.028853049501776695, -0.04588370770215988, 0.011426246725022793, 0.08318445086479187, -0.01708384044468403, 0.035258665680885315, 0.005384301301091909, 0.006967737805098295, 0.05779959261417389, 0.02990853786468506, 0.013690630905330181, 0.02442469820380211, 0.03537392243742943, 0.004926682915538549, 0.02097909525036812, 0.04004974663257599, 0.00033268178231082857, -0.01133099477738142, -0.0668502226471901, -0.058912284672260284, 0.04569969326257706, -0.049702953547239304, -0.0013079040218144655, 0.03643432632088661, 0.06879962980747223, 0.023392407223582268, 0.06610221415758133, -0.015341180376708508, -0.06555714458227158, -0.0025795784313231707, -0.0017373546725139022, -0.01727117970585823, 0.02248728834092617, -0.0036335571203380823, 0.060945767909288406, 0.011453506536781788, -0.011294778436422348, 0.023783640936017036, -0.063706174492836, -0.03901057690382004, -0.00935930386185646, -0.016863878816366196, 0.06047559529542923, -0.011924907565116882, -0.025406021624803543, 0.09155896306037903, 0.00395270437002182, 0.043346889317035675, 0.05561047047376633, 0.0008343466324731708, -0.010834924876689911, -0.02587168850004673, -0.009516931138932705, 0.008184806443750858, 0.05166075751185417, -0.001906928955577314, -0.04545141011476517, 0.022689523175358772, -0.016812998801469803, -0.012587343342602253, 0.037189286202192307, -0.002893208060413599, 0.026124130934476852, 0.0004711175279226154, 0.023584183305501938, -0.023167526349425316, 0.04964153841137886, -0.07730449736118317, 0.022724071517586708, -0.00197426020167768, 0.008621119894087315, -0.01780523546040058, 0.003936802502721548, 0.10807386040687561, 0.05296475440263748, -0.03271334990859032, -0.0386790931224823, 0.013148320838809013, 0.05521640554070473, -0.04353766888380051, 0.028779424726963043, -0.013791118748486042, 0.005133009050041437, 0.011162905022501945, -0.025978166610002518, 0.018355388194322586, 0.025449004024267197, -0.03108946979045868, 0.017079632729291916, 0.06702758371829987, -0.03245045244693756, 0.048520322889089584, -0.011277427896857262, -0.024460449814796448, 0.010900226421654224, -0.028231976553797722, -0.09922880679368973, 0.0064435238018631935, 0.010065914131700993, 0.0031821741722524166, 0.06113547086715698, -0.014720774255692959, -0.013905571773648262, -0.01264229230582714, -0.048086389899253845, 0.009000439196825027, 0.023295681923627853, 0.06048599258065224, 0.005957691930234432, 0.061243120580911636, -0.02007906325161457, 0.00587843731045723, 0.0010678671533241868, -0.04412334784865379, -0.0016823024488985538, 0.006960821337997913, 0.01493749488145113, 0.01724116876721382, 0.005072396248579025, 0.0022113716695457697, 0.025558043271303177, 0.006393617484718561, -0.01498246006667614, 0.009997589513659477, 0.04222744703292847, -0.0076508172787725925, -0.032654769718647, -0.029628761112689972, -0.03878677263855934, 0.04121395945549011, -0.028239497914910316, -0.05420491471886635, 0.0185361560434103, -0.08760378509759903, 0.047654710710048676, -0.052543383091688156, -0.08863642811775208, -0.005189734511077404, 0.04419867321848869, -0.0029876537155359983, -0.017263149842619896, 0.01663247123360634, 0.07687749713659286, 0.04785831272602081, -0.0009997846791520715, -0.0011828768765553832, 0.028722725808620453, 0.012439814396202564, -0.010517528280615807, 0.018131636083126068, 0.03256700560450554, -0.024250561371445656, 0.005891835782676935, -0.03624245896935463, 0.050927888602018356, 0.014720640145242214, -0.29262369871139526, 0.010413629934191704, -0.023171057924628258, -0.06366094201803207, 0.02637908048927784, -0.03269343450665474, 0.01732828840613365, -0.02904127910733223, -0.02178322896361351, 0.07675174623727798, 0.0008622020832262933, -0.05450409650802612, -0.05027952417731285, 0.0624275803565979, 0.021645234897732735, 0.022059239447116852, 0.018943490460515022, -0.04356081783771515, -0.025312304496765137, 0.07478098571300507, -0.017597492784261703, -0.07365400344133377, -0.007940921932458878, 0.058913685381412506, 0.0392153337597847, 0.042920757085084915, -0.10176236927509308, 0.03494371101260185, -0.03244847059249878, -0.020903652533888817, -0.005810404196381569, -0.02133742719888687, -0.00029968583839945495, -0.04042019695043564, -0.002579909283667803, -0.02370479889214039, 0.014462440274655819, 0.058452360332012177, 0.014804957434535027, 0.027414048090577126, -0.03739355504512787, -0.06212165951728821, -0.025420090183615685, 0.016067935153841972, 0.05628929287195206, -0.005146392155438662, -0.052926287055015564, -0.019083550199866295, -0.03808571770787239, 0.04344966262578964, -0.04337320476770401, -0.013957495801150799, 0.006051558069884777, 0.05510665476322174, -0.013943441212177277, -0.04262842237949371, 0.018752045929431915, -0.012502653524279594, -0.05075431242585182, -0.04370807111263275, -0.010616191662847996, -0.06541262567043304, -0.03312947601079941, -0.054302338510751724, -0.00836468767374754, -0.047003380954265594, -0.07763263583183289, -0.006486908067017794, 0.04050347954034805, 0.05358519405126572, 0.003007004037499428, 0.007498899940401316, 0.024993354454636574, -0.10602335631847382, 0.010727846063673496, -0.048985544592142105, 0.008198678493499756, -0.061442598700523376, -0.015993904322385788, 0.030703382566571236, -0.017138777300715446, -0.035889048129320145, 0.01972975581884384, 0.014100444503128529, 0.024756085127592087, -0.0034784520976245403, 0.03230197727680206, 0.0026365304365754128, -0.03882802650332451, 0.00195334292948246, 0.06732730567455292, 0.0027047304902225733, 0.003906107973307371, -0.05348047614097595, -0.012769208289682865, 0.007150231394916773, 0.03621727600693703, -0.03798637539148331, 0.025052174925804138, 0.0006064434419386089, 0.04063340276479721, -0.05739670619368553, 0.02106987126171589, -0.02397366613149643, -0.01026954222470522, -0.04683356359601021, -0.06327421218156815, 0.03372303023934364, 0.049056001007556915, 0.013712452724575996, -0.016126599162817, -0.003516092197969556, -0.012646518647670746, -0.061250004917383194, -0.04020972177386284, -0.015985390171408653, 0.0056792497634887695, 0.04063357412815094, -0.01511176023632288, -0.0510476678609848, -0.04556263983249664, 0.022779909893870354, 0.027513470500707626, 0.006845875643193722, -0.07968325167894363, -0.06459633260965347, -0.0038392695132642984, 0.0033719472121447325, -0.043902117758989334, 0.036998819559812546, -0.008734684437513351, 0.04727133736014366, 0.009366135112941265, -0.0350261852145195, 0.013307970017194748, 0.03475722670555115, -0.004505474586039782, -0.02584870159626007, -0.008413384668529034, -0.036299459636211395, 0.007069835904985666, -0.010982591658830643, 0.011927269399166107, 0.021108489483594894, 0.028076408430933952, 0.013851064257323742, 0.028053507208824158, 0.023500582203269005, -0.011416063643991947, 0.01236291415989399, 0.020820537582039833, -0.09916816651821136, 0.027786796912550926, -0.017703555524349213, -0.030701788142323494, -0.05618288740515709, 0.019179241731762886, -0.04246910288929939, -0.02578500285744667, -0.02636377327144146, 0.056388579308986664, -0.027786487713456154, -0.03946654126048088, -0.02808118611574173, -0.0037922586780041456, 0.08142884075641632, -0.01749122142791748, 0.013321327045559883, -0.004526665434241295, -0.006029507610946894, 0.03144459426403046, -0.001612669788300991, -0.031702086329460144, -0.00441498588770628, -0.010395442135632038, -0.02694549411535263, -0.009783034212887287, 0.013515835627913475, 0.027161607518792152, -0.00723712844774127, -0.0016223364509642124, -0.026091700419783592, 0.022596480324864388, -0.010822066105902195, 0.042054105550050735, 0.0002602563763502985, 0.021687233820557594, 0.009871049784123898, -0.00714115658774972, -0.025675814598798752, -0.03864160552620888, -0.031294554471969604, -0.016791151836514473, 0.0392523854970932, -0.05408767983317375, -0.07192676514387131, 0.020193299278616905, 0.02257777936756611, 0.030548343434929848, 0.023003365844488144, 0.00283986353315413, 0.007300861179828644, -0.013130472972989082, 0.011035973206162453, 0.02511727251112461, -0.058863185346126556, -0.007771503180265427, 0.004471735563129187, 0.009013650007545948, 0.023564038798213005, 0.00835239514708519, -0.04365037754178047, -0.030763695016503334, -0.015277332626283169, 0.004235185217112303, -0.026764409616589546, -0.03293497860431671, -0.03691892698407173, 0.02075611613690853, 0.007002140861004591, -0.004541161935776472, -0.008123505860567093, -0.007847730070352554, -0.024882420897483826, -0.008393621072173119, 0.00034710561158135533, -0.034598276019096375, 0.013270487077534199, 0.02976105362176895, -0.018269777297973633, 0.010505116544663906, 0.002901405328884721, 0.037139005959033966, 0.02105395868420601, -0.018900377675890923, -0.016944870352745056, -0.04532822221517563, 0.04726659506559372, 0.010177300311625004, 0.05079757794737816, 0.0276100542396307, -0.023742368444800377, -0.012460656464099884, -0.013492622412741184, 0.00140377099160105, -0.002625594846904278, -0.005890139378607273, -0.013203616254031658, 0.005006774794310331, 0.056920912116765976, 0.007979071699082851, 0.022182239219546318, -0.0008784514502622187, -0.00404347525909543, 0.06757307797670364, -0.062322407960891724, -0.008614805527031422, -0.0242221150547266, -0.07856910675764084, 0.019993752241134644, 0.030820472165942192, 0.03394032642245293, -0.026824286207556725, 0.04077207297086716, 0.046526018530130386, 0.02811301313340664, 0.05650094151496887, 0.027731850743293762, 0.05118881165981293, -0.024021347984671593, 0.03671454265713692, -0.07050638645887375, 0.008378654718399048, 0.03966768831014633, 0.015353514812886715, -0.024899499490857124, -0.023618759587407112, -0.0003379954432602972, 0.05491376295685768, -0.0745101198554039, -0.023732047528028488, 0.04021955281496048, 0.015201377682387829, -0.003840944031253457, 0.01088347751647234, -0.025645872578024864, 0.039676569402217865, 0.015629857778549194, -0.03731696307659149, -0.029708337038755417, -0.025243422016501427, 0.03640064224600792, 0.002565632574260235, 0.009220398962497711, -0.027090366929769516, 0.033997368067502975, 0.055053260177373886, 0.04633761942386627, 0.06009213998913765, 0.03311743587255478, -0.035015031695365906, 0.042038191109895706, 0.017120493575930595, -0.01782979629933834, -0.01794693060219288, -0.009144056588411331, 0.011104375123977661, -0.05779790133237839, -0.0036897778045386076, 0.01994726061820984, -0.026549704372882843, -0.05483976751565933, 0.05315501242876053, 0.015356022864580154, -0.018496302887797356, -0.046130914241075516, 0.024711309000849724, -0.03406286612153053, -0.017901888117194176, -0.012402604334056377, 0.004908157978206873, -0.033138975501060486, 0.06920991837978363, 0.003763523418456316, -0.02042718045413494, 0.059091996401548386, -0.009353838860988617, -0.028468426316976547, -0.021350262686610222, 0.08763206750154495, 0.07040706276893616, 0.06220192089676857, 0.0005792436422780156, 0.05014767125248909, -0.02487344481050968, -0.03542281314730644, 0.041037291288375854, -0.0432436540722847, 0.001872435910627246, -0.021681124344468117, 0.02526182122528553, 0.08132072538137436, -0.002709360560402274, 0.032890353351831436, -0.030948035418987274, 0.01672806590795517, -0.00186029146425426, 0.038292136043310165, -0.0012906393967568874, 0.028362739831209183, 0.021030299365520477, 0.002820718800649047, -0.011966667138040066, -0.021426746621727943, 0.010125160217285156, -0.024763789027929306, -0.01871437393128872, 0.007110584992915392, -0.01730612851679325, 0.025864427909255028, 0.00585127854719758, 0.052440959960222244, 0.1100737452507019, -0.01766970194876194, -0.014423970133066177, -0.022903358563780785, 0.00833601038902998, 0.011893556453287601, -0.019551845267415047, -0.002815979067236185, -0.058701399713754654, 0.018029477447271347, -0.008671620860695839, -0.016921190544962883, -0.0021197572350502014, -0.028452947735786438, 0.030131233856081963, -0.010233777575194836, 0.01846122369170189, -0.00529417023062706, 0.03196725994348526, -0.025831105187535286, -0.058684829622507095, -0.06066088750958443, -0.03352046757936478, -0.050784364342689514, -0.03033350594341755, 0.025385435670614243, -0.00026097067166119814, -0.0268778745085001, -0.02463081292808056, -0.011488721705973148, -0.0025553442537784576, 0.06691455841064453, -0.0221718717366457, -0.02868092991411686, 0.031594935804605484, 0.01971755549311638, 0.0278943981975317, 0.04569759592413902, -0.002697812160477042, 0.013061294332146645, -0.012806102633476257, -0.031000778079032898, -0.03680860623717308, 0.03341452777385712, -0.01561155915260315, 0.012081459164619446, -0.06311941146850586, 0.01917422190308571, 0.01924758218228817, -0.029937587678432465, -0.07077239453792572, 0.010267170146107674, 0.025795744732022285, 0.007888556458055973, 0.041438549757003784, -0.03732946142554283, 0.0005890751490369439, -0.004050643648952246, -0.02059614285826683, 0.010815843939781189, 0.06062406674027443, 0.04849376901984215, -0.022051820531487465, 0.08163470029830933, 0.028088880702853203, -0.02738659270107746, -0.022259104996919632, -0.01427310612052679, 0.0029355541337281466, 0.03271570801734924, -0.03373714163899422, -0.016730032861232758, -0.045317746698856354, -0.05793844908475876, 0.004645971115678549, 0.0262977983802557, -0.01592572219669819, -0.022687872871756554, 0.014730151742696762, 0.047838304191827774, -0.05868550390005112, 0.02705889753997326, -0.03515990823507309, 0.04720548167824745, -0.03506318852305412, -0.008215283043682575, 0.006175472401082516, 0.027148807421326637, -0.0069967941381037235, -0.0055527756921947, 0.0076802512630820274, -0.020191220566630363, -0.007695566397160292, -0.017387842759490013, 0.04288646951317787, -0.017895786091685295, -0.017813105136156082, 0.025365354493260384 ]
[ -0.0700288787484169, 0.0003314625646453351, -0.02193041890859604, -0.04053442180156708, 0.0387490838766098, -0.031015567481517792, -0.0013849911047145724, 0.009915422648191452, 0.016870981082320213, -0.010790655389428139, -0.021665314212441444, -0.05543815717101097, -0.02795547805726528, -0.0011071019107475877, 0.07062185555696487, -0.0020881532691419125, -0.012614007107913494, -0.025678303092718124, 0.016572250053286552, 0.03521045669913292, 0.04097737371921539, -0.012507586739957333, -0.05732284486293793, -0.029550913721323013, 0.015228637494146824, 0.045798808336257935, 0.03908824920654297, -0.02415812946856022, 0.01774279586970806, -0.22634178400039673, -0.015674877911806107, -0.011969121173024178, 0.037821438163518906, -0.03632760047912598, -0.01999826729297638, 0.05149148404598236, 0.01940496638417244, 0.04732045158743858, -0.010380945168435574, 0.04868735373020172, -0.004232613369822502, 0.02927551604807377, -0.04981275647878647, -0.05443979427218437, 0.031246624886989594, 0.014030897058546543, -0.011152575723826885, -0.031002024188637733, -0.031681954860687256, 0.004322825465351343, -0.057281844317913055, -0.01829739660024643, -0.018202655017375946, -0.01775692217051983, -0.0018238353077322245, 0.05408424884080887, 0.04969731718301773, 0.06213238090276718, 0.017048059031367302, 0.009379982016980648, 0.004152004141360521, -0.030146267265081406, -0.11438649892807007, 0.08954459428787231, 0.04062782973051071, 0.06689344346523285, -0.024589043110609055, -0.031403861939907074, 0.013966286554932594, 0.07276589423418045, 0.023832403123378754, -0.005830923095345497, -0.01568141020834446, 0.05080513656139374, 0.012747077271342278, -0.03909424692392349, 0.018187498673796654, 0.015076478011906147, 0.05338996276259422, -0.0484582744538784, -0.05006647855043411, 0.008510380052030087, 0.0037562602665275335, -0.0034018305595964193, -0.02949780412018299, 0.009006446227431297, -0.0004921992658637464, 0.022983219474554062, 0.05860481038689613, 0.023273063823580742, 0.029441794380545616, -0.011165529489517212, 0.005892492830753326, 0.004554370418190956, -0.06734418123960495, 0.02170589566230774, -0.01088489219546318, -0.007002666126936674, -0.02663428895175457, 0.4439106285572052, -0.04257979243993759, -0.039496660232543945, 0.05516379326581955, 0.02276981621980667, -0.02166786603629589, 0.006563303992152214, -0.006249391473829746, -0.06338221579790115, 0.0040330300107598305, -0.039233800023794174, -0.01491495594382286, 0.001468816539272666, 0.013038035482168198, -0.05045752227306366, -0.021493595093488693, -0.021611839532852173, 0.045581359416246414, 0.005942098796367645, 0.001061305752955377, -0.00037006480852141976, 0.006633420940488577, 0.01846676506102085, 0.0009047794155776501, 0.023727597668766975, -0.005599881522357464, -0.05173012241721153, -0.0021107883658260107, 0.06687813252210617, 0.04833386465907097, 0.003396419109776616, 0.052446719259023666, -0.03813851252198219, -0.10036058723926544, -0.014591804705560207, 0.013789037242531776, 0.016235200688242912, 0.03985506668686867, -0.005732553545385599, -0.009841956198215485, 0.03636900335550308, -0.027779826894402504, -0.0016478729667142034, 0.020738983526825905, -0.020195193588733673, -0.05640631541609764, 0.12708720564842224, -0.004796585533767939, -0.015651298686861992, -0.029600152745842934, -0.05252338945865631, 0.022343415766954422, 0.053339000791311264, -0.019581707194447517, -0.051174525171518326, 0.025281114503741264, 0.013663874007761478, 0.037832893431186676, -0.0018840377451851964, -0.06892942637205124, -0.018140440806746483, -0.03471509367227554, -0.01878734864294529, -0.048508092761039734, 0.020436640828847885, 0.00813367124646902, -0.06425745785236359, -0.04016660898923874, 0.002279398264363408, 0.023529771715402603, -0.07077374309301376, -0.007165195886045694, 0.029431378468871117, -0.028591299429535866, -0.00606006383895874, 0.05584491416811943, -0.000542551395483315, -0.030259253457188606, -0.016953133046627045, 0.02766415849328041, 0.03248336911201477, 0.015773247927427292, 0.01667778566479683, -0.053100403398275375, 0.023235589265823364, -0.02567238174378872, -0.08173458278179169, -0.043283186852931976, -0.01850266382098198, -0.04149581119418144, -0.005557071417570114, -0.00575662637129426, -0.013097687624394894, -0.07420985400676727, 0.05418693274259567, -0.04115684702992439, -0.013946167193353176, 0.046142514795064926, -0.013833667151629925, 0.0007036361494101584, -0.003781095379963517, 0.010659724473953247, 0.08518362790346146, -0.006453510373830795, 0.0024080416187644005, -0.07481525093317032, 0.04126929119229317, 0.0452616885304451, -0.042247943580150604, 0.047971196472644806, 0.04598588868975639, -0.06462094187736511, -0.04197445139288902, -0.00889106560498476, 0.009230111725628376, -0.009044247679412365, -0.02894202060997486, 0.0028698162641376257, 0.028652621433138847, -0.011243182234466076, 0.020044121891260147, -0.05148513242602348, -0.03297746554017067, 0.03160727024078369, -0.3398973047733307, -0.016260452568531036, -0.00196642242372036, -0.04459109157323837, 0.005259802099317312, -0.055810946971178055, 0.010561108589172363, -0.02362268976867199, -0.02227012813091278, 0.009552182629704475, 0.06278873980045319, -0.017926713451743126, 0.0005512011703103781, -0.0488663911819458, -0.01137594599276781, 0.037695661187171936, -0.06156010925769806, -0.04537327587604523, -0.049010757356882095, 0.0074212378822267056, -0.025687020272016525, -0.00543703930452466, 0.002391953719779849, -0.08085744827985764, 0.014576582238078117, -0.04041723534464836, 0.08743163198232651, -0.027621164917945862, 0.08942755311727524, -0.031372006982564926, 0.017991745844483376, -0.01577400229871273, 0.006481681950390339, -0.07166504859924316, 0.027945322915911674, -0.04462774842977524, 0.00008090543269645423, 0.026716601103544235, 0.041725315153598785, -0.020398838445544243, -0.02880331128835678, 0.00452210009098053, -0.02207844704389572, -0.017735838890075684, -0.03052535653114319, 0.01910218968987465, -0.003527727909386158, -0.02854664996266365, -0.006542366463690996, 0.08676352351903915, 0.006702627521008253, -0.006567401811480522, 0.03427634760737419, 0.03527753800153732, -0.026056846603751183, -0.038726042956113815, -0.07167458534240723, 0.011224587447941303, 0.004266615957021713, 0.02546882815659046, 0.04729462414979935, 0.03710273653268814, 0.007718403823673725, -0.047544900327920914, 0.01809941790997982, 0.0018119956366717815, -0.003960186615586281, -0.04684004187583923, 0.031413864344358444, -0.04438553750514984, -0.021620972082018852, 0.1343761682510376, 0.031253352761268616, -0.03178401663899422, 0.043582312762737274, 0.05412143096327782, 0.007079952862113714, 0.040785085409879684, 0.0023898622021079063, 0.017657361924648285, 0.02132992260158062, -0.003979019820690155, 0.018811192363500595, -0.02490604855120182, 0.012229070998728275, 0.029139507561922073, 0.0177264753729105, -0.021419338881969452, 0.023772910237312317, -0.020395008847117424, -0.03085382468998432, -0.030282655730843544, -0.0018081041052937508, -0.0571710430085659, 0.0741206705570221, -0.009259087033569813, -0.26793888211250305, 0.007266944739967585, 0.10067231208086014, 0.0660996362566948, 0.017752040177583694, 0.023273084312677383, 0.03718521073460579, -0.07133651524782181, 0.012621353380382061, -0.032244473695755005, 0.0003685933770611882, 0.02510054036974907, 0.04253407567739487, 0.014125589281320572, 0.03658325970172882, -0.031036341562867165, 0.04584415629506111, -0.021763553842902184, 0.04236238822340965, -0.021624566987156868, 0.02082318253815174, 0.0008316428866237402, 0.18328335881233215, -0.004223312716931105, 0.05286712944507599, 0.0148139214143157, 0.004820811562240124, -0.020578771829605103, 0.09794044494628906, 0.026483431458473206, 0.005034084897488356, 0.009345177561044693, 0.09825463593006134, 0.010769054293632507, 0.022651389241218567, -0.058341700583696365, -0.01996106468141079, 0.03830740600824356, 0.02982589416205883, -0.008863364346325397, 0.028606532141566277, 0.016265379264950752, -0.023359986022114754, 0.017299989238381386, 0.03953046724200249, 0.044297151267528534, -0.0010428705718368292, -0.0016340437578037381, -0.05456192046403885, -0.026851747184991837, -0.020887872204184532, -0.02682611159980297, -0.012401868589222431, -0.010514795780181885, 0.05548308789730072, 0.05663586035370827, 0.005272338166832924, -0.011720452457666397, -0.02530239149928093, 0.02299114689230919, 0.02878323383629322, 0.004334279801696539, 0.0886537954211235, 0.03137366101145744, 0.020162267610430717 ]
[ -0.014191880822181702, 0.021420447155833244, -0.015118373557925224, 0.030171316117048264, -0.05061449855566025, 0.026475965976715088, -0.004041723441332579, 0.02296261489391327, 0.013878783211112022, -0.015398315154016018, -0.025986190885305405, -0.01899433135986328, 0.014170355163514614, -0.02247215062379837, 0.023720864206552505, 0.00711526395753026, 0.004053334705531597, -0.025618499144911766, 0.04055332392454147, -0.01673065684735775, -0.031025003641843796, 0.02849765680730343, -0.00551870372146368, -0.039244361221790314, -0.022170839831233025, 0.015378937125205994, 0.030139587819576263, -0.03335832431912422, 0.01143831480294466, -0.1356787085533142, -0.05390887334942818, -0.004581153858453035, -0.021886397153139114, -0.012266993522644043, -0.0075708189979195595, 0.011251907795667648, 0.02423912100493908, 0.024541301652789116, 0.006462649907916784, -0.018389709293842316, -0.00112548575270921, 0.037293557077646255, 0.0147126829251647, 0.013069439679384232, -0.006743231788277626, -0.025929216295480728, -0.03170953691005707, -0.015385957434773445, -0.011395996436476707, -0.0517607219517231, -0.018605558201670647, -0.0043778931722044945, 0.009506999514997005, 0.004220002796500921, 0.036538057029247284, -0.033671025186777115, 0.0016376610146835446, -0.019965890794992447, -0.0016602363903075457, 0.002119629643857479, -0.008638271130621433, -0.020276730880141258, -0.02471417374908924, -0.013927128165960312, 0.014035423286259174, -0.007304285652935505, 0.0010803159093484282, 0.022519893944263458, 0.00779678113758564, -0.01607653684914112, -0.024657147005200386, -0.008707033470273018, -0.024142414331436157, -0.027954034507274628, -0.009841065853834152, -0.01733129657804966, 0.03831964731216431, -0.020102061331272125, 0.02888192981481552, -0.0013990200823172927, -0.05170350894331932, 0.018392421305179596, 0.011345078237354755, -0.00026834956952370703, 0.006540254224091768, -0.010280653834342957, -0.0299850944429636, 0.00227731023915112, 0.019703034311532974, 0.039849016815423965, -0.035823091864585876, 0.00802964810281992, 0.012362376786768436, -0.001773267867974937, -0.06346755474805832, 0.004693587310612202, 0.005334373563528061, -0.021627409383654594, -0.0012161046033725142, 0.8569698929786682, 0.0076978388242423534, 0.06155538186430931, 0.04930618032813072, -0.003950982354581356, 0.02174759842455387, 0.006954988464713097, 0.030548131093382835, -0.0036715343594551086, 0.03533538803458214, -0.025519538670778275, 0.0028290601912885904, 0.0023663847241550684, 0.030742697417736053, 0.018801609054207802, 0.009361451491713524, 0.011827297508716583, 0.00864315778017044, -0.02167998068034649, -0.006547331809997559, -0.0073211961425840855, -0.00783446617424488, -0.01741340011358261, 0.02219417504966259, -0.023198965936899185, 0.005130447912961245, -0.17276038229465485, -0.007017669267952442, -8.638932062803616e-33, 0.04086483269929886, -0.00034910812973976135, 0.03250598907470703, 0.015251279808580875, 0.015609487891197205, -0.017487872391939163, 0.027811923995614052, 0.01240389421582222, 0.03729614242911339, -0.039230827242136, -0.0042666178196668625, -0.02393265999853611, -0.004779287613928318, -0.006523281801491976, 0.018396684899926186, -0.0046613141894340515, -0.008419162593781948, 0.047241587191820145, -0.03297717869281769, 0.029808294028043747, 0.019940296187996864, 0.023382345214486122, -0.002850351855158806, -0.04217936098575592, 0.02781195566058159, 0.032635632902383804, 0.010480103082954884, 0.01633143424987793, -0.023792453110218048, -0.03958376497030258, 0.011393728666007519, 0.025538617745041847, 0.0028785322792828083, -0.010723189450800419, 0.018141023814678192, -0.02456061542034149, 0.007453965023159981, 0.02519654482603073, 0.0059977807104587555, -0.039806514978408813, -0.02135166898369789, -0.012033256702125072, -0.03428239747881889, 0.005871363449841738, -0.016487527638673782, -0.01927042007446289, 0.005540406331419945, -0.00010822420153999701, 0.004779077600687742, 0.018062610179185867, 0.024957941845059395, 0.048225730657577515, -0.011408282443881035, 0.005863940343260765, -0.033729564398527145, 0.01014268584549427, -0.02144784666597843, -0.013662700541317463, 0.007054887246340513, 0.014500615186989307, 0.017331112176179886, 0.007991102524101734, -0.03077857568860054, 0.007976052351295948, 0.008803962729871273, 0.0013544842367991805, 0.03414741903543472, -0.02037528157234192, 0.02593143843114376, -0.022965895012021065, -0.04526585340499878, -0.003604399971663952, -0.025829004123806953, 0.0019970103166997433, 0.01450006291270256, -0.00221967208199203, 0.0075263092294335365, -0.02304714545607567, 0.01707596890628338, 0.0367654412984848, 0.011216948740184307, 0.0018850655760616064, -0.008527587167918682, -0.017274027690291405, -0.023518195375800133, -0.00003111785190412775, 0.04047278314828873, -0.007117229513823986, 0.0015665432438254356, 0.01371545996516943, 0.04822097718715668, 0.023754529654979706, -0.013921585865318775, -0.02854989841580391, -0.006249958649277687, 8.160763001408188e-33, 0.029497690498828888, -0.018262770026922226, -0.04051066190004349, -0.00826918613165617, 0.0011922408593818545, -0.04146365821361542, 0.017967509105801582, 0.016297345981001854, -0.03958389163017273, 0.015662355348467827, 0.0014047077856957912, 0.017196130007505417, -0.0043890648521482944, 0.03493460267782211, 0.08099360018968582, 0.0038776546716690063, 0.010957786813378334, -0.006791253108531237, -0.01563868299126625, 0.0026138985995203257, 0.041989028453826904, 0.007240156177431345, -0.002267227042466402, -0.024219820275902748, -0.01070798933506012, 0.05528897047042847, -0.048048075288534164, 0.0029691189993172884, 0.002478287322446704, 0.00975551176816225, -0.007672813255339861, -0.0015954370610415936, 0.01403720211237669, -0.06496728956699371, -0.06245560944080353, 0.012031329795718193, 0.015566079877316952, -0.02546042390167713, 0.016200190410017967, -0.012029659934341908, 0.013418246991932392, 0.007930317893624306, -0.022045962512493134, 0.04187977686524391, 0.014908011071383953, 0.011043252423405647, 0.009108778089284897, -0.020816927775740623, -0.006018125917762518, 0.02737962268292904, 0.021507179364562035, 0.01223579328507185, 0.008116214536130428, -0.010451982729136944, 0.013650880195200443, -0.031192444264888763, -0.023664070293307304, -0.02623940445482731, -0.017719591036438942, 0.036099523305892944, -0.0474003441631794, 0.007734724320471287, -0.008264503441751003, -0.011027778498828411, -0.03102162666618824, -0.002984247636049986, -0.020027676597237587, -0.021677834913134575, 0.005048494786024094, -0.044055432081222534, -0.02313804253935814, 0.014121351763606071, -0.017302382737398148, 0.022771639749407768, 0.004284803755581379, 0.0000994370857370086, -0.016397204250097275, -0.00911257229745388, 0.02013593167066574, 0.001304245670326054, 0.017008282244205475, 0.00884831603616476, 0.03630442172288895, 0.021169357001781464, -0.004737133160233498, -0.004053126554936171, -0.0032556450460106134, -0.009330020286142826, -0.016149098053574562, 0.008068753406405449, -0.06357093900442123, -0.00011431063467171043, -0.008522847667336464, 0.01600905880331993, -0.022165102884173393, -1.3922214492367857e-8, -0.049972500652074814, 0.053001321852207184, -0.003148098476231098, 0.024921778589487076, 0.014546636492013931, 0.03107460029423237, -0.049084484577178955, -0.03764483332633972, 0.008493234403431416, -0.01514843013137579, 0.0005324115627445281, -0.0026099488604813814, -0.005941391922533512, -0.023150108754634857, 0.014009814709424973, -0.04590504616498947, -0.031000928953289986, -0.013344484381377697, 0.017228983342647552, 0.032896656543016434, 0.00666261650621891, 0.058104246854782104, -0.044251956045627594, 0.02268926054239273, 0.024910008534789085, -0.01732431910932064, 0.014267712831497192, -0.07587119936943054, 0.03776184469461441, 0.019683940336108208, -0.003349045291543007, -0.0076880622655153275, -0.0003110221296083182, 0.020504180341959, -0.019834989681839943, -0.03079107217490673, 0.03429745137691498, 0.0072247725911438465, -0.0011271407129243016, 0.004589319694787264, 0.01807762123644352, -0.0007410318357869983, -0.010326540097594261, -0.03262057527899742, -0.01690339483320713, -0.0036461774725466967, -0.02739541232585907, -0.010600771754980087, 0.015770863741636276, -0.007771680597215891, 0.0015846805181354284, 0.005025794263929129, -0.001616905559785664, 0.02186102233827114, 0.01675489917397499, 0.025065526366233826, 0.0032724791672080755, -0.020029276609420776, -0.03192949667572975, 0.03378934785723686, 0.03864438086748123, 0.025141987949609756, -0.04053504392504692, -0.011746772564947605 ]
coding-implicit-vs-explicit-modeling
https://markhneedham.com/blog/2009/02/28/coding-implicit-vs-explicit-modeling
false
2009-02-17 22:32:44
Collective Code Ownership: Some Thoughts
[ "coding" ]
[ "Coding" ]
http://c2.com/cgi/wiki?CollectiveCodeOwnership[Collective code ownership] is one of the things we practice on projects using extreme programming and http://aydsoftware.blogspot.com/2009/02/collective-code-ownership.html[Mike Bria's post on the subject] makes me wonder if code ownership exists on more than one level. http://industrialxp.org/collectiveOwnership.html[Kent Beck's definition of collective code ownership] is that ____ Anyone can change anything at anytime ____ Mike also gives an alternative definition which goes beyond that: ____ From a more measurable POV, CoCO states that everyone on the team (developer-wise) must be able to describe the design of anything the team is working on in no more than 5 minutes. ____ Fo me this second definition goes beyond just describing a belief system about code and seems to be heading more towards the benefits we achieve from close collaboration on a code base using techniques such as pair programming. I've worked on several different teams over the last few years and although we've practiced collective code ownership on all of them I've noticed that only really on the projects where the whole team practiced pair programming all the time did everyone on the team have a good understanding of all areas of the code. In those teams where we didn't pair all the time we tended to end up with people becoming specialised in certain areas of the code, leading to them being asked to do the next story in that area, and so on until other people found it difficult to make changes without consulting them. It's almost like the benefits of collective code ownership are lost without the belief system of the team actually changing. We can still change the code if we want to but we don't have the confidence to do so since we haven't done any work in that area. Even if someone does explain the code to the rest of the team afterwards after they have written it, I don't think it's the same as living through the process of writing it, seeing the tradeoffs, limitations and the reasons why decisions were made. From my experience this happens far more frequently when pair programming as we get to work on a lot more areas of the code as well as working with people who can provide insight on other areas of the code that we might not have worked on yet. The *belief of collective code ownership + pair programming* is what leads to that second definition, which surely is the ideal on any software development team.
null
null
[ 0.0323617123067379, -0.002220933558419347, -0.016377577558159828, 0.03534901142120361, 0.0730443000793457, 0.022602586075663567, 0.036273591220378876, 0.04864379018545151, 0.02644762583076954, -0.029619261622428894, -0.03537431359291077, -0.018483711406588554, -0.06343381106853485, 0.01214069314301014, -0.05946934223175049, 0.07453633099794388, 0.06988779455423355, -0.003970474004745483, 0.00014711539552081376, 0.010623134672641754, 0.023548554629087448, 0.07078973948955536, -0.005987918935716152, 0.03776569664478302, 0.013988172635436058, 0.017478065565228462, 0.017392396926879883, -0.008549733087420464, -0.049446310847997665, -0.015011532232165337, 0.056063804775476456, 0.007707145530730486, 0.024972373619675636, -0.00523682264611125, 0.010662378743290901, -0.018222572281956673, -0.023537347093224525, 0.010146234184503555, 0.0006123138009570539, 0.011122342199087143, -0.04787613824009895, 0.035428933799266815, 0.0007868561078794301, 0.017301995307207108, -0.05506916344165802, 0.008794150315225124, -0.041952818632125854, 0.02081618830561638, -0.013145786710083485, 0.005205316469073296, -0.051031164824962616, 0.002664274536073208, -0.01780504360795021, -0.0073867784813046455, -0.013578707352280617, 0.056687891483306885, 0.031117446720600128, -0.05824439227581024, -0.0149598503485322, -0.05642618611454964, 0.004892123397439718, -0.022046709433197975, 0.02072780579328537, 0.03176390007138252, 0.01710965856909752, -0.03763715550303459, -0.0057162088342010975, 0.0338285006582737, -0.035987488925457, 0.0005566529580391943, -0.003211991861462593, 0.011139053851366043, -0.031738318502902985, -0.0008132088696584105, 0.004044363275170326, -0.053366925567388535, -0.00046428453060798347, 0.07163933664560318, 0.022544896230101585, 0.056669682264328, -0.007315298076719046, 0.03128102421760559, -0.006694345269352198, 0.026151444762945175, -0.02658049203455448, -0.0415445938706398, -0.0026649150531738997, -0.03211094066500664, -0.06949330121278763, 0.05631707236170769, 0.0059081027284264565, -0.06159750372171402, 0.02671779692173004, 0.04116475582122803, 0.008138835430145264, 0.013403646647930145, 0.029575077816843987, 0.019392218440771103, -0.0017669029766693711, -0.010351506061851978, -0.028436603024601936, -0.018572548404335976, 0.00006916584970895201, 0.005339123774319887, -0.08104025572538376, -0.00017994425434153527, -0.027023641392588615, -0.010829384438693523, -0.016885964199900627, -0.01185890194028616, -0.024601034820079803, 0.01806853897869587, -0.02692009136080742, 0.016082869842648506, -0.0653095468878746, 0.059551823884248734, -0.0027748513966798782, -0.032660141587257385, -0.005858118645846844, 0.021604672074317932, 0.03835739567875862, 0.039935022592544556, -0.01044181827455759, 0.09285237640142441, 0.022185880690813065, 0.025153014808893204, -0.028398161754012108, 0.054000888019800186, -0.020235154777765274, -0.06761860102415085, 0.0010868326062336564, 0.05323776975274086, -0.055200595408678055, -0.015297493897378445, -0.004455731716006994, -0.025798698887228966, -0.015685372054576874, 0.016040753573179245, 0.017448635771870613, 0.033373259007930756, -0.026654986664652824, -0.043866973370313644, 0.009204667992889881, 0.03056667558848858, 0.0068141561932861805, 0.004222841002047062, -0.029553359374403954, -0.01748303510248661, -0.0341777540743351, 0.00012642049114219844, 0.008401215076446533, 0.019803054630756378, 0.028293659910559654, -0.05907261744141579, 0.0275731161236763, 0.08279785513877869, 0.05320550873875618, 0.018395105376839638, -0.0037363090086728334, 0.05007890611886978, 0.041068077087402344, 0.01705034077167511, 0.023349490016698837, 0.030421819537878036, 0.020105920732021332, 0.004991315770894289, -0.008682327345013618, 0.050679635256528854, 0.00611448148265481, 0.02207675203680992, -0.0539308562874794, -0.04822736233472824, 0.033312827348709106, -0.05001852661371231, -0.023733461275696754, 0.029265891760587692, 0.06651566922664642, 0.025485267862677574, 0.03890643268823624, 0.007946169935166836, -0.07706116139888763, 0.007582822814583778, 0.0013482823269441724, 0.012580395676195621, 0.019925275817513466, -0.011746144853532314, 0.05327562987804413, 0.03252020850777626, 0.00439143693074584, 0.03991285338997841, -0.06754536926746368, -0.06801459193229675, -0.014341463334858418, -0.021598543971776962, 0.054239459335803986, -0.0322410948574543, 0.006860151421278715, 0.06910882890224457, 0.018561214208602905, 0.04946092143654823, 0.012331409379839897, -0.004679835867136717, 0.013799437321722507, -0.03595554456114769, -0.04606180638074875, 0.059531088918447495, 0.042576614767313004, 0.004104491788893938, -0.05652880668640137, 0.010514679364860058, -0.008087331429123878, 0.005688011180609465, 0.041815511882305145, -0.034985560923814774, 0.04448573663830757, -0.009972228668630123, 0.03252395987510681, -0.021166004240512848, 0.05964662879705429, -0.05527385324239731, 0.0029102624393999577, -0.0017714237328618765, -0.028059350326657295, 0.023656731471419334, 0.017975427210330963, 0.10675670206546783, 0.06199004873633385, -0.05434243381023407, -0.019291270524263382, 0.012560737319290638, 0.024872053414583206, -0.03536846116185188, -0.01764674112200737, -0.013956720940768719, 0.007299636956304312, -0.011247916147112846, -0.06675731390714645, -0.04016406461596489, 0.012762827798724174, -0.031222278252243996, 0.0001803441991796717, 0.06807228922843933, -0.02508506365120411, 0.04948527365922928, -0.019195932894945145, -0.024805432185530663, -0.010213715024292469, -0.03608220815658569, -0.05035124719142914, 0.019498469308018684, -0.003766808658838272, -0.010275932028889656, 0.04363127052783966, -0.02776974067091942, -0.010765153914690018, -0.04163883626461029, -0.007565545849502087, -0.01074298657476902, 0.03894040733575821, 0.05963033065199852, -0.0036392139736562967, 0.06125198304653168, -0.01401018537580967, 0.012037534266710281, -0.007431866135448217, -0.06510389596223831, -0.054871417582035065, -0.017716025933623314, 0.004204848315566778, 0.02838781103491783, -0.004486070945858955, 0.02654089406132698, 0.01890587992966175, -0.006811595521867275, -0.01050999853760004, 0.007083941251039505, 0.019861193373799324, 0.0039384798146784306, -0.004472787491977215, -0.022068481892347336, -0.034701112657785416, 0.03294290974736214, -0.030829183757305145, -0.03342336788773537, -0.0085068978369236, -0.07745236903429031, 0.06026225537061691, -0.07810189574956894, -0.049204085022211075, -0.009573489427566528, 0.041318751871585846, 0.04117945209145546, -0.005800547543913126, 0.026763012632727623, 0.07621356099843979, 0.009126723743975163, 0.00502800103276968, 0.006175357382744551, -0.013691842555999756, 0.023198554292321205, 0.0008533137151971459, -0.003031031461432576, 0.033837322145700455, -0.015494219027459621, -0.013801544904708862, -0.03138189762830734, 0.06717085838317871, -0.02351428009569645, -0.282274454832077, 0.025876756757497787, -0.004478483460843563, -0.04134218394756317, 0.009413816966116428, -0.0009669594001024961, 0.00897933915257454, -0.0590054988861084, -0.010213105008006096, 0.032489895820617676, -0.04413294419646263, -0.06940411776304245, -0.01404970046132803, 0.03991585224866867, -0.00019126234110444784, 0.023570235818624496, 0.010660937987267971, -0.030007923021912575, -0.010759633965790272, 0.05003998801112175, -0.015105181373655796, -0.0567408911883831, -0.004099031910300255, 0.030384093523025513, 0.0437784418463707, 0.055045489221811295, -0.08830490708351135, 0.03861478716135025, -0.05762733146548271, 0.010147864930331707, -0.011513900011777878, 0.023182516917586327, 0.004195878282189369, -0.03137599304318428, -0.026365797966718674, -0.029342837631702423, 0.034370772540569305, 0.010406600311398506, -0.04004788026213646, 0.005733882077038288, -0.017902033403515816, -0.022352585569024086, -0.009698621928691864, 0.005904714576900005, 0.07435835897922516, 0.0048316712491214275, -0.0865321010351181, -0.009503388777375221, -0.03814864158630371, 0.08657506853342056, -0.034309692680835724, -0.04857344552874565, 0.020691389217972755, 0.052512045949697495, -0.017062461003661156, -0.04146506264805794, 0.011021389625966549, -0.01644149236381054, -0.03907870873808861, -0.0017990313936024904, -0.03231024742126465, -0.03666999936103821, 0.0011138367699459195, -0.05297468602657318, 0.01663585938513279, -0.06692062318325043, -0.0775769054889679, -0.01732756197452545, 0.07615221291780472, 0.00900191254913807, -0.04752691462635994, 0.009769262745976448, -0.024667514488101006, -0.11233513802289963, -0.004622332751750946, -0.01124205719679594, -0.009189789183437824, -0.011292423121631145, 0.01866922900080681, 0.05794607847929001, -0.020656153559684753, -0.061015594750642776, 0.0165863037109375, 0.012080592103302479, 0.02681088075041771, -0.0030301574151962996, 0.04770165681838989, 0.007776346057653427, -0.02950470522046089, 0.016858117654919624, 0.059865936636924744, 0.0080659044906497, -0.03362695127725601, -0.011467195115983486, 0.027951180934906006, -0.0033316342160105705, 0.037279222160577774, -0.01631556637585163, -0.0016926301177591085, 0.04339779540896416, 0.002697621239349246, -0.06626114994287491, 0.029810793697834015, -0.015004522167146206, -0.017850013449788094, -0.011579131707549095, -0.03456253558397293, 0.020683469250798225, 0.04627309739589691, 0.0366767980158329, 0.0031995291355997324, -0.040971025824546814, 0.004066029563546181, -0.04538967087864876, -0.015372151508927345, -0.018977852538228035, 0.01371083501726389, 0.03523807227611542, -0.0030879834666848183, -0.009793123230338097, -0.04030459746718407, 0.016623977571725845, -0.012220085598528385, 0.008381042629480362, -0.07664308696985245, -0.014859055168926716, -0.031155580654740334, -0.021844640374183655, 0.030248308554291725, 0.023232897743582726, -0.03851183503866196, 0.03884061425924301, 0.0060995337553322315, -0.04380975663661957, 0.016633493825793266, -0.013241820968687534, -0.048931337893009186, -0.02990194968879223, -0.02834790013730526, -0.02588590234518051, 0.013731502927839756, 0.02518601343035698, 0.009294501505792141, 0.01894422620534897, 0.03134840726852417, 0.006850836332887411, 0.034567251801490784, -0.0039037445094436407, 0.02437339723110199, 0.010500861331820488, 0.017262304201722145, -0.06940626353025436, 0.03588511049747467, -0.031000884249806404, -0.024817876517772675, -0.041182417422533035, 0.04077121242880821, -0.0022101833019405603, -0.038077887147665024, -0.013627576641738415, 0.021389219909906387, -0.04612256586551666, -0.038336772471666336, -0.029575390741229057, 0.05310238525271416, 0.059274766594171524, -0.026790698990225792, 0.02944798953831196, -0.03191813826560974, -0.020687134936451912, 0.013096443377435207, 0.034967586398124695, -0.04735356196761131, -0.004111169837415218, 0.01650729589164257, -0.011509327217936516, 0.0012265607947483659, -0.008677471429109573, 0.04300893098115921, 0.010344024747610092, 0.014308862388134003, -0.010973194614052773, 0.014155209064483643, 0.009086372330784798, 0.04776974767446518, 0.019869323819875717, 0.012364566326141357, -0.013037235476076603, -0.0028296818491071463, -0.012997311539947987, -0.027286868542432785, -0.010853271931409836, -0.005364680662751198, 0.036378536373376846, -0.03186889365315437, -0.06171094998717308, 0.02863484062254429, 0.03300470486283302, 0.021614713594317436, 0.012076960876584053, -0.012867373414337635, 0.01363568939268589, -0.023720500990748405, 0.020880186930298805, 0.06708372384309769, -0.0537617988884449, 0.030453134328126907, 0.0007087350822985172, -0.011983835138380527, 0.008003492839634418, -0.006553175393491983, -0.04275664687156677, -0.022588524967432022, -0.02334190532565117, 0.0020014033652842045, -0.08092530071735382, -0.01777511090040207, -0.02023397944867611, 0.008303162641823292, -0.005693862680345774, -0.009751220233738422, -0.016017835587263107, 0.014808638952672482, -0.015523639507591724, -0.03549680858850479, 0.025884678587317467, -0.031000155955553055, 0.02741626463830471, 0.00856303982436657, -0.023981761187314987, 0.007795889396220446, -0.03545857220888138, 0.009699198417365551, 0.0057630715891718864, -0.02579992637038231, -0.009465676732361317, -0.018646109849214554, 0.002646738663315773, -0.004254159517586231, 0.03338072821497917, -0.019385509192943573, -0.03494222089648247, -0.03533540666103363, -0.030906258150935173, -0.03622005134820938, 0.0026955152861773968, -0.03312366083264351, -0.0002753120206762105, 0.014714756049215794, 0.05259912088513374, 0.02840724214911461, 0.028291158378124237, -0.01372512523084879, -0.005048476625233889, 0.05258193984627724, -0.07198039442300797, -0.036390628665685654, -0.02773912437260151, -0.03453134745359421, -0.0076286024414002895, 0.008679981343448162, 0.01944548636674881, -0.03492218255996704, 0.03771757706999779, 0.027639517560601234, 0.04336101561784744, 0.017514316365122795, -0.0080060213804245, 0.03417934477329254, -0.06305689364671707, 0.03207651153206825, -0.08549097925424576, 0.009702942334115505, 0.02413049153983593, 0.011166303418576717, -0.0065676989033818245, 0.0034289935138076544, -0.051313724368810654, 0.03925902768969536, -0.07357106357812881, -0.01817420870065689, 0.0387122742831707, -0.006021351553499699, 0.009923595935106277, 0.016781199723482132, -0.07819925248622894, 0.0220161322504282, 0.032619088888168335, -0.05418505147099495, -0.028641486540436745, -0.02869506925344467, 0.040410351008176804, 0.020889878273010254, 0.03864221274852753, -0.031247742474079132, -0.017031589522957802, 0.07874125987291336, -0.0009562156046740711, 0.008335585705935955, 0.05650555342435837, -0.005612608976662159, 0.04699011892080307, 0.02325095608830452, 0.0010371047537773848, -0.005463213659822941, 0.005693831015378237, -0.004980218131095171, -0.06137543544173241, 0.011484300717711449, 0.020409103482961655, -0.033615559339523315, -0.038038987666368484, 0.06991826742887497, 0.021616093814373016, -0.02931290492415428, -0.03476561978459358, 0.013407297432422638, -0.07418742775917053, -0.00006662358646281064, -0.012514160946011543, -0.020159488543868065, -0.04814739152789116, 0.04283455014228821, 0.01248517632484436, 0.007782879285514355, 0.060572586953639984, 0.015449726954102516, -0.03787203133106232, -0.003755597397685051, 0.09628836065530777, 0.08702889084815979, 0.056960299611091614, 0.017994338646531105, 0.06126439571380615, -0.03648950532078743, -0.039984602481126785, 0.023977410048246384, 0.015955282375216484, -0.02800339087843895, -0.014998241327702999, 0.01422952488064766, 0.052269332110881805, -0.010960386134684086, 0.0651843398809433, -0.016300534829497337, -0.01727881468832493, -0.0028289842884987593, 0.020903421565890312, 0.023374734446406364, 0.08628272265195847, 0.017470689490437508, 0.013895576819777489, -0.01613861694931984, -0.04279721528291702, 0.04149596765637398, -0.02122088149189949, 0.0008158021373674273, 0.02569272182881832, 0.01902567408978939, 0.021115923300385475, 0.021272817626595497, 0.03526821732521057, 0.07992364466190338, -0.04072249308228493, -0.0009329798049293458, -0.015609299764037132, 0.022713197395205498, -0.0036946276668459177, 0.014084294438362122, -0.018100205808877945, -0.015892483294010162, 0.002860661596059799, -0.03333897888660431, -0.02662615105509758, -0.022012630477547646, -0.01753205992281437, 0.06689031422138214, -0.011293177492916584, -0.015062711201608181, 0.015164777636528015, 0.025476880371570587, -0.046149928122758865, -0.06411746889352798, -0.04434814676642418, -0.037222690880298615, -0.04910219833254814, -0.03036901168525219, 0.03481649234890938, 0.013768303208053112, -0.02735290862619877, -0.016037464141845703, -0.022120384499430656, -0.022575587034225464, 0.050727684050798416, -0.054931361228227615, -0.03293702006340027, 0.01754641719162464, 0.009633172303438187, 0.04961012676358223, 0.01677965745329857, 0.05360996350646019, -0.024126635864377022, 0.005630637519061565, -0.04099496826529503, 0.021936802193522453, 0.019403835758566856, 0.007662901654839516, -0.0022758154664188623, -0.08346585929393768, 0.02135319449007511, 0.03041715919971466, -0.0034297355450689793, -0.06762475520372391, 0.04324576258659363, 0.003337247297167778, -0.002140746219083667, 0.05918123945593834, -0.01412489265203476, 0.0272833202034235, -0.03043700009584427, -0.004079710692167282, -0.01328896265476942, 0.008921943604946136, 0.05520639568567276, -0.010463664308190346, 0.09101677685976028, 0.025234313681721687, -0.01939581334590912, -0.05108598992228508, -0.0198574960231781, -0.012046711519360542, 0.0025393147952854633, -0.020274801179766655, -0.01163986325263977, -0.028722845017910004, -0.07167939096689224, -0.01173790730535984, 0.012996971607208252, -0.026170190423727036, -0.041651226580142975, 0.0333147794008255, 0.027483774349093437, -0.037245769053697586, 0.022739320993423462, -0.03201950713992119, 0.056795187294483185, -0.013328466564416885, 0.005977105814963579, 0.005923952907323837, 0.0028625456616282463, -0.01050803903490305, 0.012061480432748795, 0.039311185479164124, -0.060904987156391144, 0.0006240344373509288, 0.00936868041753769, 0.032552942633628845, 0.04566158726811409, 0.01173894852399826, 0.02307428978383541 ]
[ -0.08138151466846466, -0.025564709678292274, -0.0538044348359108, -0.030649900436401367, 0.05100352689623833, -0.03839948773384094, 0.0011624573962762952, 0.026454145088791847, 0.011431125923991203, -0.03208383917808533, 0.017853640019893646, 0.009141502901911736, 0.007110359612852335, -0.055140625685453415, 0.06951963156461716, 0.01650337502360344, -0.04405435547232628, -0.04905242472887039, 0.014284818433225155, 0.011183610185980797, -0.022758882492780685, -0.0944266989827156, -0.02558015286922455, -0.009587482549250126, 0.02144140936434269, 0.04700295999646187, -0.006696813739836216, -0.02194022201001644, 0.008571957238018513, -0.1977132260799408, 0.004092824645340443, 0.058507900685071945, 0.08442771434783936, -0.006913590244948864, 0.026547368615865707, 0.05793226137757301, 0.023431511595845222, -0.00011376927432138473, 0.011148437857627869, 0.062265194952487946, -0.004283649381250143, 0.03407517820596695, -0.018816376104950905, -0.027150074020028114, 0.004748829640448093, 0.04889999330043793, 0.008456266485154629, -0.036750998347997665, -0.06792018562555313, 0.049671098589897156, -0.020445888862013817, -0.02384638786315918, -0.034723974764347076, 0.021448027342557907, -0.011784792877733707, 0.03889123350381851, 0.015340715646743774, 0.07619608938694, -0.011313555762171745, 0.007892180234193802, 0.03390127420425415, -0.017344892024993896, -0.12437944114208221, 0.07774956524372101, 0.06625177711248398, 0.0840170606970787, -0.04059066250920296, -0.033640921115875244, -0.00831427052617073, 0.07046876847743988, 0.008704875595867634, 0.004448247142136097, -0.02232285402715206, 0.017728611826896667, 0.028867915272712708, -0.0017505042487755418, 0.024615973234176636, 0.029514385387301445, 0.02199646271765232, -0.06276346743106842, -0.052593693137168884, -0.02179574966430664, -0.022967025637626648, -0.010132214985787868, -0.03441021591424942, 0.040318600833415985, 0.013259172439575195, 0.04040544107556343, 0.04205282777547836, 0.010608908720314503, 0.013826691545546055, -0.01994771510362625, 0.06260427087545395, -0.010209018364548683, -0.06101691350340843, 0.01869245432317257, -0.012963421642780304, 0.017403937876224518, -0.043943166732788086, 0.4265870451927185, -0.041897229850292206, -0.02653495967388153, 0.0640171617269516, 0.016612593084573746, -0.005867641419172287, -0.008753680624067783, 0.03407394140958786, -0.038319021463394165, 0.042835038155317307, -0.022638438269495964, -0.038299333304166794, 0.03184176981449127, 0.04137367010116577, -0.02444044128060341, 0.029985034838318825, 0.015001160092651844, 0.0052193086594343185, 0.04725749045610428, 0.021175479516386986, 0.007791441865265369, -0.0050223879516124725, 0.01326321717351675, 0.02167275920510292, 0.009557929821312428, -0.04473407194018364, -0.004713280126452446, 0.024965977296233177, 0.07259150594472885, 0.04182443767786026, -0.02549196034669876, 0.07155652344226837, -0.004392957780510187, -0.041087303310632706, -0.008121293969452381, 0.0001823728671297431, 0.015680711716413498, 0.01560900080949068, -0.00016473274445161223, -0.022206265479326248, 0.0236298106610775, 0.031283844262361526, -0.004870934411883354, 0.0424131378531456, -0.013714405708014965, -0.03746328130364418, 0.10650090873241425, 0.012512543238699436, -0.027789020910859108, -0.0034508653916418552, -0.005625957623124123, -0.01796342059969902, 0.02323141321539879, -0.0009162445203401148, -0.04954646900296211, 0.003689826698973775, 0.00030045639141462743, 0.10496054589748383, -0.020336410030722618, -0.07292450219392776, -0.01946370303630829, -0.008546195924282074, 0.014529728330671787, -0.05985678359866142, 0.06907041370868683, 0.0734388455748558, -0.11720465123653412, -0.010384508408606052, -0.003137960098683834, 0.03388023003935814, -0.05001441761851311, -0.054765734821558, -0.018611114472150803, 0.0017296508885920048, 0.009551302529871464, 0.04030001536011696, -0.03281663730740547, -0.05831252038478851, 0.005958887282758951, 0.06183069944381714, 0.02271912433207035, 0.0033058819826692343, 0.009687702171504498, -0.02358098514378071, -0.0032338795717805624, -0.019845429807901382, -0.05521759018301964, -0.0724278911948204, -0.026421036571264267, -0.05092550814151764, -0.003571112407371402, -0.017975058406591415, 0.012941963970661163, -0.0861707329750061, 0.10375877469778061, -0.013874271884560585, -0.02094789780676365, 0.04663180559873581, -0.04831044003367424, -0.02406318485736847, -0.01866377517580986, -0.09717758744955063, 0.06456238031387329, -0.04874434322118759, 0.012560345232486725, -0.07965660840272903, 0.03819108381867409, 0.07474277168512344, -0.039292413741350174, 0.07147114723920822, 0.016591453924775124, -0.014161240309476852, -0.03741413354873657, -0.011958134360611439, 0.05380597338080406, -0.0033116471022367477, -0.005595449823886156, -0.025891464203596115, 0.04271157830953598, -0.004737840034067631, 0.010937754064798355, -0.040404461324214935, 0.012022688053548336, -0.0065613663755357265, -0.32664039731025696, -0.025969944894313812, -0.031989846378564835, -0.01478614006191492, -0.01377842016518116, -0.0685487613081932, -0.010270198807120323, -0.02691657282412052, -0.05233808979392052, 0.002657943870872259, 0.13229230046272278, -0.01666816882789135, -0.031055722385644913, -0.08171310275793076, -0.018563102930784225, 0.022512217983603477, -0.02660628780722618, -0.000755540793761611, -0.051648497581481934, 0.011392924934625626, -0.00796061847358942, 0.02388884872198105, 0.0024515390396118164, -0.03815307840704918, 0.0249084010720253, -0.01972394995391369, 0.07346006482839584, -0.031705912202596664, 0.11445347964763641, 0.008603068068623543, 0.019382312893867493, 0.014128940179944038, 0.01272883266210556, -0.12076213210821152, -0.006792806554585695, -0.010590199381113052, 0.007825836539268494, -0.03630559518933296, 0.024862390011548996, -0.019491713494062424, -0.046416886150836945, -0.0086813447996974, -0.052602432668209076, -0.042037781327962875, -0.04268016666173935, 0.0051052020862698555, -0.03849233314394951, -0.028547141700983047, -0.030082810670137405, 0.024077268317341805, 0.006747343577444553, 0.011285440996289253, 0.008971567265689373, 0.0046621100045740604, -0.035310231149196625, -0.022665532305836678, -0.08267810940742493, 0.03484383970499039, 0.02078087627887726, 0.04672044515609741, 0.049493491649627686, 0.05713757872581482, 0.00411927979439497, -0.08040598779916763, 0.053232528269290924, -0.027032194659113884, -0.006294201128184795, 0.0027618473395705223, 0.03156949207186699, -0.02368086576461792, 0.004417851101607084, 0.09900256246328354, -0.004969392437487841, -0.03856464475393295, 0.029729532077908516, 0.0001927665143739432, -0.01739557832479477, 0.010388907045125961, 0.03717289865016937, -0.010123977437615395, 0.030847229063510895, -0.02113565243780613, 0.0021270806901156902, -0.017830997705459595, 0.0289150457829237, 0.040871065109968185, -0.014262122102081776, -0.007974937558174133, 0.03329005837440491, 0.009649593383073807, -0.028593365103006363, -0.00701302383095026, -0.039763711392879486, -0.04979288578033447, 0.04772351309657097, 0.008057245053350925, -0.2395176738500595, -0.014140692539513111, 0.057913098484277725, 0.03911052271723747, -0.02443251572549343, 0.061179131269454956, 0.03902267664670944, -0.04347798973321915, -0.02548152208328247, 0.0033936258405447006, 0.04218028113245964, 0.04591607302427292, 0.027813972905278206, -0.012188193388283253, 0.06055393069982529, 0.011420737951993942, 0.05203835666179657, -0.007910876534879208, 0.001269332249648869, -0.01789603941142559, -0.0047836811281740665, -0.002712508663535118, 0.17817853391170502, 0.00465514836832881, 0.043386463075876236, 0.019624391570687294, 0.00985571276396513, 0.03210710361599922, 0.0271182581782341, 0.010480551049113274, 0.007937087677419186, 0.006359431892633438, 0.05079520121216774, -0.022454112768173218, -0.02979944832623005, -0.05035274475812912, -0.007555633317679167, 0.0066145239397883415, 0.033779460936784744, 0.0277301836758852, -0.006351599004119635, -0.004310927353799343, 0.008856752887368202, -0.0029551712796092033, 0.06413502991199493, 0.0193715188652277, -0.009660813957452774, -0.060956068336963654, -0.06742554903030396, -0.0026089597959071398, -0.058162081986665726, -0.039327461272478104, -0.022087641060352325, -0.017071248963475227, 0.00856104213744402, 0.04936176538467407, 0.002873789519071579, -0.015073053538799286, -0.0061506847850978374, 0.011952877976000309, -0.026839911937713623, 0.00265546515583992, 0.07443984597921371, 0.050877347588539124, 0.022161295637488365 ]
[ -0.028319213539361954, 0.017684180289506912, 0.008675739169120789, 0.011936180293560028, 0.002028119284659624, 0.008818987756967545, -0.017298150807619095, 0.006627052556723356, -0.0020399559289216995, 0.013079102151095867, -0.021880635991692543, 0.009905381128191948, 0.007518487051129341, -0.02835686318576336, 0.015176809392869473, 0.007145281881093979, -0.0039458079263567924, -0.008141553029417992, 0.02268170565366745, -0.0031368674244731665, -0.015891555696725845, -0.017529260367155075, -0.019086431711912155, -0.01098040584474802, 0.0122520225122571, 0.014442147687077522, -0.030772944912314415, 0.01042091939598322, 0.035551562905311584, -0.14279958605766296, -0.03423525393009186, -0.01343532744795084, 0.03161591291427612, 0.04968671128153801, 0.01619833894073963, 0.030677353963255882, 0.006031883414834738, -0.011712447740137577, 0.022331278771162033, -0.011142503470182419, -0.019665978848934174, 0.0007033876026980579, 0.0015955489361658692, -0.0011892305919900537, -0.026040060445666313, 0.03825969994068146, 0.01503625325858593, -0.04598221182823181, -0.033274997025728226, -0.02677144668996334, -0.03712644428014755, -0.007618391886353493, 0.019222363829612732, 0.0036135250702500343, 0.01934373751282692, -0.0033847058657556772, 0.014513453468680382, -0.019432494416832924, 0.009373468346893787, -0.033018577843904495, 0.02015713043510914, -0.012545065023005009, -0.036114536225795746, -0.0014250227250158787, -0.022722609341144562, -0.03759978339076042, 0.008060520514845848, 0.03444518521428108, -0.04974636435508728, 0.00023781029449310154, 0.015808960422873497, 0.0035063319373875856, -0.009012419730424881, -0.016092829406261444, 0.03173550218343735, 0.007937898859381676, -0.0007584455888718367, -0.02564084902405739, 0.028049055486917496, -0.03550250083208084, -0.03512043505907059, 0.04267241805791855, 0.024546410888433456, 0.005890758242458105, -0.01008076686412096, 0.0052824607118964195, 0.02628498338162899, 0.007513073273003101, 0.008811688981950283, 0.016354812309145927, -0.015928179025650024, 0.026693323627114296, 0.017746800556778908, 0.009652609936892986, -0.08775156736373901, -0.0015607485547661781, -0.017595749348402023, -0.004540449474006891, 0.0008249902166426182, 0.865682065486908, -0.021191034466028214, 0.014439060352742672, 0.033491525799036026, -0.01957004703581333, 0.021641170606017113, 0.0032288178335875273, 0.021493349224328995, 0.012572902254760265, 0.024141455069184303, -0.019634073600172997, -0.009207951836287975, 0.016909558326005936, -0.014891775324940681, -0.015838047489523888, 0.04090142250061035, 0.008840905502438545, 0.011880220845341682, 0.026682674884796143, 0.012378866784274578, -0.01193704642355442, 0.03966575860977173, 0.007354785688221455, 0.0007543989340774715, 0.016539636999368668, 0.014909250661730766, -0.1529024988412857, 0.01326218992471695, -8.621326830848145e-33, 0.022561395540833473, 0.014092845842242241, -0.03904733061790466, -0.0067782835103571415, 0.015233650803565979, -0.0026359695475548506, 0.04528453201055527, 0.01542253140360117, -0.04375898838043213, -0.005095967557281256, 0.011886227875947952, -0.022492149844765663, 0.012788164429366589, -0.0022158417850732803, 0.0017009605653584003, -0.03169088438153267, -0.023218875750899315, 0.003508548717945814, -0.008398214355111122, 0.028864746913313866, 0.038268912583589554, 0.028925804421305656, -0.006930820643901825, 0.008344069123268127, -0.0009075566194951534, -0.012526184320449829, -0.017673734575510025, 0.008656815625727177, 0.023740073665976524, -0.04066992551088333, -0.01962192915380001, 0.02824213355779648, -0.024595551192760468, -0.022920025512576103, -0.017060087993741035, -0.04250875860452652, -0.014645923860371113, -0.007146032061427832, -0.02413519285619259, -0.024350324645638466, -0.010338876396417618, -0.003913779277354479, -0.05204165354371071, -0.03418128192424774, 0.005452578887343407, -0.018945040181279182, -0.02845274843275547, -0.0158039852976799, 0.008608624339103699, -0.0007807753863744438, 0.015658976510167122, 0.026535596698522568, 0.009811797179281712, 0.032017312943935394, -0.005207901820540428, 0.009623422287404537, -0.022539911791682243, -0.006641991902142763, 0.010017509572207928, 0.007634682115167379, 0.011626104824244976, -0.0048795645125210285, -0.030106453225016594, 0.02222980558872223, -0.0063453190959990025, 0.013963445089757442, 0.021131692454218864, 0.00983374658972025, 0.03905373066663742, -0.02093440108001232, -0.05418407544493675, -0.023153113201260567, 0.004199501592665911, -0.0015704327961429954, -0.0033930556382983923, -0.004920128732919693, -0.017275601625442505, 0.011356428265571594, 0.005378976929932833, 0.03171977400779724, -0.001259117154404521, 0.012304860167205334, 0.022440455853939056, -0.01210963074117899, -0.016830937936902046, 0.009216312319040298, 0.02040456235408783, -0.00835090596228838, -0.035459816455841064, 0.05083934962749481, 0.03165651112794876, -0.018960975110530853, 0.029495637863874435, -0.006165551953017712, -0.013588422909379005, 8.227791158660013e-33, -0.0012358534149825573, -0.013825183734297752, -0.018303636461496353, -0.006186191458255053, 0.0252948347479105, 0.0007103331154212356, 0.013344818726181984, -0.020356982946395874, -0.06282072514295578, 0.035483378916978836, 0.013413526117801666, -0.022098323330283165, -0.035739146173000336, 0.035917434841394424, 0.035514842718839645, -0.02353035844862461, 0.003272548085078597, -0.010182592086493969, 0.029385671019554138, 0.020308280363678932, 0.025416171178221703, 0.006004066672176123, 0.01434507966041565, 0.033656299114227295, 0.016735147684812546, 0.05363662168383598, -0.040836554020643234, 0.024659117683768272, 0.015633294358849525, -0.047119949012994766, 0.00003246325286454521, -0.03500936180353165, 0.007356685120612383, -0.02207687497138977, 0.0056767393834888935, -0.006759038660675287, -0.039305832237005234, -0.028612609952688217, -0.00006597641913685948, -0.0038022783119231462, 0.029560625553131104, 0.010194283910095692, 0.004155446775257587, 0.023846469819545746, 0.0010986856650561094, 0.03302624449133873, -0.0048375800251960754, -0.0606570765376091, -0.009339810349047184, 0.026633650064468384, 0.00956878811120987, 0.025272056460380554, 0.02210608497262001, -0.026053661480545998, -0.005759941879659891, -0.025821305811405182, 0.007952658459544182, -0.010750219225883484, 0.0028995885513722897, 0.03696756809949875, 0.014568601734936237, -0.000904141110368073, -0.018831366673111916, 0.00800648145377636, -0.0200980044901371, -0.001722523826174438, -0.03403158858418465, 0.017539404332637787, 0.0004882471985183656, 0.011436672881245613, -0.024225808680057526, 0.014084720984101295, -0.011100765317678452, 0.029788007959723473, -0.0010714757954701781, -0.005127695854753256, -0.014155665412545204, -0.011845560744404793, -0.022941231727600098, 0.008008478209376335, 0.00037091667763888836, 0.01760818436741829, 0.017461854964494705, 0.03582998365163803, 0.005015043541789055, 0.043753743171691895, -0.003722813446074724, 0.01987014152109623, 0.0009995971340686083, -0.009550671093165874, -0.008972701616585255, -0.03899228572845459, 0.020595062524080276, -0.006427412386983633, -0.011912397108972073, -1.4010506532713407e-8, -0.043431356549263, 0.0021789618767797947, -0.005256772972643375, 0.0024574364069849253, 0.02806667797267437, 0.010876932181417942, 0.001586978673003614, -0.005368944723159075, -0.025626052170991898, 0.016743382439017296, 0.06182491406798363, -0.015017801895737648, 0.014532260596752167, 0.01773667521774769, 0.02554546482861042, -0.04413649067282677, -0.005572113674134016, -0.04116390272974968, 0.038848403841257095, -0.01169364620000124, 0.003577601630240679, 0.03756294772028923, -0.03187842294573784, 0.022881442680954933, -0.019883528351783752, 0.010968963615596294, -0.0010982637759298086, -0.07606911659240723, -0.018261533230543137, 0.008519417606294155, 0.016346987336874008, -0.000892226118594408, -0.04233554005622864, 0.04987937957048416, 0.0007117617642506957, -0.05627882480621338, 0.0012665591202676296, -0.01700163073837757, 0.0022709842305630445, 0.009838597849011421, 0.004476727917790413, 0.03402328863739967, -0.022737495601177216, -0.02622026950120926, 0.016193725168704987, -0.005142647307366133, -0.01843625120818615, -0.04114752635359764, -0.008254298940300941, -0.03608880192041397, 0.01996256411075592, -0.005404345691204071, -0.039320025593042374, 0.04146697744727135, 0.01270565390586853, -0.00426663551479578, -0.033153075724840164, 0.008261675015091896, -0.02874067984521389, -0.02884843945503235, 0.0001580944808665663, 0.028397846966981888, -0.024485066533088684, -0.03152238205075264 ]
collective-code-ownership-some-thoughts
https://markhneedham.com/blog/2009/02/17/collective-code-ownership-some-thoughts
false
2009-02-19 06:22:07
C#: Extension methods != Open classes
[ "c", "net", "extension-methods", "open-classes" ]
[ ".NET" ]
When I first heard about http://weblogs.asp.net/gunnarpeipman/archive/2007/11/18/c-extension-methods.aspx[extension methods] in C# it sounded like a pretty cool idea but I wasn't sure how they differed to the idea of open classes that I had seen when doing a bit of Ruby. After a bit of a struggle recently to try and override some extension methods on HtmlHelper in ASP.NET MVC it's clear to me that we don't quite have the same power that open classes would provide. To start with we can't access private variables of a class in an extension method - as far as I understand an extension method is just syntactic sugar to make our code look pretty at compile time. We therefore only have access to public fields, methods and properties from extension methods. Anything protected is also out of our reach. I'm no expert of Ruby's open classes but from what I have http://memeagora.blogspot.com/2007/05/are-open-classes-evil.html[read] and remember you can override private methods, use private variables and even remove methods if you want to. We could also add methods to a specific instance of a class which we can't do using extension methods. We therefore tend to be limited to using C#'s extension methods for applying operations directly to an object - applying different types of formatting to strings is one common use. Before extension methods existed this type of code would typically have gone on a StringUtils class so this is a definite improvement. We can 'add' more functional methods to a class as long as it only uses data accessible from the class' API but we haven't tended to do this so much on the projects I've worked on. The ability to override methods added to a class away from its original definition is something that we don't have using extension methods. As I mentioned we has some problems with this recently when trying to work out how to override some calls to HtmlHelper methods. In this case it would have been nice to be able to open up the HtmlHelper class and change these methods. Unfortunately since they were defined as extension methods, extending HtmlHelper didn't give access to them so we ended up coming up with a solution which feels http://www.markhneedham.com/blog/2009/02/12/aspnet-mvc-preventing-xss-attacks/[a bit too hacky for my liking]. As http://www.25hoursaday.com/weblog/2008/01/23/C30VsRubyThoughtsOnExtensionMethodsAndOpenClasses.aspx[Dare Obasanjo points out towards the end of his post] we also don't have the ability to create extension properties. Seeing as properties are compiled to get/set methods under the hood I wouldn't have thought it would be that difficult to add this in the next release. Overall though extension methods are a nice addition but they still don't quite give us the full power that open classes would provide.
null
null
[ 0.0005776022444479167, -0.021429968997836113, -0.007500695064663887, 0.031514719128608704, 0.06430236250162125, -0.020443782210350037, 0.04730375483632088, 0.008397132158279419, 0.02451026439666748, -0.03666708618402481, -0.022560415789484978, 0.00044940412044525146, -0.07882996648550034, 0.03175288811326027, -0.016527283936738968, 0.06939192116260529, 0.06363880634307861, -0.020487794652581215, 0.01186635997146368, 0.012313532643020153, 0.026415877044200897, 0.05834992602467537, -0.025145668536424637, 0.016821594908833504, 0.006907834205776453, 0.03480837494134903, -0.001887337421067059, 0.006645031739026308, -0.043182071298360825, -0.0080583356320858, 0.04421265050768852, 0.036200590431690216, 0.018969422206282616, -0.011944173835217953, 0.024809950962662697, -0.023684918880462646, -0.012522554025053978, -0.007810331415385008, 0.021550074219703674, 0.01788611337542534, -0.07855396717786789, 0.01986197754740715, -0.011461198329925537, 0.001086789765395224, -0.03195525333285332, -0.014889289624989033, -0.02092484012246132, 0.0029581161215901375, -0.03323657810688019, 0.008223176933825016, -0.06026940047740936, 0.034322336316108704, -0.03942826762795448, 0.0009556220029480755, 0.008218144066631794, 0.07044727355241776, 0.02622033841907978, -0.05106421187520027, 0.018689386546611786, -0.08333666622638702, -0.017254134640097618, 0.002121659927070141, 0.019928058609366417, 0.033649902790784836, 0.029411589726805687, 0.009473518468439579, -0.04175511747598648, 0.05821773037314415, -0.05156721919775009, -0.02106991596519947, 0.002828261349350214, 0.01855974830687046, -0.017002470791339874, -0.012312855571508408, 0.046433404088020325, -0.02868809551000595, -0.03265148773789406, 0.04232649877667427, -0.00004373163028503768, 0.047646112740039825, -0.015443813055753708, 0.019849929958581924, 0.03377413749694824, -0.007587354630231857, 0.03356434404850006, -0.044254329055547714, -0.030104106292128563, 0.021883638575673103, -0.004486368503421545, 0.06554098427295685, 0.009576886892318726, -0.030727002769708633, 0.029244085773825645, 0.02450580522418022, 0.015437831170856953, 0.012984395027160645, -0.0038000920321792364, -0.04169700667262077, -0.005440062377601862, 0.009092101827263832, -0.02983228489756584, -0.024741899222135544, 0.016917547211050987, 0.0005743890069425106, -0.0804082602262497, 0.006527470890432596, -0.025004498660564423, 0.003446402493864298, -0.021503545343875885, 0.016124211251735687, -0.05249926075339317, 0.012456033378839493, -0.04197176918387413, -0.017504798248410225, -0.06440496444702148, 0.0345388799905777, 0.023325344547629356, 0.00697174621745944, 0.013244753703474998, 0.0258016400039196, 0.023070504888892174, 0.013526520691812038, -0.004898217041045427, 0.06832166761159897, 0.03661034628748894, 0.005682466086000204, -0.047543205320835114, 0.06271868199110031, -0.018625618889927864, -0.0750502422451973, 0.009983943775296211, 0.043699849396944046, -0.008668478578329086, 0.008249142207205296, 0.00013312236114870757, -0.005858255084604025, 0.0045729633420705795, -0.0032296243589371443, 0.017720485106110573, 0.026824263855814934, -0.046780604869127274, -0.04660273715853691, 0.0062998197972774506, 0.0063608428463339806, 0.007377024739980698, 0.01695827767252922, 0.00872460100799799, -0.02913190983235836, -0.04185451567173004, 0.030486593022942543, 0.004629701841622591, 0.050328344106674194, 0.04139932990074158, -0.04703501984477043, 0.01721172407269478, 0.08029276132583618, 0.011281243525445461, -0.00030640457407571375, 0.03102852590382099, 0.0222312081605196, 0.04950769990682602, 0.023481957614421844, 0.015871671959757805, 0.04667019844055176, 0.017071522772312164, 0.007489094510674477, -0.01782444305717945, 0.06763739883899689, -0.0059702107682824135, -0.018772438168525696, -0.0722801461815834, -0.01574021205306053, 0.06992622464895248, -0.1001119464635849, -0.0009994693100452423, 0.05613264814019203, 0.05969975143671036, -0.003665558062493801, 0.05185038223862648, -0.0007031148415990174, -0.08209430426359177, -0.012056398205459118, 0.018005505204200745, 0.0004812805855181068, 0.001146832830272615, -0.005439967382699251, 0.08132876455783844, 0.02161520905792713, 0.03175939992070198, 0.03526635095477104, -0.0843636766076088, -0.07820957154035568, -0.02917570248246193, -0.011589216999709606, 0.0923054963350296, -0.018707245588302612, -0.002094918629154563, 0.08876248449087143, 0.008131960406899452, 0.04605269059538841, 0.04143889993429184, -0.0178768802434206, -0.0016931474674493074, -0.017514057457447052, -0.02635611593723297, 0.02554987370967865, 0.015005713328719139, -0.001916105393320322, -0.04044000059366226, 0.01302820723503828, 0.002979867858812213, -0.00805257074534893, 0.03468013554811478, -0.00999143160879612, 0.04012351483106613, 0.03740028291940689, 0.0537111721932888, -0.028463153168559074, 0.05669010803103447, -0.06155994534492493, 0.004433463327586651, -0.02029397338628769, -0.01422825176268816, -0.028297632932662964, 0.01192135363817215, 0.13882431387901306, 0.05430413410067558, -0.03084622509777546, -0.04011319577693939, 0.004330529365688562, 0.04276704043149948, -0.0636134147644043, -0.008246073499321938, 0.0018586463993415236, 0.022312361747026443, 0.006476591341197491, -0.0579536035656929, -0.012310609221458435, -0.00016407406656071544, -0.030512729659676552, 0.01723511330783367, 0.0826898068189621, -0.046269841492176056, 0.03305418789386749, -0.0027799897361546755, -0.02907586842775345, 0.018313681706786156, -0.015296932309865952, -0.046412669122219086, -0.0004695721436291933, 0.03213454782962799, -0.00994831882417202, 0.05081034451723099, -0.01558096893131733, 0.0017178277485072613, -0.009213165380060673, -0.029709158465266228, 0.004893871955573559, 0.02839837595820427, 0.0527406744658947, -0.003797717858105898, 0.04771360382437706, -0.010340803302824497, 0.016637427732348442, -0.008244749158620834, -0.04928484931588173, -0.009154638275504112, -0.01206975243985653, 0.024598712101578712, 0.03330298140645027, -0.0004334425029810518, 0.01834636740386486, 0.01221831701695919, -0.005596078932285309, -0.022789007052779198, -0.002566932002082467, 0.032796744257211685, 0.0009033243986777961, -0.04218054190278053, -0.050047338008880615, -0.04298824071884155, 0.02963726781308651, -0.027336133643984795, -0.054806120693683624, -0.016739927232265472, -0.0930234044790268, 0.01840605027973652, -0.08123142272233963, -0.08569367229938507, -0.004355244804173708, 0.02732756733894348, 0.012706675566732883, -0.00880544912070036, 0.044612303376197815, 0.06612484157085419, -0.018245123326778412, 0.009522916749119759, -0.00043841407750733197, -0.00003986708543379791, 0.027155520394444466, -0.01543689239770174, 0.0003410378412809223, 0.049407295882701874, 0.007381078787147999, 0.008613613434135914, -0.03569653257727623, 0.050476957112550735, -0.00014983002620283514, -0.2610538899898529, 0.03448081389069557, -0.02875988930463791, -0.031432267278432846, 0.010946325026452541, -0.017684996128082275, 0.02441978082060814, -0.06704774498939514, 0.00022101883951108903, 0.025430966168642044, -0.056043390184640884, -0.06485950946807861, -0.018512701615691185, 0.05409809947013855, -0.01533890888094902, 0.022577770054340363, 0.0025462056510150433, -0.037786681205034256, 0.01373691763728857, 0.030026815831661224, -0.018933288753032684, -0.051089826971292496, 0.006835547741502523, 0.055763814598321915, 0.034071799367666245, 0.0317002609372139, -0.0621015802025795, 0.054509785026311874, -0.024334406480193138, 0.013096869923174381, 0.006984112784266472, -0.0012243152596056461, 0.010145566426217556, -0.030587051063776016, -0.04566667228937149, -0.01750381663441658, 0.03195307403802872, 0.03541545197367668, 0.0038744336925446987, 0.014405252411961555, -0.05221828073263168, -0.029720667749643326, -0.02635088376700878, 0.003635887987911701, 0.0738329142332077, -0.018218712881207466, -0.0523567721247673, 0.00599076459184289, -0.03548691049218178, 0.07847552001476288, -0.023368261754512787, -0.06017764285206795, 0.023548418655991554, 0.030923061072826385, -0.012282896786928177, -0.04222917556762695, 0.019088706001639366, -0.013704279437661171, -0.026116983965039253, -0.05602176487445831, -0.006524832919239998, -0.04557960480451584, -0.02771284058690071, -0.059126682579517365, 0.026150235906243324, -0.06847036629915237, -0.0368836484849453, -0.01363200880587101, 0.07709801942110062, 0.04716198146343231, -0.012332499958574772, 0.012533970177173615, -0.004511632956564426, -0.10554198920726776, 0.018057748675346375, -0.04827731102705002, -0.0335363931953907, -0.047330133616924286, 0.0047829970717430115, 0.06024781987071037, -0.03773004189133644, -0.034109074622392654, 0.03128191828727722, 0.03121398761868477, 0.010171757079660892, 0.004075747914612293, 0.02628151886165142, -0.0248754620552063, -0.0025981084909290075, 0.00921297911554575, 0.06584592163562775, -0.0013865523505955935, -0.028105147182941437, -0.01959710381925106, 0.00438316585496068, 0.01578567922115326, 0.0529094934463501, 0.016951696947216988, 0.035951945930719376, 0.013442983850836754, 0.04141560196876526, -0.06059693172574043, 0.013327009975910187, -0.02499413676559925, 0.01264141034334898, -0.019247571006417274, -0.05381741374731064, 0.02114083804190159, 0.035483840852975845, 0.0009105822537094355, -0.007993343286216259, -0.03221801295876503, -0.004121365956962109, -0.04545065760612488, -0.025192081928253174, -0.01199394091963768, -0.002042734296992421, 0.026996953412890434, 0.018478333950042725, -0.028289904817938805, -0.02948559820652008, -0.004509919788688421, 0.016332896426320076, -0.010995499789714813, -0.06711435317993164, -0.026382796466350555, -0.0028976225294172764, -0.00248738587833941, 0.020498227328062057, 0.007828482426702976, -0.008505372330546379, -0.0008438940858468413, 0.011401128023862839, -0.04082360863685608, 0.011469698511064053, 0.009307685308158398, -0.019499002024531364, -0.02325150929391384, -0.02149677276611328, -0.013626324944198132, -0.010993178933858871, 0.019201751798391342, 0.0046061198227107525, 0.04191095754504204, 0.07632341235876083, 0.03034740686416626, 0.05793074145913124, 0.025410516187548637, -0.016792606562376022, 0.013064908795058727, 0.00024791277246549726, -0.07681658864021301, 0.03182896971702576, -0.0392482616007328, -0.008738215081393719, -0.051609285175800323, 0.027110453695058823, -0.0037089430261403322, -0.017657024785876274, -0.01597951352596283, 0.022509198635816574, -0.0462539903819561, -0.03538333624601364, -0.02018297277390957, -0.013449461199343204, 0.04436063766479492, -0.023494437336921692, 0.04416226968169212, -0.018409065902233124, -0.02388087287545204, 0.03837073594331741, 0.05660953000187874, -0.021349964663386345, 0.03622275963425636, 0.009255519136786461, -0.036727551370859146, -0.010590927675366402, 0.02257292903959751, 0.04303184896707535, 0.03423764184117317, 0.031362809240818024, -0.04180268198251724, 0.03242341801524162, 0.0069372383877635, 0.059088751673698425, -0.001134516322053969, -0.026032378897070885, -0.025308620184659958, 0.001919840113259852, -0.006217579822987318, -0.042481645941734314, -0.013596749864518642, -0.010136710479855537, 0.03317323699593544, -0.023657338693737984, -0.06693552434444427, 0.03310832753777504, 0.01609349250793457, 0.01464740838855505, 0.015460086986422539, 0.007679825648665428, 0.0025488806422799826, -0.008589528501033783, 0.03421971946954727, 0.04127297177910805, -0.04823662340641022, 0.02798568829894066, 0.0016442191554233432, 0.004120155703276396, 0.04082510620355606, 0.03614122048020363, -0.04151899740099907, 0.00508470693603158, -0.02198241651058197, -0.010594448074698448, -0.03716588020324707, -0.03526472672820091, -0.01688462682068348, -0.0006598922191187739, -0.013665992766618729, -0.01275180745869875, -0.03416796773672104, -0.009620420634746552, -0.006851383950561285, -0.03764047473669052, -0.013627429492771626, -0.05317629128694534, -0.00815765094012022, 0.026507321745157242, -0.0558384470641613, 0.021384170278906822, -0.027505861595273018, 0.01313423179090023, 0.02179882675409317, -0.018185829743742943, -0.028958026319742203, -0.05264827609062195, 0.028126725926995277, -0.029672734439373016, 0.06884096562862396, 0.007321503944694996, -0.051721010357141495, -0.026053035631775856, -0.030506351962685585, -0.03997821360826492, 0.006867548916488886, -0.032181888818740845, -0.027364639565348625, 0.03621693328022957, 0.04142484813928604, 0.01724007911980152, -0.00028018062585033476, -0.012170372530817986, 0.009985029697418213, 0.05966413766145706, -0.07198864221572876, -0.03503064811229706, -0.010692684911191463, -0.04642479494214058, 0.04154973104596138, 0.016392391175031662, 0.03272784501314163, -0.02615162543952465, 0.05457645282149315, 0.03600314259529114, 0.006354168523102999, 0.018054993823170662, 0.010601667687296867, 0.038050223141908646, -0.04540206491947174, -0.006981918588280678, -0.07154068350791931, 0.032897453755140305, 0.03242325782775879, 0.026875067502260208, -0.0328955240547657, -0.016419464722275734, -0.026358818635344505, 0.06593770533800125, -0.09685547649860382, -0.019808145239949226, 0.022549264132976532, 0.03345256298780441, -0.024646682664752007, -0.007713817525655031, -0.05538379028439522, 0.04474338889122009, 0.04380960017442703, -0.03011663258075714, -0.04351304844021797, -0.02857307344675064, 0.04129324480891228, 0.014122558757662773, 0.01929418370127678, -0.03415096178650856, 0.01770067773759365, 0.05596139281988144, 0.0032267854548990726, -0.007769843563437462, 0.04245935007929802, -0.03287094458937645, 0.018257666379213333, 0.02700979821383953, -0.00922572985291481, -0.015065393410623074, -0.012097973376512527, 0.008625790476799011, -0.072396419942379, 0.023359736427664757, 0.027044683694839478, -0.04153747856616974, -0.05397101864218712, 0.05942593514919281, 0.02202443592250347, -0.010255448520183563, -0.05169171839952469, 0.0029838336631655693, -0.024826854467391968, -0.019835151731967926, -0.02307990938425064, 0.016806451603770256, -0.0014606196200475097, 0.05943997949361801, 0.007395961321890354, -0.01143722701817751, 0.0625053346157074, -0.003533916315063834, 0.00027394990320317447, -0.017874624580144882, 0.07073840498924255, 0.06215199828147888, 0.05381806194782257, 0.002291562035679817, 0.06675989180803299, -0.01910397596657276, -0.05747431144118309, -0.005161126144230366, -0.02287484146654606, 0.019720835611224174, -0.023576484993100166, 0.026160532608628273, 0.06677297502756119, 0.0026721437461674213, 0.054339148104190826, -0.06163712590932846, -0.004931926727294922, -0.04301631078124046, 0.018878741189837456, 0.015260844491422176, 0.029823018237948418, 0.031092725694179535, 0.012075355276465416, -0.01300507877022028, -0.04772445186972618, 0.014126425608992577, -0.021881328895688057, -0.01059697289019823, 0.012486737221479416, 0.0217993576079607, -0.010909809730947018, 0.019864043220877647, 0.015087445266544819, 0.05861017107963562, -0.04492907226085663, 0.007785795256495476, 0.02071790024638176, 0.03595239296555519, 0.009508483111858368, -0.006575330160558224, -0.018014639616012573, -0.023417452350258827, -0.019917521625757217, 0.0025606355629861355, -0.004861283116042614, -0.04340539500117302, 0.00016734383825678378, 0.0435294471681118, -0.03204038739204407, 0.00405280664563179, 0.010619952343404293, -0.003559509292244911, -0.046130675822496414, -0.03904712572693825, -0.07457272708415985, -0.018744347617030144, -0.06746865808963776, -0.03709912672638893, 0.06083810329437256, -0.03307769447565079, -0.028026985004544258, -0.004690105095505714, -0.0008745270315557718, 0.0014551859349012375, 0.04821708798408508, -0.011622889898717403, -0.02745433896780014, -0.00432349881157279, 0.023146573454141617, 0.06479879468679428, 0.04147395119071007, 0.042778246104717255, 0.0007590590394102037, -0.004934679716825485, -0.058520302176475525, -0.02865978330373764, 0.03953695297241211, -0.004339823964983225, 0.009633850306272507, -0.06330692023038864, 0.030230652540922165, 0.008145364932715893, -0.009746653027832508, -0.05869969725608826, 0.005830045789480209, 0.02813561074435711, -0.0011983971344307065, 0.06210198253393173, -0.034283723682165146, -0.022059204056859016, -0.01877063885331154, -0.006568051874637604, 0.001773131312802434, 0.004675606265664101, 0.0167719516903162, -0.017906004562973976, 0.08194686472415924, 0.013693321496248245, -0.008166670799255371, -0.011137480847537518, 0.008741537109017372, -0.0010065615642815828, 0.029789039865136147, -0.0641043484210968, -0.010915384627878666, -0.03798627480864525, -0.04299255833029747, -0.019748613238334656, 0.03583551198244095, -0.019627612084150314, -0.036981601268053055, -0.0019905082881450653, 0.047796208411455154, -0.056171342730522156, 0.013322769664227962, -0.01929059810936451, 0.057396214455366135, -0.02861766889691353, -0.028650058433413506, -0.0031208470463752747, 0.012018601410090923, -0.010881368070840836, -0.029276259243488312, 0.03766762092709541, -0.019886793568730354, -0.024339063093066216, -0.04228104278445244, 0.012772870250046253, 0.03443100303411484, -0.018950555473566055, 0.0243502426892519 ]
[ -0.07451459020376205, -0.009407960809767246, -0.016500430181622505, -0.02526034601032734, 0.036883361637592316, -0.05887516215443611, 0.015072555281221867, -0.01231164950877428, -0.0004646874440368265, -0.0411393940448761, 0.04073869809508324, 0.026931067928671837, -0.05187898501753807, 0.017483873292803764, 0.09362009912729263, -0.0014779689954593778, -0.013878514990210533, -0.008984389714896679, -0.055912259966135025, 0.03371920809149742, 0.038372140377759933, -0.015783831477165222, -0.025780409574508667, -0.028163967654109, 0.0041640750132501125, 0.03995390608906746, -0.0030708510894328356, -0.02335614338517189, -0.0017259856685996056, -0.16925391554832458, 0.0100374985486269, 0.01334638986736536, 0.0012232597218826413, -0.01812577247619629, -0.02115730755031109, 0.009536831639707088, 0.054017066955566406, 0.030417777597904205, 0.0028410295490175486, 0.06345361471176147, 0.011830429546535015, 0.024989888072013855, -0.06279857456684113, 0.019209887832403183, 0.016460750252008438, -0.003949320875108242, -0.0011738097527995706, -0.019320877268910408, -0.031914182007312775, -0.0017112508649006486, -0.033150941133499146, -0.011118311434984207, -0.012289502657949924, -0.03910408914089203, 0.016983015462756157, -0.008361086249351501, 0.010433744639158249, 0.03737723454833031, 0.00464630639180541, 0.026595545932650566, 0.01918105222284794, 0.0039544557221233845, -0.13801917433738708, 0.10916755348443985, -0.007271990645676851, 0.07209737598896027, -0.006373613607138395, -0.031458862125873566, 0.032577622681856155, 0.0715918242931366, 0.04582999646663666, 0.010653825476765633, -0.04728040471673012, 0.05672537535429001, -0.007250227499753237, -0.003794026095420122, -0.019841408357024193, 0.0213688425719738, 0.06694921851158142, -0.05656532570719719, -0.05257320776581764, -0.05704739689826965, 0.055174920707941055, -0.009018129669129848, 0.011820735409855843, 0.0035542708355933428, 0.0043090530671179295, 0.012091870419681072, 0.08062319457530975, 0.028231000527739525, -0.002272246405482292, -0.06834392994642258, 0.025799870491027832, -0.0009823697619140148, -0.0507214292883873, -0.0437525250017643, 0.002357866382226348, 0.014555530622601509, -0.07508997619152069, 0.3594215512275696, -0.08473896235227585, -0.05440888926386833, 0.0579972118139267, -0.012200374156236649, -0.06692825257778168, 0.00835754256695509, 0.012403525412082672, -0.0294279083609581, 0.019429150968790054, -0.05255591496825218, 0.011307649314403534, -0.02369111031293869, 0.023569850251078606, -0.03575689718127251, -0.02573060244321823, -0.011814720928668976, 0.016789549961686134, -0.003725785529240966, -0.006049952935427427, -0.012335462495684624, -0.02965213730931282, -0.025493111461400986, 0.008623600006103516, 0.03937258571386337, 0.008063280954957008, -0.018843084573745728, 0.02952313981950283, 0.05740370973944664, 0.03939801827073097, 0.018951185047626495, 0.05567479878664017, -0.04440411925315857, -0.10738005489110947, -0.04320000857114792, -0.006403226405382156, 0.020954519510269165, 0.050232548266649246, -0.0061212875880301, 0.04891801252961159, -0.014676151797175407, -0.005358062218874693, 0.002597456332296133, 0.013898960314691067, -0.017307963222265244, -0.03278112784028053, 0.10983723402023315, -0.018147287890315056, 0.00043122537317685783, -0.04674516245722771, -0.04396151006221771, 0.009217518381774426, 0.044735927134752274, -0.03285101428627968, -0.022798508405685425, 0.010127822868525982, -0.011162853799760342, 0.05307081714272499, -0.033093810081481934, -0.04474639520049095, -0.0008186585619114339, -0.06768734008073807, 0.024838043376803398, -0.004509178455919027, 0.025843942537903786, 0.060318101197481155, -0.11315441876649857, -0.042477790266275406, 0.007077711634337902, 0.009580161422491074, -0.06627417355775833, -0.014332574792206287, 0.05269068479537964, -0.030032692477107048, -0.01561365369707346, 0.05323333293199539, -0.01072505209594965, -0.012114311568439007, -0.04953628405928612, 0.028869451954960823, 0.013105694204568863, 0.018042977899312973, 0.016717353835701942, -0.048565760254859924, -0.0027405093424022198, -0.0634126141667366, -0.0887460932135582, -0.06571460515260696, -0.039120547473430634, -0.024140696972608566, -0.00042726239189505577, -0.07057903707027435, -0.04082944616675377, -0.0872601643204689, 0.05203092098236084, -0.01508281659334898, -0.006208497565239668, 0.05753421410918236, -0.0016273792134597898, 0.02745063789188862, -0.00416214857250452, 0.004048666916787624, 0.06286042183637619, -0.015650546178221703, 0.03911561146378517, -0.056301504373550415, 0.0298291202634573, 0.06683234870433807, -0.05413240194320679, 0.047002777457237244, 0.0475291907787323, -0.06942559778690338, 0.00032731660758145154, -0.019886208698153496, 0.047201938927173615, -0.036194346845149994, 0.004378519952297211, -0.0112053994089365, 0.05355957895517349, -0.012524777092039585, 0.03940396383404732, -0.03402695059776306, -0.02973252162337303, 0.031578630208969116, -0.32865169644355774, 0.0017496965592727065, 0.0113344332203269, -0.05288597196340561, 0.022293824702501297, -0.10729696601629257, 0.003083143150433898, -0.03911066800355911, -0.04446353018283844, -0.007288497872650623, 0.08493106812238693, 0.005525235086679459, -0.005468237679451704, -0.08345998823642731, 0.02441370114684105, 0.03902047872543335, -0.03308284655213356, -0.07596652954816818, -0.002756622154265642, 0.05261131003499031, 0.004671159666031599, 0.01967577263712883, 0.029333433136343956, -0.0410723015666008, 0.015946615487337112, -0.0758320689201355, 0.08054112643003464, -0.0443401113152504, 0.1262151300907135, -0.02706393040716648, 0.04245041683316231, 0.0016141502419486642, -0.005963762756437063, -0.09880268573760986, -0.023391541093587875, -0.03119739331305027, 0.0033317527268081903, 0.016758790239691734, 0.07776881009340286, 0.01000753603875637, 0.03428354859352112, -0.006299606524407864, -0.04277960956096649, -0.048032246530056, -0.000941656471695751, 0.014378618448972702, -0.0030821231193840504, -0.04616155847907066, 0.0031318836845457554, 0.06228899955749512, -0.02114216797053814, 0.01778935082256794, 0.027118796482682228, 0.04770035669207573, -0.021269498392939568, -0.023157183080911636, -0.05739745497703552, 0.016135860234498978, 0.02102692611515522, 0.043625082820653915, 0.040807247161865234, 0.02204924449324608, 0.057378221303224564, -0.08213481307029724, 0.002571321092545986, 0.008522986434400082, 0.012756668031215668, -0.02672075480222702, 0.02481439895927906, -0.06971479207277298, -0.05158226937055588, 0.11751128733158112, 0.024140121415257454, 0.004607651382684708, 0.011910860426723957, 0.046530187129974365, 0.005229585338383913, 0.05076449364423752, 0.02957514487206936, 0.03153805434703827, 0.014786935411393642, 0.0031484419014304876, 0.0380614772439003, -0.028424100950360298, -0.0024682634975761175, -0.00255754915997386, -0.06490058451890945, -0.021110044792294502, 0.009991230443120003, -0.019305650144815445, -0.026202792301774025, 0.020605916157364845, -0.018599947914481163, -0.020844435319304466, 0.055126603692770004, -0.007367243990302086, -0.20807646214962006, -0.02570982277393341, 0.11355835199356079, 0.028514044359326363, 0.0025441318284720182, 0.07886232435703278, 0.06013321876525879, -0.06513436883687973, 0.026955759152770042, -0.010792183689773083, 0.03238120675086975, 0.040100306272506714, 0.026816023513674736, -0.002031567506492138, 0.0620337650179863, -0.014924058690667152, 0.04493582248687744, 0.009762508794665337, 0.026185281574726105, 0.010976539924740791, 0.04007837921380997, -0.01624777726829052, 0.1774585247039795, 0.010137141682207584, 0.039339806884527206, -0.011539358645677567, 0.02975216694176197, -0.023336190730333328, 0.07834623008966446, -0.019489560276269913, 0.04838604852557182, -0.010831831023097038, 0.0992661565542221, 0.006983969360589981, 0.05463515222072601, -0.09196712076663971, 0.031698521226644516, 0.028687406331300735, 0.020066674798727036, -0.0343947634100914, 0.0059662628918886185, 0.003539103316143155, -0.08572747558355331, 0.0065005021169781685, 0.06370552629232407, 0.020889919251203537, -0.05069401487708092, -0.040903542190790176, 0.01793445646762848, -0.027721628546714783, -0.036780085414648056, -0.04775257036089897, -0.00008594511018600315, -0.011879922822117805, 0.008475162088871002, 0.07684505730867386, 0.01777609810233116, -0.030519811436533928, -0.03722718730568886, -0.0019248755415901542, 0.03754885122179985, -0.005455083679407835, 0.08177408576011658, 0.07178668677806854, 0.0559476874768734 ]
[ 0.002710553351789713, 0.0022437460720539093, -0.00882811564952135, 0.038922931998968124, 0.01593739725649357, 0.028574585914611816, -0.012075423263013363, 0.031865429133176804, -0.03414382040500641, 0.016544491052627563, 0.001529488479718566, 0.028260530903935432, 0.014361985959112644, -0.019970444962382317, 0.02975495345890522, 0.04291943088173866, 0.0020623120944947004, -0.018246715888381004, -0.018131382763385773, 0.026374317705631256, 0.013353608548641205, 0.022223075851798058, 0.0017730360850691795, -0.0020893034525215626, -0.01925647258758545, 0.0005142464069649577, -0.008347663097083569, -0.007573666982352734, 0.026666423305869102, -0.1352437436580658, -0.021421419456601143, -0.04913286864757538, -0.0024757804349064827, 0.013661876320838928, -0.005762241780757904, 0.020551666617393494, 0.015767188742756844, 0.0354311503469944, -0.010609198361635208, 0.012219578959047794, -0.03770002722740173, 0.008875095285475254, -0.021261699497699738, 0.01544381957501173, -0.030075959861278534, -0.05097029358148575, -0.005464743357151747, -0.03923242539167404, -0.041712626814842224, -0.05410267412662506, -0.0015851408243179321, -0.007571261376142502, -0.016919882968068123, -0.01792866736650467, -0.004990654997527599, -0.03260234370827675, -0.02296489104628563, -0.04090471938252449, -0.006169071886688471, -0.0036551826633512974, -0.018595857545733452, 0.013229528442025185, -0.04702463746070862, -0.039207592606544495, -0.020298555493354797, -0.018576879054307938, 0.01828760653734207, 0.01558256521821022, 0.008917703293263912, -0.01122571062296629, -0.01945967599749565, 0.03377252444624901, -0.002116923686116934, 0.006310637574642897, 0.003242445643991232, -0.015835875645279884, 0.016571583226323128, 0.009403775446116924, 0.02935362048447132, 0.005616749171167612, -0.03483687713742256, -0.006570619996637106, 0.043303731828927994, 0.0509270578622818, 0.024341829121112823, 0.027720985934138298, -0.009191089309751987, -0.004220899660140276, 0.0008613782119937241, -0.00024156759900506586, -0.015350604429841042, -0.023617548868060112, -0.01176294032484293, 0.03309912234544754, -0.09111902117729187, -0.042439017444849014, 0.0013974489411339164, 0.0027115948032587767, -0.0014567774487659335, 0.8326848745346069, -0.0284724161028862, 0.03546013683080673, 0.021143397316336632, -0.0006517103174701333, 0.016904156655073166, -0.040977343916893005, 0.001220235601067543, 0.016508478671312332, 0.061354413628578186, -0.04105013608932495, 0.0022375776898115873, -0.0024008064065128565, -0.006197584792971611, -0.0011478113010525703, 0.027001215144991875, 0.022774653509259224, 0.007712847087532282, -0.028636129572987556, 0.021286610513925552, 0.007205923553556204, 0.03053915873169899, 0.039759960025548935, 0.019597401842474937, 0.03403814882040024, 0.00752345472574234, -0.16477328538894653, -0.020541831851005554, -8.214363339753776e-33, 0.0021425432059913874, 0.01459183543920517, -0.020908638834953308, 0.0249917171895504, 0.008057216182351112, 0.020169539377093315, 0.012319711036980152, -0.006016144994646311, -0.007325954269617796, -0.03606826439499855, 0.012695688754320145, -0.007669426035135984, 0.02554292604327202, -0.03434201329946518, 0.04942669719457626, -0.005014379508793354, -0.024217883124947548, 0.04847463592886925, 0.03456930071115494, 0.012532344087958336, -0.0067543829791247845, 0.037883397191762924, 0.05347509682178497, 0.014974177815020084, -0.009146586991846561, 0.012304412201046944, 0.01983324997127056, 0.019459499046206474, -0.004560593981295824, -0.041198160499334335, 0.05652797594666481, 0.013447173871099949, -0.027182986959815025, -0.008247832767665386, 0.041091371327638626, -0.013721218332648277, -0.0014641695888713002, 0.019794762134552002, -0.015398170799016953, -0.01838984526693821, -0.014750944450497627, -0.016171328723430634, -0.025106927379965782, 0.017945682629942894, -0.03234674036502838, -0.05013619363307953, -0.03200022876262665, 0.0415416844189167, 0.012029013596475124, -0.023245371878147125, -0.004201306961476803, 0.03675760328769684, 0.027303047478199005, 0.011843040585517883, -0.032383523881435394, 0.005320280324667692, 0.0006242133677005768, -0.005306267645210028, 0.014399590902030468, 0.0030088985804468393, 0.04429256170988083, -0.03742925077676773, 0.005523142404854298, -0.022288424894213676, -0.00751056894659996, -0.07349429279565811, 0.0006377564277499914, 0.018832797184586525, 0.05416683480143547, -0.015621257945895195, -0.027046743780374527, 0.0021465325262397528, -0.03302881121635437, 0.018608588725328445, -0.013844212517142296, -0.01138968113809824, 0.011021875776350498, 0.03000538982450962, 0.017022892832756042, 0.02011244371533394, 0.03645840659737587, -0.008159288205206394, 0.05361514538526535, -0.011394928209483624, -0.00963210966438055, -0.04126349836587906, 0.007050051353871822, -0.02932685799896717, 0.023363692685961723, 0.016326772049069405, 0.030570564791560173, -0.01606970839202404, -0.03126932680606842, -0.03252977877855301, -0.02641538716852665, 7.828870252977177e-33, 0.0016655275830999017, -0.0034670885652303696, -0.033779580146074295, 0.009424061514437199, 0.009294104762375355, 0.003949352074414492, -0.00981917791068554, -0.0027614072896540165, -0.04373607784509659, -0.0025900155305862427, 0.01759563945233822, 0.02743065543472767, -0.0224765557795763, 0.038618702441453934, 0.029410474002361298, -0.0346142053604126, 0.005092619452625513, -0.022311760112643242, 0.0415169820189476, -0.005507863126695156, -0.01638428494334221, 0.0033699884079396725, 0.0312172994017601, -0.003213416086509824, 0.03315667062997818, 0.04453229531645775, -0.07224006950855255, 0.0061614029109478, -0.002828596392646432, -0.014901777729392052, 0.01718430407345295, -0.005691785831004381, 0.02154284156858921, -0.02387997880578041, -0.03208564966917038, 0.06145356222987175, 0.010325699113309383, -0.02304155007004738, 0.06342873722314835, -0.013801025226712227, 0.03968259319663048, -0.012292725965380669, 0.012025379575788975, -0.013678803108632565, 0.013143694959580898, 0.006088738329708576, -0.018748188391327858, 0.005281494930386543, 0.00009157796739600599, 0.029648734256625175, -0.016176262870430946, -0.005874244961887598, 0.055601391941308975, 0.013678242452442646, 0.008086602203547955, -0.015469660051167011, -0.011529255658388138, -0.02301308698952198, -0.032591138035058975, 0.022795846685767174, 0.00013634003698825836, 0.026667233556509018, -0.05717744305729866, -0.0005407917778939009, -0.04617021977901459, -0.011289801448583603, -0.03595438972115517, -0.026476537808775902, -0.032535865902900696, -0.0450194776058197, -0.05442102625966072, 0.0009970141109079123, 0.002072682371363044, 0.014198352582752705, 0.013997521251440048, -0.01955418661236763, 0.00783782172948122, 0.01481097936630249, -0.030092865228652954, 0.002906791865825653, -0.01204761303961277, -0.0333014652132988, 0.04065987467765808, -0.04698920249938965, 0.021441558375954628, -0.005706303287297487, 0.006386855151504278, 0.02658834680914879, -0.005048422608524561, -0.030179446563124657, -0.017543988302350044, 0.014738584868609905, -0.016722632572054863, 0.03387102484703064, -0.005909997038543224, -1.3354664041287378e-8, -0.038682837039232254, 0.02095901593565941, -0.013724727556109428, 0.010292410850524902, 0.06637921184301376, 0.03126689791679382, -0.04586195945739746, -0.062059395015239716, -0.0253255907446146, 0.022540539503097534, 0.026303963735699654, 0.014997603371739388, 0.013447646982967854, -0.011463203467428684, 0.00225652614608407, -0.03454572707414627, -0.0411454439163208, -0.003622227581217885, 0.03322215378284454, 0.00633127149194479, -0.00928604044020176, 0.02232588641345501, 0.009752658195793629, -0.0001113682592404075, 0.03666601702570915, 0.006903127767145634, -0.02612096257507801, -0.08981539309024811, 0.014053323306143284, 0.03242548927664757, 0.029355665668845177, -0.007225118111819029, -0.03612327203154564, 0.0072889868170022964, -0.010187151841819286, 0.010105637833476067, -0.01054040715098381, -0.008908637799322605, -0.018376151099801064, 0.02830333635210991, 0.04245402291417122, -0.012416346929967403, -0.005385668482631445, -0.009433657862246037, 0.014391353353857994, -0.012818961404263973, -0.0020437249913811684, -0.012860885821282864, 0.034636951982975006, 0.0007624943973496556, 0.01801871880888939, 0.03167617321014404, -0.002731329994276166, 0.016785934567451477, 0.012902134098112583, 0.0036931470967829227, 0.028883516788482666, -0.02014518342912197, -0.027773814275860786, 0.03198632597923279, -0.03434005752205849, -0.023132257163524628, -0.03307516500353813, -0.012907452881336212 ]
c-extensions-methods-open-classes
https://markhneedham.com/blog/2009/02/19/c-extensions-methods-open-classes
false
2009-02-19 23:09:33
Coding Dojo #10: Isola III
[ "coding-dojo" ]
[ "Coding Dojo" ]
In our latest coding dojo we continued working on http://bitbucket.org/codingdojosydney/isola[Isola] with a focus on adding functionality following on from http://www.markhneedham.com/blog/2009/02/12/coding-dojo-9-refactoring-isola/[last week's refactoring effort]. == The Format We used the http://codingdojo.org/cgi-bin/wiki.pl?RandoriKata[Randori] approach with four people participating for the whole session. == What We Learnt * Our real aim for this session was to try and get the code into a state where we could reject an invalid move i.e. a move to a square that wasn't adjacent to the one the player was currently on. As we still had the whole board represented as a string this proved to be quite tricky but we eventually came up with an approach which http://bitbucket.org/codingdojosydney/isola/src/c024ba6f708b/src/main/java/gn/isola/game/IsolaBoard.java[calculated the difference between the last and current moves] and was able to tell us whether or not it was valid. This didn't cover diagonal moves, however. We found it pretty difficult to drive this functionality due to the way the board was represented. * What I've found surprising is how long we've been able to get away with having the board represented like this. Ideally we would have it represented in a structure that made it easy for us to make changes. This would require quite a *big refactoring effort* which we shied away from, I think due to the fact that we would be working without a green bar for quite a while during the refactoring. It wasn't obvious to me how we could refactor the code in small steps. * http://blog.halvard.skogsrud.com/[Halvard] pointed out that while we don't want to do Big Design Up Front, what we did in the first week of Isola was No Design Up Front which was equally harmful. Finding a happy medium i.e. *Enough Design Up Front* is necessary to avoid the problems we have run into here. == For next time * We're planning to try and implement Isola in Javascript next week. Most of the Dojo regulars are working with Javascript on their projects so it makes sense to give it a go.
null
null
[ 0.01390388049185276, -0.0135344872251153, -0.00971092376857996, 0.02865912951529026, 0.06810371577739716, 0.0060887872241437435, 0.03392243757843971, 0.025793828070163727, 0.007802226580679417, -0.024860141798853874, -0.02205801196396351, -0.014454309828579426, -0.06190589442849159, 0.0142876747995615, -0.0464482344686985, 0.06882142275571823, 0.06595475226640701, -0.003453595796599984, 0.030199704691767693, 0.00989068765193224, 0.02494093030691147, 0.07708287239074707, -0.005547628737986088, 0.02370847947895527, 0.022183487191796303, 0.01835252344608307, 0.0210125632584095, 0.008113274350762367, -0.07530688494443893, -0.0202065147459507, 0.04714106023311615, 0.010497688315808773, 0.01989283412694931, -0.003054895205423236, 0.007617283146828413, -0.030098365619778633, -0.04410636052489281, 0.03621183708310127, 0.006165802478790283, 0.020150987431406975, -0.05254354700446129, 0.05664761736989021, 0.011054141446948051, 0.0173835139721632, -0.03201380744576454, 0.004139220342040062, -0.03797242417931557, 0.0053825369104743, -0.010136371478438377, -0.01845129393041134, -0.07290828227996826, 0.018094416707754135, -0.0011518747778609395, 0.005292617715895176, -0.024291038513183594, 0.05023598670959473, 0.02550537884235382, -0.05526965484023094, 0.011878346092998981, -0.052919112145900726, -0.005633472464978695, -0.018712861463427544, 0.019736655056476593, 0.025693578645586967, 0.02314280904829502, -0.028835421428084373, 0.0010190258035436273, 0.041648346930742264, -0.03006746992468834, -0.003210600232705474, -0.0009493647376075387, 0.022558411583304405, -0.013531128875911236, -0.030950406566262245, 0.014840463176369667, -0.051511000841856, -0.0026544455904513597, 0.08624058961868286, 0.013288589194417, 0.030594589188694954, -0.014011663384735584, 0.01608123816549778, 0.02381276898086071, 0.019118206575512886, 0.0007681817514821887, -0.04266688600182533, -0.027594871819019318, -0.028991926461458206, -0.05990878492593765, 0.06701163947582245, 0.0035355205181986094, -0.05872064083814621, 0.03883133456110954, 0.024596581235527992, 0.0018486023182049394, 0.032047539949417114, 0.009677943773567677, 0.013058059848845005, 0.0012167342938482761, -0.008898071944713593, -0.03382781147956848, -0.014566982164978981, 0.01582770049571991, -0.000054649801313644275, -0.07132132351398468, -0.02489151991903782, -0.007511920761317015, -0.01897456869482994, 0.0073226019740104675, 0.016009710729122162, -0.01456265989691019, 0.011005776934325695, -0.016746819019317627, -0.011345296166837215, -0.057813532650470734, 0.0684596598148346, -0.001415002392604947, -0.043099239468574524, -0.05110966041684151, 0.03280226141214371, 0.04925255477428436, 0.03622807189822197, -0.006057526916265488, 0.1047513484954834, 0.040558189153671265, 0.03284269943833351, -0.023200739175081253, 0.05704282969236374, -0.02797272428870201, -0.06976506114006042, -0.005038031376898289, 0.057650960981845856, -0.029544970020651817, -0.010156496427953243, 0.008765149861574173, -0.04897679015994072, -0.013251375406980515, -0.006030391436070204, 0.021386943757534027, 0.02059503272175789, -0.025663845241069794, -0.02246890589594841, 0.00007723005546722561, -0.006924252025783062, 0.02631121501326561, 0.02382073923945427, -0.010993321426212788, -0.027321552857756615, -0.03110426291823387, -0.0037612903397530317, -0.010270996950566769, 0.019447848200798035, 0.01856406219303608, -0.04794831573963165, 0.020593633875250816, 0.08429612219333649, 0.0027460409328341484, 0.01388176903128624, -0.02059849351644516, 0.031705692410469055, 0.01492555532604456, 0.013186623342335224, -0.00006681108789052814, 0.026675736531615257, 0.008463345468044281, -0.00021556735737249255, 0.011836904101073742, 0.05578223988413811, 0.007922674529254436, 0.016265640035271645, -0.06114649027585983, -0.055657919496297836, 0.05272194370627403, -0.056311145424842834, -0.0264630988240242, 0.04061530902981758, 0.08645901829004288, 0.03334655612707138, 0.0384640209376812, 0.002299961866810918, -0.07979901880025864, 0.002464542631059885, 0.004533167462795973, 0.00949839223176241, 0.013737969100475311, -0.026770712807774544, 0.061707302927970886, 0.014129826799035072, 0.020868046209216118, 0.047485969960689545, -0.08110683411359787, -0.08065076172351837, -0.009411011822521687, -0.004139691591262817, 0.06566862761974335, -0.004341301042586565, 0.005305795464664698, 0.0666797086596489, 0.0178290493786335, 0.04299665987491608, 0.037153687328100204, 0.015577529557049274, 0.014215766452252865, -0.0438130758702755, -0.03364534303545952, 0.033892158418893814, 0.04931547865271568, -0.017419416457414627, -0.04575642570853233, 0.007607591804116964, -0.005735715851187706, -0.011232041753828526, 0.03442319855093956, -0.02475312165915966, 0.03228025510907173, 0.013620942831039429, 0.05920028313994408, -0.03334326297044754, 0.06894240528345108, -0.07331090420484543, 0.007217929232865572, 0.013251989148557186, -0.016985414549708366, -0.0026183135341852903, 0.011701012961566448, 0.11802271008491516, 0.046393077820539474, -0.03453756123781204, -0.028320124372839928, 0.005863287951797247, 0.0035414942540228367, -0.05760636180639267, -0.022666683420538902, -0.007605862803757191, 0.013113210909068584, -0.014220120385289192, -0.06800547987222672, -0.04680369049310684, 0.03872712701559067, -0.040100373327732086, 0.010218710638582706, 0.07651160657405853, -0.007108959835022688, 0.04345080256462097, -0.0014329998521134257, -0.0010679145343601704, -0.019567281007766724, -0.009400117211043835, -0.044966138899326324, 0.03485092893242836, 0.015198425389826298, -0.023674260824918747, 0.05065765231847763, -0.03431110084056854, -0.035274606198072433, -0.03345112130045891, -0.017041470855474472, -0.024633046239614487, 0.03357594087719917, 0.05853540077805519, 0.004943312145769596, 0.04542543366551399, -0.0005347285768948495, 0.015859810635447502, -0.003980637528002262, -0.0493842177093029, -0.028261659666895866, -0.021334128454327583, 0.0033950593788176775, 0.04800475016236305, 0.003932672552764416, 0.02387218177318573, 0.028506169095635414, -0.007577803917229176, -0.0219434704631567, -0.02369397133588791, 0.03490275889635086, 0.0037321688141673803, -0.023427890613675117, -0.01663479395210743, -0.02810579724609852, 0.035829368978738785, -0.05424904823303223, -0.019355738535523415, -0.0044132922776043415, -0.06267914921045303, 0.06623777747154236, -0.07898174226284027, -0.06095707044005394, 0.014355120249092579, 0.03114980272948742, 0.06105734407901764, -0.04510261490941048, 0.015257800929248333, 0.08438337594270706, -0.012791465036571026, 0.011141990311443806, -0.0032121906988322735, -0.006748182699084282, 0.04632766172289848, 0.007355490233749151, 0.009479720145463943, 0.03156536817550659, 0.013377034105360508, -0.012416718527674675, -0.025377271696925163, 0.03439891338348389, -0.003014548448845744, -0.29190629720687866, 0.039488740265369415, -0.008075806312263012, -0.04229944944381714, 0.017407899722456932, 0.00033956681727431715, 0.005729117896407843, -0.04434550926089287, 0.0004316273261792958, 0.008246331475675106, -0.03368045389652252, -0.04951774328947067, -0.03062990866601467, 0.07310957461595535, -0.003939860500395298, 0.04065562039613724, 0.018160205334424973, -0.023991601541638374, -0.011377486400306225, 0.04299056529998779, -0.018439801409840584, -0.06227588281035423, 0.0038186830934137106, 0.031538695096969604, 0.021069953218102455, 0.05809764191508293, -0.10085967183113098, 0.01574748009443283, -0.031184688210487366, -0.008783960714936256, 0.02256634272634983, 0.006423936225473881, -0.021301576867699623, -0.020317187532782555, -0.01931815594434738, -0.003908310551196337, 0.02225571870803833, 0.012750912457704544, -0.0005501116975210607, 0.018720323219895363, -0.02821251004934311, -0.03772741183638573, -0.017476379871368408, 0.0030167815275490284, 0.0766039788722992, -0.008363526314496994, -0.06749208271503448, -0.013484224677085876, -0.032665103673934937, 0.07544844597578049, -0.009220107458531857, -0.042830727994441986, 0.0029724626801908016, 0.05615184083580971, 0.008640997111797333, -0.006247225217521191, -0.009464253671467304, -0.008012669160962105, -0.03935202211141586, -0.036367908120155334, -0.018244097009301186, -0.05936576798558235, -0.014436818659305573, -0.04880484566092491, 0.010807015933096409, -0.06942373514175415, -0.04507123678922653, 0.008853662759065628, 0.08608584851026535, 0.03285634517669678, -0.03541502356529236, 0.029454197734594345, 0.00672153290361166, -0.09780992567539215, 0.0022643189877271652, -0.009785962291061878, -0.019020693376660347, -0.013233721256256104, 0.007620614022016525, 0.044307317584753036, -0.019684646278619766, -0.05658502131700516, 0.030083635821938515, 0.013184827752411366, 0.001481672516092658, -0.010529340244829655, 0.04740570858120918, 0.01297746878117323, -0.016109861433506012, 0.015646111220121384, 0.06320974230766296, -0.0025060605257749557, -0.04324566572904587, -0.030285317450761795, 0.035853609442710876, 0.022952565923333168, 0.03786386176943779, -0.032791998237371445, -0.0015954111004248261, 0.039297979325056076, -0.002744746394455433, -0.06345632672309875, 0.045672327280044556, -0.03180314972996712, 0.001536525902338326, -0.00034771865466609597, -0.049860630184412, -0.001981942681595683, 0.03455367311835289, 0.02715517207980156, -0.007634008303284645, -0.057780466973781586, -0.0008471195469610393, -0.04304657131433487, -0.013582332991063595, -0.019892413169145584, 0.02621474675834179, 0.04039454087615013, -0.015713630244135857, -0.020169181749224663, -0.04019557312130928, 0.01669410988688469, 0.0020361943170428276, 0.0011924296850338578, -0.04776465892791748, -0.0034308379981666803, -0.02919253334403038, -0.009556809440255165, 0.02955768071115017, 0.006754727102816105, -0.008585692383348942, 0.03854677453637123, -0.002134143840521574, -0.02955326996743679, 0.022259779274463654, -0.009465742856264114, -0.039643704891204834, -0.013947034254670143, -0.00977938063442707, -0.007379516027867794, 0.0037235773634165525, 0.029651911929249763, 0.003316267626360059, 0.01245881523936987, 0.03470957651734352, 0.0017788581317290664, 0.0362149178981781, -0.032710108906030655, 0.003917123191058636, 0.025390267372131348, 0.0032621549908071756, -0.10020598024129868, 0.020936226472258568, -0.05975567549467087, -0.030071819201111794, -0.00971129909157753, 0.031538307666778564, -0.013454549014568329, -0.006813578307628632, -0.010602593421936035, 0.0016755125252529979, -0.04352526366710663, -0.030897589400410652, -0.020584790036082268, 0.006727554835379124, 0.05459412932395935, -0.0005485355504788458, 0.007783527951687574, -0.014473502524197102, -0.023389998823404312, 0.007267412263900042, 0.031061649322509766, -0.038837630301713943, 0.006104688625782728, 0.012998159974813461, -0.0063191791996359825, 0.002150429179891944, -0.004721020348370075, 0.053060825914144516, 0.027334166690707207, -0.0019274380756542087, -0.02265983261168003, 0.015571614727377892, 0.0008867962751537561, 0.03890419378876686, -0.0063078878447413445, 0.01820250228047371, 0.010197081603109837, -0.007004378363490105, -0.03523696959018707, -0.034594401717185974, -0.003724145470187068, 0.01217928621917963, 0.021522734314203262, -0.040265168994665146, -0.06312263756990433, 0.05211935564875603, 0.049094393849372864, 0.014622597023844719, 0.03227410465478897, 0.013856536708772182, 0.0061328052543103695, -0.036439742892980576, 0.015889545902609825, 0.05910894274711609, -0.0637364387512207, 0.017323806881904602, -0.007820786908268929, 0.011328031308948994, -0.012704744935035706, -0.018607037141919136, -0.042284756898880005, -0.025517171248793602, -0.056212734431028366, 0.0008431169553659856, -0.05693426728248596, -0.03235483914613724, -0.016220204532146454, 0.016595521941781044, -0.02274918369948864, -0.024720773100852966, -0.009077698923647404, 0.007641404867172241, 0.00006972270784899592, -0.013413382694125175, 0.013173290528357029, -0.05283772200345993, 0.018169930204749107, 0.008307616226375103, -0.030599188059568405, 0.02764548920094967, -0.035454217344522476, 0.019316252321004868, 0.03613990545272827, -0.03173486143350601, -0.014338300563395023, -0.05069010704755783, 0.005158283747732639, 0.013298297300934792, 0.04423963651061058, 0.002795106265693903, -0.021123139187693596, -0.03668694570660591, -0.0006312960176728666, -0.05027672275900841, 0.025584176182746887, -0.040187690407037735, -0.014253045432269573, 0.03145778924226761, 0.0649554431438446, 0.025479285046458244, 0.03758213669061661, -0.024534249678254128, -0.02748316526412964, 0.058220330625772476, -0.08854275941848755, -0.012168802320957184, -0.025799645110964775, -0.06992477923631668, 0.0023428606800734997, -0.0015376558294519782, 0.043347690254449844, -0.031872477382421494, 0.03802090138196945, 0.006389759946614504, 0.03284243494272232, 0.018018024042248726, -0.03270402178168297, 0.023276062682271004, -0.04034966230392456, -0.00969851016998291, -0.06491311639547348, 0.03579255938529968, 0.03948158025741577, 0.007595331408083439, -0.023770298808813095, -0.007860125042498112, -0.04907325655221939, 0.035416726022958755, -0.05698171630501747, -0.00239494233392179, 0.06607931107282639, 0.006095286458730698, 0.0015208827098831534, 0.008272253908216953, -0.0706365704536438, 0.029760055243968964, 0.04483668506145477, -0.03868475183844566, -0.03313262388110161, -0.05054791644215584, 0.060763757675886154, 0.005902047734707594, 0.03341139853000641, -0.023325476795434952, 0.000883052940480411, 0.06043120473623276, 0.002670528134331107, 0.01026824302971363, 0.03799813985824585, -0.008252287283539772, 0.042220551520586014, 0.03749968484044075, 0.03314986824989319, -0.010149297304451466, 0.011431679129600525, -0.019708741456270218, -0.055111490190029144, 0.01755988970398903, 0.013072368688881397, -0.042091354727745056, -0.03885883837938309, 0.06306064128875732, 0.022911781445145607, -0.029104409739375114, -0.03926099091768265, 0.01246972568333149, -0.06789637356996536, 0.011816027574241161, -0.02902126871049404, -0.008075025863945484, -0.04837575927376747, 0.057116612792015076, 0.009920954704284668, -0.0009271859307773411, 0.06056664511561394, 0.008290251716971397, -0.018678685650229454, -0.02979680895805359, 0.08121895045042038, 0.06513583660125732, 0.04069982096552849, 0.026462245732545853, 0.05313059687614441, -0.024648703634738922, -0.03760119527578354, 0.025169560685753822, 0.019081702455878258, -0.020264694467186928, -0.022135740146040916, 0.010894816368818283, 0.047393836081027985, -0.0218841340392828, 0.05902240425348282, -0.013132531195878983, -0.01955306902527809, 0.004909466952085495, 0.010956727899610996, 0.017068175598978996, 0.06990298628807068, 0.008981750346720219, -0.009328411892056465, 0.0021561840549111366, -0.028920399025082588, 0.03257116675376892, -0.03026420809328556, 0.0016087864059954882, 0.020480819046497345, -0.007680225186049938, 0.021646378561854362, 0.002261144807562232, 0.020817289128899574, 0.0767832100391388, -0.04402582719922066, 0.004838542081415653, -0.010406635701656342, 0.036500800400972366, 0.02622327022254467, 0.006639192812144756, -0.021978553384542465, -0.024186404421925545, 0.0009446156327612698, -0.039356932044029236, -0.01771751046180725, -0.004739813506603241, -0.007844990119338036, 0.05416635051369667, -0.008423227816820145, 0.009094472043216228, 0.03608955070376396, 0.02170327492058277, -0.0377894788980484, -0.068421870470047, -0.056781694293022156, -0.0453357957303524, -0.06328916549682617, -0.02565850503742695, 0.03192438930273056, -0.009113045409321785, -0.04558354243636131, -0.007027893792837858, -0.045068077743053436, -0.014209731481969357, 0.05717833712697029, -0.057226140052080154, -0.04403567686676979, 0.038840968161821365, 0.010935639031231403, 0.03141278028488159, 0.029272189363837242, 0.04646574705839157, -0.025603394955396652, -0.00895696971565485, -0.037009499967098236, 0.018164755776524544, 0.044249191880226135, 0.013777343556284904, 0.008339055813848972, -0.08696788549423218, 0.02328679710626602, 0.033688824623823166, 0.010869670659303665, -0.04872205853462219, 0.03952423483133316, -0.0059571643359959126, -0.023334920406341553, 0.06825882941484451, -0.02102486602962017, 0.007727686781436205, -0.027579141780734062, -0.008108020760118961, -0.01347114983946085, 0.002739980351179838, 0.041189782321453094, -0.021221688017249107, 0.09160266071557999, 0.023117894306778908, -0.03577897697687149, -0.05163603648543358, 0.0019182346295565367, -0.0036104200407862663, -0.022199198603630066, -0.013522288762032986, -0.03831668570637703, -0.035770807415246964, -0.05990850552916527, -0.02024461328983307, 0.017419621348381042, -0.005895619280636311, -0.031622838228940964, 0.012044328264892101, 0.026157665997743607, -0.05185392126441002, 0.007857381366193295, -0.029150130227208138, 0.04424664378166199, -0.03129756450653076, 0.00833525788038969, -0.004883698187768459, -0.009228317998349667, -0.0072207339107990265, 0.013976454734802246, 0.03625287860631943, -0.03955245018005371, 0.019985688850283623, 0.004834027029573917, 0.01330219954252243, 0.03443516045808792, 0.01710847020149231, -0.0042998273856937885 ]
[ -0.13059383630752563, -0.025207143276929855, -0.018125828355550766, -0.04421514272689819, 0.01994769275188446, 0.005127097945660353, -0.03507128357887268, 0.018551787361502647, 0.01127326674759388, -0.004081998486071825, 0.0005202586762607098, -0.03602372109889984, -0.02624681405723095, 0.002660981612280011, 0.08685284852981567, 0.0019783899188041687, -0.017520377412438393, -0.024467287585139275, 0.009707184508442879, 0.018023207783699036, 0.005405092146247625, -0.024146340787410736, -0.02037118934094906, -0.027943545952439308, 0.010829616338014603, 0.01766933873295784, 0.020430296659469604, -0.05123217776417732, 0.009456010535359383, -0.2247011959552765, -0.00195069529581815, 0.012885309755802155, 0.02784419059753418, -0.02098703384399414, -0.035253554582595825, 0.03636130690574646, -0.009220783598721027, 0.02402474544942379, -0.012830125167965889, 0.02243017964065075, -0.008037226274609566, 0.03131876513361931, -0.026353411376476288, -0.041330546140670776, 0.03733772411942482, 0.0061701154336333275, 0.01263516116887331, -0.031161939725279808, 0.004906743299216032, 0.012199709191918373, -0.05279820039868355, -0.002398720709607005, -0.008863196708261967, -0.02762451581656933, 0.02207491174340248, 0.021677877753973007, 0.0488869734108448, 0.05591272935271263, 0.012132407166063786, 0.03175612539052963, 0.03738145902752876, -0.014096752740442753, -0.12207060307264328, 0.07359158992767334, 0.023639321327209473, 0.054235056042671204, -0.014783907681703568, -0.0007567984866909683, -0.0016289895866066217, 0.09818161278963089, 0.014094068668782711, -0.03256449103355408, 0.02527035027742386, 0.036297909915447235, 0.017917463555932045, -0.009321863763034344, -0.011961829848587513, 0.0063263908959925175, 0.016623925417661667, -0.03313680738210678, -0.05686439573764801, -0.03636138141155243, -0.029463540762662888, 0.006143768317997456, -0.05148480832576752, 0.012802176177501678, -0.017195260152220726, 0.057677771896123886, 0.0022968186531215906, 0.024132464081048965, 0.05549256503582001, 0.01461094431579113, 0.04433491453528404, 0.0006074144039303064, -0.09575017541646957, 0.007641330361366272, -0.04122190177440643, 0.018272364512085915, -0.029280534014105797, 0.4929439425468445, -0.022102132439613342, -0.02171451225876808, 0.057927992194890976, 0.029468460008502007, 0.005118757486343384, -0.007580951787531376, 0.021237734705209732, -0.05448237434029579, 0.015867650508880615, -0.03229135647416115, 0.00429554795846343, -0.00192532769870013, 0.06883373856544495, -0.004947320558130741, -0.030422745272517204, 0.03788929805159569, 0.01926831714808941, 0.010555053129792213, -0.010600075125694275, 0.004383105784654617, -0.015669189393520355, 0.014448062516748905, 0.001967728603631258, -0.0011989299673587084, -0.0024885747116059065, -0.03078915737569332, 0.002797110239043832, 0.040800053626298904, 0.04685046523809433, 0.021415825933218002, 0.04719133675098419, -0.06654869019985199, -0.044794712215662, 0.007861200720071793, -0.0007398496381938457, 0.019335564225912094, 0.05348131060600281, -0.008740155957639217, 0.013080200180411339, 0.031294096261262894, 0.013215784914791584, -0.022720299661159515, 0.07630597800016403, -0.017818596214056015, -0.03377675265073776, 0.06819886714220047, 0.002746417187154293, -0.04565102607011795, 0.03591356426477432, -0.01077666599303484, -0.024707006290555, 0.01823851466178894, -0.0038132534828037024, -0.04186975210905075, 0.0008844397380016744, -0.008753695525228977, 0.06913847476243973, 0.009688014164566994, -0.0635572224855423, -0.02926437184214592, -0.017436278983950615, -0.040888648480176926, -0.03404488414525986, 0.018443414941430092, 0.04229172319173813, -0.09866014868021011, -0.031066451221704483, 0.0024194298312067986, 0.01943562738597393, -0.0886416807770729, -0.01589004509150982, 0.01837877370417118, -0.04331924393773079, -0.004780553746968508, 0.07975638657808304, -0.007509204093366861, -0.009295260533690453, -0.0005648290389217436, 0.030778707936406136, 0.01836344785988331, 0.010817485861480236, 0.0196951013058424, -0.030143575742840767, -0.016438407823443413, -0.04441221058368683, -0.06936563551425934, -0.05009208992123604, -0.010764213278889656, -0.031512100249528885, -0.00249263783916831, -0.009320758283138275, -0.0262487530708313, -0.10136784613132477, 0.1020388975739479, -0.011090640909969807, -0.03771984204649925, 0.013496708124876022, -0.03647955507040024, -0.02483086846768856, -0.015182754956185818, -0.030291961506009102, 0.04868170619010925, -0.031533658504486084, 0.021704258397221565, -0.020080693066120148, 0.04998525604605675, 0.07071785628795624, -0.0563097819685936, 0.07294180989265442, 0.05896340310573578, -0.05758944898843765, -0.022775694727897644, 0.015193380415439606, 0.03221767768263817, 0.03196598216891289, -0.0061268010176718235, -0.0037506837397813797, 0.014693030156195164, -0.008596539497375488, 0.02582355961203575, -0.025519778952002525, 0.0017288696253672242, -0.004664503037929535, -0.33170008659362793, -0.025048930197954178, -0.03660545125603676, -0.015545166097581387, 0.00735200010240078, -0.05477413907647133, 0.021761760115623474, -0.046738870441913605, 0.005686608143150806, -0.016751162707805634, 0.07753822952508926, -0.01165541261434555, -0.011474576778709888, -0.06734182685613632, -0.019043562933802605, 0.019347798079252243, -0.03490225970745087, -0.007351192645728588, -0.03375605493783951, 0.01997700147330761, 0.011326438747346401, -0.0033391970209777355, -0.022707359865307808, -0.022607704624533653, -0.03216509893536568, -0.04022865369915962, 0.11029290407896042, 0.02110530436038971, 0.10446381568908691, -0.04220714792609215, 0.018071504309773445, 0.008702686056494713, -0.009260060265660286, -0.06840039044618607, 0.02856265939772129, -0.015403535217046738, 0.006297989282757044, -0.024709485471248627, 0.05087614059448242, -0.0361018031835556, -0.040866367518901825, 0.016378849744796753, -0.05991688743233681, -0.047778356820344925, -0.03523414209485054, 0.027253316715359688, -0.015967974439263344, -0.04735688492655754, -0.012221839278936386, 0.06239531189203262, 0.019994108006358147, -0.018782056868076324, 0.0378594733774662, 0.005537918768823147, -0.0062485202215611935, -0.017752889543771744, -0.04975269362330437, -0.012566020712256432, 0.011854015290737152, 0.013958180323243141, 0.029517870396375656, 0.07041077315807343, 0.02173648402094841, -0.0546843446791172, -0.006897026672959328, 0.03976523503661156, 0.017083093523979187, -0.014356503263115883, 0.06459200382232666, -0.0036914024967700243, -0.017640521749854088, 0.06092192605137825, 0.019660061225295067, -0.04227703809738159, 0.04738633334636688, 0.05202595144510269, 0.010158374905586243, 0.003805959364399314, 0.02285686694085598, 0.0077756065875291824, 0.001647093566134572, -0.0338987298309803, 0.04975365474820137, -0.02820175513625145, -0.013673143461346626, 0.03545473515987396, 0.004983649123460054, -0.046614374965429306, 0.05585604906082153, 0.007606204599142075, -0.01217710878700018, 0.004929456859827042, -0.025496702641248703, -0.03862105309963226, 0.0467955581843853, -0.014840292744338512, -0.2546205222606659, 0.011670040898025036, 0.06841936707496643, 0.03633124753832817, 0.0012850196799263358, 0.030408509075641632, 0.042894396930933, -0.06517025828361511, 0.0055857556872069836, 0.013732022605836391, 0.027869971469044685, 0.038641661405563354, -0.01876288279891014, -0.006893416866660118, 0.03366677835583687, -0.03218361362814903, 0.017827065661549568, 0.0073634046129882336, 0.0869608074426651, -0.017895370721817017, 0.002520114416256547, 0.029707442969083786, 0.163883239030838, 0.00946399848908186, 0.04321776703000069, 0.02831578068435192, 0.0027698962949216366, -0.017243007197976112, 0.04642370343208313, 0.00967032928019762, -0.032328084111213684, 0.010888757184147835, 0.04163650795817375, 0.020516255870461464, 0.026187743991613388, -0.06273376196622849, -0.03767087683081627, 0.037026297301054, -0.007593251299113035, -0.006527325138449669, -0.0008627883507870138, 0.0011492358753457665, -0.030734503641724586, 0.02482893317937851, 0.04296156391501427, 0.042654674500226974, -0.011849957518279552, -0.005520157050341368, -0.05765312537550926, -0.008836009539663792, -0.029459217563271523, -0.04734555631875992, -0.021659061312675476, -0.025402603670954704, -0.002145656617358327, 0.07316352427005768, -0.003703695721924305, -0.015851516276597977, -0.0189259834587574, 0.028053687885403633, 0.0033916907850652933, -0.00027242369833402336, 0.1098528727889061, 0.001944065559655428, 0.023119118064641953 ]
[ 0.020443323999643326, 0.00967890489846468, -0.004354486241936684, -0.02144409529864788, -0.035526029765605927, 0.01978198066353798, 0.00094022968551144, 0.002801310271024704, 0.011099282652139664, 0.004817415494471788, 0.014307861216366291, 0.027612831443548203, 0.0009633946465328336, -0.0213403832167387, 0.028575345873832703, 0.008225460536777973, 0.031174490228295326, -0.0013147162972018123, 0.025316715240478516, -0.0002698741154745221, -0.0236691664904356, -0.029474487528204918, 0.009281308390200138, -0.02865215577185154, -0.024632511660456657, -0.020785551518201828, 0.001421391498297453, 0.013741908594965935, 0.0414145365357399, -0.1645994782447815, 0.002237923676148057, -0.0419117696583271, 0.022063350304961205, -0.012044628150761127, -0.0001053443193086423, 0.017787272110581398, -0.001482542371377349, -0.017675744369626045, 0.0012429910711944103, -0.022747553884983063, -0.025657957419753075, -0.014681562781333923, 0.004120913799852133, 0.044191714376211166, -0.0236501581966877, -0.012692354619503021, -0.002408706583082676, -0.03599967435002327, -0.003139317501336336, -0.021728264167904854, -0.021435029804706573, -0.04612556844949722, 0.010021738708019257, 0.007998879998922348, -0.006455226335674524, -0.03589992970228195, 0.006869002711027861, 0.015586878173053265, 0.05017504468560219, -0.02284054085612297, 0.00006661522638751194, 0.010365748777985573, -0.04616641253232956, -0.0176068227738142, -0.04316474869847298, -0.01211798656731844, -0.016901249065995216, 0.003720601787790656, -0.026479730382561684, -0.00803774781525135, 0.017327530309557915, 0.0062275175005197525, -0.01683761365711689, -0.013880211859941483, 0.018026050180196762, 0.011316784657537937, -0.00611137505620718, 0.0036376635544002056, 0.000012288841389818117, -0.003412173595279455, -0.04577411338686943, -0.0020046441350132227, 0.005677868612110615, -0.013420014642179012, -0.015339736826717854, -0.004048647824674845, -0.008154978975653648, 0.004212226718664169, 0.022207338362932205, 0.006511377170681953, -0.012393057346343994, 0.04036085680127144, 0.02605505846440792, 0.00506520876660943, -0.0938049927353859, 0.001764150452800095, -0.010345015674829483, -0.025531791150569916, -0.0018922457238659263, 0.8567271828651428, 0.024805501103401184, 0.02510565146803856, 0.007287606596946716, -0.007472573779523373, 0.016755957156419754, 0.012137715704739094, 0.031285420060157776, 0.01665940135717392, 0.00687489053234458, -0.03442235291004181, 0.00013337981363292783, 0.009736588224768639, 0.010251499712467194, 0.03498167172074318, -0.017039259895682335, 0.025373905897140503, 0.03639167174696922, 0.016441499814391136, 0.003942607436329126, -0.013504384085536003, 0.026534447446465492, -0.017621152102947235, 0.03264762461185455, 0.01117152813822031, -0.018515465781092644, -0.16616223752498627, 0.014873025938868523, -7.647471638178128e-33, 0.06001950427889824, -0.019092945381999016, -0.0021860208362340927, 0.0008444247068837285, 0.021194513887166977, -0.0161785576492548, 0.03518220782279968, -0.022746985778212547, 0.007740501314401627, -0.0404110886156559, -0.008935965597629547, -0.01988288015127182, -0.016461998224258423, 0.006016710307449102, 0.0326276533305645, -0.022862402722239494, -0.00018617008754517883, 0.037953440099954605, -0.009594690054655075, 0.011531984433531761, 0.036152295768260956, 0.01992078125476837, 0.016131728887557983, -0.015800707042217255, 0.02523243986070156, 0.06608465313911438, -0.00010013418068410829, -0.004683643113821745, 0.007912717759609222, -0.03726288676261902, -0.016433212906122208, 0.0034157498739659786, -0.012050566263496876, -0.012753576971590519, 0.008109073154628277, -0.030462084338068962, -0.0007442940841428936, 0.012753057293593884, -0.07327552139759064, -0.04838006570935249, -0.019739914685487747, -0.01143916416913271, -0.05506002902984619, -0.01234818808734417, 0.006952283438295126, -0.01416376605629921, 0.03303835541009903, 0.016234198585152626, 0.005105179734528065, -0.0017237889114767313, -0.01947414129972458, 0.043614476919174194, 0.026887565851211548, 0.014947333373129368, -0.003193149110302329, -0.022639455273747444, 0.016873681917786598, 0.012782039120793343, -0.006684981752187014, 0.01793007180094719, 0.013310765847563744, 0.02119409292936325, -0.0008471273467876017, 0.03038446418941021, -0.03455006331205368, 0.019015461206436157, 0.0006724447594024241, -0.010111906565725803, 0.018594784662127495, -0.008616253733634949, -0.05678165704011917, -0.0027180579490959644, 0.009829443879425526, -0.013753574341535568, -0.011242852546274662, -0.03576470538973808, 0.00985349528491497, -0.01457903254777193, 0.009356270544230938, 0.012488643638789654, -0.008006086573004723, 0.027272867038846016, -0.023225858807563782, -0.028431592509150505, -0.013024495914578438, -0.015109013766050339, 0.030829954892396927, 0.0011689901584759355, -0.03652938827872276, 0.017904410138726234, 0.0338749885559082, 0.023393230512738228, -0.009017160162329674, 0.004594409838318825, 0.005523092579096556, 7.143827410148472e-33, -0.023020830005407333, -0.01221047155559063, -0.01609441265463829, -0.011300995014607906, 0.028198882937431335, -0.043059974908828735, 0.002566196722909808, 0.0008221881580539048, -0.03351939097046852, 0.024117838591337204, -0.0374278798699379, -0.015897706151008606, -0.024793898686766624, 0.04750842973589897, 0.06194277107715607, -0.027660124003887177, 0.03964870050549507, 0.010362954810261726, -0.018178638070821762, 0.0017202553572133183, 0.005444588139653206, 0.003160900203511119, 0.001379528664983809, 0.02438519150018692, 0.023963144049048424, 0.07394802570343018, 0.002338091842830181, 0.027523871511220932, 0.003916473127901554, 0.0074251811020076275, 0.004773286171257496, -0.0024024771992117167, 0.008489793166518211, -0.0066366493701934814, 0.00626350799575448, -0.0026830751448869705, -0.022462256252765656, 0.025578875094652176, -0.011299259029328823, -0.007652308791875839, 0.024613909423351288, -0.0015412510838359594, -0.0003384568844921887, 0.0662921592593193, -0.012804429978132248, -0.009443257004022598, 0.005614000838249922, -0.008243754506111145, -0.04466553032398224, 0.009966974146664143, 0.0014304295182228088, 0.03203537315130234, 0.008486466482281685, 0.007876455783843994, 0.01724056527018547, -0.0020400604698807, -0.06059551611542702, 0.028490116819739342, 0.014097236096858978, 0.03033321723341942, -0.026553871110081673, -0.0342019684612751, 0.00043804768938571215, 0.022143017500638962, 0.010752063244581223, 0.009077847003936768, -0.03732189163565636, -0.015575283206999302, -0.04749466851353645, 0.015919078141450882, -0.0034979849588125944, -0.011623461730778217, -0.018296077847480774, 0.04761286824941635, 0.016099320724606514, -0.013849722221493721, -0.021787364035844803, 0.0002738116018008441, -0.02030709572136402, 0.041777633130550385, -0.003459314350038767, -0.008237065747380257, 0.015068073756992817, -0.03804948180913925, 0.024441774934530258, 0.022212883457541466, -0.017221154645085335, 0.04123631864786148, -0.011085803620517254, -0.028958087787032127, 0.01139406394213438, 0.020628072321414948, 0.025233061984181404, 0.0179170910269022, 0.01133198942989111, -1.3017441347074055e-8, -0.013967324048280716, 0.0023072180338203907, 0.014227734878659248, 0.011404613964259624, -0.0059099518693983555, 0.009057968854904175, -0.02159905433654785, -0.02106315642595291, -0.05124961584806442, -0.005942660383880138, 0.03230034559965134, 0.015245528891682625, -0.016461996361613274, 0.0017670408124104142, 0.005110834259539843, -0.006629482842981815, -0.04713449627161026, 0.005382731556892395, 0.027388347312808037, 0.022795602679252625, 0.015859654173254967, 0.016215957701206207, -0.01536012813448906, 0.006576848216354847, -0.03291589021682739, 0.004558427259325981, 0.01455669291317463, -0.061166927218437195, 0.002328464761376381, -0.008508455008268356, 0.022521235048770905, -0.008211308158934116, -0.012473898939788342, 0.019246676936745644, -0.02282221056520939, -0.02155960537493229, 0.04681422561407089, -0.005948751699179411, 0.00023797301400918514, 0.005430647637695074, -0.022028321400284767, -0.00888505857437849, -0.02011682279407978, -0.035090599209070206, -0.006962788291275501, 0.03177771717309952, -0.022299155592918396, 0.02310558222234249, -0.0011764648370444775, -0.035582028329372406, -0.016076894477009773, -0.023784922435879707, -0.027592405676841736, 0.04386406019330025, 0.04338378459215164, -0.01855236105620861, -0.014679329469799995, 0.0230341088026762, 0.0037246409337967634, 0.011961637064814568, 0.019996656104922295, 0.014110502786934376, -0.023347968235611916, -0.01513118576258421 ]
coding-dojo-10-isola-iii
https://markhneedham.com/blog/2009/02/19/coding-dojo-10-isola-iii
false
2009-02-26 23:43:20
Coding: Using 'ToString'
[ "coding" ]
[ "Coding" ]
An interesting conversation I've had recently with some of my colleagues is around the use of the ToString method available on all objects created in Java or C#. It was also pointed out in the http://www.markhneedham.com/blog/2009/02/25/c-wrapping-datetime/#comment-10930[comments on my recent post about wrapping DateTimes in our code]. I think the original intention of this method was to create a string representation of an object, but its use has been overloaded by developers to the point where its expected use is as a mechanism for creating nice output when debugging the code or viewing unit test failures. The nice thing about it in C# at least is that if you are using an object in your UI you can just put the object into the view and the ToString method will be implicitly called when the object needs to be rendered. The problem with doing that is its implicitness - other developers might change the ToString method when debugging some code to give more useful output and the display logic of our application has now changed, potentially without us realising until a higher level functional test stops working. The method name itself is not really that intention revealing anyway - what string format is it creating? A display string? A debugging string? It's not that clear. The approach we are now taking is a bit more explicit and involves having a more explicit method on objects to achieve the same end result. Method names such as 'ToDisplayFormat' or 'ToServiceFormat' help us to explain a bit more clearly what we are doing while still getting our object to render a different representation of itself.
null
null
[ 0.004913000855594873, -0.011836811900138855, -0.01949208602309227, 0.026601213961839676, 0.044830527156591415, 0.011369344778358936, 0.04734751582145691, 0.027654320001602173, 0.002574383746832609, -0.04317283630371094, -0.011391936801373959, -0.012947453185915947, -0.05946037918329239, 0.05037957802414894, -0.01876966841518879, 0.0894901305437088, 0.08391156047582626, -0.03985355421900749, 0.036056146025657654, 0.004012538120150566, 0.007356447633355856, 0.04262585565447807, -0.021921971812844276, 0.027288924902677536, 0.044278334826231, 0.019175155088305473, -0.01927279680967331, -0.004884572234004736, -0.05391021817922592, -0.017840271815657616, 0.01716839149594307, 0.024305593222379684, 0.011940824799239635, 0.0015198627952486277, 0.006929358933120966, -0.04353908821940422, -0.030081909149885178, 0.0014797085896134377, 0.008992763236165047, 0.026821056380867958, -0.06944338232278824, 0.012219119817018509, 0.007812791503965855, 0.00120597577188164, -0.033365074545145035, 0.0036634295247495174, -0.02182561345398426, -0.014256241731345654, -0.033284742385149, 0.02030227705836296, -0.058857060968875885, 0.029534632340073586, -0.0313313826918602, 0.018625613301992416, 0.003703714581206441, 0.039195526391267776, 0.012248115614056587, -0.0722460076212883, 0.002163914032280445, -0.07051870971918106, 0.03797503188252449, -0.02657328173518181, -0.004295406863093376, 0.02501734346151352, 0.027229301631450653, -0.0075026932172477245, -0.015439759008586407, 0.05921366810798645, -0.03321538120508194, -0.02813756838440895, -0.013850306160748005, -0.00027818442322313786, 0.002357151824980974, -0.01835477165877819, 0.012873160652816296, -0.030998649075627327, -0.005392066668719053, 0.05513818562030792, 0.0011035124771296978, 0.052359022200107574, -0.01991312950849533, 0.03240412846207619, 0.06306923180818558, 0.00708808284252882, 0.0027114683762192726, -0.02796659804880619, -0.03391746059060097, 0.010147403925657272, -0.02396807260811329, 0.04293489828705788, 0.02029551938176155, -0.02742561511695385, 0.019942939281463623, 0.03375132754445076, -0.0018409951590001583, 0.007964159362018108, 0.009564032778143883, -0.009485102258622646, -0.013340357691049576, -0.001892130938358605, -0.032455772161483765, -0.0234613586217165, 0.044118091464042664, 0.033114802092313766, -0.07356011122465134, -0.03304785117506981, -0.031091243028640747, 0.0009070126106962562, -0.0034396499395370483, 0.02349909208714962, -0.05534592643380165, 0.0021671571303159, -0.028734363615512848, -0.019251001998782158, -0.051647841930389404, 0.0421815849840641, 0.018555987626314163, -0.017872639000415802, -0.028746502473950386, 0.03402663767337799, 0.04603540152311325, 0.024552887305617332, -0.0014504797291010618, 0.059534952044487, -0.0019675137009471655, 0.03306112438440323, -0.02485518902540207, 0.07207804173231125, -0.022286681458353996, -0.08470264077186584, -0.010460685938596725, 0.03498603031039238, -0.003882338060066104, 0.0013500971253961325, 0.020965365692973137, -0.041095223277807236, -0.003506374778226018, -0.00505064707249403, 0.019657382741570473, 0.038482293486595154, -0.039298683404922485, -0.06380783021450043, -0.006307980976998806, -0.0025398004800081253, -0.003845673520117998, 0.02399509586393833, -0.040858712047338486, -0.009884171187877655, -0.017810216173529625, 0.04462157562375069, 0.005919830407947302, 0.050625357776880264, 0.038868583738803864, -0.03192193806171417, 0.002885549096390605, 0.08615319430828094, -0.018597500398755074, 0.026694944128394127, 0.010954450815916061, 0.040139567106962204, 0.048093367367982864, 0.03364118933677673, 0.003263196675106883, 0.023993760347366333, 0.027418354526162148, 0.015907904133200645, 0.019952213391661644, 0.0467982217669487, -0.022730709984898567, -0.02820734493434429, -0.07318639755249023, -0.03024769201874733, 0.05116566643118858, -0.053469326347112656, 0.0008454666822217405, 0.05759965628385544, 0.07191385328769684, -0.004418317228555679, 0.030824240297079086, 0.019578464329242706, -0.07789935916662216, 0.023468419909477234, 0.004897014237940311, -0.013325195759534836, 0.030559062957763672, 0.00530029833316803, 0.055517952889204025, 0.02121688984334469, 0.0008612293167971075, 0.030577512457966805, -0.06477443873882294, -0.07283414155244827, -0.01698322221636772, 0.0012347360607236624, 0.05406678840517998, -0.03277486190199852, -0.00906978826969862, 0.07406000047922134, 0.008215313777327538, 0.05281689018011093, 0.029728172346949577, 0.002938508288934827, -0.016302797943353653, -0.02204141579568386, -0.019572844728827477, 0.02238662913441658, 0.049740977585315704, -0.004389612935483456, -0.021663343533873558, 0.00691814674064517, -0.0014900985406711698, -0.006595892831683159, 0.04095679521560669, -0.01335271168500185, 0.04937674105167389, 0.022522207349538803, 0.05090870335698128, -0.02820342406630516, 0.05116885527968407, -0.08807193487882614, -0.008270894177258015, -0.0005080748815089464, -0.010276088491082191, -0.043150436133146286, -0.0020308371167629957, 0.15781277418136597, 0.039095040410757065, -0.014858697541058064, -0.02606176771223545, 0.007892174646258354, 0.01249636523425579, -0.036342449486255646, -0.009100930765271187, -0.002393876202404499, -0.010255351662635803, 0.03127143159508705, -0.041359130293130875, -0.00603220472112298, 0.002295693615451455, -0.03240590915083885, 0.03352389112114906, 0.071963831782341, -0.05026746541261673, 0.05632511153817177, -0.016553962603211403, -0.016099555417895317, 0.016504911705851555, -0.023069579154253006, -0.047840770334005356, 0.014131734147667885, 0.022467510774731636, 0.0014521220000460744, 0.06490286439657211, 0.002113679423928261, -0.027239497750997543, -0.010350938886404037, -0.05263734608888626, 0.027130447328090668, 0.03782644867897034, 0.05329102277755737, -0.015827074646949768, 0.05913269519805908, -0.02403832972049713, 0.001006835256703198, -0.023694192990660667, -0.050190676003694534, 0.012862677685916424, 0.018180623650550842, 0.007316194474697113, 0.04970160499215126, 0.007350947707891464, 0.029701275750994682, 0.015717074275016785, 0.010632512159645557, -0.04723707586526871, -0.0066147116012871265, 0.041175391525030136, -0.0026031287852674723, -0.03773887827992439, -0.023388491943478584, -0.02890942431986332, 0.03400715813040733, -0.04125271365046501, -0.05727149173617363, 0.014714543707668781, -0.08038700371980667, 0.04227419197559357, -0.05415918305516243, -0.07528463751077652, -0.004006698727607727, 0.0385948121547699, 0.028243567794561386, 0.003946496639400721, 0.037677913904190063, 0.09414950013160706, 0.03029954619705677, 0.010992268100380898, -0.01080348715186119, 0.00489305704832077, 0.009524267166852951, -0.01255709771066904, 0.003857809817418456, 0.0596766471862793, -0.0049748471938073635, -0.022835325449705124, -0.048054471611976624, 0.0341949537396431, 0.019537977874279022, -0.27771422266960144, -0.003216140205040574, -0.02306147664785385, -0.039588749408721924, 0.017306212335824966, -0.011475940234959126, 0.028647465631365776, -0.0499514676630497, 0.0009936054702848196, 0.054798468947410583, -0.04994073510169983, -0.048286937177181244, -0.03261224552989006, 0.050127919763326645, 0.003627919824793935, -0.005507820751518011, 0.011439564637839794, -0.02225993201136589, 0.006219747941941023, 0.04563596472144127, -0.001022686017677188, -0.06967479735612869, 0.0034144974779337645, 0.0649615004658699, 0.027614714577794075, 0.04285114258527756, -0.074117511510849, 0.05605457350611687, -0.025587845593690872, 0.011145618744194508, -0.008105311542749405, 0.00027595661231316626, -0.003099726978689432, -0.039678655564785004, -0.04100258648395538, -0.02647227793931961, -0.005751375574618578, 0.008682862855494022, 0.020529024302959442, 0.03274882957339287, -0.05286439135670662, -0.06434294581413269, -0.020616240799427032, -0.003630921011790633, 0.07408273220062256, 0.003240949707105756, -0.044493794441223145, 0.008127441629767418, -0.04983910173177719, 0.05817025154829025, -0.022511998191475868, -0.04042080044746399, 0.007749189157038927, 0.018290821462869644, -0.017606044188141823, -0.04971884563565254, -0.005575149320065975, -0.005227494519203901, -0.0286993607878685, -0.035429634153842926, -0.008575416170060635, -0.054607849568128586, -0.024650877341628075, -0.04131331294775009, -0.034912075847387314, -0.06229067221283913, -0.05563553795218468, 0.0022877883166074753, 0.0773276686668396, 0.05777169018983841, -0.008948326110839844, 0.01770240068435669, 0.023904571309685707, -0.10999889671802521, 0.010842320509254932, -0.033624161034822464, -0.029715491458773613, -0.043226491659879684, -0.00410457281395793, 0.03585932031273842, -0.03343574330210686, -0.04834131896495819, 0.0337829552590847, 0.02367737516760826, -0.0031746630556881428, -0.0018087411299347878, 0.016002945601940155, -0.02135617472231388, -0.00714623648673296, 0.0033975676633417606, 0.07086673378944397, 0.000654574774671346, 0.0022525819949805737, -0.026682661846280098, 0.005761865060776472, 0.055150073021650314, 0.04324069619178772, -0.02546337991952896, 0.026376957073807716, 0.006007259711623192, 0.036036476492881775, -0.07833428680896759, 0.03606754168868065, -0.013862648978829384, 0.005742196459323168, -0.03588804602622986, -0.06603920459747314, 0.020675454288721085, 0.03502162918448448, -0.003894474823027849, -0.00327415787614882, -0.017638908699154854, 0.001628371886909008, -0.04355129599571228, -0.013757382519543171, -0.035730477422475815, 0.016175564378499985, 0.028359394520521164, -0.0011938639217987657, -0.05842585861682892, -0.027087464928627014, 0.007073977496474981, 0.017112428322434425, 0.0047945682890713215, -0.07053195685148239, -0.04217167943716049, -0.007271229289472103, 0.0056768059730529785, 0.01264877337962389, 0.03166898339986801, -0.020492317155003548, 0.032135989516973495, 0.024604076519608498, -0.011636974290013313, 0.024180417880415916, -0.005857965908944607, -0.0075851487927138805, -0.043102312833070755, -0.029304264113307, -0.014019446447491646, 0.03552600368857384, 0.009185961447656155, 0.0044784946367144585, -0.00030122973839752376, 0.02773846872150898, 0.00427890382707119, 0.021554427221417427, -0.016065482050180435, -0.005882984958589077, 0.02156502567231655, 0.026528453454375267, -0.08952584862709045, 0.026856133714318275, -0.043030694127082825, -0.029819240793585777, -0.02211434207856655, 0.032831981778144836, -0.019866278395056725, -0.02839239314198494, -0.029057957231998444, 0.044018786400556564, -0.036174923181533813, -0.04462466016411781, -0.03240014612674713, -0.004793577827513218, 0.05318367853760719, -0.03459099307656288, 0.04727395623922348, 0.005917830392718315, -0.017179742455482483, -0.00018111243844032288, 0.009910717606544495, -0.02654549852013588, 0.037311822175979614, 0.009216840378940105, -0.021031789481639862, -0.0023494430352002382, 0.00523893628269434, 0.044456399977207184, 0.0363900288939476, 0.017354682087898254, -0.02596784196794033, 0.01668895222246647, -0.005997286643832922, 0.04487096518278122, 0.0012208678526803851, 0.01718265190720558, -0.008847291581332684, -0.03222256153821945, -0.018795611336827278, -0.05393866449594498, -0.027565836906433105, -0.0064652785658836365, 0.03232099115848541, -0.04203185811638832, -0.06733369082212448, 0.022752072662115097, 0.006052190903574228, 0.03192286938428879, 0.005496945232152939, 0.013876872137188911, 0.019841764122247696, -0.023032428696751595, 0.009152545593678951, 0.0335937961935997, -0.06008780747652054, 0.017799532040953636, 0.0031797669362276793, 0.0007874860311858356, 0.02160530909895897, 0.03481759876012802, -0.038994621485471725, 0.009807310067117214, -0.03755101561546326, -0.014568650163710117, -0.047209255397319794, -0.015791893005371094, -0.049640949815511703, 0.014308488927781582, 0.009671983309090137, -0.012137369252741337, -0.0050405641086399555, -0.02204006537795067, -0.01236321497708559, -0.03269851580262184, 0.009388875216245651, -0.046693988144397736, -0.003758620470762253, 0.03832992911338806, -0.027452541515231133, 0.021857038140296936, -0.027581846341490746, 0.023223450407385826, 0.028775779530405998, -0.035344529896974564, -0.05181693658232689, -0.06209847703576088, 0.01936844177544117, -0.0032451129518449306, 0.060912732034921646, 0.015491987578570843, -0.030345210805535316, -0.026906102895736694, -0.012962729670107365, -0.028377139940857887, 0.03168167173862457, -0.02100062370300293, -0.03401099890470505, 0.021181538701057434, 0.06720858812332153, 0.02770230919122696, 0.03781919926404953, -0.02667813003063202, -0.018830403685569763, 0.036984238773584366, -0.07458729296922684, -0.01455764751881361, -0.007527397479861975, -0.06809784471988678, 0.005988345481455326, -0.009843583218753338, 0.024283938109874725, -0.01211363822221756, 0.029170749709010124, 0.01930820569396019, 0.026827113702893257, 0.05017147585749626, 0.027113264426589012, 0.04418354853987694, -0.02561045065522194, 0.005738893989473581, -0.06312847882509232, 0.02242826670408249, 0.02325429581105709, 0.032510701566934586, -0.02403245121240616, -0.013776999898254871, -0.026800833642482758, 0.044520992785692215, -0.06651102006435394, -0.021156122907996178, 0.03097018413245678, 0.023080339655280113, -0.006047597620636225, 0.027191895991563797, -0.05631440132856369, 0.0498327761888504, 0.034942224621772766, -0.020414330065250397, -0.05354936048388481, -0.002785386284813285, 0.03785187751054764, 0.018248923122882843, 0.007467890623956919, -0.03206045925617218, 0.0318179652094841, 0.05264822021126747, 0.044181663542985916, 0.030245162546634674, 0.014942836947739124, -0.032805491238832474, 0.03414323925971985, 0.03649727627635002, -0.03217962011694908, -0.02986115776002407, -0.014330684207379818, -0.013273238204419613, -0.07425276190042496, -0.016700992360711098, 0.024705873802304268, -0.01790553145110607, -0.04150577634572983, 0.05583399534225464, 0.027197284623980522, -0.006140640936791897, -0.030095431953668594, -0.016300218179821968, -0.020035356283187866, -0.004588796757161617, -0.020766722038388252, 0.018601413816213608, -0.02634080871939659, 0.07267104089260101, 0.016798552125692368, -0.008137766271829605, 0.06165260449051857, -0.010909436270594597, 0.003638096386566758, -0.025476565584540367, 0.08380959182977676, 0.0849347785115242, 0.04271301254630089, 0.013517772778868675, 0.0432637482881546, -0.017817890271544456, -0.047845762223005295, 0.03449348732829094, -0.01709621772170067, -0.007538896985352039, -0.010895787738263607, 0.02621389552950859, 0.07002639770507812, -0.0013741282746195793, 0.060311898589134216, -0.029587136581540108, 0.011516760103404522, -0.028275564312934875, 0.024256043136119843, -0.0028816352132707834, 0.019003605470061302, 0.0110842389985919, 0.006432214751839638, 0.011872186325490475, -0.044334352016448975, 0.018784863874316216, -0.029521547257900238, -0.010428108274936676, 0.034940216690301895, -0.002148733241483569, 0.01571868360042572, 0.015440132468938828, 0.0443008616566658, 0.07982609421014786, -0.023916808888316154, -0.010146920569241047, 0.0003702742687892169, 0.038235150277614594, 0.022166233509778976, -0.013796444050967693, -0.013521315529942513, -0.004184974357485771, -0.009544825181365013, 0.001463392749428749, -0.003468163311481476, -0.03013497032225132, -0.04840034991502762, 0.07047710567712784, -0.014916129410266876, 0.018044473603367805, 0.014822845347225666, -0.008362727239727974, -0.0414409413933754, -0.056156374514102936, -0.07514160871505737, -0.023561380803585052, -0.07470264285802841, -0.04866878315806389, 0.04606233909726143, -0.03500813618302345, -0.05140767619013786, -0.03006972000002861, -0.012673691846430302, -0.0095062255859375, 0.05805392935872078, -0.02434619702398777, -0.06397555768489838, 0.04760747402906418, 0.019414735957980156, 0.04111522436141968, 0.04156864434480667, 0.039017632603645325, 0.01474367268383503, -0.00775105319917202, -0.042771514505147934, -0.020905757322907448, 0.05490035563707352, -0.0149919418618083, 0.022981984540820122, -0.0714714527130127, 0.014660331420600414, 0.009327176958322525, -0.013316895812749863, -0.06032272428274155, 0.004034282173961401, 0.01935558207333088, -0.004375993739813566, 0.05051099881529808, -0.04469781741499901, -0.004519913345575333, -0.02027725987136364, -0.016916943714022636, 0.019615693017840385, 0.025172915309667587, 0.0410938635468483, -0.010660672560334206, 0.07005998492240906, 0.052898187190294266, -0.039666760712862015, -0.00987564492970705, -0.013001587241888046, 0.002788769779726863, 0.022807065397500992, -0.051812104880809784, -0.036509785801172256, -0.033844444900751114, -0.048324428498744965, -0.010845521464943886, 0.014694697223603725, -0.003346517914906144, -0.028132576495409012, 0.020063042640686035, 0.024136561900377274, -0.05093049630522728, 0.0159591231495142, -0.049450844526290894, 0.03370103985071182, -0.017252616584300995, -0.013248651288449764, -0.007344543002545834, 0.019071776419878006, -0.006775518413633108, -0.013874717988073826, 0.02456546574831009, -0.042784083634614944, -0.025715408846735954, -0.022774919867515564, 0.021677516400814056, 0.031159810721874237, -0.013367943465709686, 0.00009696944471215829 ]
[ -0.09380736947059631, 0.005094811320304871, -0.03505091741681099, -0.025743713602423668, 0.03042570874094963, -0.06183803454041481, -0.00022200983949005604, -0.0010283159790560603, -0.014807059429585934, -0.00016533478628844023, -0.0003449824871495366, -0.033583372831344604, -0.024843020364642143, 0.015993952751159668, 0.07784835249185562, -0.0019471395062282681, -0.018504688516259193, -0.04358232393860817, -0.008702073246240616, 0.028129395097494125, 0.06518978625535965, 0.002884527901187539, -0.04993923008441925, -0.015665069222450256, 0.016616690903902054, 0.05092519521713257, 0.026789184659719467, -0.06267253309488297, 0.002001064131036401, -0.1834249049425125, 0.005762540269643068, -0.02815704047679901, 0.01180496346205473, -0.011553735472261906, 0.00642915116623044, 0.017887651920318604, 0.03510326147079468, 0.04723005369305611, -0.022309327498078346, 0.03784022480249405, 0.01270291954278946, 0.025804568082094193, -0.04241063818335533, -0.018740352243185043, 0.021958893164992332, 0.026270728558301926, -0.030056549236178398, -0.029808279126882553, -0.023217087611556053, 0.039114173501729965, -0.05658789724111557, -0.0019257660023868084, -0.044505320489406586, -0.05711683630943298, -0.007847118191421032, 0.0105172423645854, 0.036778807640075684, 0.06472326815128326, 0.035683054476976395, 0.0005663889460265636, 0.012157530523836613, -0.04097425937652588, -0.1336422860622406, 0.10452888906002045, 0.012345283292233944, 0.043119631707668304, 0.02674940600991249, -0.015321741811931133, -0.0069647617638111115, 0.05819623917341232, 0.04034959152340889, -0.026838140562176704, -0.027253782376646996, 0.05500004068017006, 0.0212987270206213, -0.03956487402319908, -0.0050432113930583, 0.011640227399766445, 0.03232875093817711, -0.028520189225673676, -0.05868309736251831, -0.010221314616501331, 0.03957191854715347, 0.0017749402904883027, -0.03617352247238159, 0.031901706010103226, -0.012267998419702053, 0.009371934458613396, 0.0400378592312336, 0.024309899657964706, 0.03140585497021675, -0.018773365765810013, 0.01199077907949686, 0.020925236865878105, -0.08915756642818451, -0.012018094770610332, -0.006466298829764128, 0.026259202510118484, -0.04270537197589874, 0.41114649176597595, -0.05366216227412224, -0.052703216671943665, 0.04240229353308678, 0.009516377002000809, -0.024585742503404617, 0.020712655037641525, -0.0007622652919963002, -0.059158097952604294, 0.01694435626268387, -0.04737077280879021, 0.006139902397990227, 0.020258190110325813, 0.018486734479665756, -0.018641628324985504, -0.023231811821460724, 0.01784585788846016, 0.03486814349889755, 0.015912692993879318, -0.0053992122411727905, 0.01726369746029377, 0.004518609493970871, 0.016182012856006622, 0.0044902921654284, 0.025838451460003853, 0.007148098666220903, -0.029602443799376488, 0.03327333554625511, 0.043890614062547684, 0.05012524500489235, 0.008152828551828861, 0.053076356649398804, -0.04573148116469383, -0.09277162700891495, -0.0016219376120716333, 0.023250672966241837, 0.013478235341608524, 0.0413866862654686, -0.012600344605743885, 0.01962721347808838, -0.004895288031548262, 0.0008310504490509629, -0.04130132496356964, 0.012200911529362202, -0.012617656029760838, -0.037938352674245834, 0.12067998945713043, -0.01689778082072735, -0.02465403638780117, -0.015210382640361786, -0.027267497032880783, -0.012413433752954006, 0.02693898230791092, -0.018337467685341835, -0.05890289694070816, 0.020709780976176262, 0.011197468265891075, 0.0830555111169815, -0.0026685826014727354, -0.04619068652391434, -0.02031438611447811, -0.042284511029720306, -0.0014853366883471608, -0.03667425736784935, 0.01238249521702528, 0.03199233487248421, -0.10044301301240921, -0.04232199862599373, 0.03056737594306469, 0.055098213255405426, -0.08001086115837097, -0.0269455723464489, 0.01770714670419693, -0.0357670933008194, -0.022297605872154236, 0.04394575208425522, 0.013920516707003117, -0.03073234297335148, -0.011532976292073727, 0.0499882847070694, 0.03934386000037193, 0.022440673783421516, 0.016632506623864174, -0.07128357142210007, -0.011441672220826149, -0.015968041494488716, -0.1157214492559433, -0.041512180119752884, -0.009088631719350815, -0.006474912632256746, -0.01602725125849247, 0.004171102773398161, -0.05979134142398834, -0.09137547016143799, 0.1051313653588295, -0.037391334772109985, -0.009973499923944473, 0.03808703273534775, 0.005209864117205143, 0.004838675260543823, -0.0008390303119085729, -0.005497440230101347, 0.034215543419122696, -0.02294197492301464, 0.05425545573234558, -0.02445928193628788, 0.041074130684137344, 0.0667831227183342, -0.09853043407201767, 0.03958948701620102, 0.037183407694101334, -0.033897604793310165, -0.01831776835024357, 0.013822759501636028, 0.019089004024863243, -0.023594340309500694, -0.03111514262855053, -0.0024672357831150293, 0.03150387853384018, 0.025831716135144234, 0.015343190170824528, -0.06796635687351227, -0.0480278879404068, 0.002086016582325101, -0.3137301206588745, -0.025030197575688362, -0.005128426942974329, -0.023453332483768463, 0.033785831183195114, -0.059456851333379745, -0.0023898291401565075, -0.018251659348607063, -0.003364583244547248, -0.028886547312140465, 0.08978588134050369, -0.0032029468566179276, 0.006090002600103617, -0.09862575680017471, 0.01610613986849785, 0.032032471150159836, -0.05238417908549309, -0.029973644763231277, -0.0232099536806345, 0.015403312630951405, -0.007809912785887718, -0.00312804919667542, -0.017285984009504318, -0.060017991811037064, -0.02117302641272545, -0.05919162929058075, 0.1118362545967102, -0.007536235731095076, 0.09805306047201157, -0.02665933035314083, 0.05777889862656593, -0.028182310983538628, -0.024602394551038742, -0.08369540423154831, -0.005225418601185083, -0.03210101276636124, -0.013015003874897957, 0.021930528804659843, 0.03885413333773613, -0.014729222282767296, -0.02846497856080532, -0.001538901007734239, -0.04775910824537277, -0.041861388832330704, 0.0013693991350010037, 0.012589562684297562, 0.006747002247720957, -0.034051742404699326, -0.0014482035767287016, 0.08358941972255707, -0.00047351419925689697, -0.011543551459908485, 0.0171760655939579, 0.04456905275583267, 0.01258105505257845, -0.022804278880357742, -0.05946938320994377, 0.000544453680049628, 0.002373852301388979, -0.0066048987209796906, 0.026364808902144432, 0.047818623483181, 0.043172191828489304, -0.045490480959415436, -0.012211696244776249, 0.04248275235295296, 0.012906083837151527, -0.021598121151328087, 0.04683816060423851, -0.03393523022532463, -0.0332002267241478, 0.1243896558880806, -0.018137186765670776, -0.00888066366314888, 0.03042827732861042, 0.06679100543260574, -0.0121413953602314, 0.014334499835968018, 0.006565457209944725, -0.0092371366918087, 0.0033782280515879393, 0.034064874053001404, 0.03544285520911217, -0.04041999578475952, 0.017300954088568687, 0.026798702776432037, -0.03355364874005318, -0.0011967932805418968, 0.04342584311962128, -0.034491535276174545, -0.005944057367742062, -0.01123539824038744, 0.031116370111703873, -0.08413579314947128, 0.06796488165855408, -0.04060731455683708, -0.2647007703781128, 0.0381556898355484, 0.11397871375083923, 0.05795768275856972, -0.021782245486974716, 0.029013872146606445, 0.01492615882307291, -0.03753075748682022, -0.006296627223491669, 0.021319162100553513, 0.0003342122072353959, 0.025453759357333183, -0.0099350456148386, -0.026447560638189316, 0.05248194932937622, 0.00666516087949276, 0.04989676922559738, -0.014750508591532707, 0.015078386291861534, 0.002154215704649687, 0.016137856990098953, -0.010417944751679897, 0.17049723863601685, 0.019805772230029106, 0.03449777141213417, -0.006870223209261894, 0.009547702036798, 0.02933404967188835, 0.09047365933656693, 0.024890240281820297, -0.004445618949830532, 0.016393451020121574, 0.0660281702876091, 0.010294970124959946, 0.03835497051477432, -0.11951404064893723, -0.009457944892346859, 0.03615008667111397, 0.007257593795657158, -0.02470984123647213, 0.021136034280061722, 0.0310146976262331, -0.07045366615056992, 0.00017866581038106233, 0.1047898456454277, 0.04710309952497482, 0.0017423992976546288, -0.023564185947179794, -0.03333396837115288, -0.014783422462642193, -0.03196506202220917, -0.023175973445177078, -0.009394398890435696, -0.02220584824681282, -0.007354585453867912, 0.05746929347515106, 0.009143851697444916, -0.02608952857553959, -0.0001770222734194249, 0.04262368381023407, 0.02343463897705078, -0.012407444417476654, 0.0818442553281784, 0.04096856713294983, 0.05753880739212036 ]
[ -0.014486951753497124, 0.023976651951670647, 0.019606662914156914, 0.005900186952203512, -0.011651244945824146, 0.04609004780650139, -0.023699652403593063, 0.0686991736292839, -0.010313673876225948, -0.006028043571859598, -0.06188966706395149, -0.014158334583044052, -0.027469057589769363, -0.0026649509090930223, -0.010585511103272438, -0.01741553470492363, 0.02770152874290943, -0.032540496438741684, 0.03327952325344086, -0.0021704016253352165, -0.0033531696535646915, -0.011431887745857239, -0.01667451485991478, -0.010658378712832928, 0.014143440872430801, 0.009232567623257637, 0.005461371038109064, -0.026208018884062767, 0.0026631092187017202, -0.09251680225133896, -0.048138055950403214, -0.013188906945288181, -0.031212490051984787, -0.015516379848122597, 0.000004264452854840783, 0.04025230184197426, 0.03361177816987038, 0.039652664214372635, 0.02690635435283184, -0.012388124130666256, -0.026810966432094574, 0.0069449483416974545, 0.010787023231387138, 0.025631830096244812, 0.014242436736822128, 0.0011179366847500205, 0.006179723422974348, -0.034571465104818344, -0.05186685547232628, -0.0011287834495306015, 0.004905229434370995, 0.01695091277360916, -0.01975826546549797, -0.01448873896151781, 0.029635701328516006, -0.009383980184793472, -0.02513081580400467, -0.010848870500922203, -0.008012400008738041, 0.013292917050421238, -0.00523515697568655, -0.0020926673896610737, -0.035316068679094315, -0.006172388792037964, 0.015346353873610497, -0.028370656073093414, 0.03441314026713371, 0.008307023905217648, -0.003959673922508955, -0.02120332419872284, -0.018997834995388985, 0.023837033659219742, 0.010509653948247433, 0.03196301311254501, -0.019383035600185394, 0.019092602655291557, 0.024504603818058968, -0.02208789624273777, 0.05126781016588211, -0.016409413889050484, -0.014705685898661613, 0.015606367960572243, 0.01609063893556595, 0.03385250270366669, 0.025618189945816994, -0.0012725075939670205, -0.017822500318288803, 0.013231721706688404, -0.011139820329844952, 0.005668631289154291, -0.03460117056965828, 0.019350068643689156, 0.003244399558752775, 0.03298800811171532, -0.061618074774742126, -0.005964611191302538, -0.02184719778597355, 0.005062359385192394, 0.0012488557258620858, 0.8573558926582336, -0.017061324790120125, 0.03680115193128586, 0.016146700829267502, 0.00910435151308775, 0.01639888994395733, -0.018980413675308228, -0.014982625842094421, -0.03441132605075836, 0.007454804144799709, -0.007175024598836899, 0.0368238240480423, 0.010444984771311283, 0.004235127009451389, 0.0048652892000973225, 0.01789000630378723, 0.006395761854946613, -0.008877054788172245, -0.0016104275127872825, 0.01627061702311039, 0.007387226913124323, 0.02486378513276577, -0.0233124028891325, -0.025397736579179764, -0.023587437346577644, 0.03166690096259117, -0.126245379447937, 0.026739155873656273, -8.365124163666581e-33, 0.02230810560286045, -0.01593177765607834, 0.028802484273910522, 0.004208267666399479, -0.003088610479608178, 0.037141378968954086, 0.01479603536427021, 0.027247674763202667, 0.07291023433208466, -0.030095351859927177, -0.026215601712465286, -0.037237223237752914, 0.01201146561652422, -0.06770934909582138, 0.039600443094968796, 0.0007113977917470038, 0.010106165893375874, 0.026316260918974876, -0.03439009189605713, 0.009116736240684986, -0.013998685404658318, 0.005528718698769808, 0.009557266719639301, -0.05657466500997543, 0.0024778726510703564, -0.009394396096467972, 0.014894179068505764, -0.006541219539940357, 0.002451149048283696, -0.05060134828090668, 0.007303939200937748, -0.011558306403458118, -0.013078073970973492, 0.04129849001765251, 0.0489422082901001, -0.04602709412574768, 0.003660108894109726, 0.01273182313889265, -0.000949605368077755, 0.00942083727568388, -0.06753502786159515, -0.02022363990545273, -0.03204246610403061, -0.005373120307922363, 0.015372279100120068, -0.01735067367553711, -0.01984725147485733, -0.0029783402569592, -0.010334293358027935, -0.005498131271451712, -0.004044855013489723, 0.06051911786198616, -0.0037340782582759857, -0.03451741859316826, -0.02648039348423481, 0.030293386429548264, 0.018592089414596558, -0.012994293123483658, 0.018618324771523476, 0.004838941618800163, -0.005842121317982674, 0.005009783897548914, -0.014030149206519127, -0.0011566577013581991, -0.032570865005254745, -0.015203414484858513, 0.020101720467209816, -0.040851373225450516, 0.009624835103750229, 0.026768885552883148, -0.03195832297205925, 0.004240248817950487, -0.010805088095366955, 0.0016135743353515863, 0.01354524027556181, 0.02036566287279129, 0.03618048131465912, 0.012680837884545326, 0.019963707774877548, -0.01340797170996666, 0.040907103568315506, -0.03618326410651207, 0.030936766415834427, -0.031589534133672714, 0.029135217890143394, -0.024825481697916985, 0.00126863201148808, -0.03312404081225395, 0.03351754695177078, 0.008772243745625019, 0.025548836216330528, -0.015571212396025658, -0.01132621057331562, -0.025669483467936516, -0.0007385739008896053, 8.116748084809586e-33, 0.01641133800148964, -0.02075156569480896, -0.028611551970243454, 0.0024950087536126375, 0.0028010953683406115, -0.02223268896341324, -0.02123134955763817, 0.03270309790968895, -0.05509538948535919, 0.04385281726717949, 0.024172388017177582, 0.010017579421401024, -0.03419709578156471, 0.05546794831752777, 0.008531470783054829, -0.010463830083608627, 0.07132569700479507, -0.00435935752466321, -0.00012264719407539815, -0.05071737989783287, 0.012583877891302109, 0.009773488156497478, 0.020030582323670387, -0.03340170904994011, 0.02874297834932804, 0.03602541610598564, -0.001393002225086093, 0.00018170371185988188, 0.03851247578859329, -0.0053326841443777084, 0.016274703666567802, -0.031867559999227524, 0.036334328353405, -0.058689940720796585, -0.013085532002151012, 0.04129493981599808, 0.013871139846742153, -0.042956553399562836, 0.02765538915991783, 0.009886936284601688, 0.0067305113188922405, -0.03472530096769333, 0.00527316564694047, 0.02222289703786373, -0.020349405705928802, 0.021558456122875214, -0.010886776261031628, -0.0006469927029684186, 0.014524603262543678, 0.03289416804909706, 0.017972545698285103, -0.034052543342113495, 0.008897397667169571, -0.0022221552208065987, -0.0027247208636254072, -0.025032538920640945, -0.028616363182663918, -0.031716227531433105, -0.03318389877676964, 0.024363180622458458, -0.010619338601827621, -0.019355930387973785, -0.024433402344584465, -0.02750323712825775, -0.022327087819576263, 0.009749838151037693, -0.03931795805692673, -0.0260232575237751, 0.004777155816555023, -0.020003221929073334, -0.025500595569610596, -0.026959406211972237, -0.043700870126485825, 0.039523616433143616, 0.020963022485375404, -0.012289941310882568, 0.015032494440674782, 0.002910279668867588, -0.01239889394491911, -0.0021067471243441105, 0.021585777401924133, -0.026804093271493912, 0.0254050362855196, 0.0017807201948016882, 0.0012848892947658896, -0.009835969656705856, -0.020930025726556778, 0.007604882121086121, -0.027096301317214966, -0.04059486463665962, -0.029061714187264442, 0.03799784556031227, -0.01518108882009983, 0.03762032464146614, 0.011826198548078537, -1.3792258890532594e-8, -0.015824874863028526, 0.03477882966399193, -0.013837257400155067, -0.01282691303640604, -0.010184884071350098, -0.013807046227157116, -0.023177504539489746, -0.04302598908543587, 0.018752142786979675, 0.0017850428121164441, 0.02270355634391308, -0.01800883561372757, 0.003618219867348671, -0.02817416377365589, 0.03111843205988407, -0.011646153405308723, -0.07135086506605148, -0.029388131573796272, 0.008029145188629627, 0.039321549236774445, 0.014478475786745548, 0.007187511771917343, -0.020230088382959366, -0.018671328201889992, 0.0008278886089101434, 0.02842419035732746, 0.025012871250510216, -0.047377489507198334, 0.02742695063352585, 0.034501902759075165, 0.02202634885907173, -0.005705318413674831, -0.022830452769994736, -0.00449127983301878, -0.038979191333055496, -0.03582698479294777, -0.006095766555517912, -0.010771825909614563, 0.017832405865192413, 0.04254985973238945, 0.042075905948877335, 0.005960168316960335, -0.00854762177914381, 0.01785540021955967, 0.0037934675347059965, -0.023869488388299942, -0.001800395781174302, -0.018603354692459106, -0.018271978944540024, -0.013331686146557331, -0.02937057614326477, 0.04628940299153328, 0.004322958644479513, 0.011180161498486996, 0.0026138664688915014, 0.007383872289210558, 0.03184990957379341, 0.009782353416085243, -0.02515534684062004, 0.04347262531518936, -0.002738826908171177, 0.010449529625475407, -0.015242257155478, -0.0001925137039506808 ]
coding-using-tostring
https://markhneedham.com/blog/2009/02/26/coding-using-tostring
false
2009-02-21 10:39:49
ASP.NET MVC: Driving partials by convention
[ "aspnet-mvc" ]
[ ".NET" ]
I like to have conventions in the code I write - I find it makes the code i write much cleaner which still providing flexibility. One of the conventions that Jeremy Miller coined for working with ASP.NET MVC applications is that of using one model per controller method aka http://codebetter.com/blogs/jeremy.miller/archive/2008/10/23/our-opinions-on-the-asp-net-mvc-introducing-the-thunderdome-principle.aspx["The Thunderdome principle"]. I think we can take this further by having one model per http://bradwilson.typepad.com/blog/2008/08/partial-renderi.html[partial] that we use inside our views. The benefit of having a model especially for a partial is that we remove confusion about data available to populate our controls by restricting the amount of data we actually have. It also makes more sense from a conceptual point of view. Given this approach it started to become quite annoying having to type the following code all the time. [source,csharp] ---- <% Html.RenderPartial("_Foo", new FooModel()); %> ---- We realised that a neater approach would be if we could just pass in the model and it would work out which partial needed to be rendered, assuming the convention that each model is only used on one partial. We are using strongly typed models on our views so the code behind in each of the partials extends ViewPage+++<T>+++, making it possible to work out the partial we want to load by looking up the model.+++</T>+++ [source,csharp] ---- public static class HtmlHelperExtensions { public static void RenderPartialFrom(this HtmlHelper htmlHelper, object model) { var thePartial = FindMeThePartial(model); htmlHelper.RenderPartial(thePartial, model); } private static string FindMeThePartial<T>(T model) where T : class { var projectAssembly = Assembly.Load("Project"); var types = projectAssembly.GetTypes(); foreach (var type in types) { if (type.BaseType == typeof(ViewPage<T>)) { return type.Name; } } return string.Empty; } } ---- You can then refer to this in views like so: [source,csharp] ---- <% Html.RenderPartialFrom(new FooModel()); %> ---- Obviously it takes the first result it finds, so the convention we have is that each model should only be used on one partial which I think is a reasonable idea.
null
null
[ -0.014667854644358158, -0.014647388830780983, -0.046598970890045166, 0.028588006272912025, 0.046127352863550186, -0.02093794383108616, 0.06223839893937111, 0.021375080570578575, 0.002340665552765131, -0.024197502061724663, -0.000998033443465829, -0.019188106060028076, -0.0706905722618103, 0.03627043217420578, -0.033933307975530624, 0.08907333016395569, 0.03184301406145096, -0.041973765939474106, 0.021851155906915665, -0.005856468807905912, -0.003663260256871581, 0.06499205529689789, 0.005044098943471909, 0.02186790108680725, -0.005708787124603987, 0.017701221629977226, 0.020688947290182114, -0.010414868593215942, -0.046081848442554474, -0.022456087172031403, 0.02702290378510952, 0.03576324135065079, 0.01301304716616869, -0.00027252486324869096, 0.0001649026235099882, -0.05311689153313637, 0.006129931658506393, 0.013803909532725811, 0.007836364209651947, -0.011052897199988365, -0.07035128027200699, 0.03719083219766617, 0.008805523626506329, -0.02589225023984909, -0.03947649151086807, -0.003081557108089328, 0.0001721527223708108, 0.022606415674090385, -0.03874588385224342, -0.022172005847096443, -0.06713160872459412, 0.04133296757936478, -0.04771549627184868, 0.037762828171253204, -0.02174851857125759, 0.043025728315114975, 0.006749953608959913, -0.057599104940891266, -0.006305784918367863, -0.07843201607465744, -0.007614413276314735, -0.002287423238158226, 0.014337503351271152, 0.035471536219120026, 0.02513979747891426, 0.0032113338820636272, -0.03499217331409454, 0.047168467193841934, -0.04301198944449425, -0.028424391523003578, 0.012678796425461769, 0.02090218849480152, 0.002437849994748831, 0.017994290217757225, 0.016318656504154205, -0.017764540389180183, 0.019274132326245308, 0.03608448803424835, 0.0061673354357481, 0.06851063668727875, -0.023071905598044395, 0.0017974241636693478, 0.011549576185643673, 0.010326724499464035, 0.028679117560386658, -0.0277225524187088, -0.02264147438108921, 0.011586618609726429, -0.026118768379092216, 0.054038483649492264, -0.01665220782160759, -0.045193664729595184, 0.015616895630955696, 0.022947343066334724, 0.006793078500777483, -0.007997018285095692, 0.010074155405163765, -0.011865696869790554, 0.017529195174574852, -0.002620881423354149, -0.0020823862869292498, -0.025447912514209747, 0.047976039350032806, -0.02355055883526802, -0.08988083899021149, -0.006378075107932091, -0.028194470331072807, -0.013953684829175472, 0.0038564240094274282, 0.022460754960775375, -0.04433319717645645, -0.006110244430601597, -0.05847235769033432, -0.022724969312548637, -0.04807017743587494, 0.04239998757839203, -0.007405200507491827, -0.015349573455750942, 0.015975015237927437, 0.021441858261823654, 0.043329328298568726, 0.00972324050962925, -0.002470441861078143, 0.07068859785795212, -0.016222864389419556, 0.04533510282635689, -0.01956227980554104, 0.061527419835329056, -0.02307601273059845, -0.06456277519464493, -0.013119546696543694, 0.058264825493097305, -0.006199277471750975, -0.025557560846209526, -0.026331471279263496, -0.040471483021974564, 0.0016066201496869326, -0.0012785433791577816, 0.01714329607784748, 0.03286568820476532, -0.04259774088859558, -0.030106382444500923, 0.024619299918413162, -0.010204732418060303, 0.0170062817633152, 0.009312044829130173, 0.011798527091741562, -0.015320178121328354, -0.035037435591220856, 0.028187431395053864, 0.046023160219192505, 0.05764300748705864, 0.021739868447184563, -0.04522648826241493, 0.026191791519522667, 0.09675512462854385, 0.029423339292407036, -0.003833092050626874, 0.022200433537364006, 0.0030108799692243338, 0.04668780788779259, 0.021661443635821342, 0.0022791826631873846, 0.060921818017959595, 0.018308984115719795, 0.004268004093319178, -0.01822933554649353, 0.03258860111236572, 0.02362479269504547, -0.024817049503326416, -0.06757539510726929, -0.034475598484277725, 0.05707152187824249, -0.066874660551548, -0.0038074597250670195, 0.03540752828121185, 0.05261104181408882, 0.002742242766544223, 0.05347045883536339, 0.007933286018669605, -0.07608195394277573, -0.011879533529281616, 0.033248454332351685, -0.029265495017170906, 0.01383860781788826, 0.0050876205787062645, 0.05813038349151611, 0.020477667450904846, -0.0005789606366306543, 0.0315469428896904, -0.09456897526979446, -0.060194067656993866, -0.023065214976668358, -0.03625505045056343, 0.08340562880039215, -0.0019257472595199943, -0.020091241225600243, 0.09315958619117737, 0.01956615224480629, 0.05457073450088501, 0.04557016119360924, -0.014528688974678516, 0.020479436963796616, -0.002681023208424449, -0.027104008942842484, 0.025330575183033943, 0.028091318905353546, 0.018522318452596664, -0.050685785710811615, 0.013964482583105564, 0.0066513363271951675, -0.014148792251944542, 0.02897202968597412, 0.000542963098268956, 0.035947490483522415, 0.010509654879570007, 0.023249341174960136, -0.024930940940976143, 0.050573743879795074, -0.07114499807357788, 0.031140197068452835, -0.008338161744177341, -0.029428116977214813, -0.006707053631544113, -0.015683529898524284, 0.10169470310211182, 0.04023924097418785, -0.04762893542647362, -0.04336649924516678, 0.03154843673110008, 0.029658731073141098, -0.01582326367497444, 0.03316853195428848, -0.012743505649268627, 0.037529099732637405, -0.016995545476675034, -0.019592542201280594, -0.005844719707965851, 0.0019577734638005495, -0.0261952206492424, 0.012319926172494888, 0.07852797955274582, -0.049992840737104416, 0.05059196054935455, -0.0448533296585083, -0.009162671864032745, -0.009674214757978916, -0.03551826998591423, -0.053109459578990936, 0.006291613448411226, 0.008879654109477997, -0.007279885932803154, 0.054699961096048355, -0.016113001853227615, -0.010493110865354538, -0.003911178093403578, -0.014315676875412464, 0.0045692212879657745, 0.014218493364751339, 0.04506069794297218, -0.007116074673831463, 0.03347622603178024, -0.017196329310536385, 0.030087286606431007, -0.022552432492375374, -0.06085415184497833, 0.006959783378988504, -0.01935206539928913, 0.01896696351468563, 0.06164751946926117, 0.0320613868534565, 0.018977832049131393, 0.018130481243133545, 0.0021883081644773483, -0.02719474397599697, 0.001406353316269815, 0.03527631610631943, 0.011140362359583378, -0.03826374560594559, -0.02530640922486782, -0.04249925911426544, 0.036312904208898544, -0.02803177759051323, -0.057963091880083084, 0.01189440581947565, -0.07681259512901306, 0.04376937821507454, -0.07556769251823425, -0.07162739336490631, -0.024668026715517044, 0.034354109317064285, 0.047020889818668365, -0.014809143729507923, 0.023742906749248505, 0.059218864887952805, 0.014068071730434895, 0.005523728206753731, 0.014766897074878216, -0.002123479498550296, 0.02213151566684246, -0.03393620625138283, -0.005448073148727417, 0.03962098807096481, -0.005637738388031721, -0.007999195717275143, -0.025302309542894363, 0.04017965868115425, -0.01791297271847725, -0.27538248896598816, 0.028711704537272453, -0.031423263251781464, -0.07054083794355392, 0.03926285728812218, -0.005526479333639145, 0.024098549038171768, -0.058036841452121735, -0.009602781385183334, 0.022878454998135567, -0.03312242403626442, -0.05953143537044525, -0.027447093278169632, 0.06349281221628189, 0.002098919590935111, 0.024176277220249176, -0.009588869288563728, -0.01775398850440979, 0.02766895852982998, 0.027097783982753754, -0.003630697261542082, -0.065070740878582, -0.013940630480647087, 0.03063879907131195, 0.021448815241456032, 0.03895970433950424, -0.08154583722352982, 0.0773862823843956, -0.03655305877327919, 0.007916648872196674, 0.012772585265338421, 0.01091628149151802, -0.023649772629141808, -0.05326589196920395, -0.026425421237945557, -0.02923925593495369, 0.019135626032948494, 0.0513186939060688, 0.014626751653850079, 0.02579593099653721, -0.030794482678174973, -0.057726286351680756, -0.008664610795676708, -0.003516947850584984, 0.06665628403425217, -0.02711658738553524, -0.07481661438941956, -0.0003548701643012464, -0.04927899315953255, 0.06831055879592896, -0.02380235679447651, -0.043236713856458664, 0.026147127151489258, 0.05278764292597771, -0.01692095585167408, -0.04473583400249481, 0.047605838626623154, -0.017093060538172722, -0.025626618415117264, -0.023876262828707695, -0.01584913767874241, -0.06680940836668015, -0.018886703997850418, -0.05372777581214905, 0.024374881759285927, -0.06847696006298065, -0.054730501025915146, -0.030710451304912567, 0.04340251162648201, 0.04848632961511612, -0.006967483088374138, -0.004040723666548729, -0.0000665461047901772, -0.11528315395116806, 0.012022306211292744, -0.02833651378750801, -0.012074367143213749, -0.038446079939603806, 0.004246927797794342, 0.05634213238954544, -0.014118279330432415, -0.03928321599960327, 0.028843220323324203, 0.005461942404508591, 0.01780245453119278, 0.02100522629916668, 0.05613059923052788, 0.0030830204486846924, -0.01965467818081379, -0.0059841894544661045, 0.06546633690595627, 0.013970844447612762, 0.019966112449765205, -0.04696502909064293, 0.00866951234638691, 0.007383443880826235, 0.03416971117258072, -0.03346690535545349, 0.00866644736379385, 0.017294880002737045, 0.024465885013341904, -0.067512646317482, 0.021351957693696022, -0.004061622079461813, -0.0030694950837641954, -0.023470759391784668, -0.05673226714134216, 0.020416337996721268, 0.04372116178274155, 0.004920562729239464, -0.007107218261808157, -0.021635206416249275, -0.019061384722590446, -0.044023461639881134, -0.027544846758246422, -0.02472764626145363, 0.0032360460609197617, 0.01958460733294487, -0.022240381687879562, -0.0032376013696193695, -0.05080537497997284, 0.015857744961977005, -0.026494290679693222, 0.016357840970158577, -0.06581006944179535, -0.05024068430066109, 0.02474452182650566, -0.02554914727807045, 0.018632015213370323, 0.03269007429480553, -0.028223693370819092, 0.03773791342973709, -0.010233700275421143, -0.05590137094259262, 0.025368548929691315, 0.02375597506761551, -0.01196539681404829, -0.02523004822432995, -0.016994312405586243, -0.03741820901632309, 0.01898074336349964, -0.0014310996048152447, -0.008641747757792473, 0.0010371098760515451, 0.06361325830221176, 0.006552885286509991, 0.03921303153038025, 0.025471720844507217, 0.00018669915152713656, 0.02014593593776226, 0.015598997473716736, -0.05628711357712746, 0.009804750792682171, -0.0312759205698967, -0.045868366956710815, -0.042948029935359955, 0.018410373479127884, -0.04910479858517647, -0.009046999737620354, -0.03926026076078415, 0.030825911089777946, -0.03091147169470787, -0.07191101461648941, -0.017057418823242188, 0.022679606452584267, 0.04637480527162552, -0.008230089209973812, 0.023089315742254257, -0.016721487045288086, -0.015464747324585915, 0.03459589555859566, 0.0009436554391868412, -0.008038484491407871, 0.012168286368250847, -0.018633129075169563, 0.007604390848428011, -0.0008843405521474779, 0.01883171685039997, 0.0565001554787159, 0.042531415820121765, 0.016637122258543968, -0.026310617104172707, 0.013894551433622837, 0.04969504848122597, 0.02344004437327385, 0.016099076718091965, -0.01150596048682928, 0.0034584153909236193, -0.008770029060542583, -0.003683686489239335, -0.027881961315870285, 0.0009111860417760909, -0.02045789547264576, 0.02239670604467392, -0.017892595380544662, -0.05868063122034073, 0.033094391226768494, 0.008667041547596455, 0.021683290600776672, -0.01714794896543026, 0.004885307513177395, -0.0031979733612388372, -0.012541914358735085, 0.017639167606830597, 0.022985555231571198, -0.05587831884622574, 0.027489565312862396, -0.003623934229835868, -0.0024434237275272608, 0.03623398393392563, 0.015345302410423756, -0.04073077812790871, 0.0035059195943176746, -0.017611529678106308, 0.0017254083650186658, -0.06220325455069542, -0.019374331459403038, -0.018203308805823326, 0.02151116356253624, 0.013091913424432278, -0.002548785414546728, -0.014638617634773254, -0.0014728860696777701, -0.02348179742693901, -0.03708386421203613, 0.004577301442623138, -0.022473186254501343, 0.022875145077705383, 0.026827337220311165, -0.055678725242614746, 0.01541950087994337, -0.007907281629741192, 0.01932787336409092, 0.015271025709807873, -0.001705822884105146, -0.02625439316034317, -0.04676515981554985, 0.004718890879303217, 0.01061155367642641, 0.03586249053478241, 0.02366005815565586, -0.01132200751453638, -0.025491846725344658, -0.020887242630124092, -0.013006670400500298, -0.0025624914560467005, -0.014222715049982071, -0.03274896740913391, -0.005973488092422485, 0.04837464168667793, 0.03371207043528557, 0.018454594537615776, -0.022558247670531273, 0.025532430037856102, 0.06472130119800568, -0.04438245669007301, -0.021858127787709236, -0.03697472810745239, -0.07449712604284286, 0.03704072907567024, 0.01884554885327816, 0.057712897658348083, -0.02174975909292698, 0.0550338551402092, 0.03390897065401077, 0.027298051863908768, 0.028657948598265648, 0.007991931401193142, 0.032963551580905914, -0.030427424237132072, 0.020687725394964218, -0.06727467477321625, 0.010995662771165371, 0.014606253243982792, 0.010485981591045856, -0.03003614954650402, -0.016443848609924316, -0.027248075231909752, 0.06142834573984146, -0.06853591650724411, -0.028881458565592766, 0.022860178723931313, 0.03133796155452728, -0.006979179568588734, 0.0035834691952914, -0.05962858349084854, 0.03757548704743385, 0.014227944426238537, -0.05113421753048897, -0.030359284952282906, -0.0361923910677433, 0.04189931973814964, 0.025291381403803825, 0.0019043300999328494, -0.05590507388114929, 0.009008294902741909, 0.07169301807880402, 0.026106325909495354, 0.01597585901618004, 0.05993913859128952, -0.013844997622072697, 0.05910319834947586, 0.013232589699327946, 0.002379068173468113, -0.022430019453167915, -0.03421267122030258, 0.03552241250872612, -0.06720364093780518, 0.034740813076496124, 0.013898116536438465, -0.027403738349676132, -0.0700594037771225, 0.0723872035741806, 0.004425784572958946, -0.021027684211730957, -0.06324206292629242, -0.0185183547437191, -0.01962282881140709, -0.01910894364118576, -0.02293631248176098, 0.013874965719878674, -0.005886697676032782, 0.0684342160820961, 0.012400966137647629, 0.0053369104862213135, 0.064458929002285, -0.00022400134184863418, 0.002153190551325679, -0.03481253236532211, 0.08000163733959198, 0.07517711818218231, 0.049110136926174164, -0.020527124404907227, 0.057395268231630325, -0.02453702501952648, -0.04777853563427925, 0.031196586787700653, -0.014780652709305286, 0.0009529216913506389, -0.04606364294886589, 0.012933100573718548, 0.06590060889720917, -0.009614908136427402, 0.0558205209672451, -0.030732976272702217, -0.003674191888421774, 0.0031811075750738382, 0.05172737315297127, 0.01252342015504837, 0.0337291955947876, 0.01800498552620411, -0.004150384571403265, 0.01040530577301979, -0.03971404209733009, 0.02267540991306305, -0.0361686646938324, -0.025354301556944847, 0.0033776606433093548, -0.002669569104909897, 0.01175609603524208, 0.00022257705859374255, 0.024534739553928375, 0.06762460619211197, -0.016696913167834282, -0.01093980297446251, -0.0005469064926728606, 0.008830782026052475, -0.00023994586081244051, -0.02410905249416828, -0.02035370282828808, -0.04597471281886101, -0.021308256313204765, -0.00973439496010542, 0.00837615504860878, -0.023475587368011475, -0.020383227616548538, 0.046486176550388336, -0.026988793164491653, 0.034544188529253006, 0.03788556158542633, 0.006878367625176907, -0.06844741851091385, -0.05732588469982147, -0.06119571253657341, -0.02973964437842369, -0.05883320793509483, -0.010913698002696037, 0.03293396532535553, -0.024519382044672966, -0.019673101603984833, -0.014277810230851173, -0.017842447385191917, -0.020408181473612785, 0.06416607648134232, -0.02411811240017414, -0.04087040200829506, 0.017192207276821136, 0.006119184661656618, 0.042526088654994965, 0.07066772133111954, 0.023821139708161354, 0.010582935065031052, -0.014909609220921993, -0.025830941274762154, -0.017131708562374115, 0.032019127160310745, 0.004440260119736195, 0.05390610173344612, -0.08683974295854568, 0.033019669353961945, 0.023234156891703606, -0.0024386835284531116, -0.06458330899477005, 0.0037865189369767904, 0.015009090304374695, -0.03451705724000931, 0.03755657374858856, -0.040062204003334045, 0.010828710161149502, -0.03947781026363373, -0.010080474428832531, 0.004021433647722006, 0.043757397681474686, 0.04338693618774414, -0.043427638709545135, 0.08085940778255463, 0.03967534750699997, -0.005283707287162542, -0.019607510417699814, 0.014839031733572483, -0.017818618565797806, 0.023132892325520515, -0.023788291960954666, -0.005847392603754997, -0.06196669861674309, -0.049197807908058167, -0.005926097743213177, 0.042065538465976715, -0.01008620671927929, -0.023395951837301254, 0.0192031878978014, 0.03197605162858963, -0.08395514637231827, 0.006238013040274382, -0.023453427478671074, 0.035548679530620575, -0.03348639979958534, -0.003720517735928297, 0.011630450375378132, 0.043207328766584396, 0.029232172295451164, 0.00250733713619411, 0.04310167208313942, -0.031492821872234344, -0.01159596350044012, -0.0421672984957695, 0.026388881728053093, 0.04005727171897888, -0.010228806175291538, 0.02083560638129711 ]
[ -0.08917569369077682, -0.005275274161249399, -0.007188988849520683, -0.038672637194395065, 0.02663220465183258, 0.0032675499096512794, 0.013868987560272217, -0.0076744589023292065, 0.008513959124684334, -0.03736488148570061, -0.02448810450732708, -0.012161726132035255, -0.02654476836323738, 0.04129144176840782, 0.09786099940538406, 0.014975626952946186, -0.025166455656290054, -0.0073204003274440765, 0.0024790577590465546, 0.008355098776519299, 0.044069722294807434, -0.01157273631542921, -0.05359021574258804, -0.013224570080637932, -0.019708970561623573, 0.034809429198503494, 0.0465753898024559, -0.04077227786183357, 0.013063229620456696, -0.1951008439064026, -0.011846114881336689, -0.008275286294519901, 0.0015067559434100986, -0.017147624865174294, -0.04704061523079872, 0.02178536355495453, -0.003643956035375595, 0.029991135001182556, -0.0002448081213515252, 0.04256884381175041, -0.016469433903694153, 0.03639013692736626, -0.019261350855231285, -0.03690285235643387, 0.048173826187849045, -0.025211330503225327, -0.0036301608197391033, -0.02497497946023941, -0.037495099008083344, 0.001354158273898065, -0.009978064335882664, -0.04603113234043121, -0.04721494019031525, -0.013182499445974827, 0.006084390450268984, 0.015574331395328045, 0.0049918415024876595, 0.058337267488241196, -0.024551352486014366, 0.009245382621884346, 0.019681794568896294, -0.0008104918524622917, -0.1373114436864853, 0.12504994869232178, 0.02381901443004608, 0.08258231729269028, -0.01680086739361286, -0.03309766575694084, -0.004583118483424187, 0.10330738127231598, 0.00748197128996253, -0.002954680472612381, -0.020841721445322037, 0.05274554714560509, 0.011282905004918575, -0.028801685199141502, -0.003695219289511442, 0.04779213294386864, 0.04067877680063248, -0.04933571815490723, -0.03185319900512695, -0.01343617681413889, -0.017290757969021797, -0.020744405686855316, -0.048229970037937164, 0.00980421807616949, -0.0008952167700044811, 0.019510682672262192, 0.02647404558956623, 0.02601633220911026, 0.006927603390067816, -0.03399862349033356, 0.031115002930164337, -0.008332381024956703, -0.06027316674590111, -0.0006293543265201151, -0.01815640553832054, 0.0012622007634490728, -0.02322465367615223, 0.3897339403629303, -0.027031701058149338, -0.04049067199230194, 0.0825674757361412, 0.01694021001458168, -0.03732253611087799, 0.022725043818354607, 0.028033927083015442, -0.047940049320459366, 0.017548948526382446, -0.008750805631279945, -0.01846953295171261, 0.024256961420178413, 0.0073443991132080555, -0.055085331201553345, -0.0041042049415409565, -0.031407758593559265, -0.00419900007545948, 0.011235604993999004, 0.01976381056010723, -0.01429464016109705, -0.0070149898529052734, 0.004442123230546713, 0.04913525655865669, 0.031434617936611176, 0.005672209896147251, -0.021519847214221954, 0.033232688903808594, 0.07008621096611023, 0.06310898810625076, -0.004961034283041954, 0.06397954374551773, -0.023441065102815628, -0.04573169723153114, -0.027623137459158897, 0.0007953697931952775, -0.028781168162822723, 0.05732472613453865, 0.012906049378216267, 0.0052430033683776855, 0.03658609837293625, -0.012333185411989689, 0.03496726602315903, 0.01792951673269272, -0.03081764280796051, -0.03988747298717499, 0.14627555012702942, -0.0028312222566455603, -0.039460331201553345, -0.03636963665485382, -0.03476231172680855, 0.013291938230395317, 0.06824616342782974, 0.009902792982757092, -0.034175921231508255, 0.014704270288348198, 0.014837394468486309, 0.027122119441628456, -0.022788433358073235, -0.028914619237184525, -0.035055290907621384, -0.00024734935141168535, 0.005136141553521156, -0.02164762280881405, 0.07034799456596375, 0.025821713730692863, -0.14881742000579834, -0.05750039592385292, -0.008118175901472569, -0.0035672339145094156, -0.057820674031972885, -0.047351010143756866, 0.04887373745441437, -0.026059197261929512, -0.012166108936071396, 0.06031356379389763, 0.005233334843069315, -0.06789432466030121, 0.0013797099236398935, 0.003366436343640089, 0.03792533278465271, 0.02167448028922081, 0.0014601792208850384, -0.06552617251873016, 0.007350273430347443, -0.022615954279899597, -0.08340165764093399, -0.023114817216992378, -0.047122105956077576, -0.026290204375982285, -0.016713405027985573, -0.04778744652867317, 0.014224753715097904, -0.05893467366695404, 0.09257566928863525, -0.024594733491539955, -0.00705732824280858, 0.03635120391845703, -0.02638605423271656, -0.005999018903821707, -0.04043605178594589, -0.04357215389609337, 0.08078675717115402, -0.02855820767581463, 0.02709248475730419, -0.015750184655189514, 0.04693938046693802, 0.020739248022437096, -0.024794818833470345, 0.024241413921117783, 0.022325342521071434, -0.0851350799202919, 0.010543706826865673, 0.01892848126590252, 0.024645643308758736, 0.002422447083517909, 0.008060799911618233, 0.022829707711935043, 0.046793676912784576, 0.00882833730429411, 0.02558210678398609, -0.028376944363117218, -0.017043253406882286, 0.05328589305281639, -0.3436196446418762, -0.009780445136129856, -0.031598519533872604, -0.017786867916584015, 0.013050800189375877, -0.08794354647397995, -0.011413884349167347, -0.023499345406889915, -0.05176179111003876, 0.008499584160745144, 0.06140267103910446, -0.015361804515123367, -0.014561145566403866, -0.06400150805711746, -0.018366394564509392, 0.037160154432058334, -0.039498623460531235, -0.03954730182886124, -0.052095185965299606, 0.0007690908969379961, -0.012990511022508144, 0.009530226700007915, 0.00976725947111845, -0.07253766804933548, 0.016098830848932266, -0.03351522982120514, 0.09817495942115784, -0.014893042854964733, 0.09388718754053116, -0.02151438780128956, 0.04803954437375069, -0.004793573170900345, 0.0014962865971028805, -0.06389442086219788, 0.006307835225015879, -0.06025785580277443, -0.018475642427802086, -0.031165217980742455, 0.04197404906153679, -0.014188040047883987, -0.0038497180212289095, -0.0007219462422654033, -0.02697104960680008, -0.06528311222791672, -0.036651745438575745, -0.01583215221762657, -0.02934250794351101, -0.05540166422724724, -0.04044165462255478, 0.07077319175004959, -0.000027287733246339485, -0.010787061415612698, 0.021135319024324417, 0.05329770967364311, -0.019634082913398743, -0.013700305484235287, -0.08259578794240952, -0.023760218173265457, 0.003996809013187885, 0.04376623407006264, 0.05496425926685333, 0.056297387927770615, 0.020526178181171417, -0.07772215455770493, 0.005835723131895065, 0.003776957979425788, -0.02375674806535244, -0.018678441643714905, 0.07136951386928558, -0.03191985562443733, -0.05796651914715767, 0.09271079301834106, 0.016070900484919548, -0.02691052109003067, 0.03774305060505867, 0.02561582624912262, -0.027594774961471558, 0.027271322906017303, 0.023957133293151855, 0.03591266646981239, 0.006109299603849649, 0.0008833265746943653, 0.02796795405447483, 0.01246368233114481, 0.006419623736292124, 0.02262835204601288, -0.02066686749458313, -0.02948334813117981, 0.008158200420439243, -0.010225195437669754, -0.04523405432701111, 0.0185882356017828, -0.011858885176479816, -0.029951423406600952, 0.04026797041296959, -0.025741947814822197, -0.26430830359458923, 0.03590082749724388, 0.10038460046052933, 0.0933111160993576, -0.027108779177069664, 0.04894714057445526, 0.009854791685938835, -0.053359951823949814, 0.0013560015941038728, -0.012905368581414223, 0.048294730484485626, 0.04877256602048874, 0.02293206937611103, 0.013348654843866825, 0.047996800392866135, -0.005030079744756222, 0.041528016328811646, -0.017196200788021088, 0.044455111026763916, -0.021610047668218613, 0.029569316655397415, -0.0006304747075773776, 0.18375302851200104, -0.013055197894573212, 0.04105127975344658, 0.052828747779130936, 0.016631396487355232, -0.010619696229696274, 0.07221701741218567, 0.045278556644916534, 0.03853129222989082, -0.022026143968105316, 0.09350254386663437, 0.015700343996286392, 0.04610564932227135, -0.07654476910829544, -0.007815954275429249, 0.04483773931860924, 0.017444869503378868, 0.01856611855328083, -0.0067222039215266705, 0.024368051439523697, -0.030333982780575752, 0.005164833273738623, 0.08090589195489883, 0.014458727091550827, 0.000999992829747498, -0.010757978074252605, -0.061890892684459686, -0.029699712991714478, -0.020063726231455803, -0.04165605455636978, -0.0011075360234826803, 0.002311673713847995, 0.006123146042227745, 0.05577143281698227, 0.026017697528004646, -0.003824973478913307, -0.03957212716341019, 0.015108727850019932, 0.015887614339590073, 0.021060874685645103, 0.0681181401014328, 0.0018894990207627416, 0.05539708957076073 ]
[ -0.014014657586812973, -0.021286239847540855, 0.018274985253810883, 0.0497615747153759, 0.028014473617076874, 0.02529095485806465, -0.010099208913743496, 0.02458507940173149, -0.0007194241625256836, -0.009776290506124496, -0.03588287904858589, 0.001742284162901342, 0.023526659235358238, -0.02059224434196949, 0.011644483543932438, 0.017585698515176773, 0.03232692927122116, -0.0543132908642292, 0.021241994574666023, 0.040442634373903275, -0.009404271841049194, 0.014527663588523865, -0.015069172717630863, 0.0020937402732670307, 0.0028691438492387533, 0.04145841300487518, -0.015672527253627777, -0.004320759326219559, 0.02135775238275528, -0.11898285150527954, -0.042484913021326065, -0.02026197873055935, -0.037581805139780045, 0.028324078768491745, -0.002030927687883377, 0.008694545365869999, -0.022109845653176308, 0.023294635117053986, 0.005780999548733234, -0.038903288543224335, -0.020095815882086754, 0.010546956211328506, 0.03647498041391373, 0.003868699539452791, 0.012422668747603893, -0.010136616416275501, -0.0014435277553275228, -0.05424873158335686, -0.0026837061159312725, -0.023406747728586197, -0.011153505183756351, -0.052950117737054825, 0.011860984377563, -0.03411678224802017, 0.02418745495378971, -0.022505128756165504, -0.021775158122181892, -0.0227388683706522, 0.00885062851011753, -0.0084452573210001, 0.0035640420392155647, -0.000533873273525387, -0.05261048302054405, -0.025278273969888687, 0.028737111017107964, -0.034489572048187256, -0.023954397067427635, 0.0034605106338858604, 0.004915823694318533, -0.0006478065042756498, -0.007309771608561277, 0.02873125672340393, 0.008435806259512901, -0.02300475351512432, 0.024161335080862045, -0.007949437946081161, 0.017647497355937958, 0.004747914150357246, 0.030310411006212234, -0.039973266422748566, -0.030178194865584373, 0.008019320666790009, 0.003562693018466234, 0.021019699051976204, 0.0224323570728302, -0.001585915219038725, -0.007146371528506279, 0.021773409098386765, 0.03362534940242767, -0.0017012254102155566, -0.025437457486987114, -0.01758037693798542, 0.012064970098435879, 0.03490143641829491, -0.09479975700378418, -0.020514585077762604, -0.00038037431659176946, -0.030806969851255417, -0.03418075293302536, 0.831174910068512, -0.027976522222161293, 0.0011367761762812734, 0.06599601358175278, 0.005632304586470127, 0.01608995348215103, -0.03873315081000328, -0.0006298352382145822, 0.007031891494989395, 0.003529587062075734, -0.05072920769453049, 0.029947441071271896, 0.023198312148451805, 0.00464325025677681, 0.008884433656930923, 0.04926495626568794, -0.030572008341550827, 0.005008224863559008, -0.04463359713554382, -0.0074689132161438465, 0.02083047665655613, -0.02892947755753994, -0.014088800176978111, 0.01805025339126587, 0.015418823808431625, 0.026986099779605865, -0.17219558358192444, 0.003304267767816782, -7.585680308259216e-33, 0.06197284907102585, 0.023425806313753128, 0.030156923457980156, 0.01977071911096573, 0.0603342279791832, -0.0064833397045731544, 0.042895227670669556, 0.01921524479985237, 0.00025962895597331226, -0.017849044874310493, 0.0030773067846894264, -0.009183629415929317, -0.011405250057578087, -0.008943001739680767, 0.04235886409878731, -0.019970431923866272, -0.007049986626952887, 0.037650369107723236, -0.020408907905220985, -0.01375418622046709, 0.01376972533762455, 0.02128218114376068, 0.009072227403521538, -0.048188019543886185, 0.002230842364951968, 0.022081390023231506, 0.04225705936551094, 0.05035701021552086, -0.051239073276519775, -0.031781673431396484, 0.0038560517132282257, 0.02357443794608116, -0.009103907272219658, -0.01028558798134327, 0.02515738643705845, -0.010793938301503658, -0.014828022569417953, -0.010168235749006271, 0.00777897983789444, 0.013766936957836151, -0.02477475441992283, -0.019426129758358, -0.04873678833246231, 0.007084709592163563, -0.044307295233011246, -0.017853202298283577, 0.029343854635953903, 0.030016614124178886, -0.016459887847304344, -0.028579313308000565, 0.014344798400998116, 0.02578260749578476, 0.0002637936850078404, -0.03834725171327591, -0.04280773550271988, 0.03933999687433243, -0.013094584457576275, 0.005175627302378416, 0.06792880594730377, 0.03500962629914284, 0.012076524086296558, -0.027697699144482613, -0.026773110032081604, 0.0023045011330395937, -0.018561705946922302, 0.012345286086201668, 0.018232310190796852, -0.02464519441127777, 0.029690800234675407, -0.026496522128582, -0.03507151082158089, -0.015938980504870415, 0.007085397839546204, -0.027498720213770866, 0.048645421862602234, -0.002959915902465582, -0.030271433293819427, 0.013457055203616619, 0.01664370857179165, 0.05439778417348862, -0.026798183098435402, 0.01161088515073061, -0.00896068848669529, -0.036867234855890274, -0.013244575820863247, -0.025457873940467834, 0.019753670319914818, 0.007788977585732937, -0.03249547630548477, 0.006001741159707308, 0.052525732666254044, 0.005261521320790052, 0.004470730200409889, -0.04013660177588463, -0.001719765248708427, 6.952553908118547e-33, 0.0013341285521164536, -0.02786289155483246, -0.03967330977320671, -0.028475446626544, 0.025298897176980972, -0.04159095510840416, 0.0030349488370120525, 0.029050221666693687, -0.04506586492061615, 0.026504436507821083, 0.007577447220683098, 0.03956890478730202, -0.049546144902706146, 0.033842407166957855, 0.014872151426970959, -0.0314907431602478, 0.011966928839683533, -0.027539197355508804, 0.008380801416933537, -0.010942487977445126, 0.03815922513604164, -0.0019470421830192208, -0.004114769399166107, -0.0016953297890722752, -0.02167549356818199, 0.06096242740750313, -0.03641652688384056, 0.026193857192993164, 0.014128492213785648, 0.003078998299315572, -0.00029539476963691413, -0.004638376645743847, 0.0045371572487056255, -0.05170607194304466, -0.054603856056928635, 0.037454329431056976, -0.02483830787241459, -0.026047473773360252, 0.047436606138944626, 0.025926584377884865, 0.012119628489017487, -0.01785452477633953, 0.023746056482195854, 0.03559090197086334, 0.006862172391265631, -0.03140111267566681, 0.004173388704657555, -0.014662603847682476, 0.007236710283905268, -0.003680119989439845, 0.018940281122922897, -0.011198485270142555, -0.0005803083186037838, 0.004258548840880394, 0.030892476439476013, -0.036813054233789444, -0.03731678053736687, -0.01124783419072628, 0.01446524728089571, 0.005736504681408405, -0.019879061728715897, 0.003069488797336817, -0.011342004872858524, 0.009850929491221905, -0.021336708217859268, 0.0000291962696792325, -0.03813939541578293, -0.014078911393880844, 0.0187219325453043, -0.004323143977671862, -0.048649862408638, 0.022464942187070847, 0.007311839610338211, 0.02898840792477131, 0.0204167440533638, -0.04215037450194359, 0.01439396571367979, 0.03739716857671738, 0.034209251403808594, 0.004097796510905027, 0.014311607927083969, -0.027938630431890488, 0.02023765817284584, -0.030570443719625473, 0.001929841935634613, -0.011146307922899723, -0.004768688231706619, 0.00443242397159338, -0.04313446953892708, -0.036761797964572906, -0.01204290334135294, -0.02644035406410694, 0.035606205463409424, 0.03358162194490433, -0.0036357766948640347, -1.2675621441360363e-8, -0.037061698734760284, 0.05185701698064804, 0.00008141739817801863, -0.02972075529396534, 0.003485795808956027, 0.009471053257584572, -0.009687473997473717, -0.009860365651547909, 0.016329742968082428, -0.005714468192309141, 0.03278838098049164, -0.031943753361701965, 0.025585953146219254, 0.02317587286233902, -0.005538462195545435, -0.015595786273479462, -0.009489549323916435, -0.015920395031571388, 0.012311753816902637, -0.008232592605054379, 0.01114051602780819, 0.04419691115617752, -0.008534605614840984, -0.0063190641812980175, 0.08260266482830048, 0.016007212921977043, -0.0208071768283844, -0.06784361600875854, -0.016424473375082016, 0.026296105235815048, -0.0052039483562111855, 0.008634469471871853, -0.06595375388860703, 0.027059579268097878, 0.00948247779160738, -0.01679757982492447, 0.033246926963329315, -0.017350833863019943, 0.0217903945595026, 0.03427969291806221, 0.0144551582634449, 0.01727987267076969, -0.010770064778625965, -0.009474404156208038, 0.007945745252072811, 0.03767513111233711, 0.006431870628148317, -0.014267169870436192, -0.006259667221456766, -0.016209173947572708, -0.009980954229831696, -0.004617396276444197, -0.0008703452185727656, 0.011020151898264885, -0.007772275246679783, 0.010965592227876186, 0.015576119534671307, -0.04082533344626427, -0.038568370044231415, 0.01687474735081196, 0.028711846098303795, 0.0329434797167778, -0.015981953591108322, -0.020437337458133698 ]
aspnet-mvc-driving-partials-by-convention
https://markhneedham.com/blog/2009/02/21/aspnet-mvc-driving-partials-by-convention
false
2009-02-09 16:51:14
Quality is what I work for
[ "software-development" ]
[ "Software Development" ]
I've been reading the http://joelonsoftware.com/items/2009/01/31.html[transcript of Joel Spolsky/Jeff Atwood's podcast discussion on TDD/Quality] and related posts on the subject by http://blog.objectmentor.com/articles/2009/01/31/quality-doesnt-matter-that-much-jeff-and-joel[Uncle] http://blog.objectmentor.com/articles/2009/02/03/speed-kills[Bob] and http://xprogramming.com/blog/2009/02/01/quality-speed-tradeoff-youre-kidding-yourself/[Ron Jeffries] and while I guess it's fairly inevitable that I'm likely to side with the latter two, what I've realised is that I get the greatest enjoyment from my job when we are writing high quality software. Certainly delivering value to customers in a timely manner is important but if we're not producing something that we're proud to have written then I think we're doing ourselves and our customer a disservice. Taking shortcuts on quality in the short run might seem to give some immediate benefits but they don't tend to last very long and nearly every time I've taken a short cut on something I've come to regret it. Given this, however, what is it that high quality software means to me? * Code that adheres to the *principles of object orientation* so that when we have to make changes these can all be done in one place and without having to keep the context of loads of different classes in our head in order to make those changes. This means creating lots of small objects with single responsibilities and keeping behaviour and data in the same place just for starters. * Using the *language of the domain in our code* so that we don't have to translate between the language the business use and the language that exists in our code. It's amazing what a difference this makes and the amount of time we save by having everyone speak the same language. * Taking the time to think about *how the problem we are currently working on fits into the bigger picture* and coming up with a solution that not only solves the problems but doesn't have a negative impact in other places. There is nearly always more than one solution to every problem and taking the time to analyse each of the options and then choose the most appropriate one tends to result in a better outcome. * *Ensuring that we refactor our code* into a state that someone else on the team can easily understand what is going on without having to spend a lot of time delving into implementation details. Using extract method religiously is the best way I know for achieving this. Writing code that just works is not enough. * Writing *code that is well tested* so that we have a degree of confidence that it is actually going to work when we put it in production. Zero defects is the aim, but if at the least we can ensure that bugs aren't repeated then we are doing reasonably well. * *Favouring a simple solution* over a complex or clever one that is more difficult to understand. Writing simple code is much more difficult but when we aim for this the job of reading code becomes much easier and our team mates can understand what we're doing much more easily. * *Treating our tests or specifications with as much respect as we do the production code*. If they are to act as part of the documentation of the system then it is our duty to ensure they are in good shape. I'm sure there are more ways to assess quality but those are the ones that come immediately to mind. If we are achieving the above then I tend to feel a sense of satisfaction in the work I'm doing. If not then I start to wonder what we're doing wrong and try to find ways to get closer to my ideals where possible. In addition to the above, I think we should be constantly looking for ways to improve the work we are doing as well as our approach. *Never settle*.
null
null
[ 0.017508123070001602, 0.025810010731220245, -0.0037325117737054825, 0.05316006764769554, 0.08064676076173782, 0.030545849353075027, 0.029281947761774063, 0.04932062327861786, 0.02083246409893036, -0.0345187745988369, -0.03708067163825035, 0.023650264367461205, -0.04906603693962097, 0.0036916176322847605, -0.04554292559623718, 0.06374560296535492, 0.06748310476541519, -0.014261608943343163, 0.03207914158701897, 0.010180852375924587, 0.02895376645028591, 0.06144964322447777, 0.009972723200917244, 0.021531105041503906, 0.04123438894748688, 0.034612614661455154, 0.00998596753925085, 0.008296504616737366, -0.07987953722476959, -0.015104481019079685, 0.04119929298758507, -0.0067601618357002735, -0.002050922019407153, 0.0031509720720350742, 0.007748974021524191, -0.010809814557433128, -0.0023708269000053406, 0.030695676803588867, -0.0029484587721526623, 0.0005936890374869108, -0.04414301738142967, 0.0663553848862648, -0.00206821714527905, 0.0027196663431823254, -0.06804881244897842, 0.0008794267778284848, -0.04819268360733986, -0.00028795836260542274, -0.00775741133838892, -0.006472504232078791, -0.06865417957305908, 0.051403436809778214, -0.017695406451821327, 0.024554649367928505, -0.025064583867788315, 0.05105895921587944, 0.03518572822213173, -0.07817757874727249, -0.008436793461441994, -0.03323397785425186, 0.0032120225951075554, -0.021320020779967308, -0.006044831592589617, 0.02518349327147007, 0.04288505017757416, -0.0036664532963186502, 0.0003166683891322464, 0.037860676646232605, -0.036306485533714294, 0.01075426023453474, -0.013009325601160526, -0.00981957744807005, -0.012683278881013393, -0.020074114203453064, -0.0096328966319561, -0.038204122334718704, -0.0023530914913862944, 0.06243336945772171, -0.0024327689316123724, 0.03983756899833679, -0.015373146161437035, 0.028366435319185257, 0.015066394582390785, 0.03623547405004501, -0.015111960470676422, -0.03402061015367508, 0.015410499647259712, -0.00813800934702158, -0.045034345239400864, 0.05016640946269035, 0.02625509351491928, -0.04289117082953453, 0.03655127063393593, 0.029269877821207047, -0.0006201471551321447, 0.010304076597094536, 0.0253741592168808, 0.02255411259829998, -0.027078179642558098, -0.019309885799884796, -0.02337764948606491, -0.031696170568466187, 0.016556184738874435, -0.007118279114365578, -0.07978520542383194, -0.004512835294008255, -0.009851573966443539, -0.021415261551737785, -0.0006739114760421216, 0.010783563368022442, -0.027744952589273453, 0.034378353506326675, -0.021754764020442963, 0.011709244921803474, -0.06993970274925232, 0.060677748173475266, 0.006218344438821077, -0.0426454022526741, -0.017050648108124733, 0.01445704698562622, 0.041141096502542496, 0.020292703062295914, -0.026293713599443436, 0.07489361613988876, -0.0029128838796168566, 0.017042221501469612, -0.030849171802401543, 0.0528961718082428, -0.000047982510295696557, -0.05801508203148842, -0.013994685374200344, 0.04100484400987625, -0.03517625108361244, -0.009123983792960644, 0.006248174235224724, -0.035452958196401596, 0.020543277263641357, -0.014657541178166866, 0.019218437373638153, 0.043817341327667236, -0.0007716866093687713, -0.041341688483953476, 0.01806522347033024, 0.011931384913623333, 0.01990576833486557, -0.004994350019842386, 0.003917330410331488, -0.005124315153807402, -0.02848869003355503, -0.020843781530857086, 0.0102141248062253, 0.024671245366334915, 0.007117955945432186, -0.043801646679639816, 0.03617221862077713, 0.08477713167667389, 0.02059546485543251, 0.03729129955172539, -0.006785064470022917, 0.040517788380384445, 0.023572154343128204, 0.02753760851919651, -0.00839504599571228, 0.008442621678113937, 0.0060114008374512196, -0.0075163752771914005, 0.0007436368614435196, 0.050962697714567184, 0.0019255500519648194, -0.011125306598842144, -0.055409736931324005, -0.039659447968006134, 0.05315384641289711, -0.04305790364742279, -0.0293815266340971, 0.05147485062479973, 0.07343440502882004, 0.03084113635122776, 0.032874319702386856, -0.0008757210453040898, -0.07753030955791473, 0.01935664191842079, 0.010765026323497295, 0.0025730628985911608, 0.03718462958931923, -0.029909005388617516, 0.05987042561173439, 0.015336135402321815, -0.013117609545588493, 0.036858994513750076, -0.08549438416957855, -0.09089253097772598, -0.008116527460515499, -0.037993986159563065, 0.05352596566081047, -0.01755870133638382, -0.0021456570830196142, 0.06808128952980042, 0.018845055252313614, 0.05821191519498825, 0.038888733834028244, 0.011287922970950603, 0.012081383727490902, -0.043740835040807724, -0.01854347437620163, 0.04319365322589874, 0.047741927206516266, 0.0008151676738634706, -0.05715503171086311, 0.010836498811841011, -0.004299078602343798, -0.022008739411830902, 0.04595380648970604, -0.004507348407059908, 0.02555474452674389, 0.02803550846874714, 0.0703713595867157, -0.037186674773693085, 0.04978517070412636, -0.06527455896139145, -0.009222365915775299, -0.0006188070401549339, -0.02443632483482361, 0.02562871389091015, -0.011348503641784191, 0.11386003345251083, 0.05493355542421341, -0.0686793103814125, -0.05404049903154373, 0.021264102309942245, 0.010901287198066711, -0.03201904520392418, -0.01685944013297558, -0.024275366216897964, 0.013047776184976101, 0.025304803624749184, -0.06374893337488174, -0.017456768080592155, 0.020948776975274086, -0.02087993361055851, 0.0003705643175635487, 0.04715180769562721, -0.009254632517695427, 0.03593408316373825, 0.008138871751725674, 0.011309451423585415, -0.0088552450761199, -0.015032030642032623, -0.06213642656803131, 0.005575495306402445, 0.0064370580948889256, -0.01653493195772171, 0.06695631891489029, -0.021417975425720215, -0.029484836384654045, -0.04631086811423302, -0.032601553946733475, 0.010992636904120445, 0.04510452598333359, 0.07153496891260147, -0.005860238801687956, 0.06683685630559921, -0.010048069059848785, 0.04805952310562134, 0.00421570660546422, -0.05372614413499832, -0.0437597930431366, -0.03924858570098877, 0.0024863567668944597, 0.04496023803949356, -0.029871530830860138, 0.021372342482209206, 0.022679947316646576, 0.0026912761386483908, -0.01396276243031025, -0.010072910226881504, 0.028791774064302444, 0.0037658081855624914, -0.016768239438533783, -0.0300732534378767, -0.022481082007288933, 0.03504450246691704, -0.030330747365951538, -0.013162599876523018, 0.0018041545990854502, -0.07333984971046448, 0.050676651298999786, -0.07871074974536896, -0.04338299110531807, 0.009599575772881508, 0.012945793569087982, 0.029671162366867065, -0.0025112004950642586, 0.025858141481876373, 0.07522109895944595, 0.022680440917611122, 0.017557654529809952, -0.03252269700169563, 0.006357478443533182, 0.02698862925171852, 0.022256197407841682, 0.0022359939757734537, 0.02714078314602375, 0.02895224466919899, -0.008362368680536747, -0.049634259194135666, 0.039105456322431564, -0.03426656499505043, -0.2944748103618622, 0.018313471227884293, 0.006945692002773285, -0.05692499503493309, 0.018988799303770065, -0.004645001143217087, -0.0009571975679136813, -0.05140763521194458, -0.024238092824816704, 0.038610685616731644, -0.04127287492156029, -0.042643625289201736, -0.006325424183160067, 0.061610374599695206, 0.01637112721800804, 0.029031770303845406, 0.03003666177392006, -0.03549027070403099, -0.005898920353502035, 0.05482712388038635, -0.007986174896359444, -0.07704761624336243, 0.010325384326279163, 0.029464172199368477, 0.03099285438656807, 0.059194643050432205, -0.09253641963005066, 0.04050321504473686, -0.05243469029664993, -0.009169214405119419, -0.006051229313015938, 0.014426439069211483, 0.004834548104554415, -0.038097817450761795, 0.0009755956707522273, -0.020413406193256378, 0.02669060230255127, 0.007330518681555986, -0.009551160968840122, -0.00007077235204633325, -0.012825749814510345, -0.031194481998682022, -0.006779433693736792, 0.018651602789759636, 0.060013044625520706, 0.0006658916245214641, -0.0750821903347969, -0.021229002624750137, -0.033465318381786346, 0.07064065337181091, -0.03770865499973297, -0.035798437893390656, -0.0014071997720748186, 0.04692661762237549, -0.024916483089327812, -0.02939891628921032, 0.0066203828901052475, -0.023058654740452766, -0.03736841678619385, -0.026244113221764565, -0.011677628383040428, -0.008820620365440845, -0.010946462862193584, -0.03562169894576073, -0.004191041458398104, -0.05756448954343796, -0.06458532810211182, -0.003105181036517024, 0.05705823004245758, 0.029379231855273247, -0.02548317424952984, 0.04500754550099373, 0.006306394003331661, -0.09730139374732971, -0.0010681990534067154, -0.0019539042841643095, -0.01745520532131195, -0.0009904379257932305, 0.012730651535093784, 0.058477550745010376, -0.01766924373805523, -0.06455649435520172, 0.03187304362654686, -0.000600474129896611, 0.03238328546285629, -0.01326469425112009, 0.04985739663243294, 0.029472852125763893, -0.01889904774725437, -0.0011564220767468214, 0.08403026312589645, 0.0008219822775572538, -0.02603084035217762, -0.011684847995638847, 0.03281470015645027, 0.015027625486254692, 0.04156138002872467, -0.015563424676656723, 0.0008163864840753376, 0.02119736187160015, -0.02549208328127861, -0.06700640171766281, 0.035647571086883545, -0.02849455364048481, -0.01116878166794777, -0.01695632003247738, -0.046869538724422455, 0.020136913284659386, 0.045887291431427, 0.023413140326738358, -0.009802025742828846, -0.002970460569486022, 0.008258120156824589, -0.05248698219656944, -0.035108618438243866, -0.014566906727850437, -0.004866681061685085, 0.03368556126952171, -0.021447129547595978, -0.01777329109609127, -0.03932024538516998, 0.009857659228146076, -0.010853193700313568, 0.004372003022581339, -0.06533221900463104, -0.033701684325933456, -0.006756729446351528, -0.011231019161641598, 0.011495492421090603, 0.024821877479553223, -0.02491123229265213, 0.03895023092627525, 0.028885170817375183, -0.03157586231827736, 0.011458830907940865, -0.0196402408182621, -0.06328609585762024, -0.025545040145516396, 0.005954169202595949, 0.00566845154389739, 0.01683306135237217, 0.0052092974074184895, 0.007247174624353647, 0.022269250825047493, 0.04772154614329338, 0.008565478026866913, 0.024314844980835915, -0.03455211594700813, 0.02931084670126438, -0.0009680796647444367, 0.016082944348454475, -0.08756181597709656, 0.02432752586901188, -0.04639475792646408, -0.02913360297679901, -0.036474552005529404, 0.02154080756008625, -0.025705182924866676, -0.03232762590050697, -0.0069915493950247765, 0.021214140579104424, -0.051213473081588745, -0.06844546645879745, -0.03697178512811661, 0.054857246577739716, 0.06796348094940186, -0.023354362696409225, 0.01763361133635044, -0.013462360017001629, -0.02305801585316658, -0.0005069537437520921, 0.012595740146934986, -0.033341892063617706, -0.017306823283433914, 0.022593345493078232, -0.021583816036581993, -0.0073821465484797955, 0.003521527396515012, 0.051708418875932693, 0.02511923760175705, 0.008895985782146454, -0.04599414020776749, 0.01251023169606924, 0.014794380404055119, 0.04045550152659416, 0.009424244984984398, 0.011874700896441936, -0.0071639190427958965, -0.01942265033721924, -0.0296326931566, -0.0424279123544693, -0.01494118943810463, 0.007406715769320726, 0.048358380794525146, -0.04312198981642723, -0.0777115449309349, 0.06148488447070122, 0.008936590515077114, 0.0071526626124978065, -0.005813654977828264, -0.016981640830636024, 0.0024618457537144423, -0.029323263093829155, 0.011148137971758842, 0.053171027451753616, -0.05765780806541443, -0.010423848405480385, -0.009435443207621574, 0.009010582230985165, 0.019229700788855553, -0.01376655139029026, -0.041507869958877563, -0.0231686532497406, -0.0313260480761528, -0.007860199548304081, -0.07408787310123444, -0.023072553798556328, -0.019878484308719635, 0.0023811685387045145, -0.0037842809688299894, -0.02389933168888092, -0.024874232709407806, -0.018450019881129265, -0.0008108073961921036, -0.025664208456873894, 0.025464385747909546, -0.039003051817417145, 0.008202658966183662, 0.009477060288190842, -0.041592080146074295, -0.0002631974930409342, -0.018897226080298424, 0.022604679688811302, 0.04016387462615967, -0.016164211556315422, -0.01718839630484581, -0.014503776095807552, 0.017873546108603477, 0.007882890291512012, 0.02951692044734955, 0.0035631887149065733, -0.027875812724232674, -0.020696736872196198, 0.009711206890642643, -0.055524781346321106, 0.020087560638785362, -0.026444708928465843, -0.013074763119220734, 0.02716941572725773, 0.061871353536844254, 0.02293304167687893, 0.049337536096572876, -0.00027298941859044135, -0.01870335079729557, 0.043071143329143524, -0.08590919524431229, -0.0171393770724535, -0.03504912927746773, -0.06946438550949097, 0.0001266254112124443, -0.0005256635486148298, 0.018984297290444374, -0.028912747278809547, 0.05120917037129402, 0.029317675158381462, 0.04122764244675636, 0.04373392462730408, 0.016772441565990448, 0.03796892613172531, -0.0653991848230362, 0.015190048143267632, -0.07468430697917938, 0.003280112985521555, 0.04195324704051018, 0.034834228456020355, -0.002775440691038966, -0.018955988809466362, -0.030489470809698105, 0.03138452023267746, -0.06380496919155121, -0.020778290927410126, 0.024573255330324173, -0.0014771003043279052, -0.03331507369875908, 0.004334469325840473, -0.08099231868982315, 0.013757196255028248, 0.035406578332185745, -0.04852855205535889, -0.02092822641134262, -0.03150712326169014, 0.04255225136876106, 0.008990061469376087, 0.03781510889530182, -0.05403820425271988, -0.03178464248776436, 0.07256951183080673, 0.019723329693078995, 0.009487675502896309, 0.037819184362888336, -0.0006581636262126267, 0.02085825800895691, 0.0369790755212307, 0.005716427695006132, -0.019691595807671547, 0.01158631220459938, -0.0017400032375007868, -0.056498054414987564, 0.019585642963647842, 0.019279150292277336, -0.03483688086271286, -0.04003265127539635, 0.04818426072597504, 0.020982373505830765, -0.01962898299098015, -0.04382437467575073, 0.009914600290358067, -0.06422135978937149, 0.001932137063704431, -0.009037131443619728, -0.015708357095718384, -0.04532564803957939, 0.04940735176205635, -0.00536167761310935, 0.000333808216964826, 0.08132413029670715, 0.003190644783899188, -0.026810307055711746, -0.007581374607980251, 0.08206389844417572, 0.07428225129842758, 0.062439363449811935, -0.011403021402657032, 0.052863337099552155, -0.03513634204864502, -0.02641277387738228, 0.016361728310585022, -0.008534885942935944, -0.0054605938494205475, -0.023786485195159912, 0.004486662335693836, 0.04741369187831879, -0.012386554852128029, 0.05926146358251572, -0.03045758791267872, -0.015282836742699146, -0.015653233975172043, 0.028445083647966385, 0.02030775137245655, 0.07483475655317307, 0.009278347715735435, 0.005233586300164461, -0.015318244695663452, -0.04205111041665077, 0.014558356255292892, -0.04165062680840492, -0.021052271127700806, 0.018706807866692543, -0.011887469328939915, 0.03842688351869583, -0.0005749980336986482, 0.0289921797811985, 0.0798666775226593, -0.03829669579863548, 0.022451968863606453, -0.006841015536338091, 0.025021305307745934, -0.0122282225638628, 0.006598542910069227, -0.022440506145358086, -0.03925376757979393, -0.007338619790971279, -0.010926411487162113, -0.011149420402944088, -0.02580232173204422, -0.02037343941628933, 0.06431013345718384, -0.0023000603541731834, 0.01349599938839674, 0.047068167477846146, 0.010385420173406601, -0.025114942342042923, -0.06956576555967331, -0.03601856157183647, -0.03505159541964531, -0.03169941157102585, -0.023495523259043694, 0.019794730469584465, 0.015717381611466408, -0.03191940858960152, -0.013141617178916931, -0.018485762178897858, -0.0215306393802166, 0.06728329509496689, -0.060982879251241684, -0.020409729331731796, 0.01621091738343239, 0.010737479664385319, 0.021428389474749565, 0.02297525480389595, 0.03531504422426224, -0.009446544572710991, 0.0029466443229466677, -0.022084932774305344, 0.017986804246902466, 0.013129966333508492, 0.004065674263983965, 0.0038615029770880938, -0.08392991125583649, -0.0006344447028823197, 0.02674262784421444, -0.006422399543225765, -0.07173136621713638, 0.02308507263660431, 0.011218801140785217, -0.018086232244968414, 0.05539281666278839, -0.010157122276723385, 0.04101445525884628, -0.04258253797888756, 0.00634567067027092, -0.018962465226650238, 0.03662656247615814, 0.042998358607292175, -0.01088632084429264, 0.08133677393198013, 0.022682256996631622, -0.019209297373890877, -0.053826503455638885, 0.0039475420489907265, -0.006573474034667015, -0.00017704602214507759, 0.004288633354008198, -0.036465756595134735, -0.03033655323088169, -0.07522895932197571, -0.033310629427433014, 0.0036655322182923555, -0.03160075470805168, -0.02185712940990925, 0.02769027091562748, 0.023762229830026627, -0.03838746249675751, 0.02041563391685486, -0.0526156947016716, 0.046881549060344696, -0.002718901727348566, 0.002159862080588937, 0.008060143329203129, 0.002458301605656743, -0.0009259952348656952, -0.009158387780189514, 0.017595238983631134, -0.03445516899228096, 0.0115388548001647, 0.016295796260237694, 0.043597351759672165, 0.030289895832538605, 0.044317860156297684, -0.019895626232028008 ]
[ -0.10373270511627197, -0.0037551457062363625, -0.015402037650346756, -0.05865846574306488, 0.03524572774767876, -0.04718692600727081, -0.009047849103808403, 0.03428136929869652, -0.007019044831395149, -0.011167015880346298, -0.01677798666059971, 0.022201066836714745, 0.004566282033920288, -0.021436886861920357, 0.07769054174423218, 0.018705088645219803, 0.028767898678779602, -0.08391022682189941, 0.016862869262695312, -0.002204503631219268, 0.021562615409493446, -0.041420284658670425, -0.03163381665945053, -0.036607928574085236, 0.004172763787209988, 0.004758371971547604, 0.016095412895083427, -0.03991447016596794, 0.0009438724955543876, -0.1933574378490448, -0.029713738709688187, 0.020405447110533714, 0.062182437628507614, -0.03724341467022896, 0.012303742580115795, 0.04656460881233215, 0.019217470660805702, 0.0039669121615588665, -0.01627236418426037, 0.036654651165008545, 0.019813673570752144, 0.02164236642420292, -0.06034790724515915, -0.04871020466089249, 0.02126423269510269, -0.0026108589954674244, 0.013818539679050446, -0.030475040897727013, -0.010077232494950294, 0.0451824925839901, -0.08308905363082886, -0.01281594019383192, -0.03288475424051285, -0.026284607127308846, -0.002270427532494068, 0.028829654678702354, 0.023357698693871498, 0.09109371155500412, -0.009819384664297104, 0.014781382866203785, 0.01713314838707447, -0.032139815390110016, -0.1197357177734375, 0.0954480990767479, 0.023176874965429306, 0.06510291248559952, -0.04232751950621605, -0.011054863221943378, -0.060749541968107224, 0.08725903928279877, 0.0091645373031497, -0.025786511600017548, -0.0013801886234432459, 0.05413999781012535, 0.030223241075873375, -0.0010053669102489948, 0.01766369678080082, 0.021660806611180305, 0.010315428487956524, -0.04133015498518944, 0.002653831848874688, -0.01242863666266203, -0.020171480253338814, -0.02552216872572899, -0.048118893057107925, 0.018112076446413994, 0.0010614702478051186, 0.04823022335767746, 0.04294122755527496, 0.016325294971466064, 0.029366951435804367, -0.013271115720272064, 0.054245475679636, -0.00030690713902004063, -0.07412753999233246, -0.02499203383922577, -0.008209582418203354, 0.01054836343973875, -0.04871722683310509, 0.4406498074531555, -0.02312278188765049, -0.05255976691842079, 0.06608826667070389, 0.003238874254748225, 0.004044794011861086, 0.015548035502433777, 0.021974025294184685, -0.026279481127858162, 0.00966796837747097, -0.017232846468687057, 0.014913603663444519, 0.03293729946017265, 0.05693165585398674, -0.028783762827515602, 0.01389490719884634, 0.029374532401561737, 0.01774797961115837, 0.015029973350465298, 0.032006505876779556, -0.025021864101290703, -0.017004596069455147, 0.022182399407029152, 0.021888503804802895, -0.007725731935352087, -0.027534762397408485, -0.06542105972766876, 0.054923005402088165, 0.06178811937570572, 0.009216579608619213, 0.012828769162297249, 0.048111967742443085, -0.030877629294991493, -0.052460141479969025, 0.015747195109725, 0.016227584332227707, 0.002345885382965207, 0.013098936527967453, -0.02235259860754013, -0.00010141294478671625, 0.06165746599435806, -0.0012542572803795338, 0.005318833980709314, -0.01749495603144169, -0.020005472004413605, -0.03346822410821915, 0.11580698192119598, 0.03427606448531151, -0.03434104099869728, -0.03214215487241745, -0.05763072893023491, 0.01424026396125555, 0.03692067414522171, 0.030116163194179535, -0.05074184387922287, 0.03741232678294182, 0.01218046247959137, 0.10838685184717178, -0.04109589755535126, -0.06896112859249115, -0.016942450776696205, -0.0034515755251049995, -0.009222611784934998, -0.040089160203933716, 0.03164181485772133, 0.04892949387431145, -0.10482790321111679, -0.01606152579188347, 0.0037797854747623205, 0.05336686596274376, -0.052557844668626785, -0.026268120855093002, 0.0011469838209450245, -0.04741407930850983, 0.0036062756553292274, 0.06288129091262817, -0.04742901399731636, -0.04979803040623665, 0.029408764094114304, 0.04477278143167496, 0.012415705248713493, 0.04266155883669853, 0.015880456194281578, -0.03621263802051544, 0.007731058169156313, -0.021139679476618767, -0.07064947485923767, -0.029926348477602005, -0.006395681295543909, -0.025805752724409103, 0.00013451515405904502, -0.011208604089915752, -0.011306283995509148, -0.07750064879655838, 0.08620107918977737, -0.04221215471625328, -0.026366155594587326, 0.018539834767580032, 0.015046476386487484, -0.039779990911483765, -0.023185094818472862, -0.055257972329854965, 0.011902096681296825, -0.037008136510849, 0.022747782990336418, -0.04815959557890892, 0.04945390298962593, 0.03527876362204552, -0.04851691424846649, 0.08313144743442535, 0.0610593818128109, -0.03763628378510475, -0.039106905460357666, 0.03149152919650078, 0.04006144404411316, 0.0011133867083117366, -0.032826073467731476, 0.012315962463617325, 0.04561106115579605, -0.019058970734477043, 0.0315331295132637, -0.05806121602654457, 0.031821973621845245, -0.04348291456699371, -0.35459062457084656, -0.007310320623219013, -0.028311461210250854, 0.0049649570137262344, 0.023377524688839912, -0.043554265052080154, 0.003057197667658329, 0.007021451368927956, -0.003101854119449854, 0.021130871027708054, 0.07662918418645859, -0.04169237241148949, 0.0066626593470573425, -0.09327148646116257, -0.0050542219541966915, 0.00592008326202631, -0.04042050242424011, -0.019904710352420807, -0.03772222250699997, -0.005831563845276833, 0.004974080249667168, 0.006364963483065367, -0.007287101820111275, -0.07739575952291489, -0.017573928460478783, -0.06139759719371796, 0.07426224648952484, -0.014740054495632648, 0.09985954314470291, -0.014907214790582657, 0.027255363762378693, -0.014397596009075642, 0.03874213621020317, -0.11946304142475128, 0.008350573480129242, 0.0212920643389225, 0.029421936720609665, -0.014355331659317017, 0.009895186871290207, -0.028775155544281006, -0.04923290014266968, 0.024678872898221016, -0.07140425592660904, -0.05940772965550423, -0.08410224318504333, -0.01023739855736494, -0.030083848163485527, -0.03792821615934372, -0.036953892558813095, 0.06693989038467407, 0.0008406830602325499, 0.0080823739990592, 0.013938137330114841, 0.016594262793660164, -0.01251356489956379, -0.05465884506702423, -0.08020028471946716, 0.025786342099308968, 0.010246150195598602, -0.0027671433053910732, 0.04317246004939079, 0.03318796679377556, 0.033494237810373306, -0.04578704759478569, 0.007826227694749832, 0.0008671599207445979, 0.023326847702264786, 0.011739580892026424, 0.05821067839860916, -0.0071096220053732395, -0.012226342223584652, 0.08983996510505676, -0.013800084590911865, -0.02869655005633831, 0.022655168548226357, 0.033240050077438354, -0.00985668133944273, 0.03244731202721596, 0.011290847323834896, -0.03771017864346504, 0.02378923073410988, 0.007680686190724373, 0.03477685526013374, -0.020047716796398163, 0.004590629134327173, 0.017329851165413857, 0.0022498355247080326, -0.045326631516218185, 0.051426395773887634, 0.027507586404681206, -0.03327912837266922, 0.003894397057592869, -0.012487263418734074, -0.07215914875268936, 0.07184548676013947, 0.002646485809236765, -0.22950607538223267, -0.0023744595237076283, 0.04883480444550514, 0.02512788586318493, -0.010545257478952408, 0.06735771894454956, 0.028278300538659096, -0.05873406305909157, 0.02292383648455143, 0.021607384085655212, 0.02071860432624817, 0.030786028131842613, 0.0038100043311715126, -0.0043731085024774075, 0.06101718544960022, 0.00971695315092802, 0.07294998317956924, 0.005394636187702417, 0.0256644394248724, 0.006340924650430679, 0.015369565226137638, 0.007796063087880611, 0.1502506285905838, -0.002220734255388379, 0.029351698234677315, 0.004702952224761248, 0.0011358464835211635, 0.014796623028814793, 0.07353714853525162, 0.005039629526436329, 0.009829635731875896, 0.0002124572201864794, 0.04816115275025368, 0.015547111630439758, -0.0005467689479701221, -0.05926692113280296, -0.032475363463163376, 0.013250075280666351, 0.02563541941344738, 0.01390114612877369, 0.0176670141518116, 0.0008415549527853727, -0.005844610743224621, 0.024767473340034485, 0.054783351719379425, 0.00006692565511912107, -0.019689492881298065, -0.02977018617093563, -0.03592665493488312, -0.026702189818024635, -0.042032379657030106, -0.03104461543262005, 0.017313096672296524, 0.0007412502309307456, 0.009359818883240223, 0.050396211445331573, 0.020918047055602074, -0.008498935028910637, -0.0077389441430568695, 0.01807558536529541, -0.011825855821371078, -0.04436690732836723, 0.0793265551328659, 0.06879103183746338, 0.04123370721936226 ]
[ -0.0024203015491366386, -0.0032394896261394024, 0.003633009037002921, -0.018163857981562614, -0.003376664826646447, -0.009618183597922325, 0.0010807329090312123, 0.021391872316598892, -0.020305536687374115, 0.005094745196402073, -0.0039223190397024155, 0.030528394505381584, 0.006865855306386948, -0.03253185749053955, 0.04726755619049072, 0.0016020166222006083, 0.00682986481115222, 0.00008873079059412703, 0.012859792448580265, 0.002183159114792943, -0.008052926510572433, 0.015071826055645943, -0.014175803400576115, 0.007447242736816406, -0.03904377669095993, 0.014162657782435417, -0.008984898217022419, -0.025663211941719055, 0.030580999329686165, -0.14181417226791382, -0.005739873740822077, -0.01279935147613287, 0.009954972192645073, 0.0033671767450869083, 0.0008072431664913893, 0.010342307388782501, 0.019509736448526382, -0.03099164552986622, 0.0050742304883897305, -0.008566322736442089, 0.007926130667328835, -0.011523446068167686, -0.014503851532936096, -0.002539728069677949, -0.006232420913875103, -0.01002796646207571, -0.0032802163623273373, -0.03822119161486626, -0.02728254161775112, -0.03554953262209892, -0.05261550471186638, -0.009014562703669071, -0.014354772865772247, -0.015339278616011143, 0.006824778392910957, -0.0040458813309669495, 0.01843167468905449, 0.009964535012841225, -0.0006566873635165393, -0.010858082212507725, -0.005999012850224972, -0.022921280935406685, -0.030926138162612915, -0.006307858042418957, -0.0076753804460167885, -0.006604634691029787, 0.010087496601045132, 0.0065593901090323925, -0.05394172668457031, 0.027392491698265076, -0.017247319221496582, 0.02407831884920597, -0.013822069391608238, 0.014470558613538742, 0.008226429112255573, -0.01595914736390114, 0.016948571428656578, -0.030937334522604942, 0.00046377957914955914, -0.03792602941393852, -0.02318674325942993, 0.019347531720995903, 0.0025243530981242657, -0.0027378348167985678, -0.005627370439469814, -0.010743625462055206, 0.02876916714012623, -0.01756061613559723, 0.010699969716370106, 0.006924758665263653, -0.02303069829940796, 0.011047029867768288, 0.0008569892961531878, -0.007039136718958616, -0.09279906749725342, -0.010712281800806522, 0.005932939238846302, -0.02640644460916519, -0.015892013907432556, 0.8834365010261536, 0.012744976207613945, 0.018354644998908043, 0.027900315821170807, -0.012874467298388481, 0.012747564353048801, 0.006649719085544348, 0.0016686409944668412, 0.024971408769488335, -0.0025040055625140667, -0.03157518431544304, -0.01272398792207241, 0.024609124287962914, 0.023702098056674004, -0.0031100029591470957, 0.0030503980815410614, 0.007866635918617249, 0.015933919697999954, -0.008760013617575169, 0.005276203621178865, 0.0026906162966042757, 0.017438407987356186, -0.0027704238891601562, -0.019109956920146942, 0.01266555767506361, 0.008068817667663097, -0.16271501779556274, 0.025210663676261902, -8.854393565153618e-33, 0.03637482225894928, 0.0035374832805246115, -0.01767995022237301, -0.0016586548881605268, 0.024039385840296745, 0.0024323377292603254, 0.0374995581805706, 0.02695591188967228, -0.016337797045707703, -0.021142413839697838, 0.0002684411592781544, -0.01184827834367752, -0.021916015073657036, -0.009836506098508835, 0.031327590346336365, -0.006635671481490135, -0.012781599536538124, 0.04202185943722725, -0.004046725574880838, 0.019621774554252625, 0.02690182998776436, 0.0163925401866436, -0.005395785439759493, 0.010602632537484169, 0.032618213444948196, 0.015298744663596153, 0.02072610892355442, -0.004226898308843374, -0.019846001639962196, -0.04434051364660263, -0.029803955927491188, 0.026521556079387665, -0.015790579840540886, -0.014115409925580025, 0.009456520900130272, -0.03931530565023422, -0.008690549992024899, 0.0023302091285586357, -0.024168044328689575, -0.02336173690855503, -0.03285207226872444, -0.000006333871169772465, -0.052689965814352036, 0.00502238143235445, -0.028915615752339363, 0.012317064218223095, 0.001752089592628181, 0.0007244631415233016, 0.01144304871559143, 0.012443176470696926, 0.03075750730931759, 0.004030828829854727, 0.002915783319622278, 0.023389222100377083, -0.019656125456094742, 0.0017136747483164072, 0.006987785454839468, -0.005461996421217918, -0.006024911068379879, 0.0300629660487175, 0.021416638046503067, -0.01027464959770441, -0.01477755792438984, 0.02730528451502323, 0.009817187674343586, -0.015542348846793175, 0.04484063386917114, 0.01258181594312191, 0.03367297351360321, -0.03206436336040497, -0.04595581442117691, -0.013873457908630371, -0.0077962446957826614, -0.001656066277064383, 0.016052039340138435, -0.009558187797665596, -0.016711272299289703, -0.010664294473826885, 0.0013221061090007424, 0.03517163544893265, -0.0019704201258718967, 0.01372008491307497, -0.00368220591917634, -0.04746335372328758, -0.007760110776871443, 0.00039270761772058904, 0.02408781833946705, -0.009058318100869656, -0.01462484523653984, 0.0004619769752025604, 0.025065192952752113, 0.013730201870203018, 0.005296568386256695, -0.002606499707326293, -0.0074111102148890495, 8.518739969483945e-33, -0.0177136342972517, -0.021867796778678894, -0.01150675117969513, 0.03475727140903473, -0.014307132922112942, 0.00719110481441021, 0.027117112651467323, 0.023697244003415108, -0.04389520362019539, 0.02678106166422367, -0.021519022062420845, -0.023190714418888092, -0.021574582904577255, 0.01201468612998724, 0.042522259056568146, -0.03404982015490532, 0.021716872230172157, -0.03836922347545624, 0.025435935705900192, 0.011755472049117088, 0.02599712461233139, 0.01208581030368805, -0.001901561627164483, 0.00727795111015439, 0.015066094696521759, 0.05864470452070236, -0.039028238505125046, 0.009133385494351387, -0.013091065920889378, 0.004723355174064636, 0.005068059545010328, -0.00846082717180252, 0.009549515321850777, -0.017997141927480698, -0.02794484980404377, 0.015332935377955437, -0.0131386024877429, -0.006999138742685318, 0.012631290592253208, 0.004595824982970953, 0.04336940497159958, -0.02363736182451248, 0.007589608430862427, 0.045034315437078476, 0.0017275220016017556, -0.006498302798718214, -0.009328393265604973, -0.02733413316309452, 0.0014600112335756421, 0.02048582024872303, -0.005036221817135811, -0.004697012715041637, 0.026794368401169777, 0.022589966654777527, -0.01165853627026081, -0.02738928236067295, -0.03808121755719185, -0.007417319808155298, -0.0028181015513837337, 0.024845141917467117, -0.012772212736308575, 0.019151082262396812, -0.029632337391376495, 0.02346808835864067, -0.016405783593654633, -0.01579381711781025, 0.025529388338327408, 0.007775693666189909, -0.001550972112454474, -0.028416313230991364, -0.017097532749176025, 0.016882343217730522, 0.0022052715066820383, 0.04675564914941788, 0.0013628472806885839, -0.02433062717318535, -0.02460978552699089, 0.006388009991496801, -0.038100890815258026, 0.02677842043340206, 0.02248627319931984, 0.007465413771569729, 0.01586780697107315, 0.002590694697573781, -0.039896853268146515, 0.022075925022363663, -0.012232370674610138, 0.005929029546678066, -0.007200110703706741, -0.01431317813694477, -0.017136361449956894, 0.002693138550966978, -0.0013724846066907048, 0.0034212626051157713, -0.014392958953976631, -1.4184193375399445e-8, -0.023089954629540443, 0.020938988775014877, -0.014292942360043526, 0.012584289535880089, 0.02450224943459034, -0.0005906418664380908, -0.025258244946599007, 0.03428882360458374, -0.015437417663633823, 0.02064400538802147, 0.03237241879105568, -0.03620839864015579, -0.030630705878138542, 0.03196334466338158, 0.0223158597946167, -0.032959822565317154, -0.017756564542651176, 0.004855093080550432, 0.025480171665549278, 0.02827310375869274, 0.037253908812999725, 0.05414837226271629, 0.014718892984092236, 0.008131271228194237, 0.010609728284180164, -0.002851260593160987, 0.02118798717856407, -0.07080866396427155, 0.015027345158159733, 0.003715160768479109, -0.005308095831423998, -0.014517907053232193, -0.038049399852752686, 0.030279874801635742, -0.005440135020762682, -0.028708675876259804, 0.008473643101751804, 0.03084971196949482, 0.01171061024069786, 0.008537821471691132, -0.005385167431086302, 0.027927976101636887, -0.01739826425909996, -0.02951967716217041, -0.010108222253620625, 0.01622910425066948, -0.031092535704374313, -0.01920006237924099, 0.021243983879685402, -0.026380253955721855, -0.005352464504539967, 0.0010387608781456947, 0.021426750347018242, 0.02772490866482258, -0.00014260568423196673, -0.008369515649974346, 0.00920076947659254, -0.024136433377861977, -0.025516577064990997, 0.004723686259239912, 0.005619535688310862, 0.03154229745268822, -0.0048032840713858604, -0.012675304897129536 ]
quality-is-what-i-work-for
https://markhneedham.com/blog/2009/02/09/quality-is-what-i-work-for
false
2009-02-09 16:52:10
OOP: What does an object's responsibility entail?
[ "oop" ]
[ "OOP" ]
One of the interesting discussions I've been having recently with some colleagues is around where the responsibility lies for describing the representation of an object when it is to be used in another bounded context - e.g. on the user interface or in a call to another system. I believe that an object should be responsible for deciding how its data is used rather than having another object reach into it, retrieve its data and then decide what to do with it. Therefore if we had an object Foo whose data was needed for a service call to another system my favoured approach would be for Foo to populate the FooMessage with the required data. [source,csharp] ---- public class Foo { private string bar; public Foo(string bar) { this.bar = bar; } public void Populate(IFooMessage fooMessage) { fooMessage.Bar = bar; } } ---- [source,csharp] ---- public interface IFooMessage { string Bar { get; set; } } ---- [source,csharp] ---- public class FooMessage : IFooMessage { public string Bar { get; set; } } ---- The advantage of this approach is that Foo has kept control over its internal data, encapsulation has been preserved. Although we could just expose 'Bar' and make it possible to build the FooMessage from somewhere else, this violates Tell Don't Ask and opens up the possibility that Foo's internal data could be used elsewhere in the system outside of its control. The question to be answered is *whether or not it should be Foo's responsibility to generate a representation of itself*. In discussion about this it was suggested that Foo has more than one responsibility if we design the class as I have. Uncle Bob's definition of the Single Responsibility Principle (SRP) in Agile Software Development: Principles, Patterns and Principles describes it thus: ____ A class should have only one reason to change. ____ In this example Foo would need to change if there was a change to the way that it needed to be represented as an IFooMessage as well as for other changes not related to messaging. Foo is not dependent on a concrete class though, only an interface definition, so the coupling isn't as tight as it might be. It might just be my interpretation of SRP but it seems like there is a trade off to be made between ensuring encapsulation and SRP in this instance. The other way to create a FooMessage is to *create a mapper class* which takes the data out of the Foo class and then creates the FooMessage for us. We might end up with something like this: [source,csharp] ---- public class FooMapper { public FooMessage ConvertToMessage(Foo foo) { return new FooMessage { Bar = foo.Bar; } } } ---- Whereby Foo needs to expose Bar as a property in order to allow this mapping to be done. This is somewhat similar to the way that NHibernate handles the persistence and loading of objects for us - unless we use the Active Record pattern an object is not responsible for saving/loading itself. What I don't like about this approach is that it doesn't strike me as being particularly object oriented - in fact the mapper class would be an example of an http://jupitermoonbeam.blogspot.com/2008/09/agent-nouns-are-code-smells.html[agent noun class]. A cleaner solution which allows us to keep encapsulation in tact would be to make use of reflection to build the FooMessage from our mapper, probably by creating private properties on Foo as they are easier to reflect on than fields. The downside to the reflection approach is that code written in this way is probably more difficult to understand. I know I've oversimplified the problem with my example but ignoring that, where should this type of code go or do we choose to make a trade off between the two approaches and pick which one best suits our situation?
null
null
[ -0.0057924105785787106, 0.0030233252327889204, -0.041265252977609634, 0.030489515513181686, 0.08033829927444458, 0.00590494042262435, 0.02321990206837654, 0.006020353641360998, -0.0058445860631763935, -0.02354193665087223, -0.018880046904087067, 0.015611130744218826, -0.07158709317445755, 0.030977599322795868, -0.027388425543904305, 0.06696735322475433, 0.07997799664735794, -0.004103679675608873, 0.01690918579697609, 0.0038931453600525856, 0.006057986058294773, 0.06789495050907135, -0.015196583233773708, 0.04143358767032623, 0.030055809766054153, 0.03644705191254616, -0.0025956514291465282, 0.016339639201760292, -0.04991980269551277, 0.006338974926620722, 0.026197079569101334, 0.017120148986577988, -0.022669129073619843, 0.010621795430779457, 0.009388466365635395, -0.05471301078796387, -0.002332140691578388, 0.0032417820766568184, 0.00005415737905423157, 0.019062908366322517, -0.0658387839794159, 0.037979528307914734, -0.02063162252306938, -0.032373785972595215, -0.03669000044465065, -0.018582148477435112, -0.04025540128350258, 0.007069442421197891, -0.023737264797091484, -0.004363880958408117, -0.0661889910697937, 0.01895296946167946, -0.0462009496986866, 0.010081889107823372, -0.0032760449685156345, 0.03218887746334076, 0.008386495523154736, -0.08524154871702194, 0.004708994645625353, -0.07560865581035614, -0.010088504292070866, -0.014382868073880672, 0.005975091829895973, 0.01646539755165577, 0.023453183472156525, -0.000431728403782472, -0.01928538642823696, 0.026906568557024002, -0.04346947744488716, -0.009627586230635643, -0.036670781672000885, -0.016369367018342018, -0.007604384329169989, -0.012620141729712486, -0.010284800082445145, -0.05078207701444626, -0.001102475798688829, 0.05090445280075073, -0.008120440877974033, 0.04773121699690819, -0.0021414607763290405, 0.03358827903866768, 0.017732085660099983, -0.007133485283702612, 0.01403330359607935, -0.05922180786728859, -0.0195955540984869, -0.0016064493684098125, -0.027353478595614433, 0.062535360455513, 0.02376445010304451, -0.04396053031086922, -0.005481815431267023, 0.0396701917052269, -0.004576733335852623, 0.003193699289113283, 0.010546865873038769, 0.0007327591883949935, -0.002505031181499362, -0.0012773062335327268, -0.03513488918542862, 0.0010073153534904122, 0.022074652835726738, 0.02830507606267929, -0.07542101293802261, -0.008709578774869442, -0.03020787611603737, -0.03180314972996712, -0.011902973055839539, 0.012020948342978954, -0.039099760353565216, 0.0034145803656429052, -0.019714774563908577, -0.016033343970775604, -0.058549705892801285, 0.05442492663860321, 0.026628481224179268, -0.01873661018908024, 0.015895919874310493, 0.01869235746562481, 0.040445808321237564, 0.027781371027231216, -0.0072615062817931175, 0.06756303459405899, 0.010019905865192413, 0.012983918190002441, -0.02127119153738022, 0.07706606388092041, -0.01383346039801836, -0.08359003067016602, -0.007999393157660961, 0.048797328025102615, -0.014399731531739235, -0.009692976251244545, 0.008626021444797516, -0.02095106989145279, 0.01036024373024702, -0.0032830850686877966, 0.022522440180182457, 0.03603919595479965, -0.03373181074857712, -0.03658638149499893, 0.0159782562404871, -0.001852621790021658, 0.025923024863004684, 0.010070155374705791, 0.007914597168564796, -0.01700233295559883, -0.029482999816536903, 0.035925716161727905, 0.02429339662194252, 0.05301731452345848, 0.052035681903362274, -0.034992437809705734, 0.016281448304653168, 0.0650617778301239, 0.0009675744222477078, 0.02815205603837967, 0.0041305809281766415, 0.032187022268772125, 0.03618216887116432, 0.018933238461613655, 0.021656686440110207, 0.016274482011795044, 0.026392854750156403, 0.003683768678456545, -0.0002793993044178933, 0.032132141292095184, 0.008641153573989868, -0.02756340801715851, -0.07885284721851349, -0.07281768321990967, 0.04290580004453659, -0.05565608665347099, -0.0060029965825378895, 0.042029716074466705, 0.0762840211391449, 0.021175263449549675, 0.05601605027914047, -0.01181905996054411, -0.07568515092134476, -0.004111250396817923, 0.004487680271267891, 0.00620976323261857, 0.014189465902745724, 0.007027780171483755, 0.04847072809934616, 0.022932225838303566, -0.025812560692429543, 0.014161237515509129, -0.07506690174341202, -0.05774202570319176, -0.018089938908815384, -0.002886975882574916, 0.05532648786902428, -0.04968677833676338, -0.029506398364901543, 0.08899933099746704, 0.017154734581708908, 0.039636362344026566, 0.025464922189712524, 0.01046725269407034, -0.006302386522293091, -0.01917923241853714, -0.031915802508592606, 0.0392008051276207, 0.03314182162284851, 0.025294233113527298, -0.06087746471166611, 0.010461369529366493, -0.023638911545276642, -0.002334959339350462, 0.03767234832048416, -0.03391600400209427, 0.04660790413618088, -0.031187262386083603, 0.025609582662582397, -0.03404611721634865, 0.04714338853955269, -0.06890682131052017, 0.0020085449796169996, -0.011290479451417923, -0.012557895854115486, 0.014813834801316261, -0.021639911457896233, 0.11857838928699493, 0.05326830968260765, 0.00011786136747105047, -0.055667728185653687, 0.03442132845520973, 0.03881681710481644, -0.040517523884773254, -0.0076803769916296005, -0.013196080923080444, 0.020191200077533722, 0.02638166770339012, -0.05112529918551445, 0.013244603760540485, 0.012354528531432152, -0.036384217441082, 0.024318242445588112, 0.0839589387178421, -0.029350396245718002, 0.05259253457188606, -0.006176784634590149, -0.015258057042956352, -0.004594696685671806, -0.034893475472927094, -0.06157155707478523, -0.00019120684009976685, 0.0024494410026818514, -0.006943691987544298, 0.06476074457168579, -0.025124473497271538, -0.017087804153561592, -0.024560319259762764, -0.0336790531873703, 0.030924564227461815, 0.03456549346446991, 0.05617236718535423, 0.006631128955632448, 0.05809881538152695, -0.02929663471877575, 0.01898880861699581, -0.026255283504724503, -0.03558720648288727, 0.02110469713807106, 0.007136758882552385, 0.014512821100652218, 0.032209016382694244, 0.01376811321824789, -0.014270620420575142, 0.028002917766571045, 0.020049452781677246, -0.020723098888993263, 0.0065251300111413, 0.023648666217923164, -0.01393269281834364, -0.020575303584337234, -0.017783647403120995, -0.02192717045545578, 0.044132083654403687, -0.03616871312260628, -0.02811613120138645, 0.029440682381391525, -0.07771190255880356, 0.04376998543739319, -0.07392936199903488, -0.06719326227903366, -0.01230579987168312, 0.03591688349843025, 0.017159121111035347, 0.017342068254947662, 0.010474569164216518, 0.07257956266403198, 0.04011853039264679, 0.0012223850935697556, -0.004439107608050108, 0.021760432049632072, 0.007698340341448784, -0.012273956090211868, -0.005228833295404911, 0.035010043531656265, -0.011667253449559212, -0.004153381567448378, -0.049594197422266006, 0.04798787459731102, 0.0061949691735208035, -0.2799214720726013, 0.006715464871376753, 0.004076487850397825, -0.03300636634230614, 0.0252409465610981, 0.00714743509888649, 0.04302110895514488, -0.058759160339832306, -0.019915293902158737, 0.03873801976442337, -0.023243684321641922, -0.05715849995613098, 0.014670037664473057, 0.05303816869854927, 0.017330944538116455, 0.014573900029063225, 0.020047025755047798, -0.045776285231113434, 0.007086478639394045, 0.03472653031349182, -0.009508172050118446, -0.06800632178783417, 0.003047486301511526, 0.03081640601158142, 0.030633985996246338, 0.028593294322490692, -0.08529309928417206, 0.056556254625320435, -0.02774583362042904, -0.0037347476463764906, -0.003031692700460553, -0.00938773900270462, 0.0018539347220212221, -0.04356396570801735, -0.018153537064790726, -0.029543079435825348, 0.021904196590185165, 0.04163811355829239, -0.015772677958011627, 0.009968379512429237, -0.026156725361943245, -0.06423963606357574, -0.019875172525644302, 0.019345764070749283, 0.06231525540351868, 0.0042681316845119, -0.06614216417074203, -0.014606887474656105, -0.06089314445853233, 0.07914460450410843, -0.03213230147957802, -0.039793580770492554, 0.004195991437882185, 0.03380781412124634, -0.01950244978070259, -0.013662413693964481, -0.0005504534346982837, -0.004782556556165218, -0.058186791837215424, -0.03371354937553406, 0.0010861513437703252, -0.05013006553053856, -0.028759505599737167, -0.04022075980901718, -0.014699975028634071, -0.06261050701141357, -0.08605949580669403, 0.002915354212746024, 0.05696013569831848, 0.02243175357580185, -0.018190791830420494, 0.005989928729832172, 0.0022959820926189423, -0.11955250799655914, 0.018336061388254166, -0.048783864825963974, -0.025736888870596886, -0.04184741526842117, 0.006607119459658861, 0.04412475600838661, -0.0028976460453122854, -0.03888677433133125, 0.012060984037816525, 0.021223017945885658, 0.006434155628085136, 0.002433932153508067, 0.058457888662815094, 0.005638560745865107, -0.035530705004930496, 0.008022863417863846, 0.06896617263555527, 0.005274403840303421, -0.019308604300022125, -0.00939683336764574, 0.005563884973526001, 0.01669599860906601, 0.026085633784532547, -0.03960500657558441, 0.014801605604588985, 0.018637564033269882, 0.033100590109825134, -0.053921766579151154, 0.008729681372642517, -0.020901646465063095, -0.0163753479719162, -0.029746709391474724, -0.06691356003284454, 0.0227062851190567, 0.03739413991570473, 0.01758323796093464, 0.014142202213406563, -0.02920645661652088, 0.012762486934661865, -0.0782301276922226, -0.04094552993774414, -0.02224029414355755, -0.007540090475231409, 0.029282649978995323, -0.008435903117060661, -0.030233368277549744, -0.02314223162829876, 0.03708568215370178, 0.011310318484902382, 0.013750423677265644, -0.07923530787229538, -0.03632143884897232, -0.009936860762536526, -0.00502750976011157, -0.022038554772734642, 0.029310619458556175, -0.015286901965737343, 0.0203709714114666, 0.019611960276961327, -0.04723485931754112, 0.0294632725417614, 0.018403926864266396, -0.03357627987861633, -0.02703077159821987, -0.022438380867242813, -0.021273665130138397, 0.0031902617774903774, -0.009865985251963139, 0.027647685259580612, 0.007699109613895416, 0.06798680126667023, 0.0042590429075062275, 0.022015344351530075, 0.018993182107806206, 0.015358036383986473, 0.00700053945183754, 0.012158738449215889, -0.09058602154254913, 0.020571695640683174, -0.02708958461880684, -0.03307920694351196, -0.0456366166472435, 0.01568394899368286, -0.03530295193195343, -0.020946906879544258, -0.009711026214063168, 0.01958753727376461, -0.05186793953180313, -0.02453918196260929, -0.04749298840761185, 0.006111592520028353, 0.07988020777702332, -0.038963086903095245, 0.01740160770714283, -0.022927159443497658, -0.024862363934516907, 0.01836765557527542, -0.003557300427928567, -0.039663076400756836, 0.029568830505013466, 0.0009473846293985844, 0.0035375512670725584, 0.013088061474263668, 0.009012763388454914, 0.05651678517460823, 0.017729297280311584, 0.01797107420861721, -0.014563786797225475, 0.014525200240314007, -0.001698050182312727, 0.05613070726394653, 0.024321844801306725, 0.012653812766075134, -0.0063790855929255486, -0.008458757773041725, -0.03389832377433777, -0.031884465366601944, -0.004318296909332275, -0.02574346959590912, 0.04277731850743294, -0.05141517147421837, -0.07488365471363068, 0.028085393831133842, 0.002891149139031768, 0.03651515021920204, -0.007293356582522392, 0.006690595764666796, 0.016423014923930168, -0.0280365739017725, 0.02770516648888588, 0.021968679502606392, -0.040547579526901245, 0.026261283084750175, 0.010226274840533733, 0.004957940895110369, 0.03788406401872635, 0.005909076891839504, -0.02255490981042385, 0.0016783634200692177, -0.006400942336767912, 0.0002808398276101798, -0.0708681270480156, -0.022657908499240875, -0.023475708439946175, -0.008833630941808224, 0.0037393649108707905, -0.01670355349779129, -0.023827679455280304, 0.0033061655703932047, -0.012230385094881058, -0.024806927889585495, 0.018868552520871162, -0.017158277332782745, 0.005599197931587696, 0.04642260819673538, -0.031480710953474045, -0.013255828991532326, -0.012268236838281155, 0.018078316003084183, 0.023366907611489296, -0.02414092980325222, -0.03519013896584511, -0.04232634976506233, 0.011241341941058636, 0.006419240962713957, 0.062143340706825256, 0.01419249176979065, -0.016395660117268562, -0.026971764862537384, -0.029373327270150185, -0.030250810086727142, 0.0325239822268486, -0.01871204748749733, 0.0007671736530028284, 0.01989128813147545, 0.04404037818312645, 0.009794704616069794, 0.016817135736346245, 0.001000740798190236, -0.010428857058286667, 0.06449627131223679, -0.046719785779714584, -0.035329703241586685, -0.029346322640776634, -0.05886036530137062, -0.0025439257733523846, 0.01924487203359604, 0.021264420822262764, -0.04459424689412117, 0.02892063371837139, 0.04876217991113663, 0.032110776752233505, 0.050228413194417953, 0.023355208337306976, 0.034513723105192184, -0.04245637729763985, 0.014508591964840889, -0.06989305466413498, 0.01933296024799347, 0.024433590471744537, 0.018202437087893486, -0.027695538476109505, -0.012607799842953682, -0.01595458574593067, 0.04344320297241211, -0.06897786259651184, -0.013724756427109241, 0.031453147530555725, 0.01495430339127779, -0.010842306539416313, 0.019034044817090034, -0.06257080286741257, 0.054262205958366394, 0.01744341105222702, -0.04354201629757881, -0.03939267620444298, -0.0282135009765625, 0.03438738361001015, 0.025688210502266884, 0.0278227087110281, -0.04774787276983261, 0.021030260249972343, 0.05644874647259712, 0.0018114763079211116, 0.02928178571164608, 0.06121913716197014, -0.03144364804029465, 0.02597462199628353, 0.016763636842370033, -0.02506711706519127, -0.03331202641129494, -0.0002388917637290433, 0.002500517526641488, -0.07491455227136612, 0.005361195653676987, 0.01595248095691204, -0.01428749319165945, -0.06015431880950928, 0.0713692456483841, -0.0003066565259359777, -0.033377423882484436, -0.054234616458415985, 0.01596621610224247, -0.035766635090112686, 0.004687076434493065, -0.01201348565518856, 0.0023694210685789585, -0.04862840101122856, 0.07051996141672134, 0.007094833068549633, 0.007961363531649113, 0.08006026595830917, -0.0020447305869311094, 0.003883846802636981, -0.018001655116677284, 0.09638651460409164, 0.07302700728178024, 0.05901976674795151, 0.009102842770516872, 0.06792415678501129, -0.028765998780727386, -0.03959983214735985, 0.018240466713905334, -0.02203846350312233, -0.003753950819373131, -0.003856176510453224, 0.035076241940259933, 0.08585140854120255, -0.0016259674448519945, 0.0463075265288353, -0.032562803477048874, -0.03488073870539665, 0.01347483228892088, 0.025654733180999756, 0.02506791427731514, 0.04017280042171478, 0.012010273523628712, 0.013309565372765064, 0.007797801401466131, -0.018847830593585968, 0.014249375090003014, -0.003700035624206066, -0.03189028799533844, 0.03131288290023804, 0.00821340549737215, 0.012349966913461685, -0.0032796708401292562, 0.04113870486617088, 0.08760232478380203, -0.017457276582717896, -0.016903895884752274, -0.008971141651272774, 0.01946442760527134, 0.005356460809707642, -0.002065142849460244, -0.0018216068856418133, -0.03526487946510315, 0.01281549222767353, -0.016468528658151627, -0.02387823350727558, -0.013979651033878326, -0.020259615033864975, 0.05534498766064644, -0.011501982808113098, 0.01863033138215542, 0.00045930102351121604, 0.011683547869324684, -0.05316370353102684, -0.0464276559650898, -0.06641098111867905, -0.015752628445625305, -0.06100272014737129, -0.01786785200238228, 0.034439969807863235, -0.019795240834355354, -0.02732890471816063, -0.03517400473356247, -0.023189570754766464, -0.015425018966197968, 0.054008614271879196, -0.03347836062312126, -0.02262420579791069, 0.04261723905801773, 0.025005577132105827, 0.057324428111314774, 0.01499172393232584, 0.04142158851027489, -0.015086395666003227, -0.010600429028272629, -0.05008842051029205, 0.001105423434637487, 0.028023628517985344, -0.009763813577592373, 0.004415362142026424, -0.08504273742437363, 0.019382352009415627, 0.021614855155348778, -0.037514589726924896, -0.08102153241634369, 0.003044827375560999, 0.03836311772465706, 0.007729124277830124, 0.048032473772764206, -0.0217160414904356, 0.004102346953004599, 0.002278032945469022, -0.021939482539892197, 0.022081520408391953, 0.05110184848308563, 0.04570493474602699, -0.04016599431633949, 0.08750426024198532, 0.0533720888197422, -0.03333111107349396, -0.02618221752345562, -0.006374171935021877, -0.004408667329698801, 0.005234837997704744, -0.030799856409430504, -0.011455705389380455, -0.010677426122128963, -0.0606096088886261, -0.019263798370957375, 0.023099686950445175, -0.018408767879009247, -0.031606268137693405, 0.012158863246440887, 0.0479397177696228, -0.0415949709713459, 0.024861671030521393, -0.042688999325037, 0.05086588114500046, -0.022760212421417236, -0.0232358667999506, 0.003403533948585391, 0.044023897498846054, 0.012525166384875774, -0.0034845599438995123, 0.019344791769981384, -0.03829782456159592, -0.02589726261794567, -0.001140945008955896, 0.051797352731227875, 0.06900583952665329, -0.013082309626042843, 0.02632410265505314 ]
[ -0.061651404947042465, -0.012842195108532906, -0.032709408551454544, -0.09960810095071793, 0.0427900105714798, -0.06503646820783615, 0.043187350034713745, 0.027375897392630577, -0.006334929261356592, -0.010615481063723564, -0.026925379410386086, -0.029678113758563995, -0.008832915686070919, -0.0065647754818201065, 0.08911700546741486, 0.010774506255984306, -0.0026126105803996325, -0.015220931731164455, 0.014283419586718082, 0.035814642906188965, 0.03201165050268173, -0.04298233985900879, -0.053530093282461166, -0.03847035393118858, 0.014039335772395134, 0.02794768288731575, 0.021943338215351105, -0.03947563096880913, 0.008188446052372456, -0.2116648405790329, -0.005185984540730715, 0.0007717583794146776, 0.014413868077099323, -0.015840498730540276, -0.018522121012210846, 0.02492554485797882, 0.05142028257250786, 0.029993947595357895, -0.0053583248518407345, 0.06036744639277458, 0.012058009393513203, 0.050622131675481796, -0.03998071700334549, -0.03325750306248665, -0.003366866847500205, -0.0026358761824667454, -0.00985199399292469, -0.04663901776075363, -0.0429006889462471, -0.0023703479673713446, -0.02966068871319294, 0.006041150540113449, -0.03351809084415436, 0.020833535119891167, -0.018652046099305153, 0.04935304820537567, 0.05481640249490738, 0.07117677479982376, 0.003544095205143094, -0.007965464144945145, 0.009394196793437004, -0.02715393342077732, -0.13223473727703094, 0.08782681077718735, 0.025317545980215073, 0.06186347454786301, -0.015813322737812996, 0.00280169234611094, 0.0017737868474796414, 0.06885271519422531, 0.007519554812461138, -0.0191043671220541, -0.03664723038673401, 0.055434126406908035, 0.029827242717146873, -0.033340562134981155, 0.013384302146732807, 0.02631724253296852, 0.03733132779598236, -0.0459742397069931, -0.05063420161604881, 0.013304694555699825, 0.004780285991728306, 0.018737319856882095, -0.030805593356490135, 0.008626709692180157, 0.0155473118647933, 0.00004168182931607589, 0.05954930558800697, 0.04024803265929222, 0.021035129204392433, -0.029834844172000885, 0.04231230914592743, 0.019234012812376022, -0.07310289144515991, 0.024020912125706673, -0.04121977090835571, 0.014253458939492702, -0.06955073773860931, 0.4221743047237396, -0.03018767759203911, -0.04665475711226463, 0.04019550979137421, 0.03994296118617058, 0.0027696385513991117, 0.015079982578754425, 0.002683916362002492, -0.058908235281705856, -0.009220262058079243, -0.019245587289333344, -0.0024811774492263794, -0.006641984451562166, -0.008909442462027073, -0.02962140552699566, 0.01523583848029375, -0.0010706468019634485, 0.017738347873091698, 0.0003112658450845629, -0.01884094811975956, -0.016543090343475342, -0.01836503855884075, 0.020238928496837616, 0.03186706453561783, 0.038460977375507355, 0.007969491183757782, -0.057254329323768616, 0.038337305188179016, 0.06418807804584503, 0.017659077420830727, 0.0015661518555134535, 0.026663871482014656, -0.056884076446294785, -0.07699938118457794, -0.009168450720608234, 0.016432566568255424, 0.016515208408236504, 0.04294981807470322, -0.033713728189468384, -0.004970606416463852, 0.03363713249564171, 0.006109480280429125, -0.016356008127331734, 0.014799968339502811, -0.010607860051095486, -0.05685393139719963, 0.14963407814502716, 0.007506013382226229, -0.017600620165467262, -0.036442745476961136, -0.03250820189714432, -0.0040378449484705925, 0.06603828817605972, -0.012881133705377579, -0.04771792143583298, -0.009690719656646252, 0.046301472932100296, 0.04548497870564461, -0.0031101054046303034, -0.033989809453487396, -0.0299651138484478, -0.013090752996504307, -0.00716816633939743, -0.03565790504217148, 0.043047644197940826, 0.030100559815764427, -0.09249712526798248, -0.03963124752044678, 0.011808827519416809, 0.02541184239089489, -0.06596976518630981, -0.01253697369247675, 0.03166091814637184, -0.0027187734376639128, -0.01352283451706171, 0.03756508603692055, 0.007227967493236065, -0.056428924202919006, 0.013458984903991222, 0.019563941285014153, 0.032594308257102966, 0.001389128970913589, 0.035231251269578934, -0.04485920071601868, -0.019298426806926727, -0.02078147977590561, -0.0919937714934349, -0.044392138719558716, 0.010638928040862083, -0.02801639400422573, -0.011922313831746578, -0.010698027908802032, 0.004233775660395622, -0.05108927562832832, 0.07134636491537094, -0.04233107343316078, -0.018289251253008842, 0.03523631393909454, -0.01207057572901249, -0.001009464729577303, -0.003460958832874894, 0.0008861247915774584, 0.07337573170661926, -0.02520715817809105, 0.011039583012461662, -0.06775455176830292, 0.026526624336838722, 0.04069476202130318, -0.011668112128973007, 0.04509425535798073, 0.0049294293858110905, -0.049544550478458405, -0.03379274532198906, -0.02454249933362007, 0.034979596734046936, 0.005249303299933672, -0.028927600011229515, 0.014691080898046494, 0.029157139360904694, 0.013141710311174393, -0.0013482979265972972, -0.07232116907835007, -0.011331806890666485, 0.009685461409389973, -0.3620830476284027, -0.03700966760516167, 0.0010878340108320117, -0.004351269453763962, -0.0066475155763328075, -0.04649193957448006, 0.005272608250379562, -0.0020538466051220894, -0.05090108886361122, -0.024293649941682816, 0.08792253583669662, -0.012720095925033092, -0.013217161409556866, -0.0614158920943737, 0.0033801784738898277, -0.00019063137006014585, -0.037072859704494476, -0.05920058861374855, -0.06828054040670395, -0.01856033317744732, -0.028098661452531815, 0.030700592324137688, 0.01054418832063675, -0.030894702300429344, -0.0016101024812087417, -0.041404660791158676, 0.10158080607652664, -0.01437219139188528, 0.10760101675987244, -0.024758294224739075, 0.04143219441175461, -0.014967733062803745, -0.002941083861514926, -0.10456790030002594, 0.002560903551056981, -0.027768578380346298, -0.032787688076496124, 0.023274071514606476, 0.0380200520157814, 0.009876759722828865, -0.03498617187142372, 0.025475196540355682, -0.04345383495092392, -0.031158454716205597, 0.008471108973026276, -0.012274131178855896, -0.012235420756042004, -0.04307933151721954, 0.00015881731815170497, 0.067301444709301, -0.022589705884456635, -0.03642742708325386, 0.015439695678651333, 0.05161217227578163, 0.0008504010620526969, -0.0318923182785511, -0.051710281521081924, 0.007265979424118996, -0.007147367112338543, 0.011776245199143887, 0.021176515147089958, 0.07115889340639114, 0.01841425895690918, -0.0698714554309845, 0.0018868311308324337, -0.004626294132322073, -0.02302219159901142, -0.01610175333917141, 0.029798254370689392, -0.04895927384495735, -0.003563069738447666, 0.11603520065546036, -0.019548697397112846, -0.032075151801109314, 0.048995424062013626, 0.043488841503858566, 0.014591766521334648, 0.011150711216032505, -0.0020970350597053766, 0.011093171313405037, 0.008723106235265732, 0.017569728195667267, 0.03927043452858925, -0.016352452337741852, 0.020467784255743027, 0.0423368476331234, -0.0022538392804563046, 0.015125001780688763, 0.031994692981243134, -0.042421478778123856, -0.011297987774014473, -0.013959797099232674, -0.011499845422804356, -0.058790840208530426, 0.06319312006235123, -0.0050614760257303715, -0.2700573801994324, -0.0028273777570575476, 0.08553216606378555, 0.0633934959769249, -0.01271474827080965, 0.04470188915729523, 0.029726769775152206, -0.05389132723212242, -0.02418585866689682, 0.015320268459618092, 0.03243066743016243, 0.0119351577013731, 0.0297036562114954, 0.035490550100803375, 0.01741008833050728, 0.015841105952858925, 0.0808551236987114, -0.01876578852534294, 0.019534174352884293, -0.03114248253405094, 0.01769050769507885, -0.0005263088387437165, 0.1705966293811798, 0.002264040522277355, 0.05308319628238678, 7.782713851156586e-7, 0.004539456218481064, 0.026185283437371254, 0.03813717141747475, 0.02767922729253769, 0.0314963236451149, -0.02551560290157795, 0.09802763164043427, -0.019217127934098244, 0.030254364013671875, -0.08591023832559586, -0.010391755029559135, 0.03021819330751896, 0.027698304504156113, 0.010893097147345543, 0.0013845987850800157, 0.0012907041236758232, -0.03520118072628975, 0.005443442612886429, 0.07774027436971664, 0.041706327348947525, -0.006441129371523857, -0.0400402657687664, -0.023287121206521988, -0.012520457617938519, -0.003392178798094392, -0.040438901633024216, -0.005553674418479204, -0.009524788707494736, 0.0242905355989933, 0.028462322428822517, 0.017662161961197853, -0.016693998128175735, -0.015779150649905205, 0.043272197246551514, 0.03834942728281021, 0.014106163755059242, 0.09111036360263824, 0.022543389350175858, 0.03744212165474892 ]
[ -0.0013822332257404923, 0.015409406274557114, 0.023363793268799782, 0.009398099966347218, -0.008495530113577843, 0.017082151025533676, 0.011304411105811596, 0.02855790965259075, 0.007361141033470631, 0.018649768084287643, -0.02159838192164898, -0.021086465567350388, 0.017303135246038437, -0.014769294299185276, 0.08272973448038101, 0.017000732943415642, 0.0529634915292263, -0.05616021901369095, 0.011310601606965065, 0.005531670991331339, -0.0018725978443399072, 0.03345326706767082, -0.015387758612632751, -0.02570716105401516, -0.018902327865362167, 0.01095916423946619, -0.010904825292527676, -0.029800718650221825, 0.01029372401535511, -0.1375654935836792, -0.03381603956222534, -0.0014792245347052813, -0.018449364230036736, 0.022326290607452393, -0.02175813913345337, 0.0037957991007715464, 0.035315804183483124, 0.013957991264760494, -0.0003109358949586749, 0.004823409020900726, -0.02306515909731388, 0.011084572412073612, -0.010398962534964085, 0.009501095861196518, 0.022426368668675423, 0.009051612578332424, -0.005581810604780912, -0.01220838725566864, 0.007688083220273256, -0.023146972060203552, -0.005963568575680256, 0.005201091058552265, 0.010947948321700096, 0.021860569715499878, 0.04913656413555145, -0.003247223561629653, 0.03241116926074028, 0.0013241778360679746, 0.010375297628343105, -0.013392542488873005, -0.03448239713907242, -0.01115298829972744, -0.04133465886116028, -0.01930941827595234, 0.009067532606422901, -0.010648436844348907, 0.011401603929698467, 0.005372332409024239, -0.013456794433295727, -0.014751536771655083, -0.030520664528012276, 0.01828213967382908, -0.008186032064259052, 0.029055073857307434, 0.007860311307013035, -0.011617591604590416, 0.011925763450562954, -0.0150150703266263, 0.018691090866923332, -0.016160044819116592, -0.021063843742012978, 0.04709489643573761, 0.026827380061149597, -0.0009234757162630558, -0.005392134655267, 0.00014517064846586436, 0.012998671270906925, -0.02246738411486149, 0.0022512217983603477, 0.016567528247833252, -0.0057957908138632774, 0.0010496324393898249, 0.019840091466903687, 0.009761142544448376, -0.08929744362831116, 0.0008520311093889177, -0.04899255931377411, -0.04291900247335434, -0.013477233238518238, 0.8656553626060486, -0.008274001069366932, 0.055066436529159546, 0.0462312288582325, 0.008971194736659527, 0.02461332455277443, 0.013291082344949245, -0.00796690583229065, 0.013791936449706554, -0.002621675143018365, -0.010793301276862621, 0.04052212834358215, -0.011284969747066498, 0.012628997676074505, 0.012560057453811169, 0.014823059551417828, 0.01856580376625061, 0.0008441556710749865, -0.017105495557188988, -0.009200328961014748, -0.012715407647192478, 0.012296551838517189, -0.006896376144140959, 0.0047211842611432076, 0.00698936078697443, -0.008468778803944588, -0.18201212584972382, 0.009887907654047012, -9.118030499420164e-33, 0.010007433593273163, -0.014880293048918247, 0.00994955562055111, 0.023741912096738815, 0.041636645793914795, -0.017193960025906563, 0.008195430971682072, 0.041551798582077026, 0.04215874895453453, -0.03401535749435425, 0.0055696782656013966, -0.030681993812322617, 0.0008474738569930196, -0.014598398469388485, 0.058826737105846405, -0.029592426493763924, -0.004997302312403917, 0.03137260302901268, 0.007385249715298414, 0.00148237613029778, -0.01615382730960846, 0.04265483096241951, 0.022335615009069443, -0.037669871002435684, 0.02400745451450348, 0.04923398420214653, 0.013111986219882965, -0.023043354973196983, 0.012090921401977539, -0.04693150892853737, 0.002396732335910201, 0.029416248202323914, 0.001352401333861053, 0.01979496330022812, 0.03415607288479805, -0.033399369567632675, -0.007272130809724331, 0.006629783194512129, -0.022160762920975685, -0.052654869854450226, -0.014235321432352066, 0.004609859082847834, -0.03797782585024834, 0.02111579105257988, -0.021284447982907295, -0.0484306663274765, 0.0009313800255768001, 0.0051223100163042545, 0.023016786202788353, 0.0059811146929860115, 0.038119927048683167, 0.0467984676361084, -0.010304386727511883, -0.0018735078629106283, 0.0009068173822015524, 0.004126037936657667, -0.003009435487911105, -0.014189224690198898, 0.008966801688075066, 0.01603083126246929, 0.01523797120898962, -0.019286857917904854, -0.013094007037580013, 0.04240560531616211, 0.000994190457277, -0.008099954575300217, -0.0074204639531672, -0.024915087968111038, 0.02355443313717842, -0.024381354451179504, -0.04769953340291977, -0.007210635580122471, -0.0026500204112380743, 0.002056024968624115, -0.021590912714600563, 0.01658761501312256, -0.015585863962769508, 0.00945708155632019, -0.01690681464970112, 0.028546785935759544, 0.002223637420684099, -0.004636250901967287, 0.0008729894179850817, -0.02452358417212963, -0.011074850335717201, -0.0068283602595329285, 0.04823167622089386, -0.009332595393061638, 0.008072375319898129, 0.004115621093660593, 0.01838238351047039, 0.021280942484736443, -0.02037286013364792, -0.017165301367640495, -0.012169864028692245, 9.002812951256379e-33, 0.020559703931212425, -0.019545771181583405, -0.023225195705890656, -0.01983073353767395, 0.009300156496465206, -0.008098065853118896, 0.011539474129676819, -0.0029120692051947117, -0.06123509630560875, 0.029308203607797623, -0.015496673993766308, 0.04102642461657524, 0.009787032380700111, 0.014729095622897148, 0.046388860791921616, -0.01135088037699461, 0.005729390308260918, -0.014668382704257965, -0.005281710997223854, -0.004147742409259081, 0.01491413451731205, 0.013132576830685139, 0.036173265427351, -0.012049687094986439, -0.008250824175775051, 0.038931846618652344, -0.03378307819366455, 0.018884414806962013, 0.011589187197387218, -0.021498247981071472, -0.011208975687623024, -0.007183782756328583, 0.01834983378648758, -0.06333180516958237, -0.025335367769002914, 0.007749489042907953, 0.005628504790365696, -0.01733539067208767, 0.01722206361591816, 0.0022435090504586697, 0.02675018645823002, -0.0019308450864627957, -0.03543729707598686, -0.011539950035512447, -0.0013474718434736133, 0.007828901521861553, -0.028088824823498726, -0.029881373047828674, 0.014132197946310043, 0.008442584425210953, 0.018320726230740547, -0.01589047722518444, 0.037650544196367264, -0.005688943434506655, 0.017622660845518112, -0.023196090012788773, -0.003147993702441454, -0.00772026926279068, 0.008333216421306133, 0.0035016871988773346, -0.006028950680047274, 0.02198677882552147, -0.004430695902556181, -0.001140486216172576, -0.012326323427259922, 0.004740619100630283, -0.012890569865703583, -0.04087601229548454, -0.008506841026246548, -0.030216850340366364, -0.021680084988474846, -0.024348964914679527, -0.008487616665661335, 0.024435902014374733, -0.009773633442819118, -0.008723143488168716, -0.0000917173529160209, -0.006390098482370377, -0.004237698391079903, 0.00791193824261427, -0.00003861922596115619, -0.022891629487276077, 0.03731881454586983, 0.021774373948574066, -0.032697271555662155, -0.015002375468611717, -0.007654797751456499, -0.011659759096801281, 0.021994048729538918, 0.02271655946969986, -0.0374869629740715, -0.0031311949715018272, -0.0015548225492238998, 0.019767940044403076, 0.01310162153095007, -1.4246031021514227e-8, -0.022474443539977074, 0.02217678911983967, 0.009450305253267288, 0.023049145936965942, 0.02917751669883728, 0.005384108982980251, -0.04811554774641991, -0.06760735809803009, 0.0027693489100784063, 0.010597317479550838, -0.006433168426156044, 0.0045320731587708, 0.0009281563106924295, -0.01518381666392088, 0.028669076040387154, -0.05615173280239105, -0.0291367806494236, -0.04162304848432541, 0.01889491081237793, 0.013612964190542698, 0.009216203354299068, 0.03764931112527847, -0.026639215648174286, 0.016135288402438164, 0.015047398395836353, 0.00532794464379549, -0.0052375346422195435, -0.07507074624300003, 0.020494459196925163, 0.014675724320113659, 0.009180841036140919, -0.01567906327545643, -0.031191768124699593, -0.005954765249043703, -0.023961888626217842, -0.02445320412516594, 0.004766303114593029, 0.006404201965779066, 0.013140089809894562, 0.00017964995640795678, 0.016444025561213493, -0.01812494918704033, -0.0009019920253194869, -0.017647283151745796, 0.0018343145493417978, 0.017855407670140266, -0.007232837378978729, 0.010041137225925922, -0.004558502230793238, 0.019602064043283463, -0.018000997602939606, 0.010136214084923267, -0.007944172248244286, 0.015303365886211395, -0.010268539190292358, -0.004697400610893965, 0.001915500732138753, -0.011432097293436527, -0.01631096750497818, 0.026287870481610298, 0.025261294096708298, 0.01286405324935913, -0.02999773807823658, -0.026209868490695953 ]
oop-what-does-an-objects-responsibility-entail
https://markhneedham.com/blog/2009/02/09/oop-what-does-an-objects-responsibility-entail
false
2009-02-09 17:06:02
Agile: What is it?
[ "agile" ]
[ "Agile" ]
My colleague Chris Johnston wrote recently about http://www.fuzzylizard.com/archives/2009/02/04/1006/[his experiences in agile software development], posing some questions that he has. Specifically: * Why comments are evil? * Why design is evil? * Why must you pair all the time? * Why Agile principles become Agile rules? Now I'm assuming that most (if not all) of Chris' experiences with agile have been at ThoughtWorks, in which case the mix of agile we use on our projects tends to be a combination of Scrum and Extreme Programming. The last question seems the most logical to start with: ____ Why is it that for many people and many shops, Agile principles become rules and the only way to do things? I have met people and worked in shops were they have Agile all figured out and any deviation is heresy. If you are doing Agile this one way, then you are unprofessional and a very bad programming. ____ I'm with Chris on this one - as far as I understand agile is all about *adapting a set of principles to the environment* that we find ourself in. It's unlikely that the exact same approach will work in two different projects. I've worked on 6 or 7 projects at ThoughtWorks and each has taken a slightly different approach to agile, varying the amount of process we use, the amount and type of tracking done, the approach to gathering requirements, and so on. Our client's wishes, the availability of the business, the number of integration points, the size of the team, are all things that will influence the approach that we end up taking. ____ Why must you pair all the time? ____ Extreme Programming (XP) defines a set of practices that we can use on an agile project although there are certainly other approaches that are equally valid. Pair Programming is one of the XP practices rather than something you need to do in order to be 'agile'. I've worked on teams where we haven't paired, teams where some people on the team pair and teams where everyone does pair all the time but I wouldn't say as a rule people have to pair all the time. When a team is responsible for the delivery of some software pair programming is the best approach that I have worked with for ensuring that people on the team have a good understanding of all areas of the code base. While someone working alone in 'flow' might be able to write some brilliant code, noone else on the team knows anything about that code meaning that the knowledge of the implementation takes longer to work its way to the rest of the team. ____ Why design is evil? ____ I don't think design is evil and again all the teams I've worked on have done some design work up front, it would be fairly foolish not to. Finding the balance between over architecting up front and doing just enough design to allow us to keep moving forward is the key here. ____ Why comments are evil? ____ I've previously written about the http://www.markhneedham.com/blog/2009/01/17/the-danger-of-commenting-out-code/[dangers of commenting code] so I don't want to revisit that too much, suffice to say that it it usually possible to describe what you want to in a comment using an appropriate method name instead. My experience with comments is that they go out of date more quickly than code does and therefore can end up being misleading to someone reading the code. The only real time I have seen a valid use for them is when used to describe a problem the code is getting around where the explanation is fairly verbose and can't be expressed easily in code - for example, when using one of the jQuery validators there was some strange behaviour with regards to the behaviour of the plugin when different options were set. For a while we didn't put a comment and others in the team would change the code not realising that it would cause a problem. With the comment in place people have a better context before they make a change.
null
null
[ 0.03798602148890495, 0.010494613088667393, -0.000938915996812284, 0.026098817586898804, 0.08883742988109589, 0.011597850359976292, 0.028189759701490402, 0.0385192446410656, 0.018568525090813637, -0.03317407891154289, -0.03167841583490372, -0.0010680659906938672, -0.056154973804950714, 0.016122739762067795, -0.0594993531703949, 0.07327310740947723, 0.05804181843996048, 0.0009086672798730433, 0.01672491803765297, 0.017022479325532913, 0.04669575020670891, 0.07244332879781723, -0.0036174750421196222, 0.023034168407320976, 0.03716152906417847, 0.021316302940249443, 0.012020059861242771, -0.003141463967040181, -0.061458393931388855, -0.009572675451636314, 0.050435420125722885, 0.005379821173846722, 0.0170627199113369, -0.01614145003259182, 0.02436700649559498, -0.0024370267055928707, -0.013075685128569603, 0.029033392667770386, -0.00651958305388689, -0.013197132386267185, -0.05363549292087555, 0.05197782814502716, -0.0166743416339159, 0.011191951110959053, -0.029866719618439674, 0.012656723149120808, -0.03380751237273216, 0.014462780207395554, -0.013927760533988476, 0.0079105906188488, -0.05963188037276268, 0.0183489378541708, -0.015477620996534824, -0.02891952358186245, -0.010908018797636032, 0.03934656083583832, 0.004054590128362179, -0.053176380693912506, -0.0060746134258806705, -0.03980700671672821, -0.013686795718967915, -0.012004353106021881, 0.01072097197175026, 0.04519059881567955, 0.02628316543996334, -0.0252760611474514, 0.005230696406215429, 0.028110913932323456, -0.028724243864417076, 0.006886190734803677, -0.013932918198406696, 0.007448140066117048, -0.020440589636564255, -0.01410473883152008, 0.001001065829768777, -0.06536348164081573, -0.00495877955108881, 0.06619083881378174, 0.03747151792049408, 0.042273521423339844, -0.01651359349489212, 0.027750493958592415, 0.001550666755065322, 0.022767025977373123, -0.018918754532933235, -0.031609538942575455, 0.0113998893648386, -0.011886565946042538, -0.06432202458381653, 0.0641523227095604, 0.020851440727710724, -0.07026705890893936, 0.028465012088418007, 0.05005999282002449, 0.006520913913846016, 0.020873159170150757, 0.02341657318174839, 0.023299893364310265, 0.005487976595759392, 0.0008132609073072672, -0.02158527262508869, -0.0020715100690722466, -0.016540642827749252, 0.003891240106895566, -0.07731083780527115, -0.004627821501344442, -0.014247489161789417, -0.018543105572462082, -0.00481391279026866, -0.0027649705298244953, -0.0436587929725647, 0.015234011225402355, -0.023085279390215874, 0.0016302978619933128, -0.05980943143367767, 0.08112575858831406, -0.004264890681952238, -0.04054770991206169, -0.018737230449914932, -0.014434974640607834, 0.03582506626844406, 0.014296593144536018, -0.0024349973537027836, 0.08373663574457169, 0.009125888347625732, 0.013598384335637093, -0.03460727259516716, 0.06764358282089233, -0.010039201006293297, -0.06560274958610535, -0.02137637324631214, 0.054567478597164154, -0.04070192202925682, -0.008689972572028637, -0.011443193070590496, -0.013023131527006626, -0.0025401702150702477, 0.008129239082336426, 0.010115951299667358, 0.05374588072299957, -0.012149394489824772, -0.021332522854208946, 0.009714167565107346, 0.016000697389245033, 0.03615663945674896, -0.013421621173620224, -0.0020944648422300816, -0.03142024204134941, -0.048395901918411255, -0.015810230746865273, 0.013982608914375305, 0.024310702458024025, 0.01093457080423832, -0.05492405965924263, 0.04055597633123398, 0.10135172307491302, 0.051067620515823364, -0.008903533220291138, -0.008564472198486328, 0.02600722946226597, 0.03425987437367439, 0.018694711849093437, 0.022761015221476555, 0.035614147782325745, 0.029491320252418518, -0.001963511575013399, -0.012268831953406334, 0.02045067586004734, 0.012252955697476864, 0.007010115310549736, -0.06567901372909546, -0.03566504642367363, 0.0414125993847847, -0.049703847616910934, -0.011226889677345753, 0.039776138961315155, 0.07615088671445847, 0.04934370145201683, 0.027926446869969368, 0.020912790670990944, -0.08029027283191681, 0.019607331603765488, 0.016337158158421516, 0.023304931819438934, 0.037971191108226776, -0.021245211362838745, 0.05460522696375847, 0.028916215524077415, -0.005800387356430292, 0.04997562989592552, -0.08208294957876205, -0.09740452468395233, -0.019507288932800293, -0.021269051358103752, 0.05426524579524994, -0.0618511438369751, -0.006428700406104326, 0.06919697672128677, 0.02544396184384823, 0.04733382165431976, 0.016147669404745102, 0.011167698539793491, -0.00835889857262373, -0.043764278292655945, -0.03304503113031387, 0.07296974211931229, 0.050793975591659546, 0.00743793323636055, -0.048707716166973114, 0.0187495406717062, 0.00004801348768523894, -0.01196906715631485, 0.03670407086610794, -0.020060323178768158, 0.041782885789871216, -0.0022940963972359896, 0.054303742945194244, -0.028517261147499084, 0.06733037531375885, -0.04812128469347954, -0.010108629241585732, -0.002178656868636608, -0.021274704486131668, 0.020598040893673897, -0.002795583102852106, 0.09658516198396683, 0.05801060050725937, -0.05238400772213936, -0.030633848160505295, 0.012519465759396553, 0.030750015750527382, -0.029162438586354256, 0.0011370518477633595, -0.0020749159157276154, 0.02072036638855934, 0.005400295369327068, -0.05700131505727768, -0.046667467802762985, 0.023068541660904884, -0.050731267780065536, 0.015660962089896202, 0.05906089395284653, -0.017097022384405136, 0.059856053441762924, -0.010489474050700665, -0.018031403422355652, -0.012504040263593197, 0.009044251404702663, -0.05325307324528694, 0.02730601280927658, 0.017588814720511436, -0.024871444329619408, 0.05074765533208847, -0.026033444330096245, -0.03835594654083252, -0.04125572741031647, -0.01760135032236576, 0.0019991605076938868, 0.0419163703918457, 0.06433476507663727, -0.02808067388832569, 0.04207364469766617, -0.004925279878079891, 0.02523944154381752, 0.004507558885961771, -0.046938687562942505, -0.04291097819805145, -0.02643113024532795, 0.003335371846333146, 0.024954546242952347, 0.00277638528496027, 0.026155712082982063, 0.022137323394417763, -0.007579010911285877, -0.019767895340919495, 0.010540599934756756, 0.028901807963848114, 0.010141952894628048, -0.00011442231334513053, -0.022673992440104485, -0.04003613814711571, 0.03952493891119957, -0.02672436833381653, -0.02358727715909481, 0.00037377752596512437, -0.08185641467571259, 0.04526514932513237, -0.07174378633499146, -0.040186524391174316, -0.004311354830861092, 0.03638247027993202, 0.05769956856966019, 0.002106444677338004, 0.022916505113244057, 0.0468873605132103, 0.01618368923664093, 0.021015184000134468, 0.013885624706745148, -0.007561189122498035, 0.042601827532052994, 0.030487265437841415, -0.02127114124596119, 0.06305232644081116, -0.007445622235536575, 0.005434218794107437, -0.05673500895500183, 0.06533176451921463, -0.04726037383079529, -0.28505828976631165, 0.03224377706646919, 0.00306170666590333, -0.04444168135523796, -0.003448910778388381, -0.004951613489538431, 0.020906107500195503, -0.05922313034534454, -0.014452503994107246, 0.01368600782006979, -0.0606963150203228, -0.042124923318624496, -0.004915027879178524, 0.03853412717580795, -0.0008676507859490812, 0.02879174053668976, 0.034953538328409195, -0.006010880693793297, 0.005382016766816378, 0.05110627040266991, -0.013375023379921913, -0.07961191982030869, -0.005206974223256111, 0.03755238652229309, 0.043836940079927444, 0.0535137876868248, -0.0783185213804245, 0.0373186320066452, -0.04197120666503906, -0.0012683575041592121, 0.01469410676509142, 0.01090939436107874, -0.02634558454155922, -0.0249879602342844, -0.0008720454061403871, -0.014122056774795055, 0.03454865142703056, -0.006151306908577681, -0.020639518275856972, 0.012559851631522179, -0.014891190454363823, -0.034253381192684174, 0.02038543112576008, 0.0118307089433074, 0.06661971658468246, 0.01444084383547306, -0.08184292167425156, -0.0032028211280703545, -0.017252981662750244, 0.08002468943595886, -0.03963634744286537, -0.039847999811172485, 0.003345498815178871, 0.04722126945853233, -0.014896880835294724, -0.04808587208390236, 0.01063911709934473, -0.02134338580071926, -0.02392411418259144, -0.013427835889160633, -0.01962118037045002, -0.04071609675884247, -0.013559787534177303, -0.052506037056446075, 0.004982000682502985, -0.05537497624754906, -0.07680591195821762, -0.011360976845026016, 0.06640022248029709, -0.015912989154458046, -0.02788020856678486, -0.0037725972943007946, 0.005724088754504919, -0.10198114812374115, -0.0037906726356595755, 0.00037070285179652274, -0.02282509207725525, 0.0012924035545438528, 0.014784906059503555, 0.05336179584264755, -0.020889660343527794, -0.061893023550510406, 0.015713917091488838, 0.003570401342585683, 0.028028855100274086, -0.0018156301230192184, 0.05798345431685448, 0.040375277400016785, -0.03278643265366554, 0.014318842440843582, 0.048797376453876495, 0.008970638737082481, -0.04411889612674713, -0.018487220630049706, 0.03181559219956398, -0.010261964984238148, 0.025819752365350723, -0.0165477953851223, 0.012584106996655464, 0.03599880263209343, -0.018784677609801292, -0.05246596410870552, 0.030384056270122528, -0.017047958448529243, -0.012499476782977581, -0.01352915819734335, -0.050159767270088196, 0.016958652064204216, 0.05531002953648567, 0.03777719661593437, 0.008240053430199623, -0.01951749064028263, -0.0008693127310834825, -0.04922322556376457, -0.04635506495833397, -0.016474660485982895, -0.0028362502343952656, 0.0434444323182106, -0.021033717319369316, 0.011016910895705223, -0.06523177772760391, 0.005056352820247412, -0.03070472925901413, 0.0040461402386426926, -0.07792281359434128, -0.012335770763456821, -0.016699252650141716, -0.023416653275489807, 0.02099929377436638, 0.028771022334694862, -0.02594965323805809, 0.03493715450167656, 0.031878963112831116, -0.048562876880168915, 0.022209839895367622, -0.01712159626185894, -0.06849077343940735, -0.01956055872142315, -0.010931011289358139, -0.015425970777869225, -0.0009391873027198017, 0.04363203048706055, 0.024702055379748344, 0.019463561475276947, 0.019605718553066254, 0.017026783898472786, 0.024007389321923256, -0.008276876993477345, 0.027671268209815025, 0.02290075086057186, 0.029117953032255173, -0.059509534388780594, 0.020870273932814598, -0.036440059542655945, -0.029445787891745567, -0.02835271880030632, 0.032584886997938156, -0.007027452811598778, -0.030088217929005623, -0.008231171406805515, -0.0152249401435256, -0.04280433803796768, -0.024596095085144043, -0.03671922907233238, 0.04520779103040695, 0.07263104617595673, -0.026105236262083054, 0.008641774766147137, -0.04926249012351036, -0.013090335763990879, 0.0008354864548891783, 0.017673486843705177, -0.053261663764715195, 0.00663503585383296, 0.01241952646523714, 0.00046799980918876827, 0.0028372695669531822, 0.00531534431502223, 0.049335628747940063, 0.0021542105823755264, -0.0004928747075609863, -0.0003420445427764207, -0.001061051501892507, 0.01600028946995735, 0.026859726756811142, 0.012605199590325356, -0.013914045877754688, -0.01818469911813736, -0.006161094643175602, -0.018520338460803032, -0.038041383028030396, 0.009359331801533699, 0.01866787299513817, 0.02669147029519081, -0.02788707986474037, -0.07396993786096573, 0.053453199565410614, 0.03090788424015045, 0.018725143745541573, 0.0169802438467741, -0.023638851940631866, -0.007009848020970821, -0.011348018422722816, 0.020896635949611664, 0.06687766313552856, -0.06359335780143738, -0.0056648594327270985, -0.013832226395606995, -0.009835564531385899, 0.006057276390492916, -0.007185359951108694, -0.04206012934446335, -0.030035538598895073, -0.01821971870958805, 0.0059840986505150795, -0.07734927535057068, -0.0020958534441888332, -0.020205944776535034, -0.004475117195397615, 0.009867011569440365, -0.007847325876355171, -0.02198823355138302, -0.01814395748078823, -0.019098952412605286, -0.038307007402181625, 0.002485111588612199, -0.0366293303668499, 0.003436606377363205, 0.021540753543376923, -0.03642824664711952, 0.0029824816156178713, -0.03919199854135513, 0.0017518934328109026, 0.010113907977938652, -0.03349349647760391, -0.0008080194820649922, -0.04255184903740883, 0.0025944209191948175, 0.008129509165883064, 0.019027268514037132, -0.014287705533206463, -0.013555921614170074, -0.03122207149863243, -0.028019849210977554, -0.0444888174533844, -0.007402488030493259, -0.03588740900158882, -0.011806794442236423, 0.012771100737154484, 0.06372576951980591, 0.010936008766293526, 0.03953460231423378, -0.0052740368992090225, -0.01102717500180006, 0.050872769206762314, -0.06363021582365036, -0.0457797646522522, -0.04136091098189354, -0.06532999128103256, -0.013519493862986565, 0.019398275762796402, 0.018970316275954247, -0.0306024719029665, 0.03314241021871567, 0.010532408021390438, 0.040221597999334335, 0.029799694195389748, 0.004577406216412783, 0.020415185019373894, -0.05296183377504349, 0.0046063815243542194, -0.07893620431423187, -0.0012274403125047684, 0.034883514046669006, 0.007729539182037115, -0.005742664914578199, -0.021129487082362175, -0.040831901133060455, 0.03952638432383537, -0.07079347968101501, -0.008408275432884693, 0.05180002748966217, 0.014719567261636257, -0.008877422660589218, 0.008755015209317207, -0.07686378806829453, 0.031837619841098785, 0.01064332015812397, -0.05092497169971466, -0.028726765885949135, -0.017048409208655357, 0.04011508449912071, 0.008075699210166931, 0.03382718190550804, -0.04349985718727112, 0.004079940728843212, 0.08629322797060013, -0.00015964152407832444, -0.013834573328495026, 0.04782262444496155, 0.0035834559239447117, 0.04007178544998169, 0.023632226511836052, 0.009767195209860802, -0.039118826389312744, 0.007913489826023579, -0.0013357113348320127, -0.05891959369182587, 0.037253621965646744, 0.007472581695765257, -0.03393338993191719, -0.02654658444225788, 0.05432036519050598, 0.02368604578077793, -0.031137846410274506, -0.02956705167889595, 0.0015984094934538007, -0.05916127935051918, 0.019924063235521317, -0.01596047915518284, -0.0013469955883920193, -0.07606247812509537, 0.040731292217969894, -0.005797303281724453, 0.01830260455608368, 0.05839242786169052, 0.011842616833746433, -0.008891802281141281, -0.004939991515129805, 0.08339846134185791, 0.07356240600347519, 0.06617461144924164, 0.017395885661244392, 0.06803415715694427, -0.021234028041362762, -0.0504763200879097, 0.023246856406331062, 0.013384826481342316, -0.0068928855471313, -0.013963092118501663, 0.020868023857474327, 0.047156911343336105, -0.008928472176194191, 0.07195521146059036, -0.002495934721082449, -0.029915444552898407, 0.01113208755850792, 0.02108459360897541, 0.013983817771077156, 0.08101572841405869, -0.0015934092225506902, 0.003071896266192198, -0.02528146095573902, -0.03442032262682915, 0.03301269933581352, -0.04146801307797432, -0.019461145624518394, 0.03693636134266853, 0.0049686552956700325, 0.015762880444526672, 0.006147631909698248, 0.018571609631180763, 0.0864492878317833, -0.055078279227018356, 0.0040481858886778355, 0.005078071728348732, 0.0215162243694067, -0.015634099021553993, 0.00726482504978776, -0.00780364777892828, -0.016853848472237587, 0.008819719776511192, -0.012473679147660732, -0.026053424924612045, -0.029613597318530083, -0.012715555727481842, 0.059698354452848434, -0.016018355265259743, -0.0014160771388560534, 0.03413335606455803, 0.009283172897994518, -0.0466458797454834, -0.06232740730047226, -0.03406824544072151, -0.023719042539596558, -0.047281671315431595, 0.0014251848915591836, 0.03551299870014191, -0.0205150805413723, -0.030606215819716454, 0.0032130656763911247, -0.0007598933298140764, -0.032679639756679535, 0.034601613879203796, -0.05391974002122879, -0.028830816969275475, -0.0006793910288251936, 0.025075173005461693, 0.039166174829006195, 0.014043105766177177, 0.06401734054088593, -0.02113569900393486, -0.00766239408403635, -0.016529763117432594, 0.01977180875837803, 0.017193390056490898, 0.011741513386368752, 0.0008016668725758791, -0.07009214907884598, 0.01646534539759159, 0.02979174628853798, -0.022844066843390465, -0.06289081275463104, 0.03349166736006737, 0.00786533858627081, 0.0023946785368025303, 0.050757039338350296, -0.01709996722638607, 0.02203396148979664, -0.05171044543385506, -0.01104489155113697, -0.009315332397818565, 0.005304411053657532, 0.04698468744754791, -0.0290400218218565, 0.08172496408224106, 0.020753318443894386, -0.011720732785761356, -0.05424543097615242, -0.01503596268594265, -0.0013179124798625708, 0.0027595332358032465, 0.0000468429752800148, -0.03189685940742493, -0.020407317206263542, -0.0861981138586998, -0.021324975416064262, 0.02114761248230934, -0.016084857285022736, -0.029810655862092972, 0.0355323925614357, 0.027842795476317406, -0.03871353343129158, 0.007850042544305325, -0.05998547747731209, 0.056202758103609085, -0.03168405592441559, -0.014952576719224453, -0.005780748091638088, 0.018860386684536934, -0.015521512366831303, -0.01238072756677866, 0.02513316087424755, -0.053445734083652496, 0.010874014347791672, 0.014400445856153965, 0.023471351712942123, 0.041613318026065826, 0.022590167820453644, 0.00752238417044282 ]
[ -0.08615240454673767, -0.00517653813585639, -0.03655850887298584, -0.026856616139411926, 0.03500118851661682, -0.03504084795713425, -0.016627797856926918, -0.0008700598264113069, -0.006837485823780298, -0.028960583731532097, 0.004035443067550659, -0.011301117949187756, 0.01676381193101406, -0.041620537638664246, 0.08039520680904388, -0.004731419030576944, -0.006835465785115957, -0.05003440007567406, 0.01499965600669384, 0.035213571041822433, 0.01669296622276306, -0.06321105360984802, -0.048402126878499985, -0.03324507549405098, 0.020045435056090355, 0.043491773307323456, -0.005904470104724169, -0.0356687530875206, 0.01598910428583622, -0.1846379041671753, 0.012473886832594872, 0.0471789576113224, 0.06147085875272751, -0.022694634273648262, 0.023166636005043983, 0.07948701083660126, 0.021490996703505516, 0.009239524602890015, -0.003936342895030975, 0.03502865135669708, 0.02594829350709915, 0.03228849545121193, -0.03568646311759949, -0.05997525900602341, -0.0007116205524653196, 0.012733018957078457, 0.006670168600976467, -0.038908109068870544, -0.03952841833233833, -0.0017138441326096654, -0.03477887064218521, -0.053210288286209106, -0.01888006553053856, -0.015955505892634392, -0.012761346995830536, 0.08221466839313507, 0.02245165780186653, 0.05574467033147812, -0.03217830881476402, 0.0318426713347435, 0.009481487795710564, -0.03595232218503952, -0.1414073407649994, 0.05792079120874405, 0.0400320440530777, 0.05563964322209358, -0.06420064717531204, 0.00046113829012028873, -0.03113093413412571, 0.09721240401268005, 0.03309448063373566, -0.006674529984593391, -0.01686033420264721, 0.041437190026044846, 0.025580044835805893, 0.025241265073418617, -0.023783989250659943, 0.01630929484963417, 0.03040582872927189, -0.022368723526597023, -0.038931846618652344, -0.03734459728002548, -0.02114913798868656, 0.0005467870505526662, -0.03176755830645561, 0.022116761654615402, -0.011225150898098946, 0.03944163769483566, 0.04303445667028427, 0.025770222768187523, 0.053101252764463425, 0.006718267221003771, 0.030586065724492073, -0.024522801861166954, -0.05793607234954834, 0.0058631328865885735, 0.012398555874824524, 0.0025416032876819372, -0.07444152235984802, 0.4473095238208771, -0.04949766770005226, -0.02468850091099739, 0.08919607102870941, 0.030285928398370743, -0.002565608359873295, 0.002232398372143507, 0.008096826262772083, -0.0439557209610939, 0.04534848779439926, -0.02510688081383705, 0.029697006568312645, 0.02999933436512947, 0.03804773464798927, -0.05373944342136383, -0.005810989066958427, 0.045643970370292664, -0.02433853968977928, 0.03729250282049179, 0.016902809962630272, -0.004998419899493456, -0.03407676890492439, 0.009486127644777298, 0.03190893307328224, 0.025322144851088524, -0.02558683045208454, -0.03640350326895714, 0.007364268414676189, 0.040475569665431976, 0.028621280565857887, -0.018300218507647514, 0.05698250234127045, -0.04737225919961929, -0.061061348766088486, -0.01399266254156828, -0.023266363888978958, 0.009629232808947563, 0.027369320392608643, -0.02228907309472561, -0.014823010191321373, 0.06646672636270523, 0.023241424933075905, -0.015458687208592892, 0.043834373354911804, -0.03043653629720211, -0.023627014830708504, 0.11228643357753754, 0.014177585020661354, -0.020762093365192413, -0.020614340901374817, -0.032468389719724655, -0.01627916470170021, -0.0007307534106075764, 0.009272958151996136, -0.05449958145618439, 0.04733000323176384, -0.000673654256388545, 0.10602813214063644, -0.019597599282860756, -0.07522168010473251, 0.016020437702536583, -0.028047043830156326, -0.009153448045253754, -0.06741839647293091, 0.06730978190898895, 0.09627578407526016, -0.12450776994228363, 0.007330787368118763, -0.010784178040921688, 0.02397754229605198, -0.04456033557653427, 0.0006654629833064973, 0.014509586617350578, 0.014554222114384174, 0.0010144502157345414, 0.06986529380083084, -0.03137856721878052, -0.047460611909627914, -0.004579331260174513, 0.06359174102544785, 0.0223793126642704, 0.03312144801020622, 0.039218220859766006, -0.020105332136154175, -0.006816583685576916, -0.02975316345691681, -0.07511475682258606, -0.04953497648239136, -0.015883589163422585, -0.04669300094246864, -0.014472917653620243, -0.022731922566890717, -0.013968243263661861, -0.03131311014294624, 0.10663854330778122, -0.032477978616952896, -0.02740407921373844, 0.036296118050813675, -0.009537392295897007, -0.05684049427509308, -0.014207537285983562, -0.07134100794792175, 0.03686753660440445, -0.03658867999911308, 0.015208461321890354, -0.057591911405324936, 0.02964571863412857, 0.017346316948533058, -0.0300121046602726, 0.0699540227651596, 0.06499290466308594, -0.002825288800522685, -0.053487710654735565, 0.008385986089706421, 0.042209330946207047, -0.0013250911142677069, -0.0022852635011076927, -0.021573515608906746, 0.05333614721894264, -0.008862992748618126, 0.0398276224732399, -0.04246583953499794, 0.04759282246232033, -0.0007451134151779115, -0.3390951454639435, -0.03377735614776611, -0.031002817675471306, 0.009286712855100632, 0.020400164648890495, -0.025196565315127373, 0.01574033871293068, -0.03446999937295914, -0.054753657430410385, -0.011130444705486298, 0.09587559849023819, -0.026409022510051727, -0.0021169644314795732, -0.09539675712585449, -0.0024378844536840916, 0.030681561678647995, -0.04151219502091408, -0.018071232363581657, -0.023418469354510307, 0.004532541148364544, 0.018952593207359314, 0.004060049075633287, -0.021735450252890587, -0.04477410390973091, 0.008766714483499527, -0.0574614554643631, 0.08699068427085876, -0.01021188497543335, 0.07774222642183304, -0.019031360745429993, 0.0034766611643135548, -0.004147753585129976, 0.013484027236700058, -0.11194266378879547, 0.019459115341305733, -0.015767058357596397, 0.03399057686328888, -0.058991070836782455, 0.03282487019896507, -0.0199882872402668, -0.0579916276037693, -0.01051942165941, -0.05200839042663574, -0.01844661682844162, -0.06052599474787712, -0.016523269936442375, -0.03713570162653923, -0.01948685385286808, -0.01786012202501297, 0.07433956116437912, -0.005039525218307972, 0.023689989000558853, 0.019071612507104874, 0.013244257308542728, -0.015139373019337654, -0.042909715324640274, -0.07835734635591507, 0.03340737894177437, 0.021963801234960556, -0.009556511417031288, 0.02008489891886711, 0.047504059970378876, 0.025915084406733513, -0.04924139380455017, 0.013104657642543316, 0.005754959303885698, 0.022381123155355453, 0.007770773954689503, 0.033983346074819565, -0.02284734509885311, 0.023384306579828262, 0.06799628585577011, 0.01457186508923769, -0.02796352468430996, 0.0021779132075607777, 0.012560189701616764, -0.014615601859986782, -0.003839270444586873, 0.010084652341902256, -0.02011115290224552, 0.017086079344153404, -0.03392598778009415, 0.024000300094485283, -0.01370995957404375, -0.003798534395173192, -0.005316795315593481, 0.013263863511383533, -0.04148520901799202, 0.03481461852788925, 0.012249989435076714, -0.012293227016925812, -0.01914159208536148, -0.02145172283053398, -0.02696075849235058, 0.09798993915319443, 0.009369315579533577, -0.2373245805501938, 0.009357786737382412, 0.042052365839481354, 0.03567221388220787, -0.02758682332932949, 0.04917845502495766, 0.02616763301193714, -0.07172505557537079, 0.010756304487586021, -0.01428995467722416, 0.022490357980132103, 0.00669840956106782, 0.004957634024322033, -0.028215961530804634, 0.056028544902801514, 0.0030644184444099665, 0.051893752068281174, -0.00902672577649355, 0.041288040578365326, -0.02422887273132801, 0.01563815213739872, 0.007058978080749512, 0.14648258686065674, -0.013933827169239521, 0.04360148310661316, 0.02717195823788643, -0.010886946693062782, 0.023018822073936462, 0.06694870442152023, 0.021513624116778374, 0.02927117608487606, -0.006625973619520664, 0.06335748732089996, 0.0013864114880561829, -0.00806339643895626, -0.04546473175287247, -0.006129533052444458, 0.000345060572726652, 0.03430594503879547, 0.020670710131525993, 0.021033015102148056, -0.0107062803581357, 0.011009711772203445, 0.013740160502493382, 0.0722094178199768, 0.0023285672068595886, -0.005717100575566292, -0.05335906520485878, -0.052468180656433105, -0.011296696029603481, -0.04967192932963371, -0.05117427557706833, -0.0006306874565780163, -0.010340512730181217, 0.02077862061560154, 0.07025670260190964, 0.041224125772714615, -0.00800036545842886, -0.020649133250117302, -0.0005454763886518776, -0.005985436961054802, -0.012655265629291534, 0.0721738412976265, 0.05894123762845993, 0.040158115327358246 ]
[ 0.005256874952465296, 0.044420745223760605, -0.021706758067011833, -0.015092696063220501, -0.01744863949716091, 0.010763697326183319, -0.007430579978972673, 0.02589632011950016, -0.03576250001788139, -0.012902675196528435, -0.0063675143755972385, 0.020116455852985382, 0.04990749433636665, -0.005285580642521381, 0.05030874162912369, 0.004113837610930204, 0.0030974780675023794, -0.03576928749680519, 0.040012966841459274, 0.05181198567152023, -0.0213455930352211, -0.012636162340641022, -0.056299012154340744, -0.022776279598474503, -0.03437748923897743, 0.013384923338890076, -0.017556266859173775, 0.012927376665174961, 0.026043955236673355, -0.13052800297737122, -0.049157798290252686, 0.004842742811888456, 0.02887769602239132, 0.04575579613447189, 0.041794296354055405, -0.016130957752466202, 0.01915579102933407, 0.0054105049930512905, 0.00407493906095624, 0.0024613747373223305, -0.027829190716147423, -0.01204656157642603, -0.02335488237440586, -0.012390094809234142, -0.004598784260451794, 0.018892720341682434, 0.012894220650196075, -0.03488588333129883, -0.019705580547451973, 0.004625601693987846, -0.043323270976543427, 0.005272327456623316, 0.003156418213620782, 0.012438933365046978, 0.024855511263012886, 0.04448041319847107, 0.03815329074859619, -0.013431410305202007, 0.017838796600699425, -0.00835456233471632, 0.009246503002941608, -0.0032193842343986034, -0.044371407479047775, -0.0033488068729639053, -0.04184629023075104, -0.019391799345612526, -0.023918669670820236, 0.000794607971329242, -0.06681105494499207, -0.002412045607343316, -0.019487082958221436, -0.04318508133292198, -0.015498108230531216, -0.019927339628338814, 0.0012138544116169214, 0.006633884739130735, 0.026593323796987534, -0.04004502296447754, 0.007570652756839991, -0.008970718830823898, -0.050322700291872025, -0.00010584180563455448, 0.0001983232650673017, -0.008104626089334488, -0.01588328182697296, 0.025465454906225204, 0.04160229489207268, -0.029492510482668877, 0.007566222455352545, -0.003598359413444996, -0.022486472502350807, 0.009882637299597263, -0.01622401922941208, -0.005805343389511108, -0.06527072936296463, 0.011569424532353878, -0.01563134230673313, 0.02067558653652668, 0.003506595501676202, 0.8190712928771973, -0.022845130413770676, 0.005414915271103382, 0.046819381415843964, -0.015970440581440926, -0.004924222361296415, 0.002287076087668538, 0.025019707158207893, -0.0005977624678052962, 0.04543905332684517, -0.03342427685856819, -0.01905495673418045, 0.006838660687208176, 0.01306075043976307, -0.016928894445300102, 0.023765262216329575, 0.004321294836699963, -0.006627673748880625, 0.025400305166840553, -0.03040648065507412, -0.008238296955823898, 0.07418213784694672, 0.041138097643852234, 0.036226462572813034, 0.015282662585377693, 0.033608578145504, -0.18247541785240173, 0.03654935210943222, -9.147162922853387e-33, -0.0021935587283223867, 0.006369744427502155, -0.038512665778398514, -0.015369788743555546, 0.043209731578826904, -0.007960584945976734, 0.013273143209517002, -0.011438692919909954, -0.007074825931340456, -0.0005220346502028406, 0.00620087468996644, -0.03161768987774849, 0.03942134231328964, 0.002753911539912224, -0.007065233774483204, -0.03766538202762604, 0.023430662229657173, 0.03146778419613838, -0.011381464079022408, 0.012577923014760017, 0.05683103948831558, 0.006455893162637949, 0.025252165272831917, -0.021953919902443886, -0.014946533367037773, 0.004863119218498468, 0.024671003222465515, 0.031446781009435654, 0.04598591849207878, -0.04559393227100372, -0.002912513678893447, 0.026372505351901054, -0.007634930312633514, 0.016088660806417465, 0.004044399131089449, -0.02590990997850895, -0.041481152176856995, -0.010308039374649525, 0.00007701509457547218, -0.0338946208357811, -0.03315647691488266, 0.004849073011428118, -0.01933811418712139, -0.006158073898404837, 0.026666559278964996, 0.017461517825722694, 0.017250973731279373, 0.03409753739833832, -0.016246963292360306, -0.035708002746105194, 0.004656259901821613, 0.004335517063736916, 0.014726770110428333, 0.05550398677587509, -0.038241662085056305, -0.00290677510201931, 0.010055498220026493, -0.028384758159518242, -0.020295007154345512, 0.0073563773185014725, -0.0053718420676887035, -0.016605911776423454, -0.011698738671839237, -0.01941351220011711, -0.00789052713662386, -0.0395691804587841, 0.012393967248499393, -0.004679241683334112, 0.05609021335840225, -0.043980106711387634, -0.05282428860664368, 0.0137344840914011, 0.022056950256228447, -0.023003356531262398, -0.026430172845721245, -0.022407034412026405, 0.006239876616746187, 0.07025527954101562, -0.007500206120312214, 0.02144758775830269, -0.019397906959056854, 0.026176540181040764, 0.04122481122612953, -0.031209733337163925, -0.0027325721457600594, 0.0015001412248238921, -0.009632682427763939, -0.01306946948170662, -0.011555199511349201, -0.002833335194736719, 0.035344596952199936, -0.022212881594896317, -0.023790165781974792, -0.02535531297326088, 0.023863738402724266, 8.766410017046478e-33, -0.0043563623912632465, 0.003944832365959883, -0.024700038135051727, 0.024531370028853416, 0.0658324807882309, -0.00001597648770257365, 0.02271336503326893, -0.026107370853424072, -0.07185938954353333, 0.02127743512392044, -0.005033603869378567, -0.024381380528211594, -0.02374209277331829, 0.00939484965056181, 0.030457036569714546, 0.0007939022034406662, 0.05143802613019943, -0.032146040350198746, 0.043008096516132355, -0.011176821775734425, 0.02593793161213398, -0.020375069230794907, -0.005606230814009905, 0.009840895421802998, 0.03684648498892784, 0.0660652443766594, -0.02317781187593937, -0.015980763360857964, -0.0026281927712261677, -0.018227599561214447, -0.00863660965114832, 0.01359725371003151, 0.006269984878599644, -0.00484309159219265, 0.021512189880013466, -0.008143104612827301, -0.05068204551935196, -0.022351998835802078, 0.03813225403428078, -0.017243295907974243, 0.025996625423431396, 0.008420881815254688, -0.0001645036245463416, 0.010435592383146286, 0.03684984892606735, 0.005806273780763149, 0.012383898720145226, -0.030489422380924225, -0.008309021592140198, 0.015318049117922783, 0.030751986429095268, 0.03673902526497841, -0.013378768227994442, -0.04428112879395485, -0.010109241120517254, -0.027429526671767235, 0.016059814020991325, -0.028949473053216934, 0.002504381351172924, 0.01049717329442501, 0.02304057776927948, 0.03786395862698555, -0.01557321660220623, 0.054584626108407974, -0.03453167527914047, 0.034351520240306854, -0.0020694108679890633, -0.01800527423620224, -0.04108169674873352, -0.025073232129216194, -0.03489738702774048, 0.019955473020672798, -0.0050619011744856834, 0.01806318201124668, -0.01993740350008011, -0.03684724494814873, -0.03224225342273712, -0.00046341048437170684, 0.0008439532248303294, -0.004546232055872679, -0.016666455194354057, 0.018844645470380783, 0.030452942475676537, 0.05263427272439003, -0.03028126433491707, 0.05534391477704048, -0.020370466634631157, 0.03137236088514328, 0.007340267766267061, -0.012628148309886456, -0.0446033701300621, -0.01563250459730625, 0.02742491289973259, -0.020387165248394012, 0.004555596504360437, -1.4423339855795803e-8, -0.04420610889792442, 0.01562792807817459, -0.023344188928604126, 0.008641073480248451, 0.04866229370236397, 0.007930630818009377, -0.02897697314620018, 0.010273605585098267, -0.02255013771355152, 0.028044506907463074, 0.023702027276158333, -0.03356132656335831, -0.040090229362249374, 0.03246639296412468, 0.04128199443221092, -0.026047049090266228, 0.015554568730294704, -0.018286187201738358, 0.017442800104618073, 0.00542885297909379, 0.03158366680145264, 0.07162546366453171, -0.030522048473358154, 0.05825639143586159, 0.009996636770665646, 0.00864049606025219, -0.027913302183151245, -0.05126778036355972, 0.039349984377622604, 0.0008780325879342854, 0.03527437895536423, -0.012671083211898804, -0.04749201610684395, 0.012799781747162342, -0.02693212777376175, -0.049194395542144775, 0.002656609984114766, 0.026357872411608696, -0.002146583516150713, 0.0029963687993586063, -0.038856323808431625, 0.014778584241867065, 0.007609395310282707, -0.04208323732018471, -0.027196582406759262, -0.0020735892467200756, -0.04684171825647354, -0.0300724096596241, -0.005558771546930075, -0.05046207085251808, -0.009540569968521595, -0.03630796819925308, 0.017245149239897728, 0.00005977337059448473, 0.03310920670628548, -0.0048236423172056675, -0.010987592861056328, -0.04629846289753914, 0.007358095608651638, 0.004032496362924576, -0.01847272738814354, -0.011053774505853653, -0.002636890159919858, -0.0073114908300340176 ]
agile-what-is-it
https://markhneedham.com/blog/2009/02/09/agile-what-is-it
false
2009-02-08 09:10:39
Refactoring: Comment it out vs small steps removal
[ "coding" ]
[ "Coding", "Incremental Refactoring" ]
One refactoring I was doing last week was to try and remove the use of some getters/setters on one of our objects so that it was better encapsulated and all the behaviour related to it happened in one place. The change involved introducing a constructor to initialise the object rather than doing so using the new object initialiser syntax and initalising it using the properties. My initial approach was to *find all the usages of these properties and then remove each usage one by one*, running our suite of tests against the code after each change to ensure that nothing had broken as a result of the change. While we were doing this my colleague pointed out that it would probably be quicker to just *comment out the properties code and then recompile the code* - the list of errors would then point out the areas which relied on the properties and we could then fix the code that way. It's a technique I've used previously and it worked out reasonably well because there were only 10 or so usages, meaning we were able to make all those changes and run the tests in under ten minutes. I think if there had been bigger changes to make - for example if the properties had been being used to expose the data all over the application (luckily we only had one case of this) then the smaller steps approach may have been preferable. Getting the balance between taking small steps and getting rapid feedback was also a consideration here. We were running our unit and javascript tests as we made the changes since we were uncertain exactly what impact the changes would have. It took around 70 seconds to run these tests, which I think encouraged slightly bigger steps so that we weren't sitting around waiting too often. Both of these approaches are useful and it seems to me that maybe a combination of them, at different stages of our refactoring, would prove to be most useful.
null
null
[ 0.019715286791324615, -0.0071856556460261345, -0.009272333234548569, 0.02372736856341362, 0.0667179748415947, 0.02256191335618496, 0.0481577143073082, 0.01636173389852047, 0.01976935751736164, -0.030501358211040497, -0.022955015301704407, 0.012564214877784252, -0.07598017156124115, 0.005285302177071571, -0.024119237437844276, 0.06964098662137985, 0.07340322434902191, -0.01194695569574833, 0.01890336535871029, 0.01420618873089552, 0.023878777399659157, 0.07885690778493881, -0.02463596872985363, 0.029096169397234917, 0.02102356031537056, 0.015662435442209244, -0.004564984235912561, 0.008476595394313335, -0.09113108366727829, -0.019918538630008698, 0.027969026938080788, 0.00484008714556694, -0.01130953524261713, -0.006995992735028267, 0.0012405386660248041, -0.03904156759381294, -0.00995961669832468, 0.018376434221863747, -0.007589584216475487, 0.023226771503686905, -0.07066094130277634, 0.034099169075489044, 0.011611138470470905, -0.0023094480857253075, -0.05097523704171181, -0.008380893617868423, -0.04999113082885742, -0.013161697424948215, -0.02983228862285614, -0.025531494989991188, -0.06064002588391304, 0.030015477910637856, 0.008906102739274502, -0.016322439536452293, -0.019950013607740402, 0.05983051285147667, 0.013872907496988773, -0.07795006781816483, 0.01173708401620388, -0.049490898847579956, -0.004630472511053085, -0.0042633176781237125, 0.004189833998680115, 0.04030567407608032, 0.035937950015068054, 0.010125618427991867, 0.0013961897930130363, 0.03894584998488426, -0.024364754557609558, -0.011423026211559772, -0.005911141633987427, -0.0027454039081931114, -0.026620345190167427, -0.0053810118697583675, -0.014105036854743958, -0.03255569189786911, -0.00905238650739193, 0.059685420244932175, 0.0008430165471509099, 0.03286604583263397, 0.003920776769518852, 0.012963361106812954, 0.021871840581297874, -0.004474489018321037, 0.0364389643073082, -0.0365588553249836, -0.03169463574886322, -0.00500607630237937, -0.052602529525756836, 0.05316264182329178, 0.04255388304591179, -0.05442836508154869, 0.03699466213583946, 0.03613318130373955, 0.01831740140914917, 0.008550464175641537, 0.018248120322823524, 0.018352992832660675, -0.008058654144406319, -0.003538559190928936, -0.022848855704069138, -0.018873680382966995, 0.0127064548432827, -0.021879766136407852, -0.06820221990346909, -0.02988789603114128, -0.030477123335003853, -0.019915590062737465, -0.0038703330792486668, 0.016159607097506523, -0.03110288642346859, 0.03364600986242294, -0.023080985993146896, 0.008444092236459255, -0.08660293370485306, 0.056667260825634, 0.006815790198743343, -0.008665592409670353, -0.026593543589115143, 0.013759073801338673, 0.055075258016586304, 0.03094940260052681, 0.010925819166004658, 0.09637945145368576, 0.0032912250608205795, 0.041325703263282776, -0.023701464757323265, 0.06662196666002274, -0.012918531894683838, -0.0706700012087822, 0.004701798316091299, 0.0448383130133152, -0.022573424503207207, -0.0026220360305160284, 0.00827109906822443, -0.013692554086446762, -0.006730512250214815, 0.010673451237380505, 0.035685740411281586, 0.024063756689429283, -0.010438530705869198, -0.05323690548539162, 0.02138146385550499, 0.005547515116631985, -0.004294003359973431, 0.0382569245994091, -0.011005785316228867, -0.01886681467294693, 0.002003245986998081, 0.01636485941708088, -0.001952820224687457, 0.0630054697394371, 0.03134886547923088, -0.026600979268550873, 0.01010069902986288, 0.094920314848423, -0.02693137712776661, 0.012191186659038067, -0.0355856828391552, 0.025840584188699722, 0.03908345848321915, 0.028144951909780502, 0.013633503578603268, 0.013816534541547298, 0.0295239444822073, 0.0019356609554961324, -0.028774196282029152, 0.053223952651023865, 0.012738912366330624, -0.009929386898875237, -0.061983752995729446, -0.038991816341876984, 0.05344173312187195, -0.05628974363207817, -0.028931744396686554, 0.05006174370646477, 0.06759128719568253, -0.0064056324772536755, 0.044898901134729385, 0.014273468405008316, -0.07273221760988235, 0.012570152059197426, 0.00502480985596776, 0.013027208857238293, 0.02371050789952278, 0.002290140138939023, 0.06166253983974457, 0.013084083795547485, 0.019799645990133286, 0.014468895271420479, -0.061472631990909576, -0.0761139914393425, -0.0004520713409874588, -0.01290861889719963, 0.061163052916526794, -0.027966652065515518, -0.01356237567961216, 0.07377627491950989, 0.03188253939151764, 0.047622762620449066, 0.042627010494470596, -0.002915197517722845, 0.0009762078989297152, -0.03537216782569885, -0.018430758267641068, 0.0002506953605916351, 0.030230501666665077, -0.009851938113570213, -0.045651622116565704, 0.0035031435545533895, -0.01847592182457447, -0.01137807872146368, 0.06199707090854645, -0.00014282359916251153, 0.023295309394598007, 0.0257280133664608, 0.03445545583963394, -0.036662958562374115, 0.05607385188341141, -0.08371631801128387, 0.008342217653989792, 0.00678790220990777, -0.009445753879845142, -0.017720866948366165, -0.010033788159489632, 0.11597710847854614, 0.06281132251024246, -0.0458163246512413, -0.039646368473768234, -0.00575671810656786, 0.009441192261874676, -0.05641556158661842, -0.011968079954385757, -0.01058411505073309, 0.02129027247428894, 0.009302287362515926, -0.044729478657245636, -0.009620241820812225, 0.01671813242137432, -0.03959361091256142, 0.027940085157752037, 0.058962803333997726, -0.011624225415289402, 0.055947016924619675, 0.013305649161338806, -0.017917800694704056, 0.0012625373201444745, -0.020929556339979172, -0.06207096949219704, 0.017079580575227737, 0.030362630262970924, -0.02066676877439022, 0.06281149387359619, -0.015484398230910301, -0.029832834377884865, -0.03622831776738167, -0.033490099012851715, -0.012034887447953224, 0.02767939306795597, 0.08498726785182953, 0.011583907529711723, 0.0583600290119648, 0.009752015583217144, 0.014405523426830769, 0.01310681737959385, -0.051934096962213516, 0.00009420013520866632, -0.01973891630768776, 0.009317589923739433, 0.03607861325144768, -0.001055810134857893, 0.01608215644955635, 0.017005499452352524, -0.006695040967315435, -0.027629442512989044, -0.0321168415248394, 0.02322416752576828, -0.022620875388383865, -0.026125941425561905, -0.01965044066309929, -0.042811404913663864, 0.03782624378800392, -0.04750802740454674, -0.04259426146745682, 0.0230663251131773, -0.068144291639328, 0.03941071033477783, -0.06550529599189758, -0.06409214437007904, 0.005525520537048578, 0.03739919140934944, 0.022102508693933487, -0.013357401825487614, 0.03150249645113945, 0.0890897810459137, -0.00689033092930913, 0.010342509485781193, -0.021078195422887802, 0.006208417937159538, 0.023949038237333298, 0.007177775725722313, 0.006601227447390556, 0.008240770548582077, 0.002297881757840514, -0.002413921756669879, -0.020272955298423767, 0.007487187162041664, -0.00438731862232089, -0.26617205142974854, 0.03783305361866951, 0.015806186944246292, -0.05560053512454033, 0.01868564821779728, -0.004269556142389774, 0.02306363545358181, -0.05243786796927452, -0.0265006385743618, 0.05798781290650368, -0.015564259141683578, -0.06970631331205368, -0.012702777981758118, 0.09152326732873917, -0.005929127801209688, 0.023897957056760788, 0.006380169186741114, -0.01754729077219963, -0.026765946298837662, 0.07550708204507828, -0.021777309477329254, -0.07095158845186234, 0.016786184161901474, 0.012087791226804256, 0.021544896066188812, 0.03654329106211662, -0.09234140068292618, 0.03698871284723282, -0.06666596233844757, -0.019311072304844856, 0.006320454180240631, 0.0006001974106766284, 0.0028325815219432116, -0.00899925734847784, -0.014613163657486439, -0.009003703482449055, -0.004067461937665939, 0.013320204801857471, -0.013194036670029163, 0.009696136228740215, -0.031230267137289047, -0.031960636377334595, -0.010096694342792034, 0.02292553335428238, 0.05765887722373009, -0.016349343582987785, -0.06789633631706238, -0.02529587410390377, -0.05243224650621414, 0.0635022222995758, -0.0221065953373909, -0.04052276536822319, -0.006814497523009777, 0.026502301916480064, -0.014218797907233238, -0.031664084643125534, 0.0039109825156629086, 0.0013873091666027904, -0.04839345067739487, -0.02565700188279152, -0.007628833409398794, -0.041869550943374634, 0.004960212856531143, -0.01881050504744053, -0.0121097881346941, -0.05635295808315277, -0.05272478982806206, -0.0004511192673817277, 0.08034522831439972, 0.01072709634900093, -0.02188841812312603, 0.016587095335125923, 0.030842281877994537, -0.10036128014326096, -0.0032686362974345684, -0.032570816576480865, 0.0006735220667906106, -0.03495845943689346, -0.016612792387604713, 0.05319811776280403, -0.025430036708712578, -0.03524147719144821, 0.024767782539129257, -0.0035216761752963066, 0.01054811105132103, -0.0023394604213535786, 0.02934771403670311, 0.012159229256212711, -0.011696359142661095, -0.004012271761894226, 0.07527890056371689, -0.009358598850667477, -0.018478263169527054, -0.03272167593240738, 0.018229475244879723, 0.028517277911305428, 0.01833004131913185, -0.03988545760512352, 0.01722409762442112, 0.021471399813890457, 0.028156718239188194, -0.06669134646654129, 0.047104254364967346, -0.00868403073400259, -0.003267871215939522, -0.013465682975947857, -0.06333447992801666, 0.033184874802827835, 0.033151812851428986, 0.027420520782470703, 0.012737026438117027, -0.016817184165120125, -0.004225533455610275, -0.04634230211377144, -0.027987616136670113, -0.03025927022099495, 0.019924966618418694, 0.03390941023826599, -0.030865877866744995, -0.01132248342037201, -0.04722181335091591, 0.02186366729438305, -0.004989962559193373, 0.01176247838884592, -0.0618269257247448, -0.05054675042629242, -0.00989710446447134, -0.01804300956428051, -0.0002636631252244115, 0.03052389807999134, -0.004877688363194466, 0.04491812363266945, 0.011555878445506096, -0.022151412442326546, -0.0003381342103239149, -0.013118092902004719, -0.027231786400079727, -0.03267884626984596, -0.029631640762090683, -0.007010234985500574, -0.00007669682236155495, 0.016659004613757133, 0.016815802082419395, 0.024587392807006836, 0.031060203909873962, 0.003051549894735217, 0.06235317140817642, -0.018750024959445, -0.006586511619389057, 0.020422644913196564, 0.010017219930887222, -0.10116833448410034, 0.020787347108125687, -0.054088443517684937, -0.04512353986501694, -0.031711041927337646, 0.02735213004052639, -0.024070624262094498, -0.027572650462388992, -0.017627941444516182, 0.014215061441063881, -0.050614532083272934, -0.046006061136722565, -0.040727630257606506, 0.016075551509857178, 0.061402447521686554, -0.01194365881383419, 0.03325197845697403, -0.032554786652326584, -0.03513643890619278, -0.00504780700430274, 0.008980181068181992, -0.07484057545661926, 0.001450756099075079, 0.021184034645557404, -0.00881227571517229, -0.0011244671186432242, 0.005824619438499212, 0.04273134469985962, 0.009922681376338005, 0.015250861644744873, 0.008216269314289093, 0.009996393695473671, 0.014286751858890057, 0.059412550181150436, -0.020672699436545372, 0.022878281772136688, -0.01062584389001131, -0.008285356685519218, -0.021489465609192848, -0.030433358624577522, -0.008451995439827442, 0.01505992654711008, 0.06471127271652222, -0.04176963493227959, -0.07835288345813751, 0.017770152539014816, 0.056889358907938004, 0.013181780464947224, 0.025988446548581123, 0.003908549901098013, 0.00298455823212862, -0.032841574400663376, 0.012127879075706005, 0.05989491194486618, -0.05093294382095337, -0.001741574495099485, -0.013704422861337662, 0.024243919178843498, 0.029368333518505096, 0.011077654547989368, -0.05544183775782585, -0.032702215015888214, -0.02613431215286255, -0.017825370654463768, -0.03315108269453049, -0.013802670873701572, -0.03998894244432449, 0.010294039733707905, -0.03418319299817085, -0.031092500314116478, -0.006574542727321386, -0.00903373770415783, -0.003246474079787731, -0.013378032483160496, 0.004216758534312248, -0.04075509309768677, 0.02974223531782627, 0.023731861263513565, -0.03740270808339119, 0.03372228145599365, -0.016117146238684654, 0.03366369381546974, 0.03808911144733429, -0.0036142042372375727, -0.02260785549879074, -0.035016853362321854, 0.004984937608242035, 0.009819716215133667, 0.038977742195129395, 0.006421118974685669, -0.004323536995798349, -0.012850749306380749, -0.013368643820285797, -0.04624204710125923, 0.011091435328125954, -0.038006581366062164, -0.03325013816356659, 0.01435230765491724, 0.051243118941783905, 0.0065729874186217785, 0.05179322510957718, -0.0007662659627385437, -0.0169006809592247, 0.07368170469999313, -0.09566228091716766, 0.0012326800497248769, -0.04225699231028557, -0.06827875971794128, 0.01728505827486515, 0.010661461390554905, 0.02626148611307144, -0.03758220002055168, 0.03602834790945053, 0.02044997364282608, 0.039031267166137695, 0.029436621814966202, -0.012593826279044151, 0.036384306848049164, -0.05660471320152283, 0.008174498565495014, -0.07707992196083069, 0.019174544140696526, 0.04457384720444679, 0.006820669863373041, -0.017323344945907593, -0.03840433061122894, -0.03900410607457161, 0.062241364270448685, -0.06629116833209991, -0.006317896768450737, 0.04272723197937012, 0.01495335903018713, -0.0019325297325849533, -0.0012330360477790236, -0.06018655002117157, 0.024243883788585663, 0.0339759960770607, -0.034388620406389236, 0.0011534567456692457, -0.028385622426867485, 0.04118752479553223, 0.0003838686097878963, 0.023217154666781425, -0.03705500811338425, 0.04213055595755577, 0.06435344368219376, 0.03203696012496948, 0.035215333104133606, 0.02296580746769905, -0.030765347182750702, 0.043603938072919846, 0.053912460803985596, -0.008570046164095402, -0.01822022907435894, 0.015330865979194641, 0.01859729178249836, -0.040015146136283875, 0.023791363462805748, 0.006913282908499241, -0.04296159744262695, -0.04859130457043648, 0.062419816851615906, 0.01809033751487732, -0.024624383077025414, -0.039764124900102615, -0.0024684674572199583, -0.06846834719181061, -0.023473676294088364, -0.011347932741045952, -0.017783217132091522, -0.030271749943494797, 0.0465870201587677, 0.0021883011795580387, -0.028229376301169395, 0.08134385198354721, -0.00016340652655344456, 0.008366354741156101, -0.03375820815563202, 0.06666848063468933, 0.07741310447454453, 0.050601497292518616, -0.013551591895520687, 0.04766639694571495, -0.01765563152730465, -0.03939703106880188, 0.0636359304189682, -0.014604299329221249, -0.014536036178469658, -0.044637683779001236, 0.05365506187081337, 0.06142172962427139, -0.0029487181454896927, 0.04122389107942581, -0.039663758128881454, 0.0158966276794672, -0.010733752511441708, 0.014224600978195667, 0.024509718641638756, 0.07655437290668488, 0.0340704582631588, 0.010339241474866867, -0.00026318870368413627, -0.039122190326452255, 0.006316442508250475, -0.03984733298420906, -0.016455616801977158, 0.024182414636015892, -0.016313999891281128, 0.024502310901880264, 0.04250472038984299, 0.015123148448765278, 0.07451187074184418, -0.023409171029925346, 0.002911969320848584, -0.01478926558047533, 0.058583132922649384, 0.047530557960271835, 0.005777227692306042, -0.03119964711368084, -0.009034615941345692, 0.02894199825823307, -0.020332660526037216, -0.021511660888791084, -0.005030128639191389, -0.020874422043561935, 0.05883534625172615, -0.008744385093450546, 0.017709147185087204, 0.019374502822756767, 0.01993289589881897, -0.03197171539068222, -0.07034493237733841, -0.05941137298941612, -0.054670557379722595, -0.05914175137877464, -0.027298571541905403, 0.01066455990076065, -0.008580685593187809, -0.037035152316093445, -0.014361881650984287, -0.023786289617419243, -0.009576855227351189, 0.05380820855498314, -0.048349473625421524, -0.02955445647239685, 0.03345727175474167, 0.01382895465940237, 0.045550063252449036, 0.01753898710012436, 0.044032614678144455, 0.010454111732542515, -0.014491543173789978, -0.022782865911722183, -0.006060102488845587, 0.043932218104600906, -0.010137921199202538, 0.005781687330454588, -0.08024871349334717, 0.015938179567456245, 0.01984602026641369, -0.007664007600396872, -0.05592475086450577, 0.028232023119926453, -0.012242262251675129, -0.027832185849547386, 0.06395312398672104, -0.024855485185980797, -0.012875941582024097, -0.017380930483341217, -0.017353439703583717, 0.010443141683936119, 0.03923254832625389, 0.02537114918231964, -0.028069673106074333, 0.09336145222187042, 0.007699903566390276, -0.03887171670794487, -0.028205880895256996, 0.009063259698450565, -0.0075677004642784595, 0.0029098845552653074, -0.03769264742732048, -0.02094021812081337, -0.027494117617607117, -0.051370564848184586, -0.017065200954675674, 0.009299244731664658, -0.030408650636672974, -0.02218792401254177, 0.007822634652256966, 0.035495512187480927, -0.043835002928972244, 0.027952607721090317, -0.022606369107961655, 0.058458130806684494, -0.022395649924874306, -0.0016545277321711183, 0.012990587390959263, -0.029991017654538155, 0.004856218118220568, 0.008281996473670006, 0.016598474234342575, -0.022177543491125107, -0.01482301764190197, -0.009554404765367508, 0.036188870668411255, 0.02405378594994545, -0.007998839020729065, -0.0005619598086923361 ]
[ -0.10825274139642715, -0.004477739334106445, -0.0007754561956971884, -0.04400509223341942, 0.03467356041073799, -0.04814910888671875, -0.009842831641435623, 0.04010121896862984, 0.0009922959143295884, -0.008537407033145428, -0.01010991632938385, -0.030199166387319565, -0.023243175819516182, -0.0060775866732001305, 0.08420706540346146, 0.008015231229364872, -0.021844057366251945, -0.027702605351805687, -0.009444017894566059, 0.016221780329942703, -0.0037732247728854418, -0.01853053830564022, -0.041565295308828354, -0.019626619294285774, 0.012500074692070484, 0.047159817069768906, 0.028461599722504616, -0.020289409905672073, 0.018161537125706673, -0.20690485835075378, -0.002923718187958002, -0.016985680907964706, 0.031860388815402985, -0.0035456488840281963, 0.008549174293875694, 0.04900117218494415, -0.003323555691167712, 0.045031629502773285, -0.020205140113830566, 0.054550062865018845, 0.03773600608110428, 0.04144744947552681, -0.07068613916635513, -0.05461447313427925, 0.024620793759822845, 0.014780022203922272, 0.017063729465007782, -0.04817529022693634, -0.024947309866547585, 0.032031212002038956, -0.06099836155772209, -0.06457683444023132, -0.018521782010793686, -0.028285974636673927, 0.013777995482087135, 0.03254595398902893, 0.032190024852752686, 0.07658597826957703, 0.03125818446278572, 0.032984599471092224, 0.007008197717368603, -0.03160528466105461, -0.11587463319301605, 0.07719557732343674, 0.07117398828268051, 0.07025732100009918, -0.025328774005174637, -0.040226832032203674, 0.014609988778829575, 0.12290681153535843, 0.006592140533030033, -0.011095642112195492, -0.005910690873861313, 0.045325782150030136, 0.005748454015702009, 0.0019838642328977585, -0.016989000141620636, 0.012529867701232433, 0.052930429577827454, -0.04163596034049988, -0.05398794636130333, -0.0363902747631073, -0.0000031745505566505017, -0.01659199967980385, -0.02703392319381237, 0.011585359461605549, -0.02121572755277157, 0.06028669327497482, 0.08071203529834747, 0.03694584593176842, 0.06427133083343506, -0.022073067724704742, 0.05813872069120407, 0.011509678326547146, -0.08523070812225342, 0.010683749802410603, -0.01527546625584364, 0.016147254034876823, -0.04037783667445183, 0.4381245970726013, -0.04102219641208649, -0.03281346708536148, 0.07042813301086426, 0.022021912038326263, -0.03786376118659973, 0.009127029217779636, 0.009213589131832123, -0.031171103939414024, 0.008126110769808292, -0.02982768788933754, 0.00502332067117095, 0.01265694946050644, 0.0368293896317482, -0.046583522111177444, -0.011760257184505463, 0.02167017199099064, -0.004887267015874386, 0.006565967574715614, 0.003444466507062316, 0.011344566941261292, 0.030481569468975067, 0.010038272477686405, 0.00686862925067544, 0.02763378992676735, -0.0032146195881068707, -0.0017458992078900337, 0.01878882385790348, 0.04844430834054947, -0.008511003106832504, 0.03148074075579643, 0.027431443333625793, -0.02947537787258625, -0.08545484393835068, 0.010009470395743847, 0.015589561313390732, 0.029083769768476486, 0.02742348425090313, -0.021292677149176598, 0.008826528675854206, 0.05484917014837265, -0.017610937356948853, -0.0032383878715336323, 0.01003110222518444, -0.008451506495475769, -0.040911465883255005, 0.10028126835823059, -0.016672877594828606, -0.02268337830901146, -0.018839823082089424, -0.03452705591917038, 0.007814684882760048, 0.06318768113851547, -0.017698656767606735, -0.07307175546884537, 0.026144463568925858, 0.002758665708824992, 0.06337256729602814, -0.021951258182525635, -0.036446452140808105, -0.014238562434911728, -0.04047079011797905, 0.0099177910014987, -0.060305461287498474, 0.0002387435088166967, 0.027285659685730934, -0.08647527545690536, -0.016562003642320633, 0.005963644478470087, 0.030499864369630814, -0.054488614201545715, -0.0430549681186676, 0.04875663295388222, -0.030767662450671196, -0.03880421817302704, 0.05839024856686592, -0.019884055480360985, -0.02997545339167118, 0.012322605587542057, 0.04951734468340874, 0.014456474222242832, 0.02196190506219864, 0.026547344401478767, -0.06263216584920883, 0.025678249076008797, -0.005033074412494898, -0.07965780794620514, -0.03771311789751053, 0.002656152006238699, -0.04356894642114639, 0.014957662671804428, -0.04438437893986702, -0.04222821816802025, -0.09316269308328629, 0.06673625856637955, -0.02183988131582737, -0.016567207872867584, 0.004851307719945908, -0.012464646250009537, -0.015903964638710022, -0.006931361276656389, 0.030973028391599655, 0.05160057917237282, 0.00550718093290925, 0.02586391009390354, -0.0690145194530487, 0.09733496606349945, 0.044462379068136215, -0.049058571457862854, 0.09049969166517258, 0.06206401437520981, -0.054783906787633896, -0.031585488468408585, 0.04047153890132904, 0.0030809955205768347, 0.023030824959278107, -0.02635430172085762, -0.014427986927330494, 0.025137024000287056, 0.011820300482213497, 0.014559833332896233, -0.03153543174266815, -0.007504215929657221, -0.010196496732532978, -0.33272138237953186, -0.041485659778118134, -0.018757624551653862, -0.029982147738337517, 0.01067834161221981, -0.05923346430063248, 0.02048383839428425, -0.01880304142832756, -0.035060398280620575, -0.012338669039309025, 0.052759990096092224, -0.03345923870801926, 0.012284349650144577, -0.0666130855679512, -0.003527342341840267, -0.012890229001641273, -0.02861695922911167, -0.031231796368956566, -0.06271273642778397, -0.0006221228977665305, 0.0015366333536803722, -0.010738388635218143, -0.006787944585084915, -0.08357042074203491, 0.019666967913508415, -0.05823362246155739, 0.1118294894695282, -0.04590396583080292, 0.09902174770832062, -0.026577496901154518, 0.06162705644965172, -0.008989056572318077, 0.027486655861139297, -0.0780925303697586, 0.010539076291024685, -0.0003628002305049449, -0.0071204351261258125, -0.0031639733351767063, 0.02860191836953163, -0.02656593918800354, -0.003097889479249716, 0.006005411501973867, -0.048517316579818726, -0.04878713935613632, -0.04523671418428421, 0.005476929247379303, -0.043034691363573074, -0.044890329241752625, -0.03262830525636673, 0.0754149854183197, 0.011481516063213348, -0.004205795004963875, 0.04380468651652336, 0.018149053677916527, -0.005414439365267754, -0.027315841987729073, -0.06646783649921417, 0.0176579300314188, 0.028626566752791405, 0.005811974871903658, 0.05046297237277031, 0.06213419511914253, 0.031314048916101456, -0.05481803044676781, 0.009166174568235874, 0.011186972260475159, 0.029741274192929268, -0.0421268530189991, 0.019226152449846268, -0.029125798493623734, -0.030950020998716354, 0.07893121987581253, 0.004818062763661146, -0.020234959200024605, 0.025326484814286232, 0.046754512935876846, -0.020304130390286446, 0.04129117354750633, 0.008934429846704006, 0.006658915430307388, 0.007845235988497734, -0.0019445857033133507, 0.02014259621500969, -0.0404556505382061, -0.005604944657534361, 0.02218990959227085, -0.022904718294739723, -0.037240348756313324, 0.019064247608184814, -0.005418669432401657, -0.04029189050197601, -0.0024474465753883123, -0.010550306178629398, -0.039872314780950546, 0.08506754040718079, -0.01642175205051899, -0.24839311838150024, -0.02933843620121479, 0.08354160189628601, 0.038626279681921005, -0.009294974617660046, 0.03974396735429764, 0.01002794224768877, -0.03602803125977516, 0.018541712313890457, -0.00978127308189869, -0.007245371583849192, 0.029046274721622467, -0.006237272173166275, -0.0033113760873675346, 0.05540669336915016, -0.01368645392358303, 0.03734726831316948, -0.001052452134899795, 0.036899276077747345, -0.028044067323207855, 0.025407055392861366, -0.001251577283255756, 0.17286601662635803, 0.009748363867402077, 0.03616087883710861, 0.03148205578327179, 0.013107787817716599, 0.016241570934653282, 0.0891135185956955, -0.001026478479616344, -0.008947901427745819, -0.009309683926403522, 0.06702597439289093, 0.008391856215894222, 0.01513323001563549, -0.07347318530082703, -0.03607194498181343, 0.022514155134558678, 0.02051318995654583, 0.013718714006245136, 0.03123159147799015, 0.002283337991684675, -0.03568287566304207, 0.03483061492443085, 0.06301548331975937, 0.01218115072697401, -0.019433289766311646, -0.0320688895881176, -0.0481797493994236, -0.011778219603002071, -0.04313475638628006, -0.04596635326743126, 0.014619998633861542, -0.015308283269405365, -0.003304586512967944, 0.05435068532824516, 0.004632288124412298, 0.004796123597770929, -0.0034103342331945896, -0.005198068916797638, 0.020033612847328186, -0.007256632205098867, 0.09762081503868103, -0.0012365542352199554, 0.022774899378418922 ]
[ -0.028081927448511124, 0.020177070051431656, 0.017040815204381943, 0.02659401297569275, -0.019631484523415565, 0.013457219116389751, 0.0011339340126141906, 0.008259258233010769, -0.021844418719410896, 0.011548986658453941, -0.01340270321816206, -0.00889978464692831, -0.004839514382183552, -0.000006217167538125068, 0.03394392877817154, 0.0009865383617579937, -0.008871342055499554, -0.0005332628497853875, 0.027686506509780884, 0.030061280354857445, -0.023525942116975784, 0.011928539723157883, -0.007009625434875488, -0.008924750611186028, -0.009704310446977615, 0.037789639085531235, 0.00481318449601531, 0.010271696373820305, 0.019902359694242477, -0.1372009515762329, -0.0350082665681839, -0.03872406482696533, -0.011383134871721268, 0.027065318077802658, -0.022707128897309303, -0.014776111580431461, 0.03916704282164574, 0.06074865162372589, 0.015348799526691437, 0.01373764406889677, -0.0028084407094866037, -0.0013754182728007436, 0.007910926826298237, -0.014365073293447495, -0.012862314470112324, -0.009829328395426273, -0.00002394764669588767, -0.032064300030469894, -0.016910431906580925, -0.03835197538137436, -0.027243373915553093, 0.005007166415452957, -0.015515338629484177, -0.01642633229494095, 0.017897827550768852, -0.02485174499452114, 0.026566091924905777, -0.01476907730102539, 0.017574604600667953, -0.017530806362628937, 0.007838081568479538, -0.012333886697888374, -0.00979489367455244, -0.027795813977718353, -0.016859618946909904, -0.005660762079060078, -0.0023866191040724516, 0.006685879081487656, 0.004258860368281603, -0.00622208509594202, -0.001592968008480966, 0.013741301372647285, 0.014750908128917217, 0.002304243389517069, -0.013607723638415337, 0.03303935006260872, -0.00378240505233407, 0.0030034324154257774, 0.03542485460639, 0.0020053372718393803, -0.03277123346924782, 0.0060189105570316315, 0.016025692224502563, 0.01315742265433073, 0.003025215584784746, 0.028760051354765892, 0.023372400552034378, 0.009987996891140938, 0.018338922411203384, 0.011601639911532402, -0.015165247023105621, 0.006484526675194502, 0.013526068069040775, 0.024018075317144394, -0.07523021101951599, 0.018715091049671173, -0.031416308134794235, -0.03567422553896904, 0.0014789155684411526, 0.8647157549858093, -0.004041151609271765, 0.04981164634227753, 0.03934483230113983, 0.0340331606566906, 0.0007718006381765008, -0.018040677532553673, 0.010956908576190472, 0.019766900688409805, 0.006679614074528217, -0.027430705726146698, -0.0010915406746789813, 0.02859213389456272, 0.017072154209017754, 0.02702638879418373, 0.006875703111290932, -0.002645260188728571, 0.009720326401293278, -0.01538373064249754, -0.007741470355540514, 0.017282815650105476, 0.06545302271842957, -0.008188112638890743, 0.0035123880952596664, 0.008019747212529182, 0.040571317076683044, -0.1615683138370514, -0.0039809029549360275, -8.890946296676407e-33, 0.034689076244831085, -0.019783712923526764, 0.015596248209476471, 0.018868502229452133, -0.0032218010164797306, 0.008715884760022163, 0.035565197467803955, 0.05419124662876129, 0.009515215642750263, -0.04540802538394928, 0.011943603865802288, -0.02400101348757744, -0.01450909674167633, -0.021143347024917603, 0.038036104291677475, -0.013882547616958618, -0.017607998102903366, 0.02496524155139923, -0.01850813999772072, 0.019101284444332123, -0.007363159209489822, 0.018601112067699432, 0.005524980369955301, 0.0004881058703176677, 0.01824072375893593, -0.010870751924812794, -0.0015558286104351282, 0.046616602689027786, -0.03512135520577431, -0.05718154460191727, 0.011569565162062645, 0.023472720757126808, -0.01183753926306963, 0.027507973834872246, 0.013338346965610981, -0.03448593616485596, 0.020612195134162903, -0.0030897220131009817, 0.0008514128276146948, -0.020251864567399025, -0.03019026480615139, -0.025330286473035812, -0.059079449623823166, 0.013170801103115082, -0.012924578972160816, -0.020592352375388145, -0.011312109418213367, -0.01631171628832817, 0.02152881771326065, -0.01243322528898716, -0.002260198350995779, 0.07636556774377823, -0.03207359462976456, -0.006865278352051973, -0.02028200589120388, 0.0016402251785621047, 0.01887628063559532, 0.006003714166581631, -0.007744187023490667, 0.0018980593886226416, -0.014409164898097515, -0.0019278938416391611, -0.021785058081150055, 0.02138381078839302, -0.024955039843916893, -0.02371349185705185, 0.013334525749087334, -0.010650771670043468, 0.023944873362779617, 0.0025600565131753683, -0.030229514464735985, 0.0022204851265996695, -0.0041343956254422665, -0.009777165949344635, 0.042630527168512344, -0.012226072140038013, -0.0011792294681072235, 0.00897111278027296, -0.015369664877653122, -0.0015619754558429122, 0.01064383052289486, 0.01580296829342842, -0.017791343852877617, 0.003728840732946992, 0.00630686292424798, -0.02501598559319973, 0.006841743364930153, -0.006776334717869759, -0.01228844653815031, 0.01047400664538145, 0.0320676788687706, 0.009539192542433739, -0.024204421788454056, -0.04300220310688019, -0.02444883994758129, 8.604066900358227e-33, 0.0031744937878102064, -0.04262625798583031, -0.017391350120306015, 0.027292519807815552, -0.01240744162350893, -0.01169954426586628, -0.0037457821890711784, 0.022342490032315254, -0.04965033382177353, 0.029149571433663368, 0.004106819164007902, -0.015134374611079693, -0.00561754684895277, 0.006325601600110531, 0.035556793212890625, -0.012894632294774055, 0.019838806241750717, -0.054724305868148804, 0.0456305555999279, -0.021970517933368683, 0.043254952877759933, 0.00892647448927164, 0.03881049528717995, -0.01677921786904335, -0.010894321836531162, 0.04222209006547928, -0.036930929869413376, 0.009125341661274433, 0.0075992983765900135, -0.018373021855950356, -0.02432217262685299, -0.01021490152925253, 0.020833926275372505, -0.00018317777721676975, -0.02381373941898346, 0.007109795697033405, -0.014227580279111862, -0.03640970215201378, 0.010528388433158398, -0.006635029334574938, 0.008571283891797066, -0.021781332790851593, 0.009887631982564926, 0.00688788341358304, 0.01988343521952629, 0.004136358387768269, 0.021182909607887268, 0.004392526112496853, 0.0002214269043179229, 0.0015869018388912082, 0.010516162030398846, 0.00836716778576374, 0.006489671766757965, -0.016551481559872627, -0.00614327285438776, -0.012130852788686752, -0.04052555933594704, -0.02994828298687935, -0.014276623725891113, 0.062470726668834686, -0.005301469471305609, 0.006191886495798826, -0.040888842195272446, 0.009543735533952713, -0.05501151829957962, -0.003542562248185277, -0.0061360737308859825, -0.003596362890675664, -0.0016554298344999552, -0.025957373902201653, -0.017265653237700462, -0.019807815551757812, -0.0037589252460747957, 0.038796279579401016, 0.036677226424217224, -0.04001062735915184, -0.010599382221698761, -0.0071286167949438095, 0.00233926041983068, 0.013265579007565975, 0.02192222699522972, -0.003831516019999981, 0.00547799002379179, -0.023407286033034325, 0.007255606818944216, 0.018210096284747124, -0.028296886011958122, 0.0040338835678994656, 0.010100902989506721, -0.007118417881429195, -0.028811216354370117, 0.015629788860678673, 0.015877600759267807, 0.006933792494237423, -0.00121410156134516, -1.4084108101997117e-8, -0.022452078759670258, 0.016901731491088867, 0.009541209787130356, 0.02321070060133934, 0.026418404653668404, -0.015429950319230556, -0.01629595085978508, 0.010673553682863712, -0.023760389536619186, 0.0014371848665177822, 0.06070718169212341, 0.0015246872790157795, -0.008884417824447155, 0.014446175657212734, 0.005658899899572134, -0.08527768403291702, -0.02933690883219242, -0.025737339630723, 0.03203769028186798, 0.026476658880710602, -0.0050564599223434925, 0.05032270774245262, -0.013353515416383743, 0.013085628859698772, 0.017230739817023277, -0.0011845390545204282, 0.022910742089152336, -0.06813646852970123, -0.0021605007350444794, 0.03353956714272499, -0.02168765664100647, -0.03460843116044998, 0.011213649995625019, 0.03715435042977333, -0.02632013149559498, -0.038786619901657104, 0.021408312022686005, 0.01904912479221821, 0.0274183452129364, -0.001148131676018238, 0.01999547705054283, -0.015526979230344296, -0.025940055027604103, -0.01942470297217369, -0.022237133234739304, 0.005686712916940451, -0.03714148327708244, 0.004443592857569456, -0.0007367843645624816, -0.054553333669900894, -0.002798820845782757, 0.023983988910913467, 0.004566117189824581, -0.0005371192237362266, -0.011442015878856182, 0.014053698629140854, 0.00535193644464016, -0.03537760674953461, -0.044872891157865524, 0.0050496673211455345, 0.006838102824985981, 0.03139134496450424, -0.007104204967617989, -0.027448223903775215 ]
refactoring-comment-it-out-vs-small-steps-removal
https://markhneedham.com/blog/2009/02/08/refactoring-comment-it-out-vs-small-steps-removal
false
2009-02-06 16:47:26
Agile: Why do we integrate early?
[ "agile", "integration" ]
[ "Agile" ]
One of the inevitabilities of most projects is that at some stage there is going to need be some sort of integration. The likes of Alistair Cockburn in http://www.markhneedham.com/blog/2008/11/05/crystal-clear-book-review/[Crystal Clear] and Andy Hunt/Dave Thomas in http://www.amazon.co.uk/Pragmatic-Programmer-Andrew-Hunt/dp/020161622X/ref=sr_1_1?ie=UTF8&s=books&qid=1233902988&sr=8-1[The Pragmatic Programmer] talk of the need to do integration early rather than letting it wait until later, but why? == Get the pain out the way To some degree every time we try to integrate there is going to be some level of pain - for me it therefore makes sense that we take this pain early on when we have the chance to do something about it rather than leaving it until later and being surprised at the problems it causes. We never really know that the system actually works as expected until it is fully integrated, and *integration inevitably leads to situations which we didn't know existed previously*. The potential problem we need to be careful about here is that we still deliver features with business value while doing our early integration otherwise we end up with the problem that we seem to be delivering absolutely nothing. == Code can be more example driven When we integrate later on one problem we face is that we have to try and assume what the integration will be like rather than actually knowing. While it is possible to somewhat isolate ourselves from other systems, at some stage we need to integrate and this can typically lead to different data flowing through, in a different format than expected and we need to handle these differences. *If we integrate late we are putting ourselves into a guessing game* of what we think we are going to integrate against and this leads us down the path of assumption driven development. This inevitably leads to us coding for some situations which won't actually happen when we are integrated and missing out some situations which we didn't actually know could happen until we integrated. == Less inventory In lean terms inventory is a product or part of a product which is basically in a state of waiting - either waiting for something to be done to it or waiting for a customer to buy it. I think we can find a similar analogy in terms of story cards where a part of that story is to integrate with another system for example. When we do the integration work needed later on the additional problem we face is that we naturally *lose some knowledge* in the time that the story is sitting waiting. In addition there is also *wasted time* as people regain the context of how the integration fits into the overall functionality of the story.
null
null
[ 0.01070124190300703, 0.016373561695218086, -0.011666861362755299, 0.039603009819984436, 0.10362066328525543, 0.028945153579115868, 0.016120439395308495, 0.05504205450415611, 0.0215387474745512, -0.025487149134278297, -0.02985295094549656, -0.010209910571575165, -0.05655461922287941, 0.0014361351495608687, -0.042755816131830215, 0.06911563873291016, 0.08186378329992294, -0.00990201998502016, 0.01284272875636816, 0.01235130149871111, 0.01530978549271822, 0.08339444547891617, 0.02211178094148636, 0.04011233523488045, 0.043940071016550064, -0.005305624566972256, 0.010343190282583237, -0.027582524344325066, -0.07488486915826797, -0.017807552590966225, 0.04957088455557823, -0.0038274701219052076, -0.004361700266599655, -0.017759572714567184, -0.005935940425843, -0.010254885070025921, -0.018894542008638382, 0.033882416784763336, -0.015052622184157372, -0.0014797273324802518, -0.06388582289218903, 0.056087709963321686, -0.008561509661376476, 0.0020415829494595528, -0.04434892162680626, -0.022959966212511063, -0.06768131256103516, 0.006595228333026171, -0.002528141485527158, -0.019991720095276833, -0.07240448147058487, 0.042703188955783844, -0.0206528902053833, -0.0004855284350924194, -0.017643678933382034, 0.03976263850927353, -0.002038797130808234, -0.057663194835186005, -0.004583454690873623, -0.04248707741498947, 0.028856847435235977, -0.026475589722394943, -0.00961946602910757, 0.00782693549990654, 0.03029133751988411, -0.03152584284543991, -0.004976227413862944, 0.03826412186026573, -0.03795328736305237, 0.01271075289696455, -0.04235706850886345, 0.007712752558290958, -0.0323544517159462, -0.0014052101178094745, -0.0069348192773759365, -0.06081336364150047, -0.002553582424297929, 0.06637190282344818, 0.022947009652853012, 0.050079815089702606, -0.03980916365981102, 0.04085502400994301, 0.02642805129289627, 0.020247116684913635, -0.00444274116307497, -0.0439472422003746, 0.023941220715641975, -0.014508480206131935, -0.060278259217739105, 0.05701012536883354, 0.015888450667262077, -0.07019759714603424, 0.02060699835419655, 0.029493385925889015, -0.01827174238860607, -0.0003278603544458747, 0.0362294465303421, 0.010895402170717716, -0.0017349300906062126, -0.012529212050139904, -0.032286591827869415, -0.012312686070799828, 0.01578499563038349, 0.001636630273424089, -0.064369335770607, -0.006803358905017376, -0.008044129237532616, -0.006138497963547707, -0.01660006120800972, -0.004973379895091057, -0.02734532207250595, 0.02114471048116684, -0.010873988270759583, -0.0006070344243198633, -0.07111980766057968, 0.05683793127536774, 0.01566867157816887, -0.03188478946685791, 0.00460943765938282, -0.0028028578963130713, 0.04508934170007706, -0.000106544976006262, -0.017010396346449852, 0.06454247236251831, 0.007745644543319941, 0.022185439243912697, -0.05092250928282738, 0.04188920557498932, -0.010920447297394276, -0.05511153116822243, -0.021943137049674988, 0.06347838044166565, -0.0336720235645771, -0.03825278952717781, 0.008839690126478672, -0.016789017245173454, 0.004309739917516708, 0.018597006797790527, 0.01903998851776123, 0.030391311272978783, -0.020597748458385468, -0.026805991306900978, 0.018198136240243912, 0.03081078827381134, 0.00774036068469286, 0.006369949318468571, 0.00745273195207119, -0.018411317840218544, -0.05069752410054207, -0.013230797834694386, 0.013070294633507729, 0.030010512098670006, 0.028457943350076675, -0.02470974437892437, 0.020202141255140305, 0.10804425179958344, 0.01490530464798212, 0.018741140142083168, -0.02934574894607067, 0.03693138808012009, 0.02698442153632641, 0.03559846803545952, 0.013497919775545597, 0.00892901886254549, 0.01205578725785017, -0.006693071220070124, -0.002863483503460884, 0.03518238291144371, 0.0036878949031233788, -0.004897729028016329, -0.04243035987019539, -0.04600067436695099, 0.050692953169345856, -0.03906751424074173, -0.003940504509955645, 0.05712259188294411, 0.0935780331492424, 0.03404791280627251, 0.015259839594364166, -0.011873798444867134, -0.07767153531312943, 0.02511521801352501, -0.0025077052414417267, 0.006700444966554642, 0.022734997794032097, -0.021547378972172737, 0.05599408224225044, 0.028794098645448685, -0.008453022688627243, 0.027577446773648262, -0.06842277944087982, -0.09267064929008484, -0.04393409937620163, -0.029720230028033257, 0.048917002975940704, -0.04968583956360817, -0.025281939655542374, 0.0638759508728981, -0.009507148526608944, 0.05916181951761246, 0.01856978051364422, 0.013473638333380222, 0.0021438016556203365, -0.03771999105811119, -0.023904671892523766, 0.06179868057370186, 0.03953585773706436, 0.019106216728687286, -0.03807076811790466, 0.022125817835330963, -0.004742682445794344, -0.013804502785205841, 0.0369708426296711, -0.028971167281270027, 0.05794870853424072, 0.0048179118894040585, 0.06308741867542267, -0.043090809136629105, 0.044757016003131866, -0.0595162995159626, 0.019816799089312553, 0.009057959541678429, -0.022802315652370453, 0.014811431057751179, 0.008452482521533966, 0.10493563115596771, 0.062411654740571976, -0.04714418947696686, -0.03556644916534424, 0.030421417206525803, 0.037913788110017776, -0.04896291717886925, -0.0009997541783377528, -0.0188207495957613, 0.005840032361447811, -0.009652803651988506, -0.057441506534814835, -0.02187442220747471, -0.00036441857810132205, -0.03771114721894264, 0.006032372359186411, 0.054731424897909164, -0.04058140516281128, 0.0676933154463768, 0.007453096564859152, -0.015043545514345169, -0.016867555677890778, -0.012526249513030052, -0.06616436690092087, -0.00442869309335947, 0.011535554192960262, -0.016532806679606438, 0.04643074423074722, -0.017121121287345886, -0.031099392101168633, -0.038638100028038025, -0.04188644513487816, 0.01597527787089348, 0.05310878902673721, 0.05983162671327591, 0.0039949556812644005, 0.03884761407971382, -0.008638338185846806, 0.04041796550154686, -0.006398355588316917, -0.04237399250268936, -0.04884939268231392, -0.025710683315992355, 0.0026007930282503366, 0.04559219256043434, -0.004721924662590027, -0.011621316894888878, 0.016441987827420235, 0.008131985552608967, -0.0149709302932024, -0.01622227020561695, 0.02595689706504345, 0.0019369402434676886, 0.0018759581726044416, -0.03935869038105011, 0.008146070875227451, 0.05562543123960495, -0.05675521492958069, -0.014388317242264748, 0.014133412390947342, -0.07786385715007782, 0.048921409994363785, -0.06584164500236511, -0.0354558490216732, -0.014868995174765587, 0.020910367369651794, 0.05276741459965706, 0.006056542508304119, 0.019743023440241814, 0.08030484616756439, 0.03378315642476082, 0.0056969160214066505, -0.00579681433737278, 0.012424754910171032, 0.042930640280246735, 0.014201687648892403, 0.0009615921881049871, 0.04597902297973633, 0.00631677033379674, 0.0037163093220442533, -0.06866136938333511, 0.06713201850652695, -0.04506769776344299, -0.27635765075683594, 0.01963459514081478, 0.01875450648367405, -0.05580337718129158, 0.03020741231739521, -0.017372803762555122, 0.0013497258769348264, -0.040277041494846344, -0.028429511934518814, 0.03141822665929794, -0.039836861193180084, -0.04677896946668625, -0.01970655471086502, 0.04543932527303696, 0.009259219281375408, 0.039188485592603683, 0.04492536559700966, -0.02726568467915058, -0.001113964943215251, 0.06628602743148804, -0.007929647341370583, -0.06718714535236359, 0.020275209099054337, 0.034816112369298935, 0.03452296182513237, 0.06002742052078247, -0.0807097777724266, 0.062167223542928696, -0.05203752592206001, 0.006659533362835646, -0.0055884006433188915, 0.005319289397448301, 0.0017527507152408361, -0.0412076897919178, -0.013308883644640446, -0.03691849112510681, 0.02938845381140709, 0.013403895311057568, -0.014965561218559742, 0.013015750795602798, -0.023384476080536842, -0.012965275906026363, 0.02238658256828785, 0.022923143580555916, 0.05704314261674881, -0.013684355653822422, -0.08266476541757584, 0.00572570925578475, -0.03574230894446373, 0.08688060939311981, -0.02570590190589428, -0.008575973100960255, 0.008613040670752525, 0.030736148357391357, -0.003925042226910591, 0.008823597803711891, -0.008363290689885616, -0.008060376159846783, -0.04109515994787216, -0.010207864455878735, -0.008318143896758556, -0.03031996451318264, -0.008764407597482204, -0.032284658402204514, 0.005240504629909992, -0.07126007229089737, -0.05262956768274307, -0.026902053505182266, 0.05878470093011856, 0.01068483293056488, -0.0339420922100544, 0.016372010111808777, 0.011224675923585892, -0.10904670506715775, -0.0112279849126935, -0.011545771732926369, -0.025982819497585297, -0.000609778449870646, 0.012100747786462307, 0.008500641211867332, -0.02282516285777092, -0.053642913699150085, 0.03988504409790039, -0.004079829901456833, 0.03966331109404564, -0.01635788567364216, 0.016399655491113663, 0.015526010654866695, -0.03600388765335083, 0.026926236227154732, 0.06720968335866928, 0.006508102174848318, -0.02775355987250805, -0.04383327439427376, 0.021085381507873535, -0.016784610226750374, 0.015766851603984833, -0.0018465243047103286, 0.007775985635817051, 0.01642751879990101, -0.01758033037185669, -0.05749620124697685, 0.017155857756733894, -0.015143292024731636, -0.009014410898089409, -0.03597884252667427, -0.05326820909976959, 0.03137703239917755, 0.0388820581138134, 0.02957518957555294, 0.011356235481798649, -0.016844581812620163, 0.003044555662199855, -0.05006846413016319, -0.06172838434576988, -0.0190390944480896, 0.0010503989178687334, 0.05300603806972504, -0.018968379124999046, -0.010955541394650936, -0.047111909836530685, 0.009766407310962677, 0.013222752138972282, 0.001328550511971116, -0.048497989773750305, -0.015590129420161247, -0.015162186697125435, -0.024029754102230072, 0.013623968698084354, 0.028145676478743553, -0.014714333228766918, 0.032845016568899155, 0.03330226242542267, -0.040771469473838806, -0.0027919751591980457, -0.052487608045339584, -0.04921480268239975, -0.014453262090682983, -0.004294014535844326, -0.0022657655645161867, 0.0025293349754065275, 0.022547205910086632, 0.016614137217402458, 0.005396637134253979, 0.042745646089315414, 0.016346503049135208, 0.026927288621664047, -0.006025488954037428, 0.023847276344895363, 0.01602446846663952, -0.0007390449172817171, -0.0755813792347908, 0.0336652435362339, -0.029795384034514427, -0.04072938486933708, -0.021498199552297592, 0.017357468605041504, -0.023848263546824455, -0.034627798944711685, -0.01399697083979845, 0.0216230396181345, -0.04609907418489456, -0.04466994106769562, -0.022911814972758293, 0.02481735311448574, 0.07300759106874466, -0.004527005832642317, -0.0007327450439333916, -0.020136428996920586, 0.005105546209961176, 0.020471157506108284, 0.019936904311180115, -0.04414033144712448, -0.008656761609017849, 0.019304057583212852, -0.0008264661300927401, -0.011722997762262821, -0.030004208907485008, 0.042062629014253616, 0.006993565708398819, -0.007883215323090553, -0.02914244867861271, 0.006827831268310547, 0.001975069520995021, 0.040967416018247604, -0.0032387450337409973, 0.004123666323721409, -0.013848268426954746, -0.024767287075519562, -0.05652464181184769, -0.06693745404481888, -0.019533200189471245, 0.010524912737309933, -0.004414577502757311, -0.03554980456829071, -0.06504315137863159, 0.04476970061659813, 0.01153799332678318, 0.008895844221115112, 0.022441431879997253, -0.010523058474063873, 0.0100432513281703, -0.04602966457605362, 0.0236666277050972, 0.0821833536028862, -0.05690011754631996, 0.0058578671887516975, 0.0006743880803696811, -0.00040987288230098784, 0.01858111284673214, -0.017806213349103928, -0.023944195359945297, -0.029609639197587967, -0.015450818464159966, 0.008868587203323841, -0.047783996909856796, -0.02600669674575329, -0.017494067549705505, 0.008048300631344318, -0.0029225877951830626, -0.008207499980926514, -0.019731616601347923, -0.006185099948197603, -0.027497265487909317, -0.007468572352081537, 0.01462508738040924, -0.04024454951286316, 0.009802814573049545, 0.028599366545677185, -0.015574302524328232, -0.026739366352558136, -0.031715232878923416, 0.012182081118226051, 0.008734415285289288, -0.024280324578285217, -0.011941696517169476, -0.031561244279146194, 0.011438911780714989, 0.022251859307289124, 0.02895057573914528, -0.023908888921141624, -0.03319196775555611, -0.009165061637759209, -0.008097589015960693, -0.03191855549812317, 0.02005843073129654, -0.02894839271903038, -0.025885429233312607, 0.012295632623136044, 0.07402423769235611, -0.002388228662312031, 0.024649670347571373, 0.013896903023123741, -0.014593151398003101, 0.03096112236380577, -0.04494454711675644, -0.036271363496780396, -0.017699414864182472, -0.0596688948571682, -0.004643514286726713, 0.005599673837423325, 0.011836189776659012, -0.05015544965863228, 0.04163249582052231, 0.03958989307284355, 0.06484836339950562, 0.05121598020195961, 0.024565503001213074, 0.043541356921195984, -0.04476315900683403, -0.000376136478735134, -0.08408844470977783, 0.01094797533005476, 0.007491565775126219, 0.016205254942178726, -0.017749803140759468, -0.0016709377523511648, -0.024296468123793602, 0.04386297985911369, -0.0720650777220726, -0.026440098881721497, 0.051346082240343094, -0.0000963754573604092, -0.0013500791974365711, 0.024628641083836555, -0.06549882143735886, 0.009653503075242043, 0.018787026405334473, -0.04785392805933952, -0.01295132003724575, -0.017415866255760193, 0.06794120371341705, 0.01783524639904499, 0.03955387696623802, -0.0570409931242466, -0.04583391547203064, 0.07048555463552475, 0.018617363646626472, 0.0001904487144201994, 0.04887225851416588, 0.005604198202490807, 0.04549846798181534, 0.04099798575043678, 0.02528844214975834, -0.014028751291334629, 0.011614478193223476, -0.004550911486148834, -0.04834428057074547, 0.022203654050827026, -0.0012059230357408524, 0.008516212925314903, -0.028636563569307327, 0.05499856546521187, 0.023965727537870407, -0.024510841816663742, -0.042935047298669815, -0.006947269197553396, -0.05762312188744545, 0.009344615042209625, -0.008200225420296192, -0.0132514713332057, -0.0642772987484932, 0.04903990775346756, -0.0049912226386368275, 0.011028289794921875, 0.0659501925110817, 0.012201002798974514, -0.008598407730460167, -0.02225359156727791, 0.09102333337068558, 0.0720185711979866, 0.06565417349338531, 0.028021764010190964, 0.050052955746650696, -0.009412994608283043, -0.03187188878655434, 0.032647427171468735, -0.036175113171339035, -0.012933577410876751, -0.03478052094578743, 0.010742311365902424, 0.05384961515665054, -0.0032685056794434786, 0.05426601320505142, -0.027109848335385323, -0.01606593281030655, 0.01398655865341425, 0.061506107449531555, 0.01240408793091774, 0.07664443552494049, 0.0056230961345136166, 0.01618882641196251, -0.004796694032847881, -0.05732957646250725, 0.024216627702116966, -0.027632752433419228, -0.009236572310328484, 0.04305814579129219, 0.008440928533673286, 0.010505184531211853, 0.015769829973578453, 0.029077958315610886, 0.08951754122972488, -0.05359470099210739, 0.017647285014390945, -0.023356840014457703, 0.0540485642850399, -0.01821295917034149, 0.01416550949215889, -0.02754000388085842, -0.01988034136593342, 0.004073759540915489, -0.015982018783688545, -0.0332687683403492, -0.0006854639505036175, -0.012328919023275375, 0.04928614944219589, -0.03974263742566109, 0.006142831407487392, 0.03448222950100899, 0.007770630065351725, -0.014679196290671825, -0.05731430649757385, -0.029182594269514084, -0.022574111819267273, -0.04061591252684593, -0.003349969396367669, 0.024489866569638252, -0.00797826424241066, -0.01362590491771698, -0.020021861419081688, 0.001147073577158153, -0.03508773073554039, 0.011530344374477863, -0.036466266959905624, -0.04032750427722931, 0.014363469555974007, 0.0163621474057436, 0.021122194826602936, 0.00453983386978507, 0.045530661940574646, -0.0024499152787029743, -0.0007028760737739503, -0.022329606115818024, 0.046645358204841614, 0.01420182641595602, 0.005014666821807623, 0.017500843852758408, -0.08710688352584839, 0.013837714679539204, 0.03409435600042343, -0.015005070716142654, -0.0671311765909195, 0.03380190581083298, 0.007697159890085459, -0.049017779529094696, 0.04954076558351517, -0.017762793228030205, 0.018857989460229874, -0.03491276502609253, -0.0156406220048666, -0.019209254533052444, 0.024304477497935295, 0.033750779926776886, -0.04381530359387398, 0.07562660425901413, 0.03887350484728813, 0.01570376753807068, -0.04512104392051697, -0.0025226727593690157, -0.005561432335525751, 0.01595311611890793, -0.0030597022268921137, -0.023338746279478073, -0.020899014547467232, -0.09275105595588684, -0.02510400116443634, 0.00047252143849618733, -0.018458116799592972, -0.022128066048026085, 0.04443436115980148, 0.034880224615335464, -0.029269598424434662, 0.031592484563589096, -0.04137345775961876, 0.019805997610092163, -0.032264214009046555, -0.020673630759119987, 0.021213224157691002, 0.0415513850748539, 0.001423915266059339, 0.004898256156593561, 0.017239687964320183, -0.05408402159810066, 0.02330610528588295, 0.008302022702991962, 0.021375030279159546, 0.046335991472005844, 0.01282915472984314, -0.005603954661637545 ]
[ -0.09026035666465759, -0.021282177418470383, -0.018916485831141472, -0.03128041326999664, 0.03296055644750595, -0.04249660298228264, -0.016955651342868805, 0.017270920798182487, 0.006779111456125975, -0.03352376073598862, 0.012853575870394707, -0.008898066356778145, -0.00781580526381731, -0.03186270222067833, 0.09645995497703552, 0.017909301444888115, -0.019596265628933907, -0.06780115514993668, 0.009645887650549412, 0.006667686626315117, 0.02812487818300724, -0.04517541825771332, -0.05608677491545677, -0.03636325150728226, 0.014343093149363995, 0.03403187915682793, 0.04473944008350372, -0.02959715761244297, 0.027964478358626366, -0.18864616751670837, -0.001095638028346002, 0.02418421022593975, 0.04602856934070587, -0.0405249260365963, 0.03807884082198143, 0.06460418552160263, -0.005702612455934286, 0.02127518318593502, -0.02196265570819378, 0.03978036716580391, 0.01843099109828472, 0.02355991303920746, -0.05262148752808571, -0.036735765635967255, 0.001119715510867536, 0.00521826883777976, -0.004718255251646042, -0.0263248048722744, -0.021652759984135628, 0.014302412047982216, -0.04180531948804855, -0.029589185491204262, -0.02088047005236149, -0.02755472995340824, -0.010969442315399647, 0.06000876426696777, 0.03084385208785534, 0.08503313362598419, 0.002538916654884815, 0.02052609808743, 0.015040362253785133, -0.04101961478590965, -0.12033262848854065, 0.07412499934434891, 0.08399124443531036, 0.047598615288734436, -0.05139539763331413, -0.038891714066267014, -0.032923582941293716, 0.10035626590251923, 0.0016343432944267988, -0.021871337667107582, -0.028993071988224983, 0.056428924202919006, 0.02385597862303257, 0.007571432739496231, 0.02048902027308941, 0.00876814778894186, 0.04260537400841713, -0.03609101474285126, 0.013111882843077183, 0.01055695116519928, -0.03847350552678108, 0.0036829423625022173, -0.05111471563577652, 0.021315183490514755, -0.014396930113434792, 0.054258815944194794, 0.038894329220056534, 0.021131914108991623, 0.042119067162275314, -0.0286424420773983, 0.03141358494758606, -0.006805594079196453, -0.054486386477947235, -0.0053521753288805485, -0.0010265925666317344, -0.0012550336541607976, -0.026450224220752716, 0.4324246346950531, -0.018816165626049042, -0.02269805409014225, 0.0948193371295929, 0.02617710456252098, -0.019486337900161743, 0.01166925486177206, -0.009276939556002617, -0.04852944239974022, 0.022556699812412262, -0.04606311023235321, 0.012517280876636505, 0.029026806354522705, 0.07585325837135315, -0.03986567258834839, 0.008082148618996143, 0.014932803809642792, -0.0016821174649521708, 0.00266600726172328, 0.023563334718346596, -0.029777899384498596, -0.004289974458515644, 0.035218048840761185, 0.013703283853828907, 0.023890884593129158, -0.05565521866083145, -0.04634486883878708, 0.0198923759162426, 0.05107461288571358, -0.002039019949734211, -0.018481295555830002, 0.0541953444480896, -0.03517913818359375, -0.03117312677204609, 0.02089514769613743, -0.011317997239530087, 0.010845799930393696, 0.009075406938791275, -0.012494035996496677, 0.0022301734425127506, 0.03971897065639496, -0.006134768947958946, -0.00552018778398633, 0.009462795220315456, -0.031129226088523865, -0.02972162887454033, 0.12309515476226807, 0.046423882246017456, -0.033825673162937164, -0.02131589688360691, -0.05433342978358269, 0.0008325494127348065, 0.037746042013168335, -0.003456005360931158, -0.045456502586603165, 0.015648381784558296, 0.00008598003478255123, 0.0916236862540245, -0.025528406724333763, -0.06243978813290596, 0.00584380142390728, -0.020333828404545784, -0.01094546914100647, -0.07180329412221909, 0.046319618821144104, 0.04238753020763397, -0.08676375448703766, 0.0012815436348319054, -0.00207096547819674, 0.04551657289266586, -0.0507105328142643, -0.02042650617659092, 0.013327594846487045, 0.00715226074680686, -0.006919057108461857, 0.08036244660615921, -0.04179097339510918, -0.032843634486198425, 0.04002534970641136, 0.041910331696271896, 0.015906687825918198, 0.033902425318956375, 0.01931888423860073, -0.02782251127064228, -0.004922699648886919, -0.019050883129239082, -0.09671292454004288, -0.04789821803569794, 0.0013447401579469442, -0.04284694418311119, -0.008115600794553757, -0.024052022024989128, 0.005269472021609545, -0.06558867543935776, 0.11084222793579102, -0.01965782605111599, -0.03531419113278389, 0.025125224143266678, -0.01478327065706253, -0.01821911334991455, -0.042217228561639786, -0.04464513063430786, 0.02970769628882408, -0.039970822632312775, 0.01013296190649271, -0.07582412660121918, 0.0476897768676281, 0.07111634314060211, -0.052546240389347076, 0.08978664129972458, 0.06975257396697998, -0.021074561402201653, -0.04011671990156174, 0.03363364189863205, 0.019341222941875458, 0.006096869707107544, -0.012439006939530373, -0.00010089460556628183, 0.03414314612746239, 0.004587931092828512, 0.038874655961990356, -0.04406280815601349, 0.014407639391720295, -0.019222425296902657, -0.34446099400520325, -0.0309243593364954, -0.021512746810913086, -0.004927034955471754, 0.007253406569361687, -0.06678048521280289, 0.003962227143347263, -0.00935568381100893, -0.05652832239866257, 0.012123914435505867, 0.07885000854730606, -0.005023477599024773, 0.014030160382390022, -0.06930653750896454, -0.005527756176888943, -0.013727438636124134, -0.038686078041791916, -0.01835300400853157, -0.04446721822023392, 0.025293974205851555, -0.019204987213015556, -0.0005865790299139917, -0.033486563712358475, -0.05664815381169319, -0.02215499058365822, -0.048292502760887146, 0.10565651953220367, -0.04813593253493309, 0.09380561858415604, -0.04680165648460388, 0.03919254243373871, 0.009092663414776325, 0.031614337116479874, -0.07868506014347076, 0.029268214479088783, -0.00689368462190032, 0.019233765080571175, -0.031608447432518005, 0.020761892199516296, -0.026600290089845657, -0.06957174837589264, 0.004817541688680649, -0.055028337985277176, -0.004237957298755646, -0.05255024880170822, 0.001172277145087719, -0.044938910752534866, -0.040355782955884933, -0.03501160070300102, 0.07232049852609634, 0.009777733124792576, -0.010369252413511276, 0.01471848413348198, 0.012142708525061607, -0.014772438444197178, -0.04086614400148392, -0.05701487138867378, 0.02899809554219246, 0.01863173209130764, -0.001516890013590455, 0.03054880164563656, 0.0803098976612091, 0.024398503825068474, -0.02738104946911335, 0.006632766220718622, 0.013854707591235638, 0.017606602981686592, -0.007872323505580425, 0.02988778054714203, -0.006899078842252493, -0.000356695702066645, 0.12020237743854523, -0.015054210089147091, -0.035714779049158096, 0.010526456870138645, 0.021437760442495346, -0.015442274510860443, 0.05377928167581558, 0.038179878145456314, -0.023637566715478897, 0.01831887848675251, -0.02972586639225483, 0.010055690072476864, -0.01609368808567524, 0.0050902157090604305, 0.03174636885523796, -0.01624756120145321, -0.05561016499996185, 0.03854271024465561, 0.03982066735625267, -0.027728499844670296, 0.010378072038292885, -0.003052898682653904, -0.054485712200403214, 0.10120588541030884, -0.0028103385120630264, -0.2353661209344864, 0.019186945632100105, 0.07758999615907669, 0.026322396472096443, -0.024484941735863686, 0.03496372699737549, 0.02622857876121998, -0.05289226025342941, 0.021316854283213615, 0.007633638568222523, 0.022098621353507042, 0.004544737748801708, 0.04118691012263298, 0.009928478859364986, 0.03544294834136963, -0.007483789697289467, 0.07249575853347778, -0.03534421697258949, 0.0340801477432251, -0.02572164312005043, 0.014230133034288883, -0.005862804129719734, 0.1663265824317932, 0.010694704949855804, 0.020671064034104347, 0.012589174322783947, -0.012419410981237888, 0.023212166503071785, 0.07435398548841476, 0.01623854599893093, -0.013538230210542679, 0.01649768278002739, 0.022148065268993378, -0.012106853537261486, 0.03516668826341629, -0.06729914993047714, -0.02055273950099945, 0.028566934168338776, 0.023947983980178833, 0.004648251924663782, -0.0010516983456909657, -0.014874730259180069, -0.015461795032024384, 0.02645263634622097, 0.0512082614004612, 0.015748905017971992, -0.02990204095840454, -0.04488803818821907, -0.054059240967035294, -0.015181516297161579, -0.0461106151342392, -0.03560333698987961, 0.010221601463854313, -0.017500335350632668, 0.005512000061571598, 0.05768635869026184, 0.016185203567147255, -0.024194898083806038, -0.016827501356601715, 0.015512348152697086, -0.010351329110562801, -0.02998538501560688, 0.10298533737659454, 0.02405146136879921, 0.014554823748767376 ]
[ 0.018985392525792122, 0.023998336866497993, 0.007179717067629099, -0.004502744413912296, -0.021889524534344673, -0.014416310004889965, 0.007315243128687143, 0.01206975243985653, 0.002325786743313074, 0.0013500540517270565, 0.01583108678460121, 0.031229710206389427, 0.025171631947159767, -0.007968276739120483, 0.02045586332678795, -0.015278655104339123, 0.016076432541012764, -0.01281646080315113, 0.01636369712650776, -0.016951419413089752, -0.04048164561390877, 0.020042866468429565, -0.024043792858719826, 0.004579480271786451, 0.0016795023111626506, 0.021171119064092636, 0.005624426994472742, -0.008744203485548496, 0.031794268637895584, -0.15405742824077606, -0.012384292669594288, -0.030796391889452934, 0.016774380579590797, -0.006734180264174938, 0.004895555786788464, -0.0016442874912172556, 0.025348808616399765, -0.004316647071391344, -0.0037167423870414495, -0.02033599466085434, 0.01627139188349247, -0.008489342406392097, -0.015202895738184452, 0.021013528108596802, 0.012133384123444557, -0.01080035325139761, -0.014505909755825996, -0.03663932904601097, 0.004247600678354502, -0.02157740853726864, -0.04429846256971359, 0.0008217308204621077, -0.004800634458661079, -0.0066960654221475124, -0.0007731717196293175, 0.021038932725787163, 0.01828901842236519, 0.01264109369367361, -0.022288084030151367, -0.022689923644065857, -0.014218412339687347, -0.031085742637515068, -0.03316133841872215, -0.015703260898590088, -0.003023233264684677, 0.012523929588496685, -0.021685531362891197, 0.02493426389992237, -0.03580237925052643, -0.00654820678755641, -0.016769059002399445, -0.0006410450441762805, -0.046358898282051086, -0.03309755027294159, 0.006350009702146053, 0.020202698186039925, 0.02869650349020958, -0.022098984569311142, 0.0034857625141739845, -0.0003726755967363715, -0.04948892071843147, 0.0538906529545784, -0.010495469905436039, -0.016536863520741463, -0.02027537114918232, 0.009826621040701866, 0.026419803500175476, 0.007569898385554552, 0.021557215601205826, 0.010494048707187176, -0.0006985573563724756, 0.016589703038334846, -0.02218930423259735, -0.013544335030019283, -0.0645313709974289, -0.0032971189357340336, 0.005372944753617048, -0.03624521568417549, 0.0030460988637059927, 0.8574758768081665, 0.008531684055924416, 0.01620887778699398, 0.05054191127419472, 0.009463676251471043, 0.010728529654443264, -0.02190314419567585, -0.005365740042179823, 0.01645522378385067, 0.009634500369429588, -0.0341542549431324, 0.0004885474918410182, -0.009845266118645668, 0.06219136342406273, 0.021617064252495766, 0.025685496628284454, 0.032461315393447876, -0.013948637060821056, -0.01091636810451746, -0.01443308312445879, -0.010436506941914558, 0.049906957894563675, 0.060668326914310455, 0.003851685905829072, 0.007351096253842115, 0.008345646783709526, -0.19013656675815582, -0.01180973555892706, -9.265563121972023e-33, -0.013750278390944004, -0.025777878239750862, 0.004661584738641977, 0.01258109975606203, 0.003201517276465893, -0.013846236281096935, 0.038807787001132965, 0.015054521150887012, -0.006259451154619455, -0.016170604154467583, 0.0021306886337697506, 0.007821683771908283, -0.018627114593982697, 0.005814579781144857, 0.01941235177218914, -0.0007090625003911555, 0.0041405921801924706, 0.06182023510336876, -0.007356735877692699, 0.03406042978167534, 0.013912100344896317, 0.0016250695334747434, 0.012279310263693333, 0.019972287118434906, 0.046590179204940796, 0.01879168674349785, 0.0008792639127932489, 0.008369400165975094, 0.00835062749683857, -0.054474592208862305, -0.018404453992843628, 0.030953334644436836, -0.03215222433209419, -0.040972109884023666, 0.004823743365705013, -0.05701658874750137, -0.029835395514965057, -0.010012581013143063, -0.0147003885358572, -0.022245759144425392, -0.028417397290468216, 0.004447307903319597, -0.035625215619802475, 0.02379920519888401, 0.006381920538842678, -0.011330939829349518, 0.003188043599948287, 0.010211372748017311, 0.04288579896092415, 0.0015476170228794217, 0.0052222320809960365, 0.009437981992959976, 0.010554501786828041, -0.004714400973170996, -0.016895098611712456, 0.007401358336210251, -0.019443174824118614, -0.014429708011448383, -0.025972900912165642, 0.012310904450714588, -0.01061918307095766, 0.021811820566654205, -0.017577573657035828, 0.03535544127225876, -0.03648829460144043, -0.01677749492228031, 0.0058252206072211266, 0.03473600745201111, 0.005296996328979731, -0.012745211832225323, -0.03419313207268715, -0.021694255992770195, -0.022416070103645325, -0.016381628811359406, 0.029418351128697395, -0.019032472744584084, -0.047292448580265045, 0.022963888943195343, 0.0006599822663702071, 0.0418461449444294, 0.008300590328872204, -0.015842396765947342, -0.0428147055208683, -0.022925863042473793, 0.0013948779087513685, 0.01577957719564438, 0.033132314682006836, -0.0008742536301724613, 0.01634414680302143, -0.022601565346121788, 0.008946793153882027, -0.0021625941153615713, 0.005958623718470335, -0.004530972335487604, -0.016138087958097458, 8.930653026479245e-33, 0.01562761515378952, -0.04824372008442879, -0.0036730035208165646, -0.002024949062615633, 0.003325797850266099, 0.025330286473035812, 0.02967843972146511, -0.013733193278312683, -0.021348362788558006, 0.03169472888112068, -0.016202539205551147, 0.032848961651325226, -0.030280234292149544, 0.009954364970326424, 0.0280300285667181, -0.014814806170761585, 0.029741860926151276, -0.0035160325933247805, 0.038490988314151764, 0.017333336174488068, 0.012341810390353203, -0.0002028454327955842, 0.013801006600260735, -0.002005703514441848, 0.011678541079163551, 0.04287242889404297, -0.034376610070466995, 0.022898249328136444, -0.0068509988486766815, 0.013704718090593815, 0.00799819827079773, 0.02583247236907482, 0.020862441509962082, -0.0218141358345747, -0.048833854496479034, -0.00925192330032587, -0.008377707563340664, -0.020824555307626724, -0.00019016589794773608, -0.01389273814857006, 0.023760657757520676, -0.02134620025753975, 0.011505465023219585, 0.0007765475893393159, 0.00751988310366869, -0.012465805746614933, -0.024278605356812477, -0.031280115246772766, -0.013204122893512249, 0.02943580225110054, -0.016372058540582657, 0.03421775624155998, 0.04359988123178482, -0.0067088124342262745, -0.016395537182688713, 0.0071323225274682045, -0.03339608758687973, -0.005111195147037506, -0.006916971877217293, 0.04177393019199371, 0.010554570704698563, 0.010307593271136284, 0.003107483731582761, -0.009876732714474201, -0.04046039283275604, 0.004020836669951677, 0.013320818543434143, 0.0023610079661011696, -0.011266462504863739, -0.03354012593626976, -0.00008988691843114793, 0.009021558798849583, 0.010180954821407795, 0.03244428709149361, 0.01052514836192131, -0.004174013156443834, -0.032646894454956055, 0.008161911740899086, -0.006056653801351786, 0.014368713833391666, -0.008577078580856323, -0.00825512781739235, 0.016054604202508926, 0.0030028773471713066, -0.011731651611626148, -0.0010903694201260805, -0.02079540118575096, 0.012926697731018066, 0.0010180907556787133, -0.01630246639251709, -0.008541769348084927, 0.003546969499439001, 0.008221189491450787, 0.021790947765111923, -0.015245758928358555, -1.429951357323489e-8, -0.004742747638374567, -0.013911820948123932, -0.009411136619746685, 0.016094578430056572, 0.011291580274701118, -0.02229885943233967, -0.025104807689785957, 0.0019834046252071857, -0.019146203994750977, 0.03393472731113434, 0.049420617520809174, -0.034157343208789825, -0.021445946767926216, 0.00738183781504631, 0.023925652727484703, -0.042129483073949814, -0.0287166740745306, -0.0396006815135479, 0.02492128312587738, -0.01915310136973858, 0.05068311095237732, 0.07204578071832657, -0.010134880430996418, -0.005307142157107592, 0.033456046134233475, -0.012359511107206345, -0.0032646674662828445, -0.07142915576696396, 0.018818434327840805, 0.004014524165540934, 0.025700237601995468, -0.020120952278375626, -0.024356255307793617, 0.03343195468187332, -0.007169730495661497, -0.05241946876049042, 0.05505095049738884, 0.03546692430973053, 0.015390517190098763, -0.005534235388040543, -0.002093666698783636, -0.016921989619731903, 0.00538388779386878, -0.03537649288773537, -0.000043298627133481205, -0.006637978833168745, -0.03631524369120598, 0.017774317413568497, 0.056822020560503006, -0.034385163336992264, 0.011873267590999603, 0.01986989937722683, -0.0006219744100235403, 0.02004143036901951, 0.052487101405858994, -0.013597036711871624, 0.004541934002190828, -0.01266651414334774, -0.01837090589106083, 0.005021593999117613, 0.034178826957941055, -0.006025133188813925, -0.025394104421138763, -0.029398387297987938 ]
agile-why-do-we-integrate-early
https://markhneedham.com/blog/2009/02/06/agile-why-do-we-integrate-early
false
2009-02-23 20:24:26
C#: Wrapping collections vs Extension methods
[ "c", "net" ]
[ ".NET" ]
Another interesting thing I've noticed in C# world is that there seems to be a trend towards using extension methods as much as possible. One area where this is particularly prevalent is when working with collections. From reading http://www.markhneedham.com/blog/2008/11/06/object-calisthenics-first-thoughts/[Object Calisthenics] and working with http://pilchardfriendly.blogspot.com/[Nick] I have got used to wrapping collections and defining methods on the wrapped class for interacting with the underlying collection. For example, given that we have a collection of Foos that we need to use in our system we might wrap that in an object Foos. [source,csharp] ---- public class Foos { private readonly IEnumerable<Foo> foos; public Foos(IEnumerable<Foo> foos) { this.foos = foos; } public Foo FindBy(string id) { return foos.Where(foo => foo.Id == id).First(); } // some other methods to apply on the collection } ---- Extension methods provide another way of achieving the same thing while not needing to wrap it. [source,csharp] ---- public static class FooExtensions { public static Foo FindBy(this IEnumerable<Foo> foos, string id) { return foos.Where(foo => foo.Id == id).First(); } } ---- It seems like there isn't much difference in wrapping the collection compared to just using an extension method to achieve the same outcome. The benefit I see in wrapping is that we take away the ability to do anything to the collection that we don't want to happen. You only have the public API of the wrapper to interact with. The benefit of the extension method approach is that we don't need to create the object Foos - we can just call a method on the collection. I'm not sure which is a better approach - certainly languages which provide the ability to open classes seem to favour taking that approach over wrapping but I still think it's nice to have the wrapper as it means you don't have to be explicitly passing collections all around the code. But maybe that's just me.
null
null
[ 0.008252321742475033, -0.03678271919488907, -0.00908998679369688, 0.017585938796401024, 0.05801723152399063, -0.01949816197156906, 0.021633565425872803, -0.0010777099523693323, -0.008712674491107464, -0.022494256496429443, -0.015330173075199127, 0.023054439574480057, -0.08505141735076904, 0.006752773188054562, -0.009624401107430458, 0.07410760223865509, 0.07781751453876495, -0.04559975489974022, 0.005240913014858961, 0.015214434824883938, 0.0030802981927990913, 0.0544135682284832, -0.011663882993161678, 0.017138861119747162, 0.015855155885219574, 0.028962356969714165, -0.0030494057573378086, 0.0020270284730941057, -0.04500889033079147, -0.01219245232641697, 0.040351275354623795, 0.02490166388452053, -0.0028396393172442913, -0.004792208317667246, 0.014321807771921158, -0.05565512925386429, -0.020924028009176254, -0.015071655623614788, 0.01725228689610958, 0.025087997317314148, -0.06844885647296906, 0.03526246175169945, -0.030338512733578682, -0.015464693307876587, -0.05036606639623642, -0.00047275787801481783, -0.02779935672879219, 0.015501582063734531, -0.06906767934560776, -0.00845291092991829, -0.05385977402329445, 0.0158451609313488, -0.05093059316277504, 0.03556368872523308, -0.007150399032980204, 0.039199840277433395, 0.0004117905627936125, -0.08065841346979141, 0.010086680762469769, -0.052587397396564484, -0.009092199616134167, 0.004613302648067474, -0.003918757662177086, 0.02483215183019638, 0.0420791320502758, -0.003526428947225213, -0.029383929446339607, 0.056591879576444626, -0.05058202147483826, -0.010649848729372025, -0.021036529913544655, 0.013094949536025524, -0.009183642454445362, -0.012918200343847275, 0.030250657349824905, -0.04533834382891655, -0.02109912410378456, 0.04197683930397034, 0.024860352277755737, 0.04801977425813675, -0.007287392392754555, 0.0261785089969635, 0.037126265466213226, -0.009067654609680176, 0.05442504212260246, -0.03748992085456848, -0.03228480741381645, 0.030275939032435417, -0.00811923760920763, 0.0522955022752285, 0.02645924873650074, -0.02852891944348812, 0.003323611570522189, 0.016154201701283455, 0.016127238050103188, 0.0011606526095420122, -0.0064026121981441975, -0.012384403496980667, -0.012729206122457981, 0.010580797679722309, -0.030814755707979202, -0.036255016922950745, 0.013548625633120537, -0.010802705772221088, -0.06857506930828094, -0.010778868570923805, -0.01091411430388689, -0.004872583318501711, -0.024083975702524185, 0.003626552876085043, -0.05483256280422211, 0.007542030420154333, -0.04760211706161499, -0.0038978897500783205, -0.05587071552872658, 0.01347584929317236, 0.03657984733581543, -0.006991992238909006, -0.022717541083693504, 0.04254855588078499, 0.029003307223320007, 0.031591515988111496, 0.015293029136955738, 0.05946601927280426, -0.0005217789439484477, 0.007344725541770458, -0.057054441422224045, 0.08799401670694351, 0.002205056603997946, -0.08185683190822601, -0.011681420728564262, 0.04623119533061981, -0.03177652135491371, 0.00653474684804678, 0.005690364167094231, -0.0349857434630394, -0.01423686370253563, 0.02184177376329899, 0.03135915473103523, 0.032461803406476974, -0.04423748701810837, -0.0670018419623375, 0.011546490713953972, -0.0052275750786066055, 0.0009413451189175248, 0.019840966910123825, -0.018406445160508156, -0.017512723803520203, -0.006780472584068775, 0.04749840125441551, 0.022237056866288185, 0.07481729984283447, 0.0435575433075428, -0.04349333047866821, 0.016612092033028603, 0.07502466440200806, -0.0012895636027678847, 0.03332756832242012, 0.011191544122993946, 0.029553422704339027, 0.038993049412965775, 0.007815223187208176, 0.013385549187660217, 0.049984972923994064, 0.01354510709643364, 0.006430167239159346, -0.004694866016507149, 0.07840131968259811, 0.0012272574240341783, -0.02332509122788906, -0.06336074322462082, -0.011781898327171803, 0.052008915692567825, -0.07254266738891602, 0.00337423593737185, 0.02986190654337406, 0.07522237300872803, 0.006031542085111141, 0.05957146733999252, -0.001292265485972166, -0.07460242509841919, 0.010000120848417282, 0.004972891416400671, -0.01589624397456646, 0.013631745241582394, -0.0004234632069710642, 0.06401785463094711, 0.028958195820450783, 0.005301694385707378, 0.01811426877975464, -0.06378939747810364, -0.05678721144795418, -0.03935045003890991, -0.026441048830747604, 0.06504256278276443, -0.029775533825159073, -0.0000404366001021117, 0.080738864839077, 0.012257174588739872, 0.03941566124558449, 0.044874418526887894, -0.025619681924581528, -0.0029195642564445734, -0.022441748529672623, -0.025691639631986618, 0.0353974811732769, 0.0290374718606472, 0.009039481170475483, -0.03194260224699974, 0.00432877941057086, -0.0023662089370191097, 0.01599419116973877, 0.03968410566449165, -0.01670227199792862, 0.04934276267886162, 0.023334383964538574, 0.04011496901512146, -0.028492357581853867, 0.058362361043691635, -0.0803358182311058, 0.0024508782662451267, -0.006068709772080183, -0.022026250138878822, -0.007837715558707714, -0.01954745315015316, 0.12164323776960373, 0.05061373859643936, -0.039752986282110214, -0.04835584759712219, 0.004991426598280668, 0.03845132142305374, -0.051200464367866516, -0.01339920423924923, -0.021610086783766747, 0.023273132741451263, 0.010932374745607376, -0.04969509690999985, -0.023603754118084908, 0.010129737667739391, -0.02757897600531578, -0.013774753548204899, 0.07842731475830078, -0.037590209394693375, 0.058661118149757385, 0.03453994542360306, -0.012466375716030598, 0.010978949256241322, -0.03364928439259529, -0.06696085631847382, 0.013659138232469559, -0.002399422926828265, -0.017130019143223763, 0.05463869497179985, -0.010403328575193882, 0.0008239417802542448, -0.005955520551651716, -0.03892306983470917, 0.00805568415671587, 0.03400372713804245, 0.06825144588947296, 0.004816325847059488, 0.05555044487118721, -0.009597980417311192, 0.022264918312430382, -0.0016873113345354795, -0.0333525687456131, 0.004853733815252781, -0.0014685338828712702, 0.035143692046403885, 0.0167097058147192, 0.001370938029140234, 0.04093913361430168, 0.020219147205352783, -0.004694253206253052, -0.03233085572719574, -0.01019908208400011, 0.053404953330755234, 0.0023728669621050358, -0.049077391624450684, -0.06871167570352554, -0.04721425101161003, 0.04652486741542816, -0.03213373199105263, -0.05067753046751022, -0.009626318700611591, -0.08611861616373062, 0.031421076506376266, -0.07634799182415009, -0.07889125496149063, -0.0008383109234273434, 0.04919460043311119, 0.023279352113604546, -0.013142387382686138, 0.029787326231598854, 0.05609134957194328, 0.0070914397947490215, 0.012777228839695454, 0.010439927689731121, 0.012601918540894985, -0.0029804049991071224, -0.03504137322306633, 0.008794675581157207, 0.05173728987574577, 0.007416021544486284, 0.005000240169465542, -0.05082869529724121, 0.05151589959859848, 0.005693576764315367, -0.2684987485408783, 0.009813898243010044, -0.012766515836119652, -0.025737108662724495, 0.010526168160140514, -0.00026936910580843687, 0.006988940294831991, -0.08188032358884811, -0.0026053760666400194, 0.035450153052806854, -0.032432518899440765, -0.03976128622889519, -0.016123270615935326, 0.04842887818813324, 0.02450629137456417, 0.042288728058338165, 0.024756113067269325, -0.02339387871325016, -0.006607666611671448, 0.04955124482512474, -0.024690834805369377, -0.06317485123872757, 0.0004977114731445909, 0.054798830300569534, 0.016358578577637672, 0.03952900320291519, -0.0843019038438797, 0.04893311858177185, -0.045416295528411865, 0.0020181434229016304, -0.010640636086463928, 0.008805682882666588, 0.015334337018430233, -0.04809620603919029, -0.033285386860370636, -0.021411214023828506, 0.03702906519174576, 0.026195624843239784, -0.013068846426904202, 0.017077021300792694, -0.03057687170803547, -0.050205860286951065, -0.038651302456855774, 0.017038453370332718, 0.07059290260076523, -0.025645043700933456, -0.05469783395528793, -0.017585938796401024, -0.051099441945552826, 0.0675385519862175, -0.03656843677163124, -0.04343661293387413, 0.01226650457829237, 0.035146139562129974, -0.012708067893981934, -0.03975628316402435, -0.005186764523386955, -0.0019313166849315166, -0.036041900515556335, -0.022017836570739746, -0.009716998785734177, -0.05826716125011444, -0.028718706220388412, -0.02989061363041401, -0.007757177576422691, -0.06446103006601334, -0.04577692970633507, -0.005470373202115297, 0.06456699222326279, 0.03203216940164566, -0.0030881036072969437, -0.006190730258822441, 0.0023146069142967463, -0.11498712748289108, 0.00800599530339241, -0.05094929412007332, -0.029448658227920532, -0.04612268880009651, 0.027209622785449028, 0.04741589352488518, -0.04026535898447037, -0.0429147370159626, 0.024184662848711014, 0.042947281152009964, -0.004241138231009245, 0.020466027781367302, 0.015928123146295547, -0.027450624853372574, -0.031210456043481827, 0.015950342640280724, 0.049032192677259445, 0.021839095279574394, -0.018241330981254578, -0.01971990428864956, 0.00408551748842001, 0.031731750816106796, 0.030660871416330338, 0.021609308198094368, 0.037116676568984985, 0.02559947595000267, 0.04878361523151398, -0.08067858219146729, 0.024514129385352135, -0.018802626058459282, 0.00015831028576940298, -0.02638428471982479, -0.047556594014167786, 0.03288107365369797, 0.057406872510910034, -0.012802236713469028, -0.0001253111258847639, -0.028384068980813026, 0.011199228465557098, -0.05272085592150688, -0.022387506440281868, -0.015592999756336212, 0.004962764214724302, 0.03415537625551224, 0.013121523894369602, -0.027342136949300766, -0.03582574799656868, 0.007299149874597788, 0.009659135714173317, -0.01383631955832243, -0.0788852721452713, -0.038384437561035156, -0.019693199545145035, 0.0006955389981158078, -0.007954549975693226, 0.022761547937989235, -0.03160003572702408, 0.00834564957767725, 0.0334181934595108, -0.035091858357191086, 0.015279756858944893, 0.010520629584789276, -0.018502911552786827, -0.03766191378235817, -0.04250060021877289, -0.025671251118183136, 0.007088718470185995, -0.006032118573784828, 0.01957615464925766, 0.057408686727285385, 0.0500367097556591, 0.02835533581674099, 0.03900931030511856, 0.03155934810638428, 0.0006530784303322434, 0.024498766288161278, 0.020385973155498505, -0.07431501895189285, 0.031238649040460587, -0.024185633286833763, -0.009427349083125591, -0.022327648475766182, 0.01622282899916172, -0.01530594751238823, -0.013798894360661507, -0.043604638427495956, 0.056322138756513596, -0.049942731857299805, -0.04443320259451866, -0.02068171091377735, -0.0147541593760252, 0.0444704070687294, -0.044108107686042786, 0.039026886224746704, -0.027469562366604805, -0.011332351714372635, 0.02293182723224163, 0.031226353719830513, -0.03446738421916962, 0.0293711107224226, 0.00032849592389538884, -0.027865568175911903, -0.013607614673674107, 0.031145095825195312, 0.03882680460810661, 0.02845184877514839, 0.03058735467493534, -0.026927625760436058, 0.037228215485811234, -0.032955680042505264, 0.04709998518228531, 0.008716277778148651, 0.010517439804971218, -0.0138674546033144, -0.01891021803021431, -0.0001225835585501045, -0.0234882440418005, -0.018137354403734207, -0.02021898329257965, 0.04434048384428024, -0.04897836223244667, -0.056235142052173615, 0.03976637125015259, -0.00473746657371521, -0.012095749378204346, 0.013922490179538727, 0.005949615500867367, 0.015484876930713654, -0.014913632534444332, 0.017259206622838974, 0.032659586519002914, -0.048856187611818314, 0.01655822992324829, -0.008717493154108524, 0.021446969360113144, 0.036406632512807846, 0.029059745371341705, -0.019337112084031105, -0.015469093807041645, -0.0044974349439144135, -0.0007882259669713676, -0.02844991348683834, -0.018540291115641594, -0.012488500215113163, 0.012470460496842861, -0.002929739421233535, -0.019052350893616676, -0.03410191088914871, -0.025891244411468506, -0.014821724034845829, -0.020283930003643036, 0.013829750940203667, -0.03879104554653168, -0.0346970371901989, 0.016672911122441292, -0.051623180508613586, 0.014243055135011673, -0.039792582392692566, 0.03193189576268196, 0.010320262052118778, -0.045936934649944305, -0.0012661343207582831, -0.036593347787857056, 0.03980100899934769, -0.030796565115451813, 0.057448841631412506, 0.013207687996327877, -0.04737916588783264, -0.003990554716438055, -0.056880638003349304, -0.05134528502821922, -0.009942768141627312, -0.013176368549466133, -0.04141424223780632, 0.010950548574328423, 0.050721269100904465, -0.001139337313361466, 0.005832614842802286, 0.01318334136158228, 0.0006917257560417056, 0.061246272176504135, -0.043485067784786224, -0.028059717267751694, -0.03370201587677002, -0.05990469083189964, 0.01279472280293703, 0.017279820516705513, 0.027963979169726372, -0.017186196520924568, 0.05348671227693558, 0.031227225437760353, 0.024606304243206978, 0.05195065215229988, 0.01092356164008379, 0.0549582876265049, -0.0403471440076828, 0.003422133158892393, -0.048638734966516495, 0.03158162534236908, 0.03528175503015518, 0.044434934854507446, -0.030461763963103294, -0.025033965706825256, -0.03373090177774429, 0.048384472727775574, -0.08700001239776611, -0.026587432250380516, -0.017899062484502792, -0.008222196251153946, 0.01109601091593504, 0.00018262180674355477, -0.05093374475836754, 0.026578130200505257, 0.03280041739344597, -0.0076629058457911015, -0.030880136415362358, -0.04434990510344505, 0.03995577245950699, 0.026336856186389923, 0.00916110910475254, -0.023328863084316254, 0.026217874139547348, 0.049326736479997635, 0.020464489236474037, 0.016415100544691086, 0.04908713325858116, -0.030296914279460907, 0.02529948018491268, 0.010559913702309132, -0.036347392946481705, -0.03243791684508324, -0.018102306872606277, 0.010924868285655975, -0.05596112087368965, 0.022367708384990692, 0.017507703974843025, -0.03745559602975845, -0.0370057187974453, 0.06212760880589485, 0.028238503262400627, -0.020334500819444656, -0.03856590762734413, 0.02542395330965519, -0.03410704806447029, -0.010628101415932178, -0.014492279849946499, 0.008302814327180386, 0.015097173862159252, 0.06851288676261902, -0.01340892631560564, -0.011247598566114902, 0.05752593278884888, -0.01931833289563656, -0.008879108354449272, -0.0032559591345489025, 0.0795685425400734, 0.05986528843641281, 0.06581065058708191, -0.0010061560897156596, 0.06566654145717621, -0.014362444169819355, -0.06240609660744667, 0.002153497887775302, -0.01741928793489933, 0.005285992752760649, -0.006728221196681261, 0.051090553402900696, 0.0608397014439106, 0.007827444933354855, 0.05503121763467789, -0.0675632432103157, -0.013448696583509445, -0.02925657294690609, 0.027506709098815918, 0.014702467247843742, 0.03047545626759529, 0.032067906111478806, 0.013511806726455688, -0.009725670330226421, -0.050377827137708664, 0.03860658407211304, -0.0018167233793064952, -0.006781233940273523, 0.009847071953117847, 0.027629919350147247, -0.010444753803312778, 0.026409877464175224, 0.07031136006116867, 0.06280464679002762, -0.03007620759308338, -0.00853533111512661, 0.014540710486471653, 0.025783779099583626, 0.03436538204550743, -0.0367959663271904, -0.014493608847260475, -0.019825149327516556, -0.002274531638249755, 0.014057877473533154, -0.002275806153193116, -0.028463885188102722, -0.006083119660615921, 0.04806438088417053, -0.022056709975004196, 0.004494674038141966, 0.00817625317722559, -0.003024754347279668, -0.04858705773949623, -0.027509257197380066, -0.05070934444665909, 0.0013190617319196463, -0.050673503428697586, -0.03608786687254906, 0.060324471443891525, -0.02839517965912819, -0.027874568477272987, 0.003786292392760515, 0.011953897774219513, -0.01987037993967533, 0.0648195818066597, -0.015160011127591133, -0.020313916727900505, 0.008764417842030525, 0.04127529636025429, 0.07334663718938828, 0.04208429157733917, 0.05535226687788963, 0.0012329136952757835, 0.012950828298926353, -0.04897485673427582, 0.0006285278359428048, 0.04416923224925995, -0.006935605779290199, 0.013162422925233841, -0.06944943219423294, 0.004051662981510162, 0.015151435509324074, -0.018322592601180077, -0.07615017145872116, -0.014745907858014107, 0.02300495281815529, -0.007878117263317108, 0.04182222858071327, -0.02091544307768345, -0.04856492951512337, -0.023916782811284065, -0.005610463209450245, 0.023356623947620392, 0.026794932782649994, 0.02778809890151024, -0.006345838773995638, 0.052239738404750824, 0.028833039104938507, -0.016370238736271858, -0.017159081995487213, -0.0002766795514617115, 0.01572401449084282, 0.0383792407810688, -0.052386581897735596, -0.030723977833986282, -0.026771733537316322, -0.03739750757813454, -0.006874749902635813, 0.023986080661416054, -0.017814643681049347, -0.03376253694295883, 0.0018928955541923642, 0.05630919337272644, -0.057091835886240005, 0.01734444685280323, -0.013358721509575844, 0.03580385819077492, -0.018701383844017982, -0.022050952538847923, 0.020909763872623444, 0.015337199904024601, -0.013753724284470081, -0.029560089111328125, 0.04746202379465103, -0.025967394933104515, -0.02883361279964447, -0.020673522725701332, 0.02382075972855091, 0.03647717460989952, -0.030138909816741943, 0.009660124778747559 ]
[ -0.059939056634902954, 0.020669886842370033, -0.013918265700340271, 0.002614692784845829, 0.02864852175116539, -0.05153196305036545, 0.006953319068998098, -0.006509245838969946, 0.0041411276906728745, -0.020100709050893784, 0.012069248594343662, 0.0224196445196867, -0.035059623420238495, 0.020427152514457703, 0.03158866986632347, 0.027948470786213875, -0.03290492296218872, 0.0006992830894887447, -0.053091440349817276, 0.014303331263363361, 0.05193380266427994, 0.0170322023332119, -0.04572024941444397, -0.013147391378879547, 0.01757560297846794, 0.03449190780520439, 0.01996181160211563, -0.06367667764425278, -0.0018725391710177064, -0.18725576996803284, -0.025105785578489304, 0.004440636839717627, -0.003191162832081318, -0.02196827158331871, -0.03962823003530502, 0.0397745780646801, 0.05198052525520325, 0.0321982279419899, -0.03710344433784485, 0.05353471264243126, 0.05061847344040871, 0.0747791975736618, -0.053314123302698135, -0.0035208137705922127, 0.013779121451079845, 0.02719593606889248, -0.01751197688281536, -0.009698381647467613, -0.027879368513822556, -0.005779164377599955, -0.03374405577778816, -0.002835716586560011, -0.02777382731437683, -0.009328097105026245, -0.04614268243312836, 0.02923845686018467, 0.04051844775676727, 0.02379070222377777, -0.003351250197738409, 0.006017142906785011, 0.021137408912181854, -0.026928579434752464, -0.11540429294109344, 0.10370567440986633, -0.004364502150565386, 0.05745433270931244, -0.0006341986008919775, 0.02019573375582695, 0.009749291464686394, 0.06633090227842331, 0.028980892151594162, -0.02193828858435154, -0.024188827723264694, 0.04574752599000931, 0.029774539172649384, -0.04202529042959213, -0.002555962186306715, -0.025001853704452515, 0.04671251401305199, -0.007524340413510799, -0.057140469551086426, -0.05160430446267128, 0.08202202618122101, -0.025595182552933693, 0.00880386307835579, 0.0027555350679904222, 0.011002197861671448, -0.029973939061164856, 0.06354758888483047, 0.015605415217578411, 0.033501867204904556, -0.01841474138200283, 0.020193299278616905, 0.01210580114275217, -0.06752843409776688, -0.04758470878005028, -0.009320510551333427, 0.0073790415190160275, -0.0375654511153698, 0.39509207010269165, -0.0459248311817646, -0.045120738446712494, 0.03284161165356636, 0.012578042224049568, -0.05027808994054794, 0.003300003008916974, -0.0075513506308197975, -0.05978642404079437, 0.02315753884613514, -0.055686309933662415, 0.0006412697839550674, -0.007212958298623562, -0.016265200451016426, -0.016157684847712517, -0.033178627490997314, -0.007523334119468927, 0.01883537322282791, -0.0029008169658482075, -0.0004992943140678108, -0.0161796472966671, -0.025791512802243233, 0.022814391180872917, 0.03681110590696335, 0.04816234111785889, -0.0047155567444860935, -0.026702042669057846, 0.027979018166661263, 0.018602950498461723, 0.0693548396229744, 0.01923360675573349, 0.06572511792182922, -0.06971116364002228, -0.09803138673305511, -0.007270378526300192, 0.020558146759867668, 0.016717158257961273, 0.04730154573917389, -0.017446426674723625, 0.026452168822288513, -0.009969398379325867, 0.01948545128107071, 0.01349695399403572, 0.014761613681912422, -0.05075514689087868, -0.042810261249542236, 0.13862916827201843, -0.022781744599342346, 0.012100274674594402, -0.043880827724933624, -0.053491830825805664, 0.03259645402431488, 0.01898038201034069, -0.03439955785870552, -0.08463044464588165, 0.02741876058280468, -0.00847010500729084, 0.06841330975294113, -0.03280392289161682, -0.05129522457718849, -0.00790086667984724, -0.055608320981264114, 0.05244278162717819, -0.050728000700473785, 0.031148986890912056, 0.011949379928410053, -0.08187925815582275, -0.003446783870458603, -0.024638568982481956, -0.018834928050637245, -0.0772593766450882, -0.025867240503430367, 0.028769437223672867, -0.03074902854859829, 0.009882349520921707, 0.03642316535115242, -0.0024619698524475098, -0.07533486187458038, -0.06183714419603348, 0.032485391944646835, 0.024595778435468674, 0.030158961191773415, 0.019970910623669624, -0.056932032108306885, 0.010974743403494358, -0.022685518488287926, -0.10185886174440384, -0.05578756332397461, -0.020650092512369156, -0.02444649301469326, -0.004563376307487488, -0.005031732376664877, -0.04003481566905975, -0.028375187888741493, 0.094668447971344, -0.0323156975209713, 0.00673341378569603, 0.05058347433805466, 0.015022522769868374, 0.0075799222104251385, 0.032089512795209885, 0.023614365607500076, 0.05603568255901337, -0.003698041895404458, 0.03117244876921177, -0.016184162348508835, 0.014619058929383755, 0.034397225826978683, -0.1018725037574768, 0.05133189260959625, 0.030180076137185097, -0.06579428911209106, 0.0078511331230402, 0.003412969410419464, 0.02207951620221138, -0.019592998549342155, -0.023073961958289146, 0.041233230382204056, 0.05013788864016533, 0.02429450862109661, -0.0002508334000594914, -0.07294851541519165, -0.06652563810348511, 0.028885463252663612, -0.3238639831542969, 0.006672300398349762, -0.02782510407269001, -0.03463507071137428, 0.021344145759940147, -0.09850168973207474, 0.01165960356593132, -0.02022508718073368, -0.05920558422803879, 0.014716725796461105, 0.04860246181488037, -0.03665291890501976, -0.019993595778942108, -0.06973597407341003, 0.037031225860118866, 0.03516140580177307, -0.023806262761354446, -0.07453834265470505, -0.029409511014819145, 0.026965918019413948, -0.0006705389241687953, 0.02415243163704872, 0.02707180380821228, -0.06148238107562065, 0.0018608212703838944, -0.0469648540019989, 0.06844481080770493, -0.054560091346502304, 0.08611290901899338, 0.024052882567048073, 0.03638236224651337, 0.002342661377042532, -0.04585513845086098, -0.07981744408607483, -0.0349399670958519, -0.019364841282367706, -0.0132759353145957, -0.020672108978033066, 0.05513840541243553, 0.0039540925063192844, -0.016718970611691475, 0.0015086798230186105, -0.028875045478343964, -0.0434943288564682, -0.003096948377788067, -0.00006762647535651922, -0.01022355817258358, -0.06562088429927826, 0.02645101398229599, 0.07274767756462097, -0.03898513689637184, 0.02561013214290142, 0.05793590098619461, 0.04399624466896057, -0.013686398044228554, 0.0018042088486254215, -0.04609571397304535, -0.021929357200860977, 0.02958199754357338, 0.024814629927277565, 0.0053006443195044994, 0.02740834653377533, 0.06298453360795975, -0.04049355909228325, 0.000941854203119874, 0.005484132096171379, 0.009741979651153088, -0.0068773673847317696, 0.00729293841868639, -0.07490398734807968, -0.056566011160612106, 0.09079103916883469, -0.028912238776683807, -0.00630226219072938, -0.001862496486864984, 0.07991557568311691, -0.006244151387363672, 0.03208426758646965, 0.0118942866101861, 0.002987742191180587, 0.018369536846876144, 0.02244742214679718, 0.04331165552139282, -0.008600816130638123, -0.012042796239256859, 0.026331299915909767, -0.021990494802594185, 0.03811177983880043, 0.0016687485622242093, -0.04001092165708542, -0.026364877820014954, 0.0015355430077761412, -0.009309899993240833, -0.04276583716273308, 0.053105250000953674, -0.02096671611070633, -0.22656215727329254, 0.01831812411546707, 0.11196325719356537, 0.01765815168619156, -0.007285771891474724, 0.04260687902569771, 0.04364318028092384, -0.05456690490245819, 0.03064332902431488, 0.015597435645759106, 0.05502019450068474, 0.03908107057213783, 0.022330669686198235, 0.022114675492048264, 0.0466887392103672, 0.012110665440559387, 0.06344204396009445, -0.0051787737756967545, 0.055624499917030334, 0.05171674117445946, 0.04190119355916977, -0.005255951080471277, 0.20775912702083588, 0.024163823574781418, 0.02840098738670349, -0.025575611740350723, 0.042436424642801285, 0.00979295652359724, 0.06249288097023964, 0.005297797732055187, 0.03379986062645912, -0.022117458283901215, 0.06213192269206047, 0.004016803577542305, 0.030551426112651825, -0.10883484035730362, 0.04047974944114685, 0.03748057782649994, -0.003986380994319916, -0.048674069344997406, -0.0005492842756211758, 0.01743665523827076, -0.07348773628473282, -0.011495745740830898, 0.08331697434186935, 0.039834048599004745, -0.03390198200941086, -0.07769753038883209, -0.011891001835465431, -0.0005010978784412146, -0.030405638739466667, 0.0015479124849662185, 0.014824382029473782, -0.04560663178563118, 0.017074625939130783, 0.017742624506354332, -0.007403956726193428, -0.006171437446027994, -0.03403870761394501, 0.03652455285191536, 0.05988573282957077, -0.0073413727805018425, 0.029066521674394608, 0.07068132609128952, 0.07898470759391785 ]
[ -0.03235678747296333, 0.02694806642830372, -0.03252986818552017, 0.04294305667281151, 0.0004255404055584222, 0.022675806656479836, 0.021469706669449806, 0.012395037338137627, 0.004114208742976189, 0.029307490214705467, -0.0030740529764443636, -0.01821872778236866, -0.007667591329663992, -0.0038496048655360937, 0.0409654937684536, 0.004981250036507845, -0.025602402165532112, -0.041549257934093475, 0.013751944527029991, 0.03821038827300072, -0.01461782120168209, 0.03894057869911194, 0.04029716178774834, -0.0048711905255913734, -0.043174099177122116, 0.009309512563049793, -0.01022338680922985, -0.0591636560857296, 0.021575983613729477, -0.12016855180263519, -0.06146381050348282, -0.03382788226008415, -0.022416070103645325, 0.0543707050383091, -0.012804513797163963, 0.005727080162614584, 0.01828070357441902, 0.031926803290843964, -0.027804844081401825, -0.01559643168002367, -0.0023726806975901127, 0.027677012607455254, -0.0026378282345831394, 0.022395912557840347, -0.012164227664470673, -0.009098062291741371, -0.006803873926401138, -0.013526267372071743, -0.032834492623806, -0.008561652153730392, 0.013004723936319351, 0.015529035590589046, -0.03114934451878071, 0.02626033127307892, 0.03462021425366402, -0.020765554159879684, -0.00784115307033062, -0.011560209095478058, 0.008165431208908558, 0.018030259758234024, 0.008887052536010742, -0.012051285244524479, -0.03858591616153717, -0.023910600692033768, -0.0017957251984626055, -0.042954880744218826, 0.01834682561457157, 0.02510193921625614, -0.009348008781671524, -0.034684114158153534, -0.027728639543056488, 0.0272058118134737, 0.006891950964927673, -0.009018244221806526, 0.023875780403614044, -0.019073160365223885, 0.026024455204606056, -0.015436310321092606, 0.017303507775068283, 0.008374297991394997, -0.04957421496510506, 0.0016816520364955068, 0.0016323180170729756, 0.018674012273550034, 0.015070361085236073, 0.007259880192577839, 0.018713539466261864, -0.00996614433825016, 0.011897790245711803, 0.0024478891864418983, 0.003248668974265456, 0.0005839452496729791, 0.03895509988069534, 0.037324223667383194, -0.06597787886857986, 0.004471073858439922, -0.00014717022713739425, -0.02609613724052906, -0.0023871962912380695, 0.8392066955566406, -0.03290022909641266, 0.08908968418836594, 0.04181744530797005, -0.008397742174565792, -0.00935459416359663, -0.022342665120959282, -0.03158872202038765, -0.0017844196408987045, 0.010990173555910587, -0.05124261975288391, 0.030113382264971733, -0.0005704673239961267, 0.017082780599594116, 0.002607757458463311, -0.000984928454272449, 0.043160662055015564, 0.02287137694656849, 0.004426765721291304, 0.02200806513428688, 0.006242463830858469, 0.025045720860362053, 0.009765971451997757, 0.005625458434224129, 0.0006182317738421261, 0.018184177577495575, -0.1502927988767624, -0.026608524844050407, -8.558816980007293e-33, 0.05025636777281761, -0.02089974842965603, -0.0015014095697551966, 0.0226819459348917, 0.005705981515347958, -0.009838763624429703, 0.014235424809157848, 0.023612309247255325, 0.006537755019962788, -0.02516927383840084, 0.004587193019688129, -0.009335624985396862, -0.010927385650575161, -0.017056433483958244, 0.07194329053163528, 0.002559391316026449, 0.003338376060128212, 0.03797600790858269, 0.008843005634844303, 0.009375959634780884, -0.020334305241703987, 0.00585829745978117, 0.05456746369600296, -0.0698905885219574, -0.0234703216701746, 0.048188503831624985, -0.007678275462239981, 0.028239890933036804, 0.000872122822329402, -0.03825824335217476, 0.005904404446482658, 0.0044435495510697365, -0.02433181181550026, 0.005675354972481728, 0.008731348440051079, -0.0029012307059019804, 0.013592148199677467, 0.0035154949873685837, 0.012469821609556675, -0.0344804972410202, -0.04632784426212311, 0.008466484025120735, 0.015588058158755302, 0.010721642524003983, -0.02020336501300335, -0.039302606135606766, 0.01950513757765293, 0.007482259534299374, 0.04142286628484726, 0.04227115586400032, 0.022678520530462265, 0.025094937533140182, -0.0114434864372015, -0.01881362497806549, -0.0018187016248703003, 0.026111744344234467, 0.008338569663465023, 0.001823664759285748, 0.01719024032354355, -0.0009487210772931576, 0.024745505303144455, -0.01698446087539196, -0.01871722750365734, 0.040201157331466675, 0.008892230689525604, -0.02501470036804676, 0.01331245619803667, 0.004442264791578054, -0.000639774021692574, -0.035648394376039505, -0.047468047589063644, 0.005307863466441631, -0.015899453312158585, -0.012816446833312511, 0.007730558048933744, -0.00791697483509779, 0.0060584344901144505, -0.007619519252330065, 0.012078831903636456, 0.01690746657550335, 0.01959976553916931, -0.009128287434577942, 0.004180298186838627, -0.017259027808904648, -0.03837333247065544, 0.02328675054013729, 0.011292505078017712, 0.020094653591513634, 0.034493960440158844, -0.02948503941297531, 0.02824803814291954, 0.032825350761413574, -0.006903282832354307, -0.04335534945130348, -0.04622392728924751, 7.975346399981234e-33, 0.010755019262433052, -0.009223616681993008, 0.0007631503976881504, -0.014688041061162949, -0.005563536658883095, -0.012186388485133648, -0.016984494403004646, 0.013319714926183224, -0.04624707251787186, 0.002350680297240615, 0.0190841443836689, 0.006335929501801729, -0.03472810983657837, 0.0260621327906847, 0.05399686098098755, -0.008551700040698051, 0.005132206715643406, -0.04712983965873718, 0.026068422943353653, -0.034449998289346695, 0.015144255012273788, -0.0009629678097553551, -0.0029275710694491863, -0.02730986289680004, -0.022452235221862793, 0.011732010170817375, -0.058008190244436264, -0.008305210620164871, 0.02337486483156681, 0.0009746131836436689, -0.00654880004003644, -0.029316453263163567, 0.011105911806225777, -0.02530415914952755, -0.03369465470314026, 0.024296699091792107, 0.026558756828308105, 0.015208013355731964, 0.05199693515896797, 0.013610200956463814, 0.01787726953625679, -0.041998956352472305, -0.0033912034705281258, -0.011367442086338997, 0.03128509595990181, -0.04615531116724014, -0.03887190297245979, 0.020605355501174927, 0.01330918725579977, 0.05133597552776337, 0.010664919391274452, 0.032497189939022064, 0.022168084979057312, -0.014798110350966454, 0.028479816392064095, -0.02045922353863716, -0.029847213998436928, -0.031064677983522415, -0.04004301503300667, -0.002515071304515004, -0.008553411811590195, 0.012763505801558495, -0.044951267540454865, -0.012362605892121792, -0.013404392637312412, 0.005820451304316521, -0.05587078258395195, -0.05360894650220871, -0.01907464675605297, -0.012148136273026466, -0.02473219484090805, -0.004152046516537666, -0.04420185089111328, -0.013540491461753845, -0.007709484081715345, -0.03839818388223648, -0.011783362366259098, -0.015893181785941124, 0.01618221588432789, 0.023614751175045967, 0.009735653176903725, -0.01677357591688633, 0.04673051834106445, -0.04139420762658119, -0.016286388039588928, -0.007832970470190048, 0.01875879429280758, -0.033803701400756836, 0.003966502379626036, 0.01198411826044321, -0.029981208965182304, -0.04143679141998291, 0.007457228843122721, 0.03373877331614494, -0.018005773425102234, -1.3531626485985271e-8, -0.06106700748205185, 0.038530852645635605, -0.01941804215312004, -0.0022869217209517956, 0.026883456856012344, 0.05002601072192192, -0.04529157653450966, -0.036403004080057144, -0.013204689137637615, -0.019023125991225243, -0.0029502238612622023, 0.02139459364116192, 0.032727763056755066, 0.030565768480300903, 0.0255200807005167, -0.062258701771497726, -0.021900884807109833, -0.02205534093081951, 0.015437797643244267, 0.040715619921684265, -0.0024153199046850204, 0.022647954523563385, 0.012309851124882698, -0.026054510846734047, 0.0012001893483102322, 0.003743436187505722, -0.0012727202847599983, -0.05527682602405548, 0.011278996244072914, 0.04666506126523018, -0.015161019749939442, -0.004270656034350395, -0.02620387077331543, 0.018876587972044945, -0.00001873925248219166, -0.008944823406636715, 0.011537657119333744, 0.008881308138370514, 0.00947962049394846, 0.0397762693464756, 0.03944293409585953, -0.030757244676351547, -0.019900938495993614, 0.003958787769079208, 0.022245224565267563, -0.019009022042155266, -0.012096798978745937, -0.014362240210175514, 0.024097057059407234, 0.014436223544180393, 0.022926978766918182, 0.012889031320810318, 0.028033031150698662, -0.021429212763905525, -0.015434471890330315, 0.04010309651494026, 0.006089154630899429, 0.0029082586988806725, -0.03688754886388779, 0.06257729232311249, -0.0026560465339571238, -0.010469334200024605, -0.04747282341122627, 0.014696109108626842 ]
c-wrapping-collections-vs-extension-methods
https://markhneedham.com/blog/2009/02/23/c-wrapping-collections-vs-extension-methods
false
2009-02-15 01:46:33
Encoding user entered data
[ "software-development" ]
[ "Software Development" ]
I previously wrote about http://www.markhneedham.com/blog/2009/02/12/aspnet-mvc-preventing-xss-attacks/[protecting websites from cross site scripting in the ASP.NET MVC framework] by encoding user input when we are going to display it in the browser. We can either choose to encode data like this or we can encode it straight away when we get it. There did not seem to be a consensus on the best approach in a http://forums.asp.net/t/1194407.aspx[discussion on the ASP.NET forums] but we believe it is far better to encode the data when it is outgoing rather than incoming. If we encode the data when it comes in then we need to *remember which data was pre-encoded* and then *un-encode it when it is going to be displayed in a non-HTML format*. If we had a user enter their name as "John O'Shea' for example then we would end up storing the ' in the name as its HTML representation and might accidentally end up sending them correspondence referring to them as the wrong name. http://twitter.com/davcamer[Dave] suggested 'fixing it [encoding issue] as close to the problem as possible' as a useful guideline to follow. In this case our problem is that when the data we received from the user is displayed there could be some potentially dangerous code in there and we don't want to allow it to be executed on our page. We then work off the assumption that any web applications that use our data should know how to encode the data since that falls under their responsibility. Any other applications can use the data as is. I drew this diagram to clear it up in my head: image::{{<siteurl>}}/uploads/2009/02/dataencoding.gif[dataEncoding.gif,563]
null
null
[ 0.005170383024960756, -0.016908008605241776, -0.0090645682066679, 0.04363317787647247, 0.0839870497584343, -0.014822350814938545, 0.024377761408686638, 0.0344434417784214, 0.01888231374323368, -0.033774301409721375, -0.028891710564494133, -0.011353454552590847, -0.06675928086042404, 0.010831951163709164, -0.03497784212231636, 0.08558562397956848, 0.04348655417561531, 0.01746850647032261, 0.05803612992167473, -0.007474393118172884, -0.004011973273009062, 0.044780485332012177, 0.004332190845161676, 0.025568658486008644, 0.041032809764146805, 0.028908127918839455, -0.016803205013275146, 0.003200970124453306, -0.06163585186004639, -0.02335001900792122, 0.04353515803813934, 0.020435262471437454, -0.0007316740811802447, 0.0068749249912798405, 0.020255569368600845, -0.022765833884477615, -0.0378585085272789, 0.028866704553365707, 0.011909243650734425, 0.031388670206069946, -0.06927069276571274, 0.027827221900224686, -0.018393518403172493, 0.01029382273554802, -0.044238749891519547, -0.020686626434326172, -0.0315837636590004, 0.01464675273746252, -0.01420710701495409, 0.0008728027460165322, -0.04366711154580116, 0.0485168881714344, -0.033020518720149994, 0.023986540734767914, 0.009893740527331829, 0.058378782123327255, 0.006678145378828049, -0.04772622883319855, 0.021408408880233765, -0.0653437152504921, 0.0275381188839674, -0.002293226309120655, 0.020041456446051598, 0.01518754381686449, 0.022567925974726677, -0.015963872894644737, 0.003662840696051717, 0.0538010373711586, -0.02804514393210411, -0.020626384764909744, 0.028539640828967094, 0.029569489881396294, -0.00007909292617114261, -0.009909109212458134, 0.03655902296304703, -0.03674833104014397, -0.016677359119057655, 0.05822896957397461, 0.01534055732190609, 0.04247171804308891, -0.021636854857206345, 0.03204265609383583, 0.011601390317082405, 0.03086034581065178, -0.020288977771997452, -0.04212035611271858, -0.026725372299551964, 0.032318536192178726, -0.03598273545503616, 0.0649932324886322, 0.009189789183437824, -0.04860542714595795, 0.03660155460238457, 0.015260168351233006, 0.004173933528363705, 0.00148687360342592, 0.003188889939337969, 0.0067845359444618225, -0.01750667579472065, -0.011522582732141018, -0.05484229698777199, -0.0013357354328036308, 0.031217945739626884, 0.000201053757336922, -0.0764622837305069, -0.006051023490726948, -0.03960493206977844, 0.011376326903700829, 0.03399602323770523, -0.009317402727901936, -0.017581366002559662, 0.0030384138226509094, -0.026798062026500702, -0.0385703481733799, -0.061255987733602524, 0.04871043935418129, 0.016668103635311127, -0.040372997522354126, -0.011212103068828583, 0.05187109485268593, 0.05802658945322037, 0.006715370342135429, -0.024934072047472, 0.07345712184906006, 0.0450366847217083, 0.02532374858856201, -0.0028572543524205685, 0.04855656996369362, -0.03601861745119095, -0.06426388770341873, 0.002310008043423295, 0.05513207986950874, -0.014344675466418266, 0.015895072370767593, 0.019720984622836113, -0.02026074379682541, 0.01171099953353405, -0.00809500366449356, 0.03475499153137207, 0.02229904942214489, -0.033737264573574066, -0.03882838413119316, -0.011283008381724358, 0.006856217514723539, 0.0377233661711216, 0.012217400595545769, -0.00483772112056613, -0.03342302516102791, -0.045951489359140396, 0.03343511000275612, 0.009429685771465302, -0.0035474025644361973, 0.04333219304680824, -0.03347558155655861, 0.0059410990215837955, 0.0840277373790741, 0.046113163232803345, 0.007964272983372211, -0.004738726187497377, 0.03146374598145485, 0.03915878385305405, -0.0018643134972080588, 0.001241607591509819, 0.05060061812400818, 0.01249073538929224, 0.0007569537847302854, -0.009124728851020336, 0.043296780437231064, -0.007844495587050915, -0.009737780317664146, -0.06415052711963654, -0.030428141355514526, 0.06717545539140701, -0.049488410353660583, -0.01298011839389801, 0.0554397888481617, 0.046608343720436096, 0.016425209119915962, 0.06536024063825607, -0.013838992454111576, -0.0750093087553978, 0.025271853432059288, 0.030516788363456726, 0.0237310491502285, 0.013422724790871143, -0.003113128012046218, 0.0915696918964386, 0.04204780235886574, 0.015945453196763992, 0.058562494814395905, -0.07367176562547684, -0.07341986894607544, -0.05139005556702614, -0.013604843989014626, 0.06325904279947281, -0.027151357382535934, 0.013032814487814903, 0.09851590543985367, 0.03003067895770073, 0.04733935743570328, 0.015086904168128967, -0.015770113095641136, 0.03879223018884659, -0.04734363779425621, -0.03933613374829292, 0.04285765066742897, 0.04714009538292885, -0.013307317160069942, -0.025447562336921692, 0.008648882620036602, -0.012332530692219734, -0.013935362920165062, 0.027146905660629272, -0.028178058564662933, 0.005993997678160667, -0.0062048668041825294, 0.05405062064528465, -0.010027250275015831, 0.03922656923532486, -0.059963516891002655, 0.0317743644118309, -0.008661585859954357, -0.0045789736323058605, 0.004657783079892397, 0.009845538064837456, 0.13855339586734772, 0.05339297279715538, -0.0028781297150999308, -0.027695516124367714, -0.0037851142697036266, -0.009485883638262749, -0.06614343076944351, 0.014114630408585072, 0.0054122041910886765, -0.013145667500793934, 0.002900558989495039, -0.0532153844833374, -0.026457253843545914, 0.009133026003837585, -0.030099591240286827, 0.03761057183146477, 0.07694905251264572, -0.010938839055597782, 0.039741963148117065, -0.03733539208769798, -0.0016019961331039667, -0.004503872245550156, -0.01812608540058136, -0.03377179801464081, 0.010798444040119648, 0.009769978001713753, 0.00017558551917318255, 0.021085675805807114, -0.0009548967937007546, -0.012905530631542206, -0.018718112260103226, -0.024793293327093124, 0.011181510053575039, 0.019356640055775642, 0.04859044775366783, -0.011077120900154114, 0.05800943821668625, -0.011731976643204689, 0.021806932985782623, -0.015527690760791302, -0.04633677378296852, -0.022170236334204674, -0.02834377996623516, 0.0008803537930361927, 0.0468468964099884, 0.041879475116729736, 0.02557157166302204, 0.0012347162701189518, 0.022060325369238853, -0.0032142167910933495, -0.0032191199716180563, 0.05350121855735779, -0.024060631170868874, -0.01812535524368286, -0.0026884896215051413, -0.04469960182905197, 0.043779727071523666, -0.03263341635465622, -0.04802194982767105, -0.0040059941820800304, -0.0956702008843422, 0.03664805367588997, -0.07272666692733765, -0.0798710361123085, -0.001431712880730629, 0.018379250541329384, 0.018127810209989548, 0.010496720671653748, 0.022580575197935104, 0.06380130350589752, 0.00032033660681918263, 0.00795762613415718, 0.026028307154774666, 0.016911448910832405, 0.04464220628142357, -0.009980483911931515, 0.014693093486130238, 0.058808036148548126, -0.029919762164354324, -0.008888273499906063, -0.06104379892349243, 0.01836356148123741, -0.020982462912797928, -0.27265214920043945, 0.05763162672519684, 0.026042915880680084, -0.03182390704751015, 0.04086504876613617, -0.028313862159848213, 0.04128409922122955, -0.04608858376741409, -0.022284917533397675, 0.0016437190352007747, -0.019333988428115845, -0.044616516679525375, -0.012862392701208591, 0.0027973568066954613, 0.00020807019609492272, 0.00011098520189989358, 0.0048125688917934895, -0.031710922718048096, 0.023333914577960968, 0.02376440353691578, -0.008682440035045147, -0.06495867669582367, -0.0039955852553248405, 0.05908271670341492, 0.04008995369076729, 0.062869593501091, -0.060427214950323105, 0.016880445182323456, -0.023563874885439873, -0.0012940724845975637, 0.026105206459760666, -0.0019081039354205132, 0.01480049267411232, -0.001107583288103342, -0.04509787634015083, -0.03262631222605705, 0.03964328393340111, 0.014924753457307816, 0.0175545122474432, 0.003990767989307642, -0.024722158908843994, -0.04179450497031212, -0.018905645236372948, -0.017179779708385468, 0.06987006217241287, -0.013384895399212837, -0.05308324471116066, 0.02950919046998024, -0.018280163407325745, 0.062255192548036575, -0.011193442158401012, -0.04639386013150215, -0.0054749795235693455, 0.049725789576768875, -0.010432375594973564, -0.02735154516994953, -0.004992812871932983, 0.004062263760715723, -0.04053168371319771, -0.06326373666524887, 0.014868734404444695, -0.04316234961152077, -0.03705386072397232, -0.04059354588389397, 0.02123066410422325, -0.07718741148710251, -0.04737945273518562, -0.03609192743897438, 0.09986340999603271, 0.05107330158352852, -0.013292917981743813, 0.031013479456305504, 0.01568397507071495, -0.10367114096879959, 0.03709203377366066, -0.018038684502243996, -0.031457703560590744, -0.004586128052324057, -0.012143154628574848, 0.030949678272008896, -0.027277546003460884, -0.03929872065782547, 0.022934548556804657, 0.002637428231537342, 0.006548872217535973, -0.02255786769092083, 0.06431547552347183, -0.0006817494868300855, -0.0024175113067030907, 0.002919672057032585, 0.08527050167322159, 0.006492462009191513, -0.023878224194049835, -0.025166304782032967, -0.00668999832123518, 0.017638349905610085, 0.042080171406269073, -0.010644832625985146, 0.008927389048039913, 0.012304580770432949, 0.036154501140117645, -0.058171533048152924, 0.04609786719083786, -0.06424024701118469, 0.014965524896979332, -0.009033921174705029, -0.0414370633661747, 0.025649704039096832, 0.02275026962161064, 0.005499046295881271, -0.030238710343837738, -0.055569425225257874, -0.010413287207484245, -0.054396435618400574, -0.04474540054798126, -0.0044370354153215885, 0.013360326178371906, 0.0009076208807528019, -0.003142598085105419, -0.03640994429588318, -0.008865212090313435, 0.02572464942932129, 0.02323269471526146, 0.00121105567086488, -0.056366536766290665, -0.05019283667206764, 0.0013486692914739251, -0.003555504372343421, 0.028944477438926697, 0.0018979081651195884, 0.01457013189792633, 0.03887639939785004, -0.01354370079934597, -0.036496005952358246, 0.039672814309597015, 0.01759953796863556, -0.01625598780810833, -0.037240102887153625, -0.0011582450242713094, -0.0069746291264891624, 0.021692732349038124, 0.026130251586437225, -0.013824655674397945, 0.020511575043201447, 0.06662449985742569, 0.016657492145895958, 0.039583589881658554, -0.009314073249697685, 0.01596519537270069, 0.012075625360012054, -0.0007020942866802216, -0.07278267294168472, 0.007743846159428358, -0.026256388053297997, -0.03068784438073635, -0.007764988113194704, 0.027107244357466698, -0.002163885859772563, -0.03859836608171463, -0.02033812366425991, 0.011880067177116871, -0.06689851731061935, -0.04648565128445625, -0.0033389294985681772, -0.012839590199291706, 0.05388062074780464, -0.00885479524731636, 0.009118707850575447, 0.00042103827581740916, 0.00005572307054535486, 0.028756242245435715, 0.04350076988339424, -0.02154375985264778, 0.0028014143463224173, 0.0077978456392884254, -0.030369721353054047, -0.024842513725161552, 0.01235516183078289, 0.05342951416969299, 0.02201061323285103, 0.0024504573084414005, -0.03165228292346001, 0.015584329143166542, 0.0465141199529171, 0.05080744996666908, 0.01638912968337536, -0.00009656009933678433, -0.0014480551471933722, -0.014453733339905739, -0.01473751850426197, -0.03265160322189331, -0.01797725073993206, -0.017682328820228577, 0.017184054479002953, -0.027284344658255577, -0.04357283189892769, 0.04010418802499771, -0.016113894060254097, 0.04282452166080475, 0.044980160892009735, 0.00800020806491375, 0.016743190586566925, -0.02187509275972843, 0.017641549929976463, 0.004357494413852692, -0.05247480794787407, 0.007553743664175272, -0.0011782663641497493, -0.01097446121275425, 0.011703242547810078, 0.014077340252697468, -0.027943750843405724, -0.030064621940255165, -0.026281798258423805, 0.026371637359261513, -0.042185019701719284, -0.04030335322022438, -0.012977366335690022, 0.028790457174181938, -0.0027928180061280727, -0.006376011297106743, -0.026171211153268814, -0.007568092551082373, -0.00010506072430871427, -0.025177929550409317, 0.0110046761110425, -0.006002239882946014, 0.0013637810479849577, 0.03425025939941406, -0.02477572299540043, 0.023080002516508102, -0.017607122659683228, 0.010132418014109135, 0.02605683170258999, -0.032473232597112656, -0.03585008159279823, -0.05441247671842575, 0.0020687722135335207, -0.00883803702890873, 0.05221458524465561, 0.015926135703921318, -0.02699040062725544, -0.06014809012413025, -0.003134241560474038, -0.02197837457060814, 0.03330346941947937, -0.02337746135890484, -0.01374523900449276, 0.031663842499256134, 0.04690447077155113, 0.0487944595515728, -0.009181632660329342, -0.030381163582205772, -0.025003505870699883, 0.04703846946358681, -0.08084890246391296, -0.004377148114144802, -0.03312187269330025, -0.04685783386230469, 0.006139951292425394, 0.012220949865877628, 0.02939819172024727, -0.015393242239952087, 0.023013053461909294, 0.03620101884007454, -0.004128106404095888, 0.04398072138428688, 0.005603821482509375, 0.023067397996783257, -0.029099609702825546, 0.006959892809391022, -0.08102830499410629, 0.02886904962360859, 0.021627431735396385, 0.0008067745948210359, -0.01595987379550934, 0.007476644590497017, -0.04824342951178551, 0.022145317867398262, -0.07770207524299622, -0.03647080436348915, 0.027200080454349518, 0.005306060891598463, -0.02480960264801979, -0.00908031314611435, -0.07742893695831299, 0.03143056109547615, 0.04079956188797951, -0.05776970088481903, -0.04764646291732788, -0.04108184576034546, 0.07426849752664566, 0.002653534524142742, -0.0035114502534270287, -0.051231808960437775, -0.0077383085153996944, 0.036081891506910324, 0.017612121999263763, 0.003177401376888156, 0.027979405596852303, -0.024083994328975677, 0.027299867942929268, 0.019798098132014275, -0.004335138481110334, 0.0010612689657136798, -0.003920646384358406, -0.017735669389367104, -0.08536580204963684, 0.011503124609589577, 0.008273134008049965, -0.05603434145450592, -0.048829901963472366, 0.07769075036048889, 0.013154519721865654, -0.014475950971245766, -0.07148239761590958, -0.0036236178129911423, -0.027040038257837296, -0.031024403870105743, -0.020643386989831924, 0.02886947989463806, -0.02988024614751339, 0.06547973304986954, 0.010489603504538536, -0.008930377662181854, 0.07890643924474716, -0.0026175181847065687, -0.0019471491686999798, -0.010169518180191517, 0.06962785869836807, 0.08778072893619537, 0.04787582531571388, -0.02237875945866108, 0.06744105368852615, -0.008145675994455814, -0.05396336689591408, 0.02550460956990719, -0.021357720717787743, -0.021640785038471222, -0.01880561001598835, -0.02559550292789936, 0.05200721696019173, -0.032391369342803955, 0.07377494126558304, -0.02696160413324833, -0.01683463715016842, 0.008697358891367912, 0.03448382019996643, -0.0028130661230534315, 0.008888838812708855, 0.01199878565967083, -0.006462051533162594, -0.015739426016807556, -0.04628939554095268, 0.028878916054964066, -0.007386806886643171, -0.014877613633871078, 0.009765585884451866, -0.021897099912166595, 0.012541697360575199, -0.03993254899978638, 0.025877485051751137, 0.06793360412120819, -0.044073257595300674, -0.004826683085411787, 0.01163301058113575, 0.03314867243170738, -0.0018039982533082366, 0.026172950863838196, -0.009971602819859982, -0.028293302282691002, -0.016372591257095337, -0.025999339297413826, -0.00029096906655468047, -0.015881530940532684, -0.015235718339681625, 0.051287371665239334, -0.037834737449884415, -0.017477972432971, 0.012886062264442444, -0.013431021012365818, -0.023641448467969894, -0.05289065092802048, -0.05934849753975868, -0.0410136878490448, -0.09407065063714981, -0.034141574054956436, 0.026603873819112778, -0.019775286316871643, -0.058292899280786514, -0.022556284442543983, -0.02843785658478737, -0.011343344114720821, 0.02882632054388523, -0.03727952763438225, -0.013404162600636482, 0.014657624065876007, 0.025815417990088463, 0.0462595634162426, 0.038026146590709686, 0.02274627983570099, 0.0017083591083064675, -0.014225491322577, -0.04592104256153107, -0.02374500036239624, 0.04405007138848305, 0.007557225413620472, -0.021826300770044327, -0.08622497320175171, 0.012550418265163898, 0.028329936787486076, -0.027841120958328247, -0.058129336684942245, 0.0238957442343235, 0.01877403073012829, -0.023376794531941414, 0.057638879865407944, -0.03002777136862278, -0.007758901920169592, -0.02652653120458126, -0.018072325736284256, -0.01884426176548004, -0.0012562082847580314, 0.04773220419883728, -0.012003816664218903, 0.08247730880975723, 0.05103273317217827, -0.00852650124579668, -0.03095664270222187, -0.031086452305316925, 0.010204513557255268, 0.023058246821165085, -0.01132920477539301, -0.014866510406136513, -0.05666179955005646, -0.0733453705906868, -0.01920030452311039, 0.030166417360305786, -0.026664264500141144, -0.03520387411117554, 0.02014261670410633, 0.017438123002648354, -0.042939066886901855, -0.012409234419465065, -0.03508773818612099, 0.014636785723268986, -0.019850967451930046, -0.017618155106902122, -0.030144628137350082, 0.04262636601924896, -0.005393664352595806, -0.017345402389764786, 0.03367926925420761, -0.050418052822351456, -0.004591494332998991, 0.0175845455378294, 0.03546003997325897, 0.02907700464129448, 0.0015893816016614437, 0.03579770028591156 ]
[ -0.07804536819458008, -0.00624594371765852, -0.051590338349342346, -0.03949831426143646, 0.041564151644706726, -0.032140254974365234, 0.018707789480686188, 0.008060997352004051, -0.006009334232658148, -0.014271351508796215, 0.010552656836807728, -0.016072800382971764, -0.002543930895626545, 0.03213365003466606, 0.09103818237781525, 0.03162766620516777, -0.011852056719362736, -0.06130005791783333, -0.01506796944886446, 0.07091334462165833, 0.0290568508207798, -0.00777709623798728, -0.023616017773747444, -0.051271434873342514, -0.03336993604898453, -0.015678565949201584, 0.032862745225429535, -0.055576205253601074, -0.0038994555361568928, -0.16041146218776703, 0.023805629462003708, -0.0324508436024189, 0.025874951854348183, -0.02507222443819046, -0.020426910370588303, -0.0222635455429554, 0.04398646205663681, 0.024978505447506905, 0.003957138862460852, 0.04113459214568138, -0.010780793614685535, 0.008091643452644348, -0.04170743748545647, -0.0052912053652107716, 0.048775799572467804, 0.0012324769049882889, -0.0010372452670708299, -0.03093855455517769, -0.03264293447136879, 0.04058244451880455, -0.04269245266914368, 0.00492783822119236, -0.011361957527697086, 0.010889645665884018, 0.008820872753858566, 0.014902191236615181, 0.045237552374601364, 0.06073921546339989, -0.02844688482582569, 0.006693636532872915, 0.021138407289981842, 0.004645633976906538, -0.11797729879617691, 0.13084980845451355, 0.01095071155577898, 0.08221683651208878, -0.028803959488868713, -0.009444124065339565, -0.027759922668337822, 0.035097673535346985, -0.006512134335935116, -0.01958460360765457, -0.0701126754283905, 0.04550808668136597, 0.03128254786133766, 0.020851261913776398, 0.00983993150293827, 0.043744735419750214, 0.032989535480737686, -0.03613091632723808, -0.017650853842496872, -0.02252417989075184, 0.019148217514157295, -0.006295200437307358, -0.04309316352009773, -0.0030178132001310587, 0.019891012459993362, 0.02900548465549946, 0.004010701552033424, 0.017154306173324585, 0.008445734158158302, -0.046149514615535736, 0.05191943049430847, -0.0003017753188032657, -0.07428716123104095, -0.022120043635368347, -0.03278878331184387, 0.030324915423989296, -0.05984586104750633, 0.3897378146648407, -0.029009535908699036, -0.027743877843022346, 0.046387434005737305, 0.012818049639463425, -0.01678374782204628, 0.007418182212859392, 0.025075484067201614, -0.03844871744513512, 0.011699945665895939, -0.032018713653087616, 0.0062257288955152035, 0.006131088361144066, 0.007257099729031324, -0.013562539592385292, 0.013796558603644371, 0.018949221819639206, 0.007584225386381149, 0.009134682826697826, -0.0003045037155970931, 0.0004254292871337384, -0.019759783521294594, 0.002048143418505788, 0.032605402171611786, 0.03112000599503517, 0.03560771048069, 0.0027330941520631313, 0.05257296934723854, 0.07236041128635406, 0.04683804139494896, 0.044484976679086685, 0.039344243705272675, -0.02194526046514511, -0.07240083068609238, 0.0035747294314205647, -0.011640092357993126, -0.001969620119780302, 0.04080628976225853, 0.012147840112447739, -0.016554519534111023, 0.002423437312245369, -0.0015059500001370907, -0.013628056272864342, 0.007178429514169693, 0.016860084608197212, -0.024786144495010376, 0.12563946843147278, 0.003884660080075264, -0.04291873425245285, -0.05011479929089546, -0.047950830310583115, 0.016837507486343384, 0.06284964829683304, -0.03591170534491539, -0.05505141615867615, -0.04786299169063568, 0.05354158952832222, 0.045532193034887314, -0.036124274134635925, -0.05095165595412254, -0.04312014579772949, 0.010866301134228706, -0.03154919669032097, -0.02207985520362854, 0.05060263350605965, 0.05857909098267555, -0.14595244824886322, -0.04454493522644043, 0.008535023778676987, 0.04088275134563446, -0.0843229740858078, -0.017111798748373985, -0.012498030439019203, -0.04251338168978691, -0.04331906884908676, 0.024787694215774536, -0.0165872685611248, -0.03653388470411301, -0.004274667706340551, 0.004494762048125267, 0.02921774424612522, 0.0035330646205693483, -0.017552848905324936, -0.04621307924389839, -0.000026740248358692043, -0.04176528379321098, -0.08146043121814728, -0.014861313626170158, -0.00717132305726409, 0.017370417714118958, 0.012337825261056423, -0.03969276696443558, -0.051141053438186646, -0.09390494227409363, 0.04558361694216728, 0.0023894431069493294, -0.0011048519518226385, 0.03429217264056206, -0.008003081195056438, -0.001264454098418355, -0.048899825662374496, 0.04180403798818588, 0.03419329598546028, -0.03472045063972473, 0.029381144791841507, -0.024073174223303795, 0.07777856290340424, 0.05601964145898819, -0.06106913089752197, 0.02714567258954048, 0.029445698484778404, -0.04001921787858009, -0.007628541439771652, -0.00047844622167758644, 0.011481805704534054, -0.0056227026507258415, -0.02088308520615101, 0.012584464624524117, 0.044834379106760025, 0.04270678013563156, 0.035249028354883194, -0.0486377514898777, -0.016810376197099686, 0.017634611576795578, -0.3433857262134552, -0.03474739193916321, 0.006227759178727865, -0.001384842791594565, 0.013851595111191273, -0.08249686658382416, 0.0008891078177839518, -0.015094224363565445, 0.007747936062514782, 0.036940012127161026, 0.09379440546035767, 0.011812414973974228, 0.007688125595450401, -0.06401409953832626, -0.01629229448735714, 0.02244913950562477, 0.009639652445912361, -0.037768881767988205, -0.012898697517812252, -0.00003142573405057192, -0.06377708166837692, 0.009441440925002098, 0.012347456999123096, -0.06380566954612732, 0.009059591218829155, -0.02565409056842327, 0.13009220361709595, 0.01503701414912939, 0.11459467560052872, -0.05656276270747185, 0.022350776940584183, 0.012336935847997665, -0.007952882908284664, -0.12012023478746414, 0.02117173559963703, -0.0371306948363781, -0.00634344108402729, 0.03255621716380119, 0.031946487724781036, -0.03029571659862995, -0.02128179930150509, -0.03481998294591904, -0.008322164416313171, -0.08682779222726822, -0.010126497596502304, -0.01573677361011505, -0.047856200486421585, -0.05646129697561264, -0.029878944158554077, 0.06609220802783966, -0.01092731487005949, 0.014431549236178398, 0.033173225820064545, 0.06088321655988693, 0.0007715986575931311, -0.017490247264504433, -0.045182522386312485, -0.020525071769952774, -0.002128956839442253, 0.04199203476309776, 0.05863930657505989, 0.020441632717847824, 0.0120153296738863, -0.07650183141231537, 0.0020410255528986454, 0.033426862210035324, -0.017757102847099304, -0.010454586707055569, 0.07890693098306656, -0.01408955454826355, -0.05687236785888672, 0.13267864286899567, 0.01041951309889555, 0.0352049395442009, 0.04206368327140808, 0.04501199349761009, -0.048599451780319214, -0.015588986687362194, 0.014413813129067421, 0.017433742061257362, 0.02992192842066288, 0.018684199079871178, 0.08413918316364288, -0.03575333207845688, 0.03171119466423988, 0.04086652770638466, -0.05447031185030937, -0.00976539496332407, 0.020716728642582893, 0.00045067971223033965, -0.024630073457956314, -0.03658396378159523, -0.03032325953245163, -0.09886299073696136, 0.0339336059987545, -0.033169761300086975, -0.25024691224098206, 0.011718133464455605, 0.06297166645526886, 0.08296394348144531, 0.009816139936447144, 0.005438852123916149, 0.06673241406679153, -0.06878487020730972, -0.022796040400862694, 0.027147263288497925, 0.014685768634080887, 0.040848251432180405, 0.01736731454730034, -0.004957296419888735, 0.020768364891409874, 0.017352331429719925, 0.020332805812358856, 0.015521051362156868, -0.013721155934035778, -0.012067501433193684, 0.009869448840618134, -0.0354132354259491, 0.17627443373203278, 0.04734503850340843, 0.0017900862731039524, 0.023753030225634575, 0.0006864671595394611, 0.037909772247076035, 0.08554162085056305, 0.023810680955648422, -0.005394199397414923, -0.010253161191940308, 0.06779883056879044, -0.0029334959108382463, 0.03965654596686363, -0.10052652657032013, -0.03785023093223572, 0.006567001808434725, 0.045808929949998856, -0.0032537817023694515, -0.023742636665701866, 0.006450093351304531, -0.03754579648375511, 0.02378716692328453, 0.04704119265079498, 0.030898919329047203, 0.031233638525009155, -0.0018625656375661492, -0.03985978662967682, -0.008636086247861385, -0.026479218155145645, -0.02702738158404827, 0.0019129664869979024, -0.0002755745954345912, 0.020162664353847504, 0.07696378231048584, -0.024108849465847015, -0.03997945040464401, -0.018472999334335327, 0.02317729778587818, 0.016559109091758728, 0.012569814920425415, 0.07298629730939865, -0.0027319672517478466, 0.01632682979106903 ]
[ -0.010202525183558464, -0.00359942764043808, -0.01116944570094347, 0.02490849606692791, 0.018544519320130348, -0.002836094005033374, 0.026160338893532753, -0.023048195987939835, -0.00823111180216074, -0.0009684368269518018, 0.0007843603380024433, 0.026796648278832436, 0.040109388530254364, -0.003517261939123273, 0.0029373939614742994, 0.03246382623910904, 0.017290309071540833, -0.024650899693369865, 0.007992471568286419, 0.012476404197514057, -0.01931416243314743, 0.005837706848978996, 0.020920008420944214, -0.012893836945295334, 0.0030967886559665203, 0.015350406058132648, 0.0009365491569042206, -0.01183538231998682, 0.028338691219687462, -0.1360069066286087, 0.0022006966173648834, -0.05826641246676445, -0.012273760512471199, 0.02518654614686966, -0.006258776877075434, -0.011733969673514366, -0.0021223346702754498, 0.0026907692663371563, 0.004110495559871197, 0.02199694886803627, -0.020077330991625786, -0.017179882153868675, 0.01623118482530117, 0.02342059835791588, -0.03231452405452728, -0.028553714975714684, -0.03208064287900925, -0.032674990594387054, -0.02640639804303646, -0.013865264132618904, -0.0027865231968462467, 0.0059701805002987385, -0.03415960818529129, 0.01251935213804245, -0.015319125726819038, -0.04409166797995567, -0.026298414915800095, -0.01839674636721611, -0.020846247673034668, 0.03393774479627609, 0.0016211888287216425, 0.012531175278127193, -0.017602723091840744, -0.020542578771710396, -0.006522147450596094, 0.008097527548670769, -0.0009903052123263478, 0.010299937799572945, 0.003890663618221879, 0.007094131782650948, -0.010491998866200447, 0.021146202459931374, -0.02447524480521679, -0.007788422051817179, 0.012263167649507523, -0.029260950163006783, 0.008883032947778702, 0.0062364679761230946, 0.01659594289958477, -0.005455292295664549, 0.006797440815716982, 0.011561756022274494, 0.03259437531232834, 0.039594635367393494, 0.0427531823515892, 0.024478882551193237, -0.0034782772418111563, -0.0005351006402634084, -0.010443282313644886, 0.007282440084964037, -0.026643577963113785, 0.010344762355089188, 0.01932442933320999, 0.03785998001694679, -0.08364829421043396, -0.044507961720228195, -0.0033341788221150637, -0.009589184075593948, -0.018323607742786407, 0.8442255258560181, 0.006179258693009615, -0.009987987577915192, 0.03144148737192154, 0.007270940579473972, 0.03844795376062393, -0.04403753578662872, 0.0317067950963974, 0.030359512194991112, 0.047604259103536606, -0.02895193174481392, -0.023351803421974182, 0.02326483093202114, -0.003731274977326393, 0.018903428688645363, -0.010355744510889053, -0.012684604153037071, 0.010597197338938713, -0.02519341930747032, -0.0006080266321077943, 0.02735065668821335, 0.003788928035646677, -0.0015867293113842607, -0.005105756688863039, 0.02032538317143917, 0.01804277114570141, -0.17429275810718536, 0.02511325664818287, -8.390220233372668e-33, 0.02506493218243122, 0.010860427282750607, -0.0020438057836145163, -0.008832578547298908, 0.010226571001112461, 0.0033675115555524826, 0.015914907678961754, -0.0170254185795784, 0.0003917971334885806, -0.01456674188375473, 0.0029678414575755596, -0.03519327938556671, 0.030542580410838127, 0.013749849982559681, 0.046993136405944824, -0.020034000277519226, -0.0069089909084141254, 0.028649773448705673, 0.015459029003977776, -0.011186090297996998, 0.018324557691812515, 0.014752631075680256, 0.015614891424775124, 0.00831566285341978, -0.023992491886019707, 0.009793751873075962, -0.03482399880886078, 0.04092330113053322, -0.004056296311318874, -0.04857458174228668, 0.012525553815066814, 0.0015488970093429089, -0.011323090642690659, -0.005729516502469778, 0.005442552734166384, -0.032201722264289856, 0.004346530418843031, 0.012901454232633114, -0.011629258282482624, 0.013809485360980034, -0.028874902054667473, -0.0034521478228271008, -0.04109940305352211, 0.008525462821125984, -0.03178717941045761, -0.04546777531504631, -0.02938852086663246, -0.006646227557212114, 0.007588807959109545, -0.03162020072340965, 0.009080357849597931, 0.01846492849290371, 0.005383572541177273, 0.021416321396827698, -0.023859770968556404, 0.012547850608825684, -0.02078769914805889, -0.0074348533526062965, 0.030806150287389755, 0.03565688803792, 0.023049360141158104, -0.0518866591155529, -0.024807531386613846, 0.0017741192132234573, -0.024477332830429077, -0.06450387090444565, 0.05915096029639244, -0.01712958700954914, 0.015699898824095726, -0.02799147740006447, -0.054117653518915176, -0.021741004660725594, 0.00314471242018044, -0.009631054475903511, -0.0014230639208108187, 0.006611995864659548, -0.02594820223748684, 0.0452820360660553, 0.023228488862514496, 0.055504392832517624, 0.02783351019024849, -0.012392972595989704, 0.03619486466050148, -0.011206437833607197, -0.009266153909265995, -0.00806583184748888, 0.013552145101130009, -0.018577681854367256, 0.0021207681857049465, 0.03920875862240791, 0.049776218831539154, -0.008546621538698673, -0.00578722869977355, -0.042330849915742874, -0.012748362496495247, 8.340233805471888e-33, -0.006505821831524372, 0.022638671100139618, -0.053586408495903015, 0.02063453570008278, 0.0011186550837010145, -0.012004026211798191, 0.035380806773900986, 0.03940508887171745, -0.03959675133228302, 0.012292549945414066, 0.03882484883069992, 0.027623148635029793, -0.004245318938046694, 0.0384509414434433, 0.04019629955291748, -0.019407710060477257, -0.0036949028726667166, 0.021913019940257072, 0.041061144322156906, -0.01158487144857645, 0.015559517778456211, 0.0004071186704095453, -0.02359546534717083, -0.006755936425179243, 0.013398936949670315, 0.05839381366968155, -0.022935815155506134, -0.008649093098938465, 0.012051669880747795, 0.012370874173939228, -0.03154713660478592, 0.015428437851369381, 0.02683783881366253, -0.03694285452365875, -0.03310437873005867, 0.03506164997816086, 0.008661708794534206, -0.0051327235996723175, 0.0010679030092433095, 0.017152775079011917, 0.027766302227973938, 0.01867351308465004, -0.008845417760312557, 0.024961162358522415, 0.008527548983693123, -0.0013711528154090047, -0.022946104407310486, -0.007659567520022392, 0.011754674836993217, 0.012870444916188717, -0.010644778609275818, 0.017404107376933098, 0.01820516586303711, -0.026177814230322838, 0.004118320532143116, -0.029790066182613373, -0.025202831253409386, -0.0123179592192173, -0.026967549696564674, 0.03182397037744522, -0.005314055364578962, -0.0014063998823985457, -0.028738267719745636, 0.009757823310792446, -0.03217989578843117, 0.015147757716476917, -0.045673247426748276, -0.01607254333794117, 0.004523125477135181, -0.05477938801050186, -0.04221836104989052, -0.013220499269664288, -0.013980822637677193, 0.01740213856101036, 0.03169453144073486, -0.07804962992668152, -0.0027888633776456118, 0.029890943318605423, -0.012820860370993614, 0.04243268072605133, 0.01385461911559105, -0.005594770424067974, -0.007337188348174095, -0.018068216741085052, 0.014844040386378765, 0.012885190546512604, -0.008445771411061287, -0.0007455695886164904, -0.0262818094342947, -0.05607963353395462, -0.020820144563913345, 0.006848218385130167, -0.03941978141665459, -0.0007178375963121653, 0.03132208436727524, -1.346602651608464e-8, -0.04804820194840431, 0.03379930183291435, 0.00653009582310915, -0.010942317545413971, 0.034947775304317474, 0.058755531907081604, -0.03261135146021843, -0.026654738932847977, -0.007038488984107971, 0.0011687747901305556, 0.062263648957014084, 0.008600800298154354, 0.0009109126403927803, -0.014171963557600975, -0.016398143023252487, -0.033085886389017105, -0.03988727927207947, -0.023748906329274178, 0.04495669901371002, 0.010987335816025734, 0.01714848354458809, 0.061205267906188965, -0.013251317664980888, -0.040758367627859116, 0.054272573441267014, 0.00525001622736454, 0.019777460023760796, -0.06087382137775421, -0.016898026689887047, 0.02220073901116848, -0.019112898036837578, -0.025311309844255447, -0.025929410010576248, 0.002244888572022319, -0.016708524897694588, -0.027179354801774025, -0.004793125670403242, -0.018695807084441185, 0.015907952561974525, 0.020546860992908478, 0.012679241597652435, 0.006833290681242943, -0.007372863125056028, -0.015284493565559387, 0.014461097307503223, 0.043580956757068634, 0.007880007848143578, 0.016302352771162987, 0.009749175049364567, -0.03311746567487717, 0.015593851916491985, -0.007348508574068546, 0.000714363472070545, 0.04068152979016304, 0.045813266187906265, -0.023223048076033592, 0.027742300182580948, -0.029130958020687103, -0.005947659723460674, 0.03353471681475639, -0.009720848873257637, 0.03433690220117569, -0.020404383540153503, -0.03308385983109474 ]
encoding-user-entered-data
https://markhneedham.com/blog/2009/02/15/encoding-user-entered-data
false
2009-02-12 22:47:30
ASP.NET MVC: Preventing XSS attacks
[ "aspnet", "mvc" ]
[ ".NET" ]
http://en.wikipedia.org/wiki/Cross-site_scripting[XSS](Cross site scripting) attacks on websites seem to be quite popular these days but luckily if you're working with the ASP.NET MVC framework Steve Sanderson has written a http://blog.codeville.net/2007/12/19/aspnet-mvc-prevent-xss-with-automatic-html-encoding/[great post on how to protect yourself from this]. The solution Steve details works the opposite way to other solutions I have heard for this problem - we assume that everything that goes to the browser needs to be HTML encoded unless otherwise stated. The benefit of this approach is that when we add new things to our page in the future we don't need to worry that we might have inadvertently reintroduced a security problem. == Excluding aspx code from being encoded After setting up the encoding we came up against the problem of how to exclude HTML that we are generating from our aspx templates that we don't want HTML encoded. This was a particular problem with our use of the HtmlHelper and UrlHelper provided with the framework. Since the majority of the methods we use are extension methods on these classes we didn't find it that easy to work out how to proxy those calls (we couldn't just override the methods since they aren't actually on HtmlHelper!) to our own RawHtmlHelper which could cast the result to RawHtml and therefore allow it to be rendered by the page. The aim was to minimise the amount of things that we had to change. The worst case solution would be to have to go through all our aspx files and change every call to a Helper method to a new encoded version of the same method. Luckily the link:[new] keyword comes to the rescue and allows us to hack around the problem. We hooked into the page lifecycle to create a new version of the Html property which returned our RawHtmlHelper. [source,csharp] ---- public class BaseViewPage<TModel> : ViewPage<TModel> where TModel = class { public override void InitHelpers() { base.Html = new RawHtmlHelper(..); base.Url = new RawUrlHelper(...); } public new RawHtmlHelper Html { get { return (RawHtmlHelper) base.Html; } } } ---- [source,csharp] ---- public class RawHtmlHelper : HtmlHelper { public RawHtml TextBox(string name, object value) { return (RawHtml) ((HtmlHelper)this).TextBox(name, value); } } ---- In our aspx page we don't need to make any changes to our code in order for it to now use the RawHtmlHelper method instead of the HtmlHelper method. [source,text] ---- <%= Html.TextBox("name", "value") %> ---- The only other change was to make each of our aspx code behind classes inherit from BaseViewPage so that they receive the new Html property. == Overall There is way too much casting for my liking in this solution but I'm not sure if a better solution exists other than creating our own version of the helper methods named 'RawTextBox', 'RawRadioButton' and so on. The amount of work with that approach would be almost the same except if we have used the original HtmlHelper anywhere then we need to go and change all those too - exactly the problem we were trying to solve with the above solution.
null
null
[ -0.007773700635880232, -0.007958480156958103, -0.018428130075335503, 0.02893618494272232, 0.05595189332962036, -0.03553203120827675, 0.044205982238054276, 0.03649885207414627, 0.033117227256298065, -0.03399677202105522, -0.03347305208444595, -0.008935444056987762, -0.0624379999935627, 0.003351072082296014, -0.03442846238613129, 0.08509831130504608, 0.0510752908885479, -0.00900785531848669, 0.01726045086979866, -0.014825277961790562, 0.005636199377477169, 0.06141139939427376, -0.007473277393728495, 0.030554991215467453, 0.03581259027123451, 0.03394818305969238, 0.0008125357562676072, -0.009758003987371922, -0.07071404159069061, -0.014687377959489822, 0.05948992446064949, 0.04317234456539154, 0.010719922371208668, -0.01371007226407528, 0.03557739034295082, -0.017909005284309387, -0.017865318804979324, 0.008749160915613174, 0.010279832407832146, 0.02987721934914589, -0.07374528795480728, 0.03381119295954704, 0.006862335372716188, 0.024996869266033173, -0.04254041612148285, -0.02507193386554718, -0.02314797230064869, 0.02818845957517624, -0.030839938670396805, -0.012133216485381126, -0.0671229436993599, 0.0605093389749527, -0.04531637206673622, 0.007366800215095282, 0.0016567324055358768, 0.06410267949104309, 0.0057244314812123775, -0.05820021778345108, 0.017204223200678825, -0.06251995265483856, 0.000020970110199414194, 0.00709565170109272, 0.002525557763874531, 0.02365705370903015, 0.013879073783755302, 0.02319154143333435, -0.008162914775311947, 0.05556301772594452, -0.04438129439949989, -0.027177806943655014, 0.027488671243190765, 0.01593046635389328, -0.0291154645383358, 0.002790357219055295, 0.037662990391254425, -0.01648821495473385, -0.030319789424538612, 0.05268670246005058, 0.0034140711650252342, 0.0443200021982193, -0.0209752656519413, 0.016131078824400902, 0.03296741098165512, 0.019375557079911232, 0.0019948475528508425, -0.047239065170288086, -0.01922656036913395, 0.03530740737915039, -0.03102700412273407, 0.061958953738212585, 0.027931394055485725, -0.040345899760723114, 0.03502625599503517, 0.02075813151896, 0.01814309135079384, 0.00617234455421567, -0.0005853741313330829, 0.0015466479817405343, -0.0030371586326509714, -0.005265523679554462, -0.022819537669420242, -0.012160946615040302, 0.024218732491135597, -0.006604847498238087, -0.09696309268474579, 0.01233578845858574, -0.02794731967151165, 0.024311315268278122, 0.012433754280209541, -0.009062000550329685, -0.03866492211818695, 0.020000582560896873, -0.04174009710550308, -0.03230002894997597, -0.05759423226118088, 0.05773044005036354, -0.005610763560980558, -0.016613813117146492, 0.011616941541433334, 0.03439861536026001, 0.05406985804438591, 0.009154087863862514, -0.03560997173190117, 0.08255363255739212, 0.04364013671875, 0.034434374421834946, -0.0169686246663332, 0.07343433797359467, -0.009630359709262848, -0.0657440796494484, 0.012833229266107082, 0.05967063829302788, -0.007017665542662144, 0.008702187798917294, 0.006446337327361107, 0.0008726242231205106, 0.0005509964539669454, -0.0011798982741311193, 0.022867826744914055, 0.028605379164218903, -0.03912343457341194, -0.04666128382086754, 0.010328464210033417, 0.009533747099339962, 0.02214309200644493, -0.001096818596124649, -0.007150128483772278, -0.02936358004808426, -0.036255452781915665, 0.02383090741932392, 0.017661958932876587, 0.017054500058293343, 0.033116504549980164, -0.03928577899932861, 0.016852909699082375, 0.06741432100534439, 0.03931267932057381, -0.00989195704460144, 0.00844163354486227, 0.013649169355630875, 0.03773321956396103, 0.016396870836615562, -0.01201776135712862, 0.05685573071241379, 0.026332877576351166, 0.008260550908744335, -0.030442113056778908, 0.050368133932352066, 0.0005439703236334026, -0.014482800848782063, -0.08458518981933594, -0.02869519218802452, 0.06553753465414047, -0.07059061527252197, -0.008456566371023655, 0.04852239415049553, 0.05523179844021797, -0.0020455094054341316, 0.06831027567386627, -0.0017157751135528088, -0.07412143796682358, 0.008859113790094852, 0.028788533061742783, 0.021218987181782722, 0.0220200028270483, -0.001199408550746739, 0.08837214857339859, 0.03608004003763199, 0.015688015148043633, 0.05660974606871605, -0.09252109378576279, -0.07080861926078796, -0.049274470657110214, -0.0048895166255533695, 0.0703953430056572, -0.015561172738671303, -0.005316045135259628, 0.10009591281414032, 0.02379973977804184, 0.04220400005578995, 0.019411103799939156, -0.013883404433727264, 0.013673078268766403, -0.023456430062651634, -0.04651045426726341, 0.01900641992688179, 0.03421777859330177, -0.01564079150557518, -0.04533890262246132, -0.010919869877398014, -0.006705690175294876, -0.006628685165196657, 0.028879713267087936, -0.013802234083414078, 0.021149063482880592, 0.01466044969856739, 0.048162247985601425, -0.022293908521533012, 0.06130961328744888, -0.061790380626916885, 0.012797386385500431, -0.03020879253745079, -0.003785250009968877, -0.011113113723695278, 0.0090517932549119, 0.13479742407798767, 0.04478517174720764, -0.02057926170527935, -0.03793519735336304, -0.010951190255582333, -0.004439196549355984, -0.06244846060872078, 0.00664766039699316, -0.012982559390366077, 0.005840510595589876, -0.001517955563031137, -0.04620002955198288, -0.010129266418516636, 0.0014752285787835717, -0.03559603542089462, 0.04494018107652664, 0.0792999267578125, -0.02648353949189186, 0.05427376180887222, -0.024588732048869133, -0.0010445741936564445, 0.0016643208218738437, -0.0024619856849312782, -0.04966937005519867, 0.0098042543977499, 0.02316391095519066, -0.003781477455049753, 0.030073361471295357, -0.022357432171702385, -0.0074294875375926495, -0.015898840501904488, -0.03442494943737984, -0.0025395688135176897, 0.040329720824956894, 0.059545956552028656, -0.00562816159799695, 0.045092254877090454, -0.012479711323976517, 0.03210661560297012, -0.011278823018074036, -0.05144811421632767, -0.0073696612380445, -0.024820061400532722, 0.025638632476329803, 0.035361550748348236, 0.03074907325208187, 0.01857045106589794, 0.006004860624670982, 0.00875744130462408, 0.0032773322891443968, -0.007878091186285019, 0.04373878240585327, -0.007694057654589415, -0.030768046155571938, -0.009748929180204868, -0.041839443147182465, 0.04765629768371582, -0.013807952404022217, -0.05376775935292244, -0.019110791385173798, -0.09916352480649948, 0.05504073202610016, -0.07725554704666138, -0.0829492136836052, 0.004278902430087328, 0.0039731599390506744, 0.02745116874575615, 0.013106287457048893, 0.034694917500019073, 0.051831699907779694, -0.001926322584040463, -0.0033241908531636, 0.01044590212404728, 0.0016868794336915016, 0.04217642545700073, -0.00006386403401847929, 0.004756881855428219, 0.023009538650512695, -0.020318735390901566, -0.0006113596027716994, -0.03810357302427292, 0.02701229229569435, -0.01618310622870922, -0.26931825280189514, 0.035460587590932846, 0.016725782305002213, -0.05230437219142914, 0.026640644297003746, -0.019318075850605965, 0.027035489678382874, -0.06958083063364029, -0.013767017982900143, 0.002270862925797701, -0.01513704378157854, -0.05582296848297119, -0.001665052492171526, 0.01711321249604225, -0.012409007176756859, -0.012532301247119904, 0.005195983685553074, -0.038587890565395355, 0.02691950835287571, 0.029194889590144157, -0.015362047590315342, -0.06084573641419411, 0.014279471710324287, 0.030403027310967445, 0.041340503841638565, 0.05629698559641838, -0.0693349540233612, 0.02998941019177437, -0.014005308039486408, -0.009504953399300575, 0.017201000824570656, -0.009120669215917587, 0.01269585732370615, -0.006659445818513632, -0.03152887895703316, -0.010125379078090191, 0.05037998408079147, 0.03308940678834915, -0.0005843849503435194, -0.0010156866628676653, -0.030384080484509468, -0.034812603145837784, -0.01741424947977066, -0.00899029616266489, 0.08001602441072464, -0.006819035857915878, -0.043769706040620804, 0.010675288736820221, -0.024457428604364395, 0.07286172360181808, -0.026084057986736298, -0.06497515738010406, 0.004308388102799654, 0.055052731186151505, -0.00600325595587492, -0.026959598064422607, -0.003818800440058112, -0.01777603104710579, -0.04095018655061722, -0.050785478204488754, -0.0029996505472809076, -0.03623107075691223, -0.03041098639369011, -0.03472040221095085, 0.03608561307191849, -0.07236694544553757, -0.043413639068603516, -0.028189409524202347, 0.08657880872488022, 0.030808614566922188, -0.004935363307595253, 0.015609058551490307, 0.016755681484937668, -0.10679162293672562, 0.025844693183898926, -0.02663896419107914, -0.027996370568871498, -0.03483576700091362, -0.0015807881718501449, 0.04611721634864807, -0.04280851036310196, -0.048086732625961304, 0.0217887070029974, -0.004848547745496035, 0.010221187956631184, -0.018234310671687126, 0.05567071586847305, 0.008024807088077068, -0.00396130932494998, 0.0010650728363543749, 0.09032563865184784, 0.006153924856334925, -0.02890995517373085, -0.03770841285586357, -0.003705244977027178, 0.015590009279549122, 0.03854293003678322, -0.017255714163184166, 0.02059675194323063, 0.02496716007590294, 0.030460527166724205, -0.06558201462030411, 0.046652425080537796, -0.0548812635242939, -0.006207557395100594, -0.004032527096569538, -0.032549720257520676, 0.027760429307818413, 0.027491537854075432, -0.002678540302440524, -0.023093262687325478, -0.04274990037083626, -0.0166358333081007, -0.05334682762622833, -0.029898647218942642, -0.0021552005782723427, -0.00167055893689394, 0.013835033401846886, -0.014148537069559097, -0.03266789764165878, -0.03406820446252823, 0.022827306762337685, 0.01936095766723156, -0.005735400598496199, -0.05649016797542572, -0.04797124117612839, 0.008554732427001, -0.005639554467052221, 0.03479014337062836, 0.015840593725442886, -0.009848400950431824, 0.03472834452986717, -0.011008753441274166, -0.039830002933740616, 0.021662406623363495, 0.009065858088433743, -0.028663640841841698, -0.03269272670149803, -0.012206237763166428, -0.004478223156183958, 0.014169850386679173, 0.020436188206076622, 0.00040553780854679644, 0.026485085487365723, 0.07113325595855713, 0.012068056501448154, 0.038976430892944336, 0.009747268632054329, -0.008973564021289349, 0.025104578584432602, -0.002696720650419593, -0.06286202371120453, 0.022446513175964355, -0.024825798347592354, -0.03311067819595337, -0.013903697021305561, 0.01772269606590271, 0.010544117540121078, -0.04638016223907471, -0.033510271459817886, 0.0033430077601224184, -0.052907779812812805, -0.03461999446153641, -0.001174289034679532, -0.0010135709308087826, 0.044537246227264404, -0.016453897580504417, 0.023641210049390793, -0.01084626093506813, -0.017291560769081116, 0.027748648077249527, 0.03878399729728699, -0.02868586778640747, 0.022699641063809395, -0.0011998426634818316, -0.02311434969305992, -0.024335093796253204, 0.022520137950778008, 0.033294763416051865, 0.025441937148571014, 0.008810760453343391, -0.012947610579431057, 0.03504292666912079, 0.029716303572058678, 0.053301695734262466, 0.000436809059465304, -0.040255554020404816, -0.0016813550610095263, -0.015765264630317688, -0.0037222641985863447, -0.02647968754172325, -0.0058101750910282135, -0.015562462620437145, 0.02353164553642273, -0.02398584969341755, -0.07184276729822159, 0.03313354030251503, -0.0006280384841375053, 0.019509553909301758, 0.03120548091828823, 0.0019502659561112523, 0.01593589410185814, -0.004879200365394354, 0.03275168314576149, 0.008455522358417511, -0.06029525399208069, 0.013777467422187328, 0.002633593278005719, -0.013437260873615742, 0.031890880316495895, 0.02531355433166027, -0.044872384518384933, -0.011629021726548672, -0.021591540426015854, 0.0014380636857822537, -0.0475427582859993, -0.041243620216846466, -0.02211611531674862, 0.03269238770008087, -0.009477512910962105, 0.0022622232791036367, -0.020242758095264435, -0.004853007383644581, 0.0019924300722777843, -0.03194781020283699, 0.013361398130655289, -0.02289837971329689, -0.007613631896674633, 0.030965149402618408, -0.04118022695183754, 0.05362548679113388, -0.006427892483770847, 0.017806919291615486, 0.022810131311416626, -0.009272528812289238, -0.025203870609402657, -0.05074359104037285, 0.012267539277672768, -0.006339888088405132, 0.05490048602223396, 0.01195482350885868, -0.019087346270680428, -0.045567587018013, -0.0014532995410263538, -0.023414945229887962, 0.02372385375201702, -0.01709911972284317, -0.021908588707447052, 0.045573640614748, 0.04715485870838165, 0.033061668276786804, 0.014104991219937801, -0.007641862146556377, -0.009043845348060131, 0.05094078555703163, -0.0832151472568512, -0.019027747213840485, -0.03031378798186779, -0.05913328379392624, 0.014110689051449299, -0.004534867592155933, 0.05075247958302498, -0.00789904035627842, 0.030377373099327087, 0.030574850738048553, -0.0016122548840939999, 0.025094594806432724, -0.001822375925257802, 0.029782701283693314, -0.035335808992385864, -0.016159363090991974, -0.092817522585392, 0.02385745570063591, 0.04635724425315857, 0.00410014484077692, -0.02664676494896412, -0.02271457016468048, -0.0408468171954155, 0.022167988121509552, -0.08172744512557983, -0.03985030576586723, 0.017588017508387566, 0.02205006033182144, -0.035399001091718674, -0.014201425015926361, -0.06002725660800934, 0.045324549078941345, 0.03191795200109482, -0.040700506418943405, -0.04178958758711815, -0.033474765717983246, 0.05602516606450081, 0.01760946400463581, -0.0019289248157292604, -0.05291047319769859, 0.007024029269814491, 0.0527196042239666, 0.014811587519943714, -0.001287880353629589, 0.03065701574087143, -0.03167478367686272, 0.01865650899708271, 0.02279742993414402, -0.0007417263113893569, -0.003994228783994913, -0.012020635418593884, -0.00021152257977519184, -0.0767652839422226, 0.030929092317819595, 0.021674687042832375, -0.04041928052902222, -0.04861469194293022, 0.060656629502773285, 0.017941158264875412, -0.014685549773275852, -0.0573326051235199, -0.003161933273077011, -0.034837592393159866, -0.024779563769698143, -0.016366716474294662, 0.009502706117928028, -0.027587778866291046, 0.06700931489467621, -0.010574113577604294, -0.010573486797511578, 0.08656962960958481, -0.013003425672650337, -0.005097768269479275, -0.01693008840084076, 0.06321871280670166, 0.06822609901428223, 0.053393468260765076, -0.02905585803091526, 0.06637782603502274, -0.022259391844272614, -0.05360669270157814, 0.012578984722495079, -0.01941159926354885, -0.021577423438429832, -0.03154793754220009, 0.0005782180815003812, 0.05337974429130554, -0.00648230966180563, 0.07109717279672623, -0.03484664484858513, -0.010975592769682407, -0.004767018370330334, 0.03143355995416641, 0.007806165609508753, 0.03627261891961098, 0.01916668750345707, -0.006191888824105263, -0.009485951624810696, -0.04368662089109421, 0.04075489193201065, -0.009654874913394451, -0.022409209981560707, 0.01503631379455328, -0.0006194683955982327, 0.0071257296949625015, -0.002151734195649624, 0.03059571422636509, 0.0743817538022995, -0.016288191080093384, 0.00031444220803678036, 0.013726335018873215, 0.03108694963157177, 0.016455845907330513, 0.0062752277590334415, -0.010875890031456947, -0.02550113946199417, -0.022031476721167564, -0.021714113652706146, -0.01214207150042057, -0.044059209525585175, -0.01965586096048355, 0.05990315228700638, -0.03918750584125519, -0.0005694898427464068, 0.025076420977711678, -0.016802169382572174, -0.038850199431180954, -0.06592519581317902, -0.05732078105211258, -0.05226330831646919, -0.08228345960378647, -0.05853995308279991, 0.035907357931137085, -0.016432667151093483, -0.04845314472913742, -0.007414747960865498, -0.009550063870847225, -0.018486525863409042, 0.056273654103279114, -0.03915293887257576, -0.01905634254217148, 0.006340073421597481, 0.03815174475312233, 0.027004769071936607, 0.04984704777598381, 0.033851802349090576, 0.006410814821720123, -0.017354445531964302, -0.03462895378470421, -0.02994369901716709, 0.048260364681482315, -0.002177375601604581, 0.007484988309442997, -0.0815291479229927, 0.001782323233783245, 0.019023746252059937, -0.007189158350229263, -0.06440424919128418, 0.0287308432161808, 0.007336342241615057, -0.01280659157782793, 0.05464449152350426, -0.03817596659064293, -0.00784837082028389, -0.03466162085533142, -0.0138797452673316, -0.0031769252382218838, 0.0033552455715835094, 0.03938288241624832, -0.02355147898197174, 0.08465487509965897, 0.04373670369386673, 0.0019530684221535921, -0.029113199561834335, -0.013243517838418484, -0.010042993351817131, 0.01988748088479042, -0.026094239205121994, 0.005183004308491945, -0.054896458983421326, -0.06635654717683792, -0.01546457689255476, 0.025272374972701073, -0.008815157227218151, -0.03448408097028732, 0.035055309534072876, 0.032670315355062485, -0.055493324995040894, 0.004919476807117462, -0.03330916538834572, 0.026614604517817497, -0.03251537308096886, -0.021206967532634735, -0.0006047306815162301, 0.03734876960515976, 0.00028510604170151055, -0.013530870899558067, 0.0416279099881649, -0.04247816279530525, 0.0023805757518857718, 0.0133070582523942, 0.04525737836956978, 0.018047459423542023, -0.01182585395872593, 0.018824502825737 ]
[ -0.08665931224822998, -0.013876178301870823, -0.04139076545834541, -0.011694091372191906, 0.03391827642917633, -0.005424011033028364, -0.018365126103162766, 0.003414091421291232, -0.02138056978583336, -0.015872079879045486, 0.03506634011864662, 0.034158434718847275, -0.004310863558202982, 0.038269948214292526, 0.09306831657886505, 0.00582337100058794, -0.02560039795935154, -0.026271691545844078, -0.022899053990840912, 0.06991399824619293, 0.025104627013206482, 0.0016950353747233748, -0.012393388897180557, -0.05477498471736908, -0.03695360943675041, 0.005558451171964407, 0.037033822387456894, -0.052744586020708084, 0.003581637516617775, -0.17304778099060059, 0.012667916715145111, -0.05851832404732704, 0.0025585235562175512, -0.027993299067020416, -0.024343861266970634, -0.003892031963914633, 0.030404143035411835, 0.028228294104337692, 0.028347844257950783, 0.03241892158985138, -0.0165226049721241, 0.03702029213309288, -0.03534994646906853, -0.0147898830473423, 0.02835383452475071, -0.0199204720556736, 0.002266851719468832, -0.010155889205634594, -0.020368153229355812, 0.032584041357040405, -0.033478785306215286, -0.0074306996539235115, 0.01841837912797928, -0.0070937923155725, -0.010832459665834904, -0.03226950764656067, 0.026210078969597816, 0.04154972732067108, -0.03673708811402321, 0.017472203820943832, -0.012458587996661663, 0.004031695891171694, -0.10716963559389114, 0.13149750232696533, 0.00435454398393631, 0.09451980888843536, -0.029825078323483467, -0.0014700816245749593, 0.0038631523493677378, 0.047410860657691956, -0.009914444759488106, 0.006733417045325041, -0.07540108263492584, 0.053462933748960495, 0.03461400792002678, 0.02580959163606167, 0.033377330750226974, 0.006627720780670643, 0.04014257714152336, -0.04475086182355881, -0.022245515137910843, -0.03017943724989891, 0.019823292270302773, -0.0006587985553778708, -0.011623978614807129, 0.010327308438718319, 0.05279868468642235, 0.019369782879948616, 0.010712883435189724, 0.029854461550712585, 0.003967072814702988, -0.052907586097717285, 0.056996673345565796, -0.030126061290502548, -0.06833603233098984, -0.02326411008834839, -0.022107938304543495, 0.023864949122071266, -0.04923708736896515, 0.42567208409309387, -0.034113865345716476, -0.01425900962203741, 0.058378513902425766, -0.0020473189651966095, 0.009729060344398022, -0.012129893526434898, 0.012674394994974136, -0.027976522222161293, 0.0034422746393829584, -0.02953600510954857, 0.01751585677266121, -0.013713561929762363, 0.0222870334982872, -0.01840991899371147, -0.011857004836201668, 0.0061903600580990314, -0.0010623290436342359, 0.005426781252026558, 0.03242575377225876, 0.0012758651282638311, -0.011865206062793732, -0.011936400085687637, 0.03001997619867325, 0.033840496093034744, 0.04297022521495819, -0.0033253466244786978, 0.02000577375292778, 0.07025521248579025, 0.023259088397026062, 0.04275047779083252, 0.028874613344669342, -0.06563350558280945, -0.023501580581068993, -0.005377755034714937, 0.0004917794722132385, -0.0018894972745329142, 0.01717875339090824, 0.012122145853936672, 0.011393251828849316, -0.024712668731808662, -0.004792157560586929, -0.010551812127232552, 0.016713054850697517, -0.008454384282231331, -0.01795864850282669, 0.08962158113718033, 0.014998247846961021, -0.02708580531179905, -0.051096417009830475, -0.05406445637345314, 0.009948638267815113, 0.048117369413375854, -0.03844614326953888, -0.055519212037324905, -0.04362458735704422, 0.028077421709895134, 0.04227840527892113, -0.03324466943740845, -0.05192668363451958, -0.05118757486343384, 0.010116866789758205, -0.0036341820377856493, -0.019913095980882645, 0.07340891659259796, 0.06934315711259842, -0.1374552845954895, -0.04406599700450897, 0.025260012596845627, -0.015139210969209671, -0.05942459776997566, -0.02787020429968834, -0.016054878011345863, -0.03804792836308479, -0.043842121958732605, 0.003018465591594577, -0.023684971034526825, -0.054720938205718994, 0.0029950966127216816, 0.023715738207101822, 0.019806457683444023, 0.012498226016759872, -0.02911374345421791, -0.06811078637838364, 0.008886698633432388, -0.03732340410351753, -0.0912172868847847, -0.03272252157330513, -0.000195279746549204, 0.004917750135064125, -0.0008546136086806655, -0.036001916974782944, -0.04004685953259468, -0.07525978237390518, 0.0558759942650795, 0.02209961973130703, 0.026511702686548233, 0.011820249259471893, -0.013639126904308796, 0.007019477430731058, -0.04467827081680298, 0.0721268579363823, 0.026667580008506775, -0.025607865303754807, 0.017788000404834747, -0.02725742757320404, 0.05879383161664009, 0.06224992498755455, -0.04679997265338898, 0.035325948148965836, 0.04368026182055473, -0.04900727793574333, 0.005076130852103233, 0.005898968782275915, -0.0031665675342082977, 0.007998685352504253, -0.01045443769544363, 0.012970821931958199, 0.058064233511686325, 0.02770703099668026, 0.029448799788951874, -0.02928321063518524, 0.004411047790199518, 0.0008720412151888013, -0.3301231861114502, -0.03457903489470482, -0.028922900557518005, -0.003127611940726638, 0.008721819147467613, -0.09307056665420532, -0.0016044966178014874, -0.029695574194192886, -0.001423417590558529, 0.04959341511130333, 0.10130585730075836, 0.028099650517106056, -0.0007604695856571198, -0.08293212205171585, -0.018483424559235573, 0.040308453142642975, 0.004035552963614464, -0.05693677440285683, -0.009559283033013344, 0.009162363596260548, -0.04213114082813263, 0.002674659015610814, 0.015832578763365746, -0.05332151800394058, -0.001023539574816823, -0.021142566576600075, 0.12037387490272522, 0.032644350081682205, 0.11078088730573654, -0.025567365810275078, 0.02684684842824936, 0.015010099858045578, 0.0027215194422751665, -0.10978619754314423, -0.0219417754560709, -0.023501280695199966, -0.0038360022008419037, -0.005356041248887777, 0.056585751473903656, -0.010249702259898186, -0.026482710614800453, -0.02962515689432621, -0.03195575252175331, -0.07549881190061569, -0.004456780850887299, -0.023623378947377205, -0.03127124160528183, -0.04413988068699837, -0.004379393067210913, 0.06536954641342163, -0.006541394628584385, 0.013661405071616173, 0.014171970076858997, 0.07742710411548615, -0.02936798706650734, -0.0027990718372166157, -0.032594237476587296, -0.02239987999200821, 0.01939992979168892, 0.015952149406075478, 0.04413159191608429, 0.0064583127386868, 0.007307146210223436, -0.09675008058547974, 0.014708762988448143, 0.029944365844130516, 0.011194496415555477, -0.019269945099949837, 0.07404934614896774, -0.007887110114097595, -0.06228034198284149, 0.1547890603542328, 0.026488112285733223, 0.018935849890112877, 0.009436151944100857, 0.05478834733366966, -0.01795255020260811, -0.0024398253299295902, 0.0013420289615169168, 0.02509206347167492, 0.0589531846344471, 0.018580332398414612, 0.05603676289319992, -0.04932331666350365, 0.002705181483179331, 0.02984829992055893, -0.07793980091810226, -0.009547886438667774, 0.022054526954889297, 0.006525316741317511, -0.031992122530937195, -0.045710720121860504, -0.034344326704740524, -0.04693794250488281, 0.03118627332150936, -0.024719271808862686, -0.2514278292655945, -0.021704217419028282, 0.06988644599914551, 0.08293993026018143, -0.014972822740674019, 0.004281516186892986, 0.06856013089418411, -0.08109641820192337, -0.009480302222073078, 0.05021176114678383, 0.02604336477816105, 0.053260382264852524, 0.007009580731391907, -0.005810074508190155, 0.026155367493629456, 0.007536359131336212, 0.027165377512574196, 0.019320860505104065, -0.007322576362639666, 0.04355018213391304, 0.00691215181723237, -0.03301309421658516, 0.19130894541740417, 0.05184653401374817, 0.026846490800380707, 0.016187071800231934, 0.007719411514699459, 0.0055886427871882915, 0.04820637404918671, 0.024252768605947495, -0.011212386190891266, -0.00909673422574997, 0.04687689617276192, -0.012356635183095932, 0.020631900057196617, -0.08710189908742905, -0.02415904588997364, 0.01566128246486187, 0.03882235288619995, -0.016828881576657295, -0.011559142731130123, 0.01396055705845356, -0.03540371358394623, 0.003309734631329775, 0.05016402527689934, -0.0016269129700958729, 0.021754387766122818, 0.01786036230623722, -0.012172493152320385, -0.019019437953829765, -0.05509866401553154, -0.023114798590540886, -0.002948165638372302, -0.013199047185480595, 0.004586445167660713, 0.08136066049337387, -0.019297117367386818, -0.04746236279606819, -0.028351394459605217, 0.019867606461048126, 0.03128999471664429, -0.009545774199068546, 0.06468432396650314, 0.03836474567651749, 0.032206207513809204 ]
[ -0.013829297386109829, -0.0036183618940413, -0.003598569193854928, 0.013486010953783989, 0.03218066319823265, 0.007060436066240072, 0.004342330619692802, -0.003822322003543377, 0.010219763964414597, 0.004575788974761963, 0.012372699566185474, -0.004844358190894127, 0.051514897495508194, -0.006579590495675802, -0.002271195873618126, 0.010345770977437496, -0.0010241814889013767, -0.018243754282593727, -0.005213357508182526, 0.01447965856641531, 0.007504201494157314, 0.03344268724322319, 0.04487087205052376, -0.010698129422962666, 0.0028867763467133045, -0.00277943373657763, 0.006923366338014603, -0.02830066904425621, 0.02829117327928543, -0.13896924257278442, -0.006422759965062141, -0.0603577196598053, -0.009154018945991993, 0.004509718623012304, -0.012705424800515175, 0.0340910367667675, 0.011465337127447128, 0.00654575927183032, 0.008283192291855812, -0.0038116993382573128, -0.022502297535538673, 0.0023519755341112614, -0.0031824675388634205, 0.011623367667198181, -0.028692860156297684, -0.027850620448589325, -0.026643691584467888, -0.04888159781694412, -0.0338217169046402, -0.0064488910138607025, -0.001081185764633119, -0.01137180719524622, -0.004783323500305414, -0.007073658984154463, -0.025021014735102654, -0.016207614913582802, -0.034473717212677, -0.009849200956523418, -0.021646179258823395, -0.002500975038856268, -0.00013997552741784602, -0.000304336950648576, -0.0044248150661587715, -0.017432743683457375, -0.001071775215677917, -0.000700166099704802, 0.0053794728592038155, 0.011653781868517399, -0.006328504532575607, 0.0030798199586570263, -0.022904595360159874, 0.012278435751795769, 0.006415734067559242, -0.0073063066229224205, 0.015140173025429249, -0.041788481175899506, 0.02728850580751896, -0.00599717115983367, -0.003966035321354866, -0.026481863111257553, -0.013274408876895905, 0.0038374385330826044, 0.04327557235956192, 0.03221827372908592, 0.053015854209661484, 0.010142399929463863, -0.023678310215473175, 0.009629089385271072, 0.002304163295775652, 0.02823842316865921, -0.020502403378486633, 0.01474207453429699, 0.036134444177150726, 0.028043393045663834, -0.0736297070980072, -0.020075533539056778, 0.021061928942799568, -0.0037896798457950354, -0.01871355064213276, 0.8395247459411621, -0.010006613098084927, 0.008183453232049942, 0.04255032166838646, -0.006562457419931889, 0.02413974143564701, -0.07154588401317596, 0.019316500052809715, 0.011204252019524574, 0.046193674206733704, -0.039033155888319016, -0.00703686848282814, 0.007847737520933151, -0.01635478250682354, -0.0015827568713575602, -0.00911733042448759, -0.0036263528745621443, 0.04897763580083847, -0.03889571875333786, 0.010569431819021702, 0.015192932449281216, 0.0066085453145205975, 0.015580342151224613, -0.011212313547730446, 0.03227468580007553, 0.025079509243369102, -0.17048747837543488, 0.003730826312676072, -7.494722024760526e-33, 0.014308393001556396, 0.032048262655735016, -0.001749269082210958, 0.008765490725636482, 0.002373583847656846, 0.0010103678796440363, 0.03985440358519554, 0.0030316621996462345, -0.00709912134334445, -0.02778567560017109, -0.000675008341204375, -0.03275304287672043, 0.008263811469078064, -0.031873662024736404, 0.027855422347784042, -0.012516038492321968, -0.044452004134655, 0.040901001542806625, 0.013354559428989887, -0.009121229872107506, 0.023735344409942627, 0.03178093209862709, 0.04210476949810982, -0.020966000854969025, -0.02556326612830162, 0.006008222699165344, -0.003664062125608325, 0.03292611241340637, -0.04127049073576927, -0.05279315635561943, 0.021631790325045586, 0.017794078215956688, -0.02412673458456993, 0.0011905957944691181, 0.006505308207124472, -0.013492216356098652, 0.006383809261023998, -0.0013070874847471714, -0.02115585096180439, 0.005120516289025545, -0.037674497812986374, -0.018625570461153984, -0.013535874895751476, 0.0008186223567463458, -0.003038764698430896, -0.024741142988204956, -0.03810444101691246, -0.03348235785961151, 0.0004612583725247532, -0.026259979233145714, 0.003238038392737508, 0.04188322275876999, 0.01726429909467697, -0.006060643587261438, -0.025842100381851196, 0.014505980536341667, -0.02457769773900509, 0.015949610620737076, 0.046519529074430466, 0.046796564012765884, 0.019832830876111984, -0.0447041317820549, -0.033937085419893265, -0.0017894122283905745, -0.031052621081471443, -0.05161892622709274, 0.04073961451649666, -0.02123824506998062, 0.011296858079731464, -0.023525936529040337, -0.034549470990896225, -0.010813302360475063, -0.012337193824350834, -0.0059907217510044575, 0.015070273540914059, 0.006055629346519709, -0.03267607465386391, 0.024883821606636047, 0.035984646528959274, 0.035485003143548965, 0.03879781439900398, -0.022398142144083977, 0.04009736329317093, -0.034218862652778625, -0.004241826944053173, -0.001794820767827332, 0.028512874618172646, -0.014361400157213211, 0.018837271258234978, 0.04254061356186867, 0.06722316890954971, -0.01697489619255066, -0.025276189669966698, -0.021524503827095032, -0.023462360724806786, 7.093090869915075e-33, -0.009219463914632797, 0.008089947514235973, -0.04495775327086449, 0.023805849254131317, -0.015036332421004772, 0.00220773508772254, 0.014174079522490501, 0.030203282833099365, -0.0371529683470726, -0.0050081429071724415, 0.04286468029022217, 0.03333152085542679, -0.02832098864018917, 0.03404417634010315, 0.022094054147601128, -0.0037496723234653473, 0.03309393674135208, -0.0011232232209295034, 0.05654102563858032, -0.009957574307918549, 0.014679576270282269, 0.016794690862298012, -0.0034095465671271086, 0.006026903633028269, 0.0028647184371948242, 0.06020593270659447, -0.023521341383457184, 0.005276042968034744, 0.0003921454190276563, 0.006587405689060688, -0.006735050585120916, -0.0050149173475801945, 0.026862245053052902, -0.022011151537299156, -0.021551650017499924, 0.03923232480883598, -0.03534753993153572, -0.0010826362995430827, 0.029085252434015274, 0.02206689864397049, 0.03953501209616661, -0.020789893344044685, 0.012125758454203606, 0.03420080617070198, 0.00856264028698206, -0.010214394889771938, -0.029522119089961052, -0.005838232114911079, 0.008451052010059357, 0.008377986960113049, 0.0105214174836874, -0.005899789277464151, 0.031298261135816574, -0.02556154504418373, 0.011508511379361153, -0.018925033509731293, -0.04960498958826065, 0.004081305582076311, -0.04395869001746178, 0.015279593877494335, -0.015607602894306183, 0.009514614008367062, -0.049180302768945694, 0.015203573741018772, -0.023432351648807526, 0.006198491435497999, -0.06748791038990021, -0.003765626810491085, -0.0014006056590005755, -0.016708267852663994, -0.031050296500325203, -0.01396903395652771, -0.012689109891653061, 0.007454486098140478, 0.02860521525144577, -0.042930565774440765, 0.018872562795877457, 0.012624466791749, -0.008257878012955189, 0.015172040089964867, -0.00017699711315799505, -0.009775025770068169, 0.026689201593399048, -0.0556129589676857, 0.019802160561084747, -0.0007476292084902525, -0.015355125069618225, 0.021250395104289055, -0.04253954812884331, -0.07744056731462479, -0.022533882409334183, 0.010109971277415752, -0.026247326284646988, 0.02654716745018959, 0.051236286759376526, -1.2799086235304458e-8, -0.04147518798708916, 0.032727908343076706, -0.004466913640499115, -0.011975050903856754, 0.02540849894285202, 0.023866236209869385, -0.028511211276054382, -0.042219314724206924, -0.009603174403309822, 0.0116020692512393, 0.031253136694431305, 0.021384751424193382, 0.019006920978426933, 0.02384823188185692, -0.019709303975105286, -0.03346327319741249, -0.043263230472803116, 0.013569493778049946, 0.034994807094335556, -0.031024090945720673, -0.00521499989554286, 0.0406428799033165, 0.01522965356707573, -0.02575582265853882, 0.06338823586702347, 0.000888138369191438, 0.005023086443543434, -0.06045428663492203, 0.0011611501686275005, 0.0038928778376430273, -0.02081030048429966, -0.0230152178555727, -0.06243891268968582, 0.017767716199159622, -0.010099055245518684, 0.0001758056750986725, -0.032389841973781586, -0.023384740576148033, 0.0187766645103693, 0.019752265885472298, 0.025482911616563797, 0.009100135415792465, -0.01406570989638567, 0.0012217586627230048, 0.0029685082845389843, 0.026409491896629333, -0.012522776611149311, 0.0030699463095515966, 0.04754318669438362, -0.04773549363017082, 0.018288269639015198, -0.019026262685656548, 0.01863434538245201, 0.010668775998055935, 0.026729250326752663, -0.025517946109175682, 0.03799501061439514, 0.018261605873703957, -0.019783763214945793, 0.030607623979449272, 0.007984675467014313, 0.005118484143167734, -0.014633093029260635, -0.028680913150310516 ]
aspnet-mvc-preventing-xss-attacks
https://markhneedham.com/blog/2009/02/12/aspnet-mvc-preventing-xss-attacks
false
2009-02-12 21:46:23
Coding Dojo #9: Refactoring Isola
[ "coding-dojo" ]
[ "Coding Dojo" ]
Our latest coding dojo involved refactoring the code we wrote a couple of weeks ago for the board game http://en.wikipedia.org/wiki/Isola_(board_game)[Isola]. We started a http://bitbucket.org/codingdojosydney/isola[repository on Bit Bucket] to store our code from these sessions. == The Format We used the http://codingdojo.org/cgi-bin/wiki.pl?RandoriKata[Randori] approach again with four people participating for the whole session. == What We Learnt * Last time we had spent most of our time purely making the code functional so all the objects were completely mutable. We decided to start by *removing that mutability to allow us to add additional functionality* more easily. We came up with a rough idea of where we were aiming for and then started refactoring towards that. * The *tests were really useful for this as they provided feedback after every small refactoring* with respect to whether or not it had broken the original functionality. In some cases we had to redesign the tests a bit to cater for the fact that we were no longer mutating the original Isola class so some our assertions were incorrect. * It was quite surprising to me how much time it took to refactor the code. On the first session we didn't spend any time refactoring the code so it made it difficult to change bits of the code without other bits being affected, several times leading into a bit of a http://sethgodin.typepad.com/seths_blog/2005/03/dont_shave_that.html[yak shaving] exercise. Luckily we backed out of these refactorings without spending too much time on them. It pretty much drilled into us how we shouldn't forget the Refactor part of *'Red, Green, Refactor'* or we will suffer! * While trying to implement what I have previously heard referred to as a http://www.markhneedham.com/blog/2006/09/02/inheritance-and-delegation/[slug] but which may in fact be a variance of the http://en.wikipedia.org/wiki/Flyweight_pattern[flyweight pattern] we realised that our IsolaPlayer object was mutable meaning that our tests were now dependent on each other! This was the code that led us into trouble: ~~~java public class IsolaPlayer { public IsolaPlayer playerOne = new IsolaPlayer("-1"); public IsolaPlayer playerTwo = new IsolaPlayer("-2"); private final String playerRepresentation;private final String HOME_POSITION = "[]"; private String stomach; public IsolaPlayer(String playerRepresentation) { this.playerRepresentation = playerRepresentation; this.stomach = HOME_POSITION; } public String toBoardRepresentation() { return playerRepresentation; } public String poop() { return stomach; } public void eat(String boardPosition) { stomach = boardPosition; } } ~~~ As you can see the class is mutable but being referenced by a static instance. We quickly backed that change out and refactored to that pattern later on when IsolaPlayer was immutable. * We used a combination of the techniques from http://www.amazon.co.uk/Working-Effectively-Legacy-Robert-Martin/dp/0131177052/ref=sr_1_1?ie=UTF8&s=books&qid=1234438503&sr=8-1[Working Effectively With Legacy Code] to allow us to extract an IsolaBoard from the original Isola class. IsolaBoard was kept completely inside Isola while we refactored the code so that it could exist on its own. This approach allowed us to continually validate that we hadn't broken any tests while we gradually put more and more of the board logic into the appropriate class. * *When we write mutable code the order of operations makes a big difference* and the application doesn't work correctly if we change the order. We learnt this with an early refactoring to inline some variables - an innocuous enough change, but one which led to 50% of our tests breaking. * We had an interesting discussion around how we can have code which is *mutable but in a non dangerous way*. On our way to creating value objects at one stage we had the code in a state where we were returning a new Isola object evey time but we were passing the same instance of our coveredSquares queue around. The queue was mutable meaning that we had references between difference instances of Isola to the same queue. In this case we were throwing away old Isolas but this might have been a problem if we had multiple games running at the same time. The next step was to refactor Isola to be completely immutable. == For next time * Since we spent the whole of this weeks session refactoring the code the plan for next week is to add some more functionality to the application. There is still quite a bit of logic left before we have a working game.
null
null
[ 0.007870775647461414, -0.013528027571737766, -0.009725349955260754, 0.03010627068579197, 0.07045082747936249, 0.007069779559969902, 0.03264853358268738, 0.027549149468541145, 0.00513688987120986, -0.023968089371919632, -0.01322958990931511, -0.003901864169165492, -0.059647418558597565, 0.018503183498978615, -0.04454540088772774, 0.062486086040735245, 0.06913166493177414, -0.012799334712326527, 0.01663622446358204, 0.013461687602102757, 0.019824502989649773, 0.08577335625886917, -0.007457191590219736, 0.03022135980427265, 0.013924816623330116, 0.023357948288321495, 0.019634807482361794, 0.004892014432698488, -0.08028938621282578, -0.022568458691239357, 0.0422186404466629, 0.013833551667630672, 0.022877788171172142, 0.0061186798848211765, 0.0048483326099812984, -0.031011557206511497, -0.03531711548566818, 0.033780187368392944, -0.0002514818625058979, 0.026589689776301384, -0.05930246785283089, 0.040805634111166, 0.013922941870987415, 0.005061083938926458, -0.04603287950158119, 0.0007472897996194661, -0.04826025292277336, 0.008259930647909641, -0.026396622881293297, -0.015402838587760925, -0.07035522162914276, 0.015773888677358627, -0.011175001040101051, -0.011641757562756538, -0.030764959752559662, 0.05457001179456711, 0.030447261407971382, -0.05747316777706146, 0.0013027621898800135, -0.05520070716738701, 0.0013727839104831219, -0.01279631070792675, 0.02854841575026512, 0.030214864760637283, 0.022432275116443634, -0.018062865361571312, 0.005601219832897186, 0.04497518017888069, -0.03233497962355614, -0.004725860897451639, -0.005990391597151756, 0.02266419306397438, -0.021659009158611298, -0.02846522256731987, 0.018958240747451782, -0.040944699198007584, -0.0009514385019429028, 0.08371816575527191, 0.0182486642152071, 0.04415372014045715, -0.016516566276550293, 0.012862030416727066, 0.024663301184773445, 0.019067464396357536, 0.011926288716495037, -0.04272359609603882, -0.03418169915676117, -0.018623195588588715, -0.05880017578601837, 0.057396966964006424, 0.006484088953584433, -0.054153263568878174, 0.03646637126803398, 0.02814033441245556, 0.007270322646945715, 0.030708160251379013, 0.02042415365576744, 0.0060335551388561726, 0.0011774747399613261, -0.017672890797257423, -0.03896317631006241, -0.015317481011152267, 0.019116584211587906, -0.008337308652698994, -0.07958675920963287, -0.018854420632123947, -0.016269108280539513, -0.019662197679281235, -0.004495332483202219, 0.003712782636284828, -0.016635114327073097, 0.012433190830051899, -0.021864548325538635, 0.00040913588600233197, -0.0689149722456932, 0.06443355232477188, 0.004591019824147224, -0.04434702545404434, -0.035969365388154984, 0.027938973158597946, 0.054138533771038055, 0.03130149096250534, -0.000797850254457444, 0.10274630039930344, 0.044413771480321884, 0.040327101945877075, -0.020562632009387016, 0.055882979184389114, -0.01684233918786049, -0.07052575796842575, 0.0022877505980432034, 0.058196935802698135, -0.030980132520198822, -0.010155430063605309, 0.00766593124717474, -0.04206731542944908, -0.013874300755560398, 0.0021181832998991013, 0.021054062992334366, 0.019535299390554428, -0.02127157710492611, -0.02853003703057766, 0.0053054532036185265, 0.001616594148799777, 0.019454874098300934, 0.016509026288986206, -0.022088535130023956, -0.025431090965867043, -0.02161143161356449, 0.004928217735141516, -0.01373573299497366, 0.0288094375282526, 0.025174614042043686, -0.05304814502596855, 0.02686227113008499, 0.08346443623304367, -0.009178945794701576, 0.004641239065676928, -0.01508347224444151, 0.04161567986011505, 0.012451648712158203, 0.006810594815760851, 0.004557810723781586, 0.026458127424120903, 0.0110902925953269, -0.006351391784846783, -0.0012708577560260892, 0.05257062241435051, 0.005489713046699762, 0.014667103998363018, -0.07517916709184647, -0.04574420675635338, 0.05381731316447258, -0.06228610500693321, -0.027184557169675827, 0.04772517457604408, 0.08302780240774155, 0.030863046646118164, 0.04441103711724281, -0.0024424518924206495, -0.08084014803171158, -0.0021943829488009214, 0.00533970957621932, 0.005358297377824783, 0.005691674072295427, -0.024656299501657486, 0.06773576140403748, 0.012447980232536793, 0.02832181751728058, 0.04644113779067993, -0.0821896493434906, -0.07119495421648026, -0.017315011471509933, -0.008659484796226025, 0.06605417281389236, -0.004207727499306202, 0.0037895776331424713, 0.07765918970108032, 0.0024023521691560745, 0.04041336104273796, 0.027308057993650436, 0.010857018642127514, 0.014438709244132042, -0.0343894325196743, -0.029877513647079468, 0.03072768822312355, 0.04713120684027672, -0.013416523113846779, -0.04524368420243263, 0.006726033054292202, -0.00956672616302967, -0.0016090819844976068, 0.041470352560281754, -0.022536037489771843, 0.028674228116869926, 0.016698068007826805, 0.04035403952002525, -0.03252340480685234, 0.06686821579933167, -0.07325609773397446, 0.0058903866447508335, 0.003654593601822853, -0.02593657188117504, -0.008765419945120811, 0.007913993671536446, 0.12561413645744324, 0.05981234833598137, -0.0390596017241478, -0.017510337755084038, 0.011724084615707397, 0.0028719715774059296, -0.05553430691361427, -0.022984355688095093, -0.010415523312985897, 0.018595851957798004, -0.008753889240324497, -0.05643180385231972, -0.0474824532866478, 0.02151254378259182, -0.04082871973514557, 0.007238199934363365, 0.07854808121919632, -0.00699537992477417, 0.051221027970314026, 0.007543554995208979, -0.0043882764875888824, -0.01599322073161602, -0.009372811764478683, -0.05503978580236435, 0.02825228124856949, 0.02241346798837185, -0.021831050515174866, 0.060979027301073074, -0.02889900468289852, -0.02608605846762657, -0.03466130048036575, -0.02261151745915413, -0.012361097149550915, 0.02756991796195507, 0.06483016908168793, -0.002001974731683731, 0.05456843599677086, -0.003834358649328351, 0.009747201576828957, -0.002334658056497574, -0.04845432937145233, -0.020992876961827278, -0.027890654280781746, 0.006377501413226128, 0.034723326563835144, 0.0000012835710094805108, 0.016023291274905205, 0.036529961973428726, -0.011277162469923496, -0.026119977235794067, -0.02994561195373535, 0.02931494265794754, 0.0058791241608560085, -0.02812861278653145, -0.0269655529409647, -0.02979852817952633, 0.04431974142789841, -0.05664636939764023, -0.024220047518610954, -0.0047321561723947525, -0.073393315076828, 0.0717477798461914, -0.06916312128305435, -0.05519663169980049, 0.009973383508622646, 0.034595657140016556, 0.05225322023034096, -0.04590469226241112, 0.015852877870202065, 0.0772152990102768, -0.009934472851455212, 0.009487946517765522, -0.000076166725193616, 0.004482321906834841, 0.03912687301635742, -0.0007027853280305862, 0.004263283684849739, 0.02469567395746708, 0.014613118022680283, -0.013666156679391861, -0.021831819787621498, 0.03363834694027901, -0.0006805143784731627, -0.2720637023448944, 0.03420944884419441, -0.004053815733641386, -0.03574018180370331, 0.017790023237466812, 0.010966796427965164, 0.005554620176553726, -0.052928224205970764, -0.010229330509901047, 0.02305435761809349, -0.027846351265907288, -0.05137688294053078, -0.023858942091464996, 0.07639758288860321, 0.0027538903523236513, 0.04632257670164108, 0.013536042533814907, -0.023761456832289696, -0.015317141078412533, 0.0498930886387825, -0.019625207409262657, -0.06048355996608734, -0.0018856702372431755, 0.03294651210308075, 0.028774002566933632, 0.048360925167798996, -0.10272122919559479, 0.019001144915819168, -0.04868409037590027, -0.02159097045660019, 0.006747255101799965, 0.016400819644331932, -0.009461786597967148, -0.027983130887150764, -0.02018856070935726, 0.0009855602402240038, 0.020804857835173607, 0.026195351034402847, -0.0070857033133506775, 0.020957790315151215, -0.020489567890763283, -0.031463440507650375, -0.017054639756679535, 0.007549378089606762, 0.08443483710289001, -0.000004137156793149188, -0.07589011639356613, -0.008245429955422878, -0.029045259580016136, 0.07445649057626724, -0.007814215496182442, -0.04466324672102928, 0.0033483600709587336, 0.050374891608953476, 0.0022969350684434175, -0.011756687425076962, -0.009205718524754047, -0.006119390483945608, -0.03946441411972046, -0.04268594831228256, -0.017388449981808662, -0.049036893993616104, -0.005831187125295401, -0.0450216606259346, 0.011429221369326115, -0.07436299324035645, -0.044557180255651474, 0.0049646636471152306, 0.0847768560051918, 0.03958119824528694, -0.0438779853284359, 0.0184152964502573, -0.0038798160385340452, -0.09887102991342545, -0.008774123154580593, -0.011129423975944519, -0.02415950410068035, -0.010853685438632965, 0.010747237130999565, 0.04345323145389557, -0.02426096796989441, -0.05634896084666252, 0.025102391839027405, 0.013151761144399643, 0.005885906983166933, -0.010421271435916424, 0.03611024469137192, 0.0023464576806873083, -0.0182330384850502, 0.009924967773258686, 0.061429571360349655, 0.008075103163719177, -0.037541866302490234, -0.028574245050549507, 0.026832623407244682, 0.021228443831205368, 0.03298741579055786, -0.025360723957419395, -0.0008164714672602713, 0.046691905707120895, 0.0024083952885121107, -0.06303054094314575, 0.04224628210067749, -0.03374183550477028, -0.003474645549431443, 0.008511759340763092, -0.058661095798015594, 0.011922061443328857, 0.03532111644744873, 0.026180988177657127, -0.00664153415709734, -0.042840179055929184, 0.0062560709193348885, -0.04966814070940018, -0.011280853301286697, -0.015435337089002132, 0.01936156302690506, 0.039434853941202164, -0.019660156220197678, -0.016506094485521317, -0.05267363414168358, 0.019830407574772835, -0.0027991256210952997, 0.0025399490259587765, -0.050321534276008606, -0.025062045082449913, -0.026032349094748497, -0.007918077521026134, 0.029527267441153526, 0.014936992898583412, -0.005910762120038271, 0.03344244509935379, -0.0020251316018402576, -0.03319065272808075, 0.02716674841940403, -0.010606294497847557, -0.03911863639950752, -0.019975516945123672, -0.022346409037709236, -0.010792841203510761, 0.001450894633308053, 0.028959335759282112, 0.0074427928775548935, 0.012949143536388874, 0.03201131522655487, -0.0028091936837881804, 0.03949136286973953, -0.020740931853652, 0.005580014083534479, 0.026602312922477722, 0.009212564677000046, -0.1005571186542511, 0.025552993640303612, -0.06045124679803848, -0.030417168512940407, -0.019280070438981056, 0.03330405429005623, -0.021904468536376953, -0.010111093521118164, -0.005772428121417761, -0.010766913183033466, -0.04306413605809212, -0.036306846886873245, -0.03386963531374931, 0.008764320984482765, 0.05445697158575058, -0.0042120725847780704, 0.00882563553750515, -0.00998090673238039, -0.03368344157934189, 0.00915802177041769, 0.030473027378320694, -0.040161896497011185, 0.006195005029439926, 0.02587023377418518, -0.019419021904468536, -0.00014626503980252892, -0.01277719996869564, 0.05114658921957016, 0.01876395009458065, 0.003556466195732355, -0.016363009810447693, 0.014208373613655567, 0.000992064829915762, 0.041867390275001526, -0.004515551030635834, 0.0208276454359293, 0.0108044957742095, -0.01431762520223856, -0.02984350360929966, -0.03049299120903015, -0.008382108993828297, 0.010070879012346268, 0.020571980625391006, -0.04173160344362259, -0.06284400820732117, 0.05381632223725319, 0.04706962779164314, 0.019452180713415146, 0.018473628908395767, 0.014218170195817947, 0.008511623367667198, -0.026876792311668396, 0.008040359243750572, 0.059851255267858505, -0.06011952832341194, 0.007422261405736208, -0.002138136886060238, 0.014239296317100525, -0.0009251380106434226, -0.008983154781162739, -0.03631659597158432, -0.02624046429991722, -0.049512993544340134, -0.003160285297781229, -0.045553337782621384, -0.027263719588518143, -0.017279746010899544, 0.00789677258580923, -0.022251799702644348, -0.021812861785292625, -0.014401867985725403, 0.00513369869440794, -0.006874890066683292, -0.024292757734656334, 0.012380626983940601, -0.046033211052417755, 0.02165457233786583, 0.017654571682214737, -0.030794670805335045, 0.03257213532924652, -0.03197649493813515, 0.025093067437410355, 0.023521875962615013, -0.019776660948991776, -0.021533919498324394, -0.04605622962117195, 0.009415952488780022, 0.0037241948302835226, 0.026194017380475998, 0.0029698486905544996, -0.016448186710476875, -0.04039952531456947, -0.009578042663633823, -0.05631275847554207, 0.022055523470044136, -0.03419879823923111, -0.02793085388839245, 0.034425731748342514, 0.06238330155611038, 0.022536946460604668, 0.04426370933651924, -0.02568165399134159, -0.01742485724389553, 0.058815162628889084, -0.09554050117731094, -0.013517905957996845, -0.02658768557012081, -0.069639652967453, 0.010479865595698357, 0.00352592789568007, 0.039933327585458755, -0.03495180234313011, 0.024733884260058403, 0.01354754064232111, 0.03529787063598633, 0.02934846840798855, -0.023335574194788933, 0.02856200560927391, -0.0451497808098793, 0.006293985992670059, -0.06715616583824158, 0.03189226984977722, 0.04217148572206497, 0.0082921851426363, -0.028784407302737236, -0.01237258967012167, -0.037342846393585205, 0.037931639701128006, -0.059733469039201736, -0.001461040461435914, 0.05754827335476875, 0.012662006542086601, -0.000053552750614471734, 0.016429757699370384, -0.0785430446267128, 0.03329337388277054, 0.037417057901620865, -0.03688796982169151, -0.01550627127289772, -0.05177188664674759, 0.05927196145057678, 0.01554766483604908, 0.03316350653767586, -0.030010584741830826, 0.006393637042492628, 0.056381065398454666, 0.011119889095425606, 0.013864782638847828, 0.042868610471487045, -0.010783805511891842, 0.04109341651201248, 0.041869863867759705, 0.025142410770058632, -0.005751744844019413, 0.007802960928529501, -0.010493488050997257, -0.0533628910779953, 0.011879878118634224, 0.015063896775245667, -0.04459737241268158, -0.04165436327457428, 0.061407458037137985, 0.02808479219675064, -0.023671334609389305, -0.044093646109104156, 0.011803969740867615, -0.07402195036411285, 0.0063328975811600685, -0.02421991527080536, -0.010583125986158848, -0.05141289532184601, 0.060522258281707764, 0.007861077785491943, -0.0013907491229474545, 0.06269055604934692, 0.008970938622951508, -0.02931828238070011, -0.033869531005620956, 0.08553321659564972, 0.06931086629629135, 0.0500362291932106, 0.014210408553481102, 0.060246121138334274, -0.016992444172501564, -0.037028197199106216, 0.03277045115828514, 0.015616808086633682, -0.02366379089653492, -0.02024514600634575, 0.028607871383428574, 0.05503368005156517, -0.025558801367878914, 0.058035023510456085, -0.01981278508901596, -0.011497841216623783, 0.007938714697957039, 0.013157116249203682, 0.023337746039032936, 0.06811275333166122, 0.024423109367489815, -0.0018853972433134913, 0.0037417265120893717, -0.041175615042448044, 0.0317528061568737, -0.02623950131237507, -0.0033896767999976873, 0.015077070333063602, -0.002182337688282132, 0.023936863988637924, 0.010405343025922775, 0.019690928980708122, 0.07569914311170578, -0.04094404727220535, 0.022550566121935844, -0.008316371589899063, 0.04185318946838379, 0.035790182650089264, 0.008585932664573193, -0.03964924439787865, -0.027833936735987663, 0.010090279392898083, -0.03599352017045021, -0.013905533589422703, -0.010495959781110287, -0.01615464687347412, 0.05724254623055458, -0.01364453136920929, 0.010190567001700401, 0.038342900574207306, 0.02724667452275753, -0.024551812559366226, -0.0639268234372139, -0.06583036482334137, -0.04041449353098869, -0.06146150082349777, -0.022622227668762207, 0.03171152621507645, -0.010691523551940918, -0.05011387914419174, -0.012678190134465694, -0.03946753591299057, -0.011890099383890629, 0.05457565560936928, -0.05659986659884453, -0.033423736691474915, 0.031229345127940178, -0.002676923992112279, 0.033990900963544846, 0.021290045231580734, 0.050330549478530884, -0.0032632334623485804, -0.011861716397106647, -0.035615261644124985, 0.01573188602924347, 0.039654724299907684, -0.004635840188711882, 0.005538184195756912, -0.08481839299201965, 0.020865891128778458, 0.03509850800037384, -0.003247960703447461, -0.05898330360651016, 0.03816399723291397, -0.008496689610183239, -0.019626352936029434, 0.0677662119269371, -0.030079809948801994, -0.000994490459561348, -0.018998321145772934, -0.007244738284498453, -0.007701085414737463, 0.009558678604662418, 0.039168961346149445, -0.02113502286374569, 0.08645647764205933, 0.025513214990496635, -0.03169213980436325, -0.0569431409239769, -0.0010233286302536726, -0.011102104559540749, -0.021523891016840935, -0.018282463774085045, -0.038060493767261505, -0.020138615742325783, -0.0558992363512516, -0.016566680744290352, 0.018728166818618774, -0.0030232316348701715, -0.03423795849084854, 0.010309819132089615, 0.04088784009218216, -0.04447175934910774, 0.007424606010317802, -0.03349371254444122, 0.048239510506391525, -0.03432607650756836, 0.004030509851872921, 0.002225759206339717, -0.007471713703125715, -0.01399706769734621, 0.020644009113311768, 0.04115143418312073, -0.04317765310406685, 0.008192716166377068, 0.004074700642377138, 0.02501348964869976, 0.03347431495785713, 0.015255562029778957, 0.0018807851010933518 ]
[ -0.12001723796129227, -0.01635190099477768, -0.019996069371700287, -0.04133688285946846, 0.035665154457092285, -0.02368715964257717, -0.04606058821082115, 0.023860348388552666, -0.004899242427200079, -0.009889267385005951, 0.012157549150288105, -0.04470087215304375, -0.02197773940861225, -0.006224443204700947, 0.09956517070531845, 0.006877254229038954, -0.022229045629501343, -0.02888675034046173, 0.012745605781674385, 0.014813902787864208, 0.01766645535826683, -0.01890791952610016, -0.026557451114058495, -0.012740453705191612, 0.004634121898561716, 0.02623741701245308, 0.0102956872433424, -0.038420259952545166, 0.015494911931455135, -0.22531385719776154, 0.014628619886934757, 0.021569978445768356, 0.024722784757614136, -0.013885101303458214, 0.0006206749239936471, 0.03652914613485336, -0.0030362955294549465, 0.015013223513960838, -0.02162732183933258, 0.0436595194041729, 0.006024628411978483, 0.02474181540310383, -0.03813941404223442, -0.042967770248651505, 0.04234219342470169, 0.010729470290243626, 0.011820017360150814, -0.026808016002178192, -0.0004996286588720977, 0.020605353638529778, -0.055096160620450974, -0.010626254603266716, -0.008917764760553837, -0.023570070043206215, 0.009091224521398544, 0.01751929521560669, 0.05392081290483475, 0.0728076696395874, 0.020534686744213104, 0.014091460034251213, 0.0194440558552742, -0.009002920240163803, -0.10308434814214706, 0.08253464102745056, 0.03426085785031319, 0.056426890194416046, -0.009759441018104553, -0.033661335706710815, 0.006308328825980425, 0.09381137788295746, 0.00703400420024991, -0.026860183104872704, 0.000026899895601673052, 0.044100794941186905, 0.019212834537029266, -0.0023021651431918144, -0.000727423932403326, 0.004099723417311907, 0.020897764712572098, -0.04382450133562088, -0.0665161982178688, -0.027395429089665413, -0.01767321117222309, -0.0008996813558042049, -0.03466419875621796, 0.003443536814302206, -0.01940835267305374, 0.07079517841339111, 0.017873799428343773, 0.016720401123166084, 0.050160959362983704, 0.007618312258273363, 0.059347014874219894, -0.002915592398494482, -0.09351885318756104, 0.02466815896332264, -0.029620375484228134, 0.02056889235973358, -0.03219117224216461, 0.495680570602417, -0.03692995756864548, -0.026014920324087143, 0.054547641426324844, 0.024030186235904694, -0.0009206297690980136, 0.0076852599158883095, 0.016696853563189507, -0.04199916869401932, 0.016361922025680542, -0.034287694841623306, 0.009772970341145992, 0.0071599106304347515, 0.0714092031121254, -0.021673306822776794, -0.022945621982216835, 0.014464504085481167, 0.006778476759791374, 0.0029911661986261606, -0.004721474833786488, 0.005564433988183737, -0.020663131028413773, 0.021767426282167435, 0.013550599105656147, 0.0005087600438855588, 0.0023081591352820396, -0.02808910608291626, 0.0014156635152176023, 0.04215772822499275, 0.023903269320726395, 0.025158673524856567, 0.04086581617593765, -0.04919697716832161, -0.05327478423714638, 0.008693289011716843, -0.002919944701716304, 0.0150979682803154, 0.041454121470451355, -0.017632005736231804, 0.009657252579927444, 0.04104229062795639, -0.00552396010607481, -0.017874782904982567, 0.051274627447128296, -0.007279411423951387, -0.05005651339888573, 0.071804478764534, 0.007698482368141413, -0.032252829521894455, 0.018390653654932976, -0.02430148981511593, -0.014961090870201588, 0.021861759945750237, -0.011083033867180347, -0.054995276033878326, 0.01145949587225914, -0.007162730675190687, 0.06952440738677979, -0.004049183800816536, -0.05917619168758392, -0.019820690155029297, -0.01714996248483658, -0.04596683382987976, -0.05091426521539688, 0.015518642030656338, 0.039352599531412125, -0.08992672711610794, -0.02162177488207817, -0.0009651611908338964, 0.031115861609578133, -0.07388149201869965, -0.0201572272926569, 0.01389241311699152, -0.04255014657974243, -0.012778358533978462, 0.06291913241147995, -0.019402243196964264, -0.00860647764056921, 0.002734848763793707, 0.042401283979415894, 0.020030157640576363, 0.010685513727366924, 0.020046543329954147, -0.041144926100969315, -0.0005006335559301078, -0.047032032161951065, -0.08603136986494064, -0.053220510482788086, -0.0016646411968395114, -0.03461052477359772, -0.001207637949846685, -0.02320038713514805, -0.022669663652777672, -0.0943988785147667, 0.09814128279685974, -0.0064122783951461315, -0.04735133424401283, 0.015304621309041977, -0.021065397188067436, -0.028512347489595413, -0.011147028766572475, -0.010149703361093998, 0.0573129877448082, -0.023118851706385612, 0.02692587859928608, -0.03731387108564377, 0.053345054388046265, 0.06000776216387749, -0.05385298281908035, 0.08956081420183182, 0.06777991354465485, -0.04358857497572899, -0.024022450670599937, 0.01684005744755268, 0.020729195326566696, 0.025169478729367256, -0.002593622775748372, -0.003984227776527405, 0.0072267185896635056, 0.006599785294383764, 0.014547158032655716, -0.02537117712199688, -0.012965817004442215, -0.01678832620382309, -0.3339744806289673, -0.03230147436261177, -0.039018042385578156, -0.020737383514642715, 0.007702801376581192, -0.06772670149803162, 0.030672704800963402, -0.04044597968459129, -0.012000481598079205, 0.004780960734933615, 0.06641758233308792, -0.005718542262911797, -0.001745205488987267, -0.07272544503211975, -0.022868137806653976, 0.011989878490567207, -0.029428407549858093, -0.01757257990539074, -0.042601328343153, 0.015718478709459305, -0.0003418399428483099, -0.013623255304992199, -0.010931309312582016, -0.04181801155209541, -0.028308292850852013, -0.040160324424505234, 0.11767072975635529, -0.005379437934607267, 0.1178119033575058, -0.0274339746683836, 0.023278774693608284, -0.003033303190022707, 0.01353162806481123, -0.07832285761833191, 0.012540164403617382, -0.005257013253867626, 0.00023656414123252034, -0.019066106528043747, 0.03470093011856079, -0.03535086289048195, -0.04791472479701042, 0.011922590434551239, -0.06512467563152313, -0.050142332911491394, -0.0372595489025116, 0.03260384500026703, -0.02881745994091034, -0.03907334804534912, -0.03269226476550102, 0.0751490518450737, 0.018243012949824333, -0.02308863215148449, 0.021335657685995102, 0.02002473920583725, -0.01977907493710518, -0.012182788923382759, -0.04892078414559364, -0.005604102276265621, 0.029028376564383507, 0.006071682553738356, 0.03648439049720764, 0.066083163022995, 0.013359256088733673, -0.05971201881766319, 0.00023647985653951764, 0.027290618047118187, 0.008430439978837967, -0.015639696270227432, 0.05711286514997482, -0.025954890996217728, -0.02067328803241253, 0.0949413850903511, 0.008159961551427841, -0.04866878688335419, 0.033410996198654175, 0.05165667086839676, -0.010190421715378761, 0.013882085680961609, 0.011861964128911495, 0.0031212209723889828, 0.010351931676268578, -0.02930900640785694, 0.03237205743789673, -0.030489584431052208, -0.006301087327301502, 0.042760152369737625, -0.012803598307073116, -0.04163609445095062, 0.06488367170095444, 0.015897365286946297, -0.009356657974421978, -0.0011619224678725004, -0.029523180797696114, -0.043401412665843964, 0.0679771900177002, -0.0026661637239158154, -0.24053697288036346, 0.009307526983320713, 0.07202153652906418, 0.04905082657933235, 0.005443594418466091, 0.03957539051771164, 0.04236379638314247, -0.05955437570810318, 0.026406126096844673, 0.010442356579005718, 0.03246529772877693, 0.04252108931541443, -0.005151259712874889, 0.0005494315410032868, 0.04255054146051407, -0.028596047312021255, 0.019743219017982483, -0.00694302236661315, 0.0670008510351181, -0.00810623075813055, -0.007647789549082518, 0.013816894963383675, 0.15387101471424103, 0.003789517330005765, 0.031969331204891205, 0.022869359701871872, 0.013781352899968624, 0.0026508131995797157, 0.06889461725950241, 0.009822341613471508, -0.03365464508533478, 0.0186922587454319, 0.03359880670905113, 0.013176357373595238, 0.021917426958680153, -0.06718061119318008, -0.03793136402964592, 0.019419264048337936, 0.021149659529328346, -0.0018545589409768581, 0.006801075767725706, -0.002633594209328294, -0.02958122454583645, 0.028468526899814606, 0.04762820526957512, 0.039578985422849655, -0.011861195787787437, -0.015921568498015404, -0.05416577309370041, -0.006029325537383556, -0.03279222175478935, -0.04453578218817711, -0.009628313593566418, -0.01310776174068451, -0.0032838676124811172, 0.07779956609010696, -0.007469198666512966, -0.003835507435724139, -0.01631147973239422, 0.026290535926818848, -0.007200995460152626, -0.010743017308413982, 0.10529715567827225, 0.010298476554453373, 0.01518995314836502 ]
[ -0.015776967629790306, -0.013599643483757973, -0.02283025160431862, 0.012761091813445091, -0.023016734048724174, -0.0003638847265392542, 0.03481648489832878, -0.010981108993291855, 0.009882022626698017, 0.0006829010671935976, 0.019103601574897766, 0.023640964180231094, -0.020114528015255928, -0.023312829434871674, 0.03117486461997032, 0.002526800846680999, 0.020041856914758682, 0.0032164319418370724, -0.007833782583475113, -0.0041725211776793, 0.01365543995052576, -0.005920437164604664, -0.002907500835135579, -0.004014958627521992, -0.012583580799400806, -0.0288985762745142, 0.000596819503698498, 0.007258886005729437, 0.02885838784277439, -0.17190536856651306, 0.006900371517986059, -0.025119859725236893, 0.011607563123106956, -0.018109161406755447, 0.007232821546494961, 0.010804098099470139, 0.0011650384403765202, -0.051063042134046555, -0.003882578806951642, -0.04053141921758652, -0.016919443383812904, -0.011532044969499111, -0.006143687292933464, 0.05715733394026756, -0.014673629775643349, 0.003348151221871376, 0.0008006563875824213, -0.04141746088862419, 0.004208080470561981, -0.001329998136498034, -0.03022690676152706, -0.041864197701215744, 0.009838121011853218, 0.017790576443076134, -0.0074693867936730385, -0.03398178517818451, 0.02087264694273472, 0.0025600576773285866, 0.02515041083097458, -0.042814288288354874, -0.02624599076807499, 0.007470590993762016, -0.03976987674832344, -0.012421859428286552, -0.04026583954691887, -0.02816551923751831, -0.00920113269239664, 0.00611655879765749, -0.024284644052386284, -0.01691758632659912, -0.007090267259627581, -0.008013180457055569, -0.008103043772280216, 0.00701896334066987, 0.008248613215982914, 0.03827710449695587, -0.008448324166238308, -0.01689133420586586, -0.005664357449859381, -0.011307327076792717, -0.04900538548827171, 0.011417060159146786, 0.06439325958490372, 0.0019791109953075647, 0.011543584987521172, -0.0016691432101652026, -0.00193373067304492, 0.004835693631321192, 0.03163661062717438, 0.008044861257076263, -0.01492264587432146, 0.04955011606216431, 0.022075505927205086, 0.012691556476056576, -0.09003202617168427, 0.001985822105780244, -0.004374956712126732, -0.033676862716674805, 0.013188942335546017, 0.8567190766334534, -0.007667191326618195, 0.04192102327942848, 0.02429364249110222, 0.0015913380775600672, -0.0024204126093536615, 0.014776426367461681, 0.0099053168669343, -0.014357274398207664, 0.015601599588990211, -0.035578396171331406, 0.008830363862216473, 0.01673745922744274, 0.02757224254310131, 0.02609533630311489, -0.016968604177236557, 0.024269849061965942, 0.022187409922480583, 0.0063892449252307415, -0.01046837493777275, 0.0028176670894026756, 0.02932726964354515, -0.013683429919183254, 0.013139937072992325, 0.001953817205503583, 0.01187295001000166, -0.1708899885416031, 0.013276522047817707, -7.553938287367168e-33, 0.057598769664764404, -0.04072931036353111, -0.028428567573428154, -0.00009941483585862443, 0.016831178218126297, -0.018702367320656776, 0.06476040184497833, -0.01795635186135769, -0.0017381247598677874, -0.01825903356075287, 0.001644511241465807, 0.0022461647167801857, -0.006318775471299887, -0.008503707125782967, 0.034709829837083817, -0.007465159520506859, -0.021538319066166878, 0.034520652145147324, 0.01148824580013752, 0.014151831157505512, 0.029639286920428276, 0.033042628318071365, -0.0026046009734272957, -0.045486930757761, 0.026649611070752144, 0.04852304607629776, 0.00006044489418854937, -0.004427722189575434, 0.007167378440499306, -0.029181642457842827, 0.0043491278775036335, 0.011385736055672169, -0.0274873785674572, -0.0011033646296709776, -0.011162501759827137, -0.030592942610383034, -0.008049681782722473, 0.008507686667144299, -0.06213691830635071, -0.03619375824928284, 0.011286395601928234, -0.007254023104906082, -0.05879655107855797, -0.023713817819952965, -0.0062352195382118225, -0.006777307018637657, 0.017619526013731956, 0.022078318521380424, 0.014995736069977283, 0.004996081348508596, -0.005326657555997372, 0.01856336183845997, 0.05085623264312744, -0.012457495555281639, -0.015022683888673782, -0.009225046262145042, 0.01090302411466837, 0.007195403333753347, -0.010567833669483662, 0.030634280294179916, 0.011289797723293304, 0.02192588336765766, -0.011167092248797417, 0.028161201626062393, -0.015856387093663216, -0.005698694847524166, 0.010866331867873669, 0.01390413474291563, 0.014544636942446232, -0.00590499397367239, -0.03241128847002983, -0.006909054238349199, -0.007536397781223059, -0.01283586211502552, -0.0011230113450437784, -0.03735451027750969, 0.01852511242032051, -0.004300229717046022, -0.02418016642332077, 0.019437666982412338, 0.013909898698329926, 0.020391250029206276, -0.007313287351280451, -0.027493324130773544, -0.03899947181344032, -0.008243074640631676, 0.017963705584406853, 0.002435058820992708, -0.023035269230604172, 0.005857658572494984, 0.04032821208238602, -0.002941610524430871, -0.0034872330725193024, -0.002493299776688218, -0.022228289395570755, 7.141532257428492e-33, -0.033143818378448486, -0.02289925329387188, -0.01985752396285534, 0.010135149583220482, 0.010286947712302208, -0.04495394602417946, 0.018714232370257378, -0.014173254370689392, -0.036882434040308, 0.01954851858317852, -0.03976455330848694, -0.007286363746970892, -0.02225111424922943, 0.06464581936597824, 0.050225503742694855, -0.0351155623793602, 0.014248603954911232, -0.00853556115180254, 0.005481785628944635, 0.003409304888918996, 0.029190443456172943, 0.020825592800974846, 0.010262218303978443, 0.025603199377655983, 0.008135221898555756, 0.054852452129125595, -0.02028413489460945, 0.03745414689183235, -0.00016927540127653629, -0.006012352183461189, -0.02082858234643936, -0.0020225506741553545, 0.039222512394189835, -0.005935368128120899, -0.011359297670423985, 0.008104635402560234, -0.008660590276122093, 0.013853934593498707, 0.011842155829071999, -0.007668036501854658, 0.03686530888080597, -0.01796702668070793, -0.017723241820931435, 0.02993636019527912, 0.0037459826562553644, -0.007559021934866905, -0.0004667751782108098, -0.0058103809133172035, -0.011685797944664955, -0.0018710657022893429, 0.014572114683687687, 0.028269333764910698, 0.009060954675078392, 0.011896646581590176, 0.016082080081105232, 0.0004169218009337783, -0.029171831905841827, -0.004756622016429901, -0.01558275893330574, 0.02131236530840397, -0.03787877783179283, -0.0017235864652320743, -0.027852002531290054, 0.04229959100484848, 0.008845186792314053, 0.000820909917820245, -0.020536288619041443, -0.024390224367380142, 0.0031444625928997993, 0.008356996811926365, -0.019851792603731155, 0.009176112711429596, -0.008833094500005245, 0.03797853738069534, -0.007217643316835165, -0.034620266407728195, -0.0037304817233234644, 0.005690136458724737, 0.008365273475646973, 0.011775186285376549, -0.0008096584351733327, -0.015626762062311172, 0.02553536370396614, -0.03309721499681473, 0.016011349856853485, 0.042788855731487274, -0.024158252403140068, 0.020528998225927353, 0.0030731470324099064, -0.035284459590911865, 0.012306815013289452, 0.002738783834502101, 0.02795797400176525, 0.01721815951168537, 0.010954822413623333, -1.3036524748599732e-8, 0.028375806286931038, 0.017053034156560898, 0.0021338234655559063, 0.03666653484106064, 0.019880386069417, 0.025889189913868904, -0.018506715074181557, -0.005819813814014196, -0.051483169198036194, 0.005366968456655741, 0.055322568863630295, 0.026333754882216454, 0.009022710844874382, 0.0008323702495545149, 0.020746519789099693, -0.0185842402279377, -0.02922390028834343, 0.007760778069496155, 0.024185054004192352, 0.01637023314833641, 0.011782458052039146, 0.03813823685050011, -0.02800178714096546, -0.0038129896856844425, -0.04085927829146385, 0.025323856621980667, 0.008631356991827488, -0.07909368723630905, 0.011062518693506718, -0.0030198644381016493, 0.001210201415233314, -0.007913878187537193, -0.03761473670601845, 0.0003896028792951256, -0.0101427948102355, -0.018982436507940292, 0.03143182396888733, 0.005559652578085661, 0.01787320338189602, 0.0034276696387678385, -0.02992888353765011, -0.009166054427623749, 0.0034699372481554747, -0.03253607824444771, -0.014173168689012527, 0.00022387257195077837, -0.049782611429691315, -0.010631736367940903, 0.019765418022871017, -0.04432659223675728, -0.0033628337550908327, -0.016046175733208656, -0.01783820241689682, 0.039565104991197586, 0.007663663011044264, 0.004173362161964178, -0.00016225142462644726, 0.007997247390449047, -0.02795437164604664, 0.026841476559638977, 0.037999823689460754, -0.009591332636773586, -0.020963478833436966, -0.01457176823168993 ]
coding-dojo-9-refactoring-isola
https://markhneedham.com/blog/2009/02/12/coding-dojo-9-refactoring-isola
false
2009-02-13 00:01:58
Ferengi Programmer and the Dreyfus Model
[ "dreyfus-model" ]
[ "Learning" ]
I've been reading http://www.codinghorror.com/blog/archives/001225.html[Jeff Atwood's post] regarding http://www.joelonsoftware.com/items/2009/01/31.html[Joel's comments on the podcast] about http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod[Uncle Bob's SOLID principles] and what struck me as I read through his dislike of having too many rules and guidelines is that there is a misunderstanding of how we should use these rules and I think at the heart of this understanding the Dreyfus Model might clear this up. To briefly recap the different levels of the http://pragmaticstudio.com/dreyfus[Dreyfus Model] (you can read more about this in http://www.markhneedham.com/blog/2008/10/06/pragmatic-learning-and-thinking-book-review/[Pragmatic Thinking and Learning]) * Novice - Little or no experience in a skill area * Advanced Beginner - Break way from rules and try some stuff alone. Have difficulty troubleshooting * Competent - Develop conceptual models of problem domain & can problem solve * Proficient - Try to understand larger conceptual framework around skill. Can reflect on performance and do better next time * Expert - Vast range of experience to apply in just the right context Given these levels at which any person may be at for a given set of skills, as http://blog.dhananjaynene.com/2009/02/an-experienced-programmer-doesnt-use-solid-as-a-checklist-he-internalises-it/[Dhananjay Nene points out] someone who is an expert in this area is not going to be referring to a checklist of design guidelines - they have already been past this stage and are at the stage where they can apply the ideas intuitively in the right context. ____ If you are at a stage where you still need to review your design with respect to the SOLID principles (or other appropriate design principles) - please take your time to apply the principles, learn if you are breaking them, understand the costs of doing so (I would recommend that involve a senior programmer / designer in the process) and then by all means make the best judgement. Principles distilled over time and experience should be adjusted preferably by those who understand the cost and implications of doing so, +++<strong>+++the rest should strive to reach that state first. +++</strong>+++ ____ In which case the following statement on Jeff Atwood's post makes perfect sense: ____ Like James Bach, I've found less and less use for rules in my career. Not because I'm a self-made genius who plays by my own rules, mind you, but because I value the skills, experience, and judgment of my team far more than any static set of rules. ____ But it shouldn't be used as a stick to beat the principles because using them as a set of guidelines or rules is still very valuable for someone who is not so far up the Dreyfus Model as Jeff is for this skill. I still think there is value in re-reading the principles even when you think you have got them ingrained in your mind and don't need to keep on referring to them to write your code. I have often found that when I end up writing code which is difficult to work with it tends to be because I've broken one of the principles without realising that I was doing so. == Overall To summarise I don't see a problem in following principles/rules when you are new to a skill - in fact I think this is the best way to pick up good practices otherwise you are just guessing. In order to progress up the Dreyfus Model we need to eventually start questioning the rules and working out when we should and should not apply them. Leaving the last word to Mr Atwood... ____ Rules, guidelines, and principles are gems of distilled experience that should be studied and respected. But they're never a substute for thinking critically about your work. ____
null
null
[ 0.013780509121716022, 0.032647907733917236, 0.008054959587752819, 0.0377805195748806, 0.08368244767189026, 0.002773541258648038, 0.031180838122963905, 0.028984881937503815, 0.011735407635569572, -0.048146672546863556, -0.012270484119653702, 0.006910406053066254, -0.049325134605169296, -0.001421782886609435, -0.03015671670436859, 0.0743647888302803, 0.06401029974222183, -0.007841642946004868, 0.021171418949961662, 0.0047226957976818085, 0.02456113137304783, 0.06173492223024368, -0.0035736090503633022, 0.03212609887123108, 0.022789359092712402, 0.01846413128077984, 0.008215297944843769, 0.0075245751067996025, -0.05921367555856705, -0.012082834728062153, 0.04014616087079048, -0.0059822360053658485, 0.005662059877067804, -0.024475345388054848, 0.005608373787254095, -0.02603902667760849, -0.009914642199873924, 0.024279063567519188, 0.0198147501796484, 0.01437628734856844, -0.07018011808395386, 0.04883824661374092, 0.004467320628464222, -0.007901901379227638, -0.044076740741729736, -0.004221656825393438, -0.044376492500305176, 0.011037757620215416, 0.02008216455578804, 0.0143827423453331, -0.0657021701335907, 0.03908369317650795, -0.00507980864495039, 0.00480222562327981, -0.01848859153687954, 0.04314933717250824, 0.017777888104319572, -0.06299884617328644, 0.0014414757024496794, -0.04179751127958298, -0.001468887785449624, -0.009908760897815228, 0.016372978687286377, 0.02800670824944973, 0.02180534042418003, -0.03589843958616257, -0.008340924978256226, 0.03520935773849487, -0.05764692276716232, 0.028680900111794472, -0.02048732526600361, 0.01005239225924015, 0.008298887871205807, -0.02687651477754116, 0.006461435463279486, -0.05188726261258125, 0.0173480324447155, 0.05431845784187317, 0.01807967759668827, 0.03440552204847336, -0.014502668753266335, 0.01446421816945076, 0.017980823293328285, 0.02739495411515236, -0.02037901245057583, -0.0207524336874485, -0.002089916728436947, -0.026775456964969635, -0.06870407611131668, 0.05023323744535446, 0.005847816821187735, -0.06230657547712326, 0.01743084006011486, 0.03774072602391243, -0.00869580078870058, 0.003715153317898512, 0.04596666246652603, 0.009539374150335789, -0.016932697966694832, 0.00604285579174757, -0.01854211650788784, -0.026437973603606224, 0.009086753241717815, 0.011124303564429283, -0.06826537102460861, -0.010692151263356209, -0.009394858963787556, -0.023689279332756996, -0.012451795861124992, 0.006953543052077293, -0.016880322247743607, 0.02149566449224949, -0.015353931114077568, -0.01725989207625389, -0.051246196031570435, 0.07806453853845596, 0.006476469803601503, -0.02076544053852558, -0.005872795358300209, 0.017575690522789955, 0.039622239768505096, 0.014256495982408524, -0.008694693446159363, 0.07513122260570526, 0.003581020515412092, 0.00550474738702178, -0.019601555541157722, 0.0636446475982666, -0.013201262801885605, -0.05492652580142021, -0.01144912838935852, 0.03996533527970314, -0.038635022938251495, -0.0227842815220356, -0.01486945990473032, -0.03146180883049965, -0.0014233210822567344, 0.012794305570423603, 0.00748794199898839, 0.05513356253504753, -0.00470045767724514, -0.040817927569150925, 0.03265759348869324, -0.002351559465751052, 0.02483471669256687, 0.0006116719450801611, 0.01843421347439289, -0.028945479542016983, -0.039173755794763565, -0.021132150664925575, 0.014988851733505726, 0.05271181836724281, -0.004766527097672224, -0.03921094164252281, 0.020198652520775795, 0.08007735013961792, 0.0418001227080822, 0.01736532524228096, -0.01132257841527462, 0.01868562027812004, 0.032557129859924316, 0.019763536751270294, -0.0063644954934716225, 0.011667424812912941, 0.03128918260335922, 0.0014852418098598719, 0.0028826147317886353, 0.046633560210466385, -0.010757993906736374, 0.025033017620444298, -0.06873529404401779, -0.03104454092681408, 0.05016924440860748, -0.0483597069978714, -0.042328283190727234, 0.052930258214473724, 0.07348151504993439, 0.023809362202882767, 0.06278764456510544, -0.00008168653585016727, -0.08324778825044632, 0.012804408557713032, 0.02045874483883381, 0.02080720290541649, 0.022653639316558838, -0.03647378832101822, 0.04636372625827789, 0.006439561489969492, -0.009409717284142971, 0.049192946404218674, -0.07052651792764664, -0.08706458657979965, -0.010928315110504627, -0.012569909915328026, 0.053142011165618896, -0.023795071989297867, -0.003226322354748845, 0.08728063851594925, 0.022593922913074493, 0.056298356503248215, 0.030001794919371605, 0.0030897485557943583, 0.018776975572109222, -0.0350247286260128, -0.025773683562874794, 0.06114619970321655, 0.03178364783525467, -0.011623702943325043, -0.031618501991033554, 0.0169370099902153, 0.010445837862789631, -0.037472352385520935, 0.05377308279275894, -0.0237903892993927, 0.039718396961688995, -0.007089761085808277, 0.06739804148674011, -0.031901877373456955, 0.041148923337459564, -0.02543811872601509, -0.005355189088732004, 0.009210530668497086, -0.013237999752163887, 0.03386672958731651, -0.008415826596319675, 0.10378546267747879, 0.057197049260139465, -0.060998789966106415, -0.0405450165271759, 0.006090081296861172, 0.009749066084623337, -0.040003202855587006, 0.004746950697153807, -0.01704522781074047, 0.010154555551707745, -0.001835168106481433, -0.06153895705938339, -0.027379736304283142, 0.041503410786390305, -0.049912549555301666, 0.008871306665241718, 0.07261759042739868, -0.04920520633459091, 0.05826050788164139, -0.009162768721580505, 0.010888281278312206, -0.01804375648498535, 0.0036825856659561396, -0.03680559992790222, 0.02238493040204048, 0.002763529308140278, -0.014166822656989098, 0.05986226350069046, -0.028542347252368927, -0.024491362273693085, -0.03716697543859482, -0.029509015381336212, 0.017919067293405533, 0.0522376149892807, 0.05900757759809494, 0.00436248118057847, 0.06329791247844696, 0.008567874319851398, 0.04803178459405899, 0.017348531633615494, -0.045911356806755066, -0.0337471067905426, -0.04768029972910881, 0.010783687233924866, 0.06068609654903412, -0.0020829509012401104, 0.007392799016088247, 0.006008165888488293, 0.008032113313674927, -0.020364904776215553, -0.010253475047647953, 0.026024390012025833, 0.005558514967560768, -0.017115427181124687, -0.009502212516963482, -0.02502492442727089, 0.06391946226358414, -0.03844686225056648, -0.024936318397521973, 0.016545237973332405, -0.0689958855509758, 0.04593504220247269, -0.0595892034471035, -0.04762444645166397, 0.018395252525806427, 0.022875040769577026, 0.06867392361164093, -0.011374388821423054, 0.023672105744481087, 0.06746075302362442, 0.006188112311065197, -0.009496382437646389, -0.01547402236610651, -0.009626725688576698, 0.035735610872507095, -0.003309523221105337, 0.00032748348894529045, 0.04588523879647255, 0.02123219519853592, -0.006474408321082592, -0.048918284475803375, 0.05347706004977226, -0.02274150773882866, -0.28790006041526794, 0.027581550180912018, 0.011104184202849865, -0.04766008257865906, 0.0019017525482922792, -0.009379281662404537, 0.009329535998404026, -0.05199958384037018, -0.01542783435434103, 0.01760471798479557, -0.04408744350075722, -0.04941895604133606, -0.016960354521870613, 0.05170001834630966, 0.0005426055286079645, 0.03453456610441208, 0.02654189057648182, -0.05817388370633125, -0.011952323839068413, 0.050627220422029495, -0.010750841349363327, -0.07480818033218384, 0.004616150166839361, 0.04216695576906204, 0.033729586750268936, 0.03835592046380043, -0.09332674741744995, 0.03379017859697342, -0.060567356646060944, 0.01775667816400528, 0.01348502840846777, 0.016142485663294792, -0.008261093869805336, -0.036543093621730804, -0.0039421385154128075, -0.02747633308172226, 0.037816669791936874, -0.0179869644343853, -0.005426201969385147, 0.0212167389690876, -0.00550791947171092, -0.02157309651374817, -0.008551918901503086, 0.016216207295656204, 0.06489972025156021, 0.001087657525204122, -0.07355214655399323, -0.03296077623963356, -0.005989860277622938, 0.0685882493853569, -0.03667261451482773, -0.04054877161979675, 0.006034220103174448, 0.046399328857660294, 0.0004252783546689898, -0.012317505665123463, 0.008418522775173187, -0.022400690242648125, -0.03268668055534363, -0.041348252445459366, 0.009112372994422913, -0.027000920847058296, -0.006197763606905937, -0.050231583416461945, 0.005750927142798901, -0.07171764224767685, -0.06385176628828049, -0.00520561495795846, 0.07048027962446213, 0.0225391648709774, -0.03235810622572899, 0.022199491038918495, -0.005934563931077719, -0.1074860692024231, 0.006269780453294516, -0.005897385533899069, -0.016736160963773727, -0.0020087130833417177, 0.03595772013068199, 0.05352489650249481, -0.014112470671534538, -0.05295940488576889, 0.03210144490003586, 0.016690347343683243, 0.023885302245616913, -0.008290174417197704, 0.03540470823645592, 0.02731856144964695, -0.025971658527851105, 0.024070629850029945, 0.06394033879041672, 0.023896895349025726, -0.03756895661354065, -0.03984244540333748, 0.03453529626131058, -0.0009401497663930058, 0.03233752027153969, -0.03195470571517944, 0.026600953191518784, 0.03547164797782898, -0.015927696600556374, -0.05315817892551422, 0.035500433295965195, -0.013707755133509636, -0.00430127652361989, -0.02171233855187893, -0.03984910994768143, 0.008243926800787449, 0.04531532898545265, 0.021868042647838593, -0.008465029299259186, -0.031133001670241356, 0.016266610473394394, -0.038893360644578934, -0.0229403767734766, -0.03616911172866821, -0.0005019385134801269, 0.05528004840016365, -0.04216768965125084, -0.002753881039097905, -0.059314802289009094, 0.013760690577328205, -0.025477733463048935, -0.010602583177387714, -0.061978619545698166, -0.026259848847985268, -0.006877470295876265, -0.045319024473428726, 0.002715454436838627, 0.018975885584950447, -0.011903475038707256, 0.0360722653567791, 0.013608833774924278, -0.0179652851074934, 0.03330780565738678, -0.04408293589949608, -0.05902034416794777, -0.009587212465703487, -0.002017471008002758, 0.004985071253031492, -0.003652839455753565, 0.027595024555921555, 0.014626262709498405, 0.008256117813289165, 0.03943369910120964, 0.0236638356000185, 0.009010396897792816, -0.013436165638267994, 0.025911375880241394, 0.028337763622403145, 0.0029247684869915247, -0.07796966284513474, 0.04793664440512657, -0.0579189695417881, -0.04325523227453232, -0.02098967134952545, 0.008437654934823513, -0.020768212154507637, -0.015520693734288216, -0.024015145376324654, 0.01530398428440094, -0.04173622280359268, -0.054272886365652084, -0.05094641447067261, 0.018531056120991707, 0.057585787028074265, -0.009223462082445621, 0.009012042544782162, -0.017243722453713417, -0.006877601146697998, 0.020108792930841446, 0.01752329431474209, -0.050790537148714066, 0.005761174019426107, 0.016153162345290184, 0.008468328043818474, -0.018338976427912712, -0.013975508511066437, 0.04929767921566963, 0.018550673499703407, -0.01068946160376072, -0.041955284774303436, 0.0021437047980725765, 0.010862370021641254, 0.05212481692433357, -0.004137543495744467, 0.0033762750681489706, -0.013134872540831566, -0.026611799374222755, -0.03702789545059204, -0.028840331360697746, -0.0047209663316607475, 0.025437429547309875, 0.05104871094226837, -0.05051681399345398, -0.07258003950119019, 0.050130996853113174, 0.05126455798745155, -0.008563246577978134, 0.003987870179116726, 0.0016418201848864555, -0.01010323129594326, -0.03829056769609451, 0.03235244005918503, 0.04240629822015762, -0.07565831393003464, 0.020954374223947525, -0.008778871968388557, 0.009332035668194294, 0.028239427134394646, -0.011235451325774193, -0.05474540591239929, -0.018164318054914474, -0.054340798407793045, -0.009939323179423809, -0.07882919162511826, -0.022914061322808266, -0.01862216368317604, 0.03237895667552948, 0.012306182645261288, -0.009214978665113449, -0.026533087715506554, -0.024841297417879105, -0.0066197719424963, -0.027998194098472595, 0.02122500166296959, -0.04873734340071678, 0.008620993234217167, 0.028722818940877914, -0.05133242905139923, 0.011002903804183006, -0.014604347757995129, 0.020286161452531815, 0.03177700191736221, -0.029754072427749634, -0.028429066762328148, -0.025015929713845253, 0.006855081766843796, 0.008263924159109592, 0.0665116086602211, 0.011533544398844242, -0.025614989921450615, -0.047890957444906235, -0.0041984450072050095, -0.030413614585995674, 0.013882939703762531, -0.03915815055370331, -0.019290998578071594, 0.028445718809962273, 0.061613958328962326, 0.030900737270712852, 0.016804873943328857, -0.03062596172094345, -0.009578071534633636, 0.04330034926533699, -0.07123259454965591, -0.018774142488837242, -0.01742006652057171, -0.04619643837213516, 0.011934117414057255, 0.007145779673010111, 0.026271402835845947, -0.029368748888373375, 0.0410013273358345, 0.011979013681411743, 0.033129721879959106, 0.023035306483507156, -0.0028717010281980038, 0.029046403244137764, -0.04203164950013161, 0.015554295852780342, -0.07877536863088608, 0.004385149572044611, 0.023379046469926834, 0.013775679282844067, -0.0015701974043622613, -0.01963849738240242, -0.03973944112658501, 0.058810554444789886, -0.07884916663169861, -0.031167449429631233, 0.018233055248856544, 0.001496056211180985, -0.03432488068938255, 0.0005962427821941674, -0.06066301092505455, 0.010795396752655506, 0.025310613214969635, -0.04763298109173775, -0.01903391443192959, -0.03638509288430214, 0.05611657351255417, 0.0029143979772925377, 0.02737630344927311, -0.027380352839827538, 0.000040544829971622676, 0.07825452834367752, 0.021235642954707146, 0.003412751480937004, 0.0460314117372036, -0.007034567650407553, 0.04216162860393524, 0.03794436156749725, 0.019590502604842186, -0.0129426009953022, 0.0009538649464957416, -0.0012853734660893679, -0.08185295760631561, 0.037535205483436584, -0.002888238988816738, -0.04331506788730621, -0.05038739740848541, 0.04925109073519707, 0.02046283334493637, -0.04249170050024986, -0.041926827281713486, 0.008384316228330135, -0.06741396337747574, 0.008176500909030437, -0.008613396435976028, -0.01931491680443287, -0.03702176362276077, 0.04428039863705635, -0.0037195859476923943, 0.011185272596776485, 0.0630401000380516, -0.0076711056753993034, -0.03401773050427437, -0.016421616077423096, 0.0862632766366005, 0.06722713261842728, 0.06295791268348694, -0.0014710196992382407, 0.06134094297885895, -0.03201984986662865, -0.031877078115940094, 0.03675787150859833, -0.007739217486232519, -0.005539570469409227, -0.04677406698465347, 0.019091371446847916, 0.06162869557738304, -0.010416749864816666, 0.06717543303966522, -0.024112483486533165, -0.018661197274923325, 0.009547391906380653, 0.027617795392870903, 0.002140612108632922, 0.06865750998258591, 0.0017198140267282724, 0.0024818754754960537, -0.021195562556385994, -0.05161312595009804, 0.026933886110782623, -0.025868475437164307, -0.02758857049047947, 0.01243930496275425, -0.006510098930448294, 0.04435158520936966, 0.016849588602781296, 0.022745173424482346, 0.0866154283285141, -0.03970860689878464, 0.009162110276520252, 0.0012174604926258326, 0.025204727426171303, -0.003231413196772337, 0.005355061963200569, -0.006117477081716061, -0.0381554514169693, 0.0031281467527151108, -0.025079822167754173, -0.01625884883105755, -0.03711004555225372, -0.006962983403354883, 0.03785235434770584, -0.02320047840476036, -0.008036769926548004, 0.035221196711063385, 0.024016031995415688, -0.03931690752506256, -0.065758615732193, -0.032656267285346985, -0.031752556562423706, -0.03985663130879402, -0.012538460083305836, 0.003875610651448369, -0.02260148897767067, -0.019614793360233307, -0.02123367413878441, -0.004585824441164732, -0.01950187049806118, 0.05812555551528931, -0.048523642122745514, -0.04763892665505409, 0.03175670653581619, 0.00310135749168694, 0.01862398535013199, 0.034286659210920334, 0.04149378836154938, 0.005796228535473347, 0.0052623082883656025, -0.02054927498102188, 0.011075777933001518, 0.024615416303277016, 0.00970538891851902, 0.01983947865664959, -0.09633556753396988, 0.016937347128987312, 0.015557986684143543, 0.0026193943340331316, -0.05537834018468857, 0.037451356649398804, 0.00855480507016182, 0.013030393049120903, 0.06776007264852524, -0.01257744524627924, 0.017955232411623, -0.04693366959691048, -0.004880127497017384, -0.014413215219974518, 0.014161857776343822, 0.052069276571273804, -0.03207403048872948, 0.08341313153505325, 0.0032432337757200003, -0.012975255958735943, -0.04064180329442024, -0.018136704340577126, 0.012244371697306633, 0.003547407453879714, -0.01998332515358925, -0.016332052648067474, -0.027505822479724884, -0.08218833059072495, -0.010180823504924774, 0.02963411994278431, -0.02067013457417488, -0.029902124777436256, 0.02616747096180916, 0.01578597165644169, -0.020926982164382935, 0.022301869466900826, -0.05614236369729042, 0.025515787303447723, -0.030456949025392532, -0.00820039864629507, 0.004947158508002758, 0.01409208495169878, -0.022034810855984688, -0.019352132454514503, 0.028215503320097923, -0.04457446187734604, -0.0006718651275150478, 0.013558602891862392, 0.01722021959722042, 0.013481314294040203, 0.010113066993653774, 0.0015843751607462764 ]
[ -0.09538052976131439, 0.0006832468789070845, -0.025870617479085922, -0.048736460506916046, 0.013310463167726994, -0.01572137512266636, -0.0037980382330715656, 0.02219029702246189, -0.015542570501565933, -0.017877697944641113, -0.01584406942129135, -0.00414968840777874, -0.013130526058375835, -0.01534230075776577, 0.0736510157585144, 0.0361894816160202, -0.000661477679386735, -0.028948472812771797, 0.02652916871011257, 0.0013885177904739976, 0.03775737062096596, -0.025905543938279152, -0.02704865299165249, -0.023914078250527382, 0.025610482320189476, 0.020115748047828674, 0.041128192096948624, -0.042619045823812485, 0.029920363798737526, -0.19602064788341522, -0.019135063514113426, 0.024060983210802078, 0.04300720617175102, -0.024502990767359734, -0.014434893615543842, 0.05732113495469093, 0.0021758635994046926, 0.016427116468548775, -0.009573552757501602, 0.013442674651741982, 0.000010466796084074304, 0.015762850642204285, -0.021563194692134857, -0.02348492294549942, 0.04539433866739273, 0.023928679525852203, 0.004631302319467068, -0.039332784712314606, -0.021966906264424324, 0.006085094530135393, -0.05507279187440872, -0.04359453544020653, -0.029462352395057678, -0.019587738439440727, 0.008564475923776627, 0.008874243125319481, 0.04364299029111862, 0.06808307766914368, 0.0011634348193183541, 0.021393662318587303, 0.02970418520271778, -0.013925441540777683, -0.1513707935810089, 0.0990363284945488, 0.03236422687768936, 0.06293290108442307, -0.02154119685292244, -0.020961005240678787, -0.02461221069097519, 0.07713475823402405, 0.024796845391392708, -0.023646587505936623, -0.02294352650642395, 0.032967016100883484, 0.015390598215162754, -0.013441448099911213, 0.007008850574493408, -0.0034652254544198513, 0.030010253190994263, -0.011972327716648579, -0.016443662345409393, -0.018867487087845802, -0.006418439093977213, -0.040781840682029724, -0.0528133250772953, 0.05263743922114372, -0.017323222011327744, 0.0307446476072073, 0.004820310510694981, 0.019193653017282486, 0.05198165401816368, -0.008671283721923828, 0.02954435907304287, 0.00032766431104391813, -0.06033929064869881, -0.017248807474970818, -0.003112083999440074, 0.006198126822710037, -0.07783053070306778, 0.45241257548332214, -0.0201640073210001, -0.011813502758741379, 0.07897578179836273, 0.044406402856111526, 0.0005618673749268055, -0.007835451513528824, 0.0179145410656929, -0.040500346571207047, 0.04420655965805054, -0.04051530733704567, 0.011917155236005783, 0.005856931675225496, 0.06453987956047058, -0.02753581665456295, 0.02355281263589859, 0.03446545824408531, 0.018267929553985596, 0.018414253368973732, 0.026303255930542946, -0.0281694233417511, -0.009248310700058937, 0.019917761906981468, 0.04117611423134804, 0.010759903118014336, -0.02321716398000717, -0.07652615010738373, -0.011115027591586113, 0.05214934051036835, 0.02797398902475834, 0.016681760549545288, 0.05820966884493828, -0.04962150380015373, -0.040940411388874054, -0.0030087456107139587, 0.023660050705075264, 0.008144558407366276, 0.03975973650813103, 0.014089665375649929, 0.03328220546245575, 0.028792211785912514, -0.007947857491672039, 0.015205220319330692, 0.021928876638412476, -0.008768626488745213, -0.04640757665038109, 0.0989997535943985, 0.026149487122893333, -0.025809621438384056, -0.028429726138710976, -0.03063102625310421, 0.01143957395106554, 0.015848930925130844, -0.009913218207657337, -0.033413391560316086, 0.018184063956141472, 0.028668547049164772, 0.1026361733675003, -0.01339157298207283, -0.07013057172298431, -0.017153004184365273, -0.0195637010037899, -0.022904004901647568, -0.04327967017889023, 0.0335775762796402, 0.04408568516373634, -0.07533103972673416, -0.020804740488529205, 0.002111388836055994, 0.018834015354514122, -0.06846296042203903, -0.0037150566931813955, 0.0009257987840101123, -0.04754909500479698, 0.017389001324772835, 0.06973922997713089, -0.019696105271577835, -0.0320022888481617, -0.0002459758543409407, 0.04470610246062279, 0.04924327880144119, 0.05053068697452545, -0.011471756733953953, -0.01579393446445465, 0.001611064188182354, -0.03600108250975609, -0.06559940427541733, -0.037507906556129456, -0.03699860721826553, 0.0028877248987555504, -0.009137941524386406, -0.008919334970414639, -0.004907621536403894, -0.09731985628604889, 0.10047232359647751, -0.03740096837282181, -0.012723702006042004, 0.027245577424764633, -0.019711609929800034, -0.03649577125906944, -0.006208492908626795, -0.08567222952842712, 0.025062380358576775, -0.05856950953602791, 0.028938820585608482, -0.06828240305185318, 0.05738091468811035, 0.05010661482810974, -0.05263132601976395, 0.09909806400537491, 0.06936085224151611, -0.06731005012989044, -0.020751379430294037, 0.00027550701634027064, 0.022399308159947395, 0.03318890929222107, -0.008530045859515667, 0.024210965260863304, 0.02734205313026905, -0.02110469900071621, 0.01842028647661209, -0.022400489076972008, 0.0003234606992918998, -0.035699911415576935, -0.3358786106109619, -0.016033276915550232, -0.024419745430350304, -0.022404706105589867, 0.01657313108444214, -0.03132609650492668, 0.023939473554491997, -0.01678689382970333, -0.033135008066892624, 0.007993956096470356, 0.0509723462164402, -0.033822618424892426, 0.007528035901486874, -0.1010429635643959, -0.012233760207891464, 0.01784549281001091, -0.011732293292880058, -0.026198141276836395, -0.05923784524202347, 0.00812966376543045, -0.0021693233866244555, 0.009729528799653053, -0.01791234500706196, -0.0896235778927803, -0.011729744262993336, -0.042340829968452454, 0.08424870669841766, 0.003858218202367425, 0.0957585796713829, -0.01050370279699564, 0.04488798975944519, -0.009157774969935417, 0.023386629298329353, -0.10278264433145523, 0.013186595402657986, -0.028402036055922508, 0.006331085693091154, -0.03314594924449921, 0.03223106637597084, -0.04982111603021622, -0.02493155188858509, 0.013182828202843666, -0.057153984904289246, -0.022917650640010834, -0.09209243208169937, 0.00780494324862957, -0.03879770636558533, -0.040713898837566376, -0.025897681713104248, 0.051226548850536346, 0.02422419749200344, 0.026081690564751625, 0.004258025903254747, 0.012368712574243546, -0.043873902410268784, -0.033165231347084045, -0.10435771197080612, 0.01404375210404396, -0.008349697105586529, 0.023638125509023666, 0.012889317236840725, 0.05310986191034317, 0.028263816609978676, -0.06435848027467728, -0.00597724225372076, 0.0007121326634660363, 0.01787436567246914, -0.005114417523145676, 0.05431126058101654, -0.021287929266691208, 0.0004171851905994117, 0.08390145003795624, 0.006354197394102812, -0.0412764847278595, 0.016399461776018143, 0.035016681998968124, -0.0062348851934075356, 0.03480541333556175, 0.03290536254644394, -0.015464253723621368, 0.0015608754474669695, -0.015578869730234146, 0.028793049976229668, -0.018822448328137398, -0.0006169438129290938, 0.007401508279144764, -0.01559486798942089, -0.05148834362626076, 0.057094134390354156, 0.032441847026348114, -0.03140070661902428, 0.03839021176099777, -0.029912887141108513, -0.038724686950445175, 0.06830061227083206, 0.010387158021330833, -0.23588605225086212, 0.027084389701485634, 0.0629274919629097, 0.06701447814702988, -0.012521380558609962, 0.057705413550138474, 0.05981205776333809, -0.07766107469797134, 0.012407366186380386, -0.010463460348546505, 0.020261919125914574, 0.023357758298516273, -0.0025951596908271313, 0.01133643090724945, 0.03787488117814064, -0.017759200185537338, 0.05998962000012398, 0.008205726742744446, 0.033140260726213455, -0.01862594485282898, -0.00013451497943606228, 0.03679339215159416, 0.15086562931537628, -0.003922070376574993, 0.04445269703865051, -0.023289982229471207, 0.006712932605296373, -0.028961919248104095, 0.0585365854203701, 0.013624373823404312, 0.012498771771788597, -0.003035615896806121, 0.03281772509217262, -0.006696220487356186, 0.027362748980522156, -0.06043437868356705, -0.0576508529484272, 0.013534225523471832, 0.02508319355547428, -0.02519390918314457, 0.023607168346643448, -0.029576867818832397, -0.021984288468956947, 0.04740644991397858, 0.04098855331540108, 0.0135838957503438, -0.011001195758581161, -0.03975396975874901, -0.05780933424830437, -0.0016284123994410038, -0.023734280839562416, -0.027613723650574684, -0.0013538756174966693, -0.008378634229302406, 0.011975149624049664, 0.0643191933631897, 0.04269929230213165, -0.010209783911705017, -0.014538715593516827, -0.00930863805115223, -0.01698838546872139, -0.010563353076577187, 0.1129804477095604, 0.06668303906917572, 0.03863798826932907 ]
[ -0.033778730779886246, -0.014589822851121426, -0.0027316196355968714, -0.011266477406024933, -0.03909044712781906, -0.0022556588519364595, 0.007597328629344702, 0.0266913790255785, -0.02064828760921955, -0.010224704630672932, -0.03164991736412048, 0.0253534484654665, -0.0029968670569360256, 0.018136104568839073, 0.03885467350482941, -0.007525264751166105, 0.01762956939637661, -0.020311517640948296, 0.019445789977908134, 0.010675863362848759, 0.0056052240543067455, 0.00933799147605896, -0.027913708239793777, -0.04378890618681908, -0.00985073484480381, 0.04112689569592476, 0.009119274094700813, -0.011279994621872902, 0.02769644558429718, -0.14636383950710297, -0.0297629926353693, -0.02111259289085865, -0.011474952101707458, 0.028809264302253723, 0.01458042860031128, -0.0047315917909145355, -0.006865970324724913, 0.023011963814496994, 0.002922835759818554, -0.016314752399921417, -0.019534001126885414, 0.0014465763233602047, -0.00533315958455205, 0.01846645586192608, 0.009283715859055519, 0.019401611760258675, 0.002474444219842553, -0.03143969923257828, -0.004355499055236578, -0.041825246065855026, -0.045069046318531036, -0.014670046977698803, -0.019092215225100517, 0.009777268394827843, 0.03457066789269447, 0.014676850289106369, 0.03663962706923485, -0.020460069179534912, -0.0023403570521622896, -0.04784226790070534, -0.03665350377559662, 0.007056147325783968, -0.0742603987455368, -0.02643445134162903, -0.007227218709886074, -0.024561632424592972, -0.02284340001642704, 0.013436524197459221, -0.02784629538655281, 0.011232704855501652, -0.021301835775375366, 0.024159187451004982, -0.01633593626320362, -0.018120992928743362, 0.051000263541936874, -0.02309197373688221, -0.005920008290559053, -0.025773974135518074, 0.000029349332180572674, -0.030532658100128174, -0.046748436987400055, 0.038535259664058685, 0.024663660675287247, -0.014137950725853443, -0.014693278819322586, -0.04042307287454605, 0.02259017713367939, -0.011982368305325508, 0.028906695544719696, 0.008326546289026737, 0.0008935009827837348, 0.01585325226187706, -0.010508302599191666, 0.016920436173677444, -0.09108854830265045, -0.007512107025831938, -0.00942401122301817, -0.013339480385184288, -0.014892296865582466, 0.8645417094230652, -0.0032402488868683577, 0.014271601103246212, 0.01281103678047657, 0.0007742511807009578, 0.01757650263607502, -0.00805236492305994, 0.00877654179930687, 0.011979457922279835, 0.01592831499874592, -0.03333793953061104, -0.012517057359218597, 0.019982725381851196, 0.025204896926879883, 0.0056709968484938145, 0.016225825995206833, 0.01588541455566883, 0.001704843482002616, 0.006469349842518568, -0.0010091062868013978, 0.010943551547825336, -0.0011099281255155802, 0.021900424733757973, 0.007069890853017569, 0.026958301663398743, -0.005282768979668617, -0.18952493369579315, -0.01945524476468563, -8.884839603523885e-33, 0.03605307266116142, 0.004977077711373568, 0.02371198870241642, 0.0041147684678435326, -0.01544884406030178, -0.013192716054618359, 0.03570939227938652, 0.039852458983659744, 0.015539568848907948, -0.0177583247423172, 0.000951649562921375, -0.0181199312210083, -0.01870049349963665, -0.003804681124165654, 0.034078340977430344, -0.009594766423106194, -0.002355884062126279, 0.03117058239877224, -0.0009287534630857408, 0.054679933935403824, 0.01446212362498045, 0.021873217076063156, 0.01122771855443716, 0.002120753051713109, -0.001471267780289054, 0.031198401004076004, 0.0053213112987577915, 0.029939914122223854, -0.02009957656264305, -0.03156426176428795, -0.018601370975375175, 0.018019549548625946, -0.00935932993888855, -0.03446685150265694, -0.0123105114325881, -0.02596600539982319, -0.014749943278729916, 0.008822920732200146, 0.006550994701683521, -0.05688149854540825, -0.024548698216676712, -0.016394563019275665, -0.040649041533470154, 0.021186016499996185, 0.0007556391647085547, 0.00966978631913662, 0.018948664888739586, 0.04079622030258179, 0.011633406393229961, 0.007577621378004551, 0.0024799464736133814, 0.019064443185925484, 0.006048757582902908, 0.011244128458201885, -0.015826480463147163, 0.009550274349749088, -0.007526224013417959, 0.02190084010362625, 0.011196495033800602, 0.017974307760596275, 0.029958490282297134, 0.023867687210440636, -0.02567577362060547, 0.03517311438918114, -0.023188328370451927, -0.007919267751276493, 0.016050854697823524, 0.02001153863966465, 0.020577872171998024, -0.023471837863326073, -0.07267876714468002, -0.005866675172001123, -0.005463864654302597, -0.01783272996544838, -0.010601942427456379, -0.03174761310219765, 0.010423373430967331, 0.025279080495238304, -0.0024134975392371416, 0.013432532548904419, 0.02018415927886963, 0.02553601749241352, -0.007222395855933428, -0.05767512321472168, -0.029929952695965767, -0.001030464074574411, 0.054293785244226456, -0.01766110211610794, -0.03177081421017647, -0.008235285058617592, 0.008442841470241547, -0.03545902669429779, 0.0018858297262340784, 0.0037366929464042187, -0.007308413740247488, 8.01363886314324e-33, 0.019999340176582336, -0.05370653048157692, -0.018065109848976135, -0.0015668749110773206, 0.0419282503426075, -0.029262661933898926, 0.01108678337186575, 0.0189780592918396, -0.030060900375247, 0.021323006600141525, -0.012013884261250496, 0.008020901121199131, -0.013956510461866856, 0.007421993650496006, -0.012101319618523121, -0.0019449356477707624, -0.017175929620862007, -0.01931854896247387, 0.023414185270667076, 0.005213532131165266, 0.012815697118639946, 0.011378786526620388, -0.006723927799612284, 0.020452065393328667, -0.0127005809918046, 0.04436047375202179, -0.023786405101418495, 0.020823610946536064, -0.012754240073263645, 0.022938653826713562, 0.027410229668021202, 0.0036348989233374596, 0.02476048655807972, 0.008130011148750782, -0.0343950055539608, 0.0012635734165087342, -0.02338286116719246, -0.014716065488755703, -0.010740669444203377, 0.020595384761691093, 0.01805047318339348, 0.0027337532956153154, 0.005239215213805437, 0.0127646429464221, 0.00392666831612587, -0.0022644896525889635, -0.0024379331152886152, -0.016583727672696114, -0.012035127729177475, 0.010602856986224651, -0.0024819732643663883, -0.0015327517176046968, 0.04203929379582405, 0.006494626868516207, 0.0010226662270724773, -0.0011444063857197762, -0.021839603781700134, -0.0008877659565769136, 0.006573745980858803, 0.03545881807804108, 0.0007634900393895805, 0.028351614251732826, -0.004942408762872219, 0.011352934874594212, -0.002318056533113122, -0.015587614849209785, -0.01664053089916706, -0.01274332869797945, 0.009511439129710197, 0.010454036295413971, -0.05428698658943176, 0.02361103892326355, 0.0014976104721426964, 0.017858119681477547, -0.002804733579978347, -0.016232093796133995, -0.03326944634318352, 0.012595727108418941, -0.049456290900707245, 0.02884921245276928, -0.0049140555784106255, -0.03128599375486374, 0.00007015692244749516, 0.02240845188498497, 0.007089016027748585, 0.00980711355805397, 0.015162898227572441, -0.004678304307162762, -0.013646162115037441, -0.0065268161706626415, -0.012569041922688484, -0.02815832942724228, 0.02987988293170929, -0.0038842728827148676, -0.02110813744366169, -1.4036864115496428e-8, -0.004722993355244398, 0.013043309561908245, 0.0008251855033449829, 0.0100548779591918, 0.017232632264494896, 0.002070276066660881, -0.008243533782660961, -0.0011983716394752264, -0.039081037044525146, 0.029316209256649017, 0.03819526731967926, -0.02945905365049839, 0.012138428166508675, -0.0036671534180641174, 0.03812885284423828, -0.029625622555613518, 0.0033076093532145023, 0.0030185377690941095, 0.028167719021439552, -0.011818327009677887, 0.05885661393404007, 0.03151973709464073, 0.003217102726921439, 0.021406149491667747, 0.026455529034137726, -0.0015835512895137072, -0.005257780663669109, -0.07671782374382019, -0.034479301422834396, 0.0287245474755764, 0.0026994512882083654, -0.03515942767262459, -0.0008303963695652783, 0.03035292774438858, 0.007640954572707415, -0.02733585424721241, 0.030978139489889145, -0.00011723196075763553, 0.002986293286085129, -0.003530179848894477, -0.02653520181775093, -0.00026389650884084404, -0.009219683706760406, -0.019144993275403976, -0.01487354189157486, 0.021967995911836624, -0.025265701115131378, -0.006148678716272116, 0.020929014310240746, 0.009066812694072723, 0.01053732167929411, 0.015313608571887016, -0.005719630513340235, -0.009053089655935764, 0.026280954480171204, 0.022186150774359703, -0.021854834631085396, -0.005075738299638033, -0.02842883951961994, -0.004704918246716261, 0.019477324560284615, 0.0269177109003067, -0.01489128079265356, -0.010581706650555134 ]
ferengi-programmer-and-the-dreyfus-model
https://markhneedham.com/blog/2009/02/13/ferengi-programmer-and-the-dreyfus-model
false
2009-02-14 01:32:10
Coding: Assertions in constructors
[ "coding" ]
[ "Coding" ]
While browsing through the http://www.codeplex.com/aspnet[ASP.NET MVC source] I noticed that they use an interesting pattern on the constructors to ensure that an exception will be thrown if an object is not instantiated correctly. [source,csharp] ---- public ControllerContext(HttpContextBase httpContext, RouteData routeData, ControllerBase controller) : base(httpContext, routeData) { if (controller == null) { throw new ArgumentNullException("controller"); } Controller = controller; } ---- If you pass in a null Controller you shall go no further! We have discussed the merits of putting assertions in constructors several times in our http://domaindrivendesign.org[Domain Driven Design] book club but without ever really coming to a conclusion with respect to whether or not it is a good pattern. Spring is an example of a framework which does internal assertions on the values being passed to its objects and will throw assertions appropriately. There is even a custom http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/util/Assert.html[Assert] class to do so. The benefit of this approach is that our *code will fail early* if there is a problem. The disadvantage is that we may end up putting *Asserts all over our code* to cater for every place where the input could be invalid. If we were to use the Spring Assert class we would then have a coupling to that in our production code. The approach I am more familiar with is that we would *validate any input from the UI or from systems that we don't have control over*, but apart from these boundary cases we would assume that our classes are http://docs.codehaus.org/display/PICO/Good+Citizen[good citizens] and will call each other with valid data. My understanding of the implicit contract of a constructor is that we should never be passing null values into them. If we are contemplating doing so then we are probably doing something wrong and either need to reconsider or create a new constructor and then default the value for the extra parameters in other constructors. In a way I suppose this is a limitation of the Java/C# type system that you can't prevent null values being passed into a constructor or that you can even have a null value in the first place.
null
null
[ -0.010548868216574192, -0.030779289081692696, -0.014299844391644001, 0.055871687829494476, 0.05331034958362579, -0.022507639601826668, 0.0353124774992466, 0.029862776398658752, 0.003733838675543666, -0.019175928086042404, -0.007031342945992947, -0.021421439945697784, -0.08048328757286072, 0.012741804122924805, -0.05103325471282005, 0.05938081815838814, 0.05331328883767128, -0.01224514003843069, 0.04521846026182175, -0.04158400371670723, 0.0015104837948456407, 0.024276472628116608, 0.0024697184562683105, 0.036200150847435, 0.0777432844042778, 0.03169643506407738, 0.01647532358765602, 0.014721379615366459, -0.06688161194324493, -0.013199633918702602, 0.04513552039861679, 0.02751270681619644, -0.013742738403379917, -0.007390669081360102, 0.0019433220149949193, -0.01962864026427269, 0.004699812736362219, 0.010916550643742085, -0.00840515922755003, 0.003662670962512493, -0.07047682255506516, 0.021304961293935776, -0.015638120472431183, 0.01778341829776764, -0.0317528136074543, -0.014111795462667942, -0.027803553268313408, 0.013369705528020859, -0.019002409651875496, 0.0036559992004185915, -0.08675412088632584, 0.06531631201505661, -0.041387345641851425, 0.023449715226888657, -0.011672716587781906, 0.04716390371322632, -0.00025058072060346603, -0.08198096603155136, 0.0277384165674448, -0.07583246380090714, 0.007358092814683914, 0.01722043752670288, 0.013904311694204807, 0.009648656472563744, 0.014070084318518639, 0.002441257005557418, -0.01756710559129715, 0.044157974421978, -0.04623647779226303, -0.005744858644902706, 0.0031101841013878584, -0.0006831659120507538, -0.018651118502020836, 0.00624161958694458, 0.03655606508255005, -0.055466655641794205, -0.02694694511592388, 0.03419988602399826, 0.017630433663725853, 0.045641522854566574, 0.004767870530486107, -0.022409211844205856, 0.04377250745892525, 0.013541245833039284, 0.02220774255692959, -0.02389642223715782, -0.02873380482196808, 0.012983785942196846, -0.017673421651124954, 0.04765843600034714, 0.03787072375416756, -0.024160590022802353, 0.015246568247675896, 0.037400804460048676, 0.014646947383880615, -0.017620794475078583, 0.014704810455441475, -0.004280982539057732, 0.006562175694853067, 0.005162723362445831, -0.021072592586278915, 0.0007327001076191664, 0.0195095743983984, 0.018147755414247513, -0.04735225811600685, -0.011542287655174732, -0.04557199776172638, -0.025929627940058708, -0.010520455427467823, 0.029836799949407578, -0.06306328624486923, 0.006916595622897148, -0.014593434520065784, -0.017731139436364174, -0.05247465521097183, 0.0638018250465393, 0.012178102508187294, 0.0008675182471051812, 0.005616160109639168, 0.04574578255414963, 0.025119444355368614, -0.014156460762023926, 0.001109078642912209, 0.06008739024400711, -0.007654322311282158, 0.03767554461956024, -0.04737527668476105, 0.056909359991550446, -0.029939213767647743, -0.07374266535043716, 0.009678320027887821, 0.03429148346185684, -0.0050129336304962635, 0.019297616556286812, 0.0054838149808347225, -0.034712739288806915, -0.008966155350208282, -0.013373464345932007, 0.02409469708800316, 0.047467514872550964, -0.05522577092051506, -0.053215041756629944, 0.012482109479606152, -0.0020143557339906693, 0.020588696002960205, 0.008595901541411877, 0.0013856802834197879, -0.037636078894138336, 0.004533939063549042, 0.00915138702839613, 0.020528610795736313, 0.04072006046772003, 0.04333002120256424, -0.03386341780424118, -0.01788446120917797, 0.0597100667655468, 0.026571720838546753, 0.03391566500067711, 0.011858124285936356, 0.03561487793922424, 0.04971448332071304, 0.021661102771759033, -0.002603511791676283, 0.03158366307616234, 0.032607417553663254, 0.006198222748935223, -0.02027176320552826, 0.022398030385375023, -0.0015865105669945478, -0.002286317991092801, -0.06744202971458435, -0.07475452870130539, 0.03602282702922821, -0.0631808191537857, -0.013980656862258911, 0.017187997698783875, 0.05243115499615669, 0.00007980467489687726, 0.0776449516415596, 0.013816457241773605, -0.06235840916633606, 0.01861327514052391, -0.0035377054009586573, 0.00004318408537073992, 0.012943834997713566, 0.0032412875443696976, 0.06310104578733444, 0.021154196932911873, -0.015656210482120514, 0.03562666475772858, -0.06380902230739594, -0.06691209971904755, -0.01961486227810383, -0.014208328910171986, 0.0568525567650795, -0.030247360467910767, -0.003838770091533661, 0.0991513580083847, 0.012415998615324497, 0.04578612744808197, 0.033866800367832184, 0.005106001161038876, 0.006291306111961603, -0.029583865776658058, -0.02807031199336052, 0.03872230276465416, 0.04854290187358856, 0.006505608092993498, -0.04372801259160042, -0.006915030535310507, -0.021334655582904816, 0.005335563328117132, 0.0357423797249794, -0.013626077212393284, 0.03317437320947647, -0.021427739411592484, 0.041925299912691116, -0.03335946053266525, 0.07474453002214432, -0.08206795901060104, 0.029902830719947815, -0.0022254299838095903, -0.017610419541597366, 0.00608064653351903, -0.008758088573813438, 0.11487484723329544, 0.04560496285557747, -0.0196033027023077, -0.04205479472875595, 0.03547206148505211, 0.00036000512773171067, -0.042489517480134964, 0.000446805584942922, 0.006507410202175379, 0.0010924007510766387, 0.03116537444293499, -0.02111201360821724, 0.010625137016177177, 0.029325537383556366, -0.007675810717046261, 0.05064636468887329, 0.09070543944835663, -0.044873520731925964, 0.03749457001686096, -0.01384986937046051, -0.039910927414894104, 0.016357431188225746, -0.016057264059782028, -0.06006577983498573, 0.012620500288903713, 0.012802108190953732, -0.01636984758079052, 0.05372447520494461, -0.04279148206114769, -0.039795879274606705, -0.022035732865333557, -0.04877185449004173, 0.006817146670073271, 0.017268691211938858, 0.06871704012155533, -0.012998578138649464, 0.04283604398369789, -0.022959329187870026, 0.01718548685312271, -0.00020531617337837815, -0.051118213683366776, -0.0012397188693284988, 0.022916125133633614, 0.011358720250427723, 0.05055806413292885, 0.00404151389375329, 0.011150381527841091, 0.03604528680443764, 0.009052197448909283, -0.01849694363772869, -0.005115464795380831, 0.012390312738716602, -0.007297735195606947, -0.00543563487008214, -0.01564548909664154, -0.05711758881807327, 0.035539235919713974, -0.025372248142957687, -0.03625446930527687, 0.030620699748396873, -0.08534668385982513, 0.03671594709157944, -0.05684347450733185, -0.08931731432676315, 0.0183696486055851, 0.05269286781549454, 0.03211149200797081, -0.007553319446742535, 0.028572626411914825, 0.09485097974538803, 0.022540418431162834, 0.0026956323999911547, 0.01216103509068489, 0.015620052814483643, 0.012104998342692852, -0.010812622494995594, 0.0150076849386096, 0.03377918899059296, -0.00044136703945696354, 0.011290437541902065, -0.025743242353200912, 0.03511424362659454, 0.008103953674435616, -0.264454185962677, 0.0298922099173069, 0.005673679057508707, -0.0493784137070179, 0.029894789680838585, -0.0092000812292099, 0.03687682002782822, -0.050643183290958405, -0.04379149526357651, 0.06823229044675827, -0.030961913987994194, -0.05069269239902496, -0.012917700223624706, 0.037783194333314896, -0.0335974246263504, 0.004688586108386517, -0.0002343984815524891, -0.027287885546684265, 0.00483550364151597, 0.03199142590165138, -0.039569467306137085, -0.06692226231098175, 0.011378209106624126, 0.049651823937892914, 0.03133901581168175, 0.05383836850523949, -0.08074100315570831, 0.057361993938684464, -0.04459583759307861, 0.0014421942178159952, 0.026558540761470795, -0.005223435815423727, 0.0028688807506114244, -0.05843345820903778, -0.018740924075245857, -0.015849273651838303, -0.01517745666205883, 0.04502608999609947, -0.021946009248495102, 0.017393965274095535, -0.039944540709257126, -0.07940808683633804, -0.013429954648017883, 0.0003295069036539644, 0.04134426265954971, -0.03675225004553795, -0.07377573102712631, -0.0014946946175768971, -0.03499600291252136, 0.06135953217744827, -0.054518770426511765, -0.013299823738634586, 0.017826048657298088, 0.024943584576249123, -0.03991837054491043, -0.021068843081593513, 0.008862517774105072, -0.0012555664870887995, -0.04916495084762573, -0.02149360254406929, -0.01735205017030239, -0.04046769440174103, -0.01703043282032013, -0.05032802000641823, -0.018929498270154, -0.06250558793544769, -0.05080922320485115, -0.005994819570332766, 0.06297532469034195, 0.030846478417515755, -0.01119396835565567, 0.04037892445921898, 0.005621433258056641, -0.13224148750305176, 0.017539286985993385, -0.04461580887436867, -0.03529926761984825, -0.03558054193854332, -0.02091558836400509, 0.04025014117360115, -0.009231491014361382, -0.03442572429776192, 0.029259338974952698, 0.02066301926970482, 0.013094182126224041, 0.0016763829626142979, 0.04278993606567383, -0.021364234387874603, -0.004850298631936312, 0.02376464754343033, 0.058168619871139526, -0.0004913299926556647, 0.0009229117422364652, -0.05245479568839073, -0.011429756879806519, 0.017612045630812645, 0.030414531007409096, -0.019840238615870476, 0.006070801522582769, 0.0074309976771473885, 0.02321060374379158, -0.05418538302183151, 0.02885071560740471, -0.024875739589333534, 0.002995385555550456, -0.034173380583524704, -0.04484201967716217, 0.06915812194347382, 0.028127696365118027, 0.00600108178332448, 0.005705835297703743, -0.02978006936609745, -0.005249151028692722, -0.06446520984172821, -0.04972551017999649, -0.03408661112189293, -0.02573072537779808, 0.016843263059854507, -0.012443038634955883, -0.028889870271086693, -0.04265324026346207, 0.009518022648990154, 0.015306874178349972, 0.0029996070079505444, -0.05107468366622925, -0.029759544879198074, 0.01614595577120781, -0.02352921850979328, 0.006043493747711182, -0.002217298373579979, -0.005954023916274309, 0.04172645881772041, -0.00023067242000252008, -0.02342178300023079, -0.008946286514401436, -0.014347990043461323, -0.015805527567863464, -0.027876095846295357, -0.03507586196064949, -0.019752075895667076, -0.0020737654995173216, 0.014787836000323296, 0.000969434273429215, 0.02244793064892292, 0.035100847482681274, 0.002020847052335739, 0.03321579098701477, 0.032495371997356415, -0.0010358147555962205, 0.014273974113166332, 0.06054927036166191, -0.08696255087852478, 0.04804467409849167, -0.02270841971039772, -0.044019896537065506, -0.027074771001935005, 0.02874252200126648, -0.022191016003489494, -0.028447289019823074, -0.04237806051969528, 0.031806085258722305, -0.06213836744427681, -0.035768840461969376, -0.03724934160709381, 0.009504269808530807, 0.058462969958782196, -0.013683567754924297, 0.03965266793966293, -0.021410539746284485, -0.034999433904886246, 0.012293901294469833, -0.008041064254939556, -0.03822507709264755, 0.0453430712223053, -0.038733579218387604, -0.013303608633577824, -0.019792035222053528, 0.01779891736805439, 0.040631748735904694, 0.01733287237584591, -0.0009434959501959383, 0.010568341240286827, 0.024898892268538475, 0.015221717767417431, 0.017825817689299583, -0.005368970334529877, -0.003403700655326247, -0.0007624726858921349, -0.024118971079587936, -0.01811995729804039, -0.029791172593832016, -0.03734806180000305, -0.012890857644379139, 0.035530708730220795, -0.03684905916452408, -0.05879267305135727, 0.0367627777159214, 0.021717842668294907, 0.027272451668977737, 0.0021748552098870277, -0.0012734958436340094, 0.01714584417641163, -0.026331398636102676, 0.03535500168800354, 0.04021316021680832, -0.043474942445755005, 0.011412912048399448, 0.003794667311012745, 0.004517808090895414, 0.0356317013502121, -0.0012558660237118602, -0.039521362632513046, -0.0030542670283466578, -0.03505824878811836, -0.00817817635834217, -0.05644971877336502, -0.026725223287940025, -0.04820195212960243, 0.015033755451440811, 0.02746475115418434, -0.032068733125925064, -0.0011839731596410275, -0.014591533690690994, -0.014844325371086597, -0.031166858971118927, 0.007007789332419634, -0.0248233862221241, 0.008417855948209763, 0.03797075152397156, -0.04238221049308777, 0.017596274614334106, -0.008488420397043228, 0.024008994922041893, 0.006049714516848326, -0.020307529717683792, -0.022144831717014313, -0.04602077230811119, 0.023159697651863098, -0.0016020789043977857, 0.0627029612660408, 0.019570671021938324, -0.02042287215590477, -0.021704761311411858, -0.000452518870588392, 0.008630787953734398, 0.04484889283776283, -0.007291189394891262, -0.01091827917844057, 0.026488155126571655, 0.07268521934747696, 0.03754615783691406, 0.054774317890405655, 0.001799029647372663, 0.006203925237059593, 0.06702664494514465, -0.07160072028636932, -0.018701549619436264, -0.014968741685152054, -0.059893060475587845, 0.018012497574090958, 0.022062232717871666, 0.04651964083313942, -0.03660121187567711, 0.04820466786623001, 0.02667824737727642, 0.0153118297457695, 0.03779813274741173, 0.0068156905472278595, 0.055649470537900925, -0.04929333180189133, 0.0013149267761036754, -0.08689489960670471, 0.036293964833021164, 0.046371325850486755, 0.01517446618527174, -0.006896424572914839, -0.03676808625459671, -0.028444796800613403, 0.022451527416706085, -0.061489515006542206, -0.03600415587425232, 0.010945258662104607, 0.019412869587540627, -0.02842124179005623, -0.0011444285046309233, -0.02904011867940426, 0.030433906242251396, 0.041910696774721146, -0.044600218534469604, -0.023882899433374405, -0.045416757464408875, 0.041868288069963455, 0.028591960668563843, -0.006860213354229927, -0.049511056393384933, 0.016160259023308754, 0.06005696579813957, 0.01937045529484749, 0.04172853007912636, 0.0406423956155777, -0.05066130682826042, 0.03725333884358406, 0.04584639146924019, -0.012928390875458717, -0.018790392205119133, -0.012168529443442822, 0.02032383531332016, -0.07933653891086578, 0.036765601485967636, 0.0033686631359159946, -0.04082867503166199, -0.07087433338165283, 0.048561543226242065, 0.0034988175611943007, -0.02310655638575554, -0.0408175028860569, -0.025340232998132706, -0.019727496430277824, -0.059274740517139435, -0.0024369361344724894, 0.018094399943947792, -0.02112497389316559, 0.07179205864667892, 0.009052921086549759, 0.012154822237789631, 0.07761356979608536, 0.014462348073720932, -0.028905654326081276, -0.020724590867757797, 0.08851772546768188, 0.08944541215896606, 0.01946842670440674, 0.006541388109326363, 0.06858683377504349, -0.008214359171688557, -0.06284572184085846, 0.03689638525247574, -0.028394993394613266, -0.0054917605593800545, -0.0187993161380291, -0.0016532015288248658, 0.05175352469086647, 0.006417842116206884, 0.04673256352543831, -0.03546599671244621, -0.00024899939307942986, 0.00918468739837408, 0.048480208963155746, 0.04226011782884598, 0.031116273254156113, 0.005910411011427641, 0.025639764964580536, 0.008280676789581776, -0.032269418239593506, 0.02121194265782833, -0.00027473183581605554, -0.01812996342778206, 0.0025923612993210554, -0.011212010867893696, 0.004631573334336281, 0.020095881074666977, 0.028156839311122894, 0.07939743995666504, -0.02126559615135193, -0.00434897979721427, 0.018614977598190308, -0.007373183500021696, 0.030969537794589996, -0.03233054280281067, 0.00039844796992838383, -0.026442190632224083, 0.0038196814712136984, -0.014330985955893993, -0.006623795721679926, -0.010882426984608173, -0.038767680525779724, 0.03793666884303093, 0.00011188257485628128, 0.012935864739120007, -0.0004187319427728653, -0.003287356812506914, -0.005785804707556963, -0.06096351891756058, -0.04636243358254433, -0.018447713926434517, -0.06203898787498474, -0.03568727523088455, 0.01026985701173544, -0.025101209059357643, -0.021600034087896347, -0.060354724526405334, 0.003460123436525464, -0.006274414248764515, 0.04196728765964508, -0.011699972674250603, -0.027827885001897812, 0.042585570365190506, 0.022429442033171654, 0.04771183431148529, 0.04086705669760704, 0.019560810178518295, -0.011285219341516495, -0.0073583899065852165, -0.06467929482460022, -0.013932237401604652, 0.04732911288738251, -0.007839800789952278, 0.027885088697075844, -0.07195115834474564, 0.015566235408186913, 0.01502600684762001, 0.007449878379702568, -0.06747597455978394, 0.021632041782140732, -0.0033688691910356283, -0.01912538893520832, 0.04176780581474304, -0.03380521014332771, -0.014094233512878418, -0.018506400287151337, -0.008518058806657791, 0.0067946044728159904, 0.025442415848374367, 0.033464692533016205, -0.021213889122009277, 0.053632717579603195, 0.03896639496088028, -0.02092062681913376, -0.020115314051508904, 0.019131476059556007, -0.0019594889599829912, 0.029041452333331108, -0.020253781229257584, -0.03697822242975235, -0.02493107132613659, -0.044641491025686264, -0.015884922817349434, 0.022877871990203857, -0.03454124927520752, -0.03829168528318405, 0.014464727602899075, 0.012281360104680061, -0.08169766515493393, 0.013995476998388767, -0.02373569644987583, 0.05485903471708298, -0.017190955579280853, -0.015174377709627151, 0.013467788696289062, 0.019938476383686066, -0.018774881958961487, 0.01457448024302721, 0.04154149815440178, -0.04322085157036781, -0.030814968049526215, -0.02833353728055954, 0.02995738573372364, 0.050477512180805206, -0.032820623368024826, 0.02623800002038479 ]
[ -0.09931836277246475, -0.014232244342565536, -0.044022087007761, -0.022825002670288086, 0.016679324209690094, -0.022979969158768654, 0.06305044144392014, 0.020103439688682556, -0.00826861709356308, -0.04902549460530281, -0.018749063834547997, -0.018102388828992844, 0.011101813986897469, 0.07989856600761414, 0.058591462671756744, 0.023295076563954353, -0.06498143821954727, -0.008659053593873978, 0.03543919697403908, 0.036206744611263275, 0.05806749314069748, -0.007479165680706501, 0.002493928885087371, -0.007621122524142265, 0.032638031989336014, 0.03979231417179108, 0.03310408070683479, -0.04550059512257576, -0.00478900084272027, -0.20174717903137207, -0.06527765840291977, -0.08148068189620972, -0.022366274148225784, -0.012073507532477379, -0.04439348354935646, 0.009999399073421955, 0.029365407302975655, -0.0011047391453757882, 0.023602653294801712, 0.04556966572999954, -0.014420055784285069, 0.04828958585858345, -0.017900168895721436, 0.0015257790219038725, 0.006445925682783127, -0.019440850242972374, -0.005880989599972963, -0.03026764839887619, -0.001744018867611885, -0.018378620967268944, -0.031581152230501175, -0.03430715575814247, 0.009539551101624966, -0.016796430572867393, -0.007811007555574179, 0.005824743770062923, 0.03785579279065132, 0.06851835548877716, 0.010333918035030365, 0.028180403634905815, 0.014370725490152836, -0.029520796611905098, -0.11145994812250137, 0.058228977024555206, 0.054592423141002655, 0.07281862944364548, 0.025004355236887932, -0.024319710209965706, -0.01852230727672577, 0.05696108192205429, 0.04102996364235878, -0.007520494982600212, 0.004678579047322273, 0.07227085530757904, 0.05203050747513771, -0.01873762160539627, 0.01233822014182806, 0.041451167315244675, 0.08286847919225693, -0.007936590351164341, -0.03261438384652138, -0.06018172577023506, 0.03517048805952072, 0.007209176663309336, 0.010204215534031391, 0.01524024922400713, 0.022270338609814644, -0.019977763295173645, 0.025862032547593117, 0.03283153101801872, 0.013008302077651024, -0.023728573694825172, 0.014272338710725307, 0.018523626029491425, -0.06635869294404984, -0.0006284310366027057, -0.07191119343042374, -0.022280165925621986, -0.04086100682616234, 0.3742220997810364, -0.038331884890794754, -0.026575451716780663, -0.02276195026934147, 0.027371544390916824, -0.04685395583510399, 0.033749617636203766, 0.01907798834145069, -0.03399491310119629, -0.008360911160707474, -0.005422843620181084, -0.026046160608530045, -0.011446436867117882, -0.04283641278743744, -0.03463789075613022, -0.04100743681192398, 0.02040150761604309, 0.03757331520318985, -0.01429728139191866, -0.016353024169802666, 0.022118136286735535, -0.02442053332924843, -0.0031159259378910065, 0.007465141359716654, 0.05814553052186966, -0.014382043853402138, -0.07537006586790085, 0.006132443435490131, 0.050918903201818466, 0.05344642698764801, 0.005400318186730146, 0.02886662632226944, -0.0097039844840765, -0.0764746144413948, 0.009750362485647202, 0.028247831389307976, -0.014560768380761147, 0.02327062375843525, 0.041542235761880875, -0.025523275136947632, 0.014047970995306969, -0.021835248917341232, -0.0356920100748539, 0.0060869501903653145, -0.02920122630894184, -0.10154199600219727, 0.0580751970410347, -0.025876639410853386, 0.00044156084186397493, -0.01864677667617798, -0.019112594425678253, 0.022978467866778374, 0.05017286166548729, -0.003855583257973194, -0.03429834917187691, -0.003934909589588642, 0.04089289531111717, 0.011459174565970898, 0.00020086833683308214, 0.007098137866705656, -0.03752632439136505, -0.049586668610572815, 0.03848806768655777, -0.0636962428689003, 0.06928940862417221, 0.046763744205236435, -0.08955712616443634, -0.041104018688201904, -0.03504272177815437, -0.0077729057520627975, -0.060408368706703186, -0.016840266063809395, 0.007223079446703196, -0.022834818810224533, -0.05883776769042015, 0.040510088205337524, 0.03585512563586235, -0.04323681816458702, -0.019482417032122612, 0.006398629397153854, 0.06231719255447388, 0.0343625470995903, 0.004433462396264076, -0.021156666800379753, 0.03862768039107323, 0.019560687243938446, -0.04537395015358925, -0.035333674401044846, 0.008303778246045113, 0.01351176854223013, -0.04235666245222092, -0.08145055919885635, -0.05923881754279137, -0.08702864497900009, 0.0811687782406807, -0.029208479449152946, -0.008496453985571861, 0.07276797294616699, -0.016123469918966293, 0.0024837679229676723, 0.0029207675252109766, 0.04479334503412247, 0.04311402514576912, 0.022777285426855087, 0.05623453110456467, -0.03413925692439079, 0.059131767600774765, 0.021019864827394485, -0.006399795413017273, 0.03665909543633461, 0.054383259266614914, -0.08382958173751831, 0.008956540375947952, -0.01694798655807972, 0.019278252497315407, -0.012047908268868923, -0.008302719332277775, 0.016530802473425865, 0.0673690140247345, 0.02074442058801651, 0.02975570037961006, -0.07721563428640366, 0.0050731683149933815, 0.04382309317588806, -0.32531291246414185, -0.025105154141783714, -0.014057832770049572, -0.04536605626344681, 0.028132019564509392, -0.048534195870161057, -0.01655704155564308, 0.01827818900346756, -0.02568221651017666, -0.040483828634023666, 0.07610221952199936, -0.0011058461386710405, 0.006584899500012398, -0.09139150381088257, -0.03426388278603554, 0.014487450011074543, -0.056066159158945084, -0.07842619717121124, -0.053305260837078094, -0.009002580307424068, -0.06869062781333923, -0.0006580126355402172, 0.03668223321437836, -0.07508228719234467, 0.015016322955489159, -0.010422165505588055, 0.09279115498065948, -0.02410726249217987, 0.09894338250160217, -0.05437545105814934, 0.023042576387524605, 0.01145666092634201, 0.02624811790883541, -0.049904536455869675, 0.02807335928082466, -0.04338281229138374, -0.07305160909891129, 0.015903623774647713, 0.04587578773498535, -0.004332880489528179, 0.017153870314359665, 0.009210288524627686, -0.032202910631895065, -0.0725635290145874, 0.01988840661942959, -0.025748204439878464, -0.010867026634514332, -0.005528735462576151, 0.010954752564430237, 0.06437862664461136, -0.01230844110250473, -0.00926230102777481, -0.013468983583152294, 0.05288250371813774, 0.0005112415528856218, -0.00630924804136157, -0.056781377643346786, 0.00217902148142457, 0.028174756094813347, 0.0385110042989254, 0.03253289684653282, 0.06506752222776413, 0.059867240488529205, -0.028338313102722168, 0.010888740420341492, 0.01983928307890892, 0.027895888313651085, 0.01005544699728489, 0.0139708137139678, -0.024617603048682213, -0.008744613267481327, 0.13441695272922516, -0.03480665013194084, -0.017093002796173096, 0.023869067430496216, 0.023046113550662994, -0.020050041377544403, -0.02539326809346676, 0.019030163064599037, 0.027716346085071564, -0.038711853325366974, -0.0002624013286549598, 0.022167570888996124, -0.016547292470932007, 0.015707846730947495, 0.05704016238451004, -0.025233132764697075, 0.008259186521172523, 0.03525624796748161, -0.05642827972769737, -0.018198451027274132, -0.027439463883638382, -0.03340175747871399, -0.011213766410946846, 0.027984360232949257, -0.01677181012928486, -0.2354896068572998, -0.029263420030474663, 0.0470535047352314, 0.03223177045583725, -0.018222713842988014, -0.0013065858511254191, 0.0697396844625473, -0.04010341316461563, -0.020314181223511696, -0.0015742519171908498, 0.05600203573703766, 0.020748313516378403, 0.04728488251566887, -0.0030737987253814936, 0.041932690888643265, 0.05104204639792442, 0.04482563957571983, 0.03452610224485397, 0.015011779963970184, -0.038200799375772476, -0.01189194805920124, 0.00953611545264721, 0.20092910528182983, -0.0001651434722589329, 0.035703811794519424, 0.05167423561215401, 0.04008873179554939, -0.0010046780807897449, 0.08681048452854156, 0.01879032887518406, 0.02384394407272339, -0.012981617823243141, 0.14842824637889862, -0.00723509956151247, 0.04255150258541107, -0.08642581105232239, -0.0037815351970493793, -0.025253016501665115, -0.026300901547074318, -0.042022258043289185, -0.06173701211810112, 0.017612099647521973, 0.006107740104198456, 0.03628287836909294, 0.0675983652472496, 0.0026489284355193377, -0.027616828680038452, -0.06664089858531952, -0.04696664586663246, -0.01392300520092249, -0.01447309274226427, -0.048144225031137466, 0.028683140873908997, -0.012679082341492176, 0.0033049110788851976, 0.04196153208613396, -0.018934216350317, -0.013867911882698536, -0.08334566652774811, -0.004060373175889254, 0.015044916421175003, 0.06733230501413345, 0.09688618034124374, 0.009470446966588497, 0.053865402936935425 ]
[ -0.008630807511508465, 0.009416413493454456, -0.030465232208371162, 0.006030657794326544, 0.0013080332428216934, 0.03289281576871872, 0.00018502293096389621, -0.008427382446825504, -0.0058190952986478806, 0.01975441724061966, 0.015227791853249073, 0.013583789579570293, 0.01987861655652523, -0.017444992437958717, 0.03492086008191109, 0.007682010997086763, 0.018141239881515503, -0.01368099544197321, 0.016314592212438583, 0.008877442218363285, -0.007096048444509506, 0.03452795371413231, -0.0033146380446851254, -0.016696099191904068, -0.03905859589576721, 0.026788704097270966, -0.006186241749674082, -0.01531448308378458, 0.018035903573036194, -0.13950389623641968, -0.02702762559056282, -0.014149025082588196, -0.023749900981783867, -0.0006369308684952557, -0.007430155295878649, 0.006411300972104073, 0.034399207681417465, 0.028999365866184235, 0.00977282039821148, -0.00657416507601738, -0.008200790733098984, 0.01495792344212532, 0.03490118309855461, 0.018475325778126717, -0.015675103291869164, -0.024559548124670982, -0.013941632583737373, -0.022780463099479675, 0.002622759435325861, -0.048572245985269547, 0.013269751332700253, 0.007420556619763374, 0.020138021558523178, -0.017053497955203056, 0.018456904217600822, -0.015598581172525883, -0.038014333695173264, -0.005754102487117052, 0.009908919222652912, -0.00366910919547081, -0.009927885606884956, -0.01631489023566246, -0.008556320331990719, -0.0355401374399662, 0.018962563946843147, -0.016903182491660118, 0.023640912026166916, -0.010940233245491982, 0.00431712344288826, -0.023727068677544594, -0.03204183652997017, -0.009621449746191502, -0.024449236690998077, 0.05738573521375656, 0.006635960191488266, -0.011740527115762234, 0.0044248029589653015, 0.027650387957692146, 0.060080476105213165, 0.008142603561282158, -0.01591259427368641, 0.007793504744768143, -0.0010262768482789397, 0.020190836861729622, 0.007515044417232275, -0.003401254303753376, 0.008480128832161427, 0.0009380037081427872, 0.020726129412651062, 0.0011956830276176333, -0.031924132257699966, -0.01045446377247572, -0.024730142205953598, 0.04113860800862312, -0.09256599843502045, -0.008833971805870533, -0.030258309096097946, -0.032332103699445724, -0.010484817437827587, 0.8302767872810364, 0.015430452302098274, 0.0013728204648941755, 0.021015973761677742, 0.04236137494444847, 0.02272881753742695, -0.016692139208316803, -0.01901874877512455, 0.04725094139575958, 0.039534784853458405, -0.027318349108099937, -0.005041438154876232, 0.010853809304535389, 0.005933014210313559, 0.023278918117284775, 0.01915435492992401, -0.01144698727875948, 0.01481220405548811, -0.028247319161891937, -0.005971564445644617, -0.0034166460391134024, -0.015208238735795021, -0.03589227795600891, 0.002767304889857769, -0.014728138223290443, 0.01646219938993454, -0.19205208122730255, 0.002192390151321888, -9.281264787763132e-33, 0.029995478689670563, 0.037468321621418, 0.013408084399998188, 0.004582593217492104, 0.03378250449895859, -0.0039123427122831345, 0.04394206032156944, 0.013349736109375954, 0.07410717755556107, -0.05004211887717247, -0.030759312212467194, -0.05944228172302246, -0.010159352794289589, -0.014595053158700466, 0.029018351808190346, -0.033938996493816376, -0.027815673500299454, -0.004016234539449215, 0.00949285551905632, 0.005311634391546249, 0.018265405669808388, 0.040351033210754395, 0.013264852575957775, -0.03945154324173927, 0.011940485797822475, 0.009206052869558334, -0.0046044266782701015, 0.013592020608484745, -0.011236174963414669, -0.04295682534575462, 0.07394574582576752, 0.003944871015846729, -0.007205447182059288, 0.023361966013908386, 0.028316732496023178, -0.02353345975279808, 0.029869666323065758, 0.009926646947860718, -0.008735842071473598, -0.00429235165938735, -0.07683175802230835, -0.018485302105545998, -0.04590461030602455, 0.04929269105195999, -0.02973903901875019, -0.0621485710144043, 0.0067087626084685326, 0.05031281337141991, 0.027659893035888672, -0.048128992319107056, -0.016932863742113113, 0.04184562340378761, 0.017851173877716064, 0.0008064535213634372, -0.03583111986517906, 0.028059013187885284, -0.029206864535808563, -0.006626204587519169, 0.01858721859753132, 0.002488803816959262, -0.01688326708972454, -0.03311263397336006, -0.03918351233005524, -0.005889084190130234, -0.009466842748224735, -0.03880414739251137, 0.007328727748245001, -0.014930297620594501, 0.03537306562066078, -0.02647630125284195, -0.004848805256187916, -0.05037783831357956, -0.02062760666012764, -0.003151695942506194, 0.01856573112308979, 0.01706230640411377, 0.01204014290124178, 0.011101721785962582, 0.017997026443481445, 0.046001285314559937, 0.0361613966524601, 0.01585395820438862, 0.0494484007358551, 0.013614903204143047, -0.000619027647189796, -0.021129881963133812, 0.03673231229186058, -0.01450453419238329, 0.03783603012561798, 0.011565574444830418, 0.04348237067461014, 0.016126664355397224, -0.013432021252810955, -0.004399445373564959, 0.0072252326644957066, 8.994401554492276e-33, 0.019226273521780968, 0.007558580953627825, -0.045722708106040955, 0.01463558804243803, 0.008277101442217827, -0.022305164486169815, 0.0038432790897786617, 0.006523689720779657, -0.0633944645524025, 0.001285012811422348, 0.01011256966739893, 0.042480647563934326, -0.011731665581464767, 0.021994486451148987, 0.021853787824511528, -0.04730070009827614, 0.008463433012366295, -0.02179691009223461, 0.05461603403091431, 0.00011188253847649321, 0.034300219267606735, -0.0071389866061508656, -0.008422537706792355, -0.026904521510004997, 0.0016703596338629723, 0.045857615768909454, -0.038833823055028915, -0.010139561258256435, -0.012504198588430882, 0.008642034605145454, 0.012045146897435188, -0.01414379384368658, 0.03389023244380951, -0.03184191510081291, 0.0018721502274274826, 0.012825937010347843, 0.0045342533849179745, 0.02525227516889572, -0.0018377777887508273, -0.004805965349078178, 0.013678476214408875, -0.023776764050126076, 0.002937374170869589, 0.038246117532253265, 0.04680800810456276, -0.029897334054112434, 0.0018613914726302028, -0.009509319439530373, 0.00021676886535715312, 0.05835602432489395, -0.013661600649356842, -0.001688011339865625, 0.01903608627617359, -0.022921813651919365, 0.02314016968011856, -0.0216399934142828, -0.03012828156352043, -0.005182140041142702, 0.02744186297059059, 0.04970209673047066, -0.037949830293655396, 0.007067171856760979, -0.04889124259352684, 0.022753486409783363, -0.023592153564095497, 0.03439132496714592, -0.028731228783726692, -0.026537368074059486, 0.007547843270003796, -0.015641745179891586, -0.05700736865401268, -0.023943422362208366, -0.0015691503649577498, -0.003807283705100417, 0.04475615173578262, -0.044806934893131256, -0.013735460117459297, 0.01397323701530695, -0.006225997116416693, 0.0008567601325921714, -0.007174523081630468, -0.04075252637267113, 0.004882934968918562, -0.018353769555687904, 0.012501906603574753, 0.013787918724119663, -0.021928202360868454, 0.010139104910194874, -0.015614385716617107, 0.003843974322080612, -0.020980479195713997, 0.009949774481356144, -0.008285735733807087, -0.02633223496377468, -0.014603903517127037, -1.4118848312705268e-8, -0.015051634982228279, 0.04424617812037468, 0.015203476883471012, -0.017514988780021667, 0.04094652831554413, 0.017287133261561394, -0.007844782434403896, -0.04607478901743889, -0.0025159036740660667, 0.00909314677119255, 0.01804541051387787, 0.019033920019865036, -0.02816237136721611, -0.026832204312086105, 0.018087374046444893, -0.0422627292573452, -0.03007364086806774, -0.003032432869076729, 0.014033941552042961, 0.01856030523777008, 0.008621390908956528, 0.05281773582100868, -0.014543605968356133, 0.008162125013768673, 0.05145749822258949, 0.0002068274188786745, 0.02071734517812729, -0.079338438808918, 0.020581888034939766, 0.04433245584368706, -0.03321436792612076, 0.0007286638719961047, -0.04245446249842644, -0.0006840158021077514, -0.040431734174489975, 0.009048848412930965, -0.005780879408121109, 0.01267085038125515, 0.008546531200408936, -0.0022845170460641384, -0.017682641744613647, 0.01862432062625885, 0.011333717964589596, -0.01385993417352438, 0.041643839329481125, 0.023279057815670967, -0.020788341760635376, 0.008984068408608437, 0.018771810457110405, -0.04470603168010712, -0.00563687551766634, -0.0023581793066114187, 0.012790949083864689, 0.006497356109321117, 0.00008526739111403003, -0.0022229633759707212, 0.011862209998071194, -0.036448560655117035, -0.011177862994372845, 0.0038415780290961266, -0.008496181108057499, 0.0031844903714954853, -0.025947442278265953, -0.03314246982336044 ]
coding-assertions-in-constructors
https://markhneedham.com/blog/2009/02/14/coding-assertions-in-constructors
false
2009-02-22 22:20:22
C#: Implicit Operator
[ "c", "net" ]
[ ".NET" ]
Since it was pointed out in the comments on an earlier post I wrote about using the builder pattern how useful the http://msdn.microsoft.com/en-us/library/z5z9kes2(VS.71).aspx[implicit operator] could be in this context we've been using it wherever it makes sense. The main benefit that using this approach provides is that our test code becomes more expressive since we don't need to explicitly call a method to complete the building of our object. [source,csharp] ---- public class FooBuilder { private string bar = "defaultBar"; public FooBuilder Bar(string value) { bar = value; return this; } public static implicit operator Foo(FooBuilder builder) { return new Foo { Bar = builder.bar }; } } ---- [source,csharp] ---- public class Foo { public string Bar { get; set; } } ---- We can then create a 'Foo' in our tests like this: [source,csharp] ---- var foo = new FooBuilder().Bar("bar"); ---- The type of 'foo' is actually 'FooBuilder' but it will be implicitly converted to Foo when needed. Alternatively we can force it to Foo earlier by explicitly defining the type: [source,csharp] ---- Foo foo = new FooBuilder().Bar("bar"); ---- While playing around with the http://martinfowler.com/apsupp/spec.pdf[specification pattern] to try and create a cleaner API for some querying of collections I tried to create a specification builder to chain together several specifications. [source,csharp] ---- public interface IFooSpecification { bool SatisfiedBy(Foo foo); IFooSpecification And(IFooSpecification fooSpecification); } ---- [source,csharp] ---- public abstract class BaseFooSpecification : IFooSpecification { public abstract bool SatisfiedBy(Foo foo); public IFooSpecification And(IFooSpecification fooSpecification) { return new AndSpecification(this, fooSpecification); } } ---- [source,csharp] ---- public class FooBar : BaseFooSpecification { private readonly string bar; public FooBar(string bar) { this.bar = bar; } public override bool SatisfiedBy(Foo foo) { return foo.Bar == bar; } } ---- [source,csharp] ---- public class FooQuery { private FooBar fooBarSpecification; private FooBaz fooBazSpecification; public FooQuery Bar(string value) { fooBarSpecification = new FooBar(value); return this; } public FooQuery Baz(string value) { fooBazSpecification = new FooBaz(value); return this; } public static implicit operator IFooSpecification(FooQuery fooQuery) { // User-conversion to interface error message displayed by Resharper } } ---- The intention was to be able to filter a collection of foos with code like the following: [source,csharp] ---- foos.FindBy(new FooQuery().Bar("bar").Baz("baz")); ---- Unfortunately the http://msdn.microsoft.com/en-us/library/aa664464(VS.71).aspx[C# language specification] explicitly doesn't allow this: ____ A class or struct is permitted to declare a conversion from a source type S to a target type T provided all of the following are true: * \... * Neither S nor T is object or an interface-type. ____ ____ User-defined conversions are not allowed to convert from or to _interface-types_. In particular, this restriction ensures that no user-defined transformations occur when converting to an _interface-type_, and that a conversion to an interface-type succeeds only if the object being converted actually implements the specified _interface-type_. ____ I tried casting to the BaseFooSpecification abstract class instead and although that does compile it seemed to be leading me down a path where I would need to change the 'FindBy' signature to take in a BaseFooSpecification which I wasn't keen on. It didn't prove possible to implicitly convert to a BaseFooSpecification when the signature for the method expected an IFooSpecification even though BaseFooSpecification implements IFooSpecification. I don't think there is a way to get around this in C# 3.0 so I just ended up creating an explicit method to convert between the two - not quite as nice to read but the best I could come up with.
null
null
[ 0.01814642734825611, -0.014721578918397427, 0.00826885923743248, 0.024349121376872063, 0.07555125653743744, 0.01701273024082184, 0.030459821224212646, 0.026423120871186256, 0.0023332545533776283, -0.015668651089072227, -0.010936330072581768, 0.002688879380002618, -0.08043200522661209, 0.016454311087727547, -0.02551439218223095, 0.0803673267364502, 0.059534668922424316, -0.022044965997338295, 0.012972062453627586, -0.007942136377096176, 0.013018663972616196, 0.05608057975769043, 0.005355472676455975, 0.029769787564873695, 0.03092310205101967, 0.033371664583683014, -0.006267506629228592, -0.01739143207669258, -0.07032759487628937, -0.002801735419780016, 0.03558758646249771, 0.019048644229769707, -0.009305763058364391, -0.03525450825691223, 0.00089629041031003, -0.013612695969641209, -0.017479361966252327, 0.0008107106550596654, -0.016096515581011772, -0.0023889783769845963, -0.05949339270591736, 0.030539222061634064, 0.017339419573545456, 0.021582981571555138, -0.04980962723493576, 0.00081744504859671, -0.054540518671274185, -0.019879978150129318, -0.06613645702600479, -0.0345088467001915, -0.055446527898311615, 0.02718571573495865, -0.06571247428655624, 0.013536596670746803, 0.009440283291041851, 0.04725518450140953, 0.02097061462700367, -0.08615851402282715, 0.01919330283999443, -0.0586857944726944, 0.013478660024702549, 0.0020474488846957684, 0.008059625513851643, 0.010856173932552338, 0.031636692583560944, 0.0028047016821801662, -0.021088160574436188, 0.040742285549640656, -0.062179651111364365, -0.02268914505839348, -0.012670029886066914, 0.003392524551600218, -0.007426916621625423, -0.003632581327110529, 0.008683795109391212, -0.0247799102216959, -0.01902356557548046, 0.056390777230262756, 0.018542509526014328, 0.04673095792531967, -0.0004644635773729533, 0.014466650784015656, 0.03873297944664955, 0.0003061749739572406, 0.010558326728641987, -0.021489178761839867, -0.01710686832666397, 0.02576732635498047, -0.009840746410191059, 0.06306574493646622, 0.01866450347006321, -0.02654525265097618, 0.0025635382626205683, 0.021089069545269012, 0.016416775062680244, 0.00029613010701723397, 0.005832471419125795, -0.02495746687054634, -0.005189573857933283, -0.008868291974067688, -0.02889651618897915, -0.015294303186237812, 0.029028166085481644, -0.005058603826910257, -0.08320310711860657, -0.03604457899928093, -0.057426463812589645, -0.017563609406352043, 0.015815993770956993, 0.02829996682703495, -0.04884808510541916, 0.02043542079627514, -0.026969198137521744, -0.0024266953114420176, -0.0775243267416954, 0.05216840282082558, 0.0036905540619045496, -0.002586190588772297, 0.008558775298297405, 0.024372145533561707, 0.04078799858689308, 0.007936262525618076, -0.010418293997645378, 0.06513696908950806, 0.022801227867603302, 0.05134887620806694, -0.020565973594784737, 0.09156791120767593, -0.004250997677445412, -0.08646347373723984, 0.0009202586952596903, 0.04854448512196541, -0.01296977512538433, 0.010736986063420773, -0.0026166276074945927, -0.008535061031579971, 0.005295444279909134, -0.014610860496759415, 0.03687449172139168, 0.03673967346549034, -0.04848309978842735, -0.053064413368701935, 0.032912902534008026, -0.023610306903719902, 0.00768541544675827, 0.022309541702270508, -0.003556974930688739, -0.022118525579571724, -0.006990522146224976, 0.04384871944785118, 0.019034404307603836, 0.059185780584812164, 0.04435025155544281, -0.05010039359331131, 0.013061515055596828, 0.05270933359861374, 0.00928593147546053, 0.006717158947139978, 0.0072781359776854515, 0.03018614463508129, 0.057628680020570755, 0.03236959129571915, 0.016201209276914597, 0.01840141788125038, 0.01438051089644432, 0.021156348288059235, 0.008918209932744503, 0.026009393855929375, -0.012754645198583603, -0.007951883599162102, -0.051324263215065, -0.06236738711595535, 0.025250615552067757, -0.03799447417259216, -0.0048192329704761505, 0.019915400072932243, 0.08838459849357605, 0.010887946002185345, 0.08092707395553589, -0.009445746429264545, -0.06993159651756287, -0.0015595887089148164, -0.011767418123781681, -0.000827309675514698, 0.017231402918696404, -0.015527172014117241, 0.062493063509464264, 0.041558846831321716, -0.017131831496953964, 0.02792346104979515, -0.07264717668294907, -0.06990597397089005, -0.024693211540579796, -0.012112941592931747, 0.07878788560628891, -0.03288174048066139, -0.03219858929514885, 0.07798437774181366, 0.001962545793503523, 0.044609107077121735, 0.055130958557128906, -0.01600315421819687, 0.0020242827013134956, -0.03092041052877903, -0.04256434738636017, 0.02350548841059208, 0.03269412741065025, 0.023359928280115128, -0.0639013722538948, -0.00002754157867457252, 0.0004098394711036235, 0.004278345964848995, 0.02407805062830448, -0.010091908276081085, 0.04756389185786247, 0.013933847658336163, 0.030308198183774948, -0.025622665882110596, 0.07089823484420776, -0.06999733299016953, 0.019405921921133995, -0.016116265207529068, -0.018603404983878136, -0.007999446243047714, -0.009684121236205101, 0.11428667604923248, 0.03337119519710541, -0.05552050843834877, -0.05366050451993942, 0.016562912613153458, 0.026659062132239342, -0.024088392034173012, 0.011902990750968456, -0.02770906873047352, 0.012370825745165348, -0.011739114299416542, -0.039058584719896317, -0.004973473958671093, 0.012060130015015602, -0.026558537036180496, 0.033159296959638596, 0.07676874846220016, -0.04351268708705902, 0.039312880486249924, -0.010621067136526108, -0.016039686277508736, -0.01020037941634655, -0.014671132899820805, -0.05837452411651611, 0.017514146864414215, 0.019411368295550346, -0.011957298032939434, 0.056186459958553314, -0.022227896377444267, -0.02038256824016571, -0.004339356441050768, -0.07026801258325577, 0.006526617798954248, 0.025607973337173462, 0.06653371453285217, 0.005136407911777496, 0.03507622703909874, -0.006763802841305733, 0.028279464691877365, -0.012658081948757172, -0.0360608845949173, 0.012214794754981995, 0.017069919034838676, 0.021524325013160706, 0.037350233644247055, -0.011184994131326675, 0.030161025002598763, 0.028183026239275932, 0.019115015864372253, -0.02950242906808853, 0.0055253030732274055, 0.012878760695457458, -0.0055312421172857285, -0.04475156217813492, -0.04181843250989914, -0.0426824577152729, 0.0242752842605114, -0.04281224310398102, -0.03812010958790779, 0.02036517858505249, -0.07803379744291306, 0.024936210364103317, -0.09171044826507568, -0.07478923350572586, -0.002003455301746726, 0.03604920953512192, 0.030266541987657547, -0.013484160415828228, 0.03649899363517761, 0.09334740787744522, 0.016469251364469528, -0.0036456063389778137, 0.01444819662719965, 0.013220775872468948, 0.012433735653758049, -0.013349039480090141, 0.02709270641207695, 0.04505826160311699, 0.0009460850269533694, 0.00700228800997138, -0.045112498104572296, 0.03943607211112976, 0.0008756140596233308, -0.25863081216812134, 0.017387283965945244, -0.010553778149187565, -0.05808155983686447, 0.020414598286151886, -0.00737746199592948, 0.0058482033200562, -0.0518345944583416, -0.018994158133864403, 0.05807499215006828, -0.02570054866373539, -0.044927679002285004, -0.015059839934110641, 0.04239504411816597, -0.017061151564121246, -0.0008766301907598972, 0.00434804055839777, -0.033570483326911926, 0.019774489104747772, 0.059597909450531006, 0.004045897163450718, -0.06884832680225372, 0.025286203250288963, 0.022352298721671104, 0.0446234829723835, 0.05361032858490944, -0.09073778986930847, 0.06000211089849472, -0.011937360279262066, -0.01849065162241459, 0.0016250807093456388, 0.0010388764785602689, -0.0032798645552247763, -0.01240978017449379, -0.03444433584809303, 0.012670825235545635, 0.022151505574584007, 0.04177401214838028, -0.011017946526408195, 0.011811336502432823, -0.024982092902064323, -0.058646924793720245, -0.030112192034721375, -0.0017546495655551553, 0.07382319867610931, -0.017754055559635162, -0.06708001345396042, -0.012911678291857243, -0.02729004994034767, 0.06552346050739288, -0.04207061603665352, -0.036715444177389145, -0.0011910231551155448, 0.04486413300037384, -0.02217474766075611, -0.03286145254969597, 0.0024794801138341427, -0.02164565771818161, -0.0595143660902977, -0.030873356387019157, -0.019015787169337273, -0.04383685067296028, -0.001432131859473884, -0.031165340915322304, -0.022859914228320122, -0.04462809860706329, -0.06014222279191017, -0.013901063241064548, 0.06746410578489304, 0.04584895446896553, 0.00766345439478755, 0.0014497628435492516, 0.022364888340234756, -0.12582509219646454, 0.0035725843627005816, -0.04014633595943451, -0.012964032590389252, -0.06163398176431656, -0.002404587110504508, 0.05843432992696762, -0.016096418723464012, -0.045944031327962875, 0.03980601206421852, 0.01929290220141411, 0.019335798919200897, 0.027808954939246178, 0.02640303410589695, 0.0048766243271529675, -0.03487791493535042, 0.007870933972299099, 0.05488084256649017, -0.011571444571018219, 0.0008648151997476816, -0.05327845364809036, 0.017459053546190262, 0.01780865713953972, 0.03991573303937912, -0.016020551323890686, 0.02988421358168125, 0.004802587907761335, 0.057809699326753616, -0.05346338823437691, 0.02964174374938011, -0.03172141686081886, 0.014698888175189495, -0.032479267567396164, -0.0629941076040268, 0.01090779434889555, 0.029590632766485214, 0.01595422625541687, -0.016088299453258514, -0.04457183554768562, -0.0028115129098296165, -0.04490085318684578, -0.03210439905524254, -0.01673263870179653, -0.002678930526599288, 0.025752322748303413, -0.01596471667289734, -0.021023593842983246, -0.03247951343655586, 0.019659526646137238, 0.0017810326535254717, -0.01060696505010128, -0.07617340236902237, -0.043792352080345154, -0.012527329847216606, 0.00846294779330492, -0.0067065111361444, 0.028692228719592094, -0.021992405876517296, 0.025445694103837013, -0.012317169457674026, -0.04244975745677948, 0.016031157225370407, 0.008192761801183224, -0.012950245290994644, -0.035177141427993774, -0.03132513165473938, -0.015855291858315468, -0.005228741094470024, -0.017967326566576958, 0.030008716508746147, 0.02244546078145504, 0.0512307845056057, 0.005426021758466959, 0.03349559009075165, 0.02265974134206772, -0.002599333878606558, 0.0314844585955143, 0.0174470916390419, -0.0693926215171814, 0.019822830334305763, -0.035546064376831055, -0.030946072190999985, -0.04222523793578148, 0.04554395377635956, -0.017459997907280922, -0.016876043751835823, -0.031190337613224983, 0.040469881147146225, -0.05605746805667877, -0.018787842243909836, -0.025667430832982063, 0.019854482263326645, 0.055180177092552185, -0.022568808868527412, 0.053219135850667953, -0.03532359376549721, 0.0004999694647267461, 0.03217076137661934, 0.02940579317510128, -0.035557541996240616, 0.04859572649002075, 0.00647240923717618, -0.015817053616046906, -0.020972156897187233, 0.020745325833559036, 0.04045126587152481, 0.02497974969446659, -0.0043299319222569466, -0.012725071050226688, 0.021709350869059563, -0.00953842792659998, 0.052295830100774765, 0.0067668273113667965, 0.012473275884985924, -0.006332021206617355, -0.015749037265777588, -0.022157076746225357, -0.027788102626800537, -0.021365640684962273, -0.004768048413097858, 0.021565595641732216, -0.06306273490190506, -0.07559768110513687, 0.028325680643320084, 0.01742197945713997, 0.03083936683833599, 0.008951421827077866, -0.0033012148924171925, -0.00001687880649114959, -0.018023889511823654, 0.02226039208471775, 0.047358665615320206, -0.060027092695236206, 0.011498061940073967, 0.0027159054297953844, -0.007378467358648777, 0.028582263737916946, 0.03342761844396591, -0.05548267811536789, -0.010640810243785381, -0.001127657131291926, -0.014371873810887337, -0.052837587893009186, -0.015528383664786816, -0.007024608552455902, 0.0363510325551033, -0.006426102481782436, -0.025769995525479317, -0.010260325856506824, 0.00006880611908854917, 0.006286348216235638, -0.014710688032209873, 0.020055824890732765, -0.04394463449716568, 0.006547319237142801, 0.026951007544994354, -0.05376380309462547, 0.033819518983364105, -0.0292897317558527, 0.011096011847257614, 0.033934853971004486, -0.004477933514863253, -0.03472921997308731, -0.0660516545176506, 0.013712362386286259, -0.02550780214369297, 0.0399036705493927, -0.00004836879452341236, -0.026190748438239098, -0.0345325842499733, -0.039060670882463455, -0.029879385605454445, 0.01565258949995041, 0.003914239350706339, -0.026548657566308975, 0.010357039980590343, 0.0573684424161911, -0.0033896262757480145, 0.038044124841690063, -0.0014461075188592076, -0.005897633731365204, 0.07210546731948853, -0.08135604113340378, -0.01048921886831522, -0.017006564885377884, -0.07560238987207413, 0.012992395088076591, 0.020655248314142227, 0.029262132942676544, -0.012446998618543148, 0.03658599033951759, 0.051339007914066315, 0.016372011974453926, 0.03943885117769241, 0.032232463359832764, 0.03759639337658882, -0.03274284675717354, -0.012884136289358139, -0.06065422669053078, 0.018562423065304756, 0.047965120524168015, 0.030666407197713852, -0.02024015784263611, -0.025486351922154427, -0.009408501908183098, 0.05954735726118088, -0.03375253453850746, -0.039674222469329834, 0.027025703340768814, 0.008717440068721771, -0.013357848860323429, -0.009613201022148132, -0.04576723277568817, 0.035406701266765594, 0.009185666218400002, -0.022288918495178223, -0.03870460391044617, -0.03557718172669411, 0.054227426648139954, 0.00395510857924819, -0.010718648321926594, -0.05005631595849991, 0.02769007906317711, 0.04614853113889694, 0.03226565942168236, 0.03518342599272728, 0.013413593173027039, -0.01990005001425743, 0.0510978028178215, 0.02482232265174389, -0.010274462401866913, 0.00028633562033064663, -0.014549634419381618, 0.013170055113732815, -0.06098374351859093, 0.005838066339492798, 0.009195615537464619, -0.04834507033228874, -0.0546373650431633, 0.04728886857628822, 0.01998480036854744, -0.032277222722768784, -0.03867717832326889, -0.00499753886833787, -0.038639843463897705, -0.028221745043992996, -0.0019465358927845955, 0.026762599125504494, -0.039565641433000565, 0.07157120853662491, -0.004994343966245651, -0.01125415600836277, 0.07755146920681, 0.009835414588451385, -0.01995936408638954, -0.017630644142627716, 0.07480249553918839, 0.07013152539730072, 0.03933614119887352, 0.0059759230352938175, 0.047711264342069626, -0.02786775305867195, -0.055076442658901215, 0.03225585073232651, -0.010173626244068146, -0.01212164293974638, -0.010271265171468258, 0.03107183612883091, 0.09654714912176132, 0.004034766461700201, 0.06520239263772964, -0.044127389788627625, -0.014676054008305073, -0.016705742105841637, 0.04460170120000839, 0.01548122987151146, 0.04490385949611664, -0.0008798154885880649, 0.0037732720375061035, -0.005100735463202, -0.03287031501531601, 0.02032245323061943, -0.01995156519114971, -0.02492132969200611, 0.017717717215418816, -0.0008047743467614055, 0.03162294626235962, 0.004245698917657137, 0.05038577690720558, 0.09105351567268372, -0.0501675084233284, -0.01088263001292944, 0.00009910509106703103, -0.024314748123288155, 0.028576817363500595, -0.04345538094639778, -0.025717193260788918, -0.028087180107831955, -0.01718689128756523, -0.015134033747017384, -0.005503489635884762, -0.010304882191121578, -0.0062820157036185265, 0.023714901879429817, -0.003276417264714837, 0.006213516462594271, 0.012240360490977764, 0.011824330314993858, -0.019089533016085625, -0.061180729418992996, -0.05174461379647255, -0.014175722375512123, -0.07003213465213776, -0.03768632933497429, 0.012031166814267635, -0.01922554522752762, -0.029271062463521957, -0.02853728085756302, -0.017253635451197624, -0.011263194493949413, 0.062180232256650925, -0.02944232150912285, -0.04171458259224892, 0.03150653466582298, 0.018932130187749863, 0.03366385027766228, 0.021505635231733322, 0.04210180044174194, 0.009477335959672928, 0.013487586751580238, -0.0467446967959404, -0.01810145564377308, 0.03242655470967293, 0.004425268154591322, 0.0231192447245121, -0.07875621318817139, 0.02222874015569687, 0.006496317218989134, 0.003717210842296481, -0.06823141872882843, 0.006896598730236292, 0.0067990850657224655, -0.0023184544406831264, 0.044776421040296555, -0.024247348308563232, -0.009357750415802002, -0.011651664972305298, -0.004275687038898468, 0.03731803223490715, 0.0164776761084795, 0.05231843516230583, -0.038839191198349, 0.07907967269420624, 0.03319357708096504, -0.04993671551346779, -0.0006327243172563612, 0.011103401891887188, -0.015963973477482796, 0.03405800461769104, -0.01872984878718853, -0.029157740995287895, -0.038781311362981796, -0.06834298372268677, -0.005121634341776371, 0.022302843630313873, -0.02399778552353382, -0.03903263062238693, 0.01573225110769272, 0.0479801781475544, -0.04984210059046745, 0.027387846261262894, -0.03423859551548958, 0.050247471779584885, -0.016395317390561104, -0.032750170677900314, 0.014016210101544857, 0.02742787078022957, 0.004134109243750572, 0.02835395745933056, 0.017768949270248413, -0.027163485065102577, -0.01581275463104248, -0.007918584160506725, 0.02985016070306301, 0.025334808975458145, -0.0003927732177544385, 0.008402116596698761 ]
[ -0.08456426113843918, 0.023404939100146294, -0.030577080324292183, -0.01067770179361105, 0.006849794182926416, -0.03013467788696289, 0.0036651904229074717, 0.013900162652134895, -0.000578973675146699, -0.021789874881505966, -0.018929149955511093, -0.04227635636925697, -0.017909681424498558, -0.02361484058201313, 0.05400492250919342, 0.0059838793240487576, -0.041484490036964417, -0.0010147240245714784, -0.0005493263597600162, 0.025568943470716476, 0.04975403845310211, -0.0005259691970422864, -0.03926827758550644, -0.04881800338625908, 0.010743547230958939, 0.02892293781042099, 0.05388397350907326, -0.05157804861664772, 0.03376561030745506, -0.20787090063095093, -0.021561630070209503, -0.018896877765655518, 0.035671480000019073, -0.0346049964427948, -0.013991430401802063, 0.017215002328157425, 0.00109512556809932, 0.059275299310684204, -0.015306909568607807, 0.03601113706827164, -0.02702995575964451, 0.05296839028596878, -0.016724076122045517, -0.019078169018030167, 0.02564534917473793, 0.004441829398274422, -0.008316283114254475, -0.008494910784065723, -0.03876275569200516, -0.014580976217985153, -0.029576513916254044, 0.010128374211490154, 0.03422996401786804, -0.028244279325008392, 0.019048459827899933, 0.03406405448913574, 0.06207273527979851, 0.04855608195066452, 0.015199036337435246, 0.007668997161090374, -0.011266990564763546, -0.007908137515187263, -0.13938212394714355, 0.10800132900476456, 0.021861201152205467, 0.03536674380302429, -0.02902831882238388, -0.039785005152225494, -0.006955875549465418, 0.08121480792760849, 0.02158578671514988, -0.007183592300862074, -0.037521298974752426, 0.03528634458780289, 0.05378289148211479, -0.019181907176971436, 0.014161963015794754, 0.012686223722994328, 0.06395918875932693, -0.004382710438221693, -0.06480450183153152, -0.031903695315122604, -0.027276737615466118, -0.014808855950832367, -0.017649749293923378, 0.022055484354496002, 0.05571720376610756, 0.010891243815422058, 0.062054384499788284, 0.03322761878371239, 0.00909336842596531, -0.03743987902998924, 0.027214210480451584, 0.0040358444675803185, -0.04616764187812805, 0.02226071059703827, -0.015336827374994755, -0.02302587404847145, -0.018453767523169518, 0.42732861638069153, -0.03623175621032715, -0.006864163558930159, 0.011965988203883171, 0.016138708218932152, -0.0067114573903381824, 0.019448982551693916, -0.00589012261480093, -0.04708858206868172, -0.009582672268152237, -0.07161912322044373, -0.007362504955381155, 0.022733602672815323, 0.003984229639172554, -0.07320833951234818, -0.010233588516712189, -0.01447400264441967, 0.021911241114139557, -0.02356906607747078, -0.0013467669486999512, 0.011281733401119709, 0.00985268596559763, 0.0042564538307487965, -0.005912950728088617, 0.0454615019261837, 0.01635660231113434, -0.04201459139585495, 0.00869708601385355, 0.04134675860404968, 0.04483582824468613, 0.0030238076578825712, 0.04091053828597069, -0.0687088817358017, -0.0713866651058197, -0.01236317865550518, 0.04490712657570839, 0.009527571499347687, 0.042901452630758286, -0.013596908189356327, -0.013712834566831589, 0.024419046938419342, -0.016868021339178085, -0.005521155893802643, 0.03230312466621399, -0.0213001761585474, -0.04352882504463196, 0.10533460974693298, -0.027877531945705414, 0.0031439820304512978, -0.026848552748560905, -0.03674400970339775, -0.010031357407569885, 0.022507447749376297, 0.003905185265466571, -0.06706669181585312, 0.030370282009243965, 0.004315103869885206, 0.01104226429015398, 0.014422167092561722, -0.063998743891716, -0.02843625657260418, -0.030029769986867905, -0.0007474456797353923, -0.028866248205304146, 0.024448463693261147, -0.0004698979028034955, -0.09126853197813034, -0.06426513195037842, 0.022586841136217117, 0.003053165739402175, -0.08700381219387054, 0.0003900136216543615, 0.009221825748682022, -0.043195560574531555, -0.008463715203106403, 0.04585407301783562, 0.019156107679009438, -0.03816114366054535, 0.0006923815817572176, 0.03697606921195984, 0.02157599851489067, 0.048347897827625275, -0.009138531051576138, -0.06212785467505455, 0.017616484314203262, -0.0046605379320681095, -0.06477562338113785, -0.03645327314734459, -0.023546118289232254, -0.025745553895831108, -0.030720001086592674, -0.01481729093939066, -0.00150074134580791, -0.06074799224734306, 0.06409187614917755, 0.00001257532221643487, -0.005263206548988819, 0.05680566281080246, -0.0158238485455513, 0.033381715416908264, 0.0030746948905289173, 0.021447135135531425, 0.05583362281322479, 0.011007916182279587, 0.005032465793192387, -0.08901744335889816, 0.052782513201236725, 0.0309921707957983, -0.052616409957408905, 0.04190821945667267, 0.028780898079276085, -0.0650472640991211, -0.009428798221051693, -0.01644943654537201, 0.044216569513082504, -0.016017137095332146, -0.034240592271089554, -0.008941521868109703, 0.025504963472485542, -0.004747536964714527, 0.02207544818520546, -0.06770884990692139, -0.009940122254192829, -0.005710195749998093, -0.34142041206359863, -0.0110403411090374, -0.02472967654466629, -0.02870154194533825, -0.0035942080430686474, -0.05080869421362877, -0.0322112999856472, -0.021764321252703667, -0.03860268369317055, -0.008743492886424065, 0.03929251432418823, -0.005495528224855661, 0.013402502052485943, -0.047841571271419525, -0.01709185354411602, 0.01573573611676693, -0.02226618491113186, -0.06830792874097824, -0.0293411947786808, 0.02637084387242794, -0.003374784253537655, 0.043156594038009644, 0.00484339939430356, -0.07692790776491165, 0.033750422298908234, -0.043608151376247406, 0.07185342907905579, -0.015065501444041729, 0.11656279116868973, -0.04492564499378204, 0.03142191842198372, -0.009995516389608383, 0.01460104901343584, -0.06473969668149948, 0.01585765741765499, -0.01974206231534481, -0.012376278638839722, -0.0018389882752671838, 0.07593218982219696, -0.0004224820004310459, -0.0038142066914588213, 0.015640564262866974, -0.06322149187326431, -0.029675254598259926, 0.021245460957288742, -0.041017018258571625, -0.003881388809531927, -0.025165077298879623, 0.00761792017146945, 0.09123766422271729, -0.004047204274684191, -0.021737677976489067, 0.03786086663603783, 0.019077293574810028, -0.01688224822282791, -0.04574739933013916, -0.027473868802189827, 0.00946117378771305, 0.008847162127494812, 0.003300950163975358, 0.06079614907503128, 0.045943908393383026, 0.04200535640120506, -0.02249428629875183, -0.0031851879321038723, 0.006329038180410862, -0.02274320460855961, -0.009316116571426392, 0.03837446868419647, -0.06395786255598068, -0.0409834049642086, 0.09672605246305466, -0.034813761711120605, -0.025430316105484962, 0.039412856101989746, 0.051152024418115616, -0.007174920290708542, 0.015976963564753532, 0.018402429297566414, 0.001103278249502182, 0.0011315421434119344, -0.006638894788920879, 0.046265795826911926, -0.025794580578804016, -0.005235118325799704, 0.033041030168533325, -0.029309751465916634, 0.022511450573801994, 0.04861094430088997, -0.029775360599160194, -0.03482532873749733, 0.01048473920673132, 0.003951219841837883, -0.04573175311088562, 0.08879117667675018, -0.018345877528190613, -0.2758755385875702, 0.01258235052227974, 0.07699940353631973, 0.0257722157984972, -0.0054860603995621204, 0.016861895099282265, 0.038861583918333054, -0.10144510865211487, -0.00042255071457475424, -0.00337675167247653, -0.0025841547176241875, 0.02596740797162056, 0.009035437367856503, 0.021041493862867355, 0.04514956474304199, -0.026641031727194786, 0.06711401045322418, -0.005719619337469339, 0.029118157923221588, -0.017164381220936775, -0.007966479286551476, 0.0049929930828511715, 0.2127075344324112, 0.001386871561408043, 0.05467022955417633, 0.00011823987733805552, 0.02842874638736248, -0.007790219504386187, 0.08982305973768234, 0.04212314262986183, 0.019964460283517838, -0.012179537676274776, 0.13059774041175842, -0.008276567794382572, 0.045559629797935486, -0.054900940507650375, 0.011234281584620476, 0.04826753959059715, 0.004535015672445297, -0.0002717284660320729, 0.010086357593536377, 0.013387201353907585, -0.026316920295357704, 0.021943138912320137, 0.07243001461029053, 0.006215220782905817, -0.02553560584783554, -0.022919049486517906, -0.0522637665271759, -0.010170144960284233, -0.044671960175037384, -0.01591767929494381, 0.022962510585784912, -0.005086951889097691, 0.019459111616015434, 0.03447403758764267, -0.006241500843316317, -0.0471469946205616, -0.025720730423927307, 0.016102684661746025, 0.020487476140260696, 0.028556859120726585, 0.07874851673841476, 0.08211306482553482, 0.05738082900643349 ]
[ -0.03638431429862976, 0.05109873041510582, -0.021151455119252205, 0.028219707310199738, -0.05524316430091858, 0.02082805149257183, -0.0046349805779755116, 0.018819043412804604, -0.025813080370426178, -0.005709542427212, -0.037633687257766724, -0.045485273003578186, 0.028587333858013153, -0.008627730421721935, 0.035856541246175766, 0.0017626320477575064, 0.011607731692492962, -0.046950627118349075, 0.0038666643667966127, -0.010444547981023788, -0.00017638609278947115, 0.05301527678966522, -0.022159980610013008, -0.00881246943026781, 0.024477267637848854, -0.02351764403283596, -0.012983081862330437, -0.00536600174382329, 0.030259644612669945, -0.11394038796424866, -0.02984442003071308, -0.0004161580582149327, 0.003581155790016055, 0.024867523461580276, -0.006128711625933647, 0.00590517045930028, 0.05639747530221939, 0.05335504934191704, -0.02630515955388546, -0.021182024851441383, -0.004843809176236391, 0.03601705655455589, -0.017124781385064125, -0.006158401258289814, -0.012671356089413166, 0.018860669806599617, -0.009198945015668869, -0.03644568845629692, -0.013289455324411392, -0.008245558477938175, -0.03885543346405029, -0.03233492001891136, 0.007460359483957291, -0.010303929448127747, 0.02575938031077385, 0.00047835882287472486, -0.013342584483325481, -0.010115323588252068, 0.02074291557073593, -0.017019717022776604, 0.0037206176202744246, -0.023350482806563377, -0.04612021893262863, -0.02715054713189602, 0.025130674242973328, -0.006740178447216749, -0.00726859737187624, 0.006928210612386465, -0.004359976854175329, -0.028585292398929596, -0.013870044611394405, -0.019774259999394417, -0.012302001006901264, -0.014524280093610287, 0.013707799836993217, 0.006131752859801054, 0.023665882647037506, -0.015938635915517807, 0.023472942411899567, -0.02631526254117489, -0.030251212418079376, 0.0007235207012854517, -0.029508274048566818, 0.0010498507181182504, 0.039639443159103394, 0.00904006790369749, -0.00907986517995596, 0.020403625443577766, 0.01590154320001602, 0.06485819816589355, -0.006797310896217823, 0.008246304467320442, 0.009400992654263973, 0.031463202089071274, -0.05991070717573166, 0.019170301035046577, -0.009770751930773258, -0.012595191597938538, -0.0018946182681247592, 0.8423511385917664, -0.01081658061593771, 0.07327616959810257, 0.035631000995635986, -0.0025518389884382486, 0.00024318545183632523, 0.006554884370416403, -0.0027218274772167206, 0.011298307217657566, 0.02521117590367794, -0.037074487656354904, 0.01835281401872635, -0.022173309698700905, 0.042034003883600235, -0.03697727993130684, 0.012035218067467213, 0.02400396019220352, 0.010129855945706367, -0.023387428373098373, -0.045980338007211685, -0.011606894433498383, -0.0035063361283391714, -0.018332839012145996, 0.027056759223341942, 0.005151746328920126, -0.0047308411449193954, -0.18603092432022095, -0.012508436106145382, -7.425103371833076e-33, 0.05421075224876404, -0.0021455015521496534, 0.025284050032496452, 0.03810116648674011, -0.008181348443031311, -0.0002890338364522904, 0.03346371278166771, 0.036052312701940536, 0.027255365625023842, -0.04732786491513252, 0.03309774398803711, -0.0285326037555933, -0.020090052857995033, -0.012069477699697018, 0.03817247971892357, -0.03712323307991028, 0.008645693771541119, 0.031567130237817764, -0.02140919677913189, 0.024082433432340622, 0.026223817840218544, 0.04095298424363136, -0.019949503242969513, -0.02598416991531849, 0.03564394637942314, 0.0003739055246114731, 0.026516137644648552, 0.005148383788764477, -0.03605053201317787, -0.03729117289185524, -0.003988847602158785, -0.005907780956476927, 0.01860920339822769, -0.01507014874368906, 0.015528738498687744, -0.01808473840355873, -0.010465473867952824, 0.007499799132347107, 0.001117553561925888, -0.03209614008665085, -0.02226118929684162, -0.013155337423086166, -0.02683722972869873, 0.010002827271819115, -0.02661541849374771, -0.033251095563173294, -0.02151605486869812, -0.0020122253336012363, 0.03769278898835182, -0.0017832403536885977, 0.02835661917924881, 0.07199622690677643, -0.0069016870111227036, 0.002319259336218238, -0.018267327919602394, 0.013508278876543045, -0.029524989426136017, 0.028725627809762955, 0.007647255435585976, 0.0014285858487710357, -0.007760304491966963, 0.0011866074055433273, -0.0304267555475235, 0.03852424770593643, -0.028995251283049583, -0.0010122887324541807, -0.002099288161844015, -0.009750858880579472, 0.016597867012023926, 0.0066035445779562, -0.05814703181385994, 0.006968399044126272, -0.010080375708639622, -0.03550150617957115, 0.018889686092734337, -0.005190066993236542, -0.0001549722655909136, -0.004611267242580652, 0.017067724838852882, 0.0018395871156826615, -0.0030683642253279686, 0.006445019040256739, -0.017111070454120636, 0.01542436983436346, 0.0006918133003637195, -0.022869525477290154, 0.05500692501664162, -0.018708040937781334, -0.01301337406039238, -0.015576818957924843, 0.03491866961121559, 0.020246919244527817, 0.00040348246693611145, -0.0075830454006791115, 0.009221176616847515, 7.234225864462583e-33, 0.0014752487186342478, -0.03193732351064682, -0.020862914621829987, -0.0186627134680748, 0.007294520735740662, -0.02228335291147232, -0.0015687491977587342, -0.026113947853446007, -0.05838475003838539, -0.005484309047460556, -0.01531935390084982, 0.017124472185969353, 0.0001228266628459096, 0.018603533506393433, 0.04750287905335426, 0.0006331582553684711, 0.02226349338889122, -0.012442191131412983, 0.014006944373250008, -0.007370116654783487, 0.046733226627111435, 0.0037224877160042524, 0.04140119627118111, 0.004940482322126627, -0.013772970996797085, 0.0435539111495018, -0.05857326090335846, 0.01937858760356903, 0.031592320650815964, 0.005811783950775862, -0.001434854231774807, -0.006780762225389481, -0.002887909999117255, -0.05899227783083916, -0.061060212552547455, -0.0012540966272354126, -0.005538895260542631, -0.002654091687873006, 0.025317640975117683, -0.0011737310560420156, 0.021391863003373146, 0.0038996748626232147, -0.01447251532226801, 0.009400502778589725, 0.00811048224568367, 0.017870159819722176, 0.018805569037795067, -0.06447899341583252, 0.016467442736029625, 0.018244031816720963, 0.05745569244027138, 0.04891302064061165, -0.010679837316274643, 0.03391383960843086, 0.017917973920702934, -0.023374898359179497, -0.0039167762733995914, -0.03280210122466087, -0.02571110986173153, 0.017982451245188713, -0.03309095650911331, 0.021278342232108116, 0.028037535026669502, -0.0001492789451731369, -0.012070657685399055, -0.006363213062286377, -0.006087952759116888, -0.02042311429977417, -0.024974005296826363, -0.016230644658207893, -0.03190573677420616, 0.010566563345491886, -0.02291703224182129, 0.03234294056892395, -0.008493980392813683, -0.017106151208281517, 0.026077590882778168, -0.000058079673181055114, 0.016525575891137123, 0.012662905268371105, -0.0071444204077124596, -0.002830442739650607, 0.044591858983039856, 0.018094491213560104, -0.00952443853020668, -0.03725140169262886, 0.0036405017599463463, 0.019829295575618744, 0.019031690433621407, 0.014278361573815346, -0.03186463192105293, -0.02170114405453205, 0.013421702198684216, 0.0010021853959187865, -0.0038072168827056885, -1.3149022315417369e-8, -0.06447646021842957, 0.00891127809882164, -0.022832877933979034, 0.007191679440438747, 0.008105694316327572, 0.010087450966238976, -0.05243811756372452, -0.054570965468883514, -0.022481227293610573, -0.040017928928136826, 0.0192167516797781, -0.00737496605142951, -0.006011102348566055, -0.005454011727124453, 0.0419447086751461, -0.08329891413450241, -0.011049563065171242, -0.022103644907474518, 0.02256864681839943, -0.004356582183390856, -0.007833379320800304, 0.022120241075754166, -0.017881128937005997, 0.017639296129345894, -0.010880147106945515, 0.004759431816637516, -0.003449944779276848, -0.06804876774549484, 0.032172948122024536, 0.044808756560087204, -0.0013717139372602105, 0.0011961645213887095, -0.006667380686849356, -0.0011520819971337914, -0.03261834383010864, -0.010782971046864986, 0.04829060658812523, 0.0010714330710470676, -0.009321946650743484, 0.00319483014754951, -0.002028397750109434, 0.0008779076742939651, 0.0009738488588482141, -0.007488102652132511, 0.01262414176017046, -0.01731206476688385, 0.015699423849582672, -0.0074316891841590405, 0.031983572989702225, -0.012715265154838562, 0.011366934515535831, 0.020185677334666252, 0.021689116954803467, 0.010437839664518833, 0.012763981707394123, 0.029563063755631447, -0.01477978564798832, -0.006627351511269808, -0.009189289063215256, 0.006773093249648809, 0.06004937365651131, -0.013201362453401089, -0.01575831137597561, -0.015330352820456028 ]
c-implicit-operator
https://markhneedham.com/blog/2009/02/22/c-implicit-operator
false
2009-02-25 23:12:57
C#: Wrapping DateTime
[ "c", "net" ]
[ ".NET" ]
I think it was http://darrenhobbs.com/[Darren Hobbs] who first introduced me to the idea of wrapping dates in our system to describe what that date actually means in our context, and after suffering the pain of passing some unwrapped dates around our code I think I can safely say that wrapping them is the way to go. The culprit was a date of birth which was sometimes being created from user input and sometimes being retrieved from another system. The initial (incorrect) assumption was that we would be passing around the date in the same string format and there was no point wrapping the value as we were never doing anything with the data. It proved to be a bit of a nightmare trying to work out which state the data of birth was in various parts of the application and we ended up doing conversions to the wrong format and then undoing those and losing the formatting in other places! Step 1 here was clearly not to pass around the date as a string but instead to convert it to a DateTime as soon as possible. This is much more expressive but we can take this one step further by wrapping that date time in a DateOfBirth class. [source,csharp] ---- public class DateOfBirth { private DateTime? dateOfBirth public DateOfBirth(DateTime? dateOfBirth) { this.dateOfBirth = dateofBirth; } public string ToDisplayFormat() { return dateOfBirth == null ? "" : dateOfBirth.Value.ToString("dd MMM yyyy"); } } ---- When we want to display this object on the page we just have to call the ToDisplayFormat() and if that date format needs to change then we have only one place to make that change. Creating this class removed at least 3 or 4 'DateTime.Parse(...)' and 'DateTime.ToString(...)' calls throughout the code. Now we could achieve the same functionality using an extension method on DateTime? but it's not as expressive as this in my opinion. It is also really obvious when looking at the code to know what type we are dealing with and it is really obvious when reading this class which method we will use to get the format to display to the user. I will certainly be looking to wrap any DateTimes I come across in future.
null
null
[ 0.0038307826034724712, -0.026305628940463066, -0.01738852448761463, 0.017171863466501236, 0.06935153901576996, 0.004492298699915409, 0.03975040838122368, 0.025832541286945343, 0.007033832371234894, -0.019522706046700478, -0.002196849789470434, -0.008175835944712162, -0.06232955679297447, 0.027536194771528244, -0.029485737904906273, 0.09272827208042145, 0.06824938952922821, -0.04450499638915062, 0.028102582320570946, -0.0021877388935536146, 0.00107087311334908, 0.021455969661474228, -0.04027875140309334, 0.034573886543512344, 0.02145788073539734, 0.027015339583158493, -0.009898397140204906, -0.013917920179665089, -0.05302724614739418, -0.003166165901347995, 0.03897034749388695, 0.02277454175055027, -0.003590750740841031, 0.019402338191866875, 0.019883500412106514, -0.04152819514274597, -0.04628042131662369, 0.00743078300729394, 0.017887840047478676, 0.04501073807477951, -0.08156518638134003, -0.0012393222423270345, 0.01956276036798954, -0.01520401332527399, -0.064786396920681, -0.01178649254143238, -0.011718813329935074, 0.01562698930501938, -0.04453479126095772, 0.001190793002024293, -0.05684478580951691, 0.025018788874149323, -0.026893986389040947, 0.024408776313066483, 0.021322455257177353, 0.03242321312427521, 0.018456457182765007, -0.06970640271902084, 0.005876877810806036, -0.047660134732723236, 0.04407420754432678, -0.021329758688807487, 0.0016411147080361843, 0.010443535633385181, 0.012780161574482918, -0.023037659004330635, -0.01931808330118656, 0.049971651285886765, -0.028355246409773827, -0.019902460277080536, -0.02200072817504406, 0.004987896885722876, -0.0004482811491470784, -0.025621818378567696, 0.008061266504228115, -0.03452595695853233, -0.0004263974551577121, 0.037730298936367035, 0.0142420195043087, 0.04807029291987419, -0.01408655196428299, 0.01241627149283886, 0.07512867450714111, 0.02524169348180294, 0.01561043318361044, -0.0177777037024498, -0.04612192139029503, -0.006086171604692936, -0.028301352635025978, 0.04214227572083473, 0.02615232951939106, -0.017783675342798233, 0.03927789255976677, 0.028487015515565872, -0.004962960723787546, 0.006885632872581482, -0.00970288272947073, -0.002184549579396844, -0.0027916396502405405, -0.0006067248759791255, -0.043393101543188095, -0.02216796576976776, 0.04080120846629143, 0.010965265333652496, -0.05595189332962036, -0.041275426745414734, -0.04754502326250076, -0.006887666881084442, 0.02295893058180809, 0.009381814859807491, -0.0554766021668911, 0.028422852978110313, -0.019251065328717232, 0.0037668803706765175, -0.04742560163140297, 0.03657170757651329, 0.012389625422656536, -0.014378131367266178, -0.04782126471400261, 0.017084475606679916, 0.03772975876927376, 0.006441630423069, -0.000022317182811093517, 0.059451889246702194, 0.0009120127651840448, 0.06059679388999939, -0.010993984527885914, 0.06975851207971573, -0.021095363423228264, -0.06842868775129318, -0.01020070817321539, 0.048385877162218094, 0.0023691889364272356, -0.005391478072851896, 0.0109120337292552, -0.03975823521614075, 0.0012563684722408652, 0.009387952275574207, 0.036009952425956726, 0.035534199327230453, -0.020469695329666138, -0.0503864623606205, 0.011148139834403992, -0.0158550962805748, 0.00555307837203145, 0.03577966243028641, -0.020122041925787926, -0.0246950164437294, -0.035409893840551376, 0.03528258204460144, 0.0385778434574604, 0.031046096235513687, 0.05207129940390587, -0.04130459949374199, 0.019371742382645607, 0.06767604500055313, -0.008792301639914513, 0.0037188134156167507, -0.0011150503996759653, 0.018538547679781914, 0.03632233664393425, 0.03543858602643013, -0.004262309055775404, 0.030136441811919212, 0.02610725164413452, -0.0038406390231102705, 0.04322754964232445, 0.026789754629135132, -0.04132156819105148, -0.022472860291600227, -0.07883401215076447, -0.022387519478797913, 0.05274008959531784, -0.06426820158958435, -0.02311265654861927, 0.04593779146671295, 0.08740750700235367, 0.003028471488505602, 0.050546418875455856, -0.0013192882761359215, -0.07351777702569962, 0.030278168618679047, 0.005202611442655325, 0.03396354615688324, -0.005084844306111336, 0.007582344114780426, 0.04319977015256882, 0.016209755092859268, -0.004806492943316698, 0.03206643462181091, -0.07421857118606567, -0.05434609204530716, -0.03338182345032692, -0.032545045018196106, 0.04437747597694397, -0.06297294050455093, 0.015870220959186554, 0.08492393046617508, -0.002986710285767913, 0.05615846440196037, 0.016431722790002823, 0.0052474020048975945, -0.03030201978981495, -0.03060893714427948, -0.031462687999010086, 0.028462233021855354, 0.05220950022339821, 0.008176480419933796, 0.015535124577581882, 0.0018117420841008425, -0.013828692026436329, 0.020197812467813492, 0.02813692018389702, 0.004135515540838242, 0.016597919166088104, 0.039792414754629135, 0.038672640919685364, -0.034117817878723145, 0.05608365684747696, -0.07804365456104279, 0.01280493475496769, 0.010991936549544334, -0.013742860406637192, -0.04925833269953728, -0.0013859651517122984, 0.13952653110027313, 0.0413619764149189, -0.02048702910542488, -0.03715042769908905, 0.008790072053670883, 0.010720652528107166, -0.0395052470266819, 0.0053835720755159855, -0.011594059877097607, 0.009670158848166466, 0.032646242529153824, -0.03253217414021492, -0.022446902468800545, 0.0028631314635276794, -0.022255171090364456, 0.027288641780614853, 0.0786951407790184, -0.02403433620929718, 0.054092418402433395, -0.03245854377746582, -0.018238583579659462, -0.01098867692053318, -0.028353983536362648, -0.04454457387328148, 0.03666197881102562, 0.019781574606895447, 0.006450999062508345, 0.0704863965511322, 0.007264678832143545, -0.023189861327409744, 0.008316924795508385, -0.07153546065092087, 0.029798809438943863, 0.03464677184820175, 0.049293410032987595, 0.004419135395437479, 0.045898325741291046, -0.010632169432938099, 0.01290432084351778, -0.018492914736270905, -0.03267384693026543, -0.005730006843805313, 0.026549208909273148, -0.00865842029452324, 0.03917424753308296, -0.00035246030893176794, -0.005089947488158941, 0.01582775078713894, 0.030045395717024803, -0.03591882064938545, -0.037403132766485214, 0.06583376973867416, -0.010325864888727665, -0.03879762813448906, -0.028064964339137077, -0.02684622071683407, 0.03604629263281822, -0.05142612382769585, -0.060226377099752426, -0.0033348924480378628, -0.07024763524532318, 0.041074201464653015, -0.0398925356566906, -0.0477258637547493, -0.008229134604334831, 0.020190134644508362, 0.04275970533490181, 0.018649013713002205, 0.036869000643491745, 0.1146121621131897, 0.022640472277998924, 0.023964695632457733, 0.0006499738665297627, 0.02814098447561264, 0.021965526044368744, 0.005505767185240984, 0.009153368882834911, 0.08650505542755127, -0.012366137467324734, -0.011871379800140858, -0.04149651527404785, 0.020266138017177582, -0.012839455157518387, -0.2610071301460266, 0.018416190519928932, -0.03539783135056496, -0.044018156826496124, 0.03540528938174248, -0.007338544353842735, 0.05322545766830444, -0.048466142266988754, -0.0069572292268276215, 0.04530496895313263, -0.0005471117910929024, -0.04335816577076912, -0.04618673026561737, 0.02862222120165825, 0.0230187326669693, -0.011352629400789738, 0.007493276614695787, -0.045099176466464996, -0.0007595372735522687, 0.029465477913618088, 0.005971940234303474, -0.06845277547836304, 0.000686498882714659, 0.07582061737775803, 0.03764337673783302, 0.04589993134140968, -0.05913114920258522, 0.035989388823509216, -0.04315702244639397, -0.01075999066233635, 0.011206244118511677, -0.007597988937050104, 0.031992003321647644, -0.03248615190386772, -0.025489337742328644, -0.02939176745712757, 0.0014131260104477406, 0.02183983102440834, 0.006759955082088709, 0.01592419482767582, -0.03965216502547264, -0.07777366787195206, -0.02093595452606678, 0.020949097350239754, 0.06969716399908066, -0.00942391250282526, -0.03738813102245331, 0.00915940385311842, -0.027034606784582138, 0.07228006422519684, -0.02064565196633339, -0.0647449865937233, -0.0003054241824429482, 0.004800041671842337, -0.01632794737815857, -0.042244698852300644, -0.006968274246901274, 0.004866285715252161, -0.02478746697306633, -0.040344979614019394, -0.000710860884282738, -0.046070296317338943, -0.00806165300309658, -0.03243467956781387, -0.023280009627342224, -0.07506255805492401, -0.05912528559565544, 0.0013039500918239355, 0.07191386818885803, 0.07819388061761856, -0.006361834239214659, -0.013774867169559002, -0.007535570301115513, -0.1131942942738533, 0.04168257862329483, -0.04792523756623268, -0.025516802445054054, -0.039259348064661026, -0.010316257365047932, 0.007492790464311838, -0.03464166820049286, -0.038543347269296646, 0.05044292286038399, 0.031371816992759705, 0.028625790029764175, -0.007347092032432556, 0.01668088138103485, -0.025715433061122894, -0.023625776171684265, -0.014128807000815868, 0.06781142950057983, -0.0009472238598391414, -0.017188509926199913, -0.02319209836423397, -0.0053216018714010715, 0.02541707083582878, -0.011561346240341663, -0.006297293584793806, 0.019455671310424805, -0.008485174737870693, 0.03446246311068535, -0.05081889033317566, 0.015196803025901318, -0.034206125885248184, -0.008463465608656406, -0.04539503529667854, -0.059661880135536194, 0.02916059084236622, 0.009669791907072067, -0.0036920979619026184, 0.007231027353554964, -0.017552724108099937, -0.012809611856937408, -0.061713170260190964, -0.03587452694773674, -0.01999548450112343, 0.01694295182824135, 0.0195088442414999, -0.009196201339364052, -0.032876793295145035, -0.03153899684548378, -0.0015613995492458344, 0.01752546988427639, 0.017861580476164818, -0.06249914690852165, -0.034449104219675064, -0.009409142658114433, 0.001601910567842424, 0.0381447970867157, 0.02230142615735531, -0.02192789874970913, 0.0183782447129488, 0.02215154841542244, -0.01355630625039339, 0.02804463915526867, 0.012235533446073532, 0.00941208191215992, -0.0568072646856308, -0.02700532227754593, -0.008095216937363148, 0.04190566763281822, -0.00794343464076519, -0.008492358028888702, 0.007260501850396395, 0.029340529814362526, 0.007297398988157511, 0.03324639052152634, 0.010267775505781174, -0.0020265737548470497, 0.024273715913295746, 0.002153265755623579, -0.07989701628684998, 0.006378126796334982, -0.05147385597229004, -0.06664662063121796, 0.011636876501142979, 0.04776567220687866, 0.0006612989236600697, -0.038412436842918396, -0.03600793331861496, 0.010205190628767014, -0.062416769564151764, -0.0362853966653347, -0.028129570186138153, -0.015961358323693275, 0.059351034462451935, -0.019505949690937996, 0.05360701307654381, -0.003968548495322466, -0.012761016376316547, -0.001683314680121839, -0.0015419567935168743, -0.042578160762786865, 0.030203530564904213, 0.016397247090935707, -0.03508354723453522, 0.009902311488986015, 0.0028877602890133858, 0.04521968588232994, 0.027303973212838173, 0.02067052572965622, -0.01860501989722252, 0.00981224700808525, -0.027942094951868057, 0.04037463292479515, 0.051939647644758224, 0.008920670486986637, -0.013973408378660679, -0.07050560414791107, -0.013856146484613419, -0.044242892414331436, -0.03166231885552406, -0.017685946077108383, 0.009041914716362953, -0.040318563580513, -0.0673784390091896, 0.023656044155359268, 0.019522836431860924, 0.04174472764134407, 0.026674246415495872, 0.0012343061389401555, 0.013820924796164036, -0.03485585004091263, 0.04192666709423065, 0.03587358817458153, -0.036995597183704376, 0.003858249867334962, 0.003577849827706814, 0.020156605169177055, 0.017972996458411217, 0.035681381821632385, -0.019617272540926933, 0.007021433208137751, -0.04936172440648079, -0.010497137904167175, -0.025782791897654533, -0.03092264197766781, -0.021267980337142944, 0.029883643612265587, 0.008114146068692207, 0.016054458916187286, -0.01687086746096611, -0.021083541214466095, 0.009474460035562515, -0.015329369343817234, 0.028879569843411446, -0.03114992566406727, -0.012209197506308556, 0.03888260945677757, -0.016281304880976677, 0.013583589345216751, -0.0360138900578022, -0.001974895130842924, 0.00298054120503366, -0.06435025483369827, -0.06291160732507706, -0.06603197008371353, 0.022690173238515854, 0.0015567238442599773, 0.07506505399942398, 0.018096523359417915, -0.0332392156124115, -0.022702038288116455, -0.013126358389854431, -0.01999068632721901, 0.022784987464547157, -0.010180680081248283, -0.002102307043969631, -0.008333386853337288, 0.06415729969739914, 0.017965450882911682, 0.020898232236504555, -0.013544531539082527, -0.02394222654402256, 0.04840540885925293, -0.04577064886689186, -0.03249653801321983, -0.018433768302202225, -0.06604550778865814, 0.014529231004416943, 0.009132006205618382, 0.00916701927781105, -0.012426705099642277, 0.044674910604953766, 0.03910084441304207, 0.050506528466939926, 0.06825945526361465, 0.022562915459275246, 0.03192349523305893, -0.010994247160851955, 0.004294534679502249, -0.05875828117132187, 0.03541075810790062, 0.024042446166276932, 0.04627681523561478, -0.020514139905571938, -0.02000265195965767, -0.022400112822651863, 0.036621034145355225, -0.07566391676664352, -0.04126419872045517, 0.005625520832836628, 0.006361132487654686, -0.0016727186739444733, 0.03001205250620842, -0.04696446657180786, 0.024250976741313934, 0.03105761669576168, -0.03039495088160038, -0.05229315161705017, -0.018905943259596825, 0.07457177340984344, 0.014223741367459297, 0.02090892195701599, -0.050254736095666885, 0.025284146890044212, 0.057372838258743286, 0.009544421918690205, 0.042587216943502426, 0.02591029927134514, -0.009476904757320881, 0.04477546364068985, 0.02498374879360199, -0.01629588007926941, -0.030640019103884697, -0.013783996924757957, -0.014983003959059715, -0.057977430522441864, -0.008069461211562157, 0.02960904687643051, -0.028510332107543945, -0.013321581296622753, 0.06902790814638138, 0.0030976685229688883, -0.023887576535344124, -0.028792817145586014, 0.001448933850042522, -0.018497630953788757, -0.002965003252029419, -0.02568952925503254, 0.018730750307440758, -0.012444454245269299, 0.06867280602455139, 0.020525729283690453, 0.0010420597391203046, 0.064864382147789, -0.004538144916296005, 0.012929895892739296, 0.00012875255197286606, 0.07148405909538269, 0.06363918632268906, 0.06063907593488693, 0.02264486812055111, 0.054692331701517105, -0.011451474390923977, -0.054186150431632996, 0.01999560184776783, -0.04899558424949646, -0.01607198268175125, -0.014368782751262188, 0.013108713552355766, 0.06738700717687607, -0.011093296110630035, 0.04375310614705086, -0.027787569910287857, -0.005728601943701506, -0.014448420144617558, 0.04286794736981392, 0.010080949403345585, -0.006355703808367252, 0.007252370938658714, -0.01918909139931202, -0.001323727541603148, -0.0507328137755394, 0.055232055485248566, 0.01636277697980404, 0.01254795491695404, 0.01635870337486267, 0.009142029099166393, -0.00520312087610364, -0.03675805777311325, 0.04445431008934975, 0.07345464080572128, -0.009028316475450993, -0.016792476177215576, 0.01308445818722248, 0.021683258935809135, 0.01100575365126133, -0.026050809770822525, -0.010372459888458252, -0.024938814342021942, -0.025095472112298012, -0.0033930507488548756, 0.005697918124496937, -0.0040443227626383305, -0.04489044100046158, 0.057937994599342346, -0.03231290727853775, 0.02342262491583824, 0.005037541035562754, -0.03360229358077049, -0.06289725750684738, -0.03480352461338043, -0.058076635003089905, -0.008971848525106907, -0.07624160498380661, -0.03174050152301788, 0.04646092653274536, -0.022851597517728806, -0.016652274876832962, 0.0034083002246916294, -0.0012360994005575776, -0.014522615820169449, 0.02800743654370308, -0.049018509685993195, -0.028620142489671707, 0.0337853729724884, 0.032142508774995804, 0.049452103674411774, 0.05299986153841019, 0.03395888954401016, 0.0013866267399862409, -0.013926597312092781, -0.05173036828637123, -0.015496485866606236, 0.04463787376880646, 0.01572815515100956, 0.018760498613119125, -0.07559236139059067, 0.021786978468298912, 0.0074911038391292095, -0.037242162972688675, -0.07554270327091217, 0.013780884444713593, 0.022893302142620087, -0.004040095489472151, 0.03746179863810539, -0.01893286406993866, -0.023439921438694, -0.03142950311303139, -0.028602536767721176, 0.02092393860220909, 0.015198568813502789, 0.05107446759939194, -0.02871210314333439, 0.08390336483716965, 0.07332028448581696, -0.02694898098707199, -0.0291448924690485, -0.031132852658629417, 0.02320033311843872, 0.018903682008385658, -0.034695815294981, -0.035485900938510895, -0.04002675041556358, -0.0427066795527935, 0.0005693291313946247, 0.02647227793931961, -0.021619565784931183, -0.03562445938587189, 0.030773159116506577, 0.038178641349077225, -0.05695740878582001, 0.0065009393729269505, -0.03797989338636398, 0.002098242286592722, -0.02534712292253971, -0.010617132298648357, -0.008913838304579258, 0.02344260923564434, -0.03237950801849365, -0.021358758211135864, 0.0041973777115345, -0.0474080927670002, -0.02180776186287403, -0.023563558235764503, 0.006862410809844732, 0.036561641842126846, -0.006037019658833742, 0.01433990616351366 ]
[ -0.07551325112581253, 0.008751827292144299, -0.013189560733735561, -0.03290005400776863, 0.024203147739171982, -0.07209189981222153, -0.01789945177733898, -0.005918727722018957, -0.014443730935454369, -0.0016294264933094382, 0.015059580095112324, -0.014795438386499882, -0.016922209411859512, 0.006223998032510281, 0.040748484432697296, 0.011776854284107685, -0.061020366847515106, -0.04637547582387924, -0.02769593335688114, 0.043806057423353195, 0.06967473030090332, 0.03635818883776665, -0.07278888672590256, -0.02908533439040184, 0.04248783737421036, 0.06771128624677658, 0.01316729374229908, -0.08077584952116013, -0.009088350459933281, -0.16390280425548553, 0.014370175078511238, -0.01928548328578472, 0.02577093616127968, -0.02206476218998432, -0.0027433582581579685, -0.00792711228132248, 0.07242224365472794, 0.06677360087633133, -0.0165054053068161, 0.060628268867731094, 0.013917318545281887, 0.01422826573252678, -0.05323120579123497, -0.03360277786850929, 0.008677839301526546, 0.016722965985536575, -0.038462284952402115, -0.00039232108974829316, 0.007965728640556335, 0.05096655339002609, -0.029371514916419983, 0.03245896100997925, -0.03836652263998985, -0.02011079341173172, -0.02053705044090748, 0.02730652317404747, 0.0441344678401947, 0.04125411435961723, 0.023070450872182846, 0.0238934438675642, 0.0038593849167227745, -0.030242042616009712, -0.1403026580810547, 0.11379943042993546, -0.01751643978059292, 0.024004416540265083, -0.0003190327261108905, 0.0029992391355335712, -0.018858669325709343, 0.05811796709895134, 0.013294662348926067, -0.02937975339591503, -0.005487611051648855, 0.05085187405347824, 0.02347012609243393, -0.04672522842884064, 0.019034629687666893, -0.018075963482260704, 0.05451936647295952, -0.017913134768605232, -0.05846278369426727, -0.010385680012404919, 0.05003369599580765, -0.033125780522823334, 0.0018650693818926811, 0.009599405340850353, 0.0064353300258517265, -0.009035209193825722, 0.020511941984295845, 0.03791654855012894, 0.04100782051682472, -0.04904927685856819, -0.0037130163982510567, 0.02526726759970188, -0.07074339687824249, 0.005019970238208771, 0.0077407099306583405, 0.02024385705590248, -0.03886454924941063, 0.40678712725639343, -0.07890846580266953, -0.022547734901309013, 0.009070567786693573, 0.04889184236526489, -0.043836984783411026, 0.006512504070997238, -0.003567456966266036, -0.06178456172347069, -0.007642148993909359, -0.0614546462893486, -0.031103059649467468, -0.0016054112929850817, 0.04930786043405533, -0.058163631707429886, -0.008922307752072811, 0.011937269009649754, 0.013896111398935318, -0.0011905485298484564, 0.003553995629772544, 0.03791830688714981, 0.021399810910224915, 0.012134545482695103, 0.027513010427355766, 0.026446284726262093, -0.005798644851893187, -0.007030138745903969, 0.06240244582295418, 0.0438012070953846, 0.005672479514032602, -0.003806829219684005, 0.08004201948642731, -0.054780371487140656, -0.0823664590716362, -0.0030184099450707436, 0.010022914968430996, 0.008562789298593998, -0.004099223762750626, -0.021240640431642532, 0.01957085356116295, -0.022062910720705986, -0.0242568701505661, -0.05556581914424896, 0.01770942285656929, 0.011916923336684704, -0.07709241658449173, 0.1358572244644165, -0.011025582440197468, -0.008307848125696182, -0.013633597642183304, -0.01796552911400795, -0.04620473086833954, 0.018581680953502655, 0.004552708473056555, -0.05751756578683853, 0.014824295416474342, 0.012007992714643478, 0.0666080117225647, 0.0052999695762991905, -0.08169117569923401, -0.007577663753181696, -0.004982758779078722, -0.012251683510839939, -0.040619030594825745, 0.0292110126465559, 0.06270863860845566, -0.09942443668842316, 0.0037364496383816004, 0.02778775990009308, 0.057536497712135315, -0.08686486631631851, -0.012729938142001629, 0.004027578979730606, -0.016439389437437057, -0.04087755084037781, 0.08455465734004974, 0.022781049832701683, 0.026358844712376595, -0.017896177247166634, 0.04231150820851326, 0.026681795716285706, 0.0071348994970321655, -0.008116530254483223, -0.07298987358808517, -0.006863264366984367, 0.0038304056506603956, -0.11704690009355545, -0.028542201966047287, -0.023607034236192703, 0.020263591781258583, -0.03918260708451271, 0.009256692603230476, -0.08194968104362488, -0.08622459322214127, 0.07075650244951248, -0.03343924507498741, -0.0158701054751873, 0.02429956942796707, 0.010426254011690617, 0.015764430165290833, -0.013803611509501934, -0.0042646401561796665, -0.021092811599373817, -0.00967235118150711, 0.042398467659950256, -0.0024538864381611347, 0.038760196417570114, 0.08463279157876968, -0.08275052905082703, 0.03446981683373451, 0.032851867377758026, -0.019104748964309692, 0.004598319996148348, 0.016332631930708885, -0.004193207249045372, -0.004313815850764513, -0.0030428022146224976, 0.023598885163664818, 0.008025654591619968, 0.0005558886332437396, 0.023836860433220863, -0.033531587570905685, -0.032503023743629456, 0.043375369161367416, -0.3390272259712219, -0.016486095264554024, 0.00707964738830924, -0.03425023704767227, 0.018565014004707336, -0.04655728489160538, -0.0028600033838301897, -0.02915000729262829, 0.013305790722370148, 0.013329336419701576, 0.07544372230768204, -0.008706464432179928, -0.022761359810829163, -0.08271273970603943, -0.0071989912539720535, 0.008967837318778038, -0.04203861206769943, -0.034137576818466187, 0.003945773933082819, 0.017499230802059174, -0.011814428493380547, -0.012005680240690708, 0.008644589222967625, -0.08494412153959274, 0.004805348347872496, -0.05520135536789894, 0.0937095507979393, -0.019901694729924202, 0.08508241176605225, -0.04003428667783737, 0.06870318204164505, -0.015095391310751438, -0.01563134603202343, -0.08857673406600952, 0.0023409349378198385, -0.050141386687755585, -0.020291447639465332, 0.009133560582995415, 0.037161096930503845, -0.024440456181764603, -0.018065830692648888, -0.017346037551760674, -0.005544140003621578, -0.029190905392169952, 0.01495999377220869, 0.009299642406404018, 0.04784884303808212, -0.0640396997332573, 0.007838179357349873, 0.06715092062950134, 0.014264566823840141, -0.031722214072942734, 0.026514509692788124, 0.03451117128133774, 0.009265413507819176, -0.03427829220890999, -0.04629356786608696, -0.0003510575043037534, 0.0136996665969491, 0.004086241591721773, 0.0017127053579315543, 0.05901617929339409, 0.021342163905501366, -0.020033320412039757, -0.03505567088723183, 0.039277877658605576, -0.003866502782329917, -0.034322548657655716, -0.013973872177302837, -0.012385291047394276, -0.024274857714772224, 0.10333472490310669, -0.042592935264110565, -0.03878158703446388, 0.025936981663107872, 0.05438317731022835, -0.027368802577257156, 0.03481046110391617, 0.03029278665781021, 0.005961229559034109, 0.005811537615954876, 0.003715967293828726, 0.06744764000177383, 0.004382000770419836, 0.023685593158006668, 0.0075830454006791115, -0.0019761642906814814, 0.013316724449396133, 0.015070621855556965, -0.029401704668998718, -0.015981001779437065, -0.033126771450042725, 0.004768408369272947, -0.054835446178913116, 0.07185572385787964, -0.059225067496299744, -0.2583988606929779, 0.031363338232040405, 0.08114569634199142, 0.03421943262219429, 0.012517904862761497, 0.004067845176905394, -0.014356064610183239, -0.012685048393905163, -0.017352541908621788, 0.02278653159737587, 0.005904984660446644, 0.023449532687664032, 0.013310905545949936, -0.01049407571554184, 0.04100143164396286, 0.016764897853136063, 0.03642907738685608, -0.014943215996026993, -0.01231189165264368, 0.012033453211188316, 0.03943653404712677, -0.023517554625868797, 0.15738914906978607, 0.02900083176791668, 0.04700552672147751, 0.005089361686259508, -0.001395616796799004, 0.016186412423849106, 0.1353246122598648, 0.04230562970042229, 0.010370087809860706, -0.001688295742496848, 0.058771342039108276, 0.03897649794816971, 0.024197446182370186, -0.09949514269828796, -0.010745666921138763, 0.0425337553024292, 0.04625188559293747, -0.012934311293065548, 0.003675993997603655, 0.02169489674270153, -0.07238110154867172, 0.003038770752027631, 0.08697240054607391, 0.05215621367096901, -0.015406609512865543, -0.025805257260799408, -0.015458819456398487, -0.035983964800834656, -0.009626290760934353, -0.018165720626711845, -0.029277723282575607, -0.004751012194901705, -0.006526436191052198, 0.05262066796422005, 0.027802791446447372, -0.04598991200327873, -0.014846259728074074, 0.04903590679168701, 0.03693384304642677, -0.014732359908521175, 0.0873987004160881, 0.019910885021090508, 0.030456803739070892 ]
[ -0.01604006253182888, 0.029274338856339455, 0.023024752736091614, 0.0010755496332421899, -0.0153335677459836, 0.046856217086315155, -0.04240565747022629, 0.029345067217946053, 0.0020456300117075443, -0.007882185280323029, -0.041967906057834625, -0.024072980508208275, -0.03741154074668884, -0.05208108201622963, 0.015782978385686874, -0.015697358176112175, -0.00043278231169097126, -0.04158438742160797, 0.03922783210873604, 0.009787997230887413, -0.009289814159274101, -0.0043024043552577496, 0.005293523892760277, 0.009123395197093487, -0.01592411659657955, 0.010302502661943436, 0.0054421816021203995, -0.038397010415792465, -0.0036391939502209425, -0.1090201586484909, -0.04393939673900604, 0.01451767049729824, -0.04060116410255432, -0.028909217566251755, -0.002789989346638322, 0.01533016748726368, 0.02361164428293705, 0.06442046910524368, 0.0037350207567214966, 0.0017066244035959244, -0.01986907422542572, -0.02071971632540226, 0.02502349764108658, 0.037476614117622375, 0.017716674134135246, -0.005359781440347433, 0.006099403835833073, -0.02042318321764469, -0.05907220020890236, 0.015902169048786163, -0.009136984124779701, -0.016867509111762047, -0.02521422505378723, 0.021432362496852875, 0.01013659406453371, -0.011022526770830154, -0.0222966019064188, -0.006101509090512991, -0.015856169164180756, 0.01662576198577881, -0.03614698350429535, 0.023297250270843506, -0.0329732745885849, -0.010176836512982845, 0.026120882481336594, -0.01997974142432213, 0.01981843262910843, 0.0005373558378778398, 0.017796989530324936, -0.026837391778826714, -0.002307865070179105, 0.036218393594026566, 0.0086497962474823, 0.05687360465526581, -0.035302892327308655, 0.0005884113488718867, 0.012196344323456287, -0.006008982192724943, 0.014673667959868908, -0.01630529761314392, -0.030842643231153488, 0.0028411957900971174, 0.03483330458402634, 0.03635246679186821, 0.009298054501414299, -0.0506361685693264, -0.017663713544607162, 0.03534681722521782, -0.027565063908696175, -0.028961097821593285, -0.023129019886255264, 0.010168477892875671, 0.017842162400484085, 0.02933567203581333, -0.07654976099729538, 0.01791519485414028, -0.03162524476647377, -0.007375368382781744, 0.016969788819551468, 0.813990592956543, -0.02772417850792408, 0.04822034761309624, -0.010164741426706314, 0.043131664395332336, 0.02933366969227791, -0.009502815082669258, -0.023409700021147728, -0.02563151717185974, -0.02312926948070526, -0.019479814916849136, 0.031247394159436226, 0.015131654217839241, 0.0011761432979255915, 0.02185211144387722, 0.022021543234586716, 0.014797822572290897, 0.0034683055710047483, 0.010422860272228718, 0.01704193651676178, 0.016447613015770912, -0.004047728143632412, 0.02000124379992485, -0.024059217423200607, -0.0377681665122509, -0.0065344939939677715, -0.14674444496631622, 0.05749376118183136, -6.759376839924258e-33, 0.029016589745879173, -0.023300377652049065, 0.04147055372595787, -0.003291540779173374, 0.024931911379098892, 0.032569967210292816, -0.007847319357097149, -0.001123838359490037, 0.05110524967312813, -0.02760906331241131, 0.009064313024282455, -0.07170803099870682, 0.007561726029962301, -0.07744017988443375, 0.047160908579826355, 0.009880650788545609, -0.02051587775349617, 0.03757043182849884, 0.012355014681816101, 0.04992738366127014, 0.00807089265435934, -0.0009438752313144505, 0.03558814525604248, -0.03859664499759674, 0.01223134994506836, 0.021491840481758118, 0.0008160428842529655, 0.02073710784316063, 0.0011010444723069668, -0.04820219799876213, 0.02404032088816166, -0.020371248945593834, 0.003672970226034522, 0.01856830157339573, 0.05232121795415878, -0.03892822936177254, -0.040891170501708984, 0.004057564772665501, -0.041097838431596756, 0.03933635354042053, -0.07463192939758301, -0.04682351276278496, -0.014048144221305847, -0.01932927407324314, -0.00804809294641018, 0.013349125161767006, 0.011255475692451, 0.007786773145198822, 0.01926569826900959, 0.01613214984536171, -0.009148448705673218, 0.040969520807266235, -0.007617579307407141, -0.04348171129822731, -0.03139732405543327, 0.032022155821323395, 0.029144110158085823, -0.01820848137140274, 0.0007913705776445568, -0.007911833934485912, 0.042504340410232544, -0.002684767823666334, 0.0002386686101090163, -0.03614551201462746, -0.04224793612957001, -0.014348450116813183, 0.0666305348277092, -0.040714312344789505, 0.043352313339710236, -0.018071254715323448, -0.055130861699581146, 0.001903631491586566, -0.01908748224377632, 0.004536075983196497, 0.0016268831677734852, 0.01971011981368065, 0.08178635686635971, 0.015742838382720947, 0.038788583129644394, -0.015683988109230995, 0.03340556100010872, -0.02973661944270134, 0.04472355172038078, -0.008909499272704124, -0.00202465383335948, -0.018911099061369896, 0.00653273006901145, 0.027802618220448494, 0.021128572523593903, 0.01187986135482788, 0.03258981555700302, -0.002466203412041068, -0.021884934976696968, -0.015000560320913792, 0.016237420961260796, 6.918767261740037e-33, 0.02717842534184456, -0.02563721500337124, -0.040729448199272156, 0.008883991278707981, 0.025894969701766968, -0.049493931233882904, -0.025574592873454094, 0.0953635722398758, -0.04387650266289711, 0.02550121769309044, 0.04490913450717926, 0.0210715401917696, -0.04303879290819168, 0.023325318470597267, 0.037918560206890106, 0.006463333033025265, 0.05530247464776039, -0.023914732038974762, -0.004527256824076176, -0.040616873651742935, -0.017865382134914398, 0.021988919004797935, 0.0006122862105257809, -0.03240922838449478, 0.04788867011666298, 0.02601892128586769, -0.008321219123899937, 0.018487989902496338, 0.024646373465657234, 0.03369498252868652, -0.0069182757288217545, -0.015648657456040382, 0.019395265728235245, -0.044524531811475754, -0.039311524480581284, 0.024204710498452187, 0.008503848686814308, -0.03523814678192139, 0.03015327639877796, 0.012609120458364487, -0.03174789249897003, 0.0020788353867828846, -0.03186793252825737, -0.0008714829455129802, -0.029558904469013214, 0.05332591012120247, -0.01956111378967762, 0.024369215592741966, 0.020399555563926697, 0.022147295996546745, 0.01352425292134285, -0.017790982499718666, -0.012990184128284454, -0.012838865630328655, 0.013580752536654472, -0.021791256964206696, -0.007357667200267315, -0.03327247127890587, -0.02213127352297306, -0.009036729112267494, -0.039335671812295914, 0.0002576659608166665, -0.016234038397669792, -0.009271453134715557, -0.027209140360355377, 0.005528805311769247, -0.026644473895430565, -0.032086241990327835, -0.008823619224131107, 0.002987051382660866, -0.009888559579849243, -0.03792275860905647, -0.0326814167201519, 0.03509577736258507, 0.014628371223807335, -0.025634488090872765, -0.0020221839658915997, 0.03152748569846153, -0.043875858187675476, 0.005315741989761591, 0.007881948724389076, 0.025643277913331985, 0.00638251006603241, 0.019078683108091354, -0.03311287984251976, -0.0012023752788081765, -0.034114956855773926, -0.013105682097375393, -0.015026254579424858, -0.03810670226812363, -0.0319671630859375, -0.005069637205451727, -0.04098686948418617, 0.0483926497399807, -0.004877190105617046, -1.2762714440839318e-8, -0.00045193525147624314, 0.03157912194728851, -0.014962094835937023, -0.003349202685058117, -0.009744799695909023, -0.016806352883577347, -0.022876892238855362, -0.026323262602090836, 0.037171851843595505, 0.023601748049259186, 0.05237111449241638, -0.003959875088185072, 0.018007464706897736, -0.022018956020474434, 0.005417352542281151, -0.015485853888094425, -0.060050223022699356, -0.013521729037165642, 0.0033412764314562082, 0.012946496717631817, 0.05700968578457832, -0.007779107429087162, 0.009409724734723568, -0.014562413096427917, 0.04050538316369057, 0.04681471362709999, -0.004504675045609474, -0.02080748975276947, 0.04207305610179901, 0.018891409039497375, 0.053314875811338425, -0.009337225928902626, 0.0053895385935902596, -0.01988040655851364, -0.0462588369846344, -0.04936734586954117, -0.01616024784743786, 0.0029178434051573277, -0.012015031650662422, 0.053349222987890244, 0.037595998495817184, -0.0036375517956912518, -0.016429074108600616, 0.01231392752379179, -0.0014061285182833672, -0.020179688930511475, -0.0287442859262228, 0.0044029694981873035, -0.02965116687119007, -0.006417517550289631, -0.04395843669772148, 0.036801423877477646, 0.006828986573964357, 0.02126840129494667, 0.020675186067819595, 0.0026810294948518276, 0.03476499393582344, -0.0061534554697573185, -0.02776642143726349, 0.03814631700515747, -0.014536937698721886, -0.012080444023013115, 0.0059941597282886505, -0.023925356566905975 ]
c-wrapping-datetime
https://markhneedham.com/blog/2009/02/25/c-wrapping-datetime
false
2009-11-03 00:16:32
Book Club: Working Effectively With Legacy Code - Chapter 8 (Michael Feathers)
[ "book-club" ]
[ "Book Club" ]
In our latest technical book club we discussed chapter 8 - 'How do I add a feature?' - of Michael Feather's 'http://www.amazon.co.uk/Working-Effectively-Legacy-Robert-Martin/dp/0131177052/ref=sr_1_1?ie=UTF8&s=books&qid=1257168892&sr=8-1[Working Effectively With Legacy Code]'. This chapter covers Test Driven Development and a technique I hadn't come across before called http://www.springerlink.com/content/f87155k53852761j/[Programming By Difference]. These are some of my thoughts and our discussion of the chapter: * In the section on TDD Feathers mentions the http://www.markhneedham.com/blog/2009/10/31/coding-copypaste-then-refactor/[copy/paste/refactor pattern] which I wrote about a few days ago. http://camswords.wordpress.com/[Cam] pointed out that this technique allows us to get to the green bar more quickly after which we can decide how to clean up the code. It seems like perhaps this could be added to Kent Beck's 'Green Bar Patterns' that he describes in 'http://www.markhneedham.com/blog/2008/10/07/test-driven-development-by-example-book-review/[Test Driven Development by Example]'. I've noticed a few times recently that delaying our desire to remove duplication until we can properly see where the duplication lies might be a better strategy than prematurely removing duplication and creating a meaningless abstraction which can be difficult to remove. * From the examples in the book, *programming by difference* is used to describe an approach where we create a sub class and override some aspect of the super class. It allows us to quickly add new features although it does increase the complexity of the system since we have to add a new class to achieve this. The next step after this is to refactor the code into a state where the new class' behaviour is moved elsewhere or the new class is shaped into something that makes more sense. Feathers also points out that while programming by difference may initially lead to our code being in worse shape it can also allow us to see new abstractions which we can then work towards. * I like the term '*normalised hierarchy*' with respect to the way that we create inheritance hierarchies. Feathers suggests that we should look to create a hierarchy where no class has more than one implementation of a method. i.e. http://www.markhneedham.com/blog/2009/05/06/c-using-virtual-leads-to-confusion/[if a class has a concrete implementation of a method then that shouldn't be overriden]. * Towards the end of the chapter Feathers asks whether it is overkill to create a particular class which is just acting like a properties collection at the time. We discussed this and Cam pointed out that we seem to either end up with 'complex interactions and simple objects' or 'more complicated objects and simple interactions'. From my observations it seems that http://www.markhneedham.com/blog/2009/10/23/coding-the-primitive-obsession/[we err on the side of not creating enough objects] but http://blogs.agilefaqs.com/2009/10/26/goodbye-simplicity-im-object-obsessed/[as Naresh Jain points out it is possible to go too far the other way and end up creating objects just for the sake of it]. Michael Feathers recently linked to a paper titled 'http://bit.ly/1gFXr6[Testable Java]' that he's currently working on which covers some of the ideas from the book but with examples in Java. Worth a look.
null
null
[ 0.006857213564217091, -0.002702743746340275, -0.024640001356601715, 0.03355752304196358, 0.09724597632884979, 0.007940170355141163, 0.03279964625835419, 0.01647868938744068, 0.019599899649620056, -0.029630230739712715, -0.013802039436995983, 0.0004907855181954801, -0.06507688015699387, 0.002436127746477723, -0.044815391302108765, 0.06768999248743057, 0.08419369906187057, -0.004934445023536682, 0.027178291231393814, 0.015806321054697037, 0.02575813978910446, 0.0830133929848671, 0.002621021354570985, 0.03929319977760315, 0.01419918891042471, 0.012622157111763954, 0.012524410150945187, -0.013131668791174889, -0.06527592241764069, -0.00018762114632409066, 0.04431527480483055, -0.014863729476928711, 0.0024653736036270857, -0.0070469994097948074, -0.0008663677144795656, -0.018071018159389496, -0.025341879576444626, 0.013710148632526398, 0.012940747663378716, -0.003690388984978199, -0.07935144007205963, 0.02474399283528328, -0.00827359315007925, 0.0047389185056090355, -0.05671018362045288, 0.004735040012747049, -0.049026794731616974, 0.0028100607451051474, -0.026307696476578712, -0.010229194536805153, -0.058495502918958664, 0.03214888647198677, -0.010979301296174526, -0.02455531805753708, 0.006688278634101152, 0.061833515763282776, 0.008380552753806114, -0.058258384466171265, 0.01149051170796156, -0.044100321829319, 0.003630000166594982, -0.008370989002287388, -0.005765639245510101, 0.03647150099277496, 0.0258745439350605, -0.030846349895000458, -0.021626804023981094, 0.03375145047903061, -0.028475455939769745, -0.01045613456517458, -0.003530308371409774, 0.014249642379581928, -0.018910344690084457, 0.003276660107076168, -0.005309142637997866, -0.017421072348952293, -0.008221585303544998, 0.08946989476680756, 0.015627125278115273, 0.044084805995225906, -0.0000867296548676677, 0.0293598510324955, 0.022798437625169754, 0.021557757630944252, 0.0009487245697528124, -0.037811920046806335, -0.009926303289830685, -0.020310385152697563, -0.05080712214112282, 0.06828822940587997, -0.003905512159690261, -0.08026927709579468, 0.02095566689968109, 0.06315544992685318, 0.005190584808588028, 0.020123513415455818, 0.016383659094572067, 0.00830339826643467, 0.004554250743240118, -0.012405595742166042, -0.04432372748851776, -0.03418891876935959, 0.011272492818534374, 0.006042282097041607, -0.07070910185575485, -0.005546033848077059, -0.026118092238903046, -0.027449956163764, 0.00461416644975543, 0.034565269947052, -0.039016131311655045, 0.009666782803833485, -0.025364559143781662, 0.005470634903758764, -0.09270383417606354, 0.06848898530006409, -0.00801936537027359, -0.035407088696956635, -0.007371097803115845, 0.0031055735889822245, 0.035422343760728836, 0.039032384753227234, 0.013143413700163364, 0.08474338054656982, 0.029331635683774948, 0.0375884473323822, -0.036519523710012436, 0.05715429410338402, -0.027011724188923836, -0.06652295589447021, 0.007994886487722397, 0.03871925175189972, -0.04745464399456978, 0.00479707820340991, -0.004524960182607174, 0.0017768873367458582, -0.013237722218036652, 0.008956183679401875, 0.02733471803367138, 0.0472344271838665, -0.01516250055283308, -0.03490506857633591, 0.011907627806067467, -0.007198510691523552, 0.023933881893754005, 0.00033961920416913927, -0.0053726136684417725, -0.01787697710096836, -0.02746472880244255, 0.0026662524323910475, 0.004668195266276598, 0.040311023592948914, 0.01722298376262188, -0.05023135617375374, 0.025721222162246704, 0.0933229923248291, 0.0030674294102936983, 0.01654254086315632, -0.021499028429389, 0.03476287052035332, 0.04423597827553749, 0.0399395115673542, 0.023072300478816032, 0.0196369756013155, 0.010318206623196602, 0.002515599597245455, -0.0032144899014383554, 0.03754604980349541, 0.02231254056096077, 0.005273155402392149, -0.06858000159263611, -0.03824301436543465, 0.05120227113366127, -0.044326044619083405, 0.0015873933443799615, 0.038460541516542435, 0.08408034592866898, 0.03525353968143463, 0.024486901238560677, 0.005223460029810667, -0.07687113434076309, 0.01911482959985733, 0.014689769595861435, 0.0069861579686403275, -0.0001061551010934636, -0.021202189847826958, 0.06029653921723366, 0.03347977623343468, 0.006365757901221514, 0.02047165483236313, -0.08030825108289719, -0.0809648260474205, -0.0011086533777415752, -0.03401530906558037, 0.06257171928882599, -0.026783714070916176, 0.0017209317302331328, 0.0686788409948349, 0.012679233215749264, 0.07109453529119492, 0.05677421763539314, 0.0010649956529960036, 0.0030833843629807234, -0.02881619893014431, -0.014390794560313225, 0.028882209211587906, 0.021701060235500336, -0.003805837593972683, -0.0627749115228653, 0.0010645878501236439, 0.012766635976731777, 0.0030164828058332205, 0.05101733282208443, 0.005155487917363644, 0.05012473464012146, 0.01734456792473793, 0.06446747481822968, -0.038057684898376465, 0.0619998462498188, -0.07977684587240219, -0.007361504714936018, 0.008624562062323093, -0.039313796907663345, -0.0016776430420577526, 0.006706953980028629, 0.11291268467903137, 0.05144471302628517, -0.04393632337450981, -0.025882519781589508, 0.01284884475171566, 0.010307921096682549, -0.03431280702352524, -0.01910206861793995, -0.0027375805657356977, 0.02388584613800049, -0.024095727130770683, -0.05577476695179939, -0.007403060793876648, 0.027991225942969322, -0.034820061177015305, 0.017722077667713165, 0.07949718087911606, -0.030582204461097717, 0.04532173275947571, 0.017932796850800514, -0.002538571134209633, -0.0021255058236420155, -0.004645505920052528, -0.05391713231801987, 0.011041449382901192, 0.021016912534832954, -0.005337878596037626, 0.06642770022153854, -0.06565001606941223, -0.03833600878715515, -0.010422944091260433, -0.04673696681857109, -0.005077981855720282, 0.04277750477194786, 0.04611638933420181, -0.008709689602255821, 0.050051499158144, -0.002983049489557743, 0.026451289653778076, -0.006287612020969391, -0.055325698107481, -0.019982485100626945, -0.02345115877687931, 0.02179115079343319, 0.04680173471570015, -0.013173852115869522, 0.02943512797355652, 0.00876298826187849, 0.016226092353463173, -0.030956419184803963, -0.009856205433607101, 0.0453653559088707, -0.011616961099207401, -0.020266763865947723, -0.049703750759363174, -0.053457893431186676, 0.04160742834210396, -0.042758502066135406, -0.03649178519845009, 0.007217459846287966, -0.061065346002578735, 0.06703467667102814, -0.06693515926599503, -0.04699961841106415, 0.009092514403164387, 0.018953051418066025, 0.04191603139042854, -0.010532538406550884, 0.03642900660634041, 0.07512588053941727, 0.012981077656149864, -0.0020314643625169992, -0.006692074704915285, -0.003950503189116716, 0.028384976089000702, 0.009771952405571938, -0.001738151186145842, 0.03904671594500542, 0.0009429195197299123, -0.0022385395132005215, -0.0387149304151535, 0.03256427124142647, -0.007825306616723537, -0.2701817750930786, 0.029667751863598824, -0.000014757471035409253, -0.0750902071595192, 0.022235644981265068, -0.00795029103755951, -0.00008172187517629936, -0.04683144763112068, -0.022504722699522972, 0.033653028309345245, -0.043681297451257706, -0.05567890405654907, -0.01642310991883278, 0.05946747958660126, -0.021638216450810432, 0.01998693123459816, 0.02584277093410492, -0.03558182716369629, -0.013597631826996803, 0.06841776520013809, -0.0121190520003438, -0.0749664157629013, 0.006669335532933474, 0.04062439501285553, 0.023038078099489212, 0.05816979706287384, -0.10455737262964249, 0.04332093521952629, -0.057397305965423584, -0.0031820761505514383, 0.019763393327593803, 0.007489541079849005, -0.01016780361533165, -0.00916486606001854, -0.02014077641069889, -0.0025998970959335566, 0.01918201521039009, 0.022988799959421158, -0.01466448325663805, 0.021835368126630783, -0.017404673621058464, -0.027777813374996185, -0.010849794372916222, -0.008012932725250721, 0.06697085499763489, 0.00754548329859972, -0.07623279839754105, -0.012335505336523056, -0.022962938994169235, 0.08964727818965912, -0.03951973840594292, -0.03261735290288925, 0.012783371843397617, 0.04635718837380409, -0.00989480596035719, -0.03217000141739845, 0.023364761844277382, -0.02855183556675911, -0.028574539348483086, -0.02670726180076599, -0.014784395694732666, -0.06099953129887581, 0.0013380426680669188, -0.05194106698036194, 0.008305201306939125, -0.06559011340141296, -0.06326263397932053, -0.01713309809565544, 0.06876334547996521, 0.021783756092190742, -0.0396479070186615, 0.004580245353281498, -0.005201111081987619, -0.1126500815153122, -0.019501637667417526, -0.03826390951871872, -0.017926599830389023, -0.021194657310843468, 0.01075147558003664, 0.04794492572546005, -0.016988126561045647, -0.051440633833408356, 0.017667127773165703, 0.0035397436004132032, 0.0039579556323587894, 0.006752642337232828, 0.01659461483359337, -0.006386682856827974, -0.01989533193409443, 0.002827373333275318, 0.06954411417245865, 0.0017835167236626148, -0.018285948783159256, -0.04158204793930054, 0.04398227855563164, 0.004440951626747847, 0.027885677292943, -0.015447311103343964, 0.005121323280036449, 0.027879798784852028, -0.001161983935162425, -0.05534918233752251, 0.03479384258389473, -0.0267412718385458, -0.014734013006091118, -0.01767987199127674, -0.05179140716791153, 0.014734601601958275, 0.04102813079953194, 0.018818318843841553, -0.006584761198610067, -0.03698277100920677, 0.0014788202242925763, -0.033169325441122055, -0.05852893367409706, -0.028997907415032387, 0.004334535449743271, 0.03571239858865738, -0.038013726472854614, -0.006695854943245649, -0.05495879426598549, 0.010949423536658287, -0.029000299051404, -0.010996726341545582, -0.059514328837394714, -0.045364540070295334, -0.013631375506520271, -0.025750769302248955, 0.015547222457826138, 0.015812359750270844, -0.02617388218641281, 0.01676999218761921, 0.009446125477552414, -0.04213821887969971, 0.007084844168275595, 0.00252722529694438, -0.04633626341819763, -0.016648638993501663, -0.013567623682320118, 0.0052650729194283485, -0.005086933728307486, 0.031991105526685715, 0.007904226891696453, 0.02278861030936241, 0.04143176227807999, 0.004148479085415602, 0.033407825976610184, -0.006443138234317303, 0.01758374087512493, 0.010228307917714119, 0.01791989430785179, -0.06080911308526993, 0.021714281290769577, -0.04712410643696785, -0.03948083892464638, -0.04047006368637085, 0.031303782016038895, -0.0043376958929002285, -0.02679816633462906, -0.000259924097917974, 0.02565786801278591, -0.04439308121800423, -0.026221297681331635, -0.021937767043709755, 0.013474135659635067, 0.061723072081804276, -0.024386117234826088, 0.03472984582185745, -0.013742651790380478, -0.02996058203279972, -0.006240110378712416, 0.017753714695572853, -0.06653184443712234, 0.009095171466469765, 0.024159839376807213, -0.01760149374604225, 0.0045461831614375114, -0.014796445146203041, 0.05362222343683243, 0.026355713605880737, -0.014686856418848038, -0.039837006479501724, 0.011108309961855412, 0.026030847802758217, 0.03815138712525368, -0.008196408860385418, 0.003760338295251131, -0.02079031802713871, -0.029251283034682274, -0.038099903613328934, -0.03036874160170555, 0.001310427556745708, 0.01433174591511488, 0.030307549983263016, -0.04471354931592941, -0.06847275048494339, 0.041309282183647156, 0.045234136283397675, 0.027238627895712852, -0.007722452748566866, -0.003383307484909892, 0.011426739394664764, 0.010095169767737389, 0.058038342744112015, 0.051906004548072815, -0.05323868989944458, 0.016010360792279243, -0.022057747468352318, -0.005147305317223072, -0.004947488196194172, 0.0022904789075255394, -0.054169025272130966, -0.028764519840478897, -0.00565291615203023, -0.0036803230177611113, -0.03811100870370865, -0.018542515113949776, -0.014859438873827457, 0.008128724992275238, -0.013696600683033466, -0.007722151931375265, -0.017509078606963158, 0.02859955094754696, -0.003110966645181179, -0.020530210807919502, 0.002600285690277815, -0.020657889544963837, 0.02549992874264717, 0.026407472789287567, -0.03041945770382881, 0.032113853842020035, -0.03354266658425331, 0.02122466266155243, 0.021474642679095268, -0.013160075061023235, -0.014008080586791039, -0.04955027997493744, 0.003279788652434945, 0.011282581835985184, 0.018863804638385773, -0.0019442951306700706, -0.012084580957889557, -0.029689140617847443, -0.0001540036464575678, -0.05833422765135765, 0.024237293750047684, -0.031002910807728767, -0.0330367349088192, 0.01776655577123165, 0.0678156390786171, 0.009688615798950195, 0.033782318234443665, 0.009598073549568653, 0.007606426253914833, 0.05134683847427368, -0.0827513113617897, -0.028566017746925354, -0.03750929981470108, -0.06974784284830093, 0.012738303281366825, 0.00014068963355384767, 0.048592377454042435, -0.04957545921206474, 0.037149954587221146, 0.029449110850691795, 0.032242242246866226, 0.02754945121705532, 0.010470650158822536, 0.02026737481355667, -0.043840356171131134, 0.009989087469875813, -0.08798256516456604, -0.0016000475734472275, 0.032379742711782455, 0.01627412997186184, -0.01446367148309946, -0.007928295060992241, -0.04009813815355301, 0.03956705331802368, -0.05726511776447296, -0.015505034476518631, 0.050555601716041565, 0.008134758099913597, -0.009163139387965202, 0.012231768108904362, -0.05745091289281845, 0.029811814427375793, 0.026122938841581345, -0.039618782699108124, -0.030431967228651047, -0.03537490591406822, 0.051190588623285294, 0.02692917175590992, 0.042613182216882706, -0.030314447358250618, -0.003913519438356161, 0.0666026771068573, 0.01614522375166416, 0.01231403835117817, 0.026783021166920662, -0.01733696460723877, 0.04404984414577484, 0.02536892145872116, 0.022805459797382355, -0.0034961369819939137, 0.02335174009203911, 0.009731571190059185, -0.046207305043935776, 0.01918482780456543, 0.017682945355772972, -0.019944937899708748, -0.029620451852679253, 0.055927395820617676, 0.03884883597493172, -0.011457406915724277, -0.045208681374788284, 0.015818819403648376, -0.06980448216199875, 0.007694789208471775, -0.024228660389780998, -0.006285429932177067, -0.05202966928482056, 0.05868677794933319, 0.002373005263507366, -0.019919361919164658, 0.05445202440023422, -0.021494083106517792, -0.005905020050704479, -0.03470824658870697, 0.07597304880619049, 0.07172948122024536, 0.0713164433836937, 0.01956564374268055, 0.05605820193886757, -0.0001268306514248252, -0.045910466462373734, 0.011943183839321136, 0.003085886826738715, -0.010880774818360806, -0.03529445081949234, 0.021425195038318634, 0.05509185418486595, 0.012271467596292496, 0.053237706422805786, -0.030058233067393303, -0.0024373631458729506, -0.008659548126161098, 0.016894681379199028, 0.024938112124800682, 0.08180055767297745, 0.005153153091669083, 0.033611200749874115, -0.022760918363928795, -0.03653702512383461, 0.039478953927755356, -0.03332004323601723, -0.01633305288851261, 0.030754271894693375, 0.004326718859374523, 0.02547680027782917, 0.012589221820235252, 0.04613575339317322, 0.0809258371591568, -0.024021560326218605, -0.003954403102397919, -0.009503645822405815, 0.031289055943489075, 0.012501267716288567, 0.018477099016308784, -0.02905396930873394, -0.024446284398436546, 0.008667693473398685, -0.025906195864081383, -0.03336130082607269, -0.014520034193992615, -0.0018406020244583488, 0.06398739665746689, -0.013255861587822437, -0.0013434005668386817, 0.03944825753569603, 0.016900019720196724, -0.05289214849472046, -0.06046202406287193, -0.04454544931650162, -0.031615957617759705, -0.052823107689619064, -0.01903836987912655, 0.02211928740143776, -0.0007457704050466418, -0.03101169876754284, -0.02343929372727871, -0.023108631372451782, -0.027196001261472702, 0.0528000183403492, -0.058347515761852264, -0.01702682301402092, -0.0032271656673401594, 0.02318081445991993, 0.030722524970769882, 0.008700188249349594, 0.04021286219358444, 0.00959038082510233, -0.008726970292627811, -0.017337437719106674, 0.006897062994539738, 0.011314591392874718, 0.023325689136981964, 0.03748265281319618, -0.0910978838801384, 0.02429571934044361, 0.01113137323409319, -0.0052076950669288635, -0.06523969769477844, 0.04313848912715912, 0.02146112360060215, -0.040926575660705566, 0.0440746508538723, -0.017595568671822548, 0.004192766733467579, -0.00918955821543932, -0.013771860860288143, -0.010148890316486359, 0.033361781388521194, 0.02571571245789528, -0.017740927636623383, 0.08269891142845154, 0.004381975624710321, -0.027361247688531876, -0.04840156435966492, -0.006347224116325378, -0.013939091935753822, 0.0037980193737894297, -0.03024648129940033, -0.025398198515176773, -0.019066160544753075, -0.059618886560201645, -0.01206087414175272, 0.010511376895010471, -0.02491936832666397, -0.01973533444106579, 0.01397701632231474, 0.03806207701563835, -0.03672514110803604, 0.033585578203201294, -0.04925687238574028, 0.02403399907052517, -0.03475525230169296, -0.011396491900086403, 0.002228024648502469, -0.004414109513163567, 0.009771188721060753, 0.024898532778024673, 0.014960289932787418, -0.03447072207927704, 0.001693241996690631, -0.007218603044748306, 0.011043461970984936, 0.03378284350037575, 0.00010360549640608951, -0.020413486286997795 ]
[ -0.10999388247728348, -0.01795785501599312, -0.017750032246112823, -0.020132431760430336, 0.03829960525035858, -0.025588244199752808, -0.04508049786090851, 0.033613309264183044, -0.001982018817216158, -0.017838457599282265, -0.0035453748423606157, -0.0012714638141915202, -0.022261053323745728, -0.014711733907461166, 0.07912567257881165, 0.007175332400947809, -0.007072423584759235, -0.05884614214301109, 0.020479056984186172, 0.001204010914079845, 0.012723129242658615, -0.02698461338877678, -0.039692796766757965, -0.014883347786962986, 0.022838281467556953, 0.029478562995791435, 0.004248275421559811, -0.03546922653913498, 0.024909378960728645, -0.22627750039100647, 0.0003616000176407397, 0.01635861210525036, 0.0373484268784523, -0.03606432303786278, -0.009213089942932129, 0.02880159765481949, 0.023519366979599, 0.015482893213629723, -0.013988391496241093, 0.04217258468270302, 0.003492150455713272, 0.01325179636478424, -0.042308688163757324, -0.023785006254911423, 0.02023659087717533, 0.017980800941586494, 0.018892422318458557, -0.04637106508016586, -0.007954739965498447, 0.0035796312149614096, -0.06119344010949135, -0.049141306430101395, -0.020564574748277664, -0.027014363557100296, -0.010306404903531075, 0.015630876645445824, 0.030353233218193054, 0.08640383929014206, 0.0012413967633619905, 0.011711809784173965, 0.011318394914269447, -0.031240444630384445, -0.13455091416835785, 0.08558618277311325, 0.047129418700933456, 0.0634659081697464, -0.042089104652404785, -0.012742302380502224, -0.004269164986908436, 0.11231333017349243, 0.003460741601884365, -0.017245620489120483, -0.023233380168676376, 0.06174003332853317, 0.005892481654882431, 0.0016455712029710412, 0.0038070189766585827, 0.02034708485007286, 0.024424677714705467, -0.048392947763204575, -0.023144910112023354, -0.025736743584275246, -0.014975671656429768, -0.026352202519774437, -0.034931283444166183, 0.015490160323679447, -0.0036516666878014803, 0.046452540904283524, 0.039339613169431686, 0.021324392408132553, 0.05739060044288635, -0.03253725916147232, 0.043595969676971436, 0.0057016173377633095, -0.08865301311016083, -0.007949615828692913, -0.0013268288457766175, 0.011505477130413055, -0.032780248671770096, 0.456726998090744, -0.04459630325436592, -0.03723611310124397, 0.0586588978767395, 0.03474394977092743, -0.007330470718443394, -0.011351989582180977, 0.02273954264819622, -0.04061030223965645, 0.025468971580266953, -0.05108915641903877, 0.010003364644944668, 0.022643782198429108, 0.06836751103401184, -0.04634689912199974, -0.014052489772439003, 0.013218383304774761, 0.01927804946899414, 0.015737339854240417, 0.017673037946224213, -0.005525659769773483, 0.005097968969494104, 0.0036718063056468964, 0.014993531629443169, -0.016461346298456192, -0.01257830299437046, -0.03566396236419678, 0.009137127548456192, 0.0520942285656929, 0.01064829807728529, 0.0176808163523674, 0.07120676338672638, -0.035882700234651566, -0.06374785304069519, -0.006574562750756741, 0.007383432239294052, 0.017474723979830742, 0.005437670275568962, -0.014481835998594761, -0.0038595166988670826, 0.016895508393645287, -0.008667615242302418, -0.0005501487758010626, 0.029746439307928085, -0.007344597484916449, -0.045565590262413025, 0.09394538402557373, 0.008803603239357471, -0.02736622467637062, -0.014745884574949741, -0.030873894691467285, 0.019223254173994064, 0.030225370079278946, -0.005912759806960821, -0.06340266019105911, 0.025111349299550056, 0.028288060799241066, 0.0998150184750557, -0.009361128322780132, -0.05160417780280113, -0.018384873867034912, 0.003324377816170454, -0.0058311172761023045, -0.046947043389081955, 0.041402291506528854, 0.06475874036550522, -0.10257510840892792, -0.017851686105132103, 0.0020452854223549366, 0.030243949964642525, -0.06646585464477539, 0.014114266261458397, 0.019526412710547447, -0.026978740468621254, 0.001830520574003458, 0.06255095452070236, -0.01641024649143219, -0.0411863699555397, 0.010284076444804668, 0.07563246041536331, 0.012891020625829697, 0.02768738754093647, 0.0007963879033923149, -0.05334373190999031, -0.001730819116346538, -0.027444666251540184, -0.08964546769857407, -0.04062050208449364, 0.003292124019935727, -0.032333094626665115, 0.007884986698627472, 0.0037692347541451454, 0.004840310662984848, -0.08570055663585663, 0.08180517703294754, -0.03195342794060707, -0.03867721930146217, 0.02295009046792984, -0.01428581215441227, -0.014271038584411144, -0.03699951618909836, -0.049376875162124634, 0.037242431193590164, -0.030218293890357018, 0.014050674624741077, -0.08389243483543396, 0.05660087615251541, 0.05013918876647949, -0.07259440422058105, 0.08994626253843307, 0.05783185362815857, -0.0569554828107357, -0.04764494299888611, 0.013231631368398666, 0.025972533971071243, -0.0027767629362642765, -0.01975180022418499, -0.013464045710861683, 0.025176431983709335, -0.013405783101916313, 0.027852701023221016, -0.021103505045175552, 0.0013173564802855253, -0.014041303656995296, -0.33944982290267944, -0.03473095968365669, -0.00954225193709135, -0.0264890156686306, 0.01169702410697937, -0.07523863017559052, 0.009183470159769058, -0.005199259612709284, -0.03485285863280296, -0.004450593609362841, 0.07479556649923325, -0.02550741657614708, 0.005113609600812197, -0.08758286386728287, 0.021477483212947845, 0.008160078898072243, -0.026044299826025963, -0.03746308386325836, -0.03715414181351662, 0.010405155830085278, 0.012321955524384975, 0.0039042066782712936, -0.011018330231308937, -0.055625319480895996, -0.0043619731441140175, -0.06390203535556793, 0.07202354073524475, -0.027075057849287987, 0.11644209176301956, -0.014927973970770836, 0.028689255937933922, 0.019489260390400887, 0.009616440162062645, -0.07417632639408112, 0.008906463161110878, 0.013267436064779758, -0.006730364169925451, -0.002616721671074629, 0.028263654559850693, -0.037813104689121246, -0.02544381283223629, 0.039211418479681015, -0.06116475909948349, -0.021283958107233047, -0.04774631932377815, 0.006475834641605616, -0.02278706803917885, -0.045147936791181564, -0.027156591415405273, 0.0815512165427208, 0.01741975173354149, 0.006801016163080931, -0.0007703363662585616, 0.016414886340498924, -0.0050365012139081955, -0.02722429856657982, -0.07085990905761719, 0.022018322721123695, 0.02393261343240738, -0.014843583106994629, 0.03598339483141899, 0.06370493769645691, 0.025835702195763588, -0.047340624034404755, 0.015299183316528797, 0.01276700384914875, -0.006737508345395327, -0.02167401649057865, 0.05319317802786827, -0.0252252034842968, -0.010796708054840565, 0.08029178529977798, 0.010558302514255047, -0.014542103745043278, 0.009526513516902924, 0.0353897288441658, -0.012586927972733974, 0.027759097516536713, 0.0038761638570576906, -0.02360558696091175, 0.011125684715807438, -0.02887963503599167, 0.03615427017211914, -0.012987094931304455, -0.01612779311835766, 0.007084067445248365, -0.007248448207974434, -0.03259815648198128, 0.05407188460230827, 0.022530551999807358, -0.04432040452957153, -0.002767447382211685, 0.0008355823811143637, -0.05948887765407562, 0.08450452983379364, 0.01052978914231062, -0.23158279061317444, -0.010270983912050724, 0.0736825242638588, 0.058289289474487305, -0.0048552388325333595, 0.05749090388417244, 0.02737414836883545, -0.05703581124544144, 0.023325804620981216, -0.004110931884497404, 0.01200882252305746, 0.02482163906097412, 0.013551557436585426, 0.010068883188068867, 0.04068776220083237, -0.003747016889974475, 0.05482146143913269, -0.01198497973382473, 0.023037882521748543, -0.0043847830966115, 0.030187254771590233, -0.0018238897901028395, 0.16419745981693268, 0.0018667815020307899, 0.04995378851890564, -0.0002864086127374321, 0.005140409804880619, 0.008767649531364441, 0.08328459411859512, 0.008674485608935356, 0.01101470086723566, 0.014014041982591152, 0.05004020780324936, 0.007664511911571026, 0.005019017495214939, -0.05390574783086777, -0.022704554721713066, 0.020418301224708557, 0.0068469420075416565, 0.0035899782087653875, 0.0148001154884696, 0.014221168123185635, -0.05050631985068321, 0.01355119701474905, 0.06491874903440475, 0.01497539784759283, -0.01966138370335102, -0.04283646121621132, -0.04826059192419052, 0.00041562344995327294, -0.02498207800090313, -0.021980714052915573, -0.002369160996749997, -0.009322108700871468, 0.019502921029925346, 0.05973521247506142, 0.030977141112089157, -0.013961545191705227, -0.017927346751093864, 0.008330953307449818, -0.009993042796850204, -0.026992714032530785, 0.1307302564382553, 0.04863526672124863, 0.037634193897247314 ]
[ -0.04083297774195671, -0.010445105843245983, 0.009871330112218857, 0.0006928221555426717, -0.010627195239067078, 0.00921629462391138, 0.002250754740089178, -0.008629687130451202, -0.003629291197285056, -0.002019459381699562, 0.01725827343761921, 0.04230205714702606, 0.012851173058152199, -0.02524874545633793, 0.012658809311687946, 0.000024097438654280268, -0.019532188773155212, -0.01812112145125866, -0.0015026803594082594, -0.003684006631374359, -0.02119629830121994, 0.004495388828217983, 0.005528156645596027, 0.0070840660482645035, -0.027999289333820343, 0.019544096663594246, -0.01027905847877264, 0.01230677030980587, 0.030784888193011284, -0.12418470531702042, -0.01753287762403488, -0.023210763931274414, 0.005412788596004248, 0.006334488745778799, -0.0373583622276783, 0.020727472379803658, 0.023814665153622627, 0.0022486113011837006, -0.004204757511615753, -0.027824709191918373, -0.022906851023435593, -0.025505144149065018, -0.02898792363703251, 0.021070115268230438, 0.011192761361598969, 0.02297186106443405, 0.01737351343035698, -0.047433726489543915, -0.007287526503205299, -0.03389601781964302, -0.0383957177400589, -0.01846315711736679, -0.02702612243592739, -0.0015586217632517219, 0.03752987086772919, 0.00047110606101341546, 0.03071979619562626, -0.024662474170327187, -0.0019857038278132677, -0.04542588070034981, -0.021262124180793762, -0.005734499543905258, -0.04013918712735176, -0.013628785498440266, -0.008939927443861961, 0.0005170128424651921, -0.029864810407161713, 0.018780279904603958, -0.008162264712154865, -0.01605747640132904, -0.013758758082985878, 0.023639893159270287, -0.010122858919203281, -0.00469041196629405, 0.028716417029500008, 0.02485516481101513, 0.007864401675760746, -0.0032749450765550137, 0.03380256146192551, -0.023233138024806976, -0.0348249152302742, 0.008968507871031761, 0.03381630778312683, -0.017346933484077454, 0.01306127943098545, -0.02346436120569706, 0.013273002579808235, -0.021447928622364998, 0.030106499791145325, 0.007558658253401518, 0.004298449493944645, 0.03875812888145447, -0.01718292571604252, 0.028662797063589096, -0.08101817965507507, -0.00024255935568362474, -0.0014788249973207712, -0.0026953022461384535, 0.015646953135728836, 0.8700032830238342, -0.007148367818444967, 0.028312180191278458, 0.012036331929266453, -0.011140303686261177, 0.020310966297984123, -0.0045122322626411915, -0.007510609459131956, -0.009289084002375603, 0.00030271094874478877, -0.05472206324338913, 0.03127726912498474, -0.018412362784147263, 0.018904758617281914, 0.013346530497074127, 0.02650865539908409, 0.01989087462425232, 0.037332963198423386, 0.0034058510791510344, 0.007204249035567045, 0.010805632919073105, 0.043157488107681274, -0.010588278993964195, 0.005005958024412394, 0.0017111608758568764, -0.01852717064321041, -0.17835435271263123, -0.05130193009972572, -8.217210240134674e-33, 0.051915135234594345, -0.009640352800488472, -0.02507302537560463, 0.0005620950250886381, 0.01040677074342966, -0.007743953727185726, 0.021813122555613518, 0.026276303455233574, -0.005957133136689663, -0.01053965836763382, 0.021654637530446053, -0.006334845442324877, -0.03051273711025715, -0.021378228440880775, 0.05531748756766319, -0.012691999785602093, -0.02316075749695301, 0.028848469257354736, -0.004129317123442888, -0.0009148814715445042, 0.0394674576818943, 0.039844341576099396, 0.0061323875561356544, -0.006251492537558079, 0.022639727219939232, 0.028553199023008347, 0.019880132749676704, 0.006299688946455717, 0.0060952045023441315, -0.04507927596569061, -0.009077981114387512, 0.0050829616375267506, -0.013152536936104298, 0.0019616754725575447, 0.002975890412926674, -0.034486427903175354, -0.010193852707743645, 0.011454759165644646, -0.003561877878382802, 0.01628175750374794, 0.005503954831510782, -0.03611573949456215, -0.04577934741973877, 0.001644005416892469, -0.0006212411681190133, -0.012886003591120243, -0.017581768333911896, 0.042508579790592194, 0.003989109303802252, 0.0016554583562538028, 0.008959057740867138, 0.048724785447120667, 0.0161997489631176, -0.0033778531942516565, -0.03481419384479523, -0.002055057790130377, -0.024810735136270523, -0.011407137848436832, 0.004821258131414652, 0.0006505484925583005, 0.005837391130626202, 0.02351830154657364, -0.014500727877020836, 0.0371905155479908, -0.0027720374055206776, -0.03693145141005516, -0.011028215289115906, 0.0162825807929039, -0.008614864200353622, 0.00042656593723222613, -0.03048187866806984, -0.009049457497894764, -0.022649500519037247, -0.024417687207460403, 0.028911534696817398, -0.04625990241765976, 0.008373215794563293, 0.007602666039019823, -0.013615919277071953, 0.013744191266596317, -0.006362769287079573, 0.018071716651320457, -0.021013168618083, -0.034742262214422226, -0.025275828316807747, -0.013590818271040916, 0.030268387869000435, -0.0036834103520959616, -0.005630244966596365, -0.0063186087645590305, 0.039494309574365616, 0.020377017557621002, 0.013367876410484314, -0.025197835639119148, -0.00381266581825912, 8.00511505973184e-33, -0.007822804152965546, -0.021406114101409912, -0.0238112173974514, 0.002420983975753188, 0.00083499017637223, -0.01388377882540226, 0.009795929305255413, -0.015136615373194218, -0.03508545458316803, 0.012196335941553116, -0.0432119145989418, 0.00715250801295042, -0.009312865324318409, 0.05140700563788414, 0.014111983589828014, -0.010296395048499107, 0.0017365232342854142, -0.02104952558875084, 0.012123041786253452, 0.004386579617857933, 0.038389112800359726, 0.009667781181633472, 0.02833646722137928, 0.012435801327228546, -0.010030600242316723, 0.027623774483799934, -0.030983256176114082, 0.03842158615589142, 0.01724066399037838, -0.01618819497525692, -0.006430389359593391, -0.01795881800353527, 0.028928911313414574, 0.0006972044357098639, -0.037312813103199005, 0.020057370886206627, -0.001861986587755382, -0.037653837352991104, -0.003058572066947818, 0.02655215747654438, 0.05070670321583748, -0.044181615114212036, -0.003931127954274416, -0.005243116524070501, -0.0031456907745450735, 0.021013591438531876, 0.002135473070666194, -0.02131861448287964, -0.0129697872325778, 0.021454982459545135, 0.03963018208742142, 0.041626717895269394, 0.00043770993943326175, 0.008388794958591461, 0.022355707362294197, 0.0001840953336795792, -0.009930400177836418, 0.007720549125224352, -0.01971970684826374, 0.01851942390203476, -0.0021336781792342663, 0.005010406021028757, -0.03324577584862709, -0.0012109125964343548, 0.009735778905451298, -0.008570323698222637, -0.001289958250708878, -0.008891776204109192, 0.0006461931625381112, -0.024161862209439278, -0.0297192744910717, 0.00813673809170723, -0.0037073390558362007, 0.018347319215536118, 0.0008085232111625373, -0.0028769189957529306, -0.0036439343821257353, -0.0037141365464776754, 0.0070593939162790775, 0.027419358491897583, -0.002722723176702857, -0.029808703809976578, 0.04837530478835106, -0.001146482303738594, -0.03139936551451683, 0.031011538580060005, -0.009914109483361244, 0.039662908762693405, 0.012638059444725513, -0.02201927825808525, -0.0006508710794150829, -0.014055398292839527, 0.01963219791650772, 0.03130969777703285, -0.00012696125486399978, -1.364838198014695e-8, -0.013927704654633999, 0.01222958043217659, -0.02455335296690464, 0.008502050302922726, 0.03246251493692398, 0.0005249365931376815, -0.016025681048631668, -0.022165467962622643, -0.048541706055402756, 0.007909287698566914, 0.022855952382087708, 0.012608375400304794, 0.011359642259776592, -0.0036643152125179768, 0.026952704414725304, -0.034685008227825165, -0.008927447721362114, -0.01283081341534853, 0.026866015046834946, -0.008315356448292732, 0.0006183492369018495, 0.05948476865887642, -0.0169830322265625, 0.03333277255296707, -0.0035317533183842897, 0.00912072416394949, 0.036592062562704086, -0.08734352141618729, -0.005730609409511089, 0.0022263217251747847, -0.0016861727926880121, -0.0161703173071146, -0.015208082273602486, -0.0010881511261686683, -0.005485084839165211, -0.039479274302721024, 0.02864702232182026, 0.06325747072696686, 0.021003657951951027, -0.001777287689037621, -0.009059653617441654, -0.028178313747048378, -0.006836606189608574, -0.021708402782678604, -0.007363846059888601, -0.024633057415485382, -0.024104725569486618, -0.039025306701660156, 0.00047834019642323256, -0.02962355688214302, 0.028247687965631485, 0.02218266949057579, 0.03164052590727806, 0.03210609778761864, -0.0012970436364412308, 0.005446252878755331, -0.00905096810311079, 0.0063970983028411865, -0.013527209870517254, 0.0016138837672770023, 0.027042178437113762, 0.015549873001873493, 0.008517734706401825, -0.017487362027168274 ]
book-club-working-effectively-with-legacy-code-chapter-8-michael-feathers
https://markhneedham.com/blog/2009/11/03/book-club-working-effectively-with-legacy-code-chapter-8-michael-feathers
false
2009-11-04 21:39:28
Consistency in the code base
[ "coding" ]
[ "Coding", "Incremental Refactoring" ]
I've had quite a few discussions with various different colleagues about coding consistency over the last year or so and http://www.thekua.com/atwork/2008/11/death-by-a-thousand-differences/[Pat] http://www.thekua.com/atwork/2009/02/what-differences-cause-your-project-death/[Kua]and http://blog.franktrindade.com/2008/10/17/we-need-standards/[Frank Trindade] have both written posts suggesting that we should look to have coding standards on projects in order to avoid the type of pain that having an inconsistent approach can lead to. From what I've noticed there seem to be two reasons that we end up with inconsistent code on projects: . People's personal preferences for how certain bits of code should be written vary. . The team is trying to incrementally move towards an improved solution to a problem encountered but isn't completely there yet. I think the first of these is the area which Frank and Pat are addressing in their posts. However I think there is some overlap between the two. For example someone may rewrite a bit of code in their own style and while they would suggest that what they are doing is improving the code base their team mates may think that what they are doing is merely creating more inconsistency. Potential coding inconsistency falls into three categories as I see it: == Personal Preferences A simple example of this that we had on the last project I worked on was around how we should write simple conditional statements when used as http://c2.com/cgi/wiki?GuardClause[guard clauses]. These were the 3 different ways that people preferred and we had all the different styles across the code base! [source,csharp] ---- public String SomeMethod() { if(SomeCondition()) return "hello"; } ---- [source,csharp] ---- public String SomeMethod() { if(SomeCondition()) return "hello"; } ---- [source,csharp] ---- public String SomeMethod() { if(SomeCondition()) { return "hello"; } } ---- We eventually agreed to use the last one because it was the least controversial choice and although people who preferred the other two approaches thought it was too verbose they were fine with using that as a compromise. http://www.thekua.com/atwork/2009/02/what-differences-cause-your-project-death/[Pat covers a lot of the other types of code] that I would classify as being linked to personal preference and I think that it would be beneficial to have coding standards/agreement in the team for the patterns we favour/names we're going to use in this area. It's way easier to just go and write code in your own personal style and I do this way too frequently but it's much better for the team if we follow a common style. == Improving the code but perhaps not significantly I've written previously about the way that we've been making use of a 'http://www.markhneedham.com/blog/2009/06/02/coding-putting-code-where-people-can-find-it/[GetBuilderFor]' class to hang our test builders off and while this worked quite well http://www.markhneedham.com/blog/2009/08/15/builders-hanging-off-class-vs-builders-in-same-namespace/[there is a better way] to do this which requires less code being written overall. We can make use of C#'s object initializer syntax to setup fields with values instead of having to create methods to do that and we don't need to write the code to make the builder hang off 'GetBuilderFor'. As long as we put all the builders in the same namespace we can just type 'new BuilderNameSpace.' and then the IDE will show us the choices of builder that we have. The problem we experienced was that that we already had 30-40 builders written using the 'GetBuilderFor' approach and there wasn't a significant advantage to be gained by going and rewriting all that code to use the new approach. In the interests of consistency we therefore decided to keep using the 'GetBuilderFor' approach even though the next time I come across this problem I'd definitely favour the other approach. Reg Braithwaite has a really interesting post in which he talks about 'http://weblog.raganwald.com/2008/05/narcissism-of-small-code-differences.html[the narcissism of small code differences]' and how different authors 'improve' the code by adding their own personal touch. I think he describes the type of code changes that I would classify in this and the previous category although it does make me wonder where the line between refactoring and adding your own personal touch to a piece of code lies. == Improving the code significantly These are the code changes that may create inconsistency but help us to drive a design improvement which will have a big impact on the way we work. An example of this that we had on my last project was moving http://www.markhneedham.com/blog/2008/12/28/internalexternal-domain-models/[our 'domain' model from being defined in WCF messages] to being defined independently of other layers in the system. We wanted to make this change to make the dependency between our code base and the service layer more loosely coupled and we started making that change around about February. It took maybe a month to move the most awkward parts across since we did it bit by bit in an incremental way rather than stopping everything and making that change. Along the way the code in these areas was in an inconsistent state and anyone looking at the code base who didn't know the reason why it was like that would think it was truly insane! Even now there are still bits of code which are more reminiscent of the old approach than the new and these tend to get changed when people are working in that area. I think this type of inconsistency is somewhat inevitable if we're incrementally making improvements to our code base or http://www.informit.com/articles/article.aspx?p=1235624&seqNum=6[following the boy scout rule] as Uncle Bob puts it. == In Summary These are my current observations on coding inconsistency but I'm sure there are other factors which can affect this as well. I think we should look to reduce the inconsistencies in the first two categories as much as possible and ensure that everyone is driving towards the same outcome with respect to the last category.
null
null
[ 0.026867829263210297, 0.007502724416553974, -0.03622468560934067, 0.05597827211022377, 0.07640320807695389, 0.011499017477035522, 0.05283180996775627, 0.029757626354694366, 0.01372922770678997, -0.05091065168380737, -0.013558696024119854, -0.0132526196539402, -0.08076510578393936, 0.006291590165346861, -0.04056055471301079, 0.07579778879880905, 0.07479190826416016, -0.010569891892373562, 0.03096853196620941, 0.004833010956645012, -0.00011225961497984827, 0.07134389877319336, -0.010163559578359127, 0.021171199157834053, 0.036996990442276, 0.023331979289650917, -0.0016412240220233798, -0.026529274880886078, -0.06771142780780792, -0.016523227095603943, 0.05985467508435249, 0.02594212256371975, 0.014195294119417667, -0.02406676672399044, 0.006893148645758629, -0.03523581102490425, -0.022896675392985344, 0.02029535360634327, 0.02553446590900421, 0.008069601841270924, -0.06458897143602371, 0.023865757510066032, -0.0068168253637850285, 0.007548824418336153, -0.03848312795162201, 0.004949426278471947, -0.026076076552271843, -0.002628954593092203, -0.025940921157598495, -0.010588008910417557, -0.06738179177045822, 0.02393249049782753, -0.017605973407626152, -0.009314811788499355, -0.014623867347836494, 0.07611823827028275, 0.03617677092552185, -0.06117500737309456, 0.010070264339447021, -0.05094201862812042, -0.013644537888467312, -0.011443184688687325, -0.004408946726471186, 0.0426325760781765, 0.013187471777200699, -0.022622639313340187, -0.021634887903928757, 0.0377001091837883, -0.038052432239055634, -0.01161989290267229, 0.007363751996308565, 0.02721213363111019, 0.024173494428396225, -0.018530497327446938, 0.00906092207878828, -0.0233929343521595, -0.007965268567204475, 0.0537191703915596, 0.018445489928126335, 0.04907834529876709, -0.011023678816854954, 0.019980859011411667, 0.016616862267255783, 0.013673043809831142, 0.015313908457756042, -0.02529941312968731, 0.007229513488709927, -0.025408826768398285, -0.019816353917121887, 0.040005967020988464, 0.012922540307044983, -0.04278077930212021, 0.041123323142528534, 0.0394640676677227, 0.004619274288415909, 0.014163786545395851, 0.006823199335485697, -0.010497035458683968, 0.0073180957697331905, -0.002076699398458004, -0.05000259727239609, -0.009623829275369644, 0.018677880987524986, 0.01518220454454422, -0.061809029430150986, 0.0057481201365590096, -0.03379610925912857, -0.003778208512812853, 0.009880119003355503, 0.021026907488703728, -0.04801478236913681, 0.017735527828335762, -0.022395117208361626, -0.022582540288567543, -0.06121709570288658, 0.03403718024492264, -0.012899509631097317, -0.011030920781195164, 0.0029333047568798065, 0.022263452410697937, 0.015400542877614498, 0.021547215059399605, -0.015495102852582932, 0.0849195122718811, -0.00770965963602066, 0.05055347830057144, -0.020771294832229614, 0.04838838428258896, -0.03475346788764, -0.08656152337789536, -0.01695757918059826, 0.050862643867731094, -0.02713826112449169, -0.0324060395359993, -0.01625770889222622, -0.025987479835748672, -0.017722655087709427, -0.0002699373580981046, 0.01746533252298832, 0.04057493060827255, -0.022108640521764755, -0.056675344705581665, 0.02278272993862629, 0.025406435132026672, 0.007471389137208462, 0.005633961409330368, -0.021270062774419785, -0.01753459870815277, 0.0011635685805231333, 0.00276238308288157, 0.011109905317425728, 0.03977781534194946, 0.036088377237319946, -0.044970158487558365, -0.005605689249932766, 0.07679633796215057, 0.0017334241420030594, 0.030728532001376152, 0.014884592965245247, 0.023908372968435287, 0.02721513621509075, 0.02717861719429493, 0.011172011494636536, 0.029969122260808945, 0.017936494201421738, 0.021160896867513657, -0.0028530145063996315, 0.05670907348394394, -0.004510213620960712, 0.013966313563287258, -0.07575174421072006, -0.021911131218075752, 0.05610146373510361, -0.06535395234823227, 0.0024267674889415503, 0.028826814144849777, 0.06706041097640991, 0.01397406030446291, 0.041408196091651917, 0.002154319081455469, -0.06531774997711182, 0.0334123931825161, -0.007476226892322302, 0.018408438190817833, 0.018187398090958595, 0.010541129857301712, 0.06848461180925369, 0.02282429113984108, -0.0015568974195048213, 0.029689665883779526, -0.07445157319307327, -0.08437497913837433, -0.01615094766020775, -0.01711188070476055, 0.07155758142471313, -0.02588248811662197, -0.008161748759448528, 0.07981815189123154, 0.01526844222098589, 0.05090269446372986, 0.046186838299036026, -0.010328522883355618, 0.01792886108160019, -0.01109086163341999, -0.03771333023905754, 0.07231061905622482, 0.04599723964929581, -0.003508789697661996, -0.039766132831573486, 0.014020338654518127, 0.016452813521027565, 0.011639058589935303, 0.03187660872936249, -0.014724742621183395, 0.03970363736152649, 0.013847648166120052, 0.05308649316430092, -0.044342003762722015, 0.052885521203279495, -0.07105810940265656, 0.014979460276663303, -0.008786293677985668, 0.0066039846278727055, -0.004493533167988062, -0.003273134818300605, 0.12459848076105118, 0.044948820024728775, -0.056407470256090164, -0.042394086718559265, 0.019962426275014877, 0.0022872420959174633, -0.0275597982108593, 0.0077928416430950165, 0.0015734825283288956, 0.015054398216307163, -0.004516647197306156, -0.03872758895158768, -0.01593494601547718, 0.026752322912216187, -0.03871828317642212, 0.02339867688715458, 0.0818118304014206, -0.04266708344221115, 0.035570692270994186, -0.043769530951976776, -0.028541725128889084, -0.027716683223843575, -0.019686993211507797, -0.06505826860666275, 0.01968429610133171, 0.018959010019898415, 0.0036235558800399303, 0.0697927325963974, -0.014358380809426308, -0.03094072826206684, -0.02293740212917328, -0.0349411740899086, 0.015872564166784286, 0.03268290311098099, 0.05536511167883873, -0.004663179628551006, 0.054438017308712006, 0.0216201301664114, -0.008748997002840042, -0.003480000887066126, -0.046237021684646606, -0.019989583641290665, -0.00820098165422678, 0.00423155864700675, 0.022852502763271332, 0.0022835012059658766, 0.025101156905293465, 0.011308620683848858, 0.006809606216847897, -0.025005510076880455, -0.017342131584882736, 0.0590522363781929, -0.01905268430709839, -0.004565525334328413, -0.022323550656437874, -0.03079596348106861, 0.03505802899599075, -0.044057998806238174, -0.05690505728125572, -0.00002946170025097672, -0.0535016693174839, 0.05568912625312805, -0.07094601541757584, -0.06096009165048599, 0.023852545768022537, 0.016942918300628662, 0.049561746418476105, -0.012382828630506992, 0.04623254016041756, 0.08610153943300247, 0.013190476223826408, 0.005980372428894043, 0.0055322954431176186, 0.00806046836078167, 0.03259662538766861, 0.009987245313823223, 0.013430689461529255, 0.05957987159490585, 0.004305738024413586, -0.014675620943307877, -0.034813687205314636, 0.022247707471251488, -0.00888050626963377, -0.2800869941711426, 0.03281298279762268, -0.015895722433924675, -0.043645575642585754, 0.03357468917965889, -0.006435298826545477, 0.019476326182484627, -0.056333690881729126, -0.0036496203392744064, 0.02871212363243103, -0.024279028177261353, -0.036926206201314926, -0.032410621643066406, 0.0347224697470665, -0.013473751954734325, 0.014616478234529495, -0.032107651233673096, -0.031464312225580215, 0.0042224484495818615, 0.04574014991521835, -0.0006187885883264244, -0.058311283588409424, 0.007851246744394302, 0.030708348378539085, 0.05135123059153557, 0.054580673575401306, -0.09199464321136475, 0.06923443078994751, -0.040445901453495026, -0.010377188213169575, 0.0038007141556590796, 0.014858460053801537, -0.006459730677306652, -0.05319061875343323, -0.02331603318452835, -0.02114659547805786, 0.009735659696161747, 0.025219686329364777, -0.006671528331935406, 0.039838600903749466, -0.0340229831635952, -0.03436519578099251, -0.016306715086102486, -0.0026444164104759693, 0.07057353109121323, 0.015279419720172882, -0.08050516992807388, 0.007214750163257122, -0.054249417036771774, 0.07096394896507263, -0.017841828987002373, -0.02247343771159649, -0.011229949072003365, 0.06716632097959518, -0.010288551449775696, -0.032048504799604416, 0.014862071722745895, -0.019450010731816292, -0.02106614038348198, -0.0387236624956131, -0.01264002826064825, -0.05638524889945984, -0.004479392897337675, -0.036379557102918625, 0.01782527007162571, -0.06344388425350189, -0.07017165422439575, -0.0022510653361678123, 0.05930255353450775, 0.01638360694050789, -0.019459232687950134, 0.015168893150985241, 0.013237648643553257, -0.1161622703075409, -0.006317418068647385, -0.04725494235754013, -0.024796580895781517, -0.03522896766662598, 0.014724386855959892, 0.03301367163658142, -0.022117596119642258, -0.05668868497014046, 0.029264671728014946, 0.029483195394277573, 0.029585203155875206, -0.004485675599426031, 0.03770400956273079, 0.019585562869906425, -0.045657385140657425, 0.02176021784543991, 0.06683898717164993, 0.005862573627382517, -0.03134748339653015, -0.03990381956100464, 0.02041122131049633, 0.01865563541650772, 0.039270784705877304, -0.02200199104845524, 0.012612431310117245, 0.022816425189375877, 0.047224439680576324, -0.0604475699365139, 0.034767355769872665, -0.06462932378053665, 0.0026764371432363987, -0.010996642522513866, -0.056738708168268204, 0.035539623349905014, 0.04304070398211479, 0.017734654247760773, -0.024181781336665154, -0.05407659709453583, 0.005768928676843643, -0.058668144047260284, -0.029336215928196907, -0.02685045823454857, 0.00167046335991472, 0.027030715718865395, -0.03628319501876831, -0.017973676323890686, -0.027658404782414436, 0.031135642901062965, 0.001768683549016714, 0.017871666699647903, -0.06744334846735, -0.013948241248726845, -0.02125418186187744, -0.02615387737751007, 0.0026153014041483402, 0.024721162393689156, -0.05317089706659317, 0.026786107569932938, -0.008218259550631046, -0.05202673003077507, 0.007560539525002241, 0.004426342435181141, -0.018281051889061928, -0.014234470203518867, -0.025480277836322784, -0.03232552111148834, 0.017228862270712852, 0.02702084742486477, 0.006885412149131298, 0.0076480223797261715, 0.038474392145872116, -0.001705407747067511, 0.028821546584367752, -0.012747695669531822, -0.0001502103405073285, 0.008898294530808926, 0.011156421154737473, -0.07399164140224457, 0.03842954710125923, -0.032646942883729935, -0.05087192356586456, -0.03290419280529022, 0.02703574113547802, -0.010680844075977802, -0.03375159576535225, -0.010380146093666553, 0.041951101273298264, -0.04688212648034096, -0.05329563468694687, -0.03560326248407364, 0.015021705068647861, 0.05214516073465347, -0.032378386706113815, 0.042974065989255905, -0.03543137013912201, -0.0038011374417692423, -0.005606410093605518, 0.022615600377321243, -0.0374617800116539, 0.01238424051553011, 0.009568330831825733, 0.014154119417071342, -0.011691628023982048, 0.004426110535860062, 0.03663334250450134, 0.031083982437849045, -0.0014372658915817738, -0.03330262750387192, 0.0034550924319773912, 0.008055394515395164, 0.041579470038414, -0.0018142035696655512, 0.01994199864566326, -0.005336784292012453, -0.00212453817948699, -0.024594740942120552, -0.03584330901503563, -0.015725528821349144, -0.0101222675293684, 0.03878840431571007, -0.03692568093538284, -0.07217933237552643, 0.009366977028548717, 0.028658678755164146, 0.0312308631837368, 0.011526120826601982, 0.005413881503045559, 0.022432267665863037, -0.008815895766019821, 0.010808957740664482, 0.04577189311385155, -0.05223558470606804, 0.029678406193852425, -0.015406645834445953, -0.01631028577685356, 0.008862392045557499, 0.014202898368239403, -0.058057062327861786, -0.016028229147195816, -0.02841947041451931, -0.0026895031332969666, -0.05061745643615723, -0.043980058282613754, -0.03222609683871269, 0.0157963577657938, -0.014782780781388283, -0.011758419685065746, -0.03247438371181488, 0.025349542498588562, -0.005412302445620298, -0.023971933871507645, 0.01091042347252369, -0.023996951058506966, -0.0007546278648078442, 0.03984234109520912, -0.025247836485505104, 0.0088499765843153, -0.009506568312644958, 0.025198398157954216, 0.014445018954575062, -0.022696398198604584, -0.03419013321399689, -0.04141278937458992, 0.008907889947295189, -0.023769374936819077, 0.04057057574391365, -0.016200391575694084, -0.03071388229727745, 0.0005459118401631713, -0.02994871884584427, -0.020884105935692787, 0.017146173864603043, -0.03313938528299332, -0.019868941977620125, -0.0027291954029351473, 0.04840504378080368, 0.007928664796054363, 0.0290420800447464, -0.02514428086578846, -0.005066719371825457, 0.046255405992269516, -0.04252822324633598, -0.012656989507377148, -0.04002977907657623, -0.055866263806819916, 0.009640929289162159, 0.030886763706803322, 0.006402300670742989, -0.03878409415483475, 0.007593673653900623, 0.038145825266838074, 0.01991957053542137, 0.05380374565720558, -0.004410400055348873, 0.042962659150362015, -0.055077098309993744, -0.002941543236374855, -0.09165945649147034, 0.03753658011555672, 0.03237347677350044, 0.015288490802049637, -0.008401003666222095, -0.026570115238428116, -0.01732426881790161, 0.037096958607435226, -0.05488016828894615, -0.015927011147141457, 0.02704223059117794, -0.010546058416366577, 0.020120063796639442, 0.029246000573039055, -0.044647958129644394, 0.03340285271406174, 0.03247152641415596, -0.044851455837488174, -0.05479389801621437, -0.03663389012217522, 0.06171467527747154, 0.024069327861070633, 0.028114747256040573, -0.05249768868088722, 0.00033635611180216074, 0.04319554567337036, 0.025216368958353996, 0.024942908436059952, 0.04970039054751396, -0.03721485659480095, 0.04156485199928284, 0.039656464010477066, 0.006912431214004755, -0.019046984612941742, -0.0022192744072526693, 0.006270556710660458, -0.06508300453424454, 0.03808005899190903, 0.026100894436240196, -0.026803936809301376, -0.03460907191038132, 0.06405997276306152, 0.012403369881212711, -0.015091597102582455, -0.05222293362021446, 0.0064659337513148785, -0.051411472260951996, 0.012138172052800655, -0.0077051930129528046, -0.0029472671449184418, -0.0420537106692791, 0.06170329824090004, 0.03552641347050667, -0.00569579191505909, 0.06180078163743019, -0.007088181097060442, 0.00334471114911139, -0.006330243777483702, 0.0882938802242279, 0.08103145658969879, 0.06826627254486084, -0.011911601759493351, 0.04523705691099167, -0.022019915282726288, -0.027952885255217552, 0.015091730281710625, -0.013048230670392513, -0.033465463668107986, -0.021246235817670822, 0.015469349920749664, 0.046092402189970016, -0.0015943738399073482, 0.06865615397691727, -0.018641451373696327, -0.008362730033695698, -0.012981556355953217, 0.029722677543759346, 0.02874746359884739, 0.07037723809480667, 0.005624124780297279, 0.016471831128001213, 0.0075484951958060265, -0.022709809243679047, 0.023787913843989372, -0.022395480424165726, -0.016493376344442368, 0.011802506633102894, 0.013884361833333969, 0.00597521523013711, 0.002187385456636548, 0.03785933926701546, 0.07088510692119598, -0.04191651940345764, -0.004983372054994106, 0.015724236145615578, 0.034450385719537735, -0.004568833392113447, 0.007533277850598097, -0.01325115654617548, -0.028056766837835312, -0.012714254669845104, -0.01864195615053177, -0.029689697548747063, -0.025064527988433838, -0.021339090541005135, 0.04282480850815773, -0.02435019426047802, 0.022888127714395523, 0.026062659919261932, 0.0003691192250698805, -0.040026403963565826, -0.04996064305305481, -0.04879026487469673, -0.057385578751564026, -0.06170540302991867, -0.01582198776304722, 0.021526193246245384, -0.03162369132041931, -0.02167193964123726, -0.004313266836106777, -0.03280702605843544, -0.008959412574768066, 0.05905652418732643, -0.01653539203107357, -0.029516510665416718, 0.03828398138284683, 0.02927139401435852, 0.024688858538866043, 0.04004776477813721, 0.024373995140194893, -0.04241325706243515, 0.0028046865481883287, -0.04112812504172325, -0.02425541914999485, 0.036634575575590134, 0.010868571698665619, 0.017086908221244812, -0.08452703058719635, 0.03522899001836777, 0.0013978483621031046, 0.01996440626680851, -0.0760543942451477, 0.03326454386115074, -0.0029112393967807293, -0.028799917548894882, 0.04635874181985855, -0.017952725291252136, -0.014095859602093697, -0.005443161353468895, 0.00786733627319336, -0.020729079842567444, 0.02759859524667263, 0.051668256521224976, -0.02143700048327446, 0.05985793098807335, 0.009700710885226727, -0.019678927958011627, -0.04552765190601349, 0.005304322578012943, -0.01163907628506422, -0.00787872914224863, -0.015966763719916344, -0.06250443309545517, -0.03740675747394562, -0.06579683721065521, 0.0006074771517887712, 0.004565678536891937, -0.026374392211437225, -0.027791744098067284, 0.041595570743083954, 0.05120484158396721, -0.08428116142749786, 0.03541625663638115, -0.03553011268377304, 0.05466074123978615, -0.027890099212527275, -0.014427321031689644, -0.003032579319551587, 0.0040271831676363945, -0.007183404639363289, -0.008118062280118465, 0.010085108689963818, -0.05711371451616287, 0.021668070927262306, -0.007632364518940449, 0.011846747249364853, 0.04533861204981804, -0.00021823479619342834, 0.000856261991430074 ]
[ -0.10637157410383224, -0.021197635680437088, -0.0334947369992733, -0.03067164123058319, 0.03976099565625191, -0.049332793802022934, -0.02616649679839611, 0.016896702349185944, 0.0019683949649333954, -0.028107820078730583, 0.010391367599368095, -0.004661393817514181, -0.013313408941030502, -0.014525496400892735, 0.0722348764538765, 0.04275834932923317, -0.012758384458720684, -0.05813383311033249, 0.009813466109335423, 0.019374171271920204, 0.027184495702385902, -0.02283734828233719, -0.016603413969278336, -0.01767420955002308, 0.009388440288603306, 0.028338465839624405, 0.014219921082258224, -0.0308711975812912, 0.018219757825136185, -0.20087581872940063, -0.029643209651112556, 0.022403914481401443, 0.041715722531080246, -0.04626078903675079, 0.03836328163743019, 0.04743890464305878, 0.0047612665221095085, 0.029312947764992714, -0.005442324560135603, 0.04759810492396355, 0.00800867099314928, 0.02761969156563282, -0.03245267644524574, -0.05350509285926819, 0.015888502821326256, 0.017154483124613762, 0.0006349226459860802, -0.026272548362612724, -0.04047220200300217, 0.034975335001945496, -0.057237423956394196, -0.05835775285959244, -0.01731354184448719, -0.024204576388001442, -0.016187453642487526, 0.04364069178700447, 0.026168905198574066, 0.10085730999708176, 0.0022657345980405807, 0.008998529985547066, 0.02317626401782036, -0.02590741589665413, -0.13151735067367554, 0.10595528036355972, 0.06461017578840256, 0.06087150424718857, -0.041189104318618774, -0.03598363697528839, -0.02925606071949005, 0.10038556903600693, 0.0103300204500556, -0.040888793766498566, -0.009940202347934246, 0.06376101076602936, 0.022890672087669373, -0.0005617373972199857, 0.016426336020231247, 0.030795959755778313, 0.03163198009133339, -0.033159952610731125, -0.03246455267071724, -0.020127885043621063, -0.022598247975111008, -0.01738326996564865, -0.04002811759710312, -0.00013117730850353837, -0.018647147342562675, 0.06806447356939316, 0.02982061356306076, 0.011619703844189644, 0.0386802963912487, -0.02593274600803852, 0.04286911338567734, -0.008135765790939331, -0.09674634784460068, 0.0027849392499774694, 0.005636603571474552, 0.025621984153985977, -0.059813499450683594, 0.42162251472473145, -0.03594473376870155, -0.03776010498404503, 0.06919869780540466, 0.03507419675588608, -0.01749524287879467, 0.007039387710392475, 0.012409176677465439, -0.043523114174604416, 0.03808639198541641, -0.03815631940960884, 0.0193617045879364, 0.012092150747776031, 0.05859733000397682, -0.0565858818590641, -0.0158003531396389, 0.038822274655103683, 0.016992686316370964, 0.013299241662025452, 0.020107198506593704, -0.002057276666164398, -0.004044341389089823, 0.006721247918903828, 0.010569792240858078, -0.008981310762465, -0.030473532155156136, -0.012838980183005333, -0.011751438491046429, 0.05455881357192993, 0.034302931278944016, 0.0004938214551657438, 0.07151162624359131, -0.02894805558025837, -0.021572744473814964, -0.012342209927737713, -0.014135345816612244, 0.022579004988074303, 0.025918107479810715, -0.009617233648896217, 0.0037543915677815676, 0.030034944415092468, 0.014916698448359966, -0.011742436327040195, 0.006040928885340691, 0.0002629903319757432, -0.06427890062332153, 0.12692028284072876, -0.02098119631409645, -0.010644589550793171, -0.011375000700354576, -0.04337342455983162, -0.0074699982069432735, 0.012987073510885239, -0.00962055567651987, -0.06286321580410004, 0.0338800810277462, 0.023101702332496643, 0.07886457443237305, -0.02102506533265114, -0.04993873089551926, -0.012666045688092709, 0.013615275733172894, -0.024768928065896034, -0.07120538502931595, 0.059807050973176956, 0.04148079454898834, -0.07079456746578217, -0.003891604021191597, -0.010690316557884216, 0.05339144542813301, -0.06771291792392731, 0.006320621352642775, 0.0030040601268410683, 0.014079493470489979, -0.021033847704529762, 0.04520297795534134, -0.01681174524128437, -0.03198389708995819, 0.012176195159554482, 0.06579963117837906, 0.030714906752109528, 0.0361650288105011, 0.04139397665858269, -0.0378110334277153, 0.02611226961016655, -0.020200802013278008, -0.11475647985935211, -0.03576900437474251, 0.007268765475600958, -0.011945225298404694, -0.005387472920119762, -0.022035155445337296, -0.030328121036291122, -0.07235326617956161, 0.09851445257663727, -0.022508196532726288, -0.0279555507004261, 0.03668157756328583, -0.0294597540050745, -0.018910113722085953, -0.021978924050927162, -0.03989424929022789, 0.07101187855005264, -0.027197517454624176, 0.028414148837327957, -0.07906174659729004, 0.04791705682873726, 0.059438083320856094, -0.06318842619657516, 0.0635266825556755, 0.05487488955259323, -0.06224983185529709, -0.018379181623458862, 0.009726406075060368, 0.023498112335801125, 0.0003721385437529534, -0.014192572794854641, 0.007066937629133463, 0.044871531426906586, 0.009403619915246964, 0.04706946015357971, -0.03793716058135033, 0.011464391835033894, -0.00014328493853099644, -0.3529529273509979, -0.04207861050963402, -0.010879850946366787, -0.017460085451602936, 0.012431875802576542, -0.045272164046764374, 0.01418203953653574, -0.019922900944948196, -0.06513474881649017, 0.030884014442563057, 0.06731566786766052, -0.005117462016642094, -0.011317109689116478, -0.08156019449234009, -0.002162650227546692, 0.008891792967915535, -0.03856319561600685, -0.015569123439490795, -0.011318506672978401, -0.0006701544625684619, -0.01653534360229969, 0.0012857340043410659, -0.008512487635016441, -0.08192017674446106, -0.010685649700462818, -0.040777165442705154, 0.08336255699396133, -0.012185618281364441, 0.08955743163824081, -0.03244780749082565, 0.013993484899401665, -0.013320891186594963, 0.018219871446490288, -0.1108735203742981, 0.03035174496471882, -0.014204091392457485, -0.02737569436430931, -0.012377866543829441, 0.010033384896814823, -0.027625320479273796, -0.01914207451045513, 0.0056654466316103935, -0.05647042393684387, -0.020033955574035645, -0.06919672340154648, 0.006582384929060936, -0.04475763812661171, -0.03747508302330971, -0.04414522647857666, 0.07295902818441391, -0.004695130046457052, -0.007262772414833307, -0.004076185170561075, 0.018824344500899315, -0.007852079346776009, -0.019827615469694138, -0.08264124393463135, 0.025976628065109253, 0.017497316002845764, -0.01662823185324669, 0.04913576319813728, 0.048101235181093216, 0.03906466066837311, -0.02733849361538887, 0.016502322629094124, 0.028740597888827324, 0.028125600889325142, -0.005314667709171772, 0.053457971662282944, -0.004473579116165638, -0.0072658974677324295, 0.11706488579511642, 0.005154979880899191, -0.05165751650929451, 0.01840854249894619, 0.04384207725524902, -0.02581172250211239, 0.03520426154136658, 0.029388045892119408, -0.013369261287152767, 0.04114571586251259, -0.015558324754238129, 0.019616873934864998, -0.02701972797513008, 0.009436015039682388, 0.01864706538617611, -0.024361807852983475, -0.025924455374479294, 0.0719241350889206, 0.019842464476823807, -0.00795428641140461, 0.007032889407128096, -0.01399195659905672, -0.0665145069360733, 0.06794451177120209, 0.0016649514436721802, -0.22991400957107544, 0.007979409769177437, 0.05818682909011841, 0.04717566445469856, -0.018935084342956543, 0.04594346135854721, 0.024942763149738312, -0.05903680622577667, 0.0004805588396266103, -0.0036723781377077103, 0.006611360237002373, 0.024353910237550735, -0.006241584196686745, -0.014004089869558811, 0.04324031248688698, -0.007668467704206705, 0.051566969603300095, -0.009424936026334763, 0.0261808130890131, -0.02686311863362789, 0.017242969945073128, -0.0041829305700957775, 0.1604389101266861, -0.014115160331130028, 0.045278843492269516, 0.0014442711835727096, 0.023039178922772408, 0.04488984867930412, 0.07431869208812714, -0.006699590943753719, -0.033461231738328934, 0.0032826196402311325, 0.033937759697437286, 0.010897798463702202, 0.008760504424571991, -0.06709350645542145, -0.03187841922044754, 0.025947077199816704, 0.024080438539385796, -0.0022584658581763506, -0.004064839333295822, 0.004129598382860422, -0.03324642777442932, 0.005924359429627657, 0.08276698738336563, 0.030004655942320824, -0.026481425389647484, -0.02358364500105381, -0.04410227760672569, -0.029238468036055565, -0.04427754878997803, -0.013388694263994694, 0.010894885286688805, -0.017580054700374603, 0.011262909509241581, 0.05340448394417763, 0.03435733541846275, -0.018870696425437927, -0.028817905113101006, 0.008224246092140675, -0.013273077085614204, -0.015575215220451355, 0.10829725116491318, 0.02869168482720852, 0.018256615847349167 ]
[ -0.0237137321382761, 0.022304091602563858, -0.016134360805153847, 0.005920111667364836, -0.011385795660316944, -0.0027923036832362413, -0.03266788646578789, 0.012331601232290268, 0.004554949700832367, 0.002694496652111411, -0.016422823071479797, -0.022047629579901695, 0.02449655905365944, -0.018296267837285995, 0.03370840474963188, -0.005797371733933687, -0.017175281420350075, -0.0221759844571352, 0.019944222643971443, 0.014059945940971375, -0.02880273573100567, 0.020246779546141624, 0.0005909300525672734, -0.017605086788535118, -0.016777947545051575, 0.03362729400396347, -0.0012043729657307267, -0.012124620378017426, 0.019853362813591957, -0.11949221044778824, -0.04789789766073227, 0.0004887027898803353, -0.015168439596891403, 0.020838730037212372, 0.021841727197170258, 0.027821101248264313, -0.011371232569217682, 0.002931427676230669, -0.01555892825126648, 0.00980299711227417, -0.04225575178861618, 0.015515672974288464, 0.0048823971301317215, 0.005997680593281984, -0.008017373271286488, -0.008267096243798733, -0.03769473358988762, -0.023396581411361694, -0.030767161399126053, -0.05791126564145088, -0.021788278594613075, -0.02359660342335701, -0.006991489790380001, -0.01621401682496071, 0.027196038514375687, -0.0427132174372673, 0.001129058189690113, 0.006592065095901489, 0.023298796266317368, -0.02653047814965248, 0.00522536039352417, -0.020655382424592972, -0.03892219066619873, -0.018257396295666695, 0.005778572987765074, -0.020495664328336716, -0.004137655254453421, 0.007426700554788113, -0.017293985933065414, -0.001193233416415751, -0.049662698060274124, 0.02357352338731289, -0.03556331619620323, 0.009187588468194008, 0.016215309500694275, -0.003487983485683799, 0.005111324600875378, 0.00016145911649800837, 0.014298364520072937, -0.014088050462305546, -0.03302604705095291, 0.007825108245015144, 0.022222353145480156, 0.028294352814555168, 0.01688447780907154, 0.01435877662152052, 0.005813999101519585, 0.02053416520357132, 0.01902957074344158, 0.030965283513069153, 0.00041989312740042806, 0.012338300235569477, 0.010858291760087013, 0.015006727539002895, -0.08314209431409836, -0.023442845791578293, -0.018203401938080788, -0.012718142941594124, -0.0035646846517920494, 0.8710983991622925, -0.011312109418213367, 0.026389725506305695, 0.0227691438049078, -0.009356648661196232, 0.018784603103995323, 0.0071694254875183105, 0.024547912180423737, 0.029049182310700417, 0.03764159604907036, -0.023953299969434738, 0.004288558382540941, 0.006353383418172598, 0.0040724133141338825, -0.023882707580924034, 0.03338680788874626, 0.022837428376078606, 0.005191113334149122, -0.008307366631925106, 0.018344173207879066, 0.012228168547153473, 0.03356187418103218, -0.008297366090118885, -0.012113681994378567, -0.019252410158514977, 0.026342198252677917, -0.17162668704986572, 0.033297099173069, -8.764227270973795e-33, 0.07296127080917358, 0.007104875519871712, -0.007624752353876829, 0.00790600385516882, 0.017730241641402245, -0.021650325506925583, 0.043601080775260925, 0.05636847764253616, -0.002705968916416168, -0.029485655948519707, 0.021100662648677826, -0.018881695345044136, 0.0000620171194896102, -0.02053043618798256, 0.023970674723386765, -0.01848798617720604, -0.005265464540570974, 0.023555835708975792, 0.00029049156000837684, 0.016208672896027565, 0.046775877475738525, 0.015867065638303757, 0.0352260060608387, -0.01905118301510811, 0.028597500175237656, 0.014531888999044895, 0.024814773350954056, 0.034637872129678726, -0.03201507404446602, -0.0438929982483387, -0.006519578397274017, 0.006021816749125719, -0.014609778299927711, -0.016531765460968018, -0.008321048691868782, -0.02696904167532921, -0.017922215163707733, 0.010556034743785858, 0.0026952538173645735, 0.008006511256098747, -0.028646189719438553, 0.01588788442313671, -0.018880469724535942, 0.00041043860255740583, 0.028149886056780815, -0.0231019239872694, -0.014093857258558273, 0.0005710779223591089, 0.005525579210370779, 0.002908783731982112, 0.0108506353572011, 0.0510488860309124, 0.010500200092792511, 0.01944536715745926, -0.008505799807608128, -0.003965537995100021, -0.0017689133528620005, -0.006577317602932453, -0.004192321095615625, 0.015500473789870739, 0.0366499125957489, 0.015885470435023308, -0.0470229871571064, 0.031072288751602173, 0.0006110187387093902, 0.00838538445532322, 0.00758698396384716, 0.0032327473163604736, 0.02501624822616577, -0.002533138496801257, -0.05633615329861641, -0.01729431375861168, -0.013635480776429176, -0.007406284566968679, -0.008023970760405064, 0.002676850650459528, -0.021947523579001427, 0.006413318682461977, 0.029779281467199326, 0.0295125599950552, -0.0061562685295939445, 0.00019835100101772696, 0.01396485511213541, -0.017496725544333458, -0.022295476868748665, -0.018794875591993332, 0.023190433159470558, 0.009334893897175789, -0.03870008885860443, 0.01785324141383171, 0.037498101592063904, 0.006674278061836958, 0.022313563153147697, -0.011849231086671352, -0.005941212177276611, 8.298657304967273e-33, 0.019628919661045074, -0.008571832440793514, -0.03706428408622742, 0.011985511519014835, 0.028147267177700996, -0.00544070964679122, -0.012900219298899174, -0.002040267689153552, -0.044197700917720795, 0.02069372870028019, -0.006822547409683466, 0.006500341463834047, -0.03646228089928627, 0.03619857132434845, 0.06345006823539734, -0.008423211984336376, 0.005221742670983076, -0.01877850666642189, -0.0094302361831069, -0.004877680912613869, 0.020075876265764236, 0.01058738399296999, 0.008534885011613369, 0.0006413446390070021, 0.021989336237311363, 0.04419492557644844, -0.048952359706163406, 0.0011899255914613605, 0.011296854354441166, -0.01026918925344944, 0.00978757068514824, -0.022687800228595734, 0.00468757189810276, -0.03095279633998871, -0.0043259356170892715, 0.006004250142723322, -0.01071648858487606, -0.02825354039669037, 0.016424356028437614, 0.0067974780686199665, 0.01681121252477169, -0.008697406388819218, -0.0018404040019959211, 0.025569211691617966, 0.008105779066681862, 0.015989253297448158, -0.006547014228999615, -0.02723100781440735, -0.017707878723740578, -0.0030181186739355326, 0.015116613358259201, 0.018179984763264656, 0.018488964065909386, -0.024812282994389534, 0.010486608371138573, -0.015376182273030281, -0.033337242901325226, -0.0003884985053446144, -0.028756439685821533, 0.03706220164895058, -0.003314851550385356, -0.005865361541509628, 0.01037221122533083, 0.004048144444823265, -0.031712062656879425, -0.005570998415350914, -0.0312931127846241, 0.012083630077540874, -0.008269783109426498, -0.008243605494499207, -0.03829910233616829, 0.005342483054846525, -0.020546915009617805, 0.030104538425803185, -0.020458994433283806, -0.04211157187819481, 0.004280097782611847, 0.0031317807734012604, -0.00374155817553401, 0.030103692784905434, 0.012792161665856838, 0.0291255172342062, 0.008942547254264355, 0.029496310278773308, -0.016006173565983772, 0.04246864840388298, -0.010584414005279541, -0.012113412842154503, -0.004292364232242107, -0.010764364153146744, -0.037281278520822525, -0.04119215905666351, 0.010257539339363575, -0.010872844606637955, -0.002789656864479184, -1.3891122918607834e-8, -0.02072352170944214, 0.02156362123787403, -0.027727244421839714, 0.012545778416097164, 0.015227016992866993, 0.014980681240558624, -0.032918062061071396, -0.0216987244784832, -0.011366785503923893, 0.00653501320630312, 0.050218403339385986, 0.003924979828298092, 0.011794181540608406, 0.010481338016688824, 0.02265222743153572, -0.05698305740952492, -0.023798329755663872, 0.006427332758903503, 0.01896778680384159, 0.022870229557156563, 0.0027179515454918146, 0.050265416502952576, -0.03644624352455139, -0.010958385653793812, 0.02718042954802513, 0.002586794551461935, 0.007468291558325291, -0.05060214921832085, 0.0020817164331674576, 0.03062780387699604, 0.006915886886417866, -0.027838189154863358, -0.041310690343379974, 0.020135018974542618, -0.012424751184880733, -0.046474639326334, 0.014561157673597336, -0.008632542565464973, 0.025876320898532867, -0.004455593414604664, 0.0017707389779388905, -0.0006724513368681073, -0.004470767453312874, -0.010796546936035156, -0.003869433421641588, -0.026252025738358498, -0.00941379088908434, -0.01566515676677227, -0.021131213754415512, -0.04639393836259842, -0.0000042482352000661194, 0.007387232501059771, -0.011080343276262283, 0.03453168645501137, 0.023232856765389442, 0.01304562296718359, -0.0093154301866889, -0.03161119669675827, -0.05066181346774101, -0.015588623471558094, 0.04339810833334923, 0.026108453050255775, -0.02048194222152233, -0.014310802333056927 ]
consistency-in-the-code-base
https://markhneedham.com/blog/2009/11/04/consistency-in-the-code-base
false
2009-11-04 01:22:56
Reading Code: Unity
[ "reading-code", "unity" ]
[ "Reading Code" ]
I spent a bit of time reading some of the http://www.codeplex.com/unity/[Unity] code base recently and I decided to try out a variation of Michael Feathers 'Effect Sketching' which my colleague http://intwoplacesatonce.com/[Dave Cameron] showed me. 'Effect Sketching' is a technique Feathers describes in 'http://www.amazon.co.uk/Working-Effectively-Legacy-Robert-Martin/dp/0131177052/ref=sr_1_1?ie=UTF8&s=books&qid=1256852443&sr=8-1[Working Effectively With Legacy Code]' and the idea is that we sketch a diagram showing the interactions between the fields and methods in a specific class while browsing through the code. Dave suggested doing a similar thing but with methods and classes instead while stepping through the code with the debugger. I set up this code to step my way through: [source,csharp] ---- var container = new UnityContainer(); container.AddNewExtension<Interception>(); container.RegisterType(typeof (IIDProvider), typeof (HttpContextIDProvider)); container.Configure<Interception>().SetDefaultInterceptorFor(typeof (GetPaymentBreakdownsService), new VirtualMethodInterceptor()); object resolve = container.Resolve(typeof (GetPaymentBreakdownsService)); ---- These are some of my observations from this exercise: * I found it was *much easier for me to remember where I was in the call stack* then normal. I often get quite engrossed in the individual method calls on objects that I forget where the code actually started before it ended up in the current location. Whenever this happened I was able to refer to my sketch to remind myself of where the code had started from. * Despite having the drawing I still got a bit lost when the http://unity.codeplex.com/sourcecontrol/changeset/view/38085?projectName=unity#616462[PolicyInjectionBehaviourDescriptor] made a call back to the container's Resolve method which meant that the code went through the same path that I'd just followed: ```public IInterceptionBehavior GetInterceptionBehavior( IInterceptor interceptor, Type interceptedType, Type implementationType, IUnityContainer container) { InjectionPolicy[] policies = container.Resolve<InjectionPolicy[]>();``` I was getting really confused watching various different injection policies being resolved instead of the type I was trying to resolve! * I've previously tried drawing diagrams which just contained the classes in a code base but I've found that including the methods that connect them makes it easier for me to understand what's going on. I've been drawing these diagrams out by hand but I thought I'd translate some of it into dot notation so that I could create a version using http://www.graphviz.org/[graphviz] to show on here. image:{{<siteurl>}}/uploads/2009/11/unity.png[unity.png,653] The nodes in orange represent classes and the dotted line represents where an event was fired. * I realised that I still need to spend more time reading code so that I know *when to dive into an object and when the details are probably not important*. At the moment I'm too prone to getting distracted by wanting to see how a specific method works instead of looking at those details later on when I actually need to know. * I felt as I was reading the code that in a lot of places the http://www.markhneedham.com/blog/2009/01/02/f-option-types/[option type] from functional programming would have come in quite useful. There is often code similar to this bit from LifeTimeStrategy: ~~~class object existing = lifetimePolicy.GetValue(); if (existing != null) { context.Existing = existing; context.BuildComplete = true; } ~~~ Instead of existing returning a null it could return 'None' to indicate it hasn't been resolved yet. * I've read about the 'http://msdn.microsoft.com/en-us/library/9k7k7cf0.aspx[yield]' construct before but I've never seen a need to use it yet in any code I've written so it was interesting to see it being used quite frequently inside http://unity.codeplex.com/sourcecontrol/changeset/view/38085?projectName=unity#616459[PolicySet]: ~~~csharp public IEnumerable+++<InjectionPolicy>+++GetPoliciesFor(MethodImplementationInfo member) { foreach (InjectionPolicy policy in this) { if (policy.Matches(member)) { yield return policy; } } } ~~~ From my understanding of this construct it seems like it acts in a similar way to a stream i.e. it's only evaluated when it's actually needed. </li> In the 'http://www.amazon.co.uk/Fundamentals-Object-oriented-Design-Object-Technology/dp/020169946X/ref=sr_1_1?ie=UTF8&s=books&qid=1257261364&sr=8-1[Fundamentals of Object Oriented Design in Uml]' Meilir Page Jones suggests that we might want to avoid replicated behaviour in our public APIs since it leads to greater complexity. This would therefore seem to suggest that having overloads of methods on an object is something to be avoided. Interestingly in this code base the overloads for 'UnityContainer' are actually defined as extension methods which then delegate back to 'UnityContainer' and pass in default values for unspecified parameters. This seems like quite a neat way of getting around the problem since we keep the API clean while also providing users of the code an easy way to do so. </ul> On the subject of reading code I recently came across an http://designbygravity.wordpress.com/2009/10/23/how-to-read-other-peoples-code-and-why/[interesting post by designbygravity which describes some approaches for reading code more effectively]. In particular I really liked the section about not hating the code : ____ You can get sucked into hating the code, merely because it is not yours. Software people tend to be equipped with ample egos, and other people's code can offend. But realize, their working code is better than your imagined code, because their working code exists right now. So put your ego aside and learn the code in front of you. ____ It's so easy to drift into this mindset but it's rarely helpful so if we can stop ourselves it's almost certainly beneficial.+++</InjectionPolicy>+++
null
null
[ -0.008111797273159027, -0.027348048985004425, 0.0030575748533010483, 0.026211608201265335, 0.061635639518499374, 0.017580093815922737, 0.04421641677618027, 0.019900277256965637, 0.024457013234496117, -0.05717429518699646, -0.005218036938458681, -0.021531006321310997, -0.0844951644539833, 0.00529575115069747, -0.02588975802063942, 0.0560939684510231, 0.058843404054641724, -0.004078700207173824, 0.011694129556417465, 0.01594461500644684, 0.014602866023778915, 0.07652831077575684, -0.03346453607082367, 0.015351452864706516, 0.025951961055397987, 0.018083782866597176, 0.01249356847256422, 0.009887016378343105, -0.04667221009731293, -0.011513098143041134, 0.028760293498635292, 0.02672395296394825, 0.026458220556378365, -0.06499949842691422, 0.01037325244396925, -0.02911829762160778, -0.037857674062252045, 0.029437817633152008, 0.0029012891463935375, 0.012438495643436909, -0.07998843491077423, -0.0077690985053777695, 0.002488282509148121, -0.024710558354854584, -0.035598274320364, 0.0033296747133135796, -0.052092842757701874, 0.009907669387757778, -0.02516312152147293, -0.011012859642505646, -0.08501832187175751, 0.04889271780848503, -0.014561304822564125, -0.010834009386599064, -0.001746019464917481, 0.06699669361114502, 0.016464538872241974, -0.07660096883773804, 0.03794226795434952, -0.06561505794525146, -0.006978305988013744, -0.004163512960076332, 0.0094550009816885, 0.03449546545743942, 0.026940850540995598, -0.014991727657616138, -0.03007582388818264, 0.04731248319149017, -0.014392804354429245, -0.018671851605176926, 0.008661335334181786, 0.025196077302098274, -0.012202226556837559, 0.004409242887049913, -0.004774885717779398, -0.035923637449741364, 0.00034548071562312543, 0.05915400758385658, 0.023308539763092995, 0.054879430681467056, -0.011899859644472599, 0.004474717658013105, 0.06053702533245087, -0.0014689282979816198, 0.009430275298655033, -0.015210908837616444, -0.000519102206453681, -0.002589356154203415, -0.026249749585986137, 0.04051440581679344, 0.003708628937602043, -0.07177464663982391, 0.011709298938512802, 0.04451057314872742, -0.014394089579582214, 0.012181649915874004, 0.000005422105004981859, 0.027262218296527863, 0.027371002361178398, -0.011611522175371647, -0.021257545799016953, 0.00694102281704545, 0.012618768028914928, 0.04895198717713356, -0.06046298146247864, -0.002549746772274375, -0.021744202822446823, -0.06523962318897247, -0.008160089142620564, 0.022851325571537018, -0.06385236978530884, 0.013310251757502556, -0.014953513629734516, -0.01976753957569599, -0.08536391705274582, 0.050708070397377014, 0.010533565655350685, -0.001958897104486823, -0.01965474896132946, 0.036696769297122955, 0.03077816404402256, 0.038919150829315186, 0.006272639147937298, 0.08959876000881195, 0.005255079362541437, 0.055219557136297226, -0.03692149370908737, 0.06884371489286423, -0.03429659828543663, -0.08946509659290314, 0.020994773134589195, 0.039477791637182236, -0.02129172347486019, -0.006066109985113144, 0.00704584177583456, -0.014551393687725067, -0.027272174134850502, -0.0021122272592037916, 0.03464965149760246, 0.0456220805644989, -0.0429418608546257, -0.05132729932665825, 0.02722075954079628, -0.03180179372429848, 0.00834494736045599, -0.00018559939053375274, -0.0026995204389095306, -0.04800577834248543, -0.027511706575751305, 0.05877634137868881, 0.03426259756088257, 0.03976994380354881, 0.038145072758197784, -0.024650586768984795, 0.006203602068126202, 0.09793669730424881, 0.00935241300612688, 0.006227281875908375, -0.002904304536059499, -0.0010685912566259503, 0.045543450862169266, 0.03198337182402611, 0.02489854022860527, 0.04213067144155502, 0.00034954960574395955, 0.008320515975356102, -0.01616618037223816, 0.023755967617034912, -0.010791615583002567, -0.02347191423177719, -0.0769953802227974, -0.021386979147791862, 0.05220860615372658, -0.0671219676733017, 0.0320727676153183, 0.014847581274807453, 0.058759842067956924, -0.0013848954113200307, 0.040124133229255676, 0.02362709492444992, -0.07291405647993088, 0.025619328022003174, 0.00965740904211998, -0.0018131473334506154, -0.006123958621174097, -0.02961202897131443, 0.05542804300785065, 0.03486298769712448, -0.025338197126984596, 0.03644898533821106, -0.09452211856842041, -0.06617823243141174, -0.0180329792201519, -0.005650739651173353, 0.06533859670162201, -0.020377082750201225, -0.030074749141931534, 0.05493300035595894, 0.0506071113049984, 0.04697734862565994, 0.046443402767181396, -0.017646118998527527, 0.02832466922700405, -0.021095121279358864, -0.016910361126065254, 0.00978733692318201, 0.03187297284603119, 0.023775579407811165, -0.07118231058120728, 0.026246408000588417, -0.006119441241025925, 0.016595570370554924, 0.04119125381112099, -0.013235071673989296, 0.0657525286078453, 0.01037968322634697, 0.0008362481603398919, -0.02638440951704979, 0.07780954986810684, -0.07347018271684647, -0.017078857868909836, -0.003992939833551645, -0.015599637292325497, -0.021411646157503128, -0.009250065311789513, 0.10198667645454407, 0.018359700217843056, -0.06390972435474396, -0.03688770532608032, 0.012715472839772701, 0.0014008936705067754, -0.03566721826791763, 0.005963881500065327, -0.05343358591198921, 0.004114767070859671, 0.00025627706781961024, -0.01862422004342079, 0.01941927708685398, 0.027669405564665794, -0.03807441517710686, 0.00825111847370863, 0.059266120195388794, -0.03532896935939789, 0.021063294261693954, -0.02346249669790268, -0.008493861183524132, -0.029342563822865486, -0.02593286521732807, -0.034594886004924774, 0.020333174616098404, 0.04501707851886749, 0.015625763684511185, 0.053889743983745575, -0.07443024963140488, 0.0005042216507717967, 0.007900002412497997, -0.05627649649977684, -0.03942856565117836, 0.018490033224225044, 0.05437815561890602, -0.01604445092380047, 0.02630518563091755, -0.030884524807333946, 0.031204912811517715, 0.003370473627001047, -0.03144024685025215, -0.012676853686571121, -0.011808973737061024, 0.007150282151997089, 0.02782895602285862, 0.040939897298812866, 0.01249169372022152, 0.04109398275613785, -0.016084197908639908, -0.03784450516104698, -0.0037138047628104687, 0.01589799113571644, 0.034569237381219864, -0.03585479035973549, -0.045899897813797, -0.012160705402493477, 0.03075385093688965, -0.05917229503393173, -0.019003359600901604, 0.0325472354888916, -0.0506795234978199, 0.03265462443232536, -0.026934385299682617, -0.07336734980344772, -0.00413596723228693, 0.0018889601342380047, 0.03705618903040886, -0.043763138353824615, 0.05449230968952179, 0.047846321016550064, 0.024885639548301697, 0.01085139624774456, 0.01864970475435257, -0.01172388531267643, 0.021450571715831757, 0.015375539660453796, 0.00571008026599884, 0.030638793483376503, -0.024141596630215645, -0.02841617725789547, -0.05061972513794899, 0.045459046959877014, -0.03918994963169098, -0.2775052487850189, 0.010889725759625435, -0.019928332418203354, -0.024099426344037056, 0.037430208176374435, -0.02145843394100666, 0.02183467335999012, -0.048020508140325546, 0.00484886858612299, 0.030536402016878128, -0.03372303768992424, -0.06075172498822212, -0.0032698458526283503, 0.05399628356099129, -0.002600113395601511, 0.02264421619474888, 0.01081222016364336, -0.03148508816957474, 0.01444021612405777, 0.05992692708969116, -0.02312188223004341, -0.057666026055812836, -0.002126958454027772, 0.03652932122349739, 0.019591839984059334, 0.03489173948764801, -0.08413082361221313, 0.04527528956532478, -0.022349992766976357, -0.010400036349892616, -0.003595734015107155, -0.00331508694216609, -0.005749762989580631, 0.02235165610909462, -0.03063158504664898, -0.003693173872306943, 0.020307131111621857, 0.007110884413123131, -0.025998538359999657, 0.0035879642236977816, -0.04722728207707405, -0.04537705332040787, -0.03060704655945301, -0.007626649923622608, 0.07772257924079895, -0.009588060900568962, -0.054720282554626465, -0.019952695816755295, -0.023886924609541893, 0.08885444700717926, -0.037748102098703384, -0.014221941120922565, 0.007359866052865982, 0.03137902170419693, -0.02717427909374237, -0.047046639025211334, 0.020701220259070396, -0.013727521523833275, -0.034328240901231766, -0.0032586136367172003, -0.014433018863201141, -0.04823823645710945, -0.015208598226308823, -0.04333939775824547, 0.020867981016635895, -0.07124020159244537, -0.06461988389492035, -0.013052128255367279, 0.04731646180152893, -0.007260719779878855, -0.01646314561367035, -0.024312514811754227, 0.00022653226915281266, -0.1173771396279335, 0.014799137599766254, -0.06705598533153534, -0.037205103784799576, -0.01568193919956684, 0.0395500473678112, 0.030821921303868294, -0.0043743811547756195, -0.0607084184885025, 0.019814956933259964, -0.004058197606354952, -0.016382534056901932, 0.020747322589159012, 0.058402638882398605, 0.00984292384237051, -0.018477624282240868, 0.002339949831366539, 0.07380414754152298, -0.0100500313565135, -0.026205692440271378, -0.05224686861038208, 0.026172582060098648, 0.015010199509561062, 0.033882953226566315, -0.008739558979868889, 0.025436878204345703, 0.03358301892876625, 0.027030793949961662, -0.06567941606044769, 0.016247054561972618, -0.011113577522337437, 0.02026091143488884, -0.0344785675406456, -0.012252810411155224, 0.030380936339497566, 0.06172162666916847, 0.042138222604990005, -0.007146245799958706, -0.02378116361796856, 0.0025533465668559074, -0.043867144733667374, -0.03861130028963089, -0.012905996292829514, 0.019736720249056816, 0.027388516813516617, -0.03005356155335903, -0.03521942347288132, -0.0466463565826416, 0.006581611465662718, -0.015661079436540604, 0.0192195326089859, -0.050891049206256866, -0.017832616344094276, -0.03319163993000984, -0.008505208417773247, 0.02590353600680828, 0.03799889236688614, 0.01684493198990822, 0.042118512094020844, -0.011153798550367355, -0.007795245852321386, 0.022287577390670776, -0.008010927587747574, -0.027057768777012825, -0.036783408373594284, -0.029666589573025703, 0.0010211316403001547, -0.007568822242319584, 0.019401106983423233, 0.016784487292170525, 0.004822315648198128, 0.03222591429948807, -0.01725751906633377, 0.0510893389582634, -0.014263302087783813, -0.010773778893053532, 0.010731099173426628, 0.046066489070653915, -0.06312413513660431, 0.02903398498892784, -0.040005799382925034, -0.04616989195346832, -0.03599211201071739, 0.023652199655771255, -0.031022075563669205, -0.01097403559833765, -0.043146271258592606, 0.07533542066812515, -0.05044962838292122, -0.041071824729442596, -0.026431672275066376, -0.014560461975634098, 0.017288321629166603, -0.009303522296249866, 0.03254975378513336, -0.023839564993977547, -0.043018680065870285, -0.006701663136482239, 0.006060019601136446, -0.03137803077697754, 0.037662263959646225, -0.0021740992087870836, 0.0020881504751741886, -0.01934848725795746, 0.003805051324889064, 0.029167674481868744, 0.01832190342247486, 0.006677650846540928, -0.01456419937312603, 0.01977241225540638, -0.02349001355469227, 0.056888945400714874, -0.001066535129211843, 0.014138991013169289, 0.0008383301319554448, -0.01802278682589531, -0.029442083090543747, -0.04876266419887543, 0.0013032983988523483, -0.0332406647503376, 0.014110887423157692, -0.036066457629203796, -0.09210551530122757, 0.03236685320734978, 0.01594209298491478, 0.013643894344568253, 0.011591737158596516, 0.0038496176712214947, 0.037356991320848465, -0.029254693537950516, 0.04983024671673775, 0.04829149320721626, -0.060656171292066574, 0.008366718888282776, -0.008619222790002823, 0.042462531477212906, 0.01210528053343296, 0.0258256196975708, -0.05594119057059288, -0.015478032641112804, -0.04066658392548561, 0.0030941052827984095, -0.04068942740559578, -0.024446245282888412, -0.06215764209628105, 0.0165982935577631, 0.0009635566966608167, 0.002235081745311618, -0.02591755986213684, -0.017869986593723297, -0.003257849020883441, -0.008693426847457886, -0.011616337113082409, -0.032083261758089066, -0.014239692129194736, 0.002733080182224512, -0.032210249453783035, 0.04384423792362213, 0.004417249001562595, 0.0589342936873436, 0.020534798502922058, -0.001857973518781364, 0.006446973420679569, -0.05715012922883034, -0.0045137242414057255, 0.021404104307293892, -0.000249107921263203, 0.013256196863949299, 0.009133697487413883, 0.0005427038995549083, -0.026291366666555405, -0.009940645657479763, 0.022305315360426903, 0.006416365969926119, -0.018589848652482033, 0.013182268477976322, 0.085209421813488, 0.006237095221877098, 0.04293607547879219, -0.007509482093155384, -0.011273514479398727, 0.059904228895902634, -0.08500298857688904, -0.01720079593360424, -0.0029062354005873203, -0.06125438213348389, 0.01693614013493061, 0.029181107878684998, 0.02888643555343151, -0.04809317737817764, 0.015612552873790264, 0.016750898212194443, 0.0020788791589438915, 0.06422515958547592, 0.02080122008919716, 0.026776596903800964, -0.05180138349533081, 0.0010115355253219604, -0.07250908017158508, 0.01812240108847618, 0.04768765717744827, -0.007562546990811825, -0.026235109195113182, -0.0015995996072888374, -0.022248534485697746, 0.05494556948542595, -0.05743272975087166, -0.037244949489831924, 0.0282528605312109, -0.024962149560451508, -0.006414063740521669, -0.005720709450542927, -0.04190123826265335, 0.02179294265806675, 0.020877374336123466, -0.04169302433729172, -0.062389809638261795, -0.01353763323277235, 0.05738350749015808, 0.03615197911858559, 0.028579531237483025, -0.040421634912490845, 0.010027841664850712, 0.07512276619672775, 0.02429914101958275, 0.041689224541187286, 0.023853790014982224, -0.006733553484082222, 0.06174735352396965, 0.013880959711968899, -0.006548041477799416, -0.012630126439034939, 0.006796838250011206, 0.021819375455379486, -0.03612354397773743, 0.04109763354063034, -0.017804434522986412, -0.029683448374271393, -0.029632708057761192, 0.036372698843479156, 0.019238261505961418, -0.02894711308181286, -0.013776205480098724, 0.021226920187473297, -0.036197975277900696, -0.01744987443089485, -0.02145197056233883, -0.0010150832822546363, -0.032709650695323944, 0.06202984228730202, 0.007051133085042238, -0.004270053468644619, 0.029181212186813354, -0.002932633040472865, -0.003551335306838155, -0.04251010715961456, 0.06308777630329132, 0.06004077196121216, 0.0483715645968914, 0.016865069046616554, 0.04973508417606354, 0.008148469030857086, -0.03348546102643013, 0.02997451461851597, 0.002204874064773321, 0.0029836788307875395, -0.010937691666185856, 0.023077523335814476, 0.07851986587047577, 0.04736551642417908, 0.03797706589102745, -0.03663285821676254, 0.015910185873508453, -0.003026072634384036, 0.030379392206668854, -0.015175878070294857, 0.029365185648202896, 0.01734987646341324, 0.013456102460622787, 0.0011048713931813836, -0.04131647199392319, 0.0390276238322258, -0.04434366524219513, 0.003477308200672269, 0.03711755573749542, 0.009576229378581047, 0.025955192744731903, 0.005470139905810356, 0.019371483474969864, 0.081401526927948, -0.01622365228831768, -0.02517545409500599, 0.008412537164986134, 0.008493051864206791, 0.012294355779886246, -0.00255570188164711, -0.009584425948560238, -0.008437883108854294, 0.02025376446545124, -0.033073414117097855, -0.010281195864081383, -0.01741516962647438, -0.017463529482483864, 0.046879805624485016, -0.002211612183600664, 0.047593437135219574, 0.028430258855223656, 0.001274297246709466, -0.06712992489337921, -0.04705682769417763, -0.04229174554347992, -0.019692523404955864, -0.04631458595395088, -0.002220338676124811, 0.039873264729976654, -0.01443582121282816, -0.04606138542294502, 0.0039925468154251575, -0.025403613224625587, -0.03655250743031502, 0.04089304804801941, -0.05825524404644966, -0.0024411878548562527, 0.023013243451714516, 0.007966695353388786, 0.011438007466495037, 0.0056640165857970715, 0.06046973541378975, 0.05887899547815323, 0.014543173834681511, -0.047655217349529266, -0.0032715830020606518, 0.018882039934396744, 0.02246982418000698, 0.042659495025873184, -0.09385702013969421, 0.0391785204410553, 0.01647261157631874, 0.007362051401287317, -0.06799516826868057, -0.0021040907595306635, -0.0006693658651784062, -0.03308997303247452, 0.052933938801288605, -0.02077934890985489, -0.00392690347507596, -0.002105562249198556, -0.004623644985258579, 0.022902434691786766, 0.02382226474583149, 0.03178025037050247, -0.02505473792552948, 0.06538686901330948, -0.002611052943393588, -0.0068771312944591045, -0.022580495104193687, -0.0024038192350417376, -0.014660372398793697, 0.021647462621331215, -0.02984989434480667, -0.020449692383408546, -0.022842923179268837, -0.06743037700653076, 0.015509247779846191, 0.04145750030875206, 0.0022224055137485266, -0.03761839121580124, 0.015558401122689247, 0.021260879933834076, -0.053641073405742645, 0.00614144466817379, -0.034654878079891205, 0.019743662327528, -0.03761507570743561, -0.03018508478999138, 0.03305371105670929, 0.03646492213010788, 0.0037979548797011375, 0.007862458936870098, 0.011195319704711437, -0.06610161811113358, -0.012433351017534733, -0.0000383903352485504, 0.0045038084499537945, 0.05459531769156456, -0.01491615455597639, -0.014328320510685444 ]
[ -0.08651377260684967, 0.007258439436554909, -0.0032521665561944246, -0.03569348156452179, 0.02455190196633339, -0.026313770562410355, -0.0037647755816578865, 0.0203094519674778, -0.006973974872380495, 0.004144312348216772, 0.010548197664320469, -0.027752431109547615, -0.02249334752559662, 0.030898209661245346, 0.04354105889797211, -0.006797675974667072, -0.03253120929002762, -0.016016801819205284, -0.006438372656702995, 0.018942121416330338, 0.010318541899323463, -0.03988435119390488, -0.038761988282203674, -0.043566491454839706, -0.008383561857044697, 0.046209800988435745, 0.02016296423971653, -0.04789343476295471, 0.02559819258749485, -0.21168507635593414, 0.022953497245907784, 0.05915620177984238, 0.02476692385971546, -0.02314155548810959, -0.0018014389788731933, 0.07490671426057816, 0.012117058038711548, 0.04886834695935249, 0.002904880093410611, 0.03025713935494423, 0.008473711088299751, 0.017118938267230988, -0.07058171927928925, -0.033799368888139725, 0.043819770216941833, -0.04767778515815735, 0.003976504318416119, -0.046240001916885376, 0.010767821222543716, 0.007173721678555012, -0.017503030598163605, -0.031947359442710876, -0.030577313154935837, -0.029889121651649475, -0.004440989810973406, 0.016566799953579903, 0.04932622238993645, 0.06338876485824585, 0.017167797312140465, 0.008784757927060127, 0.0019072799477726221, -0.03906784951686859, -0.13445401191711426, 0.10744841396808624, 0.051337432116270065, 0.052782684564590454, -0.0301752220839262, -0.0420343354344368, 0.02780251018702984, 0.08186891674995422, 0.00851182546466589, -0.026327259838581085, -0.03455248847603798, 0.03619223088026047, 0.03189348056912422, -0.015752144157886505, 0.009849116206169128, 0.013824926689267159, 0.03407326340675354, -0.05071407929062843, -0.04308154433965683, 0.0001653745275689289, -0.01818791963160038, -0.000931389513425529, -0.02068420499563217, 0.05399215221405029, -0.0038608023896813393, 0.02664285898208618, 0.06322377920150757, 0.014816362410783768, 0.022996610030531883, -0.017923079431056976, 0.02436562441289425, 0.015732459723949432, -0.09353435039520264, -0.00357842561788857, 0.008079854771494865, -0.02734171785414219, -0.03591387718915939, 0.4052826762199402, -0.011897088959813118, -0.053926870226860046, 0.06721950322389603, 0.03407381474971771, 0.009926804341375828, 0.008458824828267097, 0.04485723003745079, -0.04248609393835068, 0.020298270508646965, -0.02405761182308197, -0.03712620213627815, 0.001846885192207992, 0.043940335512161255, -0.03822481632232666, 0.00337030622176826, 0.030180813744664192, 0.014934980310499668, -0.0008076252415776253, 0.018145011737942696, -0.016193794086575508, 0.01024608127772808, 0.007971412502229214, 0.020545370876789093, 0.0018789583118632436, -0.023904694244265556, -0.0289518591016531, 0.008514606393873692, 0.07371104508638382, 0.007364077493548393, -0.016970058903098106, 0.06876420229673386, -0.023361986503005028, -0.04904695600271225, 0.0022767994087189436, 0.00416914839297533, 0.044761765748262405, 0.030713573098182678, 0.007475174032151699, -0.004895432852208614, 0.021739501506090164, 0.010459975339472294, 0.02686363086104393, 0.04207220301032066, -0.02587445266544819, -0.008222190663218498, 0.09679513424634933, 0.004959316458553076, -0.022261878475546837, 0.00988859124481678, -0.02688664011657238, -0.010897887870669365, 0.027232833206653595, -0.010911277495324612, -0.014955339953303337, 0.008618873544037342, 0.006543407682329416, 0.07927359640598297, 0.012403826229274273, -0.026141252368688583, -0.018293261528015137, -0.019463421776890755, -0.04327677562832832, -0.030015243217349052, 0.044915854930877686, 0.03567294403910637, -0.11600581556558609, -0.04287593066692352, 0.017798319458961487, 0.02511238120496273, -0.06956678628921509, -0.05032848194241524, 0.037629276514053345, -0.004236605484038591, -0.035496801137924194, 0.04249681159853935, -0.012873097322881222, -0.0613011009991169, 0.01186315342783928, 0.07962468266487122, 0.04622453451156616, 0.011004368774592876, 0.03311091661453247, -0.04037988558411598, -0.0119642848148942, -0.04365260899066925, -0.09334037452936172, -0.03781655803322792, -0.004888006951659918, -0.04872458800673485, -0.003940214868634939, -0.02967090718448162, -0.046454884111881256, -0.07627945393323898, 0.12395340204238892, -0.03775207698345184, -0.008399348706007004, 0.036114294081926346, -0.03726324811577797, -0.019565260037779808, -0.04038894549012184, 0.00935039296746254, 0.032118748873472214, -0.010759320110082626, 0.02456551603972912, -0.03327646851539612, 0.06351198256015778, 0.051140859723091125, -0.048313580453395844, 0.07760152965784073, 0.036487702280282974, -0.06825010478496552, -0.03166559711098671, 0.030144939199090004, 0.01631980948150158, 0.021498825401067734, -0.012947538867592812, -0.01648876629769802, 0.03728995472192764, -0.008910739794373512, -0.0015659213531762362, -0.019406704232096672, -0.06519414484500885, -0.031144622713327408, -0.3297620117664337, -0.013046611100435257, -0.014567132107913494, -0.010888916440308094, 0.012642563320696354, -0.06862973421812057, 0.025479525327682495, -0.013806107454001904, 0.003105467651039362, -0.05151033028960228, 0.06823123246431351, -0.011305921711027622, 0.025750020518898964, -0.095931775867939, 0.009952868334949017, -0.0034104029182344675, -0.04795210808515549, -0.026485368609428406, -0.047265246510505676, 0.022503767162561417, -0.030734430998563766, -0.01181029248982668, -0.007736699655652046, -0.05540670454502106, -0.008645608089864254, -0.06743406504392624, 0.09017445147037506, -0.002348489360883832, 0.09057266265153885, -0.01428590714931488, 0.039856672286987305, 0.014385471120476723, 0.01426659058779478, -0.09836424142122269, 0.02639036625623703, -0.01916315220296383, 0.0100769754499197, -0.020701618865132332, 0.03676546737551689, -0.034032005816698074, -0.07657139748334885, 0.007117998320609331, -0.027744745835661888, -0.028295597061514854, -0.06365966796875, 0.00548187643289566, -0.025060011073946953, -0.014568702317774296, -0.03455384075641632, 0.05819385126233101, 0.0029691418167203665, -0.02426823042333126, 0.00875241868197918, 0.0396331287920475, -0.020994918420910835, 0.0009439269779250026, -0.07449445128440857, -0.0017911699833348393, -0.023067673668265343, 0.01583259180188179, 0.028329145163297653, 0.06081554293632507, 0.041583579033613205, -0.06701014190912247, 0.026004167273640633, 0.044470928609371185, 0.012121179141104221, -0.04919814690947533, 0.06888701021671295, -0.012862368486821651, 0.019143546000123024, 0.1089673563838005, 0.0037762641441076994, -0.04093407094478607, 0.05470184236764908, 0.02722402662038803, 0.03649034723639488, 0.05558857321739197, 0.010163514874875546, -0.0075105465948581696, -0.01577484980225563, -0.00836355984210968, 0.005089919548481703, -0.02832256816327572, -0.0019452517153695226, 0.021268103271722794, -0.024141311645507812, -0.05100519210100174, 0.03016326017677784, -0.016184352338314056, -0.03192594274878502, 0.035315703600645065, -0.007811571937054396, -0.06513725221157074, 0.04447532445192337, 0.017628835514187813, -0.26449525356292725, 0.02883971482515335, 0.09272558242082596, 0.08461228013038635, -0.008391139097511768, 0.013898183591663837, 0.03416787460446358, -0.05022449418902397, 0.003678050357848406, -0.026142122223973274, 0.008676622994244099, 0.00867391936480999, 0.0177181176841259, 0.006758394651114941, 0.015323406085371971, 0.00301208789460361, 0.0426311120390892, -0.03209811449050903, 0.03222004696726799, -0.019765421748161316, 0.010107478126883507, 0.008416479453444481, 0.1669657826423645, 0.03463033586740494, 0.02323819324374199, -0.021616341546177864, 0.0014468291774392128, -0.031571079045534134, 0.0793406292796135, 0.023307163268327713, -0.004645160399377346, -0.0014851546147838235, 0.04381226748228073, -0.002364950720220804, 0.030676348134875298, -0.0771292895078659, -0.013250497169792652, 0.0435699000954628, 0.014647981151938438, -0.014292764477431774, -0.008756078779697418, 0.012492422945797443, -0.0039779082871973515, 0.028244802728295326, 0.02479236200451851, 0.035914089530706406, -0.007587900385260582, -0.007474007550626993, -0.042564649134874344, -0.01113469060510397, -0.011027720756828785, -0.04675046354532242, 0.017604336142539978, -0.05380936339497566, 0.007440398447215557, 0.07328444719314575, -0.013069123961031437, -0.044393766671419144, 0.000803670147433877, 0.05586463212966919, 0.010717540979385376, -0.008009020239114761, 0.14916476607322693, -0.023857401683926582, 0.06012116000056267 ]
[ 0.002048645168542862, 0.02186707593500614, 0.02550993673503399, 0.03167875111103058, 0.004644596483558416, 0.03581502288579941, 0.01509946957230568, -0.008588811382651329, -0.015987224876880646, 0.00875084102153778, -0.015291288495063782, 0.046044062823057175, -0.013030179776251316, -0.02326573245227337, 0.013411760330200195, -0.0023627516347914934, 0.02246004343032837, -0.031413204967975616, -0.011710814200341702, 0.04499748349189758, -0.004271173384040594, 0.022873468697071075, 0.007311216555535793, -0.0012594441650435328, -0.015229474753141403, 0.019984617829322815, -0.025822676718235016, 0.00322493608109653, 0.03469390422105789, -0.13155755400657654, 0.02249988168478012, -0.03293221443891525, -0.018522923812270164, -0.0026424231473356485, -0.027878763154149055, 0.018359597772359848, 0.00014838746574241668, 0.011541706509888172, -0.015652762725949287, -0.01892465353012085, 0.0011947351740673184, -0.0014267798978835344, -0.014355840161442757, 0.010156436823308468, 0.024182097986340523, -0.005753462202847004, -0.016251258552074432, -0.02428254671394825, 0.0029302702751010656, 0.012796021066606045, -0.02277265302836895, -0.0073572141118347645, -0.009943626821041107, 0.013501856476068497, -0.007156983949244022, 0.00861696619540453, 0.009865541942417622, 0.007640672381967306, 0.0051459623500704765, -0.03597809001803398, -0.0016506202518939972, -0.0036159285809844732, -0.0007967606652528048, -0.027989663183689117, 0.010889281518757343, -0.0037657541688531637, -0.00733713386580348, -0.007633059285581112, -0.0013364158803597093, -0.007877214811742306, -0.01803446188569069, 0.0017616820987313986, -0.02836819365620613, -0.016287364065647125, 0.009532724507153034, 0.014692867174744606, -0.01777215488255024, -0.006967563647776842, 0.009151860140264034, -0.007211326155811548, -0.01279416959732771, -0.0036610790994018316, 0.02914775162935257, 0.03229887783527374, 0.005480025429278612, 0.024348676204681396, -0.0038828172255307436, -0.006821314338594675, 0.03141782060265541, 0.004349451046437025, -0.017236677929759026, 0.022134151309728622, 0.027111614122986794, 0.028834575787186623, -0.053363386541604996, -0.016341501846909523, -0.013291298411786556, -0.01615099422633648, -0.03575229272246361, 0.8794671893119812, 0.004861793480813503, 0.002508060308173299, 0.030182823538780212, -0.008070728741586208, 0.02694440260529518, -0.01879635825753212, 0.0019435532158240676, 0.008335171267390251, -0.004605745431035757, -0.036157939583063126, 0.007772586774080992, -0.010289194993674755, 0.010482407175004482, 0.00990300066769123, 0.01798938773572445, 0.010117439553141594, 0.02289080247282982, -0.026196463033556938, 0.02969449944794178, 0.022310519590973854, 0.05722624808549881, -0.0021883146837353706, 0.020438745617866516, -0.013186701573431492, 0.0006934633711352944, -0.18358448147773743, -0.01862264610826969, -7.669758276385749e-33, 0.047107625752687454, -0.021717572584748268, 0.006367027759552002, 0.03724108263850212, 0.02236214466392994, 0.0026954421773552895, 0.012469763867557049, 0.023691335693001747, -0.0003338583919685334, -0.022813724353909492, -0.001399962231516838, -0.0034464173950254917, -0.0032791728153824806, -0.004865975119173527, 0.02518344856798649, -0.008580535650253296, 0.007150426506996155, 0.04541934281587601, 0.01677747443318367, -0.0009943490149453282, 0.004522665403783321, 0.01964513212442398, -0.006111824419349432, -0.011737530119717121, 0.017444506287574768, 0.038100991398096085, -0.00813558790832758, 0.012087292037904263, -0.02297731675207615, -0.0453081913292408, 0.024629365652799606, 0.0012425464810803533, -0.02300090342760086, -0.023867378011345863, 0.006965636275708675, -0.046886906027793884, -0.012318264693021774, -0.00805040542036295, -0.03096717968583107, -0.01000879518687725, -0.027917275205254555, -0.04143482819199562, -0.02936343476176262, 0.01780475676059723, -0.012428098358213902, -0.02614736743271351, -0.008376043289899826, 0.017961900681257248, 0.021867824718356133, -0.0018942804308608174, 0.00650258781388402, 0.016140516847372055, 0.010630514472723007, -0.013285335153341293, -0.02404911257326603, 0.021884240210056305, -0.0017010205192491412, 0.030954310670495033, -0.010519562289118767, 0.008759770542383194, -0.0021741846576333046, -0.03229720517992973, -0.029005765914916992, 0.01827288046479225, -0.018005400896072388, -0.008248929865658283, -0.020515238866209984, 0.024436501786112785, -0.013639813289046288, -0.01735818386077881, -0.047242384403944016, 0.02014148235321045, 0.0017045201966539025, -0.0023380923084914684, 0.022377174347639084, -0.012679328210651875, -0.0005822799284942448, 0.027055414393544197, 0.0021837230306118727, 0.014591875486075878, 0.013093176297843456, -0.0008079226245172322, 0.01739506423473358, -0.006976398639380932, -0.02245190739631653, -0.012012748047709465, 0.025921395048499107, -0.003382499096915126, 0.021807773038744926, -0.0036718628834933043, 0.019997520372271538, 0.027197128161787987, -0.005992391612380743, -0.03723526746034622, -0.046948790550231934, 7.448425914437359e-33, -0.03227018564939499, -0.017875956371426582, -0.04208895564079285, 0.027362419292330742, -0.006154255475848913, -0.0006961039616726339, 0.02436719834804535, 0.013574030250310898, -0.03987167775630951, 0.011531592346727848, -0.0023749794345349073, 0.006918109487742186, -0.03640683367848396, 0.04834084212779999, 0.028081228956580162, 0.0016459798207506537, 0.003937471192330122, -0.052971966564655304, 0.053230851888656616, -0.013415771536529064, 0.0246407613158226, -0.007829728536307812, 0.015388105995953083, -0.012287454679608345, -0.0443754680454731, 0.04986031353473663, 0.004833252169191837, -0.003339575370773673, 0.011551049537956715, 0.0049335649237036705, -0.0005561751895584166, -0.02702230028808117, 0.028396068140864372, -0.0005749593838118017, -0.04194125160574913, 0.034449078142642975, -0.01878671906888485, 0.004721978213638067, -0.006457947194576263, -0.011298264376819134, -0.008940499275922775, -0.04248371347784996, -0.011307356879115105, 0.006530231796205044, 0.03447144851088524, -0.037994369864463806, -0.009736641310155392, 0.0011766336392611265, -0.004656268283724785, 0.04590281471610069, 0.006008742842823267, 0.001585348160006106, 0.022671667858958244, 0.02818831242620945, 0.006473487243056297, -0.004373524338006973, -0.012194651179015636, -0.02691895142197609, -0.01623532548546791, 0.017997652292251587, -0.0009027624619193375, 0.013626658357679844, -0.02112787775695324, 0.014688322320580482, -0.0077247037552297115, 0.008855308406054974, -0.03404071182012558, -0.01442542765289545, -0.022498277947306633, 0.002240169793367386, 0.003984542563557625, -0.028013696894049644, -0.005399919115006924, 0.016683479771018028, 0.022293444722890854, -0.009625245817005634, 0.03855464607477188, -0.003787392284721136, -0.0005505759036168456, -0.0035686034243553877, 0.005336339119821787, -0.021339789032936096, 0.04081523045897484, -0.04679960012435913, 0.0098483357578516, 0.00312556023709476, -0.027082810178399086, 0.007802582811564207, -0.006751436740159988, -0.023248327895998955, -0.04000062122941017, -0.0007583484402857721, 0.008812084794044495, 0.013380569405853748, 0.015089868567883968, -1.3311189483999897e-8, -0.012985395267605782, 0.0429406501352787, -0.012531310319900513, -0.0008244123891927302, 0.0422404408454895, 0.01702818274497986, -0.037033941596746445, -0.01560268085449934, -0.03890369087457657, 0.014389303512871265, -0.0029916486237198114, -0.01167532429099083, -0.010798194445669651, 0.002063472056761384, 0.03902428597211838, -0.040156811475753784, -0.020867861807346344, -0.015194904990494251, 0.020042970776557922, -0.02199484035372734, -0.0022561736404895782, 0.039215248078107834, 0.0047968365252017975, -0.004112238995730877, 0.006780007854104042, -0.006428259424865246, 0.014360884204506874, -0.05467682704329491, 0.0016668353928253055, 0.03437934070825577, -0.046997249126434326, -0.007873456925153732, -0.028009597212076187, -0.0005879242089577019, -0.035710833966732025, -0.02365318313241005, -0.009818126447498798, -0.021126069128513336, 0.0162701103836298, -0.009219598956406116, 0.008998830802738667, 0.000038441092328866944, 0.022420687600970268, -0.025152288377285004, 0.024636846035718918, 0.007556770462542772, 0.013113296590745449, -0.01684141904115677, 0.03542656823992729, -0.015278620645403862, -0.02083480916917324, 0.023730352520942688, -0.003204495180398226, 0.04145325720310211, 0.018687473610043526, 0.00793203804641962, 0.010982077568769455, -0.014553151093423367, -0.0005188979557715356, 0.025826886296272278, -0.0033968202769756317, 0.014295022934675217, -0.022754734382033348, -0.022479668259620667 ]
reading-code-unity
https://markhneedham.com/blog/2009/11/04/reading-code-unity
false
2009-11-20 13:11:03
Clojure: A few things I've been tripping up on
[ "clojure" ]
[ "Clojure" ]
In my continued playing with Clojure I'm noticing a few things that I keep getting confused about. == The meaning of parentheses http://krbtech.wordpress.com/2009/03/16/same-temperature-converter-different-language-clojure/[Much like Keith Bennett] I'm not used to parentheses playing such an important role in the way that an expression gets evaluated. As I understand it if an expression is enclosed in parentheses then that means it will be evaluated as a function. For example I spent quite a while trying to work out why the following code kept throwing a class cast exception: [source,lisp] ---- (if (true) 1 0) ---- If you run that code in the REPL you'll get the following exception because 'true' isn't a function and therefore can't be applied as such: [source,text] ---- java.lang.ClassCastException: java.lang.Boolean cannot be cast to clojure.lang.IFn (NO_SOURCE_FILE:0) ---- If we don't want something to be treated this way then the parentheses need to disappear! [source,lisp] ---- (if true 1 0) ---- == Truthyness Somewhat related to the above is understanding which expressions evaluate to 'true' or 'false'. I'm told there are some edge cases but that as a general rule everything except for 'false' and 'nil' evaluates to true. I think that's an idea which is more common in languages like Ruby but I'm not yet used to the idea that we can something like this and have it execute: [source,lisp] ---- (if "mark" 1 0) ---- In C# or Java I would except to have to compare "mark" to something in order for it to evaluate to a boolean result. It seems like a really neat way to reduce the amount of code we have to write though so I like it so far. == Character Literals I've been working through http://java.ociweb.com/mark/clojure/article.html#Syntax[Mark Volkmann's Clojure tutorial] and in one example he defines the following function: [source,lisp] ---- (def vowel? (set "aeiou")) ---- I wanted to try it out to see if a certain character was a vowel so I initially did this: [source,lisp] ---- =>(vowel? "a") nil ---- "a" is actually a string though which means it's an array of characters when what we really want is a single character. I thought the following would be what I wanted: [source,lisp] ---- (vowel? 'a') ---- Instead what I got was the following exception: [source,text] ---- java.lang.Exception: Unmatched delimiter: ) ---- This one just turned out to be a case of me not reading http://clojure.org/reader[the manual] very carefully and actually the following is what I wanted: [source,lisp] ---- => (vowel? \a) \a ----
null
null
[ -0.006108702160418034, 0.03529816120862961, -0.050381261855363846, 0.0005118025001138449, 0.05620498210191727, -0.0013431316474452615, 0.023741621524095535, 0.02503306418657303, 0.010821354575455189, -0.03274741396307945, -0.04758239537477493, -0.0034403172321617603, -0.06333406269550323, 0.0318584106862545, 0.01698361150920391, 0.04830946773290634, 0.09936249256134033, -0.020374931395053864, 0.04210634157061577, -0.022862397134304047, 0.017948849126696587, 0.03366535156965256, -0.019258825108408928, -0.00005808445348520763, 0.05859944596886635, 0.007934433408081532, 0.040526799857616425, 0.02283834107220173, -0.0500582754611969, -0.01394831296056509, 0.02762787789106369, 0.05522682145237923, -0.017938805744051933, -0.0037883222103118896, 0.0027532128151506186, 0.019778380170464516, 0.021906321868300438, 0.00999586284160614, 0.001470640767365694, 0.07232727855443954, -0.08299607038497925, -0.012297672219574451, 0.0002748825354501605, 0.01417907141149044, -0.02453641965985298, -0.0031119068153202534, -0.04650295153260231, 0.0156271830201149, -0.018563376739621162, 0.03821081668138504, -0.07105141133069992, 0.02981760911643505, -0.0004467591643333435, 0.02506464160978794, 0.023439213633537292, 0.038371872156858444, 0.008724534884095192, -0.10202508419752121, 0.03877546265721321, -0.03753162920475006, -0.0055463071912527084, 0.01805027574300766, 0.011285517364740372, 0.03170653432607651, 0.02968411147594452, -0.00393564160913229, 0.005098274443298578, 0.022715002298355103, -0.08132598549127579, -0.01952711120247841, -0.014956041239202023, 0.01652200147509575, -0.01625729165971279, -0.017714235931634903, 0.04787968844175339, -0.030284032225608826, -0.010868710465729237, 0.034350741654634476, 0.004035044927150011, 0.04307045415043831, -0.03789932653307915, 0.033140990883111954, 0.04027009382843971, 0.032889723777770996, 0.0514562763273716, -0.01678137294948101, -0.019982246682047844, -0.04010368883609772, 0.013729467988014221, 0.014456829987466335, -0.0008374725584872067, -0.05015747621655464, -0.02766755037009716, -0.0013105312827974558, 0.010359230451285839, -0.006475119385868311, -0.019990215077996254, -0.0010120149236172438, 0.0023571604397147894, -0.01208007987588644, -0.0196878332644701, -0.053512055426836014, 0.01745503954589367, 0.0075588589534163475, -0.06243690103292465, -0.01422925852239132, 0.0060439566150307655, -0.00787342805415392, 0.0274500772356987, 0.010569301433861256, -0.06239163130521774, 0.00420112581923604, -0.013675455003976822, 0.01654740422964096, -0.055156588554382324, 0.03093096800148487, -0.007645584177225828, -0.017798062413930893, -0.03843209892511368, 0.03946287930011749, 0.013950721360743046, 0.007234342396259308, -0.002572078490629792, 0.06297821551561356, -0.01402768213301897, 0.03269399330019951, -0.034594353288412094, 0.05419827997684479, -0.01968977227807045, -0.028830816969275475, -0.02940996177494526, 0.06308462470769882, 0.0008538977708667517, 0.0001702865702100098, -0.008511748164892197, -0.02584194764494896, -0.022178230807185173, -0.009616192430257797, 0.05244499444961548, 0.033244919031858444, -0.008434136398136616, -0.046044666320085526, -0.008479188196361065, -0.009604588150978088, 0.02444222941994667, 0.004191345069557428, 0.014593953266739845, -0.0015953137772157788, 0.01195768266916275, 0.018470196053385735, 0.02886524237692356, 0.053801409900188446, 0.08647118508815765, 0.01109324861317873, 0.022563835605978966, 0.05648646131157875, 0.01235999446362257, 0.05050710216164589, -0.013387016952037811, 0.005357975140213966, 0.019043607637286186, 0.038231171667575836, 0.00906867440789938, 0.07187629491090775, 0.03944220766425133, 0.016961904242634773, -0.012657883577048779, 0.05354878306388855, 0.015899119898676872, -0.020486930385231972, -0.03526144102215767, -0.05345883220434189, 0.06710829585790634, -0.035719651728868484, 0.0220418069511652, -0.0002514920779503882, 0.061482373625040054, -0.003009633393958211, 0.06076711416244507, -0.009974963031709194, -0.07062267512083054, 0.0492124930024147, -0.00997936725616455, 0.03165678679943085, 0.022283175960183144, 0.00585170928388834, 0.04824124649167061, -0.002142605371773243, 0.02382967434823513, 0.02581707388162613, -0.0724048763513565, -0.05032050982117653, -0.003690283512696624, -0.017595237120985985, 0.06455414742231369, -0.05147792771458626, -0.03792484477162361, 0.051782313734292984, 0.017809033393859863, 0.012806789018213749, 0.01576233096420765, 0.01128731481730938, 0.011365114711225033, -0.02370031364262104, -0.029416749253869057, 0.06359705328941345, 0.06835202872753143, -0.008028126321732998, -0.036520663648843765, 0.024762887507677078, 0.008512989617884159, 0.017025653272867203, 0.013137217611074448, -0.019880961626768112, 0.04725830629467964, 0.02476848103106022, 0.014756175689399242, -0.057983964681625366, 0.057297732681035995, -0.03816521540284157, 0.03223508596420288, 0.020171474665403366, 0.035183846950531006, -0.015491514466702938, 0.009759226813912392, 0.13251271843910217, 0.051647040992975235, -0.03300508111715317, -0.06438625603914261, 0.04361570626497269, -0.020080458372831345, -0.06334956735372543, -0.002879842882975936, 0.011305960826575756, 0.01675514504313469, -0.016074536368250847, -0.004387293942272663, 0.00025645436835475266, 0.01726258173584938, -0.03987102955579758, 0.013233356177806854, 0.0871942937374115, -0.03542623668909073, 0.04512855038046837, -0.005621567368507385, -0.04090416803956032, 0.026882678270339966, -0.03215000778436661, -0.0914316326379776, 0.030019771307706833, 0.017970530316233635, -0.01944279856979847, 0.05002489313483238, -0.02279735542833805, -0.041966624557971954, -0.024455999955534935, -0.06431225687265396, 0.008223898708820343, 0.03497930243611336, 0.050394657999277115, -0.00826508179306984, 0.024742253124713898, 0.0034378478303551674, -0.01136975921690464, -0.01676318049430847, -0.038865406066179276, -0.02779482677578926, 0.04687580466270447, 0.004556053783744574, 0.02496947906911373, -0.0007014285074546933, 0.02294180542230606, 0.026884393766522408, -0.008076664991676807, -0.03115864470601082, 0.016822682693600655, 0.008760305121541023, 0.00798328872770071, -0.028225617483258247, -0.025176793336868286, -0.03521556779742241, 0.04293636232614517, -0.03236023336648941, -0.06454256922006607, -0.004581888671964407, -0.04904361441731453, 0.057326991111040115, -0.07330270856618881, -0.023288952186703682, 0.008403495885431767, 0.03295164182782173, -0.0023047677241265774, -0.0320817306637764, -0.013589448295533657, 0.08445495367050171, -0.019252194091677666, 0.02219730243086815, 0.013353053480386734, 0.005937263369560242, 0.0274653322994709, -0.017853466793894768, 0.021712973713874817, 0.02055921033024788, 0.03258489817380905, -0.0040188198909163475, -0.01039339043200016, 0.007031282410025597, 0.003242546459659934, -0.24987000226974487, 0.036647677421569824, -0.014076744206249714, -0.04364959895610809, 0.022461887449026108, -0.044394560158252716, 0.008485326543450356, -0.028758252039551735, -0.010536725632846355, 0.022669220343232155, -0.02493583969771862, -0.023145245388150215, -0.042762916535139084, 0.0395800843834877, -0.02481403574347496, -0.05136020481586456, -0.010151254944503307, -0.04306735843420029, -0.018174977973103523, 0.05002473294734955, -0.0008071866468526423, -0.056109555065631866, 0.02643994800746441, 0.029015686362981796, 0.06756769120693207, 0.030318597331643105, -0.0703897625207901, 0.05546189472079277, -0.02994302660226822, -0.021568816155195236, 0.028224896639585495, -0.0036753336898982525, -0.005559391807764769, -0.03801202028989792, -0.029573898762464523, -0.002686168299987912, 0.021403862163424492, -0.014401760883629322, 0.05008770152926445, 0.07012335956096649, -0.05407632142305374, -0.05001953989267349, 0.015959808602929115, -0.03574125096201897, 0.05220188945531845, -0.0059916777536273, -0.07983838021755219, 0.00101011514198035, -0.05477684736251831, 0.09028798341751099, -0.009847919456660748, -0.012184536084532738, -0.011150089092552662, 0.0605238638818264, 0.017742877826094627, -0.022919008508324623, -0.020042289048433304, -0.03381583094596863, -0.06807436048984528, -0.02869601361453533, -0.023384397849440575, -0.04122269153594971, -0.017978228628635406, -0.059504199773073196, -0.024927372112870216, -0.06199777498841286, -0.0706099346280098, 0.004113619681447744, 0.06423978507518768, 0.01381372008472681, -0.0201017577201128, -0.019907914102077484, -0.01170264184474945, -0.10494258254766464, -0.025083763524889946, -0.028724076226353645, -0.03879161924123764, -0.02851898781955242, -0.009726367890834808, 0.01852114126086235, -0.041266053915023804, -0.024338532239198685, 0.023172248154878616, 0.045780159533023834, 0.04045402631163597, -0.013027792796492577, -0.006154247093945742, -0.00939143355935812, -0.007295040413737297, -0.008782879449427128, 0.048358120024204254, -0.015978505834937096, -0.05239054560661316, -0.05210324004292488, -0.014571154490113258, 0.029411714524030685, 0.04195582494139671, -0.01877409592270851, 0.03622717782855034, 0.028160719200968742, 0.05057424679398537, -0.05090155079960823, 0.04065356031060219, -0.01024515088647604, -0.03314240649342537, 0.008251813240349293, -0.06074657663702965, 0.0751834586262703, 0.0214264877140522, -0.024980885908007622, -0.05613872781395912, -0.05093950033187866, -0.004279045388102531, -0.05131159722805023, -0.04570556432008743, -0.015608190558850765, -0.012173067778348923, 0.019738897681236267, 0.02508550137281418, -0.02939773164689541, -0.03537474572658539, 0.011154085397720337, 0.021130496636033058, -0.04669089615345001, -0.06159431114792824, -0.03291003406047821, 0.001705997041426599, 0.011144882068037987, -0.012627112679183483, 0.01765573024749756, -0.026355087757110596, 0.04387468472123146, -0.012957572937011719, -0.03521743416786194, 0.015283680520951748, -0.0063834236934781075, 0.005552547983825207, 0.019772205501794815, -0.037233974784612656, -0.00607516011223197, 0.03603706136345863, -0.03440996631979942, 0.00919787585735321, -0.0069492533802986145, 0.027841944247484207, -0.014063451439142227, 0.0027256538160145283, 0.011120081879198551, -0.04220345988869667, 0.013423416763544083, 0.03447265177965164, -0.07014568150043488, 0.03159771487116814, -0.026208797469735146, -0.010232866741716862, 0.006967891473323107, 0.02141052857041359, -0.00614600395783782, -0.03377815708518028, -0.0474373959004879, 0.037436287850141525, -0.02699318155646324, 0.009710351936519146, -0.00981540884822607, -0.03307168558239937, 0.041974615305662155, -0.010854321531951427, 0.052557654678821564, -0.025070451200008392, 0.022829702123999596, -0.032200876623392105, 0.029874231666326523, -0.032717809081077576, 0.030430996790528297, -0.014829510822892189, 0.0013336120173335075, -0.01627146452665329, 0.020740559324622154, 0.013664273545145988, 0.00448875455185771, -0.01509187277406454, -0.016879886388778687, 0.060203708708286285, 0.054034825414419174, 0.02577306143939495, -0.017556533217430115, 0.009202338755130768, 0.011106131598353386, -0.029666567221283913, -0.016142984852194786, -0.06180642172694206, -0.0493408665060997, -0.03683670982718468, 0.009664438664913177, -0.04694880545139313, -0.039114564657211304, 0.012457665055990219, 0.05937054753303528, -0.027990048751235008, -0.0006489783409051597, 0.012592154555022717, -0.027168653905391693, -0.056462425738573074, -0.009663185104727745, 0.0649411603808403, -0.049167830497026443, -0.0018615499138832092, -0.00557740731164813, 0.0064192358404397964, 0.03243308886885643, 0.028283560648560524, -0.08560848236083984, -0.016450537368655205, -0.004641456063836813, -0.018382234498858452, -0.012593228369951248, -0.029489001259207726, 0.008555055595934391, -0.010359351523220539, -0.03693385794758797, 0.012869877740740776, 0.00226846756413579, -0.050901856273412704, -0.013744502328336239, 0.009178973734378815, -0.028025245293974876, -0.002053534844890237, 0.012502595782279968, 0.041650839149951935, -0.012644846923649311, 0.0035938345827162266, -0.015798263251781464, 0.04831801727414131, 0.019974252209067345, 0.01017828844487667, -0.03412240743637085, -0.06252836436033249, 0.014421639032661915, -0.04002688080072403, 0.02981281280517578, 0.03182898461818695, -0.018511837348341942, -0.017531342804431915, 0.01379377767443657, -0.032104767858982086, -0.00286376872099936, -0.00823182426393032, -0.025348598137497902, -0.0020424758549779654, 0.04273573309183121, -0.0013957973569631577, 0.073998361825943, -0.0007710025529377162, -0.0017208110075443983, 0.07443863153457642, -0.03810448572039604, -0.03920469060540199, 0.01351642981171608, -0.06028590351343155, 0.03488640487194061, 0.03749391809105873, 0.028944106772542, -0.04146721959114075, 0.019500046968460083, 0.04086381942033768, 0.011384811252355576, 0.01566549763083458, -0.001997036626562476, 0.027571648359298706, -0.02797349914908409, 0.00038642410072498024, -0.08977899700403214, 0.0055572260171175, 0.06512550264596939, 0.03729693219065666, -0.022100619971752167, -0.051602303981781006, -0.029902467504143715, 0.011988313868641853, -0.060491129755973816, 0.005715932697057724, 0.0572006031870842, 0.022909754887223244, 0.014305263757705688, 0.038481492549180984, -0.061994608491659164, 0.02876115031540394, 0.024646703153848648, -0.031586311757564545, -0.028801972046494484, -0.04351385682821274, 0.031185152009129524, -0.0038393819704651833, 0.022359421476721764, 0.0005677789449691772, 0.005285491235554218, 0.07032985240221024, 0.039423346519470215, 0.03776751086115837, 0.06519771367311478, -0.027995005249977112, -0.015182120725512505, 0.03268638998270035, -0.021976172924041748, -0.0004920186474919319, 0.04570898786187172, -0.028226492926478386, -0.06639254838228226, 0.01897772029042244, 0.03655350208282471, -0.04993780702352524, -0.04224454239010811, 0.06329717487096786, 0.007110282313078642, -0.004190968349575996, -0.007624396588653326, 0.002486452227458358, -0.03490006551146507, -0.01572984829545021, -0.0056996033526957035, 0.005571837071329355, -0.03787313774228096, 0.04753907024860382, -0.022666489705443382, 0.003917592577636242, 0.05323585867881775, 0.020892994478344917, -0.00044817448360845447, -0.006582478526979685, 0.07695259153842926, 0.09813807904720306, 0.019558819010853767, 0.02454802580177784, 0.013652940280735493, -0.03082604706287384, -0.026344962418079376, -0.006764196325093508, -0.012668924406170845, 0.004176957067102194, -0.007942669093608856, 0.017048487439751625, 0.054978907108306885, -0.0010966095142066479, 0.05091394856572151, -0.001951388898305595, 0.008156303316354752, 0.008965776301920414, 0.02667906880378723, 0.029941171407699585, 0.05573193356394768, 0.008870481513440609, 0.001936763059347868, 0.023668719455599785, -0.04352922365069389, 0.037288863211870193, -0.06274884939193726, -0.06240280345082283, 0.014109663665294647, 0.006386626977473497, -0.009556431323289871, 0.011211138218641281, 0.031848806887865067, 0.07700056582689285, -0.013141636736690998, 0.0013612359762191772, 0.012864968739449978, 0.027572346851229668, 0.0009190310956910253, -0.025061162188649178, 0.009894737973809242, -0.04270755127072334, -0.006982317194342613, 0.008864973671734333, -0.02069699577987194, -0.05413108691573143, -0.06943436712026596, 0.019927334040403366, -0.047426242381334305, -0.013807003386318684, 0.01728040538728237, 0.013659168966114521, -0.04041708633303642, -0.06303860247135162, -0.020822355523705482, -0.058312561362981796, -0.05481114983558655, -0.0241034347563982, -0.0016534674214199185, -0.05033230036497116, -0.03184131905436516, -0.016394367441534996, -0.0008561396389268339, 0.0011714076390489936, 0.040023088455200195, -0.015606023371219635, 0.02053220011293888, 0.014579340815544128, 0.022290674969553947, 0.0298618096858263, -0.007697789464145899, 0.0075780972838401794, -0.024803776293992996, 0.005896338261663914, -0.020442765206098557, -0.015726406127214432, 0.04972448945045471, -0.0019852921832352877, 0.0032712039537727833, -0.06767822057008743, -0.03373394533991814, 0.05956178158521652, 0.030739543959498405, -0.060353755950927734, 0.04376111552119255, 0.0023744788486510515, -0.005655304528772831, 0.05612684413790703, -0.017765015363693237, 0.008547421544790268, -0.032883964478969574, 0.013675923459231853, 0.011334101669490337, -0.002374988282099366, 0.03458882123231888, -0.003331521525979042, 0.071256622672081, 0.01261946838349104, -0.027847496792674065, -0.028152279555797577, -0.026965945959091187, -0.026478970423340797, 0.01686873845756054, -0.039534129202365875, -0.011045357212424278, -0.03871440514922142, -0.04448169842362404, -0.0033504695165902376, -0.012616084888577461, -0.02744998410344124, -0.026216816157102585, -0.0028056097216904163, 0.06554225087165833, -0.03515423834323883, 0.056375570595264435, -0.0142564307898283, 0.05159223824739456, -0.006737830583006144, -0.035943515598773956, 0.03210460767149925, -0.015213861130177975, -0.03466515243053436, 0.011733039282262325, 0.06811846792697906, -0.029743686318397522, -0.014508307911455631, -0.02065056562423706, 0.019271066412329674, -0.0011330803390592337, -0.005795605015009642, 0.007616048213094473 ]
[ -0.12422479689121246, -0.03343582525849342, -0.025644736364483833, -0.03321468085050583, 0.00020612870866898447, -0.040432848036289215, 0.02864314243197441, 0.036623720079660416, 0.009012105874717236, -0.01448008231818676, -0.007699972949922085, -0.046198710799217224, 0.0073314630426466465, 0.0027816968504339457, 0.10819092392921448, -0.01341787539422512, -0.02520790882408619, -0.03735029324889183, -0.06374668329954147, -0.005725488066673279, 0.06174401566386223, -0.04439089447259903, -0.04933609068393707, -0.04539452865719795, 0.051049161702394485, 0.06032158434391022, 0.054463233798742294, -0.037231527268886566, 0.02622056193649769, -0.1964450478553772, -0.012063476257026196, 0.027537034824490547, 0.040125150233507156, -0.041536685079336166, -0.025955140590667725, 0.05794370546936989, 0.0029155404772609472, 0.012748759239912033, -0.02693922631442547, 0.0439009927213192, 0.028049545362591743, 0.029721161350607872, -0.02588772028684616, -0.024516692385077477, 0.04455241933465004, -0.01202808041125536, 0.006720973644405603, -0.011442035436630249, -0.051495470106601715, 0.02303352579474449, -0.05981067940592766, -0.006163748912513256, 0.025739774107933044, -0.018717819824814796, -0.010160879231989384, 0.0414094552397728, 0.03571460023522377, 0.08961129188537598, 0.023615151643753052, -0.009148840792477131, -0.005216090474277735, -0.008706536144018173, -0.12626557052135468, 0.0742386057972908, 0.01897009275853634, 0.04827692732214928, 0.004939511884003878, -0.03386935219168663, -0.031117375940084457, 0.08504170924425125, 0.047836847603321075, -0.025918379426002502, -0.03652846813201904, 0.07545912265777588, 0.0025980689097195864, -0.045901622623205185, 0.001407814328558743, 0.01129615306854248, 0.01776561141014099, -0.036905281245708466, -0.045271649956703186, -0.016790876165032387, 0.0066824317909777164, 0.021646317094564438, -0.01403891108930111, 0.01692274585366249, -0.020240526646375656, 0.049873050302267075, 0.036979272961616516, 0.0010997650679200888, 0.018562356010079384, -0.015843885019421577, 0.03491624444723129, 0.031013350933790207, -0.07070216536521912, 0.02350260131061077, 0.001869330182671547, -0.00552279083058238, -0.025476375594735146, 0.409624844789505, -0.049471668899059296, -0.0028202265966683626, 0.038462113589048386, 0.025304993614554405, 0.007643572054803371, -0.003324351739138365, 0.0020214358810335398, -0.030834674835205078, 0.019826466217637062, -0.06753658503293991, -0.03077479638159275, -0.02072509005665779, 0.08358700573444366, -0.038086917251348495, -0.04100387915968895, -0.006112805102020502, 0.0813046470284462, 0.020614484325051308, -0.006306601222604513, -0.0013473950093612075, 0.004987054038792849, 0.010637893341481686, 0.0030038945842534304, -0.0010399407474324107, 0.006107633467763662, -0.005024719517678022, 0.012472559697926044, 0.05718013271689415, 0.03475030139088631, 0.03196936845779419, 0.017853034660220146, -0.026329202577471733, -0.04463906213641167, 0.006404089275747538, 0.0031045011710375547, 0.0007595188799314201, 0.01723320037126541, -0.04620380699634552, 0.012884053401648998, 0.00734340725466609, 0.0093194879591465, -0.033276937901973724, 0.0068192314356565475, -0.0011144255986437201, -0.024617377668619156, 0.07249990105628967, -0.026012515649199486, -0.02060924842953682, 0.0002984898746944964, -0.024932602420449257, -0.030202798545360565, 0.039944060146808624, -0.03451590985059738, -0.05802152305841446, 0.002466200152412057, 0.020993810147047043, 0.07474313676357269, -0.02109941467642784, -0.07865320891141891, 0.005696423817425966, -0.03589101508259773, -0.014286743476986885, -0.06792274117469788, 0.03606570139527321, -0.0010691501665860415, -0.026257414370775223, -0.005281006917357445, 0.006571348290890455, 0.010024362243711948, -0.06729986518621445, -0.0055038039572536945, 0.022197715938091278, -0.03366681933403015, -0.01125257182866335, 0.033700406551361084, -0.02453033998608589, -0.017074739560484886, -0.02859940379858017, 0.03010811284184456, 0.02796613983809948, 0.007399542722851038, 0.027865217998623848, -0.03835431486368179, 0.018912365660071373, -0.012676075100898743, -0.05591249093413353, -0.06542622298002243, -0.022275399416685104, -0.016232457011938095, 0.004204893950372934, -0.01201184093952179, -0.023617582395672798, -0.06630057096481323, 0.06062070652842522, -0.058445584028959274, -0.011697033420205116, 0.012965487316250801, 0.010405046865344048, -0.010891036130487919, -0.011699126102030277, -0.007708704099059105, 0.0702393427491188, -0.0003367444151081145, 0.0057118134573102, -0.07687993347644806, 0.007171830162405968, 0.060270752757787704, -0.048595674335956573, 0.0486268624663353, 0.043778322637081146, -0.04484694451093674, 0.008859103545546532, -0.017291907221078873, 0.016484973952174187, 0.005724855232983828, -0.007414821069687605, -0.02066064439713955, -0.010208810679614544, 0.04443252831697464, -0.02394716814160347, -0.07857842743396759, -0.06142081692814827, -0.0461357980966568, -0.35071268677711487, -0.044437069445848465, 0.03278219699859619, -0.02662193775177002, 0.05582939833402634, -0.0908542200922966, -0.009011530317366123, -0.007408747915178537, -0.04904431104660034, -0.012726579792797565, 0.08643925935029984, -0.032464802265167236, -0.050956904888153076, -0.10038185864686966, 0.007788717746734619, 0.0007057893672026694, -0.016152799129486084, -0.04312640428543091, -0.03603590652346611, 0.03628947213292122, 0.007517102640122175, -0.03837653249502182, 0.005706967320293188, -0.06994571536779404, -0.022878870368003845, -0.021700719371438026, 0.06979509443044662, 0.05482785776257515, 0.10068842023611069, -0.04919490963220596, 0.04398413375020027, -0.014885306358337402, 0.010671657510101795, -0.09980383515357971, -0.0027842142153531313, -0.02419338934123516, -0.02225813828408718, -0.035256657749414444, 0.024503285065293312, 0.0007249008631333709, -0.014908610843122005, 0.004869311116635799, -0.07469287514686584, -0.015317280776798725, -0.013009206391870975, 0.030572405084967613, -0.0069784433580935, -0.029560096561908722, 0.006394490599632263, 0.0911010280251503, 0.014942469075322151, 0.009808561764657497, 0.015371572226285934, 0.022739538922905922, 0.02735360711812973, -0.0040893396362662315, -0.041551604866981506, -0.02880074828863144, 0.021410180255770683, -0.0066248029470443726, 0.05099468678236008, 0.06191718578338623, 0.0549393892288208, -0.0654771625995636, -0.016880637034773827, 0.023094303905963898, 0.016002729535102844, -0.008028480224311352, 0.03416872024536133, -0.01025429368019104, -0.05977445840835571, 0.12527285516262054, -0.00411390932276845, -0.00845454540103674, 0.04737609997391701, 0.07669970393180847, -0.008403520099818707, 0.02612278424203396, 0.01903090439736843, 0.025142904371023178, 0.02739146538078785, -0.003136416431516409, 0.033658772706985474, -0.045946650207042694, 0.012033131904900074, 0.03715187683701515, 0.004743692930787802, 0.005830065347254276, 0.055029287934303284, -0.0044911084696650505, -0.051107946783304214, 0.004688025917857885, 0.022553229704499245, -0.051686204969882965, 0.056994084268808365, 0.008159513585269451, -0.2583325505256653, 0.032908763736486435, 0.05700588971376419, 0.056072819977998734, 0.00785922072827816, 0.027471650391817093, 0.03837791085243225, -0.06890589743852615, -0.07415078580379486, -0.0015049873618409038, 0.02873726561665535, 0.04355984181165695, 0.02443411946296692, -0.005897608119994402, 0.04089722782373428, -0.023852940648794174, 0.04631999135017395, -0.015135830268263817, 0.025111308321356773, 0.013032425194978714, 0.04533756151795387, -0.009635909460484982, 0.1796407699584961, -0.0011102983262389898, 0.023332105949521065, 0.011179395020008087, 0.007344583980739117, 0.026426471769809723, 0.044001609086990356, 0.014344236813485622, 0.013130828738212585, 0.03200662136077881, 0.07667698711156845, 0.009647472761571407, 0.026760036125779152, -0.027608299627900124, -0.03279804065823555, 0.032338883727788925, 0.037344519048929214, -0.03527471795678139, 0.005993537604808807, 0.02549516037106514, -0.04500583931803703, 0.041320864111185074, 0.08046861737966537, 0.014812193810939789, 0.006909987889230251, -0.02130744978785515, -0.014828275889158249, 0.011509551666676998, -0.020337583497166634, 0.0035873737651854753, -0.002894932869821787, 0.0011315436568111181, -0.004181666765362024, 0.03294125199317932, -0.00782269611954689, -0.04026880860328674, -0.011014226824045181, 0.02086448110640049, -0.022112345322966576, -0.023242829367518425, 0.13615654408931732, 0.03599545732140541, 0.0013245752779766917 ]
[ -0.009875116869807243, -0.0027423633728176355, 0.010445581749081612, 0.007838575169444084, 0.023081578314304352, -0.039522673934698105, 0.002047716174274683, 0.009271386079490185, -0.011088364757597446, -0.015164296142756939, -0.0333733931183815, -0.01549934595823288, 0.02982543408870697, -0.010039803571999073, 0.01627574861049652, -0.015584473498165607, -0.011294007301330566, 0.005029336549341679, 0.027310708537697792, 0.004270229488611221, 0.02186538651585579, 0.037731070071458817, 0.020529255270957947, -0.014085331000387669, 0.012068229727447033, 0.017201809212565422, -0.011169440113008022, -0.025810889899730682, 0.027169542387127876, -0.11837395280599594, -0.05772669240832329, -0.030069977045059204, 0.002972603775560856, 0.004444132559001446, -0.0014015344204381108, 0.04025851935148239, -0.00836319662630558, 0.012941687367856503, -0.01750464364886284, 0.006009664852172136, -0.01593867689371109, -0.01598716527223587, -0.009689295664429665, 0.006031681317836046, 0.04313616454601288, 0.03333582729101181, -0.001833125832490623, -0.02528124675154686, -0.025822816416621208, -0.010854585096240044, -0.030122511088848114, 0.00544937327504158, 0.00395685201510787, -0.03795580565929413, 0.03506523743271828, -0.02407027967274189, -0.038438841700553894, -0.004667225759476423, 0.029390454292297363, -0.03722812980413437, -0.033352598547935486, 0.015876227989792824, -0.06048724800348282, -0.02855362556874752, -0.011202365159988403, -0.05708162486553192, 0.01262160949409008, 0.04075416550040245, 0.017285577952861786, 0.002080141333863139, -0.01534188725054264, 0.04301165044307709, -0.0007556409109383821, -0.023505311459302902, -0.023328114300966263, 0.034618277102708817, 0.05098104104399681, -0.025030719116330147, 0.02284408174455166, -0.0034249203745275736, -0.010135785676538944, -0.027057237923145294, 0.03076610341668129, 0.013884646818041801, -0.0041686370968818665, -0.02089119143784046, 0.03564240038394928, -0.0013253414072096348, 0.04796221852302551, 0.06252925097942352, -0.03253624960780144, 0.031254153698682785, 0.024190008640289307, -0.0037441179156303406, -0.08590357005596161, 0.035953737795352936, -0.030255742371082306, -0.010877520777285099, 0.01715749129652977, 0.8469996452331543, 0.0027632825076580048, 0.05259416624903679, 0.023419449105858803, 0.006428033113479614, -0.010729110799729824, -0.030841616913676262, -0.010393012315034866, 0.0023579029366374016, 0.03412364795804024, -0.0101833026856184, 0.031758908182382584, -0.011033616960048676, 0.05705418065190315, -0.011804535984992981, 0.012034537270665169, -0.006977489218115807, 0.05106712132692337, 0.017458820715546608, 0.03425977751612663, 0.018330544233322144, 0.014970551244914532, 0.010852283798158169, -0.003365886863321066, 0.02785923331975937, -0.005324093159288168, -0.15315614640712738, 0.004474581219255924, -7.834281200410806e-33, 0.03305694833397865, -0.0008197862189263105, 0.011627891100943089, -0.03718288615345955, -0.04050358384847641, 0.013212569989264011, -0.001466188463382423, -0.010016136802732944, -0.03771650791168213, -0.03492839261889458, 0.01854534074664116, -0.00974629819393158, -0.010748154483735561, -0.00012308961595408618, 0.014594023115932941, 0.027136828750371933, 0.0334276519715786, 0.04250062257051468, -0.015811104327440262, 0.021124310791492462, -0.014695816673338413, 0.012610426172614098, 0.0035830431152135134, 0.009505679830908775, -0.007952380925416946, 0.026771225035190582, 0.07159319519996643, -0.014870164915919304, -0.01667669229209423, -0.06017006188631058, -0.027424724772572517, -0.019460933282971382, 0.026569517329335213, 0.0075239636935293674, 0.04721260815858841, -0.04484352096915245, 0.006939991377294064, 0.017631815746426582, -0.012855825014412403, -0.03970925509929657, -0.031202150508761406, -0.013791767880320549, -0.021996019408106804, 0.0011055724462494254, 0.001629903563298285, -0.029833927750587463, -0.006389539688825607, 0.047650761902332306, -0.025670943781733513, 0.014807863160967827, -0.02171170897781849, 0.033571600914001465, -0.000672775087878108, -0.004959797486662865, -0.013825311325490475, 0.005130029283463955, -0.010710113681852818, -0.01639975793659687, -0.0034856018610298634, -0.008699468336999416, -0.0037966270465403795, 0.02137790620326996, -0.006348645314574242, 0.01692601665854454, -0.005803945939987898, -0.0308823399245739, -0.05780578777194023, -0.02489025704562664, -0.0009963341290131211, 0.027927633374929428, -0.03330017626285553, -0.018450649455189705, -0.010335060767829418, -0.018058551475405693, 0.029895726591348648, -0.019233422353863716, -0.0288114994764328, -0.04950926825404167, -0.022856010124087334, 0.058252833783626556, 0.029883841052651405, -0.028860000893473625, 0.0051046558655798435, -0.019291555508971214, -0.001079952111467719, -0.01723463274538517, -0.007332509383559227, -0.024110333994030952, 0.013932198286056519, -0.009198549203574657, 0.05454494059085846, -0.036388710141181946, -0.0012183722574263811, -0.02539791539311409, -0.04775803163647652, 7.544291152166763e-33, -0.013264480046927929, 0.00874709989875555, -0.0023302745539695024, 0.003791446564719081, -0.03573353588581085, -0.021118726581335068, 0.00018790963804349303, -0.022314080968499184, -0.015263309702277184, 0.029091214761137962, -0.045723095536231995, -0.026607738807797432, -0.011584585532546043, 0.010290732607245445, 0.029163409024477005, -0.006163469515740871, 0.01833687536418438, 0.010873472318053246, -0.018575802445411682, 0.008022356778383255, 0.01763038896024227, 0.028493328019976616, 0.03818482905626297, 0.022627968341112137, 0.008908895775675774, 0.04064764082431793, -0.012405119836330414, 0.046468716114759445, -0.009456522762775421, 0.020000945776700974, 0.011603027582168579, -0.011742150411009789, 0.010327734984457493, -0.022922571748495102, -0.012554075568914413, 0.025765862315893173, 0.017272794619202614, -0.021534426137804985, 0.04129166156053543, 0.013502540998160839, -0.004399193916469812, -0.05305282399058342, 0.01158452033996582, 0.011575467884540558, 0.005669934209436178, -0.004304343834519386, 0.017763793468475342, 0.018485724925994873, 0.0436275452375412, -0.02735259011387825, -0.008510127663612366, 0.018685415387153625, -0.004660170990973711, 0.003951848018914461, 0.023210445418953896, -0.03958742693066597, -0.046750474721193314, 0.031249118968844414, -0.03647696599364281, 0.006708644330501556, -0.022565050050616264, -0.0659904032945633, 0.029917597770690918, 0.02347729168832302, -0.03325295075774193, 0.004802484530955553, 0.004722422920167446, -0.0010090417927131057, 0.0005219540908001363, -0.01612960919737816, -0.015316222794353962, 0.004494580905884504, 0.021464480087161064, 0.026741527020931244, 0.005651327781379223, 0.008581442758440971, -0.005040345713496208, -0.0083309980109334, -0.010179532691836357, 0.009749049320816994, 0.017615053802728653, -0.008970300666987896, 0.009662723168730736, 0.022563021630048752, 0.043352313339710236, -0.02303418517112732, 0.013404179364442825, 0.008614959195256233, -0.0016178108053281903, -0.00731812184676528, 0.009123565629124641, 0.00278138043358922, 0.020877333357930183, 0.02979172207415104, -0.038416698575019836, -1.318153852736259e-8, 0.0006822826690040529, -0.0014020216185599566, -0.023817013949155807, 0.02079719491302967, 0.0073918504640460014, 0.01627858355641365, 0.002355359261855483, -0.047776635736227036, -0.03173361346125603, 0.0018146170768886805, 0.027881987392902374, 0.028218507766723633, 0.016014186665415764, 0.019614214077591896, 0.05940625071525574, -0.014634096063673496, 0.013595466502010822, 0.016212640330195427, 0.0156758651137352, -0.001783133251592517, -0.0019763659220188856, 0.012413590215146542, -0.025110920891165733, 0.010879275389015675, -0.012212644331157207, -0.011009953916072845, 0.031367599964141846, -0.08887974172830582, 0.04713468253612518, -0.03046766109764576, -0.01101825013756752, -0.017226913943886757, -0.0117790000513196, -0.01525439415127039, 0.008286671712994576, -0.006880769040435553, 0.00493822805583477, 0.022191757336258888, 0.021643266081809998, 0.01900080405175686, -0.01639585569500923, -0.001006479375064373, -0.0020364546217024326, -0.01134138461202383, -0.04957197234034538, -0.03113568387925625, -0.010059885680675507, -0.0017887639114633203, -0.007541118189692497, -0.001250231172889471, 0.03622971475124359, 0.002873634686693549, 0.0042085605673491955, 0.01882665976881981, 0.022718396037817, -0.01680036261677742, -0.0005013134214095771, -0.048370134085416794, -0.015747319906949997, 0.019418921321630478, 0.01921522244811058, 0.02310425601899624, -0.04493410140275955, -0.026898108422756195 ]
clojure-a-few-things-ive-been-tripping-up-on
https://markhneedham.com/blog/2009/11/20/clojure-a-few-things-ive-been-tripping-up-on
false
2009-11-18 17:25:32
Book Club: Working Effectively With Legacy Code - Chapter 9 (Michael Feathers)
[ "book-club", "working-effectively-with-legacy-code" ]
[ "Book Club" ]
In our latest technical book club we discussed chapter 9 - 'I Can't Get This Class Into A Test Harness' - of Michael Feather's 'http://www.amazon.com/gp/product/0131177052?ie=UTF8&tag=marneesblo-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0131177052[Working Effectively With Legacy Code]'. This chapter goes through various problems that we might have getting a class under test and then suggests different techniques to get around those problems. These are some of my thoughts and our discussion of the chapter: * One approach that Feathers describes when dealing with constructors which take in a lot of values is to just *pass in nulls for the parameters that we don't care about*. While I think this is a useful strategy it's useful to keep in mind that the need to do this is often an indication that the class is doing too much and we probably need to look at breaking that class out into two smaller ones. Another useful bit of advice Feathers gives is to try and get the code under test instead of discussing all the reasons why we won't be able to do so: + ____ The best way to see if you will have trouble instantiating a class in a test harness is to just try to do it. Write a test case and attempt to create an object in it. The compiler will tell you what you need to make it really work. ____ + I think this advice is applicable to most aspects of software development. A lot of time is spent debating approaches when it would be far better just to try something out and see what happens. * Several patterns are described for dealing with singletons in our code and Matt also pointed out the http://stackoverflow.com/questions/887317/monostate-vs-singleton[mono state pattern] which http://www.objectmentor.com/resources/articles/SingletonAndMonostate.pdf[Uncle Bob outlined] as being a step on the way to getting rid of them. * The http://grabbagoft.blogspot.com/2007/08/legacy-code-testing-techniques-subclass.html[sub class and override pattern] is described for handling several of the problems we might encounter. The idea here is to get the code into a position where the code which is making it difficult to test a class is all in one protected method which we can then override in a sub class and replace with a fake/stub version of the method. I've previously fallen into the trap of thinking that this is a pattern we should be aiming for when designing code from scratch. In particular it seems to happen a lot in ASP.NET MVC controllers when working out how to test code in 'OnActionExecuting' and similar methods. I now believe it is another indicator that we are too highly coupled to a concrete implementation which has side effects and we might be better off looking for an abstraction that allows us to break that. * Feathers makes another really telling comment towards the end of the chapter when discussing how we use language features to try and enforce certain things in our code: + ____ In the end, it all comes down to responsible design and coding ____ + This reminded me of his 'http://www.markhneedham.com/blog/2009/09/30/book-club-design-sense-michael-feathers/[Design Sense]' presentation where he covers similar ground and it's very true. No matter what language features we have it's down to us to use them sensibly in the systems we write. </ul>
null
null
[ 0.010760660283267498, -0.018107619136571884, -0.03482287749648094, 0.048789575695991516, 0.08299030363559723, 0.002272426849231124, 0.043642379343509674, 0.015320348553359509, 0.025520697236061096, -0.020634766668081284, -0.004630155395716429, 0.022439653053879738, -0.06008192151784897, 0.01301752682775259, -0.05143026262521744, 0.057190850377082825, 0.07329842448234558, -0.013717792928218842, 0.02415003441274166, 0.0009226761758327484, 0.020951449871063232, 0.05862366408109665, -0.011485780589282513, 0.05132021754980087, 0.0159885436296463, 0.008701088838279247, 0.0030371726024895906, 0.01796218380331993, -0.054762691259384155, 0.016309671103954315, 0.021981438621878624, -0.00017899612430483103, 0.0042380173690617085, -0.019180113449692726, 0.0013703322038054466, -0.01704574003815651, -0.006590974051505327, 0.013631547801196575, 0.02879718318581581, 0.006813261657953262, -0.0627361536026001, 0.01458585076034069, 0.0024123743642121553, -0.002673913026228547, -0.049402475357055664, -0.0036203961353749037, -0.03554501757025719, 0.011174432002007961, -0.01212805975228548, -0.0056884679943323135, -0.06611450016498566, 0.04330912232398987, -0.009251219220459461, -0.01238326821476221, 0.006104637403041124, 0.04623414948582649, 0.012984446249902248, -0.0573718287050724, 0.01747717149555683, -0.060707975178956985, 0.013994624838232994, 0.005634940229356289, -0.01527311746031046, 0.03090321086347103, 0.021969102323055267, -0.012722490355372429, -0.012964720837771893, 0.03781154006719589, -0.04362697899341583, -0.017123201861977577, -0.010337798856198788, 0.016838623210787773, -0.013264776207506657, -0.00009444107854506001, 0.004544998053461313, -0.017868824303150177, -0.003721578512340784, 0.0732068344950676, 0.020081931725144386, 0.042045582085847855, -0.001440205262042582, 0.010251629166305065, 0.05184229463338852, 0.005704546347260475, 0.012276090681552887, -0.05142221227288246, -0.019577020779252052, 0.002128882333636284, -0.04189543426036835, 0.09152235090732574, 0.023412708193063736, -0.06727474182844162, 0.02184504270553589, 0.05609191209077835, -0.011953883804380894, 0.01698896288871765, 0.031805619597435, -0.0005262348568066955, 0.013818695209920406, -0.018682003021240234, -0.02318364940583706, -0.005779437720775604, 0.02822696603834629, 0.019406618550419807, -0.07203895598649979, -0.006019694730639458, -0.024722643196582794, -0.0268144179135561, -0.0013156213099136949, 0.015544960275292397, -0.05233784765005112, 0.0006512779509648681, -0.01798001118004322, -0.00930058117955923, -0.08312134444713593, 0.07318270206451416, 0.002641791943460703, -0.042306315153837204, 0.0007180480170063674, 0.018010182306170464, 0.023146022111177444, 0.043855220079422, 0.008777142502367496, 0.07963176816701889, 0.030712608247995377, 0.04403841495513916, -0.020778853446245193, 0.06537099182605743, -0.021792912855744362, -0.06162227690219879, -0.006325227674096823, 0.03809554874897003, -0.032798752188682556, 0.015584372915327549, 0.01105024479329586, -0.0023110941983759403, -0.0195503868162632, 0.02779761143028736, 0.02236953191459179, 0.05900222435593605, -0.018875431269407272, -0.03143199533224106, 0.03129740059375763, 0.0023036340717226267, 0.01441118773072958, 0.0028847225476056337, 0.005132101941853762, -0.004753760993480682, -0.022247444838285446, 0.017353754490613937, 0.013005342334508896, 0.034818898886442184, 0.02191723696887493, -0.06315422058105469, 0.0017372195143252611, 0.06997694820165634, -0.004733457695692778, 0.027874862775206566, -0.03249804303050041, 0.04213894531130791, 0.033993836492300034, 0.03336883336305618, 0.02961069345474243, 0.03847513720393181, 0.022624019533395767, 0.00046214755275286734, -0.014592310413718224, 0.047282636165618896, 0.008621434681117535, -0.005187083967030048, -0.08591635525226593, -0.058644525706768036, 0.04391089454293251, -0.06389161944389343, -0.01172739826142788, 0.03356146439909935, 0.08222939074039459, -0.0015651130815967917, 0.04021022096276283, -0.004035877995193005, -0.07373588532209396, 0.023915907368063927, 0.023782072588801384, -0.0014494595816358924, 0.0025370994117110968, -0.013396056368947029, 0.05206700786948204, 0.029675792902708054, -0.0033518834970891476, 0.020020073279738426, -0.07026644051074982, -0.07789766788482666, -0.003470188472419977, -0.03848933428525925, 0.06215124949812889, -0.021740132942795753, -0.0032664432656019926, 0.06997599452733994, 0.013588803820312023, 0.04123283550143242, 0.04776756465435028, 0.02417818084359169, 0.002591328928247094, -0.033706165850162506, -0.0205933079123497, 0.044071655720472336, 0.008370147086679935, 0.004498112481087446, -0.06537658721208572, -0.01721595600247383, 0.008195007219910622, 0.010318664833903313, 0.06359995156526566, 0.0009670904837548733, 0.04531649127602577, -0.000004324854216974927, 0.0319359265267849, -0.036295320838689804, 0.07800202071666718, -0.08101719617843628, 0.0006058817962184548, -0.02111891470849514, -0.032298941165208817, -0.0012909718789160252, 0.0019426782382652164, 0.12678447365760803, 0.041752662509679794, -0.047293923795223236, -0.025017471984028816, 0.020834211260080338, 0.01996701955795288, -0.0476975254714489, -0.005973536055535078, -0.005322366487234831, 0.009109714068472385, -0.006060012616217136, -0.06196459010243416, -0.027482986450195312, 0.036653418093919754, -0.030166665092110634, 0.020460059866309166, 0.08796731382608414, -0.04705238342285156, 0.05623914301395416, 0.025240173563361168, -0.013069653883576393, 0.008168645203113556, -0.027965733781456947, -0.05120998993515968, 0.007001623511314392, 0.01272957120090723, -0.012453410774469376, 0.05025077611207962, -0.04471386969089508, -0.055179230868816376, -0.011781600303947926, -0.05834731087088585, -0.0007767542847432196, 0.03493794426321983, 0.06187279894948006, 0.005098947789520025, 0.061490315943956375, -0.020850511267781258, 0.0290717463940382, -0.0118709160014987, -0.05421530827879906, -0.010113127529621124, -0.009295023046433926, 0.01851925440132618, 0.03304828703403473, -0.010657498612999916, 0.03597654774785042, 0.04205826297402382, 0.010592391714453697, -0.04537476599216461, -0.0011152258375659585, 0.038172487169504166, 0.0013218510430306196, -0.01681572198867798, -0.048472482711076736, -0.04334272816777229, 0.045613911002874374, -0.05841220170259476, -0.03859023377299309, 0.014809425920248032, -0.06714871525764465, 0.058201488107442856, -0.054081615060567856, -0.06893060356378555, 0.004432848654687405, 0.0232409480959177, 0.03828981891274452, -0.01107330247759819, 0.017660334706306458, 0.06884608417749405, 0.007532389368861914, 0.008069413714110851, 0.014195973053574562, 0.0005282855127006769, 0.034221455454826355, 0.0049698203802108765, -0.0011101304553449154, 0.015278499573469162, 0.011078400537371635, -0.017278527840971947, -0.048479966819286346, 0.035419661551713943, -0.03061395138502121, -0.2783428132534027, 0.03722834587097168, -0.010079405270516872, -0.05680378898978233, 0.017914609983563423, -0.041165802627801895, -0.0031985929235816, -0.048303525894880295, -0.032058656215667725, 0.05173412337899208, -0.03927818313241005, -0.04174420237541199, -0.012156753800809383, 0.05483723431825638, -0.01688401959836483, 0.012778578326106071, 0.03874734789133072, -0.031116340309381485, 0.006951741874217987, 0.07164084166288376, -0.0206636693328619, -0.06781934201717377, -0.0013234373182058334, 0.056758493185043335, 0.012421605177223682, 0.05195010080933571, -0.11689767241477966, 0.046903446316719055, -0.03687078505754471, -0.010824841447174549, 0.018384933471679688, 0.002182943746447563, -0.005471275188028812, -0.030693547800183296, -0.02333369292318821, -0.008535308763384819, 0.014408259652554989, 0.030557971447706223, -0.02800600789487362, 0.031867753714323044, -0.02975803054869175, -0.04154745116829872, -0.029253952205181122, 0.0077342865988612175, 0.05284656956791878, -0.002132072579115629, -0.061416275799274445, -0.027100075036287308, -0.011729796417057514, 0.08360111713409424, -0.07481038570404053, -0.04473069682717323, 0.011933082714676857, 0.018096081912517548, -0.006240990944206715, -0.04016498848795891, 0.017949970439076424, -0.003801998682320118, -0.05132593587040901, -0.0076188682578504086, -0.02576783485710621, -0.05077791213989258, 0.008602749556303024, -0.050298891961574554, -0.017950810492038727, -0.055945828557014465, -0.058897145092487335, -0.0034909204114228487, 0.061757445335388184, 0.010280672460794449, -0.03969022259116173, -0.0021514249965548515, -0.010282128117978573, -0.11728080362081528, -0.0009715467458590865, -0.019586073234677315, -0.011783563531935215, -0.03013775870203972, 0.011050284840166569, 0.05971547216176987, -0.029983004555106163, -0.06231391802430153, 0.023698655888438225, 0.02000369131565094, 0.016687221825122833, -0.0038801501505076885, 0.004802602808922529, -0.014553152024745941, -0.0067700897343456745, 0.00339350919239223, 0.07839937508106232, 0.016887962818145752, -0.025703180581331253, -0.04449641332030296, 0.04909690469503403, 0.00015197602624539286, 0.028185376897454262, -0.03189922496676445, 0.020700959488749504, 0.03444927930831909, 0.013932798989117146, -0.06281103193759918, 0.03204036504030228, -0.010111171752214432, -0.01853262446820736, -0.019116058945655823, -0.04530251771211624, 0.04024380072951317, 0.045832544565200806, 0.010736788623034954, 0.0006381614366546273, -0.035351745784282684, 0.012828607112169266, -0.03699841350317001, -0.05355524644255638, -0.039158910512924194, 0.007556483149528503, 0.044078510254621506, -0.04095039144158363, -0.02092210203409195, -0.04909634590148926, 0.0025589154101908207, -0.007636245805770159, -0.002071661176159978, -0.05954562872648239, -0.03787500783801079, 0.0017857009079307318, -0.03181818500161171, -0.0036126666236668825, 0.007137182634323835, -0.010669542476534843, 0.020973918959498405, 0.027780191972851753, -0.049701835960149765, -0.001750570023432374, -0.004719032905995846, -0.05025312677025795, -0.013189597986638546, -0.026971623301506042, -0.02261745184659958, -0.007063595112413168, 0.002974699717015028, 0.012240950018167496, 0.03106178157031536, 0.03675820678472519, 0.005390238016843796, 0.037768345326185226, -0.003289866726845503, 0.007955282926559448, 0.016353610903024673, 0.029266715049743652, -0.0697152316570282, 0.027271904051303864, -0.0228908471763134, -0.048038050532341, -0.03510546684265137, 0.027353793382644653, 0.008865977637469769, -0.025730997323989868, -0.01377581711858511, 0.03400157764554024, -0.0624263733625412, -0.022464007139205933, -0.038267992436885834, 0.00012303295079618692, 0.06192370876669884, -0.01838463358581066, 0.028596218675374985, -0.03246365115046501, -0.04570354148745537, 0.005342384800314903, 0.018816133961081505, -0.03651070222258568, 0.023320600390434265, 0.026791857555508614, -0.004926132969558239, 0.0022440471220761538, -0.01907166838645935, 0.053576745092868805, 0.012996379286050797, -0.0031205287668854, -0.012827121652662754, 0.015592094510793686, -0.014652571640908718, 0.02961658127605915, -0.015216106548905373, -0.0013335401890799403, -0.021408051252365112, -0.031193165108561516, -0.03176911175251007, -0.02607603184878826, -0.024077199399471283, 0.0012180887861177325, 0.04712234064936638, -0.04719993844628334, -0.0712701678276062, 0.02133406326174736, 0.04613304138183594, 0.010287280194461346, 0.008231655694544315, 0.013337289914488792, 0.012062672525644302, -0.01775316707789898, 0.041191861033439636, 0.039113208651542664, -0.04686092585325241, 0.016722023487091064, -0.007361722644418478, 0.0024285295512527227, 0.010132597759366035, 0.0230878833681345, -0.061703409999608994, -0.012343652546405792, 0.002604749985039234, -0.01352196466177702, -0.059346236288547516, -0.02657295949757099, -0.024194560945034027, 0.027687935158610344, -0.018071547150611877, -0.033009786158800125, -0.007741890847682953, 0.02394348755478859, -0.010223384946584702, -0.04116960987448692, 0.0021293198224157095, -0.02012537233531475, 0.0027820421382784843, 0.036428891122341156, -0.03772608935832977, 0.02983701415359974, -0.022935401648283005, 0.028113799169659615, 0.017406988888978958, -0.007969624362885952, -0.020083880051970482, -0.04355519264936447, -0.00586205767467618, 0.02808448113501072, 0.03205658867955208, 0.009167802520096302, -0.00892583653330803, -0.03830093517899513, -0.006836381740868092, -0.0510341078042984, 0.030423792079091072, -0.0081015694886446, -0.03135953098535538, 0.02548113279044628, 0.05686882138252258, 0.024287516251206398, 0.02759629115462303, 0.0018969174707308412, 0.007428356446325779, 0.0630786269903183, -0.07196085155010223, -0.02396518923342228, -0.023698607459664345, -0.0701211467385292, 0.014469295740127563, 0.003395932726562023, 0.03904188051819801, -0.04283714294433594, 0.029611146077513695, 0.02029811404645443, 0.020883716642856598, 0.024196455255150795, -0.002742391312494874, 0.0330323725938797, -0.06902310997247696, 0.03064296767115593, -0.09021362662315369, 0.02727077342569828, 0.03208806738257408, 0.006751045119017363, -0.015969473868608475, -0.01759275607764721, -0.03294970467686653, 0.04294757917523384, -0.04981301352381706, -0.015707282349467278, 0.032853737473487854, 0.000584652996622026, 0.001397498301230371, 0.004659814760088921, -0.04389415308833122, 0.0331074558198452, 0.01799801178276539, -0.03708354011178017, -0.020971940830349922, -0.02084834687411785, 0.04058077931404114, 0.04032626375555992, 0.029228171333670616, -0.01643987186253071, 0.015588703565299511, 0.07466170936822891, 0.011325422674417496, 0.028082216158509254, 0.033253710716962814, -0.03614066541194916, 0.0429171659052372, 0.030376987531781197, -0.005650207865983248, 0.0063194031827151775, 0.00553614366799593, 0.00772819621488452, -0.061381835490465164, 0.008568137884140015, 0.008553179912269115, -0.03794082626700401, -0.04467689245939255, 0.05072108283638954, 0.03526654839515686, -0.026756038889288902, -0.03843371570110321, -0.004868925549089909, -0.0583522766828537, 0.005632761400192976, -0.0342680923640728, -0.02490985207259655, -0.05013145133852959, 0.05442265793681145, 0.005277715623378754, -0.016035471111536026, 0.05146664381027222, -0.024115441367030144, -0.012262010015547276, -0.03288180008530617, 0.08334291726350784, 0.06509675085544586, 0.05024511739611626, 0.010680964216589928, 0.06676962971687317, -0.01379831787198782, -0.046102289110422134, 0.025048110634088516, -0.0027710869908332825, -0.007320839911699295, -0.02866910770535469, 0.04205143824219704, 0.049337226897478104, 0.02124348282814026, 0.05395091325044632, -0.03689674288034439, 0.013395472429692745, 0.010183058679103851, 0.02196716144680977, 0.019274838268756866, 0.059713829308748245, 0.0008417358621954918, 0.03319786116480827, 0.006948947906494141, -0.0383368656039238, 0.023984750732779503, -0.02794050984084606, -0.0032336972653865814, 0.023138126358389854, -0.01263817772269249, 0.024219850078225136, 0.02884228341281414, 0.036773327738046646, 0.041272249072790146, -0.017853563651442528, -0.002255865605548024, -0.00968595128506422, 0.039048466831445694, 0.02232193574309349, 0.012945259921252728, -0.041285041719675064, -0.03289567306637764, 0.005193712655454874, -0.021660171449184418, -0.01021689735352993, -0.025061819702386856, -0.011892827227711678, 0.053696200251579285, -0.0016225329600274563, 0.011901055462658405, 0.025108030065894127, 0.005397869739681482, -0.0357377752661705, -0.05065898224711418, -0.05720129236578941, -0.007883347570896149, -0.05347653478384018, -0.003049677237868309, 0.009323135949671268, 0.01821913942694664, -0.02317633107304573, -0.03025776520371437, -0.025607949122786522, -0.03341257944703102, 0.05598057806491852, -0.05031714588403702, -0.035140346735715866, 0.011131735518574715, 0.022632379084825516, 0.028915954753756523, 0.009064292535185814, 0.04146566614508629, 0.02409549243748188, -0.014694109559059143, -0.014573350548744202, 0.0005500949337147176, 0.014822901226580143, 0.002534083090722561, 0.020691996440291405, -0.09258672595024109, 0.027628403156995773, 0.035421766340732574, -0.0002273766149301082, -0.0567496158182621, 0.024976380169391632, 0.017210261896252632, -0.023803746327757835, 0.032562851905822754, -0.006161365658044815, -0.0031021814793348312, 0.0013242955319583416, -0.03359720855951309, 0.008151325397193432, 0.04049044847488403, 0.03228520601987839, -0.005215134005993605, 0.07917843014001846, -0.014355940744280815, -0.01746908575296402, -0.043926142156124115, 0.00569020863622427, -0.008006316609680653, 0.03143920376896858, -0.039433397352695465, -0.010746368207037449, -0.009746682830154896, -0.0574084036052227, -0.018246203660964966, 0.016053369268774986, -0.014413454569876194, -0.012009159661829472, 0.010126840323209763, 0.03515411913394928, -0.024757331237196922, 0.05207688361406326, -0.03692038357257843, 0.0237454641610384, -0.026517421007156372, -0.019383711740374565, 0.012512481771409512, 0.000011215982340218034, -0.016203736886382103, 0.02055938169360161, 0.02223624475300312, -0.03147026523947716, -0.02564862184226513, 0.005342436023056507, 0.024138150736689568, 0.05073181167244911, -0.035855501890182495, -0.0198337621986866 ]
[ -0.11048057675361633, -0.010956472717225552, -0.0209676381200552, -0.02323712781071663, 0.003621825482696295, -0.03250232711434364, -0.011074518784880638, 0.014311338774859905, -0.004169318359345198, -0.03621695935726166, -0.0019965930841863155, -0.03602854907512665, -0.005959284491837025, 0.004002685658633709, 0.08857998251914978, 0.003571742447093129, -0.011937462724745274, -0.03821975365281105, 0.02691653184592724, 0.015076038427650928, 0.007493122015148401, -0.03468979895114899, -0.04774805158376694, -0.021955393254756927, 0.020763486623764038, 0.044756580144166946, 0.03513774275779724, -0.057993512600660324, 0.04205648601055145, -0.22183094918727875, -0.00790286622941494, -0.00712244538590312, 0.026804659515619278, -0.03240904584527016, -0.005054184701293707, 0.04087322950363159, 0.018783967941999435, 0.009205344133079052, -0.004996282514184713, 0.061343591660261154, 0.013372734189033508, 0.019920367747545242, -0.09068942815065384, -0.026787877082824707, 0.037570785731077194, 0.013923292979598045, -0.0015220905188471079, -0.05747532099485397, 0.008637294173240662, 0.00908019207417965, -0.07950941473245621, -0.0321032851934433, -0.007646653335541487, -0.040953222662210464, -0.023993659764528275, 0.009585601277649403, 0.03791962191462517, 0.0638665109872818, 0.00973341055214405, 0.00022523778898175806, -0.004350767936557531, -0.0379483699798584, -0.11435514688491821, 0.08479724824428558, 0.04841546341776848, 0.04263735190033913, -0.02306092157959938, -0.006643228232860565, -0.007337987422943115, 0.09826730936765671, 0.02736629731953144, -0.02853664569556713, -0.02425779588520527, 0.061793744564056396, -0.0010851583210751414, 0.015679726377129555, 0.02485913224518299, 0.005485435947775841, 0.06710890680551529, -0.05131258815526962, -0.04678727313876152, -0.02799242176115513, 0.004906173329800367, -0.015304755419492722, -0.024380622431635857, 0.029368175193667412, 0.004591864533722401, 0.025589046999812126, 0.04606040194630623, 0.03789061680436134, 0.05753001570701599, -0.0079842209815979, 0.044844046235084534, 0.021009651944041252, -0.08139900118112564, -0.007902857847511768, -0.02492177113890648, 0.0017787324031814933, -0.044398222118616104, 0.4767983853816986, -0.03370920941233635, -0.0023962315171957016, 0.07493007928133011, 0.026899946853518486, -0.00855781976133585, 0.010537412017583847, 0.005718650296330452, -0.0420185886323452, 0.019151587039232254, -0.04501035809516907, 0.0194557998329401, 0.006329099182039499, 0.05387253686785698, -0.03762739896774292, -0.031727008521556854, 0.009267265908420086, 0.008990423753857613, -0.00663340836763382, -0.007088444661349058, 0.021066203713417053, -0.012288935482501984, -0.011074518784880638, 0.02377416379749775, 0.0032365720253437757, 0.0010519667994230986, -0.05012300983071327, -0.0008979401900433004, 0.056908849626779556, 0.024371067062020302, 0.007603622041642666, 0.04747273400425911, -0.050755877047777176, -0.07359013706445694, -0.01304695662111044, 0.002720592077821493, 0.004660243634134531, 0.017552794888615608, -0.0032943414989858866, 0.0015584137290716171, 0.014621659182012081, -0.023959677666425705, -0.021007347851991653, 0.04930346831679344, -0.007913625799119473, -0.05308130383491516, 0.08578905463218689, -0.013433225452899933, -0.023178603500127792, -0.014933536760509014, -0.032936058938503265, 0.005632420070469379, 0.013135173358023167, -0.010695531964302063, -0.06497690081596375, 0.02181914821267128, 0.025983557105064392, 0.07747157663106918, 0.011011989787220955, -0.06016665697097778, -0.03196076303720474, -0.01887354627251625, 0.010547428391873837, -0.05494813993573189, 0.022840606048703194, 0.06636494398117065, -0.08533135056495667, -0.017036544159054756, 0.00816610548645258, 0.017222890630364418, -0.0750701054930687, -0.015132029540836811, 0.03740943223237991, -0.029925696551799774, 0.0004562704998534173, 0.05105718597769737, -0.02283484674990177, -0.03926479071378708, 0.001221934799104929, 0.0511416457593441, 0.017143763601779938, 0.013134020380675793, 0.01741109974682331, -0.0515858493745327, -0.011259594932198524, -0.006818944588303566, -0.07168129086494446, -0.03753633052110672, -0.019685348495841026, -0.030618544667959213, -0.011029820889234543, -0.0243578739464283, -0.0129185039550066, -0.09800798445940018, 0.07218107581138611, -0.04098863527178764, -0.037423159927129745, 0.02536419965326786, -0.01557595282793045, -0.0050462381914258, -0.014416055753827095, -0.02089068666100502, 0.03107963316142559, -0.011694221757352352, 0.04187590256333351, -0.0464237704873085, 0.07113713026046753, 0.064201220870018, -0.07699237018823624, 0.06922004371881485, 0.043425653129816055, -0.04075370728969574, -0.03682716190814972, 0.013001962564885616, 0.009014434181153774, 0.016499795019626617, -0.024205327033996582, -0.005094383843243122, 0.04203980043530464, -0.00047743620234541595, 0.011039001867175102, -0.02834126353263855, -0.012351508252322674, -0.01773793250322342, -0.34063008427619934, -0.018934164196252823, -0.017264828085899353, -0.007794014643877745, -0.0061813644133508205, -0.05418621376156807, 0.024024048820137978, -0.0007466090610250831, -0.017486751079559326, -0.025486614555120468, 0.06816591322422028, -0.0056037199683487415, 0.019707245752215385, -0.09008419513702393, 0.010221810080111027, 0.010367481969296932, -0.040592219680547714, -0.031256526708602905, -0.03540785238146782, 0.009165328927338123, 0.009622317738831043, 0.00005329237683326937, 0.008878658525645733, -0.06780344992876053, -0.019852405413985252, -0.046288397163152695, 0.07514458149671555, -0.024431465193629265, 0.12359253317117691, -0.027370696887373924, 0.057453054934740067, 0.008227107115089893, 0.02401263266801834, -0.05710078775882721, 0.015498105436563492, -0.020047733560204506, -0.026126805692911148, -0.005709291435778141, 0.05470884591341019, -0.030414624139666557, -0.04756833612918854, 0.040122997015714645, -0.0413643978536129, -0.02553110383450985, -0.03972110152244568, 0.011109728366136551, -0.013060773722827435, -0.02490421012043953, -0.025713587179780006, 0.07803306728601456, 0.02462553046643734, -0.015534330159425735, 0.019177651032805443, 0.016779011115431786, -0.015154366381466389, -0.02569923922419548, -0.07139312475919724, 0.00976821780204773, 0.02353951521217823, -0.004142673220485449, 0.03960701823234558, 0.08784843981266022, 0.027243072167038918, -0.054448872804641724, -0.0033505393657833338, 0.014889438636600971, -0.017951039597392082, -0.0023217271082103252, 0.04218749701976776, -0.049620892852544785, -0.011340225115418434, 0.0947895422577858, 0.0012663835659623146, -0.0031005919445306063, -0.0016785142943263054, 0.045576587319374084, -0.005934426095336676, 0.024909915402531624, 0.020052209496498108, -0.002720738062635064, 0.0018606445519253612, -0.018114764243364334, 0.024393973872065544, -0.025567054748535156, -0.004356173798441887, 0.03130340203642845, -0.0050454637967050076, -0.02301151119172573, 0.0505257323384285, 0.0022497083991765976, -0.030012542381882668, 0.010959033854305744, 0.011144331656396389, -0.04961564019322395, 0.07016751915216446, 0.010578247718513012, -0.20974285900592804, -0.010830738581717014, 0.07646693289279938, 0.05480267107486725, -0.009579259902238846, 0.027567045763134956, 0.03214416652917862, -0.06767791509628296, 0.010515116155147552, -0.0019442734774202108, 0.054913051426410675, 0.029295509681105614, -0.003295458620414138, 0.005988545715808868, 0.043521810322999954, 0.0005414272309280932, 0.055684641003608704, -0.028891613706946373, 0.010430234484374523, -0.023050084710121155, 0.019570402801036835, -0.010011527687311172, 0.15617585182189941, -0.0012652198784053326, 0.05370951443910599, -0.009991604834794998, 0.017580538988113403, 0.02601340226829052, 0.06939994543790817, 0.013897365890443325, 0.013817403465509415, -0.00890428014099598, 0.06032194942235947, -0.0010152648901566863, 0.025035688653588295, -0.062299564480781555, -0.009498849511146545, -0.005453717429190874, 0.03475333750247955, -0.0023091528564691544, 0.029537605121731758, 0.011371226981282234, -0.043826423585414886, 0.013043442741036415, 0.06836339831352234, 0.005055426619946957, -0.0011220792075619102, -0.02570323273539543, -0.05190965160727501, -0.007004720624536276, -0.025412125512957573, -0.03299340233206749, 0.003257166361436248, -0.014672806486487389, -0.001462383195757866, 0.07297342270612717, 0.02843860164284706, -0.03138274699449539, -0.022253425791859627, 0.0015697189373895526, 0.006059538573026657, -0.026240019127726555, 0.11596202105283737, 0.071595199406147, 0.04631355404853821 ]
[ -0.04474767670035362, -0.016949843615293503, 0.0006198792834766209, 0.005001004319638014, -0.028605349361896515, 0.014484444633126259, -0.004102711565792561, 0.010739301331341267, -0.028180040419101715, 0.01667412742972374, -0.011175191961228848, 0.013720168732106686, -0.0002481643750797957, 0.010914891958236694, -0.009914013557136059, -0.02267996408045292, -0.01683715544641018, -0.025981513783335686, 0.014836735092103481, -0.018318824470043182, -0.00029691963572986424, 0.021149083971977234, 0.014762203209102154, 0.02815670147538185, -0.047113701701164246, 0.0016387315699830651, -0.03878723084926605, -0.022544395178556442, 0.011906163766980171, -0.10889527201652527, -0.008782501332461834, -0.05305717512965202, -0.011457766406238079, -0.017936237156391144, -0.026579901576042175, 0.0387093648314476, 0.023435428738594055, 0.02017761394381523, -0.021580804139375687, 0.009976158849895, 0.022149479016661644, -0.0342782624065876, 0.000011495805665617809, 0.0027827671729028225, -0.004604520741850138, -0.003822989296168089, 0.003960484638810158, -0.04893769323825836, -0.0021014483645558357, -0.040123794227838516, -0.005951208062469959, -0.006814996246248484, -0.022091427817940712, 0.005786463152617216, 0.020273482427001, 0.02422722429037094, 0.02798064611852169, -0.03836136683821678, -0.012127911671996117, -0.02089616097509861, -0.01172408927232027, 0.017762966454029083, -0.022701388224959373, -0.0208630058914423, -0.011480058543384075, -0.0023956401273608208, -0.01062827929854393, 0.019975634291768074, 0.006374985910952091, -0.011338798329234123, -0.01609029807150364, 0.010644053108990192, -0.034060999751091, 0.011828321032226086, 0.011650198139250278, 0.032118089497089386, -0.0060078236274421215, -0.005963497795164585, 0.04434678331017494, -0.008162034675478935, -0.024511726573109627, 0.03435282036662102, 0.05173134803771973, -0.01946660503745079, 0.04552038758993149, 0.016970522701740265, 0.030757365748286247, -0.002403181977570057, 0.004236821085214615, 0.011960469186306, -0.01969054900109768, 0.03067338652908802, -0.02318567968904972, 0.033545613288879395, -0.05480555444955826, 0.01873740926384926, -0.03335883468389511, 0.021840721368789673, 0.018540097400546074, 0.8513965606689453, 0.008422715589404106, 0.019628921523690224, 0.034377530217170715, 0.023082906380295753, 0.018642447888851166, -0.004167164210230112, -0.03308834135532379, -0.017156872898340225, 0.01913670264184475, -0.05102831497788429, 0.02677324041724205, -0.008237099274992943, 0.03675013408064842, -0.010719982907176018, 0.02938815951347351, 0.04624481871724129, -0.026265272870659828, 0.03732059895992279, -0.009319357573986053, 0.05359944328665733, 0.009777660481631756, -0.03408755362033844, 0.032705266028642654, 0.0012138329911977053, 0.025326309725642204, -0.17636694014072418, -0.06497663259506226, -8.320600845761248e-33, 0.03681296110153198, -0.04906777665019035, 0.002108633751049638, 0.000629545480478555, -0.004931982606649399, -0.01616835594177246, 0.053862135857343674, 0.03961966931819916, -0.012685608118772507, -0.01151766162365675, 0.012819540686905384, -0.017522655427455902, -0.004915117751806974, 0.0192483551800251, 0.05302230268716812, -0.011419541202485561, -0.013645706698298454, 0.01714342273771763, -0.02004692144691944, 0.0024627007078379393, 0.012372580356895924, 0.04353068768978119, -0.01369853038340807, -0.028338730335235596, 0.03756646439433098, 0.025333929806947708, 0.004267013166099787, -0.0053671435452997684, -0.009690186008810997, -0.027364451438188553, -0.025010962039232254, -0.005212903954088688, 0.008600794710218906, -0.022876234725117683, 0.02458050288259983, -0.04472137242555618, -0.005205902736634016, 0.029619593173265457, -0.027788160368800163, -0.021857112646102905, 0.011433183215558529, -0.04826444759964943, -0.0374520942568779, -0.004161382094025612, -0.016415711492300034, 0.0011531553464010358, 0.0011496382066980004, 0.019927186891436577, 0.01788991689682007, -0.021835073828697205, 0.013405896723270416, 0.02406875044107437, -0.0060822563245892525, -0.03290645033121109, -0.03768576309084892, 0.033339787274599075, -0.011805836111307144, -0.0004180088290013373, 0.0033027424942702055, 0.013670333661139011, -0.0380348302423954, 0.01946376822888851, -0.032550420612096786, 0.016064060851931572, -0.02290048636496067, -0.05389053374528885, -0.010849254205822945, -0.031361714005470276, -0.006665270309895277, 0.005829567555338144, -0.004287795163691044, -0.0022717704996466637, -0.05761542171239853, -0.02631913498044014, 0.0025165011174976826, 0.020148037001490593, 0.038997892290353775, 0.02828025631606579, -0.031582288444042206, 0.0018581090262159705, 0.014168583787977695, 0.02092638611793518, 0.023254694417119026, -0.014381972141563892, -0.009732173755764961, -0.014014138840138912, 0.03566524386405945, -0.021903259679675102, 0.021452367305755615, 0.02279338613152504, 0.0433959923684597, 0.027926821261644363, -0.009626215323805809, -0.028674988076090813, -0.027972418814897537, 8.548310999246818e-33, 0.027154188603162766, -0.01621309667825699, -0.03189165145158768, -0.005212607327848673, -0.007580243516713381, 0.0015106791397556663, 0.030720628798007965, -0.006907938979566097, -0.062015168368816376, 0.04487970471382141, -0.019360963255167007, 0.033305972814559937, -0.007806397043168545, 0.030085669830441475, 0.024072716012597084, -0.04496295005083084, 0.022535180673003197, -0.015165098942816257, 0.037285398691892624, 0.010216496884822845, 0.036307431757450104, 0.031062014400959015, 0.025014646351337433, -0.05482236668467522, 0.00490116560831666, 0.04590170085430145, -0.027438942342996597, 0.04343836382031441, -0.0071718827821314335, 0.017897916957736015, -0.003386132186278701, -0.00035992037737742066, 0.007951614446938038, 0.03150688111782074, -0.03876205533742905, 0.026740139350295067, 0.006321609485894442, -0.022654253989458084, 0.01940595731139183, 0.017987245693802834, 0.0023073514457792044, 0.0007372324471361935, 0.001515365787781775, 0.002313032513484359, 0.022027529776096344, -0.033459048718214035, -0.012394129298627377, -0.0018577856244519353, -0.0008408953435719013, 0.010207431390881538, -0.025287916883826256, -0.011792869307100773, 0.04244832694530487, 0.01100904680788517, -0.014610996469855309, -0.006404251791536808, -0.02018849365413189, -0.0076073347590863705, -0.005190744064748287, 0.005942193791270256, 0.0029608546756207943, 0.013031058013439178, -0.04958902671933174, -0.0026102259289473295, -0.025575358420610428, -0.004045905079692602, -0.015843326225876808, -0.026586206629872322, -0.01636967435479164, -0.029416300356388092, -0.024821283295750618, -0.012310159392654896, 0.021511714905500412, 0.0069304876960814, 0.005250218790024519, 0.01947355829179287, -0.03707733005285263, 0.004944357555359602, 0.030343901365995407, 0.01126132719218731, 0.008642115630209446, -0.031188860535621643, 0.018348069861531258, -0.003650906030088663, -0.008313954807817936, 0.011129096150398254, 0.03778721019625664, 0.03582463786005974, 0.006387437228113413, -0.0316016711294651, -0.004261052701622248, -0.004713710863143206, 0.019192377105355263, -0.011052646674215794, -0.012446553446352482, -1.3718128855089162e-8, 0.02798258513212204, 0.0035429231356829405, -0.015387100167572498, 0.01785663142800331, 0.024166636168956757, 0.00757926469668746, -0.022963067516684532, -0.010422463528811932, -0.020068403333425522, 0.03781437873840332, 0.03163226693868637, -0.016259705647826195, 0.0037565131206065416, -0.008452449925243855, 0.01619073562324047, -0.04305111616849899, -0.02561117522418499, 0.016535725444555283, 0.0074051967822015285, -0.023883912712335587, -0.007108400575816631, 0.07064386457204819, -0.020773964002728462, 0.05009784549474716, -0.030443668365478516, -0.006577648222446442, 0.0444718599319458, -0.06274805963039398, 0.02294011414051056, 0.013111766427755356, -0.014934830367565155, -0.01133695524185896, -0.029991144314408302, 0.005892957095056772, -0.012464968487620354, -0.011693315580487251, 0.00758075388148427, 0.04834030196070671, 0.01584536023437977, 0.010029096156358719, 0.008981679566204548, -0.025838371366262436, 0.003269763896241784, -0.024279413744807243, 0.008552467450499535, 0.0015713735483586788, -0.03181053325533867, -0.019655145704746246, 0.0069254678674042225, 0.006989471614360809, 0.014945697970688343, 0.034078072756528854, 0.004613545723259449, 0.02669118531048298, 0.0038352524861693382, -0.014454316347837448, 0.018277006223797798, 0.008257334120571613, -0.07501377910375595, 0.0029703129548579454, 0.0014738959725946188, 0.0096703777089715, -0.0012293371837586164, -0.02039622887969017 ]
book-club-working-effectively-with-legacy-code-chapter-9-michael-feathers
https://markhneedham.com/blog/2009/11/18/book-club-working-effectively-with-legacy-code-chapter-9-michael-feathers
false
2009-11-27 14:43:45
TDD: Testing delegation
[ "tdd" ]
[ "Testing" ]
I recently came across an http://www.rallydev.com/engblog/2009/11/17/units-are-not-classes/[interesting blog post by Rod Hilton on unit testing] and it reminded me of a couple of conversations http://fragmental.tw/[Phil], http://twitter.com/raphscallion[Raph] and I were having about the best way to test classes which delegate some responsibility to another class. An example that we ran into recently was where we wrote some code which required one controller to delegate to another. [source,java] ---- public class ControllerOne extends Controller { public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception { } } ---- [source,java] ---- public class ControllerTwo extends Controller { private final ControllerOne controllerOne; public ControllerTwo(ControllerOne controllerOne) { this.controllerOne = controllerOne; } public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception { .... return controllerOne.handleRequest(...); } } ---- My initial thought when working out how to test this code was that we should check that the request is actually getting routed via ControllerOne: [source,java] ---- @Test public void theTest() { ControllerOne controller One = mock(ControllerOne.class); ControllerTwo controllerTwo = new ControllerTwo(controllerOne); controllerTwo.handleRequest(...) verify(controllerOne).handleRequest(...); } ---- When we discussed this Raph and Phil both pointed out that we didn't care that specifically about the implementation of how the request was handled. What we care about is that the result we get after the request is handled is as expected. We therefore changed our test to be more like this: [source,java] ---- @Test public void theTest() { ControllerOne controller One = mock(ControllerOne.class); ModelAndView myModelAndView = new ModelAndView(); when(controllerOne.handleRequest(...).thenReturn(myModelAndView); ControllerTwo controllerTwo = new ControllerTwo(controllerOne); ModelAndView actualModelAndView = controllerTwo.handleRequest(...) assertThat(actualModelAndView, equalTo(myModelAndView)); } ---- I've been finding more and more recently that when it comes to writing tests which do some sort of delegation the 'stub + assert' approach seems to work out better than just verifying. You lose the fine grained test that verifying mocks provides but we can still pretty much tell indirectly whether the dependency was called because if it wasn't then it's unlikely (but of course still possible) that we would have received the correct 'ModelAndView' in our assertion. My current approach is that I'd probably only mock and verify an interaction if the dependency is a service which makes a network call or similarly expensive call where the interaction is as important as the result obtained. For example we probably wouldn't want to make that call multiple times and with verification we're able to ensure that doesn't happen. I find as I've used mocking frameworks more I feel like I'm drifting from a http://martinfowler.com/articles/mocksArentStubs.html#ClassicalAndMockistTesting[mockist style of testing to one getting closer to the classicist approach]. I wonder if that's quite a normal progression.
null
null
[ -0.02065131813287735, -0.03345396742224693, -0.03766800835728645, 0.04390385001897812, 0.047948163002729416, -0.06292002648115158, 0.049984004348516464, 0.020992334932088852, 0.003961779642850161, -0.04128599539399147, 0.001621479750610888, 0.0010407138615846634, -0.05144261196255684, 0.023323750123381615, -0.015363977290689945, 0.07576415687799454, 0.08202891796827316, -0.030075084418058395, 0.03322484344244003, -0.03216871619224548, 0.029286283999681473, 0.02750260941684246, 0.0031814435496926308, 0.022914133965969086, 0.04914798215031624, 0.004683737177401781, 0.02381887286901474, 0.012545919977128506, -0.05192346125841141, -0.020090272650122643, 0.021332766860723495, 0.008478725329041481, 0.009225580841302872, -0.02094320021569729, -0.02471144311130047, -0.020336423069238663, 0.0040110195986926556, 0.003537580603733659, 0.022289004176855087, -0.009230774827301502, -0.06025505065917969, 0.02008664980530739, -0.03575247898697853, -0.027990784496068954, -0.016524264588952065, -0.0046896073035895824, -0.011157293803989887, 0.020581690594553947, 0.014664107002317905, 0.02695958875119686, -0.05991565063595772, 0.03255130350589752, -0.01788042113184929, 0.010561767965555191, 0.0435480922460556, 0.03181314840912819, -0.03641952574253082, -0.10478688776493073, 0.01970083825290203, -0.0829184427857399, 0.030596207827329636, 0.05229022726416588, 0.007575388997793198, 0.048720698803663254, -0.0011333116563037038, -0.017076026648283005, 0.0006642889929935336, 0.054575689136981964, -0.03313334658741951, -0.00819422397762537, 0.0007375024142675102, -0.01723257079720497, -0.010599575005471706, 0.033919353038072586, 0.036156028509140015, -0.04587807506322861, 0.0052625094540417194, 0.04527682065963745, -0.01224504504352808, 0.038689304143190384, 0.0216732919216156, -0.0481671504676342, 0.02151244506239891, 0.010219485498964787, 0.008687232621014118, -0.044870153069496155, -0.01402696967124939, 0.006351078394800425, 0.02682528831064701, 0.046636104583740234, 0.014091544784605503, -0.03674359247088432, 0.010658870451152325, 0.012294265441596508, -0.013766219839453697, -0.0005886668805032969, 0.004992547444999218, -0.013759474270045757, -0.004580649081617594, 0.015689263120293617, -0.03186753764748573, 0.0015424154698848724, 0.04723002761602402, 0.035256605595350266, -0.07498284429311752, -0.015271074138581753, -0.027050836011767387, -0.06365720182657242, -0.02545766346156597, 0.021144326776266098, -0.0388195775449276, 0.017246408388018608, -0.02394544705748558, -0.012849418446421623, -0.04365625977516174, 0.06393412500619888, 0.015448427759110928, -0.011075763031840324, 0.011448247358202934, 0.053507763892412186, 0.005309882573783398, 0.005020621232688427, -0.001739742117933929, 0.07694466412067413, 0.005190541036427021, 0.038059789687395096, -0.04136336222290993, 0.07717836648225784, -0.011126280762255192, -0.08840234577655792, 0.03638136014342308, 0.047066036611795425, 0.009137210436165333, 0.03452436998486519, -0.003717670449987054, -0.022379925474524498, -0.01010060589760542, -0.001161412918008864, 0.028367405757308006, 0.04244386404752731, -0.08130760490894318, -0.005509946029633284, -0.004345185123383999, 0.001654821913689375, 0.014196381904184818, 0.03435160219669342, 0.003383281407877803, -0.029084697365760803, -0.009392298758029938, 0.047916751354932785, 0.014302306808531284, 0.057655394077301025, 0.0528055839240551, -0.040370941162109375, -0.007138656917959452, 0.06309119611978531, -0.00462708855047822, 0.013985708355903625, -0.014549415558576584, 0.004347015172243118, 0.004684803541749716, -0.014604317024350166, 0.009412565268576145, 0.0639081746339798, 0.03709714114665985, 0.019059257581830025, 0.004189909435808659, 0.04828949272632599, 0.0027819883543998003, -0.0332406684756279, -0.06034709885716438, -0.10405804216861725, 0.0280661191791296, -0.0646573156118393, 0.013982664793729782, 0.011071714572608471, 0.0587943010032177, -0.02544914372265339, 0.059411220252513885, 0.01248419564217329, -0.07127511501312256, 0.038076743483543396, 0.023816615343093872, 0.02008887566626072, 0.0028584247920662165, -0.010022668167948723, 0.060486309230327606, 0.005741051398217678, -0.05662301927804947, 0.014916139654815197, -0.0847591906785965, -0.0728771984577179, -0.01665423810482025, -0.008909021504223347, 0.054564740508794785, -0.0462319478392601, -0.012615993618965149, 0.08075860142707825, 0.011147531680762768, 0.02205144427716732, 0.016926869750022888, -0.012083115056157112, 0.027267936617136, -0.04555365815758705, -0.039076078683137894, 0.028718089684844017, 0.05958468094468117, -0.007933656685054302, -0.053757864981889725, -0.015720510855317116, -0.036086197942495346, 0.003211366478353739, 0.004323370289057493, -0.011911350302398205, 0.046680696308612823, 0.018309209495782852, 0.004343514330685139, -0.05089186504483223, 0.07767395675182343, -0.08088997006416321, 0.033538829535245895, -0.03378293663263321, -0.033413585275411606, -0.04705561324954033, -0.03459174185991287, 0.10720694065093994, 0.04082082211971283, 0.029324494302272797, -0.04363882169127464, 0.0027558980509638786, 0.05611156299710274, -0.03924425691366196, -0.006883039604872465, -0.015005726367235184, 0.005744457244873047, 0.02274705283343792, -0.033172607421875, -0.017796065658330917, 0.012606137432157993, -0.03385525196790695, 0.02658974379301071, 0.09510482102632523, -0.03871302306652069, 0.012931982055306435, -0.0036658395547419786, -0.017478279769420624, 0.005574959330260754, -0.042611826211214066, -0.0031723438296467066, 0.0032388418912887573, 0.008712925016880035, -0.010684451088309288, 0.04990054666996002, -0.0629509761929512, -0.005590165499597788, -0.008392103016376495, -0.014063933864235878, 0.0020487539004534483, 0.03719228506088257, 0.06925376504659653, 0.03124047815799713, 0.051281340420246124, -0.034845512360334396, -0.00003052099418709986, -0.032461367547512054, -0.06573280692100525, -0.023342400789260864, 0.024293137714266777, 0.006754644215106964, 0.06748323887586594, 0.005007768515497446, -0.018735704943537712, 0.04641168192028999, 0.0006091941613703966, -0.020733613520860672, 0.006451993715018034, 0.0008549357880838215, 0.015828721225261688, -0.00398869626224041, -0.033311810344457626, -0.049546413123607635, 0.02961856871843338, 0.009064228273928165, -0.01994972676038742, 0.060305118560791016, -0.0679747611284256, 0.048013005405664444, -0.0389382466673851, -0.047362249344587326, 0.010912715457379818, 0.051501695066690445, 0.031313877552747726, -0.019358735531568527, 0.019391361624002457, 0.07580500841140747, 0.007847968488931656, 0.013977616094052792, 0.03170044720172882, -0.00004533058381639421, 0.03375784307718277, -0.06040738523006439, 0.0054575856775045395, 0.006311509758234024, -0.023071274161338806, 0.010756215080618858, -0.03681890666484833, 0.013729715719819069, -0.00932062603533268, -0.2422439455986023, -0.003907092846930027, -0.02933044731616974, -0.029394051060080528, 0.022219980135560036, -0.019260721281170845, 0.01049219723790884, -0.05387537553906441, -0.03799775615334511, 0.07040642201900482, -0.035761769860982895, -0.03080429695546627, 0.008268839679658413, 0.06590496003627777, 0.0036639224272221327, 0.021183783188462257, 0.016102727502584457, -0.03688995540142059, 0.00024001780548132956, 0.029672496020793915, 0.029574556276202202, -0.06613261252641678, -0.011128456331789494, 0.05121394991874695, 0.028902152553200722, 0.043829306960105896, -0.08344590663909912, 0.0772688090801239, -0.022715924307703972, 0.0012353452621027827, 0.0462023988366127, -0.017785750329494476, 0.00106676178984344, -0.028444752097129822, -0.013221572153270245, -0.03861657902598381, 0.016114767640829086, 0.0343848317861557, -0.019967401400208473, 0.004473297391086817, -0.03847823664546013, -0.09232760220766068, -0.02104664407670498, -0.0018647713586688042, 0.04438629746437073, -0.004467878025025129, -0.040763434022665024, 0.0012172728311270475, -0.01979311928153038, 0.0813426524400711, -0.039269041270017624, -0.03212766349315643, 0.02611882984638214, 0.013895741663873196, -0.04202011972665787, -0.014811733737587929, 0.015978708863258362, -0.005371449049562216, -0.026970412582159042, -0.020302513614296913, -0.004493177868425846, -0.06924770027399063, -0.05303853377699852, -0.05467946454882622, -0.017233610153198242, -0.05715600773692131, -0.02790258079767227, 0.0013812131946906447, 0.022255003452301025, -0.004024880938231945, -0.03357963263988495, -0.012063229456543922, -0.03642847761511803, -0.11134198307991028, 0.004674550611525774, -0.023040926083922386, -0.028023432940244675, -0.04551134631037712, -0.009533857926726341, 0.050499625504016876, -0.021326463669538498, -0.01780846156179905, 0.011430231854319572, -0.006535879336297512, -0.004902224987745285, 0.018327927216887474, 0.02461770735681057, 0.005648985970765352, 0.040049463510513306, 0.005490337964147329, 0.06795945763587952, -0.025272252038121223, -0.0178067646920681, -0.026156991720199585, 0.023148532956838608, 0.02861272171139717, 0.026232846081256866, -0.02583337016403675, -0.008748257532715797, 0.01902647875249386, 0.0022230767644941807, -0.0423857755959034, 0.021662848070263863, 0.028105657547712326, 0.028124278411269188, -0.02406362071633339, -0.041412919759750366, 0.035446520894765854, 0.01716981641948223, 0.03198840841650963, 0.0006959566962905228, -0.06333725899457932, 0.001085295109078288, -0.04717111214995384, -0.04587628319859505, -0.05285193771123886, -0.0039795334450900555, 0.03795969486236572, -0.0206874068826437, -0.02533670701086521, -0.03928143158555031, 0.005628945305943489, -0.0167425237596035, -0.0033571328967809677, -0.030329182744026184, -0.0322921983897686, 0.0057115815579891205, -0.02892032265663147, 0.00702348118647933, 0.010359752923250198, -0.024785155430436134, 0.01969052478671074, 0.000277299084700644, -0.025246405974030495, -0.0062481495551764965, -0.026039348915219307, -0.023679563775658607, -0.017179245129227638, -0.0009389847982674837, -0.031652674078941345, -0.04205784574151039, -0.0027654431760311127, 0.004040655680000782, 0.01438308134675026, 0.04259655252099037, 0.02549254521727562, 0.027007363736629486, 0.017257748171687126, -0.01565607264637947, -0.002958896104246378, 0.04799802228808403, -0.07386565208435059, 0.003380294656381011, -0.04035528749227524, -0.01839974895119667, -0.02625170163810253, 0.028642382472753525, 0.013746163807809353, -0.0019428484374657273, -0.028332676738500595, 0.006141778081655502, -0.036694638431072235, -0.03923621401190758, -0.030538836494088173, 0.006440609693527222, 0.08335807919502258, -0.029737764969468117, 0.028419654816389084, -0.014322507195174694, -0.07879509776830673, -0.023675324395298958, -0.03694767504930496, 0.00521579897031188, 0.04656069353222847, -0.012054281309247017, -0.010243742726743221, 0.00969346147030592, -0.00446581095457077, 0.0393088273704052, 0.027988851070404053, 0.01454867422580719, 0.021635323762893677, 0.05965287610888481, 0.0300957839936018, 0.026610294356942177, -0.0016108533600345254, -0.015092835761606693, -0.01130719855427742, 0.015819905325770378, -0.010363277979195118, -0.03364592045545578, 0.011160360649228096, -0.004479597322642803, 0.06684139370918274, -0.032484766095876694, -0.07825344800949097, 0.03012051433324814, 0.010886387899518013, -0.014947718009352684, -0.030042242258787155, 0.0194261372089386, -0.00827026553452015, 0.016792943701148033, 0.008730581030249596, 0.026805724948644638, -0.01280561275780201, 0.013662677258253098, 0.027194486930966377, -0.017140153795480728, 0.02158576063811779, -0.008766969665884972, -0.05890844017267227, -0.01398658100515604, 0.015253008343279362, -0.02395300753414631, -0.04199066385626793, -0.004354789853096008, -0.022871119901537895, 0.005622131284326315, 0.019874731078743935, -0.00953417643904686, 0.01143494900316, -0.014206727035343647, -0.03720664232969284, -0.017085161060094833, -0.0008678307640366256, -0.004892755299806595, -0.021307623013854027, 0.023141244426369667, -0.016010278835892677, 0.024481583386659622, 0.00490573700517416, 0.04562115669250488, 0.01592065952718258, -0.025863539427518845, -0.03656211122870445, -0.03339675813913345, 0.01714967004954815, 0.006264713127166033, 0.03599734976887703, 0.037799641489982605, 0.002681436948478222, -0.012158527038991451, 0.004657415673136711, 0.009278805926442146, 0.01879400946199894, -0.012724606320261955, 0.0030246959067881107, 0.05206577107310295, 0.0581543855369091, 0.03568193316459656, 0.061577025800943375, 0.020037079229950905, 0.018796268850564957, 0.061444975435733795, -0.050782304257154465, -0.029456323012709618, -0.003274511778727174, -0.05689537525177002, 0.048786185681819916, -0.004517485853284597, 0.07045064866542816, -0.06079033017158508, 0.038441795855760574, 0.022423258051276207, 0.01767924800515175, 0.04996303841471672, -0.03396530821919441, 0.024361521005630493, -0.05645828694105148, 0.027272896841168404, -0.07838591188192368, 0.01746070384979248, 0.06980833411216736, 0.030358722433447838, -0.02479235641658306, -0.03362679108977318, -0.036828137934207916, 0.044734008610248566, -0.050351206213235855, -0.03142501041293144, 0.0020085975993424654, 0.003255547257140279, -0.02873651683330536, 0.020655687898397446, -0.04332665726542473, 0.03842134028673172, 0.02391148917376995, -0.04231342300772667, -0.012189213186502457, -0.021272052079439163, 0.030703742057085037, 0.05114366114139557, 0.004608662333339453, -0.040213923901319504, 0.0233993548899889, 0.0752575695514679, -0.000056383749324595556, 0.001302519696764648, 0.049310073256492615, -0.045939575880765915, 0.01755824312567711, 0.02485983446240425, -0.022894157096743584, -0.03504185378551483, 0.004843899980187416, -0.0007386729121208191, -0.05195460096001625, 0.04724780097603798, 0.0177084319293499, -0.01148590724915266, -0.0652640089392662, 0.062100011855363846, 0.01146161463111639, -0.04256266728043556, 0.0001959299697773531, 0.006350747775286436, -0.029160242527723312, -0.06401748210191727, -0.037348370999097824, 0.003985751420259476, -0.016946977004408836, 0.09516939520835876, 0.006932804360985756, 0.005958563182502985, 0.05393264442682266, 0.0054852706380188465, -0.03528911620378494, -0.0042772358283400536, 0.087343230843544, 0.09292448312044144, 0.033833667635917664, -0.0010148638393729925, 0.052306585013866425, -0.011392291635274887, -0.04043303057551384, -0.002853511832654476, -0.01092724408954382, -0.014561944641172886, -0.011500888504087925, -0.018629049882292747, 0.040250129997730255, 0.025897471234202385, 0.053794022649526596, -0.024414917454123497, -0.002334501361474395, 0.019567660987377167, 0.023469999432563782, 0.022534294053912163, 0.027631280943751335, -0.011668510735034943, 0.020395882427692413, -0.004866921808570623, -0.05155593529343605, 0.014410658739507198, -0.0020820375066250563, -0.03238384425640106, 0.02936760149896145, -0.008694728836417198, -0.010275153443217278, 0.0015969180967658758, -0.009445800445973873, 0.07501748949289322, -0.007928849197924137, -0.012810787186026573, 0.01935947686433792, 0.027101531624794006, 0.004097042605280876, -0.032074473798274994, 0.014394324272871017, -0.03748517856001854, 0.00304691051132977, -0.03925211355090141, -0.029248250648379326, -0.014810970984399319, -0.02150053344666958, 0.04397919028997421, 0.0011529929470270872, 0.03566167503595352, 0.014988339506089687, -0.01475940365344286, -0.04454125836491585, -0.05321935564279556, -0.04871208965778351, -0.02063116803765297, -0.04619983211159706, -0.03526473790407181, 0.03745945915579796, -0.02013700269162655, -0.06270789355039597, -0.009339566342532635, -0.0569453090429306, -0.009911182336509228, 0.031232330948114395, -0.010899106040596962, -0.030347364023327827, 0.024063339456915855, -0.013107149861752987, 0.0574149526655674, 0.02907666191458702, 0.0485706701874733, 0.027568195015192032, 0.01605856977403164, -0.08198927342891693, -0.015460035763680935, 0.02958735264837742, 0.022172506898641586, -0.006842989008873701, -0.0612364336848259, 0.003607248654589057, 0.02102513052523136, 0.01250019297003746, -0.050414759665727615, 0.03268377482891083, -0.004222474526613951, 0.005006872117519379, 0.0628785714507103, -0.041770268231630325, 0.011256178840994835, 0.001789027824997902, -0.05584299936890602, 0.021236754953861237, 0.04487156867980957, 0.051412247121334076, -0.017180874943733215, 0.061876457184553146, 0.053147513419389725, -0.006207042373716831, -0.014502085745334625, 0.013666550628840923, -0.008011853322386742, 0.023267632350325584, -0.049439359456300735, -0.0614144541323185, -0.050006408244371414, -0.04412749409675598, -0.00043891885434277356, 0.038444213569164276, -0.014459378086030483, -0.01014123484492302, 0.002104244427755475, 0.0062585994601249695, -0.028297340497374535, 0.013589154928922653, -0.022898947820067406, 0.030995434150099754, -0.02250954508781433, -0.03342761471867561, 0.030744008719921112, 0.02071538008749485, -0.014529752545058727, 0.018843887373805046, 0.03107818029820919, -0.03701896592974663, -0.021362673491239548, 0.006035047583281994, 0.00892565306276083, 0.048614270985126495, -0.021567659452557564, -0.011260522529482841 ]
[ -0.09352459758520126, 0.003290165914222598, -0.020742973312735558, -0.039081357419490814, 0.027473529800772667, -0.04144067317247391, 0.039917826652526855, 0.025102822110056877, 0.002582696033641696, -0.017601313069462776, -0.0019570670556277037, -0.030154166743159294, -0.025242479518055916, 0.030463404953479767, 0.09507046639919281, -0.003625570796430111, -0.024713726714253426, -0.04406977817416191, 0.014133845455944538, 0.022063888609409332, 0.034492459148168564, -0.02152460440993309, -0.02614780142903328, 0.0018927153432741761, 0.02017192356288433, 0.03261208161711693, 0.042099300771951675, -0.05114340782165527, -0.0019775351975113153, -0.19208437204360962, 0.02802310325205326, -0.03831234574317932, -0.013390427455306053, -0.03543432801961899, -0.02581687830388546, 0.032248880714178085, 0.015372451394796371, 0.009759875945746899, 0.02560807578265667, 0.03102932497859001, -0.022647330537438393, 0.03978800028562546, -0.04796895012259483, -0.03059128299355507, 0.027739284560084343, -0.021450795233249664, 0.009458648040890694, -0.0389702133834362, -0.015327328816056252, -0.010736020281910896, -0.03896927461028099, -0.006798033136874437, -0.005755551625043154, -0.018730612471699715, 0.014176152646541595, 0.0066846925765275955, 0.0488145686686039, 0.05822518467903137, 0.03642456233501434, 0.04092666879296303, -0.013585695065557957, -0.012043682858347893, -0.12146806716918945, 0.07710795104503632, 0.013547088950872421, 0.050863247364759445, 0.019920775666832924, -0.022955961525440216, 0.02269837073981762, 0.08064155280590057, 0.02726220339536667, -0.018402228131890297, -0.0202149897813797, 0.053703926503658295, -0.020638100802898407, -0.015499915927648544, 0.004203461576253176, 0.04619608446955681, 0.06422483175992966, -0.04717367887496948, -0.07712836563587189, -0.0393986701965332, 0.02976500615477562, -0.011315453797578812, -0.0008388450369238853, 0.033106427639722824, -0.004516314249485731, 0.019904110580682755, 0.04632798954844475, 0.039462726563215256, 0.04382193833589554, 0.004020562395453453, 0.00326717016287148, 0.0027321523521095514, -0.09595992416143417, 0.006540353875607252, -0.04817971587181091, -0.03003709390759468, -0.05728966370224953, 0.42270520329475403, -0.011211753822863102, -0.021567579358816147, 0.033116672188043594, 0.05467688664793968, -0.017224116250872612, -0.006583577953279018, 0.008524313569068909, -0.0687490925192833, -0.028551844879984856, -0.03764958307147026, 0.009156228974461555, 0.0003612810978665948, 0.001611320418305695, -0.04580043628811836, -0.027090489864349365, 0.01653774455189705, 0.026679793372750282, 0.024601822718977928, -0.02632255107164383, -0.00037067572702653706, -0.010849344544112682, -0.027036165818572044, 0.04902888089418411, 0.0019003191264346242, 0.0036135755944997072, -0.05385865643620491, 0.02855250984430313, 0.060531917959451675, 0.036579929292201996, 0.0027028487529605627, 0.03213278576731682, -0.05160713195800781, -0.1143852025270462, -0.03142230585217476, 0.00914011336863041, 0.001997876912355423, 0.06460679322481155, -0.010330677032470703, 0.007176656275987625, 0.013947186060249805, -0.004611702170222998, -0.026180749759078026, 0.039618998765945435, -0.05857488885521889, -0.0686597228050232, 0.08111485838890076, -0.0054118214175105095, -0.01533218938857317, 0.005068439990282059, 0.0012067875359207392, -0.003030237974599004, 0.05297209322452545, -0.012842360883951187, -0.06348665803670883, 0.020311975851655006, 0.012291672639548779, 0.03889523819088936, 0.009427318349480629, -0.019170857965946198, -0.025007424876093864, -0.007675169501453638, 0.0008129250491037965, -0.03044191189110279, 0.04366419091820717, 0.062032997608184814, -0.1152365431189537, -0.023980578407645226, -0.0037139039486646652, -0.014770202338695526, -0.044626254588365555, -0.026484617963433266, 0.04216591268777847, -0.03899456560611725, -0.019029129296541214, 0.04306351765990257, -0.019856467843055725, -0.03162554278969765, 0.009048021398484707, 0.007529811933636665, 0.042655594646930695, 0.0008775123278610408, 0.014256320893764496, -0.03906293958425522, 0.011028142645955086, 0.009183675982058048, -0.05622902885079384, -0.03900749981403351, -0.02527877688407898, -0.019259000197052956, -0.039704881608486176, -0.060280825942754745, -0.03487340733408928, -0.08878794312477112, 0.10141632705926895, -0.02505716122686863, -0.011984027922153473, 0.03719738498330116, -0.03254950791597366, 0.0131382429972291, -0.023222941905260086, -0.0027437563985586166, 0.07939408719539642, -0.014117935672402382, 0.042310673743486404, -0.07499254494905472, 0.05066344887018204, 0.05522244796156883, -0.031294114887714386, 0.033166881650686264, 0.04971560090780258, -0.07499941438436508, -0.021847520023584366, -0.02828657627105713, 0.011673090979456902, -0.02036975510418415, -0.0028959177434444427, 0.002758865710347891, 0.0722208023071289, -0.01913631707429886, 0.021633734926581383, -0.04193170741200447, 0.023046186193823814, 0.06839331984519958, -0.32823002338409424, -0.035652391612529755, 0.006299043074250221, -0.015841636806726456, 0.012121736072003841, -0.07455635070800781, 0.016018396243453026, -0.00862040650099516, -0.022317148745059967, -0.025283437222242355, 0.07796608656644821, -0.004128027707338333, -0.015264445915818214, -0.07139361649751663, 0.011549356393516064, 0.04280586913228035, -0.03565249592065811, -0.048759087920188904, -0.03403856232762337, -0.007053821347653866, -0.0036494513042271137, 0.011376108974218369, 0.037826597690582275, -0.04483642801642418, 0.02725505828857422, -0.03328557685017586, 0.09075979143381119, -0.010086108930408955, 0.09402734786272049, -0.02880258858203888, 0.04868405684828758, 0.013370128348469734, 0.02029159665107727, -0.05781301483511925, 0.02321457490324974, -0.044367723166942596, -0.07289987057447433, -0.025277666747570038, 0.046232111752033234, -0.025487540289759636, -0.02306107059121132, 0.02523832581937313, -0.03969914838671684, -0.08288127928972244, -0.0052117896266281605, 0.0073584867641329765, 0.0007859612815082073, -0.017170092090964317, -0.008876836858689785, 0.04744608700275421, -0.027752138674259186, -0.03862488642334938, 0.01976865343749523, 0.023228546604514122, 0.0033490932546555996, -0.01488323975354433, -0.07678156346082687, 0.0007712686201557517, 0.00031295802909880877, 0.025172915309667587, 0.02114849165081978, 0.11995261907577515, 0.03259808197617531, -0.06608320027589798, 0.013333755545318127, 0.008936000056564808, -0.0253447238355875, -0.006368614733219147, 0.052519623190164566, -0.023011106997728348, -0.02514093741774559, 0.09540867060422897, 0.002106067258864641, 0.017521338537335396, 0.03517797961831093, 0.03983427956700325, 0.01840105466544628, -0.03579767420887947, 0.016358299180865288, 0.01692497916519642, -0.02850881777703762, 0.022861603647470474, 0.037758324295282364, -0.014273003675043583, -0.0033496692776679993, 0.04572710767388344, -0.0194723978638649, 0.01799747347831726, 0.054135967046022415, -0.010962309315800667, -0.029984179884195328, 0.011790142394602299, -0.04362881928682327, -0.044439513236284256, 0.05096544697880745, 0.000541333865839988, -0.24016651511192322, -0.0033321327064186335, 0.07320300489664078, 0.09367116540670395, -0.025654921308159828, 0.02519812062382698, 0.0352579690515995, -0.046029359102249146, -0.05160250887274742, 0.017920728772878647, 0.0698380172252655, 0.04057886451482773, 0.023394789546728134, 0.025461265817284584, 0.02112594060599804, 0.027606071904301643, 0.05113772302865982, -0.02157025970518589, 0.05283614248037338, -0.050157733261585236, 0.009463301859796047, -0.013777888379991055, 0.15223263204097748, -0.012135916389524937, 0.04927404969930649, 0.05096845701336861, 0.012529225088655949, -0.004548757337033749, 0.06167212128639221, -0.005561139900237322, 0.030165528878569603, -0.033830832690000534, 0.09126690030097961, -0.008178742602467537, 0.013719448819756508, -0.07078862190246582, 0.02202635630965233, 0.006491989828646183, -0.00013133473112247884, 0.005514163989573717, -0.0359894335269928, 0.04044537618756294, -0.02873261272907257, 0.009571787901222706, 0.08705998957157135, 0.006551995407789946, -0.021864349022507668, -0.04763460159301758, -0.05561254173517227, 0.009026761166751385, 0.015537596307694912, -0.07201310247182846, -0.010874957777559757, 0.013594500720500946, 0.02080128900706768, 0.0688193216919899, 0.002523142844438553, -0.04609643295407295, -0.06642841547727585, 0.007913180626928806, 0.021092992275953293, 0.024896638467907906, 0.11874313652515411, 0.019550746306777, 0.004656561184674501 ]
[ -0.021305115893483162, -0.002517875749617815, -0.029390977695584297, 0.006186238490045071, 0.012553372420370579, 0.0328073687851429, 0.004815653897821903, 0.008888493292033672, 0.019761819392442703, 0.007404151372611523, 0.013590699061751366, 0.02038058638572693, 0.02347574383020401, -0.01083468273282051, 0.02674584463238716, -0.04311821982264519, 0.007113387808203697, -0.0009781706612557173, 0.0001336534769507125, 0.00500885583460331, 0.0024455429520457983, 0.046942342072725296, 0.022653574123978615, 0.0022769616916775703, -0.023875337094068527, 0.013234761543571949, -0.006966903805732727, -0.025869907811284065, 0.012804221361875534, -0.12654943764209747, 0.0051589165814220905, -0.033614303916692734, -0.011352956295013428, 0.008125468157231808, -0.035729844123125076, 0.0005338225164450705, 0.021177181974053383, 0.0030014249496161938, 0.0022876374423503876, -0.025953447446227074, -0.00867579784244299, -0.017031285911798477, -0.008951453492045403, -0.0011496006045490503, 0.0003188146511092782, -0.002264398382976651, 0.0026243918109685183, 0.00019830712699331343, -0.02016882225871086, -0.04025619104504585, -0.006695382762700319, -0.023125238716602325, 0.017702192068099976, -0.014674173668026924, -0.018353866413235664, -0.0023189557250589132, -0.009609207510948181, 0.014959104359149933, 0.030984990298748016, -0.001705928472802043, 0.005155372433364391, 0.0052022323943674564, -0.01697530597448349, -0.017384100705385208, -0.013577432371675968, -0.05543210729956627, 0.03168950229883194, 0.004994673188775778, 0.018289193511009216, -0.00364771019667387, 0.003670153673738241, 0.03199435770511627, 0.013450645841658115, 0.003589710919186473, 0.004139011260122061, 0.014151829294860363, 0.02164597623050213, -0.0169681366533041, 0.03446057066321373, -0.00996480043977499, -0.02603817917406559, 0.005084536038339138, -0.005719310138374567, 0.024057839065790176, 0.024252505972981453, -0.007516614161431789, 0.005303462967276573, 0.024804340675473213, 0.02699272520840168, 0.01991197280585766, -0.03631260618567467, 0.04440958797931671, -0.02838769182562828, 0.04707694053649902, -0.10042887926101685, 0.02655135840177536, -0.019303150475025177, -0.021802671253681183, -0.010677634738385677, 0.8531014323234558, -0.005288055632263422, 0.02722366340458393, 0.02790669910609722, 0.035842590034008026, -0.005435959901660681, -0.025144780054688454, 0.0018137444276362658, -0.0033349969889968634, 0.02630474977195263, -0.015016361139714718, 0.043197937309741974, -0.0004449342959560454, 0.012520289979875088, 0.01561715453863144, 0.029582342132925987, 0.005371914245188236, 0.01936069317162037, -0.011730323545634747, -0.02554531767964363, -0.0003168931871186942, -0.008137280121445656, -0.002611452015116811, 0.024509700015187263, 0.0008889259188435972, 0.020072057843208313, -0.1702190637588501, -0.028946317732334137, -8.428471554232394e-33, 0.04204859957098961, -0.0026748590171337128, 0.011052885092794895, 0.03445472568273544, 0.008577757515013218, 0.011606860905885696, 0.03143374249339104, 0.03827828913927078, 0.025589346885681152, -0.037430766969919205, 0.003485722467303276, -0.03648742660880089, 0.01338204462081194, -0.03458289057016373, 0.017679894343018532, -0.023404425010085106, -0.016264889389276505, 0.017237331718206406, 0.005199591163545847, 0.027952829375863075, 0.03153933957219124, 0.044553790241479874, 0.01085579488426447, -0.01305225770920515, 0.013159614987671375, 0.0034140395000576973, 0.03939623385667801, 0.011126060970127583, -0.013574446551501751, -0.030218223109841347, 0.007925828918814659, -0.018685325980186462, -0.031747277826070786, -0.02760854735970497, 0.03562766686081886, -0.04196867346763611, -0.0015651453286409378, -0.0013644619612023234, -0.02249482087790966, -0.0511506050825119, -0.04570192098617554, -0.03297991678118706, -0.04134383425116539, 0.022481339052319527, -0.036314018070697784, -0.02374870702624321, 0.01651667058467865, 0.013378950767219067, 0.017599890008568764, -0.016452498733997345, -0.01675906591117382, 0.01169595681130886, 0.023758837953209877, -0.040291786193847656, -0.041201215237379074, 0.04259846732020378, 0.024746574461460114, 0.031408485025167465, -0.0061556268483400345, 0.015337374992668629, -0.02439764514565468, -0.03080070950090885, -0.033209268003702164, 0.021820349618792534, -0.03075147420167923, -0.007802978623658419, -0.018079036846756935, -0.017432289198040962, 0.028697218745946884, -0.020887425169348717, -0.0325634628534317, -0.03359723836183548, -0.005317820236086845, -0.011876176111400127, 0.010876155458390713, -0.013022493571043015, 0.025812456384301186, 0.05255376175045967, -0.007954739034175873, 0.01223684661090374, 0.02625449374318123, -0.014182246290147305, 0.01788567751646042, 0.000351922120898962, 0.022094810381531715, -0.021867677569389343, 0.02007974497973919, -0.02814631164073944, 0.034231334924697876, 0.03121175616979599, 0.038785286247730255, 0.06670219451189041, -0.003781636245548725, -0.020883571356534958, -0.0041665611788630486, 8.214224484483585e-33, -0.026129480451345444, 0.0004107214626856148, -0.03145667538046837, -0.0013243737630546093, 0.015314512886106968, -0.02989860065281391, -0.01435149647295475, 0.04323486611247063, -0.059303123503923416, -0.01052549947053194, -0.04419022798538208, 0.009492198005318642, -0.010830288752913475, 0.026208048686385155, 0.028116939589381218, -0.039561424404382706, 0.04068120941519737, -0.03640362247824669, 0.024892104789614677, -0.01183492224663496, 0.044623300433158875, 0.01206581387668848, 0.04435356333851814, -0.009172593243420124, 0.018360981717705727, 0.045634958893060684, -0.0461069718003273, 0.028382593765854836, 0.014278922230005264, 0.00830198172479868, 0.026031222194433212, -0.026990309357643127, 0.03376659378409386, -0.00891154445707798, -0.01925497315824032, 0.002929671900346875, -0.008823135867714882, -0.01538710854947567, 0.00042606869828887284, 0.009821927174925804, 0.007412871811538935, -0.053886014968156815, 0.032325565814971924, 0.024544836953282356, 0.01079674530774355, -0.015520686283707619, 0.01874140091240406, 0.014429931528866291, -0.007095087319612503, 0.0017906366847455502, -0.01570289582014084, 0.012294171378016472, -0.021692095324397087, 0.029923180118203163, 0.04454491287469864, -0.03045399859547615, -0.009276903234422207, -0.019110994413495064, 0.011478075757622719, 0.010452871210873127, 0.01054386142641306, -0.020255781710147858, -0.045489925891160965, 0.024008734151721, -0.012898397631943226, -0.012763791717588902, 0.02430582419037819, -0.021321211010217667, 0.004397174809128046, 0.035438116639852524, -0.014008980244398117, -0.012683109380304813, 0.005153157748281956, 0.01588006317615509, 0.04972440376877785, -0.018085317686200142, -0.012081276625394821, -0.014715934172272682, -0.0010617587249726057, -0.009588874876499176, 0.009388379752635956, -0.033760782331228256, -0.0002494037908036262, -0.04113345593214035, 0.03287584334611893, -0.014760325662791729, -0.012891910970211029, 0.012144802138209343, -0.014611287973821163, -0.018874818459153175, -0.015431837178766727, 0.00033196891308762133, 0.027724575251340866, 0.0008175271796062589, -0.004245375748723745, -1.360158652374821e-8, -0.010448538698256016, 0.029183054342865944, -0.007297370117157698, 0.002375844167545438, 0.001804258325137198, 0.010352845303714275, -0.02414686605334282, -0.05098880082368851, 0.002176915993914008, 0.0236983522772789, 0.026379792019724846, -0.013470249250531197, 0.023347143083810806, 0.013110845349729061, 0.009770331904292107, -0.08305998146533966, -0.03066112846136093, -0.01918203756213188, 0.012463141232728958, -0.002945548854768276, -0.005244057159870863, 0.029565265402197838, -0.03836255148053169, 0.007372688036412001, 0.023835236206650734, 0.02642880566418171, 0.0023620796855539083, -0.04999140650033951, 0.005824411287903786, -0.023993588984012604, -0.034922827035188675, -0.012568390928208828, -0.03450734540820122, 0.0043435776606202126, -0.025562437251210213, 0.016181763261556625, -0.003596526337787509, 0.007819311693310738, 0.020409593358635902, 0.016075538471341133, -0.009154519066214561, -0.0027522749733179808, 0.01585695706307888, -0.0022033597342669964, 0.0016384533373638988, 0.03674367442727089, -0.012771271169185638, 0.005165518261492252, 0.033247895538806915, -0.014237826690077782, -0.04625270515680313, -0.003990347497165203, -0.0019182692049071193, -0.008434126153588295, -0.017693988978862762, 0.02044650726020336, -0.0012787067098543048, -0.03920233994722366, -0.010088971816003323, -0.02085525542497635, 0.04930034279823303, 0.0022474171128124, -0.045428067445755005, -0.03921577334403992 ]
tdd-testing-delegation
https://markhneedham.com/blog/2009/11/27/tdd-testing-delegation
false
2009-11-11 20:30:08
Coding: Pushing the logic back
[ "coding" ]
[ "Coding" ]
I was reading http://www.ur-ban.com/blog/2009/10/25/law-of-demeter-and-the-delegate-method/[a post on the law of demeter by Richard Hart] recently and it reminded me that a lot of the refactorings that we typically do on code bases are about pushing the logic back into objects instead of exposing data and performing calculations elsewhere. An example that I spotted where we did this recently was while building a 'BusinessSummary' object whose state was based on the state of a collection of other objects. The code was keeping a count of the various states of the business objects: [source,java] ---- public BusinessSummary buildSummaryObject() { BusinessSummary businessSummary = new BusinessSummary(); for(BusinessObject businessObject : businessObjects) { State state = businessObject.getState(); if(State.STATE_1.equals(state)) { businessSummary.incrementState1(); } else if(State.STATE_2.equals(state)) { businessSummary.incrementState2(); } else { // and so on } } return businessSummary; } ---- In this example 'State' is an enum representing the state the 'BusinessObject' is currently in. Our first change to the code was to push the logic around state back into the 'BusinessObject' which results in the following code: [source,java] ---- public BusinessSummary buildSummaryObject() { BusinessSummary businessSummary = new BusinessSummary(); for(BusinessObject businessObject : businessObjects) { if(businessObject.hasState1()) { businessSummary.incrementState1(); } else if(businessObject.hasState2()) { businessSummary.incrementState2(); } else { // and so on } } return businessSummary; } ---- [source,java] ---- public class BusinessObject { ... public boolean hasState1() { return State.STATE_1.equals(state); } ... } ---- I think this is an improvement but it still isn't following the http://www.pragprog.com/articles/tell-dont-ask[tell don't ask] principle, we're just asking to be told about the data instead of asking for the data itself. We didn't have the time to do the next change where we would have got rid of the 'hasState' methods and just got the 'BusinessObject' to update the 'BusinessSummary' itself: [source,java] ---- public BusinessSummary buildSummaryObject() { BusinessSummary businessSummary = new BusinessSummary(); for(BusinessObject businessObject : businessObjects) { businessObject.writeTo(businessSummary); } return businessSummary; } ---- [source,java] ---- public class BusinessObject { private final State state; ... public void writeTo(BusinessSummary businessSummary) { if(State.STATE_1.equals(state)) { businessSummary.incrementState1(); } else if(State.STATE_2.equals(state)) { businessSummary.incrementState2(); } else { // and so on } } ... } ---- Looking back on this code having written this post I wonder whether we need to do the loop or whether it would be better to pass the collection of 'businessObjects' to the 'BusinessSummary' and let it take care of that logic instead. If we did that then we would need to expose 'hasState1' and 'hasState2' methods on 'BusinessObject' like on the first refactoring so that we could work out how to populate 'BusinessSummary'. I prefer the solution where 'BusinessObject' writes to the 'BusinessSummary' although it seems like 'BusinessObject' now has more than one reason to change - if it changes or if 'BusinessSummary' changes. This would violate the http://blogs.agilefaqs.com/2009/10/19/single-responsibility-principle-demystified/[single responsibility principle] I discussed this with http://intwoplacesatonce.com/[Dave] and he pointed out that as long as the contract that 'BusinessSummary' and 'BusinessObject' have - i.e. the 'incrementState1' and 'incrementState2' methods - stays the same then it wouldn't really be a problem.
null
null
[ -0.013853839598596096, -0.020751256495714188, -0.05252744257450104, 0.0183794554322958, 0.06407558917999268, 0.008271275088191032, 0.041549455374479294, 0.006835027132183313, -0.025051595643162727, -0.02952694706618786, -0.006267398130148649, -0.015155636705458164, -0.09445757418870926, 0.02307351492345333, -0.027365855872631073, 0.06028016656637192, 0.08581294864416122, -0.028186462819576263, 0.03376238793134689, -0.00799519568681717, 0.000642865605186671, 0.09465119987726212, -0.01695322059094906, 0.043109290301799774, 0.009757110849022865, 0.026675114408135414, 0.01313113234937191, 0.010737217962741852, -0.061283160001039505, -0.03097507543861866, 0.021377094089984894, 0.008567188866436481, 0.002403266029432416, 0.02514607645571232, 0.0018690737197175622, -0.027401624247431755, -0.002596732694655657, 0.014592692255973816, -0.010512047447264194, 0.01793794520199299, -0.07937347888946533, 0.017606157809495926, -0.010056382045149803, -0.014601197093725204, -0.059942834079265594, -0.007827354595065117, -0.02415112778544426, 0.01766302064061165, -0.05807547643780708, -0.009066480211913586, -0.06930778920650482, 0.00582225201651454, -0.06171095371246338, 0.015483520925045013, -0.011194544844329357, 0.09337637573480606, -0.0018630233826115727, -0.06905624270439148, 0.0056458632461726665, -0.04478712007403374, 0.021239351481199265, -0.02167840301990509, 0.007706302218139172, 0.01892184093594551, 0.019434962421655655, -0.027641046792268753, 0.006569354794919491, 0.04295425862073898, -0.03280113264918327, 0.000551569159142673, -0.05680646374821663, -0.008905215188860893, -0.019570518285036087, 0.002466193400323391, 0.010049250908195972, -0.021769491955637932, 0.0003538714081514627, 0.03936855494976044, -0.00980254728347063, 0.03680509328842163, -0.007605730555951595, -0.005170399323105812, 0.020866474136710167, 0.019443826749920845, 0.054055601358413696, -0.03007310815155506, -0.05407536029815674, -0.006361614912748337, -0.05415423959493637, 0.058773208409547806, -0.01853843592107296, -0.02388729155063629, 0.0252203531563282, 0.014769546687602997, -0.013141708448529243, -0.03490281105041504, 0.023579875007271767, 0.010480975732207298, 0.0165314432233572, 0.001237082644365728, -0.02774960920214653, -0.02988419122993946, 0.03440835326910019, 0.008777122013270855, -0.06675330549478531, -0.009409590624272823, -0.0051748245023190975, -0.016606098040938377, 0.011014002375304699, 0.009482039138674736, -0.031121427193284035, 0.02965768426656723, -0.044891130179166794, 0.016735108569264412, -0.05972536653280258, 0.05762370303273201, 0.009364624507725239, -0.007110024802386761, -0.026087496429681778, 0.02156674489378929, 0.0589410662651062, 0.029019895941019058, 0.01663684844970703, 0.08308057487010956, 0.021474871784448624, 0.01848929189145565, -0.026465656235814095, 0.06535287946462631, -0.04096277803182602, -0.060601167380809784, 0.009243586100637913, 0.03886020928621292, -0.03284170478582382, 0.009143894538283348, -0.014858776703476906, -0.004648732487112284, -0.016891928389668465, 0.01186771597713232, 0.037784263491630554, 0.026224715635180473, 0.0015187717508524656, -0.05639884993433952, 0.009150916710495949, -0.009764455258846283, -0.01003956887871027, 0.0007769304211251438, 0.015701157972216606, -0.000003225224872949184, 0.003194468794390559, 0.039725303649902344, -0.0022731018252670765, 0.06634712219238281, 0.06094733253121376, -0.025879714637994766, 0.01777447573840618, 0.09068027138710022, 0.008020934648811817, 0.015427888371050358, -0.005446015391498804, 0.03446541354060173, 0.01338421180844307, 0.02308274246752262, 0.017098993062973022, 0.011671973392367363, 0.007922232151031494, 0.003765367902815342, -0.003261817852035165, 0.061385467648506165, 0.012554746121168137, -0.00833833683282137, -0.07846076041460037, -0.0681946724653244, 0.043902963399887085, -0.04629073292016983, -0.009414605796337128, 0.016991741955280304, 0.07622411847114563, -0.0033296437468379736, 0.06616006046533585, -0.017564963549375534, -0.07297682017087936, 0.004400670062750578, -0.023830965161323547, 0.000959738390520215, 0.016705458983778954, 0.004021150525659323, 0.04725413769483566, -0.00818906631320715, -0.00889627356082201, 0.0060041542164981365, -0.06482099741697311, -0.06901923567056656, -0.007971961051225662, -0.010021031834185123, 0.049579277634620667, -0.0039492701180279255, -0.031043585389852524, 0.06154824048280716, 0.002021837281063199, 0.047535356134176254, 0.004805929958820343, 0.0028726172167807817, 0.028639232739806175, -0.011768718250095844, -0.022199660539627075, 0.032938867807388306, 0.03415427729487419, 0.002525744494050741, -0.03967833146452904, 0.018675653263926506, -0.02219989150762558, 0.0005100853159092367, 0.03497985005378723, -0.03137756139039993, 0.04025885462760925, 0.030227554962038994, 0.02018948830664158, -0.04224932938814163, 0.07402750849723816, -0.08315570652484894, 0.009246043860912323, 0.01452618557959795, -0.014276412315666676, 0.0036389471497386694, 0.002776393434032798, 0.10324220359325409, 0.032262787222862244, -0.044135116040706635, -0.06159626320004463, 0.0358506478369236, -0.017643475905060768, -0.043349284678697586, -0.00039690823177807033, -0.05927169695496559, 0.029319394379854202, 0.011143013834953308, -0.025182059034705162, -0.0076130167581140995, 0.03457878902554512, -0.03713562339544296, 0.01026817038655281, 0.07500453293323517, -0.021912584081292152, 0.037659890949726105, 0.004295095801353455, -0.00560911325737834, -0.0012840710114687681, -0.0277999434620142, -0.05280932039022446, 0.01570902019739151, -0.005041076336055994, -0.01867792382836342, 0.07135617733001709, -0.02903897501528263, -0.013357612304389477, -0.030512945726513863, -0.02701432630419731, 0.008128791116178036, 0.014266344718635082, 0.04429347440600395, 0.009187151677906513, 0.057226307690143585, 0.001175861107185483, -0.009209061972796917, -0.019360193982720375, -0.03512426093220711, -0.016208378598093987, 0.011877455748617649, 0.0037373711820691824, 0.0247225072234869, 0.009743372909724712, 0.007755449507385492, 0.03386378288269043, 0.0036522154696285725, -0.016695454716682434, -0.015924878418445587, 0.01871540956199169, -0.0060780043713748455, -0.019080979749560356, -0.02303018607199192, -0.0396355465054512, 0.024515660479664803, -0.03623392805457115, -0.04478349909186363, 0.026728207245469093, -0.0843517854809761, 0.07669975608587265, -0.06866493076086044, -0.03328907489776611, 0.015528187155723572, 0.06149890273809433, 0.03511977940797806, -0.010047722607851028, 0.04380650445818901, 0.08157536387443542, 0.017368804663419724, -0.0025937447790056467, -0.0030598300509154797, -0.0016191877657547593, 0.038199376314878464, -0.010070838034152985, -0.006303396075963974, 0.02165999822318554, -0.017411690205335617, -0.013573388569056988, -0.049116477370262146, 0.02436959743499756, 0.03754962608218193, -0.27206864953041077, 0.00219141342677176, -0.004800486844033003, -0.052280884236097336, 0.028103040531277657, 0.010849063284695148, -0.007039014715701342, -0.03918963670730591, -0.02139916457235813, 0.05960733816027641, 0.0006402338040061295, -0.08028464764356613, -0.015577642247080803, 0.07425910234451294, 0.02331131137907505, 0.04055481031537056, -0.006808881182223558, -0.016069555655121803, -0.014827531762421131, 0.054589949548244476, 0.0012970197713002563, -0.0834374651312828, -0.01866271160542965, 0.03574397787451744, 0.008282037451863289, 0.03480122983455658, -0.08840286731719971, 0.02441699244081974, -0.04007377102971077, 0.007938219234347343, -0.0018229041015729308, 0.011247009970247746, -0.012397200800478458, -0.037055958062410355, -0.020518917590379715, -0.015879333019256592, -0.0011098348768427968, 0.034319352358579636, -0.013715125620365143, 0.0388544537127018, -0.05639052763581276, -0.05451687425374985, -0.035153672099113464, 0.00749299768358469, 0.08396273106336594, -0.007171636912971735, -0.04879705607891083, -0.01597384549677372, -0.042265672236680984, 0.07585658133029938, -0.0127639751881361, -0.03521961718797684, 0.00309511530213058, 0.05084508657455444, -0.007829481735825539, -0.024322818964719772, 0.0011135905515402555, 0.007246417924761772, -0.029783394187688828, -0.0003836284449789673, 0.012232579290866852, -0.035855308175086975, -0.0030878297984600067, -0.024813655763864517, -0.0014588405610993505, -0.06471206247806549, -0.05313020199537277, 0.003441598266363144, 0.06504067033529282, 0.025823606178164482, -0.042905423790216446, 0.014653701335191727, -0.020335284993052483, -0.11072604358196259, 0.00859315786510706, -0.030158141627907753, -0.0017019566148519516, -0.054602500051259995, 0.0042457254603505135, 0.02742590755224228, -0.009547037072479725, -0.020381446927785873, 0.04247667267918587, 0.04060424491763115, 0.02554944157600403, -0.02075531706213951, -0.004092162474989891, 0.01590721681714058, -0.021407360211014748, -0.0211328137665987, 0.06927000731229782, -0.010395587421953678, -0.022721435874700546, -0.027318451553583145, 0.00024110209778882563, 0.06577318906784058, 0.016780126839876175, -0.03636464476585388, 0.0025946926325559616, 0.0423923023045063, 0.008035290986299515, -0.045101627707481384, 0.03344624489545822, -0.02814783714711666, -0.0030215613078325987, -0.028124747797846794, -0.061631739139556885, 0.02894096076488495, 0.020927593111991882, 0.005110896658152342, -0.003958333283662796, -0.00034979477641172707, -0.003409844357520342, -0.04824325814843178, -0.024226613342761993, -0.0269487164914608, 0.005850657820701599, 0.03616800904273987, -0.0123674888163805, -0.0075418283231556416, -0.05062597244977951, 0.017260495573282242, -0.0004363734333310276, 0.004195152781903744, -0.08158430457115173, -0.06438947468996048, -0.040850356221199036, 0.01295938529074192, 0.02015533670783043, 0.01780877821147442, -0.018898921087384224, 0.014897872693836689, 0.019555307924747467, -0.000494093750603497, 0.007886950857937336, -0.01665467955172062, -0.022782206535339355, -0.034847669303417206, -0.054985061287879944, -0.012155154719948769, 0.03126445412635803, -0.021673128008842468, 0.01726621203124523, 0.02797018364071846, 0.021124202758073807, -0.013434003107249737, 0.0494241788983345, 0.022213105112314224, -0.00367820356041193, 0.037709880620241165, 0.010195843875408173, -0.0684833899140358, 0.013158860616385937, -0.05044355243444443, -0.025569457560777664, -0.026343896985054016, 0.021270623430609703, -0.032091278582811356, -0.00870292354375124, -0.032921724021434784, 0.0025385888293385506, -0.02216709777712822, -0.04021501541137695, -0.024851901456713676, 0.019236523658037186, 0.0738828033208847, -0.02408967912197113, 0.030866509303450584, -0.012114313431084156, -0.012483599595725536, -0.013890916481614113, -0.02982345223426819, -0.04125797376036644, 0.009169714525341988, 0.0030846132431179285, 0.024786412715911865, 0.008096396923065186, 0.002200556453317404, 0.00047778376028873026, 0.025715647265315056, -0.017761847004294395, -0.024739617481827736, 0.005916626658290625, 0.00004376441575004719, 0.027473684400320053, 0.0016404998023062944, 0.021310467272996902, -0.014236603863537312, -0.02327078953385353, -0.023327188566327095, -0.03633059561252594, -0.025313442572951317, -0.00024061321164481342, 0.04335491359233856, -0.03908245638012886, -0.07666441053152084, 0.016002392396330833, 0.028728224337100983, -0.009708967991173267, -0.0063127330504357815, 0.019099652767181396, 0.011950417421758175, -0.025411592796444893, -0.008238986134529114, 0.0384775847196579, -0.06537193804979324, 0.029594359919428825, -0.012650953605771065, 0.030232755467295647, 0.03914033621549606, 0.0035191630013287067, -0.039915457367897034, -0.019039442762732506, -0.041360076516866684, -0.02279486134648323, -0.045187585055828094, -0.011411735787987709, -0.05467001721262932, 0.015994084998965263, -0.04097246378660202, 0.006463651079684496, -0.00471916887909174, -0.0027373009361326694, -0.021357938647270203, -0.01572079211473465, 0.017731888219714165, -0.022182617336511612, 0.041777655482292175, 0.032490238547325134, -0.029295822605490685, 0.004188218154013157, -0.0022096249740570784, 0.001739528845064342, 0.015215362422168255, -0.009257728233933449, -0.0272489245980978, -0.019656723365187645, 0.019881684333086014, -0.013928033411502838, 0.03683570399880409, 0.004732310771942139, -0.018603092059493065, -0.013325117528438568, -0.006667796988040209, -0.024164870381355286, 0.0012036182451993227, -0.016806339845061302, -0.023012181743979454, 0.01216411218047142, 0.06988982856273651, -0.0070275962352752686, 0.06800957024097443, -0.0020188724156469107, -0.0021338281221687794, 0.0792396068572998, -0.061751727014780045, -0.022198742255568504, -0.003761663567274809, -0.07272250950336456, 0.020910432562232018, 0.018401680514216423, 0.0328277051448822, -0.04987487941980362, 0.01830414868891239, 0.021343352273106575, 0.024899056181311607, 0.035656943917274475, -0.006300921551883221, 0.06253514438867569, -0.06498824805021286, 0.02123761549592018, -0.08268506079912186, 0.007161466404795647, 0.04808155447244644, 0.0407521091401577, -0.01616029068827629, -0.0420658141374588, -0.031606581062078476, 0.03663395717740059, -0.056684352457523346, -0.023149549961090088, 0.030712144449353218, 0.01084030233323574, 0.020395008847117424, 0.030358586460351944, -0.058219581842422485, 0.027048667892813683, 0.0038173594512045383, -0.024950919672846794, -0.027050312608480453, -0.04465535283088684, 0.03755683824419975, 0.03347747027873993, 0.020165881142020226, -0.019165901467204094, 0.015447380021214485, 0.05684491619467735, 0.030754519626498222, 0.0686882883310318, 0.04157672077417374, -0.003314616624265909, 0.046438008546829224, 0.021566025912761688, 0.016869358718395233, -0.0340152345597744, 0.028482049703598022, 0.009962308220565319, -0.05328670144081116, 0.03526461124420166, 0.024504687637090683, -0.036850765347480774, -0.03805587813258171, 0.07257407158613205, 0.006025290582329035, -0.021672597154974937, -0.022875607013702393, 0.013870065100491047, -0.05486104264855385, -0.01925709657371044, -0.020955843850970268, -0.024916337803006172, -0.04444538429379463, 0.06245160847902298, -0.012728708796203136, 0.013299614191055298, 0.06838232278823853, 0.004647394642233849, -0.011615530587732792, -0.019823037087917328, 0.09382358938455582, 0.08654606342315674, 0.044856831431388855, -0.0067069875076413155, 0.05839957296848297, -0.01927909627556801, -0.04395320639014244, 0.021835146471858025, -0.02124064601957798, 0.007178021594882011, -0.014623190276324749, 0.018879573792219162, 0.06765272468328476, 0.004351083654910326, 0.035277388989925385, -0.04551712051033974, -0.011870747432112694, 0.0022176136262714863, 0.02059582620859146, 0.022277817130088806, 0.05979178473353386, 0.016700580716133118, 0.017515527084469795, 0.003264280501753092, -0.055185332894325256, 0.03330279514193535, -0.025166762992739677, -0.02277541719377041, 0.03324870392680168, 0.013245465233922005, 0.008050988428294659, 0.01810457929968834, 0.01759400963783264, 0.07939349859952927, 0.01250783633440733, -0.009622282348573208, -0.009310471825301647, 0.012788218446075916, 0.041382722556591034, -0.04456132650375366, -0.014158006757497787, -0.03923369571566582, 0.007573056034743786, -0.01994551718235016, -0.022860867902636528, -0.011969267390668392, -0.02062125690281391, 0.041298121213912964, -0.0064612566493451595, 0.012315835803747177, 0.02515975385904312, 0.01992839388549328, -0.026843009516596794, -0.06718824803829193, -0.08170195668935776, -0.049990855157375336, -0.05358843132853508, 0.007432800717651844, 0.04523395001888275, -0.008670982904732227, -0.03112863563001156, -0.01792331412434578, -0.009827664121985435, -0.020515117794275284, 0.06108354777097702, -0.015720224007964134, -0.005426239222288132, 0.031987421214580536, 0.021129606291651726, 0.03731560334563255, 0.032610926777124405, 0.07975690811872482, -0.025358904153108597, -0.000027032212528865784, -0.026218287646770477, 0.011627893894910812, 0.054708607494831085, 0.012578499503433704, 0.015533652156591415, -0.07654872536659241, -0.005183946341276169, 0.014095635153353214, -0.00667065754532814, -0.0642099678516388, -0.001835831324569881, 0.0165580902248621, 0.012617392465472221, 0.05474342405796051, -0.02767299860715866, -0.0003974486899096519, -0.006698961835354567, -0.005527874920517206, 0.009523200802505016, 0.02293476089835167, 0.05348708853125572, -0.021309202536940575, 0.07598938047885895, 0.03552236780524254, -0.014439504593610764, -0.019045479595661163, 0.003895670874044299, -0.014976432546973228, -0.01926582306623459, -0.051847703754901886, -0.011413288302719593, -0.038238149136304855, -0.06228351593017578, -0.02089797705411911, 0.027167752385139465, -0.02361275814473629, -0.023174099624156952, 0.0022123961243778467, 0.07663131505250931, -0.05554412677884102, 0.01263208407908678, -0.05120673403143883, 0.049881309270858765, -0.04525290057063103, -0.015337735414505005, 0.026562200859189034, -0.00011070478649344295, -0.0025010474491864443, 0.03796645998954773, 0.027909917756915092, -0.006306781433522701, 0.024673234671354294, -0.01769852079451084, 0.03872000798583031, 0.028692640364170074, 0.0073438985273242, -0.026134075596928596 ]
[ -0.09906744211912155, -0.036556344479322433, -0.030681466683745384, -0.06705380976200104, 0.03542671352624893, -0.02809258922934532, 0.044568147510290146, 0.01823822595179081, 0.027740856632590294, -0.012264649383723736, -0.0386786013841629, -0.022288892418146133, -0.025371268391609192, -0.014862521551549435, 0.04943239316344261, -0.04284185171127319, -0.021180713549256325, -0.03974839299917221, -0.02119140885770321, 0.02155160717666149, 0.0585695244371891, -0.012271537445485592, -0.054784540086984634, 0.00012133859854657203, 0.03958889842033386, 0.03276636451482773, 0.03587276116013527, -0.022369705140590668, -0.0037020351737737656, -0.2182021141052246, -0.0028141553048044443, -0.03543480858206749, 0.008091716095805168, -0.0039009684696793556, -0.004242485389113426, 0.03635513037443161, 0.024876125156879425, 0.04236921668052673, 0.00037969998084008694, 0.03956930339336395, 0.011847211979329586, 0.05043279379606247, -0.019189752638339996, -0.03660888597369194, -0.010679886676371098, 0.0102004986256361, 0.002796637127175927, 0.0032400258351117373, -0.04595150426030159, 0.014930193312466145, -0.04991263151168823, -0.003996804356575012, -0.013570527546107769, -0.0017020584782585502, 0.0034431538078933954, 0.01937740296125412, 0.07076466828584671, 0.09693633019924164, 0.02911178022623062, 0.020009253174066544, 0.021223481744527817, -0.029182670637965202, -0.1164238303899765, 0.056181587278842926, 0.030773920938372612, 0.04750538244843483, -0.009452381171286106, -0.04316336661577225, -0.011906743980944157, 0.07361223548650742, 0.04041740298271179, -0.017177436500787735, -0.007823586463928223, 0.04066220670938492, 0.0019241509726271033, -0.03534539043903351, 0.009847722016274929, 0.035170622169971466, 0.04740704223513603, -0.0035450535360723734, -0.06023120880126953, -0.02524271048605442, 0.025368118658661842, 0.013990983366966248, -0.0353231281042099, 0.029809333384037018, -0.017353372648358345, 0.01498258113861084, 0.07614468783140182, 0.030376587063074112, 0.029698366299271584, 0.009318437427282333, 0.05297144874930382, -0.0005199658335186541, -0.05482880771160126, 0.012879785150289536, -0.021869903430342674, 0.0078006829135119915, -0.003108528908342123, 0.38395950198173523, -0.04040301591157913, -0.03102085553109646, 0.0391843281686306, 0.02393116056919098, -0.024031734094023705, -0.012291282415390015, 0.014341170899569988, -0.058836936950683594, 0.0274698156863451, -0.0282041747123003, 0.0048324489034712315, 0.016186462715268135, 0.06875675171613693, -0.041696175932884216, -0.008489914238452911, 0.0024310199078172445, 0.031901322305202484, 0.01897221803665161, -0.04179845005273819, 0.023574674502015114, 0.0005727653624489903, 0.010737947188317776, -0.007846930995583534, 0.013676644302904606, -0.02448083832859993, -0.012282246723771095, 0.006181536708027124, 0.04846274480223656, 0.013589832000434399, 0.007742621004581451, 0.023126382380723953, -0.047068361192941666, -0.10890432447195053, -0.021870629861950874, 0.03973253071308136, 0.008288348093628883, 0.03242850303649902, -0.03347400203347206, 0.019842877984046936, 0.024624230340123177, -0.024153653532266617, 0.020699162036180496, 0.025823170319199562, -0.029783589765429497, -0.07331319898366928, 0.14026454091072083, -0.0010059061460196972, -0.033827394247055054, -0.0003405677853152156, -0.026999138295650482, -0.019485564902424812, 0.0581478513777256, -0.003864480182528496, -0.07190479338169098, 0.008770549669861794, 0.0467657595872879, 0.055069245398044586, 0.007570372428745031, -0.01547024492174387, -0.04698433727025986, -0.01290903426706791, 0.010119100101292133, -0.02998502366244793, 0.05465523153543472, 0.05960732698440552, -0.07294807583093643, -0.031380947679281235, 0.010558645240962505, 0.012728267349302769, -0.06304414570331573, -0.02322104014456272, 0.05307493358850479, -0.03760693222284317, -0.0009756262297742069, 0.08372167497873306, -0.010067300871014595, -0.013963586650788784, -0.02364080585539341, 0.020410830155014992, 0.0430329330265522, 0.016425078734755516, -0.006735003553330898, -0.08033695816993713, -0.007092623505741358, -0.013346858322620392, -0.07735621929168701, -0.08345505595207214, -0.0048344433307647705, -0.0403326041996479, 0.010055060498416424, -0.03956499695777893, 0.01796862855553627, -0.08928494155406952, 0.10134176164865494, -0.016449540853500366, -0.04244862124323845, -0.0023826234973967075, -0.017975687980651855, -0.008166157640516758, -0.012593043968081474, -0.024923792108893394, 0.07192227244377136, -0.029215775430202484, 0.02724943310022354, -0.026064986363053322, 0.03927924856543541, 0.05465091019868851, -0.06048040837049484, 0.06427893787622452, -0.0054109590128064156, -0.05773944407701492, -0.0026776527520269156, -0.03259079530835152, -0.007638360373675823, -0.0065428027883172035, -0.011296035721898079, 0.0032146668527275324, 0.023843055590987206, -0.0009480396402068436, -0.02048843540251255, -0.029508844017982483, -0.004838827531784773, 0.02956104651093483, -0.35262998938560486, -0.03702263906598091, -0.01582156866788864, -0.02506151981651783, 0.0029554814100265503, -0.038092948496341705, 0.01919136941432953, -0.028777075931429863, -0.054010119289159775, -0.010802246630191803, 0.04546248912811279, -0.03930523619055748, -0.016005586832761765, -0.042748693376779556, -0.019068213179707527, 0.014187894761562347, -0.05432095006108284, -0.021635187789797783, -0.06904648244380951, 0.022224491462111473, 0.012617052532732487, -0.016864163801074028, -0.026597021147608757, -0.06409428268671036, 0.006900900509208441, -0.05612334609031677, 0.09417062997817993, -0.06621331721544266, 0.09857039153575897, 0.005221317522227764, 0.05328606069087982, 0.012790980748832226, -0.016275910660624504, -0.09247133135795593, 0.01992698758840561, -0.03717094659805298, -0.06547661870718002, 0.031244860962033272, 0.012265393510460854, -0.010190854780375957, -0.024337634444236755, 0.012645441107451916, -0.04940154775977135, -0.050069622695446014, 0.02618410997092724, 0.006552432663738728, -0.0004053805023431778, -0.0802164077758789, 0.033029455691576004, 0.062111299484968185, -0.024293534457683563, -0.001287221210077405, 0.0142899164929986, 0.04332701489329338, 0.0018145327921956778, -0.044433288276195526, -0.041653700172901154, 0.007332517299801111, -0.0010596627835184336, 0.028185060247778893, 0.01788906753063202, 0.06368815898895264, 0.004320455715060234, -0.004341626074165106, 0.020841408520936966, 0.023465314880013466, 0.00836999248713255, -0.015996703878045082, 0.032505348324775696, -0.04141406714916229, -0.02011170983314514, 0.09537535905838013, -0.0024657556787133217, -0.08184953033924103, 0.020543724298477173, 0.07445370405912399, -0.010512497276067734, 0.020745355635881424, 0.0008789793937467039, 0.02146763540804386, -0.002555258572101593, 0.010805817320942879, 0.03811675310134888, -0.022451994940638542, -0.0017522088019177318, 0.039214491844177246, 0.024600382894277573, 0.005128829274326563, 0.029842916876077652, -0.010276655666530132, -0.024213222786784172, -0.026482008397579193, -0.011689762584865093, -0.018416738137602806, 0.049115415662527084, -0.026755671948194504, -0.28126421570777893, 0.012885214760899544, 0.04122551903128624, 0.04871244356036186, -0.00862432923167944, 0.03423779830336571, 0.047201886773109436, -0.024269895628094673, 0.010891389101743698, -0.016794929280877113, 0.020191026851534843, 0.014554513618350029, 0.03919227048754692, -0.014371657744050026, 0.0430389940738678, -0.007694547530263662, 0.049649909138679504, 0.004085740074515343, 0.0722830668091774, -0.005817438010126352, 0.024249788373708725, 0.000988528598099947, 0.19023890793323517, 0.03616764768958092, 0.06529156863689423, 0.02504083141684532, 0.032977599650621414, 0.01586797833442688, 0.07499240338802338, 0.04042728617787361, 0.03132397308945656, -0.016716334968805313, 0.09717793762683868, 0.019043123349547386, 0.019497325643897057, -0.09660299867391586, -0.009790956974029541, 0.04673074185848236, 0.024898333474993706, -0.015245014801621437, -0.022064318880438805, -0.03041287511587143, -0.04187643527984619, 0.030852019786834717, 0.10347398370504379, 0.0463268868625164, -0.007764143869280815, -0.05719224736094475, -0.008788944222033024, -0.0041535827331244946, -0.028430938720703125, -0.027362128719687462, -0.006008915603160858, -0.025845784693956375, 0.01792399026453495, 0.04300360754132271, -0.008288513869047165, -0.0226778294891119, -0.04964660853147507, 0.023376794531941414, 0.010366510599851608, -0.004999048076570034, 0.07142681628465652, 0.009133909828960896, 0.015219967812299728 ]
[ -0.04348096251487732, 0.0163141880184412, -0.010673659853637218, 0.013357779942452908, -0.024043796584010124, 0.03403813764452934, -0.013026898726820946, 0.02322540059685707, 0.012496288865804672, 0.022573471069335938, -0.02061457745730877, -0.028905944898724556, -0.0067075989209115505, -0.023171938955783844, 0.03320261090993881, -0.0275276992470026, 0.015104186721146107, 0.006708938162773848, 0.025328485295176506, -0.01235966570675373, 0.008880958892405033, 0.03249406814575195, -0.00407068245112896, -0.027567749843001366, 0.01840970106422901, 0.029997993260622025, 0.0009880017023533583, -0.0415320098400116, 0.013961883261799812, -0.14026257395744324, -0.017597531899809837, -0.02760155498981476, -0.009101694449782372, 0.026174189522862434, -0.01723204180598259, -0.024739138782024384, 0.027852360159158707, 0.01243814080953598, 0.009181574918329716, -0.023231886327266693, -0.013766797259449959, 0.008839876390993595, -0.011880888603627682, -0.006187655963003635, 0.004005227237939835, 0.007265901658684015, -0.01797308400273323, -0.013540620915591717, -0.003378648543730378, 0.006659472826868296, -0.04262079298496246, 0.003792564617469907, 0.016013121232390404, 0.01583116501569748, 0.052042149007320404, 0.00186967256013304, -0.006225503981113434, 0.021916689351201057, 0.0010883843060582876, -0.019574163481593132, 0.0012849402846768498, -0.0030577622819691896, -0.011378481984138489, -0.026987573131918907, 0.01301296055316925, -0.0052735330536961555, -0.0038305483758449554, 0.01042361743748188, -0.026263482868671417, -0.02249576337635517, -0.008263797499239445, 0.004069149494171143, 0.009365880861878395, -0.0007843587081879377, -0.02011059783399105, -0.008051482029259205, 0.009251002222299576, -0.008739684708416462, 0.040005117654800415, -0.03881841152906418, -0.03648282587528229, 0.008915990591049194, -0.026059122756123543, 0.011417785659432411, -0.011620782315731049, -0.03173018991947174, -0.0019369445508345962, 0.0012156683951616287, 0.05274594947695732, 0.023844458162784576, -0.0051318868063390255, 0.02531418204307556, 0.020691046491265297, 0.023220233619213104, -0.07999439537525177, 0.0046241395175457, -0.05011489987373352, -0.02459532395005226, 0.008103588595986366, 0.8589054942131042, 0.0029382002539932728, 0.06080172583460808, 0.03865170478820801, 0.015642831102013588, -0.0055051445960998535, -0.011021191254258156, -0.010785426013171673, -0.008151108399033546, 0.016398640349507332, 0.002388522494584322, 0.03530704975128174, 0.029146064072847366, 0.02142178826034069, -0.0005154300597496331, -0.002230704529210925, 0.007153001613914967, 0.039510637521743774, -0.010191786102950573, 0.007997272536158562, -0.013639918528497219, 0.04110431298613548, 0.00010502014629309997, 0.008547507226467133, -0.024383949115872383, -0.006057548802345991, -0.1806049793958664, -0.005475287791341543, -8.075968716411622e-33, 0.024555398151278496, -0.037554625421762466, 0.027545463293790817, 0.03631950914859772, 0.01409373339265585, 0.029427485540509224, 0.021120667457580566, 0.03409595787525177, 0.003629906103014946, -0.019873112440109253, -0.020520195364952087, 0.012483964674174786, -0.008699667640030384, -0.007997952401638031, 0.04571462795138359, -0.04799189046025276, 0.009979675523936749, 0.03287137672305107, 0.006431551184505224, 0.020438149571418762, 0.02532312087714672, 0.012419216334819794, -0.0006637112237513065, -0.005554187577217817, 0.0027086182963103056, 0.02062455751001835, 0.032485440373420715, 0.009165773168206215, -0.010646908544003963, -0.03642846271395683, 0.05883967876434326, -0.0011037458898499608, -0.02693946473300457, -0.014109613373875618, 0.0028806026093661785, -0.03898386284708977, -0.0181808490306139, -0.014232401736080647, -0.010185237973928452, -0.07669930160045624, -0.041883599013090134, 0.004834378603845835, -0.006196524482220411, 0.01912902668118477, -0.04074901342391968, -0.012585858814418316, 0.009900341741740704, 0.008563218638300896, 0.012517060153186321, 0.005442939233034849, 0.003886539489030838, 0.01670481637120247, 0.005095391068607569, -0.02731379307806492, -0.017006125301122665, 0.025856824591755867, -0.00802756380289793, 0.02685021050274372, 0.011526624672114849, 0.01172842737287283, -0.016256047412753105, -0.008737647905945778, -0.018586885184049606, 0.04413873329758644, -0.0411880724132061, 0.026172321289777756, -0.04716701805591583, 0.013088307343423367, 0.02876809425652027, -0.010952332057058811, -0.0308942012488842, 0.0014492759946733713, -0.012249977327883244, -0.000014619288776884787, -0.00921707134693861, -0.02974858507514, 0.007363020442426205, -0.005847007967531681, -0.022613458335399628, 0.002275695325806737, 0.007128930650651455, 0.0010038800537586212, 0.011224188841879368, -0.02209484949707985, 0.025618959218263626, 0.01953350380063057, -0.019833289086818695, 0.012945485301315784, 0.009007790125906467, 0.023770492523908615, 0.031325746327638626, 0.02465987205505371, 0.0031425277702510357, 0.0012560576433315873, -0.012848567217588425, 7.501372384050303e-33, -0.02075757086277008, -0.029744824394583702, -0.010942037217319012, -0.00941725354641676, -0.01191538106650114, -0.03547590598464012, 0.023354027420282364, 0.01632017083466053, -0.05298719182610512, -0.004388471599668264, -0.03676023706793785, 0.0035568487364798784, -0.014666431583464146, 0.030119383707642555, 0.05431947857141495, -0.034127525985240936, 0.04907132685184479, -0.031085455790162086, 0.01784420944750309, -0.007732287980616093, 0.02084689773619175, 0.014351136982440948, 0.012910578399896622, 0.004754733759909868, -0.014214293099939823, 0.0468684621155262, -0.04883125051856041, 0.018039926886558533, -0.0006816243403591216, -0.008198113180696964, 0.030915211886167526, -0.013309809379279613, 0.001301501295529306, -0.038906168192625046, -0.027072245255112648, -0.02580176666378975, -0.0013200752437114716, -0.031277842819690704, 0.021769553422927856, -0.019138362258672714, -0.004364145919680595, -0.046602942049503326, -0.0023389183916151524, 0.035222094506025314, 0.01496846228837967, -0.015225180424749851, -0.006212086416780949, -0.017596155405044556, 0.021460035815835, -0.011181159876286983, -0.0070151956751942635, -0.0019005868816748261, -0.01920916698873043, 0.03767260164022446, 0.0071175131015479565, -0.018056893721222878, -0.033263929188251495, -0.02332405559718609, 0.007192849647253752, 0.0016281460411846638, -0.012116004712879658, -0.011799831874668598, 0.02827450819313526, 0.03459084779024124, -0.010015949606895447, 0.004723778460174799, 0.020698292180895805, -0.028039470314979553, 0.02500065229833126, -0.009385598823428154, 0.0015703355893492699, -0.011404602788388729, -0.010680343955755234, 0.03275554999709129, 0.018713010475039482, -0.004406672436743975, -0.00045691916602663696, -0.002372034126892686, -0.009449509903788567, 0.0161146093159914, 0.01156169455498457, -0.038924939930438995, -0.002963929669931531, -0.022108526900410652, 0.006418078206479549, -0.023854272440075874, -0.01829085499048233, -0.02077743411064148, -0.01366260927170515, 0.011657715775072575, -0.07283810526132584, -0.018905967473983765, -0.009186316281557083, 0.010701640509068966, -0.016687491908669472, -1.342334243759069e-8, -0.02493700385093689, 0.02121582441031933, 0.01707608252763748, 0.030380472540855408, 0.02437501586973667, -0.014262045733630657, -0.034894105046987534, -0.026433872058987617, -0.012549946084618568, -0.027994630858302116, 0.015420233830809593, 0.005348126869648695, 0.012072885408997536, 0.03549141809344292, 0.026652535423636436, -0.055613912642002106, -0.010460324585437775, -0.0172889307141304, 0.014956926926970482, 0.04476987570524216, 0.034698814153671265, 0.02519351989030838, 0.010928696021437645, 0.009026245214045048, 0.019299032166600227, 0.007906741462647915, 0.006296186242252588, -0.04074511677026749, 0.02425769716501236, 0.021108368411660194, -0.0005859442171640694, -0.008789818733930588, 0.009480264037847519, 0.04143302142620087, -0.023508345708251, -0.0033989998046308756, -0.0007528529968112707, 0.03095310553908348, 0.016956647858023643, -0.010929526761174202, -0.002791800070554018, -0.0208630058914423, 0.0007371086976490915, 0.004734761547297239, 0.0017782289069145918, -0.005649835802614689, -0.043851468712091446, 0.01639399304986, 0.016398167237639427, -0.040431659668684006, -0.019687185063958168, -0.0010182620026171207, 0.009478632360696793, 0.010644379071891308, 0.008695400319993496, 0.015277908183634281, 0.023058243095874786, -0.028966272249817848, -0.009394059889018536, 0.031540919095277786, 0.05052388831973076, -0.012648007832467556, -0.0627884492278099, -0.0326017290353775 ]
coding-pushing-the-logic-back
https://markhneedham.com/blog/2009/11/11/coding-pushing-the-logic-back
false
2009-11-17 11:10:37
Clojure: A first look at recursive functions
[ "clojure" ]
[ "Clojure" ]
I'm working through Stuart Halloway's 'http://www.amazon.com/gp/product/1934356336?ie=UTF8&tag=marneesblo-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1934356336[Programming Clojure]' book and I just got to the section where it first mentions recursive functions. It's a simple function to countdown from a given number to zero and then return that sequence. This was one of the examples from the book: [source,lisp] ---- (defn countdown [result x] (if (zero? x) result (recur (conj result x) (dec x)))) ---- That function could then be called like this: [source,lisp] ---- (countdown [] 5) ---- I wanted to see what the function would look if we didn't have the empty vector as a parameter. From playing around with F# and Scala my first thought would be to write the function like this: [source,lisp] ---- (defn count-down [from] (defn inner-count [so-far x] (if (zero? x) so-far (inner-count (conj so-far x) (dec x)))) (inner-count [] from)) ---- As the book points out a bit further on, Clojure doesn't perform automatic tail call optimisation so we end up with a stack overflow exception if we run the function with a big enough input value. Clojure does optimise calls to 'recur' so it makes more sense to use that if we want to avoid that problem. This is an example which makes use of that: [source,lisp] ---- (defn count-down [from] (defn inner-count [so-far x] (if (zero? x) so-far (recur (conj so-far x) (dec x)))) (inner-count [] from)) ---- http://groups.google.com/group/clojure/browse_thread/thread/4e7a4bfb0d71a508?pli=1[Looking through the Clojure mailing list at a similar problem] I noticed that one of the suggestions was to arity overload the function to include an accumulator. [source,lisp] ---- (defn count-down ([from] (count-down [] from)) ([so-far from] (if (zero? from) so-far (recur (conj so-far from) (dec from))))) ---- Written this way it feels a little bit like Haskell or Erlang but probably not idiomatic Clojure. Anyway on the next page Halloway shows a better way to do this with much less code! [source,lisp] ---- (into [] (take 5 (iterate dec 5))) ---- I noticed that in Scala the idea of using 'take' and 'drop' on streams of values seems to be quite popular so I'm intrigued as to whether I'll find the same thing with Clojure.
null
null
[ -0.03717717528343201, -0.01911870390176773, -0.024240046739578247, -0.03487463667988777, 0.051326632499694824, -0.0043290588073432446, 0.02150583267211914, 0.020296776667237282, 0.012205880135297775, -0.010657220147550106, -0.0035188207402825356, -0.007340677548199892, -0.05311733856797218, 0.02606881782412529, 0.023288382217288017, 0.03423329070210457, 0.10214418917894363, -0.053061343729496, 0.03955031558871269, -0.010905871167778969, 0.013856468722224236, 0.051834698766469955, -0.008374341763556004, 0.015505572780966759, 0.03379763290286064, -0.022038638591766357, -0.006897273473441601, 0.03013356402516365, -0.05478191748261452, -0.003487081965431571, 0.03091687709093094, 0.015628241002559662, 0.002386152045801282, -0.0368034765124321, 0.010619998909533024, -0.007091649807989597, 0.00904157292097807, -0.005936009343713522, -0.0205096323043108, 0.04577108100056648, -0.04564481973648071, -0.03676828369498253, -0.0492650642991066, -0.007922600954771042, -0.042063042521476746, 0.061196401715278625, -0.057795267552137375, -0.0026493826881051064, 0.017564769834280014, 0.03401406854391098, -0.06362619251012802, 0.044402774423360825, 0.032198239117860794, -0.023412220180034637, 0.0009462956222705543, 0.02384076453745365, 0.014142978936433792, -0.08600808680057526, 0.039898015558719635, -0.04018581286072731, 0.007712663151323795, 0.022018589079380035, 0.025955772027373314, 0.05638022720813751, -0.018117139115929604, -0.03353936970233917, -0.021840045228600502, 0.04641878604888916, -0.061624329537153244, -0.01666882634162903, -0.04120425879955292, 0.02354895882308483, -0.030373571440577507, -0.006008546333760023, -0.011045138351619244, -0.02824833244085312, 0.001135773491114378, 0.03327621519565582, 0.031363315880298615, 0.05652179196476936, -0.012992569245398045, 0.03753434494137764, 0.04418095573782921, 0.026469238102436066, -0.005442882422357798, 0.015878796577453613, -0.0343700610101223, -0.02193337306380272, -0.038291867822408676, 0.03716267645359039, -0.010534624569118023, -0.0634707361459732, -0.026571718975901604, 0.013349305838346481, 0.0067268903367221355, 0.02473159320652485, 0.009234127588570118, 0.009526082314550877, -0.026392105966806412, -0.0002957797551061958, -0.018543938174843788, -0.05667657405138016, 0.020978068932890892, -0.011828608810901642, -0.05854194238781929, -0.005241231061518192, 0.0018852849025279284, -0.005739352200180292, 0.02347550168633461, -0.01156963687390089, -0.06701543927192688, 0.023607401177287102, -0.014668427407741547, 0.02779277041554451, -0.06602629274129868, 0.05459420010447502, -0.041018132120370865, -0.02044162154197693, -0.03098926693201065, 0.0014702723128721118, 0.030826294794678688, 0.01938737742602825, 0.018241535872220993, 0.06571406126022339, 0.013527155853807926, 0.019580131396651268, 0.0321660041809082, 0.056003861129283905, 0.02457018941640854, -0.04957224056124687, -0.018378017470240593, 0.06604261696338654, -0.019784728065133095, -0.024861076846718788, -0.02886154130101204, -0.015500050969421864, -0.04625528305768967, 0.004431442357599735, 0.04846317693591118, 0.04651819169521332, 0.04466428607702255, 0.009559090249240398, 0.018481099978089333, -0.045453742146492004, 0.06387843191623688, 0.02457321807742119, -0.007804008666425943, -0.009287356398999691, -0.04273035377264023, 0.0039451709017157555, 0.026059674099087715, 0.06621053814888, 0.044668350368738174, -0.041217852383852005, 0.03750796243548393, 0.06798817962408066, 0.042873233556747437, 0.06414661556482315, -0.017621418461203575, 0.005799038801342249, 0.03505626320838928, 0.016772327944636345, -0.01810270920395851, 0.05100816860795021, 0.011605360545217991, 0.009455216117203236, 0.024711590260267258, 0.06046875938773155, -0.0017624612664803863, -0.026976216584444046, -0.02790036052465439, -0.022623538970947266, 0.05053380876779556, -0.012182652950286865, -0.007231983821839094, 0.0002657081058714539, 0.07079519331455231, 0.007912330329418182, 0.06676416844129562, 0.0009182897047139704, -0.07520466297864914, 0.038177959620952606, 0.04133768752217293, 0.026492487639188766, -0.01554308831691742, -0.010362481698393822, 0.06491003930568695, 0.007734243292361498, 0.012812834233045578, 0.017401589080691338, -0.05565677583217621, -0.0630226656794548, -0.004449103958904743, -0.03697895258665085, 0.04165647178888321, -0.04504067078232765, 0.014117550104856491, 0.031505219638347626, 0.012335462495684624, 0.046469926834106445, 0.03030608594417572, 0.008474623784422874, 0.0008203298784792423, -0.014954819343984127, -0.036177858710289, 0.044001996517181396, 0.01881735771894455, -0.014973876997828484, -0.04767775163054466, 0.03988584876060486, 0.014553057961165905, -0.004020795691758394, 0.029672520235180855, -0.010632449761033058, 0.030920658260583878, 0.05356253683567047, 0.033359695225954056, -0.02400156296789646, 0.027835406363010406, -0.02738262712955475, 0.026050804182887077, 0.030247895047068596, 0.0018997291335836053, -0.011109785176813602, 0.008013620972633362, 0.1213999092578888, 0.07297512888908386, -0.03871799260377884, -0.04426192492246628, 0.023504726588726044, -0.019923066720366478, -0.010289987549185753, -0.015496746636927128, 0.003888188162818551, 0.02227897197008133, 0.003869796870276332, 0.0160303246229887, 0.010376798920333385, 0.02080824412405491, -0.026648927479982376, -0.028918523341417313, 0.07809983193874359, -0.03386347368359566, 0.035021908581256866, 0.0002646105131134391, -0.024668140336871147, -0.0120538379997015, -0.03281494230031967, -0.05832771584391594, 0.0294936653226614, -0.008911099284887314, -0.0008550092461518943, 0.06300575286149979, -0.035704147070646286, -0.03594134375452995, -0.017704620957374573, -0.017776574939489365, 0.025968367233872414, 0.06796340644359589, 0.055096302181482315, -0.006853172555565834, 0.03152422234416008, -0.010770740918815136, -0.013777216896414757, -0.03975103050470352, -0.06615569442510605, -0.038205377757549286, -0.009823878295719624, 0.015345114283263683, 0.016163233667612076, 0.026872187852859497, 0.014534021727740765, -0.002781273564323783, -0.01865140162408352, -0.023464370518922806, -0.02166164666414261, 0.021031735464930534, -0.012529696337878704, -0.044319380074739456, -0.015041465871036053, -0.04590275511145592, 0.0613606795668602, -0.03643080219626427, -0.060010477900505066, -0.017752844840288162, -0.027046281844377518, 0.047313012182712555, -0.07181059569120407, -0.006380877923220396, -0.0016731066862121224, 0.0030386922881007195, 0.020623503252863884, -0.022402005270123482, 0.03410010039806366, 0.03260887414216995, 0.013300152495503426, 0.028935549780726433, 0.004870603792369366, 0.01558618526905775, 0.010526949539780617, -0.023679347708821297, -0.002316038589924574, 0.04006170108914375, 0.026931682601571083, -0.017285935580730438, -0.02387969009578228, 0.009703177958726883, 0.008564437739551067, -0.26746460795402527, 0.020900310948491096, -0.028001733124256134, -0.013982543721795082, 0.020953550934791565, -0.019845932722091675, -0.005062242038547993, -0.04841731861233711, -0.010227362625300884, 0.014572231099009514, -0.021395433694124222, -0.021530644968152046, -0.012341564521193504, 0.06975780427455902, 0.023082751780748367, 0.0006053569377399981, -0.002457232680171728, -0.009681976400315762, -0.025406567379832268, 0.06722074747085571, 0.018397076055407524, -0.05810046195983887, -0.006107481662184, 0.02147034741938114, -0.0033121625892817974, 0.026857750490307808, -0.07804793864488602, 0.019228214398026466, -0.030700579285621643, -0.020837929099798203, -0.011378851719200611, -0.029307913035154343, 0.017865696921944618, -0.028584711253643036, -0.021702056750655174, -0.014974163845181465, 0.008802512660622597, -0.017129601910710335, 0.025239115580916405, 0.06576600670814514, -0.03951357677578926, -0.04975893348455429, -0.0020505841821432114, -0.00011930063192266971, 0.03460749611258507, 0.014640341512858868, -0.063970647752285, -0.007094255182892084, -0.020581727847456932, 0.07077877223491669, -0.03433744236826897, -0.04572025313973427, -0.040774449706077576, 0.07642442733049393, 0.02610357291996479, -0.0254956241697073, -0.04489416256546974, -0.03836241737008095, -0.0415947251021862, -0.03240625932812691, -0.017583156004548073, -0.03267175331711769, -0.016771061345934868, -0.05316043272614479, -0.04914979264140129, -0.0371745340526104, -0.06704375147819519, 0.011770675890147686, 0.03589235618710518, -0.007728469092398882, -0.01572345197200775, -0.02206381782889366, -0.06299886852502823, -0.11114159971475601, -0.06120506301522255, -0.015237604267895222, -0.04045833274722099, 0.0008001375244930387, 0.026074564084410667, 0.049691930413246155, -0.06861573457717896, -0.04837587848305702, 0.005050256848335266, 0.04038633406162262, 0.0605073943734169, -0.024356797337532043, -0.020976299419999123, -0.024950265884399414, -0.029222823679447174, -0.05114666745066643, 0.0460788868367672, -0.008266881108283997, -0.0238253865391016, -0.024125412106513977, 0.026230959221720695, 0.030729295685887337, 0.012174900621175766, -0.0024288336280733347, 0.024994388222694397, -0.00017509169992990792, 0.04399090260267258, -0.027202822268009186, 0.007472747005522251, -0.02474156953394413, -0.018807297572493553, -0.010838229209184647, -0.04585575312376022, 0.04095831140875816, 0.024403003975749016, -0.01164484303444624, -0.0581745021045208, -0.02269987389445305, 0.00968346931040287, -0.06682106852531433, -0.05574340000748634, -0.011489647440612316, 0.00006320778629742563, 0.0255990382283926, 0.02702495828270912, 0.0039898003451526165, -0.0894394963979721, 0.014662754721939564, -0.0059120869264006615, -0.03828253224492073, -0.042239222675561905, -0.022868838161230087, -0.024682624265551567, -0.03675930202007294, 0.041301291435956955, 0.032027170062065125, -0.015400459058582783, 0.04295123368501663, -0.003368538338690996, -0.019991187378764153, 0.024275697767734528, -0.05165965482592583, -0.02002626098692417, -0.020614564418792725, -0.010448022745549679, 0.007233295124024153, 0.027752690017223358, -0.02085566706955433, -0.004990963265299797, 0.04209509491920471, 0.007624281570315361, 0.030125482007861137, 0.03552088141441345, -0.004776996094733477, -0.009609627537429333, 0.02450358308851719, 0.03033522702753544, -0.011862133629620075, 0.05905083194375038, -0.06784538924694061, 0.01634376496076584, 0.020491164177656174, 0.028210580348968506, -0.0184894148260355, -0.07308635115623474, -0.03752375394105911, 0.04768732562661171, -0.01842302642762661, 0.00961402989923954, 0.009746778756380081, 0.0002395956835243851, 0.03320077061653137, -0.0049126362428069115, 0.049063540995121, 0.002041192026808858, -0.025768253952264786, -0.02323487214744091, -0.014385230839252472, -0.05063147097826004, 0.015912583097815514, 0.012098357081413269, 0.03422458842396736, -0.0004961789818480611, 0.03122018650174141, 0.010690479539334774, -0.004546445328742266, -0.018224576488137245, -0.008511058054864407, 0.011886056512594223, 0.046032294631004333, 0.04558585211634636, -0.007272308226674795, -0.009406663477420807, 0.02250032126903534, -0.031004328280687332, -0.023335276171565056, -0.036448292434215546, 0.009250607341527939, -0.025437546893954277, 0.011263218708336353, -0.016099395230412483, -0.04576917737722397, -0.020929943770170212, 0.07544857263565063, -0.007583689875900745, -0.00831659510731697, -0.006695889867842197, -0.04148736596107483, -0.016202444210648537, -0.033294398337602615, 0.07165835797786713, -0.02611546590924263, 0.027278944849967957, -0.019244356080889702, 0.0711783915758133, 0.03303707391023636, -0.0007486516260541975, -0.06564509868621826, -0.026602651923894882, -0.03632441908121109, -0.011143123731017113, 0.0010797374416142702, -0.0008480807300657034, 0.026126353070139885, 0.01962522231042385, -0.02188067138195038, -0.01163612212985754, -0.007362207397818565, -0.03584696725010872, -0.011783737689256668, -0.033552829176187515, -0.024775827303528786, 0.013924315571784973, 0.0008373912423849106, 0.03713632747530937, -0.012247475795447826, 0.018908467143774033, -0.03809993341565132, 0.05890477076172829, 0.01243619341403246, -0.007835518568754196, -0.0016993392491713166, -0.05244574323296547, 0.041599635034799576, -0.05384903401136398, 0.06175371631979942, -0.0013661913108080626, 0.025717435404658318, -0.025014758110046387, 0.02449951134622097, -0.040922291576862335, -0.0037266926374286413, -0.0012192768044769764, -0.045577310025691986, 0.00986927468329668, 0.06334683299064636, -0.038857199251651764, 0.06100377067923546, -0.023539194837212563, -0.001587983570061624, 0.03126959502696991, -0.017495444044470787, -0.03256961330771446, -0.031288955360651016, -0.03439095616340637, 0.02089211344718933, -0.01350930891931057, 0.01160360500216484, -0.04460417851805687, 0.05003810673952103, 0.058409448713064194, 0.0439831018447876, 0.037096213549375534, 0.001237711519934237, 0.05215027555823326, -0.03163154795765877, 0.014582425355911255, -0.11686979979276657, -0.010003061033785343, 0.04587433859705925, 0.020101960748434067, 0.012367197312414646, -0.01979207620024681, 0.003973608836531639, 0.020142408087849617, -0.07216493040323257, 0.0066651091910898685, 0.0390290804207325, -0.017943518236279488, 0.02846839651465416, 0.018659859895706177, -0.04311399534344673, 0.0056413812562823296, 0.06548260152339935, -0.01870993711054325, 0.00571172870695591, -0.04215613752603531, 0.008588708005845547, 0.026420284062623978, 0.019632721319794655, -0.0021100949961692095, -0.014506945386528969, 0.030693231150507927, 0.017192408442497253, 0.0268425140529871, 0.06917216628789902, 0.02528572268784046, 0.01043200958520174, 0.04088711738586426, 0.00210889452137053, -0.011015143245458603, 0.021993789821863174, -0.02034582756459713, -0.043417565524578094, 0.044027674943208694, 0.03569278493523598, -0.007883897051215172, -0.048875585198402405, 0.04408862441778183, 0.022328238934278488, -0.041225630789995193, -0.022185353562235832, 0.01443391665816307, -0.06542816013097763, -0.011506288312375546, -0.01027225237339735, -0.006214302498847246, -0.010974754579365253, 0.07201916724443436, -0.027221664786338806, 0.029302410781383514, 0.07123658061027527, 0.01052130851894617, -0.03155053034424782, 0.017410971224308014, 0.08364531397819519, 0.08267582207918167, 0.06939038634300232, -0.024199189618229866, 0.017083829268813133, -0.05401189997792244, -0.015950391069054604, -0.04169824719429016, -0.03874083235859871, 0.007414927706122398, -0.0205367598682642, 0.029852278530597687, 0.0597122386097908, -0.02424415946006775, 0.057866744697093964, -0.022250473499298096, 0.003089497797191143, -0.007195524405688047, 0.005924580618739128, 0.04101608693599701, 0.12145773321390152, 0.02173442393541336, 0.011838001199066639, -0.011002667248249054, -0.05918951705098152, 0.020118940621614456, -0.013005753047764301, -0.04068511351943016, 0.014890037477016449, 0.03709957376122475, -0.002958428580313921, 0.03842339292168617, 0.01732649654150009, 0.07622212171554565, -0.011480908840894699, -0.005745336879044771, -0.0056213210336863995, 0.019455552101135254, 0.017583362758159637, -0.019384238868951797, 0.01600358448922634, -0.012390835210680962, -0.009063368663191795, -0.02216288074851036, -0.006717952433973551, -0.0266992449760437, -0.055006273090839386, 0.01993068866431713, -0.02217280864715576, -0.007239767350256443, -0.004484470002353191, -0.011302122846245766, -0.00919012725353241, -0.04421057924628258, -0.03240954130887985, -0.0489935427904129, -0.09706055372953415, 0.005453957710415125, 0.0031053090933710337, -0.0506451390683651, -0.0349750816822052, -0.017288081347942352, 0.021577775478363037, 0.00003666155316750519, 0.030633388087153435, -0.034657690674066544, -0.010993455536663532, 0.03207575902342796, -0.010886963456869125, 0.0285959430038929, 0.008647759445011616, 0.04222732037305832, 0.013908102177083492, -0.0467691607773304, -0.02446191944181919, -0.01209667045623064, 0.040729161351919174, 0.04785074293613434, -0.007367201615124941, -0.0536089725792408, 0.008149576373398304, 0.05391712114214897, 0.021162712946534157, -0.08920744806528091, 0.0008222459000535309, -0.0027569811791181564, -0.015159573405981064, 0.045548126101493835, -0.011911009438335896, -0.0149595458060503, -0.06355100125074387, -0.0016671150224283338, 0.04848969355225563, 0.0015323529951274395, 0.026713287457823753, -0.00951679889112711, 0.055633459240198135, 0.034255605190992355, -0.009160802699625492, -0.004687377251684666, -0.011843638494610786, -0.052785828709602356, 0.011460182256996632, -0.008966266177594662, -0.006483756937086582, -0.07162930816411972, -0.02725260704755783, 0.0060524302534759045, -0.004574480466544628, -0.06510259211063385, -0.020390238612890244, 0.011382286436855793, 0.04503967612981796, 0.008617359213531017, 0.04471967741847038, -0.060388125479221344, 0.019089382141828537, -0.018748929724097252, -0.048777274787425995, 0.021876882761716843, -0.015342229045927525, 0.030863236635923386, 0.02529166452586651, 0.02402348816394806, -0.01712646149098873, -0.006218280177563429, -0.016471248120069504, 0.0210365429520607, 0.002693425863981247, -0.03704182431101799, -0.004567325580865145 ]
[ -0.09232868254184723, -0.03557078540325165, -0.043967679142951965, -0.01911209151148796, -0.03963519632816315, -0.02964755706489086, -0.004031071439385414, 0.06021668016910553, 0.030295176431536674, 0.0010082469088956714, 0.019006064161658287, -0.03095295839011669, 0.03155117854475975, 0.03927028924226761, 0.060869000852108, -0.015703052282333374, -0.03076716512441635, 0.00921116303652525, -0.053888507187366486, -0.03331458941102028, 0.04321104660630226, -0.07100926339626312, -0.035836152732372284, -0.05552259832620621, 0.07594098895788193, 0.004681740887463093, 0.07326827943325043, -0.04325946792960167, -0.005618904251605272, -0.22478176653385162, 0.010379420593380928, -0.012649528682231903, 0.03676171228289604, -0.010755539871752262, -0.011186997406184673, 0.040533602237701416, 0.02139582298696041, -0.009360424242913723, -0.048027683049440384, 0.04440733790397644, 0.03342948108911514, 0.05743333697319031, -0.016414690762758255, -0.029247408732771873, 0.03886447101831436, 0.0044246395118534565, 0.011241025291383266, -0.03375759348273277, -0.061305731534957886, 0.012797342613339424, -0.034722719341516495, 0.016466470435261726, 0.006867216434329748, -0.00830222200602293, 0.04043374955654144, 0.02605886198580265, 0.036483217030763626, 0.05379711464047432, 0.019860994070768356, 0.015159725211560726, -0.01971711963415146, -0.012185771018266678, -0.12753430008888245, 0.05727909877896309, 0.00907175149768591, 0.02159256301820278, -0.019353065639734268, -0.020977430045604706, -0.032038867473602295, 0.09497267752885818, 0.02162928320467472, -0.004837371874600649, -0.035179100930690765, 0.06508047133684158, -0.00351735414005816, -0.07386837154626846, -0.03495938703417778, 0.01232888177037239, 0.042190346866846085, -0.025499235838651657, -0.0004319670260883868, -0.025736289098858833, -0.013781907968223095, -0.00408419594168663, 0.03878369927406311, -0.005585270468145609, -0.019786443561315536, 0.03556475788354874, 0.06389762461185455, -0.007140494417399168, 0.02645518071949482, 0.027348091825842857, 0.035236772149801254, 0.010905878618359566, -0.07613746076822281, 0.023830261081457138, 0.005323114339262247, 0.004964108113199472, -0.03588182479143143, 0.3712453842163086, -0.016225295141339302, 0.010598059743642807, 0.015307036228477955, 0.04243120923638344, -0.015696654096245766, 0.0016816206043586135, -0.002925377106294036, -0.016450487077236176, -0.004455517046153545, -0.05574065446853638, -0.00115902628749609, -0.061844293028116226, 0.10521286725997925, -0.05161111056804657, -0.004429956898093224, 0.012671785429120064, 0.07402496784925461, 0.014103720895946026, 0.014412445947527885, 0.017769739031791687, 0.04022802785038948, -0.02004147693514824, 0.01895097829401493, -0.017092108726501465, 0.027061427012085915, 0.04646427929401398, 0.03723563253879547, 0.07370060682296753, 0.039696354418992996, 0.06257153302431107, 0.021685725077986717, -0.028099196031689644, -0.07131896913051605, -0.007092543877661228, 0.030704695731401443, -0.004583551548421383, -0.004091433249413967, -0.07734586298465729, 0.02036445215344429, -0.00996400136500597, -0.022998640313744545, 0.0006222093943506479, 0.025180697441101074, -0.015122945420444012, -0.03903196007013321, 0.10000792145729065, -0.005591555964201689, 0.0031722437124699354, -0.020966939628124237, -0.034702885895967484, -0.0007361950119957328, 0.01672993414103985, 0.025047507137060165, -0.09139462560415268, 0.013003739528357983, 0.023680856451392174, 0.05303521081805229, 0.013654477894306183, -0.07691237330436707, 0.018215496093034744, -0.06400389969348907, 0.0025470375549048185, -0.043620966374874115, 0.050047215074300766, -0.019143303856253624, -0.06268834322690964, -0.004796858876943588, 0.02012236975133419, -0.0096189109608531, -0.08642862737178802, -0.016221830621361732, -0.008059346117079258, -0.044163841754198074, -0.02903446927666664, 0.10094067454338074, -0.018611367791891098, -0.06752222031354904, -0.06418325006961823, 0.06412672996520996, 0.04975102096796036, -0.03334459662437439, -0.017338234931230545, -0.012948872521519661, 0.019979316741228104, -0.0009128471137955785, -0.05332363769412041, -0.02788519486784935, -0.0018888367339968681, -0.005453592631965876, 0.01610156148672104, -0.020418748259544373, -0.06511878967285156, -0.01144552230834961, 0.04633767157793045, -0.05872688069939613, -0.032607514411211014, -0.0013902686769142747, 0.015019096434116364, 0.007318919990211725, 0.009281802922487259, -0.009601905010640621, 0.052943892776966095, 0.015210126526653767, -0.0020453594624996185, -0.04050947353243828, 0.0006558727473020554, 0.022681785747408867, -0.07209362089633942, 0.054594069719314575, 0.052871223539114, -0.030034955590963364, -0.0018499360885471106, -0.028492601588368416, -0.006228039972484112, -0.04715941101312637, 0.0007455794839188457, -0.023446369916200638, -0.03333837166428566, 0.009537583217024803, 0.00016329844947904348, -0.031162042170763016, -0.062147460877895355, -0.03205692023038864, -0.35382336378097534, -0.04079897701740265, 0.027644388377666473, -0.016395991668105125, 0.06474970281124115, -0.10687419027090073, -0.017311405390501022, -0.025455685332417488, -0.042934782803058624, -0.0008675503195263445, 0.074782595038414, -0.012777130119502544, -0.06364331394433975, -0.07685571908950806, 0.022310225293040276, 0.017223535105586052, -0.01235408429056406, -0.061411261558532715, -0.04477059096097946, 0.0023395908065140247, 0.02682740055024624, -0.026890384033322334, 0.008037077262997627, -0.05653901770710945, -0.02857692912220955, -0.017496541142463684, 0.08948299288749695, -0.008796535432338715, 0.10497935116291046, -0.035113025456666946, 0.04980269446969032, -0.025795163586735725, -0.011788432486355305, -0.035303995013237, -0.017249351367354393, -0.026909224689006805, 0.008899169974029064, 0.0003797883109655231, 0.026968970894813538, 0.02317383885383606, -0.026770252734422684, 0.019579797983169556, -0.045799024403095245, -0.024885006248950958, -0.048929352313280106, 0.03388550505042076, -0.050201497972011566, -0.03284551948308945, 0.001497895224019885, 0.06202169135212898, 0.0348949059844017, 0.03188525512814522, 0.002018605126067996, 0.023820744827389717, 0.036080095916986465, 0.0008847518474794924, -0.06360296159982681, -0.0702655017375946, -0.029846888035535812, -0.006821996066719294, 0.021549338474869728, 0.05768841877579689, 0.04383062571287155, -0.061838481575250626, 0.001382652553729713, 0.009905644692480564, 0.03517274931073189, 0.007325910963118076, 0.015273054130375385, 0.009779111482203007, -0.0005437383078970015, 0.1068088635802269, 0.016321027651429176, 0.019981466233730316, 0.044707413762807846, 0.0279129259288311, -0.013716533780097961, -0.031647611409425735, 0.015755489468574524, -0.007210296578705311, 0.014394566416740417, -0.013235180638730526, 0.06200864166021347, -0.01919296383857727, -0.019315676763653755, 0.014935475774109364, -0.013956821523606777, 0.03273695334792137, 0.007432396523654461, 0.023037439212203026, -0.048666298389434814, 0.03309285640716553, 0.01920543611049652, -0.004344737622886896, 0.055831097066402435, 0.021585041657090187, -0.2741420269012451, 0.012110969051718712, -0.0009299395023845136, 0.03947465866804123, 0.030656758695840836, 0.022897860035300255, 0.032245468348264694, -0.03821805119514465, -0.024860596284270287, -0.007894319482147694, -0.03162263706326485, 0.0509968139231205, 0.028351280838251114, 0.015211635269224644, 0.04177213832736015, -0.019566096365451813, 0.043627504259347916, 0.015314021147787571, 0.0319925993680954, -0.002540148561820388, 0.03574097901582718, 0.006235132925212383, 0.18338164687156677, -0.03069806471467018, 0.029551278799772263, 0.03211906924843788, 0.010674952529370785, -0.003808351466432214, 0.04135522246360779, 0.0033612234983593225, 0.02182599902153015, 0.012618676759302616, 0.09910469502210617, 0.011986036784946918, 0.008994762785732746, -0.027580758556723595, -0.027659190818667412, 0.05796908214688301, 0.02479991689324379, -0.036313366144895554, -0.004113680683076382, 0.0034678590018302202, -0.004761173389852047, 0.06720796227455139, 0.10718314349651337, -0.008183280937373638, 0.008303658105432987, -0.05848994851112366, -0.013123419135808945, 0.06294506788253784, -0.033396296203136444, -0.010742160491645336, 0.009371786378324032, -0.002549700904637575, 0.02058790624141693, 0.04279245808720589, 0.00255865091457963, -0.04895222932100296, -0.0259635541588068, 0.019877979531884193, 0.043710093945264816, -0.030904870480298996, 0.12020011246204376, -0.017300579696893692, 0.00006079382364987396 ]
[ -0.007463403977453709, -0.0035087845753878355, 0.001579853007569909, -0.020728548988699913, -0.014215531758964062, -0.0007736471015959978, 0.0024029884953051805, 0.026128560304641724, 0.03566668555140495, -0.016877438873052597, -0.001998628256842494, 0.00915602222084999, 0.0361231192946434, -0.02522856369614601, -0.013347036205232143, -0.02306273765861988, -0.0277924295514822, 0.040854550898075104, 0.054684117436409, 0.010650375857949257, 0.004382997285574675, 0.0427345372736454, 0.016719220206141472, 0.014710870571434498, 0.0018764951964840293, 0.02721196785569191, -0.022158803418278694, -0.05092715099453926, 0.032197434455156326, -0.12401914596557617, -0.012479206547141075, 0.01021796278655529, 0.01609717309474945, -0.0019740858115255833, -0.03875299543142319, 0.03737789765000343, 0.005961023736745119, -0.005076530855149031, -0.005316718015819788, 0.0004617296508513391, -0.021790703758597374, -0.017709778621792793, -0.006520705763250589, 0.01944756880402565, 0.05836940184235573, 0.02737102285027504, -0.013553356751799583, -0.03617895394563675, -0.009630219079554081, 0.022568266838788986, 0.008678722195327282, 0.045008573681116104, -0.023409854620695114, 0.014685004949569702, 0.0194233488291502, -0.008614985272288322, -0.026011355221271515, -0.030288852751255035, 0.010616249404847622, -0.02648819424211979, -0.02179010957479477, 0.0038527671713382006, -0.05849853530526161, -0.025537220761179924, -0.024533580988645554, -0.020794106647372246, 0.023786446079611778, 0.02892383001744747, -0.01153933722525835, 0.0073819756507873535, 0.029876261949539185, 0.039567362517118454, -0.003075266256928444, -0.04759029299020767, -0.03593067452311516, 0.01975601352751255, 0.03602941334247589, -0.03308949992060661, -0.020964600145816803, -0.02440369874238968, 0.009267909452319145, -0.006171214859932661, 0.02820560149848461, -0.014670933596789837, -0.010726436041295528, -0.05302033573389053, 0.03591690957546234, 0.01464524120092392, 0.048842351883649826, 0.00622180150821805, -0.020179156213998795, 0.06640537828207016, 0.00021704296523239464, 0.0036973878741264343, -0.09463458508253098, 0.050709597766399384, -0.010464160703122616, 0.011381518095731735, 0.007534708362072706, 0.8325613737106323, 0.014039830304682255, 0.061062298715114594, 0.02245883271098137, 0.008478064090013504, -0.024890344589948654, 0.01475527510046959, -0.022945011034607887, 0.00033415379584766924, -0.012947013601660728, -0.03508437052369118, 0.021204454824328423, -0.01849191077053547, 0.07826774567365646, 0.02206035889685154, 0.028522232547402382, 0.011503385379910469, 0.02620680257678032, 0.01950979232788086, 0.035350143909454346, 0.020746638998389244, 0.028360409662127495, 0.033215563744306564, 0.008051073178648949, 0.027012355625629425, -0.0022914926521480083, -0.1444864422082901, -0.013740667141973972, -7.011075159690265e-33, -0.00855587050318718, -0.015497512184083462, 0.019177287817001343, -0.029924945905804634, 0.00046416567056439817, -0.007549927104264498, 0.016457023099064827, -0.019816342741250992, -0.03010270930826664, -0.011730034835636616, -0.0020564370788633823, -0.01297916192561388, -0.01362382248044014, -0.004915887489914894, 0.0475274994969368, -0.0073761590756475925, 0.024263780564069748, 0.036794163286685944, -0.0027210183907300234, -0.01074454840272665, 0.005117893218994141, -0.026020005345344543, -0.009101728908717632, -0.004112916998565197, 0.029742363840341568, 0.030409544706344604, 0.035667192190885544, -0.03504094108939171, -0.009249242022633553, -0.0581328384578228, -0.03856249526143074, 0.014993472956120968, -0.0013764894101768732, -0.020437704399228096, 0.040580105036497116, -0.051187675446271896, -0.002450212836265564, 0.011656192131340504, -0.0283601526170969, -0.03876250609755516, -0.027630431577563286, -0.009841356426477432, -0.03785451874136925, -0.0069679575972259045, -0.016543637961149216, -0.02044767700135708, 0.024911219254136086, 0.03069012053310871, -0.009873812086880207, 0.027344923466444016, 0.00901116244494915, 0.0012251392472535372, -0.04381506145000458, -0.03445190191268921, -0.0176913570612669, 0.011403732933104038, -0.03107188455760479, -0.013036862015724182, -0.025964902713894844, 0.03032577596604824, 0.017787156626582146, 0.027108531445264816, -0.010329780168831348, 0.007680789101868868, -0.013529347255825996, -0.020599061623215675, -0.026780759915709496, 0.001502540078945458, 0.02531883493065834, 0.030978357419371605, -0.029327956959605217, -0.0038697514683008194, -0.007618960924446583, -0.02709977887570858, 0.027566473931074142, -0.022364987060427666, -0.009548965841531754, -0.05957307666540146, -0.031130554154515266, 0.043067432940006256, 0.0469849668443203, -0.04366185888648033, -0.0027405538130551577, -0.001982328714802861, 0.0007501545478589833, -0.00040983533835969865, 0.01817723736166954, 0.015615619719028473, -0.0009737940272316337, -0.009203405119478703, 0.037584494799375534, -0.029815521091222763, 0.012713848613202572, -0.02332504466176033, -0.061184465885162354, 7.417027725642926e-33, -0.030631687492132187, -0.011698315851390362, -0.01004019659012556, 0.021984007209539413, 0.004679860081523657, 0.0007551286835223436, 0.03165939822793007, -0.009897724725306034, -0.013704538345336914, 0.036549199372529984, -0.030620908364653587, 0.031145459040999413, 0.006594360340386629, 0.01788650080561638, 0.04231538623571396, 0.0020849902648478746, 0.06001546233892441, 0.006183748599141836, -0.028493355959653854, 0.01179320365190506, 0.015194028615951538, 0.03687639161944389, -0.014062454923987389, -0.006454178597778082, 0.047161560505628586, 0.04834922403097153, -0.018019933253526688, 0.0386505089700222, 0.005072731990367174, 0.03637293726205826, 0.027253884822130203, -0.0374942310154438, 0.032798491418361664, 0.0011729990364983678, -0.005945760756731033, 0.005783730652183294, 0.014621349051594734, -0.038192301988601685, 0.008599855937063694, 0.0001431957061868161, 0.0200398750603199, 0.0004444941005203873, 0.013625849969685078, 0.014581069350242615, 0.0018686798866838217, 0.006816309876739979, -0.002554511185735464, 0.0011577922850847244, 0.022098613902926445, -0.011806361377239227, -0.002489164937287569, 0.020186444744467735, -0.022803541272878647, 0.03296884149312973, 0.0024997799191623926, -0.028195450082421303, -0.0674358531832695, -0.010566645301878452, -0.015459460206329823, -0.003920294344425201, -0.03385920450091362, -0.04205465316772461, -0.0006839433335699141, 0.0028600161895155907, 0.01801273785531521, -0.015060270205140114, -0.008256983943283558, -0.024580860510468483, -0.02699473686516285, -0.018997889012098312, -0.009134725667536259, -0.0040850271470844746, -0.007601010613143444, 0.051887549459934235, -0.01657489314675331, 0.0021577533334493637, -0.05351421982049942, -0.0023632498923689127, -0.007423022296279669, 0.008230321109294891, 0.005543018225580454, -0.024749454110860825, -0.0013132289750501513, 0.043871305882930756, -0.008934338577091694, -0.020481247454881668, 0.019389254972338676, 0.007292459718883038, 0.02316443622112274, -0.03348693251609802, 0.04042704030871391, -0.02364279329776764, 0.011453588493168354, 0.03747805580496788, 0.00630658445879817, -1.2678944116828461e-8, -0.010319110006093979, -0.010003427974879742, -0.01287075411528349, 0.004668071866035461, 0.04114076867699623, 0.026068519800901413, -0.0022333499509841204, -0.0194602832198143, -0.04335101321339607, -0.012640299275517464, 0.008422622457146645, -0.007890556938946247, 0.007926201447844505, 0.010999944061040878, 0.04423670470714569, -0.005831667687743902, 0.03473608195781708, 0.004031078424304724, 0.022549355402588844, -0.01313742995262146, 0.0017445062985643744, 0.03927234560251236, -0.021777983754873276, -0.006212403066456318, -0.037150610238313675, -0.04122285917401314, 0.0479016974568367, -0.0661647766828537, 0.03827012702822685, -0.04588498920202255, -0.001673525315709412, -0.013378724455833435, -0.015461405739188194, 0.023987600579857826, -0.018765456974506378, -0.017802763730287552, 0.014985864982008934, 0.04947715252637863, 0.02354452759027481, 0.003924695309251547, -0.030240017920732498, -0.0027520714793354273, -0.03191573545336723, -0.011267738416790962, -0.028581080958247185, -0.035735320299863815, -0.024851368740200996, -0.05156949907541275, 0.011716481298208237, -0.023715149611234665, 0.04682255536317825, 0.011388375423848629, 0.03560338169336319, 0.022221028804779053, 0.03820767626166344, 0.014302456751465797, 0.0025035818107426167, -0.06467708945274353, -0.050646133720874786, 0.03144519403576851, 0.009960800409317017, 0.023447813466191292, -0.026358481496572495, -0.019620748236775398 ]
clojure-a-first-look-at-recursive-functions
https://markhneedham.com/blog/2009/11/17/clojure-a-first-look-at-recursive-functions
false
2009-11-17 23:52:42
The 'should' word
[ "learning" ]
[ "Learning" ]
I've been reading http://www.amazon.com/gp/product/1430219483?ie=UTF8&tag=marneesblo-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1430219483[Coders at Work] recently and one of my favourite answers from the first chapter interview with Jamie Zawinski is the following: ____ I think one thing that's really important is not to be afraid of your ignorance. If you don't understand how something works, ask someone who does. A lot of people are skittish about that. And that doesn't help anybody. Not knowing something doesn't mean you're dumb - it just means you don't know it yet. ____ A variation of this which I've noticed myself doing is internally telling myself that I 'should' know how to do certain things much better than I can. This is most typically the case when I'm struggling with something on a new project that I'm working on and while it is indirectly useful for helping to identify areas that we can work I think the voice in itself is not that helpful to our learning. When this happens I've started writing down whatever it is that I think I should know better and then taking some time to read more in that area. Wherever possible I also try to speak to people who already have that skill and find out how they went about learning it. For example, as I mentioned in my post about http://www.markhneedham.com/blog/category/reading-code/[reading the Unity source code], reading code is something I want to get better at and when I've worked with http://intwoplacesatonce.com/[Dave Cameron] he's able to understand how things fit together much more quickly than I am. When we discussed this he pointed out that he'd spent a lot of time debugging through a lot of different code bases just for fun and working out how they fitted together by following the control flow. It's pretty much always the case that others have spent quite a bit of time working on these skills so it's certainly something to keep in mind next time I come across something I 'should' know!
null
null
[ 0.016222532838582993, 0.005182385910302401, -0.0016863984055817127, 0.03499184921383858, 0.07640202343463898, 0.03877894952893257, 0.03080519661307335, 0.04388701915740967, 0.021963104605674744, -0.034462831914424896, -0.0295206680893898, 0.01407218910753727, -0.06020465865731239, 0.0012534157140180469, -0.03947589173913002, 0.08088179677724838, 0.062134478241205215, -0.0017567076720297337, 0.02788742072880268, 0.017773393541574478, 0.026953360065817833, 0.07606842368841171, 0.017730146646499634, 0.028874853625893593, 0.022088434547185898, 0.00286814384162426, 0.003321585478261113, 0.0025822941679507494, -0.061353649944067, -0.00913102924823761, 0.034249987453222275, 0.01291907299309969, 0.029279367998242378, -0.0395512618124485, 0.018058650195598602, -0.04090113565325737, -0.03597370535135269, 0.03313779458403587, 0.013099323958158493, 0.013620909303426743, -0.06245565786957741, 0.03574022278189659, -0.0003248313150834292, 0.009379220195114613, -0.035128671675920486, -0.0022232551127672195, -0.048241980373859406, 0.011355975642800331, 0.00539495749399066, -0.010801131837069988, -0.045181434601545334, 0.03528434783220291, -0.002014020225033164, 0.0009339921525679529, -0.015620961785316467, 0.06299398839473724, 0.032723527401685715, -0.05565570294857025, 0.014070509001612663, -0.034423697739839554, -0.007882135920226574, -0.023887453600764275, 0.0022004819475114346, 0.038716454058885574, 0.04014229401946068, -0.029704738408327103, -0.0007632824708707631, 0.04319614917039871, -0.025071369484066963, 0.008060125634074211, -0.003973456099629402, 0.030102679505944252, -0.018807219341397285, -0.012447342276573181, -0.0014903552364557981, -0.05160199850797653, 0.020390769466757774, 0.07433392107486725, 0.026973426342010498, 0.04472925886511803, -0.024829993024468422, 0.023254074156284332, 0.010920531116425991, 0.029036376625299454, -0.01751876063644886, -0.03513609617948532, 0.01627851277589798, -0.027729367837309837, -0.06780266016721725, 0.04641049727797508, 0.009657787159085274, -0.06674519926309586, 0.02724132500588894, 0.03854188695549965, 0.00609240448102355, 0.013599586673080921, 0.02840215153992176, 0.024793243035674095, -0.012315437197685242, -0.01355984341353178, -0.015069626271724701, -0.011195223778486252, 0.009861379861831665, 0.00761110195890069, -0.07979241758584976, -0.007042792625725269, -0.012020610272884369, -0.026090554893016815, -0.0033801873214542866, 0.011421392671763897, -0.016453318297863007, 0.01665097288787365, -0.02395360730588436, -0.010938843712210655, -0.06796569377183914, 0.057741452008485794, 0.00006686064443783835, -0.02220749668776989, -0.00893237255513668, 0.011478828266263008, 0.04162463918328285, 0.03432869166135788, -0.0036525840405374765, 0.1023673266172409, 0.0004995260387659073, 0.01168042328208685, -0.01893807202577591, 0.05402373522520065, -0.007314701564610004, -0.06717975437641144, 0.007155763916671276, 0.0546712726354599, -0.046144999563694, -0.025571394711732864, 0.012895683757960796, -0.024250872433185577, -0.024067102000117302, 0.015994910150766373, 0.007143076974898577, 0.05169476941227913, -0.016943713650107384, -0.03798290342092514, 0.0256599523127079, 0.012469195760786533, 0.005553575698286295, 0.011341914534568787, -0.018932610750198364, -0.01920744590461254, -0.04755386337637901, -0.004117750097066164, 0.0058312504552304745, 0.01054461020976305, 0.00037160576903261244, -0.05453478544950485, 0.015944430604577065, 0.07992274314165115, 0.03108021803200245, 0.023915885016322136, -0.007630790583789349, 0.034143589437007904, 0.04276326298713684, 0.025415023788809776, 0.011032878421247005, 0.023600688204169273, -0.004320354666560888, -0.018242597579956055, -0.006743292324244976, 0.04208332300186157, 0.0004698842822108418, 0.0037939001340419054, -0.05809064209461212, -0.013349371962249279, 0.05954271927475929, -0.05029286816716194, -0.032490432262420654, 0.02758750692009926, 0.07620977610349655, 0.03444290906190872, 0.03773679584264755, -0.013770083896815777, -0.07711495459079742, 0.019317716360092163, 0.00848551094532013, 0.02390097640454769, 0.014359749853610992, -0.0360746830701828, 0.0527946837246418, 0.017583142966032028, -0.0068685212172567844, 0.04598107188940048, -0.07549851387739182, -0.08645589649677277, -0.020550502464175224, -0.018328970298171043, 0.06679990142583847, -0.02444169856607914, 0.016403062269091606, 0.07940620183944702, 0.014538140036165714, 0.043868597596883774, 0.01913684979081154, -0.0026461828965693712, 0.015339509584009647, -0.03834142908453941, -0.04216890037059784, 0.04836826026439667, 0.04910029470920563, -0.001966214505955577, -0.04686535522341728, 0.003298513824120164, -0.014507314190268517, -0.024419011548161507, 0.05616118013858795, -0.02521699294447899, 0.03751428425312042, 0.01261476892977953, 0.05049024149775505, -0.030206063762307167, 0.06385383754968643, -0.046152058988809586, -0.005543156061321497, 0.006357117556035519, -0.019443465396761894, 0.0003189409617334604, 0.0025432019028812647, 0.11438301205635071, 0.060271456837654114, -0.059331879019737244, -0.04408176988363266, 0.0026219456922262907, -0.007671501021832228, -0.05380820855498314, 0.000888913287781179, -0.029577462002635002, -0.0015449500642716885, -0.028378549963235855, -0.05944749712944031, -0.044826604425907135, 0.009596452116966248, -0.03309726342558861, 0.008254943415522575, 0.05791064351797104, -0.022672491148114204, 0.042897067964076996, -0.012110144831240177, 0.0035507080610841513, -0.017216505482792854, -0.012679955922067165, -0.02962116338312626, 0.018760446459054947, -0.004632681142538786, -0.00375268398784101, 0.04809527099132538, -0.017214056104421616, -0.01961076259613037, -0.02528292126953602, -0.03562598302960396, -0.01768767088651657, 0.04669417813420296, 0.06954322755336761, -0.0028804864268749952, 0.06181788444519043, -0.00926494412124157, 0.04512426257133484, 0.007090200670063496, -0.05466662347316742, -0.04148579388856888, -0.043407510966062546, 0.006972788833081722, 0.054640572518110275, 0.0015366734005510807, 0.042935699224472046, 0.0263277105987072, -0.0029753553681075573, -0.013524639420211315, -0.01557235699146986, 0.04430951923131943, 0.00786721520125866, -0.017213599756360054, -0.0409710668027401, -0.02465992048382759, 0.041341185569763184, -0.056772224605083466, -0.01276876125484705, 0.001138237421400845, -0.06681738048791885, 0.052007127553224564, -0.046990714967250824, -0.06397267431020737, -0.014426184818148613, -0.0023413635790348053, 0.0356048047542572, -0.011621826328337193, 0.03513604775071144, 0.06964254379272461, 0.007807903923094273, 0.016469256952404976, -0.017821207642555237, -0.001708415918983519, 0.028017524629831314, 0.008552282117307186, 0.008955096825957298, 0.04235183075070381, 0.007202755659818649, -0.018986133858561516, -0.046058643609285355, 0.05534275248646736, -0.03893205523490906, -0.2813839316368103, 0.031548891216516495, -0.003181424690410495, -0.04398157447576523, 0.026809530332684517, -0.032450634986162186, 0.008585315197706223, -0.05552315711975098, -0.0239925067871809, 0.028133438900113106, -0.03630814328789711, -0.037853967398405075, -0.022452156990766525, 0.04720272868871689, 0.01785714365541935, 0.010653058998286724, 0.013930002227425575, -0.040085237473249435, 0.005787091329693794, 0.06901118159294128, -0.031715262681245804, -0.06794725358486176, -0.008422987535595894, 0.03488200530409813, 0.03782528638839722, 0.04298098385334015, -0.10191339999437332, 0.033768557012081146, -0.05192355439066887, 0.0055973585695028305, -0.009386317804455757, 0.011522951535880566, 0.0033734736498445272, -0.014877247624099255, -0.010734647512435913, -0.022285019978880882, 0.044398143887519836, 0.005380905698984861, -0.014494734816253185, 0.016123758628964424, -0.025305910035967827, -0.022928303107619286, -0.008334007114171982, -0.0040793935768306255, 0.06269969791173935, -0.010437038727104664, -0.09314023703336716, -0.01691717840731144, -0.016538403928279877, 0.07582319527864456, -0.03844740614295006, -0.037158504128456116, -0.0028873689007014036, 0.03370535373687744, 0.0013966761762276292, -0.02672889456152916, 0.015164496377110481, -0.01939740590751171, -0.04425457864999771, -0.029759688302874565, -0.018572403118014336, -0.028245996683835983, -0.008783885277807713, -0.04447470232844353, 0.02529337629675865, -0.0736517533659935, -0.06773347407579422, -0.03444157540798187, 0.08090566098690033, 0.022869054228067398, -0.04181663691997528, 0.015244395472109318, -0.0004905122332274914, -0.10779477655887604, 0.0025420926976948977, 0.0056395321153104305, -0.018531033769249916, -0.0027440800331532955, 0.02475215680897236, 0.040211837738752365, -0.040199294686317444, -0.06750167906284332, 0.03472983464598656, 0.000036943351005902514, 0.020132014527916908, -0.011686391197144985, 0.050863116979599, 0.014142847619950771, -0.006051135249435902, 0.006286156363785267, 0.06305594742298126, 0.004203001037240028, -0.024932226166129112, -0.030836209654808044, 0.03163634613156319, -0.007654098328202963, 0.028138723224401474, -0.020803742110729218, 0.012095133773982525, 0.04124262183904648, 0.0020914096385240555, -0.07239890843629837, 0.033281732350587845, -0.020121170207858086, 0.008570072241127491, -0.012227377854287624, -0.0437668114900589, 0.01299464050680399, 0.05762078985571861, 0.017888430505990982, -0.005865017417818308, -0.028848420828580856, 0.003934223670512438, -0.03505910560488701, -0.02436169423162937, -0.028308717533946037, 0.029310956597328186, 0.03347884491086006, -0.030748266726732254, -0.008421522565186024, -0.06436595320701599, 0.0024037566035985947, -0.010085546411573887, 0.0018518933793529868, -0.04921901971101761, -0.017369309440255165, -0.017479971051216125, -0.029737988486886024, 0.02429591491818428, 0.01102371234446764, -0.01765693537890911, 0.041588637977838516, 0.01226576417684555, -0.04236012324690819, 0.0023392506409436464, -0.03367720916867256, -0.06654412299394608, -0.025014683604240417, -0.004597223363816738, -0.007875573821365833, -0.01641145721077919, 0.03637890890240669, 0.0011671740794554353, 0.009814298711717129, 0.0485522523522377, -0.006098938640207052, 0.02629288099706173, -0.026825863867998123, 0.004258349537849426, -0.0013346221530809999, 0.013256565667688847, -0.08298443257808685, 0.038152337074279785, -0.041835907846689224, -0.03521959111094475, -0.027475783601403236, 0.029562855139374733, -0.003255120711401105, -0.024535585194826126, -0.012876162305474281, 0.03475851193070412, -0.04485082998871803, -0.041024766862392426, -0.026449529454112053, 0.053422268480062485, 0.05527621507644653, -0.016426268965005875, 0.023626478388905525, -0.014115125872194767, -0.014553729444742203, 0.009600319899618626, 0.022296205163002014, -0.04222917929291725, -0.0004739933065138757, 0.019448813050985336, -0.0009880374418571591, -0.00465629855170846, -0.006247082259505987, 0.045414999127388, -0.005168692208826542, -0.0005994249368086457, -0.028044212609529495, -0.002010517753660679, 0.011473559774458408, 0.042847901582717896, 0.013949353247880936, 0.010306943207979202, -0.00620271498337388, -0.019100883975625038, -0.03809253126382828, -0.040241338312625885, -0.007689748425036669, -0.009624640457332134, 0.013309062458574772, -0.051168255507946014, -0.05604027584195137, 0.06508422642946243, 0.01833556778728962, 0.012453763745725155, 0.02278091572225094, -0.012752288021147251, 0.007654009852558374, -0.02235598675906658, 0.02746175229549408, 0.07895506918430328, -0.06162043288350105, 0.0037540176417678595, -0.012012302875518799, 0.013096895068883896, -0.0042291977442801, -0.002140780445188284, -0.044436682015657425, -0.020697930827736855, -0.029457852244377136, 0.0031368506606668234, -0.07202557474374771, -0.023467499762773514, -0.016718264669179916, 0.02078898996114731, -0.016491131857037544, -0.01975947432219982, -0.016563408076763153, -0.006855562794953585, -0.014465984888374805, -0.015453296713531017, 0.010011659935116768, -0.03154531493782997, 0.007025526370853186, 0.014250735752284527, -0.029779884964227676, 0.00803912989795208, -0.01010051742196083, 0.029891856014728546, 0.0336795300245285, -0.01752101629972458, -0.015243861824274063, -0.05936521291732788, -0.011168397031724453, 0.0003860115830320865, 0.04293547943234444, 0.008438725024461746, -0.013147648423910141, -0.04727597534656525, -0.002150187734514475, -0.030336691066622734, 0.0198468416929245, -0.03881358727812767, -0.016112351790070534, 0.009027417749166489, 0.05432663485407829, 0.03686967492103577, 0.03216656297445297, -0.016784321516752243, -0.023008866235613823, 0.03904757276177406, -0.062776580452919, -0.021251291036605835, -0.01495475322008133, -0.05663180723786354, -0.0021438843104988337, 0.021004626527428627, 0.014898319728672504, -0.03954237326979637, 0.05764719471335411, 0.025776151567697525, 0.03643704205751419, 0.03059895895421505, -0.003937041386961937, 0.02425110526382923, -0.05949679762125015, 0.002503239782527089, -0.07705037295818329, 0.01209317333996296, 0.04171733930706978, 0.004171109292656183, -0.018580526113510132, 0.009042773395776749, -0.02986474148929119, 0.057958703488111496, -0.08430556952953339, -0.02017052099108696, 0.05426190420985222, -0.008264560252428055, -0.01334431767463684, 0.005412377882748842, -0.06112181767821312, 0.01875528320670128, 0.04782355576753616, -0.03714026138186455, -0.026068860664963722, -0.02873900905251503, 0.056124310940504074, 0.0064717307686805725, 0.03884692117571831, -0.015693817287683487, -0.021651562303304672, 0.0753326416015625, 0.008054892532527447, 0.02391812391579151, 0.04627562686800957, -0.006538133602589369, 0.053725991398096085, 0.04275624081492424, 0.014990800991654396, -0.013254276476800442, 0.017581555992364883, 0.008760830387473106, -0.04952188581228256, 0.011211643926799297, 0.013063203543424606, -0.036327559500932693, -0.015712471678853035, 0.06150122359395027, 0.017755728214979172, -0.02764170989394188, -0.05554821342229843, 0.023172756657004356, -0.06471981108188629, -0.0052733756601810455, -0.0187035221606493, -0.01374757755547762, -0.04443977028131485, 0.04475269466638565, 0.006289901677519083, -0.011871939525008202, 0.06379283964633942, 0.006464607547968626, -0.01918567530810833, -0.00846165418624878, 0.0876588374376297, 0.08300895243883133, 0.059542443603277206, -0.0021210992708802223, 0.06542512029409409, -0.023283999413251877, -0.02653641812503338, 0.038891009986400604, -0.0006283472757786512, -0.0036829099990427494, -0.039871618151664734, 0.021479811519384384, 0.05720759928226471, 0.000028401444069459103, 0.07379001379013062, -0.04211905971169472, -0.01912609301507473, 0.017746049910783768, 0.03653830662369728, -0.015925021842122078, 0.07723816484212875, 0.01656709611415863, 0.007797931786626577, -0.009538154117763042, -0.05179392173886299, 0.022441094741225243, -0.04677831754088402, -0.00518492516130209, 0.019377397373318672, -0.0038773834239691496, 0.02992846630513668, -0.007564330939203501, 0.029858168214559555, 0.08263259381055832, -0.0433017835021019, 0.015367018058896065, -0.01757858134806156, 0.045746635645627975, -0.012063028290867805, 0.02385678142309189, -0.037641674280166626, -0.006915815640240908, 0.00397258996963501, -0.044891130179166794, -0.026834165677428246, -0.0209564957767725, -0.01459535863250494, 0.039882395416498184, -0.020028293132781982, 0.0056833140552043915, 0.02352798916399479, 0.016927586868405342, -0.01580335572361946, -0.07005492597818375, -0.0393398143351078, -0.036186520010232925, -0.04642989858984947, -0.026592591777443886, 0.027419744059443474, 0.003287616418674588, -0.0343409925699234, -0.009943033568561077, -0.03191808611154556, -0.038380663841962814, 0.028323059901595116, -0.06203408166766167, -0.019033342599868774, 0.019452905282378197, 0.02286500670015812, 0.027479706332087517, 0.030102824792265892, 0.033583302050828934, 0.010097579099237919, -0.015418725088238716, -0.00839119590818882, 0.0036274276208132505, 0.023208552971482277, 0.008979950100183487, 0.010365709662437439, -0.09228392690420151, 0.032531920820474625, 0.03544304147362709, 0.0077456580474972725, -0.06790930032730103, 0.02008747309446335, 0.007585547864437103, -0.026362871751189232, 0.05147038400173187, -0.018326295539736748, 0.03235676512122154, -0.02757224626839161, -0.003126742085441947, -0.0272380318492651, 0.018180666491389275, 0.04940216988325119, -0.023455951362848282, 0.08340158313512802, -0.00035975209902971983, -0.002073509618639946, -0.04611406475305557, -0.02055453509092331, -0.016456129029393196, 0.02607441321015358, -0.0184601042419672, -0.014350125566124916, -0.02060062438249588, -0.06826503574848175, -0.013503551483154297, 0.028702186420559883, -0.005791683215647936, -0.027596164494752884, 0.0331680029630661, 0.02041475474834442, -0.03980777785181999, 0.02336689457297325, -0.031119829043745995, 0.03710177168250084, -0.021882586181163788, -0.004844724200665951, 0.0198160819709301, 0.011720836162567139, -0.009237387217581272, -0.005519781727343798, 0.012390556745231152, -0.04960302263498306, -0.008562318980693817, 0.014253741130232811, 0.03443528339266777, 0.04976596310734749, 0.0028182656969875097, -0.0020670988596975803 ]
[ -0.10180112719535828, 0.0008792057051323354, -0.012409087270498276, -0.032758183777332306, 0.03284149989485741, -0.03852342814207077, -0.0003277818323113024, 0.02819526381790638, -0.006238202564418316, -0.029694318771362305, -0.017191484570503235, -0.008031395263969898, -0.005753250326961279, -0.005451940465718508, 0.07266724854707718, 0.008113041520118713, -0.0052160657942295074, -0.06603260338306427, -0.009913637302815914, 0.014431105926632881, 0.0006307736039161682, -0.031645551323890686, -0.026497498154640198, -0.007314363028854132, 0.019616171717643738, 0.011363878846168518, 0.03791163116693497, -0.03299935534596443, 0.010623355396091938, -0.17711986601352692, -0.0005613240646198392, 0.03773073852062225, 0.0594681091606617, -0.015176253393292427, 0.0029839063063263893, 0.06457781046628952, 0.012482115998864174, 0.029750201851129532, -0.0029177761171013117, 0.030919421464204788, 0.005933518521487713, 0.012199629098176956, -0.0536499097943306, -0.019431527704000473, 0.04316168278455734, 0.005734067410230637, 0.010668015107512474, -0.055727217346429825, 0.000039747283153701574, -0.0016457329038530588, -0.07641255110502243, -0.036103829741477966, -0.029841961339116096, -0.030829887837171555, -0.018621642142534256, 0.029654398560523987, 0.02199787087738514, 0.06958606839179993, 0.009203625842928886, 0.018514620140194893, 0.013535110279917717, -0.03809864819049835, -0.13290192186832428, 0.10441996157169342, 0.058473993092775345, 0.06349870562553406, -0.03986816480755806, -0.03478170558810234, -0.029470127075910568, 0.06622321903705597, 0.0013402203330770135, -0.027359167113900185, -0.02276603877544403, 0.042085058987140656, 0.019134582951664925, -0.007890737615525723, 0.00804197508841753, 0.016707738861441612, 0.03133585304021835, -0.05157303437590599, -0.006722862832248211, -0.006482540164142847, -0.009342447854578495, -0.028839627280831337, -0.03006463125348091, 0.03725637495517731, -0.0063548642210662365, 0.06757356971502304, 0.04820666089653969, 0.020378481596708298, 0.036454543471336365, -0.009813521057367325, 0.01953878439962864, 0.022336676716804504, -0.07216577231884003, -0.04573757201433182, -0.006858936510980129, 0.021349189803004265, -0.05338286980986595, 0.4381662607192993, -0.020665597170591354, -0.04062369465827942, 0.09546910971403122, 0.03315937519073486, -0.0026248206850141287, 0.003235981334000826, 0.045042913407087326, -0.046701136976480484, 0.022890716791152954, -0.03509751707315445, 0.005505835171788931, -0.0017178829293698072, 0.05511588975787163, -0.019723618403077126, 0.018914783373475075, 0.05052910000085831, 0.035142846405506134, 0.012146925553679466, -0.0023345700465142727, -0.009491432458162308, -0.01037200354039669, 0.004777809605002403, 0.0011625780025497079, 0.006191609427332878, -0.011558623984456062, -0.06521157920360565, 0.02971651777625084, 0.06357476115226746, 0.01688377559185028, 0.012625805102288723, 0.07264026254415512, -0.03801972419023514, -0.0483635738492012, 0.032529279589653015, 0.007043054327368736, 0.024594681337475777, 0.02961629629135132, 0.00259846611879766, 0.008307949639856815, 0.024101192131638527, 0.020274754613637924, -0.01715869829058647, 0.017057904973626137, -0.009820245206356049, -0.019554967060685158, 0.08969218283891678, 0.00988229550421238, -0.021665439009666443, -0.012817811220884323, -0.03444907069206238, 0.0074919648468494415, 0.024603689089417458, -0.003859735792502761, -0.05666942894458771, 0.022034266963601112, -0.009913882240653038, 0.12489129602909088, -0.02112431265413761, -0.053502410650253296, -0.015477882698178291, -0.007586323190480471, -0.023471346125006676, -0.04590902850031853, 0.011619089171290398, 0.07762658596038818, -0.07024592906236649, -0.015190807171165943, -0.0027536237612366676, 0.027899030596017838, -0.08197058737277985, -0.0024822356645017862, 0.019125772640109062, -0.03733612969517708, 0.0017837040359154344, 0.06621766835451126, -0.040990523993968964, -0.04299304634332657, 0.028778696432709694, 0.06449375301599503, 0.03805474936962128, 0.009375412948429585, 0.008093268610537052, -0.018840355798602104, 0.0011923559941351414, -0.03847922384738922, -0.07306589186191559, -0.026888228952884674, -0.02683962881565094, -0.026646045967936516, -0.004830373916774988, -0.0010288143530488014, -0.039435189217329025, -0.0932537093758583, 0.09985725581645966, -0.03026658110320568, -0.00940015260130167, 0.026077913120388985, -0.015645867213606834, -0.0434880368411541, -0.027103133499622345, -0.07346916198730469, 0.018829142674803734, -0.04045584425330162, 0.049358028918504715, -0.04596298560500145, 0.06132147088646889, 0.05663575232028961, -0.060552649199962616, 0.11348191648721695, 0.05361153557896614, -0.030211802572011948, -0.05434083566069603, 0.022281238809227943, 0.009828039444983006, 0.02085520140826702, -0.03810670226812363, 0.006472140550613403, 0.02806168980896473, -0.010642982088029385, -0.00030470939236693084, -0.03302003815770149, -0.00986462738364935, -0.050568439066410065, -0.33015498518943787, -0.02121729403734207, -0.029417891055345535, -0.0011269199894741178, 0.0017306911759078503, -0.05431301146745682, 0.028177320957183838, -0.0021910921204835176, -0.006093945819884539, -0.004975030664354563, 0.059923067688941956, -0.016930513083934784, 0.034323543310165405, -0.11246936768293381, -0.002638129284605384, 0.00903001707047224, -0.03242732211947441, -0.012074178084731102, -0.03690866380929947, 0.022042550146579742, -0.006269790232181549, -0.0037133859004825354, -0.016996579244732857, -0.0537375770509243, -0.03210986778140068, -0.04745056852698326, 0.09955956041812897, 0.016721457242965698, 0.10342688113451004, -0.014462970197200775, 0.0372602716088295, -0.00384399201720953, 0.038447700440883636, -0.11320707201957703, -0.001099894754588604, -0.015730932354927063, -0.008904160000383854, -0.03936881199479103, 0.02255329117178917, -0.04268202558159828, -0.04142819344997406, 0.010770270600914955, -0.06457310169935226, -0.01584264263510704, -0.11832620203495026, 0.007959393784403801, -0.034439027309417725, -0.006753462366759777, -0.035687077790498734, 0.07296265661716461, 0.013953017070889473, 0.017221784219145775, 0.016183966770768166, 0.023242631927132607, -0.02014167793095112, -0.021962840110063553, -0.09309564530849457, 0.010095917619764805, -0.0042193178087472916, 0.013729852624237537, 0.018090156838297844, 0.07132326811552048, 0.038240764290094376, -0.06067734956741333, -0.0011505123693495989, 0.03535382077097893, 0.001329499064013362, 0.007528965827077627, 0.05739036947488785, -0.00966938678175211, 0.0011444817064329982, 0.08198197931051254, -0.012456725351512432, -0.014884342439472675, -0.003807558910921216, 0.026197001338005066, 0.01340835727751255, 0.04058833047747612, 0.02446926385164261, -0.023931259289383888, 0.015368279069662094, -0.010180313140153885, 0.009768005460500717, -0.014653596095740795, 0.013837640173733234, 0.010757765732705593, -0.02815866284072399, -0.039821986109018326, 0.05516289919614792, 0.03287111222743988, -0.03872912749648094, 0.03592890128493309, 0.0012564383214339614, -0.07920046150684357, 0.07695069909095764, -0.004569975193589926, -0.2293335497379303, 0.015590449795126915, 0.05755375325679779, 0.048760004341602325, -0.020025484263896942, 0.01734893210232258, 0.04428575560450554, -0.058698222041130066, 0.0009384681470692158, 0.02045913226902485, 0.019960811361670494, 0.02466539666056633, -0.022136077284812927, -0.0046142577193677425, 0.024497829377651215, 0.010751836001873016, 0.05620020255446434, 0.00027434888761490583, 0.007566060405224562, 0.0029731893446296453, 0.030213721096515656, 0.008304733783006668, 0.1487935185432434, 0.022945694625377655, 0.025413556024432182, -0.013963013887405396, -0.0129232257604599, 0.007424023933708668, 0.06743434071540833, 0.015926217660307884, 0.012224157340824604, 0.004630982410162687, 0.02115667052567005, 0.016396505758166313, 0.017011258751153946, -0.08649171888828278, -0.024059059098362923, 0.025280974805355072, 0.033633746206760406, -0.007017917465418577, 0.024094516411423683, -0.0013158520450815558, -0.03230447322130203, 0.017576931044459343, 0.05668945237994194, 0.020313236862421036, -0.014457414858043194, -0.056251343339681625, -0.059452809393405914, -0.02746001072227955, -0.027231533080339432, -0.04482734948396683, 0.021796101704239845, -0.00794487725943327, 0.02097059041261673, 0.0736151933670044, -0.00020309626415837556, -0.03638584539294243, 0.003898876253515482, 0.014317619614303112, -0.023413361981511116, -0.05581462383270264, 0.13103075325489044, 0.03803528472781181, 0.02074841782450676 ]
[ -0.013711541891098022, -0.00718042952939868, -0.009960453025996685, 0.02760140597820282, -0.01809065416455269, 0.01816917210817337, 0.006890870630741119, -0.005991003476083279, -0.004862702451646328, 0.01000832486897707, -0.02789737656712532, 0.03930695727467537, 0.004434593021869659, -0.019450997933745384, 0.015859777107834816, -0.0076430183835327625, 0.013542368076741695, -0.023155033588409424, 0.013809794560074806, 0.019048411399126053, -0.009492579847574234, 0.003143593668937683, 0.004343347158282995, -0.0008857869543135166, 0.020652392879128456, 0.022847067564725876, -0.00901693757623434, -0.008646543137729168, 0.026048067957162857, -0.12297322601079941, -0.01905670017004013, -0.02092604711651802, -0.023615779355168343, 0.010984927415847778, 0.009088924154639244, 0.0022081444039940834, 0.012634984217584133, 0.029791513457894325, 0.004000356420874596, -0.029446478933095932, 0.009813857264816761, -0.008681339211761951, -0.015608198009431362, 0.03865978866815567, 0.019712205976247787, 0.010232926346361637, -0.020433781668543816, -0.0274734478443861, -0.009523347020149231, -0.03079439140856266, -0.03652985021471977, -0.026040317490696907, -0.021326830610632896, 0.001194239710457623, 0.01604396663606167, -0.001176757737994194, 0.014740283600986004, 0.018127279356122017, -0.004217280074954033, -0.018321814015507698, -0.013014317490160465, -0.038934554904699326, -0.04897259548306465, -0.014163488522171974, -0.0044543505646288395, -0.01579064130783081, -0.02433408983051777, 0.02828572876751423, -0.03214715048670769, -0.010603487491607666, 0.014358443208038807, 0.011603040620684624, -0.03001304902136326, -0.029694288969039917, 0.013470527715981007, -0.026109464466571808, 0.01879977434873581, -0.01989395171403885, 0.02273782715201378, -0.010206248611211777, -0.01452097948640585, 0.03237557038664818, 0.004962468054145575, 0.007441278081387281, 0.014038055203855038, -0.006092624738812447, 0.021545609459280968, 0.01899796724319458, 0.029266471043229103, -0.004968693479895592, -0.023378126323223114, 0.007588787004351616, -0.005795713048428297, 0.01611120067536831, -0.07763995975255966, -0.017733465880155563, 0.00563089968636632, -0.0184516329318285, -0.014456842094659805, 0.8909314274787903, -0.019371535629034042, -0.0019080295460298657, 0.04466729238629341, -0.007330417633056641, 0.007737840060144663, 0.024540795013308525, 0.01809932291507721, 0.008408745750784874, 0.006575093604624271, -0.049931276589632034, -0.0017064245184883475, 0.019177043810486794, 0.016151055693626404, 0.02990374155342579, 0.019184350967407227, 0.01967574656009674, 0.03470958024263382, -0.0003389487392269075, 0.0005955733940936625, 0.022120028734207153, 0.006186664570122957, 0.027724962681531906, 0.010323862545192242, 0.048754073679447174, -0.012103901244699955, -0.17495299875736237, -0.00719092320650816, -8.251644877774074e-33, 0.0226922407746315, -0.011391647160053253, 0.0035342248156666756, 0.0016178212827071548, -0.018422668799757957, -0.0019249159377068281, 0.041686296463012695, 0.025020798668265343, -0.02202777750790119, -0.018597884103655815, 0.0010907187825068831, -0.02102862298488617, -0.007225530222058296, -0.003283033613115549, 0.024500135332345963, -0.006284702103585005, -0.014072190038859844, 0.025507252663373947, 0.005097345449030399, 0.012136192992329597, 0.020030679181218147, 0.010812977328896523, -0.010415726341307163, -0.0063595883548259735, 0.002720639342442155, 0.01284349150955677, 0.013462849892675877, -0.00534313078969717, -0.03058096207678318, -0.04345392435789108, -0.008580644614994526, 0.01868499256670475, -0.022846050560474396, -0.030821168795228004, -0.014481297694146633, -0.031898632645606995, -0.03384300693869591, -0.0033259231131523848, -0.004012057092040777, -0.03037649765610695, -0.042473360896110535, -0.0009816288948059082, -0.04986259713768959, -0.010017112828791142, -0.0060282000340521336, -0.014944663271307945, 0.02288416214287281, 0.012707557529211044, 0.013409259729087353, 0.007228007074445486, -0.0015466815093532205, 0.013665709644556046, -0.018954148516058922, 0.02066558413207531, -0.004293241538107395, 0.010799514129757881, -0.003156389109790325, 0.018450414761900902, 0.0305284783244133, 0.02332158386707306, 0.010647913441061974, 0.002545846626162529, -0.027990343049168587, 0.018285444006323814, -0.0014563128352165222, -0.0033114647958427668, 0.011263717897236347, 0.013784997165203094, 0.012844255194067955, -0.024751288816332817, -0.0592317171394825, -0.025943877175450325, -0.00628762599080801, 0.0048931497149169445, 0.013108049519360065, 0.006981000304222107, -0.01529701054096222, 0.017591021955013275, -0.0016041065100580454, 0.033696264028549194, 0.007116802968084812, 0.014441370032727718, -0.0019462440395727754, -0.02201743982732296, -0.017398832365870476, 0.01158231869339943, 0.033071957528591156, -0.02233998477458954, -0.01678069680929184, 0.006751651875674725, 0.04981203377246857, 0.0032995177898555994, -0.002923264866694808, -0.015171241946518421, -0.026906492188572884, 7.90696936296184e-33, 0.0074590519070625305, -0.012960399501025677, -0.031048797070980072, 0.006923465523868799, 0.012438085861504078, -0.007395418360829353, 0.008589117787778378, -0.01087134424597025, -0.03892775997519493, 0.03959600627422333, -0.000791204918641597, 0.0035492645110934973, -0.026545578613877296, 0.012298814952373505, 0.03531866520643234, -0.013593807816505432, 0.0022342344745993614, -0.016758937388658524, 0.04108128696680069, -0.013069921173155308, 0.010294696316123009, 0.0026327550876885653, 0.006344063673168421, -0.006723831407725811, -0.012405745685100555, 0.052627142518758774, -0.02381398342549801, 0.013124295510351658, 0.014136848971247673, 0.025014381855726242, -0.012200839817523956, -0.0049268873408436775, 0.01936841756105423, -0.019809531047940254, -0.011713751591742039, 0.02804981730878353, -0.007427200675010681, -0.013820203021168709, -0.009519250132143497, 0.0047715045511722565, 0.004936895798891783, 0.011810226365923882, 0.0142542514950037, 0.007968793623149395, 0.0007049371488392353, -0.009847921319305897, 0.0009499258012510836, -0.01874052733182907, -0.02616744302213192, 0.029614068567752838, 0.002323468215763569, 0.0014124047011137009, -0.008645746856927872, -0.008247701451182365, 0.007925058715045452, -0.018298469483852386, -0.010219227522611618, 0.00584315275773406, 0.00017156964167952538, -0.003773460630327463, -0.004672154784202576, -0.00853788759559393, -0.01931203342974186, -0.0030912840738892555, -0.011727350763976574, 0.006129995454102755, -0.02325614169239998, 0.01494414359331131, 0.0034009236842393875, 0.001660624286159873, -0.020145786926150322, 0.008236668072640896, 0.011019079014658928, 0.01921239122748375, -0.00957128219306469, -0.025413431227207184, -0.01130350399762392, 0.009782565757632256, -0.03557509183883667, 0.018652766942977905, 0.014285452663898468, 0.009839050471782684, 0.027983054518699646, 0.023234352469444275, 0.00582788186147809, 0.03353993222117424, -0.017324969172477722, 0.011205087415874004, -0.004941761959344149, -0.029195886105298996, -0.017857959493994713, -0.001419150736182928, 0.0001162416156148538, 0.02359500527381897, 0.005731730721890926, -1.3794622333307416e-8, -0.020144222304224968, 0.014532716944813728, -0.01860407181084156, -0.0011648067738860846, 0.00924466922879219, -0.008788653649389744, -0.034869130700826645, 0.013836572878062725, -0.03848543018102646, 0.019308017566800117, 0.05693931505084038, -0.030420945957303047, -0.00021161774930078536, -0.0034171149600297213, 0.02183765359222889, -0.011454577557742596, -0.005067212041467428, -0.0099355299025774, 0.029756177216768265, -0.010442577302455902, 0.03712496533989906, 0.058119941502809525, -0.014210237190127373, 0.0008922528941184282, 0.005263110157102346, -0.015525749884545803, -0.016961710527539253, -0.06255672127008438, -0.007680724374949932, 0.01280996948480606, 0.0035457697231322527, -0.02399953082203865, -0.016240684315562248, 0.030461424961686134, -0.0035283088218420744, -0.037162747234106064, 0.008055335842072964, -0.005903379525989294, 0.01608356088399887, -0.0073047964833676815, -0.018275797367095947, 0.005048680119216442, 0.021133676171302795, -0.024878138676285744, -0.0011562854051589966, 0.017237624153494835, -0.0119972825050354, -0.0417245477437973, 0.003990495577454567, -0.027015935629606247, 0.002738056005910039, 0.012801398523151875, 0.02727489545941353, 0.03309924528002739, 0.038851410150527954, 0.01718812622129917, -0.014238141477108002, -0.031807221472263336, -0.022364243865013123, -0.004265869967639446, 0.001633592532016337, 0.043455570936203, -0.018140889704227448, -0.026642033830285072 ]
the-should-word
https://markhneedham.com/blog/2009/11/17/the-should-word
false
2009-11-10 06:33:22
Legacy Code: Sensing
[ "legacy-code", "michael-feathers" ]
[ "Coding" ]
In 'http://www.amazon.com/gp/product/0131177052?ie=UTF8&tag=marneesblo-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0131177052[Working Effectively With Legacy Code]' Michael Feathers describes two reasons for wanting to break dependencies in our code - to allow http://www.markhneedham.com/blog/2009/10/20/book-club-working-effectively-with-legacy-code-chapters-34-5-michael-feathers/[separation and sensing]. The former describes the need to get a piece of code into a test harness while the latter describes the need to assert whether that piece of code is doing what we want it to. On the projects I've worked on we've tended to run into problems with the latter more frequently and Matt and I actually ran into this problem when we were http://www.markhneedham.com/blog/2009/10/18/coding-role-based-interfaces/[refactoring some code into a role based interface approach]. We started with the following code: [source,csharp] ---- public class ApplicationController : Controller { public string BusinessType { get { return GetType().Replace("Controller", ""); } } public override void OnActionExecuting(ActionExecutingContext context) { base.OnActionExecuting(context); ViewData["SomeViewDataKey"] = CreateThatViewDataStuff(); } private ViewDataStuff CreateThatViewDataStuff() { return new ViewDataStuff { Content = BuildContent() // and so on }; } private IContent BuildContent() { if(BusinessType == "BusinessType1") { return CreateContentForBusinessType1(); } else if(BusinessType == "BusinessType2") { return CreateContentForBusinessType2(); } else { return CreateContentForEveryOtherBusinessType(); } } } ---- The 'BuildContent' method is the one that we're really interested in here but it's a private method on the controller so we currently don't have an easy way to assert that it's being created correctly. In order to test that functionality more easily we decided to make the method public so we could just call it directly. We wanted to do this so that we could write some tests around this bit of functionality before we refactored it so that we could be sure we hadn't broken the way it worked while doing so. As http://hamletdarcy.blogspot.com/2009/06/forgotten-refactorings.html[Hamlet D'Arcy points out, if we're going to call it refactoring then we need to make sure that we're protected by tests]. Otherwise we're just changing stuff. [source,csharp] ---- [Test] public void ShouldCreateContent() { var someRepository = MockRepository.CreateMock<ISomeRepository>(); var controller = new BusinessType1Controller(someRepository); someRepository.Expect(s => s.GetBusinessType1Message()).Return("someValue"); var content = controller.BuildContent(); // and so on } ---- We did the same for the other business types as well. I normally don't like making private methods public but we didn't intend to checkin our code until the refactoring was complete at which point the method would be made private again. The code ended up something like this: [source,csharp] ---- public class BusinessType1Controller : ApplicationController { public override IContent CreateContent() { return new BusinessType1Content(someRepository); } } ---- [source,csharp] ---- public class BusinessType1Content : IContent { private readonly ISomeRepository someRepository; public BusinessType1Content(ISomeRepository someRepository) { this.someRepository = someRepository; } public string GetMessage() { // this would be a different repository call for other business types return someRepository. GetBusinessType1Message(); } } ---- We were able to create a test against the business types directly instead of having to write a test against the controller: [source,csharp] ---- [Test] public void ShouldCreateContent() { var someRepository = MockRepository.CreateMock<ISomeRepository>(); var content = new Content(someRepository); someRepository.Expect(s => s.GetBusinessType1Message()).Return("someValue"); var message = controller.GetMessage(); // and so on } ---- Having got these new tests passing the ones we'd written against 'BuildContent' now also worked and since they were effectively testing the same thing we were able to get rid of them and make 'BuildContent' private again. Despite the fact that I was initially reluctant to expose the 'BuildContent' method this approach seemed to work out reasonably well. An alternative approach would have been to create a test only ApplicationController and then create a method on that which called the 'OnActionExecuting' method. We've done that to test some other things and it would have allowed us to test the creation of 'Content' in a more roundabout way without needing to make 'BuildContent' public. The additional effort involved in doing that for not much gain means that given a similar situation in the future I'd probably use just make the method public again!
null
null
[ -0.004315689671784639, -0.018891936168074608, -0.02141484245657921, 0.032314274460077286, 0.08791299164295197, 0.00895902793854475, 0.03512265160679817, 0.015216410160064697, 0.014436475932598114, -0.019007060676813126, -0.03186049312353134, -0.0010861560003831983, -0.06849900633096695, 0.003955810330808163, -0.04674911126494408, 0.06472453474998474, 0.07780051231384277, -0.002218733076006174, 0.031130649149417877, -0.008057856000959873, 0.011094767600297928, 0.08692046999931335, 0.0032728970982134342, 0.05204460024833679, 0.03024846687912941, 0.01868882030248642, 0.015917912125587463, -0.015297355130314827, -0.057856861501932144, -0.003834760282188654, 0.03990006074309349, 0.02168768085539341, 0.014193321578204632, -0.012989645823836327, 0.012079792097210884, -0.011809025891125202, -0.011363442055881023, 0.01503952406346798, 0.004413294605910778, 0.0032803290523588657, -0.07412799447774887, 0.025222474709153175, -0.008728254586458206, 0.0037904628552496433, -0.04052690044045448, 0.00985494814813137, -0.04322219267487526, 0.013802338391542435, -0.026747051626443863, -0.02644898183643818, -0.07721082866191864, 0.03781340271234512, -0.05821741372346878, -0.003644904587417841, 0.0016217469237744808, 0.05713895708322525, -0.0048350924625992775, -0.06682116538286209, 0.028611818328499794, -0.06534827500581741, 0.017798682674765587, -0.013066752813756466, 0.005462419707328081, 0.0057118902914226055, 0.02293873205780983, -0.03392048552632332, -0.022853104397654533, 0.048208411782979965, -0.03228345885872841, -0.018895069137215614, -0.018055805936455727, 0.006613276898860931, -0.02010195516049862, 0.005827545188367367, 0.009661521762609482, -0.0455610454082489, -0.005149394739419222, 0.06919888406991959, 0.027220074087381363, 0.06047247722744942, -0.012856665067374706, 0.018572723492980003, 0.021548954769968987, 0.006032872013747692, -0.010290623642504215, -0.03813106194138527, -0.00853649526834488, -0.015126674436032772, -0.029778629541397095, 0.057608045637607574, 0.019829392433166504, -0.04730379581451416, 0.01860812120139599, 0.06132803484797478, 0.0008778997580520809, 0.02086838148534298, 0.017242612317204475, 0.001831685658544302, 0.014189113862812519, -0.0093297827988863, -0.029993640258908272, 0.00038849576958455145, 0.02172577753663063, 0.019950654357671738, -0.07784918695688248, 0.004422398284077644, -0.031197642907500267, -0.01643179915845394, 0.002276990795508027, 0.013539567589759827, -0.03170613572001457, 0.024110285565257072, -0.03412027284502983, -0.01575317420065403, -0.07920567691326141, 0.06081444025039673, -0.008975442498922348, -0.01675920933485031, 0.011279692873358727, 0.03499358892440796, 0.05959036201238632, 0.02277381531894207, -0.017920689657330513, 0.08211197704076767, 0.019678013399243355, 0.04138002544641495, -0.04303678125143051, 0.049811527132987976, -0.021688561886548996, -0.06558404117822647, -0.005018429830670357, 0.047909270972013474, -0.03912690654397011, -0.008499541319906712, -0.008984768763184547, 0.015028146095573902, 0.002252293284982443, 0.02368997409939766, 0.03979289531707764, 0.02321617864072323, -0.04830029234290123, -0.03874298185110092, 0.010921214707195759, -0.015251699835062027, 0.012245611287653446, 0.003022730816155672, -0.0008815094479359686, -0.011952368542551994, -0.01937423273921013, 0.02645302750170231, 0.03008793108165264, 0.04800717532634735, 0.03567501902580261, -0.058353256434202194, 0.015945734456181526, 0.08376675844192505, 0.02093205228447914, 0.014139099977910519, -0.009937325492501259, 0.022350741550326347, 0.05535842105746269, 0.031039824709296227, 0.022305293008685112, 0.032699376344680786, 0.012282386422157288, 0.00798961240798235, -0.005809295456856489, 0.0223973598331213, -0.0027388709131628275, -0.0014619975117966533, -0.0663735568523407, -0.042953815311193466, 0.047040991485118866, -0.053491294384002686, -0.018647976219654083, 0.044431909918785095, 0.08013339340686798, 0.021621916443109512, 0.05328083783388138, 0.006545393727719784, -0.08170374482870102, 0.04080501198768616, 0.02338176779448986, -0.00539378821849823, 0.004849846474826336, 0.011621528305113316, 0.0757744312286377, 0.024390920996665955, -0.005446845665574074, 0.03631618246436119, -0.07703594863414764, -0.08976919949054718, -0.018162699416279793, -0.025080308318138123, 0.06566022336483002, -0.016380049288272858, -0.012348623014986515, 0.06536369770765305, 0.012805711477994919, 0.042819444090127945, 0.016062498092651367, -0.006841422524303198, 0.0211513489484787, -0.024252979084849358, -0.044926587492227554, 0.04942500218749046, 0.04048984870314598, 0.016286106780171394, -0.046115703880786896, -0.00013113599561620504, -0.013361688703298569, 0.01434829831123352, 0.04051684960722923, -0.004036455415189266, 0.05609608441591263, -0.010882939212024212, 0.026059409603476524, -0.02966638095676899, 0.07446949928998947, -0.08679379522800446, 0.014949153177440166, -0.0045800525695085526, -0.03482680395245552, -0.0035959864035248756, -0.015002839267253876, 0.10698787868022919, 0.04634461924433708, -0.044973842799663544, -0.04701264575123787, 0.031048554927110672, 0.001864766702055931, -0.04712449014186859, 0.006528034340590239, -0.01991298235952854, 0.012574926018714905, -0.022120367735624313, -0.029808027669787407, -0.008104149252176285, 0.02219303324818611, -0.03872955963015556, 0.02297835610806942, 0.07748554646968842, -0.04167039319872856, 0.038999833166599274, -0.01962042599916458, -0.042596131563186646, -0.02165602147579193, -0.012081127613782883, -0.04648369550704956, 0.003881375538185239, 0.012095778249204159, 0.0010197088122367859, 0.056071937084198, -0.032319024205207825, -0.019955424591898918, -0.011877549812197685, -0.05369596928358078, 0.022681208327412605, 0.02132497727870941, 0.05014562979340553, -0.00031189576839096844, 0.033716682344675064, -0.031748417764902115, 0.026555588468909264, -0.010468387976288795, -0.035270120948553085, -0.008448868058621883, -0.012418610043823719, 0.007749949116259813, 0.030344301834702492, 0.020075958222150803, 0.013493821956217289, 0.03230908513069153, 0.0030703083612024784, -0.008036005310714245, -0.006863867864012718, 0.04871182143688202, 0.015765324234962463, -0.005815010983496904, -0.03782166913151741, -0.023926466703414917, 0.024957187473773956, -0.039406925439834595, -0.04033840075135231, 0.010229183360934258, -0.08146106451749802, 0.05733628198504448, -0.06267402321100235, -0.07054834067821503, -0.0019653216004371643, 0.03111427277326584, 0.044638149440288544, -0.012991590425372124, 0.03822213038802147, 0.06601081788539886, 0.0025012781843543053, -0.008115039207041264, 0.03264455869793892, 0.007642759941518307, 0.04177960753440857, 0.003397851251065731, 0.01037959661334753, 0.0377538725733757, -0.007876802235841751, -0.00017912419571075588, -0.04967673867940903, 0.043868888169527054, -0.021179497241973877, -0.27599579095840454, 0.02981742098927498, -0.017961353063583374, -0.05430503934621811, 0.04030733183026314, -0.02184545062482357, 0.0113688288256526, -0.04752185568213463, -0.008579923771321774, 0.04618101939558983, -0.006068953778594732, -0.051098763942718506, 0.0003552799462340772, 0.041191425174474716, 0.00007139096123864874, 0.01636829413473606, 0.009423315525054932, -0.0317334309220314, 0.001203362364321947, 0.04801328107714653, -0.018671132624149323, -0.07012911140918732, 0.006148526910692453, 0.02704874612390995, 0.041764769703149796, 0.04806453362107277, -0.08819372951984406, 0.06207240745425224, -0.026051796972751617, -0.028070807456970215, 0.0008536293171346188, -0.005019876640290022, -0.018721086904406548, -0.017892593517899513, -0.01887991465628147, -0.02573496103286743, 0.014729870483279228, 0.04036223143339157, -0.016657935455441475, 0.011827991344034672, -0.024565687403082848, -0.047621868550777435, -0.009081381373107433, 0.004450274631381035, 0.08067778497934341, -0.009908059611916542, -0.08842548727989197, -0.012080175802111626, -0.03363325819373131, 0.08747810125350952, -0.03952538222074509, -0.0318005308508873, 0.004896060097962618, 0.043995365500450134, 0.00023196094844024628, -0.024188660085201263, 0.016335470601916313, -0.006913839839398861, -0.03672631084918976, -0.009518543258309364, -0.008164177648723125, -0.04284529387950897, -0.020160172134637833, -0.03433825448155403, -0.009441622532904148, -0.07112093269824982, -0.055525604635477066, -0.02928553707897663, 0.07434717565774918, 0.010125279426574707, -0.048205554485321045, -0.02423807419836521, 0.004267828073352575, -0.12400773167610168, 0.010756146162748337, -0.05105562135577202, -0.03463562950491905, -0.012940025888383389, 0.0057082935236394405, 0.04337897151708603, -0.005094639491289854, -0.051305994391441345, 0.029388993978500366, 0.01177413109689951, 0.01087542437016964, -0.003232294926419854, 0.032830655574798584, 0.018940579146146774, -0.009594856761395931, 0.015722785145044327, 0.07770124822854996, 0.0001644588483031839, -0.030372248962521553, -0.04413842037320137, 0.014154192060232162, 0.012897033244371414, 0.03105403669178486, -0.008902564644813538, 0.00014359888155013323, 0.03149515017867088, 0.018604980781674385, -0.051569342613220215, 0.032522667199373245, -0.0328945554792881, 0.0035091382451355457, -0.023211460560560226, -0.05043180659413338, 0.01305213663727045, 0.04408928379416466, 0.029046960175037384, -0.007958827540278435, -0.03993651270866394, 0.0021545449271798134, -0.058877285569906235, -0.05660174414515495, -0.032830119132995605, 0.00861271657049656, 0.040592391043901443, -0.017527202144265175, -0.018084390088915825, -0.04058642312884331, 0.020005226135253906, 0.012170033529400826, 0.0051413895562291145, -0.06184899061918259, -0.03420582413673401, -0.016224997118115425, -0.008098340593278408, 0.002323202323168516, 0.02163970097899437, -0.024788815528154373, 0.031718283891677856, -0.0062636430375278, -0.04561091959476471, -0.012398822233080864, 0.0027803033590316772, -0.0375504195690155, -0.04566063731908798, -0.019970938563346863, -0.011720630340278149, -0.013301433064043522, 0.01121298223733902, 0.005623400676995516, 0.02107383869588375, 0.04833570122718811, -0.00933277327567339, 0.04958093911409378, 0.003736946964636445, 0.001634409767575562, 0.017943529412150383, 0.01656622253358364, -0.06113757565617561, 0.025223657488822937, -0.04118767008185387, -0.0392230786383152, -0.043674252927303314, 0.042087528854608536, -0.026108669117093086, -0.012659350410103798, -0.03395784646272659, 0.045775406062603, -0.05987030640244484, -0.03572826087474823, -0.01850125752389431, 0.007442281115800142, 0.05924488976597786, -0.016367152333259583, 0.032375518232584, -0.0307906586676836, -0.0375821553170681, 0.004332717042416334, 0.014355278573930264, -0.03171670436859131, 0.018184738233685493, 0.020005254074931145, 0.013464224524796009, -0.0010001009795814753, 0.00935808103531599, 0.0499684140086174, 0.01922529935836792, -0.005436682607978582, -0.03485872596502304, 0.013893586583435535, -0.012794019654393196, 0.02769082598388195, 0.01591653749346733, 0.0077442629262804985, -0.02032412216067314, -0.030855849385261536, -0.026820477098226547, -0.036230169236660004, -0.009906664490699768, -0.011066381819546223, 0.033172089606523514, -0.030494917184114456, -0.06968338787555695, 0.03757037594914436, 0.008925401605665684, 0.02434268593788147, 0.012219046242535114, -0.010017944499850273, 0.023137204349040985, -0.02963348850607872, 0.04341867193579674, 0.05459929257631302, -0.061676762998104095, 0.025273608043789864, -0.003197970101609826, 0.0027801361866295338, 0.008394048549234867, 0.010797268711030483, -0.04356909915804863, -0.0032138428650796413, -0.01154595147818327, -0.014185039326548576, -0.06362418085336685, -0.023167608305811882, -0.017593953758478165, 0.024216946214437485, -0.01167947519570589, -0.013349768705666065, -0.01954173669219017, 0.0161888487637043, -0.015580052509903908, -0.026184899732470512, 0.02942303754389286, -0.007681194227188826, -0.006949075032025576, 0.03497947007417679, -0.04685766249895096, 0.01312442496418953, -0.02027946151793003, 0.01406964473426342, 0.012883421964943409, -0.007592696230858564, -0.009886138141155243, -0.05482260137796402, -0.011949271894991398, 0.024673942476511, 0.03009701892733574, -0.010796462185680866, -0.011554624885320663, -0.007781438063830137, -0.016529833897948265, -0.02970830351114273, 0.02478932775557041, -0.00945588480681181, -0.013856480829417706, 0.007346411235630512, 0.0450296513736248, 0.012454609386622906, 0.028702085837721825, -0.007355824578553438, 0.00836130976676941, 0.06675346195697784, -0.0663822740316391, -0.02269231528043747, -0.005566261243075132, -0.0693858191370964, 0.017081066966056824, 0.03339706361293793, 0.023837538436055183, -0.02311808057129383, 0.040432196110486984, 0.03203076496720314, 0.024976171553134918, 0.03412622958421707, 0.0069670965895056725, 0.03630518913269043, -0.057511694729328156, -0.007040492724627256, -0.07144720107316971, 0.017003217712044716, 0.03549401834607124, 0.0029200026765465736, -0.01927836425602436, -0.010637056082487106, -0.05114204064011574, 0.03995814546942711, -0.05668560415506363, -0.033869046717882156, 0.03467552736401558, -0.023160025477409363, 0.004330736584961414, 0.012012336403131485, -0.05432065948843956, 0.0432266891002655, 0.02576734684407711, -0.0455273874104023, -0.0500061996281147, -0.0386948361992836, 0.07255624234676361, 0.022629164159297943, 0.02239163964986801, -0.05256923288106918, -0.024399898946285248, 0.06574305891990662, -0.0035731401294469833, 0.03801073133945465, 0.042736683040857315, -0.02388724870979786, 0.03315495699644089, 0.019927041605114937, 0.015611505135893822, -0.015291480347514153, 0.00736419390887022, 0.01906937174499035, -0.07665055990219116, 0.029066970571875572, -0.007162121590226889, -0.021025927737355232, -0.032805655151605606, 0.05992827191948891, 0.028492769226431847, -0.007302248850464821, -0.04943162947893143, 0.0018649303819984198, -0.03742935508489609, -0.018021410331130028, -0.016993161290884018, -0.014850749634206295, -0.03042682632803917, 0.07427144050598145, 0.012564555741846561, 0.01083894819021225, 0.06601205468177795, -0.012041647918522358, -0.004990945104509592, -0.04049830138683319, 0.08335123211145401, 0.0605386383831501, 0.04743820056319237, -0.00018606928642839193, 0.07578469812870026, -0.011797264218330383, -0.05318180471658707, 0.036077942699193954, 0.0006561378249898553, -0.007401463575661182, -0.017727134749293327, -0.009043850935995579, 0.07836442440748215, 0.019961051642894745, 0.05978519096970558, -0.040861841291189194, -0.014764481224119663, 0.0017713357228785753, 0.010569550096988678, 0.005781353916972876, 0.04799112305045128, -0.002302875043824315, 0.011015982367098331, 0.009781560860574245, -0.04546244814991951, 0.034734662622213364, -0.024837598204612732, -0.017054472118616104, 0.027248557657003403, 0.003995809704065323, 0.017320547252893448, 0.0003102065238635987, 0.023956675082445145, 0.07445909082889557, -0.006332890596240759, -0.0011419133516028523, -0.007794736884534359, 0.019335921853780746, 0.014590159058570862, -0.01151468139141798, -0.0441051609814167, -0.029883863404393196, 0.00641976622864604, -0.030421657487750053, -0.017337210476398468, -0.01834426075220108, -0.01300247386097908, 0.052870236337184906, -0.027537746354937553, 0.03579917922616005, 0.024154528975486755, 0.0057923453859984875, -0.03841540589928627, -0.05111996829509735, -0.06024301052093506, -0.02388050965964794, -0.06193788722157478, -0.020032746717333794, 0.010795479640364647, 0.0015783674316480756, -0.02973896637558937, -0.025438666343688965, -0.01600285805761814, -0.021585535258054733, 0.04927888512611389, -0.04576821252703667, -0.025395356118679047, 0.01319967396557331, 0.011716073378920555, 0.02810450829565525, 0.029814111068844795, 0.04265005141496658, 0.013151204213500023, -0.010073013603687286, -0.036389149725437164, 0.008558593690395355, 0.02912614680826664, 0.016418466344475746, 0.033964790403842926, -0.09153804928064346, 0.022269178181886673, 0.004369555041193962, -0.008364632725715637, -0.0677049458026886, 0.014882675372064114, 0.0216495580971241, -0.03646067902445793, 0.05523412302136421, -0.02170417830348015, 0.006937441416084766, -0.007869482040405273, -0.0038183287251740694, -0.0013901544734835625, 0.028761235997080803, 0.03748123720288277, -0.02514425292611122, 0.07851599901914597, 0.03318753093481064, -0.005808301270008087, -0.04705311730504036, -0.001398293999955058, -0.025092514231801033, 0.012660900130867958, -0.042850740253925323, -0.018558109179139137, -0.02106412872672081, -0.07542379200458527, -0.006671673618257046, 0.03846269100904465, -0.017570098862051964, -0.03538127616047859, 0.010803652927279472, 0.037743330001831055, -0.05373350530862808, 0.015130000188946724, -0.03388023376464844, 0.03436480090022087, -0.015309575013816357, -0.014942162670195103, 0.033723004162311554, 0.02610352449119091, 0.02345266193151474, 0.006481386721134186, 0.011661152355372906, -0.049020253121852875, 0.01392280962318182, -0.002933268900960684, 0.019400058314204216, 0.06025322154164314, -0.005489611532539129, -0.005239606834948063 ]
[ -0.1147904098033905, -0.013801968656480312, -0.022101987153291702, -0.058953605592250824, 0.043177444487810135, -0.04723851755261421, -0.011910314671695232, 0.013711009174585342, -0.013146460987627506, -0.025185996666550636, -0.004366651177406311, 0.00582400057464838, 0.00666144909337163, 0.0054524363949894905, 0.09198633581399918, 0.03943747654557228, -0.004645536188036203, -0.038128308951854706, 0.013259399682283401, 0.02818962372839451, 0.02960311621427536, -0.040578704327344894, -0.022814743220806122, 0.0053963372483849525, -0.003581208875402808, 0.05251561477780342, 0.033307310193777084, -0.029278229922056198, 0.022202549502253532, -0.1929084062576294, 0.0014203611062839627, 0.023909538984298706, 0.015772327780723572, -0.02601546049118042, 0.03215691074728966, 0.04622989892959595, 0.017146116122603416, 0.008196631446480751, -0.0028895570430904627, 0.04623020812869072, -0.006656974088400602, 0.0299453716725111, -0.048182014375925064, -0.03424826264381409, 0.03952280431985855, -0.008644096553325653, 0.004575187806040049, -0.034699417650699615, -0.007952684536576271, -0.00868925079703331, -0.06586514413356781, -0.0039491234347224236, -0.01914503239095211, -0.035044919699430466, -0.015121456235647202, 0.029246434569358826, 0.04008488729596138, 0.08099702000617981, 0.010452828370034695, 0.052603017538785934, 0.01833874173462391, -0.04081400856375694, -0.13614320755004883, 0.08946697413921356, 0.040017299354076385, 0.06855631619691849, -0.021062258630990982, -0.018291262909770012, -0.014651140198111534, 0.09829220175743103, -0.007220517843961716, -0.026504825800657272, -0.03531049191951752, 0.06335662305355072, 0.008904517628252506, 0.0072526815347373486, 0.02609465830028057, 0.019869551062583923, 0.037889041006565094, -0.03623580560088158, -0.03059779852628708, -0.01629565842449665, -0.02215053327381611, -0.009416669607162476, -0.034853339195251465, 0.03121577575802803, -0.006799695082008839, 0.052995529025793076, 0.05031198635697365, 0.026945240795612335, 0.04186937212944031, -0.02664228528738022, 0.06794208288192749, 0.0010533778695389628, -0.10740970820188522, -0.009032358415424824, -0.004513246472924948, -0.01488451473414898, -0.06365994364023209, 0.43424171209335327, -0.020550549030303955, -0.045922569930553436, 0.05010473355650902, 0.038069602102041245, 0.0009937731083482504, 0.012668904848396778, 0.019799917936325073, -0.03368169441819191, 0.03605112060904503, -0.04336884617805481, 0.002103138016536832, 0.024668138474225998, 0.05773484706878662, -0.054127421230077744, -0.0017527048476040363, 0.01251448318362236, -0.030097344890236855, 0.010653282515704632, -0.019141770899295807, 0.003850717330351472, -0.015732193365693092, 0.0005549087654799223, 0.03215645253658295, 0.027225660160183907, -0.02688886597752571, -0.04108244553208351, 0.019097287207841873, 0.0534784160554409, 0.014800786972045898, 0.003368956968188286, 0.023613473400473595, -0.046590521931648254, -0.06357074528932571, -0.0169230904430151, 0.0018772972980514169, 0.01853974536061287, 0.018451271578669548, -0.025912512093782425, 0.007566386368125677, 0.03289375454187393, -0.01815236173570156, 0.006122750695794821, 0.025186127051711082, 0.015565121546387672, -0.04484917223453522, 0.0844307392835617, 0.009322432801127434, -0.016625016927719116, -0.029940858483314514, -0.021534418687224388, 0.004030174575746059, 0.03675634413957596, 0.01946547068655491, -0.03978431597352028, 0.020745353773236275, 0.022381272166967392, 0.061784528195858, -0.020209714770317078, -0.052191656082868576, -0.01695988141000271, 0.005557429511100054, -0.043999169021844864, -0.05385607108473778, 0.03915954753756523, 0.038948528468608856, -0.09484681487083435, -0.017717374488711357, 0.01994321495294571, 0.009828494861721992, -0.04467613622546196, -0.021873347461223602, 0.014611638151109219, -0.017453759908676147, -0.025538314133882523, 0.05229583755135536, -0.023752674460411072, -0.030787881463766098, 0.026858923956751823, 0.03482845053076744, 0.037909895181655884, 0.015339281409978867, 0.015601587481796741, -0.06062093377113342, -0.015439464710652828, -0.011390016414225101, -0.08627931028604507, -0.038643721491098404, -0.020250873640179634, -0.015840061008930206, -0.02789291739463806, -0.061557043343782425, -0.004273461643606424, -0.0839366465806961, 0.08139544725418091, -0.001953303348273039, -0.019870823249220848, 0.004660728853195906, 0.0023494090419262648, -0.008464477024972439, -0.04719475656747818, 0.008556710556149483, 0.0557684563100338, -0.02609323151409626, 0.011341411620378494, -0.08249881118535995, 0.06454816460609436, 0.03218237683176994, -0.047307562083005905, 0.05110561102628708, 0.032136332243680954, -0.05328463762998581, -0.0007356615969911218, 0.03332621604204178, 0.032768670469522476, 0.00957934558391571, -0.012167173437774181, -0.01993577927350998, 0.03920179605484009, 0.01742945984005928, 0.029479188844561577, -0.04599560424685478, 0.006181810982525349, 0.012536684051156044, -0.35467129945755005, -0.017774393782019615, -0.046290360391139984, -0.012119187042117119, -0.029249481856822968, -0.056517958641052246, 0.02194352261722088, -0.030426323413848877, -0.045582037419080734, -0.005232000723481178, 0.08964516222476959, -0.027008887380361557, 0.020336149260401726, -0.06777263432741165, -0.01317539531737566, -0.0032595887314528227, -0.031225090846419334, -0.04197356104850769, -0.04145742952823639, -0.006590568460524082, 0.00670026708394289, -0.02231205441057682, -0.007443272974342108, -0.07086918503046036, -0.0038791822735220194, -0.03995267301797867, 0.08748333901166916, 0.005943420343101025, 0.08246125280857086, -0.04728086665272713, 0.06368672102689743, 0.02947239764034748, 0.010396711528301239, -0.09957483410835266, 0.022138332948088646, -0.01885746791958809, -0.018142282962799072, -0.026394149288535118, 0.03252141922712326, -0.018623659387230873, -0.043248459696769714, 0.029904130846261978, -0.047687776386737823, -0.04548231512308121, -0.025539478287100792, -0.007297512609511614, -0.0181209035217762, -0.0364895798265934, -0.03624295815825462, 0.08685093373060226, 0.005444190464913845, -0.00006234678585315123, -0.01700473204255104, 0.03651111572980881, -0.015993736684322357, -0.018164759501814842, -0.06868120282888412, 0.01448691077530384, 0.030209418386220932, -0.015168439596891403, 0.03523049131035805, 0.06023364141583443, 0.0330599844455719, -0.05178694427013397, 0.01822838746011257, 0.008215740323066711, 0.005183577537536621, 0.003116874024271965, 0.06044524908065796, -0.029767615720629692, -0.009456673637032509, 0.09221305698156357, -0.002522390801459551, -0.019016573205590248, 0.009369947947561741, 0.02793501690030098, -0.02297108992934227, 0.0005332169239409268, 0.028240712359547615, -0.018655477091670036, -0.004170191939920187, 0.011020409874618053, 0.046386413276195526, -0.04097266122698784, -0.011509479954838753, 0.019064776599407196, -0.009393037296831608, -0.03555062413215637, 0.0702618658542633, 0.008269726298749447, -0.02736685983836651, 0.006884497590363026, -0.02480781450867653, -0.06493586301803589, 0.1095108613371849, 0.0030809221789240837, -0.24846354126930237, 0.013338044285774231, 0.07285179942846298, 0.048648662865161896, -0.011511070653796196, 0.044204000383615494, 0.058061107993125916, -0.05579352006316185, 0.006654499098658562, 0.019397247582674026, 0.01931571215391159, 0.019648510962724686, 0.0058434526436030865, -0.025717614218592644, 0.060001641511917114, -0.0077026584185659885, 0.05526736006140709, -0.01445891335606575, 0.022743137553334236, -0.017675327137112617, 0.01459785457700491, -0.015462047420442104, 0.15776540338993073, 0.013524293899536133, 0.015641765668988228, 0.013441872783005238, 0.01851692982017994, 0.017260011285543442, 0.06771930307149887, 0.024471811950206757, -0.006710411049425602, -0.009147828444838524, 0.08053486049175262, 0.0018806454027071595, 0.018126847222447395, -0.07706264406442642, -0.008535345084965229, 0.027489451691508293, 0.02575688622891903, 0.004202351905405521, -0.01384836807847023, 0.013779079541563988, -0.04188558831810951, 0.0355534702539444, 0.08034917712211609, 0.002871827920898795, -0.021705564111471176, -0.019847428426146507, -0.03887451812624931, -0.02567325532436371, -0.031751956790685654, -0.04958014562726021, 0.019442593678832054, -0.009257366880774498, -0.0017527112504467368, 0.06399504840373993, 0.024610325694084167, -0.016979185864329338, -0.028702760115265846, 0.022258112207055092, 0.010631386190652847, -0.013132409192621708, 0.1279722899198532, 0.033841412514448166, 0.01796581968665123 ]
[ -0.022540299221873283, -0.016727393493056297, -0.005030258558690548, 0.036319006234407425, 0.0332774892449379, 0.026691678911447525, 0.011224624700844288, -0.003364578587934375, -0.025182953104376793, 0.010199595242738724, 0.013288197107613087, 0.005231055431067944, 0.014081228524446487, -0.02246466651558876, 0.0359351709485054, -0.0017060780664905906, 0.011611973866820335, -0.039098888635635376, -0.005096647422760725, 0.007793624419718981, -0.012140778824687004, 0.026373839005827904, 0.01798255369067192, 0.003988631069660187, -0.025354254990816116, -0.010845664888620377, -0.008654900826513767, -0.012269879691302776, 0.020336033776402473, -0.12329237908124924, 0.030934292823076248, -0.03195922449231148, -0.013694250024855137, 0.015352181158959866, -0.015580578707158566, -0.016318107023835182, 0.0034638307988643646, -0.031745269894599915, 0.00391231058165431, -0.017148880288004875, -0.004991405177861452, -0.021556103602051735, -0.009947804734110832, 0.004089417401701212, 0.01426839642226696, -0.0020269090309739113, -0.024189535528421402, -0.016148889437317848, 0.0029518466908484697, 0.018775949254631996, -0.03452393785119057, -0.02710595726966858, -0.02255636639893055, -0.00770045630633831, 0.013764363713562489, -0.0005701507325284183, -0.027037598192691803, 0.019387101754546165, 0.008074608631432056, -0.00715096527710557, 0.04851111024618149, -0.0078017208725214005, -0.005761686712503433, -0.04150437191128731, 0.003016155445948243, -0.010282827541232109, -0.03111341968178749, -0.01951317861676216, -0.032406799495220184, -0.0295894555747509, 0.0014173365198075771, -0.0073795318603515625, -0.02677803486585617, 0.006341980770230293, 0.0008824049145914614, -0.0009621769422665238, -0.011934847570955753, -0.023866742849349976, 0.012197441421449184, -0.019510217010974884, -0.026175322011113167, 0.020725363865494728, -0.0030760548543184996, 0.017890218645334244, -0.006776553113013506, -0.021036654710769653, 0.0272517129778862, 0.009197868406772614, 0.0023158490657806396, 0.008949510753154755, -0.019751690328121185, 0.0016156682977452874, 0.025981072336435318, 0.04602077230811119, -0.06763200461864471, -0.02192498929798603, -0.02633247897028923, -0.015538820065557957, -0.014203534461557865, 0.86916184425354, -0.028749048709869385, 0.04110455885529518, 0.0422908216714859, 0.018787773326039314, -0.011420122347772121, -0.015705980360507965, -0.032440394163131714, 0.02118004858493805, 0.01929108425974846, -0.013165378011763096, 0.03198472782969475, 0.008497976697981358, 0.0067781489342451096, 0.015127665363252163, 0.014913791790604591, 0.00871557742357254, 0.009984837844967842, 0.029574092477560043, 0.016891304403543472, 0.04770369082689285, 0.038978349417448044, -0.001384226605296135, 0.027977585792541504, -0.023565620183944702, 0.0027533448301255703, -0.18526244163513184, 0.007359492592513561, -7.124832156123153e-33, 0.019794341176748276, -0.015432980842888355, 0.004238930065184832, 0.04711613059043884, 0.020929833874106407, -0.009871265850961208, -0.010709156282246113, 0.03360827639698982, -0.019028056412935257, -0.03974186256527901, -0.005558602046221495, -0.016016321256756783, -0.025025250390172005, 0.009321191348135471, 0.04576271027326584, -0.00102481828071177, -0.0013104330282658339, 0.012913604266941547, 0.015499991364777088, -0.006149394903331995, 0.0002070312766591087, 0.03344111517071724, 0.008643683977425098, -0.021372046321630478, 0.02352181449532509, 0.03953833132982254, 0.0024071221705526114, 0.012576964683830738, -0.007630096282809973, -0.03268541395664215, 0.000040630329749546945, -0.03191348910331726, -0.01597733050584793, -0.04007243365049362, -0.018582506105303764, -0.04448842257261276, -0.05582861974835396, 0.009662927128374577, -0.028144346550107002, -0.008409666828811169, -0.026627108454704285, -0.017075305804610252, 0.0017360476776957512, 0.01343183871358633, -0.04058052599430084, -0.002019758801907301, 0.013091773726046085, 0.04699363559484482, 0.0014338321052491665, 0.01637817732989788, -0.0038706003688275814, 0.03074527345597744, 0.02742117829620838, -0.018170086666941643, -0.009164078161120415, -0.026286402717232704, -0.023361030966043472, 0.0010896021267399192, 0.013285113498568535, -0.021248165518045425, 0.025010086596012115, -0.012402918189764023, -0.0044199931435287, 0.031755801290273666, -0.028800586238503456, 0.03014286793768406, 0.02417764440178871, -0.023034194484353065, 0.022300412878394127, -0.01618935540318489, -0.05516056343913078, -0.0062219081446528435, 0.010749454610049725, -0.02261272631585598, -0.00931076891720295, -0.036232490092515945, -0.006688897963613272, 0.02620410919189453, 0.01730923168361187, 0.020801976323127747, -0.014114832505583763, 0.013577225618064404, 0.046578045934438705, 0.008205569349229336, -0.032789915800094604, 0.0016535883769392967, 0.015575964003801346, -0.00822057668119669, -0.012073744088411331, 0.004157991148531437, 0.017162103205919266, 0.05460740998387337, -0.009670867584645748, -0.03354441374540329, 0.029869724065065384, 6.770083389408342e-33, -0.00016463978681713343, -0.036149028688669205, -0.019453274086117744, -0.00310764298774302, 0.002311987103894353, -0.03868734464049339, 0.021085891872644424, 0.023561011999845505, -0.03899187594652176, 0.021012986078858376, -0.014127766713500023, 0.008185120299458504, -0.03889065608382225, 0.01254715770483017, 0.055488016456365585, -0.03696874529123306, 0.015163020230829716, -0.011754786595702171, 0.041402898728847504, 0.011803730390965939, 0.0312720388174057, 0.019108522683382034, 0.029471633955836296, -0.006302209105342627, 0.012252911925315857, 0.036689337342977524, -0.012941762804985046, 0.01724565401673317, -0.012831386178731918, -0.005326495971530676, 0.01684587448835373, -0.010894236154854298, -0.0011159100104123354, -0.030799617990851402, -0.039744384586811066, 0.005139475222676992, -0.011439980007708073, -0.006647304631769657, 0.011902781203389168, 0.006843456532806158, 0.02956286445260048, -0.028288528323173523, 0.0010004241485148668, 0.0096189696341753, 0.012795159593224525, -0.020504461601376534, -0.008899258449673653, -0.012107307091355324, -0.0017625762848183513, 0.006791242398321629, 0.02375117875635624, 0.038295187056064606, -0.005988982506096363, 0.011259520426392555, 0.01456247828900814, -0.005447898991405964, -0.02245532162487507, 0.0025744743179529905, -0.008121028542518616, -0.015149454586207867, 0.0031956422608345747, 0.017035435885190964, 0.00606602942571044, 0.0357496477663517, -0.012762412428855896, -0.006466087885200977, -0.03217595815658569, -0.010025802999734879, 0.012830737046897411, 0.013668526895344257, -0.028883812949061394, -0.020908044651150703, 0.011629900895059109, 0.018891731277108192, -0.006342833396047354, 0.009962465614080429, 0.011855607852339745, 0.016895297914743423, -0.004899127874523401, 0.009841066785156727, 0.01518440805375576, -0.014148185960948467, 0.033974193036556244, 0.006397997494786978, 0.014882552437484264, 0.019649429246783257, -0.029619397595524788, -0.02346467785537243, -0.017903804779052734, -0.006003538612276316, -0.019423171877861023, -0.03440188616514206, 0.0005643763579428196, 0.014574551954865456, -0.037096165120601654, -1.2948778937982297e-8, -0.03298944607377052, 0.023180775344371796, -0.01633802428841591, -0.0017692712135612965, 0.025744903832674026, 0.0013050275156274438, -0.045634590089321136, -0.01080666109919548, 0.02510407567024231, 0.01222989335656166, 0.0046068099327385426, -0.029838019981980324, -0.020558258518576622, 0.0366315096616745, 0.027221549302339554, -0.06996584683656693, -0.011038706637918949, 0.0058146314695477486, 0.00906386598944664, 0.00351148028858006, 0.009338787756860256, 0.051142461597919464, 0.013519244268536568, -0.021292248740792274, 0.033913545310497284, -0.018976332619786263, 0.011159868910908699, -0.056577298790216446, -0.008963511325418949, 0.03711525350809097, 0.015308316797018051, -0.025828013196587563, -0.04570040851831436, 0.024298066273331642, -0.020540662109851837, -0.035716135054826736, 0.010116568766534328, 0.03219688683748245, -0.012790353037416935, -0.004185081459581852, 0.0299005676060915, 0.01968376711010933, -0.008232150226831436, -0.009714092127978802, 0.023524200543761253, -0.014012359082698822, 0.001283174497075379, -0.006280628498643637, 0.01092792022973299, -0.0013650350738316774, -0.03817620500922203, 0.0031586047261953354, 0.007467892486602068, 0.007946107536554337, 0.016668783500790596, -0.01657382771372795, 0.019744539633393288, 0.00684993015602231, -0.036337967962026596, 0.013370293192565441, 0.04195459932088852, -0.012164170853793621, -0.017480138689279556, -0.026629433035850525 ]
legacy-code-sensing
https://markhneedham.com/blog/2009/11/10/legacy-code-sensing
false
2009-11-19 00:08:39
Two controllers, type conformance and the Liskov Substitution Principle
[ "coding" ]
[ "Coding" ]
An interesting object orientation related problem that http://twitter.com/raphscallion[Raph] and I were looking at recently revolved around the design of two controllers in the application we've been working on. The two controllers in question look roughly like this: [source,java] ---- public class GenericController extends Controller { private final SomeFactory someFactory; public GenericController(SomeFactory someFactory); this.someFactory = someFactory; } public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception { // do some stuff but never use 'request' or 'response' } } ---- [source,java] ---- public class MoreSpecificController extends GenericController { private final SomeFactory someFactory; public MoreSpecificController(SomeFactory someFactory); super(someFactory); } public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception { ... // do some stuff which does use 'request' String someValue = request.getParameter("someParameter"); } } ---- We noticed from the way that we wrote tests for these two classes that we seem to be breaking the principle of type conformance as defined in Meilir Page Jones' 'http://www.amazon.com/gp/product/020169946X?ie=UTF8&tag=marneesblo-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=020169946X[Fundamentals of Object Oriented Design in UML]' and more commonly referred to as the http://www.objectmentor.com/resources/articles/lsp.pdf[Liskov Substitution Principle]. The principle states: ____ If S is a true subtype of T, then S must conform to T. In other words, an object of type S can be provided in any context where an object of T is expected and correctness is still preserved when any accessor operation of the object is executed ____ This means that wherever we make use of 'GenericController' in our code it should be possible to pass in an instance of 'MoreSpecificController' and it would adhere to the same contract. Our tests for each of the controllers looked a bit like this: [source,java] ---- @Test public void someTest() { GenericController genericController = new GenericController(); genericController.handleRequest(null, null); // and so on } ---- [source,java] ---- @Test public void someTest() { MoreSpecificController moreSpecificController = new MoreSpecificController(); moreSpecificController.handleRequest(mock(HttpServletRequest.class), mock(HttpServletResponse.class)); // and so on } ---- In 'MoreSpecificController' we need to get a value from the request which means that we can't have it as null in the test. In 'GenericController' the request is actually irrelevant so we can pass in a null value. This means that the pre condition for 'MoreSpecificController' is stronger than the pre condition for 'GenericController' which violates the principle of contravariance which states the following: ____ Every operation's precondition is no stronger than the corresponding operation in the superclass. The strength of operation preconditions in the subclass goes in the opposite direction to the strength of the class invariant. That is, the operations preconditions get, if anything, weaker ____ The reason this might cause a problem is because if a client had a reference to a 'GenericController' they should expect that they can treat an instance of 'MoreSpecificController' as if it was a 'GenericController' which should mean that we can pass null values for request and response. We weren't ever referring to a 'GenericController' when we instantiated a 'MoreSpecificController' in our code base so it didn't prove to be a problem but in theory it seems like something we'd want to avoid.
null
null
[ -0.0065553863532841206, -0.022384123876690865, -0.0192090030759573, 0.015508243814110756, 0.044727809727191925, -0.008590609766542912, 0.053632233291864395, 0.007357284426689148, -0.015802579000592232, -0.037213437259197235, -0.01344575360417366, -0.025872059166431427, -0.06254635751247406, 0.03793732449412346, -0.03742091730237007, 0.06508107483386993, 0.06781356781721115, -0.010897980071604252, 0.020482126623392105, -0.01668558642268181, 0.007256731390953064, 0.04302677884697914, 0.0049744402058422565, 0.0036086170002818108, 0.04701300710439682, 0.032253339886665344, -0.0015400468837469816, 0.008567344397306442, -0.033696915954351425, -0.017221659421920776, 0.006870879326015711, 0.019315164536237717, -0.023351265117526054, -0.031682226806879044, -0.007627264130860567, -0.037109311670064926, -0.008456751704216003, -0.012501738965511322, -0.004252337384968996, -0.017127705737948418, -0.0627744048833847, 0.02930944785475731, -0.024868912994861603, -0.019021885469555855, -0.028155839070677757, -0.01568218506872654, -0.018202217295765877, 0.017386483028531075, -0.023468703031539917, 0.02278507687151432, -0.04283636435866356, 0.04040367528796196, -0.04618799313902855, 0.01753588207066059, 0.006801947019994259, 0.04859929159283638, -0.023295044898986816, -0.09801444411277771, 0.01934809610247612, -0.06715880334377289, 0.008819974027574062, -0.010104975663125515, 0.026949284598231316, 0.01525275968015194, -0.011786130256950855, 0.006513217464089394, -0.028689201921224594, 0.04002813622355461, -0.03328267112374306, -0.002009725896641612, -0.011935336515307426, -0.02449597418308258, 0.009538434445858002, 0.024953564628958702, 0.022656500339508057, -0.028848381713032722, -0.007312150206416845, 0.03825972229242325, -0.009023163467645645, 0.06314787268638611, -0.021335557103157043, -0.026499712839722633, 0.0332932323217392, 0.004640957806259394, 0.05146946758031845, -0.025263410061597824, -0.051678940653800964, -0.0005375972832553089, 0.006820909678936005, 0.03775796666741371, 0.038443423807621, -0.0365486666560173, -0.009379180148243904, 0.01694212667644024, -0.022759418934583664, -0.026911569759249687, -0.004793194588273764, -0.019074326381087303, -0.0015986384823918343, 0.0018460063729435205, -0.031132632866501808, 0.00911061093211174, 0.028300315141677856, 0.03179909661412239, -0.07839297503232956, -0.015468641184270382, -0.04812438413500786, -0.04528449475765228, -0.014037408865988255, 0.01503198966383934, -0.039755068719387054, 0.029481174424290657, -0.028587913140654564, -0.02101421169936657, -0.06367439776659012, 0.07859481871128082, 0.009044831618666649, -0.025543641299009323, 0.0014287475496530533, 0.07153709977865219, 0.02504734694957733, -0.007303194608539343, -0.012303934432566166, 0.06692174822092056, 0.01065558847039938, 0.05192982405424118, -0.04977276921272278, 0.06580061465501785, -0.009591305628418922, -0.06776810437440872, 0.03661734238266945, 0.0577361062169075, 0.007055323105305433, 0.02736944705247879, -0.02476331777870655, -0.03188016265630722, 0.0027491459622979164, -0.010772543959319592, 0.026514530181884766, 0.025397934019565582, -0.053799137473106384, -0.03353901579976082, -0.003153010969981551, -0.007247443776577711, 0.03253595903515816, 0.023698871955275536, 0.012649202719330788, -0.023072557523846626, -0.032032452523708344, 0.024818139150738716, 0.011316697113215923, 0.05408783629536629, 0.045839447528123856, -0.034431952983140945, 0.0056747570633888245, 0.0935361310839653, 0.0031322576105594635, 0.03114308975636959, 0.004281970206648111, -0.015382679179310799, 0.02926078997552395, 0.00946145411580801, -0.03249411657452583, 0.04426870122551918, 0.0417652428150177, 0.015397228300571442, -0.010036267340183258, 0.04529208689928055, 0.0015892378287389874, -0.041860342025756836, -0.06001606211066246, -0.07981153577566147, 0.04635198786854744, -0.045787885785102844, -0.028993705287575722, 0.016766946762800217, 0.07312672585248947, -0.015838943421840668, 0.08273348957300186, 0.02611495740711689, -0.07667284458875656, 0.03307392820715904, 0.031763605773448944, -0.0027543986216187477, 0.01765195094048977, -0.0003706894058268517, 0.06331993639469147, 0.020261965692043304, -0.03447231650352478, 0.023892845958471298, -0.051549032330513, -0.055883534252643585, -0.02126282826066017, 0.014207638800144196, 0.0588027648627758, -0.04010205343365669, -0.016956854611635208, 0.10483855754137039, 0.017715400084853172, 0.021559635177254677, 0.01098151970654726, -0.02205967903137207, 0.012892100028693676, -0.017951130867004395, -0.028193913400173187, 0.02248089388012886, 0.04093097895383835, -0.0023494663182646036, -0.03498636558651924, 0.014032436534762383, -0.0064332433976233006, -0.009981793351471424, 0.014340057969093323, -0.0187833309173584, 0.027615780010819435, 0.008671204559504986, 0.01585775427520275, -0.06589453667402267, 0.06446050107479095, -0.08344340324401855, 0.00221646879799664, -0.0021051575895398855, -0.021899504587054253, -0.017893480136990547, -0.02651003561913967, 0.12524889409542084, 0.03621218726038933, -0.015276724472641945, -0.04831292852759361, 0.0274705458432436, 0.0393725261092186, -0.057418763637542725, 0.00867537222802639, -0.02810288593173027, 0.024854600429534912, 0.04393203929066658, -0.016353832557797432, -0.011318742297589779, 0.016610614955425262, -0.030440518632531166, 0.01445296872407198, 0.10738854855298996, -0.03235919773578644, 0.04159998148679733, -0.012115061283111572, -0.028482694178819656, 0.00406177993863821, -0.034662146121263504, -0.04062322527170181, 0.005314419977366924, -0.020452314987778664, 0.003256348893046379, 0.05520017817616463, -0.043936531990766525, -0.023942094296216965, -0.012437843717634678, -0.02787616476416588, -0.010910903103649616, 0.019616099074482918, 0.06239529326558113, 0.006731265224516392, 0.06133962422609329, -0.011474867351353168, 0.041450053453445435, -0.028430169448256493, -0.06468206644058228, 0.00015337002696469426, 0.004276534076780081, -0.014437767677009106, 0.07673142850399017, 0.020525658503174782, -0.00884619727730751, 0.04375089332461357, 0.012953484430909157, -0.03464089706540108, -0.004941116087138653, 0.01603960432112217, 0.008748840540647507, -0.006854544393718243, -0.02127000316977501, -0.025226430967450142, 0.040704160928726196, -0.002188530983403325, -0.04789837822318077, 0.03068544901907444, -0.0782603919506073, 0.04429841786623001, -0.05872359871864319, -0.054779842495918274, -0.02000805176794529, 0.034851305186748505, 0.02034870907664299, -0.001248478190973401, 0.017424630001187325, 0.06753257662057877, 0.03154611960053444, -0.004004602320492268, 0.018515346571803093, 0.03062417544424534, 0.018859393894672394, -0.040614474564790726, 0.007213836535811424, 0.03274225443601608, 0.016618646681308746, 0.00938788615167141, -0.03257810324430466, 0.031082184985280037, 0.0023364464286714792, -0.24231737852096558, -0.009733707644045353, -0.01737351343035698, -0.03381415456533432, 0.026075175032019615, 0.02011762745678425, 0.021018341183662415, -0.05258221551775932, -0.03222576156258583, 0.046861905604600906, -0.0036769933067262173, -0.04729258269071579, 0.004334647674113512, 0.07573728263378143, -0.0015419473638758063, 0.010032053105533123, 0.009577457793056965, -0.021961208432912827, 0.0016479718033224344, 0.005130842328071594, -0.005043000914156437, -0.07603739202022552, 0.0037491510156542063, 0.051962971687316895, 0.024796171113848686, 0.04261239618062973, -0.10631004720926285, 0.049444530159235, -0.018245438113808632, 0.013132247142493725, 0.022678552195429802, -0.0017935496289283037, -0.009469835087656975, -0.009702333249151707, -0.015551907010376453, -0.02756628952920437, -0.027319248765707016, 0.03189340606331825, -0.0008471510373055935, 0.03879191726446152, -0.053011197596788406, -0.05795445293188095, -0.026042545214295387, 0.02035144902765751, 0.04134060814976692, -0.024311434477567673, -0.05272436514496803, -0.010162952356040478, -0.014449483714997768, 0.06276640295982361, -0.031163552775979042, -0.032763391733169556, 0.005818916019052267, 0.04227602109313011, -0.007442374713718891, -0.020926902070641518, 0.013787874020636082, -0.008869091048836708, -0.01923305168747902, -0.034462448209524155, 0.010778977535665035, -0.04221350699663162, -0.039710287004709244, -0.03594716638326645, -0.03145378828048706, -0.042806226760149, -0.054807692766189575, -0.02895152010023594, 0.02313995361328125, 0.02131698653101921, -0.02875296026468277, -0.0022192324977368116, -0.0011426997371017933, -0.12244994938373566, 0.013623625971376896, -0.04220101982355118, -0.033850107342004776, -0.031162936240434647, -0.012274668551981449, 0.031014854088425636, -0.024874184280633926, -0.032584693282842636, 0.009131276048719883, 0.010069262236356735, -0.0066962819546461105, -0.015330968424677849, 0.027526095509529114, -0.03187059983611107, 0.03194301575422287, 0.0007854155264794827, 0.05203092098236084, -0.020425641909241676, -0.00885272677987814, -0.03231130167841911, 0.0027038399130105972, 0.006749268621206284, 0.04359759762883186, -0.019262608140707016, -0.008195006288588047, 0.017015833407640457, 0.019207535311579704, -0.07198148220777512, 0.007922031916677952, 0.006940868217498064, 0.010316967964172363, -0.0482274554669857, -0.043057892471551895, 0.022986184805631638, 0.01663574017584324, 0.0008669079397805035, 0.0020944958087056875, -0.044864654541015625, 0.002992254449054599, -0.07124347984790802, -0.047046832740306854, -0.045678816735744476, -0.013014882802963257, 0.049913328140974045, 0.013359860517084599, -0.04499594122171402, -0.03452087938785553, 0.026039142161607742, 0.008559610694646835, -0.002485475968569517, -0.04350165277719498, -0.04005839303135872, 0.016755996271967888, -0.018594494089484215, -0.01446941401809454, 0.031605061143636703, -0.030190184712409973, 0.05242540314793587, 0.010768434032797813, -0.01881243847310543, -0.014496718533337116, 0.012677378952503204, -0.009835435077548027, -0.02111559920012951, 0.0039673554711043835, -0.039320208132267, -0.004462928511202335, 0.01060995738953352, 0.023182034492492676, 0.005640760064125061, 0.06386049091815948, -0.0026453204918652773, 0.051145218312740326, 0.0016811013920232654, -0.011977327056229115, 0.021348895505070686, 0.05091943219304085, -0.07882154732942581, 0.021857677027583122, -0.039374299347400665, -0.042343053966760635, -0.055854301899671555, 0.02048240788280964, 0.009188855066895485, 0.004667218774557114, -0.049975138157606125, 0.030147168785333633, -0.0658135786652565, -0.049593809992074966, -0.020757922902703285, -0.0003290510503575206, 0.06226082891225815, -0.021378202363848686, 0.04414074122905731, -0.01287506427615881, -0.0670662596821785, 0.00018145573267247528, -0.014792356640100479, 0.017751408740878105, 0.04649276286363602, -0.01798773743212223, -0.0037394200917333364, -0.0030652014538645744, 0.013766353949904442, 0.03231506794691086, 0.019871244207024574, -0.018066605553030968, 0.009822646155953407, 0.045200198888778687, 0.01719280518591404, 0.02860971726477146, 0.015423071570694447, -0.013119565322995186, -0.011900094337761402, 0.0055362144485116005, -0.026671288534998894, -0.024908630177378654, -0.002115948824211955, -0.006626658607274294, 0.05517147108912468, -0.01803656853735447, -0.08445200324058533, 0.024782083928585052, 0.0180993489921093, 0.0014480557292699814, -0.02116509899497032, -0.002388561610132456, 0.03853825107216835, -0.009121485985815525, -0.016840742900967598, 0.0308558139950037, -0.03665643557906151, 0.03796031326055527, 0.007415278349071741, 0.009022286161780357, 0.028808418661355972, 0.011568548157811165, -0.07775931805372238, 0.009396778419613838, -0.010708424262702465, -0.03576675429940224, -0.05593084916472435, -0.0013887508539482951, -0.005790002644062042, 0.020121987909078598, 0.016312861815094948, 0.007233497221022844, 0.010772033594548702, -0.008211656473577023, -0.02231018617749214, -0.034571900963783264, 0.024484768509864807, -0.025434115901589394, 0.0030430376064032316, 0.0422445610165596, -0.012755881994962692, 0.028361616656184196, -0.010548125952482224, 0.020556144416332245, 0.024802928790450096, -0.012286011129617691, -0.03884690999984741, -0.03377478942275047, 0.04331311956048012, 0.019827136769890785, 0.037708546966314316, 0.03581954538822174, -0.005598882678896189, -0.021464386954903603, -0.004199375864118338, -0.0018175847362726927, 0.05519036948680878, -0.006434756796807051, -0.020852401852607727, 0.007154023740440607, 0.04965849220752716, 0.03190598264336586, 0.042778145521879196, -0.003837236203253269, 0.025920875370502472, 0.057761672884225845, -0.05556700751185417, -0.03439340740442276, 0.01123957708477974, -0.040983669459819794, 0.030680030584335327, 0.02320053055882454, 0.04327646270394325, -0.02507694438099861, 0.07887114584445953, 0.04650647193193436, 0.035174787044525146, 0.04920097067952156, 0.01215633749961853, 0.0202290378510952, -0.059324972331523895, -0.0046304501593112946, -0.07556723058223724, 0.03420726954936981, 0.03745608031749725, 0.019871296361088753, -0.029540076851844788, -0.0567663349211216, -0.03852295130491257, 0.041000042110681534, -0.08343049138784409, -0.02868713065981865, -0.0005563206505030394, 0.01723850704729557, -0.011867504566907883, 0.017518065869808197, -0.04229307547211647, 0.05085710436105728, 0.03400981426239014, -0.051973339170217514, -0.030497344210743904, -0.028879042714834213, 0.04204614832997322, 0.04751765727996826, 0.018210986629128456, -0.0369354672729969, 0.019361328333616257, 0.08573216199874878, 0.01885170117020607, -0.0033274174202233553, 0.04673704504966736, -0.028699966147542, 0.027132976800203323, 0.02496599219739437, -0.005697099957615137, -0.03597933426499367, -0.005662557668983936, 0.020658060908317566, -0.07357287406921387, 0.02434498444199562, 0.025899121537804604, -0.0392785407602787, -0.059542715549468994, 0.04754707217216492, -0.009867621585726738, -0.005749559495598078, -0.006541851907968521, 0.0025694326031953096, -0.040402285754680634, -0.0394766703248024, -0.007253124378621578, -0.00943299476057291, 0.00920372549444437, 0.08945830166339874, -0.007615802343934774, 0.03639304265379906, 0.07505996525287628, 0.009804991073906422, -0.020733634009957314, -0.028961708769202232, 0.10595647245645523, 0.09560299664735794, 0.011251173913478851, -0.020914960652589798, 0.06484220921993256, -0.020067138597369194, -0.03637390956282616, 0.015278403647243977, -0.039650727063417435, -0.012100518681108952, -0.005222837906330824, -0.007909342646598816, 0.06425170600414276, 0.00336277112364769, 0.04308636114001274, -0.046885982155799866, 0.005908939056098461, 0.011083094403147697, 0.027162492275238037, 0.026497401297092438, 0.030847659334540367, 0.01441832073032856, 0.01774064265191555, -0.013804668560624123, -0.051743268966674805, -0.009048664011061192, 0.015880808234214783, -0.024478545412421227, 0.008753488771617413, -0.01474319864064455, 0.021505432203412056, 0.0061856284737586975, 0.028382612392306328, 0.06605744361877441, -0.02437511645257473, -0.022842586040496826, 0.013678614981472492, 0.005025230348110199, 0.000768583151511848, -0.023205094039440155, 0.032513391226530075, -0.0094669871032238, 0.008439906872808933, -0.030829815194010735, 0.0005778218037448823, -0.022369077429175377, -0.03644698113203049, 0.05547553300857544, 0.015108269639313221, 0.034892063587903976, -0.00028749959892593324, -0.011808839626610279, -0.03214433789253235, -0.04028986394405365, -0.05741378664970398, -0.03832521289587021, -0.0696050375699997, -0.03422597795724869, 0.0045709614641964436, -0.02177715301513672, -0.048064831644296646, -0.0430603101849556, -0.0033637748565524817, -0.014265934005379677, 0.04363701492547989, -0.02587815374135971, -0.025456596165895462, 0.033240750432014465, 0.015546009875833988, 0.00650374498218298, 0.02707083337008953, 0.05174208804965019, 0.029665004462003708, 0.006525559350848198, -0.07502786815166473, -0.007028620690107346, 0.02631939761340618, 0.01974278874695301, -0.001994385616853833, -0.05789634957909584, -0.008221845142543316, 0.030137356370687485, 0.003500965191051364, -0.06969939172267914, -0.009625948965549469, 0.009378161281347275, -0.01783399097621441, 0.027339685708284378, -0.04316069558262825, -0.0004537341301329434, -0.012976275756955147, -0.04368871822953224, 0.0191397275775671, 0.024744201451539993, 0.048199065029621124, -0.020642653107643127, 0.09690628200769424, 0.059700362384319305, -0.034533120691776276, -0.010057248175144196, 0.017761969938874245, 0.01249505765736103, 0.0077381315641105175, -0.03030117228627205, -0.04494226723909378, -0.04556470364332199, -0.04410591721534729, -0.014444959349930286, 0.059924978762865067, -0.03721597045660019, -0.025113796815276146, 0.020728852599859238, 0.06261240690946579, -0.03037327527999878, 0.007764069363474846, -0.032450854778289795, 0.055304162204265594, -0.011387703940272331, -0.020667238160967827, 0.0030357211362570524, 0.014167030341923237, 0.009418269619345665, 0.0023912861943244934, 0.0037119663320481777, -0.030879519879817963, -0.006749896332621574, -0.036153439432382584, 0.04840567335486412, 0.03345077857375145, -0.006790101062506437, 0.026451699435710907 ]
[ -0.06500601023435593, 0.011288820765912533, -0.038365043699741364, -0.041959043592214584, 0.025941703468561172, -0.040800534188747406, 0.05107995867729187, 0.025165656581521034, -0.02460058219730854, -0.01688956655561924, -0.02355235256254673, -0.04781889542937279, -0.018555501475930214, 0.007508860435336828, 0.10450852662324905, 0.005939356051385403, -0.02444390021264553, -0.037983499467372894, 0.03888905420899391, 0.028681166470050812, 0.05868014320731163, 0.0012127305381000042, -0.04198950156569481, -0.006706315092742443, 0.008209661580622196, 0.006412820890545845, 0.022503016516566277, -0.02387232705950737, 0.005141912959516048, -0.19696548581123352, 0.0016335430555045605, 0.00021812644263263792, -0.005742387846112251, -0.013019517995417118, -0.041418127715587616, 0.02676328830420971, 0.007354388013482094, 0.003988603129982948, 0.0074762869626283646, 0.034931737929582596, -0.009643496945500374, 0.05187329649925232, -0.03497263416647911, -0.03663797676563263, 0.02094312198460102, 0.007143008057028055, 0.006212751381099224, -0.005334505345672369, -0.020772164687514305, -0.027461273595690727, -0.05143372714519501, -0.015871144831180573, 0.01741686649620533, -0.011067760176956654, 0.020734131336212158, 0.031621817499399185, 0.05707350745797157, 0.06998338550329208, 0.0005643594195134938, 0.020108632743358612, 0.021740512922406197, -0.050793662667274475, -0.11737431585788727, 0.09744004905223846, 0.027825554832816124, 0.0556863509118557, 0.004159681964665651, -0.006262428127229214, -0.0031839620787650347, 0.060463741421699524, 0.01938595622777939, -0.010284354910254478, -0.022806724533438683, 0.02394755743443966, -0.013176292181015015, 0.005545288790017366, -0.010813124477863312, 0.011977947317063808, 0.0594196580350399, -0.061174239963293076, -0.04341065138578415, -0.041314996778964996, 0.02328125387430191, -0.016697542741894722, -0.024532726034522057, 0.04480909928679466, 0.004898817278444767, 0.00840094592422247, 0.054918073117733, 0.04675763472914696, 0.0058735329657793045, -0.011099454015493393, 0.0363280326128006, -0.009054317139089108, -0.07355997711420059, 0.04287838935852051, -0.038054969161748886, -0.0035641200374811888, -0.04296540841460228, 0.4318685829639435, 0.006479659117758274, -0.05371641367673874, 0.05120491608977318, 0.03755858168005943, -0.012843040749430656, 0.025346068665385246, -0.016567343845963478, -0.06943950057029724, 0.0021419492550194263, -0.040884148329496384, -0.009189695119857788, -0.017372526228427887, -0.008704724721610546, -0.04257574304938316, -0.04530417174100876, -0.01187975239008665, 0.02968665398657322, 0.041463397443294525, -0.014805893413722515, -0.03219589591026306, -0.047316741198301315, 0.012407195754349232, 0.02612018585205078, 0.030204765498638153, -0.011647512204945087, -0.04598742350935936, 0.011652098968625069, 0.06172497943043709, 0.04946676641702652, 0.0015104201156646013, 0.04137648269534111, -0.0291468296200037, -0.09258326143026352, -0.03473334014415741, 0.0139373280107975, 0.03219693899154663, 0.04089288040995598, 0.011308141984045506, 0.0033625378273427486, 0.0006936314748600125, -0.024939965456724167, -0.025279156863689423, 0.017690816894173622, -0.04262324422597885, -0.06283917278051376, 0.1137944906949997, -0.023045485839247704, -0.026786550879478455, -0.002657468430697918, -0.010618106462061405, -0.0014344726223498583, 0.06298434734344482, 0.0028361226432025433, -0.040112704038619995, 0.029088249430060387, 0.03588464856147766, 0.030437523499131203, 0.01908751204609871, -0.031950682401657104, -0.047428276389837265, -0.022767648100852966, 0.027897818014025688, -0.03311922401189804, 0.03954782709479332, 0.03582187741994858, -0.130470871925354, -0.02494717761874199, 0.012763424776494503, -0.002079899189993739, -0.026677079498767853, -0.03344880789518356, 0.02379796653985977, -0.007574832532554865, -0.01837371289730072, 0.06625019758939743, -0.006756535265594721, -0.0323178805410862, -0.010709169320762157, 0.018243396654725075, 0.061414722353219986, 0.018752550706267357, 0.010770159773528576, -0.04851321503520012, 0.0017509072786197066, -0.019094467163085938, -0.048405930399894714, -0.05121153965592384, -0.004178465809673071, -0.011216538958251476, -0.036634717136621475, -0.03381059318780899, -0.048555780202150345, -0.09405919909477234, 0.07329800724983215, 0.0011707008816301823, -0.018449192866683006, 0.04065043106675148, -0.005909752566367388, 0.028574151918292046, -0.02779940702021122, 0.01654135435819626, 0.0845484510064125, -0.015554524026811123, 0.020248007029294968, -0.04488972947001457, 0.03650674596428871, 0.049128059297800064, -0.025598429143428802, 0.026999108493328094, 0.009851356968283653, -0.0846342071890831, -0.021412458270788193, -0.028914568945765495, 0.04525521770119667, -0.017870362848043442, 0.008642449975013733, 0.0035558724775910378, 0.043480370193719864, 0.01652011089026928, -0.0006687106215395033, -0.06461210548877716, -0.0009168472606688738, 0.027172287926077843, -0.3302626609802246, -0.035148125141859055, -0.010248502716422081, -0.016725264489650726, 0.030529579147696495, -0.07279190421104431, -0.009811200201511383, -0.011671675369143486, -0.008226459845900536, -0.04842093586921692, 0.09192946553230286, 0.02875027433037758, -0.012757238000631332, -0.07863423228263855, -0.001635354827158153, 0.048878125846385956, -0.026551537215709686, -0.057131730020046234, -0.040730416774749756, -0.002627776935696602, -0.02648610807955265, 0.003356208559125662, 0.02129269577562809, -0.051934629678726196, -0.006020130589604378, -0.06614229828119278, 0.09245233982801437, -0.021707551553845406, 0.1126655787229538, -0.046851783990859985, 0.04398505017161369, 0.020948030054569244, 0.04050438106060028, -0.060657911002635956, 0.031939174979925156, -0.04218961298465729, -0.03238864615559578, -0.006108011584728956, 0.04288521781563759, -0.0023740502074360847, -0.05930766835808754, 0.023533735424280167, -0.026850800961256027, -0.03856483846902847, -0.010303388349711895, -0.014476703479886055, -0.013187488541007042, -0.03871217742562294, 0.0029542900156229734, 0.07325279712677002, -0.04811890050768852, -0.015276766382157803, 0.024810360744595528, 0.02242746576666832, -0.013686067424714565, -0.013429487124085426, -0.06141698732972145, -0.034457381814718246, 0.014224361628293991, 0.015347269363701344, 0.012982474640011787, 0.08126888424158096, 0.042848989367485046, -0.04240061715245247, -0.01359404157847166, 0.023780368268489838, -0.00038977706572040915, -0.0006426064646802843, 0.03852421045303345, -0.029171021655201912, -0.015458714216947556, 0.13904377818107605, 0.0014135281089693308, 0.020507024601101875, 0.014399703592061996, 0.05895567312836647, 0.023358166217803955, -0.021856846287846565, 0.020997917279601097, 0.008970284834504128, -0.022762099280953407, 0.03056391514837742, 0.03427395224571228, -0.017723260447382927, 0.010004780255258083, 0.03405236080288887, -0.011613373644649982, -0.044159289449453354, 0.0394032821059227, -0.020052796229720116, -0.020954113453626633, -0.03447386994957924, -0.03141398727893829, -0.057389646768569946, 0.060359321534633636, 0.00442314799875021, -0.2439044862985611, 0.011316930875182152, 0.07348674535751343, 0.0520002655684948, -0.013181650079786777, 0.06027360260486603, 0.03483331575989723, -0.09192942827939987, -0.017810098826885223, -0.003392971120774746, 0.0647239238023758, 0.024210408329963684, 0.054959747940301895, 0.04076458141207695, 0.042621832340955734, -0.002949097892269492, 0.028687532991170883, -0.03462039679288864, 0.07379796355962753, -0.04999641701579094, -0.007615662645548582, 0.017137877643108368, 0.1651696115732193, -0.008890127763152122, 0.044223569333553314, 0.02267642691731453, -0.009935062378644943, -0.009832136332988739, 0.07374344021081924, 0.019469313323497772, 0.014436019584536552, -0.0025798578280955553, 0.10173194855451584, -0.006299640983343124, 0.06025254726409912, -0.07572566717863083, -0.005079113878309727, 0.01940579153597355, 0.009899601340293884, 0.006608825176954269, -0.023496584966778755, 0.03075135312974453, -0.038808438926935196, -0.0014859691727906466, 0.06671552360057831, -0.0030673574656248093, -0.04630070924758911, -0.014068746007978916, -0.04343479126691818, 0.0033478252589702606, -0.013219613581895828, -0.0523093044757843, -0.0172220841050148, 0.011164218187332153, 0.009261928498744965, 0.04519589617848396, -0.005405268166214228, -0.015266225673258305, -0.06319685280323029, 0.02131306566298008, 0.035423677414655685, 0.0031883944757282734, 0.07493186742067337, 0.018909672275185585, 0.04330410808324814 ]
[ -0.02381972037255764, -0.006808499805629253, -0.009246326051652431, -0.01549433171749115, 0.004486389923840761, 0.019041821360588074, -0.008258860558271408, 0.020371589809656143, 0.01385416928678751, 0.017263581976294518, 0.02126871608197689, 0.03049091435968876, 0.007779635023325682, -0.015048256143927574, 0.02449464425444603, -0.008861428126692772, 0.025921780616044998, -0.0011144044110551476, 0.013384228572249413, 0.006730984430760145, -0.00887272134423256, 0.05684206262230873, 0.008837330155074596, -0.004259010776877403, -0.057492878288030624, 0.025180043652653694, -0.021722692996263504, -0.008099948056042194, 0.026478271931409836, -0.14234735071659088, -0.0009995389264076948, -0.014856763184070587, -0.013949775137007236, 0.019005978479981422, -0.05619550123810768, -0.018715674057602882, 0.014162145555019379, -0.011243637651205063, 0.004834732040762901, -0.038389336317777634, -0.0044105746783316135, 0.004562720190733671, 0.0018024560995399952, 0.006136494223028421, -0.026771416887640953, 0.018568310886621475, -0.009695760905742645, -0.04075426235795021, -0.01868545264005661, -0.046836007386446, 0.002044286346063018, 0.0007508787675760686, 0.02584509551525116, -0.025449810549616814, -0.00946084875613451, -0.00963626615703106, -0.02376309223473072, 0.009278127923607826, 0.02174784429371357, 0.020362192764878273, -0.007156627718359232, 0.00824484508484602, -0.034588173031806946, -0.016416525468230247, 0.00512495543807745, -0.050372421741485596, 0.0016518369084224105, -0.0008752886787988245, -0.004349275957792997, -0.023074457421898842, -0.016488177701830864, 0.011240043677389622, -0.017583414912223816, 0.0152773167937994, 0.030855098739266396, -0.02902250364422798, 0.03007667139172554, -0.006150864064693451, 0.03070416860282421, -0.026508281007409096, -0.02600349672138691, 0.02401828020811081, 0.011401431635022163, 0.026542942970991135, 0.015538361854851246, -0.03609279915690422, -0.003578987903892994, 0.013937853276729584, 0.056072305887937546, 0.011924167163670063, -0.0026077087968587875, 0.021633943542838097, -0.025476951152086258, 0.03096950240433216, -0.07463273406028748, -0.003412676975131035, -0.019051646813750267, -0.047709569334983826, -0.01717960089445114, 0.8569521903991699, -0.006800584960728884, 0.028127022087574005, 0.037610627710819244, 0.02361603081226349, 0.037580206990242004, 0.009858647361397743, -0.0036806699354201555, 0.002085839631035924, 0.011975346133112907, -0.030123302713036537, 0.038664527237415314, 0.01057477854192257, 0.02069932408630848, 0.021644659340381622, 0.014974855817854404, -0.005850136745721102, 0.006470321677625179, 0.010015261359512806, -0.020291421562433243, 0.017990853637456894, -0.016816478222608566, -0.03770517185330391, 0.015263291075825691, -0.002729265484958887, 0.006282278802245855, -0.1828767955303192, -0.007440300192683935, -8.564047929868452e-33, 0.009940273128449917, 0.002789465244859457, 0.005312697030603886, 0.021425658836960793, 0.03390601649880409, 0.007521185092628002, 0.03866841644048691, 0.03585008159279823, 0.05199216306209564, -0.03873388469219208, -0.014906303025782108, -0.03574664890766144, -0.0337962843477726, -0.02375449612736702, 0.03366724029183388, -0.035938311368227005, -0.020912785083055496, 0.03893021494150162, -0.016284165903925896, 0.021716857329010963, 0.02441042847931385, 0.04837177321314812, 0.02158503234386444, -0.020917782559990883, 0.026164844632148743, 0.02782803773880005, 0.011144869960844517, 0.00030618219170719385, -0.0208942499011755, -0.03772712126374245, 0.033856797963380814, -0.004519588313996792, -0.022297395393252373, -0.026702286675572395, 0.037518154829740524, -0.02344265580177307, 0.012653338722884655, 0.003833702765405178, -0.022465232759714127, -0.033026669174432755, -0.038404520601034164, -0.010712826624512672, -0.0516318678855896, 0.033253852277994156, -0.020919494330883026, -0.03240972012281418, 0.020418813452124596, 0.04255128279328346, 0.015052637085318565, -0.0071764299646019936, -0.02788030169904232, 0.02314617857336998, 0.002120987046509981, -0.04037861526012421, -0.01778150536119938, 0.0337236225605011, -0.00744152395054698, 0.0466344878077507, 0.018148869276046753, -0.0061979833990335464, -0.009249972179532051, -0.02409673109650612, -0.027445314452052116, 0.005594971589744091, -0.005125985015183687, -0.023195011541247368, -0.013075508177280426, -0.03293398767709732, 0.03098367340862751, 0.008003683760762215, -0.0338439866900444, -0.013992272317409515, -0.004598005209118128, 0.0028878275770694017, 0.0156355332583189, -0.02725350856781006, 0.010094335302710533, 0.03753776103258133, 0.033248450607061386, 0.01013906579464674, 0.02687406726181507, 0.015108375810086727, 0.015219811350107193, -0.006863626651465893, 0.023546798154711723, -0.008113591931760311, 0.020408354699611664, -0.031831346452236176, 0.004345111083239317, 0.022242754697799683, 0.03300987184047699, 0.0310976579785347, -0.005539333447813988, -0.015823442488908768, 0.0022103283554315567, 8.45030415774701e-33, -0.009808700531721115, -0.018620504066348076, -0.02461310662329197, 0.0035461236257106066, 0.011684738099575043, -0.026846231892704964, -0.008038782514631748, 0.04472929984331131, -0.06434906274080276, -0.0012280058581382036, -0.03661255165934563, 0.007932132109999657, -0.0011601847363635898, -0.003461453365162015, 0.031246783211827278, -0.024565471336245537, 0.024810904636979103, 0.003876701695844531, 0.024903299286961555, -0.006156644783914089, 0.011756181716918945, 0.019772008061408997, 0.03151065111160278, 0.0019291258649900556, 0.008047975599765778, 0.034022923558950424, -0.04278719425201416, 0.02476859651505947, 0.0008084657602012157, -0.011558656580746174, 0.010288328863680363, -0.01675521954894066, 0.040060512721538544, -0.009373843669891357, -0.0032213274389505386, -0.0001664832525420934, 0.004450459033250809, -0.004806956276297569, 0.019124917685985565, 0.007245476357638836, 0.031150206923484802, -0.036016158759593964, 0.02036244608461857, 0.016245385631918907, 0.020555634051561356, -0.012325428426265717, -0.0003780565457418561, -0.0007258461555466056, -0.008145637810230255, -0.005500956904143095, -0.009495614096522331, -0.015660781413316727, 0.006809541489928961, 0.019014647230505943, 0.018031379207968712, -0.020504435524344444, -0.013212163001298904, -0.007085284683853388, 0.0011405631667003036, 0.012403368949890137, -0.007911463268101215, -0.005547539796680212, -0.019118601456284523, 0.0030409342143684626, 0.003638561349362135, 0.004689715802669525, -0.00762451346963644, -0.0046303728595376015, 0.0389803908765316, 0.001253696857020259, -0.03320036083459854, -0.0281185582280159, 0.011961444281041622, -0.0067383889108896255, 0.05788588896393776, -0.03438533470034599, 0.005533162970095873, -0.023426828905940056, -0.0030872186180204153, -0.012937810271978378, -0.019074616953730583, -0.03389280289411545, 0.014034358784556389, 0.0029601852875202894, 0.012411362491548061, 0.010357964783906937, -0.02339794673025608, 0.004187519196420908, 0.00794205628335476, -0.004454432055354118, -0.013585244305431843, -0.005058758892118931, 0.03312156721949577, 0.021749969571828842, 0.002560683758929372, -1.3650109487173268e-8, 0.001008800114504993, 0.01796693541109562, 0.004527256824076176, 0.001639821450226009, 0.030574079602956772, 0.020790945738554, -0.03643583133816719, -0.04650931805372238, -0.031971246004104614, 0.018688105046749115, 0.023175494745373726, 0.01953314244747162, 0.024018630385398865, -0.0031383810564875603, 0.042790431529283524, -0.045361731201410294, -0.03441844508051872, -0.01433640718460083, 0.018844425678253174, -0.008863767609000206, 0.009244919754564762, 0.030063003301620483, -0.013732412829995155, 0.016885370016098022, 0.028322361409664154, 0.0397624671459198, -0.01168749574571848, -0.08912186324596405, 0.0012631738791242242, -0.016637001186609268, -0.01148009579628706, -0.009235159493982792, -0.04371950775384903, 0.032080695033073425, -0.018680181354284286, 0.004446664359420538, -0.006807842757552862, -0.005260490346699953, -0.0010267378529533744, 0.0055195945315063, 0.023754145950078964, 0.03183102607727051, 0.010773285292088985, -0.0022691763006150723, -0.002342072781175375, 0.029537824913859367, 0.008010410703718662, 0.004426988773047924, 0.016134215518832207, -0.007336607668548822, -0.019945332780480385, 0.0015901512233540416, -0.0015019497368484735, 0.016828220337629318, -0.04959674924612045, -0.01546155009418726, 0.004412590526044369, -0.03505967929959297, -0.0038363009225577116, -0.03034735843539238, 0.03277544677257538, 0.012853329069912434, -0.040437523275613785, -0.036416471004486084 ]
two-controllers-type-conformance-and-the-liskov-substitution-principle
https://markhneedham.com/blog/2009/11/19/two-controllers-type-conformance-and-the-liskov-substitution-principle
false
2009-11-21 22:11:22
Clojure: Checking for a nil value in a collection
[ "clojure" ]
[ "Clojure" ]
Something which I wanted to do recently was write a function that would indicate whether a collection contained a nil value. I initially incorrectly thought the 'http://clojure.org/api#toc170[contains?]' function was the one that I wanted: [source,lisp] ---- (contains? '(1 nil 2 3) nil) => false ---- I thought it would work the same as the Java equivalent but that function actually checks whether a key exists in a collection rather than a value. It's more useful when dealing with maps. There's http://groups.google.com/group/clojure/browse_frm/thread/49173d05a6781f62/47084ba4eec07c26?lnk=gst&q=contains%3F#47084ba4eec07c26[more discussion on the consistency of the API on the mailing list]. Luckily the documentation guides us towards the 'http://clojure.org/api#toc523[some]' function: My first attempt was to write an anonymous function to check if there was a 'nil' in the list: [source,lisp] ---- (some #(= % nil) '(1 nil 2 3)) => true ---- [source,lisp] ---- (some #(= % nil) '(1 2 3)) => nil ---- http://twitter.com/fogus/status/5904916921[fogus showed me an even better way] by making use of the built in 'http://clojure.org/api#toc388[nil?]' function: [source,lisp] ---- (some nil? '(1 nil 2 3)) ---- Another approach would be to make use of the Java 'contains' method as http://twitter.com/philip_schwarz[Philip Schwarz] http://twitter.com/philip_schwarz/statuses/5905264987[pointed out]: [source,lisp] ---- (.contains '(1 nil 2 3) nil) => true ---- I noticed that when you use Java methods in Clojure with collections then the result will either be 'true' or 'false' whereas when you use Clojure built in functions then it's more likely to be 'true' or 'nil'. I guess this is linked to the idea that http://www.markhneedham.com/blog/2009/11/20/clojure-a-few-things-ive-been-tripping-up-on/['nil' is false in Clojure] so it doesn't make much difference what the return value is. When I'm using a language I've got into the habit of just trying out the API in the way that I expect it to work rather than paying a lot of attention to what the API documentation says. I think this is something I'll need to work out to avoid much frustration!
null
null
[ -0.008709246292710304, -0.006897434126585722, -0.039693158119916916, 0.01942562684416771, 0.07889898121356964, -0.0029345564544200897, -0.0035331815015524626, 0.012310965918004513, -0.010907409712672234, -0.008632098324596882, -0.04873797297477722, 0.0010862546041607857, -0.06163756921887398, 0.03977707028388977, 0.019373534247279167, 0.05291472002863884, 0.07592437416315079, -0.024423468858003616, 0.028825342655181885, 0.018953653052449226, 0.027581917122006416, 0.056685782968997955, 0.004427487961947918, -0.017681173980236053, 0.03389349952340126, 0.00008557864930480719, 0.007220147177577019, 0.01932830736041069, -0.06645523756742477, -0.019461164250969887, 0.024198053404688835, 0.027642950415611267, -0.0038500623777508736, -0.022787155583500862, -0.0026327038649469614, -0.011890167370438576, 0.00795703288167715, -0.004016885068267584, -0.021276941522955894, 0.04649939388036728, -0.03141586855053902, 0.034588608890771866, -0.014332679100334644, 0.0183706134557724, -0.04009338095784187, 0.04288691654801369, -0.05382131412625313, 0.02719559520483017, -0.018222983926534653, 0.0003032778622582555, -0.03130684047937393, 0.008465244434773922, -0.016293920576572418, -0.009422401897609234, 0.0064179799519479275, 0.0367385633289814, 0.015840956941246986, -0.09844288229942322, 0.040587909519672394, -0.020735574886202812, -0.004951843526214361, -0.0023974869400262833, 0.009824879467487335, 0.017723890021443367, 0.0012335173087194562, -0.012217536568641663, -0.046278491616249084, 0.04010120406746864, -0.06755951792001724, -0.019319066777825356, 0.011752319522202015, 0.015429145656526089, -0.03328290954232216, -0.021074876189231873, 0.03823023661971092, -0.04019071161746979, 0.0015920435544103384, 0.06191529706120491, -0.008404810912907124, 0.03573177382349968, -0.01973607949912548, 0.01914714276790619, 0.046501364558935165, 0.02780464105308056, 0.03165200725197792, -0.03165976330637932, -0.03430204465985298, -0.004241688642650843, -0.008091624826192856, 0.030552027747035027, 0.04345002397894859, -0.047378286719322205, -0.0011412686435505748, -0.013368923217058182, -0.006474280264228582, 0.001359475776553154, -0.0118539584800601, 0.0011092879576608539, -0.02783728949725628, 0.0006410227506421506, -0.016185540705919266, -0.05867985635995865, -0.012244438752532005, 0.0037458273582160473, -0.09187647700309753, -0.020954495295882225, 0.015000761486589909, -0.008502795360982418, 0.016390085220336914, -0.006977415643632412, -0.043333157896995544, 0.04316730052232742, -0.040390174835920334, 0.007886197417974472, -0.04839019104838371, 0.036630161106586456, -0.011345612816512585, -0.03893281891942024, -0.02509237267076969, 0.044657543301582336, 0.04130663722753525, 0.02708982676267624, 0.007550270762294531, 0.07067582756280899, 0.017446186393499374, 0.02968515083193779, -0.025951702147722244, 0.07565515488386154, -0.0003292544570285827, -0.05389256030321121, -0.03228331729769707, 0.06820458918809891, -0.010745949111878872, -0.03172752633690834, -0.013549001887440681, -0.039845723658800125, -0.05000387877225876, -0.000617282057646662, 0.05621521174907684, 0.024454476311802864, 0.0011580822756513953, -0.015528159216046333, -0.002618045313283801, -0.013005554676055908, 0.044985733926296234, 0.010453280061483383, -0.035293977707624435, 0.004355620127171278, -0.008328775875270367, 0.019745325669646263, 0.015552228316664696, 0.01761453226208687, 0.05882078409194946, -0.00929506216198206, 0.02138444408774376, 0.06875304877758026, -0.00005864768900210038, 0.051526982337236404, -0.019233088940382004, 0.02251623570919037, 0.028709568083286285, 0.03914410248398781, -0.005643072538077831, 0.03439292311668396, 0.02587948739528656, -0.0020565318409353495, 0.00013060063065495342, 0.06611348688602448, 0.007255888544023037, -0.02886512503027916, -0.04638371616601944, -0.0561552532017231, 0.07031751424074173, -0.008182292804121971, 0.0012050216319039464, 0.0025569130666553974, 0.07327058166265488, -0.009733716025948524, 0.06115791201591492, 0.006973688490688801, -0.057571154087781906, 0.026423798874020576, 0.0011213652323931456, 0.01583225093781948, -0.012755007483065128, -0.023788707330822945, 0.059364598244428635, 0.01547340489923954, 0.014149169437587261, 0.002853684825822711, -0.07997596263885498, -0.05659501254558563, -0.027595313265919685, -0.0070829992182552814, 0.0768200159072876, -0.02686258777976036, -0.004736008122563362, 0.04288054630160332, -0.0021126053761690855, 0.03301342576742172, 0.054419633001089096, -0.005397021304816008, 0.0003828280314337462, -0.04723199084401131, -0.041034068912267685, 0.07313109934329987, 0.039353836327791214, -0.027722397819161415, -0.03939151018857956, 0.02677454799413681, 0.01810709945857525, 0.011742056347429752, 0.07378118485212326, -0.012326491065323353, 0.032411638647317886, 0.008244909346103668, 0.04429392144083977, -0.04308457300066948, 0.0442621223628521, -0.03902381658554077, 0.028568141162395477, 0.03845251724123955, 0.0387585423886776, 0.020189441740512848, 0.002470567123964429, 0.1341170221567154, 0.04860581085085869, -0.015367580577731133, -0.06149505823850632, 0.01860620826482773, 0.00014711313997395337, -0.04935051128268242, -0.002286046976223588, -0.022228246554732323, -0.0035824342630803585, 0.007888760417699814, -0.007838858291506767, -0.020701132714748383, 0.024312298744916916, -0.039097633212804794, -0.029055096209049225, 0.08019543439149857, -0.007321612909436226, 0.06394807994365692, 0.014124978333711624, -0.02091069146990776, -0.02099052630364895, -0.05062415450811386, -0.062014758586883545, 0.025745410472154617, 0.008606837131083012, -0.011877763085067272, 0.03894205391407013, -0.05252062901854515, -0.03668956086039543, -0.005220877937972546, -0.04364464059472084, 0.029981421306729317, 0.05998146906495094, 0.05131901428103447, -0.029730582609772682, 0.06299837678670883, -0.018925007432699203, -0.025764258578419685, -0.033839572221040726, -0.04848715662956238, -0.004048235714435577, 0.013697931542992592, 0.004228790756314993, 0.02247769571840763, 0.031191878020763397, -0.009342300705611706, 0.008653097786009312, 0.008834954351186752, 0.0037691236939281225, 0.008423644118010998, 0.020102303475141525, 0.01717972196638584, -0.02391478791832924, -0.047760166227817535, -0.03860042244195938, 0.06692790985107422, -0.024098535999655724, -0.022977977991104126, -0.02759522572159767, -0.06016065552830696, 0.06711757928133011, -0.06702826172113419, -0.03971520811319351, 0.0008701907936483622, 0.0332815982401371, 0.017619812861084938, -0.02456047758460045, 0.023629946634173393, 0.0536075122654438, 0.004903961904346943, -0.0049150423146784306, 0.031026115640997887, 0.006552799139171839, 0.020303256809711456, -0.04359230026602745, -0.005280880723148584, 0.04723304510116577, 0.006232278421521187, -0.010960333980619907, -0.02108294889330864, 0.006995204370468855, -0.0006908858194947243, -0.24603497982025146, 0.056222718209028244, -0.031463854014873505, -0.02730465866625309, 0.015896102413535118, -0.025681503117084503, -0.015506992116570473, -0.022284694015979767, 0.004582955501973629, 0.025272687897086143, -0.022048616781830788, 0.0056289187632501125, -0.018500905483961105, 0.0625060424208641, 0.020545274019241333, -0.024174226447939873, -0.004432608839124441, -0.05337436869740486, -0.011921635828912258, 0.03189650923013687, -0.019108008593320847, -0.05737540125846863, 0.024812480434775352, 0.05177316069602966, 0.009850990027189255, 0.0663432776927948, -0.07788774371147156, 0.017335103824734688, -0.04698336869478226, -0.009703860618174076, 0.006844646763056517, -0.01533898152410984, -0.016669226810336113, -0.06262524425983429, -0.03345315158367157, -0.020320149138569832, 0.027888653799891472, 0.018689902499318123, 0.02674078568816185, 0.06422136723995209, -0.022677209228277206, -0.03231515735387802, -0.0023492237087339163, -0.008071018382906914, 0.08393684029579163, -0.003900141455233097, -0.0837043821811676, -0.021251045167446136, -0.034530557692050934, 0.06984227895736694, -0.009042198769748211, -0.02866213023662567, -0.007438532542437315, 0.05542878061532974, -0.005923986900597811, -0.01267067901790142, -0.04957975447177887, -0.02023455500602722, -0.06330583989620209, -0.025456160306930542, -0.01947081834077835, -0.0436784103512764, -0.02699204534292221, -0.01884646713733673, -0.055120088160037994, -0.04170690476894379, -0.05567500740289688, 0.00087561464169994, 0.06026173010468483, -0.00444030249491334, -0.01637772098183632, -0.02880098484456539, -0.02339663729071617, -0.10575759410858154, -0.043942008167505264, -0.02888835221529007, -0.03160804137587547, -0.02576357126235962, -0.004515866748988628, 0.022751126438379288, -0.059761274605989456, -0.0437915213406086, 0.014073827303946018, 0.03751009702682495, 0.03262710943818092, -0.00017128334729932249, 0.007699951995164156, -0.018069002777338028, -0.022137219086289406, -0.020350759848952293, 0.05672188475728035, -0.003832703223451972, -0.033203382045030594, -0.015178317204117775, 0.005862438585609198, 0.057290900498628616, 0.049429211765527725, 0.012994032353162766, 0.0216510072350502, 0.05855735018849373, 0.05909831076860428, -0.04132402315735817, 0.023028763011097908, -0.01583671011030674, -0.011482655070722103, 0.015390162356197834, -0.04565839469432831, 0.02049272321164608, 0.0092531843110919, -0.01398040633648634, -0.04912905395030975, -0.047613177448511124, 0.006371473893523216, -0.07078046351671219, -0.03951714187860489, -0.041429318487644196, 0.0056348200887441635, 0.026987463235855103, 0.05438541620969772, -0.01967214047908783, -0.0641600638628006, 0.01021015364676714, 0.030480219051241875, -0.026681018993258476, -0.06152929365634918, -0.033295679837465286, 0.0015180946793407202, -0.0237114280462265, -0.0047815837897360325, 0.024843892082571983, -0.012015444226562977, 0.033366475254297256, 0.009821438230574131, -0.02872220054268837, 0.014962935820221901, -0.02110704779624939, -0.0176948681473732, -0.024731731042265892, -0.030908828601241112, -0.03287985175848007, 0.009039895609021187, -0.04333227500319481, 0.014875384047627449, 0.028063546866178513, 0.03397960588335991, -0.015308771282434464, 0.01128145307302475, 0.009014108218252659, -0.004653857089579105, 0.037386611104011536, -0.01384834572672844, -0.043968528509140015, 0.06887760013341904, -0.026561137288808823, -0.024220682680606842, -0.015918539837002754, 0.03198910877108574, -0.027894504368305206, -0.046766169369220734, -0.04800029844045639, 0.03583257272839546, -0.014469241723418236, -0.008383470587432384, -0.011650454252958298, -0.023882806301116943, 0.036436546593904495, -0.015818944200873375, 0.050596848130226135, -0.01903904415667057, -0.013817748986184597, -0.014575873501598835, -0.022079112008213997, -0.0010873699793592095, 0.039142072200775146, 0.007572246249765158, -0.011492995545268059, -0.016388993710279465, 0.032384514808654785, 0.013017243705689907, -0.0013933662557974458, -0.013429711572825909, -0.014567987993359566, 0.05096244812011719, 0.012232080101966858, 0.03515608608722687, 0.02136782743036747, 0.00483627337962389, 0.01276376098394394, 0.0037448916118592024, -0.01917940191924572, -0.040603913366794586, -0.024046512320637703, -0.022794121876358986, 0.020445577800273895, -0.038563329726457596, -0.1049589142203331, 0.01940545253455639, 0.018555641174316406, 0.02474050223827362, -0.009670021943747997, 0.01876506209373474, -0.03997232764959335, -0.04029643535614014, -0.01013352070003748, 0.061028264462947845, -0.05758795142173767, 0.0069448500871658325, 0.000007628850198670989, -0.0029287701472640038, 0.0561109259724617, -0.004205706994980574, -0.06993872672319412, -0.004988447763025761, 0.022281156852841377, 0.014637076295912266, 0.003286151448264718, -0.011028573848307133, 0.015146929770708084, 0.021834416314959526, -0.04009212553501129, -0.013468647375702858, -0.027170594781637192, -0.017476879060268402, 0.0028003156185150146, 0.008624326437711716, -0.006105886772274971, -0.005955721251666546, -0.005464076530188322, 0.011254924349486828, -0.048836976289749146, 0.029297031462192535, -0.048354897648096085, 0.04668933153152466, 0.012450627982616425, -0.015524421818554401, -0.002165541984140873, -0.029089313000440598, 0.03196574002504349, -0.0491926446557045, 0.0682593435049057, -0.017442412674427032, -0.011882210150361061, -0.00655899103730917, -0.013936308212578297, -0.045624200254678726, -0.037720490247011185, -0.010148082859814167, -0.03506061062216759, 0.006659131497144699, 0.05130940303206444, 0.0032086591236293316, 0.049515318125486374, -0.018930725753307343, -0.010165296494960785, 0.051163449883461, -0.04492279142141342, -0.004939801059663296, -0.011093031615018845, -0.03161168098449707, 0.011441773734986782, 0.016540493816137314, 0.02667028270661831, -0.008408427238464355, 0.01474849320948124, 0.04394494742155075, 0.016324523836374283, 0.009319476783275604, -0.03582725673913956, 0.017880471423268318, -0.03745930641889572, 0.026832880452275276, -0.08504980802536011, 0.01678287982940674, 0.04825972020626068, -0.028906268998980522, -0.01517296303063631, -0.008557984605431557, -0.008040216751396656, 0.03770175948739052, -0.054199058562517166, -0.0013516477774828672, 0.041581545025110245, -0.013223886489868164, 0.018627680838108063, 0.038658998906612396, -0.03283453360199928, 0.027737900614738464, 0.0666075348854065, -0.02065047062933445, -0.01196334883570671, -0.04435472562909126, 0.04542244225740433, -0.0028862576000392437, 0.01959952898323536, 0.005603886675089598, 0.009170746430754662, 0.06495526432991028, 0.03182557597756386, 0.025038592517375946, 0.06992249190807343, -0.014037970453500748, 0.0008620424196124077, 0.06669928878545761, -0.01368340477347374, -0.001670176861807704, 0.03625417873263359, -0.01799102872610092, -0.06239389255642891, 0.019078856334090233, -0.004603641107678413, -0.04128412529826164, -0.02576058730483055, 0.07438021153211594, 0.022021763026714325, -0.03137022256851196, -0.03572753816843033, 0.023760447278618813, -0.06674410402774811, 0.009563479572534561, -0.016346730291843414, -0.013302954845130444, -0.04881775379180908, 0.06600645929574966, 0.003307861741632223, 0.0038740145973861217, 0.06874849647283554, 0.009579731151461601, -0.013239217922091484, 0.015468648634850979, 0.08055812865495682, 0.0935882180929184, 0.029583126306533813, -0.0276698749512434, 0.059168651700019836, -0.029812665656208992, -0.029955457895994186, -0.017343295738101006, -0.022719861939549446, -0.0040609692223370075, 0.03533932939171791, 0.028046710416674614, 0.0676577165722847, -0.04359358549118042, 0.05567827820777893, -0.03485918045043945, -0.008446653373539448, 0.012222480960190296, -0.014918480068445206, 0.03812199831008911, 0.0639180913567543, 0.022934500128030777, 0.049967698752880096, -0.005253903102129698, -0.03938504680991173, 0.03352028876543045, -0.03743360936641693, -0.04055441543459892, 0.02623797580599785, -0.01834583468735218, -0.008518395945429802, 0.021121658384799957, 0.05990253761410713, 0.06154709309339523, -0.013713955879211426, -0.009637268260121346, 0.0002521015703678131, 0.018587766215205193, 0.03331198915839195, -0.015059680677950382, 0.013657008297741413, -0.020874937996268272, -0.020059734582901, -0.003946126438677311, -0.0064498549327254295, -0.022338364273309708, -0.04781555011868477, 0.03423593193292618, -0.021307652816176414, -0.02353343926370144, 0.02931569330394268, -0.01788848079741001, -0.017945939674973488, -0.03812875598669052, -0.04117439314723015, -0.07026740163564682, -0.07286857068538666, -0.01964999921619892, 0.0016645316500216722, -0.01920541189610958, -0.05956752225756645, -0.0273324865847826, 0.03820111230015755, 0.02284092828631401, 0.05843444913625717, -0.02361557073891163, -0.01818167418241501, 0.042729735374450684, 0.013509880751371384, 0.019417155534029007, 0.0015949980588629842, 0.031775254756212234, -0.022616548463702202, 0.006854580715298653, -0.01080350112169981, -0.014986964873969555, 0.060883939266204834, 0.013351508416235447, 0.004384216852486134, -0.06655462831258774, -0.021968092769384384, 0.04344036802649498, 0.026935622096061707, -0.06853058189153671, -0.009962240234017372, 0.026494568213820457, 0.001627255231142044, 0.052103929221630096, 0.023147039115428925, -0.019891293719410896, -0.035092685371637344, 0.005949655082076788, 0.020183604210615158, 0.01878964714705944, 0.03758503124117851, -0.02291000261902809, 0.08419822156429291, 0.01991920731961727, -0.02593938447535038, -0.028272069990634918, -0.00666757533326745, -0.04262404516339302, -0.02992946095764637, -0.04039281606674194, -0.059833694249391556, -0.0488971509039402, -0.04326187074184418, -0.009308680891990662, -0.013629934750497341, -0.03976576402783394, -0.022692978382110596, 0.0020160386338829994, 0.06559509038925171, -0.018345410004258156, 0.056142304092645645, -0.0358491912484169, 0.07283330708742142, -0.012508990243077278, -0.0271510798484087, -0.03502839803695679, 0.006683233194053173, 0.006332722492516041, 0.008813703432679176, 0.04849310219287872, -0.039010338485240936, -0.006764768622815609, -0.002502317540347576, 0.03534231707453728, -0.00044297537533566356, -0.05539180338382721, 0.04002730920910835 ]
[ -0.10718727111816406, -0.000957297976128757, -0.05168655514717102, -0.006552814971655607, 0.04330199211835861, -0.042350176721811295, 0.031298715621232986, 0.002413563197478652, -0.010663541965186596, -0.01915193349123001, -0.01320414338260889, -0.0573713481426239, 0.009338037110865116, 0.02917984314262867, 0.06595579534769058, -0.031235801056027412, -0.01441254373639822, -0.06504473090171814, -0.07783228904008865, 0.026967113837599754, 0.04654926434159279, -0.03355948626995087, -0.03503479063510895, -0.016835130751132965, 0.03712163493037224, 0.039114683866500854, 0.05347096174955368, -0.020643237978219986, 0.014256437309086323, -0.20637163519859314, -0.0123696718364954, 0.0027633081190288067, 0.02412554994225502, -0.014961037784814835, -0.005940518341958523, 0.04109479486942291, 0.03202885389328003, 0.004272442776709795, -0.006182163488119841, 0.042784906923770905, 0.05511142686009407, 0.010939796455204487, -0.036438949406147, -0.02038356475532055, 0.03620843589305878, -0.00037455279380083084, 0.0025377164129167795, -0.03542576730251312, -0.021436285227537155, -0.017677567899227142, -0.0649435743689537, 0.0041812146082520485, 0.015494209714233875, -0.021611904725432396, -0.02279188297688961, 0.051596224308013916, 0.03762654960155487, 0.05891786515712738, 0.021039841696619987, 0.013866704888641834, 0.012561638839542866, -0.0054039438255131245, -0.11292325705289841, 0.06289850920438766, 0.02566477656364441, 0.06572902947664261, -0.005370883736759424, -0.04676074534654617, -0.03980210795998573, 0.04786328971385956, 0.0656406581401825, -0.007083365228027105, -0.04215598106384277, 0.0700359120965004, 0.00788886658847332, -0.046008698642253876, 0.008576181717216969, 0.0001380299509037286, 0.038675468415021896, -0.039152562618255615, -0.07050692290067673, -0.014043682254850864, 0.011483931913971901, 0.005028942599892616, 0.001971213845536113, 0.0044477107003331184, -0.012813831679522991, 0.017437659204006195, 0.018664540722966194, -0.002196689834818244, 0.030153648927807808, 0.01631535403430462, 0.06285490840673447, 0.050111331045627594, -0.08630076050758362, -0.006215739995241165, -0.013191953301429749, 0.0093582384288311, -0.039955563843250275, 0.4275449514389038, -0.002686683088541031, -0.007951639592647552, 0.022883910685777664, 0.006474398076534271, -0.031002473086118698, -0.019691037014126778, 0.010938337072730064, -0.05828815698623657, 0.005640065763145685, -0.06510312855243683, -0.021552884951233864, -0.03254169598221779, 0.06837382912635803, -0.0756019800901413, -0.01914748176932335, 0.015382272191345692, 0.09548287838697433, 0.03385591506958008, -0.004828393459320068, 0.018529318273067474, 0.008120935410261154, -0.0038291991222649813, 0.03712118789553642, -0.0006654759054072201, 0.0024918573908507824, 0.01179211214184761, 0.03315265476703644, 0.04593505337834358, 0.03515249863266945, 0.04705631360411644, 0.014148089103400707, -0.020301349461078644, -0.09247533231973648, -0.010352867655456066, -0.0000808714612503536, 0.023019451647996902, 0.007492677308619022, -0.025031186640262604, 0.028093500062823296, 0.023157166317105293, -0.014801775105297565, -0.004472715314477682, 0.008922260254621506, -0.00022713732323609293, -0.03506461903452873, 0.08893495053052902, 0.0009197549079544842, -0.0198292788118124, -0.029290098696947098, -0.055249352008104324, -0.012920334003865719, 0.04429323598742485, -0.0018204869702458382, -0.05740661174058914, 0.007326196413487196, 0.012573874555528164, 0.07581264525651932, -0.0325569249689579, -0.08259625732898712, 0.000505105999764055, -0.006853428203612566, -0.030262602493166924, -0.05019493028521538, 0.06377095729112625, -0.011210133321583271, -0.05743040889501572, 0.001813299604691565, -0.005272795911878347, -0.023466801270842552, -0.08103375881910324, -0.031754933297634125, 0.031202174723148346, -0.035489100962877274, 0.018050704151391983, 0.03615831956267357, -0.04006378725171089, -0.04581204801797867, 0.011425986886024475, 0.004085985478013754, 0.0071074641309678555, -0.04529626667499542, 0.016352450475096703, -0.04116470366716385, 0.027796857059001923, -0.013044864870607853, -0.06267980486154556, -0.07773533463478088, 0.0033739148639142513, -0.0016338841523975134, 0.02093818411231041, -0.029559945687651634, -0.011879329569637775, -0.03151410445570946, 0.07471965253353119, -0.04598191753029823, -0.02078608050942421, 0.0224565789103508, -0.004774425644427538, -0.009486857801675797, -0.02032572403550148, 0.020327085629105568, 0.04798645153641701, 0.009825928136706352, 0.03319013863801956, -0.05407986044883728, 0.003380497917532921, 0.05750560387969017, -0.06705532222986221, 0.04568120464682579, 0.03034430369734764, -0.018179843202233315, 0.02634131908416748, -0.028956374153494835, 0.014444330707192421, -0.0006223816308192909, -0.03793421387672424, 0.0007225549779832363, -0.019303152337670326, 0.05248712748289108, 0.009266659617424011, -0.045867230743169785, -0.08186328411102295, -0.046896032989025116, -0.3572940230369568, -0.02545871026813984, -0.008827007375657558, 0.006326508242636919, 0.02977394498884678, -0.10153482109308243, 0.007241095881909132, -0.0337538942694664, -0.04461725801229477, 0.014142628759145737, 0.049232833087444305, -0.01764608733355999, -0.014397909864783287, -0.039735276252031326, 0.015100259333848953, 0.032970644533634186, -0.0002857296203728765, -0.06997082382440567, -0.023890173062682152, 0.04255790635943413, 0.004412089008837938, -0.06688659638166428, -0.007150922901928425, -0.046015072613954544, -0.011181376874446869, -0.022681063041090965, 0.0944582000374794, 0.02886415459215641, 0.04633248969912529, -0.08034438639879227, 0.029963281005620956, -0.00394810363650322, -0.016100188717246056, -0.06252291798591614, -0.0003074202686548233, -0.02894081361591816, -0.04879358038306236, 0.00978690292686224, 0.01317895483225584, -0.00867623183876276, -0.03746083751320839, 0.04833122715353966, -0.0784301608800888, -0.025712750852108, -0.02574281208217144, 0.022323166951537132, -0.007420782465487719, 0.003615790279582143, 0.015398046001791954, 0.08923415094614029, 0.015870394185185432, -0.005461463239043951, 0.03542554751038551, 0.03321067616343498, 0.03635568171739578, 0.014053214341402054, -0.0666203424334526, -0.06436589360237122, 0.018388329073786736, 0.0004969863803125918, 0.020529817789793015, 0.042235665023326874, 0.03361526131629944, -0.06043531373143196, 0.0190403051674366, 0.00917418859899044, -0.004561038687825203, 0.014175320975482464, 0.03118562325835228, -0.021963275969028473, -0.02208293415606022, 0.09070894122123718, -0.007919161580502987, 0.01931280829012394, 0.06376959383487701, 0.08891111612319946, -0.04158146679401398, 0.02559998258948326, 0.03531663492321968, 0.02108253724873066, 0.02126157097518444, 0.03157496824860573, 0.05436747893691063, -0.028712794184684753, 0.003173626959323883, 0.06245614215731621, -0.015221751295030117, -0.0027688441332429647, 0.03602541983127594, 0.0027709859423339367, -0.015659714117646217, -0.0004060337960254401, 0.027766749262809753, -0.046783123165369034, 0.07543033361434937, 0.024280603975057602, -0.25512033700942993, 0.035870905965566635, 0.06943857669830322, 0.060076527297496796, 0.005845051724463701, 0.015500296838581562, 0.023523451760411263, -0.03889835253357887, -0.030651206150650978, 0.008289842866361141, 0.05034441128373146, 0.06292521953582764, -0.0008506994345225394, -0.023634033277630806, 0.038403116166591644, -0.014338299632072449, 0.01479495782405138, -0.023524271324276924, 0.024364961311221123, 0.021987393498420715, 0.04566917568445206, -0.007457213941961527, 0.19303716719150543, 0.013921466656029224, -0.016552099958062172, 0.003336965572088957, 0.003438379615545273, 0.011399496346712112, 0.045747142285108566, 0.023966452106833458, 0.026060957461595535, -0.004597947932779789, 0.046576060354709625, 0.03144459426403046, 0.027227023616433144, -0.028096908703446388, -0.0319129079580307, 0.02137920819222927, 0.010984625667333603, -0.03636946529150009, -0.020638037472963333, 0.02742510288953781, -0.07418396323919296, 0.03930364176630974, 0.06762248277664185, -0.0002486603625584394, -0.004815784282982349, -0.007384399883449078, -0.028883112594485283, -0.003562903730198741, -0.018222779035568237, -0.028639061376452446, 0.00033993722172454, -0.0006477920687757432, 0.026765678077936172, 0.06187841296195984, 0.02380559593439102, -0.034288447350263596, -0.015672147274017334, 0.01791088469326496, -0.015271292999386787, -0.014925798401236534, 0.11178942769765854, -0.018007906153798103, 0.024985963478684425 ]
[ -0.02573937550187111, 0.0014980706619098783, 0.01050408836454153, -0.009726295247673988, 0.021542446687817574, -0.02532833069562912, 0.006013607140630484, -0.027155019342899323, 0.01019793190062046, -0.03583125025033951, -0.008393914438784122, -0.010353020392358303, 0.03143145143985748, -0.016074346378445625, 0.025234993547201157, 0.00021747025311924517, -0.006214542780071497, 0.004452228546142578, 0.0038130846805870533, -0.029520703479647636, -0.013260581530630589, 0.04673979431390762, 0.046308327466249466, -0.0074629574082791805, -0.020645746961236, 0.044014014303684235, -0.019991407170891762, -0.05415332317352295, 0.014412141405045986, -0.1373056322336197, -0.012800874188542366, -0.008953006938099861, -0.009470934979617596, 0.011336948722600937, -0.007422975730150938, 0.01335874479264021, -0.01852017641067505, 0.023897211998701096, 0.010698373429477215, 0.0040724799036979675, -0.00960760097950697, -0.009038171730935574, -0.04298444837331772, -0.0014096033992245793, -0.01228170096874237, 0.054653022438287735, -0.0098887262865901, -0.03550234064459801, -0.005654174834489822, -0.009486657567322254, -0.03977503627538681, 0.005269411485642195, -0.0005754540907219052, 0.013133698143064976, 0.02315356582403183, -0.04049300402402878, -0.061754535883665085, -0.02261483669281006, 0.007900062948465347, -0.018001358956098557, -0.0023113228380680084, 0.00458903843536973, -0.04399770870804787, -0.023810921236872673, 0.011999872513115406, -0.03616625443100929, -0.0035163313150405884, 0.0017087063752114773, 0.003995231352746487, -0.0039717513136565685, 0.02602900005877018, 0.03269209340214729, -0.023047931492328644, -0.020426519215106964, 0.0006671252194792032, 0.029785804450511932, 0.056312914937734604, -0.04823504760861397, -0.010949480347335339, -0.01718076318502426, -0.010864370502531528, 0.020652640610933304, 0.04608887806534767, 0.056373365223407745, 0.03417443111538887, -0.033853575587272644, 0.008190087042748928, -0.0059075430035591125, 0.010345514863729477, 0.011503481306135654, -0.02313324622809887, 0.004494848661124706, 0.02021714858710766, 0.009172477759420872, -0.05113627016544342, 0.042517174035310745, -0.013541393913328648, -0.012751264497637749, -0.016666220501065254, 0.8540448546409607, 0.013196001760661602, 0.050827424973249435, 0.022501211613416672, -0.01746937818825245, -0.03424727916717529, 0.001649286481551826, -0.024265598505735397, -0.00906458217650652, 0.012755890376865864, 0.025491278618574142, 0.04237033426761627, -0.012239181436598301, 0.04354723170399666, 0.01122208870947361, -0.0020671235397458076, 0.011610271409153938, 0.03510605916380882, 0.014974922873079777, 0.04674319177865982, 0.03416240215301514, 0.01898408681154251, -0.0009401027928106487, 0.002048974623903632, 0.028832288458943367, -0.001639367314055562, -0.1615845113992691, -0.01012453529983759, -6.896834741205601e-33, 0.029163379222154617, -0.006770015694200993, 0.0032447809353470802, -0.023056400939822197, -0.023561665788292885, -0.016122695058584213, -0.001817592536099255, -0.025094034150242805, -0.035808101296424866, -0.027350803837180138, 0.013931705616414547, 0.010566720739006996, -0.019946904852986336, -0.010427365079522133, 0.012979005463421345, 0.018352137878537178, 0.007417978718876839, 0.04504721984267235, -0.010504703968763351, -0.01097527239471674, 0.0006615124293603003, 0.00468835374340415, 0.0017154227243736386, -0.029940342530608177, 0.00447274511680007, 0.035072892904281616, 0.015242171473801136, -0.014607518911361694, -0.007433502934873104, -0.05229872465133667, -0.00748169980943203, -0.004159295931458473, 0.039004698395729065, 0.020081330090761185, 0.044224027544260025, -0.029246507212519646, -0.009194175712764263, 0.007820106111466885, -0.036895204335451126, -0.04909392446279526, -0.018120625987648964, 0.014992746524512768, -0.04251715913414955, -0.014865218661725521, -0.006208816077560186, 0.00260839331895113, -0.01572500169277191, 0.037110019475221634, -0.01306040771305561, 0.03144126757979393, 0.04222641885280609, 0.007855221629142761, -0.0347505584359169, -0.023678969591856003, -0.02713523432612419, 0.004347407724708319, -0.020861735567450523, 0.0031781625002622604, 0.025901151821017265, 0.019044766202569008, -0.012138505466282368, 0.004730758722871542, 0.00984647311270237, 0.05586820840835571, 0.030108103528618813, -0.03776804730296135, -0.03665148839354515, 0.00037350296042859554, 0.024238863959908485, 0.010177427902817726, -0.032818593084812164, 0.01079446543008089, -0.0050488803535699844, 0.01609623245894909, -0.00685448432341218, -0.06370912492275238, 0.0015513543039560318, -0.03767525777220726, -0.005002638325095177, 0.0402408242225647, 0.03789132460951805, -0.02901347540318966, -0.0002925879380200058, -0.010557361878454685, -0.015565609559416771, -0.006203232333064079, -0.005773511715233326, -0.00689437473192811, -0.005616794805973768, -0.0286859218031168, 0.04271865263581276, 0.0012069129152223468, -0.018836338073015213, -0.03375263139605522, -0.04064993932843208, 6.248811154220167e-33, -0.0007000594632700086, -0.024031763896346092, -0.0011120097478851676, -0.006797258276492357, 0.004589881282299757, -0.028004219755530357, 0.02809772454202175, 0.013022499158978462, -0.011445718817412853, 0.05046483501791954, -0.022115381434559822, -0.02877100557088852, -0.015655573457479477, 0.01747838594019413, 0.047127511352300644, -0.025847874581813812, 0.014643460512161255, -0.016195671632885933, -0.012134532444179058, 0.01845983974635601, -0.023430291563272476, 0.004013972822576761, 0.014815379865467548, 0.013569432310760021, -0.0066937790252268314, 0.04644964262843132, -0.03075163997709751, 0.02522197924554348, -0.010572909377515316, -0.01335945911705494, 0.038364678621292114, 0.0003980706387665123, 0.0107563566416502, -0.016712253913283348, 0.014570638537406921, 0.022174233570694923, 0.008092924021184444, -0.016474204137921333, 0.02036401629447937, 0.00491135660558939, 0.02287432923913002, -0.006387714296579361, 0.006951047107577324, 0.006362355779856443, 0.011167258955538273, -0.012399588711559772, 0.010292933322489262, 0.013230434618890285, 0.04448601230978966, -0.010794558562338352, 0.01780186966061592, 0.026388542726635933, -0.02264595776796341, 0.01405593752861023, 0.031145840883255005, -0.018104905262589455, -0.03222179040312767, 0.006693854462355375, -0.024233466014266014, -0.03105943463742733, -0.0397300086915493, -0.03085450455546379, 0.023529548197984695, 0.006351058837026358, -0.016909075900912285, -0.03944379836320877, -0.03301815316081047, -0.019314130768179893, 0.005123061127960682, 0.006934798788279295, -0.03541852533817291, -0.01152961328625679, 0.025177299976348877, 0.014000626280903816, 0.007827823050320148, -0.01794438064098358, 0.006586027797311544, 0.011817272752523422, 0.020726211369037628, 0.018758121877908707, -0.004292602650821209, -0.009714473970234394, 0.0010512046283110976, 0.026772109791636467, 0.011961909011006355, 0.0001784910709830001, 0.01041247695684433, 0.0109926238656044, 0.021189255639910698, -0.036832693964242935, 0.01717061549425125, -0.034531209617853165, 0.0033998212311416864, 0.04800267145037651, -0.024537324905395508, -1.2704346907810304e-8, -0.0005858665099367499, 0.0012222100049257278, -0.026591364294290543, 0.02773805893957615, 0.027932289987802505, 0.03399649262428284, 0.009208230301737785, -0.012770946137607098, -0.032143592834472656, 0.004637797363102436, 0.02233930304646492, 0.0311740655452013, -0.00802434142678976, -0.020312387496232986, 0.03569750860333443, -0.038349151611328125, 0.00599969457834959, -0.009127253666520119, 0.025017820298671722, -0.010680882260203362, 0.0020002296660095453, 0.043383631855249405, -0.017207691445946693, -0.0034953488502651453, -0.016934005543589592, -0.001807053224183619, 0.012243506498634815, -0.10038800537586212, -0.007957253605127335, -0.023924121633172035, 0.02001461200416088, -0.033194512128829956, 0.014161905273795128, -0.010443344712257385, 0.009685881435871124, -0.02720107138156891, 0.012532737106084824, 0.021688755601644516, -0.005812952760607004, -0.00014955317601561546, -0.0187696423381567, 0.014444580301642418, 0.00314361066557467, -0.03090711124241352, -0.037321463227272034, -0.009701541624963284, -0.031453318893909454, -0.015198553912341595, 0.0012246426194906235, 0.022382495924830437, 0.0066584376618266106, -0.009637922048568726, 0.04744012653827667, 0.03376840427517891, 0.017947344109416008, 0.014287718571722507, 0.017889540642499924, -0.05160366743803024, -0.040513262152671814, -0.01324556116014719, 0.01888244040310383, -0.00658641941845417, -0.028910545632243156, 0.010990643873810768 ]
clojure-checking-for-a-nil-value-in-a-collection
https://markhneedham.com/blog/2009/11/21/clojure-checking-for-a-nil-value-in-a-collection
false
2009-11-30 18:33:55
Clojure: Parsing an RSS feed
[ "clojure" ]
[ "Clojure" ]
I've been playing around with a little script in Clojure to parse the http://blogs.thoughtworks.com/rss20.xml[ThoughtWorks Blogs RSS feed] and then create a tweet for each of them which contains a link to the blog post and the person's Twitter ID if they have one. It's not finished yet but I'm finding the way that we parse documents like this in Clojure quite intriguing. The xml to parse looks roughly like this: [source,text] ---- <rss version="2.0"> <channel> ... <item> <title>Simon Brunning: Links for 2009-11-27 [del.icio.us]</title> <link>http://feedproxy.google.com/~r/SmallValuesOfCool/~3/WDqeLyMA-RE/brunns</link> </item> <item> <title>Alex Hung: Extending iPhone battery life</title> <link>http://alexhung.vox.com/library/post/extending-iphone-battery-life.html?_c=feed-atom-full</link> </item> ... </channel> </rss> ---- I've only included the parts of the document that I'm interested in getting. Following the examples from http://www.amazon.com/Programming-Clojure-Pragmatic-Programmers-Halloway/dp/1934356336/ref=sr_1_1?ie=UTF8&s=books&qid=1259561307&sr=8-1[Stuart Halloway's book] one approach to do this is to make use of the 'http://clojure.org/api#toc674[clojure.xml.parse]' and 'http://clojure.org/api#toc618[clojure.core.xml-seq]' functions to create a sequence representing the tree structure of the feed. I'm used to parsing XML with XPath but that doesn't make as much sense when we have a sequence of hash maps. Instead I'm using 'http://clojure.org/api#toc248[filter]' and 'http://clojure.org/api#toc356[map]' to try and achieve the same outcome. I found that while I was trying to work out how to use these functions together I was often trying to solve the whole problem in one go instead of breaking it down into smaller more manageable pieces. I also noticed that I was using 'filter' more often than I needed to instead of filtering the data to the point that everything I wanted to extract was in the remaining data set. When I was playing with F# I got into the habit of trying to minimise the number of intermediate values I created but this seemed to be making life more difficult so I've allowed myself some intermediate values for the moment! The goal is to poll the ThoughtWorks RSS feed and then update the http://twitter.com/planettw[planettw] account with the latest blog posts. The current setup does that but doesn't include people's Twitter names in the tweet so I'm trying to sort that out. This is the code I have so far: [source,lisp] ---- (use '[clojure.xml :only (parse)]) (def feed (xml-seq (parse (java.io.File. "clojure-play/tw-blogs-rss.txt")))) (def rss-entries (filter #(= :item (:tag %)) feed)) (defn- get-href [link] ((comp :href :attrs) link)) (defn- get-value [node] (first (:content node))) (defn rss-link [entry] (get-value (first (filter #(= :link (:tag %)) (:content entry))))) (defn rss-title [entry] (get-value (first (filter #(= :title (:tag %)) (:content entry))))) (def rss-titles (map #(rss-title %) rss-entries)) (def rss-links (map #(rss-link %) rss-entries)) (defn- get-author [title] (second (first (re-seq #"([\w ]+):" title)))) (defn- get-title [title] (second (first (re-seq #"[a-zA-Z0-9 ]+:\s(.*)" title)))) (def authors (map #(get-author %) rss-titles)) (def titles (map #(get-title %) rss-titles)) (defn- get-display-name [twitter-names real-name] (let [twitter-name (twitter-names real-name)] (if twitter-name (str "@" twitter-name) real-name))) (def twitter-names {"Mark Needham" "markhneedham" "Alex Hung" "alexhung" "Simon Brunning" "brunns" "Ola Bini" "olabini" "Patrick Kua" "patkua" "Marc McNeill" "dancingmango" "Dahlia Bock" "dlbock" "Sumeet Moghe" "sumeet_moghe" "Brian Guthrie" "bguthrie" "Ian Robinson" "iansrobinson" "Ian Cartwright" "cartwrightian" "Duncan Cragg" "duncancragg" "David Cameron" "davcamer" "Steven List" "athought" "Philip Calcado" "pcalcado" "Perryn Fowler" "perrynfowler" "Jason Yip" "jchyip" "Christopher Read" "cread" "Jim Webber" "jimwebber" "John Hume" "duelin_markers" }) (defn- create-blog-post [title link author] {:tweet (str title " by " (get-display-name twitter-names author) " " link)}) (defn create-blog-posts [titles links authors] (map #(create-blog-post %1 %2 %3) titles links authors)) ---- To use that you'd need to do this: [source,lisp] ---- (create-blog-posts titles rss-links authors) ---- Which returns a sequence of hash maps with key 'tweet' and a value of the tweet to display on Twitter: [source,text] ---- ({:tweet "Links for 2009-11-27 [del.icio.us] by @brunns http://feedproxy.google.com/~r/SmallValuesOfCool/~3/WDqeLyMA-RE/brunns"} {:tweet "Extending iPhone battery life by @alexhung http://alexhung.vox.com/library/post/extending-iphone-battery-life.html?_c=feed-atom-full"} {:tweet "Threshold Anxiety by Adrian Wible http://thoughtadrian.blogspot.com/2009/11/threshold-anxiety.html"}) ---- The next step is to get this hooked up to the Twitter API. There are still some things I'm unsure of when it comes to writing applications in Clojure: * I'm not sure what to do with 'twitter-names'. It's pretty much a global data store so I can't decide whether to just refer to it directly inside other functions or if it should be passed in as a parameter. * I used 'first' quite a few times in the code to get the first value in a sequence but it doesn't feel like the code expresses the structure of the document very well. * What's the best way to lay out code for 'defn' expressions? I've been putting the signature on it's own line and then the implementation on other lines which seems to be the way that it's done in the http://code.google.com/p/clojure/source/browse/[Clojure source code] but it sometimes seems like I could just write it all on one line.
null
null
[ 0.010196229442954063, 0.00014259549789130688, -0.03310108184814453, 0.01681510917842388, 0.06784745305776596, -0.028678564354777336, 0.007732652127742767, 0.04483725503087044, 0.02384142391383648, 0.00024646177189424634, -0.019531605765223503, -0.025232771411538124, -0.05797421559691429, -0.004999553319066763, -0.008393637835979462, 0.052632272243499756, 0.06047699600458145, -0.007192798424512148, 0.044611189514398575, -0.02303423546254635, 0.044696711003780365, 0.0651126503944397, 0.002978489501401782, 0.014781028032302856, 0.05133902281522751, -0.00123310973867774, 0.020438948646187782, 0.014314601197838783, -0.060564324259757996, 0.002583202440291643, 0.03670789673924446, -0.0006546470103785396, -0.013633668422698975, -0.01714113913476467, 0.007128093391656876, -0.006609445437788963, -0.02434089407324791, -0.02211751602590084, -0.013570638373494148, 0.04000844433903694, -0.07142135500907898, 0.016034096479415894, -0.03987005352973938, 0.018626047298312187, -0.03980925306677818, 0.015820283442735672, -0.04382672905921936, 0.048893190920352936, -0.0046087889932096004, 0.02584186941385269, -0.0698215588927269, 0.021071327850222588, -0.0020852265879511833, -0.0004490097053349018, -0.0009680563816800714, 0.04419439658522606, 0.014365318231284618, -0.0677250549197197, 0.06675414741039276, -0.0010719705605879426, -0.0037708780728280544, -0.022707415744662285, 0.025210607796907425, 0.026914939284324646, 0.0027003460563719273, -0.04268356412649155, -0.04786829650402069, 0.048519767820835114, -0.05453434959053993, -0.02126939594745636, -0.006281235720962286, 0.005295674316585064, -0.026177547872066498, -0.007804734632372856, 0.04009866714477539, -0.032974354922771454, -0.012039974331855774, 0.0774734765291214, 0.014173340052366257, 0.05987277254462242, -0.04960267245769501, 0.037019651383161545, 0.022055378183722496, 0.039428018033504486, -0.014877255074679852, -0.012026277370750904, -0.03861938416957855, 0.01130243856459856, -0.06084440276026726, 0.03611145541071892, 0.02164997160434723, -0.06308145821094513, -0.012938681989908218, 0.024345360696315765, -0.021059462800621986, 0.026883359998464584, -0.00525218341499567, 0.03475017845630646, -0.020125020295381546, -0.024078847840428352, -0.02691662684082985, -0.024074610322713852, 0.013060186058282852, -0.019473815336823463, -0.09590131044387817, -0.03179511800408363, -0.035420335829257965, -0.020649584010243416, 0.020073842257261276, -0.018690655007958412, -0.031565725803375244, 0.008832545019686222, -0.013338585384190083, 0.02092021331191063, -0.0427338145673275, 0.046524085104465485, 0.005257198587059975, -0.03264255076646805, -0.035141777247190475, 0.018439434468746185, 0.04615543410181999, 0.008428889326751232, 0.01327727921307087, 0.07677578181028366, -0.0022047481033951044, 0.01396549865603447, -0.027528654783964157, 0.04691961780190468, -0.012278957292437553, -0.03257058933377266, -0.026855548843741417, 0.07836160808801651, -0.011255421675741673, 0.008355756290256977, -0.020606378093361855, -0.009958989918231964, -0.036713942885398865, 0.011776136234402657, 0.08264493197202682, 0.03763122856616974, -0.010013420134782791, -0.021383775398135185, 0.015404943376779556, -0.0027589837554842234, 0.032569095492362976, 0.0066008782014250755, -0.016724610701203346, -0.010840261355042458, -0.03826196864247322, 0.004109708126634359, 0.01034384872764349, -0.019614938646554947, 0.04131869226694107, -0.012906608171761036, 0.025737851858139038, 0.07631285488605499, 0.03219237178564072, 0.04498635232448578, -0.015088510699570179, 0.005525793880224228, 0.019288018345832825, 0.04744386300444603, -0.003709748387336731, 0.04193678870797157, 0.009031882509589195, -0.03090198151767254, 0.00299114384688437, 0.06258238852024078, 0.006666223984211683, -0.01539770606905222, -0.058263372629880905, -0.034146230667829514, 0.06807749718427658, -0.012433521449565887, -0.028559628874063492, 0.02714880369603634, 0.08134720474481583, 0.0287459809333086, 0.044709496200084686, 0.014424163848161697, -0.06534435600042343, 0.053498223423957825, 0.041104547679424286, 0.01738917827606201, 0.016815833747386932, -0.00181876914575696, 0.07835989445447922, 0.025773875415325165, 0.0019132231827825308, 0.03251751884818077, -0.07398827373981476, -0.06851337105035782, -0.04477856680750847, -0.007778483908623457, 0.07277461141347885, -0.036243680864572525, 0.03157023712992668, 0.06649269163608551, 0.03685774654150009, 0.021949104964733124, 0.01825678162276745, 0.02072564885020256, 0.024373717606067657, -0.04873083159327507, -0.061210747808218, 0.04321761429309845, 0.04972931370139122, -0.05618644878268242, -0.032081980258226395, 0.007749244105070829, -0.0038202626165002584, 0.03226723521947861, 0.05369517207145691, -0.04302366077899933, 0.008276739157736301, 0.022562462836503983, 0.04977073892951012, -0.038168177008628845, 0.0268661268055439, -0.04176544398069382, 0.02576121687889099, -0.0054570348002016544, -0.011146146804094315, 0.009932177141308784, -0.015689924359321594, 0.12637773156166077, 0.05523839220404625, -0.005908912979066372, -0.058778807520866394, 0.03426237031817436, -0.03192088380455971, -0.042040713131427765, -0.012488504871726036, -0.03128407523036003, -0.006033938378095627, 0.012724200263619423, -0.022809838876128197, -0.013517760671675205, -0.0008608526550233364, -0.036791905760765076, 0.02025401033461094, 0.06883469969034195, -0.024418678134679794, 0.049228277057409286, 0.01850828342139721, -0.005739611107856035, -0.01812898926436901, -0.05058541148900986, -0.07910476624965668, 0.010107813403010368, 0.0025298024993389845, -0.0213844683021307, 0.05794640630483627, -0.0246321689337492, -0.028763750568032265, -0.01854158192873001, -0.045737214386463165, 0.02350178360939026, 0.049913812428712845, 0.0694548562169075, 0.0011866666609421372, 0.025469698011875153, -0.04329473525285721, 0.010488254949450493, -0.011896282434463501, -0.05683555081486702, -0.027911245822906494, -0.04224397987127304, -0.0077185193076729774, 0.02459036000072956, 0.03093399479985237, 0.009077705442905426, 0.026849225163459778, 0.01665659062564373, -0.01390831172466278, -0.026157252490520477, 0.017970815300941467, 0.0019004404311999679, -0.000812574231531471, -0.021329764276742935, -0.05129951238632202, 0.048069801181554794, -0.007504681125283241, -0.020689772441983223, -0.02930697239935398, -0.05915068835020065, 0.08082597702741623, -0.049030229449272156, -0.029299037531018257, -0.0073049189522862434, 0.011948034167289734, 0.027662646025419235, 0.011903964914381504, 0.0258206594735384, 0.06865978240966797, 0.01290896162390709, 0.018380656838417053, 0.004842829424887896, -0.0029636684339493513, 0.049193959683179855, -0.030655566602945328, 0.004785002674907446, 0.04740390554070473, -0.0036819486413151026, 0.0054957387037575245, -0.033599987626075745, 0.024866005405783653, -0.023390645161271095, -0.27940863370895386, 0.02761491760611534, -0.0012006477918475866, -0.03359257057309151, 0.007301088888198137, 0.0025899631436914206, 0.0018652220023795962, -0.06173444539308548, -0.002491538878530264, 0.016253868117928505, -0.02088174968957901, -0.007443532347679138, -0.023959966376423836, 0.001471217954531312, 0.013417487032711506, -0.02870948426425457, -0.012473275884985924, -0.01877671107649803, 0.01867525279521942, 0.050309788435697556, -0.006492071319371462, -0.057406555861234665, 0.018038591369986534, 0.023610755801200867, 0.022465478628873825, 0.021333320066332817, -0.06782253831624985, 0.021617470309138298, -0.013733776286244392, -0.007278342731297016, 0.02864859253168106, -0.03697805851697922, 0.04558425769209862, -0.010021890513598919, -0.013125261291861534, -0.020428316667675972, 0.04899841919541359, 0.004228082485496998, 0.038778357207775116, 0.028353074565529823, -0.014626837335526943, -0.028079316020011902, -0.0007546697743237019, -0.019006837159395218, 0.06864871829748154, -0.007199927233159542, -0.06323789805173874, -0.007026470731943846, -0.02634054236114025, 0.07785041630268097, -0.018514517694711685, -0.04295799881219864, -0.00021693816233891994, 0.02906600758433342, 0.016230670735239983, -0.016567401587963104, -0.007692623417824507, -0.020338820293545723, -0.05302482843399048, -0.05953417345881462, 0.012075101025402546, -0.0363212525844574, -0.027619007974863052, -0.04662419483065605, -0.03251626715064049, -0.061677806079387665, -0.06544394046068192, 0.006413287483155727, 0.0725519061088562, 0.003635154338553548, -0.04527270421385765, 0.00908899400383234, -0.013562547974288464, -0.10907040536403656, -0.03816283866763115, -0.04364074394106865, -0.05108770728111267, 0.012491299770772457, -0.022063175216317177, 0.0383385494351387, -0.06071856990456581, -0.039406806230545044, 0.013172175735235214, 0.037523869425058365, 0.052774474024772644, -0.032645609229803085, 0.014574676752090454, -0.0019428967498242855, -0.004156262148171663, -0.02629009447991848, 0.0588272400200367, -0.03183238208293915, -0.053699757903814316, -0.011413282714784145, 0.0052079553715884686, 0.03125482425093651, 0.024121902883052826, 0.003254928160458803, 0.03153635561466217, 0.06256329268217087, 0.030682550743222237, -0.0182283204048872, 0.03625669702887535, -0.0007939094211906195, -0.03573354706168175, 0.0036518911365419626, -0.039482831954956055, 0.011691403575241566, 0.011822360567748547, 0.011716775596141815, -0.0551169216632843, -0.043218888342380524, -0.0010936245089396834, -0.056336138397455215, -0.028968319296836853, -0.001707594026811421, -0.013079172000288963, 0.016246287152171135, 0.034152802079916, -0.04632017761468887, -0.05547504499554634, 0.010403694584965706, 0.0012126975925639272, -0.043587055057287216, -0.049464743584394455, -0.0417943075299263, 0.008252905681729317, -0.027885043993592262, 0.014665483497083187, 0.009452741593122482, -0.0027013057842850685, 0.015065930783748627, -0.009341818280518055, -0.02304786816239357, 0.018002891913056374, -0.004886279813945293, -0.020684409886598587, -0.033931832760572433, 0.011359681375324726, 0.015147329308092594, 0.0012061356101185083, -0.017360569909214973, 0.022351862862706184, 0.03663936257362366, 0.02605482004582882, -0.001252138870768249, 0.029098771512508392, 0.018526175990700722, -0.014499013312160969, -0.005910431034862995, 0.015489445999264717, -0.03794337809085846, 0.03770730271935463, -0.01987248659133911, -0.014930687844753265, -0.009986364282667637, 0.04262637346982956, -0.00019913408323191106, -0.020092258229851723, -0.05358856916427612, 0.02563021518290043, -0.054383255541324615, 0.027609869837760925, -0.009633016772568226, 0.0005972217186354101, 0.03386087343096733, -0.011408605612814426, 0.055340562015771866, -0.00926502700895071, -0.04512949660420418, -0.014525771141052246, -0.001971621299162507, -0.03615361824631691, 0.013927784748375416, -0.00911371037364006, -0.0034047961235046387, -0.007609825115650892, 0.03998102620244026, 0.012758925557136536, 0.0258539617061615, -0.019059771671891212, -0.015023725107312202, 0.047051649540662766, 0.04107576236128807, 0.05013435333967209, 0.03130398318171501, -0.008960781618952751, 0.02222263626754284, -0.040707360953092575, -0.007206268142908812, -0.011674742214381695, 0.007489318028092384, -0.02831423655152321, 0.0010968720307573676, -0.024604126811027527, -0.06043509393930435, 0.02960200048983097, -0.00040159415220841765, -0.0008157608681358397, 0.010223876684904099, -0.0032759103924036026, -0.019596528261899948, -0.047818414866924286, 0.03366720303893089, 0.05411261320114136, -0.056515466421842575, -0.015022043138742447, -0.009845247492194176, 0.017260663211345673, 0.006044837646186352, 0.03414682298898697, -0.0736076608300209, 0.0004490228893700987, -0.02133077383041382, 0.005898206494748592, -0.01418634969741106, -0.036847785115242004, -0.015325849875807762, 0.018201718106865883, -0.021068092435598373, 0.013906889595091343, -0.02677128091454506, -0.0009713804465718567, -0.007234370801597834, -0.01225216779857874, 0.03212939575314522, -0.002001734683290124, -0.01571282371878624, 0.014380883425474167, -0.0159168504178524, 0.017741737887263298, -0.014723538421094418, 0.04621479660272598, 0.014818679541349411, -0.011997186578810215, -0.01627090387046337, -0.03612048551440239, 0.022832613438367844, -0.018167104572057724, 0.06029249727725983, 0.010193747468292713, -0.001585420803166926, -0.05620850995182991, 0.016885526478290558, -0.03566088527441025, 0.01330634206533432, -0.009573495015501976, -0.015012159943580627, 0.014794882386922836, 0.04487018659710884, 0.009265754371881485, 0.05286916717886925, -0.03950968012213707, -0.02799050696194172, 0.05691765993833542, -0.03403744474053383, -0.0625600591301918, -0.010576227679848671, -0.05160177871584892, 0.009855012409389019, 0.029505785554647446, 0.026578420773148537, -0.036338772624731064, 0.05410024896264076, 0.0432182252407074, 0.014329667203128338, 0.008568545803427696, -0.014353764243423939, 0.03165745735168457, -0.03150918707251549, -0.00007236860983539373, -0.0889197587966919, -0.00615021213889122, 0.06275757402181625, 0.014594519510865211, 0.0042724828235805035, -0.011544267646968365, -0.03478025645017624, 0.00821213610470295, -0.06299100816249847, -0.004018626641482115, 0.06024978309869766, -0.028577810153365135, 0.010684329085052013, 0.01606038026511669, -0.05852682515978813, 0.032797593623399734, 0.05579519644379616, -0.03427491709589958, -0.007631330750882626, -0.026266472414135933, 0.04665420949459076, -0.008846948854625225, 0.029606681317090988, 0.01086343266069889, -0.02271684817969799, 0.0841292068362236, 0.0038585588335990906, 0.0003253928734920919, 0.05942321941256523, -0.004861316177994013, 0.010691007599234581, 0.04587821662425995, -0.016899611800909042, -0.0005648447549901903, 0.020121656358242035, -0.03637388348579407, -0.07150847464799881, 0.03545859083533287, 0.005388963036239147, -0.027319423854351044, -0.022568799555301666, 0.08924265205860138, 0.04436232149600983, -0.052706029266119, -0.0356159582734108, 0.03251253068447113, -0.05756257101893425, -0.004461727570742369, -0.009706711396574974, 0.007252886891365051, -0.04345905780792236, 0.035339757800102234, -0.0414569266140461, 0.014105127193033695, 0.07088472694158554, -0.020461460575461388, 0.0011598379351198673, -0.0032048423308879137, 0.08387887477874756, 0.0822625681757927, 0.0559149906039238, -0.005981173366308212, 0.05372622609138489, -0.039290476590394974, -0.041230544447898865, -0.017801951617002487, 0.018842294812202454, 0.011944206431508064, 0.005531764589250088, 0.007826223038136959, 0.06740127503871918, -0.021045414730906487, 0.07519600540399551, -0.011008776724338531, -0.025757543742656708, -0.0052451640367507935, -0.0058151972480118275, 0.056105632334947586, 0.04675096273422241, 0.005790760740637779, 0.020526504144072533, -0.020389189943671227, -0.01838603802025318, 0.041454438120126724, -0.021516073495149612, -0.05425836890935898, 0.01594483107328415, -0.007694767788052559, 0.04510149732232094, -0.014030561782419682, 0.07905657589435577, 0.07309190183877945, -0.006808355916291475, 0.02314796671271324, 0.000006339791070786305, 0.01308885496109724, 0.001511415233835578, 0.007036988157778978, -0.0022581536322832108, -0.005849945358932018, -0.017084762454032898, -0.027575014159083366, -0.030614938586950302, -0.030586879700422287, -0.06015303358435631, 0.027877535670995712, -0.015226375311613083, -0.02669600211083889, -0.007651586551219225, 0.011517525650560856, -0.04953404515981674, -0.05347948148846626, -0.03187945857644081, -0.05587228760123253, -0.05861613526940346, -0.03178856521844864, 0.02257874608039856, 0.00860492791980505, -0.026565873995423317, -0.02185480110347271, -0.01926294155418873, 0.013928706757724285, 0.027702443301677704, -0.03680024296045303, 0.02459108456969261, 0.0213810782879591, 0.031085504218935966, 0.010716423392295837, -0.004690898582339287, 0.0374225489795208, 0.013341952115297318, -0.022179748862981796, -0.02300925739109516, 0.011868325062096119, 0.05576051399111748, 0.030493954196572304, -0.012765012681484222, -0.08215580135583878, -0.023046908900141716, 0.03245817497372627, 0.003961271606385708, -0.07138308882713318, 0.021808281540870667, 0.019741663709282875, -0.003743750974535942, 0.04203522950410843, -0.01772552914917469, -0.007656066678464413, -0.044322624802589417, -0.022069158032536507, 0.005111071281135082, 0.004193892236799002, 0.03942480683326721, -0.011272589676082134, 0.09466058760881424, 0.0272381491959095, -0.019040994346141815, -0.060858067125082016, -0.03466704115271568, -0.024525165557861328, 0.031423117965459824, -0.04698411375284195, -0.027921967208385468, -0.05148644000291824, -0.06027570366859436, -0.04333021119236946, 0.025555318221449852, -0.0452834889292717, -0.03524539992213249, 0.026282502338290215, 0.03935236856341362, -0.022781040519475937, 0.03952881693840027, -0.042632512748241425, 0.029443712905049324, -0.003530538408085704, -0.025621073320508003, -0.020437611266970634, -0.02942783571779728, 0.007155249360948801, 0.006966671906411648, 0.013767072930932045, -0.04031659662723541, -0.0021425983868539333, 0.0065474496223032475, 0.03618510067462921, 0.030537981539964676, 0.013567660935223103, -0.019915061071515083 ]
[ -0.07891859859228134, -0.01091416459530592, -0.057690247893333435, -0.02860295958817005, 0.036506883800029755, -0.06046124920248985, -0.007695872336626053, 0.035538773983716965, -0.005238967016339302, -0.021692659705877304, -0.0008849340374581516, -0.04223308339715004, 0.01726924441754818, -0.00902954488992691, 0.11895252764225006, -0.017471477389335632, 0.019432982429862022, -0.06007666140794754, -0.05150332301855087, 0.0208477471023798, 0.027278482913970947, -0.0409245528280735, -0.04072605445981026, -0.053826700896024704, 0.03319334611296654, 0.023694831877946854, 0.048168081790208817, -0.03594089299440384, -0.012995409779250622, -0.17298533022403717, 0.01410715002566576, 0.001257437514141202, 0.04445677995681763, -0.030420485883951187, -0.0023366715759038925, 0.06835504621267319, 0.024712903425097466, -0.01073460653424263, -0.008372877724468708, 0.03886427357792854, 0.048666857182979584, -0.0018446722533553839, -0.03991911560297012, -0.002821887144818902, 0.042533762753009796, -0.00702118081972003, -0.008298403583467007, -0.01701728254556656, -0.04485015943646431, 0.00952561479061842, -0.08603717386722565, 0.0026628063060343266, 0.02604665979743004, -0.026042399927973747, 0.0123222004622221, 0.04644285887479782, 0.004921187646687031, 0.08681271970272064, 0.02330845408141613, 0.029293736442923546, -0.011491683311760426, 0.010028970427811146, -0.12212607264518738, 0.11766258627176285, 0.021764380857348442, 0.0420902855694294, -0.03781542554497719, 0.018949007615447044, -0.029404817149043083, 0.06869019567966461, 0.036709148436784744, -0.01052679680287838, -0.030642438679933548, 0.05460609495639801, -0.001102056703530252, -0.0002761913638096303, 0.003999640699476004, 0.00963786244392395, 0.004188494756817818, -0.03704264760017395, -0.04308534786105156, 0.0083673857152462, -0.006487391423434019, 0.002561514964327216, -0.03221119940280914, 0.010267351754009724, -0.018105123192071915, 0.03630328178405762, 0.024847649037837982, 0.0072504677809774876, 0.005412212107330561, -0.022036250680685043, 0.03797044977545738, 0.008790606632828712, -0.09259232133626938, -0.029175149276852608, -0.0021477453410625458, 0.021438101306557655, -0.03656403720378876, 0.3909246325492859, -0.02583388425409794, -0.005083370488137007, 0.09308875352144241, 0.0222922470420599, 0.013320217840373516, 0.009597290307283401, 0.008142338134348392, -0.06686840206384659, 0.026235487312078476, -0.04460527375340462, -0.03491261228919029, -0.03680900111794472, 0.0430523045361042, -0.0415755994617939, -0.009150555357336998, 0.003512528957799077, 0.05839184299111366, 0.03806549683213234, -0.004135435447096825, 0.0004340315645094961, 0.007927577011287212, 0.01334775798022747, 0.04171932488679886, -0.0015662208897992969, -0.007487766910344362, 0.031724877655506134, 0.027729595080018044, 0.03444715216755867, 0.042729493230581284, 0.04713385924696922, 0.02723882347345352, -0.001601782045327127, -0.10145900398492813, 0.018958959728479385, 0.008451413363218307, 0.02012956328690052, -0.008434933610260487, -0.06878294050693512, 0.007144737057387829, 0.00046685553388670087, -0.012414184398949146, -0.037946272641420364, 0.03210190311074257, -0.0027375833597034216, -0.039431922137737274, 0.0919482409954071, 0.027650395408272743, -0.04502807930111885, -0.027105309069156647, -0.041890498250722885, -0.011749298311769962, 0.042375270277261734, -0.007445424795150757, -0.04601992666721344, 0.006073775235563517, 0.03197389468550682, 0.07881718873977661, -0.04399651661515236, -0.07461876422166824, -0.0019155750051140785, -0.010419216006994247, -0.040122874081134796, -0.023117929697036743, 0.04112675413489342, 0.0323743037879467, -0.1057688295841217, -0.0013164269039407372, 0.026013385504484177, 0.02659706585109234, -0.07451467216014862, 0.007238691207021475, 0.03634272515773773, -0.03819397836923599, -0.013348499312996864, 0.03445987030863762, -0.020871927961707115, -0.025358431041240692, -0.0019939562771469355, 0.06631843745708466, 0.03205875679850578, -0.017095321789383888, -0.0004219475667923689, -0.041466813534498215, 0.04358767345547676, -0.05945698171854019, -0.0530543327331543, -0.051381099969148636, -0.01909775473177433, -0.01846703700721264, -0.012726801447570324, 0.011092930100858212, -0.0008733267895877361, -0.07273772358894348, 0.05634963512420654, -0.038959767669439316, -0.008467049337923527, -0.0038813443388789892, 0.025199102237820625, -0.0034139081835746765, -0.019725007936358452, -0.027730058878660202, 0.018897254019975662, -0.040949948132038116, 0.018664686009287834, -0.06138456612825394, 0.007013525813817978, 0.05601704120635986, -0.048301227390766144, 0.06501294672489166, 0.037195876240730286, -0.008281631395220757, 0.015942957252264023, -0.011023874394595623, 0.004209698177874088, -0.00013283826410770416, 0.00010625323193380609, -0.014834104105830193, -0.024687914177775383, 0.03731667250394821, 0.03305696323513985, -0.05995288863778114, -0.051157139241695404, -0.03333538770675659, -0.3542427718639374, -0.05628784000873566, -0.001454064971767366, -0.010241968557238579, 0.04029574990272522, -0.08591705560684204, 0.003932593856006861, -0.02017705887556076, -0.01164260320365429, 0.01619648188352585, 0.10321447998285294, -0.03169797360897064, -0.017718859016895294, -0.12201668322086334, 0.02198130451142788, 0.022851690649986267, 0.0013754228129982948, -0.03523608297109604, 0.011488491669297218, 0.05433300882577896, 0.003988839220255613, -0.04500728100538254, -0.006800289731472731, -0.04290967062115669, 0.00042860466055572033, -0.013580276630818844, 0.08367854356765747, 0.04569631814956665, 0.07560999691486359, -0.060220666229724884, 0.04199039191007614, 0.006811701692640781, -0.0008602871675975621, -0.10967236012220383, -0.029890242964029312, -0.012588340789079666, 0.023336220532655716, 0.00648306030780077, 0.01273360475897789, -0.030080227181315422, -0.0584377758204937, 0.03262923285365105, -0.05672745034098625, -0.051978424191474915, -0.04656797647476196, 0.014157007448375225, -0.026072092354297638, -0.02516842819750309, 0.020435284823179245, 0.07369872182607651, 0.01112894993275404, 0.017560850828886032, 0.014096857979893684, 0.028153132647275925, 0.006939008831977844, -0.01581449620425701, -0.05538913607597351, -0.03409809619188309, -0.010041256435215473, -0.018460648134350777, 0.013689955696463585, 0.046291980892419815, 0.046623595058918, -0.076212078332901, 0.026829607784748077, 0.022337645292282104, -0.004500983748584986, 0.0026084629353135824, 0.010877713561058044, -0.03727278485894203, -0.024012479931116104, 0.1145990863442421, -0.0006626024842262268, 0.03268754109740257, 0.03411613404750824, 0.05944773554801941, -0.02506929822266102, 0.013027519918978214, 0.023491032421588898, 0.03253389149904251, 0.03251105546951294, 0.020431045442819595, 0.07818340510129929, -0.030435869470238686, -0.027633128687739372, 0.047700442373752594, -0.03485816344618797, -0.027928795665502548, 0.058263152837753296, 0.027748005464673042, -0.023015299811959267, 0.008186712861061096, -0.010862340219318867, -0.05722948536276817, 0.0684526264667511, 0.006448540836572647, -0.2504039704799652, 0.026546569541096687, 0.05831782892346382, 0.06969206035137177, 0.028986232355237007, 0.008739168755710125, 0.049606211483478546, -0.08513251692056656, 0.00003801801358349621, 0.025377437472343445, 0.034331027418375015, 0.07420260459184647, 0.027777915820479393, -0.010170518420636654, 0.028075559064745903, -0.016060421243309975, 0.01379756722599268, 0.00003778837708523497, -0.0016293312655761838, -0.020497994497418404, 0.02223328873515129, -0.04629592224955559, 0.17370526492595673, 0.02779121696949005, -0.0024730744771659374, 0.021125927567481995, -0.00975562259554863, 0.02870331145823002, 0.07913190871477127, 0.010817303322255611, -0.0016800351440906525, 0.017825601622462273, 0.027426201850175858, 0.0353575125336647, 0.02389412745833397, -0.06938079744577408, -0.03265463560819626, 0.018843458965420723, 0.022646775469183922, -0.02421099692583084, -0.0018708230927586555, 0.02393283136188984, -0.062028415501117706, 0.02173212543129921, 0.07768619805574417, -0.016424309462308884, -0.004694440867751837, -0.042619578540325165, -0.048545047640800476, 0.01914384216070175, -0.014057997614145279, -0.029066942632198334, -0.026267187669873238, 0.0229521244764328, -0.004027817863970995, 0.07766317576169968, 0.011080256663262844, -0.03126653656363487, 0.018281610682606697, 0.00872057769447565, -0.020442603155970573, -0.03987165912985802, 0.10935914516448975, 0.02401747554540634, 0.028243375942111015 ]
[ 0.004054572433233261, 0.021702054888010025, -0.007668287958949804, -0.0018610286060720682, 0.02232203260064125, -0.00542789651080966, 0.0011838237987831235, 0.041550252586603165, 0.00195862865075469, -0.037552013993263245, 0.007377137895673513, 0.0097828209400177, 0.034685567021369934, -0.03536461666226387, 0.0014049981255084276, -0.005633583292365074, -0.011220687068998814, -0.019125264137983322, 0.035661399364471436, -0.02360306680202484, 0.0076103853061795235, 0.040667351335287094, 0.01882185786962509, 0.012667905539274216, -0.002628715941682458, 0.04081614315509796, -0.009939311072230339, 0.005299842916429043, 0.01867802068591118, -0.11605577915906906, -0.01842283084988594, -0.019243761897087097, 0.021108627319335938, 0.008029956370592117, -0.015790313482284546, 0.04636964946985245, -0.0004653827927540988, 0.005501939449459314, 0.0022040936164557934, 0.0027526458725333214, 0.009526113979518414, -0.007627964019775391, -0.021376676857471466, 0.00805311743170023, -0.010986173525452614, 0.02736704796552658, 0.008033333346247673, -0.03134792670607567, -0.031164338812232018, 0.007516537327319384, -0.027420809492468834, -0.018315395340323448, 0.008780344389379025, 0.03128020837903023, 0.01318902987986803, -0.011132738552987576, -0.046344272792339325, -0.019178083166480064, 0.01639624685049057, -0.04326512664556503, 0.0035149625036865473, 0.0054223197512328625, -0.04017176851630211, -0.01410088874399662, -0.002185963559895754, -0.023191126063466072, -0.047496162354946136, 0.034399524331092834, 0.007384089287370443, 0.00009650000720284879, -0.007473801262676716, 0.0177631713449955, -0.021358171477913857, -0.03873511031270027, -0.03897519409656525, 0.016244929283857346, 0.034101445227861404, -0.04372386261820793, -0.024812664836645126, -0.03613484650850296, -0.045828286558389664, 0.00741299893707037, -0.00047039403580129147, 0.03255719691514969, 0.009793125092983246, 0.017171846702694893, 0.02199898287653923, -0.01226880494505167, -0.00313000101596117, 0.03012550063431263, -0.013483117334544659, 0.024274369701743126, 0.027323272079229355, 0.004968652967363596, -0.08063888549804688, 0.02354690060019493, -0.015996381640434265, -0.03131796792149544, -0.006217421032488346, 0.8462031483650208, 0.028523573651909828, 0.03952839598059654, 0.011996547691524029, 0.005260154604911804, 0.006475364323705435, -0.0272565558552742, -0.028848333284258842, 0.0029230061918497086, 0.04688518866896629, 0.010278702713549137, 0.025499505922198296, 0.01582886464893818, 0.02124873362481594, 0.020680371671915054, 0.01657450757920742, 0.01192832738161087, 0.016071930527687073, 0.02969997562468052, 0.05987849831581116, 0.02369116246700287, 0.004014040343463421, -0.0017682049656286836, -0.020921049639582634, 0.015206308104097843, 0.0318550281226635, -0.15877126157283783, 0.005460080690681934, -6.794664445651974e-33, 0.004556765779852867, -0.010690761730074883, 0.02891872636973858, -0.013742836192250252, -0.031254641711711884, -0.013697566464543343, 0.004513487685471773, -0.012567664496600628, -0.02090102806687355, -0.000990075059235096, -0.006795924156904221, 0.00872547272592783, 0.02659914456307888, -0.02264533005654812, 0.03308858722448349, -0.007525634486228228, -0.009439047425985336, 0.03958922624588013, 0.02019025757908821, -0.00032375662703998387, -0.002131248824298382, -0.006942871492356062, -0.014772157184779644, 0.004576148930937052, 0.02356920950114727, 0.024076664820313454, 0.04734557867050171, -0.0224626287817955, 0.002699595643207431, -0.04528026655316353, -0.028598148375749588, 0.02872288040816784, 0.017040833830833435, -0.027222860604524612, 0.010687562637031078, -0.04099268838763237, 0.014158084988594055, 0.005907869432121515, -0.0453234538435936, -0.05214723199605942, -0.023697348311543465, 0.022271495312452316, -0.025288334116339684, -0.031719062477350235, -0.014291889034211636, -0.029684588313102722, -0.008708099834620953, 0.031113000586628914, -0.007608065381646156, 0.008590019308030605, 0.010212003253400326, -0.023816946893930435, 0.021995961666107178, -0.06188146397471428, -0.01609734818339348, -0.005859983153641224, -0.01743868924677372, -0.012386868707835674, 0.023866524919867516, 0.0294390507042408, 0.0011164335301145911, 0.000315257377224043, 0.005515914410352707, 0.012365996837615967, 0.024993786588311195, -0.01414799690246582, -0.018380863592028618, -0.018656905740499496, -0.029610391706228256, 0.03237193450331688, -0.04136412590742111, -0.01342546846717596, -0.010706846602261066, -0.02790859527885914, 0.01614588312804699, -0.021030375733971596, -0.017339838668704033, -0.05319596081972122, -0.028918694704771042, 0.05743790417909622, 0.005383622366935015, -0.04694125056266785, 0.011547133326530457, -0.0105697400867939, 0.0011498243547976017, -0.017200663685798645, 0.009232657961547375, -0.006808539852499962, -0.0012290963204577565, 0.039474692195653915, 0.03816799446940422, 0.020879164338111877, -0.0013044147053733468, -0.000597654317971319, -0.04159451276063919, 7.188188362896598e-33, -0.047190308570861816, -0.008182866498827934, -0.003439987078309059, -0.02275977097451687, 0.005478569306433201, -0.014816606417298317, -0.01550758071243763, -0.004680621437728405, -0.03574419021606445, 0.03778188303112984, -0.029173336923122406, -0.02057010680437088, -0.06423323601484299, 0.00876950565725565, 0.06716782599687576, 0.015514370985329151, 0.02639053575694561, -0.012524538673460484, -0.0025528573896735907, 0.01669924706220627, 0.022764382883906364, 0.014641745947301388, 0.01834811270236969, 0.013820480555295944, 0.04469873756170273, 0.05287664383649826, 0.012621396221220493, 0.05434171482920647, 0.008741924539208412, -0.028799135237932205, -0.00904734805226326, -0.024163970723748207, 0.011957080103456974, 0.007843161933124065, -0.037211015820503235, 0.03910807892680168, -0.018305227160453796, -0.016250256448984146, 0.040353383868932724, -0.00945371389389038, 0.007765905931591988, -0.0047978307120501995, -0.0056336503475904465, 0.011742496863007545, -0.023520110175013542, -0.012533864006400108, 0.014097391627728939, 0.0011031953617930412, -0.01944306120276451, 0.03630686178803444, 0.02491898089647293, 0.008057848550379276, 0.008430141024291515, 0.03300660848617554, -0.008388329297304153, -0.04122154042124748, -0.014284263364970684, 0.02144262008368969, -0.043449174612760544, -0.06184421107172966, -0.02179095707833767, -0.02267082966864109, 0.013486887328326702, 0.012839586474001408, -0.0422721728682518, -0.04155711084604263, -0.03232773393392563, -0.01095248106867075, -0.0046037533320486546, -0.026976360008120537, -0.02126147970557213, -0.0002743568329606205, 0.017848419025540352, 0.04775785282254219, 0.008365567773580551, -0.031362731009721756, -0.007456826977431774, -0.0050283693708479404, -0.03282172977924347, 0.019179411232471466, 0.0027787829749286175, 0.05773285776376724, 0.011927878484129906, -0.012117941863834858, 0.02749493531882763, -0.0009215163881890476, 0.0016420400934293866, 0.04465062543749809, 0.03993874788284302, -0.00999627448618412, 0.01587580144405365, -0.0035778789315372705, -0.0006847263430245221, 0.04252978786826134, -0.025063348934054375, -1.277360706097852e-8, -0.026578955352306366, -0.025069216266274452, -0.01880667358636856, 0.008986104279756546, 0.03235611319541931, 0.029176510870456696, 0.007528249174356461, 0.01228481438010931, -0.010393880307674408, -0.01030406542122364, 0.05051606521010399, -0.010953781194984913, 0.035322532057762146, 0.03206290677189827, 0.029995223507285118, -0.02492750622332096, 0.010404597036540508, -0.014708134345710278, 0.02891448326408863, 0.007663876749575138, -0.016195349395275116, 0.053118959069252014, -0.012962842360138893, 0.00758960610255599, 0.020420003682374954, 0.014734470285475254, 0.0053293416276574135, -0.1012386828660965, 0.003416917286813259, -0.026166757568717003, 0.019039731472730637, -0.027586931362748146, -0.0031037330627441406, -0.002250799909234047, -0.01894204318523407, -0.01861828751862049, 0.019000396132469177, 0.009715615771710873, -0.029461365193128586, 0.009358094073832035, 0.01747812330722809, -0.014028838835656643, -0.028607077896595, -0.024323705583810806, -0.03509357571601868, -0.024658311158418655, -0.008971335366368294, 0.012900987640023232, 0.04617244005203247, 0.0008933591889217496, 0.009124664589762688, -0.009413609281182289, 0.04072026535868645, -0.011895459145307541, 0.012276011519134045, -0.011689910665154457, 0.022983431816101074, -0.052753813564777374, -0.022307567298412323, -0.012288296595215797, 0.027382846921682358, 0.026752404868602753, -0.020146429538726807, -0.004737282171845436 ]
clojure-parsing-an-rss-feed
https://markhneedham.com/blog/2009/11/30/clojure-parsing-an-rss-feed
false
2009-11-08 09:57:41
Knowing when to persevere and when to change approach
[ "software-development" ]
[ "Software Development" ]
It strikes me that one of the most important skills to develop in software development is knowing when to keep going with an approach to a problem and when we should stop and try something else. This situation doesn't always happen because if we have two people available and realise before we start on the task that there is some doubt as to which solution is the most appropriate then we can adopt a http://www.markhneedham.com/blog/2009/09/19/set-based-concurrent-engineering-a-simple-example/[set based approach] whereby we try out multiple potential solutions in parallel. However I've found that there are times when we might think that one solution is much better than the alternatives and we will start working on that and discard the alternatives for the moment. Frequently the approach we choose will solve our problem but on other occasions we can end up getting a bit bogged down when it doesn't work out as expected. At this stage I often find that my instinct is to try and solve these problems and while I think this is certainly a valid approach it's also very easy to end up http://www.markhneedham.com/blog/2008/10/25/dont-shave-the-yak-ask-why-are-we-doing-this/[shaving the yak]. This seems to happen much more frequently when working alone and even when we're getting feedback which suggests that what we're trying isn't working we can be reluctant to back track. I think there is some pride involved as I frequently find myself really wanting to make the current approach work as I believe that a better developer than myself would be able to do so. Sometimes that is the case but more often than not when I work through the problem with a colleague their suggestion is to try another approach rather than continuing to struggle with the current one. It doesn't make a lot of sense to spend all our time going down one avenue when our goal is solve a particular problem and the solution is a means to that end. When discussing this with http://pilchardfriendly.wordpress.com/[Nick] he pointed out that we also need to recognise when we should persevere with the approach. One way to avoid too much yak shaving is to set a http://en.wikipedia.org/wiki/Timeboxing[timebox] by when we should either have a better idea of whether we are going to be able to solve the problem with this solution or if we need to consider an alternative. If there's some light at the end of the tunnel with an approach after this period then I would be inclined to keep on going but it's sometimes difficult to tell how close we actually are and how much is wishful thinking! I still sometimes find myself struggling to decide whether to keep going or change direction so it'd be interesting to know if anyone has ideas around doing so more effectively.
null
null
[ 0.029004910960793495, 0.0131140798330307, -0.016031866893172264, 0.03636917099356651, 0.08458607643842697, 0.04744014889001846, 0.02219572477042675, 0.03574396297335625, 0.019056962803006172, -0.023233603686094284, -0.0299429539591074, 0.009440919384360313, -0.05869116261601448, 0.012773757800459862, -0.04921192675828934, 0.07344754785299301, 0.07896699011325836, -0.015949320048093796, 0.016330590471625328, 0.017647873610258102, 0.03547527268528938, 0.07919684797525406, 0.018414461985230446, 0.023921415209770203, 0.0449177585542202, -0.012983822263777256, -0.000831661163829267, -0.015504397451877594, -0.04504618048667908, -0.016701146960258484, 0.030586538836359978, -0.0021132794208824635, 0.005472921766340733, -0.03227081149816513, 0.016338292509317398, -0.013587318360805511, -0.022189199924468994, 0.04282807931303978, 0.011517183855175972, -0.00715679069980979, -0.056133631616830826, 0.05229346081614494, -0.025231080129742622, 0.00003187947368132882, -0.015183329582214355, 0.007250132039189339, -0.02831115573644638, 0.0038150022737681866, 0.01712644472718239, -0.0145873436704278, -0.08575732260942459, 0.036333125084638596, 0.011939185671508312, -0.014824396930634975, -0.0063193910755217075, 0.043000657111406326, 0.020981736481189728, -0.06312891095876694, 0.0037508646491914988, -0.02366465888917446, -0.011347583495080471, -0.00851572584360838, -0.007383102085441351, 0.04114421829581261, 0.027888603508472443, -0.023280970752239227, 0.009662562049925327, 0.02737143449485302, -0.03271833807229996, 0.009057273156940937, -0.016605092212557793, -0.003935638815164566, -0.009619073942303658, -0.01027908455580473, -0.010325471870601177, -0.04548085108399391, 0.024055656045675278, 0.05565788596868515, 0.014162808656692505, 0.0323583222925663, -0.0351758748292923, 0.031124284490942955, -0.009969053789973259, 0.019965169951319695, -0.0006554854335263371, -0.04567050188779831, 0.03327152132987976, -0.0028584888204932213, -0.0626310259103775, 0.057631127536296844, 0.030481787398457527, -0.06057490035891533, 0.01477972511202097, 0.040606386959552765, 0.011915531009435654, 0.009138979017734528, 0.02887844853103161, 0.008850757032632828, 0.012957504950463772, -0.0002587538619991392, -0.007637486327439547, -0.020621541887521744, -0.009552568197250366, 0.012117239646613598, -0.08536989986896515, -0.011368170380592346, -0.004813970532268286, -0.0022853566333651543, -0.01923164166510105, 0.000029917740903329104, -0.04843931272625923, 0.011478129774332047, -0.020548881962895393, 0.019691895693540573, -0.0711057260632515, 0.06142440438270569, -0.01580318994820118, -0.031041016802191734, -0.012731902301311493, 0.0019063332583755255, 0.028145762160420418, 0.015705382451415062, -0.019264377653598785, 0.07813760638237, -0.01566922664642334, 0.009242665953934193, -0.04188542813062668, 0.06570655107498169, -0.018823320046067238, -0.057225339114665985, -0.022651251405477524, 0.05179968848824501, -0.023282643407583237, -0.034069743007421494, -0.0022473640274256468, -0.01633017137646675, 0.030687252059578896, 0.026246430352330208, 0.0066369883716106415, 0.0521480031311512, -0.02761862985789776, -0.05257340893149376, 0.03472888842225075, 0.027744852006435394, 0.010788507759571075, 0.012250624597072601, 0.003834598930552602, -0.014339128509163857, -0.03971981629729271, -0.020957687869668007, 0.000795600179117173, 0.035194527357816696, 0.02043853886425495, -0.04778473824262619, 0.028551675379276276, 0.09677991271018982, 0.028690462931990623, 0.019271893426775932, -0.028681427240371704, 0.009091602638363838, 0.032394204288721085, 0.025283856317400932, 0.012796391732990742, 0.026367971673607826, 0.032355327159166336, -0.03009478934109211, 0.009571712464094162, 0.02981305681169033, 0.01727302186191082, 0.014986664988100529, -0.062487516552209854, -0.037276849150657654, 0.04862736910581589, -0.07040528953075409, -0.0023508798331022263, 0.03814993426203728, 0.08688504993915558, 0.056317705661058426, 0.01735166646540165, -0.0045097628608345985, -0.07490729540586472, 0.025407439097762108, -0.011147693730890751, 0.010441833175718784, 0.02016214281320572, -0.02802915684878826, 0.04501553624868393, 0.03375893086194992, -0.004627108108252287, 0.04040857031941414, -0.08548398315906525, -0.09733305126428604, -0.027584930881857872, -0.020329395309090614, 0.0499725341796875, -0.018274562433362007, -0.002101401099935174, 0.06375660747289658, 0.010520398616790771, 0.05358755588531494, 0.03992642089724541, -0.012700053863227367, -0.02220872975885868, -0.036281194537878036, -0.058794379234313965, 0.06127728149294853, 0.048747070133686066, -0.015336797572672367, -0.04880392551422119, 0.012890219688415527, -0.006972209550440311, -0.01332312636077404, 0.031103145331144333, -0.012290245853364468, 0.040600378066301346, 0.017809094861149788, 0.06332135200500488, -0.035667337477207184, 0.05760205537080765, -0.04173559322953224, 0.0012374762445688248, 0.001213878276757896, -0.012901825830340385, 0.030762983486056328, 0.015289349481463432, 0.09898968786001205, 0.05951012670993805, -0.03748370707035065, -0.04420177638530731, 0.018222633749246597, 0.04791035130620003, -0.04804111644625664, 0.002636559307575226, 0.00006326512084342539, 0.01391554344445467, 0.020543519407510757, -0.057436827570199966, -0.03524797782301903, 0.020051337778568268, -0.05597502738237381, 0.010288371704518795, 0.059204041957855225, -0.039938900619745255, 0.06126214191317558, 0.0012552173575386405, -0.001843035570345819, -0.01732269860804081, -0.012085975147783756, -0.07368986308574677, 0.01951366849243641, 0.010959526523947716, -0.015222365967929363, 0.03637189790606499, -0.007996389642357826, -0.03920452296733856, -0.04630805552005768, -0.021411245688796043, 0.010833087377250195, 0.052191153168678284, 0.05936409533023834, -0.030430039390921593, 0.07009416073560715, -0.0006235713372007012, 0.019639013335108757, 0.0010467935353517532, -0.0500691793859005, -0.03296993300318718, -0.033944953233003616, 0.0003323855344206095, 0.0229482501745224, -0.00479515828192234, 0.0029688370414078236, 0.012415511533617973, -0.0034826009068638086, -0.025641726329922676, -0.014333076775074005, 0.03674572706222534, 0.004340124316513538, -0.006238183937966824, -0.04112810268998146, 0.008204907178878784, 0.05262281000614166, -0.04627876728773117, -0.010654705576598644, 0.02124183252453804, -0.07847508788108826, 0.05871916934847832, -0.07319105416536331, -0.047038961201906204, -0.0002475171640980989, 0.030354972928762436, 0.026350747793912888, -0.0040854415856301785, 0.02720872312784195, 0.07457426935434341, 0.015809400007128716, 0.01953609474003315, 0.003257764969021082, 0.021320046856999397, 0.041397128254175186, 0.013906585052609444, -0.018226170912384987, 0.02950604259967804, 0.00047220426495186985, -0.01164961513131857, -0.05081002786755562, 0.05564555898308754, -0.03229378163814545, -0.28928059339523315, 0.021428603678941727, -0.005525162443518639, -0.038100287318229675, 0.022718098014593124, -0.02652066946029663, 0.01349355187267065, -0.05170735344290733, -0.01346439216285944, 0.0017245396738871932, -0.045569196343421936, -0.05476504564285278, -0.017976459115743637, 0.053799379616975784, 0.0007347083301283419, 0.021016450598835945, 0.03913917765021324, -0.037901196628808975, 0.0038038380444049835, 0.04800748452544212, -0.01028274092823267, -0.0663253664970398, -0.0012372572673484683, 0.04124651104211807, 0.04015394300222397, 0.057324573397636414, -0.08135417848825455, 0.05692436918616295, -0.05679967254400253, 0.0037155249156057835, 0.00479261577129364, 0.007249593269079924, -0.015997759997844696, -0.009460977278649807, -0.013508694246411324, -0.013395654037594795, 0.061552129685878754, 0.006637298967689276, 0.012290866114199162, 0.029924554750323296, -0.020019611343741417, -0.02660360001027584, 0.012084344401955605, 0.025773117318749428, 0.06426744163036346, 0.0030945762991905212, -0.06697056442499161, -0.018932651728391647, -0.0485139824450016, 0.08263081312179565, -0.03496713563799858, -0.011521739885210991, -0.0011406384874135256, 0.03025858663022518, -0.005841190926730633, -0.0012051939265802503, 0.016295786947011948, -0.026640702039003372, -0.02412758395075798, -0.038793206214904785, -0.022624557837843895, -0.034716200083494186, -0.013504566624760628, -0.054510697722435, 0.00013166296412236989, -0.06391552090644836, -0.049740467220544815, -0.027470456436276436, 0.04867486283183098, 0.008366589434444904, -0.01990479789674282, 0.01943555846810341, 0.003325113793835044, -0.10302474349737167, -0.007390674669295549, -0.013578161597251892, -0.018392104655504227, -0.004630531184375286, 0.012368299998342991, 0.02479483373463154, -0.027636950835585594, -0.060709308832883835, 0.04457978159189224, 0.0008803207892924547, 0.04031992703676224, 0.01254972629249096, 0.04050740972161293, 0.004757564980536699, -0.025326494127511978, 0.02432340383529663, 0.0606607086956501, 0.012972639873623848, -0.032413553446531296, -0.030778374522924423, 0.047494471073150635, 0.02017139457166195, 0.005100555252283812, -0.019107433035969734, 0.010355768725275993, 0.014861244708299637, -0.006683168932795525, -0.05560971051454544, 0.028924496844410896, 0.0004501918738242239, -0.010380316525697708, -0.025491803884506226, -0.06526133418083191, 0.02542273700237274, 0.05417710542678833, 0.03638513758778572, -0.009635460563004017, -0.025497784838080406, 0.011243892833590508, -0.0380624495446682, -0.03542005643248558, -0.01727970875799656, -0.005639286711812019, 0.05309367552399635, -0.006512660067528486, -0.008291688747704029, -0.06342862546443939, 0.011432627215981483, 0.008314192295074463, 0.002569978591054678, -0.07500668615102768, -0.02766157127916813, -0.01918444037437439, -0.02653416432440281, 0.013819794170558453, 0.039970763027668, -0.034975070506334305, 0.029891321435570717, 0.03459969162940979, -0.06354974955320358, -0.0017936237854883075, -0.03599541261792183, -0.058942221105098724, -0.01356733962893486, -0.0060884119011461735, -0.0034985789097845554, 0.0032303142361342907, 0.03141643851995468, 0.012262789532542229, 0.0155668118968606, 0.04152616113424301, 0.0017219091532751918, 0.01766236685216427, -0.029790595173835754, 0.029443349689245224, 0.021495632827281952, 0.0019452066626399755, -0.06340282410383224, 0.016543038189411163, -0.03815469145774841, -0.018751120194792747, -0.03642851859331131, 0.010522335767745972, -0.017866935580968857, -0.027207572013139725, 0.004137194249778986, -0.0040406701155006886, -0.03895555064082146, -0.0600823312997818, -0.045808739960193634, 0.038389310240745544, 0.07220245897769928, -0.01910526305437088, 0.0007976266206242144, -0.02811358869075775, 0.00047936069313436747, 0.029092103242874146, 0.01831197552382946, -0.059728559106588364, 0.0005822184612043202, 0.0018751909956336021, 0.00009349834726890549, 0.0009543743799440563, -0.016689959913492203, 0.04192590340971947, -0.008906858041882515, -0.024078086018562317, -0.03226691111922264, 0.018295835703611374, 0.009367531165480614, 0.02659422717988491, -0.0011427737772464752, -0.015076530165970325, -0.004440379794687033, -0.013863234780728817, -0.025963691994547844, -0.043577615171670914, -0.012767162173986435, 0.016418732702732086, 0.029338829219341278, -0.04222685098648071, -0.06799077242612839, 0.04455329850316048, 0.02528439648449421, 0.026445118710398674, 0.026805035769939423, -0.02976232022047043, -0.006196917500346899, -0.02658831514418125, 0.015352774411439896, 0.08419349044561386, -0.07725056260824203, 0.005227968096733093, -0.006352710071951151, 0.021445108577609062, 0.014062805101275444, -0.005785336717963219, -0.03781476989388466, -0.027133883908391, -0.02314876765012741, 0.00469844089820981, -0.08275581151247025, -0.020437059924006462, -0.0007192381308414042, 0.0195896215736866, 0.0008244626224040985, 0.017428914085030556, -0.02592850662767887, -0.011411268264055252, -0.01969524845480919, -0.01783887855708599, 0.001304269884712994, -0.04896542802453041, 0.006728708278387785, 0.023876801133155823, -0.0169050432741642, -0.020220451056957245, -0.03382674604654312, 0.00792295765131712, 0.005864335689693689, -0.03196447715163231, -0.027773620560765266, -0.026118189096450806, 0.009932133369147778, 0.012807813473045826, 0.03346219286322594, -0.004937722813338041, -0.023725753650069237, -0.02195192500948906, -0.03034762665629387, -0.03235736861824989, 0.005361888557672501, -0.01988636888563633, -0.011295443400740623, 0.014141937717795372, 0.06432440876960754, 0.012539339251816273, 0.0379018634557724, -0.0026073595508933067, -0.010005787014961243, 0.040836401283741, -0.04311450570821762, -0.033123672008514404, -0.048225149512290955, -0.06920047849416733, 0.007854788564145565, -0.008895314298570156, 0.02981763333082199, -0.052292775362730026, 0.03517948091030121, 0.034870319068431854, 0.03671473637223244, 0.03151484578847885, 0.00644626235589385, 0.03126918524503708, -0.06275559216737747, 0.014418967999517918, -0.08523161709308624, 0.00912055466324091, 0.010370885021984577, -0.001101192319765687, -0.00540569331496954, 0.00017352895520161837, -0.026702648028731346, 0.059523407369852066, -0.07495956867933273, -0.008944408036768436, 0.03216014802455902, -0.0032766296062618494, 0.009636317379772663, 0.010978779755532742, -0.07304228097200394, 0.025884494185447693, 0.022527974098920822, -0.04394382983446121, -0.015177490189671516, -0.034077953547239304, 0.04914109781384468, 0.00046743382699787617, 0.029937539249658585, -0.03978512063622475, -0.00977775827050209, 0.07300667464733124, 0.008159399032592773, -0.01861453615128994, 0.042991671711206436, -0.01163254864513874, 0.03675681725144386, 0.028988875448703766, 0.015468152239918709, -0.02748453989624977, 0.0302450992166996, -0.010786776430904865, -0.05333517864346504, 0.03857287019491196, 0.019337624311447144, -0.02262199856340885, -0.0219788309186697, 0.05650080740451813, 0.017365820705890656, -0.026022985577583313, -0.03494022786617279, 0.010922753252089024, -0.0608762763440609, 0.011230549775063992, -0.00736163230612874, -0.014349730685353279, -0.04696926474571228, 0.04639893397688866, -0.01470473688095808, 0.007465660106390715, 0.05571497976779938, 0.01498065609484911, -0.024275779724121094, -0.014046727679669857, 0.10742339491844177, 0.05560855194926262, 0.057924795895814896, 0.021406810730695724, 0.06039648875594139, -0.020338715985417366, -0.023701762780547142, 0.033021215349435806, -0.009309590794146061, -0.0252203568816185, -0.049479175359010696, 0.0382545031607151, 0.04535042494535446, 0.008003057911992073, 0.058036647737026215, -0.005503509659320116, -0.015598605386912823, 0.0024592955596745014, 0.04895157366991043, 0.003590244334191084, 0.0636768490076065, 0.02048872783780098, 0.0026309264358133078, -0.01536653470247984, -0.05220796912908554, 0.0281668808311224, -0.0359329916536808, -0.019020654261112213, 0.03926127031445503, 0.0019419736927375197, 0.021520044654607773, 0.03291807323694229, 0.010088005103170872, 0.0871446505188942, -0.05259401351213455, 0.005880976561456919, -0.0075672161765396595, 0.05671200528740883, -0.03220123052597046, 0.003296823939308524, -0.00367283564992249, -0.011051226407289505, 0.000024577446311013773, -0.013794531114399433, -0.01678266003727913, -0.02036518044769764, -0.016032060608267784, 0.0401856005191803, -0.036355793476104736, -0.0016650704201310873, 0.033841922879219055, 0.008852345868945122, -0.0378413125872612, -0.0501861497759819, -0.033075954765081406, -0.039970699697732925, -0.03989711403846741, 0.0025083639193326235, 0.03408614546060562, -0.01714978739619255, -0.03597855567932129, -0.023749981075525284, 0.0005631282110698521, -0.03984159976243973, 0.032070860266685486, -0.04321480914950371, -0.024235930293798447, 0.009668290615081787, 0.02662806399166584, 0.03544791787862778, 0.004974688403308392, 0.04325572028756142, -0.001165902940556407, -0.01734619401395321, -0.010008202865719795, 0.006162604782730341, 0.006660402752459049, 0.003346649231389165, 0.017594996839761734, -0.06442492455244064, 0.03707529231905937, 0.03619392588734627, -0.016539810225367546, -0.054645683616399765, 0.0283373910933733, 0.015354231931269169, -0.00969994068145752, 0.04784016311168671, -0.030138447880744934, -0.0027751680463552475, -0.04741958528757095, 0.0025134047027677298, 0.002277342602610588, 0.026848774403333664, 0.03507356718182564, -0.019161123782396317, 0.07841045409440994, 0.027893181890249252, 0.003600648371502757, -0.051098473370075226, 0.007322316057980061, 0.016479289159178734, 0.007408855017274618, 0.00005643069016514346, -0.043639834970235825, -0.03265485167503357, -0.08538873493671417, -0.040258198976516724, 0.008541449904441833, -0.0229171272367239, -0.02997014857828617, 0.05616883561015129, 0.032769378274679184, -0.022096317261457443, 0.04311782494187355, -0.05388312041759491, 0.0178117323666811, -0.036363016813993454, 0.000032922591344686225, 0.019494228065013885, 0.011959189549088478, -0.01167689636349678, -0.0049077835865318775, 0.020783573389053345, -0.04384955018758774, 0.01510528288781643, 0.0027539122384041548, 0.03396853059530258, 0.030015448108315468, -0.0021665452513843775, -0.002604768378660083 ]
[ -0.08795932680368423, -0.0100368307903409, -0.013825520873069763, -0.03416862338781357, 0.014665557071566582, -0.026240341365337372, 0.0008782526128925383, 0.004765008110553026, -0.0004316931590437889, -0.034096259623765945, -0.0009582752245478332, -0.037983350455760956, 0.004636651370674372, -0.01299324817955494, 0.08510885387659073, 0.02220647782087326, -0.04086192697286606, -0.054141826927661896, 0.01988728530704975, 0.0016754701500758529, 0.010040618479251862, -0.01531640999019146, -0.031305909156799316, -0.04123963415622711, 0.02381829172372818, 0.020915649831295013, 0.03352058306336403, -0.06862527132034302, 0.029748376458883286, -0.18434908986091614, 0.01359479408711195, 0.019799290224909782, 0.03051690012216568, -0.04535110294818878, -0.0025668968446552753, 0.07162404805421829, 0.0061850049532949924, 0.037608884274959564, -0.022405385971069336, 0.03527005389332771, 0.010097847320139408, 0.04196550324559212, -0.03206317499279976, -0.06795065104961395, 0.005743783432990313, 0.01620529778301716, 0.006161574274301529, -0.050517089664936066, -0.03296451270580292, 0.005849320441484451, -0.06096392497420311, -0.04557814821600914, -0.030681317672133446, -0.03376142680644989, -0.009417939931154251, 0.0417213961482048, 0.026511747390031815, 0.07184860855340958, -0.011818421073257923, 0.025523150339722633, 0.03616588935256004, -0.037069257348775864, -0.1389552801847458, 0.08244205266237259, 0.06291916221380234, 0.06435694545507431, -0.018838435411453247, 0.010800114832818508, -0.021266015246510506, 0.11407987773418427, 0.009986969642341137, -0.018077170476317406, -0.01342746987938881, 0.04512741416692734, 0.03746838867664337, 0.0006396714015863836, -0.003361466806381941, 0.016055064275860786, 0.03344617038965225, -0.04446383938193321, -0.012673069722950459, 0.009829317219555378, -0.0007203862187452614, -0.007279476150870323, -0.053709857165813446, 0.015751924365758896, -0.012929773889482021, 0.03959467262029648, 0.033478591591119766, 0.03835412114858627, 0.0519385039806366, 0.011307734064757824, 0.019402319565415382, -0.01574002206325531, -0.07943771034479141, -0.01677018404006958, -0.0010433036368340254, 0.011794124729931355, -0.061709627509117126, 0.4358985126018524, -0.04283302277326584, -0.020961090922355652, 0.06931009888648987, 0.03384293615818024, -0.016163088381290436, -0.010057451203465462, 0.00015006537432782352, -0.06358639895915985, 0.03350648656487465, -0.018450068309903145, 0.027834748849272728, 0.005477084778249264, 0.040175631642341614, -0.045602116733789444, -0.012913281098008156, 0.029586847871541977, 0.009859312325716019, 0.02223128080368042, -0.0024263043887913227, -0.02406131848692894, 0.01580544374883175, 0.0026010768488049507, 0.04524511471390724, -0.003203285625204444, -0.03620079532265663, -0.026094328612089157, 0.02022022381424904, 0.06436938792467117, 0.00986239593476057, -0.04007928818464279, 0.07396108657121658, -0.058853860944509506, -0.05086290091276169, -0.0009029959328472614, -0.006817188113927841, 0.00252456939779222, 0.02646062895655632, -0.038738008588552475, -0.008550685830414295, 0.05281491205096245, 0.004511720966547728, 0.013378225266933441, 0.04273228347301483, -0.030437957495450974, -0.03546738997101784, 0.12331170588731766, 0.023052111268043518, -0.032918233424425125, -0.012510955333709717, -0.04466337710618973, -0.007300963159650564, 0.015309951268136501, -0.012355213053524494, -0.0641278401017189, 0.02636554278433323, 0.006074027623981237, 0.09579457342624664, -0.0054584285244345665, -0.06881966441869736, 0.00517100328579545, -0.03040042333304882, 0.0006504935445263982, -0.08145391196012497, 0.03799188509583473, 0.06231037527322769, -0.08443403244018555, -0.010693292133510113, -0.006379333324730396, 0.020061887800693512, -0.06919627636671066, -0.012678371742367744, 0.01754188910126686, -0.005828362423926592, -0.01858159340918064, 0.05515759810805321, -0.0471382737159729, -0.05345836654305458, 0.003501782426610589, 0.04702191799879074, 0.033145397901535034, 0.0549478754401207, 0.02068851701915264, -0.018920067697763443, 0.006746476050466299, -0.027413424104452133, -0.08206262439489365, -0.00553463539108634, -0.00972205400466919, -0.032482489943504333, -0.011378882452845573, -0.025221507996320724, -0.01124617364257574, -0.06499824672937393, 0.0966729074716568, -0.027939679101109505, -0.05043095722794533, 0.028053205460309982, -0.02029847912490368, -0.03909115493297577, 0.002435509115457535, -0.05798491835594177, 0.03221700340509415, -0.020270206034183502, 0.01189542654901743, -0.07622699439525604, 0.042781755328178406, 0.039019305258989334, -0.056019753217697144, 0.07882654666900635, 0.06745597720146179, -0.041937705129384995, -0.02177528105676174, 0.029438618570566177, 0.022575726732611656, 0.015771841630339622, 0.008633289486169815, 0.004155612085014582, 0.0477166622877121, -0.014385310932993889, 0.024766329675912857, -0.008293911814689636, 0.004221935756504536, 0.004758232273161411, -0.35081782937049866, -0.050797466188669205, -0.026397008448839188, 0.003423708025366068, 0.028448933735489845, -0.033231839537620544, 0.008403132669627666, -0.017955763265490532, -0.05115601047873497, -0.0027894892264157534, 0.07502935081720352, -0.029157904908061028, -0.019845280796289444, -0.0731157585978508, 0.0028229940216988325, 0.003009137464687228, -0.04480503126978874, -0.015469186939299107, -0.024969296529889107, 0.005688484292477369, 0.000615383090917021, -0.007266997825354338, -0.00199245847761631, -0.0879712924361229, -0.011550628580152988, -0.024454399943351746, 0.09114305675029755, 0.0025586800184100866, 0.0858195424079895, -0.03442766144871712, 0.03797076642513275, 0.00037500893813557923, 0.021311230957508087, -0.0977461189031601, -0.003104286966845393, 0.00011518519022502005, 0.01802959479391575, -0.050665512681007385, 0.03312043473124504, -0.04321793466806412, -0.035037219524383545, 0.03243297338485718, -0.06530715525150299, -0.02943035028874874, -0.08211889117956161, 0.01974591426551342, -0.03702445700764656, -0.02385001815855503, -0.01716182380914688, 0.04781988263130188, 0.01602013222873211, 0.01667814515531063, -0.00022078573238104582, -0.010554703883826733, -0.005911655258387327, -0.030730746686458588, -0.08944297581911087, 0.029328981414437294, 0.02310531586408615, -0.023911045864224434, 0.008841638453304768, 0.0519125796854496, 0.026191197335720062, -0.026320818811655045, 0.014489415101706982, 0.0126148397102952, 0.01376059278845787, 0.00521108228713274, 0.03901917114853859, -0.017209649085998535, -0.021105218678712845, 0.10383850336074829, 0.005689521785825491, -0.031187305226922035, 0.009020507335662842, 0.02661280706524849, -0.0054251221008598804, 0.012229304760694504, -0.008722386322915554, -0.013393095694482327, 0.01581139862537384, -0.05151953548192978, 0.03136241063475609, -0.010994535870850086, -0.004074186086654663, 0.010719005949795246, -0.010877121239900589, -0.02566518262028694, 0.06791045516729355, 0.0029071953613311052, -0.011465209536254406, -0.003209314774721861, -0.016398658975958824, -0.0626424252986908, 0.08395197987556458, 0.015036281198263168, -0.23481282591819763, 0.035164326429367065, 0.05968316271901131, 0.045287538319826126, -0.022116094827651978, 0.07027361541986465, 0.029541807249188423, -0.014836217276751995, 0.004325163550674915, 0.0024178095627576113, 0.0027544384356588125, 0.029705669730901718, 0.010762518271803856, 0.018763341009616852, 0.05872189626097679, -0.013504266738891602, 0.07263258099555969, -0.0039574159309268, 0.04096416383981705, -0.024349406361579895, 0.02919274941086769, 0.029482068493962288, 0.16104120016098022, -0.02024262212216854, 0.054815758019685745, 0.006209410727024078, 0.00510045513510704, -0.004553226754069328, 0.06549358367919922, -0.004830977879464626, 0.007874351926147938, 0.015818165615200996, 0.027714397758245468, 0.000504812749568373, 0.03919702768325806, -0.05179708078503609, -0.0267093013972044, 0.002878917381167412, 0.03223097696900368, 0.017038024961948395, 0.02161036804318428, 0.002974733477458358, -0.007351089734584093, 0.03777163475751877, 0.08439274877309799, 0.007745894603431225, -0.0003348463505972177, -0.04362522438168526, -0.06149985268712044, -0.028612498193979263, -0.034285902976989746, -0.020021701231598854, 0.023910939693450928, -0.008629992604255676, 0.026323311030864716, 0.06572280079126358, 0.03484705090522766, -0.03126200661063194, -0.033037733286619186, -0.012539485469460487, -0.0023101104889065027, -0.0041662114672362804, 0.10332406312227249, 0.015052635222673416, 0.03783620148897171 ]
[ -0.012416182085871696, 0.014879949390888214, 0.020712917670607567, -0.018635574728250504, -0.008686653338372707, -0.024306442588567734, -0.01676352322101593, 0.002585205715149641, 0.031552504748106, 0.0021905701141804457, -0.0052576023153960705, -0.0069379182532429695, -0.004625496454536915, 0.00004512103259912692, 0.01418396271765232, 0.006625446490943432, -0.00905379094183445, 0.003012420842424035, 0.039403900504112244, 0.011935869231820107, -0.007514581549912691, 0.02221786230802536, 0.012985373847186565, -0.010457267053425312, -0.0297386571764946, 0.013863959349691868, -0.0062969219870865345, -0.00689338706433773, 0.02386171743273735, -0.14594925940036774, -0.020620210096240044, -0.03125966340303421, -0.03377730771899223, -0.005931980442255735, -0.010870084166526794, 0.009401889517903328, 0.015315214172005653, 0.009336835704743862, 0.01103653572499752, -0.025732891634106636, -0.01392232347279787, -0.009080803953111172, 0.00844606664031744, -0.0017489464953541756, 0.0014113037614151835, 0.004741635173559189, -0.02051446959376335, -0.06019888073205948, -0.0033300851937383413, -0.036875009536743164, -0.018198948353528976, -0.03853042796254158, -0.03507073596119881, -0.015187603421509266, 0.05931127071380615, -0.02184799499809742, 0.029177367687225342, 0.012519074603915215, 0.0047069452702999115, 0.014591465704143047, -0.008351251482963562, -0.014836720190942287, -0.05782267823815346, -0.033041249960660934, 0.014661788009107113, -0.012119896709918976, -0.022261545062065125, 0.01606084778904915, -0.055769309401512146, -0.005998576525598764, -0.021481215953826904, 0.011356270872056484, -0.03932075947523117, -0.014475623145699501, -0.004372325260192156, 0.0035629577469080687, 0.0020745086949318647, 0.02649541385471821, -0.011628401465713978, -0.006328337360173464, -0.014671927317976952, 0.020138313993811607, 0.028068484738469124, 0.04755797237157822, -0.010144292376935482, -0.050051238387823105, -0.029517285525798798, 0.023067904636263847, 0.0429651103913784, 0.0012461747974157333, -0.012223048135638237, 0.024610647931694984, -0.0001928195997606963, 0.03770171478390694, -0.0625135600566864, -0.027491038665175438, -0.012278340756893158, 0.022519024088978767, -0.015508322045207024, 0.8485147953033447, -0.01261075772345066, -0.001183542306534946, 0.03133586049079895, -0.014088442549109459, 0.0372212789952755, 0.01361723244190216, 0.010727756656706333, -0.0250104907900095, -0.004442085977643728, -0.054157938808202744, -0.008027058094739914, 0.005820458754897118, -0.010866493918001652, 0.03966648504137993, 0.0257680993527174, 0.01444584783166647, 0.0129499901086092, 0.0004087064298801124, -0.007670577149838209, -0.016000039875507355, 0.04231991618871689, 0.01361741404980421, 0.02939937449991703, -0.03240979462862015, -0.01096418872475624, -0.15744835138320923, 0.030911942943930626, -8.453414074988904e-33, 0.05192943289875984, -0.00116616056766361, 0.01667068339884281, -0.02866102196276188, -0.002078946912661195, -0.0191867183893919, 0.03944415599107742, 0.04728183150291443, -0.015478473156690598, -0.031092703342437744, -0.0030178208835422993, -0.02651950530707836, -0.01014743186533451, -0.025200655683875084, 0.031344104558229446, -0.008733640424907207, -0.008065315894782543, 0.04701390862464905, -0.01655181683599949, 0.040307026356458664, 0.035696301609277725, 0.0006026074406690896, -0.021711667999625206, 0.0055949934758245945, -0.003404724644497037, -0.00578308803960681, 0.01655864343047142, -0.0403151735663414, 0.015185970813035965, -0.03503907099366188, -0.02964399755001068, 0.05720837041735649, -0.011058985255658627, 0.003862899262458086, -0.006469609681516886, -0.00935710035264492, -0.014813718385994434, 0.02035190351307392, -0.01573224924504757, 0.004467411898076534, -0.01581474579870701, -0.02347034588456154, -0.006245201453566551, -0.0026816995814442635, 0.02112753689289093, -0.011545725166797638, -0.00943781528621912, 0.017726348713040352, -0.002571193967014551, 0.021166572347283363, -0.0259315874427557, 0.018769986927509308, -0.01639118231832981, 0.003987831994891167, -0.011382182128727436, -0.007542652543634176, 0.0024118598084896803, 0.006479079835116863, -0.012234481051564217, 0.03441367298364639, -0.000949637615121901, -0.005296936724334955, -0.017267882823944092, 0.02131735533475876, -0.04131697490811348, 0.016431288793683052, 0.003523414023220539, 0.015027414076030254, 0.0121776033192873, 0.04258744791150093, -0.06136332079768181, 0.0025729986373335123, -0.002463939134031534, -0.022816816344857216, -0.013493519276380539, 0.0058182766661047935, -0.008965562097728252, 0.03228779137134552, -0.031067943200469017, 0.04914321377873421, -0.014307618141174316, 0.057252187281847, -0.02571283094584942, -0.06326697021722794, 0.02254503034055233, 0.006433612201362848, 0.023469053208827972, -0.001792520866729319, -0.057591404765844345, 0.036201704293489456, 0.0026606281753629446, 0.018520189449191093, -0.0003703850961755961, -0.0032403033692389727, -0.02629683166742325, 8.676835878145881e-33, 0.023171400651335716, -0.03680504858493805, -0.029061313718557358, 0.020252175629138947, 0.042972564697265625, -0.017074570059776306, 0.02657424658536911, -0.023296987637877464, -0.03354707732796669, 0.02382710762321949, -0.00872920174151659, -0.015885071828961372, -0.00938403606414795, 0.02932565100491047, -0.011174101382493973, -0.03166089951992035, 0.03566863760352135, -0.022559911012649536, 0.026578940451145172, -0.018966393545269966, 0.022933902218937874, -0.005302336998283863, 0.020227933302521706, -0.022945107892155647, 0.002935321070253849, 0.03807751089334488, -0.012344185262918472, -0.0009780103573575616, -0.0007746363990008831, 0.027545975521206856, 0.0013116032350808382, -0.041160017251968384, 0.023908425122499466, -0.021397968754172325, 0.004914033226668835, 0.05069165676832199, -0.02419978566467762, -0.031575608998537064, 0.0005523540312424302, 0.007010197266936302, 0.012012015096843243, -0.0032621310092508793, -0.005313286557793617, 0.009031455963850021, 0.01745661348104477, 0.015270222909748554, -0.012203851714730263, -0.009905599988996983, -0.032112058252096176, 0.01873123273253441, 0.013421054929494858, 0.026206515729427338, 0.009941009804606438, 0.027903176844120026, -0.01751002110540867, 0.007085416465997696, -0.024449976161122322, 0.01622084528207779, -0.030353235080838203, 0.02396121248602867, -0.009744917973876, -0.00038424358353950083, -0.009702609851956367, 0.0007515675388276577, -0.013584581203758717, 0.00829864852130413, 0.04461619630455971, -0.024458814412355423, 0.019168458878993988, -0.004055157769471407, -0.026487749069929123, 0.02120770514011383, -0.016879921779036522, 0.04186934977769852, 0.002009011572226882, -0.0385846383869648, -0.010704664513468742, -0.004038001876324415, -0.018176333978772163, 0.021214423701167107, 0.0006476196576841176, 0.04447429999709129, 0.0158073790371418, 0.003130141645669937, -0.03812647610902786, 0.009632357396185398, -0.021576419472694397, 0.057609815150499344, -0.006719183176755905, -0.026926586404442787, -0.0101118553429842, -0.0004026145616080612, -0.02955356054008007, 0.046801578253507614, -0.0005461034597828984, -1.3771209061985701e-8, 0.012069388292729855, 0.036471422761678696, 0.00972812995314598, 0.023607639595866203, 0.0336470790207386, 0.015557222068309784, -0.02564714103937149, 0.00799071416258812, -0.04322601109743118, 0.015722163021564484, 0.03499831259250641, -0.005896895192563534, -0.009935441426932812, 0.01690209098160267, 0.017005350440740585, -0.05622486770153046, 0.006952065974473953, 0.018279407173395157, 0.023149626329541206, -0.01788346655666828, 0.03951951488852501, 0.0389392115175724, -0.012242058292031288, 0.021726269274950027, -0.0068733240477740765, 0.015416073612868786, -0.01502019353210926, -0.0734509751200676, 0.014004526659846306, 0.04892471805214882, 0.009031943045556545, -0.03397330269217491, -0.013812010176479816, 0.024337707087397575, -0.013521205633878708, -0.04898465424776077, -0.00202093250118196, 0.0314871147274971, 0.04082724452018738, 0.00015156908193603158, -0.014430065639317036, -0.01339525356888771, 0.01868561841547489, -0.015828734263777733, -0.011691778898239136, 0.005418254062533379, -0.03722360357642174, -0.024546969681978226, -0.009448845870792866, -0.0052528842352330685, 0.03405667468905449, 0.00404049176722765, 0.05704968422651291, 0.05425460636615753, 0.022251803427934647, 0.03335679695010185, 0.013748487457633018, -0.06510502099990845, -0.03850788623094559, 0.013871610164642334, 0.02728615142405033, 0.014129862189292908, -0.0021522867027670145, -0.013098916038870811 ]
knowing-when-to-persevere-and-when-to-change-approach
https://markhneedham.com/blog/2009/11/08/knowing-when-to-persevere-and-when-to-change-approach
false
2009-11-08 20:44:18
Coding: The agent noun class
[ "coding" ]
[ "Coding" ]
I refer quite frequently to a post written by my colleague Peter Gillard Moss where he describes the http://jupitermoonbeam.blogspot.com/2008/09/agent-nouns-are-code-smells.html[agent noun code smell for class names]. An agent noun is http://en.wikipedia.org/wiki/Agent_noun[defined by Wikipedia] as: ____ In linguistics, an agent noun (or nomen agentis) is a word that is derived from another word denoting an action, and that identifies an entity that does that action. ____ Some typical examples of this are classes which end in the name 'Manager', 'Retriever', 'Helper' or even 'Controller' http://www.lixo.org/archives/2008/09/12/opportunity-makes-the-thief/[as Carlos points out]. It's often the case that these classes better describe a method which belongs on another object and I quite like Peter's idea that agent nouns are useful for describing the http://www.markhneedham.com/blog/2009/10/18/coding-role-based-interfaces/[roles that our objects carry out]. We came across an interesting problem related to this a while ago where we wanted to calculate the age of a given customer and then send that data to another web page where it would be displayed. The date of birth was an attribute on the 'Customer' object and we didn't need any of the other attributes of a customer on this web page so my first thought was that we needed an 'AgeCalculator' class. [source,csharp] ---- public class AgeCalculator { private readonly IClock clock; public AgeCalculator(IClock clock) { this.clock = clock; } public int CalculateAge(DateTime dataOfBirth) { // do some calculation with clock & date of birth here } } ---- [source,csharp] ---- public void SomeMethod() { var age = new AgeCalculator(new Clock()).CalculateAge(customer.DateOfBirth); // and so on } ---- This approach worked quite well as it allowed us to easily test the age calculation logic in isolation and we could then pass on the age returned to the web page. The thing I didn't like about this solution is that it seems a lot like an agent noun class. The giveaway in this case is that the method name is just a variation on the class name. This suggests that this behaviour belongs on another object instead. It's not as object oriented as it could be but it doesn't seem as bad as some of the other examples such as classes ending in 'Manager' since this object is only solving one problem and we do have calculators in real life. Some colleagues suggested that perhaps age should be an attribute on the customer which does seem to be a better place for this logic to reside. On the other hand age isn't used anywhere else in the application and we don't need any of the other attributes of customer as I mentioned earlier. I'm not sure what the 'right' solution is but there seem to be a few different potential approaches: * Should age be an attribute of the customer? There could be a tiny type 'Age' which does the above logic. * Should we have a role/interface 'ICalculateAges' which the customer implements? * Should we just keep the 'AgeCalculator'? * Is there some other solution that I'm not seeing?! --- In reality after we'd discussed all these alternatives it turned out that the requirement was slightly wrong and that we actually needed to send down the date of birth and not the age. I still think it's an interesting problem though and one that I'm bound to come across again!
null
null
[ -0.004543509799987078, 0.013799788430333138, -0.013275118544697762, 0.02592928148806095, 0.06415051966905594, 0.02118835784494877, 0.03721115365624428, 0.022783054038882256, 0.028233641758561134, -0.016822736710309982, -0.0014286561636254191, 0.014327024109661579, -0.04988441616296768, 0.016853122040629387, -0.021701965481042862, 0.06931305676698685, 0.06464371085166931, 0.0005428541335277259, 0.010330632328987122, -0.007475574035197496, 0.0010207326849922538, 0.058291956782341, 0.026296697556972504, 0.028014596551656723, 0.03400927409529686, 0.0360226072371006, -0.004054130055010319, -0.000913921685423702, -0.03865929692983627, -0.003752656513825059, 0.016669562086462975, 0.03520030155777931, 0.0004040045605506748, 0.012854810804128647, 0.015419568866491318, -0.029500361531972885, -0.01618576981127262, 0.00917045772075653, -0.0029643212910741568, 0.030044062063097954, -0.06972862780094147, 0.02586047723889351, 0.007458839099854231, 0.008883355185389519, -0.0674152821302414, -0.006719539407640696, -0.042501602321863174, -0.009980629198253155, 0.005547885317355394, -0.011366481892764568, -0.07292759418487549, 0.02089955098927021, -0.04311942309141159, 0.003804315347224474, -0.009126206859946251, 0.031811051070690155, 0.010290593840181828, -0.06525026261806488, 0.012916560284793377, -0.056848108768463135, 0.03414371982216835, -0.013795886188745499, 0.022112341597676277, 0.008835016749799252, 0.010009730234742165, -0.0006427752086892724, 0.0020340988412499428, 0.027837926521897316, -0.05728171765804291, 0.016988610848784447, -0.032742682844400406, 0.0043082889169454575, -0.024420835077762604, -0.005660762079060078, -0.0000631120492471382, -0.028804294764995575, 0.02142186276614666, 0.05316480994224548, 0.026018204167485237, 0.03754265233874321, -0.03496699035167694, 0.010096574202179909, 0.0392586924135685, 0.017089344561100006, -0.017001017928123474, -0.03649536520242691, 0.0006156860035844147, -0.008063813671469688, -0.021723398938775063, 0.055649302899837494, 0.03008822165429592, -0.0518542118370533, 0.022182723507285118, 0.02418874017894268, -0.014579949900507927, 0.020418645814061165, 0.029466206207871437, -0.02338423579931259, -0.01443534716963768, -0.018538573756814003, -0.043509591370821, -0.019094467163085938, 0.025642486289143562, 0.03040294535458088, -0.06284580379724503, -0.01244612131267786, -0.017676375806331635, -0.009700843133032322, 0.020780904218554497, 0.008117998018860817, -0.024164697155356407, 0.026595745235681534, 0.0025386661291122437, 0.011872955597937107, -0.06340183317661285, 0.06292572617530823, 0.007257517892867327, -0.015245964750647545, 0.006142274476587772, 0.02394264005124569, 0.044232871383428574, 0.02077251486480236, -0.024154743179678917, 0.059987857937812805, 0.0018203610088676214, 0.029431363567709923, 0.02694791741669178, 0.03303402662277222, -0.015056252479553223, -0.059491805732250214, -0.002509694779291749, 0.0412517674267292, -0.01151653379201889, 0.015102477744221687, -0.005483515560626984, -0.027001293376088142, -0.02453937754034996, 0.004893826320767403, 0.06869171559810638, 0.0490557886660099, 0.009006374515593052, -0.03293417766690254, 0.023512404412031174, 0.0018213203875347972, 0.04118979349732399, -0.0011188972275704145, -0.002687099389731884, -0.027326930314302444, -0.049425892531871796, 0.014314809814095497, 0.012118334881961346, 0.019430140033364296, 0.058137550950050354, -0.024594439193606377, 0.03018062561750412, 0.07711964100599289, 0.029362471774220467, 0.030769504606723785, 0.0010627569863572717, 0.02869390696287155, 0.05764501541852951, 0.005954495631158352, 0.01585111767053604, 0.044874660670757294, 0.01889815181493759, 0.002989509142935276, -0.0048549179919064045, 0.058435071259737015, -0.0015799810644239187, -0.004374060779809952, -0.04696999117732048, -0.05293506756424904, 0.05218183621764183, -0.06941777467727661, -0.0014883303083479404, 0.05319782346487045, 0.07007282972335815, 0.013822551816701889, 0.06250285357236862, -0.014153662137687206, -0.07658030092716217, 0.03269088640809059, 0.027352947741746902, 0.017275745049118996, 0.03430696576833725, -0.021157020702958107, 0.04203736409544945, 0.027477601543068886, 0.007631893269717693, 0.017767885699868202, -0.056613434106111526, -0.05661316215991974, -0.014395136386156082, -0.01963949203491211, 0.04252883791923523, -0.027576303109526634, 0.00034910126123577356, 0.07815312594175339, 0.010120040737092495, 0.05317968502640724, 0.017879540100693703, 0.009581035934388638, 0.010869293473660946, -0.02909197472035885, -0.016241170465946198, 0.060024671256542206, 0.025172200053930283, 0.005338082555681467, -0.03365473821759224, 0.03291792795062065, -0.011483904905617237, 0.0046534230932593346, 0.0570250004529953, -0.03654858097434044, 0.03468475490808487, 0.010316909290850163, 0.05797385424375534, -0.025481870397925377, 0.03534531593322754, -0.05027039349079132, 0.016615834087133408, 0.004568468779325485, -0.03124288097023964, 0.006439975928515196, -0.004285841248929501, 0.11340361833572388, 0.054253458976745605, -0.05039622634649277, -0.05062633007764816, 0.021822411566972733, 0.01909574307501316, -0.0473967008292675, 0.01056735124439001, -0.00029667557100765407, -0.0002713214489631355, -0.006795572116971016, -0.03758785128593445, -0.031137382611632347, -0.004157816991209984, -0.055268142372369766, -0.00010445572843309492, 0.07611954212188721, -0.02927369996905327, 0.044261083006858826, -0.020307905972003937, 0.013701672665774822, -0.010594083927571774, -0.013273154385387897, -0.04178083315491676, 0.009830712340772152, 0.008385028690099716, -0.01961144618690014, 0.02970212884247303, -0.04894296079874039, -0.030756443738937378, -0.025465263053774834, -0.06517662853002548, 0.02049993723630905, 0.0419718474149704, 0.0506744347512722, 0.0029440231155604124, 0.05630508065223694, -0.0071230242028832436, 0.019105352461338043, -0.018722666427493095, -0.06531573832035065, -0.014362138696014881, -0.019682887941598892, -0.005674342624843121, 0.030594587326049805, 0.012336289510130882, 0.0025061732158064842, 0.028099171817302704, -0.004914113786071539, 0.02917078323662281, -0.01877923309803009, 0.06067180633544922, 0.008971725590527058, -0.010537844151258469, -0.013723828829824924, -0.030015958473086357, 0.05327542871236801, -0.027266385033726692, -0.029165145009756088, 0.01937689445912838, -0.10043931752443314, 0.039666760712862015, -0.07957952469587326, -0.04594739153981209, 0.01235079113394022, 0.0048736389726400375, 0.012807660736143589, 0.015035251155495644, 0.011015955358743668, 0.056707873940467834, -0.013463896699249744, 0.0004707372863776982, -0.002717348514124751, -0.007989026606082916, 0.025785889476537704, -0.018209926784038544, 0.019792359322309494, 0.007730053272098303, 0.0037461973261088133, 0.022571465000510216, -0.05835431069135666, 0.023024121299386024, -0.016627542674541473, -0.27779313921928406, 0.010653973557054996, -0.021077342331409454, -0.039568182080984116, 0.027757108211517334, -0.013847148977220058, 0.07661787420511246, -0.05430729314684868, -0.028431611135601997, 0.036312349140644073, -0.017349526286125183, -0.060729868710041046, 0.0013837105361744761, 0.06415081024169922, 0.012920119799673557, -0.0013235228834673762, -0.013535061851143837, -0.03875420615077019, -0.026035241782665253, 0.019940244033932686, -0.011822953820228577, -0.0535215325653553, -0.007752379402518272, 0.05416109785437584, 0.0356382317841053, 0.07069972902536392, -0.07190189510583878, 0.013350569643080235, -0.0484195277094841, -0.01576308347284794, -0.009922883473336697, -0.0017363863298669457, 0.02840055339038372, -0.043312765657901764, -0.020469777286052704, -0.02700858563184738, 0.04686511680483818, 0.023602453991770744, 0.00539521686732769, 0.013048370368778706, -0.03929119557142258, -0.050267741084098816, -0.003836872521787882, 0.0000775303051341325, 0.07478327304124832, 0.017595013603568077, -0.10114426165819168, 0.0021337412763386965, -0.039495911449193954, 0.06601379066705704, -0.05595652759075165, -0.0166038628667593, -0.011508786119520664, 0.03639460727572441, 0.002583381487056613, -0.044145628809928894, 0.0033751623705029488, -0.017042655497789383, -0.045995306223630905, -0.03934973478317261, -0.018272640183568, -0.009949872270226479, 0.01497262716293335, -0.03962446376681328, -0.013700472190976143, -0.06616218388080597, -0.0887438952922821, -0.018895570188760757, 0.09368491917848587, 0.007710080128163099, -0.060888420790433884, -0.002040253486484289, -0.014211507514119148, -0.12404368817806244, -0.0074160401709377766, -0.006850183475762606, -0.029477763921022415, -0.021761151030659676, 0.006857209373265505, 0.03997078165411949, -0.04814896360039711, -0.04867471754550934, 0.01652674376964569, 0.010577579028904438, 0.017887504771351814, -0.019195711240172386, 0.03856293857097626, 0.015873730182647705, -0.03179978206753731, -0.008415449410676956, 0.08995119482278824, 0.017241859808564186, -0.02998916618525982, -0.03617269545793533, 0.008695287629961967, 0.014060791581869125, -0.01832670345902443, 0.017135916277766228, 0.00855297315865755, 0.03161371871829033, 0.030320223420858383, -0.04325614869594574, 0.03945997357368469, -0.0070158690214157104, -0.016782226040959358, -0.010144280269742012, -0.04863853380084038, 0.03183084353804588, 0.0391874797642231, 0.0015986160142347217, 0.014314308762550354, -0.017314430326223373, 0.010600547306239605, -0.040447916835546494, -0.03207818418741226, -0.004422460682690144, 0.0033906593453139067, 0.04359279200434685, -0.01745322160422802, 0.007549114990979433, -0.04199909418821335, 0.016969045624136925, -0.004322543740272522, -0.0019258742686361074, -0.04750323295593262, -0.044215068221092224, -0.011812119744718075, -0.019222531467676163, 0.015764739364385605, 0.016930537298321724, -0.020292477682232857, 0.00992165319621563, 0.005207281559705734, -0.033806465566158295, 0.028969567269086838, -0.01012646034359932, -0.0649556815624237, -0.04486561939120293, 0.0032798051834106445, -0.005939897615462542, 0.015078280121088028, -0.019008606672286987, 0.007375721354037523, 0.015563572756946087, 0.04475560784339905, -0.0022836378775537014, 0.0556158684194088, -0.0005655993591062725, 0.03348231688141823, -0.005795769393444061, 0.008365401066839695, -0.024932369589805603, 0.020899327471852303, -0.03899466618895531, -0.033477116376161575, -0.04968000203371048, 0.03485900163650513, -0.005206798668950796, -0.05975896865129471, -0.017902769148349762, 0.011063157580792904, -0.060776058584451675, -0.02628939598798752, -0.038332078605890274, 0.03641246259212494, 0.05198787897825241, -0.02364811673760414, 0.027672909200191498, -0.01873600482940674, -0.001620948314666748, 0.01895475760102272, 0.027949802577495575, -0.04753996059298515, 0.029863713309168816, -0.002236077096313238, -0.017364008352160454, -0.002347154775634408, 0.004000870045274496, 0.027775049209594727, 0.017448514699935913, 0.002743551740422845, -0.01694590598344803, 0.006603962741792202, -0.013840612955391407, 0.04035760089755058, 0.024557584896683693, 0.005449374206364155, -0.005128989927470684, -0.038004014641046524, -0.03044818341732025, -0.037819597870111465, -0.0043430933728814125, -0.03456331044435501, -0.007934930734336376, -0.04036763682961464, -0.08126372843980789, 0.0435992106795311, 0.006817627232521772, 0.026042001321911812, 0.03463976830244064, 0.026386763900518417, -0.02032756619155407, -0.03135522082448006, 0.05012417584657669, 0.03620639815926552, -0.07403519004583359, 0.019646937027573586, -0.021793020889163017, 0.02159031108021736, 0.012279934249818325, 0.007301481440663338, -0.022432569414377213, -0.012597983703017235, -0.04271840676665306, 0.0014464888954535127, -0.06187575310468674, -0.053039055317640305, -0.035711176693439484, 0.004697673954069614, -0.01858755759894848, 0.016106005758047104, -0.004801020957529545, -0.009089729748666286, -0.009646582417190075, 0.00003770403054659255, 0.015143407508730888, -0.011263321153819561, 0.02515825815498829, 0.016388781368732452, -0.039125800132751465, 0.01405242644250393, -0.01138261053711176, 0.024040766060352325, 0.014186521992087364, -0.02110762521624565, -0.05769789591431618, -0.04774908721446991, -0.012740353122353554, 0.013424666598439217, 0.057484839111566544, 0.008003074675798416, 0.0001963489194167778, -0.027932096272706985, 0.0035461110528558493, -0.02711634151637554, 0.029735082760453224, -0.0027090178336948156, -0.05153996869921684, 0.011313270777463913, 0.05597958341240883, 0.016149496659636497, 0.014324543066322803, -0.018035490065813065, -0.010307545773684978, 0.04441031813621521, -0.06625591218471527, -0.02983669750392437, -0.004126961808651686, -0.05384628847241402, 0.024095971137285233, 0.018715618178248405, 0.016690604388713837, -0.04446665570139885, 0.04608575254678726, 0.04610031098127365, 0.03016248717904091, 0.01475654449313879, 0.02285858243703842, 0.03588290140032768, -0.045841336250305176, 0.00438811257481575, -0.09827515482902527, 0.00912297610193491, 0.058624789118766785, 0.0350353829562664, -0.0395255871117115, 0.007871231064200401, -0.0382416769862175, 0.04260127246379852, -0.08458789438009262, -0.026331402361392975, 0.0678265243768692, 0.002892532153055072, -0.010614433325827122, 0.021878696978092194, -0.05596832558512688, 0.011325105093419552, -0.009037449024617672, -0.06524668633937836, -0.025336768478155136, -0.04599175974726677, 0.07697156071662903, -0.018163584172725677, 0.02385583706200123, -0.06454020738601685, 0.006850660312920809, 0.08977201581001282, 0.031708601862192154, 0.016243090853095055, 0.048067476600408554, -0.001742944004945457, 0.03878652676939964, 0.04046287760138512, -0.01170489750802517, 0.013053986243903637, -0.0034760385751724243, -0.00728229247033596, -0.05983142927289009, 0.009585687890648842, 0.013895420357584953, -0.04479975998401642, -0.058513812720775604, 0.0581902377307415, 0.020220493897795677, -0.0150429867208004, -0.04340614378452301, 0.026760326698422432, -0.050261978060007095, -0.023419395089149475, -0.02285224199295044, 0.03315763175487518, -0.03184446692466736, 0.055714722722768784, -0.008777040988206863, 0.011402105912566185, 0.054603200405836105, -0.014286631718277931, 0.0002715307637117803, 0.007930631749331951, 0.10214521735906601, 0.0810307189822197, 0.04158041253685951, -0.021956095471978188, 0.06839536130428314, -0.014114446938037872, -0.04370783269405365, 0.01915431022644043, -0.03545326367020607, -0.03164561837911606, -0.0013279172126203775, 0.014430179260671139, 0.048810914158821106, -0.0344582200050354, 0.05375600978732109, -0.0300679262727499, -0.026934506371617317, 0.009569745510816574, 0.035677339881658554, 0.03744880110025406, 0.022838683798909187, 0.008833230473101139, 0.015173926949501038, -0.0026963953860104084, -0.04378686100244522, 0.03268119692802429, -0.031143996864557266, -0.0213471669703722, 0.0021779730450361967, -0.029789408668875694, 0.01655411161482334, -0.02601679041981697, 0.05633460357785225, 0.08568551391363144, -0.012474293820559978, 0.010581480339169502, 0.005711309611797333, 0.02462177164852619, 0.008045547641813755, -0.01776023767888546, -0.03125463053584099, 0.0024438302498310804, -0.03442614525556564, -0.017176169902086258, -0.01401314977556467, -0.005289773922413588, -0.02083524316549301, 0.07008549571037292, -0.049995891749858856, 0.01226221676915884, -0.014613792300224304, -0.003971443045884371, -0.033342137932777405, -0.04728242754936218, -0.04085303843021393, -0.006681630853563547, -0.059236135333776474, 0.018937144428491592, 0.061797913163900375, -0.012264737859368324, -0.024509238079190254, -0.01312901359051466, 0.008423889055848122, -0.013641266152262688, 0.02599831111729145, -0.07024268805980682, 0.012578509747982025, 0.035155706107616425, 0.024917878210544586, 0.018279779702425003, 0.018846534192562103, 0.043328020721673965, 0.014105511829257011, 0.001239204197190702, -0.03255246579647064, -0.023644745349884033, 0.04033707082271576, 0.020260827615857124, 0.02782144397497177, -0.06533396989107132, 0.00493571488186717, 0.03787095844745636, -0.039253100752830505, -0.08949004113674164, 0.024393543601036072, -0.008441092446446419, 0.007914857938885689, 0.0511234886944294, -0.00015974108828231692, 0.0014442342799156904, -0.03614400699734688, 0.016439374536275864, 0.018140621483325958, -0.0014815686736255884, 0.03583250939846039, -0.02188805490732193, 0.07716786861419678, 0.03575780615210533, -0.01999969221651554, -0.0401894710958004, -0.016303053125739098, -0.020303839817643166, 0.009982447139918804, -0.04010728374123573, -0.03533094376325607, -0.0111837824806571, -0.08510048687458038, -0.025372548028826714, 0.023737572133541107, -0.022835152223706245, -0.026306254789233208, 0.04440312087535858, 0.004197786096483469, -0.044518280774354935, -0.002185743534937501, -0.03527233749628067, 0.014482611790299416, -0.03980435058474541, -0.006440025754272938, 0.012671710923314095, 0.021018367260694504, -0.01324835978448391, -0.0119906822219491, -0.004746957216411829, -0.037757664918899536, -0.034787509590387344, -0.0251598060131073, 0.04196019843220711, 0.05401337519288063, 0.020286325365304947, 0.01600281521677971 ]
[ -0.06934910267591476, -0.0026814930606633425, -0.02870698645710945, -0.048033829778432846, 0.0242087971419096, -0.059512171894311905, 0.0523105189204216, 0.014609765261411667, -0.005184498615562916, -0.03134164959192276, 0.0004952774033881724, -0.005718465428799391, -0.005451670382171869, 0.013679346069693565, 0.07803300023078918, 0.0017064850544556975, -0.014384256675839424, -0.04352651536464691, 0.012304895557463169, 0.001897334586828947, 0.04023431986570358, -0.020066555589437485, -0.04122663661837578, -0.0074776094406843185, 0.016852784901857376, 0.057661835104227066, 0.015673134475946426, -0.031859636306762695, -0.005208177492022514, -0.14899373054504395, 0.016352664679288864, 0.017049986869096756, 0.034799519926309586, -0.003045027144253254, -0.0033904281444847584, 0.06521587073802948, 0.011788484640419483, 0.026127932593226433, -0.0032204878516495228, 0.031121376901865005, -0.002728171180933714, 0.023131702095270157, -0.024890437722206116, 0.004586988128721714, 0.04661901295185089, 0.006662731524556875, -0.010868675075471401, 0.007783901412039995, -0.05315873771905899, 0.013698880560696125, -0.05407005548477173, -0.01228335127234459, -0.010144983418285847, 0.026561688631772995, -0.01000598631799221, 0.008313469588756561, 0.042833298444747925, 0.06857504695653915, 0.04086194559931755, 0.003376769134774804, 0.009757724590599537, -0.011384558863937855, -0.14868095517158508, 0.08999612182378769, -0.00007704658492002636, 0.054290179163217545, -0.024195514619350433, -0.02443021908402443, -0.036744579672813416, 0.07709699869155884, 0.03252371773123741, -0.04826537147164345, -0.009122934192419052, 0.03479703515768051, 0.020558824762701988, 0.0028223369736224413, 0.004188384860754013, -0.008357185870409012, 0.07441062480211258, -0.06529778987169266, -0.03248310089111328, 0.006454090122133493, -0.023903893306851387, -0.014848547987639904, -0.05984530970454216, 0.029545918107032776, -0.013071865774691105, 0.009861037135124207, 0.03515319898724556, 0.008871976286172867, 0.028852758929133415, 0.00879583228379488, 0.011983788572251797, -0.0020154572557657957, -0.0501277782022953, -0.037079595029354095, -0.020021667703986168, 0.012487713247537613, -0.06136159226298332, 0.4159918427467346, -0.0014797087060287595, -0.03227726370096207, 0.04926261678338051, 0.007356708869338036, -0.003982979338616133, 0.02465970814228058, 0.004820084199309349, -0.07006797939538956, 0.011708672158420086, -0.0009563026251271367, -0.030268162488937378, 0.04197400435805321, 0.041950106620788574, -0.029123347252607346, 0.030141064897179604, -0.005078148562461138, 0.04472222924232483, 0.01315990462899208, 0.022940024733543396, -0.018558161333203316, 0.0019841650500893593, 0.020976010710000992, 0.0010048202238976955, 0.029906107112765312, -0.02108447253704071, -0.033740270882844925, 0.049304112792015076, 0.08289791643619537, 0.00809858925640583, -0.0033003343269228935, 0.044399067759513855, -0.02626136504113674, -0.04861478507518768, 0.005948641803115606, 0.023910008370876312, 0.008056141436100006, 0.01567024551331997, -0.0009500414598733187, -0.025488218292593956, -0.00852017942816019, -0.040977947413921356, -0.022186653688549995, -0.011928531341254711, 0.016453996300697327, -0.05687754228711128, 0.1174401044845581, 0.04581451788544655, -0.00426686042919755, -0.012595569714903831, 0.022027350962162018, -0.020792579278349876, 0.059217534959316254, 0.052044209092855453, -0.06371364742517471, -0.0027579725719988346, 0.025782758370041847, 0.1206713616847992, -0.014575159177184105, -0.0673176571726799, -0.04409215599298477, 0.039276741445064545, -0.007746386341750622, -0.0385148748755455, 0.00762699730694294, 0.055897556245326996, -0.1177845224738121, -0.02958652190864086, 0.037462733685970306, 0.03278978914022446, -0.059330981224775314, 0.02908097207546234, 0.009284340776503086, -0.05744042247533798, 0.022092029452323914, 0.03360450267791748, -0.007706076838076115, -0.012997877784073353, 0.010912290774285793, 0.057157956063747406, 0.005908598192036152, -0.019895533099770546, -0.00500496244058013, -0.03601634129881859, -0.00846789125353098, -0.027773775160312653, -0.07087180018424988, -0.0526009202003479, -0.02851715311408043, 0.0024936168920248747, -0.024230945855379105, 0.022103454917669296, 0.03123002126812935, -0.07452541589736938, 0.08433154970407486, -0.050724323838949203, -0.003047438571229577, 0.0063337176106870174, -0.0019296444952487946, -0.04984702169895172, -0.041002433747053146, -0.029793106019496918, 0.019857721403241158, -0.018847910687327385, 0.010628721676766872, -0.03391449525952339, 0.05802258104085922, 0.0640736073255539, -0.033632177859544754, 0.07035237550735474, 0.018501974642276764, -0.03893951326608658, -0.03071761690080166, 0.003552923444658518, 0.018850792199373245, -0.023675790056586266, 0.007677359040826559, -0.03424796089529991, 0.012005220167338848, 0.0037250046152621508, -0.01546797901391983, -0.017374159768223763, -0.0011673637200146914, 0.003545632353052497, -0.35393550992012024, -0.02855265699326992, -0.0030686052050441504, -0.02110273204743862, -0.0009173823054879904, -0.056854695081710815, 0.007691233418881893, -0.024664921686053276, -0.004487090278416872, 0.005331478081643581, 0.04559094458818436, -0.032256633043289185, 0.01311994343996048, -0.07799209654331207, -0.015186576172709465, 0.04772306606173515, -0.02463822066783905, -0.01885889284312725, -0.03229647874832153, 0.029070153832435608, 0.053390827029943466, -0.01070864126086235, -0.016259200870990753, -0.08448594808578491, -0.017257150262594223, -0.03723134100437164, 0.11669810861349106, 0.013677562586963177, 0.07835787534713745, -0.026476161554455757, 0.05493281036615372, -0.015344223938882351, -0.0008988090557977557, -0.0703703761100769, 0.021472148597240448, -0.07052681595087051, -0.0008834319887682796, -0.015581008046865463, 0.00494425417855382, -0.05165749043226242, -0.06614181399345398, 0.017875518649816513, -0.040791187435388565, 0.004519747104495764, -0.027329355478286743, 0.00964575819671154, -0.027442708611488342, -0.04410232603549957, -0.020080676302313805, 0.0595528706908226, 0.009973954409360886, 0.01677641086280346, 0.008531229570508003, 0.022239165380597115, -0.030270548537373543, -0.05080182105302811, -0.06693964451551437, 0.020973509177565575, -0.010095763951539993, 0.023741085082292557, 0.012930122204124928, 0.07285892963409424, 0.03654376417398453, -0.06315545737743378, 0.0018853729125112295, -0.016305522993206978, 0.011227012611925602, -0.040425851941108704, 0.018582306802272797, -0.02549879252910614, -0.047047387808561325, 0.17299996316432953, -0.0377248078584671, -0.0511949397623539, 0.006979638244956732, 0.021092820912599564, -0.02208537422120571, 0.014104618690907955, 0.018173420801758766, 0.019070113077759743, 0.009952252730727196, -0.04520352929830551, 0.04447055980563164, -0.0388924814760685, 0.033436812460422516, -0.023954691365361214, 0.015911968424916267, -0.02058304101228714, 0.035709526389837265, 0.014962132088840008, -0.01314870547503233, 0.038118429481983185, -0.025815216824412346, -0.07130508869886398, 0.03993302583694458, -0.053580209612846375, -0.27096033096313477, 0.01800081506371498, 0.06744778156280518, 0.07675343006849289, 0.017308298498392105, 0.005399640649557114, -0.02854231931269169, -0.04546017199754715, -0.0017020894447341561, 0.03905707225203514, 0.05236971378326416, 0.0057542636059224606, 0.009774052537977695, 0.03570137545466423, 0.008660221472382545, -0.040470805019140244, 0.07268588244915009, -0.02288677543401718, 0.021117525175213814, 0.01226174645125866, 0.060591429471969604, -0.014949053525924683, 0.17235147953033447, -0.00023911322932690382, 0.054110947996377945, 0.012145206332206726, 0.015584258362650871, 0.010491413064301014, 0.05321700870990753, -0.01288367249071598, 0.017131241038441658, 0.001982073998078704, 0.07999838143587112, 0.0070335096679627895, 0.039643120020627975, -0.049575868993997574, -0.042231835424900055, 0.010258094407618046, 0.03140057623386383, 0.012155279517173767, -0.029592206701636314, 0.010618612170219421, -0.04151253029704094, 0.032835952937603, 0.08148154616355896, 0.025729963555932045, -0.002153450855985284, -0.02985774166882038, -0.039811961352825165, -0.007242629304528236, -0.0358755849301815, -0.03478885814547539, -0.02544187195599079, 0.012399558909237385, 0.03455549478530884, 0.0010559161892160773, 0.032512370496988297, -0.051099538803100586, -0.008851846680045128, 0.025850700214505196, -0.048045068979263306, -0.004645233508199453, 0.11623753607273102, 0.04056669771671295, 0.016224360093474388 ]
[ -0.017203763127326965, 0.043804265558719635, -0.016493787989020348, 0.009616263210773468, -0.0021040462888777256, 0.034763120114803314, 0.005540825426578522, -0.006117041688412428, -0.004917077254503965, 0.009655487723648548, 0.02810722403228283, 0.004691731184720993, 0.022876562550663948, -0.041090305894613266, 0.07118456065654755, -0.010609554126858711, 0.022716471925377846, -0.004199398215860128, 0.02617509849369526, -0.005559354089200497, -0.003465441521257162, -0.0038714769762009382, -0.006240553222596645, -0.02122465893626213, -0.04869396984577179, 0.008746686391532421, -0.011343691498041153, -0.029697876423597336, -0.009664022363722324, -0.13659347593784332, -0.018537981435656548, -0.00020184445020277053, -0.013948182575404644, 0.01814095675945282, -0.008014403283596039, -0.0013550244038924575, -0.002032190328463912, 0.03752592206001282, 0.020924149081110954, 0.011606698855757713, -0.006630425341427326, -0.00984494760632515, -0.012376468628644943, 0.02205524779856205, -0.00611964100971818, 0.004466972779482603, -0.019047386944293976, -0.02132134698331356, -0.02585710398852825, 0.0017307978123426437, -0.046459659934043884, 0.00023456370399799198, -0.005971914157271385, 0.0327446386218071, 0.01892917975783348, 0.006769299507141113, 0.011023971252143383, -0.012667076662182808, -0.008259703405201435, -0.05365592986345291, -0.017370807006955147, 0.027895431965589523, -0.0022717867977917194, -0.01527873519808054, -0.013712137006223202, -0.012396792881190777, -0.029834426939487457, -0.02030186355113983, 0.009762408211827278, -0.009223347529768944, -0.024624524638056755, -0.007725527975708246, 0.013396873138844967, -0.010908741503953934, -0.02408880740404129, -0.021110931411385536, 0.028447555378079414, -0.008375157602131367, 0.03602134808897972, -0.03217211738228798, -0.028279298916459084, -0.0016950905555859208, 0.025670619681477547, 0.041021090000867844, -0.007508194074034691, -0.007878182455897331, 0.031343311071395874, 0.005959854461252689, 0.01022066455334425, -0.00967134814709425, -0.013108097948133945, 0.036554425954818726, 0.013204052112996578, -0.004122166894376278, -0.05611557513475418, -0.001147722010500729, -0.03098430298268795, -0.01919524185359478, -0.02988504245877266, 0.8569138050079346, -0.020466195419430733, 0.03051586076617241, 0.00972842425107956, 0.051724448800086975, -0.005588475614786148, 0.005278938449919224, -0.003642831463366747, -0.022865943610668182, 0.01780289225280285, -0.022961528971791267, 0.013876372016966343, 0.01059040892869234, 0.016503196209669113, 0.009710712358355522, 0.05819348618388176, 0.003027343889698386, -0.02066686935722828, 0.013936512172222137, 0.039048418402671814, 0.004191231448203325, 0.056373585015535355, 0.014739865437150002, -0.011244187131524086, 0.009091662243008614, 0.03303249180316925, -0.1689068228006363, 0.028683163225650787, -9.130971222854779e-33, 0.0007079899660311639, 0.023088764399290085, -0.0007622306002303958, 0.011590802110731602, 0.048643652349710464, 0.024564405903220177, 0.035337936133146286, 0.04679996892809868, 0.030640188604593277, -0.0011004847474396229, -0.004497784189879894, -0.022143494337797165, -0.014901301823556423, -0.019030699506402016, 0.05723176896572113, 0.018288128077983856, -0.01077872421592474, 0.03517286106944084, 0.021173156797885895, 0.01536058820784092, 0.02892312780022621, 0.024028832092881203, 0.007560288533568382, 0.012265937402844429, 0.020990271121263504, 0.05414902791380882, -0.012264865450561047, 0.003215633798390627, -0.0046532535925507545, -0.053965337574481964, 0.033775683492422104, 0.007584807928651571, -0.002291228622198105, 0.014273351989686489, 0.0013609851012006402, -0.049863673746585846, -0.02858807146549225, -0.004014018457382917, -0.03921985998749733, -0.03144647181034088, -0.09562932699918747, -0.013809074647724628, -0.005950441118329763, -0.0024695247411727905, -0.03764791786670685, -0.01954982429742813, -0.0009687396814115345, 0.0013938873307779431, 0.03162793070077896, 0.027629051357507706, 0.0038920247461646795, 0.009739267639815807, -0.0032355738803744316, -0.0227876715362072, -0.03285185620188713, 0.04091651365160942, -0.006356559228152037, 0.006605102680623531, -0.009158942848443985, -0.00412029167637229, 0.05719134956598282, -0.041274551302194595, 0.01026278268545866, -0.00782986730337143, -0.006317285820841789, -0.02585262432694435, -0.004765946418046951, -0.010282925330102444, 0.028828440234065056, -0.012035501189529896, -0.0577356293797493, -0.0050587402656674385, -0.008295256644487381, 0.0015086955390870571, 0.016851607710123062, -0.006283631548285484, 0.018163103610277176, -0.005556180607527494, 0.0036727474071085453, 0.002769612008705735, 0.039830129593610764, -0.027501467615365982, 0.021894952282309532, -0.014068415388464928, 0.017106177285313606, -0.03869912400841713, 0.004896293394267559, 0.005310234148055315, 0.022882821038365364, 0.015507894568145275, 0.01738242246210575, -0.011807332746684551, -0.011321893893182278, 0.0015007918700575829, -0.01317716483026743, 8.444074037687652e-33, -0.013950202614068985, -0.04172198846936226, -0.03188621252775192, 0.005968131590634584, 0.007240651175379753, -0.0005185881163924932, -0.017905866727232933, 0.02136641927063465, -0.054137274622917175, 0.021711299195885658, 0.017007464542984962, 0.011695710010826588, -0.03287936747074127, 0.04108269885182381, 0.0659879818558693, -0.009837603196501732, 0.03258895501494408, -0.014068464748561382, 0.01648307777941227, 0.011851625517010689, 0.03802508860826492, 0.02006867155432701, -0.003419221844524145, 0.0014326110249385238, 0.017338214442133904, 0.03713240101933479, -0.003798987017944455, 0.02747858688235283, 0.014820204116404057, 0.013590785674750805, -0.01995977945625782, 0.002168227219954133, 0.02411508932709694, -0.008555819280445576, -0.02327147126197815, 0.0012801340781152248, -0.0017378762131556869, -0.03249193727970123, -0.013248679228127003, 0.012408780865371227, -0.008506286889314651, -0.04544389992952347, -0.00794986728578806, -0.009958197362720966, 0.003653342602774501, 0.028090329840779305, -0.0022962712682783604, 0.014808977954089642, 0.026863006874918938, 0.030926695093512535, 0.005477347876876593, -0.019621025770902634, -0.0227881520986557, -0.02131684496998787, -0.019911736249923706, -0.0034385898616164923, 0.010461055673658848, -0.021872377023100853, 0.001640562666580081, 0.0017708035884425044, -0.005332731641829014, 0.022695528343319893, -0.028433002531528473, 0.03523293510079384, -0.05000952258706093, -0.013531887903809547, -0.028371384367346764, -0.018968312069773674, 0.00699801417067647, -0.03240113705396652, -0.0007806816720403731, 0.0006506558274850249, -0.002583344466984272, 0.04033337160944939, 0.0019340666476637125, -0.017799045890569687, -0.018236709758639336, -0.005191881209611893, -0.0098288394510746, 0.002039650222286582, 0.004852971062064171, -0.005174077581614256, 0.032000213861465454, -0.016421042382717133, -0.03341133892536163, -0.011756164021790028, -0.011017343029379845, -0.013717594556510448, 0.011898058466613293, -0.04423141852021217, -0.03226954862475395, -0.01763165555894375, -0.005776490084826946, 0.011309163644909859, -0.026109546422958374, -1.3972060841638267e-8, -0.006495047360658646, 0.03769705817103386, 0.014836949296295643, -0.011584197171032429, 0.03219316154718399, -0.028399884700775146, -0.0243398267775774, -0.048981763422489166, 0.004712826106697321, 0.010518467985093594, 0.05324967950582504, -0.00519876042380929, 0.019102195277810097, -0.002419546013697982, 0.02406802587211132, -0.04778924584388733, -0.03966188803315163, -0.0388946570456028, 0.030089927837252617, 0.0028563756495714188, 0.04264155775308609, 0.03320244327187538, -0.016625763848423958, -0.01147860661149025, 0.021726496517658234, 0.014164618216454983, 0.010011420585215092, -0.041586704552173615, 0.010767455212771893, 0.026545580476522446, 0.007498720195144415, -0.027040239423513412, 0.00976275373250246, 0.007039762567728758, -0.03024809993803501, -0.02421516366302967, -0.016850410029292107, -0.008194457739591599, 0.015582138672471046, -0.010729022324085236, 0.019558798521757126, -0.03141503781080246, -0.022149061784148216, -0.01564555987715721, 0.016926195472478867, -0.003904178971424699, -0.025856411084532738, -0.034841716289520264, 0.04009968787431717, -0.01769702136516571, -0.026546405628323555, 0.019634999334812164, 0.010458765551447868, -0.007838433608412743, 0.019200975075364113, 0.00018847185128834099, 0.019263045862317085, -0.04667714983224869, -0.004902360495179892, -0.003468406619504094, 0.020148182287812233, 0.014697439968585968, -0.007030185777693987, -0.031747277826070786 ]
coding-the-agent-noun-class
https://markhneedham.com/blog/2009/11/08/coding-the-agent-noun-class
false
2009-11-06 21:57:10
TDD: Useful when new on a project
[ "tdd" ]
[ "Testing" ]
Something which I've noticed over the last few projects that I've worked on is that at the beginning when I don't know very much at all about the code base, domain and so on is that pairing with someone to TDD something seems to make it significantly easier for me to follow what's going on than other approaches I've seen. I thought that it was probably because I'm more used to that approach than any other but in Michael Feathers' description of TDD in 'http://www.amazon.com/gp/product/0131177052?ie=UTF8&tag=marneesblo-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0131177052[Working Effectively With Legacy Code]' he points out the following: ____ One of the most valuable things about TDD is that it *lets us concentrate on one thing at a time*. We are either writing code or refactoring, we are never doing both at once. ____ It also temporarily removes us from the feeling of drowning in all the new information which is typical at the start of projects. In a way it reminds me of the 'http://apprenticeship.oreilly.com/wiki/retreat_into_competence[Retreat Into Competence]' pattern from 'http://www.amazon.com/gp/product/0596518382?ie=UTF8&tag=marneesblo-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0596518382[Apprenticeship Patterns]' as it gives us a chance to regain composure and take in all the new information. We can probably make a much more useful contribution if we only need to understand one small piece of the system rather than having to understand everything which can often be the case with what Feathers coins the edit & pray approach to development. It's still necessary to spend some time trawling around the code base working out how everything fits together but I'm now more aware that it's also really useful to take some time to just focus on one much smaller class or piece of functionality. Perhaps also something to keep in mind the next time I'm pairing with someone who's new to a project that I've been working on for a while.
null
null
[ 0.03154360130429268, 0.004194142762571573, -0.010923109948635101, 0.038064952939748764, 0.07736214250326157, 0.02505299635231495, 0.02772383764386177, 0.03282911702990532, 0.02657298557460308, -0.03000320866703987, -0.030510229989886284, 0.0036808012519031763, -0.0510089211165905, -0.002372531685978174, -0.04183856397867203, 0.07483914494514465, 0.07764770835638046, -0.015826448798179626, 0.016640279442071915, 0.00449241092428565, 0.039016157388687134, 0.07612263411283493, 0.005992417223751545, 0.03959447890520096, 0.027661358937621117, 0.02918829582631588, 0.01962798275053501, -0.012016739696264267, -0.054202716797590256, -0.014446468092501163, 0.04236971586942673, -0.004229776561260223, 0.023633265867829323, -0.02073296159505844, 0.01501090545207262, -0.009810366667807102, -0.020735858008265495, 0.017192717641592026, 0.016175303608179092, -0.006946532055735588, -0.07463774085044861, 0.03956650570034981, -0.017207710072398186, 0.010680420324206352, -0.06289038807153702, -0.010605862364172935, -0.050033435225486755, 0.0039049957413226366, 0.01392783597111702, -0.018438957631587982, -0.06161303445696831, 0.03726304695010185, -0.02549586445093155, -0.006947296671569347, -0.006926489528268576, 0.06502676010131836, 0.027713650837540627, -0.08138319849967957, 0.018267590552568436, -0.031416166573762894, -0.005123380571603775, -0.004000421613454819, 0.003960696514695883, 0.04189075157046318, 0.038800809532403946, -0.018613727763295174, -0.008855012245476246, 0.02760886214673519, -0.022957753390073776, -0.001967853866517544, 0.015951570123434067, 0.017728352919220924, -0.011762753129005432, -0.01066477783024311, 0.001024222350679338, -0.03597556799650192, 0.0017282736953347921, 0.06844441592693329, 0.021285319700837135, 0.059925876557826996, -0.012595654465258121, 0.008501177653670311, -0.002632262883707881, 0.012130646035075188, -0.008864689618349075, -0.02426917292177677, 0.004016058519482613, -0.012974625453352928, -0.05591120943427086, 0.05773397535085678, 0.016622377559542656, -0.07254429161548615, 0.023373257368803024, 0.046111736446619034, 0.0005850528832525015, 0.02670147269964218, 0.011268150992691517, 0.005595128983259201, 0.00044685383909381926, -0.0219565499573946, -0.021093476563692093, -0.02389870584011078, 0.012775125913321972, 0.008089430630207062, -0.08132962137460709, 0.00463111512362957, -0.03222089633345604, -0.028190534561872482, -0.0126195652410388, 0.014882601797580719, -0.03225236013531685, 0.021721042692661285, -0.011946851387619972, -0.0017697738949209452, -0.07689154893159866, 0.06154480576515198, 0.00042288118856959045, -0.034114204347133636, -0.018018579110503197, 0.013762404210865498, 0.03601108491420746, 0.04573894292116165, -0.004997664131224155, 0.08083072304725647, 0.004662790335714817, 0.029700882732868195, -0.02778680995106697, 0.05321827530860901, -0.012033699080348015, -0.05137459188699722, -0.003554343478754163, 0.055329978466033936, -0.047521740198135376, -0.004691175185143948, 0.0032334085553884506, -0.019489502534270287, -0.01335975807160139, -0.0016314033418893814, 0.02303718775510788, 0.05310593917965889, -0.02046480029821396, -0.049443989992141724, 0.02272978611290455, 0.004557203501462936, 0.009321780875325203, 0.01248510554432869, -0.01340433582663536, -0.01643429882824421, -0.02005033753812313, 0.005805180408060551, 0.008068257942795753, 0.024806462228298187, 0.02029034122824669, -0.036939557641744614, 0.01504832785576582, 0.08459486812353134, 0.029964977875351906, 0.03146090731024742, 0.004291798919439316, 0.0356348417699337, 0.037047676742076874, 0.03128180280327797, 0.030309196561574936, 0.0420345775783062, 0.011558789759874344, 0.00410256115719676, -0.008903279900550842, 0.03335361182689667, -0.012971239164471626, 0.004547561053186655, -0.06287599354982376, -0.030485540628433228, 0.08166035264730453, -0.06019027903676033, -0.02967100217938423, 0.034727804362773895, 0.06121846288442612, 0.010497170500457287, 0.0371645987033844, 0.0027991558890789747, -0.0748351439833641, 0.0324365496635437, 0.02217715047299862, 0.00773811899125576, 0.0212636087089777, -0.022008195519447327, 0.06171077862381935, 0.019286951050162315, -0.00994598027318716, 0.04576016589999199, -0.07785914838314056, -0.08806127309799194, -0.016237299889326096, -0.03451354429125786, 0.058244626969099045, -0.03364013880491257, 0.025095073506236076, 0.06307095289230347, 0.009144119918346405, 0.06207771971821785, 0.04036986827850342, -0.009546690620481968, 0.03221466764807701, -0.03310040012001991, -0.031191833317279816, 0.05718201398849487, 0.04257848858833313, -0.000978045049123466, -0.04215922951698303, 0.002439032541587949, 0.01434952300041914, -0.007817846722900867, 0.04802814498543739, -0.009188545867800713, 0.030682774260640144, 0.019344568252563477, 0.055776197463274, -0.02567429095506668, 0.0523550771176815, -0.061811815947294235, 0.0012800225522369146, -0.0019186742138117552, -0.021726345643401146, 0.014362366870045662, -0.010784936137497425, 0.10576172173023224, 0.04128870740532875, -0.06422162055969238, -0.03920609503984451, 0.018207505345344543, 0.006036934908479452, -0.05664750933647156, 0.00030857420642860234, -0.021653203293681145, 0.008514746092259884, -0.015210464596748352, -0.0710967481136322, -0.029234567657113075, 0.025434356182813644, -0.041920702904462814, 0.020271344110369682, 0.06708963960409164, -0.032009322196245193, 0.04483787342905998, -0.01972430758178234, -0.00202169269323349, -0.01238284632563591, -0.01962221972644329, -0.05090092122554779, 0.012876681983470917, 0.0235679242759943, -0.007994270883500576, 0.04746478423476219, -0.024802956730127335, -0.04221072793006897, -0.025558732450008392, -0.03392983227968216, -0.007889828644692898, 0.027041297405958176, 0.06785649061203003, -0.014958742074668407, 0.05249398946762085, 0.005869315937161446, 0.0454053170979023, 0.0034958196338266134, -0.04035603627562523, -0.03589199483394623, -0.034719716757535934, 0.01593068614602089, 0.03632670268416405, 0.0056557864882051945, 0.026218421757221222, 0.026222938671708107, 0.004147055558860302, -0.013054372742772102, -0.011506958864629269, 0.034588638693094254, 0.014135156758129597, -0.027257384732365608, -0.03201191872358322, -0.032733164727687836, 0.044454172253608704, -0.050673384219408035, -0.026353711262345314, 0.006139290519058704, -0.0687670186161995, 0.053141187876462936, -0.07303143292665482, -0.06049983203411102, 0.003794353920966387, 0.01822470873594284, 0.05008615925908089, -0.017378756776452065, 0.02337055094540119, 0.07023075968027115, -0.022589534521102905, 0.022694537416100502, -0.013814715668559074, 0.00814620591700077, 0.027461610734462738, 0.019650470465421677, 0.007219335529953241, 0.012487540952861309, 0.012369972653687, -0.011252914555370808, -0.043109022080898285, 0.04467444494366646, -0.027514364570379257, -0.2890833020210266, 0.027490582317113876, 0.014109048992395401, -0.054259058088064194, 0.03335133194923401, -0.03859872743487358, 0.007873956114053726, -0.04129083827137947, -0.023978905752301216, -0.001358318724669516, -0.014683477580547333, -0.06915257126092911, -0.004957213532179594, 0.04594167694449425, -0.012369118630886078, -0.0017131856875494123, 0.012305968441069126, -0.046321287751197815, 0.025957293808460236, 0.06918153911828995, -0.0063283140771090984, -0.06950461119413376, 0.002313912846148014, 0.04960208758711815, 0.035622257739305496, 0.030157865956425667, -0.10409136861562729, 0.036499734967947006, -0.059173453599214554, -0.012445250526070595, 0.008492385037243366, 0.017926860600709915, 0.010242198593914509, -0.008248774334788322, -0.017589373514056206, -0.009105440229177475, 0.051661860197782516, 0.0018508536741137505, -0.01418001763522625, 0.003414192935451865, -0.024322113022208214, -0.03172968327999115, -0.00488253915682435, 0.0027346552815288305, 0.07519815117120743, -0.0007892036810517311, -0.08362605422735214, -0.01597004197537899, -0.007596160285174847, 0.07612466812133789, -0.05669277533888817, -0.009846707805991173, -0.0006583688082173467, 0.020854700356721878, -0.014408108778297901, -0.03707173466682434, 0.007315499242395163, -0.024743592366576195, -0.04055651277303696, -0.003076419234275818, -0.01950785517692566, -0.04495815932750702, 0.01038991566747427, -0.05489955469965935, 0.020581787452101707, -0.0654025673866272, -0.06488455086946487, -0.029544178396463394, 0.06460634618997574, 0.006149275228381157, -0.028835291042923927, 0.009175588376820087, -0.00277023296803236, -0.10929400473833084, 0.014095827005803585, -0.025544466450810432, -0.025204261764883995, -0.008866558782756329, 0.023298704996705055, 0.04765734449028969, -0.006381741259247065, -0.06778332591056824, 0.041723378002643585, 0.011312018148601055, 0.010595651343464851, 0.011344683356583118, 0.028209442272782326, 0.009098039008677006, -0.01164411474019289, 0.009574826806783676, 0.06569195538759232, 0.00757659412920475, -0.04273846000432968, -0.03630460798740387, 0.02465527504682541, -0.001691431156359613, 0.028906535357236862, -0.008396120741963387, 0.021797683089971542, 0.03658778965473175, 0.007805441971868277, -0.05338190123438835, 0.049831680953502655, -0.023457305505871773, -0.009637885726988316, -0.04129565879702568, -0.03474084660410881, 0.03004606068134308, 0.0469389446079731, 0.031604938209056854, -0.024793818593025208, -0.03525303304195404, -0.013643037527799606, -0.032077569514513016, -0.0567261166870594, -0.03628560155630112, 0.0176820270717144, 0.0261868704110384, -0.02380303665995598, -0.007378517650067806, -0.047298822551965714, 0.011042092926800251, -0.0030049539636820555, 0.004437902010977268, -0.05127433314919472, -0.040983572602272034, -0.013410532847046852, -0.030562428757548332, 0.003934412728995085, 0.005264840554445982, -0.009690109640359879, 0.0467085987329483, 0.002318748738616705, -0.05575811490416527, 0.014957718551158905, -0.007318343501538038, -0.05931946635246277, -0.018623892217874527, 0.0011510084150359035, -0.011947743594646454, -0.019243160262703896, 0.03374170884490013, -0.0021885293535888195, 0.026951855048537254, 0.05781755968928337, -0.0009664245299063623, 0.03530139848589897, -0.02816890738904476, 0.01624199189245701, -0.00019534167950041592, 0.02308584563434124, -0.06890222430229187, 0.030579494312405586, -0.03849460929632187, -0.027013111859560013, -0.035093169659376144, 0.02102585695683956, -0.01721915788948536, -0.041112784296274185, -0.014900079928338528, 0.00801291037350893, -0.058775853365659714, -0.030128495767712593, -0.026682095602154732, 0.04781170189380646, 0.05006984621286392, -0.03225714713335037, 0.04034384712576866, -0.02126801386475563, -0.020414497703313828, -0.004438434261828661, 0.026334723457694054, -0.043710362166166306, 0.012874486856162548, 0.016177373006939888, -0.005311533343046904, -0.021332284435629845, 0.0012679992942139506, 0.04937067627906799, 0.009559848345816135, -0.00772848492488265, -0.028301021084189415, 0.006997409276664257, 0.017542121931910515, 0.05150564759969711, 0.005592260509729385, 0.00642353156581521, -0.0070626395754516125, -0.025883749127388, -0.02757072262465954, -0.030969712883234024, -0.02339509129524231, -0.003448805771768093, 0.04304095357656479, -0.04442158341407776, -0.05560570955276489, 0.04086332395672798, 0.029535412788391113, 0.02172766998410225, 0.027172790840268135, 0.0035167690366506577, 0.007642772514373064, -0.026291634887456894, 0.04468034952878952, 0.05000769719481468, -0.04795380309224129, 0.005473461467772722, -0.0111501794308424, 0.008569846861064434, -0.0015811810735613108, 0.0019269927870482206, -0.06248534843325615, -0.015164319425821304, -0.012310647405683994, -0.0018065475160256028, -0.06880364567041397, -0.033467914909124374, -0.006317270919680595, 0.027877850458025932, -0.0039820424281060696, -0.010973872616887093, -0.01041476521641016, 0.00220542517490685, -0.0007827606168575585, -0.034171778708696365, 0.019871564581990242, -0.025246718898415565, 0.021406803280115128, 0.005239310208708048, -0.03291188180446625, 0.010952621698379517, -0.00813684519380331, 0.025711670517921448, 0.02405608259141445, -0.01050199382007122, -0.02824152447283268, -0.035193923860788345, -0.0098532410338521, -0.0024966534692794085, 0.024159003049135208, 0.0014524577418342233, -0.026909930631518364, -0.029669422656297684, -0.01209255401045084, -0.0511128194630146, 0.019072500988841057, -0.027930453419685364, -0.02322211302816868, 0.03060278855264187, 0.06210730969905853, 0.035117629915475845, 0.04105360433459282, -0.010506886057555676, -0.0069071510806679726, 0.04733256995677948, -0.06566020846366882, -0.020831992849707603, -0.029002390801906586, -0.0685701072216034, 0.005969341844320297, 0.01609438844025135, 0.013581559993326664, -0.02959260530769825, 0.039696212857961655, 0.028302012011408806, 0.027366844937205315, 0.028684791177511215, 0.0022010933607816696, 0.03578215464949608, -0.07429004460573196, -0.00032064886181615293, -0.07542230188846588, 0.004727846477180719, 0.04345042631030083, 0.01905166171491146, -0.01816393807530403, 0.0045299525372684, -0.03744753077626228, 0.033386196941137314, -0.058440107852220535, -0.024522388353943825, 0.044567741453647614, -0.0014146316098049283, -0.004472036845982075, -0.007766719441860914, -0.057615410536527634, 0.007199173327535391, 0.039464227855205536, -0.04154444485902786, -0.03810169920325279, -0.016154106706380844, 0.05298890173435211, 0.007981992326676846, 0.04216548800468445, -0.028334157541394234, 0.001270392327569425, 0.058457959443330765, 0.015344520099461079, 0.042670294642448425, 0.04885418713092804, -0.012081245891749859, 0.04078707844018936, 0.02487988770008087, 0.005734848789870739, -0.025362005457282066, 0.023196430876851082, 0.016724862158298492, -0.04738788679242134, 0.03622986748814583, -0.0001569175801705569, -0.03912322595715523, -0.03363652527332306, 0.06036069989204407, 0.026527339592576027, -0.021683646366000175, -0.04476262256503105, 0.014253183268010616, -0.059569019824266434, -0.013983145356178284, -0.01658533699810505, -0.005205218214541674, -0.029499460011720657, 0.05394364520907402, 0.00820508785545826, -0.005844299681484699, 0.08447478711605072, 0.0027458597905933857, -0.024094093590974808, -0.015485255979001522, 0.07786346226930618, 0.06137635558843613, 0.06500004976987839, 0.0013290647184476256, 0.06387192755937576, -0.01467947568744421, -0.03761463612318039, 0.03318612650036812, 0.005689949728548527, -0.009180844761431217, -0.031638722866773605, 0.014772221446037292, 0.052110422402620316, -0.005873669870197773, 0.06499911844730377, -0.034099649637937546, -0.004044774919748306, -0.00003668705903692171, 0.03216812014579773, 0.02122422493994236, 0.08423078060150146, -0.002727736020460725, 0.009046990424394608, -0.0070053888484835625, -0.054270774126052856, 0.020271113142371178, -0.0437520332634449, -0.03197117894887924, 0.03325968608260155, -0.01179104670882225, 0.013720941729843616, 0.025293245911598206, 0.02291516400873661, 0.08009147644042969, -0.04481574892997742, -0.004272099584341049, -0.0208174679428339, 0.034951142966747284, -0.00912153534591198, 0.005611697677522898, -0.016879519447684288, -0.024024533107876778, -0.0017922812839969993, -0.0352800153195858, -0.030058909207582474, -0.03610018640756607, -0.004027004819363356, 0.04313799738883972, -0.005812966264784336, -0.011149237863719463, 0.03261815384030342, -0.0021352593321353197, -0.03822718933224678, -0.06392407417297363, -0.028588898479938507, -0.03998246788978577, -0.051486141979694366, -0.02411467395722866, 0.022151464596390724, -0.008353926241397858, -0.027796698734164238, -0.007127019111067057, -0.03299340233206749, -0.040228523313999176, 0.059026528149843216, -0.06604396551847458, -0.036912862211465836, 0.012816445901989937, 0.022931864485144615, 0.03263822942972183, 0.014969899319112301, 0.03011128678917885, 0.02484283223748207, 0.0065563335083425045, -0.03210439532995224, 0.005908248480409384, 0.005414717365056276, 0.02290356531739235, 0.024440672248601913, -0.09107638150453568, 0.011634184047579765, 0.02841542474925518, 0.0016886950470507145, -0.06616681814193726, 0.03134151175618172, 0.0038173929788172245, -0.01750260218977928, 0.0527903288602829, -0.02403600886464119, 0.00313064968213439, -0.0342426560819149, 0.003274222370237112, 0.0042774551548063755, 0.014677437022328377, 0.05242466181516647, -0.028349310159683228, 0.07818972319364548, 0.011907136999070644, -0.002917894395068288, -0.03972271829843521, -0.01438547670841217, -0.006068714894354343, 0.0014030628371983767, 0.0005527783068828285, -0.040824659168720245, -0.02369976043701172, -0.07481417804956436, -0.014134285971522331, 0.026237858459353447, -0.030660133808851242, -0.03459525480866432, 0.029758065938949585, 0.023783616721630096, -0.028748078271746635, 0.037291478365659714, -0.04962463676929474, 0.03425982967019081, -0.020005276426672935, -0.007362827192991972, 0.012006347998976707, 0.014079959131777287, -0.009794075042009354, 0.00820109248161316, 0.037673600018024445, -0.050583500415086746, -0.009860297664999962, -0.0009731335449032485, 0.04643476754426956, 0.04043639451265335, -0.010238303802907467, -0.003650523256510496 ]
[ -0.08009731769561768, 0.0015329542802646756, -0.019606851041316986, -0.03432358801364899, 0.03832067549228668, -0.05111796781420708, -0.011234956793487072, 0.019504211843013763, -0.020237259566783905, -0.05282658711075783, -0.002409405540674925, -0.021023184061050415, 0.003965877927839756, -0.009576368145644665, 0.0870446041226387, 0.029201259836554527, -0.01977074146270752, -0.054332174360752106, 0.02558344230055809, 0.02199806645512581, 0.007627796847373247, -0.03249264135956764, -0.03256070986390114, -0.005146919284015894, 0.02626577392220497, 0.031793396919965744, 0.034932442009449005, -0.04187716171145439, 0.027289608493447304, -0.16603010892868042, 0.01053336076438427, 0.029279451817274094, 0.028689837083220482, -0.009723610244691372, 0.010654442012310028, 0.05711505189538002, 0.01058014016598463, 0.022044265642762184, -0.000005789614078821614, 0.019473431631922722, 0.0043817260302603245, 0.004752954468131065, -0.04789258912205696, -0.04014121741056442, 0.01942829042673111, 0.012249338440597057, -0.01243896409869194, -0.04241339862346649, -0.011269079521298409, 0.01537009421736002, -0.053951554000377655, -0.027690432965755463, -0.015000434592366219, -0.034127701073884964, -0.03137291967868805, 0.05237533524632454, 0.0335845910012722, 0.07276597619056702, 0.001474522752687335, 0.03651934117078781, 0.02763371542096138, -0.01151389442384243, -0.13584505021572113, 0.09150517731904984, 0.05460716038942337, 0.06593961268663406, -0.036988016217947006, -0.023565256968140602, -0.021355904638767242, 0.10566460341215134, 0.014796163886785507, -0.01770966872572899, -0.03218913823366165, 0.03994828462600708, 0.025592520833015442, 0.004638170823454857, -0.0064125750213861465, 0.02431093528866768, 0.021922118961811066, -0.05495573952794075, -0.014274682849645615, 0.010990200564265251, -0.023969411849975586, -0.011085715144872665, -0.054343413561582565, 0.011464645154774189, -0.012023311108350754, 0.03439141437411308, 0.03756391257047653, 0.04633699730038643, 0.04197409003973007, -0.034736547619104385, 0.018651040270924568, -0.011205118149518967, -0.10888028144836426, -0.032250143587589264, 0.01847081445157528, 0.00805392861366272, -0.051498811691999435, 0.44890451431274414, -0.0380493625998497, -0.038770273327827454, 0.07558606564998627, 0.022863324731588364, -0.020998261868953705, 0.014448883011937141, 0.017827678471803665, -0.04756931960582733, 0.030879611149430275, -0.04177245870232582, 0.012110285460948944, 0.014625072479248047, 0.02693815343081951, -0.049510691314935684, 0.015445517376065254, 0.0318925641477108, 0.00833399873226881, 0.011712366715073586, -0.002654572483152151, 0.003506943816319108, -0.0006533899577334523, 0.015557738021016121, 0.03236629441380501, -0.0014430999290198088, -0.03696363419294357, -0.02924642711877823, 0.023714762181043625, 0.04170164093375206, 0.03327343612909317, 0.0195859856903553, 0.05528683960437775, -0.04385256767272949, -0.04535873979330063, 0.012821164913475513, -0.014767123386263847, 0.0069360616616904736, 0.030285121873021126, -0.022055914625525475, -0.004476835951209068, 0.05277475342154503, 0.016147872433066368, -0.015566878020763397, 0.011993384920060635, 0.004731690976768732, -0.03168420121073723, 0.09819134324789047, 0.011305048130452633, -0.024478159844875336, -0.009494464844465256, -0.011267352849245071, 0.003920258488506079, 0.024175157770514488, 0.00296964799053967, -0.05520371347665787, 0.01828681491315365, 0.008318924345076084, 0.08522658795118332, -0.00936118233948946, -0.04826967790722847, 0.004354764707386494, -0.004450146574527025, -0.04358365386724472, -0.05961206182837486, 0.035696808248758316, 0.07676377147436142, -0.1066613420844078, -0.016754990443587303, -0.015431846491992474, 0.032893240451812744, -0.0728125348687172, -0.007387013640254736, 0.008763491176068783, -0.004034584388136864, -0.024497633799910545, 0.04228922724723816, -0.04025620222091675, -0.04522421956062317, 0.007929924875497818, 0.05378897488117218, 0.03263356164097786, 0.03204416111111641, 0.0003306693397462368, -0.025174500420689583, 0.004902929998934269, -0.029253488406538963, -0.06200799718499184, -0.03315778076648712, -0.0017093091737478971, -0.03373478725552559, -0.024999186396598816, -0.016418909654021263, -0.024212738499045372, -0.08430710434913635, 0.08063394576311111, -0.021193820983171463, -0.015963507816195488, 0.026609638705849648, -0.017372580245137215, -0.02716876193881035, -0.003084243508055806, -0.05165641009807587, 0.018593935295939445, -0.041972652077674866, 0.02144083008170128, -0.06847923994064331, 0.07755494117736816, 0.06823167204856873, -0.05406131222844124, 0.09333427995443344, 0.06424736976623535, -0.03390474617481232, -0.03578181937336922, 0.02603355050086975, 0.0025286516174674034, 0.003687261138111353, -0.007355618756264448, -0.0010810121893882751, 0.032044824212789536, -0.000125403719721362, 0.04153553023934364, -0.010256890207529068, 0.0035977682564407587, 0.024472041055560112, -0.35925209522247314, -0.04860508814454079, -0.025051278993487358, -0.013707638718187809, 0.004441723693162203, -0.06900632381439209, 0.004508598707616329, -0.012997277081012726, -0.05384029075503349, 0.01135015394538641, 0.09001493453979492, -0.014712231233716011, 0.013938605785369873, -0.11098845303058624, -0.017027094960212708, 0.0042113992385566235, -0.01620573177933693, -0.02642681449651718, -0.017389820888638496, 0.02003970928490162, 0.009408011101186275, -0.008472849614918232, -0.002875202801078558, -0.07117455452680588, -0.007971732877194881, -0.026229597628116608, 0.09122763574123383, -0.030437571927905083, 0.09377720952033997, -0.039031919091939926, 0.030524417757987976, -0.00006080678940634243, 0.029987895861268044, -0.10815189778804779, -0.00044180784607306123, -0.030097322538495064, 0.01913595013320446, -0.01637430116534233, 0.041364628821611404, -0.059641558676958084, -0.05821925401687622, 0.002744551282376051, -0.048124462366104126, -0.04024540260434151, -0.0836014449596405, 0.011728438548743725, -0.04809900373220444, -0.038727518171072006, -0.021846715360879898, 0.09499125182628632, 0.029192667454481125, 0.009987856261432171, 0.008116226643323898, 0.006949207279831171, -0.0078277587890625, -0.02434287779033184, -0.07940375804901123, 0.025757769122719765, 0.0008313003345392644, -0.016014251857995987, 0.026312826201319695, 0.07575453072786331, 0.03272397816181183, -0.05382081866264343, -0.01589675061404705, 0.0015631414717063308, -0.008468858897686005, 0.013589184731245041, 0.05178201198577881, -0.012647753581404686, -0.00009059738658834249, 0.08436127752065659, -0.0019177052890881896, -0.008387274108827114, -0.0011915928917005658, 0.013235235586762428, -0.03937278315424919, 0.05818264186382294, 0.030970701947808266, -0.009126702323555946, 0.017095541581511497, -0.04118060693144798, 0.03537951409816742, -0.02369704470038414, -0.0012348415330052376, 0.029821917414665222, 0.0029807218816131353, -0.04579722508788109, 0.06562656909227371, 0.020362386479973793, -0.03796551749110222, 0.012868697755038738, -0.012604871764779091, -0.0459836907684803, 0.07584261149168015, 0.002064309548586607, -0.24202889204025269, 0.013192933984100819, 0.05992291867733002, 0.0416921004652977, -0.023147035390138626, 0.036011144518852234, 0.04714794084429741, -0.03025829792022705, 0.008458725176751614, -0.004957972560077906, 0.025422193109989166, 0.024441560730338097, -0.0194377601146698, -0.00882901344448328, 0.03632768616080284, -0.013984178192913532, 0.05294816195964813, -0.007449085358530283, -0.007129059173166752, -0.014107251539826393, 0.014064056798815727, -0.006648958195000887, 0.1460348516702652, 0.013541645370423794, 0.03247791901230812, -0.027851387858390808, -0.00852613802999258, 0.023809920996427536, 0.07184668630361557, 0.00042161811143159866, -0.0011934038484469056, 0.00847216509282589, 0.03861752152442932, 0.008650482632219791, 0.022463103756308556, -0.06092539429664612, -0.023299667984247208, 0.03360466659069061, 0.02195058949291706, 0.011772256344556808, 0.013831467367708683, 0.0012416467070579529, -0.035750605165958405, 0.028371166437864304, 0.06658286601305008, 0.034593675285577774, 0.014345968142151833, -0.02543623559176922, -0.0744083970785141, -0.01845289021730423, -0.03634140267968178, -0.02237584814429283, 0.006084694992750883, 0.0062621114775538445, 0.014536848291754723, 0.07112402468919754, 0.030448127537965775, -0.0012143963249400258, -0.012166759930551052, 0.014545907266438007, -0.02626350335776806, -0.002201459603384137, 0.0924716666340828, 0.05879611521959305, 0.03680519387125969 ]
[ -0.040049586445093155, -0.025695089250802994, -0.0031900559552013874, -0.013391612097620964, -0.00460069440305233, 0.02897966094315052, -0.00582560570910573, -0.010411478579044342, -0.01538777630776167, -0.0030713181477040052, -0.012566535733640194, 0.05040914565324783, 0.003964194096624851, -0.006699164863675833, 0.008983339183032513, 0.0035588194150477648, -0.008334172889590263, -0.012708679772913456, 0.02155161462724209, -0.002218500943854451, -0.019521940499544144, 0.025203034281730652, -0.007860141806304455, -0.007428542710840702, -0.034227244555950165, 0.02077091857790947, 0.008933307603001595, -0.037641458213329315, 0.020041029900312424, -0.12001106142997742, -0.02595411241054535, -0.024030519649386406, -0.00601225858554244, 0.0239707138389349, -0.020193522796034813, 0.006520404014736414, 0.012782745994627476, 0.033858492970466614, -0.0033772322349250317, -0.03746020421385765, -0.016438866034150124, -0.029010683298110962, -0.008146854117512703, 0.006008646916598082, 0.00144282600376755, 0.009161139838397503, -0.0053108735010027885, -0.07002882659435272, -0.0062485323287546635, -0.039960362017154694, -0.030470529571175575, -0.010346660390496254, -0.017515983432531357, -0.01228848472237587, 0.014712278731167316, 0.015542346984148026, 0.03936680033802986, 0.0005832714377902448, -0.010904391296207905, -0.005267771426588297, -0.019232362508773804, -0.0035383794456720352, -0.04033403471112251, -0.023049097508192062, -0.015407973900437355, -0.01132661011070013, -0.04167264327406883, 0.009004902094602585, -0.03606238216161728, -0.003136805957183242, -0.019548796117305756, 0.005394386127591133, -0.023341551423072815, -0.012959053739905357, 0.017517276108264923, -0.004126661457121372, -0.009961080737411976, -0.04918701574206352, 0.02575819194316864, -0.033003613352775574, -0.03426164761185646, 0.047026291489601135, 0.013310978189110756, 0.015890512615442276, 0.02222570776939392, -0.0014471664326265454, 0.018285272642970085, 0.003664986230432987, 0.03724187612533569, -0.015052828937768936, 0.012893215753138065, 0.028369378298521042, -0.027835963293910027, 0.022722039371728897, -0.08049046248197556, -0.008328955620527267, -0.006018721964210272, 0.005169257987290621, -0.002255871891975403, 0.8707177042961121, -0.02684657648205757, 0.020916495472192764, 0.007822418585419655, 0.012029252015054226, 0.018247446045279503, 0.00046452213427983224, 0.020015375688672066, -0.022965390235185623, 0.01881861500442028, -0.04234103485941887, 0.009313685819506645, 0.0007352473912760615, 0.010744242928922176, -0.0028017540462315083, 0.012585826218128204, 0.027176229283213615, -0.017513416707515717, 0.00395191740244627, -0.005041525233536959, 0.016786621883511543, 0.024204788729548454, -0.014394877478480339, -0.0031225834973156452, 0.032195091247558594, 0.008086941204965115, -0.1746843010187149, -0.014169811271131039, -7.845987654777057e-33, 0.05252936854958534, 0.028605148196220398, -0.012239058502018452, -0.00048440450336784124, 0.0019834255799651146, -0.023638300597667694, 0.03546110540628433, -0.01043524220585823, -0.012372218072414398, -0.005736472550779581, 0.010330341756343842, -0.008733621798455715, 0.0020598238334059715, -0.010972492396831512, 0.021735522896051407, -0.02524782158434391, -0.007651167456060648, 0.034192755818367004, -0.02480611763894558, 0.01703980378806591, 0.01472691260278225, 0.04263622313737869, -0.033333394676446915, -0.0032564878929406404, 0.000803914328571409, -0.007444388698786497, -0.007634397130459547, 0.030771669000387192, 0.0018691616132855415, -0.03260921686887741, -0.01478599850088358, 0.02956382744014263, -0.026945043355226517, -0.011976008303463459, -0.014866618439555168, -0.012094499543309212, -0.0024670667480677366, -0.0015486502088606358, -0.01630256325006485, -0.029085777699947357, -0.030838431790471077, 0.01339858677238226, -0.03718893229961395, -0.006751491222530603, -0.009669378399848938, -0.05131896585226059, 0.013096882961690426, 0.02986149862408638, 0.007851077243685722, -0.027192730456590652, 0.010555561631917953, 0.017338160425424576, 0.0006157199968583882, -0.016063455492258072, -0.008894295431673527, 0.00991850532591343, -0.01146276667714119, 0.013790898025035858, 0.01102741900831461, 0.03030679002404213, 0.02036738581955433, -0.004931150935590267, -0.034270916134119034, 0.02936273068189621, 0.005576771218329668, -0.013643794693052769, -0.007961493916809559, -0.015303951688110828, 0.03138728067278862, -0.02062116377055645, -0.05301176384091377, 0.012060008943080902, 0.01730332337319851, -0.03544776141643524, 0.006266075186431408, -0.0011316417949274182, 0.03732382878661156, 0.02071226015686989, -0.012677674181759357, 0.026980822905898094, -0.000019626246285042726, 0.026247289031744003, -0.018018748611211777, -0.03531844913959503, -0.015203052200376987, 0.005732196383178234, 0.020184477791190147, -0.01432281918823719, -0.027179894968867302, 0.03923923149704933, 0.03519148379564285, 0.00437460420653224, 0.008185457438230515, -0.00037474275450222194, -0.0013388646766543388, 7.796853460280624e-33, -0.0012900943402200937, -0.0008979880949482322, -0.0020321717020124197, -0.010565821081399918, 0.059176329523324966, -0.004976683296263218, 0.016548288986086845, -0.014533117413520813, -0.05047732591629028, 0.02313661202788353, -0.022535940632224083, -0.003985909279435873, -0.019767558202147484, 0.01997799426317215, 0.017997179180383682, -0.0006330013275146484, 0.02281958982348442, -0.006903648376464844, 0.012776466086506844, 0.0169500894844532, 0.03556756302714348, 0.018898729234933853, 0.01598699577152729, 0.003232216229662299, 0.011168504133820534, 0.049086298793554306, -0.000927997927647084, 0.034204620867967606, 0.010570515878498554, -0.015778563916683197, -0.01431788969784975, -0.008258714340627193, 0.015402271412312984, 0.006632180418819189, -0.02176499180495739, 0.019788071513175964, -0.03167904540896416, -0.0194789320230484, -0.009325053542852402, 0.01173165999352932, 0.018881620839238167, 0.00042183580808341503, -0.007543354295194149, 0.018336201086640358, 0.03682361915707588, -0.009793881326913834, 0.017089279368519783, -0.03888564184308052, -0.035726744681596756, 0.0024709212593734264, 0.01679602637887001, 0.0180728267878294, -0.0020568810869008303, -0.011071346700191498, 0.012695030309259892, -0.01918684132397175, -0.014035840518772602, 0.008102900348603725, -0.0018313698237761855, 0.011305021122097969, 0.03424607217311859, 0.03514561429619789, -0.015650391578674316, 0.02812928333878517, -0.004630578216165304, 0.002500897506251931, -0.02069232240319252, 0.01974492147564888, -0.007792946882545948, 0.008579541929066181, -0.030116785317659378, -0.001048154546879232, 0.02940257079899311, 0.026961548253893852, -0.004216889850795269, -0.04776223003864288, -0.043246690183877945, 0.001714953570626676, -0.022084161639213562, 0.03748999908566475, 0.0020210135262459517, 0.009073139168322086, 0.030332045629620552, 0.009482295252382755, -0.009830540046095848, 0.06961965560913086, 0.0021537363063544035, 0.05222102254629135, 0.012929038144648075, -0.025501221418380737, -0.02059946209192276, -0.03608737513422966, 0.03242986649274826, -0.0006317959632724524, -0.011447623372077942, -1.3568110190931293e-8, -0.004139994271099567, 0.017849083989858627, -0.012579604983329773, -0.0049159713089466095, 0.02583453617990017, -0.0011695359135046601, 0.0024619123432785273, -0.0015899712452664971, -0.029970286414027214, 0.018630141392350197, 0.015009591355919838, -0.0022052256390452385, 0.005008278414607048, -0.003723000641912222, 0.04316127672791481, -0.02424013242125511, 0.00022185762645676732, -0.0354716032743454, 0.02545607089996338, 0.019964056089520454, 0.024833766743540764, 0.07165022939443588, -0.024714650586247444, 0.0236150324344635, -0.025460362434387207, 0.005228869616985321, 0.010664044879376888, -0.06740759313106537, 0.0028457092121243477, 0.026471512392163277, 0.002896078396588564, -0.0170460008084774, -0.02505074068903923, 0.013651282526552677, -0.0044923503883183, -0.03739624097943306, 0.012483636848628521, 0.011355872265994549, 0.019828321412205696, 0.007375371642410755, -0.022234659641981125, -0.010178378783166409, -0.0005332979490049183, -0.025867503136396408, -0.007371655199676752, 0.023686829954385757, -0.032674748450517654, -0.03715929388999939, -0.009665773250162601, -0.03192117437720299, 0.023587504401803017, -0.007553326431661844, -0.0016769131179898977, 0.01989181898534298, 0.019547114148736, 0.033632468432188034, -0.002621189458295703, -0.020274724811315536, -0.026402655988931656, -0.036748453974723816, 0.006411133334040642, 0.028131328523159027, 0.004574398510158062, -0.028488639742136 ]
tdd-useful-when-new-on-a-project
https://markhneedham.com/blog/2009/11/06/tdd-useful-when-new-on-a-project
false
2009-11-24 23:31:25
Book Club: Working Effectively With Legacy Code - Chapter 10 (Michael Feathers)
[ "book-club" ]
[ "Book Club" ]
In our latest technical book club we discussed chapter 10 - 'I Can't Run This Method in a Test Harness' - of Michael Feather's 'http://www.amazon.com/gp/product/0131177052?ie=UTF8&tag=marneesblo-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0131177052[Working Effectively With Legacy Code]'. In this chapter Feathers outlines some of the problems we might have getting methods under test and then suggests some ways to get around those problems. These are some of my thoughts and our discussion of the chapter: * I quite like the idea of pragmatic refactoring that Feathers suggests early on in the chapter: + ____ Ideally, it would be great to break it down into smaller classes, but we have to carefully consider whether we want to do that much refactoring right now. It would be great to do it, but whether we can depends on where we are in our release cycle, how much time we have, and all the associated risks. ____ + I think it's important to understand when hacking code in is going to hurt us and quite often I think the side effects of taking this approach are underestimated. http://watchitlater.com/blog/[Tom] spoke of '*value fetishism*' whereby we get so caught up trying to add 'business value' that we forget to keep the code in good stead for future work. I quite like the analogy that Alistair Cockburn uses of http://alistair.cockburn.us/Software+development+as+a+cooperative+game[software development as a series of cooperative gamem] and I think it's sometimes easy to forget in the rush to get some code out for a release that we have to make sure that we don't make our lives impossible for the next game/release by rushing code in without paying due attention. * Feathers spends some time suggesting how we can *test private methods* - one way is to http://www.markhneedham.com/blog/2009/11/10/legacy-code-sensing/[change the method to be public]. There are a couple of reasons why we might not want to do that: ** The method is just a utility and isn't something that clients would care about. We have therefore made our API more noisy ** If a client calls the method then it could have an adverse affect on the results of other methods in the class + The cleanest solution for that second point is to move those methods out into their own class where we could test against them directly. A smaller step to take is to make the method protected and then create a test version of the class from which we can call the protected method directly. Feathers also talks about the danger of using reflection to allow us to test this kind of code - it might allow us to get tests around the code but we're not making the code any better and we may not notice quite how bad the code has got. We are just delaying the inevitable. There's a tool in .NET land called http://learn.typemock.com/[TypeMock] which allows you to test pretty much anything but I wonder whether we would run into the same problems that Feathers describes above. * I quite liked the http://svengrand.blogspot.com/2008/05/new-xunit-test-pattern.html[skin and wrap the API pattern] whereby we create our own interface for a tricky dependency. We then refer to the interface in our code instead of the concrete dependency and have a class which just delegates to the real dependency. We did this when trying to http://www.markhneedham.com/blog/2008/09/17/testing-file-system-operations/[test file operations] on a project I worked on a couple of years ago.
null
null
[ 0.006861588917672634, -0.011342253535985947, -0.024675443768501282, 0.0400724895298481, 0.07494734227657318, 0.0131808677688241, 0.03052227944135666, 0.022351909428834915, 0.05094999819993973, -0.027971742674708366, -0.02095751091837883, 0.006090223789215088, -0.05666515603661537, -0.0074285948649048805, -0.060014765709638596, 0.08111314475536346, 0.0675630271434784, -0.015351111069321632, 0.02769642323255539, -0.006387580651789904, 0.02534695900976658, 0.08767259120941162, -0.00314334430731833, 0.049086883664131165, 0.019050393253564835, 0.012105272151529789, 0.0016420165775343776, -0.010225015692412853, -0.05866587907075882, 0.01177619956433773, 0.044803518801927567, 0.008129797875881195, 0.01502423919737339, -0.02350250817835331, 0.010381084866821766, -0.012777898460626602, -0.020875267684459686, 0.03619135543704033, 0.015499546192586422, 0.0016748872585594654, -0.05823858454823494, 0.04591750726103783, -0.01988293044269085, 0.008241284638643265, -0.0388009212911129, 0.0041908640414476395, -0.0383828729391098, 0.00968334823846817, -0.012440628372132778, -0.016164034605026245, -0.06210148334503174, 0.031433530151844025, -0.00304087670519948, -0.03421878069639206, 0.01739664562046528, 0.0558815523982048, 0.007985254749655724, -0.050138961523771286, 0.0004536870401352644, -0.05424349009990692, 0.0007769185467623174, -0.016305217519402504, -0.0018890134524554014, 0.030985893681645393, 0.04131751507520676, -0.03391202911734581, -0.009678012691438198, 0.044399674981832504, -0.028904205188155174, -0.0024175667203962803, -0.000005001816134608816, 0.019650738686323166, -0.03054247796535492, -0.00733230821788311, -0.006559186615049839, -0.03214282542467117, 0.011060165241360664, 0.09556501358747482, 0.027887191623449326, 0.04549071565270424, 0.005019647069275379, 0.02819499932229519, 0.021676184609532356, 0.011566544882953167, -0.011289040558040142, -0.02955978363752365, 0.01888229511678219, -0.008305424824357033, -0.055730000138282776, 0.07046697288751602, 0.010752945207059383, -0.08016881346702576, 0.021259956061840057, 0.04114273935556412, -0.002905256347730756, 0.036550551652908325, 0.022808915004134178, 0.012103857472538948, -0.0013522339286282659, -0.01653624139726162, -0.03503032028675079, -0.01756545528769493, 0.020506683737039566, 0.007044333498924971, -0.0757160484790802, -0.003763266373425722, -0.012990509159862995, -0.03752908110618591, -0.006179169286042452, 0.015193753875792027, -0.03244054690003395, 0.01302082184702158, -0.022953422740101814, -0.0069429464638233185, -0.08532247692346573, 0.05706683173775673, 0.0023222998715937138, -0.03486526757478714, -0.017252052202820778, -0.0011544968001544476, 0.04790828749537468, 0.03504456579685211, 0.012122313492000103, 0.08314009010791779, 0.034736476838588715, 0.018837206065654755, -0.019769344478845596, 0.05791200324892998, -0.011282112449407578, -0.053258951753377914, -0.012346829287707806, 0.0459100604057312, -0.06787564605474472, -0.020655181258916855, -0.005268426146358252, -0.00475855078548193, -0.007370895240455866, 0.01838553324341774, 0.012751944363117218, 0.043352704495191574, -0.015596086159348488, -0.041734714061021805, 0.02717841975390911, -0.004702858626842499, 0.01230064406991005, 0.006213274784386158, -0.010306790471076965, -0.00597390765324235, -0.025886010378599167, 0.0012459735153242946, 0.006775941699743271, 0.03132682293653488, 0.012424934655427933, -0.05598349869251251, 0.018199635669589043, 0.07855921983718872, -0.00429531279951334, 0.02769234962761402, -0.02473261021077633, 0.04227026179432869, 0.04712807759642601, 0.026817787438631058, 0.035088296979665756, 0.02046974003314972, 0.014352338388562202, -0.0012379336403682828, 0.011180545203387737, 0.033595938235521317, 0.013501357287168503, 0.014634395018219948, -0.07257599383592606, -0.02786966599524021, 0.050326909869909286, -0.05315198376774788, -0.00034583540400490165, 0.041369542479515076, 0.07184470444917679, 0.03416339308023453, 0.031508155167102814, -0.006107082590460777, -0.07672304660081863, 0.027175351977348328, 0.011441840790212154, 0.007752639707177877, -0.002976058516651392, -0.02588559128344059, 0.0528094619512558, 0.02454790286719799, 0.0006194503512233496, 0.03690094128251076, -0.08954767882823944, -0.08828253298997879, -0.004613625817000866, -0.03146709129214287, 0.06002300977706909, -0.019985627382993698, 0.02439320646226406, 0.0636063739657402, 0.005030355881899595, 0.058901868760585785, 0.03964751213788986, 0.010937102138996124, 0.007930160500109196, -0.0260920412838459, -0.026548292487859726, 0.04818062111735344, 0.023828042671084404, 0.0008095183875411749, -0.067169189453125, 0.004290018230676651, -0.0050613717176020145, 0.021558646112680435, 0.048634786158800125, -0.011383909732103348, 0.04520620033144951, 0.012591364793479443, 0.05404657498002052, -0.009890628978610039, 0.06839294731616974, -0.08531355857849121, -0.018383370712399483, 0.0019043724751099944, -0.02344623953104019, 0.006338060833513737, 0.018012862652540207, 0.11675018817186356, 0.05428700149059296, -0.04253634437918663, -0.03375912457704544, 0.011786257848143578, 0.006739067379385233, -0.05584292486310005, -0.005644796881824732, -0.022091388702392578, 0.022620266303420067, -0.024296415969729424, -0.06294538825750351, -0.019853048026561737, 0.026802826672792435, -0.042719077318906784, 0.014365238137543201, 0.0789894089102745, -0.02697831019759178, 0.05072366073727608, -0.0017313531134277582, 0.004780066665261984, -0.015183698385953903, -0.02723909541964531, -0.05492853373289108, 0.019604312255978584, 0.018620023503899574, -0.006842652335762978, 0.051979824900627136, -0.032548222690820694, -0.03556278347969055, -0.014314738102257252, -0.04325532913208008, -0.0067803869023919106, 0.04937504231929779, 0.04735288769006729, 0.011151457205414772, 0.050487205386161804, -0.014603858813643456, 0.03323745355010033, 0.004961541388183832, -0.056145425885915756, -0.02929779887199402, -0.056172676384449005, 0.014782421290874481, 0.023917974904179573, -0.0032245232723653316, 0.03434107452630997, 0.01794038712978363, 0.0066652074456214905, -0.038047242909669876, -0.0010560326045379043, 0.029858991503715515, 0.004189470317214727, -0.012896128930151463, -0.043840162456035614, -0.02647527866065502, 0.04417624697089195, -0.0581417940557003, -0.02548997476696968, 0.01199797261506319, -0.06700094789266586, 0.06298057734966278, -0.0499265119433403, -0.05509854853153229, 0.006375376135110855, 0.02238564006984234, 0.05177684500813484, -0.006757462862879038, 0.033813558518886566, 0.06323383003473282, 0.005664025899022818, -0.0024234678130596876, 0.0026969164609909058, 0.00019671267364174128, 0.03452756628394127, 0.0033862420823425055, -0.025278640910983086, 0.03225744888186455, 0.009928309358656406, -0.018164124339818954, -0.05629247426986694, 0.04248758405447006, -0.02389095351099968, -0.28429484367370605, 0.03581855818629265, 0.0013831636169925332, -0.042467717081308365, 0.02638041041791439, -0.021635752171278, -0.010364016517996788, -0.04432520270347595, -0.02658724971115589, 0.03919299691915512, -0.025464683771133423, -0.047141317278146744, -0.00715853925794363, 0.05101820454001427, 0.009157170541584492, 0.015176361426711082, 0.019971337169408798, -0.042670831084251404, 0.006014826707541943, 0.06488780677318573, -0.002742605283856392, -0.07098817825317383, 0.0009632217115722597, 0.035546544939279556, 0.033297330141067505, 0.0600305050611496, -0.10320624709129333, 0.04229531064629555, -0.041095759719610214, -0.0073654912412166595, 0.009701428934931755, 0.001281694625504315, 0.0011752293212339282, -0.022363649681210518, -0.020949186757206917, 0.005715193692594767, 0.03172731399536133, 0.02257389947772026, -0.02506798319518566, 0.021540150046348572, -0.03212358057498932, -0.014509391970932484, -0.02193993516266346, 0.015990477055311203, 0.0767606571316719, -0.0022473842836916447, -0.06943860650062561, -0.012752770446240902, -0.009054712951183319, 0.09599298983812332, -0.05831220746040344, -0.01976388320326805, -0.0021001913119107485, 0.03541560098528862, -0.026735367253422737, -0.03865540027618408, 0.016084251925349236, -0.022080061957240105, -0.02409980446100235, -0.016980284824967384, -0.013106339611113071, -0.04829462617635727, 0.00840400904417038, -0.03324594721198082, 0.00942262914031744, -0.06598616391420364, -0.06096278131008148, -0.019869167357683182, 0.06419501453638077, -0.0014379681088030338, -0.038873422890901566, -0.0008892456535249949, -0.005972161423414946, -0.11079095304012299, -0.023061074316501617, -0.024936610832810402, -0.015119749121367931, -0.0014351657591760159, 0.015942541882395744, 0.05363078415393829, -0.022349078208208084, -0.07118041068315506, 0.026859303936362267, -0.0017429488943889737, 0.028130507096648216, 0.0020549523178488016, 0.009636018425226212, 0.0012997023295611143, -0.007159123197197914, 0.0022400165908038616, 0.0682167112827301, 0.01426757499575615, -0.032367780804634094, -0.03045273758471012, 0.03377797454595566, 0.0013156302738934755, 0.033914849162101746, -0.01688779518008232, 0.012338398955762386, 0.03458833694458008, -0.015003531239926815, -0.058481477200984955, 0.038823533803224564, -0.029941819608211517, -0.01444487739354372, -0.021016741171479225, -0.034110818058252335, 0.02594269998371601, 0.054353583604097366, 0.024842185899615288, 0.00524510070681572, -0.01967351697385311, 0.00776280602440238, -0.029317529872059822, -0.05136863887310028, -0.025029446929693222, 0.02077452279627323, 0.033257801085710526, -0.029396211728453636, -0.01713445410132408, -0.05748934671282768, 0.0006730410386808217, -0.01831192336976528, -0.0010366172064095736, -0.052848465740680695, -0.02789377048611641, -0.010458468459546566, -0.03051242046058178, 0.012182250618934631, 0.018395155668258667, -0.017397189512848854, 0.02069038897752762, 0.013890182599425316, -0.048382993787527084, -0.003073052503168583, -0.012092207558453083, -0.06614890694618225, -0.024644358083605766, -0.015463633462786674, -0.01527229230850935, -0.006539956200867891, 0.02335718646645546, 0.001987225841730833, 0.039071060717105865, 0.003974968567490578, -0.002843997674062848, 0.03900573030114174, -0.012493896298110485, 0.030669664964079857, 0.02648230642080307, 0.0171287190169096, -0.06641577929258347, 0.03693532571196556, -0.04667745903134346, -0.021182555705308914, -0.024307269603013992, 0.01488382089883089, -0.012966022826731205, -0.032517146319150925, -0.0033186636865139008, 0.03390628844499588, -0.04873751103878021, -0.050788525491952896, -0.03613116219639778, 0.024237018078565598, 0.06638488918542862, -0.023930363357067108, 0.019207583740353584, -0.02424912340939045, -0.041223376989364624, -0.0031035926658660173, 0.011900046840310097, -0.04774121940135956, 0.007368485908955336, 0.019438663497567177, -0.023685721680521965, -0.004869403783231974, -0.01698652282357216, 0.048102185130119324, 0.009992239996790886, -0.016023768112063408, -0.043832551687955856, 0.021054254844784737, 0.0023195501416921616, 0.040234729647636414, 0.00124707433860749, 0.01134321466088295, -0.00899780448526144, -0.030551675707101822, -0.03083714284002781, -0.04636552184820175, 0.002696824725717306, 0.008042309433221817, 0.029240772128105164, -0.0419020839035511, -0.05088053643703461, 0.04173754155635834, 0.019232921302318573, 0.014126277528703213, 0.006996954791247845, 0.012500736862421036, 0.010297584347426891, -0.0054149809293448925, 0.03008609265089035, 0.04671008139848709, -0.06766102463006973, 0.0021263614762574434, -0.006916004698723555, 0.0019721060525625944, 0.00046159877092577517, -0.00464629428461194, -0.03703375533223152, -0.024228256195783615, -0.007342119235545397, -0.009922939352691174, -0.06153812259435654, -0.02010338567197323, -0.010699223726987839, -0.0041663930751383305, 0.0009351649787276983, -0.02738969773054123, -0.03185034170746803, 0.008461284451186657, -0.012985648587346077, -0.017799360677599907, -0.004912297707051039, -0.032884903252124786, 0.0019640345126390457, 0.022939356043934822, -0.025035912171006203, 0.0122896209359169, -0.02304496243596077, 0.0350666306912899, 0.015645435079932213, -0.021673500537872314, 0.005027186591178179, -0.0414651520550251, -0.0015282784588634968, 0.015130679123103619, 0.02744804508984089, -0.017956458032131195, -0.011826730333268642, -0.0231098011136055, -0.005743775516748428, -0.04357929527759552, 0.02351192571222782, -0.024592410773038864, -0.03480639308691025, 0.01910814829170704, 0.05628097429871559, 0.03676670789718628, 0.03945146128535271, 0.0025909130927175283, 0.00876245740801096, 0.055064618587493896, -0.0768841952085495, -0.01772565208375454, -0.027411092072725296, -0.07403771579265594, -0.00473742512986064, -0.001582765718922019, 0.03180871158838272, -0.04880023002624512, 0.03690303489565849, 0.020674848929047585, 0.04147300496697426, 0.044432152062654495, 0.0011310428380966187, 0.013849115930497646, -0.05235210806131363, 0.010590285994112492, -0.07905039191246033, 0.011345581151545048, 0.02785496786236763, 0.006730413064360619, -0.010930685326457024, 0.006030138581991196, -0.03786049783229828, 0.03902328759431839, -0.07773258537054062, -0.00842058751732111, 0.04607351869344711, 0.0006215062458068132, -0.013735869899392128, -0.0014204130275174975, -0.06723742932081223, 0.020435085520148277, 0.025256004184484482, -0.033080827444791794, -0.04084300249814987, -0.01792331412434578, 0.05604114010930061, 0.02508888952434063, 0.04814935848116875, -0.028181560337543488, -0.013122351840138435, 0.06576113402843475, -0.00996360369026661, 0.012596377171576023, 0.035341955721378326, -0.007240470498800278, 0.038407761603593826, 0.032620981335639954, 0.01928825117647648, 0.004950732924044132, 0.008750604465603828, 0.016349373385310173, -0.05646615847945213, 0.02691441774368286, -0.004166342783719301, -0.026598088443279266, -0.03766343370079994, 0.04406679421663284, 0.03282218426465988, -0.017420275136828423, -0.03940951079130173, 0.007180466782301664, -0.07223693281412125, -0.0005823965766467154, -0.024635912850499153, -0.02440422959625721, -0.046834830194711685, 0.06069782003760338, 0.003728183452039957, -0.003392136190086603, 0.039469361305236816, -0.006317563820630312, -0.013345703482627869, -0.02951977215707302, 0.0737684965133667, 0.07699299603700638, 0.08423604816198349, 0.01784098893404007, 0.0629224106669426, 0.004364077467471361, -0.041625015437603, 0.013103149831295013, 0.018922731280326843, -0.010102851316332817, -0.026360874995589256, 0.029309336096048355, 0.043147869408130646, 0.005923425313085318, 0.046960823237895966, -0.03993302583694458, 0.0017489480087533593, 0.0055989595130085945, 0.025842146947979927, 0.011044316925108433, 0.08844536542892456, 0.00527612492442131, 0.028102999553084373, -0.016921306028962135, -0.05363074317574501, 0.03576970100402832, -0.03748301416635513, -0.009601150639355183, 0.04375716671347618, 0.0009131363476626575, 0.028444746509194374, 0.03392048925161362, 0.024134665727615356, 0.061813030391931534, -0.041815727949142456, 0.025555908679962158, 0.0008089445764198899, 0.041794419288635254, 0.0029380889609456062, 0.011226248927414417, -0.03949584439396858, -0.022974768653512, 0.004054703749716282, -0.03525659441947937, -0.0367865189909935, -0.01401318795979023, -0.014215939678251743, 0.059838876128196716, -0.016567833721637726, 0.0027783128898590803, 0.036110732704401016, -0.00230307225137949, -0.04144665598869324, -0.061633866280317307, -0.052524447441101074, -0.029478592798113823, -0.04777044802904129, -0.02471465989947319, 0.018907638266682625, 0.006148220039904118, -0.03747108206152916, -0.002689948072656989, -0.022517818957567215, -0.04674025624990463, 0.04266462102532387, -0.06412238627672195, -0.03135240450501442, 0.0040323385037481785, 0.005911186337471008, 0.021734224632382393, 0.008729394525289536, 0.05110001191496849, 0.018776746466755867, -0.01999807544052601, -0.011416330933570862, 0.022446366026997566, 0.02144087851047516, 0.004100124817341566, 0.0348626933991909, -0.08902034908533096, 0.01334459986537695, 0.03128153458237648, -0.007910334505140781, -0.060193467885255814, 0.05284436419606209, 0.0050629423931241035, -0.04224155843257904, 0.04782488942146301, -0.013605678454041481, 0.021689781919121742, -0.012037781067192554, -0.0284942127764225, -0.00046896067215129733, 0.030674835667014122, 0.036143023520708084, -0.010675221681594849, 0.08933303505182266, 0.007683325093239546, -0.01783674769103527, -0.04751057177782059, -0.02435845136642456, -0.01155184954404831, 0.012809415347874165, -0.027018802240490913, -0.02623179368674755, -0.019285494461655617, -0.07052981853485107, -0.004475013818591833, 0.027471985667943954, -0.02267267368733883, -0.01605330966413021, 0.033166900277137756, 0.026958880946040154, -0.01149921864271164, 0.02270815148949623, -0.03784835338592529, 0.022745618596673012, -0.03271597996354103, -0.010025602765381336, 0.0033980251755565405, 0.009312723763287067, -0.0032918178476393223, 0.014979801140725613, 0.024996943771839142, -0.0453362800180912, 0.004991839174181223, 0.016885757446289062, 0.02509189210832119, 0.054021481424570084, -0.02252868190407753, -0.018143394961953163 ]
[ -0.12506002187728882, -0.0063561261631548405, -0.02130586840212345, -0.03770017623901367, 0.041602957993745804, -0.03226717561483383, -0.03525860980153084, 0.023067481815814972, -0.009351828135550022, -0.016927607357501984, 0.004923044238239527, -0.004149957560002804, -0.00796536635607481, -0.010902107693254948, 0.07445494085550308, 0.022179938852787018, -0.002559178275987506, -0.05218905210494995, 0.030133046209812164, 0.03159664198756218, 0.015391073189675808, -0.03069332242012024, -0.019709307700395584, -0.026224106550216675, 0.0009104092023335397, 0.032798416912555695, 0.014519134536385536, -0.0346473827958107, 0.013430525548756123, -0.20159640908241272, 0.0023304279893636703, 0.029338596388697624, 0.03586547076702118, -0.015232110396027565, 0.0045914738439023495, 0.04014862701296806, 0.015612849034368992, -0.007527289912104607, -0.01815950870513916, 0.05320355296134949, 0.01488956343382597, 0.018722623586654663, -0.06774405390024185, -0.010922117158770561, 0.031690217554569244, 0.008888166397809982, -0.0008357641054317355, -0.049738962203264236, -0.03090541437268257, 0.0014518226962536573, -0.07268014550209045, -0.010280247777700424, -0.018384255468845367, -0.03231367468833923, -0.0078117637895047665, 0.009180683642625809, 0.03882402554154396, 0.07261183112859726, -0.001908814418129623, 0.00943418312817812, 0.017350945621728897, -0.024339625611901283, -0.11988366395235062, 0.08023475855588913, 0.06254366040229797, 0.06440629065036774, -0.03147316724061966, -0.02138565666973591, 0.011917566880583763, 0.07858627289533615, -0.007390892133116722, -0.010525179095566273, -0.03383021056652069, 0.037709470838308334, 0.011456655338406563, 0.020865516737103462, 0.014481930062174797, 0.0132528617978096, 0.033465780317783356, -0.05562705546617508, -0.028158962726593018, -0.01891649141907692, -0.001547671272419393, 0.0007060757488943636, -0.032478999346494675, 0.01396835409104824, -0.005591734778136015, 0.0591418631374836, 0.04709171503782272, 0.028872855007648468, 0.0484447255730629, -0.01052932534366846, 0.06956717371940613, 0.00024213276628870517, -0.08602901548147202, -0.0007936821784824133, -0.008086958900094032, 0.013734288513660431, -0.055709559470415115, 0.46922385692596436, -0.02728431299328804, -0.03319530934095383, 0.0479203425347805, 0.039992135018110275, -0.005263423081487417, 0.009573528543114662, 0.026372604072093964, -0.05000035837292671, 0.0352284200489521, -0.03911323472857475, 0.02949349582195282, 0.026791218668222427, 0.09195388853549957, -0.03939789906144142, -0.001765668042935431, 0.03288404271006584, -0.0011527814203873277, 0.022466404363512993, -0.011586169712245464, -0.008994326926767826, -0.010929565876722336, 0.007375255227088928, 0.02688310667872429, 0.0028205716516822577, -0.0032779097091406584, -0.037461694329977036, 0.008379186503589153, 0.06264789402484894, 0.013441999442875385, 0.022608138620853424, 0.03707673400640488, -0.04494766518473625, -0.05862966179847717, 0.004141731653362513, 0.005367161240428686, 0.006711991503834724, 0.0032489283476024866, -0.009187626652419567, 0.01171018835157156, 0.03684268519282341, -0.00929424911737442, 0.008469955064356327, 0.03542007878422737, -0.007582640275359154, -0.04295911639928818, 0.06921853870153427, 0.03614851459860802, -0.03761069104075432, -0.01274599228054285, -0.0371096208691597, 0.02075940929353237, 0.007985074073076248, -0.016338855028152466, -0.05697605013847351, 0.025135064497590065, -0.010263287462294102, 0.08758972585201263, -0.003775165881961584, -0.0721827819943428, -0.010945054702460766, -0.01033366471529007, -0.01581953838467598, -0.06165395304560661, 0.040943797677755356, 0.04926685616374016, -0.08711787313222885, -0.010254515334963799, 0.0034164541866630316, 0.016186898574233055, -0.0600263774394989, -0.026216905564069748, 0.011738891713321209, -0.02470334991812706, -0.01064265239983797, 0.04885170981287956, -0.020808402448892593, -0.04307334125041962, 0.01423493679612875, 0.047238077968358994, 0.028961483389139175, 0.007150800433009863, 0.016248315572738647, -0.03312961384654045, 0.005989051889628172, -0.019654519855976105, -0.0840049684047699, -0.03496353328227997, -0.009584633633494377, -0.03680777549743652, 0.01847020722925663, -0.04132130742073059, -0.009726008400321007, -0.10182575136423111, 0.0945727601647377, -0.028961479663848877, -0.037216708064079285, 0.008723009377717972, -0.0129356374964118, -0.02227681502699852, -0.020448394119739532, -0.04800175875425339, 0.044063277542591095, -0.025818796828389168, 0.020043296739459038, -0.05947389826178551, 0.0633162334561348, 0.06053861603140831, -0.07966745644807816, 0.07958941906690598, 0.0654049962759018, -0.04689192771911621, -0.03496059775352478, 0.02577800862491131, 0.022351043298840523, 0.007285320200026035, -0.020045682787895203, 0.0015037431148812175, 0.040555618703365326, -0.015186727046966553, 0.014203532598912716, -0.017682969570159912, 0.0195907112210989, -0.01996411755681038, -0.3342186212539673, -0.023149078711867332, -0.03720734640955925, -0.01695464737713337, 0.0025035752914845943, -0.07833566516637802, 0.018177319318056107, -0.02758292853832245, -0.028318505734205246, 0.004441909026354551, 0.08312930911779404, -0.019860554486513138, 0.0026336414739489555, -0.0709819570183754, 0.005206406582146883, 0.005116886459290981, -0.040151629596948624, -0.03372422233223915, -0.045114047825336456, 0.0140336649492383, 0.004783995449542999, -0.015950560569763184, -0.004818209446966648, -0.06418854743242264, -0.029118113219738007, -0.04587395489215851, 0.0900396928191185, -0.02879236452281475, 0.11404068768024445, -0.01625545509159565, 0.036792684346437454, 0.007414277642965317, 0.020696908235549927, -0.08620402961969376, 0.01804635487496853, -0.005028762388974428, 0.0030893278308212757, -0.002089617308229208, 0.026320505887269974, -0.03701917454600334, -0.040543053299188614, 0.02547844685614109, -0.05755733326077461, -0.043774720281362534, -0.06274891644716263, 0.016061432659626007, -0.030139103531837463, -0.03778184577822685, -0.030768441036343575, 0.06936255842447281, 0.022073226049542427, 0.005819056648761034, 0.014707819558680058, 0.011789223179221153, -0.017564106732606888, -0.033324822783470154, -0.06142876297235489, 0.025597911328077316, 0.030263254418969154, 0.006017510313540697, 0.034988097846508026, 0.08067076653242111, 0.01747690699994564, -0.07229404896497726, 0.03620649501681328, -0.007036618888378143, -0.005758732091635466, -0.01047405693680048, 0.05664827674627304, -0.02907574735581875, -0.013331141322851181, 0.09987112879753113, 0.000995794776827097, -0.020700376480817795, 0.011046417988836765, 0.05390463396906853, -0.01380158495157957, 0.017591556534171104, 0.0056319148279726505, -0.011415321379899979, 0.011125282384455204, 0.004968483466655016, 0.028004314750432968, -0.02546870894730091, -0.014234723523259163, -0.0014404305256903172, -0.0348915196955204, -0.037747617810964584, 0.0615876130759716, 0.02528310939669609, -0.043113935738801956, 0.0025690607726573944, -0.022031739354133606, -0.04775755852460861, 0.08310940116643906, 0.02128772996366024, -0.2213808000087738, -0.020549019798636436, 0.07406660169363022, 0.054098449647426605, -0.012685824185609818, 0.04004337266087532, 0.053818508982658386, -0.07803709805011749, 0.0012497799471020699, 0.010262668132781982, 0.03526792302727699, 0.04137592762708664, 0.009058666415512562, -0.006994115188717842, 0.05290735512971878, -0.018297841772437096, 0.04583756625652313, -0.022529812529683113, 0.028633147478103638, -0.010542228817939758, 0.015409160405397415, -0.009044100530445576, 0.1491892784833908, 0.0064993491396307945, 0.035178292542696, 0.015554376877844334, 0.023579349741339684, 0.02099474146962166, 0.06883475184440613, 0.0008672942058183253, -0.0037857191637158394, -0.0062206280417740345, 0.028949890285730362, -0.003433801932260394, 0.02331586927175522, -0.07854275405406952, -0.014676867984235287, -0.00022285268642008305, 0.030249401926994324, 0.0052868034690618515, 0.007929828949272633, 0.011821453459560871, -0.027789082378149033, 0.020149223506450653, 0.0587109737098217, 0.019776983186602592, -0.01580437831580639, -0.03164786472916603, -0.04349483922123909, -0.003371529746800661, -0.04125029966235161, -0.03684744983911514, 0.00726684695109725, -0.02430553361773491, 0.024144014343619347, 0.080682173371315, 0.036299850791692734, -0.020188959315419197, -0.024562066420912743, 0.005450960248708725, -0.0027066979091614485, -0.027173427864909172, 0.12301763892173767, 0.04820975288748741, 0.014144034124910831 ]
[ -0.01973867230117321, -0.0073641762137413025, -0.013798492960631847, -0.010556695982813835, 0.00007433554856106639, 0.026500042527914047, -0.0021879468113183975, -0.006392384879291058, -0.009520039893686771, 0.01232115738093853, 0.007436335552483797, 0.042617425322532654, -0.02265656366944313, -0.012129567563533783, 0.011921613477170467, -0.007174897938966751, -0.004639436025172472, -0.0296618789434433, 0.01954539120197296, -0.0023126855958253145, -0.01184900850057602, 0.012707928195595741, 0.003082982264459133, 0.02479732595384121, -0.02747463248670101, -0.031134791672229767, -0.013331353664398193, 0.01498502679169178, 0.019866863265633583, -0.11774136871099472, -0.0020010194275528193, -0.007159285247325897, -0.006071253679692745, 0.0056651742197573185, -0.004612914752215147, 0.03003171645104885, 0.003264897968620062, -0.00569482147693634, -0.009553087875247002, -0.020785493776202202, 0.008384565822780132, -0.029365992173552513, -0.023934878408908844, 0.009043090045452118, -0.01920102909207344, -0.002825257135555148, 0.02026657946407795, -0.04138759523630142, -0.018008703365921974, -0.010012807324528694, -0.02291654422879219, -0.012402051128447056, -0.04389078915119171, 0.00704696960747242, 0.03194697946310043, 0.0054191467352211475, 0.027845293283462524, -0.011612246744334698, -0.008461766876280308, -0.0331076942384243, 0.017564069479703903, -0.014484894461929798, -0.05575072765350342, -0.020949024707078934, -0.029253467917442322, 0.012282402254641056, -0.007484823931008577, 0.006596683524549007, -0.03635724261403084, -0.022371618077158928, 0.007198820821940899, -0.0007267960463650525, -0.04626678302884102, -0.011202331632375717, 0.0006254118052311242, 0.04441887140274048, -0.005280100740492344, -0.023122942075133324, 0.022886496037244797, -0.016089122742414474, -0.02193787321448326, 0.02147889882326126, 0.04264383390545845, -0.0029258951544761658, 0.006984036881476641, 0.003487702226266265, 0.023661697283387184, 0.006073357071727514, 0.03640979900956154, 0.004803583025932312, 0.008598515763878822, 0.029286548495292664, -0.008778545074164867, 0.04123161360621452, -0.06677227467298508, -0.006851912476122379, -0.017379505559802055, -0.0009904016042128205, -0.010585606098175049, 0.8880205154418945, -0.00966727640479803, 0.03983798995614052, 0.024335844442248344, -0.017924370244145393, 0.0199238583445549, 0.020251652225852013, 0.003894431283697486, 0.00039927606121636927, 0.008425374515354633, -0.02773892879486084, 0.002594889374449849, 0.002287699608132243, 0.016050418838858604, 0.005275466479361057, 0.04514800384640694, 0.009595382027328014, 0.004598693922162056, 0.008293511345982552, 0.005820706952363253, 0.022933170199394226, 0.062101203948259354, 0.01440766453742981, 0.034717246890068054, 0.012606057338416576, 0.005344345234334469, -0.1554315984249115, -0.04441593959927559, -7.977083927568543e-33, 0.043627604842185974, -0.016658570617437363, -0.013480590656399727, 0.0010731843067333102, -0.014356683939695358, -0.005478512961417437, 0.03397839516401291, 0.02368842624127865, -0.00476850476115942, -0.01295408420264721, 0.01792091503739357, -0.01361994817852974, -0.013800383545458317, -0.010604818351566792, 0.04441791772842407, -0.019229859113693237, 0.004841766785830259, 0.031584568321704865, 0.01934870146214962, 0.016698386520147324, 0.00954387616366148, 0.0298379547894001, -0.0019582577515393496, -0.025045478716492653, 0.012503636069595814, 0.02912534587085247, -0.006615084130316973, -0.017240332439541817, 0.004620715044438839, -0.0352337546646595, 0.008495168760418892, -0.0006935515557415783, -0.005164246074855328, -0.030068054795265198, -0.002000309992581606, -0.04296519607305527, -0.022195493802428246, -0.0018633210565894842, -0.026103172451257706, 0.007657350040972233, -0.0024049009662121534, -0.0292874276638031, -0.03396496921777725, 0.0011106012389063835, -0.00935886800289154, -0.009668871760368347, -0.00536824157461524, 0.017260100692510605, 0.026669533923268318, 0.003333227476105094, 0.01061533484607935, 0.01876707561314106, 0.022321069613099098, -0.008276634849607944, -0.02483464404940605, 0.006127859465777874, -0.00578483659774065, -0.027635935693979263, -0.006718658376485109, 0.0016764026368036866, -0.011473395861685276, 0.0013248224277049303, -0.021366992965340614, 0.020865866914391518, -0.0203776266425848, -0.03316446766257286, -0.003068815916776657, -0.004127806983888149, -0.01476137526333332, 0.0027950056828558445, -0.037654876708984375, -0.00044342988985590637, -0.01930081658065319, -0.01590394601225853, -0.0026520537212491035, -0.009041513316333294, 0.020175470039248466, 0.04403557628393173, -0.008601131848990917, -0.00011890915629919618, -0.010452904738485813, 0.023301882669329643, 0.00799641851335764, 0.0024280438665300608, -0.01882423274219036, 0.007807297632098198, 0.02697768062353134, -0.00660998048260808, -0.010014411062002182, 0.025296321138739586, 0.01632150635123253, 0.0311770960688591, 0.006493472959846258, -0.020710742101073265, -0.021247748285531998, 7.783660005560582e-33, -0.018335871398448944, -0.034415747970342636, -0.041174549609422684, 0.007058104500174522, -0.000653285242151469, 0.012868275865912437, 0.023429900407791138, -0.009794510900974274, -0.038436681032180786, 0.025574717670679092, -0.03376239910721779, 0.0007806465728208423, -0.02570224367082119, 0.023538190871477127, 0.031088659539818764, -0.04214661568403244, 0.016971873119473457, -0.02426762878894806, 0.04093766212463379, 0.007938763126730919, 0.023121818900108337, 0.022334201261401176, 0.020587017759680748, -0.02194022573530674, 0.0008347762632183731, 0.038269076496362686, -0.020726673305034637, 0.024817483499646187, 0.0030308214481920004, -0.007835702039301395, 0.016806652769446373, 0.0012003619922325015, 0.01631023921072483, 0.012603634037077427, -0.04558369517326355, 0.03261210769414902, -0.004659322090446949, -0.030010461807250977, 0.015812136232852936, 0.014335020445287228, 0.035315874963998795, -0.00030653481371700764, -0.00018042341980617493, -0.013391480781137943, 0.006882461253553629, -0.006258886307477951, -0.007283340208232403, -0.03632107377052307, -0.002571259858086705, 0.041688814759254456, 0.01806996949017048, 0.025125732645392418, 0.01267414540052414, -0.007084716111421585, -0.010350835509598255, 0.011633353307843208, -0.02239859662950039, -0.021357454359531403, -0.018567821010947227, 0.01630077138543129, -0.012627087533473969, 0.013615865260362625, -0.02218460850417614, -0.004289473872631788, -0.011944404803216457, -0.0012357148807495832, -0.01882084831595421, -0.02200218476355076, -0.013210938312113285, -0.023289160802960396, -0.02593315951526165, 0.00795512180775404, -0.006023823749274015, 0.029870277270674706, -0.011862282641232014, 0.0019291095668449998, -0.0048982021398842335, -0.005737061612308025, 0.024928977712988853, 0.01507812924683094, 0.009392788633704185, -0.0013596391072496772, 0.013985082507133484, -0.0036937533877789974, -0.015382044948637486, 0.011933017522096634, -0.007484640460461378, 0.017657125368714333, 0.0041199056431651115, -0.03646334260702133, -0.0012434644158929586, -0.013160891830921173, 0.020657876506447792, 0.004003684036433697, 0.00026646896731108427, -1.372974622881884e-8, 0.004172665532678366, 0.022517934441566467, -0.001980050466954708, 0.010266012512147427, 0.041226524859666824, -0.005973079241812229, -0.020309891551733017, -0.009044823236763477, -0.00674987630918622, 0.014203357510268688, 0.03134147450327873, -0.01953928731381893, -0.004353497643023729, 0.01442549005150795, 0.005546164233237505, -0.04886065796017647, -0.013704861514270306, -0.001812982838600874, 0.010121013037860394, -0.011184368282556534, 0.0006091772229410708, 0.0750368982553482, -0.02417529560625553, 0.002508096396923065, -0.02345775067806244, -0.015698039904236794, 0.02834503911435604, -0.06647118180990219, 0.006489298306405544, 0.03285682201385498, 0.0028748817276209593, -0.025846414268016815, -0.027895892038941383, 0.01607602648437023, -0.02337452955543995, -0.028999226167798042, 0.019225165247917175, 0.03541471064090729, 0.026415063068270683, 0.014692513272166252, -0.018147610127925873, -0.020276373252272606, 0.006797188892960548, -0.029432108625769615, -0.004186573438346386, -0.035128407180309296, -0.016669513657689095, -0.02621323987841606, -0.0016439124010503292, -0.015217454172670841, 0.015178070403635502, 0.048643603920936584, 0.013157004490494728, 0.031121913343667984, 0.01402844674885273, -0.00022830443049315363, 0.010976631194353104, -0.0037456974387168884, -0.0467030368745327, -0.0016148771392181516, 0.004214143380522728, 0.005614887923002243, -0.01607423648238182, -0.012255003675818443 ]
book-club-working-effectively-with-legacy-code-chapter-10-michael-feathers
https://markhneedham.com/blog/2009/11/24/book-club-working-effectively-with-legacy-code-chapter-10-michael-feathers
false
2009-11-23 20:08:20
Writing a Java function in Clojure
[ "java", "clojure" ]
[ "Java", "Clojure" ]
A function that we had to write in Java on a project that I worked on recently needed to indicate whether there was a gap in a series of data points or not. If there were gaps at the beginning or end of the sequence then that was fine but gaps in the middle of the sequence were not. [source,text] ---- null, 1, 2, 3 => no gaps 1, 2, 3, null => no gaps 1, null, 2, 3 => gaps ---- The Java version looked a bit like this: [source,java] ---- public boolean hasGaps(List<BigInteger> values) { Iterator<BigInteger> fromHead = values.iterator(); while (fromHead.hasNext() && fromHead.next() == null) { fromHead.remove(); } Collections.reverse(values); Iterator<BigInteger> fromTail = values.iterator(); while (fromTail.hasNext() && fromTail.next() == null) { fromTail.remove(); } return values.contains(null); } ---- We take the initial list and then remove all the null values from the beginning of it, then reverse the list and remove all the values from the end. We then check if there's a null value and if there is then it would indicate there is indeed a gap in the list. To write this function in Clojure we can start off by using the 'http://clojure.org/api#toc237[drop-while]' function to get rid of the trailing nil values. I started off with this attempt: [source,lisp] ---- (defn has-gaps? [list] let [no-nils] [drop-while #(= % nil) list] no-nils) ---- Unfortunately that gives us the following error! [source,text] ---- Can't take value of a macro: #'clojure.core/let (NO_SOURCE_FILE:16) ---- It thinks we're trying to pass around the 'let' macro instead of evaluating it - I forgot to put in the brackets around the 'let'! I fixed that with this next version: [source,lisp] ---- (defn has-gaps? [list] (let [no-nils] [drop-while nil? list] no-nils)) ---- But again, no love: [source,lisp] ---- java.lang.IllegalArgumentException: let requires an even number of forms in binding vector (NO_SOURCE_FILE:23) ---- The way I understand it the 'let' macro takes in a vector of bindings as its first argument and what I've done here is pass in two vectors instead of one. In the bindings vector we need to ensure that there are an even number of forms so that each symbol can be bound to an expression. I fixed this by putting the two vectors defined above into another vector: [source,lisp] ---- (defn has-gaps? [list] (let [[no-nils] [(drop-while nil? list)]] no-nils)) ---- We can simplify that further so that we don't have nested vectors: [source,lisp] ---- (defn has-gaps? [list] (let [no-nils (drop-while nil? list)] no-nils)) ---- The next step was to make 'no-nils' a function so that I could make use of that function when the list was reversed as well: [source,lisp] ---- (defn has-gaps? [list] (let [no-nils (fn [x] (drop-while nil? x))] (no-nils list))) ---- I then wrote the rest of the function to reverse the list and then http://www.markhneedham.com/blog/2009/11/21/clojure-checking-for-a-nil-value-in-a-collection/[check the remaining list for nil]: [source,lisp] ---- (defn has-gaps? [list] (let [[no-nils] [(fn [x] (drop-while nil? x))] [nils-removed] [(fn [x] ((comp no-nils reverse no-nils) x))]] (some nil? (nils-removed list)))) ---- The 'http://clojure.org/api#toc151[comp]' function can be used to compose a set of functions which is what I needed. It seemed like the 'nils-removed' function wasn't really necessary so I inlined that: [source,lisp] ---- (defn has-gaps? [list] (let [no-nils (fn [x] (drop-while nil? x))] (some nil? ((comp no-nils reverse no-nils) list)))) ---- The function can now be used like this: [source,text] ---- user=> (has-gaps? '(1 2 3)) nil user=> (has-gaps? '(nil 1 2 3)) nil user=> (has-gaps? '(1 2 3 nil)) nil user=> (has-gaps? '(1 2 nil 3)) true ---- I'd be intrigued to know if there's a better way to do this.
null
null
[ 0.00008923154382500798, 0.009578865021467209, -0.03644559159874916, 0.024190763011574745, 0.07801901549100876, -0.027386635541915894, 0.0182624664157629, 0.004339286591857672, -0.01770223304629326, 0.001272770925424993, 0.0031948741525411606, 0.0073284562677145, -0.05396200343966484, 0.03065972588956356, -0.0004584694397635758, 0.04902682453393936, 0.07886271923780441, -0.026670316234230995, 0.016006868332624435, 0.008591086603701115, 0.001290673390030861, 0.043379660695791245, 0.002458707895129919, 0.014899811707437038, 0.05537060275673866, 0.006911550648510456, 0.007714088074862957, 0.028323324397206306, -0.05150941014289856, 0.009008988738059998, 0.029740097001194954, 0.009563394822180271, -0.014959972351789474, -0.024148644879460335, 0.017739415168762207, -0.0340234711766243, 0.005785602144896984, 0.007220336701720953, -0.015485722571611404, 0.05083923041820526, -0.061954956501722336, 0.008798825554549694, -0.04522903263568878, 0.005143376998603344, -0.030788253992795944, 0.016004852950572968, -0.05104885622859001, -0.008391279727220535, -0.033339664340019226, -0.0017861820524558425, -0.07648962736129761, 0.01677086390554905, -0.00025750804343260825, 0.008017492480576038, 0.0035124379210174084, 0.022505173459649086, 0.015412946231663227, -0.06481127440929413, 0.05389821529388428, -0.037455786019563675, 0.012579888105392456, -0.026419755071401596, 0.004647160414606333, 0.025345459580421448, -0.017656631767749786, -0.032796747982501984, -0.023035282269120216, 0.04510592296719551, -0.041799869388341904, -0.03301039710640907, -0.035231396555900574, 0.004485100507736206, -0.009828583337366581, -0.03772348165512085, 0.002720186486840248, -0.027388250455260277, -0.011623437516391277, 0.04679141193628311, 0.003999732900410891, 0.053573764860630035, -0.024995455518364906, 0.01267974078655243, 0.055437613278627396, 0.028057940304279327, 0.03324098140001297, -0.04197440296411514, -0.04338667914271355, -0.0196590106934309, -0.015777379274368286, 0.03409893065690994, 0.009666712954640388, -0.04513773322105408, -0.04355205222964287, 0.0176420658826828, -0.009115180000662804, -0.01487439963966608, 0.010792264714837074, 0.005130833480507135, -0.009734564460814, 0.007287891115993261, -0.030761340633034706, -0.06264284253120422, 0.037092264741659164, 0.01669050008058548, -0.06999792158603668, -0.018836071714758873, -0.005037720315158367, -0.005014511290937662, 0.009612033143639565, -0.006384249776601791, -0.04263009503483772, 0.024189665913581848, 0.008005909621715546, 0.02553705871105194, -0.06576906889677048, 0.06099763140082359, -0.01449048426002264, -0.007948312908411026, -0.011434330604970455, 0.021628079935908318, 0.02420242689549923, 0.0099704060703516, 0.026459643617272377, 0.09244031459093094, -0.008094733580946922, 0.04721701517701149, -0.01363525539636612, 0.05759270489215851, -0.047076161950826645, -0.034429579973220825, -0.04432595521211624, 0.05053100362420082, -0.02150547318160534, -0.0049180868081748486, -0.0030957425478845835, -0.021247683092951775, -0.03609869256615639, -0.018461260944604874, 0.05264381691813469, 0.011530346237123013, -0.005888213869184256, -0.023456096649169922, 0.005720901302993298, -0.022121228277683258, 0.028368283063173294, 0.006945870816707611, -0.013160298578441143, -0.015978142619132996, -0.0011959444964304566, 0.07017998397350311, 0.010240149684250355, 0.03626660257577896, 0.07045374810695648, -0.007603049278259277, -0.004045367240905762, 0.05346933752298355, -0.013150493614375591, 0.04475484415888786, -0.021535245701670647, 0.03559551015496254, 0.016091424971818924, 0.025645051151514053, -0.009678944014012814, 0.04351311922073364, 0.030528606846928596, -0.005148366559296846, 0.017439939081668854, 0.03031015954911709, -0.023719046264886856, -0.010288541205227375, -0.053550951182842255, -0.029975488781929016, 0.05028964951634407, -0.036371827125549316, -0.02726554125547409, -0.0009459037100896239, 0.08153203874826431, -0.00680353119969368, 0.07122502475976944, 0.014232347719371319, -0.06652505695819855, 0.03447775915265083, 0.01710948534309864, 0.04779256135225296, 0.014515085145831108, 0.005776474252343178, 0.05710844695568085, 0.03374100476503372, -0.019255639985203743, -0.0031299551483243704, -0.07327578961849213, -0.06340161710977554, -0.01123065035790205, -0.02987787127494812, 0.07191374152898788, -0.07328852266073227, 0.01166737824678421, 0.011283277533948421, -0.001108194119296968, 0.03906095027923584, 0.03192909061908722, -0.026616737246513367, 0.019024856388568878, -0.013875872828066349, -0.05229879543185234, 0.05816661939024925, 0.01481724064797163, -0.01907227374613285, -0.02950683981180191, 0.05273858830332756, 0.017904015257954597, 0.03504307195544243, 0.02925569750368595, -0.004965509753674269, 0.06964625418186188, 0.03278680518269539, 0.041155386716127396, -0.05243601277470589, 0.05130026116967201, -0.05675777792930603, 0.04432521387934685, 0.013822364620864391, 0.0016196946380659938, -0.019887026399374008, 0.018565211445093155, 0.12319723516702652, 0.05489180237054825, -0.032768186181783676, -0.061907798051834106, 0.06491219997406006, -0.024713266640901566, -0.015390961430966854, -0.004221951588988304, -0.015230029821395874, -0.0018925757613033056, 0.020449915900826454, -0.0035290902014821768, -0.006693276576697826, 0.01640123501420021, -0.031510744243860245, -0.011074540205299854, 0.0741044282913208, -0.009907176718115807, 0.04996006190776825, 0.02368057146668434, -0.03408422693610191, -0.001547996886074543, -0.034315306693315506, -0.06709110736846924, 0.001297525828704238, 0.011680927127599716, -0.016863759607076645, 0.07007446140050888, -0.047707535326480865, -0.05602852255105972, -0.0026208050549030304, -0.035886500030756, 0.004233184736222029, 0.07858779281377792, 0.057265982031822205, 0.0006169091211631894, 0.03223269805312157, -0.001998525345697999, -0.023210136219859123, -0.03391716256737709, -0.0420670360326767, -0.020407797768712044, -0.0005054186331108212, 0.02023203857243061, 0.027558360248804092, -0.006183565594255924, 0.0009072883985936642, 0.033957310020923615, 0.015010775998234749, -0.018310891464352608, -0.014942815527319908, 0.0018313102191314101, -0.002426564460620284, -0.02303953468799591, -0.02431526966392994, -0.0032970800530165434, 0.06623335182666779, -0.06268921494483948, -0.05634353682398796, -0.008086765184998512, -0.03605704754590988, 0.06968477368354797, -0.057734690606594086, -0.032730311155319214, 0.026573382318019867, 0.031177692115306854, 0.023596670478582382, -0.038333166390657425, 0.010207032784819603, 0.06926718354225159, 0.002263176254928112, 0.01846005767583847, 0.011817416176199913, 0.02493107132613659, 0.011202520690858364, -0.0039509800262749195, 0.008050674572587013, 0.040279570966959, -0.012381206266582012, -0.004715090151876211, -0.002637479454278946, 0.009676752611994743, -0.039307937026023865, -0.2520905137062073, 0.05154699087142944, -0.040157612413167953, -0.03775005415081978, 0.022510062903165817, -0.04001452401280403, -0.0009036598494276404, -0.04178763926029205, -0.0105757936835289, 0.019512832164764404, -0.006032953038811684, -0.001322376076132059, -0.0232766792178154, 0.0681070014834404, -0.00722980871796608, -0.033400703221559525, 0.005091818515211344, -0.02115737833082676, 0.01880486309528351, 0.05493783578276634, 0.025213735178112984, -0.07674678415060043, 0.017872648313641548, 0.05105401203036308, 0.028915254399180412, 0.04632212966680527, -0.08134827762842178, 0.029121464118361473, -0.04804759845137596, -0.03636227920651436, -0.008309762924909592, -0.02167738415300846, 0.02659721113741398, -0.06111094728112221, -0.02238682471215725, -0.003005050588399172, 0.006546505261212587, 0.02249530516564846, 0.03203362599015236, 0.058631718158721924, -0.027415137737989426, -0.049705877900123596, 0.023383034393191338, 0.0007499803323298693, 0.0452440083026886, 0.004395957104861736, -0.0340738408267498, -0.013034695759415627, -0.017612358555197716, 0.06699492782354355, -0.029806924983859062, -0.0010602287948131561, -0.009217974729835987, 0.044554054737091064, -0.011379868723452091, -0.010235514491796494, -0.02466641180217266, -0.023276623338460922, -0.02251793071627617, -0.04176948964595795, -0.029102124273777008, -0.057233776897192, -0.007227245718240738, -0.03330865874886513, -0.04116935655474663, -0.06714516133069992, -0.06625625491142273, 0.03970007598400116, 0.052349090576171875, 0.022137397900223732, -0.02049778588116169, -0.007900855503976345, -0.0007030999404378235, -0.10752933472394943, -0.03783738240599632, -0.05326491966843605, -0.01048502791672945, -0.0031007376965135336, -0.04248490184545517, 0.03591388463973999, -0.052556537091732025, -0.04966459423303604, 0.03767058625817299, 0.059632353484630585, 0.05430181697010994, -0.029006054624915123, 0.02188713289797306, -0.0303915087133646, -0.007932612672448158, -0.02107401192188263, 0.0525963194668293, -0.031082037836313248, -0.031047243624925613, -0.041655540466308594, 0.020017502829432487, 0.042051319032907486, 0.016234593465924263, 0.017748631536960602, 0.02947990410029888, 0.006549097131937742, 0.06105431914329529, -0.045221004635095596, 0.00674064876511693, -0.005680760834366083, 0.0011910644825547934, 0.004360371269285679, -0.02499818056821823, 0.020821454003453255, 0.0025897198356688023, -0.017136720940470695, -0.02275988459587097, -0.054159633815288544, 0.01549343578517437, -0.06485907733440399, -0.056837018579244614, -0.008839030750095844, -0.00543263740837574, 0.023574328050017357, 0.030492108315229416, -0.026481766253709793, -0.05661657080054283, 0.018713239580392838, 0.011354492977261543, -0.04442976415157318, -0.027028441429138184, -0.04274341091513634, -0.04504253342747688, -0.03237604722380638, -0.003965055104345083, 0.029382240027189255, -0.005692662205547094, 0.035947851836681366, 0.019715312868356705, -0.03217596560716629, 0.04103885218501091, -0.031181901693344116, -0.008255169726908207, -0.015304823406040668, -0.03378162905573845, 0.0054626185446977615, 0.014102781191468239, -0.017204634845256805, 0.025606492534279823, 0.017089039087295532, 0.02543802745640278, -0.002062200102955103, 0.015032111667096615, -0.0012258776696398854, -0.022594859823584557, 0.04497586935758591, 0.01570362225174904, -0.03414969891309738, 0.061206478625535965, -0.04614376276731491, -0.022693974897265434, -0.022023780271410942, 0.033482152968645096, -0.02590847760438919, -0.05243457108736038, -0.05887676030397415, 0.05498176068067551, -0.024131977930665016, -0.009963598102331161, -0.013498924672603607, -0.049234118312597275, 0.035716988146305084, -0.002028148388490081, 0.03980143740773201, -0.03204292058944702, -0.015312806703150272, 0.008955908007919788, -0.024833180010318756, -0.02062808722257614, 0.03935417905449867, -0.002701599383726716, 0.0059931715950369835, 0.020096801221370697, 0.039016243070364, 0.011385679244995117, -0.002422301098704338, -0.01359760481864214, 0.002647607820108533, 0.02182198129594326, 0.007558758836239576, 0.03618260473012924, 0.023363836109638214, -0.008898736909031868, -0.0012676157057285309, -0.029071923345327377, -0.03410899266600609, -0.02600867487490177, -0.035897936671972275, -0.013142859563231468, 0.0014042288530617952, -0.03951983153820038, -0.05631760135293007, 0.005238902289420366, 0.05601565167307854, 0.020121069625020027, 0.0009092752588912845, 0.00034666177816689014, -0.0027633395511657, -0.010669472627341747, 0.0026121169794350863, 0.07038708031177521, -0.04937330633401871, 0.022539503872394562, -0.01067759282886982, 0.032148540019989014, 0.05380038172006607, -0.010622895322740078, -0.06474315375089645, -0.00552924582734704, 0.012414133176207542, -0.013188140466809273, -0.000055458596762036905, -0.030766963958740234, -0.01022446621209383, 0.04503249004483223, -0.03193225711584091, -0.007755729835480452, -0.027822837233543396, 0.015658006072044373, -0.021897966042160988, -0.029834207147359848, -0.003549921093508601, -0.028796616941690445, 0.02470136247575283, 0.05531509965658188, -0.027229664847254753, 0.017846081405878067, -0.028464289382100105, 0.04642563313245773, 0.02525021880865097, -0.007544801104813814, 0.0033425064757466316, -0.03594185411930084, 0.0199264045804739, -0.02429703250527382, 0.05681536719202995, 0.0077240909449756145, -0.013568763621151447, -0.014993811026215553, -0.0000038584039430134, -0.03757319226861, 0.012511489912867546, -0.0017787459073588252, -0.04881938174366951, 0.013546413742005825, 0.06415211409330368, -0.008824287913739681, 0.061589889228343964, -0.010086906142532825, -0.016238102689385414, 0.07332370430231094, -0.010694645345211029, -0.05920073017477989, -0.02723892778158188, -0.04791722074151039, 0.015318053774535656, 0.03282195329666138, 0.019919313490390778, -0.014919668436050415, 0.019764725118875504, 0.054368756711483, 0.004903261084109545, 0.024966897442936897, 0.0022768722847104073, 0.04267776012420654, -0.014188452623784542, 0.01585443504154682, -0.10304877161979675, -0.003295032074674964, 0.05698997899889946, -0.0037276512011885643, -0.010236354544758797, -0.05443567782640457, -0.0025953296571969986, -0.013701207935810089, -0.0790330246090889, -0.00006435014074668288, 0.026482734829187393, 0.004701909143477678, 0.00856922660022974, 0.05689898878335953, -0.02635333314538002, 0.009060962125658989, 0.021764568984508514, -0.017623113468289375, -0.025027751922607422, -0.04746400937438011, 0.04396175220608711, 0.014104860834777355, 0.005913993809372187, -0.019472993910312653, 0.013435224071145058, 0.08289985358715057, 0.05181489512324333, 0.03921839967370033, 0.053022708743810654, -0.024150479584932327, 0.029137978330254555, 0.05452405661344528, -0.033830516040325165, -0.04133966937661171, 0.009315905161201954, -0.012343387119472027, -0.07524000108242035, 0.004227424971759319, 0.04740269482135773, -0.024191519245505333, -0.024635616689920425, 0.07338229566812515, 0.0410563088953495, -0.026598012074828148, -0.04616871476173401, 0.015556735917925835, -0.06495743989944458, 0.017631463706493378, -0.04285803437232971, 0.01923220604658127, -0.027561964467167854, 0.05214040353894234, -0.0410446971654892, 0.01807883009314537, 0.07340775430202484, 0.009080061689019203, -0.003505245316773653, -0.000018480553990229964, 0.09359029680490494, 0.07456805557012558, 0.025785624980926514, 0.01537318341434002, 0.0566522553563118, -0.04529143497347832, -0.022199241444468498, -0.016063090413808823, -0.042065948247909546, 0.014577627182006836, -0.01384514570236206, 0.045271530747413635, 0.08384057879447937, -0.022824490442872047, 0.05050978437066078, -0.046708397567272186, -0.00814769696444273, -0.005060101859271526, 0.018379321321845055, 0.034270986914634705, 0.05794678255915642, 0.012620263732969761, 0.030330033972859383, 0.017632709816098213, -0.010275165550410748, 0.02915148250758648, -0.014288040809333324, -0.025153333321213722, 0.019700651988387108, 0.023964816704392433, 0.009450161829590797, 0.03647825866937637, 0.04246213287115097, 0.06366590410470963, -0.028772367164492607, -0.0018660625210031867, 0.005413735751062632, 0.02342410199344158, 0.013663467019796371, -0.019378244876861572, 0.00904463417828083, -0.035000696778297424, 0.0011895643547177315, 0.002865217626094818, -0.026763398200273514, -0.024562278762459755, -0.050583116710186005, 0.02290426939725876, -0.03462166339159012, 0.00563074043020606, 0.005168743431568146, -0.003940802998840809, -0.04220789298415184, -0.0645507425069809, -0.04782780259847641, -0.07510090619325638, -0.07933134585618973, -0.007147419266402721, 0.00012722547398880124, -0.041975412517786026, -0.050988804548978806, -0.03706461936235428, 0.001340104267001152, -0.008675537072122097, 0.04591533914208412, -0.026071947067975998, -0.0324423722922802, 0.0443747453391552, 0.015822138637304306, 0.03765832260251045, 0.014778531156480312, 0.03312033787369728, -0.013317671604454517, 0.017813486978411674, -0.0043120901100337505, -0.011562875472009182, 0.035408616065979004, 0.002424390520900488, 0.01346847228705883, -0.06526171416044235, 0.01511367131024599, 0.03212708979845047, 0.0242984127253294, -0.08197125792503357, 0.005314798094332218, 0.01779661700129509, -0.020953288301825523, 0.035989176481962204, -0.005313384812325239, -0.036563459783792496, -0.05313998833298683, -0.012133224867284298, 0.009526744484901428, -0.006330612115561962, 0.010603433474898338, -0.024770915508270264, 0.0695539265871048, 0.028557615354657173, 0.0016540257493034005, -0.024613160640001297, 0.031185418367385864, -0.03910265117883682, -0.00476417038589716, -0.026592908427119255, -0.046272341161966324, -0.05555469170212746, -0.054744523018598557, 0.01149195246398449, -0.0020964019931852818, -0.056153759360313416, -0.039848651736974716, 0.009125319309532642, 0.04999009519815445, -0.05063501372933388, 0.05526021122932434, -0.026737235486507416, 0.05131528899073601, -0.035932887345552444, -0.04078501835465431, -0.01939859241247177, 0.02864837273955345, 0.028458599001169205, 0.01736609824001789, 0.008626801893115044, -0.02161371521651745, 0.008333146572113037, -0.024069055914878845, 0.011639612726867199, 0.02460653893649578, -0.030894674360752106, 0.00203317916020751 ]
[ -0.09313150495290756, -0.01968728005886078, -0.03259002044796944, -0.03745653107762337, 0.029595138505101204, -0.02330087311565876, 0.0004651044146157801, 0.030793601647019386, 0.026041541248559952, -0.013606961816549301, 0.03814315050840378, -0.07614648342132568, 0.023601634427905083, 0.018284525722265244, 0.05134267359972, -0.02755104750394821, -0.04176444932818413, 0.0016935209278017282, -0.06234002485871315, -0.003187573282048106, 0.03683016076683998, -0.03828955441713333, -0.02409955859184265, -0.033640056848526, 0.04661160334944725, 0.07168147712945938, 0.04112226516008377, -0.043612316250801086, -0.01007471326738596, -0.22277358174324036, -0.028854062780737877, -0.00569440983235836, 0.041794683784246445, -0.05262530595064163, -0.011363346129655838, 0.06683890521526337, -0.013985405676066875, 0.00985050294548273, -0.023332687094807625, 0.05283310264348984, 0.04589765891432762, 0.059518586844205856, -0.02505088970065117, -0.043841250240802765, 0.0016521434299647808, -0.006832513026893139, 0.011293888092041016, -0.042532265186309814, 0.004383742809295654, 0.00030548396171070635, -0.08111290633678436, -0.011164565570652485, 0.014921503141522408, 0.00815493892878294, 0.014114835299551487, 0.03370915353298187, 0.04128631576895714, 0.07317811250686646, 0.0279264897108078, 0.022275011986494064, 0.005865662358701229, -0.041685812175273895, -0.12170757353305817, 0.06109976768493652, 0.04489681497216225, 0.041634105145931244, 0.026369981467723846, -0.04155946895480156, -0.05133479833602905, 0.07718811929225922, 0.03060663491487503, 0.00541731109842658, -0.020869800820946693, 0.09176512062549591, 0.008510024286806583, -0.05660984665155411, 0.007152900565415621, 0.014611620455980301, 0.03128780052065849, -0.029624884948134422, -0.06026708334684372, -0.030915778130292892, -0.0027708210982382298, -0.007571659050881863, -0.0070579745806753635, 0.02267637848854065, -0.022146228700876236, 0.02150239236652851, -0.010659708641469479, -0.00932139903306961, 0.031232241541147232, -0.023616649210453033, 0.048845965415239334, 0.033669423311948776, -0.10760345309972763, 0.009575272910296917, -0.000639465928543359, 0.0054521262645721436, -0.022043583914637566, 0.39067962765693665, -0.03774469718337059, 0.00033601358882151544, 0.01993175595998764, 0.022412186488509178, 0.0329572930932045, 0.002905878471210599, -0.020369935780763626, -0.06391593813896179, 0.019565096125006676, -0.03822607919573784, -0.009485099464654922, -0.03584650531411171, 0.06327009201049805, -0.038677141070365906, -0.03581207990646362, 0.015439541079103947, 0.09087242186069489, 0.005885905120521784, -0.01976148597896099, 0.027506764978170395, -0.018324144184589386, 0.007148244883865118, 0.017109133303165436, 0.015599828213453293, 0.015222468413412571, 0.017223680391907692, 0.013786339201033115, 0.0569843091070652, 0.056285373866558075, 0.016071366146206856, 0.03345774486660957, -0.04274939373135567, -0.06095505133271217, 0.029529329389333725, -0.004861195106059313, -0.00785940419882536, 0.006986292544752359, -0.03489039093255997, 0.017501141875982285, -0.008664793334901333, -0.01838465966284275, -0.03535057604312897, 0.041676588356494904, -0.020306646823883057, -0.018310867249965668, 0.10267026722431183, -0.02721332386136055, -0.019890272989869118, -0.025569524616003036, -0.06279785931110382, -0.030053049325942993, 0.03871287405490875, 0.004987651016563177, -0.03949828818440437, 0.04005751386284828, 0.02636612206697464, 0.06380409747362137, -0.01560111902654171, -0.07032757997512817, -0.010577973909676075, -0.03954917937517166, -0.02834327146410942, -0.08318498730659485, 0.08913969993591309, 0.025467542931437492, -0.038784049451351166, -0.015107821673154831, 0.014724026434123516, -0.015349497087299824, -0.04973839595913887, -0.005310217384248972, 0.02620617300271988, -0.028503693640232086, -0.008177034556865692, 0.0589335598051548, -0.033488985151052475, -0.01982756145298481, -0.007750620134174824, 0.026702439412474632, 0.042939867824316025, -0.05347183346748352, 0.010907107032835484, -0.0435309074819088, 0.03756769001483917, 0.007070292718708515, -0.07579223811626434, -0.0770421251654625, -0.0014300696784630418, -0.004189350176602602, 0.01171888317912817, -0.03376590833067894, -0.05436670407652855, -0.04815216735005379, 0.0492854118347168, -0.04744318127632141, -0.038568854331970215, -0.0021459495183080435, 0.006954245734959841, -0.014007736928761005, -0.03036779724061489, 0.03391597419977188, 0.05639202147722244, 0.01465561706572771, 0.01832745224237442, -0.07649287581443787, 0.010698067024350166, 0.04879872873425484, -0.066080242395401, 0.07614091783761978, 0.050537534058094025, -0.031780410557985306, 0.0028685200959444046, -0.0339515246450901, 0.022414246574044228, -0.003787118475884199, -0.015901943668723106, 0.006624789908528328, -0.026025965809822083, 0.036879174411296844, 0.02331952564418316, -0.08444071561098099, -0.03741549700498581, -0.043191228061914444, -0.36189189553260803, -0.018912676721811295, 0.016358816996216774, -0.01841128244996071, 0.04525644704699516, -0.06961902230978012, -0.011487902142107487, -0.027454206719994545, -0.035651031881570816, 0.0007001586491242051, 0.0599830187857151, -0.016237206757068634, -0.05527673289179802, -0.06701063364744186, -0.0034390180371701717, 0.025894559919834137, -0.011587357148528099, -0.0562782883644104, -0.03132181242108345, 0.043716054409742355, -0.006150403060019016, -0.025349661707878113, 0.0021528080105781555, -0.0512775294482708, -0.022375650703907013, -0.024389071390032768, 0.10048006474971771, 0.011513334698975086, 0.07597465068101883, -0.05550320819020271, 0.04235706105828285, 0.013752192258834839, -0.023660071194171906, -0.03476537764072418, -0.0030482884030789137, -0.03783591091632843, -0.04760841280221939, -0.007266292814165354, -0.010743782855570316, -0.011637169867753983, -0.02478027157485485, 0.029228461906313896, -0.05895970016717911, -0.0010874824365600944, -0.00798363983631134, 0.024965934455394745, -0.01310918852686882, -0.030225377529859543, 0.03495876118540764, 0.08653981983661652, 0.03432692214846611, -0.009616879746317863, 0.025274397805333138, 0.01582983508706093, 0.05554067716002464, 0.015091411769390106, -0.07238314300775528, -0.04000793769955635, 0.010134236887097359, -0.03493604436516762, 0.04210691899061203, 0.06928310543298721, 0.035542767494916916, -0.021061033010482788, 0.0031639558728784323, 0.02587101235985756, 0.02633356861770153, -0.00241512106731534, 0.0238951463252306, -0.02080555446445942, -0.035544510930776596, 0.11374138295650482, 0.006338243838399649, -0.01065975334495306, 0.024202343076467514, 0.06754504889249802, -0.018701180815696716, 0.011845611035823822, 0.014186626300215721, 0.014715555123984814, 0.03915545716881752, 0.00259954109787941, 0.041639991104602814, -0.002762484597042203, -0.003961056470870972, 0.07515757530927658, 0.01200148556381464, -0.003537616692483425, 0.042571231722831726, -0.00902272667735815, -0.0018686748808249831, -0.00786653719842434, 0.007423774804919958, -0.04122201353311539, 0.0750545784831047, -0.002426006132736802, -0.23849545419216156, 0.032497260719537735, 0.034270208328962326, 0.04684997349977493, -0.0022997751366347075, 0.04423096030950546, 0.02853132225573063, -0.05685451626777649, -0.035044118762016296, 0.01063411496579647, 0.006773568689823151, 0.04355381056666374, 0.011788115836679935, -0.041025929152965546, 0.03971709683537483, -0.008847474120557308, 0.017018552869558334, 0.0035848941188305616, 0.01929417997598648, 0.01407472975552082, 0.03955819085240364, -0.006704478990286589, 0.2043418288230896, -0.03654423728585243, 0.012901003472507, 0.02037443034350872, 0.010113268159329891, 0.012397154234349728, 0.08975545316934586, 0.02138233557343483, -0.017856571823358536, -0.0093785859644413, 0.08864638954401016, 0.012029191479086876, 0.014816933311522007, -0.021112821996212006, -0.0010194965871050954, 0.05884912237524986, 0.023019952699542046, -0.03952507674694061, -0.008019614964723587, 0.011691520921885967, -0.026535937562584877, 0.03163532540202141, 0.09643422812223434, 0.021311290562152863, 0.007483065128326416, -0.033258020877838135, 0.0021762168034911156, 0.004513976164162159, -0.043980829417705536, -0.011741632595658302, 0.020829763263463974, 0.013394415378570557, 0.0029586311429739, 0.03531847149133682, -0.014886543154716492, -0.035361967980861664, -0.03815842047333717, -0.005001609679311514, -0.009449327364563942, -0.04618426412343979, 0.11876756697893143, -0.011653769761323929, -0.012901291251182556 ]
[ -0.030313435941934586, 0.02944657951593399, -0.028760725632309914, -0.009570399299263954, 0.023262077942490578, -0.008087366819381714, -0.01433939766138792, 0.046643856912851334, -0.019145559519529343, -0.01756718009710312, -0.013591618277132511, -0.029337020590901375, 0.011509675532579422, -0.02735253795981407, 0.010420392267405987, -0.024627551436424255, -0.010105714201927185, 0.015649322420358658, 0.04260570555925369, -0.04357539862394333, -0.014874554239213467, 0.07812676578760147, 0.010179542005062103, -0.01992524228990078, 0.014282898977398872, 0.06499961018562317, 0.004927498288452625, -0.03850705549120903, 0.011576852761209011, -0.13960212469100952, -0.03420441225171089, -0.018761754035949707, 0.0026301725301891565, -0.017918653786182404, 0.02140655927360058, 0.0261157788336277, -0.013926886022090912, 0.05689315125346184, -0.02483755350112915, -0.009977240115404129, -0.023849377408623695, 0.010701865889132023, -0.016270874068140984, 0.013470680452883244, 0.005972055718302727, 0.022691797465085983, -0.03668994456529617, -0.030906876549124718, -0.01330614648759365, -0.02614855393767357, -0.053733039647340775, 0.015106658451259136, 0.018101520836353302, 0.013978744857013226, 0.024006107822060585, -0.030955268070101738, -0.03315247967839241, -0.030092742294073105, -0.008316131308674812, -0.004854920785874128, 0.00386801571585238, 0.0028829234652221203, -0.044680047780275345, -0.020938465371727943, 0.0029002756346017122, -0.04838963598012924, 0.062077686190605164, 0.0035801557824015617, 0.009942167438566685, -0.015579366125166416, 0.013084648177027702, 0.052573710680007935, -0.042148564010858536, -0.01465620007365942, -0.023481175303459167, 0.018526893109083176, 0.025593267753720284, -0.02540784329175949, 0.01394248753786087, -0.014483942650258541, -0.012490048073232174, -0.0014680552994832397, 0.014900002628564835, 0.02041281946003437, -0.024390658363699913, -0.03290461748838425, 0.018255917355418205, 0.03763749077916145, -0.014318679459393024, 0.0301408302038908, -0.023434368893504143, 0.011953621171414852, 0.010356413200497627, 0.021783843636512756, -0.08036575466394424, 0.0507306307554245, -0.01567249186336994, -0.0010874930303543806, 0.003630237653851509, 0.8395240902900696, 0.010404324159026146, 0.041967663913965225, 0.028797905892133713, -0.005383848678320646, -0.007394543848931789, -0.014180091209709644, 0.002764282515272498, -0.013879508711397648, 0.0048249936662614346, 0.0028546710964292288, 0.03197940066456795, -0.021226275712251663, 0.030323626473546028, 0.00885690562427044, 0.015779748558998108, 0.0005902760894969106, 0.036439601331949234, -0.004341188818216324, 0.046626798808574677, 0.04963528737425804, 0.04909728467464447, -0.0013759222347289324, -0.004950713366270065, 0.009778796695172787, 0.04218968749046326, -0.14423969388008118, -0.041166871786117554, -6.925768065283153e-33, 0.016377197578549385, -0.050949759781360626, 0.039964985102415085, 0.006550253368914127, -0.03453463688492775, 0.013207787647843361, -0.031015846878290176, 0.012341337278485298, -0.002263974631205201, -0.011669955216348171, -0.0037152760196477175, -0.029405295848846436, -0.004449126776307821, -0.028136856853961945, 0.032425183802843094, -0.016463803127408028, 0.022186221554875374, 0.01415706705302, -0.029839517548680305, 0.006453813519328833, 0.0015856986865401268, -0.00014373745943885297, 0.01736043207347393, 0.01045145746320486, 0.011698790825903416, 0.022023877128958702, 0.024899998679757118, -0.02680407650768757, 0.010846289806067944, -0.038348350673913956, -0.03551776707172394, 0.005097562912851572, 0.03769522160291672, -0.0022507784888148308, 0.03083047643303871, -0.029768770560622215, 0.006690070964396, -0.02183116413652897, -0.00728809367865324, -0.028717508539557457, -0.032350074499845505, 0.0005673730629496276, -0.03805047646164894, -0.0014916019281372428, 0.021975664421916008, -0.027764400467276573, 0.009880058467388153, 0.03709810972213745, -0.009275242686271667, 0.06261429935693741, 0.023430274799466133, 0.03948727622628212, -0.017842581495642662, -0.024972273036837578, -0.01293613389134407, 0.0039683193899691105, -0.004187883343547583, -0.0070014833472669125, -0.012947997078299522, 0.03336505964398384, -0.019086020067334175, 0.04582005739212036, -0.008057654835283756, 0.03184237331151962, -0.01824134774506092, 0.001160524901933968, -0.024858694523572922, -0.025561654940247536, 0.007601747289299965, 0.04879935458302498, -0.04914231225848198, -0.012248164042830467, 0.016575563699007034, 0.0076244366355240345, -0.00380970211699605, -0.03966038301587105, -0.019657962024211884, -0.03404209390282631, 0.006751152221113443, 0.011290994472801685, 0.05564708635210991, -0.028110753744840622, -0.0005986292962916195, -0.03556395322084427, -0.00664354395121336, -0.010476481169462204, 0.021065838634967804, 0.030003177002072334, -0.0024245085660368204, -0.01896148920059204, 0.02381553128361702, 0.016551002860069275, -0.002431209897622466, -0.003993396647274494, -0.01619674451649189, 6.693536666650733e-33, 0.009290583431720734, -0.006164184305816889, 0.014857697300612926, 0.01858227141201496, 0.04582827165722847, 0.011253801174461842, 0.018562547862529755, 0.018315577879548073, -0.012848726473748684, 0.021150927990674973, -0.04132328927516937, -0.012510611675679684, -0.003434012643992901, -0.019203435629606247, 0.05619001388549805, -0.0006469408399425447, 0.03856753557920456, -0.01761232316493988, -0.0171161200851202, 0.01060954388231039, 0.017664805054664612, -0.01239851489663124, 0.031927671283483505, 0.01278175599873066, 0.012904604896903038, 0.026724178344011307, -0.04573395848274231, -0.0022330032661557198, -0.017756324261426926, 0.042793672531843185, 0.03345241770148277, -0.022872701287269592, 0.012660176493227482, -0.039433788508176804, 0.00742715410888195, -0.0036876664962619543, -0.006583455950021744, -0.029450196772813797, 0.013384927064180374, 0.013993359170854092, -0.0034661905374377966, -0.015505286864936352, 0.008865967392921448, 0.02422645129263401, -0.00033754983451217413, 0.02119990438222885, -0.001973341917619109, 0.04107891395688057, 0.013902738690376282, -0.025342460721731186, 0.0031397321727126837, 0.02777276560664177, -0.027685824781656265, 0.017269862815737724, 0.017530305311083794, -0.01042865589261055, -0.06886100023984909, 0.04117220640182495, -0.03702803701162338, 0.011427822522819042, -0.016519695520401, -0.046540047973394394, 0.028933892026543617, -0.011274843476712704, 0.012495522387325764, -0.013437708839774132, -0.026876136660575867, -0.022309139370918274, -0.02166355401277542, 0.004544151946902275, -0.04940187931060791, -0.030379019677639008, -0.007321346551179886, 0.0400720052421093, -0.006547438912093639, -0.009399657137691975, -0.020760996267199516, -0.01822143793106079, 0.01720944233238697, 0.01777077093720436, 0.02942117676138878, 0.007649186532944441, -0.023641865700483322, 0.0138556445017457, 0.023969724774360657, 0.005962761119008064, -0.00041973014594987035, -0.014853863045573235, -0.018997937440872192, -0.018575096502900124, -0.012239845469594002, -0.005562973208725452, 0.026532091200351715, -0.0002827224670909345, -0.00675419345498085, -1.2537508808918574e-8, 0.012507465668022633, -0.031119652092456818, -0.003510860027745366, 0.010437454096972942, 0.027852538973093033, -0.0025441369507461786, -0.03882119059562683, -0.008595765568315983, 0.01654943637549877, 0.03463200107216835, 0.0425620973110199, 0.012571115046739578, 0.010951034724712372, 0.037240494042634964, 0.04794148728251457, -0.033696629106998444, 0.039675142616033554, -0.005613295361399651, 0.016518788412213326, 0.002281039487570524, -0.006478848867118359, 0.03531021252274513, -0.05233822762966156, -0.007583606988191605, -0.01727321557700634, -0.02659239061176777, 0.04125441983342171, -0.07447098195552826, 0.0277225561439991, -0.043912723660469055, 0.0027165780775249004, -0.015518797561526299, 0.016269434243440628, -0.0009670057916082442, -0.020565740764141083, 0.0061087459325790405, 0.0286718662828207, 0.032057542353868484, 0.02510191686451435, -0.02070632204413414, -0.012509138323366642, 0.007346600294113159, -0.008235703222453594, -0.01904349960386753, -0.03173227608203888, -0.04173710569739342, -0.01367303729057312, 0.029009366407990456, -0.03770344704389572, -0.03040013089776039, 0.006296928972005844, 0.009882720187306404, 0.01313693169504404, -0.014197704382240772, 0.04248795285820961, -0.013406194746494293, 0.010803289711475372, -0.03438197821378708, -0.021167593076825142, -0.011234615929424763, 0.011277463287115097, -0.05193663761019707, -0.03975803032517433, -0.006926853209733963 ]
writing-a-java-function-in-clojure
https://markhneedham.com/blog/2009/11/23/writing-a-java-function-in-clojure
false
2009-11-23 11:46:52
Requirements: The story points focus
[ "agile", "requirements" ]
[ "Agile" ]
Something which an agile approach on a project typically gives us is the ability to change requirements rapidly based on the different types of feedback we typically get over the course of the project. One way that we can lose this advantage is by getting caught up by the number of story points being completed and using this as the measure of success. The flexibility to change has an impact on the number of story points that may be completed in a given iteration - if we start doing some work on a story and then get feedback from the business while it is still in progress it's possible that we will end up with more work to do than we had previously. Once a story is estimated http://www.markhneedham.com/blog/2009/02/11/agile-re-estimating-cards/[we don't typically go back and change that estimate] unless there was a change in the assumptions being made before we play it. This means that any changes we make based on feedback would not result in re-estimation of the story card. We now have more work to do without our measurement mechanism recognising that. It gets even worse if we start working on a feature and then get feedback from the business that the feature is no longer useful to them and we should just stop working on it. At this point a fairly common response is to 'lock down' the requirements so that we'll only work on the currently defined requirements and no new ones or changes will be permitted. While this might make some logical sense it misses the point that we're supposed to try and deliver http://www.dancingmango.com/blog/2009/11/18/about-a-successful-project-that-was-a-failiure/[something that is actually useful rather than something which just meets the initial requirements]. In reality one of two things, or perhaps a combination of both, ends up happening: * There will still be changes and all we've done is create the illusion that there won't be any. * The business will now push to get exactly the features that were specified originally even if the development team ends up spending a disproportionate amount of time creating those features for the value they actually provide. Story points are really useful for allowing us to get an idea of the relative size of stories and can be helpful for getting a rough understanding of the amount of work we can complete in a given time period but we need to be careful how we use them. Our goal at the end of the day is to deliver working software. Story points are just a mechanism for giving us some feedback on how well we are doing that. They're not the goal in itself.
null
null
[ 0.022624947130680084, -0.017188778147101402, -0.0055684237740933895, 0.03101932629942894, 0.09357330203056335, 0.008646532893180847, 0.019862184301018715, 0.02987172082066536, 0.013159259222447872, -0.01455970760434866, -0.028166577219963074, 0.0015451190993189812, -0.05214976146817207, 0.025217801332473755, -0.05150764435529709, 0.0721045508980751, 0.06274054944515228, 0.0047909971326589584, 0.01852625049650669, 0.014009865000844002, 0.02290726639330387, 0.07734381407499313, 0.013614853844046593, 0.02881094627082348, 0.04248267784714699, 0.005221426486968994, 0.021708717569708824, -0.011118503287434578, -0.05987323820590973, -0.01536538265645504, 0.03450853377580643, -0.021500244736671448, -0.004789066035300493, 0.0011957652168348432, 0.01611245609819889, -0.016501370817422867, -0.007166436407715082, 0.03478887677192688, -0.007668652106076479, -0.048486996442079544, -0.06334879249334335, 0.03872866928577423, -0.029004525393247604, -0.012200411409139633, -0.027817094698548317, -0.0013106174301356077, -0.02757229655981064, -0.007342541124671698, -0.005418103188276291, -0.004938908852636814, -0.07003002613782883, 0.04511462524533272, -0.024653801694512367, -0.030222753062844276, -0.01573438011109829, 0.040186282247304916, -0.014904659241437912, -0.06231997162103653, -0.003181541571393609, -0.034200504422187805, -0.006850502919405699, -0.020296821370720863, 0.007221605628728867, 0.04518910497426987, 0.03515850380063057, -0.03930029645562172, 0.015356111340224743, 0.032808780670166016, -0.007555785588920116, 0.014297233894467354, -0.041843052953481674, -0.002140359254553914, -0.015482665970921516, -0.004269265569746494, 0.0002786496188491583, -0.05441227927803993, 0.019218211993575096, 0.059664562344551086, 0.022866779938340187, 0.03513432666659355, -0.025948181748390198, 0.036201849579811096, 0.024318378418684006, 0.010273748077452183, -0.026175420731306076, -0.05659876763820648, 0.024602895602583885, -0.02849467284977436, -0.06052272021770477, 0.06151167303323746, 0.011297399178147316, -0.07604344189167023, 0.028401004150509834, 0.05399283394217491, -0.005943375173956156, -0.004149962216615677, 0.011832504533231258, 0.020328320562839508, 0.0019176629139110446, -0.03165213763713837, -0.02941872552037239, -0.017131272703409195, -0.00033535598777234554, 0.004079663660377264, -0.09831194579601288, -0.005623703822493553, 0.002690101508051157, -0.013685683719813824, -0.03678550943732262, 0.0075853243470191956, -0.03149588406085968, 0.012365785427391529, -0.03210457041859627, 0.013815411366522312, -0.06790599226951599, 0.06501919776201248, 0.0030641707126051188, -0.03061416931450367, -0.011694664135575294, -0.008936951868236065, 0.0446266271173954, -0.0036816399078816175, -0.0023268088698387146, 0.07353503257036209, -0.00735370023176074, 0.02404203452169895, -0.04437204450368881, 0.05726351588964462, -0.01862218603491783, -0.05640785023570061, -0.01967913657426834, 0.059490229934453964, -0.05146064609289169, -0.0216617900878191, 0.0025110349524766207, -0.019953660666942596, 0.022594306617975235, -0.006220570299774408, 0.01661890372633934, 0.05233824998140335, -0.018702149391174316, -0.00786637607961893, 0.0010117910569533706, 0.04404124245047569, 0.03229856118559837, 0.002861408516764641, 0.0034102252684533596, -0.043410543352365494, -0.059328027069568634, -0.009423457086086273, 0.00812485534697771, 0.0283039640635252, 0.024647224694490433, -0.02102258801460266, 0.021577972918748856, 0.08776719123125076, 0.02519497647881508, -0.012442740611732006, -0.024101920425891876, 0.04140393063426018, 0.03830453380942345, 0.03058614768087864, 0.03798289969563484, 0.00949676800519228, 0.022785663604736328, 0.004372555762529373, 0.0004576928913593292, 0.029377425089478493, 0.0021846110466867685, -0.02291051112115383, -0.052354536950588226, -0.04479876160621643, 0.05047646537423134, -0.05294310674071312, -0.022879566997289658, 0.05285634472966194, 0.06660424917936325, 0.0762568786740303, 0.0017155470559373498, 0.03199874609708786, -0.07541320472955704, 0.040862131863832474, 0.009701692499220371, 0.017222220078110695, 0.039891552180051804, -0.02762172929942608, 0.04495305195450783, 0.04581720381975174, -0.006473973393440247, 0.021111777052283287, -0.08068820834159851, -0.09571409225463867, -0.024195639416575432, -0.007363337557762861, 0.03431342914700508, -0.05901240184903145, 0.019964169710874557, 0.09192433208227158, 0.013373322784900665, 0.04997972026467323, 0.021914253011345863, 0.0007530439761467278, 0.010963425040245056, -0.04735491797327995, -0.022349771112203598, 0.06692659854888916, 0.0288185216486454, 0.005202495492994785, -0.05733866989612579, 0.018914546817541122, -0.010714982636272907, 0.0045470427721738815, 0.034117281436920166, -0.012734102085232735, 0.05216783285140991, -0.0037858784198760986, 0.06920835375785828, -0.04327084869146347, 0.05764913186430931, -0.053159382194280624, 0.004902072250843048, 0.006851234473288059, -0.023551981896162033, 0.0008396468474529684, -0.006404187995940447, 0.10014115273952484, 0.05794307589530945, -0.03343101590871811, -0.057649098336696625, 0.027673015370965004, 0.017825420945882797, -0.041978634893894196, 0.003140560118481517, -0.005695217754691839, 0.0188924390822649, 0.022174853831529617, -0.06773567944765091, -0.026981141418218613, 0.017514003440737724, -0.06215113773941994, 0.02054034359753132, 0.04393189400434494, -0.021656053140759468, 0.07581879198551178, 0.02620811015367508, -0.004105694126337767, -0.0031369589269161224, 0.016645196825265884, -0.059127744287252426, 0.011212972924113274, 0.02129305712878704, -0.03164631128311157, 0.06008137762546539, -0.02861868403851986, -0.046151529997587204, -0.026808980852365494, -0.036115266382694244, -0.005292712710797787, 0.04260313883423805, 0.06353660672903061, -0.00966269988566637, 0.046322375535964966, 0.0067222644574940205, 0.0215922724455595, 0.004843963775783777, -0.020979268476366997, -0.05321630463004112, -0.03793283924460411, -0.015139552764594555, 0.031552255153656006, 0.025828899815678596, 0.0055549256503582, 0.029177071526646614, 0.006851455196738243, -0.011618046090006828, 0.0070561496540904045, 0.03628043457865715, 0.0028167436830699444, -0.012951575219631195, -0.022145185619592667, -0.01258134376257658, 0.04878119379281998, -0.044233888387680054, -0.02842414751648903, 0.024878740310668945, -0.08289721608161926, 0.05098460242152214, -0.06387780606746674, -0.027447201311588287, 0.0034663944970816374, 0.012180862948298454, 0.05412433668971062, 0.009020303376019001, 0.012057546526193619, 0.0702187567949295, 0.024037202820181847, 0.012858754955232143, 0.0052437568083405495, 0.011958181858062744, 0.04891233146190643, -0.0036086044274270535, -0.03744679316878319, 0.05744946002960205, -0.0028498356696218252, -0.00989539735019207, -0.06218736618757248, 0.06189717724919319, -0.049738090485334396, -0.2830882966518402, 0.02623487077653408, 0.0067486753687262535, -0.045069728046655655, 0.011101078242063522, -0.01843447983264923, 0.016587184742093086, -0.04246827960014343, -0.036400262266397476, 0.019562892615795135, -0.05461365729570389, -0.035011015832424164, -0.011936728842556477, 0.06137567758560181, 0.006148220039904118, 0.028393631801009178, 0.03479473665356636, -0.020709408447146416, 0.0008152349037118256, 0.05178479850292206, -0.014465626329183578, -0.07590534538030624, 0.008086315356194973, 0.03492627665400505, 0.035232193768024445, 0.05213332176208496, -0.07353571057319641, 0.04644213616847992, -0.05840446054935455, -0.002698676660656929, 0.027270443737506866, 0.007052920293062925, -0.0033571470994502306, -0.02474927343428135, 0.0062254322692751884, -0.014443572610616684, 0.03443925082683563, -0.0024932774249464273, -0.0013787177158519626, -0.013922903686761856, -0.005118496250361204, -0.049112074077129364, 0.01660246215760708, 0.047768719494342804, 0.048656463623046875, 0.010635665617883205, -0.050974197685718536, 0.008860016241669655, -0.013424367643892765, 0.0927995964884758, -0.005671602673828602, -0.018892927095294, -0.011248304508626461, 0.026697320863604546, -0.020164616405963898, -0.02580687776207924, 0.013189402408897877, -0.0221237875521183, -0.05188681185245514, -0.023568032309412956, -0.02155250869691372, -0.022505102679133415, 0.0044299280270934105, -0.033594511449337006, -0.015863239765167236, -0.06475907564163208, -0.0585201270878315, -0.003750633215531707, 0.048173487186431885, -0.005191118456423283, -0.03058953583240509, -0.013381105847656727, 0.003523231716826558, -0.0956517904996872, -0.003703959286212921, -0.026301613077521324, -0.0287970919162035, 0.028983714058995247, -0.005862630438059568, 0.03218026086688042, -0.03360053524374962, -0.05503060668706894, 0.014653192833065987, -0.0024210151750594378, 0.03006662428379059, -0.0031340348068624735, 0.05851318687200546, 0.04131978005170822, -0.03289736434817314, 0.03326385095715523, 0.050947919487953186, 0.0042527662590146065, -0.03155560418963432, -0.01489616371691227, 0.024280304089188576, -0.012311778031289577, 0.011063062585890293, -0.01561744511127472, 0.005340578965842724, 0.02585320733487606, -0.014629919081926346, -0.050838276743888855, 0.019686199724674225, -0.02081560343503952, -0.002950814785435796, -0.014757249504327774, -0.06095871701836586, 0.01814134232699871, 0.04610346257686615, 0.009111914783716202, 0.015228996984660625, -0.024090442806482315, 0.0037265128921717405, -0.046322938054800034, -0.04493297263979912, -0.013536100275814533, -0.006151013541966677, 0.0459456704556942, -0.014267810620367527, 0.008225945755839348, -0.053992148488759995, 0.016761647537350655, -0.009632321074604988, 0.003071446903049946, -0.0592658594250679, -0.02314869686961174, -0.015025777742266655, -0.02370552532374859, 0.008352445438504219, 0.01154108252376318, -0.02166890725493431, 0.012635895051062107, 0.023011649027466774, -0.04178399220108986, 0.008545409888029099, -0.017055438831448555, -0.0709080845117569, -0.02108829654753208, 0.003471407573670149, -0.015409492887556553, -0.032857295125722885, 0.028888167813420296, 0.028701646253466606, 0.005944195203483105, 0.03461196646094322, 0.004310550633817911, 0.027816470712423325, -0.018331091850996017, 0.01253529917448759, 0.012955892831087112, 0.00964046549052, -0.06413916498422623, 0.01228124089539051, -0.03516900911927223, -0.015230034478008747, -0.028040360659360886, 0.012069959193468094, -0.026507334783673286, -0.0049922531470656395, -0.023683011531829834, -0.0134322764351964, -0.05100299417972565, -0.039320241659879684, -0.022857414558529854, 0.024329351261258125, 0.04769285395741463, -0.01249260175973177, 0.00568768847733736, -0.012802963145077229, -0.003386248368769884, 0.01860152930021286, -0.006194795481860638, -0.04452746734023094, 0.007039674092084169, -0.0027484025340527296, -0.008045096881687641, 0.008799184113740921, 0.00710675586014986, 0.04645022749900818, -0.006758013274520636, -0.003931943792849779, -0.019062954932451248, 0.031092649325728416, 0.011224815621972084, 0.021053720265626907, 0.03162984177470207, -0.010881948284804821, 0.009518664330244064, -0.02290153130888939, -0.025873035192489624, -0.038970015943050385, 0.009800915606319904, 0.01004861481487751, 0.005428296979516745, -0.028095092624425888, -0.07019805163145065, 0.04619399085640907, 0.013704613782465458, 0.032591529190540314, -0.0015585076762363315, -0.01774303801357746, -0.0008685137145221233, -0.017458563670516014, 0.007605012971907854, 0.07561928033828735, -0.056644316762685776, -0.00748228607699275, -0.010134869255125523, 0.0168771930038929, 0.012879681773483753, -0.01252665463835001, -0.05123576149344444, -0.02249934896826744, -0.0036656667944043875, 0.008148543536663055, -0.0725855827331543, -0.010928572155535221, -0.03580239415168762, 0.012493803165853024, -0.01141935121268034, 0.02242894656956196, -0.03188800811767578, -0.01807812787592411, -0.026978962123394012, -0.020686961710453033, 0.006797392386943102, -0.0408308282494545, -0.005572712514549494, 0.020020542666316032, -0.031181693077087402, -0.023927217349410057, -0.0354936383664608, 0.01765209063887596, 0.01413281075656414, -0.023504674434661865, 0.004422003868967295, -0.04972704127430916, 0.02878701128065586, 0.006355565972626209, 0.03928250074386597, -0.02788849174976349, -0.014369810931384563, -0.026594648137688637, -0.009699463844299316, -0.03384269401431084, 0.01007107924669981, -0.031639035791158676, -0.01887694001197815, 0.023579370230436325, 0.079328753054142, 0.02349122241139412, 0.03731314837932587, 0.000298556056804955, -0.027696875855326653, 0.0449460931122303, -0.05218922719359398, -0.01713123917579651, -0.027035295963287354, -0.06346897035837173, 0.012694225646555424, 0.03337801992893219, 0.018012693151831627, -0.05309737101197243, 0.026621060445904732, 0.007346801925450563, 0.0602574422955513, 0.040918923914432526, 0.0028426789212971926, 0.02172701619565487, -0.05095255747437477, -0.01061907596886158, -0.07121379673480988, -0.011094706133008003, 0.02369137853384018, 0.00439157709479332, 0.016995996236801147, -0.0032433653250336647, -0.038256820291280746, 0.052978601306676865, -0.0681445375084877, -0.012544749304652214, 0.0516648069024086, -0.0008527528843842447, -0.016390230506658554, 0.04058302566409111, -0.06546488404273987, 0.04313638433814049, 0.023506132885813713, -0.0469035767018795, -0.009286809712648392, -0.008658718317747116, 0.04980461299419403, 0.015513855032622814, 0.019977258518338203, -0.05257812887430191, -0.01096130907535553, 0.0949334129691124, 0.013295629061758518, -0.005952702835202217, 0.054823681712150574, -0.002403695834800601, 0.03533506765961647, 0.030745673924684525, 0.008120530284941196, -0.03559711575508118, 0.018570372834801674, -0.011736959218978882, -0.060557831078767776, 0.04761630669236183, -0.00008211036765715107, -0.02914205938577652, -0.019207565113902092, 0.06062640994787216, 0.023577751591801643, -0.02026345022022724, -0.05482004955410957, -0.002458547940477729, -0.05263815075159073, 0.018048055469989777, -0.002977045951411128, -0.014525573700666428, -0.08476237952709198, 0.05051713436841965, -0.003854036331176758, 0.02036336436867714, 0.05762575939297676, -0.015869364142417908, 0.0050521427765488625, -0.01993577368557453, 0.0877290591597557, 0.07046587765216827, 0.08799762278795242, 0.022284474223852158, 0.07749827206134796, -0.010334573686122894, -0.029572537168860435, 0.02143992856144905, -0.0000070405549195129424, -0.005403068382292986, -0.029099637642502785, 0.027749868109822273, 0.04153706505894661, -0.0022963376250118017, 0.06172533333301544, -0.007922783493995667, -0.03741293400526047, 0.00943742599338293, 0.04582574963569641, 0.015246790833771229, 0.06892971694469452, 0.004696432501077652, -0.004800095688551664, -0.009707905352115631, -0.04060530662536621, 0.0224580317735672, -0.03212552145123482, -0.014092364348471165, 0.05894084274768829, -0.0008086944581009448, 0.04698045924305916, 0.0194257665425539, 0.022029386833310127, 0.0791512057185173, -0.059344835579395294, 0.011949151754379272, -0.022305382415652275, 0.03882826119661331, -0.00031008230871520936, 0.005803565960377455, 0.0015019893180578947, -0.019219128414988518, 0.018424883484840393, -0.02403617836534977, -0.032238226383924484, 0.002764716511592269, -0.002300739288330078, 0.028560275211930275, -0.02984394133090973, 0.005864134058356285, 0.038711898028850555, 0.0013072106521576643, -0.05240854248404503, -0.04514918476343155, -0.023239824920892715, -0.027116406708955765, -0.050444379448890686, 0.012643197551369667, 0.03249029070138931, -0.020941022783517838, -0.03386247903108597, -0.0055860234424471855, -0.016575496643781662, -0.03962700814008713, 0.02745084837079048, -0.044520001858472824, -0.024320529773831367, -0.004778034053742886, 0.018435921519994736, 0.03167840465903282, 0.003051523817703128, 0.04455769434571266, 0.0016588384751230478, -0.014493929222226143, -0.017559954896569252, 0.053798530250787735, 0.039042241871356964, 0.004143537487834692, 0.024797258898615837, -0.06453602015972137, 0.015530232340097427, 0.040123309940099716, -0.01950743980705738, -0.06405504047870636, 0.028419308364391327, -0.008404860273003578, -0.03387933224439621, 0.059271253645420074, -0.02084195427596569, -0.004180820193141699, -0.05561431497335434, -0.0076742516830563545, -0.022751616314053535, 0.0061250547878444195, 0.029391584917902946, -0.038351211696863174, 0.07287045568227768, 0.0238629262894392, -0.014528360217809677, -0.03976321965456009, 0.0038970804307609797, 0.003755598794668913, 0.0014982427237555385, 0.0020611651707440615, -0.036778829991817474, -0.026307569816708565, -0.08424989134073257, -0.031292255967855453, 0.03212163597345352, -0.025257352739572525, -0.030110541731119156, 0.02979920618236065, 0.030175313353538513, -0.04327702522277832, 0.021177368238568306, -0.038833532482385635, 0.04952434077858925, -0.026891911402344704, -0.019680265337228775, -0.006120510399341583, 0.010814041830599308, -0.016847141087055206, 0.009560252539813519, 0.027699623256921768, -0.045872412621974945, 0.014643002301454544, 0.003265020437538624, 0.022043073549866676, 0.03176623582839966, 0.009977166540920734, 0.0007521567167714238 ]
[ -0.06676921993494034, -0.006655719596892595, -0.008619547821581364, -0.016237741336226463, 0.028793927282094955, -0.014812770299613476, -0.028816305100917816, 0.026042623445391655, -0.004656080622226, -0.0026626025792211294, 0.021863503381609917, 0.005106403026729822, -0.018448181450366974, -0.028249399736523628, 0.05515117943286896, 0.0003650359285529703, 0.0061933733522892, -0.05262412503361702, 0.015348561108112335, 0.0325261615216732, 0.016915161162614822, -0.030721476301550865, -0.019265439361333847, 0.0011615921976044774, 0.030480865389108658, 0.03228283300995827, 0.005506499204784632, -0.04312875121831894, -0.0107200862839818, -0.19725339114665985, -0.004094963427633047, 0.02973390929400921, 0.040835220366716385, -0.022088641300797462, 0.01945752650499344, 0.07647360861301422, -0.004172780085355043, 0.03375977277755737, 0.014293788932263851, 0.05656429007649422, 0.04428089037537575, 0.04346654564142227, -0.0392022430896759, -0.06916383653879166, -0.0054610674269497395, 0.005983932409435511, 0.008159516379237175, -0.0149937579408288, -0.031081201508641243, 0.007010369095951319, -0.04194194823503494, -0.05373050272464752, -0.030154181644320488, -0.014813858084380627, -0.007105126511305571, 0.03888313099741936, 0.023448694497346878, 0.06217402219772339, 0.014761118218302727, 0.014675150625407696, 0.02289162203669548, -0.03960611671209335, -0.1495416760444641, 0.04147312045097351, 0.030446460470557213, 0.05690586194396019, -0.073295958340168, 0.0005409377627074718, -0.04735328257083893, 0.12276741117238998, -0.007050679996609688, -0.014924409799277782, -0.025161614641547203, 0.050330910831689835, 0.030315717682242393, 0.027771638706326485, -0.002513178391382098, 0.013654708862304688, 0.028133610263466835, -0.03769386559724808, -0.034022100269794464, -0.0032367026433348656, -0.02778000384569168, 0.0022485866211354733, -0.03459896147251129, 0.001530366949737072, 0.004660794977098703, 0.041092902421951294, 0.05100226774811745, 0.024228733032941818, 0.061125434935092926, -0.009053995832800865, 0.02125011570751667, 0.010346543043851852, -0.08420468866825104, -0.03924579173326492, -0.007751958444714546, 0.007535410113632679, -0.05460992828011513, 0.43985071778297424, -0.010281800292432308, -0.03045298345386982, 0.0660303607583046, 0.04193037375807762, -0.004279069136828184, -0.0007289935019798577, 0.007782770786434412, -0.036211047321558, 0.021826153621077538, -0.011868185363709927, 0.026775429025292397, 0.026182210072875023, 0.041735339909791946, -0.0611795075237751, 0.005391867831349373, 0.05394838750362396, -0.017271919175982475, 0.031245796009898186, -0.0061339326202869415, -0.016434039920568466, -0.0184354018419981, 0.027488140389323235, 0.021034762263298035, 0.0059719933196902275, -0.04317682236433029, -0.0019577101338654757, 0.048219989985227585, 0.04748942703008652, 0.027112020179629326, -0.02237929031252861, 0.04518765211105347, -0.062000617384910583, -0.09440144896507263, 0.009655009023845196, -0.00867098942399025, 0.003601181088015437, 0.04271022975444794, -0.0231165811419487, -0.010831537656486034, 0.04260473698377609, 0.019625607877969742, 0.0031941544730216265, 0.010891362093389034, -0.03682537004351616, -0.05778650566935539, 0.14225463569164276, 0.031371232122182846, -0.023547522723674774, -0.016886282712221146, -0.05324644595384598, -0.015813831239938736, 0.026132915169000626, 0.015617981553077698, -0.0392414815723896, 0.04619340971112251, -0.0029541603289544582, 0.09104321151971817, -0.0025539142079651356, -0.08611171692609787, 0.006885935086756945, -0.0017369788838550448, -0.016559522598981857, -0.05539068579673767, 0.029070621356368065, 0.08309228718280792, -0.10190774500370026, -0.0022637133952230215, -0.01499918382614851, 0.027147594839334488, -0.05702744796872139, -0.031147068366408348, 0.010245218873023987, -0.007416798733174801, -0.01422816514968872, 0.07096505910158157, -0.026765141636133194, -0.058943185955286026, 0.003701677080243826, 0.0619974359869957, 0.018914485350251198, 0.024049250409007072, 0.03923984244465828, -0.01679486408829689, -0.0007793508120812476, -0.04338772967457771, -0.0886433869600296, -0.03894985839724541, -0.015934498980641365, -0.017305782064795494, -0.007452238816767931, -0.002360359765589237, -0.008755081333220005, -0.04038569703698158, 0.11261490732431412, -0.02600752003490925, -0.04308949410915375, 0.01139575894922018, 0.009245816618204117, -0.052507270127534866, -0.02879643440246582, -0.09791113436222076, 0.04097703471779823, -0.027727961540222168, 0.0038382119964808226, -0.06140794977545738, 0.046437375247478485, 0.03346842899918556, -0.056405335664749146, 0.07400453090667725, 0.05814104154706001, -0.041628334671258926, -0.02926469035446644, 0.025273459032177925, 0.04117793217301369, -0.004531698767095804, 0.014381686225533485, -0.010870723985135555, 0.026127178221940994, -0.007241398096084595, 0.027584228664636612, -0.030461514368653297, 0.02656378038227558, 0.01232065912336111, -0.364042729139328, -0.038915883749723434, -0.022513438016176224, -0.010174180381000042, 0.007917419075965881, -0.037427254021167755, -0.0025986176915466785, -0.023322729393839836, -0.05350726097822189, -0.015148663893342018, 0.08128996938467026, -0.04307486489415169, -0.008825975470244884, -0.08040941506624222, 0.015251968055963516, -0.007908095605671406, -0.06829535961151123, -0.044357478618621826, -0.01995525322854519, 0.0033373236656188965, 0.03094537742435932, 0.005659087561070919, -0.020936276763677597, -0.06237344443798065, -0.01401163823902607, -0.033780667930841446, 0.08688415586948395, -0.007887286134064198, 0.06651037931442261, -0.028337186202406883, 0.017489973455667496, 0.017225705087184906, 0.008707565255463123, -0.08254306763410568, 0.017503732815384865, -0.014448992908000946, 0.012297939509153366, -0.02282026782631874, -0.004771931562572718, -0.037760891020298004, -0.035010926425457, 0.03554312884807587, -0.061108723282814026, -0.016887469217181206, -0.06980988383293152, 0.010080640204250813, -0.026464613154530525, -0.01756022498011589, -0.0031714860815554857, 0.07570650428533554, -0.002794124884530902, 0.016458405181765556, 0.014968215487897396, 0.00006418606062652543, -0.0037410755176097155, -0.023698072880506516, -0.0777786523103714, 0.04111050069332123, 0.01885688304901123, -0.022610902786254883, 0.026068810373544693, 0.07489769160747528, 0.04649752750992775, -0.03555428236722946, 0.015536078251898289, 0.0048759873025119305, 0.007646496873348951, -0.0067093949764966965, 0.03541475534439087, -0.025668160989880562, 0.019497962668538094, 0.08694852143526077, 0.019465813413262367, -0.058665674179792404, 0.025663843378424644, 0.020194217562675476, -0.02209177054464817, 0.00035436273901723325, 0.020154882222414017, -0.029779579490423203, -0.004713754169642925, -0.02343175932765007, 0.008126434870064259, -0.020740807056427002, -0.0077584837563335896, 0.026490235701203346, -0.0011172036174684763, -0.05578690767288208, 0.042055826634168625, 0.027481559664011, -0.01604454219341278, -0.006487276405096054, -0.025815512984991074, -0.026502789929509163, 0.08432955294847488, 0.0009502007742412388, -0.2305552363395691, 0.008677844889461994, 0.06825252622365952, 0.02690470963716507, -0.006207356695085764, 0.04792584106326103, 0.00804456789046526, -0.031010393053293228, 0.02646932750940323, 0.017590375617146492, 0.023173075169324875, -0.0017769907135516405, 0.0042108092457056046, -0.025244323536753654, 0.03649601712822914, 0.001401380868628621, 0.06574255973100662, -0.012300307862460613, 0.06385882198810577, -0.02173246443271637, 0.03024543635547161, 0.017943648621439934, 0.15617258846759796, 0.0014340656343847513, 0.005643971264362335, -0.0013187157455831766, -0.0067957122810184956, -0.0014594802632927895, 0.0649314597249031, 0.004219080321490765, 0.015428205020725727, -0.018444739282131195, 0.039928507059812546, 0.04038543999195099, 0.014076589606702328, -0.05853091925382614, -0.015712831169366837, 0.01964736357331276, 0.01736939325928688, 0.014523284509778023, 0.022674906998872757, -0.005854413378983736, -0.012974957935512066, 0.014320326037704945, 0.0758102536201477, 0.006570566911250353, -0.008595784194767475, -0.032934125512838364, -0.0685206949710846, -0.007844212464988232, -0.03943784907460213, -0.04848286509513855, 0.011399748735129833, -0.0013111578300595284, 0.012568368576467037, 0.07009231299161911, 0.024239549413323402, -0.016152674332261086, 0.027310864999890327, -0.007056597154587507, -0.01715117134153843, -0.000332155468640849, 0.08927023410797119, 0.014834236353635788, 0.03404533118009567 ]
[ 0.003995340317487717, -0.008805072866380215, 0.0042646341025829315, 0.05091819912195206, -0.0063475351780653, 0.034390583634376526, -0.015567158348858356, 0.01729210652410984, 0.03152909129858017, -0.009078605100512505, -0.019351867958903313, 0.015886034816503525, -0.004252246581017971, -0.00573604553937912, 0.013742404989898205, -0.0046196128241717815, 0.008107217028737068, -0.00261782668530941, 0.0370497852563858, 0.016979509964585304, 0.0037055250722914934, 0.014907220378518105, -0.014210756868124008, 0.010770208202302456, -0.03849523514509201, -0.025584431365132332, -0.036718450486660004, -0.011682974174618721, 0.014368764124810696, -0.1316949725151062, -0.05151795968413353, 0.007578696124255657, 0.011041457764804363, 0.02653316967189312, 0.02761237323284149, -0.028195321559906006, 0.014988590963184834, 0.016170695424079895, 0.00295031676068902, -0.009214798919856548, -0.0270302165299654, -0.005281734745949507, 0.001979078631848097, -0.0036200257018208504, 0.028802964836359024, 0.0011576279066503048, -0.02795935422182083, 0.0000268210224021459, -0.05184295028448105, 0.02684163860976696, -0.0427258126437664, 0.027907587587833405, -0.006267966236919165, -0.03171567618846893, 0.026962216943502426, 0.009960081428289413, 0.03615865483880043, -0.007147001102566719, 0.04974207282066345, -0.05040168762207031, 0.017467355355620384, 0.003687385469675064, -0.05914952978491783, -0.02585541643202305, -0.021263230592012405, -0.031497105956077576, -0.011210771277546883, 0.01288527064025402, -0.020329177379608154, -0.0052903881296515465, 0.03152365982532501, 0.01556028425693512, -0.012662988156080246, -0.05093147233128548, 0.0060189347714185715, 0.015235432423651218, 0.0053135547786951065, -0.04015367478132248, 0.004979556426405907, 0.006331880111247301, -0.025662187486886978, 0.02767827734351158, -0.00632562255486846, -0.006563692353665829, -0.02056877128779888, -0.016456009820103645, 0.010145858861505985, -0.0004017411556560546, 0.03208537399768829, -0.005786223337054253, -0.006467269733548164, -0.0168094951659441, -0.023279337212443352, 0.02198975533246994, -0.08128006011247635, -0.020901259034872055, -0.032839708030223846, -0.029788974672555923, -0.016872236505150795, 0.8349725604057312, -0.01747308485209942, 0.0013140846276655793, 0.04340711236000061, 0.017545415088534355, 0.025694454088807106, -0.004231881815940142, 0.02379569038748741, -0.0029071886092424393, 0.011509742587804794, -0.02048373967409134, 0.03566823899745941, 0.01724107563495636, 0.009622150100767612, 0.038212526589632034, 0.05566985905170441, 0.014139415696263313, -0.011930987238883972, -0.023624837398529053, -0.023676306009292603, 0.02471514604985714, 0.07013092935085297, 0.016362149268388748, 0.01457508746534586, 0.018999071791768074, 0.014420079067349434, -0.15085166692733765, 0.02133004181087017, -8.493874590544208e-33, 0.04141836613416672, 0.0089924531057477, -0.005506365559995174, -0.0000538904860150069, 0.00525087071582675, 0.02156878262758255, -0.0016371079254895449, 0.02526887319982052, 0.014835311099886894, -0.01078861765563488, -0.013918747194111347, -0.014555121771991253, -0.012575482949614525, -0.0339493602514267, 0.04324024170637131, -0.0072484626434743404, -0.023488428443670273, 0.03418043628334999, 0.023235393688082695, 0.05385401472449303, 0.06927554309368134, -0.00450403755530715, -0.004511535633355379, -0.0112443957477808, -0.0018335573840886354, 0.021328644827008247, 0.0343700610101223, -0.0003397150430828333, -0.006917931139469147, -0.04167095199227333, 0.005113767459988594, 0.0018585961079224944, 0.02626538649201393, -0.010077367536723614, -0.002309467876330018, -0.052655983716249466, -0.033569466322660446, 0.005051440093666315, 0.007970137521624565, -0.010209106840193272, -0.03762214630842209, -0.0042161219753324986, -0.05788634717464447, -0.03513471409678459, 0.01715879514813423, 0.010689966380596161, 0.03746108338236809, 0.01508850697427988, -0.02680993266403675, -0.03227491304278374, 0.007303277961909771, 0.0035259374417364597, 0.018542151898145676, -0.004218829795718193, 0.021968234330415726, -0.0254902895539999, -0.0014002856332808733, -0.023787785321474075, 0.027734477072954178, -0.004167059436440468, 0.0375404879450798, -0.016365516930818558, -0.029765848070383072, 0.003941376693546772, -0.03525638207793236, 0.0294800978153944, 0.029797816649079323, 0.0035191604401916265, 0.010726400651037693, -0.011352496221661568, -0.05409166216850281, -0.04917449876666069, 0.012402389198541641, 0.0071080648340284824, -0.00796915777027607, -0.0022147216368466616, -0.011120280250906944, 0.0639280378818512, -0.012795157730579376, 0.05676357448101044, -0.01063956506550312, 0.002118143253028393, -0.046274930238723755, -0.02665981650352478, 0.0037658174987882376, 0.01739024929702282, 0.04761170968413353, -0.0156064098700881, -0.029985832050442696, -0.033267561346292496, 0.027365747839212418, 0.013348444364964962, -0.004467186983674765, -0.014672855846583843, 0.021043090149760246, 8.73759277303607e-33, -0.024756914004683495, -0.008371666073799133, -0.01491253636777401, 0.0005951141356490552, 0.026071738451719284, -0.05720246955752373, -0.00856404285877943, -0.005826794076710939, -0.036233361810445786, 0.008961819112300873, -0.04004037752747536, -0.03843948617577553, -0.05940547585487366, 0.024622878059744835, 0.028215738013386726, 0.0060643395408988, 0.05414125695824623, -0.022625163197517395, 0.004635453224182129, 0.020735865458846092, 0.023784348741173744, 0.0029996377415955067, -0.011324267834424973, 0.020215310156345367, 0.05718407779932022, 0.047674018889665604, -0.01194316428154707, -0.0044693960808217525, 0.015130856074392796, -0.04500624164938927, 0.004497054498642683, -0.023219870403409004, 0.032824963331222534, -0.0007864990038797259, -0.026123646646738052, 0.013095988892018795, -0.013058769516646862, -0.011312886141240597, 0.010486475192010403, -0.02271941676735878, 0.033398572355508804, -0.0030178911983966827, 0.004416797310113907, 0.020663585513830185, 0.004879799671471119, 0.03634835034608841, 0.04257898032665253, -0.0344264842569828, 0.002443882403895259, -0.029622159898281097, -0.007470548152923584, -0.01172434352338314, 0.012119907885789871, 0.01103170681744814, -0.011704837903380394, 0.0030455514788627625, -0.014084660448133945, -0.016465773805975914, 0.0099750692024827, 0.012705495581030846, 0.01182461716234684, 0.029362330213189125, -0.0064262691885232925, 0.002292398829013109, -0.02151239477097988, 0.003559060860425234, 0.03607671707868576, -0.010631674900650978, -0.05516893044114113, -0.012183203361928463, -0.02180631086230278, 0.03519454970955849, 0.009347486309707165, 0.0753864049911499, -0.0037671669851988554, -0.001276869443245232, -0.04841625690460205, -0.033562637865543365, -0.030699344351887703, -0.020733406767249107, -0.011948826722800732, -0.013304035179316998, -0.006301351822912693, 0.013234743848443031, 0.0013393288245424628, 0.043166384100914, -0.029509510844945908, 0.02519078180193901, 0.008707317523658276, -0.008867655880749226, -0.05115066096186638, -0.02996419183909893, 0.035925496369600296, 0.02052230015397072, -0.031196391209959984, -1.4125232539186072e-8, -0.03535161539912224, 0.009922856464982033, -0.027097174897789955, -0.00001985935705306474, 0.0029455646872520447, 0.0000175265140569536, -0.016039224341511726, 0.012718591839075089, -0.008147075772285461, 0.0018618773901835084, 0.0285504050552845, -0.02376539073884487, -0.031676650047302246, 0.027737054973840714, 0.019054951146245003, -0.06252666562795639, 0.010025606490671635, -0.012653965502977371, 0.03385796770453453, 0.017814336344599724, 0.0624069944024086, 0.0652092844247818, -0.007737927138805389, -0.010601021349430084, 0.006122964899986982, -0.01753624714910984, -0.005084679927676916, -0.0856926441192627, 0.02866213023662567, -0.011493388563394547, 0.025069735944271088, -0.020319007337093353, 0.0077112284488976, 0.04045584052801132, -0.0037311220075935125, -0.0236106775701046, 0.026745470240712166, 0.04483488202095032, 0.0004229072364978492, -0.00966513343155384, 0.00379773648455739, -0.013698703609406948, 0.013520963490009308, -0.0319691076874733, -0.016871558502316475, -0.014289573766291142, -0.040800150483846664, -0.04242132231593132, 0.02745053917169571, -0.04188608378171921, -0.0023781040217727423, -0.01558492798358202, 0.027618538588285446, 0.04451179504394531, 0.01042583305388689, 0.01075710728764534, 0.011164713650941849, -0.02257377654314041, -0.030364979058504105, -0.005824340973049402, 0.016220131888985634, -0.00545081589370966, -0.004639505874365568, -0.010429438203573227 ]
requirements-the-story-points-focus
https://markhneedham.com/blog/2009/11/23/requirements-the-story-points-focus
false
2009-11-15 21:06:42
A reminder to talk to the rubber duck
[ "software-development" ]
[ "Software Development" ]
Alongside http://www.markhneedham.com/blog/2009/05/26/the-value-of-a-fresh-mind/[taking a break from it] perhaps one of the most effective ways to solve a tricky problem is to describe it to someone else. == When pairing This typically isn't a problem when pair programming although it can still happen if a pair stays together too long and both start making the same possibly incorrect assumptions when trying to solve a problem. In this case it makes sense to call someone else over who can lend a fresh perspective to the problem. At this stage all three people can work through the problem together and then the third person can go back to whatever they were doing before or this can be the catalyst for a pair rotation whereby one of the original two will drop from the pair. == When working alone When working alone I get into the situation where something 'should' be working but isn't much more frequently. I find it really frustrating when this happens so I probably call a colleague over to look through the problem more frequently than most. Frequently just describing the problem to them so that they can help is enough to realise where the problem lies. I've been working with http://twitter.com/raphscallion[Raph] recently and last week on a couple of occasions I found myself imagining a conversation with Raph about a problem I was having and I found that just doing that was enough for me to see where I'd gone wrong. Luciano Passuello refers to this to as http://litemind.com/solve-your-problems-simply-by-saying-them-out-loud/[talking to the rubber duck] and he describes a way that we can apply this technique silently as well: ____ There are situations when you can't make noises or simply can't afford the social awkwardness of it ("`excuse me while I talk to my duck...`"). Fear not: do your rubber ducking in writing instead -- sure, you won't have the benefits of verbalization, but the technique still works fine. One way to do it that works particularly well is to write an e-mail message explaining your problem. Pretend you're going to send it to the smartest (and busiest) person in the world. Describe the problem in detail, the solutions you tried so far and why they didn't work. List your assumptions and make sure you include all relevant information. Be both thorough and objective. When you are done writing the message, you'll probably have had many ideas to try out. If not, find a specialized forum and just send it as it is: with your perfectly-crafted message, I'm sure the Internet gods will help you. ____ I actually hadn't come across this blog post when I accidentally came across this idea while writing an email describing why something I'd been working on wasn't quite working. As I described the main part of the problem it became obvious from reading it back to myself that I'd missed out a small but important detail. I was then able to go back to the code and fix the problem!
null
null
[ 0.019845588132739067, 0.019258717074990273, -0.0017415056936442852, 0.04066234454512596, 0.08347398042678833, 0.036099351942539215, 0.03430661931633949, 0.03278451785445213, 0.007259645499289036, -0.03587564826011658, -0.029299793764948845, -0.0008652284159325063, -0.0664624348282814, 0.0024312010500580072, -0.05415815860033035, 0.07930896431207657, 0.07208986580371857, -0.0010110643925145268, 0.0033113330136984587, -0.0002484261931385845, 0.045980729162693024, 0.06470442563295364, 0.022899309173226357, 0.02824883908033371, 0.048936877399683, -0.001027804333716631, -0.004797852132469416, 0.005898688454180956, -0.041511598974466324, -0.01739170402288437, 0.05224968492984772, 0.0135127492249012, 0.012770120054483414, -0.018180230632424355, 0.03280339017510414, -0.00429961271584034, -0.010171824134886265, 0.025134989991784096, 0.007123800925910473, 0.015845686197280884, -0.07287004590034485, 0.036283668130636215, -0.0366266667842865, -0.011384460143744946, -0.04216901957988739, -0.011950747109949589, -0.036552589386701584, 0.0205004271119833, 0.018876662477850914, 0.0041241575963795185, -0.0795573815703392, 0.04811308905482292, 0.018082093447446823, 0.010807783342897892, -0.021314799785614014, 0.043389640748500824, 0.00571101950481534, -0.0691211074590683, 0.024266399443149567, -0.03817135468125343, -0.011990404687821865, -0.007987039163708687, -0.0036969429347664118, 0.025921281427145004, 0.016292860731482506, -0.027858231216669083, 0.025241533294320107, 0.03437132015824318, -0.037778619676828384, 0.0162764061242342, -0.021054422482848167, -0.0005669660749845207, -0.030575716868042946, -0.030564801767468452, 0.00952059030532837, -0.04644240438938141, 0.01992505043745041, 0.0640387237071991, 0.022472254931926727, 0.04651537910103798, -0.024574996903538704, 0.01712411269545555, -0.011987149715423584, 0.01607290841639042, -0.006848406512290239, -0.04390802979469299, 0.009246068075299263, -0.011288844048976898, -0.08505341410636902, 0.045684412121772766, 0.020943861454725266, -0.06464198976755142, 0.0057083191350102425, 0.03595161437988281, -0.027624402195215225, 0.024627862498164177, 0.04091275855898857, -0.02153877727687359, -0.006096366792917252, -0.012074843049049377, -0.018414143472909927, -0.030412234365940094, 0.013210625387728214, 0.02628856897354126, -0.09892059862613678, -0.0004953439347445965, 0.0032281482126563787, -0.02439873479306698, -0.014376232400536537, 0.0055043380707502365, -0.02689691074192524, 0.027735916897654533, -0.005739646963775158, 0.005112261977046728, -0.08948736637830734, 0.0727752149105072, 0.022709140554070473, -0.019110314548015594, -0.021431533619761467, 0.022979700937867165, 0.02414206601679325, 0.015339314006268978, -0.013004332780838013, 0.08130759000778198, 0.018679097294807434, 0.004146801307797432, -0.026956411078572273, 0.06344808638095856, -0.026029590517282486, -0.05030975490808487, -0.02125408500432968, 0.05244649574160576, -0.004246850963681936, -0.008080302737653255, 0.017273830249905586, -0.033409666270017624, 0.014951426535844803, 0.007643441203981638, 0.01970328576862812, 0.06928069144487381, -0.024057231843471527, -0.020691227167844772, 0.02197084203362465, 0.023399265483021736, 0.016958758234977722, -0.004181880969554186, -0.004964653868228197, -0.017685264348983765, -0.02886032499372959, -0.0001939558278536424, 0.008576920256018639, 0.013327013701200485, 0.03466067835688591, -0.04170205444097519, 0.015903541818261147, 0.06887641549110413, 0.034315068274736404, 0.020259199663996696, -0.011310162022709846, 0.016088314354419708, 0.024943387135863304, 0.018757976591587067, -0.010646440088748932, 0.032344188541173935, 0.017504140734672546, -0.021320924162864685, -0.013740090653300285, 0.03662551939487457, -0.02013772539794445, 0.025333331897854805, -0.05269218236207962, -0.03749726712703705, 0.06033303961157799, -0.05056252330541611, -0.018983278423547745, 0.05208568647503853, 0.07179859280586243, 0.029731081798672676, 0.04645092785358429, 0.024777524173259735, -0.08905413746833801, 0.04804281145334244, 0.004340148065239191, 0.022234173491597176, 0.03201751410961151, -0.020140834152698517, 0.05033422261476517, 0.02295701764523983, 0.00044794537825509906, 0.055703748017549515, -0.07833521068096161, -0.08393079042434692, -0.016145257279276848, -0.001417388441041112, 0.05942719802260399, -0.03894716128706932, 0.008811309933662415, 0.06222449615597725, 0.00414930609986186, 0.04096177965402603, 0.026658494025468826, -0.004858910106122494, 0.008093890734016895, -0.012665947899222374, -0.061263974756002426, 0.07779165357351303, 0.029381655156612396, -0.01128781121224165, -0.028426768258213997, 0.01933331787586212, -0.008916801773011684, -0.027674870565533638, 0.034669630229473114, -0.04407799243927002, 0.04739896208047867, -0.0018140061292797327, 0.03652912750840187, -0.028252214193344116, 0.02906334027647972, -0.027672704309225082, -0.008371462114155293, 0.0065086595714092255, -0.013351377099752426, 0.03454474359750748, -0.0014014047337695956, 0.11480449140071869, 0.06472815573215485, -0.043202515691518784, -0.05007593333721161, 0.03733072429895401, 0.02369634248316288, -0.04254206269979477, 0.002055422170087695, -0.005111149977892637, -0.0022031019907444715, 0.021036522462964058, -0.05371267721056938, -0.031497757881879807, 0.03680296987295151, -0.05223212018609047, -0.01728854328393936, 0.0635729730129242, -0.03189896419644356, 0.07018756121397018, -0.024018138647079468, 0.010487708263099194, -0.01046021655201912, -0.007402677088975906, -0.03707820922136307, 0.00956757552921772, 0.009226986207067966, -0.009236210025846958, 0.04521382600069046, -0.0185707900673151, 0.00022508199617732316, -0.05355878546833992, -0.02484740875661373, 0.02909930981695652, 0.06697117537260056, 0.05814835801720619, -0.02281036786735058, 0.0718451514840126, -0.013053427450358868, 0.01624886877834797, -0.02242974564433098, -0.04455312713980675, -0.0262051522731781, -0.018638938665390015, 0.0012755881762132049, 0.011404359713196754, 0.012865190394222736, 0.008467067033052444, 0.003007328836247325, 0.02357732318341732, 0.008123417384922504, -0.004256479442119598, 0.01576710306107998, 0.0017757798777893186, 0.0028876252472400665, -0.029339756816625595, -0.0063348631374537945, 0.0554448626935482, -0.03848783299326897, -0.020174993202090263, 0.024611277505755424, -0.07811883091926575, 0.03457029536366463, -0.05408865585923195, -0.05340033769607544, -0.009493991732597351, 0.014803333207964897, 0.03697822988033295, 0.01894577220082283, 0.018338223919272423, 0.041207585483789444, -0.0012124476488679647, 0.013962078839540482, 0.010930117219686508, 0.005045424215495586, 0.0562082976102829, 0.023308739066123962, -0.009749955497682095, 0.030759206041693687, 0.006508797872811556, -0.02053092233836651, -0.056952688843011856, 0.047042667865753174, -0.029783004894852638, -0.29720214009284973, 0.02986810728907585, 0.013379492796957493, -0.022333169355988503, 0.012393116019666195, -0.032240185886621475, 0.02938736230134964, -0.05403349548578262, -0.02262803167104721, 0.026457404717803, -0.04301963746547699, -0.05628559738397598, -0.008648103103041649, 0.024488098919391632, -0.0018675241153687239, 0.0025702491402626038, 0.02133050188422203, -0.039760522544384, -0.002756270579993725, 0.04897695779800415, -0.008857998065650463, -0.04803772643208504, -0.02138832025229931, 0.05075141787528992, 0.04017704725265503, 0.06051904708147049, -0.07820290327072144, 0.033412057906389236, -0.06341197341680527, -0.01291175652295351, -0.011844592168927193, -0.0013214534847065806, 0.013215018436312675, -0.0037845091428607702, -0.008995702490210533, -0.016695303842425346, 0.0512051098048687, -0.017436949536204338, 0.011035759001970291, 0.046426378190517426, -0.024802086874842644, -0.039115216583013535, 0.009897415526211262, 0.020820485427975655, 0.07218093425035477, 0.02090940624475479, -0.06639523059129715, -0.018911803141236305, -0.03304159641265869, 0.07851620018482208, -0.039078716188669205, -0.03418741375207901, -0.006086967885494232, 0.014240797609090805, 0.005208030808717012, -0.011036955751478672, -0.016398468986153603, -0.022771798074245453, -0.015195743180811405, -0.03792620077729225, 0.0013910230481997132, -0.021025940775871277, -0.029224250465631485, -0.04409303516149521, 0.0027854249347001314, -0.06790425628423691, -0.06001919507980347, -0.010240484960377216, 0.08682434260845184, 0.02648320235311985, -0.03259826824069023, 0.024965669959783554, 0.007052270229905844, -0.1007738932967186, -0.0037997111212462187, 0.005359860602766275, -0.04117359220981598, -0.0033659336622804403, 0.019982067868113518, 0.05520335212349892, -0.029099421575665474, -0.0550098717212677, 0.02195407636463642, 0.01220344752073288, 0.032958049327135086, -0.0010674095246940851, 0.02597225084900856, 0.013897866010665894, -0.03184838220477104, 0.015288718044757843, 0.06645406037569046, 0.021364176645874977, -0.047944553196430206, -0.028409866616129875, 0.03170085325837135, 0.019881637766957283, 0.016071688383817673, -0.020341195166110992, 0.009914617985486984, 0.023167842999100685, -0.018830999732017517, -0.0514240525662899, 0.026197904720902443, -0.016697116196155548, -0.011452790349721909, -0.01667478308081627, -0.05478318780660629, 0.02126525528728962, 0.038019970059394836, 0.025330694392323494, -0.018856661394238472, -0.033243533223867416, 0.023460524156689644, -0.03708140179514885, -0.025593044236302376, -0.020894423127174377, 0.013027970679104328, 0.058066386729478836, -0.0028466512449085712, -0.023479534313082695, -0.042200054973363876, 0.013349935412406921, 0.0005040630931034684, -0.0002658116864040494, -0.08464571088552475, -0.005133674480021, -0.02033029869198799, -0.02540692128241062, 0.00036886142333969474, 0.027556493878364563, -0.020882301032543182, 0.019069086760282516, 0.03436682000756264, -0.03877617418766022, 0.024357520043849945, -0.03316067159175873, -0.07192434370517731, -0.019574766978621483, -0.01900232769548893, -0.0048729656264185905, 0.012172212824225426, 0.013554842211306095, 0.002583875088021159, 0.020396817475557327, 0.040085047483444214, 0.01461282093077898, -0.00013877842866349965, -0.0489656962454319, 0.02451159805059433, 0.02217111736536026, 0.024371670559048653, -0.06044415012001991, 0.02796594239771366, -0.034854479134082794, 0.0004460921336431056, -0.022234266623854637, 0.01980205625295639, -0.021699218079447746, -0.029259538277983665, 0.001367522869259119, 0.007051887921988964, -0.03576575964689255, -0.03522568196058273, -0.0374818854033947, 0.030658217146992683, 0.05962083861231804, -0.026906171813607216, 0.0010225223377346992, -0.012244828045368195, -0.006344969850033522, 0.015006667003035545, 0.002720336662605405, -0.048887405544519424, 0.014041764661669731, 0.010694535449147224, 0.007669962476938963, -0.002746673533692956, -0.0020507951267063618, 0.04711068421602249, 0.004806029610335827, 0.003339857794344425, -0.033192217350006104, 0.013784181326627731, 0.008884735405445099, 0.05515202879905701, 0.0002903686254285276, 0.013323512859642506, -0.01816779188811779, -0.015954559668898582, -0.016354616731405258, -0.04586773365736008, -0.014286012388765812, -0.003387010656297207, 0.0334661528468132, -0.049602847546339035, -0.07416905462741852, 0.035473987460136414, 0.020713303238153458, -0.009077109396457672, 0.03295744210481644, -0.008394872769713402, 0.0057009682059288025, -0.023509379476308823, 0.03150443360209465, 0.07209283858537674, -0.09008423238992691, 0.014384728856384754, -0.004412924405187368, 0.0010279627749696374, 0.01603013463318348, -0.009283812716603279, -0.02249240130186081, -0.02306291088461876, -0.0421409085392952, 0.02116139978170395, -0.07810074836015701, -0.02713153138756752, -0.02731337957084179, 0.018126655369997025, 0.010159177705645561, 0.00949174165725708, -0.03675822541117668, -0.010697104968130589, -0.0133998803794384, -0.03346158191561699, 0.0040718503296375275, -0.05235644057393074, 0.016762297600507736, 0.02167545258998871, -0.02948887273669243, -0.004817422013729811, -0.014471640810370445, 0.04102557897567749, 0.025958731770515442, -0.03711457923054695, -0.02000177465379238, -0.02276311255991459, -0.0025473206769675016, 0.0018659764900803566, 0.03888512775301933, -0.0000589219962421339, -0.04534575715661049, -0.04797244444489479, -0.016180986538529396, -0.029246026650071144, 0.020817795768380165, -0.014997233636677265, -0.016153894364833832, 0.03182165324687958, 0.05489720031619072, 0.02678482048213482, 0.00800514779984951, -0.02707390859723091, -0.017415178939700127, 0.028123244643211365, -0.03457803651690483, -0.04225636273622513, -0.019144903868436813, -0.040364451706409454, 0.006077284924685955, -0.0019390281522646546, 0.03382392227649689, -0.05664060637354851, 0.024027451872825623, 0.02043696865439415, 0.0241949874907732, 0.043184664100408554, 0.01345741469413042, 0.03983750194311142, -0.05265672132372856, -0.000574162695556879, -0.09015434980392456, -0.00848308950662613, 0.013279334641993046, -0.008685607463121414, 0.00006634862802457064, 0.004751996602863073, -0.026550550013780594, 0.041864488273859024, -0.07297757267951965, -0.0005316418828442693, 0.03619670867919922, -0.00814334861934185, -0.016299903392791748, 0.03300920128822327, -0.06752622127532959, 0.01542404294013977, 0.014879684895277023, -0.03890906646847725, -0.031199302524328232, -0.014327917248010635, 0.05857587605714798, 0.01197574008256197, 0.04334433376789093, -0.01939486525952816, -0.00513484375551343, 0.06665554642677307, 0.030686747282743454, 0.01348893716931343, 0.04210234805941582, -0.017534786835312843, 0.024116074666380882, 0.028725670650601387, 0.008832779712975025, -0.003846137085929513, 0.022796185687184334, -0.01790417730808258, -0.08342468738555908, 0.02918955683708191, -0.01259541418403387, -0.020839717239141464, -0.036257654428482056, 0.04988912492990494, 0.02070692367851734, -0.01729286089539528, -0.03276611119508743, 0.013853107579052448, -0.05558047816157341, -0.0021217591129243374, -0.007369247730821371, -0.011642011813819408, -0.054591260850429535, 0.042450468987226486, -0.010894284583628178, 0.0059134443290531635, 0.06190570071339607, 0.004302328918129206, -0.030309317633509636, 0.0016804772894829512, 0.09961606562137604, 0.07357487082481384, 0.06012936308979988, 0.017229733988642693, 0.06688732653856277, -0.0075851320289075375, -0.04542078822851181, 0.018213516101241112, -0.0018996434519067407, -0.03605883568525314, -0.031219718977808952, 0.030016371980309486, 0.05975997447967529, -0.011919707991182804, 0.0714833065867424, -0.00839745532721281, -0.031755778938531876, 0.00554685527458787, 0.03538075089454651, 0.009477563202381134, 0.0624106302857399, 0.010939155705273151, 0.02107595093548298, -0.01594681106507778, -0.06741679459810257, 0.03611844778060913, -0.03300214931368828, -0.012329057790338993, 0.023980317637324333, -0.01679087243974209, 0.03434624895453453, 0.03405449911952019, 0.029157543554902077, 0.09080836921930313, -0.04943038523197174, 0.004360314924269915, -0.000221630310988985, 0.03273285925388336, -0.00859114620834589, 0.012398346327245235, -0.012948521412909031, -0.02306697517633438, -0.000788478646427393, -0.018718382343649864, -0.02266073226928711, -0.02862357906997204, -0.021051496267318726, 0.034254543483257294, -0.015262220986187458, -0.007434756029397249, 0.022301672026515007, -0.009544912725687027, -0.02339766174554825, -0.06618960201740265, -0.03462820500135422, -0.04588531330227852, -0.04171371832489967, -0.03538607060909271, 0.006226645316928625, -0.008032483048737049, -0.04477180168032646, 0.003978381864726543, -0.023511817678809166, -0.04558920860290527, 0.038197703659534454, -0.044331613928079605, -0.024715187028050423, 0.01472813356667757, 0.03514184430241585, 0.013777823187410831, -0.005339324939996004, 0.04661338031291962, 0.005620651878416538, -0.0034835883416235447, -0.01656862534582615, 0.00286833755671978, 0.0152736259624362, 0.005426099989563227, -0.011768712662160397, -0.08562998473644257, 0.015584231354296207, 0.015142979100346565, -0.016421347856521606, -0.07057970017194748, 0.015111557208001614, 0.01941809244453907, 0.020697427913546562, 0.0518643744289875, -0.013705209828913212, 0.002186994766816497, -0.054197728633880615, 0.005131363403052092, -0.003188294591382146, 0.01077873446047306, 0.05157484486699104, -0.028145471587777138, 0.07294347882270813, 0.011014416813850403, -0.012956907041370869, -0.04420848935842514, -0.01567491516470909, 0.01776663027703762, 0.0148322070017457, -0.021176014095544815, -0.03870684280991554, -0.015399684198200703, -0.09324674308300018, -0.04362441226840019, 0.024596579372882843, -0.03908707946538925, -0.03228733688592911, 0.047207485884428024, 0.006986693479120731, -0.008471205830574036, 0.03613372519612312, -0.06790904700756073, 0.017203055322170258, -0.020681243389844894, 0.007869275286793709, 0.0005248956149443984, 0.014701604843139648, -0.0036001941189169884, -0.013549691066145897, 0.01849433407187462, -0.04471919685602188, 0.00831850990653038, 0.000998278963379562, 0.04437701031565666, 0.03766168653964996, -0.0063665988855063915, -0.014268062077462673 ]
[ -0.07295654714107513, -0.005832694470882416, -0.02389306202530861, -0.013085747137665749, -0.023759858682751656, -0.04051591828465462, 0.027702759951353073, 0.014079982414841652, -0.003846969921141863, -0.05769126117229462, 0.0014521186240017414, -0.024193644523620605, 0.04918589070439339, -0.01279032789170742, 0.09397945553064346, 0.027828415855765343, -0.01341958437114954, -0.045859966427087784, -0.0035504205152392387, 0.01996896229684353, -0.019572170451283455, -0.045842625200748444, -0.06045712158083916, -0.006481528747826815, 0.015763692557811737, 0.018120773136615753, 0.032273031771183014, -0.040526214987039566, 0.04010970890522003, -0.1665223389863968, 0.008720384910702705, 0.04152759164571762, 0.018640924245119095, -0.009752631187438965, 0.0003297408693470061, 0.07658682018518448, 0.02028314210474491, 0.02001742459833622, 0.005365315359085798, 0.011128062382340431, 0.01304856687784195, 0.014651713892817497, -0.0289944875985384, -0.058903537690639496, 0.018131783232092857, 0.02794875204563141, 0.010539964772760868, -0.037495482712984085, 0.0033292220905423164, -0.012431105598807335, -0.055898286402225494, -0.03301545977592468, -0.03349871560931206, -0.023275071755051613, -0.014789351262152195, 0.06097766011953354, 0.06373815983533859, 0.05599202960729599, -0.027831552550196648, 0.012789716944098473, 0.018579285591840744, -0.01418620627373457, -0.11544831097126007, 0.08835653215646744, 0.0700385794043541, 0.028625987470149994, -0.03068036213517189, 0.0037268896121531725, -0.01894187368452549, 0.12812839448451996, 0.03015647456049919, -0.023899134248495102, -0.011750061996281147, 0.05061187967658043, 0.035127703100442886, 0.01232829038053751, -0.020707078278064728, 0.019155792891979218, 0.021067805588245392, -0.010651106014847755, -0.03548759967088699, 0.0014496768126264215, -0.023919573053717613, -0.008670599199831486, -0.05267443135380745, 0.02249421738088131, 0.01096450537443161, 0.006886614020913839, 0.007000079844146967, 0.01415923610329628, 0.015977125614881516, 0.022990839555859566, 0.03846387192606926, -0.013806422241032124, -0.05653073638677597, -0.006111448630690575, 0.0114663764834404, 0.017965108156204224, -0.0703810602426529, 0.4533827304840088, -0.038094352930784225, 0.002398536540567875, 0.08372737467288971, -0.012666490860283375, -0.024314451962709427, -0.009692490100860596, -0.017757201567292213, -0.066256582736969, 0.009158116765320301, -0.00383585412055254, 0.012952367775142193, 0.0010357015999034047, 0.055493127554655075, -0.022784633561968803, 0.018021337687969208, 0.04390925541520119, 0.04655222222208977, 0.005254368297755718, 0.012630135752260685, -0.02075122483074665, -0.012656264007091522, 0.01402036752551794, 0.018328480422496796, 0.011433102190494537, -0.021648511290550232, -0.08541391044855118, 0.009094840846955776, 0.06546896696090698, 0.02281241863965988, -0.01895720325410366, 0.0890933945775032, -0.05016015097498894, -0.025522496551275253, 0.013619628734886646, -0.004905778914690018, -0.0018444560701027513, 0.021503739058971405, -0.005652489140629768, 0.017932798713445663, 0.053103283047676086, 0.05352439731359482, -0.06189028173685074, 0.006558424327522516, -0.005151440855115652, -0.00792125053703785, 0.13248653709888458, -0.007091472391039133, -0.044602975249290466, -0.0075204744935035706, -0.024080943316221237, -0.002980017103254795, 0.014219367876648903, -0.0016615452477708459, -0.06276839226484299, 0.04901273176074028, -0.00960514321923256, 0.10167627781629562, -0.021332379430532455, -0.05232476815581322, 0.04139413684606552, -0.012801514007151127, -0.026700424030423164, -0.08603151887655258, 0.004400550853461027, 0.08935409039258957, -0.09009034186601639, 0.0008704554056748748, -0.006266224198043346, 0.012177721597254276, -0.09498941898345947, 0.013334693387150764, -0.0025385513436049223, -0.02554858662188053, 0.012121226638555527, 0.014624495059251785, -0.024085381999611855, -0.03148781135678291, 0.008719862438738346, 0.029536770656704903, 0.03321434557437897, 0.005547626409679651, 0.0030229766853153706, -0.04871077090501785, -0.007524960674345493, -0.034727953374385834, -0.0731392353773117, -0.03142412006855011, 0.0012284412514418364, 0.007513243705034256, -0.009682191535830498, -0.0018149185925722122, -0.03948549926280975, -0.08031931519508362, 0.07711432129144669, -0.05157291889190674, -0.04341106116771698, 0.016008524224162102, -0.026863740757107735, -0.05708438530564308, 0.016002556309103966, -0.06510820984840393, 0.01569485478103161, -0.02032969333231449, 0.0000031021265840536216, -0.02998378686606884, 0.061817314475774765, 0.026843544095754623, -0.057926472276449203, 0.09983740001916885, 0.04765858128666878, -0.01087329164147377, -0.044571422040462494, 0.002138053299859166, 0.02964106760919094, -0.01846865378320217, 0.0018180310726165771, 0.003518336685374379, 0.025700079277157784, 0.0024003239814192057, 0.024239255115389824, -0.00015664244710933417, 0.0007679543923586607, -0.015041177161037922, -0.34935125708580017, -0.04965241625905037, -0.008653172291815281, -0.007782065309584141, 0.033295098692178726, -0.04858904331922531, 0.02068019099533558, -0.02455923892557621, -0.04832591861486435, 0.010572061873972416, 0.053945042192935944, -0.04254702106118202, 0.006502293515950441, -0.07826688140630722, 0.015338428318500519, 0.041938234120607376, -0.024208571761846542, 0.013590911403298378, -0.024820810183882713, 0.013517613522708416, -0.003975812345743179, 0.003042687429115176, -0.02545003592967987, -0.05589063838124275, 0.0027326939161866903, -0.032071810215711594, 0.10779181122779846, 0.010158096440136433, 0.060538336634635925, -0.013736939989030361, 0.023440206423401833, -0.0005940511473454535, 0.022444741800427437, -0.11938272416591644, 0.017108969390392303, -0.0005614517722278833, 0.008056365884840488, -0.0686412900686264, 0.03475065156817436, -0.04160319268703461, -0.06996966898441315, 0.004154647700488567, -0.047648608684539795, -0.020172806456685066, -0.09810110926628113, 0.005725144408643246, -0.028408458456397057, -0.024763379245996475, -0.0294785238802433, 0.06055811047554016, 0.02500523254275322, 0.018849719315767288, -0.00811639055609703, -0.024391476064920425, -0.02436155080795288, -0.025282807648181915, -0.0651502013206482, 0.0182808805257082, -0.005707345902919769, -0.04490148648619652, 0.01835007779300213, 0.05946892127394676, 0.0413939505815506, -0.039836641401052475, 0.001413967227563262, 0.00755471084266901, 0.014988583512604237, 0.0156694483011961, 0.03456801548600197, 0.042483218014240265, -0.011907252483069897, 0.10151741653680801, 0.00016605503333266824, 0.008317666128277779, 0.023988086730241776, 0.004882786422967911, -0.025485971942543983, 0.010556004010140896, -0.013829483650624752, -0.021755056455731392, 0.023074019700288773, -0.0654817596077919, 0.046806275844573975, -0.013416639529168606, -0.006433312781155109, 0.0036397024523466825, 0.002454389352351427, -0.040587253868579865, 0.09013457596302032, -0.002779550850391388, -0.016032850369811058, 0.009912238456308842, -0.012984898872673512, -0.03397718816995621, 0.08037491142749786, 0.008571331389248371, -0.25495582818984985, 0.013592096976935863, 0.023268496617674828, 0.048669591546058655, -0.031600043177604675, 0.06253602355718613, 0.009320355951786041, 0.0005152501980774105, -0.011711378581821918, -0.005472052376717329, 0.016624802723526955, 0.011909198947250843, -0.01246001198887825, 0.014797493815422058, 0.024764100089669228, -0.0035879164934158325, 0.04131675884127617, -0.010311659425497055, -0.001736783771775663, -0.008711004629731178, 0.016022924333810806, -0.0066778697073459625, 0.13841703534126282, 0.010237110778689384, 0.03658664971590042, -0.005864560138434172, 0.016545042395591736, 0.019824251532554626, 0.0652548223733902, -0.03145662322640419, -0.02052120678126812, 0.004331162199378014, 0.016408810392022133, 0.0023297963198274374, 0.04024229198694229, -0.07720793038606644, -0.04366159439086914, 0.020596157759428024, 0.06921073794364929, 0.014384577050805092, 0.01175795216113329, 0.0018346089636906981, 0.014206393621861935, 0.011304515413939953, 0.07453189790248871, 0.029167238622903824, 0.01712544821202755, -0.016360970214009285, -0.060946401208639145, 0.009086355566978455, -0.021828794851899147, -0.04307110980153084, 0.033462636172771454, 0.010974247939884663, 0.023920387029647827, 0.05077408254146576, 0.00951093528419733, -0.02082788199186325, 0.0040678102523088455, 0.006606647279113531, -0.025001974776387215, -0.010602779686450958, 0.09848786890506744, 0.035132624208927155, 0.03277894854545593 ]
[ -0.03060760907828808, 0.012102038599550724, 0.00043922875192947686, 0.0012932479148730636, -0.013326778076589108, 0.015241920948028564, -0.00905550830066204, -0.014055177569389343, 0.009721783921122551, -0.0183072742074728, -0.009832908399403095, 0.03882790729403496, 0.019883127883076668, -0.003302495926618576, 0.03026902861893177, -0.0345572903752327, -0.0175419133156538, -0.027948709204792976, 0.02905002422630787, 0.013195098377764225, -0.028340965509414673, 0.00032657847623340786, -0.017352208495140076, -0.02171708457171917, -0.019814569503068924, -0.008002877235412598, -0.003236055141314864, -0.06188572943210602, 0.022595198825001717, -0.13402335345745087, -0.047484852373600006, -0.011950766667723656, -0.009324513375759125, -0.007174693513661623, -0.02620447240769863, 0.0018894181121140718, 0.01786171644926071, 0.07798152416944504, 0.003964110277593136, -0.0456843301653862, -0.005446501541882753, -0.0359223373234272, 0.016740694642066956, -0.011589878238737583, -0.010775186121463776, -0.018323902040719986, -0.02209194377064705, -0.014178152196109295, 0.0009612617432139814, -0.0356062650680542, -0.03178584203124046, 0.01735764369368553, -0.011482760310173035, 0.03532559424638748, 0.04103357717394829, 0.007121368311345577, 0.023735612630844116, -0.003627524711191654, 0.013055914081633091, -0.01051460113376379, 0.000865316775161773, 0.0035544249694794416, -0.06499044597148895, -0.02981608919799328, -0.026943232864141464, -0.007444074377417564, -0.004638665821403265, -0.0009281414677388966, -0.028155116364359856, 0.024081550538539886, -0.04836228862404823, 0.006122553255409002, -0.02106512151658535, -0.03129749000072479, 0.012854557484388351, 0.02023380808532238, 0.008427710272371769, -0.05383981019258499, 0.010644043795764446, 0.004753020126372576, -0.04686637222766876, 0.013560773804783821, 0.02477152831852436, 0.01540601160377264, 0.03415302932262421, -0.02255874313414097, -0.006947696674615145, 0.010336389765143394, 0.00620628334581852, -0.030125310644507408, -0.029686419293284416, 0.027112051844596863, -0.01809670962393284, -0.011624534614384174, -0.07047569751739502, 0.00018906912009697407, -0.024124113842844963, 0.008490572683513165, -0.023294633254408836, 0.8639439344406128, -0.00860943365842104, 0.004393980838358402, 0.05296704173088074, -0.005917099770158529, 0.017407076433300972, 0.03521149232983589, -0.0047464012168347836, -0.02939821034669876, 0.030049191787838936, -0.0304169449955225, 0.004830802790820599, -0.022093454375863075, 0.008242719806730747, 0.02301665209233761, 0.03467613458633423, 0.008014497347176075, 0.010266893543303013, 0.017596343532204628, 0.008883003145456314, -0.021521924063563347, 0.04232693091034889, -0.0025418575387448072, 0.021916717290878296, -0.019136177375912666, 0.010729731060564518, -0.1539755016565323, 0.020605966448783875, -6.957509351491232e-33, 0.03145325183868408, 0.016868282109498978, 0.009247838519513607, -0.010428177192807198, 0.01793564483523369, 0.005782049614936113, -0.004990630317479372, 0.022044453769922256, -0.009311852976679802, -0.02285773493349552, 0.01459189597517252, -0.019034886732697487, 0.04424192011356354, -0.018333759158849716, 0.011422642506659031, -0.039546918123960495, 0.006802247371524572, 0.02312627248466015, -0.025028597563505173, 0.008443036116659641, 0.039301518350839615, 0.046108830720186234, -0.019966967403888702, 0.006633811164647341, -0.013782915659248829, -0.00936757680028677, 0.0018824473954737186, -0.030693233013153076, 0.0053960420191287994, -0.04089678078889847, -0.03027312271296978, 0.04532146081328392, -0.011849011294543743, -0.0032350595574826, -0.025933360680937767, -0.01957949437201023, -0.00737903593108058, -0.009512927383184433, -0.015475276857614517, -0.04191819578409195, -0.01576167158782482, 0.002712989691644907, -0.01434869784861803, -0.012296576052904129, -0.0012736412463709712, 0.012628967873752117, -0.005569993518292904, 0.021410560235381126, 0.011092018336057663, -0.013650056906044483, -0.012403788976371288, 0.0179839376360178, -0.0298612080514431, 0.02364949882030487, -0.009533680975437164, 0.012659530155360699, 0.010180775076150894, -0.01053735613822937, -0.005142043810337782, 0.005046806298196316, 0.027027074247598648, -0.016656704246997833, -0.016437675803899765, -0.0018297809874638915, 0.01350188348442316, -0.007449289318174124, -0.0221148319542408, -0.004096121992915869, 0.024367816746234894, -0.022352540865540504, -0.04630172997713089, 0.004675837699323893, 0.006592422258108854, -0.01563992351293564, 0.00739247677847743, 0.016605842858552933, 0.023765241727232933, 0.0045115104876458645, 0.011077478528022766, 0.011880164034664631, 0.0009831063216552138, 0.029804592952132225, -0.010946402326226234, -0.03397200629115105, -0.0254999827593565, -0.013368643820285797, -0.022525396198034286, -0.019582876935601234, -0.03511776030063629, 0.043594274669885635, 0.013143926858901978, 0.05346707999706268, -0.005038659553974867, -0.015803629532456398, 0.004908119328320026, 6.569791641655701e-33, -0.009038005024194717, -0.010755776427686214, 0.0038370569236576557, 0.00023902136308606714, 0.0787394717335701, 0.01237166952341795, 0.03505440428853035, -0.016689294949173927, -0.027703050523996353, 0.013518363237380981, -0.031035907566547394, -0.011892354115843773, -0.006830202415585518, 0.028982216492295265, 0.05145600065588951, -0.009881566278636456, 0.015661215409636497, -0.019464243203401566, 0.03691740706562996, 0.019447382539510727, 0.025087870657444, 0.0032592264469712973, 0.021550439298152924, 0.04051056131720543, 0.012097775936126709, 0.03484474867582321, 0.024381455034017563, 0.011188113130629063, 0.00836183875799179, -0.0057776132598519325, -0.006004698574542999, -0.012513210996985435, -0.0007113923784345388, 0.0026551540940999985, -0.0028010571841150522, 0.03187251463532448, -0.03287753090262413, -0.04152075946331024, -0.002934473566710949, -0.016358347609639168, 0.004085987340658903, 0.013798950240015984, -0.012196766212582588, 0.017968595027923584, 0.028748884797096252, -0.0035556841176003218, 0.022879818454384804, -0.028137916699051857, -0.03367654234170914, 0.015061662532389164, 0.03312982991337776, 0.03126918524503708, -0.02752298302948475, -0.022735504433512688, -0.039582509547472, -0.0411883220076561, 0.014161079190671444, 0.005168966483324766, 0.004244961775839329, -0.0041250381618738174, -0.007090486586093903, 0.02738800458610058, -0.02752351574599743, 0.013580311089754105, -0.006154290400445461, -0.00006609058618778363, -0.0042352634482085705, 0.010049005039036274, -0.006299672182649374, -0.0007792909163981676, -0.021970875561237335, -0.016092749312520027, 0.030149314552545547, 0.038574639707803726, 0.020720545202493668, -0.01269683986902237, -0.048837918788194656, -0.03064451739192009, -0.0030351667664945126, 0.0046546184457838535, 0.024073833599686623, 0.03672061488032341, 0.022914782166481018, 0.02300870791077614, -0.034071773290634155, 0.051210470497608185, 0.01427441369742155, 0.040580619126558304, 0.006687966641038656, -0.00006085019776946865, -0.005731727462261915, -0.007369592320173979, 0.00761185260489583, 0.03247245401144028, 0.01589254103600979, -1.3408509857981699e-8, 0.0015697121853008866, 0.01728575862944126, -0.02043544501066208, -0.019023850560188293, -0.018963370472192764, -0.006904278416186571, 0.02055198699235916, -0.01978113502264023, -0.0241810642182827, 0.008241214789450169, 0.012912199832499027, -0.01098508108407259, 0.016532782465219498, 0.03741057589650154, 0.040555935353040695, -0.030134761705994606, 0.0027354182675480843, -0.04031423479318619, 0.00936597678810358, -0.01208849623799324, 0.012551550753414631, 0.03987007215619087, -0.028756586834788322, 0.037794407457113266, -0.02605176344513893, 0.029980726540088654, 0.03571466729044914, -0.05592223256826401, -0.007193689234554768, 0.005896016489714384, -0.0176929272711277, -0.012365718372166157, -0.044215984642505646, 0.033743638545274734, -0.011970466002821922, -0.025686675682663918, -0.008281734772026539, 0.014274333603680134, 0.02869940549135208, -0.005597108043730259, -0.033527180552482605, 0.011766589246690273, -0.015185440890491009, -0.022224918007850647, -0.004409992601722479, -0.0010306502226740122, -0.046580616384744644, -0.020595723763108253, -0.01847478188574314, -0.01417409349232912, 0.003599128220230341, 0.010921004228293896, 0.015421655029058456, 0.0021869258489459753, 0.014458482153713703, -0.0171437356621027, -0.0242069773375988, -0.014283351600170135, 0.007353485096246004, -0.035571761429309845, -0.0011045626597478986, 0.02233744040131569, -0.0022225321736186743, -0.029335645958781242 ]
a-reminder-to-talk-to-the-rubber-duck
https://markhneedham.com/blog/2009/11/15/a-reminder-to-talk-to-the-rubber-duck
false
2009-11-13 06:34:00
Adapting our approach for the context
[ "software-development" ]
[ "Software Development" ]
Amongst the many posts written recently about unit testing one which I quite liked was http://fallenrogue.com/post/234250827/re-its-ok-not-to-unit-test-or-what-you-do-on-your[written by fallenrogue] where he describes how in different contexts/cultures a different approach is favoured which means a technique like TDD might not work so well. cashto, the guy who wrote http://blogs.msdn.com/cashto/archive/2009/03/31/it-s-ok-not-to-write-unit-tests.aspx[the original post], agrees with this in the comments on that post: ____ Absolutely right. I write apps on mobile devices in C++. What works for me may not work well for someone who designs websites with RoR, and vice versa. Context definitely matters -- it was one of the points I was trying to get across. ____ Recently I've started noticing that it's quite beneficial to http://www.markhneedham.com/blog/2009/10/05/my-software-development-journey-year-3-4/[consider the context] that we're working in for all sorts of approaches we might want to take. == Immutability When I was first playing around with http://www.markhneedham.com/blog/category/dotnet/f-dotnet/[F#] I liked the idea of having everything in the code being immutable and I decided that it would be interesting to try and apply that idea to the code I wrote in C# on the project I was working on. Unfortunately it didn't work out as well as I'd hoped because it requires more code to do that, it's not really idiomatic C# so it was confusing to my colleagues and we ended up having objects hanging around which weren't updated with the latest state changes because I'd forgotten to re-assign the variable to the new instance. I still think that we could probably make more use of http://www.markhneedham.com/blog/2009/03/15/qcon-london-2009-the-power-of-value-power-use-of-value-objects-in-domain-driven-design-dan-bergh-johnsson/[value objects] in our code but I'm not convinced that aiming for immutability everywhere when using C# is the way to go. If it was a different context such as a problem we were trying to solve in Haskell or to a lesser extent F# then it would make perfect sense. == Confidence changing code Another example of this is the confidence that we can have in making changes to the code base. I've worked on projects where there's been a lot of test coverage across the board and also ones where there wasn't. With the latter we'd have to put some time in to get tests around that code before thinking about making big changes. If we don't have the time to do that then we need to be quite careful when changing code since we don't have a quick feedback mechanism to let us know whether we've broken anything or not. == Final thoughts http://programmingtour.blogspot.com/2009/10/on-term-pragmatic.html[Corey Haines wrote a post on pragmatism] about a month ago where he suggested the following: ____ Often times, people use the term 'pragmatic' as a way to hide a lack of skill and experience. Or, sometimes, it is used in ignorance: someone doesn't realize that they don't understand something well enough. Usually, though, it is brought to play when someone is justifying cutting corners on something. ____ I think this applies when deciding that an approach isn't useful in our context. We need to be careful that we're not just making excuses for our lack of skill in that area. When I first started working professionally in software development I was fairly convinced that there would be an optimal approach to take in every situation that I just didn't know about yet. A few years later I've come across a lot of really good approaches to solving problems but no approach that is applicable across the board.
null
null
[ 0.027030542492866516, -0.0014608168276026845, -0.00043435004772618413, 0.056293364614248276, 0.0882091075181961, 0.013503179885447025, 0.03274279832839966, 0.04404686018824577, 0.01812526024878025, -0.029981186613440514, 0.0005928252940066159, -0.011629818938672543, -0.06250586360692978, 0.006601118482649326, -0.03474295139312744, 0.06865651905536652, 0.07287097722291946, -0.03843237832188606, 0.04110797867178917, 0.002567942952737212, 0.03308839723467827, 0.06960858404636383, 0.0034034543205052614, 0.025282667949795723, 0.015742456540465355, 0.039406634867191315, 0.021205363795161247, -0.004433969967067242, -0.06746727973222733, -0.027326462790369987, 0.03182867541909218, 0.020608915016055107, 0.0205812007188797, 0.0006422349833883345, 0.01537344790995121, -0.009748290292918682, -0.01868932880461216, 0.016890844330191612, -0.006591691169887781, -0.0006928563234396279, -0.06429732590913773, 0.027303241193294525, -0.0049585141241550446, 0.008238649927079678, -0.05457192286849022, -0.0015710295410826802, -0.03938084468245506, -0.003730938769876957, -0.015120238065719604, -0.0023054529447108507, -0.0717732384800911, 0.053318992257118225, -0.01623433083295822, 0.004362788517028093, -0.014630370773375034, 0.058835964649915695, 0.02742466703057289, -0.07583943009376526, 0.016061197966337204, -0.04577208682894707, 0.006916561163961887, -0.005029281601309776, -0.000029992808777024038, 0.042353272438049316, 0.039257459342479706, -0.019689198583364487, -0.0057021984830498695, 0.03209703043103218, -0.04389309883117676, 0.007654830347746611, -0.015507056377828121, 0.006619884632527828, -0.007069621235132217, -0.00585617870092392, 0.0348769910633564, -0.03746120259165764, -0.002858969382941723, 0.05879658833146095, 0.02992095611989498, 0.03901517018675804, -0.012983247637748718, 0.01815846562385559, 0.026056576520204544, 0.008444591425359249, -0.009143651463091373, -0.04657254368066788, 0.0026188758201897144, -0.009491396136581898, -0.05812724679708481, 0.07815690338611603, 0.021918607875704765, -0.04110487177968025, 0.03494938462972641, 0.03789447247982025, 0.0012603217037394643, 0.020589632913470268, 0.02087920904159546, -0.004675667267292738, -0.002438560826703906, -0.008408886380493641, -0.03159826621413231, -0.03722376003861427, 0.018209269270300865, -0.0027993700932711363, -0.08662422001361847, -0.01010104175657034, -0.031333811581134796, -0.01931312307715416, -0.007837277837097645, 0.00891351979225874, -0.04438212886452675, 0.03157232701778412, -0.0020265437196940184, -0.00005220832099439576, -0.06033916771411896, 0.04212522879242897, 0.00998889934271574, -0.029591986909508705, -0.013033824041485786, 0.027265099808573723, 0.03373180702328682, 0.027984244748950005, -0.023770751431584358, 0.07275160402059555, 0.015823587775230408, 0.03254779428243637, -0.009806512854993343, 0.044278062880039215, -0.005780935753136873, -0.06443411856889725, -0.004683867562562227, 0.038979507982730865, -0.033939871937036514, -0.01145104318857193, 0.017178906127810478, -0.03599194437265396, 0.011893578805029392, -0.011051220819354057, 0.046657171100378036, 0.059248410165309906, -0.02159304916858673, -0.05911653861403465, 0.03158058226108551, 0.00988535862416029, -0.00971983466297388, 0.016312630847096443, -0.014143796637654305, -0.007462857756763697, -0.015057680197060108, 0.02267792820930481, 0.0010183677077293396, 0.0424133762717247, 0.01057685911655426, -0.04657009616494179, 0.01077016070485115, 0.0633828192949295, -0.004873054567724466, 0.03349293768405914, -0.016718316823244095, 0.05059783533215523, 0.038355324417352676, 0.036462027579545975, 0.01623799279332161, 0.019434615969657898, 0.023746956139802933, -0.008386296220123768, 0.01052678283303976, 0.05731939151883125, 0.0006552732666023076, -0.009884307160973549, -0.04987366497516632, -0.05818953365087509, 0.06644859910011292, -0.06099101901054382, -0.030354641377925873, 0.060629311949014664, 0.0571569949388504, -0.0015232098521664739, 0.037438418716192245, 0.010940400883555412, -0.08453439921140671, 0.008109765127301216, 0.028830694034695625, 0.013923587277531624, 0.0035064106341451406, -0.00317347701638937, 0.07207556813955307, 0.01114501990377903, -0.010772759094834328, 0.034769877791404724, -0.06637391448020935, -0.07867031544446945, -0.030363595113158226, -0.01900245063006878, 0.07449372857809067, -0.010889395140111446, -0.013609031215310097, 0.07949908077716827, 0.005902561824768782, 0.06089461222290993, 0.03806651011109352, -0.01622716337442398, 0.022279055789113045, -0.03946613520383835, -0.024732008576393127, 0.03987295553088188, 0.035579271614551544, 0.009373635984957218, -0.07023771852254868, -0.004371448885649443, -0.0038315632846206427, -0.022818734869360924, 0.05162663385272026, -0.029788821935653687, 0.02565273456275463, 0.027268709614872932, 0.04412734881043434, -0.031435154378414154, 0.05765242129564285, -0.05460725724697113, -0.007624154444783926, -0.021037021651864052, -0.022304022684693336, 0.00901936274021864, -0.0013358899159356952, 0.13556692004203796, 0.04792352765798569, -0.05076202377676964, -0.022147588431835175, -0.00660605588927865, 0.029969366267323494, -0.04506945237517357, -0.021373359486460686, -0.008898980915546417, 0.0010700543643906713, 0.0058676693588495255, -0.06072395294904709, -0.01838940568268299, 0.01692824251949787, -0.028557950630784035, 0.03110332041978836, 0.06952565163373947, -0.021893983706831932, 0.041158828884363174, -0.008829236030578613, -0.01412723958492279, -0.01614496484398842, -0.02278769016265869, -0.03817012533545494, -0.008909798227250576, 0.021827049553394318, -0.011865703389048576, 0.057073500007390976, -0.013732234947383404, -0.009608629159629345, -0.039178259670734406, -0.038503993302583694, 0.013318498618900776, 0.02496032603085041, 0.07708800584077835, -0.007033230271190405, 0.05917638540267944, -0.016662808135151863, 0.014601504430174828, 0.008583193644881248, -0.05164780095219612, -0.03834596276283264, -0.01133599691092968, 0.0038587155286222696, 0.06874801218509674, -0.007835225202143192, 0.018132969737052917, 0.02104637213051319, 0.014706375077366829, -0.019074805080890656, -0.013118226081132889, 0.03255588933825493, 0.025457093492150307, -0.04170866310596466, -0.025268832221627235, -0.047188661992549896, 0.029231814667582512, -0.03907036781311035, -0.03416149318218231, 0.016635313630104065, -0.07060561329126358, 0.04758202284574509, -0.07855083793401718, -0.047026894986629486, 0.0030873266514390707, 0.024429595097899437, 0.03348223865032196, -0.009980663657188416, 0.026222337037324905, 0.07959404587745667, 0.004787131678313017, 0.01594024896621704, -0.0066807628609240055, -0.013088652864098549, 0.028675448149442673, -0.006117064505815506, -0.0018891709623858333, 0.03032766841351986, 0.017648864537477493, -0.004795415792614222, -0.05659569427371025, 0.03088056668639183, -0.02420598454773426, -0.2874718904495239, 0.029023688286542892, 0.0016596048371866345, -0.03535739704966545, 0.019742511212825775, -0.0015858187107369304, 0.0008527180179953575, -0.049371540546417236, -0.015471171587705612, 0.04193580895662308, -0.03738298639655113, -0.052233822643756866, -0.030812004581093788, 0.039065249264240265, -0.0028062649071216583, 0.005706226918846369, 0.024556349962949753, -0.024165723472833633, 0.0029401136562228203, 0.05827349051833153, -0.0016788062639534473, -0.07109665870666504, 0.011785347014665604, 0.04394388943910599, 0.032191067934036255, 0.05194855481386185, -0.08696023374795914, 0.06707996875047684, -0.0401373952627182, 0.012442576698958874, -0.020925240591168404, 0.024796146899461746, 0.013605691492557526, -0.048563409596681595, -0.02284928783774376, -0.0015578361926600337, 0.03203167766332626, 0.008299161680042744, -0.0038043055683374405, 0.014720146544277668, -0.022388983517885208, -0.04003748670220375, -0.018591487780213356, -0.008373519405722618, 0.07784608751535416, -0.0005098589463159442, -0.08018984645605087, -0.013003717176616192, -0.04018384590744972, 0.06377211213111877, -0.04019280895590782, -0.02889254130423069, 0.0013694239314645529, 0.03952154517173767, -0.012360609136521816, -0.04586341977119446, -0.0051739453338086605, -0.01635156199336052, -0.03447296470403671, -0.027861222624778748, -0.020157773047685623, -0.03829362615942955, -0.01426330953836441, -0.04405971243977547, -0.005203458480536938, -0.055779244750738144, -0.05210166797041893, -0.00779355363920331, 0.07445304095745087, 0.027719106525182724, -0.023639025166630745, 0.02269144356250763, 0.007999579422175884, -0.11109025776386261, -0.010558795183897018, -0.014090907759964466, -0.027150824666023254, -0.02319745346903801, 0.016214026138186455, 0.05895892158150673, -0.037663061171770096, -0.056975748389959335, 0.02245326153934002, 0.011636164039373398, 0.007685129530727863, -0.005932302214205265, 0.0268887747079134, 0.02524479851126671, -0.006969137117266655, 0.014138203114271164, 0.07904929667711258, 0.00887277815490961, -0.011694035492837429, -0.04428486153483391, 0.031015167012810707, 0.023727843537926674, 0.049134258180856705, -0.014005636796355247, -0.002501408802345395, 0.03169934079051018, 0.01185640599578619, -0.05253089964389801, 0.05023292079567909, -0.034442801028490067, 0.0031723063439130783, -0.017380503937602043, -0.06925685703754425, 0.029766540974378586, 0.013321381993591785, 0.030056403949856758, -0.024257302284240723, -0.044784869998693466, 0.006817475892603397, -0.04467395320534706, -0.028195010498166084, -0.021156547591090202, 0.018313879147171974, 0.04265408217906952, -0.022800132632255554, -0.02100723423063755, -0.03961708024144173, 0.007380843628197908, 0.006568687502294779, 0.002983055543154478, -0.05463191121816635, -0.059743594378232956, -0.007724368013441563, -0.01355119701474905, 0.01504253689199686, 0.019284144043922424, -0.014589748345315456, 0.04657824710011482, 0.004080616403371096, -0.040566977113485336, -0.010435974225401878, -0.009029434993863106, -0.04664622247219086, -0.013334615156054497, 0.010233222506940365, -0.01041643787175417, 0.015817081555724144, 0.004821763373911381, 0.027842137962579727, 0.016521980985999107, 0.033751364797353745, 0.003735555335879326, 0.04288264364004135, -0.02681736648082733, 0.01599629782140255, 0.013655276037752628, 0.006331149023026228, -0.09252119809389114, 0.026561949402093887, -0.03577835112810135, -0.03588017076253891, -0.030276227742433548, 0.033543672412633896, -0.021772699430584908, -0.013739125803112984, -0.032520122826099396, 0.021025896072387695, -0.040870800614356995, -0.03118082508444786, -0.052145812660455704, 0.033043138682842255, 0.05311442166566849, -0.02958078868687153, 0.03812314569950104, -0.010391982272267342, -0.017255345359444618, 0.007122915703803301, 0.025017336010932922, -0.026595233008265495, 0.02241530641913414, 0.003791800932958722, -0.0007757557323202491, -0.02629273198544979, -0.014434412121772766, 0.049319952726364136, 0.019201509654521942, 0.023369774222373962, -0.03524639829993248, 0.014838055707514286, 0.03440374135971069, 0.05748814716935158, -0.016095949336886406, 0.012260032817721367, 0.006625298410654068, 0.009094075299799442, -0.007202611304819584, -0.035610757768154144, -0.01667245849967003, 0.012439588084816933, 0.046053897589445114, -0.0523223839700222, -0.0706220343708992, 0.044382330030202866, 0.011770476587116718, 0.012682252563536167, 0.007717915810644627, 0.02764253132045269, 0.009860013611614704, -0.018785929307341576, 0.018352707847952843, 0.05519488453865051, -0.05437733232975006, 0.012048563919961452, 0.003133614780381322, 0.004513063933700323, 0.018599538132548332, 0.00291048432700336, -0.03911908343434334, -0.010404645465314388, -0.028770335018634796, -0.0032766172662377357, -0.05529253929853439, -0.01962834782898426, -0.02611757628619671, -0.00019104838429484516, -0.01720704324543476, -0.023960933089256287, -0.005927528720349073, 0.0035959675442427397, -0.023136185482144356, -0.03985113650560379, 0.021831443533301353, -0.02899930439889431, 0.013970240950584412, 0.014061558991670609, -0.04647059738636017, 0.02148522064089775, -0.024322569370269775, 0.02963985875248909, 0.017299000173807144, -0.04112928733229637, -0.02708110213279724, -0.021434562280774117, 0.005384413991123438, -0.025616109371185303, 0.042505137622356415, -0.005818082485347986, -0.052464161068201065, -0.03371420130133629, -0.014526460319757462, -0.048312440514564514, 0.01262532826513052, -0.012829813174903393, -0.007658112328499556, 0.03544703498482704, 0.058368805795907974, 0.02255062200129032, 0.03083680011332035, -0.02216675877571106, -0.009439068846404552, 0.05489491671323776, -0.08181881904602051, 0.0017358659533783793, -0.04124132916331291, -0.06434537470340729, -0.009976401925086975, -0.006570329423993826, 0.02694586105644703, -0.02739999257028103, 0.03686227649450302, 0.017771009355783463, 0.025576254352927208, 0.03809097781777382, -0.017439452931284904, 0.0424947664141655, -0.07782818377017975, 0.022773930802941322, -0.07887671142816544, 0.032779231667518616, 0.041229091584682465, 0.015629423782229424, -0.022509073838591576, 0.008178425021469593, -0.03145322948694229, 0.05729778856039047, -0.04731697961688042, -0.02212214283645153, 0.04320491477847099, 0.0006506614154204726, -0.01782159134745598, 0.01574588567018509, -0.05466385930776596, 0.027089973911643028, 0.02672743797302246, -0.026098566129803658, -0.04146149754524231, -0.0045551722869277, 0.04445093497633934, 0.014168468303978443, 0.01845545507967472, -0.04032110795378685, 0.014348762109875679, 0.05053039640188217, 0.02019290253520012, 0.010984105058014393, 0.03938862681388855, -0.013418145477771759, 0.02911216765642166, 0.03154252842068672, -0.018306277692317963, -0.01275185402482748, -0.010697122663259506, -0.0018509920919314027, -0.0625675767660141, 0.01545704249292612, 0.01267757173627615, -0.03824932500720024, -0.03384430706501007, 0.06457912176847458, 0.02382570505142212, -0.019745737314224243, -0.03926749527454376, -0.013982761651277542, -0.0563063882291317, -0.02011309564113617, -0.0041915420442819595, 0.004283000715076923, -0.02969861589372158, 0.046619221568107605, 0.011017016135156155, -0.011916573159396648, 0.07808152586221695, 0.0002498819667380303, -0.01594376750290394, -0.02285352349281311, 0.07762499898672104, 0.08205021917819977, 0.04378897696733475, -0.02441810630261898, 0.059306707233190536, -0.02371855266392231, -0.06302288174629211, 0.022663701325654984, 0.011706618592143059, -0.00721779465675354, -0.03308633342385292, 0.018175262957811356, 0.05275971442461014, 0.0003712096659000963, 0.07181832939386368, -0.03337649255990982, 0.014366923831403255, -0.02772447094321251, 0.020165227353572845, 0.014075382612645626, 0.07203888148069382, 0.0018476392142474651, -0.002574207028374076, -0.01319217961281538, -0.051178064197301865, 0.0225987546145916, -0.05474377050995827, -0.007537426892668009, 0.0237366184592247, 0.002942958613857627, 0.025583134964108467, -0.004886644892394543, 0.030860193073749542, 0.06161310151219368, -0.04606883227825165, 0.01879972591996193, -0.010025091469287872, 0.047138407826423645, 0.01702333800494671, -0.002684521721675992, -0.027303947135806084, -0.006606642156839371, -0.002792126266285777, -0.01503301877528429, -0.005594469606876373, -0.019255468621850014, -0.019337378442287445, 0.05049074441194534, -0.012619830667972565, -0.013574974611401558, 0.03251481428742409, 0.007496674079447985, -0.02078252285718918, -0.06514907628297806, -0.04502105340361595, -0.0379302054643631, -0.062184058129787445, -0.031058315187692642, 0.03046354465186596, -0.003913271706551313, -0.031954627484083176, -0.024055829271674156, -0.03861150145530701, -0.015717320144176483, 0.06532067805528641, -0.03410458192229271, -0.03392639383673668, 0.0195971317589283, 0.005180861335247755, 0.016610613092780113, 0.023142388090491295, 0.046019043773412704, -0.012365627102553844, 0.00392846530303359, -0.03896830603480339, -0.0026728606317192316, 0.04641713201999664, 0.0036003568675369024, 0.008744321763515472, -0.07097510993480682, 0.018861033022403717, 0.0325462780892849, 0.0032451797742396593, -0.0643933117389679, 0.01664932630956173, -0.02497897669672966, -0.02494644559919834, 0.05237286537885666, -0.03501007333397865, 0.008454864844679832, -0.018932050094008446, 0.0011257237056270242, 0.0014519685646519065, 0.02629655972123146, 0.030024120584130287, -0.022705812007188797, 0.07076684385538101, 0.015178678557276726, -0.026612112298607826, -0.028299355879426003, -0.00950966589152813, 0.023593636229634285, -0.003631500294432044, -0.0330575667321682, -0.04061209037899971, -0.03508736193180084, -0.04631173610687256, -0.015649760141968727, 0.008080955594778061, -0.009163669310510159, -0.02819553017616272, 0.030899086967110634, 0.03439662605524063, -0.06423350423574448, 0.023842258378863335, -0.04399481043219566, 0.04391287639737129, -0.01807299815118313, -0.005343365017324686, 0.012065734714269638, 0.01780138723552227, -0.0344792976975441, 0.019796013832092285, 0.033097684383392334, -0.0513693243265152, -0.017133036628365517, 0.00783087220042944, 0.04119989648461342, 0.0351145900785923, -0.002329955343157053, -0.003620677627623081 ]
[ -0.11688964813947678, 0.00688061723485589, -0.011687885038554668, -0.02904265932738781, 0.024447038769721985, -0.0551445335149765, -0.01481665764003992, 0.03307466208934784, -0.013098876923322678, -0.02174208126962185, -0.009047934785485268, -0.013384043239057064, -0.010275120846927166, -0.0007538898498751223, 0.09087991714477539, 0.0006333839846774936, -0.004623016342520714, -0.052085135132074356, 0.015021695755422115, 0.03191126137971878, 0.015277626924216747, -0.031129932031035423, -0.040354445576667786, -0.00881900079548359, 0.017144333571195602, 0.03730502352118492, 0.02329428866505623, -0.03993761166930199, 0.01079250406473875, -0.202799990773201, 0.005852139554917812, 0.02527034468948841, 0.016893504187464714, -0.017013488337397575, -0.0031271472107619047, 0.04459555074572563, 0.004759721923619509, 0.0046518342569470406, -0.014937286265194416, 0.05812946334481239, 0.004610240925103426, 0.01912904717028141, -0.04246316850185394, -0.0027114294935017824, 0.03762010484933853, 0.023104054853320122, -0.011575644835829735, -0.02998308837413788, -0.01738359034061432, 0.03638135641813278, -0.040055058896541595, -0.008480941876769066, -0.012523437850177288, -0.03402087837457657, -0.008767650462687016, -0.00027186350780539215, 0.02386712096631527, 0.07042917609214783, 0.0318739227950573, 0.02810492552816868, 0.008558460511267185, -0.01767653413116932, -0.12540189921855927, 0.08953595161437988, 0.058806005865335464, 0.04273580387234688, -0.004368636291474104, -0.04413770139217377, -0.012603392824530602, 0.07334910333156586, 0.021641617640852928, -0.02558327093720436, -0.03598354011774063, 0.058462027460336685, 0.010143156163394451, 0.0009336058865301311, -0.018693435937166214, 0.016646090894937515, 0.035744842141866684, -0.039781082421541214, -0.019602401182055473, -0.021342149004340172, -0.01445483323186636, 0.0005201223539188504, -0.03127112612128258, -0.00022364233154803514, -0.039106350392103195, 0.04502213001251221, 0.0539889931678772, 0.040429338812828064, 0.03126596286892891, -0.020062658935785294, 0.0429474301636219, 0.01581595465540886, -0.07545242458581924, -0.014771427027881145, 0.001924809766933322, 0.002358896192163229, -0.04724813625216484, 0.44495195150375366, -0.016027936711907387, -0.04297027364373207, 0.06243480369448662, 0.017251014709472656, -0.0251640472561121, 0.034840404987335205, 0.010831212624907494, -0.054763633757829666, 0.0036280397325754166, -0.03142301365733147, -0.001975584775209427, 0.024435563012957573, 0.0372629277408123, -0.02585761621594429, 0.0005959528498351574, 0.01713784597814083, 0.05115611478686333, 0.006875055842101574, 0.00795306172221899, 0.004172762855887413, -0.017483670264482498, -0.002712127985432744, 0.011852951720356941, -0.007311761844903231, 0.010554315522313118, -0.05007899925112724, 0.02756575122475624, 0.057591766119003296, 0.028777291998267174, 0.016217000782489777, 0.06713514775037766, -0.05823173746466637, -0.07618796080350876, 0.006642935331910849, 0.020015999674797058, 0.027257798239588737, 0.04117901250720024, -0.023784944787621498, 0.019715681672096252, 0.03659394755959511, 0.009830406866967678, -0.019523167982697487, 0.04267199710011482, -0.02234589494764805, -0.02989405021071434, 0.0789814367890358, 0.0008262426708824933, -0.028795182704925537, -0.002739163814112544, -0.02485925704240799, 0.02040381357073784, 0.03343968838453293, -0.009136511944234371, -0.07299412786960602, 0.008083978667855263, 0.022699454799294472, 0.07531622052192688, -0.021266411989927292, -0.055811066180467606, -0.014749115332961082, -0.02098487876355648, -0.015319639816880226, -0.04423515126109123, 0.04612985998392105, 0.03260209783911705, -0.10613725334405899, -0.04268519952893257, 0.01713678240776062, 0.06223543733358383, -0.07611127942800522, 0.00013326670159585774, 0.009564435109496117, -0.04277743026614189, -0.02139679342508316, 0.04775501415133476, -0.021719224750995636, -0.04744589328765869, 0.010397639125585556, 0.032902006059885025, 0.025254972279071808, -0.0028727075550705194, 0.025328753516077995, -0.024052470922470093, -0.0022520446218550205, -0.02202647365629673, -0.06577610969543457, -0.03864800184965134, -0.019016766920685768, -0.015093760564923286, -0.016771772876381874, -0.015589640475809574, -0.042692553251981735, -0.11800341308116913, 0.07734853029251099, -0.049165841192007065, -0.014974808320403099, 0.03162529319524765, -0.005620095878839493, 0.01146271638572216, -0.02197147160768509, -0.0158242117613554, 0.02695605158805847, -0.02227076143026352, 0.04699664190411568, -0.05692147836089134, 0.05600092560052872, 0.05926808342337608, -0.08311191201210022, 0.061001356691122055, 0.05659688264131546, -0.028015602380037308, -0.043894220143556595, 0.015457943081855774, 0.022656895220279694, -0.00917795393615961, -0.02686658501625061, -0.025535067543387413, 0.017927205190062523, -0.016132716089487076, 0.02984192594885826, -0.01616356149315834, 0.014047659002244473, -0.013985083438456059, -0.3291603624820709, -0.0474017895758152, -0.028412094339728355, -0.019144108518958092, 0.005926931276917458, -0.08443330973386765, -0.009374772198498249, -0.0032620225101709366, -0.023881930857896805, -0.013704679906368256, 0.09156760573387146, 0.01619749143719673, -0.014958017505705357, -0.10080832242965698, 0.015303632244467735, 0.010004397481679916, -0.03999055549502373, -0.042468998581171036, -0.02743772603571415, 0.008027334697544575, 0.00874992273747921, 0.0026129111647605896, -0.026419827714562416, -0.05434189736843109, 0.010063945315778255, -0.057865209877491, 0.0879698395729065, -0.022985590621829033, 0.11462721228599548, 0.008465303108096123, 0.04292480647563934, 0.017097212374210358, 0.0293809212744236, -0.09299568086862564, -0.01033130194991827, -0.00914362259209156, -0.01399267464876175, -0.014030887745320797, 0.05838754028081894, -0.052660662680864334, -0.029727255925536156, 0.021975258365273476, -0.056369222700595856, -0.06397528946399689, -0.03445666283369064, 0.005321874283254147, -0.017403220757842064, 0.003332728985697031, -0.02338753454387188, 0.09709712862968445, -0.0016072971047833562, -0.011654937639832497, 0.014497784897685051, 0.04755739867687225, -0.0058608753606677055, -0.013910436071455479, -0.08920770138502121, 0.01942550577223301, 0.0015646804822608829, -0.004008574411273003, 0.02603195607662201, 0.0681433454155922, 0.042823247611522675, -0.06530415266752243, 0.004706962965428829, 0.003582557663321495, 0.006506877951323986, -0.005748425610363483, 0.05044860392808914, -0.01270194724202156, -0.013870219700038433, 0.10501489788293839, -0.015190447680652142, 0.006044887471944094, 0.018524756655097008, 0.04138289391994476, -0.01949898526072502, 0.03763383626937866, 0.02014400251209736, -0.016799483448266983, -0.007843976840376854, -0.00044253491796553135, 0.04494670033454895, -0.028068717569112778, -0.003875007387250662, 0.01818155124783516, -0.03261902183294296, -0.0074669187888503075, 0.057595863938331604, -0.0026019804645329714, -0.03242361918091774, -0.014149418100714684, -0.006803668569773436, -0.06250521540641785, 0.06528260558843613, -0.02003110572695732, -0.24035142362117767, -0.00022056972375139594, 0.09311479330062866, 0.06437987834215164, -0.017972169443964958, 0.02226022072136402, 0.027300063520669937, -0.08347097784280777, -0.017069892957806587, 0.02272370457649231, 0.02149295248091221, 0.03087652660906315, 0.0019170327577739954, 0.002084637526422739, 0.05751649662852287, -0.02225211076438427, 0.04501879960298538, -0.007896721363067627, 0.02153564989566803, -0.020435884594917297, 0.020283764228224754, -0.0011191052617505193, 0.16831782460212708, 0.0017969796899706125, 0.018617121502757072, 0.009049401618540287, 0.032837312668561935, 0.03274922072887421, 0.05495723709464073, 0.024271221831440926, -0.009014752693474293, -0.0017962527927011251, 0.043115586042404175, 0.020610088482499123, 0.024474972859025, -0.10397998988628387, -0.00976136326789856, 0.018885619938373566, 0.022470498457551003, -0.007727201096713543, -0.008575333282351494, 0.02029329538345337, -0.02842222899198532, -0.006716340780258179, 0.08717727661132812, 0.048894498497247696, 0.003546803491190076, -0.0187311302870512, -0.04594011977314949, -0.019057927653193474, -0.021729497238993645, -0.058618199080228806, 0.003437971929088235, -0.024930981919169426, 0.020928429439663887, 0.07113699615001678, 0.005415378138422966, -0.04464006796479225, -0.015450376085937023, -0.003521912032738328, 0.022449949756264687, -0.004546519834548235, 0.10554133355617523, 0.047386057674884796, 0.020618852227926254 ]
[ -0.031316909939050674, 0.0365057997405529, -0.014608730562031269, 0.008958936668932438, -0.0048094140365719795, -0.020348964259028435, -0.00009570019756210968, 0.015517502091825008, 0.013216512277722359, 0.013823444955050945, -0.001648038043640554, 0.015811491757631302, 0.04103955999016762, -0.017487425357103348, 0.03142149746417999, -0.0003268011787440628, -0.01040296908468008, -0.014861060306429863, 0.0028576224576681852, 0.03344396874308586, 0.006786903366446495, 0.03670230880379677, 0.009324346669018269, -0.001771946670487523, 0.027032526209950447, -0.0028591568116098642, 0.010561242699623108, -0.021897129714488983, 0.0251142755150795, -0.11958572268486023, -0.024048777297139168, -0.019918592646718025, -0.0074788895435631275, 0.013999569229781628, 0.00011415975313866511, -0.015489752404391766, 0.031568143516778946, 0.010748851113021374, -0.02024237811565399, -0.026019198819994926, -0.029130659997463226, -0.019166050478816032, 0.041698094457387924, 0.044924698770046234, -0.025126613676548004, -0.017125608399510384, 0.014423446729779243, -0.03653901442885399, -0.02321811579167843, -0.03133401647210121, -0.0009029852226376534, -0.0055852183140814304, -0.023612312972545624, 0.00029796885792165995, 0.007017351686954498, -0.0005538167315535247, 0.025792423635721207, 0.016590896993875504, 0.0576774999499321, -0.0010628177551552653, -0.009080286137759686, 0.006939464248716831, -0.025375543162226677, -0.02419867552816868, 0.0016477163881063461, -0.034708864986896515, -0.014023263938724995, -0.00358708412386477, -0.013585344888269901, 0.0036770040169358253, -0.007218797691166401, 0.003263836959376931, 0.025944294407963753, 0.00554659916087985, 0.017673781141638756, 0.009648258797824383, 0.017151320353150368, -0.02484527975320816, 0.0013044301886111498, -0.01288413442671299, -0.015954161062836647, 0.017264919355511665, 0.0007404917269013822, 0.03581679239869118, 0.05161537602543831, 0.013862756080925465, -0.003582416335120797, -0.004020453430712223, -0.012512383051216602, -0.0027849378529936075, -0.0301822442561388, 0.03065028414130211, -0.02063279040157795, 0.03379649296402931, -0.06194595247507095, -0.033262934535741806, 0.005688249599188566, -0.05258199945092201, -0.013132243417203426, 0.8649089932441711, 0.03124121204018593, 0.054710015654563904, 0.03811939060688019, 0.020532481372356415, -0.014577512629330158, -0.01601574942469597, 0.006126224994659424, 0.01666305400431156, 0.010212552733719349, -0.031545769423246384, 0.051528025418519974, 0.030962379649281502, 0.018422601744532585, 0.0015778931556269526, 0.021664943546056747, 0.015745215117931366, -0.008215836249291897, 0.001601977157406509, -0.002125956816598773, 0.006325847934931517, -0.0018136698054149747, -0.018397970125079155, -0.033283084630966187, 0.006146643776446581, 0.038724154233932495, -0.1884339153766632, 0.009496070444583893, -8.26034280128619e-33, 0.010933036915957928, -0.005394560284912586, 0.007206017151474953, 0.01094377413392067, 0.006793688051402569, 0.0004276583204045892, 0.03981979936361313, 0.03630954399704933, 0.015891997143626213, -0.020029988139867783, -0.0036628504749387503, 0.010293010622262955, 0.01442224532365799, -0.009060459211468697, 0.02687920443713665, -0.029453938826918602, -0.015401693060994148, 0.0066446224227547646, 0.008736883290112019, 0.018165849149227142, 0.03759874776005745, 0.0009785229340195656, -0.005118995439261198, -0.015162206254899502, 0.014469580724835396, 0.020602593198418617, 0.018530279397964478, 0.009124155156314373, 0.01600547507405281, -0.04045901075005531, -0.0057420856319367886, 0.01939781755208969, -0.029827551916241646, -0.033550623804330826, 0.005550061352550983, -0.03352980688214302, 0.007820709608495235, -0.010474782437086105, -0.008794771507382393, -0.025550706312060356, -0.03912308067083359, -0.005186706781387329, -0.04178234562277794, 0.004267201758921146, -0.01398228108882904, -0.02422260120511055, 0.0017650381196290255, 0.007785233668982983, 0.007829569280147552, -0.02145286649465561, -0.021820904687047005, 0.00028674042550846934, -0.033188510686159134, -0.0202138964086771, -0.017900817096233368, -0.004686078988015652, -0.03522130474448204, 0.0138717545196414, 0.017957167699933052, 0.023301899433135986, 0.009398456662893295, -0.003907663282006979, -0.023555928841233253, 0.014017708599567413, -0.0446186326444149, -0.02241278626024723, 0.016405340284109116, -0.044146578758955, 0.004032874945551157, -0.023834099993109703, -0.03017210029065609, -0.02176685631275177, -0.012280486524105072, -0.02087263949215412, 0.027071349322795868, 0.01990276761353016, -0.001428416115231812, 0.03041551262140274, -0.048126064240932465, 0.007674375548958778, 0.007156240288168192, -0.0023774101864546537, -0.0024020751006901264, -0.023426197469234467, 0.016589146107435226, -0.03131508082151413, 0.004515088628977537, -0.03674262762069702, -0.03595225140452385, 0.0162297822535038, 0.027380218729376793, 0.0014147136826068163, -0.013690046034753323, -0.011110211722552776, -0.026808204129338264, 8.023229427678011e-33, -0.020739566534757614, -0.01959536224603653, -0.01494469866156578, 0.007452703546732664, 0.002541423076763749, -0.03374994173645973, 0.011770847253501415, 0.008780018426477909, -0.05070732533931732, 0.019668709486722946, -0.01677917130291462, -0.0014987359754741192, -0.039132118225097656, 0.004459354095160961, 0.05488003045320511, -0.03059893287718296, 0.020515214651823044, -0.050022996962070465, 0.04869251325726509, 0.02536902204155922, 0.020548949018120766, 0.045764461159706116, 0.04416530579328537, 0.009646777994930744, 0.024001387879252434, 0.05745072662830353, -0.05321986600756645, -0.00005683647032128647, 0.016622047871351242, -0.01563541404902935, -0.0042193070985376835, 0.000653041061013937, 0.013818537816405296, 0.014425386674702168, -0.041394203901290894, 0.03647579625248909, 0.007334849331527948, -0.03781240060925484, 0.0009205499663949013, 0.018722184002399445, 0.040541477501392365, -0.00407690042629838, 0.017024679109454155, 0.00876588560640812, 0.0029652921948581934, -0.020510520786046982, 0.0006061467574909329, -0.001929978490807116, 0.014950799755752087, 0.016334712505340576, 0.026614174246788025, 0.0003328456950839609, 0.0014073257334530354, -0.006060222629457712, 0.014876991510391235, -0.01941715180873871, -0.011364677920937538, -0.02396305650472641, -0.011105380952358246, -0.015675250440835953, 0.015089050866663456, -0.0135795334354043, -0.030028726905584335, 0.013509426265954971, -0.044125232845544815, 0.01755339279770851, 0.021365268155932426, 0.027101438492536545, 0.011983121745288372, -0.00808015838265419, -0.04299963265657425, 0.010459656827151775, 0.027942392975091934, 0.03817020356655121, -0.016141870990395546, -0.01700025424361229, -0.007832800038158894, -0.0295909121632576, -0.018007894977927208, -0.010432000271975994, 0.006522424053400755, 0.005918925628066063, 0.01395550649613142, -0.026718592271208763, -0.01473905611783266, 0.020757582038640976, -0.01489594392478466, 0.005284315440803766, 0.0089110117405653, -0.015239942818880081, -0.036229293793439865, -0.005250275135040283, -0.010314400307834148, 0.008214309811592102, -0.00573080824688077, -1.3885957272918859e-8, -0.0012686451664194465, 0.023754891008138657, -0.008485838770866394, 0.005104998592287302, -0.014715451747179031, -0.005556181538850069, -0.006230182014405727, -0.01531163603067398, 0.0031135117169469595, 0.0034837638959288597, 0.024796659126877785, -0.022258847951889038, 0.004742215853184462, 0.018373293802142143, 0.01936979405581951, -0.021252095699310303, -0.016651475802063942, -0.008701021783053875, 0.028281375765800476, 0.016185175627470016, 0.005733287427574396, 0.06723014265298843, -0.02677079290151596, 0.019402582198381424, 0.04109368845820427, 0.04172559455037117, -0.008307978510856628, -0.08886182308197021, 0.010773174464702606, 0.017550628632307053, 0.005729192402213812, -0.02870701253414154, -0.033583879470825195, 0.02122887410223484, -0.020312584936618805, -0.02008536271750927, 0.022730659693479538, 0.012899198569357395, 0.03246182203292847, 0.001717550097964704, 0.014590884558856487, -0.019032111391425133, -0.02112569846212864, -0.019684340804815292, -0.030868707224726677, -0.025632983073592186, -0.026915719732642174, -0.015423325821757317, 0.010551804676651955, -0.0013115444453433156, 0.010246570222079754, -0.007605238351970911, -0.0010077616898342967, -0.005469533149152994, 0.0183139368891716, -0.013569529168307781, -0.008219515904784203, -0.03268113732337952, -0.03120315447449684, -0.007321046199649572, 0.003857645206153393, 0.04212939366698265, -0.02100064978003502, -0.02095998264849186 ]
adapting-our-approach-for-the-context
https://markhneedham.com/blog/2009/11/13/adapting-our-approach-for-the-context
false
2009-11-14 11:20:13
Mercurial: hg bisect
[ "mercurial", "hg", "bisec" ]
[ "Version Control" ]
We've been using http://mercurial.selenic.com/wiki/[Mercurial] locally on the project I've been working on and http://fragmental.tw/[Phil] showed me a cool feature called 'http://mercurial.selenic.com/wiki/BisectExtension[bisect]' a couple of weeks ago which can be helpful for working out which revision we managed to break our code in. It's been ported across from http://git-scm.com/[Git] and is included in Mercurial from version 1.0.0 rather than just being an extension. From the bisect extension page: ____ Its behaviour is fairly simple: it takes a first revision known to be correct (i.e. without the bug) and a last revision known to be bad (i.e. with the bug). The bisect extension ouputs a revision halfway between the good and the bad ones and lets you test it. If this revision is a good one, you mark it as good with hg bisect good, otherwise you mark it as bad with hg bisect bad. In both cases, bisect outputs a new revision to test, halfway between the good and the bad ones. You repeat until only one revision is left: the culprit. ____ The usage has changed a bit now that it's included as part of the initial download. I was working on something yesterday and checking in fairly regularly before realising that I'd broken something. I was fairly sure that the break had happened in the tip (revision 98) but I could only remember it definitely working in revision 96. I defined the good and bad revisions like this: [source,text] ---- ~~~text In this case revision 97 was now checked out and I checked that the code was working with that revision before marking it: ~~~text It's now able to work out that the problem is in fact in revision 98: ~~~text The first bad revision is: changeset: 98:86260809c309 tag: tip user: mneedham date: Fri Nov 13 16:31:02 2009 +1100 summary: seem to have screwed up the graphs. Not sure how ---- I managed to mess up setting up the good and bad revisions a few times - I somehow had the impression that I needed to manually update to the original good and bad revisions which isn't the case. The reset command was my friend before I worked out what I was doing wrong: [source,text] ---- hg bisect -r ---- It seems like a neat little feature. I'm sure there are lots of other cool things like this in Mercurial so if you know any let me know! * Update * As Rob points out in the comments the command is 'bisect' rather than 'bisec' as I had it originally. Both commands work for the moment though!
null
null
[ -0.0037141088396310806, 0.002814521547406912, -0.005516107194125652, 0.05055346339941025, 0.07436830550432205, -0.007220517843961716, 0.009448136202991009, 0.050408121198415756, 0.027776669710874557, -0.050797443836927414, 0.001568651758134365, 0.0071962508372962475, -0.07574054598808289, 0.00667705200612545, -0.03812059760093689, 0.07209503650665283, 0.0584726482629776, 0.012064669281244278, 0.011823677457869053, 0.014533610083162785, 0.05474153533577919, 0.07552585005760193, 0.018286079168319702, 0.01868671178817749, 0.02875438518822193, 0.023774918168783188, 0.010357440449297428, -0.008494344539940357, -0.06206287071108818, -0.0012194568989798427, 0.048088621348142624, 0.01596767082810402, 0.005216647405177355, -0.02820635586977005, 0.014919825829565525, -0.0036208145320415497, -0.08468949794769287, 0.016577720642089844, 0.01654287427663803, -0.006336890626698732, -0.048424143344163895, 0.03935328125953674, -0.037751052528619766, 0.000325523637002334, -0.02449345588684082, 0.03878607228398323, -0.03974989056587219, -0.001060865237377584, -0.04746021702885628, -0.0040237391367554665, -0.06842305511236191, 0.04080378636717796, -0.029518211260437965, -0.009686307981610298, -0.036829132586717606, 0.04571490362286568, 0.028075534850358963, -0.06044892221689224, 0.03597252070903778, -0.008835164830088615, -0.007429597899317741, -0.0019984894897788763, -0.01207370962947607, 0.04794977977871895, 0.0326487235724926, -0.03154080733656883, -0.008927501738071442, 0.031781189143657684, -0.024849116802215576, -0.001872647670097649, -0.015269607305526733, 0.02772483602166176, -0.00543048232793808, -0.013975948095321655, 0.04249589517712593, -0.02522854693233967, -0.0076060001738369465, 0.06442384421825409, 0.027268879115581512, 0.05228696018457413, -0.02694152109324932, 0.038756292313337326, 0.02740679681301117, 0.0008146758773364127, -0.021088067442178726, -0.03635404631495476, -0.03731688857078552, -0.019377144053578377, -0.05432456359267235, 0.07482139021158218, -0.013268254697322845, -0.0871577039361, 0.06665947288274765, 0.011169176548719406, 0.014573713764548302, -0.0003055741253774613, 0.006040872540324926, 0.053033530712127686, 0.03301975503563881, -0.02179751545190811, -0.047850530594587326, 0.00011333538714097813, 0.01981477625668049, 0.018547525629401207, -0.08498432487249374, 0.004639224614948034, -0.055508606135845184, -0.01118460949510336, -0.00474370364099741, -0.017404131591320038, 0.0031196207273751497, 0.019336437806487083, -0.011704748496413231, 0.009119956754148006, -0.051056742668151855, 0.0821375623345375, 0.016285497695207596, -0.035950034856796265, 0.004372498486191034, -0.004481210373342037, 0.029522601515054703, 0.022154364734888077, -0.03215106949210167, 0.0889219269156456, 0.024217873811721802, 0.06197809427976608, -0.0063589997589588165, 0.018444841727614403, -0.03632017597556114, -0.08445150405168533, -0.0000642008672002703, 0.07299961149692535, -0.04062870144844055, 0.014574825763702393, -0.007063897326588631, -0.0236566923558712, -0.012415074743330479, -0.029745085164904594, 0.021981656551361084, 0.03364390507340431, 0.0074485489167273045, -0.019012510776519775, -0.023601995781064034, 0.022387836128473282, 0.038051970303058624, 0.02492743916809559, 0.005278339143842459, -0.02825879491865635, -0.04755778610706329, 0.013269917108118534, 0.021556952968239784, 0.005827437620609999, 0.022811898961663246, -0.021032240241765976, 0.01731942594051361, 0.08723820745944977, 0.014091340824961662, 0.007645930163562298, -0.04068430885672569, 0.01323333103209734, 0.04429261386394501, 0.039535194635391235, 0.0533256009221077, 0.026937425136566162, -0.0060609676875174046, -0.03292953595519066, -0.0012694676406681538, 0.0292232446372509, 0.016086211428046227, -0.0068856412544846535, -0.06734944134950638, -0.05912664532661438, 0.07389799505472183, -0.06488089263439178, -0.01103567611426115, 0.05608423054218292, 0.08943779766559601, 0.05407250300049782, 0.012229062616825104, 0.02467087097465992, -0.07697348296642303, 0.007947729900479317, 0.001999076921492815, 0.03723345324397087, -0.017571890726685524, -0.02000073343515396, 0.09005299210548401, 0.017645565792918205, 0.015732314437627792, 0.017284495756030083, -0.08382731676101685, -0.06401485204696655, 0.008348309434950352, 0.0007100743241608143, 0.06617890298366547, -0.025335779413580894, 0.007716486230492592, 0.05970703437924385, 0.0009148820536211133, 0.02575664408504963, 0.009286218322813511, 0.03937682509422302, 0.00926141906529665, -0.04443924501538277, -0.032611146569252014, 0.0186478104442358, 0.024607369676232338, -0.01494823768734932, -0.0585530586540699, 0.024413129314780235, 0.004050710704177618, 0.04401242733001709, 0.05785718187689781, -0.003303755773231387, 0.03228259086608887, 0.03543772175908089, 0.048544205725193024, -0.021293453872203827, 0.060647327452898026, -0.056263651698827744, 0.0049046785570681095, -0.00026245907065458596, -0.013599478639662266, 0.000036696721508633345, -0.010956243611872196, 0.10078310966491699, 0.06363911181688309, -0.04487059637904167, -0.025365309789776802, 0.004682820290327072, -0.020001467317342758, -0.024675872176885605, 0.0030243289656937122, -0.003305749734863639, -0.010781302116811275, -0.011813870631158352, -0.0636616125702858, -0.04050656408071518, 0.023677155375480652, -0.024433383718132973, -0.0008226266363635659, 0.04925966635346413, -0.031992536038160324, 0.042462848126888275, 0.02763940952718258, -0.011038195341825485, -0.016237696632742882, -0.008259092457592487, -0.062308963388204575, 0.012299512512981892, 0.03428482264280319, -0.006455779075622559, 0.005258393008261919, -0.04705711826682091, -0.007933651097118855, -0.012960199266672134, -0.017445450648665428, -0.0031927370000630617, 0.030043331906199455, 0.04708901420235634, -0.01302944216877222, 0.009249845519661903, 0.010081037878990173, -0.009317739866673946, 0.004145270679146051, -0.02793159708380699, -0.060962967574596405, -0.007956160232424736, -0.023243961855769157, 0.0019675104413181543, 0.024088513106107712, 0.027731236070394516, -0.02135082520544529, -0.009083941578865051, 0.00588366249576211, -0.0038892629090696573, 0.03232192248106003, 0.008017057552933693, -0.032960809767246246, -0.023909717798233032, 0.0035183660220354795, 0.048570483922958374, -0.054510198533535004, -0.03397861868143082, 0.007110366132110357, -0.04010164365172386, 0.07993894070386887, -0.059909652918577194, -0.05199320614337921, 0.015837671235203743, -0.008171713910996914, 0.0128193199634552, -0.004205259960144758, 0.05076546594500542, 0.05219797417521477, -0.02803470753133297, 0.03063189797103405, 0.02180468663573265, 0.02209012396633625, 0.013045497238636017, 0.04624807462096214, -0.0009335430222563446, 0.029743514955043793, -0.0017103770514950156, -0.0017517245141789317, -0.02401292510330677, 0.03173382580280304, -0.02954772859811783, -0.283942848443985, 0.05068674311041832, 0.008369888179004192, -0.040765732526779175, 0.03161436319351196, -0.01772436313331127, -0.0008098362013697624, -0.03185981884598732, -0.005211220122873783, 0.026038741692900658, -0.021321816369891167, -0.038123369216918945, 0.020737310871481895, 0.03548427298665047, 0.010685176588594913, 0.016597772017121315, 0.007479242980480194, -0.03240714967250824, 0.017807364463806152, 0.04326818883419037, -0.0034419591538608074, -0.05594426020979881, 0.014912129379808903, 0.053695667535066605, 0.01785827800631523, 0.04151729866862297, -0.06598883867263794, 0.051726333796978, -0.048917122185230255, -0.022343041375279427, 0.02434483915567398, -0.0018708085408434272, 0.0005210185190662742, 0.00828482210636139, -0.0015650828136131167, -0.0030697055626660585, 0.017368368804454803, 0.0297093465924263, -0.016552237793803215, 0.02868649922311306, -0.02347261644899845, -0.00974657665938139, 0.0056552099995315075, 0.010475154034793377, 0.0801037922501564, 0.002251157071441412, -0.05934189260005951, -0.016566015779972076, 0.006774661596864462, 0.09060569107532501, -0.017426621168851852, -0.059953875839710236, -0.0008167604100890458, 0.04451126232743263, -0.014054500497877598, -0.008478923700749874, 0.0020433308091014624, -0.005146018695086241, -0.05585666000843048, -0.03623398393392563, -0.014703119173645973, -0.028713248670101166, -0.04090740159153938, -0.052813779562711716, 0.00965494941920042, -0.0682014673948288, -0.06423457711935043, -0.02735164575278759, 0.05734635889530182, -0.0069892918691039085, -0.027101268991827965, -0.008228996768593788, -0.022048940882086754, -0.11172189563512802, -0.0003056023851968348, -0.01821286603808403, -0.06664030998945236, 0.012646272778511047, 0.010142040438950062, 0.02884593792259693, -0.05830454081296921, -0.04883599281311035, 0.0351351834833622, 0.019914625212550163, 0.0020177208352833986, -0.02123790606856346, 0.026667986065149307, 0.003510277019813657, -0.026794517412781715, -0.01469892356544733, 0.06994746625423431, -0.037755824625492096, -0.04631313681602478, -0.01885739527642727, -0.0005363592645153403, 0.028447771444916725, 0.002027235459536314, 0.01746898703277111, 0.03943592682480812, 0.06761930137872696, 0.04843529313802719, -0.056226588785648346, 0.031442586332559586, -0.014506966806948185, -0.016495516523718834, 0.013561863452196121, -0.05858626216650009, 0.010388118214905262, 0.028333643451333046, 0.015344729647040367, -0.02083861269056797, -0.01076008751988411, 0.018611159175634384, -0.040795497596263885, -0.04183494299650192, -0.006113093346357346, 0.001991887344047427, 0.024424666538834572, 0.0013851840049028397, -0.041624948382377625, -0.04076636582612991, -0.00537018571048975, 0.0025097064208239317, 0.004758042749017477, -0.02257797122001648, -0.04526718705892563, -0.02634947933256626, 0.01953958347439766, 0.01920282281935215, 0.019998377189040184, 0.008169951848685741, 0.046938300132751465, 0.002514822408556938, -0.020044315606355667, 0.040252555161714554, -0.002942139282822609, -0.045891910791397095, -0.0036959482822567225, -0.017407674342393875, -0.007943974807858467, -0.026922866702079773, 0.009791837073862553, -0.013874861411750317, 0.007203279994428158, 0.05595773085951805, -0.04606567695736885, 0.04894103482365608, -0.028522197157144547, 0.0021325701382011175, 0.023139234632253647, 0.003015817143023014, -0.0535544827580452, 0.0038535550702363253, -0.023284927010536194, -0.026959963142871857, -0.02362651191651821, 0.03594360500574112, -0.004817584529519081, -0.006696243304759264, -0.031177861616015434, 0.00907620508223772, -0.0471285842359066, 0.00789982732385397, 0.0038279551081359386, -0.01817542500793934, 0.04336388781666756, 0.0019497126340866089, 0.03247307240962982, -0.03636002168059349, -0.0033535370603203773, 0.015533793717622757, 0.0449722483754158, -0.048693493008613586, 0.007952872663736343, -0.004336058162152767, 0.006929599214345217, -0.026361312717199326, 0.00047596803051419556, 0.048359986394643784, 0.004014430567622185, -0.007907325401902199, -0.01396874338388443, 0.01967192254960537, 0.017051585018634796, 0.039317067712545395, -0.01893102377653122, 0.014089143835008144, 0.0008041614200919867, -0.027991075068712234, -0.06521254032850266, -0.021027611568570137, 0.0015554653946310282, -0.0206186193972826, 0.039213474839925766, -0.04010367393493652, -0.08167148381471634, 0.0061914073303341866, 0.011949530802667141, 0.03121408075094223, 0.019239287823438644, -0.019413765519857407, 0.04181249067187309, -0.015283922664821148, 0.033965110778808594, 0.06372126936912537, -0.06596025079488754, 0.02392282709479332, -0.012140069156885147, -0.01131915021687746, -0.033255089074373245, 0.014778303913772106, -0.06052105873823166, -0.035658590495586395, -0.005271632224321365, 0.006488733924925327, -0.04311169683933258, -0.029539061710238457, -0.05437515676021576, -0.003682752838358283, -0.005833995994180441, -0.02078460529446602, -0.014821499586105347, 0.0018342604162171483, 0.022269373759627342, -0.056359756737947464, 0.016020476818084717, 0.014953992329537868, 0.00008643412729725242, 0.06019703298807144, -0.037027839571237564, 0.058745820075273514, -0.009830801747739315, 0.03750336170196533, 0.0335976667702198, 0.0006288044387474656, -0.03199867159128189, -0.03499063849449158, -0.010331954807043076, -0.0282880961894989, 0.033584486693143845, -0.007696882355958223, -0.015380396507680416, -0.017975490540266037, 0.02241436019539833, -0.047388337552547455, -0.007679652888327837, -0.0028956399764865637, -0.03199389576911926, -0.0032109441235661507, 0.06658545136451721, 0.004629311617463827, 0.03841046616435051, -0.008950590156018734, -0.0051790098659694195, 0.019073255360126495, -0.08871336281299591, -0.02693171240389347, -0.050287436693906784, -0.05058860033750534, 0.029649635776877403, 0.02895851619541645, 0.020444057881832123, -0.04433973506093025, 0.02948564849793911, 0.03249286487698555, 0.023247573524713516, 0.037499140948057175, -0.0022402384784072638, 0.01015299279242754, -0.03856950253248215, -0.011649641208350658, -0.08618085086345673, 0.017308028414845467, -0.0036194315180182457, -0.017474474385380745, -0.031192727386951447, -0.0071856193244457245, -0.03290628641843796, 0.02360560931265354, -0.040340013802051544, -0.020466402173042297, 0.04158813878893852, 0.012781594879925251, 0.01378940511494875, 0.03157661482691765, -0.06289563328027725, 0.005935762543231249, 0.02671917900443077, -0.06505333632230759, -0.03122539632022381, -0.027533920481801033, 0.05991095304489136, -0.012500104494392872, 0.029729360714554787, -0.032804686576128006, -0.008818655274808407, 0.04657699167728424, 0.04262841120362282, 0.018259365111589432, 0.04471282288432121, 0.00055990758119151, 0.019020630046725273, 0.059409249573946, 0.03844932094216347, -0.004599550273269415, 0.02333890087902546, -0.033017225563526154, -0.03533894196152687, 0.05382009968161583, -0.00763456616550684, -0.011594166047871113, -0.007860634475946426, 0.06621789187192917, 0.04805249720811844, -0.0146099291741848, -0.05037977173924446, 0.0038847934920340776, -0.05208193138241768, 0.007265077903866768, -0.010802784003317356, -0.015411983244121075, -0.055169057101011276, 0.04677756130695343, -0.011166583746671677, -0.0011826622067019343, 0.059338510036468506, -0.01481827162206173, -0.01171600166708231, -0.004615365993231535, 0.1016170009970665, 0.06767702102661133, 0.058364927768707275, 0.008539886213839054, 0.057707529515028, -0.03196607157588005, -0.03972328454256058, -0.00641982164233923, -0.019027860835194588, 0.02431344985961914, 0.0028499537147581577, -0.0008417687495239079, 0.04474068060517311, -0.029062822461128235, 0.07055570185184479, -0.002937754848971963, 0.014886374585330486, -0.015378142707049847, -0.0038712797686457634, 0.008878122083842754, 0.05772105231881142, 0.010003713890910149, -0.01863771304488182, -0.024724546819925308, -0.0333167165517807, 0.020619118586182594, -0.036223217844963074, -0.008277066983282566, 0.0014610467478632927, -0.035086579620838165, 0.027743767946958542, 0.0041266679763793945, 0.001435772399418056, 0.059184834361076355, -0.01788199692964554, -0.004234089516103268, 0.0026776099111884832, 0.02614975906908512, 0.01960914023220539, 0.007144963834434748, -0.008779485709965229, -0.02499149553477764, -0.012516000308096409, -0.029237741604447365, -0.004965679254382849, -0.005318996962159872, -0.037137746810913086, 0.029932823032140732, -0.006058285478502512, -0.00998914334923029, 0.038063935935497284, -0.021313156932592392, -0.04187875986099243, -0.04647939279675484, -0.0549812875688076, -0.05532176420092583, -0.04422672092914581, 0.02741970494389534, 0.02413077838718891, -0.002158769639208913, -0.04594026505947113, -0.024051200598478317, -0.02461634762585163, -0.04616167023777962, 0.018750252202153206, -0.06693258136510849, -0.026413297280669212, 0.014904825948178768, 0.0346231646835804, -0.01836298406124115, 0.015857888385653496, 0.06777730584144592, 0.008577745407819748, -0.014324253425002098, -0.01670953258872032, 0.00318977446295321, 0.04847782105207443, 0.011058643460273743, 0.028842076659202576, -0.06756599247455597, 0.007651274558156729, 0.042742904275655746, 0.015091080218553543, -0.0566633976995945, 0.024395735934376717, -0.011324229650199413, -0.053128521889448166, 0.054373450577259064, 0.0018624699441716075, 0.016319693997502327, -0.019377563148736954, -0.009788458235561848, -0.008356727659702301, 0.022484559565782547, 0.031444378197193146, -0.020393408834934235, 0.08591567724943161, 0.019223859533667564, -0.011343524791300297, -0.054854102432727814, -0.008827684447169304, -0.004460694268345833, -0.01136874221265316, -0.02883811481297016, -0.036729712039232254, -0.04762281849980354, -0.09513693302869797, -0.03228256478905678, -0.021169433370232582, -0.00783239584416151, -0.03014582209289074, -0.008139528334140778, 0.03498368337750435, -0.04622463136911392, 0.025749539956450462, -0.05587413161993027, 0.020034821704030037, -0.02378377877175808, -0.01636410690844059, 0.0040871333330869675, 0.023187730461359024, -0.0033570481464266777, 0.003291162196546793, 0.028095833957195282, -0.02079513669013977, 0.04458371922373772, 0.021211575716733932, 0.02039174735546112, 0.006424843333661556, 0.015717003494501114, 0.0004060508217662573 ]
[ -0.09061724692583084, -0.010298623703420162, -0.01930270530283451, -0.0005188822979107499, 0.055918388068675995, -0.07265116274356842, -0.026407312601804733, 0.026886751875281334, -0.010856959968805313, -0.025478176772594452, 0.02824847586452961, -0.061717141419649124, -0.010104811750352383, -0.020221836864948273, 0.07226390391588211, -0.0007723797461949289, -0.026314232498407364, -0.04672159254550934, 0.010638722218573093, 0.01166586298495531, -0.0041643185541033745, -0.029062701389193535, -0.022121142596006393, -0.003252170979976654, 0.021022222936153412, 0.029589056968688965, 0.012941522523760796, -0.042733028531074524, -0.02222202531993389, -0.25427356362342834, 0.002736463909968734, 0.020151494070887566, 0.024308759719133377, -0.027056993916630745, -0.00821817945688963, 0.05237288773059845, 0.008674202486872673, 0.017632341012358665, -0.018985982984304428, 0.04931838810443878, 0.02517586387693882, 0.04528060927987099, -0.0527934804558754, -0.038234055042266846, 0.005250666756182909, -0.003379864851012826, 0.02743074670433998, -0.022269615903496742, 0.017523188143968582, 0.0500757060945034, -0.03824419528245926, 0.007217857055366039, -0.017684603109955788, -0.0137754762545228, -0.012105007655918598, 0.08017360419034958, 0.014557096175849438, 0.06339002400636673, -0.023904798552393913, 0.010517195798456669, 0.030120940878987312, -0.01967325620353222, -0.1454261839389801, 0.06909244507551193, 0.04439912736415863, 0.034266166388988495, -0.011536072939634323, -0.033027105033397675, -0.025744149461388588, 0.099126897752285, -0.0007194058853201568, -0.04628297686576843, -0.04006553813815117, 0.04627236723899841, 0.01250967662781477, -0.017298495396971703, 0.015889110043644905, 0.0009650909341871738, 0.013205275870859623, -0.02856498956680298, -0.03621319681406021, -0.03958272561430931, -0.012814129702746868, -0.031625229865312576, 0.0022488520480692387, -0.015551811084151268, 0.004107508808374405, 0.0848257914185524, 0.025277379900217056, -0.0025760973803699017, 0.0814177617430687, -0.037899404764175415, 0.04930505529046059, -0.00312992581166327, -0.07822200655937195, 0.0010537212947383523, -0.0035097666550427675, 0.023565731942653656, -0.01476026140153408, 0.47859987616539, -0.034209955483675, -0.007439248263835907, 0.047135137021541595, 0.03050077147781849, 0.02405986748635769, 0.004473750479519367, 0.016096651554107666, -0.015298771671950817, 0.023573676124215126, -0.04170374944806099, 0.03887488692998886, -0.005447112023830414, 0.10082344710826874, -0.04096793383359909, -0.00429075350984931, 0.010418427176773548, 0.024411702528595924, 0.00007898028707131743, -0.011877620592713356, 0.008423680439591408, -0.05020153895020485, 0.03497377038002014, 0.04147055745124817, 0.027124209329485893, 0.0297031681984663, -0.008943496271967888, 0.01989075168967247, 0.041843414306640625, 0.02307470515370369, 0.014807523228228092, 0.045744042843580246, -0.04731068015098572, -0.07031086832284927, -0.014433523640036583, -0.01921384409070015, 0.026446271687746048, 0.030566494911909103, -0.011508344672620296, 0.02563806064426899, 0.022847700864076614, -0.047052692621946335, -0.01222984679043293, 0.00017183713498525321, 0.00804482214152813, -0.03920307382941246, 0.07748085260391235, -0.007491169963032007, -0.021290602162480354, -0.03783787786960602, -0.05160821974277496, -0.026414234191179276, 0.004584964830428362, 0.013003744184970856, -0.031120676547288895, -0.0024010292254388332, 0.025492148473858833, 0.0645744651556015, -0.01756097935140133, -0.064494289457798, 0.019076477736234665, -0.004091658163815737, -0.04397103562951088, -0.06482945382595062, 0.07878247648477554, 0.046469707041978836, -0.07624425739049911, 0.012426218017935753, 0.006417486350983381, 0.03807884082198143, -0.06141764298081398, -0.016501734033226967, 0.028603291139006615, -0.006245659198611975, -0.0184426698833704, 0.05922350659966469, -0.017375575378537178, -0.009170043282210827, 0.006072717718780041, 0.05700043588876724, -0.009401785209774971, 0.022043319419026375, 0.037245988845825195, -0.06874501705169678, 0.026144709438085556, -0.05523911491036415, -0.06535349041223526, -0.08596867322921753, -0.006048714276403189, -0.014176643453538418, 0.019795265048742294, -0.049369607120752335, -0.03576493635773659, -0.06514136493206024, 0.09339670091867447, -0.017560262233018875, -0.013328561559319496, -0.022739246487617493, 0.008237751200795174, -0.0350455567240715, -0.014461961574852467, 0.03218593820929527, 0.04367911070585251, -0.013547731563448906, 0.03654639050364494, -0.05072270333766937, 0.03582366555929184, 0.028215788304805756, -0.04380142316222191, 0.05090911686420441, 0.009890785440802574, 0.0015649892156943679, -0.008064398542046547, 0.007387372199445963, 0.035164281725883484, 0.008127843961119652, -0.012468740344047546, 0.00211986037902534, -0.011892205104231834, 0.00016257530660368502, 0.03473702073097229, -0.011868607252836227, -0.02077295444905758, -0.0205523818731308, -0.33344945311546326, -0.04491541162133217, -0.025439361110329628, 0.003452213481068611, 0.03928350284695625, -0.07156762480735779, 0.016214638948440552, -0.0316397026181221, -0.029587363824248314, 0.004682136699557304, 0.05212390795350075, -0.0008665372733958066, -0.0048140063881874084, -0.09542564302682877, -0.043499115854501724, 0.0076740458607673645, -0.014835217967629433, -0.009717244654893875, -0.027596769854426384, 0.011142929084599018, -0.030275952070951462, -0.015304799191653728, -0.018550235778093338, -0.009739244356751442, -0.02893003076314926, -0.02073557861149311, 0.09438258409500122, 0.03406846895813942, 0.08546535670757294, -0.032892387360334396, 0.014535127207636833, 0.00027323642279952765, 0.037559013813734055, -0.0786612331867218, 0.0036671538837254047, -0.004478704649955034, -0.005602198652923107, -0.01935051567852497, 0.013276476413011551, -0.04270779713988304, -0.017720436677336693, -0.01101792324334383, -0.04116667062044144, -0.05210791900753975, -0.010423569008708, 0.015163633041083813, 0.0015336225042119622, -0.023571806028485298, -0.01473403163254261, 0.07181250303983688, 0.014329680241644382, 0.023111077025532722, 0.010814483277499676, 0.03377131000161171, 0.0066948942840099335, 0.0010642665438354015, -0.048621438443660736, -0.0018589510582387447, 0.018099196255207062, -0.04774797707796097, 0.042516715824604034, 0.04178522154688835, 0.06081201136112213, -0.04373927786946297, -0.011595540679991245, 0.034487009048461914, 0.011716402135789394, -0.01966882310807705, 0.03942195326089859, -0.022036440670490265, -0.018282510340213776, 0.13052557408809662, -0.003538295393809676, -0.03361562266945839, -0.006715783849358559, 0.04993504285812378, -0.011096501722931862, 0.010179228149354458, -0.007043064571917057, -0.03048170544207096, 0.04509248211979866, -0.013228805735707283, 0.04075917229056358, -0.024086149409413338, -0.02166691981256008, 0.05346423014998436, -0.029926331713795662, -0.06881141662597656, 0.0695023238658905, 0.005520164035260677, -0.0026426019612699747, -0.01179658155888319, -0.04323849827051163, -0.050347987562417984, 0.059130389243364334, 0.026708504185080528, -0.2298942655324936, 0.013130361214280128, 0.06532391905784607, 0.020596858114004135, 0.00732345599681139, 0.025596430525183678, 0.053803715854883194, -0.06811044365167618, 0.012012219056487083, 0.0042580426670610905, 0.014624140225350857, 0.03268422931432724, 0.010454812087118626, -0.011162195354700089, 0.023179583251476288, -0.03891870379447937, 0.02465485781431198, -0.0030449042096734047, 0.031955644488334656, 0.029358817264437675, 0.015476723201572895, -0.016558770090341568, 0.16338402032852173, 0.04749486595392227, -0.018964065238833427, 0.025929177179932594, -0.004512794315814972, 0.014918270520865917, 0.06173213943839073, 0.03093959391117096, -0.010704049840569496, 0.015416431240737438, 0.031138399615883827, -0.009747047908604145, 0.04385663568973541, -0.041194308549165726, -0.021147791296243668, 0.022858425974845886, 0.02072582021355629, -0.014752276241779327, -0.0017293065320700407, 0.013741866685450077, -0.05403002351522446, 0.007027585059404373, 0.0628238245844841, -0.013622147031128407, 0.0006097051664255559, -0.016918320208787918, -0.04623359069228172, -0.01300809346139431, -0.023920757696032524, -0.04342303425073624, 0.02629387192428112, -0.009637274779379368, -0.031059354543685913, 0.0636228621006012, -0.0028644625563174486, -0.0085834925994277, -0.005031006410717964, 0.018334316089749336, -0.0010345439659431577, -0.007646255195140839, 0.09280074387788773, -0.002774312626570463, 0.023786554113030434 ]
[ 0.009308213368058205, 0.037616513669490814, 0.003772192634642124, 0.03498784825205803, 0.033982932567596436, -0.02854320779442787, -0.009636195376515388, 0.03739282116293907, 0.00950032752007246, 0.0013979885261505842, 0.02577674575150013, 0.0014303786447271705, 0.0497053787112236, -0.024943821132183075, 0.053234297782182693, -0.015700260177254677, -0.0030277231708168983, -0.011202117428183556, 0.036093927919864655, 0.010156766511499882, -0.0522380955517292, 0.015612773597240448, 0.016351167112588882, 0.028208192437887192, -0.004613413475453854, 0.00827694870531559, -0.0385630801320076, 0.04030042141675949, 0.01654452085494995, -0.14219149947166443, -0.02145170420408249, 0.020510507747530937, 0.014004888013005257, 0.016501544043421745, 0.013848194852471352, 0.018350958824157715, -0.01151879969984293, 0.029695114120841026, -0.036939531564712524, -0.006057534832507372, 0.017591213807463646, 0.004818466026335955, 0.0005580363795161247, -0.00006408135959645733, -0.013054142706096172, -0.039226457476615906, 0.0030130157247185707, 0.00047556112986057997, -0.03229731693863869, 0.019738443195819855, -0.025181639939546585, -0.009007541462779045, -0.019814349710941315, 0.007839486002922058, -0.001528229913674295, -0.007994619198143482, -0.007906769402325153, -0.005330804735422134, 0.03509123623371124, -0.00930771417915821, 0.002195467706769705, 0.013009384274482727, -0.043694332242012024, -0.05110691860318184, 0.016715170815587044, -0.019840246066451073, 0.012041783891618252, -0.0042626201175153255, 0.01593010500073433, 0.014520812779664993, -0.04528595507144928, 0.01003242563456297, -0.01603899523615837, -0.027188215404748917, 0.020312432199716568, -0.00801823753863573, 0.0007230164483189583, -0.012466375716030598, -0.00547588337212801, -0.009285250678658485, -0.06775347888469696, -0.013042060658335686, 0.00917778443545103, -0.012028024531900883, -0.0017589856870472431, -0.0052174669690430164, 0.025720257312059402, 0.014169943518936634, 0.03336062654852867, 0.0033069243654608727, 0.035964351147413254, 0.000037184698157943785, 0.02144937962293625, -0.005046523176133633, -0.05874403566122055, -0.028119733557105064, 0.008071118965744972, -0.005398499313741922, 0.0072140442207455635, 0.8391255736351013, 0.04968690127134323, 0.047721996903419495, 0.011415648274123669, -0.02730492874979973, 0.04304678365588188, 0.004389297217130661, -0.02655431628227234, 0.025070248171687126, 0.037749696522951126, -0.057476215064525604, 0.02714475989341736, -0.01107020117342472, 0.013398576527833939, -0.024306194856762886, 0.006045232526957989, 0.05566040053963661, 0.013932008296251297, 0.0002282984060002491, 0.0019399556331336498, 0.027370553463697433, 0.045127131044864655, 0.018692215904593468, 0.002435356844216585, 0.011655833572149277, 0.01999736949801445, -0.1564011126756668, -0.017401210963726044, -6.68297925801241e-33, 0.06729817390441895, 0.012544781900942326, -0.02365749143064022, 0.004322452936321497, 0.013498972170054913, -0.004890282638370991, -0.03322218358516693, 0.025953218340873718, -0.018987897783517838, -0.04338423162698746, -0.0027941945008933544, -0.02456948347389698, -0.006864919792860746, -0.017074929550290108, 0.030046075582504272, -0.033232562243938446, -0.01010041031986475, 0.053120970726013184, -0.021212095394730568, 0.04800715297460556, -0.003900276031345129, -0.008661869913339615, 0.015571363270282745, -0.020262179896235466, 0.015543092042207718, 0.05988018214702606, -0.010534696280956268, 0.04423264414072037, 0.019498903304338455, -0.052010856568813324, 0.007735732942819595, 0.011486254632472992, -0.008257774636149406, -0.019872134551405907, 0.0009917644783854485, -0.042192768305540085, -0.05369788780808449, 0.00901513546705246, -0.04689126834273338, -0.036705225706100464, -0.0027495569083839655, 0.04402950406074524, -0.015567006543278694, -0.021599076688289642, 0.0058302925899624825, -0.030085692182183266, 0.0010049943812191486, -0.0033070442732423544, 0.049748003482818604, 0.0020801331847906113, -0.006798908580094576, -0.005163733381778002, 0.00013510120334103703, 0.0016551925800740719, -0.027281146496534348, 0.0226999931037426, 0.008975991979241371, 0.022374475374817848, -0.011358868330717087, 0.030822178348898888, 0.017635228112339973, -0.009634220041334629, -0.03826618194580078, 0.056219685822725296, 0.010217848233878613, 0.014012964442372322, -0.015407241880893707, 0.018269430845975876, 0.018383963033556938, -0.009604026563465595, -0.0701821893453598, 0.03615943714976311, -0.013560405001044273, 0.004884097259491682, -0.0038954720366746187, -0.012469296343624592, -0.035084068775177, -0.0012402995489537716, 0.02419409342110157, 0.02511228621006012, -0.00227669021114707, -0.014561310410499573, 0.009225607849657536, -0.021714990958571434, -0.025193791836500168, -0.008906912058591843, 0.010467886924743652, -0.016401590779423714, -0.021037373691797256, 0.012676523998379707, 0.013467250391840935, 0.03262432664632797, 0.0034354988019913435, -0.020653938874602318, -0.0030931993387639523, 6.691627223014616e-33, -0.03598526492714882, -0.03648015856742859, 0.004209285136312246, 0.01992889493703842, 0.0003406906616874039, -0.003978288732469082, -0.018887212499976158, 0.013965869322419167, -0.050429586321115494, -0.0013271659845486283, 0.017327632755041122, -0.01322058867663145, -0.016250966116786003, 0.015194195322692394, 0.04861593246459961, -0.002116258954629302, 0.03430061787366867, -0.006474245339632034, 0.005205386783927679, 0.0353497751057148, 0.0033502294681966305, -0.0005077035166323185, 0.011529991403222084, -0.007398700341582298, 0.04142249375581741, 0.033022914081811905, 0.006748453248292208, -0.017772706225514412, 0.024034373462200165, -0.03054216131567955, -0.017396066337823868, 0.009874839335680008, -0.008035020902752876, -0.023285211995244026, -0.003122850088402629, 0.00047039095079526305, -0.02906617894768715, 0.021986089646816254, 0.017043130472302437, 0.008955169469118118, 0.048934455960989, 0.009541797451674938, -0.005635545589029789, 0.035049039870500565, -0.011855168268084526, 0.0032791094854474068, 0.006328131537884474, 0.022216027602553368, -0.01707041636109352, 0.03438225015997887, 0.009530648589134216, -0.03560240939259529, 0.03815441578626633, -0.010718025267124176, 0.015921620652079582, -0.009682904928922653, -0.012622482143342495, 0.014381920918822289, -0.06983225047588348, -0.017380675300955772, -0.0625898540019989, 0.02326939068734646, -0.004772034008055925, -0.009253156371414661, -0.03127169981598854, -0.011798924766480923, -0.07300839573144913, -0.0022236574441194534, -0.028990445658564568, 0.009869527071714401, 0.01779239811003208, 0.012307560071349144, -0.043205827474594116, -0.013028578832745552, 0.027103999629616737, -0.02067001722753048, -0.022990496829152107, 0.011227129027247429, -0.006750289350748062, 0.016762252897024155, -0.01284595113247633, 0.020207542926073074, 0.0008157959091477096, -0.0036706021055579185, -0.027591435238718987, -0.00305618392303586, -0.023474745452404022, 0.019907498732209206, 0.027790792286396027, -0.03313354030251503, -0.017737383022904396, -0.055098455399274826, -0.002077643061056733, 0.01705670729279518, -0.00420065363869071, -1.2559430828673612e-8, -0.033452246338129044, -0.006454647984355688, -0.04693368077278137, 0.015363574028015137, 0.030485019087791443, -0.005850154906511307, -0.01626421883702278, -0.01494872011244297, -0.056255120784044266, 0.02107650227844715, 0.033547013998031616, 0.011890784837305546, -0.000511696154717356, -0.027638178318738937, 0.003953312058001757, -0.06124882400035858, -0.007250162307173014, 0.0233448538929224, 0.024975495412945747, -0.004639434162527323, 0.01739700511097908, 0.007178265601396561, 0.012406163848936558, 0.032510507851839066, 0.01722792163491249, 0.00032484016264788806, 0.02173163741827011, -0.0675039142370224, 0.003936359193176031, -0.027454320341348648, 0.04373648390173912, -0.039264436811208725, -0.028170270845294, 0.017733050510287285, -0.015428097918629646, -0.030332230031490326, 0.017665859311819077, -0.00769549747928977, 0.039932988584041595, 0.03714317828416824, 0.024866774678230286, 0.0012481679441407323, -0.03444235771894455, -0.033862680196762085, -0.030771009624004364, -0.018315304070711136, -0.017858702689409256, 0.019700465723872185, -0.03057205304503441, -0.04183100908994675, 0.011195430532097816, -0.012527630664408207, 0.009027756750583649, 0.021372785791754723, 0.03679109737277031, 0.03705271705985069, 0.045901551842689514, -0.01239133719354868, -0.023736771196126938, 0.016070175915956497, 0.027599792927503586, 0.007366849575191736, -0.006785647477954626, -0.03595193848013878 ]
mercurial-hg-bisec
https://markhneedham.com/blog/2009/11/14/mercurial-hg-bisec
false
2009-11-14 00:17:57
TDD: Combining the when and then steps
[ "testing" ]
[ "Testing" ]
I've written before about http://www.markhneedham.com/blog/2009/04/13/tdd-balancing-dryness-and-readability/[my favoured approach of writing tests in such a way that they have clear 'Given/When/Then' sections] and something which I come across quite frequently is tests where the latter steps have been combined into one method call which takes care of both of these. An example of this which I came across recently was roughly like this: [source,java] ---- @Test public void shouldCalculatePercentageDifferences() { verifyPercentage(50, 100, 100); verifyPercentage(100, 100, 0); verifyPercentage(100, 50, -50); } ---- [source,java] ---- private void verifyPercentage(int originalValue, int newValue, int expectedValue) { assertEquals(expectedValue, new PercentageCalculator().calculatePercentage(originalValue, newValue)); } ---- This code is certainly adhering to the DRY principle although it took us quite a while to work out what the different numbers being passed into 'verifyPercentage' were supposed to represent. With this type of test I think it makes more sense to have a bit of duplication to make it easier for us to understand the test. We changed this test to have its assertions inline and make use of the http://code.google.com/p/hamcrest/[Hamcrest] library to do those assertions: [source,java] ---- @Test public void shouldCalculatePercentageDifferences() { assertThat(new PercentageCalculator().calculatePercentage(50, 100), is(100)); assertThat(new PercentageCalculator().calculatePercentage(100, 100), is(0)); assertThat(new PercentageCalculator().calculatePercentage(100, 50), is(-50)); } ---- I think we may have also created a field to instantiate 'PercentageCalculator' so that we didn't have to instantiate that three times. Although we end up writing more code than in the first example I don't think it's a problem because it's now easier to understand and we'll be able to resolve any failures more quickly than we were able to previously. As Michael Feathers points out during Jay Fields' 'http://blog.jayfields.com/2009/06/developer-testing-welcome-to-beta-test.html[Beta Test]' presentation we need to remember why we try and adhere to the http://en.wikipedia.org/wiki/Don%27t_repeat_yourself[DRY principle] in the first place. To paraphrase his comments: ____ In production code if we don't adhere to the DRY principle then we might make a change to a piece of code and we won't know if there's another place where we need to make a change as well. In test code the tests always tell us where we need to make changes because the tests will break. ____
null
null
[ 0.024168673902750015, -0.012623118236660957, -0.0498318150639534, 0.04590360075235367, 0.058175716549158096, 0.000741801573894918, 0.04037095233798027, -0.0011333213187754154, -0.008243631571531296, -0.003102463437244296, 0.0022056966554373503, 0.0039461106061935425, -0.0678473636507988, 0.01059441827237606, -0.009981940500438213, 0.08169159293174744, 0.0912390872836113, -0.020551040768623352, 0.03149314224720001, 0.0004438150208443403, 0.007119722664356232, 0.035690292716026306, -0.007441343739628792, 0.009379290975630283, 0.049943000078201294, 0.021050535142421722, 0.025766883045434952, -0.026932833716273308, -0.053628843277692795, -0.029095211997628212, 0.029476294293999672, 0.015565416775643826, 0.019783666357398033, 0.003135775215923786, -0.0047424170188605785, -0.006117245648056269, -0.012431265786290169, 0.019745292142033577, -0.003510185517370701, 0.018016869202256203, -0.04864891618490219, 0.004438376519829035, -0.009596141055226326, -0.0033923040609806776, -0.06633752584457397, -0.005727830808609724, -0.009362125769257545, -0.010966897010803223, -0.0444958359003067, 0.004632117692381144, -0.06975364685058594, 0.032299574464559555, -0.0460013821721077, 0.009550306014716625, 0.004946175962686539, 0.0660102590918541, 0.01991814561188221, -0.08627782762050629, 0.024941718205809593, -0.048417024314403534, 0.018740348517894745, -0.007384773809462786, -0.03675944730639458, 0.033692147582769394, 0.008868091739714146, 0.00403171218931675, -0.007761506363749504, 0.03766440972685814, -0.04863724857568741, -0.018938859924674034, -0.026359597221016884, -0.00566093809902668, -0.018953837454319, -0.03360545262694359, -0.0024197176098823547, -0.021391432732343674, -0.01240080688148737, 0.046832211315631866, -0.004066298250108957, 0.048673346638679504, -0.027331700548529625, -0.010434398427605629, 0.03577499836683273, 0.0045760683715343475, 0.021531913429498672, -0.018802473321557045, -0.006698797456920147, -0.02099449187517166, -0.003797267097979784, 0.0665692389011383, 0.0024490191135555506, -0.027665408328175545, -0.0014420454390347004, 0.005943413358181715, -0.00583072192966938, -0.006956581491976976, 0.03350188955664635, -0.03261249139904976, 0.03522324934601784, 0.0045684464275836945, -0.03356901928782463, -0.023481398820877075, 0.010560844093561172, 0.014961367473006248, -0.06420709192752838, 0.03514606133103371, -0.037048522382974625, -0.035389870405197144, 0.0052028740756213665, 0.03212536498904228, -0.0317419096827507, 0.03413858637213707, -0.005754102487117052, 0.012120445258915424, -0.0655207633972168, 0.03096896782517433, -0.006759475450962782, -0.01572062075138092, -0.01130379643291235, 0.02643793448805809, 0.0153478579595685, 0.019092246890068054, 0.019952090457081795, 0.0854368507862091, -0.025827251374721527, 0.08056524395942688, -0.03501324728131294, 0.06973904371261597, -0.022050324827432632, -0.02693762630224228, -0.015066619962453842, 0.04101049527525902, 0.027998508885502815, 0.001350922742858529, -0.01992538571357727, -0.0038756357971578836, -0.023939788341522217, -0.021301716566085815, 0.055034250020980835, 0.03439212590456009, -0.025401998311281204, -0.02077649161219597, 0.005564563442021608, 0.005453716963529587, -0.02550201676785946, 0.018542809411883354, 0.011407346464693546, -0.01154929120093584, -0.022729357704520226, 0.050431955605745316, 0.01200330164283514, 0.04863500967621803, 0.0419238805770874, -0.046379052102565765, 0.024953210726380348, 0.04614171385765076, 0.005134806968271732, 0.018123263493180275, -0.019566502422094345, 0.03897799551486969, 0.02141006477177143, 0.04923659563064575, -0.008813319727778435, 0.033792126923799515, 0.015976376831531525, 0.020226184278726578, -0.021408531814813614, 0.06074097380042076, -0.025509312748908997, -0.011676358990371227, -0.03872063010931015, -0.0795736014842987, 0.06193241849541664, -0.043909378349781036, -0.007700954098254442, 0.040717218071222305, 0.05041205510497093, -0.00712424423545599, 0.0512533076107502, 0.017244817689061165, -0.07773134112358093, 0.018877530470490456, 0.03386475890874863, 0.01765567995607853, 0.007345408666878939, -0.014674884267151356, 0.05673249065876007, 0.017033960670232773, -0.029641183093190193, 0.014619804918766022, -0.07774459570646286, -0.06953701376914978, 0.006553728599101305, -0.013397508300840855, 0.061366818845272064, -0.045063722878694534, -0.010759844444692135, 0.06261032819747925, 0.026808548718690872, 0.02379748411476612, 0.031939465552568436, -0.027614902704954147, 0.0007194561185315251, -0.025361165404319763, -0.02498103305697441, 0.06895086169242859, 0.04085817188024521, -0.0425628200173378, -0.03905816003680229, 0.012146012857556343, 0.002518501365557313, 0.032544903457164764, 0.010915742255747318, 0.022998034954071045, 0.01770889014005661, 0.019384684041142464, 0.06170988827943802, -0.02567407675087452, 0.08458858728408813, -0.07432562857866287, 0.013622677884995937, 0.020130736753344536, -0.001132018631324172, -0.0024134160485118628, -0.0044116247445344925, 0.09852472692728043, 0.036685943603515625, -0.04558593034744263, -0.06151660159230232, 0.018450619652867317, -0.013242575339972973, -0.04037607088685036, 0.006133233197033405, -0.021862301975488663, 0.012671557255089283, -0.0327807180583477, -0.02663518488407135, 0.013615014962852001, 0.039135534316301346, -0.01774004101753235, 0.027371035888791084, 0.06550562381744385, -0.029947863891720772, 0.06943488866090775, -0.018201341852545738, 0.006009235512465239, -0.01601804420351982, -0.03834781050682068, -0.04194341599941254, 0.000783812312874943, 0.010920398868620396, -0.02784164436161518, 0.05332358926534653, -0.03371592238545418, -0.05203043296933174, -0.021949507296085358, -0.0322575569152832, 0.02433253638446331, 0.03732767701148987, 0.04800887778401375, -0.0044915028847754, 0.046862173825502396, 0.038281697779893875, -0.0023380231577903032, -0.022323520854115486, -0.058871228247880936, -0.03981810808181763, 0.025726735591888428, -0.011339508928358555, 0.058200690895318985, 0.017195845022797585, 0.03443552926182747, 0.037767309695482254, 0.02772464044392109, -0.020931584760546684, -0.0031343474984169006, 0.026018327102065086, 0.01051365677267313, -0.02605455182492733, 0.008448903448879719, -0.038047805428504944, 0.03234204649925232, -0.03330780938267708, -0.028775084763765335, 0.02395075559616089, -0.08954872936010361, 0.03833246976137161, -0.08757270872592926, -0.05142033472657204, 0.026320889592170715, 0.03204435110092163, 0.04227660223841667, 0.008107312023639679, 0.02131248265504837, 0.0966639369726181, -0.011939993128180504, 0.01140514761209488, 0.027566421777009964, 0.010860799811780453, 0.03364934027194977, 0.002846211427822709, -0.019659098237752914, 0.02743558958172798, 0.011920361779630184, -0.012012605555355549, -0.05290299281477928, 0.017906423658132553, -0.0114588038995862, -0.25693950057029724, 0.046178001910448074, -0.03392715007066727, -0.05013205483555794, 0.014205642975866795, -0.033218856900930405, 0.026767492294311523, -0.030843516811728477, -0.0258803628385067, 0.061618056148290634, -0.047813743352890015, -0.039382681250572205, -0.020638246089220047, 0.059792764484882355, -0.011134297586977482, -0.0011521164560690522, 0.023177647963166237, -0.04952765628695488, 0.035711031407117844, 0.06646176427602768, 0.0011275404831394553, -0.08227120339870453, 0.0009707125136628747, 0.04029142111539841, 0.02010025829076767, 0.05747464671730995, -0.08491621911525726, 0.051844388246536255, -0.0460098534822464, 0.004916789010167122, 0.025490999221801758, -0.012635871767997742, 0.000891001196578145, -0.007402023300528526, -0.005650663282722235, -0.007047720719128847, 0.00848003663122654, 0.020885562524199486, 0.0020861232187598944, 0.03266117349267006, -0.02357558347284794, -0.05655541643500328, -0.021014774218201637, 0.005610918626189232, 0.05540425702929497, -0.009572283364832401, -0.048111606389284134, -0.02078877203166485, -0.03779032826423645, 0.07621526718139648, -0.041279785335063934, 0.0015106035862118006, -0.035147082060575485, -0.00970747321844101, -0.03823602572083473, -0.03236745670437813, 0.01815658248960972, -0.024025199934840202, -0.012194711714982986, -0.014567709527909756, -0.039115551859140396, -0.029353002086281776, -0.018995068967342377, -0.04773056134581566, -0.004131135530769825, -0.07161258906126022, -0.054460540413856506, -0.003899386152625084, 0.05258241668343544, 0.01199630368500948, -0.02498215064406395, -0.010588102042675018, 0.009923194535076618, -0.11163719743490219, -0.017566697672009468, -0.05130778253078461, -0.02281806617975235, -0.03291703015565872, -0.039470821619033813, 0.05270364508032799, -0.04334167391061783, -0.02405787818133831, 0.045954398810863495, 0.006206337362527847, 0.04181506484746933, -0.01737140119075775, 0.003961688838899136, 0.00511633837595582, 0.007575926370918751, 0.022637341171503067, 0.07647694647312164, -0.010097548365592957, -0.0107235973700881, -0.04698174446821213, 0.0346195213496685, 0.08591735363006592, 0.011110047809779644, 0.002583591267466545, 0.021651752293109894, 0.008589551784098148, 0.035578593611717224, -0.06617003679275513, 0.026963533833622932, -0.01889696903526783, 0.0029595177620649338, -0.021447129547595978, -0.07026250660419464, 0.04276708513498306, 0.023249082267284393, 0.026537716388702393, -0.012467917054891586, -0.024098854511976242, -0.011883774772286415, -0.013460024259984493, -0.02841675654053688, -0.03746291622519493, -0.009015659801661968, 0.01247727032750845, -0.03587135672569275, 0.00893507432192564, -0.04667433351278305, -0.007181334309279919, 0.004379205871373415, -0.03552016615867615, -0.04850155487656593, -0.051968082785606384, -0.003945496864616871, -0.021640606224536896, 0.008606000803411007, 0.024954600259661674, -0.020476922392845154, 0.04794662445783615, 0.02474334090948105, -0.027234448119997978, -0.013008656911551952, 0.001219185651279986, -0.01228308118879795, -0.01990971341729164, -0.011503991670906544, -0.00876529049128294, 0.009808273985981941, -0.011148742400109768, -0.0005468546296469867, -0.022248391062021255, 0.06862413883209229, -0.029980868101119995, 0.028421539813280106, -0.002356518292799592, -0.005771480966359377, 0.01032576709985733, 0.04102383181452751, -0.04803819954395294, 0.01471020095050335, -0.031808096915483475, -0.04387309402227402, -0.023418761789798737, 0.021480724215507507, -0.020319724455475807, -0.05612872168421745, -0.04000430554151535, -0.0013966450933367014, -0.022755712270736694, -0.04454723373055458, -0.050672497600317, 0.028198258951306343, 0.06418732553720474, -0.031157562509179115, 0.04738342761993408, -0.04582821577787399, -0.020588286221027374, -0.006218385882675648, -0.04330020025372505, -0.022533632814884186, 0.048466332256793976, 0.01250661350786686, 0.0025502166245132685, 0.024892058223485947, 0.021579060703516006, 0.03100067377090454, 0.005410093814134598, -0.010691720992326736, -0.03324168920516968, -0.00313353817909956, 0.01888718269765377, 0.037372224032878876, -0.02800833433866501, -0.0008437762153334916, 0.0049788616597652435, -0.040287621319293976, -0.004069440998136997, -0.01811923272907734, -0.02857876941561699, -0.007860043086111546, 0.04865024983882904, -0.04422376677393913, -0.0972193032503128, 0.018308885395526886, 0.03827539086341858, 0.012505956925451756, -0.0006268589058890939, 0.0012367672752588987, -0.013796726241707802, -0.028432931751012802, 0.02553827501833439, 0.07458588480949402, -0.06193908676505089, 0.025745801627635956, -0.004029630217701197, -0.014215821400284767, 0.021068792790174484, 0.003386374795809388, -0.052455171942710876, -0.03844967111945152, 0.0005113861989229918, -0.009482127614319324, -0.0438413992524147, -0.03762934356927872, -0.027684256434440613, 0.020771030336618423, -0.025977371260523796, -0.013518553227186203, 0.019132807850837708, -0.010171688161790371, -0.03122590482234955, -0.004240467678755522, -0.002543805167078972, -0.014879620634019375, 0.0029681057203561068, 0.029919221997261047, -0.03395424410700798, 0.0054936958476901054, -0.004993982147425413, 0.04909874126315117, 0.02182106487452984, 0.006631405092775822, -0.03818806633353233, -0.038011714816093445, 0.0017707929946482182, -0.02648685686290264, 0.016393903642892838, -0.0016505374806001782, -0.006130604539066553, -0.014603168703615665, -0.012560881674289703, -0.019878296181559563, -0.004694369621574879, -0.008158446289598942, -0.05575597286224365, 0.02982601709663868, 0.08976989984512329, 0.0143557945266366, 0.0520620159804821, -0.0004020677297376096, 0.01346700917929411, 0.05409231409430504, -0.06241307407617569, -0.02035805769264698, -0.036611564457416534, -0.0777522400021553, 0.016744505614042282, 0.014174185693264008, 0.04170141741633415, -0.04035322368144989, 0.0498705618083477, 0.0024425541050732136, 0.029554229229688644, 0.035905174911022186, 0.0058390675112605095, 0.015460732392966747, -0.04047321900725365, 0.03910139948129654, -0.0884341150522232, -0.01590978540480137, 0.05566897615790367, 0.02676580660045147, -0.016887284815311432, -0.03197498247027397, -0.02608952857553959, 0.041234709322452545, -0.048927173018455505, -0.0018456917023286223, 0.04104726016521454, -0.0064795431680977345, 0.008872193284332752, 0.04308239370584488, -0.05436108261346817, 0.01939523220062256, 0.011744431219995022, -0.0627712830901146, -0.03927237167954445, -0.03197913616895676, 0.05007229372859001, 0.05799781158566475, -0.009474295191466808, -0.02157517336308956, 0.039790067821741104, 0.11070563644170761, 0.02507365681231022, 0.047438010573387146, 0.008079888299107552, 0.0003107852826360613, 0.04168182238936424, 0.04024999961256981, -0.006272089201956987, -0.013487109914422035, 0.022801725193858147, -0.011720632202923298, -0.03496866300702095, 0.029413370415568352, 0.0017342610517516732, -0.02492005191743374, -0.019970832392573357, 0.05223596841096878, 0.002059169113636017, -0.03044905513525009, -0.07621220499277115, -0.003897029208019376, -0.05281641706824303, -0.04242633655667305, -0.012378189712762833, 0.007109855767339468, -0.03428259864449501, 0.06282646209001541, -0.0239579901099205, 0.011110972613096237, 0.05576471984386444, 0.004384192638099194, -0.016396645456552505, -0.009027446620166302, 0.0728464424610138, 0.08164054900407791, 0.014790276065468788, -0.0004898552433587611, 0.029339557513594627, 0.0038433035369962454, -0.0512198768556118, -0.000886387366335839, -0.03210506960749626, 0.014497684314846992, -0.012097541242837906, 0.02568167634308338, 0.05588840693235397, 0.006990601308643818, 0.0634913519024849, -0.04494224488735199, 0.011801891960203648, 0.011110487394034863, 0.06432574987411499, 0.007641448173671961, 0.05593745782971382, -0.0035149415489286184, -0.0018600713228806853, 0.007895827293395996, -0.023491574451327324, 0.050449155271053314, -0.03395276516675949, -0.032343365252017975, 0.021357759833335876, 0.0023846072144806385, 0.024499740451574326, -0.006520717404782772, 0.009066554717719555, 0.06567168235778809, 0.0011060837423428893, 0.021467020735144615, 0.000905812019482255, 0.012810460291802883, 0.02753533236682415, -0.03800232335925102, 0.0024693324230611324, -0.03705207630991936, -0.0278734490275383, -0.003266085172072053, -0.012295376509428024, -0.006506928242743015, -0.010501776821911335, 0.015582307241857052, 0.005396358668804169, 0.029761675745248795, 0.02730044536292553, 0.020780006423592567, -0.05148647353053093, -0.06859297305345535, -0.03493492305278778, -0.053144555538892746, -0.0061805699951946735, 0.005229232832789421, 0.03463749215006828, -0.022005734965205193, -0.05399642139673233, -0.0005030259490013123, -0.033768780529499054, -0.019257590174674988, 0.044289372861385345, -0.020953407511115074, -0.01970076933503151, 0.04077310115098953, 0.019310979172587395, 0.019451770931482315, -0.0013899736804887652, 0.04126147925853729, 0.004443462938070297, 0.013906640000641346, -0.04116905480623245, -0.029138684272766113, 0.03953411802649498, 0.010793101042509079, 0.03555586189031601, -0.06770756840705872, -0.006387877278029919, 0.018306557089090347, 0.015307608991861343, -0.054895009845495224, 0.02942439541220665, -0.010203514248132706, -0.02811366878449917, 0.041566673666238785, -0.0007406920776702464, 0.01129642128944397, -0.002810925943776965, -0.017965374514460564, -0.004649932961910963, -0.005103190895169973, 0.042494919151067734, -0.03252442181110382, 0.09274598211050034, 0.006886809598654509, -0.03364994376897812, -0.00776878884062171, 0.03909679129719734, 0.0033501069992780685, -0.004204508848488331, -0.018993275240063667, -0.04486171156167984, -0.05393296480178833, -0.0643192008137703, 0.010846066288650036, 0.008050731383264065, -0.03169628232717514, -0.02447877638041973, 0.017885372042655945, 0.01165721844881773, -0.03671637922525406, 0.04787358269095421, -0.045478809624910355, 0.04159700497984886, -0.03993415832519531, -0.04341161996126175, 0.03943851217627525, 0.02756456844508648, -0.018780438229441643, 0.028434406965970993, 0.038669709116220474, -0.037782397121191025, -0.020336613059043884, -0.010880228132009506, 0.019486919045448303, 0.04165239259600639, -0.009092703461647034, -0.04601114243268967 ]
[ -0.11217707395553589, 0.0024222710635513067, -0.042017675936222076, -0.027706287801265717, 0.010196167975664139, -0.01838078163564205, 0.024501299485564232, 0.02129167877137661, -0.007943264208734035, -0.0062521081417799, -0.0015585904475301504, -0.059499628841876984, -0.019108228385448456, 0.036569926887750626, 0.0681757852435112, -0.008098054677248001, -0.01646387204527855, -0.04144087806344032, 0.0039710733108222485, 0.032167334109544754, 0.06891204416751862, 0.01266469806432724, -0.02956661768257618, -0.014993859454989433, 0.05024790018796921, 0.06146913766860962, 0.023818252608180046, -0.04286903515458107, 0.007056583650410175, -0.2191605418920517, 0.0038354017306119204, -0.006361079402267933, 0.038264043629169464, -0.06489767134189606, -0.03679971769452095, 0.05104156583547592, 0.03037293627858162, 0.02355974167585373, 0.0010165617568418384, 0.030895916745066643, -0.007319523487240076, 0.03502338379621506, -0.03328776732087135, -0.014348928816616535, -0.003331296145915985, -0.000920104852411896, -0.012021748349070549, -0.0021202920470386744, 0.00544331781566143, 0.0283705685287714, 0.006113578099757433, -0.00793023593723774, 0.019867612048983574, -0.03372034803032875, -0.031455542892217636, -0.009076012298464775, 0.07484996318817139, 0.1208905577659607, 0.04337102547287941, 0.024062704294919968, 0.02650834619998932, -0.017826799303293228, -0.12962433695793152, 0.057735662907361984, 0.04908084496855736, 0.028603460639715195, 0.008560066111385822, -0.032968394458293915, -0.024468671530485153, 0.08781469613313675, 0.012018106877803802, 0.02422998659312725, -0.020028963685035706, 0.09313305467367172, -0.00043673839536495507, -0.019363146275281906, -0.008475147187709808, 0.030234113335609436, 0.027709651738405228, -0.035467226058244705, -0.028486452996730804, -0.017961502075195312, 0.010977575555443764, -0.011329729110002518, -0.025567349046468735, 0.017532430589199066, -0.025142159312963486, 0.05969172716140747, 0.04910686984658241, 0.01836640201508999, 0.0465051494538784, -0.020651400089263916, 0.009089410305023193, 0.004160682205110788, -0.060689527541399, 0.007143624126911163, -0.01901942677795887, 0.006828914862126112, 0.003210122464224696, 0.410762220621109, -0.02277563512325287, -0.008397124707698822, -0.007239675149321556, 0.046631939709186554, -0.0033888486213982105, -0.028380412608385086, -0.005986880511045456, -0.06471046805381775, -0.010262194089591503, -0.0326269157230854, 0.010114714503288269, -0.0012225371319800615, 0.07410747557878494, -0.039345480501651764, -0.011132683604955673, 0.01940387673676014, 0.03803287446498871, 0.01346637774258852, 0.011190067045390606, 0.02156282588839531, 0.0007258720579557121, -0.029431581497192383, 0.03354058414697647, -0.022242769598960876, 0.012817226350307465, -0.038099367171525955, 0.0006725654820911586, 0.06185004487633705, 0.018909072503447533, 0.0074270619079470634, 0.06039998307824135, -0.06548742204904556, -0.09027666598558426, -0.023177942261099815, 0.007941641844809055, 0.0153994495049119, 0.03911013528704643, -0.014150592498481274, 0.026569869369268417, 0.013471645303070545, -0.004133837763220072, -0.005599102005362511, 0.01849566400051117, -0.05293677747249603, -0.052105776965618134, 0.11892702430486679, -0.015507876873016357, -0.02170456014573574, 0.01848108321428299, -0.03794536739587784, 0.013255489990115166, 0.04580084979534149, -0.012448513880372047, -0.08318748325109482, 0.021100886166095734, 0.022036472335457802, 0.042382653802633286, 0.002183993114158511, -0.007483955938369036, -0.026795759797096252, -0.012147792614996433, -0.004169422667473555, -0.0836813673377037, 0.06974465399980545, 0.029735781252384186, -0.03170819580554962, -0.015742888674139977, 0.014260401949286461, 0.006508663762360811, -0.06518594920635223, 0.028141872957348824, 0.016850918531417847, -0.04165813699364662, -0.026563342660665512, 0.027032500132918358, -0.02828073315322399, -0.004785507917404175, 0.022615225985646248, 0.03534965589642525, 0.03596634045243263, 0.06758840382099152, -0.009347397834062576, -0.06389264762401581, 0.0625285729765892, -0.011265072971582413, -0.06159830093383789, -0.05051865801215172, -0.011911296285688877, -0.024919116869568825, 0.020920298993587494, 0.00010286526958225295, -0.06178219988942146, -0.116085484623909, 0.1014356017112732, -0.04460441321134567, -0.04837809503078461, 0.026721464470028877, -0.012157896533608437, -0.03685550391674042, -0.014725364744663239, 0.0022632551845163107, 0.014229544438421726, 0.003460506908595562, 0.050397828221321106, -0.062301915138959885, 0.07026538252830505, 0.050289496779441833, -0.07952462136745453, 0.1041228398680687, 0.039476413279771805, -0.0154326893389225, -0.022569360211491585, -0.03351530805230141, 0.04501280188560486, -0.007594158407300711, 0.00748451380059123, 0.015288337133824825, 0.008067021146416664, -0.008641882799565792, 0.029586510732769966, -0.029518267139792442, -0.021434016525745392, 0.005899899173527956, -0.33847516775131226, -0.0826742872595787, 0.008925182744860649, -0.028713909909129143, 0.062047094106674194, -0.024416014552116394, -0.003949542995542288, 0.002384071471169591, -0.039857711642980576, -0.0018460217397660017, 0.06992343813180923, 0.00641997903585434, -0.025347424671053886, -0.1025424376130104, 0.020147833973169327, -0.012431393377482891, -0.03706149756908417, -0.0406440906226635, -0.0031379940919578075, -0.0004565356648527086, 0.016161547973752022, 0.0015637092292308807, -0.031037084758281708, -0.0507517047226429, 0.047398727387189865, -0.047904521226882935, 0.07641199976205826, -0.0468149334192276, 0.05908504128456116, -0.04405150189995766, -0.0005869591259397566, -0.029020309448242188, -0.0030086003243923187, -0.07151523232460022, 0.012438541278243065, -0.027607757598161697, -0.06057646498084068, -0.016082610934972763, 0.0230328980833292, -0.023579087108373642, -0.04384853318333626, 0.029777290299534798, -0.05943968892097473, -0.05915450677275658, -0.0244753398001194, -0.0019831270910799503, -0.01623488962650299, -0.00646242406219244, -0.008296424522995949, 0.042858850210905075, 0.003013099078088999, -0.012376377359032631, -0.0020539723336696625, 0.001583593082614243, 0.028661468997597694, -0.042155392467975616, -0.06792724132537842, 0.010437892749905586, -0.0039018827956169844, -0.044135913252830505, 0.02970695309340954, 0.06031687557697296, 0.04393801465630531, 0.0025288346223533154, -0.01911768689751625, -0.010827279649674892, -0.0058136312291026115, -0.038421813398599625, 0.03161686658859253, -0.01825246401131153, -0.012433771044015884, 0.07769923657178879, -0.02868957817554474, -0.019983356818556786, 0.02295970544219017, 0.04966198652982712, -0.0032058870419859886, -0.002677363809198141, 0.02611454762518406, 0.0007298619020730257, 0.0267502348870039, 0.0042090024799108505, 0.03982509672641754, -0.015273499302566051, -0.02781098522245884, -0.004190815147012472, -0.00003510413080221042, 0.005374304484575987, 0.04167153313755989, -0.024413306266069412, -0.05632200837135315, -0.002367206383496523, -0.002741668140515685, -0.03437716141343117, 0.009423301555216312, -0.01658424735069275, -0.2420140951871872, -0.009153293445706367, 0.006457896437495947, 0.027303701266646385, -0.025997933000326157, 0.047355134040117264, 0.05795958638191223, -0.039035432040691376, -0.02993953227996826, 0.0016094523016363382, 0.004095901735126972, 0.03399020805954933, 0.02749832719564438, -0.013223824091255665, 0.05542382597923279, -0.01975409872829914, 0.02629530429840088, 0.010542108677327633, 0.028158407658338547, -0.014292357489466667, 0.022151216864585876, -0.0405239537358284, 0.18226012587547302, -0.012877448461949825, 0.021297922357916832, 0.07767010480165482, 0.05285748466849327, 0.022177545353770256, 0.1384100764989853, 0.004676310811191797, 0.008053391240537167, -0.0010252604261040688, 0.07674103230237961, -0.004841767251491547, 0.004330068361014128, -0.05084937810897827, -0.018729615956544876, 0.040733687579631805, 0.009417424909770489, -0.02927434630692005, 0.043961528688669205, -0.013472078368067741, -0.028447085991501808, 0.008107881993055344, 0.09405988454818726, 0.024708742275834084, -0.008029020391404629, -0.05369018390774727, -0.04918673262000084, 0.006121406797319651, -0.015373713336884975, -0.024545149877667427, 0.01740950159728527, -0.05566420778632164, 0.03843383118510246, 0.04153147339820862, 0.016457127407193184, 0.0061583551578223705, -0.06014100834727287, -0.01229015551507473, -0.025963764637708664, 0.017770390957593918, 0.10680489242076874, 0.053580012172460556, 0.007806101813912392 ]
[ -0.022906795144081116, 0.0074526662938296795, -0.019990386441349983, -0.019796179607510567, -0.011165476404130459, -0.013978651724755764, -0.005699987523257732, 0.01818022131919861, -0.009610563516616821, 0.024130742996931076, -0.009706863202154636, -0.025992700830101967, 0.030112527310848236, 0.0037013643886893988, 0.022816577926278114, -0.04787243902683258, -0.012884019874036312, 0.050128474831581116, 0.0018073421670123935, 0.0011028330773115158, -0.03313473239541054, 0.0089071374386549, 0.024930555373430252, -0.004735866561532021, 0.023550793528556824, 0.03892459347844124, 0.0033039601985365152, -0.025099219754338264, 0.00794351939111948, -0.12771905958652496, -0.03173096105456352, -0.02234012447297573, -0.0018104928312823176, 0.010903962887823582, -0.04924355819821358, -0.010292715393006802, 0.024431709200143814, 0.03173218294978142, 0.0012929084477946162, 0.012682932429015636, -0.015280264429748058, -0.02763286791741848, -0.02668626792728901, 0.011765671893954277, -0.00567978248000145, -0.019908972084522247, -0.015791766345500946, -0.010324269533157349, 0.004996787756681442, -0.002985496772453189, -0.006321500521153212, 0.010400987230241299, 0.01648375764489174, -0.0020484982524067163, -0.003205858403816819, -0.011430506594479084, 0.0059044198133051395, -0.01029163133352995, -0.00029246151098050177, -0.009472543373703957, -0.02091290056705475, 0.018634766340255737, -0.022157086059451103, -0.02983146905899048, 0.012504271231591702, -0.021048350259661674, 0.016372133046388626, -0.017167367041110992, -0.0019351269584149122, -0.013169189915060997, -0.02578803151845932, 0.01990860514342785, 0.021517984569072723, 0.014454422518610954, -0.022914735600352287, 0.02686162479221821, -0.012982222251594067, -0.00676968926563859, 0.0361875481903553, -0.01722829043865204, -0.011103682219982147, -0.00783457700163126, 0.023051053285598755, 0.009320606477558613, -0.006766695994883776, 0.005230268929153681, 0.005020904820412397, 0.03028305061161518, 0.016649240627884865, 0.02190477028489113, 0.014642097055912018, 0.06472927331924438, -0.03946300595998764, 0.026406647637486458, -0.07955638319253922, 0.003778848797082901, -0.04066028445959091, -0.0104419169947505, 0.02199377678334713, 0.8625255227088928, 0.006909581366926432, 0.04787503927946091, 0.05049549415707588, 0.017689671367406845, 0.01563030108809471, -0.038840893656015396, -0.007666970603168011, 0.010710679925978184, 0.023285802453756332, -0.018907776102423668, 0.010691983625292778, 0.0027105314657092094, 0.03713293373584747, 0.002759874565526843, 0.004358761943876743, 0.04613413289189339, 0.04104524850845337, 0.010233293287456036, -0.00042799190850928426, 0.0036752368323504925, 0.03950878977775574, -0.005566096864640713, -0.012612405233085155, 0.017490046098828316, 0.03355611115694046, -0.14635024964809418, -0.01137279812246561, -7.90031165683237e-33, 0.027587955817580223, -0.040467891842126846, 0.024159986525774002, 0.014450570568442345, -0.015718987211585045, 0.016576003283262253, 0.00850902684032917, 0.057199787348508835, 0.02114025317132473, -0.0703221932053566, 0.02025320753455162, -0.014947866089642048, 0.004036715254187584, -0.02770869806408882, 0.019945530220866203, -0.015094438567757607, -0.019133171066641808, 0.022198209539055824, 0.00007633183122379705, 0.005397687200456858, 0.01018702145665884, 0.020789263769984245, 0.004958065692335367, 0.013679634779691696, -0.005731143057346344, 0.03078550100326538, 0.031989455223083496, 0.03478948399424553, -0.025465764105319977, -0.03990424796938896, 0.037381209433078766, -0.011103992350399494, -0.008584163151681423, -0.009854091331362724, 0.008766443468630314, -0.031448639929294586, 0.0010972294257953763, 0.006035168189555407, -0.017795410007238388, -0.0026619595009833574, -0.08702713996171951, -0.026155246421694756, -0.008476425893604755, -0.0011471202597022057, -0.005196088459342718, -0.018122414126992226, -0.004552696365863085, 0.034142933785915375, 0.019090762361884117, -0.010828246362507343, 0.002641555853188038, 0.0456182062625885, -0.008002243004739285, -0.04072708263993263, -0.032782670110464096, 0.02751140110194683, 0.0038276382256299257, 0.019232245162129402, -0.02968694642186165, 0.03105481155216694, -0.00864084716886282, 0.01233434397727251, -0.044905729591846466, 0.011859702877700329, -0.033656779676675797, -0.002566009294241667, -0.042152855545282364, -0.013255219906568527, 0.019393447786569595, 0.01828395575284958, -0.03654136508703232, -0.0005919488612562418, -0.0008733045542612672, 0.01686014048755169, 0.0121376421302557, -0.01816302351653576, 0.018608665093779564, 0.00042293648584745824, -0.038610465824604034, -0.02320476621389389, 0.0018795032519847155, -0.014626776799559593, 0.008467595092952251, -0.007127183023840189, 0.024185676127672195, -0.009841343387961388, 0.00529294740408659, -0.0065008290112018585, -0.02809547819197178, -0.015317460522055626, 0.03991635888814926, 0.02239953726530075, -0.014481289312243462, -0.010671823285520077, -0.0038556894287467003, 7.987658968622128e-33, -0.02351325936615467, -0.011654877103865147, -0.04018361493945122, 0.03885820508003235, -0.006288663949817419, -0.004189197905361652, 0.01232963427901268, 0.01966540701687336, -0.053443681448698044, 0.0088890315964818, -0.032713036984205246, 0.015777237713336945, -0.020648175850510597, 0.02193037047982216, 0.033559419214725494, -0.02858491986989975, 0.03334411233663559, -0.0027681058272719383, 0.013914397917687893, 0.037283774465322495, 0.07338085770606995, 0.007039937190711498, 0.025685826316475868, -0.006749264895915985, -0.0009039840078912675, 0.02049090526998043, -0.054416414350271225, -0.0013895899755880237, -0.015392920933663845, 0.01708037778735161, 0.006700800731778145, -0.00040316759259440005, 0.013362119905650616, -0.04282010346651077, 0.000023220751245389692, -0.028179584071040154, 0.023487931117415428, -0.025485266000032425, 0.014653820544481277, 0.021545525640249252, -0.003807786852121353, -0.05076504871249199, 0.01851995475590229, 0.01432572677731514, 0.011905202642083168, 0.023565776646137238, 0.029317213222384453, 0.0030692669097334146, -0.009029475972056389, -0.0007149217999540269, 0.015113727189600468, -0.003686315380036831, 0.004997171927243471, 0.041999444365501404, 0.012862865813076496, 0.014249218627810478, -0.03039487451314926, -0.0015879111597314477, -0.005895884707570076, 0.040029194205999374, -0.007447210606187582, 0.019900375977158546, -0.009397072717547417, 0.01099946815520525, -0.01833793893456459, 0.008224536664783955, 0.018547561019659042, 0.0034651216119527817, -0.004581816494464874, 0.014943067915737629, -0.038455914705991745, -0.021554192528128624, -0.006053417921066284, 0.029360348358750343, 0.012567253783345222, -0.004966926295310259, -0.0077421837486326694, 0.005693514831364155, 0.0009915216360241175, 0.021588554605841637, 0.02450861595571041, -0.011290783993899822, -0.017140692099928856, -0.037683892995119095, 0.005596857983618975, -0.015228657983243465, -0.011370965279638767, 0.00976533629000187, -0.008349493145942688, -0.021436112001538277, -0.018186064437031746, 0.02805659919977188, 0.0002133073576260358, -0.006153804250061512, 0.012347524985671043, -1.3484599215018989e-8, 0.013066855259239674, -0.006495709531009197, -0.016981178894639015, 0.020536165684461594, 0.01902787573635578, 0.000032598847610643134, -0.03164741396903992, -0.01899377629160881, -0.028062699362635612, -0.0025824010372161865, 0.03211600333452225, 0.0177638977766037, -0.014547357335686684, 0.008641193620860577, 0.026018744334578514, -0.08894949406385422, -0.02772442437708378, -0.020108383148908615, 0.0021894925739616156, 0.027528783306479454, -0.0010707242181524634, 0.03874496743083, -0.02226646989583969, 0.03272676840424538, 0.03590211272239685, -0.00777780544012785, 0.03837190568447113, -0.04347839578986168, 0.0031874217092990875, 0.002965187653899193, -0.0032735150307416916, -0.025713548064231873, -0.028659699484705925, 0.0016458738828077912, -0.02551850490272045, 0.006858477368950844, -0.012736395932734013, 0.04269767925143242, 0.028141941875219345, 0.002833257196471095, -0.01420525647699833, -0.02895357646048069, -0.014869188889861107, -0.014735187403857708, 0.02092161774635315, -0.036408256739377975, -0.05741337314248085, -0.004709960892796516, 0.010826659388840199, -0.04362459108233452, -0.005570086184889078, 0.005449980031698942, 0.01428795326501131, 0.006995238829404116, -0.0025043522473424673, 0.003667052136734128, -0.006164813879877329, -0.04088762402534485, -0.03296267241239548, 0.009120892733335495, 0.049337148666381836, 0.010478298179805279, -0.012145918793976307, -0.041493263095617294 ]
tdd-combining-the-when-and-then-steps
https://markhneedham.com/blog/2009/11/14/tdd-combining-the-when-and-then-steps
false
2009-11-22 16:43:24
Pair Programming/Helping/Working Collaboratively
[ "pair-programming" ]
[ "Pair Programming" ]
Dan North has been presenting his 'http://www.infoq.com/presentations/north-pimp-my-architecture[Pimp my architecture]' talk again at QCon San Francisco this week and after reading the http://twitter.com/IT_Voyager/statuses/5838886106[hugely] http://twitter.com/adolfosousa/statuses/5840052174[positive] http://twitter.com/guilhermecaelum/statuses/5840219363[feedback] http://twitter.com/fabiokung/statuses/5840379985[on Twitter] I decided to watch some of it again. The idea of getting people to help each other rather than pair program is what stood out for me this time, something which http://twitter.com/bguthrie/status/5839065698[Brian Guthrie also pointed out]: ____ "We didn't do pairing, we did 'helping'. You can't get alpha progs to 'pair' but they'll tell you what they know." ____ It's been quite common at the places that I've worked at for pair programming to be frowned upon and sometimes that's not the most important battle to fight so the team will be more selective about its use. I was discussing this with some colleagues this week and it does seem that pair programming is a trigger word/phrase with negative connotations for productivity. On the other hand, something which is rarely frowned upon is having a team 'working collaboratively' and in fact most of the time this is considered a very good thing. When we work alone I still find myself http://www.markhneedham.com/blog/2009/11/15/a-reminder-to-talk-to-the-rubber-duck/[calling a colleague over to help me out when I get stuck] and while I could probably work something out alone given enough time I don't think that approach makes sense when working on it with someone else leads to us solving the problem much more quickly. Josh Bloch speaks along similar lines in the interview with him in http://www.amazon.com/gp/product/1430219483?ie=UTF8&tag=marneesblo-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1430219483[Coders at Work]: ____ I don't like working in total isolation. When I'm writing a program and I come to a tricky design decision, I just have to bounce it off someone else. At every place I've worked, I've had one or more colleagues I could bounce ideas off of. That's critically important for me; I need that feedback. \... I've known people who don't feel this way - who are willing to program in a vacuum. I think it hurts them. ____ I think it's fairly inevitable that if a team is to deliver software effectively then there are going to be times when people are working together to solve problems. What we choose to call that can be varied depending on the context we find ourself in.
null
null
[ 0.03299133479595184, 0.004772620275616646, 0.0014406490372493863, 0.04324799403548241, 0.07520686089992523, 0.042109306901693344, 0.021951038390398026, 0.06466697156429291, 0.019602270796895027, -0.042137447744607925, -0.029561391100287437, -0.0059601375833153725, -0.06402851641178131, 0.01287892647087574, -0.04792387783527374, 0.06737486273050308, 0.07380636781454086, -0.011325706727802753, 0.023182783275842667, 0.029328763484954834, 0.05870893597602844, 0.060201872140169144, 0.033258888870477676, 0.020632101222872734, 0.022285625338554382, -0.0010072586592286825, -0.003748725401237607, -0.008349869400262833, -0.056410644203424454, -0.016953017562627792, 0.0462176613509655, -0.008159064687788486, 0.014324814081192017, -0.03373222425580025, 0.013607872650027275, 0.005489078350365162, -0.007760871201753616, 0.03242668882012367, 0.004627062939107418, 0.014771003276109695, -0.06660285592079163, 0.046687718480825424, -0.017023172229528427, 0.006517164409160614, -0.03496609628200531, 0.025903644040226936, -0.02125333622097969, 0.010829729959368706, 0.007708875462412834, -0.007386317010968924, -0.07207311689853668, 0.0405837707221508, 0.0008570897043682635, 0.013131474144756794, -0.01501525193452835, 0.032471392303705215, 0.012697653844952583, -0.06680833548307419, -0.011053071357309818, -0.03208237886428833, -0.012242908589541912, -0.023083504289388657, 0.008412489667534828, 0.024100368842482567, 0.032644446939229965, -0.030837280675768852, 0.016400529071688652, 0.03322474658489227, -0.030206825584173203, 0.02698037028312683, -0.01465565711259842, 0.01767009124159813, -0.005825969390571117, -0.030521782115101814, 0.025064503774046898, -0.042381104081869125, 0.013348891399800777, 0.06574559211730957, 0.0316619947552681, 0.02813742123544216, -0.02631436660885811, 0.022230932489037514, -0.004958053585141897, 0.04235690087080002, -0.042805157601833344, -0.025887109339237213, 0.0030106829944998026, -0.02668711170554161, -0.0772310420870781, 0.04798828437924385, 0.011054951697587967, -0.06331618875265121, 0.033200703561306, 0.03692401573061943, 0.0008415975025855005, 0.01908247359097004, 0.019114743918180466, 0.01900348998606205, -0.0061383903957903385, -0.02812172658741474, -0.019273122772574425, -0.016533276066184044, -0.015633931383490562, 0.022661322727799416, -0.07544241845607758, -0.024823732674121857, -0.01107882708311081, -0.0067030941136181355, -0.002456850605085492, 0.008165541104972363, -0.017225489020347595, 0.0253317728638649, -0.0012012880761176348, 0.0004797569417860359, -0.059284359216690063, 0.07396893948316574, 0.004071472678333521, -0.06309019774198532, -0.03104112297296524, 0.0027490316424518824, 0.027953242883086205, 0.05856340378522873, -0.017846589908003807, 0.08497974276542664, 0.00755768408998847, 0.011464894749224186, -0.021719884127378464, 0.04648849368095398, -0.032552242279052734, -0.06050867587327957, -0.02033126913011074, 0.06266793608665466, -0.027014130726456642, -0.013694723136723042, 0.0026303890626877546, -0.04435107856988907, 0.003064498072490096, 0.013953279703855515, 0.03127655014395714, 0.04617000371217728, -0.021753370761871338, -0.04244258999824524, 0.018539557233452797, 0.01915229670703411, 0.028414780274033546, -0.003081283299252391, -0.002836838597431779, -0.03521309792995453, -0.042212918400764465, -0.0010317177511751652, 0.00435482757166028, 0.002718298928812146, 0.0035676315892487764, -0.05725345015525818, 0.036707475781440735, 0.08234549313783646, 0.05830710008740425, 0.022194446995854378, -0.022605085745453835, 0.02488824352622032, 0.02752606011927128, 0.03445383906364441, 0.013134781271219254, 0.03944505378603935, 0.008128146640956402, -0.008196413516998291, -0.015356358140707016, 0.032692987471818924, 0.0018000764539465308, 0.013346252031624317, -0.055052101612091064, -0.04819152131676674, 0.05046495795249939, -0.0343085341155529, -0.025723896920681, 0.04192386195063591, 0.0962269976735115, 0.017880061641335487, 0.02205275185406208, 0.02134276181459427, -0.08236653357744217, 0.03235439956188202, 0.029232846572995186, 0.018707649782299995, 0.03424663841724396, -0.030154744163155556, 0.04766285791993141, 0.02080940455198288, 0.0026754511054605246, 0.058314017951488495, -0.06480015814304352, -0.09076756983995438, -0.014276331290602684, -0.015224015340209007, 0.03922683745622635, -0.015133892185986042, 0.01062070019543171, 0.04674632474780083, 0.0012657638872042298, 0.051847998052835464, 0.026461953297257423, -0.002457128372043371, 0.003732174402102828, -0.04346390441060066, -0.06051767244935036, 0.05714422091841698, 0.029321370646357536, -0.0023743463680148125, -0.0494389571249485, 0.014585892669856548, -0.011658006347715855, -0.03513491526246071, 0.045411624014377594, -0.031039994210004807, 0.04440230876207352, -0.00960780680179596, 0.036150671541690826, -0.026790177449584007, 0.020463664084672928, -0.0450805127620697, 0.008285374380648136, 0.010729431174695492, -0.02270304597914219, 0.029691865667700768, 0.002589006908237934, 0.09661851078271866, 0.05418451130390167, -0.0756378322839737, -0.035117533057928085, 0.04029291868209839, 0.033868636935949326, -0.023914778605103493, -0.004040604457259178, -0.011472437530755997, -0.006391335744410753, 0.0038101712707430124, -0.06353472918272018, -0.041286781430244446, 0.04315108060836792, -0.05619075521826744, 0.002693427260965109, 0.05820246785879135, -0.02453971467912197, 0.06115697696805, -0.004455415066331625, -0.0017038047080859542, -0.01198902353644371, -0.030459033325314522, -0.03821295127272606, 0.013147215358912945, -0.013050670735538006, -0.014622081071138382, 0.029566003009676933, -0.023208562284708023, -0.015399283729493618, -0.04631255567073822, -0.0176791250705719, -0.0003105465730186552, 0.05013730004429817, 0.05596631020307541, -0.0017052626935765147, 0.0631861686706543, -0.01405638363212347, 0.027631089091300964, 0.00467425212264061, -0.03622844070196152, -0.03213736042380333, -0.024520104750990868, 0.010848332196474075, 0.017757590860128403, -0.0007928048144094646, 0.009342771954834461, -0.018311716616153717, -0.008154617622494698, 0.012809724546968937, -0.01769181713461876, 0.014688707888126373, 0.011374435387551785, -0.005657029803842306, -0.02949349395930767, -0.009107477031648159, 0.04846224561333656, -0.03870697692036629, -0.021100472658872604, 0.006284916773438454, -0.07900866866111755, 0.03539444878697395, -0.06955884397029877, -0.03512150049209595, -0.0039316099137067795, 0.01996568962931633, 0.03301707282662392, -0.016860760748386383, 0.014686429873108864, 0.053243063390254974, 0.0191124826669693, 0.014152565971016884, -0.0061642942018806934, -0.03670783340930939, 0.03402724862098694, 0.007893646135926247, -0.006070426665246487, 0.04216419905424118, 0.008835201151669025, -0.01320539228618145, -0.05909944698214531, 0.06348634511232376, -0.040432967245578766, -0.29251664876937866, 0.03051898255944252, 0.019447756931185722, -0.031614549458026886, 0.0063934954814612865, -0.02778974547982216, -0.0007659527473151684, -0.03746603801846504, -0.02136855386197567, 0.008106989786028862, -0.03341461718082428, -0.05553189665079117, -0.015226290561258793, 0.03479769825935364, 0.012430611997842789, 0.012811577878892422, 0.021852964535355568, -0.04447036609053612, 0.014996061101555824, 0.04051333665847778, -0.006716986186802387, -0.06475149840116501, 0.008480432443320751, 0.018671834841370583, 0.05443468689918518, 0.0672963336110115, -0.0978778526186943, 0.032350774854421616, -0.053536199033260345, 0.002126514445990324, 0.013295505195856094, 0.009145902469754219, -0.005898250732570887, -0.018194686621427536, -0.004572837147861719, -0.013372226618230343, 0.0550638809800148, -0.002766435733065009, -0.011632410809397697, 0.004409067332744598, -0.008267033845186234, -0.0199010968208313, -0.01689714938402176, 0.02838139235973358, 0.07400824874639511, 0.016268953680992126, -0.09626500308513641, -0.0008459822274744511, -0.019409678876399994, 0.05422361195087433, -0.02896464802324772, -0.01242072507739067, -0.014398878440260887, 0.04094318300485611, -0.024527302011847496, -0.01908223330974579, -0.018747059628367424, -0.019655277952551842, -0.027402114123106003, -0.03351427987217903, -0.005837203934788704, -0.04029121622443199, -0.0072261919267475605, -0.03529190644621849, 0.014125323854386806, -0.058632880449295044, -0.06242945045232773, -0.020420875400304794, 0.08942630141973495, 0.0038855094462633133, -0.027981244027614594, 0.02492142841219902, -0.0030133086256682873, -0.11054462939500809, 0.014428784139454365, 0.012390406802296638, -0.03234104812145233, 0.0021493854001164436, 0.0299425907433033, 0.0458545908331871, -0.019404012709856033, -0.07055772840976715, 0.030135376378893852, 0.009013431146740913, 0.03760971501469612, -0.013419496826827526, 0.03793111816048622, 0.036468956619501114, -0.01182605791836977, 0.026268811896443367, 0.057844728231430054, -0.016637155786156654, -0.0340406596660614, -0.03506387025117874, 0.035744331777095795, -0.009781318716704845, 0.04306923970580101, 0.0021297293715178967, -0.001336420769803226, 0.0476565882563591, -0.021689970046281815, -0.06750740855932236, 0.020024867728352547, -0.026583753526210785, -0.0015508615178987384, -0.004348221234977245, -0.03528487682342529, 0.005994543433189392, 0.04381942003965378, 0.0559442862868309, -0.007156298495829105, -0.030642272904515266, 0.011323993094265461, -0.035675663501024246, -0.012219228781759739, -0.006518501788377762, 0.010526337660849094, 0.052111171185970306, -0.005088090430945158, -0.011991205625236034, -0.06303064525127411, 0.00750860758125782, -0.0033524148166179657, 0.012702137231826782, -0.06050398573279381, 0.00894983485341072, -0.029041660949587822, -0.023438267409801483, 0.02033238857984543, 0.014095966704189777, -0.022062016651034355, 0.035848915576934814, 0.016844546422362328, -0.039994094520807266, 0.014722365885972977, -0.023441728204488754, -0.06051885336637497, -0.028413517400622368, 0.002454819157719612, -0.0053648678585886955, 0.00044294731924310327, 0.04015664383769035, 0.0076537784188985825, 0.011000274680554867, 0.047166526317596436, 0.02035624347627163, 0.01348254643380642, -0.022515466436743736, 0.04889340326189995, 0.01046040654182434, 0.01727522350847721, -0.07419154793024063, 0.012142335064709187, -0.03638279438018799, -0.006714486517012119, -0.029998205602169037, 0.023065665736794472, -0.028758050873875618, -0.0341622494161129, 0.00477807829156518, 0.01565564237535, -0.036628689616918564, -0.05111336335539818, -0.017478574067354202, 0.027564607560634613, 0.04383931681513786, -0.006917789578437805, 0.013961154036223888, -0.029630491510033607, -0.024014409631490707, 0.004618953913450241, 0.02063574455678463, -0.05670347809791565, -0.011115934699773788, 0.006466145161539316, 0.005018072202801704, -0.011606935411691666, 0.01046788226813078, 0.05241464823484421, 0.010991866700351238, -0.003547510365024209, -0.012577876448631287, 0.0020862442906945944, 0.023168500512838364, 0.050594788044691086, 0.012740346603095531, -0.0050529008731245995, 0.001178097096271813, -0.004144684411585331, -0.014964943751692772, -0.030531378462910652, -0.012090570293366909, 0.008974744006991386, 0.020504361018538475, -0.02926032617688179, -0.08278317004442215, 0.05032067373394966, 0.03242006152868271, 0.0212513729929924, 0.02471211738884449, -0.025151267647743225, 0.01565450429916382, -0.03837957978248596, 0.04808018356561661, 0.08174711465835571, -0.06574894487857819, 0.015463951043784618, -0.015298076905310154, -0.011531749740242958, -0.006729471031576395, -0.004507504869252443, -0.0319889560341835, -0.02219460904598236, -0.022471526637673378, 0.0179297998547554, -0.09474428743124008, -0.019101256504654884, -0.007117757108062506, 0.012618198059499264, 0.002257140353322029, 0.0005794611643068492, -0.00820701103657484, -0.012817494571208954, -0.014610233716666698, -0.027510924264788628, 0.012742391787469387, -0.05035480484366417, 0.015200908295810223, 0.005673704203218222, -0.03656512498855591, 0.0162331685423851, -0.02561415545642376, 0.005194077268242836, 0.02896076627075672, -0.02847415581345558, 0.009440068155527115, -0.026306625455617905, -0.0130624333396554, -0.001155595644377172, 0.04639847204089165, -0.01739322394132614, -0.04010472446680069, -0.05658656731247902, -0.02143397368490696, -0.05328807979822159, 0.003232549177482724, -0.024946613237261772, 0.02000191994011402, 0.03567459434270859, 0.04479777440428734, 0.017789015546441078, 0.010955937206745148, -0.027540842071175575, -0.016511663794517517, 0.02430405654013157, -0.054263025522232056, -0.028330905362963676, -0.028605833649635315, -0.05546962469816208, -0.007473725825548172, -0.007741567678749561, 0.016156954690814018, -0.04275108873844147, 0.03579183667898178, 0.020954055711627007, 0.03107251413166523, 0.035345107316970825, -0.001609743689186871, 0.013160038739442825, -0.03319155424833298, -0.006952732335776091, -0.08111952990293503, -0.011626857332885265, 0.028372395783662796, 0.004373778123408556, -0.024581093341112137, 0.01486855000257492, -0.022664811462163925, 0.03275134414434433, -0.08696694672107697, -0.045005328953266144, 0.04740241914987564, -0.007944967597723007, 0.011425314471125603, 0.016377976164221764, -0.06949248164892197, 0.03135162219405174, 0.019216224551200867, -0.0424204058945179, -0.018442705273628235, -0.012056603096425533, 0.05802852660417557, 0.002308038529008627, 0.037197545170784, -0.03309936821460724, -0.024300267919898033, 0.0805312916636467, 0.008325654082000256, 0.0021117827855050564, 0.06125441566109657, -0.0063215638510882854, 0.02400437742471695, 0.03333142772316933, 0.018959244713187218, 0.0017671040259301662, 0.011783520691096783, -0.005942476913332939, -0.055304959416389465, 0.007009660825133324, 0.01728193834424019, -0.0316745862364769, -0.02740045078098774, 0.05342627316713333, 0.022120965644717216, -0.026540275663137436, -0.030506441369652748, 0.03701025992631912, -0.06027957424521446, 0.004325903952121735, -0.01472548395395279, -0.013082582503557205, -0.05422184243798256, 0.04894934967160225, 0.010077247396111488, 0.00877001229673624, 0.055449340492486954, 0.03825206682085991, -0.026547865942120552, -0.007816163823008537, 0.10016840696334839, 0.07448828220367432, 0.044902119785547256, -0.0004185547004453838, 0.06884214282035828, -0.02384740300476551, -0.0463273823261261, 0.016736477613449097, 0.0012999101309105754, -0.045641668140888214, -0.025487413629889488, 0.030714871361851692, 0.0800018385052681, -0.025687461718916893, 0.07340877503156662, 0.001862561097368598, -0.021209299564361572, -0.0006686879205517471, 0.020821161568164825, 0.023445570841431618, 0.07219470292329788, -0.000020725239664898254, 0.030801143497228622, -0.021299107000231743, -0.0477735698223114, 0.029680348932743073, -0.04719012603163719, -0.014516397379338741, 0.036629896610975266, 0.004436047747731209, 0.024250803515315056, 0.0320543609559536, 0.01868961565196514, 0.07398674637079239, -0.04625953733921051, -0.0024784100241959095, -0.003425970207899809, 0.022082893177866936, 0.006797070614993572, 0.022761045023798943, -0.029756831005215645, -0.005459768231958151, 0.004063975065946579, -0.028733335435390472, -0.01649143174290657, -0.024704953655600548, -0.0035258112475275993, 0.06079297512769699, -0.0137343043461442, -0.0036602276377379894, 0.01623399183154106, -0.0014858837239444256, -0.025888672098517418, -0.06462916731834412, -0.019260844215750694, -0.055402908474206924, -0.03997329622507095, -0.022226914763450623, 0.013846119865775108, -0.009550990536808968, -0.03377921134233475, -0.007762659341096878, -0.014668231830000877, -0.019395209848880768, 0.049648597836494446, -0.06298067420721054, -0.04044295847415924, 0.016347307711839676, 0.029351096600294113, 0.018921906128525734, 0.02510596439242363, 0.05129716917872429, -0.010905422270298004, -0.01603088155388832, -0.025027751922607422, 0.037402790039777756, 0.008098230697214603, 0.004364590626209974, -0.009792409837245941, -0.09278786182403564, 0.03014823980629444, 0.024467676877975464, -0.013094430789351463, -0.0655754804611206, 0.026823969557881355, 0.026585908606648445, 0.00918426364660263, 0.03733672946691513, 0.008023055270314217, 0.019798796623945236, -0.0511050783097744, -0.005732441321015358, -0.0050130258314311504, 0.005178795196115971, 0.046960290521383286, -0.022839579731225967, 0.08690012991428375, 0.01947753317654133, -0.013621733523905277, -0.025594670325517654, -0.02383505366742611, 0.013405926525592804, 0.009595643728971481, -0.016048718243837357, -0.05275512859225273, -0.03223837539553642, -0.08635130524635315, -0.04127556458115578, 0.012412876822054386, -0.032391972839832306, -0.038982052356004715, 0.04050140082836151, 0.009923609904944897, -0.0173209086060524, 0.014970424585044384, -0.06232760474085808, 0.0263091828674078, -0.01191003993153572, -0.004795345943421125, -0.004422636236995459, -0.00338015821762383, -0.008194576017558575, 0.0038709603250026703, 0.03202562779188156, -0.03408067673444748, -0.0054946355521678925, 0.0017627263441681862, 0.03317522630095482, 0.04221478849649429, 0.021669505164027214, -0.02396862395107746 ]
[ -0.0840594545006752, -0.003780968487262726, -0.04426724463701248, -0.022901324555277824, 0.030719297006726265, -0.04929017275571823, 0.010229694657027721, 0.020949479192495346, 0.004617467988282442, -0.05244648456573486, 0.008345472626388073, -0.022154798731207848, 0.03746102377772331, -0.03061508946120739, 0.08367107808589935, 0.009157842956483364, -0.008063063025474548, -0.07644209265708923, 0.00545060308650136, 0.029455028474330902, -0.016203541308641434, -0.06228696182370186, -0.05012870579957962, -0.025249846279621124, 0.012907925993204117, 0.018991654738783836, 0.02410592883825302, -0.061364367604255676, 0.031584396958351135, -0.16144712269306183, 0.010267738252878189, 0.04584068804979324, 0.058573074638843536, -0.0023580098059028387, -0.002026385860517621, 0.0848088338971138, 0.03241882473230362, -0.012097151950001717, -0.03987579047679901, 0.024966033175587654, 0.008007406257092953, 0.005455198232084513, -0.03196466714143753, -0.035423118621110916, 0.027712006121873856, 0.04513809084892273, -0.0032816827297210693, -0.05003584548830986, -0.040355753153562546, 0.006603906862437725, -0.036879684776067734, -0.026898441836237907, -0.035837750881910324, -0.020959580317139626, 0.000830069009680301, 0.0688992440700531, 0.042041197419166565, 0.033981867134571075, -0.03747013583779335, 0.02285480685532093, 0.01690310798585415, -0.017165273427963257, -0.11504942178726196, 0.06627698987722397, 0.03849996253848076, 0.0394323356449604, -0.055175814777612686, -0.010811113752424717, -0.019938411191105843, 0.09762200713157654, 0.038689374923706055, -0.008611062541604042, -0.017177961766719818, 0.0038123540580272675, 0.020700233057141304, 0.011104377917945385, 0.0031386783812195063, 0.027460865676403046, 0.03365663066506386, -0.05195336788892746, -0.024585315957665443, -0.010641753673553467, -0.024486910551786423, -0.003298905212432146, -0.035029083490371704, 0.025089159607887268, -0.022582348436117172, 0.045999664813280106, -0.006760593969374895, 0.008508644066751003, 0.021480625495314598, 0.008585920557379723, 0.04852606728672981, -0.016859104856848717, -0.06584830582141876, -0.007564982865005732, 0.023739252239465714, 0.01854769140481949, -0.06269890069961548, 0.4832654893398285, -0.04279343783855438, -0.010766644030809402, 0.10870782285928726, 0.024148905649781227, -0.010906298644840717, -0.00222474941983819, 0.012039427645504475, -0.06545481085777283, 0.03166695684194565, -0.01913447305560112, 0.016024891287088394, 0.009350582957267761, 0.0637156218290329, -0.037918899208307266, 0.029250813648104668, 0.045510947704315186, 0.03078930824995041, 0.04476866498589516, 0.03443501517176628, -0.015555646270513535, -0.006802347023040056, 0.019531017169356346, 0.03127256780862808, 0.010345651768147945, -0.017299916595220566, -0.06199001148343086, 0.016623787581920624, 0.04636068642139435, 0.04570937529206276, -0.00432514026761055, 0.0817563384771347, -0.04562026262283325, -0.023413144052028656, 0.004851394332945347, -0.02806241065263748, -0.000930853420868516, 0.021740462630987167, -0.03186952322721481, 0.008455131202936172, 0.06164172291755676, 0.03397894650697708, -0.042769450694322586, 0.02666442282497883, -0.031007634475827217, 0.0028843360487371683, 0.1432054042816162, 0.012633235193789005, -0.03570008650422096, -0.011937718838453293, -0.009128846228122711, -0.004366503097116947, 0.018569298088550568, -0.010040035471320152, -0.05598970875144005, 0.027149342000484467, -0.016744080930948257, 0.09239354729652405, -0.03142856806516647, -0.05589684098958969, 0.03540391847491264, 0.0010291250655427575, -0.018965283408761024, -0.06317265331745148, 0.010899992659687996, 0.10691320896148682, -0.11311676353216171, -0.021538211032748222, 0.008097177371382713, 0.022338762879371643, -0.06266923248767853, -0.001504663028754294, -0.0113075515255332, -0.0038198281545192003, 0.002579659456387162, 0.022596590220928192, -0.03668559715151787, -0.05319010466337204, 0.007038137409836054, 0.04838314279913902, 0.0212217066437006, 0.008334727957844734, 0.010331223718822002, -0.025702256709337234, -0.01128154993057251, -0.0455615408718586, -0.05578678101301193, -0.02847451902925968, -0.02098488062620163, -0.0162164606153965, -0.010338450782001019, -0.016701629385352135, -0.024548444896936417, -0.06697357445955276, 0.08402407914400101, -0.023705732077360153, -0.030146300792694092, 0.02164926566183567, -0.03316416218876839, -0.056325510144233704, -0.009078019298613071, -0.08014068007469177, 0.01326342485845089, -0.038952380418777466, 0.02391444332897663, -0.05980897322297096, 0.04513481259346008, 0.030663898214697838, -0.03559219092130661, 0.09828399866819382, 0.03799813613295555, -0.004207690246403217, -0.0628538429737091, 0.006317738443613052, 0.038756612688302994, -0.0006876809056848288, -0.026009494438767433, 0.008813131600618362, 0.022607985883951187, -0.0006229860591702163, 0.03414776921272278, -0.0161079503595829, 0.03424757346510887, -0.016916299238801003, -0.3220595717430115, -0.018203284591436386, -0.014082271605730057, 0.0031646802090108395, 0.006157844327390194, -0.04919411987066269, 0.014800328761339188, -0.021535664796829224, -0.05478653684258461, 0.046407051384449005, 0.09036480635404587, -0.020561974495649338, -0.0009791742777451873, -0.08010870963335037, 0.0008104342268779874, 0.03812097758054733, -0.02623109333217144, 0.01187415886670351, -0.009088815189898014, -0.013691456988453865, -0.001834366237744689, 0.01897575706243515, -0.027029389515519142, -0.0384066067636013, 0.010630574077367783, -0.037173498421907425, 0.08711937069892883, 0.024789514020085335, 0.06872796267271042, -0.01475204061716795, 0.02653815597295761, 0.01586730033159256, 0.023025240749120712, -0.1258721500635147, 0.011180249974131584, 0.009807943366467953, 0.023802375420928, -0.06173958629369736, 0.044241730123758316, -0.0332554392516613, -0.09837441891431808, 0.011067337356507778, -0.04999318718910217, -0.04547840729355812, -0.07435488700866699, -0.0048905410803854465, -0.021387510001659393, -0.03661138936877251, -0.04735487326979637, 0.06679756939411163, 0.0029077043291181326, -0.007232761941850185, 0.013938610441982746, -0.024828806519508362, -0.024909866973757744, -0.03667262941598892, -0.0846567451953888, 0.011758847162127495, 0.0037769642658531666, -0.00510605750605464, 0.021503694355487823, 0.062038540840148926, 0.016255492344498634, -0.0541200116276741, 0.01748606003820896, -0.0037578886840492487, 0.002319147577509284, 0.023671511560678482, 0.03944385051727295, 0.02965163253247738, 0.007756794337183237, 0.06850311905145645, 0.007455974817276001, 0.0039947605691850185, 0.017745623365044594, -0.010058735497295856, -0.029002554714679718, 0.01639994978904724, 0.0057594929821789265, -0.028837282210588455, 0.03321611136198044, -0.06322664022445679, 0.02983446605503559, -0.019443700090050697, 0.006131612695753574, -0.007929475978016853, 0.002848557662218809, -0.013152142986655235, 0.0654212236404419, 0.02482091262936592, -0.023577194660902023, 0.0008011921891011298, 0.0035880187060683966, -0.0532141774892807, 0.09117543697357178, -0.006236064713448286, -0.243998184800148, 0.005171534139662981, 0.0336078442633152, 0.020736776292324066, -0.0291121955960989, 0.050693511962890625, 0.01403448823839426, -0.04089408740401268, -0.016194934025406837, -0.001858583651483059, 0.0365200899541378, 0.02445499412715435, 0.004571620840579271, 0.015855563804507256, 0.045313213020563126, 0.004457802977412939, 0.03413292393088341, -0.006522643845528364, -0.007919221185147762, -0.006934301927685738, 0.011751813814043999, -0.014406945556402206, 0.12593837082386017, -0.003066079691052437, 0.04808656871318817, 0.010576502420008183, 0.0062842778861522675, 0.021363450214266777, 0.04838196933269501, -0.004511949606239796, -0.019257327541708946, 0.009232702665030956, 0.0038609264884144068, -0.022479934617877007, 0.01855839043855667, -0.0690133273601532, -0.016643621027469635, 0.0264041218906641, 0.04997348412871361, 0.029147960245609283, -0.007795346900820732, -0.002763493452221155, 0.0034746096935123205, 0.014735858887434006, 0.06298045814037323, 0.010205316357314587, 0.010962291620671749, -0.022666852921247482, -0.05291638895869255, -0.003922587260603905, -0.02876853011548519, -0.03705840930342674, 0.010173945687711239, 0.01678827777504921, 0.026574108749628067, 0.06914223730564117, 0.008916311897337437, -0.020945241674780846, 0.0017742118798196316, 0.009833138436079025, -0.029964782297611237, -0.0051430221647024155, 0.08197123557329178, 0.05705469846725464, 0.045612454414367676 ]
[ -0.0355861522257328, 0.012073738500475883, -0.020614661276340485, -0.00135064497590065, -0.00350573961623013, 0.056100115180015564, -0.002015212085098028, 0.02521153911948204, 0.0036096510011702776, -0.01833362877368927, -0.035250309854745865, 0.03810058906674385, 0.01207894179970026, -0.007748082280158997, 0.012014851905405521, -0.033424876630306244, -0.003635955974459648, -0.012731041759252548, 0.029431290924549103, 0.0052949851378798485, -0.04300308600068092, -0.02370765432715416, -0.015813415870070457, -0.03358205035328865, -0.0021297724451869726, 0.006042508874088526, -0.0043540652841329575, -0.014610210433602333, 0.029982615262269974, -0.12529106438159943, -0.04375758394598961, -0.00655147572979331, 0.0027986185159534216, 0.018595274537801743, -0.0029895722400397062, 0.012368847616016865, 0.0435725562274456, -0.0018481833394616842, -0.0014522504061460495, -0.016142072156071663, 0.0034260249231010675, -0.02270558290183544, -0.014949754811823368, -0.021310215815901756, -0.016009198501706123, 0.01768690161406994, 0.0016392938559874892, -0.029085811227560043, -0.014351658523082733, -0.03588302806019783, -0.03308388963341713, 0.0030400606337934732, -0.022389650344848633, 0.016730815172195435, 0.031022969633340836, 0.037609029561281204, 0.013560857623815536, -0.01753975637257099, -0.004656360950320959, -0.008411078713834286, -0.01865156553685665, -0.01470165140926838, -0.05434611812233925, -0.01949615590274334, -0.019754813984036446, -0.010965390130877495, -0.027759622782468796, 0.009399314410984516, -0.034281738102436066, 0.006130259018391371, -0.016917888075113297, 0.0292072594165802, -0.05573749542236328, -0.01629289798438549, 0.012847062200307846, 0.030018361285328865, 0.018301473930478096, -0.03441544249653816, 0.029360231012105942, -0.03188563138246536, -0.05809389799833298, 0.007277955766767263, 0.00228730496019125, 0.012148148380219936, 0.022704649716615677, -0.006808792240917683, 0.009225456044077873, 0.009356757625937462, 0.01892242766916752, -0.0004862208152189851, -0.03529530391097069, 0.05735752359032631, 0.006496903486549854, 0.005184257868677378, -0.07956814020872116, -0.00041978643275797367, -0.04589734971523285, 0.012640180066227913, -0.014492233283817768, 0.8618404865264893, -0.00845154095441103, 0.025785595178604126, 0.046325743198394775, -0.014640790410339832, -0.010293480008840561, -0.003231818089261651, 0.024017566815018654, -0.009472005069255829, 0.0136328199878335, -0.014248807914555073, 0.007184434216469526, -0.017256252467632294, 0.01577664166688919, 0.01238530408591032, 0.02304471842944622, 0.035419024527072906, -0.004276372492313385, 0.0236325953155756, -0.0024589982349425554, -0.016863493248820305, -0.0004448854015208781, 0.0008642581524327397, 0.011454595252871513, 0.005085804965347052, -0.01858668588101864, -0.17640069127082825, 0.0027510556392371655, -8.164880170371943e-33, 0.037050262093544006, 0.01672126166522503, 0.0027600990142673254, -0.01981545425951481, -0.008999004028737545, 0.02113545686006546, 0.012319892644882202, -0.004096014425158501, -0.03288525342941284, -0.018399182707071304, 0.0059415483847260475, -0.005380203481763601, 0.022538933902978897, -0.012793835252523422, 0.022507021203637123, -0.031705182045698166, 0.017725545912981033, 0.0328303799033165, -0.025866657495498657, 0.031092513352632523, 0.05512574687600136, 0.048301924020051956, -0.009585699997842312, 0.0077291023917496204, 0.020457765087485313, -0.008958063088357449, -0.021090902388095856, -0.007446235045790672, -0.008126433938741684, -0.0476398691534996, -0.05462754890322685, 0.05672502890229225, -0.004251290112733841, 0.004609182011336088, -0.009052523411810398, -0.03806861862540245, -0.01888575591146946, 0.004590266849845648, -0.02930823527276516, -0.035633333027362823, -0.019616931676864624, 0.0025800520088523626, -0.012852462939918041, -0.02427205629646778, 0.010210332460701466, -0.017263740301132202, 0.0265884380787611, 0.029343994334340096, 0.006060619838535786, -0.04530222341418266, 0.011026492342352867, 0.04562106356024742, -0.004171576350927353, 0.04207473248243332, -0.016132015734910965, -0.004958385601639748, 0.0018214117735624313, 0.009655957110226154, -0.006975002586841583, 0.011267582885921001, 0.03376559913158417, 0.007871648296713829, -0.010848095640540123, -0.00010861578630283475, 0.00935686007142067, -0.0035264845937490463, -0.01578666642308235, 0.014603398740291595, 0.008524533361196518, 0.008989705704152584, -0.04472844675183296, 0.0010124858235940337, 0.007783578708767891, -0.031462524086236954, -0.0006318438099697232, 0.0047960467636585236, 0.008930174633860588, 0.012003052979707718, 0.00612146221101284, 0.023939959704875946, -0.005213651806116104, -0.0007742432644590735, 0.016659608110785484, -0.020314814522862434, -0.02634095586836338, -0.0007537443307228386, 0.03573576360940933, 0.0009308023145422339, -0.027291463688015938, 0.04661140963435173, 0.030272385105490685, 0.03927239403128624, -0.00030981461168266833, -0.008538823574781418, -0.008480656892061234, 7.930297783037878e-33, -0.01488910336047411, -0.014239237643778324, -0.01330842636525631, -0.008493885397911072, 0.06166376546025276, 0.011365181766450405, 0.024941110983490944, -0.043070271611213684, -0.04806194826960564, 0.03735525533556938, -0.012545011006295681, -0.04486874118447304, -0.008047934621572495, 0.005306174512952566, 0.044087935239076614, -0.015260900370776653, 0.015795035287737846, 0.0027539976872503757, 0.025846172124147415, -0.007309674751013517, 0.020632022991776466, -0.003863717196509242, 0.027104469016194344, 0.021491190418601036, 0.03585447743535042, 0.0410982109606266, 0.02507678233087063, 0.01667465828359127, -0.001511571230366826, -0.010771861299872398, -0.005384407006204128, -0.008205096237361431, -0.009422678500413895, -0.018642447888851166, 0.030015219002962112, 0.035598620772361755, -0.0279247984290123, -0.02962591126561165, -0.0027943614404648542, -0.024447565898299217, -0.011944737285375595, 0.024513229727745056, -0.01338810846209526, 0.030643124133348465, 0.03695625439286232, 0.012297903187572956, 0.00017820946231950074, -0.037946805357933044, -0.05534549802541733, 0.02395028993487358, 0.014247365295886993, 0.031062237918376923, -0.010595178231596947, -0.027962911874055862, -0.014099257066845894, -0.0435899943113327, -0.0006528542144224048, 0.023790275678038597, -0.005031920969486237, 0.011915073730051517, 0.00864014308899641, -0.01457556989043951, -0.03273012116551399, 0.03157801926136017, -0.011881927959620953, -0.018780417740345, 0.011229909025132656, 0.009884151630103588, -0.010040762834250927, 0.023299671709537506, -0.01714327745139599, 0.003762398613616824, 0.028224721550941467, 0.039460256695747375, -0.01003977283835411, -0.011467641219496727, -0.007964718155562878, -0.02143593318760395, 0.0028582345694303513, 0.010035049170255661, 0.0012796156806871295, 0.017421474680304527, 0.016306832432746887, 0.019138213247060776, -0.0026976712979376316, 0.03643646836280823, -0.0008326307870447636, 0.05075772479176521, -0.0036480561830103397, 0.0022481780033558607, -0.002425953047350049, -0.02352862060070038, 0.016933536157011986, 0.012326797470450401, 0.002713379915803671, -1.3740507398551927e-8, 0.0013882736675441265, -0.0007725112955085933, -0.028645724058151245, -0.006597481202334166, 0.008563737384974957, 0.001332195126451552, -0.004714434500783682, -0.020801907405257225, -0.007346600294113159, 0.016987711191177368, -0.003459260566160083, -0.034197185188531876, 0.010860370472073555, 0.01656046137213707, 0.038744986057281494, -0.018246358260512352, -0.0016238284297287464, -0.030824102461338043, 0.024922870099544525, 0.001305798883549869, 0.015752557665109634, 0.036369651556015015, -0.041405633091926575, 0.04678725078701973, -0.032840270549058914, 0.006291876547038555, 0.025977307930588722, -0.06983274221420288, 0.000913668074645102, 0.014790707267820835, 0.007231563795357943, -0.02859589457511902, -0.05170377716422081, 0.018046997487545013, -0.00684850849211216, -0.015240877866744995, 0.012090005911886692, 0.01575230248272419, 0.013215428218245506, 0.0036826643627136946, -0.017379052937030792, 0.008287150412797928, -0.02064121887087822, -0.019627824425697327, 0.004832108039408922, 0.01613541506230831, -0.023707633838057518, -0.027740944176912308, -0.026041366159915924, -0.014728064648807049, 0.025999601930379868, 0.01736411824822426, 0.026017043739557266, -0.00026138516841456294, 0.021146288141608238, 0.013094864785671234, -0.02427886240184307, -0.01916436292231083, 0.012125969864428043, -0.02308734506368637, -0.01655268482863903, 0.015997787937521935, -0.025911230593919754, -0.02292567864060402 ]
pair-programminghelpingworking-collaboratively
https://markhneedham.com/blog/2009/11/22/pair-programminghelpingworking-collaboratively
false
2009-11-25 11:59:11
Clojure: The 'apply' function
[ "clojure" ]
[ "Clojure" ]
In my continued playing around with Clojure I came across the 'http://clojure.org/api#toc86[apply]' function which is used when we want to call another function with a number of arguments but have actually been given a single argument which contains the argument list. The example that I've been trying to understand is applying 'http://clojure.org/api#toc537[str]' to a collection of values. I started off with the following: [source,lisp] ---- (str [1 2 3]) => "[1 2 3]" ---- This just returns the string representation of the vector that we passed it, but what we actually want is to get an output of "123". The 'apply' function allows us to do that: [source,lisp] ---- (apply str [1 2 3]) => "123" ---- That is semantically/conceptually the same as doing this: [source,lisp] ---- (str 1 2 3) => "123" ---- I didn't quite understand how that could work though and my assumption was that somewhere in the Clojure source the above function call would be happening. The definition of 'apply' is as follows: [source,lisp] ---- (defn apply "Applies fn f to the argument list formed by prepending args to argseq." {:arglists '([f args* argseq])} [#^clojure.lang.IFn f & args] (. f (applyTo (spread args)))) ---- The first thing which I hadn't realised is that when you have an '&' before a parameter definition then any arguments provided will be put into a list. If we break down the example above we end up with the following: [source,lisp] ---- (. str (applyTo (spread [[1 2 3]]))) ---- The 'spread' function is defined like so: [source,lisp] ---- (defn spread {:private true} [arglist] (cond (nil? arglist) nil (nil? (next arglist)) (seq (first arglist)) :else (cons (first arglist) (spread (next arglist))))) ---- In this case we only have one item in 'arglist' so on line 6 the 'next arglist' expression evaluates to nil. This means that we create a seq from the first argument of the 'arglist' which is '[1 2 3]'. Working our way back up to the 'apply' function what we end up with is this: [source,lisp] ---- (. str (applyTo (seq [1 2 3]))) => "123" ---- This calls through to an 'applyTo' method defined on the 'clojure.lang.IFn' interface. I'm not sure which of the implementations 'str' maps to but it seems like the 'str' function would eventually be called from the Java code with each of the values in the sequence passed in as a separate argument which is pretty neat!
null
null
[ 0.010219037532806396, -0.006521342787891626, -0.011435242369771004, -0.01926490105688572, 0.059497684240341187, 0.03214531019330025, -0.0032802606001496315, -0.024100756272673607, 0.011672786436975002, -0.014832967892289162, -0.02619602344930172, -0.013155489228665829, -0.06692999601364136, 0.05104932561516762, 0.042224809527397156, 0.05379126965999603, 0.06759270280599594, -0.01832820475101471, 0.014424710534512997, 0.037219032645225525, 0.026155948638916016, 0.050972145050764084, -0.018142882734537125, -0.014296526089310646, 0.03844326362013817, -0.0038128907326608896, 0.04454170912504196, 0.019318824633955956, -0.045820701867341995, -0.012564909644424915, 0.015942567959427834, 0.030424484983086586, -0.007088642567396164, -0.04180220514535904, -0.014492237940430641, -0.012526623904705048, 0.009453215636312962, -0.021071873605251312, -0.0037944787181913853, 0.042693447321653366, -0.04599495232105255, -0.020789507776498795, -0.012898661196231842, 0.008386146277189255, -0.023777104914188385, 0.0035086574498564005, -0.0594434030354023, 0.046142369508743286, -0.030906880274415016, 0.03349093720316887, -0.062428150326013565, -0.016446519643068314, -0.02384139783680439, -0.012266522273421288, 0.02077956311404705, 0.015976030379533768, -0.004560815170407295, -0.10717089474201202, 0.05647188052535057, -0.013699113391339779, -0.06198916956782341, 0.011318772099912167, 0.03862208500504494, 0.04287176579236984, 0.020686056464910507, -0.018105417490005493, -0.028272084891796112, 0.05809013545513153, -0.08473584800958633, -0.08131986856460571, -0.02084461599588394, 0.00981889571994543, -0.04313289001584053, -0.015980908647179604, -0.005041505675762892, -0.01535668782889843, 0.001943459385074675, 0.042365193367004395, 0.003960162866860628, 0.03626570850610733, -0.01445580180734396, 0.033251356333494186, 0.020314984023571014, 0.0036982300225645304, 0.029825484380126, -0.009742447175085545, -0.044877223670482635, 0.03326311334967613, -0.04480969160795212, 0.02133050002157688, 0.021608810871839523, -0.06453800201416016, -0.010402634739875793, -0.01838855817914009, 0.025008423253893852, -0.0005587827763520181, -0.003733184887096286, -0.013415543362498283, -0.0025169069413095713, -0.004161803051829338, -0.050890207290649414, -0.031081384047865868, -0.010830525308847427, -0.011043752543628216, -0.06709537655115128, 0.034503236413002014, 0.00534304603934288, -0.036444082856178284, -0.02481631189584732, -0.029662268236279488, -0.014956324361264706, 0.012202254496514797, -0.018011508509516716, 0.00043818389531224966, -0.052391260862350464, 0.031035758554935455, -0.023454545065760612, -0.041715774685144424, -0.03615447133779526, 0.03820143640041351, 0.030112795531749725, 0.006113526877015829, -0.008741223253309727, 0.06963890790939331, -0.006593134254217148, 0.011958514340221882, 0.006072294898331165, 0.058829937130212784, -0.008664235472679138, -0.03970959782600403, -0.02747655287384987, 0.05978186056017876, 0.03778954595327377, 0.0018290914595127106, -0.000011622424608503934, -0.040123891085386276, -0.04495212063193321, 0.014754843898117542, 0.05596570298075676, 0.003980109468102455, 0.007828008383512497, 0.005441664252430201, -0.007651813793927431, -0.03620850667357445, 0.043007828295230865, 0.035315316170454025, -0.006575490348041058, -0.0015952321700751781, -0.045928388833999634, 0.017173226922750473, 0.03953487053513527, 0.05952414870262146, 0.06062442809343338, 0.003481948748230934, 0.03391007333993912, 0.07568124681711197, 0.0025031359400600195, 0.05003650113940239, -0.03971923142671585, -0.0054535213857889175, 0.01025585737079382, 0.03288644179701805, -0.005255126394331455, 0.06960517913103104, 0.05709100514650345, -0.027345631271600723, -0.017819909378886223, 0.04055732488632202, -0.019563306123018265, -0.04595396667718887, -0.04877638816833496, -0.023868843913078308, 0.07622361928224564, -0.006688872817903757, -0.004053426906466484, 0.004250473342835903, 0.06754277646541595, 0.006202090065926313, 0.0788586288690567, -0.022702191025018692, -0.07640155404806137, 0.06299872696399689, 0.011953814886510372, 0.01612069457769394, -0.004475176800042391, -0.021044475957751274, 0.06563302129507065, -0.016113456338644028, 0.03880568966269493, 0.03868814557790756, -0.05462988093495369, -0.07080645859241486, -0.011832361109554768, -0.01021901611238718, 0.07773924618959427, -0.04384085536003113, -0.03541998937726021, 0.04501235485076904, 0.040283530950546265, 0.03192658722400665, 0.022042166441679, 0.0030952682718634605, 0.014080925844609737, -0.05140100046992302, -0.03310335800051689, 0.04163651168346405, 0.03463824838399887, -0.03146708756685257, -0.02937367372214794, 0.052370861172676086, -0.005654442124068737, 0.035812389105558395, 0.0479939766228199, -0.022705884650349617, 0.05355239287018776, 0.01770629920065403, 0.04357762634754181, -0.022579945623874664, 0.014060292392969131, -0.05330970138311386, 0.007569178007543087, 0.019657161086797714, 0.025717468932271004, -0.007488133851438761, -0.002304686466231942, 0.12379965931177139, 0.06446952372789383, -0.016643809154629707, -0.06121984124183655, 0.014843868091702461, 0.0014181318692862988, -0.04125363007187843, -0.01395562756806612, -0.001992554869502783, 0.0011561708524823189, -0.013361640274524689, 0.01674637198448181, 0.018949199467897415, -0.012346005998551846, -0.03823436424136162, -0.004076869692653418, 0.09975838661193848, -0.0026871704030781984, 0.048480622470378876, -0.009514739736914635, 0.0013990788720548153, -0.027184488251805305, -0.06643842905759811, -0.04540128633379936, 0.020856397226452827, -0.000037813475501025096, -0.025109585374593735, 0.07539087533950806, -0.05140028893947601, -0.03679288178682327, -0.011031493544578552, -0.02732236497104168, 0.032508328557014465, 0.05770553648471832, 0.030347511172294617, -0.05133252590894699, 0.028796646744012833, -0.016392782330513, -0.0022571368608623743, -0.03841059282422066, -0.07545248419046402, -0.025755997747182846, 0.01739494502544403, 0.001698278239928186, 0.05181318521499634, 0.05421672761440277, 0.0014014620101079345, 0.031982798129320145, -0.03582603484392166, -0.00031682068947702646, -0.025963161140680313, 0.02047654055058956, 0.006568543147295713, -0.04644140228629112, -0.034229643642902374, -0.029619961977005005, 0.05403247848153114, -0.0030409900937229395, -0.03579382970929146, -0.006628203671425581, -0.02266143262386322, 0.036772895604372025, -0.07453417778015137, -0.003652264131233096, -0.00431812833994627, 0.029665645211935043, 0.03064829483628273, -0.030524972826242447, 0.01612590253353119, 0.053554609417915344, 0.017115546390414238, 0.013047965243458748, 0.00335812964476645, 0.011264490894973278, 0.001722948276437819, -0.015395542606711388, 0.01154482364654541, 0.00829065591096878, 0.03381670266389847, -0.02175595611333847, -0.057354580610990524, -0.010568213649094105, 0.006608222145587206, -0.2514828145503998, 0.04251827299594879, -0.04241800680756569, 0.01083224918693304, 0.004924175329506397, -0.040237072855234146, -0.0024124644696712494, -0.04864569753408432, -0.007632444612681866, -0.00373344449326396, -0.04351070150732994, -0.006930727045983076, -0.009462770074605942, 0.04659472778439522, 0.004554361570626497, -0.016295474022626877, -0.011331574060022831, -0.049269258975982666, -0.002156985690817237, 0.01644231379032135, 0.01666899025440216, -0.04936783015727997, 0.04217156767845154, 0.06127174571156502, 0.004946133121848106, 0.014275036752223969, -0.03993779420852661, 0.04587065428495407, -0.02322474494576454, -0.02327604964375496, 0.0004249846679158509, -0.01099097914993763, 0.016028905287384987, -0.022761300206184387, -0.05634063854813576, -0.04490475729107857, 0.019237665459513664, -0.014489986002445221, 0.045709580183029175, 0.055098410695791245, -0.014291923493146896, -0.01466610748320818, 0.007514216937124729, -0.027058623731136322, 0.06791287660598755, -0.030051833018660545, -0.0765443667769432, 0.013966537080705166, -0.032134201377630234, 0.10015653818845749, -0.01031377725303173, -0.017455365508794785, -0.01196709182113409, 0.04072459042072296, 0.03369760885834694, -0.03033960983157158, -0.040916431695222855, -0.024216433987021446, -0.02120557427406311, -0.00584696140140295, -0.03218776732683182, -0.05300712212920189, -0.01758304238319397, -0.04644745588302612, -0.030124710872769356, -0.04826720431447029, -0.07997847348451614, -0.017368551343679428, 0.052760202437639236, 0.018669506534934044, -0.0015915511175990105, -0.027327166870236397, -0.03423146903514862, -0.10040649771690369, -0.03526201844215393, -0.026952119544148445, -0.04041280597448349, -0.017510194331407547, 0.017760703340172768, 0.04383544996380806, -0.03656608611345291, -0.054903190582990646, -0.01738547347486019, 0.01851968839764595, 0.019444940611720085, -0.020443852990865707, 0.007911846041679382, -0.04150661453604698, -0.03381270170211792, -0.048404090106487274, 0.04082440584897995, -0.02377930097281933, -0.035407811403274536, 0.017622118815779686, 0.015539458021521568, 0.03454754501581192, 0.017289547249674797, 0.02165973372757435, 0.03865395113825798, 0.029433870688080788, 0.048555005341768265, -0.032335761934518814, 0.005358472932130098, -0.026456668972969055, -0.00892474316060543, 0.004708196502178907, -0.049988411366939545, 0.027947276830673218, -0.001991359982639551, -0.021134009584784508, -0.03039609082043171, -0.05753759294748306, 0.0004986324929632246, -0.05537455901503563, -0.046134963631629944, -0.007044061087071896, 0.015428165905177593, -0.0011761629721149802, 0.033924344927072525, -0.02811807207763195, -0.044465046375989914, 0.016792628914117813, 0.015622264705598354, -0.04932329058647156, -0.046746626496315, -0.02419944293797016, 0.015381459146738052, -0.008843490853905678, 0.014165802858769894, 0.021657127887010574, 0.017257241532206535, 0.041721515357494354, -0.004661612678319216, -0.04190950468182564, 0.013888735324144363, -0.02588525600731373, 0.035618264228105545, -0.014187791384756565, -0.05143628641963005, -0.003150779753923416, -0.0001359077141387388, -0.010756089352071285, 0.0483379028737545, 0.023317666724324226, 0.010372988879680634, -0.02076854556798935, 0.015609768219292164, 0.03564818948507309, -0.049282386898994446, 0.028503088280558586, 0.029043391346931458, -0.02187289297580719, 0.06615708023309708, -0.038205586373806, 0.025576766580343246, 0.03325605019927025, 0.04141969606280327, -0.043640829622745514, -0.02195427566766739, -0.05398557335138321, 0.022152399644255638, -0.0023533080238848925, -0.01166991051286459, 0.0063397809863090515, -0.03761139512062073, 0.0314711257815361, -0.04065162315964699, 0.024492399767041206, -0.02085585705935955, 0.002038251142948866, -0.008752647787332535, -0.0021765120327472687, -0.049761250615119934, 0.025721535086631775, -0.0013036741875112057, 0.009066793136298656, -0.019453272223472595, 0.03419960290193558, 0.01612596958875656, 0.0178515762090683, 0.008921695873141289, -0.022802257910370827, 0.019879331812262535, 0.004385227803140879, 0.04282854497432709, -0.026709016412496567, -0.01708012819290161, 0.022585531696677208, -0.037393905222415924, -0.0165913924574852, -0.03346674144268036, -0.0104218153283, -0.03601715713739395, -0.002399242017418146, -0.03202395513653755, -0.05056965351104736, -0.00793839618563652, 0.06455432623624802, -0.03051615133881569, -0.026253610849380493, -0.037469733506441116, -0.012534942477941513, -0.023334497585892677, 0.011673555709421635, 0.045550666749477386, -0.05938439816236496, 0.036951884627342224, 0.009454776532948017, 0.027890531346201897, 0.03412275016307831, 0.011603466235101223, -0.04990177974104881, -0.01654982380568981, 0.0007480005733668804, -0.012563434429466724, -0.01691593788564205, -0.02960735559463501, -0.024350324645638466, -0.0006601952482014894, -0.028007633984088898, -0.02527213655412197, -0.03701963648200035, -0.003495984012261033, 0.002679467434063554, -0.021021943539381027, -0.008934073150157928, -0.008475437760353088, -0.006501729600131512, 0.03500201925635338, -0.011241537518799305, 0.058165907859802246, -0.03204809129238129, 0.05422842130064964, 0.013044103048741817, 0.012759384699165821, 0.005585211794823408, -0.05981539934873581, 0.025153672322630882, -0.0379897803068161, 0.041810281574726105, -0.010915438644587994, -0.0010237939422950149, -0.03150942921638489, 0.006439493503421545, -0.00588577426970005, -0.01175487507134676, -0.008351418189704418, -0.06676013767719269, 0.0011501209810376167, 0.03790343925356865, -0.00520396139472723, 0.07356847822666168, -0.03427134454250336, -0.007874978706240654, 0.051633745431900024, -0.021808747202157974, -0.06241042539477348, 0.0030286989640444517, -0.033083345741033554, 0.03806498274207115, 0.03485870361328125, 0.00907851755619049, -0.057899359613657, 0.03959183767437935, 0.04053204506635666, 0.004620120860636234, 0.038166601210832596, -0.004269813187420368, 0.014513516798615456, -0.030943768098950386, -0.00400162860751152, -0.07842788100242615, -0.012758970260620117, 0.04968168959021568, 0.017609627917408943, -0.022884894162416458, -0.013581220991909504, -0.011742478236556053, 0.0364590585231781, -0.022420024499297142, -0.0038862982764840126, 0.05006391182541847, 0.019098805263638496, 0.005083518102765083, 0.05061158537864685, -0.03993437439203262, 0.017384279519319534, 0.06317195296287537, -0.01771870255470276, 0.018210409209132195, -0.013666234910488129, 0.031813666224479675, -0.01684422791004181, 0.04821039363741875, 0.0014240766176953912, 0.012248191051185131, 0.047764647752046585, 0.03625461459159851, -0.0012947666691616178, 0.08935772627592087, -0.01333552598953247, -0.010877089574933052, 0.05437370762228966, -0.01759684644639492, -0.022005287930369377, 0.04663198068737984, -0.017758069559931755, -0.04522818699479103, 0.030238771811127663, 0.03858059644699097, -0.0009042661404237151, -0.025902453809976578, 0.06441740691661835, 0.01720643974840641, -0.03357918933033943, -0.012339916080236435, 0.028210021555423737, -0.0684804916381836, 0.04441037401556969, -0.024427521973848343, -0.022101642563939095, -0.02220986969769001, 0.062240783125162125, -0.008447864092886448, 0.024128565564751625, 0.06361117959022522, 0.012053563259541988, -0.039612263441085815, -0.005338748916983604, 0.0556236132979393, 0.0860067829489708, 0.05499563738703728, 0.011158722452819347, 0.027972357347607613, -0.036304228007793427, -0.05126166716217995, -0.012876082211732864, -0.010966156609356403, 0.022582989186048508, 0.012890185229480267, 0.03582661226391792, 0.1044999286532402, -0.032141540199518204, 0.03510655462741852, 0.0025666728615760803, -0.009868691675364971, -0.01352883130311966, 0.02316712774336338, 0.04095448926091194, 0.0533519983291626, 0.024261783808469772, 0.03401963785290718, 0.04450124129652977, -0.06406927108764648, 0.038717351853847504, -0.025774477049708366, -0.03411504253745079, 0.010022700764238834, 0.0022253701463341713, 0.017296457663178444, 0.05310624837875366, 0.046636637300252914, 0.0713336393237114, -0.018983235582709312, -0.013193866237998009, -0.009117230772972107, 0.035917751491069794, -0.02259536273777485, -0.024679748341441154, 0.04576318711042404, -0.0024067112244665623, -0.004081789869815111, 0.011415382847189903, -0.038946814835071564, -0.0566507950425148, -0.054777003824710846, 0.042103394865989685, -0.016153080388903618, -0.04197688773274422, 0.029120421037077904, -0.022419879212975502, -0.032409604638814926, -0.049333248287439346, -0.039086099714040756, -0.052512045949697495, -0.06702592223882675, -0.020607292652130127, 0.00773331755772233, -0.047159623354673386, -0.03613187000155449, -0.008489442989230156, 0.02261277474462986, 0.007001516874879599, 0.05922527238726616, -0.020185450091958046, -0.018665209412574768, 0.0420856848359108, 0.011136448010802269, 0.02375524677336216, 0.0002604113833513111, 0.01752631366252899, 0.0024929065257310867, 0.00338800554163754, -0.014825486578047276, -0.010655070655047894, 0.04209194704890251, 0.02876214310526848, -0.02439754456281662, -0.06256170570850372, -0.005644460674375296, 0.04489809274673462, 0.03810731694102287, -0.07246533781290054, 0.010171295143663883, 0.011168492957949638, 0.000821026973426342, 0.06782596558332443, -0.001571547007188201, -0.009482603520154953, -0.026731569319963455, -0.013554615899920464, 0.03728686273097992, 0.01646798849105835, 0.026661342009902, -0.012919964268803596, 0.09172927588224411, 0.05728132650256157, -0.0466453842818737, -0.016698583960533142, -0.004799829795956612, -0.012808932922780514, -0.00011253917182330042, -0.03217548131942749, -0.0480714812874794, -0.0495748333632946, -0.017615020275115967, -0.0095937205478549, 0.008288458921015263, -0.02745724655687809, -0.03219649940729141, -0.01974838599562645, 0.022121120244264603, -0.00859767571091652, 0.02959546260535717, -0.01615692488849163, 0.05414874106645584, 0.01269910205155611, -0.0458979532122612, -0.030541352927684784, 0.011135655455291271, 0.021114496514201164, -0.029497694224119186, 0.035577040165662766, -0.02942628413438797, 0.008196291513741016, -0.018237648531794548, 0.0323333665728569, 0.006009380333125591, -0.05223149061203003, 0.02208566665649414 ]
[ -0.11106833815574646, -0.011638881638646126, -0.06519006937742233, -0.009099839255213737, 0.01764671877026558, -0.03711029142141342, 0.024921661242842674, 0.008468253538012505, 0.013682904653251171, -0.014938280917704105, 0.010494823567569256, -0.0533888004720211, 0.019958149641752243, -0.013972850516438484, 0.09828200936317444, 0.0005694866995327175, -0.05827128887176514, -0.023366833105683327, -0.08065418899059296, -0.0209791362285614, 0.04541798308491707, -0.004837632644921541, 0.00968920812010765, -0.04591374099254608, 0.06045068800449371, 0.036285169422626495, 0.046439673751592636, -0.08640890568494797, 0.0074142515659332275, -0.20599889755249023, 0.0038285956252366304, 0.01021838840097189, 0.015650421380996704, -0.021528946235775948, -0.0502626933157444, 0.06478957086801529, 0.01243172399699688, 0.03152957931160927, -0.04529266804456711, 0.033268850296735764, 0.05397068336606026, 0.02762477658689022, -0.018698198720812798, -0.002411931287497282, 0.031144600361585617, -0.01000943686813116, -0.006196683272719383, -0.028373172506690025, -0.04600261151790619, 0.006214203778654337, -0.03357693925499916, 0.012584025971591473, 0.019445573911070824, -0.024825071915984154, 0.02299591898918152, 0.03036586195230484, 0.03827706351876259, 0.0974644273519516, 0.01367070060223341, 0.04587037116289139, -0.015375837683677673, -0.01321422029286623, -0.13449493050575256, 0.1113748550415039, -0.012895656749606133, 0.022570936009287834, 0.021416015923023224, -0.00373476417735219, -0.025119850412011147, 0.07257360219955444, 0.014106136746704578, -0.01629103347659111, -0.011718896217644215, 0.08077215403318405, 0.020265182480216026, -0.06928666681051254, -0.038960475474596024, 0.0028877451550215483, 0.058447692543268204, -0.03996467962861061, -0.014597360976040363, -0.013862952589988708, -0.001935480860993266, 0.01122037973254919, 0.028546525165438652, 0.015809815376996994, -0.006088320165872574, 0.021224839612841606, 0.0593096949160099, -0.03853082284331322, 0.016419466584920883, -0.0009966191137209535, 0.03988758102059364, 0.05255964398384094, -0.08312532305717468, 0.0014393673045560718, -0.002062372164800763, -0.014994525350630283, -0.026354534551501274, 0.36643487215042114, -0.03646925464272499, -0.001035479479469359, 0.0013353955000638962, 0.06167007237672806, -0.0043680546805262566, -0.00172644283156842, -0.0016097505576908588, -0.042301055043935776, -0.0002543198352213949, -0.04877283424139023, -0.041201356798410416, -0.009620534256100655, 0.05432712286710739, -0.049582306295633316, -0.0228104405105114, -0.007470127195119858, 0.061762187629938126, -0.001971930731087923, 0.004828051198273897, 0.003395931562408805, 0.03766059875488281, -0.003101164475083351, -0.003456051228567958, 0.03655141964554787, -0.009995987638831139, 0.029193447902798653, 0.039437368512153625, 0.06553705781698227, 0.03760166093707085, 0.030579164624214172, 0.03291633725166321, -0.030523110181093216, -0.0757039412856102, 0.008494919165968895, 0.028168121352791786, 0.024439413100481033, 0.008969830349087715, -0.02935904450714588, 0.022403594106435776, 0.024147167801856995, 0.01716565527021885, -0.022080548107624054, -0.009778041392564774, 0.00824021641165018, -0.019248366355895996, 0.11494055390357971, -0.0316588319838047, 0.0067252470180392265, -0.0485009029507637, -0.04954104498028755, -0.017010053619742393, 0.05045408010482788, 0.007140870206058025, -0.019199389964342117, 0.022820929065346718, 0.02623828686773777, 0.07096709311008453, -0.015606988221406937, -0.07668648660182953, 0.02517709508538246, -0.054125018417835236, 0.004200598690658808, -0.06627747416496277, 0.07604104280471802, -0.024026283994317055, -0.07225339859724045, 0.0015121859032660723, 0.0016244851285591722, -0.012791928835213184, -0.057945553213357925, 0.007433410733938217, 0.012718463316559792, -0.0183275043964386, -0.00987099576741457, 0.04769932106137276, 0.0017039143713191152, -0.04505285620689392, -0.05849359557032585, 0.038983918726444244, 0.05592156946659088, -0.017360053956508636, -0.006792961619794369, -0.03171708434820175, -0.005959442816674709, -0.020076991990208626, -0.06409119069576263, -0.10176818072795868, -0.001446491340175271, -0.017529239878058434, -0.016109155490994453, -0.03547759726643562, -0.013572268187999725, -0.029843639582395554, 0.013192216865718365, -0.041837356984615326, -0.014754454605281353, 0.020448243245482445, 0.007387010846287012, -0.001204818719998002, 0.005223159212619066, 0.015469788573682308, 0.04242851212620735, -0.0011652761604636908, 0.03971344605088234, -0.053544558584690094, -0.009239804930984974, 0.001082438277080655, -0.07272558659315109, 0.05059977248311043, 0.04119708389043808, -0.03204765170812607, 0.03265327587723732, -0.026736754924058914, 0.032788779586553574, 0.0017482953844591975, 0.005944651551544666, 0.004546020645648241, -0.06373532861471176, 0.03887113183736801, 0.0014812652952969074, -0.05769020691514015, -0.09155439585447311, -0.023088956251740456, -0.35414013266563416, -0.023976488038897514, -0.0067010498605668545, -0.006939784158021212, 0.07561133056879044, -0.10715463012456894, -0.0191939789801836, -0.015166901051998138, -0.055443402379751205, 0.03349243849515915, 0.08575429022312164, -0.023135460913181305, -0.019498808309435844, -0.04422183334827423, 0.024986756965517998, 0.0021816149819642305, -0.0096804304048419, -0.05005308613181114, -0.007530085276812315, 0.043249569833278656, -0.0017314488068223, -0.05319609493017197, -0.013151818886399269, -0.05436703935265541, -0.024803610518574715, 0.009573955088853836, 0.08144735544919968, 0.0279852245002985, 0.05031818896532059, -0.014182322658598423, 0.061015717685222626, -0.034518107771873474, -0.025556236505508423, -0.05015753582119942, -0.033079344779253006, -0.0499696210026741, 0.0006919564330019057, 0.02193470485508442, 0.03327031061053276, 0.01858367770910263, -0.03266829624772072, 0.07294955849647522, -0.06432496756315231, -0.04523840546607971, 0.008041327819228172, 0.05292484536767006, -0.013963368721306324, -0.010395397432148457, -0.004953233990818262, 0.04650553688406944, -0.013715001754462719, 0.053706057369709015, 0.019158199429512024, -0.011296914890408516, 0.0589250810444355, -0.008027894422411919, -0.060249585658311844, -0.05645864084362984, 0.005854622460901737, -0.018696291372179985, -0.004757241811603308, 0.045216578990221024, 0.06304042786359787, -0.05247523635625839, 0.008043069392442703, -0.03374530002474785, 0.027041295543313026, -0.000007636816008016467, 0.015677435323596, 0.0024074632674455643, -0.04528776556253433, 0.09607893228530884, 0.007777387276291847, 0.03347443789243698, 0.0540204718708992, 0.03209187835454941, -0.03261672705411911, 0.02033594250679016, 0.02302362583577633, -0.010923945344984531, 0.013059651479125023, 0.01663590781390667, 0.012469722889363766, -0.047311197966337204, -0.004350211471319199, 0.019169317558407784, -0.0188260730355978, -0.010436348617076874, 0.015984665602445602, 0.013511095196008682, -0.05475272238254547, -0.0022564807441085577, 0.022901685908436775, -0.004064393229782581, 0.05755782872438431, -0.00506219919770956, -0.2717038691043854, 0.05053684115409851, 0.052953630685806274, 0.05365454778075218, -0.007129328791052103, 0.01932772621512413, 0.06433948129415512, -0.08042175322771072, -0.05014099180698395, -0.005885326769202948, -0.020307334139943123, 0.06437944620847702, 0.02666853927075863, 0.0018611622508615255, 0.03219473734498024, -0.0085667185485363, 0.06865252554416656, -0.011068223975598812, 0.008215880952775478, -0.0033117930870503187, 0.06715139746665955, -0.004116537980735302, 0.2041771560907364, -0.020240239799022675, -0.0005834501353092492, 0.02057795040309429, -0.014338629320263863, 0.02122231386601925, 0.06266514211893082, 0.00385883916169405, 0.025405870750546455, 0.011325335130095482, 0.03814141824841499, -0.007655730005353689, 0.020682960748672485, -0.025341272354125977, -0.009834637865424156, 0.007781345397233963, 0.02319970168173313, -0.05063207447528839, 0.0006485672201961279, -0.004906262271106243, -0.04227668419480324, 0.029834959656000137, 0.09000309556722641, 0.0025720761623233557, 0.026727093383669853, -0.055990807712078094, -0.03328843042254448, 0.029590215533971786, -0.024097975343465805, 0.0037209284491837025, 0.003481371561065316, -0.019471706822514534, 0.006438444368541241, 0.02261880598962307, -0.004934967029839754, -0.018071334809064865, -0.02636244334280491, 0.027939746156334877, 0.039255380630493164, -0.023124346509575844, 0.12378433346748352, 0.0012624480295926332, 0.04652081057429314 ]
[ 0.006846740376204252, 0.007020100951194763, -0.015426217578351498, -0.004734537564218044, 0.011034502647817135, -0.01855609193444252, -0.0025887773372232914, 0.005032982211560011, -0.004606302361935377, -0.03589966893196106, -0.02960200235247612, 0.010837014764547348, 0.0005003248224966228, -0.012781910598278046, 0.04013630375266075, 0.0013329794164747, -0.010997127741575241, 0.01778874360024929, 0.030807098373770714, 0.006818631198257208, 0.00671726418659091, 0.07448749989271164, 0.0187978558242321, -0.012131576426327229, -0.010847524739801884, 0.026513000950217247, -0.006075784098356962, -0.022890757769346237, 0.03265942260622978, -0.15134114027023315, -0.018016846850514412, -0.007984952069818974, -0.0047704437747597694, 0.020428651943802834, -0.031332436949014664, 0.0232350192964077, -0.03585084155201912, 0.011531629599630833, 0.003894595429301262, 0.009379776194691658, 0.002541552297770977, 0.00379134900867939, -0.02726004458963871, -0.0048181950114667416, 0.021573875099420547, 0.045551642775535583, -0.00008661032188683748, -0.005734621547162533, -0.004454602021723986, -0.013165833428502083, -0.008609375916421413, 0.009629873558878899, -0.0054150717332959175, 0.005641438998281956, 0.012532391585409641, -0.045398030430078506, -0.04647829011082649, -0.019584443420171738, 0.026525840163230896, -0.024034425616264343, -0.014377747662365437, 0.022688161581754684, -0.035912517458200455, -0.007829916663467884, -0.01256413385272026, -0.05686249956488609, 0.05091514065861702, 0.0172695554792881, 0.010063999332487583, -0.001402081805281341, 0.01697782799601555, 0.05902067944407463, -0.03682801127433777, -0.035743169486522675, -0.007876883260905743, 0.04242667928338051, 0.02351071871817112, -0.04463278502225876, -0.010651331394910812, -0.015672948211431503, 0.030142491683363914, -0.005915774032473564, 0.03019280731678009, 0.04034470021724701, 0.021765679121017456, -0.009989438578486443, 0.0053418781608343124, -0.007110243663191795, 0.041903212666511536, 0.010526136495172977, -0.01164299063384533, 0.017692996188998222, 0.004233461804687977, 0.003750693518668413, -0.07934378832578659, 0.03189912065863609, -0.021715743467211723, -0.014929955825209618, -0.03504353016614914, 0.8509666919708252, -0.023396214470267296, 0.03641345724463463, 0.028421156108379364, -0.005296186078339815, -0.009033232927322388, -0.011075648479163647, -0.004738504998385906, -0.020566659048199654, 0.02217980846762657, 0.014229835942387581, 0.020741833373904228, 0.008791842497885227, 0.042733728885650635, -0.01852039247751236, 0.019107839092612267, 0.0014231964014470577, 0.04814929515123367, -0.007509453687816858, 0.04037502408027649, 0.016714418306946754, 0.030720289796590805, 0.013403483666479588, 0.011439308524131775, 0.024041296914219856, 0.013875859789550304, -0.1668751835823059, -0.02844034507870674, -7.995755185963417e-33, 0.008409508503973484, -0.011810501106083393, 0.02447844110429287, -0.008686890825629234, -0.04027589410543442, -0.014818075112998486, 0.028093650937080383, -0.019833864644169807, -0.022034121677279472, -0.03300664946436882, -0.01633944734930992, -0.010306695476174355, 0.011856932193040848, -0.011157240718603134, 0.025847982615232468, 0.007103571202605963, 0.019931044429540634, 0.05349956452846527, 0.005261676851660013, 0.007687597535550594, -0.005718069151043892, 0.0016280653653666377, -0.0004490707360673696, -0.0018070449586957693, -0.003984864801168442, 0.0078199477866292, 0.05291331559419632, -0.008316333405673504, -0.0009207637049257755, -0.05461471155285835, -0.02124115824699402, 0.01436583697795868, 0.011477243155241013, -0.011971804313361645, 0.06797750294208527, -0.05001760274171829, -0.004750297870486975, 0.00047397392336279154, -0.015794044360518456, -0.0316384881734848, -0.005638874135911465, -0.01650429144501686, -0.04406067728996277, 0.011365051381289959, 0.006570411846041679, -0.021540410816669464, -0.015131885185837746, 0.032258063554763794, 0.014501004479825497, 0.035364218056201935, 0.015244776383042336, 0.023938456550240517, -0.012421417981386185, -0.012968972325325012, -0.00018942885799333453, -0.012089919298887253, -0.023677144199609756, -0.024956971406936646, -0.006357893813401461, 0.02813423052430153, 0.0016812300309538841, 0.010513224638998508, -0.011799517087638378, 0.041770629584789276, -0.013203073292970657, -0.04268680140376091, -0.03669159486889839, 0.028906086459755898, 0.02690497599542141, 0.04542487859725952, -0.03912464901804924, 0.0019806367345154285, -0.022633416578173637, -0.019351819530129433, -0.006474991794675589, -0.0365213006734848, -0.016879135742783546, -0.03487525135278702, 0.009123134426772594, 0.0542801171541214, 0.04018916189670563, -0.038019951432943344, -0.017206596210598946, 0.02066948264837265, -0.012430340982973576, 0.0063079665414988995, 0.0048570577055215836, -0.0055499994195997715, 0.00835507083684206, -0.01847381703555584, 0.04421170428395271, -0.0036296832840889692, -0.018378473818302155, -0.02596454694867134, -0.03983149304986, 7.574353685505074e-33, -0.032139863818883896, 0.0016667218878865242, -0.022096620872616768, 0.028323404490947723, -0.000990595668554306, -0.02475440874695778, 0.02572418563067913, -0.002188735641539097, -0.019500475376844406, 0.041326854377985, -0.03093656152486801, -0.011562023311853409, 0.00011648334475466982, -0.0010495829628780484, 0.047838784754276276, 0.004383064340800047, 0.008021832443773746, -0.002404608065262437, -0.0123435752466321, 0.018733341246843338, -0.008047176524996758, 0.020466046407818794, 0.03332166373729706, 0.01804618164896965, -0.012902479618787766, 0.03321679309010506, -0.035049740225076675, 0.0014168749330565333, 0.021324750036001205, 0.0017232558457180858, 0.014820908196270466, -0.025124572217464447, 0.020419035106897354, 0.006455225870013237, -0.01820453815162182, 0.01017025113105774, 0.0034897432196885347, -0.012100674211978912, 0.048391010612249374, -0.020292770117521286, 0.013860010541975498, -0.026368262246251106, 0.002548729069530964, -0.003030043328180909, -0.0003298947704024613, -0.018290240317583084, 0.015655631199479103, -0.006872785743325949, 0.04259054362773895, -0.033970870077610016, -0.0003997746971435845, 0.03276054561138153, -0.013157986104488373, 0.017390884459018707, 0.01383922528475523, -0.03670034930109978, -0.0365850068628788, -0.006580201908946037, -0.02461089938879013, 0.01838347688317299, -0.016258295625448227, -0.022326190024614334, 0.012509839609265327, -0.007408027537167072, -0.02142641879618168, -0.015383807942271233, -0.021791769191622734, -0.044410340487957, -0.03510751202702522, 0.007799242623150349, -0.051036931574344635, -0.01644917204976082, -0.008298798464238644, 0.03283463045954704, -0.007848206907510757, -0.014313098974525928, -0.0002601516607683152, 0.0012857008259743452, -0.003698126645758748, 0.03177003934979439, 0.01633577048778534, -0.029268210753798485, 0.004991849884390831, 0.01962139457464218, 0.010860401205718517, -0.024265235289931297, 0.003025539219379425, 0.0045385295525193214, 0.04880332946777344, 0.001700904220342636, 0.0027337512001395226, -0.004175850655883551, 0.012259652838110924, 0.02307833731174469, -0.013659131713211536, -1.3466293857788969e-8, -0.012911382131278515, 0.009425891563296318, -0.019342906773090363, 0.030329393222928047, 0.004696918651461601, 0.021236874163150787, -0.014117016457021236, -0.02066265046596527, -0.030230993404984474, -0.0032912653405219316, -0.003167746588587761, 0.016984863206744194, 0.0064234426245093346, 0.02113015577197075, 0.0668259710073471, -0.021685345098376274, 0.008348009549081326, -0.004132719710469246, 0.025182709097862244, -0.013268602080643177, -0.026282988488674164, 0.03194969892501831, -0.026976367458701134, -0.018815454095602036, -0.010016023181378841, 0.0019551445730030537, 0.017440058290958405, -0.08527830243110657, 0.023830685764551163, -0.03075009398162365, 0.020285379141569138, -0.03292613849043846, -0.018755260854959488, -0.015459178946912289, -0.013577012345194817, -0.016631800681352615, 0.016342751681804657, 0.01904263161122799, 0.022298114374279976, 0.015985261648893356, -0.03404052183032036, 0.02216986194252968, 0.0003422278387006372, -0.022038282826542854, -0.028527135029435158, -0.023935308679938316, -0.010111495852470398, -0.014338302426040173, 0.003697840729728341, 0.00026428562705405056, 0.04654379189014435, 0.007817944511771202, 0.006150467321276665, 0.01448979414999485, 0.028642842546105385, 0.004194264300167561, 0.00023326130758505315, -0.06743477284908295, -0.032200660556554794, -0.0061996509321033955, 0.017330138012766838, 0.005796028766781092, -0.04027198255062103, -0.004100848454982042 ]
clojure-the-apply-function
https://markhneedham.com/blog/2009/11/25/clojure-the-apply-function
false
2009-10-03 13:58:55
Learn one thing a day
[ "learning" ]
[ "Learning" ]
I came across an interesting post about a month or so written by Chad Fowler on Tim Ferriss' blog where he suggested that a useful way of ensuring that we are always improving is to ask the question 'http://www.fourhourworkweek.com/blog/2009/07/28/the-big-question-are-you-better-than-yesterday/[Am I better than yesterday?]' at the end of each day. I really like this idea and I think it fits in quite nicely with the approach that I take which is to try and ensure that I learn one new thing each day. I find that it encourages me to be more inquisitive than I might otherwise be and helps avoid the problem of just cruising through the day and just doing the same thing day in day out. When we start working on a new project it's quite easy to achieve this because we don't know much about the domain, we might not be familiar with the stack, there's existing code to get familiar with and so on. It's much more challenging after you've worked on the same thing for a while and it's certainly tempting to conclude that there's nothing else to learn and that you need to work on something new to learn new things. To an extent that's true because I find that a lot of what I learn comes from working with different people who have completely conflicting opinions on the best way to do things but there's certainly ways to keep on learning even after we've got past the initial http://softwarecraftsmanship.oreilly.com/news/2008/10/11/the-firehose[fire hose] learning stage. == Continuously question what you're doing This is http://www.markhneedham.com/blog/2009/09/25/tdd-it-makes-you-question-what-youre-doing/[much easier when you're pair programming] but certainly possible even when working alone. I think what you question probably depends on what interests you the most so for me that tends to be a lot around how we can test code more effectively and how to make code more expressive and explicit wherever possible. In order to do that I'm often looking for patterns that help to describe approaches that worked well and if we get something wrong then I want to try and discover what we would need to do when encountered with a similar situation in the future to not make that mistake again. Fairly closely linked with the idea of questioning what we're doing is to try out other approaches and see if they work out better than what we're currently doing. For example my colleague Matt Dunn and I were recently discussing where the factory and builder patterns were more applicable for object creation in different contexts. We already had the factory pattern implemented in one section of the code so we spent a little time playing around with the builder pattern to see if that would have worked out better. I think this appraoch works quite well because you can quickly see the potential problems you might encounter with another approach which might not be entirely obvious if you only talk about it. == Trawl the code base An approach which I find quite useful once you are becoming reasonably comfortable when working with a code base is to start trying to find bits of it that you haven't done much work on or that you are curious to learn more about. For me this exploration tends to guide me to the edges of the applicatins I work on and the interaction with other libraries that we are making use of. A couple of examples of ares that I've explored on projects I've worked on have been the way that we make use of a dependency injection container which can often seem a bit 'magical' and the 'glue code' that we use to integrate with libraries like Hibernate. If my intrigue is great enough then I'll probably end up looking through the code for those libraries as well. There's nearly always something new to learn there as the design of frameworks tends to be a bit different than the design of applications from what I've seen. == And if that doesn't teach you anything\... At some stage we probably reach a point where we're really familiar with the code base and there doesn't seem to be much else that we can learn from a project. If this is the case then I've found that http://www.markhneedham.com/blog/category/dotnet/f-dotnet/[learning a new language], taking part in http://www.markhneedham.com/blog/category/coding-dojo/[coding dojos] or participating in a http://www.markhneedham.com/blog/category/book-club/[book club] can not only be quite useful for helping to learn new ideas/techniques but also perhaps giving you a new perspective on your project code base. It's also interesting to talk to other people to see what they're learning as it can give you ideas of some areas that you might want to improve in as well. I think people working in software development generally have a desire to learn new things and most of the time it's quite easy to find those opportunities so these are just a few ideas for things I try to do when it feels like I'm cruising too much for my liking.
null
null
[ 0.030124768614768982, 0.004158488009124994, -0.003931806888431311, 0.04958634078502655, 0.0784565731883049, 0.028507819399237633, 0.04292583093047142, 0.038923267275094986, 0.02398068830370903, -0.02629973366856575, -0.016444532200694084, 0.006065474823117256, -0.05201391130685806, -0.005489923059940338, -0.030328311026096344, 0.06351800262928009, 0.06737600266933441, -0.017486583441495895, 0.03532616049051285, 0.006068211514502764, 0.015386498533189297, 0.06355614215135574, 0.0075895460322499275, 0.020100992172956467, 0.03909522667527199, 0.012370665557682514, 0.01206614263355732, 0.000711602158844471, -0.05591950565576553, -0.005936817266047001, 0.030504288151860237, 0.01141982153058052, 0.0267008189111948, -0.00825180858373642, 0.0036135877016931772, -0.021446239203214645, 0.0008478012750856578, 0.01379519421607256, 0.007259333971887827, 0.018560316413640976, -0.06239105761051178, 0.04611359164118767, -0.008800444193184376, 0.0139677245169878, -0.03751177340745926, 0.006606838200241327, -0.014823269098997116, -0.002724094083532691, 0.01698441058397293, -0.003381361486390233, -0.0656190738081932, 0.047402989119291306, 0.018339892849326134, -0.00772358663380146, -0.018331896513700485, 0.06885316967964172, 0.04990452527999878, -0.07082972675561905, 0.0007403107592836022, -0.024924615398049355, -0.012023165822029114, -0.013890947215259075, 0.01200036145746708, 0.03751492127776146, 0.011546746827661991, -0.022165920585393906, -0.014756301417946815, 0.03059447556734085, -0.015333146788179874, 0.015643654391169548, -0.0070142666809260845, 0.003224647603929043, -0.013414764776825905, -0.01730460673570633, 0.007121844217181206, -0.035208094865083694, 0.0020709712989628315, 0.05914711207151413, 0.002031284151598811, 0.029805626720190048, -0.03748641908168793, 0.01816028729081154, 0.01317878719419241, 0.03768899291753769, 0.0014601732837036252, -0.013438002206385136, 0.014809967018663883, -0.023310497403144836, -0.05191100761294365, 0.051959868520498276, 0.013317694887518883, -0.05915156379342079, 0.030906863510608673, 0.041504744440317154, 0.01221408974379301, 0.0034783869050443172, 0.02525441348552704, 0.020327016711235046, 0.0030381744727492332, -0.016512617468833923, -0.008503983728587627, -0.03549038991332054, 0.01509134005755186, 0.0047644213773310184, -0.07010140269994736, 0.00013420230243355036, -0.024506153538823128, -0.037786249071359634, 0.015435933135449886, 0.00548145966604352, -0.026847802102565765, 0.026271643117070198, -0.02059708535671234, 0.019185855984687805, -0.05891287699341774, 0.0637955516576767, 0.003661672817543149, -0.048674970865249634, -0.02950848452746868, -0.00016934298037085682, 0.00870581530034542, 0.017008183524012566, -0.008606492541730404, 0.09174857288599014, 0.0023418415803462267, 0.023201745003461838, -0.022839713841676712, 0.05020805075764656, -0.021906236186623573, -0.04703143984079361, -0.022942358627915382, 0.03892826661467552, -0.03640842065215111, -0.02382788434624672, -0.005035324953496456, -0.015675663948059082, -0.009661197662353516, 0.005529935006052256, 0.021067814901471138, 0.060874614864587784, -0.003452172502875328, -0.04325985908508301, 0.039314985275268555, -0.0033181472681462765, 0.01967603527009487, -0.012251602485775948, -0.0057586198672652245, -0.015526234172284603, -0.032152749598026276, -0.01534839067608118, 0.01284805778414011, 0.013090456835925579, 0.0012641079956665635, -0.03865664824843407, 0.015452087856829166, 0.06930889934301376, 0.008502433076500893, 0.027003664523363113, -0.01564924605190754, 0.033021729439496994, 0.027924569323658943, 0.02892902120947838, 0.0027332620229572058, 0.028753310441970825, -0.003939189948141575, -0.008449576795101166, 0.005257914774119854, 0.03012787736952305, -0.012712602503597736, 0.019396420568227768, -0.06144602969288826, -0.017617117613554, 0.0628601461648941, -0.06168721988797188, -0.03247985243797302, 0.03680887073278427, 0.08933187276124954, 0.012396837584674358, 0.021049126982688904, -0.005865153390914202, -0.06708698719739914, 0.006504489108920097, 0.008111344650387764, 0.030535077676177025, 0.025458959862589836, -0.03269043564796448, 0.046964824199676514, 0.021332457661628723, 0.006905974820256233, 0.050683945417404175, -0.09503522515296936, -0.08938348293304443, -0.01961105316877365, -0.04083537310361862, 0.06526683270931244, -0.030281968414783478, 0.028135864064097404, 0.06657690554857254, 0.006728861480951309, 0.06237734854221344, 0.04339298605918884, -0.012362685054540634, 0.004087737761437893, -0.032505664974451065, -0.04394151642918587, 0.052298445254564285, 0.048534948378801346, -0.031251441687345505, -0.0546347014605999, 0.007453941740095615, -0.024286355823278427, -0.004975704476237297, 0.04054892063140869, -0.01653422974050045, 0.019719010218977928, 0.02901279926300049, 0.07226976007223129, -0.02530132606625557, 0.040957238525152206, -0.042546238750219345, 0.020723789930343628, 0.0040004015900194645, -0.02468189224600792, 0.020320406183600426, 0.007166477385908365, 0.09357961267232895, 0.05873158946633339, -0.08380822092294693, -0.030074838548898697, 0.0061561050824820995, 0.020548537373542786, -0.03621899336576462, 0.005141618195921183, -0.012353518977761269, 0.019558535888791084, 0.0008557384135201573, -0.05060127377510071, -0.04198296368122101, 0.009484002366662025, -0.04535093903541565, 0.013842681422829628, 0.06507720798254013, -0.016849683597683907, 0.046314336359500885, -0.0284054484218359, -0.005537773482501507, -0.01340933796018362, -0.003594363806769252, -0.04481444135308266, 0.020663518458604813, 0.024089792743325233, -0.023833278566598892, 0.06545884162187576, -0.02243734523653984, -0.03823786973953247, -0.03192007914185524, -0.045378174632787704, 0.010875064879655838, 0.04353487119078636, 0.0790250226855278, -0.0025998016353696585, 0.04336780309677124, 0.0012558954767882824, 0.04270683228969574, 0.009386604651808739, -0.05201083794236183, -0.05405604839324951, -0.05797092989087105, 0.004476582631468773, 0.054151441901922226, -0.013139300048351288, 0.020068127661943436, 0.03445162996649742, 0.009248746559023857, -0.026881709694862366, -0.024928849190473557, 0.04803897440433502, 0.008469239808619022, -0.02066565304994583, -0.04645952954888344, -0.03412941098213196, 0.05017668753862381, -0.03917621076107025, -0.012822202406823635, 0.010250610299408436, -0.07303401827812195, 0.047847930341959, -0.05780099332332611, -0.0575832836329937, 0.03089367225766182, 0.02322028949856758, 0.050700556486845016, -0.00778770400211215, 0.032351892441511154, 0.08245918899774551, -0.0047523705288767815, 0.02623073011636734, -0.030376572161912918, 0.004906892776489258, 0.04312192648649216, 0.021292593330144882, -0.00336544681340456, 0.03261243551969528, 0.022389527410268784, -0.000983632169663906, -0.04673219472169876, 0.04236792400479317, -0.023141399025917053, -0.28508806228637695, 0.02660338766872883, 0.002289603464305401, -0.04754096269607544, 0.02947137877345085, -0.023141935467720032, 0.005307808518409729, -0.04390329867601395, -0.01997421681880951, 0.01226862519979477, -0.04800074175000191, -0.03921182081103325, -0.029663756489753723, 0.04990474879741669, 0.0013208617456257343, 0.017720524221658707, 0.022766031324863434, -0.04044724628329277, 0.019202999770641327, 0.04325813427567482, -0.0179537832736969, -0.060186970978975296, 0.00026333797723054886, 0.048732928931713104, 0.03151441365480423, 0.059575024992227554, -0.09905792027711868, 0.03679822012782097, -0.04726956784725189, 0.0042632813565433025, -0.01009632833302021, 0.015469363890588284, 0.008391070179641247, -0.03084472380578518, -0.004729468375444412, -0.005251617636531591, 0.029562700539827347, -0.0014515497023239732, 0.011299834586679935, 0.02153066173195839, -0.01868339069187641, -0.03877925127744675, -0.009511958807706833, 0.018400060012936592, 0.06846350431442261, 0.002677387557923794, -0.060805533081293106, -0.019523290917277336, -0.033556919544935226, 0.06673343479633331, -0.04562241584062576, -0.02646487019956112, 0.004757481161504984, 0.03497245907783508, 0.001276957569643855, -0.038529086858034134, 0.006984558887779713, -0.03572452440857887, -0.03344307839870453, -0.03994511812925339, 0.001036541536450386, -0.02077879197895527, 0.0008285597432404757, -0.051171645522117615, 0.0025306427851319313, -0.07665606588125229, -0.048657625913619995, -0.02202373743057251, 0.06520243734121323, 0.035498183220624924, -0.02811102382838726, 0.021136965602636337, 0.014315848238766193, -0.10733451694250107, -0.00839438196271658, -0.006189223378896713, -0.011123217642307281, -0.0018842547433450818, 0.02734692022204399, 0.046784479171037674, -0.03367074579000473, -0.06522252410650253, 0.04425085335969925, -0.005137281492352486, 0.04313488304615021, -0.006105249281972647, 0.03522627055644989, 0.015463579446077347, -0.033185262233018875, 0.00912882387638092, 0.06493797898292542, -0.01785467006266117, -0.024834362789988518, -0.0056377011351287365, 0.04158157855272293, 0.03841341659426689, 0.03424865007400513, -0.018112443387508392, -0.002347511239349842, 0.03038063272833824, -0.01004830002784729, -0.046981148421764374, 0.03747052699327469, -0.015650251880288124, -0.007651268504559994, -0.007289879955351353, -0.04517120122909546, 0.03551477938890457, 0.04722689837217331, 0.03139229863882065, -0.01401475165039301, -0.042877621948719025, -0.016173219308257103, -0.035757411271333694, -0.04265661910176277, -0.021344423294067383, 0.017874961718916893, 0.02579575963318348, -0.012811621651053429, -0.002648278372362256, -0.05574549362063408, -0.0035302811302244663, 0.005493045784533024, 0.013330664485692978, -0.0711134672164917, -0.03231045603752136, 0.004006007686257362, -0.02890080027282238, 0.030242392793297768, 0.02325459197163582, -0.023445894941687584, 0.019168617203831673, 0.006863356567919254, -0.048763517290353775, 0.017524929717183113, -0.02396000176668167, -0.045071396976709366, -0.03142835199832916, -0.0064538875594735146, 0.007019296288490295, -0.012825150974094868, 0.03162870928645134, -0.0006054331315681338, 0.01581123098731041, 0.04977620020508766, -0.0017906691646203399, 0.002208360470831394, -0.03079363889992237, 0.014029628597199917, 0.024311473593115807, 0.002734525129199028, -0.07569780945777893, 0.02028491534292698, -0.05604753643274307, -0.03326673060655594, -0.03019079379737377, 0.034238994121551514, -0.022231927141547203, -0.026475977152585983, -0.002768952399492264, 0.00827647466212511, -0.07915644347667694, -0.048795200884342194, -0.030541973188519478, 0.04299873486161232, 0.0638367235660553, -0.03302313759922981, 0.0198051780462265, -0.0035856463946402073, -0.020982546731829643, -0.009303389117121696, 0.01976005919277668, -0.05045904964208603, 0.005631486885249615, 0.009510529227554798, -0.003396431915462017, 0.00006986579683143646, 0.007814723998308182, 0.03586326539516449, 0.014394325204193592, -0.0029367636889219284, -0.03587842360138893, -0.010737304575741291, 0.030001487582921982, 0.04866454750299454, 0.014507955871522427, 0.019886789843440056, 0.008140218444168568, -0.023708496242761612, -0.025242406874895096, -0.041967883706092834, -0.019798744469881058, 0.008382484316825867, 0.01780836470425129, -0.02666454389691353, -0.08517807722091675, 0.0591217502951622, 0.02851019985973835, 0.01982250064611435, 0.006085990462452173, -0.026867259293794632, -0.018230412155389786, -0.03390653803944588, 0.04829559475183487, 0.0598309263586998, -0.06622974574565887, 0.013288024812936783, -0.014547603204846382, 0.025601238012313843, -0.010416514240205288, -0.00401371531188488, -0.0574316680431366, -0.02406194619834423, -0.01985090970993042, -0.0045234328135848045, -0.0661199614405632, -0.02979256398975849, -0.011437859386205673, 0.011369273997843266, -0.01125856302678585, -0.013183209113776684, -0.012977714650332928, -0.008042272180318832, -0.013348700478672981, -0.012232990935444832, 0.0007880302146077156, -0.043450310826301575, -0.0072583784349262714, 0.01098085381090641, -0.028951650485396385, 0.010705015622079372, -0.019749566912651062, 0.03199343383312225, 0.02457401156425476, -0.025441482663154602, -0.02045983262360096, -0.0263627041131258, 0.012763851322233677, -0.015565582551062107, 0.038441672921180725, -0.009677811525762081, -0.026309089735150337, -0.03689876198768616, -0.03331019729375839, -0.0453772135078907, 0.029442528262734413, -0.04099081829190254, -0.0021329366136342287, 0.02046322636306286, 0.06279724091291428, 0.03112044930458069, 0.0459795817732811, -0.003766144160181284, -0.013988816179335117, 0.022593867033720016, -0.06292492151260376, -0.02255168929696083, -0.039939768612384796, -0.06807354837656021, 0.01009606197476387, 0.013882122933864594, 0.02772625908255577, -0.059325121343135834, 0.054548099637031555, 0.01194715779274702, 0.057440292090177536, 0.04856574162840843, 0.008587021380662918, 0.03365514799952507, -0.062092576175928116, -0.008665786124765873, -0.08068297803401947, -0.01804243214428425, 0.042662546038627625, 0.01248815655708313, -0.008818192407488823, -0.001220904989168048, -0.018586304038763046, 0.05238484963774681, -0.0558294914662838, -0.016540976241230965, 0.03597774729132652, -0.0017903236439451575, -0.02158830687403679, 0.02673535794019699, -0.0683538094162941, 0.026627888903021812, 0.023774679750204086, -0.035882916301488876, -0.020039400085806847, -0.03899180889129639, 0.05288415029644966, 0.004873757716268301, 0.03853478655219078, -0.037364523857831955, -0.009368551895022392, 0.08300432562828064, 0.0057571567595005035, -0.004054391290992498, 0.04849078878760338, 0.008053002879023552, 0.04847332090139389, 0.025481637567281723, 0.018919985741376877, -0.022807670757174492, 0.030235910788178444, -0.005563198588788509, -0.055898308753967285, 0.025215957313776016, 0.023579595610499382, -0.045455824583768845, -0.02896994911134243, 0.06430268287658691, 0.026326319202780724, -0.030763208866119385, -0.0530424490571022, 0.003962458577007055, -0.06886660307645798, -0.00988197885453701, -0.0011620025616139174, -0.013913593254983425, -0.04069436341524124, 0.05202411115169525, 0.009862568229436874, 0.0027104029431939125, 0.07116194814443588, 0.007549535017460585, -0.03625155985355377, -0.020412171259522438, 0.08850453794002533, 0.06727319955825806, 0.0628526583313942, -0.007546983193606138, 0.058500293642282486, -0.03489493951201439, -0.03480428829789162, 0.011796803213655949, -0.009694794192910194, -0.0278885830193758, -0.052301932126283646, 0.031754396855831146, 0.04538055136799812, 0.00849895365536213, 0.052417512983083725, -0.027048656716942787, -0.026112748309969902, 0.0034157435875386, 0.038567863404750824, 0.029868299141526222, 0.07515610009431839, 0.014832166023552418, 0.00549063365906477, -0.012067007832229137, -0.05666948854923248, 0.040033698081970215, -0.06443316489458084, -0.011632914654910564, 0.023992905393242836, 0.005631126929074526, 0.01709478534758091, 0.0053290920332074165, 0.02078729309141636, 0.0680854395031929, -0.03494083508849144, 0.032125022262334824, -0.015608121640980244, 0.03445038944482803, -0.013905148953199387, 0.005292312707751989, -0.014745865017175674, -0.012843350879848003, -0.016737528145313263, -0.021013982594013214, -0.014644651673734188, -0.02267030067741871, -0.03231425955891609, 0.040119532495737076, -0.027580780908465385, -0.002998286858201027, 0.02971697598695755, 0.018465876579284668, -0.020601235330104828, -0.07443555444478989, -0.030001066625118256, -0.03895903378725052, -0.029307926073670387, -0.04623236134648323, 0.02970365434885025, 0.009113605134189129, -0.037478044629096985, 0.006672481540590525, -0.02864101529121399, -0.037807006388902664, 0.04128550738096237, -0.043507762253284454, -0.015370333567261696, 0.022725144401192665, 0.02868940494954586, 0.038708411157131195, 0.016609862446784973, 0.021637681871652603, -0.01352384127676487, -0.004382315557450056, -0.02437986060976982, 0.006283783819526434, 0.01616961508989334, 0.0139440493658185, 0.01581992581486702, -0.08464261144399643, 0.022523758932948112, 0.027908096089959145, 0.005663965828716755, -0.06578955054283142, 0.03332570195198059, 0.005341550800949335, -0.008603264577686787, 0.050640325993299484, -0.02982988767325878, 0.02500363439321518, -0.03308873251080513, 0.0156839769333601, 0.0037543538492172956, 0.02275155298411846, 0.04439593479037285, -0.020443420857191086, 0.08447693288326263, 0.0012377577368170023, -0.00869827438145876, -0.03826269879937172, -0.008008081465959549, -0.014170453883707523, -0.00040735688526183367, -0.006237312685698271, -0.053424037992954254, -0.03020033799111843, -0.07581062614917755, -0.023985909298062325, 0.02386009506881237, -0.01249129418283701, -0.026602499186992645, 0.027428502216935158, 0.022772546857595444, -0.05271414294838905, 0.03511812165379524, -0.05568629130721092, 0.040581438690423965, -0.01166890561580658, 0.0054869698360562325, 0.004245251417160034, 0.0011332810390740633, 0.00018852016364689916, -0.0029245992191135883, 0.005261869635432959, -0.03859182819724083, -0.0024404653813689947, 0.008817069232463837, 0.04082605242729187, 0.026495028287172318, 0.014421438798308372, -0.015476296655833721 ]
[ -0.08868894726037979, -0.008644762448966503, -0.02160477265715599, -0.028787050396203995, 0.0301190335303545, -0.02316061221063137, -0.001474489807151258, 0.01908556930720806, -0.004745712503790855, -0.043360449373722076, -0.007795673329383135, -0.011752631515264511, 0.02364402636885643, -0.008710116147994995, 0.08971507102251053, 0.029297636821866035, -0.01587487943470478, -0.059748098254203796, -0.0020593947265297174, 0.005982530768960714, 0.003731230739504099, -0.03151658922433853, -0.044750381261110306, -0.03282344341278076, 0.037407632917165756, 0.02060459554195404, 0.028745051473379135, -0.060895103961229324, 0.03295893594622612, -0.1538141518831253, -0.006770244333893061, 0.02331160567700863, 0.05056731030344963, -0.03660174086689949, -0.002377483993768692, 0.0723046213388443, 0.009262965060770512, 0.035296618938446045, -0.018374640494585037, 0.035982146859169006, 0.03284090384840965, 0.012283314019441605, -0.0490633100271225, -0.034226324409246445, 0.012225133366882801, 0.02477865107357502, 0.017147356644272804, -0.0498104952275753, -0.01753455586731434, 0.028037870302796364, -0.047042351216077805, -0.05990275368094444, -0.04270092397928238, -0.025584476068615913, -0.0033564676996320486, 0.024415289983153343, 0.0207111444324255, 0.07952152192592621, -0.030532659962773323, 0.035020068287849426, 0.006967672146856785, -0.023671582341194153, -0.14053235948085785, 0.09941145032644272, 0.047799281775951385, 0.05576622858643532, -0.05062002316117287, 0.009939550422132015, -0.019479304552078247, 0.11581959575414658, 0.009517264552414417, -0.0015563701745122671, -0.01785903610289097, 0.059233032166957855, 0.01964258961379528, -0.00478749955072999, 0.00944537203758955, 0.008333327248692513, 0.03823086619377136, -0.04193013161420822, -0.013169065117835999, -0.00709512596949935, 0.002709990832954645, -0.01995132677257061, -0.02915242128074169, 0.03751862794160843, -0.03590821474790573, 0.04077918827533722, 0.04345646873116493, 0.032348815351724625, 0.03991050273180008, -0.015379192307591438, -0.0024211741983890533, -0.00830497220158577, -0.05776483565568924, -0.03780555725097656, 0.014047248288989067, 0.037201736122369766, -0.0588463619351387, 0.4089415371417999, -0.0556645505130291, -0.016771798953413963, 0.08585910499095917, 0.020521748811006546, -0.016090845689177513, -0.018795287236571312, 0.030639491975307465, -0.041141606867313385, 0.027390696108341217, -0.04865443333983421, 0.013882670551538467, 0.016237270087003708, 0.05657787248492241, -0.034847959876060486, -0.0016386574134230614, 0.05790374428033829, 0.04644232243299484, 0.015328103676438332, 0.0014165063621476293, 0.005916781723499298, -0.0039993771351873875, 0.004453135654330254, 0.029644373804330826, -0.019510118290781975, -0.037243202328681946, -0.03413071855902672, 0.0220301803201437, 0.06624727696180344, 0.017711007967591286, -0.01474508736282587, 0.082835853099823, -0.06196147948503494, -0.036111243069171906, -0.0010471646673977375, -0.0018908167257905006, 0.0026231580413877964, 0.018262017518281937, -0.02569403313100338, 0.023225514218211174, 0.04196358472108841, 0.010183842852711678, -0.005885403603315353, 0.03800705447793007, -0.017803097143769264, -0.035709429532289505, 0.1150035560131073, 0.009089093655347824, -0.029903337359428406, -0.002428460633382201, -0.06895742565393448, -0.0018683462403714657, 0.009566298685967922, 0.007273545488715172, -0.05774782970547676, 0.03557216376066208, -0.009689165279269218, 0.1342868208885193, -0.021611811593174934, -0.04456312209367752, -0.009038194082677364, -0.04170559346675873, -0.004250435624271631, -0.05742615461349487, 0.005160220433026552, 0.08303909748792648, -0.07747304439544678, -0.004484602250158787, -0.011634347029030323, 0.019127529114484787, -0.06216231733560562, 0.013800020329654217, 0.008653057739138603, -0.023357680067420006, 0.02214180864393711, 0.07334189116954803, -0.05008799955248833, -0.02982489950954914, 0.027031946927309036, 0.06894684582948685, 0.026805071160197258, 0.05827995017170906, -0.015264151617884636, -0.01896854117512703, 0.006066623609513044, -0.025390615686774254, -0.06558019667863846, -0.012593400664627552, -0.012679805979132652, -0.03020467422902584, -0.009153824299573898, -0.004180605988949537, -0.015976281836628914, -0.07941630482673645, 0.09204428642988205, -0.03270530328154564, -0.030824989080429077, 0.03658461198210716, -0.022173259407281876, -0.06063070148229599, -0.012389443814754486, -0.08382254093885422, 0.007162683643400669, -0.028567520901560783, 0.013815177604556084, -0.052852410823106766, 0.05661390349268913, 0.05913902446627617, -0.06697617471218109, 0.10693943500518799, 0.05983457714319229, -0.041036974638700485, -0.0506579615175724, 0.045251160860061646, 0.02193291299045086, 0.022368159145116806, -0.0184069462120533, -0.0011002118699252605, 0.0185234397649765, -0.01983705908060074, 0.02924526296555996, -0.01724550686776638, -0.01557560358196497, -0.005474913865327835, -0.33989161252975464, -0.034047793596982956, -0.014381465502083302, -0.0005053840577602386, 0.02827221155166626, -0.058568309992551804, 0.017746178433299065, -0.014274698682129383, -0.029263745993375778, -0.0023346717935055494, 0.0825725868344307, -0.02906820923089981, 0.011021498590707779, -0.08356546610593796, -0.002382556675001979, 0.012477142736315727, -0.022555362433195114, -0.018500369042158127, -0.009203176945447922, 0.005922766402363777, -0.0010787156643345952, 0.002439574571326375, 0.02221199870109558, -0.09155990928411484, 0.0019571210723370314, -0.06769795715808868, 0.08545061200857162, 0.0030949912033975124, 0.09039135277271271, -0.028628526255488396, 0.04176585003733635, -0.00014462132821790874, 0.03040245734155178, -0.12946158647537231, 0.010013341903686523, -0.02079389989376068, 0.01260935328900814, -0.04924798011779785, 0.016254883259534836, -0.04018021374940872, -0.04267071932554245, 0.00858654547482729, -0.060294270515441895, -0.035956282168626785, -0.1108335331082344, 0.001117180217988789, -0.027295200154185295, -0.029436767101287842, -0.04120543971657753, 0.050912462174892426, 0.01006371434777975, -0.00037190745933912694, -0.010758362710475922, -0.018630390986800194, -0.021632719784975052, -0.035761263221502304, -0.10260055959224701, 0.027912840247154236, -0.007547542452812195, -0.005040043033659458, 0.005036285147070885, 0.06390596181154251, 0.0030949527863413095, -0.03525935858488083, 0.01210508868098259, 0.023372502997517586, 0.012851095758378506, 0.004660427570343018, 0.04973232373595238, -0.002932671457529068, -0.013704566285014153, 0.0684608668088913, -0.008586152456700802, -0.01835956610739231, 0.0025490494444966316, 0.0007165342103689909, -0.03462844341993332, 0.040590133517980576, 0.022628018632531166, -0.021323436871170998, 0.009403643198311329, -0.03546988591551781, 0.03590084984898567, -0.012525524012744427, -0.004682324826717377, -0.003777700010687113, -0.010041410103440285, -0.035070061683654785, 0.06637119501829147, 0.03623967990279198, -0.026149973273277283, 0.0019334302050992846, -0.02048931084573269, -0.06797339767217636, 0.10004062205553055, -0.004969235509634018, -0.23058854043483734, 0.0041746897622942924, 0.049819402396678925, 0.02821356989443302, -0.017884502187371254, 0.056755561381578445, 0.03692234307527542, -0.0249369814991951, -0.0021177176386117935, 0.003947963006794453, 0.031214263290166855, 0.027860267087817192, -0.007636552676558495, 0.00041909137507900596, 0.04394390806555748, -0.012865765020251274, 0.04296472668647766, -0.0019432184053584933, 0.005777190905064344, -0.023779191076755524, 0.0286359041929245, 0.02534990757703781, 0.15116935968399048, -0.005141329951584339, 0.0445268414914608, 0.017585378140211105, 0.005639423616230488, 0.0075334208086133, 0.08229809999465942, -0.010316994041204453, 0.01174340583384037, -0.0013693320797756314, 0.03680256009101868, 0.011021615006029606, 0.0223679281771183, -0.04883182421326637, -0.025988532230257988, 0.009533897042274475, 0.018254635855555534, -0.006530826445668936, 0.009220666252076626, 0.0006397628458216786, -0.03622037172317505, 0.035462964326143265, 0.08583144843578339, 0.00416944595053792, 0.016850177198648453, -0.061429236084222794, -0.07032682746648788, -0.03811822831630707, -0.030516458675265312, -0.026687974110245705, 0.02878585085272789, 0.0235856045037508, 0.019845223054289818, 0.0700991153717041, 0.03321282938122749, -0.014145199209451675, -0.00967059563845396, 0.0010792448883876204, -0.014890309423208237, 0.0029481935780495405, 0.12847831845283508, 0.04111578315496445, 0.030700568109750748 ]
[ -0.0029356887098401785, 0.01666829362511635, 0.02515997923910618, -0.0005176778067834675, -0.011013091541826725, -0.03369307518005371, -0.0034747302997857332, -0.01108086109161377, -0.005370767787098885, -0.02219255268573761, -0.03615943714976311, 0.020335523411631584, -0.018147338181734085, -0.00860280729830265, 0.029624754562973976, -0.007182787172496319, -0.018765578046441078, -0.030663885176181793, 0.016383890062570572, 0.012046574614942074, -0.01715722307562828, 0.01343956496566534, 0.0071527729742228985, 0.00005921154297539033, -0.024572428315877914, 0.03052423894405365, -0.010140204802155495, 0.011987358331680298, 0.01646733470261097, -0.14473000168800354, -0.03983646631240845, -0.0183117538690567, -0.03706694766879082, -0.0011321523925289512, -0.007615407928824425, -0.018549777567386627, -0.0008096499368548393, 0.012637321837246418, -0.0050865961238741875, 0.010874449275434017, 0.008500992320477962, -0.022597823292016983, 0.018852531909942627, 0.0044377767480909824, -0.03585250303149223, 0.005313835572451353, 0.009020471945405006, -0.04344917833805084, -0.005883524194359779, -0.014501062221825123, -0.02578682266175747, 0.004043587017804384, -0.02577611804008484, 0.005509018432348967, 0.0332513228058815, 0.018483057618141174, 0.012481657788157463, -0.007153341080993414, -0.0013458321336656809, -0.025604980066418648, -0.009054772555828094, 0.009346277453005314, -0.05144551768898964, -0.01692008413374424, -0.009038369171321392, -0.03955862298607826, -0.009242482483386993, 0.02565639652311802, -0.020018180832266808, -0.0056663621217012405, -0.03637352213263512, 0.020726243034005165, -0.017598213627934456, -0.013597841374576092, 0.019729163497686386, 0.011293925344944, 0.011826997622847557, -0.02003380097448826, -0.0009343657293356955, -0.021722283214330673, -0.013620002195239067, 0.029758749529719353, 0.014993580989539623, 0.03604300692677498, -0.008016098290681839, 0.030864110216498375, 0.004367032088339329, 0.006650297902524471, 0.012084552086889744, 0.002844708040356636, -0.03366141766309738, 0.005104667507112026, 0.0005803009844385087, 0.004246491007506847, -0.08057509362697601, -0.023085547611117363, -0.02556581050157547, 0.0006550461985170841, -0.005875287111848593, 0.8746415376663208, 0.0009639695635996759, 0.030995981767773628, 0.03215784579515457, -0.01133460272103548, 0.023567380383610725, -0.002345962217077613, -0.02139364555478096, 0.00020817895710933954, 0.01757623255252838, -0.041891466826200485, 0.005232827737927437, 0.012829229235649109, 0.03735360875725746, -0.0034690762404352427, 0.048426687717437744, 0.017811916768550873, 0.01517321914434433, 0.021831214427947998, -0.023144232109189034, 0.014899025671184063, 0.0228923037648201, -0.004093501716852188, 0.005094702821224928, 0.017326107248663902, -0.00394625635817647, -0.16771778464317322, 0.01304383110255003, -8.618131690265816e-33, 0.04563068971037865, -0.005689758807420731, 0.021897923201322556, -0.007509105373173952, 0.00393294170498848, 0.004623171873390675, 0.04179496690630913, 0.031795382499694824, -0.0006774772773496807, -0.013324812054634094, 0.013894756324589252, -0.00641260389238596, -0.021960467100143433, -0.023796208202838898, 0.028334058821201324, -0.015995251014828682, -0.02034229412674904, 0.026107637211680412, -0.00021502954768948257, 0.03409739211201668, 0.02965422347187996, 0.0220586359500885, -0.0046359458938241005, -0.03015293926000595, 0.013528740033507347, -0.012222914956510067, 0.035610221326351166, 0.04437816143035889, -0.009430663660168648, -0.04815053194761276, -0.008012733422219753, -0.003141929628327489, -0.024627575650811195, -0.023222222924232483, 0.04330366849899292, -0.03969708830118179, -0.004058836493641138, -0.0016365998890250921, -0.014708464965224266, -0.04814182594418526, -0.05660450831055641, -0.01112397387623787, -0.02083013951778412, -0.007786157075315714, -0.013131764717400074, -0.006175665650516748, 0.016735751181840897, -0.002792020794004202, 0.004115484654903412, -0.023979151621460915, 0.01612705923616886, -0.0006136724841780961, 0.0026309783570468426, -0.007668203208595514, -0.019067905843257904, 0.026012344285845757, -0.005609332583844662, -0.002118082018569112, 0.007254757918417454, 0.04701757803559303, -0.010369991883635521, 0.0020907530561089516, -0.02666127309203148, 0.015402037650346756, 0.008142023347318172, -0.007734284270554781, 0.03759753331542015, 0.0028775010723620653, 0.034859709441661835, -0.015576248057186604, -0.02751948870718479, -0.02611628919839859, -0.008989242836833, -0.023502493277192116, 0.01697724312543869, -0.003146692179143429, 0.005199383478611708, -0.012142706662416458, -0.006627518218010664, 0.03437287360429764, 0.003985606133937836, -0.013780932873487473, 0.010533969849348068, -0.03926162049174309, -0.003035446861758828, -0.003365014446899295, 0.02593335695564747, -0.013594897463917732, -0.020045215263962746, 0.033037129789590836, 0.01523429062217474, 0.006717999000102282, 0.011217710562050343, -0.0021269028075039387, 0.011052167043089867, 8.497847026766018e-33, 0.017831843346357346, -0.026077283546328545, -0.04036426544189453, 0.008692293427884579, 0.0257230456918478, -0.009736945852637291, 0.022243699058890343, 0.016989663243293762, -0.05243796855211258, 0.03184526413679123, -0.009688615798950195, 0.02803697995841503, -0.0231479462236166, 0.015835879370570183, 0.025879358872771263, -0.021549927070736885, 0.0015180596383288503, -0.023282650858163834, 0.034376099705696106, 0.003185730893164873, -0.007161564659327269, 0.003481586230918765, -0.000741418160032481, 0.006162664853036404, 0.00502907345071435, 0.07316406071186066, -0.013204335235059261, 0.018020905554294586, 0.003330876352265477, -0.010569315403699875, 0.01208955142647028, 0.0045546116307377815, 0.01873580366373062, -0.01591937057673931, -0.020291490480303764, 0.017432592809200287, 0.006524308118969202, -0.03932850435376167, 0.03070479817688465, -0.01650337129831314, 0.018542714416980743, 0.005294757895171642, 0.02770465612411499, -0.0011018372606486082, 0.011487099342048168, 0.007387401536107063, -0.018331333994865417, 0.010664070956408978, -0.00914747640490532, 0.028910459950566292, -0.013468658551573753, -0.00017079782264772803, -0.013185204938054085, 0.0012913994723930955, 0.011985630728304386, -0.020987244322896004, -0.00830812193453312, -0.00010626453877193853, -0.017798753455281258, 0.05176875740289688, -0.005139363929629326, -0.007294801529496908, -0.02590532787144184, 0.019543977454304695, -0.019210582599043846, -0.0027424211148172617, -0.011932010762393475, 0.00025711956550367177, 0.014285708777606487, 0.017141733318567276, -0.0302168857306242, 0.005146544426679611, 0.006097202189266682, 0.012751119211316109, -0.0020655326079577208, -0.031181370839476585, -0.008853866718709469, 0.01622091792523861, -0.028760265558958054, 0.04718342423439026, -0.0005135533283464611, 0.0070458282716572285, 0.0026852351147681475, 0.021285351365804672, -0.009923583827912807, 0.012819510884582996, -0.001001944881863892, 0.03421534225344658, 0.005801038350909948, -0.011990362778306007, 0.002389335772022605, -0.014762599021196365, -0.016606967896223068, -0.004155096597969532, -0.01825721189379692, -1.4142223392354936e-8, -0.007071866188198328, 0.010231103748083115, -0.004390321206301451, 0.015596207231283188, 0.015534577891230583, -0.021258480846881866, -0.01248645968735218, 0.0018557282164692879, -0.03500406816601753, 0.01689627766609192, 0.057943470776081085, -0.02883581444621086, 0.005499630700796843, 0.025099629536271095, 0.01882346346974373, -0.032954685389995575, 0.013125626370310783, -0.018768787384033203, 0.017761318013072014, -0.012606584466993809, 0.05545174703001976, 0.04974552243947983, -0.0364769883453846, 0.05372053384780884, 0.012844007462263107, 0.0000951718830037862, -0.014605219475924969, -0.06667007505893707, -0.0035255944821983576, 0.035588935017585754, 0.011582509614527225, -0.03879547119140625, -0.028910551220178604, 0.014471787959337234, -0.019472159445285797, -0.03150198236107826, 0.006594961043447256, -0.0030030570924282074, -0.010283755138516426, -0.011857439763844013, 0.002983740996569395, -0.002707537729293108, 0.013545336201786995, -0.03625744953751564, -0.018614456057548523, 0.012450291775166988, -0.02125585824251175, -0.02749527245759964, -0.01369677297770977, -0.030490167438983917, -0.0006252146558836102, -0.0017355000600218773, 0.05140598118305206, 0.019821617752313614, 0.018513429909944534, 0.021263478323817253, -0.003968430683016777, -0.008813036605715752, -0.027275053784251213, 0.004368216264992952, 0.002793053165078163, 0.0313400961458683, -0.027770008891820908, -0.030263492837548256 ]
learn-one-thing-a-day
https://markhneedham.com/blog/2009/10/03/learn-one-thing-a-day
false
2009-10-04 16:59:29
Coding: Rules of thumb
[ "software-development" ]
[ "Coding" ]
I recently came across http://ayende.com/Blog/archive/2009/09/28/even-tests-has-got-to-justify-themselves.aspx[a post by Ayende where he talks about the need for tests to justify themselves] and describes his approach to testing which doesn't involved TDDing all the code he writes. While this approach clearly works well for Ayende I really like the following comment by Alex Simkin: ____ Anyway, this post should be marked MA (Mature Audience Only), so younger programmers wont use excuse to not write unit tests because Ayende doesn't do it. ____ This reminds me of a conversation I was having with a few colleagues a while ago where we were discussing whether we should look to test drive absolutely everything that we write or whether we should make that decision on a case by case basis. Personally, I don't yet have the experience to be able to tell when it's appropriate not to drive code (excluding http://www.thekua.com/atwork/2008/02/if-you-do-test-driven-development-all-the-time-youre-doing-something-wrong/[spiking]) and pretty much every time that I've decided something was 'too easy' to test drive I've managed to make a mistake and not realised it until much later than would have been the case with a test driven approach. I'm finding that this applies to more than just testing though and it seems that where an approach is known to reduce a lot of potential pain then it might be useful to favour that approach unless we find an intriguing reason not to. Thinking along those lines I think it makes sense to follow some 'rules of thumb' and not break them unless we absolutely have to. Some rules of thumb which I've come across are: * Don't put anything into the session * Don't put getters onto objects - make all code adhere to the http://www.pragprog.com/articles/tell-dont-ask[tell don't ask] principle * Write production code test first * Write classes which adhere to the single responsibility principle * Favour composition over inheritance * Favour constructor injection over setter injection Given a situation where I want to reuse some code and I know that I could choose between doing it with composition or inheritance I wouldn't consider this a 50-50 choice but instead would look to use composition unless it became really difficult to do this and inheritance was clearly the answer in which case I would use that. Obviously these 'rules of thumb' might be a bit restrictive for people at the higher levels of skill of the http://www.markhneedham.com/blog/2009/07/18/book-club-the-dreyfus-model-stuart-and-hubert-dreyfus/[Dreyfus model] and I imagine that even with people with less experience they could be quite dangerous if applied too literally. I wonder whether being dogmatic about a few rules of thumb would be more or less dangerous than making decisions not to follow a useful practice because you mistakenly believe you have the ability to tell whether or not it applies in a given situation? Corey Haines wrote http://programmingtour.blogspot.com/2009/10/on-term-pragmatic.html[a really good post where he talks about the misuse of the word 'pragmatic'] which seems to address this area although he comes to a slightly different conclusion: ____ This is a common thing that I hear from software developers: they have a little bit of experience, think that they understand something to the point where they can make their own decisions on what it means to 'be pragmatic.' Often times, people use the term 'pragmatic' as a way to hide a lack of skill and experience. Or, sometimes, it is used in ignorance: someone doesn't realize that they don't understand something well enough. Usually, though, it is brought to play when someone is justifying cutting corners on something\...this can come back later to bite you in the ass. Think your 9 months of trying TDD makes you an expert, someone who can suddenly decide when it is 'pragmatic' to not design your system with TDD. Or, don't even worry about designing your system with TDD, just talk about automated testing. Are you being 'pragmatic' about automated testing, skipping it things you don't know how to do or are hard? ____ Typically when people try to justify a shortcut this is exactly the way they will justify it. The irony is that quite often much suffering is gained from that decision so it wasn't really that pragmatic after all. I realise that there http://scottcreynolds.com/archive/2009/09/29/601.aspx[aren't really any rules for software development that we can follow all the time] and expect to gain success with but it does seem that some approaches have already been proven to be more effective than others so it might be useful to make use of them.
null
null
[ 0.031141705811023712, -0.001241346006281674, -0.010771029628813267, 0.04698581621050835, 0.07599297910928726, 0.008832674473524094, 0.03167857602238655, 0.02283194661140442, 0.029317306354641914, -0.025898031890392303, 0.008029470220208168, 0.009980580769479275, -0.05683465301990509, 0.008121419697999954, -0.031540803611278534, 0.074933722615242, 0.06870923936367035, -0.014479128643870354, 0.03648386150598526, 0.0010979954386129975, 0.03431259095668793, 0.04830925911664963, 0.005245449487119913, 0.049137357622385025, 0.034103989601135254, 0.02671429142355919, 0.018045898526906967, 0.0073524159379303455, -0.06014933064579964, -0.027276868000626564, 0.03850186988711357, 0.013254900462925434, 0.009561562910676003, -0.005810687784105539, 0.004696264863014221, -0.021215124055743217, 0.0016457871533930302, 0.020105885341763496, 0.016537358984351158, 0.003931328188627958, -0.07536650449037552, 0.024301987141370773, -0.003077062778174877, -0.0020661435555666685, -0.051953837275505066, -0.005543975625187159, -0.025976527482271194, 0.005492156371474266, -0.0003235225158277899, -0.00759368808940053, -0.04596429318189621, 0.04661856219172478, -0.018574127927422523, 0.0035370730329304934, -0.007879088632762432, 0.05463869497179985, 0.013766658492386341, -0.0811682790517807, 0.016865162178874016, -0.04021965712308884, -0.011560454033315182, 0.008320165798068047, -0.009179390966892242, 0.05243626981973648, 0.048637986183166504, 0.00011370652646292001, -0.014618639834225178, 0.027971263974905014, -0.05958057940006256, -0.004990777000784874, -0.0024917512200772762, 0.016961216926574707, -0.013705364428460598, -0.023373620584607124, 0.005960213486105204, -0.035480380058288574, -0.004923120141029358, 0.048919688910245895, 0.018354399129748344, 0.05087608844041824, -0.020075755193829536, 0.024520760402083397, 0.00909413956105709, 0.019709033891558647, -0.01537927147001028, -0.0381346195936203, 0.009642031975090504, -0.001341228955425322, -0.042412884533405304, 0.08409219980239868, 0.008552263490855694, -0.054859720170497894, 0.0401710569858551, 0.041600558906793594, -0.01051594689488411, 0.011259682476520538, 0.030571753159165382, 0.005338056944310665, 0.0026942945551127195, -0.0025735986419022083, -0.04498233273625374, -0.040824729949235916, 0.0023667030036449432, 0.027347078546881676, -0.08022452890872955, 0.0028134407475590706, -0.03381644934415817, -0.014230831526219845, -0.019847434014081955, 0.01643841527402401, -0.03883720934391022, 0.018719876185059547, -0.005628553684800863, -0.010176957584917545, -0.07712499052286148, 0.05873684957623482, 0.010133014991879463, -0.027373608201742172, -0.0033658139873296022, 0.016057413071393967, 0.030180329456925392, 0.013087129220366478, 0.0008918629609979689, 0.0814201831817627, 0.01581212878227234, 0.039966754615306854, -0.019934674724936485, 0.07043513655662537, -0.007566153537482023, -0.05934089794754982, 0.017802515998482704, 0.03680657595396042, -0.01650102250277996, 0.00023765965306665748, 0.0016261786222457886, -0.023526599630713463, -0.004815688356757164, -0.0076805478893220425, 0.028854547068476677, 0.07082030177116394, -0.01728447526693344, -0.0385495163500309, 0.02650294452905655, 0.01676410250365734, 0.011790855787694454, -0.01368750911206007, -0.011243535205721855, -0.009897361509501934, -0.03731858730316162, -0.0003062574833165854, 0.02773299254477024, 0.040282368659973145, 0.011893480084836483, -0.04250327870249748, 0.016206204891204834, 0.0737798810005188, 0.022463195025920868, 0.0189223513007164, -0.017715370282530785, 0.04414274916052818, 0.041481420397758484, 0.04071492701768875, 0.020348025485873222, 0.023392150178551674, 0.020856207236647606, 0.006567616946995258, -0.02379172295331955, 0.04296797886490822, -0.00020149689225945622, 0.0069196210242807865, -0.06342807412147522, -0.07032507658004761, 0.06674427539110184, -0.07064342498779297, -0.011135845445096493, 0.035765718668699265, 0.07105877250432968, 0.013341410085558891, 0.04256581515073776, -0.0050657703541219234, -0.07837598025798798, 0.020443685352802277, 0.015190757811069489, 0.01625029742717743, 0.010517844930291176, -0.018241550773382187, 0.057573746889829636, 0.011393419466912746, -0.00045940998825244606, 0.04202878102660179, -0.07177796959877014, -0.08963170647621155, -0.01190968882292509, -0.0279754176735878, 0.05612943693995476, -0.0390031635761261, 0.00016100950597319752, 0.10010635852813721, 0.008873889222741127, 0.059545889496803284, 0.04109390079975128, 0.009948351420462132, 0.026221660897135735, -0.051243435591459274, -0.010880977846682072, 0.049233365803956985, 0.049006830900907516, -0.014223499223589897, -0.059389978647232056, 0.013146947138011456, 0.007763925939798355, -0.007371256593614817, 0.046391092240810394, -0.012067657895386219, 0.03692048415541649, 0.01983623579144478, 0.0699116587638855, -0.035290028899908066, 0.07807350903749466, -0.06425931304693222, 0.00015117473958525807, -0.018678968772292137, -0.016614656895399094, 0.010989031754434109, -0.004669924732297659, 0.1176280602812767, 0.06188252195715904, -0.045376796275377274, -0.04133304953575134, 0.0003216351615265012, 0.004401924088597298, -0.03054935112595558, 0.0010466118110343814, -0.0007127851713448763, -0.013475405052304268, 0.016925664618611336, -0.05460940673947334, -0.007245961576700211, 0.014464589767158031, -0.0317058227956295, 0.02932344377040863, 0.07922501116991043, -0.02531660534441471, 0.0463050939142704, -0.03349466621875763, -0.018306182697415352, -0.0014047925360500813, 0.003828212385997176, -0.05266927555203438, 0.011694737710058689, 0.014210553839802742, -0.018704768270254135, 0.04632395878434181, -0.039360735565423965, -0.0324370414018631, -0.036867979913949966, -0.048736847937107086, 0.010874279774725437, 0.037918608635663986, 0.06725912541151047, -0.03374170511960983, 0.03571641817688942, 0.0013701122952625155, 0.021947233006358147, 0.010568547993898392, -0.05982706695795059, -0.014875593595206738, 0.008676359429955482, -0.008806712925434113, 0.04752207174897194, -0.006604589056223631, 0.025516536086797714, 0.039729539304971695, 0.001692353398539126, -0.037244100123643875, 0.002070921240374446, 0.027144785970449448, 0.01183977909386158, -0.027041593566536903, -0.012383530847728252, -0.03554394468665123, 0.04058920592069626, -0.030780481174588203, -0.012347236275672913, 0.014437212608754635, -0.08377660065889359, 0.04924454167485237, -0.07639334350824356, -0.0591389536857605, 0.010562465526163578, 0.03621504083275795, 0.03457130864262581, -0.008544917218387127, 0.0143837109208107, 0.07638932019472122, 0.020682979375123978, 0.008918511681258678, -0.01602654904127121, 0.009211740456521511, 0.01690618321299553, 0.013201629742980003, -0.009294763207435608, 0.020264755934476852, 0.010342666879296303, 0.016019275411963463, -0.04663705825805664, 0.02178817428648472, -0.015060505829751492, -0.29158324003219604, 0.027122486382722855, -0.0006075401324778795, -0.01963762566447258, 0.029307039454579353, -0.007868961431086063, 0.007477371487766504, -0.06258796155452728, -0.027973975986242294, 0.027621937915682793, -0.053661685436964035, -0.04620615392923355, -0.01263811718672514, 0.06443215906620026, -0.011121741496026516, 0.021811312064528465, 0.03120286390185356, -0.022923070937395096, 0.014584837481379509, 0.05602458491921425, -0.01285322941839695, -0.07475409656763077, -0.01133518572896719, 0.04154285043478012, 0.05271489918231964, 0.05143248289823532, -0.09060443192720413, 0.05432805418968201, -0.05949316918849945, 0.000411711516790092, -0.011673195287585258, 0.0007995880441740155, -0.008282422088086605, -0.03893134370446205, -0.03887242451310158, 0.002534291008487344, 0.01995372585952282, 0.0006333186174742877, -0.004088243003934622, 0.018869750201702118, -0.03204391151666641, -0.04486281797289848, -0.030484149232506752, 0.005019048228859901, 0.035885944962501526, -0.017115384340286255, -0.08189700543880463, -0.0018692562589421868, -0.02359755150973797, 0.06944873183965683, -0.059146199375391006, -0.02347850427031517, -0.011670160107314587, 0.028130535036325455, -0.017640069127082825, -0.04442222788929939, -0.005600656848400831, -0.016556836664676666, -0.025480840355157852, -0.018839994445443153, -0.03063730150461197, -0.026208247989416122, -0.016867542639374733, -0.030797181650996208, -0.012432475574314594, -0.06011652201414108, -0.0493839755654335, -0.009464950300753117, 0.060041338205337524, 0.022741863504052162, -0.011421519331634045, 0.013127497397363186, 0.018899912014603615, -0.1194511130452156, -0.01765085943043232, -0.00796495471149683, -0.031137937679886818, -0.028881892561912537, -0.0023075055796653032, 0.06382041424512863, -0.03826918452978134, -0.038073375821113586, 0.031523432582616806, 0.006209695246070623, 0.010043044574558735, -0.009374404326081276, 0.040357038378715515, 0.009623152203857899, 0.010689176619052887, 0.021435173228383064, 0.0756552517414093, 0.003827738808467984, -0.010054709389805794, -0.02246059849858284, 0.023942621424794197, 0.018136266618967056, 0.04379589855670929, 0.0029634847305715084, 0.012753022834658623, 0.010089007206261158, 0.006865115370601416, -0.058296483010053635, 0.05320107564330101, 0.0032505937851965427, 0.0019475367153063416, -0.043083030730485916, -0.04539614915847778, 0.033697620034217834, 0.02830110676586628, 0.029318250715732574, -0.009412168525159359, -0.032622918486595154, -0.010257890447974205, -0.0337076373398304, -0.03314338997006416, -0.04665019363164902, 0.013388481922447681, 0.0447503924369812, -0.050337083637714386, -0.015023875050246716, -0.04055848345160484, -0.011325955390930176, -0.01696615107357502, -0.001889977022074163, -0.049182601273059845, -0.026817837730050087, 0.012275257147848606, -0.027838660404086113, 0.0006900966400280595, 0.03718578442931175, -0.015193677507340908, 0.03172004222869873, 0.01960488222539425, -0.042727209627628326, 0.012418956495821476, -0.04114663228392601, -0.039603255689144135, -0.0019205751596018672, -0.008961274288594723, -0.011564177460968494, 0.016955886036157608, -0.00023102876730263233, 0.016898225992918015, 0.03212762624025345, 0.048152998089790344, 0.00587193900719285, 0.03192624822258949, -0.003184774424880743, -0.000017978429241338745, 0.012682057917118073, 0.04533573240041733, -0.07750531286001205, 0.007798137608915567, -0.03336573392152786, -0.048795927315950394, -0.03285760059952736, 0.011337683536112309, -0.0005142699228599668, -0.04420110210776329, -0.01882387138903141, 0.007159312721341848, -0.0634782537817955, -0.042884986847639084, -0.03238588944077492, 0.029546614736318588, 0.07443682104349136, -0.026903778314590454, 0.03148355707526207, -0.03583097457885742, -0.02000824362039566, -0.0009253969765268266, 0.027256319299340248, -0.03056066483259201, 0.010370210744440556, 0.018460528925061226, -0.01101752370595932, -0.002542426809668541, -0.016048016026616096, 0.048305485397577286, 0.010780609212815762, -0.007999860681593418, -0.019714606925845146, 0.014549464918673038, 0.018143462017178535, 0.050081767141819, -0.01045730710029602, 0.009585918858647346, -0.018445266410708427, -0.017872922122478485, -0.004186862614005804, -0.04745582491159439, -0.020962577313184738, 0.010288509540259838, 0.06128431111574173, -0.043505847454071045, -0.07165388762950897, 0.05138172209262848, 0.0105866314843297, 0.010717103257775307, 0.01610545627772808, 0.012488716281950474, -0.012546378187835217, -0.01599249616265297, 0.030876243487000465, 0.04830852523446083, -0.03803456202149391, 0.013656374998390675, -0.0037393297534435987, 0.01415958534926176, 0.03488419950008392, 0.001001907279714942, -0.05427590385079384, -0.032840270549058914, -0.015962539240717888, -0.00637433584779501, -0.051672518253326416, -0.0007768157520331442, -0.03849498927593231, 0.014278169721364975, 0.0003601197386160493, -0.017413398250937462, -0.018127577379345894, -0.02005954273045063, -0.013489333912730217, -0.02421218529343605, 0.01559862494468689, -0.023651933297514915, -0.006455340422689915, 0.041314542293548584, -0.03832066431641579, 0.004609578754752874, -0.02909214235842228, 0.01310496125370264, 0.01788267120718956, -0.03355466201901436, -0.030078256502747536, -0.023720523342490196, 0.018400708213448524, 0.0037893906701356173, 0.02153554931282997, 0.021418631076812744, -0.03515668958425522, -0.022485191002488136, -0.012936762534081936, -0.046551067382097244, 0.027361195534467697, -0.01865512505173683, -0.030835282057523727, 0.0244637168943882, 0.08082669973373413, 0.025042783468961716, 0.03443591296672821, 0.0002722477656789124, -0.004506942816078663, 0.030414758250117302, -0.07587311416864395, -0.015230911783874035, -0.03245275467634201, -0.060190409421920776, 0.01999080553650856, 0.009106877259910107, 0.014657240360975266, -0.022135375067591667, 0.015470228157937527, -0.0028374202083796263, 0.018459780141711235, 0.04899643734097481, 0.005500113591551781, 0.0651821494102478, -0.07825978845357895, 0.017647191882133484, -0.08906800299882889, 0.010411701165139675, 0.01622249186038971, 0.02051953598856926, -0.016976812854409218, -0.006074454635381699, -0.047285083681344986, 0.03601863980293274, -0.047882504761219025, -0.010005932301282883, 0.03887195885181427, 0.007400623057037592, -0.018929099664092064, 0.004800533410161734, -0.05231482535600662, 0.035801876336336136, 0.01463397778570652, -0.032396044582128525, -0.02131376974284649, 0.002058445243164897, 0.03653064742684364, 0.04434485733509064, -0.0002986593171954155, -0.040022432804107666, 0.01310789491981268, 0.0736507847905159, 0.010685867629945278, 0.003206767374649644, 0.023999296128749847, -0.020663738250732422, 0.03408108651638031, 0.035324111580848694, 0.012258819304406643, -0.017646905034780502, -0.0037272090557962656, -0.008092062547802925, -0.05620746687054634, 0.03714179992675781, 0.0119743337854743, -0.0369015708565712, -0.035049114376306534, 0.05393683537840843, 0.01387756783515215, -0.0375792495906353, -0.049992527812719345, -0.010650618933141232, -0.055807631462812424, -0.02610982023179531, -0.012543553486466408, 0.0007643125136382878, -0.03602436184883118, 0.05301607400178909, 0.0033102461602538824, -0.0055776904337108135, 0.06188530847430229, -0.0023867248091846704, -0.011386509984731674, -0.014171457849442959, 0.08860234916210175, 0.07291395962238312, 0.04217182844877243, -0.0036017196252942085, 0.061198994517326355, -0.024549290537834167, -0.03985901176929474, 0.016299601644277573, -0.01252687256783247, -0.000404093210818246, -0.03597719222307205, 0.03783669322729111, 0.03432292491197586, -0.008536881767213345, 0.05524597689509392, -0.015579299069941044, 0.005483985412865877, 0.00018859990814235061, 0.029335401952266693, 0.010030170902609825, 0.07405401766300201, 0.006464745383709669, 0.00514058955013752, -0.01609376072883606, -0.04436912015080452, 0.021956996992230415, -0.03705724701285362, -0.021851327270269394, 0.011210676282644272, -0.005969385150820017, 0.015688784420490265, 0.013178170658648014, 0.03447914868593216, 0.07426474243402481, -0.02889985591173172, 0.012884840369224548, 0.002674705348908901, 0.044093143194913864, 0.004653284326195717, -0.007997076958417892, -0.02838739939033985, -0.02076859213411808, -0.023722028359770775, -0.01642512157559395, -0.027765655890107155, -0.016175756230950356, -0.037178464233875275, 0.056820183992385864, -0.017390437424182892, -0.011648518033325672, 0.016036059707403183, 0.0030341350939124823, -0.04162842407822609, -0.05420657619833946, -0.03301963955163956, -0.015097520314157009, -0.057700611650943756, -0.020860856398940086, 0.029581116512417793, -0.02063324674963951, -0.028629381209611893, -0.019113074988126755, -0.011565331369638443, -0.033966921269893646, 0.04186784476041794, -0.052769385278224945, -0.049649499356746674, 0.03728922829031944, 0.01576843298971653, 0.03678286820650101, 0.007336679380387068, 0.047609131783246994, 0.007823391817510128, -0.007563785184174776, -0.03540032356977463, -0.01181433629244566, 0.029976792633533478, -0.012747767381370068, 0.03886106237769127, -0.08669109642505646, 0.007903841324150562, 0.02672419510781765, -0.007904649712145329, -0.061907727271318436, 0.02877793088555336, -0.015388105064630508, -0.004964889492839575, 0.05725493282079697, -0.040853481739759445, 0.02333289571106434, -0.009386491030454636, -0.013818825595080853, 0.025476081296801567, 0.027515683323144913, 0.04366104304790497, -0.03212583810091019, 0.09087219834327698, 0.005382392089813948, -0.022312168031930923, -0.04014640673995018, 0.001798073761165142, -0.009585404768586159, 0.009782830253243446, -0.018305057659745216, -0.040139369666576385, -0.022382764145731926, -0.06903389096260071, -0.019877100363373756, -0.0018492236267775297, -0.024318519979715347, -0.02586204744875431, 0.02809758111834526, 0.025456607341766357, -0.059750430285930634, 0.02310946397483349, -0.04944690316915512, 0.05079615116119385, -0.03130440041422844, -0.007441835943609476, 0.015961196273565292, 0.004762591794133186, -0.004266231320798397, 0.006823158822953701, 0.015567831695079803, -0.044317036867141724, -0.03625987842679024, 0.007378024980425835, 0.04715973883867264, 0.03801834583282471, -0.010255949571728706, -0.007239550352096558 ]
[ -0.09884541481733322, 0.023761147633194923, -0.027030406519770622, -0.042194291949272156, 0.027595417574048042, -0.035061948001384735, -0.002783962758257985, 0.024367686361074448, -0.023177873343229294, -0.0368410088121891, -0.005508759990334511, -0.02944965288043022, -0.028760189190506935, -0.022226400673389435, 0.06315961480140686, -0.004575378727167845, -0.010568547062575817, -0.060444798320531845, 0.033610984683036804, 0.023696843534708023, 0.002467163372784853, -0.033427003771066666, -0.04408005252480507, -0.03297387436032295, 0.053116168826818466, 0.05487605184316635, 0.037442829459905624, -0.03604426607489586, -0.002001362619921565, -0.1923207938671112, 0.0031274347566068172, 0.0036804925184696913, 0.02153586782515049, -0.035071879625320435, -0.012588954530656338, 0.05696626380085945, 0.040164899080991745, 0.0014255403075367212, 0.002909304341301322, 0.02384733036160469, 0.016680821776390076, 0.01090606115758419, -0.04222710430622101, -0.00743164261803031, 0.038282979279756546, 0.01913394033908844, 0.013172040693461895, -0.06627102196216583, -0.022175859659910202, 0.023696158081293106, -0.04703396186232567, -0.040661901235580444, -0.01160451304167509, -0.021877823397517204, -0.03733187913894653, -0.0023597178515046835, 0.030896015465259552, 0.06447257846593857, 0.010164745151996613, 0.01420280709862709, -0.008196763694286346, -0.0257323756814003, -0.15146943926811218, 0.07687749713659286, 0.04893903806805611, 0.06740517914295197, -0.00838184542953968, -0.020979663357138634, -0.005244788248091936, 0.1047225072979927, 0.004534870386123657, -0.0056932903826236725, -0.03968636691570282, 0.07236044853925705, 0.012641757726669312, -0.011072210967540741, 0.011985581368207932, 0.015581795945763588, 0.04998595267534256, -0.06301479041576385, -0.05429549887776375, -0.017550291493535042, -0.005704788025468588, 0.007097122725099325, -0.043289437890052795, 0.013355862349271774, -0.017224717885255814, 0.016323814168572426, 0.05385194718837738, 0.03182066231966019, 0.044466327875852585, -0.03187575936317444, 0.004147202707827091, 0.0032401287462562323, -0.061723001301288605, -0.020337704569101334, -0.01193931419402361, 0.0010175067000091076, -0.06769759953022003, 0.40371736884117126, -0.05121653154492378, -0.01596330665051937, 0.05749158561229706, 0.0590314045548439, -0.029666967689990997, 0.0286126546561718, 0.040044527500867844, -0.043817926198244095, 0.0005082257557660341, -0.03200551122426987, 0.04445074871182442, 0.010114545002579689, 0.05154939368367195, -0.031204359605908394, 0.010359265841543674, 0.03494434803724289, 0.045288942754268646, 0.011863073334097862, 0.006283577531576157, -0.00967850349843502, 0.001644157455302775, -0.0012098399456590414, 0.023379074409604073, -0.007819893769919872, -0.0024800016544759274, -0.026798903942108154, 0.022076627239584923, 0.054428838193416595, 0.028845753520727158, -0.016489150002598763, 0.033253394067287445, -0.08026327192783356, -0.0607728473842144, 0.009808769449591637, 0.011728985235095024, 0.010565078817307949, 0.03649499639868736, -0.022091709077358246, 0.017216293141245842, 0.039020415395498276, 0.007602663245052099, -0.022909779101610184, 0.02759600803256035, -0.013584763742983341, -0.039340388029813766, 0.0804746001958847, 0.018239781260490417, -0.016843678429722786, -0.00022708528558723629, -0.04098548740148544, 0.013517998158931732, 0.03530023247003555, -0.015028644353151321, -0.07407361268997192, 0.008799145929515362, 0.03326752409338951, 0.0817728340625763, 0.01114534679800272, -0.06689809262752533, -0.008273915387690067, -0.03047746978700161, -0.008835453540086746, -0.06257828325033188, 0.06010929495096207, 0.042298659682273865, -0.09715662151575089, -0.01890650764107704, 0.009789124131202698, 0.03170167654752731, -0.06655822694301605, 0.002104876795783639, -0.01446574553847313, -0.04475714638829231, -0.014426259323954582, 0.03816124424338341, -0.038133036345243454, -0.0321044996380806, 0.03712514042854309, 0.03989957645535469, 0.05140781030058861, 0.025534436106681824, 0.0069840275682508945, -0.0238618403673172, 0.008104288950562477, -0.008429384790360928, -0.05285895988345146, -0.05184317007660866, -0.02390824817121029, -0.031029174104332924, -0.021531226113438606, -0.015896936878561974, -0.036616530269384384, -0.08891752362251282, 0.09563513100147247, -0.02847985550761223, -0.024717343971133232, 0.035986918956041336, -0.010494738817214966, -0.03152541443705559, -0.016520844772458076, -0.04396761581301689, 0.03245509788393974, -0.00932522676885128, 0.039780110120773315, -0.06982927769422531, 0.059824179857969284, 0.0524212047457695, -0.06651876121759415, 0.06781823188066483, 0.048304688185453415, -0.04336858540773392, -0.03687356412410736, -0.0018812782363966107, 0.04642520472407341, -0.019261151552200317, -0.017301376909017563, -0.022865300998091698, 0.018055852502584457, -0.00523813022300601, 0.01685544289648533, -0.007823970168828964, -0.028709053993225098, -0.007886460050940514, -0.3485891819000244, -0.0476561076939106, -0.020170908421278, -0.007664605509489775, 0.03689637780189514, -0.060181811451911926, -0.005676791537553072, 0.002173987915739417, -0.04276277497410774, -0.009258972480893135, 0.07336927205324173, -0.011099436320364475, 0.0058017005212605, -0.07965172827243805, -0.012906424701213837, -0.021620891988277435, -0.05145953223109245, -0.04163680970668793, -0.0308093149214983, 0.02401083894073963, -0.002307569608092308, 0.012308798730373383, -0.003844402963295579, -0.06914005428552628, 0.028358222916722298, -0.03122820518910885, 0.10328374058008194, -0.007278664968907833, 0.1284005045890808, -0.012578366324305534, 0.041981473565101624, 0.008169164881110191, 0.048820726573467255, -0.1001361757516861, -0.007789794355630875, -0.03313366323709488, -0.014535513706505299, 0.001355186221189797, 0.020075883716344833, -0.044543638825416565, -0.01678539626300335, 0.013629186898469925, -0.06276939809322357, -0.04143138602375984, -0.06717664748430252, -0.003316296264529228, -0.015113134868443012, -0.015040433034300804, -0.025333207100629807, 0.0699850544333458, 0.020626073703169823, 0.00020490953465923667, -0.005499713122844696, 0.01832113228738308, -0.010185171850025654, -0.035994600504636765, -0.08652110397815704, 0.0018134632846340537, 0.019161837175488472, -0.009652906097471714, 0.04120497778058052, 0.08292283862829208, 0.03892090171575546, -0.04554343223571777, -0.008830235339701176, 0.009702259674668312, 0.008273309096693993, -0.021113881841301918, 0.04663464426994324, 0.008962076157331467, -0.028677022084593773, 0.11571820825338364, -0.026969298720359802, -0.0379301980137825, -0.011086156591773033, 0.0524718314409256, -0.02047591842710972, 0.05079188942909241, 0.03306706249713898, -0.004321325570344925, -0.010708903893828392, -0.013158182613551617, 0.03493833914399147, -0.021451881155371666, 0.0009658499620854855, 0.03845979645848274, -0.020768092945218086, -0.014891991391777992, 0.046747513115406036, 0.008340715430676937, -0.048492182046175, 0.007581560406833887, -0.03308045119047165, -0.04224839434027672, 0.056736499071121216, -0.011746496893465519, -0.2266893833875656, -0.023513417690992355, 0.04342617094516754, 0.08349820971488953, -0.02194308117032051, 0.042849354445934296, 0.051271192729473114, -0.06460537016391754, -0.014682677574455738, 0.03233392909169197, 0.02598743513226509, 0.04617087543010712, 0.017659524455666542, 0.006523458287119865, 0.04364032298326492, -0.016347279772162437, 0.07200594991445541, 0.016749462112784386, 0.034956157207489014, -0.02736186608672142, 0.029647093266248703, -0.006345187779515982, 0.17434130609035492, -0.025345098227262497, 0.030998283997178078, 0.02780890464782715, 0.03376450762152672, 0.008845965377986431, 0.062310319393873215, 0.014423997141420841, 0.02195950597524643, -0.018163476139307022, 0.05010513961315155, -0.00555122597143054, 0.03400477394461632, -0.07601217925548553, -0.035695914179086685, 0.023568587377667427, 0.03644644841551781, -0.007496046368032694, 0.022562673315405846, 0.004698932636529207, -0.015169902704656124, 0.01265232264995575, 0.0705941691994667, 0.019582754001021385, -0.008428347297012806, -0.04495938494801521, -0.056282322853803635, -0.012412850745022297, -0.0013053149450570345, -0.024633482098579407, 0.006992205511778593, -0.02508535608649254, 0.0253689493983984, 0.05047041177749634, 0.010742195881903172, -0.018271975219249725, -0.008703183382749557, 0.0006324996938928962, 0.014887765981256962, 0.03308800235390663, 0.1406504511833191, 0.0730503499507904, 0.04501598700881004 ]
[ -0.017730122432112694, -0.008225329220294952, 0.0028145345859229565, 0.029407765716314316, -0.010491378605365753, -0.006932841148227453, -0.030921010300517082, 0.016209309920668602, 0.02294246293604374, 0.016734665259718895, -0.0019157218048349023, -0.004802422132343054, -0.0021568129304796457, -0.0081596989184618, 0.0009858907433226705, -0.02077495865523815, 0.022068046033382416, -0.025636451318860054, 0.02803920768201351, 0.026700684800744057, -0.015360782854259014, 0.03179576247930527, 0.008836247026920319, -0.006586182862520218, -0.026901204138994217, 0.01195545494556427, -0.008988576009869576, -0.010566063225269318, 0.017713725566864014, -0.15453501045703888, -0.01547110453248024, -0.008106237277388573, -0.011497885920107365, 0.011766059324145317, -0.017286285758018494, -0.025758685544133186, 0.02953684702515602, 0.018834758549928665, 0.014006241224706173, -0.022690508514642715, 0.025286393240094185, -0.022324956953525543, 0.0076578399166464806, 0.01669321209192276, 0.006180688738822937, -0.006312720477581024, 0.013345940038561821, -0.04911882057785988, -0.003758746664971113, -0.046109721064567566, -0.03808651491999626, -0.0073168897069990635, -0.018331758677959442, -0.016557661816477776, 0.00337702757678926, -0.021774936467409134, 0.03056441992521286, -0.009900912642478943, 0.013130387291312218, -0.0011788512347266078, 0.005224897526204586, -0.0024518524296581745, -0.02952774427831173, -0.029881175607442856, -0.012086264789104462, -0.006131149362772703, -0.027939680963754654, 0.018679684028029442, -0.046344440430402756, 0.02134876325726509, -0.022777646780014038, 0.022821463644504547, -0.025041503831744194, -0.00524667976424098, 0.013517937622964382, 0.03179357200860977, -0.014381871558725834, -0.014130170457065105, 0.0315982922911644, -0.028967663645744324, -0.05208845064043999, 0.03554303199052811, 0.02171207405626774, 0.006476808805018663, 0.030098285526037216, 0.019477643072605133, 0.04213722422719002, 0.013471144251525402, 0.017141561955213547, -0.0030137421563267708, -0.004218569956719875, 0.02419389970600605, -0.017001882195472717, 0.037515588104724884, -0.07871518284082413, -0.0069864671677351, -0.005954166408628225, -0.0057753040455281734, 0.03126848489046097, 0.8499366641044617, -0.007149682845920324, 0.05237463861703873, 0.019844714552164078, 0.024802017956972122, -0.012019477784633636, 0.020739974454045296, 0.0070104412734508514, -0.01975715346634388, 0.02731126733124256, -0.05369521677494049, 0.013082565739750862, 0.009886499494314194, 0.007768609095364809, 0.015292147174477577, 0.027633192017674446, -0.003590325126424432, -0.023283421993255615, 0.00225832243449986, -0.009705450385808945, 0.008339566178619862, 0.007115935906767845, -0.020132722333073616, -0.022175490856170654, 0.0220947228372097, 0.05324598401784897, -0.1792813539505005, 0.004598318133503199, -8.750176440061622e-33, 0.026963960379362106, -0.008097488433122635, 0.007016543298959732, -0.008149905130267143, 0.009058446623384953, 0.010809342376887798, 0.04409138858318329, 0.05815602093935013, -0.00719572464004159, -0.024175481870770454, 0.025739945471286774, -0.025733595713973045, -0.019872264936566353, -0.011106632649898529, 0.029794130474328995, -0.00641438364982605, -0.02396203577518463, 0.014482008293271065, -0.019709870219230652, 0.013048921711742878, 0.03505101054906845, 0.030557453632354736, -0.027462398633360863, -0.01118929497897625, -0.00044158543460071087, -0.01616564579308033, 0.02417493611574173, 0.015501814894378185, -0.0075638615526258945, -0.03435781970620155, -0.03369219973683357, 0.030851537361741066, -0.06650625169277191, -0.007907570339739323, 0.005677754990756512, -0.034381214529275894, -0.043620046228170395, 0.010926823131740093, -0.03127351403236389, -0.0006599454209208488, -0.024055127054452896, -0.030025992542505264, -0.059480275958776474, -0.010937239043414593, -0.03208528831601143, 0.0052822609432041645, -0.011038606986403465, -0.0050859698094427586, 0.04336150735616684, -0.02184983529150486, -0.009893527254462242, 0.00974404625594616, 0.002380609745159745, -0.025117244571447372, -0.027218004688620567, 0.03829013556241989, -0.02398643270134926, -0.006927037611603737, -0.005436362698674202, 0.03018283098936081, -0.005115836393088102, -0.004004243295639753, -0.021870020776987076, 0.024103282019495964, -0.04489775002002716, -0.0109396455809474, 0.005399208981543779, -0.047624342143535614, 0.024617070332169533, 0.01305515505373478, -0.008717844262719154, -0.01996544562280178, -0.03742213547229767, -0.012804076075553894, 0.0006583018111996353, 0.011981678195297718, 0.0009459315333515406, 0.018855370581150055, -0.014613067731261253, 0.03088696300983429, -0.00724219111725688, -0.007171815261244774, -0.010578013025224209, -0.0376734621822834, 0.009307650849223137, -0.02638123370707035, 0.013046442531049252, 0.005051998887211084, 0.0025886038783937693, -0.00281667266972363, 0.02438167668879032, -0.004842032212764025, -0.019766991958022118, -0.032464489340782166, -0.01799306459724903, 8.54814936877358e-33, 0.014806238003075123, -0.023582255467772484, -0.02349613606929779, 0.006940847262740135, 0.006120041478425264, 0.0032934013288468122, 0.021761087700724602, 0.016317637637257576, -0.044279806315898895, 0.04872594401240349, -0.02757684327661991, 0.0029085709247738123, -0.011603576131165028, 0.012769673950970173, 0.009810860268771648, -0.03617396205663681, 0.027998553588986397, -0.026458296924829483, 0.028348764404654503, -0.00202147732488811, 0.011744068004190922, 0.022091452032327652, 0.04057755321264267, 0.009994063526391983, 0.013883369974792004, 0.059930622577667236, -0.037911444902420044, 0.034896694123744965, -0.0003497802827041596, -0.003074623877182603, 0.002514736959710717, 0.025652164593338966, 0.021220160648226738, 0.0020220624282956123, -0.0031498649623245, 0.028900060802698135, 0.005786706227809191, -0.010769552551209927, -0.03877890110015869, 0.02406224049627781, 0.0025061997584998608, -0.0017098410753533244, 0.017924495041370392, 0.044654957950115204, 0.016874313354492188, 0.021356457844376564, 0.011225028894841671, -0.004053994547575712, 0.0068509867414832115, 0.029051708057522774, 0.018499817699193954, 0.015037519857287407, 0.03900684043765068, 0.005850675515830517, 0.00691329687833786, -0.023216547444462776, -0.020965011790394783, -0.022397203370928764, -0.000595715653616935, 0.04790943115949631, -0.0013058583717793226, 0.017236631363630295, -0.02831646241247654, -0.01536598615348339, -0.046241726726293564, -0.032964397221803665, -0.0021467837505042553, 0.011449852026998997, -0.0028337982948869467, -0.01019340567290783, -0.026801446452736855, 0.013867834582924843, 0.011799151077866554, 0.03416663035750389, 0.02444845251739025, -0.030971214175224304, -0.01873771660029888, -0.007219178136438131, -0.00557692302390933, 0.015639035031199455, -0.0036451336927711964, -0.011649763211607933, 0.0008153102244250476, 0.02954135090112686, -0.04283573850989342, 0.03820846229791641, 0.010350694879889488, 0.01865500956773758, 0.0070162564516067505, -0.00006164102524053305, 0.011673587374389172, -0.005747814662754536, -0.004410054534673691, -0.009866619482636452, -0.026889698579907417, -1.401156435321127e-8, -0.0033650107216089964, -0.01676625944674015, 0.002742956392467022, 0.03256801888346672, 0.0004258852277416736, -0.025826944038271904, 0.001920066075399518, 0.02486474998295307, -0.03555681183934212, 0.012120208702981472, 0.04968332499265671, -0.03956388682126999, 0.018228083848953247, 0.009647447615861893, 0.005568863824009895, -0.047940172255039215, -0.009294528514146805, -0.004858607426285744, 0.02848929725587368, 0.005321119446307421, 0.03259044513106346, 0.04362902790307999, -0.030055955052375793, 0.038808614015579224, 0.019602665677666664, 0.025745097547769547, 0.00011546639143489301, -0.09857480227947235, -0.0021873414516448975, -0.00468345545232296, 0.037033796310424805, -0.02005787193775177, -0.007180912420153618, 0.024757742881774902, -0.003008310217410326, -0.029314033687114716, 0.018809126690030098, 0.03665151074528694, 0.030464842915534973, 0.010453502647578716, -0.01925879344344139, -0.0038269825745373964, 0.02235090173780918, -0.018454870209097862, -0.020811019465327263, 0.0018113768892362714, -0.05948919057846069, -0.02038547396659851, -0.0006845990428701043, -0.038012921810150146, -0.003941809758543968, 0.006123588886111975, 0.0015019611455500126, 0.028142673894762993, 0.0034078890457749367, 0.005000333301723003, 0.0011656794231384993, -0.006047298200428486, -0.06371858716011047, -0.013379069045186043, 0.04875434562563896, 0.03294362500309944, -0.007695852778851986, -0.02373887039721012 ]
coding-rules-of-thumb
https://markhneedham.com/blog/2009/10/04/coding-rules-of-thumb
false
2009-10-05 18:52:14
My Software Development journey: Year 3-4
[ "software-development" ]
[ "Software Development" ]
Just over a year ago I wrote a blog post about http://www.markhneedham.com/blog/2008/09/01/my-software-development-journey-so-far/[my software development journey up to that point] and I thought it'd be interesting to write a new version for the 13 months or so since then to see what the main things I've learned are. == Functional programming I started playing around with F# about 11 months ago after becoming intrigued about this approach to programming following some conversations with my colleague http://fragmental.tw[Phil Calcado]. I've only really scratched the surface of what there is to know about functional programming so far but some of the ideas that I've come across seem very intriguing and I think they can help us to write more expressive and easier to understand code. One of my favourite aspects of the functional programming approach is that it heavily encourages *immutability*. It is still possible to mutate state in F# but the code ends up looking really ugly if you take that approach which encourages you not to! Mutating of state is much more prevalent in C# code bases but it seems to make it much more difficult to reason about the state that the code is in and we seem to http://www.markhneedham.com/blog/2009/03/20/coding-reassessing-what-the-debugger-is-for/[turn to the debugger] way more frequently as a result. In contrast I don't think I've ever tried to debug any F# code I've written. Certainly part of the reason for that is that I haven't written any large systems using the langauge but I think part of it is because it's much easier to reason about code if a value is set once and then doesn't change. Rich Hickey, the inventor of http://clojure.org/[Clojure], has http://www.infoq.com/presentations/Value-Identity-State-Rich-Hickey[a really interesting presentation from QCon London] where he describes the need for values to be immutable and for state to be modeled through state transitions instead of by mutating data. Along those lines http://www.markhneedham.com/blog/2009/08/29/book-club-unshackle-your-domain-greg-young/[Greg Young also speaks about the need for explicit state transitions] and Martin Fowler's http://martinfowler.com/eaaDev/EventSourcing.html[event sourcing pattern] describes the way we can achieve this when using an OO approach. Learning about functional programming has also encouraged me to see reusable functions in C# code and I think the *ability to use higher order functions effectively removes a lot of the typical design patterns* that we might otherwise look to use. Jeremy Miller covers these ideas and more in his recent article titled 'http://msdn.microsoft.com/en-us/magazine/ee309512.aspx[Functional Programming for every day .NET development]' More recently http://lizdouglass.wordpress.com/[Liz] and I have been http://www.markhneedham.com/blog/2009/09/30/scala-99-problems/[playing around with Scala] and from trying out some of these exercises I am seeing that when writing recursive functions my thought process has moved towards thinking about how to get the function to exit first and then working back from there to see how to get to that stage. I'm not sure if that's the distinction between declarative and imperative programming but it certainly seems to be a less imperative thought process than I would typically apply. I'm currently working my way through Amanda Laucher's 'http://manning.com/laucher/[F# in Action]' book and watching the http://video.google.com/videoplay?docid=5546836985338782440&ei=Vcq9SvmFFZD-wQOFqJjmBg&q=sicp#docid=-1634408017041876836[videos] and trying out the exercises from MIT's 'http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-4.html#%_toc_start[Structure and Interpretation of Computer Programs]' course from the 1980s so there is still much to learn in this area. == Context It's become more obvious to me over the last year that *there pretty much isn't 'one true solution'* to any problem and that there are different ways of doing things each of which has its own advantages and drawbacks. I guess the trick is working out which is more suitable in a given situation which I imagine will become easier the more different situations I come across. While I believe there are http://www.markhneedham.com/blog/2009/10/04/coding-rules-of-thumb/[rules of thumb] that can be useful when developing software it seems like there will always be some constraint which might guide us to a solution which isn't necessarily the perfect one. I think this is inevitable unless we have infinite time and money. For example we were recently looking at the performance of our code and realised that there are a lot of network calls being made in one particular area. One solution to this would be to cache this data but the problem we have is that this data can be changed by the user and our caching mechanism at the moment has time based expiry and we don't want to deal with any other type of cache data invalidation as we are due to release quite soon. In this case *a time constraint is changing the way that we view our options* so we've had to choose another solution. I was recently watching a http://skillsmatter.com/podcast/java-jee/pairing-101[Skills Matter pair programming presentation] by my colleagues Christian Blunden and Sarah Taraporewalla and it became clearer to me that the approach I use when pairing now is much more dependent on the situation and doesn't directly correlate with the useful patterns which they suggested. For example when working with someone who's new to a code base it makes sense to take a back seat role more of the time and allow them to get used to working out where things are whereas when you've both been working on the code for a while then a more even distribution of the keyboard time will probably happen more naturally. If we can work out which context we're in and what constraints we have then I think it makes it much easier to choose an approach that will work for us. == Reason for everything This first became more obvious to me when listening to a talk by my colleague Dan North titled 'http://www.markhneedham.com/blog/2009/04/25/pimp-my-architecture-dan-north/[Pimp my architecture]' where he describes approaches that can be useful when confronted with an existing code that you want to make some improvements to. Liz Keogh described this in such a way that made it really obvious to me in http://docondev.blogspot.com/2009/08/messy-code-is-not-technical-debt.html?showComment=1251883929431#c3911511509905214349[a comment on Michael Norton's post on technical debt]: ____ The other reason that messy code happens is because people are learning. Unless you start with a team of developers born to produce beautiful, clean code, the chances are that someone on that team will be learning. In that respect, messy code _is_ a normal part of the development cycle, as is having it left around. ____ Until I read this *I had pretty much decided that if someone wrote what I considered 'stupid code' then they just didn't care about what they were doing*. However, since then I've actually come across some pretty terrible code that I wrote a few months ago which I realised I'd written because I didn't know of a better way to solve the problem. Quite often the reason for something seems to be because the person didn't know another way to do it. We've had a few new people join my project recently and it's always interesting to see the types of things they point out as having been done quite poorly. In just about every situation there's a (sometimes crazy) reason for the code being like that and I think the important thing in these conversations is to try and work out whether that reason still holds valid today and if not then perhaps we can make some changes to the code. == Mercilessly changing code As it's pretty much impossible to come to a perfect solution the first time around I think *it's quite vital that we have the confidence to make changes to the code we're working with*. Ideally this is done by coding with a test driven approach so that we have some unit tests providing a safety net to allow us to make changes to the code but if we don't have this then we should still look to http://www.markhneedham.com/blog/2008/11/28/tdd-suffering-from-testing-last/[put some tests around the code] by using some of the techniques from http://www.amazon.co.uk/Working-Effectively-Legacy-Robert-Martin/dp/0131177052/ref=sr_1_1?ie=UTF8&s=books&qid=1254731863&sr=8-1[Working Effectively With Legacy Code]. I've been working on the same project for the majority of the last year and I think a lot of the problems we've created for ourselves have been from a fear of changing the code. I think this is the worst mindset to end up in because it means that you feel like you can't improve the situation. In some areas of our code base we've been converting C# objects into a JSON representation which we can then parse on the client side and while this works quite nicely for allowing us to write logic for this type of code on the client side, we have pretty much stopped changing anything to do with those C# objects as even changing the names would possibly lead to the javascript code breaking. This is where my worry of how well the http://memeagora.blogspot.com/2006/12/polyglot-programming.html[polyglot programming] approach originally coined by Neal Ford and http://www.infoq.com/presentations/polyglot-polyparadigm-programming[presented at QCon by Dean Wampler] will actually work. I think if we don't want to sacrifice the ability to change code mercilessly then our IDE tools will need to get to the stage that if we make a change to code in one language then any references made to that code in another language should be changed too. I'm told that this is what happens if you mix Scala and Java but I'm not sure if that's the case with other combinations just yet although I'm sure it will be. In general though I think we need to keep a focus on putting the safety nets in place and designing our systems in such a way that we can change code mercilessly. If we can achieve that then it doesn't matter if we make a mistake because we can easily fix it. == In summary These are the areas that I feel I've learnt the mos over the last year and the common threads running through seem to be that I've learnt that there's more than one approach to problems and we rarely get it right the first time. More recently I've found myself drifting towards an interest in how things work under the hood and where some of the original ideas we use today come from. As a result I've found myself reading 'http://www.amazon.co.uk/CLR-Via-Applied-Framework-Programming/dp/0735621632/ref=sr_1_1?ie=UTF8&s=books&qid=1254732415&sr=8-1[CLR via C#]' and 'http://www.amazon.co.uk/Fundamentals-Object-oriented-Design-Object-Technology/dp/020169946X/ref=sr_1_1?ie=UTF8&s=books&qid=1254732474&sr=1-1[Fundamentals of Object-Oriented Design in UML]' as well as SICP as I mentioned previously. It will be interesting to see where that will take me to and I'd be interested to see if my experiences at this stage are in anyway similar to what others experienced.
null
null
[ 0.007286186795681715, -0.003855154849588871, -0.006477153394371271, 0.027759775519371033, 0.09254956245422363, 0.023155419155955315, 0.017327817156910896, 0.03395873308181763, 0.020105600357055664, -0.03315332159399986, 0.0013012252748012543, -0.015042304061353207, -0.06631015241146088, 0.0059189265593886375, -0.010723120532929897, 0.062019627541303635, 0.061513688415288925, -0.04217997565865517, 0.03483576327562332, 0.018641367554664612, 0.015600581653416157, 0.0753471627831459, 0.010589146055281162, 0.01760867051780224, 0.03508464992046356, 0.008669204078614712, 0.0144304558634758, -0.003930129576474428, -0.06385360658168793, 0.015918739140033722, 0.022049009799957275, 0.025956913828849792, -0.004320140928030014, -0.008104229345917702, 0.007437993306666613, -0.012465687468647957, -0.003856619819998741, 0.02222682163119316, 0.009607822634279728, 0.03296029195189476, -0.06570520251989365, 0.015820728614926338, -0.0006910928641445935, 0.012384293600916862, -0.043624069541692734, 0.002983103273436427, -0.0438537672162056, 0.003610287792980671, -0.007403277326375246, 0.0001875983871286735, -0.06255870312452316, 0.015126548707485199, 0.012335650622844696, -0.001217105658724904, -0.02637302689254284, 0.052835218608379364, 0.02641855552792549, -0.05951791629195213, 0.005786110647022724, -0.04652800410985947, -0.0029011042788624763, -0.02290227636694908, 0.021905263885855675, 0.03235271945595741, 0.02121770940721035, -0.017946233972907066, -0.02554669789969921, 0.030649393796920776, -0.04739079624414444, -0.003500083927065134, -0.00046918209409341216, 0.01302013173699379, -0.011431023478507996, -0.015926305204629898, 0.02299310266971588, -0.03942836821079254, -0.003717463929206133, 0.07000566273927689, 0.0233395304530859, 0.03352516517043114, -0.011097542010247707, 0.03567810356616974, 0.028588702902197838, 0.02536567486822605, 0.0065457504242658615, -0.034270428121089935, -0.008701271377503872, -0.010964046232402325, -0.06276308745145798, 0.061258841305971146, 0.019578740000724792, -0.06022442877292633, 0.017099399119615555, 0.03696218505501747, 0.0014489045133814216, 0.013440513983368874, 0.029380446299910545, 0.009651047177612782, -0.02464260905981064, -0.016523875296115875, -0.01873217523097992, -0.01360923983156681, -0.004256836138665676, -0.02209167741239071, -0.07404109090566635, -0.010665218345820904, -0.045209772884845734, -0.002275551436468959, 0.020039694383740425, 0.002247483702376485, -0.03589039295911789, 0.0392291285097599, -0.008881514891982079, 0.016606535762548447, -0.07444117218255997, 0.05060233920812607, -0.010132867842912674, -0.04059680178761482, -0.018141617998480797, -0.005192375276237726, 0.04321588948369026, 0.018365638330578804, -0.014865018427371979, 0.06998345255851746, 0.01832081936299801, 0.028013229370117188, 0.007251295726746321, 0.05540343001484871, -0.022969238460063934, -0.06158055365085602, -0.028185006231069565, 0.04552314057946205, -0.04802004247903824, -0.009871868416666985, 0.00017839443171396852, -0.03176356852054596, -0.01477785687893629, 0.010506540536880493, 0.04009934142231941, 0.05722690373659134, -0.00004632729906006716, -0.05582035332918167, 0.03692140057682991, -0.022127894684672356, 0.01887926459312439, -0.009219338186085224, -0.014395831152796745, 0.005497343838214874, -0.020003100857138634, -0.0005958066903986037, 0.019195280969142914, 0.032027482986450195, 0.019620977342128754, -0.03294767066836357, 0.03225812315940857, 0.0806858018040657, -0.00009470692020840943, 0.021227989345788956, -0.009866300038993359, 0.03613170608878136, 0.04302874580025673, 0.029003027826547623, 0.015599312260746956, 0.016872301697731018, 0.024703584611415863, -0.00025600107619538903, 0.012376530095934868, 0.03805961459875107, -0.0041959937661886215, -0.01245222520083189, -0.05237271264195442, -0.01960744522511959, 0.059474021196365356, -0.025172431021928787, -0.03216152638196945, 0.03754300996661186, 0.08222298324108124, 0.013053090311586857, 0.029326030984520912, -0.008460426703095436, -0.07625548541545868, 0.010298967361450195, 0.022808337584137917, 0.023446451872587204, -0.0051588560454547405, -0.01614169031381607, 0.07710079848766327, 0.012402297928929329, 0.006579226814210415, 0.007945693098008633, -0.05367416515946388, -0.06900866329669952, -0.0212393868714571, -0.029006309807300568, 0.07863504439592361, -0.008564257994294167, 0.00136549212038517, 0.062332428991794586, 0.003000397002324462, 0.06870689988136292, 0.036535799503326416, -0.010100317187607288, 0.022697484120726585, -0.016654958948493004, -0.02282745949923992, 0.05975199118256569, 0.04123733565211296, -0.009518468752503395, -0.06905394047498703, 0.009956161491572857, 0.01741586998105049, -0.012395037338137627, 0.05220506340265274, -0.01849173568189144, 0.03622376173734665, 0.004887154325842857, 0.04036027938127518, -0.03263549879193306, 0.03236430510878563, -0.046704020351171494, -0.010239090770483017, 0.0037051590625196695, -0.01941857859492302, 0.013797495514154434, 0.008461096324026585, 0.12009675800800323, 0.06490524858236313, -0.06662074476480484, -0.030389415100216866, 0.01329894457012415, 0.01580154150724411, -0.04006879776716232, -0.014976286329329014, 0.0009769453899934888, 0.022756783291697502, 0.0029061916284263134, -0.03590397164225578, 0.001855321228504181, 0.008538922294974327, -0.04098585620522499, 0.02036600187420845, 0.06681205332279205, -0.023541131988167763, 0.046575311571359634, -0.024197686463594437, -0.01996261067688465, -0.0018879850395023823, -0.01988941989839077, -0.06412312388420105, 0.00861178059130907, -0.0007418952882289886, -0.005218088626861572, 0.07978885620832443, -0.011198487132787704, -0.016424085944890976, -0.029421214014291763, -0.03256094083189964, 0.013520870357751846, 0.03120844066143036, 0.07368624955415726, 0.002164980862289667, 0.04488207772374153, -0.02015567757189274, 0.004257760941982269, -0.020750032737851143, -0.06328819692134857, -0.031481754034757614, -0.036354705691337585, 0.017123961821198463, 0.04550191015005112, -0.019055375829339027, 0.007924376986920834, 0.020599350333213806, 0.013045159168541431, -0.02942253090441227, -0.036276739090681076, 0.025758851319551468, 0.003893014043569565, -0.04251575842499733, -0.026505466550588608, -0.045305199921131134, 0.06191219016909599, -0.05051922798156738, -0.02436128444969654, -0.0130512285977602, -0.05112138018012047, 0.06452494114637375, -0.06123620271682739, -0.03393171727657318, 0.014561866410076618, 0.03264268487691879, 0.039942044764757156, -0.02150026150047779, 0.027548005804419518, 0.07267341017723083, 0.006103008519858122, 0.02345854975283146, -0.01652890257537365, -0.02414674125611782, 0.030008621513843536, -0.005234474316239357, -0.006057594902813435, 0.04780309274792671, 0.020774012431502342, -0.003777218284085393, -0.036673109978437424, 0.033608052879571915, -0.017094232141971588, -0.28948700428009033, 0.03747759759426117, 0.008975451812148094, -0.042945392429828644, 0.018049322068691254, 0.01216970942914486, -0.007321686949580908, -0.04745883494615555, -0.009204295463860035, 0.022195007652044296, -0.039890509098768234, -0.03877262398600578, -0.04672420769929886, 0.055408719927072525, 0.008485585451126099, 0.010606796480715275, -0.004074900411069393, -0.019733382388949394, -0.024033352732658386, 0.054584939032793045, -0.008880824781954288, -0.0766710713505745, 0.002420794451609254, 0.04053584486246109, 0.040809400379657745, 0.029575491324067116, -0.10362128168344498, 0.04403630271553993, -0.04875572398304939, 0.002124511171132326, -0.03602141886949539, 0.016597982496023178, 0.03148965165019035, -0.035821717232465744, -0.013921618461608887, -0.013819783926010132, 0.0193370059132576, 0.012331593781709671, -0.00043003063183277845, 0.025199759751558304, -0.0028981068171560764, -0.032245032489299774, -0.014125999994575977, 0.007333700079470873, 0.07516748458147049, 0.012964901514351368, -0.08632539957761765, -0.005315239541232586, -0.03016718477010727, 0.06209651753306389, -0.02890516072511673, -0.04924960061907768, -0.0013863700442016125, 0.06278575211763382, 0.004297266248613596, -0.03783947974443436, 0.0034256153739988804, -0.023379817605018616, -0.03766215965151787, -0.03513253852725029, -0.01394491083920002, -0.03854621201753616, -0.00028204353293403983, -0.05690186843276024, -0.005408031400293112, -0.057907477021217346, -0.07840689271688461, -0.013756053522229195, 0.07289164513349533, 0.022777236998081207, -0.03215549886226654, 0.0052396138198673725, -0.0031722732819616795, -0.11429354548454285, -0.03563854098320007, -0.010960951447486877, -0.03560371324419975, -0.011132938787341118, 0.028727596625685692, 0.05847727879881859, -0.03698034957051277, -0.06206408515572548, 0.015238577499985695, 0.02153155207633972, 0.044750992208719254, -0.019303731620311737, 0.021867970004677773, 0.010573231615126133, -0.03252171352505684, -0.0002744206867646426, 0.06751124560832977, -0.006195737048983574, -0.011872595176100731, -0.04349261149764061, 0.030654050409793854, 0.015974123030900955, 0.04381025210022926, -0.008459020406007767, 0.00001966318450286053, 0.03252448886632919, 0.02566206268966198, -0.05242634192109108, 0.020718581974506378, -0.039066337049007416, -0.030036211013793945, 0.007274025585502386, -0.0549340546131134, 0.02280340902507305, 0.0386846549808979, 0.02714001014828682, -0.027050213888287544, -0.053642917424440384, 0.0032558031380176544, -0.05719738081097603, -0.034366175532341, 0.013410571031272411, 0.0012256598565727472, 0.034539736807346344, 0.005551466252654791, -0.008305225521326065, -0.048104725778102875, -0.010942356660962105, 0.008031901903450489, 0.013942697085440159, -0.06597891449928284, -0.03818187862634659, -0.02725943550467491, -0.02231420762836933, 0.011548776179552078, 0.032178476452827454, -0.00011567377805477008, 0.031304195523262024, -0.009462686255574226, -0.038918107748031616, 0.02565601095557213, 0.0024373854976147413, -0.0364215150475502, -0.036267057061195374, -0.01732902228832245, -0.031257692724466324, 0.012513524852693081, 0.012888042256236076, 0.038050439208745956, 0.011859819293022156, 0.008329374715685844, 0.004056146834045649, 0.03704417496919632, 0.002993013709783554, 0.01982126012444496, 0.012258840724825859, 0.004303565714508295, -0.08137542009353638, 0.02180350013077259, -0.05066795274615288, -0.03150055184960365, -0.01618385873734951, 0.05635549873113632, -0.03649880737066269, -0.048657700419425964, -0.022277869284152985, 0.03368128091096878, -0.03159014880657196, -0.04151798039674759, -0.04645087197422981, 0.012658069841563702, 0.05558542534708977, -0.0228587556630373, 0.047992315143346786, -0.009419112466275692, -0.01301431842148304, -0.01283953431993723, 0.02410975843667984, -0.045622117817401886, 0.0037040698807686567, 0.009020489640533924, -0.021714068949222565, -0.027864204719662666, 0.006969647482037544, 0.044168226420879364, 0.01727317087352276, -0.0031058003660291433, -0.045270517468452454, -0.0026859783101826906, 0.03484281152486801, 0.06768394261598587, -0.01384801510721445, 0.023084789514541626, -0.004906160291284323, -0.01945863477885723, -0.003364985343068838, -0.029230421409010887, -0.006649686489254236, -0.009149434976279736, 0.028094731271266937, -0.032801222056150436, -0.07574312388896942, 0.02974824048578739, 0.039499681442976, 0.017595693469047546, 0.0035612990614026785, 0.020711777731776237, -0.003960940986871719, -0.011327228508889675, 0.029431205242872238, 0.07551437616348267, -0.03756525740027428, -0.005679318215698004, 0.004698858130723238, 0.01397974044084549, 0.012922733090817928, 0.020840685814619064, -0.04589729383587837, -0.0069421688094735146, -0.03278353065252304, -0.011496614664793015, -0.015506403520703316, -0.02845391444861889, -0.012263675220310688, -0.008499578572809696, -0.004270266741514206, -0.03800760954618454, -0.012313990853726864, 0.008828957565128803, -0.018672242760658264, -0.029222076758742332, 0.005191741045564413, -0.04436906427145004, 0.018952379003167152, 0.020368492230772972, -0.03934847190976143, 0.02090974897146225, -0.0377635695040226, 0.04015345498919487, 0.021654881536960602, -0.014696621336042881, -0.01683376170694828, -0.034843988716602325, 0.020495522767305374, -0.030494026839733124, 0.05089644342660904, -0.014084631577134132, -0.04404408857226372, -0.03396639972925186, -0.007491027470678091, -0.057844389230012894, 0.006490812171250582, -0.035794273018836975, 0.004283072426915169, 0.015634778887033463, 0.05083572119474411, -0.00707198865711689, 0.034525323659181595, -0.03321273997426033, -0.01900140382349491, 0.06053774058818817, -0.06552212685346603, -0.014799145050346851, -0.04154498502612114, -0.058740224689245224, -0.009774095378816128, 0.004033646080642939, 0.012294800952076912, -0.045682139694690704, 0.029696516692638397, 0.036027226597070694, 0.034901563078165054, 0.031834401190280914, -0.0050866673700511456, 0.04617397114634514, -0.04730534926056862, -0.000434511573985219, -0.0859953984618187, 0.019345909357070923, 0.030820835381746292, 0.004588304553180933, -0.01425787154585123, -0.0034652885515242815, -0.015226516872644424, 0.044365305453538895, -0.05808872729539871, -0.009169335477054119, 0.04793623462319374, -0.010455150157213211, -0.017539294436573982, 0.03189481422305107, -0.061893437057733536, 0.025865377858281136, 0.027302779257297516, -0.03208690881729126, -0.03721383586525917, -0.006918261758983135, 0.0367773212492466, 0.00017597325495444238, 0.04177764058113098, -0.022610070183873177, -0.008623501285910606, 0.05780907720327377, 0.022133493795990944, -0.001851008622907102, 0.04856424033641815, -0.005177436396479607, 0.02923339419066906, 0.02438858523964882, -0.0034760585986077785, -0.005281953606754541, 0.00790401641279459, -0.014622443355619907, -0.05754975602030754, 0.0000448213831987232, 0.022425567731261253, -0.03992898762226105, -0.03601011261343956, 0.06687825918197632, 0.024170231074094772, -0.011510440148413181, -0.03691403195261955, 0.009793155826628208, -0.0776391550898552, 0.010418489575386047, -0.01577283814549446, 0.018393252044916153, -0.0468720942735672, 0.04830031841993332, 0.015096483752131462, -0.006441811565309763, 0.05595552548766136, 0.000890461087692529, -0.016876015812158585, -0.037451039999723434, 0.09448003023862839, 0.08207827806472778, 0.07684393972158432, -0.018335409462451935, 0.061118025332689285, -0.03150777518749237, -0.03952215984463692, 0.004179150331765413, 0.01503234263509512, -0.011789128184318542, -0.022743595764040947, 0.04463248699903488, 0.10145267844200134, -0.013280479237437248, 0.07731814682483673, -0.027348244562745094, -0.004215177148580551, -0.005851076915860176, 0.022464444860816002, 0.01969730854034424, 0.0731651708483696, 0.017006095498800278, 0.006595982238650322, -0.007855581119656563, -0.05273975059390068, 0.02185988239943981, -0.04351619631052017, -0.0012983581982553005, 0.0022051383275538683, 0.01930074766278267, 0.02916044555604458, 0.017541520297527313, 0.040032025426626205, 0.07079210132360458, -0.03323023021221161, 0.035185348242521286, -0.021503876894712448, 0.023711154237389565, 0.014969319105148315, 0.0026587804313749075, -0.04205099120736122, -0.004247697535902262, 0.011156955733895302, -0.0027587704826146364, -0.01312372274696827, -0.029110059142112732, -0.0356147363781929, 0.054921045899391174, -0.04074284806847572, -0.024954739958047867, 0.018015790730714798, -0.008545825257897377, -0.019244715571403503, -0.057390209287405014, -0.05253000184893608, -0.03322819247841835, -0.055613260716199875, -0.023934274911880493, 0.013835731893777847, 0.0031568382401019335, -0.022356847301125526, -0.013066952116787434, -0.023151731118559837, -0.01878609135746956, 0.07168874889612198, -0.038925666362047195, -0.023142293095588684, 0.02179902233183384, 0.012755303643643856, 0.02547154203057289, 0.020276613533496857, 0.03920942172408104, -0.013461872935295105, -0.00772089371457696, -0.02030087821185589, -0.01843969337642193, 0.039481837302446365, 0.01255204901099205, 0.006995696574449539, -0.0909278467297554, 0.031484298408031464, 0.025198180228471756, 0.01464392151683569, -0.07729478180408478, 0.032060641795396805, -0.01911715790629387, -0.014481074176728725, 0.04601643979549408, -0.030413949862122536, 0.010744762606918812, -0.029016533866524696, 0.010398934595286846, -0.015032842755317688, 0.020319517701864243, 0.05041106790304184, -0.014286091551184654, 0.09271558374166489, -0.005076810717582703, -0.018483247607946396, -0.03551200032234192, -0.014503980986773968, -0.021254707127809525, 0.006915749981999397, -0.012849069200456142, -0.04206780344247818, -0.01413143053650856, -0.05023996904492378, -0.00710206339135766, 0.014004254713654518, -0.03382525220513344, -0.03408261761069298, 0.025135764852166176, 0.046952567994594574, -0.028755856677889824, 0.04385632276535034, -0.03819359838962555, 0.03967912867665291, -0.0018026429461315274, -0.005689871031790972, -0.004874871112406254, -0.0057449014857411385, -0.011441011913120747, 0.02027951553463936, 0.014980299398303032, -0.04727936536073685, -0.00195411778986454, 0.009154638275504112, 0.03646410256624222, 0.026147231459617615, 0.00383399473503232, 0.013063543476164341 ]
[ -0.1311144381761551, -0.023094747215509415, -0.028293965384364128, -0.03796951100230217, 0.028223752975463867, -0.01787763647735119, -0.00604695500805974, 0.03795657306909561, -0.005474718287587166, -0.01390950009226799, 0.0012924171751365066, -0.018009332939982414, -0.021076207980513573, 0.0010054055601358414, 0.08437449485063553, 0.024083087220788002, -0.015069877728819847, -0.05060984939336777, -0.0035152893979102373, 0.0018914710963144898, 0.03242668882012367, -0.04322925955057144, -0.06350735574960709, -0.023389574140310287, 0.025523042306303978, 0.047177109867334366, 0.04372706264257431, -0.028248339891433716, 0.028147682547569275, -0.21104517579078674, -0.01025870069861412, 0.028204841539263725, 0.06916508823633194, -0.02961963415145874, -0.0002928745234385133, 0.03798831254243851, 0.01823839731514454, 0.029221968725323677, -0.0240652896463871, 0.05716194957494736, 0.017339345067739487, 0.026071760803461075, -0.01730542816221714, -0.03409155458211899, 0.03210053592920303, -0.013154944404959679, -0.008921603672206402, -0.034570060670375824, -0.039907943457365036, 0.02373647876083851, -0.06230289861559868, -0.019886720925569534, -0.01482362486422062, 0.00037419903674162924, 0.004616058897227049, 0.03787709400057793, 0.027601227164268494, 0.07806701958179474, -0.004045557230710983, 0.018615975975990295, -0.0003482084139250219, -0.014704382047057152, -0.10502715408802032, 0.07840519398450851, 0.06847427040338516, 0.06550054997205734, -0.004959278739988804, -0.04758501052856445, -0.0014696487924084067, 0.08604606986045837, 0.011751220561563969, -0.019491227343678474, -0.03551659360527992, 0.042089711874723434, 0.018593471497297287, -0.045755233615636826, 0.0120477844029665, 0.03570381924510002, 0.01584874652326107, -0.03294700011610985, -0.015978949144482613, -0.021273819729685783, -0.01074970792979002, -0.007952227257192135, -0.032514799386262894, 0.018644697964191437, -0.028516920283436775, 0.04484179988503456, 0.04388635978102684, 0.012638929300010204, 0.03157029300928116, -0.009211241267621517, 0.062379755079746246, 0.006712263450026512, -0.06498792767524719, 0.016591699793934822, 0.009322749450802803, 0.016163621097803116, -0.03994578868150711, 0.4376618564128876, -0.04635980725288391, -0.04218434542417526, 0.08581241220235825, 0.03444724529981613, -0.003108931938186288, 0.03322874754667282, 0.007785105612128973, -0.04184693098068237, 0.004632007796317339, -0.05530788004398346, -0.022765327244997025, 0.012956944294273853, 0.07949620485305786, -0.03412511199712753, 0.001928417244926095, -0.0004556474450509995, 0.04882124438881874, 0.019705910235643387, 0.03649542108178139, 0.009504641406238079, 0.014963158406317234, 0.004480201750993729, 0.01082589477300644, -0.014645786955952644, 0.006582242902368307, -0.042734336107969284, 0.008694412186741829, 0.04942787066102028, 0.02258172258734703, 0.016964897513389587, 0.059908024966716766, -0.0226699598133564, -0.06276023387908936, -0.0015636049211025238, 0.0025117057375609875, 0.011247456073760986, 0.020484069362282753, -0.032350845634937286, 0.004118627402931452, 0.042393963783979416, -0.015552971512079239, -0.012458317913115025, 0.05008292943239212, -0.03504101186990738, -0.05254274234175682, 0.1100103035569191, 0.0020438083447515965, -0.02737789787352085, -0.013381783850491047, -0.029701948165893555, 0.004979758523404598, 0.02075754851102829, -0.02243301272392273, -0.07659576088190079, 0.03925479203462601, 0.03364865854382515, 0.08249401301145554, -0.025235671550035477, -0.0751117616891861, -0.007179604843258858, -0.06838861852884293, -0.02197708934545517, -0.046671051532030106, 0.04136022552847862, 0.03051162138581276, -0.0763641893863678, -0.014954193495213985, 0.009447251446545124, 0.04597518965601921, -0.07429961860179901, 0.005390292964875698, 0.016355179250240326, -0.02631380222737789, -0.021332550793886185, 0.06163778901100159, -0.022136198356747627, -0.024157218635082245, 0.006776093505322933, 0.052693311125040054, 0.0196150504052639, 0.015359457582235336, 0.014969724230468273, -0.04701162129640579, 0.005468448624014854, -0.044367145746946335, -0.09627766907215118, -0.038368236273527145, -0.0005687351804226637, -0.03255710005760193, -0.004472338128834963, -0.0011107249883934855, -0.03150152787566185, -0.07066119462251663, 0.0642000138759613, -0.061244383454322815, -0.037140969187021255, 0.02867853455245495, 0.0027605968061834574, -0.0047323619946837425, -0.03259831294417381, -0.012153341434895992, 0.055451855063438416, -0.02763778530061245, 0.02368376962840557, -0.0639992207288742, 0.018900567665696144, 0.05098392441868782, -0.05123234912753105, 0.07176102697849274, 0.049716558307409286, -0.03765000402927399, -0.02293217182159424, 0.013735285960137844, 0.01665976457297802, -0.0037796825636178255, -0.041384488344192505, -0.02020903117954731, 0.006187742110341787, 0.006161375902593136, 0.008799295872449875, -0.03782012686133385, -0.007148765493184328, -0.03860876336693764, -0.32924970984458923, -0.04628726467490196, -0.02554863505065441, -0.03061595745384693, 0.023392328992486, -0.07186378538608551, 0.010183141566812992, -0.029534032568335533, -0.025900904089212418, -0.00919070653617382, 0.06642168015241623, -0.010516262613236904, -0.027151338756084442, -0.0794416144490242, 0.017084574326872826, -0.0016600077506154776, 0.010615372098982334, -0.048472147434949875, -0.0382964126765728, 0.00876497384160757, 0.004986710846424103, 0.006026575341820717, -0.03143825754523277, -0.06416890770196915, 0.003031151369214058, -0.06251834332942963, 0.07968878746032715, -0.0400874949991703, 0.12463106960058212, -0.007599171716719866, 0.04511997103691101, -0.012445722706615925, 0.02534634619951248, -0.08940086513757706, 0.010653313249349594, -0.011685718782246113, 0.0031472507398575544, -0.02047518640756607, 0.050967756658792496, -0.03483530879020691, -0.02030378021299839, 0.0007853538845665753, -0.07254685461521149, -0.039095938205718994, -0.04378477856516838, 0.015834718942642212, -0.014820946380496025, -0.042632654309272766, -0.027042873203754425, 0.06896404922008514, 0.024156048893928528, -0.006644252222031355, 0.009680156596004963, 0.023199310526251793, -0.015229394659399986, -0.027395693585276604, -0.07180427014827728, 0.015743618831038475, -0.004402776248753071, 0.005747602321207523, 0.04984549432992935, 0.03921731933951378, 0.02606392651796341, -0.05329117923974991, 0.022582238540053368, 0.007608364801853895, 0.005235100630670786, -0.006117394659668207, 0.036845214664936066, -0.024877235293388367, -0.03367050364613533, 0.09618726372718811, -0.018864629790186882, -0.028013046830892563, 0.03534740209579468, 0.05287916585803032, -0.02351236343383789, 0.04652232304215431, 0.008524575270712376, -0.011099522933363914, 0.03910992667078972, 0.007982649840414524, 0.031768761575222015, -0.04483173415064812, -0.01653260923922062, 0.008340097963809967, -0.01325578149408102, -0.029589079320430756, 0.027973182499408722, 0.019847029820084572, -0.024299444630742073, 0.005637599620968103, 0.012978854589164257, -0.06748349219560623, 0.09215068817138672, -0.012014270760118961, -0.24249117076396942, 0.003301220014691353, 0.09475947916507721, 0.059307098388671875, -0.01213756762444973, 0.03066428191959858, 0.039795517921447754, -0.06313381344079971, -0.015809495002031326, 0.021959107369184494, 0.02744409628212452, 0.03113173507153988, 0.02834671176970005, -0.0017263737972825766, 0.05558279529213905, -0.024055879563093185, 0.017560135573148727, -0.010042918846011162, 0.01878848858177662, -0.013547570444643497, 0.03317642956972122, 0.011630152352154255, 0.17787759006023407, -0.007333742920309305, 0.036600373685359955, 0.0036054360680282116, 0.019272077828645706, 0.040721677243709564, 0.07654076814651489, 0.00500692892819643, 0.005656602792441845, 0.010001213289797306, 0.044508058577775955, 0.03440866246819496, 0.013514896854758263, -0.08151396363973618, -0.02536063827574253, 0.032867927104234695, 0.017226822674274445, 0.0004993005422875285, 0.0011518866522237659, 0.007020157296210527, -0.018284721300005913, 0.010313399136066437, 0.07883217930793762, 0.01998758688569069, -0.005809928756207228, -0.03500041365623474, -0.03550242260098457, 0.0009045447804965079, -0.04923718795180321, -0.03853118419647217, 0.016091855242848396, -0.02068859525024891, 0.010608747601509094, 0.058450665324926376, 0.018638944253325462, -0.021657373756170273, -0.01435941644012928, 0.01727096177637577, 0.0013074874877929688, -0.011589250527322292, 0.1134181022644043, 0.031754299998283386, 0.013859162107110023 ]
[ -0.023371996358036995, 0.0038074306212365627, -0.005795993376523256, -0.019097965210676193, -0.01653699204325676, 0.009439903311431408, 0.014664385467767715, 0.04002256691455841, -0.0035932264290750027, -0.00448183948174119, -0.02742701582610607, 0.008825676515698433, 0.005363141186535358, -0.003834209404885769, 0.01757923513650894, -0.0004307105264160782, -0.034530770033597946, -0.014705377630889416, 0.028454571962356567, 0.02329227514564991, 0.00005784865061286837, 0.011991433799266815, -0.014696638099849224, -0.00019678570970427245, -0.01074390672147274, 0.0006421968573704362, -0.005230884533375502, -0.01706612855195999, 0.015153762884438038, -0.11905009299516678, -0.040995676070451736, -0.005309135653078556, 0.014652768149971962, 0.009510158561170101, -0.010360592976212502, 0.0005845162086188793, -0.023335251957178116, -0.007452854886651039, 0.003613816574215889, -0.014000852592289448, -0.04797447845339775, 0.014694709330797195, 0.000024954342734417878, -0.028776785358786583, 0.008011500351130962, 0.006037185434252024, 0.024678533896803856, -0.030308645218610764, 0.0012090901145711541, 0.011736569926142693, -0.007634895853698254, 0.055013224482536316, -0.011747096665203571, 0.029777925461530685, 0.05664016678929329, -0.035450153052806854, 0.019691264256834984, -0.017822783440351486, -0.011625431478023529, -0.0009987307712435722, -0.029109377413988113, 0.005990279838442802, -0.04487418383359909, -0.022177837789058685, -0.009387770667672157, -0.003033769316971302, 0.00278593972325325, 0.009028593078255653, 0.002102811587974429, -0.00799617450684309, 0.004613843746483326, 0.021348673850297928, -0.012538976967334747, -0.03301697596907616, 0.0037702929694205523, -0.008172032423317432, 0.013264315202832222, -0.011637132614850998, 0.030976608395576477, -0.007770111784338951, -0.04217495396733284, 0.02327253483235836, 0.024250756949186325, 0.015381528064608574, 0.036767587065696716, -0.015064604580402374, -0.035589173436164856, -0.024638963863253593, -0.0030766024719923735, 0.035501424223184586, -0.04295340180397034, 0.020223887637257576, 0.011530054733157158, 0.013179400935769081, -0.07023058086633682, 0.009386425837874413, 0.002053069183602929, -0.029028963297605515, 0.001919038943015039, 0.8674800992012024, -0.018245263025164604, 0.052013564854860306, 0.02927502989768982, 0.008421828970313072, -0.009407573379576206, 0.001979437656700611, 0.007543451152741909, -0.0007228212780319154, -0.012478445656597614, -0.05214136838912964, 0.0038829301483929157, -0.0013771096710115671, 0.05808888003230095, 0.01862712949514389, 0.013528545387089252, 0.011225069873034954, 0.018084807321429253, 0.005252456292510033, 0.014138828031718731, 0.011223869398236275, 0.028428463265299797, -0.022428635507822037, -0.0088301757350564, 0.04950936511158943, 0.00582911679521203, -0.1713162213563919, -0.011886203661561012, -8.643891914280117e-33, 0.030828746035695076, -0.0016157259233295918, 0.005648743361234665, 0.0023829236160963774, -0.01772313006222248, -0.013571260496973991, 0.05821830406785011, -0.027549605816602707, -0.023555433377623558, -0.016505703330039978, 0.004142093937844038, 0.009824933484196663, -0.005593618378043175, -0.04052373394370079, 0.029666416347026825, -0.035730212926864624, 0.012142759747803211, 0.011180641129612923, 0.0021024178713560104, 0.00848468393087387, 0.05246967077255249, 0.0217807125300169, 0.013090788386762142, -0.04508703202009201, 0.01969955675303936, 0.022629324346780777, 0.0001238882978213951, 0.03841882571578026, -0.006480595096945763, -0.03802339732646942, -0.03217456862330437, 0.018240390345454216, -0.027173615992069244, -0.008292676880955696, 0.03862781077623367, -0.04149153083562851, 0.0036430966574698687, -0.019226370379328728, -0.01735278032720089, -0.04217223450541496, -0.005045398138463497, -0.0025543237570673227, -0.0631808415055275, -0.0038239990826696157, 0.012732377275824547, 0.0056331767700612545, -0.02007269486784935, 0.03416480869054794, 0.020062385126948357, 0.008944309316575527, 0.02771192602813244, 0.02592018060386181, -0.014427335932850838, -0.03996996954083443, -0.018766148015856743, 0.016085650771856308, -0.0018357556546106935, -0.021817680448293686, 0.010007272474467754, 0.06299252063035965, 0.0010191360488533974, -0.01563509926199913, -0.0038385307416319847, 0.021089773625135422, -0.015256079845130444, -0.01691208779811859, -0.006227552425116301, 0.025539299473166466, 0.01681341417133808, 0.0055904872715473175, -0.03765462338924408, 0.013068068772554398, -0.0015896066324785352, -0.004211239982396364, 0.017822615802288055, 0.020986145362257957, -0.007255433592945337, -0.04683886095881462, -0.04388104006648064, 0.014735646545886993, 0.04043978825211525, -0.00976096373051405, -0.03330483287572861, -0.006738830357789993, 0.006922457832843065, -0.014064078219234943, -0.0035357268061488867, -0.024260304868221283, 0.0036719650961458683, -0.003620455041527748, 0.04562220349907875, -0.029305363073945045, 0.022235125303268433, -0.017653733491897583, -0.027493104338645935, 8.27074298755509e-33, -0.021332817152142525, -0.038920558989048004, -0.008698674850165844, -0.00022900661861058325, -0.009755635634064674, -0.025163615122437477, 0.04184506833553314, 0.007341278251260519, -0.037527378648519516, 0.05520162358880043, -0.033699482679367065, -0.013119603507220745, -0.0030863245483487844, 0.03344273194670677, 0.03088410012423992, 0.010671458207070827, 0.02494635619223118, -0.017729224637150764, 0.017030319198966026, 0.004796961322426796, 0.008647678419947624, 0.009468577802181244, -0.00942489504814148, 0.019340842962265015, -0.01043129712343216, 0.0643659383058548, -0.036579329520463943, 0.003632729174569249, 0.018673855811357498, -0.00010532023588893935, 0.0008679057355038822, -0.01559253316372633, 0.038930196315050125, -0.024717366322875023, -0.015370925888419151, 0.00044575019273906946, 0.014520620927214622, -0.03267514333128929, 0.011255749501287937, 0.0055389320477843285, 0.025073809549212456, -0.027608174830675125, 0.012967659160494804, 0.007684865966439247, 0.012075421400368214, 0.02120758779346943, 0.012019417248666286, -0.01495678722858429, 0.014660410583019257, 0.01715528592467308, 0.010344223119318485, -0.0019942116923630238, -0.004060306120663881, -0.013430115766823292, -0.03835880011320114, -0.024350130930542946, -0.006365049164742231, 0.008552334271371365, -0.014266903512179852, 0.013631180860102177, 0.001408406998962164, -0.009972834959626198, -0.017534876242280006, -0.00944401416927576, -0.023641275241971016, -0.01010606437921524, -0.010852444916963577, -0.04314917325973511, 0.020522775128483772, -0.01580037549138069, -0.02699354477226734, -0.020648401230573654, 0.009584423154592514, 0.03626303747296333, 0.005833473987877369, -0.016787292435765266, -0.0021002679131925106, -0.004640690051019192, -0.013225926086306572, 0.03440091386437416, 0.015164545737206936, -0.018429074436426163, -0.009486944414675236, 0.009123594500124454, -0.011669167317450047, 0.0027211420238018036, -0.024321336299180984, 0.020014753565192223, 0.005147141870111227, -0.026951229199767113, -0.009443845599889755, 0.019167466089129448, 0.0004235674277879298, -0.002164680976420641, 0.005665759090334177, -1.3914751129107117e-8, -0.006132596172392368, 0.0038895667530596256, -0.0160619355738163, 0.019113311544060707, 0.0069562518037855625, 0.0049907369539141655, -0.005991756916046143, -0.01227894052863121, -0.04280494898557663, -0.0053511750884354115, 0.01832376979291439, 0.010124102234840393, 0.0023004235699772835, -0.03542525693774223, 0.019395284354686737, -0.016557341441512108, 0.011511106975376606, -0.01183792669326067, 0.027554059401154518, 0.025585707277059555, 0.012938515283167362, 0.061543047428131104, -0.04110894352197647, 0.01859343983232975, -0.03369458019733429, -0.011964797973632812, 0.0010283844312652946, -0.06984663754701614, -0.006879472639411688, 0.009274165146052837, 0.019477535039186478, -0.019543321803212166, 0.0011372000444680452, 0.01545281708240509, -0.038595862686634064, -0.04530726745724678, 0.03193937987089157, 0.002966710366308689, 0.015555128455162048, -0.018541919067502022, 0.004205532371997833, 0.02071320079267025, -0.014674303121864796, -0.029403652995824814, -0.027234980836510658, 0.0018874284578487277, 0.0014217509888112545, -0.005172360222786665, 0.0018532974645495415, -0.014711431227624416, 0.03185124322772026, 0.020119689404964447, 0.031554657965898514, 0.04386702552437782, 0.018030043691396713, 0.035721492022275925, 0.0047913831658661366, -0.023464327678084373, -0.019739551469683647, 0.03882765769958496, 0.006663047708570957, 0.028434379026293755, -0.025205591693520546, -0.020983759313821793 ]
my-software-development-journey-year-3-4
https://markhneedham.com/blog/2009/10/05/my-software-development-journey-year-3-4
false
2009-10-20 07:01:37
Book Club: Working Effectively With Legacy Code - Chapters 3,4 & 5 (Michael Feathers)
[ "book-club" ]
[ "Book Club" ]
In our latest technical book club we discussed chapters 3,4 and 5 of Michael Feathers' 'http://www.amazon.co.uk/Working-Effectively-Legacy-Robert-Martin/dp/0131177052/ref=sr_1_1?ie=UTF8&s=books&qid=1255440556&sr=8-1[Working Effectively With Legacy Code]' - 'Sensing and Separation', 'The Seam Model' and 'Tools'. These are some of my thoughts from our discussion of these chapters: * Feathers suggests two reasons why we break dependencies when trying to get tests in place - *sensing and separation*. The former involves the breaking of dependencies in order to get access to the values computed in our code and the latter is necessary so that we can get our code into a test harness to start with. In my time coding professionally I have experienced difficulties with the former than the latter. I have certainly written code which is bordering impossible to test but it seems like maybe writing code which is difficult to sense against is less problematic than code which we struggle to get into a test harness. * I really like the idea of http://www.markhneedham.com/blog/2009/06/21/seams-some-thoughts/[seams] and http://www.markhneedham.com/blog/2009/08/19/impersonators-finding-the-enabling-point/[enabling points] to describe how we can alter the way that our code works by making changes in other places. Most of the enabling points in the code I've worked on are object seams but Halvard and I did make use of a link seam when we wanted to override the behaviour of a specific class in a 3rd party library. We were able to do this by including our own class with the same class signature earlier in the application's class path. Ahrum described a time when he had to do something similar to get rid of some noisy warning messages which one of the dependencies was emitting. He was able to verify that nothing important was going on in that particular class before overriding the behaviour with the same trick. * http://intwoplacesatonce.com/[Dave] pointed out that it's useful to remember that *a test is also a client of an object* in particular reference to Feathers pointing out that software doesn't seem to be designed to be easily testable. From what I've seen the best way to make code easily testable is to design in that testability when we're writing it. It's http://www.markhneedham.com/blog/2008/11/28/tdd-suffering-from-testing-last/[much more difficult and time consuming to try and do that later on]. * We had some discussion around big tests in terms of the *size of test fixtures and individual tests*. The consensus seemed to be that when we have an important class where we care a lot about the edge cases then we'll probably write a large number of tests. On the other hand if our individual test methods are big - which usually means there's lots of setup required - then it might indicate that a method or class is doing too much. * The problems in code that these two chapters come generally happen because we are doing too much in single classes instead of separating the responsibilities. Ahrum pointed out that if we had lots of small classes we would have to solve the problem about how to organise these classes effectively instead. On the projects I've worked on we tend to end up with packages which contain a huge number of classes but I haven't noticed it as being particularly painful so far. Ahrum suggested an alternative approach to grouping objects by the layer they reside in would be to group them by feature instead. I haven't done this before but it'd be interesting to see if it would make it easier to manage our code.
null
null
[ 0.01013911608606577, -0.004537258762866259, -0.0035419766791164875, 0.018901025876402855, 0.09201526641845703, 0.0023888873402029276, 0.038412872701883316, 0.016458995640277863, 0.03482898697257042, -0.02137276716530323, -0.03569289669394493, 0.010545765981078148, -0.06265698373317719, 0.008129056543111801, -0.04654444381594658, 0.07020531594753265, 0.07809557020664215, -0.0021786964498460293, 0.013499603606760502, -0.0016373672988265753, 0.028103018179535866, 0.0749676451086998, -0.012947820127010345, 0.03594699874520302, 0.01977534592151642, 0.017064766958355904, -0.0018127667717635632, 0.00033385196002200246, -0.05371240898966789, 0.014653202146291733, 0.04408111050724983, 0.007292569614946842, -0.0006572952261194587, -0.006309937685728073, 0.007260815240442753, -0.0008397377678193152, -0.021735399961471558, 0.030050870031118393, 0.01611890085041523, 0.01262952946126461, -0.05691199004650116, 0.03361571952700615, -0.0000679349759593606, 0.01030712854117155, -0.05541214719414711, 0.0057186707854270935, -0.04377192258834839, 0.015495536848902702, 0.0015711180167272687, -0.018215376883745193, -0.07663518935441971, 0.03921636566519737, -0.015302884392440319, -0.01535953488200903, 0.0007429359247907996, 0.049812015146017075, 0.005824552848935127, -0.06710190325975418, 0.030848940834403038, -0.054632749408483505, 0.004027386195957661, -0.0033743013627827168, -0.018985720351338387, 0.022969139739871025, 0.01701563596725464, -0.031437937170267105, -0.01198017317801714, 0.036332715302705765, -0.023019468411803246, -0.01528942584991455, 0.002971117850393057, 0.01430444698780775, -0.023447910323739052, 0.0011136940447613597, -0.008255616761744022, -0.03340059891343117, -0.00008915011858334765, 0.07588725537061691, 0.014374778605997562, 0.05729547515511513, -0.014322414062917233, 0.032515816390514374, 0.037791043519973755, 0.015319503843784332, -0.005503369960933924, -0.036366306245326996, -0.009810659103095531, -0.006187119521200657, -0.04300790652632713, 0.06872857362031937, 0.02231648750603199, -0.07959338277578354, 0.0155689287930727, 0.05142867565155029, -0.011639520525932312, 0.023097103461623192, 0.01585293374955654, 0.006999035365879536, 0.007960336282849312, -0.03553638979792595, -0.035950399935245514, -0.019088083878159523, 0.025076519697904587, 0.014464955776929855, -0.06956816464662552, 0.006667211651802063, -0.03257828205823898, -0.02460300736129284, -0.00758844381198287, 0.010494195856153965, -0.03618290275335312, 0.006151137407869101, -0.011140964925289154, -0.005665752105414867, -0.09500124305486679, 0.06017840653657913, -0.00590079789981246, -0.041471928358078, 0.00043882091995328665, 0.015020159073174, 0.04460691288113594, 0.04671821743249893, 0.0019472230924293399, 0.08654645830392838, 0.0277677271515131, 0.033514272421598434, -0.03267400711774826, 0.06188466399908066, -0.03212292492389679, -0.05910271778702736, -0.006693186704069376, 0.047529418021440506, -0.03568387031555176, 0.012732971459627151, -0.000835093786008656, 0.011291144415736198, -0.01116185449063778, 0.023360932245850563, 0.026278328150510788, 0.06002088636159897, -0.011648209765553474, -0.03528621047735214, 0.016387389972805977, 0.004928266629576683, 0.015555361285805702, -0.0025058691389858723, -0.00009995973232435063, -0.002263975329697132, -0.021620189771056175, 0.010243501514196396, 0.01165375392884016, 0.019879290834069252, 0.01840197481215, -0.05292768403887749, 0.012618581764400005, 0.07660484313964844, 0.006397545337677002, 0.029630402103066444, -0.029745515435934067, 0.021344659850001335, 0.04747771471738815, 0.03763412684202194, 0.022937064990401268, 0.03174072876572609, 0.01268693432211876, 0.007783869747072458, -0.002670260611921549, 0.036801476031541824, -0.0015398223185911775, 0.010222367011010647, -0.07407029718160629, -0.05085412785410881, 0.055693790316581726, -0.052741531282663345, -0.029464876279234886, 0.031064540147781372, 0.08434249460697174, 0.01571647822856903, 0.032449010759592056, 0.005311626475304365, -0.07716561108827591, 0.03354841470718384, 0.013582679443061352, -0.0015083624748513103, 0.016063636168837547, -0.009020484983921051, 0.0655205249786377, 0.015350387431681156, -0.0028750766068696976, 0.02607547678053379, -0.08198720216751099, -0.07808809727430344, 0.006243180017918348, -0.03374991938471794, 0.06540093570947647, -0.029232529923319817, -0.0032494841143488884, 0.05931153520941734, 0.020160537213087082, 0.05750802904367447, 0.03432818502187729, -0.0029231675434857607, 0.017515990883111954, -0.0352732315659523, -0.0379062257707119, 0.05109979212284088, 0.02196214161813259, 0.004681609570980072, -0.06726878881454468, -0.009067485108971596, -0.010409241542220116, 0.01137802004814148, 0.048304349184036255, -0.0057508996687829494, 0.04495739936828613, 0.0005313888541422784, 0.03866899758577347, -0.03951290622353554, 0.06356702744960785, -0.07808852195739746, -0.004816367756575346, -0.007918039336800575, -0.026158815249800682, -0.0006551650003530085, -0.0001031761130434461, 0.11919546127319336, 0.058397214859724045, -0.043500807136297226, -0.03908934071660042, 0.024718964472413063, 0.009820615872740746, -0.06276989728212357, -0.01074982900172472, -0.02001362293958664, 0.009081138297915459, -0.020594218745827675, -0.042060159146785736, -0.017345160245895386, 0.024085184559226036, -0.026435930281877518, 0.007910287007689476, 0.0743337869644165, -0.021775098517537117, 0.05569770187139511, -0.008882706053555012, -0.01293658185750246, 0.005377119407057762, -0.016136132180690765, -0.04686623066663742, 0.02462196908891201, 0.007019840646535158, 0.0019025015644729137, 0.055041104555130005, -0.05622193217277527, -0.030244138091802597, -0.00551286106929183, -0.056554436683654785, 0.005456563550978899, 0.027343710884451866, 0.05739845335483551, 0.0005125543684698641, 0.052715227007865906, -0.022527538239955902, 0.03337492793798447, -0.010828505270183086, -0.05065063759684563, -0.021065447479486465, -0.03595637157559395, 0.020622752606868744, 0.01912463642656803, 0.004378066398203373, 0.030493421480059624, 0.04423454403877258, 0.014936266466975212, -0.014785694889724255, 0.006790149491280317, 0.05113891139626503, 0.0005631536478176713, -0.008366113528609276, -0.03549990803003311, -0.022534286603331566, 0.040109943598508835, -0.05511637032032013, -0.023043733090162277, 0.01731058396399021, -0.07120753079652786, 0.062207989394664764, -0.05733100324869156, -0.0716039314866066, 0.001206151326186955, 0.028020601719617844, 0.05123241990804672, 0.007439122535288334, 0.02830929309129715, 0.059185970574617386, 0.01857709139585495, 0.003988305106759071, 0.017158878967165947, 0.0027241006027907133, 0.034701015800237656, 0.008697452954947948, -0.0024042183067649603, 0.033117663115262985, 0.007391599006950855, -0.006991728208959103, -0.05805015191435814, 0.030718253925442696, -0.03678514435887337, -0.2858872413635254, 0.04579368233680725, -0.003523105988278985, -0.062196750193834305, 0.03325207903981209, -0.027842579409480095, 0.011899183504283428, -0.04793483391404152, -0.026927301660180092, 0.030108634382486343, -0.026751553639769554, -0.06046490743756294, -0.004324369132518768, 0.05507379025220871, 0.0006550136604346335, 0.017858166247606277, 0.0338275246322155, -0.03884057700634003, 0.012911270372569561, 0.07248735427856445, -0.023826511576771736, -0.06770915538072586, -0.002923049498349428, 0.036719318479299545, 0.01718832179903984, 0.03904774412512779, -0.10878483951091766, 0.048699259757995605, -0.05050690472126007, -0.016446534544229507, 0.01016599964350462, -0.005078006535768509, -0.006521935574710369, -0.013625254854559898, -0.020452281460165977, -0.01935451850295067, 0.02254392020404339, 0.03343234583735466, -0.025320691987872124, 0.016540586948394775, -0.028459088876843452, -0.02587868459522724, -0.030071457847952843, 0.012331184931099415, 0.0667441189289093, 0.0035030285362154245, -0.07034765928983688, -0.023600749671459198, -0.007560488767921925, 0.08895587921142578, -0.07246584445238113, -0.03024985082447529, 0.006293986923992634, 0.012472007423639297, -0.009511423297226429, -0.03923109918832779, 0.000793383689597249, -0.019384002313017845, -0.04823785275220871, -0.0008671653340570629, -0.017954692244529724, -0.04320140182971954, 0.0031532282009720802, -0.04993443191051483, 0.001594877801835537, -0.059168774634599686, -0.07000160962343216, -0.01956689916551113, 0.06754842400550842, 0.0016774587566033006, -0.051817387342453, 0.0001415285951225087, -0.006021917797625065, -0.12108626216650009, 0.00023461622186005116, -0.03178217262029648, -0.01621711626648903, -0.020964818075299263, 0.02217019535601139, 0.05441823974251747, -0.01577046699821949, -0.06685332208871841, 0.013847804628312588, -0.0016547114355489612, 0.007788136135786772, -0.008502494543790817, 0.014199497178196907, 0.004121060483157635, -0.002934124553576112, 0.002754251239821315, 0.07149185240268707, 0.0012822069693356752, -0.038945019245147705, -0.034518349915742874, 0.035992030054330826, 0.005970058962702751, 0.02730095386505127, -0.017746353521943092, 0.011719144880771637, 0.03657295182347298, -0.00625412305817008, -0.058850061148405075, 0.03325560316443443, -0.021945595741271973, -0.001145595801062882, -0.015462346374988556, -0.031244119629263878, 0.020762765780091286, 0.058298807591199875, 0.030926095321774483, -0.00628644647076726, -0.04769562557339668, 0.009668621234595776, -0.03956517204642296, -0.058527830988168716, -0.03449740260839462, 0.010526313446462154, 0.03309045359492302, -0.022159142419695854, -0.021281933411955833, -0.04203229025006294, -0.0008281641057692468, -0.004522745497524738, -0.007830047979950905, -0.06597854942083359, -0.024299591779708862, -0.011696215718984604, -0.022576551884412766, 0.005551346577703953, 0.011483855545520782, -0.021367181092500687, 0.03584344685077667, 0.02586190216243267, -0.03932097554206848, 0.009590994566679, -0.002291450509801507, -0.054742272943258286, -0.02926679700613022, -0.010846803896129131, -0.00033079119748435915, -0.024508539587259293, 0.013694745488464832, 0.005184557754546404, 0.03327396139502525, 0.023410698398947716, 0.011360782198607922, 0.03362257778644562, -0.006655811797827482, 0.02442639321088791, 0.010566565208137035, 0.02410130389034748, -0.06904660165309906, 0.023750029504299164, -0.04217859357595444, -0.03560657426714897, -0.030349669978022575, 0.03542441502213478, 0.002818932756781578, -0.023192834109067917, -0.013699539937078953, 0.0443340502679348, -0.05518396198749542, -0.02569570764899254, -0.02228952758014202, 0.007544105406850576, 0.06243036687374115, -0.030597442761063576, 0.03983205184340477, -0.0259095449000597, -0.04977915808558464, -0.012130971997976303, 0.011458657681941986, -0.04211503639817238, 0.023730464279651642, 0.02953067608177662, -0.007102014031261206, -0.009936608374118805, -0.0014626177726313472, 0.03914517164230347, 0.008544782176613808, -0.0016726411413401365, -0.022785335779190063, 0.007422558963298798, -0.012004293501377106, 0.03919105976819992, -0.004865576047450304, 0.0075470274314284325, -0.021408719941973686, -0.013027818873524666, -0.03161698952317238, -0.04151897877454758, -0.003615912515670061, -0.014599639922380447, 0.029073534533381462, -0.03941067308187485, -0.08028446137905121, 0.03447410836815834, 0.02990778349339962, 0.011444030329585075, -0.003639454720541835, -0.006413541734218597, 0.01598922535777092, -0.013591556809842587, 0.04898935183882713, 0.05153312534093857, -0.05187998339533806, 0.004319958388805389, -0.015315989963710308, 0.0011529342737048864, -0.007260930258780718, 0.007203360553830862, -0.05899382010102272, -0.010579442605376244, 0.007297859527170658, -0.0007424551295116544, -0.058116365224123, -0.028437504544854164, -0.013398755341768265, 0.015936752781271935, -0.014389827847480774, -0.0187910757958889, -0.0180672574788332, 0.027563801035284996, -0.006050345487892628, -0.025235582143068314, 0.006745969410985708, -0.009681815281510353, 0.015237081795930862, 0.03432291001081467, -0.03933093324303627, 0.020527536049485207, -0.018682781606912613, 0.028439396992325783, 0.02353985793888569, -0.00985242985188961, -0.0008388276910409331, -0.04552258923649788, -0.018246812745928764, 0.010572751052677631, 0.029044613242149353, 0.010950509458780289, -0.0026767831295728683, -0.02082051709294319, -0.006683910731226206, -0.03799426928162575, 0.04354904592037201, -0.015394501388072968, -0.019509408622980118, 0.014991975389420986, 0.05510886013507843, 0.015094172209501266, 0.02891356870532036, 0.002903035143390298, 0.00046557720634154975, 0.05406789481639862, -0.06368431448936462, -0.021931152790784836, -0.025599688291549683, -0.06912405043840408, 0.008054068312048912, 0.017634842544794083, 0.028056468814611435, -0.040099069476127625, 0.026776684448122978, 0.018307402729988098, 0.026785722002387047, 0.024199120700359344, 0.003578268690034747, 0.026014218106865883, -0.06230616942048073, 0.011819349601864815, -0.07707304507493973, 0.009879638440907001, 0.02639644779264927, 0.00561930937692523, -0.00979338027536869, 0.010719970799982548, -0.037405263632535934, 0.03904126584529877, -0.06624870747327805, -0.02046019770205021, 0.03892664611339569, -0.005852638743817806, -0.006759319454431534, 0.0013380676973611116, -0.05852249264717102, 0.04568767920136452, 0.026403671130537987, -0.04584428668022156, -0.03898278623819351, -0.01739404909312725, 0.04935644194483757, 0.0182453915476799, 0.04180203378200531, -0.025338636711239815, 0.00048310350393876433, 0.059652723371982574, 0.005150094628334045, 0.032537270337343216, 0.021558502689003944, -0.026194307953119278, 0.0395023338496685, 0.02295282483100891, 0.022998671978712082, 0.006098144222050905, 0.0074690766632556915, 0.011442306451499462, -0.05764760822057724, 0.033580437302589417, -0.007550976704806089, -0.0271469634026289, -0.035707149654626846, 0.04967451095581055, 0.03658668324351311, -0.014766959473490715, -0.05337117239832878, 0.015543809160590172, -0.05501149222254753, -0.007938992232084274, -0.017363490536808968, -0.01693415269255638, -0.05329953506588936, 0.05660265311598778, 0.00802154466509819, -0.00777315953746438, 0.05639788135886192, -0.019430506974458694, -0.006619289051741362, -0.02919110283255577, 0.08860234916210175, 0.06960152834653854, 0.0607774592936039, 0.021716510877013206, 0.06597469002008438, -0.006392634008079767, -0.04186894744634628, 0.014863792806863785, 0.013296257704496384, -0.008476220071315765, -0.02117759734392166, 0.02116893231868744, 0.05424628034234047, 0.013482343405485153, 0.06410893052816391, -0.03689083084464073, 0.007320774253457785, 0.007394126616418362, 0.01772758550941944, 0.012216893024742603, 0.08259580284357071, 0.0034182528033852577, 0.02762482687830925, 0.00023769686231389642, -0.043810538947582245, 0.021856145933270454, -0.028304895386099815, -0.000627087545581162, 0.05401980131864548, -0.007751446217298508, 0.03368076682090759, 0.020985301584005356, 0.03854868933558464, 0.07555180788040161, -0.009689013473689556, 0.0013027060776948929, -0.00778114702552557, 0.03315185755491257, 0.0032279312144964933, 0.011053381487727165, -0.045090336352586746, -0.02247990295290947, 0.00019022656488232315, -0.04219430312514305, -0.027350347489118576, -0.023421648889780045, -0.013575449585914612, 0.05294700711965561, -0.006331000477075577, 0.0063049751333892345, 0.025397567078471184, 0.005032132379710674, -0.04738057404756546, -0.056236520409584045, -0.05892818793654442, -0.011334911920130253, -0.05633686110377312, -0.025951562449336052, 0.009964155033230782, 0.012321410700678825, -0.029354054480791092, -0.010662342421710491, -0.03593567758798599, -0.04468931630253792, 0.044394828379154205, -0.05686252936720848, -0.027592746540904045, 0.010712182149291039, 0.015656255185604095, 0.027117563411593437, 0.009988193400204182, 0.052549928426742554, 0.03600584715604782, -0.013118233531713486, -0.02491682395339012, 0.01233450323343277, 0.01632567308843136, 0.0020178649574518204, 0.02729758433997631, -0.09407616406679153, 0.012132283300161362, 0.01463672611862421, -0.00043483186163939536, -0.06439188122749329, 0.026253361254930496, 0.018335510045289993, -0.03156183287501335, 0.039080072194337845, -0.016818614676594734, 0.009376618079841137, 0.0008936331141740084, -0.028186015784740448, -0.004365226253867149, 0.028520844876766205, 0.029681315645575523, -0.0008161822916008532, 0.08667221665382385, 0.010539618320763111, -0.03001733496785164, -0.047486450523138046, -0.00726059265434742, -0.01583109237253666, 0.019199922680854797, -0.04942786321043968, -0.026491306722164154, -0.008168614469468594, -0.0769500657916069, -0.021032588556408882, 0.025034591555595398, -0.026403039693832397, -0.03045477718114853, 0.01750246249139309, 0.018015647307038307, -0.01729392632842064, 0.03709683194756508, -0.036190763115882874, 0.017616333439946175, -0.017075367271900177, -0.01547097135335207, 0.017103014513850212, 0.003829801455140114, 0.013601676560938358, 0.02186402678489685, 0.007474172860383987, -0.04034369811415672, -0.018245160579681396, -0.004520972725003958, 0.024554986506700516, 0.06221473217010498, -0.005947980564087629, -0.017660923302173615 ]
[ -0.11989166587591171, 0.0072171506471931934, -0.008005219511687756, -0.039615992456674576, 0.04273113235831261, -0.0372726134955883, -0.02049502544105053, 0.014640728011727333, -0.013988363556563854, -0.019911596551537514, -0.01507591549307108, -0.023442525416612625, -0.013271182775497437, 0.005454739090055227, 0.0839133933186531, 0.020243613049387932, -0.01312986295670271, -0.04275069013237953, 0.020719008520245552, 0.02796691656112671, 0.007522056810557842, -0.03570299595594406, -0.037950631231069565, -0.010916025377810001, 0.025691645219922066, 0.05937468633055687, 0.04127607122063637, -0.04178249090909958, 0.03422720357775688, -0.2202569991350174, 0.008912120014429092, 0.00788330752402544, 0.017688777297735214, -0.03386208042502403, 0.006850380916148424, 0.03620804473757744, 0.01144715491682291, -0.008782261982560158, -0.004917125683277845, 0.03948238492012024, 0.01788099855184555, 0.030811471864581108, -0.06862019002437592, -0.02184028923511505, 0.040306221693754196, 0.0033858120441436768, 0.01853964850306511, -0.047300275415182114, -0.004910812713205814, -0.004079384729266167, -0.06830646097660065, -0.01518055610358715, -0.0191339161247015, -0.032674580812454224, -0.01695488765835762, 0.019682982936501503, 0.028615642338991165, 0.07957711815834045, -0.000042563358874758705, 0.011077102273702621, 0.004100652411580086, -0.032675568014383316, -0.13725122809410095, 0.07976190745830536, 0.07327009737491608, 0.050998322665691376, -0.025420954450964928, -0.019675681367516518, 0.0075209736824035645, 0.10030603408813477, -0.016242574900388718, -0.027150636538863182, -0.04093169793486595, 0.05749434232711792, 0.015678031370043755, 0.014106778427958488, 0.01814885437488556, 0.002684469800442457, 0.047518737614154816, -0.054416224360466, -0.023388991132378578, -0.0197009164839983, -0.0011888411827385426, -0.010648073628544807, -0.032819103449583054, 0.01784897968173027, -0.007901628501713276, 0.02990795113146305, 0.03739031404256821, 0.018845509737730026, 0.04088810831308365, -0.02665121480822563, 0.044494617730379105, 0.009820095263421535, -0.08178255707025528, -0.007564619183540344, -0.00822293572127819, 0.008945180103182793, -0.03330402821302414, 0.47875550389289856, -0.0418330617249012, -0.01635320484638214, 0.037504829466342926, 0.03889856114983559, 0.006735275965183973, 0.0031416236888617277, 0.023610221222043037, -0.04367164522409439, 0.03249835968017578, -0.026920156553387642, 0.022691357880830765, 0.0067614116705954075, 0.08221376687288284, -0.02899537980556488, -0.013408990576863289, 0.008226997219026089, 0.002790151396766305, 0.009311008267104626, 0.014979785308241844, -0.012869798578321934, -0.019189240410923958, 0.0032871130388230085, 0.03431513160467148, 0.008934050798416138, 0.0004748771316371858, -0.025056365877389908, 0.01728084497153759, 0.06375616043806076, 0.009776614606380463, 0.011250627227127552, 0.031128741800785065, -0.06479296833276749, -0.045078616589307785, -0.00018643823568709195, -0.005020457319915295, 0.021817881613969803, 0.018889939412474632, -0.025897527113556862, 0.00775343319401145, 0.04637167975306511, -0.011999666690826416, -0.007606330793350935, 0.049027975648641586, 0.011204126290977001, -0.03123420476913452, 0.08347416669130325, -0.002907815622165799, -0.02572016231715679, -0.017339717596769333, -0.03680412098765373, 0.02033446915447712, 0.0421864315867424, -0.01676916517317295, -0.04665403813123703, 0.029302524402737617, 0.016586702316999435, 0.05855073407292366, -0.0004161030810791999, -0.06284167617559433, -0.009578079916536808, -0.00769469141960144, -0.027254145592451096, -0.06091385334730148, 0.04150979965925217, 0.043092306703329086, -0.08630135655403137, -0.0125702153891325, 0.023597700521349907, 0.01575927622616291, -0.0757090151309967, -0.005400212947279215, 0.02158857136964798, -0.030246350914239883, -0.016042955219745636, 0.033931925892829895, -0.028216402977705002, -0.036234695464372635, 0.009103351272642612, 0.04495419189333916, 0.028416156768798828, 0.004552699159830809, 0.00452784588560462, -0.0614672414958477, -0.0035299351438879967, -0.023331116884946823, -0.07494700700044632, -0.04476763680577278, -0.028278298676013947, -0.035264141857624054, -0.001102094422094524, -0.025854863226413727, -0.012580487877130508, -0.06696214526891708, 0.0726144090294838, -0.01717071421444416, -0.024051956832408905, 0.018459320068359375, -0.005883604288101196, -0.03797526657581329, -0.029655735939741135, -0.0003625541285146028, 0.03769882023334503, -0.02420984022319317, 0.042211491614580154, -0.07389748841524124, 0.06315802782773972, 0.05135689303278923, -0.04607866704463959, 0.07893925905227661, 0.04087202623486519, -0.028940832242369652, -0.03784148767590523, 0.023636357858777046, 0.00687033124268055, 0.005608803126960993, -0.03432358428835869, -0.0015668384730815887, 0.0181835126131773, 0.009083510376513004, 0.03409302979707718, -0.023137245327234268, -0.01181728020310402, -0.03165605291724205, -0.34447503089904785, -0.033190809190273285, -0.03329885005950928, 0.012815745547413826, 0.007249866612255573, -0.05588690936565399, 0.016070298850536346, -0.010262125171720982, -0.027801834046840668, -0.013195306062698364, 0.08077585697174072, -0.011624930426478386, 0.0014925614232197404, -0.09202803671360016, 0.0029830927960574627, -0.01621737889945507, -0.0330931730568409, -0.027132194489240646, -0.06116229668259621, 0.019201351329684258, 0.0016777209239080548, -0.0014994851080700755, -0.024324510246515274, -0.07146391272544861, -0.021276535466313362, -0.05044989660382271, 0.08171424269676208, -0.024756573140621185, 0.09835052490234375, -0.04689174145460129, 0.028648916631937027, 0.024930452927947044, 0.03641629219055176, -0.08744862675666809, 0.01592942699790001, -0.0008610832155682147, -0.021761247888207436, -0.016932537779211998, 0.050098318606615067, -0.0463554747402668, -0.04695188254117966, 0.025496114045381546, -0.04959198087453842, -0.028306692838668823, -0.04081849008798599, 0.004657569341361523, -0.009143774397671223, -0.041148316115140915, -0.030130460858345032, 0.07158863544464111, 0.03547012433409691, -0.011377817019820213, 0.00004309799987822771, 0.0035510053858160973, -0.028322704136371613, -0.028835749253630638, -0.06779863685369492, 0.012809714302420616, 0.007235297001898289, -0.0035406958777457476, 0.02827044017612934, 0.06015865504741669, 0.01936333440244198, -0.04990887641906738, 0.030718814581632614, 0.026384105905890465, 0.004347587935626507, -0.01137985847890377, 0.048951294273138046, -0.024396376684308052, -0.00517139071598649, 0.09580528736114502, 0.004494454711675644, -0.024216990917921066, -0.003809722838923335, 0.04549556225538254, -0.00942703615874052, 0.0386117547750473, 0.00998928677290678, -0.022539641708135605, 0.03731788694858551, -0.013074539601802826, 0.03281823545694351, -0.03867637738585472, -0.010930750519037247, 0.022915082052350044, -0.008723149076104164, -0.029799703508615494, 0.058660853654146194, 0.017971500754356384, -0.022836165502667427, 0.008967356756329536, -0.012030942365527153, -0.06355702877044678, 0.08841905742883682, 0.02648601494729519, -0.23289254307746887, -0.0031096648890525103, 0.07089734822511673, 0.049712423235177994, -0.01051440928131342, 0.03517485409975052, 0.0446164608001709, -0.06478475034236908, 0.020647229626774788, -0.004998458083719015, 0.03184383735060692, 0.025251448154449463, 0.007585476152598858, -0.00760277034714818, 0.05889572948217392, 0.00026211372460238636, 0.05120024085044861, -0.023820647969841957, 0.0019044779473915696, -0.021617596969008446, 0.012071972712874413, 0.00368036818690598, 0.1615990400314331, 0.00728863338008523, 0.03298075869679451, 0.00894923135638237, 0.020314861088991165, 0.013473479077219963, 0.06354497373104095, 0.0028738805558532476, 0.0032615165691822767, 0.0028806726913899183, 0.051290545612573624, -0.012340747751295567, 0.01579815335571766, -0.059275295585393906, -0.019580639898777008, 0.018918931484222412, 0.0342809222638607, -0.0031850170344114304, 0.029233109205961227, 0.006667476147413254, -0.024669231846928596, 0.013694019988179207, 0.06739423424005508, 0.020677097141742706, -0.017525743693113327, -0.01674281433224678, -0.03296629339456558, -0.012419404461979866, -0.021940656006336212, -0.038854945451021194, 0.01871068961918354, -0.015352936461567879, 0.007678923197090626, 0.06597837805747986, 0.023052668198943138, -0.010425367392599583, -0.03603871166706085, 0.013050480745732784, 0.003145829541608691, -0.02111809328198433, 0.1338641494512558, 0.03609020635485649, 0.01501538697630167 ]
[ -0.05084061250090599, -0.00041974493069574237, 0.02229859121143818, 0.015710905194282532, 0.025552021339535713, -0.017592452466487885, 0.00028574999305419624, -0.0000801281858002767, -0.02037242241203785, 0.021249577403068542, -0.01064109243452549, 0.014022561721503735, 0.01898212544620037, 0.006280806381255388, 0.02802364155650139, 0.006165799684822559, -0.00751048419624567, -0.031048111617565155, -0.008667601272463799, 0.022948123514652252, -0.01331311371177435, 0.02321053110063076, 0.009022696875035763, 0.019466377794742584, -0.024593979120254517, 0.008298023603856564, -0.01747629977762699, -0.0036072516813874245, 0.007221896201372147, -0.12241216748952866, 0.011782266199588776, -0.017149191349744797, -0.031910575926303864, -0.008456647396087646, -0.0018556019058451056, 0.05090656504034996, -0.006349572911858559, -0.009296460077166557, -0.025070244446396828, 0.0038090308662503958, 0.026005718857049942, -0.011728155426681042, -0.002446729689836502, -0.011524619534611702, 0.014931055717170238, 0.02508149854838848, -0.005647873971611261, -0.02619170770049095, -0.0022531081922352314, -0.008927527815103531, -0.025877976790070534, -0.002127088140696287, -0.03284788876771927, 0.01985255442559719, 0.0019333695527166128, -0.006299406755715609, -0.004074726719409227, -0.017582116648554802, -0.037237223237752914, -0.03711716830730438, -0.008570280857384205, 0.01541342493146658, -0.027764473110437393, -0.032136399298906326, 0.0009948954684659839, -0.009131030179560184, -0.014752511866390705, 0.007988403551280499, 0.017167488113045692, -0.008111088536679745, -0.01881387084722519, 0.006100525613874197, -0.018027018755674362, -0.017497139051556587, 0.042390841990709305, 0.03177439421415329, -0.0091657480224967, -0.011556756682693958, 0.031203608959913254, -0.013294166885316372, -0.038159728050231934, 0.01286808680742979, 0.01618664152920246, 0.00731786759570241, 0.02735581062734127, -0.026496097445487976, -0.008142201229929924, 0.006803145166486502, 0.007598267402499914, -0.008169355802237988, 0.013348016887903214, 0.010310463607311249, -0.01632777974009514, 0.03839031234383583, -0.03248098865151405, -0.009695058688521385, -0.0029552297201007605, 0.023663340136408806, -0.0012377669336274266, 0.8769262433052063, -0.0062188352458179, 0.032644618302583694, 0.024527335539460182, 0.029516251757740974, 0.018417689949274063, -0.012412364594638348, -0.04897267371416092, 0.005317070055752993, 0.026079241186380386, -0.0536552369594574, 0.03131883963942528, -0.01668943464756012, 0.02891233004629612, -0.00792921707034111, 0.014343565329909325, 0.004859915468841791, -0.011254456825554371, 0.04090627655386925, 0.0005467032315209508, 0.03486837446689606, 0.02954244799911976, -0.021428704261779785, 0.01705223135650158, -0.0102772805839777, 0.036158207803964615, -0.16009217500686646, -0.026663310825824738, -7.524896964746134e-33, 0.03245663642883301, -0.01610754430294037, -0.009389786049723625, 0.0023925905115902424, 0.010061795823276043, -0.0013967142440378666, -0.015388517640531063, 0.03848015144467354, -0.011425498872995377, -0.003142010886222124, 0.007939576171338558, -0.0049393088556826115, -0.005980090703815222, -0.02155384235084057, 0.04568891227245331, 0.009605590254068375, -0.024041691794991493, 0.017664238810539246, -0.011180729605257511, 0.014273351989686489, 0.015187404118478298, 0.018006645143032074, -0.022694053128361702, -0.023900549858808517, -0.005779195576906204, 0.035091105848550797, 0.020709631964564323, 0.010875323787331581, -0.00990758091211319, -0.028142252936959267, -0.0069892932660877705, -0.00016661097470205277, 0.004455036949366331, -0.02952929027378559, -0.006552800070494413, -0.04414373263716698, -0.05298474431037903, 0.013410130515694618, -0.02646300196647644, -0.007131275720894337, 0.012110568583011627, -0.04500278830528259, -0.0002264029608340934, 0.0030630265828222036, -0.010726124979555607, -0.023240605369210243, -0.012239653617143631, 0.04135700315237045, 0.02743358723819256, 0.002899418817833066, 0.026605231687426567, -0.008603121154010296, 0.013317779637873173, -0.026707904413342476, -0.03524859622120857, 0.020636338740587234, -0.00789855420589447, -0.008560151793062687, -0.0047300043515861034, 0.021155981346964836, -0.013377588242292404, 0.0027367183938622475, 0.0009380863630212843, 0.012013346888124943, 0.017939189448952675, -0.02688559889793396, 0.00981188379228115, 0.009806429035961628, 0.007223129738122225, 0.006008810363709927, -0.04670161381363869, 0.015251779928803444, -0.019381416961550713, -0.024695761501789093, -0.011252305470407009, -0.022717708721756935, 0.010934308171272278, 0.04192747548222542, 0.014681659638881683, 0.005791979376226664, 0.01151675172150135, 0.011995266191661358, 0.03697790950536728, 0.00276072951965034, -0.024841858074069023, -0.009883691556751728, 0.004148006439208984, -0.02425713837146759, -0.015267676673829556, -0.020003268495202065, 0.05921332910656929, 0.039621204137802124, 0.006419023498892784, -0.05206163600087166, -0.021189076825976372, 8.002524564056215e-33, 0.00979633443057537, -0.011420016176998615, -0.023161133751273155, -0.0029109453316777945, -0.008032480254769325, -0.013796635903418064, 0.033189557492733, 0.010801720432937145, -0.046992555260658264, 0.03654243052005768, -0.015088248997926712, 0.012190645560622215, -0.014793346635997295, 0.03334428369998932, 0.015439622104167938, -0.018772127106785774, 0.03276346996426582, -0.015586107969284058, 0.04459061473608017, 0.006513894069939852, 0.039604660123586655, -0.0015477536944672465, 0.011048790998756886, -0.027035703882575035, -0.012099187821149826, 0.03278861567378044, -0.017753038555383682, -0.0002442258701194078, -0.0058699706569314, 0.0032979692332446575, -0.0035055263433605433, -0.007837265729904175, 0.027260441333055496, -0.004243578761816025, -0.03321031108498573, 0.02019243687391281, 0.018581869080662727, -0.02034340612590313, -0.022361719980835915, -0.0027121722232550383, 0.02228034846484661, 0.007103521842509508, -0.020363371819257736, 0.001211578375659883, 0.020539579913020134, 0.0017919216770678759, -0.01701173186302185, 0.01518514845520258, -0.024521302431821823, 0.02513488382101059, 0.007008507382124662, 0.04007314145565033, 0.023684607818722725, -0.017174625769257545, -0.011059295386075974, -0.005048241466283798, -0.03627726063132286, 0.021932635456323624, -0.014262472279369831, 0.005131670739501715, -0.004721576347947121, 0.022516630589962006, -0.025983300060033798, 0.0027728115674108267, 0.0027835078071802855, 0.015774516388773918, -0.04516176879405975, -0.012373104691505432, 0.01604980230331421, -0.02520378865301609, -0.033840857446193695, 0.0005158993299119174, 0.005424847360700369, 0.0057668536901474, 0.032576784491539, 0.0123130539432168, -0.01699739694595337, -0.016919046640396118, 0.03110751323401928, 0.022024888545274734, -0.01319065224379301, -0.04805006459355354, 0.01821238175034523, 0.0016213961644098163, -0.020670363679528236, 0.010266569443047047, -0.005836698226630688, 0.02209234982728958, 0.001717866281978786, -0.02976899780333042, -0.019213544204831123, -0.010350136086344719, 0.027765199542045593, 0.008601698093116283, -0.0016281596617773175, -1.3500337736616075e-8, 0.011004948057234287, 0.034672729671001434, -0.031025830656290054, -0.005401144735515118, 0.035985883325338364, 0.024430852383375168, -0.022219298407435417, -0.003301129909232259, -0.025015320628881454, 0.032704975455999374, 0.024787278845906258, -0.03261755406856537, -0.02203148417174816, 0.0007671848288737237, 0.021897099912166595, -0.06669647991657257, -0.011339235119521618, 0.012952449731528759, -0.00030795365455560386, -0.005692635662853718, 0.010929765179753304, 0.07468562573194504, -0.0067243436351418495, 0.018986066803336143, 0.03750038892030716, -0.016484199091792107, 0.013581858016550541, -0.06392267346382141, 0.001452930737286806, 0.01152193732559681, -0.03295118734240532, -0.03383634611964226, -0.03681407496333122, 0.01512764673680067, -0.011809155344963074, -0.001073131919838488, -0.017030198127031326, 0.057221151888370514, 0.04251658916473389, 0.002762118587270379, -0.005794975906610489, 0.02729189209640026, -0.009964094497263432, -0.011633415706455708, 0.0055954791605472565, -0.030840417370200157, 0.0063857524655759335, -0.02720073238015175, -0.017207425087690353, 0.0032485739793628454, 0.01993323676288128, 0.011352300643920898, 0.007507314905524254, 0.00846606120467186, -0.0007875669980421662, 0.003739716252312064, 0.00873766653239727, -0.0317741297185421, -0.049714863300323486, 0.025042833760380745, 0.013227220624685287, -0.009841980412602425, -0.018502498045563698, -0.010890738107264042 ]
book-club-working-effectively-with-legacy-code-chapters-34-5-michael-feathers
https://markhneedham.com/blog/2009/10/20/book-club-working-effectively-with-legacy-code-chapters-34-5-michael-feathers
false
2009-10-18 20:33:39
Coding: Role based interfaces
[ "coding" ]
[ "Coding" ]
I've http://www.mockobjects.com/files/usingmocksandtests.pdf[read a bit about role based interfaces] but I've never really quite understood how the idea could be applied into our code - this week my colleague Matt Dunn has been teaching me. We had a requirement to show some content on every page of the website we're working on. The content would be slightly different depending on which business process you're doing. Our first solution made use of an already defined 'BusinessType' property which allowed us to work out which content we needed to create. [source,csharp] ---- public class ApplicationController : Controller { public string BusinessType { get { return GetType().Replace("Controller", ""); } } public override void OnActionExecuting(ActionExecutingContext context) { base.OnActionExecuting(context); ViewData["SomeViewDataKey"] = CreateThatViewDataStuff(); } private ViewDataStuff CreateThatViewDataStuff() { return new ViewDataStuff { Content = BuildContent() // and so on }; } private Content BuildContent() { if(BusinessType == "BusinessType1") { return CreateContentForBusinessType1(); } else if(BusinessType == "BusinessType2") { return CreateContentForBusinessType2(); } else { return CreateContentForEveryOtherBusinessType(); } } } ---- [source,csharp] ---- public class BusinessType1Controller : ApplicationController { } public class BusinessType2Controller : ApplicationController { } ---- The problem is that it's really hacky, way too much is going on in the ApplicationController and every time we have a business type which has different content we have to add to the mess. We decided to make use of polymorphism to make the solution a bit cleaner and my initial thought was that we could just create a 'CreateContent' method on the ApplicationController and then override that if necessary in the other controllers. Matt suggested that we should take this a step further and define that method as part of an interface called 'IContentFactory'. With this approach we would then be able to just pass a reference to that interface into the 'ViewDataStuff' class which can delegate to the 'IContentFactory' when the content is requested. In this case in the 'CreateContent' methods we were making network calls to retrieve data so it allowed us to http://www.markhneedham.com/blog/2009/09/02/coding-reduce-fields-delay-calculations/[delay these calls until strictly necessary]. [source,csharp] ---- public class ApplicationController : Controller, IContentFactory { public override void OnActionExecuting(ActionExecutingContext context) { base.OnActionExecuting(context); ViewData["SomeViewDataKey"] = CreateThatViewDataStuff(); } private ViewDataStuff CreateThatViewDataStuff() { return new ViewDataStuff(this) { // and so on }; } public virtual Content CreateContent() { return new Content(...); } } ---- [source,csharp] ---- public class BusinessType1Controller : ApplicationController { public override Content CreateContent() { // creates the Content object slightly differently. return new Content(...); } } ---- [source,csharp] ---- public class ViewDataStuff { private readonly IContentFactory content; public ViewDataStuff(IContentFactory content) { this.content = content; } public Content Content { get { return content.CreateContent(); } } } ---- We thought about using http://www.testingreflections.com/node/view/7234[Udi Dahan's naming notation for interfaces] but the factory pattern is quite well known so it seemed like we might creation more confusion by doing that. I think it'd be interesting to see what we'd have come up with if we'd test driven this code rather than refactored it into this pattern. Overall though it seems quite neat as an approach and the next time we came across some similar code I was able to introduce a role based interface having been taught how to do it by Matt on this one.
null
null
[ 0.01084628701210022, -0.023011423647403717, -0.025619158521294594, 0.0615808330476284, 0.079609215259552, -0.0057931155897676945, 0.05134200304746628, 0.00600163359194994, -0.0006361200357787311, -0.0147252157330513, -0.015888497233390808, 0.0014790543355047703, -0.059431154280900955, 0.01170943584293127, -0.03203549236059189, 0.05860557407140732, 0.0786057636141777, -0.025057032704353333, 0.06580878049135208, -0.015468067489564419, 0.006894854828715324, 0.06759059429168701, -0.0007588854059576988, 0.04084653779864311, 0.038440998643636703, 0.026164574548602104, 0.034263815730810165, 0.002824684837833047, -0.043017368763685226, -0.01984899677336216, 0.004066496156156063, -0.00877760536968708, 0.018116544932127, -0.022159529849886894, 0.01604781113564968, -0.026430876925587654, -0.0021612832788378, 0.01580073870718479, 0.015096507966518402, 0.0012539488961920142, -0.07687801867723465, 0.028829609975218773, -0.01947660744190216, -0.01728755794465542, -0.038018129765987396, -0.010898745618760586, -0.00926350150257349, -0.002938370918855071, -0.014352879486978054, 0.018788054585456848, -0.04820924624800682, 0.0550399087369442, -0.06949633359909058, 0.00486913463100791, 0.009409340098500252, 0.058541443198919296, 0.012467263266444206, -0.09078442305326462, 0.023852339014410973, -0.05980066582560539, 0.0020427973940968513, 0.004054944030940533, 0.017350392416119576, 0.02152176760137081, 0.005097555927932262, 0.006082199513912201, -0.006070266477763653, 0.04081796109676361, -0.029887989163398743, -0.013166635297238827, -0.004733528476208448, -0.016900397837162018, 0.015907349064946175, 0.0015930007211863995, 0.01634996570646763, -0.035471267998218536, -0.005070597864687443, 0.045580748468637466, 0.016303911805152893, 0.04352014139294624, -0.006372107192873955, -0.007150950841605663, 0.016477741301059723, 0.016747338697314262, 0.009415912441909313, -0.026111867278814316, -0.011563901789486408, 0.018972406163811684, -0.013411558233201504, 0.054678164422512054, -0.008258726447820663, -0.011121345683932304, 0.01560608297586441, 0.04066320136189461, 0.013177530840039253, -0.010518109425902367, 0.017155734822154045, -0.013914385810494423, 0.006240646354854107, 0.012076071463525295, -0.02707890421152115, 0.03297784551978111, 0.03463400900363922, 0.02111124061048031, -0.06828095763921738, 0.009304393082857132, -0.04053229093551636, -0.051753804087638855, -0.02733498252928257, 0.03482761234045029, -0.05551214516162872, 0.001215934520587325, -0.026248805224895477, -0.012874042615294456, -0.06086770445108414, 0.04863972216844559, 0.00444011390209198, -0.015040680766105652, 0.020183444023132324, 0.05262158438563347, 0.04562573879957199, 0.006869397591799498, -0.024043526500463486, 0.07197562605142593, 0.026742788031697273, 0.039643868803977966, -0.05387075990438461, 0.05557692050933838, 0.011578161269426346, -0.0769542008638382, 0.01425807736814022, 0.03184126317501068, -0.00900106318295002, 0.008064555004239082, 0.005574928596615791, -0.025976818054914474, 0.0037595133762806654, -0.006607726216316223, 0.028076449409127235, 0.03928261250257492, -0.0652025118470192, -0.046630311757326126, 0.025374488905072212, -0.02722378447651863, 0.005422074347734451, 0.0121027622371912, -0.012331756763160229, -0.031011274084448814, -0.03631461039185524, 0.050692908465862274, 0.0049532148987054825, 0.060704659670591354, 0.05335508659482002, -0.05763126164674759, -0.01592264696955681, 0.08624045550823212, 0.005924241617321968, 0.013336213305592537, 0.00832250714302063, 0.010211866348981857, 0.04962310940027237, 0.013555076904594898, -0.0036252818536013365, 0.04095230996608734, 0.031403549015522, -0.006238359026610851, 0.003924931865185499, 0.03803589195013046, -0.005886130966246128, -0.007117653265595436, -0.06462042033672333, -0.04351723939180374, 0.03235701099038124, -0.04974798113107681, -0.002031658310443163, 0.03910450264811516, 0.07841289043426514, 0.004449371714144945, 0.07291124016046524, 0.011183551512658596, -0.06784630566835403, 0.023919859901070595, 0.017106063663959503, 0.005793810356408358, 0.0256832093000412, 0.012170569971203804, 0.054963648319244385, 0.010096821002662182, -0.030653860419988632, 0.05030142888426781, -0.060823649168014526, -0.0820927619934082, -0.049879804253578186, -0.01549790520220995, 0.07186974585056305, -0.0432136245071888, -0.018223000690340996, 0.0843903049826622, 0.03457191586494446, 0.03188299015164375, 0.03224855661392212, -0.027300288900732994, 0.020898208022117615, -0.01140125934034586, -0.03530454263091087, 0.022688157856464386, 0.04195977747440338, 0.008822080679237843, -0.03066142275929451, -0.01364990510046482, -0.02379937842488289, -0.005771188531070948, 0.02884812466800213, -0.017703918740153313, 0.035030484199523926, 0.0068763792514801025, 0.018036210909485817, -0.022703399881720543, 0.07424163073301315, -0.06998438388109207, 0.018971456214785576, -0.026231877505779266, -0.03677721321582794, -0.019197260960936546, -0.01055703405290842, 0.12925934791564941, 0.04121372476220131, -0.02365855686366558, -0.030727367848157883, -0.005160209257155657, 0.019832145422697067, -0.0291120745241642, 0.013803311623632908, -0.011765717528760433, 0.022739892825484276, 0.022952495142817497, -0.01605185680091381, 0.0003285541897639632, 0.01900499314069748, -0.030884375795722008, 0.03816487267613411, 0.07090561836957932, -0.037590689957141876, 0.021642552688717842, -0.01890246570110321, -0.028379615396261215, 0.01546373963356018, -0.012958940118551254, -0.04944264143705368, -0.0076075345277786255, 0.017984701320528984, -0.010712544433772564, 0.06750211864709854, -0.01941622979938984, -0.016207659617066383, -0.015673942863941193, -0.03094489872455597, 0.016391374170780182, 0.007903273217380047, 0.06020194664597511, -0.015741871669888496, 0.04439591243863106, -0.03693138808012009, 0.02299838326871395, -0.011818069033324718, -0.03695845603942871, -0.012939097359776497, 0.027354441583156586, -0.009555423632264137, 0.048772215843200684, 0.022889578714966774, -0.01693824864923954, 0.02184940315783024, 0.01131429709494114, -0.02751210518181324, -0.010095481760799885, 0.025016922503709793, 0.020016368478536606, -0.022347064688801765, -0.030091620981693268, -0.07157467305660248, 0.007601919583976269, -0.021861940622329712, -0.038688890635967255, 0.05425029993057251, -0.11917652189731598, 0.03782142326235771, -0.05509033426642418, -0.08173221349716187, 0.012793165631592274, 0.028841864317655563, 0.04584089294075966, -0.009275514632463455, 0.04890771582722664, 0.06858555227518082, 0.037251103669404984, -0.0029044270049780607, 0.03564048185944557, 0.009024119935929775, 0.043428536504507065, -0.008996701799333096, 0.005818059202283621, 0.02553762122988701, -0.022053586319088936, 0.008745303377509117, -0.05470287799835205, 0.034262415021657944, -0.015317651443183422, -0.2584852874279022, 0.01415479276329279, -0.011381776072084904, -0.04034562036395073, 0.030399644747376442, -0.028712283819913864, 0.016824549064040184, -0.06537957489490509, -0.030404850840568542, 0.07124467194080353, -0.031345535069704056, -0.03780406713485718, -0.03979780152440071, 0.03748156875371933, -0.005793240386992693, 0.01380770094692707, -0.013765147887170315, -0.03958314284682274, 0.023879848420619965, 0.03397173807024956, 0.0029059643857181072, -0.06228843331336975, -0.007906116545200348, 0.0582447312772274, 0.032807882875204086, 0.06082643195986748, -0.07458493113517761, 0.08439222723245621, -0.0023681323509663343, 0.0008231731480918825, 0.016506250947713852, -0.014224437065422535, -0.008301830850541592, -0.016035469248890877, -0.024469923228025436, -0.029202193021774292, 0.0032156826928257942, 0.017130911350250244, 0.0002574232348706573, 0.022007057443261147, -0.03997945785522461, -0.05527864396572113, -0.014780040830373764, 0.0034178909845650196, 0.06914684921503067, -0.029840338975191116, -0.06744705140590668, 0.0021015936508774757, -0.061216454952955246, 0.06574244052171707, -0.03933903947472572, -0.03470198065042496, 0.01171782985329628, 0.05118615925312042, -0.03762931749224663, -0.022987104952335358, 0.03001209907233715, 0.00005441674875328317, -0.03979787975549698, -0.037334274500608444, -0.016056029126048088, -0.040287669748067856, -0.04716105759143829, -0.036218784749507904, 0.0001408821262884885, -0.0713789314031601, -0.06789269298315048, -0.021054202690720558, 0.06977996975183487, 0.02740313671529293, -0.027440866455435753, 0.0022845491766929626, -0.016758842393755913, -0.1265854388475418, 0.02497589774429798, -0.033374227583408356, -0.022075768560171127, -0.04593026265501976, -0.007573352195322514, 0.052017223089933395, -0.006769256200641394, -0.007654353976249695, 0.04391827434301376, -0.0015003798762336373, 0.008505867794156075, 0.0019460974726825953, 0.045974597334861755, 0.01853492297232151, -0.006519027054309845, 0.022068165242671967, 0.08646514266729355, -0.0028265896253287792, -0.002774737309664488, -0.033944547176361084, 0.014729572460055351, 0.018679309636354446, 0.027293875813484192, -0.03524848446249962, -0.0032991499174386263, -0.020755549892783165, 0.040755048394203186, -0.061604756861925125, 0.013673261739313602, -0.04177838936448097, 0.012122008949518204, -0.0366215780377388, -0.055300816893577576, 0.027998344972729683, 0.01912105455994606, 0.01348892692476511, -0.020763933658599854, -0.01458505354821682, -0.012624596245586872, -0.05554346740245819, -0.03479817882180214, -0.03965752199292183, -0.008686169050633907, 0.03673189878463745, -0.025683585554361343, -0.013389981351792812, -0.0442672036588192, 0.017278308048844337, 0.022251568734645844, -0.003777937963604927, -0.07146486639976501, -0.07038740813732147, -0.014553024433553219, -0.004929813556373119, 0.034802138805389404, 0.022911949083209038, 0.0005630386876873672, 0.024851510301232338, -0.02460477501153946, -0.020856434479355812, 0.005654964596033096, -0.012803321704268456, -0.015487583354115486, -0.036931511014699936, -0.01865590736269951, -0.021056419238448143, -0.0008717594901099801, -0.011540078558027744, 0.021849609911441803, 0.01316235214471817, 0.04112585633993149, -0.004940759390592575, 0.04679471626877785, 0.0312360692769289, -0.021825062111020088, 0.026699744164943695, 0.02638857439160347, -0.06277740746736526, 0.003727085655555129, -0.018296869471669197, -0.028318414464592934, -0.045946117490530014, 0.02464461140334606, -0.008309626020491123, 0.013958748430013657, -0.05255616456270218, 0.034078191965818405, -0.045587461441755295, -0.01746794953942299, -0.03567864000797272, 0.023357132449746132, 0.05657131224870682, -0.026317201554775238, 0.028387347236275673, -0.031115664169192314, -0.0280563123524189, 0.02158067375421524, -0.013570810668170452, -0.0013657885137945414, 0.025775369256734848, -0.009832438081502914, 0.02227691188454628, -0.00018091898527927697, 0.0031823383178561926, 0.0392797626554966, 0.01230215560644865, 0.012893946841359138, -0.03165822476148605, 0.04770379140973091, -0.013452243059873581, 0.038600482046604156, 0.011150829493999481, -0.003468903945758939, -0.01485436037182808, 0.00521873589605093, -0.009397598914802074, -0.046723365783691406, -0.0281250961124897, 0.003494017291814089, 0.03170911222696304, -0.03638323023915291, -0.06742392480373383, 0.023750852793455124, -0.0196000374853611, 0.01538865640759468, -0.025666171684861183, 0.0018300670199096203, 0.015456423163414001, -0.014656738378107548, 0.009257135912775993, 0.04090144857764244, -0.03852902352809906, 0.019777679815888405, -0.011822081170976162, 0.0027628159150481224, 0.034036315977573395, 0.0318484902381897, -0.04469658434391022, -0.007845529355108738, -0.010790151543915272, -0.039931803941726685, -0.054142508655786514, -0.03338566794991493, -0.04297877848148346, 0.013621521182358265, 0.02320641092956066, -0.006906616035848856, -0.022869963198900223, -0.02250402234494686, -0.018308736383914948, -0.039285510778427124, 0.024435296654701233, -0.02713790535926819, -0.006060096900910139, 0.03370806947350502, -0.02816421166062355, 0.008545814082026482, -0.00365665671415627, 0.02731696516275406, 0.004143669735640287, -0.022200878709554672, -0.044115033000707626, -0.06302693486213684, 0.025873882696032524, 0.016308095306158066, 0.03836778551340103, -0.011787408962845802, -0.0008888281881809235, -0.029827650636434555, -0.022118663415312767, -0.008477943949401379, 0.009771286509931087, 0.007428644225001335, -0.01152272429317236, 0.01579245924949646, 0.04770204424858093, 0.026239875704050064, 0.03132455796003342, 0.008180679753422737, 0.02252110466361046, 0.056452710181474686, -0.07963089644908905, 0.0008334702579304576, 0.006319355685263872, -0.05594462901353836, 0.020949747413396835, 0.01665477640926838, 0.043184682726860046, -0.04417258873581886, 0.027287175878882408, 0.04125019162893295, 0.01723996177315712, 0.0391634963452816, -0.004313434008508921, 0.044034093618392944, -0.03743869438767433, 0.014894125051796436, -0.07951036840677261, 0.019832175225019455, 0.04866870492696762, 0.027495170012116432, -0.011249818839132786, -0.02919653430581093, -0.033991675823926926, 0.07261002063751221, -0.04489065334200859, -0.024864355102181435, 0.028474431484937668, -0.015720531344413757, -0.01149729173630476, 0.010991840623319149, -0.04919794946908951, 0.049968406558036804, 0.04024868831038475, -0.038916200399398804, -0.039754047989845276, -0.02626614272594452, 0.041545283049345016, 0.02476249262690544, -0.014118406921625137, -0.042717095464468, 0.0021796224173158407, 0.057849813252687454, -0.0024054243694990873, 0.05068334564566612, 0.07255209237337112, -0.028315547853708267, 0.04131932184100151, 0.01209611352533102, -0.0046269893646240234, -0.023726200684905052, -0.009043042548000813, 0.004918423946946859, -0.0771602988243103, 0.04011235758662224, -0.0015736588975414634, -0.027385110035538673, -0.059844791889190674, 0.05615520477294922, -0.006107144523411989, -0.018821481615304947, -0.06097385659813881, 0.001455511199310422, -0.01098557561635971, -0.03428295999765396, -0.01604204811155796, 0.013979780487716198, 0.00020486106222961098, 0.07900901138782501, -0.0017365907551720738, 0.0007803671178407967, 0.06776607781648636, -0.01898069493472576, -0.0008280493202619255, -0.02839735709130764, 0.07241421192884445, 0.059153951704502106, 0.03122795931994915, -0.011894472874701023, 0.06935743987560272, -0.015916744247078896, -0.053348422050476074, 0.043338775634765625, -0.014462288469076157, 0.003871701890602708, -0.016900790855288506, -0.029490331187844276, 0.08607703447341919, -0.015293600037693977, 0.055506013333797455, -0.04397587850689888, 0.0011654580011963844, 0.0044138734228909016, 0.01777915470302105, 0.0014864031691104174, 0.043276213109493256, 0.006854896433651447, 0.009232684969902039, 0.001045645447447896, -0.04362550750374794, 0.03442505747079849, -0.011836877092719078, -0.022618228569626808, 0.021705813705921173, -0.023824192583560944, 0.018231041729450226, -0.01690569519996643, 0.007540156599134207, 0.06482193619012833, -0.0205516554415226, -0.019567638635635376, 0.0220278799533844, 0.014162334613502026, 0.01906961016356945, -0.02869478240609169, -0.012611598707735538, -0.040995314717292786, 0.008328519761562347, -0.002882403554394841, -0.02297557331621647, -0.02407749928534031, -0.030535167083144188, 0.040917862206697464, -0.008577029220759869, 0.04055678844451904, 0.002760559320449829, 0.012211300432682037, -0.04121436923742294, -0.06018689647316933, -0.06649668514728546, -0.007348906248807907, -0.06310903280973434, -0.03240411356091499, 0.022280097007751465, -0.014677505008876324, -0.03827423229813576, -0.05125850811600685, -0.009101617150008678, -0.006312215235084295, 0.04687483608722687, -0.016152193769812584, -0.029753567650914192, 0.027387278154492378, -0.00496608717367053, 0.03698175027966499, 0.03891940414905548, 0.027229398488998413, -0.009236394427716732, -0.02472393587231636, -0.051951393485069275, -0.02318703755736351, 0.03484993800520897, -0.008986679837107658, 0.027591712772846222, -0.07419950515031815, 0.011284740641713142, 0.01162611786276102, 0.007201081141829491, -0.06077742576599121, -0.0022876844741404057, 0.006466511636972427, 0.003981593996286392, 0.05864538997411728, -0.040356386452913284, -0.019003773108124733, -0.001987918745726347, -0.023145001381635666, 0.007129237055778503, 0.05239538475871086, 0.03588061034679413, -0.029585745185613632, 0.06583159416913986, 0.03425905480980873, -0.013841981999576092, -0.03076307289302349, 0.010424278676509857, 0.0055596246384084225, 0.01223108172416687, -0.01935277134180069, -0.005246304906904697, -0.03292420506477356, -0.04063667729496956, 0.010727817192673683, 0.05971647426486015, 0.00022869689564686269, -0.03056236356496811, 0.007549544330686331, 0.03609525039792061, -0.048770785331726074, 0.02290450595319271, -0.040379080921411514, 0.024977412074804306, -0.03739536926150322, -0.020864784717559814, 0.050016049295663834, 0.040556520223617554, -0.007699394598603249, 0.006234916392713785, 0.018994178622961044, -0.05106116086244583, -0.027088230475783348, 0.003469990799203515, 0.017613502219319344, 0.037985797971487045, -0.027826009318232536, 0.012373429723083973 ]
[ -0.0779760330915451, -0.004201072268188, -0.036943115293979645, -0.06435036659240723, 0.02343534678220749, 0.00986667349934578, 0.03306123614311218, 0.0322248674929142, -0.0034412352833896875, -0.029632344841957092, -0.016818810254335403, -0.0010362016037106514, 0.007418067194521427, 0.005336580332368612, 0.10781389474868774, -0.007980764843523502, -0.014155581593513489, -0.05725164711475372, 0.013031717389822006, 0.05818093940615654, 0.053658924996852875, -0.01414416078478098, -0.038277480751276016, 0.003076784312725067, 0.016701051965355873, 0.0034761764109134674, 0.028576841577887535, -0.0035581602714955807, 0.00041243870509788394, -0.19531509280204773, 0.016085846349596977, -0.017310887575149536, 0.02044139802455902, 0.007937749847769737, -0.00026834700838662684, 0.033538736402988434, 0.015915662050247192, 0.012965450063347816, 0.017268385738134384, 0.04149026796221733, 0.0023022396489977837, 0.029320096597075462, 0.003696535713970661, -0.02152721956372261, 0.03400876745581627, -0.03545810654759407, 0.016391905024647713, -0.004602411296218634, -0.02791489288210869, -0.003723529865965247, -0.04850544407963753, -0.026697592809796333, -0.026604751124978065, -0.0016968189738690853, -0.013291938230395317, 0.0036315249744802713, 0.026003265753388405, 0.04428303241729736, 0.0033499551936984062, 0.0669964998960495, 0.030380981042981148, -0.03848860785365105, -0.11703749001026154, 0.11860423535108566, -0.020781084895133972, 0.06881961971521378, -0.025603068992495537, 0.0054837362840771675, 0.029623406007885933, 0.034473832696676254, -0.0074365693144500256, 0.0013843612978234887, -0.033083364367485046, 0.04222488775849342, 0.004123964346945286, -0.007372589781880379, -0.00921702105551958, 0.01891174726188183, 0.03916068375110626, -0.04335886985063553, -0.07106809318065643, -0.004819123074412346, 0.02195780910551548, 0.0027089244686067104, -0.04195201396942139, 0.03502316400408745, 0.0016690866323187947, 0.005389763507992029, 0.0562862791121006, 0.03624168038368225, 0.04489966481924057, -0.026409870013594627, 0.03533786162734032, -0.02060041017830372, -0.08316538482904434, -0.02090248093008995, -0.037113793194293976, -0.038797274231910706, -0.04313879832625389, 0.44478604197502136, -0.01665109023451805, -0.06084365397691727, 0.06075093522667885, 0.026554161682724953, -0.03741733729839325, 0.020241860300302505, -0.01163889653980732, -0.040538158267736435, 0.017859550192952156, -0.01127046998590231, -0.03092363476753235, 0.033878445625305176, -0.010567880235612392, -0.07063012570142746, -0.05276869609951973, 0.0006456153932958841, -0.014381231740117073, 0.029814140871167183, -0.014552715234458447, -0.019601330161094666, 0.0029820739291608334, 0.00885632075369358, 0.018189530819654465, 0.01058268640190363, -0.03286028280854225, -0.021964963525533676, 0.05338103696703911, 0.030363909900188446, 0.022859545424580574, -0.008254531770944595, 0.04569185897707939, -0.01709005981683731, -0.08627902716398239, -0.030362127348780632, 0.022675033658742905, -0.0033251445274800062, 0.030285147950053215, 0.0022687178570777178, -0.002524194773286581, 0.019719323143363, 0.002934179501608014, 0.02068602852523327, 0.013363227248191833, -0.03453405946493149, -0.04222135990858078, 0.09797617793083191, 0.017465082928538322, -0.021124711260199547, -0.054300542920827866, 0.0011331967543810606, -0.010995222255587578, 0.05405993014574051, -0.007888100109994411, -0.022083288058638573, 0.019219407811760902, 0.004809023346751928, 0.055092308670282364, -0.026753416284918785, -0.02150297723710537, -0.04627138003706932, -0.03959747776389122, -0.0014827331760898232, -0.0157478004693985, 0.02705780602991581, 0.02920055016875267, -0.13438844680786133, -0.03576503321528435, 0.029559098184108734, -0.02578098699450493, -0.053606852889060974, -0.03851267695426941, -0.008325145579874516, -0.030560044571757317, -0.004007440526038408, 0.08584573119878769, 0.008692154660820961, -0.05325710400938988, 0.020442580804228783, 0.039210040122270584, 0.03292436525225639, 0.029558129608631134, 0.0010284247109666467, -0.06657743453979492, -0.013265328481793404, -0.01221668254584074, -0.058216314762830734, -0.006723897997289896, -0.01840079389512539, -0.0025096863973885775, -0.035081129521131516, -0.04896625131368637, -0.022390538826584816, -0.0954381451010704, 0.09479495137929916, -0.011504228226840496, -0.01767057180404663, 0.014871155843138695, -0.023810474202036858, 0.022844437509775162, -0.04005919024348259, 0.010808468796312809, 0.06425993889570236, -0.028794702142477036, -0.005807734094560146, -0.08228067308664322, 0.02561149187386036, 0.05840841680765152, -0.025258095934987068, 0.06622683256864548, 0.030644193291664124, -0.08529220521450043, 0.02216354012489319, -0.0011669964296743274, 0.021504037082195282, -0.01653333380818367, 0.00047421653289347887, 0.009835924953222275, 0.0467241071164608, 0.014207196421921253, 0.02619435265660286, -0.03979964181780815, 0.027158470824360847, 0.04998693987727165, -0.3111548125743866, -0.024833830073475838, -0.03148028627038002, -0.016523059457540512, -0.014804952777922153, -0.04152723774313927, 0.00870029628276825, 0.008895205333828926, -0.015231093391776085, -0.033278968185186386, 0.10971270501613617, -0.008481213822960854, 0.014873792417347431, -0.031450506299734116, -0.0011178770801052451, 0.005195264238864183, -0.030125627294182777, -0.05951752886176109, -0.05201217532157898, -0.014650649391114712, -0.0017823640955612063, -0.007434451952576637, 0.019966088235378265, -0.059479109942913055, 0.05402886122465134, -0.06949237734079361, 0.06574796140193939, -0.019288618117570877, 0.10090580582618713, -0.00891846977174282, 0.06767301261425018, 0.028357742354273796, -0.005289481952786446, -0.09237764030694962, -0.0022774511016905308, -0.011722217313945293, -0.03568834438920021, 0.013359928503632545, 0.021504752337932587, -0.010936937294900417, -0.017226561903953552, 0.028327498584985733, -0.03441442549228668, -0.07587951421737671, 0.007905195467174053, -0.00826203916221857, -0.011280013248324394, -0.02204109914600849, -0.04584292694926262, 0.0647677630186081, -0.004664506763219833, -0.027015898376703262, -0.005783429369330406, 0.031347986310720444, -0.03639170527458191, -0.037817325443029404, -0.061565179377794266, -0.001535570714622736, -0.0048506190069019794, 0.014889808371663094, 0.035471804440021515, 0.06308720260858536, 0.05477991700172424, -0.027229437604546547, -0.013223999179899693, 0.004520683083683252, 0.0038650543428957462, -0.022612735629081726, 0.040211211889982224, -0.05443226546049118, -0.03428645431995392, 0.07908689230680466, 0.004929304122924805, 0.004800018854439259, 0.03164692968130112, 0.03404887393116951, -0.0011838128557428718, -0.01007377915084362, 0.033669739961624146, 0.018304763361811638, -0.03701842948794365, 0.004828367382287979, 0.03587249666452408, -0.007422288414090872, 0.0008665815694257617, 0.054377928376197815, -0.0021365624852478504, -0.029894443228840828, 0.07328201085329056, -0.018824497237801552, -0.052964210510253906, -0.005719220731407404, -0.03757559508085251, -0.02336316742002964, 0.0870402455329895, -0.009563643485307693, -0.27555587887763977, 0.02552090585231781, 0.05617699399590492, 0.08407458662986755, -0.00783847738057375, 0.024483945220708847, 0.02143625169992447, -0.058267366141080856, -0.011611930094659328, 0.017968693748116493, 0.06187528371810913, -0.0013586276909336448, 0.03408634662628174, -0.009108846075832844, 0.03640439361333847, 0.014338800683617592, 0.03168029710650444, -0.021593298763036728, 0.04010894522070885, -0.02624412812292576, 0.005318541079759598, -0.018148349598050117, 0.19466359913349152, 0.017550066113471985, 0.0514884777367115, -0.00039883897989057004, 0.043454527854919434, -0.034002624452114105, 0.07379883527755737, 0.03470440208911896, 0.06505927443504333, -0.040013935416936874, 0.08695290982723236, -0.005568408407270908, 0.028304051607847214, -0.08334673941135406, -0.005831724964082241, 0.020298253744840622, -0.0035915980115532875, -0.011265745386481285, -0.018313884735107422, 0.011803003028035164, -0.044622909277677536, 0.03601335734128952, 0.059709228575229645, 0.021784750744700432, -0.033356327563524246, -0.016979599371552467, -0.028321709483861923, 0.00480640958994627, -0.030702676624059677, -0.039394818246364594, -0.009586736559867859, -0.02329741045832634, -0.004895469639450312, 0.015187591314315796, 0.03524502366781235, -0.015729626640677452, -0.013431987725198269, 0.029278704896569252, 0.03917189687490463, 0.046759992837905884, 0.08291647583246231, 0.02663276344537735, 0.023396577686071396 ]
[ -0.01702522486448288, -0.004930827766656876, -0.037217337638139725, 0.014634503051638603, 0.00984142441302538, 0.02936871163547039, 0.03825412690639496, 0.008020676672458649, -0.026195865124464035, -0.002611625473946333, 0.010472065769135952, 0.010814494453370571, 0.03191887214779854, -0.0034339369740337133, 0.02949637919664383, 0.002868784824386239, 0.04453401267528534, -0.025637095794081688, 0.025591881945729256, 0.00794397946447134, -0.007313617039471865, 0.04149939864873886, 0.046139195561409, -0.03576831892132759, -0.018400734290480614, -0.03384428471326828, -0.011136376298964024, -0.030272336676716805, 0.02639969252049923, -0.15527528524398804, 0.047463372349739075, -0.03311030566692352, -0.003828213317319751, 0.008858072571456432, -0.01703171245753765, -0.033384814858436584, 0.052588675171136856, -0.013682985678315163, 0.027282726019620895, -0.011222589761018753, 0.006835202686488628, 0.00003671821832540445, 0.012642696499824524, 0.01078948937356472, 0.036608822643756866, 0.001318854046985507, 0.015674462541937828, -0.03501228243112564, 0.019650021567940712, 0.03072187304496765, -0.007796182297170162, -0.031773507595062256, 0.013084444217383862, 0.02037777192890644, 0.0350225567817688, -0.013527583330869675, -0.02260793372988701, 0.020744066685438156, 0.0020411263685673475, 0.012714789249002934, -0.007695713546127081, -0.0004949632566422224, 0.000436661095591262, -0.024612752720713615, 0.032386139035224915, -0.008727188222110271, -0.01098950207233429, -0.030165812000632286, -0.04494496062397957, -0.027132904157042503, -0.03535221889615059, 0.027278095483779907, -0.01405416987836361, 0.021374300122261047, 0.0021175264846533537, -0.04269992560148239, 0.017324578016996384, 0.006423626560717821, -0.007769390940666199, -0.027339374646544456, -0.009759924374520779, 0.023764172568917274, -0.008740812540054321, 0.03934192284941673, -0.043088898062705994, -0.010208806954324245, 0.0016912127612158656, -0.012058851309120655, 0.03134765848517418, 0.00279669975861907, -0.011613567359745502, 0.04250587150454521, 0.014651150442659855, 0.01586572639644146, -0.06942009180784225, -0.033847831189632416, -0.0125874700024724, -0.03686453774571419, -0.0228570606559515, 0.8312727212905884, -0.03710583969950676, -0.0007782265893183649, 0.05769798159599304, 0.006144560407847166, -0.01450972817838192, -0.0353257916867733, -0.007632269524037838, 0.034082911908626556, -0.0070512378588318825, -0.012516036629676819, 0.03449542075395584, 0.008460372686386108, -0.006873005535453558, 0.0035930199082940817, 0.004759771749377251, 0.00330147473141551, 0.014340212568640709, 0.007458253763616085, -0.037105072289705276, 0.020772024989128113, -0.008890246972441673, -0.005376668181270361, 0.007701038382947445, -0.023080209270119667, 0.0032118551898747683, -0.17409101128578186, 0.038700368255376816, -8.134169645772741e-33, 0.007918739691376686, 0.006242813542485237, 0.01112341322004795, 0.06489910930395126, 0.061510857194662094, 0.009223241358995438, 0.03840705752372742, 0.02138834446668625, 0.012801096774637699, -0.043856360018253326, -0.014313718304038048, -0.01466625276952982, -0.04142501577734947, 0.010254628024995327, 0.00636023934930563, -0.00601297477260232, -0.013430165126919746, 0.0324808806180954, 0.027264585718512535, -0.005576563999056816, 0.018179750069975853, 0.04299117252230644, -0.00605262815952301, -0.03110700659453869, 0.02277548424899578, 0.01999562233686447, 0.001091462792828679, -0.006013935897499323, -0.008480747230350971, -0.029050391167402267, 0.01095020305365324, 0.01821235753595829, -0.03859575465321541, -0.03523532301187515, 0.02124405838549137, -0.033944010734558105, -0.015094278380274773, -0.013319181278347969, -0.03854529187083244, -0.04198916256427765, -0.055648814886808395, -0.031004631891846657, -0.01383019145578146, 0.024662768468260765, -0.045172881335020065, -0.03266453370451927, 0.014164161868393421, 0.029264070093631744, 0.015420438721776009, 0.008327005431056023, -0.011139845475554466, 0.02027042582631111, 0.02537226676940918, -0.01056611631065607, -0.01729237101972103, -0.009078532457351685, -0.0442703478038311, 0.020412294194102287, -0.014132690615952015, -0.00747829582542181, 0.023285165429115295, -0.013984768651425838, -0.03400936722755432, 0.017830638214945793, -0.04463699460029602, 0.0009234768222086132, 0.023721113801002502, -0.019484952092170715, 0.07317125052213669, -0.04199551045894623, -0.06188821420073509, -0.017134860157966614, 0.012953619472682476, -0.003916270099580288, -0.0006660851649940014, -0.026669878512620926, -0.00637159263715148, 0.051976528018713, 0.04928718879818916, 0.04179314896464348, 0.01266933511942625, -0.01593651808798313, 0.045661810785532, -0.011248413473367691, -0.0027050774078816175, -0.007749360986053944, 0.016395853832364082, -0.023440953344106674, 0.009917760267853737, 0.0037710631731897593, 0.00887391809374094, 0.023126274347305298, 0.008521921001374722, -0.001968356315046549, 0.021206282079219818, 7.780450905982837e-33, -0.01095009595155716, -0.052053678780794144, -0.029162542894482613, 0.01301796268671751, 0.014750299975275993, -0.03747936338186264, 0.017076363787055016, 0.02604118175804615, -0.0579601526260376, -0.004641535226255655, -0.00866003055125475, 0.02418782189488411, -0.044324684888124466, 0.005888605490326881, 0.03392573073506355, -0.04382157698273659, -0.00020998377294745296, -0.019173717126250267, 0.029460739344358444, -0.006651352625340223, -0.0010790745727717876, 0.015357330441474915, 0.04571710154414177, -0.003455613274127245, 0.016127891838550568, 0.05744444951415062, -0.02632237784564495, 0.02515428513288498, -0.00859829131513834, 0.020912811160087585, -0.016666017472743988, 0.007346381898969412, 0.021714450791478157, -0.023176362738013268, -0.020661529153585434, -0.01602151058614254, -0.028549794107675552, 0.02372242510318756, 0.0273891631513834, 0.013528386130928993, 0.022912269458174706, -0.02803410403430462, 0.009740861132740974, -0.004625327885150909, 0.030611267313361168, 0.002784376498311758, -0.007507250178605318, -0.03865326568484306, 0.013024188578128815, 0.037845809012651443, 0.006211059633642435, 0.035403747111558914, -0.012770096771419048, 0.015017662197351456, 0.030506795272231102, -0.018064433708786964, -0.02369319088757038, -0.019541794434189796, -0.005685222800821066, 0.01650925911962986, 0.025209063664078712, 0.02154114656150341, -0.001985993469133973, 0.05407939478754997, -0.014579747803509235, -0.02482496201992035, -0.01022718008607626, -0.0006605750531889498, 0.029733536764979362, 0.015623457729816437, 0.000658437900710851, -0.057030804455280304, 0.010861729271709919, 0.006345405243337154, 0.007247024215757847, -0.02414095401763916, 0.028997348621487617, 0.019951989874243736, -0.02357514202594757, 0.002062617801129818, -0.01159774512052536, -0.029562190175056458, 0.01688237115740776, 0.023715361952781677, 0.0008130789501592517, 0.021048394963145256, -0.03828958794474602, -0.04234402999281883, -0.009823056869208813, -0.010237217880785465, -0.030017726123332977, 0.012662858702242374, -0.01424503792077303, 0.010111656971275806, -0.036350637674331665, -1.313746977871233e-8, -0.021644053980708122, 0.02120811678469181, -0.006587906740605831, 0.015848232433199883, 0.03399822488427162, 0.014976760372519493, -0.059627700597047806, -0.046772900968790054, -0.0037792108487337828, 0.023284941911697388, -0.0180752445012331, -0.025965237990021706, -0.015570680610835552, 0.005754259880632162, 0.03859753906726837, -0.04526364803314209, -0.02268494851887226, -0.023249147459864616, 0.0028481709305197, 0.0033118685241788626, 0.036136239767074585, 0.031532738357782364, 0.0019982035737484694, -0.007499422412365675, 0.03224945440888405, 0.017229031771421432, -0.01986653171479702, -0.0668376162648201, 0.011656288057565689, 0.06750831007957458, 0.0048889578320086, -0.03307882696390152, -0.07827023416757584, 0.011804865673184395, -0.02900066040456295, 0.00038756575668230653, 0.0056865280494093895, -0.005709928460419178, 0.011290293186903, 0.010964258573949337, 0.03266916424036026, 0.017234772443771362, 0.02987203374505043, 0.0021619689650833607, 0.005691341124475002, 0.016904735937714577, -0.012803363613784313, 0.006955786608159542, 0.03106919676065445, -0.007229304872453213, -0.031237628310918808, -0.004527240060269833, -0.006632339209318161, 0.003357385750859976, -0.0072967614978551865, 0.012356779538094997, 0.029051976278424263, -0.014545576646924019, -0.021727876737713814, 0.02240694686770439, 0.03976266458630562, -0.011210673488676548, -0.028562655672430992, -0.008197953924536705 ]
coding-role-based-interfaces
https://markhneedham.com/blog/2009/10/18/coding-role-based-interfaces
false
2009-10-11 14:49:21
Pair Programming: API exploration
[ "pair-programming" ]
[ "Pair Programming" ]
A colleague and I were working on some code a couple of weeks ago which mostly revolved around investigating the C# reflection API to work out which methods we needed to use. My colleague was driving while we were doing this and our progress seemed very much based on intuition about the API rather than being gradual. In fact it was quite similar to one of the situations in which Uncle Bob suggests http://blog.objectmentor.com/articles/2009/10/08/tdd-triage[TDD doesn't work so well]: ____ \... I need the freedom to fiddle around with the formatting and the structure until everything is just the way I want it. Trying to do that fiddling with TDD is futile. Once I have the page the way I like it, then I'll write some tests that make sure the templates work as written. ____ My colleague was fiddling around with the code trying to work out what combination of methods we needed to call and I was struggling a bit to get involved through no fault of my colleague. He was http://www.markhneedham.com/blog/2009/08/24/pair-programming-keeping-both-people-engaged/[describing what he was doing] but for a lot of the time what we tried didn't work and then suddenly it worked. It all seemed a bit magical to me! At this stage we decided to refactor the code and thought that it would might be useful for me to do that refactoring so that I could explain my understanding of the code my colleague had just written and see if I had followed what he'd been doing. I was able to extract out methods correctly most of the time but there were a couple of places where I hadn't quite understood what was happening so this approach allowed my colleague to explain it to me. My initial thinking when we started doing this coding was that perhaps it wasn't suitable for pairing because it's quite exploratory but it seemed to work out reasonably well and my understanding of reflection is now slightly better thanks to my colleague's explanations.
null
null
[ 0.037108033895492554, -0.016192635521292686, -0.021481214091181755, 0.04052787646651268, 0.0710422471165657, 0.02116524986922741, 0.026532001793384552, 0.02594086341559887, 0.018693136051297188, -0.02047782950103283, -0.0019855424761772156, 0.010336634702980518, -0.06448438763618469, -0.005970428232103586, -0.026407020166516304, 0.07065627723932266, 0.07900939881801605, -0.03989989683032036, 0.02262228913605213, 0.0035520726814866066, 0.027256309986114502, 0.07457481324672699, 0.0034856386482715607, 0.03662869334220886, 0.02926083467900753, 0.03411538153886795, 0.01625845581293106, -0.0075039733201265335, -0.06972857564687729, -0.00951133668422699, 0.04294964298605919, 0.008970334194600582, 0.017760442569851875, -0.005802472587674856, 0.009156540967524052, -0.012453419156372547, -0.0016479701735079288, 0.01561373844742775, 0.01178062055259943, 0.0020212167873978615, -0.07194065302610397, 0.04345036298036575, -0.02051420509815216, 0.016361529007554054, -0.0452035516500473, 0.018831145018339157, -0.022685877978801727, -0.01717420108616352, -0.022546356543898582, -0.01943867839872837, -0.05462024360895157, 0.030123386532068253, -0.013699044473469257, 0.0057754903100430965, -0.014387208968400955, 0.0750519186258316, 0.03120877593755722, -0.08223318308591843, 0.013247577473521233, -0.041512101888656616, -0.017973247915506363, -0.010774143040180206, 0.01736706681549549, 0.043384432792663574, 0.03653735667467117, -0.0014162653824314475, -0.003598761511966586, 0.041158098727464676, -0.041658755391836166, 0.01468613836914301, -0.01669814996421337, -0.012074612081050873, -0.03276556357741356, -0.011783016845583916, 0.006951516028493643, -0.03165575861930847, -0.003193632233887911, 0.058215972036123276, 0.003974486142396927, 0.03877604752779007, -0.016549358144402504, 0.02057148516178131, 0.00782780535519123, 0.012406283989548683, 0.021961607038974762, -0.03378915786743164, -0.0023498963564634323, -0.005791936069726944, -0.037843793630599976, 0.05532610043883324, 0.022855622693896294, -0.0443883091211319, 0.001051369123160839, 0.04476325586438179, 0.0030667902901768684, 0.011938360519707203, 0.025927450507879257, 0.00432252511382103, -0.01081562414765358, -0.005920893047004938, -0.007600443437695503, -0.02080225571990013, 0.019867852330207825, 0.01958015188574791, -0.07858619093894958, 0.006261606700718403, -0.03186272829771042, -0.0304439477622509, -0.004192936699837446, 0.016027234494686127, -0.0347856804728508, 0.025159426033496857, -0.02798023261129856, 0.004021668341010809, -0.0718771442770958, 0.06417316943407059, 0.017422180622816086, -0.013185149990022182, -0.021396728232502937, 0.015728428959846497, 0.03146917372941971, 0.02996417135000229, 0.005977845750749111, 0.08114555478096008, 0.012387668713927269, 0.04116492345929146, -0.0526929572224617, 0.061318084597587585, -0.015235726721584797, -0.06057371944189072, -0.015187988989055157, 0.0337592251598835, -0.026902327314019203, 0.0025326539762318134, 0.0024033780209720135, -0.04592825844883919, -0.009259420447051525, -0.01229025423526764, 0.014748542569577694, 0.04885390028357506, -0.0377424955368042, -0.045430928468704224, 0.0331551730632782, -0.00905652530491352, -0.010570244863629341, 0.021860094740986824, 0.004018873441964388, -0.0036846434231847525, -0.016740571707487106, 0.022363176569342613, 0.017448341473937035, 0.04122466221451759, 0.022223733365535736, -0.0379425473511219, 0.0246108565479517, 0.07415024191141129, 0.00484002660959959, 0.03054017387330532, -0.0069207665510475636, 0.04004187509417534, 0.039461251348257065, 0.03932259604334831, 0.002115858718752861, 0.02793416567146778, 0.01152979675680399, 0.006780976429581642, -0.012193135917186737, 0.03485926613211632, 0.0024211243726313114, 0.017791353166103363, -0.06032213568687439, -0.03553980961441994, 0.04624057188630104, -0.04958171397447586, -0.017279068008065224, 0.04743317887187004, 0.07758816331624985, 0.0043640416115522385, 0.04889117553830147, 0.012238352559506893, -0.07541517168283463, 0.007427371572703123, 0.01509208045899868, 0.005489245057106018, 0.01050792820751667, -0.008813745342195034, 0.06837977468967438, 0.0319347009062767, -0.0210102628916502, 0.035797592252492905, -0.07112351804971695, -0.09308715909719467, -0.041556015610694885, -0.029738368466496468, 0.06072661653161049, -0.03637531399726868, 0.004209441132843494, 0.07011120021343231, 0.022495752200484276, 0.06527640670537949, 0.0325399711728096, -0.008479613810777664, 0.017950817942619324, -0.017632123082876205, -0.033264126628637314, 0.04967648535966873, 0.05918259173631668, -0.00042326084803789854, -0.05826259031891823, 0.0034925350919365883, -0.010299386456608772, -0.007218012120574713, 0.043914154171943665, -0.017334140837192535, 0.0322691835463047, 0.019613996148109436, 0.05134245380759239, -0.018802247941493988, 0.06329090893268585, -0.06831192970275879, -0.000689207052346319, -0.015071121044456959, -0.017969923093914986, 0.013742021284997463, -0.008396699093282223, 0.11725834012031555, 0.05609909072518349, -0.051958270370960236, -0.033683571964502335, 0.012000533752143383, 0.013564222492277622, -0.03725270554423332, -0.018524110317230225, -0.027645187452435493, 0.0042555308900773525, 0.014359375461935997, -0.07669862359762192, -0.02247859351336956, 0.014375905506312847, -0.044687557965517044, 0.02410239726305008, 0.05823742225766182, -0.01441255770623684, 0.04444071277976036, -0.0008081605192273855, -0.028314439579844475, 0.0038265055045485497, -0.007994994521141052, -0.05704730004072189, 0.029687516391277313, 0.029219796881079674, -0.03186050057411194, 0.05886174365878105, -0.022417549043893814, -0.034538134932518005, -0.034105077385902405, -0.029349682852625847, 0.0015901904553174973, 0.03175261989235878, 0.07661270350217819, -0.013522768393158913, 0.05708630383014679, -0.007941563613712788, 0.014636036939918995, 0.01778564229607582, -0.055373623967170715, -0.02236885204911232, -0.002930036513134837, 0.015169497579336166, 0.048804908990859985, -0.0036752948071807623, 0.01985403522849083, 0.025327280163764954, 0.004318637307733297, -0.03321526199579239, -0.029947012662887573, 0.045956969261169434, 0.011788208968937397, -0.034858111292123795, -0.026274221017956734, -0.04018847271800041, 0.03613605350255966, -0.04589080810546875, -0.040613096207380295, 0.01435022335499525, -0.08351534605026245, 0.050410546362400055, -0.0782676711678505, -0.06093361973762512, 0.010118185542523861, 0.032444581389427185, 0.048614583909511566, -0.00530026201158762, 0.016734441742300987, 0.08018972724676132, 0.0026148755569010973, 0.011329161003232002, -0.024987073615193367, 0.006256981287151575, 0.01724180020391941, -0.002866301452741027, -0.009931420907378197, 0.026229673996567726, 0.010652244091033936, 0.0086821923032403, -0.057884331792593, 0.04336228966712952, -0.006461474113166332, -0.2817440629005432, 0.02885407581925392, 0.021773049607872963, -0.0486014261841774, 0.0400838740170002, 0.0003403927548788488, 0.020016271620988846, -0.04954643175005913, -0.005151285324245691, 0.03202866390347481, -0.045680344104766846, -0.03999243676662445, -0.02069864049553871, 0.060165345668792725, -0.012538920156657696, 0.011822047643363476, 0.016179898753762245, -0.03670494630932808, 0.02679997682571411, 0.0632486417889595, -0.006953001953661442, -0.0674605444073677, -0.004854428116232157, 0.04333438351750374, 0.023829953745007515, 0.04225252941250801, -0.08485042303800583, 0.04411569982767105, -0.04875486344099045, -0.005218643695116043, 0.008283481001853943, 0.01822444424033165, 0.010393095202744007, -0.04688786715269089, -0.01636565290391445, -0.012793326750397682, 0.031773023307323456, 0.005674568470567465, 0.0076202647760510445, 0.012937492690980434, -0.030345920473337173, -0.05238155648112297, -0.014270354062318802, -0.003096700180321932, 0.07356800884008408, -0.001555615453980863, -0.054725486785173416, -0.02153601683676243, -0.04221668839454651, 0.07685038447380066, -0.03846943378448486, -0.023605216294527054, 0.0065239425748586655, 0.028786571696400642, -0.01454988680779934, -0.057844873517751694, 0.02039223723113537, -0.011718159541487694, -0.04449761286377907, -0.036778248846530914, -0.019957048818469048, -0.045806169509887695, 0.008859183639287949, -0.058215368539094925, 0.01672084629535675, -0.058905672281980515, -0.04769697040319443, -0.014819435775279999, 0.06476576626300812, 0.02890540286898613, -0.012990523129701614, 0.011294299736618996, 0.005696204025298357, -0.11043186485767365, -0.00024467005277983844, -0.026081183925271034, -0.013783170841634274, -0.038285285234451294, 0.004660170525312424, 0.048108264803886414, -0.0302945077419281, -0.048299260437488556, 0.02975310944020748, 0.010546647012233734, 0.029870381578803062, 0.017544012516736984, 0.03638077154755592, 0.00995803251862526, -0.045463114976882935, 0.02185763604938984, 0.07748356461524963, 0.008544509299099445, -0.02591080032289028, -0.028863366693258286, 0.037956755608320236, 0.03014065884053707, 0.03766964375972748, -0.0023767140228301287, 0.016887739300727844, 0.017694847658276558, 0.024393856525421143, -0.06077592819929123, 0.05417577922344208, -0.018117766827344894, 0.0003589681873563677, -0.03772874176502228, -0.05902571231126785, 0.02058275416493416, 0.02083381824195385, 0.03886520117521286, -0.01262726355344057, -0.02553553320467472, -0.010047702118754387, -0.030605120584368706, -0.021478639915585518, -0.014495808631181717, 0.0127236507833004, 0.03745359182357788, -0.024836260825395584, -0.002349270973354578, -0.06917059421539307, -0.0006255945772863925, 0.009701002389192581, 0.001860676216892898, -0.0673561841249466, -0.04788248986005783, -0.012536056339740753, -0.026430202648043633, 0.022235197946429253, 0.04913778975605965, -0.003944586496800184, 0.0361240915954113, 0.011877777986228466, -0.042989812791347504, 0.0047881267964839935, -0.0036726139951497316, -0.0497615784406662, -0.02135656774044037, -0.01476411335170269, -0.005645019002258778, -0.0028203828260302544, 0.005998582579195499, 0.005734550300985575, 0.018574915826320648, 0.04968762397766113, -0.0030019585974514484, 0.019128667190670967, -0.0240210872143507, 0.004175908863544464, 0.022074971348047256, 0.011969814077019691, -0.07054717093706131, 0.0189005546271801, -0.057948336005210876, -0.02617337368428707, -0.027689557522535324, 0.027891209349036217, -0.019897744059562683, -0.03989469259977341, -0.016008879989385605, 0.010093927383422852, -0.052786268293857574, -0.03168175369501114, -0.05110451579093933, 0.017673514783382416, 0.052827294915914536, -0.04384059086441994, 0.025177881121635437, -0.019710687920451164, -0.028122039511799812, -0.009651373140513897, 0.022976893931627274, -0.03685705363750458, 0.03412351384758949, 0.010226443409919739, -0.001278974930755794, 0.00027648909599520266, 0.0006114476127550006, 0.03935402259230614, 0.015734730288386345, 0.005397928413003683, -0.03147515282034874, 0.019354546442627907, 0.0037360042333602905, 0.061158958822488785, 0.0009708969155326486, 0.014280683360993862, -0.00965955015271902, -0.015372250229120255, 0.002734915353357792, -0.03273429349064827, -0.020839106291532516, 0.012086311355233192, 0.05846875533461571, -0.044632136821746826, -0.07398679107427597, 0.042493369430303574, 0.027390388771891594, 0.006551165133714676, 0.0007548735593445599, -0.0034499471075832844, 0.008235668763518333, -0.02250024303793907, 0.046829044818878174, 0.04982443153858185, -0.05676433816552162, 0.006125785876065493, -0.011397221125662327, 0.012132929638028145, 0.016893835738301277, 0.0072943647392094135, -0.03715983033180237, -0.03420805558562279, -0.03630613908171654, -0.006513640284538269, -0.052043616771698, -0.02438553236424923, -0.01958288811147213, 0.01444676797837019, -0.0029921638779342175, -0.03540991619229317, -0.012201342731714249, -0.007641972973942757, -0.022999338805675507, -0.018798386678099632, 0.004678547382354736, -0.04013114422559738, 0.007908803410828114, -0.006184374447911978, -0.04254577308893204, -0.005349113140255213, -0.011446488089859486, 0.02653397060930729, 0.022674759849905968, -0.030293481424450874, -0.06181192770600319, -0.022193975746631622, -0.005575136747211218, 0.0005626024212688208, 0.035455357283353806, -0.007664069999009371, -0.031605314463377, -0.026393353939056396, -0.0339510440826416, -0.04259532317519188, 0.03072177805006504, -0.017458122223615646, -0.03423347324132919, 0.03971656784415245, 0.05096958950161934, 0.023592092096805573, 0.049579448997974396, -0.005015688948333263, -0.0184522345662117, 0.06281314045190811, -0.07244092226028442, -0.01507131289690733, -0.04876784607768059, -0.0689813569188118, 0.0036472450010478497, 0.0032769101671874523, 0.005435817874968052, -0.0375489816069603, 0.028357461094856262, 0.014053290709853172, 0.023839686065912247, 0.049484141170978546, 0.010187330655753613, 0.05355608090758324, -0.053959403187036514, 0.006690778769552708, -0.07100054621696472, 0.014961769804358482, 0.04303150251507759, 0.008444640785455704, -0.017772158607840538, -0.01709367334842682, -0.03420828655362129, 0.04721338301897049, -0.06376368552446365, -0.023856813088059425, 0.031139932572841644, 0.006375252269208431, -0.012152844108641148, -0.011183689348399639, -0.0516267865896225, 0.034862566739320755, 0.03247746452689171, -0.029377056285738945, -0.039491213858127594, -0.031022612005472183, 0.045276056975126266, 0.03457221761345863, 0.01169491931796074, -0.02649272233247757, 0.0032732493709772825, 0.06665507704019547, 0.025918055325746536, 0.031536754220724106, 0.043954212218523026, -0.025561507791280746, 0.04056931287050247, 0.010521406307816505, -0.012540855444967747, -0.027890175580978394, 0.020470067858695984, 0.0029710130766034126, -0.045782554894685745, 0.02479984052479267, 0.015068020671606064, -0.0451471246778965, -0.03803367540240288, 0.05220652371644974, 0.031097987666726112, -0.02291465364396572, -0.033726099878549576, -0.003913071937859058, -0.07486342638731003, -0.021339548751711845, -0.007000799290835857, 0.0033872383646667004, -0.023100068792700768, 0.05786152556538582, 0.010521842166781425, -0.010262363590300083, 0.061085738241672516, 0.0032602804712951183, -0.011280748061835766, -0.04024358093738556, 0.08207391947507858, 0.062586210668087, 0.05839546397328377, -0.0034812982194125652, 0.046159688383340836, -0.028240345418453217, -0.046132177114486694, 0.0337604284286499, -0.00561662670224905, -0.007948789745569229, -0.02147347666323185, 0.022278809919953346, 0.06999415904283524, 0.023087456822395325, 0.05150561034679413, -0.030438490211963654, 0.0002876609214581549, -0.020907418802380562, 0.021616404876112938, 0.026465032249689102, 0.07385793328285217, 0.00677092419937253, 0.006996247451752424, 0.013550289906561375, -0.054090067744255066, 0.03123972937464714, -0.04505094140768051, -0.006329979281872511, 0.024156834930181503, -0.008246981538832188, 0.024434726685285568, 0.014472494833171368, 0.02826489508152008, 0.0644005686044693, -0.024574419483542442, 0.006532022263854742, -0.014297579415142536, 0.03181081265211105, 0.000664910301566124, -0.016569996252655983, -0.021341601386666298, -0.030332054942846298, -0.00403229147195816, -0.02097107283771038, -0.009140105918049812, -0.038368288427591324, -0.03392161428928375, 0.04936440289020538, -0.017584310844540596, 0.0002629728987812996, 0.02333764173090458, 0.048179514706134796, -0.03616020083427429, -0.07360716164112091, -0.05509844049811363, -0.03906935453414917, -0.023754898458719254, -0.03295889496803284, 0.030838172882795334, 0.010760276578366756, -0.03401599079370499, -0.006378864403814077, -0.029975689947605133, -0.016057360917329788, 0.0686623603105545, -0.03834524378180504, -0.04175649210810661, 0.03618636727333069, 0.02041621133685112, 0.0513882115483284, 0.0041209678165614605, 0.024600235745310783, -0.0036513779778033495, 0.018694644793868065, -0.042498353868722916, -0.017176495864987373, 0.03369466960430145, 0.010886701755225658, 0.006948097608983517, -0.08792480826377869, 0.002017140621319413, 0.025506576523184776, 0.004934476688504219, -0.0705985277891159, 0.027520209550857544, -0.001866515725851059, -0.009231923148036003, 0.04350442811846733, -0.04007626324892044, 0.00822153314948082, -0.012714771553874016, 0.00397335272282362, 0.012733475305140018, 0.02953767031431198, 0.03875153139233589, -0.02129567787051201, 0.0795409232378006, -0.00006694600597256795, -0.01821172423660755, -0.0372023768723011, 0.00672883540391922, 0.009607949294149876, -0.003724986221641302, -0.021577760577201843, -0.033922310918569565, -0.012654140591621399, -0.05331648513674736, -0.013562389649450779, 0.0233178548514843, -0.02671305276453495, -0.03990817815065384, 0.017456915229558945, 0.026780007407069206, -0.06514452397823334, 0.030194738879799843, -0.049913302063941956, 0.050411589443683624, -0.019610924646258354, -0.008556981571018696, 0.018002383410930634, -0.015913356095552444, -0.019594036042690277, 0.005725748371332884, 0.023286692798137665, -0.03160708397626877, -0.01557239517569542, 0.01165078952908516, 0.028029518201947212, 0.030359551310539246, 0.001645394368097186, -0.002041796687990427 ]
[ -0.11389319598674774, 0.00791536271572113, -0.046708982437849045, -0.02391853928565979, 0.023937296122312546, -0.05479990690946579, 0.005644131917506456, 0.02335992641746998, -0.012768256478011608, -0.04482189193367958, -0.010325921699404716, -0.020285088568925858, 0.0014412623131647706, -0.0002999255957547575, 0.09460719674825668, 0.028171256184577942, -0.009845555759966373, -0.03460385650396347, 0.005726843141019344, 0.017283231019973755, 0.023688020184636116, -0.03701930493116379, -0.06005153805017471, -0.017938775941729546, 0.007801264990121126, 0.050800029188394547, 0.03429174795746803, -0.06781775504350662, 0.025089118629693985, -0.19562554359436035, 0.009134507738053799, 0.0038885422982275486, 0.031140733510255814, -0.005738288629800081, 0.012785783968865871, 0.04975965619087219, 0.009594420902431011, 0.02976270020008087, -0.0177280455827713, 0.04461992532014847, 0.001399007742293179, 0.02455904521048069, -0.0708782821893692, -0.031038280576467514, 0.030752230435609818, 0.009985735639929771, -0.007673076819628477, -0.02055612951517105, -0.0007572235772386193, 0.01578507386147976, -0.07824984937906265, -0.038552869111299515, -0.0201894398778677, -0.036650072783231735, -0.020642271265387535, 0.04548622667789459, 0.03306468203663826, 0.07976942509412766, 0.005645656492561102, 0.04013107344508171, 0.011075997725129128, -0.021597033366560936, -0.1265450119972229, 0.09802314639091492, 0.0519082248210907, 0.05716182664036751, -0.01562885381281376, -0.0354517325758934, 0.007723013870418072, 0.09132595360279083, 0.02552865818142891, -0.022376803681254387, -0.0169413723051548, 0.0445978082716465, 0.02909262850880623, -0.026360172778367996, -0.00852840393781662, 0.02570226415991783, 0.04270268976688385, -0.045445531606674194, -0.042408380657434464, -0.009185578674077988, 0.008463499136269093, -0.00615007383748889, -0.02745448797941208, 0.029216276481747627, -0.022188255563378334, 0.04470675438642502, 0.05416340008378029, 0.027961965650320053, 0.05403218790888786, -0.021769382059574127, 0.012405001558363438, -0.012131018564105034, -0.09350714832544327, -0.01981821469962597, 0.012498130090534687, 0.00536847161129117, -0.04026573896408081, 0.4405781924724579, -0.04379722476005554, -0.041565489023923874, 0.07689107954502106, 0.031162040308117867, -0.031374506652355194, 0.009375197812914848, 0.02257891558110714, -0.05351657047867775, 0.013058841228485107, -0.0435769148170948, 0.011886565014719963, 0.005898491945117712, 0.026226088404655457, -0.04599285125732422, 0.006614738143980503, 0.02918674424290657, 0.03079277276992798, 0.002360996324568987, -0.012390198186039925, -0.005572075955569744, 0.0028751646168529987, -0.001930158818140626, 0.02594519592821598, 0.016177382320165634, -0.004107963759452105, -0.03709268942475319, 0.02692921832203865, 0.04956826567649841, 0.03458694741129875, 0.02550576440989971, 0.06902332603931427, -0.0415034182369709, -0.06093449518084526, -0.00838393997400999, -0.0030227969400584698, 0.005338594317436218, 0.03635811060667038, -0.04696424677968025, 0.0031631463207304478, 0.020449019968509674, 0.020469103008508682, -0.017710473388433456, 0.012821577489376068, 0.00011654795525828376, -0.01549538318067789, 0.12214861065149307, -0.017255496233701706, -0.019670382142066956, -0.007874811068177223, -0.020616622641682625, 0.0067553953267633915, 0.03137115761637688, -0.02779877930879593, -0.0643807202577591, 0.022920746356248856, 0.002599401632323861, 0.08185369521379471, -0.013631357811391354, -0.0346863679587841, 0.010012011975049973, -0.02498261258006096, -0.02718469873070717, -0.06584886461496353, 0.03362429887056351, 0.05445133522152901, -0.09249958395957947, -0.01329224742949009, 0.005771114956587553, 0.048389650881290436, -0.06791745126247406, 0.004337489604949951, 0.019612347707152367, -0.029529498890042305, -0.01697603613138199, 0.03536062315106392, -0.005888083949685097, -0.05407649651169777, 0.005399930290877819, 0.0481204129755497, 0.013390030711889267, 0.005806283093988895, 0.017226966097950935, -0.052653420716524124, 0.018129315227270126, -0.021437576040625572, -0.07105475664138794, -0.024130264297127724, -0.0016974782338365912, -0.0319073311984539, -0.01982859894633293, -0.009111834689974785, -0.04925544932484627, -0.09728094935417175, 0.08103656023740768, -0.047211360186338425, -0.02504466101527214, 0.04354820400476456, -0.0016728409100323915, -0.0144005436450243, 0.0024228438269346952, -0.010007125325500965, 0.020226947963237762, -0.030030202120542526, 0.06032056361436844, -0.05731116980314255, 0.040597330778837204, 0.03363259509205818, -0.044709738343954086, 0.0839964970946312, 0.05928204208612442, -0.01022699661552906, -0.043470654636621475, 0.015759199857711792, 0.014925369992852211, 0.010702401399612427, -0.023761741816997528, -0.007959633134305477, 0.02430480532348156, 0.002510219579562545, 0.04373372346162796, -0.02942931093275547, -0.024860795587301254, -0.004429819528013468, -0.31927090883255005, -0.034136202186346054, -0.0337437205016613, -0.010629096068441868, 0.017083050683140755, -0.08943785727024078, 0.014626668766140938, -0.00007650759653188288, -0.053209107369184494, -0.018606914207339287, 0.07766101509332657, 0.003392032813280821, 0.0012154491851106286, -0.10989449918270111, -0.006922480650246143, 0.015692953020334244, -0.029521312564611435, -0.025743456557393074, -0.03920393064618111, 0.01635858602821827, 0.00048583693569526076, 0.009587107226252556, -0.029777824878692627, -0.04613380506634712, 0.026802081614732742, -0.04458993673324585, 0.10024283081293106, -0.008469916880130768, 0.118458092212677, 0.00007613634807057679, 0.03135719522833824, -0.020207038149237633, 0.01848921738564968, -0.10512809455394745, -0.0012447217013686895, -0.002734409412369132, 0.005505359265953302, -0.033567044883966446, 0.05893033370375633, -0.044843658804893494, -0.046557482331991196, 0.006009786389768124, -0.058350011706352234, -0.04289165511727333, -0.0516287162899971, 0.013952920213341713, -0.03750476986169815, -0.02298494055867195, -0.019180752336978912, 0.10325915366411209, 0.0007988261058926582, -0.01659967005252838, 0.012333753518760204, 0.02027926780283451, -0.007195427548140287, -0.015919750556349754, -0.09056086093187332, 0.011783033609390259, 0.0004957156488671899, -0.008303215727210045, 0.02578030526638031, 0.07454677671194077, 0.01881072297692299, -0.053064681589603424, -0.008766422979533672, 0.026997877284884453, 0.004434161353856325, -0.00794895924627781, 0.04283982142806053, -0.029797302559018135, -0.01189368311315775, 0.08125656098127365, -0.02135380357503891, -0.011477631516754627, 0.01251341961324215, 0.040584128350019455, -0.023976856842637062, 0.013507967814803123, 0.023837871849536896, -0.01290164701640606, 0.024504609405994415, -0.003613728331401944, 0.03624030575156212, -0.03961983323097229, -0.0002787159173749387, 0.015251685865223408, -0.012659580446779728, -0.011034335941076279, 0.03965555131435394, -0.017904143780469894, -0.01793859712779522, -0.005778130609542131, 0.008558176457881927, -0.054427918046712875, 0.08789554983377457, -0.01351642794907093, -0.2570975720882416, 0.008266755379736423, 0.07826675474643707, 0.06211017072200775, -0.0229042936116457, 0.02561780996620655, 0.03594665974378586, -0.052629757672548294, -0.015147916972637177, -0.010867076925933361, 0.016509346663951874, 0.035263366997241974, -0.0014516039518639445, 0.004658951424062252, 0.04336300492286682, -0.006390065886080265, 0.033598195761442184, -0.0011034886119887233, 0.0004924749955534935, -0.003788743866607547, 0.004369644448161125, 0.00016169410082511604, 0.1594392955303192, 0.005943131633102894, 0.046303536742925644, 0.002560833701863885, 0.008450238965451717, 0.02138848416507244, 0.09149212390184402, 0.01280298177152872, 0.0006828178884461522, -0.0001532014284748584, 0.04645693302154541, 0.012700622901320457, 0.029833029955625534, -0.10499971359968185, -0.00961828138679266, 0.03727557510137558, 0.02207944355905056, 0.012826978228986263, 0.019548853859305382, 0.013083373196423054, -0.020861713215708733, 0.005122579634189606, 0.07666618376970291, 0.03516644984483719, 0.0029575079679489136, -0.02653433009982109, -0.05175215005874634, -0.011286321096122265, -0.0409291572868824, -0.020919209346175194, 0.011827145703136921, -0.021534156054258347, 0.009698181413114071, 0.061986975371837616, -0.000141829252243042, -0.009479458443820477, -0.03135509043931961, 0.017740540206432343, 0.004114755894988775, -0.004427540116012096, 0.09689046442508698, 0.023044072091579437, 0.040091622620821 ]
[ -0.043170664459466934, -0.0036487276665866375, -0.004875661339610815, -0.021387984976172447, -0.038827672600746155, 0.024622386321425438, -0.0273686945438385, 0.004401295445859432, -0.013175319880247116, 0.0064008464105427265, -0.01954665780067444, 0.026787590235471725, -0.000016758940546424128, -0.009725244715809822, 0.012817032635211945, -0.01641995459794998, -0.0017299832543358207, -0.005286358296871185, 0.03188154473900795, 0.01876080594956875, -0.024655207991600037, 0.012758597731590271, -0.032955944538116455, -0.028438886627554893, 0.006042528431862593, -0.016344349831342697, 0.013919931836426258, -0.051391810178756714, 0.025050487369298935, -0.09857118874788284, -0.03665570542216301, -0.007267822045832872, -0.039792969822883606, 0.018007006496191025, -0.0025114568416029215, -0.008418784476816654, 0.007506705820560455, 0.023726141080260277, 0.01852770335972309, -0.02058444730937481, -0.023271039128303528, -0.04288041964173317, -0.01912827230989933, 0.010029464028775692, -0.004601325374096632, -0.020717931911349297, -0.016468897461891174, -0.03718159347772598, -0.015671495348215103, -0.04452822357416153, -0.02145620621740818, 0.01465054601430893, -0.011237704195082188, -0.013683033175766468, 0.01813570410013199, -0.03388640657067299, 0.034456197172403336, 0.001396142179146409, -0.008922606706619263, -0.0026084494311362505, -0.019002512097358704, -0.011734931729733944, -0.02472895383834839, -0.021064676344394684, -0.03379467874765396, -0.017307085916399956, -0.03590947762131691, 0.015132749453186989, 0.007591655012220144, -0.006141886115074158, -0.03787975013256073, 0.015567676164209843, -0.014176267199218273, -0.008377652615308762, 0.011350385844707489, -0.0144550371915102, 0.006748788990080357, -0.04323572665452957, 0.0021561256144195795, -0.02850889228284359, -0.027165252715349197, 0.03743794560432434, 0.02577722631394863, 0.04155968874692917, 0.02437913604080677, 0.010295944288372993, -0.011071333661675453, 0.011853909119963646, -0.0014568703481927514, 0.016739297658205032, 0.012175127863883972, 0.03761040419340134, -0.0018332285108044744, 0.018709586933255196, -0.09743204712867737, 0.004338045138865709, 0.008469621650874615, -0.028824498876929283, -0.010236188769340515, 0.8625832796096802, -0.018654976040124893, 0.05424779653549194, 0.029388999566435814, 0.01734410971403122, -0.011260753497481346, -0.00146605318877846, 0.03554566577076912, -0.0015214966842904687, 0.017923085018992424, -0.05024131387472153, 0.029000038281083107, 0.007090255618095398, -0.00400203000754118, 0.00038872211007401347, -0.010823610238730907, 0.018630705773830414, 0.006586363073438406, -0.00799262523651123, 0.023949306458234787, -0.0029591545462608337, 0.017465148121118546, -0.003545797197148204, -0.022461997345089912, 0.05536526069045067, 0.020098209381103516, -0.16482560336589813, 0.031063666567206383, -7.905875418531606e-33, 0.056609202176332474, 0.03244435414671898, -0.01726517081260681, 0.004817789886146784, 0.01671733893454075, 0.00250872690230608, 0.02745146118104458, -0.003913240507245064, -0.008728642016649246, -0.03494754433631897, 0.019607415422797203, -0.02430378645658493, 0.006889523472636938, -0.008081390522420406, 0.020626410841941833, 0.005625865422189236, -0.026236526668071747, 0.05184405669569969, -0.04769807308912277, -0.002000796841457486, 0.010173472575843334, 0.023103974759578705, 0.005143166985362768, 0.014329822733998299, 0.01779148541390896, -0.001604582415893674, -0.030420146882534027, 0.05701294541358948, 0.0015418513212352991, -0.04589594900608063, -0.02098645269870758, 0.0070991115644574165, -0.012693420052528381, 0.01777603104710579, 0.010707669891417027, -0.02497359924018383, 0.004985049366950989, -0.010320079512894154, -0.045711029320955276, -0.013401220552623272, -0.01804131641983986, 0.024099744856357574, -0.027238061651587486, -0.027905581519007683, -0.011052178218960762, -0.03528640419244766, -0.0028949331026524305, 0.033047035336494446, -0.004265656229108572, -0.04588310793042183, 0.02619776874780655, 0.05294528976082802, -0.017926791682839394, 0.0027203941717743874, -0.006864593364298344, 0.01889270357787609, -0.002961705205962062, -0.007934567518532276, 0.022076595574617386, 0.02738526649773121, 0.03383862227201462, -0.02449190616607666, -0.025067077949643135, 0.021529264748096466, -0.010370814241468906, -0.019083542749285698, -0.03029121831059456, -0.027466604486107826, 0.034173231571912766, -0.01486208289861679, -0.04172884300351143, 0.025815393775701523, 0.01796911284327507, -0.009636149741709232, 0.03722101449966431, -0.0004105644766241312, 0.02218596264719963, -0.011468467302620411, 0.007572787348181009, 0.00007590754830744117, 0.01791602559387684, 0.011939245276153088, -0.011682254262268543, -0.05036664754152298, -0.020171988755464554, -0.010962111875414848, -0.0032620655838400126, -0.03315170854330063, -0.01604527421295643, 0.017156468704342842, 0.02698584832251072, 0.008240088820457458, -0.023709772154688835, -0.02596665546298027, -0.029380254447460175, 7.367213213790955e-33, -0.010142181999981403, 0.0066875978372991085, -0.013681720942258835, -0.017390554770827293, 0.031037328764796257, -0.035206619650125504, 0.0038367093075066805, 0.000003951235612476012, -0.03304938226938248, 0.024613458663225174, 0.010424613952636719, -0.015362665988504887, -0.020817197859287262, 0.041975539177656174, 0.036073602735996246, 0.007274589966982603, 0.02648230269551277, -0.0169079452753067, 0.011229773052036762, 0.0026455847546458244, 0.032010890543460846, -0.0032171111088246107, 0.047193773090839386, 0.009751922450959682, 0.011085395701229572, 0.04733803868293762, -0.02776719629764557, 0.018533533439040184, 0.02096630074083805, 0.0034176993649452925, 0.0066830734722316265, -0.02708328142762184, 0.03501957654953003, -0.019195348024368286, -0.0035511169116944075, 0.0579926036298275, -0.01796475611627102, -0.016339724883437157, 0.0163979884237051, 0.00622094701975584, 0.025545349344611168, -0.017475837841629982, -0.0069534364156425, 0.03706727176904678, 0.01609174534678459, -0.0017413962632417679, 0.02211694046854973, -0.005001014098525047, -0.025068582966923714, 0.0034404797479510307, 0.040407683700323105, 0.016825754195451736, 0.01238526776432991, -0.0008540159906260669, 0.007462486624717712, -0.00869420450180769, 0.00645860843360424, 0.027874667197465897, 0.0036057783290743828, 0.01241330336779356, 0.014897340908646584, 0.015803078189492226, -0.0381283201277256, 0.009697921574115753, -0.001168843824416399, -0.010049677453935146, -0.03286455199122429, -0.003115391591563821, -0.014682848006486893, 0.004701257683336735, -0.04100954905152321, -0.010348978452384472, -0.004029489122331142, 0.023483391851186752, 0.01990644447505474, -0.04485524445772171, -0.024992456659674644, 0.0009489834774285555, -0.02945875935256481, 0.01746063306927681, 0.006408189423382282, -0.008614376187324524, 0.04324725270271301, 0.014938687905669212, -0.036588553339242935, 0.038349639624357224, -0.0025856702122837305, 0.04288114607334137, -0.009245337918400764, 0.00555486511439085, -0.048217225819826126, 0.009642111137509346, 0.013324893079698086, 0.030399855226278305, 0.017717178910970688, -1.3339774618259526e-8, -0.004404777195304632, 0.023631736636161804, -0.01673179492354393, -0.008594744838774204, 0.0013714153319597244, 0.026916682720184326, 0.003405222902074456, -0.016263313591480255, -0.026863083243370056, 0.0035915710031986237, -0.006794787012040615, 0.0037103916984051466, -0.009432910941541195, 0.005021757911890745, 0.04336041584610939, -0.04678094759583473, -0.025983018800616264, -0.052921079099178314, 0.01107571367174387, 0.02192162163555622, 0.0066755120642483234, 0.038985155522823334, -0.03548358753323555, 0.03280895948410034, -0.020518632605671883, 0.01939362846314907, 0.02436714619398117, -0.06671544909477234, -0.019453413784503937, 0.031066598370671272, 0.011056768707931042, -0.009758612141013145, -0.028975147753953934, 0.031459081918001175, -0.019214872270822525, -0.012070919387042522, 0.008608732372522354, 0.006895643658936024, 0.023016812279820442, 0.010225595906376839, -0.006386089604347944, 0.018573900684714317, -0.03045492433011532, -0.010318698361515999, 0.007834350690245628, -0.014282473362982273, -0.036659497767686844, -0.031242001801729202, -0.0041376519948244095, -0.027634406462311745, 0.016633298248052597, -0.010727358050644398, -0.013077645562589169, 0.022550417110323906, 0.0057805730029940605, 0.01882198266685009, -0.0027204386424273252, -0.015921857208013535, -0.003695467719808221, -0.014364868402481079, 0.019553618505597115, 0.05326252058148384, -0.00012299053196329623, -0.014883956871926785 ]
pair-programming-api-exploration
https://markhneedham.com/blog/2009/10/11/pair-programming-api-exploration
false
2009-10-29 23:06:35
Coding: Consistency when invariant checking
[ "coding" ]
[ "Coding" ]
I wrote a while ago about http://www.markhneedham.com/blog/2009/02/14/coding-assertions-in-constructors/[reading the ASP.NET MVC source code and noticing that it makes use of code inside its constructors to ensure that null values can't be passed in] and while I'm still not convinced this is the way to go I think if we do take this approach then we need to ensure we do so consistently. Something which happens quite often is that you'll come across code which makes use of defensive programming in one of its constructors like so: [source,java] ---- public class SomeObject { public SomeObject(Dependency1 valueOne, Dependency2 valueTwo) { AssertThat.isNotNull(valueOne); AssertThat.isNotNull(valueTwo); // and so on } } ---- This is fine in itself but you'll often find another constructor defined close by which looks like this: [source,java] ---- public class SomeObject { public SomeObject(Dependency1 valueOne, Dependency2 valueTwo) { this.valueOne = null; this.valueTwo = null; } } ---- Depending which constructor you use the outcome is quite different and you probably wouldn't expect the default constructor to allow nulls seeing as the other one prevents you from doing this. This inconsistency can happen for a variety of reasons. == Test only constructor It might be a http://www.markhneedham.com/blog/2009/09/12/tdd-test-only-constructors/[test only constructor] which is not intended to be called in production case. It's much easier to get an object under test if we don't have to supply any parameters. In that case though we're testing the object constructed in a much different state than it will be when we really use it so the value of this type of testing is questionable. It's probably best to look why we need that test only constructor and see if we can change the code so that we can avoid that problem. == An implicit domain concept Another reason is that the original pre condition of the object might have changed and now it isn't always the case that we need to provide 'Dependency1' and 'Dependency2'. In this case I think it would make more sense to make that more explicit, perhaps by making use of the http://www.markhneedham.com/blog/2008/08/16/null-handling-strategies/[null object pattern] or by finding another abstraction which doesn't require nulls to be passed around. Either way we should probably look to ensure that both constructors either ignore nulls or both stop them from being set. == Didn't realise pre conditions were being checked Although this one might seem a bit far fetched it's pretty easy for this to be the case if there are different people working on the code base. Someone might glance at the class, see that it doesn't quite allow them to construct the object the way they want and create another constructor without realising the way the original one was working. In this case talking more about the way that we're solving this type of problem across the code base should be enough to ensure that we get some kind of consistency.
null
null
[ 0.0017502683913335204, -0.01651664637029171, -0.02733028680086136, 0.037337273359298706, 0.07178697735071182, 0.0012586707016453147, 0.04958967864513397, 0.01936550997197628, -0.004524679854512215, -0.02446785569190979, -0.02722093276679516, 0.004369357600808144, -0.06988071650266647, 0.01317819207906723, -0.04519845172762871, 0.06757251173257828, 0.07760941237211227, -0.024843459948897362, 0.03832558915019035, -0.0064605604857206345, 0.008766306564211845, 0.03625170513987541, 0.0010197797091677785, 0.03264707699418068, 0.04539826884865761, 0.031534068286418915, 0.010513274930417538, 0.01494055986404419, -0.060673538595438004, -0.01915506087243557, 0.03682762384414673, 0.02925390563905239, -0.0030488416086882353, 0.011932856403291225, -0.011427260935306549, -0.010516203008592129, 0.003205542918294668, 0.027445662766695023, 0.004806604236364365, 0.022564459592103958, -0.07472912967205048, 0.021565092727541924, 0.0002718763134907931, 0.012134190648794174, -0.044157881289720535, -0.01685788296163082, -0.028187807649374008, 0.010740317404270172, -0.01378299668431282, 0.0025940712075680494, -0.08400555700063705, 0.04461353272199631, -0.029037021100521088, 0.025893794372677803, -0.019291266798973083, 0.05016647279262543, 0.03575517237186432, -0.07923398166894913, 0.02642861381173134, -0.08879680186510086, 0.02388789877295494, 0.0062912749126553535, -0.007430117577314377, 0.014831298030912876, 0.018767403438687325, 0.018474599346518517, -0.004391124937683344, 0.04367505759000778, -0.0502590537071228, -0.015563232824206352, -0.012316245585680008, -0.010778596624732018, -0.02441178634762764, -0.00667806901037693, 0.015531102195382118, -0.03143404796719551, -0.023907292634248734, 0.033082906156778336, 0.005476401653140783, 0.033420249819755554, -0.014660525135695934, -0.021968591958284378, 0.031978778541088104, -0.005712839774787426, 0.01052113063633442, -0.02994626574218273, -0.0013783132890239358, -0.00988845806568861, -0.03393582999706268, 0.06557250022888184, 0.024632105603814125, -0.013813251629471779, 0.015074147842824459, 0.031768325716257095, 0.000611431198194623, 0.008273416198790073, 0.039698194712400436, -0.019546283408999443, 0.017258016392588615, -0.007922249846160412, -0.008386397734284401, -0.02521861344575882, 0.03025185689330101, 0.003482075175270438, -0.07194292545318604, -0.009700130671262741, -0.020942391827702522, -0.014914101921021938, -0.010507154278457165, 0.025578375905752182, -0.05491543933749199, 0.0340651236474514, -0.02185140736401081, -0.00986712146550417, -0.07709035277366638, 0.04706350713968277, 0.0010319167049601674, -0.002924777800217271, -0.01161167211830616, 0.05972158908843994, 0.023973213508725166, -0.0015522983158007264, -0.00040579825872555375, 0.07646004855632782, 0.019034311175346375, 0.047056894749403, -0.029824987053871155, 0.0685432180762291, -0.013339780271053314, -0.061173807829618454, 0.0031843155156821012, 0.04255261644721031, -0.003856278955936432, 0.015398208051919937, 0.00607027392834425, -0.023887261748313904, -0.011034038849174976, -0.005700421053916216, 0.03131217136979103, 0.04002813622355461, -0.045052532106637955, -0.04288073256611824, 0.023972991853952408, 0.0061301011592149734, 0.012813141569495201, 0.009161293506622314, 0.0006659222417511046, -0.008782219141721725, -0.0013151535531505942, 0.027235591784119606, 0.01884881593286991, 0.04901346191763878, 0.05820039287209511, -0.040612854063510895, 0.005235905293375254, 0.06308247894048691, -0.006477684248238802, 0.028071746230125427, 0.0030083463061600924, 0.04616484418511391, 0.05900828540325165, 0.014025220647454262, -0.008403288200497627, 0.05453101545572281, 0.018399765715003014, 0.016690781340003014, -0.008179574273526669, 0.030456237494945526, -0.005244341678917408, -0.032804958522319794, -0.061128489673137665, -0.06624101102352142, 0.06443396955728531, -0.06273715198040009, -0.018687432631850243, 0.03234151750802994, 0.06310513615608215, -0.016513848677277565, 0.08657466620206833, -0.004474662709981203, -0.07470200210809708, 0.01745947264134884, 0.013437194749712944, 0.0019498997135087848, 0.027831153944134712, 0.008534095250070095, 0.05963520705699921, 0.01792004331946373, -0.0027010603807866573, 0.03180544450879097, -0.061306409537792206, -0.06954498589038849, -0.006036391947418451, -0.017362624406814575, 0.06556230038404465, -0.024924755096435547, -0.018739236518740654, 0.08829085528850555, 0.019546989351511, 0.03660339489579201, 0.039432626217603683, -0.010224767960608006, 0.003527989611029625, -0.01652204804122448, -0.02129535935819149, 0.058262817561626434, 0.041049059480428696, 0.0077053215354681015, -0.048648588359355927, 0.00896595697849989, -0.026017004624009132, -0.01731245033442974, 0.025434913113713264, -0.004093795549124479, 0.03326033428311348, 0.005592852830886841, 0.0367056205868721, -0.04084290191531181, 0.07653741538524628, -0.07591038942337036, 0.029003944247961044, -0.00718682399019599, -0.0018918657442554832, -0.00987558625638485, -0.0031111803837120533, 0.12577112019062042, 0.04053911566734314, -0.03989671915769577, -0.0346657894551754, 0.044992633163928986, 0.0070835077203810215, -0.03869107365608215, 0.01405974943190813, -0.0069037810899317265, 0.0063379076309502125, 0.011668260209262371, -0.029073351994156837, 0.008904754184186459, 0.016022609546780586, -0.01943291164934635, 0.04820666089653969, 0.06816872954368591, -0.03138337284326553, 0.04357022047042847, -0.021473662927746773, -0.03319469466805458, 0.0036785120610147715, -0.02977953851222992, -0.07857992500066757, -0.00488697737455368, 0.012333285994827747, -0.021020235493779182, 0.05264456942677498, -0.01692962646484375, -0.03651478886604309, -0.02329554781317711, -0.06615707278251648, 0.014995325356721878, 0.01854257471859455, 0.07229591906070709, -0.005476586055010557, 0.0507010854780674, -0.006330125965178013, 0.003481159918010235, -0.007021279539912939, -0.05095082148909569, -0.003130186116322875, 0.019703438505530357, 0.010389579460024834, 0.053154658526182175, 0.0026189822237938643, 0.009747789241373539, 0.03195449709892273, 0.026684995740652084, -0.025900788605213165, 0.0053376005962491035, 0.016816535964608192, 0.0033653490245342255, -0.013374648056924343, -0.02284863404929638, -0.053020354360342026, 0.02837880700826645, -0.02925967052578926, -0.04038279876112938, 0.025542404502630234, -0.08865998685359955, 0.04075346514582634, -0.08111930638551712, -0.07482248544692993, 0.025908149778842926, 0.03768942877650261, 0.013971787877380848, -0.011819829232990742, 0.02455233410000801, 0.10165417194366455, 0.010726980865001678, 0.005086477380245924, 0.015908971428871155, 0.0038037667982280254, 0.024567842483520508, -0.00889715738594532, 0.004905694629997015, 0.03184797987341881, 0.009830518625676632, 0.0007320893928408623, -0.02143878862261772, 0.023058678954839706, -0.01032482460141182, -0.2662890553474426, 0.024304764345288277, -0.013220143504440784, -0.05978440120816231, 0.03672337159514427, -0.010006033815443516, 0.036215584725141525, -0.051178667694330215, -0.04617515206336975, 0.06721022725105286, -0.033170435577631, -0.048118267208337784, -0.014549131505191326, 0.05315723642706871, -0.025767523795366287, -0.007240164093673229, 0.024237453937530518, -0.0030030161142349243, 0.012019285000860691, 0.05156391113996506, -0.022320521995425224, -0.06455738097429276, 0.0023774115834385157, 0.03944671154022217, 0.03995508328080177, 0.05776982381939888, -0.09030226618051529, 0.06626144796609879, -0.04082672297954559, 0.005524650681763887, -0.00659074867144227, -0.007484722416847944, -0.0036998670548200607, -0.060855984687805176, -0.023645766079425812, -0.010298333130776882, 0.010300809517502785, 0.030697589740157127, -0.020949888974428177, 0.027038414031267166, -0.04023570194840431, -0.04628865048289299, -0.02104409784078598, 0.007481170818209648, 0.05197318270802498, -0.018046783283352852, -0.0720200315117836, -0.0038961926475167274, -0.035199396312236786, 0.059983983635902405, -0.05079183727502823, -0.025606459006667137, -0.0036075429525226355, 0.02545151673257351, -0.028136122971773148, -0.035350631922483444, 0.0007333994726650417, -0.011462944559752941, -0.03169548511505127, -0.03318352624773979, -0.012110628187656403, -0.03610646352171898, -0.018867487087845802, -0.05106808990240097, -0.0097653204575181, -0.07835893332958221, -0.04770216718316078, -0.008575504645705223, 0.07135691493749619, 0.029882820323109627, -0.021974043920636177, 0.0069389608688652515, 0.0076478333212435246, -0.11571752279996872, 0.015428709797561169, -0.03486117348074913, -0.02774183265864849, -0.04481402412056923, -0.023387674242258072, 0.05319049209356308, -0.027287021279335022, -0.04336685314774513, 0.039200689643621445, 0.02317347377538681, 0.0064352089539170265, -0.011906574480235577, 0.03458693251013756, 0.025393417105078697, -0.015463444404304028, 0.012143785133957863, 0.08226986229419708, 0.007650283630937338, -0.007569009438157082, -0.05528700724244118, 0.00896469783037901, 0.030564509332180023, 0.030461648479104042, -0.01715266704559326, 0.01772933639585972, 0.013369299471378326, 0.023744190111756325, -0.051033664494752884, 0.05284498259425163, -0.028585437685251236, -0.001697041210718453, -0.01634972169995308, -0.04718201607465744, 0.055341608822345734, 0.02370281331241131, 0.014022043906152248, -0.021758945658802986, -0.04299173131585121, -0.010030348785221577, -0.04635554924607277, -0.04692709073424339, -0.029027093201875687, -0.014032584615051746, 0.025394616648554802, -0.03763710334897041, -0.0336541086435318, -0.03898989409208298, 0.008112523704767227, 0.006782602518796921, -0.004009856376796961, -0.06888771057128906, -0.0389135479927063, -0.0040135919116437435, -0.030289694666862488, 0.0013402861077338457, 0.02239127829670906, -0.009319677948951721, 0.06129484996199608, 0.018660398200154305, -0.029937027022242546, -0.004569014068692923, 0.0008140829158946872, -0.01749926619231701, -0.024219496175646782, -0.020956553518772125, -0.03724737465381622, 0.01724255084991455, -0.0027593662962317467, 0.012114320881664753, 0.003551390953361988, 0.033643532544374466, -0.002152804983779788, 0.026452144607901573, 0.001135722384788096, -0.0035444730892777443, 0.009130703285336494, 0.022909222170710564, -0.08224233984947205, 0.04541122168302536, -0.019889753311872482, -0.05170128121972084, -0.04445655643939972, 0.03787507861852646, -0.019279249012470245, -0.044957149773836136, -0.021032150834798813, 0.0229223370552063, -0.05836419016122818, -0.023116759955883026, -0.03810565546154976, 0.015695851296186447, 0.059153806418180466, -0.01092052087187767, 0.04463818669319153, -0.015393482521176338, -0.034465495496988297, -0.0010099594946950674, -0.004009537398815155, -0.037270113825798035, 0.028242474421858788, 0.008789985440671444, -0.0064203012734651566, -0.01603361964225769, 0.01334149669855833, 0.033240463584661484, 0.019765783101320267, 0.00012174298171885312, -0.002978608710691333, 0.010773622430860996, 0.017607159912586212, 0.025088565424084663, -0.020971903577446938, 0.014028881676495075, -0.014944269321858883, -0.02163391001522541, -0.006531534716486931, -0.03917618468403816, -0.05462385714054108, -0.006168209481984377, 0.05406714230775833, -0.03629946708679199, -0.06966020911931992, 0.027215734124183655, 0.004690888803452253, 0.040262412279844284, 0.027486629784107208, 0.014192046597599983, -0.004463494289666414, -0.03762852028012276, 0.03960152715444565, 0.057623520493507385, -0.04907701164484024, 0.020983204245567322, 0.005416844040155411, 0.01141867320984602, 0.03174358606338501, -0.0007732989615760744, -0.056180182844400406, -0.020217113196849823, -0.014766383916139603, 0.0010365237249061465, -0.06056644022464752, -0.03011276200413704, -0.03313041850924492, 0.013226297684013844, -0.007040085736662149, -0.006013281177729368, 0.0062232897616922855, -0.0012287411373108625, -0.02714388631284237, -0.03278505057096481, 0.008941053412854671, -0.02054417133331299, 0.01003975234925747, 0.035482920706272125, -0.05190984532237053, 0.005638506263494492, -0.0002830014855135232, 0.03729300573468208, 0.027289260178804398, -0.005339066032320261, -0.03431973233819008, -0.03437262028455734, 0.005005281418561935, -0.009500089101493359, 0.03695100545883179, 0.029209107160568237, -0.02564070373773575, -0.016023706644773483, -0.007827107794582844, -0.021597258746623993, 0.026176758110523224, -0.005767026916146278, -0.013632978312671185, 0.0441107377409935, 0.06213602423667908, 0.03241630643606186, 0.02580166794359684, -0.006537554319947958, 0.009040607139468193, 0.08508831262588501, -0.05500639230012894, -0.01274420227855444, -0.023612268269062042, -0.0658530741930008, 0.020148180425167084, 0.027327707037329674, 0.02233346737921238, -0.027981042861938477, 0.03891240060329437, 0.02378779463469982, 0.006000309716910124, 0.023102181032299995, 0.021554283797740936, 0.06564997136592865, -0.07083841413259506, -0.005978882312774658, -0.08134526759386063, 0.02946609817445278, 0.0439080148935318, 0.0139515595510602, -0.017186585813760757, -0.04324626177549362, -0.025221623480319977, 0.021379653364419937, -0.06095396354794502, -0.022043174132704735, 0.029161157086491585, 0.0027473755180835724, -0.018440203741192818, 0.013239854015409946, -0.04763840511441231, 0.020027251914143562, 0.027586573734879494, -0.026477454230189323, -0.03575151041150093, -0.04046639800071716, 0.03897416219115257, 0.03576174005866051, -0.017609262838959694, -0.040738608688116074, 0.024410272017121315, 0.07011834532022476, 0.032204415649175644, 0.04531154781579971, 0.02718842774629593, -0.04108935594558716, 0.03628735989332199, 0.04144062101840973, -0.00547157134860754, -0.00902531947940588, 0.00011032711336156353, 0.010059927590191364, -0.07481520622968674, -0.004253007471561432, 0.013573624193668365, -0.04017234966158867, -0.043922994285821915, 0.046383682638406754, 0.021354615688323975, -0.017186783254146576, -0.03685128688812256, -0.02338230051100254, -0.047396887093782425, -0.05280761420726776, -0.015642313286662102, -0.00166885566432029, -0.03008582442998886, 0.06516855955123901, 0.013953538611531258, -0.009554313495755196, 0.0631258562207222, -0.005642728414386511, -0.03660187870264053, -0.018506886437535286, 0.09156414121389389, 0.10154950618743896, 0.02108016423881054, -0.011996437795460224, 0.056020136922597885, -0.004434081260114908, -0.05286016687750816, 0.04784224554896355, -0.03155915439128876, -0.012585354037582874, -0.022554319351911545, 0.01027756743133068, 0.05384829267859459, -0.0013853766722604632, 0.048689574003219604, -0.044928859919309616, 0.009407714009284973, 0.014750503934919834, 0.03747117146849632, 0.011640956625342369, 0.04728289321064949, 0.0005272602429613471, -0.0031872482504695654, 0.017867863178253174, -0.0443924218416214, 0.00035838704206980765, -0.023341981694102287, -0.004345097113400698, 0.0057288650423288345, -0.0033235871233046055, -0.004440762102603912, 0.004731966648250818, 0.028157994151115417, 0.06473696976900101, -0.02683163993060589, 0.011793949641287327, -0.001000331831164658, 0.010898662731051445, 0.015245414339005947, -0.019336165860295296, -0.008063270710408688, -0.017080094665288925, -0.004834950435906649, -0.0013457275927066803, -0.001468330156058073, -0.022700026631355286, -0.013330275192856789, 0.0351833812892437, 0.0018699796637520194, 0.02480248361825943, 0.01425569411367178, 0.012996631674468517, -0.004825647454708815, -0.07337547093629837, -0.03298135846853256, -0.03819660842418671, -0.07047984004020691, -0.022033579647541046, 0.03678351640701294, -0.014449198730289936, -0.03167891502380371, -0.039403777569532394, -0.023304037749767303, -0.021099822595715523, 0.04763549193739891, -0.026160184293985367, -0.025739794597029686, 0.0415569432079792, 0.017163552343845367, 0.03636261820793152, 0.035591837018728256, 0.013243012130260468, -0.0018553189001977444, -0.016208568587899208, -0.032722197473049164, -0.002314713317900896, 0.026036761701107025, -0.005839263554662466, 0.011062528938055038, -0.06985889375209808, 0.012628038413822651, 0.02455449290573597, -0.016164017841219902, -0.06572450697422028, 0.007304923143237829, -0.0006869973731227219, -0.018295791000127792, 0.04293712228536606, -0.017887771129608154, -0.0025478920433670282, -0.020894723013043404, -0.009249626658856869, 0.017752496525645256, 0.03155672922730446, 0.042442649602890015, -0.013924793340265751, 0.060557279735803604, 0.02743854746222496, -0.03505915775895119, -0.021557729691267014, 0.005491369403898716, -0.026327379047870636, 0.01644025929272175, -0.02945985086262226, -0.04305950552225113, -0.03592986613512039, -0.06300786882638931, -0.014237516559660435, 0.011682041920721531, -0.01740674115717411, -0.04259489104151726, 0.012342927977442741, 0.037341825664043427, -0.058425262570381165, 0.03444935381412506, -0.020286714658141136, 0.05319339409470558, -0.03078443557024002, -0.011487334966659546, 0.03322865068912506, 0.020422425121068954, 0.004168391227722168, 0.005028661340475082, 0.02992497943341732, -0.04732478782534599, -0.0280662439763546, -0.0161888487637043, 0.03630472347140312, 0.06367417424917221, -0.013679463416337967, -0.003799155820161104 ]
[ -0.11346392333507538, 0.03175977244973183, -0.06720386445522308, -0.02764223702251911, 0.010840910486876965, -0.026676557958126068, 0.045608583837747574, 0.004945022985339165, -0.00402877340093255, -0.03747687488794327, 0.0036201775074005127, -0.03944341838359833, -0.029336243867874146, 0.028494901955127716, 0.07656770199537277, 0.010950441472232342, -0.04570760577917099, -0.026374369859695435, 0.019001543521881104, 0.016041554510593414, 0.0612519234418869, -0.033957500010728836, -0.0008416258497163653, -0.05060088634490967, 0.030026540160179138, 0.03957349807024002, 0.05593729764223099, -0.018856454640626907, 0.024087131023406982, -0.19144272804260254, -0.04994260519742966, -0.0621446892619133, 0.01279880665242672, -0.028557348996400833, -0.03179699555039406, 0.007438266184180975, 0.017413005232810974, 0.024129802361130714, 0.019101539626717567, 0.04914996400475502, -0.024229109287261963, 0.04267971217632294, -0.033196400851011276, -0.03978319466114044, -0.01441950537264347, 0.010447015054523945, 0.007218478247523308, -0.051699575036764145, 0.0080026313662529, 0.0036649408284574747, -0.04053984582424164, -0.03454423323273659, 0.003550466848537326, -0.03758137673139572, -0.01262378878891468, -0.020405057817697525, 0.048114195466041565, 0.08269097656011581, 0.011491409502923489, 0.02775750122964382, 0.010102576576173306, -0.034818004816770554, -0.11755429953336716, 0.08121055364608765, 0.055142588913440704, 0.07044573873281479, -0.0029548746533691883, -0.023959366604685783, -0.017185291275382042, 0.08380801230669022, 0.07900784909725189, 0.0037027797661721706, -0.009243384934961796, 0.05148262158036232, 0.039455387741327286, -0.0255826935172081, 0.0071238018572330475, 0.039610590785741806, 0.07182259857654572, -0.023368678987026215, -0.03888639062643051, -0.0516330748796463, 0.02154262363910675, 0.0052932207472622395, -0.015931781381368637, 0.012932062149047852, 0.03591851890087128, -0.007191272918134928, 0.04806750267744064, 0.051036641001701355, 0.010636704973876476, -0.013147854246199131, 0.04396233335137367, 0.03445935249328613, -0.06501933187246323, 0.0013564552646130323, -0.03581691533327103, -0.008886730298399925, -0.04819817468523979, 0.3767634332180023, -0.0629490539431572, -0.006476097274571657, 0.010913765989243984, 0.03203551098704338, -0.04477839544415474, 0.023757826536893845, 0.020160606130957603, -0.04564627259969711, 0.021752800792455673, -0.028222909197211266, -0.024202601984143257, -0.014817285351455212, -0.0006498174625448883, -0.03699610382318497, -0.05499504879117012, 0.007828650064766407, 0.05588379129767418, -0.030605057254433632, -0.005751731339842081, 0.02482452429831028, 0.006669101305305958, -0.012447237968444824, 0.006393477786332369, 0.020271413028240204, 0.013458272442221642, -0.0437501035630703, -0.006395111791789532, 0.061831824481487274, 0.03903926908969879, -0.01218501664698124, 0.03157186135649681, -0.06348828971385956, -0.08828987181186676, 0.0017804942326620221, 0.027202334254980087, 0.007436233107000589, 0.020405931398272514, 0.008806640282273293, -0.0008234276319853961, 0.006938409525901079, -0.01585560292005539, -0.022022899240255356, 0.028835052624344826, -0.02461952343583107, -0.0793929174542427, 0.061176810413599014, -0.012194913811981678, -0.0008092448697425425, -0.018996620550751686, -0.04458264261484146, 0.014495832845568657, 0.029876017943024635, -0.020099835470318794, -0.04308846965432167, 0.018141567707061768, 0.020706214010715485, 0.020387887954711914, -0.019817616790533066, -0.0564153753221035, -0.07123612612485886, -0.03222542628645897, 0.015542925335466862, -0.058319445699453354, 0.0568995364010334, 0.0226912684738636, -0.052771907299757004, -0.051739029586315155, -0.017882036045193672, 0.01881207339465618, -0.06536849588155746, -0.006392873357981443, 0.05211317911744118, -0.02550681307911873, -0.06952031701803207, 0.05129283294081688, 0.005058516748249531, -0.022765783593058586, 0.024360261857509613, 0.011007312685251236, 0.0647435113787651, 0.03116920404136181, -0.01909138821065426, -0.05087549611926079, 0.030505221337080002, 0.010572596453130245, -0.05639372020959854, -0.03967355191707611, -0.016091620549559593, -0.020254315808415413, -0.02007514238357544, -0.058940500020980835, -0.029199576005339622, -0.10414203256368637, 0.0879654660820961, -0.015216764993965626, 0.0048317331820726395, 0.039869848638772964, 0.007249400019645691, -0.024034807458519936, 0.015136202797293663, 0.03128557279706001, 0.0666917935013771, 0.009975972585380077, 0.046168483793735504, -0.05047091096639633, 0.08534184843301773, 0.06768850982189178, -0.0663873627781868, 0.048016469925642014, 0.036184586584568024, -0.07225042581558228, -0.019756130874156952, -0.0046792770735919476, 0.02597678452730179, 0.004075717646628618, -0.01056011114269495, 0.02201681211590767, 0.0444195531308651, 0.0181631688028574, 0.03440795838832855, -0.06678558140993118, -0.014717147685587406, 0.021830370649695396, -0.33089447021484375, -0.02727772295475006, -0.03179173544049263, -0.026352500542998314, 0.020592374727129936, -0.05667712166905403, -0.0027061779983341694, -0.01373094879090786, -0.021518409252166748, -0.05191768333315849, 0.06581290811300278, -0.018027430400252342, 0.008989128284156322, -0.08189740777015686, -0.008702486753463745, 0.003392180660739541, -0.04790199548006058, -0.06439987570047379, -0.0329667292535305, 0.0017984607256948948, -0.032182179391384125, 0.009397834539413452, 0.027543941512703896, -0.09126877784729004, 0.030332501977682114, -0.04325903207063675, 0.08066712319850922, -0.02155548520386219, 0.1012735664844513, -0.04636172205209732, 0.05798092111945152, 0.015978200361132622, 0.003456070087850094, -0.09133508056402206, 0.013028397224843502, -0.05754570662975311, -0.08993840962648392, -0.007761571556329727, 0.04483921453356743, 0.022874971851706505, 0.021626003086566925, 0.01065707765519619, -0.037360064685344696, -0.06929849088191986, 0.008877069689333439, -0.04014716297388077, 0.008445926941931248, -0.0039613861590623856, -0.0024995647836476564, 0.07507585734128952, -0.020243259146809578, -0.017073487862944603, 0.02227790839970112, 0.06371958553791046, 0.020059149712324142, -0.021400149911642075, -0.054378971457481384, -0.000801825663074851, 0.011847120709717274, 0.05719015747308731, 0.04099676385521889, 0.06304524838924408, 0.06011718139052391, -0.039127662777900696, -0.008185973390936852, 0.024502580985426903, 0.01676904782652855, -0.005521733313798904, 0.05560079216957092, -0.04692354425787926, -0.02569008804857731, 0.08788815885782242, -0.004108464810997248, -0.005475923418998718, 0.023626435548067093, 0.038240160793066025, -0.009032989852130413, -0.007869340479373932, 0.03402211517095566, 0.03308588266372681, -0.02338179014623165, 0.017500078305602074, 0.016778787598013878, -0.02267622947692871, 0.006828575860708952, 0.04038523510098457, -0.014606340788304806, 0.029469944536685944, 0.03889184817671776, -0.033179569989442825, -0.056120824068784714, -0.021762190386652946, 0.015385025180876255, -0.06111127510666847, 0.03938804566860199, -0.021301543340086937, -0.2281108796596527, -0.02860892191529274, 0.06396769732236862, 0.030160902068018913, -0.028319062665104866, 0.023094849660992622, 0.05078462138772011, -0.051716148853302, -0.007384707685559988, -0.00037879234878346324, 0.029491903260350227, 0.011175096035003662, 0.03667748346924782, 0.00478010531514883, 0.05244455859065056, 0.007012474816292524, 0.04241522401571274, 0.013865948654711246, 0.014129542745649815, -0.028718117624521255, -0.019233638420701027, -0.0018163423519581556, 0.19357506930828094, 0.004418468568474054, 0.050460055470466614, -0.001397468033246696, 0.05795074999332428, 0.02726861834526062, 0.05911865830421448, 0.01391156017780304, 0.0035780647303909063, -0.00910249911248684, 0.14482489228248596, 0.009627481922507286, 0.019576871767640114, -0.04876742139458656, -0.014719255268573761, 0.008686909452080727, -0.0010904512600973248, -0.010769287124276161, -0.020616555586457253, -0.0038853127043694258, -0.03237045183777809, 0.04515386372804642, 0.11712968349456787, 0.030940253287553787, -0.018620401620864868, -0.04650809243321419, -0.052321068942546844, -0.03165698051452637, -0.03674821928143501, -0.03561137616634369, 0.049028582870960236, -0.010396290570497513, 0.012013268657028675, 0.04297081381082535, -0.006973729468882084, -0.03168731927871704, -0.06386632472276688, 0.0017024569679051638, 0.028885480016469955, 0.05826551467180252, 0.0926957055926323, 0.04036901891231537, 0.0460161492228508 ]
[ -0.03635980933904648, 0.0034844959154725075, -0.036932915449142456, 0.015147367492318153, -0.005497670266777277, 0.026845673099160194, -0.005692108999937773, 0.004602550994604826, -0.0025534878950566053, 0.03149077668786049, -0.00023563031572848558, -0.03300439193844795, 0.007832619361579418, -0.007217654027044773, 0.006803988944739103, 0.006456492003053427, -0.0072705005295574665, -0.015594655647873878, 0.03042193129658699, -0.0086071090772748, -0.03435714542865753, 0.044096995145082474, 0.017740167677402496, -0.028368424624204636, -0.0012388229370117188, 0.04380856081843376, -0.00742088258266449, -0.018382398411631584, 0.005681317299604416, -0.14085310697555542, -0.03873779997229576, -0.0420171320438385, -0.01691412925720215, 0.005137684289366007, -0.0061731236055493355, 0.0062484885565936565, 0.009482043795287609, 0.07710373401641846, 0.0263891089707613, 0.013450536876916885, -0.01314057782292366, 0.03017021156847477, 0.021648453548550606, -0.013779325410723686, -0.028618192300200462, -0.01402950007468462, -0.023084869608283043, -0.043654412031173706, -0.0034912002738565207, -0.03852906823158264, -0.004009905271232128, 0.02343345619738102, 0.007733878679573536, -0.014587542042136192, 0.04043709114193916, -0.01922222599387169, 0.009328915737569332, -0.00898269284516573, 0.006394330877810717, 0.012665143236517906, -0.013078081421554089, 0.019825009629130363, -0.0050783236511051655, -0.02163448929786682, 0.006820501759648323, -0.016016488894820213, -0.004860973916947842, -0.006573292426764965, -0.0073927040211856365, -0.024639829993247986, -0.03417818993330002, 0.01797463744878769, 0.018037419766187668, 0.032538462430238724, -0.023322606459259987, -0.010443706065416336, 0.006850443780422211, 0.014686977490782738, 0.05862627178430557, 0.002396101364865899, -0.03169570863246918, 0.02086629532277584, 0.012056970968842506, 0.008779563009738922, 0.008990202099084854, 0.015663284808397293, 0.01959279738366604, 0.011334361508488655, 0.007681157905608416, 0.04764355719089508, -0.012507513165473938, 0.006772652268409729, -0.017883332446217537, 0.026812100782990456, -0.054465677589178085, -0.011828484944999218, -0.025985363870859146, -0.030183207243680954, 0.007691945414990187, 0.8454055190086365, 0.0036710158456116915, 0.021992363035678864, 0.04947790876030922, 0.014599649235606194, 0.01243879459798336, -0.01613033004105091, -0.00907281693071127, 0.0022206921130418777, 0.06648487597703934, -0.011383122764527798, -0.0035685324110090733, 0.015100699849426746, 0.031989481300115585, 0.0013571938034147024, -0.018056301400065422, 0.023381711915135384, 0.012142623774707317, -0.008018730208277702, 0.02371867001056671, -0.0005640173912979662, 0.02004169672727585, -0.03936513885855675, -0.008341101929545403, 0.0022633324842900038, 0.014093832112848759, -0.15564391016960144, -0.0137049350887537, -9.60960680857069e-33, 0.04587702825665474, -0.02363387495279312, 0.03338746726512909, 0.008586522191762924, 0.024113355204463005, 0.009944325312972069, 0.03913203254342079, 0.03848084434866905, 0.03780698776245117, -0.05527566373348236, -0.016423624008893967, -0.05380842834711075, -0.024786852300167084, -0.007066347170621157, 0.024717461317777634, -0.019470011815428734, -0.048355214297771454, 0.021239373832941055, -0.021444479003548622, 0.021087849512696266, 0.02503189444541931, 0.012540644966065884, 0.0002359008212806657, -0.02451135776937008, 0.0013275959063321352, -0.011890065856277943, 0.014744154177606106, 0.036795131862163544, -0.021879157051444054, -0.03995645046234131, 0.01885739527642727, 0.016738492995500565, -0.018770288676023483, 0.027015818282961845, 0.02129368670284748, -0.031514476984739304, 0.011824391782283783, 0.011321619153022766, -0.0009352016495540738, -0.048646699637174606, -0.04372100532054901, -0.01833930052816868, -0.04513319954276085, 0.03849136829376221, -0.011732363142073154, -0.05739767849445343, 0.03382081910967827, 0.01644253544509411, 0.003368210280314088, -0.03424419090151787, 0.0013438798487186432, 0.033230576664209366, 0.002188969636335969, -0.02379528246819973, -0.013578644022345543, 0.027706878259778023, -0.004387243185192347, -0.0043784393928945065, 0.01097105536609888, 0.014739049598574638, 0.00027008840697817504, -0.015670882537961006, -0.05710190534591675, 0.005021701566874981, -0.006497073918581009, -0.005241495557129383, -0.005460656713694334, -0.05981837585568428, 0.01434818934649229, -0.027410397306084633, -0.0005776160396635532, -0.03459366783499718, -0.016086500138044357, -0.027797553688287735, 0.014958934858441353, 0.03266320377588272, 0.003293181536719203, 0.0347406268119812, -0.003279054770246148, 0.025029290467500687, 0.04800562188029289, 0.01510521862655878, 0.019616642966866493, -0.02304593101143837, -0.00405535101890564, -0.019186869263648987, 0.011038515716791153, -0.01936063915491104, 0.03289169445633888, 0.013507777824997902, 0.03685372695326805, 0.015611403621733189, -0.05328436195850372, -0.021514875814318657, -0.010743881575763226, 9.561346153313712e-33, -0.00011926524894079193, 0.004913867451250553, -0.020623208954930305, -0.012788423337042332, 0.0064765699207782745, -0.012019545771181583, -0.006026226095855236, 0.008236301131546497, -0.0509091392159462, 0.01623462699353695, 0.0031012115068733692, 0.017755404114723206, 0.003302535507827997, 0.017604120075702667, 0.017323937267065048, -0.03036811389029026, 0.041475627571344376, -0.0009623831138014793, 0.021611489355564117, -0.007399914786219597, 0.051267508417367935, 0.018923262134194374, 0.006398227997124195, -0.022800544276833534, -0.00009238073835149407, 0.03620795160531998, -0.05467222258448601, 0.025624295696616173, 0.007447291165590286, 0.01885264925658703, 0.0035249637439846992, 0.009736483916640282, 0.011269365437328815, -0.04609987512230873, -0.009381354786455631, 0.01812523789703846, -0.013615826144814491, -0.008231830783188343, 0.0042732818983495235, 0.0271303728222847, 0.0010917362524196506, -0.02547081746160984, 0.013119932264089584, 0.02382683753967285, 0.04124617204070091, -0.0045261625200510025, 0.004227806348353624, -0.008640331216156483, -0.0014429795555770397, 0.016578804701566696, -0.02296316623687744, -0.009466531686484814, 0.028215928003191948, 0.006131300702691078, 0.017807962372899055, -0.024707620963454247, -0.05050705000758171, -0.016483502462506294, 0.002183817094191909, 0.015860173851251602, -0.009708424098789692, -0.005645073018968105, -0.03054562211036682, 0.006071598269045353, -0.04681099206209183, 0.03131810948252678, 0.020077286288142204, 0.025978928431868553, -0.018704602494835854, -0.017722895368933678, -0.03515075892210007, -0.020748555660247803, 0.03326084837317467, 0.024381641298532486, 0.04748128727078438, -0.048204321414232254, -0.01503498014062643, -0.002142318757250905, 0.002790430560708046, 0.0014959179097786546, 0.014131180010735989, -0.040104880928993225, 0.01558877807110548, -0.010301511734724045, 0.0267854742705822, 0.022004613652825356, 0.021965481340885162, -0.01193955447524786, -0.009796889498829842, 0.009432205930352211, -0.03309233486652374, 0.003942390438169241, -0.012962941080331802, -0.000024080702132778242, 0.0009841588325798512, -1.4359139655084618e-8, -0.0010076953331008554, 0.012113393284380436, 0.014964578673243523, -0.0085354158654809, 0.030864659696817398, -0.0015756519278511405, -0.013268657959997654, -0.03599225729703903, -0.00809505395591259, 0.021623799577355385, 0.0028495783917605877, 0.03474965691566467, 0.0314086452126503, -0.021838974207639694, 0.0010495880851522088, -0.029342306777834892, -0.05213460698723793, -0.012896512635052204, 0.033736709505319595, 0.017908893525600433, 0.01740962453186512, 0.026376960799098015, -0.0260313730686903, 0.036157459020614624, 0.026243411004543304, 0.00020937068620696664, 0.037286218255758286, -0.11061446368694305, 0.04520288482308388, 0.022021757438778877, -0.015164150856435299, 0.018597863614559174, -0.010645396076142788, -0.014164995402097702, -0.036691758781671524, 0.01346815936267376, 0.00402045389637351, 0.03104521706700325, 0.011130097322165966, 0.010369821451604366, -0.02617180161178112, -0.006462950725108385, -0.0158708319067955, -0.01728481613099575, 0.004327658098191023, 0.021445076912641525, -0.08152389526367188, 0.028040561825037003, -0.04304547607898712, -0.052116479724645615, 0.018660468980669975, 0.021818747743964195, 0.012304823845624924, 0.010045706294476986, 0.018780656158924103, -0.007073014043271542, 0.011646914295852184, 0.0036623722407966852, -0.04292790964245796, 0.00241152779199183, 0.02141096256673336, 0.004903635010123253, -0.016577469184994698, -0.028357623144984245 ]
coding-consistency-when-invariant-checking
https://markhneedham.com/blog/2009/10/29/coding-consistency-when-invariant-checking
false
2009-10-28 22:43:01
Coding: Connascence - Some examples
[ "coding" ]
[ "Coding" ]
I've been reading Meilir Page Jones' 'http://www.amazon.co.uk/Fundamentals-Object-oriented-Design-Object-Technology/dp/020169946X/ref=sr_1_3?ie=UTF8&s=books&qid=1256562881&sr=8-3[Fundamentals of Object Oriented Design in UML]' recently and one of the chapters that I found the most interesting is the one where he talks about 'connascence'. Connascence describes the relation between two different bits of code and two bits of code are said to be connascent if +++<strong>+++a change to one bit of code would require a change to the other bit of the code +++</strong>+++ or if *some change to another piece of code would require both bits of code to change* for our program to still be correct. I think this principal is quite similar to the idea of http://www.markhneedham.com/blog/2009/08/25/coding-coupling-and-expressiveness/[coupling] which we seem to use more frequently these days but I found it quite compelling that as I was reading through the different types of connascence that Page-Jones describes I was easily able to identify mistakes I've made and seen made in code. There are many different types of connascence and Jim Weirich goes through many of them in his presentation from http://mwrc2009.confreaks.com/[MountainWest RubyConf 2009] titled 'http://mwrc2009.confreaks.com/14-mar-2009-18-10-the-building-blocks-of-modularity-jim-weirich.html[The building blocks of modularity]'. I'll just cover a couple of the ones that seem to cause the most pain from my experience. == Connascence of execution This describes the situation where *two different lines of code have to be executed in a certain order for the program to be executed correctly*. A typical example of this type of connascence occurs when we http://www.markhneedham.com/blog/2009/09/16/coding-watch-out-for-mutable-code/[make use of setter methods to construct objects]: [source,csharp] ---- public void SomeMethod() { var someObject = new SomeObject(); someObject.Property1 = new Property1(); // some where else far far away SomeOtherMethod(someObject); } private void SomeOtherMethod(SomeObject someObject) { someObject.Property1.AnotherProperty = new AnotherProperty(); } ---- In this example we need line 2 to be executed before line 13 otherwise we'll get a null pointer exception. These two lines therefore have connascence of execution. Quite often line 13 of this example would be hidden away in a chain of method calls and it wouldn't be completely obvious that it relies on a line further up being executed first. We eventually end up making what we think is an innocuous reordering of the method calls and suddenly our code doesn't work any more. In this case to reduce this type of connascence we might look at using a constructor to create our objects, use one of the builder/factory patterns or at least try and capture related code in the same method so that the potential for confusion is reduced. == Connascence of algorithm This typically *describes the situation where we are making use of a data structure in a specific way such that all the pieces of code which interact with that data structure need to know exactly how that data structure works in order to make use of it*. This problem seems to happen particularly when we're http://www.markhneedham.com/blog/2009/10/23/coding-the-primitive-obsession/[over using lists when perhaps another level of abstraction is required]. One example of this might be where a piece of code assumes that another piece of code inserts a certain value into a list. [source,csharp] ---- public class AClassWhichPutsASpecificItemInAList { public List<SomeObject> CreateTheEvil() { var myEvilList = new List<SomeObject>(); myEvilList.Add(new SomeObject("SomeSpecialName")); // and so on return myEvilList; } } ---- [source,csharp] ---- public class SomeOtherClassFarFarAway { public void SomeMethod(List<SomeObject> someObjects) { var speciallyNamedObject = someObjects.Where(s.Name == "SomeSpecialName").First(); } } ---- Despite the fact that these two classes never refer to each other they have connascence of algorithm because if 'AClassWhichPutsASpecificItemInAList' decides not to put that value into the list then 'SomeOtherClassFarFarAway' may stop working so we will need to change that as well. This type of connascence is much more implicit than some of the other types and it may not be immediately obvious that two pieces of code are related. We could get around this problem by encapsulating this type of logic in its own type so that at least we only have to deal with it once. The goal is to try and http://www.markhneedham.com/blog/2009/04/23/ddd-making-implicit-concepts-explicit/[make an implicit piece of code more explicit]. == Connascence of convention This describes the situation where there is *an implicit convention for the meaning behind the value of a certain piece of code such that every other bit of code that touches it needs to know this convention*. This is quite similar to connascence of algorithm. An example that I came across recently was around how we passed around the value of an option selected on a form by the user. The user could either select 'Yes', 'No' or they could choose not to answer the question. If they entered 'Yes' then they would need to answer another question immediately after this. Later on we needed to pass this data to the service layer. A value of 'No' if they selected that, the answer to the next question if they answered 'Yes' and 'None' if they didn't enter anything. We ended up having code similar to this in the service call and then again in the binder: [source,csharp] ---- public class TheServiceThatUsesThatValue { public void CallTheService(string theAnswer) { var theRequest = new ServiceRequest(); if(theAnswer == "None") { theRequest.TheAnswer = "None"; } else if(theAnswer == "No") { theRequest.TheAnswer = "No"; } else { theRequest.TheAnswer = LookUpTheCodeFor(theAnswer); } } } ---- We eventually gave up on the idea of passing 'None' around because that was the bit causing the most confusion. Instead we stored the answer in a nullable data type and then did the conversion to 'None' when necessary in the Service class. == In summary There are just a couple of the examples that Page-Jones outlines but the general idea is that we want to try and minimise the connascence in our system by creating well encapsulated objects. Within those objects it makes sense to keep connascence high and in fact if it's not then it might suggest that we have another object waiting to get out.
null
null
[ 0.019840355962514877, 0.028881771489977837, -0.031597889959812164, 0.030555617064237595, 0.09139540046453476, 0.010356857441365719, 0.04685049504041672, 0.02882382832467556, 0.026947399601340294, -0.020989276468753815, -0.029105758294463158, -0.002749190665781498, -0.07119143009185791, 0.01948300562798977, -0.03200573846697807, 0.06595548242330551, 0.06869060546159744, -0.017787287011742592, 0.037388794124126434, 0.013598991557955742, 0.025574665516614914, 0.07885760813951492, -0.004320754669606686, 0.028210358694195747, 0.0228116475045681, 0.010919571854174137, 0.01947510614991188, -0.007025864906609058, -0.06575945764780045, 0.013799406588077545, 0.031803809106349945, 0.003931570798158646, -0.000922102655749768, 0.0028929999098181725, 0.0006186022656038404, -0.011280400678515434, -0.03274904936552048, -0.016566433012485504, 0.017376551404595375, 0.004647120367735624, -0.04479144513607025, 0.03525800630450249, 0.002539159031584859, 0.0001643822470214218, -0.033860862255096436, -0.021200284361839294, -0.05185776576399803, 0.02082652412354946, -0.03112678788602352, -0.004167527426034212, -0.066182941198349, 0.01833813451230526, 0.0007025886443443596, 0.012866130098700523, -0.022367801517248154, 0.06561488658189774, 0.030362078920006752, -0.04342908412218094, 0.017121240496635437, -0.07023818790912628, -0.002850057790055871, 0.00020497805962804705, 0.008169285953044891, 0.01957940123975277, 0.012354198843240738, 0.0013564515393227339, -0.03293680027127266, 0.05725397542119026, -0.042690787464380264, -0.02118614874780178, -0.02089124172925949, 0.03395211324095726, 0.005503118969500065, -0.0035593295469880104, 0.007597591262310743, -0.037187736481428146, 0.013254654593765736, 0.04415614902973175, 0.003293347079306841, 0.03842072933912277, -0.03632035851478577, 0.03759566321969032, 0.03038245067000389, 0.01902073062956333, 0.009336117655038834, -0.03705676645040512, -0.024818994104862213, 0.0113863879814744, -0.055282313376665115, 0.06658823043107986, -0.0006008667405694723, -0.07761316001415253, 0.002106806030496955, 0.04033386707305908, 0.002805984579026699, -0.000004654526946978876, 0.02039303444325924, 0.017399923875927925, -0.0021245572715997696, -0.012050662189722061, -0.016630759462714195, -0.010347872972488403, -0.005675528664141893, -0.003581157885491848, -0.0766812339425087, 0.0003137312305625528, -0.0378500334918499, -0.03833378851413727, -0.010503586381673813, -0.00035310498788021505, -0.03680967167019844, 0.008952684700489044, -0.029474357143044472, 0.0034268733579665422, -0.0604732446372509, 0.07583484798669815, -0.0013198860688135028, -0.04176439344882965, 0.006814042571932077, 0.010960240848362446, 0.0388064906001091, 0.012619541957974434, -0.01828276552259922, 0.07809295505285263, 0.021735217422246933, 0.024807412177324295, -0.042967963963747025, 0.05615070462226868, -0.03279617056250572, -0.055189043283462524, -0.020119020715355873, 0.054217588156461716, -0.03733037784695625, -0.027464676648378372, -0.0039669000543653965, -0.028573285788297653, -0.0052016014233231544, 0.015421711839735508, 0.01873885840177536, 0.045570552349090576, -0.008140374906361103, -0.036294616758823395, 0.018973086029291153, 0.00880452524870634, 0.007515012752264738, 0.00839441828429699, -0.0018874927191063762, -0.00847527664154768, -0.006295242812484503, 0.004999683704227209, 0.014904022216796875, 0.03346044197678566, 0.010201526805758476, -0.023022998124361038, 0.02741437964141369, 0.0901985913515091, 0.01798981986939907, 0.04154008626937866, -0.01289073284715414, 0.022180616855621338, 0.039763759821653366, 0.020517263561487198, 0.012591350823640823, 0.01818758249282837, 0.018500620499253273, -0.005761062726378441, 0.003163421992212534, 0.06086067110300064, 0.020949525758624077, -0.009048174135386944, -0.06797125935554504, -0.041776783764362335, 0.044441621750593185, -0.036407291889190674, -0.02376074157655239, 0.026096243411302567, 0.07830850780010223, 0.02333366684615612, 0.037996627390384674, -0.0038296300917863846, -0.08538571745157242, 0.01405131071805954, 0.022384434938430786, 0.002542282687500119, 0.03488854691386223, -0.024881919845938683, 0.06342896074056625, 0.014577850699424744, -0.025830840691924095, 0.029459422454237938, -0.06934011727571487, -0.07735741138458252, -0.0010432100389152765, -0.04544316977262497, 0.0804692730307579, -0.013541869819164276, -0.02175217494368553, 0.053131766617298126, 0.013960001058876514, 0.04315674304962158, 0.015313403680920601, 0.028041526675224304, 0.010984082706272602, -0.02834167890250683, -0.010450133122503757, 0.034758370369672775, 0.05059522017836571, 0.00727945426478982, -0.060333285480737686, 0.0019061604980379343, -0.001401243731379509, -0.023468591272830963, 0.03628917038440704, -0.026844758540391922, 0.04574716463685036, 0.014337492175400257, 0.06605232506990433, -0.03685474023222923, 0.04261791333556175, -0.061315614730119705, 0.006832127459347248, 0.005210301838815212, -0.034451428800821304, 0.008761653676629066, -0.00579535448923707, 0.1133536621928215, 0.0514528714120388, -0.0382939949631691, -0.027462894096970558, 0.03465459495782852, 0.010866796597838402, -0.04849649965763092, 0.012101255357265472, -0.010119877755641937, 0.021536266431212425, -0.004413410555571318, -0.05404550954699516, 0.002046261914074421, 0.02768317237496376, -0.03878088667988777, 0.009586794301867485, 0.06876163184642792, -0.015593538992106915, 0.04379839822649956, -0.013093552552163601, -0.017893340438604355, -0.0074650198221206665, -0.044287148863077164, -0.07493052631616592, 0.019675979390740395, -0.010555093176662922, -0.01564968191087246, 0.0667586624622345, -0.039433691650629044, -0.033237479627132416, -0.02837364375591278, -0.03156474977731705, 0.012897131964564323, 0.04290633276104927, 0.049080900847911835, 0.008781716227531433, 0.046695172786712646, -0.01068435050547123, 0.015718752518296242, -0.02666742168366909, -0.05294264107942581, -0.03318970277905464, -0.03393823653459549, -0.005852541420608759, 0.022096257656812668, -0.0019516578176990151, 0.028415804728865623, 0.028364568948745728, -0.012503636069595814, -0.006552265956997871, -0.012952332384884357, 0.04650265723466873, -0.020161639899015427, -0.00519926194101572, -0.005770452320575714, -0.03309251368045807, 0.03483320772647858, -0.042279202491045, -0.0389690026640892, -0.011638371273875237, -0.05321219563484192, 0.07125476002693176, -0.07490286231040955, -0.05252329632639885, 0.004000138491392136, 0.00968917366117239, 0.04019672051072121, 0.0030755361076444387, 0.03743864595890045, 0.06470388919115067, 0.020523468032479286, 0.010131004266440868, 0.0016289384802803397, 0.001602807198651135, 0.026438167318701744, 0.006565360818058252, -0.012349159456789494, 0.04386317357420921, -0.011890456080436707, -0.009848559275269508, -0.032156672328710556, 0.03073817677795887, 0.007936968468129635, -0.27904143929481506, 0.010437668301165104, -0.00149491464253515, -0.06898462772369385, 0.02544894814491272, 0.0006755408248864114, 0.002336850157007575, -0.0715622678399086, -0.01901744119822979, 0.012926449067890644, -0.032386891543865204, -0.06185375899076462, -0.01604621112346649, 0.06599459797143936, 0.010963723063468933, 0.011539623141288757, -0.01077901292592287, -0.011928551830351353, -0.013285971246659756, 0.06268706917762756, 0.009978197515010834, -0.0856117382645607, -0.013186518102884293, 0.03182670474052429, 0.009609255008399487, 0.01446826197206974, -0.12188611179590225, 0.05089269205927849, -0.048125240951776505, -0.002595934784039855, 0.0064371125772595406, 0.004965173080563545, -0.0028907398227602243, -0.029367035254836082, -0.006383719854056835, -0.013798732310533524, 0.02631796896457672, 0.027666954323649406, 0.005140917841345072, 0.0151038384065032, -0.016002219170331955, -0.01977800577878952, -0.005544350482523441, 0.006799555849283934, 0.06693674623966217, -0.00013274942466523498, -0.0859229564666748, -0.018982354551553726, -0.043663620948791504, 0.08184946328401566, -0.04096882417798042, -0.021624062210321426, 0.021626954898238182, 0.04883858934044838, -0.0009497033315710723, -0.021558016538619995, -0.008421351201832294, -0.016715843230485916, -0.03964110463857651, -0.03268929943442345, -0.028565306216478348, -0.04909264296293259, -0.009068233892321587, -0.05202624946832657, -0.0032576231751590967, -0.04321889951825142, -0.08396590501070023, -0.004958832636475563, 0.06451788544654846, 0.03224179893732071, -0.022418636828660965, 0.049667105078697205, -0.037954818457365036, -0.11118102818727493, 0.002290728036314249, -0.011963782832026482, -0.004177933558821678, -0.03587961569428444, 0.011045043356716633, 0.03132808208465576, -0.02190629206597805, -0.05389677360653877, 0.03592385724186897, 0.03000999614596367, 0.033322080969810486, -0.02364928461611271, 0.01994728296995163, 0.017910229042172432, -0.028549253940582275, 0.004729358479380608, 0.07331427931785583, 0.0030576353892683983, -0.03244422376155853, -0.03896200284361839, 0.02779962122440338, 0.0077333031222224236, 0.039163731038570404, -0.004884111229330301, 0.00844981987029314, 0.04613308981060982, 0.0036031133495271206, -0.0820939838886261, 0.014326312579214573, -0.015001262538135052, -0.013184388168156147, 0.00468750623986125, -0.05681215971708298, 0.019825058057904243, 0.04742296412587166, 0.026619404554367065, -0.0044809929095208645, -0.04389646649360657, 0.024170124903321266, -0.027667038142681122, -0.057820260524749756, -0.032387517392635345, 0.004455043002963066, 0.04373153671622276, 0.0014007376739755273, -0.0038303795736283064, -0.04790516197681427, 0.017322644591331482, -0.0006459995056502521, -0.02097540721297264, -0.05202331021428108, -0.043601661920547485, -0.03481636196374893, -0.004961647558957338, -0.0016818383010104299, 0.036496423184871674, -0.016393113881349564, 0.041809748858213425, 0.020999925211071968, -0.058098554611206055, -0.001093184226192534, 0.003855816787108779, -0.05473529174923897, -0.023577284067869186, -0.009893459267914295, -0.00820964016020298, 0.03486241027712822, 0.020682938396930695, 0.011505868285894394, 0.013489624485373497, 0.027185913175344467, 0.002414959715679288, 0.05568849295377731, -0.007734254468232393, 0.020141344517469406, 0.01665390282869339, 0.007146900054067373, -0.07947544008493423, 0.029540646821260452, -0.052954863756895065, -0.04510391876101494, -0.02265680953860283, 0.007889668457210064, 0.0036303072702139616, -0.028913825750350952, -0.010828956961631775, 0.03240564465522766, -0.047147054225206375, -0.033077090978622437, -0.04472202807664871, 0.010297386907041073, 0.07846998423337936, -0.02459944598376751, 0.041315481066703796, -0.02245303988456726, -0.016307683661580086, -0.006077739875763655, 0.00929906964302063, -0.02637472376227379, 0.010360175743699074, 0.010516354814171791, 0.004663174040615559, -0.019987940788269043, -0.010638921521604061, 0.049277544021606445, -0.005066129844635725, -0.00421291496604681, -0.027561597526073456, 0.02903568185865879, 0.0373697467148304, 0.024719366803765297, -0.00010688431211747229, -0.007663866505026817, -0.0014071284094825387, -0.01857168972492218, -0.03682836517691612, -0.04078388214111328, -0.005561379250138998, -0.027921602129936218, 0.019438520073890686, -0.04262545332312584, -0.07248512655496597, 0.034829944372177124, 0.025256134569644928, 0.032915592193603516, -0.016464145854115486, -0.0007964392425492406, 0.021009409800171852, -0.03000667691230774, 0.019499650225043297, 0.04998166114091873, -0.05136716738343239, 0.01563125289976597, -0.004787229932844639, -0.02132485620677471, 0.009622705169022083, -0.008575314655900002, -0.06321141868829727, -0.016014548018574715, -0.02528247982263565, -0.012193527072668076, -0.04634948447346687, -0.02936396934092045, -0.01668403670191765, -0.0068363007158041, -0.003804236650466919, -0.01202847994863987, -0.011603355407714844, 0.002205455908551812, -0.003277847310528159, -0.028977904468774796, 0.007946375757455826, -0.016643101349473, 0.017170939594507217, 0.032391611486673355, -0.021658260375261307, 0.016948511824011803, -0.002896266058087349, 0.018558891490101814, 0.010830502957105637, -0.011055713519454002, -0.03952813148498535, -0.011730648577213287, -0.006067108828574419, -0.004770162049680948, 0.03782564029097557, -0.0012763496488332748, -0.008353551849722862, -0.03660678118467331, 0.005151631310582161, -0.040470756590366364, 0.02779405377805233, -0.02722078561782837, -0.03707095980644226, 0.0039117708802223206, 0.04662776365876198, 0.0175285954028368, 0.03165785223245621, -0.0054676770232617855, -0.015911804512143135, 0.059331268072128296, -0.03840722143650055, -0.03034871816635132, -0.03592755272984505, -0.06690745800733566, 0.0010311002843081951, 0.024613182991743088, 0.014919533394277096, -0.038519181311130524, 0.03182428702712059, 0.0470399335026741, 0.05510857701301575, 0.022514425218105316, 0.005939383525401354, 0.03143973648548126, -0.062198787927627563, 0.034929197281599045, -0.07920181751251221, 0.025658641010522842, 0.04265669360756874, 0.005744528491050005, -0.002056801924481988, -0.0329359695315361, -0.03391224890947342, 0.05467527359724045, -0.08933082222938538, -0.01196318306028843, 0.021540604531764984, -0.0017663968028500676, -0.003525753738358617, 0.020117981359362602, -0.0691937729716301, 0.004560085479170084, 0.011976893059909344, -0.04511888697743416, -0.030300423502922058, -0.015182273462414742, 0.05675474926829338, -0.009896963834762573, 0.048342008143663406, -0.0028667121659964323, -0.018844174221158028, 0.058403730392456055, 0.02229207381606102, 0.02713024988770485, 0.04445165768265724, -0.005404125899076462, 0.041833166033029556, 0.03257890045642853, 0.03183681517839432, -0.015510975383222103, 0.014816474169492722, -0.011071812361478806, -0.0491306371986866, 0.01797531358897686, 0.010944897308945656, -0.025508444756269455, -0.02467374876141548, 0.05890964716672897, 0.005178005434572697, -0.01972753368318081, -0.04581837356090546, 0.015087373554706573, -0.05369390547275543, -0.0037715467624366283, 0.001438950072042644, -0.0061105084605515, -0.03336585685610771, 0.07924885302782059, -0.0004493910528253764, 0.008326278068125248, 0.06699652969837189, -0.006087861955165863, -0.03884640336036682, -0.020383190363645554, 0.09461260586977005, 0.08021887391805649, 0.05790745094418526, 0.009937290102243423, 0.06900380551815033, -0.03301265835762024, -0.03924749419093132, 0.00874157901853323, 0.007706196513026953, -0.0062220278196036816, -0.02264881506562233, 0.011357917450368404, 0.06362978368997574, -0.013333645649254322, 0.07060317695140839, -0.01938488520681858, -0.004572558216750622, 0.004212692379951477, 0.03419078513979912, 0.012059075757861137, 0.09561710804700851, 0.035725925117731094, 0.007759942673146725, 0.0024314785841852427, -0.04112822562456131, 0.014121715910732746, -0.02790703810751438, -0.02130279876291752, 0.007163861766457558, 0.01302610244601965, 0.03291456401348114, 0.016964886337518692, 0.03360579535365105, 0.08653268218040466, -0.026467429473996162, 0.0005166226765140891, 0.008454064838588238, 0.009206278249621391, 0.002331084804609418, 0.0159541554749012, -0.018698880448937416, -0.017088718712329865, -0.018388530239462852, -0.03757670521736145, -0.030746478587388992, -0.008333293721079826, -0.0051264469511806965, 0.04968050867319107, -0.013110746629536152, 0.017031703144311905, 0.018574099987745285, 0.02448015846312046, -0.015874413773417473, -0.06149939075112343, -0.058136261999607086, -0.03893452137708664, -0.0454876571893692, -0.005909980274736881, 0.03003786876797676, 0.00018815250950865448, -0.035844892263412476, -0.02346770651638508, -0.013806860893964767, -0.025238657370209694, 0.05960752069950104, -0.04776431992650032, -0.026757415384054184, 0.025911932811141014, 0.02457105740904808, 0.027589324861764908, 0.016925765201449394, 0.03610227629542351, 0.0008332938887178898, -0.00039795658085495234, -0.021934231743216515, -0.007690477650612593, 0.010690273717045784, 0.011504191905260086, 0.03519469127058983, -0.07855366915464401, 0.01609310321509838, 0.0283010546118021, -0.011062158271670341, -0.08456020057201385, 0.02351548708975315, 0.018996145576238632, -0.020831769332289696, 0.0451495386660099, -0.03076070174574852, 0.02142832800745964, -0.022612309083342552, -0.002268299227580428, -0.026661012321710587, 0.04570022597908974, 0.031274858862161636, -0.02187805064022541, 0.08828278630971909, 0.028622973710298538, -0.002760162577033043, -0.029723236337304115, -0.01037533674389124, 0.01060987263917923, 0.004231877624988556, -0.0187006164342165, -0.012882337905466557, -0.04543784260749817, -0.07753794640302658, -0.020120514556765556, 0.0463738851249218, -0.01767871156334877, -0.03801944479346275, 0.006429417058825493, 0.022341737523674965, -0.05230703204870224, 0.027740852907299995, -0.03961937874555588, 0.0388583242893219, -0.02950027771294117, -0.012242140248417854, 0.03224526345729828, -0.006202809512615204, 0.006337305996567011, 0.021416382864117622, -0.006525120232254267, -0.04098512977361679, -0.018545012921094894, -0.0056721000000834465, 0.044881969690322876, 0.03996187448501587, 0.014103950932621956, 0.004296476952731609 ]
[ -0.1099628359079361, -0.022662609815597534, -0.02753084897994995, -0.040131427347660065, 0.05051087588071823, -0.027807703241705894, -0.012268583290278912, 0.007441691122949123, -0.0139747504144907, -0.030198493972420692, -0.028756290674209595, -0.033245641738176346, -0.0341934859752655, -0.013431977480649948, 0.10092519968748093, 0.014970642514526844, -0.015204803086817265, -0.04185210540890694, 0.0014091937337070704, 0.00018741887470241636, 0.057079948484897614, -0.03937438875436783, -0.04971038177609444, -0.03263859450817108, 0.015302499756217003, 0.04082271829247475, 0.04321017488837242, -0.04484066367149353, 0.023586371913552284, -0.21854889392852783, -0.027144985273480415, 0.044389981776475906, 0.007487115450203419, -0.04412040486931801, -0.015373383648693562, 0.029133228585124016, 0.012177321128547192, 0.018146609887480736, -0.007597322575747967, 0.048821430653333664, 0.0057695722207427025, 0.027200618758797646, -0.03807199001312256, -0.04482543468475342, 0.007755330763757229, -0.008135956712067127, -0.0017246382776647806, -0.03913704678416252, -0.018662327900528908, 0.0042800637893378735, -0.04215393215417862, -0.030982019379734993, -0.012283558025956154, -0.0031520104967057705, 0.001645508804358542, 0.02080409787595272, 0.03361601382493973, 0.0905543714761734, -0.012460365891456604, -0.0003337667149025947, 0.02022109180688858, -0.02007782645523548, -0.12963274121284485, 0.08621740341186523, 0.06353990733623505, 0.027104152366518974, -0.027642499655485153, -0.04360926151275635, -0.009441236034035683, 0.10882439464330673, 0.018987314775586128, -0.028271755203604698, -0.02801814302802086, 0.040956489741802216, 0.021946486085653305, -0.01770886406302452, 0.006408164743334055, 0.022998027503490448, 0.008118600584566593, -0.027583805844187737, -0.03911673277616501, -0.012833550572395325, -0.026592882350087166, -0.023056862875819206, -0.04891922324895859, 0.00919318851083517, -0.02624216489493847, 0.04261952266097069, 0.013002623803913593, 0.014429712668061256, 0.024456724524497986, -0.008462229743599892, 0.04353265464305878, 0.0017931840848177671, -0.04772040992975235, 0.03331969678401947, -0.01714705303311348, 0.025544237345457077, -0.004053187556564808, 0.390491783618927, -0.037198472768068314, -0.04758281260728836, 0.09668276458978653, 0.02838914468884468, 0.009664551354944706, 0.035483915358781815, 0.0194863211363554, -0.05418616905808449, 0.01546439342200756, -0.014780684374272823, 0.024641940370202065, 0.013973608613014221, 0.05496218800544739, -0.019694581627845764, -0.0010375921847298741, 0.02643122337758541, 0.021539542824029922, -0.0036109343636780977, 0.004530309233814478, -0.006339367013424635, -0.006619734223932028, 0.010283876210451126, 0.013303248211741447, 0.004885450005531311, 0.0006110499962233007, -0.040683913975954056, -0.00840675923973322, 0.08193789422512054, 0.03743758425116539, -0.014457318931818008, 0.06266365200281143, -0.01443149708211422, -0.04015272855758667, -0.014567587524652481, -0.0002610156370792538, 0.013870004564523697, 0.012563979253172874, -0.012608491815626621, 0.0030151528771966696, 0.035285718739032745, -0.0014890175079926848, -0.014212921261787415, 0.039412666112184525, -0.010127906687557697, -0.035703349858522415, 0.11173946410417557, -0.01613868772983551, -0.029362468048930168, -0.013485809788107872, -0.023530971258878708, 0.012038834393024445, 0.02502765879034996, -0.023026136681437492, -0.041028790175914764, 0.021081257611513138, 0.020711708813905716, 0.05747036635875702, 0.019182799383997917, -0.02037067338824272, -0.019176548346877098, -0.009339225478470325, -0.016127999871969223, -0.0530838705599308, 0.0545215904712677, 0.030524002388119698, -0.08536651730537415, 0.0006015339167788625, -0.009995595552027225, 0.06965410709381104, -0.10182652622461319, -0.011052588000893593, 0.0408412367105484, -0.016958750784397125, -0.018163375556468964, 0.05562969297170639, -0.009849617257714272, -0.03602949157357216, -0.0018375058425590396, 0.051755789667367935, 0.027090223506093025, 0.004890108946710825, 0.030700264498591423, -0.03931621089577675, 0.01097035687416792, -0.022350305691361427, -0.09539522975683212, -0.02577587589621544, 0.0006759948446415365, -0.0326773039996624, -0.008365332148969173, -0.009417378343641758, -0.01584610342979431, -0.07755708694458008, 0.10641375929117203, -0.03983498364686966, -0.03779241070151329, 0.017046399414539337, -0.024976393207907677, -0.05224975198507309, -0.013839036226272583, -0.027471408247947693, 0.06557530909776688, -0.05313021317124367, 0.006899397820234299, -0.04106464982032776, 0.038716793060302734, 0.04309670254588127, -0.03425517678260803, 0.07010430842638016, 0.0428016260266304, -0.04248607158660889, -0.03601812198758125, 0.003453414421528578, 0.05074160173535347, 0.009991265833377838, -0.02942325547337532, -0.0018926295451819897, 0.025857528671622276, -0.006636067293584347, 0.006205151788890362, -0.034840308129787445, -0.035523612052202225, -0.01761450804769993, -0.3676528036594391, -0.04785686358809471, -0.01426409836858511, -0.02944306656718254, 0.0323626883327961, -0.03670552745461464, 0.004106687381863594, -0.013445157557725906, -0.03585291653871536, -0.028419146314263344, 0.05058875307440758, 0.014319400303065777, -0.011294526979327202, -0.10976610332727432, -0.0027464956510812044, 0.024547887966036797, -0.02782653458416462, -0.030868977308273315, -0.047824177891016006, 0.009014115668833256, 0.012563788332045078, 0.002127376152202487, -0.015313281677663326, -0.06864836812019348, -0.03855761140584946, -0.05182332172989845, 0.10217111557722092, -0.035082198679447174, 0.11731640249490738, -0.011149024590849876, 0.025271713733673096, -0.015326454304158688, 0.04776957258582115, -0.06324642896652222, 0.024729127064347267, 0.018574360758066177, 0.001563675352372229, 0.006149290595203638, 0.05046629160642624, -0.031211137771606445, -0.049340829253196716, 0.017507335171103477, -0.061354994773864746, -0.04100584611296654, -0.0380592867732048, 0.013719381764531136, -0.021474849432706833, -0.03980725258588791, -0.0287373885512352, 0.06786728650331497, 0.0016736250836402178, 0.003396425861865282, 0.009888703003525734, 0.028699543327093124, -0.024884436279535294, -0.020711684599518776, -0.0852978378534317, 0.008467627689242363, 0.013946302235126495, 0.0191967636346817, 0.047642242163419724, 0.043253976851701736, 0.03543609380722046, -0.04809105768799782, -0.00398265989497304, 0.03705473244190216, -0.011712978594005108, -0.028339747339487076, 0.07293066382408142, -0.018473366275429726, 0.0014491721522063017, 0.13380394876003265, -0.003077820874750614, -0.06940141320228577, 0.03619039058685303, 0.04229620099067688, 0.0019515143940225244, 0.030302656814455986, -0.00437072291970253, -0.00262356991879642, 0.009251987561583519, -0.010885585099458694, 0.015977418050169945, -0.028608432039618492, -0.006876055151224136, -0.0031785862520337105, -0.018533609807491302, -0.0292527936398983, 0.03815700486302376, -0.009697682224214077, -0.023880306631326675, -0.008526988327503204, 0.006199738476425409, -0.060732413083314896, 0.05269486457109451, 0.011189598590135574, -0.2435518056154251, 0.018497716635465622, 0.10145239531993866, 0.05009571835398674, -0.01706896908581257, 0.0618300624191761, 0.03238757327198982, -0.07889437675476074, 0.024124758318066597, -0.01708519086241722, 0.015428503043949604, 0.006826844532042742, 0.02068387158215046, 0.0071658603847026825, 0.05491895601153374, 0.012416583485901356, 0.07189613580703735, -0.04386014863848686, 0.023518215864896774, 0.0005743928486481309, -0.0015267697162926197, 0.011462009511888027, 0.16977551579475403, 0.020465409383177757, 0.0290813110768795, 0.0030134539119899273, 0.023996710777282715, 0.05295560508966446, 0.0767332911491394, 0.0276818685233593, 0.029813557863235474, 0.01842563971877098, 0.05760112404823303, -0.009527734480798244, 0.03663244843482971, -0.055720869451761246, -0.03662863001227379, 0.03848632797598839, 0.04588468372821808, -0.0003726380818989128, 0.001406632480211556, 0.008274597115814686, -0.052392683923244476, -0.0023184888996183872, 0.10145390778779984, 0.018305152654647827, -0.011093354783952236, -0.012324240058660507, -0.041035037487745285, -0.011762884445488453, -0.04237135499715805, -0.038267042487859726, 0.014266012236475945, 0.007239835802465677, -0.00518561527132988, 0.041896019130945206, -0.005030428525060415, -0.024075549095869064, -0.02630416490137577, 0.03456801921129227, 0.01744869351387024, -0.023716630414128304, 0.10907477885484695, 0.006988527253270149, 0.03853468596935272 ]
[ -0.027683092281222343, -0.02030361443758011, 0.005460589658468962, 0.008279952220618725, -0.02282138541340828, -0.02979644015431404, -0.001588757149875164, 0.022188803181052208, -0.012671422213315964, 0.007583067286759615, -0.0332895927131176, 0.014814700931310654, 0.026586882770061493, 0.006934836972504854, -0.004429444670677185, 0.013314139097929, -0.0036078705452382565, -0.014240212738513947, 0.01246852707117796, 0.007831655442714691, -0.0010668985778465867, 0.01327268872410059, -0.01726818084716797, -0.010547450743615627, 0.02088036760687828, 0.014144156128168106, -0.02440362237393856, 0.004762327764183283, 0.03855430707335472, -0.13303415477275848, -0.0245587769895792, -0.01499785203486681, 0.005118433851748705, 0.0043596792966127396, 0.001691698795184493, 0.012765423394739628, 0.002432967768982053, 0.003265948733314872, 0.001092227641493082, -0.007390163838863373, -0.006646241061389446, 0.014489849098026752, 0.01463268231600523, 0.011558832600712776, -0.03192616626620293, 0.002204693853855133, -0.004583865869790316, -0.02923501841723919, -0.02324708178639412, -0.030448727309703827, -0.021023603156208992, 0.0031248596496880054, -0.027498988434672356, 0.009304096922278404, 0.030181342735886574, 0.003986955154687166, 0.0118967080488801, -0.01944238692522049, -0.014173084869980812, -0.020575465634465218, -0.01403193362057209, 0.020572375506162643, -0.039916373789310455, -0.044931504875421524, 0.0118038859218359, 0.002244317438453436, -0.020419592037796974, 0.023967165499925613, -0.006705799605697393, -0.015113437548279762, 0.004432744346559048, 0.0025493260473012924, -0.03244933858513832, 0.0030734397005289793, 0.03422712907195091, 0.005899208132177591, 0.016894854605197906, 0.0022921646013855934, 0.01570599526166916, -0.052996303886175156, -0.04331270232796669, 0.020762771368026733, 0.017063966020941734, -0.018556078895926476, 0.014000503346323967, -0.010413083247840405, 0.00517284357920289, 0.0024009377229958773, 0.019263476133346558, 0.01805589161813259, -0.018251676112413406, 0.027442656457424164, -0.004824562929570675, 0.003981639631092548, -0.07936321943998337, 0.0015170421684160829, 0.0019924170337617397, -0.016827059909701347, -0.00565758254379034, 0.8720089197158813, -0.017373783513903618, 0.03341226652264595, 0.02096704952418804, -0.020516913384199142, 0.013276458717882633, -0.011098110117018223, 0.00027644794317893684, -0.0009234003373421729, 0.010913372971117496, -0.041018448770046234, 0.02276896871626377, 0.006456154864281416, 0.031515300273895264, -0.004154721274971962, 0.014433021657168865, 0.005345460958778858, 0.0161878801882267, 0.025546381250023842, -0.0027013765648007393, 0.007572311908006668, 0.00831813458353281, -0.0077792382799088955, 0.001465239212848246, 0.013596858829259872, 0.009959706105291843, -0.20093876123428345, -0.011043516919016838, -8.171216819606844e-33, 0.011917323805391788, -0.017061397433280945, -0.016941474750638008, 0.0230717733502388, 0.023476440459489822, -0.00580700533464551, 0.0030070338398218155, 0.0012532830005511642, 0.010528055019676685, -0.019218185916543007, -0.0025976509787142277, -0.01420081127434969, -0.02331121452152729, -0.0022738385014235973, 0.033957552164793015, -0.02856002002954483, 0.003136359853670001, 0.006918166298419237, -0.014158437959849834, 0.021545520052313805, 0.011586911045014858, 0.034616850316524506, -0.014593211002647877, 0.007274814415723085, 0.0398072674870491, 0.01726369559764862, 0.002449030987918377, 0.02014138363301754, -0.005242339335381985, -0.03753601759672165, 0.00012194283044664189, 0.024856438860297203, -0.007114130072295666, -0.0475495420396328, -0.007588944397866726, -0.02926887944340706, -0.0247044675052166, 0.008596774190664291, -0.0114139374345541, -0.030637729912996292, -0.027195900678634644, 0.002649409929290414, -0.06446033716201782, 0.01766960322856903, -0.005619540810585022, -0.0029050419107079506, -0.007160165347158909, 0.06450895965099335, 0.011786705814301968, -0.030449278652668, -0.0037812653463333845, 0.0075271581299602985, 0.00017700441821943969, 0.022476645186543465, -0.023800067603588104, 0.02195068448781967, 0.005708010867238045, -0.009735592640936375, 0.03572533652186394, 0.036175038665533066, 0.013185297138988972, 0.013092370703816414, -0.030631517991423607, 0.03059917874634266, -0.007652158383280039, -0.01842043176293373, 0.012475894764065742, 0.01145185437053442, 0.012071164324879646, -0.0012860106071457267, -0.06149681285023689, -0.002642599865794182, -0.016728384420275688, -0.013925702311098576, -0.02061661332845688, -0.037184931337833405, 0.00658290833234787, 0.002514871535822749, -0.0021018250845372677, 0.015127827413380146, 0.03308385610580444, 0.014757228083908558, 0.014728697948157787, -0.028022201731801033, -0.013332150876522064, 0.008332534693181515, 0.025207487866282463, -0.021530650556087494, -0.030040420591831207, 0.0249624066054821, 0.046267420053482056, -0.000004456137503439095, 0.04795796796679497, -0.017872268334031105, -0.005021559540182352, 8.092775346892504e-33, -0.02207781746983528, -0.03847579285502434, -0.00932492595165968, 0.010565322823822498, 0.0006852780934423208, 0.004408723674714565, 0.012678597122430801, -0.020104993134737015, -0.05625094845890999, 0.027178768068552017, -0.014022165909409523, 0.017169279977679253, -0.030639952048659325, 0.02714703604578972, 0.051963187754154205, -0.04446573927998543, 0.025650400668382645, 0.01447769720107317, 0.052139751613140106, 0.0375378355383873, 0.030058184638619423, -0.004026138223707676, 0.000028258291422389448, -0.02972649224102497, 0.006321988068521023, 0.04675602540373802, -0.03819405287504196, 0.041919343173503876, -0.004672920797020197, -0.01661045290529728, -0.0112577173858881, 0.010667187161743641, 0.00894872285425663, -0.0151258185505867, -0.018706155940890312, -0.0017532574711367488, 0.023736096918582916, -0.03903384879231453, 0.006543837487697601, -0.014250190928578377, 0.0032404751982539892, 0.021290931850671768, -0.013196615502238274, 0.04081286862492561, -0.012983622960746288, 0.02423815429210663, 0.01404526550322771, -0.02802458591759205, -0.009510837495326996, -0.008092704229056835, 0.01935025304555893, -0.0004997416399419308, 0.01405937597155571, 0.011482697911560535, -0.012417248450219631, -0.018153579905629158, -0.014425132423639297, -0.005972016137093306, 0.012571766972541809, 0.026972739025950432, -0.020559579133987427, -0.011148559860885143, -0.013508687727153301, -0.0035851013381034136, -0.006095340941101313, -0.0022657623048871756, -0.009580262005329132, 0.0018935463158413768, -0.005780783947557211, -0.016720769926905632, -0.022098084911704063, -0.012945850379765034, 0.03064628690481186, 0.024630308151245117, -0.020553844049572945, -0.0066169206984341145, -0.019822072237730026, 0.00019811686070170254, -0.012467140331864357, 0.011016912758350372, -0.0007832376868464053, 0.015261753462255001, -0.011420194990932941, 0.015479905530810356, -0.022190788760781288, 0.018950214609503746, 0.023439133539795876, 0.04429785534739494, -0.017551036551594734, -0.015886686742305756, -0.033018868416547775, -0.01575479656457901, 0.0318431556224823, 0.003955287393182516, 0.03352221101522446, -1.3848904245605809e-8, -0.033475205302238464, 0.002981124445796013, -0.015557496808469296, -0.03428966924548149, 0.0417795293033123, 0.00919620506465435, -0.012832843698561192, 0.008353723213076591, -0.017822792753577232, -0.008560150861740112, 0.03889898583292961, 0.023188913241028786, 0.0015908146742731333, -0.00019954676099587232, 0.02832905389368534, -0.02693665400147438, -0.018640834838151932, -0.01833890564739704, 0.027624938637018204, 0.009286591783165932, 0.02165512554347515, 0.052635807543992996, -0.016281617805361748, 0.013268101960420609, -0.009823974221944809, 0.024177489802241325, 0.025993894785642624, -0.06841334700584412, -0.025635430589318275, -0.00012806817539967597, 0.0057548051699995995, -0.034277141094207764, 0.00906386785209179, 0.05551900714635849, -0.026644671335816383, -0.031168965622782707, 0.00632091099396348, 0.01910516433417797, 0.0010936424368992448, -0.003324890974909067, 0.0179375559091568, 0.0022734866943210363, -0.013206692412495613, -0.018019182607531548, -0.006334202829748392, -0.0013934363378211856, 0.012194898910820484, -0.007719474378973246, -0.026251140981912613, -0.0023715628776699305, 0.030079811811447144, 0.0027452094946056604, 0.00673300726339221, 0.016907187178730965, -0.005063822027295828, -0.012427566573023796, -0.01806739717721939, -0.008200909942388535, -0.02288387343287468, 0.03403377905488014, -0.0006675037438981235, 0.01588989794254303, -0.021771442145109177, -0.026177387684583664 ]
coding-connascence-some-examples
https://markhneedham.com/blog/2009/10/28/coding-connascence-some-examples
false
2009-10-17 09:16:12
Treating Javascript as an integration point
[ "javascript" ]
[ "Javascript" ]
A couple of weeks ago http://www.markhneedham.com/blog/2009/10/05/my-software-development-journey-year-3-4/[I wrote a post about my software development journey] over the last year and towards the end I described the difficulties we were having in making changes to some C# code while being sure that we hadn't broken javascript functionality that also relied on that code. We typically have code which looks like this: [source,csharp] ---- public class SomeController { public ActionResult SomeControllerAction() { var someModel = new SomeModel { Property1 = "my Property" }; return new JsonResult { Data = someModel }; } } public class SomeModel { public string Property1 { get; set; } } ---- We would make use of this type of object in javascript code like so: [source,javascript] ---- $.getJSON("/SomeController/SomeControllerAction", function(data){ var value = data.Property1; // do some cool stuff with that value } ); ---- My colleague Raymond Maung recently came up with the idea of writing tests to ensure that the properties we make use of in Javascript exist on the C# objects which we return in JSON calls. We now have a testing extension method which uses reflection to check that the expected properties are set. [source,csharp] ---- public static class TestingExtensions { public static void AssertHasProperty(this Type type, string propertyName) { var property = type.GetProperty(propertyName); Assert.IsNotNull(property, "Expected {0} to have property '{1}' but it didn't", type.Name, propertyName); } } ---- [source,csharp] ---- [Test] public void ShouldEnsurePropertiesRequiredInJavascriptAreSet() { var type = typeof(SomeModel); type.AssertHasProperty("Property1"); // and so on } ---- It still requires the developer to remember to put a test in if they add a property to the C# model but I think it's working better than having to switch between the javascript and C# files checking that you haven't broken anything.
null
null
[ 0.0020027970895171165, -0.02022559382021427, -0.009145797230303288, 0.035286203026771545, 0.06285625696182251, 0.005164104513823986, 0.05243012681603432, 0.03163101151585579, -0.008027136325836182, -0.018737059086561203, -0.02474346198141575, 0.008495239540934563, -0.0893469825387001, 0.025250209495425224, -0.0281185582280159, 0.06412627547979355, 0.09917093813419342, -0.025613795965909958, 0.04222956672310829, -0.008395330980420113, -0.006223949603736401, 0.06879409402608871, -0.009550408460199833, 0.02977147325873375, 0.04045042395591736, 0.023535598069429398, -0.00544730294495821, -0.002857884857803583, -0.07101722806692123, -0.00876601506024599, 0.02237822487950325, 0.0280768945813179, -0.0005424406263045967, -0.014111870899796486, 0.004467946942895651, -0.008000343106687069, -0.005684494506567717, 0.010837397538125515, -0.009593138471245766, 0.030162358656525612, -0.0644792914390564, 0.028787408024072647, 0.0020447694696485996, 0.026998262852430344, -0.03624054044485092, 0.005330847110599279, -0.041292399168014526, -0.021437037736177444, -0.04270467162132263, -0.02098236046731472, -0.05767609551548958, 0.03499457240104675, -0.06286642700433731, 0.0199956726282835, 0.002716164803132415, 0.057722605764865875, 0.012558706104755402, -0.07337569445371628, 0.014378306455910206, -0.060349613428115845, 0.030578965321183205, -0.0053855362348258495, 0.0015314345946535468, 0.030577784404158592, 0.020528504624962807, 0.00012042763410136104, 0.007354778703302145, 0.04337957873940468, -0.03334180265665054, -0.0014237381983548403, 0.002474175300449133, 0.004499151837080717, -0.011288591660559177, 0.005848491098731756, 0.011477690190076828, -0.03686857968568802, -0.016935598105192184, 0.03799937292933464, 0.008782438933849335, 0.04955127090215683, -0.006320540327578783, 0.021495822817087173, 0.03043942153453827, -0.004353018011897802, 0.0037410533986985683, -0.04163287580013275, -0.001927924808114767, 0.01603178307414055, -0.03360610082745552, 0.052460480481386185, 0.03704424202442169, -0.011121867224574089, 0.02610291726887226, 0.041280705481767654, 0.010796061716973782, -0.00831461139023304, 0.0049887183122336864, -0.009374069981276989, -0.023172756657004356, -0.013394915498793125, -0.03765292838215828, 0.005099134519696236, 0.01595659740269184, 0.0011876537464559078, -0.073390431702137, -0.001851396169513464, -0.02139439806342125, -0.002329183742403984, 0.007680722512304783, 0.025462094694375992, -0.03464280441403389, 0.028833115473389626, -0.028505370020866394, -0.011755028739571571, -0.06445010751485825, 0.04512288421392441, 0.0020691524259746075, 0.0028001221362501383, 0.008142858743667603, 0.04279303550720215, 0.04746704176068306, -0.0029768389649689198, -0.04402422904968262, 0.07444845139980316, 0.012937456369400024, 0.042530082166194916, -0.025552313774824142, 0.051789212971925735, -0.002245356095954776, -0.08372768014669418, 0.0021944427862763405, 0.03565545752644539, -0.01738777570426464, 0.007143693044781685, 0.012174872681498528, -0.00274223112501204, 0.01640750840306282, 0.0014344383962452412, 0.044508274644613266, 0.041521791368722916, -0.04810071364045143, -0.05470018461346626, 0.015809690579771996, -0.004724634811282158, -0.011006619781255722, 0.03661978244781494, -0.02373543754220009, -0.03215235099196434, -0.03560343012213707, 0.05917830765247345, 0.017349019646644592, 0.06675589829683304, 0.049624644219875336, -0.03671475127339363, -0.0009531452087685466, 0.062436293810606, -0.0007989520090632141, 0.02082025073468685, -0.0092569999396801, 0.010313257575035095, 0.05181994289159775, 0.028832877054810524, 0.028389113023877144, 0.04705500230193138, 0.014591843821108341, 0.016176851466298103, -0.0034012056421488523, 0.06069095432758331, -0.008317815139889717, -0.022326158359646797, -0.05425063520669937, -0.042953260242938995, 0.042702239006757736, -0.05949585884809494, -0.006438846699893475, 0.05692429095506668, 0.058860741555690765, -0.009540973231196404, 0.05909067019820213, 0.009570603258907795, -0.08433140069246292, 0.021564031019806862, 0.007552383933216333, -0.007691936567425728, 0.03130966052412987, 0.01374039240181446, 0.05009564384818077, 0.022547027096152306, -0.006064258515834808, 0.014976724982261658, -0.07595975697040558, -0.07805886119604111, -0.034514617174863815, -0.02010623924434185, 0.061518967151641846, -0.03286198154091835, -0.016308683902025223, 0.07762975990772247, 0.018100937828421593, 0.05370212718844414, 0.022204261273145676, -0.05117765814065933, 0.012745465151965618, -0.015217847190797329, -0.0269794799387455, 0.03419547155499458, 0.037666622549295425, 0.01679733768105507, -0.041445471346378326, 0.0048069581389427185, -0.008101744577288628, -0.01454206183552742, 0.04891488701105118, -0.01487425621598959, 0.04886902496218681, 0.009086955338716507, 0.034718796610832214, -0.0474386140704155, 0.05423080548644066, -0.08306249976158142, 0.022429920732975006, 0.005458805710077286, -0.019736748188734055, -0.016186289489269257, 0.0014561591669917107, 0.11610632389783859, 0.06683725863695145, -0.027873050421476364, -0.04292263463139534, 0.008673900738358498, 0.011018997989594936, -0.045544546097517014, -0.005047628190368414, -0.029975634068250656, 0.007454237435013056, 0.012274363078176975, -0.029756201431155205, -0.021092107519507408, -0.006058057304471731, -0.02462075650691986, 0.04314788803458214, 0.06781338155269623, -0.022775990888476372, 0.04516595974564552, -0.006759712938219309, -0.018663374707102776, 0.023272186517715454, -0.021920911967754364, -0.05131649971008301, -0.020638931542634964, 0.024678247049450874, -0.008853225968778133, 0.05250658094882965, -0.018756061792373657, -0.01874115690588951, -0.019105302169919014, -0.04455585405230522, -0.004402886610478163, 0.01904565840959549, 0.0636223778128624, 0.0048858593218028545, 0.052982598543167114, -0.01219087839126587, 0.004949274938553572, 0.0017368393018841743, -0.039827778935432434, 0.015547292307019234, -0.015430946834385395, 0.02145618200302124, 0.041316766291856766, -0.0019576651975512505, 0.006182864774018526, 0.032090455293655396, 0.0046659777872264385, -0.03916943445801735, -0.003137066261842847, 0.03460736945271492, 0.0015955587150529027, -0.027030307799577713, -0.021612515673041344, -0.04467242956161499, 0.015965444967150688, -0.033272214233875275, -0.052519138902425766, 0.009073538705706596, -0.10271171480417252, 0.03195784240961075, -0.0677969828248024, -0.05577076971530914, -0.0038185445591807365, 0.008131039328873158, 0.01519757229834795, -0.009259422309696674, 0.04506031796336174, 0.08295018970966339, 0.00888823065906763, 0.021506035700440407, 0.004864285700023174, 0.0008759658667258918, 0.024747371673583984, -0.02036137506365776, 0.011685101315379143, 0.027814429253339767, 0.0013957368209958076, 0.008803857490420341, -0.029519787058234215, 0.02970709651708603, -0.006445155944675207, -0.26652881503105164, 0.03527543693780899, -0.014676653780043125, -0.056024372577667236, 0.031341612339019775, -0.0010897188913077116, 0.034055568277835846, -0.058712832629680634, -0.009336893446743488, 0.06480404734611511, -0.03506845235824585, -0.05679650977253914, -0.020882325246930122, 0.05867427587509155, 0.0033582975156605244, -0.010932299308478832, -0.00038238841807469726, -0.0240449458360672, 0.003855236107483506, 0.04595952481031418, -0.015842029824852943, -0.06771684437990189, 0.011004045605659485, 0.04552861675620079, 0.040419988334178925, 0.06002947315573692, -0.08265651762485504, 0.0555340051651001, -0.030675070360302925, 0.007763362955302, -0.00971552636474371, 0.023258211091160774, 0.009534511715173721, -0.020992204546928406, -0.03378446027636528, 0.0015437986003234982, 0.018376823514699936, 0.020366275683045387, -0.018483618274331093, 0.024713274091482162, -0.04714341089129448, -0.03504565730690956, -0.025106584653258324, 0.0069140540435910225, 0.07441577315330505, -0.016914773732423782, -0.07672169804573059, -0.006986900232732296, -0.06337761878967285, 0.08318272978067398, -0.023889055475592613, -0.018055109307169914, -0.00963972881436348, 0.049032535403966904, -0.02479667402803898, -0.01708434335887432, 0.035634614527225494, -0.0012952520046383142, -0.04537041857838631, -0.027286911383271217, -0.01355393510311842, -0.04172957316040993, -0.01592075638473034, -0.03534561023116112, 0.007137947715818882, -0.07250984758138657, -0.06336253136396408, -0.020835578441619873, 0.07198601216077805, 0.010571117512881756, -0.01857941783964634, 0.0016710256459191442, 0.012614213861525059, -0.12477028369903564, 0.012167848646640778, -0.03341272100806236, -0.014780965633690357, -0.05551200732588768, -0.00019005677313543856, 0.03669874370098114, -0.03118935227394104, -0.03542083501815796, 0.028359776362776756, 0.00666499650105834, 0.006501828785985708, 0.009318806231021881, 0.04296789690852165, 0.0007183862035162747, -0.017363691702485085, -0.005585360340774059, 0.08438517153263092, -0.026926634833216667, 0.003207345260307193, -0.041275572031736374, 0.006947253365069628, 0.017052052542567253, 0.033508844673633575, -0.02362469770014286, 0.025230059400200844, 0.0031359591521322727, 0.04326082766056061, -0.06751254945993423, 0.032011739909648895, -0.031535450369119644, 0.017336701974272728, -0.035725049674510956, -0.06124454736709595, 0.04093796759843826, 0.042291611433029175, 0.015189619734883308, -0.00003464644032646902, -0.0268555898219347, -0.009489492513239384, -0.05647171661257744, -0.0016707663889974356, -0.04316899552941322, 0.001863544574007392, 0.030966538935899734, -0.012334761209785938, -0.031605273485183716, -0.04497343674302101, 0.012429023161530495, 0.012548830360174179, 0.007018769159913063, -0.07645246386528015, -0.03119629994034767, -0.010846070945262909, -0.002389834728091955, -0.0007585820858366787, 0.01361624151468277, -0.024625416845083237, 0.04625367373228073, 0.0055404179729521275, -0.02882128767669201, -0.017656555399298668, 0.0002240520843770355, -0.01676563173532486, -0.03513434901833534, -0.014691713266074657, -0.022757524624466896, -0.006527628283947706, -0.013040214776992798, 0.013017171993851662, 0.013263707049190998, 0.049150317907333374, 0.021552981808781624, 0.03349785879254341, 0.0238508153706789, 0.007845322601497173, 0.009710165672004223, -0.004536613821983337, -0.07265210896730423, 0.013692309148609638, -0.02148454450070858, -0.03882070258259773, -0.04711900278925896, 0.021679658442735672, -0.014119705185294151, -0.028651447966694832, -0.03375761955976486, 0.03734550625085831, -0.05551017075777054, -0.05044069513678551, -0.022936541587114334, 0.010763974860310555, 0.04554328694939613, -0.0001875049201771617, 0.050704386085271835, -0.04023197665810585, -0.002664244268089533, 0.014053013175725937, -0.0016641818219795823, -0.01769602857530117, 0.01766827702522278, -0.009851457551121712, -0.005541274324059486, 0.003222340950742364, 0.01383135560899973, 0.031263381242752075, 0.03082175739109516, 0.04640011116862297, -0.02941577322781086, 0.01224987581372261, 0.011107899248600006, 0.03760835900902748, -0.0005398880457505584, -0.0007177990046329796, -0.022054309025406837, -0.005941944196820259, -0.012291967868804932, -0.03683449327945709, -0.023013046011328697, -0.026176467537879944, 0.02780451625585556, -0.045048683881759644, -0.07567597925662994, 0.023081138730049133, 0.008392867632210255, 0.03598975017666817, 0.029500236734747887, -0.0010362372267991304, 0.00016628533194307238, 0.0008119610720314085, 0.029965125024318695, 0.06708557158708572, -0.04158070310950279, 0.018463274464011192, 0.008621511049568653, 0.0020006916020065546, 0.025235192850232124, 0.008216341957449913, -0.044550616294145584, -0.014420505613088608, -0.026120517402887344, -0.013248085044324398, -0.04292415454983711, -0.024441255256533623, -0.030702603980898857, 0.009663254953920841, -0.016137657687067986, -0.031164880841970444, 0.0034038189332932234, 0.009843746200203896, -0.026906415820121765, -0.013724109157919884, 0.013125118799507618, -0.04810784384608269, 0.004445481114089489, 0.03702458739280701, -0.05040007457137108, 0.011025900021195412, -0.008516254834830761, 0.01183699257671833, 0.02035117894411087, -0.029930323362350464, -0.04389346390962601, -0.04642350971698761, 0.0038160928525030613, 0.006943505723029375, 0.07374498248100281, -0.007766387425363064, -0.026692867279052734, -0.025953784584999084, -0.026730217039585114, -0.01848447322845459, 0.010241472162306309, -0.04078734666109085, -0.02544851414859295, 0.03136783093214035, 0.04711044579744339, 0.021111788228154182, 0.025585249066352844, 0.0012351316399872303, -0.0017784652300179005, 0.0835476666688919, -0.07871438562870026, 0.00003524048952385783, -0.015408477745950222, -0.057598814368247986, 0.013694848865270615, 0.010368937626481056, 0.03444068506360054, -0.04349173605442047, 0.05967729166150093, 0.03697961941361427, 0.022455792874097824, 0.02302350103855133, 0.0032932593021541834, 0.023996563628315926, -0.05645838752388954, 0.005319085903465748, -0.07845789194107056, 0.04103253781795502, 0.03761515021324158, 0.0034808767959475517, -0.02972595952451229, -0.012876953929662704, -0.041643574833869934, 0.04716424271464348, -0.061937589198350906, -0.026119431480765343, 0.0449259914457798, -0.002164504025131464, -0.014019767753779888, -0.002743314951658249, -0.05281180515885353, 0.038294896483421326, 0.0466301292181015, -0.03257794305682182, -0.04328196495771408, -0.031168196350336075, 0.029087426140904427, 0.034909266978502274, 0.013281362131237984, -0.06106747314333916, 0.0060957386158406734, 0.05112556368112564, 0.023972082883119583, 0.020641183480620384, 0.054573509842157364, -0.05684029310941696, 0.030180303379893303, 0.023906635120511055, -0.017319392412900925, -0.007710972335189581, 0.002332086442038417, 0.014599828980863094, -0.054468341171741486, 0.012231403030455112, 0.02592119388282299, -0.04944209009408951, -0.05170320346951485, 0.06419017910957336, 0.015409671701490879, -0.009213527664542198, -0.04459868744015694, -0.008052823133766651, -0.03463517501950264, -0.02694639191031456, -0.021087899804115295, 0.023811623454093933, -0.018241528421640396, 0.06836815178394318, -0.0015540721360594034, -0.007082978263497353, 0.0701904445886612, -0.01102996151894331, 0.01836763694882393, -0.006791311781853437, 0.07188670337200165, 0.08338804543018341, 0.027194462716579437, -0.014518204145133495, 0.061721961945295334, -0.021985134109854698, -0.04622415825724602, 0.024403095245361328, -0.04384224861860275, -0.004030318930745125, -0.01894054375588894, 0.018644215539097786, 0.07522455602884293, 0.011812969110906124, 0.06774227321147919, -0.07222160696983337, -0.01798084005713463, -0.01397004909813404, 0.02838277630507946, 0.004916718229651451, 0.031081974506378174, 0.016335414722561836, 0.004742309916764498, 0.02251715399324894, -0.03805059939622879, 0.03239654004573822, -0.030878426507115364, -0.0290530938655138, 0.014594499953091145, -0.0008301659254357219, 0.01493309810757637, -0.006766846869140863, 0.02553522400557995, 0.08037910610437393, -0.02616158314049244, 0.010109919123351574, -0.009122989140450954, 0.03905540332198143, 0.008171780034899712, -0.017023226246237755, -0.01619652472436428, -0.004674346651881933, 0.0017933289054781199, -0.010083796456456184, 0.012025856412947178, -0.02421257086098194, -0.014286668039858341, 0.04531979188323021, -0.030053868889808655, 0.03251960128545761, 0.012596985325217247, 0.023189060389995575, -0.030815236270427704, -0.06401731073856354, -0.0687573105096817, -0.024090176448225975, -0.06680112332105637, -0.030593208968639374, 0.04253131523728371, -0.015723424032330513, -0.03332880139350891, -0.02920980006456375, 0.0014823246747255325, 0.0072023035027086735, 0.0642966702580452, -0.016532184556126595, -0.028203168883919716, 0.02826935052871704, -0.0006840825662948191, 0.04535280913114548, 0.04607606679201126, 0.03149864822626114, -0.027691682800650597, -0.012242774479091167, -0.06520341336727142, -0.031240642070770264, 0.04785184562206268, 0.0008519539842382073, 0.03665447235107422, -0.0579042062163353, 0.03652764856815338, -0.012702897191047668, -0.016833430156111717, -0.056789129972457886, 0.002695441246032715, -0.0006411211215890944, -0.020796986296772957, 0.06352665275335312, -0.011512421071529388, 0.004759773146361113, -0.020739169791340828, -0.014191599562764168, 0.018995394930243492, 0.025491807609796524, 0.02940559946000576, -0.02790869027376175, 0.07499660551548004, 0.018384046852588654, -0.022558849304914474, -0.019715214148163795, 0.0030239010229706764, 0.005441580433398485, 0.0018026771722361445, -0.04873448237776756, -0.016792351379990578, -0.026969339698553085, -0.05531124770641327, -0.01714327745139599, 0.014578121714293957, -0.01265942957252264, -0.027934303507208824, 0.021003609523177147, 0.0348118357360363, -0.07045304775238037, 0.024081595242023468, -0.019388820976018906, 0.051111627370119095, -0.019938291981816292, -0.02294873259961605, 0.026301836594939232, 0.004641854204237461, 0.0023650468792766333, 0.0064406199380755424, 0.022835049778223038, -0.041114483028650284, -0.011340996250510216, -0.016276685521006584, 0.009901342913508415, 0.03684051334857941, -0.030741268768906593, 0.015455516055226326 ]
[ -0.12490580976009369, -0.009070371277630329, -0.0061025009490549564, -0.03737339749932289, 0.030898278579115868, -0.024738620966672897, 0.0358256921172142, 0.020951464772224426, -0.008383248001337051, 0.000275608355877921, -0.02522442489862442, -0.0034107977990061045, -0.0329633504152298, 0.00783135462552309, 0.0904926136136055, 0.030143357813358307, -0.020227260887622833, -0.024079283699393272, -0.025862229987978935, 0.023392081260681152, 0.042244598269462585, -0.02320129983127117, -0.03805849701166153, -0.030647624284029007, 0.005128434859216213, 0.028011702001094818, 0.04379021003842354, -0.024040961638092995, 0.01286581065505743, -0.18264035880565643, -0.022254742681980133, -0.03375342860817909, 0.035136640071868896, -0.010197737254202366, 0.0018523564795032144, 0.010853132233023643, -0.003899546107277274, 0.03880384564399719, -0.009943611919879913, 0.05885858088731766, 0.021522266790270805, 0.03903273865580559, -0.03717087581753731, -0.013338269665837288, 0.050267964601516724, -0.015204150229692459, 0.03371187299489975, -0.03430822119116783, -0.012452006340026855, 0.00913768820464611, -0.06177063286304474, -0.06264784187078476, -0.009233240969479084, -0.0350329764187336, 0.017566945403814316, 0.028770584613084793, 0.013607476837933064, 0.06778130680322647, 0.04044578969478607, 0.04841871187090874, 0.010002430528402328, -0.036440230906009674, -0.11484796553850174, 0.10513006895780563, 0.04911895468831062, 0.07273395359516144, 0.003121257061138749, -0.035909827798604965, 0.019896769896149635, 0.07429041713476181, 0.0592731311917305, -0.01922152191400528, -0.027437448501586914, 0.05478635057806969, -0.012523850426077843, -0.03392898291349411, -0.00714881531894207, 0.02374473586678505, 0.05660703405737877, -0.030218109488487244, -0.06306098401546478, -0.03287728130817413, 0.014126989990472794, -0.027652733027935028, -0.03274098411202431, 0.03225163742899895, -0.016698045656085014, 0.031312257051467896, 0.05392467975616455, 0.03938249126076698, 0.03221215307712555, -0.038816239684820175, 0.045126382261514664, 0.012806535698473454, -0.11580885201692581, -0.004842163994908333, -0.01694577746093273, -0.010786008089780807, -0.0419868566095829, 0.39083993434906006, -0.030824972316622734, -0.04438359662890434, 0.05681867152452469, -0.006232754327356815, -0.023308726027607918, 0.015543422661721706, -0.005876534152776003, -0.04617072641849518, 0.019483590498566628, -0.04246276989579201, -0.010654538869857788, 0.032995909452438354, 0.009997690096497536, -0.024965481832623482, -0.03558041900396347, 0.005705154500901699, 0.010912533849477768, 0.015296835452318192, -0.00483967550098896, -0.0018039464484900236, 0.0287628173828125, 0.0007508943090215325, 0.01940283179283142, 0.022105149924755096, 0.026829075068235397, -0.0470573753118515, 0.02844853512942791, 0.06095808744430542, 0.02981044538319111, 0.010380012914538383, 0.03681508079171181, -0.033629409968853, -0.0790008008480072, -0.009934576228260994, 0.02471769228577614, 0.011303811334073544, 0.02483072504401207, -0.012913777492940426, 0.018633052706718445, 0.018742185086011887, -0.018948927521705627, -0.03092833422124386, 0.016824055463075638, -0.021555691957473755, -0.049398668110370636, 0.09298659861087799, -0.006865144707262516, -0.021636683493852615, -0.021045366302132607, -0.011358682066202164, 0.005107712000608444, 0.06709891557693481, -0.018815048038959503, -0.041202276945114136, 0.033544231206178665, 0.013090922497212887, 0.06217613443732262, -0.02587912231683731, -0.025831127539277077, -0.02634986862540245, -0.03959204629063606, 0.03243449330329895, -0.0403064526617527, 0.03313116356730461, 0.03254113718867302, -0.11268460750579834, -0.034319233149290085, 0.014998256228864193, 0.012659739702939987, -0.07836786657571793, -0.03321472927927971, 0.025431988760828972, -0.0607590489089489, -0.02068690024316311, 0.05380650609731674, 0.00029477610951289535, -0.0458642840385437, 0.0021588588133454323, 0.02875112183392048, 0.016353437677025795, -0.014275523833930492, 0.027734743431210518, -0.06664634495973587, 0.018708357587456703, 0.00317205348983407, -0.06583436578512192, -0.03390201926231384, -0.007755056954920292, -0.02442767098546028, -0.004685807507485151, -0.01356694009155035, -0.0444352924823761, -0.0785825103521347, 0.10305935144424438, -0.031016625463962555, -0.006090298295021057, 0.025672294199466705, -0.020375190302729607, 0.03554152324795723, -0.0349847637116909, 0.03613438829779625, 0.044464580714702606, 0.007286970037966967, 0.03675359860062599, -0.06912816315889359, 0.06291845440864563, 0.052417706698179245, -0.036868296563625336, 0.04869255796074867, 0.04449762776494026, -0.054650962352752686, -0.012871529906988144, 0.008853865787386894, 0.01796073466539383, 0.00819725263863802, -0.021734772250056267, -0.03010724112391472, 0.04926621541380882, 0.015873566269874573, 0.02510141395032406, -0.07881974428892136, -0.0018538935109972954, 0.011693604290485382, -0.33004963397979736, -0.023475680500268936, -0.04332752525806427, -0.031281840056180954, 0.007405620999634266, -0.07553403079509735, 0.006482881028205156, -0.014219229109585285, -0.043043702840805054, -0.031051158905029297, 0.10442380607128143, -0.029844410717487335, 0.0021307312417775393, -0.08045630902051926, 0.01433794666081667, 0.02046969160437584, -0.01743139512836933, -0.06311453878879547, -0.047838885337114334, 0.021648092195391655, -0.0037783049046993256, 0.015224502421915531, -0.015064285136759281, -0.05597687512636185, 0.027165887877345085, -0.0799010619521141, 0.08161318302154541, -0.03483695164322853, 0.10827359557151794, -0.01118473894894123, 0.06207623332738876, -0.016149384900927544, 0.019071713089942932, -0.08077418059110641, -0.0016638842644169927, -0.04923531785607338, -0.03614026680588722, 0.009895076975226402, 0.021477410569787025, -0.009058807976543903, -0.021386737003922462, 0.007209265138953924, -0.04318854585289955, -0.04582994431257248, -0.009942052885890007, -0.016525886952877045, -0.02376960776746273, -0.004338899627327919, -0.021126266568899155, 0.07452086359262466, 0.0002771900617517531, 0.0051295082084834576, 0.040227197110652924, 0.06360828876495361, -0.0018057490233331919, 0.004047494847327471, -0.06492559611797333, -0.005104172043502331, 0.02771655283868313, 0.014241655357182026, 0.06054738909006119, 0.05154559388756752, 0.033434752374887466, -0.05629224702715874, 0.008689920417964458, -0.0031706145964562893, 0.00639379071071744, -0.030193133279681206, 0.05130258575081825, -0.05866405740380287, -0.07194040715694427, 0.09875740855932236, 0.0036940760910511017, 0.005667523480951786, 0.037999410182237625, 0.04981144517660141, -0.010155806317925453, 0.004063730128109455, 0.02335919253528118, 0.00499286875128746, -0.011907079257071018, 0.038719478994607925, 0.02632061019539833, -0.02061927504837513, 0.008038252592086792, 0.030268307775259018, -0.03995896875858307, -0.0052945115603506565, 0.02199385315179825, -0.04522628337144852, -0.044930364936590195, 0.0016846888465806842, -0.00043389704660512507, -0.0955386534333229, 0.0757301077246666, -0.016396423801779747, -0.24236658215522766, -0.006546060089021921, 0.10795090347528458, 0.08013162016868591, -0.022357387468218803, 0.025064866989850998, 0.03605196997523308, -0.052953653037548065, 0.0015910309739410877, 0.041800614446401596, 0.01119894627481699, 0.033420413732528687, 0.008765624836087227, 0.000559181091375649, 0.04798387363553047, -0.02436175011098385, 0.019438767805695534, -0.01798916608095169, 0.04472052678465843, -0.0130074517801404, 0.041188325732946396, 0.013343269936740398, 0.18529851734638214, 0.013753954321146011, 0.04401867464184761, 0.03436531499028206, 0.02981756255030632, 0.03207777813076973, 0.08880806714296341, 0.0016577810747548938, 0.016485249623656273, -0.008201923221349716, 0.0889177992939949, 0.028046883642673492, 0.022677086293697357, -0.10691148042678833, -0.0013683295110240579, 0.032778479158878326, -0.002775382250547409, -0.004163444507867098, -0.01697521097958088, 0.007130913436412811, -0.04053293168544769, 0.01024860329926014, 0.09037639945745468, 0.0065213218331336975, -0.02617361769080162, -0.04561112821102142, -0.041561998426914215, -0.008667453192174435, -0.055200956761837006, -0.05410151556134224, 0.0017241676105186343, -0.04106070101261139, -0.0038402248173952103, 0.05062716826796532, 0.030220819637179375, -0.024310579523444176, -0.01312769204378128, 0.0040237559005618095, 0.016447506844997406, -0.0011532363714650273, 0.06870652735233307, 0.020358404144644737, 0.024617677554488182 ]
[ -0.015374969691038132, -0.014124931767582893, -0.001874571549706161, 0.04015900567173958, 0.012260707095265388, 0.04694102331995964, -0.0035708362702280283, 0.021045181900262833, -0.014627780765295029, 0.0140578243881464, -0.0002923556312453002, -0.009254144504666328, 0.015358633361756802, -0.0048471358604729176, 0.024758633226156235, 0.03776967525482178, -0.006229619961231947, -0.021624578163027763, 0.02539515122771263, 0.02431400865316391, -0.002453126944601536, 0.03831227496266365, -0.009100736118853092, 0.004064938519150019, -0.043628256767988205, -0.014473005197942257, -0.005642593838274479, -0.029144903644919395, 0.019946007058024406, -0.10954659432172775, -0.04311945289373398, -0.024528326466679573, -0.023292172700166702, 0.023019837215542793, -0.021815726533532143, -0.008016560226678848, 0.02396147884428501, -0.003949683625251055, 0.00719028664752841, -0.02119843289256096, -0.009431015700101852, 0.008799523115158081, 0.005209509748965502, -0.02953244000673294, 0.016811633482575417, -0.02310849353671074, 0.012959764339029789, -0.034051842987537384, 0.0021386239677667618, -0.015251570381224155, -0.0214583408087492, -0.04070722684264183, 0.020918335765600204, -0.012527021579444408, 0.00954644475132227, -0.02238709107041359, -0.047613613307476044, 0.010241947136819363, 0.01346999779343605, 0.010509318672120571, 0.03344960883259773, -0.015242135152220726, -0.032997503876686096, -0.02545948699116707, 0.016034936532378197, -0.012877102941274643, -0.01387686375528574, -0.0019596517086029053, -0.0014850266743451357, -0.026394125074148178, 0.018569156527519226, 0.013144251890480518, -0.020226454362273216, 0.007374041248112917, -0.022888392210006714, -0.03242915868759155, -0.01189231313765049, 0.01241407822817564, 0.04311646893620491, -0.006788203027099371, -0.04359344393014908, -0.012116269208490849, -0.03360265865921974, 0.03826417773962021, 0.01487304549664259, -0.012175601907074451, 0.0042760614305734634, -0.002159007592126727, 0.019132351502776146, 0.01332138106226921, -0.06435901671648026, -0.00908615067601204, 0.009032100439071655, 0.04596477001905441, -0.09749092161655426, 0.011876682750880718, -0.01407665479928255, -0.04665866121649742, 0.008122136816382408, 0.8310526609420776, -0.014950001612305641, 0.060121480375528336, 0.054396405816078186, 0.024798717349767685, -0.0021652912255376577, -0.015348339453339577, 0.01850188709795475, 0.027532784268260002, 0.03852081298828125, 0.00993479136377573, 0.029075268656015396, 0.02338803932070732, 0.026284711435437202, 0.01572522707283497, -0.0014934914652258158, 0.01781872846186161, -0.0010571153834462166, 0.01306780707091093, -0.026799185201525688, 0.030681321397423744, 0.003935891203582287, -0.02438388392329216, 0.040231380611658096, -0.022355973720550537, 0.06244020164012909, -0.19771118462085724, 0.01517078559845686, -8.694899552898173e-33, 0.030544493347406387, 0.006782578770071268, 0.02338322065770626, 0.037037577480077744, 0.02690105326473713, -0.01884269528090954, 0.0047845905646681786, 0.03983597829937935, 0.01445921789854765, -0.057356610894203186, -0.003464055946096778, -0.016481274738907814, -0.0028984909877181053, -0.02419411949813366, 0.02283826284110546, -0.013857525773346424, 0.001624483265914023, 0.015368140302598476, 0.035082533955574036, -0.0074185472913086414, 0.053492020815610886, 0.018605653196573257, 0.02664218284189701, -0.0017865386325865984, 0.03117612563073635, -0.0027461093850433826, 0.021235769614577293, 0.03976620361208916, -0.027218636125326157, -0.028356295078992844, 0.009731737896800041, 0.027299359440803528, -0.035237688571214676, -0.0020357437897473574, 0.037457969039678574, -0.015633758157491684, -0.0005145272589288652, -0.014292467385530472, 0.006212317384779453, 0.01652522198855877, -0.04882877320051193, -0.037937894463539124, -0.03377419337630272, -0.017993291839957237, -0.03811841458082199, -0.018706226721405983, 0.015431799925863743, -0.02525186538696289, 0.009651828557252884, 0.03997889533638954, -0.020769037306308746, 0.026389364153146744, 0.01625932939350605, -0.04065494239330292, -0.029261646792292595, 0.008496486581861973, -0.02147160843014717, -0.021249402314424515, -0.006562382914125919, -0.012747260741889477, 0.03030308336019516, -0.036649610847234726, -0.006572952959686518, 0.003338935784995556, -0.004845219198614359, -0.012059513479471207, -0.020285407081246376, -0.022726966068148613, 0.037197984755039215, -0.009583182632923126, -0.03419257700443268, 0.0018401307752355933, -0.00833935011178255, -0.028667081147432327, 0.055268947035074234, -0.02894810028374195, -0.01478130929172039, 0.02361263707280159, 0.015873612836003304, 0.036389660090208054, 0.0008244629134424031, -0.008602078072726727, 0.0061298515647649765, -0.005320858210325241, 0.022175122052431107, 0.008951944299042225, 0.017587782815098763, -0.020871320739388466, 0.0020604031160473824, -0.006712320260703564, 0.027911381796002388, 0.05434355512261391, -0.03161528334021568, -0.018343361094594002, -0.004055669065564871, 8.12545776326521e-33, 0.005787028465420008, -0.022095410153269768, 0.0049256389029324055, 0.011737776920199394, 0.012988216243684292, -0.03239975497126579, 0.02490711770951748, 0.04201820492744446, -0.03365497291088104, 0.02617463655769825, -0.004547078628093004, -0.008513785898685455, -0.025970732793211937, 0.01726662367582321, 0.04776099696755409, -0.03083813190460205, 0.02820192277431488, -0.03488634154200554, 0.020706504583358765, -0.002535013947635889, 0.008947359398007393, 0.016305644065141678, -0.006421611178666353, -0.007359933108091354, 0.005439116153866053, 0.048238687217235565, -0.05495806038379669, 0.020782291889190674, -0.015158027410507202, 0.017785126343369484, 0.00393042853102088, 0.01571887917816639, 0.025133417919278145, -0.06480194628238678, -0.029491351917386055, 0.037106286734342575, 0.0014347446849569678, 0.0020547269377857447, 0.01573070138692856, -0.009433364495635033, 0.027965210378170013, -0.05263784900307655, 0.02906304970383644, 0.01253139041364193, 0.03650457412004471, -0.02381853014230728, -0.0022956635802984238, 0.0010384164052084088, 0.01632108725607395, -0.01012228149920702, 0.048578180372714996, 0.006862402893602848, -0.012086158618330956, 0.00879603810608387, 0.03948025777935982, -0.013076292350888252, -0.02678777649998665, 0.0020755906589329243, -0.01682122051715851, 0.018911749124526978, -0.023112712427973747, 0.014593047089874744, -0.023407666012644768, 0.038367971777915955, -0.023564636707305908, -0.030637945979833603, 0.0034386692568659782, -0.01996770314872265, 0.0012932831887155771, -0.0426069051027298, -0.03198106959462166, -0.03650626167654991, 0.011208527721464634, 0.015311289578676224, 0.019620902836322784, -0.0501069650053978, 0.021086402237415314, 0.017420988529920578, 0.006408036220818758, 0.00795014202594757, 0.021231425926089287, -0.03470341116189957, 0.03820185735821724, -0.004011611454188824, 0.008373443968594074, 0.024973012506961823, -0.03552886098623276, -0.03704731538891792, -0.019371209666132927, 0.010128654539585114, -0.04573208466172218, 0.008189897984266281, 0.006532304920256138, -0.011991503648459911, -0.04308777302503586, -1.3465058401607166e-8, -0.04858286678791046, 0.04164508357644081, -0.004751694388687611, -0.0022421604953706264, 0.013203098438680172, 0.01079029031097889, -0.025910209864377975, -0.023853065446019173, 0.0062574283219873905, 0.012636496685445309, 0.035576723515987396, 0.023673832416534424, -0.006604451220482588, 0.021504363045096397, -0.007388411555439234, -0.062081675976514816, -0.04709887132048607, 0.01046889740973711, 0.0030576225835829973, 0.026894697919487953, 0.0002065560984192416, 0.04475502669811249, -0.005613888148218393, -0.008104829117655754, 0.061185650527477264, -0.014585355296730995, -0.005934320390224457, -0.08128517866134644, 0.017910921946167946, 0.017016468569636345, -0.026202164590358734, -0.006408958695828915, -0.01877623423933983, 0.01680905930697918, -0.045151643455028534, -0.0235154889523983, 0.03598308190703392, 0.03239394351840019, 0.008646448142826557, 0.017855828627943993, 0.035320233553647995, 0.018512070178985596, -0.004150092136114836, -0.001564274076372385, -0.0035665726754814386, 0.01859070360660553, -0.01862972602248192, 0.014329826459288597, 0.012209998443722725, -0.029792824760079384, -0.01441268902271986, 0.0069147078320384026, 0.014706452377140522, -0.0011711186962202191, -0.02232799120247364, 0.02117103524506092, 0.011383921839296818, -0.035312049090862274, -0.06115616485476494, 0.012179081328213215, 0.03915651887655258, -0.016733841970562935, -0.05112631246447563, -0.033654022961854935 ]
treating-javascript-as-an-integration-point
https://markhneedham.com/blog/2009/10/17/treating-javascript-as-an-integration-point
false
2009-10-10 11:07:21
TDD: Keeping assertions clear
[ "tdd" ]
[ "Testing" ]
Something which I noticed was a problem with the first example test that I provided in my post about http://www.markhneedham.com/blog/2009/10/10/coding-api-readabilitytestability/[API readability and testability] is that the assertion we are making is not that great. [source,csharp] ---- [Test] public void ShouldConstructModelForSomeSituation() { Assert.AreEqual(DateTime.Today.ToDisplayFormat(), model.SomeDate()); } ---- It's not really obvious what the expected result is supposed to be except that it should be the 'DisplayFormat'. If that fails then we'll need to navigate to the 'ToDisplayFormat' method to work out what that method does. I think it should be possible to immediately know why a test failed so that we can address the problem straight away without too much investigation. In this example we changed the way the code was working which coincidentally allowed us to make the assertion more obvious. [source,csharp] ---- [Test] public void ShouldConstructModelForSomeSituation() { Assert.AreEqual("10 Oct 2009", model.SomeDate()); } ---- http://erik.doernenburg.com/[Erik] pointed out another example of this a few weeks ago while we were working on some HTML helper code. The tests in question looked roughly like this: [source,csharp] ---- [Test] public void ShouldConstructReadOnlyValue() { var readOnlyValue = new HtmlHelper().ReadOnlyValue("someId", "someValue", 'someTextValue'); ... var expectedValue = new TestHtmlBuilder().AddLabel("someId", "someTextValue").AddHiddenField("someId", "someValue").Build(); Assert.AreEqual(expectedValue, readOnlyValue); } ---- The test reads reasonably nicely and it's fairly obvious what it is we're testing for. The problem here is that we've hidden away our expectation and in this case we actually found out that the 'TestHtmlBuilder' had extra spaces in some places so all our assertions were incorrect and we didn't even know! In addition we end up *duplicating the logic that the 'HtmlHelper' is doing* if we create test assertion helpers like these. [source,csharp] ---- [Test] public void ShouldConstructReadOnlyValue() { var readOnlyValue = new HtmlHelper().ReadOnlyValue("someId", "someValue", 'someTextValue'); ... var expectedValue = @"<input type=""hidden"" id=""someId"" value=""someId"" /><label for=""someId"">someValue</label>"; Assert.AreEqual(expectedValue, readOnlyValue); } ---- The new test doesn't look as clean as the old one but the assertion is much more obvious so if it fails then we can quickly work out why.
null
null
[ 0.007538415491580963, -0.020352277904748917, -0.02337963692843914, 0.05763787776231766, 0.0671934187412262, -0.006963049061596394, 0.03816204518079758, 0.03564972057938576, 0.012364919297397137, -0.019052909687161446, 0.012549794279038906, 0.004761144518852234, -0.08249486237764359, 0.03303280845284462, -0.037596073001623154, 0.08064067363739014, 0.0779241994023323, -0.007146267220377922, 0.03829478845000267, -0.015946706756949425, 0.004722051788121462, 0.03338054195046425, -0.011018913239240646, 0.019058864563703537, 0.0457659587264061, 0.01078805048018694, 0.000153763045091182, -0.026264511048793793, -0.07582554966211319, -0.01976223848760128, 0.03129816800355911, 0.03199075907468796, 0.004493063781410456, -0.013641318306326866, -0.006626586429774761, 0.008061479777097702, -0.0191376693546772, 0.01940164901316166, 0.011146590113639832, 0.01655847392976284, -0.06296633929014206, 0.012612083926796913, -0.0076676951721310616, 0.02247384749352932, -0.050700683146715164, 0.013726692646741867, -0.014202016405761242, -0.013612162321805954, -0.022174052894115448, -0.01561464462429285, -0.06026506796479225, 0.0367342010140419, -0.041044384241104126, 0.016733204945921898, 0.008594517596065998, 0.054067112505435944, 0.004161073360592127, -0.06353730708360672, 0.033807311207056046, -0.060190584510564804, 0.009265061467885971, -0.006975446827709675, -0.021286366507411003, 0.02028089202940464, 0.023821035400032997, -0.012028995901346207, -0.01773233897984028, 0.0469004325568676, -0.05383995547890663, 0.0002113242808263749, -0.0007707633776590228, -0.003861395176500082, -0.009959095157682896, -0.027538299560546875, 0.030075976625084877, -0.05049651861190796, -0.01979483850300312, 0.039481308311223984, 0.019411601126194, 0.034043021500110626, 0.0028233735356479883, 0.006296604406088591, 0.0644507110118866, 0.002547660144045949, 0.014835115522146225, -0.019591787829995155, -0.0074433754198253155, 0.0039070467464625835, -0.011755508370697498, 0.047497183084487915, 0.04311150312423706, -0.029494233429431915, 0.01515993196517229, 0.03550247848033905, -0.0037643034011125565, 0.005230688955634832, 0.008138805627822876, -0.002350747585296631, -0.014226487837731838, -0.018753666430711746, -0.030560748651623726, -0.003262270474806428, 0.015614962205290794, 0.024887695908546448, -0.08064205944538116, 0.009967459365725517, -0.029491838067770004, -0.017361989244818687, 0.0025390961673110723, 0.03186237812042236, -0.05205425247550011, 0.03013242408633232, -0.023556789383292198, -0.009832469746470451, -0.07321230322122574, 0.0442381389439106, 0.019961733371019363, 0.0070261042565107346, -0.010342219844460487, 0.039102599024772644, 0.029924843460321426, 0.02043342776596546, -0.006393744610249996, 0.08215615898370743, -0.0018286661943420768, 0.06379424035549164, -0.028794465586543083, 0.04513271898031235, -0.0021530117373913527, -0.0615730807185173, 0.0005129681085236371, 0.045355867594480515, 0.0003454789984971285, 0.000862213084474206, 0.004508053418248892, -0.018127359449863434, 0.0088410759344697, -0.015091454610228539, 0.012996052391827106, 0.024689340963959694, -0.0353708453476429, -0.034459955990314484, 0.021289803087711334, 0.026426343247294426, -0.008311030454933643, 0.036725401878356934, -0.023504232987761497, -0.014238819479942322, -0.022909920662641525, 0.06726551800966263, 0.036749217659235, 0.04506491869688034, 0.03146590292453766, -0.042311735451221466, 0.00443335622549057, 0.04966724291443825, -0.002465898171067238, 0.01561599038541317, 0.005628038663417101, 0.03462586551904678, 0.0351315476000309, 0.04686952382326126, 0.03108934871852398, 0.03985549882054329, 0.025372199714183807, 0.009900400415062904, -0.005045028869062662, 0.028457704931497574, -0.02632187493145466, -0.000150963562191464, -0.05438097193837166, -0.05434364452958107, 0.03528478369116783, -0.05455968156456947, -0.0025707592722028494, 0.06976620107889175, 0.06882543861865997, 0.007684717420488596, 0.04303177073597908, 0.014755100943148136, -0.0791843831539154, 0.02434527687728405, 0.01665811613202095, 0.00624290993437171, 0.024689767509698868, -0.0033033345825970173, 0.06283671408891678, 0.02370152808725834, -0.005451050121337175, 0.01985897496342659, -0.06653276830911636, -0.07814943790435791, -0.023137947544455528, -0.021894967183470726, 0.07719230651855469, -0.031657397747039795, -0.01821579784154892, 0.07796811312437057, 0.014313343912363052, 0.04677483066916466, 0.03657339885830879, -0.005890598054975271, -0.003641699440777302, -0.029567919671535492, -0.039092645049095154, 0.04287410527467728, 0.05331933870911598, -0.0038587285671383142, -0.040783774107694626, -0.005277267657220364, -0.03060341812670231, 0.01952791027724743, 0.017228372395038605, 0.01320689171552658, 0.026721350848674774, -0.002922888845205307, 0.05712491646409035, -0.023941347375512123, 0.07728157937526703, -0.07718845456838608, 0.023036329075694084, -0.023613227531313896, -0.0014479589881375432, -0.023343760520219803, -0.021766258403658867, 0.12434031814336777, 0.0456220880150795, -0.023848308250308037, -0.05162326619029045, 0.006359453313052654, 0.00544714042916894, -0.01712067611515522, -0.003935835789889097, -0.016091644763946533, 0.00672342162579298, -0.0241470318287611, -0.049011655151844025, -0.015143903903663158, 0.019717812538146973, -0.02318217232823372, 0.058074068278074265, 0.07094171643257141, -0.012447034940123558, 0.055024486035108566, -0.013469289056956768, -0.012602513656020164, 0.02249554730951786, -0.009273789823055267, -0.055827077478170395, 0.011561378836631775, 0.015889301896095276, -0.01443247776478529, 0.03486768901348114, -0.02298780530691147, -0.04216999560594559, -0.0027561280876398087, -0.06102800741791725, 0.014258877374231815, 0.043044622987508774, 0.05367931351065636, 0.00132510915864259, 0.06762292981147766, -0.026456650346517563, 0.00638195313513279, 0.004972059279680252, -0.03983820974826813, -0.009312687441706657, 0.008310303092002869, 0.003499796614050865, 0.05132061243057251, 0.017562605440616608, 0.009220880456268787, 0.023444265127182007, 0.018909942358732224, -0.015686511993408203, -0.013318141922354698, 0.055264197289943695, 0.013585018925368786, -0.029041744768619537, -0.017190996557474136, -0.03260958567261696, 0.027804987505078316, -0.03826924040913582, -0.05858488008379936, 0.029493561014533043, -0.09120963513851166, 0.028444333001971245, -0.07681852579116821, -0.08044248074293137, 0.0008542654104530811, 0.0040167709812521935, 0.01965785212814808, 0.005509326700121164, 0.02995298244059086, 0.09955998510122299, 0.006454750895500183, 0.0024894163943827152, 0.004477647133171558, 0.022334037348628044, 0.023440660908818245, -0.0002403542894171551, -0.011009936220943928, 0.04275134950876236, -0.012759464792907238, 0.006651232484728098, -0.07146674394607544, 0.03090805374085903, -0.017252791672945023, -0.2680204212665558, 0.0367918387055397, -0.01740764081478119, -0.042308464646339417, 0.028791677206754684, -0.033397872000932693, 0.030734173953533173, -0.03864226117730141, -0.01856902614235878, 0.06684727221727371, -0.04538961872458458, -0.04437042772769928, -0.03727317601442337, 0.06374363601207733, 0.0026951301842927933, -0.018985822796821594, 0.019398454576730728, -0.05588376894593239, 0.028812065720558167, 0.051992017775774, -0.005484574940055609, -0.04641156271100044, 0.006476811598986387, 0.049451153725385666, 0.029805278405547142, 0.06764226406812668, -0.08524509519338608, 0.07282191514968872, -0.02310214750468731, -0.01988988369703293, 0.017044058069586754, 0.002269255230203271, 0.016858845949172974, -0.04483095183968544, -0.008619490079581738, 0.00552354333922267, -0.0035788461100310087, 0.027128534391522408, -0.03097674250602722, 0.011087644845247269, -0.023258745670318604, -0.06261293590068817, -0.025422178208827972, -0.0004978018114343286, 0.06850819289684296, -0.03144269809126854, -0.06173805892467499, -0.012773234397172928, -0.04491591453552246, 0.07425865530967712, -0.03887082263827324, -0.02842715196311474, 0.0024521101731806993, 0.03275290131568909, -0.034324754029512405, -0.006808445788919926, 0.0221130158752203, -0.024950126186013222, -0.041438374668359756, -0.011457269079983234, -0.0251350998878479, -0.04412221908569336, -0.013865817338228226, -0.045657046139240265, -0.016911963000893593, -0.06553841382265091, -0.039549075067043304, -0.022360678762197495, 0.06474529951810837, 0.019859595224261284, -0.00927620381116867, 0.012721766717731953, 0.0036136279813945293, -0.11194734275341034, 0.023834016174077988, -0.042656201869249344, -0.022860892117023468, -0.050857894122600555, -0.028683336451649666, 0.05265156552195549, -0.0460236482322216, -0.05695463716983795, 0.04539535939693451, 0.0075462316162884235, 0.03282677009701729, 0.006520664319396019, 0.022753288969397545, 0.00722602428868413, -0.03066396340727806, 0.01445977482944727, 0.06292708218097687, -0.021933145821094513, 0.003730412572622299, -0.05037055164575577, 0.0042644282802939415, 0.02461070567369461, 0.047319795936346054, 0.0037578328046947718, 0.02108333632349968, 0.03166322410106659, 0.0068250079639256, -0.058718230575323105, 0.04039771854877472, -0.020577052608132362, 0.01070437766611576, -0.020021725445985794, -0.06065448373556137, 0.035911478102207184, 0.028867362067103386, 0.015327737666666508, -0.004456223454326391, -0.0328858345746994, 0.006476106587797403, -0.0363595150411129, -0.014978946186602116, -0.036100540310144424, 0.01188267394900322, 0.03938804194331169, -0.03993421047925949, -0.033708322793245316, -0.02213805541396141, 0.014253607019782066, 0.017447378486394882, -0.0013814736157655716, -0.06732933223247528, -0.04024522751569748, 0.008750198408961296, 0.01252329908311367, -0.003799507627263665, 0.02204962819814682, -0.022693730890750885, 0.03549623489379883, 0.024209890514612198, -0.032037198543548584, -0.004120944067835808, -0.010835235938429832, -0.0012204329250380397, -0.02017565444111824, -0.008903946727514267, -0.007345326244831085, 0.006416730582714081, -0.014565594494342804, 0.0005246979999355972, 0.008303774520754814, 0.03985580429434776, -0.019043797627091408, 0.034352194517850876, 0.006263264920562506, -0.020814936608076096, 0.015898095443844795, 0.01141771487891674, -0.09173130244016647, 0.02200005017220974, -0.01015893928706646, -0.0468975268304348, -0.027303751558065414, 0.03799055144190788, -0.013399070128798485, -0.020646898075938225, -0.04403240606188774, 0.01918814145028591, -0.05336691066622734, -0.04128381609916687, -0.03621451184153557, 0.02666553109884262, 0.0485231988132, -0.022206883877515793, 0.044552404433488846, -0.028923537582159042, -0.021016566082835197, 0.002485128352418542, -0.005217820405960083, -0.02961920015513897, 0.04116884618997574, -0.0035666427575051785, -0.004028602037578821, -0.0047798315063118935, 0.015548196621239185, 0.04627525433897972, 0.013472268357872963, 0.02962918020784855, -0.04022420942783356, 0.026158424094319344, -0.0030118138529360294, 0.035996753722429276, -0.015305008739233017, 0.008418655022978783, -0.0118076978251338, -0.0368138924241066, -0.02774653770029545, -0.03166305646300316, -0.031543899327516556, -0.01752445474267006, 0.04060865566134453, -0.043859317898750305, -0.0793059691786766, 0.042256373912096024, -0.012984920293092728, 0.040314555168151855, 0.030183404684066772, 0.007284043822437525, 0.004784911870956421, -0.029338637366890907, 0.03590959683060646, 0.07176733016967773, -0.07225039601325989, 0.016743429005146027, 0.01789296418428421, -0.02529282681643963, 0.03158380463719368, -0.0014260690659284592, -0.042913276702165604, -0.025210777297616005, -0.02250894159078598, 0.0013842136831954122, -0.047577690333127975, -0.029323134571313858, -0.03931352123618126, 0.03432977944612503, -0.013648483902215958, -0.030336007475852966, -0.005160142667591572, -0.009008142165839672, -0.013450848869979382, 0.004044493660330772, -0.011829794384539127, -0.01674702763557434, 0.0009141123737208545, 0.04073317348957062, -0.04711539298295975, 0.021661223843693733, -0.032808009535074234, 0.029451856389641762, 0.03447464480996132, -0.02836543321609497, -0.050275370478630066, -0.05938316136598587, 0.004389291629195213, -0.0181114599108696, 0.0659870058298111, -0.00025538873160257936, -0.031993284821510315, -0.035897549241781235, -0.005937469191849232, -0.01071187388151884, 0.03112603910267353, 0.005351903848350048, -0.020273247733712196, 0.026890406385064125, 0.06503050774335861, 0.02609575353562832, 0.02432779222726822, -0.0030907737091183662, 0.005078200250864029, 0.05509639158844948, -0.05669698491692543, -0.0027793869376182556, -0.00733727915212512, -0.07652120292186737, 0.009434138424694538, 0.01641053333878517, 0.017632272094488144, -0.035843249410390854, 0.04034760594367981, 0.013474819250404835, 0.02320493943989277, 0.028376303613185883, 0.0014320199843496084, 0.0243990495800972, -0.047333214432001114, -0.0037809477653354406, -0.06970784813165665, 0.03656340762972832, 0.019065288826823235, 0.006186496466398239, -0.01575027033686638, -0.013166564516723156, -0.03413048014044762, 0.05832478776574135, -0.05916415527462959, -0.022882448509335518, 0.041397400200366974, -0.006590489763766527, -0.007831284776329994, -0.00017004061373881996, -0.03691687434911728, 0.041017767041921616, 0.04008215293288231, -0.04087970033288002, -0.05693283677101135, -0.01937728375196457, 0.04438776895403862, 0.017855826765298843, 0.004829532001167536, -0.035847704857587814, 0.012039035558700562, 0.05754146724939346, 0.030963104218244553, 0.04885934293270111, 0.018223581835627556, -0.030963752418756485, 0.033223263919353485, 0.04492611438035965, -0.014754273928701878, -0.0019418691517785192, 0.015980783849954605, -0.02107938565313816, -0.04219624772667885, 0.014091424643993378, 0.011454487219452858, -0.033261556178331375, -0.033847205340862274, 0.06599979847669601, 0.0007126120035536587, -0.017002316191792488, -0.04717022180557251, -0.026568640023469925, -0.046253468841314316, -0.04649217054247856, -0.011095649562776089, 0.010480220429599285, -0.02370995283126831, 0.06181050091981888, 0.02726880833506584, 0.007152407430112362, 0.07303734123706818, -0.001845117541961372, 0.009119999594986439, -0.005225240718573332, 0.0804351344704628, 0.08458320796489716, 0.017929287627339363, 0.004718287847936153, 0.052279628813266754, -0.013355064205825329, -0.044513363391160965, 0.027257859706878662, -0.04365307837724686, -0.00421795342117548, -0.03838396072387695, 0.008080878295004368, 0.05194850265979767, 0.0064598573371768, 0.05069200322031975, -0.045540593564510345, 0.01582026295363903, -0.013550822623074055, 0.05103199928998947, 0.010537305846810341, 0.03355644270777702, -0.00010145405394723639, -0.0065354774706065655, 0.021725358441472054, -0.02777699939906597, 0.027681995183229446, -0.019983641803264618, -0.00785219855606556, 0.025709182024002075, -0.015770863741636276, 0.012973741628229618, -0.015385816805064678, 0.02382264845073223, 0.0807923823595047, -0.006128099747002125, -0.00025222633848898113, 0.00040322478162124753, 0.027330700308084488, 0.033470433205366135, -0.012315669097006321, -0.013437162153422832, -0.02762784995138645, -0.03031817637383938, -0.0069783213548362255, 0.019498705863952637, -0.013183956034481525, -0.013636079616844654, 0.03570014610886574, -0.016695944592356682, 0.01897900179028511, 0.013641471043229103, 0.019756212830543518, -0.036498576402664185, -0.05668008327484131, -0.05078727379441261, -0.05144011974334717, -0.05290956795215607, -0.015881100669503212, 0.016773074865341187, -0.018184203654527664, -0.04365382343530655, -0.045231834053993225, -0.03650322183966637, -0.003051220206543803, 0.03836486116051674, -0.027994485571980476, -0.04991425201296806, 0.04332299157977104, 0.02931726537644863, 0.01956167444586754, 0.04223301261663437, 0.018468083813786507, 0.005396357271820307, -0.005442388355731964, -0.06290611624717712, -0.025684233754873276, 0.03095453418791294, 0.002054947428405285, 0.04141287878155708, -0.08734381943941116, 0.007360661868005991, -0.00017868948634713888, 0.010855591855943203, -0.06257915496826172, 0.0169612318277359, -0.00521055655553937, -0.03323042392730713, 0.05739004164934158, -0.008098996244370937, 0.00099657173268497, 0.00478597916662693, -0.03704288229346275, 0.0067605734802782536, 0.020205149427056313, 0.03583882749080658, -0.02362447790801525, 0.0932755097746849, 0.017380869016051292, -0.03133029863238335, -0.03757871687412262, -0.013511952012777328, -0.004176059737801552, 0.030807115137577057, -0.04020564630627632, -0.042525358498096466, -0.05723205581307411, -0.050462499260902405, 0.00476687541231513, 0.01816694624722004, -0.02478077821433544, -0.028087876737117767, 0.01873214729130268, 0.019213637337088585, -0.08180610835552216, 0.020510880276560783, -0.021016381680965424, 0.013751414604485035, -0.022363554686307907, -0.021145951002836227, -0.001256624236702919, 0.026024049147963524, 0.002888516755774617, 0.008273309096693993, 0.03265111520886421, -0.052634164690971375, -0.0075149754993617535, -0.025942686945199966, 0.004443466663360596, 0.0330294705927372, -0.011505593545734882, 0.0032604068983346224 ]
[ -0.10899275541305542, -0.0039491853676736355, -0.04284682497382164, -0.03612739220261574, 0.033058714121580124, -0.04502122476696968, -0.011738399043679237, 0.03382367268204689, 0.0013820184394717216, -0.027678217738866806, 0.007318813819438219, -0.030523378401994705, -0.02597132697701454, 0.01619572751224041, 0.059383243322372437, 0.01424440462142229, -0.030200982466340065, -0.04233439639210701, -0.004525442142039537, 0.05102164298295975, 0.05126463621854782, 0.015766046941280365, -0.026971952989697456, -0.009018239565193653, 0.01615266501903534, 0.050986532121896744, 0.03478442132472992, -0.044709350913763046, 0.022296305745840073, -0.2270619124174118, -0.013847649097442627, -0.04692932963371277, 0.03415616974234581, -0.027324112132191658, 0.030600327998399734, 0.02476809360086918, 0.00016259631956927478, 0.006175502203404903, -0.006278702523559332, 0.05027098208665848, 0.008818011730909348, 0.036300867795944214, -0.04194831848144531, -0.036621443927288055, 0.04378500208258629, -0.001653013052418828, -0.0032694123219698668, -0.013539345003664494, -0.021855078637599945, 0.008457250893115997, -0.039505768567323685, -0.032727375626564026, 0.005336145870387554, -0.04406995326280594, -0.0017368984408676624, 0.03300245478749275, 0.03632696717977524, 0.08312536031007767, 0.021523697301745415, 0.02375708892941475, 0.00877984706312418, -0.015310327522456646, -0.1320413500070572, 0.10047098994255066, 0.04845314100384712, 0.07071534544229507, -0.011248565278947353, -0.035793472081422806, -0.0020011041779071093, 0.051250703632831573, 0.04271455854177475, -0.036611225455999374, -0.03015211410820484, 0.05108896642923355, 0.027075765654444695, -0.013185792602598667, 0.028956914320588112, 0.01811339519917965, 0.0788283422589302, -0.03291156888008118, -0.04882895573973656, -0.03272088244557381, 0.02748182602226734, -0.029417214915156364, -0.014484918676316738, -0.009107742458581924, 0.004611652344465256, 0.04697072505950928, 0.03483288362622261, 0.021332699805498123, 0.04342871904373169, -0.020175667479634285, -0.012877081520855427, 0.027069326490163803, -0.07769012451171875, 0.0022231722250580788, -0.015538269653916359, -0.0007592294714413583, -0.03384976461529732, 0.4191717803478241, -0.049552738666534424, -0.01939239725470543, 0.0295413825660944, 0.03386661037802696, -0.013107006438076496, -0.020171770825982094, 0.0018186774104833603, -0.062011633068323135, -0.006686462555080652, -0.04875359311699867, 0.013912231661379337, 0.008677130565047264, 0.04040098935365677, -0.03571760654449463, -0.031057799234986305, 0.012109583243727684, 0.035562120378017426, -0.0124776316806674, -0.007979323156177998, 0.0033252283465117216, 0.004347783979028463, 0.002526188502088189, 0.024165548384189606, -0.0023787152022123337, 0.016593826934695244, -0.026884568855166435, 0.049391936510801315, 0.07338482141494751, 0.039967384189367294, -0.004027863964438438, 0.045954249799251556, -0.050101425498723984, -0.07040223479270935, -0.015438034199178219, 0.005485509522259235, 0.006902099121361971, 0.03156290203332901, -0.008103017695248127, 0.004131557885557413, 0.021429048851132393, -0.001884574070572853, -0.037715356796979904, 0.01938241347670555, -0.017347829416394234, -0.06810623407363892, 0.11186466366052628, -0.015456459484994411, -0.003250724170356989, -0.018688052892684937, -0.043158240616321564, 0.0024879733100533485, 0.024779383093118668, -0.019220955669879913, -0.05333324521780014, 0.02144901268184185, 0.014671366661787033, 0.04311181232333183, -0.011474926955997944, -0.01898951083421707, -0.02196929231286049, -0.013266833499073982, -0.020830590277910233, -0.05855799838900566, 0.050886061042547226, 0.04033920168876648, -0.07562859356403351, -0.046987589448690414, 0.018766693770885468, 0.02806597761809826, -0.08527945727109909, 0.006343313027173281, 0.012643669731914997, -0.03694409504532814, -0.025468477979302406, 0.009585689753293991, -0.011931748129427433, -0.002821055008098483, 0.019031183794140816, 0.021932179108262062, 0.025607258081436157, 0.024979794397950172, -0.0038896852638572454, -0.07451765239238739, 0.03199094161391258, 0.0033964612521231174, -0.0648934543132782, -0.013092497363686562, -0.02519865892827511, -0.00002902399137383327, -0.005840107798576355, 0.008340350352227688, -0.06843932718038559, -0.11030982434749603, 0.1057363823056221, -0.039732810109853745, -0.012933892197906971, 0.02451588585972786, -0.02075936459004879, 0.005667387042194605, -0.011027658358216286, 0.033418986946344376, 0.025942431762814522, 0.008781172335147858, 0.0537063367664814, -0.04739709198474884, 0.05568760633468628, 0.0542396679520607, -0.06641014665365219, 0.06546282023191452, 0.03610134869813919, -0.05236271396279335, -0.03275991603732109, -0.0033709893468767405, 0.024343783035874367, 0.016163522377610207, -0.01766696386039257, 0.013903521932661533, 0.01230697426944971, 0.014090643264353275, 0.05759821832180023, -0.043260395526885986, -0.022783277556300163, -0.013567314483225346, -0.32762351632118225, -0.051333554089069366, -0.037374503910541534, -0.00618439307436347, 0.005804647691547871, -0.058608923107385635, -0.008740087039768696, 0.007157814688980579, -0.027278196066617966, 0.010378774255514145, 0.0633494108915329, 0.011417977511882782, -0.00757270772010088, -0.10093314200639725, 0.020771406590938568, -0.0092706847935915, -0.06358553469181061, -0.04949015751481056, -0.036466214805841446, 0.02101818658411503, -0.017543518915772438, 0.008997292257845402, -0.008908744901418686, -0.05779748782515526, 0.009924247860908508, -0.05929083749651909, 0.09398660063743591, -0.013908098451793194, 0.09067634493112564, -0.0324106439948082, 0.04063905030488968, 0.008300873450934887, 0.006391528993844986, -0.07184474170207977, 0.004181407857686281, -0.02423778362572193, -0.041859403252601624, -0.00871097669005394, 0.036051731556653976, -0.023673484101891518, -0.022159308195114136, 0.00828438252210617, -0.029475273564457893, -0.04109688103199005, -0.01546777505427599, -0.007134831510484219, 0.0005988936172798276, 0.006924725603312254, -0.03918459266424179, 0.09245529770851135, 0.010820984840393066, 0.00433262437582016, 0.016658077016472816, 0.058657702058553696, 0.013481445610523224, -0.0039921896532177925, -0.08166598528623581, -0.026938091963529587, 0.00313134235329926, -0.024252137169241905, 0.03702770173549652, 0.06607809662818909, 0.044110629707574844, -0.03756186366081238, -0.017765339463949203, 0.027783701196312904, -0.009482547640800476, -0.050377555191516876, 0.028848350048065186, -0.021741684526205063, -0.04716296121478081, 0.10456950962543488, -0.01201792061328888, -0.0015663900412619114, 0.005715825129300356, 0.06439642608165741, -0.021987993270158768, -0.004945686552673578, 0.047870419919490814, 0.01446570549160242, -0.0010059499181807041, 0.04624151065945625, 0.03493994474411011, -0.042185794562101364, -0.0049941763281822205, 0.03154253587126732, -0.0535394661128521, -0.0025025431532412767, 0.06821998208761215, -0.02869744412600994, -0.026901744306087494, 0.004508202895522118, -0.02201351523399353, -0.09279760718345642, 0.046941231936216354, -0.010926468297839165, -0.2363506555557251, 0.00405616220086813, 0.09399295598268509, 0.05810847133398056, -0.03132025897502899, 0.03194873780012131, 0.022786032408475876, -0.07302656769752502, -0.013580827042460442, 0.01520045567303896, 0.007061765529215336, 0.03902333602309227, 0.005898626055568457, -0.028514357283711433, 0.03032703511416912, 0.006667971611022949, 0.027477405965328217, -0.0001935629261424765, 0.032121673226356506, -0.009809902869164944, 0.01925586722791195, 0.0041332123801112175, 0.18566998839378357, -0.008870754390954971, 0.017306342720985413, 0.04238039627671242, 0.05088353157043457, 0.02394253946840763, 0.09546446800231934, 0.02616374008357525, 0.0031445519998669624, -0.0152960866689682, 0.07574718445539474, 0.02282840386033058, 0.02578478492796421, -0.07146303355693817, -0.017993463203310966, 0.002107085194438696, 0.021072039380669594, -0.01739254966378212, 0.015290284529328346, 0.02211238071322441, -0.024537794291973114, 0.012588080950081348, 0.08355726301670074, 0.03812351077795029, -0.018661269918084145, -0.038815949112176895, -0.04114518687129021, -0.008232745341956615, -0.050980690866708755, -0.05676648020744324, 0.030549610033631325, -0.02747509256005287, 0.0021399182733148336, 0.06562796235084534, 0.031636349856853485, -0.032280538231134415, -0.009605085477232933, -0.0006063277251087129, 0.0010916474275290966, 0.000113458743726369, 0.10748185962438583, 0.043152518570423126, 0.03868992626667023 ]
[ -0.016920093446969986, 0.005279610864818096, -0.0033272134605795145, 0.017362166196107864, -0.0022579499054700136, 0.06338464468717575, -0.02681439369916916, 0.03843463584780693, 0.005027476232498884, -0.013311882503330708, -0.03775020316243172, -0.020585037767887115, 0.007336125243455172, -0.03649112209677696, 0.015493310056626797, -0.01732960157096386, 0.010123069398105145, -0.031526271253824234, 0.041070517152547836, 0.030120303854346275, -0.011097692884504795, 0.01643075980246067, -0.01802319660782814, 0.016192130744457245, 0.010361501947045326, 0.005410683341324329, -0.008991077542304993, -0.026694323867559433, 0.012083539739251137, -0.10322852432727814, -0.04549339786171913, -0.016629910096526146, -0.02775251492857933, 0.008142448030412197, -0.021036742255091667, 0.01550481840968132, 0.013847190886735916, 0.0215785913169384, -0.005354583729058504, -0.014248182997107506, -0.012384881265461445, -0.014242888428270817, 0.018217673525214195, -0.037142351269721985, 0.008845060132443905, -0.027064548805356026, 0.009400064125657082, -0.04179886355996132, -0.04292767494916916, 0.012202426791191101, -0.024933012202382088, -0.009541088715195656, 0.008914968930184841, -0.016451092436909676, 0.005222800653427839, -0.009923085570335388, -0.020192570984363556, -0.01898328587412834, -0.009664238430559635, -0.004149033688008785, -0.009430528618395329, 0.003235211130231619, -0.012150472030043602, -0.01263304241001606, 0.007947911508381367, -0.004069652874022722, 0.006434023845940828, 0.005997239612042904, -0.005540785379707813, -0.032841723412275314, -0.012418837286531925, 0.013500000350177288, -0.017530905082821846, -0.0016776397824287415, -0.018791940063238144, -0.0024301104713231325, 0.01881236769258976, -0.03825179487466812, 0.02257763221859932, -0.027826178818941116, -0.05669300630688667, 0.012209376320242882, -0.0024653004948049784, 0.02420678362250328, 0.01229159813374281, -0.025110244750976562, 0.015743613243103027, 0.04248085618019104, -0.014950230717658997, -0.012038148939609528, -0.026291262358427048, 0.02582847885787487, -0.002282849745824933, 0.04748822748661041, -0.06561189889907837, 0.019323483109474182, 0.008325982838869095, -0.0031160234939306974, 0.0008243814809247851, 0.8561012744903564, -0.004251351114362478, 0.059646978974342346, 0.013199251145124435, 0.02171006053686142, 0.018799064680933952, -0.028566492721438408, -0.005800274200737476, 0.0020351200364530087, 0.00575083214789629, -0.05689872428774834, 0.02265203185379505, 0.009525096975266933, 0.01444205641746521, 0.018893655389547348, 0.01729927584528923, 0.018630588427186012, 0.0058128852397203445, 0.004384384024888277, -0.0006760561373084784, 0.024098413065075874, 0.0210784450173378, -0.002216946566477418, 0.005390136502683163, -0.013859823346138, 0.030234994366765022, -0.16499343514442444, 0.05003668740391731, -7.662831675923529e-33, 0.04147366061806679, -0.011590717360377312, 0.03351227194070816, 0.009797394275665283, 0.03892529383301735, 0.017934683710336685, 0.004159845411777496, 0.036139991134405136, 0.029493719339370728, -0.07017526030540466, 0.04046475514769554, -0.03931308910250664, -0.0016177536454051733, -0.04086882993578911, 0.04499932378530502, -0.007108606398105621, -0.02538301795721054, 0.03911646455526352, 0.018345942720770836, 0.027255630120635033, 0.03160502016544342, 0.0012678207131102681, 0.034407299011945724, -0.026283178478479385, -0.023596221581101418, 0.022621478885412216, 0.004197994712740183, 0.060157403349876404, -0.04183214530348778, -0.05040459707379341, 0.022116927430033684, -0.0020996849052608013, -0.02243739925324917, 0.00023530048201791942, 0.03490574285387993, -0.03846371918916702, -0.016361817717552185, 0.008961197920143604, -0.019760118797421455, -0.024562403559684753, -0.04001772776246071, -0.020117685198783875, -0.021380526944994926, -0.017472637817263603, -0.015917278826236725, -0.010130315087735653, -0.011549961753189564, -0.0037934519350528717, 0.020164869725704193, 0.00016377789143007249, -0.008459293283522129, 0.037746913731098175, 0.008419093675911427, -0.0489957369863987, -0.05037223920226097, 0.020529858767986298, -0.003927220124751329, -0.014098325744271278, 0.0057698506861925125, 0.030149970203638077, 0.031030772253870964, -0.02044776827096939, -0.009346596896648407, 0.0008779893396422267, -0.03078540600836277, -0.0023068557493388653, 0.03079208917915821, -0.04284104332327843, 0.043650977313518524, -0.019274398684501648, -0.0379289910197258, -0.002213208470493555, -0.013733703643083572, 0.0005887428415007889, 0.02178536169230938, -0.01059078797698021, 0.035944923758506775, 0.0017378389602527022, 0.02094177156686783, -0.0013431718107312918, 0.02290376089513302, -0.02068348042666912, 0.0345982126891613, -0.016211777925491333, 0.03536229953169823, -0.02059035375714302, -0.017488567158579826, -0.018798168748617172, 0.00003322646807646379, -0.003274968359619379, 0.03804674372076988, 0.0397656112909317, -0.018238844349980354, -0.03967324644327164, 0.01214129850268364, 7.758172349298878e-33, -0.002343857428058982, -0.034655049443244934, -0.030246833339333534, 0.011168493889272213, 0.011368107050657272, -0.027873419225215912, -0.003300271462649107, 0.0712229311466217, -0.033895984292030334, 0.03802453354001045, 0.02163553796708584, 0.003214756026864052, -0.019562698900699615, 0.022854594513773918, 0.01753205992281437, -0.014460314065217972, 0.050694871693849564, -0.04703135788440704, 0.023281922563910484, -0.019478514790534973, 0.030835747718811035, 0.020332997664809227, -0.003871876047924161, -0.028306202962994576, 0.028536103665828705, 0.05217549577355385, -0.04885638505220413, 0.01941472664475441, 0.0016123424284160137, 0.011284038424491882, -0.007983452640473843, 0.015287114307284355, 0.01646416075527668, -0.04671575129032135, -0.010961596854031086, 0.00724570918828249, 0.004071829840540886, -0.047922562807798386, 0.01576649397611618, 0.035304464399814606, -0.004129557404667139, -0.021367890760302544, -0.002152426866814494, 0.015462326817214489, 0.013293685391545296, 0.04013443738222122, -0.01193469949066639, -0.0023846165277063847, 0.0002343636006116867, 0.01154373586177826, 0.04088830575346947, -0.01285200659185648, 0.001953592523932457, 0.026595139876008034, 0.008137376047670841, -0.006474388763308525, -0.026379507035017014, -0.013733375817537308, -0.0028837549034506083, -0.006386564578860998, -0.03312557190656662, 0.02690027467906475, -0.032085537910461426, -0.010604011826217175, -0.017978485673666, -0.0019370261579751968, -0.036734193563461304, -0.018933741375803947, 0.008491001091897488, -0.008106643334031105, -0.013917646370828152, -0.03233041614294052, -0.00905358325690031, 0.016361353918910027, 0.00916631892323494, -0.025716332718729973, -0.001188162132166326, 0.016390370205044746, 0.002057189354673028, -0.005515801254659891, 0.014644015580415726, 0.0023645039182156324, 0.032885029911994934, -0.00553429638966918, 0.0064281802624464035, 0.005546192638576031, -0.0018398963147774339, -0.009360972791910172, -0.0421314612030983, -0.014256522990763187, -0.027076005935668945, -0.005587202031165361, 0.002225714735686779, 0.016097458079457283, 0.004347511567175388, -1.3416648236841411e-8, -0.04681491479277611, 0.024357082322239876, -0.0153177659958601, -0.017044752836227417, -0.0015937481075525284, -0.012635532766580582, -0.01286778599023819, -0.026260482147336006, 0.02110840193927288, 0.025500284507870674, 0.05106102675199509, -0.025111965835094452, 0.00280020316131413, -0.005702323280274868, -0.0030096021946519613, -0.04030169919133186, -0.048183199018239975, 0.007608842570334673, -0.00001936360786203295, 0.01666034199297428, 0.02373749390244484, 0.028304774314165115, -0.006360277999192476, -0.01180336344987154, 0.064797043800354, 0.019122855737805367, 0.01019333116710186, -0.03412065654993057, -0.0030714659951627254, 0.021387280896306038, 0.017105093225836754, -0.03045809082686901, -0.019130220636725426, -0.000731186184566468, -0.037795599550008774, -0.01179269514977932, 0.010755790397524834, -0.010175330564379692, 0.014843935146927834, 0.006995427887886763, 0.026328321546316147, 0.005166384857147932, -0.017489491030573845, -0.003129783319309354, 0.009984833188354969, -0.018775176256895065, -0.040829602628946304, -0.00882916059345007, 0.005513847805559635, -0.03330906480550766, -0.0098193921148777, 0.02638969197869301, 0.027820229530334473, -0.003535740077495575, -0.0007471520802937448, 0.02213686890900135, 0.038678690791130066, -0.011720930226147175, -0.03827699273824692, 0.03030335158109665, 0.04443691298365593, 0.024389034137129784, -0.008347303606569767, -0.019470013678073883 ]
tdd-keeping-assertions-clear
https://markhneedham.com/blog/2009/10/10/tdd-keeping-assertions-clear
false
2009-10-10 00:21:45
Coding: API readability/testability
[ "tdd", "test-only-constructors" ]
[ "Coding" ]
About a month ago or so http://www.markhneedham.com/blog/2009/09/12/tdd-test-only-constructors/[I described how we did some work to ensure that we were calling a class the same way in our tests as in our production code] and while I think that was a good choice in that situation we came across a similar problem this week where we weren't so sure. The piece of code in question was being used to create the view model for a page and one of the pieces of data that we wanted to show on this page was the date on which something would be valid which is currently today's date. We were working with some code that looked a bit like this: [source,csharp] ---- public class SomeRandomModel { ... public static SomeRandomModel CreateForSomeSituation(string value1, string value2) { return new SomeRandomModel(value1, value2); } public string SomeDate() { return DateTime.Today.ToDisplayFormat(); } } ---- [source,csharp] ---- public static class DateTimeExtensions { public static string ToDisplayFormat(this DateTime aDateTime) { return String.Format("{0:MMM d, yyyy}", aDateTime) } } ---- Initially we put the following test around the code: [source,csharp] ---- [Test] public void ShouldConstructModelForSomeSituation() { var model = SomeRandomModel.CreateForSomeSituation("", ""); ... Assert.AreEqual(DateTime.Today.ToDisplayFormat(), model.SomeDate()); } ---- The problem with this test is that it could theoretically fail if the 'DateTime.Today' in the test and the 'DateTime.Today' in the code were fired near enough to midnight that they returned different days. It's not quite as big a problem as we would have if we were actually comparing the equality of the two dates but it's still not great to write a test which might fail sporadically. We therefore need to find a way to control the input to the code so that we can test the output. The problem is that the date is always going to be today at the moment so it seems to unnecessarily complicate the 'CreateForSomeSituation' method if we had to pass in 'DateTime.Today' as a parameter. Our current solution was therefore to create a test only method which takes in a date and then get the original method to delegate to the test only one while passing in 'DateTime.Today' as the extra parameter. [source,csharp] ---- public class SomeRandomModel { private readonly DateTime aDateTime; ... public static SomeRandomModel CreateForSomeSituation(string value1, string value2) { return CreateForSomeSituation(value1, value2, DateTime.Today); } public static SomeRandomModel CreateForSomeSituationForTest(string value1, string value2, DateTime aDateTime) { return new SomeRandomModel(value1, value2, aDateTime); } public string SomeDate() { return aDateTime.ToDisplayFormat(); } } ---- Our test now becomes: [source,csharp] ---- [Test] public void ShouldConstructModelForSomeSituation() { var model = SomeRandomModel.CreateForSomeSituationForTest("", "", new DateTime(2009, 10, 10)); ... Assert.AreEqual("10 Oct 2009", model.SomeDate()); } ---- We can now specify our expectation a bit more cleanly since we aren't tied to 'DateTime.Today'. It helped solve our problem reasonably well but it still seems a bit weird to me to have 'test only' code but I'm not sure what a better solution would be.
null
null
[ 0.00515854824334383, -0.015956081449985504, -0.0368192158639431, 0.060388460755348206, 0.07292713969945908, -0.011518090032041073, 0.057171110063791275, 0.04781308397650719, 0.007655175402760506, -0.016341913491487503, 0.0037769421469420195, -0.0022029071114957333, -0.06741640716791153, 0.03630085662007332, -0.051731325685977936, 0.08119050413370132, 0.06509078294038773, -0.032503798604011536, 0.04276761785149574, -0.004568526986986399, 0.00683863740414381, 0.03053603693842888, -0.00794544629752636, 0.03596422076225281, 0.02609838731586933, 0.010894319042563438, -0.0016334722749888897, -0.014402078464627266, -0.05564697086811066, -0.004942465107887983, 0.02931341342628002, 0.024769337847828865, 0.004929571878165007, 0.022371390834450722, -0.009183569811284542, 0.010162688791751862, -0.008071569725871086, 0.01864592172205448, 0.014862515032291412, 0.013239438645541668, -0.0663096234202385, 0.02497689239680767, 0.012675012461841106, -0.0016541284276172519, -0.0681309700012207, 0.0172706488519907, 0.0049133580178022385, -0.002543469425290823, -0.013179956935346127, 0.0011448506265878677, -0.0638570711016655, 0.04453631862998009, -0.022128144279122353, 0.0160659272223711, -0.0285686943680048, 0.05465298518538475, 0.036168310791254044, -0.08287306874990463, 0.01720956154167652, -0.044434163719415665, 0.02912878431379795, -0.004990819841623306, -0.004489052575081587, 0.013114705681800842, 0.001595143461599946, -0.004141638521105051, -0.0017780112102627754, 0.0441981703042984, -0.034489963203668594, -0.013749859295785427, -0.008481559343636036, 0.008568932302296162, -0.008962035179138184, -0.013541671447455883, 0.0065620942041277885, -0.026663603261113167, -0.00977182574570179, 0.041217364370822906, 0.01112513616681099, 0.04831048101186752, -0.016595538705587387, 0.0023535576183348894, 0.06117452681064606, 0.0037829498760402203, -0.006263315677642822, 0.0027568170335143805, -0.02877637930214405, -0.02374451421201229, -0.03162315860390663, 0.05367042124271393, 0.024883033707737923, -0.014790610410273075, 0.03647453710436821, 0.04348073899745941, -0.01541847549378872, 0.010380285792052746, -0.0028264063876122236, -0.009321851655840874, 0.007177955936640501, -0.006724260747432709, -0.023084405809640884, -0.03602604568004608, 0.03241607919335365, 0.029541727155447006, -0.07230831682682037, -0.005667686462402344, -0.03308918699622154, -0.023170797154307365, 0.0000450518709840253, 0.03439781069755554, -0.04844284430146217, 0.03341067209839821, -0.00980509165674448, -0.004345935769379139, -0.0744059830904007, 0.045918285846710205, 0.003963835071772337, -0.021673666313290596, -0.0063896034844219685, 0.024080811068415642, 0.011341740377247334, 0.004489025566726923, -0.02968493103981018, 0.07838362455368042, 0.00016199360834434628, 0.07279565930366516, -0.01945912279188633, 0.03671310096979141, -0.0173316802829504, -0.06643109023571014, -0.002653216477483511, 0.040208008140325546, 0.006904476322233677, -0.010610977187752724, 0.00630237115547061, -0.024732111021876335, -0.015763306990265846, -0.018444303423166275, 0.031890783458948135, 0.054151639342308044, -0.029043924063444138, -0.0274936705827713, 0.013979827053844929, 0.011827920563519001, -0.007575850002467632, 0.028490785509347916, -0.0019832036923617125, -0.02246631123125553, -0.02485932968556881, 0.0350361205637455, 0.026073122397065163, 0.043841708451509476, 0.02074432000517845, -0.053353436291217804, 0.004006347618997097, 0.05580864101648331, -0.018753236159682274, 0.03879530727863312, -0.017699947580695152, 0.021800141781568527, 0.04426196590065956, 0.04329489916563034, 0.0020593623630702496, 0.05000291392207146, 0.026516471058130264, 0.01853768713772297, 0.005832304712384939, 0.02484835498034954, -0.03270870819687843, -0.003255097661167383, -0.06567462533712387, -0.0456501841545105, 0.05279824510216713, -0.07380107790231705, -0.007697939407080412, 0.07448925822973251, 0.0635947436094284, -0.01108748558908701, 0.042026881128549576, 0.002041794126853347, -0.07255814969539642, 0.01619901694357395, 0.022297417744994164, 0.007885277271270752, 0.020287318155169487, -0.002647415269166231, 0.04721636325120926, 0.013327191583812237, -0.014898322522640228, 0.041832178831100464, -0.09183277189731598, -0.06725312769412994, -0.0173651110380888, -0.028907202184200287, 0.07067249715328217, -0.04647219181060791, -0.016800537705421448, 0.07150589674711227, 0.017686478793621063, 0.06520099192857742, 0.03771250694990158, -0.011091327294707298, -0.003913144581019878, -0.027661267668008804, -0.04327426850795746, 0.04005223512649536, 0.0559072308242321, -0.01326585654169321, -0.03292809799313545, 0.013442541472613811, -0.008897243067622185, 0.006844725925475359, 0.03651014715433121, 0.022488407790660858, 0.03890557587146759, 0.04003750905394554, 0.051479585468769073, -0.04667823016643524, 0.061703406274318695, -0.09378189593553543, 0.04454588517546654, -0.0035237360280007124, -0.03745469078421593, -0.03503113612532616, -0.012147409841418266, 0.1007084921002388, 0.04748254641890526, -0.04792080819606781, -0.03515736386179924, 0.018711449578404427, 0.013928801752626896, -0.019335730001330376, -0.007350414991378784, -0.009080488234758377, 0.022692525759339333, -0.00578904477879405, -0.03656444326043129, -0.01769048348069191, 0.000662921869661659, -0.023271137848496437, 0.04908929020166397, 0.07125738263130188, -0.011681392788887024, 0.04505934193730354, -0.048326559364795685, -0.011515624821186066, -0.015588256530463696, -0.003852137131616473, -0.045122962445020676, -0.002418462885543704, 0.025491399690508842, -0.013479421846568584, 0.05589159205555916, -0.013222510926425457, -0.05532149225473404, -0.006431908812373877, -0.05563148111104965, 0.026449894532561302, 0.043234094977378845, 0.0631234273314476, -0.0056447298265993595, 0.040631987154483795, -0.0020433967001736164, 0.014380861073732376, 0.0013640637043863535, -0.05979713425040245, -0.007106548175215721, 0.021898357197642326, 0.007931227795779705, 0.05656510591506958, 0.02095583640038967, -0.002700608689337969, 0.04130145534873009, 0.018863728269934654, -0.03389781713485718, -0.01436072587966919, 0.046287667006254196, 0.018298117443919182, -0.03207870200276375, -0.011494074948132038, -0.035072971135377884, 0.03499738872051239, -0.02295028232038021, -0.05495471507310867, 0.007020521908998489, -0.08659722656011581, 0.05417553335428238, -0.05966057628393173, -0.06983944773674011, 0.022979354485869408, 0.009518842212855816, 0.043850526213645935, -0.007108320482075214, 0.03254379704594612, 0.10156919062137604, 0.017132839187979698, 0.013814456760883331, -0.0009378801332786679, 0.0195538941770792, 0.02226821333169937, 0.016058776527643204, 0.01360330544412136, 0.031079163774847984, -0.0037531068082898855, -0.003547422820702195, -0.042712777853012085, 0.018936369568109512, -0.016745632514357567, -0.2680875062942505, 0.02238193340599537, -0.02572576142847538, -0.04957548528909683, 0.03060244210064411, -0.02632198855280876, 0.04681821167469025, -0.04274487867951393, -0.023076703771948814, 0.04674186185002327, -0.03183819726109505, -0.039282992482185364, -0.0419807955622673, 0.06829177588224411, -0.009379478171467781, -0.018744327127933502, 0.01819796673953533, -0.047693658620119095, 0.033444054424762726, 0.03323659300804138, 0.004973526578396559, -0.04391986131668091, -0.013716421090066433, 0.056477129459381104, 0.026445282623171806, 0.07816210389137268, -0.06528203189373016, 0.05171458423137665, -0.021478623151779175, -0.011995057575404644, 0.013379022479057312, -0.017326027154922485, 0.018883144482970238, -0.0384192056953907, -0.00812072679400444, 0.006762759760022163, -0.00738538708537817, 0.034921303391456604, -0.01880989596247673, 0.024503588676452637, -0.03634865581989288, -0.06364039331674576, -0.014475081115961075, 0.013905209489166737, 0.05950659140944481, 0.014646143652498722, -0.04162019118666649, -0.011896009556949139, -0.025096077471971512, 0.055896177887916565, -0.030768675729632378, -0.01241797860711813, 0.005089125595986843, 0.010467153042554855, -0.03484850749373436, -0.023052114993333817, 0.017961937934160233, -0.020371662452816963, -0.026479486376047134, -0.017498690634965897, -0.017642665654420853, -0.04265695437788963, -0.004617892671376467, -0.046392831951379776, -0.03315621614456177, -0.07110202312469482, -0.05401851236820221, -0.008478849194943905, 0.06159887835383415, 0.024148641154170036, -0.0024023118894547224, -0.018633056432008743, 0.0028367755003273487, -0.11826980859041214, 0.0013983432436361909, -0.018344251438975334, -0.02810957282781601, -0.058569662272930145, -0.018320009112358093, 0.052711352705955505, -0.033064380288124084, -0.040149688720703125, 0.055257026106119156, 0.011780542321503162, 0.017862237989902496, -0.0016411092365160584, 0.027335550636053085, 0.024262722581624985, -0.024543404579162598, 0.004137755371630192, 0.06975828856229782, -0.012460410594940186, 0.0098623838275671, -0.04055468365550041, 0.008814238011837006, 0.039830707013607025, 0.022052878513932228, 0.0006801738636568189, 0.026431238278746605, 0.014460580423474312, 0.003054612083360553, -0.05966151878237724, 0.058102939277887344, -0.04386559873819351, 0.0018949061632156372, -0.04256564378738403, -0.04676883667707443, 0.050860051065683365, 0.01687694899737835, 0.026088617742061615, 0.009349485859274864, -0.020861495286226273, -0.02715698815882206, -0.03944285213947296, -0.03195885568857193, -0.05517423152923584, 0.016518693417310715, 0.035393524914979935, -0.03393661975860596, -0.005874637048691511, -0.0545031875371933, 0.0019183787517249584, -0.0030080981086939573, -0.00003130757249891758, -0.05609537661075592, -0.041334934532642365, 0.001645843149162829, -0.005938345566391945, 0.02183537371456623, 0.019564280286431313, -0.04145950451493263, 0.04373069852590561, 0.006549019366502762, -0.022295020520687103, 0.005869779270142317, -0.006051975302398205, 0.0008443346014246345, -0.030992433428764343, -0.025573601946234703, -0.008090159855782986, 0.02007269114255905, -0.015094124712049961, -0.00041792765841819346, -0.0012364706490188837, 0.0649762973189354, -0.0014269520761445165, 0.028393011540174484, -0.0017204068135470152, -0.0053792791441082954, 0.01333431713283062, 0.01006894651800394, -0.07895678281784058, 0.035772960633039474, -0.03345433995127678, -0.057630352675914764, -0.012680384330451488, 0.024509944021701813, -0.0136760538443923, -0.024593958631157875, -0.02497517503798008, 0.012586007826030254, -0.059498801827430725, -0.028894145041704178, -0.037298619747161865, 0.018087826669216156, 0.06892053037881851, -0.008624250069260597, 0.055560991168022156, -0.0012238656636327505, -0.03028486855328083, -0.008990608155727386, -0.004370932932943106, -0.032355897128582, 0.03822492063045502, 0.006559280212968588, 0.00014669407391920686, 0.021163538098335266, 0.0019377548014745116, 0.04699326306581497, 0.03411124274134636, 0.02215706557035446, -0.015732627362012863, 0.004062154330313206, 0.004851044621318579, 0.027282923460006714, 0.0019358731806278229, 0.008377780206501484, -0.009563158266246319, -0.02765151672065258, -0.02670891582965851, -0.028851523995399475, -0.03888197988271713, -0.014374030753970146, 0.013913555070757866, -0.03995021432638168, -0.07283569872379303, 0.029727039858698845, 0.007619044277817011, 0.05545009300112724, 0.0039429436437785625, 0.007102238014340401, -0.01734044961631298, -0.02576109953224659, 0.04318113625049591, 0.052602726966142654, -0.05205656588077545, 0.028534745797514915, 0.012267371639609337, -0.0066978163085877895, 0.01500847190618515, 0.012119414284825325, -0.043920837342739105, -0.016524404287338257, -0.014601063914597034, -0.007055189460515976, -0.0532396025955677, -0.032282743602991104, -0.05019304156303406, 0.0358465351164341, -0.004530336707830429, -0.020692626014351845, 0.017572056502103806, -0.006232666317373514, -0.01032924558967352, -0.020249929279088974, 0.004293185193091631, -0.036851294338703156, 0.007176735904067755, 0.021839849650859833, -0.034197188913822174, 0.02685539983212948, -0.020211828872561455, 0.021175360307097435, 0.018358008936047554, -0.028658701106905937, -0.0672839805483818, -0.0383664108812809, 0.016772441565990448, -0.005625555757433176, 0.06578183174133301, -0.0005257402663119137, -0.029333040118217468, -0.024433085694909096, -0.012651542201638222, -0.01770276390016079, 0.03890647366642952, 0.0014202716993167996, -0.01591615006327629, 0.03312458470463753, 0.05631012097001076, 0.03162233158946037, 0.044942326843738556, -0.009221254847943783, 0.010877636261284351, 0.04273609444499016, -0.06048237904906273, -0.01639755442738533, -0.01903940923511982, -0.0764281302690506, 0.0183933787047863, -0.005507615394890308, 0.013134302571415901, -0.02099091373383999, 0.05062128230929375, 0.02326117642223835, 0.04388812184333801, 0.07715286314487457, 0.03723854199051857, 0.033990539610385895, -0.05239460989832878, -0.007065998390316963, -0.08884811401367188, 0.0224422886967659, 0.03182558715343475, 0.0283404178917408, -0.023136397823691368, -0.022753583267331123, -0.010871068574488163, 0.0353778637945652, -0.053568385541439056, -0.031065044924616814, 0.027777764946222305, -0.011591136455535889, -0.016328057274222374, 0.02535841427743435, -0.049966961145401, 0.047330934554338455, 0.03639332577586174, -0.04426209628582001, -0.05792270600795746, -0.01537738274782896, 0.054837390780448914, 0.026447555050253868, -0.0005399646470323205, -0.05995719134807587, 0.026702512055635452, 0.059531014412641525, 0.0223418977111578, 0.03851284459233284, 0.041606638580560684, -0.019885092973709106, 0.04257974401116371, 0.021050233393907547, -0.004842026624828577, -0.023756377398967743, 0.009223489090800285, -0.002334668766707182, -0.05712607502937317, 0.010385135188698769, 0.016697941347956657, -0.03949736803770065, -0.03607754781842232, 0.0721006691455841, 0.015420358628034592, -0.011329942382872105, -0.027533886954188347, -0.023824620991945267, -0.04274657368659973, -0.021162960678339005, -0.018783889710903168, -0.0017961463890969753, -0.020197341218590736, 0.07144348323345184, 0.03220810741186142, 0.009182550944387913, 0.07133205235004425, 0.0055973120033741, 0.0049255117774009705, -0.0016762383747845888, 0.06939157843589783, 0.08084768056869507, 0.018244067206978798, 0.0012772396439686418, 0.051194991916418076, -0.03322147578001022, -0.04434484243392944, 0.012498310767114162, -0.0604768730700016, -0.0338008776307106, -0.05211757495999336, 0.0116016436368227, 0.05167510360479355, 0.005868467967957258, 0.03788769245147705, -0.03585498407483101, 0.0018321716925129294, -0.014244263991713524, 0.051399655640125275, 0.03819025680422783, 0.024278908967971802, 0.000332167895976454, -0.016166726127266884, 0.02234252542257309, -0.03307474032044411, 0.044271957129240036, -0.029071955010294914, -0.027066126465797424, 0.01549851056188345, -0.012936069630086422, -0.007508438546210527, -0.024265717715024948, 0.034398339688777924, 0.043444931507110596, -0.013402609154582024, 0.009813723154366016, -0.010755819268524647, 0.012831239029765129, 0.0260224100202322, -0.021991850808262825, -0.016935868188738823, -0.009429388679564, -0.031883228570222855, -0.004794510081410408, 0.004921055864542723, -0.02666577696800232, -0.035374436527490616, 0.041219569742679596, -0.027340993285179138, 0.023244177922606468, 0.020206868648529053, -0.00003280585951870307, -0.03944769129157066, -0.05357060581445694, -0.0503009669482708, -0.03849120810627937, -0.07617270201444626, -0.018550561740994453, 0.04807836189866066, -0.02424362674355507, -0.024028370156884193, -0.005572157446295023, -0.02462565153837204, -0.010302103124558926, 0.03418585658073425, -0.025391679257154465, -0.04443426430225372, 0.032755959779024124, 0.00027183929341845214, 0.03143467381596565, 0.03667273372411728, 0.033123139292001724, -0.010701527819037437, -0.02081548422574997, -0.0542224682867527, -0.026689685881137848, 0.03490349277853966, -0.0005079373368062079, 0.03931070491671562, -0.0841747522354126, 0.020390938967466354, 0.009153139777481556, -0.01377423107624054, -0.061633575707674026, 0.022323323413729668, -0.004469029139727354, -0.02696687914431095, 0.03501109778881073, -0.025986356660723686, -0.008894951082766056, -0.01677764765918255, -0.01397906243801117, 0.02853234112262726, 0.03239943087100983, 0.04561963677406311, -0.04544718563556671, 0.08348259329795837, 0.024330569431185722, -0.01575915515422821, -0.02212003618478775, 0.010505910962820053, 0.002031667623668909, -0.004631673917174339, -0.035172298550605774, -0.05685121938586235, -0.06590572744607925, -0.054605305194854736, -0.0060338289476931095, 0.01952078938484192, -0.030168898403644562, -0.03898096829652786, 0.02516297996044159, 0.020195372402668, -0.07738281786441803, 0.00939351785928011, -0.028483103960752487, 0.018268480896949768, -0.03628351539373398, -0.025272469967603683, 0.014483409933745861, 0.02592744119465351, -0.002114455681294203, 0.003985482733696699, 0.038767579942941666, -0.04494069516658783, -0.02065175026655197, -0.029366470873355865, 0.01216875296086073, 0.02617723122239113, -0.00861891359090805, -0.006940734572708607 ]
[ -0.10513239353895187, 0.00033121395972557366, -0.015483807772397995, -0.029648520052433014, 0.043980102986097336, -0.034513574093580246, -0.004565430339425802, 0.02299180068075657, -0.019861839711666107, -0.025311540812253952, 0.00848355796188116, -0.02688276767730713, -0.011345871724188328, 0.0376410149037838, 0.06871027499437332, 0.003464946523308754, -0.039059095084667206, -0.07317677140235901, 0.03482980653643608, 0.028922686353325844, 0.03965660557150841, 0.00617190869525075, -0.046303629875183105, -0.017306027933955193, 0.028298133984208107, 0.05277090147137642, 0.040056608617305756, -0.06620604544878006, 0.010608043521642685, -0.20545914769172668, -0.00878207292407751, -0.032269299030303955, 0.0031389566138386726, -0.04246669262647629, 0.012954597361385822, 0.00790554378181696, 0.040841057896614075, 0.019494526088237762, 0.014264832250773907, 0.035133425146341324, -0.013326146639883518, 0.027211222797632217, -0.05131475627422333, -0.04808901250362396, 0.011915537528693676, 0.019081125035881996, -0.01884145848453045, 0.004502137191593647, -0.0015178885078057647, 0.03399978578090668, -0.03677384927868843, -0.011790329590439796, -0.0009007267653942108, -0.039572518318891525, -0.016837021335959435, 0.0027782274410128593, 0.047659799456596375, 0.07366904616355896, 0.02831135131418705, 0.02547253482043743, -0.002148956060409546, -0.026496505364775658, -0.13376937806606293, 0.10283291339874268, 0.0055046542547643185, 0.05279330909252167, 0.002765917219221592, -0.017363732680678368, 0.0017590104835107923, 0.06938812881708145, 0.018387051299214363, -0.00858411192893982, -0.007814127951860428, 0.0536617673933506, 0.016428902745246887, -0.025948982685804367, 0.017514435574412346, 0.0045411898754537106, 0.05965743958950043, -0.043377384543418884, -0.04652382433414459, -0.03194549307227135, 0.02479608543217182, -0.029899321496486664, -0.009773225523531437, 0.01748867891728878, 0.004504094831645489, 0.039375822991132736, 0.021501781418919563, 0.05325976014137268, 0.039259690791368484, -0.013923859223723412, -0.010802219621837139, 0.016322607174515724, -0.08605511486530304, -0.0028936967719346285, 0.01936184987425804, 0.020259102806448936, -0.0245444867759943, 0.420193076133728, -0.04605116322636604, -0.011001299135386944, 0.022087423130869865, 0.04089844971895218, -0.03177529200911522, -0.003993444610387087, -0.007355809677392244, -0.05894320085644722, -0.002123721409589052, -0.04448268935084343, 0.010094753466546535, 0.009017596021294594, 0.05402466654777527, -0.05856962129473686, -0.014272267930209637, 0.0034388606436550617, 0.061943065375089645, -0.015012271702289581, -0.005566438194364309, 0.041286859661340714, 0.005770681891590357, 0.006753765977919102, 0.02886098064482212, -0.017562134191393852, 0.005348883103579283, -0.035095926374197006, 0.03935413435101509, 0.06514985859394073, 0.01666092313826084, -0.015030499547719955, 0.04812660440802574, -0.08081211894750595, -0.06473254412412643, -0.023594800382852554, 0.04061120003461838, -0.006576374638825655, 0.021390540525317192, -0.03866983577609062, 0.01676335744559765, -0.02020489238202572, -0.015958178788423538, -0.04930196702480316, 0.023947682231664658, 0.0017969453474506736, -0.06688424944877625, 0.11098109930753708, 0.006499713286757469, 0.0032658292911946774, -0.004487874452024698, -0.032795630395412445, -0.015459246002137661, 0.01428915187716484, 0.0085061676800251, -0.06184162572026253, 0.03921414166688919, 0.02193540893495083, 0.07386615127325058, 0.013435020111501217, -0.04053444042801857, -0.024202466011047363, -0.016815925016999245, -0.004995464347302914, -0.04844287410378456, 0.0339808464050293, 0.02565198391675949, -0.0690818801522255, -0.03668275102972984, 0.032842282205820084, 0.04820515587925911, -0.09046303480863571, -0.01257888600230217, 0.023135390132665634, -0.025351274758577347, -0.03717765957117081, 0.06102265045046806, 0.008648911491036415, 0.022895419970154762, -0.0007337880670093, 0.03240310400724411, 0.03410067409276962, 0.018150730058550835, 0.004242877010256052, -0.06032976880669594, 0.015058770775794983, 0.004114139825105667, -0.07149990648031235, -0.020942682400345802, -0.010229934938251972, -0.011637041345238686, -0.013834713026881218, 0.013218440115451813, -0.07745960354804993, -0.08967050164937973, 0.09648805111646652, -0.045516375452280045, -0.03951577469706535, 0.025563953444361687, 0.013431592844426632, 0.025813430547714233, -0.02323213778436184, -0.005272180773317814, 0.004971651826053858, -0.0020400281064212322, 0.02906329557299614, -0.0329798199236393, 0.07642222940921783, 0.06698285788297653, -0.07702991366386414, 0.06110473349690437, 0.02209697850048542, -0.03507845476269722, -0.032090093940496445, 0.0038465112447738647, 0.0027040597051382065, 0.008143892511725426, -0.006819531321525574, 0.007863316684961319, 0.013234740123152733, -0.0029311066027730703, 0.051729194819927216, -0.011154833249747753, -0.012152357958257198, 0.028760554268956184, -0.3350730240345001, -0.03760054334998131, -0.03309885039925575, -0.02958502061665058, 0.021623114123940468, -0.03381962701678276, -0.03182337433099747, -0.015747759491205215, 0.012740479782223701, -0.009176588617265224, 0.07581739127635956, 0.009985921904444695, -0.032021306455135345, -0.12255189567804337, 0.010609354823827744, 0.0032745166681706905, -0.0621061772108078, -0.02729402855038643, -0.026227721944451332, -0.020480558276176453, -0.01368497684597969, -0.0011676143622025847, -0.020653722807765007, -0.08976201713085175, 0.019935881718993187, -0.07485557347536087, 0.09220602363348007, -0.031139809638261795, 0.08595287799835205, -0.04913024231791496, 0.0517728216946125, -0.009140154346823692, 0.0010210996260866523, -0.08214462548494339, 0.020432645455002785, -0.06882881373167038, -0.040752340108156204, -0.005864120088517666, 0.03468712046742439, -0.029659153893589973, -0.028707342222332954, -0.0031747298780828714, -0.030099686235189438, -0.04172718524932861, -0.027965787798166275, -0.0076229809783399105, 0.002403119346126914, -0.0005392743623815477, -0.01870020106434822, 0.06684740632772446, 0.00623570429161191, -0.034051038324832916, 0.01647745445370674, 0.031029945239424706, 0.01703980378806591, -0.026985779404640198, -0.08777666091918945, 0.017497533932328224, 0.009290994144976139, -0.016617320477962494, 0.02861246094107628, 0.07061874866485596, 0.013850807212293148, -0.014234167523682117, -0.03491000458598137, 0.019548138603568077, -0.019551359117031097, -0.05962083488702774, 0.025283513590693474, -0.00985551718622446, -0.029902318492531776, 0.1077575758099556, -0.01700492762029171, -0.005288819316774607, 0.023569760844111443, 0.0293212179094553, -0.002101930556818843, 0.018903572112321854, 0.05083661898970604, 0.0009094023844227195, 0.000875089259352535, 0.01233460009098053, 0.07702244073152542, -0.0022447865922003984, -0.0005027256556786597, 0.006296158768236637, -0.004385620821267366, 0.02213462069630623, 0.05601010099053383, -0.02148672752082348, -0.035605210810899734, -0.010569310747087002, -0.007708846591413021, -0.06859852373600006, 0.07697829604148865, -0.009825125336647034, -0.24512715637683868, 0.0110214464366436, 0.080132395029068, 0.036451030522584915, -0.0062918877229094505, 0.016544664278626442, -0.004842421505600214, -0.019914405420422554, -0.008044197224080563, 0.010850539430975914, 0.018878905102610588, 0.053526509553194046, 0.01239734422415495, -0.008064295165240765, 0.031523969024419785, -0.017846213653683662, 0.033535223454236984, -0.02035585790872574, 0.01925172284245491, -0.016720527783036232, 0.01638677529990673, -0.004392718430608511, 0.16106218099594116, 0.002834881190210581, 0.05289910361170769, 0.04096037894487381, 0.031142570078372955, 0.01917615905404091, 0.10312022268772125, 0.03257552906870842, 0.005838131066411734, -0.0072156633250415325, 0.10048822313547134, 0.02428019978106022, 0.014699195511639118, -0.06758808344602585, -0.015606354922056198, 0.03363211825489998, 0.012299967929720879, -0.0003938265435863286, -0.005483259912580252, 0.03070499747991562, -0.052472956478595734, 0.015973679721355438, 0.09109040349721909, 0.0316399447619915, -0.012027968652546406, -0.035650625824928284, -0.06593570113182068, -0.04599370062351227, -0.023833628743886948, -0.04028873145580292, 0.002236829837784171, -0.006629454903304577, -0.006242475938051939, 0.07149630039930344, 0.03996383026242256, -0.018755832687020302, -0.016640901565551758, 0.012076601386070251, -0.002749041887000203, 0.010453424416482449, 0.11077369004487991, 0.026618028059601784, 0.03933628648519516 ]
[ -0.020203888416290283, 0.010541186667978764, 0.011335544288158417, 0.02450823411345482, -0.004515846259891987, 0.04825914278626442, -0.020370125770568848, 0.0070778988301754, 0.019566142931580544, -0.008350271731615067, -0.02869679592549801, -0.020002076402306557, -0.012738252058625221, -0.04223676398396492, 0.012291999533772469, -0.0106361648067832, 0.0007477459730580449, -0.038926366716623306, 0.041837334632873535, 0.040094032883644104, -0.017434172332286835, 0.0109708858653903, -0.0028570829890668392, 0.025474080815911293, 0.0005470780306495726, -0.006429266184568405, 0.010371658951044083, -0.018223902210593224, 0.004682914353907108, -0.12495451420545578, -0.05461035668849945, -0.0001412851270288229, -0.052523523569107056, -0.0005769127164967358, -0.018048811703920364, -0.015844913199543953, 0.01555462647229433, 0.014909939840435982, 0.005868714768439531, -0.01169074047356844, -0.024846989661455154, -0.01839359849691391, 0.025603877380490303, -0.012550681829452515, -0.0015443258453160524, -0.028128113597631454, 0.012203937396407127, -0.010196126066148281, -0.04174426198005676, 0.01621745340526104, -0.026249559596180916, -0.019672464579343796, -0.013556779362261295, -0.019487982615828514, 0.03603525459766388, 0.005841632839292288, -0.023527352139353752, -0.018154144287109375, 0.008796804584562778, 0.009845252148807049, -0.0067820437252521515, -0.005056128837168217, -0.02027430757880211, -0.011383888311684132, 0.008417593315243721, -0.03829416260123253, 0.000713749264832586, 0.006100617349147797, 0.016015954315662384, -0.0210843738168478, -0.024062177166342735, 0.023723572492599487, -0.0064190467819571495, 0.02929147519171238, -0.014924974180758, -0.002092950511723757, 0.02058442309498787, -0.025099510326981544, 0.025898033753037453, -0.02713574655354023, -0.047754473984241486, 0.007673052605241537, 0.014383728615939617, 0.014836972579360008, 0.03043549321591854, -0.04986603930592537, 0.022072190418839455, 0.056167274713516235, 0.006228290498256683, -0.03584339842200279, -0.03497844189405441, 0.02930443547666073, -0.00618482381105423, 0.03816833347082138, -0.0701088011264801, -0.006871244870126247, -0.009320879355072975, -0.005424559116363525, 0.02000068873167038, 0.841672420501709, -0.002735484391450882, 0.057822953909635544, -0.0061369058676064014, 0.030295975506305695, 0.014792039059102535, -0.021007703617215157, -0.005165420472621918, -0.02143591269850731, -0.01483876258134842, -0.04376700893044472, 0.02345694787800312, 0.02217673882842064, 0.028670446947216988, 0.02407148666679859, 0.004996308125555515, 0.01949232816696167, -0.0005201519816182554, 0.007573323789983988, -0.0013493822189047933, 0.020492294803261757, -0.006841446738690138, 0.003406007308512926, 0.0002969240886159241, -0.023279370740056038, 0.011947877705097198, -0.15972959995269775, 0.05457029491662979, -7.785590755031808e-33, 0.05397486314177513, -0.007910793647170067, 0.02439362183213234, -0.005795584060251713, 0.04328707233071327, 0.02660318836569786, 0.004798812326043844, 0.02578103542327881, 0.04718060791492462, -0.050595205277204514, 0.017673827707767487, -0.0637216717004776, -0.005601820070296526, -0.05726012587547302, 0.03967301547527313, -0.0005323899094946682, -0.01346623059362173, 0.03620140999555588, 0.033450763672590256, 0.039625875651836395, 0.02829510159790516, 0.022907229140400887, 0.021527301520109177, -0.0376276932656765, -0.00520410668104887, 0.025511424988508224, 0.013024493120610714, 0.04545632377266884, -0.03220588341355324, -0.04698110371828079, 0.022318603470921516, -0.011954340152442455, -0.00756912911310792, 0.020884769037365913, 0.05265653133392334, -0.02364138700067997, -0.014340423978865147, 0.023084836080670357, -0.024112561717629433, -0.021134324371814728, -0.047754205763339996, -0.016181088984012604, -0.0145932137966156, -0.042040906846523285, -0.02739616483449936, -0.011015010997653008, 0.004395339637994766, 0.0076125022023916245, 0.012571114115417004, 0.009328804910182953, -0.016501350328326225, 0.03492923453450203, 0.00827463623136282, -0.04208037629723549, -0.0454382561147213, 0.03118942119181156, 0.0012044322211295366, -0.016269901767373085, 0.025558434426784515, 0.024560749530792236, 0.006400898564606905, -0.017556196078658104, -0.014680098742246628, -0.009677589870989323, -0.029492083936929703, -0.0015253517776727676, 0.05815112963318825, -0.03867478668689728, 0.03790239617228508, -0.0017508812015876174, -0.03195715323090553, -0.020894194021821022, -0.007368224672973156, 0.00039168898365460336, 0.014078239910304546, 0.009481370449066162, 0.04161321744322777, 0.004920188803225756, 0.03263853117823601, 0.015555058605968952, 0.021441826596856117, -0.027292614802718163, 0.019550487399101257, -0.032371945679187775, 0.009075264446437359, -0.020081153139472008, 0.004311538767069578, -0.004533716011792421, 0.009298989549279213, -0.007564070634543896, 0.02589455619454384, 0.014149513095617294, -0.012364625930786133, -0.019208036363124847, 0.02663573808968067, 7.738141190876897e-33, 0.02973128668963909, -0.01997768133878708, -0.021079055964946747, 0.01513589359819889, 0.029965929687023163, -0.040029093623161316, -0.031031230464577675, 0.06150394678115845, -0.054637059569358826, 0.017165567725896835, 0.03638771176338196, 0.013518324121832848, -0.03898897022008896, 0.027699807658791542, 0.025245994329452515, -0.021986722946166992, 0.052681971341371536, -0.0440005287528038, 0.00965679157525301, -0.015309804119169712, 0.014041794463992119, 0.008816731162369251, -0.014685564674437046, -0.029239878058433533, 0.043533019721508026, 0.05455612763762474, -0.019316673278808594, 0.024372555315494537, 0.006253533996641636, 0.027799103409051895, -0.006807239260524511, 0.0019464993383735418, 0.01439362671226263, -0.057768240571022034, -0.030786029994487762, 0.02399134822189808, 0.00883539579808712, -0.03685016930103302, 0.04159580543637276, 0.05239131674170494, -0.007954818196594715, -0.0032291971147060394, -0.018216779455542564, 0.00997082982212305, 0.017679722979664803, 0.04611050337553024, 0.007020053919404745, 0.01692649908363819, 0.012133724056184292, -0.005047856830060482, 0.01436104066669941, -0.025441981852054596, -0.006926672533154488, 0.005973834078758955, 0.009409579448401928, -0.01513869408518076, -0.009235906414687634, -0.02033121883869171, -0.012540306895971298, 0.007472296245396137, -0.03240177407860756, 0.011670266278088093, -0.03639324754476547, -0.001095604500733316, -0.03354824334383011, 0.0018476381665095687, -0.021846238523721695, -0.015177957713603973, 0.020586775615811348, 0.009130623191595078, -0.011766010895371437, -0.002790415193885565, -0.025708144530653954, 0.02604113146662712, -0.0031601039227098227, -0.029216479510068893, 0.0038573304191231728, 0.014594843611121178, -0.009316648356616497, -0.0018602163763716817, 0.002954985713586211, -0.006371223833411932, 0.029420677572488785, 0.0015185996890068054, -0.018848618492484093, 0.020690789446234703, -0.02044004574418068, -0.0037648510187864304, -0.011304198764264584, -0.031104914844036102, -0.04935246333479881, -0.017797980457544327, -0.035222601145505905, 0.02983095496892929, -0.01400909572839737, -1.332000465481542e-8, -0.04010910540819168, 0.034855298697948456, -0.00846934225410223, 0.0050845881924033165, -0.010895955376327038, -0.01700255088508129, -0.02114296704530716, -0.04058106243610382, 0.04618868604302406, 0.010068370029330254, 0.05505434423685074, -0.008107759058475494, 0.0031460579484701157, -0.006352683529257774, -0.012232737615704536, -0.04760852828621864, -0.0560794360935688, 0.011632749810814857, 0.005408489145338535, 0.011955933645367622, 0.05720563232898712, 0.019545020535588264, 0.012491866014897823, -0.013270308263599873, 0.0573619119822979, 0.04202708601951599, -0.0011200924636796117, -0.03788452968001366, 0.0150778628885746, 0.033013589680194855, 0.010560443624854088, -0.01939334161579609, -0.01873200200498104, -0.018293442204594612, -0.0423009879887104, -0.030463000759482384, -0.007849389687180519, -0.0003997224266640842, -0.008959397673606873, 0.010303506627678871, 0.028409279882907867, -0.0036335033364593983, -0.014782545156776905, -0.00013656081864610314, -0.01114210207015276, -0.006062761880457401, -0.03020409122109413, -0.02222936600446701, -0.0001658294931985438, -0.0251025278121233, -0.0029239123687148094, 0.02378394640982151, 0.03253854066133499, 0.003319014562293887, 0.003073963336646557, 0.04181062802672386, 0.020566368475556374, -0.0032531863544136286, -0.043066270649433136, 0.007396198343485594, 0.019028348848223686, -0.002208026824519038, -0.011661756783723831, -0.023924212902784348 ]
coding-api-readabilitytestability
https://markhneedham.com/blog/2009/10/10/coding-api-readabilitytestability
false
2009-10-26 06:32:24
Scala: Converting an input stream to a string
[ "scala" ]
[ "Scala" ]
I was playing around with Scala over the weekend and one thing that I wanted to do was get the data from a HTTP response as a string so that I could parse the xml returned. The data source is fairly small so loading the stream into memory wasn't a problem. http://www.lixo.org/[Carlos] pointed me to http://www.kodejava.org/examples/266.html[a bit of Java code that did this] and I converted it as literally as possible into Scala. [source,scala] ---- def convertStreamToString(is: InputStream): String = { val reader = new BufferedReader(new InputStreamReader(is)); val sb = new StringBuilder(); var line : String = null; try { while ((line = reader.readLine()) != null) { sb.append(line + "\n"); } } catch { case e: IOException => e.printStackTrace(); } finally { try { is.close(); } catch { case e: IOException => e.printStackTrace(); } } sb.toString(); } ---- The problem with this bit of code becomes clear when we try to run it through the REPL: [source,text] ---- 7:warning: comparing values of types Unit and Null using `!=' will always yield true while ((line = reader.readLine()) != null) { ---- In Java the expression '(line = reader.readLine())' would return the value of 'reader.readLine()' as far as I understand. We can then compare that to null. In Scala the evaluation of that expression is 'Unit' so if we ever run this function we end up in an infinite loop and eventually run out of memory. I rewrote this function making use of recursion to get around the problem: [source,scala] ---- def convertStreamToString(is : InputStream) : String = { def inner(reader : BufferedReader, sb : StringBuilder) : String = { val line = reader.readLine() if(line != null) { try { inner(reader, sb.append(line + "\n")) } catch { case e : IOException => e.printStackTrace() } finally { try { is.close() } catch { case e : IOException => e.printStackTrace() } } } sb.toString() } inner(new BufferedReader(new InputStreamReader(is)), new StringBuilder()) } ---- The code is still peppered with error handling statements but it now allows us to convert the stream into a string. Is there a better/cleaner/more Scala-esque way to do this?
null
null
[ -0.0015798489330336452, -0.05725555866956711, -0.03021005541086197, 0.0032229407224804163, 0.05358045548200607, 0.014806895516812801, 0.0423431321978569, 0.03090629167854786, -0.006733424961566925, -0.01679268479347229, -0.02247758023440838, 0.0036668721586465836, -0.08709069341421127, 0.023610610514879227, -0.03431658446788788, 0.06887958198785782, 0.07360311597585678, -0.04114594683051109, 0.021288469433784485, -0.011478723026812077, 0.024022607132792473, 0.0674886405467987, -0.0027376683428883553, 0.05500886216759682, 0.04372601956129074, -0.01304618176072836, 0.0038234656676650047, 0.027154063805937767, -0.04583378881216049, 0.017535101622343063, 0.036045998334884644, 0.017659321427345276, -0.007082171738147736, -0.003946120850741863, 0.011164308525621891, -0.021253829821944237, 0.013131697662174702, 0.015209894627332687, -0.022423475980758667, 0.05228303000330925, -0.035167574882507324, -0.0020192943047732115, -0.03042489103972912, 0.03396943211555481, -0.017201194539666176, 0.008741866797208786, -0.02105879783630371, 0.01467138435691595, -0.029714640229940414, 0.018349945545196533, -0.078330397605896, 0.01929885521531105, -0.051594994962215424, 0.014750003814697266, -0.0006769300671294332, 0.05103721469640732, 0.02081887237727642, -0.06478828191757202, 0.05443393066525459, -0.07625516504049301, 0.013167180120944977, -0.010878373868763447, 0.019231803715229034, 0.015838822349905968, 0.008706819266080856, -0.019184229895472527, 0.006187027785927057, 0.06472793966531754, -0.04634660854935646, -0.04921726882457733, -0.01823534443974495, 0.037658147513866425, -0.041152533143758774, -0.010534996166825294, 0.01918361335992813, -0.05404960736632347, -0.029990358278155327, 0.07117634266614914, -0.0007206120062619448, 0.011739942245185375, -0.025470884516835213, -0.000046482633479172364, 0.03745819628238678, 0.005618011113256216, 0.043699491769075394, -0.023296896368265152, -0.03736399486660957, -0.016086751595139503, -0.05320116505026817, 0.05493314191699028, 0.03234945610165596, -0.037600621581077576, -0.01936420053243637, 0.020575832575559616, 0.0033543684985488653, 0.014623435214161873, -0.0038278098218142986, -0.005989051889628172, -0.01245166826993227, -0.008927317336201668, -0.02623828500509262, -0.0032564878929406404, 0.04420098289847374, -0.0017493694322183728, -0.05876471847295761, -0.042774446308612823, -0.00694834953173995, 0.012395677156746387, 0.021718069911003113, 0.03063593991100788, -0.04427848756313324, -0.005456575192511082, -0.032585036009550095, 0.0009389321785420179, -0.07587212324142456, 0.04384935274720192, 0.017045604065060616, -0.028096362948417664, -0.02192140929400921, 0.07127465307712555, 0.06605924665927887, -0.010492137633264065, 0.013413035310804844, 0.08146162331104279, 0.011045802384614944, 0.03215890750288963, 0.020571725443005562, 0.053728315979242325, 0.00032456236658617854, -0.05681093409657478, 0.0076270452700555325, 0.04599969834089279, 0.017161907628178596, -0.0094939349219203, 0.002465826692059636, 0.010989960283041, -0.01249222457408905, -0.002659277757629752, 0.031575705856084824, 0.006924713496118784, -0.02410263568162918, 0.005280314013361931, 0.0027674708981066942, -0.009115887805819511, 0.03296549245715141, 0.01140863448381424, -0.001152071519754827, -0.006541374139487743, 0.03732239827513695, 0.020517781376838684, 0.020428067073225975, 0.04392820969223976, 0.06155548244714737, -0.03229194134473801, -0.01763738878071308, 0.06713055074214935, -0.013881498016417027, 0.043050576001405716, -0.011532902717590332, 0.033683955669403076, 0.0634433776140213, 0.015059164725244045, -0.006367829628288746, 0.03262316435575485, 0.046201158314943314, 0.005822532344609499, -0.001997522544115782, 0.003918609116226435, -0.03043903037905693, -0.026344571262598038, -0.05377443507313728, -0.04089200496673584, 0.04263538494706154, -0.050229836255311966, -0.02257257141172886, -0.016243385151028633, 0.05491695925593376, -0.0018373047932982445, 0.05626072734594345, -0.0012037561973556876, -0.061130341142416, 0.023990076035261154, -0.017037570476531982, 0.021261202171444893, 0.014395426027476788, 0.03164122998714447, 0.07864896208047867, 0.05982843041419983, 0.0016775366384536028, -0.024683061987161636, -0.07349316775798798, -0.0725548267364502, -0.03280673176050186, 0.012898166663944721, 0.06603311002254486, -0.05259537696838379, -0.015396357513964176, 0.07446008175611496, 0.0029784676153212786, 0.011391674168407917, 0.004125358536839485, 0.009746739640831947, -0.009566698223352432, -0.022188222035765648, -0.01751164346933365, 0.028298843652009964, 0.06581887602806091, -0.03501494601368904, -0.018078921362757683, 0.021125350147485733, -0.026248149573802948, 0.008947500959038734, 0.01620148867368698, -0.042367320507764816, 0.03888078033924103, 0.0485302098095417, -0.006394546944648027, -0.032775599509477615, 0.09199603646993637, -0.06811349838972092, 0.0597895048558712, 0.026418562978506088, -0.00660368800163269, -0.02542966976761818, 0.010390941053628922, 0.1508329063653946, 0.051749106496572495, 0.004226359538733959, -0.04598847031593323, 0.011151681654155254, -0.02912733145058155, -0.04993985593318939, -0.0035239055287092924, 0.0025245193392038345, -0.03398939222097397, 0.024678228422999382, -0.016300546005368233, 0.015429999679327011, 0.011920269578695297, -0.021989626809954643, 0.0004280191787984222, 0.07079880684614182, -0.026909753680229187, 0.04501184821128845, 0.0005883073317818344, -0.02120542712509632, -0.00845620222389698, -0.04538092389702797, -0.04298006743192673, -0.0026241440791636705, 0.02748311124742031, -0.013306026346981525, 0.039900485426187515, -0.03640009090304375, -0.03614885360002518, -0.020737048238515854, -0.0669475793838501, -0.007546611130237579, 0.0425700768828392, 0.045241475105285645, -0.02375388704240322, 0.014186293818056583, -0.018576186150312424, -0.05211570858955383, -0.03970479965209961, -0.052785541862249374, -0.022540148347616196, 0.015154249966144562, 0.012802940793335438, 0.046138301491737366, 0.01673896424472332, 0.0522068552672863, 0.025513436645269394, 0.024846253916621208, -0.043478112667798996, 0.008051768876612186, 0.04664004221558571, -0.027916306629776955, 0.012282561510801315, -0.0289553664624691, -0.014479423873126507, 0.0327751524746418, -0.06442010402679443, -0.06335233151912689, -0.010590784251689911, -0.06324265897274017, 0.05323387682437897, -0.03030037321150303, -0.045389387756586075, 0.010468938387930393, 0.034786392003297806, 0.025158941745758057, -0.02756667509675026, 0.0028840219601988792, 0.05362365022301674, 0.0040369355119764805, 0.042479339987039566, 0.015360308811068535, 0.01893247291445732, 0.016030387952923775, -0.005744446534663439, 0.022979794070124626, 0.06416009366512299, 0.03166244551539421, -0.017704954370856285, -0.018151380121707916, 0.004379764199256897, -0.012592103332281113, -0.2474781721830368, 0.02888907864689827, -0.029539573937654495, -0.04059380292892456, 0.03792421892285347, -0.03735123947262764, -0.0070389509201049805, -0.04311295226216316, -0.008796937763690948, 0.04029437154531479, -0.009440680965781212, -0.014153479598462582, -0.04796357452869415, 0.05258168280124664, -0.003631209023296833, -0.03727100417017937, -0.027947688475251198, -0.014473221264779568, 0.028632234781980515, 0.05010836571455002, -0.010742055252194405, -0.05767485126852989, 0.016638875007629395, 0.06625315546989441, 0.028981978073716164, 0.04399755969643593, -0.07903909683227539, 0.03982887417078018, -0.0174452755600214, -0.015042871236801147, 0.010850566439330578, -0.0360708124935627, 0.013358726166188717, -0.03647395223379135, -0.01719900220632553, -0.016524434089660645, 0.014871486462652683, 0.03264044225215912, 0.014149145223200321, 0.04335435852408409, -0.05491992458701134, -0.07727502286434174, -0.0011258962331339717, -0.0231134295463562, 0.04260426014661789, -0.005775403697043657, -0.05442432686686516, 0.003974813502281904, -0.005069957114756107, 0.05495951324701309, -0.0733807235956192, -0.028757244348526, -0.03554927557706833, 0.02925577387213707, -0.007652286905795336, -0.030086591839790344, -0.01402905024588108, -0.004352310206741095, -0.02296040579676628, 0.0029690994415432215, 0.0031463049817830324, -0.03779461234807968, -0.008279366418719292, -0.0427059642970562, -0.04203705117106438, -0.04116252437233925, -0.04143432155251503, 0.034136176109313965, 0.08261357992887497, 0.046920012682676315, -0.023052966222167015, -0.026422208175063133, 0.009887735359370708, -0.11277681589126587, -0.019304880872368813, -0.04565868154168129, -0.026623137295246124, -0.014221549034118652, -0.025923147797584534, 0.02343759872019291, -0.057668160647153854, -0.05806072801351547, 0.023909829556941986, 0.013867494650185108, 0.045273128896951675, -0.017993751913309097, -0.024018818512558937, -0.05822845920920372, -0.00878538191318512, -0.016736812889575958, 0.056854210793972015, -0.03175271674990654, -0.018895741552114487, -0.025831282138824463, -0.027673965319991112, 0.06799973547458649, 0.01308820303529501, 0.01752408780157566, 0.029297618195414543, 0.033019356429576874, 0.04407356679439545, -0.032593462616205215, 0.0057093254290521145, -0.01694590225815773, 0.030634436756372452, -0.008331065066158772, -0.08412747830152512, 0.030543005093932152, 0.009482704102993011, -0.01738426834344864, -0.02616751194000244, -0.03544402867555618, -0.01798335276544094, -0.049457307904958725, -0.03822019323706627, -0.02105962485074997, -0.021749908104538918, 0.02828458696603775, 0.012760553508996964, -0.04025318846106529, -0.06132820248603821, -0.013506020419299603, 0.06560613214969635, -0.03911985829472542, -0.05060463771224022, -0.03788940608501434, -0.009991549886763096, -0.020484736189246178, -0.015157419256865978, -0.006384109612554312, -0.020406484603881836, 0.029029900208115578, 0.000738609058316797, -0.011066773906350136, 0.0077917552553117275, -0.019276607781648636, -0.0032967536244541407, -0.049565449357032776, 0.0019662315025925636, 0.0055289906449615955, 0.04655131325125694, -0.043834589421749115, 0.014349718578159809, 0.037098225206136703, 0.006021447945386171, -0.000936427793931216, 0.0013012373819947243, -0.0004200104158371687, -0.03128344938158989, 0.026716720312833786, 0.03385191410779953, -0.04647324979305267, 0.012279041111469269, -0.009685524739325047, -0.03250613436102867, -0.014959435909986496, 0.016124257817864418, -0.021733414381742477, -0.028692271560430527, -0.02196750044822693, 0.03294946998357773, -0.02363639511168003, -0.008617504499852657, -0.00231160712428391, -0.03280463442206383, 0.032471444457769394, -0.01159212552011013, 0.03648531809449196, 0.009001843631267548, -0.022108731791377068, -0.015575749799609184, -0.008597314357757568, 0.01039036363363266, 0.03983476012945175, -0.0024439075496047735, 0.0032311780378222466, 0.0175222959369421, 0.02211238071322441, -0.005818740464746952, 0.02568890154361725, 0.019061440601944923, 0.01709572784602642, 0.0320335328578949, 0.014512048102915287, 0.04584057256579399, 0.011910288594663143, 0.01490652933716774, 0.0009217965416610241, -0.04687851667404175, -0.024281976744532585, -0.039472196251153946, -0.010771727189421654, -0.018268076702952385, 0.020688753575086594, -0.021898437291383743, -0.0703861191868782, 0.01986989937722683, 0.031424630433321, 0.020178787410259247, 0.012512433342635632, 0.0055116754956543446, 0.0005900259711779654, -0.021141747012734413, -0.03025134652853012, 0.03909869119524956, -0.042154598981142044, -0.022782066836953163, -0.007435277104377747, -0.001701987348496914, 0.02980489283800125, 0.0026369767729192972, -0.05920524150133133, 0.017217041924595833, -0.0023318305611610413, -0.021362008526921272, -0.014817334711551666, -0.030535340309143066, -0.051279328763484955, -0.0017047610599547625, -0.014576338231563568, 0.016246045008301735, 0.0020613002125173807, -0.019266268238425255, -0.019415831193327904, -0.010576248168945312, -0.012553241103887558, -0.010193383321166039, -0.006260171066969633, 0.04153100401163101, -0.04686267673969269, 0.05338412895798683, -0.023826800286769867, 0.03681281954050064, 0.024448992684483528, -0.008909063413739204, -0.018869010731577873, -0.06893915683031082, 0.027103548869490623, 0.020964469760656357, 0.07843048125505447, 0.028946099802851677, -0.0016539671923965216, 0.009800749830901623, 0.013482778333127499, -0.0003612619184423238, 0.021701350808143616, 0.010663146153092384, -0.01561501994729042, 0.020974723622202873, 0.06517592817544937, 0.007811906281858683, 0.05803574621677399, 0.01700778678059578, -0.03830708935856819, 0.07191276550292969, -0.03268928825855255, -0.031900908797979355, -0.014395318925380707, -0.042080216109752655, 0.026438087224960327, 0.02548139914870262, 0.014704102650284767, -0.0421188659965992, 0.06916108727455139, 0.054601721465587616, 0.001911407569423318, 0.06279639154672623, -0.006575614679604769, 0.05507476627826691, -0.02197960950434208, -0.017459232360124588, -0.0949174091219902, 0.0010611098259687424, 0.06783369183540344, 0.029897039756178856, -0.0028348825871944427, -0.07773856073617935, -0.01999061368405819, 0.02228592522442341, -0.056627385318279266, -0.023453013971447945, 0.0259198397397995, 0.009896120987832546, -0.003259789664298296, 0.007815683260560036, -0.05431610718369484, 0.03654094412922859, 0.03607242554426193, -0.023245444521307945, -0.040515292435884476, -0.053412191569805145, 0.029973123222589493, 0.03666512295603752, 0.005541950464248657, -0.018262876197695732, 0.015192295424640179, 0.022725306451320648, 0.012789876200258732, 0.03291074559092522, 0.05259910970926285, -0.0320536307990551, 0.0405089408159256, 0.030573824420571327, -0.015889713540673256, 0.008150548674166203, 0.03921397402882576, -0.022829977795481682, -0.06905477494001389, 0.016425224021077156, 0.005368089769035578, -0.012039203196763992, -0.031041709706187248, 0.03619532659649849, 0.02322707511484623, -0.035590846091508865, -0.004067552275955677, -0.019834496080875397, -0.013311145827174187, -0.05047805979847908, -0.027830276638269424, 0.021541006863117218, -0.052104875445365906, 0.05384350195527077, -0.0012772593181580305, 0.012852518819272518, 0.07859406620264053, 0.013048824854195118, -0.012971547432243824, 0.00623940909281373, 0.0892905592918396, 0.08361627906560898, 0.016856584697961807, -0.023725776001811028, 0.045410264283418655, -0.0334952250123024, -0.03749392181634903, 0.05345851182937622, -0.0055256797932088375, -0.014941977337002754, -0.005710009019821882, 0.0196852907538414, 0.06636302918195724, -0.017308495938777924, 0.0777357742190361, -0.047565288841724396, -0.01379389874637127, 0.0006467567873187363, 0.03438086062669754, 0.028050223365426064, 0.020590640604496002, -0.01926419883966446, 0.023270215839147568, 0.007675659842789173, -0.06313095986843109, -0.007651930209249258, 0.020956218242645264, -0.020732009783387184, 0.006352495402097702, -0.007814806886017323, 0.0036814555060118437, 0.026957007125020027, 0.021141432225704193, 0.06510382145643234, -0.015104219317436218, -0.013304919004440308, -0.00198768125846982, -0.0020259690936654806, -0.0017697290750220418, -0.014682413078844547, -0.010814988985657692, -0.03373943269252777, -0.0020406993571668863, -0.02574724517762661, 0.015252867713570595, 0.006680569611489773, -0.04986578971147537, 0.007163248024880886, -0.021496277302503586, 0.004336420446634293, -0.012693424709141254, -0.016935773193836212, -0.036197833716869354, -0.05689043179154396, -0.06169740855693817, -0.040134940296411514, -0.0968804657459259, 0.009959700517356396, 0.01072427723556757, -0.02484157308936119, -0.03522278741002083, -0.04361148178577423, -0.025278091430664062, -0.0022656137589365244, 0.041624765843153, -0.019620656967163086, -0.033501673489809036, 0.03215033933520317, 0.0013774423860013485, 0.019472038373351097, 0.05482304468750954, 0.03947312384843826, -0.015079551376402378, 0.003156820544973016, -0.012704816646873951, -0.005128723569214344, 0.06286162883043289, 0.030199717730283737, -0.01062394306063652, -0.08079603314399719, -0.00048130471259355545, 0.05713202431797981, -0.0026726366486400366, -0.06035574898123741, 0.0006926017231307924, 0.024638062343001366, -0.02159329690039158, 0.04237715154886246, -0.025971664115786552, -0.007283226121217012, -0.04245752468705177, -0.04087486118078232, 0.002551791723817587, 0.008757823146879673, 0.04737047478556633, -0.009063324891030788, 0.0670059397816658, 0.0500076562166214, 0.0005299915210343897, -0.029048193246126175, 0.01020457036793232, -0.017381910234689713, 0.02769453264772892, -0.030108872801065445, -0.0328994058072567, -0.07284542918205261, 0.0010907247196882963, -0.027434533461928368, -0.005228676367551088, -0.0349389873445034, -0.01612114906311035, 0.009804550558328629, 0.06788340210914612, -0.023352378979325294, 0.04533756151795387, -0.027568254619836807, 0.043823037296533585, -0.01529560424387455, -0.05361206829547882, 0.00008221250755013898, 0.007404321804642677, -0.01791643723845482, 0.010545657947659492, 0.01505404245108366, -0.013440027832984924, 0.02247394621372223, -0.014460865408182144, 0.0489172525703907, 0.034751176834106445, -0.03763051703572273, 0.0042254189029335976 ]
[ -0.07028147578239441, -0.026687756180763245, -0.06494314223527908, -0.0034248498268425465, 0.021330073475837708, -0.08944195508956909, -0.02600843645632267, 0.04780687764286995, 0.014745588414371014, 0.0047685811296105385, -0.018692558631300926, -0.07797610014677048, 0.023223306983709335, -0.022871045395731926, 0.07856633514165878, -0.04231883957982063, -0.005506641697138548, -0.051606740802526474, -0.06099021062254906, 0.04068232700228691, 0.026599006727337837, -0.00793836172670126, -0.04137291759252548, -0.06491407006978989, 0.03848043829202652, 0.04498947411775589, 0.035952452570199966, -0.03945240005850792, 0.007037445902824402, -0.199332132935524, 0.017474327236413956, -0.05258794128894806, 0.010242337360978127, -0.023599328473210335, -0.018191559240221977, 0.047687578946352005, 0.0326949805021286, -0.000818870379589498, -0.032979413866996765, 0.05578719079494476, 0.03459358215332031, 0.024187078699469566, -0.0878005176782608, -0.02347816713154316, 0.018359212204813957, 0.02291499450802803, -0.018831685185432434, -0.011918644420802593, -0.0005277324235066772, 0.01409398578107357, -0.11547362804412842, 0.02417401410639286, 0.025419844314455986, -0.03639792278409004, 0.010253745131194592, 0.014760743826627731, 0.051078327000141144, 0.08524893969297409, 0.02395751141011715, 0.005341642536222935, -0.0014945047441869974, -0.012484747916460037, -0.11628088355064392, 0.05891738831996918, -0.003818272612988949, 0.06441276520490646, -0.011776570230722427, -0.005505067761987448, -0.025576550513505936, 0.056255728006362915, 0.011765065602958202, -0.022696958854794502, -0.02455391362309456, 0.07853853702545166, 0.0305309034883976, -0.008698556572198868, -0.0068344916217029095, 0.005045140627771616, 0.05356106162071228, -0.010095401667058468, -0.0565824918448925, -0.029524538666009903, -0.012571279890835285, 0.009294248186051846, -0.029343364760279655, 0.026147719472646713, 0.006212649866938591, 0.044700730592012405, 0.05890876427292824, 0.016548238694667816, 0.00907889287918806, -0.020809650421142578, 0.00810193456709385, 0.0441911406815052, -0.08209271728992462, 0.016912030056118965, -0.018740754574537277, -0.001484725042246282, 0.010573438368737698, 0.4165736138820648, -0.039954133331775665, 0.022648664191365242, 0.041595034301280975, 0.012367519550025463, 0.009603014215826988, 0.0031701233237981796, -0.00838711578398943, -0.029035722836852074, 0.0037928277160972357, -0.05731518939137459, 0.002704331185668707, -0.043664269149303436, 0.02849654108285904, -0.06396888196468353, -0.015702499076724052, 0.015317587181925774, 0.037344250828027725, -0.030894365161657333, -0.02072777971625328, 0.027379553765058517, -0.016789328306913376, 0.0002559586428105831, -0.0014178320998325944, 0.022229604423046112, 0.03488929569721222, 0.003930539358407259, 0.0470973439514637, 0.03480430319905281, 0.05281051620841026, 0.027863696217536926, 0.05524059012532234, -0.045685045421123505, -0.11693926900625229, -0.01207825355231762, -0.004387891851365566, 0.03406643867492676, 0.03842606395483017, -0.04777652025222778, -0.00797042902559042, 0.012584449723362923, -0.013854124583303928, -0.051546819508075714, 0.010214188136160374, -0.003603711724281311, -0.045313961803913116, 0.11287569254636765, 0.012318762950599194, -0.037312548607587814, -0.020951073616743088, -0.032838236540555954, -0.016876468434929848, 0.04184507206082344, 0.022331086918711662, -0.06581577658653259, 0.01500958763062954, 0.022972114384174347, 0.04318739473819733, -0.01702728122472763, -0.04116010665893555, -0.024169059470295906, -0.040568988770246506, -0.007533709984272718, -0.05118577927350998, 0.04271343722939491, 0.0241134874522686, -0.05361053720116615, -0.024154826998710632, 0.008370384573936462, 0.005362768657505512, -0.07434286177158356, 0.01682622730731964, 0.025044195353984833, -0.03955046460032463, -0.02900514006614685, 0.06038796529173851, -0.01549288909882307, -0.03971384838223457, -0.038124773651361465, 0.025743087753653526, 0.026010802015662193, -0.0013551448937505484, 0.025997856631875038, -0.042824968695640564, 0.009840909391641617, -0.015508233569562435, -0.07807522267103195, -0.07878568023443222, 0.00849984772503376, -0.01865730807185173, 0.0003745976719073951, -0.015464109368622303, -0.014273005537688732, -0.042913831770420074, 0.04122837632894516, -0.014953463338315487, -0.02029048465192318, 0.025368444621562958, 0.0426102876663208, -0.009324684739112854, -0.006559890229254961, 0.05623282864689827, 0.07712076604366302, -0.0024608615785837173, 0.026428282260894775, -0.045421402901411057, -0.0019197930814698339, 0.04528231918811798, -0.06787559390068054, 0.04141778498888016, 0.019575675949454308, -0.018012145534157753, -0.0008315819432027638, -0.010175359435379505, 0.015317847952246666, -0.034467969089746475, -0.036692727357149124, 0.012329241260886192, 0.013536802493035793, 0.03177212178707123, 0.023070015013217926, -0.034073296934366226, -0.07790832966566086, -0.020810654386878014, -0.34970030188560486, -0.021387724205851555, 0.021694041788578033, -0.03301689401268959, 0.04007599130272865, -0.06134817749261856, 0.0069590043276548386, -0.010487044230103493, -0.006686253938823938, -0.0014671474928036332, 0.08654487133026123, -0.012869476340711117, -0.02731989324092865, -0.11280658841133118, -0.007189434487372637, 0.021872958168387413, -0.027884485200047493, -0.02218874916434288, -0.023049769923090935, 0.01827414147555828, -0.0011365656973794103, -0.027216985821723938, -0.01634788326919079, -0.04857633635401726, 0.001960826339200139, -0.024569280445575714, 0.12272153049707413, 0.01495396625250578, 0.08027396351099014, -0.057284120470285416, 0.036046046763658524, -0.0011820831568911672, 0.0031225800048559904, -0.06879474967718124, 0.0021495316177606583, -0.02839752472937107, -0.020411675795912743, 0.04245481267571449, 0.04875396937131882, -0.009113634005188942, -0.009467014111578465, 0.029630424454808235, -0.06647399067878723, -0.026081526651978493, 0.0013723348965868354, -0.0016713545192033052, -0.0019048077519983053, -0.05304476618766785, 0.03194136545062065, 0.09301798790693283, -0.002360306913033128, 0.002045585308223963, 0.03674004226922989, 0.04224403575062752, 0.03565307706594467, -0.014270812273025513, -0.03705936670303345, -0.0006757226074114442, 0.03034321963787079, -0.0178380087018013, 0.04161198064684868, 0.07809407263994217, 0.045502401888370514, -0.032607316970825195, -0.015116266906261444, -0.0073876455426216125, 0.014720004051923752, 0.005220138933509588, 0.0009167659445665777, -0.03692027926445007, -0.030991580337285995, 0.10627826303243637, -0.012022573500871658, 0.0013844013446941972, 0.034059781581163406, 0.0896405577659607, -0.009988611564040184, -0.022004282101988792, 0.019169989973306656, 0.013554392382502556, 0.006507665850222111, -0.0017971895867958665, 0.056516390293836594, -0.02697274275124073, -0.013106579892337322, 0.05725375935435295, -0.031358860433101654, 0.008489349856972694, 0.030514264479279518, -0.006250547710806131, -0.029601791873574257, -0.012182283215224743, -0.011286202818155289, -0.04377488046884537, 0.019177494570612907, -0.009095949120819569, -0.2654208242893219, 0.01709749922156334, 0.02847954072058201, 0.04333755001425743, -0.0006326013244688511, 0.03350263461470604, 0.03318725526332855, -0.06442033499479294, -0.046270694583654404, 0.02088972181081772, 0.0016664513386785984, 0.013806253671646118, 0.0235819760710001, -0.015166925266385078, 0.03655880689620972, 0.011235016398131847, 0.05696408823132515, 0.014384551905095577, 0.016636351123452187, -0.004804442171007395, 0.015207098796963692, 0.005654729437083006, 0.15029147267341614, -0.01097102090716362, 0.018074605613946915, 0.034649986773729324, 0.002675238996744156, 0.025566350668668747, 0.1190846711397171, 0.02706156112253666, -0.008389605209231377, 0.023917455226182938, 0.10769526660442352, 0.01018422283232212, 0.023906631395220757, -0.08353402465581894, -0.008367607370018959, 0.019924810156226158, 0.023732474073767662, -0.024724889546632767, 0.03319743648171425, 0.03656085580587387, -0.039871882647275925, 0.03232268616557121, 0.06420525908470154, 0.019538309425115585, 0.011311046779155731, -0.05580747872591019, -0.054827719926834106, -0.0021812072955071926, -0.009407831355929375, 0.016719002276659012, 0.005454264115542173, 0.008741799741983414, 0.01758134923875332, 0.049913760274648666, -0.004786917008459568, -0.0336662232875824, -0.028090544044971466, -0.004516600631177425, 0.01942172832787037, -0.04650292545557022, 0.08426165580749512, 0.04483199864625931, 0.010502216406166553 ]
[ -0.007166154682636261, 0.012308849953114986, -0.02344074286520481, 0.009771697223186493, -0.010233605280518532, 0.0093569690361619, -0.023502161726355553, 0.019839439541101456, -0.014801873825490475, -0.06292837858200073, -0.033922553062438965, 0.013905404135584831, -0.0034442159812897444, -0.022290635854005814, -0.016337642446160316, -0.05597596988081932, 0.0023264987394213676, -0.0015357544180005789, 0.02522781677544117, -0.007692807354032993, 0.0018360762624070048, 0.031758975237607956, 0.028248663991689682, 0.0039347754791378975, 0.013770385645329952, 0.03914880380034447, 0.019882535561919212, -0.041958969086408615, 0.021199695765972137, -0.1526101976633072, 0.0032120253890752792, -0.02233157865703106, -0.01728563755750656, -0.03254321962594986, -0.04969065636396408, 0.014942696318030357, 0.022948933765292168, -0.004061529878526926, -0.051954470574855804, 0.007009804714471102, 0.012166609056293964, -0.04401141777634621, -0.025231070816516876, 0.024803198873996735, 0.0012430472997948527, -0.031058117747306824, -0.04592786729335785, -0.027387240901589394, -0.01797732710838318, 0.0008197863353416324, -0.03894457221031189, -0.01900976151227951, -0.017557881772518158, 0.0382034108042717, 0.010425650514662266, -0.007221083156764507, -0.005697937216609716, -0.0011538999387994409, -0.029381567612290382, -0.03298152983188629, -0.0182187482714653, -0.030929313972592354, -0.008783746510744095, -0.011652938090264797, -0.02702779322862625, 0.005511368624866009, 0.02546168863773346, 0.03300849348306656, -0.0032309596426784992, -0.019445419311523438, 0.007597468327730894, 0.02682405523955822, -0.03291267156600952, 0.011955471709370613, -0.01207214966416359, 0.001544022117741406, 0.04124990478157997, -0.005358140915632248, 0.02954995073378086, 0.011487635783851147, 0.006307998206466436, -0.005671558901667595, -0.039958033710718155, 0.013748527504503727, -0.0318925604224205, 0.0345853790640831, 0.0043432763777673244, 0.026673827320337296, 0.04264870285987854, 0.04243643581867218, -0.03808722272515297, 0.04792087525129318, 0.030125955119729042, -0.00502989673987031, -0.080141082406044, 0.03526471555233002, -0.03915209323167801, -0.009062916971743107, -0.0021931142546236515, 0.818572461605072, 0.03182040527462959, 0.0711761936545372, 0.05110671743750572, 0.016251524910330772, -0.01772240549325943, -0.04212745651602745, -0.0032247535418719053, 0.03480805084109306, 0.02671520970761776, -0.05755835026502609, 0.051552873104810715, -0.017466338351368904, 0.05150838568806648, -0.0013556642225012183, -0.007997089065611362, -0.00407032947987318, 0.04540704935789108, -0.0016254924703389406, 0.02431768923997879, 0.04790831357240677, 0.013339287601411343, 0.014602238312363625, 0.0030632461421191692, 0.015813276171684265, 0.037699032574892044, -0.14203324913978577, -0.007792566902935505, -7.363058575944767e-33, 0.026525571942329407, -0.016230657696723938, 0.004846954718232155, 0.025702884420752525, 0.0119567746296525, -0.004950323142111301, 0.007514882367104292, 0.02198108658194542, -0.0188096035271883, -0.09163588285446167, -0.0031722651328891516, -0.03950348123908043, 0.0007573648472316563, -0.013098408468067646, 0.030566677451133728, -0.0025824285112321377, 0.019480379298329353, 0.039870213717222214, 0.0045261988416314125, 0.022090567275881767, 0.031082984060049057, 0.00964201521128416, 0.02114984765648842, -0.01597333513200283, -0.012006858363747597, 0.0079478295519948, 0.031940069049596786, 0.0004666718887165189, -0.03983651474118233, -0.06573502719402313, -0.01631033606827259, -0.04169037565588951, 0.01791047863662243, 0.008564232848584652, 0.04637977480888367, -0.04310831055045128, 0.010078647173941135, 0.012678747065365314, -0.028404580429196358, -0.026750823482871056, -0.03576543927192688, 0.01341959461569786, -0.008360487408936024, 0.01539588812738657, -0.017976462841033936, -0.048691000789403915, 0.008417990989983082, -0.005535213276743889, -0.014710777439177036, 0.009881585836410522, 0.03306180238723755, 0.021172313019633293, 0.006114694755524397, 0.036888688802719116, -0.006473119370639324, 0.024118728935718536, -0.004725709091871977, 0.013392156921327114, -0.0032162275165319443, 0.005991618614643812, 0.00718811945989728, 0.029565203934907913, 0.004447640385478735, 0.022439872846007347, 0.013506879098713398, -0.015223757363855839, -0.0018837469397112727, -0.008944433182477951, 0.008768313564360142, 0.014738698489964008, -0.036504849791526794, -0.02975710853934288, -0.0027642047498375177, -0.015190113335847855, 0.014370904304087162, -0.0037115011364221573, -0.013870633207261562, -0.04565808176994324, 0.00413012458011508, 0.040009092539548874, 0.029493823647499084, -0.035226061940193176, 0.055624473839998245, 0.01856742985546589, -0.024257665500044823, 0.003988859709352255, 0.03821650892496109, -0.014334765262901783, 0.03277156129479408, 0.015497096814215183, 0.023602798581123352, 0.039359740912914276, 0.010209743864834309, -0.03913753479719162, 0.006146917585283518, 7.551771704341808e-33, -0.016127346083521843, -0.011718155816197395, -0.018274972215294838, 0.02357819676399231, 0.026831049472093582, 0.004187887068837881, 0.020822009071707726, 0.04214699938893318, -0.031165214255452156, 0.03009936213493347, -0.04106970131397247, 0.027492983266711235, -0.019200479611754417, 0.0048989951610565186, 0.0735236182808876, -0.006205493118613958, 0.05422656610608101, -0.02769198827445507, 0.009115816093981266, -0.029558220878243446, 0.009708969853818417, -0.010039309039711952, 0.053727276623249054, 0.018060384318232536, 0.05253523960709572, 0.027694156393408775, 0.004604531917721033, -0.0006765876314602792, -0.041915711015462875, -0.007000328041613102, 0.0387573316693306, -0.021614767611026764, -0.013297054916620255, -0.017090272158384323, -0.02708571031689644, 0.02306387573480606, 0.02460470423102379, 0.010248989798128605, 0.04134994000196457, 0.03198489174246788, -0.0002925526350736618, -0.03633970394730568, 0.01841377653181553, -0.007944847457110882, -0.009366258047521114, -0.008258487097918987, -0.012189090251922607, 0.0030800949316471815, -0.008005931973457336, 0.013845711015164852, -0.01692947931587696, 0.00712006539106369, -0.01218736544251442, 0.06019348278641701, 0.011588871479034424, -0.021919148042798042, -0.016222694888710976, 0.029231388121843338, -0.014096449129283428, 0.005287269130349159, -0.010012437589466572, -0.04245243966579437, -0.04079483449459076, 0.010475884191691875, -0.01619654707610607, -0.027798475697636604, 0.0017114204820245504, -0.004737745504826307, -0.04107276722788811, -0.016687117516994476, -0.012539416551589966, -0.03576752170920372, -0.026068568229675293, 0.05446430295705795, 0.0321647934615612, -0.013207596726715565, -0.0228554867208004, 0.01788346655666828, -0.01734265312552452, 0.021596785634756088, 0.03557750955224037, 0.020548421889543533, -0.01844954863190651, 0.013843913562595844, 0.061294637620449066, -0.04170466214418411, -0.013470428064465523, -0.00685158371925354, -0.013218283653259277, -0.03899960219860077, -0.019383041188120842, -0.0002386746637057513, -0.05627666786313057, -0.011115267872810364, 0.014114276506006718, -1.2639519653134812e-8, -0.02038784697651863, -0.02248453162610531, -0.03601743280887604, 0.048762332648038864, 0.046943120658397675, -0.004514716099947691, -0.03249002620577812, -0.015514560043811798, 0.029970357194542885, 0.018926935270428658, 0.007437708787620068, -0.0635702982544899, -0.003151274984702468, 0.021549424156546593, 0.03265085816383362, -0.03908615931868553, -0.011855473741889, 0.009267114102840424, 0.01482666190713644, -0.014064747840166092, 0.03455960005521774, 0.02656925842165947, -0.04424235597252846, -0.0006335967918857932, 0.0024463417939841747, -0.014130974188446999, 0.06124759092926979, -0.03627572953701019, 0.030139999464154243, -0.03657285496592522, -0.00824938714504242, -0.021513765677809715, -0.03541922569274902, -0.017817707732319832, -0.027488870546221733, -0.001876835711300373, 0.03568819910287857, 0.034361276775598526, 0.017636282369494438, 0.033518120646476746, -0.008645636029541492, -0.00636741379275918, -0.005928895901888609, -0.02427319809794426, -0.009479762054979801, -0.01389069389551878, -0.011756562627851963, 0.020191820338368416, 0.02493317984044552, 0.0068135689944028854, 0.004382216837257147, 0.01828976534307003, 0.01784537360072136, -0.0051268660463392735, 0.0034750548657029867, -0.03852063789963722, 0.04496092349290848, -0.05146990716457367, -0.01581934653222561, 0.013202706351876259, 0.0632074847817421, 0.022119097411632538, -0.03701454773545265, -0.020906658843159676 ]
scala-converting-an-input-stream-to-a-string
https://markhneedham.com/blog/2009/10/26/scala-converting-an-input-stream-to-a-string
false
2009-10-26 23:10:45
Book Club: Working Effectively With Legacy Code - Chapters 6 & 7 (Michael Feathers)
[ "book-club" ]
[ "Book Club" ]
In our latest technical book club we covered chapters 6 & 7 - 'I Don't Have Much Time And I Have To Change It' and 'It Takes Forever To Make A Change' - of Michael Feathers' 'http://www.amazon.co.uk/Working-Effectively-Legacy-Robert-Martin/dp/0131177052/ref=sr_1_1?ie=UTF8&s=books&qid=1255440556&sr=8-1[Working Effectively With Legacy Code]'. The first chapter discusses various different techniques that we can use to add in new code to a legacy code base. These include: * Sprout method - create a new method for our new functionality and make a call to it from existing code. * Sprout class - create a new class for our new functionality and call to that class from existing code. * Wrap method - rename an existing method; create a new method with the old one's name; add in the new functionality in the new method & then delegate to the newly named existing method. * Wrap class - create a new class which takes in the old one in its constructor and then delegates to the original for most methods but also implements new functionality. Typically the http://en.wikipedia.org/wiki/Decorator_pattern[decorator pattern]. The second chapter discusses some common problems we may experience while trying to make changes. These are some of my thoughts and our discussion of these chapters: * The thing that stood out for me in our discussion was the realisation that applying any of these techniques is probably going to *make the code worse in the short term* but hopefully lead us to a situation where we can make it better. If we use the 'sprout class' technique, for example, then we will end up with a new class which just does our new bit of functionality. Our *code is therefore in an inconsistent state*. I would actually prefer to leave the code in an inconsistent state if we are driving to a better solution although I have worked with colleagues who prefer to keep things consistent instead. I can certainly see why you might want to do this on a short running project where there may not be time to make all the changes that you'd like to. * http://watchitlater.com/blog/[Tom] also pointed out that we need to remember that +++<strong>+++what we are doing is not design +++</strong>+++ - that can come later on when the code is testable. Using these techniques is an alternative to rewriting the code which http://blog.objectmentor.com/articles/2009/01/09/the-big-redesign-in-the-sky[often doesn't work out as well as we'd hope]. * I quite liked the following observation: + ____ Typically, changes cluster in systems. If you are changing it today, chances are, you'll have a change close by pretty soon ____ + On the projects I've worked on there are often lots of areas in the code base that require refactoring but we tend to focus on the area that we're currently working on as that tends to give us the biggest pay back for the time spent. Having said that I quite like http://fabiopereira.me/blog/2009/09/01/technical-debt-retrospective/[Fabio's idea of finding how various items of technical debt fall in terms of the pain they're causing and the effort it costs to fix them]. I wonder if the code we're working on now would be more likely to fall into the high 'pain' areas of that type of matrix. * http://camswords.wordpress.com/[Cam] pointed out that with the sprout method and http://xunitpatterns.com/Sprout%20Class.html[sprout class] techniques it's quite cool that Feathers suggests driving their API by making a call to them the from existing method. That way we can see what values the new method will need to take in based on how it will actually be used. While discussing this Alex pointed out something I hadn't quite grasped - the techniques described are useful for *minimising the amount of change to the original method* as well as making the new pieces of code easier to test. It's really easy to make mistakes when coding and when there is no safety net to save us we should look to avoid tinkering with that code too much until we've created one!
null
null
[ 0.02247372269630432, -0.02627432346343994, -0.01761944778263569, 0.013991255313158035, 0.08718571066856384, 0.0053108688443899155, 0.03715270385146141, 0.0041489568538963795, 0.014936202205717564, -0.03381975740194321, -0.016688460484147072, 0.008816255256533623, -0.06008817255496979, 0.023667464032769203, -0.05888967216014862, 0.0748090147972107, 0.0826333537697792, -0.009107845835387707, 0.008310755714774132, 0.027593504637479782, 0.010834772139787674, 0.07139533758163452, 0.010812891647219658, 0.025522755458950996, 0.009021294303238392, -0.0009970400715246797, -0.01558416336774826, -0.024674398824572563, -0.06281158328056335, -0.0058945235796272755, 0.050223469734191895, -0.003651343984529376, 0.002094241324812174, -0.005083851516246796, 0.014930938370525837, -0.04039594158530235, -0.009236156940460205, 0.0009075289126485586, 0.011749900877475739, 0.006277733948081732, -0.06771870702505112, 0.02393370121717453, 0.0021642816718667746, -0.0014161908766254783, -0.0392334908246994, -0.0034709477331489325, -0.03193565830588341, 0.01053042896091938, -0.00019476634042803198, -0.009047073312103748, -0.05354725196957588, 0.02556622587144375, 0.0020265073981136084, -0.023220835253596306, 0.007194510195404291, 0.06324053555727005, 0.021385742351412773, -0.05294758826494217, 0.027087097987532616, -0.03938741236925125, -0.0043508317321538925, -0.0036931869108229876, -0.0045083616860210896, 0.03873831778764725, 0.000542671768926084, -0.011667146347463131, -0.02638012170791626, 0.04950772598385811, -0.035135697573423386, -0.002837307518348098, -0.02290433458983898, -0.0069437772035598755, -0.0022407136857509613, 0.008149958215653896, 0.011960288509726524, -0.026386979967355728, -0.01692364551126957, 0.08106314390897751, 0.022797884419560432, 0.032421525567770004, 0.007835636846721172, -0.0008282469934783876, 0.017101483419537544, 0.013137607835233212, 0.01730884425342083, -0.02541465498507023, -0.02196878381073475, -0.007063126191496849, -0.04384072124958038, 0.05966150760650635, 0.02104632742702961, -0.06794648617506027, 0.03475100174546242, 0.032167162746191025, 0.009688706137239933, 0.005215128418058157, 0.0104983476921916, -0.011236796155571938, 0.005835452117025852, 0.002715732902288437, -0.03737708926200867, -0.004591888748109341, -0.005484935361891985, 0.009854244068264961, -0.05987370014190674, -0.02968190610408783, -0.02238328754901886, -0.028322316706180573, -0.007006590720266104, 0.005228443071246147, -0.05034647509455681, 0.02780430018901825, -0.03383753076195717, -0.016863377764821053, -0.08062146604061127, 0.060810476541519165, 0.010577218607068062, -0.026916339993476868, -0.04141681268811226, -0.0025569370482116938, 0.04126128926873207, 0.03921732306480408, -0.0008019652450457215, 0.07820749282836914, 0.012207213789224625, 0.030054250732064247, -0.025220755487680435, 0.07258357107639313, -0.023807993158698082, -0.0658627599477768, -0.01047484390437603, 0.030762944370508194, -0.040773145854473114, -0.007442065980285406, 0.003734370693564415, -0.00045972756925038993, -0.01962335966527462, 0.022320380434393883, 0.02730589173734188, 0.041023287922143936, -0.011073662899434566, -0.01863047480583191, 0.016290154308080673, 0.016790343448519707, 0.013851194642484188, 0.00393441878259182, -0.004717486444860697, -0.0181623175740242, -0.009691801853477955, 0.0023935867939144373, 0.002791590988636017, 0.03613419458270073, 0.03729225695133209, -0.04249709099531174, 0.00660485727712512, 0.09640233963727951, -0.004451012704521418, 0.020671244710683823, -0.015514854341745377, 0.03186185657978058, 0.05050324648618698, 0.02671581692993641, 0.017241233959794044, 0.030544329434633255, 0.035864558070898056, -0.005072690546512604, 0.02479453757405281, 0.04555486515164375, 0.012037364766001701, -0.003301363904029131, -0.08028236031532288, -0.018641117960214615, 0.05872567743062973, -0.06721342355012894, 0.0014581907307729125, 0.011591075919568539, 0.09204933047294617, 0.001134707243181765, 0.049243662506341934, -0.018989797681570053, -0.06540491431951523, 0.02911946177482605, 0.01141179259866476, 0.011426583863794804, 0.011071043089032173, -0.015502367168664932, 0.060713957995176315, 0.025141431018710136, -0.00819916371256113, 0.02379530668258667, -0.06490533798933029, -0.08459118753671646, 0.0010022235801443458, -0.03834736347198486, 0.07886321097612381, -0.0370805561542511, -0.003321589669212699, 0.07719207555055618, 0.019220490008592606, 0.0527128204703331, 0.04892675578594208, -0.008497105911374092, -0.02330264449119568, -0.02266644313931465, -0.04356073960661888, 0.033560484647750854, 0.02338503487408161, -0.013976691290736198, -0.043511565774679184, 0.010170924477279186, -0.012194155715405941, -0.005884736310690641, 0.050462786108255386, 0.00426600594073534, 0.04520946368575096, 0.018407277762889862, 0.04362775385379791, -0.04284572973847389, 0.05093536525964737, -0.06688208132982254, -0.009175277315080166, 0.00021635562006849796, -0.04040544107556343, -0.010700234211981297, -0.003034365363419056, 0.10052971541881561, 0.06476478278636932, -0.04308426007628441, -0.05330687761306763, 0.0066745830699801445, 0.017076220363378525, -0.04204805567860603, -0.013553147204220295, -0.0040145618841052055, 0.032456737011671066, -0.021410973742604256, -0.03737993165850639, -0.029313290491700172, 0.015535946004092693, -0.033443573862314224, 0.014605420641601086, 0.08252366632223129, -0.03188468888401985, 0.051080819219350815, 0.01936124451458454, 0.0018074822146445513, -0.010357429273426533, -0.0015840964624658227, -0.04166747257113457, 0.021563531830906868, 0.013627921231091022, -0.0060325986705720425, 0.07882538437843323, -0.04920186474919319, -0.02047460712492466, -0.018199674785137177, -0.047843288630247116, 0.007245098240673542, 0.03196926787495613, 0.05995607748627663, 0.0016287531470879912, 0.06131558120250702, 0.013315905816853046, 0.020511606708168983, -0.021877195686101913, -0.061647240072488785, -0.011337189003825188, -0.04156796261668205, 0.00810953974723816, 0.04118426889181137, -0.00951999519020319, 0.00208797468803823, 0.008997321128845215, -0.0006697842036373913, -0.029371587559580803, -0.020732218399643898, 0.036186255514621735, -0.01639927178621292, -0.014461985789239407, -0.04207499325275421, -0.06479870527982712, 0.05484132468700409, -0.039531756192445755, -0.045861322432756424, 0.004790766164660454, -0.033165786415338516, 0.04876388981938362, -0.07159416377544403, -0.05302279070019722, 0.019877571612596512, 0.039292316883802414, 0.05371493473649025, 0.0034745438024401665, 0.04613685607910156, 0.08483943343162537, 0.011608979664742947, -0.015991074964404106, -0.02175142988562584, -0.008585157804191113, 0.03516487032175064, -0.0005823515821248293, -0.005805225111544132, 0.038372863084077835, 0.006173883099108934, -0.018964653834700584, -0.023362478241324425, 0.03180957958102226, -0.024830864742398262, -0.26490849256515503, 0.03535428270697594, -0.00030995733686722815, -0.05536345764994621, 0.012072263285517693, -0.012827646918594837, 0.013917791657149792, -0.04724708944559097, -0.026074646040797234, 0.04283427819609642, -0.04348022863268852, -0.04199681431055069, -0.011711069382727146, 0.06325146555900574, -0.03588424250483513, 0.02870764583349228, 0.006137741729617119, -0.039829205721616745, -0.020746270194649696, 0.04513919726014137, -0.007928905077278614, -0.07205664366483688, 0.008301104418933392, 0.040202196687459946, 0.023742059245705605, 0.039434853941202164, -0.08962464332580566, 0.04267634451389313, -0.039046868681907654, 0.011885606683790684, 0.006942412815988064, -0.009436176158487797, 0.009612925350666046, -0.04194660857319832, -0.02362988144159317, -0.022664038464426994, 0.007797859143465757, 0.026578104123473167, -0.02551407925784588, 0.01964620314538479, -0.009006409905850887, -0.0313364639878273, -0.03553025424480438, 0.014432503841817379, 0.06399547308683395, 0.0020978604443371296, -0.0733335092663765, -0.014461088925600052, -0.03736019879579544, 0.10417276620864868, -0.022986337542533875, -0.05390229448676109, 0.025582462549209595, 0.035352807492017746, -0.01801683008670807, -0.030943069607019424, 0.023268064484000206, -0.007824420928955078, -0.018735913559794426, -0.04487931728363037, -0.01816551946103573, -0.04388439655303955, 0.0015830604825168848, -0.046106670051813126, -0.006974407937377691, -0.05850948765873909, -0.07829313725233078, -0.0025761204306036234, 0.07051742076873779, 0.0297084990888834, -0.07575838267803192, 0.032203953713178635, -0.025057613849639893, -0.11614289879798889, -0.00604321900755167, -0.02652069926261902, -0.024735242128372192, -0.021388350054621696, 0.017444849014282227, 0.05027933046221733, -0.03499912470579147, -0.05358809232711792, 0.01024792343378067, 0.021373458206653595, 0.03196204453706741, -0.009010867215692997, -0.003908808343112469, -0.005459965672343969, -0.012887545861303806, -0.003276616334915161, 0.07244273275136948, 0.030302399769425392, -0.027949431911110878, -0.040641479194164276, 0.026854174211621284, 0.03321222960948944, 0.03748583421111107, -0.02017902582883835, 0.006599517073482275, 0.026788072660565376, 0.007873439230024815, -0.046764567494392395, 0.022736139595508575, -0.01325380988419056, 0.0030450306367129087, -0.016255471855401993, -0.06991355121135712, 0.030059445649385452, 0.024111732840538025, 0.025152137503027916, -0.00016691889322828501, -0.03319163993000984, -0.007571750320494175, -0.03857216238975525, -0.03833186253905296, -0.026569105684757233, 0.00014006243145558983, 0.037078216671943665, -0.026729930192232132, -0.00257971347309649, -0.06456173211336136, 0.021588128060102463, -0.005793874152004719, -0.0018030124483630061, -0.06011109799146652, -0.044511858373880386, -0.01111213956028223, -0.014107310213148594, 0.014701095409691334, 0.01847226545214653, -0.028350234031677246, 0.013000953942537308, 0.011747763492166996, -0.04495712369680405, 0.005642502103000879, -0.0042440746910870075, -0.02164757065474987, -0.037430182099342346, -0.03561641275882721, -0.006224529352039099, -0.015204492025077343, 0.017717091366648674, -0.006859659682959318, 0.027384623885154724, 0.04927576333284378, 0.01924726739525795, 0.05589713901281357, 0.01815354824066162, 0.008479746989905834, 0.020373869687318802, -0.006487206090241671, -0.059788383543491364, 0.030601922422647476, -0.05599047988653183, -0.0165660809725523, -0.026657775044441223, 0.02040501870214939, -0.014129557646811008, -0.015755310654640198, 0.006891630589962006, 0.028079098090529442, -0.04045124724507332, -0.02832769602537155, -0.034800268709659576, 0.005874179769307375, 0.07492965459823608, -0.022920312359929085, 0.042733293026685715, -0.02325463481247425, -0.036952149122953415, -0.009795065969228745, 0.021801181137561798, -0.06140425428748131, 0.035598400980234146, 0.02131710760295391, -0.008838471956551075, 0.011809269897639751, 0.013731682673096657, 0.040624041110277176, 0.02093277871608734, -0.0037759304977953434, -0.023150796070694923, 0.01772916130721569, -0.0039737834595143795, 0.04929722845554352, -0.013585004955530167, -0.013868740759789944, -0.02910914644598961, -0.030841026455163956, -0.02184545062482357, -0.02883748710155487, -0.002511782804504037, 0.020458918064832687, 0.016248734667897224, -0.033668242394924164, -0.0781046450138092, 0.010243365541100502, 0.059002697467803955, 0.015169572085142136, -0.005940109957009554, -0.006185710430145264, -0.0015514171682298183, -0.026560798287391663, 0.04064776748418808, 0.06382567435503006, -0.03981734439730644, 0.026731571182608604, -0.005457702558487654, 0.007757624611258507, 0.01734641008079052, 0.015665795654058456, -0.04707873612642288, -0.011182115413248539, -0.015544841066002846, -0.013534178957343102, -0.034598153084516525, -0.05514780804514885, -0.015346708707511425, 0.02510213479399681, -0.009685186669230461, -0.018741076812148094, -0.03741151839494705, 0.020325278863310814, -0.023563480004668236, -0.03459268435835838, 0.009238829836249352, -0.017755817621946335, 0.01940852217376232, 0.01422235555946827, -0.02897293120622635, 0.034408602863550186, -0.047184158116579056, 0.030476808547973633, 0.024684550240635872, 0.00004347597132436931, -0.027873152866959572, -0.0640491396188736, 0.01902100071310997, 0.015078501775860786, 0.038596272468566895, -0.011632151901721954, -0.002860072534531355, -0.026644887402653694, 0.0029348665848374367, -0.05128130689263344, 0.028974996879696846, -0.025553567335009575, -0.01674380712211132, 0.0012562815099954605, 0.0715106949210167, 0.013932268135249615, 0.053855713456869125, 0.007489749230444431, -0.0019021430052816868, 0.05311619117856026, -0.08475442975759506, -0.03645710274577141, -0.018116138875484467, -0.06547242403030396, 0.026489129289984703, 0.005828453693538904, 0.028926663100719452, -0.05874403193593025, 0.025303130969405174, 0.035606127232313156, 0.029819931834936142, 0.04102752357721329, -0.001890660496428609, 0.03065970167517662, -0.04215500131249428, 0.01936148665845394, -0.08420464396476746, -0.0021592751145362854, 0.030056439340114594, 0.032048583030700684, -0.006973311770707369, -0.031131524592638016, -0.02666611783206463, 0.05755852162837982, -0.08146768063306808, -0.011933044530451298, 0.03880379721522331, -0.01002589613199234, 0.005015543196350336, 0.015581782907247543, -0.06946055591106415, 0.028254957869648933, 0.023179972544312477, -0.040033239871263504, -0.025227593258023262, -0.046364545822143555, 0.06542038917541504, 0.01718069426715374, 0.02803579531610012, -0.0258231982588768, 0.012044481933116913, 0.0784454345703125, 0.01597018912434578, 0.012014772742986679, 0.030786704272031784, -0.01321770716458559, 0.032763246446847916, 0.044337157160043716, -0.0005160981090739369, -0.022845091298222542, 0.019978849217295647, 0.014663194306194782, -0.06422049552202225, 0.03308286517858505, 0.029739724472165108, -0.014902021735906601, -0.04718206077814102, 0.06329549103975296, 0.024617375805974007, -0.00658292043954134, -0.04822103679180145, -0.00010776647832244635, -0.06643116474151611, -0.005909452680498362, -0.027991749346256256, -0.012182456441223621, -0.04940550774335861, 0.04446873068809509, -0.009957656264305115, -0.035590242594480515, 0.05584680661559105, -0.01646202988922596, -0.00650250306352973, -0.016790075227618217, 0.06815999746322632, 0.06580281257629395, 0.08500796556472778, 0.020299887284636497, 0.06807343661785126, -0.0014272452099248767, -0.04078534245491028, -0.004179342649877071, -0.003832982387393713, -0.02620523050427437, -0.030088869854807854, 0.028094708919525146, 0.060195136815309525, 0.027503399178385735, 0.0610094852745533, -0.045453622937202454, -0.000022277588868746534, -0.01629435271024704, 0.01568710431456566, 0.018721377477049828, 0.07643537223339081, 0.020523108541965485, 0.033177271485328674, -0.004704305436462164, -0.030024852603673935, 0.03854288160800934, -0.03449397534132004, -0.013989781029522419, 0.02787395380437374, 0.012594413012266159, 0.0052754743956029415, 0.0280584916472435, 0.014691423624753952, 0.058158762753009796, -0.020265597850084305, 0.0024780486710369587, -0.004279875196516514, 0.05355346202850342, 0.013492978177964687, 0.0003690627054311335, -0.010660998523235321, -0.007599255070090294, 0.0072261677123606205, -0.008059624582529068, -0.030070679262280464, -0.01925116963684559, 0.0035002054646611214, 0.05915803089737892, -0.019526617601513863, 0.008757509291172028, 0.01491562370210886, 0.0006675275508314371, -0.04418444260954857, -0.05489201098680496, -0.031624358147382736, -0.05890188738703728, -0.03903724625706673, -0.02688010223209858, 0.02710297890007496, -0.014786848798394203, -0.03675662726163864, -0.031037379056215286, -0.011824476532638073, -0.021235577762126923, 0.028107743710279465, -0.04889748618006706, -0.015209083445370197, 0.010312434285879135, 0.0007930642459541559, 0.0471171960234642, 0.012149592861533165, 0.03894534707069397, 0.017621846869587898, -0.006427492015063763, -0.019481554627418518, 0.016247272491455078, 0.030960848554968834, 0.025322837755084038, 0.014446240849792957, -0.08993691951036453, 0.030742457136511803, 0.02165202610194683, 0.01567666418850422, -0.06495760381221771, 0.043623775243759155, 0.027901949360966682, -0.007961975410580635, 0.04163283854722977, -0.031698498874902725, -0.019251881167292595, -0.019022617489099503, -0.014581747353076935, -0.008108852431178093, 0.04954880103468895, 0.034132517874240875, -0.01913239061832428, 0.06299163401126862, 0.004781558644026518, -0.021269725635647774, -0.021999625489115715, -0.020656997337937355, -0.012336069718003273, -0.0037322700954973698, -0.02868647500872612, -0.031324148178100586, -0.02646673284471035, -0.055187731981277466, -0.021306922659277916, 0.037129927426576614, -0.02046547830104828, -0.024025078862905502, 0.026086991652846336, 0.04560033604502678, -0.021002788096666336, 0.04419516399502754, -0.029240991920232773, 0.02516023814678192, -0.020592214539647102, -0.014136234298348427, 0.0037077527958899736, -0.016539715230464935, 0.0053387354128062725, -0.006032121367752552, 0.0193695817142725, -0.028329648077487946, -0.005686694756150246, -0.020583461970090866, 0.027453189715743065, 0.060085900127887726, -0.01790563203394413, -0.00006522485637106001 ]
[ -0.10851065814495087, -0.014080054126679897, -0.009310361929237843, -0.016924111172556877, 0.021946555003523827, -0.042914923280477524, -0.04965733364224434, 0.010788715444505215, 0.0012451523216441274, -0.01140738744288683, 0.008607625029981136, 0.00015453691594302654, -0.035721272230148315, -0.002949382411316037, 0.08427877724170685, 0.01798868738114834, -0.017616506665945053, 0.001397105399519205, 0.017802560701966286, -0.007788094691932201, 0.023032760247588158, 0.002853343030437827, -0.018966080620884895, 0.010565672069787979, 0.023122049868106842, 0.054185014218091965, 0.00884558167308569, -0.02839566022157669, 0.016464175656437874, -0.22886811196804047, 0.0036681685596704483, 0.0067847128957509995, 0.007725909352302551, -0.021787004545331, -0.010685557499527931, 0.0258601326495409, 0.008800617419183254, 0.02597963623702526, -0.01140810176730156, 0.06679249554872513, 0.02158418484032154, 0.030230561271309853, -0.04681592434644699, -0.020024171099066734, 0.011130295693874359, 0.025196846574544907, -0.0038753501139581203, -0.04267674311995506, -0.006100134924054146, 0.007978512905538082, -0.08102744072675705, -0.028499383479356766, -0.008939705789089203, -0.031669117510318756, -0.010007700882852077, 0.024975841864943504, 0.042295247316360474, 0.08101512491703033, 0.012392566539347172, 0.006993788760155439, 0.012156452983617783, -0.01138143427670002, -0.1368376612663269, 0.11301596462726593, 0.0228328425437212, 0.041446760296821594, -0.03311484679579735, -0.018923690542578697, 0.025141622871160507, 0.09761957824230194, -0.006828736513853073, -0.02701515518128872, -0.018903039395809174, 0.06565610319375992, 0.028942037373781204, -0.0020676408894360065, 0.005548642482608557, 0.02040780894458294, 0.04634437337517738, -0.03738022968173027, -0.025445086881518364, -0.028251906856894493, -0.004626633133739233, -0.03315082564949989, -0.02130918577313423, 0.007360484916716814, -0.01129180658608675, 0.03870678320527077, 0.03313078358769417, 0.023312874138355255, 0.06506317108869553, -0.0234918724745512, 0.044688764959573746, 0.02584615908563137, -0.09695231914520264, -0.000699165859259665, -0.017817340791225433, 0.014980915933847427, -0.0388515368103981, 0.463896244764328, -0.05316626653075218, -0.025211984291672707, 0.06089930236339569, 0.058806415647268295, -0.010962878353893757, -0.00463874964043498, 0.010794189758598804, -0.04578821361064911, 0.019662685692310333, -0.02842663787305355, -0.008573168888688087, 0.0191480852663517, 0.04424242675304413, -0.05318743735551834, -0.013851326890289783, 0.01576109044253826, 0.012386820279061794, 0.002992347115650773, -0.009821474552154541, 0.02126537822186947, 0.006565558724105358, 0.015231565572321415, 0.019828176125884056, 0.02324417233467102, -0.010879823006689548, -0.04150250181555748, -0.003318564034998417, 0.0497303269803524, 0.018197650089859962, 0.060737162828445435, 0.05629804730415344, -0.01893104612827301, -0.07774072140455246, -0.015470185317099094, 0.01813090220093727, 0.021324414759874344, 0.013296633958816528, -0.011735288426280022, 0.010379085317254066, -0.018503453582525253, -0.008461744524538517, -0.0022710103075951338, 0.024410046637058258, -0.013096143491566181, -0.03965434804558754, 0.087961345911026, -0.00924790371209383, -0.01833481155335903, -0.0010969529394060373, -0.022272346541285515, 0.0006745645077899098, 0.004423810169100761, -0.01200707908719778, -0.06934935599565506, 0.014926993288099766, 0.0176997110247612, 0.04682512953877449, -0.010531017556786537, -0.026306675747036934, -0.021533893421292305, -0.026453889906406403, -0.007603215519338846, -0.040585339069366455, 0.03453179821372032, 0.028499066829681396, -0.0849103257060051, -0.009621583856642246, -0.025121627375483513, 0.028859345242381096, -0.07559025287628174, 0.0008173566893674433, 0.025849083438515663, -0.008437608368694782, -0.013196650892496109, 0.08484406024217606, 0.008882097899913788, -0.02125851996243, -0.027855267748236656, 0.05989662930369377, 0.021331656724214554, 0.027747031301259995, 0.008540810085833073, -0.04846148565411568, 0.006541798356920481, -0.03135429695248604, -0.11746080219745636, -0.04144277051091194, -0.0069885761477053165, -0.028228553012013435, 0.0002957030665129423, -0.02935147099196911, -0.0014406518312171102, -0.08057823777198792, 0.07541723549365997, -0.030835017561912537, -0.029010038822889328, 0.015502609312534332, 0.0003717888321261853, 0.01862620934844017, 0.0026856139302253723, -0.03503050655126572, 0.053258925676345825, -0.014314012601971626, 0.026339227333664894, -0.05767757073044777, 0.06372090429067612, 0.06385688483715057, -0.07896866649389267, 0.08768527209758759, 0.05117681249976158, -0.06902614235877991, -0.03808601200580597, 0.02011057548224926, 0.029554814100265503, 0.006115127354860306, -0.009213034994900227, -0.003070264356210828, 0.039529118686914444, 0.003373245242983103, 0.0014050753088667989, -0.024711618199944496, -0.017525486648082733, 0.014262471348047256, -0.3333132863044739, -0.016281643882393837, 0.007253146730363369, -0.048807039856910706, 0.011763856746256351, -0.06420011818408966, 0.0013978604692965746, -0.020321330055594444, -0.03305073827505112, -0.014254681766033173, 0.05765088275074959, -0.01105480920523405, -0.00043554019066505134, -0.06807979196310043, 0.011568955145776272, 0.024859195575118065, -0.022796422243118286, -0.02572297491133213, -0.04370136931538582, 0.0012665975373238325, -0.0020560715347528458, 0.0009766542352735996, 0.033374425023794174, -0.08782220631837845, -0.010091136209666729, -0.05480146408081055, 0.06645973771810532, -0.038142286241054535, 0.08842048794031143, 0.001743379863910377, 0.03954656422138214, -0.006575569044798613, -0.006842002272605896, -0.06890660524368286, 0.006425586994737387, -0.003884602803736925, 0.012534251436591148, -0.006402548868209124, 0.046562664210796356, -0.04179004207253456, -0.0029496231582015753, 0.022034771740436554, -0.0567321740090847, -0.04383937269449234, -0.04727623984217644, 0.03939322382211685, -0.030085157603025436, -0.05732668936252594, -0.007537905592471361, 0.05955652520060539, 0.009988553822040558, -0.006067902781069279, 0.012647198513150215, 0.01321515440940857, -0.022039970383048058, -0.034592971205711365, -0.043395210057497025, 0.011793436482548714, 0.025551792234182358, 0.01802264340221882, 0.00512712774798274, 0.08343523740768433, 0.03237941861152649, -0.0415867455303669, 0.027136817574501038, 0.016063543036580086, -0.006235357839614153, -0.025500982999801636, 0.02612876147031784, -0.061397433280944824, -0.010351092554628849, 0.09466298669576645, -0.0017895825440064073, -0.025151636451482773, 0.027522437274456024, 0.06485937535762787, -0.014101552776992321, 0.05385548248887062, 0.002060724189504981, 0.015832731500267982, 0.006008185911923647, -0.01539639849215746, 0.02502531372010708, -0.009397406131029129, -0.03156523033976555, 0.005442251451313496, -0.034047406166791916, -0.02188286744058132, 0.052183572202920914, 0.0026528434827923775, -0.050965916365385056, 0.014611702412366867, -0.004057102836668491, -0.007776940707117319, 0.06584348529577255, -0.005669750738888979, -0.2302899956703186, 0.0003167729591950774, 0.08391246199607849, 0.03262992203235626, -0.010521401651203632, 0.035193413496017456, 0.03333931043744087, -0.04396962746977806, 0.006104875355958939, -0.022752081975340843, 0.018152184784412384, 0.016979344189167023, 0.018995700404047966, 0.011054416187107563, 0.062479957938194275, -0.01472029834985733, 0.07580514252185822, -0.007249895483255386, -0.008766340091824532, -0.0019588875584304333, 0.015034893527626991, -0.008580622263252735, 0.17320702970027924, -0.0005765871028415859, 0.06116757541894913, -0.016515331342816353, 0.022071797400712967, 0.021389838308095932, 0.06841384619474411, 0.011978697963058949, -0.009016058407723904, 0.0034604736138135195, 0.0534559041261673, -0.006107882596552372, 0.020154578611254692, -0.08363789319992065, 0.0028893835842609406, -0.002771687461063266, -0.00786773394793272, -0.013060426339507103, 0.014663302339613438, 0.019123917445540428, -0.06862445920705795, 0.004857826512306929, 0.0760221779346466, 0.004892020020633936, -0.03197247534990311, -0.03519263491034508, -0.06473707407712936, -0.011927980929613113, -0.031196588650345802, -0.033124890178442, -0.011456855572760105, -0.0059582567773759365, -0.010430751368403435, 0.07147882133722305, 0.009980149567127228, -0.00951860100030899, -0.05620111897587776, 0.018842432647943497, -0.0023245832417160273, -0.0367780439555645, 0.12515248358249664, 0.04747042432427406, 0.024478964507579803 ]
[ -0.034248702228069305, -0.013835781253874302, -0.016026020050048828, -0.0027684448286890984, -0.006488160230219364, 0.007990493439137936, -0.015458040870726109, 0.001817287178710103, -0.04430953785777092, 0.00724935345351696, 0.013991862535476685, 0.030926989391446114, -0.006095395423471928, -0.02127440832555294, 0.025066718459129333, -0.008868655189871788, -0.017992673441767693, -0.009678092785179615, 0.009329235181212425, -0.012412880547344685, -0.016498390585184097, 0.012202255427837372, -0.007070252206176519, 0.03191063553094864, -0.02515905164182186, 0.008366653695702553, -0.02801305614411831, -0.011380983516573906, 0.030250759795308113, -0.1303325742483139, 0.0016589267179369926, -0.007130794692784548, -0.012198526412248611, -0.004799017682671547, -0.026685088872909546, 0.01490582711994648, 0.008653942495584488, 0.020190134644508362, 0.0035766104701906443, -0.01989869400858879, 0.004848598502576351, -0.011614983901381493, -0.012550433166325092, 0.02500780113041401, 0.01512782834470272, -0.010546701028943062, -0.003906469792127609, -0.036136724054813385, -0.031185584142804146, -0.038804735988378525, -0.0064506991766393185, 0.009064706973731518, -0.0017540727276355028, -0.006368913687765598, 0.03257367014884949, -0.005879320669919252, 0.018320636823773384, -0.0016311918152496219, -0.012160096317529678, -0.008873776532709599, -0.01527731865644455, -0.0032831758726388216, -0.04602006822824478, -0.03317613527178764, -0.024094579741358757, -0.032681360840797424, 0.006251225713640451, 0.005307221785187721, 0.003852003952488303, 0.020933587104082108, -0.03841392695903778, 0.011945887468755245, -0.026867959648370743, 0.016331670805811882, 0.02415361814200878, 0.016476159915328026, 0.0036360735539346933, -0.0013877992751076818, -0.00671918410807848, -0.021028120070695877, -0.014685907401144505, 0.009756042622029781, 0.020086821168661118, -0.00468407804146409, 0.007171870209276676, -0.02425144426524639, 0.01751120574772358, -0.027313273400068283, 0.02482413500547409, 0.00458949850872159, 0.0006364452419802547, 0.03469721972942352, 0.004167294595390558, 0.01281079649925232, -0.10743076354265213, 0.0032120125833898783, -0.030285364016890526, -0.02270931750535965, -0.006933741737157106, 0.883726179599762, -0.02075161412358284, 0.014538000337779522, 0.00889781303703785, 0.011055962182581425, 0.03346708416938782, -0.022562654688954353, -0.024463055655360222, 0.011668604798614979, 0.01746656931936741, -0.019845636561512947, 0.030804818496108055, 0.0022800934966653585, 0.009763848036527634, -0.016370847821235657, 0.021069679409265518, -0.005035924259573221, 0.02187992073595524, -0.01903807371854782, 0.007960009388625622, 0.015619505196809769, 0.03503943234682083, 0.0035627547185868025, -0.00023279547167476267, 0.0011341975769028068, -0.000742631615139544, -0.18758456408977509, -0.024745548143982887, -8.057617045543378e-33, 0.04384883865714073, -0.009811674244701862, -0.010198771022260189, 0.019878527149558067, -0.002598634222522378, -0.0007650329498574138, 0.009701603092253208, 0.031261101365089417, 0.000994382193312049, -0.030834268778562546, -0.014143917709589005, -0.031623754650354385, -0.023041781038045883, -0.012960580177605152, 0.023072969168424606, -0.019374018535017967, -0.017878444865345955, 0.014356572180986404, -0.011608527041971684, 0.018483392894268036, 0.00726497545838356, 0.004817221779376268, 0.010697650723159313, -0.008657217025756836, 0.040600404143333435, 0.02206662856042385, 0.03229421749711037, -0.007683154195547104, -0.021133705973625183, -0.05181436985731125, 0.018307797610759735, -0.005981991998851299, -0.019858306273818016, -0.01067621074616909, -0.006045424845069647, -0.0454644113779068, 0.00036434069625101984, 0.003946053795516491, -0.014060268178582191, 0.0010041143978014588, -0.04304218664765358, -0.0006183902733027935, -0.02574472315609455, 0.03771661967039108, -0.010907955467700958, 0.01138406153768301, 0.011965516023337841, 0.031229550018906593, 0.03594491630792618, 0.0010507088154554367, 0.009631750173866749, 0.03304363787174225, 0.0012411600910127163, 0.019926492124795914, -0.01995912380516529, 0.037118397653102875, -0.009732464328408241, 0.006530621089041233, 0.017372751608490944, 0.0014273208798840642, 0.028191063553094864, 0.0039548976346850395, -0.02253022976219654, 0.023759188130497932, -0.007112563122063875, -0.031741414219141006, 0.0028892720583826303, 0.018751714378595352, 0.0184519924223423, -0.03204531967639923, -0.049554526805877686, 0.006877461913973093, -0.008931253105401993, 0.02153152786195278, 0.0085118617862463, -0.017398156225681305, 0.0052774520590901375, 0.012060554698109627, 0.0009425827884115279, 0.00323832081630826, 0.0007416289881803095, -0.010720972903072834, 0.006353316828608513, -0.01684446632862091, -0.008881764486432076, -0.004985217936336994, 0.0026368084363639355, -0.015677621588110924, 0.006796261295676231, 0.015098434872925282, 0.044633202254772186, -0.003746484639123082, 0.0021858217660337687, -0.022282365709543228, -0.014951666817069054, 7.730221297688232e-33, -0.022393018007278442, -0.01714046113193035, -0.016530856490135193, 0.017265625298023224, -0.018704401329159737, 0.006856754422187805, 0.01894795149564743, 0.01201848965138197, -0.04304254427552223, 0.024234861135482788, -0.02044917456805706, 0.04045427590608597, -0.003287847153842449, 0.02156807854771614, 0.041622359305620193, -0.03771311417222023, -0.0028289195615798235, -0.017708957195281982, 0.05212925374507904, 0.0010206714505329728, -0.006972084287554026, 0.022309022024273872, -0.018668975681066513, -0.015437029302120209, 0.007054395042359829, 0.03780564293265343, -0.01793070137500763, 0.019445840269327164, 0.00504268566146493, -0.01611701399087906, 0.007401002570986748, -0.030200133100152016, 0.015818260610103607, 0.01012177299708128, -0.029383370652794838, 0.024113234132528305, -0.0029872364830225706, -0.002237129956483841, 0.01656511053442955, 0.0003957368608098477, 0.024149293079972267, -0.02600495144724846, 0.027773233130574226, 0.02258804626762867, 0.013988585211336613, -0.014238396659493446, -0.017807815223932266, -0.006831631064414978, -0.005528283305466175, 0.005457638297230005, 0.006764980498701334, 0.02007446251809597, 0.031110357493162155, -0.005578768439590931, 0.011408817954361439, -0.02296292409300804, -0.0339796245098114, -0.004884345922619104, -0.0007625020225532353, 0.014628181234002113, -0.0007356556016020477, 0.0007358331349678338, -0.020286694169044495, 0.004541267640888691, -0.02220020443201065, 0.004086664412170649, -0.02019018493592739, -0.0225746501237154, 0.005037198308855295, -0.016805920749902725, -0.029431162402033806, 0.01743704080581665, -0.023957643657922745, 0.02935732901096344, 0.028015440329909325, -0.007934327237308025, -0.013507828116416931, 0.011950641870498657, -0.0006188065744936466, 0.02871907316148281, 0.005625528283417225, -0.013052621856331825, 0.0009247708949260414, -0.03855453059077263, 0.015115827322006226, 0.009129675105214119, -0.007524559274315834, 0.030346743762493134, 0.031155986711382866, -0.02169480361044407, -0.011908195912837982, 0.0071637313812971115, 0.0023723712656646967, 0.0018794068600982428, -0.008478295989334583, -1.3620589989216114e-8, 0.00904562883079052, 0.017670750617980957, -0.021136298775672913, -0.004271138459444046, 0.04149564728140831, 0.019689975306391716, -0.006574845407158136, -0.012094511650502682, -0.029352519661188126, -0.016941331326961517, 0.020838763564825058, 0.019920652732253075, 0.001577900256961584, 0.019655894488096237, 0.028443004935979843, -0.029958533123135567, -0.02761084772646427, -0.0107202660292387, 0.012852994725108147, 0.02798680029809475, 0.0033227684907615185, 0.060228846967220306, -0.03055078722536564, 0.019520314410328865, -0.006599689368158579, -0.01048063114285469, 0.045764997601509094, -0.04617534577846527, 0.009006772190332413, 0.005370447412133217, -0.0020267381332814693, -0.018421409651637077, -0.03192564845085144, 0.05624520778656006, -0.01873723976314068, -0.01440575160086155, -0.008217742666602135, 0.03476162254810333, 0.013457683846354485, 0.028924589976668358, -0.005102707538753748, -0.03071671538054943, -0.013178530149161816, -0.02630448527634144, -0.0031607572454959154, 0.009095041081309319, -0.02411440573632717, -0.002930914983153343, 0.022143246605992317, -0.0004126962157897651, 0.021250199526548386, 0.018847914412617683, 0.014404306188225746, 0.029612703248858452, -0.0024947146885097027, -0.002778087742626667, 0.015755778178572655, -0.017190001904964447, -0.009808861650526524, 0.006542034447193146, -0.002989891916513443, -0.0011458779918029904, -0.006379273254424334, -0.02222978137433529 ]
book-club-working-effectively-with-legacy-code-chapters-6-7-michael-feathers
https://markhneedham.com/blog/2009/10/26/book-club-working-effectively-with-legacy-code-chapters-6-7-michael-feathers
false
2009-10-21 18:06:47
The effect of adding new people to project teams
[ "software-development" ]
[ "Software Development" ]
I've read quite frequently about the challenges we will experience when adding new people onto teams, including Fred Brooks' 'http://www.markhneedham.com/blog/2009/04/11/the-mythical-man-month-book-review/[The Mythical Man Month]', but having seen quite a few new people join the project that I've been working on over the last few months I think there are actually some significant benefits they can provide. I think the impact new people provide is particularly useful on a http://www.markhneedham.com/blog/2009/08/13/challenging-projects-and-the-five-stages-of-grief/[challenging project] where they may be able to have a much more immediate impact. From my observations there seem to be two main ways that new people can positively impact a team: == Driving for simplicity I think that new people joining a team may well be the best placed to judge the quality of a code base. Since they have very little to no context of the decisions made they only have the code to tell them the story of the project so far. As a result of this they are the best placed to tell whether or not the http://www.markhneedham.com/blog/2009/03/18/coding-make-it-obvious/[code has been written in an obvious way] because they will probably have trouble understanding what's going on if that isn't the case. Although following certain design approaches can ease the reading of code for everyone on a team I think that after we spend a while dealing with a level of complexity it becomes normal for us and we don't feel the pain as much. Having someone new come in and point this out is invaluable as it helps us to drive towards a more maintainable and easier to work with solution. == Enthusiasm Something else I noticed is that the level of enthusiasm that new people have is often much higher than people who may have been working on a project for an extended period of time and could be feeling a bit jaded. They haven't fought the battles or experienced the pain that current team members may have done so they arrive with few preconceptions and a desire to improve the way that things are being done. When combined with their desire to simplify the code, the impact these people have can be quite significant. An added benefit is that enthusiasm is contagious so some of it is bound to rub off on other members of the team thereby leading to improved morale. == In Summary I actually found it quite surprising to notice the impact that new people can have because I'd previously been more inclined to believe that people who had worked on a project for longer would provide much more value. From what I've seen new members to a team can provide a lot of value very quickly so it's certainly an approach worth keeping in mind.
null
null
[ 0.023493021726608276, -0.009796971455216408, -0.008626296184957027, 0.03001229278743267, 0.07535940408706665, 0.0024500370491296053, 0.009353766217827797, 0.06103672459721565, 0.016724934801459312, -0.03482865169644356, -0.046019863337278366, -0.004999707452952862, -0.05336611345410347, 0.00156343390699476, -0.04220752418041229, 0.07325035333633423, 0.05503708869218826, -0.017967622727155685, 0.02410629577934742, 0.006926694884896278, 0.033179737627506256, 0.07429049909114838, 0.02794278785586357, 0.04013463854789734, 0.06595131754875183, -0.006958134472370148, 0.019865119829773903, -0.027962863445281982, -0.0483054593205452, 0.010433848947286606, 0.02751927077770233, -0.0018842332065105438, 0.011279878206551075, -0.023006556555628777, 0.019396429881453514, -0.028966091573238373, -0.01787165366113186, 0.028935523703694344, 0.02215210348367691, -0.010638956911861897, -0.05712946131825447, 0.03476663678884506, -0.015293932519853115, 0.022808464244008064, -0.030599655583500862, 0.015273072756826878, -0.036829087883234024, 0.008297555148601532, -0.008145985193550587, -0.011627588421106339, -0.057888470590114594, 0.0073430961929261684, 0.019097907468676567, -0.013363952748477459, 0.004229517187923193, 0.05290769413113594, 0.025753650814294815, -0.04460134357213974, -0.0029160238336771727, -0.04398498684167862, -0.009623312391340733, -0.01971549168229103, 0.0072039393708109856, 0.04165595769882202, 0.04444677382707596, -0.02352561242878437, -0.0003002795565407723, 0.02493991330265999, -0.029744761064648628, 0.0180502999573946, -0.016463762149214745, -0.006950030568987131, -0.03205537796020508, -0.03002138063311577, -0.01644105650484562, -0.061736367642879486, 0.006711985450237989, 0.06611266732215881, 0.023423507809638977, 0.04117671772837639, -0.014096430502831936, 0.018604082986712456, 0.005747318267822266, 0.03239332512021065, -0.024921054020524025, -0.025530558079481125, 0.033159516751766205, -0.016570497304201126, -0.06517468392848969, 0.06458115577697754, 0.003454649355262518, -0.08231440931558609, 0.027891987934708595, 0.046468585729599, 0.007231083232909441, 0.01137446891516447, 0.021698737516999245, 0.020892394706606865, -0.026705190539360046, -0.04613236337900162, -0.021556127816438675, -0.019483447074890137, -0.007310038432478905, -0.001935572479851544, -0.08122953772544861, 0.01724616065621376, -0.003711479716002941, -0.00939423032104969, -0.006770286709070206, 0.009535473771393299, -0.030021371319890022, 0.020145710557699203, -0.043086886405944824, 0.01270994171500206, -0.06357193738222122, 0.06774743646383286, 0.009860234335064888, -0.0356316864490509, -0.036650169640779495, -0.0015917372656986117, 0.045231036841869354, 0.03266832232475281, -0.013386152684688568, 0.07720964401960373, -0.003962953109294176, 0.02214612253010273, -0.044893499463796616, 0.05871528014540672, -0.01510816253721714, -0.05156991258263588, -0.021054305136203766, 0.054141245782375336, -0.04851696267724037, -0.0095290532335639, -0.006203928962349892, -0.031443264335393906, -0.007634838577359915, 0.005439009051769972, 0.009574811905622482, 0.04473290964961052, 0.004509615711867809, -0.05386406183242798, 0.019460268318653107, 0.010350099764764309, 0.008965721353888512, -0.011518257670104504, -0.0000034604920529091032, -0.026934480294585228, -0.030213385820388794, -0.0244046188890934, 0.022824767976999283, -0.006734227761626244, 0.011365008540451527, -0.033929493278265, 0.03181760013103485, 0.10264924168586731, 0.05343174189329147, 0.007054497487843037, -0.015727924183011055, 0.03887845575809479, 0.021806834265589714, 0.02506520040333271, 0.018152441829442978, 0.021823614835739136, 0.012455224990844727, 0.0011320706689730287, 0.011127348057925701, 0.022556692361831665, 0.0032400796189904213, 0.01775260455906391, -0.03481313958764076, -0.04087575152516365, 0.03347526490688324, -0.030614569783210754, -0.014542634598910809, 0.029172876849770546, 0.07849965989589691, 0.035466521978378296, 0.03297065943479538, 0.0038330024108290672, -0.06402812153100967, 0.025113670155405998, 0.009278147481381893, 0.027316739782691002, 0.04046834632754326, -0.024999411776661873, 0.03955836221575737, 0.015298234298825264, -0.016742011532187462, 0.04373953491449356, -0.07731299847364426, -0.07721668481826782, -0.00951446034014225, -0.026130426675081253, 0.06169315055012703, -0.03755824640393257, 0.03081686794757843, 0.07880306988954544, 0.015381857752799988, 0.060270585119724274, 0.04109226539731026, 0.010374882258474827, 0.01712319627404213, -0.02732725813984871, -0.04747365415096283, 0.07093839347362518, 0.03955627605319023, -0.0010765530169010162, -0.06576807796955109, 0.01562674716114998, -0.017004413530230522, -0.01106004323810339, 0.034450363367795944, -0.008682084269821644, 0.032993629574775696, -0.015134619548916817, 0.07511566579341888, -0.04079790413379669, 0.03695962205529213, -0.04598961025476456, 0.006755393464118242, -0.001366790966130793, 0.0001281425793422386, 0.0010428945533931255, 0.015305852517485619, 0.10779476165771484, 0.04279698431491852, -0.08074512332677841, -0.048879265785217285, 0.04050659015774727, 0.03478791192173958, -0.031147563830018044, 0.01340656541287899, 0.010610856115818024, 0.00653428677469492, -0.012540115974843502, -0.062167271971702576, -0.04148039594292641, 0.014568153768777847, -0.04203052073717117, -0.005193502176553011, 0.044789161533117294, -0.00938962958753109, 0.05318945273756981, -0.015706222504377365, -0.019608350470662117, -0.00010025995288742706, -0.021242907270789146, -0.030162237584590912, 0.020694594830274582, 0.01717768982052803, -0.017203912138938904, 0.05593334138393402, -0.006262295879423618, -0.03750493749976158, -0.02710959129035473, -0.02863822691142559, 0.0021190803963690996, 0.03433501347899437, 0.05574403703212738, -0.01193008478730917, 0.04330836236476898, -0.01242347527295351, 0.011982270516455173, -0.00835071038454771, -0.04593775421380997, -0.04818187281489372, -0.04130459204316139, -0.008201325312256813, 0.025665350258350372, -0.012119844555854797, 0.014108292758464813, 0.01886851340532303, 0.02313987724483013, -0.024835828691720963, 0.0036449353210628033, 0.03863838315010071, -0.005715683568269014, 0.0013960610376670957, -0.025716491043567657, -0.021935632452368736, 0.04963112622499466, -0.04282042384147644, -0.012732045724987984, 0.003377573797479272, -0.0700991153717041, 0.024913473054766655, -0.0665995255112648, -0.047050803899765015, 0.020555492490530014, 0.030396537855267525, 0.05723443627357483, 0.018382858484983444, 0.02773195691406727, 0.0779401883482933, 0.004172815941274166, 0.02290426194667816, 0.003722783410921693, -0.006990318186581135, 0.0419866144657135, 0.018814345821738243, -0.020526617765426636, 0.028816569596529007, -0.020568694919347763, -0.015101412311196327, -0.04807991161942482, 0.0628526583313942, -0.028206391260027885, -0.2843853235244751, 0.039609525352716446, 0.009168238379061222, -0.03730320185422897, 0.029642904177308083, -0.03680911660194397, 0.010627095587551594, -0.0216570645570755, -0.03313814103603363, 0.022600281983613968, -0.03594674915075302, -0.04217876121401787, -0.020648231729865074, 0.04639478400349617, -0.001737854559905827, 0.032928716391325, 0.022835830226540565, -0.02423752471804619, 0.0032334851566702127, 0.07550264149904251, -0.025303266942501068, -0.06562739610671997, -0.01609109528362751, 0.04632090404629707, 0.04514189437031746, 0.03775555267930031, -0.0767761617898941, 0.050241705030202866, -0.06860716640949249, 0.007671903353184462, 0.008358366787433624, 0.0081190699711442, 0.018979325890541077, -0.0416887030005455, -0.001233274000696838, -0.02931811846792698, 0.05541633069515228, 0.0042508323676884174, -0.01700618304312229, 0.004408855922520161, -0.031228775158524513, -0.0457216277718544, -0.010898534208536148, 0.015543688088655472, 0.06890273839235306, 0.022449808195233345, -0.07172944396734238, -0.0244432520121336, -0.02561625838279724, 0.08143924921751022, -0.0388813354074955, -0.018511177971959114, -0.014148026704788208, 0.055590350180864334, -0.008601807989180088, -0.019106945022940636, -0.0035672769881784916, -0.025747420266270638, -0.055088695138692856, -0.026899712160229683, -0.02213139832019806, -0.024036243557929993, 0.008525533601641655, -0.04787694662809372, 0.0072793904691934586, -0.06525830179452896, -0.06982576847076416, -0.03004361130297184, 0.04321569576859474, 0.0036045978777110577, -0.039201363921165466, 0.026381390169262886, -0.0011197765124961734, -0.10762946307659149, -0.00939276721328497, -0.002373091410845518, -0.009702864103019238, 0.010979457758367062, 0.015880996361374855, 0.02629140019416809, -0.023451155051589012, -0.06482848525047302, 0.014650346711277962, -0.0009104665950872004, 0.036636173725128174, 0.009427608922123909, 0.042650092393159866, 0.027773505076766014, -0.04596005752682686, 0.01948251761496067, 0.05962257832288742, 0.008189757354557514, -0.03885853290557861, -0.01737828180193901, 0.034898750483989716, -0.010572548024356365, 0.02138490043580532, -0.007511619944125414, -0.01074923574924469, 0.02496941387653351, -0.014019355177879333, -0.0330711305141449, 0.010072956793010235, -0.009562749415636063, -0.014330566860735416, -0.008547759614884853, -0.04947740584611893, 0.02361181564629078, 0.053115364164114, 0.027760213240981102, 0.02222086302936077, -0.04930068552494049, -0.01813102327287197, -0.04286642372608185, -0.019216857850551605, -0.023138707503676414, 0.0133889801800251, 0.03972238302230835, 0.004934052005410194, 0.015423359349370003, -0.04775340110063553, 0.0008018731605261564, -0.01265184860676527, 0.011339589953422546, -0.06795810163021088, -0.008861842565238476, -0.032697081565856934, -0.037820156663656235, 0.0015812453348189592, -0.0027904720045626163, -0.00590956024825573, 0.02937735989689827, 0.02952686697244644, -0.027568550780415535, 0.013682165183126926, -0.007111180108040571, -0.08138051629066467, -0.03657815605401993, -0.017879201099276543, -0.004137930925935507, -0.014650370925664902, 0.034821297973394394, -0.008107529021799564, 0.02284163422882557, 0.04199473559856415, -0.007570022717118263, 0.009069380350410938, -0.01651276834309101, 0.029084254056215286, 0.01773686893284321, -0.007560086436569691, -0.07600279897451401, 0.028850844129920006, -0.043474096804857254, -0.01928691752254963, -0.025799131020903587, 0.01614985801279545, -0.019600853323936462, -0.021494392305612564, -0.025234341621398926, 0.022666597738862038, -0.055340856313705444, -0.04393239691853523, -0.046879641711711884, 0.05760697275400162, 0.05831854045391083, -0.017194975167512894, 0.01651173271238804, -0.02246749773621559, -0.023730160668492317, -0.001266969135031104, 0.026656685397028923, -0.06806254386901855, -0.0075643244199454784, -0.0006281394162215292, 0.0015029729111120105, -0.01848132163286209, 0.0057929703034460545, 0.040478214621543884, -0.0008012260077521205, -0.004110741429030895, -0.022371675819158554, -0.004483323078602552, 0.011282351799309254, 0.047066763043403625, 0.04349978268146515, 0.004558487795293331, -0.009550698101520538, -0.01517128199338913, -0.04762565344572067, -0.05345223844051361, -0.022303849458694458, -0.00012144326319685206, 0.011754290200769901, -0.052659500390291214, -0.06287186592817307, 0.03954078629612923, 0.03296438232064247, 0.01835775561630726, 0.013587434776127338, -0.01828041486442089, 0.01461804285645485, -0.02743389829993248, 0.048222094774246216, 0.05917694792151451, -0.049354322254657745, 0.0028082658536732197, -0.020143583416938782, -0.019305894151329994, -0.0038693773094564676, -0.0028105995152145624, -0.0348590724170208, -0.014704936183989048, -0.02149656042456627, 0.0006219811039045453, -0.06885576993227005, -0.0357334278523922, -0.028723055496811867, 0.03070276416838169, 0.005694504827260971, -0.01624106988310814, -0.024899672716856003, 0.008287706412374973, -0.02616935595870018, -0.026574915274977684, 0.0067364973947405815, -0.029351674020290375, 0.004622269421815872, -0.00010609175660647452, -0.032667405903339386, 0.0007367398939095438, -0.025888094678521156, 0.03338555246591568, 0.0009988206438720226, -0.01594877429306507, 0.0033315985929220915, -0.014330212958157063, -0.0024221502244472504, 0.00604591891169548, 0.03489416837692261, -0.032244723290205, -0.031140128150582314, -0.026758046820759773, -0.013318419456481934, -0.04105997830629349, 0.020484523847699165, -0.047353193163871765, 0.002677095355466008, 0.004593808203935623, 0.08717089891433716, 0.04120225831866264, 0.03759511187672615, -0.0038391449488699436, -0.03132618963718414, 0.03764672577381134, -0.04250377416610718, -0.03465350344777107, -0.041181255131959915, -0.047475021332502365, -0.01096411794424057, 0.026071542873978615, 0.023555010557174683, -0.04757095128297806, 0.041638318449258804, 0.021221032366156578, 0.0649842619895935, 0.028177209198474884, 0.00573314493522048, 0.020959114655852318, -0.056749749928712845, -0.019265687093138695, -0.0651547983288765, -0.013572209514677525, 0.02854355052113533, 0.014269537292420864, 0.01786600425839424, -0.013628456741571426, -0.04576442018151283, 0.05718011409044266, -0.07143110781908035, -0.017464488744735718, 0.04709039255976677, 0.009822793304920197, -0.006468919571489096, 0.019092367962002754, -0.07113587111234665, 0.012711327522993088, 0.042473938316106796, -0.03810829669237137, -0.01411393005400896, -0.021438386291265488, 0.04871440678834915, -0.0021284574177116156, 0.04381498694419861, -0.032812558114528656, -0.04183914512395859, 0.0792161226272583, 0.0012365611037239432, 0.016252979636192322, 0.05904938280582428, -0.01370767131447792, 0.058774434030056, 0.022179702296853065, 0.009055747650563717, -0.010609769262373447, 0.04023962840437889, -0.005486602429300547, -0.044687554240226746, 0.015169468708336353, 0.006727305706590414, -0.04638062044978142, -0.04104052484035492, 0.05978337675333023, 0.024166947230696678, -0.031937964260578156, -0.0361202135682106, -0.004474647808820009, -0.055267270654439926, -0.0008954272489063442, -0.025329377502202988, -0.012897752225399017, -0.03626038879156113, 0.048071153461933136, 0.0016011164989322424, 0.015209564939141273, 0.058829985558986664, -0.006446375045925379, -0.0399608351290226, -0.011925099417567253, 0.09136124700307846, 0.08326327055692673, 0.0825348049402237, 0.009149374440312386, 0.07090598344802856, 0.008532879874110222, -0.042366933077573776, 0.018283091485500336, 0.005456999409943819, -0.015363097190856934, -0.004496980924159288, 0.015056803822517395, 0.04441078379750252, 0.006443883292376995, 0.05524839088320732, 0.008832466788589954, -0.040836431086063385, 0.00966185424476862, 0.04756878316402435, 0.024135088548064232, 0.08932939171791077, 0.008320915512740612, 0.02242169715464115, -0.01986130140721798, -0.055379971861839294, 0.03404467925429344, -0.04688592627644539, -0.000632426468655467, 0.023399492725729942, 0.0004919203347526491, 0.018896304070949554, 0.030743123963475227, 0.0009109616512432694, 0.08079397678375244, -0.047434817999601364, 0.00040917613659985363, -0.03070162422955036, 0.03162582591176033, -0.034827571362257004, 0.010770340450108051, -0.018235238268971443, -0.020069709047675133, -0.026840949431061745, -0.036556173115968704, -0.039175715297460556, -0.001496023265644908, -0.02047928050160408, 0.050709567964076996, -0.023847853764891624, -0.008534579537808895, 0.010899042710661888, 0.032035402953624725, -0.028089672327041626, -0.04294157400727272, -0.02306061051785946, -0.03845154494047165, -0.038812730461359024, -0.008558775298297405, 0.026846125721931458, 0.009797421284019947, -0.013983839191496372, -0.004544713068753481, -0.0001633220090297982, -0.02676421031355858, 0.029796771705150604, -0.047790344804525375, -0.016978900879621506, 0.01277952827513218, 0.04123035818338394, 0.028601134195923805, 0.02173827588558197, 0.021284425631165504, -0.019358273595571518, 0.016047831624746323, -0.016107892617583275, 0.026922082528471947, 0.01134385447949171, 0.022026916965842247, -0.005888442508876324, -0.08835641294717789, 0.0019900223705917597, 0.027365658432245255, 0.011333485133945942, -0.08126045763492584, 0.04429759457707405, 0.007035132497549057, -0.001957918982952833, 0.05901948735117912, 0.0004937226767651737, 0.021011464297771454, -0.03535451367497444, 0.005446757189929485, -0.015855850651860237, 0.028196528553962708, 0.04998812824487686, -0.016152817755937576, 0.08028202503919601, -0.0036528243217617273, -0.02852807752788067, -0.02934533730149269, -0.02454713173210621, -0.005345574580132961, 0.006639415863901377, -0.024548565968871117, -0.02232218161225319, -0.029961515218019485, -0.08940616250038147, 0.00041715207044035196, 0.025916283950209618, -0.027112817391753197, -0.02484031766653061, 0.025714894756674767, 0.0015903465682640672, -0.01815258152782917, 0.04484624043107033, -0.04175552725791931, 0.03862587735056877, -0.014080457389354706, -0.003954763989895582, 0.014277293346822262, 0.00680213887244463, -0.00390572939068079, 0.0008272371487691998, 0.02099372074007988, -0.04209527745842934, 0.02283625490963459, 0.009616590104997158, 0.025584757328033447, 0.054768241941928864, -0.004162763245403767, 0.010742314159870148 ]
[ -0.10068346560001373, 0.0031232573091983795, -0.020943790674209595, -0.02828962169587612, 0.04616686701774597, -0.014678021892905235, 0.0009026576881296933, 0.018752094358205795, -0.02642565406858921, -0.020081082358956337, 0.025041138753294945, 0.009792209602892399, -0.0062210350297391415, -0.036659229546785355, 0.06452399492263794, 0.02559029497206211, -0.025929654017090797, -0.07319144159555435, -0.016664810478687286, 0.017599288374185562, -0.022955795750021935, -0.03585604950785637, -0.004888660740107298, -0.0265048760920763, 0.017305370420217514, 0.022731391713023186, 0.01299311127513647, -0.023413313552737236, 0.011874143034219742, -0.17027647793293, -0.008999600075185299, 0.030694153159856796, 0.07401978969573975, -0.025274252519011497, 0.016407698392868042, 0.06555716693401337, 0.02454477921128273, 0.020291393622756004, 0.007075256202369928, 0.05283926799893379, 0.01903318054974079, 0.019304480403661728, -0.050497714430093765, -0.026769325137138367, 0.030669482424855232, 0.02199755236506462, 0.00446716183796525, -0.052847981452941895, -0.04518551379442215, 0.031288936734199524, -0.04239577427506447, -0.05396871641278267, -0.030999060720205307, -0.0039496528916060925, -0.009979551658034325, 0.026493486016988754, 0.01810198463499546, 0.06979205459356308, -0.014564954675734043, 0.019487686455249786, 0.020362963899970055, -0.03711295872926712, -0.12904229760169983, 0.0778777077794075, 0.051379527896642685, 0.05886843800544739, -0.06593181192874908, -0.010390274226665497, -0.03478020802140236, 0.07619275152683258, -0.012281308881938457, -0.01830390654504299, 0.010553035885095596, 0.029765630140900612, 0.03793074190616608, 0.018317803740501404, 0.012015269137918949, 0.017887871712446213, 0.02221575565636158, -0.047586582601070404, -0.025678366422653198, -0.013312279246747494, -0.022335560992360115, -0.024644384160637856, -0.03431321680545807, 0.02243417128920555, -0.0037777440156787634, 0.051471710205078125, 0.01851249858736992, 0.03239601477980614, 0.07216776907444, -0.005627044010907412, 0.013960707001388073, 0.0017690766835585237, -0.08796223253011703, -0.03174490109086037, -0.0009363219724036753, 0.010962387546896935, -0.07484282553195953, 0.4499724209308624, -0.022089654579758644, -0.026373466476798058, 0.07066751271486282, 0.034098681062459946, -0.0005053240456618369, -0.0014082062989473343, 0.024887703359127045, -0.044755786657333374, 0.02984193153679371, -0.01913682371377945, 0.02201807126402855, 0.03333335742354393, 0.04354427009820938, -0.030944261699914932, 0.013573942705988884, 0.03905794024467468, -0.02125685289502144, 0.005088976118713617, 0.0024177683517336845, -0.010984329506754875, -0.013600380159914494, 0.020604917779564857, 0.021176178008317947, -0.003254397539421916, -0.05323357135057449, 0.002802458591759205, 0.012520759366452694, 0.05880052596330643, 0.048729512840509415, -0.0010498104384168983, 0.058531504124403, -0.020997541025280952, -0.04522842541337013, 0.013232925906777382, -0.023352304473519325, -0.012690615840256214, 0.010991514660418034, -0.004054580349475145, -0.019129151478409767, 0.053244270384311676, 0.063756063580513, -0.013366146013140678, 0.010704376734793186, -0.0354502871632576, -0.06397273391485214, 0.09988876432180405, 0.0262127798050642, -0.019268399104475975, -0.01739247515797615, -0.02802390046417713, 0.006242068484425545, 0.02267363667488098, -0.0025535831227898598, -0.04652860015630722, 0.019878167659044266, 0.0012182582868263125, 0.09070001542568207, -0.021678518503904343, -0.07936615496873856, 0.0018102236790582538, -0.0018661422654986382, -0.0027577029541134834, -0.052763331681489944, 0.012425035238265991, 0.08239565789699554, -0.11245492100715637, 0.0006141523481346667, -0.030863000079989433, 0.04659414291381836, -0.06096772104501724, -0.030068494379520416, -0.0036885382141917944, -0.004374995362013578, 0.014811849221587181, 0.06095992028713226, -0.019505934789776802, -0.03921067714691162, 0.0011968131875619292, 0.052728887647390366, 0.0254437867552042, 0.027557851746678352, 0.018971510231494904, -0.029054131358861923, -0.012484575621783733, -0.044604018330574036, -0.07054778933525085, -0.04189614951610565, -0.005840842612087727, -0.04028163477778435, -0.021776365116238594, -0.0280251894146204, 0.0029062286484986544, -0.10704826563596725, 0.10766614228487015, -0.01431508082896471, -0.011276987381279469, 0.027600901201367378, -0.03127487003803253, -0.03951268270611763, -0.015653012320399284, -0.10663983970880508, 0.013851121068000793, -0.03643906116485596, 0.030448682606220245, -0.06396090984344482, 0.05474896356463432, 0.07042286545038223, -0.05457109585404396, 0.11112144589424133, 0.04393389821052551, -0.051822587847709656, -0.04139535129070282, 0.03257524594664574, 0.02935704030096531, 0.0036202436313033104, 0.00825854018330574, 0.007318967953324318, 0.032449979335069656, 0.017647650092840195, 0.027910569682717323, -0.01272660680115223, 0.03837898373603821, 0.0021216263994574547, -0.35736027359962463, -0.02133471518754959, -0.024927129969000816, -0.008770107291638851, -0.012966932728886604, -0.04114896059036255, 0.02858845330774784, -0.0179950799793005, -0.029570458456873894, 0.007889749482274055, 0.09427578747272491, -0.02809099107980728, 0.004036628175526857, -0.05819962918758392, 0.008164706639945507, -0.012954252772033215, -0.05463336408138275, -0.018813984468579292, -0.012286116369068623, 0.005219135899096727, 0.02510937862098217, 0.04197952523827553, -0.0032400318887084723, -0.05141500383615494, -0.02671191655099392, -0.052183445543050766, 0.06684861332178116, -0.010246636345982552, 0.06331997364759445, -0.03243567422032356, 0.02621445246040821, -0.003971421159803867, 0.025251630693674088, -0.11491704732179642, 0.033959630876779556, -0.00561622204259038, 0.016628755256533623, -0.026765713468194008, 0.008429435081779957, -0.04048089310526848, -0.03485383093357086, 0.00032577035017311573, -0.07464016228914261, -0.02734844945371151, -0.09021873772144318, 0.015230412594974041, -0.021999433636665344, -0.033751342445611954, -0.04083916172385216, 0.06937911361455917, 0.023845119401812553, 0.018591850996017456, 0.04100717231631279, 0.0012051326921209693, -0.007502614986151457, -0.057424213737249374, -0.0933808982372284, 0.039534080773591995, 0.010543894954025745, 0.027860816568136215, 0.024863582104444504, 0.048607561737298965, 0.028952712193131447, -0.052382465451955795, 0.022656571120023727, -0.0005336364847607911, -0.00031058129388839006, 0.031280338764190674, 0.043357789516448975, -0.020471349358558655, 0.0034142571967095137, 0.08685319870710373, 0.008166220039129257, -0.02964708022773266, 0.009928148239850998, 0.01965957321226597, -0.043574824929237366, 0.006778954993933439, 0.03019598312675953, -0.01798148639500141, 0.01103355921804905, -0.02435470186173916, 0.007872875779867172, -0.018231192603707314, -0.0014085082802921534, 0.03654799237847328, -0.030198030173778534, -0.043181195855140686, 0.04021827504038811, 0.01917656697332859, -0.009678930975496769, 0.0038102755788713694, -0.027069536969065666, -0.04444786533713341, 0.046320993453264236, -0.004358487669378519, -0.24240580201148987, 0.01917441375553608, 0.04144939407706261, 0.009053399786353111, -0.01930304989218712, 0.05852373689413071, 0.029491392895579338, -0.02747221663594246, 0.022859346121549606, 0.013876992277801037, 0.039389222860336304, 0.02772219106554985, 0.0054914033971726894, -0.007617361843585968, 0.04849959537386894, 0.015018769539892673, 0.0492451936006546, -0.004397902172058821, 0.0015007719630375504, -0.012928950600326061, 0.016166813671588898, -0.008298622444272041, 0.15588967502117157, 0.00021347490837797523, 0.04866218566894531, -0.0040559545159339905, -0.0048242853954434395, 0.01418163813650608, 0.04042939096689224, -0.021181965246796608, 0.000044060499931219965, 0.007572888396680355, 0.04218456894159317, 0.011691270396113396, 0.009601758792996407, -0.058760866522789, -0.026590697467327118, -0.002989885164424777, 0.01612713560461998, -0.001612614607438445, 0.020047834143042564, 0.015787221491336823, -0.012791099958121777, 0.03135684132575989, 0.09241604804992676, 0.018854666501283646, -0.002067847643047571, -0.04235668107867241, -0.0471753366291523, -0.02818654477596283, -0.05081069841980934, -0.025477314367890358, 0.018020255491137505, -0.0014840494841337204, 0.007575171533972025, 0.059998687356710434, 0.01753818802535534, -0.01087392307817936, 0.011543033644557, 0.0026268011424690485, -0.02556607872247696, -0.004596416372805834, 0.09037932008504868, 0.05633731931447983, 0.03233245015144348 ]
[ -0.003157822648063302, -0.017029237002134323, -0.004412810318171978, 0.029072729870676994, 0.012315085157752037, 0.019819533452391624, -0.015601747669279575, 0.00005914577195653692, 0.01680305227637291, 0.004791433457285166, -0.029854735359549522, 0.024247385561466217, -0.00016293492808472365, -0.031300075352191925, 0.026906996965408325, 0.0006779000977985561, -0.012079921551048756, -0.024867763742804527, 0.03973529860377312, 0.0011261515319347382, -0.010486990213394165, -0.004438305739313364, -0.03682739660143852, 0.012111488729715347, 0.003657328197732568, 0.0006606377428397536, -0.018139826133847237, 0.010030405595898628, 0.023375600576400757, -0.12486322224140167, -0.0339997224509716, -0.013792113400995731, 0.020141741260886192, 0.005252910777926445, 0.015433812513947487, 0.027050992473959923, 0.019696170464158058, 0.010292240418493748, 0.0029599133413285017, -0.013641037046909332, -0.023325767368078232, 0.0012828147737309337, 0.0037794706877321005, 0.01592826470732689, -0.001826231717132032, 0.009371365420520306, -0.012958207167685032, -0.044113390147686005, -0.005349377170205116, -0.02755720727145672, -0.03824659809470177, -0.020644374191761017, -0.006109922658652067, -0.019122682511806488, 0.01707097887992859, -0.027136314660310745, -0.000809342716820538, -0.014698357321321964, -0.022022664546966553, -0.04075539484620094, 0.01891934685409069, -0.03200247883796692, -0.04155684635043144, -0.01257275976240635, -0.007797024678438902, -0.016741177067160606, -0.013935420662164688, 0.010116399265825748, -0.033838316798210144, 0.006808372214436531, 0.007276690099388361, 0.00729268928989768, -0.02360939234495163, -0.04865312576293945, 0.019674457609653473, 0.008771011605858803, -0.024777555838227272, 0.004622419830411673, 0.04393718019127846, -0.006480654701590538, -0.02373264916241169, 0.020819244906306267, 0.004729317035526037, -0.0008156686089932919, -0.01012731995433569, 0.0014036356005817652, 0.019923266023397446, -0.006746492814272642, -0.0001342507021035999, 0.01672172173857689, -0.009787899442017078, 0.027570201084017754, 0.008705594576895237, 0.03453641012310982, -0.09590470790863037, 0.0034877806901931763, -0.009970909915864468, -0.015318505465984344, -0.010489262640476227, 0.8770597577095032, -0.021915018558502197, 0.00969632063060999, 0.028297148644924164, -0.01784270629286766, 0.02703738398849964, 0.01289803721010685, -0.002227185759693384, -0.014925411902368069, 0.0017197609413415194, 0.001174783450551331, -0.003173686796799302, 0.012996003031730652, 0.002064214553683996, -0.0012156943557783961, 0.03084925375878811, 0.023528557270765305, 0.01622783951461315, 0.01233891025185585, -0.007192895747721195, 0.00324154831469059, 0.054464180022478104, 0.013523315079510212, 0.01512023713439703, 0.017600946128368378, 0.018579060211777687, -0.15379872918128967, 0.0053303479216992855, -8.502364598493022e-33, 0.04181375727057457, 0.004539670422673225, -0.010769153013825417, 0.012146652676165104, -0.020912811160087585, 0.008436553180217743, 0.0215682964771986, 0.03578628599643707, -0.012553710490465164, -0.03291470184922218, 0.0052638002671301365, -0.022624611854553223, 0.023458315059542656, -0.015365350060164928, 0.010537972673773766, -0.02365485392510891, -0.030314119532704353, 0.011036664247512817, -0.0220946092158556, 0.013436438515782356, 0.023321928456425667, 0.008307883515954018, -0.006612406112253666, -0.01045625377446413, 0.0010414861608296633, 0.007059447467327118, 0.013208218850195408, 0.007252214476466179, -0.017098890617489815, -0.03902174159884453, -0.011767649091780186, 0.027901241555809975, -0.020051652565598488, -0.011226512491703033, -0.023686161264777184, -0.009776188991963863, -0.020950300619006157, 0.008270547725260258, -0.001385119860060513, -0.0025963871739804745, -0.014941802248358727, 0.007329839281737804, -0.07087087631225586, -0.0013124728575348854, 0.002294118981808424, 0.003867783583700657, 0.02276255004107952, 0.006068755406886339, 0.0004342712345533073, -0.02601543813943863, -0.0185878723859787, -0.0001759442820912227, 0.013557549566030502, 0.022701406851410866, -0.00956688728183508, 0.014673812314867973, 0.00007162235851865262, 0.012655244208872318, 0.026077579706907272, -0.006441472098231316, 0.025188330560922623, 0.011977273039519787, -0.020155783742666245, 0.03849631920456886, -0.018224293366074562, 0.008111031726002693, 0.015766320750117302, 0.027254626154899597, 0.029151085764169693, -0.005964567884802818, -0.04732320457696915, -0.002559760119765997, -0.005959503818303347, 0.007335776463150978, -0.014546277932822704, -0.008372505195438862, -0.014095660299062729, 0.02568734437227249, -0.01750178448855877, 0.031173966825008392, 0.009487973526120186, -0.005585139617323875, 0.004124612081795931, -0.03218310326337814, -0.026489682495594025, 0.01871071755886078, 0.021430645138025284, -0.02028232254087925, -0.046383295208215714, 0.005033661611378193, 0.025007542222738266, 0.0009529414237476885, 0.02004246972501278, 0.009030397050082684, 0.006363062188029289, 8.115213329997793e-33, 0.0058675045147538185, -0.0347260944545269, -0.015484798699617386, -0.006215651985257864, 0.058672964572906494, -0.025085389614105225, 0.015988096594810486, -0.01043738517910242, -0.05110175162553787, 0.03395751491189003, -0.02778194285929203, -0.004503017757087946, -0.02781665325164795, 0.020986944437026978, 0.010428340174257755, -0.04745625704526901, 0.015781575813889503, -0.014998585917055607, 0.03080650605261326, 0.010692455805838108, 0.009381200186908245, 0.009081271477043629, 0.006458836141973734, -0.01010171789675951, 0.04001205787062645, 0.05791766569018364, -0.002569359028711915, 0.001670275116339326, 0.010368692688643932, -0.02806747704744339, 0.017689555883407593, -0.016613056883215904, 0.00411241827532649, -0.009715912863612175, -0.005419180262833834, 0.02798834815621376, -0.031188948079943657, -0.008012152276933193, -0.005484370514750481, 0.014022876508533955, 0.012219230644404888, 0.009057285264134407, 0.020261090248823166, 0.010456139221787453, 0.01245696097612381, 0.02911316230893135, 0.006001450587064028, -0.02792169898748398, -0.03333050385117531, 0.009729981422424316, 0.01210089959204197, -0.003236484481021762, 0.009174070321023464, 0.02815842442214489, 0.008509253151714802, -0.006277195643633604, -0.030568042770028114, -0.024751821532845497, 0.014389615505933762, 0.032167840749025345, -0.013385683298110962, 0.01565285585820675, -0.029838725924491882, 0.009889665991067886, -0.03749532252550125, -0.010182010009884834, -0.035777706652879715, 0.00473608635365963, -0.011391310952603817, 0.015822770074009895, -0.036654822528362274, 0.0179352555423975, -0.002200628165155649, 0.04109710454940796, 0.008451592177152634, -0.01584802381694317, -0.03625646233558655, 0.02729734219610691, -0.027832595631480217, 0.011927595362067223, 0.002967030741274357, -0.0013828951632604003, -0.0041960799135267735, 0.02610822021961212, 0.0030986308120191097, 0.04057043045759201, 0.006607299204915762, 0.03744203597307205, -0.020289340987801552, 0.00163744215387851, -0.01783018931746483, -0.03645865246653557, 0.010453889146447182, 0.008903153240680695, -0.0022207635920494795, -1.4136200654490949e-8, -0.01147790439426899, 0.03776221349835396, -0.02464926242828369, -0.00295552727766335, 0.015209216624498367, -0.0337853729724884, -0.01247029285877943, 0.014077607542276382, -0.018654221668839455, 0.021476199850440025, 0.05276000499725342, -0.024867091327905655, -0.0053368196822702885, 0.028026510030031204, 0.002513780491426587, -0.030972745269536972, -0.008311152458190918, -0.0113521171733737, 0.02966439165174961, 0.014026250690221786, 0.030570395290851593, 0.04377385601401329, -0.019347205758094788, -0.0035063496325165033, 0.02207765355706215, -0.0077088745310902596, -0.02903030440211296, -0.09668740630149841, -0.019439341500401497, 0.006750935222953558, 0.0038809580728411674, -0.012874990701675415, -0.028623690828680992, 0.04226977378129959, -0.006945087108761072, -0.01968991383910179, -0.019425690174102783, -0.004127888474613428, -0.0035536971408873796, 0.01842402294278145, -0.003881807206198573, 0.028193525969982147, -0.0007626282749697566, -0.035972509533166885, -0.01326418574899435, -0.008129861205816269, -0.02729031629860401, -0.029090626165270805, -0.018003126606345177, -0.04753062501549721, 0.0208272784948349, -0.02081570029258728, 0.0067850579507648945, 0.05252863094210625, 0.014916585758328438, 0.021822189912199974, -0.016347303986549377, 0.03280727192759514, -0.037648625671863556, -0.026201331987977028, -0.0018240411300212145, 0.023028509691357613, 0.0005072072963230312, -0.02596295066177845 ]
the-effect-of-adding-new-people-to-project-teams
https://markhneedham.com/blog/2009/10/21/the-effect-of-adding-new-people-to-project-teams
false
2009-10-07 20:32:38
Software Development Apprenticeship: Some thoughts
[ "software-development" ]
[ "Software Development" ]
I recently came across http://radar.oreilly.com/2009/09/david-hoovers-top-5-tips-for-a.html[a interview with Dave Hoover] where he talks through the idea of working as an apprentice software developer and suggests some ways to do this more effectively. I think the easiest thing to get wrong in software development is to over estimate our ability and http://www.apa.org/journals/features/psp7761121.pdf[there is even a study that proves that theory]. Hoover refers to this as '*having an accurate self assessment*'. If we work on the same project for a while then we're going to get pretty good at navigating that code base and we'll probably be able to solve any problem and add any piece of functionality fairly easily which only helps fuel the belief. Although it's very difficult to avoid I don't know if there is actually much value in comparing ourselves to others in terms of skill level. All that tells us is whether in our opinion at a given point in time we are better or someone else is better. I think the most valuable thing that we can gain from working with people who totally outclass us or *mentors ahead of us in the field* is that we can see the areas in which they are much more skilled and then we can start asking questions to work out what steps they have taken to become that good. Guiding the conversation so that we can learn how others first became knowledgeable in a certain area, what books they would suggest as a starting point and so on is much more useful in helping us to improve. It seems like everyone you speak to will have a different opinion on what are the best things to learn, so I find that it's useful to remember that we aren't going to be outstandingly good at every single area of software development. There are just too many different areas for that to be possible. There will also likely be suggestions to *study the classics* and while I think it is useful advice I do think that sometimes it's not immediately applicable and there may well be more recent books on a topic which are more accessible to us when we are first learning. We need to reach the stage of learning a subject where our curiosity guides us towards the classics at which stage we can ask for advice on which one might be good to read. Ravi Mohan has a cool blog post where he defines the 'http://ravimohan.blogspot.com/2005/08/apprenticeship-pattern.html[book chain]' pattern which suggests that getting suggestions on a useful order in which we could read books from more experienced practitioners would also work well. I'm lucky enough to work with quite a few people who are very motivated by becoming really good at software development so there's no shortage of *peers to network with*. On a one to one basis we talk through the things we're doing on our projects which has the added benefit of http://www.markhneedham.com/blog/2009/04/21/learning-through-teaching/[forcing you to know what you're talking about] because the other person doesn't necessarily have the context to fill in gaps you miss in your explanation. My colleagues http://intwoplacesatonce.com/[Dave] and http://lizdouglass.wordpress.com/[Liz] have been organising 'project flashlights' in the ThoughtWorks Sydney office every week where people can present a problem they're trying to solve on their project or something interesting that they've been doing which works well for encouraging people to bounce ideas off each other. I tend to code with colleagues outside of work in http://www.markhneedham.com/blog/category/coding-dojo/[coding dojos] or just randomly at least once a week and I think taking some time to *practice* with other people can be quite useful. I'm not sure if it works so well when we're totally novice at a skill but certainly even with just a few weeks experience using a new language I've found that working through problems with others helps me learn much more than if I work alone. Beyond that there are http://codekata.pragprog.com/[code katas] to practice on and another bit of advice that I still haven't taken is to work on open source projects to embrace a different type of coding than we might get on our normal projects. == In summary I really like the ideas behind http://manifesto.softwarecraftsmanship.org/[software craftsmanship] and I think it's great that there are people in the industry always looking to improve themselves better and willing to help others do that as well. Dave Hoover and Ade Oshineye's 'http://www.amazon.co.uk/Apprenticeship-Patterns-Guidance-Aspiring-Craftsman/dp/0596518382/ref=sr_1_1?ie=UTF8&s=books&qid=1254903188&sr=8-1[Apprenticeship Patterns]' is http://my.safaribooksonline.com/9780596806842[currently available on Safari] and will be out in shops by the end of the month. I reviewed an early version and it's certainly an interesting read for anyone attempting the road to mastery.
null
null
[ 0.02395126037299633, 0.025553276762366295, -0.0037553359288722277, 0.03930709511041641, 0.09802700579166412, 0.03534559905529022, 0.025952886790037155, 0.018432069569826126, 0.031804755330085754, -0.03751344233751297, -0.04107515513896942, 0.007987825199961662, -0.05012829974293709, -0.003144157351925969, -0.03507448732852936, 0.06316215544939041, 0.0709788054227829, -0.003875279799103737, 0.028971992433071136, -0.0035013286396861076, 0.03340524807572365, 0.07632291316986084, 0.012195335701107979, 0.025387082248926163, 0.03002510964870453, 0.013947744853794575, 0.014711756259202957, -0.012400639243423939, -0.0438983216881752, -0.0008644944173283875, 0.034946780651807785, 0.006955375429242849, 0.012587140314280987, -0.02347218617796898, 0.009847373701632023, -0.002430854830890894, -0.0038521750830113888, 0.03447682783007622, -0.0004848485114052892, -0.0014363003429025412, -0.06993865966796875, 0.054993703961372375, -0.008707650937139988, 0.011111688800156116, -0.046732038259506226, 0.00014036643551662564, -0.04076538607478142, 0.006258885841816664, 0.014526700600981712, -0.00956039596349001, -0.05630381777882576, 0.05634785443544388, -0.0052076601423323154, -0.021646086126565933, 0.0033716263715177774, 0.04338870942592621, 0.03351516276597977, -0.04279060661792755, 0.0050601358525455, -0.04148515313863754, -0.0031910014804452658, -0.0091347461566329, -0.0044809915125370026, 0.034125059843063354, 0.0410008579492569, -0.037260763347148895, -0.0032582173589617014, 0.026840750128030777, -0.029551325365900993, 0.006177735514938831, -0.007387976162135601, 0.0028151320293545723, -0.013179903849959373, -0.0010284885065630078, -0.0021859307307749987, -0.048343610018491745, 0.0010837361915037036, 0.07238688319921494, 0.004922586027532816, 0.023668726906180382, -0.03303409367799759, 0.032988060265779495, 0.018566809594631195, 0.021502312272787094, -0.011912460438907146, -0.03923816978931427, 0.03761392459273338, -0.01434545312076807, -0.07050304859876633, 0.04856498911976814, 0.018064940348267555, -0.06101592257618904, 0.03011070191860199, 0.05909110605716705, 0.01914268359541893, 0.010729597881436348, 0.04050690308213234, 0.0018552356632426381, -0.004252322483807802, -0.023415828123688698, -0.027511319145560265, -0.014415041543543339, -0.0027574249543249607, -0.0032158507965505123, -0.07027360796928406, -0.001956893363967538, -0.006204620003700256, -0.015213455073535442, -0.0076150186359882355, 0.011789633892476559, -0.044845592230558395, 0.019965199753642082, -0.03252335265278816, 0.015776511281728745, -0.07239163666963577, 0.06504960358142853, -0.007547382265329361, -0.03945623338222504, -0.0035386765375733376, 0.002772735198959708, 0.03964521363377571, 0.044059935957193375, -0.012559762224555016, 0.08819494396448135, 0.006850188132375479, 0.00027357638464309275, -0.032042402774095535, 0.05170426890254021, 0.0030691814608871937, -0.043485529720783234, -0.020059866830706596, 0.04992903396487236, -0.03416126221418381, -0.02947843074798584, -0.015820207074284554, -0.019865484908223152, 0.0007509705610573292, 0.015448365360498428, -0.002774556865915656, 0.07138453423976898, -0.00019444145436864346, -0.043830689042806625, 0.02813456580042839, 0.0008714375435374677, 0.025926895439624786, -0.007292795926332474, 0.0020235285628587008, -0.009528044611215591, -0.06420711427927017, -0.02538394369184971, 0.015282339416444302, 0.030272101983428, -0.0014039203524589539, -0.04237377271056175, 0.026036981493234634, 0.08125770837068558, 0.02822507545351982, 0.024597469717264175, -0.020408757030963898, 0.019464250653982162, 0.04592546820640564, 0.015145367942750454, 0.017801940441131592, 0.019381124526262283, 0.013614444062113762, -0.004515475127846003, 0.0013081198558211327, 0.04064923897385597, -0.005838991608470678, 0.021084832027554512, -0.05094638466835022, -0.021845823153853416, 0.046190522611141205, -0.0515153706073761, -0.043381500989198685, 0.031189121305942535, 0.07420742511749268, 0.03342600166797638, 0.028723498806357384, -0.002198626287281513, -0.07800212502479553, 0.03290504217147827, -0.0015525169437751174, -0.0014605807373300195, 0.01793869398534298, -0.030505774542689323, 0.06381655484437943, 0.030872058123350143, 0.003919475246220827, 0.042697448283433914, -0.07505057007074356, -0.10182566195726395, -0.014973891898989677, -0.028438236564397812, 0.04378447309136391, -0.005634719505906105, 0.01426917314529419, 0.07530129700899124, 0.013550741598010063, 0.06285080313682556, 0.025763386860489845, 0.004609599243849516, 0.0035925291012972593, -0.028642652556300163, -0.03610776737332344, 0.05839172750711441, 0.0468592494726181, -0.004724766127765179, -0.03290318697690964, 0.006838215980678797, -0.004126011859625578, -0.021793892607092857, 0.04070264473557472, -0.02310810796916485, 0.0385911799967289, 0.025745276361703873, 0.05347041040658951, -0.0319906584918499, 0.06012077257037163, -0.026867274194955826, 0.0008362738881260157, 0.005312324035912752, -0.02179364301264286, 0.017427640035748482, 0.01270655170083046, 0.10441730916500092, 0.06591921299695969, -0.05274885147809982, -0.041197359561920166, -0.0024261733051389456, 0.024404112249612808, -0.06453818827867508, 0.0044517978094518185, -0.0028072919230908155, 0.015194290317595005, -0.00844174437224865, -0.06368137896060944, -0.046541422605514526, 0.02126544713973999, -0.051920924335718155, 0.0023285585921257734, 0.06322962045669556, -0.021575983613729477, 0.05533730983734131, 0.004165559075772762, -0.0017734040739014745, -0.0028742242138832808, -0.01447993516921997, -0.0491817481815815, 0.023929057642817497, 0.006200844421982765, -0.008727140724658966, 0.0369250550866127, -0.017858274281024933, -0.03886480629444122, -0.032870955765247345, -0.06399443000555038, 0.019406748935580254, 0.05581812933087349, 0.06642366945743561, -0.016782836988568306, 0.07355187088251114, -0.003273098263889551, 0.05313361808657646, 0.014339629560709, -0.04740596190094948, -0.045761171728372574, -0.05473362281918526, 0.01042911596596241, 0.024442031979560852, -0.011632445268332958, 0.02409626543521881, 0.025846755132079124, 0.007661559619009495, -0.018173106014728546, -0.023526212200522423, 0.0358891524374485, -0.0034064287319779396, -0.019052183255553246, -0.04411126300692558, -0.017340902239084244, 0.0642085075378418, -0.04548410326242447, -0.013496953062713146, 0.009832422249019146, -0.07391329854726791, 0.04655556008219719, -0.06202474981546402, -0.0441180020570755, -0.006302899681031704, 0.019869357347488403, 0.0451180636882782, 0.020375221967697144, 0.03260946273803711, 0.06753253936767578, -0.0018912376835942268, 0.03035503439605236, -0.011419042944908142, 0.003317805239930749, 0.02940332517027855, -0.004748571198433638, -0.0010383526096120477, 0.019551709294319153, 0.020198514685034752, 0.021803738549351692, -0.031987108290195465, 0.050252143293619156, -0.030386991798877716, -0.2822824716567993, 0.042241502553224564, -0.0023677265271544456, -0.044857319444417953, 0.02286987006664276, -0.03407434746623039, 0.008253920823335648, -0.056517284363508224, -0.027875151485204697, 0.018079422414302826, -0.04931533336639404, -0.03946731239557266, -0.025304174050688744, 0.05222469940781593, -0.009558063931763172, 0.02357112430036068, 0.0389145165681839, -0.03869292512536049, 0.0005890794564038515, 0.06191067025065422, -0.0325283482670784, -0.06951887905597687, 0.00558624230325222, 0.05534021556377411, 0.03554248437285423, 0.06293679028749466, -0.08585355430841446, 0.045292679220438004, -0.06377194076776505, -0.009599859826266766, -0.010490788146853447, 0.019158296287059784, -0.0021848210599273443, -0.004370384383946657, -0.010074294172227383, -0.006265710573643446, 0.053354572504758835, 0.009587601758539677, -0.0013186316937208176, 0.011804472655057907, -0.01913469471037388, -0.01921452023088932, -0.008295221254229546, 0.01841738075017929, 0.06196571886539459, 0.007148740813136101, -0.08646677434444427, -0.017575446516275406, -0.02700633741915226, 0.07591491937637329, -0.04623135179281235, -0.03602510690689087, -0.0028024346102029085, 0.04446014389395714, -0.014105232432484627, -0.020837176591157913, 0.005277251824736595, -0.022656770423054695, -0.04859217628836632, -0.035770196467638016, -0.0051506455056369305, -0.021573249250650406, -0.0038079367950558662, -0.054998304694890976, 0.002111398382112384, -0.07098427414894104, -0.07088863104581833, -0.034373436123132706, 0.08056043833494186, 0.007810968905687332, -0.023705998435616493, 0.018794886767864227, 0.0022061453200876713, -0.10079821199178696, -0.001379065797664225, -0.016800392419099808, -0.02503141202032566, -0.004428774584084749, 0.01518211793154478, 0.05831337347626686, -0.030117293819785118, -0.057357367128133774, 0.0397433303296566, 0.0044675529934465885, 0.031467050313949585, -0.014882544986903667, 0.03947779908776283, 0.017780719324946404, -0.0254012793302536, 0.0002038944949163124, 0.06353455036878586, 0.004879228305071592, -0.04452557861804962, -0.02417038194835186, 0.04402345046401024, 0.019541647285223007, 0.01844240166246891, -0.0065812305547297, 0.009130746126174927, 0.032065872102975845, -0.00835798867046833, -0.06775451451539993, 0.03559020161628723, -0.0157155804336071, -0.0034372429363429546, -0.023355942219495773, -0.04549596458673477, 0.026928264647722244, 0.047806087881326675, 0.016099022701382637, 0.0012259234208613634, -0.02335432544350624, 0.015447614714503288, -0.03287263214588165, -0.04965701699256897, -0.02789563126862049, 0.00812001433223486, 0.039924897253513336, -0.02084498479962349, -0.003556920448318124, -0.05983145907521248, 0.002897578990086913, -0.017319776117801666, -0.008188317529857159, -0.08149503171443939, -0.0199445653706789, -0.009511028416454792, -0.009075049310922623, 0.007092749699950218, 0.017309650778770447, -0.03289586305618286, 0.02488364838063717, 0.016012445092201233, -0.05292727053165436, -0.0037593571469187737, -0.03510180860757828, -0.06619277596473694, -0.04119643196463585, 0.008121486753225327, -0.00460590235888958, -0.00496720289811492, 0.040315575897693634, 0.0021079692523926497, 0.014802820049226284, 0.04521290212869644, -0.0016012400155887008, 0.011799945496022701, -0.023416204378008842, 0.026160655543208122, -0.002078745514154434, -0.0072122798301279545, -0.06439699232578278, 0.03348779305815697, -0.04668267443776131, -0.03029988706111908, -0.052048053592443466, 0.026286322623491287, -0.009057647548615932, -0.03313243016600609, 0.007613635156303644, -0.0046405489556491375, -0.06085137650370598, -0.06385419517755508, -0.02853711135685444, 0.04739760234951973, 0.06376221030950546, -0.008645371533930302, 0.022083600983023643, -0.0076018571853637695, 0.003270444693043828, 0.025795521214604378, 0.032635562121868134, -0.037651196122169495, -0.02705727145075798, 0.013446788303554058, 0.010370275937020779, -0.007178185041993856, -0.00782404188066721, 0.042998794466257095, -0.002651404356583953, -0.005557829514145851, -0.043210145086050034, 0.000042403469706187025, 0.009402359835803509, 0.03378814831376076, 0.010725980624556541, -0.011851642280817032, -0.0055800192058086395, -0.03160211071372032, -0.030372396111488342, -0.04442513734102249, -0.012705642729997635, 0.002872892189770937, 0.03956884890794754, -0.03630094602704048, -0.06879985332489014, 0.06236039847135544, 0.02268137037754059, 0.012062794528901577, 0.012740234844386578, -0.01961304247379303, -0.009065945632755756, -0.015251304022967815, 0.04065040126442909, 0.05665257200598717, -0.08595871925354004, -0.008273476734757423, -0.004534988664090633, 0.0018633807776495814, -0.0028962765354663134, -0.012006222270429134, -0.03363568335771561, -0.009162979200482368, -0.018258310854434967, -0.0028678467497229576, -0.07860074937343597, -0.0051995012909173965, -0.01041976548731327, -0.004674925934523344, -0.011033616028726101, -0.006967084016650915, -0.014814125373959541, -0.017106717452406883, -0.018007846549153328, -0.004337311256676912, 0.0034808157943189144, -0.046815671026706696, -0.00858274381607771, 0.021011244505643845, -0.03985295072197914, -0.008933007717132568, -0.007836967706680298, 0.00675937021151185, 0.013130751438438892, -0.020390816032886505, 0.00022444139176514, -0.03058282472193241, 0.007950457744300365, 0.0032158801332116127, 0.03976740315556526, -0.014834458008408546, -0.031606096774339676, -0.03127148002386093, -0.023339571431279182, -0.040751393884420395, -0.000026660673029255122, -0.030954143032431602, -0.004104905761778355, 0.022076839581131935, 0.05222183093428612, 0.03113166242837906, 0.040709272027015686, -0.01509891077876091, -0.004308725707232952, 0.0422217883169651, -0.04591943323612213, -0.029045863077044487, -0.03971639275550842, -0.052007872611284256, 0.012111596763134003, 0.014220504090189934, 0.03340271860361099, -0.03608732670545578, 0.06810875982046127, 0.027680980041623116, 0.03501444682478905, 0.02402983419597149, -0.0037883715704083443, 0.038489289581775665, -0.07146454602479935, 0.01633400470018387, -0.0686541497707367, 0.001456561149097979, 0.02330842986702919, 0.010980367660522461, -0.006246758159250021, 0.008155504241585732, -0.03017582930624485, 0.043355293571949005, -0.0820908173918724, -0.020031560212373734, 0.024730030447244644, -0.010996137745678425, -0.029571570456027985, -0.0009721796377561986, -0.06930109113454819, 0.012854163534939289, 0.028555160388350487, -0.03724594786763191, -0.022579099982976913, -0.027452146634459496, 0.052682217210531235, 0.0023007425479590893, 0.038519781082868576, -0.04890300706028938, -0.0072015575133264065, 0.08745444566011429, 0.0032597780227661133, -0.011616066098213196, 0.03016645461320877, 0.0037835543043911457, 0.038463130593299866, 0.024672187864780426, 0.03225170820951462, -0.00922458153218031, 0.028189441189169884, 0.001228059409186244, -0.05415007844567299, 0.007966612465679646, 0.008851129561662674, -0.0358918122947216, -0.02210789918899536, 0.04312017932534218, 0.024017557501792908, -0.030340397730469704, -0.051578689366579056, 0.009808254428207874, -0.04424621909856796, 0.013038760051131248, -0.021040823310613632, -0.009386955760419369, -0.039645060896873474, 0.04262259602546692, 0.012009778060019016, -0.002036779187619686, 0.06048768386244774, 0.0020004166290163994, -0.03407830744981766, -0.01767563447356224, 0.08472049236297607, 0.06684692203998566, 0.06250546127557755, -0.004353109747171402, 0.06504417210817337, -0.02038666233420372, -0.035327304154634476, 0.027540298178792, -0.004488331265747547, -0.00974547490477562, -0.03834112361073494, 0.016671841964125633, 0.05597301945090294, 0.012184957973659039, 0.07052091509103775, -0.035005949437618256, -0.012126772664487362, -0.0027752011083066463, 0.03429500386118889, 0.004135180730372667, 0.06645501405000687, -0.000032015450415201485, 0.026156142354011536, -0.024481110274791718, -0.050558462738990784, 0.03411835432052612, -0.03991030529141426, -0.014429152943193913, 0.027115261182188988, -0.008158151991665363, 0.017735300585627556, 0.015598776750266552, 0.038459014147520065, 0.07217514514923096, -0.054562244564294815, 0.026827672496438026, -0.014067340642213821, 0.04536207765340805, -0.022601159289479256, 0.008085565641522408, -0.031903576105833054, -0.028837772086262703, -0.011924635618925095, -0.033319465816020966, -0.013344956561923027, -0.001311112311668694, -0.016314789652824402, 0.045591801404953, -0.041867565363645554, 0.004895523656159639, 0.03298236429691315, 0.011480085551738739, -0.024216821417212486, -0.06607899069786072, -0.01652025617659092, -0.012879325076937675, -0.04422876983880997, -0.019907398149371147, 0.013186349533498287, 0.004175594542175531, -0.031929731369018555, -0.002529954304918647, -0.00423160195350647, -0.05626422539353371, 0.05126343294978142, -0.061410143971443176, -0.023735428228974342, 0.004584516864269972, 0.02625047229230404, 0.023978067561984062, 0.00953133124858141, 0.02716321125626564, -0.01530993077903986, -0.01088072918355465, -0.00833994522690773, 0.0058336094953119755, 0.025946026667952538, -0.0014703839551657438, 0.018252162262797356, -0.08030751347541809, 0.03436463326215744, 0.03967263177037239, -0.0013345519546419382, -0.05949274078011513, 0.024766623973846436, 0.01694413833320141, -0.006011044140905142, 0.05892223119735718, -0.011990902945399284, 0.02203444205224514, -0.0353596992790699, -0.0013642437988892198, -0.007024553604424, 0.011332248337566853, 0.04064425081014633, -0.01553721446543932, 0.08721836656332016, 0.007754470221698284, 0.0018169775139540434, -0.04939640685915947, -0.010127958841621876, 0.00897507555782795, 0.0027539352886378765, -0.02201356180012226, -0.013454525731503963, -0.018077312037348747, -0.07418545335531235, -0.027976389974355698, 0.031001511961221695, -0.009266058914363384, -0.03549423813819885, 0.03412399813532829, 0.02197876013815403, -0.0031726399902254343, 0.02736380510032177, -0.05088949576020241, 0.044851407408714294, -0.02989804558455944, 0.010077417828142643, 0.017301954329013824, 0.01844039373099804, -0.010006066411733627, -0.0052068945951759815, 0.009579861536622047, -0.03835390880703926, -0.0058465637266635895, 0.0017375099705532193, 0.030739091336727142, 0.05030966177582741, 0.0019454712746664882, 0.0030279860366135836 ]
[ -0.07556813210248947, 0.006873350590467453, -0.0159731674939394, -0.050405267626047134, 0.035697661340236664, -0.04754716902971268, -0.025293409824371338, 0.025038521736860275, -0.03398289531469345, -0.03325582295656204, -0.012164398096501827, -0.040431734174489975, -0.0024461394641548395, -0.0256299190223217, 0.058016337454319, 0.017899740487337112, -0.010710802860558033, -0.03254210948944092, 0.016695132479071617, 0.02944829687476158, 0.004254133440554142, -0.014855857007205486, -0.025408053770661354, -0.036923497915267944, 0.030868887901306152, 0.013279694132506847, 0.030800016596913338, -0.05508105456829071, 0.015019799582660198, -0.15671749413013458, -0.010719751939177513, 0.020117996260523796, 0.052064940333366394, -0.014726515859365463, -0.0017465727869421244, 0.07930279523134232, 0.028007805347442627, 0.017451005056500435, -0.01681266538798809, 0.023100823163986206, 0.01194494403898716, 0.0028372600208967924, -0.0495104156434536, -0.042413681745529175, 0.03695440664887428, 0.01897609978914261, 0.004538981709629297, -0.05062049999833107, -0.01754063367843628, 0.003188211238011718, -0.0708715096116066, -0.041382137686014175, -0.03804106265306473, -0.031110994517803192, -0.02237755060195923, 0.029078608378767967, 0.024972911924123764, 0.06886544078588486, -0.01983018033206463, 0.0033218925818800926, 0.008447247557342052, -0.011155073530972004, -0.15427932143211365, 0.11178930848836899, 0.04104581102728844, 0.054228272289037704, -0.05565616488456726, -0.016137849539518356, -0.029148370027542114, 0.0810132771730423, -0.004328341688960791, -0.04447126388549805, -0.022510364651679993, 0.044861603528261185, 0.020983131602406502, 0.030098702758550644, 0.002145265694707632, -0.018795784562826157, 0.046209149062633514, -0.049019210040569305, -0.02101362682878971, 0.007173643447458744, -0.025648603215813637, -0.017403002828359604, -0.03173046559095383, 0.03788714483380318, 0.019261391833424568, 0.05382055416703224, 0.03093542531132698, 0.03444075956940651, 0.05106358230113983, -0.028755497187376022, 0.01074534934014082, 0.00395803852006793, -0.06720418483018875, -0.038038790225982666, 0.01844213902950287, 0.016322532668709755, -0.059951234608888626, 0.44640031456947327, -0.02660400979220867, -0.03710923343896866, 0.07112691551446915, 0.023182563483715057, 0.007382231764495373, 0.014131488278508186, 0.027251094579696655, -0.041842781007289886, 0.04821537062525749, -0.028177451342344284, 0.04258198291063309, 0.014263365417718887, 0.0333661250770092, -0.04718688502907753, 0.006353642791509628, 0.036153215914964676, 0.028324631974101067, -0.006520732771605253, -0.013126815669238567, -0.021941721439361572, 0.0005548956687562168, 0.004405827261507511, 0.025901878252625465, -0.009910453110933304, -0.03226000443100929, -0.05129319801926613, 0.02957514300942421, 0.04671615734696388, 0.013888559304177761, 0.002027949085459113, 0.048364557325839996, -0.03046664409339428, -0.07812343537807465, 0.019247686490416527, -0.009507982060313225, 0.018434474244713783, 0.009856291115283966, -0.010923278518021107, 0.0029342423658818007, 0.05459153652191162, -0.003992523532360792, 0.002067942637950182, 0.013765268959105015, -0.007829130627214909, -0.05970914289355278, 0.08107367902994156, 0.036638710647821426, -0.023461226373910904, -0.026418721303343773, -0.04307519644498825, 0.005430379882454872, 0.014368614181876183, 0.0020776288583874702, -0.05144936218857765, 0.03614598140120506, -0.008963876403868198, 0.12411122024059296, 0.00589667959138751, -0.07434520870447159, -0.022665806114673615, -0.024440070614218712, -0.0261689405888319, -0.0636090561747551, 0.04243580624461174, 0.09179797768592834, -0.06635227054357529, 0.0038075249176472425, 0.01438002847135067, 0.007271930109709501, -0.05401546135544777, -0.005128984339535236, 0.013513711281120777, -0.05403436720371246, 0.012841848656535149, 0.08294225484132767, -0.04983185604214668, -0.03543838858604431, 0.029250478371977806, 0.061178576201200485, 0.027979454025626183, 0.049081504344940186, 0.005740143824368715, -0.0028050425462424755, 0.00792529247701168, -0.02993396669626236, -0.06769247353076935, -0.03025110252201557, -0.033940088003873825, -0.025555972009897232, 0.012337794527411461, -0.020404217764735222, 0.012503993697464466, -0.10690831393003464, 0.06991042196750641, -0.025771019980311394, -0.004644264467060566, 0.03106975182890892, -0.011809486895799637, -0.043884556740522385, -0.007588234730064869, -0.09686072170734406, 0.024216098710894585, -0.03651897981762886, 0.03012899123132229, -0.04723445698618889, 0.046787988394498825, 0.0707411989569664, -0.046869534999132156, 0.10737357288599014, 0.04449234530329704, -0.051999714225530624, -0.04981333389878273, 0.03171532228589058, 0.01992604322731495, 0.01610746420919895, -0.008107435889542103, 0.019249921664595604, 0.021493613719940186, 0.0010599796660244465, 0.026796741411089897, -0.013725942000746727, 0.023520058020949364, -0.012728235684335232, -0.3556371331214905, -0.020543789491057396, -0.04181033372879028, 0.017230013385415077, 0.024262458086013794, -0.038625895977020264, 0.03451341390609741, -0.012304402887821198, -0.01761147938668728, 0.005132523365318775, 0.07791614532470703, -0.02806168794631958, 0.03727195784449577, -0.06601640582084656, 0.005496643483638763, 0.015300055034458637, -0.039871904999017715, -0.015337095595896244, -0.02907889150083065, -0.003921220079064369, 0.005954436957836151, 0.005164756905287504, 0.006760771851986647, -0.07672018557786942, -0.029039639979600906, -0.03401229903101921, 0.07138746231794357, -0.015481353737413883, 0.08555101603269577, -0.023594805970788002, 0.05179497227072716, 0.004929319489747286, 0.04469567909836769, -0.09955713152885437, 0.005303213372826576, -0.012151445262134075, 0.014111447148025036, -0.034384358674287796, 0.022348828613758087, -0.028025075793266296, -0.023882711306214333, 0.035199057310819626, -0.05556796118617058, -0.03437502309679985, -0.11217325925827026, 0.020804693922400475, -0.026942195370793343, -0.02087526209652424, -0.01744738221168518, 0.06337205320596695, 0.01629297249019146, 0.025525331497192383, -0.002561007160693407, -0.009940163232386112, -0.03802940249443054, -0.0339260958135128, -0.10238254815340042, 0.028439266607165337, -0.0010784042533487082, 0.014280570670962334, 0.02306273765861988, 0.048305343836545944, 0.03431636095046997, -0.04983040690422058, 0.0023038212675601244, -0.002523464383557439, 0.002546364674344659, 0.011322509497404099, 0.041303664445877075, -0.030245650559663773, -0.015490232966840267, 0.07305391877889633, -0.019782494753599167, -0.01735115423798561, -0.011685444042086601, 0.03232618421316147, -0.005455125588923693, 0.028720198199152946, 0.012835048139095306, -0.015106197446584702, -0.0014317798195406795, -0.04973283037543297, 0.03953878581523895, -0.013284776359796524, -0.00007831049879314378, 0.034141093492507935, -0.013424159027636051, -0.05768074095249176, 0.046081699430942535, 0.0411154143512249, -0.047859299927949905, 0.014731736853718758, -0.05517709627747536, -0.04213536158204079, 0.050161562860012054, 0.025992849841713905, -0.22817449271678925, 0.0077393390238285065, 0.05529937148094177, 0.04120989888906479, -0.00009347010927740484, 0.021377485245466232, 0.05332985520362854, -0.05999327078461647, 0.01194219384342432, 0.02413499727845192, 0.04862813651561737, 0.0031521739438176155, -0.02069636806845665, -0.013085618615150452, 0.04671226069331169, -0.01686360500752926, 0.06154091656208038, 0.012208768166601658, 0.0011557661928236485, -0.005474955774843693, 0.025725536048412323, 0.010864161886274815, 0.14255838096141815, -0.001530081732198596, 0.03580908104777336, 0.0012021881993860006, -0.010617213323712349, 0.006149370688945055, 0.08384490758180618, 0.009493635036051273, 0.018873950466513634, -0.002700717654079199, 0.05699720233678818, 0.02602403797209263, 0.01756436564028263, -0.050371203571558, -0.02391962520778179, -0.005202148575335741, 0.020187409594655037, -0.002745317993685603, 0.02297632396221161, -0.0035772297997027636, -0.038962699472904205, 0.03892601653933525, 0.05797377601265907, 0.015088610351085663, 0.015252845361828804, -0.03692153841257095, -0.040758781135082245, -0.01637929305434227, -0.05182500556111336, -0.03159516677260399, 0.021155808120965958, 0.002173103392124176, 0.01693202368915081, 0.0769619569182396, 0.018442070111632347, -0.013893351890146732, -0.01133034285157919, -0.015416122041642666, -0.005840685218572617, -0.009178714826703072, 0.10790593922138214, 0.06009363383054733, 0.030022693797945976 ]
[ -0.0063617778941988945, -0.018199725076556206, -0.00806368701159954, 0.0025768557097762823, -0.0125442398712039, -0.03236915543675423, -0.017381668090820312, 0.012527205981314182, -0.019327718764543533, -0.010655853897333145, -0.011797918938100338, 0.03868691623210907, 0.0063558705151081085, -0.012140131555497646, -0.003329870058223605, 0.017734918743371964, -0.01691976934671402, -0.0023988063912838697, 0.027017859742045403, -0.036607205867767334, -0.02291368506848812, 0.03795276954770088, -0.0024492430966347456, -0.012657378800213337, -0.04284658282995224, 0.053791679441928864, -0.017378613352775574, -0.014348509721457958, 0.03232324495911598, -0.12786756455898285, 0.007000843994319439, -0.01822490617632866, 0.016595155000686646, 0.02127831242978573, 0.005311681888997555, -0.018902067095041275, 0.007250908762216568, 0.013971296139061451, 0.015147315338253975, -0.04307229071855545, -0.0035754628479480743, 0.005083570722490549, 0.006532609928399324, 0.009856980293989182, -0.01963963359594345, -0.01129209902137518, -0.003143779933452606, -0.032761480659246445, 0.005993472877889872, -0.012150518596172333, -0.01437198556959629, -0.031486064195632935, -0.0029583373107016087, 0.019358806312084198, -0.01508037094026804, 0.040535058826208115, 0.04905593767762184, -0.019072474911808968, 0.011796497739851475, 0.021529531106352806, -0.033175110816955566, -0.0378870815038681, -0.051087114959955215, -0.003496902994811535, 0.017618903890252113, -0.015115578658878803, -0.001478975871577859, 0.0085319047793746, -0.06567297875881195, 0.01818005181849003, -0.01141085010021925, 0.015010817907750607, -0.05870029702782631, 0.020060604438185692, 0.03469375893473625, 0.003910807427018881, 0.010171037167310715, -0.0009477071580477059, 0.011787538416683674, -0.02875465899705887, -0.03638790175318718, 0.015193115919828415, -0.0016461060149595141, 0.010158838704228401, -0.03114413470029831, 0.0030647623352706432, 0.010577176697552204, -0.0029468811117112637, 0.034449730068445206, -0.01837935484945774, -0.017428379505872726, -0.0041211675852537155, -0.019595647230744362, 0.01736433245241642, -0.08526118844747543, -0.0023169228807091713, -0.007092059124261141, -0.01718098483979702, 0.008926120586693287, 0.8242000937461853, -0.03914757817983627, 0.02020265720784664, 0.053549669682979584, -0.0431826077401638, -0.014559426344931126, 0.006578389555215836, 0.018382767215371132, -0.007030803710222244, 0.022634785622358322, -0.022181279957294464, 0.011169795878231525, -0.012413082644343376, 0.030010104179382324, -0.01529777143150568, 0.06900335848331451, 0.022715536877512932, 0.0032753588166087866, 0.006794567219913006, -0.05293010547757149, -0.0026206267066299915, 0.011623005382716656, 0.02258419059216976, -0.026070894673466682, -0.00025537333567626774, -0.0011871926253661513, -0.21558654308319092, -0.0018909209175035357, -8.729542106100875e-33, 0.05188501998782158, -0.026931224390864372, -0.0006041454616934061, 0.009902281686663628, -0.012019897811114788, 0.0023121722042560577, 0.04591852426528931, 0.023410547524690628, 0.003891188185662031, 0.004388663452118635, 0.02026379108428955, -0.024142099544405937, -0.04919087514281273, -0.03649533912539482, 0.05328776314854622, 0.032743390649557114, -0.011132923886179924, -0.010900942608714104, -0.009580109268426895, 0.022808993235230446, 0.02689046412706375, 0.03259811922907829, -0.023009710013866425, -0.010535496287047863, 0.03984903171658516, 0.022663718089461327, 0.02513832412660122, -0.014847188256680965, 0.0178124587982893, -0.04381543770432472, -0.013205334544181824, 0.026814617216587067, -0.05096222087740898, -0.025225451216101646, 0.012425568886101246, -0.01766708493232727, -0.04901518300175667, 0.0006723010446876287, 0.03333207219839096, 0.012352379970252514, -0.031225021928548813, 0.013572528958320618, -0.007117847446352243, -0.013325891457498074, -0.00552884628996253, -0.004302571061998606, 0.02330942079424858, -0.00741272047162056, 0.03696208819746971, 0.022374620661139488, 0.0017689357046037912, -0.002900039777159691, 0.02309674210846424, -0.00024005345767363906, -0.0150382649153471, 0.01115076057612896, 0.0038326135836541653, 0.012844731099903584, 0.006258824374526739, 0.02780647948384285, 0.04055901616811752, 0.009636934846639633, -0.042733971029520035, 0.025643493980169296, -0.031666554510593414, -0.01839972659945488, 0.03597336262464523, 0.05615917220711708, 0.04237206280231476, -0.01012494508177042, -0.0582212395966053, -0.00824738573282957, -0.0264271292835474, -0.00830257311463356, -0.013116688467562199, -0.02454642578959465, 0.0035501704551279545, 0.030791940167546272, 0.01561679132282734, 0.034806523472070694, -0.014726405031979084, -0.02903181128203869, -0.028117593377828598, -0.028743674978613853, -0.027165524661540985, 0.047609955072402954, 0.01510139275342226, -0.00026019784854725003, -0.002083580242469907, 0.01770421303808689, 0.023924294859170914, 0.015524011105298996, 0.001380024361424148, 0.03240634873509407, -0.03494959697127342, 7.803093865915552e-33, 0.02382197417318821, -0.04329703748226166, -0.0169793963432312, 0.029301373288035393, 0.026029471307992935, 0.030474161729216576, 0.01670057326555252, 0.020130660384893417, -0.0790427103638649, 0.016092512756586075, -0.040610309690237045, 0.03358000889420509, -0.02428371086716652, 0.011029692366719246, 0.0696340948343277, -0.0077881161123514175, -0.02195628546178341, -0.04059787094593048, 0.009946968406438828, 0.007233959622681141, -0.005483354441821575, 0.04250635206699371, -0.00727812759578228, -0.010591891594231129, 0.0023389868438243866, 0.04090284928679466, -0.029275408014655113, 0.02609075978398323, 0.0495954304933548, 0.03832403942942619, -0.006235247012227774, 0.028687747195363045, 0.013812702149152756, 0.02123599871993065, -0.012447692453861237, -0.00484077725559473, 0.01937495544552803, -0.03522555157542229, 0.019146405160427094, 0.019779784604907036, 0.01910264603793621, 0.00932485330849886, 0.021244606003165245, 0.005211057141423225, 0.022662155330181122, 0.008278831839561462, -0.00046565255615860224, -0.007378288544714451, -0.026437891647219658, -0.020431429147720337, -0.014903351664543152, 0.016493603587150574, -0.03785102814435959, 0.00451523857191205, 0.01595252938568592, -0.01445752289146185, -0.01863262988626957, -0.04446248337626457, -0.006478558760136366, -0.010306297801434994, -0.05023036524653435, 0.02639359049499035, -0.023904526606202126, -0.005223069339990616, -0.05969633907079697, 0.010322256945073605, 0.0045243785716593266, 0.01173799205571413, -0.013112189248204231, 0.024486606940627098, -0.06005309522151947, -0.014570681378245354, 0.021997744217514992, -0.008390703238546848, 0.0022101677022874355, -0.018956763669848442, -0.030749989673495293, -0.001714406069368124, -0.03105469048023224, 0.02808629721403122, 0.001973781269043684, 0.05312082916498184, 0.00787415448576212, 0.0038996106013655663, 0.0031164216343313456, 0.01962115243077278, -0.0356372632086277, -0.01741584949195385, 0.010387059301137924, -0.011932742781937122, 0.0018885701429098845, -0.005524110980331898, 0.0016883846838027239, -0.004158300813287497, -0.03661998733878136, -1.3657383668430612e-8, -0.03263428434729576, 0.009816817939281464, 0.0032712509855628014, 0.02296774834394455, 0.041923511773347855, 0.006150444503873587, -0.022637970745563507, 0.03391960635781288, -0.03442133590579033, 0.04276834428310394, 0.06511745601892471, -0.03911567106842995, -0.014076330699026585, 0.04574551805853844, 0.017290353775024414, -0.018405752256512642, -0.004544436000287533, -0.008395543321967125, 0.03163355961441994, -0.008644175715744495, 0.003991230856627226, 0.06145257130265236, -0.014026601798832417, 0.02951992116868496, 0.003013784298673272, 0.005259254015982151, -0.032218802720308304, -0.07801345735788345, -0.024701358750462532, 0.014570772647857666, -0.01207650825381279, -0.021313825622200966, -0.02966325730085373, -0.01625729165971279, -0.0018675473984330893, -0.029268354177474976, 0.043523915112018585, -0.016942014917731285, 0.0035658273845911026, 0.00792301632463932, 0.003432805649936199, 0.01893494836986065, -0.0017480116803199053, -0.02841036207973957, -0.004677589982748032, -0.008802460506558418, -0.03037715144455433, -0.028058797121047974, 0.015600055456161499, -0.017849992960691452, -0.010377141647040844, -0.020677296444773674, 0.0358026884496212, 0.019952179864048958, 0.031721342355012894, 0.002198587404564023, -0.014470783993601799, -0.04156912863254547, -0.04125973954796791, 0.016621040180325508, 0.03317549079656601, 0.01684933342039585, -0.010169138200581074, -0.01799793168902397 ]
software-development-apprenticeship-some-thoughts
https://markhneedham.com/blog/2009/10/07/software-development-apprenticeship-some-thoughts
false
2009-10-31 17:54:31
Coding: Copy/Paste then refactor
[ "coding" ]
[ "Coding" ]
We're currently reading Michael Feathers 'http://www.amazon.co.uk/Working-Effectively-Legacy-Robert-Martin/dp/0131177052/ref=sr_1_1?ie=UTF8&s=books&qid=1256973419&sr=8-1[Working Effectively With Legacy Code]' in our http://www.markhneedham.com/blog/category/books/[technical book club] and one interesting technique which he describes in the Test Driven Development section is copying and pasting some existing code, changing the appropriate part to make the test pass before refactoring to remove the duplication we just created. I can't remember coming across this approach previously but I found myself using it to solve a Scala problem last week. I wanted to find the smallest number in a list having previously written the code to find the largest number in a list. This was the code I already had: [source,scala] ---- def max(values : List[Int]) : Int = { def inner(remainingValues : List[Int], currentMax : Int) : Int = remainingValues match { case Nil => currentMax case head::tail if head > currentMax => inner(tail, head) case _::tail => inner(tail, currentMax) } inner(values, Math.MIN_INT) } ---- I figured finding the smallest value would be quite similar to that but I couldn't quite see where the duplication between the two functions was going to be. I somewhat reluctantly found myself copying and pasting my way to the following code: [source,scala] ---- def min(values : List[Int]) : Int = { def inner(remainingValues : List[Int], currentMin : Int) : Int = remainingValues match { case Nil => currentMin case head::tail if head < currentMin => inner(tail, head) case _::tail => inner(tail, currentMin) } inner(values, Math.MAX_INT) } ---- Having done that it became clearer that the duplication between the two functions was on line 4 where we do the comparison of values and on line 7 where we choose the initial max/min value. My first attempt at refactoring was to try and pull out the comparator function on line 4: [source,scala] ---- def comparator(x : Int, y : Int, f : Function2[Int, Int, Boolean]) : Boolean = f(x,y) ---- Which resulted in the 'max' function looking like this: [source,scala] ---- def max(values : List[Int]) : Int = { def inner(remainingValues : List[Int], currentMax : Int) : Int = remainingValues match { case Nil => currentMax case head::tail if comparator(head, currentMax, (x,y) => x > y) => inner(tail, head) case _::tail => inner(tail, currentMax) } inner(values, Math.MIN_INT) } ---- At this point I realised that I was doing the refactoring the wrong way around and that I should be trying to make 'max' and 'min' call another function while passing in the differences as parameters to that function. I ended up with this common function: [source,scala] ---- def findValue(values : List[Int], comparisonFunction : Function2[Int, Int, Boolean], startingValue : Int) : Int = { def inner(remainingValues : List[Int], current : Int) : Int = remainingValues match { case Nil => current case head::tail if comparisonFunction(head, current) => inner(tail, head) case _::tail => inner(tail, current) } inner(values, startingValue) } ---- [source,scala] ---- def max(values : List[Int]) : Int = findValue(values, (x,y) => x>y, Math.MIN_INT) def min(values : List[Int]) : Int = findValue(values, (x,y) => x<y, Math.MAX_INT) ---- I'm not sure whether the name 'findValue' is a very good one for the common function but I can't think of a better one at the moment. The neat thing about this approach is that it made it much easier to http://www.markhneedham.com/blog/2009/08/30/coding-group-the-duplication-then-remove-it/[see where the duplication was] and I was able to have both the functions working before trying to do that refactoring. I'm not sure if there are built in functions to do these calculations. I looked quickly and couldn't find any and thought it would be an interesting exercise to write the code anyway. It worked out much better than I thought it would.
null
null
[ -0.0025649224407970905, -0.021922150626778603, -0.01246380154043436, 0.011103188619017601, 0.09598935395479202, 0.028626300394535065, 0.020449280738830566, -0.0012452680384740233, 0.013574627228081226, -0.042188774794340134, 0.013732757419347763, 0.013194612227380276, -0.06678590178489685, 0.019802642986178398, -0.034686703234910965, 0.06910385191440582, 0.06492621451616287, -0.022156652063131332, 0.024376196786761284, -0.007678458001464605, 0.01114995963871479, 0.08009141683578491, -0.003262607380747795, 0.038796473294496536, 0.013354411348700523, 0.011454932391643524, 0.02182621881365776, -0.013340783305466175, -0.0390685573220253, 0.028840284794569016, 0.03302835673093796, 0.010507985949516296, 0.010107330046594143, 0.016954250633716583, -0.0009316708892583847, -0.01088638510555029, 0.029702404513955116, -0.005442272871732712, 0.0034084171056747437, 0.011235052719712257, -0.03226691856980324, 0.014232724905014038, -0.009328235872089863, 0.014032631181180477, -0.04497896507382393, 0.013601561076939106, -0.025236796587705612, -0.004443799145519733, -0.015594500117003918, -0.003177583683282137, -0.05189002677798271, 0.03055306151509285, -0.04338783770799637, -0.023285768926143646, -0.02021511271595955, 0.07973895967006683, 0.016514325514435768, -0.053995225578546524, 0.03200758993625641, -0.07374794781208038, 0.006272978149354458, -0.008543634787201881, -0.003036811016499996, 0.03270896151661873, 0.018442701548337936, -0.01348056085407734, 0.010012629441916943, 0.0411553718149662, -0.038576096296310425, -0.022594904527068138, -0.014468596316874027, 0.013307088054716587, -0.026961002498865128, -0.005789736285805702, -0.02408807910978794, -0.03554621338844299, -0.0333666130900383, 0.07582566887140274, 0.01137666404247284, 0.033919498324394226, -0.03570114076137543, 0.016524111852049828, 0.04075998440384865, 0.011407881043851376, 0.052525755017995834, -0.011084290221333504, -0.04968953877687454, -0.004040542524307966, -0.048338763415813446, 0.06094527244567871, -0.017809011042118073, -0.08270531892776489, 0.0026990706101059914, 0.03803055360913277, 0.02579650841653347, 0.009244474582374096, 0.019305935129523277, 0.03223664313554764, -0.005114507861435413, -0.01796065643429756, -0.05969562754034996, -0.022299017757177353, 0.028744440525770187, 0.010871388018131256, -0.0472555086016655, -0.025963563472032547, -0.003823066595941782, 0.0031679943203926086, 0.019055521115660667, 0.020372821018099785, -0.049735717475414276, -0.01654260791838169, -0.04921194911003113, 0.02717900648713112, -0.09619656950235367, 0.07096242904663086, -0.007364899385720491, -0.017035409808158875, -0.043473981320858, 0.016536932438611984, 0.04752900078892708, 0.017668480053544044, -0.004763730335980654, 0.08893509954214096, 0.03994438424706459, 0.04061470180749893, 0.017110509797930717, 0.06801828742027283, -0.0019206494325771928, -0.05014282092452049, -0.028836393728852272, 0.06318807601928711, -0.040213003754615784, -0.016780279576778412, -0.01642516441643238, 0.0035021069925278425, -0.03606230020523071, -0.004342198837548494, 0.04345481097698212, 0.02424539066851139, 0.0438615158200264, -0.015119212679564953, 0.004094373434782028, -0.026031365618109703, 0.047259099781513214, -0.0017318298341706395, -0.009636668488383293, -0.0033928004559129477, 0.003884035162627697, 0.008366256020963192, 0.012641211040318012, 0.044262271374464035, 0.03611700236797333, -0.03716049715876579, 0.030666230246424675, 0.07241598516702652, 0.02042701467871666, 0.012253806926310062, -0.026669584214687347, 0.01887073740363121, 0.07043563574552536, 0.03681061044335365, 0.0036423131823539734, 0.0459623858332634, 0.013135538436472416, 0.00009203231456922367, -0.0031450302340090275, 0.040365949273109436, -0.025982346385717392, 0.02379247359931469, -0.0769033282995224, -0.03017977438867092, 0.06667932122945786, -0.036832816898822784, -0.010696724988520145, 0.005712367594242096, 0.0720561072230339, 0.017095228657126427, 0.031929343938827515, -0.022352585569024086, -0.06553369760513306, 0.02458171360194683, 0.007023289334028959, 0.02726735919713974, 0.010676114819943905, -0.01077322755008936, 0.05448563024401665, 0.021782491356134415, 0.02972213178873062, 0.014969952404499054, -0.06008240580558777, -0.09164970368146896, 0.01618160307407379, -0.0350993387401104, 0.05875853821635246, -0.027562353760004044, 0.011865826323628426, 0.07491672039031982, 0.018841151148080826, 0.030304977670311928, 0.024446090683341026, -0.006038028281182051, 0.01128721609711647, -0.011150665581226349, 0.003919132985174656, 0.05375298857688904, 0.022933591157197952, -0.03403489664196968, -0.053058672696352005, 0.02057811990380287, -0.0015665615210309625, 0.020260624587535858, 0.02647688426077366, -0.008952786214649677, 0.042200472205877304, 0.03532709553837776, 0.018077164888381958, -0.014470326714217663, 0.09136339277029037, -0.07118730247020721, 0.04869035631418228, 0.030941493809223175, -0.0036058039404451847, -0.00986049696803093, 0.008195317350327969, 0.11253492534160614, 0.05364888161420822, -0.0716095045208931, -0.05677009001374245, 0.018226061016321182, -0.016681959852576256, -0.024436745792627335, -0.002206329256296158, 0.013499979861080647, -0.0031904266215860844, -0.014310124330222607, -0.025506241247057915, 0.0029620060231536627, 0.04900895431637764, -0.03687027841806412, -0.012767672538757324, 0.06563235074281693, -0.04320908710360527, 0.04648558795452118, 0.0013397078728303313, -0.014624439179897308, -0.024032888934016228, -0.011618036776781082, -0.03486952558159828, 0.015043428167700768, 0.03230695053935051, -0.01186941284686327, 0.06602088361978531, -0.04604768007993698, -0.03204081580042839, -0.03393036127090454, -0.03249148279428482, 0.02623068168759346, 0.046513091772794724, 0.0465574748814106, -0.033711742609739304, 0.03483442962169647, -0.0002367942506680265, -0.018313579261302948, -0.034309692680835724, -0.05190221965312958, -0.048798199743032455, -0.027466708794236183, 0.009026884101331234, 0.040154829621315, 0.0038970541208982468, 0.04757148027420044, -0.00851340964436531, 0.004774474538862705, -0.006594698876142502, -0.019775595515966415, 0.023921959102153778, -0.016580138355493546, -0.026515956968069077, -0.03895142301917076, -0.01493672002106905, 0.03627437353134155, -0.03401901200413704, -0.048733409494161606, 0.0008871321915648878, -0.045396141707897186, 0.06127343326807022, -0.06600786000490189, -0.03506758064031601, 0.01844875141978264, 0.020535172894597054, 0.052476122975349426, -0.03638872131705284, 0.008395060896873474, 0.0554526150226593, 0.004067810717970133, 0.014105938374996185, 0.02169492281973362, 0.012527438811957836, -0.012787386775016785, 0.0381474494934082, 0.006119668949395418, 0.038014695048332214, 0.027286164462566376, -0.02658802457153797, -0.02015242911875248, -0.007530472707003355, -0.018044808879494667, -0.26289528608322144, 0.028571102768182755, -0.044541556388139725, -0.03192008286714554, 0.014955456368625164, -0.036736924201250076, -0.015567144379019737, -0.03781036660075188, 0.029550299048423767, 0.029835525900125504, -0.028492925688624382, -0.052370600402355194, -0.025779401883482933, 0.08375771343708038, -0.015611247159540653, 0.02661999501287937, -0.007928072474896908, -0.026496436446905136, -0.012459171935915947, 0.05138566344976425, 0.0018756578210741282, -0.07935205847024918, -0.001879452378489077, 0.0574176087975502, 0.012099898420274258, 0.06841813027858734, -0.11232837289571762, 0.0254152063280344, -0.06204934045672417, -0.01984819769859314, -0.03977499157190323, -0.027265671640634537, -0.015392988920211792, -0.03615812957286835, 0.0034696897491812706, -0.0024751119781285524, 0.013418014161288738, 0.001019091927446425, 0.003077358240261674, 0.0374467559158802, -0.03195011988282204, -0.0257105715572834, -0.0008989289053715765, 0.006732949987053871, 0.06303252279758453, -0.019829614087939262, -0.06249334663152695, -0.015257841907441616, -0.019121402874588966, 0.06583599746227264, -0.039645954966545105, -0.017957473173737526, -0.03713615983724594, 0.04167258366942406, 0.005406305659562349, -0.04033258929848671, -0.010421693325042725, -0.02334652468562126, 0.006926869507879019, 0.0049424562603235245, -0.029755115509033203, -0.05920416861772537, -0.002362564904615283, -0.034271419048309326, -0.03781704604625702, -0.06518822908401489, -0.06393708288669586, -0.013704249635338783, 0.05743268132209778, 0.013033163733780384, -0.026100553572177887, -0.008606969378888607, -0.017649322748184204, -0.10803420096635818, -0.060533519834280014, -0.05238265544176102, 0.002756398404017091, 0.013879590667784214, 0.0001855805894592777, 0.034614961594343185, -0.041408125311136246, -0.0766833946108818, 0.017864663153886795, 0.010467858985066414, 0.03665175661444664, -0.004430529661476612, -0.005011817906051874, -0.02611178532242775, -0.004185338970273733, -0.015414879657328129, 0.08278699964284897, -0.014189363457262516, -0.015065018087625504, -0.045731063932180405, 0.030137820169329643, 0.028848906978964806, 0.011955365538597107, 0.01803619973361492, -0.005178231745958328, 0.038485873490571976, 0.01230469811707735, -0.06953006237745285, 0.03018323704600334, -0.02966153807938099, -0.021967437118291855, 0.009966682642698288, -0.05071736499667168, 0.04754588380455971, 0.044334471225738525, 0.010989636182785034, -0.04264708235859871, -0.03479945287108421, -0.013784999027848244, -0.015118193812668324, -0.04210097715258598, -0.03023672103881836, 0.0006885624025017023, 0.015871601179242134, -0.016671063378453255, -0.0042381384409964085, -0.08501768857240677, -0.02428092621266842, -0.010310339741408825, -0.013882660306990147, -0.06479807198047638, -0.05948719009757042, -0.017048807814717293, -0.02238667756319046, 0.0071700941771268845, 0.024066435173153877, -0.034877218306064606, 0.0500517338514328, 0.02345297485589981, -0.028829364106059074, 0.006952911615371704, -0.0035396048333495855, -0.02322651818394661, -0.044117532670497894, -0.006061010528355837, -0.018261315301060677, 0.02980883978307247, 0.0029878788627684116, 0.026276104152202606, 0.025344587862491608, 0.017915556207299232, -0.0072539979591965675, 0.05117274075746536, -0.03598073497414589, -0.0044969962909817696, 0.04851263761520386, 0.01702810451388359, -0.031537193804979324, 0.014920619316399097, -0.039893921464681625, -0.023000454530119896, -0.015475960448384285, 0.01904587633907795, -0.015045327134430408, -0.04911201819777489, -0.008277961052954197, 0.014569351449608803, -0.02284984663128853, -0.014643823727965355, 0.010273704305291176, -0.0006149474065750837, 0.05429768189787865, -0.02560529299080372, 0.0239991657435894, -0.011148576624691486, 0.0035513523034751415, -0.00031866662902757525, -0.001495902892202139, -0.037680961191654205, 0.017546186223626137, 0.013383476063609123, 0.006413659080862999, 0.01760823093354702, 0.007559520658105612, 0.023581409826874733, 0.010291864164173603, -0.010387578047811985, -0.047452159225940704, -0.037979189306497574, 0.01819853112101555, 0.038008563220500946, -0.0031674420461058617, 0.019614724442362785, -0.021606042981147766, -0.03674650192260742, -0.048279475420713425, -0.03010699711740017, -0.03217000141739845, -0.016880659386515617, 0.029371796175837517, -0.022497037425637245, -0.07675345242023468, 0.030472613871097565, 0.03762439638376236, 0.020837321877479553, -0.0005804025568068027, -0.001154728583060205, -0.0003216109180357307, -0.0019483279902487993, 0.010166654363274574, 0.04309111461043358, -0.04372284561395645, 0.004557909443974495, -0.0240891445428133, 0.014809458516538143, 0.036114323884248734, -0.005937298759818077, -0.05174797400832176, -0.012945106253027916, 0.01792478747665882, -0.00810704380273819, -0.03734172508120537, -0.03551594913005829, -0.0008489219471812248, 0.008238117210566998, -0.061079900711774826, -0.010380039922893047, -0.021640190854668617, 0.016189850866794586, -0.021855179220438004, -0.02921314537525177, 0.002461298368871212, -0.0032503630500286818, 0.010490418411791325, 0.04332592338323593, -0.022524971514940262, 0.03337424248456955, -0.03944730386137962, 0.05225132778286934, 0.006237139459699392, 0.011461875401437283, 0.003589700674638152, -0.04337206855416298, 0.035567741841077805, -0.042314667254686356, 0.03508797287940979, 0.009691966697573662, 0.006434367038309574, -0.02636791579425335, 0.014028322882950306, -0.03129785880446434, 0.0022396626882255077, -0.011184143833816051, -0.04632841423153877, 0.01655830256640911, 0.07804788649082184, -0.024196410551667213, 0.042876292020082474, 0.00953197106719017, 0.00708020618185401, 0.05523768067359924, -0.05463247373700142, 0.005108979996293783, -0.033065151423215866, -0.04664192721247673, 0.02777004800736904, 0.019937438890337944, 0.012820415198802948, -0.040490590035915375, 0.032604578882455826, 0.034400928765535355, 0.04510485380887985, 0.043973010033369064, -0.012061670422554016, 0.028968388214707375, -0.06122772395610809, 0.006170124281197786, -0.10043448954820633, -0.00718697952106595, 0.005828556604683399, -0.002373906085267663, -0.004477559123188257, -0.005309361964464188, -0.012436733581125736, 0.014342781156301498, -0.07757017761468887, -0.015626689419150352, 0.04691842198371887, 0.03270446136593819, 0.012510906904935837, 0.019635606557130814, -0.04198439419269562, 0.044655926525592804, 0.051731377840042114, -0.03398457542061806, 0.0009169229306280613, -0.05048112943768501, 0.046671755611896515, 0.029390603303909302, 0.03318096697330475, -0.030401965603232384, 0.01628708839416504, 0.06882879883050919, 0.014974243938922882, 0.039160892367362976, 0.029521189630031586, -0.00038521504029631615, 0.03628913313150406, 0.03483447805047035, -0.0011367880506440997, 0.002609644317999482, 0.052060335874557495, -0.030223874375224113, -0.04993783310055733, 0.02350887469947338, 0.022643649950623512, -0.029234925284981728, -0.04757397249341011, 0.049787815660238266, 0.033046819269657135, -0.01099279336631298, -0.034403689205646515, -0.0029859470669180155, -0.05835883319377899, -0.019459698349237442, -0.0217495858669281, -0.012241363525390625, -0.03926660493016243, 0.06973060965538025, 0.005545083899050951, 0.0160719845443964, 0.05621754378080368, -0.017807932570576668, -0.018008356913924217, -0.008670621551573277, 0.08139234036207199, 0.06274989992380142, 0.06315793842077255, -0.01910168118774891, 0.04116993024945259, -0.011155112646520138, -0.03192322328686714, 0.03467052802443504, -0.019656168296933174, 0.010284887626767159, -0.01360631175339222, 0.04295097291469574, 0.06539193540811539, -0.028362860903143883, 0.061480216681957245, -0.023028794676065445, 0.015508648939430714, -0.011979866772890091, -0.005787953734397888, 0.03856254369020462, 0.08608447760343552, -0.002270071068778634, 0.02948097512125969, -0.04308653995394707, -0.041774097830057144, 0.03628107160329819, 0.0017976945964619517, -0.023874418810009956, 0.00666055316105485, -0.006193202920258045, 0.008217214606702328, 0.03855157271027565, 0.02774738520383835, 0.0815618708729744, -0.0035181047860533, -0.005292145069688559, 0.0036214301362633705, 0.010274040512740612, 0.000434667308581993, -0.03161362558603287, -0.01722579076886177, -0.030166350305080414, -0.011915049515664577, -0.035192735493183136, 0.01346861757338047, -0.0001193916323245503, -0.03966052085161209, 0.024539325386285782, -0.014642976224422455, 0.006227823439985514, 0.04363983869552612, 0.001128707779571414, -0.04213530197739601, -0.05526077747344971, -0.055652402341365814, -0.03616643324494362, -0.06622761487960815, 0.016589419916272163, 0.006273589096963406, -0.003885194892063737, -0.02395464852452278, -0.03326428309082985, -0.006820135284215212, -0.02611505798995495, 0.05200470611453056, -0.03398222476243973, -0.04827412590384483, 0.025138061493635178, 0.011669876985251904, 0.025352826341986656, 0.031374409794807434, 0.03714478388428688, -0.011285652406513691, -0.008316130377352238, -0.009781000204384327, -0.009513470344245434, 0.028582021594047546, 0.04106023535132408, 0.01778026670217514, -0.07405447959899902, 0.001570145832374692, 0.028481267392635345, 0.01035979948937893, -0.07180634886026382, 0.010420592501759529, -0.006789826322346926, -0.02714528888463974, 0.04194272309541702, -0.0171514879912138, -0.0011038846569135785, -0.015294047072529793, -0.016682179644703865, 0.012218736112117767, 0.018160130828619003, 0.04560430720448494, -0.03211693838238716, 0.08424124121665955, -0.000708311446942389, -0.022357046604156494, -0.051736507564783096, 0.01648860238492489, -0.034657418727874756, -0.0012777718948200345, -0.024007374420762062, -0.04009658098220825, -0.05162699148058891, -0.03128071501851082, -0.02106333151459694, -0.007618375588208437, -0.015297400765120983, -0.024822136387228966, 0.03337275981903076, 0.0599835030734539, -0.0350530780851841, 0.07074618339538574, -0.030433475971221924, 0.03487628698348999, -0.036880090832710266, -0.01213055569678545, 0.012647846713662148, 0.01932869665324688, -0.0005679754540324211, 0.01972702145576477, 0.027682824060320854, -0.01195086631923914, -0.00022675607760902494, -0.014407237060368061, 0.033259402960538864, 0.010317757725715637, -0.02611611783504486, -0.011969703249633312 ]
[ -0.09779851883649826, -0.04563695564866066, -0.048504538834095, -0.02979511395096779, 0.028560936450958252, -0.03271308168768883, -0.016460057348012924, 0.03825794532895088, 0.05410580337047577, 0.0027146092616021633, 0.01741582527756691, -0.05632241815328598, 0.015135985799133778, -0.012712555006146431, 0.05359271913766861, -0.01960897073149681, -0.016573019325733185, -0.05525010824203491, -0.04279060661792755, 0.024050740525126457, 0.005541563965380192, -0.03452528640627861, -0.059170469641685486, -0.05270593985915184, 0.08243503421545029, 0.04028318077325821, 0.02668425254523754, -0.027568576857447624, 0.018007218837738037, -0.23971064388751984, 0.010452760383486748, -0.024917244911193848, 0.021749813109636307, -0.05053829774260521, -0.021267378702759743, 0.02074444852769375, 0.03601456433534622, 0.013227853924036026, -0.005037645343691111, 0.07109891623258591, 0.03642960265278816, 0.01662941835820675, -0.07235616445541382, -0.02985500730574131, 0.014615152031183243, 0.02333790995180607, -0.013757456094026566, -0.0384940505027771, 0.006682205479592085, 0.01636769250035286, -0.0738469585776329, -0.0066108545288443565, -0.0263155996799469, -0.01324116624891758, 0.000893199525307864, 0.019450819119811058, 0.04732370004057884, 0.07624129205942154, 0.009249068796634674, 0.035947348922491074, 0.015301111154258251, -0.025845110416412354, -0.12469414621591568, 0.05913080647587776, 0.025161229074001312, 0.07849828898906708, -0.006704874336719513, -0.06250763684511185, -0.05248614773154259, 0.09083465486764908, 0.014429381117224693, -0.030763480812311172, -0.008977456018328667, 0.07484003901481628, 0.02542494609951973, -0.027638304978609085, -0.004114515148103237, 0.02588442526757717, 0.03884359076619148, -0.009121060371398926, -0.03284241259098053, 0.0017250522505491972, -0.030692432075738907, -0.018050681799650192, 0.004562603309750557, -0.002108569722622633, -0.010564872995018959, 0.04525108262896538, 0.06961455196142197, -0.00274922838434577, 0.050518374890089035, -0.023086896166205406, 0.03494943305850029, 0.03249342367053032, -0.0679439902305603, 0.010105986148118973, 0.015709958970546722, -0.006221618037670851, -0.021718118339776993, 0.40917056798934937, -0.0022753633093088865, 0.0008209070074371994, -0.0009515613201074302, 0.030171245336532593, 0.00040255431667901576, 0.0029345755465328693, -0.022740473970770836, -0.03894874453544617, 0.017017904669046402, -0.07795441150665283, -0.022615935653448105, -0.025616096332669258, 0.09087350219488144, -0.06757321953773499, -0.017390001565217972, 0.02569405920803547, 0.04186376556754112, -0.013938501477241516, 0.012145355343818665, 0.01631578803062439, -0.026688504964113235, -0.009074317291378975, 0.028331629931926727, -0.025566646829247475, 0.0014438665239140391, 0.037047259509563446, 0.008333515375852585, 0.0646137222647667, 0.004788530990481377, 0.01516876183450222, 0.059939317405223846, -0.05294223874807358, -0.0827193558216095, -0.020142698660492897, -0.0012604407966136932, 0.048344746232032776, 0.016145821660757065, -0.01988956704735756, 0.051259446889162064, 0.0029221295844763517, -0.014036531560122967, -0.05032236874103546, 0.03522084280848503, -0.00504275830462575, -0.022342542186379433, 0.11850624531507492, -0.0140926418825984, -0.06044707074761391, -0.007644179742783308, -0.040083106607198715, -0.009268774650990963, 0.01622311770915985, -0.0012011068174615502, -0.0713082104921341, 0.019841795787215233, 0.019000506028532982, 0.0732940137386322, -0.006148091051727533, -0.04437706246972084, -0.03606949374079704, -0.04731489717960358, -0.012624687515199184, -0.05586855858564377, 0.04920358583331108, 0.02886391058564186, -0.08859255909919739, 0.0046420288272202015, -0.003823929699137807, -0.014246649108827114, -0.04348333925008774, 0.02747165597975254, 0.01622292399406433, -0.058680105954408646, 0.007832231931388378, 0.08560468256473541, -0.011247433722019196, -0.008219487965106964, -0.003965869080275297, 0.03028431534767151, 0.0564858615398407, -0.004503878764808178, 0.005994267296046019, -0.0646606907248497, 0.001042561256326735, -0.008971885778009892, -0.0426865816116333, -0.04118812829256058, -0.01090907771140337, -0.027334898710250854, 0.022985393181443214, -0.02145802229642868, -0.00931122899055481, -0.05456326901912689, 0.05861184000968933, -0.05706239864230156, -0.03324034437537193, 0.03781092166900635, 0.037956397980451584, -0.022299280390143394, 0.01737121492624283, -0.00926969200372696, 0.046400200575590134, 0.005407700315117836, 0.01328752376139164, -0.056087058037519455, 0.03015717677772045, 0.038164544850587845, -0.08390463143587112, 0.09174901992082596, 0.0443691611289978, -0.0037971618585288525, -0.04162540286779404, -0.027768664062023163, 0.0022223845589905977, -0.006985302083194256, -0.027431800961494446, -0.01040260586887598, 0.004510580562055111, 0.0015271350275725126, 0.020736726000905037, 0.01596509851515293, -0.05644696205854416, -0.020151859149336815, -0.35630449652671814, -0.0284468624740839, -0.004171260632574558, -0.06332756578922272, 0.03325008228421211, -0.07626248151063919, 0.014456221833825111, -0.0016801514429971576, -0.0500490628182888, 0.007371716201305389, 0.06533318012952805, -0.01775074191391468, -0.042781367897987366, -0.10565324872732162, -0.003582910867407918, 0.005390581674873829, -0.05374691262841225, -0.04780108109116554, -0.03085053712129593, 0.016354301944375038, 0.0017325680237263441, -0.020967019721865654, -0.026176776736974716, -0.051401905715465546, 0.010753882117569447, -0.041767366230487823, 0.11476675420999527, -0.035514652729034424, 0.07958396524190903, -0.042827852070331573, 0.02760845609009266, -0.002309309784322977, -0.003973664250224829, 0.0067763738334178925, 0.022409239783883095, -0.029474835842847824, -0.02604532614350319, 0.022018874064087868, 0.04157242923974991, -0.015530632808804512, -0.032617177814245224, 0.03301699832081795, -0.05302867665886879, -0.033137936145067215, -0.03577858582139015, 0.0071662613190710545, 0.021057315170764923, -0.04224209487438202, -0.0036263226065784693, 0.10016509145498276, 0.02400371804833412, 0.019589535892009735, 0.004643671214580536, 0.003314766101539135, 0.04824160784482956, -0.03568835183978081, -0.0424216203391552, -0.0010718210833147168, 0.008538570255041122, -0.009934134781360626, 0.026330143213272095, 0.03482228145003319, 0.05018610879778862, -0.0327746756374836, -0.008339658379554749, -0.033209167420864105, 0.004181170370429754, 0.00964577030390501, 0.033035747706890106, -0.013874572701752186, -0.007979940623044968, 0.06411615759134293, -0.009315278381109238, 0.002830404555425048, 0.04161575809121132, 0.06952289491891861, 0.010605651885271072, 0.061970461159944534, 0.04156278446316719, 0.028601225465536118, -0.0025047066155821085, -0.04149312898516655, 0.04352126270532608, -0.029014913365244865, -0.016912080347537994, 0.018203947693109512, -0.01921742595732212, 0.01852436363697052, 0.02884804457426071, 0.005470480769872665, -0.027275579050183296, -0.008170073851943016, 0.016890179365873337, -0.026253875344991684, 0.03403686732053757, -0.0069821965880692005, -0.2351396530866623, 0.011197665706276894, 0.020001022145152092, 0.025550520047545433, -0.013712427578866482, 0.048434820026159286, 0.025279833003878593, -0.04222895950078964, -0.01149019505828619, -0.017027998343110085, -0.002267636125907302, 0.030233625322580338, 0.04956892877817154, 0.0011701687471941113, 0.024458525702357292, -0.02942558191716671, 0.02745147980749607, -0.008145307190716267, 0.018087591975927353, 0.026487093418836594, 0.024730375036597252, 0.0072684274055063725, 0.18475307524204254, -0.02188640646636486, 0.030461065471172333, 0.03181171044707298, 0.004083735402673483, 0.02502298541367054, 0.09702476114034653, 0.015258011408150196, 0.018951840698719025, 0.023731082677841187, 0.08994409441947937, -0.0049691214226186275, 0.01708086207509041, -0.025924256071448326, -0.04061422124505043, 0.020000528544187546, 0.0480528324842453, -0.010322907008230686, 0.03272198140621185, -0.0072647808119654655, -0.05001220107078552, 0.034793149679899216, 0.09340633451938629, 0.0025312229990959167, -0.011924227699637413, -0.039608899503946304, -0.047581881284713745, -0.01155858300626278, -0.017384102568030357, -0.002979011507704854, 0.02267734333872795, -0.02775055728852749, 0.04333968088030815, 0.03810109943151474, 0.022868189960718155, -0.009715992957353592, -0.023938864469528198, -0.016252567991614342, 0.0051977490074932575, -0.020880991593003273, 0.10396040230989456, 0.024961570277810097, 0.02805859036743641 ]
[ -0.006383361294865608, 0.027100874111056328, -0.007926205173134804, -0.013976040296256542, -0.040397971868515015, 0.017902391031384468, 0.009513196535408497, 0.03622791916131973, -0.02765161357820034, -0.01089802011847496, -0.02072291448712349, 0.016959059983491898, 0.008174476213753223, -0.021902529522776604, -0.0034060212783515453, -0.036033932119607925, 0.014219456352293491, 0.026234079152345657, -0.0008920552209019661, -0.053107161074876785, -0.03401466831564903, 0.06721127033233643, -0.019298236817121506, 0.0249384306371212, 0.004813455976545811, -0.004753167741000652, -0.007485678419470787, -0.01216636411845684, 0.026341622695326805, -0.1574629843235016, -0.005927945487201214, -0.029867468401789665, 0.013641942292451859, 0.001744704321026802, -0.03770166262984276, -0.016793612390756607, 0.012435690499842167, 0.003551069414243102, 0.001011335989460349, 0.0002815846528392285, -0.013180573470890522, -0.005409363191574812, -0.00363922119140625, 0.016668012365698814, 0.010562312789261341, 0.008386139757931232, -0.0340266078710556, -0.03658818453550339, 0.00018524719052948058, 0.004676142707467079, -0.055940236896276474, 0.03208865970373154, 0.011163909919559956, 0.027011146768927574, 0.009681488387286663, -0.016438860446214676, -0.0021316579077392817, -0.05187763273715973, -0.0006498064612969756, -0.02214968018233776, -0.013751332648098469, -0.006545976269990206, 0.011396956630051136, -0.022308314219117165, -0.0016180910170078278, -0.03581826388835907, 0.003224847372621298, -0.0018521227175369859, -0.01512050349265337, 0.007854786701500416, 0.022209348157048225, 0.01444117072969675, -0.04750114306807518, -0.02189360186457634, 0.008212639018893242, -0.009040383622050285, 0.022936943918466568, -0.019991662353277206, 0.004775791894644499, -0.014568078331649303, -0.02593512274324894, -0.00011681178875733167, -0.009501935914158821, -0.01985422521829605, -0.02124950848519802, -0.05773410573601723, 0.009029877372086048, 0.03599030151963234, 0.04122977703809738, 0.003420761087909341, -0.01248391903936863, 0.03091385029256344, -0.0008319728658534586, 0.009659607894718647, -0.06118585541844368, 0.02354217693209648, -0.018571434542536736, 0.0017226627096533775, -0.0078740818426013, 0.8459343314170837, 0.010112606920301914, 0.03327225521206856, 0.026764169335365295, 0.03593292087316513, -0.002673274138942361, -0.025080086663365364, -0.016621114686131477, -0.017159003764390945, 0.013580892235040665, -0.08142587542533875, 0.025616558268666267, 0.008041426539421082, 0.05760302022099495, -0.007171257399022579, 0.038855064660310745, 0.030438486486673355, 0.04011823236942291, 0.02056233584880829, -0.0040297494269907475, 0.015611524693667889, 0.02444513700902462, 0.0397222563624382, -0.0008041973342187703, 0.005637367721647024, 0.02215082012116909, -0.12972237169742584, -0.03925621137022972, -6.980842914355054e-33, 0.028371034190058708, -0.029175948351621628, 0.006514538545161486, -0.02734927088022232, 0.0019216738874092698, 0.013566496782004833, 0.013591825030744076, -0.00941277015954256, -0.018174389377236366, -0.03706129640340805, 0.024917175993323326, 0.012815190479159355, -0.021076278761029243, -0.031427159905433655, 0.02073613740503788, 0.018454603850841522, 0.003925974015146494, 0.03440725803375244, -0.013822314329445362, -0.041998784989118576, 0.025151502341032028, 0.00665487302467227, 0.004258035682141781, -0.0025261854752898216, 0.00006892505189171061, 0.016217274591326714, 0.033728040754795074, -0.012171417474746704, -0.017346104606986046, -0.05215706303715706, -0.041618213057518005, -0.005982339847832918, -0.00018770949100144207, -0.02021678350865841, 0.023529257625341415, -0.042891647666692734, 0.006854904815554619, 0.011499275453388691, 0.019918084144592285, -0.019893188029527664, -0.016854029148817062, 0.008758245036005974, -0.0030313245952129364, 0.024233253672719002, -0.01734781451523304, 0.00431749178096652, 0.010018886998295784, 0.08033023029565811, 0.035273678600788116, 0.01809622347354889, 0.025686556473374367, -0.023952621966600418, -0.023104533553123474, -0.0010692155919969082, -0.014819666743278503, 0.01682889088988304, -0.02175375632941723, -0.008526807650923729, 0.010716728866100311, 0.03863311558961868, -0.0022114550229161978, 0.019795192405581474, 0.019729508087038994, 0.03270851820707321, -0.020240724086761475, -0.020873678848147392, 0.012299186550080776, 0.0342947356402874, 0.027942407876253128, 0.03419166058301926, -0.03315569832921028, 0.02618222124874592, 0.009288421832025051, -0.014925912022590637, 0.03762238100171089, -0.05582115426659584, 0.021908579394221306, -0.03973168507218361, 0.006850913166999817, 0.00895272009074688, 0.01451273262500763, -0.0007811498362571001, -0.016885897144675255, 0.0310825165361166, -0.026986971497535706, -0.020082972943782806, 0.028629330918192863, 0.008494554087519646, -0.005782696418464184, -0.043412670493125916, 0.012098507024347782, 0.008623291738331318, 0.004673320334404707, -0.004097172990441322, 0.005439050495624542, 7.018947298420928e-33, 0.006745253689587116, -0.015212584286928177, 0.003350384533405304, 0.0036462508141994476, 0.0033025802113115788, -0.03661005571484566, 0.05611535906791687, 0.004921260755509138, -0.02802649699151516, 0.01481046061962843, -0.0253804512321949, -0.0075682722963392735, -0.004595764447003603, -0.004246710799634457, 0.03698786348104477, -0.030768560245633125, 0.029434552416205406, -0.005637561436742544, 0.05014147236943245, -0.021131951361894608, 0.0036068118643015623, 0.020320750772953033, 0.013458061963319778, 0.025885190814733505, 0.004125605337321758, 0.005948058795183897, -0.011940231546759605, -0.027383048087358475, -0.028323525562882423, -0.027307190001010895, 0.05142262950539589, -0.016890529543161392, 0.004568969365209341, -0.009939393028616905, -0.04343518614768982, 0.0034348424524068832, 0.040991175919771194, -0.030311567708849907, 0.002782585332170129, 0.016091566532850266, 0.027203775942325592, -0.004160045180469751, 0.011050091125071049, -0.008817083202302456, 0.0059712729416787624, 0.02359418198466301, 0.008258555084466934, -0.015226094052195549, 0.025132400915026665, -0.010205423459410667, 0.0050514149479568005, 0.007546888664364815, -0.009991627186536789, 0.06552210450172424, -0.030830400064587593, -0.0004343139298725873, -0.04172058776021004, 0.026719460263848305, 0.009030218236148357, 0.026745572686195374, -0.004564501345157623, 0.006909134332090616, -0.03310737386345863, 0.0005678231245838106, -0.013554899021983147, -0.008731209672987461, -0.030205251649022102, -0.015963584184646606, -0.016545381397008896, -0.029949046671390533, -0.032084397971630096, 0.002723479410633445, 0.03330902382731438, 0.024386705830693245, -0.00888765323907137, -0.012466727755963802, -0.03270258381962776, 0.010975530371069908, 0.026056045666337013, 0.03183131664991379, 0.02247602492570877, -0.028249619528651237, 0.016227759420871735, 0.0069399746134877205, -0.012135878205299377, -0.005375053267925978, 0.0003971122787334025, 0.0106670456007123, 0.04386701062321663, -0.03365461155772209, -0.03874082490801811, -0.029086144641041756, 0.016182247549295425, 0.007183689624071121, -0.01783505268394947, -1.2857954700962182e-8, -0.014011254534125328, -0.006156575866043568, -0.030106738209724426, 0.049368176609277725, 0.04281535744667053, 0.014337839558720589, -0.01856171526014805, -0.0036798615474253893, -0.000045824457629350945, 0.029507668688893318, 0.017275502905249596, -0.033092401921749115, -0.009026271291077137, 0.015483046881854534, -0.01160384900867939, -0.03564762696623802, 0.026125306263566017, -0.0369785912334919, 0.04559322074055672, -0.014757353812456131, 0.0017711295513436198, 0.04019491374492645, 0.0035706094931811094, 0.004671650938689709, 0.0014716250589117408, -0.020610453560948372, 0.042595263570547104, -0.06667110323905945, 0.014063587412238121, -0.012317655608057976, 0.0025162885431200266, -0.03020283207297325, -0.011183847673237324, 0.007944105193018913, -0.025332577526569366, -0.026481885462999344, 0.007386353798210621, 0.059570591896772385, 0.00794385839253664, -0.0006659331847913563, -0.05739063024520874, -0.02628716081380844, -0.032982856035232544, -0.04385131597518921, -0.015089324675500393, -0.017387351021170616, -0.02259836532175541, 0.011842737905681133, 0.03652510419487953, -0.014728425070643425, 0.03820608928799629, -0.011488326825201511, 0.07205675542354584, 0.006904088892042637, 0.01716461591422558, -0.0023190646898001432, 0.008767654187977314, 0.0018610592233017087, -0.06748591363430023, -0.010070787742733955, 0.0561380609869957, -0.019937075674533844, -0.009357309900224209, 0.006577249616384506 ]
coding-copypaste-then-refactor
https://markhneedham.com/blog/2009/10/31/coding-copypaste-then-refactor
false
2009-10-31 03:00:40
Coding: Invariant checking on dependency injected components
[ "coding" ]
[ "Coding" ]
I've written a couple of times previously about http://www.markhneedham.com/blog/2009/10/29/coding-consistency-when-invariant-checking/[invariant checking] http://www.markhneedham.com/blog/2009/02/14/coding-assertions-in-constructors/[in constructors] and I had an interesting discussion with some colleagues recently around doing this type of defensive programming when the object in question has its dependencies injected by a container. Quite often we would see code similar to this in a controller: [source,java] ---- public class SomeController { public SomeController(Dependency1 valueOne, Dependency2 valueTwo) { AssertThat.isNotNull(valueOne); AssertThat.isNotNull(valueTwo); // and so on } } ---- Where 'SomeController' would have 'Dependency1' and 'Dependency2' set up in a Spring configuration file in this example. I can't really see much benefit in this type of pre condition checking although http://twitter.com/raphscallion[Raph] pointed out that if we got the configuration for this bean wrong then having these assertions would allow us to get quicker feedback. While that is true it seems to me that we would maybe achieve quicker feedback by a few seconds in return for the clutter that we end up creating in our code. We have to read those assertions every time we come to this class. I would prefer to have some http://www.markhneedham.com/blog/2009/09/18/tdd-testing-with-generic-abstract-classes/[specific tests for the dependency injection container] if we're interested in getting quick feedback in that area. That seems to be a cleaner solution than having these types of checks in production code or am I missing something?
null
null
[ 0.003987081814557314, -0.009329592809081078, -0.02509533055126667, 0.042079050093889236, 0.06318573653697968, -0.009688414633274078, 0.051608648151159286, 0.033829547464847565, -0.016706546768546104, -0.012100482359528542, -0.017188791185617447, -0.020751506090164185, -0.07116513699293137, -0.011111972853541374, -0.0380256250500679, 0.049971722066402435, 0.08721601217985153, -0.009633088484406471, 0.04807986691594124, 0.017559116706252098, 0.010373874567449093, 0.008534172549843788, 0.005377993918955326, 0.014767464250326157, 0.05189816281199455, 0.026137076318264008, 0.014906677417457104, 0.019744865596294403, -0.06730847805738449, -0.019523758441209793, 0.04380984976887703, 0.015247702598571777, -0.010785439051687717, -0.0018776525976136327, 0.0022947867400944233, 0.003036635462194681, 0.006333780940622091, 0.024608062580227852, -0.002469330793246627, 0.010314078070223331, -0.08116769045591354, -0.00609263451769948, 0.002270217752084136, -0.005061557050794363, -0.04683271422982216, 0.002394339768216014, -0.04237709566950798, -0.0033047464676201344, -0.010322358459234238, -0.008639156818389893, -0.08000541478395462, 0.05255630239844322, -0.02185867168009281, 0.014591127634048462, -0.018714478239417076, 0.050313107669353485, 0.008194105699658394, -0.10039223730564117, 0.03849738463759422, -0.06413920968770981, -0.0015585559885948896, 0.007370409090071917, -0.0058609722182154655, 0.02418970689177513, 0.004018923733383417, -0.008560563437640667, -0.026477335020899773, 0.027085045352578163, -0.03518622741103172, -0.010043955408036709, -0.005011931527405977, 0.007628384977579117, -0.025217192247509956, -0.014080620370805264, 0.024637799710035324, -0.03774989768862724, -0.029974928125739098, 0.01039467565715313, -0.003323974320665002, 0.05519933998584747, -0.013029241003096104, -0.029133616015315056, 0.046820707619190216, 0.013342476449906826, 0.033781748265028, -0.02493724413216114, 0.005864965729415417, -0.011945467442274094, -0.02915286086499691, 0.05450986698269844, 0.018863338977098465, -0.01666177064180374, 0.01525108516216278, 0.03176052123308182, 0.00004805261778528802, -0.008102274499833584, 0.03426506370306015, 0.018673447892069817, 0.003154887119308114, -0.0010880655609071255, -0.01787789911031723, -0.017530152574181557, 0.02259194850921631, 0.00715701375156641, -0.07217249274253845, -0.007125859148800373, -0.036028217524290085, -0.04292391613125801, -0.006682150065898895, 0.03184052184224129, -0.026721125468611717, 0.036558862775564194, -0.02149350568652153, -0.0061060162261128426, -0.08055371046066284, 0.054115306586027145, 0.005577700678259134, -0.0043859705328941345, -0.002103202510625124, 0.04929252341389656, 0.02111065201461315, 0.01632855087518692, 0.01600225642323494, 0.06457827985286713, 0.00940300989896059, 0.05987847223877907, -0.05560547113418579, 0.05184238404035568, -0.012918293476104736, -0.05977023020386696, -0.003803938627243042, 0.042232610285282135, 0.017765913158655167, 0.03575468063354492, -0.0036282145883888006, -0.007541358936578035, -0.010751246474683285, -0.0070452443324029446, 0.04335660859942436, 0.04856617748737335, -0.059153780341148376, -0.04446621984243393, 0.02801446244120598, -0.006615279242396355, 0.013009786605834961, 0.004724648781120777, -0.006944599095731974, -0.03354388102889061, -0.011138970963656902, 0.025946442037820816, 0.010022026486694813, 0.03964785486459732, 0.03482823818922043, -0.030518747866153717, 0.011272067204117775, 0.07890615612268448, 0.02275252342224121, 0.028547246009111404, -0.007840470410883427, 0.028692450374364853, 0.026311229914426804, 0.018093042075634003, -0.02715269848704338, 0.030448829755187035, 0.025221360847353935, 0.00006879404099890962, -0.016064776107668877, 0.024367909878492355, -0.005048017017543316, -0.027335811406373978, -0.054312124848365784, -0.06451155990362167, 0.05342254042625427, -0.048595283180475235, 0.00885936338454485, 0.021680988371372223, 0.05515899881720543, 0.002366992412135005, 0.0625370591878891, 0.029620910063385963, -0.06772308051586151, 0.0387381911277771, 0.02627844549715519, 0.017525995150208473, 0.02542470581829548, -0.026359178125858307, 0.07088949531316757, 0.015194420702755451, -0.03340558335185051, 0.02546383999288082, -0.07059143483638763, -0.058249637484550476, 0.009049945510923862, -0.016686012968420982, 0.05862904712557793, -0.05395519733428955, -0.011006020940840244, 0.07921776920557022, 0.03415578976273537, 0.028155867010354996, 0.03512938320636749, -0.005115324165672064, 0.0015697942581027746, -0.03003602847456932, -0.03696133941411972, 0.05333223566412926, 0.049411527812480927, -0.0012175157899037004, -0.061941344290971756, -0.012925638817250729, -0.029787300154566765, -0.016228221356868744, 0.013232639990746975, 0.004607680719345808, 0.037391435354948044, 0.014692108146846294, 0.035749126225709915, -0.033260051161050797, 0.09236375987529755, -0.07901456952095032, 0.012261520139873028, -0.019449105486273766, -0.023517262190580368, -0.003300303593277931, -0.023723911494016647, 0.09469415247440338, 0.04718929901719093, -0.03335258737206459, -0.02943381667137146, 0.03245871141552925, 0.011146435514092445, -0.03600483760237694, 0.00013488084368873388, -0.006975563243031502, 0.012335902079939842, 0.012488532811403275, -0.026876090094447136, 0.00422148359939456, 0.028496965765953064, -0.010031577199697495, 0.022234205156564713, 0.09167475998401642, -0.052627358585596085, 0.032462939620018005, -0.021977251395583153, -0.040480371564626694, -0.0012568444944918156, 0.00011082314449595287, -0.07688109576702118, 0.0034388815984129906, 0.0005347674014046788, -0.009699678048491478, 0.06370961666107178, -0.048948097974061966, -0.03162042796611786, -0.03760773688554764, -0.04870375618338585, 0.00648034643381834, 0.011740302667021751, 0.08687756210565567, -0.006384597159922123, 0.07250441610813141, 0.007205690257251263, 0.026233036071062088, -0.011634830385446548, -0.046348586678504944, -0.022740861400961876, 0.025810599327087402, -0.011189944110810757, 0.04424571618437767, 0.00500510772690177, 0.020518265664577484, 0.049552369862794876, 0.012436720542609692, -0.007818018086254597, -0.002358414698392153, 0.010655059479176998, 0.01609116978943348, 0.0009027140913531184, -0.011113954707980156, -0.0627584382891655, 0.024889929220080376, -0.010005289688706398, -0.02082008495926857, 0.030383124947547913, -0.08328317850828171, 0.051417604088783264, -0.061896912753582, -0.0730893686413765, 0.013101340271532536, 0.02971752919256687, 0.010534439235925674, -0.02780313976109028, 0.02864505536854267, 0.07581798732280731, 0.03488263487815857, 0.006445341277867556, 0.01821010746061802, 0.009444504976272583, 0.033151883631944656, -0.012565091252326965, -0.0021971515379846096, 0.05036831274628639, 0.023183442652225494, 0.003264724276959896, -0.02823203057050705, 0.020174944773316383, -0.012813800014555454, -0.2833874225616455, 0.034484896808862686, -0.009800933301448822, -0.07154511660337448, 0.020045699551701546, -0.006423263344913721, 0.02072911523282528, -0.04990754649043083, -0.03775032237172127, 0.07577552646398544, -0.033694058656692505, -0.03811249881982803, -0.010132301598787308, 0.04801497980952263, -0.02210315689444542, -0.00014703592751175165, 0.026367953047156334, -0.024277498945593834, 0.0163023229688406, 0.03476834297180176, -0.02263030968606472, -0.07082293182611465, 0.0003046204801648855, 0.05051254481077194, 0.024924173951148987, 0.051518749445676804, -0.09445438534021378, 0.05436442419886589, -0.034276366233825684, 0.016769276931881905, 0.019706089049577713, 0.003084613475948572, -0.022529110312461853, -0.047323472797870636, -0.020184386521577835, 0.0038594745565205812, -0.014180545695126057, 0.015649285167455673, 0.00734529085457325, 0.03330612555146217, -0.018938926979899406, -0.05853000655770302, -0.015757905319333076, 0.019009258598089218, 0.044535230845212936, -0.009340861812233925, -0.04920658469200134, -0.005376393441110849, -0.032455768436193466, 0.09173180907964706, -0.04131712019443512, -0.04778758063912392, 0.007753259036689997, 0.01505222823470831, -0.020832564681768417, -0.024908019229769707, 0.0070584057830274105, -0.03058839589357376, -0.024301761761307716, -0.03480095788836479, -0.041991278529167175, -0.03111395053565502, -0.028411010280251503, -0.03863999992609024, -0.017756536602973938, -0.06714692711830139, -0.043456289917230606, 0.012188510037958622, 0.06869581341743469, 0.020174676552414894, -0.022911010310053825, 0.01608213409781456, -0.02040906250476837, -0.12218114733695984, 0.00768972048535943, -0.026493877172470093, -0.042484182864427567, -0.024263955652713776, -0.0026663222815841436, 0.05392754077911377, -0.03660687804222107, -0.026620185002684593, 0.041425175964832306, 0.01027609221637249, 0.021527277305722237, -0.01353276427835226, 0.027504781261086464, 0.002937854500487447, 0.006072362884879112, 0.01852276921272278, 0.06555447727441788, -0.02994517609477043, -0.009174270555377007, -0.051544785499572754, 0.016151905059814453, 0.048739269375801086, 0.03377553075551987, -0.036694809794425964, 0.006876351777464151, 0.0012391454074531794, 0.015126189216971397, -0.04359046369791031, 0.032684121280908585, -0.009530266746878624, -0.004118372220546007, -0.03203687071800232, -0.04560449719429016, 0.051991548389196396, 0.021578563377261162, 0.03298540413379669, -0.03873903304338455, -0.046981241554021835, -0.00284001836553216, -0.04498603194952011, -0.05343702808022499, -0.03246185928583145, -0.01590624451637268, 0.017919857054948807, -0.01844276301562786, -0.011390840634703636, -0.049200594425201416, 0.009369121864438057, 0.00429684529080987, 0.006019053049385548, -0.04875042662024498, -0.03125650808215141, -0.00020220043370500207, -0.036424241960048676, 0.017301198095083237, 0.01749393343925476, -0.004605632741004229, 0.05537235364317894, 0.02410482056438923, -0.02849140390753746, -0.012084348127245903, -0.02668549306690693, -0.017762331292033195, -0.009889291599392891, -0.021885912865400314, -0.015490727499127388, -0.012380559928715229, -0.0038127386942505836, -0.0029824902303516865, 0.015927044674754143, 0.04906970262527466, 0.009231045842170715, 0.034676503390073776, 0.005818228702992201, -0.003885150421410799, 0.003630314953625202, 0.0625903382897377, -0.07142312824726105, 0.032913826406002045, -0.04092146456241608, -0.038016173988580704, -0.02179190330207348, 0.03858496621251106, 0.005251576658338308, -0.022214524447917938, -0.04055255278944969, 0.015839258208870888, -0.04834148660302162, -0.030420517548918724, -0.027383847162127495, 0.029088063165545464, 0.0688723772764206, -0.029990341514348984, 0.05076834559440613, -0.02052214741706848, -0.04483065381646156, -0.04918624833226204, -0.029643159359693527, -0.044165994971990585, 0.026729928329586983, -0.013293922878801823, -0.005769338458776474, 0.007264228072017431, -0.0056528691202402115, 0.03385351225733757, 0.021182041615247726, -0.01425511110574007, -0.01433787401765585, 0.01973276026546955, 0.030909178778529167, 0.027656221762299538, -0.024048492312431335, 0.018724726513028145, -0.023081080988049507, -0.009702078998088837, 0.004635137971490622, -0.022849779576063156, -0.025468574836850166, 0.0072955721989274025, 0.05497349426150322, -0.027688585221767426, -0.0765974372625351, 0.013508573174476624, 0.030486971139907837, 0.022112052887678146, 0.01301733311265707, -0.01323973760008812, 0.014637469314038754, -0.036594562232494354, 0.03144906833767891, 0.08359941840171814, -0.04357835650444031, 0.028338037431240082, 0.0005213792901486158, 0.0034320056438446045, 0.01407545804977417, 0.0016319092828780413, -0.0830979272723198, -0.016356289386749268, -0.0055312239564955235, -0.01733565703034401, -0.06015368923544884, -0.030877722427248955, -0.01883183978497982, 0.019673101603984833, -0.0056065404787659645, -0.022794488817453384, 0.014617756009101868, -0.011937313713133335, -0.00983944721519947, -0.027214068919420242, -0.0012479651486501098, -0.004064149688929319, 0.021862152963876724, 0.022765474393963814, -0.03930480778217316, 0.018731141462922096, -0.009482028894126415, 0.04211953654885292, 0.03232761099934578, -0.027228504419326782, -0.024645358324050903, -0.019281713292002678, 0.014977429062128067, -0.0017619888531044126, 0.015963515266776085, 0.028453079983592033, -0.006332200486212969, -0.016915414482355118, 0.0052591850981116295, -0.015458539128303528, 0.023761313408613205, 0.004631947260349989, -0.005219327751547098, 0.026847276836633682, 0.07783008366823196, 0.02667020447552204, 0.05386488512158394, -0.015422814525663853, 0.01419041957706213, 0.06496194750070572, -0.06996636092662811, -0.021617691963911057, -0.008297443389892578, -0.0550999790430069, 0.021640336140990257, 0.015049529261887074, 0.029585273936390877, -0.037058595567941666, 0.025616157799959183, 0.005585912615060806, 0.020647654309868813, 0.03495819494128227, 0.0025608406867831945, 0.06387773156166077, -0.0684434026479721, -0.014559904113411903, -0.079145148396492, 0.021547583863139153, 0.06607403606176376, 0.0007716887630522251, -0.011910533532500267, -0.04129309952259064, -0.049614597111940384, 0.03504025563597679, -0.05259856581687927, -0.0321602001786232, 0.017661362886428833, -0.014663822948932648, -0.0174784567207098, 0.01389784924685955, -0.05659855157136917, 0.020470526069402695, 0.027857132256031036, -0.032776474952697754, -0.02599324658513069, -0.030029531568288803, 0.014577907510101795, 0.04143905267119408, -0.02754739485681057, -0.03090503253042698, 0.03066575713455677, 0.08578556776046753, 0.019192317500710487, 0.02851737290620804, -0.003213024465367198, -0.037255849689245224, 0.028476189821958542, 0.038988836109638214, 0.004550084937363863, -0.020236127078533173, -0.00008028725278563797, -0.009104378521442413, -0.059051625430583954, 0.01922420971095562, -0.010938580147922039, -0.03367806598544121, -0.029134945943951607, 0.04554913938045502, 0.034008532762527466, -0.028869541361927986, -0.030799884349107742, 0.0015783270355314016, -0.04709631949663162, -0.05368192493915558, 0.0004514952015597373, -0.009137037210166454, -0.03746408596634865, 0.06817472726106644, 0.017420697957277298, 0.008867606520652771, 0.06903599947690964, 0.010181114077568054, -0.017436765134334564, -0.042191069573163986, 0.0999772772192955, 0.09419014304876328, 0.01945628970861435, 0.003914420027285814, 0.054127488285303116, -0.013020486570894718, -0.022667745128273964, 0.050941966474056244, 0.0026224402245134115, 0.007773734163492918, -0.030302923172712326, -0.0024313246831297874, 0.04530017450451851, 0.02474106475710869, 0.0640709400177002, -0.02007901668548584, 0.005914775189012289, 0.0034850353840738535, 0.028604162856936455, 0.023555980995297432, 0.06872113794088364, -0.011569555848836899, 0.003924149088561535, 0.016991831362247467, -0.04556789621710777, -0.01044272631406784, -0.023601127788424492, -0.008798298425972462, 0.021211590617895126, -0.0010862021008506417, 0.0013967495178803802, 0.017184553667902946, 0.02524050697684288, 0.06123361736536026, -0.0052445679903030396, 0.01676594652235508, 0.010106387548148632, 0.009146124124526978, 0.010592125356197357, -0.016266191378235817, 0.0034375134855508804, -0.008978010155260563, -0.013698889873921871, -0.019763309508562088, -0.00788852572441101, -0.00045396064524538815, -0.008117882534861565, 0.061480384320020676, 0.01520644873380661, 0.03010557033121586, 0.030617937445640564, 0.013576840981841087, -0.012549479492008686, -0.07054631412029266, -0.04109043627977371, -0.03789529204368591, -0.03908424451947212, -0.027983319014310837, 0.00383473327383399, -0.01091517973691225, -0.053044650703668594, -0.03218595311045647, -0.014441045001149178, -0.011849891394376755, 0.024193985387682915, -0.04104844108223915, -0.03229536488652229, 0.04171692207455635, 0.02687583677470684, 0.046786028891801834, 0.007874677889049053, 0.037909746170043945, 0.009999185800552368, -0.00216148653998971, -0.05687803030014038, -0.003958331886678934, 0.029712459072470665, 0.006627672351896763, 0.03377017378807068, -0.07774592936038971, -0.013083280995488167, 0.029389917850494385, 0.0018251180881634355, -0.06789661943912506, 0.014543193392455578, -0.030770597979426384, -0.033666327595710754, 0.04800776019692421, -0.026794251054525375, 0.0049294112250208855, -0.016382820904254913, -0.025519168004393578, 0.006435411982238293, 0.05289949104189873, 0.03982941061258316, 0.0022534930612891912, 0.06548525393009186, 0.018200278282165527, -0.0323944129049778, -0.03333248570561409, 0.008698231540620327, -0.011525792069733143, 0.0035215229727327824, -0.016997765749692917, -0.07230244576931, -0.03989258036017418, -0.05585094913840294, -0.016348853707313538, 0.02621079795062542, -0.029317794367671013, -0.04404371604323387, 0.008349884301424026, 0.00621195649728179, -0.0416690818965435, 0.012113439850509167, -0.021562615409493446, 0.031224388629198074, -0.010006892494857311, -0.008271832019090652, 0.0226686242967844, -0.0001367441873298958, -0.009336622431874275, 0.013351630419492722, 0.02669951692223549, -0.046445026993751526, -0.015958329662680626, -0.026716331019997597, 0.034395549446344376, 0.05427596718072891, -0.008750800974667072, -0.013359921984374523 ]
[ -0.101790651679039, 0.0012960988096892834, -0.027147410437464714, -0.02840188890695572, 0.04422328993678093, -0.038800448179244995, 0.052180346101522446, 0.02371283620595932, -0.03970654308795929, -0.043126050382852554, -0.006920407060533762, -0.02267189882695675, 0.0037709956523030996, 0.03760804235935211, 0.08122122287750244, 0.008176393806934357, -0.021235443651676178, -0.032628465443849564, 0.05244576930999756, 0.01902811788022518, 0.0502365306019783, -0.014722606167197227, -0.020487988367676735, -0.02386319264769554, 0.05434977263212204, 0.03291037678718567, 0.03867913782596588, -0.030201412737369537, 0.034233201295137405, -0.2054702490568161, -0.011489121243357658, -0.017471997067332268, -0.013019131496548653, -0.04354088753461838, -0.018184993416070938, 0.04257161542773247, 0.023080525919795036, -0.0004129655135329813, 0.022529195994138718, 0.05288957804441452, -0.024516552686691284, 0.05794420838356018, -0.047711268067359924, -0.046498268842697144, -0.00905696488916874, -0.004086636006832123, 0.012906018644571304, -0.015121917240321636, -0.005259710829705, -0.0027964923065155745, -0.03369631990790367, -0.02835761569440365, 0.015456987544894218, -0.05455810949206352, -0.025663666427135468, 0.024606414139270782, 0.0526714026927948, 0.09262321889400482, 0.013477814383804798, 0.006662172265350819, 0.00884753093123436, -0.012177054770290852, -0.12328976392745972, 0.07769067585468292, 0.04531983286142349, 0.06753835082054138, -0.0025152554735541344, -0.02197198197245598, -0.0008467128500342369, 0.08685728162527084, 0.03869624063372612, -0.002234894782304764, -0.004930076655000448, 0.058065615594387054, 0.012137307785451412, -0.029223322868347168, 0.03481042757630348, 0.048914771527051926, 0.044735562056303024, -0.02216760627925396, -0.046400461345911026, -0.011385067366063595, 0.019466200843453407, 0.0011784005910158157, -0.05005510151386261, 0.0019943355582654476, 0.00011724753130692989, 0.006591174751520157, 0.04397759959101677, 0.06245976686477661, 0.018110638484358788, 0.006514448206871748, 0.05628068372607231, 0.006631344556808472, -0.06479832530021667, 0.02678586170077324, -0.039634399116039276, -0.023007111623883247, -0.054006464779376984, 0.40633082389831543, -0.030831875279545784, -0.035591304302215576, 0.018751895055174828, 0.027142738923430443, -0.023137317970395088, 0.023858770728111267, 0.001966699957847595, -0.06496700644493103, 0.007999003864824772, -0.04159864783287048, -0.02903674729168415, -0.004973948933184147, 0.02594972588121891, -0.056771814823150635, -0.02605651319026947, 0.02087424509227276, 0.07025578618049622, 0.009639747440814972, 0.002461519557982683, 0.03480047360062599, -0.015257352963089943, 0.0014908226439729333, 0.028275830671191216, 0.0048585496842861176, 0.0010970932198688388, -0.0571923553943634, -0.010052872821688652, 0.033715613186359406, 0.031652215868234634, 0.004595618695020676, 0.02191091887652874, -0.031949594616889954, -0.08454841375350952, -0.021719293668866158, 0.016959426924586296, 0.029098447412252426, 0.013470783829689026, -0.019885405898094177, 0.006134538445621729, 0.0227983258664608, -0.014157906174659729, -0.012513517402112484, 0.045720174908638, -0.04708230867981911, -0.0705714225769043, 0.06390497833490372, -0.04029649868607521, 0.0009583157952874899, -0.0002134832029696554, -0.039270445704460144, 0.0002144413738278672, 0.03299316018819809, -0.017603212967514992, -0.03446744382381439, -0.001677134307101369, -0.006905528251081705, 0.004946587141603231, 0.0029840245842933655, -0.018882492557168007, -0.02328391931951046, -0.009779637679457664, -0.00952865183353424, -0.04160555824637413, 0.0330595038831234, 0.019584497436881065, -0.0788043886423111, -0.030994702130556107, -0.0030341686215251684, 0.04668186977505684, -0.0807187631726265, -0.020317601040005684, 0.059174347668886185, -0.012174025177955627, -0.04808720573782921, 0.04454067349433899, -0.025679033249616623, -0.03170517459511757, 0.013972288928925991, 0.018061980605125427, 0.06439002603292465, 0.030294734984636307, 0.014702395536005497, -0.03881135210394859, 0.012849148362874985, -0.009505568072199821, -0.05771181359887123, -0.04140714183449745, -0.0013841312611475587, -0.002032404998317361, -0.011464414186775684, -0.043938376009464264, -0.05344630405306816, -0.10890471935272217, 0.10174380987882614, -0.016369879245758057, -0.037337176501750946, 0.053567539900541306, 0.000423459307057783, -0.001472552539780736, 0.007186804432421923, -0.01695999875664711, 0.05675001069903374, 0.0009562383056618273, 0.04337015375494957, -0.06160607561469078, 0.08102559298276901, 0.022877780720591545, -0.02909139171242714, 0.02277478016912937, 0.011293056420981884, -0.07115558534860611, 0.0004120087542105466, -0.012057029642164707, -0.0037429784424602985, 0.00617960887029767, 0.02178548090159893, -0.0007172455079853535, 0.03396715968847275, 0.022185537964105606, 0.051409948617219925, -0.04540042579174042, -0.019212691113352776, 0.037563785910606384, -0.34205418825149536, -0.050015851855278015, -0.008896594867110252, -0.00016655356739647686, 0.0267378818243742, -0.07468348741531372, 0.004138103686273098, -0.013470480218529701, -0.01593414694070816, -0.0628797858953476, 0.04303693026304245, -0.003332988591864705, 0.0014872499741613865, -0.09468810260295868, -0.017719076946377754, 0.023075267672538757, -0.04081328213214874, -0.046724122017621994, -0.061766017228364944, -0.019598452374339104, -0.036391571164131165, 0.0019336537225171924, -0.002429138170555234, -0.08017362654209137, 0.04567420110106468, -0.03377249464392662, 0.07511474937200546, -0.025930015370249748, 0.05337788909673691, -0.07239743322134018, 0.017644083127379417, -0.007192577701061964, 0.0369243323802948, -0.10042782872915268, 0.02164728380739689, -0.025600483641028404, -0.0891333520412445, 0.026802197098731995, 0.08093519508838654, -0.017866967245936394, 0.00029749746317975223, 0.03939079865813255, -0.05153513699769974, -0.08786453306674957, -0.021988138556480408, -0.020608481019735336, -0.01022486574947834, 0.0014136068057268858, -0.0012789504835382104, 0.0567963570356369, -0.01631631888449192, 0.014216712675988674, -0.008315827697515488, 0.01499115489423275, 0.020864514634013176, -0.02800028957426548, -0.08758298307657242, -0.003202281193807721, 0.002703160047531128, 0.03186257556080818, 0.03436300903558731, 0.08398209512233734, 0.049209944903850555, -0.05008707195520401, -0.008696182630956173, 0.03530203551054001, 0.014951763674616814, -0.027449537068605423, 0.040494825690984726, -0.00813086424022913, -0.0008450435707345605, 0.09373076260089874, -0.03821636363863945, -0.004171433392912149, 0.040435791015625, 0.02119775116443634, -0.011958649381995201, 0.021960657089948654, 0.002655859338119626, -0.01294571440666914, -0.0018575064605101943, 0.02115057408809662, 0.044796571135520935, -0.023980336263775826, 0.016307640820741653, 0.0346611812710762, -0.001503701787441969, 0.004390300251543522, 0.07530224323272705, 0.005076949950307608, -0.03224869444966316, -0.004583410918712616, -0.02908487245440483, -0.04545379802584648, 0.05811048299074173, 0.019773386418819427, -0.23949481546878815, -0.0073734475299716, 0.06198619678616524, 0.03935743868350983, -0.0018268635030835867, 0.013495061546564102, 0.05896914005279541, -0.07727322727441788, -0.00966554693877697, -0.020751483738422394, 0.01528122927993536, 0.02686721831560135, 0.037870436906814575, -0.004944646265357733, 0.039350446313619614, 0.02175343781709671, 0.05144250765442848, -0.026962587609887123, 0.03277719393372536, -0.08475710451602936, -0.0034641269594430923, 0.00892125815153122, 0.18102315068244934, 0.008106566965579987, 0.037411291152238846, 0.021896712481975555, 0.04523777589201927, 0.011440887115895748, 0.06551884114742279, 0.019414816051721573, -0.013729862868785858, 0.0028149697463959455, 0.09936989098787308, 0.01005457527935505, 0.010447202250361443, -0.04834374040365219, -0.01576194353401661, 0.015981800854206085, 0.02418227680027485, -0.015588739886879921, -0.03661562502384186, 0.019381828606128693, -0.012541361153125763, 0.024883270263671875, 0.08596234768629074, 0.00681169331073761, -0.020470358431339264, -0.04394327849149704, -0.05199418589472771, 0.000845297472551465, -0.0014368902193382382, -0.02080695889890194, 0.02014150656759739, -0.030487319454550743, 0.02342255227267742, 0.06358692049980164, 0.010846931487321854, -0.02204246260225773, -0.06262239813804626, 0.009715219959616661, -0.030463911592960358, 0.0367257259786129, 0.1329113394021988, 0.031801048666238785, 0.032729193568229675 ]
[ -0.012554842978715897, 0.01568528451025486, -0.01193379145115614, 0.006917928345501423, 0.04171484708786011, 0.029359078034758568, 0.00027952357777394354, -0.006821383256465197, 0.003345012664794922, 0.001923004281707108, 0.015736985951662064, 0.0014875347260385752, 0.029964463785290718, -0.001678330241702497, 0.007156963460147381, -0.03195055574178696, 0.012818737886846066, 0.013649733737111092, 0.025584302842617035, 0.022522179409861565, -0.018759710714221, 0.03455575555562973, 0.0047902511432766914, 0.00328078493475914, -0.01709013059735298, 0.0337173156440258, -0.025752650573849678, -0.008474891074001789, 0.012338398024439812, -0.14952926337718964, -0.04154941439628601, -0.014838595874607563, 0.0020230808295309544, -0.024460893124341965, -0.021512581035494804, 0.005875926464796066, 0.027526194229722023, 0.023237604647874832, 0.026747168973088264, 0.0052671669982373714, -0.018615206703543663, 0.0004927810514345765, -0.0010252423817291856, -0.009948913007974625, -0.013432192616164684, -0.014503360725939274, -0.0072547453455626965, -0.029894983395934105, -0.013729634694755077, -0.0648946464061737, -0.000522678135894239, 0.01847171224653721, 0.020348239690065384, -0.024526536464691162, 0.008321162313222885, -0.022313149645924568, 0.0061743431724607944, 0.007382008247077465, 0.021218759939074516, 0.024214182049036026, -0.02184244990348816, 0.019840635359287262, -0.011792652308940887, -0.028691595420241356, -0.00023184294695965946, -0.026858381927013397, 0.00467526214197278, 0.0014154183445498347, 0.015934500843286514, -0.015120657160878181, -0.006430984474718571, 0.014014499261975288, 0.010592890903353691, 0.021202795207500458, -0.008981511928141117, 0.02827949821949005, 0.0006148035754449666, 0.022514378651976585, 0.03466571122407913, 0.013732358813285828, -0.025481266900897026, 0.03736560791730881, 0.014419262297451496, -0.004882487468421459, -0.004817222710698843, 0.008255780674517155, 0.007973278872668743, 0.0036745734978467226, 0.03626750782132149, 0.015169014222919941, 0.005436033476144075, 0.011543615721166134, -0.015075158327817917, 0.032923027873039246, -0.06272060424089432, -0.006450016051530838, -0.018292685970664024, -0.029457759112119675, 0.007791712414473295, 0.8669735193252563, 0.01756255514919758, 0.030572516843676567, 0.009740103967487812, 0.04615804925560951, 0.042041365057229996, -0.009714718908071518, -0.018243100494146347, 0.0046270741149783134, 0.013674699701368809, -0.01375485211610794, 0.01959957741200924, -0.01580715738236904, 0.02077305130660534, 0.03714699298143387, -0.01387473102658987, -0.0006919233128428459, 0.009238459169864655, -0.022509226575493813, 0.010229487903416157, -0.006464037578552961, 0.022989371791481972, -0.043340910226106644, -0.002836089814081788, -0.006312006153166294, 0.00996501836925745, -0.1537509560585022, -0.008651744574308395, -9.325071788798432e-33, 0.05339178070425987, -0.008917313069105148, 0.024878650903701782, 0.019387243315577507, -0.009398113004863262, 0.006371930241584778, 0.031124958768486977, 0.026647476479411125, 0.042639151215553284, -0.029743773862719536, -0.03424675017595291, -0.0335838720202446, -0.033290740102529526, -0.01371094398200512, 0.015205618925392628, -0.017610475420951843, -0.06086074560880661, 0.004402761813253164, -0.004728343803435564, 0.013600591570138931, 0.019544042646884918, 0.014912376180291176, -0.021924175322055817, -0.029859039932489395, 0.04420895874500275, 0.005639273673295975, 0.014488792978227139, 0.006118386052548885, -0.00966617651283741, -0.036454908549785614, 0.03926798701286316, -0.022760901600122452, -0.005147693678736687, 0.026140321046113968, -0.0055968561209738255, -0.05342678353190422, 0.014232488349080086, 0.013424620032310486, -0.01564370095729828, -0.04241206869482994, -0.03255770727992058, -0.015419057570397854, -0.05398320034146309, 0.020763613283634186, 0.007116638123989105, -0.04536324739456177, 0.01725764200091362, 0.03041911870241165, 0.0009656572947278619, -0.037914253771305084, 0.005569793283939362, 0.02508261241018772, -0.011986241675913334, -0.022036293521523476, -0.03564115986227989, 0.022926608100533485, -0.004133078269660473, 0.005815508309751749, 0.010274739004671574, 0.023954976350069046, -0.030025631189346313, -0.006134977098554373, -0.041361745446920395, -0.005907048005610704, -0.01008949801325798, 0.00014465929416473955, -0.04083435982465744, -0.016012420877814293, 0.026049688458442688, 0.022641906514763832, -0.015260444022715092, -0.04182890057563782, -0.003575921291485429, -0.014732773415744305, 0.029516588896512985, 0.002037245314568281, 0.017820551991462708, 0.016113849356770515, -0.020522110164165497, 0.01974387839436531, 0.023668872192502022, 0.010577416978776455, 0.0020618904381990433, -0.0007478421903215349, -0.015805194154381752, -0.04113076999783516, 0.010732545517385006, -0.007993965409696102, 0.02400914765894413, 0.01589919999241829, 0.03278161585330963, 0.042300838977098465, -0.019611291587352753, -0.01724017597734928, -0.01798868179321289, 9.527298694126113e-33, 0.018973546102643013, -0.006385095417499542, -0.006448994856327772, -0.00018006724712904543, 0.01207964401692152, -0.031802646815776825, -0.013191848061978817, 0.016188200563192368, -0.051459237933158875, 0.021711893379688263, -0.04297184199094772, 0.01559455692768097, 0.008250301703810692, 0.03883400186896324, 0.009179399348795414, -0.014343107119202614, 0.021394120529294014, -0.02493344061076641, 0.021859537810087204, 0.00933798123151064, 0.04158582538366318, 0.0036660560872405767, 0.03728923574090004, -0.014057924970984459, 0.017158469185233116, 0.03452731668949127, -0.02405593916773796, 0.012995615601539612, 0.005535943433642387, 0.01361004076898098, 0.020418472588062286, -0.04846961796283722, 0.04096861556172371, -0.01310664601624012, -0.01654045283794403, 0.0042946659959852695, -0.004456369671970606, 0.0026039322838187218, -0.005731343757361174, 0.008812147192656994, -0.0025952293071895838, -0.036263786256313324, -0.0029890744481235743, 0.01026556920260191, 0.01993076503276825, 0.002930328017100692, 0.03375941887497902, 0.0019396774005144835, 0.021304208785295486, 0.027521371841430664, -0.026486307382583618, 0.0015101389726623893, 0.01379446405917406, 0.00970090925693512, 0.015119781717658043, -0.03749624267220497, -0.0330483615398407, 0.01655283011496067, -0.011423232965171337, 0.05742287263274193, -0.006585361901670694, 0.0016981789376586676, -0.018656574189662933, 0.0007687205797992647, -0.023540809750556946, 0.01299967709928751, 0.010952159762382507, 0.0020264293998479843, 0.0013047935208305717, -0.01312704011797905, -0.014492773450911045, -0.0300743505358696, 0.020974090322852135, 0.028602764010429382, 0.05008537322282791, -0.05321839451789856, -0.012102093547582626, -0.011853426694869995, 0.013618355616927147, -0.0021258112974464893, 0.010126342996954918, -0.03228243812918663, -0.007098648697137833, -0.0018428482580929995, 0.015039730817079544, 0.029249276965856552, -0.006229518912732601, 0.01800038479268551, 0.01734628714621067, 0.01808297634124756, -0.008403971791267395, 0.0051130494102835655, 0.002164463046938181, -0.01628822088241577, 0.015427958220243454, -1.4499573097737084e-8, 0.02819143794476986, 0.0035996679216623306, 0.011933567933738232, 0.0013950506690889597, 0.02554267644882202, 0.00877285748720169, -0.007067246828228235, -0.03919542580842972, -0.018704066053032875, 0.011350599117577076, 0.01959238015115261, 0.01808786951005459, 0.00412074476480484, -0.031612735241651535, 0.025951946154236794, -0.05130130425095558, -0.034214891493320465, -0.008594710379838943, 0.017542991787195206, 0.02606324851512909, 0.004171352833509445, 0.03291364386677742, -0.0299301166087389, 0.022270062938332558, 0.017644330859184265, -0.010955575853586197, 0.012753740884363651, -0.10354328900575638, 0.013296203687787056, 0.010078705847263336, -0.02307431772351265, -0.008605373091995716, -0.03349963575601578, -0.009693212807178497, -0.028784029185771942, 0.014926671981811523, -0.01885618083178997, 0.016005326062440872, 0.012596037238836288, -0.010952196083962917, -0.027108578011393547, -0.0033133337274193764, -0.0180526040494442, -0.03570854663848877, -0.002836521016433835, 0.019629567861557007, -0.04223259165883064, 0.002959339413791895, -0.012411014176905155, -0.015160400420427322, 0.010191679932177067, -0.014393016695976257, 0.01113602053374052, 0.028597796335816383, 0.007650339510291815, -0.0010158352088183165, 0.008370785973966122, -0.034305840730667114, -0.015406090766191483, -0.0316341295838356, 0.01986364647746086, 0.019437676295638084, 0.016900354996323586, -0.03323902562260628 ]
coding-invariant-checking-on-dependency-injected-components
https://markhneedham.com/blog/2009/10/31/coding-invariant-checking-on-dependency-injected-components
false
2009-10-01 23:10:36
QTB: Agile Governance - Managing the Enterprise Issues
[ "agile", "thoughtworks", "qtb" ]
[ "QTB" ]
I went to watch the latest ThoughtWorks Australia Quarterly Technology Briefing in Sydney on Wednesday where my colleague http://lindystephens.blogspot.com/[Lindy Stephens], Suncorp's Josh Melville and Lonely Planet's Nigel Dalton presented on 'http://www.thoughtworks.com/pdfs/aus-qtb-sept09.pdf[Agile Governance - Managing the Enterprise Issues]'. I was actually unsure of how interesting it would be to me as the title seemed a bit dull but it was actually quite entertaining and not at all what I expected. These are some of the things I picked up from the presentation: * Lindy started out talking a bit about the *illusion of control* that waterfall plans can lead us to, referencing the http://www.cs.umd.edu/class/spring2003/cmsc838p/Process/waterfall.pdf[intial paper on waterfall written by Winston Joyce] which actually criticises the idea of designing everything up front and suggests an iterative approach would work better. A http://www2.computer.org/cms/Computer.org/ComputingNow/homepage/2009/0709/rW_SO_Viewpoints.pdf[recent article by Tom De Marco] where he retracts the idea that you "can't control what you don't measure" was also referenced. The most interesting part of this article for me is where he points out that projects which provide minimal return are the ones that need the most control but perhaps we should be considering whether we should even undertake them in the first place. The idea of having software that is production ready at any time is also a very nice thing to aim for: + ____ So, how do you manage a project without controlling it? Well, you manage the people and control the time and money. You say to your team leads, for example, "`I have a finish date in mind, and I'm not even going to share it with you. When I come in one day and tell you the project will end in one week, you have to be ready to package up and deliver what you've got as the final product. ____ * Traditional measurements of progress derived from a more waterfall process actually *only tell us if we're proceeding not if we're succeeding* - it's much more useful to keep our focus on whether we are delivering value to the end user instead of just focusing on whether we have hit our targets on delivery date and promised scope. The http://www.markhneedham.com/blog/2008/08/26/the-transparency-of-agile/[transparency and visibility] that we typically have when following a more agile approach was mentioned by a couple of the speakers - progress is much more visible throughout and we don't suddenly have a project going from status 'green' to status 'red' right at the end. I think we need to be a little bit careful that we explain things carefully when showing this types of data to people who are new to the agile approach as it can very easily give the impression that we are totally failing when actually it's fairly normal for initial progress on a project to be slower than it will be once we get going. Nigel Dalton described a story where even the Lonely Planet chef knew how one of his teams was doing because the information was so transparent! * Nigel also spoke about the idea of outsourcing agile and suggested that the best way to ensure success with this is to work with people in a country on the same longitude so that the timezone difference isn't too great. He also suggested that having people from both locations going to the other works well for ensuring better communication. I went to a http://www.markhneedham.com/blog/2008/09/24/onshore-or-offshore-the-concepts-are-the-same/[QTB last year where this was covered in more detail by my colleague Dharmarajan Sitaraman]. * The general idea behind what Nigel presented seemed to be that the *individual teams effectively provided the governance of projects* and that it wasn't necessary to have massive reports detailing progress every week. Josh Melville stressed the importance of looking at the value of all documents and getting rid of them if they don't provide anything useful. Nigel described how they had massively simplified one of their reports after listening to Josh's advice! Lindy pointed out that sometimes we'll be executing projects in an agile way in environments which more traditionally follow a waterfall methodology and that in this case it might be necessary for the project manager to spend some of their time converting the data into an appropriate report. In terms of the lean approach this seems to me to just be waste, but perhaps a necessary waste. * Josh also talked about the importance of moving away from a process centric view of the world to a relationship based one when it comes to managing projects whereby problems could be talked through instead of just writing off a project as doomed because a 'checkpoint' wasn't reached. He also suggested that considering whether we delivered features and also whether they were actually used were more useful things to look at rather than looking at budget and time. * In the questions afterwards one suggestion to the speakers was that the metaphor of software development as being similar to industrial manufacturing is not really helpful and that perhaps *movie making is a better one to use because there is a level of creativity involved and the aim is to deliver something of value each day*. Nigel pointed out that while traditional manufacturing didn't have much to teach us, lean manufacturing was a different story as it helps us cope with variation rather than just cost which is quite important in software development.
null
null
[ 0.031209362670779228, 0.0027487820480018854, 0.0011167967459186912, 0.054551806300878525, 0.09226826578378677, 0.01233513280749321, 0.008405704982578754, 0.052704647183418274, 0.020352637395262718, -0.019074678421020508, -0.02941434271633625, -0.007564023602753878, -0.042588621377944946, 0.023127682507038116, -0.028329670429229736, 0.07589247077703476, 0.052991315722465515, -0.00014073778584133834, 0.03310014680027962, 0.010836211033165455, 0.039776891469955444, 0.07097526639699936, 0.04108487069606781, 0.024990951642394066, 0.027911825105547905, -0.0010595658095553517, 0.015774967148900032, -0.011853265576064587, -0.04896239563822746, -0.01247337181121111, 0.0435234010219574, -0.015643859282135963, -0.006113821174949408, 0.012789182364940643, 0.01956195943057537, -0.008051821030676365, -0.010080548003315926, 0.026413019746541977, -0.017724737524986267, -0.013173600658774376, -0.07834562659263611, 0.05468615144491196, -0.029248425737023354, 0.0022909047547727823, -0.0356479175388813, 0.009238293394446373, -0.021986989304423332, 0.00887695886194706, -0.007920701988041401, 0.005965415854007006, -0.07339070737361908, 0.039395034313201904, -0.0007581469835713506, -0.005122029222548008, -0.01279545295983553, 0.04486096650362015, 0.0159581508487463, -0.06530183553695679, -0.013087467290461063, -0.040663134306669235, -0.005713322665542364, -0.028845157474279404, -0.002628515474498272, 0.03618297353386879, 0.03761444613337517, -0.04096180573105812, 0.001761618652381003, 0.033411670476198196, -0.02324555814266205, 0.011103089898824692, -0.021337686106562614, 0.023610077798366547, -0.0018163298955187201, -0.0006364815635606647, 0.012217803858220577, -0.06377659738063812, 0.017512844875454903, 0.077641561627388, 0.026804162189364433, 0.022612392902374268, -0.028582926839590073, 0.023601606488227844, 0.0000130380549308029, 0.044695716351270676, -0.02948525920510292, -0.04155709594488144, 0.004747622646391392, -0.010564618743956089, -0.06844103336334229, 0.0651904046535492, 0.006358944810926914, -0.050797171890735626, 0.026418309658765793, 0.04321528971195221, 0.0015753948828205466, 0.0018928302451968193, 0.01908879727125168, 0.02538743056356907, -0.018418438732624054, -0.020308787003159523, -0.0226565133780241, -0.026333997026085854, -0.012347686104476452, 0.012705503031611443, -0.07323744893074036, -0.01815376803278923, -0.024531131610274315, -0.02162986434996128, -0.0070756287313997746, 0.018599966540932655, -0.02803807705640793, 0.01358605083078146, -0.01021923590451479, 0.008508549071848392, -0.0673503652215004, 0.07393144816160202, 0.02083335444331169, -0.05472884699702263, -0.0120011568069458, -0.008292676880955696, 0.04448956996202469, 0.015875881537795067, -0.010358537547290325, 0.07296901196241379, 0.019702592864632607, 0.012117435224354267, -0.038658007979393005, 0.04500111564993858, -0.005363131873309612, -0.06115400046110153, -0.0013009724207222462, 0.05778835341334343, -0.044432107359170914, -0.018802667036652565, 0.011977040208876133, -0.012635492719709873, 0.018409617245197296, 0.01323722954839468, 0.02421252615749836, 0.06222166866064072, -0.0024262582883238792, -0.040115781128406525, 0.0167555995285511, 0.016933711245656013, 0.018863191828131676, -0.0005328303668648005, 0.009225975722074509, -0.03291374817490578, -0.05806310847401619, -0.015734804794192314, -0.02022838406264782, -0.006568884011358023, 0.005758258048444986, -0.04042954742908478, 0.045116767287254333, 0.08760128915309906, 0.050502926111221313, 0.015419001691043377, -0.01835102029144764, 0.02592320553958416, 0.029953237622976303, 0.04578462615609169, 0.00796649418771267, 0.009718568064272404, 0.015233509242534637, -0.0058863903395831585, -0.009281374514102936, 0.029549865052103996, 0.007332481909543276, -0.004139323253184557, -0.05530600994825363, -0.0345061756670475, 0.044474318623542786, -0.04374505579471588, -0.028654109686613083, 0.03870568424463272, 0.0761534571647644, 0.04588988050818443, 0.024584665894508362, 0.006305556278675795, -0.07767323404550552, 0.028720762580633163, 0.007111279759556055, 0.02753359265625477, 0.028688769787549973, -0.03114772029221058, 0.06245177984237671, 0.03285498172044754, -0.002861996879801154, 0.042558424174785614, -0.07338636368513107, -0.10328274965286255, -0.038816098123788834, -0.01731904223561287, 0.030201997607946396, -0.03496483340859413, 0.01604028046131134, 0.04368671774864197, -0.007385110016912222, 0.05963556841015816, 0.033777736127376556, 0.021415138617157936, 0.002287390409037471, -0.03900271654129028, -0.052741777151823044, 0.04351414740085602, 0.047363728284835815, -0.0006095223943702877, -0.042843904346227646, 0.012064439244568348, -0.007336493115872145, -0.02990524098277092, 0.05564168468117714, -0.026926979422569275, 0.034650180488824844, 0.014689150266349316, 0.04931788146495819, -0.050535619258880615, 0.030632352456450462, -0.034849364310503006, 0.004133536480367184, 0.02583290822803974, -0.02074645273387432, 0.02869393303990364, 0.010940710082650185, 0.11109736561775208, 0.06175828352570534, -0.04526407644152641, -0.04788292199373245, 0.028698349371552467, 0.020333297550678253, -0.05005846172571182, -0.01743462309241295, -0.008455443195998669, 0.016439465805888176, -0.003710151882842183, -0.07205880433320999, -0.0534917451441288, 0.01936749741435051, -0.0452069528400898, 0.01614619418978691, 0.04673432931303978, -0.00153627572581172, 0.0701541006565094, 0.00012487413187045604, -0.005838281009346247, -0.013273273594677448, -0.01944589801132679, -0.04080134630203247, 0.019102847203612328, 0.0012506023049354553, -0.005467473994940519, 0.058386143296957016, -0.006697534117847681, -0.033683594316244125, -0.04345759376883507, -0.039029862731695175, 0.0074836937710642815, 0.056582845747470856, 0.07756730914115906, -0.015948493033647537, 0.06457086652517319, -0.011030907742679119, 0.05229693278670311, 0.014755303971469402, -0.04133439064025879, -0.04233284294605255, -0.0479123517870903, -0.005828945431858301, 0.01877986639738083, 0.012261109426617622, 0.0049611590802669525, 0.007078252732753754, -0.001964116469025612, 0.0006464194157160819, -0.018767481669783592, 0.027608226984739304, -0.00006148494139779359, -0.006290812976658344, -0.03550839051604271, -0.007711553014814854, 0.05781621113419533, -0.033041562885046005, -0.004046967253088951, 0.010598570108413696, -0.07254135608673096, 0.053418003022670746, -0.041844308376312256, -0.025580136105418205, -0.018269432708621025, 0.011141072027385235, 0.0362287275493145, 0.017292296513915062, 0.03138940781354904, 0.054912321269512177, 0.024955138564109802, 0.015904486179351807, -0.019786231219768524, -0.016499213874340057, 0.04532262310385704, 0.015379601158201694, -0.0037012076936662197, 0.04883037880063057, 0.016658691689372063, -0.0111851766705513, -0.05459823086857796, 0.07869470119476318, -0.06161420792341232, -0.2895996868610382, 0.016145169734954834, 0.026270436123013496, -0.029646972194314003, 0.014059933833777905, -0.014576281420886517, 0.012938451953232288, -0.059866055846214294, -0.02550855278968811, 0.011067953892052174, -0.03782078996300697, -0.04552911967039108, -0.016695208847522736, 0.03526875749230385, 0.024058500304818153, 0.017742536962032318, 0.03167381137609482, -0.03442421555519104, 0.023653974756598473, 0.051438912749290466, -0.015264487825334072, -0.06558486074209213, -0.0016922333743423223, 0.0407363697886467, 0.045296281576156616, 0.061042167246341705, -0.05822119116783142, 0.047418490052223206, -0.0420953705906868, -0.0071417600847780704, 0.014696955680847168, -0.002350864000618458, 0.004765221383422613, -0.01894773729145527, 0.0019487532554194331, -0.006261179223656654, 0.04580153897404671, 0.023468518629670143, 0.004671275615692139, -0.005181633867323399, -0.01934252493083477, -0.04628298804163933, 0.01522697415202856, 0.023595908656716347, 0.05799311399459839, 0.014609592035412788, -0.06339184194803238, -0.022308995947241783, -0.027203848585486412, 0.0704675018787384, -0.027390964329242706, -0.013039827346801758, 0.0010660247644409537, 0.03269688040018082, -0.02458113618195057, -0.001778297359123826, -0.013735958375036716, -0.010912686586380005, -0.04928181320428848, -0.01160255167633295, -0.012476405128836632, -0.018649201840162277, -0.0038330876268446445, -0.04577256739139557, -0.0029017941560596228, -0.05443790555000305, -0.057951923459768295, 0.001980477012693882, 0.07662463933229446, -0.001791838905774057, -0.029830163344740868, 0.0047815279103815556, -0.006877301260828972, -0.1088448092341423, 0.004248890560120344, -0.0009652101434767246, -0.025067493319511414, 0.009883902035653591, 0.041235990822315216, 0.02961794100701809, -0.036283351480960846, -0.07130622863769531, 0.02424570359289646, 0.015598119236528873, 0.04808620736002922, -0.03287166729569435, 0.03454878181219101, 0.02830907702445984, -0.016417132690548897, 0.003447390627115965, 0.043098334223032, -0.0030801077373325825, -0.03012864664196968, -0.01785269007086754, 0.023333683609962463, 0.0036623775959014893, 0.01276583131402731, -0.010073231533169746, 0.01762072741985321, 0.02971632592380047, -0.012709160335361958, -0.04739302396774292, 0.014079621061682701, -0.019232923164963722, -0.005985776428133249, -0.021083500236272812, -0.042015440762043, 0.014928395859897137, 0.03213668614625931, 0.029986772686243057, 0.018059972673654556, -0.023646827787160873, 0.02650107443332672, -0.049724310636520386, -0.04205119237303734, -0.009146946482360363, -0.006342660635709763, 0.051622021943330765, -0.018415480852127075, -0.01940632425248623, -0.05632859095931053, -0.00451738853007555, -0.008116580545902252, -0.008453230373561382, -0.05785250663757324, -0.007369176018983126, -0.02623698115348816, -0.027440976351499557, 0.010885529220104218, 0.020765841007232666, -0.015645695850253105, 0.01833391934633255, 0.02665814384818077, -0.045315567404031754, 0.0019182291580364108, -0.03626789152622223, -0.07605928927659988, -0.032904837280511856, 0.0041012754663825035, 0.011100053787231445, -0.013357426039874554, 0.0339999720454216, -0.006314704194664955, 0.023444466292858124, 0.043442245572805405, 0.02246917597949505, -0.0011218577856197953, -0.005193707998842001, 0.05556919053196907, 0.01592264138162136, -0.0031886445358395576, -0.06815953552722931, 0.005027102306485176, -0.04943007230758667, -0.02109145186841488, -0.041457779705524445, 0.031566087156534195, -0.028998471796512604, -0.006002827547490597, 0.0009741678950376809, -0.0019952317234128714, -0.036669887602329254, -0.05723470449447632, -0.03304723650217056, 0.031366992741823196, 0.06881138682365417, -0.008935436606407166, 0.01983771100640297, -0.00008910503674997017, -0.015495067462325096, 0.01631889119744301, 0.011712559498846531, -0.048307228833436966, 0.009637768380343914, 0.015996893867850304, 0.02234482578933239, 0.004510513041168451, -0.005906847305595875, 0.058922357857227325, 0.022650886327028275, 0.006788373459130526, -0.04022187739610672, -0.00024140902678482234, 0.01782836765050888, 0.050215475261211395, 0.0199760589748621, -0.015598639845848083, 0.01415273267775774, -0.01303073763847351, -0.01482719462364912, -0.05463600903749466, 0.00169355608522892, 0.0012825902085751295, 0.012519991025328636, -0.02837700955569744, -0.07894124835729599, 0.06917426735162735, 0.006226125173270702, 0.016027171164751053, 0.010686450637876987, -0.008004225790500641, -0.00791223719716072, -0.007691494654864073, 0.022323567420244217, 0.05183476582169533, -0.07295317947864532, -0.013403750024735928, -0.0014097486855462193, 0.004588256124407053, 0.0038604161236435175, -0.014806465245783329, -0.023949846625328064, -0.016251662746071815, -0.01574665494263172, -0.0007856891606934369, -0.06096886843442917, -0.02857177145779133, -0.02672388218343258, 0.014466334134340286, 0.009173157624900341, -0.009691953659057617, -0.020771224051713943, -0.01987680234014988, -0.017531175166368484, -0.030484754592180252, -0.0009641979704611003, -0.035303957760334015, -0.012983438558876514, -0.0014951283810660243, -0.02435927838087082, -0.015160066075623035, -0.03888236731290817, -0.008327743038535118, 0.018596747890114784, -0.015206377021968365, 0.012578878551721573, -0.011288957670331001, -0.0013866113731637597, -0.008682279847562313, 0.046388473361730576, -0.026799865067005157, -0.0165267176926136, -0.04347354173660278, -0.024188904091715813, -0.05312877148389816, 0.008926495909690857, -0.025534091517329216, 0.014029241167008877, 0.012800492346286774, 0.057086147367954254, 0.01167373638600111, 0.049288999289274216, -0.008294234983623028, -0.0015550811076536775, 0.026445113122463226, -0.07459874451160431, -0.015538760460913181, -0.027082854881882668, -0.04720079153776169, -0.006742280907928944, -0.00014549937623087317, 0.013495833612978458, -0.060682278126478195, 0.05314837768673897, 0.018605973571538925, 0.034615226089954376, 0.02767585590481758, 0.016249537467956543, 0.01259551104158163, -0.044285211712121964, 0.010345429182052612, -0.08457494527101517, -0.03644702956080437, 0.015596949495375156, 0.005546920001506805, 0.004211164079606533, 0.010025842115283012, -0.05226666107773781, 0.055237382650375366, -0.08733675628900528, -0.026923788711428642, 0.07160283625125885, -0.010417195037007332, -0.021298356354236603, 0.016639191657304764, -0.07699984312057495, 0.029682982712984085, 0.03456219658255577, -0.04408830776810646, -0.002458651550114155, -0.004115077666938305, 0.054848410189151764, -0.0006068723741918802, 0.04055209085345268, -0.051605165004730225, -0.013757787644863129, 0.07521959394216537, -0.0153319938108325, -0.02392982318997383, 0.054577723145484924, -0.004689610097557306, 0.038558229804039, 0.041956834495067596, 0.01369781419634819, -0.028025196865200996, 0.0006282984977588058, -0.014276158064603806, -0.055183328688144684, 0.050544071942567825, 0.0034809699282050133, -0.006509501952677965, -0.02288675867021084, 0.05463895574212074, 0.019463257864117622, -0.035262033343315125, -0.05675247311592102, 0.016522374004125595, -0.05402126535773277, 0.0038127549923956394, -0.023021340370178223, -0.01644904911518097, -0.06075258553028107, 0.030513854697346687, -0.0029743516352027655, 0.012812593020498753, 0.07375539094209671, 0.0006269829464145005, 0.0040239691734313965, -0.00167789903935045, 0.09483464807271957, 0.06534314900636673, 0.07294931262731552, 0.00241462467238307, 0.0800466239452362, -0.038382794708013535, -0.043354734778404236, 0.01769011840224266, -0.010382005013525486, -0.017517628148198128, -0.04429612308740616, 0.034158606082201004, 0.058673836290836334, -0.0032771353144198656, 0.05782442167401314, -0.014689948409795761, -0.02246781811118126, -0.0020801464561372995, 0.03479194641113281, 0.007446652743965387, 0.06267958134412766, 0.016803251579403877, 0.010551498271524906, -0.033409833908081055, -0.06103331968188286, 0.03382841497659683, -0.035069260746240616, -0.029972827062010765, 0.042269155383110046, -0.005746455863118172, 0.02865350805222988, 0.00040286898729391396, 0.02680143341422081, 0.0795239731669426, -0.03611961007118225, 0.01878468506038189, -0.014138959348201752, 0.02423255145549774, 0.004478327929973602, 0.012451349757611752, -0.02173301950097084, -0.005613717250525951, 0.0006376050296239555, -0.03337244689464569, -0.029225455597043037, -0.015934806317090988, -0.020853567868471146, 0.04843468219041824, -0.01737138256430626, 0.021709971129894257, 0.02726711705327034, -0.004557263106107712, -0.032127056270837784, -0.053459521383047104, -0.03195664659142494, -0.049931179732084274, -0.050593018531799316, -0.005550213158130646, 0.046110935509204865, -0.0009057634742930532, -0.02697685919702053, -0.017262758687138557, -0.012535966001451015, -0.03931266441941261, 0.044989679008722305, -0.05863595008850098, -0.02532193437218666, 0.0007871798006817698, 0.017776930704712868, 0.0013062389334663749, 0.010866171680390835, 0.05108410492539406, -0.00822820607572794, -0.017114637419581413, -0.02327651157975197, 0.03914273902773857, 0.017786044627428055, 0.009656701236963272, 0.018683748319745064, -0.08355874568223953, 0.02199251390993595, 0.016459202393889427, -0.03048706240952015, -0.06069483608007431, 0.04048857465386391, 0.022443987429142, -0.0034081381745636463, 0.0565507747232914, 0.00265848939307034, 0.010087802074849606, -0.05778989940881729, -0.019625380635261536, -0.009005467407405376, 0.005884408950805664, 0.04922771081328392, -0.021017374470829964, 0.0879584550857544, 0.03065616451203823, 0.003952241037040949, -0.04660465940833092, -0.01883239671587944, 0.007173760794103146, 0.004524394869804382, -0.012032614089548588, -0.010021666064858437, -0.027104677632451057, -0.07376769930124283, -0.034942883998155594, 0.026741687208414078, -0.03216398507356644, -0.019890060648322105, 0.03309699147939682, 0.024589840322732925, -0.004668054170906544, -0.0030383917037397623, -0.05661720782518387, 0.0197244044393301, -0.0033366756979376078, -0.033242397010326385, -0.0012257632333785295, 0.012626168318092823, -0.00258061895146966, -0.00502377562224865, 0.006541196256875992, -0.05547960475087166, -0.005650583654642105, 0.004538537003099918, 0.01912005804479122, 0.03673504665493965, 0.012212717905640602, -0.0146608492359519 ]
[ -0.09071820229291916, 0.0022924987133592367, -0.024788828566670418, -0.030283547937870026, 0.031410396099090576, -0.025647703558206558, -0.01619771495461464, 0.029302189126610756, -0.014303958974778652, 0.002439117059111595, 0.012400378473103046, -0.0130204688757658, -0.00858420878648758, -0.036525022238492966, 0.07750952243804932, 0.02064613066613674, -0.008204247802495956, -0.08125704526901245, 0.02659093402326107, 0.022522831335663795, 0.02612045407295227, -0.03426413610577583, -0.05900266766548157, -0.016251198947429657, -0.006350128445774317, 0.012028093449771404, 0.03186345845460892, -0.03781569004058838, 0.013900619931519032, -0.17113861441612244, 0.0017192434752359986, 0.00971678551286459, 0.03007376566529274, -0.014526721090078354, 0.02128266543149948, 0.06137840449810028, 0.016626758500933647, 0.0071930354461073875, -0.014754783362150192, 0.03008660487830639, 0.014059405773878098, 0.01858358643949032, -0.03277548775076866, -0.027403442189097404, 0.02108464390039444, -0.00014219435979612172, 0.014889475889503956, -0.03217660263180733, -0.043009430170059204, 0.001073656021617353, -0.035620201379060745, -0.020427674055099487, -0.027602504938840866, -0.03575076162815094, -0.0074288686737418175, 0.03424075245857239, 0.015352248214185238, 0.06804685294628143, 0.0014410661533474922, -0.0007132309838198125, 0.027708612382411957, -0.028682120144367218, -0.13802054524421692, 0.07341831922531128, 0.06560501456260681, 0.05133518949151039, -0.07526614516973495, -0.016794968396425247, 0.0038770304527133703, 0.09280535578727722, 0.016683613881468773, -0.026386873796582222, -0.01421715971082449, 0.011173497885465622, 0.023610606789588928, 0.008039336651563644, 0.004971934016793966, 0.03975212946534157, -0.0004679650883190334, -0.05673174560070038, 0.008281481452286243, -0.0002761819923762232, -0.03878464549779892, 0.001150435651652515, -0.05017722025513649, 0.039621561765670776, 0.0002849383163265884, 0.06830015033483505, 0.04429534450173378, 0.02768612466752529, 0.04843364655971527, -0.009069533087313175, 0.030937405303120613, -0.018259208649396896, -0.07007047533988953, -0.014429931528866291, 0.004539197310805321, 0.025341102853417397, -0.0441841185092926, 0.4573604166507721, -0.022991005331277847, 0.0020188353955745697, 0.09548365324735641, 0.040542326867580414, -0.016599204391241074, -0.0002591800002846867, 0.007861633785068989, -0.0345422625541687, 0.04473672807216644, -0.002804690273478627, 0.03962821513414383, 0.03115840256214142, 0.07804642617702484, -0.04693188518285751, 0.01283423975110054, 0.031322773545980453, -0.016490498557686806, 0.01610689051449299, -0.024048779159784317, -0.029753979295492172, -0.018103931099176407, 0.021008646115660667, 0.042639486491680145, 0.005328334402292967, -0.02668824791908264, -0.022511690855026245, 0.044967424124479294, 0.0343489833176136, 0.01086986530572176, -0.011079104617238045, 0.05790723115205765, -0.057470280677080154, -0.04235436022281647, -0.0015877411933615804, 0.0188517477363348, -0.0033076899126172066, 0.0387495756149292, -0.02333841845393181, 0.0008957225363701582, 0.051730550825595856, 0.0157138891518116, 0.02234138734638691, 0.011927926912903786, -0.04717368632555008, -0.0360853411257267, 0.12088511884212494, 0.06084751337766647, -0.04523845016956329, -0.01671680249273777, -0.022521236911416054, -0.004097144119441509, 0.023648351430892944, 0.026141006499528885, -0.061998698860406876, 0.04194095730781555, 0.0039701624773442745, 0.08028381317853928, 0.0074825226329267025, -0.06863633543252945, 0.00956016220152378, -0.009028211236000061, -0.005082753952592611, -0.0715102106332779, 0.05867703631520271, 0.07740800082683563, -0.12324885278940201, -0.015976015478372574, -0.015672894194722176, 0.042766373604536057, -0.0565108098089695, -0.03429918363690376, 0.013090324588119984, -0.010777026414871216, -0.026103079319000244, 0.07896196097135544, -0.04062594473361969, -0.05214352160692215, 0.013394198380410671, 0.052678607404232025, 0.008594873361289501, 0.02569877915084362, 0.0065619307570159435, -0.009158985689282417, -0.00948538351804018, -0.04341429844498634, -0.07355552911758423, -0.031224394217133522, -0.005758744198828936, -0.047142114490270615, -0.006294346414506435, -0.02657190151512623, 0.0005844256957061589, -0.06171249598264694, 0.10327132046222687, -0.02789476327598095, -0.041585132479667664, 0.008914590813219547, -0.008099431172013283, -0.04018699377775192, -0.015014235861599445, -0.06460392475128174, 0.010195504873991013, -0.05550370737910271, 0.023889688774943352, -0.04860319942235947, 0.045096661895513535, 0.0411648266017437, -0.036046020686626434, 0.09011210501194, 0.08266624063253403, -0.024174774065613747, -0.03718050569295883, 0.035114385187625885, 0.02307676523923874, 0.002502674702554941, 0.00482165114954114, 0.020895086228847504, 0.014686674810945988, -0.014903722330927849, 0.008261741138994694, 0.005830080714076757, 0.023777810856699944, -0.04620397090911865, -0.33499881625175476, -0.04567307233810425, -0.042319945991039276, -0.01313033141195774, 0.0382363423705101, -0.037523917853832245, 0.014324774034321308, -0.029699070379137993, -0.02478034235537052, -0.006038489751517773, 0.07080571353435516, -0.031742095947265625, 0.01244711596518755, -0.06630469113588333, 0.008351617492735386, -0.004901593085378408, -0.0275580994784832, -0.027586376294493675, -0.044018615037202835, 0.00010312959784641862, 0.0001743440079735592, 0.010633270256221294, -0.020702585577964783, -0.0518069826066494, -0.036896660923957825, -0.06283446401357651, 0.10079780220985413, -0.02018360234797001, 0.09562882035970688, -0.007046662736684084, 0.012587791308760643, 0.000788354140240699, 0.026253335177898407, -0.0996357649564743, 0.004007540177553892, 0.006770056206732988, 0.028283212333917618, -0.047671109437942505, 0.005662218667566776, -0.040971413254737854, -0.05067748576402664, 0.017641950398683548, -0.06796494126319885, -0.035717714577913284, -0.06521099805831909, 0.00594790605828166, -0.05633539333939552, -0.014131678268313408, -0.03169257566332817, 0.06532947719097137, 0.020621854811906815, 0.002518332563340664, 0.013523131608963013, -0.010396537370979786, -0.00433217640966177, -0.03450654074549675, -0.07000094652175903, 0.038860730826854706, -0.00275785056874156, -0.0019357657292857766, 0.02273118495941162, 0.05466581508517265, 0.019767997786402702, -0.042808011174201965, 0.0002935560478363186, 0.0023988308385014534, 0.011478937231004238, 0.021424300968647003, 0.03910715878009796, -0.010280855000019073, 0.004565144423395395, 0.08998703211545944, 0.011577891185879707, -0.035074811428785324, 0.0154494047164917, 0.018841881304979324, -0.019338296726346016, 0.00914985965937376, 0.006145466584712267, 0.007572023663669825, 0.01186321023851633, -0.018577678129076958, 0.02597040869295597, -0.006126916501671076, -0.021250823512673378, 0.02443731762468815, -0.02790817804634571, -0.07198122143745422, 0.039167098701000214, 0.017593709751963615, -0.014723301865160465, 0.009366233833134174, -0.037968531250953674, -0.05592235177755356, 0.1146920844912529, -0.005192900076508522, -0.23266570270061493, 0.02576868049800396, 0.06543081998825073, 0.023721765726804733, -0.028722021728754044, 0.04133133217692375, 0.04237017035484314, -0.03633661940693855, 0.04572131484746933, 0.04055701568722725, -0.003496915800496936, 0.01460210606455803, -0.01071163360029459, 0.009757016785442829, 0.049480170011520386, -0.015199119225144386, 0.040889762341976166, -0.016460802406072617, 0.03106492944061756, -0.006911229342222214, -0.005386733915656805, 0.01109784934669733, 0.12934041023254395, 0.01266695000231266, 0.017035389319062233, 0.020734790712594986, -0.01659947633743286, 0.01404017023742199, 0.06178136169910431, 0.004386280197650194, 0.02148354798555374, -0.011283165775239468, 0.015325305052101612, -0.007966162636876106, 0.020401891320943832, -0.08602587133646011, -0.03315817564725876, 0.0472601056098938, 0.020376503467559814, 0.011448269709944725, 0.020648708567023277, -0.007576821371912956, -0.00035526620922610164, 0.021927576512098312, 0.07742522656917572, 0.003901832504197955, -0.01041415799409151, -0.04384166747331619, -0.05239628255367279, -0.006341272033751011, -0.05876509100198746, -0.03021358884871006, 0.023119434714317322, -0.008345521986484528, 0.01728171296417713, 0.08398696780204773, 0.03834164887666702, -0.03574201837182045, -0.02511032111942768, -0.014594393782317638, -0.011030685156583786, -0.03983501344919205, 0.1075628325343132, 0.02268834412097931, 0.0511157363653183 ]
[ 0.0008417482022196054, 0.02487168274819851, 0.0006826894823461771, 0.00948425941169262, 0.002085472922772169, 0.03019861876964569, -0.005160410422831774, 0.024880437180399895, -0.0022259920369833708, 0.02381596900522709, -0.027232829481363297, -0.00013712115469388664, 0.0013409808743745089, 0.0017711373511701822, 0.010188944637775421, 0.009581743739545345, -0.027069956064224243, -0.02667570300400257, 0.0300087071955204, -0.00542363990098238, -0.010818828828632832, 0.010578124783933163, -0.017185835167765617, 0.022873753681778908, -0.004598237108439207, 0.03235810250043869, -0.032034244388341904, 0.00695990864187479, 0.021245401352643967, -0.11923199146986008, -0.029101379215717316, 0.000694266811478883, 0.005915689282119274, -0.031237483024597168, 0.03766743466258049, 0.012430735863745213, 0.0037279094103723764, -0.014775937423110008, -0.001780768041498959, -0.014064733870327473, 0.01590566523373127, -0.013328790664672852, -0.0029351997654885054, 0.013251771219074726, -0.01605958119034767, 0.018670514225959778, 0.031100960448384285, -0.047153133898973465, -0.024017494171857834, -0.01043127104640007, -0.0012162515195086598, -0.025653475895524025, 0.0005094493390060961, -0.017331290990114212, 0.025313034653663635, 0.0068535152822732925, 0.03249213844537735, -0.013089901767671108, 0.016561031341552734, -0.040211185812950134, 0.0025342304725199938, -0.04502181336283684, -0.06723948568105698, -0.017482977360486984, -0.006648101843893528, 0.008590043522417545, -0.04947156459093094, 0.037128981202840805, -0.042800188064575195, 0.007206002715975046, 0.0075285169295966625, 0.002155344933271408, -0.02841491997241974, -0.03026467189192772, -0.00985658261924982, -0.015372823923826218, 0.04156150668859482, 0.02266199328005314, -0.0001142701948992908, 0.009531100280582905, -0.030648529529571533, 0.03855466470122337, -0.01860659569501877, -0.017312580719590187, -0.033254582434892654, -0.02436073310673237, 0.03998739644885063, -0.008332701399922371, 0.031518999487161636, -0.013680307194590569, -0.035338591784238815, 0.013253699988126755, -0.005548813845962286, 0.015328739769756794, -0.06951714307069778, -0.017738424241542816, -0.02000577375292778, -0.04648706689476967, 0.014702392742037773, 0.8427000045776367, 0.008966849185526371, 0.03241772577166557, 0.0383329801261425, 0.028199316933751106, 0.020165761932730675, 0.0024969810619950294, -0.01363151241093874, 0.017448490485548973, 0.0223196130245924, -0.03729701787233353, 0.007772962562739849, 0.015501785092055798, 0.04040174558758736, 0.025904497131705284, 0.03774494305253029, 0.019028307870030403, -0.018034398555755615, 0.004058268386870623, -0.04464048147201538, 0.005050668492913246, 0.0307554230093956, 0.008805882185697556, 0.02128460630774498, 0.010255975648760796, 0.021442584693431854, -0.1451118141412735, -0.004289316479116678, -8.385438910100698e-33, 0.0227158535271883, -0.013240759260952473, 0.007135306019335985, -0.013802404515445232, 0.054016195237636566, -0.025143984705209732, 0.02490677498281002, 0.01492722611874342, -0.01706325262784958, -0.02454027719795704, -0.007063159719109535, -0.023979520425200462, -0.016132300719618797, -0.006026598159223795, 0.027784138917922974, -0.05554499477148056, 0.009122167713940144, 0.02385682240128517, -0.0129433898255229, 0.03024524636566639, 0.029279673472046852, -0.0022236730437725782, -0.04008231312036514, 0.0064864689484238625, 0.032201796770095825, -0.004880056716501713, 0.03126291185617447, 0.016004949808120728, -0.007108982652425766, -0.04507322236895561, -0.02795550972223282, 0.04025011137127876, -0.000020823759768973105, -0.04794501140713692, -0.008036062121391296, -0.03271165117621422, -0.02823113277554512, 0.010198241099715233, 0.009410230442881584, -0.027875781059265137, -0.03231704980134964, 0.0023057726211845875, -0.02917519211769104, -0.007981687784194946, -0.03206716850399971, -0.01811649091541767, 0.025964878499507904, 0.012439270503818989, 0.035880472511053085, -0.008726445958018303, 0.010945278219878674, 0.001170003553852439, 0.00697782589122653, 0.01485952828079462, 0.028721431270241737, 0.002328762784600258, -0.023219073191285133, -0.020801130682229996, 0.012728112749755383, 0.019813701510429382, 0.006871165242046118, -0.0038157692179083824, -0.04438689723610878, 0.01604771986603737, -0.03830822557210922, 0.008062716573476791, 0.022512195631861687, 0.01857651397585869, 0.027361661195755005, -0.0158521831035614, -0.08485868573188782, -0.0027369181625545025, -0.007881803438067436, 0.006060173735022545, 0.015467409044504166, 0.002268801676109433, 0.02477862499654293, 0.05316556245088577, -0.011957201175391674, 0.03806086257100105, -0.01667122356593609, -0.0014433402102440596, -0.0067822495475411415, -0.04628269746899605, -0.0021128985099494457, 0.030724208801984787, 0.012493249960243702, -0.01666400022804737, -0.010467099025845528, 0.007548457942903042, 0.024554802104830742, -0.0017814503517001867, -0.005966906901448965, 0.0016338024288415909, -0.021562406793236732, 9.169359194932788e-33, -0.005019939970225096, -0.030314473435282707, -0.034447286278009415, 0.012295639142394066, 0.03662606328725815, -0.021132314577698708, 0.009536746889352798, 0.0016249134205281734, -0.04769475758075714, 0.04120640456676483, -0.036254607141017914, 0.025232339277863503, -0.05196958780288696, -0.002138466341421008, 0.047327060252428055, -0.044010668992996216, 0.059693343937397, -0.058437757194042206, 0.07149011641740799, -0.004999670200049877, 0.01467875950038433, 0.005028738174587488, -0.015619834885001183, -0.05730258673429489, 0.025754082947969437, 0.08904556185007095, -0.016856925562024117, 0.015702402219176292, 0.012794922105967999, -0.03495674952864647, -0.007343521807342768, -0.01490301825106144, -0.019782600924372673, 0.0008177474373951554, -0.021065445616841316, 0.003879402531310916, -0.011301923543214798, 0.0028550508432090282, 0.00153921393211931, 0.022690488025546074, 0.0035732598043978214, 0.008518374525010586, 0.0006047272472642362, 0.024815844371914864, 0.0013748131459578872, 0.021754587069153786, -0.00008841921226121485, -0.024760311469435692, -0.02143654227256775, 0.015794211998581886, -0.0020805152598768473, 0.029164794832468033, 0.0008788874256424606, 0.023412911221385002, -0.009469541721045971, -0.05722340568900108, 0.022714218124747276, -0.034094441682100296, -0.028839824721217155, 0.003012843197211623, 0.0037532164715230465, -0.00038875386235304177, 0.00654772762209177, 0.015273239463567734, -0.03834172710776329, 0.011154218576848507, 0.016312558203935623, 0.03971254453063011, -0.010435327887535095, -0.008646133355796337, -0.027060946449637413, 0.01638328842818737, 0.020815368741750717, 0.028162337839603424, 0.014531170018017292, -0.002470563165843487, -0.052363213151693344, 0.003830976551398635, -0.009729699231684208, 0.016283618286252022, -0.006807589903473854, 0.048679567873477936, 0.01664455607533455, -0.000993237947113812, -0.028389709070324898, 0.030960608273744583, -0.028010331094264984, 0.010302238166332245, -0.0032079725060611963, -0.004726734943687916, -0.03207790106534958, -0.04426509514451027, 0.0000326536683132872, 0.031611911952495575, -0.00703851692378521, -1.4034914563865186e-8, -0.03261631727218628, 0.026415439322590828, -0.014528823085129261, -0.025305401533842087, 0.01647365279495716, -0.011181068606674671, -0.008945291861891747, 0.03238542750477791, 0.016464216634631157, 0.009449117816984653, 0.05668514594435692, -0.03880290687084198, 0.0019918284378945827, 0.040576446801424026, -0.005725191906094551, -0.03433831036090851, 0.0096627501770854, 0.01981179416179657, 0.030474362894892693, -0.012400690466165543, 0.02141387015581131, 0.09187670797109604, -0.01198758464306593, 0.01056292001157999, 0.0006354820798151195, 0.005451459903270006, -0.0124601349234581, -0.04371614381670952, -0.007673264946788549, 0.017573712393641472, 0.032907843589782715, -0.015390077605843544, -0.029810333624482155, 0.06055523455142975, -0.028336888179183006, -0.04182462394237518, 0.04518545791506767, 0.022239351645112038, -0.013120771385729313, 0.009746063500642776, -0.008258632384240627, -0.0023056641221046448, 0.001245570252649486, -0.014701190404593945, -0.02189953438937664, 0.017090557143092155, -0.012082868255674839, -0.00021384625870268792, 0.011182316578924656, -0.05849504843354225, 0.016334332525730133, -0.013526559807360172, 0.02922189235687256, 0.033633314073085785, 0.02063463255763054, 0.002726680366322398, -0.014019952155649662, -0.03462119773030281, -0.052563682198524475, 0.004296265542507172, -0.011419754475355148, 0.015257095918059349, 0.01564810425043106, -0.009409533813595772 ]
qtb-agile-governance-managing-the-enterprise-issues
https://markhneedham.com/blog/2009/10/01/qtb-agile-governance-managing-the-enterprise-issues
false
2009-10-06 23:37:52
Book Club: Integration tests are a scam (J.B. Rainsberger)
[ "book-club", "integration-tests" ]
[ "Book Club" ]
In our latest book club we discussed J.B. Rainsberger's presentation from Agile 2009 titled 'http://www.infoq.com/presentations/integration-tests-scam[Integration tests are a scam]'. These are some of my thoughts and our discussion of the video: * While talking about how to write interaction tests he suggests that *we should only be looking to create interfaces for Domain Driven Design services*. If we find ourselves wanting to create interfaces for entities or value objects then we probably have a service wanting to get out. We should try to extract that responsibility out into a service. I'm intrigued as to how repositories and factories would fit into this picture as I'm not sure whether they count as services, entities or value types. I've worked on code bases where we've created interfaces for them but I don't know if that means they would be services or that we did something wrong. There also seem to be varying schools of thought on whether or not we should tests these types of things directly or whether we should just make use of them in our code and judge their correctness that way. * Rainsberger's main gripe seems to be with+++<strong>+++tests which cover more than one interesting behaviour+++</strong>+++ and he identifies the slow feedback and complexity of test setup as being undesired consequences of this approach. My feeling is that he was mainly referring to tests written directly from the UI although several colleagues suggested that tests where we call the code directly while using several real objects had the characteristics of the integration tests that Rainsberger dislikes. Ayende is having some success with what he coins 'http://ayende.com/Blog/archive/2009/09/28/even-tests-has-got-to-justify-themselves.aspx[system oriented tests]' which sound similar to the latter so there might be something in this approach. * Rainsberger's solution for testing our systems thoroughly is to make use of *contract and interaction tests* - the former testing the real implementation of services and the latter the way that our objects work together with each other. Essentially making use of http://martinfowler.com/articles/mocksArentStubs.html[mocking] as far as I understand. He also suggests the need for a tool which would be able to indicate that every interaction test we write has a corresponding contract test which sounds quite similar to the http://code.google.com/p/nsynthesis/[NSynthesis] tool that a couple of my colleagues have worked on. This tool only tests that we do have a contract test for each mock rather than testing with the exact parameters used in our interaction tests as Rainsberger describes. If I understand this correctly then that would seem to result in a lot of tests! I think we still need some integration tests that go through the user interface particularly if we are writing javascript heavy front ends - from my experience only using unit tests doesn't take us the whole way to having confidence that this type of code works. It is perhaps useful as a rule of thumb to test the happy path of pieces of functionality through integration tests and try and test the edge cases from tests that sit further down. * I like the idea that *acceptance tests are supposed to be clarifying requirements and not testing correctness* although it seems to be really easy to cross the line where they do end up verifying the correctness of our application. Rainsberger has an interesting post on his blog where he http://www.jbrains.ca/permalink/284[goes through the feedback he received] from the talk. I'm not sure if I totally understand contract tests at the moment - there is http://jbrains.ca/permalink/281[a post on Rainsberger's blog] which explains it a bit more and my colleague Danilo Sato wrote http://www.markhneedham.com/blog/2009/09/18/tdd-testing-with-generic-abstract-classes/#comment-22678[a comment on a post I wrote] about using generic abstract classes for testing suggesting that this approach is similar to the one Rainsberger is advocating.
null
null
[ 0.020607206970453262, 0.016950814053416252, -0.007139954250305891, 0.06556911766529083, 0.0868276059627533, 0.000451680418336764, 0.03166990354657173, 0.027568437159061432, 0.03595535829663277, -0.015803014859557152, -0.008587479591369629, 0.018803369253873825, -0.06095976009964943, 0.008434825576841831, -0.026500124484300613, 0.06829899549484253, 0.058080412447452545, -0.00604681670665741, 0.046997446566820145, 0.006485502701252699, 0.024403182789683342, 0.06285613775253296, 0.020086396485567093, 0.047409649938344955, 0.031978901475667953, 0.01687093824148178, 0.027074960991740227, 0.003249363973736763, -0.06214335933327675, -0.011423884890973568, 0.04257473349571228, 0.003906718920916319, -0.0013674297370016575, -0.02567535638809204, 0.010874553583562374, -0.0045259809121489525, -0.021705569699406624, 0.019144508987665176, -0.00013054447481408715, 0.0037099968176335096, -0.06335578858852386, 0.04962840676307678, -0.008287976495921612, 0.011487116105854511, -0.04239872843027115, 0.003550299210473895, -0.03400271758437157, 0.013587088324129581, -0.009638272225856781, 0.005779707338660955, -0.06257270276546478, 0.03615181893110275, -0.02895316109061241, -0.0006574650178663433, -0.010890337638556957, 0.035002537071704865, 0.011041391640901566, -0.07358471304178238, 0.017075227573513985, -0.059037331491708755, -0.011361587792634964, -0.014716709963977337, -0.005781810265034437, 0.03170011565089226, 0.03485751152038574, -0.03143274784088135, -0.006507012993097305, 0.031017376109957695, -0.044325511902570724, -0.015548938885331154, -0.005744121037423611, 0.012911185622215271, -0.01632196456193924, -0.012405822053551674, 0.0073476326651871204, -0.06027684360742569, -0.011434601619839668, 0.05183028802275658, 0.017040010541677475, 0.02373778074979782, -0.0256061814725399, 0.032810360193252563, 0.024425476789474487, 0.015283741988241673, -0.038245510309934616, -0.04915894195437431, -0.005996171850711107, 0.012479993514716625, -0.04376499727368355, 0.06399210542440414, 0.016699261963367462, -0.07773251831531525, 0.018713245168328285, 0.046726759523153305, -0.003175766672939062, 0.018057795241475105, 0.02447587065398693, 0.005148051306605339, -0.0020366248209029436, -0.011194370687007904, -0.020022308453917503, -0.000612953444942832, 0.0114186592400074, 0.02102763019502163, -0.06837576627731323, -0.0042230356484651566, -0.027465159073472023, -0.0396316722035408, -0.01426842249929905, 0.02030169777572155, -0.05207405611872673, 0.014124326407909393, -0.008091062307357788, -0.000430943415267393, -0.07587676495313644, 0.07777414470911026, 0.005103996489197016, -0.03932545334100723, 0.0031598005443811417, 0.033199962228536606, 0.046161189675331116, 0.015778424218297005, -0.028121251612901688, 0.07513090968132019, 0.03644183278083801, 0.014083227142691612, -0.04368407279253006, 0.06222216784954071, -0.019294237717986107, -0.05771835148334503, -0.005664778873324394, 0.04044372960925102, -0.026461953297257423, -0.012783248908817768, -0.0037091400008648634, -0.02186262048780918, 0.01365489698946476, 0.0014639671426266432, 0.027683647349476814, 0.04994583502411842, -0.008141715079545975, -0.03501861169934273, 0.015119941905140877, 0.005422238726168871, 0.023042017593979836, -0.000005182504082767991, 0.0002801440132316202, -0.013404113240540028, -0.03205982968211174, 0.009897701442241669, 0.0019294914091005921, 0.03216692805290222, 0.030011609196662903, -0.02453358843922615, 0.030444758012890816, 0.08869487047195435, 0.0263512022793293, 0.018049638718366623, -0.011291216127574444, 0.03099159337580204, 0.036394525319337845, 0.03574756160378456, 0.020644716918468475, 0.009246944449841976, 0.029515087604522705, 0.0006394421216100454, -0.03388292342424393, 0.04313075542449951, 0.0006070713279768825, -0.005563033744692802, -0.07076235115528107, -0.06251194328069687, 0.049472879618406296, -0.04599976912140846, -0.02015221305191517, 0.04042241349816322, 0.08831188827753067, 0.029699791222810745, 0.03192857280373573, 0.006307924631983042, -0.07826396822929382, 0.0028002650942653418, 0.02547837421298027, 0.011936107650399208, 0.02591579779982567, -0.012301068753004074, 0.06303516030311584, 0.034849487245082855, -0.014312011189758778, 0.06651818007230759, -0.07907978445291519, -0.0880730003118515, -0.009400850161910057, -0.023841537535190582, 0.050489794462919235, -0.03618437424302101, -0.0027091430965811014, 0.07209767401218414, 0.01322851050645113, 0.027234412729740143, 0.0257194135338068, 0.003748105140402913, 0.013997077941894531, -0.03218277171254158, -0.021490642800927162, 0.03959190100431442, 0.04916946589946747, 0.003466604743152857, -0.06284753978252411, -0.009652925655245781, 0.007283530198037624, -0.017336701974272728, 0.046946555376052856, -0.018052183091640472, 0.03544486314058304, 0.008378081023693085, 0.05159376189112663, -0.02783702313899994, 0.05717553198337555, -0.05687825381755829, 0.0056362939067184925, -0.013604717329144478, -0.022757919505238533, 0.005288295913487673, -0.017485521733760834, 0.10671937465667725, 0.054037030786275864, -0.03980528935790062, -0.031509287655353546, 0.010799553245306015, 0.008303533308207989, -0.04136284440755844, 0.007667057681828737, -0.034300390630960464, 0.017866749316453934, -0.007533693220466375, -0.04964074492454529, -0.020591380074620247, 0.0259536225348711, -0.034577589482069016, -0.0011704701464623213, 0.07084531337022781, -0.016369668766856194, 0.05888000875711441, -0.006520404014736414, -0.01431131549179554, -0.028575368225574493, -0.01826019398868084, -0.05610121041536331, 0.015509222634136677, 0.030769892036914825, -0.008877848275005817, 0.05330270156264305, -0.03922252357006073, -0.03222626447677612, -0.014572462067008018, -0.04101564735174179, 0.02386554144322872, 0.0432380735874176, 0.06616037338972092, -0.0012153272982686758, 0.047437943518161774, -0.008018853142857552, 0.032767362892627716, 0.0015734051121398807, -0.0446295291185379, -0.02740962989628315, -0.017759747803211212, -0.024205075576901436, 0.029293010011315346, 0.011175011284649372, 0.025438806042075157, 0.026319604367017746, -0.011909482069313526, -0.018743544816970825, -0.002820174675434828, 0.012155503034591675, 0.022075261920690536, -0.01862548291683197, -0.009870121255517006, -0.040929291397333145, 0.0484834760427475, -0.047431617975234985, -0.018603261560201645, 0.012197386473417282, -0.08638185262680054, 0.03188083693385124, -0.07134109735488892, -0.04845167696475983, -0.006549993995577097, 0.04109658673405647, 0.04358873888850212, 0.006404641550034285, 0.02081909403204918, 0.0596584789454937, 0.0171805452555418, 0.009502663277089596, 0.012813973240554333, -0.015159406699240208, 0.0338103212416172, 0.01003196369856596, -0.010832165367901325, 0.04260218143463135, 0.011981935240328312, 0.037103019654750824, -0.06484568119049072, 0.04940576106309891, -0.047340843826532364, -0.29078540205955505, 0.019798558205366135, 0.01556742936372757, -0.04949982091784477, 0.024010568857192993, -0.009225727058947086, 0.01856759563088417, -0.0627194494009018, -0.026743218302726746, 0.037316277623176575, -0.04670984297990799, -0.038945745676755905, -0.01692885160446167, 0.040187545120716095, 0.0073959059081971645, 0.03262580558657646, 0.03658723458647728, -0.02180858701467514, 0.02232164703309536, 0.0549711138010025, -0.02403482422232628, -0.08562778681516647, 0.0077853454276919365, 0.02745000272989273, 0.03051852062344551, 0.04768228158354759, -0.08751796931028366, 0.04080737382173538, -0.028046829625964165, 0.002015153644606471, 0.015342007391154766, 0.0024437238462269306, -0.018874961882829666, -0.022488238289952278, -0.004586957860738039, -0.0036471192725002766, 0.03364557400345802, -0.0042511397041380405, -0.02444845251739025, 0.008935894817113876, -0.010938639752566814, -0.030140114948153496, 0.0014459306839853525, 0.014704941771924496, 0.06222473829984665, -0.0066331978887319565, -0.06569915264844894, 0.004139457829296589, -0.03669407218694687, 0.08937743306159973, -0.03916912525892258, -0.02927233837544918, 0.0033169067464768887, 0.0527869276702404, -0.03405560925602913, -0.036733370274305344, -0.009104118682444096, -0.020740769803524017, -0.05669987574219704, -0.019997145980596542, -0.03430122137069702, -0.02697664499282837, -0.020780790597200394, -0.028433090075850487, -0.0029096934013068676, -0.06737024337053299, -0.06348887085914612, -0.01778273843228817, 0.06806112080812454, -0.015996254980564117, -0.03124089352786541, 0.02178005687892437, 0.01002404186874628, -0.120993971824646, 0.019565170630812645, -0.013281385414302349, -0.025438372045755386, -0.0228886678814888, 0.01570790261030197, 0.04247681796550751, -0.036436527967453, -0.05937354639172554, 0.016486844047904015, -0.002095719799399376, 0.038802485913038254, -0.013016212731599808, 0.03308611363172531, 0.01544581912457943, -0.0371827557682991, 0.014986093156039715, 0.06798605620861053, -0.0017888480797410011, -0.011283157393336296, -0.023544317111372948, 0.01899651810526848, 0.03140938654541969, 0.03155505284667015, 0.0016452831914648414, -0.0030503496527671814, 0.033111415803432465, -0.0006636912585236132, -0.05787007138133049, 0.03665496036410332, -0.015073856338858604, 0.013557915575802326, -0.022611454129219055, -0.05265242978930473, 0.019960038363933563, 0.036737993359565735, 0.025499587878584862, -0.014190026558935642, -0.0444195419549942, -0.003795728785917163, -0.056479305028915405, -0.0615115612745285, -0.011765094473958015, -0.003612469183281064, 0.05373159795999527, -0.025066830217838287, -0.015834422782063484, -0.04247871786355972, 0.010999235324561596, 0.0108146071434021, -0.01108108926564455, -0.04741056263446808, -0.026733485981822014, -0.02563288062810898, 0.006587693002074957, 0.017655260860919952, 0.013588150963187218, -0.007604839745908976, 0.022318223491311073, 0.0094060730189085, -0.04683325067162514, 0.016689740121364594, -0.009439888410270214, -0.06322664767503738, -0.011208930052816868, -0.008125661872327328, -0.0227685384452343, -0.0011990608181804419, 0.007058604154735804, 0.019008303061127663, 0.025219319388270378, 0.01701299101114273, 0.006304607260972261, 0.028911368921399117, -0.00039503563311882317, 0.03798891231417656, 0.02259795367717743, 0.020170390605926514, -0.07209254056215286, 0.018044855445623398, -0.03499924764037132, -0.026337798684835434, -0.026622086763381958, 0.04788335785269737, -0.010232034139335155, -0.01988656260073185, -0.018960483372211456, 0.017619851976633072, -0.054942887276411057, -0.026315033435821533, -0.029159236699342728, 0.05175529792904854, 0.07006241381168365, -0.014564776793122292, 0.017330577597022057, -0.014443734660744667, -0.03149699419736862, -0.006070061586797237, 0.014983577653765678, -0.032986827194690704, 0.027170993387699127, 0.034515704959630966, 0.004743548110127449, -0.004651897121220827, -0.010404237546026707, 0.05951148271560669, 0.026303771883249283, 0.012600818648934364, -0.042577002197504044, 0.01375547144562006, 0.0038521282840520144, 0.057081568986177444, 0.010075611062347889, -0.009968013502657413, -0.006133695133030415, -0.021671820431947708, -0.013834869489073753, -0.04219014570116997, -0.004743432160466909, 0.01463842112571001, 0.017737790942192078, -0.04125528037548065, -0.08846607059240341, 0.056219130754470825, 0.00391771225258708, 0.01329799834638834, 0.006682959385216236, 0.017904456704854965, 0.006388326175510883, -0.013302373699843884, 0.03857598081231117, 0.051952164620161057, -0.0633430927991867, -0.009984496980905533, -0.013918239623308182, -0.000982767902314663, 0.012931063771247864, 0.010874786414206028, -0.04405636712908745, -0.03539320454001427, -0.0031555909663438797, -0.025208985432982445, -0.04553227871656418, -0.010453485883772373, -0.03791750967502594, 0.01164670567959547, 0.0121073042973876, -0.022677689790725708, -0.012788023799657822, -0.018173296004533768, -0.018907662481069565, -0.022758284583687782, 0.012038186192512512, -0.030491020530462265, -0.005961354821920395, -0.0009456340922042727, -0.043963849544525146, 0.00800702627748251, -0.03783869370818138, 0.01809161715209484, 0.012555889785289764, -0.03613551706075668, -0.0008872671751305461, -0.04221564531326294, 0.0048905969597399235, 0.012028390541672707, 0.018897756934165955, -0.004568443633615971, -0.01118212565779686, -0.030252501368522644, -0.006957645062357187, -0.037795715034008026, 0.020550282672047615, -0.0038905180990695953, -0.00682359142228961, 0.019429702311754227, 0.05897178873419762, 0.007884534075856209, 0.03881225734949112, -0.012525652535259724, 0.00721045071259141, 0.04937884211540222, -0.0884508341550827, -0.01318375300616026, -0.04900201037526131, -0.07822183519601822, -0.020437682047486305, 0.0052622281946241856, 0.021580608561635017, -0.013638131320476532, 0.02856297791004181, 0.024803871288895607, 0.03200110048055649, 0.04155800864100456, 0.015001305378973484, 0.031890302896499634, -0.055443957448005676, -0.001733486307784915, -0.0819501131772995, 0.016908911988139153, 0.023541273549199104, -0.00047548956354148686, -0.02309866063296795, 0.0008169413194991648, -0.03841470181941986, 0.0725083202123642, -0.058941327035427094, -0.007777069695293903, 0.048785459250211716, -0.01622040383517742, -0.02023894339799881, 0.00703232130035758, -0.07310386747121811, 0.006828611716628075, 0.02780717983841896, -0.03489056974649429, -0.030051684007048607, -0.010221535339951515, 0.04419052600860596, 0.008114822208881378, 0.01605883240699768, -0.04914786294102669, -0.014578677713871002, 0.05844974145293236, -0.02371550165116787, 0.00007828526577213779, 0.03002094104886055, -0.000323314918205142, 0.03943374752998352, 0.026197727769613266, 0.0033960873261094093, -0.005433169659227133, -0.011027030646800995, -0.003965182229876518, -0.05133352056145668, 0.05266211926937103, -0.007544777821749449, -0.022510666400194168, -0.028133109211921692, 0.055695775896310806, 0.018119346350431442, -0.04121158644556999, -0.04845430329442024, 0.012652925215661526, -0.05224882811307907, -0.014338741078972816, -0.01656925305724144, -0.014407090842723846, -0.053329773247241974, 0.05824563652276993, -0.006910366006195545, 0.010111539624631405, 0.06083456054329872, 0.0013393776025623083, -0.012643315829336643, -0.03860523924231529, 0.08170571178197861, 0.10030943900346756, 0.05286301672458649, 0.020103303715586662, 0.05575832352042198, -0.022535335272550583, -0.04285867512226105, 0.012330775149166584, 0.0025691429618746042, -0.020752742886543274, -0.018741432577371597, -0.00308862398378551, 0.0598197840154171, -0.014375653117895126, 0.06186695396900177, -0.017795080319046974, -0.01868448033928871, 0.01432550884783268, 0.02444191463291645, 0.00723979203030467, 0.07314331084489822, 0.005207761190831661, 0.022458871826529503, -0.023926042020320892, -0.04514724761247635, 0.02616775594651699, -0.05460819974541664, -0.015022987499833107, 0.03275512158870697, 0.00048065613373182714, 0.02294231206178665, 0.003908191807568073, 0.046664729714393616, 0.07666803151369095, -0.03680438920855522, 0.019494693726301193, -0.004124683327972889, 0.016314176842570305, 0.006990340072661638, 0.009630842134356499, -0.02735287882387638, -0.02810906060039997, 0.00581203680485487, -0.02955983392894268, -0.01354227215051651, -0.012730997987091541, -0.03631504997611046, 0.06294427812099457, -0.010622559115290642, -0.006634689401835203, 0.04079467058181763, 0.0006111526163294911, -0.03219127282500267, -0.06806037575006485, -0.04104841873049736, -0.007315913215279579, -0.0583580918610096, -0.013691703788936138, 0.02362804487347603, -0.00030578748555853963, -0.02428841032087803, -0.002207060344517231, -0.007586875930428505, -0.01952715776860714, 0.06451255828142166, -0.058911215513944626, -0.03890588507056236, 0.012054858729243279, 0.0076191481202840805, 0.027669323608279228, -0.002920216880738735, 0.05112718045711517, 0.000603831373155117, -0.015396274626255035, -0.04065966606140137, 0.013548921793699265, 0.03358574956655502, 0.010268858633935452, 0.03060785122215748, -0.09313435852527618, 0.0009363722638227046, 0.02735178731381893, 0.010216319933533669, -0.06138342618942261, 0.02771085686981678, -0.007424825802445412, -0.01103808730840683, 0.04194897785782814, -0.0033121199812740088, 0.0056788381189107895, -0.010653289034962654, -0.015519154258072376, 0.014459026977419853, 0.03680343180894852, 0.03852751851081848, -0.014790872111916542, 0.09218138456344604, 0.018363220617175102, -0.01469388697296381, -0.047474902123212814, -0.0038016855251044035, 0.0027748208958655596, 0.011558670550584793, -0.014468095265328884, -0.03072979487478733, -0.031637098640203476, -0.07444055378437042, -0.04082820564508438, 0.021837901324033737, -0.01554787065833807, -0.005485166795551777, 0.02430952712893486, 0.03069380670785904, -0.021456565707921982, -0.004600685555487871, -0.05497084930539131, 0.04717268422245979, -0.022089172154664993, -0.013879109174013138, 0.02547849901020527, 0.010312770493328571, 0.0059301238507032394, -0.0005317726754583418, 0.012384208850562572, -0.057051800191402435, -0.006720338016748428, 0.006819155998528004, 0.036380086094141006, 0.055897314101457596, 0.018903367221355438, -0.014551837928593159 ]
[ -0.10260942578315735, -0.003030323889106512, -0.03152039274573326, -0.03388090431690216, 0.044775594025850296, -0.02754060924053192, 0.002170342253521085, 0.022994540631771088, -0.0011663108598440886, -0.0342637374997139, -0.005939821247011423, -0.0016106817638501525, -0.01299360767006874, -0.021673161536455154, 0.08546826988458633, 0.00466383108869195, 0.0013054453302174807, -0.0901539996266365, 0.025465838611125946, 0.051178932189941406, 0.01695254258811474, -0.04446844756603241, -0.05918116867542267, -0.023012403398752213, -0.006010979879647493, 0.03616653010249138, 0.03986487165093422, -0.025811659172177315, 0.014250095933675766, -0.20430806279182434, 0.026410894468426704, 0.015280509367585182, 0.039426542818546295, -0.02186642214655876, 0.02202448435127735, 0.03407064452767372, 0.012557432055473328, -0.0033545494079589844, -0.007274451199918985, 0.026190491393208504, 0.011374224908649921, 0.00447732163593173, -0.037797581404447556, -0.020118551328778267, 0.040263328701257706, -0.009237545542418957, 0.0040037306025624275, -0.0328424796462059, -0.03261871635913849, 0.008131437003612518, -0.037984877824783325, -0.03299658000469208, -0.008739533834159374, -0.010345561429858208, -0.02481970563530922, 0.03130662813782692, 0.030268440023064613, 0.08287250995635986, -0.01050014328211546, 0.029330875724554062, 0.011583482846617699, -0.03693266212940216, -0.13505496084690094, 0.08634050190448761, 0.05266725644469261, 0.06241875886917114, -0.046803466975688934, -0.026522010564804077, 0.003882403252646327, 0.058786872774362564, 0.00985216349363327, -0.020606402307748795, -0.02756882645189762, 0.05023925006389618, 0.009164860472083092, 0.02204924449324608, -0.0074662212282419205, 0.008158814162015915, 0.028306612744927406, -0.0474986657500267, -0.03974730148911476, -0.026238087564706802, -0.005221182014793158, 0.012481383979320526, -0.03157144412398338, 0.019535649567842484, -0.010499007068574429, 0.05621625855565071, 0.06147097796201706, 0.03448961675167084, 0.059507571160793304, -0.022647513076663017, 0.008539406582713127, 0.00044895356404595077, -0.05081687867641449, 0.0012747778091579676, -0.01515780296176672, -0.0053142220713198185, -0.04497713968157768, 0.46192601323127747, -0.013704742304980755, -0.02015153504908085, 0.05452519655227661, 0.02154802903532982, -0.006332869175821543, 0.007540333550423384, -0.005515765398740768, -0.07331465184688568, 0.026296118274331093, -0.023588193580508232, 0.011994646862149239, 0.017172474414110184, 0.057740822434425354, -0.03769240900874138, -0.012012983672320843, 0.037491895258426666, 0.004990772344172001, 0.004924926441162825, 0.003525614272803068, -0.03440263867378235, 0.007657488342374563, 0.0254531130194664, 0.01834036409854889, -0.0020295840222388506, -0.015917504206299782, -0.056938234716653824, 0.0263390950858593, 0.04663955047726631, -0.030938338488340378, -0.005521615035831928, 0.031096315011382103, -0.03304800018668175, -0.06206843629479408, -0.006875170860439539, 0.007286753039807081, 0.020988643169403076, 0.024973807856440544, 0.006716668140143156, 0.010366218164563179, 0.06726457178592682, 0.002713198773562908, -0.006940659135580063, 0.021145014092326164, -0.01630534417927265, -0.029780467972159386, 0.09093756973743439, 0.03309636563062668, -0.02024131640791893, -0.012159183621406555, -0.02550668828189373, 0.027038492262363434, 0.052922047674655914, -0.012073795311152935, -0.046693187206983566, 0.01622183434665203, -0.004783208481967449, 0.08763054758310318, -0.002013556193560362, -0.05777399241924286, 0.005807286128401756, -0.012271514162421227, -0.008952895179390907, -0.04183929041028023, 0.07421541213989258, 0.03544049710035324, -0.10955271124839783, -0.031442172825336456, 0.014345381408929825, 0.014446918852627277, -0.06169931963086128, -0.012952439486980438, 0.012005419470369816, -0.02190055511891842, -0.007772710639983416, 0.041158728301525116, -0.05410440266132355, -0.04358644038438797, 0.042430657893419266, 0.035265449434518814, 0.021377867087721825, 0.005483525339514017, 0.004166264086961746, -0.032013241201639175, 0.017610866576433182, -0.030848009511828423, -0.06131410226225853, -0.04839982092380524, -0.020877689123153687, -0.0458032600581646, -0.007531602866947651, -0.04255402833223343, 0.007136899512261152, -0.09246864169836044, 0.11356935650110245, -0.02012426033616066, -0.015435714274644852, 0.018488561734557152, -0.012922003865242004, -0.027504581958055496, -0.0185881145298481, -0.010558562353253365, 0.04636835306882858, -0.03630891814827919, 0.024383148178458214, -0.06595654040575027, 0.05926898121833801, 0.053810007870197296, -0.037436455488204956, 0.09865199774503708, 0.040379781275987625, -0.027064144611358643, -0.027663642540574074, 0.01631498709321022, 0.01985396444797516, -0.002278987318277359, -0.017941417172551155, 0.0275680311024189, 0.014785278588533401, 0.0006777012604288757, 0.012490801513195038, -0.027792399749159813, 0.025725478306412697, -0.03263173997402191, -0.33411791920661926, -0.05665560066699982, -0.035113949328660965, 0.010428830049932003, -0.0023886258713901043, -0.060583848506212234, 0.029741259291768074, 0.004164025187492371, -0.01445186696946621, 0.0005588454660028219, 0.06360665708780289, 0.007388236932456493, 0.010862518101930618, -0.07752252370119095, 0.017438000068068504, -0.0253016147762537, -0.04068692401051521, -0.029590139165520668, -0.04506511986255646, 0.009991085156798363, -0.027613690122961998, -0.013985225930809975, 0.008897850289940834, -0.03638305515050888, -0.005342600867152214, -0.059271976351737976, 0.0896887481212616, -0.005545818246901035, 0.08159839361906052, -0.024756120517849922, 0.028347991406917572, 0.007922363467514515, 0.044522982090711594, -0.08449257165193558, 0.017618749290704727, -0.0014010441955178976, -0.00020941460388712585, -0.01737237349152565, 0.039172831922769547, -0.04631773754954338, -0.07671016454696655, 0.00721857650205493, -0.03628988564014435, -0.045663982629776, -0.0582159087061882, -0.011133689433336258, -0.024407420307397842, -0.02531071938574314, -0.043602585792541504, 0.07053887844085693, 0.006485171150416136, -0.011893651448190212, 0.02472062222659588, 0.024832960218191147, -0.009068606421351433, -0.03781649097800255, -0.0715227946639061, -0.0022969127167016268, -0.0014272627886384726, -0.010127272456884384, 0.03458210825920105, 0.08215450495481491, 0.04717564955353737, -0.05019235983490944, 0.031100988388061523, -0.007743404246866703, -0.004411614034324884, -0.0013509010896086693, 0.05108761787414551, -0.02448577806353569, -0.02184324525296688, 0.10384583473205566, -0.009600300341844559, -0.005419858731329441, 0.00808626413345337, 0.04526315629482269, -0.010921423323452473, 0.0115740355104208, 0.019368618726730347, 0.005764949135482311, 0.0030930538196116686, 0.00299843680113554, 0.018346106633543968, -0.033256083726882935, -0.006255808286368847, 0.02751956507563591, -0.011531575582921505, -0.04822249338030815, 0.06365686655044556, -0.01779993623495102, -0.026888709515333176, 0.025485437363386154, -0.03226584568619728, -0.05095389112830162, 0.08704667538404465, 0.004923337139189243, -0.2505663335323334, -0.004938596859574318, 0.044337961822748184, 0.07576730102300644, -0.019331423565745354, 0.0061751664616167545, 0.022530240938067436, -0.0774426981806755, 0.021698931232094765, 0.01294594444334507, 0.049495913088321686, 0.007788726128637791, 0.019085710868239403, -0.0004360209568403661, 0.03195680305361748, 0.008421105332672596, 0.06572479009628296, -0.019560083746910095, 0.02444719709455967, -0.007638499606400728, 0.004646751563996077, 0.00010974471661029384, 0.1787286102771759, 0.010939141735434532, 0.024257788434624672, 0.03141786530613899, 0.028647691011428833, 0.005340234376490116, 0.07021261751651764, 0.008124823682010174, 0.012843474745750427, -0.016059858724474907, 0.004697227850556374, -0.006007394753396511, 0.02261923812329769, -0.07591108977794647, -0.017246423289179802, 0.006163054145872593, 0.0166026558727026, 0.006926714442670345, 0.023036884143948555, -0.014682992361485958, -0.024587880820035934, 0.03792513161897659, 0.04564373940229416, 0.04235094413161278, -0.014847698621451855, -0.04373328387737274, -0.020947368815541267, 0.0021217248868197203, -0.02476479299366474, -0.08401086926460266, 0.03000921569764614, -0.0240628644824028, 0.01923958957195282, 0.07942837476730347, 0.019200490787625313, -0.005458211060613394, -0.012728016823530197, -0.005848634522408247, 0.0008586595649830997, -0.020262448117136955, 0.10995399951934814, 0.04551771655678749, 0.022197511047124863 ]
[ -0.027531269937753677, -0.005804733838886023, -0.005116481799632311, 0.0004428112297318876, -0.024371668696403503, 0.017576802521944046, 0.02564253658056259, 0.014592536725103855, -0.00971857737749815, -0.005525185726583004, -0.021032925695180893, 0.016111738979816437, 0.034570835530757904, -0.01115458831191063, 0.038645658642053604, -0.008608277887105942, 0.058878641575574875, -0.01542190182954073, 0.04692191630601883, -0.005951283499598503, -0.009315145201981068, -0.00012474310642573982, -0.002623555948957801, -0.014420898631215096, -0.018272945657372475, 0.028619037941098213, 0.001253291149623692, 0.01165501307696104, 0.009349851869046688, -0.15425975620746613, -0.008750101551413536, -0.0063566225580871105, -0.02119949460029602, 0.005296623799949884, 0.025249283760786057, 0.014710084535181522, 0.0490620955824852, 0.0059918807819485664, 0.014800249598920345, 0.024059509858489037, 0.032963354140520096, -0.0025898858439177275, 0.028057247400283813, 0.00808524526655674, 0.009040674194693565, -0.0007135628256946802, -0.01406741701066494, -0.03459296002984047, -0.014099130406975746, -0.01201041229069233, -0.013819986954331398, -0.012048757635056973, 0.024510525166988373, 0.024035455659031868, 0.02174403704702854, 0.0038901614025235176, 0.0027701794169843197, -0.00852805282920599, -0.0006214995519258082, 0.02603760175406933, 0.005378619767725468, 0.01650221273303032, -0.017233626917004585, -0.021408304572105408, -0.015060574747622013, -0.009810501709580421, -0.0128481425344944, -0.0022445847280323505, -0.06173446401953697, -0.023391755297780037, -0.02747427299618721, -0.005336888134479523, -0.03950277343392372, -0.0020378674380481243, -0.005284810438752174, 0.012772575952112675, -0.00536743551492691, -0.015252593904733658, 0.02826746553182602, -0.0042403643019497395, -0.028553500771522522, 0.03550776466727257, -0.0011421856470406055, 0.033918578177690506, -0.020945653319358826, 0.03209815174341202, 0.038767457008361816, -0.016521817073225975, 0.03979392349720001, 0.027538808062672615, -0.0027858105022460222, 0.024808872491121292, -0.024246709421277046, -0.015637140721082687, -0.056474968791007996, -0.024580802768468857, -0.017016518861055374, -0.04724317416548729, -0.0006973484996706247, 0.8466241955757141, -0.005258792079985142, 0.021782759577035904, 0.039110392332077026, 0.027564870193600655, 0.009191252291202545, 0.016637567430734634, -0.035905394703149796, 0.004522205796092749, 0.02790345624089241, 0.0008760441560298204, -0.00024954788386821747, 0.017994655296206474, 0.038688160479068756, -0.003750821342691779, -0.014415215700864792, 0.008486679755151272, -0.007376840803772211, -0.0029292446561157703, -0.01569145917892456, -0.010776754468679428, 0.035956382751464844, 0.040886566042900085, -0.011294015683233738, 0.014122679829597473, 0.023665480315685272, -0.17094853520393372, 0.01743439957499504, -1.0523680031977732e-32, 0.012532860040664673, -0.03346538543701172, -0.0006413894006982446, 0.041444700211286545, 0.005762211047112942, -0.008838151581585407, 0.053770508617162704, 0.04700237512588501, -0.020664652809500694, -0.014856426045298576, -0.010239002294838428, -0.0019636836368590593, -0.0065124244429171085, 0.022066855803132057, 0.0019940240308642387, 0.012836385518312454, -0.008527714759111404, 0.018939364701509476, 0.0061080423183739185, 0.005352908745408058, 0.03048143908381462, 0.03228898346424103, -0.021330496296286583, 0.003969861660152674, 0.031650032848119736, 0.02142537571489811, 0.023045144975185394, 0.020559560507535934, 0.023796293884515762, -0.05029252544045448, -0.0006659948267042637, 0.02379455976188183, -0.012468436732888222, 0.013890394940972328, 0.015065465122461319, -0.023457061499357224, -0.013165750540792942, -0.013313437812030315, -0.014292680658400059, -0.03073299303650856, -0.024183453992009163, -0.001838144613429904, -0.049493156373500824, -0.0005310229025781155, 0.016017740592360497, -0.020833805203437805, 0.022235574200749397, 0.0015845835441723466, 0.05910735949873924, -0.03887675702571869, 0.008454962633550167, 0.013532822020351887, 0.004963371902704239, 0.0022961434442549944, -0.04744390398263931, 0.04975530132651329, 0.00006587184907402843, 0.018597302958369255, -0.0027005525771528482, 0.05211655795574188, -0.02451881766319275, -0.009092580527067184, -0.031614501029253006, 0.01962578482925892, -0.029956528916954994, -0.023855967447161674, -0.007882068865001202, 0.014077259227633476, 0.016805870458483696, 0.02426692470908165, -0.02494198828935623, -0.007772120181471109, -0.011508597061038017, -0.013681254349648952, 0.006826144643127918, -0.02217833139002323, -0.028451859951019287, 0.07465731352567673, -0.02788560464978218, 0.018182674422860146, 0.039199184626340866, -0.03179873898625374, 0.028997162356972694, -0.010320523753762245, 0.021537508815526962, -0.0015159163158386946, 0.01123079750686884, -0.006594655103981495, 0.017730195075273514, -0.0024970329832285643, 0.02006044052541256, 0.031063834205269814, -0.00472259009256959, -0.02249663695693016, -0.029121339321136475, 9.941286498650614e-33, -0.005820154212415218, -0.028751719743013382, -0.021192051470279694, 0.0028883200138807297, -0.0007844652864150703, -0.00697290850803256, 0.029554955661296844, -0.003578174626454711, -0.055575381964445114, 0.04744332283735275, 0.0009609750122763216, 0.010249029844999313, -0.017472196370363235, 0.006691935937851667, 0.026800166815519333, -0.04441646859049797, 0.02188347838819027, -0.02490760013461113, 0.039192620664834976, -0.008690162561833858, 0.012093277648091316, 0.023999173194169998, 0.03953016176819801, -0.024820175021886826, -0.003052162704989314, 0.024339688941836357, -0.03984443470835686, 0.04994956776499748, -0.011745317839086056, 0.00572075555101037, 0.003104111412540078, -0.025870952755212784, 0.02334657683968544, -0.011226401664316654, 0.00435629952698946, 0.014887560158967972, -0.022730141878128052, -0.0048737674951553345, 0.025650275871157646, 0.0038320296443998814, -0.007099156267940998, -0.02646256424486637, -0.021331366151571274, 0.027117392048239708, 0.02874181419610977, 0.0038526097778230906, -0.0565234050154686, -0.05106078088283539, 0.011733829975128174, 0.018357418477535248, -0.004058278631418943, 0.03737197443842888, 0.023101631551980972, -0.0018937974236905575, -0.01663253642618656, -0.035674188286066055, -0.041335925459861755, -0.02810710296034813, 0.02458769641816616, 0.04398058354854584, 0.0061711804009974, 0.020002266392111778, -0.027091296389698982, 0.025583507493138313, -0.022790739312767982, -0.001745514222420752, 0.012036879546940327, -0.024647671729326248, -0.014981862157583237, -0.03658408671617508, -0.012479237280786037, 0.010084718465805054, 0.01747955195605755, 0.029645351693034172, 0.046882376074790955, -0.058791644871234894, -0.0220326017588377, 0.0028492440469563007, -0.010912825353443623, 0.009430202655494213, -0.023348070681095123, -0.044222839176654816, 0.029362013563513756, 0.008722527883946896, -0.03275454416871071, -0.0053262049332261086, -0.009389904327690601, 0.03622005134820938, -0.015129627659916878, 0.024456005543470383, -0.03227671608328819, -0.009609448723495007, 0.010434150695800781, -0.00007802709296811372, 0.0037385427858680487, -1.4944044224307618e-8, 0.0010692746145650744, -0.00964286644011736, -0.04039188474416733, 0.007552696857601404, 0.01282784529030323, -0.011903475038707256, -0.048173438757658005, -0.0002385655971011147, -0.0035421503707766533, 0.023650052025914192, 0.008222048170864582, -0.0075670829974114895, -0.026970766484737396, 0.02959105744957924, 0.01585737243294716, -0.04932643100619316, -0.025504454970359802, -0.055054422467947006, 0.02962871454656124, 0.020529814064502716, 0.03707016259431839, 0.048224110156297684, -0.014003206044435501, 0.008210438303649426, 0.019391270354390144, 0.03622197359800339, -0.011293133720755577, -0.08183201402425766, -0.01286519318819046, 0.036107391119003296, -0.0009661394287832081, -0.028574060648679733, -0.04009959474205971, -0.005892415530979633, -0.04849109798669815, 0.011666503734886646, 0.012347175739705563, 0.015748079866170883, 0.03348333761096001, -0.021410757675766945, -0.017681661993265152, -0.003509977599605918, -0.0017976744566112757, -0.02470601536333561, 0.005003141704946756, 0.014989776536822319, -0.04278349503874779, -0.002117644529789686, 0.029078681021928787, -0.03988265618681908, -0.01394422072917223, 0.013103039003908634, 0.009267945773899555, -0.01325915101915598, 0.002537345979362726, -0.013314231298863888, 0.007152910344302654, -0.04289521649479866, -0.028960829600691795, 0.0025201616808772087, 0.008071755059063435, -0.018518174067139626, 0.007220740430057049, -0.02647576294839382 ]
book-club-integration-tests-are-a-scam-j-b-rainsberger
https://markhneedham.com/blog/2009/10/06/book-club-integration-tests-are-a-scam-j-b-rainsberger
false
2009-10-23 23:39:05
Value objects: Immutability and Equality
[ "domain-driven-design" ]
[ "Domain Driven Design" ]
A couple of weeks ago I was working on some code where I wanted to create an object composed of the attributes of several other objects. The object that I wanted to construct was a read only object so it seemed to make sense to make it a http://c2.com/cgi/wiki?ValueObject[value object]. The object would be immutable and once created none of the attributes of the object would change. This was my first attempt at writing the code for this object: [source,csharp] ---- public class MyValueObject { private readonly string otherValue; private readonly SomeMutableEntity someMutableEntity; public MyValueObject(SomeMutableEntity someMutableEntity, string otherValue) { this.someMutableEntity = someMutableEntity; this.otherValue = otherValue; } public string SomeValue { get { return someMutableEntity.SomeValue; } } public int SomeOtherValue {get { return someMutableEntity.SomeOtherValue; }} public string OtherValue { get { return otherValue; } } public bool Equals(MyValueObject obj) { if (ReferenceEquals(null, obj)) return false; if (ReferenceEquals(this, obj)) return true; return Equals(obj.OtherValue, OtherValue) && Equals(obj.SomeOtherValue, SomeOtherValue) && Equals(obj.SomeValue, SomeValue); } public override bool Equals(object obj) { // other equals stuff here } } ---- It wasn't immediately obvious to me what the problem was with this solution but it felt really weird to be making use of properties in the equals method. After discussing this strangeness with http://intwoplacesatonce.com/[Dave] he pointed out that 'MyValueObject' is not immutable because although the reference to 'SomeMutableEntity' inside the object cannot be changed the object itself had lots of setters and could therefore be changed from outside this class. There are two ways to get around this problem: . We still inject 'SomeMutableEntity' but we extract the values from it in the constructor and don't keep a reference to it. . The client that creates 'MyValueObject' constructs the object with the appropriate values The first solution would work but it feels really weird to pass in the whole object when we only need a small number of its attributes - it's a case of http://www.markhneedham.com/blog/2009/08/25/coding-coupling-and-expressiveness/[stamp coupling]. It also seems quite misleading as an API because it suggests that 'MyValueObject' is made up of 'SomeMutableEntity' which isn't the case. My preferred solution is therefore to allow the client to construct 'MyValueObject' with all the parameters individually. [source,csharp] ---- public class MyValueObject { private readonly string otherValue; private readonly int someOtherValue; private readonly string someValue; public MyValueObject(string someValue, string otherValue, int someOtherValue) { this.someValue = someValue; this.otherValue = otherValue; this.someOtherValue = someOtherValue; } public string SomeValue { get { return someValue; } } public int SomeOtherValue { get { return someOtherValue; } } public string OtherValue { get { return otherValue; } } } ---- The constructor becomes a bit more complicated but it now feels a bit more intuitive and 'MyValueObject' lives up to its role as a value object. The equals method can now just compare equality on the fields of the object. [source,csharp] ---- public class MyValueObject { ... public bool Equals(MyValueObject obj) { if (ReferenceEquals(null, obj)) return false; if (ReferenceEquals(this, obj)) return true; return Equals(obj.otherValue, otherValue) && Equals(obj.someValue, someValue) && obj.someOtherValue == someOtherValue; } } ---- A client might create this object like so: [source,csharp] ---- var myValueObject = new MyValueObject(someMutableEntity.SomeValue, otherValue, someMutableEntity.SomeOtherValue); ----
null
null
[ 0.009600423276424408, -0.009185932576656342, -0.028148796409368515, 0.03961712494492531, 0.06477027386426926, 0.00412255572155118, 0.03489596024155617, 0.031155886128544807, -0.003179046791046858, -0.03183428943157196, -0.01441933959722519, 0.015950186178088188, -0.09031911939382553, 0.024601910263299942, -0.027238212525844574, 0.052036937326192856, 0.09061040729284286, -0.020221902057528496, -0.00016702929860912263, 0.005092439241707325, 0.0004090575675945729, 0.07947477698326111, -0.045171260833740234, 0.03283325955271721, 0.03368271514773369, 0.051687091588974, -0.0014949145261198282, 0.005067749414592981, -0.04256734251976013, -0.011115508154034615, 0.006683825980871916, 0.0332861952483654, -0.00308512756600976, 0.0005101988790556788, 0.00947585143148899, -0.02192625403404236, -0.0034450755920261145, -0.0021993506234139204, -0.007174109574407339, 0.02232114039361477, -0.060481876134872437, 0.028672678396105766, 0.0028643286786973476, 0.000726499012671411, -0.03690783306956291, -0.01878354139626026, -0.03722083941102028, 0.008942910470068455, -0.0572090782225132, 0.024055039510130882, -0.0611586719751358, 0.02256999909877777, -0.04922707751393318, 0.019679181277751923, -0.004979079123586416, 0.06632070988416672, 0.005821682512760162, -0.07094920426607132, 0.023226909339427948, -0.06802500784397125, 0.004420231096446514, -0.016128674149513245, -0.011432343162596226, 0.009473404847085476, -0.00015421306306961924, -0.00784415565431118, -0.01464114896953106, 0.022269295528531075, -0.055326126515865326, -0.017386138439178467, -0.02444579266011715, -0.038796767592430115, -0.015523422509431839, -0.010441962629556656, 0.008194293826818466, -0.04581983759999275, -0.013791069388389587, 0.04714673385024071, 0.01681579276919365, 0.03830043226480484, -0.008265597745776176, 0.002600471954792738, 0.02412058599293232, 0.0019918959587812424, 0.023708635941147804, -0.018985843285918236, -0.033007923513650894, -0.0014129243791103363, -0.034050364047288895, 0.04074724018573761, 0.008544021286070347, -0.011050011031329632, -0.015839414671063423, 0.018486056476831436, -0.0010677032405510545, -0.019333185628056526, 0.01237788237631321, -0.017780112102627754, -0.00030798642546869814, -0.0129955830052495, -0.031552936881780624, -0.005177271086722612, 0.0402662418782711, 0.0036489730700850487, -0.06448612362146378, 0.015345128253102303, -0.03324731066823006, -0.009328370913863182, 0.003513894509524107, 0.0040761977434158325, -0.06430661678314209, 0.035080280154943466, -0.017069825902581215, 0.007431849837303162, -0.05557243153452873, 0.01397490780800581, 0.029664508998394012, 0.001709037460386753, -0.02361462451517582, 0.05005066841840744, 0.02859356999397278, -0.0017121784621849656, -0.023226214572787285, 0.0693812221288681, 0.007731226738542318, 0.02972744219005108, -0.013402999378740788, 0.07308591157197952, -0.012154762633144855, -0.08969099819660187, -0.00030433281790465117, 0.03551776707172394, -0.020886629819869995, -0.00418934877961874, -0.007970727980136871, -0.03746241331100464, -0.0270968247205019, -0.013302904553711414, 0.021195417270064354, 0.04495548456907272, -0.009836588054895401, -0.06150398403406143, 0.018001629039645195, 0.010417244397103786, -0.005741977598518133, 0.007924159057438374, -0.010275619104504585, 0.004277420695871115, 0.016007371246814728, 0.05361130088567734, 0.022351905703544617, 0.051261767745018005, 0.07006313651800156, -0.04843061417341232, 0.004409272689372301, 0.07810651510953903, -0.0080824363976717, 0.03235591948032379, -0.003513943636789918, 0.032074980437755585, 0.05397526174783707, 0.021655481308698654, 0.010079693049192429, 0.020934956148266792, 0.03425377979874611, 0.014046010561287403, 0.0076020993292331696, 0.07792280614376068, -0.01881461590528488, -0.02039390802383423, -0.06443389505147934, -0.04262945055961609, 0.03247097507119179, -0.05546596646308899, -0.018052957952022552, 0.04151211678981781, 0.06971247494220734, -0.005414546467363834, 0.06077219173312187, -0.01825103722512722, -0.06809437274932861, -0.010275661945343018, -0.007984450086951256, 0.010865812189877033, 0.03535449877381325, 0.030421996489167213, 0.031725574284791946, 0.0249580517411232, 0.013272798620164394, 0.017105339094996452, -0.05673830211162567, -0.05898011475801468, -0.03376737982034683, -0.013297057710587978, 0.07524078339338303, -0.012128687463700771, -0.04656928777694702, 0.09081294387578964, 0.023647231981158257, 0.04429043456912041, 0.026902448385953903, -0.009518949314951897, -0.0007851539994589984, -0.02726646140217781, -0.026266176253557205, 0.024089336395263672, 0.03398430347442627, 0.025705568492412567, -0.041549962013959885, -0.006324099376797676, -0.01846766471862793, 0.013873261399567127, 0.03358728811144829, -0.021159259602427483, 0.03258048743009567, 0.006512927357107401, 0.02403578720986843, -0.025267479941248894, 0.06184336543083191, -0.07399894297122955, 0.006837014574557543, 0.006899616681039333, 0.016915258020162582, -0.025530943647027016, -0.010886249132454395, 0.1284894049167633, 0.028907692059874535, -0.03967564180493355, -0.05214845761656761, 0.030291449278593063, 0.025917790830135345, -0.037505365908145905, -0.00033922804868780077, -0.03737933188676834, 0.023396337404847145, 0.0239566583186388, -0.037674982100725174, 0.008555782958865166, 0.00784408301115036, -0.011723141185939312, 0.02431974560022354, 0.056010276079177856, -0.031442683190107346, 0.04023532569408417, 0.012044417671859264, -0.004031194373965263, 0.013216541148722172, -0.0220207367092371, -0.054220106452703476, 0.0008023314876481891, -0.0003581251366995275, -0.008266063407063484, 0.05926423892378807, -0.011425945907831192, 0.019497791305184364, -0.020809635519981384, -0.03940069302916527, -0.00395674305036664, 0.008593250997364521, 0.07137561589479446, -0.013938672840595245, 0.04854109510779381, -0.03349123150110245, -0.007291268557310104, -0.026796719059348106, -0.044260699301958084, 0.020329192280769348, 0.03529544174671173, -0.0040475474670529366, 0.03520414978265762, 0.006822686642408371, -0.01203024759888649, 0.026732483878731728, 0.03616810590028763, -0.024414237588644028, 0.010980863124132156, 0.05513568967580795, -0.01677887700498104, -0.005470553413033485, -0.03947313129901886, -0.03588034585118294, -0.00890132412314415, -0.05483371764421463, -0.045818991959095, 0.01819463260471821, -0.09733732789754868, 0.03506506606936455, -0.06907432526350021, -0.0681079849600792, -0.005792665295302868, 0.010043819434940815, 0.016549132764339447, 0.020806943997740746, 0.03423968702554703, 0.07251274585723877, 0.02076186053454876, 0.007085067685693502, -0.011717929504811764, 0.014793421141803265, 0.022245094180107117, 0.00822435412555933, 0.012990396469831467, 0.04338432103395462, -0.0027815012726932764, -0.007671376224607229, -0.04452717304229736, 0.03532858565449715, 0.011021007783710957, -0.2611885070800781, 0.028878746554255486, -0.008662454783916473, -0.05522287264466286, 0.02239706553518772, -0.006132601760327816, 0.04529714584350586, -0.04075150564312935, -0.02428027056157589, 0.05327225476503372, -0.013360264711081982, -0.07028013467788696, -0.025433242321014404, 0.07581931352615356, 0.01887166127562523, 0.016762394458055496, 0.013877828605473042, -0.039769090712070465, -0.0213632732629776, 0.07423540949821472, -0.02365277335047722, -0.05800037458539009, -0.03130108490586281, 0.04477507993578911, 0.01401559542864561, 0.02964482270181179, -0.09171976894140244, 0.042616404592990875, -0.03794177621603012, 0.009966273792088032, 0.004732782021164894, 0.011006453074514866, 0.031187258660793304, -0.034370843321084976, -0.008003727532923222, -0.026450734585523605, -0.003964987117797136, 0.04862881824374199, -0.0027113757096230984, 0.025947311893105507, -0.06971020996570587, -0.06310591846704483, -0.03667755424976349, 0.017701303586363792, 0.0732453316450119, -0.008420822210609913, -0.03973257541656494, -0.007939109578728676, -0.05950276926159859, 0.06601917743682861, -0.04824081063270569, -0.0510135293006897, 0.006952381692826748, 0.05791128799319267, 0.004098429344594479, -0.011118914000689983, 0.023776274174451828, 0.0031217217911034822, -0.05161097273230553, -0.023043105378746986, -0.0026619797572493553, -0.030265595763921738, -0.023038439452648163, -0.03209003806114197, 0.0032108330633491278, -0.0624612458050251, -0.07724452018737793, -0.014616853557527065, 0.06401605159044266, 0.04482465609908104, -0.034627385437488556, 0.00729873264208436, 0.019639305770397186, -0.10351169854402542, 0.009169306606054306, -0.032106418162584305, -0.01106523908674717, -0.03078857809305191, -0.03259851038455963, 0.04665239527821541, -0.013220712542533875, -0.031365107744932175, 0.033732980489730835, 0.029613900929689407, 0.03001006878912449, -0.004501665476709604, 0.04266854003071785, -0.0008647859212942421, -0.05097876861691475, -0.02879069559276104, 0.08309851586818695, 0.0071702380664646626, 0.020075630396604538, -0.054740287363529205, 0.006446251180022955, 0.021977555006742477, 0.03150610998272896, -0.036723870784044266, 0.02150680124759674, 0.03743898123502731, 0.03815455362200737, -0.0397467240691185, 0.032859306782484055, -0.027264904230833054, -0.02355165034532547, -0.02574824169278145, -0.07791924476623535, 0.0338033102452755, 0.010820016264915466, 0.013716790825128555, -0.020670395344495773, -0.009936758317053318, 0.0027633067220449448, -0.05402353033423424, -0.0357174314558506, -0.036655493080616, 0.011216123588383198, 0.044523414224386215, -0.006549234967678785, -0.026073310524225235, -0.003014789894223213, 0.015840573236346245, 0.022425400093197823, -0.011664633639156818, -0.09130611270666122, -0.05778777226805687, -0.009435673244297504, 0.00818924605846405, -0.03279580548405647, 0.021651674062013626, -0.01920328289270401, 0.037151433527469635, 0.01580681838095188, -0.014545704238116741, 0.007211257703602314, 0.022709298878908157, -0.0037606405094265938, -0.03743593394756317, -0.021178577095270157, -0.006243295967578888, 0.034296244382858276, -0.012118934653699398, 0.024731159210205078, 0.016698993742465973, 0.04314116761088371, -0.007026519626379013, 0.06411926448345184, -0.0012960083549842238, -0.024157671257853508, 0.018407447263598442, 0.009585718624293804, -0.09186974167823792, 0.023169733583927155, -0.02343764714896679, -0.060887426137924194, -0.018350696191191673, 0.02915061078965664, -0.024407288059592247, -0.016577180474996567, -0.040082983672618866, 0.03196738660335541, -0.026629112660884857, -0.021103117614984512, -0.04470491781830788, 0.02585107460618019, 0.06498591601848602, -0.02421240136027336, 0.057018015533685684, -0.02570618875324726, -0.03132406622171402, -0.019486505538225174, -0.002224292606115341, -0.04891987144947052, 0.025908594951033592, 0.012944359332323074, -0.03196311369538307, -0.0003526312066242099, 0.010600374080240726, 0.001269025495275855, 0.004220012109726667, 0.017658356577157974, -0.033063940703868866, 0.02036936953663826, -0.03302432596683502, 0.04605727270245552, -0.019895127043128014, 0.019781287759542465, -0.013992073945701122, -0.008122771047055721, -0.02566210925579071, -0.0506693460047245, -0.03321366757154465, -0.03004027158021927, 0.04869604483246803, -0.02818869985640049, -0.06709190458059311, 0.027342045679688454, -0.01896446757018566, 0.039631009101867676, 0.004541507922112942, 0.020141510292887688, 0.030749930068850517, -0.03307134658098221, 0.015955215319991112, 0.04708602651953697, -0.028145859017968178, 0.004782655742019415, -0.0008917720406316221, 0.0027274969033896923, 0.05261559411883354, 0.023174935951828957, -0.02613103576004505, -0.011669128201901913, -0.017625533044338226, -0.008519048802554607, -0.012880430556833744, -0.036797262728214264, -0.039631713181734085, -0.016377709805965424, -0.021524308249354362, 0.006300052162259817, 0.009304176084697247, 0.023011576384305954, -0.022670598700642586, 0.0005043614655733109, 0.009172148071229458, -0.01135711558163166, 0.02110842801630497, 0.042755067348480225, -0.030454903841018677, -0.00025612744502723217, -0.00936517957597971, 0.02501261606812477, -0.002476976253092289, -0.01912393607199192, -0.05332116782665253, -0.052626386284828186, 0.02832837961614132, -0.006770438514649868, 0.05383671820163727, 0.03149138763546944, -0.01483409944921732, -0.02510567381978035, -0.015066361986100674, -0.03166904300451279, 0.014873053878545761, -0.009103169664740562, -0.018334006890654564, 0.030022604390978813, 0.04400605708360672, -0.0006275869673117995, 0.023959223181009293, -0.0071381209418177605, -0.021253740414977074, 0.08311586081981659, -0.05624230206012726, -0.00777234323322773, -0.0016047483077272773, -0.06251745671033859, -0.004286499228328466, 0.04592081531882286, 0.021608177572488785, -0.04943480342626572, 0.02846488170325756, 0.04076868295669556, 0.016908494755625725, 0.02383236773312092, -0.0008861071546562016, 0.03668282553553581, -0.04698636755347252, 0.017216848209500313, -0.06963908672332764, 0.030349455773830414, 0.04042370989918709, 0.024060187861323357, -0.02248774841427803, -0.06221281737089157, -0.01713699661195278, 0.03943438455462456, -0.06582485884428024, -0.019659169018268585, 0.045340850949287415, 0.012804322876036167, 0.009228506125509739, 0.005880916956812143, -0.021022163331508636, 0.03813173621892929, 0.025891771540045738, -0.021147266030311584, -0.04639629274606705, -0.026630811393260956, 0.05425450950860977, 0.03559654951095581, 0.027032924816012383, -0.010667736642062664, -0.00653773732483387, 0.060625914484262466, 0.021188095211982727, 0.05527661368250847, 0.038353368639945984, -0.041852597147226334, 0.034669071435928345, 0.024867605417966843, -0.021676046773791313, 0.01708429493010044, 0.017508357763290405, 0.009965311735868454, -0.05754726752638817, -0.03174925222992897, 0.0037866283673793077, -0.035489000380039215, -0.047640591859817505, 0.05740344524383545, -0.016705777496099472, -0.03252951428294182, -0.045111242681741714, 0.0023236782290041447, -0.02508469484746456, -0.029683971777558327, 0.008278511464595795, 0.00030813735793344676, -0.059229567646980286, 0.06023125723004341, 0.002020068932324648, -0.003006642684340477, 0.06497356295585632, -0.014109786599874496, 0.00927363894879818, -0.02141595259308815, 0.07389114797115326, 0.08894669264554977, 0.03731539100408554, -0.017356526106595993, 0.05211307108402252, -0.01286357268691063, -0.04007905721664429, 0.028171073645353317, -0.03900342062115669, -0.007926028221845627, -0.009257910773158073, 0.005985454190522432, 0.06971471011638641, -0.030143465846776962, 0.03742438927292824, -0.04133792594075203, -0.004564435686916113, 0.001391533762216568, 0.022506151348352432, 0.027435798197984695, 0.04620771110057831, 0.027685074135661125, -0.001130272401496768, 0.01779266819357872, -0.05158932879567146, 0.01483400259166956, -0.019122498109936714, -0.009363340213894844, 0.01234835758805275, -0.0034419172443449497, 0.02532901056110859, -0.01361102145165205, 0.02642185054719448, 0.08246451616287231, 0.011880763806402683, -0.002150405663996935, -0.008319942280650139, 0.027619222179055214, 0.016383284702897072, -0.017540546134114265, -0.0001329868973698467, -0.034153930842876434, 0.0007054850575514138, -0.01861557364463806, -0.012540594674646854, -0.018640656024217606, -0.009850524365901947, 0.034798990935087204, -0.00842324923723936, 0.033401064574718475, 0.02280435338616371, 0.041829664260149, -0.04207002744078636, -0.05623091757297516, -0.0865478590130806, -0.030782567337155342, -0.049948353320360184, -0.005176136270165443, 0.028608478605747223, 0.002519214292988181, -0.033792246133089066, -0.03676716610789299, -0.015499738976359367, 0.0020210053771734238, 0.06215474754571915, -0.02285555563867092, -0.023147396743297577, 0.037167031317949295, 0.013451130129396915, 0.039185624569654465, 0.032927654683589935, 0.04264066368341446, -0.01746523752808571, -0.016775526106357574, -0.0419190488755703, -0.019966689869761467, 0.03142973408102989, 0.0025285352021455765, -0.008447172120213509, -0.07572043687105179, 0.009035360999405384, 0.002609583083540201, -0.026245124638080597, -0.06828970462083817, -0.010990197770297527, 0.038069549947977066, -0.012858708389103413, 0.044854532927274704, -0.019886668771505356, -0.0028080360498279333, 0.014572396874427795, -0.029466180130839348, -0.004697354044765234, 0.011491983197629452, 0.05270780250430107, -0.00630740262567997, 0.09703495353460312, 0.03205466642975807, -0.03782818466424942, -0.04487523436546326, -0.0066155618987977505, -0.019207824021577835, 0.008247236721217632, -0.05610574036836624, -0.009411333128809929, -0.041468001902103424, -0.04843979701399803, 0.0053043975494802, 0.020734284073114395, -0.024813778698444366, -0.012062042020261288, 0.007837058044970036, 0.06517715752124786, -0.0707843080163002, 0.03167552128434181, -0.03376873955130577, 0.04291842505335808, -0.016879022121429443, -0.0070595210418105125, 0.016403738409280777, 0.006899593863636255, -0.004556660074740648, 0.020487014204263687, 0.007897727191448212, -0.043550603091716766, -0.010866861790418625, -0.01346897054463625, 0.025718698278069496, 0.05101452395319939, -0.002508412580937147, 0.04203343763947487 ]
[ -0.09159176796674728, -0.010446947999298573, -0.07612030953168869, -0.05501018837094307, 0.0014133655931800604, -0.06106799840927124, 0.029712995514273643, 0.026708809658885002, 0.01605348475277424, 0.014068125747144222, -0.014583757147192955, -0.06078021973371506, -0.014608301222324371, -0.028017111122608185, 0.06686761975288391, -0.016888517886400223, -0.022816887125372887, -0.030368421226739883, -0.03797584027051926, 0.04206380993127823, 0.051706306636333466, -0.0295021403580904, -0.04397416487336159, -0.03221805393695831, 0.04132668673992157, 0.06388355046510696, 0.044559601694345474, -0.009004627354443073, 0.03399720415472984, -0.21888718008995056, -0.01832432672381401, -0.018893538042902946, 0.011492068879306316, -0.012740428559482098, 0.012096643447875977, 0.0327727273106575, 0.014697515405714512, 0.02978084608912468, -0.00595521368086338, 0.08704636245965958, 0.020934071391820908, 0.041613366454839706, -0.046203941106796265, -0.04202747344970703, 0.03321100398898125, 0.019603731110692024, -0.00026697173598222435, -0.011041910387575626, -0.008146935142576694, 0.005097091663628817, -0.06739689409732819, 0.0010302133159711957, -0.016202405095100403, -0.0060609919019043446, -0.015096278861165047, 0.030644292011857033, 0.04642154648900032, 0.08891448378562927, 0.018389152362942696, 0.011472003534436226, 0.02451433800160885, -0.01839257776737213, -0.08550486713647842, 0.09725502133369446, 0.04275243356823921, 0.047336094081401825, 0.01968654803931713, -0.05455008149147034, 0.008810612373054028, 0.038285598158836365, 0.08001071959733963, -0.01893872767686844, -0.006204100325703621, 0.042375434190034866, 0.032855723053216934, -0.0243478175252676, -0.004386887885630131, 0.004260889254510403, 0.04379381611943245, 0.001517985132522881, -0.08306659758090973, -0.02346734330058098, 0.016504880040884018, 0.01077672466635704, -0.014574245549738407, 0.049174122512340546, -0.0017067767912521958, 0.005987900774925947, 0.052011314779520035, 0.030036581680178642, 0.015145421028137207, -0.015703726559877396, 0.03957043215632439, 0.020393824204802513, -0.04876736178994179, 0.0014617422129958868, -0.02304290607571602, -0.02293957769870758, -0.016567202284932137, 0.4126695692539215, -0.046674881130456924, -0.02259185165166855, 0.028476005420088768, 0.004806400276720524, -0.023067964240908623, 0.026141522452235222, -0.006265734788030386, -0.08129998296499252, 0.01267029158771038, -0.05522410571575165, -0.004336745478212833, -0.03696902096271515, 0.02823607064783573, -0.022948581725358963, -0.03526083007454872, 0.01135072112083435, 0.03732140734791756, -0.005401570815593004, -0.01258740946650505, 0.019085021689534187, -0.013033928349614143, -0.006479785777628422, -0.0012514146510511637, 0.03274807706475258, -0.011251001618802547, -0.039503421634435654, 0.006390939466655254, 0.06448134779930115, 0.017026802524924278, 0.029415713623166084, 0.02788524515926838, -0.06218267232179642, -0.1035393700003624, -0.02757786214351654, 0.017603799700737, 0.022405125200748444, 0.014609883539378643, -0.028340542688965797, 0.034318529069423676, 0.0028796489350497723, 0.00752980774268508, -0.030171900987625122, 0.001812780392356217, -0.02627442218363285, -0.062058303505182266, 0.09116819500923157, -0.022338232025504112, -0.026685183867812157, 0.006364187691360712, -0.03777677193284035, -0.017417754977941513, 0.027869990095496178, -0.030669819563627243, -0.06544820964336395, 0.009765686467289925, 0.023681486025452614, 0.052570052444934845, -0.013728968799114227, -0.013452557846903801, -0.04238644614815712, -0.03082595206797123, 0.018909059464931488, -0.045483946800231934, 0.0400531180202961, 0.02038656361401081, -0.06461681425571442, -0.0264398455619812, 0.01573852077126503, 0.015114357694983482, -0.07629358768463135, 0.0003637477057054639, 0.04106207191944122, -0.041458748281002045, -0.0019074478186666965, 0.08444032818078995, -0.004511157050728798, -0.028535423800349236, 0.00305376504547894, 0.030758559703826904, 0.03901270776987076, 0.016094697639346123, 0.020734313875436783, -0.08208711445331573, -0.0016713538207113743, -0.008378413505852222, -0.06506174802780151, -0.039132826030254364, -0.006915194448083639, -0.025088181719183922, 0.006372231990098953, 0.0168840941041708, -0.016897710040211678, -0.09549782425165176, 0.08863367140293121, -0.03768270090222359, -0.012598948553204536, 0.036691632121801376, -0.005170657765120268, 0.004429032560437918, -0.0012988833477720618, 0.018769390881061554, 0.059154022485017776, -0.017353273928165436, 0.04706437140703201, -0.0566471591591835, 0.022664755582809448, 0.06408291310071945, -0.07680261135101318, 0.05287360027432442, 0.016400374472141266, -0.05631108209490776, -0.022589627653360367, -0.05053025856614113, 0.021976139396429062, -0.00761816743761301, -0.02932792529463768, -0.005096370819956064, 0.0259943138808012, 0.0437665730714798, -0.018321499228477478, -0.06899791955947876, -0.04717590659856796, -0.004950604867190123, -0.34213730692863464, -0.03806416317820549, -0.029559575021266937, -0.04745630919933319, 0.004998546559363604, -0.043692898005247116, 0.01028186734765768, -0.022541675716638565, -0.041384391486644745, -0.0114896884188056, 0.0877453088760376, -0.03641951084136963, -0.005700224544852972, -0.0653412938117981, -0.010733619332313538, 0.023427242413163185, -0.030452599748969078, -0.05458967760205269, -0.026454536244273186, 0.002227198798209429, -0.001582858501933515, 0.024998297914862633, 0.009298259392380714, -0.03352079540491104, 0.027504101395606995, -0.0655568391084671, 0.09338084608316422, -0.051415521651506424, 0.0864776000380516, -0.01466548815369606, 0.04730934277176857, 0.008950562216341496, -0.004339747596532106, -0.07551055401563644, -0.0059844558127224445, -0.026544587686657906, -0.06755752861499786, 0.030841045081615448, 0.0308412816375494, 0.018591567873954773, -0.009162523783743382, 0.018924569711089134, -0.03600025922060013, -0.036097023636102676, 0.01154528558254242, -0.0024923481978476048, 0.010678306221961975, -0.02180243469774723, 0.01351244654506445, 0.10437771677970886, -0.007653834298253059, -0.005991874262690544, 0.005017007235437632, 0.06688041239976883, 0.030233830213546753, -0.036086294800043106, -0.04160409793257713, -0.002482224488630891, 0.0147922458127141, 0.02433132380247116, 0.039620786905288696, 0.0517689473927021, 0.030419960618019104, -0.03296535834670067, 0.00027228231192566454, 0.015241840854287148, 0.00033058479311876, -0.025812918320298195, 0.010434718802571297, -0.06773808598518372, -0.02759387530386448, 0.1051114946603775, 0.01409848127514124, -0.02225649170577526, 0.023585526272654533, 0.06874203681945801, 0.008819084614515305, 0.0213271826505661, 0.033960286527872086, 0.02500743605196476, 0.003258894197642803, 0.026307161897420883, 0.019223002716898918, -0.009979410097002983, 0.0003207444096915424, 0.026888901367783546, -0.027957284823060036, 0.010621207766234875, 0.023882392793893814, -0.028028074651956558, -0.013694874942302704, -0.03376317024230957, 0.016474388539791107, -0.05544682592153549, 0.060166168957948685, -0.0508309081196785, -0.26640763878822327, 0.006989427376538515, 0.07362381368875504, 0.06302285939455032, -0.01662098988890648, 0.04113686829805374, 0.018690593540668488, -0.05830330029129982, -0.013544687069952488, 0.00006051514355931431, 0.018060773611068726, 0.007470176089555025, 0.01602501980960369, -0.0003569971304386854, 0.040428854525089264, -0.01253604143857956, 0.04629015922546387, -0.016890045255422592, 0.04678812623023987, 0.015024657361209393, 0.03084513358771801, 0.0038983128033578396, 0.18969987332820892, 0.008402560837566853, 0.056499361991882324, 0.0023388240952044725, 0.006629546172916889, 0.02001025341451168, 0.060160648077726364, 0.03705824166536331, 0.02395634539425373, 0.00824608001857996, 0.10344446450471878, 0.02010536566376686, 0.03699501231312752, -0.09124530851840973, -0.020497625693678856, 0.015401826240122318, 0.013804461807012558, -0.0047035072930157185, -0.006804650649428368, 0.027745816856622696, -0.06727441400289536, 0.005176792852580547, 0.09278225153684616, 0.04726652801036835, -0.03622724115848541, -0.03128840774297714, -0.03698740527033806, -0.02030712552368641, -0.035551849752664566, -0.0130882877856493, 0.009068899787962437, -0.04163447022438049, 0.0012731841998174787, 0.04327990487217903, 0.009238424710929394, -0.022645263001322746, -0.019368208944797516, 0.014904532581567764, 0.02517685480415821, 0.007596531417220831, 0.0664907842874527, 0.03955298289656639, 0.008048662915825844 ]
[ -0.021394865587353706, 0.041142240166664124, -0.02862270176410675, 0.019058311358094215, -0.027290236204862595, 0.023542407900094986, -0.0035126872826367617, 0.03748228773474693, 0.008837159723043442, -0.004169945605099201, -0.03953259065747261, -0.021656636148691177, 0.009098965674638748, -0.040234461426734924, -0.008566663600504398, 0.019932134076952934, 0.02028360776603222, 0.011392270214855671, 0.01327608060091734, 0.008323708549141884, -0.02905389480292797, 0.02994607761502266, 0.008874013088643551, -0.018158767372369766, 0.005240126978605986, 0.034712404012680054, -0.007426260504871607, -0.018089693039655685, 0.009820793755352497, -0.13542163372039795, -0.060691822320222855, -0.024473948404192924, -0.0357012040913105, 0.03027726523578167, -0.04921001195907593, -0.017622115090489388, 0.023478401824831963, 0.05598517507314682, 0.020957987755537033, -0.03959276154637337, -0.0010163001716136932, 0.03617808222770691, 0.0020633244421333075, -0.006202757358551025, 0.0020179934799671173, 0.0026672533713281155, 0.02819961868226528, -0.04242489114403725, -0.0037837664131075144, -0.026422467082738876, -0.021840738132596016, 0.003816046053543687, 0.00015421131683979183, 0.019508415833115578, 0.03249956667423248, -0.012167324312031269, -0.001752740703523159, -0.01640467159450054, -0.0025202936958521605, -0.02714644744992256, -0.008185257203876972, 0.0056913779117167, 0.023496249690651894, 0.0038187282625585794, 0.009626267477869987, -0.012593465857207775, -0.007335188798606396, -0.010964958928525448, -0.012923568487167358, -0.03366362303495407, 0.006247551646083593, 0.024212734773755074, 0.007711971178650856, 0.04499192163348198, -0.004892447497695684, 0.01825367845594883, 0.04896051436662674, -0.017647840082645416, 0.03474029526114464, -0.008113817311823368, -0.053241826593875885, 0.014088802970945835, -0.010252107866108418, 0.02208876609802246, 0.03299696743488312, -0.011568456888198853, -0.006098147947341204, 0.012508939951658249, -0.011647923849523067, 0.03021431528031826, -0.031532954424619675, 0.024481354281306267, 0.02514001354575157, 0.0008300656918436289, -0.056800760328769684, 0.012429814785718918, -0.011111619882285595, -0.03159088268876076, 0.0008472048793919384, 0.8282982110977173, -0.018747370690107346, 0.06375863403081894, 0.049233872443437576, 0.015392274595797062, -0.007407022640109062, 0.0046533821150660515, 0.00913133006542921, -0.03169902414083481, 0.005211224779486656, -0.03976958990097046, 0.015707435086369514, -0.01011920440942049, 0.02564084157347679, 0.014490658417344093, -0.02357138693332672, 0.02418973669409752, 0.0043448167853057384, 0.0022783284075558186, -0.005979711189866066, 0.011298871599137783, -0.0012894272804260254, -0.05922478064894676, 0.009155701845884323, -0.014152150601148605, 0.011461881920695305, -0.188789963722229, 0.008669751696288586, -8.978593359525624e-33, 0.030312400311231613, 0.00020311753905843943, 0.05583726987242699, 0.010861075483262539, 0.037920232862234116, 0.00006247193232411519, 0.035906948149204254, 0.03680887818336487, 0.03927861526608467, -0.05675405263900757, 0.015510267578065395, -0.01865651272237301, 0.012069297023117542, -0.01862555742263794, 0.03209427371621132, -0.008784923702478409, -0.014066856354475021, 0.019557643681764603, -0.006646641530096531, -0.005656377878040075, 0.02196631394326687, 0.008122740313410759, -0.006921879481524229, -0.00605966430157423, -0.016649989411234856, 0.003208316396921873, 0.016472745686769485, 0.03162749111652374, -0.009027710184454918, -0.032393570989370346, 0.009439603425562382, 0.04674559086561203, -0.034065525978803635, 0.008577736094594002, 0.025745974853634834, -0.060388557612895966, 0.007117390166968107, 0.0099565414711833, -0.0035735578276216984, -0.06418857723474503, -0.01682765781879425, -0.01715899631381035, -0.03038797900080681, 0.003108153585344553, -0.031242063269019127, -0.02644665539264679, -0.004593274090439081, 0.034989237785339355, 0.03970865532755852, 0.047470349818468094, -0.009337137453258038, 0.03889751806855202, -0.024851534515619278, -0.018704796209931374, -0.018228355795145035, 0.01683947630226612, -0.014012792147696018, 0.012651361525058746, -0.019352369010448456, 0.012484434060752392, -0.009667669422924519, 0.021469421684741974, -0.0011989333434030414, 0.010060007683932781, -0.020021233707666397, 0.029398150742053986, 0.007454996462911367, -0.0454120859503746, 0.027807552367448807, -0.02644527330994606, -0.026005133986473083, -0.005877141375094652, -0.0360402949154377, -0.02008344978094101, 0.0025060817133635283, -0.01918313279747963, 0.0020030413288623095, -0.0181161779910326, -0.008968676440417767, -0.0036801297683268785, -0.018704410642385483, 0.031173886731266975, -0.013038191944360733, -0.02064272202551365, 0.012751894071698189, -0.030092984437942505, -0.009187374264001846, 0.023380957543849945, 0.016523515805602074, -0.008950991556048393, 0.06760229915380478, 0.03379733860492706, -0.03755079209804535, -0.030599109828472137, -0.032578159123659134, 8.589747175113304e-33, -0.007126942276954651, -0.04741530492901802, -0.025374332442879677, 0.0021765262354165316, -0.005271099973469973, -0.03902534022927284, -0.004249607212841511, 0.07112378627061844, -0.0371621772646904, 0.024527516216039658, -0.0012560408795252442, 0.01081844326108694, -0.02357068844139576, 0.025217168033123016, 0.05841396376490593, -0.03317081555724144, 0.014149298891425133, -0.011852744035422802, 0.03451763466000557, -0.024079425260424614, 0.06137442588806152, 0.017247987911105156, 0.03918900340795517, 0.010782645083963871, -0.027835940942168236, 0.058447953313589096, -0.07006561011075974, 0.008987419307231903, 0.014697915874421597, -0.007793975993990898, -0.010031194426119328, 0.012811027467250824, 0.017342612147331238, -0.03795505687594414, -0.046935778111219406, -0.021219654008746147, 0.011211864650249481, -0.04710177332162857, -0.006583293899893761, 0.012639578431844711, -0.0063440194353461266, -0.04717698693275452, -0.011757273226976395, 0.02408035285770893, 0.009624212048947811, -0.03061467967927456, -0.0018466354813426733, -0.014025578275322914, 0.03697073832154274, 0.017109397798776627, 0.03918207436800003, 0.007107062730938196, 0.01570759527385235, 0.015417838469147682, 0.0417623296380043, 0.0064137899316847324, -0.019238634034991264, -0.020001867786049843, 0.01119470875710249, 0.008535690605640411, 0.007488450035452843, 0.015429086051881313, -0.01951201818883419, -0.0004079440259374678, -0.04023875296115875, 0.016508303582668304, 0.007028690539300442, -0.031018806621432304, -0.008896907791495323, -0.014269637875258923, -0.03300115093588829, -0.04914861544966698, 0.01020955853164196, 0.012643063440918922, 0.0045494926162064075, -0.019910166040062904, 0.010772974230349064, -0.00592975364997983, 0.01734113320708275, -0.007694822270423174, 0.011050224304199219, -0.030704820528626442, 0.021047431975603104, 0.011704682372510433, 0.008343973197042942, -0.04024625942111015, -0.026851659640669823, -0.0402819886803627, 0.007757862098515034, 0.02372756600379944, -0.04197820648550987, 0.03251577168703079, -0.013316200114786625, -0.0066507901065051556, -0.006678792182356119, -1.3915732566260886e-8, -0.0213018786162138, 0.020210016518831253, 0.009804390370845795, 0.05634689703583717, 0.02740655280649662, -0.003901676507666707, -0.04314078018069267, -0.027681831270456314, -0.0025923396460711956, 0.00709444098174572, 0.03497829660773277, 0.0038313528057187796, 0.025219539180397987, -0.009838232770562172, 0.028776394203305244, -0.03151106834411621, -0.03250965103507042, -0.016217488795518875, 0.02006339095532894, 0.008428777568042278, 0.00318423961289227, 0.00901184231042862, -0.021196696907281876, 0.016319217160344124, 0.04813193902373314, 0.0182939562946558, 0.013630194589495659, -0.094434455037117, 0.03645220398902893, 0.030768422409892082, -0.019135478883981705, -0.019006744027137756, 0.024462496861815453, 0.0378011018037796, -0.04939313605427742, -0.005493384785950184, -0.015166720375418663, 0.035645995289087296, 0.0035809671971946955, 0.002464344259351492, 0.023020023480057716, -0.011036076582968235, -0.026355938985943794, -0.007831226103007793, 0.015030496753752232, -0.0034887432120740414, -0.019994042813777924, 0.03950368985533714, -0.02254936844110489, -0.025642653927206993, -0.027683179825544357, 0.0022851750254631042, 0.013385913334786892, -0.005850402172654867, -0.036537300795316696, 0.020999927073717117, 0.023545725271105766, 0.0014786126557737589, -0.01877455972135067, 0.02560601755976677, 0.03280293568968773, -0.005395119544118643, -0.05096835270524025, -0.011979679577052593 ]
value-objects-immutability-and-equality
https://markhneedham.com/blog/2009/10/23/value-objects-immutability-and-equality
false
2009-10-23 00:08:10
Coding: The primitive obsession
[ "coding" ]
[ "Coding" ]
I recently came across an interesting post by Naresh Jain where he details a discussion at the http://sdtconf.com/[SDTConf 2009] about the http://blogs.agilefaqs.com/2009/10/19/biggest-stinkers/[code smells that hurt people the most]. Naresh describes the 'primitive obsession' anti pattern as being the crux of poor design: ____ I would argue that I've seen code which does not have much duplication but its very difficult to understand what's going on. Hence I claim, "`only if the code had better abstractions it would be a lot easier to understand and evolve the code`". Also when you try to eliminate duplicate code, at one level, there is no literal code duplication, but there is conceptual duplication and creating a high order abstraction is an effective way to solve the problem. Hence I conclude that looking back, *Primitive Obsession is at the crux of poor design. a.k.a Biggest Stinker*. ____ When I first read this post I thought Naresh was only talking about primitives such as strings, integers, decimals and so on but after discussing this pattern at today's http://www.markhneedham.com/blog/category/book-club/[book club] http://watchitlater.com/blog/[Tom] pointed out that the problem might also be defined as '*describing high level domain concepts with low level types*'. I've noticed that this pattern in code often seems to happen when we have abstractions in our code which are very generic and don't express the domain very clearly. I think the reason people code in this way comes from a desire to minimise the amount of code being written - as I understand it the theory is that if we write less code then it will be more maintainable. I really like the way http://intwoplacesatonce.com/[Dave Cameron] describes the disadvantages of doing this in http://blogs.agilefaqs.com/2009/10/19/biggest-stinkers/#comment-20408408[a comment on Naresh's post]: ____ Naresh, I agree strongly with your assertion that we need *better* abstractions. Eliminating duplication by introduction a mediocre abstraction leads to pain. Removing duplication and parceling it up in an awkward way can make it more difficult to see a more elegant abstraction later. The short-term benefit of eliminating duplication leads to a long-term pain of awkward design. ____ The other motivator behind this style of coding is to try and create classes which are really reusable. http://www.udidahan.com/2009/06/07/the-fallacy-of-reuse/[Udi Dahan explains why this often doesn't work] but the problem that I see from this attempt at writing reusable code is that it will get reused in places where the concept doesn't quite make sense. As a result of this we end up writing a lot of very hacky code to try and make it fit. The most frequent offender seems to be the creation of collections of things which we then query to find specific items elsewhere in the code. More often that not we'll also perform some custom logic on that particular item. At its most extreme we might extract each of the items in a collection and make use of them separately. This somewhat defeats the purpose of the collection. When this happens it often seems to me that what we actually have is a series of attributes of an object rather than a collection. While discussing why this type of coding happens it was pointed out that it's much easier to make use of the primitives than to spend the time looking for a helpful abstraction - I think this is an example of http://www.markhneedham.com/blog/2009/07/21/good-lazy-and-bad-lazy/[bad laziness]. We might be spending less effort now writing the code but it will be more difficult for anyone else who reads it in future which is not a good trade off. Another similar pattern I've seen quite frequently is where we http://www.markhneedham.com/blog/2009/07/24/wrapping-collections-inheritance-vs-composition/[extend one of the classes in the collection API with our 'domain concept]'. While this seems better than just passing around a collection the problem is that any clients of our class have access to any of the methods of the collections API we extend which provides more flexibility than we would like and can lead to our object being in an unexpected state if those methods get used. == In summary I think the way to solve this problem comes down to spending more time thinking about our domain and the best way to model it and discussing this regularly with other people on the team. That way I believe our knowledge of how the system actually works will be more explicit in the code which will make it easier for people to understand the code base.
null
null
[ 0.012277618981897831, 0.010301943868398666, -0.01649882271885872, 0.03588869050145149, 0.07242029905319214, 0.01607022061944008, 0.03121371939778328, 0.030595047399401665, 0.02400311268866062, -0.016448820009827614, -0.013172834180295467, -0.020198389887809753, -0.0809086337685585, 0.0228411965072155, -0.03462116792798042, 0.07365698367357254, 0.07153037935495377, -0.019860798493027687, 0.01314760185778141, 0.02844914235174656, 0.03422568738460541, 0.04408971220254898, -0.01129908300936222, 0.022129610180854797, 0.020702172070741653, 0.039282262325286865, 0.0054284208454191685, -0.007823268882930279, -0.07222671061754227, -0.0004948191926814616, 0.05354838818311691, 0.02117384970188141, 0.012682044878602028, -0.019429592415690422, -0.00033137225545942783, -0.010185333900153637, -0.03133300319314003, 0.01844755746424198, 0.0023027746938169003, 0.006005873437970877, -0.07581434398889542, 0.029836470261216164, 0.011447818949818611, 0.024935264140367508, -0.048543643206357956, 0.0027270507998764515, -0.05732131749391556, -0.0010295510292053223, -0.02413027733564377, 0.01960885152220726, -0.06159312650561333, 0.03468843549489975, -0.0018919635331258178, -0.01744183897972107, -0.015736259520053864, 0.05511767789721489, 0.005968447308987379, -0.07716821879148483, -0.004479032009840012, -0.05557969957590103, -0.0010599285596981645, 0.004326432012021542, -0.0026935820933431387, 0.025862833485007286, 0.011025896295905113, -0.012426633387804031, -0.0187532901763916, 0.03322083130478859, -0.04241818189620972, 0.009262957610189915, 0.014082329347729683, 0.02638680301606655, -0.00983881950378418, -0.001685421564616263, 0.005525255110114813, -0.02280513383448124, -0.01647663116455078, 0.05613091588020325, 0.03883904591202736, 0.04849449545145035, -0.01931152492761612, 0.028864039108157158, 0.036069732159376144, 0.02813170850276947, 0.024805713444948196, -0.04638141393661499, -0.00242612068541348, -0.014721879735589027, -0.05720515549182892, 0.05754178762435913, -0.0019051391864195466, -0.05776430666446686, 0.043826039880514145, 0.04809095710515976, -0.006445213221013546, 0.02243993990123272, 0.038216765969991684, 0.004128243774175644, -0.004165509715676308, -0.011818363331258297, -0.029381683096289635, -0.015927432104945183, -0.0019001346081495285, -0.0070486608892679214, -0.06468707323074341, -0.007914572954177856, -0.036929965019226074, -0.020140953361988068, 0.010916057042777538, -0.002055124379694462, -0.04213040694594383, 0.010542299598455429, -0.02175825461745262, -0.011188695207238197, -0.06086823716759682, 0.07486367225646973, -0.021633557975292206, -0.037940528243780136, -0.00826209969818592, 0.0021411569323390722, 0.048924122005701065, 0.007973183877766132, -0.022507142275571823, 0.07890599220991135, 0.01859295554459095, 0.028907496482133865, -0.0013407544465735555, 0.05677696317434311, -0.02248677797615528, -0.05780358612537384, -0.012136193923652172, 0.06028204411268234, -0.03588724136352539, -0.01213333010673523, -0.018835466355085373, -0.01641053892672062, -0.020717279985547066, -0.0083586061373353, 0.031278811395168304, 0.04462286829948425, -0.0068931602872908115, -0.034967321902513504, 0.004464244935661554, 0.00649505527690053, 0.029157185927033424, 0.0030889767222106457, -0.006250772159546614, -0.03216221183538437, -0.015379270538687706, -0.01632530987262726, 0.02102029323577881, 0.056862715631723404, 0.0115825729444623, -0.047927018254995346, 0.019489310681819916, 0.08631674200296402, 0.03186938539147377, 0.0022251540794968605, -0.004033328499644995, 0.02732938900589943, 0.0395234189927578, 0.008748325519263744, 0.01015048660337925, 0.025258976966142654, 0.025974377989768982, -0.0013001225888729095, -0.006917777471244335, 0.052176088094711304, 0.0008378500933758914, 0.010177108459174633, -0.06008979305624962, -0.0495312362909317, 0.052131813019514084, -0.048455823212862015, -0.025077324360609055, 0.022292068228125572, 0.07928048074245453, 0.028097471222281456, 0.03627608343958855, 0.004778497852385044, -0.06904534995555878, 0.010743755847215652, -0.001145496848039329, 0.02602083794772625, 0.014031224884092808, -0.026964109390974045, 0.06347071379423141, 0.018733007833361626, 0.0027381174731999636, 0.04375346004962921, -0.07906027138233185, -0.05101434141397476, -0.004495465196669102, -0.02788706310093403, 0.07056720554828644, -0.01549873873591423, -0.008394048549234867, 0.08831469714641571, 0.03256689012050629, 0.06166030839085579, 0.028220150619745255, 0.01270715706050396, 0.002628305461257696, -0.045451220124959946, -0.021013205870985985, 0.04532280191779137, 0.03661429509520531, -0.005202482920140028, -0.05979672819375992, 0.004416830372065306, 0.026794947683811188, -0.01434822753071785, 0.04631219804286957, -0.01895751617848873, 0.035672158002853394, 0.0030802723485976458, 0.06047841161489487, -0.02140761725604534, 0.057971157133579254, -0.06402696669101715, -0.024548938497900963, -0.0018716795602813363, -0.0014194936957210302, 0.007410083431750536, -0.005142293870449066, 0.11260280013084412, 0.04892382025718689, -0.0546075664460659, -0.01894364506006241, 0.0029674603138118982, 0.019869696348905563, -0.026333525776863098, -0.0035866484977304935, -0.028378546237945557, -0.007785729132592678, -0.0018649850971996784, -0.0395718514919281, -0.018729301169514656, 0.030655670911073685, -0.03691936284303665, -0.00811320822685957, 0.0800381600856781, -0.0418243482708931, 0.048091817647218704, -0.024155713617801666, -0.02433641627430916, -0.009280219674110413, -0.02580403909087181, -0.06865864992141724, 0.008167407475411892, 0.0003270911693107337, -0.00012836256064474583, 0.05433734506368637, -0.031594131141901016, -0.025100896134972572, -0.0365445576608181, -0.02146892249584198, -0.0006533440318889916, 0.037236809730529785, 0.07303939759731293, -0.024178072810173035, 0.053460072726011276, 0.0025853440165519714, 0.0141966063529253, -0.01673535630106926, -0.051043424755334854, -0.02065260522067547, -0.01257538702338934, 0.0014176707481965423, 0.03614155575633049, -0.00954293180257082, 0.04666351526975632, 0.004001753404736519, -0.00033055193489417434, -0.018491949886083603, -0.030845265835523605, 0.023252785205841064, 0.0038645442109555006, -0.020925398916006088, -0.006802691612392664, -0.0423118993639946, 0.03841620311141014, -0.031296081840991974, -0.011449896730482578, -0.004312473349273205, -0.053122226148843765, 0.06709650903940201, -0.06289774924516678, -0.047047484666109085, 0.019466761499643326, 0.04586232826113701, 0.050311360508203506, -0.02389438822865486, 0.023202992975711823, 0.0703168585896492, 0.006699839141219854, 0.0046934629790484905, -0.0049428935162723064, -0.007330154534429312, 0.013313034549355507, 0.01508280448615551, -0.00027284244424663484, 0.04003681614995003, 0.021854998543858528, 0.0009772314224392176, -0.031360745429992676, 0.03125105798244476, 0.0013317711418494582, -0.2863446772098541, 0.03458177298307419, 0.004998872987926006, -0.06023760139942169, -0.0028190414886921644, 0.014143121428787708, -0.000996860908344388, -0.04112987965345383, -0.008110838942229748, 0.025264471769332886, -0.018719594925642014, -0.054192788898944855, -0.0031307435128837824, 0.04571087658405304, -0.013929442502558231, 0.028431426733732224, 0.013301422819495201, -0.025652676820755005, -0.01692475937306881, 0.05618419125676155, -0.020193390548229218, -0.06671380996704102, -0.0032927629072219133, 0.029936451464891434, 0.0366150364279747, 0.049882300198078156, -0.09354163706302643, 0.02692614682018757, -0.04775166139006615, 0.0035231371875852346, -0.013497523963451385, 0.006552007980644703, 0.0028340471908450127, -0.013333803974092007, -0.01491372287273407, -0.0014210279332473874, 0.013317062519490719, 0.007811484858393669, -0.02796967513859272, 0.030680352821946144, -0.006097051780670881, -0.02926277555525303, 0.005921872332692146, 0.01680668257176876, 0.06660742312669754, -0.0019538302440196276, -0.06043391674757004, -0.01433878019452095, -0.011206929571926594, 0.07431522756814957, -0.04749460518360138, -0.03068278543651104, 0.006944965571165085, 0.04599791765213013, -0.02607829123735428, -0.04174988344311714, 0.0037211368326097727, -0.04337724298238754, -0.028976207599043846, -0.026277419179677963, -0.0037307459861040115, -0.0395229198038578, -0.00864424929022789, -0.044573258608579636, 0.0056627653539180756, -0.057107992470264435, -0.06339368224143982, -0.019197609275579453, 0.0687088593840599, 0.013061895966529846, -0.019357841461896896, 0.02531314268708229, 0.002633948577567935, -0.11780211329460144, -0.019046947360038757, -0.01594032533466816, -0.022857559844851494, -0.0023804432712495327, 0.011579620651900768, 0.04217210412025452, -0.022712355479598045, -0.05211745947599411, 0.006420589517802, 0.03968549892306328, 0.020716765895485878, -0.028097931295633316, 0.022796589881181717, 0.011910906061530113, -0.030902227386832237, 0.013532419688999653, 0.07303618639707565, 0.0022038964089006186, -0.035509221255779266, -0.02824660949409008, 0.052695173770189285, -0.002768297679722309, 0.058477405458688736, -0.006230526603758335, 0.000014034135347174015, 0.025022055953741074, 0.006863435264676809, -0.07175122201442719, 0.04283019155263901, -0.029227465391159058, -0.0037580826319754124, -0.018554329872131348, -0.02846888266503811, 0.012157327495515347, 0.05156049132347107, 0.022923942655324936, -0.011990034021437168, -0.04916410520672798, -0.0026967169251292944, -0.05692324414849281, -0.051169514656066895, -0.024809064343571663, 0.008764267899096012, 0.04779380187392235, -0.028566809371113777, -0.01276809349656105, -0.04505755007266998, 0.021430587396025658, -0.0282062366604805, 0.02569900080561638, -0.05822864919900894, -0.04021041840314865, -0.02987663447856903, -0.02944107912480831, 0.021987702697515488, 0.016664259135723114, -0.013286465778946877, 0.05962945520877838, 0.011806496419012547, -0.045068010687828064, 0.015064810402691364, -0.004315846133977175, -0.031041327863931656, -0.023632442578673363, 0.008258027024567127, -0.025439729914069176, 0.02647622674703598, 0.037994660437107086, 0.007465832866728306, 0.03741627186536789, 0.023180607706308365, 0.0008319113403558731, 0.06445469707250595, -0.03180622681975365, 0.03672868758440018, 0.0010203291894868016, 0.01148908119648695, -0.07518339157104492, 0.04049838334321976, -0.040868137031793594, -0.03706768900156021, -0.035544250160455704, 0.04295669123530388, -0.014607851393520832, -0.050092440098524094, -0.020316237583756447, 0.01628055050969124, -0.03586335852742195, -0.03578871116042137, -0.03269326314330101, 0.031136231496930122, 0.05593563988804817, -0.022118620574474335, 0.015805106610059738, -0.007232042495161295, -0.0313824787735939, -0.010862376540899277, 0.02077629789710045, -0.044928621500730515, -0.004655525553971529, 0.025553882122039795, -0.012628928758203983, -0.0261892918497324, -0.007055504713207483, 0.03772459924221039, 0.02066873386502266, -0.005742291454225779, -0.01349363848567009, 0.008281932212412357, 0.04896325245499611, 0.03679763525724411, -0.008789471350610256, 0.019759157672524452, -0.00912204198539257, -0.029893238097429276, -0.0008934845682233572, -0.04705570638179779, -0.007922003045678139, 0.0018207118846476078, 0.040760453790426254, -0.04675725847482681, -0.07792291045188904, 0.02729761227965355, 0.056501105427742004, 0.019962545484304428, 0.0030019269324839115, 0.00396329490467906, -0.002022262429818511, -0.02359209954738617, 0.030080385506153107, 0.04865751788020134, -0.04561128467321396, 0.014737051911652088, 0.0011921455152332783, 0.0043913559056818485, 0.0018843424040824175, 0.014720269478857517, -0.05155874416232109, -0.030339397490024567, -0.04028259590268135, 0.0014988757902756333, -0.04598093405365944, -0.027265075594186783, -0.031115133315324783, 0.017139039933681488, 0.004190250765532255, -0.02625870145857334, -0.013246987946331501, -0.0003273172478657216, 0.015499915927648544, -0.02839433215558529, 0.023863045498728752, -0.016858112066984177, 0.01209264062345028, 0.02720264345407486, -0.02975449524819851, -0.004553872160613537, -0.023442352190613747, 0.01449347473680973, 0.012898904271423817, -0.015353141352534294, -0.01755935326218605, -0.019496716558933258, 0.013431082479655743, -0.020651845261454582, 0.035606544464826584, -0.01601696014404297, -0.04580304026603699, -0.021503984928131104, -0.002481524832546711, -0.03964154049754143, 0.019926942884922028, -0.04405255615711212, -0.029925638809800148, 0.0068591744638979435, 0.08081597834825516, 0.019967256113886833, 0.030261998996138573, -0.029175452888011932, -0.003492886433377862, 0.05658567696809769, -0.08003926277160645, -0.03598206490278244, -0.044005006551742554, -0.07641921192407608, 0.002103507751598954, 0.014454721473157406, 0.026648633182048798, -0.02497924491763115, 0.03499936684966087, 0.015679849311709404, 0.04736439138650894, 0.034200772643089294, -0.001869788160547614, 0.047621604055166245, -0.05571907386183739, 0.0029150648042559624, -0.09610679745674133, 0.026832329109311104, 0.016178935766220093, 0.016780218109488487, -0.0054040029644966125, -0.02833016961812973, -0.03683670237660408, 0.013628767803311348, -0.0628674104809761, -0.018223287537693977, 0.0262940414249897, 0.021147385239601135, -0.009969240054488182, 0.023294571787118912, -0.06851214915513992, 0.011274109594523907, 0.010035945102572441, -0.046571034938097, -0.034894805401563644, -0.025621743872761726, 0.048909012228250504, 0.034493833780288696, 0.009673567488789558, -0.03592913970351219, -0.0025259668473154306, 0.07085508108139038, 0.021334731951355934, 0.006832454353570938, 0.0339185930788517, -0.010241048410534859, 0.045209288597106934, 0.04534858092665672, 0.0031325467862188816, -0.0048660156317055225, 0.003907166421413422, 0.0013505545211955905, -0.05812055245041847, 0.028341563418507576, 0.024715345352888107, -0.04681847244501114, -0.04285087063908577, 0.06125539168715477, 0.023380529135465622, -0.044957485049963, -0.028302134945988655, 0.014520198106765747, -0.06287121027708054, 0.015085672959685326, -0.0130870770663023, -0.01347177941352129, -0.040781211107969284, 0.06618677079677582, 0.01671382412314415, 0.018193889409303665, 0.06361137330532074, -0.006170009728521109, -0.023918526247143745, -0.014455635100603104, 0.08879542350769043, 0.0822044387459755, 0.040666427463293076, -0.0028986192774027586, 0.05066842958331108, -0.023834392428398132, -0.02901764027774334, 0.02871592715382576, -0.026152631267905235, -0.017118461430072784, -0.035678863525390625, 0.028887731954455376, 0.04263263940811157, -0.0164870023727417, 0.08901208639144897, -0.037482041865587234, -0.00435347156599164, 0.008185327053070068, 0.0023875723127275705, 0.028300166130065918, 0.08758127689361572, 0.00446091964840889, 0.016956783831119537, -0.016879335045814514, -0.02440176159143448, 0.021935414522886276, -0.024680795148015022, -0.015462561510503292, 0.02031673677265644, 0.03125888109207153, 0.02523192949593067, 0.023388776928186417, 0.01378676574677229, 0.07327405363321304, -0.024462511762976646, -0.0029526983853429556, 0.016734672710299492, 0.021175440400838852, 0.0056510306894779205, 0.01167334895581007, -0.01558391097933054, -0.0249980129301548, -0.013219460844993591, -0.0340859517455101, -0.025083035230636597, -0.011696236208081245, -0.006694826763123274, 0.07416200637817383, -0.010282950475811958, -0.012543878518044949, 0.02274877205491066, 0.021132884547114372, -0.022807128727436066, -0.07309894263744354, -0.04418633133172989, -0.018406035378575325, -0.06616923213005066, -0.022172240540385246, 0.0020417608320713043, -0.00870763324201107, -0.028878703713417053, -0.04153825342655182, -0.00782809779047966, -0.014399394392967224, 0.050773732364177704, -0.054597243666648865, -0.034401267766952515, 0.017842985689640045, 0.03391215577721596, 0.027322538197040558, 0.022408491000533104, 0.03300626575946808, 0.0054262010380625725, 0.0031100893393158913, -0.03507190942764282, -0.011346316896378994, 0.035885170102119446, 0.022365566343069077, -0.008856142871081829, -0.09819020330905914, 0.02363828755915165, 0.018877573311328888, -0.015066870488226414, -0.0693085789680481, 0.04414227232336998, -0.003216717392206192, -0.008967478759586811, 0.059960272163152695, -0.02169663831591606, -0.000611962575931102, -0.04151732847094536, 0.003999829292297363, -0.010617388412356377, 0.01555453147739172, 0.031398478895425797, -0.022758768871426582, 0.07678870111703873, 0.0351560153067112, -0.009514706209301949, -0.04789137840270996, 0.0034081675112247467, -0.01899453066289425, 0.005623213481158018, -0.028621774166822433, -0.04435540735721588, -0.01671922765672207, -0.07035775482654572, -0.007642845157533884, 0.00887344777584076, -0.02669205330312252, -0.03843626007437706, 0.05006352439522743, 0.029188498854637146, -0.047811903059482574, 0.0164056234061718, -0.03976098820567131, 0.06200341880321503, -0.023540841415524483, -0.007588110864162445, 0.0019507103133946657, 0.015607661567628384, 0.0059609180316329, 0.01147038210183382, 0.010983400978147984, -0.04605312645435333, 0.0024122088216245174, 0.0007100731017999351, 0.04475841298699379, 0.020392384380102158, 0.014221648685634136, -0.0013992823660373688 ]
[ -0.11372716724872589, -0.011250663548707962, -0.052797529846429825, -0.010834417305886745, 0.0341358557343483, -0.03210745379328728, -0.025979189202189445, 0.023000486195087433, 0.013285846449434757, -0.02520977333188057, 0.0112797562032938, -0.02014356106519699, 0.015172485262155533, -0.017511120066046715, 0.06799648702144623, -0.004829737823456526, -0.02544543705880642, -0.05604373663663864, 0.02167285420000553, 0.011137576773762703, 0.04552360251545906, -0.05934823304414749, -0.03545248880982399, -0.0384783074259758, 0.014762300066649914, 0.0452125109732151, -0.012241707183420658, -0.02772933803498745, 0.02858072519302368, -0.2179259955883026, -0.0007894682348705828, 0.042291607707738876, 0.042213860899209976, -0.029480375349521637, 0.003973336890339851, 0.035873860120773315, 0.0060437326319515705, 0.042360253632068634, -0.03700423240661621, 0.02851436287164688, -0.019408755004405975, 0.030167412012815475, -0.05600050091743469, -0.03054211288690567, 0.008384675718843937, 0.01974465884268284, -0.01975790411233902, -0.05298732966184616, -0.02329137548804283, 0.004025355447083712, -0.061895426362752914, -0.030114488676190376, -0.019597306847572327, -0.023316435515880585, -0.00024603071506135166, 0.007196684833616018, 0.025239868089556694, 0.07755383104085922, -0.0037646861746907234, -0.016253359615802765, 0.04399661347270012, -0.03207792714238167, -0.10126843303442001, 0.0724063292145729, 0.07189391553401947, 0.05004784092307091, -0.018011409789323807, -0.04346642643213272, -0.03177665174007416, 0.09493731707334518, 0.002364229178056121, 0.0046270363964140415, -0.018571054562926292, 0.04883526265621185, 0.014194653369486332, -0.01790890097618103, -0.006639032159000635, -0.0014189998619258404, 0.011515208519995213, -0.02301507629454136, -0.01567484810948372, -0.02510126680135727, -0.007624676916748285, -0.013822241686284542, -0.026733195409178734, -0.009066596627235413, -0.007496382109820843, 0.0404340997338295, 0.03962549567222595, 0.011716844514012337, 0.04987563192844391, -0.019687220454216003, 0.06866106390953064, 0.00001527656968391966, -0.05255861207842827, 0.03287087380886078, -0.007320198696106672, 0.020902181044220924, -0.05337231978774071, 0.45428895950317383, -0.03689301759004593, -0.026075400412082672, 0.08052092790603638, 0.03313510864973068, 0.019623244181275368, 0.01650295965373516, 0.012804001569747925, -0.04998905584216118, 0.025695519521832466, -0.046302735805511475, 0.009493140503764153, -0.004390307702124119, 0.0806046798825264, -0.019104771316051483, -0.007753083948045969, -0.016658801585435867, 0.04285502806305885, 0.015436844900250435, 0.01738644763827324, 0.014040183275938034, -0.03337195888161659, -0.003749578958377242, 0.016250085085630417, -0.0029745539650321007, -0.02053273282945156, -0.032965343445539474, -0.05479757487773895, 0.053256869316101074, 0.018119657412171364, 0.011386624537408352, 0.04812310263514519, -0.0388316847383976, -0.03268229961395264, -0.0035938972141593695, 0.0032485760748386383, -0.009708014316856861, 0.009583943523466587, -0.01147883664816618, 0.012123608030378819, 0.007690855301916599, -0.010748944245278835, 0.007157143671065569, 0.03686821088194847, -0.00890405848622322, -0.03567935898900032, 0.08293544501066208, 0.017846964299678802, -0.032078225165605545, -0.025743035599589348, -0.034609708935022354, -0.01158912479877472, 0.005333511624485254, -0.012854330241680145, -0.07494865357875824, 0.0043733688071370125, 0.0046098195016384125, 0.06835322827100754, -0.002227962948381901, -0.06087016314268112, -0.039661556482315063, -0.0015832979697734118, 0.027487926185131073, -0.03883742913603783, 0.050361134111881256, 0.03230322524905205, -0.06598839163780212, -0.01449310127645731, 0.009812719188630581, 0.02883475460112095, -0.059195633977651596, -0.004284420982003212, 0.005611260421574116, 0.002145050559192896, -0.009958273731172085, 0.04564834386110306, -0.02210330404341221, -0.024720629677176476, -0.016769731417298317, 0.06997961550951004, 0.03989841416478157, 0.031271785497665405, 0.0038123708218336105, -0.03949328511953354, 0.008708150126039982, -0.018327482044696808, -0.11888469010591507, -0.053523093461990356, 0.023209867998957634, -0.010381663218140602, -0.012262064032256603, -0.02863968349993229, -0.013293826021254063, -0.06958751380443573, 0.08333403617143631, -0.04243851453065872, -0.04040820524096489, 0.059578314423561096, 0.0049201129004359245, -0.028833191841840744, -0.008844559080898762, -0.043391499668359756, 0.04508594796061516, -0.023419063538312912, 0.04135684669017792, -0.05937816947698593, 0.06828170269727707, 0.05393645539879799, -0.06662458926439285, 0.06251554936170578, 0.046466488391160965, -0.03438109531998634, -0.021107248961925507, -0.001951795071363449, 0.0319255068898201, 0.01568814553320408, -0.024153107777237892, 0.006177134346216917, 0.02062377519905567, 0.026765061542391777, -0.005000273231416941, -0.009794049896299839, -0.02742590382695198, -0.02150505781173706, -0.32547134160995483, -0.052479781210422516, -0.009656763635575771, -0.042583998292684555, 0.03699361905455589, -0.06858135014772415, 0.0265120230615139, -0.014511280693113804, -0.015411601401865482, 0.001682443544268608, 0.03353758156299591, -0.01772831380367279, -0.02762199006974697, -0.054464321583509445, -0.01792215369641781, 0.033685483038425446, -0.02676672860980034, -0.04142739996314049, -0.03928295895457268, 0.01047917827963829, -0.003263393882662058, 0.0006488093640655279, 0.02567324973642826, -0.0699007585644722, -0.0051397355273365974, -0.0537421815097332, 0.10017262399196625, -0.02099386602640152, 0.10480751097202301, 0.0036056293174624443, 0.012734648771584034, -0.00878174789249897, 0.0202106274664402, -0.08774974197149277, 0.010788939893245697, -0.015156546607613564, -0.0032752470578998327, -0.013943802565336227, 0.03986025229096413, -0.05494474992156029, -0.06712598353624344, -0.0006927903741598129, -0.06683389842510223, -0.047691840678453445, -0.048788003623485565, 0.008546688593924046, -0.03707589954137802, -0.04876173287630081, -0.02923821285367012, 0.09550153464078903, 0.020038267597556114, 0.017403576523065567, 0.018188387155532837, 0.02136010304093361, -0.010633395053446293, -0.026488952338695526, -0.08181490004062653, -0.000496818742249161, 0.03961649537086487, 0.030559463426470757, 0.04591680318117142, 0.0393013171851635, 0.030644576996564865, -0.060926008969545364, 0.012500100769102573, 0.03411133214831352, 0.02647218108177185, -0.015695523470640182, 0.03526324778795242, -0.023288549855351448, 0.007803043816238642, 0.146835058927536, 0.0004572388425003737, -0.08218186348676682, 0.012095457874238491, 0.0426083542406559, -0.009321731515228748, 0.04154745861887932, 0.005418817978352308, -0.018027333542704582, 0.02814314514398575, -0.006610962096601725, 0.03642715886235237, -0.022986024618148804, -0.031718719750642776, 0.01854509674012661, -0.01560270506888628, -0.012847930192947388, 0.03775152936577797, 0.008801119402050972, -0.022184215486049652, 0.030859140679240227, -0.0100527573376894, -0.06869997084140778, 0.08784251660108566, 0.012183831073343754, -0.22978773713111877, -0.018017491325736046, 0.0802636593580246, 0.057840242981910706, -0.004197570960968733, 0.05753748118877411, 0.03499354049563408, -0.06840807944536209, 0.03363830968737602, 0.007566576823592186, 0.01286898460239172, 0.02802356146275997, 0.018949853256344795, -0.0022510976996272802, 0.07231087237596512, -0.02238970249891281, 0.055277325212955475, -0.03252355381846428, 0.013341840356588364, -0.010891027748584747, 0.03134354576468468, -0.006907994858920574, 0.17377810180187225, -0.012392123229801655, 0.02743562124669552, 0.012150542810559273, 0.01684805005788803, 0.026221569627523422, 0.04548231512308121, 0.02895335853099823, -0.008472602814435959, 0.008599228225648403, 0.04541191831231117, -0.001548177795484662, 0.010466506704688072, -0.05902749300003052, -0.0031995612662285566, -0.017219962552189827, 0.028381476178765297, -0.014829155057668686, 0.02983902208507061, -0.0011353041045367718, -0.02304842323064804, 0.04193598031997681, 0.07473770529031754, 0.023258229717612267, -0.021589800715446472, -0.01417883113026619, -0.037057943642139435, -0.01394504401832819, -0.024104159325361252, -0.042457353323698044, 0.013369311578571796, -0.012009699828922749, 0.01383729837834835, 0.05201209336519241, -0.004290059208869934, -0.009166544303297997, -0.02946074865758419, 0.026420820504426956, 0.0024412693455815315, -0.007829975336790085, 0.1057315245270729, 0.06333810091018677, 0.041399143636226654 ]
[ -0.0025428275112062693, -0.003924748860299587, -0.0014263719785958529, -0.0019993188325315714, -0.01985201984643936, -0.009288865141570568, 0.008986896835267544, 0.025697041302919388, -0.006379084195941687, -0.006392488721758127, 0.0009832718642428517, 0.017568837851285934, 0.018832121044397354, -0.01990590989589691, 0.024200014770030975, -0.00844705943018198, -0.0007685837335884571, 0.001019412069581449, -0.0025896038860082626, -0.014952865429222584, -0.01753419078886509, 0.03168690577149391, 0.009488258510828018, -0.0031685002613812685, 0.014140455983579159, 0.011082811281085014, -0.008370992727577686, -0.021191507577896118, 0.04377000033855438, -0.11955747753381729, -0.010922160930931568, -0.00462068198248744, 0.03540376201272011, 0.023571806028485298, -0.006971478927880526, -0.008700860664248466, -0.011471862904727459, 0.008736390620470047, 0.0004914344754070044, -0.022803304716944695, -0.014126226305961609, 0.008472921326756477, -0.018623506650328636, 0.011074934154748917, -0.01915743201971054, 0.018964583054184914, -0.011988744139671326, -0.06056049093604088, 0.006022389512509108, -0.045079655945301056, 0.0022475069854408503, 0.001567811705172062, -0.001950127654708922, 0.000704118749126792, 0.023696288466453552, -0.012324978597462177, -0.023586278781294823, -0.010154147632420063, -0.02235596626996994, -0.014253824949264526, -0.007283719256520271, 0.005244451109319925, -0.013758807443082333, -0.02771402709186077, -0.0053176539950072765, -0.0024506663903594017, 0.005387745797634125, 0.03011319227516651, -0.0015153082786127925, -0.003713649697601795, -0.0027843904681503773, 0.010731013491749763, -0.03201151639223099, 0.003921718802303076, 0.018437759950757027, 0.022277768701314926, 0.012486692517995834, -0.019462956115603447, -0.0011649805819615722, -0.05730700120329857, -0.05416525527834892, 0.03253224492073059, 0.028966573998332024, -0.008904363960027695, 0.028677714988589287, -0.027325883507728577, 0.020976269617676735, -0.008502567186951637, 0.02184711955487728, -0.004715090151876211, -0.001230982830747962, 0.034029822796583176, -0.008835610933601856, -0.0003168252296745777, -0.0974905788898468, -0.005031440872699022, -0.014215325005352497, -0.0002588095376268029, -0.027096396312117577, 0.8765331506729126, 0.0004678521945606917, 0.04531531408429146, 0.021782929077744484, 0.021559137850999832, 0.002447244245558977, -0.008448118343949318, -0.02205467037856579, -0.00025326639297418296, -0.009228022769093513, -0.0288992989808321, 0.009938807226717472, 0.004657691344618797, 0.04377353563904762, 0.02458225190639496, 0.022560520097613335, 0.006085772067308426, -0.009306525811553001, -0.00658611673861742, 0.010627673007547855, 0.019950151443481445, 0.018140792846679688, -0.02647273801267147, -0.012987634167075157, 0.026079334318637848, 0.009485369548201561, -0.18482403457164764, 0.002970452420413494, -8.908474386815105e-33, 0.011873903684318066, 0.03651238605380058, 0.0062760598957538605, 0.010473685339093208, -0.012450271286070347, -0.05137275904417038, 0.029591603204607964, -0.010063792578876019, 0.0024234745651483536, -0.022390807047486305, 0.012969974428415298, 0.0014794606249779463, -0.012102055363357067, 0.012427258305251598, 0.026703475043177605, -0.015137383714318275, 0.0014393017627298832, 0.01364816166460514, 0.0015644499799236655, 0.01047925092279911, 0.00618931045755744, 0.05790809169411659, -0.005761697888374329, -0.032220855355262756, 0.03707030788064003, 0.009244299493730068, 0.033829644322395325, -0.022896578535437584, -0.022653354331851006, -0.03502889350056648, -0.03461862727999687, 0.0024869299959391356, -0.01306902151554823, 0.014440343715250492, 0.0129759032279253, -0.03884892538189888, 0.0065476554445922375, 0.01764562912285328, -0.001289262785576284, -0.045726314187049866, -0.03371195122599602, 0.00046065126662142575, -0.051660437136888504, 0.012118859216570854, 0.011168593540787697, -0.004225705284625292, 0.010310146026313305, 0.05913364142179489, 0.033337876200675964, -0.019297154620289803, 0.008233370259404182, 0.017437756061553955, 0.00796674843877554, 0.025452909991145134, 0.0016727681504562497, 0.00410469388589263, -0.003159042214974761, -0.025136176496744156, 0.015091354958713055, 0.0550166592001915, 0.019502775743603706, 0.010207854211330414, -0.03467412665486336, 0.052248261868953705, -0.009438025765120983, -0.03243521228432655, 0.014952666126191616, 0.012881051748991013, 0.028996963053941727, -0.012272119522094727, -0.02923250012099743, -0.016384879127144814, -0.0013387355720624328, -0.01194095704704523, 0.0006431462243199348, -0.011281582526862621, 0.017795396968722343, -0.01445829402655363, -0.014745092950761318, 0.01442527025938034, 0.008387187495827675, -0.0014204289764165878, 0.010742615908384323, -0.02029028721153736, -0.007316694129258394, -0.012438120320439339, 0.016261138021945953, -0.004483251832425594, -0.0006126511143520474, 0.01416792906820774, 0.032146576792001724, -0.008116813376545906, 0.024734804406762123, -0.038088586181402206, -0.017870724201202393, 8.948529356819375e-33, 0.004059345927089453, -0.02585124410688877, -0.015122601762413979, -0.007926363497972488, -0.008558094501495361, 0.004094102885574102, 0.008487483486533165, 0.00675548380240798, -0.05677517503499985, 0.024732185527682304, -0.02136032097041607, 0.019724203273653984, 0.015947401523590088, 0.018147867172956467, 0.04167964681982994, -0.022854389622807503, 0.020833536982536316, 0.0010286773322150111, 0.023027606308460236, -0.0033968407660722733, 0.02445775456726551, 0.01571141742169857, 0.014857298694550991, -0.007506216876208782, 0.008519168943166733, 0.05394281819462776, -0.043781816959381104, 0.034498393535614014, -0.002553548663854599, -0.010737371630966663, 0.0030409893952310085, -0.006172302644699812, 0.014142392203211784, -0.01673922687768936, -0.00818463321775198, -0.002952271606773138, 0.010962465777993202, -0.01729639060795307, -0.014704858884215355, 0.0009502645698376, -0.012504291720688343, -0.010817532427608967, -0.0010707596084102988, 0.0164816714823246, 0.013741602189838886, -0.002727596554905176, -0.003583717392757535, -0.008890274912118912, 0.011357303708791733, -0.009936969727277756, 0.026845157146453857, 0.0236520916223526, 0.015309453941881657, 0.003259023418650031, -0.010188156738877296, -0.014678179286420345, -0.026679694652557373, -0.015806065872311592, -0.010237566195428371, 0.016098566353321075, -0.001146497204899788, -0.007605411112308502, -0.03187495470046997, -0.024380512535572052, -0.03683670610189438, -0.04172668233513832, -0.0048094321973621845, -0.00027016099193133414, -0.009455638937652111, -0.03271760791540146, -0.03970540687441826, 0.01410896610468626, 0.01455970574170351, 0.02437429688870907, 0.009703127667307854, -0.0006019357824698091, 0.007917665876448154, 0.019762814044952393, 0.005400468595325947, 0.012698456645011902, 0.0083824647590518, -0.010066910646855831, 0.0002211878017988056, -0.004918938037008047, -0.0126165971159935, -0.007614785339683294, -0.024768775328993797, 0.026428017765283585, -0.0047615463845431805, -0.025096680968999863, -0.02267010509967804, -0.02201712690293789, 0.00047624928993172944, 0.03210635483264923, -0.008475243113934994, -1.4172617746055494e-8, 0.008170749992132187, 0.003528226399794221, -0.015906542539596558, -0.01002264954149723, 0.05575752630829811, -0.010840194299817085, -0.03756359592080116, 0.015486113727092743, -0.0311250239610672, 0.01625007763504982, 0.03629826009273529, 0.015645211562514305, -0.016853615641593933, 0.0003154724254272878, 0.023502537980675697, -0.021925806999206543, -0.008530156686902046, -0.03473478928208351, 0.018103187903761864, -0.003427158808335662, 0.04146497696638107, 0.07172702997922897, -0.02804214507341385, 0.0006766573642380536, -0.0016697891987860203, 0.02201547846198082, 0.00439639063552022, -0.08032900094985962, -0.00846814550459385, 0.022708874195814133, 0.037847891449928284, -0.03400742635130882, -0.036450739949941635, 0.007665399461984634, -0.011059232987463474, -0.03201166167855263, 0.027457579970359802, 0.026304181665182114, 0.0024328918661922216, -0.017928484827280045, -0.009483703412115574, 0.017664669081568718, -0.002917773788794875, -0.014022428542375565, 0.000558098079636693, 0.0002212611143477261, -0.017832227051258087, -0.01911764219403267, 0.012699323706328869, -0.014146476052701473, -0.005986812058836222, 0.02057061903178692, 0.00024964025942608714, 0.02737845666706562, -0.007637284230440855, -0.02441270276904106, -0.013513496145606041, -0.011614209040999413, -0.021383171901106834, 0.013072189874947071, 0.02619926817715168, 0.02833663858473301, -0.0013519246131181717, -0.0021272834856063128 ]
coding-the-primitive-obsession
https://markhneedham.com/blog/2009/10/23/coding-the-primitive-obsession
false
2009-10-12 22:20:16
DSLs: Violating the builder pattern
[ "c", "dsl" ]
[ "Coding" ]
I recently came across http://pragdave.blogs.pragprog.com/pragdave/2008/03/the-language-in.html[an interesting post by Dave Thomas] where he discussed several domain specific languages (DSLs) he's come across and suggests that a lot of them seem to be trying too hard to read like the english language instead of focusing on describing a vocabulary for their specific domain Reading this post reminded me that I fell into this trap earlier in the year while doing some work to create a builder pattern in our code which didn't need to make use of a 'Build' method but instead would make use of http://www.markhneedham.com/blog/2009/02/22/c-implicit-operator/[C#'s implicit operator to automatically convert the builder to an object at the appropriate moment]. My motivation was to make the code more readable but the code actually ended up being quite misleading for anyone else who came across it. When someone sees the builder pattern they have an expectation that the method chaining sequence should end with 'Build()' so by using the implicit operator I was essentially breaking a well defined DSL for creating new objects. To add to our problems, we nearly always use 'var' to describe local variables in our code base so there we times when you couldn't tell if what you had was a 'Foo' or a 'FooBuilder'. Quite frequently the implicit conversion only happens when the variable is passed into another method or construct which explicitly defines which value is needed. [source,csharp] ---- [Test] public void SomeRandomTest() { var foo = new FooBuilder().Foo("someValue"); var someFoos = new Foo[] { foo }; } ---- In this example 'foo' is only implicitly converted to the type 'Foo' when it is put into the array and its actual type is 'FooBuilder'. In terms of what I was trying to achieve I created a piece of code that was easier to read but more difficult to understand which means that it's not intention revealing http://twitter.com/sai_venkat/statuses/4624116366[as my colleague Sai Venkatakrishnan pointed out]. It was an interesting experiment but I think in the future I'll stick with the more obvious approach which is a bit more verbose but a bit more intention revealing as well.
null
null
[ 0.012046822346746922, -0.00233495538122952, -0.018142003566026688, 0.013253764249384403, 0.07162346690893173, 0.022226247936487198, 0.05266988277435303, 0.027476361021399498, 0.010708375833928585, -0.011585658416152, -0.001473737065680325, 0.0024356343783438206, -0.08214525878429413, 0.02157600037753582, -0.032685209065675735, 0.07115154713392258, 0.05909221991896629, -0.024223122745752335, -0.000474441796541214, 0.007554916199296713, 0.008581425063312054, 0.047776639461517334, 0.0034313721116632223, 0.02660261280834675, 0.02789960615336895, 0.029332241043448448, -0.009681995026767254, -0.009039792232215405, -0.06349112093448639, -0.010236307047307491, 0.037902265787124634, 0.030557923018932343, 0.0031648820731788874, -0.026476511731743813, -0.012394137680530548, 0.00520039489492774, -0.02536887302994728, -0.017183974385261536, -0.010233075357973576, 0.02145947702229023, -0.05652901530265808, 0.025772100314497948, 0.0025866932701319456, 0.02761850878596306, -0.04770549386739731, 0.010540462099015713, -0.06276310235261917, -0.0216131042689085, -0.05233577638864517, -0.029499758034944534, -0.056190963834524155, 0.026487302035093307, -0.02884991280734539, 0.008068135939538479, 0.0034366287291049957, 0.04470767453312874, 0.03503143787384033, -0.08204583823680878, 0.016765397042036057, -0.05917772650718689, 0.009029044769704342, 0.004231079947203398, 0.0016179444501176476, -0.003899312112480402, 0.04825201258063316, 0.005840830970555544, -0.03574753180146217, 0.0388149730861187, -0.04977383464574814, -0.03785832226276398, -0.015077264979481697, 0.0049224188551306725, -0.0071157184429466724, 0.007913165725767612, -0.00569567084312439, -0.02444269135594368, -0.015483238734304905, 0.05905241519212723, 0.027699271216988564, 0.05776635557413101, -0.024609912186861038, 0.01309929508715868, 0.039518967270851135, 0.00656050443649292, 0.03041422925889492, -0.008449388667941093, 0.002606551395729184, 0.005719599314033985, -0.02997419983148575, 0.06450026482343674, 0.010290870442986488, -0.053613096475601196, -0.00030675335437990725, 0.02464311756193638, 0.018925519660115242, 0.0004933531163260341, 0.01583430916070938, -0.008068365044891834, -0.021435698494315147, 0.011839048936963081, -0.03193681687116623, -0.025161126628518105, 0.03301152214407921, -0.000005389107172959484, -0.06370721012353897, -0.03399074077606201, -0.05177939310669899, 0.004749429877847433, 0.00881094392389059, 0.019566351547837257, -0.05819771811366081, 0.02769535221159458, -0.02017011120915413, -0.01150328665971756, -0.061171986162662506, 0.04548992961645126, 0.00866322498768568, -0.017228541895747185, -0.014864950440824032, 0.016174806281924248, 0.03683340921998024, -0.0015094110276550055, -0.030514920130372047, 0.05334709584712982, -0.0033848239108920097, 0.04543403163552284, -0.004056478384882212, 0.08503278344869614, -0.010186648927628994, -0.08847039937973022, 0.007805948611348867, 0.03904842585325241, -0.028295667842030525, -0.004696379881352186, -0.01094742864370346, -0.02316387929022312, -0.020152296870946884, -0.000729947118088603, 0.016988229006528854, 0.02017235942184925, -0.041782017797231674, -0.053507957607507706, 0.03937623277306557, -0.042444273829460144, 0.009527580812573433, 0.03771594166755676, -0.0117108803242445, -0.02182367816567421, -0.0007641984848305583, 0.029401032254099846, 0.009538951329886913, 0.06784175336360931, 0.0498640239238739, -0.040585216134786606, 0.004260163754224777, 0.05245152488350868, 0.005249271169304848, 0.000985719496384263, 0.014998890459537506, 0.033488038927316666, 0.05950971692800522, 0.01175887230783701, 0.027175169438123703, 0.034102581441402435, 0.03530103713274002, 0.005799488630145788, 0.010878033936023712, 0.03733435273170471, -0.0001247321633854881, -0.016878167167305946, -0.05718241631984711, -0.042955465614795685, 0.04013288393616676, -0.05213404446840286, -0.020681845024228096, 0.011109692975878716, 0.06569382548332214, 0.003431399818509817, 0.07304453104734421, -0.023736728355288506, -0.06513027101755142, 0.002452123211696744, -0.015533193945884705, 0.029074903577566147, 0.026333797723054886, -0.016394777223467827, 0.06342030316591263, 0.03816194832324982, -0.006945147644728422, 0.04264366999268532, -0.05553527921438217, -0.05121367797255516, -0.019115690141916275, -0.024766216054558754, 0.06723921000957489, -0.03176737204194069, -0.03478564694523811, 0.08313906937837601, 0.011327693238854408, 0.04042442515492439, 0.04141901060938835, -0.004227249417454004, -0.0019266091985628009, -0.03482943773269653, -0.01165329571813345, 0.03289362043142319, 0.03600273281335831, 0.01707584597170353, -0.053499918431043625, 0.004926936700940132, 0.0121978260576725, -0.0010860507609322667, 0.03427239879965782, -0.010215851478278637, 0.032280806452035904, 0.007012399844825268, 0.036382392048835754, -0.029106615111231804, 0.06341364979743958, -0.063643679022789, 0.036944299936294556, -0.0035571902990341187, -0.018103288486599922, -0.017104435712099075, -0.012257016263902187, 0.12084195762872696, 0.03605195879936218, -0.03779738023877144, -0.05427434295415878, -0.0017242891481146216, 0.014395931735634804, -0.014378130435943604, 0.020386887714266777, -0.01444443129003048, 0.003176688449457288, -0.009832716546952724, -0.04705127701163292, -0.003467727918177843, 0.009903335943818092, -0.018484165892004967, 0.017439356073737144, 0.09641633182764053, -0.05069471895694733, 0.024362601339817047, -0.01804412715137005, -0.019283676519989967, 0.007066577207297087, -0.028659407049417496, -0.06093214824795723, 0.0029985173605382442, 0.02589382790029049, -0.012672564014792442, 0.05621815472841263, -0.015471803024411201, -0.015949750319123268, -0.014180013909935951, -0.0639786422252655, -0.004182673990726471, 0.030884603038430214, 0.06435331702232361, 0.005824557039886713, 0.059565771371126175, -0.016517577692866325, -0.01359033863991499, -0.01484567392617464, -0.03954221308231354, -0.013457395136356354, 0.017041370272636414, 0.003829431487247348, 0.04222986474633217, -0.0016391559038311243, 0.02682510018348694, 0.006453657057136297, 0.003998491447418928, -0.02658437006175518, -0.015099357813596725, 0.020254548639059067, 0.0008261959883384407, -0.0223381444811821, -0.030349990352988243, -0.05998009815812111, 0.02639334835112095, -0.057911135256290436, -0.03540610149502754, -0.014304854907095432, -0.06600826978683472, 0.03387423977255821, -0.08978212624788284, -0.08005557954311371, -0.0022089884150773287, 0.05273766443133354, 0.026406992226839066, -0.012564488686621189, 0.022684073075652122, 0.08443821966648102, 0.01709621585905552, 0.0050942255184054375, 0.009093130007386208, 0.010815994814038277, 0.022059697657823563, -0.005344530567526817, 0.021639782935380936, 0.03933495655655861, -0.006540070753544569, -0.014927071519196033, -0.04561740905046463, 0.03549002483487129, 0.010588417761027813, -0.2606106102466583, 0.015547381713986397, -0.016226889565587044, -0.07839149981737137, 0.015327234752476215, -0.014158876612782478, -0.012414935976266861, -0.03287547081708908, -0.018431376665830612, 0.06606027483940125, -0.02635279856622219, -0.06901644915342331, -0.03750459477305412, 0.04047457128763199, -0.013528989627957344, 0.007111360784620047, 0.005966880824416876, -0.03764558956027031, 0.014344518072903156, 0.054378852248191833, -0.010503444820642471, -0.05307331681251526, 0.028937293216586113, 0.04366258531808853, 0.052652377635240555, 0.050807561725378036, -0.08168904483318329, 0.032612673938274384, -0.0199468694627285, 0.0012163313804194331, -0.015406403690576553, 0.008641465567052364, 0.0011634257389232516, -0.012391118332743645, -0.048736635595560074, 0.005552700255066156, 0.00624058535322547, 0.033167578279972076, 0.007461299188435078, 0.01996525190770626, -0.04485303536057472, -0.0559566430747509, -0.019382864236831665, -0.022831911221146584, 0.064152792096138, -0.018198387697339058, -0.08338367193937302, -0.0034381679724901915, -0.03618256375193596, 0.05476667732000351, -0.048624493181705475, -0.040905315428972244, 0.01838294044137001, 0.04752197116613388, -0.0067683253437280655, -0.030310187488794327, 0.01042361930012703, -0.037211667746305466, -0.0590936653316021, -0.012533318251371384, 0.0032564608845859766, -0.03509729728102684, -0.010742503218352795, -0.0489303395152092, 0.0019418548326939344, -0.043056946247816086, -0.05130438506603241, -0.010889070108532906, 0.06341593712568283, 0.046673741191625595, -0.012092703953385353, 0.029988650232553482, -0.008496856316924095, -0.1296052783727646, 0.0030186153016984463, -0.046079106628894806, -0.008345353417098522, -0.04914252087473869, 0.011848188936710358, 0.03691684454679489, -0.030262503772974014, -0.05032677203416824, 0.018767137080430984, 0.03458524867892265, 0.02403350919485092, 0.00753015885129571, 0.004442280624061823, -0.0005174865364097059, -0.040665339678525925, 0.004353108815848827, 0.06852691620588303, -0.005383672192692757, -0.0018204438965767622, -0.05286819860339165, 0.01889628916978836, 0.027399441227316856, 0.02863045409321785, -0.012274183332920074, 0.02595045231282711, -0.0008095750235952437, 0.046417199075222015, -0.06588294357061386, 0.0178671982139349, -0.021421363577246666, 0.01663784310221672, -0.01527691911906004, -0.06732171773910522, 0.014741448685526848, 0.022806765511631966, 0.01607278548181057, -0.018558545038104057, -0.013238178566098213, 0.00244768219999969, -0.03012894093990326, -0.030019495636224747, -0.020138230174779892, 0.00350686046294868, 0.028727559372782707, -0.015038047917187214, -0.039049871265888214, -0.04791617393493652, 0.017697250470519066, 0.020039115101099014, -0.013799045234918594, -0.054969124495983124, -0.04308868572115898, -0.019188903272151947, -0.0025139341596513987, 0.004744880832731724, 0.025499317795038223, -0.007644298952072859, 0.044393934309482574, 0.007756742183119059, -0.043701011687517166, 0.0015504417242482305, 0.007123177871108055, -0.00938452873378992, -0.05804101377725601, -0.030796879902482033, -0.012538999319076538, 0.013319103047251701, -0.01081392727792263, 0.022290952503681183, 0.01350132841616869, 0.052412111312150955, 0.010390546172857285, 0.055846597999334335, 0.022395847365260124, -0.006385391112416983, 0.011528730392456055, 0.017271343618631363, -0.09079543501138687, 0.025057319551706314, -0.037301044911146164, -0.020852750167250633, -0.028874188661575317, 0.04191523417830467, -0.020184166729450226, -0.03947502374649048, -0.038974348455667496, 0.05884382873773575, -0.03865189477801323, 0.002914327895268798, -0.015667280182242393, 0.012460608035326004, 0.04549393057823181, -0.03515436127781868, 0.051556602120399475, -0.03783373534679413, 0.004474855028092861, 0.012958044186234474, 0.04885342717170715, -0.027901666238904, 0.037312425673007965, -0.003962703049182892, -0.020983677357435226, -0.031785883009433746, 0.008677567355334759, 0.022123463451862335, 0.019976604729890823, 0.019756093621253967, 0.010108916088938713, 0.024744827300310135, 0.023078877478837967, 0.05698671191930771, -0.0015197021421045065, 0.010604673065245152, 0.01161664817482233, -0.037991952151060104, 0.001980428583920002, -0.03980981558561325, -0.021685756742954254, 0.0209446270018816, 0.029725927859544754, -0.048422474414110184, -0.0668802484869957, 0.03771868720650673, 0.047715432941913605, 0.014520750381052494, 0.00019334928947500885, 0.0013341149315238, -0.012952301651239395, -0.020748186856508255, 0.006987306755036116, 0.04842681437730789, -0.0631447285413742, 0.018789781257510185, 0.005062898620963097, 0.005907027050852776, 0.022608207538723946, 0.04363812133669853, -0.0558038055896759, -0.024992359802126884, -0.03214171901345253, -0.004750560969114304, -0.055066537111997604, -0.04083028808236122, -0.011245121248066425, 0.040424276143312454, 0.00038983082049526274, 0.0037041944451630116, -0.002689163200557232, 0.009053101763129234, 0.0024643726646900177, -0.011532919481396675, 0.020603977143764496, -0.0629984512925148, 0.00721714086830616, 0.04108239710330963, -0.03655603528022766, 0.03970681130886078, -0.024341795593500137, 0.0068819415755569935, 0.031226497143507004, -0.009490213356912136, -0.028343327343463898, -0.06902404129505157, 0.014335609041154385, -0.029586752876639366, 0.046878717839717865, 0.00020453719480428845, -0.024709150195121765, -0.021494019776582718, -0.011678219772875309, -0.03516649454832077, -0.004851927049458027, -0.016198759898543358, -0.028693975880742073, -0.0032936595380306244, 0.05181187763810158, -0.0007543935207650065, 0.04271504655480385, 0.001980300759896636, -0.004375796765089035, 0.05966824293136597, -0.08502701669931412, -0.024645689874887466, -0.013864285312592983, -0.0733572244644165, 0.01052033994346857, 0.02038380689918995, 0.015981057658791542, -0.005209930706769228, 0.0656803697347641, 0.05968128517270088, 0.03290543332695961, 0.04008382186293602, 0.03464529290795326, 0.0488397553563118, -0.010645510628819466, -0.02318892814218998, -0.08945862203836441, 0.03392092511057854, 0.03714700788259506, 0.03782879561185837, -0.023477457463741302, -0.0422530435025692, -0.007601895835250616, 0.05394504591822624, -0.05456719920039177, -0.04835270717740059, 0.03080015443265438, 0.024862883612513542, -0.013181588612496853, -0.010794200003147125, -0.04619670659303665, 0.010253326036036015, 0.016992434859275818, -0.02944028377532959, -0.050597790628671646, -0.039173372089862823, 0.046039972454309464, 0.005659385584294796, -0.0013433309504762292, -0.03603782132267952, 0.01964722014963627, 0.05047937110066414, 0.018384845927357674, 0.03335145115852356, 0.006480725947767496, -0.011910531669855118, 0.05067652463912964, 0.038078390061855316, -0.031050048768520355, -0.00334706692956388, 0.00442715547978878, -0.0020544484723359346, -0.05528151988983154, 0.0074068708345294, 0.02328367345035076, -0.0404389463365078, -0.034364599734544754, 0.055649299174547195, 0.03636672720313072, -0.02653609775006771, -0.026987086981534958, 0.020611701533198357, -0.02318420819938183, -0.045713867992162704, 0.003401888767257333, 0.032931286841630936, -0.04699759930372238, 0.06484287977218628, -0.002089638728648424, -0.015727389603853226, 0.06459546089172363, 0.01939699426293373, -0.025016305968165398, -0.013939383439719677, 0.08649600297212601, 0.07848504185676575, 0.033966824412345886, 0.0026524995919317007, 0.04378145560622215, -0.012251220643520355, -0.06479062139987946, 0.029944512993097305, -0.0205963384360075, -0.00788215734064579, -0.014363793656229973, 0.0007798895239830017, 0.0790305882692337, -0.00565508846193552, 0.0563560388982296, -0.04800989478826523, -0.00110502855386585, 0.0005005985149182379, 0.04439043998718262, 0.005788045935332775, 0.06507065147161484, 0.020542237907648087, 0.013109649531543255, 0.0031666657887399197, -0.025241432711482048, 0.006491783075034618, -0.02578609064221382, -0.025062331929802895, 0.018769916146993637, 0.013844521716237068, -0.0017227096250280738, -0.0034577960614115, 0.028266608715057373, 0.09645599126815796, -0.05634499713778496, -0.020384665578603745, -0.022878512740135193, 0.007067633792757988, 0.014437459409236908, -0.024070795625448227, -0.002795030130073428, -0.032256949692964554, -0.013468457385897636, -0.02207556739449501, -0.011785524897277355, -0.0002073833456961438, -0.006063798908144236, 0.05496358498930931, -0.021662965416908264, 0.0109108230099082, 0.00845352653414011, 0.018524255603551865, -0.0009451158693991601, -0.07465542107820511, -0.024531789124011993, -0.03043312206864357, -0.0635753720998764, -0.037901636213064194, 0.029365435242652893, -0.020098229870200157, -0.02016935683786869, -0.02788919024169445, -0.0012607128592208028, -0.028996357694268227, 0.06727845966815948, -0.04162125661969185, -0.042311180382966995, 0.028450392186641693, 0.020470313727855682, 0.03211192414164543, 0.032596394419670105, 0.023907635360956192, -0.01331808790564537, 0.015740010887384415, -0.047168098390102386, 0.002074814634397626, 0.02609221823513508, 0.01584971882402897, 0.011355198919773102, -0.06640289723873138, 0.015451249666512012, 0.02257261984050274, -0.003894640365615487, -0.08335233479738235, 0.017459457740187645, 0.01222307700663805, 0.0060145133174955845, 0.05740049108862877, -0.016330460086464882, 0.012990378774702549, -0.022205425426363945, -0.009902462363243103, 0.013076912611722946, 0.009638916701078415, 0.04491136223077774, -0.03313012048602104, 0.07785006612539291, 0.04630335420370102, -0.03666439652442932, -0.015490641817450523, -0.01918456330895424, 0.005054026376456022, 0.01722661592066288, -0.00017203562310896814, -0.03749113902449608, -0.05033202841877937, -0.05508572608232498, -0.01870615966618061, 0.027738746255636215, -0.011439778842031956, -0.03920924291014671, 0.019429095089435577, 0.05289219319820404, -0.059790655970573425, 0.028286440297961235, -0.020414920523762703, 0.037915077060461044, 0.0034133973531425, -0.024130981415510178, 0.011411243118345737, 0.03744063898921013, 0.009785211645066738, 0.0223842803388834, 0.009642218239605427, -0.031870655715465546, -0.010234826244413853, 0.014787603169679642, 0.03485623374581337, 0.018980558961629868, 0.009223729372024536, 0.020071694627404213 ]
[ -0.08190137147903442, -0.0013274268712848425, -0.04657336324453354, -0.00901770405471325, 0.03422785550355911, -0.04301568493247032, -0.0036034141667187214, 0.00401488458737731, -0.0009343776619061828, -0.030953017994761467, -0.00895783118903637, -0.04010400176048279, -0.03024148941040039, 0.0009313098853453994, 0.06570369005203247, 0.009917125105857849, -0.03468088433146477, -0.0357198566198349, -0.010742267593741417, 0.033339973539114, 0.05119941383600235, -0.024693576619029045, -0.03412333503365517, -0.03621172532439232, 0.033086687326431274, 0.025199992582201958, 0.03734886646270752, -0.005021329969167709, 0.030497947707772255, -0.20638196170330048, -0.016855066642165184, 0.0023999856784939766, 0.016142265871167183, -0.015774410218000412, 0.00453545106574893, 0.01255839690566063, -0.011742537841200829, 0.04361972212791443, -0.004494193010032177, 0.04368480294942856, -0.035108551383018494, 0.038174111396074295, -0.01679016463458538, 0.0017510580364614725, 0.01596694253385067, 0.006382465362548828, -0.04442600905895233, -0.0006325115100480616, -0.03909648209810257, -0.02115541696548462, -0.047050025314092636, 0.007000678218901157, 0.00661670183762908, -0.03753996640443802, 0.029849091544747353, 0.021505607292056084, 0.03989149630069733, 0.059876326471567154, 0.030417637899518013, 0.023457059636712074, 0.027281662449240685, 0.00193976575974375, -0.14279873669147491, 0.1066792905330658, 0.021380020305514336, 0.06130782514810562, 0.007306292187422514, -0.02401837892830372, -0.01722908951342106, 0.07664437592029572, 0.024714315310120583, -0.015166876837611198, -0.04435316100716591, 0.02890307828783989, 0.04758608341217041, -0.037757910788059235, 0.0011803035158663988, -0.0016657642554491758, 0.05974531173706055, 0.011180003173649311, -0.025212444365024567, -0.027983682230114937, -0.02033861167728901, -0.013766653835773468, -0.05421958491206169, 0.02638266608119011, -0.006430968642234802, 0.029347917065024376, 0.04349455609917641, 0.03223712742328644, 0.00008744031219976023, -0.026121685281395912, 0.009532750584185123, 0.03484247624874115, -0.030832910910248756, 0.010083128698170185, -0.0013878918252885342, -0.020433420315384865, -0.03314344212412834, 0.3971656560897827, -0.021632544696331024, -0.027693837881088257, 0.032559461891651154, 0.0213529784232378, -0.008099508471786976, 0.015058121643960476, -0.0032705161720514297, -0.0378301776945591, 0.017220770940184593, -0.05852586030960083, -0.035536326467990875, 0.005216718185693026, 0.014553461223840714, -0.05470994487404823, -0.016190998256206512, -0.028152115643024445, 0.055036190897226334, -0.00404781149700284, -0.0034152409061789513, 0.007383674383163452, -0.014312696643173695, 0.014016431756317616, 0.012409476563334465, 0.018878409639000893, 0.0014178507262840867, -0.008290770463645458, 0.01991356536746025, 0.06803405284881592, 0.07858604192733765, 0.027048885822296143, 0.038285382091999054, -0.054530367255210876, -0.09087517112493515, -0.006597364787012339, 0.04767787829041481, 0.015559758059680462, 0.04366181790828705, -0.021127957850694656, -0.0008337766048498452, 0.008729448541998863, -0.009203065186738968, -0.012910119257867336, 0.042242541909217834, -0.00221110787242651, -0.042823489755392075, 0.0912788063287735, -0.02334916964173317, -0.035418469458818436, -0.0187172032892704, -0.003054595785215497, -0.00005592930392595008, 0.053193848580121994, 0.004756369162350893, -0.07297787815332413, 0.010407532565295696, 0.020550061017274857, 0.06108911335468292, -0.04042939841747284, -0.048906534910202026, -0.07161489129066467, -0.0442165844142437, -0.011725282296538353, -0.0324862077832222, 0.028480567038059235, 0.02698597125709057, -0.091087706387043, -0.057555098086595535, 0.026422619819641113, 0.012174993753433228, -0.09651980549097061, -0.011538077145814896, 0.014009013772010803, -0.05937203764915466, 0.00749386940151453, 0.04701540619134903, -0.003977381624281406, -0.038125913590192795, -0.009373566135764122, 0.03461174666881561, 0.025663940235972404, 0.02396491914987564, 0.004344584885984659, -0.031922973692417145, 0.019228216260671616, 0.008018775843083858, -0.0607602521777153, -0.05524726212024689, -0.01640705205500126, 0.011803224682807922, -0.037840548902750015, -0.035365886986255646, -0.02434452436864376, -0.0764298364520073, 0.08401182293891907, -0.00021385760919656605, 0.0022170080337673426, 0.05968465283513069, 0.004865671042352915, 0.02737702988088131, 0.019434483721852303, -0.008102028630673885, 0.05041015148162842, 0.002524488838389516, 0.012329773046076298, -0.09080615639686584, 0.042667437344789505, 0.07174096256494522, -0.06171440705657005, 0.04943804815411568, 0.037267670035362244, -0.03989071026444435, -0.010598522610962391, -0.03702595457434654, 0.03711501136422157, -0.031663987785577774, -0.012659845873713493, -0.010126695036888123, 0.037874676287174225, -0.008172298781573772, 0.005957156885415316, -0.07704716920852661, -0.04027879983186722, -0.013630930334329605, -0.3487950563430786, -0.03246783837676048, -0.0044158692471683025, -0.045484911650419235, -0.003924466669559479, -0.05409485474228859, -0.021152416244149208, -0.009557245299220085, -0.013419222086668015, 0.01980246603488922, 0.048751819878816605, -0.024655167013406754, 0.004132636357098818, -0.08309657126665115, -0.020565740764141083, 0.033408358693122864, -0.04118780419230461, -0.055669549852609634, -0.04474172368645668, 0.01970660500228405, 0.017680594697594643, 0.002228393917903304, -0.008688905276358128, -0.10983271896839142, 0.003927131649106741, -0.039074819535017014, 0.08156856149435043, -0.02118460088968277, 0.1315440535545349, -0.05049080774188042, 0.05865070968866348, 0.007884896360337734, 0.012896692380309105, -0.07195055484771729, -0.002404133090749383, -0.02077963948249817, 0.002183861332014203, 0.004445627331733704, 0.06434590369462967, -0.0062019904144108295, -0.01440570130944252, 0.002811569022014737, -0.061032265424728394, -0.04250873252749443, -0.012288215570151806, 0.0042718444019556046, -0.016021430492401123, -0.029309716075658798, 0.003226588247343898, 0.0924098789691925, -0.009669777005910873, -0.0005563765298575163, 0.054994434118270874, 0.05127644166350365, -0.03552895784378052, -0.02943260222673416, -0.06685271859169006, 0.01686154678463936, 0.007170993834733963, 0.01932099275290966, 0.03259842470288277, 0.04683694988489151, 0.056540120393037796, -0.03164743632078171, -0.002342896768823266, 0.010242430493235588, -0.0064112115651369095, 0.0031828454229980707, 0.04388561472296715, -0.023609425872564316, -0.017657320946455002, 0.11006391793489456, -0.01723019778728485, -0.01296919398009777, 0.0400821752846241, 0.07544348388910294, -0.04699798673391342, 0.009740172885358334, -0.01194261759519577, 0.003794291988015175, 0.00372613244690001, 0.002236390020698309, 0.05120042338967323, -0.002710480708628893, 0.013351032510399818, -0.004613244906067848, -0.005789671093225479, 0.021419880911707878, 0.014603480696678162, 0.006479609292000532, -0.033593595027923584, 0.007158722262829542, -0.00007297018601093441, -0.07835507392883301, 0.053016602993011475, -0.030542796477675438, -0.26325616240501404, 0.02281317114830017, 0.08697150647640228, 0.03350650891661644, 0.015346747823059559, 0.015135155990719795, 0.03395254164934158, -0.06510643661022186, -0.0042762765660882, 0.006605338305234909, -0.00331831444054842, 0.008604713715612888, 0.007900422438979149, -0.0008239171584136784, 0.044951267540454865, -0.03266853839159012, 0.05417103320360184, 0.03623807430267334, 0.02650993876159191, 0.003185129491612315, 0.014868611469864845, -0.006832580082118511, 0.20346851646900177, -0.0035774162970483303, 0.03815886378288269, -0.023188186809420586, -0.00497604813426733, 0.005677223205566406, 0.05776252597570419, 0.04912576824426651, 0.0024123729672282934, 0.0331496000289917, 0.12481087446212769, 0.011036624200642109, 0.022634444758296013, -0.07512016594409943, -0.011150374077260494, 0.029945306479930878, 0.026153849437832832, -0.009163555689156055, 0.0033213512506335974, 0.023176591843366623, -0.0381317213177681, 0.0529814288020134, 0.0798121988773346, 0.021300969645380974, -0.00031982941436581314, -0.05804592743515968, -0.03333009406924248, -0.021382136270403862, -0.06425204873085022, -0.02255921997129917, 0.016935713589191437, -0.005017951596528292, 0.013574167154729366, 0.030999869108200073, 0.005025870632380247, -0.04372349753975868, -0.02481982484459877, 0.034392014145851135, 0.0035757110454142094, -0.0047601936385035515, 0.07806527614593506, 0.06814224272966385, 0.039296653121709824 ]
[ -0.039224155247211456, 0.02967732958495617, -0.01265847310423851, 0.020824940875172615, -0.040968697518110275, -0.004747940227389336, -0.013885912485420704, 0.01883288472890854, -0.007090075872838497, -0.01694895699620247, -0.025524340569972992, -0.006758604198694229, 0.00567397428676486, -0.035234518349170685, 0.0612143911421299, 0.005382922478020191, 0.001915345317684114, -0.03531096875667572, 0.012050893157720566, -0.0056775822304189205, -0.009400082752108574, 0.025742214173078537, -0.018218092620372772, 0.00760558620095253, 0.05112330615520477, -0.018598996102809906, 0.0029741839971393347, 0.02494809217751026, 0.039728306233882904, -0.10033714771270752, -0.025552447885274887, -0.00910621415823698, 0.011002760380506516, 0.010047877207398415, 0.018780935555696487, 0.02453957311809063, 0.02302638255059719, 0.04718784987926483, -0.012041482143104076, -0.04398570582270622, -0.013029830530285835, 0.00856565311551094, 0.024992777034640312, 0.006799559574574232, -0.024255091324448586, 0.026458323001861572, -0.03341764584183693, -0.039692752063274384, -0.013344421051442623, -0.053413353860378265, -0.026202505454421043, -0.01995162107050419, -0.011484877206385136, -0.02266312576830387, 0.02940194122493267, 0.016861503943800926, 0.0036268937401473522, -0.010565053671598434, 0.01578330434858799, -0.015148277394473553, -0.007340621668845415, -0.01731760799884796, -0.05642411857843399, -0.04215759411454201, -0.015588640235364437, -0.0031878226436674595, -0.010586553253233433, 0.03623548895120621, 0.0025906763039529324, -0.0080620301887393, -0.013058426789939404, -0.014587301760911942, 0.005909409839659929, -0.014205120503902435, 0.009545677341520786, 0.04110202565789223, -0.0010243597207590938, -0.011904719285666943, 0.05249848589301109, -0.02762259542942047, -0.046674903482198715, 0.027625691145658493, -0.01298658736050129, 0.010935095138847828, 0.010238545946776867, 0.018122270703315735, 0.008918799459934235, 0.003733766032382846, 0.0130783561617136, 0.029701534658670425, -0.012301966547966003, -0.021333446726202965, -0.0027775883208960295, 0.050367649644613266, -0.06257804483175278, 0.0031510605476796627, 0.015271225944161415, -0.01721721887588501, -0.0032014851458370686, 0.8331490755081177, -0.008503120392560959, 0.06426289677619934, 0.03756009787321091, 0.020463567227125168, -0.0374772772192955, -0.00980733148753643, -0.0276202205568552, 0.020718762651085854, 0.04459721967577934, -0.060928598046302795, -0.005704517941921949, -0.0094947824254632, 0.038576286286115646, -0.0039027580060064793, -0.010846511460840702, -0.006578357424587011, -0.005349698942154646, -0.04464775696396828, -0.028258711099624634, 0.002738763578236103, -0.00592964980751276, -0.022316869348287582, 0.017819290980696678, 0.0018174551660194993, 0.01990019902586937, -0.21408478915691376, 0.015921974554657936, -8.745868253265858e-33, 0.07276895642280579, -0.0056967888958752155, 0.018894661217927933, 0.025201141834259033, 0.020593250170350075, -0.0025945280212908983, 0.05833059176802635, 0.02658047154545784, 0.018917912617325783, -0.018022818490862846, 0.017055591568350792, -0.03630924969911575, -0.023336883634328842, 0.018572214990854263, 0.030251700431108475, -0.013714786618947983, 0.008447496220469475, 0.026501482352614403, -0.04248031973838806, 0.048150695860385895, 0.04160317778587341, 0.028641508892178535, -0.004112511873245239, -0.023230740800499916, 0.03555214777588844, -0.030599122866988182, 0.02939465455710888, 0.011657393537461758, -0.058669984340667725, -0.022686246782541275, -0.034282077103853226, 0.006890317425131798, 0.005185868591070175, 0.0031940974295139313, 0.024547256529331207, -0.050223611295223236, -0.015311693772673607, 0.012112993746995926, -0.0041634440422058105, 0.0049291811883449554, -0.005947012919932604, 0.0011841420782729983, -0.03906130790710449, 0.007816587574779987, -0.027583161368966103, -0.022658074274659157, -0.009371704421937466, -0.0025863812770694494, 0.025888368487358093, -0.005992393009364605, 0.01155277993530035, 0.06704962253570557, 0.013273965567350388, 0.038931213319301605, 0.001441775937564671, -0.002458215458318591, -0.012488087639212608, 0.00700988806784153, -0.0009893535170704126, -0.008238651789724827, -0.005105417221784592, 0.018077712506055832, -0.04200349748134613, 0.03313564509153366, -0.02956080622971058, -0.013911019079387188, 0.0051349555142223835, 0.004799022804945707, 0.009927443228662014, -0.010180162265896797, -0.03027145005762577, 0.013250710442662239, -0.038864366710186005, -0.04438208043575287, 0.009931543841958046, 0.004847778007388115, -0.005204871296882629, 0.010813621804118156, 0.009639971889555454, 0.009005297906696796, 0.014348793774843216, 0.023641180247068405, -0.006753908470273018, -0.005072986241430044, 0.0130598871037364, -0.010216337628662586, 0.023420970886945724, -0.026406025514006615, -0.01369529403746128, 0.004122973885387182, 0.027849925681948662, -0.016041936352849007, 0.01519323606044054, -0.01879773661494255, -0.029269082471728325, 8.725936277179728e-33, -0.014903695322573185, -0.03226698935031891, -0.02289784885942936, -0.0254087895154953, 0.00274920673109591, -0.020894119516015053, 0.005182837136089802, -0.004291637800633907, -0.029806852340698242, 0.03262487053871155, -0.027938440442085266, 0.040600113570690155, 0.008316416293382645, 0.03777311369776726, 0.03435260429978371, -0.022632373496890068, 0.028573116287589073, -0.026614923030138016, 0.025761496275663376, -0.001121930661611259, 0.05018552392721176, -0.005980081390589476, 0.03059016354382038, 0.0021967412903904915, 0.012589219026267529, 0.026699362322688103, -0.05002383887767792, 0.02358820289373398, 0.00687908660620451, 0.0010324707254767418, 0.02392379194498062, -0.0018942285096272826, 0.016776662319898605, -0.02950367145240307, -0.043833840638399124, 0.021031709387898445, 0.004692023620009422, -0.00663384422659874, 0.024090349674224854, -0.025509720668196678, 0.005280789919197559, 0.009438172914087772, 0.0029681273736059666, 0.016847092658281326, -0.003239401848986745, 0.010562668554484844, 0.028255930170416832, -0.05507338419556618, -0.0010089275892823935, 0.030806858092546463, 0.05245901644229889, 0.028800087049603462, 0.03310435265302658, 0.01611335575580597, -0.007732340134680271, -0.05901849642395973, -0.025926483795046806, -0.0410240963101387, -0.018544936552643776, 0.06029602512717247, -0.0362592414021492, 0.00324590178206563, 0.0159415565431118, 0.005703676026314497, -0.031044192612171173, -0.0009066444472409785, -0.021677672863006592, 0.008270909078419209, -0.005326223559677601, -0.015545394271612167, -0.029182465746998787, 0.026500964537262917, -0.031223837286233902, 0.04177440330386162, -0.013910623267292976, -0.04537017270922661, 0.0038091479800641537, 0.011018563993275166, 0.023183858022093773, 0.002837519394233823, 0.023697709664702415, 0.001845294376835227, 0.011913775466382504, -0.015624066814780235, -0.0053435578010976315, -0.007033752743154764, 0.005252768751233816, 0.04078768938779831, 0.006756320130079985, -0.015366503968834877, -0.017462674528360367, 0.0003957889275625348, -0.018445350229740143, 0.014430863782763481, -0.00206089043058455, -1.3700324430487854e-8, -0.03506981581449509, 0.03285687416791916, -0.029096072539687157, 0.015312733128666878, 0.020457647740840912, -0.009717507287859917, -0.009235160425305367, -0.006686297245323658, 0.0024019423872232437, -0.02320271171629429, 0.0508585087954998, -0.0231776125729084, -0.00294649344868958, -0.011793919838964939, -0.0010257158428430557, -0.0720783993601799, -0.016326289623975754, 0.022431842982769012, 0.018712349236011505, -0.00798566360026598, 0.0320574976503849, 0.05230887979269028, -0.010036207735538483, 0.0026941108517348766, -0.0003272896574344486, -0.010151256807148457, -0.00405164947733283, -0.09742635488510132, 0.048353683203458786, 0.04214455187320709, -0.014619513414800167, 0.005606950260698795, -0.03902516886591911, 0.03171558678150177, -0.01617327146232128, -0.01732213795185089, 0.026789752766489983, 0.009682564064860344, -0.006195198744535446, -0.01232045516371727, 0.012600547634065151, 0.019100645557045937, -0.0006044247420504689, -0.02145364135503769, 0.01318546012043953, -0.023702820762991905, -0.017173022031784058, -0.028755052015185356, 0.022352619096636772, -0.04204626381397247, 0.03218521177768707, 0.02459719032049179, 0.013510807417333126, 0.04328464716672897, 0.01339460164308548, 0.00021096821001265198, -0.02124459482729435, -0.010149084031581879, -0.008996348828077316, -0.00989761482924223, 0.01775372214615345, 0.005251119378954172, -0.016311537474393845, 0.003190651535987854 ]
dsls-violating-the-builder-pattern
https://markhneedham.com/blog/2009/10/12/dsls-violating-the-builder-pattern
false
2009-10-13 07:00:53
Scala: Code Kata #2 - Karate Chop - Array Slicing Attempt
[ "code-kata", "scala" ]
[ "Code Katas", "Scala" ]
In my continued attempts to learn a bit of Scala I've been trying out http://codekata.pragprog.com/2007/01/kata_two_karate.html[the 2nd of Dave Thomas' code katas - Karate Chop] - while using an array slicing approach. I've tried out the iterative approach to this problem in Java about a year ago and it ends up being quite verbose so I thought the array slicing one would be much more concise. I didn't drive any of the solutions I worked on from the tests - in fact I only got all the tests provided by Dave Thomas running right at the end which was probably a mistake in retrospect. My first solution didn't really work at all - it resulted in an 'ArrayIndexOutOfBoundsException' for pretty much any input where the 'needle' wasn't the middle value: [source,scala] ---- def chop(needle : Int, haystack : Array[Int]) : Int = { val middleIndex = haystack.length / 2 if(haystack(middleIndex) == needle) return middleIndex else if(haystack(middleIndex) < needle) return chop(needle, haystack.slice(0, middleIndex)) else return chop(needle, haystack.slice(middleIndex + 1, haystack.length)) } ---- It turns out that the logic is actually the wrong way around - if we find that 'haystack(middleIndex)' is less than 'needle' then we want to be looking at the 2nd half of the array and not the first half! Attempt number two addressed this problem: [source,scala] ---- def chop(needle : Int, haystack : Array[Int]) : Int = { val midpoint = haystack.length/2 val valueAtMidpoint = haystack(midpoint) if(valueAtMidpoint == needle) return midpoint else if(valueAtMidpoint > needle) return chop(needle, haystack.slice(0, midpoint)) else return chop(needle, haystack.slice(midpoint, haystack.length)) } ---- The problem with this solution is that if the 'needle' is in the second half of the array then it will end up reporting us the wrong position with respect to the whole array - we will just get the position of the 'needle' in the remaining array. This suggested to me that I would probably need to make use of an inner function to keep track of how many items had been discarded whenever we realised that the item was in the second half of the array. We could then add that value to the final index position if the 'needle' was found in the array: [source,scala] ---- def chop(needle : Int, haystack : Array[Int]) : Int = { def chopInner(discardedItems : Int, innerHay : Array[Int]) : Int = { val midpoint = innerHay.length/2 val originalMidpoint = midpoint + discardedItems val valueAtMidpoint = innerHay(midpoint) if(valueAtMidpoint == needle) originalMidpoint else if(valueAtMidpoint > needle) chopInner(0, innerHay.slice(0, midpoint)) else chopInner(originalMidpoint, innerHay.slice(midpoint, innerHay.length)) } chopInner(0, haystack) } ---- This solution will find the position of 'needle' if that value exists in the 'haystack' but if the value isn't in the list we end up in an infinite recursion and if the list is empty then we end up with an 'ArrayIndexOutOfBoundsException' when we try to get the value of the midpoint. My truly hacky solution which solves these two problems looks like this: [source,scala] ---- def chop(needle : Int, haystack : Array[Int]) : Int = { def chopInner(discardedItems : Int, innerHay : Array[Int]) : Int = { if(innerHay.length == 0) return -1 val midpoint = innerHay.length/2 val originalMidpoint = midpoint + discardedItems val valueAtMidpoint = innerHay(midpoint) if(valueAtMidpoint == needle) originalMidpoint else if(valueAtMidpoint > needle) chopInner(0, innerHay.slice(0, midpoint)) else if(innerHay.length == 1) -1 else chopInner(originalMidpoint, innerHay.slice(midpoint, innerHay.length)) } chopInner(0, haystack) } ---- I converted Dave Thomas' tests into 'http://code.google.com/p/specs/[specs]' tests using the following regular expression: Find: [source,text] ---- assert_equal\((.*),[ ]+chop\((.),[ ]+\[(.*)\]\)\) ---- Replace: [source,test] ---- chop($2, Array($3)) mustBe $1 ---- I then adapted my colleague http://blog.magpiebrain.com/[Sam Newman's] http://code.google.com/p/bigvisiblewall/source/browse/[bigvisiblewall] project so that I could make use of the ant script he's setup which makes specs and ant play nicely together. All the tests pass but there must be a cleaner solution than what I've ended up with - I think another attempt will be required!
null
null
[ -0.024192174896597862, -0.06273534148931503, -0.03430105000734329, 0.02591441385447979, 0.04532744362950325, 0.009799094870686531, 0.04985474795103073, 0.016169384121894836, 0.007536622229963541, -0.02267608791589737, -0.021441912278532982, 0.012955207377672195, -0.06905129551887512, 0.013441293500363827, -0.030538972467184067, 0.09079939872026443, 0.08232376724481583, -0.04892643913626671, 0.018608126789331436, -0.0067026386968791485, 0.027850724756717682, 0.0509379617869854, 0.006114749237895012, 0.028146667405962944, 0.04686147719621658, 0.01768866926431656, 0.009880184195935726, 0.03779221326112747, -0.05884074419736862, -0.011237799189984798, 0.02330893650650978, 0.02650502510368824, 0.004097208380699158, -0.02966015785932541, 0.0023101253900676966, -0.016202615574002266, -0.0037080005276948214, 0.028122251853346825, 0.012898707762360573, 0.039759889245033264, -0.029084358364343643, 0.03402169048786163, 0.00022918438480701298, 0.0037885825149714947, -0.0074829538352787495, 0.012027526274323463, -0.04001468047499657, -0.00013334775576367974, -0.014110309071838856, 0.00034490899997763336, -0.05294042453169823, 0.0076183052733540535, 0.0025079043116420507, 0.005318162962794304, -0.007685353048145771, 0.050044331699609756, 0.0014322776114568114, -0.07433293014764786, 0.05265970900654793, -0.05452575907111168, 0.0022546995896846056, -0.021579833701252937, 0.010953770019114017, 0.022539354860782623, 0.024362944066524506, -0.021225932985544205, 0.024893878027796745, 0.0562792643904686, -0.03704217076301575, -0.05738038569688797, -0.007887323386967182, 0.007943859323859215, -0.005822529550641775, 0.011582260020077229, -0.021384770050644875, -0.061111412942409515, -0.007954872213304043, 0.07335415482521057, 0.010608844459056854, 0.028339434415102005, -0.024352649226784706, -0.016284165903925896, 0.010099884122610092, 0.022151513025164604, 0.014600238762795925, -0.03512420132756233, -0.05900834873318672, -0.024138247594237328, -0.04267871752381325, 0.041002556681632996, 0.00460667023435235, -0.06674087792634964, -0.00784248299896717, 0.012277044355869293, -0.0017561140703037381, 0.00653312262147665, 0.008639506995677948, -0.022717326879501343, 0.005175885744392872, -0.027100343257188797, -0.03136766701936722, -0.016022706404328346, 0.04403836652636528, 0.03438294678926468, -0.05250546708703041, -0.01425227615982294, 0.006061105523258448, 0.01384003646671772, -0.030125701799988747, 0.009687825106084347, -0.07749949395656586, -0.014489325694739819, -0.017907360568642616, -0.02643328160047531, -0.08342572301626205, 0.04655325785279274, -0.016510246321558952, -0.02183580957353115, -0.029627272859215736, 0.045548975467681885, 0.04429394379258156, 0.01222963072359562, -0.00810143630951643, 0.09292925149202347, -0.002388732973486185, 0.024658719077706337, 0.025784984230995178, 0.07716068625450134, 0.020462723448872566, -0.05211811885237694, -0.028661664575338364, 0.02170696295797825, -0.0027807187288999557, -0.032681792974472046, -0.015042253769934177, -0.03272922709584236, -0.022358372807502747, 0.030911173671483994, -0.007902257144451141, 0.030407041311264038, 0.01655351184308529, -0.020856261253356934, 0.025351349264383316, -0.02544473484158516, 0.03330019861459732, -0.0013364145997911692, 0.008274844847619534, 0.014973780140280724, 0.029833251610398293, 0.029506433755159378, -0.014143525622785091, 0.03792770206928253, 0.047115717083215714, -0.031197581440210342, -0.011717570945620537, 0.06951102614402771, -0.005702157970517874, 0.043486591428518295, -0.014110292308032513, 0.03539762645959854, 0.05478256568312645, 0.014203433878719807, -0.004995689727365971, 0.015637410804629326, 0.053970638662576675, -0.02134198136627674, 0.01998830959200859, 0.041011057794094086, -0.03332196921110153, 0.010223950259387493, -0.07288936525583267, -0.013272912241518497, 0.038618721067905426, -0.0467226468026638, -0.04638521000742912, 0.0076149748638272285, 0.0488925538957119, 0.01751275174319744, 0.05055427923798561, -0.012652278877794743, -0.0648311972618103, 0.006176633760333061, -0.013630897738039494, -0.007432734128087759, 0.01877286471426487, 0.005762292072176933, 0.07791835069656372, 0.03109816461801529, -0.0034571513533592224, 0.020828567445278168, -0.06436722725629807, -0.09115445613861084, -0.0046178242191672325, 0.0017884396947920322, 0.07360474020242691, -0.025220615789294243, -0.016968127340078354, 0.05074657127261162, 0.009177733212709427, 0.03800530359148979, 0.019393455237150192, 0.020076891407370567, 0.007544690277427435, -0.02478635311126709, -0.002996263559907675, 0.04284347593784332, 0.032743871212005615, -0.040550947189331055, -0.048863139003515244, 0.06383876502513885, 0.01686602644622326, -0.023967372253537178, 0.002170789521187544, 0.003908674698323011, 0.03991369530558586, 0.05894334241747856, 0.037112485617399216, -0.004791392013430595, 0.08980239182710648, -0.07950498163700104, 0.04744209721684456, 0.0075953034684062, -0.016629450023174286, -0.029882701113820076, 0.018006155267357826, 0.12750133872032166, 0.06638819724321365, -0.014294127002358437, -0.04233354330062866, -0.012758181430399418, -0.003078607376664877, -0.03993571549654007, -0.01258147694170475, 0.008567572571337223, -0.015108219347894192, 0.018798138946294785, -0.030724504962563515, -0.039902374148368835, 0.032397761940956116, -0.008940446190536022, -0.05096723139286041, 0.07433757930994034, -0.024313969537615776, 0.05757753178477287, 0.022367272526025772, -0.0236622616648674, -0.0027291113510727882, 0.010553496889770031, -0.04106609895825386, 0.013414987362921238, 0.009730538353323936, -0.008311930112540722, 0.05491228029131889, -0.03581756353378296, -0.0415947362780571, -0.021659275516867638, -0.030693579465150833, -0.017701605334877968, 0.045962218195199966, 0.0426098071038723, -0.007086711935698986, 0.05302431806921959, 0.03943697735667229, -0.02853742055594921, -0.02043912000954151, -0.04484934359788895, -0.0459730327129364, 0.012181454338133335, 0.018688522279262543, 0.0045237778685987, 0.02208731137216091, 0.04547815024852753, 0.02633359469473362, -0.002379521494731307, -0.05234324559569359, 0.0018105998169630766, 0.012043040245771408, 0.014960385859012604, -0.01763198710978031, -0.025206569582223892, -0.021846825256943703, 0.03752582147717476, -0.05905858799815178, -0.02571668103337288, 0.0028597295749932528, -0.06561532616615295, 0.06172177940607071, -0.083522729575634, -0.045693740248680115, 0.028928060084581375, 0.027469702064990997, 0.05432429909706116, -0.05506977066397667, -0.0028091389685869217, 0.05449152737855911, -0.03277130052447319, 0.018532050773501396, 0.01271112821996212, 0.005400706082582474, -0.015471339225769043, 0.02034107781946659, 0.04938672482967377, 0.0482892282307148, 0.018933307379484177, -0.03631311655044556, -0.029534872621297836, -0.010944552719593048, -0.01786627620458603, -0.264710932970047, 0.05002050846815109, -0.045511968433856964, -0.012493973597884178, 0.037510842084884644, -0.03750462085008621, -0.010167262516915798, -0.04804057255387306, 0.010245383717119694, 0.014195104129612446, -0.03178717568516731, -0.050728797912597656, -0.04611707851290703, 0.07212218642234802, 0.008303474634885788, -0.016696250066161156, -0.04504196345806122, -0.013387479819357395, 0.0013840673491358757, 0.04415515810251236, 0.014797725714743137, -0.0808439776301384, 0.0025992398150265217, 0.07786691933870316, 0.023085609078407288, 0.06801313906908035, -0.07896961271762848, 0.029175812378525734, -0.026515766978263855, -0.024025501683354378, -0.010279483161866665, -0.014234695583581924, 0.0023239480797201395, -0.038166385143995285, -0.0020477024372667074, -0.02637474238872528, 0.007052689790725708, -0.009080670773983002, 0.005409189499914646, 0.03245370835065842, -0.04703155905008316, -0.041300952434539795, 0.016390226781368256, 0.00822826661169529, 0.0549965500831604, -0.0088918162509799, -0.02693176083266735, -0.019314328208565712, -0.027556775137782097, 0.035604674369096756, -0.022247061133384705, -0.041634488850831985, -0.011756074614822865, 0.040388092398643494, -0.00020289859094191343, -0.02537544071674347, 0.017027294263243675, 0.0022276798263192177, -0.01342017948627472, -0.005179462488740683, -0.011685292236506939, -0.04670874401926994, -0.010512426495552063, -0.04720497131347656, -0.02101939357817173, -0.05801380053162575, -0.033329520374536514, 0.017903704196214676, 0.053329069167375565, 0.02957153134047985, -0.033256929367780685, -0.021504951640963554, -0.00034011670504696667, -0.11139800399541855, -0.020037006586790085, -0.0029530422762036324, -0.006060220766812563, -0.0021843158174306154, -0.012983095832169056, 0.033584002405405045, -0.061864737421274185, -0.07057861238718033, 0.033912528306245804, 0.019671574234962463, 0.036455411463975906, -0.038383569568395615, -0.025496922433376312, -0.06554455310106277, 0.004283356945961714, -0.009984994307160378, 0.056159887462854385, 0.0038887213449925184, -0.01402636244893074, -0.03401966765522957, -0.015528974123299122, 0.04713813215494156, 0.01861436665058136, -0.01214898843318224, -0.005240838509052992, 0.02956111542880535, 0.034627765417099, -0.08212935924530029, 0.00858346652239561, 0.014678827486932278, -0.005512296687811613, -0.017976008355617523, -0.03641220182180405, 0.03921482339501381, 0.04132086783647537, -0.005202724132686853, -0.00983521156013012, -0.058602187782526016, -0.0029844401869922876, -0.02055346965789795, -0.03183775022625923, -0.03558041900396347, -0.013287173584103584, 0.013704602606594563, 0.014623819850385189, -0.044339872896671295, -0.08536840230226517, -0.015275318175554276, 0.04127638041973114, -0.013589994981884956, -0.04896439611911774, -0.05982024222612381, -0.040207389742136, -0.024034280329942703, 0.014271927997469902, 0.0023728155065327883, -0.024444563314318657, 0.022088730707764626, 0.01604059711098671, -0.009951872751116753, 0.006859675981104374, -0.030199117958545685, -0.021772591397166252, -0.03554772213101387, 0.011374169029295444, 0.0037497268058359623, 0.027304591611027718, -0.020445775240659714, 0.0002048956521321088, 0.04042244702577591, 0.021939164027571678, 0.021835708990693092, 0.008570468053221703, -0.032801758497953415, -0.023429254069924355, 0.005144485272467136, 0.020580347627401352, -0.03409641981124878, 0.032508302479982376, -0.030747557058930397, -0.009299731813371181, -0.009024355560541153, 0.008313520811498165, -0.0021845835726708174, -0.04899642616510391, -0.025784773752093315, 0.054288350045681, -0.01465479377657175, -0.011308293789625168, -0.004642957355827093, -0.029403463006019592, 0.04503856226801872, -0.016188398003578186, 0.04222184792160988, -0.03202899917960167, -0.023178009316325188, 0.002977606374770403, -0.04196648672223091, 0.012804234400391579, 0.024992775171995163, -0.00988820195198059, -0.03131275996565819, 0.018002940341830254, 0.020860638469457626, -0.029915736988186836, 0.012797234579920769, 0.022601760923862457, -0.021612070500850677, -0.012173773720860481, 0.021922310814261436, 0.05341268703341484, -0.02845829166471958, -0.017761824652552605, -0.013149761594831944, -0.02925931103527546, -0.024467188864946365, -0.047685496509075165, 0.0034834258258342743, -0.0031165836844593287, 0.040483273565769196, -0.012619621120393276, -0.07773494720458984, 0.03382667526602745, 0.03773101791739464, 0.007910581305623055, 0.020259464159607887, 0.007952380925416946, 0.026059823110699654, 0.014655000530183315, -0.005979648791253567, 0.07779072225093842, -0.04195861890912056, 0.008079271763563156, 0.0027622354682534933, 0.026372676715254784, 0.010923019610345364, -0.013471261598169804, -0.08266786485910416, 0.021235136315226555, -0.024498969316482544, -0.02681770734488964, 0.0003476774145383388, -0.04000081121921539, -0.01269468106329441, 0.03270580247044563, -0.03104734607040882, 0.017750293016433716, -0.010681169107556343, 0.031350307166576385, -0.023651257157325745, -0.005427534691989422, 0.02179517224431038, -0.01987319253385067, 0.009429064579308033, 0.04501780495047569, -0.036511585116386414, 0.06550560146570206, -0.041059818118810654, 0.05382442846894264, 0.03590117022395134, -0.017529990524053574, 0.015346080996096134, -0.07042709738016129, 0.009382933378219604, 0.0011769483098760247, 0.05167989432811737, 0.007241485640406609, 0.02193460799753666, 0.01687075011432171, 0.04473331943154335, -0.010279705747961998, 0.021190211176872253, 0.00609953235834837, -0.053771961480379105, 0.016258444637060165, 0.05038756877183914, -0.021039564162492752, 0.06385844945907593, 0.05021734908223152, -0.02336101047694683, 0.04510442540049553, -0.03685177490115166, -0.017628662288188934, -0.0270509235560894, -0.0638992190361023, 0.04208600893616676, -0.00317745516076684, 0.05148599296808243, -0.02977217175066471, 0.0540400967001915, 0.01657029800117016, 0.030862100422382355, 0.03391885757446289, -0.03734227642416954, 0.03685634583234787, -0.037196483463048935, -0.010523566044867039, -0.10631145536899567, 0.013547047041356564, 0.02695530652999878, 0.01121467724442482, -0.021214820444583893, -0.027586517855525017, -0.026714451611042023, -0.01136438176035881, -0.0590001717209816, -0.010683937929570675, 0.012129193171858788, -0.011581758968532085, -0.002346290973946452, 0.00481729069724679, -0.05618244782090187, -0.0023334412835538387, 0.027765721082687378, -0.034792542457580566, -0.025874760001897812, -0.05291910469532013, 0.04629329591989517, 0.04951932281255722, 0.030782608315348625, -0.02816411480307579, 0.014715591445565224, 0.05950482189655304, 0.01979617401957512, 0.026454666629433632, 0.03177950531244278, -0.0029955189675092697, 0.04955533519387245, 0.057350605726242065, 0.01584302820265293, 0.013524510897696018, 0.044171854853630066, -0.023657824844121933, -0.06683933734893799, 0.04946070536971092, 0.01727353036403656, -0.015290970914065838, -0.0296426173299551, 0.05769870802760124, 0.022617004811763763, -0.04547616466879845, -0.03335069492459297, 0.008777526207268238, -0.02851013094186783, -0.02765587717294693, -0.028194325044751167, -0.004407020285725594, -0.031834281980991364, 0.06481091678142548, -0.020559780299663544, 0.011305710300803185, 0.06837324053049088, -0.0017111067427322268, -0.01029551774263382, -0.008524002507328987, 0.0669776052236557, 0.0418488085269928, 0.04899982735514641, -0.006176287773996592, 0.05012062191963196, -0.009326407685875893, -0.013882320374250412, 0.011140665970742702, -0.04173963889479637, 0.005058630369603634, -0.022953905165195465, 0.020576348528265953, 0.057359129190444946, 0.004947902634739876, 0.058627091348171234, -0.06799515336751938, 0.018770383670926094, 0.01611362211406231, 0.0196883175522089, 0.01620066538453102, 0.04763833433389664, 0.016271917149424553, 0.05861486494541168, -0.03410259634256363, -0.03830859437584877, 0.020565329119563103, 0.013143963180482388, -0.033932559192180634, 0.020354662090539932, -0.03722434490919113, 0.016633080318570137, 0.04191804677248001, -0.002317436970770359, 0.0786292627453804, -0.016872650012373924, -0.0271520484238863, -0.009859663434326649, -0.0036739350762218237, 0.012058252468705177, -0.015115470625460148, 0.002337648766115308, -0.028115594759583473, 0.016845157369971275, -0.03379356116056442, -0.01165419165045023, 0.01616753078997135, -0.042575228959321976, 0.01692313700914383, -0.007803763262927532, 0.035606011748313904, 0.03963271528482437, 0.012758581899106503, -0.032307177782058716, -0.07288876175880432, -0.06288169324398041, -0.01827886514365673, -0.04980412498116493, 0.010984321124851704, 0.029065562412142754, -0.02222278155386448, -0.016566190868616104, -0.00400109076872468, 0.007727514952421188, 0.021084047853946686, 0.03840086981654167, -0.01869390159845352, -0.031783200800418854, 0.0002867882722057402, 0.03583287075161934, 0.049890778958797455, 0.055389709770679474, 0.039027098566293716, -0.03422201797366142, 0.006676626857370138, -0.034822482615709305, 0.012633857317268848, 0.04483373835682869, 0.03658601641654968, -0.00010362694592913613, -0.04575762897729874, -0.011522987857460976, 0.008368296548724174, 0.021140828728675842, -0.0535944402217865, -0.010323787108063698, 0.0017098558600991964, -0.0429370142519474, 0.05654926225543022, -0.02782171405851841, 0.0014858931535854936, -0.04263902083039284, -0.043162569403648376, -0.024893490597605705, -0.004468289669603109, 0.03999803215265274, -0.03134767711162567, 0.0659029558300972, 0.02467750944197178, 0.010590867139399052, -0.04879295080900192, 0.005357525777071714, -0.008182077668607235, 0.021311135962605476, -0.024229105561971664, -0.06641648709774017, -0.06426946818828583, -0.054747194051742554, -0.01845277100801468, 0.023686474189162254, -0.00045704509830102324, -0.023701447993516922, 0.023882713168859482, 0.02910202369093895, -0.02899392880499363, 0.0591232106089592, -0.031509172171354294, 0.027074085548520088, -0.019652394577860832, -0.02296716906130314, 0.013887614011764526, 0.03040900081396103, -0.02588474005460739, 0.018578264862298965, 0.02456814795732498, -0.03478129580616951, 0.019310591742396355, -0.006248644087463617, 0.020054500550031662, 0.022890189662575722, -0.030564753338694572, -0.01106308214366436 ]
[ -0.08262759447097778, -0.035535529255867004, -0.05597604066133499, -0.014170590788125992, 0.009603502228856087, -0.05355361849069595, 0.0005439273081719875, 0.03891841694712639, 0.018940428271889687, -0.0012578065507113934, 0.009219368919730186, -0.08821732550859451, 0.016293633729219437, 0.007603543810546398, 0.07929221540689468, -0.005064721219241619, -0.022757384926080704, -0.048119742423295975, -0.06019541621208191, 0.012117776088416576, 0.014422486536204815, -0.018116969615221024, -0.03453855216503143, -0.06274908035993576, 0.06433168053627014, 0.06678023189306259, 0.03436095640063286, -0.05141712352633476, 0.010237649083137512, -0.2135903239250183, 0.013287103734910488, -0.02264600247144699, 0.050856661051511765, -0.01644880510866642, -0.03833301365375519, 0.04990318790078163, 0.015579232014715672, 0.026027807965874672, -0.02715545892715454, 0.05466113239526749, 0.04383276775479317, 0.020408859476447105, -0.06760133802890778, -0.04862615466117859, 0.015539941377937794, 0.021078648045659065, -0.029546694830060005, -0.012366198003292084, 0.008798430673778057, 0.01808234304189682, -0.1268615871667862, -0.012087822891771793, -0.01188807561993599, -0.03775473311543465, 0.0295379888266325, 0.023226935416460037, 0.04396504908800125, 0.09660670906305313, 0.0037112843710929155, 0.02515980415046215, 0.028987137600779533, -0.02713708207011223, -0.11592837423086166, 0.06512676924467087, 0.0013300825376063585, 0.056526828557252884, 0.0020169271156191826, -0.023911867290735245, -0.008551239036023617, 0.053551897406578064, 0.022522101178765297, -0.00563131645321846, 0.006511173211038113, 0.07385016232728958, 0.024380192160606384, -0.028373204171657562, -0.02271532639861107, 0.008411665447056293, 0.03116948902606964, -0.0043958090245723724, -0.062120676040649414, -0.04123413562774658, -0.004665370099246502, -0.0019702475983649492, -0.019971277564764023, 0.03607684746384621, -0.009147265926003456, 0.015541679225862026, 0.04535912349820137, 0.016193347051739693, 0.05823187902569771, 0.007452093530446291, 0.0308160912245512, 0.022711673751473427, -0.09410715103149414, 0.0003167773538734764, -0.00201291567645967, 0.011787244118750095, -0.027567368000745773, 0.40731480717658997, -0.026368381455540657, -0.0014420400839298964, 0.02426784299314022, 0.019721757620573044, 0.0015270409639924765, -0.009825400076806545, -0.041795630007982254, -0.04785974323749542, 0.010426875203847885, -0.061297111213207245, 0.02228880673646927, -0.030937911942601204, 0.05542069673538208, -0.03845228999853134, -0.013860860839486122, 0.04210768640041351, 0.0497421994805336, 0.021124672144651413, -0.009007230401039124, 0.015728972852230072, -0.01831507310271263, -0.003842076053842902, 0.008808404207229614, 0.01802048459649086, -0.0016682532150298357, 0.01293693296611309, -0.00869661197066307, 0.054848309606313705, 0.057743098586797714, -0.004228436853736639, 0.04471148923039436, -0.046818073838949203, -0.09313348680734634, -0.050138719379901886, -0.007919765077531338, 0.03095345012843609, 0.034657061100006104, -0.037757065147161484, 0.0343061164021492, 0.023551393300294876, -0.01696746237576008, -0.03670657426118851, 0.013885295018553734, 0.014518565498292446, -0.03082018904387951, 0.08700644969940186, -0.02560899220407009, -0.04171791300177574, -0.006687729619443417, -0.058403365314006805, -0.029956014826893806, 0.0256294384598732, 0.012456884607672691, -0.038427554070949554, 0.014172106049954891, 0.025050748139619827, 0.06746644526720047, -0.02267509512603283, -0.04553698003292084, -0.010353283025324345, -0.08212278038263321, -0.012139145284891129, -0.09546364098787308, 0.03888062760233879, 0.03151467442512512, -0.06300248205661774, -0.013986267149448395, 0.024110564962029457, -0.00439397431910038, -0.0766017884016037, 0.022746900096535683, 0.015223870053887367, -0.06423843652009964, 0.008815246634185314, 0.05256994813680649, -0.011714646592736244, -0.055343642830848694, -0.0030561003368347883, 0.04862823337316513, 0.03555447608232498, 0.03716371953487396, 0.025400435552001, -0.04506111145019531, 0.024266306310892105, -0.02063235267996788, -0.07338523119688034, -0.05348939076066017, -0.007331205066293478, 0.002657119184732437, -0.025467364117503166, -0.020199332386255264, -0.010456506162881851, -0.07160941511392593, 0.058538224548101425, -0.023990144953131676, -0.040642477571964264, 0.028365258127450943, 0.033126991242170334, -0.003094575135037303, 0.013479103334248066, 0.02475384809076786, 0.07453092187643051, 0.009703580290079117, 0.021441472694277763, -0.05792521685361862, 0.013971593230962753, 0.03813094645738602, -0.06292320042848587, 0.03960905596613884, 0.03386882320046425, -0.0010997903300449252, -0.009419441223144531, -0.03564019501209259, 0.0007030100678093731, -0.01989421807229519, -0.03690550476312637, 0.02389836497604847, 0.02850200980901718, -0.008095089346170425, 0.024305278435349464, -0.03208035230636597, -0.06728029996156693, 0.0075185662135481834, -0.3543795645236969, -0.011326264590024948, 0.014338151551783085, -0.019329773262143135, 0.03989136964082718, -0.06991391628980637, -0.003828909480944276, -0.022885160520672798, -0.018386684358119965, 0.0019987139385193586, 0.03883369266986847, -0.015103519894182682, -0.03429878503084183, -0.11815495789051056, -0.00282008433714509, 0.04451334848999977, -0.04146912321448326, -0.03850788250565529, -0.02725260518491268, 0.027012653648853302, 0.009694378823041916, -0.010541579686105251, -0.054539624601602554, -0.05358331277966499, -0.0037644794210791588, -0.039569322019815445, 0.12410961091518402, 0.028850074857473373, 0.0868963822722435, -0.06171271204948425, 0.04297863319516182, -0.005262215621769428, -0.018928129225969315, -0.029477670788764954, 0.01451819483190775, -0.030821405351161957, -0.0013318391283974051, 0.0016161331441253424, 0.04557446017861366, 0.007325519807636738, -0.02609933167695999, 0.01698501780629158, -0.053150724619627, -0.04171104356646538, -0.005780895706266165, -0.002140591386705637, -0.008477621711790562, -0.047336265444755554, 0.061549775302410126, 0.07578179240226746, 0.024578813463449478, 0.019392384216189384, 0.008420893922448158, -0.00629424350336194, 0.02175590954720974, -0.008782431483268738, -0.08346743136644363, 0.020047947764396667, 0.017283834517002106, -0.017903216183185577, 0.03915287181735039, 0.059906307607889175, 0.04914074018597603, -0.041914403438568115, -0.010184930637478828, 0.02059515379369259, 0.020324213430285454, 0.011982097290456295, -0.003207557136192918, -0.01028338074684143, -0.025791224092245102, 0.08814319968223572, 0.008354163728654385, 0.014916958287358284, 0.03734111040830612, 0.0781320333480835, 0.01271879207342863, -0.008624525740742683, 0.04486684501171112, 0.03832821920514107, 0.027547985315322876, -0.011976423673331738, 0.029138648882508278, -0.01964726857841015, -0.014684529043734074, 0.02134447544813156, 0.0009398272377438843, 0.006518128793686628, 0.05702882260084152, -0.020307816565036774, -0.005551090929657221, -0.019687091931700706, -0.04126367345452309, -0.00889752246439457, 0.028454570099711418, 0.005653886590152979, -0.2387980967760086, 0.026591967791318893, 0.04336151108145714, 0.030924394726753235, 0.013781161978840828, 0.05472056567668915, 0.042082779109478, -0.10120730102062225, -0.030887898057699203, -0.01692202314734459, 0.014252808876335621, 0.02963331900537014, 0.04449997469782829, -0.0014758637407794595, 0.03840433433651924, -0.03973253071308136, 0.038223691284656525, 0.007005132734775543, 0.025754164904356003, 0.002134305890649557, 0.026312265545129776, 0.011276347562670708, 0.1667902171611786, -0.015423860400915146, 0.012076478451490402, 0.0026084263809025288, -0.005245064850896597, -0.018721943721175194, 0.10642183572053909, 0.0005260781617835164, -0.01355078723281622, 0.015710147097706795, 0.08743378520011902, -0.003676637774333358, 0.05255058780312538, -0.05928343906998634, -0.014255298301577568, 0.03644245117902756, 0.018411310389637947, -0.025165868923068047, 0.0219583660364151, 0.014280837029218674, -0.05472426116466522, 0.034767478704452515, 0.07167653739452362, 0.013836865313351154, 0.006670766975730658, -0.050429683178663254, -0.018963860347867012, 0.00002960748679470271, 0.0007587457075715065, -0.007125601638108492, 0.008064894005656242, -0.008447468280792236, 0.01810954511165619, 0.03872225806117058, 0.01013538334518671, -0.022579653188586235, -0.05789532512426376, 0.014108933508396149, 0.026875989511609077, -0.03411901742219925, 0.10782863944768906, 0.006145448889583349, 0.005309041123837233 ]
[ 0.0011820949148386717, 0.0238083153963089, 0.0005441891844384372, 0.02712695114314556, -0.0818936824798584, -0.008033041842281818, 0.00929774809628725, 0.005664327181875706, -0.03706163913011551, 0.004853847436606884, 0.020909765735268593, -0.0024797762744128704, 0.01305956207215786, 0.008181811310350895, -0.02329902909696102, -0.016686776652932167, -0.008011573925614357, 0.005838562734425068, 0.04009324312210083, 0.032571688294410706, -0.02756945602595806, 0.015166431665420532, 0.006824146024882793, 0.012911667115986347, -0.006639721337705851, 0.04600617289543152, -0.008217444643378258, 0.03325699642300606, 0.006249530706554651, -0.11229006946086884, -0.02738039195537567, -0.03669996187090874, 0.011139594949781895, 0.022583959624171257, -0.06055077165365219, -0.027475249022245407, -0.030361028388142586, 0.04937179014086723, -0.005084549076855183, -0.0015140079194679856, -0.01837673783302307, 0.008322888985276222, 0.0002163864701287821, 0.039227962493896484, 0.052669912576675415, -0.030272822827100754, -0.022126000374555588, -0.051519494503736496, 0.04166591539978981, -0.018581245094537735, -0.08904538303613663, -0.002071064431220293, 0.02447519637644291, 0.011874116957187653, 0.06970648467540741, -0.023802828043699265, 0.013397382572293282, 0.012134700082242489, 0.02811308205127716, 0.038853999227285385, -0.005979221314191818, 0.017490390688180923, -0.01811802200973034, -0.03291791304945946, -0.018670374527573586, -0.05203479528427124, 0.014285205863416195, 0.00753434281796217, -0.035687465220689774, -0.02413060888648033, -0.015065876767039299, 0.0011361794313415885, -0.038178469985723495, 0.0021135073620826006, 0.016682373359799385, -0.007142441812902689, -0.0026991574559360743, -0.011125165037810802, 0.01188160851597786, 0.006516654044389725, -0.03439919278025627, -0.026719512417912483, 0.024774881079792976, 0.006991725880652666, -0.025563757866621017, -0.005296445917338133, 0.000030170620448188856, -0.00746913393959403, 0.05068441480398178, -0.004326653201133013, 0.02700747549533844, 0.019669149070978165, -0.02346561662852764, 0.03027971461415291, -0.050480347126722336, 0.0001947186974575743, -0.03480830043554306, 0.036813803017139435, -0.03832240402698517, 0.7721123695373535, -0.0045091272331774235, -0.003365607000887394, -0.0009311680914834142, 0.02555626817047596, 0.01125797163695097, 0.03548227623105049, 0.01345512643456459, -0.04723523184657097, -0.0020312468986958265, -0.03949896991252899, 0.054956838488578796, 0.055595409125089645, 0.008894522674381733, 0.0034396264236420393, 0.02118106000125408, 0.06603959202766418, 0.02876218408346176, 0.02680223621428013, 0.01696900837123394, -0.014940895140171051, 0.0034446914214640856, 0.0017812271835282445, 0.020142368972301483, 0.008161557838320732, 0.0534355565905571, -0.14895322918891907, -0.0421900674700737, -7.013480515005635e-33, 0.03160538896918297, -0.03518729656934738, 0.01691162772476673, -0.00557616027072072, -0.02275092713534832, -0.06608268618583679, -0.007467301096767187, -0.010358213447034359, 0.02734437771141529, -0.018458573147654533, -0.02823786437511444, -0.0010439781472086906, -0.0071231103502213955, 0.015673145651817322, 0.05473005399107933, -0.02115379087626934, 0.027992643415927887, 0.0422152504324913, -0.004138021729886532, 0.01672966033220291, 0.021982848644256592, 0.007944174110889435, -0.0040102857165038586, 0.00921809021383524, 0.0009309088345617056, 0.03638007491827011, 0.035073574632406235, -0.04170321300625801, 0.009546532295644283, -0.024612538516521454, -0.022476790472865105, 0.00611540675163269, 0.009967389516532421, -0.02734859101474285, 0.018576228991150856, -0.03334066644310951, 0.004579659551382065, 0.04731845110654831, -0.04297091066837311, 0.02750418893992901, -0.007421872578561306, -0.016782579943537712, -0.010983839631080627, -0.02451062574982643, 0.008110473863780499, -0.05783436447381973, -0.021082311868667603, 0.056813959032297134, 0.021737169474363327, 0.003283904632553458, -0.01667666994035244, 0.01665126532316208, 0.055478692054748535, 0.01999622955918312, -0.0006562539492733777, 0.05552991107106209, 0.06297221034765244, 0.005194096826016903, -0.021810458973050117, 0.041815727949142456, 0.005175663623958826, -0.002697377698495984, -0.030656564980745316, 0.07540607452392578, -0.051013946533203125, -0.01566798985004425, -0.033416446298360825, 0.013611603528261185, 0.020366409793496132, 0.046441953629255295, -0.08180751651525497, 0.03301167115569115, -0.011112220585346222, -0.060665618628263474, 0.008263624273240566, -0.05413156375288963, -0.009092556312680244, 0.005523624364286661, 0.0022055332083255053, -0.017249254509806633, 0.0011462337570264935, -0.019225049763917923, 0.006490944419056177, -0.007475835271179676, -0.004979067016392946, 0.0072648548521101475, -0.00788317620754242, -0.031288307160139084, 0.008736452087759972, 0.01913890615105629, -0.01629232056438923, 0.0643969178199768, -0.03907802700996399, 0.011385909281671047, 0.004890380427241325, 7.091939620135238e-33, 0.032543107867240906, 0.02769756130874157, -0.014658465050160885, 0.023254938423633575, 0.028250014409422874, -0.03830847144126892, 0.10700290650129318, 0.02450946532189846, -0.03672950342297554, 0.0015063779428601265, -0.024542389437556267, -0.0056526451371610165, -0.007589761633425951, 0.033211685717105865, 0.05629430338740349, -0.000814726809039712, -0.000048959267587633803, 0.022648094221949577, 0.027919109910726547, -0.0010851152474060655, -0.026088381186127663, 0.01016310229897499, 0.03743726760149002, -0.027143634855747223, 0.01623987965285778, -0.004104111343622208, -0.020096290856599808, 0.026021460071206093, -0.020628945901989937, 0.02528727985918522, -0.010268465615808964, -0.09143161028623581, 0.03888442739844322, -0.009769601747393608, -0.015903566032648087, 0.021895363926887512, -0.017191722989082336, -0.043868932873010635, 0.018459901213645935, 0.03781643509864807, 0.02546757087111473, -0.008674814365804195, -0.032120481133461, 0.07178693264722824, -0.019597800448536873, -0.002278098836541176, 0.032011792063713074, 0.07057648152112961, -0.007171756122261286, -0.06465695053339005, -0.010508826933801174, 0.04711529612541199, 0.003693593433126807, 0.02660234086215496, -0.028330018743872643, -0.02457856573164463, -0.02149929106235504, 0.004163084551692009, -0.013009308837354183, 0.04601599648594856, -0.04295580834150314, -0.020900916308164597, -0.009187785908579826, 0.04190172255039215, 0.030902676284313202, 0.024155423045158386, -0.009639584459364414, -0.0019040221814066172, -0.07794596999883652, -0.012771263718605042, -0.023808596655726433, -0.01735508069396019, 0.027362897992134094, 0.014593617990612984, -0.000864576839376241, 0.012480700388550758, -0.08027680963277817, 0.009969739243388176, 0.020724225789308548, 0.0436730831861496, 0.03917256370186806, -0.039677876979112625, -0.0021464680321514606, 0.03488084301352501, -0.024543829262256622, 0.02305467799305916, -0.007287723943591118, 0.010689731687307358, -0.0035629463382065296, -0.06417827308177948, 0.014692507684230804, -0.020873287692666054, 0.003445575712248683, -0.016214940696954727, -0.00684409448876977, -1.2134509397299098e-8, -0.021968508139252663, 0.008446584455668926, -0.017231006175279617, 0.04247816279530525, 0.025635717436671257, 0.03928796201944351, -0.04446098580956459, 0.0009668457787483931, -0.025648431852459908, 0.03844534605741501, 0.021837951615452766, 0.0371689647436142, -0.0375828742980957, 0.037028081715106964, 0.0006369857583194971, -0.07728150486946106, -0.0067238411866128445, 0.046204742044210434, 0.0063653127290308475, -0.0082351453602314, -0.019642801955342293, -0.005515687633305788, -0.021654674783349037, -0.028785550966858864, -0.08594250679016113, -0.02928432635962963, -0.06289598345756531, -0.05087826028466225, 0.03196826949715614, 0.01676713488996029, 0.0006684395484626293, -0.028725577518343925, 0.008409355767071247, 0.022200658917427063, -0.03638385236263275, -0.02646787278354168, -0.020571062341332436, 0.029686640948057175, 0.04470221325755119, 0.03576844185590744, -0.05357547849416733, -0.012107832357287407, 0.013805701397359371, -0.05667668581008911, -0.01492875162512064, 0.025219926610589027, -0.02565619722008705, -0.01913066767156124, 0.03835691511631012, -0.032479360699653625, 0.05243848264217377, -0.01646953821182251, 0.028807904571294785, -0.01609487272799015, 0.01935006119310856, 0.05414854735136032, 0.023925945162773132, -0.052073802798986435, -0.010179068893194199, 0.042726971209049225, 0.027152320370078087, -0.02417987957596779, -0.019915306940674782, -0.012911703437566757 ]
scala-code-kata-2-karate-chop-array-slicing-attempt
https://markhneedham.com/blog/2009/10/13/scala-code-kata-2-karate-chop-array-slicing-attempt
false
2009-10-14 23:21:39
Book Club: Working Effectively With Legacy Code - Chapters 1 & 2 (Michael Feathers)
[ "book-club" ]
[ "Book Club" ]
We've decided to go back to reading a book in our technical book club after a few months of discussing different papers and the chosen book is Michael Feathers' 'http://www.amazon.co.uk/Working-Effectively-Legacy-Robert-Martin/dp/0131177052/ref=sr_1_1?ie=UTF8&s=books&qid=1255440556&sr=8-1[Working Effectively With Legacy Code]'. We started off by reading the first two chapters titled 'Changing Software' and 'Working with Feedback' and these are some of my thoughts and our discussion of the chapters: * Early on Feathers talks about the need to change software in order to add features and fix bugs and while it is certainly necessary to make some changes to code in order to do this we discussed *whether there is ever a time that we might look to keep the number of changes we're making to a minimum*. http://watchitlater.com/blog/[Tom] suggested that if we have good enough tests then we shouldn't be fearful of making changes at any time. I think we'd look to be more careful about making changes around the time of a release because we don't have a lot of time to recover if we make a mistake. Perhaps that only suggests that we don't have good enough tests though! * Something which I've noticed recently is that we often end up with *transitionary refactorings* in our code base which are attempts at refactorings which haven't quite been completed yet. I think this is somewhat inevitable if we are making http://programmer.97things.oreilly.com/wiki/index.php/The_Boy_Scout_Rule[incremental changes to improve the quality of the code base]. The problem with this is that it is sometimes it is not obvious where that refactoring is going and if someone other than the original authors has to work with the code then they can easily drive it in a different direction. While we were discussing this it reminded me of an idea we read in 'http://www.markhneedham.com/blog/2009/07/15/book-club-an-agile-approach-to-a-legacy-system-chris-stevenson-and-andy-pols/[An agile approach to a legacy system]'. The authors suggest that whenever there is a big refactoring to make the whole team only works on that until it is completed. It would be interesting to see how well this approach would work with a bigger team. * I really like the definition of unit tests that Feathers uses - *tests that give us 'localised feedback and 'run fast*'. I wrote a post last year http://www.markhneedham.com/blog/2008/12/04/what-make-a-good-unit-test/[where I tried to break this down further] but I think Feathers' guideline is useful to keep in mind when writing these tests. It's easy to end up relying on functional tests which undoubtably have their place but don't provide the rapid feedback that we need to work effectively. * We also discussed *the need to think twice before creating a technical debt card or adding a 'TODO' comment* to a piece of code. More often than not these just end up being ignored so it makes sense to check whether you can make the change when you see the problem where possible. Evan Bottcher wrote http://www.markhneedham.com/blog/2009/08/30/coding-the-guilty-bystander/#comment-21880[a cool comment in a previous post I wrote where he describes his experience with TODO comments]: + ____ I find TODO comments a symptom of this -- a colleague of mine once said that he was annoyed by TODOs, that they're a statement of 'I can't be bothered doing this, I want YOU TODO this". ____ + It's certainly not always possible to fix things immediately but my current thinking is it probably makes sense to note that down somewhere that's not in the code and get back to it as soon as possible. Having said that I was reading http://programmer.97things.oreilly.com/wiki/index.php/First_Write%2C_Second_Copy%2C_Third_Refactor[Mario Fusco's entry] in 'http://programmer.97things.oreilly.com/wiki/index.php/Edited_Contributions[97 things every programmer should know]' earlier and he recommends putting 'TODO' comments into the code base to identify areas of code to come back to later. Perhaps it just depends on the team. * I think the following observation is quite astute: + ____ Breaking down a big class into pieces can be pretty involved work unless you do it a couple of times a week. When you do, it becomes routine. You get better at figuring out what can break and what can't, and it is much easier to do. ____ + In addition if we don't do this type of refactoring then those classes increase in size and it becomes even more difficult to do in future. Tom also pointed out that the more we practice the better we become at identifying good and bad code which allows us to better focus our attention on where we need to make improvements.
null
null
[ 0.01110327709466219, -0.00035069152363575995, -0.016774533316493034, 0.035114582628011703, 0.097735196352005, -0.004357968922704458, 0.026565516367554665, 0.035659756511449814, 0.028687594458460808, -0.03143554553389549, -0.01583898812532425, 0.016342634335160255, -0.053734272718429565, -0.0025462876074016094, -0.07058970630168915, 0.07025722414255142, 0.06684445589780807, -0.00500566465780139, 0.022751305252313614, 0.002840501256287098, 0.02359588071703911, 0.0800471380352974, 0.0033643257338553667, 0.027650246396660805, 0.02510223165154457, 0.009007366374135017, 0.00352119212038815, -0.025578632950782776, -0.07484710961580276, 0.006492729298770428, 0.04116310924291611, -0.01572457328438759, 0.004027542658150196, 0.0033164636697620153, 0.0002799315261654556, -0.01471597421914339, -0.012715578079223633, 0.017481526359915733, 0.005916934460401535, -0.009870934300124645, -0.054943833500146866, 0.038803938776254654, -0.009238280355930328, 0.005882668308913708, -0.046238042414188385, 0.02602786384522915, -0.03452196344733238, 0.005532514303922653, -0.01636159047484398, -0.0206435713917017, -0.05984058603644371, 0.02789289318025112, -0.0011061980621889234, -0.03577214479446411, -0.005643143318593502, 0.0599290169775486, 0.0060824560932815075, -0.03608595207333565, -0.005532072391360998, -0.04553559422492981, -0.004078421741724014, -0.01012857723981142, 0.005621236748993397, 0.04014236479997635, 0.037122923880815506, -0.03845857456326485, 0.0017786147072911263, 0.033935993909835815, -0.02215351164340973, 0.006394887808710337, -0.02052951231598854, 0.029375305399298668, -0.012809808366000652, 0.00043535802979022264, -0.0019092286238446832, -0.033504288643598557, -0.007410687394440174, 0.09747526794672012, 0.02676563896238804, 0.03882749751210213, -0.007413238752633333, 0.04464622214436531, 0.015805449336767197, 0.01785781979560852, -0.011214262805879116, -0.038511209189891815, 0.0010573164327070117, -0.023182516917586327, -0.05518224462866783, 0.057747408747673035, 0.01475471444427967, -0.08956364542245865, 0.02750363014638424, 0.05739948898553848, 0.0062821730971336365, 0.01353913638740778, 0.02329789474606514, 0.020035414025187492, -0.001904945936985314, -0.02158299833536148, -0.03452422842383385, -0.01826420985162258, 0.013503187336027622, -0.005249618086963892, -0.07389331609010696, -0.0046271225437521935, -0.027913056313991547, -0.014326665550470352, 0.00304223271086812, -0.0029677432030439377, -0.033498357981443405, 0.018911004066467285, -0.03422538936138153, 0.00783528946340084, -0.07256153225898743, 0.0658889189362526, -0.0002895586076192558, -0.04819861054420471, -0.014441892504692078, -0.0075374143198132515, 0.04040508717298508, 0.03603685647249222, 0.010028062388300896, 0.09335199743509293, 0.023057712242007256, 0.028420960530638695, -0.023828240111470222, 0.05846358463168144, -0.03349405899643898, -0.07058635354042053, -0.01912589743733406, 0.039750635623931885, -0.06009586900472641, -0.021101990714669228, -0.008619990199804306, -0.013456716202199459, -0.006913179066032171, 0.016275877133011818, 0.013322844170033932, 0.04914684221148491, -0.0015267751878127456, -0.02173861861228943, 0.016660531982779503, 0.012997753918170929, 0.026515329256653786, -6.22749382728216e-7, -0.0046451035887002945, -0.02376319281756878, -0.03707524389028549, -0.01118241436779499, 0.010148970410227776, 0.02130611427128315, 0.0028689235914498568, -0.04515543580055237, 0.03146907314658165, 0.0757463276386261, 0.015593010932207108, 0.025762459263205528, -0.0325138159096241, 0.04045933112502098, 0.04258924722671509, 0.0277584008872509, 0.011884476989507675, 0.01508105918765068, 0.005866991821676493, -0.0006614942685700953, -0.00645037554204464, 0.04022730141878128, 0.019348949193954468, 0.019033361226320267, -0.06232413277029991, -0.03468847647309303, 0.044487953186035156, -0.04559854790568352, -0.018949396908283234, 0.03424195945262909, 0.07624251395463943, 0.039671991020441055, 0.02732176147401333, 0.0002492726780474186, -0.07770030945539474, 0.03529601916670799, 0.015317819081246853, 0.013413486070930958, 0.010328803211450577, -0.020321829244494438, 0.06430751085281372, 0.03731023147702217, 0.01312296837568283, 0.03384745121002197, -0.08904392272233963, -0.09688301384449005, -0.00821134727448225, -0.0336674228310585, 0.060676224529743195, -0.03509139642119408, 0.00848883856087923, 0.0764821320772171, 0.003197155427187681, 0.06486739218235016, 0.031458981335163116, 0.007544095627963543, 0.013288521207869053, -0.041213370859622955, -0.03125252574682236, 0.05149761214852333, 0.03834129124879837, 0.015140116214752197, -0.06287185102701187, 0.005092397797852755, -0.004144034814089537, 0.017622798681259155, 0.04728306829929352, 0.006274610757827759, 0.04338100552558899, 0.009941025637090206, 0.0631367564201355, -0.03912511095404625, 0.07492443174123764, -0.0629216805100441, 0.007267192006111145, 0.009368842467665672, -0.014320990070700645, 0.008110739290714264, -0.007074595429003239, 0.10123709589242935, 0.07294515520334244, -0.05632288008928299, -0.024200815707445145, 0.012184067629277706, 0.011584374122321606, -0.0454232357442379, -0.004288425203412771, -0.0076876054517924786, 0.032619502395391464, -0.0125669464468956, -0.06295118480920792, -0.0340418815612793, 0.019509177654981613, -0.04087921977043152, 0.01695072278380394, 0.059087950736284256, -0.008463232778012753, 0.059987280517816544, 0.012800579890608788, -0.006836695596575737, -0.021826427429914474, -0.006980988662689924, -0.04601869359612465, 0.01679261215031147, 0.020847870036959648, -0.01338267419487238, 0.06280922144651413, -0.041581783443689346, -0.04392648860812187, -0.025780001655220985, -0.037889186292886734, 0.002342189196497202, 0.049611642956733704, 0.05982068181037903, -0.006794505286961794, 0.05154145509004593, 0.00653282692655921, 0.02838212624192238, 0.003970757592469454, -0.04817262664437294, -0.035664696246385574, -0.052279241383075714, 0.011283732950687408, 0.028477996587753296, -0.008484870195388794, 0.03574578836560249, 0.022168580442667007, 0.01771109737455845, -0.027987893670797348, -0.026761086657643318, 0.0442802831530571, -0.003404139308258891, -0.011049080640077591, -0.03232409805059433, -0.026781268417835236, 0.045526206493377686, -0.05230449512600899, -0.032837461680173874, -0.002132643014192581, -0.06894965469837189, 0.06789341568946838, -0.07099923491477966, -0.03762330859899521, 0.005742778070271015, 0.016691433265805244, 0.04705430567264557, 0.0016496899770572782, 0.02613113634288311, 0.0662197694182396, 0.0026385891251266003, 0.00238698604516685, -0.007877973839640617, 0.00022965205425862223, 0.030633719637989998, 0.016367413103580475, -0.019656548276543617, 0.04336549714207649, 0.017957376316189766, -0.0027637328021228313, -0.03834793344140053, 0.03651132807135582, -0.039023857563734055, -0.2734861969947815, 0.03893706575036049, 0.00040293182246387005, -0.06601014733314514, 0.018845709040760994, 0.006180507596582174, 0.007217434700578451, -0.0597560815513134, -0.019094256684184074, 0.032518789172172546, -0.04417984187602997, -0.044191885739564896, -0.010526624508202076, 0.05881951004266739, -0.0011380950454622507, 0.040424052625894547, 0.030655095353722572, -0.017640167847275734, -0.011249293573200703, 0.05945465713739395, -0.004344904329627752, -0.08111299574375153, 0.006883514113724232, 0.020122183486819267, 0.03103429451584816, 0.05517047643661499, -0.09547838568687439, 0.052180543541908264, -0.05265386402606964, -0.006694145034998655, 0.01427694596350193, 0.020140625536441803, -0.0018657081527635455, -0.01540378201752901, -0.007541266269981861, -0.008382265456020832, 0.019304273650050163, 0.02144736237823963, -0.020045025274157524, 0.004172068554908037, -0.012197586707770824, -0.02186036854982376, -0.004218480549752712, 0.013416493311524391, 0.07133456319570541, 0.006544505245983601, -0.0702524483203888, -0.013452610932290554, -0.010919689200818539, 0.0935664027929306, -0.03521743789315224, -0.034854840487241745, 0.005347501486539841, 0.04381043091416359, -0.0003359246184118092, -0.03879468888044357, 0.016663847491145134, -0.02430298738181591, -0.025903010740876198, -0.019723569974303246, -0.00494809914380312, -0.03904160484671593, 0.007533930242061615, -0.04321594536304474, -0.005174130201339722, -0.05946635827422142, -0.06598101556301117, -0.020896142348647118, 0.06299248337745667, 0.005567906890064478, -0.05172710493206978, 0.017450887709856033, -0.002889046212658286, -0.10321149975061417, -0.025029851123690605, -0.026361439377069473, -0.017987295985221863, -0.004515251610428095, 0.008272633887827396, 0.03954159468412399, -0.024929462000727654, -0.06237129122018814, 0.0033417341765016317, 0.001873628469184041, 0.03156314045190811, -0.011454815976321697, 0.021440494805574417, 0.02665291354060173, -0.03981592506170273, -0.0059308395721018314, 0.06892574578523636, 0.0073817139491438866, -0.033303748816251755, -0.029284419491887093, 0.042939312756061554, 0.0011849498841911554, 0.022969096899032593, -0.017337489873170853, 0.014226476661860943, 0.04099257290363312, -0.008602364920079708, -0.06141361966729164, 0.05068476125597954, -0.03265593945980072, -0.011280851438641548, -0.011250178329646587, -0.057454727590084076, 0.014497279189527035, 0.04098249599337578, 0.02568548545241356, 0.0011799940839409828, -0.037633635103702545, 0.022002052515745163, -0.055189814418554306, -0.047884244471788406, -0.018980834633111954, 0.012249789200723171, 0.041457317769527435, -0.03335718438029289, -0.0029770482797175646, -0.051873333752155304, 0.011266851797699928, -0.03202247992157936, -0.011635130271315575, -0.06579943746328354, -0.03398280590772629, -0.017647355794906616, -0.023059075698256493, 0.017635338008403778, 0.025590363889932632, -0.024869637563824654, 0.02816919796168804, 0.024370349943637848, -0.04465941712260246, -0.002155591733753681, -0.0012763484846800566, -0.05794597417116165, -0.033724237233400345, -0.011137672699987888, -0.008684642612934113, -0.023211851716041565, 0.02449190430343151, 0.009278220124542713, 0.014270659536123276, 0.01828363724052906, 0.0037498525343835354, 0.026694439351558685, -0.013147342950105667, 0.02718712016940117, 0.031194139271974564, 0.00022228655871003866, -0.06593988835811615, 0.026286842301487923, -0.05084289237856865, -0.03686199337244034, -0.023222750052809715, 0.03788937255740166, -0.01370339747518301, -0.025141367688775063, 0.011435647495090961, -0.0030016533564776182, -0.06157515570521355, -0.03319054841995239, -0.029034601524472237, 0.011854424141347408, 0.06342940032482147, -0.015155316330492496, 0.025009071454405785, -0.02086896076798439, -0.01987297460436821, -0.01019724179059267, 0.015659555792808533, -0.04700864106416702, 0.006122453138232231, 0.03135879337787628, 0.004669929854571819, 0.0027630955446511507, -0.0020233767572790384, 0.0466625951230526, 0.0015968781663104892, -0.011902748607099056, -0.02896876260638237, 0.0038099708035588264, 0.00824318453669548, 0.04907778650522232, -0.007922820746898651, 0.009380469098687172, -0.01764383353292942, -0.03383593261241913, -0.038129352033138275, -0.022095268592238426, -0.0033138098660856485, 0.01667754165828228, 0.02894890308380127, -0.03742385283112526, -0.07558710873126984, 0.05534353107213974, 0.039210718125104904, 0.018977012485265732, -0.005524856969714165, -0.010092430748045444, 0.00926413293927908, -0.01109163649380207, 0.034657590091228485, 0.05116288363933563, -0.06526407599449158, -0.0059457323513925076, -0.018964117392897606, -0.00925572868436575, 0.004372241906821728, -0.0069966805167496204, -0.04451413080096245, -0.03101459890604019, -0.013857079669833183, -0.00029690685914829373, -0.05468665063381195, -0.01896602474153042, -0.011721664108335972, 0.004791025537997484, -0.013455310836434364, -0.024493569508194923, -0.02329966425895691, 0.01012914627790451, -0.012683483771979809, -0.025294870138168335, 0.00841476395726204, -0.03194497525691986, 0.01729443296790123, 0.019837813451886177, -0.04135720804333687, 0.01928037591278553, -0.036798786371946335, 0.016017310321331024, 0.004022762645035982, -0.013897255063056946, -0.0018808675231412053, -0.030909758061170578, -0.005518264602869749, 0.004102555103600025, 0.02909090928733349, -0.02599249966442585, -0.013740061782300472, -0.029101073741912842, -0.02318662963807583, -0.057493992149829865, 0.013760417699813843, -0.040447015315294266, -0.019692227244377136, 0.025768736377358437, 0.06669197231531143, 0.02289833314716816, 0.044830236583948135, 0.005006752908229828, -0.013430111110210419, 0.05514713004231453, -0.06565992534160614, -0.03962896391749382, -0.03494059666991234, -0.06338677555322647, -0.004376704338937998, 0.022678572684526443, 0.012325734831392765, -0.046898335218429565, 0.02723095752298832, 0.015326470136642456, 0.04223174974322319, 0.03354082629084587, -0.001895408146083355, 0.024140430614352226, -0.05602506548166275, 0.00788088608533144, -0.07927902787923813, 0.005659201182425022, 0.020577507093548775, 0.004948734305799007, -0.011054004542529583, -0.005175354424864054, -0.03166646137833595, 0.03799152374267578, -0.06417899578809738, -0.018819225952029228, 0.047847285866737366, -0.005472507793456316, -0.00326409749686718, 0.0016518938355147839, -0.07428271323442459, 0.04108433797955513, 0.03270625323057175, -0.04797922074794769, -0.01702381856739521, -0.027179976925253868, 0.05732046067714691, 0.013726413249969482, 0.046383921056985855, -0.034213028848171234, -0.006061148829758167, 0.06754236668348312, 0.01505508366972208, 0.004001514986157417, 0.04422592744231224, -0.0061185723170638084, 0.03428112342953682, 0.03608908876776695, 0.014651956036686897, -0.019737733528017998, 0.02076084353029728, 0.006986022461205721, -0.04277794808149338, 0.007751839701086283, 0.003255207324400544, -0.04288634657859802, -0.019624488428235054, 0.05994979664683342, 0.032297153025865555, -0.023667072877287865, -0.04260571673512459, 0.0014248505467548966, -0.07956209778785706, 0.00521101662889123, -0.02015424147248268, -0.003594813635572791, -0.06658364087343216, 0.042540293186903, 0.006188870407640934, -0.004723947960883379, 0.06503161042928696, -0.02423749305307865, -0.010699620470404625, -0.03831734508275986, 0.077873095870018, 0.0754755437374115, 0.0821787565946579, 0.009745696559548378, 0.05716028809547424, -0.010073777288198471, -0.039603155106306076, 0.018618224188685417, 0.020399438217282295, -0.016444774344563484, -0.03599458560347557, 0.018496138975024223, 0.05420387163758278, -0.004078138619661331, 0.053673021495342255, -0.011694245040416718, -0.015149840153753757, 0.00420863414183259, 0.027385879307985306, 0.010811550542712212, 0.08085674047470093, 0.011859568767249584, 0.018107945099473, -0.01884203962981701, -0.034513138234615326, 0.03843140974640846, -0.025280604138970375, -0.010672512464225292, 0.033048707991838455, 0.0012055170955136418, 0.021856317296624184, 0.006311835255473852, 0.03377173840999603, 0.07521935552358627, -0.0321282297372818, 0.01679976098239422, -0.013032559305429459, 0.044899385422468185, 0.0004762756871059537, 0.014991115778684616, -0.024478036910295486, -0.029192853718996048, 0.02102561481297016, -0.02999909594655037, -0.02764672227203846, -0.010704961605370045, -0.010014254599809647, 0.05279074236750603, -0.01207011565566063, -0.007842442020773888, 0.050591275095939636, 0.015778828412294388, -0.03642750158905983, -0.06666743010282516, -0.03777243569493294, -0.027994634583592415, -0.033332351595163345, 0.000023839535060687922, 0.008938596583902836, -0.004724990576505661, -0.03271337226033211, 0.009930979460477829, -0.02988874912261963, -0.04958789050579071, 0.04270221292972565, -0.05840354040265083, -0.033033378422260284, 0.006354834884405136, 0.018826505169272423, 0.02650696411728859, 0.012953848578035831, 0.04101872816681862, -0.0074259815737605095, -0.013908264227211475, -0.006089502479881048, 0.025543563067913055, 0.02559393085539341, 0.013790524564683437, 0.0268230102956295, -0.08702132105827332, 0.021482283249497414, 0.025772087275981903, 0.009702295064926147, -0.06473218649625778, 0.05142970010638237, -0.003526002634316683, -0.05295642837882042, 0.040989071130752563, -0.018393171951174736, 0.020352603867650032, -0.006642315536737442, -0.011084246449172497, -0.006736030336469412, 0.03466483950614929, 0.03527418151497841, -0.01991560496389866, 0.08295372873544693, 0.01673777587711811, -0.014560222625732422, -0.05795549228787422, -0.008816694840788841, 0.002637081779539585, -0.002505051903426647, -0.018697015941143036, -0.02230582758784294, -0.014772784896194935, -0.060174088925123215, -0.010374056175351143, 0.022829361259937286, -0.006093558855354786, -0.023935560137033463, 0.026781689375638962, 0.033210065215826035, -0.022821588441729546, 0.030794868245720863, -0.027096455916762352, 0.029332248494029045, -0.025892967358231544, -0.02195153571665287, 0.0010662026470527053, -0.011662602424621582, 0.0036006656009703875, 0.019972629845142365, 0.006357637699693441, -0.04076424613595009, 0.011618167161941528, 0.014343785122036934, 0.006140880286693573, 0.040382884442806244, 0.025510504841804504, -0.019763542339205742 ]
[ -0.12700720131397247, -0.009729512967169285, -0.009998681955039501, -0.02602565288543701, 0.04481242969632149, -0.0336710587143898, -0.05441044643521309, 0.03614287078380585, -0.013237127102911472, -0.017940156161785126, 0.0072293695993721485, -0.0039296261966228485, -0.013328423723578453, -0.016544701531529427, 0.06453188508749008, 0.008430225774645805, -0.0003038687282241881, -0.07808206230401993, 0.008878413587808609, 0.016451267525553703, 0.00491376081481576, -0.011980246752500534, -0.00966724380850792, -0.001718926359899342, 0.027672596275806427, 0.03997378796339035, 0.01448464673012495, -0.030954523012042046, 0.005858524236828089, -0.18180504441261292, -0.005236557684838772, 0.029445944353938103, 0.0438852459192276, -0.018073372542858124, 0.016581038013100624, 0.06053677573800087, 0.022223111242055893, 0.001592184416949749, -0.0012494680704548955, 0.05515965446829796, 0.01975943334400654, 0.024352924898266792, -0.05409809947013855, -0.01974755898118019, 0.016981996595859528, 0.02007359080016613, 0.021088652312755585, -0.05223093554377556, -0.0161731094121933, 0.010382091626524925, -0.06858067214488983, -0.03711266815662384, -0.0061124637722969055, -0.025190444663167, -0.009934189729392529, 0.031029004603624344, 0.02720016799867153, 0.07885289937257767, 0.007271606475114822, 0.014278666116297245, 0.02750476449728012, -0.03331936523318291, -0.13234233856201172, 0.08344510197639465, 0.057966794818639755, 0.06729644536972046, -0.04361119493842125, -0.03138699755072594, -0.0018316510831937194, 0.09020446985960007, -0.023173019289970398, -0.018906380981206894, -0.03167983889579773, 0.054176755249500275, 0.015311477705836296, 0.012739214114844799, 0.009155764244496822, 0.02082517370581627, 0.024971768260002136, -0.0564807690680027, -0.02201431430876255, -0.01563495397567749, -0.021605176851153374, -0.02811218798160553, -0.04168807342648506, 0.005007254425436258, -0.013311321847140789, 0.06738078594207764, 0.044490035623311996, 0.021918606013059616, 0.06129980832338333, -0.011783726513385773, 0.07463277876377106, 0.01389645878225565, -0.09782727807760239, -0.009857064113020897, -0.0031143021769821644, 0.02369048073887825, -0.0529845766723156, 0.45037466287612915, -0.0320863351225853, -0.027778252959251404, 0.056931618601083755, 0.062081243842840195, -0.01081901416182518, -0.008922594599425793, 0.04371267557144165, -0.042045723646879196, 0.04003233462572098, -0.02830253541469574, 0.019879736006259918, 0.022314082831144333, 0.09211427718400955, -0.04603090509772301, -0.0006518090958707035, 0.04494456201791763, 0.016170328482985497, 0.019242452457547188, 0.005857474636286497, -0.017129790037870407, -0.005725163035094738, 0.012029982171952724, 0.02104564569890499, -0.007394188083708286, -0.000742454722058028, -0.0255984328687191, 0.01201559230685234, 0.058309540152549744, 0.009717597626149654, 0.013714882545173168, 0.050899606198072433, -0.042742930352687836, -0.06991267949342728, -0.008266427554190159, 0.003516948549076915, 0.027420466765761375, -0.0036136137787252665, -0.015507020056247711, 0.005578368902206421, 0.045190103352069855, -0.005234909243881702, -0.016510119661688805, 0.01742943562567234, -0.009395280852913857, -0.047973982989788055, 0.08645182847976685, 0.039355918765068054, -0.041781190782785416, -0.01871076226234436, -0.03419383242726326, 0.01578744500875473, 0.020131757482886314, -0.0009975509019568563, -0.043439026921987534, 0.040292590856552124, -0.00451704952865839, 0.09775812178850174, -0.01866118237376213, -0.07176302373409271, -0.005404515657573938, 0.006282068323343992, -0.01058649830520153, -0.07287465035915375, 0.0361173041164875, 0.06594853103160858, -0.071997731924057, -0.015048343688249588, -0.010351474396884441, 0.03470815345644951, -0.05251628905534744, -0.01361811812967062, 0.020062997937202454, -0.012547770515084267, 0.00017534353537485003, 0.07459224760532379, -0.022146133705973625, -0.025998979806900024, -0.003974931314587593, 0.06600954383611679, 0.017067240551114082, 0.0202788095921278, 0.018190579488873482, -0.042015813291072845, 0.02145763859152794, -0.025883851572871208, -0.09197159856557846, -0.040947459638118744, -0.0021867433097213507, -0.02483287826180458, 0.008840077556669712, -0.03047235682606697, -0.015506020747125149, -0.0723133310675621, 0.09835302084684372, -0.012213787995278835, -0.03986932337284088, -0.005185986869037151, 0.00007394386193482205, -0.027362924069166183, -0.03717686980962753, -0.058943819254636765, 0.02741522528231144, -0.03497404605150223, 0.015196545049548149, -0.07338570803403854, 0.05733231082558632, 0.03552953153848648, -0.07522843033075333, 0.09868930280208588, 0.052018165588378906, -0.04123817756772041, -0.03972876816987991, 0.023484373465180397, 0.016991470009088516, 0.011329513974487782, -0.022249365225434303, -0.022952938452363014, 0.013863085769116879, -0.007311685010790825, 0.0148994792252779, -0.010908832773566246, 0.02266928181052208, -0.015592745505273342, -0.3340669274330139, -0.02044987492263317, -0.03485317900776863, -0.035837192088365555, 0.01387033797800541, -0.06106603518128395, 0.018301786854863167, -0.020777657628059387, -0.02896299958229065, 0.0050596254877746105, 0.05807327851653099, -0.02148386649787426, 0.004654755350202322, -0.0861668586730957, 0.008768397383391857, -0.0076033007353544235, -0.03895004093647003, -0.023034971207380295, -0.04693407192826271, -0.0007741827284917235, 0.0006607586401514709, -0.009845399297773838, -0.030161317437887192, -0.06330381333827972, -0.013147071935236454, -0.045901473611593246, 0.07175827026367188, -0.016823992133140564, 0.0911368727684021, -0.018392488360404968, 0.02170800045132637, 0.008289016783237457, 0.0396038256585598, -0.09525474160909653, 0.014564916491508484, 0.021158326417207718, -0.00946836918592453, -0.019092457368969917, 0.009148167446255684, -0.04804138466715813, -0.023080822080373764, 0.036016933619976044, -0.06800656020641327, -0.03491395711898804, -0.08340531587600708, 0.0105338916182518, -0.0298839770257473, -0.0317368358373642, -0.02125796675682068, 0.07291056960821152, 0.0016701922286301851, 0.010884838178753853, -0.005097073968499899, 0.01794469729065895, -0.014041214250028133, -0.028562715277075768, -0.07269282639026642, 0.02731361985206604, 0.03233693167567253, -0.012743891216814518, 0.017859654501080513, 0.09046903997659683, 0.023557979613542557, -0.055252283811569214, 0.028709648177027702, -0.003224490210413933, -0.006738634780049324, -0.013786019757390022, 0.05392232909798622, -0.0341724269092083, -0.004822067450731993, 0.07492111623287201, -0.011504000052809715, -0.03057020716369152, 0.009609133005142212, 0.05220940709114075, -0.01953223906457424, 0.02671435847878456, -0.00792294554412365, -0.020364072173833847, -0.004835067316889763, -0.01707310974597931, 0.033052828162908554, -0.011567327193915844, -0.012875713407993317, 0.005879918113350868, -0.03570149093866348, -0.0533616840839386, 0.05147597938776016, 0.02786898985505104, -0.04525673761963844, 0.0037111924029886723, -0.023052239790558815, -0.06032254174351692, 0.09729355573654175, 0.01718193106353283, -0.20757624506950378, -0.009501086547970772, 0.07568465918302536, 0.054298292845487595, -0.010557006113231182, 0.059574443846940994, 0.034375470131635666, -0.041676707565784454, 0.005273494403809309, 0.014985830523073673, 0.025974348187446594, 0.03028733842074871, -0.005165338050574064, -0.014119148254394531, 0.050681211054325104, -0.011335778050124645, 0.0698675736784935, -0.013492761179804802, 0.024926286190748215, -0.01357030775398016, 0.012439250014722347, -0.006119867786765099, 0.13611125946044922, 0.020691093057394028, 0.034352339804172516, 0.014575393870472908, 0.0118427574634552, 0.03230489790439606, 0.08251743763685226, 0.0206895861774683, 0.006805047392845154, 0.008873235434293747, 0.030808091163635254, 0.01698978990316391, 0.004206857644021511, -0.08123470097780228, -0.03543463349342346, 0.009153920225799084, 0.019732676446437836, 0.00383200915530324, 0.01895241253077984, 0.010702976956963539, -0.04619242250919342, 0.015625858679413795, 0.08174336701631546, 0.010414631105959415, -0.02907218225300312, -0.027427423745393753, -0.058068931102752686, -0.021223725751042366, -0.03688431531190872, -0.03200878947973251, 0.004168858751654625, -0.00865971390157938, 0.029021771624684334, 0.077328160405159, 0.02838926389813423, -0.019449708983302116, -0.020028160884976387, -0.010084743611514568, -0.009622172452509403, -0.03836572915315628, 0.1344035416841507, 0.037032488733530045, 0.028800269588828087 ]
[ -0.026433641090989113, -0.0043579405173659325, 0.004573442041873932, 0.0010790746891871095, -0.004018520936369896, -0.01493147574365139, -0.007993397302925587, -0.0001868938998086378, -0.004316641017794609, 0.010155884549021721, -0.00627705967053771, 0.038131434470415115, 0.004695266019552946, -0.005290267989039421, 0.003070257604122162, 0.008839773014187813, -0.019675372168421745, -0.006165541708469391, 0.023145785555243492, 0.0025283796712756157, -0.03174296021461487, 0.024785397574305534, 0.0048564402386546135, 0.01820247992873192, -0.02963215298950672, 0.014731207862496376, -0.02355807088315487, 0.0010117930360138416, 0.014387774281203747, -0.12240168452262878, -0.0027253206353634596, -0.006176548544317484, 0.006343623157590628, -0.006272714585065842, -0.00033372812322340906, 0.03991822898387909, 0.013687928207218647, -0.014937375672161579, 0.002634398639202118, -0.022162508219480515, -0.009871707297861576, -0.011691871099174023, -0.011699752882122993, 0.00017719985044095665, 0.006117803510278463, 0.0040540797635912895, 0.009328474290668964, -0.039151716977357864, -0.012852141633629799, 0.0014856401830911636, -0.03179047629237175, -0.011293441988527775, -0.03168083727359772, 0.005400709342211485, 0.01965293101966381, 0.011715252883732319, 0.026217620819807053, -0.017160125076770782, -0.010180354118347168, -0.036037154495716095, 0.009301741607487202, -0.016367116943001747, -0.04250452667474747, -0.03197294473648071, -0.01356455683708191, 0.00985330156981945, -0.00434833625331521, 0.0005139880231581628, -0.01869606226682663, 0.0006993786082603037, -0.017737984657287598, 0.010703194886446, -0.023120345547795296, -0.009166290983557701, 0.004551620222628117, 0.016993561759591103, -0.008926305919885635, -0.0020095675718039274, 0.04459303617477417, -0.01522267796099186, -0.04183844476938248, 0.006892940029501915, 0.026594949886202812, -0.026743100956082344, -0.0007280244608409703, -0.0010200506076216698, 0.01994352415204048, -0.015973931178450584, 0.0332934744656086, 0.020664263516664505, 0.011375044472515583, 0.02719149924814701, 0.00289664207957685, 0.022877492010593414, -0.06864161789417267, -0.012349986471235752, -0.010058450512588024, -0.01036185584962368, 0.00331887137144804, 0.8940550684928894, -0.01076884102076292, 0.030406717211008072, 0.028685741126537323, -0.021348340436816216, 0.024839723482728004, 0.0038594515062868595, -0.00025887310039252043, -0.015877950936555862, -0.00558065390214324, -0.03877772018313408, 0.014624463394284248, 0.005975363310426474, 0.027381882071495056, -0.010452870279550552, 0.03698135167360306, 0.011311308480799198, 0.01050892286002636, 0.012427829205989838, -0.013116901740431786, 0.022414743900299072, 0.05464046075940132, -0.00044775489368475974, 0.010270209051668644, 0.0030273275915533304, 0.020875083282589912, -0.16003748774528503, -0.024795927107334137, -8.649136088452723e-33, 0.04920144006609917, -0.0014811628498136997, -0.02224685624241829, 0.0011699283495545387, -0.005663661751896143, 0.0002723004436120391, 0.032922882586717606, 0.024150270968675613, -0.00034195708576589823, -0.026498695835471153, 0.007334182038903236, -0.021178338676691055, -0.011885078623890877, -0.01572277955710888, 0.051367804408073425, -0.004171363543719053, -0.01769961789250374, 0.02151898853480816, 0.008873007260262966, 0.016967393457889557, 0.015765154734253883, 0.025432908907532692, -0.018719080835580826, -0.021793503314256668, 0.027073565870523453, 0.026325779035687447, 0.007820946164429188, 0.00568348215892911, -0.013649552129209042, -0.04683319106698036, -0.0014793283771723509, 0.010418394580483437, -0.016764430329203606, -0.026951124891638756, -0.00348579790443182, -0.03869395703077316, -0.03053302876651287, -0.00959672499448061, -0.003857558825984597, 0.010530838742852211, -0.0012951800599694252, -0.018647676333785057, -0.037678055465221405, 0.0025587405543774366, 0.009416167624294758, 0.00641091912984848, -0.0003254794282838702, 0.02163293957710266, 0.02637600339949131, -0.020584164187312126, 0.02903134562075138, 0.01307732705026865, 0.011568620800971985, -0.01046475488692522, -0.01691042259335518, 0.01726069487631321, -0.009168971329927444, -0.010380526073276997, 0.003358574351295829, 0.021286603063344955, 0.011990890838205814, -0.00399795500561595, -0.019779449328780174, 0.01700730249285698, 0.009322035126388073, -0.03703910857439041, 0.011715568602085114, 0.023370493203401566, -0.007302491459995508, 0.01170201227068901, -0.032050661742687225, -0.016034791246056557, -0.019932512193918228, -0.0005139847053214908, -0.0015096534043550491, -0.016065537929534912, 0.001384508446790278, 0.030157767236232758, -0.018409183248877525, 0.006377761252224445, -0.027714364230632782, 0.015786241739988327, -0.006634906865656376, -0.028723184019327164, -0.00382762448862195, 0.006869329605251551, 0.014235829003155231, -0.013216312974691391, -0.004074756056070328, -0.006769347004592419, 0.047672439366579056, 0.010959411971271038, 0.015448728576302528, -0.01731749437749386, -0.007065639831125736, 8.544442888148644e-33, -0.003458098042756319, -0.029245292767882347, -0.03761809319257736, 0.0124512342736125, -0.008012798614799976, -0.0023127689491957426, 0.02488258294761181, -0.00041361423791386187, -0.041316669434309006, 0.03584129363298416, -0.028402425348758698, -0.0035144903231412172, -0.024255521595478058, 0.01564929075539112, 0.014161950908601284, -0.02526901476085186, 0.011752793565392494, -0.027121014893054962, 0.05181051045656204, -0.0033909797202795744, 0.025230197235941887, 0.01693790778517723, 0.0223096814006567, -0.014977709390223026, 0.018709758296608925, 0.03652471676468849, -0.0197594054043293, 0.016435811296105385, 0.011910132132470608, -0.021238742396235466, 0.010490925051271915, -0.014081579633057117, 0.021944411098957062, 0.01611321233212948, -0.02754361927509308, 0.014585535041987896, -0.00934480782598257, -0.03597413748502731, 0.0018821897683665156, 0.010931484401226044, 0.03371460735797882, -0.012407640926539898, 0.008554795756936073, -0.0036186689976602793, 0.003535622265189886, 0.0004896925529465079, -0.010751897469162941, -0.017226872965693474, -0.016219906508922577, -0.004464694764465094, 0.019313737750053406, 0.013710246421396732, 0.02732091397047043, 0.000212944665690884, -0.01134514156728983, 0.002305035712197423, -0.023418569937348366, -0.021296845749020576, -0.0034904852509498596, 0.025684842839837074, -0.014491922222077847, 0.007156651932746172, -0.018630417063832283, 0.0043263924308121204, -0.025193938985466957, 0.0017819514032453299, -0.022613195702433586, -0.005246250424534082, -0.0026044382248073816, -0.0238812118768692, -0.027722302824258804, 0.0006427277694456279, 0.002594279358163476, 0.02801266498863697, 0.004117907490581274, -0.010352031327784061, -0.016650721430778503, -0.013929055072367191, 0.004790447186678648, 0.008652369491755962, -0.0061390032060444355, -0.003976691048592329, 0.0047904388047754765, 0.002204739023000002, -0.02780074253678322, 0.03655488044023514, -0.01326665747910738, 0.022143643349409103, 0.0026094955392181873, -0.03202061727643013, -0.004290185868740082, -0.019058287143707275, 0.0148601233959198, -0.002995553892105818, -0.0015590490074828267, -1.4143002324829013e-8, -0.0034701998811215162, 0.03357039391994476, -0.014436403289437294, 0.00021107644715812057, 0.04289313405752182, 0.01617944799363613, -0.015282290056347847, 0.015731647610664368, -0.020929837599396706, 0.0149017833173275, 0.0400422066450119, -0.023529009893536568, 0.0020572927314788103, 0.0018931844970211387, 0.014416584745049477, -0.03147561103105545, -0.009923504665493965, -0.00006301337998593226, 0.017700525000691414, -0.0007826616056263447, 0.008812802843749523, 0.08324310183525085, -0.012701169587671757, 0.017219746485352516, -0.0027791252359747887, -0.001817105570808053, 0.03200748935341835, -0.06296862661838531, -0.00001438219624105841, 0.014172757975757122, -0.011337031610310078, -0.025974327698349953, -0.010266751982271671, 0.01723501645028591, -0.015847820788621902, -0.03608136624097824, 0.03178955614566803, 0.03302396461367607, 0.015857385471463203, 0.024124864488840103, -0.01776771806180477, -0.0015036638360470533, -0.01439377199858427, -0.029940595850348473, -0.019789019599556923, -0.028669001534581184, -0.025471370667219162, -0.01975134387612343, -0.005207478068768978, -0.032855886965990067, 0.04128133878111839, 0.007082811556756496, 0.032897721976041794, 0.028417108580470085, 0.0038486372213810682, 0.01004527322947979, -0.002419095253571868, -0.00539589487016201, -0.05115945637226105, 0.005386510863900185, 0.023467671126127243, 0.01628960110247135, -0.0057489401660859585, -0.011752950958907604 ]
book-club-working-effectively-with-legacy-code-chapters-1-2-michael-feathers
https://markhneedham.com/blog/2009/10/14/book-club-working-effectively-with-legacy-code-chapters-1-2-michael-feathers
false
2009-10-25 00:04:12
Testing End Points: Integration tests vs Contract tests
[ "testing" ]
[ "Testing" ]
We recently changed the way that we test against our main integration point on the project I've been working on so that in our tests we retrieve the service object from our dependency injection container instead of 'newing' one up. Our tests therefore went from looking like this: [source,csharp] ---- [Test] public void ShouldTestSomeService() { var someService = new SomeService(); // and so on } ---- To something more like this: [source,csharp] ---- [Test] public void ShouldTestSomeService() { var someService = UnityFactory.Container.Resolve<ISomeService>(); // and so on } ---- This actually happened as a side effect of another change we made to inject users into our system via our dependency injection container. We have some 'authenticated services' which require the request to contain a SAML token for a valid user so it seemed to make sense to use the container in the tests instead of having to duplicate this piece of behaviour for every test. We needed to add our fake authorised user into the container for our tests but apart from this the container being used is the same as the one being used in the production code. Our tests are therefore now calling the services in a way which is much closer to the way that they are called in the code than was previously the case. I think this is good as it was previously possible to have the tests working but then have a problem calling the services in production because something in the container wasn't configured properly. The downside is that these tests now have more room for failure than they did previously and they are not just testing the end point which was their original purpose. In a way what we have done is *convert these tests from being contract tests to integration tests*. I like the new way but I'm not completely convinced that it's a better approach.
null
null
[ 0.006705407984554768, -0.01589011587202549, -0.028094636276364326, 0.047759074717760086, 0.08544894307851791, 0.01705385558307171, 0.060774192214012146, 0.02385939471423626, -0.003684987546876073, -0.026958158239722252, 0.01413872092962265, -0.028485354036092758, -0.07641952484846115, 0.017078954726457596, -0.023558879271149635, 0.05022388696670532, 0.09533132612705231, 0.009877760894596577, 0.04548824578523636, 0.009330839850008488, 0.002007967559620738, 0.0779988169670105, 0.0015570316463708878, 0.020696034654974937, 0.01052839308977127, 0.022032223641872406, 0.005945633631199598, 0.005987199023365974, -0.06753014773130417, -0.049553513526916504, 0.02778087742626667, 0.01817605085670948, 0.0007327785133384168, -0.022006753832101822, 0.004263569135218859, -0.026718050241470337, -0.02898264303803444, 0.020687149837613106, -0.003444975707679987, -0.006491097155958414, -0.09929263591766357, 0.006068915594369173, 0.00989370048046112, -0.030960891395807266, -0.04392283409833908, -0.015857959166169167, -0.033972833305597305, -0.01727917045354843, -0.0332241989672184, -0.018307380378246307, -0.0763324573636055, 0.020659292116761208, -0.05597488582134247, 0.011198577471077442, 0.0071364534087479115, 0.030909746885299683, 0.0028061249759048223, -0.07186781615018845, 0.030179088935256004, -0.05383417755365372, -0.020953988656401634, 0.01101123820990324, -0.002157929353415966, 0.027570944279432297, 0.04382879287004471, -0.013952989131212234, -0.01114951353520155, 0.05182044580578804, -0.03927026689052582, -0.007580356672406197, 0.007359251379966736, -0.00329578947275877, -0.017336906865239143, -0.004720174241811037, 0.011821690015494823, -0.060009632259607315, -0.022673647850751877, 0.017117897048592567, 0.00788801722228527, 0.04993288964033127, -0.027939001098275185, 0.01583612710237503, 0.037029895931482315, -0.005484436172991991, -0.004278608597815037, -0.03648791089653969, -0.000697694078553468, 0.01131835300475359, -0.002532466547563672, 0.057567574083805084, 0.03226266801357269, -0.033104829490184784, 0.02560773678123951, 0.027874480932950974, 0.01014845259487629, 0.014620421454310417, 0.020407654345035553, 0.0067221843637526035, 0.02126903459429741, 0.012263152748346329, -0.025545759126544, 0.01799415424466133, 0.020154744386672974, 0.031992457807064056, -0.05786081403493881, 0.004142481833696365, -0.011492419056594372, -0.0314648263156414, -0.00021731495507992804, 0.008925245143473148, -0.056208398193120956, 0.018468651920557022, 0.0015255794860422611, 0.014417381025850773, -0.09173252433538437, 0.05252354219555855, 0.03263629972934723, 0.018192779272794724, -0.0072237406857311726, 0.03402319550514221, 0.026149950921535492, 0.03301815688610077, -0.03083621710538864, 0.06510824710130692, 0.0016030396800488234, 0.04532300680875778, -0.04666808247566223, 0.06513969600200653, 0.001670133788138628, -0.08136437088251114, 0.011255776509642601, 0.03348417580127716, 0.009606024250388145, 0.002429684391245246, -0.0077509223483502865, -0.02331041544675827, -0.012066573835909367, -0.007728458382189274, 0.03422759845852852, 0.022417012602090836, -0.04254959523677826, -0.024577192962169647, 0.031212234869599342, 0.004252851940691471, 0.0021602262277156115, 0.001052555162459612, 0.010395342484116554, -0.025546541437506676, -0.021625999361276627, 0.059855956584215164, 0.02256053499877453, 0.060229066759347916, 0.04528184235095978, -0.03541562706232071, 0.017926780506968498, 0.0884009376168251, -0.002450566506013274, 0.012157337740063667, -0.010007144883275032, 0.024309365078806877, 0.024805670604109764, 0.03646322712302208, 0.029130466282367706, 0.04266292601823807, 0.018516050651669502, -0.005048226099461317, -0.03498762100934982, 0.03856503963470459, 0.008207453414797783, -0.005826661828905344, -0.07405555993318558, -0.06428106874227524, 0.04908491298556328, -0.06916015595197678, 0.002887498354539275, 0.0456463061273098, 0.08562776446342468, 0.004193764179944992, 0.05567121505737305, 0.00427628867328167, -0.07160138338804245, 0.016864784061908722, 0.010495917871594429, 0.012904581613838673, 0.022926166653633118, 0.011626542545855045, 0.032790232449769974, 0.031198877841234207, -0.023688966408371925, 0.028410252183675766, -0.07602076232433319, -0.08037731051445007, -0.03217407688498497, 0.0024016716051846743, 0.05204920470714569, -0.007700485642999411, -0.035489559173583984, 0.09176970273256302, 0.013092397712171078, 0.020591428503394127, 0.019591456279158592, 0.002321710344403982, 0.01915636658668518, -0.04331729933619499, -0.04917014390230179, 0.035901132971048355, 0.05246641859412193, 0.009882906451821327, -0.0739491805434227, 0.0079299695789814, -0.03256695345044136, -0.0003003966121468693, 0.01995755545794964, -0.02048042044043541, 0.06947898864746094, 0.004227613564580679, 0.008175407536327839, -0.04332813248038292, 0.07937569171190262, -0.07622326165437698, 0.02914803847670555, -0.03683704882860184, 0.004640485160052776, -0.01806807331740856, -0.014702090062201023, 0.0947137251496315, 0.04941722750663757, -0.030248314142227173, -0.046779926866292953, 0.01314542256295681, 0.033740948885679245, -0.053939517587423325, -0.0018435094971209764, -0.03489667922258377, 0.01825287565588951, 0.012437540106475353, -0.03137078136205673, 0.009637797251343727, -0.003097029635682702, -0.03391536697745323, 0.02031688019633293, 0.07557126879692078, -0.02064526081085205, 0.05400354787707329, -0.002028064802289009, -0.021626830101013184, -0.006655286997556686, -0.03027585707604885, -0.04631875827908516, -0.010548979975283146, 0.03763283044099808, -0.011662092991173267, 0.04079621285200119, -0.0402904711663723, -0.0012448150664567947, -0.014466569758951664, -0.05631354823708534, 0.004825280513614416, -0.00896419957280159, 0.06749551743268967, -0.008953222073614597, 0.053961481899023056, -0.03340268135070801, 0.023734217509627342, 0.009118994697928429, -0.019132226705551147, 0.009975344873964787, 0.00909311231225729, -0.008463685400784016, 0.040066663175821304, 0.02130047045648098, -0.019663715735077858, 0.05436001718044281, -0.01102499570697546, -0.025376643985509872, -0.005398462060838938, 0.02047317661345005, 0.020992735400795937, -0.02956177107989788, -0.017644613981246948, -0.017417214810848236, 0.020582547411322594, -0.04631536453962326, -0.018841251730918884, 0.011309863068163395, -0.1055186316370964, 0.015391884371638298, -0.06570356339216232, -0.07746686786413193, -0.027368413284420967, 0.04495994374155998, 0.019367791712284088, 0.004253390710800886, 0.020934995263814926, 0.0606149323284626, 0.025658100843429565, -0.0034826574847102165, 0.01997377537190914, 0.024348685517907143, 0.01616933010518551, -0.010272677056491375, 0.026900723576545715, 0.03503197059035301, -0.013429351150989532, 0.02730119414627552, -0.09122984856367111, 0.03598160296678543, -0.051982201635837555, -0.2663818597793579, 0.0233737975358963, -0.002744496800005436, -0.010814680717885494, 0.04975427687168121, -0.026605376973748207, 0.027747059240937233, -0.04900132864713669, -0.03133188560605049, 0.07882121950387955, -0.012536643072962761, -0.036177635192871094, 0.011787235736846924, 0.04513423517346382, -0.011095480062067509, 0.015384198166429996, 0.018358947709202766, -0.030778279528021812, 0.026131317019462585, 0.0230292659252882, -0.02832086570560932, -0.04566805809736252, 0.009074495173990726, 0.030854247510433197, 0.04133236035704613, 0.05599715933203697, -0.06179284304380417, 0.07859429717063904, -0.015068705193698406, -0.022153571248054504, -0.005451734643429518, -0.021871043369174004, -0.01150847040116787, -0.016032984480261803, -0.03477838635444641, 0.002669917419552803, -0.01149558275938034, 0.01831933669745922, -0.021847758442163467, -0.003735392587259412, -0.034060586243867874, -0.06859029829502106, -0.008073953911662102, -0.004521636292338371, 0.0535619892179966, -0.028466708958148956, -0.058968912810087204, 0.006171432789415121, -0.06531171500682831, 0.0934055745601654, -0.037712227553129196, -0.020029554143548012, -0.02084794081747532, 0.029956279322504997, -0.05064981430768967, -0.030006043612957, 0.0027100236620754004, 0.002151872729882598, -0.061995722353458405, -0.00807152409106493, -0.04480571299791336, -0.03643019497394562, -0.02995266579091549, -0.035183120518922806, -0.030403070151805878, -0.06785165518522263, -0.0628860741853714, -0.019981322810053825, 0.061517469584941864, -0.00741985347121954, -0.019141657277941704, 0.006613251753151417, 0.015599984675645828, -0.11301535367965698, 0.032816678285598755, -0.05012199282646179, -0.03854203224182129, -0.044201962649822235, -0.0038900978397578, 0.05132671445608139, -0.03555148094892502, -0.04309966415166855, 0.025394627824425697, 0.02069265954196453, 0.016015173867344856, 0.017804859206080437, 0.04309912025928497, 0.019328303635120392, -0.06231683865189552, 0.0016950893914327025, 0.07727828621864319, -0.019976560026407242, 0.022210704162716866, -0.04992793872952461, 0.007949281483888626, 0.036249492317438126, 0.0015805490547791123, 0.0008158594719134271, 0.002561522414907813, 0.008396623656153679, 0.0336858332157135, -0.041254159063100815, 0.02554905042052269, -0.0005819377256557345, 0.026750607416033745, -0.020434215664863586, -0.06047528237104416, 0.04858506843447685, 0.020566845312714577, 0.01739317737519741, 0.00263001280836761, -0.03404738008975983, 0.0006174303707666695, -0.05188130959868431, -0.03415977582335472, -0.015254727564752102, 0.006018282379955053, 0.03824685513973236, -0.02236541546881199, -0.016190623864531517, -0.032602813094854355, 0.029298586770892143, 0.034222278743982315, 0.0038051502779126167, -0.05671892315149307, -0.045518603175878525, -0.0007698129629716277, 0.006208796054124832, 0.019292397424578667, 0.017919382080435753, -0.005699684377759695, 0.04669386148452759, 0.014236727729439735, -0.05060849338769913, 0.018325764685869217, -0.02122042141854763, -0.02441045083105564, -0.022760441526770592, -0.03205065801739693, 0.0009376366506330669, -0.012991604395210743, -0.0171460323035717, 0.006716291885823011, 0.014142614789307117, 0.03502638265490532, 0.00894624087959528, 0.03966432809829712, -0.005152864381670952, 0.005127459764480591, 0.009545652195811272, 0.016827763989567757, -0.10100612789392471, 0.007368572521954775, -0.027058513835072517, -0.026003263890743256, -0.038820721209049225, 0.03743745759129524, -0.008615434169769287, -0.01730196923017502, -0.0290642362087965, 0.0114298015832901, -0.08181022852659225, -0.03481953963637352, -0.027734603732824326, 0.03686053305864334, 0.06078861281275749, -0.03512710705399513, 0.02994418889284134, -0.030662603676319122, -0.01240494754165411, -0.007803130894899368, 0.012105396017432213, -0.022285673767328262, 0.029728731140494347, -0.00588783947750926, 0.031158676370978355, 0.013904694467782974, 0.014414028264582157, 0.03649076819419861, -0.0029258523136377335, 0.02260807529091835, -0.013836297206580639, 0.013831832446157932, -0.01914532296359539, 0.05378585308790207, 0.014360719360411167, -0.0023277150467038155, -0.019937807694077492, -0.01614798977971077, -0.007113786414265633, -0.04254939779639244, -0.010640188120305538, -0.006026622373610735, 0.016769463196396828, -0.043219584971666336, -0.07000571489334106, 0.031712405383586884, 0.012845359742641449, 0.03601202368736267, 0.03409786894917488, 0.04235650226473808, 0.029723340645432472, -0.02752489410340786, 0.028183618560433388, 0.05314731225371361, -0.056782737374305725, 0.01996641792356968, 0.008600885048508644, 0.018879039213061333, 0.020210232585668564, 0.023632697761058807, -0.039162199944257736, -0.021285196766257286, -0.005631585605442524, -0.024063056334853172, -0.04836666211485863, -0.03832661360502243, -0.030285825952887535, 0.020491689443588257, -0.01207478903234005, -0.02410702593624592, -0.0034559397026896477, -0.031606875360012054, -0.024747692048549652, -0.00645554531365633, 0.02899150177836418, -0.019987381994724274, -0.019368508830666542, 0.007624555844813585, -0.0349457748234272, 0.0008058430394157767, -0.02281326800584793, 0.03188352659344673, 0.0013946238905191422, -0.03205079585313797, -0.03283374011516571, -0.03990260139107704, -0.008968004025518894, -0.0004115533665753901, 0.032189153134822845, 0.00029006306431256235, 0.0059948451817035675, -0.010870561935007572, -0.027141129598021507, -0.01571672223508358, 0.022844616323709488, 0.022015798836946487, 0.00912037305533886, 0.019467271864414215, 0.06925678253173828, 0.007070951163768768, 0.04583657160401344, 0.0017808300908654928, -0.001755719305947423, 0.07188069075345993, -0.07087922096252441, 0.00189870223402977, -0.034308530390262604, -0.07981351763010025, -0.006591878831386566, 0.020320169627666473, 0.01937437430024147, -0.014161773025989532, 0.021646786481142044, 0.036957766860723495, 0.012081637978553772, 0.047562457621097565, 0.026819776743650436, 0.03749976307153702, -0.05917510762810707, -0.0004911823780275881, -0.061411648988723755, 0.04774748906493187, 0.05846231058239937, -0.007727150805294514, -0.028697356581687927, -0.0046706488355994225, -0.02428746409714222, 0.07042906433343887, -0.032957613468170166, -0.01787509396672249, 0.041313670575618744, -0.02404228039085865, -0.0016353580867871642, 0.010167825035750866, -0.05936858430504799, 0.044263340532779694, 0.017433440312743187, -0.0235238429158926, -0.030061230063438416, -0.012412389740347862, 0.04083206504583359, 0.028236277401447296, 0.010035840794444084, -0.05187514051795006, 0.0017963838763535023, 0.06508948653936386, -0.0051100184209644794, 0.026535339653491974, 0.03081320971250534, -0.02480066567659378, 0.029981840401887894, 0.012682395987212658, -0.023296590894460678, -0.035765454173088074, -0.004452972207218409, 0.006756229791790247, -0.060362495481967926, 0.040820296853780746, -0.0108055230230093, -0.009969630278646946, -0.04905710741877556, 0.06908324360847473, -0.0020024203695356846, -0.04933873564004898, -0.04442502185702324, 0.0288010835647583, -0.02379738911986351, -0.04715822637081146, -0.018870221450924873, -0.01724487915635109, -0.05129849165678024, 0.046757496893405914, 0.01799902319908142, -0.010182201862335205, 0.0590125247836113, 0.013447487726807594, 0.0035345018841326237, -0.004814423155039549, 0.06339479237794876, 0.07308370620012283, 0.0285064484924078, 0.02096562832593918, 0.050823330879211426, -0.0024285900872200727, -0.03751489147543907, 0.025411861017346382, -0.0334559828042984, -0.012267263606190681, -0.011144062504172325, 0.022873565554618835, 0.04044416546821594, 0.014190904796123505, 0.05456062778830528, -0.014828276820480824, -0.0032791842240840197, -0.01629837043583393, 0.04488958790898323, 0.02176954224705696, 0.011703874915838242, 0.017907865345478058, 0.010126052424311638, 0.02110946550965309, -0.030044322833418846, 0.01863051764667034, -0.03859800845384598, -0.005864436272531748, 0.01952465996146202, -0.013901570811867714, 0.00009521151514491066, -0.004822641611099243, 0.015611990354955196, 0.06299221515655518, -0.012484900653362274, 0.009775935672223568, -0.011616149917244911, 0.024588625878095627, 0.017103396356105804, -0.009909683838486671, -0.025572162121534348, -0.029028909280896187, -0.006308964919298887, -0.008153445087373257, -0.008279608562588692, -0.0009604220394976437, -0.027265405282378197, 0.04221851006150246, 0.0021779693197458982, 0.04352761432528496, 0.009899959899485111, 0.010659090243279934, -0.025371521711349487, -0.04302763566374779, -0.06218233332037926, -0.036667611449956894, -0.03886750340461731, -0.029516322538256645, 0.02540365420281887, -0.009045836515724659, -0.02404208481311798, -0.007678115274757147, -0.005771181546151638, -0.025492172688245773, 0.03927537798881531, -0.04888683184981346, -0.009293077513575554, 0.021801123395562172, 0.011021978221833706, 0.03101612627506256, -0.012877427972853184, 0.04606252163648605, 0.02253117598593235, -0.005329586565494537, -0.05670221149921417, -0.018586216494441032, 0.03808806836605072, -0.008570744656026363, 0.0428338386118412, -0.07619565725326538, 0.023280739784240723, 0.010080154053866863, 0.01639368012547493, -0.06978008151054382, -0.007150697521865368, 0.004257909953594208, -0.01710374280810356, 0.037130508571863174, -0.027733702212572098, -0.001069011283107102, 0.017780432477593422, -0.014370855875313282, 0.025445589795708656, 0.050281450152397156, 0.03849330544471741, -0.029132550582289696, 0.07059144228696823, 0.03470116853713989, -0.02377408929169178, -0.03423183783888817, 0.005317517090588808, -0.008027580566704273, 0.03031626157462597, -0.022019313648343086, -0.023188579827547073, -0.03779955580830574, -0.07050421833992004, -0.012459540739655495, 0.007930646650493145, 0.0007765633636154234, -0.028735151514410973, 0.018124746158719063, 0.02813962660729885, -0.08317337185144424, -0.007986675016582012, -0.003287015249952674, 0.04317178204655647, -0.0455937497317791, -0.014520193450152874, 0.0455469936132431, 0.03322644531726837, 0.018704721704125404, -0.008749561384320259, 0.025941813364624977, -0.030532365664839745, -0.014489195309579372, -0.00011295179865555838, 0.025628870353102684, 0.08232316374778748, -0.011302324943244457, 0.00873526930809021 ]
[ -0.09657805413007736, -0.0031639058142900467, -0.02007012628018856, -0.05377713963389397, 0.05371938273310661, -0.05844314396381378, 0.02978082373738289, 0.025630364194512367, -0.022675586864352226, -0.018943890929222107, 0.014631706289947033, -0.026495298370718956, -0.012300391681492329, -0.008542751893401146, 0.08175038546323776, -0.013587404042482376, -0.01584838517010212, -0.055724237114191055, -0.008218610659241676, 0.04302455112338066, 0.016239384189248085, -0.03299574553966522, -0.045277953147888184, -0.04325694590806961, 0.0022267468739300966, 0.039660897105932236, 0.04076181352138519, -0.041304811835289, 0.017512140795588493, -0.20688317716121674, 0.032781362533569336, -0.0014390089781954885, -0.010642149485647678, -0.03267599269747734, 0.031188739463686943, 0.04913429170846939, 0.014219790697097778, 0.011270741000771523, 0.013293057680130005, 0.04986301437020302, 0.038892924785614014, 0.02763129025697708, -0.07417034357786179, -0.030110210180282593, 0.019576875492930412, -0.013236824423074722, 0.00020984542788937688, -0.02598617598414421, 0.012199625372886658, 0.014887590892612934, -0.023601587861776352, -0.02877182886004448, 0.001048083882778883, -0.020784467458724976, -0.027852479368448257, 0.009975671768188477, 0.053289830684661865, 0.05530867725610733, 0.013651885092258453, 0.023987723514437675, -0.007329016923904419, -0.042554568499326706, -0.14359040558338165, 0.08437030017375946, 0.049703799188137054, 0.0382293239235878, -0.026748711243271828, -0.04266306757926941, 0.009932830929756165, 0.07296846807003021, 0.00936911627650261, 0.00008850982703734189, -0.037648312747478485, 0.05574866756796837, 0.00958195049315691, 0.012978823855519295, 0.004005367401987314, 0.030429694801568985, 0.05584612861275673, -0.049209531396627426, -0.048016343265771866, -0.015838798135519028, -0.0013995044864714146, 0.012362456880509853, -0.035699263215065, 0.026663752272725105, -0.006600456777960062, 0.03835121914744377, 0.07802566885948181, 0.03449023887515068, 0.05338788777589798, -0.02413599006831646, 0.04165448248386383, 0.0195082426071167, -0.09125310182571411, 0.00518326461315155, -0.019498612731695175, -0.004779948852956295, -0.062256522476673126, 0.4417794346809387, -0.006877447012811899, -0.026275737211108208, 0.018455440178513527, 0.022839277982711792, 0.010574408806860447, 0.021827135235071182, -0.005803907290101051, -0.04436459392309189, 0.029736265540122986, -0.02686004526913166, 0.013600855134427547, 0.038887761533260345, 0.05475541204214096, -0.04379592090845108, -0.023807059973478317, 0.03949324041604996, -0.003537440672516823, 0.0077331759966909885, -0.03034147247672081, 0.0020313942804932594, -0.0022924207150936127, -0.0009309157030656934, 0.019422106444835663, 0.001585952821187675, 0.013597609475255013, -0.029085883870720863, 0.03730813041329384, 0.044550422579050064, -0.008814767003059387, -0.01493094302713871, 0.036596644669771194, -0.04591034725308418, -0.07476669549942017, -0.009593754075467587, 0.01492540817707777, 0.024255214259028435, 0.015592573210597038, -0.029826246201992035, -0.021497607231140137, 0.06511756777763367, 0.0014179899590089917, -0.005165827926248312, 0.027792740613222122, -0.04453056678175926, -0.036758940666913986, 0.10933361202478409, -0.0010286569595336914, -0.018786992877721786, -0.014612395316362381, -0.03624047338962555, 0.005967023782432079, 0.06662094593048096, -0.008120610378682613, -0.042444683611392975, 0.022687720134854317, -0.009115002118051052, 0.06879574805498123, 0.001068452256731689, -0.04138001427054405, 0.004226241260766983, -0.01070965826511383, -0.021237032487988472, -0.052780769765377045, 0.05642133578658104, 0.025591639801859856, -0.0871804729104042, -0.05045994743704796, 0.012828852981328964, 0.037023045122623444, -0.04076922684907913, -0.04197733849287033, 0.015500186942517757, -0.010568132624030113, -0.036044858396053314, 0.022860001772642136, -0.043757371604442596, -0.024170218035578728, 0.03288598358631134, 0.03861793503165245, 0.026300571858882904, -0.014247885905206203, 0.023536069318652153, -0.05803023278713226, 0.015416249632835388, -0.015350829809904099, -0.07948712259531021, -0.04774301126599312, -0.007399283815175295, -0.028536193072795868, -0.029319027438759804, -0.055321838706731796, 0.0012605374213308096, -0.08110424131155014, 0.10121137648820877, 0.005706151481717825, -0.008182370103895664, 0.022378945723176003, -0.02167458087205887, 0.010889612138271332, -0.033404696732759476, 0.03499242290854454, 0.06308862566947937, -0.008347409777343273, 0.03989160433411598, -0.06655318289995193, 0.06553870439529419, 0.04046998918056488, -0.04166124761104584, 0.07344178855419159, 0.0336172878742218, -0.033893536776304245, -0.003068497171625495, 0.03104695864021778, 0.031738463789224625, 0.003857441945001483, -0.019267212599515915, -0.006842134520411491, 0.012158876284956932, 0.015586498193442822, 0.021686958149075508, -0.03862592950463295, 0.016054030507802963, -0.007823985069990158, -0.3319498598575592, -0.03176170960068703, -0.023258866742253304, 0.0037650535814464092, -0.00410983432084322, -0.041503775864839554, 0.011308254674077034, 0.00554775120690465, -0.02070334367454052, -0.02942449040710926, 0.11196371912956238, 0.0034818456042557955, 0.03083757497370243, -0.07089824229478836, 0.02542179450392723, -0.024252187460660934, -0.0347336046397686, -0.025078771635890007, -0.021803898736834526, 0.011382353492081165, -0.025006962940096855, -0.028394648805260658, 0.01472810935229063, -0.03255811333656311, 0.027990903705358505, -0.05128207430243492, 0.09962516278028488, -0.016111889854073524, 0.08630608022212982, -0.046386394649744034, 0.02560224011540413, 0.015191115438938141, 0.049779921770095825, -0.11725592613220215, 0.0005825606058351696, -0.03464473783969879, -0.03833289444446564, 0.006814733147621155, 0.0310364980250597, -0.017825696617364883, -0.040669627487659454, 0.005252270493656397, -0.04460366815328598, -0.05341749265789986, -0.008788952603936195, -0.024196870625019073, -0.028159918263554573, -0.004532152786850929, -0.05339121073484421, 0.06216173619031906, -0.02230258658528328, -0.0302124060690403, 0.0033190844114869833, 0.03238482028245926, 0.02308451570570469, -0.025780729949474335, -0.06273479014635086, -0.006897167768329382, 0.02173333428800106, -0.017565229907631874, 0.05325464904308319, 0.11353790014982224, 0.03973979875445366, -0.0664752721786499, 0.011507593095302582, -0.0028675992507487535, -0.005557879339903593, -0.00874750129878521, 0.053485363721847534, -0.036294590681791306, -0.02516697719693184, 0.09760196506977081, -0.021730154752731323, -0.004343400709331036, 0.026324985548853874, 0.03337212651968002, -0.014843069948256016, 0.008952980861067772, 0.013508763164281845, -0.008119679056107998, 0.0008941064006648958, 0.019670989364385605, 0.005083121825009584, -0.042691003531217575, 0.008694087155163288, 0.04965812340378761, -0.02108534798026085, -0.0036826503928750753, 0.05184805020689964, -0.015078417025506496, -0.03297223895788193, 0.009529565460979939, -0.012643752619624138, -0.06888403743505478, 0.09608049690723419, -0.003822337370365858, -0.2553721070289612, 0.01655939780175686, 0.06905335932970047, 0.056077856570482254, -0.019389178603887558, -0.003980240784585476, 0.03128526732325554, -0.05953986942768097, 0.005675623659044504, 0.013379123993217945, 0.03620900213718414, 0.012985038571059704, 0.02427481673657894, -0.006614349782466888, 0.016994064673781395, 0.00220939121209085, 0.03861459717154503, -0.013657652772963047, 0.02635260671377182, -0.032419394701719284, -0.0062699634581804276, -0.013995286077260971, 0.1629662662744522, 0.015796979889273643, 0.004581619519740343, 0.03666496276855469, 0.02112533338367939, 0.024217519909143448, 0.060980889946222305, 0.037841279059648514, -0.005255931057035923, -0.016736727207899094, 0.03576650097966194, -0.003628036007285118, 0.028624719008803368, -0.08694959431886673, 0.0059773121029138565, 0.006903472356498241, 0.016486847773194313, -0.011441132985055447, -0.01257803663611412, -0.011272209696471691, -0.01192149706184864, 0.03514634445309639, 0.060264404863119125, 0.003926499746739864, -0.001101530040614307, -0.04936152324080467, -0.02754991687834263, -0.01939154788851738, -0.02069668471813202, -0.07150810211896896, 0.025046657770872116, -0.019494153559207916, 0.02391418255865574, 0.0695561096072197, 0.009853240102529526, -0.04701124131679535, 0.0015775344800204039, -0.00540974922478199, 0.01393837295472622, -0.013640500605106354, 0.11447180807590485, 0.014126685447990894, 0.03163818642497063 ]
[ -0.014650307595729828, 0.026567276567220688, 0.0066466727294027805, 0.02392769791185856, -0.010232101194560528, 0.022896839305758476, 0.016461778432130814, 0.0010008891113102436, 0.002361696446314454, 0.011358389630913734, -0.01535722054541111, 0.003645576536655426, 0.021131783723831177, 0.02690637856721878, 0.035974834114313126, -0.040266379714012146, 0.055672090500593185, 0.011230165138840675, 0.008831839077174664, -0.0029224776662886143, -0.01439696829766035, 0.028949182480573654, -0.01780441775918007, -0.006256015505641699, -0.006118395831435919, -0.00046522103366442025, -0.029793525114655495, -0.020293867215514183, 0.0028025091160088778, -0.13979479670524597, 0.011732082813978195, -0.029979446902871132, -0.02089828811585903, -0.003542595775797963, 0.008064085617661476, 0.0036100579891353846, 0.0573771670460701, 0.03020133450627327, -0.008496332913637161, 0.0016210267785936594, 0.0386899933218956, 0.0043336753733456135, 0.002915536053478718, -0.00959477573633194, 0.00670055765658617, 0.0026291508693248034, -0.015681272372603416, -0.0592106357216835, 0.008593604899942875, 0.0014282457996159792, -0.02102217637002468, -0.019547685980796814, 0.020809905603528023, 0.023950429633259773, -0.021660448983311653, -0.028045503422617912, -0.00039391100290231407, -0.021829476580023766, 0.009770733304321766, -0.006970690097659826, -0.0325985923409462, -0.026601772755384445, -0.0024965517222881317, -0.023907136172056198, 0.029238244518637657, -0.028383899480104446, 0.008822329342365265, -0.014336075633764267, -0.03987206518650055, -0.022801222279667854, -0.02247512713074684, 0.015146542340517044, -0.016735564917325974, 0.011861218139529228, -0.004872283898293972, 0.0463901050388813, 0.00682349968701601, -0.00014418324280995876, 0.030787823721766472, -0.0016354642575606704, -0.015388937667012215, 0.03318023309111595, 0.016960663720965385, 0.019850702956318855, -0.021418670192360878, 0.03701601177453995, 0.0014664002228528261, -0.015594924800097942, 0.025535261258482933, 0.006735792383551598, -0.0011592952068895102, 0.046084124594926834, -0.004404857289046049, -0.0009838335681706667, -0.044342782348394394, -0.017343822866678238, -0.06171036511659622, -0.023169759660959244, -0.021534256637096405, 0.8455824255943298, -0.0010339441942051053, 0.01807473786175251, 0.02988320030272007, 0.030616652220487595, 0.020928703248500824, -0.015844719484448433, -0.0021419553086161613, -0.0045750816352665424, 0.035920266062021255, -0.01547821145504713, 0.015039346180856228, 0.013903298415243626, 0.011774588376283646, 0.002995607675984502, -0.010267891921103, 0.03798310086131096, -0.003123148810118437, -0.029954716563224792, -0.021961553022265434, 0.001855704584158957, 0.025461474433541298, -0.02485221065580845, -0.011689620092511177, 0.006185480859130621, 0.03833445906639099, -0.15283629298210144, 0.0377013124525547, -9.174127293893311e-33, 0.0122677655890584, -0.018115209415555, 0.06232135370373726, 0.05303264036774635, 0.04414763301610947, -0.01932045817375183, 0.030076559633016586, 0.053200818598270416, 0.03767383471131325, -0.0278235524892807, -0.029258059337735176, -0.010829164646565914, -0.004968803841620684, -0.02315571717917919, 0.008183524012565613, -0.022995203733444214, -0.03847194463014603, 0.017119059339165688, 0.010889990255236626, -0.011985051445662975, -0.0005313216242939234, 0.036031655967235565, -0.017829475924372673, -0.004639608319848776, 0.026353728026151657, -0.009789199568331242, 0.012136082164943218, -0.005629556719213724, -0.008120833896100521, -0.04649021103978157, 0.023427089676260948, 0.030224019661545753, -0.028565917164087296, 0.040646787732839584, 0.0180441252887249, -0.03174671158194542, 0.01585218869149685, 0.01126412395387888, -0.05956299230456352, -0.024902405217289925, -0.0031890273094177246, -0.01852484792470932, -0.03253677114844322, 0.053660567849874496, -0.019476575776934624, -0.053317587822675705, -0.020175380632281303, -0.0382668636739254, 0.062397249042987823, -0.005791626404970884, 0.03433038666844368, 0.04531842842698097, -0.01160032395273447, -0.007008410524576902, -0.024314239621162415, 0.028826938942074776, -0.02169159986078739, 0.02572820708155632, -0.006557367742061615, 0.002823613351210952, -0.005684175528585911, -0.0390918143093586, -0.041678205132484436, 0.010337119922041893, -0.0024104376789182425, -0.022996513172984123, -0.0068965572863817215, 0.013016687706112862, 0.01562700979411602, 0.0029003850650042295, -0.0025558455381542444, -0.030083389952778816, -0.009427557699382305, -0.005001412704586983, 0.020785989239811897, -0.009799808263778687, 0.017461039125919342, 0.02991586923599243, 0.012847396545112133, 0.005447756499052048, 0.004101003985852003, -0.014452365227043629, -0.017704199999570847, 0.018246641382575035, -0.01589374430477619, -0.02543710544705391, 0.029550032690167427, 0.0055344742722809315, 0.04489310085773468, -0.034775324165821075, 0.028595104813575745, 0.04039096459746361, 0.018294116482138634, -0.0038895418401807547, -0.05834805965423584, 9.729004708519587e-33, -0.012294389307498932, -0.018453877419233322, -0.03387559950351715, 0.010220992378890514, 0.008748195134103298, 0.0035778163000941277, 0.011636143550276756, 0.0072221835143864155, -0.048707373440265656, 0.03782792016863823, -0.0008737434982322156, 0.0068217553198337555, -0.004689768422394991, 0.07017331570386887, -0.00724920816719532, 0.007768099661916494, 0.021522238850593567, -0.0194681528955698, 0.024469617754220963, 0.005064021330326796, 0.0048105595633387566, 0.03194455802440643, 0.038559701293706894, -0.012610385194420815, -0.020808137953281403, 0.04863482713699341, -0.014649768359959126, 0.029376890510320663, 0.011455649510025978, -0.03244189918041229, 0.002651271177455783, 0.01824534870684147, 0.024368150159716606, -0.006506269332021475, -0.014218212105333805, 0.006759312469512224, -0.0083986297249794, 0.02520013228058815, -0.005083446856588125, -0.025501787662506104, -0.02920052781701088, -0.05498037487268448, -0.023780038580298424, 0.01407644059509039, 0.02224215492606163, 0.00950049888342619, -0.005670442711561918, -0.04720645770430565, 0.005282193887978792, 0.04083845764398575, -0.019076526165008545, 0.001792567316442728, 0.015979833900928497, 0.035312164574861526, 0.0010481327772140503, -0.014328102581202984, -0.04642028361558914, -0.014367830939590931, 0.004495234228670597, 0.01872194930911064, 0.03282720223069191, 0.03229517489671707, 0.006294276565313339, 0.009632308967411518, -0.01616576686501503, 0.020907822996377945, 0.0008690253016538918, 0.021978173404932022, -0.012579000554978848, -0.008464734070003033, -0.0230476763099432, -0.021997341886162758, 0.0019764916505664587, 0.026284661144018173, 0.026995738968253136, -0.049241162836551666, 0.02805611491203308, -0.04912810027599335, -0.006864410825073719, -0.003738912520930171, -0.012381221167743206, -0.055917397141456604, -0.0051047238521277905, 0.006466828286647797, -0.031647972762584686, 0.012256250716745853, 0.024459945037961006, -0.01199528481811285, 0.020459024235606194, 0.018965641036629677, -0.04017965868115425, 0.008138136006891727, -0.010648121125996113, -0.0057700932957232, 0.02477920800447464, -1.4202410802965915e-8, 0.014246963895857334, 0.015778910368680954, -0.01999281905591488, 0.0449548214673996, -0.014959223568439484, -0.01568843424320221, -0.0666600689291954, -0.019258100539445877, -0.03260359168052673, 0.030524183064699173, -0.017897743731737137, -0.009019921533763409, 0.0036723806988447905, -0.019534997642040253, 0.01782946102321148, -0.028582772240042686, -0.055594608187675476, -0.011719783768057823, 0.03531557321548462, -0.01000309269875288, -0.016223454847931862, 0.07002804428339005, 0.025973303243517876, -0.0075392466969788074, -0.007609654683619738, 0.05308400094509125, 0.003790368093177676, -0.06623684614896774, 0.026250876486301422, 0.02748723514378071, -0.003020497038960457, -0.019960368052124977, -0.038680847734212875, -0.024348901584744453, -0.04885312542319298, 0.016881262883543968, -0.0013301505241543055, -0.013768170960247517, 0.040861282497644424, 0.00014151117647998035, -0.011442943476140499, 0.005406658165156841, 0.019267311319708824, -0.015498037450015545, 0.0005235951393842697, 0.017983751371502876, -0.03004601038992405, 0.02152567356824875, 0.0165142472833395, -0.03196411207318306, 0.004814522340893745, 0.007354171946644783, -0.0000212572340387851, -0.007833676412701607, 0.0027508544735610485, 0.004494350403547287, 0.012889280915260315, -0.027406487613916397, 0.0015045531326904893, 0.02226211689412594, 0.03241358697414398, 0.019936714321374893, -0.029462328180670738, -0.03329167887568474 ]
testing-integration-points-integration-tests-vs-contract-tests
https://markhneedham.com/blog/2009/10/25/testing-integration-points-integration-tests-vs-contract-tests
false
2009-07-04 09:36:01
Coding Dojo #19: Groovy Traveling salesman variation
[ "coding-dojo" ]
[ "Coding Dojo" ]
Our latest coding dojo involved working on a variation of the http://en.wikipedia.org/wiki/Travelling_salesman_problem[traveling salesman problem] in Groovy again. == The Format We had 8 people participating this week so we returned to the Randori format, rotating the pair at the keyboard every 7 minutes. Give the number of people it might have actually been better to have a couple of machines and use the http://www.dtsato.com/blog/2008/10/29/uberdojo-sao-paulo-coding-dojo/[UberDojo format]. == What We Learnt * The importance of *just getting started* stood out a lot for me in this dojo - there have been quite a few times when we've met intending to do some coding and spent so long talking about coding that we didn't end up writing anything. Luckily http://twitter.com/davcamer[Dave] took the lead in this dojo and got the ball rolling. The code we wrote originally wasn't perfect but it helped create the momentum to keep the session going so it was valuable in that way. * Another interesting feature of dojos for me is that *it really doesn't matter if you make mistakes* - if you write really terrible code in a dojo it's probably a good thing since you'll probably not go and repeat the same mistake on a real project. I learnt a lot about the perils of not refactoring early enough and having too much state in our code from our http://www.markhneedham.com/blog/2009/02/12/coding-dojo-9-refactoring-isola/[Isola Dojo] a few months ago. * We *refactored much earlier* than we normally do in this dojo and I think it worked really well for allowing us to progress later on. Often we fall into the trap of just chasing the green bar a bit too much and we forget to clean up the code after each cycle but we had that a bit better in this one. We also backed up a bit after around 3 cycles after realising that the code was becoming a bit horrific and spent 1 cycle working it into shape for the next one. * We fell into the trap of going *several cycles with broken tests* while trying to do some redesign on the code - the steps were clearly not small enough! Later on we corrected this when refactoring the code into a more functional style by taking very small steps and running the tests after each small change - this was a far more effective approach. * Although we were working in a dynamic language *it didn't feel that the conversations were that different when discussing the code* - we were still talking about types when working out what to do. I'm not sure whether this means we haven't quite got the idea of dynamic languages or whether there isn't such a big difference between the way you talk about your code in them. == For next time * We might continue with another problem in Groovy - it's been quite fun working in a language that runs on the JVM without the verbosity you sometimes get when writing Java code.
null
null
[ 0.011793103069067001, 0.0005677792360074818, -0.005318331066519022, 0.037725143134593964, 0.06653527170419693, 0.025007085874676704, 0.03442542627453804, 0.02778593637049198, 0.007263392210006714, -0.03259677439928055, -0.03232065960764885, 0.005126249510794878, -0.057361602783203125, 0.01598948799073696, -0.05250855162739754, 0.06640630215406418, 0.06692499667406082, -0.014961552806198597, 0.02916652150452137, -0.008554759435355663, 0.02325238287448883, 0.07076404243707657, 0.00602085841819644, 0.020825067535042763, 0.02331053465604782, 0.016644993796944618, 0.012363589368760586, 0.0042062136344611645, -0.07605431973934174, -0.026649052277207375, 0.0351155623793602, 0.011818177998065948, 0.03144372999668121, 0.01745094545185566, 0.009597809053957462, -0.03459707275032997, -0.013098377734422684, 0.01937689445912838, -0.00317866331897676, 0.026562130078673363, -0.03787623345851898, 0.04720738157629967, 0.013863335363566875, 0.01873810403048992, -0.03575853630900383, -0.004443834535777569, -0.046102315187454224, 0.005300077144056559, 0.0006860056309960783, -0.029096808284521103, -0.07862041145563126, 0.027309631928801537, 0.0032452198211103678, -0.008586646988987923, -0.03407258540391922, 0.05906400457024574, 0.04940521717071533, -0.05406073108315468, 0.023317396640777588, -0.04275653511285782, 0.004178078379482031, -0.021880703046917915, 0.014383580535650253, 0.03483162820339203, 0.010195118375122547, -0.038257624953985214, 0.009736831299960613, 0.06172947958111763, -0.027126751840114594, -0.00542449438944459, -0.01168013084679842, 0.014326382428407669, -0.01973991096019745, -0.03144754096865654, 0.00490913400426507, -0.048173122107982635, -0.006550467107445002, 0.0690634623169899, 0.007431474979966879, 0.030679674819111824, -0.03458812087774277, 0.0258412454277277, 0.008268216624855995, 0.020150121301412582, 0.01060571800917387, -0.03544153273105621, -0.019412811845541, -0.030495548620820045, -0.05848971754312515, 0.047326456755399704, 0.02085023745894432, -0.05466976389288902, 0.015656646341085434, 0.030080821365118027, 0.005275583826005459, 0.02624836005270481, 0.008858115412294865, 0.0020643495954573154, -0.01617754064500332, -0.016028249636292458, -0.024512380361557007, -0.005419469438493252, 0.030881134793162346, 0.002655859338119626, -0.07581980526447296, -0.008390441536903381, 0.0034218195360153913, -0.004636120516806841, 0.023569487035274506, 0.014913092367351055, -0.03425188362598419, 0.0049739740788936615, -0.03000330552458763, 0.002954063005745411, -0.060952018946409225, 0.06395399570465088, -0.023432262241840363, -0.053979817777872086, -0.05005987361073494, 0.007872159592807293, 0.034967683255672455, 0.026279449462890625, -0.013106632977724075, 0.10244894027709961, 0.013867212459445, 0.03148222714662552, -0.01751978136599064, 0.05480183660984039, -0.013791420497000217, -0.05066061392426491, -0.009371153078973293, 0.04517028108239174, -0.016149427741765976, -0.015004019252955914, 0.015345112420618534, -0.03390463814139366, -0.0037235566414892673, 0.018788104876875877, 0.010221203789114952, 0.020949076861143112, -0.02487843483686447, -0.010769709944725037, 0.012547830119729042, 0.0057383193634450436, 0.012075861915946007, 0.021053915843367577, -0.018151013180613518, -0.03514862805604935, -0.035551972687244415, -0.009060600772500038, -0.012517946772277355, 0.011158018372952938, 0.007278175558894873, -0.044530995190143585, 0.021435853093862534, 0.082390196621418, -0.0030245198868215084, 0.02658698335289955, -0.025679077953100204, 0.019477391615509987, 0.005994425620883703, 0.018276413902640343, -0.0022344833705574274, 0.03364275395870209, -0.002779655857011676, -0.01597849652171135, 0.0022270979825407267, 0.03867541626095772, 0.003832896938547492, 0.027204269543290138, -0.064456045627594, -0.05108509212732315, 0.05000501871109009, -0.05419538915157318, -0.04818542301654816, 0.0408853217959404, 0.0954708606004715, 0.0333930179476738, 0.04559937119483948, 0.006409033201634884, -0.08119462430477142, -0.000921023718547076, 0.006860395427793264, 0.004305003676563501, 0.03507445380091667, -0.035423897206783295, 0.04964389652013779, 0.030557841062545776, 0.016019005328416824, 0.050292812287807465, -0.06914865970611572, -0.08287538588047028, 0.014377439394593239, -0.03324704244732857, 0.06255747377872467, 0.002547995885834098, 0.022137854248285294, 0.06107098609209061, 0.011793975718319416, 0.04326983913779259, 0.034786928445100784, 0.015425552614033222, 0.028886696323752403, -0.03276285529136658, -0.014920420944690704, 0.04540567472577095, 0.040133196860551834, -0.02758525311946869, -0.05017658323049545, 0.01510341465473175, -0.018707996234297752, -0.005570175591856241, 0.03984345868229866, -0.01972176693379879, 0.033615875989198685, 0.03499351814389229, 0.05582084134221077, -0.03347737342119217, 0.054421231150627136, -0.05795498564839363, 0.01128953043371439, 0.007766148075461388, -0.027184858918190002, -0.0053245909512043, 0.013635295443236828, 0.12133882939815521, 0.06400856375694275, -0.03898905962705612, -0.025336606428027153, 0.015082798898220062, 0.007971704937517643, -0.05299776792526245, -0.01743822544813156, -0.012884510681033134, 0.01517056580632925, -0.010730436071753502, -0.055940184742212296, -0.05901147052645683, 0.01716781035065651, -0.043241363018751144, 0.01972140371799469, 0.07997291535139084, -0.012052185833454132, 0.042717285454273224, 0.0014176912372931838, 0.0002282137720612809, -0.013313394971191883, 0.018639035522937775, -0.022716082632541656, 0.030072038993239403, 0.004545829724520445, -0.021550377830863, 0.049403827637434006, -0.019513264298439026, -0.03280746564269066, -0.039295148104429245, -0.022887054830789566, -0.010969873517751694, 0.040989696979522705, 0.06073419749736786, 0.0009210565476678312, 0.05346960574388504, -0.002518031047657132, 0.016008371487259865, 0.005856028757989407, -0.04741976410150528, -0.03612431511282921, -0.02540954388678074, -0.007606676314026117, 0.03768877685070038, -0.000016187823348445818, 0.028648272156715393, 0.03222658485174179, 0.0007028402178548276, -0.012636772356927395, -0.02458489127457142, 0.03758331760764122, 0.0014889708254486322, -0.028683211654424667, -0.01911149173974991, -0.024859415367245674, 0.042278140783309937, -0.045023251324892044, -0.02356654591858387, 0.0065058693289756775, -0.0728461965918541, 0.05297825485467911, -0.06991326808929443, -0.047659266740083694, 0.023807242512702942, 0.024560751393437386, 0.05527505278587341, -0.031065156683325768, 0.019706517457962036, 0.06698200106620789, -0.020729349926114082, 0.01644388772547245, -0.000836026796605438, 0.0028114630840718746, 0.020023703575134277, 0.00431298790499568, -0.0045141540467739105, 0.017391547560691833, 0.017471550032496452, -0.00909914169460535, -0.03665395826101303, 0.03940833732485771, -0.011066426523029804, -0.293032705783844, 0.0295171607285738, -0.02159116603434086, -0.04371919482946396, 0.01836961694061756, -0.0037569738924503326, 0.018396057188510895, -0.05211002752184868, -0.009189227595925331, -0.002790167462080717, -0.029983526095747948, -0.048205044120550156, -0.04508062079548836, 0.0662415400147438, -0.007097457069903612, 0.035473354160785675, 0.012149845249950886, -0.025945335626602173, 0.013134503737092018, 0.03259725123643875, -0.008667989633977413, -0.06761008501052856, -0.0043503534980118275, 0.04957719147205353, 0.027096925303339958, 0.06604591757059097, -0.10857190191745758, 0.006204810459166765, -0.036733709275722504, -0.0006834230734966695, 0.0077745867893099785, 0.0028124831151217222, -0.005691902246326208, -0.02403772994875908, -0.013093085959553719, -0.0030428238678723574, 0.039745934307575226, 0.00037644911208190024, -0.0004888948169536889, 0.015517255291342735, -0.023909710347652435, -0.027485892176628113, -0.034416232258081436, -0.0011468874290585518, 0.07553636282682419, 0.009957700967788696, -0.07801555842161179, -0.024172505363821983, -0.01643572561442852, 0.08063659071922302, -0.029599731788039207, -0.03988352045416832, -0.002811937592923641, 0.04056989401578903, 0.02765635959804058, -0.01582498289644718, -0.021856021136045456, 0.0035471536684781313, -0.03699532151222229, -0.0428510345518589, -0.013043561950325966, -0.04338911175727844, -0.005737826693803072, -0.05541938543319702, 0.006462660618126392, -0.0630403459072113, -0.02631322667002678, 0.0007690899074077606, 0.0912105068564415, 0.017854072153568268, -0.0553303100168705, 0.04224612936377525, 0.004241380374878645, -0.09992556273937225, 0.008205371908843517, 0.004271440673619509, -0.011462157592177391, 0.0055349525064229965, 0.0017149082850664854, 0.033209428191185, -0.028882620856165886, -0.05971610173583031, 0.024402346462011337, -0.010839828290045261, 0.013934498652815819, -0.02317962795495987, 0.04018280655145645, 0.004160908982157707, -0.015666745603084564, 0.013098858296871185, 0.08034579455852509, 0.0015856224345043302, -0.0354105643928051, -0.01991936005651951, 0.05673479661345482, 0.04062063619494438, 0.03723954036831856, -0.019199376925826073, -0.009570395573973656, 0.023364201188087463, -0.008130552247166634, -0.0622476227581501, 0.04010669142007828, -0.018377073109149933, -0.00024342270626220852, -0.00045903632417321205, -0.057562462985515594, 0.012945526279509068, 0.023045994341373444, 0.035744741559028625, -0.003287712810561061, -0.05671351030468941, -0.006842471193522215, -0.04656337946653366, -0.008657228201627731, -0.009815394878387451, 0.015850326046347618, 0.04186582937836647, -0.004221530631184578, -0.004388467874377966, -0.04416458681225777, 0.014603056013584137, -0.0006711372989229858, 0.004046876449137926, -0.05523989349603653, -0.007114119362086058, -0.03109782375395298, -0.017333464697003365, 0.04106392711400986, 0.017785362899303436, -0.013690906576812267, 0.03428315743803978, 0.002869938500225544, -0.03929300233721733, 0.02001044899225235, -0.007883274927735329, -0.04713796451687813, -0.030256232246756554, -0.0050097862258553505, -0.00048459056415595114, 0.0034125542733818293, 0.03642941266298294, -0.008469789288938046, 0.012275435961782932, 0.019587483257055283, -0.006003245711326599, 0.03323408216238022, -0.02565835602581501, 0.013142750598490238, 0.01079607754945755, 0.0076629831455647945, -0.10055238008499146, 0.014249579049646854, -0.0581541545689106, -0.03188319131731987, -0.012927928939461708, 0.035987045615911484, -0.012457591481506824, -0.030307374894618988, 0.0038109144661575556, 0.006673216819763184, -0.04345787316560745, -0.030642610043287277, -0.01635158248245716, 0.024264637380838394, 0.05169139429926872, -0.01119449082762003, 0.01696666143834591, -0.01134894322603941, -0.008867170661687851, 0.010291674174368382, 0.030225692316889763, -0.03800506889820099, 0.009414661675691605, 0.02336479164659977, -0.02584715001285076, 0.0016071128193289042, -0.0033863699063658714, 0.04261252284049988, 0.016685377806425095, -0.008406388573348522, -0.026961099356412888, -0.006021043285727501, 0.019530806690454483, 0.03835323080420494, -0.004173483699560165, 0.0007922942168079317, 0.0014605610631406307, -0.0024015724193304777, -0.028917750343680382, -0.04802790656685829, -0.001024506869725883, 0.01140154991298914, 0.015916336327791214, -0.029902847483754158, -0.07802891731262207, 0.04546106234192848, 0.05592581629753113, 0.0005110432393848896, 0.026435038074851036, -0.009605972096323967, 0.004723614081740379, -0.022580819204449654, 0.015018142759799957, 0.0629914402961731, -0.057389672845602036, 0.008111575618386269, -0.02328582853078842, 0.031336553394794464, -0.003269346896559, -0.015758521854877472, -0.03440790995955467, -0.026543116196990013, -0.04933470860123634, -0.00046451951493509114, -0.05238552391529083, -0.03293992951512337, -0.009022201411426067, 0.029727214947342873, -0.034106556326150894, -0.01995619386434555, 0.0017412427114322782, -0.0021860215347260237, -0.020205700770020485, -0.018107030540704727, 0.010096282698214054, -0.060341138392686844, 0.011327250860631466, -0.006601032800972462, -0.04473763331770897, 0.013839228078722954, -0.02609141170978546, 0.02137705497443676, 0.026238862425088882, -0.01948564313352108, -0.016157768666744232, -0.035540252923965454, 0.005104921292513609, 0.021269353106617928, 0.026584956794977188, 0.010899165645241737, -0.004158060997724533, -0.044073984026908875, -0.0098177595064044, -0.03628142550587654, 0.03606057167053223, -0.03657364845275879, -0.03037102520465851, 0.0482303649187088, 0.060593750327825546, 0.03475154563784599, 0.05209312587976456, -0.024115098640322685, -0.021913016214966774, 0.05145840719342232, -0.0726894736289978, -0.03228660300374031, -0.027804462239146233, -0.07676626741886139, 0.011731389909982681, -0.00009065911581274122, 0.06432635337114334, -0.004807433113455772, 0.045038849115371704, 0.008873239159584045, 0.048097364604473114, 0.013584965839982033, -0.03867345303297043, 0.03026753105223179, -0.06195802241563797, 0.013230091892182827, -0.06838477402925491, 0.021207865327596664, 0.042371965944767, 0.02433636412024498, -0.00791219249367714, -0.012054672464728355, -0.037143416702747345, 0.04357306286692619, -0.054411258548498154, 0.004163658246397972, 0.046712640672922134, 0.005628444254398346, -0.022002439945936203, 0.01118544116616249, -0.08682973682880402, 0.03420133888721466, 0.03305318206548691, -0.05332154035568237, -0.018266674131155014, -0.036216020584106445, 0.054920680820941925, 0.015180259943008423, 0.037936680018901825, -0.0185098759829998, -0.018457848578691483, 0.07026764005422592, 0.007509443908929825, -0.024593157693743706, 0.043337300419807434, 0.004288934636861086, 0.0463242307305336, 0.03833744302392006, 0.02567027509212494, -0.01622127555310726, 0.02937357686460018, -0.009111099876463413, -0.05441534146666527, 0.011752545833587646, 0.019209634512662888, -0.03588048741221428, -0.04163740947842598, 0.06601189076900482, 0.043233148753643036, -0.032161176204681396, -0.04791416600346565, 0.017819641157984734, -0.08371205627918243, -0.0038339646998792887, -0.032657694071531296, -0.0036932136863470078, -0.04566795378923416, 0.04971757158637047, -0.0053004492074251175, 0.0009382079588249326, 0.053838685154914856, -0.007792339194566011, -0.02344265580177307, -0.02184910699725151, 0.0737980529665947, 0.06873565912246704, 0.05143582448363304, 0.013902759179472923, 0.054052211344242096, -0.017875514924526215, -0.03047860786318779, 0.017666233703494072, 0.011446861550211906, -0.01293218694627285, -0.020856648683547974, 0.022436801344156265, 0.04735265299677849, -0.013881026767194271, 0.06612882763147354, -0.015728631988167763, -0.027434147894382477, -0.004900083877146244, 0.020956559106707573, 0.026181921362876892, 0.07616499811410904, 0.022955818101763725, -0.0024571206886321306, -0.017718708142638206, -0.033633507788181305, 0.03177737444639206, -0.046584535390138626, -0.01570284739136696, 0.03643215820193291, -0.005349121522158384, 0.029651261866092682, 0.02104191854596138, 0.03656984865665436, 0.07439585775136948, -0.051566917449235916, 0.010842934250831604, -0.011453568004071712, 0.03734387457370758, -0.001008309773169458, 0.00009175639570457861, -0.028623487800359726, -0.02176768332719803, 0.014454214833676815, -0.04760470241308212, -0.014259910210967064, -0.009241677820682526, -0.010311075486242771, 0.05342099443078041, -0.01970202848315239, 0.01716151274740696, 0.038889385759830475, 0.027739237993955612, -0.03568730875849724, -0.07595938444137573, -0.04266447573900223, -0.032188668847084045, -0.04651695117354393, -0.041250865906476974, 0.023312987759709358, -0.00917909573763609, -0.03774381801486015, 0.0019253335194662213, -0.036182619631290436, -0.020640067756175995, 0.0457281619310379, -0.06259404122829437, -0.023800618946552277, 0.019858654588460922, 0.004836080130189657, 0.040901411324739456, 0.014726873487234116, 0.04395665228366852, -0.020603088662028313, 0.002961050719022751, -0.024782121181488037, 0.02018534392118454, 0.025687523186206818, 0.001564586884342134, 0.013907375745475292, -0.07392659783363342, 0.009055002592504025, 0.02730095386505127, 0.007079902105033398, -0.04655678942799568, 0.04190066084265709, 0.013361237943172455, 0.005368700250983238, 0.059595659375190735, -0.02220991440117359, 0.017766859382390976, -0.02877972275018692, -0.0035418078768998384, -0.00589598948135972, 0.01029640156775713, 0.03822829946875572, -0.015322688035666943, 0.0913189947605133, 0.023084931075572968, -0.03198634460568428, -0.050867028534412384, -0.0037614440079778433, -0.0017695861170068383, -0.010227982886135578, -0.026898019015789032, -0.061612024903297424, -0.031031686812639236, -0.0683581680059433, -0.0176643468439579, 0.0008464083657599986, 0.004442817997187376, -0.029798567295074463, 0.020278919488191605, 0.0149244274944067, -0.03448526933789253, 0.02840087190270424, -0.05355267971754074, 0.03860361874103546, -0.041783951222896576, -0.0030664377845823765, 0.0038996487855911255, -0.00940647628158331, -0.011067708022892475, 0.004079936072230339, 0.014772409573197365, -0.035935550928115845, 0.01720360666513443, 0.02267439104616642, 0.03984472528100014, 0.02703922428190708, 0.02078120782971382, -0.028801895678043365 ]
[ -0.10025611519813538, -0.013061439618468285, -0.010779570788145065, -0.03765687346458435, 0.012916023842990398, -0.011969462968409061, -0.03916388005018234, 0.02814055234193802, 0.0008950100163929164, -0.02921411395072937, 0.009345377795398235, -0.01560616958886385, -0.010305648669600487, 0.0059236641973257065, 0.07542106509208679, -0.003673797007650137, -0.021769249811768532, -0.05293995141983032, 0.013063781894743443, 0.009083443321287632, 0.018427658826112747, -0.027038494125008583, -0.03887298330664635, -0.033163029700517654, 0.013265809044241905, 0.030928827822208405, 0.03985125944018364, -0.034911200404167175, 0.019469255581498146, -0.2050333321094513, -0.009429707191884518, 0.016917837783694267, 0.06446981430053711, -0.011805569753050804, -0.0047810617834329605, 0.04501238092780113, -0.005963008385151625, 0.010588440112769604, -0.023245619609951973, 0.030019713565707207, 0.007659351918846369, 0.014085156843066216, -0.04984736070036888, -0.047557346522808075, 0.03315940499305725, 0.00676986388862133, 0.01961507275700569, -0.0390515960752964, 0.0025996838230639696, 0.024594467133283615, -0.06903479248285294, -0.039004191756248474, 0.0019513036822900176, -0.030307769775390625, 0.005416262429207563, 0.016332779079675674, 0.04490866884589195, 0.04387393966317177, -0.008364195004105568, 0.016382314264774323, 0.02029293216764927, -0.01478606928139925, -0.11619334667921066, 0.05214032530784607, 0.027458736672997475, 0.02090604417026043, -0.015084927901625633, -0.0029124137945473194, -0.012892833910882473, 0.10042550414800644, 0.012938911095261574, -0.04541262611746788, 0.00039870580076240003, 0.03654411435127258, 0.008575777523219585, 0.006025138311088085, -0.010862831026315689, 0.007641843054443598, -0.008669941686093807, -0.04582757502794266, -0.03261406719684601, -0.03481562063097954, -0.024881575256586075, -0.00326205650344491, -0.053836382925510406, 0.015020648017525673, -0.014333367347717285, 0.062305670231580734, 0.0012881055008620024, 0.014591997489333153, 0.06758885830640793, 0.01663481816649437, 0.03413860872387886, 0.01706581562757492, -0.1088998094201088, -0.02819831855595112, -0.0020490929018706083, 0.048298418521881104, -0.026726508513092995, 0.497559130191803, -0.03461546078324318, -0.01854719966650009, 0.09774360805749893, 0.02728159725666046, -0.022700343281030655, 0.00021605023357551545, 0.01671031303703785, -0.041073787957429886, 0.01820269227027893, -0.02860482968389988, 0.02196730114519596, 0.014854124747216702, 0.08240057528018951, -0.016803791746497154, -0.008754209615290165, 0.05418161302804947, 0.022600769996643066, 0.036317870020866394, 0.007743130438029766, 0.010222361423075199, -0.003350585699081421, 0.015609243884682655, 0.014242476783692837, 0.009380870498716831, -0.02840321697294712, -0.04356727376580238, 0.017406726256012917, 0.050619374960660934, 0.04645225778222084, 0.005148700904101133, 0.0579550676047802, -0.03356494382023811, -0.0456169955432415, 0.03019019030034542, -0.012106801383197308, -0.005580009426921606, 0.048916421830654144, -0.010502109304070473, -0.00061992765404284, 0.03446602076292038, 0.025700412690639496, -0.005061659030616283, 0.04100645333528519, -0.030131004750728607, -0.03696832433342934, 0.10016588866710663, -0.00358743779361248, -0.024601532146334648, 0.022806912660598755, -0.04594719782471657, -0.004237994085997343, 0.017374243587255478, 0.006661933846771717, -0.07367309182882309, 0.010604034177958965, -0.011241412721574306, 0.09245318919420242, 0.0016578404465690255, -0.06081198900938034, -0.009703444316983223, -0.03758670389652252, -0.021232513710856438, -0.06216886267066002, 0.010057485662400723, 0.08130741119384766, -0.1013256087899208, -0.02022077701985836, 0.002521195914596319, 0.03123367391526699, -0.07976512610912323, 0.00031176136690191925, 0.0028978241607546806, -0.03851446509361267, -0.0007805668283253908, 0.060318686068058014, -0.018206708133220673, -0.0017251704121008515, 0.017937544733285904, 0.024365762248635292, 0.022438518702983856, 0.02407243102788925, 0.013296152465045452, -0.03420991823077202, -0.0196234118193388, -0.03275289386510849, -0.06491056084632874, -0.049167413264513016, -0.0021136959549039602, -0.03865693509578705, 0.002537200693041086, -0.02638031169772148, -0.03098905272781849, -0.08013132959604263, 0.0902104526758194, -0.013453500345349312, -0.04450194910168648, -0.0015365466242656112, -0.011510400101542473, -0.022414131090044975, -0.015963995829224586, -0.04226001724600792, 0.03343259170651436, -0.014665372669696808, 0.0012691650772467256, -0.03495290130376816, 0.042469754815101624, 0.05093989148736, -0.03281790390610695, 0.06363079696893692, 0.09134702384471893, -0.04755803197622299, -0.02979479357600212, 0.04171895608305931, 0.03635091707110405, -0.0007311430526897311, -0.005345976911485195, -0.012587467208504677, 0.039167314767837524, -0.002391004003584385, 0.013300435617566109, -0.023214342072606087, 0.020942240953445435, 0.003135242033749819, -0.32867297530174255, -0.04386685788631439, -0.0010287911863997579, 0.0010687432950362563, 0.01438921969383955, -0.0490218922495842, 0.022242100909352303, -0.0328633114695549, 0.004140479955822229, -0.006983035709708929, 0.045577678829431534, -0.033120326697826385, -0.004225949756801128, -0.07027328014373779, -0.014128747396171093, 0.01325145736336708, -0.02348777838051319, -0.0095856674015522, -0.02439543791115284, 0.014256312511861324, 0.013419991359114647, -0.0040301126427948475, 0.001805947977118194, -0.04879428818821907, -0.04349096119403839, -0.0467921644449234, 0.09609515964984894, 0.0144673902541399, 0.10663161426782608, -0.042927537113428116, 0.030794953927397728, -0.015156792476773262, 0.02128501422703266, -0.08329546451568604, 0.0256305243819952, -0.023299003019928932, 0.02125776745378971, -0.044271405786275864, 0.041584547609090805, -0.04836056008934975, -0.028905516490340233, 0.007513038814067841, -0.051632992923259735, -0.026983601972460747, -0.06954070925712585, 0.010051283985376358, -0.0380147360265255, -0.06270964443683624, -0.030210962519049644, 0.06506459414958954, 0.01749843917787075, -0.0013810498639941216, 0.030126608908176422, -0.017180856317281723, -0.018524445593357086, -0.030220095068216324, -0.06374386698007584, -0.005018755793571472, 0.02947044000029564, 0.015469961799681187, 0.029191147536039352, 0.06655794382095337, 0.01612439937889576, -0.05679139494895935, -0.009739827364683151, 0.01908741146326065, 0.01275729201734066, -0.002170409308746457, 0.058643754571676254, 0.01176348514854908, -0.0034729524049907923, 0.07250907272100449, 0.007261782884597778, -0.011479657143354416, 0.034315451979637146, 0.03218741714954376, -0.0026376310270279646, 0.004546110983937979, 0.01863165758550167, 0.0046830736100673676, 0.024271540343761444, -0.027746248990297318, 0.03589020296931267, -0.024722624570131302, -0.0034653102047741413, 0.05046025291085243, 0.015486262738704681, -0.04685594514012337, 0.053304240107536316, 0.030044106766581535, -0.0053277332335710526, 0.00566827692091465, -0.01114177331328392, -0.019841961562633514, 0.0743224024772644, -0.005826416425406933, -0.23466865718364716, 0.009465285576879978, 0.03145179525017738, 0.058284640312194824, -0.014890812337398529, 0.0502852164208889, 0.038624681532382965, -0.07199440896511078, 0.02848914824426174, 0.011388076469302177, 0.030626043677330017, 0.03644730523228645, 0.003853394417092204, -0.0007900003693066537, 0.06054937466979027, -0.007495596539229155, 0.0035216216929256916, 0.0015172389103099704, 0.07398190349340439, -0.013037758879363537, -0.009042845107614994, 0.01699846424162388, 0.14670516550540924, 0.005530047230422497, 0.038764819502830505, 0.027364719659090042, -0.0023830956779420376, -0.017541658133268356, 0.0632113590836525, -0.01866733655333519, -0.038563456386327744, -0.007670481689274311, 0.03456353396177292, 0.0017407364211976528, 0.024150408804416656, -0.07117599993944168, -0.06109756603837013, 0.029307303950190544, 0.018732910975813866, 0.002979359356686473, -0.0017193329986184835, -0.013825185596942902, -0.03504079207777977, 0.0044331797398626804, 0.06253072619438171, 0.0333535298705101, -0.000835114682558924, -0.04159931465983391, -0.05103924870491028, -0.005239871796220541, -0.030252907425165176, -0.0593295656144619, -0.026412177830934525, -0.0018256664043292403, -0.008070181123912334, 0.08777191489934921, -0.007255732547491789, -0.015355052426457405, -0.029345983639359474, 0.02390456572175026, -0.015512474812567234, -0.022785743698477745, 0.10597772151231766, 0.018060484901070595, 0.004635313991457224 ]
[ -0.032831475138664246, -0.023455599322915077, -0.004137661773711443, -0.024731935933232307, -0.034276749938726425, -0.008896643295884132, 0.0033316800836473703, -0.0028038870077580214, -0.016556480899453163, -0.0010606988798826933, 0.012450945563614368, 0.03415561467409134, -0.017369983717799187, -0.02720612846314907, 0.011604977771639824, 0.004102259874343872, 0.031334832310676575, -0.006529663223773241, 0.045405060052871704, 0.025332236662507057, -0.005576622672379017, -0.002016901969909668, -0.02335302159190178, -0.02020823024213314, -0.023683495819568634, 0.0072582489810884, -0.0005401969538070261, 0.0004598582745529711, 0.008140413090586662, -0.1376565545797348, -0.07218467444181442, -0.01928563229739666, -0.008292308077216148, -0.013459732756018639, -0.008071709424257278, 0.0004891278222203255, -0.015445319004356861, -0.01818966306746006, 0.025968963280320168, -0.001791912131011486, 0.03770461678504944, -0.004345776047557592, -0.0044061290100216866, 0.022610869258642197, 0.017112595960497856, -0.022311268374323845, 0.024467194452881813, -0.02606622874736786, -0.009511040523648262, -0.012484177947044373, -0.03182255104184151, -0.005080189555883408, 0.012343782000243664, 0.001530169858597219, -0.011383089236915112, -0.018129346892237663, 0.020968209952116013, 0.012730667367577553, -0.017052747309207916, 0.011672108434140682, 0.015413360670208931, 0.0063001071102917194, -0.0500468835234642, -0.0235360749065876, -0.011146248318254948, -0.034363146871328354, -0.0451723076403141, 0.02034750021994114, -0.04805988818407059, 0.0033333783503621817, 0.0033903394360095263, 0.007644069381058216, -0.00823806319385767, 0.0000013195752899264335, 0.020089689642190933, -0.010285588912665844, 0.005123733542859554, -0.018041934818029404, 0.002035010140389204, -0.014802946709096432, -0.04678136855363846, 0.0072483341209590435, 0.030766459181904793, 0.00254678912460804, -0.020532861351966858, -0.0072681657038629055, 0.04242115095257759, -0.0028931566048413515, 0.027581071481108665, -0.02837902307510376, -0.015896448865532875, 0.030307229608297348, -0.02225293032824993, -0.00914518442004919, -0.11322500556707382, 0.001007293350994587, 0.013571485877037048, -0.010474000126123428, 0.012467356398701668, 0.8477774858474731, -0.007954336702823639, -0.0006648760754615068, 0.05825275555253029, -0.007945232093334198, -0.020904283970594406, 0.03106624446809292, 0.019536610692739487, -0.008116018027067184, 0.014021018519997597, -0.041395917534828186, 0.006713532377034426, 0.033037785440683365, 0.03125995397567749, 0.037006791681051254, -0.027375606819987297, 0.00008425617852481082, -0.022033659741282463, 0.013462652452290058, -0.013501438312232494, 0.032458383589982986, -0.002619628794491291, -0.010553962551057339, 0.020608412101864815, 0.011883622966706753, -0.010325084440410137, -0.1923925280570984, 0.04749658331274986, -7.739686965948228e-33, 0.019751491025090218, -0.02413889952003956, -0.00960204191505909, 0.0023464791011065245, 0.03789636492729187, 0.010262600146234035, 0.022461965680122375, 0.012832758948206902, -0.028021007776260376, -0.021347330883145332, -0.0005854198243469, -0.012093971483409405, -0.01497832965105772, -0.03604960814118385, 0.016706151887774467, -0.00643555074930191, -0.001435832935385406, 0.0347648561000824, 0.02044142782688141, -0.023675786331295967, 0.05798078328371048, 0.013880711980164051, -0.016525384038686752, 0.01728670485317707, 0.00911345798522234, 0.037380367517471313, 0.020382704213261604, -0.000628882204182446, -0.007113242521882057, -0.03148218244314194, -0.03013649955391884, 0.029056807979941368, 0.008192568086087704, 0.003317971481010318, -0.06198656186461449, -0.015119128860533237, -0.03186211735010147, -0.011711310595273972, -0.04078149050474167, -0.03629450872540474, -0.01902391016483307, 0.0009351499611511827, -0.03530105948448181, -0.01887086033821106, -0.022482775151729584, 0.022622356191277504, 0.030819209292531013, 0.00998604018241167, 0.02638119086623192, 0.061753347516059875, -0.00817251205444336, -0.015012579038739204, 0.016572346910834312, 0.034569304436445236, -0.034247081726789474, -0.0027767715509980917, -0.021733179688453674, 0.006867413409054279, -0.005401558708399534, 0.026038823649287224, 0.011977741494774818, -0.016319887712597847, -0.015577398240566254, 0.018777839839458466, -0.03489682078361511, -0.030443495139479637, 0.029255392029881477, -0.007438475266098976, 0.057201094925403595, -0.01938421092927456, -0.054284099489450455, -0.00916102435439825, -0.011111405678093433, 0.008543554693460464, 0.0004111207672394812, -0.0027906247414648533, 0.019178152084350586, 0.033848680555820465, 0.009425107389688492, 0.034506794065237045, 0.01638379506766796, 0.011796245351433754, -0.017290256917476654, -0.05096190422773361, -0.009396865963935852, 0.05741383880376816, 0.0018660672940313816, -0.025337988510727882, -0.03693700209259987, 0.029990481212735176, 0.025576282292604446, 0.0030059246346354485, -0.016805505380034447, -0.008789732120931149, -0.0028408290818333626, 6.90216560808658e-33, -0.011977080255746841, -0.03352189064025879, 0.0038552184123545885, 0.003968955483287573, 0.03189808875322342, -0.006073608994483948, 0.029632963240146637, -0.021922050043940544, -0.03570699319243431, 0.002935339929535985, -0.04693315178155899, -0.012854178436100483, 0.012154938653111458, 0.01973980851471424, 0.04555806890130043, -0.04750990867614746, 0.027886539697647095, 0.006188584957271814, -0.0009404043667018414, 0.018522949889302254, 0.017678217962384224, 0.025901909917593002, -0.010759918950498104, 0.003716754959896207, 0.008897190913558006, 0.06002918258309364, -0.026646284386515617, 0.024844618514180183, 0.0012848677579313517, 0.011818258091807365, -0.0108843008056283, -0.004866402130573988, 0.017157109454274178, 0.03908315300941467, -0.011615837924182415, 0.0028440484311431646, -0.0039917295798659325, -0.006502232514321804, 0.011959904804825783, 0.027362219989299774, 0.038513727486133575, -0.012231065891683102, 0.005149902775883675, 0.03660928085446358, 0.014873048290610313, 0.01709878444671631, -0.006519244983792305, -0.01940637268126011, -0.009645851328969002, 0.01383297797292471, 0.0024387978482991457, 0.04287852719426155, -0.03384488448500633, -0.012034132145345211, -0.009888664819300175, -0.018694622442126274, -0.035113826394081116, -0.003287400584667921, -0.025839148089289665, 0.050073374062776566, -0.02370717190206051, -0.013376065529882908, -0.0021318974904716015, 0.02967923879623413, -0.015413953922688961, -0.003443935653194785, 0.003727759700268507, -0.014698045328259468, 0.00599147193133831, -0.017406541854143143, 0.007110620848834515, 0.006808770354837179, -0.01294052042067051, 0.03705709055066109, 0.005204656161367893, -0.052259661257267, -0.02023349516093731, 0.008443023078143597, -0.008217536844313145, 0.0011534637305885553, 0.002194000408053398, -0.018553102388978004, 0.02459299936890602, 0.0013524196110665798, 0.01593278907239437, 0.0443650521337986, -0.006360708270221949, -0.008463289588689804, 0.018340712413191795, 0.012331587262451649, 0.006142581347376108, 0.0020463818218559027, 0.013732720166444778, -0.0005042986012995243, -0.0225728340446949, -1.3143194976805717e-8, -0.012366428039968014, 0.015154275111854076, 0.005067674908787012, 0.035063840448856354, 0.025072013959288597, 0.015357044525444508, -0.006181596778333187, 0.04291670769453049, -0.022487955167889595, 0.02274014800786972, 0.0635494664311409, -0.01984117180109024, -0.030505362898111343, 0.037208423018455505, 0.02384772151708603, -0.03356312960386276, -0.01473633386194706, 0.0023565187584608793, 0.018988389521837234, -0.003188064554706216, 0.01952080987393856, 0.04819227382540703, -0.0030412154737859964, -0.01961539313197136, 0.0009270181180909276, 0.01699807308614254, -0.023866867646574974, -0.06668619811534882, -0.009055176749825478, -0.02810336835682392, -0.0016165132401511073, -0.018857352435588837, -0.016517380252480507, 0.018959075212478638, -0.029750840738415718, -0.04560190066695213, 0.025870783254504204, 0.013891816139221191, 0.00039723169174976647, 0.0007792888791300356, 0.012129121460020542, 0.010235716588795185, -0.01057266816496849, -0.01523295696824789, -0.025750938802957535, 0.03658699244260788, -0.02774452418088913, -0.0062683699652552605, 0.03651372343301773, -0.03592333942651749, -0.013113853521645069, -0.024556687101721764, 0.012874814681708813, 0.023196497932076454, -0.005319676827639341, -0.015462334267795086, 0.007811840157955885, -0.016351565718650818, -0.013092122040688992, 0.02691304124891758, 0.01867714710533619, 0.00578790158033371, -0.03254915773868561, -0.040292199701070786 ]
coding-dojo-19-groovy-traveling-salesman-variation
https://markhneedham.com/blog/2009/07/04/coding-dojo-19-groovy-traveling-salesman-variation
false
2009-07-04 10:17:31
Domain Driven Design: Conformist
[ "domain-driven-design" ]
[ "Domain Driven Design" ]
Something which constantly surprises me about http://domaindrivendesign.org/[Domain Driven Design] is how there is a pattern described in the book for just about every possible situation you find yourself in when coding on projects. A lot of these patterns appear in the 'Strategic Design' section of the book and one which is very relevant for the project I'm currently working on is the 'Conformist' pattern which is described like so: ____ When two development teams have an upstream/downstream relationship in which the upstream has no motivation to provide for the downstream team's needs, the downstream team is helpless. Altruism may motivate upstream developers to make promises, but they are unlikely to be fulfilled. Belief in those good intentions leads the downstream team to make plans based on features that will never be available. The downstream project will be delayed until the team ultimately learns to live with what it is given. An interface tailored to the needs of the downstream team is not in the cards. ____ We are working on the front end of an application which interacts with some services to get and save the data from the website. We realised that we had a situation similar to this originally but didn't know that it was the conformist pattern and our original approach was to rely completely on the model in the service layer to the extent that we were mapping directly from SOAP calls to WCF message objects and then passing these around the code - I originally described this as being an http://www.markhneedham.com/blog/2008/12/28/internalexternal-domain-models/[externally defined domain model]. This led to quite a lot of pain as whenever there was a change in the service layer model our code base broke all over the place and we then ended up spending most of the day fire fighting - we were too tightly coupled to an external system. At this stage we were reading Domain Driven Design in our http://www.markhneedham.com/blog/2009/01/25/learning-alone-or-learning-together/[Technical Book Club] and I was fairly convinced that what we really needed to do was have our own model and create an anti corruption layer to translate between the service layer model and the new model that we would create. We changed our code to follow this approach and created http://www.markhneedham.com/blog/2009/03/10/ddd-repository-not-only-for-databases/[repositories] and mappers which were the main places in our code base where we cared about this external dependency and although the isolation of the end point has worked much better we never really ended up with a rich domain model that really represented the business domain. We had something in between the service layer model and the real business model which didn't really help anyone and meant we ended up spending a lot of time trying to translate between the different definitions that were floating around. Writing the code for the anti corruption layer also takes a lot of time, http://www.markhneedham.com/blog/2009/04/02/tdd-testing-mapping-code/[is quite frustrating/tedious] and it was hard to see the value we were getting from doing so. We've now reached the stage where we know this is the case and that it probably makes much more sense to just accept it and to not spend any more time trying to create our own model but instead just adapt what we have to more closely match the model we get from the services layer. We will still keep a thin mapping layer as this gives us some protection against changes that may happen in the service layer. I think a key thing for me here is that it's really easy http://www.markhneedham.com/blog/2009/03/30/ddd-recognising-relationships-between-bounded-contexts/[to be in denial] about what is actually happening since what you really want is to be in control of your own domain model and design it so that it closely matches the business so that they would be able to read and understand your code if they wanted to. Sometimes that isn't the case. Chatting with Dave about this he suggested that a lesson for us here is that it's important to *know which pattern you are following* which http://twitter.com/AndyPalmer/statuses/2434721277[Andy Palmer also pointed out on twitter].
null
null
[ 0.02997696027159691, -0.000012269373655726667, 0.004268793389201164, 0.04156826436519623, 0.09424122422933578, -0.001993573736399412, 0.02319037914276123, 0.03234633430838585, 0.03711233660578728, -0.02049180306494236, -0.019011160358786583, -0.00825670175254345, -0.05565094202756882, 0.01622956059873104, -0.04015641286969185, 0.06672818213701248, 0.06421118229627609, 0.007010264787822962, 0.030624229460954666, -0.016526680439710617, 0.026956146582961082, 0.06519772857427597, 0.00768615584820509, 0.04304802417755127, 0.04729785397648811, 0.016175156459212303, 0.02235349826514721, -0.007518962491303682, -0.049054380506277084, 0.006324837915599346, 0.05716373026371002, 0.0038270410150289536, 0.010774564929306507, 0.007474831305444241, 0.021840916946530342, -0.01533343642950058, -0.023933492600917816, -0.009474930353462696, -0.006540175527334213, -0.018193334341049194, -0.08294727653265, 0.048969633877277374, -0.011316599324345589, 0.018778767436742783, -0.028227146714925766, -0.0023417563643306494, -0.056537121534347534, 0.006023813970386982, -0.00836140662431717, 0.0032779814209789038, -0.07578901201486588, 0.02458289824426174, -0.01695164665579796, -0.006834574043750763, -0.020313410088419914, 0.041328880935907364, 0.026050163432955742, -0.05629384517669678, 0.014357645064592361, -0.052682362496852875, 0.0011170621728524566, -0.01520097441971302, 0.001634581363759935, 0.02510337345302105, 0.022644350305199623, -0.036723170429468155, -0.012291868217289448, 0.036759890615940094, -0.03387231007218361, 0.008489984087646008, -0.011548356153070927, 0.021346036344766617, 0.0005900643300265074, -0.0013894066214561462, -0.004671289119869471, -0.04620492458343506, 0.0012221651850268245, 0.07631688565015793, 0.02059062384068966, 0.04320935904979706, -0.0322047658264637, 0.01893201656639576, 0.01371185015887022, 0.010804739780724049, -0.017692632973194122, -0.054463453590869904, -0.00416285265237093, -0.012014833278954029, -0.058308735489845276, 0.07475990056991577, 0.016961276531219482, -0.07985737174749374, 0.011683599092066288, 0.04345511272549629, 0.012886309064924717, 0.009902842342853546, 0.022587843239307404, 0.01570347510278225, -0.010161488316953182, -0.02316887117922306, -0.028978191316127777, -0.004706924315541983, 0.002265173476189375, 0.009551143273711205, -0.0739242359995842, -0.026157710701227188, -0.022455129772424698, -0.01914776675403118, 0.0048043993301689625, -0.0004845595976803452, -0.04054788872599602, 0.011863108724355698, -0.03851659223437309, 0.0029872662853449583, -0.06354284286499023, 0.08210735023021698, -0.004246791824698448, -0.03539906069636345, -0.011785761453211308, 0.007427669595927, 0.04219205677509308, -0.00130371970590204, -0.04163742437958717, 0.07829826325178146, 0.019249679520726204, 0.02079894207417965, -0.037186067551374435, 0.05379850044846535, -0.03679530695080757, -0.06603093445301056, -0.010236795991659164, 0.048336852341890335, -0.052663013339042664, -0.01410320308059454, -0.011718101799488068, -0.039519988000392914, 0.004424759652465582, -0.003516715718433261, 0.025896718725562096, 0.041039276868104935, -0.0017499355599284172, -0.03838527947664261, 0.0123517457395792, -0.002114364644512534, 0.03524264320731163, -0.008261678740382195, 0.014613168314099312, -0.047498028725385666, -0.0378851518034935, -0.0022343730088323355, -0.006484260782599449, 0.03728306293487549, 0.004731722641736269, -0.03589620441198349, 0.027182038873434067, 0.08217494934797287, 0.04738293215632439, 0.02176368236541748, -0.0004147331928834319, 0.028380632400512695, 0.0373595766723156, 0.03302565589547157, 0.020715054124593735, 0.03405238687992096, 0.02243940345942974, -0.0028067075181752443, -0.004502546042203903, 0.04737085849046707, 0.010983874090015888, 0.012720405124127865, -0.07069642096757889, -0.06205926835536957, 0.05805112048983574, -0.03904470428824425, -0.008712786249816418, 0.02619108371436596, 0.08631999790668488, 0.036340195685625076, 0.05167581886053085, 0.005504596512764692, -0.07442797720432281, 0.01669883169233799, 0.025011921301484108, 0.024540266022086143, 0.03276427090167999, -0.02542818896472454, 0.05313962697982788, 0.038687728345394135, 0.005618658382445574, 0.05606875568628311, -0.06962508708238602, -0.09615527093410492, -0.014638126827776432, -0.027774937450885773, 0.0530887097120285, -0.022020727396011353, 0.011485474184155464, 0.08048736304044724, -0.007102790288627148, 0.05387420207262039, 0.023203223943710327, 0.018061285838484764, 0.008998477831482887, -0.03900028020143509, -0.025933487340807915, 0.04372718557715416, 0.034941013902425766, 0.0029468145221471786, -0.056464336812496185, 0.004559815861284733, -0.0016667431918904185, -0.007287396118044853, 0.03787185251712799, -0.020762959495186806, 0.03667045012116432, -0.011720575392246246, 0.06532056629657745, -0.016268720850348473, 0.04819221794605255, -0.05529358237981796, 0.014310173690319061, 0.0005191342206671834, -0.03644721210002899, 0.012184318155050278, -0.00016821856843307614, 0.11120447516441345, 0.07390516996383667, -0.04271873086690903, -0.0374007523059845, 0.02249286137521267, 0.01020760741084814, -0.0377701073884964, 0.003609970910474658, -0.016752470284700394, 0.008596744388341904, 0.001688529970124364, -0.060218121856451035, -0.0265105739235878, 0.016193600371479988, -0.03271199017763138, 0.00778377428650856, 0.05930979922413826, -0.023583754897117615, 0.0423712283372879, 0.005156006198376417, -0.012983413413167, -0.007876420393586159, -0.018692048266530037, -0.058587752282619476, 0.01639990136027336, 0.012985133565962315, -0.009965785779058933, 0.05318611115217209, -0.0334576815366745, -0.038466885685920715, -0.028393501415848732, -0.03957337141036987, 0.015477738343179226, 0.033785510808229446, 0.061594340950250626, -0.019233262166380882, 0.060208164155483246, -0.008639573119580746, 0.03759131580591202, 0.008464493788778782, -0.04353293776512146, -0.03162550553679466, -0.03307168930768967, 0.014570415951311588, 0.03594905510544777, 0.0023424867540597916, 0.021687569096684456, 0.027060722932219505, 0.01404307410120964, -0.006833067163825035, -0.02283564954996109, 0.04689784348011017, 0.00045529307681135833, -0.008953860029578209, -0.025117581710219383, -0.03335309028625488, 0.05262298882007599, -0.05457472428679466, -0.019924955442547798, -0.0067071192897856236, -0.07865455001592636, 0.04988918825984001, -0.0806787759065628, -0.04526259005069733, -0.0036584597546607256, 0.029371894896030426, 0.04436532035470009, 0.013877241872251034, 0.010122643783688545, 0.05523983761668205, 0.013394026085734367, -0.016085581853985786, -0.0003989087708760053, 0.0008544677402824163, 0.029389763250947, -0.001978756859898567, 0.006141461431980133, 0.04007348790764809, 0.012709366157650948, 0.004404356703162193, -0.04437873512506485, 0.03595776483416557, 0.0005166868213564157, -0.28899988532066345, 0.01964738592505455, 0.018482675775885582, -0.054034892469644547, 0.03147342428565025, -0.0202062726020813, 0.0043325708247721195, -0.049425724893808365, -0.01252720970660448, 0.014297639019787312, -0.030444739386439323, -0.05176250636577606, -0.005665513686835766, 0.038209911435842514, -0.01839376799762249, 0.019565830007195473, 0.031128769740462303, -0.04013797268271446, 0.008300391025841236, 0.04256241023540497, -0.027907714247703552, -0.05805901065468788, 0.015624823980033398, 0.03074023127555847, 0.02417515218257904, 0.05444310978055, -0.08242122828960419, 0.04288547486066818, -0.05123116821050644, -0.010427010245621204, 0.024453289806842804, 0.0028963491786271334, -0.0002017147053265944, -0.007880417630076408, -0.022135691717267036, -0.017379892989993095, 0.02804236114025116, 0.020258242264389992, -0.001971667632460594, 0.012353584170341492, -0.012918696738779545, -0.038394637405872345, -0.006095030810683966, -0.002608305774629116, 0.06928300112485886, -0.0024338248185813427, -0.0812607929110527, -0.01454812753945589, -0.016933009028434753, 0.09041113406419754, -0.039062194526195526, -0.03248406946659088, 0.005859166383743286, 0.04815654456615448, -0.008487272076308727, -0.026883089914917946, 0.002741430653259158, -0.03893319144845009, -0.055019889026880264, -0.020024767145514488, -0.021351290866732597, -0.047400686889886856, -0.010865605436265469, -0.05334284156560898, 0.008652826771140099, -0.05173880606889725, -0.07798111438751221, -0.015398710034787655, 0.07031001150608063, 0.026126084849238396, -0.03706055134534836, 0.033311549574136734, 0.006845367141067982, -0.12151025235652924, -0.0028761345893144608, -0.024118738248944283, -0.0006039422005414963, 0.0010821833275258541, 0.02300093322992325, 0.014795549213886261, -0.016047954559326172, -0.0579378642141819, -0.003527156077325344, 0.029108786955475807, 0.021522821858525276, -0.01855592243373394, 0.04221267253160477, -0.0027974219992756844, -0.03753457963466644, 0.007354043889790773, 0.07294396311044693, -0.0028840159066021442, -0.02276153862476349, -0.029426176100969315, 0.022891532629728317, 0.002656446071341634, 0.018046310171484947, -0.000046535620640497655, -0.0008645669440738857, 0.02284323237836361, 0.0004392517439555377, -0.06789993494749069, 0.03104756586253643, -0.005061918869614601, 0.003716172883287072, -0.01613501086831093, -0.038304828107357025, 0.006103489547967911, 0.02989545464515686, 0.01484251394867897, 0.002444278448820114, -0.03960645571351051, 0.004698645789176226, -0.05054681375622749, -0.05737188830971718, -0.029937345534563065, 0.0005008947337046266, 0.05116618424654007, -0.008479354903101921, -0.0017224474577233195, -0.03158174455165863, 0.023325901478528976, 0.009964658878743649, -0.01918467879295349, -0.0556638278067112, -0.02661619894206524, -0.016839290037751198, -0.01627725176513195, 0.0259858351200819, 0.026239296421408653, 0.00198065722361207, 0.023359837010502815, 0.020953010767698288, -0.05475911498069763, 0.01380141545087099, 0.0033512581139802933, -0.06898282468318939, -0.025153428316116333, -0.008974251337349415, 0.00942896492779255, 0.005206736735999584, 0.03040783293545246, 0.007908128201961517, 0.006784540135413408, 0.05007012560963631, 0.01575024612247944, 0.023013774305582047, -0.018821479752659798, 0.04134610295295715, 0.01063753105700016, -0.012243724428117275, -0.06046884134411812, 0.02931937389075756, -0.0529959462583065, -0.013181757181882858, -0.02403952367603779, 0.03626387193799019, -0.011890977621078491, -0.040507443249225616, -0.004690316040068865, 0.005725359544157982, -0.05949387326836586, -0.025061286985874176, -0.014633209444582462, 0.016376851126551628, 0.06244247406721115, -0.044032756239175797, 0.028370968997478485, -0.0046071684919297695, -0.016098562628030777, 0.03129549324512482, 0.03323061764240265, -0.031853653490543365, 0.025854403153061867, 0.0010760081931948662, 0.011587534099817276, -0.0036700470373034477, 0.002230169251561165, 0.062391702085733414, 0.021712016314268112, -0.003971349447965622, -0.022582491859793663, 0.013035699725151062, 0.015206330455839634, 0.060940131545066833, 0.02089487388730049, -0.005897607188671827, 0.008603785187005997, -0.018089070916175842, -0.015121963806450367, -0.031657248735427856, -0.014757996425032616, -0.0009492018143646419, 0.01140047237277031, -0.035360921174287796, -0.07138903439044952, 0.06706331670284271, 0.022540481761097908, 0.019139152020215988, 0.0041486239060759544, -0.000992670888081193, 0.025847749784588814, -0.021926308050751686, 0.023155860602855682, 0.03418208658695221, -0.06736543029546738, 0.014092756435275078, -0.009713645093142986, 0.012059020809829235, 0.0021367960143834352, -0.00024668918922543526, -0.04948769882321358, -0.033137571066617966, -0.02485266886651516, -0.006784510333091021, -0.07198136299848557, -0.02485373616218567, -0.03057723678648472, 0.034396279603242874, 0.009053203277289867, 0.005534471478313208, -0.012892207130789757, 0.006661829072982073, -0.003210160881280899, -0.019492395222187042, 0.027558406814932823, -0.037918571382761, 0.002848374890163541, 0.005359196569770575, -0.043302662670612335, 0.008554565720260143, -0.016825208440423012, -0.0012150721158832312, 0.01996099390089512, -0.012197981588542461, -0.021257217973470688, -0.02673010714352131, -0.004298031330108643, 0.008497782051563263, 0.0572483129799366, -0.010949582792818546, -0.0235751885920763, -0.037230007350444794, -0.006247493904083967, -0.026473985984921455, 0.031160281971096992, -0.03309967741370201, -0.005921551026403904, 0.015408635139465332, 0.05912991613149643, 0.010321022942662239, 0.03748590871691704, -0.006077434401959181, -0.015657132491469383, 0.0637851357460022, -0.0782371461391449, -0.020176619291305542, -0.038625918328762054, -0.06386502087116241, -0.01171997282654047, -0.0031141075305640697, 0.02057509496808052, -0.01810641959309578, 0.04001878947019577, 0.03681430593132973, 0.04154851660132408, 0.032776158303022385, 0.013631694950163364, 0.03132355213165283, -0.05044005438685417, -0.004205421544611454, -0.07213152945041656, 0.01710456982254982, 0.02462003007531166, 0.011033080518245697, -0.01166103407740593, -0.009828676469624043, -0.04820817708969116, 0.05698442459106445, -0.06864071637392044, -0.032561905682086945, 0.03730202466249466, 0.006169475615024567, -0.017048122361302376, 0.0014668854419142008, -0.06433778256177902, 0.03486796095967293, 0.028543628752231598, -0.05270318314433098, -0.028236383572220802, -0.027126282453536987, 0.04826560989022255, -0.009818335995078087, 0.03688549995422363, -0.03610483556985855, -0.017092086374759674, 0.07329162955284119, 0.0036789800506085157, 0.002793099032714963, 0.047233715653419495, -0.0015860282583162189, 0.04565771296620369, 0.018374260514974594, -0.0016225632280111313, 0.01251373440027237, 0.023658519610762596, -0.016272665932774544, -0.07516961544752121, 0.03932703286409378, -0.0028620134107768536, -0.029676131904125214, -0.03920631855726242, 0.06551329791545868, 0.0265276487916708, -0.015683675184845924, -0.05148662254214287, 0.00072299042949453, -0.05649186670780182, -0.004743020981550217, -0.005914957262575626, -0.0008797176997177303, -0.03538983315229416, 0.059160154312849045, 0.004024703986942768, 0.006866572890430689, 0.07466650009155273, -0.0072600808925926685, -0.034694429486989975, -0.022904736921191216, 0.09838084876537323, 0.08075004816055298, 0.04727599769830704, 0.004218947608023882, 0.059214770793914795, -0.01376353483647108, -0.036330267786979675, 0.007139848545193672, 0.00039351003943011165, -0.013018331490457058, -0.01960129849612713, 0.010204100050032139, 0.05869010090827942, -0.013680015690624714, 0.06628312170505524, -0.028313005343079567, -0.024845227599143982, -0.0024891614448279142, 0.021081028506159782, 0.029051734134554863, 0.07204857468605042, 0.006701583508402109, 0.021014777943491936, -0.004814370535314083, -0.04276392236351967, 0.013295626267790794, -0.018100392073392868, -0.02039855159819126, 0.02226303145289421, 0.0004953210591338575, 0.009185763075947762, 0.001525453175418079, 0.011561247520148754, 0.09050877392292023, -0.05356249958276749, 0.008986358530819416, -0.007394124288111925, 0.015947695821523666, -0.007067335303872824, 0.008992806077003479, -0.014458168298006058, -0.024383213371038437, -0.022451156750321388, -0.04189188778400421, -0.038824185729026794, -0.01803583651781082, -0.0023465000558644533, 0.04005102813243866, -0.009223162196576595, -0.010125464759767056, 0.021558593958616257, -0.0008069290197454393, -0.03348838910460472, -0.05537139251828194, -0.04234301298856735, -0.03923972323536873, -0.06051747873425484, -0.0283505916595459, 0.012319422326982021, -0.010935667902231216, -0.03921699523925781, -0.018119271844625473, -0.01649225689470768, -0.033898256719112396, 0.0661492869257927, -0.05481881648302078, 0.0021502261515706778, 0.017371589317917824, 0.03085775300860405, 0.023538997396826744, 0.016165144741535187, 0.04997673258185387, -0.00015201135829556733, 0.002193068852648139, -0.03155595436692238, 0.010189392603933811, 0.02164115011692047, 0.013678440824151039, 0.028701595962047577, -0.08454131335020065, 0.009579298086464405, 0.01986619085073471, -0.006675689481198788, -0.07581118494272232, 0.04742714762687683, 0.01593649759888649, -0.01682005636394024, 0.03767327964305878, -0.026609482243657112, 0.008307592943310738, -0.018741978332400322, -0.007972246035933495, -0.006417508702725172, 0.01609654165804386, 0.04010125994682312, -0.02312638610601425, 0.07801464945077896, 0.04147571325302124, -0.011037319898605347, -0.044557876884937286, -0.0035623754374682903, -0.017843211069703102, 0.00538259744644165, -0.028817785903811455, -0.015741396695375443, -0.02727542072534561, -0.07450830936431885, -0.01805184967815876, 0.02584793046116829, -0.022801663726568222, -0.0380205474793911, 0.025083621963858604, 0.026364145800471306, -0.034502144902944565, 0.022434210404753685, -0.04911384731531143, 0.032607607543468475, -0.007591950707137585, -0.010658126324415207, -0.0042924778535962105, 0.013936618342995644, 0.00995622482150793, 0.005400802008807659, 0.0052859047427773476, -0.05464683845639229, 0.005399694666266441, 0.004862331319600344, 0.02959810197353363, 0.031144682317972183, 0.022193554788827896, 0.01655125617980957 ]
[ -0.07416024804115295, -0.011055950075387955, -0.03138130530714989, -0.03704414889216423, 0.04238971695303917, -0.02675028145313263, -0.03235875815153122, 0.018137576058506966, -0.006061615888029337, -0.036986589431762695, 0.0012011384824290872, -0.013105889782309532, -0.011227862909436226, -0.02546544000506401, 0.08197332918643951, 0.0199261661618948, -0.023903246968984604, -0.05116470158100128, 0.03376920521259308, 0.033519044518470764, 0.0441020168364048, -0.040287237614393234, -0.05636874586343765, -0.017573293298482895, 0.0008568350458517671, 0.03340240567922592, 0.04965449497103691, -0.014072829857468605, 0.01797211356461048, -0.1981945037841797, 0.0016431671101599932, 0.016602009534835815, 0.02173490636050701, -0.027292393147945404, 0.022106308490037918, 0.04045446962118149, 0.005071909166872501, 0.015815401449799538, 0.012504217214882374, 0.03566902503371239, -0.007341098506003618, 0.01505506131798029, -0.033586811274290085, -0.018765641376376152, 0.016341105103492737, -0.009714193642139435, -0.010165947489440441, -0.013877643272280693, -0.041896358132362366, -0.024772485718131065, -0.05072521045804024, -0.02154630981385708, -0.02122817002236843, -0.023041946813464165, 0.004443947225809097, 0.02562885358929634, 0.031658533960580826, 0.07799497991800308, 0.0005290756816975772, 0.029520299285650253, 0.027759388089179993, -0.016917768865823746, -0.14171813428401947, 0.09715424478054047, 0.05863852798938751, 0.07122646272182465, -0.043535977602005005, -0.018488097935914993, -0.01653442159295082, 0.09194944053888321, 0.010139009915292263, -0.03283161297440529, -0.03629083186388016, 0.03388066217303276, 0.030340250581502914, 0.019236046820878983, 0.0029335087165236473, 0.025006694719195366, 0.019536618143320084, -0.040676333010196686, -0.0024306094273924828, 0.004446607548743486, -0.026496460661292076, -0.004951850976794958, -0.048168983310461044, 0.022596441209316254, -0.004054154735058546, 0.040437858551740646, 0.03663639724254608, 0.03683341294527054, 0.02500101923942566, -0.024966470897197723, 0.023174233734607697, -0.01998833566904068, -0.08726390451192856, -0.003687335876747966, -0.02888358384370804, -0.004037249367684126, -0.040834326297044754, 0.43192872405052185, -0.012098685838282108, -0.03895138204097748, 0.0881849005818367, 0.0462443009018898, 0.006869713310152292, 0.023180952295660973, 0.015888553112745285, -0.03927376866340637, 0.04388801008462906, -0.021347135305404663, -0.003717440878972411, 0.022436372935771942, 0.056510817259550095, -0.05931675806641579, 0.003974615130573511, -0.012085027061402798, -0.022000392898917198, 0.02781122922897339, -0.01580020971596241, -0.020374175161123276, -0.02787587232887745, 0.024388892576098442, 0.032293789088726044, 0.01749490201473236, -0.031554896384477615, -0.021048380061984062, 0.02723350189626217, 0.06373151391744614, 0.027223892509937286, 0.003036370500922203, 0.040776509791612625, -0.040002159774303436, -0.03503863885998726, 0.0015992055414244533, 0.011001909151673317, -0.00084144581342116, 0.01268043927848339, -0.011231176555156708, -0.038481879979372025, 0.042827434837818146, -0.00252470001578331, 0.016719026491045952, 0.021417606621980667, -0.011863965541124344, -0.04675725847482681, 0.11165519803762436, 0.03143557906150818, -0.037034228444099426, -0.027796706184744835, 0.00333363376557827, -0.004274072591215372, 0.0430348664522171, 0.001362643321044743, -0.07389627397060394, 0.009737958200275898, 0.020429210737347603, 0.0736013725399971, 0.0035390511620789766, -0.06575391441583633, -0.0073804003186523914, -0.006902518682181835, -0.02279728464782238, -0.05513814091682434, 0.0700727179646492, 0.04402931407094002, -0.1295281946659088, -0.004038871265947819, -0.003045439487323165, 0.026951545849442482, -0.06601913273334503, -0.03126811236143112, 0.0039147366769611835, 0.0016434643184766173, 0.004819641821086407, 0.0362117663025856, -0.020361226052045822, -0.054039616137742996, 0.01095939427614212, 0.053305450826883316, 0.012846549972891808, 0.01109655387699604, 0.005364729091525078, -0.02670934610068798, 0.028597641736268997, -0.03234816715121269, -0.08522166311740875, -0.05836671590805054, -0.010921129956841469, -0.04472779482603073, -0.016302738338708878, -0.0376332625746727, -0.016820404678583145, -0.07478296011686325, 0.09034170210361481, -0.012850743718445301, -0.021558532491326332, 0.029054738581180573, -0.007847018539905548, -0.03553954139351845, -0.007523039821535349, -0.04938061907887459, 0.04716603457927704, -0.0492209792137146, 0.003044111654162407, -0.08857041597366333, 0.05755757912993431, 0.05899633839726448, -0.033000629395246506, 0.0450483113527298, 0.060423146933317184, -0.03774129971861839, -0.00839878898113966, 0.002958117052912712, 0.01203541923314333, 0.007546290289610624, 0.008897143416106701, 0.014671184122562408, 0.048894237726926804, -0.013882557861506939, 0.02264341711997986, -0.017397303134202957, 0.00759558891877532, -0.016598038375377655, -0.35437703132629395, -0.05790216475725174, -0.04352682828903198, -0.013971968553960323, 0.011470138095319271, -0.04332122951745987, 0.031643033027648926, -0.0015140277100726962, -0.032949548214673996, 0.008153295144438744, 0.08770973980426788, -0.00047476758481934667, -0.02440972812473774, -0.07261062413454056, -0.023119928315281868, -0.0007995619671419263, -0.019770624116063118, -0.034065600484609604, -0.05516969412565231, 0.0162136759608984, 0.00034028865047730505, 0.0020773012656718493, 0.006366549991071224, -0.06230490282177925, -0.017372528091073036, -0.0311607476323843, 0.10121864080429077, -0.02660488523542881, 0.09233039617538452, -0.03235913813114166, 0.05131078511476517, -0.000988105544820428, 0.028230151161551476, -0.0847545936703682, 0.006075846962630749, -0.040769170969724655, 0.03280816972255707, -0.025036150589585304, 0.028302373364567757, -0.041598401963710785, -0.06573957949876785, -0.008046971634030342, -0.04318113252520561, -0.03773907572031021, -0.052197642624378204, 0.0238887220621109, -0.03655083104968071, -0.030213523656129837, -0.04168454185128212, 0.06653501838445663, 0.03144065663218498, -0.004721458535641432, 0.02772889845073223, 0.020726796239614487, -0.01922622323036194, -0.031008465215563774, -0.06915570795536041, 0.010635199025273323, 0.017406834289431572, -0.0172591395676136, 0.03675363212823868, 0.07102318108081818, 0.01977096125483513, -0.05755661800503731, 0.01706475205719471, -0.015203221701085567, 0.0012514623813331127, 0.007604406215250492, 0.05852953717112541, -0.03611709550023079, -0.008320710621774197, 0.10672645270824432, 0.02021445892751217, -0.03653562441468239, 0.026475312188267708, -0.000017226002455572598, -0.031500838696956635, 0.020138202235102654, -0.006135617848485708, -0.000014093891877564602, 0.038283973932266235, -0.028350377455353737, 0.03905186057090759, -0.03206624463200569, 0.012418384663760662, 0.02765774168074131, -0.01529139094054699, -0.05567973852157593, 0.05255111679434776, 0.012144702486693859, -0.021976612508296967, 0.017320668324828148, -0.018413472920656204, -0.04214555770158768, 0.09924598038196564, 0.0028055752627551556, -0.252133309841156, 0.011238335631787777, 0.06416989862918854, 0.07301700860261917, -0.00756180752068758, 0.03333906829357147, 0.03590957447886467, -0.03253308683633804, 0.023599624633789062, 0.0012488849461078644, 0.030175384134054184, 0.018490158021450043, 0.00020982514251954854, 0.010245485231280327, 0.05236075818538666, -0.0014423307729884982, 0.058799829334020615, -0.015469656325876713, 0.019604424014687538, -0.010687860660254955, 0.0009860671125352383, -0.0066335867159068584, 0.18108044564723969, -0.006983754225075245, 0.044341232627630234, 0.018105393275618553, -0.007305331062525511, 0.012020660564303398, 0.05557285621762276, 0.01897481083869934, 0.0007210897747427225, 0.006509408354759216, 0.05361366271972656, -0.008204297162592411, 0.010060357861220837, -0.07816389203071594, 0.004363022744655609, 0.034828636795282364, 0.0207406897097826, 0.00798005796968937, 0.02083604782819748, 0.00839595589786768, 0.0045346906408667564, 0.04179808869957924, 0.0552353672683239, 0.022330408915877342, -0.005846781190484762, -0.026657937094569206, -0.04075295850634575, -0.0023711472749710083, -0.04139668494462967, -0.04738352447748184, -0.0026794401928782463, -0.007024599704891443, 0.009895741008222103, 0.07184837013483047, 0.02518002688884735, -0.032618165016174316, -0.025176292285323143, 0.012467889115214348, -0.000725534453522414, -0.022527266293764114, 0.09215690940618515, 0.02746620401740074, 0.02811570279300213 ]
[ -0.020478468388319016, -0.02324041537940502, 0.006675192154943943, -0.0042963395826518536, -0.004130753688514233, -0.022763140499591827, -0.01300806738436222, 0.019140182062983513, 0.006215567700564861, -0.0016775530530139804, -0.009689892642199993, 0.023965930566191673, 0.019940463826060295, -0.018496550619602203, 0.041137631982564926, -0.0037628121208399534, 0.03732986003160477, -0.027663158252835274, 0.02360648848116398, 0.005828113295137882, 0.000553290534298867, 0.012080185115337372, -0.045881155878305435, -0.005024705547839403, -0.01808282732963562, 0.017602233216166496, -0.01490387786179781, -0.02076507918536663, 0.015421025454998016, -0.13660471141338348, -0.017728690057992935, -0.022553974762558937, -0.013361837714910507, 0.011199372820556164, -0.013212786056101322, -0.006366969086229801, 0.02149813249707222, 0.027290700003504753, 0.022960690781474113, 0.0029434142634272575, 0.03704078495502472, -0.032782670110464096, 0.021469995379447937, -0.010762177407741547, -0.0030138585716485977, -0.014850721694529057, 0.006950421258807182, -0.048453062772750854, 0.011959333904087543, -0.016224853694438934, -0.018097929656505585, -0.03734173625707626, 0.009405993856489658, 0.020256662741303444, 0.010239234194159508, -0.016129659488797188, 0.002035117009654641, 0.014712252654135227, -0.014562176540493965, -0.022014636546373367, 0.004154586233198643, -0.00011470427853055298, -0.04335162788629532, -0.024788619950413704, -0.00400798162445426, -0.008164707571268082, -0.010297137312591076, 0.011973508633673191, -0.012953367084264755, -0.0032561919651925564, -0.005746398586779833, 0.0027386010624468327, -0.01700231432914734, -0.04101743549108505, 0.038873303681612015, 0.03519205376505852, 0.028641361743211746, 0.023623229935765266, 0.01584096997976303, -0.03445739671587944, -0.022398291155695915, 0.05558619275689125, 0.00380433676764369, 0.02450779639184475, -0.0231502465903759, -0.011265858076512814, -0.001892957603558898, -0.013304928317666054, 0.03348001092672348, 0.012525111436843872, -0.03955360874533653, 0.031409647315740585, -0.007952846586704254, 0.0011152727529406548, -0.06524427235126495, -0.004069572780281305, -0.01729855127632618, -0.02161123789846897, -0.024941053241491318, 0.866399884223938, 0.013594791293144226, 0.030732203274965286, 0.01575046218931675, -0.00593460351228714, 0.008862385526299477, 0.012713361531496048, -0.009131775237619877, 0.03778604418039322, 0.02823559008538723, -0.03989723324775696, 0.01624295301735401, 0.03333262726664543, 0.021954797208309174, 0.008676079101860523, 0.014986163005232811, -0.023374736309051514, -0.014288702979683876, -0.008970747701823711, -0.028155669569969177, 0.007266130764037371, 0.00035368281533010304, 0.015704002231359482, 0.01527910865843296, -0.02413296140730381, 0.018071072176098824, -0.1786782294511795, 0.013727087527513504, -8.758930934239371e-33, 0.019680825993418694, 0.0071921697817742825, 0.0035448125563561916, 0.012033315375447273, 0.041458774358034134, -0.010671738535165787, 0.03347783163189888, 0.010061451233923435, 0.010109157301485538, -0.00869744922965765, -0.04047824814915657, -0.00010422022023703903, -0.003595249494537711, -0.019960852339863777, 0.02740229293704033, -0.03644049912691116, -0.013870934024453163, -0.005582374054938555, 0.009525131434202194, -0.006957352627068758, 0.03322852775454521, 0.014271488413214684, -0.014333811588585377, -0.02832963690161705, 0.011945901438593864, -0.0040986379608511925, -0.01875683292746544, 0.024655567482113838, 0.02081054262816906, -0.027184966951608658, -0.00409043300896883, 0.02058662287890911, 0.013935926370322704, 0.027183232828974724, -0.008466962724924088, -0.03966081887483597, -0.04563146457076073, -0.016912048682570457, -0.009046291001141071, -0.040657758712768555, -0.024892142042517662, -0.012462381273508072, -0.0446067675948143, 0.012037422508001328, -0.03059280663728714, -0.012787829153239727, 0.01609572023153305, 0.017588168382644653, 0.026004517450928688, -0.034841276705265045, 0.03609427437186241, -0.00708856200799346, 0.0006670231814496219, 0.0009980250615626574, -0.013715007342398167, 0.02189544215798378, -0.03304154798388481, 0.022943364456295967, 0.009435486048460007, 0.012420443817973137, -0.010904432274401188, -0.02864258922636509, -0.030071571469306946, 0.02723470702767372, 0.0010886164382100105, -0.0033734277822077274, 0.0021799488458782434, -0.019379254430532455, 0.00010200319957220927, -0.04542509838938713, -0.0372547022998333, 0.00011819171049864963, -0.014800484292209148, 0.015778886154294014, 0.014453466981649399, -0.029356686398386955, 0.015604701824486256, 0.017594557255506516, -0.0061586638912558556, 0.039683446288108826, -0.03499950096011162, 0.008843960240483284, -0.011668977327644825, -0.005967722740024328, -0.0026696494314819574, 0.019977180287241936, 0.03517160937190056, -0.021150808781385422, -0.017097551375627518, 0.019136758521199226, 0.01178100984543562, 0.024538854137063026, 0.006985602900385857, 0.0049678790383040905, 0.015897439792752266, 8.636520095332523e-33, -0.0036434419453144073, -0.019165722653269768, -0.015365611761808395, -0.019596833735704422, 0.026154084131121635, -0.016830377280712128, 0.03275955468416214, 0.03587139770388603, -0.045908089727163315, 0.02921915613114834, -0.016223113983869553, 0.020585881546139717, -0.030671443790197372, 0.023612968623638153, 0.03726835921406746, -0.059321701526641846, 0.0299376267939806, -0.03640291094779968, 0.023238515481352806, -0.0031319118570536375, 0.06098130717873573, -0.0025017696898430586, -0.00592984352260828, 0.02455311082303524, 0.013947880826890469, 0.0622074268758297, -0.024217942729592323, 0.03581901267170906, -0.006096300203353167, -0.00947585515677929, 0.0037976561579853296, 0.0040674698539078236, 0.03786340355873108, -0.01929047331213951, -0.012315410189330578, 0.01969739980995655, -0.01757786236703396, -0.004538936540484428, -0.0016990827862173319, -0.024787386879324913, -0.0010446291416883469, -0.014361293986439705, -0.011915176175534725, 0.023618509992957115, 0.023383699357509613, -0.009111911989748478, 0.0031325193122029305, -0.0323350615799427, -0.005538316909223795, 0.03406713902950287, 0.00364936632104218, 0.00467137573286891, 0.02673322521150112, 0.02633816748857498, -0.023999443277716637, 0.0006661090301349759, -0.005810662172734737, -0.0005037543014623225, 0.01998293027281761, 0.0037711234763264656, -0.0015085813356563449, 0.01092897355556488, -0.029319005087018013, 0.015186240896582603, -0.025921791791915894, 0.027962269261479378, -0.0041977409273386, 0.005420980509370565, 0.026077572256326675, -0.010614676401019096, -0.014074480161070824, -0.0032652062363922596, -0.025514263659715652, 0.023922916501760483, 0.036018408834934235, -0.04206153377890587, -0.03334365785121918, 0.009578070603311062, -0.011167588643729687, 0.025337977334856987, 0.012311233207583427, 0.0004947322886437178, 0.016467317938804626, 0.0182446651160717, -0.00038162237615324557, -0.005466813687235117, 0.020795317366719246, 0.031207600608468056, -0.0005810348084196448, -0.003381115384399891, -0.019224630668759346, -0.02926274947822094, -0.0015438459813594818, 0.0184335894882679, 0.019593121483922005, -1.4032845108147285e-8, -0.021485870704054832, 0.031776312738657, 0.007119131740182638, 0.019949382171034813, -0.019273526966571808, -0.010916558094322681, -0.01476309821009636, -0.018223777413368225, -0.023850716650485992, 0.015657994896173477, 0.030663257464766502, -0.009473009966313839, -0.033573515713214874, 0.0119575010612607, 0.014688169583678246, -0.033437177538871765, 0.006428822875022888, -0.010885120369493961, 0.018969673663377762, -0.004975051153451204, 0.028457017615437508, 0.034542519599199295, -0.015315087512135506, 0.0017928382148966193, 0.032482996582984924, -0.026349401101469994, -0.012885394506156445, -0.08795493841171265, -0.008130542002618313, 0.01909092254936695, -0.005969361402094364, -0.022187614813447, -0.0365239679813385, 0.027263972908258438, -0.04156704246997833, 0.00042682435014285147, 0.0100790373980999, -0.024815762415528297, 0.020609764382243156, 0.008756156079471111, 0.019238481298089027, 0.03781072050333023, 0.006070807576179504, -0.027891865000128746, -0.0004773738910444081, 0.015217571519315243, -0.009052226319909096, 0.023284755647182465, 0.029164627194404602, -0.051821332424879074, 0.002940276637673378, 0.008513336069881916, -0.0018845327431336045, 0.02889738418161869, -0.0006668144487775862, -0.030248379334807396, 0.0056512788869440556, -0.02882540412247181, -0.03530767560005188, -0.0017897940706461668, 0.01729636639356613, 0.053907956928014755, -0.016005953773856163, -0.028234319761395454 ]
domain-driven-design-conformist
https://markhneedham.com/blog/2009/07/04/domain-driven-design-conformist
false
2009-07-02 23:10:19
F#: Pattern matching with the ':?' operator
[ "f", "pattern-matching" ]
[ "fsharp" ]
I've been doing a bit more reading of the http://code.google.com/p/fake/[Fake] source code and one interesting thing which I came across which I hadn't seen was an active pattern which was making use of the ':?' operator to match the input type against .NET types. [source,ocaml] ---- let (|File|Directory|) (fileSysInfo : FileSystemInfo) = match fileSysInfo with | :? FileInfo as file -> File (file.Name) | :? DirectoryInfo as dir -> Directory (dir.Name, seq { for x in dir.GetFileSystemInfos() -> x }) | _ -> failwith "No file or directory given." ---- I thought maybe this was just a wild card operator to say that we don't care what the value is as long as it matches 'FileInfo' or 'DirectoryInfo' respectively but I couldn't see it defined on the http://research.microsoft.com/en-us/um/cambridge/projects/fsharp/manual/FSharp.Core/Microsoft.FSharp.Core.Operators.html[list of operators on the Microsoft Research website]. A bit of googling led me to http://weblogs.asp.net/podwysocki/archive/2008/03/17/adventures-in-f-f-101-part-5-pattern-matching.aspx[Matthew Podwysocki's post about pattern matching] which explained the purpose of the operator (about 1/3 of the way down): ____ What the above example does is check for the corresponding .NET types by using the ':?' operator especially reserved for this behavior. ____ I've been playing around with a simple 'add' function to try and understand F#'s type inference and one thing I noticed is that if you just define it with minimal code you end up with a function which takes in 2 integers and returns an integer as the result: [source,ocaml] ---- let add a b = a + b val add: int -> int -> int ---- I had thought that the signature and result of that function might remain generic due to the fact that there are more types than just 'int' with which you can make use of the addition operator. For example, it is possible to add two string together but in fact you need to be more explicit about that: [source,ocaml] ---- let add (a:string) (b:string) = a + b val add: string -> string -> string ---- From what I can tell if we wanted to write a generic add function we would need to do something like this - I originally tried just returning 'new A + new B' from each of the pattern matches but the return type of add3 then becomes 'string' since the first path in the pattern matching returns a 'string'. [source,ocaml] ---- let add3 a b = match (box a,box b) with | (:? string as newA),(:? string as newB) -> newA + newB |> box | (:? int as newA),(:? int as newB) -> newA + newB |> box | (:? decimal as newA),(:? decimal as newB) -> newA + newB |> box | _ -> failwith "you can't add these together" ---- Which is slightly verbose and has a type of "'a \-> 'b -" obj' - I haven't been able to work out whether it's possible to create a generic function like this without needing to cast the result down to 'obj'. I thought it might be possible to get rid of the boxing by making use of the http://msdn.microsoft.com/en-us/library/dd233220(VS.100).aspx[downcast operator]: ____ You can also use the downcast operator to perform a dynamic type conversion. The following expression specifies a conversion down the hierarchy to a type that is inferred from program context. ____ [cols=2*] |=== | I tried surrounding the 'newA + new B | > box' code with a call to 'downcast' but that just resulted in the following error message when trying to make use of the function: |=== [source,text] ---- Value restriction. The value 'it' has been inferred to have generic type val it : '_a Either define 'it' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. ---- I'd be intrigued to see if anyone has worked out how to do this as I'm out of ideas.
null
null
[ 0.000598255661316216, -0.02365998551249504, -0.01992364041507244, 0.03764722868800163, 0.08341018110513687, 0.02655724436044693, 0.01300095859915018, 0.027955438941717148, 0.008095702156424522, -0.009302892722189426, -0.019560618326067924, -0.0156537052243948, -0.09568361937999725, -0.0034201866947114468, -0.0033755581825971603, 0.0740480124950409, 0.06335905939340591, -0.04106886684894562, 0.025617565959692, -0.02686229720711708, -0.014419435523450375, 0.05447486788034439, -0.02464529685676098, 0.01838701218366623, 0.0027734721079468727, 0.02261502854526043, 0.014897435903549194, -0.026598971337080002, -0.058116406202316284, 0.016721732914447784, 0.05068028345704079, 0.02626497857272625, 0.02246805466711521, -0.005756864324212074, -0.0019279832486063242, 0.01876320317387581, 0.006587104871869087, -0.010346854105591774, -0.009984660893678665, 0.05062495172023773, -0.0437842458486557, 0.026317045092582703, 0.014196082018315792, 0.0027781145181506872, -0.07429879903793335, 0.0022552472073584795, -0.06816425174474716, 0.003866018494591117, -0.026211971417069435, 0.0052173021249473095, -0.02003403566777706, 0.02346843294799328, -0.05330171063542366, 0.011124597862362862, 0.010375414043664932, 0.05321970582008362, 0.03678898140788078, -0.0552792064845562, 0.024512039497494698, -0.04362019896507263, 0.012128575704991817, -0.004170284140855074, -0.0029527100268751383, 0.037223245948553085, 0.041607148945331573, 0.011730981990695, -0.011809706687927246, 0.04119904711842537, -0.0459345281124115, -0.044152796268463135, 0.029732905328273773, 0.028029732406139374, -0.0195598304271698, -0.014401420950889587, 0.016226835548877716, -0.005955715663731098, -0.0024005190934985876, 0.04408267140388489, 0.02103581465780735, 0.047503337264060974, -0.012413418851792812, 0.0436243936419487, 0.04300069436430931, 0.02222498692572117, 0.02191310003399849, -0.015403016470372677, -0.03460780158638954, 0.045762743800878525, -0.01765236258506775, 0.06955384463071823, 0.007214382290840149, -0.04989514499902725, 0.027014410123229027, 0.009757152758538723, 0.0298774354159832, 0.01244397647678852, -0.016124969348311424, -0.020020440220832825, 0.007809733506292105, -0.0211118645966053, -0.05511505901813507, -0.014012163504958153, 0.03937239572405815, 0.005212470423430204, -0.08029519021511078, -0.00981190800666809, -0.024408241733908653, -0.025388939306139946, 0.01672939397394657, 0.03621182590723038, -0.03932631388306618, 0.01246299222111702, -0.013674759306013584, 0.007660560309886932, -0.09495221078395844, 0.054685741662979126, -0.017391880974173546, -0.02675440162420273, 0.004191061947494745, 0.05257135629653931, 0.02700277976691723, -0.005211937241256237, -0.046250246465206146, 0.05601920560002327, 0.043306440114974976, 0.0478840246796608, 0.007382545154541731, 0.07112232595682144, -0.005397303029894829, -0.0622783787548542, -0.04030516743659973, 0.034799009561538696, -0.014928128570318222, 0.020697547122836113, -0.013642426580190659, 0.009188486263155937, -0.03916682302951813, -0.023295307531952858, 0.057806480675935745, 0.043900396674871445, -0.017705505713820457, -0.05045102909207344, 0.004781282041221857, -0.041404735296964645, 0.0418442003428936, 0.0072755878791213036, -0.0014162103179842234, -0.03011413663625717, -0.007363748271018267, 0.019070953130722046, 0.027569565922021866, 0.045748353004455566, 0.07601115107536316, -0.05935189127922058, 0.0024050376377999783, 0.07187370955944061, 0.038238413631916046, -0.0026074759662151337, 0.010236617177724838, -0.012710213661193848, 0.05343630537390709, 0.03171916306018829, -0.019539836794137955, 0.03713318333029747, 0.0010132687166333199, -0.0025557565968483686, 0.0009953395929187536, 0.0417146310210228, -0.025685133412480354, 0.02067304402589798, -0.03528175503015518, -0.035283077508211136, 0.07985103875398636, -0.0065677110105752945, -0.00579091627150774, 0.021411733701825142, 0.07804317027330399, 0.005427999421954155, 0.04738784208893776, -0.01583225093781948, -0.06359753757715225, 0.028883062303066254, -0.020074406638741493, 0.019816970452666283, -0.004036452621221542, -0.007813082076609135, 0.0680505782365799, 0.02202427200973034, 0.013036003336310387, 0.04700052738189697, -0.06398681551218033, -0.09069359302520752, -0.040252722799777985, -0.0354471355676651, 0.09347674250602722, -0.03811802342534065, -0.011440567672252655, 0.028704660013318062, 0.0016600507078692317, 0.052593160420656204, 0.03739171102643013, -0.03291429951786995, 0.01195401418954134, -0.01571979746222496, -0.047466080635786057, 0.05207938700914383, 0.03615522384643555, -0.017289210110902786, -0.03786558657884598, 0.00329248933121562, -0.003674736013635993, 0.0018892127554863691, 0.01787141151726246, -0.017390890046954155, 0.04368096962571144, 0.04773953557014465, 0.02960214950144291, -0.04569748789072037, 0.05463486537337303, -0.06965446472167969, 0.008735965006053448, 0.0038938180077821016, -0.030094845220446587, -0.00251240492798388, 0.016384821385145187, 0.12171207368373871, 0.07033667713403702, -0.047717295587062836, -0.043957553803920746, -0.012315517291426659, 0.010078954510390759, -0.049786992371082306, 0.015250367112457752, 0.015281859785318375, -0.0034892207477241755, -0.005255360156297684, -0.019825100898742676, 0.010179590433835983, 0.04220639169216156, -0.01604761742055416, 0.03587523475289345, 0.061308275908231735, -0.027927614748477936, 0.0027453226502984762, 0.0014659330481663346, -0.045410625636577606, 0.04152355343103409, -0.019640257582068443, -0.03626984357833862, 0.005318592302501202, 0.03312457725405693, -0.016489146277308464, 0.05697130411863327, -0.06136932596564293, -0.013223963789641857, -0.02387521229684353, -0.04174603521823883, 0.010276411660015583, 0.047932352870702744, 0.040777698159217834, -0.015011798590421677, 0.02227310836315155, -0.03457468003034592, 0.014674144797027111, -0.01945275254547596, -0.039967671036720276, -0.037045758217573166, 0.04166007786989212, 0.025513194501399994, 0.03388665243983269, 0.0027319586370140314, 0.04664343595504761, 0.013736370950937271, -0.0044576446525752544, -0.001580525771714747, 0.012994499877095222, 0.040401581674814224, 0.012659330852329731, -0.0384354330599308, -0.0369691364467144, -0.03214150294661522, 0.0447659008204937, -0.02973814494907856, -0.011338375508785248, -0.011861271224915981, -0.058228638023138046, 0.032415084540843964, -0.0687265545129776, -0.07447230070829391, -0.010386524721980095, 0.010212119668722153, 0.018039369955658913, -0.030628858134150505, 0.000025746598112164065, 0.06527601927518845, 0.01949204131960869, 0.02392730303108692, 0.007202057167887688, -0.011410323902964592, 0.025036482140421867, 0.035320673137903214, 0.035023901611566544, 0.0549326166510582, 0.006234033964574337, 0.00836112443357706, -0.051955051720142365, 0.012356703169643879, -0.004260589834302664, -0.2796218991279602, 0.053538352251052856, -0.027072707191109657, -0.011366326361894608, 0.024778757244348526, -0.03739966079592705, -0.0072289323434233665, -0.04493376240134239, -0.017159974202513695, 0.03888794779777527, -0.023451434448361397, -0.03942643478512764, -0.015511995181441307, 0.04949666187167168, -0.013581711798906326, -0.021345989778637886, 0.0007506334222853184, -0.045872144401073456, 0.01640494540333748, 0.04400738328695297, -0.005727741401642561, -0.053153909742832184, 0.03350108489394188, 0.0664176493883133, 0.029755644500255585, 0.06629060208797455, -0.09338823705911636, 0.015345213003456593, -0.015108799561858177, -0.022440800443291664, -0.008174072951078415, 0.0009183696820400655, 0.0073967729695141315, -0.0008130371570587158, -0.025435930117964745, -0.023959092795848846, 0.008570819161832333, 0.018813660368323326, 0.011448811739683151, 0.01165830995887518, -0.04297108203172684, -0.02306756190955639, -0.004334507044404745, -0.007626859936863184, 0.07900219410657883, -0.01855454221367836, -0.0808558464050293, -0.006456377916038036, -0.017906107008457184, 0.05134269595146179, -0.06590979546308517, -0.0321623794734478, 0.0018442451255396008, 0.07309934496879578, -0.008124571293592453, -0.031327251344919205, 0.022302230820059776, -0.011560902930796146, -0.0427464097738266, -0.033901236951351166, -0.021173374727368355, -0.044284746050834656, -0.018298640847206116, -0.039160024374723434, -0.011570551432669163, -0.05479411408305168, -0.07486677914857864, -0.02334594540297985, 0.06335309147834778, 0.001305948942899704, -0.003671650541946292, 0.013449009507894516, 0.004124453291296959, -0.1184036061167717, -0.04156814515590668, 0.006510044913738966, -0.03545740619301796, -0.03210091218352318, 0.02201620116829872, 0.056900594383478165, -0.055562976747751236, -0.03473794832825661, 0.04085438698530197, 0.02634040080010891, 0.03450223058462143, -0.030981747433543205, 0.02168438397347927, -0.014435043558478355, -0.04254589602351189, 0.0027951339725404978, 0.06555679440498352, 0.001851164037361741, 0.012747990898787975, -0.024674953892827034, 0.04446403682231903, 0.012304110452532768, 0.052411288022994995, -0.0019661381375044584, 0.0465957447886467, 0.01733296737074852, 0.05092715844511986, -0.045775849372148514, 0.03099171631038189, -0.061343953013420105, -0.0033480110578238964, -0.0034053712151944637, -0.011424428783357143, 0.02491668052971363, 0.029122134670615196, -0.01831843890249729, -0.008975205942988396, -0.05665723979473114, 0.03398017957806587, -0.044183094054460526, -0.03044392727315426, -0.018723590299487114, -0.016002217307686806, -0.006437632255256176, 0.02280449867248535, -0.014787756837904453, -0.04530828446149826, 0.0001771987444953993, 0.002735711866989732, -0.013959499076008797, -0.07209155708551407, -0.05390334129333496, -0.002668591681867838, -0.016862615942955017, 0.011662067845463753, 0.03386964276432991, -0.007438096683472395, 0.05102246627211571, -0.007848440669476986, -0.06324808299541473, 0.034883052110672, -0.018492383882403374, 0.02220374159514904, -0.017292557284235954, -0.03295739367604256, -0.008641460910439491, -0.007767392788082361, -0.01839117892086506, 0.05445922538638115, 0.038279734551906586, 0.041875675320625305, 0.030581315979361534, 0.024667277932167053, 0.007605350576341152, 0.02128765545785427, -0.012236315757036209, 0.00023444637190550566, -0.05394585803151131, 0.021377714350819588, -0.027782807126641273, -0.011069808155298233, -0.010583150200545788, 0.031439654529094696, -0.012645533308386803, -0.03348814696073532, -0.04274754598736763, 0.043475933372974396, -0.02141558937728405, 0.0004025687521789223, -0.01682645082473755, -0.007784890942275524, 0.046198077499866486, -0.03985891118645668, 0.049067165702581406, -0.013106106780469418, 0.033835362643003464, 0.0021817688830196857, 0.052093345671892166, -0.017415296286344528, 0.026731640100479126, -0.025589773431420326, -0.0006108906818553805, -0.008449549786746502, 0.04164908081293106, 0.008559036068618298, 0.010472315363585949, -0.014231217093765736, -0.02335316687822342, -0.0016397185390815139, 0.03437842056155205, 0.04956981539726257, -0.007788036949932575, -0.007259659469127655, -0.00908877607434988, -0.035604968667030334, -0.02514597587287426, -0.028426576405763626, -0.02034115418791771, -0.007052226923406124, 0.03271434083580971, -0.048684585839509964, -0.07717612385749817, 0.015004785731434822, 0.036231037229299545, 0.00949126947671175, -0.007747489959001541, -0.007647714111953974, -0.005178594030439854, 0.014917016960680485, -0.02599252760410309, 0.026344189420342445, -0.04924064874649048, -0.0008765368838794529, 0.003294715890660882, -0.00008980268466984853, 0.04684988036751747, 0.023194698616862297, -0.04240434244275093, -0.03115249238908291, 0.005015179514884949, -0.011179045774042606, -0.04634393751621246, -0.02689775452017784, -0.015450019389390945, 0.013736091554164886, -0.026518169790506363, -0.018654752522706985, 0.01229911670088768, -0.013090855441987514, -0.010161608457565308, -0.023779084905982018, -0.000627263099886477, -0.014751818962395191, -0.00601997459307313, 0.014907985925674438, -0.036319561302661896, 0.021603921428322792, -0.04756578803062439, -0.0036872797645628452, 0.023160407319664955, -0.016645515337586403, -0.020793691277503967, -0.05015234276652336, 0.009578289464116096, -0.03965318948030472, 0.024404894560575485, 0.009547076188027859, -0.011915137991309166, -0.005120453424751759, -0.004341432359069586, -0.02848074585199356, -0.000386409112252295, -0.018084876239299774, -0.06450089067220688, -0.0004628361202776432, 0.069715216755867, -0.007142152637243271, 0.035138778388500214, -0.015117194503545761, -0.002444162266328931, 0.06831375509500504, -0.06633675843477249, -0.03221109136939049, -0.001766576198861003, -0.06114768981933594, 0.01748064160346985, 0.002630888717249036, -0.000872751057613641, -0.050235945731401443, 0.01396747212857008, 0.035112034529447556, 0.0061873639933764935, 0.02738353982567787, 0.0240341704338789, 0.036996990442276, -0.005715720355510712, -0.029634766280651093, -0.07462166994810104, 0.017476778477430344, 0.04437016323208809, 0.024358948692679405, -0.035629235208034515, -0.023006442934274673, 0.0005601722514256835, 0.04129811003804207, -0.03917659446597099, -0.037438493221998215, 0.04996645823121071, 0.03245474770665169, -0.007427826523780823, -0.007802862673997879, -0.025567462667822838, 0.03723987191915512, 0.054121363908052444, -0.01678786426782608, -0.018961124122142792, -0.0361754335463047, 0.04979538545012474, -0.00894943904131651, -0.014580012299120426, -0.019050871953368187, -0.007131960708647966, 0.02449740283191204, 0.030764367431402206, 0.012064528651535511, 0.052548542618751526, -0.01876848004758358, 0.0228598490357399, 0.00543550867587328, -0.00919479038566351, -0.011500487104058266, -0.007611194625496864, -0.02360847219824791, -0.0727500468492508, 0.017883598804473877, -0.018303973600268364, -0.02828771248459816, -0.05026223510503769, 0.030049044638872147, 0.01961728371679783, -0.01934351958334446, -0.061828698962926865, -0.00486269686371088, -0.015391872264444828, -0.013419692404568195, -0.006951993331313133, 0.01849997602403164, -0.03558944910764694, 0.06323698908090591, 0.023836549371480942, -0.0007601779652759433, 0.06691169738769531, 0.012647919356822968, -0.010670240968465805, 0.02057313360273838, 0.07305510342121124, 0.10029134899377823, 0.007454609032720327, 0.009948048740625381, 0.06427492946386337, -0.016144009307026863, -0.05673854425549507, 0.0027135461568832397, -0.04197090491652489, 0.01271848101168871, 0.011186734773218632, -0.0009159360779449344, 0.10888436436653137, 0.001416789717040956, 0.06783853471279144, -0.06997141987085342, 0.01879887655377388, -0.01711108349263668, 0.009846470318734646, 0.015079913660883904, 0.051729585975408554, 0.005098876543343067, 0.0012857511173933744, -0.019280672073364258, -0.032733313739299774, 0.021583717316389084, -0.009124509058892727, -0.027527134865522385, -0.005940635688602924, 0.0037878325674682856, 0.00663860933855176, -0.028474723920226097, 0.033898837864398956, 0.04923969507217407, -0.0281260646879673, -0.006936490070074797, -0.01230340264737606, 0.0024344525299966335, 0.010072310455143452, 0.0011105341836810112, -0.029176685959100723, -0.013665860518813133, 0.015292182564735413, -0.0099050747230649, -0.0362258143723011, -0.032756175845861435, -0.03741525113582611, 0.02206568978726864, -0.049124035984277725, -0.0023288053926080465, 0.017421511933207512, -0.025834323838353157, 0.01047076378017664, -0.043867211788892746, -0.055949319154024124, 0.004088283982127905, -0.08602546155452728, 0.0007698384579271078, 0.009621826931834221, -0.011380195617675781, -0.028574969619512558, -0.031395137310028076, -0.019325463101267815, -0.017390917986631393, 0.06623364984989166, -0.04052923619747162, -0.044336337596178055, 0.006515567656606436, 0.02425548993051052, 0.022818289697170258, 0.03973951190710068, 0.019907549023628235, -0.02618587389588356, -0.008360818028450012, -0.019156329333782196, -0.043784379959106445, 0.04237593710422516, 0.014059173874557018, 0.005236246157437563, -0.07063250243663788, 0.02038082666695118, 0.05445234104990959, 0.0015085111372172832, -0.0818052589893341, 0.002152513712644577, 0.0016748968046158552, -0.0038127307780086994, 0.04137247055768967, -0.03426745533943176, -0.020601872354745865, -0.008403277024626732, -0.01678522117435932, 0.009348311461508274, -0.014834165573120117, 0.048353731632232666, -0.03231151029467583, 0.07811529189348221, 0.028157588094472885, -0.011466805823147297, -0.027000663802027702, -0.004574728664010763, -0.02299323119223118, 0.057963550090789795, -0.0054403734393417835, -0.027610933408141136, -0.019378483295440674, -0.0680827796459198, -0.02728959731757641, 0.023131059482693672, -0.025872059166431427, -0.052387598901987076, -0.003452855162322521, 0.03202316537499428, -0.04162211716175079, 0.03439103439450264, -0.009781020693480968, 0.043335363268852234, -0.010320027358829975, -0.03655437007546425, 0.0041403332725167274, 0.031643304973840714, 0.01512676291167736, 0.015044509433209896, 0.047781214118003845, -0.01639486849308014, -0.02649526670575142, -0.003710770281031728, 0.022496219724416733, 0.03725729137659073, 0.004685081075876951, 0.02727760188281536 ]
[ -0.12435692548751831, 0.009661223739385605, -0.04574869945645332, -0.0028169965371489525, 0.06640883535146713, -0.03223638981580734, 0.021226417273283005, -0.012014438398182392, -0.021988559514284134, -0.0303308367729187, 0.009387119673192501, -0.01977583020925522, 0.009339080192148685, -0.03262747824192047, 0.05544152110815048, -0.0006209957064129412, 0.007250366732478142, -0.05891558155417442, -0.008735960349440575, 0.017305711284279823, 0.024905409663915634, -0.0195934921503067, -0.06105881556868553, -0.04197888821363449, -0.0007508972776122391, 0.020820872858166695, 0.009483622387051582, -0.031163280829787254, -0.0032945596612989902, -0.2063378393650055, -0.005737454630434513, 0.02646442875266075, 0.04031336307525635, -0.0065830484963953495, -0.005842990707606077, -0.04258944094181061, 0.017258701846003532, 0.031505655497312546, -0.005025050137192011, 0.014256946742534637, 0.002180473878979683, 0.02572096884250641, -0.007450926583260298, 0.011395792476832867, 0.021222785115242004, -0.02542957477271557, -0.05430547147989273, -0.00855129025876522, -0.02398347482085228, 0.006848375778645277, -0.05786973983049393, -0.00029395055025815964, -0.010079768486320972, -0.018261436372995377, -0.02925153449177742, 0.0034116210881620646, 0.030331658199429512, 0.052535224705934525, -0.015962783247232437, 0.01890331320464611, 0.019311845302581787, -0.03372109681367874, -0.10436525195837021, 0.09819597005844116, 0.030275210738182068, 0.045225128531455994, -0.002217969624325633, -0.07490871101617813, -0.04026532173156738, 0.0633740946650505, -0.0003622955409809947, 0.008278615772724152, -0.08613309264183044, 0.031129837036132812, 0.02062220871448517, -0.03168383985757828, 0.0054976143874228, 0.029538679867982864, 0.03431903198361397, 0.0012110744137316942, -0.038735538721084595, -0.03619307279586792, 0.017235910519957542, 0.0015510107623413205, -0.044809091836214066, 0.0051850141026079655, 0.02175205945968628, 0.020273370668292046, 0.03249140828847885, 0.011403764598071575, 0.015897255390882492, -0.008593318052589893, 0.03050829842686653, 0.002503387164324522, -0.043169375509023666, -0.0010072524892166257, 0.0038147596642374992, 0.019309591501951218, -0.015152833424508572, 0.4198756217956543, -0.05169660970568657, -0.02864878997206688, 0.03919965401291847, 0.0017784774536266923, -0.0037277161609381437, 0.028040938079357147, 0.004957795143127441, -0.015098365023732185, 0.008785827085375786, -0.06812965124845505, -0.004439312499016523, -0.007677518762648106, 0.04684187471866608, -0.043924953788518906, -0.007043424528092146, 0.023412035778164864, 0.013808569870889187, -0.0031229264568537474, 0.0008877143845893443, 0.002289240248501301, -0.02281230129301548, -0.022683721035718918, 0.008830161765217781, 0.04771512374281883, 0.018223334103822708, 0.007396507542580366, 0.02710495889186859, 0.04012615978717804, 0.038870085030794144, 0.06534021347761154, 0.02683492936193943, -0.06618015468120575, -0.07259873300790787, -0.02829275280237198, 0.00489822868257761, 0.03433544188737869, -0.0007980451337061822, 0.00012358221283648163, -0.03489889204502106, 0.0052961744368076324, -0.0025288048200309277, -0.01496580895036459, 0.05550624057650566, 0.03244880214333534, -0.04037884250283241, 0.0946112647652626, -0.023562520742416382, -0.030608242377638817, -0.02075330726802349, 0.00046755620860494673, -0.011391406878829002, 0.07042774558067322, -0.05299253389239311, -0.040823113173246384, 0.01070635486394167, 0.016048600897192955, 0.10277367383241653, -0.05479317903518677, -0.07522138953208923, -0.022703824564814568, -0.06449122726917267, -0.012789749540388584, -0.01978880539536476, 0.06667490303516388, 0.0017961971461772919, -0.08717154711484909, -0.02394629828631878, -0.012687752954661846, 0.014771079644560814, -0.075660839676857, 0.017602676525712013, -0.017284929752349854, -0.010861330665647984, -0.03577525168657303, 0.014502035453915596, -0.02396230772137642, -0.04634358733892441, -0.02617310918867588, 0.013111730106174946, 0.0030604833737015724, -0.015189636498689651, 0.0304074939340353, -0.0536501370370388, 0.008428975939750671, -0.02120484784245491, -0.07157661765813828, -0.05162663757801056, 0.026036888360977173, -0.0223898496478796, -0.000300609041005373, -0.015478478744626045, -0.032851725816726685, -0.057095568627119064, 0.0507613942027092, -0.044984377920627594, -0.028776833787560463, 0.014165413565933704, 0.0205629151314497, 0.005387590732425451, -0.028547042980790138, 0.0677465870976448, 0.04132123664021492, 0.011337613686919212, 0.03945392742753029, -0.07231257855892181, 0.02896590158343315, 0.036843616515398026, -0.061834659427404404, 0.028995022177696228, 0.04002317041158676, -0.03669318929314613, -0.014781585894525051, -0.013709335587918758, 0.04106113314628601, -0.02373533695936203, -0.05014898255467415, -0.012278755195438862, 0.008605427108705044, 0.037553295493125916, 0.03924441710114479, -0.05562552064657211, -0.07112877815961838, -0.01844835840165615, -0.3591708838939667, -0.025136739015579224, -0.054415807127952576, 0.010958031751215458, 0.025574734434485435, -0.0758904367685318, 0.015050061047077179, 0.022736812010407448, -0.043000999838113785, 0.026522239670157433, 0.031065961346030235, 0.01697884313762188, 0.000559249660000205, -0.06759892404079437, 0.03877871483564377, 0.03945834934711456, 0.0036886590532958508, -0.08796973526477814, -0.02040238119661808, 0.05004392936825752, 0.01821230538189411, 0.04257160425186157, -0.018908921629190445, -0.03236725553870201, 0.03251642733812332, -0.027684945613145828, 0.08400783687829971, 0.0010422426275908947, 0.13776136934757233, -0.019386332482099533, 0.06628264486789703, 0.012828229926526546, -0.010363834910094738, -0.039966173470020294, 0.004484725650399923, -0.03239559009671211, -0.01852770335972309, 0.002285913098603487, 0.05113045498728752, -0.006882015150040388, -0.05552224442362785, -0.0013606762513518333, -0.03667087480425835, -0.0048767514526844025, -0.00628781970590353, 0.0007185049471445382, -0.0011661337921395898, -0.021367527544498444, -0.011722034774720669, 0.07200103253126144, -0.006721873302012682, 0.007682652212679386, 0.016026929020881653, 0.044703517109155655, -0.005487809889018536, -0.04860157147049904, -0.04398728534579277, -0.012543105520308018, 0.012672499753534794, -0.002156853908672929, 0.05872044339776039, 0.009001838974654675, 0.031072981655597687, -0.029352685436606407, 0.005029463209211826, 0.029240457341074944, -0.01992775686085224, -0.016860349103808403, 0.06108829751610756, -0.034058280289173126, -0.01773998513817787, 0.1104893833398819, -0.023425592109560966, 0.005788091104477644, 0.028188101947307587, 0.05677834525704384, -0.01462508924305439, 0.028994424268603325, 0.010224159806966782, -0.02958812192082405, 0.030487513169646263, -0.007247790694236755, 0.04687714949250221, -0.04974159970879555, 0.042147792875766754, 0.017538737505674362, -0.007182547822594643, 0.03441381826996803, 0.03030554950237274, -0.010797450318932533, -0.017211439087986946, 0.0008687236695550382, 0.012487399391829967, -0.06987377256155014, 0.05965854972600937, -0.003618144430220127, -0.26780247688293457, 0.015591613948345184, 0.09365339577198029, 0.06686656177043915, -0.028659405186772346, 0.02807491458952427, 0.04416481778025627, -0.059520136564970016, 0.010068478062748909, -0.016466233879327774, 0.01948331855237484, 0.024183323606848717, 0.011603287421166897, -0.004809025675058365, 0.02020249143242836, -0.0179959237575531, 0.03505328297615051, 0.017043860629200935, 0.05330204591155052, 0.014196338132023811, 0.015029920265078545, -0.0010608613956719637, 0.18510781228542328, -0.019265195354819298, 0.04061618447303772, -0.003544559935107827, 0.016553279012441635, -0.013485416769981384, 0.078864686191082, -0.012872204184532166, 0.06053916737437248, 0.009516820311546326, 0.07239721715450287, -0.012648864649236202, 0.045209478586912155, -0.0558563694357872, 0.012379776686429977, 0.08816206455230713, 0.02033999003469944, -0.018440883606672287, -0.018980450928211212, -0.011815193109214306, -0.06264347583055496, 0.009354263544082642, 0.07085814327001572, -0.0047867177054286, 0.03547338396310806, -0.005887320730835199, -0.03704184293746948, 0.024044843390583992, -0.040421854704618454, -0.0028687207959592342, 0.028178460896015167, -0.02990923821926117, 0.033424850553274155, 0.004457348491996527, -0.0024670737329870462, -0.03641052544116974, -0.028311800211668015, 0.060289327055215836, 0.02858782187104225, -0.012062009423971176, 0.11523313075304031, 0.05920331925153732, 0.020669078454375267 ]
[ -0.012649081647396088, -0.0002455222129356116, -0.01626296155154705, 0.003579599317163229, 0.02190563827753067, -0.021350791677832603, 0.025054452940821648, 0.03425288200378418, -0.015011626295745373, 0.0012464651372283697, -0.003983814734965563, 0.01847727969288826, 0.0275930967181921, 0.016383657231926918, -0.0026168846525251865, -0.027232252061367035, -0.01290329359471798, -0.0047942837700247765, 0.008248597383499146, -0.01238744892179966, -0.014677120372653008, 0.05730089545249939, 0.03448621183633804, -0.03218316286802292, 0.009291297756135464, -0.027615170925855637, -0.047463029623031616, -0.038673918694257736, 0.0263952799141407, -0.13219739496707916, -0.017052192240953445, 0.0017450159648433328, 0.012453113682568073, 0.013416815549135208, 0.012751948088407516, -0.0322834812104702, 0.020310377702116966, 0.012909974902868271, -0.020145121961832047, 0.015993960201740265, -0.005844774655997753, -0.009884658269584179, -0.01289606187492609, 0.012987450696527958, -0.025536244735121727, -0.025204822421073914, -0.006227047648280859, -0.02430752106010914, 0.011757983826100826, 0.015257319435477257, -0.05110156908631325, 0.01229735929518938, -0.03636166453361511, -0.006471623200923204, 0.033998213708400726, -0.008162243291735649, -0.006280215457081795, 0.016543744131922722, -0.020829804241657257, -0.026284413412213326, 0.008088897913694382, -0.018108736723661423, -0.04174252972006798, -0.04127728193998337, 0.024368900805711746, 0.01142524741590023, -0.01964978687465191, -0.021077433601021767, -0.0027976471465080976, -0.027597900480031967, -0.021767418831586838, 0.03759704530239105, -0.046533871442079544, 0.02747252769768238, 0.003635986940935254, 0.014466914348304272, 0.022626984864473343, 0.014932701364159584, 0.015987809747457504, -0.0337475948035717, -0.023200970143079758, -0.007389261852949858, 0.022463412955403328, -0.017461683601140976, 0.014351710677146912, -0.0037431761156767607, -0.016548549756407738, 0.016374686732888222, 0.010553211905062199, 0.001321154530160129, -0.018053289502859116, 0.01928652822971344, -0.011585262604057789, -0.01139119267463684, -0.06810880452394485, 0.014713072218000889, 0.0007382967742159963, 0.0010059758787974715, -0.004139261785894632, 0.8543359637260437, -0.029735038056969643, 0.0296914242208004, 0.019288502633571625, -0.029461024329066277, 0.0077625359408557415, 0.005857494659721851, 0.008870636112987995, -0.00833869818598032, 0.03320218622684479, -0.09064946323633194, 0.017554698511958122, -0.010582255199551582, 0.04809005558490753, -0.010890308767557144, 0.026866814121603966, 0.005225895904004574, 0.02714359015226364, 0.020596960559487343, -0.023211060091853142, 0.00687434384599328, 0.030844392254948616, -0.028006194159388542, -0.002275606384500861, 0.02542060613632202, 0.011732710525393486, -0.16585087776184082, 0.006154946051537991, -7.964110143355312e-33, 0.025693045929074287, 0.007616784423589706, 0.023818403482437134, 0.026538392528891563, 0.039352308958768845, -0.0035532349720597267, 0.033985573798418045, -0.025236522778868675, -0.020079150795936584, -0.022278381511569023, 0.0012010294012725353, -0.02767999842762947, -0.037355486303567886, -0.005427536554634571, 0.02294536866247654, -0.02372928522527218, -0.001129069016315043, 0.023080287501215935, -0.0067673418670892715, 0.00031511986162513494, 0.04471510276198387, 0.049842026084661484, 0.0005137951811775565, -0.008825395256280899, 0.009670810773968697, 0.011604176834225655, 0.011969123035669327, -0.01219880674034357, 0.01988815702497959, -0.04494009166955948, -0.024063151329755783, 0.016423791646957397, -0.011571983806788921, -0.02878650277853012, 0.035262443125247955, -0.03636970371007919, -0.038297973573207855, 0.012178321368992329, 0.010684116743505001, -0.031004656106233597, -0.03612454608082771, -0.0031190139707177877, -0.04952918365597725, 0.014699572697281837, -0.009568851441144943, -0.03537764772772789, 0.013185850344598293, 0.01749524101614952, -0.003307153470814228, 0.0267886184155941, 0.02838779240846634, 0.00651185167953372, -0.0031758092809468508, 0.02918223664164543, -0.0020378795452415943, 0.020504707470536232, -0.01755565032362938, -0.002717086113989353, 0.007416221313178539, 0.030088307335972786, 0.06174003705382347, -0.004534129519015551, -0.026432646438479424, 0.010164247825741768, -0.05122552067041397, -0.04206787422299385, 0.019820561632514, -0.016385341063141823, 0.023385019972920418, 0.020913997665047646, -0.027250109240412712, 0.03442511335015297, -0.024950968101620674, -0.03178170695900917, 0.01364303007721901, -0.0020989098120480776, -0.02273626998066902, -0.0200358834117651, -0.02713201195001602, -0.0021997445728629827, 0.011337789706885815, 0.0012326613068580627, 0.010967046022415161, -0.004397465847432613, -0.009190765209496021, -0.011500922031700611, 0.012636219151318073, -0.016991762444376945, -0.009922252036631107, -0.05151596665382385, 0.05782071873545647, -0.00832458958029747, 0.0026674806140363216, -0.015961244702339172, 0.007002163678407669, 8.193146401405403e-33, 0.0005008153966628015, -0.0077164084650576115, 0.008012176491320133, -0.007136946078389883, -0.04588174447417259, -0.001648177858442068, 0.04269196838140488, -0.03419797867536545, -0.03534344583749771, 0.015285251662135124, -0.006042164750397205, 0.030766921117901802, -0.013207330368459225, -0.010505903512239456, 0.051951419562101364, -0.045767683535814285, 0.00028207185096107423, -0.014940580353140831, 0.022233126685023308, 0.011714659631252289, 0.00917244702577591, -0.003266394603997469, 0.03511301055550575, 0.021871717646718025, 0.02200467512011528, 0.06958093494176865, -0.02816668525338173, 0.013494170270860195, -0.005887668114155531, -0.0010427525267004967, 0.02137226052582264, -0.009902261197566986, 0.005568824242800474, -0.04915020614862442, -0.00960902962833643, 0.00935593992471695, 0.025862541049718857, 0.009620816446840763, 0.033850692212581635, -0.001460722996853292, 0.018400223925709724, -0.010239790193736553, 0.03206723555922508, 0.00427123112604022, -0.021779993548989296, 0.015615852549672127, 0.024891065433621407, -0.03890787065029144, -0.013148867525160313, 0.011299701407551765, 0.04247971251606941, 0.023144444450736046, -0.022829744964838028, -0.005939397495239973, 0.017725804820656776, 0.007286110892891884, -0.006165795493870974, 0.0128857446834445, -0.037545882165431976, 0.017623296007514, -0.014432749710977077, 0.028345754370093346, -0.014955906197428703, 0.009976803325116634, -0.0399482287466526, 0.003201049054041505, -0.02957329899072647, -0.02675122208893299, 0.006489596329629421, -0.016364090144634247, -0.0017337367171421647, 0.007363893091678619, -0.0027005067095160484, 0.044887203723192215, -0.0028823153115808964, -0.033342666923999786, 0.0013523270608857274, 0.024271244183182716, 0.009742917492985725, 0.032151248306035995, -0.01730111800134182, -0.0009585713269189, -0.009825974702835083, 0.019258782267570496, -0.009792200289666653, -0.00781819224357605, -0.006061432883143425, 0.011621640995144844, 0.022011881694197655, -0.025536395609378815, -0.0029565270524472, -0.004557920154184103, 0.011889663524925709, 0.02313702180981636, 0.0215098038315773, -1.3487876593387682e-8, -0.06401195377111435, 0.007698665838688612, -0.04415976628661156, 0.01688554883003235, 0.0377047173678875, -0.0051620155572891235, -0.020650694146752357, 0.004403384868055582, -0.015211628749966621, -0.005099279806017876, 0.019613169133663177, -0.016022849828004837, 0.007389893755316734, -0.015914928168058395, 0.04074401780962944, -0.028805222362279892, 0.013799444772303104, -0.044936440885066986, 0.023721063509583473, -0.0018663819646462798, 0.028561372309923172, 0.04877186566591263, -0.024638419970870018, 0.021803801879286766, -0.013843690976500511, -0.012503555975854397, 0.03183339536190033, -0.08054693788290024, 0.005989942234009504, 0.008688402362167835, 0.005333262030035257, -0.027951564639806747, -0.02744527906179428, 0.01740279048681259, -0.011340552009642124, -0.003774159587919712, -0.017070235684514046, 0.01586412452161312, 0.023180056363344193, -0.003115401603281498, 0.010705757886171341, 0.0014718124875798821, 0.02331428788602352, -0.029074059799313545, 0.0020759091712534428, -0.03349360078573227, 0.02124497853219509, 0.004609168507158756, 0.01942211575806141, -0.03420788794755936, 0.035855166614055634, 0.022744907066226006, -0.001065927790477872, 0.07117337733507156, 0.021350273862481117, 0.007230452261865139, -0.0049007972702383995, 0.004628713242709637, -0.012030120007693768, 0.04230911284685135, 0.011342818848788738, -0.001831326517276466, -0.036680106073617935, -0.006138964556157589 ]
f-pattern-matching-with-the-operator
https://markhneedham.com/blog/2009/07/02/f-pattern-matching-with-the-operator
false
2009-07-02 12:04:34
Book Club: Logging - Release It (Michael Nygaard)
[ "book-club", "logging", "release-it" ]
[ "Book Club" ]
Our latest technical book club session was a discussion of the logging section in Michael Nygard's http://www.pragprog.com/titles/mnee/release-it[Release It]. I recently listened to http://se-radio.net/podcast/2009-05/episode-134-release-it-michael-nygard[an interview with Michael Nygard on Software Engineering Radio] so I was interested in reading more of his stuff and http://camswords.wordpress.com/[Cam] suggested that the logging chapter would be an interesting one to look at as it's often something which we don't spend a lot of time thinking about on software development teams. These are some of my thoughts and our discussion of the chapter: * An idea which http://pilchardfriendly.wordpress.com/[Nick] introduced on a project I worked on last year was the idea of having a '*SupportTeam*' class that could be used to do any logging of information that would be useful to the operations/support team that looked after our application once it was in production. This is an approach also suggested by Steve Freeman/Nat Pryce in http://www.mockobjects.com/book/listening-to-the-tests.html[Growing Object Oriented software] (in the 'Logging is a feature' section) and the idea is that we will then focus more on logging the type of information that is actually useful to them rather than just logging what we think is needed. One thing which http://twitter.com/davcamer[Dave] pointed out is that it's often difficult to get access to the operations team to try and get their requirements for the type of logging and monitoring they need and so often ends up being something that's done very late on. On projects I've worked on there has often been a story card for logging and I think this is a good way to go as they are a stakeholder of the system so logging shouldn't just be dealt with as a nice extra. * Something which I hadn't considered until reading this book is the idea of *making logs human readable and machine parseable* as well. The default format of most of the logging tools is not actually that useful when you're trying to scan through hundreds of lines of data and it was intriguing how a little indentation could improve this so dramatically with the added benefit of making it much easier to create a regular expression to find what you want. * One thing I'm interested in understanding is *how we work out what's too much logging and what's too little* since it seems that it seems that the answer to this question is fairly context sensitive. For example on a recent project we logged all unhandled exceptions that came from the system as well as any exceptions that happened when retrieving data from the service layer. In general the data we've had available has been enough to solve problems but we could probably have done more, just working out what would be useful doesn't seem obvious. * I think it was http://blog.m.artins.net/[Alex] who pointed out that it's often useful to have an explicit *step in the build to remove any debug logging* from the code so that it doesn't end up in production by mistake. This seems like a pretty neat idea although I haven't seen it done yet - it also leads towards the idea that logging is for the operations team which I think is correct although it is often suggested that logging is actually for developers since it is assumed that they would be the ones to eventually solve any problems that arise. * The idea of having *message codes for specific errors messages* seems like a really cool idea for allowing easy searching of log files - we've done this on some projects I've worked on and not on others. I guess the key here is to ensure we don't end up with too many different error codes otherwise it's just as confusing as not having them at all.
null
null
[ 0.022042851895093918, 0.014846112579107285, -0.008761618286371231, 0.0454251691699028, 0.09703517705202103, 0.0021754109766334295, 0.024416543543338776, 0.03479890525341034, 0.015744883567094803, -0.019511064514517784, -0.01726308837532997, 0.022555267438292503, -0.0451936200261116, 0.013724975287914276, -0.04364127293229103, 0.07979141920804977, 0.04283944144845009, -0.002085210056975484, 0.04825390502810478, -0.017772972583770752, 0.0314079150557518, 0.06008493900299072, 0.03004014864563942, 0.03588756546378136, 0.028404509648680687, 0.017175672575831413, 0.015049933455884457, 0.0007564843981526792, -0.03704894334077835, 0.010971407406032085, 0.029542023316025734, -0.008284480310976505, -0.004132745787501335, -0.011115049012005329, 0.027658261358737946, -0.006833784282207489, -0.013575928285717964, 0.013997446745634079, -0.005986462347209454, 0.015083943493664265, -0.07304506748914719, 0.044162165373563766, -0.030817905440926552, 0.001965481322258711, -0.041498735547065735, 0.021192030981183052, -0.003157210536301136, 0.013129803352057934, 0.02685406617820263, -0.003002472221851349, -0.07674052566289902, 0.05088387429714203, -0.008856193162500858, -0.022783057764172554, 0.0007210406474769115, 0.05834488570690155, 0.021153951063752174, -0.04622063413262367, -0.009160331450402737, -0.04471521079540253, -0.03274064138531685, -0.03163180500268936, -0.01357220858335495, 0.0314636193215847, 0.04021815210580826, -0.027296530082821846, -0.0249312911182642, 0.029233887791633606, -0.022096844390034676, 0.005098420660942793, -0.018738018348813057, 0.01975545845925808, -0.02583729848265648, 0.002204081043601036, 0.023037942126393318, -0.03700990229845047, 0.02785062976181507, 0.05190471187233925, 0.021293116733431816, 0.05165885016322136, -0.009624364785850048, 0.02478153258562088, 0.008445519022643566, 0.029619092121720314, -0.02878251112997532, -0.02594980038702488, 0.0015110502718016505, -0.012317401356995106, -0.0536014549434185, 0.0540391281247139, 0.011377554386854172, -0.09465030580759048, 0.015680555254220963, 0.03592296317219734, 0.007985245436429977, 0.025167293846607208, 0.025542311370372772, 0.0006765856523998082, -0.010411643423140049, -0.016138650476932526, -0.038775645196437836, -0.008275848813354969, 0.010499113239347935, 0.039747580885887146, -0.07293318957090378, -0.0074745784513652325, -0.01671205274760723, -0.020624276250600815, -0.0005929798353463411, 0.012285799719393253, -0.005685725715011358, 0.005139922257512808, -0.032323360443115234, -0.005702943075448275, -0.07307659834623337, 0.0681070014834404, 0.02785973623394966, -0.06832477450370789, 0.01787959225475788, -0.006376619450747967, 0.045757416635751724, 0.03718498349189758, 0.005803271662443876, 0.06670629978179932, 0.004275944549590349, 0.004287998657673597, -0.03662502020597458, 0.059519752860069275, -0.024120373651385307, -0.06535767763853073, -0.015578162856400013, 0.06070651859045029, -0.018166763707995415, 0.009682534262537956, -0.0019234921783208847, -0.002809760859236121, -0.0013786598574370146, 0.018739555031061172, 0.018864626064896584, 0.06064150854945183, 0.00008238378359237686, -0.04512076824903488, 0.02358183264732361, -0.009894993156194687, 0.02928878180682659, -0.019357670098543167, 0.009689542464911938, -0.028489140793681145, -0.0549517460167408, -0.01109887845814228, 0.006398941855877638, 0.001327355857938528, 0.02559434249997139, -0.05363680422306061, 0.021612800657749176, 0.07639028131961823, 0.023486046120524406, 0.021526260301470757, -0.025617346167564392, 0.003928812220692635, 0.04844474419951439, 0.027385946363210678, -0.007138161454349756, 0.033473726361989975, 0.0013482890790328383, -0.019927768036723137, 0.005086913239210844, 0.048683781176805496, 0.02139909565448761, 0.018584538251161575, -0.0635717511177063, -0.0380028560757637, 0.051130473613739014, -0.04370827227830887, -0.03135278820991516, 0.04855826124548912, 0.07977316528558731, 0.03232274204492569, 0.027217457070946693, 0.004943142179399729, -0.07839586585760117, 0.03321298584342003, 0.00392956705763936, -0.003656513523310423, 0.015545433387160301, -0.013359496369957924, 0.06278853118419647, 0.028691565617918968, 0.011434482410550117, 0.025430504232645035, -0.07901373505592346, -0.10552815347909927, -0.004438404925167561, -0.0192375760525465, 0.05045749247074127, -0.04244891554117203, 0.03550223633646965, 0.06165577098727226, 0.017254384234547615, 0.05215254798531532, 0.017153266817331314, 0.017472442239522934, 0.007966297678649426, -0.03605913743376732, -0.05801163241267204, 0.0493730865418911, 0.017491893842816353, -0.0011688265949487686, -0.03874150291085243, -0.0026627597399055958, -0.01721961982548237, 0.003568608546629548, 0.060060545802116394, -0.02676059864461422, 0.047998156398534775, 0.0162363201379776, 0.04582562670111656, -0.03363589942455292, 0.057889461517333984, -0.04696010425686836, -0.003380576381459832, 0.006614095531404018, -0.02937008999288082, 0.023876069113612175, 0.010624926537275314, 0.12518775463104248, 0.07423248142004013, -0.025712382048368454, -0.037609390914440155, 0.004750933963805437, 0.022803133353590965, -0.053636323660612106, -0.015294438228011131, -0.006976829841732979, 0.012214640155434608, -0.0022153190802782774, -0.0588359460234642, -0.02373092621564865, 0.01894264854490757, -0.03665643557906151, 0.01743530109524727, 0.05370541661977768, 0.00048640696331858635, 0.06747704744338989, 0.022715941071510315, -0.0016860797768458724, 0.000984749523922801, -0.014104749076068401, -0.04957347363233566, 0.008567976765334606, 0.001126814167946577, -0.01238095760345459, 0.04604027047753334, -0.023977048695087433, -0.03352616727352142, -0.03453540429472923, -0.04025134816765785, 0.017388761043548584, 0.06112682819366455, 0.05467664450407028, -0.002877329010516405, 0.053859513252973557, -0.010072197765111923, 0.04356084018945694, 0.01095700915902853, -0.03577156364917755, -0.03513148054480553, -0.059296946972608566, -0.0035213211085647345, 0.03336968272924423, -0.002725764410570264, 0.02797437645494938, 0.018662285059690475, 0.03246230632066727, -0.00019965677347499877, -0.019377442076802254, 0.05331498011946678, -0.0005315830348990858, -0.00800477433949709, -0.03934747725725174, -0.03314027935266495, 0.046075984835624695, -0.06032834202051163, -0.022634243592619896, 0.002594469580799341, -0.07744181156158447, 0.031544845551252365, -0.05936874821782112, -0.038013577461242676, 0.0004398973542265594, 0.018812375143170357, 0.014838515780866146, 0.05035468563437462, 0.022953538224101067, 0.07213699817657471, 0.01740105450153351, -0.001719458494335413, -0.014194748364388943, -0.0007810968090780079, 0.03538621589541435, -0.010149995796382427, -0.041829533874988556, 0.03923967853188515, -0.009933024644851685, -0.01049670297652483, -0.04859368875622749, 0.05502402037382126, -0.04930241033434868, -0.29833269119262695, 0.03449932858347893, -0.0018583739874884486, -0.07279903441667557, 0.009358447045087814, -0.009266262874007225, 0.0019575029145926237, -0.0813991129398346, -0.0350046306848526, 0.02415674738585949, -0.04275556281208992, -0.042251985520124435, -0.004269054159522057, 0.043582525104284286, 0.009177562780678272, 0.029756341129541397, 0.04888930916786194, -0.02760062925517559, 0.028483813628554344, 0.04196139797568321, -0.00007063329394441098, -0.07013389468193054, 0.006416758522391319, 0.032729584723711014, 0.05219094827771187, 0.048431068658828735, -0.08737225085496902, 0.050643593072891235, -0.04666082188487053, 0.011870171874761581, 0.014129947870969772, 0.0016454500146210194, 0.004092363640666008, -0.020418211817741394, -0.03348774090409279, -0.012770863249897957, 0.0421280562877655, 0.038701724261045456, 0.012805823236703873, -0.0025552886072546244, -0.023207223042845726, -0.02536838874220848, -0.015072994865477085, 0.006563727278262377, 0.0595778226852417, 0.011296914890408516, -0.07853471487760544, -0.005883932113647461, -0.016954470425844193, 0.08327015489339828, -0.04188962280750275, -0.04475562274456024, -0.006165610626339912, 0.03591695800423622, -0.012845692224800587, -0.028225082904100418, 0.00677096750587225, -0.02599973790347576, -0.05539046227931976, -0.04616129770874977, 0.011134831234812737, -0.022237101569771767, 0.001752503216266632, -0.0524420402944088, -0.010427475906908512, -0.06294414401054382, -0.06492684781551361, -0.034844860434532166, 0.07070291042327881, 0.009317840449512005, -0.040353648364543915, 0.024583302438259125, 0.00044645386515185237, -0.10927905142307281, -0.02845156006515026, -0.016336899250745773, -0.028332989662885666, 0.001814753282815218, 0.0253931675106287, 0.05006618797779083, -0.023657457903027534, -0.04211603105068207, 0.021228322759270668, 0.019134536385536194, 0.031122418120503426, -0.017891114577651024, 0.031539034098386765, 0.0037790972273796797, -0.03112572617828846, -0.005277284886687994, 0.07103865593671799, -0.00936050433665514, -0.022727956995368004, -0.01866648532450199, 0.030378470197319984, 0.0016312854131683707, 0.01938561350107193, -0.004922281019389629, 0.011990302242338657, 0.02016407437622547, -0.012801986187696457, -0.029685162007808685, 0.01373324729502201, -0.030822787433862686, -0.007941844873130322, -0.026669254526495934, -0.028445111587643623, 0.014986933209002018, 0.04172270745038986, 0.012506870552897453, -0.006143097300082445, -0.016674354672431946, 0.045001354068517685, -0.055686384439468384, -0.039410900324583054, -0.004392450675368309, 0.02030268870294094, 0.05233839899301529, -0.002550519071519375, -0.027819951996207237, -0.04142170771956444, -0.004087417386472225, -0.0005081403069198132, -0.036009933799505234, -0.04986701160669327, -0.03925691545009613, -0.02424357645213604, -0.02297806926071644, -0.00026611663633957505, 0.024721767753362656, -0.028963901102542877, 0.02678951621055603, 0.04258912801742554, -0.04632711037993431, 0.017891550436615944, -0.021781601011753082, -0.05610429495573044, -0.05429568886756897, 0.00504097156226635, 0.013021495193243027, -0.029231591150164604, 0.02451923117041588, -0.02093540132045746, 0.029617762193083763, 0.039451245218515396, 0.017181523144245148, 0.005339465104043484, 0.01149904727935791, 0.040059350430965424, 0.013132013380527496, -0.008976847864687443, -0.05917707830667496, 0.016905542463064194, -0.024635421112179756, -0.022467387840151787, -0.02118491381406784, 0.030159059911966324, -0.0007181044202297926, -0.02212643437087536, -0.008096464909613132, 0.0374741330742836, -0.060641199350357056, -0.021057253703475, -0.03572216257452965, 0.01973995752632618, 0.06507191807031631, -0.028989972546696663, 0.019490117207169533, -0.00007844179344829172, -0.014449786394834518, 0.004409050568938255, 0.028743926435709, -0.0389108881354332, 0.01828726753592491, 0.011973196640610695, 0.005600938573479652, 0.011188993230462074, -0.004954952746629715, 0.04237565025687218, 0.012179196812212467, -0.007330101914703846, -0.03447676822543144, -0.004985769744962454, 0.009898827411234379, 0.06270689517259598, 0.030815238133072853, -0.014181464910507202, -0.024890873581171036, -0.025242548435926437, -0.011810535565018654, -0.04045776277780533, -0.009680256247520447, 0.004672875162214041, 0.013736804947257042, -0.032693494111299515, -0.07276441156864166, 0.0527404248714447, -0.0001169823226518929, 0.0037376440595835447, -0.0031561863142997026, -0.012599391862750053, 0.012456913478672504, -0.019643476232886314, 0.024069614708423615, 0.03785035386681557, -0.05828403681516647, -0.007477171253412962, -0.01759161427617073, -0.006868766155093908, 0.008976003155112267, -0.0019752224907279015, -0.01963598094880581, -0.03679247945547104, -0.012089447118341923, 0.013677958399057388, -0.07219590246677399, -0.005618727300316095, -0.009534369222819805, 0.002195209264755249, 0.0030214875005185604, -0.018996581435203552, -0.017599474638700485, -0.013438700698316097, -0.030301766470074654, -0.03132430836558342, 0.014950786717236042, -0.02806280367076397, 0.007535719778388739, 0.02099556289613247, -0.040148694068193436, -0.005448528099805117, -0.04615968093276024, 0.017150066792964935, 0.007346331141889095, -0.030776962637901306, 0.013549921102821827, -0.05094946175813675, 0.008577561937272549, 0.009734082035720348, 0.06854524463415146, -0.013282855972647667, 0.013563517481088638, -0.0309029258787632, -0.01809046044945717, -0.046287812292575836, 0.011185760609805584, -0.018879320472478867, -0.013414464890956879, 0.02727232687175274, 0.05987761169672012, 0.029196470975875854, 0.041673772037029266, 0.002171568339690566, -0.011440793052315712, 0.04008931294083595, -0.0536927655339241, -0.03313862159848213, -0.011358032934367657, -0.058642055839300156, 0.006308550015091896, 0.008497372269630432, 0.004695919808000326, -0.05434916540980339, 0.05696538835763931, 0.03164558485150337, 0.026549825444817543, 0.010016920045018196, 0.017457976937294006, 0.021384762600064278, -0.031483955681324005, -0.010108668357133865, -0.05553001910448074, 0.008648598566651344, 0.023117290809750557, -0.00017665192717686296, -0.011631077155470848, 0.01181705016642809, -0.026637623086571693, 0.06478410959243774, -0.09226862341165543, -0.03739171102643013, 0.04108253866434097, 0.002347393427044153, -0.019458938390016556, -0.010050364769995213, -0.06806918233633041, 0.027086051180958748, 0.04606737196445465, -0.042931247502565384, -0.020180825144052505, -0.0035355370491743088, 0.04570498317480087, -0.012127947062253952, 0.019555702805519104, -0.0242718867957592, -0.022097956389188766, 0.061875004321336746, 0.011094769462943077, -0.006911897100508213, 0.05004376918077469, -0.006350401788949966, 0.025730229914188385, 0.033200059086084366, -0.014379755593836308, -0.0038389849942177534, -0.014313251711428165, -0.019711488857865334, -0.05392361432313919, 0.0021265994291752577, -0.0023904491681605577, -0.02291923202574253, -0.019485678523778915, 0.041372958570718765, 0.02772369422018528, -0.027942538261413574, -0.08150214701890945, 0.032152269035577774, -0.044038672000169754, -0.013375958427786827, -0.029252171516418457, -0.005855882540345192, -0.052273303270339966, 0.044919729232788086, -0.007196766324341297, -0.0031167943961918354, 0.058949053287506104, -0.02268644981086254, -0.005608467850834131, -0.006598972715437412, 0.08434697985649109, 0.07958604395389557, 0.05110451951622963, 0.01756451465189457, 0.07414563000202179, -0.01813206449151039, -0.04385124891996384, 0.001490202033892274, -0.007297299802303314, -0.02279585599899292, -0.021605247631669044, 0.023794962093234062, 0.054594848304986954, 0.010868333280086517, 0.06781841814517975, -0.020258944481611252, 0.0017227185890078545, 0.010481083765625954, 0.03552652895450592, 0.016962304711341858, 0.07103477418422699, 0.0014567027101293206, 0.010303081944584846, -0.011968464590609074, -0.038057830184698105, 0.026822535321116447, -0.03658707067370415, -0.023104408755898476, 0.044897571206092834, 0.0021608350798487663, 0.015302563086152077, 0.00823040958493948, 0.050136175006628036, 0.05828842520713806, -0.027173593640327454, 0.01872853748500347, -0.00833926908671856, 0.04607310891151428, -0.004880909807980061, 0.02918165735900402, -0.03217889741063118, -0.0027646366506814957, 0.005683980882167816, -0.042960088700056076, -0.04299803823232651, -0.04636681079864502, -0.02349671721458435, 0.04863079637289047, -0.013696856796741486, 0.016718406230211258, 0.025801105424761772, 0.0026982028502970934, -0.016664715483784676, -0.04738554358482361, -0.035737864673137665, -0.014472473412752151, -0.05523146688938141, -0.0030760939698666334, 0.027072705328464508, 0.022731469944119453, -0.02984735183417797, -0.003571039531379938, -0.026973405852913857, -0.04962217062711716, 0.03323696181178093, -0.061756886541843414, -0.03714283928275108, 0.0003411076031625271, 0.01736685447394848, 0.021711397916078568, 0.007366447243839502, 0.0353388749063015, -0.007648024708032608, -0.0188160203397274, -0.0063526807352900505, 0.027707846835255623, 0.01747359149158001, -0.019432123750448227, 0.008564298041164875, -0.08587219566106796, 0.013171250000596046, 0.04229285567998886, -0.00412523839622736, -0.06584044545888901, 0.014398092404007912, 0.02734866365790367, -0.032415006309747696, 0.04494951665401459, -0.026654241606593132, 0.023396696895360947, -0.04043840244412422, -0.035784024745225906, 0.0066439141519367695, 0.02836489863693714, 0.04263922944664955, -0.014868007972836494, 0.08378887921571732, 0.03994983062148094, -0.02004234865307808, -0.030734114348888397, -0.027220172807574272, 0.0037698266096413136, 0.007593151647597551, -0.04846184328198433, -0.005833297967910767, -0.019216593354940414, -0.07698994874954224, -0.03518548235297203, 0.026552250608801842, 0.00706913648173213, -0.021624930202960968, 0.028492851182818413, 0.01209033653140068, 0.0009752331534400582, 0.033759795129299164, -0.04596483334898949, 0.010172376409173012, -0.02059009298682213, -0.0228718314319849, -0.007756155915558338, 0.013056703843176365, 0.008368819020688534, -0.002298057544976473, 0.005735285580158234, -0.04581036791205406, -0.004403072874993086, -0.008080904372036457, 0.026956072077155113, 0.06637747585773468, 0.011280743405222893, -0.031432222574949265 ]
[ -0.08011692762374878, 0.02856164611876011, -0.01602882891893387, -0.058858055621385574, 0.07727321237325668, -0.05512424558401108, -0.05093437433242798, 0.013929997570812702, -0.020254481583833694, -0.02106728032231331, -0.005603089462965727, -0.013280726969242096, -0.02186667174100876, -0.01324708852916956, 0.08362426608800888, 0.012700563296675682, 0.004992931615561247, -0.0647706612944603, 0.03765704855322838, 0.01971646584570408, 0.01674923114478588, -0.02236640267074108, -0.03576180711388588, -0.01815624348819256, 0.006331586744636297, 0.028323538601398468, 0.012110656127333641, -0.036408908665180206, 0.003249376080930233, -0.17398755252361298, -0.005749098025262356, 0.009205539710819721, 0.05195222049951553, -0.01478536520153284, 0.00038108450826257467, 0.06078318506479263, 0.04361594840884209, 0.015068918466567993, -0.011064180172979832, 0.042572591453790665, 0.03611220419406891, 0.008571663871407509, -0.050226714462041855, -0.03669869154691696, 0.027365799993276596, -0.02429085224866867, 0.007112234365195036, -0.04675256460905075, -0.017123600468039513, 0.007902055978775024, -0.07237997651100159, -0.021501464769244194, -0.006367267109453678, -0.027281254529953003, -0.011303718201816082, 0.01790962740778923, 0.029486186802387238, 0.04686994478106499, -0.011241835542023182, 0.010093766264617443, 0.014099895022809505, -0.032056450843811035, -0.12841826677322388, 0.0750812292098999, 0.04037417098879814, 0.04475296288728714, -0.05783938989043236, -0.022139491513371468, 0.016798516735434532, 0.0934518426656723, -0.0001664043084019795, -0.038914743810892105, -0.029911844059824944, 0.02624036744236946, 0.021741027012467384, 0.022371916100382805, 0.0037385059986263514, 0.022886116057634354, 0.012537570670247078, -0.07948644459247589, -0.053010258823633194, -0.0028106290847063065, -0.018063552677631378, -0.010732000693678856, -0.03892446309328079, 0.024727145209908485, 0.012478887103497982, 0.05366853252053261, 0.03398215025663376, 0.03211086988449097, 0.046864479780197144, -0.00715717114508152, 0.04092992842197418, 0.00020111884805373847, -0.08270964026451111, -0.023582423105835915, -0.003834155621007085, 0.04132669419050217, -0.04089798405766487, 0.46475860476493835, -0.00949711911380291, -0.031675443053245544, 0.08934693783521652, 0.018367793411016464, -0.006924750283360481, 0.0173225998878479, 0.01725294627249241, -0.04766310006380081, 0.01723090000450611, -0.03348003700375557, 0.042986463755369186, 0.03966084122657776, 0.050245799124240875, -0.045207347720861435, 0.01831788569688797, 0.018590521067380905, 0.022931715473532677, 0.031767044216394424, -0.019618455320596695, -0.013512810692191124, 0.011756685562431812, 0.006652858108282089, 0.03150731325149536, 0.012597586959600449, 0.009621531702578068, -0.03946567326784134, 0.038842007517814636, 0.040502142161130905, 0.026170099154114723, 0.014943256974220276, 0.03433611989021301, -0.04686703532934189, -0.051807306706905365, -0.006256699562072754, 0.0024968802463263273, -0.008173461072146893, 0.018840400502085686, -0.02747839130461216, -0.03543908894062042, 0.06475415825843811, 0.0000862398519529961, -0.006543541327118874, 0.025089258328080177, -0.032019972801208496, -0.05385153368115425, 0.09569455683231354, 0.03331100195646286, -0.03040442429482937, -0.0445595383644104, -0.04308363422751427, 0.011031745001673698, 0.02088220790028572, 0.028942301869392395, -0.0556027851998806, 0.0415726900100708, 0.0014454536139965057, 0.08967003226280212, -0.011289196088910103, -0.059562940150499344, 0.00004336975689511746, -0.006915467791259289, -0.017043616622686386, -0.0360497422516346, 0.021591901779174805, 0.07027164101600647, -0.10795990377664566, -0.021804727613925934, 0.01775261014699936, 0.02698476053774357, -0.07199186086654663, -0.01127982884645462, 0.02893146127462387, -0.02093823440372944, -0.01440833043307066, 0.042782336473464966, -0.022318178787827492, -0.023668505251407623, 0.011728337965905666, 0.02622280642390251, 0.0008469034219160676, 0.008150915615260601, -0.0020145562011748552, -0.03199370205402374, 0.0015985171776264906, -0.028554150834679604, -0.07011280208826065, -0.05652917921543121, -0.009661887772381306, -0.02610529400408268, 0.014900920912623405, -0.01424067560583353, -0.0024613626301288605, -0.05815937742590904, 0.08417654037475586, -0.027053942903876305, -0.034829799085855484, 0.017055774107575417, 0.003666445380076766, -0.0409545823931694, -0.032517239451408386, -0.03549981489777565, 0.031166141852736473, -0.032304178923368454, 0.028819862753152847, -0.05845608562231064, 0.04194927588105202, 0.03613705933094025, -0.04322218894958496, 0.07850506901741028, 0.05096324160695076, -0.02352232113480568, -0.035529036074876785, 0.03885909914970398, 0.011666672304272652, -0.011418375186622143, -0.017570773139595985, 0.0022601759992539883, 0.036323051899671555, -0.006613980047404766, 0.034127023071050644, -0.028635725378990173, 0.01088938768953085, -0.04174220561981201, -0.338879257440567, -0.02657470293343067, -0.008400285616517067, 0.011742404662072659, 0.016807876527309418, -0.0570296049118042, 0.01663312315940857, -0.008884367533028126, -0.017946280539035797, 0.0033781297970563173, 0.08779333531856537, -0.030894402414560318, 0.019065432250499725, -0.09538178145885468, 0.0003023675235453993, 0.020909719169139862, -0.03863892704248428, -0.04069986194372177, -0.05227573961019516, 0.008526666089892387, 0.019240587949752808, 0.0022278199903666973, -0.024647409096360207, -0.04713825881481171, -0.028345193713903427, -0.05337502434849739, 0.07799435406923294, -0.01929696463048458, 0.1149858757853508, -0.03430914506316185, 0.024938972666859627, 0.010030154138803482, 0.03663816675543785, -0.11417816579341888, -0.012183655053377151, 0.015330535359680653, -0.001738031511195004, 0.013519752770662308, 0.03883032873272896, -0.03744829446077347, -0.06143076717853546, 0.05455189198255539, -0.0645764023065567, -0.027453120797872543, -0.06068971008062363, -0.0015421716962009668, -0.039841197431087494, -0.05525844916701317, -0.028204571455717087, 0.05197496712207794, 0.027645869180560112, 0.0018254872411489487, 0.00918455421924591, 0.014714507386088371, 0.0005316719762049615, -0.05183762311935425, -0.07287392020225525, -0.0001985901326406747, 0.006095100659877062, -0.013437951914966106, 0.025815438479185104, 0.06238672509789467, 0.009517033584415913, -0.05158756300806999, 0.03019300289452076, -0.00874257367104292, -0.012791218236088753, 0.015979545190930367, 0.06418503820896149, -0.03434296324849129, -0.011812089011073112, 0.08070889115333557, -0.008130672387778759, -0.014237199909985065, 0.016216889023780823, 0.044366780668497086, 0.000633029849268496, 0.004410170949995518, 0.004831754136830568, -0.019133003428578377, 0.01220920030027628, -0.030131934210658073, 0.03297796845436096, -0.020122742280364037, 0.0034072869457304478, 0.04346606135368347, -0.01915530115365982, -0.052587203681468964, 0.046322088688611984, 0.03135665878653526, -0.015612308867275715, -0.0036653908900916576, 0.0050611840561032295, -0.09320364892482758, 0.10855913907289505, 0.014855475164949894, -0.2376190721988678, 0.0082230344414711, 0.06022947281599045, 0.04715823382139206, -0.005582403391599655, 0.04115354269742966, 0.010691886767745018, -0.04728109389543533, 0.03424454480409622, 0.013963109813630581, 0.03515888378024101, 0.013482723385095596, -0.008313768543303013, -0.000561093504074961, 0.04286597669124603, 0.03140745684504509, 0.04771582782268524, -0.02172410674393177, 0.012809399515390396, -0.01160783413797617, -0.009992562234401703, -0.005510510876774788, 0.13503040373325348, 0.030616922304034233, 0.04935266822576523, 0.0316409133374691, 0.0011701815528795123, 0.011441485956311226, 0.07719749212265015, 0.01597289741039276, 0.02907015010714531, -0.0314331017434597, 0.06309866905212402, 0.005260651931166649, 0.02110319957137108, -0.07352180033922195, -0.0042860195972025394, 0.01498171966522932, 0.012811156921088696, -0.0023248549550771713, 0.009841560386121273, 0.01796475052833557, -0.022444166243076324, 0.016638074070215225, 0.072911337018013, -0.0014275761786848307, -0.013054046779870987, -0.057411860674619675, -0.031192833557724953, -0.010850326158106327, -0.031211843714118004, -0.030287854373455048, -0.0003741586406249553, -0.004148258827626705, 0.024835389107465744, 0.09029878675937653, 0.031633973121643066, -0.023671600967645645, -0.016177866607904434, -0.00466354563832283, -0.015283225104212761, -0.03518102318048477, 0.11085248738527298, 0.03601299971342087, 0.038185037672519684 ]
[ 0.01856377348303795, -0.0077216727659106255, -0.007750981021672487, 0.0017639481229707599, 0.017745384946465492, -0.03141416236758232, 0.03429265320301056, 0.026775995269417763, -0.014586884528398514, 0.03674066811800003, -0.02136823534965515, 0.019333140924572945, 0.010614996775984764, 0.01299372874200344, 0.02772965468466282, -0.016268746927380562, -0.021462678909301758, -0.027926020324230194, 0.011841212399303913, 0.008765002712607384, 0.0009156654705293477, 0.03543269261717796, 0.00483165867626667, 0.013302741572260857, -0.0063813310116529465, -0.004513874184340239, -0.026825299486517906, -0.04813449829816818, 0.012608727440237999, -0.1211254745721817, -0.04553178697824478, -0.0006900099688209593, 0.0034012719988822937, 0.029604729264974594, 0.011137260124087334, -0.020369119942188263, 0.04735354334115982, 0.014540226198732853, -0.013062816113233566, 0.01355648785829544, -0.019753463566303253, -0.0026304638013243675, 0.014927273616194725, 0.005420995876193047, -0.03188304603099823, 0.003923820797353983, -0.01215946301817894, -0.04230267554521561, -0.018332256004214287, 0.004271330311894417, -0.01219470426440239, -0.02316642552614212, 0.012178413569927216, 0.03160519152879715, 0.011840016581118107, 0.00006385584129020572, 0.01405258011072874, -0.022480690851807594, 0.003481560153886676, -0.020910395309329033, -0.01643691025674343, 0.012012376450002193, -0.045274488627910614, -0.016125686466693878, -0.00679440563544631, -0.04547043517231941, 0.012440584599971771, 0.023512689396739006, -0.003608256345614791, 0.028256971389055252, -0.044280022382736206, 0.018809400498867035, -0.031806960701942444, -0.03460303321480751, 0.008585951291024685, 0.04068555310368538, 0.007052454631775618, 0.014812960289418697, 0.007997233420610428, -0.021159296855330467, -0.05257038027048111, 0.043200984597206116, 0.032322753220796585, 0.018998265266418457, -0.02601025626063347, 0.007364747580140829, 0.009802339598536491, 0.001875643851235509, 0.03315451368689537, 0.008471744135022163, -0.045904822647571564, 0.016451628878712654, -0.0015888978959992528, -0.003834495786577463, -0.08527558296918869, -0.010676740668714046, -0.007217864505946636, -0.0002902267733588815, 0.009588109329342842, 0.8447561264038086, 0.018150148913264275, 0.027117492631077766, 0.018604019656777382, -0.01741192117333412, 0.008900856599211693, -0.028934461995959282, -0.005555037874728441, 0.006818747613579035, 0.004195956513285637, -0.014362351037561893, 0.014037873595952988, 0.0413268618285656, 0.011719122529029846, 0.016582703217864037, 0.06781654059886932, 0.03659645467996597, -0.020720001310110092, -0.01818014867603779, -0.04878440126776695, 0.011179334484040737, 0.020841924473643303, 0.013385017402470112, -0.014336173422634602, -0.000110025612229947, 0.03650233894586563, -0.14842548966407776, 0.019831886515021324, -8.370770944654344e-33, 0.0617847703397274, 0.011583119630813599, -0.011274030432105064, -0.00954363588243723, 0.01766309328377247, 0.025766165927052498, -0.013066429644823074, -0.0015325931599363685, -0.01628093235194683, 0.00882168672978878, -0.07072041928768158, 0.007668327074497938, 0.007355124689638615, -0.028668725863099098, 0.048358526080846786, 0.003221262013539672, -0.02699482999742031, 0.01849166490137577, -0.004164915066212416, 0.03785129263997078, 0.002457588678225875, 0.02081022784113884, -0.021831611171364784, -0.008200009353458881, 0.03874574974179268, 0.04463890939950943, 0.020590659230947495, -0.017031023278832436, 0.011769290082156658, -0.039796050637960434, 0.0004657626268453896, 0.0042031193152070045, -0.009945613332092762, -0.03953764587640762, 0.012226422317326069, -0.06453068554401398, -0.049261994659900665, 0.005926800426095724, -0.02947993017733097, -0.0436655655503273, -0.029107511043548584, -0.01924009434878826, -0.06946106255054474, -0.03074769489467144, 0.01065998338162899, -0.006551174912601709, -0.02246304228901863, 0.03821052983403206, 0.012828032486140728, -0.03684929385781288, 0.030460262671113014, 0.02366199716925621, -0.007741967681795359, -0.023545105010271072, -0.008476260118186474, 0.024582305923104286, 0.04306047037243843, -0.013258709572255611, 0.009660285897552967, 0.033640820533037186, 0.010277502238750458, -0.0033979981672018766, -0.0017678729491308331, 0.011925074271857738, -0.005705724004656076, 0.0019013771088793874, 0.04930267110466957, 0.013668113388121128, 0.006290740333497524, -0.020927026867866516, -0.055685706436634064, -0.03791213780641556, -0.006258759181946516, -0.013587784953415394, 0.004816296510398388, 0.019909417256712914, 0.009574507363140583, 0.04697822779417038, -0.009564665146172047, 0.04930130019783974, -0.01948036625981331, -0.03086102567613125, -0.017182964831590652, -0.02267797291278839, -0.015315746888518333, -0.035099029541015625, 0.018249161541461945, -0.017437083646655083, -0.031352248042821884, 0.0258414875715971, 0.031008150428533554, 0.04011048376560211, 0.005337045527994633, -0.0036663315258920193, -0.02836490608751774, 8.648623279042177e-33, -0.015312569215893745, -0.007387485820800066, 0.010999015532433987, -0.028974896296858788, 0.017681829631328583, -0.018715299665927887, 0.007283489685505629, -0.0049432627856731415, -0.04400691017508507, 0.029104476794600487, -0.016658201813697815, -0.02882305160164833, -0.04618832468986511, 0.03799104318022728, 0.03268683701753616, -0.0071271732449531555, 0.017956433817744255, -0.005611200351268053, 0.011778167448937893, 0.010632193647325039, 0.0742826834321022, 0.008887114934623241, 0.002621633466333151, 0.013588130474090576, 0.03799716383218765, 0.03091156855225563, -0.010699659585952759, 0.028362108394503593, 0.0016722087748348713, -0.02094561792910099, 0.01274318341165781, -0.03618784248828888, 0.024844547733664513, -0.05712166801095009, 0.01571965031325817, 0.007753998972475529, 0.003219984006136656, 0.010697142221033573, -0.0024260759819298983, -0.020820504054427147, 0.016019005328416824, 0.01102830097079277, 0.011834779754281044, 0.013655206188559532, -0.019349291920661926, 0.006207357160747051, -0.003991847857832909, -0.011124475859105587, -0.002544947201386094, 0.03202899917960167, 0.002369345398619771, -0.023941442370414734, 0.04434032738208771, 0.014220558106899261, -0.02478182315826416, 0.006327686365693808, -0.01457362249493599, -0.014624766074120998, -0.04109842702746391, 0.025898588821291924, 0.0026109060272574425, 0.004452452529221773, -0.002161845099180937, 0.01500074565410614, -0.03819094970822334, -0.029641030356287956, 0.028878754004836082, -0.004963998682796955, -0.031070560216903687, -0.0037468334194272757, -0.02034381590783596, -0.022081928327679634, -0.002593427198007703, 0.06134585291147232, 0.02476285584270954, -0.017617031931877136, -0.022207869216799736, -0.028262415900826454, -0.046086814254522324, 0.012385502457618713, -0.013770763762295246, 0.004235445521771908, -0.01036036666482687, 0.013904668390750885, 0.008132562041282654, 0.016145044937729836, 0.0061227185651659966, 0.012389050796627998, 0.016689352691173553, -0.01597662828862667, -0.011784147471189499, 0.0084705650806427, -0.017003057524561882, -0.004960137885063887, -0.03191624581813812, -1.372746361028021e-8, -0.04509703814983368, -0.015127413906157017, -0.0006594840087927878, 0.030882561579346657, 0.06218401715159416, 0.03125656768679619, -0.010578491725027561, 0.027663134038448334, -0.04160873591899872, 0.024316150695085526, 0.023555312305688858, -0.024086570367217064, -0.005859202705323696, -0.004713917151093483, 0.04856593534350395, -0.04363521933555603, -0.02146577462553978, -0.03213462978601456, 0.027283206582069397, 0.009452764876186848, 0.05530938133597374, 0.018971849232912064, -0.005448115523904562, 0.021978573873639107, 0.004500200040638447, -0.009052297100424767, 0.022605879232287407, -0.06240097060799599, -0.024479199200868607, 0.004965754691511393, 0.028626201674342155, -0.0045447987504303455, -0.035679351538419724, 0.032021716237068176, -0.012249494902789593, -0.021322079002857208, 0.04284136742353439, 0.007321130950003862, -0.012270016595721245, -0.004931732080876827, -0.03699759393930435, 0.008564568124711514, 0.024345267564058304, -0.016013113781809807, -0.01634691096842289, -0.020623885095119476, -0.035673726350069046, -0.01618434302508831, 0.030210386961698532, -0.03245773911476135, 0.015179048292338848, 0.010202623903751373, 0.03721907362341881, 0.042573824524879456, 0.02418355643749237, 0.0047789220698177814, 0.01980065181851387, -0.04311282932758331, -0.019528817385435104, 0.011017710901796818, 0.02286403626203537, 0.008530649356544018, 0.017491381615400314, -0.00900486670434475 ]
book-club-logging-release-it-michael-nygaard
https://markhneedham.com/blog/2009/07/02/book-club-logging-release-it-michael-nygaard
false
2009-07-20 21:10:12
Coding: Quick feedback
[ "coding", "quick-feedback" ]
[ "Coding" ]
One of the most important things to achieve if we are to get any sort of productivity when writing code is to find ways to get the quickest feedback possible. My general default stance with respect to this has always been to TDD code although I've found when coding in F# that I'm not actually sure what the overall best way to get quick feedback is. This is partly because I haven't been able to find a way to run tests easily from inside Visual Studio but also partly because even when you do this the code for the whole project needs to be recompiled before the tests can be run which takes time. I often just load functions into F# interactive and then manually test them in there with a couple of values. If the results are what I expect then I move on. By doing this I'm getting *feedback that the code works* for the inputs that I've tried but I'm not getting *feedback that I haven't broken some old functionality* with my changes which has http://twitter.com/markhneedham/status/2703773959[happened a couple of times now]. I'm coming to the conclusion that when I really am just testing out a small function it is quite valuable to be able to make use of F# interactive to play around with this code and quickly know if it is working but once I start composing several different functions together in the REPL and end up in trial and error mode then it might be more effective to write a unit test to help out. There are certainly other occasions where we can get quicker feedback by other means, and my colleague http://www.thekua.com/atwork/2008/02/if-you-do-test-driven-development-all-the-time-youre-doing-something-wrong/[Pat Kua wrote a post last year where he pointed out that you don't always need to use TDD] - it depends what type of code you're writing. When you're spiking or working in experimentation mode as he refers to it TDD won't be as effective and if you try to use TDD you will probably end up very frustrated because it will slow down your ability to get the type of feedback that you want. When we are spiking we are looking for *feedback on whether the approach we are trying out will actually work* and the quickest way to find this out is often just to hack some code together and not spend a great deal of time worrying about the quality of what we're writing. Kent Beck recently wrote about the http://www.threeriversinstitute.org/blog/?p=187[trade off between the amount of time it takes to write an automated test and the feedback it gives you] giving an example when developing JUnit Max of a time when his feedback cycle was quicker by not writing the test since it would take several hours to work out how to do so. While Kent Beck probably has the experience to make this sort of trade off call fairly accurately others may need to be more careful about doing this. When I first started coding my way of working out whether something worked was to launch the application and check that way. That often does provide quicker immediate feedback than working out how to write a test but if we make a change to our code and want to know if it still works we need to launch the application again to find out. We frequently end up having to do this cycle multiple times since we always make mistakes and have to go back and correct these. I think the current popularity of javascript heavy applications is leading us into the trap of thinking that we don't need to write automated tests to cover this functionality since we can just verify it works by launching the application - sadly the number of bugs that creep in when we take this approach is quite substantial so *any initial speed gains are cancelled out by the re-work we need to do later*. Another interesting area where we need to get feedback quickly is at the points at which we integrate with external systems. An example of this on a project I worked on was that we had logic in our application which relied on the value returned from a service layer dependency. We got caught out by this value changing and breaking our application so after this we put in an integration test which specifically tested for that value and therefore allowed us to know earlier on if there had been a breaking change made. These are just some of the areas that I've come across where there are different ways that we can get feedback and we need to make http://www.markhneedham.com/blog/2009/03/02/trade-offs-some-thoughts/[trade offs] to work out which is the best way for our given situation.
null
null
[ 0.02420712262392044, -0.008385163731873035, -0.0042998213320970535, 0.05244094505906105, 0.07483936101198196, 0.02260293811559677, 0.02591782994568348, 0.0343821756541729, 0.01695358008146286, -0.03359273076057434, 0.003594446461647749, 0.013686303980648518, -0.05446562170982361, 0.0014270951505750418, -0.01552724651992321, 0.07348315417766571, 0.07986517995595932, -0.024956073611974716, 0.046307872980833054, 0.022672098129987717, 0.024830089882016182, 0.06164507195353508, 0.011275355704128742, 0.03366760164499283, 0.03383847326040268, 0.009139985777437687, 0.0031070138793438673, -0.00552201084792614, -0.06412890553474426, -0.022060660645365715, 0.03266529366374016, 0.001428707386367023, 0.0153486467897892, -0.02929806150496006, 0.0034488243982195854, -0.004694209434092045, -0.002563820919021964, 0.047646548599004745, 0.005548594985157251, 0.01133421529084444, -0.08191769570112228, 0.007655900437384844, 0.006616267841309309, 0.004720458295196295, -0.036471229046583176, 0.037345051765441895, -0.02826007269322872, -0.02366017736494541, -0.008567079901695251, -0.004353458993136883, -0.061024751514196396, 0.047069013118743896, -0.003369698068127036, -0.01442758273333311, -0.012651619501411915, 0.05293954163789749, 0.02603321522474289, -0.06794781237840652, 0.011846748180687428, -0.049161363393068314, 0.0033551929518580437, -0.01460815779864788, 0.004124292638152838, 0.05204096809029579, 0.0417962446808815, -0.00307939643971622, 0.001907862490043044, 0.040688831359148026, -0.029041443020105362, 0.005099083296954632, -0.008774193935096264, 0.015890223905444145, -0.029720580205321312, -0.023501092568039894, 0.023104876279830933, -0.041505396366119385, 0.0023469189181923866, 0.056844454258680344, 0.025007491931319237, 0.04357020556926727, -0.020803097635507584, 0.01688726432621479, 0.02718925289809704, 0.020312855020165443, -0.016651155427098274, -0.02154305763542652, -0.0012010674690827727, -0.00942943710833788, -0.044877927750349045, 0.0647483617067337, 0.01913509890437126, -0.04733961820602417, 0.021170098334550858, 0.034700486809015274, 0.0054137553088366985, 0.01835363730788231, 0.030250629410147667, 0.011882510036230087, -0.004680505953729153, 0.007948590442538261, -0.010518798604607582, -0.04983853921294212, 0.020349645987153053, 0.01854042150080204, -0.08107457309961319, -0.006168374791741371, -0.018159111961722374, -0.028145788237452507, -0.0006871764780953526, 0.030881240963935852, -0.04377271607518196, 0.012422322295606136, -0.01898328959941864, 0.005555081646889448, -0.0855133980512619, 0.05307551473379135, 0.011437693610787392, -0.0031825853511691093, -0.01376905757933855, 0.015275562182068825, 0.04833240807056427, 0.022123729810118675, 0.0032216652762144804, 0.08737418055534363, -0.001841675373725593, 0.03869441896677017, -0.037497684359550476, 0.061054013669490814, 0.0011782696237787604, -0.064385786652565, -0.021052267402410507, 0.04060337319970131, -0.02768997848033905, 0.003740407759323716, 0.000019418910596868955, -0.03064442239701748, -0.008471012115478516, -0.027752935886383057, 0.004089169204235077, 0.06129469349980354, -0.018956730142235756, -0.03874709829688072, 0.025456422939896584, -0.0190239530056715, -0.005439029075205326, 0.013694941066205502, -0.031192854046821594, -0.020596230402588844, -0.03553473576903343, 0.011932285502552986, 0.005985490512102842, 0.030080441385507584, 0.019576342776417732, -0.0393349826335907, 0.013272765092551708, 0.08568611741065979, 0.034834522753953934, 0.011146115139126778, -0.004347893409430981, 0.05106256157159805, 0.05230173096060753, 0.05065698176622391, 0.014195924624800682, 0.020511645823717117, 0.022345080971717834, 0.012451917864382267, 0.0028143927920609713, 0.03370407968759537, -0.02608218416571617, -0.005407863296568394, -0.05649133771657944, -0.002431996865198016, 0.06241542100906372, -0.056282006204128265, -0.010841411538422108, 0.040601424872875214, 0.06130504980683327, 0.008116181939840317, 0.0181464534252882, 0.01159170363098383, -0.07214535027742386, 0.006568314041942358, 0.004163876175880432, 0.02187104895710945, 0.0034722371492534876, -0.021356850862503052, 0.07855108380317688, 0.014703329652547836, -0.01571902073919773, 0.02693980559706688, -0.06710801273584366, -0.08344520628452301, -0.026332484558224678, -0.022261792793869972, 0.07532572746276855, -0.03976623713970184, 0.00012774816423188895, 0.07800226658582687, 0.02182026207447052, 0.06096995621919632, 0.05271781608462334, -0.020861729979515076, 0.01815786585211754, -0.03997226431965828, -0.04305898770689964, 0.060411810874938965, 0.04362764209508896, -0.011151316575706005, -0.052315641194581985, 0.013578402809798717, 0.006146450527012348, -0.006578559521585703, 0.04761003330349922, 0.0023659253492951393, 0.04402366653084755, 0.035107728093862534, 0.04231101647019386, -0.015841297805309296, 0.05328614264726639, -0.06054867431521416, 0.004994738381356001, -0.00605246564373374, -0.006439643446356058, 0.0038587842136621475, -0.020941130816936493, 0.10238298028707504, 0.06234479695558548, -0.06346447020769119, -0.034301791340112686, 0.00920336227864027, -0.0007873876602388918, -0.028536293655633926, -0.007585690822452307, 0.0010637276573106647, -0.006572490558028221, 0.0024084262549877167, -0.05627357214689255, -0.01208610087633133, 0.026043767109513283, -0.048014476895332336, 0.023799961432814598, 0.07018723338842392, -0.020248882472515106, 0.04979723319411278, -0.015465927310287952, -0.032722607254981995, 0.0018191380659118295, 0.00775294192135334, -0.041290078312158585, 0.013102645985782146, 0.04458106681704521, -0.008112111128866673, 0.06070275604724884, -0.01945509761571884, -0.028592566028237343, -0.01706843450665474, -0.012927955016493797, -0.00031129515264183283, 0.04696750268340111, 0.06013401225209236, 0.01494425255805254, 0.048667825758457184, -0.004506071098148823, 0.016565322875976562, 0.01436229981482029, -0.06943007558584213, -0.02511744387447834, -0.011656501330435276, 0.005760057829320431, 0.06159854307770729, -0.011100620962679386, 0.01819426380097866, 0.017109431326389313, 0.00601295568048954, -0.03597945719957352, -0.01076433900743723, 0.03055519051849842, 0.01337615866214037, -0.04925435408949852, -0.03581247106194496, -0.042409516870975494, 0.04660137742757797, -0.029726026579737663, -0.031545087695121765, 0.004074102733284235, -0.06876671314239502, 0.04480976611375809, -0.07924291491508484, -0.05482344701886177, -0.0031215096823871136, 0.010236331261694431, 0.019832652062177658, -0.03900250792503357, 0.01926800236105919, 0.07987242937088013, 0.006074462551623583, 0.03642446547746658, -0.0036440680269151926, -0.004696592688560486, 0.014045581221580505, 0.020525310188531876, -0.0043731811456382275, 0.04221704974770546, -0.0029842774383723736, -0.01290967408567667, -0.058495886623859406, 0.02024591714143753, -0.036405209451913834, -0.2746148705482483, 0.0354173481464386, -0.0010318196145817637, -0.043174803256988525, 0.031142471358180046, -0.021163146942853928, 0.019444802775979042, -0.03586585447192192, -0.03491656482219696, 0.0256132073700428, -0.05220400542020798, -0.030402256175875664, -0.03642239049077034, 0.05780726298689842, -0.015180866234004498, -0.004010720178484917, 0.015770766884088516, -0.05133417248725891, 0.010973445139825344, 0.05459542199969292, -0.014910439029335976, -0.07205882668495178, -0.002217334695160389, 0.04014751315116882, 0.047764360904693604, 0.04521579295396805, -0.08956725150346756, 0.03697432950139046, -0.034775130450725555, 0.0009567384840920568, -0.00854435469955206, 0.010378762148320675, -0.002614702098071575, -0.038576480001211166, 0.003769373055547476, -0.008651467971503735, 0.022963527590036392, -0.00924654584378004, 0.010714943520724773, 0.02063339203596115, -0.007691982202231884, -0.04372820630669594, -0.008744359947741032, 0.0034301739651709795, 0.0699530616402626, 0.006276738364249468, -0.06261588633060455, -0.0012763218255713582, -0.03327818587422371, 0.08651558309793472, -0.03170657157897949, -0.04971310496330261, -0.014996522106230259, 0.04689386859536171, -0.0061593083664774895, -0.05218707397580147, 0.02055562101304531, -0.014637532643973827, -0.028870519250631332, -0.05327907204627991, -0.05126221105456352, -0.05030347406864166, -0.016839805990457535, -0.050147924572229385, -0.0007260282291099429, -0.07715091854333878, -0.050340890884399414, -0.0012832240900024772, 0.06163084879517555, 0.007950915955007076, -0.013471589423716068, -0.0003637185145635158, 0.003671042388305068, -0.11440221965312958, -0.006567294709384441, -0.019361328333616257, -0.04274709150195122, -0.020775148645043373, 0.016470160335302353, 0.07374878227710724, -0.03418348357081413, -0.05757801979780197, 0.026226775720715523, 0.0006466812337748706, 0.02485230565071106, 0.011063642799854279, 0.03421850502490997, 0.020595496520400047, -0.0046378858387470245, 0.00859865266829729, 0.07525358349084854, -0.00917591992765665, -0.011274381540715694, -0.053863316774368286, 0.03314764052629471, 0.021673431620001793, 0.03634623810648918, -0.014054820872843266, 0.01363811269402504, 0.005077464040368795, 0.03442345932126045, -0.04353803023695946, 0.03530972823500633, -0.026620380580425262, 0.009005642496049404, -0.03615006431937218, -0.06484760344028473, 0.046038854867219925, 0.027122365310788155, 0.029882028698921204, -0.03350640833377838, -0.04563645273447037, -0.012935977429151535, -0.04500371217727661, -0.029417742043733597, -0.02439126931130886, 0.019240746274590492, 0.02682749181985855, -0.0251933541148901, 0.004187253303825855, -0.058723509311676025, 0.002138713374733925, -0.000751265324652195, 0.004509191028773785, -0.051266301423311234, -0.011204522103071213, -0.002729990053921938, -0.04157304763793945, 0.015454375185072422, 0.026779422536492348, -0.0021334034390747547, 0.04314865544438362, 0.001197364181280136, -0.027311597019433975, 0.02003631927073002, -0.008968228474259377, -0.023239117115736008, -0.015569999814033508, -0.011977973394095898, -0.025109130889177322, -0.014699550345540047, 0.007403205614537001, 0.0017071948386728764, 0.018161576241254807, 0.05786575749516487, 0.009018710814416409, 0.018714524805545807, -0.0250029768794775, 0.005631544627249241, 0.0008617232087999582, 0.027104483917355537, -0.08693304657936096, 0.025876276195049286, -0.05067300423979759, -0.04622870311141014, -0.010282743722200394, 0.03889673948287964, -0.030428491532802582, -0.049688920378685, -0.04053854942321777, 0.007861933670938015, -0.05359748378396034, -0.05613136291503906, -0.029275503009557724, 0.03208674490451813, 0.06147794798016548, -0.018329452723264694, 0.035234518349170685, -0.0014643343165516853, -0.02201157622039318, -0.008867595344781876, 0.01751624047756195, -0.04407648742198944, -0.0057200235314667225, -0.0001227113389177248, -0.010838015004992485, -0.004226915538311005, -0.007198825012892485, 0.05732494592666626, 0.010493725538253784, 0.009673782624304295, -0.036964304745197296, 0.013038164004683495, 0.025893863290548325, 0.05066215619444847, -0.006675610784441233, 0.020663321018218994, 0.010514960624277592, -0.01031630951911211, 0.0017960899276658893, -0.041490450501441956, -0.025904957205057144, 0.014539135619997978, 0.04187364503741264, -0.031925905495882034, -0.061177268624305725, 0.02389444224536419, 0.04675706848502159, 0.017398105934262276, 0.016934458166360855, -0.002568223513662815, -0.005517526064068079, -0.014535877853631973, 0.027283579111099243, 0.0783676728606224, -0.04352165758609772, 0.017347892746329308, 0.004349781200289726, 0.022106390446424484, 0.004200359340757132, -0.002770985011011362, -0.05219290032982826, -0.02164141833782196, -0.014353436417877674, -0.018040161579847336, -0.037379082292318344, -0.01594049297273159, -0.02521633356809616, 0.007808787282556295, -0.006270631216466427, -0.04242197424173355, -0.024867141619324684, -0.017445601522922516, -0.009549580514431, -0.031246261671185493, -0.010795481503009796, -0.043638650327920914, 0.004345175344496965, 0.012947674840688705, -0.03342017903923988, 0.01716606691479683, -0.01697564870119095, 0.06078513711690903, 0.028436429798603058, -0.040451787412166595, -0.025797098875045776, -0.04489757865667343, 0.01300809532403946, -0.016061212867498398, 0.019493399187922478, -0.012121131643652916, -0.01839110068976879, -0.03847131133079529, -0.010231121443212032, -0.04021776467561722, -0.01488129235804081, -0.004356091842055321, -0.02335386350750923, 0.04227093234658241, 0.0835542306303978, 0.0020942543633282185, 0.04755489528179169, -0.01140405610203743, -0.0031753266230225563, 0.03312315419316292, -0.08534235507249832, -0.00918846856802702, -0.0295404139906168, -0.05408243462443352, 0.004076753277331591, -0.011202878318727016, 0.012913759797811508, -0.02527788281440735, 0.036524031311273575, 0.008850707672536373, 0.03776169568300247, 0.044147100299596786, -0.011144074611365795, 0.03700162470340729, -0.050075870007276535, 0.0016042707720771432, -0.08881232887506485, 0.019094645977020264, 0.04307248443365097, -0.013669936917722225, -0.012499118223786354, 0.0008419348741881549, -0.007754849269986153, 0.05993284657597542, -0.0512620210647583, -0.009467877447605133, 0.037462010979652405, 0.0012858432019129395, -0.022788573056459427, 0.02348789945244789, -0.05723163112998009, 0.01695452444255352, 0.02654353901743889, -0.03913278132677078, -0.044396258890628815, -0.009423921816051006, 0.039567314088344574, 0.0262376070022583, -0.00464988499879837, -0.05412278696894646, 0.004227610304951668, 0.06079455465078354, 0.012165485881268978, 0.006070087663829327, 0.03553538769483566, -0.00792164821177721, 0.03356317803263664, 0.029098613187670708, -0.004880381282418966, -0.02374354563653469, 0.0073323543183505535, -0.007049808278679848, -0.03680001571774483, 0.026935700327157974, 0.005940043833106756, -0.03766956552863121, -0.03325583040714264, 0.05729913339018822, 0.03005812130868435, -0.014677769504487514, -0.03352434188127518, 0.008325177244842052, -0.07348199933767319, -0.011484217830002308, -0.0215818602591753, 0.0010495518799871206, -0.042340442538261414, 0.06502599269151688, 0.029482655227184296, -0.02926700934767723, 0.06502193212509155, -0.007448696997016668, -0.016536986455321312, 0.005088254809379578, 0.08530823886394501, 0.06479746103286743, 0.07574064284563065, -0.011579222045838833, 0.0640861839056015, -0.027948962524533272, -0.044906698167324066, 0.020548174157738686, -0.011418253183364868, 0.004235009662806988, -0.032937001436948776, 0.03210101276636124, 0.06269370019435883, 0.00722174346446991, 0.06494935601949692, -0.030524304136633873, 0.00577585818246007, -0.006182574201375246, 0.0035135061480104923, 0.0027543827891349792, 0.07938317954540253, 0.004538238514214754, 0.010097862221300602, 0.008510168641805649, -0.03256850689649582, 0.01600569859147072, -0.05371410772204399, -0.0017529763281345367, 0.00659690797328949, 0.0015702949604019523, 0.026749184355139732, 0.02364267222583294, 0.007026613224297762, 0.05737847834825516, -0.02955934964120388, 0.01878875494003296, -0.013729928992688656, 0.04395570233464241, -0.0003496154386084527, -0.019104277715086937, -0.02764519862830639, -0.01201164536178112, 0.0009468437638133764, 0.010788544081151485, -0.008165454491972923, -0.011034845374524593, -0.017958341166377068, 0.03463901951909065, -0.014045764692127705, 0.004474450834095478, 0.04313155263662338, -0.0076478999108076096, -0.016002342104911804, -0.06717996299266815, -0.03300142660737038, -0.0397244431078434, -0.05095190927386284, -0.02633989043533802, 0.01623031497001648, -0.016824230551719666, -0.03730740398168564, -0.016142712906003, -0.0209814365953207, -0.019178476184606552, 0.028570283204317093, -0.033265210688114166, -0.06716876477003098, 0.02804870344698429, -0.008189220912754536, 0.04780726879835129, 0.02550988644361496, 0.046667855232954025, 0.0012143069179728627, 0.0008162867743521929, -0.038144733756780624, -0.021268567070364952, 0.047970712184906006, -0.0026299073360860348, 0.023138243705034256, -0.07210471481084824, 0.01728000119328499, 0.009557315148413181, 0.027685806155204773, -0.06007014960050583, 0.018377650529146194, -0.01302899606525898, -0.001644509145990014, 0.051949240267276764, -0.031138932332396507, 0.008385264314711094, -0.0561651848256588, 0.006982354447245598, 0.00892642978578806, 0.04063902050256729, 0.04026835784316063, -0.028405195102095604, 0.08312847465276718, -0.030577069148421288, -0.019185468554496765, -0.031807105988264084, -0.00935274176299572, -0.019622931256890297, -0.003811419475823641, -0.0010110590374097228, -0.06137455627322197, -0.041799385100603104, -0.050431568175554276, -0.006308824755251408, 0.012829861603677273, -0.021883303299546242, -0.03333175554871559, 0.03749173507094383, 0.017222194001078606, -0.07284832745790482, 0.034266334027051926, -0.04892602935433388, 0.03079123981297016, -0.008970957249403, -0.020983586087822914, 0.028153903782367706, 0.004144344944506884, -0.014986477792263031, -0.010151543654501438, 0.049991533160209656, -0.03458479419350624, -0.008273730985820293, 0.007866229861974716, 0.018974121659994125, 0.04230798780918121, -0.0009850016795098782, 0.012436333112418652 ]
[ -0.11091450601816177, 0.009858107194304466, -0.015423205681145191, -0.036327388137578964, 0.04708880931138992, -0.026508038863539696, -0.016669590026140213, 0.021561823785305023, -0.007056671194732189, -0.021682871505618095, -0.02104215696454048, -0.012674190104007721, -0.016084689646959305, 0.024054590612649918, 0.07286916673183441, 0.005894633010029793, -0.0033375967759639025, -0.05545288324356079, 0.009371441788971424, -0.008487442508339882, 0.00580776110291481, -0.01878078654408455, -0.04465389996767044, -0.029727986082434654, 0.019522706046700478, 0.009811275638639927, 0.032224010676145554, -0.07162360101938248, 0.00022719976550433785, -0.1888144165277481, 0.012596161104738712, 0.017519546672701836, 0.0327385775744915, -0.04028841853141785, -0.008716592565178871, 0.04418383911252022, 0.016553694382309914, 0.011236811056733131, -0.01431508269160986, 0.02859880030155182, 0.021626390516757965, 0.046973321586847305, -0.060902368277311325, -0.05425751209259033, 0.034163448959589005, -0.002567335031926632, -0.002747985301539302, -0.0356285385787487, -0.00502137653529644, 0.03702007606625557, -0.051140740513801575, -0.050679102540016174, -0.023498883470892906, -0.03095199167728424, -0.013452300801873207, 0.013114064000546932, 0.030331512913107872, 0.06618030369281769, 0.006100235041230917, 0.012645255774259567, 0.030454806983470917, -0.03701145574450493, -0.12581989169120789, 0.08268526196479797, 0.033083539456129074, 0.04700171574950218, -0.020020782947540283, -0.015707386657595634, -0.0190067607909441, 0.12205519527196884, -0.0005505306180566549, -0.010806663893163204, -0.02078988030552864, 0.07084156572818756, 0.03049728274345398, -0.014783225022256374, 0.0012125478824600577, 0.022797930985689163, 0.06204638257622719, -0.03308181092143059, -0.026488544419407845, -0.013542727567255497, -0.013777944259345531, 0.003226356813684106, -0.033961791545152664, 0.01714460179209709, 0.006772493477910757, 0.07383708655834198, 0.07755191624164581, 0.0442291721701622, 0.05998614430427551, -0.02818301133811474, 0.02209695242345333, 0.009623493067920208, -0.08562460541725159, -0.031024783849716187, 0.014404959045350552, -0.010160205885767937, -0.038072410970926285, 0.41765162348747253, -0.0489320382475853, -0.020555244758725166, 0.0602792464196682, 0.01433009747415781, -0.025977667421102524, 0.012699969112873077, 0.02685505524277687, -0.030187973752617836, -0.01569512113928795, -0.018200065940618515, -0.014786147512495518, 0.020455658435821533, 0.031875334680080414, -0.05009106174111366, 0.008238117210566998, 0.03874124214053154, 0.018754078075289726, 0.020335417240858078, -0.02194025367498398, -0.004474891349673271, 0.008321044966578484, 0.011002643033862114, 0.010976704768836498, -0.006971970200538635, 0.015026155859231949, -0.03347761183977127, 0.025020549073815346, 0.0552116334438324, 0.03273797780275345, 0.01622585393488407, 0.05073907598853111, -0.031933531165122986, -0.07341335713863373, 0.00694802962243557, -0.02092299610376358, 0.0020815772004425526, 0.025393689051270485, -0.027308190241456032, -0.012150856666266918, 0.03644473850727081, 0.018680257722735405, 0.0190679170191288, 0.019573798403143883, -0.02720830962061882, -0.03888407349586487, 0.10148702561855316, 0.0015498680295422673, -0.016035715118050575, -0.011623228900134563, -0.06523635983467102, 0.04349317029118538, 0.04221799969673157, -0.009327513165771961, -0.06651592999696732, 0.03351721540093422, 0.02098252810537815, 0.07302528619766235, -0.011350562795996666, -0.04504390433430672, -0.018470128998160362, -0.04690617695450783, -0.0044115944765508175, -0.04561599716544151, 0.019474470987915993, 0.03289097920060158, -0.06667151302099228, -0.04316093027591705, 0.006156350485980511, 0.03546687215566635, -0.09251417219638824, -0.025525186210870743, 0.01529172994196415, -0.05915237218141556, -0.030498161911964417, 0.05565327778458595, -0.03194321691989899, -0.051467154175043106, 0.0022091916762292385, 0.0487348847091198, 0.029068198055028915, 0.04850050061941147, 0.027914728969335556, -0.029809555038809776, 0.004456805530935526, -0.02724715694785118, -0.05825323238968849, -0.010935667902231216, -0.01948125846683979, -0.03577694296836853, -0.014151833020150661, -0.018249666318297386, -0.0392768532037735, -0.07225671410560608, 0.08876651525497437, -0.04409302771091461, -0.013999402523040771, 0.02587989717721939, -0.01222463883459568, -0.01619446836411953, -0.029904838651418686, -0.000429751118645072, 0.03983662277460098, -0.02677251771092415, 0.02531789429485798, -0.04894455522298813, 0.05776681378483772, 0.043094806373119354, -0.054296694695949554, 0.08521528542041779, 0.05811556428670883, -0.05784599110484123, -0.0313354954123497, 0.0621265284717083, 0.0100646261125803, -0.0026992789935320616, -0.0014815712347626686, -0.005416903179138899, 0.03320103883743286, -0.011642242781817913, 0.05397164821624756, 0.002373960567638278, -0.012209027074277401, -0.019224511459469795, -0.35072755813598633, -0.036233410239219666, -0.023553045466542244, -0.0024381817784160376, 0.03239629417657852, -0.06359133124351501, -0.009812472388148308, -0.014214900322258472, -0.02207164280116558, -0.023575732484459877, 0.08715396374464035, 0.003498715115711093, -0.0011516455560922623, -0.12178893387317657, -0.0013011883711442351, -0.0005610784282907844, -0.04511929303407669, -0.034218691289424896, -0.02918821945786476, -0.013575870543718338, 0.008331423625349998, -0.006614704616367817, -0.020578967407345772, -0.06287357211112976, 0.02365724928677082, -0.048981692641973495, 0.09285726398229599, -0.03555797040462494, 0.13978759944438934, -0.02353600785136223, 0.036330852657556534, 0.0022993599995970726, 0.03284886106848717, -0.10250341892242432, 0.014013439416885376, -0.02338513918220997, 0.011710317805409431, -0.014305880293250084, 0.021622052416205406, -0.0425075888633728, -0.03210895135998726, 0.0174553245306015, -0.059929315000772476, -0.03194722533226013, -0.0681891143321991, 0.00630322378128767, -0.02860436402261257, -0.02798275649547577, -0.048194270581007004, 0.0640098974108696, 0.008506244979798794, -0.006972317583858967, 0.019344396889209747, 0.03988327458500862, 0.008226600475609303, -0.020046299323439598, -0.0937185063958168, 0.014104975387454033, -0.00625632144510746, -0.027518000453710556, 0.05723430588841438, 0.04033675044775009, 0.03165570646524429, -0.04072658345103264, -0.00661160284653306, 0.019953690469264984, 0.004804156720638275, -0.015085984952747822, 0.08587794005870819, -0.0022314374800771475, -0.005190982483327389, 0.08013532310724258, -0.012922733090817928, -0.005003171507269144, 0.040719736367464066, 0.017694655805826187, -0.031008416786789894, 0.033346500247716904, 0.012512421235442162, -0.019360926002264023, 0.006873017642647028, -0.01274014636874199, 0.027350623160600662, -0.03319884464144707, -0.020457888022065163, 0.016353590413928032, -0.001401885412633419, -0.022479576990008354, 0.03300914168357849, 0.00765454163774848, -0.023318421095609665, 0.01929384469985962, 0.007648400962352753, -0.06670431792736053, 0.06889638304710388, -0.003000880591571331, -0.2322646677494049, -0.0011365702375769615, 0.07365130633115768, 0.03588901087641716, -0.027326539158821106, 0.022899383679032326, 0.03643345087766647, -0.084038645029068, -0.004783077165484428, 0.013013713993132114, 0.010853249579668045, 0.029847566038370132, -0.0005688556702807546, 0.0025218818336725235, 0.047812048345804214, -0.003563585923984647, 0.048544298857450485, -0.007591152563691139, 0.03882693871855736, -0.02901073358952999, 0.02771029993891716, -0.01285126805305481, 0.17107339203357697, -0.0007801315514370799, 0.031924862414598465, 0.022754501551389694, 0.025634899735450745, -0.006934699602425098, 0.10689584910869598, 0.005252429284155369, 0.017952123656868935, -0.01771514117717743, 0.06157101318240166, 0.0153266666457057, 0.019134117290377617, -0.07864416390657425, -0.04402610659599304, 0.03739912435412407, 0.008636226877570152, 0.01465766504406929, 0.015864823013544083, 0.014656182378530502, -0.02343968115746975, 0.018243052065372467, 0.05367027595639229, 0.005896047223359346, 0.003533284179866314, -0.01616380549967289, -0.07641123235225677, -0.011329504661262035, -0.040175579488277435, -0.008407756686210632, 0.02163107506930828, -0.011914311908185482, 0.02515030838549137, 0.046911779791116714, 0.04858359694480896, -0.01731523685157299, 0.003986123017966747, 0.023552054539322853, 0.006254218053072691, -0.009771311655640602, 0.11363069713115692, 0.04264372959733009, 0.04119247943162918 ]
[ -0.010470932349562645, -0.023970462381839752, -0.007010274101048708, 0.025467408820986748, -0.0022964095696806908, 0.01913229562342167, 0.00486020790413022, 0.03704972565174103, 0.016321497038006783, 0.022156333550810814, -0.03381066769361496, 0.003990466240793467, -0.006099606864154339, -0.005181768909096718, 0.014436357654631138, -0.04372058063745499, -0.0175186675041914, 0.0013923654332756996, 0.03723650053143501, 0.003936294466257095, -0.01219923421740532, 0.011735685169696808, -0.008453168906271458, -0.0021638716571033, -0.01342486310750246, -0.027407560497522354, -0.0015360161196440458, -0.01856737770140171, 0.0207570381462574, -0.13743707537651062, -0.04368111118674278, 0.003035185858607292, -0.02229025959968567, 0.014667264185845852, -0.021272068843245506, -0.010521858930587769, -0.009122948162257671, 0.005125945899635553, -0.012725361622869968, -0.009315825067460537, -0.007211079355329275, -0.04108376428484917, 0.015175792388617992, -0.0009622583747841418, 0.00009943824989022687, -0.009545911103487015, 0.01503775641322136, -0.03898526728153229, -0.023128919303417206, 0.0035154621582478285, -0.008788718841969967, 0.027217131108045578, -0.014605190604925156, 0.0018387521849945188, 0.013123263604938984, -0.010787472128868103, 0.060433149337768555, -0.0038841080386191607, 0.026749540120363235, 0.03909052908420563, -0.01946360245347023, -0.027427779510617256, -0.03076888434588909, -0.037215787917375565, -0.013326096348464489, 0.004146774299442768, -0.011205573566257954, 0.002104838378727436, -0.009900321252644062, -0.0023225012701004744, 0.01184473279863596, 0.017795752733945847, -0.017839904874563217, -0.011514600366353989, 0.01339564099907875, 0.00039403518894687295, -0.011464854702353477, -0.034276384860277176, 0.018620070070028305, -0.02258710190653801, -0.026279479265213013, 0.05350349098443985, 0.013844571076333523, -0.008882018737494946, 0.027626249939203262, 0.03648403286933899, -0.004931954201310873, 0.001977856270968914, 0.01179761067032814, 0.015373094007372856, -0.013447342440485954, 0.03189597278833389, -0.013829445466399193, 0.02911885268986225, -0.07664508372545242, -0.02609913796186447, 0.005900691729038954, -0.039359405636787415, -0.008162985555827618, 0.8527194857597351, -0.027651600539684296, 0.041837893426418304, 0.018260279670357704, 0.010954947210848331, -0.015403478406369686, -0.01566348783671856, 0.05557968467473984, -0.0006578589091077447, -0.012388089671730995, -0.07432321459054947, 0.018370341509580612, 0.025995958596467972, 0.029113654047250748, 0.013229292817413807, 0.00032749201636761427, 0.003568499581888318, -0.005260733887553215, -0.012647231109440327, -0.0024598592426627874, 0.0018200041959062219, 0.04985061287879944, -0.022650927305221558, -0.009753352962434292, 0.06554902344942093, 0.02620304375886917, -0.17399603128433228, -0.0226239413022995, -8.386069268946326e-33, 0.03855688124895096, 0.005342905875295401, -0.0004391353577375412, 0.002475224668160081, 0.008570723235607147, 0.006733933929353952, 0.08134391158819199, 0.016572382301092148, 0.003021597396582365, -0.008870678953826427, -0.007761735003441572, -0.01925017684698105, -0.027609845623373985, -0.011556784622371197, 0.013166927732527256, -0.010564936324954033, -0.012984557077288628, 0.025778627023100853, -0.033285003155469894, 0.006576167419552803, 0.04619986191391945, 0.03497888520359993, 0.004908077884465456, -0.017423314973711967, 0.033458661288022995, 0.01106587890535593, -0.017792630940675735, 0.04633956402540207, 0.0045939236879348755, -0.033600568771362305, -0.04201246052980423, 0.011509310454130173, -0.02820342592895031, -0.01760845258831978, 0.03163367882370949, -0.04094390198588371, 0.006612417288124561, 0.015552251599729061, -0.030960163101553917, 0.0058751399628818035, -0.0007081908406689763, 0.01373577956110239, -0.06909472495317459, -0.010622398927807808, -0.015614309348165989, -0.003467201953753829, -0.004629041533917189, 0.02010330744087696, 0.01674814336001873, -0.015067853964865208, 0.0135230403393507, 0.030098386108875275, -0.005904613994061947, -0.022892754524946213, 0.00920857023447752, 0.027794137597084045, -0.0033249652478843927, -0.005185127258300781, 0.030958062037825584, 0.06248415634036064, 0.0008553367224521935, -0.00315301981754601, -0.036302827298641205, 0.011141031049191952, -0.04087662324309349, -0.011140499264001846, 0.007328604813665152, -0.026822395622730255, 0.02845166064798832, -0.03433021530508995, -0.03304942697286606, -0.0026882668025791645, 0.005655352026224136, -0.007454623468220234, 0.036844849586486816, 0.023451585322618484, -0.015524612739682198, 0.003620029892772436, -0.015126673504710197, -0.006159551441669464, 0.025964869186282158, -0.009434862062335014, -0.05039392039179802, -0.026628609746694565, 0.006280999630689621, -0.014921540394425392, -0.004115206189453602, -0.03723330795764923, -0.006667801178991795, -0.020540475845336914, 0.03663279488682747, -0.00624192925170064, 0.011939514428377151, -0.02336973324418068, -0.02490634098649025, 8.82712283089851e-33, -0.007710843812674284, 0.0019783934112638235, -0.013215812854468822, 0.014322605915367603, -0.005025811027735472, -0.017721163108944893, 0.021227475255727768, -0.020000947639346123, -0.029722025617957115, 0.04767349362373352, -0.02242707833647728, -0.014123314060270786, -0.032929688692092896, 0.01674516126513481, 0.014305236749351025, 0.004169160034507513, 0.018405815586447716, -0.04745643585920334, 0.02010754868388176, 0.017690682783722878, 0.022991430014371872, 0.0020881639793515205, 0.025460578501224518, 0.000350614805938676, 0.0026118136011064053, 0.06993121653795242, -0.05297628417611122, 0.011129745282232761, 0.019642969593405724, 0.004982511978596449, 0.0010858941823244095, 0.015584384091198444, 0.0361696295440197, -0.03156760334968567, -0.009444361552596092, 0.015725361183285713, 0.009800679050385952, -0.016353638842701912, 0.024457493796944618, 0.02228093147277832, 0.04601996764540672, -0.014329957775771618, 0.02964344434440136, 0.016945723444223404, 0.004086398519575596, 0.020658254623413086, 0.0040089902468025684, -0.004890658892691135, 0.0043646059930324554, 0.029451647773385048, 0.006082837004214525, -0.014758475124835968, -0.018532659858465195, -0.02018631249666214, -0.012859517708420753, -0.0263593178242445, -0.011612114496529102, 0.00594652583822608, -0.006091612856835127, 0.023016486316919327, 0.012680595740675926, 0.00023368945403490216, -0.021130356937646866, 0.01755938120186329, -0.0032845681998878717, 0.010442696511745453, 0.02155213989317417, 0.001293639070354402, 0.02148870751261711, 0.0171340424567461, -0.028060749173164368, -0.010217594914138317, 0.008065082132816315, 0.03208215534687042, -0.0016427336959168315, -0.027400881052017212, -0.01946341246366501, -0.02162286452949047, 0.005258847959339619, 0.02073363959789276, 0.008802897296845913, -0.012391027994453907, -0.002618311671540141, -0.015228026546537876, -0.05108005553483963, 0.05542004853487015, 0.00042959817801602185, 0.046976711601018906, -0.004802188370376825, -0.018495550379157066, -0.028980346396565437, -0.00961914099752903, 0.033215705305337906, -0.008063762448728085, 0.016447745263576508, -1.39633744566936e-8, 0.001235312083736062, -0.0033435572404414415, -0.012242250144481659, 0.006319966167211533, 0.007215895224362612, -0.007353018969297409, -0.023094143718481064, 0.015586849302053452, 0.007660579867660999, 0.0007762954337522388, -0.00986300315707922, -0.003984531387686729, 0.007135472260415554, -0.011782563291490078, 0.03066822700202465, -0.032756540924310684, -0.008733408525586128, -0.02423143945634365, 0.026945896446704865, 0.021352052688598633, 0.019211482256650925, 0.08907407522201538, -0.029275022447109222, 0.01249505952000618, -0.02245282754302025, 0.005941824056208134, 0.0036322136875241995, -0.048998232930898666, -0.039755966514348984, 0.014916980639100075, 0.027827415615320206, -0.01415237132459879, -0.041695162653923035, 0.036532074213027954, -0.03181755542755127, -0.029864510521292686, 0.02654081955552101, 0.015460693277418613, 0.0030131537932902575, -0.00716398237273097, 0.007325212005525827, 0.005793162155896425, 0.009017013013362885, -0.03526804596185684, -0.05533292889595032, -0.011551108211278915, -0.026364851742982864, -0.026020869612693787, 0.02285016141831875, -0.049407560378313065, 0.011566856876015663, 0.025320347398519516, -0.0052351681515574455, 0.026636535301804543, -0.016072865575551987, 0.0418127067387104, 0.012688425369560719, -0.0121188685297966, -0.034345030784606934, -0.006181111093610525, 0.014377107843756676, 0.018581826239824295, -0.005484807305037975, -0.028625208884477615 ]
coding-quick-feedback
https://markhneedham.com/blog/2009/07/20/coding-quick-feedback
false
2009-07-18 10:40:30
Book Club: The Dreyfus Model (Stuart and Hubert Dreyfus)
[ "learning", "dreyfus-model" ]
[ "Book Club" ]
In our latest book club we discussed the http://blog.bruceabernethy.com/mirror/dreyfusdoc.pdf[Dreyfus Model], a paper written in 1980 by Stuart and Hubert Dreyfus. I've become quite intrigued by the Dreyfus Model particularly since reading about its applicability to software development in Andy Hunt's http://www.markhneedham.com/blog/2008/10/06/pragmatic-learning-and-thinking-book-review/[Pragmatic Learning and Thinking] and after looking through Pat Kua's presentation on 'http://www.thekua.com/atwork/presentations-and-papers/xp2009/[Climbing the Dreyfus Ladder of Agile Practices]' I thought it'd be interesting to study the original paper. These are some of my thoughts and our discussion of the paper: * We discussed what actually counts as experience at a skill with regards to the idea that it takes 10,000 hours of practice to become an expert at something, and http://camswords.wordpress.com/[Cam] made an interesting observation that '*if you don't have a change of thinking from doing something then you haven't had an experience*'. I really like this as a barometer to tell whether you're actually learning something or just reapplying what you already know. I find http://www.markhneedham.com/blog/category/pair-programming/[pair programming] is an excellent practice for encouraging this. From reading http://www.markhneedham.com/blog/2008/12/29/talent-is-overrated-book-review/[Talent is Overrated] I learnt that the important thing is that the tasks you are doing are slightly more difficult than your current ability so that you are always stretching yourself. * I've learnt that *it's not actually possible to skip the levels on the Dreyfus model* when learning a new skill - previously when I've looked at it I always thought that it should be possible to do that but from experience I think you always need to spend some time at each stage while you are finding your feet and this time can be unbelievably frustrating. I think it's useful to recognise that this frustration is because you are a novice and don't have a good way to problem solve yet and that it will get easier as you keep practicing. It's interesting how this can be applied to some of the agile practices because all of them come from a higher level principle that we are trying to achieve but you won't actually understand that principle until you have done the practice for a certain amount of time. At that stage you have a better understanding of why the practice is useful which allows you to choose when it is useful and when a different approach might be more effective. * We discussed *whether you need to be a master to be able to teach a skill to people*. I don't think these are correlated and that actually to be able to teach someone the more important thing is your skill at teaching on the Dreyfus model. At school for example I often found that the better teachers were the ones who had the ability to explain things in a way that students could understand rather than being the absolute best at the skill themselves. * http://intwoplacesatonce.com/[Dave] mentioned that he is frequently asked how he knows a certain skill and has therefore started becoming more aware of how this happens so that he's able to do this more effectively. I've often found that understanding the way that more experienced practitioners think about problems is far more useful than just asking them to solve a problem you're having trouble with. * Before the session we arranged for a few of us to try and come up with the behaviours needed for different skills and where they fitted on the Dreyfus model. There was a unanimous feeling that this was actually really difficult which also suggested that *you can have a level of skill at using and understanding the Dreyfus model!* I think it would be quite useful to identify the behaviours that you want to acquire so that you have some sort of roadmap for developing your ability at a certain skill but we also discussed the fact that the Dreyfus model is actually very useful as a reflection tool when working out where your ability with a certain skill lies and how you can change that. I think tracking your improvement against the Dreyfus model would be far more effective than a typical http://www.businessweek.com/managing/content/jun2009/ca20090630_570973.htm[performance review]. * We spoke about http://en.wikipedia.org/wiki/Beginner%27s_luck[beginner's luck] and how we ofen do things much better when we first start doing them as it is pretty much reflective without too much analysis which would potentially ruin our performance. At this stage we are http://www.businessballs.com/consciouscompetencelearningmodel.htm[unconsciously incompetent] at the skill so we just do it. I think having some success at a skill due to this actually results in motivation to keep on improving and actually improving our skill level. I think the Dreyfus model in general is a really cool thing to learn about although I found that the way it is presented in Pragmatic Learning and Thinking is more accessible than the original paper. It's interesting that it was written about nearly 30 years ago and we don't make use of it as much as we could.
null
null
[ 0.0024222058709710836, 0.029679065570235252, -0.012232976034283638, 0.03489736095070839, 0.08551733195781708, -0.004292966332286596, 0.015290294773876667, 0.03304917737841606, 0.02561955899000168, -0.018353493884205818, -0.015976762399077415, 0.019856244325637817, -0.026562083512544632, 0.01399607490748167, -0.025358296930789948, 0.07711900770664215, 0.05652924254536629, 0.0038572903722524643, 0.01580023393034935, 0.0008178059943020344, 0.03189108893275261, 0.08788932114839554, 0.038831837475299835, 0.026623526588082314, 0.045981619507074356, 0.006282074376940727, 0.014115807600319386, -0.0038129622116684914, -0.036037132143974304, 0.012423478998243809, 0.02051885984838009, -0.0008457608055323362, 0.0025102896615862846, -0.0050114793702960014, 0.01568416878581047, -0.01429022941738367, 0.004531488753855228, 0.01466661598533392, 0.007473763544112444, 0.019090892747044563, -0.06237953156232834, 0.05135591700673103, -0.014188672415912151, 0.010240413248538971, -0.06179415434598923, 0.01135463360697031, -0.043200939893722534, 0.008758925832808018, 0.019796645268797874, 0.006682783365249634, -0.05883292481303215, 0.033071767538785934, 0.011367377825081348, -0.02126683108508587, -0.027854647487401962, 0.06171935796737671, -0.007053365930914879, -0.04551210626959801, 0.016094237565994263, -0.038607146590948105, -0.006385223474353552, -0.002220695372670889, 0.01994275487959385, 0.05389579012989998, 0.03321627154946327, -0.045355625450611115, -0.011996968649327755, 0.024229517206549644, -0.0544736385345459, 0.012776261195540428, -0.03164340555667877, 0.014645650051534176, 0.005758656654506922, -0.016863534227013588, 0.002478701760992408, -0.042061205953359604, 0.033908482640981674, 0.06964462995529175, 0.014927533455193043, 0.023029189556837082, 0.0009043618338182569, 0.01845228672027588, 0.005201142281293869, 0.0353919081389904, -0.04289599508047104, -0.0279824398458004, 0.00024595350259914994, -0.021696247160434723, -0.0665530413389206, 0.046172674745321274, -0.010435855947434902, -0.06316131353378296, -0.007048802450299263, 0.033000580966472626, 0.0026704806368798018, 0.00891856849193573, 0.05081085488200188, -0.004762385040521622, -0.044133663177490234, -0.02056165598332882, -0.016445567831397057, -0.01969188265502453, 0.012358191423118114, 0.004347735550254583, -0.08071932196617126, 0.01810097135603428, -0.011659123003482819, -0.013035910204052925, 0.005830601789057255, 0.02075956203043461, -0.025561561807990074, 0.029659520834684372, -0.03683578595519066, 0.019396986812353134, -0.06810399889945984, 0.059024568647146225, 0.00880244467407465, -0.039602480828762054, 0.005903717130422592, 0.006382153835147619, 0.02049926482141018, 0.019250566139817238, -0.011940735392272472, 0.07357385754585266, 0.017638958990573883, 0.006648538634181023, -0.01666136644780636, 0.0536234974861145, -0.02258365973830223, -0.045895207673311234, -0.004747952800244093, 0.04216452315449715, -0.04939846694469452, -0.0179915688931942, -0.001010972773656249, -0.03110218606889248, 0.01601588726043701, 0.019405003637075424, 0.02159879170358181, 0.08600180596113205, -0.001534395618364215, -0.03499392047524452, 0.012881621718406677, 0.00039332223241217434, 0.022922491654753685, -0.010591297410428524, 0.0013346634805202484, -0.012188457883894444, -0.03828934580087662, -0.014973423443734646, 0.0033988335635513067, 0.009092374704778194, 0.017556853592395782, -0.02066521905362606, 0.026694608852267265, 0.06991368532180786, 0.02731969580054283, 0.023122940212488174, -0.004004687070846558, 0.025974145159125328, 0.0460340678691864, 0.021714385598897934, 0.013490602374076843, 0.010110895149409771, 0.002590574324131012, -0.008001454174518585, -0.0033387017901986837, 0.05048435926437378, -0.02769060991704464, 0.008769857697188854, -0.06112399324774742, -0.006625046022236347, 0.053575076162815094, -0.05166063457727432, -0.034125663340091705, 0.05150771513581276, 0.06254743039608002, 0.04801297187805176, 0.051595546305179596, -0.009564483538269997, -0.08216709643602371, 0.029469171538949013, 0.017265427857637405, 0.02053179033100605, 0.012531322427093983, -0.0305771604180336, 0.05553703382611275, 0.032435256987810135, 0.007818687707185745, 0.048252206295728683, -0.07958739995956421, -0.09325066953897476, -0.025974847376346588, -0.03060510754585266, 0.06391163170337677, -0.03445224091410637, 0.030692078173160553, 0.08725158125162125, 0.004936737008392811, 0.05679474025964737, 0.03046869859099388, -0.011278553865849972, 0.0184167567640543, -0.028922179713845253, -0.04115350544452667, 0.05485714226961136, 0.021186767145991325, -0.004657839424908161, -0.027135539799928665, 0.0009403155418112874, -0.005917536560446024, -0.01407232228666544, 0.04807212948799133, -0.0007355009438470006, 0.023707250133156776, 0.011225118301808834, 0.06488946825265884, -0.024229397997260094, 0.03671891242265701, -0.011472178623080254, 0.008523457683622837, -0.0013460927875712514, -0.0007118870271369815, 0.02663228288292885, 0.0055810450576245785, 0.11735425889492035, 0.07483639568090439, -0.037383269518613815, -0.03071855939924717, 0.01857300102710724, 0.004665346350520849, -0.04336882382631302, 0.01797543466091156, -0.005912011954933405, 0.03230016678571701, -0.009552817791700363, -0.05755873769521713, -0.027755165472626686, 0.023047009482979774, -0.05244619771838188, -0.0018070555524900556, 0.06873062998056412, -0.013626080006361008, 0.07255692780017853, -0.010003812611103058, 0.012393034063279629, -0.0021450079511851072, 0.017676789313554764, -0.040204208344221115, 0.005506299436092377, 0.0013933877926319838, -0.015481631271541119, 0.04731294512748718, -0.036509960889816284, -0.043020933866500854, -0.03502742573618889, -0.044315122067928314, 0.023689765483140945, 0.0753098800778389, 0.04806707799434662, -0.012891152873635292, 0.06145136430859566, -0.0110697690397501, 0.0524132214486599, 0.005730366334319115, -0.036581337451934814, -0.03757967799901962, -0.07158167660236359, 0.010830924846231937, 0.04046116769313812, 0.0018376260995864868, 0.009420706890523434, 0.014452009461820126, 0.02459503896534443, -0.03098183497786522, -0.007352885790169239, 0.03309045359492302, 0.0009133421117439866, -0.038158487528562546, -0.0271469596773386, -0.0383257195353508, 0.06446412205696106, -0.03452058136463165, -0.010926694609224796, 0.011389542371034622, -0.09664033353328705, 0.023156655952334404, -0.05218266323208809, -0.02907388098537922, 0.013482347130775452, 0.014918006025254726, 0.05267620086669922, 0.02780531719326973, 0.029921039938926697, 0.042170003056526184, 0.007561513688415289, 0.008189189247786999, -0.013923107646405697, -0.00645499536767602, 0.032246168702840805, -0.00733965216204524, -0.015244808979332447, 0.03331206738948822, 0.022847261279821396, 0.030519288033246994, -0.03752843290567398, 0.055725157260894775, -0.022266358137130737, -0.2878274619579315, 0.027034176513552666, 0.028101395815610886, -0.03738159313797951, 0.018163731321692467, -0.01412587333470583, 0.001659893780015409, -0.06741997599601746, -0.023635540157556534, 0.008975738659501076, -0.058403126895427704, -0.035184815526008606, -0.04335751011967659, 0.0669839009642601, 0.011902809143066406, 0.03187471628189087, 0.025334222242236137, -0.055555328726768494, -0.0012798212701454759, 0.060706667602062225, -0.012320361100137234, -0.07335672527551651, -0.012314414605498314, 0.056804392486810684, 0.0338762067258358, 0.042659156024456024, -0.08239628374576569, 0.023284630849957466, -0.059369344264268875, 0.0074182916432619095, -0.0023396527394652367, 0.0062747253105044365, 0.022525979205965996, -0.015071110799908638, 0.0027983756735920906, -0.011014350689947605, 0.04999323561787605, 0.013853167183697224, -0.011133461259305477, 0.023941239342093468, -0.004614787641912699, -0.021356310695409775, 0.004145949613302946, 0.0036349426954984665, 0.07417044043540955, 0.013360884971916676, -0.06799694150686264, -0.01660076528787613, -0.015380414202809334, 0.07525051385164261, -0.04152563214302063, -0.04574839025735855, -0.0007106492994353175, 0.04350249841809273, 0.001097894855774939, -0.004910448100417852, 0.007975174114108086, -0.033493924885988235, -0.03150225803256035, -0.04432496428489685, -0.0063553061336278915, -0.012976988218724728, 0.0064210849814116955, -0.053009361028671265, -0.01984412968158722, -0.075068898499012, -0.07252844423055649, -0.006515419576317072, 0.06712666153907776, 0.019113829359412193, -0.06233751028776169, 0.002704351209104061, -0.011497186496853828, -0.1040458232164383, -0.008665069006383419, -0.012893738225102425, -0.0193242859095335, 0.009042028337717056, 0.03256496787071228, 0.05323587730526924, -0.0329899825155735, -0.05759792774915695, 0.006436662282794714, 0.0005514646763913333, 0.04248461127281189, -0.024266770109534264, 0.027186332270503044, 0.01930699497461319, -0.029201267287135124, 0.01089437585324049, 0.0598461776971817, 0.02868107706308365, -0.01726330630481243, -0.022125467658042908, 0.020214373245835304, 0.011675071902573109, 0.02847682125866413, 0.006357467733323574, 0.03333544731140137, 0.037790447473526, -0.014707397669553757, -0.03537402302026749, 0.02684077061712742, -0.029652714729309082, -0.028255010023713112, -0.014751006849110126, -0.05460929498076439, 0.021162547171115875, 0.0409197099506855, -0.004168361891061068, -0.00980372354388237, -0.017518039792776108, 0.024247154593467712, -0.034970853477716446, -0.030593914911150932, -0.030586551874876022, 0.00729519035667181, 0.05591600015759468, -0.030255934223532677, -0.0068287025205791, -0.0721920058131218, 0.01893274486064911, -0.024053163826465607, -0.032307643443346024, -0.06559793651103973, -0.03768391162157059, -0.006953011266887188, -0.04575897753238678, -0.008042908273637295, 0.021923182532191277, -0.010963993147015572, 0.0005714945145882666, 0.02853848971426487, -0.026237884536385536, 0.022708583623170853, -0.05027908831834793, -0.07147274911403656, -0.03129120171070099, -0.011592435650527477, 0.002680330304428935, -0.016038822010159492, 0.016050364822149277, -0.006097377743571997, 0.012625244446098804, 0.01673385500907898, 0.0022794953547418118, -0.009963218122720718, 0.01172699499875307, 0.025275005027651787, 0.026608256623148918, 0.00850382074713707, -0.035314396023750305, 0.02700594812631607, -0.03040284849703312, -0.03471564128994942, -0.006240308750420809, 0.021705131977796555, -0.019310476258397102, -0.01842349022626877, -0.01200488768517971, 0.02296745590865612, -0.049916911870241165, -0.03630010038614273, -0.05070709437131882, 0.018861211836338043, 0.061637330800294876, -0.015268806368112564, 0.04049570485949516, -0.007900608703494072, -0.008800379931926727, 0.008821133524179459, 0.015466760843992233, -0.044243257492780685, -0.003402793314307928, 0.004077283665537834, -0.0008491792832501233, 0.011831745505332947, -0.0039274683222174644, 0.05236155912280083, -0.008897052146494389, -0.0014458054210990667, -0.06807353347539902, 0.001336845220066607, 0.0020365449599921703, 0.05635745823383331, 0.029450125992298126, 0.0003238344506826252, -0.012507877312600613, -0.03567390888929367, -0.03101208619773388, -0.030534615740180016, -0.003067887621000409, -0.010936025530099869, 0.03261526674032211, -0.042094144970178604, -0.06890159845352173, 0.04550561681389809, 0.03088909201323986, 0.0005236629513092339, 0.017655344679951668, -0.0069323149509727955, -0.010507311671972275, -0.026790115982294083, 0.027558906003832817, 0.04283086955547333, -0.06587301194667816, -0.0016720228595659137, -0.0228195209056139, 0.01033492386341095, 0.020864266902208328, -0.01755506731569767, -0.03882245346903801, -0.018915709108114243, -0.018226686865091324, 0.006541255861520767, -0.049568187445402145, -0.0007930151768960059, -0.03801463544368744, 0.009415380656719208, 0.020857924595475197, 0.00689742062240839, -0.0362374372780323, -0.015731964260339737, -0.016939479857683182, -0.026730243116617203, 0.017751825973391533, -0.05570550262928009, 0.004854429513216019, 0.01144422683864832, -0.05609695613384247, 0.009876553900539875, -0.023201795294880867, 0.02584499679505825, 0.006103515625, -0.020790990442037582, -0.019911345094442368, -0.026562076061964035, 0.008702188730239868, -0.018854569643735886, 0.052470747381448746, -0.009016221389174461, -0.012107158079743385, -0.04014846682548523, 0.0011975060915574431, -0.05312485247850418, 0.009205861948430538, -0.027105417102575302, -0.013508973643183708, 0.033719439059495926, 0.05386584252119064, 0.025824403390288353, 0.026280559599399567, -0.02518695779144764, -0.013658580370247364, 0.04062337428331375, -0.053343240171670914, -0.018206613138318062, -0.02585064247250557, -0.05454093590378761, 0.006503557786345482, 0.011823623441159725, 0.030392562970519066, -0.049679528921842575, 0.0609799362719059, 0.016808662563562393, 0.02573874406516552, 0.037140946835279465, 0.013565254397690296, 0.006102146580815315, -0.050836194306612015, 0.008871965110301971, -0.07569088041782379, -0.021261833608150482, 0.020692916586995125, -0.0038118616212159395, 0.004267900250852108, -0.0026189973577857018, -0.03861987963318825, 0.06993583589792252, -0.08731795847415924, -0.01169772632420063, 0.044195495545864105, -0.013570848852396011, -0.053411245346069336, 0.003372398903593421, -0.06479735672473907, 0.010114616714417934, 0.02768244966864586, -0.039310622960329056, -0.021456703543663025, -0.0067466129548847675, 0.047334060072898865, 0.00041205581510439515, 0.025139521807432175, -0.014016374945640564, -0.00007578773511340842, 0.060045819729566574, 0.016495702788233757, -0.01148785650730133, 0.05227550119161606, -0.004950528498739004, 0.021617934107780457, 0.037415459752082825, 0.017631856724619865, 0.006789267063140869, 0.004216715693473816, -0.010764997452497482, -0.06678365170955658, 0.02642880007624626, -0.01194982510060072, -0.02214019186794758, -0.03404199704527855, 0.049385916441679, 0.02100709080696106, -0.03955037146806717, -0.08406416326761246, 0.01941550150513649, -0.0664009377360344, -0.005733935162425041, -0.014991290867328644, 0.006194728892296553, -0.05445464700460434, 0.03202679753303528, -0.010787910781800747, 0.007736643310636282, 0.0552913174033165, -0.009538383223116398, -0.03277677670121193, -0.022786971181631088, 0.08583930134773254, 0.08485937118530273, 0.08930125832557678, -0.010095760226249695, 0.06987584382295609, -0.008867092430591583, -0.04715083912014961, -0.012556097470223904, -0.0017639838624745607, -0.01349483523517847, -0.05117182061076164, 0.030150141566991806, 0.07873605936765671, -0.013065990060567856, 0.0528467521071434, -0.017718644812703133, -0.025213615968823433, -0.006793078500777483, 0.04760606586933136, 0.000903684354852885, 0.07563990354537964, 0.02086029015481472, 0.02887900359928608, -0.03046676702797413, -0.058135468512773514, 0.04963116720318794, -0.021816769614815712, -0.023084448650479317, 0.020663728937506676, -0.019513489678502083, 0.03812853991985321, 0.015784429386258125, 0.04570484906435013, 0.07535207271575928, -0.05343513563275337, 0.023074068129062653, 0.002706943778321147, 0.02872753143310547, -0.01004390511661768, 0.014845671132206917, -0.019900543615221977, -0.008810802362859249, -0.011429620906710625, -0.03726108372211456, -0.020767467096447945, -0.03488247096538544, -0.023107096552848816, 0.025992028415203094, -0.04617795720696449, 0.01312605943530798, 0.031020982190966606, 0.006834948435425758, -0.03513787314295769, -0.06769987940788269, -0.02361554466187954, -0.03551783785223961, -0.03550611808896065, -0.018399031832814217, 0.01782720908522606, 0.001742253894917667, -0.04703321307897568, -0.003102020127698779, -0.012394034303724766, -0.026669200509786606, 0.05401991307735443, -0.03576638177037239, -0.018733849748969078, -0.002158951014280319, 0.002536024898290634, 0.016777876764535904, 0.0022152215242385864, 0.034263353794813156, 0.0013554943725466728, -0.011294951662421227, 0.013725686818361282, 0.010914856567978859, 0.03274925425648689, -0.0009105580975301564, 0.012044600211083889, -0.09248027950525284, -0.006566360127180815, 0.02376054786145687, -0.018088705837726593, -0.06066535413265228, 0.036466509103775024, 0.015473107807338238, -0.01185564137995243, 0.05303042009472847, -0.009629412554204464, 0.02525893598794937, -0.037721503525972366, -0.014778565615415573, -0.016685152426362038, 0.030274512246251106, 0.029640614986419678, -0.021115418523550034, 0.09240341931581497, -0.000251834251685068, -0.0012973169796168804, -0.04100731387734413, -0.03691110759973526, 0.001898101530969143, 0.012767004780471325, -0.018242403864860535, -0.009847440756857395, -0.02137494646012783, -0.06605788320302963, -0.01138238050043583, 0.030844811350107193, -0.03815917298197746, -0.02371859923005104, 0.023938072845339775, 0.025414222851395607, 0.014432032592594624, 0.028553728014230728, -0.04166780412197113, 0.012766649015247822, -0.027208928018808365, -0.01904229074716568, 0.01287966500967741, 0.00787367857992649, 0.00009465890616411343, -0.01716681197285652, -0.008348014205694199, -0.049209266901016235, -0.012720723636448383, 0.013708704151213169, 0.02607778273522854, 0.026630843058228493, 0.0016914518782868981, 0.0003886403574142605 ]
[ -0.10372260957956314, 0.004454482812434435, -0.014398397877812386, -0.023814484477043152, 0.007749828044325113, -0.018435629084706306, -0.014591392129659653, 0.004083842504769564, 0.0054731955751776695, -0.03037876822054386, 0.01438924577087164, -0.012072941288352013, 0.004693727474659681, -0.019670024514198303, 0.08979098498821259, 0.02019480988383293, -0.011545088142156601, -0.0688270553946495, 0.0001697853149380535, 0.007184875663369894, 0.0027547895442694426, -0.03849523514509201, -0.029247593134641647, -0.024218924343585968, 0.029504291713237762, 0.024369943886995316, 0.024151353165507317, -0.04905672371387482, 0.023618508130311966, -0.18214288353919983, 0.006613582372665405, 0.022892046719789505, 0.05276784300804138, -0.022627344354987144, -0.00847477838397026, 0.07308527082204819, 0.015977289527654648, 0.01811494491994381, -0.003925235942006111, 0.027487220242619514, 0.009258938021957874, 0.008551262319087982, -0.042895060032606125, -0.023800116032361984, 0.023992639034986496, 0.014581228606402874, -0.005966961849480867, -0.04082624986767769, -0.024137187749147415, -0.0007485494716092944, -0.06697344034910202, -0.050689708441495895, -0.027134733274579048, -0.018542522564530373, 0.009833336807787418, 0.03173534572124481, 0.027656860649585724, 0.06559137254953384, -0.022930817678570747, 0.03530833125114441, 0.012430571019649506, -0.012648466974496841, -0.14133983850479126, 0.07037045061588287, 0.03412637114524841, 0.05240260437130928, -0.041753243654966354, -0.0181819349527359, -0.016209105029702187, 0.07095197588205338, 0.01067077461630106, -0.024149850010871887, -0.03547694534063339, 0.027953993529081345, 0.03664436191320419, -0.004406523425132036, -0.0020777650643140078, 0.002287008101120591, 0.0428595170378685, -0.002289742464199662, -0.022935912013053894, 0.004046877846121788, -0.018077515065670013, -0.028422141447663307, -0.04165583476424217, 0.039285808801651, -0.009303786791861057, 0.03162337839603424, 0.020061878487467766, 0.02055618166923523, 0.04909336194396019, -0.0012679327046498656, 0.021691758185625076, -0.008922341279685497, -0.06659993529319763, -0.01178329810500145, 0.0066333734430372715, 0.020193876698613167, -0.053058721125125885, 0.4538346529006958, -0.03042495623230934, 0.002455528825521469, 0.08347555994987488, 0.026765065267682076, -0.012773786671459675, -0.011794930323958397, 0.007937022484838963, -0.0479712150990963, 0.03648911416530609, -0.037498220801353455, 0.015496870502829552, 0.016374409198760986, 0.07609305530786514, -0.04486248642206192, -0.002391915302723646, 0.054433923214673996, 0.016063932329416275, 0.020011182874441147, 0.011537924408912659, -0.006608971394598484, -0.003817988093942404, 0.007509707938879728, 0.04129412770271301, -0.0008701871847733855, -0.019895579665899277, -0.05387991666793823, 0.01744255982339382, 0.061378397047519684, 0.02334507182240486, -0.004366836044937372, 0.07195957005023956, -0.05125654116272926, -0.06674568355083466, -0.004987513646483421, 0.001431953627616167, -0.0018958704313263297, 0.02612423337996006, -0.012929189018905163, 0.012751571834087372, 0.04609856754541397, 0.013446418568491936, 0.006523144897073507, 0.04584791883826256, -0.021436797454953194, -0.037825968116521835, 0.10679148882627487, 0.03467651456594467, -0.038367822766304016, -0.008498850278556347, -0.027338387444615364, -0.004333982244133949, 0.01288294605910778, -0.001205931999720633, -0.04682081937789917, 0.04414183646440506, 0.010322974063456059, 0.11839256435632706, -0.005740670952945948, -0.07098853588104248, -0.00428966386243701, -0.03486799821257591, -0.032142274081707, -0.046427786350250244, 0.039324961602687836, 0.08539526909589767, -0.09570930898189545, -0.002448977902531624, -0.006723446771502495, 0.008464968763291836, -0.05651463568210602, 0.0015559940366074443, 0.0019911769777536392, -0.04019803926348686, 0.017472846433520317, 0.057291626930236816, -0.037084903568029404, -0.04014727473258972, 0.011140963062644005, 0.06910885125398636, 0.01848430559039116, 0.048986583948135376, 0.0012291418388485909, -0.02172839641571045, -0.004599636420607567, -0.033612851053476334, -0.052446331828832626, -0.029409393668174744, -0.022173648700118065, -0.02099693939089775, -0.007969501428306103, -0.0011310359695926309, -0.017240505665540695, -0.07191487401723862, 0.10556377470493317, -0.03453512117266655, -0.019389256834983826, 0.021158894523978233, -0.01074021402746439, -0.04877191409468651, -0.017891954630613327, -0.10071875900030136, 0.02108796499669552, -0.04933149367570877, 0.02014235220849514, -0.05231348052620888, 0.04584826901555061, 0.046947233378887177, -0.04039112105965614, 0.1086195856332779, 0.06844057887792587, -0.04884205758571625, -0.04935196042060852, 0.007998960092663765, 0.018489239737391472, 0.027075886726379395, 0.006046987604349852, -0.008123076520860195, 0.02430446445941925, -0.03291148319840431, 0.03908008337020874, -0.028525065630674362, 0.010044591501355171, -0.012601159512996674, -0.33686232566833496, -0.014941919595003128, -0.030554980039596558, -0.019205598160624504, 0.0031682008411735296, -0.03801700472831726, 0.020090337842702866, -0.024784646928310394, -0.020321829244494438, -0.0047215246595442295, 0.07014551758766174, -0.030465437099337578, 0.006797756068408489, -0.09399193525314331, 0.006690482143312693, 0.014247879385948181, -0.020544137805700302, -0.017823155969381332, -0.029519781470298767, -0.0002638675505295396, 0.023360606282949448, 0.0059261382557451725, -0.017229722812771797, -0.04276522994041443, -0.013658659532666206, -0.060047902166843414, 0.08709581941366196, -0.000496569206006825, 0.08083056658506393, -0.03537754341959953, 0.03482494503259659, 0.0190598014742136, 0.026475971564650536, -0.09943828731775284, 0.015472878701984882, -0.032181546092033386, 0.031706713140010834, -0.06653019785881042, 0.04245251789689064, -0.0497187115252018, -0.05030142143368721, 0.02196400612592697, -0.06228397414088249, -0.0345856174826622, -0.10104110091924667, 0.01067736092954874, -0.03130660206079483, -0.027611205354332924, -0.02129216305911541, 0.07096108049154282, 0.017034415155649185, 0.008134027011692524, 0.02993610128760338, -0.016424397006630898, -0.029106680303812027, -0.04159248247742653, -0.1164851263165474, 0.020607680082321167, -0.021276913583278656, 0.002977467142045498, 0.01476331427693367, 0.0448065921664238, 0.02488861419260502, -0.06819145381450653, -0.002002216409891844, 0.005544790532439947, 0.004143806640058756, -0.001932223211042583, 0.056425828486680984, -0.020662836730480194, 0.005402138456702232, 0.07651855051517487, 0.011393536813557148, -0.02391594648361206, 0.019545041024684906, 0.01546703651547432, -0.014042426832020283, 0.023988381028175354, 0.015891192480921745, -0.01372960302978754, -0.00012215953029226512, -0.03352821245789528, 0.030785102397203445, -0.00286108604632318, -0.010485204868018627, -0.008337453007698059, -0.010230384767055511, -0.047541774809360504, 0.05437244474887848, 0.042068444192409515, -0.0356624536216259, 0.00912212673574686, -0.026283735409379005, -0.04705243185162544, 0.08901569992303848, 0.003466643625870347, -0.227170929312706, 0.019389405846595764, 0.06588329374790192, 0.04548220708966255, -0.007500909268856049, 0.05765050649642944, 0.037967558950185776, -0.06583743542432785, 0.006091213319450617, -0.010412314906716347, 0.034587446600198746, 0.0012315402273088694, 0.011371980421245098, -0.0014411862939596176, 0.02768651582300663, 0.0161622054874897, 0.05495990067720413, 0.005268815904855728, 0.037735674530267715, 0.0005849584122188389, 0.0005728687974624336, 0.035644739866256714, 0.1377333104610443, 0.005422060377895832, 0.03575949743390083, -0.005446973256766796, -0.013114062137901783, -0.003706265240907669, 0.06804092973470688, 0.003272030735388398, 0.027690108865499496, 0.010853622108697891, 0.03648820146918297, 0.02269306220114231, 0.01620909944176674, -0.0523223914206028, -0.03945967182517052, 0.02811402641236782, 0.025845522060990334, -0.00854275468736887, 0.039637450128793716, -0.013902653940021992, -0.02374015562236309, 0.03681667521595955, 0.07142780721187592, 0.0011561429128050804, 0.019284404814243317, -0.053219135850667953, -0.06584469974040985, 0.002960420213639736, -0.030787983909249306, -0.04340960457921028, 0.016680892556905746, 0.010297203436493874, 0.030110636726021767, 0.07673048973083496, 0.03744567185640335, -0.029144449159502983, -0.013782444410026073, -0.026760617271065712, -0.01575288735330105, -0.01925763115286827, 0.11549682170152664, 0.04701320454478264, 0.027873022481799126 ]
[ -0.048309437930583954, -0.018226483836770058, 0.0015684940153732896, 0.024535629898309708, -0.03200530260801315, 0.01510534156113863, -0.003985276445746422, 0.03361470624804497, -0.017019199207425117, -0.03471825644373894, -0.028076527640223503, 0.02168017067015171, 0.007043867837637663, 0.017665287479758263, 0.02218213491141796, 0.015161894261837006, -0.0110925929620862, -0.00926877185702324, 0.02115628309547901, 0.02059956081211567, -0.020376939326524734, -0.00889047421514988, -0.008846149779856205, -0.00608159601688385, -0.022978616878390312, 0.015148763544857502, 0.002472579013556242, -0.007945332676172256, 0.02233864739537239, -0.13703718781471252, -0.028736451640725136, -0.02444787509739399, -0.005381841212511063, 0.02257446013391018, 0.01934286765754223, -0.007913464680314064, 0.009359922260046005, 0.015107551589608192, -0.009278356097638607, 0.006057603284716606, 0.004905826412141323, -0.02833585999906063, -0.013882921077311039, 0.0005857651121914387, 0.0018974489066749811, 0.01371407974511385, 0.018601609393954277, -0.015917768701910973, -0.01915118284523487, -0.006616035010665655, -0.04866870120167732, -0.005362002644687891, -0.0124675827100873, 0.006064435001462698, 0.03260305896401405, 0.020626125857234, 0.027058333158493042, -0.03483393043279648, 0.0039805150590837, -0.015774093568325043, 0.0034296615049242973, 0.005229542963206768, -0.07860437035560608, -0.03084600158035755, -0.035963959991931915, -0.0036970439832657576, -0.030176496133208275, 0.008289375342428684, -0.0011826594127342105, -0.0023912102915346622, -0.00848716963082552, 0.013873432762920856, -0.01746554672718048, -0.04172501713037491, 0.03768421709537506, -0.039552975445985794, 0.005812220741063356, -0.04016314446926117, 0.008967429399490356, -0.002831898396834731, -0.04614131525158882, 0.026591097936034203, 0.008912752382457256, -0.03109387680888176, -0.0010885694064199924, -0.03207840025424957, 0.025349250063300133, 0.0004107195418328047, 0.019831569865345955, -0.005442285910248756, -0.013440391980111599, 0.023768434301018715, -0.023727666586637497, 0.018789106979966164, -0.08500578999519348, 0.01227362547069788, -0.008854277431964874, 0.00209443224593997, -0.0026566977612674236, 0.8608433604240417, -0.014056255109608173, 0.015373561531305313, 0.03866191580891609, 0.011792860925197601, 0.015250856056809425, -0.021894458681344986, 0.01258790586143732, -0.0065978411585092545, 0.015044267289340496, -0.04454100877046585, 0.02853141538798809, 0.0012430950300768018, 0.04133342206478119, 0.03404651954770088, 0.02885335683822632, 0.03453570976853371, -0.005498386453837156, 0.03225065395236015, -0.008996578864753246, 0.025326069444417953, -0.01451943814754486, 0.02744986303150654, 0.026678333058953285, 0.03131941333413124, -0.017020445317029953, -0.19664469361305237, -0.0032417597249150276, -7.829422000638094e-33, 0.050557490438222885, -0.003855298040434718, 0.026219209656119347, -0.019330458715558052, -0.005359251983463764, -0.01316240057349205, 0.02072335220873356, 0.02297871559858322, 0.004758825059980154, -0.028958799317479134, 0.006906737573444843, 0.0008643672917969525, 0.003562459722161293, -0.004322601016610861, 0.022381385788321495, -0.020350614562630653, 0.011914219707250595, 0.04156077280640602, 0.008362015709280968, 0.026778938248753548, 0.04287354648113251, 0.01824839971959591, -0.006580648012459278, -0.0008271721308119595, -0.00673645967617631, 0.026672860607504845, 0.020590083673596382, 0.03228440135717392, -0.0023738567251712084, -0.031529124826192856, -0.03302375599741936, 0.016038700938224792, -0.01351785846054554, -0.03474346175789833, -0.004895912948995829, -0.017573285847902298, -0.020390953868627548, 0.003100454108789563, 0.018911978229880333, -0.0352189838886261, -0.02156042493879795, -0.017270632088184357, -0.018407372757792473, -0.04024304449558258, -0.01414820272475481, -0.007408160250633955, 0.0331207774579525, 0.009544214233756065, -0.01755271665751934, -0.02077461965382099, 0.01232273131608963, 0.013963480480015278, 0.02032584510743618, 0.008626537397503853, -0.011032906360924244, 0.005805574357509613, 0.004913792479783297, 0.018495231866836548, -0.0007821578765287995, 0.0319720059633255, 0.021835532039403915, -0.005885194521397352, -0.02275678515434265, 0.011443652212619781, -0.00575093412771821, -0.008881164714694023, 0.009215271100401878, 0.004071363713592291, 0.024871595203876495, -0.01176460087299347, -0.06847982853651047, 0.0025786813348531723, -0.015213620848953724, -0.024872194975614548, -0.013798310421407223, -0.02789231576025486, 0.02098160609602928, 0.03442280367016792, -0.026403194293379784, 0.032082024961709976, -0.010715865530073643, 0.026139015331864357, -0.016561318188905716, -0.03876635804772377, -0.005977652966976166, -0.013517487794160843, 0.03337092697620392, -0.025602106004953384, -0.030627114698290825, 0.005943034775555134, 0.021953517571091652, 0.002470684004947543, -0.010609908029437065, -0.006313696037977934, 0.020827442407608032, 7.525287816617782e-33, 0.006801572162657976, -0.03703802078962326, -0.018465200439095497, -0.008584498427808285, 0.0412602536380291, -0.022126805037260056, 0.04157976433634758, 0.014701249077916145, -0.0426144152879715, 0.022554777562618256, -0.013975159265100956, -0.005783735774457455, -0.01755497418344021, 0.016768092289566994, 0.016270142048597336, 0.0050543067045509815, 0.00646469509229064, 0.02265426330268383, 0.02202487178146839, 0.00601171562448144, 0.026544051244854927, 0.020102882757782936, 0.0030344813130795956, 0.005876873154193163, 0.022170906886458397, 0.03936595842242241, -0.003862022655084729, 0.01795167103409767, -0.014062854461371899, 0.018594225868582726, 0.032101452350616455, 0.008955267257988453, -0.011264336295425892, -0.0025981322396546602, -0.029023844748735428, 0.018308177590370178, -0.035821057856082916, -0.02328355424106121, 0.009803587570786476, 0.0015625981613993645, 0.029572689905762672, -0.00855526514351368, -0.0015345815336331725, 0.0026462413370609283, 0.01291549764573574, 0.02006423845887184, -0.00012601850903593004, -0.017421061173081398, -0.02586679719388485, -0.008526520803570747, 0.0011242846958339214, 0.019884789362549782, -0.005842152051627636, -0.019340096041560173, -0.030601741746068, -0.01532526221126318, -0.00839590560644865, 0.010433503426611423, -0.018883733078837395, 0.010880978778004646, -0.004127367865294218, 0.006295572035014629, -0.0322415828704834, 0.00512581504881382, -0.0039874352514743805, -0.004541392438113689, -0.01334109716117382, -0.0222888495773077, -0.013271612115204334, 0.010560938157141209, -0.01393222063779831, 0.016416292637586594, 0.01706329919397831, 0.03943921625614166, -0.033840592950582504, -0.006740469951182604, -0.03457902371883392, 0.017248610034585, -0.023054076358675957, 0.021545536816120148, 0.01687878929078579, -0.02315261773765087, 0.015062219463288784, 0.03102291189134121, -0.004265786614269018, 0.055990856140851974, 0.022941898554563522, 0.031718477606773376, -0.012174727395176888, -0.02455482818186283, -0.004164440557360649, -0.027982713654637337, 0.00775262201204896, 0.028928345069289207, 0.003343687392771244, -1.3400578424693776e-8, 0.001082049566321075, 0.024044731631875038, -0.007867777720093727, -0.005582950543612242, 0.01310955174267292, 0.008127588778734207, -0.027853097766637802, 0.006219465285539627, -0.04400193318724632, 0.020456405356526375, 0.03933516517281532, -0.05443117395043373, -0.0007291434449143708, 0.026372062042355537, 0.03859611228108406, -0.03849899396300316, 0.014992455951869488, -0.0014677477302029729, 0.025588324293494225, -0.014859015122056007, 0.040963370352983475, 0.04026263579726219, -0.0074212742038071156, 0.04032323509454727, 0.0068090022541582584, -0.0055733476765453815, 0.006015054881572723, -0.082363560795784, -0.014971939846873283, 0.020375078544020653, 0.025068750604987144, -0.0359225757420063, -0.029074035584926605, 0.035706523805856705, -0.004912470933049917, -0.010879380628466606, 0.030550267547369003, 0.006271210499107838, -0.02863958105444908, -0.017839062958955765, -0.01290041022002697, -0.004880437161773443, -0.012053471989929676, -0.024082180112600327, -0.021528951823711395, 0.021839281544089317, -0.02304522506892681, -0.010008341632783413, 0.008783210068941116, -0.022504059597849846, 0.01697612553834915, 0.006786414887756109, 0.020159151405096054, 0.009948362596333027, 0.01416101586073637, 0.03392044082283974, -0.03449992462992668, -0.03279908373951912, -0.04291953891515732, 0.016016431152820587, 0.01800532452762127, 0.02526605874300003, -0.013552049174904823, -0.018596481531858444 ]
book-club-the-dreyfus-model-stuart-and-hubert-dreyfus
https://markhneedham.com/blog/2009/07/18/book-club-the-dreyfus-model-stuart-and-hubert-dreyfus
false
2009-07-11 03:20:25
F#: Downloading a file from behind a proxy
[ "f", "proxy" ]
[ "fsharp" ]
I've been continuing working on a little script to http://www.markhneedham.com/blog/2009/07/08/f-parsing-cruise-build-data/[parse Cruise build data] and the latest task was to work out how to download my Google Graph API created image onto the local disk. I'm using the http://msdn.microsoft.com/en-us/library/system.net.webclient(VS.80).aspx[WebClient] class to do this and the code looks like this: [source,ocaml] ---- let DownloadGraph (fileLocation:string) (uri:System.Uri) = async { let webClient = new WebClient() webClient.DownloadFileAsync(uri, fileLocation)} ---- Sadly this doesn't work when I run it from the client site where I have access to the build metrics as there is a corporate proxy sitting in the way. I tried Googling how to do this but all the ways that I tried kept resulting in the following error: [source,text] ---- 407 proxy authentication required ---- Even though I was entering a user name and password! I didn't succeed until my colleague showed me a way of getting past the proxy in C# which I could quite easily use in my code: [source,ocaml] ---- let DownloadGraph (fileLocation:string) (uri:System.Uri) = async { let webClient = new WebClient() webClient.Proxy <- new WebProxy("proxyName:port", true, null, new NetworkCredential("userName", "password", "corporateDomain")) webClient.DownloadFileAsync(uri, fileLocation)} ---- One thing I was doing wrong was putting a 'http' at the start of the proxyName which I think in my case was wrong as I later learn that the proxy isn't a HTTP one. I'm also making use of http://www.infoq.com/articles/pickering-fsharp-async[asynchronous workflows] in this example so that the actual downloading of the files will be done away from the main thread - this also gives me the option to download multiple files asynchronously if I want to.
null
null
[ 0.012460809201002121, -0.04384436458349228, 0.027210749685764313, 0.04792020097374916, 0.09488106518983841, 0.004010900389403105, 0.021277304738759995, 0.05719364807009697, 0.011320197954773903, -0.028035903349518776, -0.0167661402374506, -0.027711309492588043, -0.0740845575928688, 0.009961537085473537, 0.012864409945905209, 0.0626470297574997, 0.07733678817749023, 0.0011757666943594813, 0.012210516259074211, -0.008993118070065975, 0.0029900253284722567, 0.07919900864362717, -0.00802942831069231, 0.023773308843374252, 0.033272914588451385, 0.027524083852767944, -0.004607266280800104, 0.0048764473758637905, -0.04543716087937355, -0.006553493905812502, 0.05036502331495285, 0.02266230806708336, -0.000387620268156752, -0.00842465739697218, 0.031571224331855774, -0.0017210982041433454, -0.016807526350021362, 0.013008270412683487, -0.01507942471653223, 0.02278837189078331, -0.07888299226760864, 0.039420560002326965, -0.009312634356319904, 0.021928787231445312, -0.04969984292984009, 0.03217247128486633, -0.028190093114972115, 0.031987208873033524, -0.002749202074483037, -0.026647623628377914, -0.0717986598610878, 0.03356515243649483, -0.05255962908267975, 0.004298850893974304, 0.006256185472011566, 0.035518478602170944, 0.020708752796053886, -0.06549645215272903, 0.03763746842741966, -0.03659237176179886, 0.0008660933235660195, -0.0148423220962286, 0.01551032904535532, 0.045613814145326614, 0.0182514488697052, -0.027380043640732765, 0.020061330869793892, 0.06942348927259445, -0.035576459020376205, -0.013715345412492752, -0.007804227527230978, 0.00987132079899311, -0.01940535381436348, 0.019672507420182228, 0.002601799787953496, -0.03369661048054695, -0.0024183166678994894, 0.046492502093315125, 0.027623236179351807, 0.06573980301618576, -0.018632173538208008, 0.007855230942368507, 0.03339206054806709, 0.016204120591282845, -0.013240222819149494, -0.019797218963503838, -0.038351114839315414, 0.031231699511408806, -0.060276761651039124, 0.06721197813749313, 0.004432923626154661, -0.04102635383605957, -0.014908572658896446, 0.012563526630401611, 0.012669902294874191, -0.001881945296190679, -0.006293045356869698, 0.017994286492466927, 0.008250042796134949, -0.017913544550538063, -0.04150090739130974, 0.007798921782523394, -0.0010112127056345344, 0.03027605079114437, -0.0558445081114769, 0.0036644318606704473, -0.008635587990283966, -0.028726447373628616, -0.008952322416007519, -0.023798370733857155, 0.010961437597870827, 0.0069805048406124115, -0.019473794847726822, 0.011595371179282665, -0.07905478775501251, 0.06365924328565598, 0.02059403993189335, -0.04688205569982529, -0.023349367082118988, 0.026268867775797844, 0.03932974487543106, 0.018982544541358948, -0.020255843177437782, 0.06631547212600708, 0.024173738434910774, 0.05294640734791756, -0.008691865019500256, 0.03853840008378029, -0.010336215607821941, -0.06118003651499748, -0.021940341219305992, 0.06394542008638382, -0.02188330702483654, 0.016756907105445862, 0.0015497577842324972, -0.01751958206295967, -0.008065050467848778, -0.02149367332458496, 0.06226996332406998, 0.010045466013252735, -0.018706558272242546, -0.05463071167469025, -0.005109692923724651, -0.016564833000302315, 0.03707221522927284, 0.024274151772260666, -0.009356234222650528, -0.05560771003365517, -0.034653399139642715, 0.04374688118696213, 0.022336376830935478, 0.03021537885069847, 0.05387500673532486, -0.05273018404841423, 0.009205290116369724, 0.10070477426052094, 0.06039481610059738, 0.02843717485666275, -0.0314783938229084, -0.004804451018571854, 0.04599732160568237, 0.04979119077324867, -0.0014901369577273726, 0.05495535209774971, 0.00424783444032073, -0.017729828134179115, -0.0038804432842880487, 0.027650441974401474, -0.020608797669410706, 0.0039043184369802475, -0.04850266873836517, -0.03366604819893837, 0.037554845213890076, -0.05527143180370331, -0.015466342680156231, 0.060982827097177505, 0.06552007049322128, -0.0011350525310263038, 0.044038496911525726, -0.02800343930721283, -0.06974519789218903, 0.044595494866371155, 0.046015847474336624, 0.019488973543047905, -0.0009064829791896045, 0.008347507566213608, 0.09372860193252563, 0.006704322528094053, -0.02159474603831768, 0.02567376010119915, -0.054271601140499115, -0.09379210323095322, -0.020680716261267662, -0.036460962146520615, 0.06419166922569275, -0.024515608325600624, 0.008651426061987877, 0.048333317041397095, 0.029174625873565674, 0.059047844260931015, 0.005183378700166941, -0.024613939225673676, 0.056077972054481506, -0.05124285817146301, -0.06725084781646729, 0.049800071865320206, 0.004156298469752073, -0.02610132470726967, -0.056222785264253616, 0.011789945885539055, -0.058002032339572906, 0.005010799039155245, 0.0444028414785862, -0.005498241633176804, 0.03703635185956955, -0.01501749362796545, 0.006526852026581764, -0.02355939894914627, 0.04248291626572609, -0.0375484824180603, 0.053685132414102554, -0.000940663565415889, -0.02170911431312561, 0.005179602187126875, -0.00965355895459652, 0.11495457589626312, 0.06723595410585403, -0.0203461442142725, -0.06636052578687668, 0.028145957738161087, -0.00606383616104722, -0.03669753298163414, 0.012992866337299347, -0.012864643707871437, -0.013984574005007744, 0.008532213978469372, -0.02952462248504162, -0.015340161509811878, -0.014745993539690971, -0.04283568263053894, 0.02502894401550293, 0.047824811190366745, -0.009947282262146473, 0.03419844061136246, 0.018169613555073738, -0.027426959946751595, 0.007766384165734053, -0.03698255494236946, -0.03640909865498543, 0.001397069077938795, 0.013045886531472206, -0.008131267502903938, 0.022524310275912285, -0.02170565538108349, -0.012777769938111305, -0.007897649891674519, -0.01977689564228058, 0.02924243174493313, 0.018275050446391106, 0.061512771993875504, 0.00883766170591116, 0.03333909064531326, -0.03732163459062576, 0.0307796411216259, -0.009791179560124874, -0.04808667302131653, -0.008895938284695148, -0.02804700657725334, 0.03884832188487053, 0.03768684342503548, 0.014189216308295727, 0.008657699450850487, 0.04292924702167511, 0.017084520310163498, 0.007606684695929289, -0.0018351870821788907, 0.016423076391220093, 0.013856010511517525, -0.004890651907771826, -0.023823179304599762, -0.014127231203019619, 0.03303936868906021, -0.030934549868106842, -0.007561911828815937, -0.009130358695983887, -0.08110640943050385, 0.0457950085401535, -0.0740429013967514, -0.056423865258693695, -0.03840845078229904, -0.003869778709486127, 0.02487030252814293, 0.0165737122297287, 0.016609953716397285, 0.03685515373945236, 0.016102982684969902, 0.013820520602166653, -0.0073363399133086205, 0.0033867626916617155, 0.026153098791837692, 0.011864075437188148, 0.02400445193052292, 0.042339254170656204, -0.02702062949538231, -0.006751778535544872, -0.06364698708057404, 0.0015072828391566873, -0.05033845081925392, -0.2734609842300415, 0.046425919979810715, 0.008525563403964043, -0.03408409282565117, 0.03521115332841873, -0.020360156893730164, 0.032224658876657486, -0.055700983852148056, -0.02231726609170437, 0.03059968166053295, -0.011564432643353939, -0.029287094250321388, 0.00791215244680643, 0.03386874869465828, 0.008701235055923462, 0.018900495022535324, -0.005279508884996176, -0.05449850857257843, 0.030177950859069824, 0.012692642398178577, -0.007664741948246956, -0.0489526093006134, 0.02285652793943882, 0.020807389169931412, 0.03358028084039688, 0.04873516783118248, -0.09132176637649536, 0.03734608739614487, -0.030884459614753723, -0.008623466826975346, 0.019365178421139717, -0.027762234210968018, 0.024055704474449158, -0.003987950272858143, -0.02958841063082218, -0.02217654325067997, 0.04485227167606354, 0.03232469782233238, -0.012964681722223759, -0.022534504532814026, -0.03728833794593811, -0.03468818590044975, -0.033556077629327774, -0.015600950457155704, 0.0950041264295578, -0.013217697851359844, -0.08514312654733658, 0.007024360820651054, -0.024484451860189438, 0.08122780174016953, -0.0480375774204731, -0.027373718097805977, -0.041518863290548325, 0.03142821788787842, -0.014960983768105507, -0.035697486251592636, 0.008277774788439274, -0.007168603595346212, -0.06062681972980499, -0.03428187221288681, 0.025439314544200897, -0.011065599508583546, -0.026622235774993896, -0.05144608020782471, -0.007018048781901598, -0.0580628402531147, -0.05968621373176575, -0.03953409940004349, 0.04357956349849701, 0.014002108946442604, -0.01917138136923313, -0.008223325945436954, 0.008232178166508675, -0.10130500048398972, 0.0058128139935433865, -0.03116089478135109, -0.0385870561003685, -0.0010155611671507359, -0.0009986356599256396, 0.049128394573926926, -0.04049777239561081, -0.03529707342386246, 0.024276211857795715, 0.01724446378648281, 0.014825795777142048, 0.007693387567996979, 0.051362182945013046, 0.009839401580393314, -0.022760111838579178, -0.008891484700143337, 0.08858752250671387, -0.0331198126077652, 0.003715065075084567, -0.02180979959666729, -0.013172275386750698, 0.007466004695743322, 0.0067251925356686115, 0.020478269085288048, 0.01637253537774086, 0.018919184803962708, 0.05524984002113342, -0.03322015702724457, -0.0021593919955193996, -0.033420395106077194, -0.016093308106064796, 0.003303591860458255, -0.037867262959480286, 0.017858335748314857, 0.013271274976432323, 0.02011840045452118, 0.002184367273002863, -0.01265013124793768, 0.02308393083512783, -0.03833939880132675, -0.038945332169532776, 0.006926339585334063, 0.0024627235252410173, 0.011435446329414845, 0.025984670966863632, -0.0388471856713295, -0.03304268419742584, 0.01727578602731228, 0.04945861175656319, -0.006183624267578125, -0.058268915861845016, -0.03805575892329216, -0.00497500179335475, -0.012099682353436947, 0.035050876438617706, 0.06091556325554848, -0.020758317783474922, 0.056444089859724045, 0.040619149804115295, -0.043501079082489014, 0.004833112936466932, -0.007769363466650248, -0.021656671538949013, -0.05275501683354378, 0.012178100645542145, 0.007081232499331236, -0.009465414099395275, 0.008328482508659363, 0.018374674022197723, 0.03765559196472168, 0.07536698132753372, 0.019245663657784462, 0.013307683169841766, 0.017110344022512436, 0.008915204554796219, -0.00008439377415925264, -0.006915759760886431, -0.06712602078914642, 0.025003056973218918, -0.03443291783332825, -0.009351668879389763, -0.030653780326247215, 0.031480442732572556, -0.022575538605451584, -0.041674792766571045, -0.024919969961047173, 0.05390112102031708, -0.07536451518535614, -0.016745319589972496, 0.007475372403860092, -0.02064584568142891, 0.042189519852399826, 0.013060785830020905, 0.03760628402233124, -0.02329951338469982, -0.012963347136974335, 0.03799145668745041, 0.03126838430762291, 0.0013685974990949035, 0.036506105214357376, -0.015535940416157246, 0.017306769266724586, -0.005282103084027767, 0.02151414006948471, 0.03928640857338905, 0.029833782464265823, -0.020997464656829834, -0.03400227800011635, 0.025609327480196953, -0.010667608119547367, 0.03102196753025055, 0.008781365118920803, -0.025856994092464447, 0.01954793371260166, -0.013972794637084007, 0.02933027595281601, -0.031118707731366158, -0.004999819211661816, -0.03836618363857269, 0.03349093347787857, 0.013251002877950668, -0.06848525255918503, 0.06665443629026413, -0.015722569078207016, 0.0228684451431036, 0.03416535630822182, -0.0241079144179821, 0.027796592563390732, -0.005956702399998903, 0.03855527192354202, 0.03469298779964447, -0.03892330825328827, -0.024764398112893105, 0.013324063271284103, 0.03361620008945465, 0.006208875682204962, 0.0022525100503116846, -0.04907343536615372, -0.028616514056921005, -0.018985969945788383, -0.0021504799369722605, -0.05073023587465286, -0.04463987424969673, -0.03732921928167343, 0.017009787261486053, -0.00026217708364129066, -0.00998709350824356, 0.006306343246251345, -0.006074593402445316, -0.027558891102671623, -0.02298172190785408, 0.03585995361208916, -0.02823977917432785, -0.03302491828799248, 0.0147226732224226, 0.00031131686409935355, 0.022101636976003647, -0.026235776022076607, 0.03852277994155884, 0.011801484040915966, 0.0024824324063956738, 0.0018379591638222337, -0.06491536647081375, 0.0021838464308530092, -0.005829363130033016, 0.040491726249456406, -0.0054485690779984, 0.006402472499758005, -0.023834897205233574, -0.02331213653087616, -0.010255621746182442, 0.011269810609519482, 0.003484591143205762, -0.0075480276718735695, 0.013144508935511112, 0.034980569034814835, 0.018892331048846245, 0.014837853610515594, 0.025003349408507347, -0.030323699116706848, 0.043437160551548004, -0.06390346586704254, -0.038108982145786285, -0.011074922978878021, -0.04881512001156807, 0.027727540582418442, 0.019247088581323624, -0.006431094370782375, -0.08334577083587646, 0.031524211168289185, 0.03903639689087868, 0.019725244492292404, 0.05240076407790184, 0.008326992392539978, 0.004261794965714216, -0.01481576543301344, -0.007942934520542622, -0.05519505962729454, 0.016081640496850014, 0.02859138511121273, -0.008311334997415543, -0.03992357477545738, 0.00765986368060112, -0.023646831512451172, 0.03714890778064728, -0.06805911660194397, -0.059409093111753464, 0.036433856934309006, -0.013729667291045189, -0.04769333824515343, 0.0019328691996634007, -0.053178608417510986, 0.020269211381673813, 0.03763824701309204, -0.04976358637213707, -0.04048001021146774, -0.038457754999399185, 0.038004711270332336, -0.0045966194011271, 0.02232818678021431, -0.0620264895260334, -0.056075483560562134, 0.07874861359596252, 0.014322926290333271, 0.007949747145175934, 0.06980322301387787, -0.014095551334321499, -0.0036068398039788008, 0.007023980841040611, -0.03577762097120285, -0.021836942061781883, 0.017904093489050865, 0.01080280914902687, -0.04817169904708862, 0.05496104806661606, -0.004365989938378334, -0.01876688376069069, -0.0680558979511261, 0.07227130234241486, 0.011616618372499943, -0.03576444834470749, -0.05382782965898514, 0.03655778244137764, -0.03587968274950981, -0.03173551708459854, -0.01797545701265335, 0.024359695613384247, -0.003237410681322217, 0.06695041805505753, 0.0018523231847211719, 0.010989800095558167, 0.06648283451795578, -0.0039034895598888397, 0.005280622746795416, -0.001499423524364829, 0.07915546000003815, 0.07669414579868317, -0.001652068574912846, -0.0075354501605033875, 0.0843026340007782, 0.008248040452599525, -0.04054509848356247, -0.019303640350699425, -0.05118682235479355, -0.01989857852458954, -0.018337968736886978, 0.012919760309159756, 0.07427816838026047, -0.017041202634572983, 0.0525108240544796, -0.05900522321462631, -0.0022071469575166702, -0.007416506297886372, 0.037101563066244125, 0.011922183446586132, -0.012631137855350971, -0.012349079363048077, 0.030529189854860306, -0.026599982753396034, -0.03971346095204353, 0.04736454039812088, -0.010622930712997913, -0.009214087389409542, -0.001048828475177288, -0.02438959851861, 0.0008919729152694345, -0.023195629939436913, 0.01173065323382616, 0.07247725129127502, -0.020585542544722557, -0.011917676776647568, -0.008154121227562428, 0.03041156381368637, 0.008405134081840515, -0.008673167787492275, -0.018596136942505836, -0.025588110089302063, -0.01918940059840679, -0.03844878450036049, -0.022068358957767487, -0.027477368712425232, -0.007726411335170269, 0.013074626214802265, -0.029384013265371323, 0.05857384204864502, -0.029406584799289703, -0.031059909611940384, -0.02432260289788246, -0.028254225850105286, -0.05181414633989334, -0.046548664569854736, -0.05572380870580673, -0.006000514607876539, 0.017291054129600525, 0.027238745242357254, -0.020175296813249588, -0.03798720985651016, 0.010643240995705128, 0.006091622170060873, 0.019564570859074593, -0.04816129803657532, -0.014151460491120815, 0.013612156733870506, -0.004162061493843794, 0.006176893133670092, 0.01684511825442314, 0.04905858263373375, -0.019066667184233665, -0.005001279059797525, -0.04958628863096237, 0.008067214861512184, 0.016149170696735382, 0.018996285274624825, 0.027320701628923416, -0.07089071720838547, 0.02107623778283596, -0.014592756517231464, -0.01590418443083763, -0.06819243729114532, -0.00783019233494997, 0.06307259947061539, 0.006129243411123753, 0.04740507900714874, -0.002527653006836772, -0.02323695831000805, -0.05452313646674156, -0.024805542081594467, 0.03645307943224907, -0.006454178132116795, 0.04367498680949211, 0.013295896351337433, 0.07220696657896042, 0.03017604909837246, -0.013995482586324215, -0.04000313952565193, -0.014391066506505013, 0.00805414654314518, 0.030541447922587395, -0.02027503028512001, -0.0254659466445446, -0.013833236880600452, -0.08915115892887115, -0.04543968290090561, 0.014730381779372692, 0.004561975598335266, -0.012298954650759697, -0.008043852634727955, 0.01763446070253849, -0.07387250661849976, 0.005683811381459236, -0.019191376864910126, -0.0009952125838026404, -0.01596885174512863, -0.024816861376166344, 0.011280925013124943, 0.03165651857852936, 0.04318780452013016, -0.015439468435943127, 0.043949391692876816, -0.059419889003038406, -0.0287135299295187, 0.006752470042556524, 0.011435464024543762, 0.05575341731309891, -0.018019916489720345, 0.018536705523729324 ]
[ -0.06290288269519806, -0.014756002463400364, -0.049031276255846024, -0.058413390070199966, 0.02860764041543007, -0.05012907087802887, -0.041821084916591644, 0.01853460632264614, -0.0569477453827858, -0.011888204142451286, 0.03315449878573418, -0.02709975838661194, 0.01906096190214157, 0.002141959499567747, 0.02832164615392685, 0.04305528104305267, 0.00013635969662573189, -0.055906616151332855, -0.014977294951677322, 0.06480675935745239, 0.002585191745311022, -0.06037449091672897, -0.04779921472072601, -0.047881681472063065, -0.0065813022665679455, 0.036905478686094284, 0.009026848711073399, -0.05979485064744949, -0.009233448654413223, -0.15451985597610474, -0.0026227280031889677, -0.06658047437667847, -0.0328681543469429, 0.006097547709941864, 0.02252611145377159, -0.01620183326303959, 0.06121054291725159, -0.008876094594597816, -0.007576535921543837, 0.03377542644739151, 0.010001442395150661, 0.018472252413630486, -0.054252952337265015, 0.027540309354662895, 0.03264830261468887, -0.009463212452828884, -0.016190126538276672, 0.04077402129769325, 0.015098637901246548, -0.004370344337075949, -0.023919621482491493, 0.019466986879706383, -0.006855982821434736, -0.023998813703656197, -0.03348225727677345, -0.008267553523182869, 0.018797967582941055, 0.08216647058725357, 0.01073538325726986, 0.05750446021556854, 0.04108960181474686, 0.01454013679176569, -0.13746431469917297, 0.14119583368301392, 0.042574554681777954, 0.06536076962947845, -0.05838401988148689, -0.004072670824825764, -0.0008498791139572859, 0.07039669156074524, -0.027951672673225403, -0.025600796565413475, -0.07734034955501556, 0.0532396100461483, 0.026812167838215828, -0.005551242269575596, 0.004839504137635231, 0.051742058247327805, 0.03940754383802414, -0.04036594182252884, -0.053411416709423065, -0.012401128187775612, 0.010999705642461777, 0.006828618701547384, -0.030710486695170403, 0.013218983076512814, 0.004408462904393673, 0.023194042965769768, 0.023351360112428665, 0.031384509056806564, -0.01088830828666687, -0.05523510277271271, 0.022301679477095604, -0.007590639404952526, -0.09477768838405609, -0.025375142693519592, -0.020975617691874504, -0.012431229464709759, -0.04361899569630623, 0.3664972484111786, -0.025636820122599602, -0.011930599808692932, 0.02720615826547146, 0.01577654480934143, -0.04630207642912865, -0.007510439958423376, 0.007847348228096962, -0.044242218136787415, 0.006477849092334509, -0.04978526756167412, -0.0011648511281237006, 0.013642453588545322, 0.026501746848225594, -0.061716269701719284, 0.005122294649481773, 0.032369621098041534, -0.012343600392341614, 0.008517589420080185, -0.03677155822515488, 0.005423024762421846, -0.026366015896201134, -0.0010942425578832626, 0.03819263353943825, 0.016735732555389404, 0.026700856164097786, 0.01589224673807621, 0.03805292770266533, 0.02387421205639839, 0.05164424329996109, 0.025283213704824448, 0.046748530119657516, -0.02060328796505928, -0.0396135188639164, 0.02726917527616024, 0.05767067149281502, 0.0013628921005874872, 0.051720552146434784, -0.036582641303539276, -0.058488983660936356, 0.017588835209608078, 0.009182156063616276, -0.003414388047531247, 0.026622148230671883, 0.0025274159852415323, -0.008634372614324093, 0.08453086018562317, 0.023969219997525215, -0.01465277187526226, -0.04329266771674156, -0.061943426728248596, -0.004769561812281609, 0.05221026390790939, -0.009349190630018711, -0.011371402069926262, 0.015943771228194237, 0.02060897834599018, 0.0672028511762619, 0.039445292204618454, -0.07295521348714828, -0.017839988693594933, -0.004068950656801462, -0.01801338791847229, -0.0071846176870167255, 0.06497711688280106, 0.08825010806322098, -0.13412034511566162, -0.016257120296359062, 0.0084792235866189, -0.023247189819812775, -0.0509273000061512, -0.011855107732117176, 0.04404100403189659, 0.010942131280899048, -0.028801273554563522, 0.01342720165848732, -0.006158808711916208, -0.06867605447769165, 0.007999677211046219, 0.023001929745078087, 0.003529235487803817, -0.04788915812969208, -0.008850526064634323, -0.04820340871810913, -0.024461612105369568, -0.032869864255189896, -0.07257822155952454, -0.046164270490407944, 0.0139090521261096, -0.020558293908834457, -0.03710761293768883, -0.033433035016059875, -0.04552731290459633, -0.0319666787981987, 0.04074932262301445, -0.005686142481863499, 0.010629259981215, 0.00958273559808731, -0.05558912456035614, -0.013782057911157608, -0.05693376809358597, 0.09684370458126068, 0.00707442220300436, -0.006924533285200596, 0.04457686468958855, -0.07908552885055542, 0.05813375860452652, 0.05446339026093483, -0.034241896122694016, 0.043032657355070114, -0.002644297666847706, -0.0655745267868042, -0.0018689254065975547, -0.05066826194524765, 0.05264145880937576, -0.014416513033211231, 0.0007891658460721374, 0.05692385509610176, 0.032914578914642334, 0.03407490625977516, 0.0372081957757473, -0.03162481263279915, -0.04189711809158325, -0.020168015733361244, -0.3246645927429199, -0.011364840902388096, -0.04877358675003052, 0.03516025096178055, 0.025203857570886612, -0.07659388333559036, 0.004013449419289827, 0.03218167647719383, 0.03221799060702324, -0.0018387053860351443, 0.15807121992111206, 0.004451794549822807, -0.02111549861729145, -0.06451694667339325, -0.008712157607078552, -0.004538572859019041, -0.0010434399591758847, -0.014313184656202793, 0.01858310028910637, 0.0031366527546197176, -0.021667422726750374, -0.019979853183031082, -0.038092754781246185, 0.004384765401482582, 0.06599962711334229, -0.016816969960927963, 0.11411859095096588, 0.030709559097886086, 0.08465832471847534, -0.021273326128721237, 0.04406992718577385, 0.03158728778362274, -0.01100313849747181, -0.14499257504940033, -0.00022308510961011052, -0.02823001705110073, -0.0013504221569746733, 0.05321516469120979, 0.04625534638762474, -0.0029529680032283068, -0.05097311735153198, 0.007505058776587248, -0.02801414765417576, -0.03886570408940315, 0.018778789788484573, -0.0028791388031095266, 0.004932344891130924, 0.004688007291406393, -0.021335385739803314, 0.04288194328546524, -0.012478495016694069, 0.022521356120705605, 0.03678539767861366, 0.03659028932452202, -0.027482453733682632, -0.020983625203371048, -0.002068476052954793, 0.0014272264670580626, -0.008398091420531273, 0.005170479416847229, 0.02249748818576336, 0.011472128331661224, 0.04780464991927147, -0.04194394126534462, 0.01348607987165451, -0.021148083731532097, -0.00158641766756773, -0.011106963269412518, 0.044997453689575195, -0.01883111521601677, -0.015749188140034676, 0.09053927659988403, 0.006734628230333328, 0.0550137497484684, 0.011957500129938126, 0.05498595908284187, 0.028464075177907944, 0.009432374499738216, -0.0055344123393297195, -0.019035259261727333, -0.025901788845658302, 0.017581142485141754, 0.06174026057124138, -0.027198005467653275, 0.024286257103085518, 0.050604525953531265, -0.023644134402275085, 0.015728063881397247, 0.04007977619767189, -0.028688127174973488, -0.0033255110029131174, -0.02075359970331192, -0.002628969494253397, -0.09511213004589081, 0.03543781116604805, -0.02349887788295746, -0.2794700562953949, 0.026384135708212852, 0.042138103395700455, 0.08785495162010193, -0.03799073398113251, -0.019413502886891365, 0.0916500985622406, -0.023518851026892662, -0.030406279489398003, 0.048932358622550964, 0.008273769170045853, 0.032974909991025925, -0.008199678733944893, 0.007716439198702574, 0.019843656569719315, -0.012944325804710388, 0.01871560513973236, 0.07731110602617264, -0.029267804697155952, 0.021248137578368187, 0.00474567012861371, -0.01951284520328045, 0.17222712934017181, 0.015511350706219673, 0.031192950904369354, 0.05206255242228508, 0.007664073724299669, 0.03429379314184189, 0.07255217432975769, 0.04065581411123276, 0.0039408281445503235, -0.01777529902756214, 0.05258549004793167, -0.004932637792080641, 0.03639620169997215, -0.09617647528648376, 0.03375126048922539, 0.02919873036444187, -0.014124377630650997, -0.05642836168408394, -0.014636599458754063, 0.022677160799503326, 0.007158605847507715, 0.026595192030072212, 0.05558500811457634, 0.0008133630617521703, 0.005470586474984884, -0.047464028000831604, -0.0427234061062336, -0.009552963078022003, -0.053061749786138535, -0.08884848654270172, 0.01060446910560131, -0.04124324396252632, 0.009553700685501099, 0.03948289155960083, 0.00804443284869194, -0.054503537714481354, -0.04255300015211105, 0.004824111703783274, 0.03050338476896286, -0.04850681871175766, 0.09883613884449005, -0.02110828086733818, 0.04814694821834564 ]
[ -0.018227407708764076, 0.022040115669369698, 0.0027127547655254602, 0.01834852620959282, -0.009807431139051914, -0.021935027092695236, 0.010672657750546932, 0.0017816702602431178, -0.024032974615693092, 0.022375384345650673, 0.016727864742279053, -0.0006761897238902748, 0.021246744319796562, 0.00791078619658947, 0.027562081813812256, 0.010291291400790215, 0.027330759912729263, -0.03450126200914383, 0.01394547987729311, 0.000700542819686234, 0.0011980654671788216, 0.0008562429575249553, 0.037099339067935944, -0.012292842380702496, 0.004256885498762131, -0.011753921397030354, -0.05079321935772896, -0.016647951677441597, 0.02965039573609829, -0.12176282703876495, -0.0022942267823964357, -0.007687829900532961, -0.032012760639190674, -0.0017611077055335045, 0.013473904691636562, -0.00005785595567431301, 0.003589802421629429, 0.024079926311969757, 0.011538325808942318, 0.0037663141265511513, 0.0233487319201231, -0.02097781002521515, 0.027023211121559143, 0.04070262238383293, -0.004425163380801678, -0.02232709899544716, 0.0008957659592851996, 0.0076141213066875935, 0.021562129259109497, 0.018523506820201874, -0.02729908563196659, -0.009941501542925835, -0.02703344076871872, -0.0008633289253339171, 0.027889689430594444, -0.01978961005806923, -0.0266820527613163, 0.02054833620786667, 0.02539645880460739, -0.027479829266667366, 0.02088954858481884, -0.03668644279241562, -0.03833049163222313, -0.02714010886847973, 0.005824091378599405, 0.01653987728059292, -0.02068103663623333, -0.016765952110290527, 0.0011061173863708973, 0.000835843849927187, -0.035768475383520126, 0.03440510109066963, -0.06642526388168335, 0.010372360236942768, -0.011506293900310993, 0.02090320736169815, 0.015254325233399868, 0.05990619212388992, -0.00891182292252779, -0.028009120374917984, -0.004794128704816103, 0.008369656279683113, -0.004615894053131342, 0.044939931482076645, -0.017990166321396828, 0.00308663840405643, -0.008209836669266224, -0.008835652843117714, 0.029460689052939415, 0.00128725275862962, -0.01972232200205326, 0.024202164262533188, -0.024068383499979973, 0.010972412303090096, -0.08341766148805618, -0.016135884448885918, 0.013466783799231052, -0.017452316358685493, -0.02721545845270157, 0.8440191745758057, -0.01533103920519352, -0.007286865264177322, 0.026194673031568527, 0.0009281883831135929, -0.014575641602277756, -0.008677953854203224, 0.011031953617930412, 0.001853856723755598, 0.030675062909722328, -0.028566673398017883, -0.005133064929395914, 0.04334067925810814, -0.0017871358431875706, 0.013227921910583973, -0.004866781644523144, -0.0026778748724609613, 0.005893247202038765, -0.029130425304174423, 0.013107865117490292, 0.016637202352285385, 0.002005257410928607, 0.0040433695539832115, -0.004835809115320444, -0.01553271058946848, 0.012559046968817711, -0.1817857027053833, 0.05013224110007286, -7.121150654753172e-33, 0.033391114324331284, -0.013125823810696602, 0.017164520919322968, 0.023851292207837105, 0.038922589272260666, -0.008749298751354218, 0.0428740419447422, 0.0023445580154657364, -0.005635872483253479, -0.047595009207725525, -0.025079380720853806, -0.032793402671813965, 0.0022136177867650986, -0.0033153286203742027, 0.026446839794516563, -0.014788592234253883, 0.011083448305726051, 0.02653377316892147, 0.020215658470988274, -0.0036992861423641443, 0.025484468787908554, 0.01583034358918667, 0.03343330696225166, 0.004240978043526411, 0.012820943258702755, 0.007264872547239065, -0.006288051605224609, 0.02599666640162468, 0.0036658199969679117, -0.033675555139780045, -0.020481886342167854, 0.013165408745408058, -0.0017376828473061323, -0.022020690143108368, 0.02609172649681568, -0.03996569663286209, -0.05314285308122635, 0.0006807688041590154, -0.020165150985121727, -0.043254394084215164, -0.055546682327985764, -0.008076232858002186, -0.021369120106101036, -0.020021576434373856, -0.06944770365953445, -0.053053490817546844, -0.01654689572751522, -0.018804509192705154, 0.023826776072382927, 0.02079801820218563, 0.01867888867855072, 0.007198714185506105, 0.0019186374265700579, -0.021473072469234467, -0.00894896499812603, 0.018984131515026093, 0.03367101401090622, 0.0033378840889781713, -0.020155122503638268, -0.01295763161033392, 0.023573771119117737, -0.022108877077698708, -0.019645757973194122, 0.002053419593721628, 0.002816471504047513, 0.005875555332750082, -0.012748387642204762, 0.02539694868028164, 0.005825911182910204, 0.003973709419369698, -0.0229491014033556, 0.005451689008623362, -0.010558238252997398, -0.02779262140393257, 0.042330510914325714, 0.02367982268333435, -0.015937436372041702, 0.003986031748354435, -0.00423078378662467, 0.05262210965156555, -0.014497254975140095, -0.04606705158948898, -0.02816232107579708, -0.017041239887475967, -0.021152617409825325, 0.022555487230420113, 0.04500923305749893, -0.01859842613339424, 0.027556804940104485, 0.021112283691763878, 0.04000740498304367, 0.0036515959072858095, -0.0023567206226289272, -0.01659541204571724, -0.022911841049790382, 7.43627791500558e-33, -0.018700411543250084, 0.016805903986096382, -0.0005464450805447996, -0.016431201249361038, 0.005222029983997345, -0.006798184476792812, 0.026205651462078094, 0.02119423821568489, -0.04673296958208084, 0.04504106193780899, -0.01510651409626007, 0.0027581718750298023, -0.050951551645994186, 0.022752422839403152, 0.03222297504544258, -0.03174508735537529, 0.03880688548088074, -0.042952507734298706, 0.040883537381887436, 0.0009629520936869085, 0.0242899302393198, -0.01737929694354534, -0.00798560306429863, 0.018013406544923782, 0.04811171442270279, 0.042012035846710205, -0.007198056671768427, 0.007992514409124851, -0.004341868218034506, -0.021811984479427338, 0.0016988131683319807, 0.0028595421463251114, -0.002602442866191268, -0.0344245582818985, 0.007157127372920513, 0.02275332622230053, 0.005895602982491255, 0.03441496193408966, 0.008705686777830124, -0.03976144269108772, -0.0018420560518279672, -0.04152711480855942, -0.019174929708242416, 0.012561921961605549, 0.033496033400297165, 0.014690879732370377, -0.010187939740717411, -0.0006361845298670232, -0.036297108978033066, 0.042739059776067734, 0.031186142936348915, 0.04592307284474373, 0.03654690459370613, 0.031130587682127953, 0.01060788705945015, 0.00201476295478642, 0.0024456144310534, 0.012785845436155796, 0.006810049992054701, -0.012208760716021061, -0.00502821383997798, -0.01764608919620514, -0.020832369104027748, 0.023181090131402016, -0.0470510795712471, -0.014772729016840458, -0.02711803838610649, 0.019808229058980942, -0.040050894021987915, 0.051296547055244446, -0.008814654313027859, -0.006724799517542124, -0.03981135040521622, 0.019159739837050438, 0.025458669289946556, -0.05073113739490509, 0.03020407445728779, 0.0031250719912350178, -0.03312831372022629, 0.039054520428180695, 0.018473099917173386, 0.040474630892276764, -0.000589274219237268, 0.006662812549620867, -0.004674819763749838, -0.0200224407017231, -0.023291921243071556, -0.004157076124101877, 0.03533913567662239, -0.00004238979090587236, -0.030080536380410194, -0.026140915229916573, -0.06461022794246674, 0.015317375771701336, 0.008908999152481556, -1.2763796242154513e-8, -0.06976714730262756, 0.018634149804711342, -0.02175091952085495, 0.020613566040992737, -0.008758652955293655, 0.01049547828733921, -0.02033880352973938, 0.010749348439276218, -0.012233887799084187, 0.004753683228045702, 0.057754214853048325, -0.03448675200343132, 0.009246165864169598, 0.008705776184797287, -0.014276988804340363, -0.04812707006931305, 0.011332973837852478, -0.012877389788627625, 0.047774504870176315, -0.0002633054682519287, 0.04707527533173561, 0.011997295543551445, 0.0020277926232665777, 0.01347440853714943, 0.017482299357652664, -0.023381981998682022, 0.02204144559800625, -0.07076551020145416, -0.017017701640725136, 0.011402553878724575, -0.015714209526777267, -0.004690531175583601, -0.012751288712024689, 0.009317725896835327, -0.03198262304067612, -0.01909693516790867, -0.002927665365859866, 0.026496265083551407, 0.03357366472482681, 0.024491848424077034, 0.003930862061679363, 0.0446699857711792, 0.007332377601414919, -0.01773184910416603, -0.001340642455033958, 0.013073080219328403, -0.0205757487565279, 0.032578401267528534, 0.016186513006687164, -0.05028800293803215, 0.032460443675518036, -0.03504965826869011, 0.008645067922770977, 0.03716515749692917, 0.020348239690065384, -0.025421539321541786, 0.014745302498340607, -0.030846698209643364, -0.02804527059197426, 0.022820154204964638, 0.031966302543878555, 0.01606110669672489, -0.023132529109716415, -0.016335152089595795 ]
f-downloading-a-file-from-behind-a-proxy
https://markhneedham.com/blog/2009/07/11/f-downloading-a-file-from-behind-a-proxy
false
2009-07-11 14:13:48
Continuous Integration: Community College Discussion
[ "software-development" ]
[ "Software Development" ]
We ran a session on Continuous Integration at the most recent Community College in the ThoughtWorks Sydney office. It was roughly based around a http://www.anthillpro.com/blogs/anthillpro-blog/2009/05/05/1241542860000.html[CI Maturity Model] which I recently came across although the intention was to find out what other teams were doing CI wise. I became a bit more aware of how little I know about CI after listening to a http://www.se-radio.net/podcast/2009-04/episode-133-continuous-integration-chris-read[Software Engineering Radio interview with my colleague Chris Read] so I was keen to see how other teams are approaching this problem. These were some of the most intersting parts of our discussion. * *Handling external dependencies* - the idea here is that you don't have control over these end points and their reliability and it is very frustrating for the build to fail due to a problem with a dependency rather than a problem in your application. Several teams were testing integration of their application against these in a separate build something which we are also doing with a set of NUnit tests which run every 10 minutes directly against our service level end point. On my project we are also making use of an http://www.markhneedham.com/blog/2009/06/21/seams-some-thoughts/[impersonator] of our main integration point early in our build pipeline and then testing end to end integration at a later stage in the pipeline. We are not completely protected at the moment but we're getting there. The trade off here is finding the balance between making the impersonator way too complicated such that people can't understand it and we can't be sure that it actually works. It seems that if we are doing anything beyond a state machine with regards to handling requests & responses and are putting actual business logic inside the impersonator then we've probably gone too far. * The importance of creating a single artifact if using a build pipeline and then running every unit, integration and functional test against that same artifact was pointed out. On my project we are recompiling our code at each stage of the build pipeline (from the same revision of the code in Subversion) as we haven't yet found a good way of putting the artifact somewhere where each build stage can pick it up from - some colleagues are making use of Ivy & Maven repositories to do this on Java projects. We also spoke about keeping the configuration of the application separate to the artifact so that we can easily deploy the application into different environments. * We discussed the fact that *keeping the build time very low by paying constant attention to it* is one of the most important things to do to ensure quick feedback for the development team yet it is often allowed to slip to the point where we end up with build times exceeding an hour. Most of the teams had a pre commit build time of less than 10 minutes although only a couple had a build time of less than 10 minutes on their CI server. I've never seen it done but the idea of failing the build if it exceeded an agreed time was suggested forcing the team to address the problem rather than letting it gradually get slower and slower until the quick feedback cycle it originally provided has gone. * The idea of *running performance tests in the build* was something which I found quite interesting - several colleagues pointed out that the point here is not to test the performance of the application when it's live but more to see the trend in how well our application is performing so that if it suddently dips we can address this straight away rather than waiting until later on to do this. We also spoke about including security tests - such as trying to inject evil SQL into every field - in the build although it was also suggested that these should be there anyway as part of the functional tests that we include. I think testing for http://www.markhneedham.com/blog/2009/02/12/aspnet-mvc-preventing-xss-attacks/[XSS attacks] might also fall into this area. * Another interesting area of discussion was around *whether it's acceptable for the build to break due to a change that we made*. If we decide that it isn't then the only reason that it should fail is due to a problem with a depedency problems. To get to this stage it would need to be possible to run the entire build before checking in probably by having a grid of machines setup which we can assign local builds to run on. Dean Cornish has written an intersting post where he covers the idea of having http://deancornish.blogspot.com/2009/07/continuous-integration-without-ci.html[continuous integration without a CI server]. On all the projects I've worked on we haven't done this so in these situations I subscribe more to http://blog.runcoderun.com/post/72393206/its-okay-to-break-the-build[Stuart Halloway's thinking that it is actually ok to break the build in some circumstances]. We are leaning on the CI server a bit to give us feedback but I don't think it's too bad to do this if it allows us to check in more frequently. * We also spoke about the importance of getting the *whole team to agree to a collection of CI practices* if CI is really going to work on a project. These might include behaviours such as not checking in when the build's red, looking at why the build has broken if you're checkin broke it, rolling back your changes if you can't fix the problem quickly and so on.
null
null
[ 0.030413325875997543, -0.011209247633814812, -0.009060819633305073, 0.06681264936923981, 0.10064142197370529, 0.010072843171656132, 0.040123771876096725, 0.05247658118605614, 0.047403182834386826, -0.026792071759700775, -0.009859011508524418, -0.01929740235209465, -0.053066760301589966, 0.031849127262830734, -0.026835646480321884, 0.055522844195365906, 0.05964631959795952, 0.014904679730534554, 0.05226732790470123, 0.01802011951804161, 0.03311024606227875, 0.07506299763917923, 0.010133856907486916, 0.038702040910720825, -0.006044514011591673, 0.02956407517194748, 0.011480414308607578, 0.0038542132824659348, -0.04969338700175285, -0.010525861755013466, 0.026138948276638985, -0.022641273215413094, -0.012094459496438503, -0.023044133558869362, 0.024739965796470642, -0.00443046260625124, -0.019512923434376717, 0.03595312684774399, 0.005389338359236717, -0.00844076182693243, -0.07738270610570908, 0.05573304370045662, 0.015279858373105526, -0.013496379368007183, -0.05379781126976013, 0.008747556246817112, -0.03835422918200493, 0.008347698487341404, -0.0009733203914947808, -0.02081221714615822, -0.06950116157531738, 0.011760832741856575, -0.02767101302742958, -0.015758996829390526, 0.012622823938727379, 0.029797827824950218, 0.015039060264825821, -0.08528583496809006, 0.007067035883665085, -0.035339053720235825, -0.010066273622214794, -0.01344226859509945, -0.014406990259885788, 0.02004004269838333, 0.020661206915974617, -0.0449095219373703, 0.01425482053309679, 0.029324505478143692, -0.008368132635951042, -0.0032785169314593077, -0.0009900052100419998, 0.02384026162326336, -0.008378039114177227, -0.0014869486913084984, -0.010677961632609367, -0.06258607655763626, 0.005949473939836025, 0.0642872005701065, 0.029923005029559135, 0.04289631545543671, -0.02658694237470627, 0.012669440358877182, 0.006634197663515806, 0.026561470702290535, -0.00725961709395051, -0.03324751555919647, -0.0003591850691009313, -0.012576187029480934, -0.05893494561314583, 0.06362564116716385, 0.005323284771293402, -0.06572411209344864, 0.012228437699377537, 0.027590546756982803, 0.0068127792328596115, 0.010797948576509953, 0.022902868688106537, 0.005232966039329767, 0.021103041246533394, -0.013702016323804855, -0.04106835648417473, 0.035753972828388214, -0.031172506511211395, 0.03625407814979553, -0.0554046668112278, -0.006284531205892563, -0.015238715335726738, -0.039142485707998276, -0.012413247488439083, 0.014422189444303513, -0.03371643275022507, 0.01974656991660595, 0.018541237339377403, 0.0026472832541912794, -0.08607983589172363, 0.059786684811115265, 0.004091920331120491, -0.05753063037991524, -0.002074617426842451, 0.0063968985341489315, 0.038172535598278046, 0.05483226478099823, -0.03061569109559059, 0.06497468799352646, 0.009629388339817524, 0.040714919567108154, -0.03829480707645416, 0.027396662160754204, -0.012480516918003559, -0.07475768774747849, -0.0062797944992780685, 0.05222446843981743, 0.005111760459840298, -0.006350511685013771, -0.0030962007585912943, -0.023328838869929314, 0.006292826496064663, 0.018215976655483246, 0.03408300131559372, 0.03586530685424805, 0.013989893719553947, -0.04384811967611313, 0.024966953322291374, 0.014838308095932007, 0.005580618046224117, -0.008624011650681496, -0.017679380252957344, -0.03833238407969475, -0.027839746326208115, 0.0030979078728705645, 0.006895041558891535, 0.030240455642342567, 0.026108358055353165, -0.05436362326145172, 0.028120705857872963, 0.09917960315942764, 0.038248997181653976, -0.014067073352634907, -0.027453551068902016, 0.002721867524087429, 0.03331935405731201, 0.028511235490441322, 0.028538553044199944, 0.03078656829893589, 0.02883821167051792, -0.02164040133357048, -0.016802022233605385, 0.01571182906627655, 0.008211619220674038, 0.012547560036182404, -0.06704825162887573, -0.0632295310497284, 0.05008711665868759, -0.058504048734903336, -0.016106005758047104, 0.03542094677686691, 0.0830354169011116, 0.015864524990320206, 0.013271027244627476, -0.0011049614986404777, -0.07254903763532639, 0.024428049102425575, -0.005943912081420422, 0.03145934268832207, 0.03665914759039879, -0.017886297777295113, 0.059193726629018784, 0.01727631315588951, -0.03109503723680973, 0.04181140661239624, -0.06627978384494781, -0.07476585358381271, -0.012453010305762291, -0.029254229739308357, 0.043648045510053635, -0.008649248629808426, -0.006039096042513847, 0.06094398349523544, 0.009617313742637634, 0.02901352383196354, 0.024211503565311432, 0.01655029132962227, 0.0120060620829463, -0.05323406308889389, -0.03916781768202782, 0.05373663827776909, 0.040720466524362564, -0.0016078075859695673, -0.05000157281756401, -0.007673348765820265, -0.010493041947484016, -0.010586434043943882, 0.0391850508749485, -0.03314276412129402, 0.04418519139289856, -0.014767343178391457, 0.020244644954800606, -0.03694579750299454, 0.06685072183609009, -0.049315471202135086, 0.04340358451008797, -0.004795585293322802, -0.012082586996257305, 0.016812268644571304, -0.031902603805065155, 0.09243233501911163, 0.04297196492552757, -0.0585683174431324, -0.03591800108551979, 0.020053843036293983, 0.031693000346422195, -0.05341227352619171, -0.02569890394806862, -0.019353000447154045, 0.02247905544936657, -0.0121961310505867, -0.044801466166973114, -0.020059870555996895, 0.0020902962423861027, -0.032451365143060684, -0.014505438506603241, 0.06541340798139572, -0.02433343045413494, 0.06441741436719894, -0.008864735253155231, -0.02707936242222786, -0.011989758349955082, -0.02988533489406109, -0.06443629413843155, 0.005769399926066399, 0.0070039452984929085, -0.01603575050830841, 0.04367028921842575, -0.03214152157306671, -0.01570083200931549, -0.03528274595737457, -0.04816856607794762, 0.025034181773662567, 0.007057375740259886, 0.06706789135932922, -0.0205814428627491, 0.07009690999984741, -0.022941239178180695, 0.02870488539338112, 0.012506593950092793, -0.020780382677912712, -0.03427655249834061, -0.0244604479521513, -0.005889989901334047, -0.0004940186045132577, 0.007319251075387001, 0.017379531636834145, 0.03651227802038193, -0.026995694264769554, -0.00545917684212327, -0.007366059813648462, -0.0008152273367159069, 0.016199948266148567, 0.007939579896628857, -0.024682043120265007, -0.016755063086748123, 0.05719706043601036, -0.052409827709198, 0.011451180092990398, 0.012895812280476093, -0.053995270282030106, 0.019117308780550957, -0.08742289990186691, -0.043368902057409286, -0.016642151400446892, 0.0396491140127182, 0.017750952392816544, 0.013912384398281574, 0.03678314387798309, 0.056325189769268036, 0.013080243952572346, 0.02403785102069378, 0.013905826024711132, -0.004650465212762356, 0.04583233222365379, 0.007340896874666214, -0.01316454540938139, 0.02668813057243824, 0.0027057405095547438, 0.010953138582408428, -0.06422553956508636, 0.04587642475962639, -0.06273572146892548, -0.30139783024787903, 0.03832675516605377, 0.005952920764684677, -0.04980120807886124, 0.043909069150686264, -0.03791398927569389, 0.005367223639041185, -0.037239715456962585, -0.0341624841094017, 0.03351094573736191, -0.02492493763566017, -0.041414499282836914, 0.014750348404049873, 0.04027539864182472, 0.0025436803698539734, 0.03671794757246971, 0.026076285168528557, -0.028255591168999672, 0.018150562420487404, 0.036784812808036804, -0.022289002314209938, -0.04695989564061165, 0.015901127830147743, 0.03481639549136162, 0.05318395420908928, 0.03570282459259033, -0.09681256860494614, 0.06651979684829712, -0.047055378556251526, -0.005649619735777378, 0.001120608183555305, 0.0012762214755639434, -0.022953715175390244, 0.0009640951757319272, -0.024984588846564293, -0.001380006200633943, 0.031604789197444916, 0.01885421760380268, -0.016651593148708344, -0.006996580399572849, -0.020609386265277863, -0.03378196060657501, 0.010515887290239334, 0.008287334814667702, 0.05035818740725517, -0.0037982778158038855, -0.0840492844581604, 0.00005233123738435097, -0.039491187781095505, 0.0777864158153534, -0.049907609820365906, 0.00014178184210322797, -0.00849694013595581, 0.04027259722352028, -0.03153091296553612, -0.016053158789873123, -0.026566071435809135, -0.014627725817263126, -0.057871609926223755, -0.007147239986807108, -0.025216644629836082, -0.020874151960015297, -0.006660576909780502, -0.05701173096895218, -0.013079272583127022, -0.05127798020839691, -0.04991740360856056, -0.020692400634288788, 0.07465870678424835, 0.0003539574972819537, -0.042302411049604416, 0.009238746017217636, -0.011560269631445408, -0.10979031026363373, 0.0034419307485222816, -0.017200741916894913, -0.01503814198076725, 0.004460162483155727, 0.030102601274847984, 0.0610337033867836, -0.024818800389766693, -0.035455986857414246, 0.019812673330307007, -0.0003801489365287125, 0.022226478904485703, 0.023190850391983986, 0.04563397541642189, 0.04282000660896301, -0.027905123308300972, 0.017694439738988876, 0.06604892015457153, 0.0004431106790434569, -0.03959446772933006, -0.030630115419626236, 0.020817548036575317, 0.022767242044210434, 0.0011777750914916396, 0.0077353473752737045, -0.021640857681632042, 0.0210679080337286, 0.010799179784953594, -0.037989262491464615, 0.01916465535759926, -0.02405259571969509, -0.004693199414759874, -0.023158585652709007, -0.05105508491396904, -0.0038862423971295357, 0.04740754887461662, 0.036633964627981186, -0.0011466373689472675, -0.027837906032800674, 0.02748333103954792, -0.03881307691335678, -0.04915933683514595, 0.004741111770272255, -0.005855615250766277, 0.046804022043943405, 0.0005005338462069631, -0.004570536781102419, -0.053748637437820435, 0.019073806703090668, 0.00860606413334608, 0.014382553286850452, -0.04471059516072273, -0.030140116810798645, -0.029825357720255852, 0.006385422311723232, 0.020846400409936905, 0.01757904700934887, -0.03122289851307869, 0.01729785092175007, 0.02896542102098465, -0.011947193183004856, 0.005192963406443596, -0.01784072443842888, -0.04184916988015175, -0.026104647666215897, 0.00023440580116584897, 0.009145548567175865, -0.01871071569621563, 0.03908618167042732, 0.007759511470794678, 0.023404253646731377, 0.04504205286502838, 0.009578660130500793, 0.021820800378918648, -0.02007124200463295, 0.04159943386912346, 0.0048049939796328545, 0.046005696058273315, -0.08659729361534119, -0.006953120231628418, -0.05898422375321388, -0.029964551329612732, -0.018803294748067856, 0.03553013503551483, -0.01812734454870224, -0.02684771828353405, -0.008921528235077858, 0.019878072664141655, -0.04297231137752533, -0.01122967153787613, -0.016302619129419327, 0.027014609426259995, 0.07414861768484116, -0.007519996725022793, -0.011450647376477718, -0.032741401344537735, -0.02123211696743965, -0.00009586007217876613, 0.04069863259792328, -0.038822438567876816, -0.015547752380371094, 0.04539507254958153, 0.015495923347771168, -0.0007625622674822807, 0.008981489576399326, 0.058357205241918564, -0.010227993130683899, -0.015350280329585075, -0.005824428983032703, 0.004208588041365147, -0.0033051061909645796, 0.0410933680832386, 0.004064308013767004, 0.01126660406589508, 0.006503172218799591, -0.009325210936367512, 0.003797306213527918, -0.02504127472639084, -0.0025051350239664316, -0.013429833576083183, 0.004602739121764898, -0.016678402200341225, -0.08165259659290314, 0.07745692878961563, 0.03825128450989723, 0.012585810385644436, -0.0035060858353972435, 0.01070032175630331, -0.0025959673803299665, -0.023654775694012642, 0.02715626172721386, 0.05109696090221405, -0.06126392260193825, -0.0034125575330108404, -0.0030558600556105375, 0.0033374610356986523, -0.028019683435559273, 0.0016728524351492524, -0.03730471432209015, -0.050422295928001404, -0.020151397213339806, -0.004552784375846386, -0.0702701210975647, -0.0402722992002964, -0.026094909757375717, 0.02609986998140812, 0.0029123653657734394, 0.004998930264264345, 0.002141802804544568, -0.0020984215661883354, 0.0006894200341776013, -0.029645828530192375, 0.006228941027075052, -0.02854098752140999, 0.0034593367017805576, -0.013002242892980576, -0.029098186641931534, 0.013578045181930065, -0.038862768560647964, 0.02031715400516987, -0.0038499287329614162, -0.012926093302667141, -0.007337180431932211, -0.04009125754237175, -0.01727188564836979, -0.013070637360215187, 0.027249665930867195, -0.0180518738925457, -0.01804870180785656, -0.02347998321056366, -0.02471490204334259, -0.03773956745862961, 0.00572026614099741, -0.01608772948384285, 0.026118146255612373, -0.004738545045256615, 0.05729883164167404, -0.008143541403114796, 0.043969616293907166, -0.014483625069260597, -0.02308228611946106, 0.018841618672013283, -0.09091184288263321, -0.025205908343195915, -0.006179650314152241, -0.07476142048835754, -0.004235670901834965, 0.013200406916439533, -0.011967930011451244, -0.05860108509659767, 0.04735938832163811, 0.020457489416003227, 0.01670309156179428, 0.02391795814037323, 0.00012363896530587226, 0.025607459247112274, -0.06216166168451309, -0.007816165685653687, -0.07267600297927856, 0.02643755078315735, 0.03442917391657829, -0.00016012358537409455, -0.016436293721199036, 0.023022737354040146, -0.016432037577033043, 0.06110773980617523, -0.055345796048641205, -0.02047724463045597, 0.04746891185641289, -0.020900852978229523, 0.0038094681221991777, 0.014403270557522774, -0.0634278655052185, 0.02546851523220539, 0.011758383363485336, -0.039858099073171616, 0.0036409387830644846, -0.031535807996988297, 0.05116324499249458, 0.003066483186557889, 0.042149536311626434, -0.022856298834085464, -0.02565128728747368, 0.06803973764181137, 0.012030864134430885, 0.014380858279764652, 0.05839332938194275, 0.012784047052264214, 0.034232333302497864, 0.025916552171111107, 0.012472488917410374, -0.005263171624392271, 0.004708414897322655, -0.008623849600553513, -0.04718702659010887, 0.05463368445634842, -0.012654714286327362, -0.006786511279642582, -0.02061491645872593, 0.06077886372804642, 0.016971305012702942, -0.0435684435069561, -0.06512346863746643, 0.020999182015657425, -0.043355315923690796, -0.008909006603062153, -0.023343751206994057, -0.00866228062659502, -0.06895557045936584, 0.05235124006867409, -0.005337860900908709, 0.020089201629161835, 0.06554698199033737, 0.010950403288006783, -0.022736193612217903, -0.031297508627176285, 0.07289541512727737, 0.0710611417889595, 0.03813653066754341, 0.024580346420407295, 0.053014859557151794, -0.012219087220728397, -0.052006930112838745, 0.031920164823532104, -0.010377715341746807, -0.005955602508038282, -0.03129607439041138, 0.029244322329759598, 0.06266115605831146, 0.004153978079557419, 0.07021009922027588, -0.003742729779332876, 0.019464893266558647, 0.03157370537519455, 0.03339475020766258, 0.014321105554699898, 0.0635722279548645, -0.003553482238203287, 0.009127737954258919, -0.02286098338663578, -0.058737508952617645, 0.003851039335131645, -0.05167768523097038, -0.011785720475018024, 0.045919131487607956, -0.016684161499142647, 0.02802053652703762, 0.017102831974625587, 0.014854338020086288, 0.07504341006278992, -0.048939526081085205, 0.016134267672896385, -0.018951166421175003, 0.021092817187309265, 0.022127754986286163, -0.003073885105550289, -0.020968511700630188, -0.029385928064584732, 0.019565653055906296, -0.04269550368189812, -0.027547229081392288, 0.019742563366889954, -0.0273274015635252, 0.04215200990438461, -0.025071516633033752, 0.02965298853814602, 0.02958380989730358, 0.012310467660427094, -0.026486201211810112, -0.04393734410405159, -0.0470237135887146, -0.028885863721370697, -0.04577169567346573, 0.003543892642483115, 0.038179662078619, 0.0002953904040623456, -0.022738471627235413, -0.01448720321059227, -0.008392741903662682, -0.03329358622431755, 0.030507951974868774, -0.04791783168911934, -0.031649939715862274, 0.007968013174831867, 0.005177806597203016, 0.013842449523508549, -0.008925258181989193, 0.06682128459215164, 0.012529787607491016, -0.0070201922208070755, -0.03252214193344116, 0.013868661597371101, 0.004119791556149721, 0.011125034652650356, 0.030291059985756874, -0.08838237822055817, 0.031994666904211044, 0.03621828556060791, -0.010484104044735432, -0.05868230387568474, 0.02837134711444378, 0.017672063782811165, -0.031200522556900978, 0.06872373074293137, -0.007881900295615196, 0.017731893807649612, -0.028809407725930214, -0.018603119999170303, -0.0032905777916312218, 0.036569323390722275, 0.04394049569964409, -0.006853220984339714, 0.08884217590093613, 0.04199254885315895, 0.0009104179334826767, -0.045830417424440384, 0.0031338001135736704, -0.0054095727391541, -0.007224239408969879, -0.03829366713762283, -0.028928983956575394, -0.0290292426943779, -0.08420003950595856, -0.03977168723940849, 0.01449273619800806, -0.00042742668301798403, -0.029450038447976112, 0.02722266875207424, 0.027797218412160873, -0.056043244898319244, -0.014220405369997025, -0.0438629612326622, 0.037567462772130966, -0.024266399443149567, -0.013367249630391598, 0.02606053091585636, 0.025252534076571465, 0.014049772173166275, 0.019079606980085373, 0.015672923997044563, -0.05397236719727516, -0.00038382242200896144, -0.01628018356859684, 0.016144219785928726, 0.06656646728515625, 0.028414690867066383, -0.010842939838767052 ]
[ -0.10377524793148041, 0.00253671663813293, -0.0190329197794199, -0.0478709414601326, 0.03751201182603836, -0.04508369415998459, -0.020845554769039154, 0.015674369409680367, -0.016791097819805145, -0.027091359719634056, 0.012804832309484482, -0.014463010244071484, -0.0070872316136956215, -0.03592526912689209, 0.08928553014993668, 0.020790638402104378, -0.0222084391862154, -0.05910678952932358, 0.032252147793769836, 0.018715854734182358, -0.0021833116188645363, -0.053405191749334335, -0.04017859324812889, -0.016564177349209785, 0.0014035360654816031, 0.04552929475903511, 0.03730440512299538, -0.03768708184361458, 0.023978091776371002, -0.20962190628051758, 0.007965120486915112, 0.019896455109119415, 0.031561873853206635, -0.015168406069278717, 0.01671690307557583, 0.05267138406634331, 0.0065012127161026, 0.017949115484952927, -0.01738528534770012, 0.026289546862244606, 0.01626286841928959, 0.03121304139494896, -0.055123619735240936, -0.04127209261059761, 0.02262544259428978, -0.012227465398609638, -0.007862325757741928, -0.023859264329075813, -0.002427583560347557, 0.021032938733696938, -0.016152387484908104, -0.015384141355752945, -0.0010258774273097515, -0.01494157500565052, -0.030493659898638725, 0.04844784364104271, 0.039781518280506134, 0.07750431448221207, 0.021598845720291138, 0.014916783198714256, 0.00879656057804823, -0.02383422665297985, -0.13068659603595734, 0.0845862627029419, 0.0534013994038105, 0.05725991353392601, -0.031978242099285126, -0.04593604430556297, -0.010070406831800938, 0.07975294440984726, -0.002673508133739233, -0.03056836500763893, -0.03137991949915886, 0.03394110128283501, 0.02684127725660801, 0.021638046950101852, 0.012364140711724758, 0.024194059893488884, 0.020476577803492546, -0.04576988145709038, -0.010656219907104969, -0.00444718636572361, -0.039239250123500824, -0.010709098540246487, -0.03457934036850929, 0.027344459667801857, -0.0062963212840259075, 0.07257986068725586, 0.030955396592617035, 0.028307994827628136, 0.04123351350426674, -0.010636846534907818, 0.049954961985349655, 0.0038441652432084084, -0.054689135402441025, -0.002726349513977766, 0.001867976039648056, -0.007316179573535919, -0.051536671817302704, 0.4660661220550537, 0.0033863624557852745, -0.04212968423962593, 0.06946196407079697, 0.05031957849860191, 0.0045174830593168736, 0.022330928593873978, 0.002140558324754238, -0.045103177428245544, 0.018748080357909203, -0.024631010368466377, 0.002133687725290656, 0.03251619637012482, 0.06191384419798851, -0.052571993321180344, 0.024349143728613853, 0.022104034200310707, -0.003431117394939065, 0.01332585234194994, -0.0023653069511055946, -0.023604748770594597, -0.0024480705615133047, 0.03152989596128464, 0.018744105473160744, 0.015259753912687302, -0.008410638198256493, -0.042225826531648636, 0.02327677793800831, 0.02811848372220993, 0.011065727099776268, 0.0005482460837811232, 0.03598983585834503, -0.035455431789159775, -0.040488481521606445, -0.005762861575931311, 0.015511191450059414, 0.019890550523996353, 0.022615881636738777, -0.036081865429878235, -0.011296242475509644, 0.0586782731115818, -0.007328602485358715, 0.018092956393957138, 0.02757130190730095, -0.03624916076660156, -0.0338219590485096, 0.10721959173679352, 0.02767031267285347, -0.02240607887506485, -0.008857150562107563, -0.03977399691939354, 0.009535649791359901, 0.029796065762639046, 0.003862406127154827, -0.04432583227753639, 0.025971997529268265, -0.0014304101932793856, 0.07106298953294754, -0.007027944549918175, -0.06486814469099045, 0.008504296652972698, 0.004382742568850517, -0.03650074079632759, -0.050064075738191605, 0.07991258800029755, 0.04760909825563431, -0.11686493456363678, -0.03034289926290512, 0.01327462773770094, 0.03974287956953049, -0.05454155057668686, -0.023694701492786407, 0.018968066200613976, 0.005614228546619415, -0.01294422335922718, 0.06402421742677689, -0.058867018669843674, -0.03132902830839157, 0.034945350140333176, 0.027309203520417213, 0.01723412610590458, 0.020375637337565422, 0.000985309248790145, -0.04056178033351898, -0.0015207480173557997, -0.03288859874010086, -0.09159579128026962, -0.03598279133439064, -0.015119625255465508, -0.040141861885786057, -0.012714611366391182, -0.04543166235089302, 0.015205689705908298, -0.08267807960510254, 0.10609517991542816, -0.00039204786298796535, -0.027615249156951904, 0.031090382486581802, -0.02198787033557892, -0.01507779024541378, -0.02807195484638214, -0.020333999767899513, 0.033133670687675476, -0.03390079364180565, 0.028026649728417397, -0.10557985305786133, 0.04095053672790527, 0.030617360025644302, -0.04805031046271324, 0.0709988921880722, 0.05470520630478859, -0.02172575145959854, -0.031541239470243454, 0.035136476159095764, 0.019163373857736588, 0.006049571093171835, -0.01660226657986641, -0.00043897019349969923, 0.011875619180500507, 0.013959396630525589, 0.027013255283236504, -0.023895541206002235, 0.03568560257554054, -0.026633035391569138, -0.34245046973228455, -0.04218154028058052, -0.03632514551281929, 0.013237956911325455, 0.012184900231659412, -0.06715419888496399, 0.020412176847457886, -0.01070762425661087, -0.022243447601795197, -0.009848273359239101, 0.07397864013910294, 0.016451396048069, 0.00485304044559598, -0.06645325571298599, -0.007641647942364216, -0.008330459706485271, -0.030390772968530655, 0.0004816481377929449, -0.05255989357829094, 0.006579219363629818, -0.018876325339078903, -0.014376437291502953, -0.01805828884243965, -0.04994478449225426, -0.010552951134741306, -0.03295116126537323, 0.08332955092191696, -0.02576659433543682, 0.08704525232315063, -0.04315599426627159, 0.029014509171247482, 0.014776833355426788, 0.03301563113927841, -0.10467421263456345, 0.0020668734796345234, 0.005469393916428089, 0.023128708824515343, -0.020955432206392288, 0.038661371916532516, -0.02402685396373272, -0.07980679720640182, 0.003681359812617302, -0.06207399070262909, -0.050610534846782684, -0.02527117356657982, -0.005883810110390186, -0.03863668814301491, -0.01794883981347084, -0.04668807610869408, 0.06184733286499977, 0.022622806951403618, -0.01556758489459753, 0.0008606287883594632, 0.029531611129641533, -0.008492554537951946, -0.05282261595129967, -0.07068906724452972, 0.020341431722044945, 0.0280914306640625, -0.014582335017621517, 0.04771388694643974, 0.09204544126987457, 0.033141154795885086, -0.05765045806765556, 0.034974828362464905, 0.011738314293324947, 0.01101113110780716, 0.011624216102063656, 0.05288439244031906, -0.03951888158917427, -0.011059421114623547, 0.09960157424211502, -0.02171248383820057, -0.0019490892300382257, 0.014388333074748516, 0.019134992733597755, -0.02189536951482296, 0.005841705482453108, 0.026147179305553436, 0.00023063327535055578, 0.01573977805674076, -0.030022813007235527, 0.01678341254591942, -0.02901914156973362, -0.00808696448802948, 0.05128903314471245, -0.012407811358571053, -0.043611254543066025, 0.0538872554898262, 0.0251220241189003, -0.014519982971251011, 0.01737903244793415, -0.008399699814617634, -0.06555761396884918, 0.07122950255870819, -0.007513442076742649, -0.23862726986408234, 0.017782434821128845, 0.07369250059127808, 0.015442327596247196, -0.022824343293905258, 0.014701620675623417, 0.04473191872239113, -0.05881985276937485, 0.013390501029789448, 0.031540077179670334, 0.026342179626226425, 0.03127233311533928, 0.01854751817882061, 0.009977231733500957, 0.03622578829526901, 0.003770549315959215, 0.04785706102848053, -0.02189970389008522, -0.0037882111500948668, -0.01724882982671261, -0.015462654642760754, -0.010363188572227955, 0.14170384407043457, 0.006540575064718723, 0.017167668789625168, 0.00945103820413351, -0.007640333380550146, 0.04308145120739937, 0.05092926695942879, 0.005932486150413752, -0.03559163212776184, -0.007543651852756739, 0.008997473865747452, -0.005807843524962664, 0.018300022929906845, -0.06993547081947327, 0.0012288803700357676, 0.03700292855501175, 0.010204484686255455, 0.024866221472620964, -0.0015185096999630332, 0.004246745724231005, 0.004639318212866783, 0.02678929641842842, 0.051780879497528076, -0.0014820544747635722, -0.00750900199636817, -0.031047794967889786, -0.041941989213228226, -0.026279792189598083, -0.04484136030077934, -0.05598249286413193, 0.02457956038415432, -0.03584744408726692, 0.021153075620532036, 0.09128600358963013, 0.01450775470584631, -0.03221377730369568, 0.008842382580041885, 0.014717484824359417, -0.003185755107551813, -0.021096117794513702, 0.11679163575172424, 0.015970604494214058, 0.021539488807320595 ]
[ -0.0009234268800355494, 0.029478052631020546, -0.0010082483058795333, -0.0013440840411931276, -0.03268805518746376, -0.013359514065086842, -0.01068872306495905, 0.02818707376718521, -0.0141177112236619, 0.013307691551744938, 0.0051854923367500305, -0.015877870842814445, 0.04013222083449364, 0.005254038143903017, 0.028691371902823448, -0.022633541375398636, 0.0068204402923583984, -0.009609179571270943, 0.00964698288589716, -0.04167008399963379, -0.01164601743221283, 0.03701809048652649, -0.022370969876646996, -0.008089132606983185, 0.020906616002321243, 0.02546025440096855, -0.03917697072029114, 0.017208533361554146, 0.022983599454164505, -0.1403513252735138, -0.0034761130809783936, -0.01716019958257675, 0.0006584286456927657, -0.0015095112612470984, 0.014611374586820602, -0.0205428097397089, 0.025104008615016937, -0.0018668699776753783, 0.016988292336463928, -0.021780500188469887, 0.033336982131004333, 0.0024822165723890066, 0.013415773399174213, -0.0028358614072203636, -0.03900763764977455, -0.01568126678466797, -0.01352255791425705, -0.04648258537054062, -0.01879196986556053, 0.0015624278457835317, -0.02406003139913082, -0.006621179170906544, 0.00197786558419466, 0.04291815310716629, 0.00857424084097147, 0.005874378606677055, 0.010144402272999287, 0.007082722615450621, 0.007835140451788902, -0.03510327264666557, -0.0030199610628187656, -0.005198965780436993, -0.029863858595490456, -0.020052829757332802, -0.02434478886425495, 0.004515900742262602, -0.012282662093639374, 0.011271953582763672, -0.0043525611981749535, -0.016633279621601105, -0.04178612679243088, 0.0020438197534531355, -0.044384971261024475, -0.049486204981803894, 0.026539256796240807, 0.05654965341091156, 0.02588050439953804, -0.007827545516192913, 0.0019434376154094934, -0.010673381388187408, -0.022609451785683632, 0.04222504049539566, 0.0048219505697488785, -0.01223465334624052, -0.0008995976531878114, 0.0067788963206112385, 0.02610386721789837, 0.0047395071014761925, 0.018266990780830383, 0.020595809444785118, -0.008878043852746487, 0.04828948155045509, -0.02490839548408985, -0.006484173703938723, -0.059048477560281754, -0.010486877523362637, -0.04287935793399811, -0.020260658115148544, -0.016404664143919945, 0.851824164390564, 0.012495556846261024, 0.006727603729814291, 0.031016072258353233, -0.0028260063845664263, -0.03585337474942207, -0.023016858845949173, -0.0033474897500127554, 0.020332740619778633, 0.029404865577816963, -0.03312366083264351, 0.008612118661403656, -0.0008274108986370265, 0.02079663798213005, -0.00689280778169632, 0.03315829113125801, 0.05889574810862541, 0.0021299042273312807, 0.006185160018503666, -0.0032090810127556324, -0.0003567203530110419, 0.036541689187288284, 0.003701095702126622, -0.012484513223171234, 0.020840832963585854, 0.02834765985608101, -0.17577703297138214, 0.02277977019548416, -8.364873636433062e-33, -0.008135230280458927, -0.021698039025068283, -0.0049693346954882145, 0.022826192900538445, 0.04305986315011978, -0.030227623879909515, 0.03522706404328346, 0.0270196795463562, -0.021460596472024918, -0.0470239594578743, 0.00476749986410141, -0.006999916862696409, -0.0023956329096108675, -0.011529646813869476, 0.037895701825618744, -0.02326066419482231, -0.011433800682425499, 0.039150670170784, 0.006665919441729784, 0.02265102043747902, 0.06595442444086075, 0.017277054488658905, -0.01692783460021019, 0.010328562930226326, 0.05622604861855507, 0.017769375815987587, 0.014992301352322102, 0.022142937406897545, -0.010585393756628036, -0.03809628263115883, -0.03421124070882797, 0.044180978089571, 0.0068725827150046825, -0.018285224214196205, 0.026790201663970947, -0.029079152271151543, -0.010766315273940563, 0.01530515681952238, -0.020718906074762344, -0.03049463964998722, -0.02098722942173481, -0.020413117483258247, -0.03594747185707092, 0.041115306317806244, 0.0029470636509358883, -0.050412170588970184, -0.02243351936340332, -0.007649356033653021, 0.0414871908724308, -0.020979128777980804, 0.01975712925195694, 0.009657641872763634, -0.0025350528303533792, 0.003096954198554158, 0.009324965067207813, 0.024056842550635338, -0.014459267258644104, 0.005849151872098446, -0.02408776991069317, -0.011064255610108376, -0.007931438274681568, -0.01366350520402193, -0.04613075405359268, 0.052940528839826584, -0.002402564510703087, -0.03551352396607399, -0.005439041182398796, 0.02667147107422352, 0.0511268749833107, 0.004083240870386362, -0.04803994670510292, -0.00985704269260168, -0.011651300825178623, -0.04423132911324501, 0.010320081375539303, -0.025658901780843735, -0.023775532841682434, 0.03798313066363335, 0.0028485762886703014, 0.05008577182888985, 0.01848265528678894, -0.012780392542481422, -0.021506261080503464, -0.02852005697786808, 0.017514962702989578, -0.028401441872119904, -0.0009407320176251233, 0.012956532649695873, 0.004079332575201988, -0.01281248964369297, 0.04072130471467972, 0.002848685486242175, 0.03590254858136177, -0.005082331597805023, -0.03334752842783928, 8.678372102325612e-33, -0.0007903907098807395, -0.013113768771290779, -0.017853980883955956, -0.005723213776946068, -0.0032096405047923326, 0.013820255175232887, 0.018203426152467728, -0.00043264401028864086, -0.046442363411188126, 0.018656976521015167, -0.011131788603961468, 0.021242402493953705, -0.01880759559571743, 0.02423737570643425, 0.008370103314518929, -0.04184349253773689, 0.04661630839109421, -0.036884475499391556, 0.06298280507326126, 0.03333963453769684, 0.05009998753666878, -0.010153155773878098, 0.0046073379926383495, -0.00713728740811348, -0.001364726573228836, 0.04465169832110405, -0.024764325469732285, 0.02258111909031868, 0.004801691975444555, -0.003805318381637335, -0.027661209926009178, 0.011599954217672348, 0.006599271669983864, -0.04416022449731827, -0.00612687598913908, 0.004888013005256653, -0.013041437603533268, 0.006767537444829941, -0.011774719692766666, -0.011324755847454071, 0.009622407145798206, 0.00717672286555171, -0.005538837052881718, 0.0065818168222904205, 0.014520454220473766, 0.0074676345102488995, -0.017860837280750275, -0.02950584515929222, -0.029709598049521446, 0.04062266647815704, -0.007912257686257362, 0.02615993097424507, 0.008842708542943, 0.0029627475887537003, -0.02461334504187107, 0.0029240604490041733, -0.03630874305963516, 0.011282636784017086, -0.04539650306105614, 0.019946597516536713, 0.014298784546554089, 0.006438391283154488, -0.02652289718389511, -0.018631089478731155, -0.031430523842573166, 0.0067396946251392365, -0.011552446521818638, 0.027708740904927254, -0.010447791777551174, -0.005696743726730347, -0.0013427467783913016, -0.00045187302748672664, -0.008909931406378746, 0.025405405089259148, 0.03760561719536781, -0.034733086824417114, -0.0006155195878818631, -0.014517541974782944, -0.017903944477438927, 0.02549903839826584, -0.02166224643588066, 0.0006894927355460823, -0.0322209894657135, 0.010184986516833305, -0.00614734273403883, 0.008367964997887611, -0.020322145894169807, 0.024232642725110054, 0.011266544461250305, 0.009096572175621986, -0.03370687738060951, -0.021326560527086258, -0.008141201920807362, 0.009836369194090366, 0.0036479246336966753, -1.3783938435096843e-8, 0.012685684487223625, 0.017474118620157242, -0.03333372622728348, 0.014518892392516136, 0.006047285161912441, -0.0013086727121844888, -0.029761750251054764, -0.007688190322369337, -0.01194866094738245, 0.03565868362784386, 0.05070815235376358, -0.021344849839806557, 0.0002568366180639714, 0.00638384185731411, 0.024885578081011772, -0.0222528837621212, -0.009685343131422997, -0.03644740954041481, 0.034585144370794296, -0.021125059574842453, 0.005497568752616644, 0.05633268877863884, -0.008802308700978756, 0.024060336872935295, -0.003858214244246483, 0.03812834620475769, 0.006748734042048454, -0.0647643432021141, -0.019307151436805725, 0.03537493571639061, 0.0022103344090282917, -0.02209009975194931, -0.04978727549314499, 0.016507422551512718, -0.033201009035110474, -0.021473271772265434, 0.048084672540426254, 0.0005172315868549049, 0.036241162568330765, -0.012142832390964031, 0.010646563954651356, -0.0029066435527056456, 0.0034814204555004835, -0.025559579953551292, -0.014399384148418903, 0.011904366314411163, -0.009915967471897602, 0.005408932454884052, 0.022238468751311302, -0.023830890655517578, 0.009547403082251549, 0.01675698347389698, -0.02548287622630596, 0.003455262165516615, 0.031158486381173134, 0.001028735307045281, 0.03216254338622093, -0.028262270614504814, -0.036279138177633286, 0.024989889934659004, 0.03714299201965332, 0.020564012229442596, -0.009886857122182846, -0.01748502627015114 ]
continuous-integration-community-college-discussion
https://markhneedham.com/blog/2009/07/11/continuous-integration-community-college-discussion