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-07-16 07:40:18
F#: Passing command line arguments to a script
[ "f" ]
[ "fsharp" ]
I've been doing a bit of refactoring of http://www.markhneedham.com/blog/2009/07/12/f-a-day-writing-a-feedburner-graph-creator/[my FeedBurner application] so that I can call it from the command line with the appropriate arguments and one of the problems I came across is working out how to pass arguments from the command line into an http://www.markhneedham.com/blog/2009/06/09/f-useful-for-scripting/[F# script]. With a compiled application we are able to make use of the 'http://www.markhneedham.com/blog/2009/05/02/f-entry-point-of-an-application/[EntryPointAttribute]' to get access to the arguments passed in: [source,ocaml] ---- [<EntryPointAttribute>] let main args = ShowFeedBurnerStats args 0 ---- Sadly this doesn't work with a script but http://cs.hubfs.net/forums/thread/2911.aspx[it was pointed out on Hub FS] that we can get access to all the command line arguments by using 'Sys.argv' or 'System.Environment.GetCommandLineArgs()' which seems to be the preferred choice of the compiler. The problem is that with that method you get every single argument passed to the command line and there are some that we don't care about given the way you would typically call an F# script: [source,text] ---- fsi --exec --nologo CreateFeedBurnerGraph.fsx -- "scotthanselman" "2009-03-01" "2009-07-14" ---- Results in the following arguments: [source,text] ---- fsi --exec --nologo CreateFeedBurnerGraph.fsx -- scotthanselman 2009-03-01 2009-07-14 ---- We care about everything after the '--' so I wrote a little function to just gather those values: [source,ocaml] ---- let GetArgs initialArgs = let rec find args matches = match args with | hd::_ when hd = "--" -> List.to_array (matches) | hd::tl -> find tl (hd::matches) | [] -> Array.empty find (List.rev (Array.to_list initialArgs) ) [] ---- I'm not sure this works for every possible case (if you put '--' in as an argument it wouldn't work as expected!) but it's doing the job so far. An even better way of doing this which I came across while writing this is to use 'fsi.CommandLineArgs' which allows you to just get the arguments passed to the script. Even with this approach though the '--' is still counted as one of the arguments so the function above still makes sense. [source,ocaml] ---- GetArgs [|"--"; "scotthanselman"; "2009-03-01"; "2009-07-14"|] ---- [source,ocaml] ---- val it : string array = [|"scotthanselman"; "2009-03-01"; "2009-07-14"|] ---- And from the script I have the following: [source,ocaml] ---- let programArgs = fsi.CommandLineArgs |> GetArgs ShowFeedBurnerStats programArgs ----
null
null
[ -0.01195503119379282, 0.011820785701274872, -0.012528837658464909, 0.014231273904442787, 0.07588819414377213, -0.0011693453416228294, 0.0016135743353515863, 0.03892292082309723, 0.024520041421055794, -0.03558054938912392, -0.008404790423810482, 0.00905729178339243, -0.0766395851969719, 0.013972369953989983, 0.03356267139315605, 0.06982899457216263, 0.07333968579769135, -0.0017368232365697622, 0.046532198786735535, 0.023038648068904877, 0.006385598797351122, 0.06206195428967476, -0.009602275677025318, 0.022190727293491364, 0.018996844068169594, 0.019627101719379425, 0.015053564682602882, -0.013073927722871304, -0.05413856357336044, -0.01078969519585371, 0.005431836470961571, 0.009724847041070461, 0.023532936349511147, -0.059882842004299164, 0.018436504527926445, -0.02439657226204872, -0.02172134816646576, 0.045689839869737625, -0.0023017653729766607, 0.05568841099739075, -0.07841858267784119, 0.043691422790288925, -0.011988786980509758, -0.012652688659727573, -0.0408768430352211, 0.03079877980053425, -0.012712190859019756, 0.022082297131419182, 0.010021405294537544, -0.02611224353313446, -0.09303305298089981, 0.008908293209969997, 0.0032614886295050383, -0.004317187238484621, 0.03870217129588127, 0.03554020822048187, 0.017050843685865402, -0.07108951359987259, 0.012648285366594791, -0.019918197765946388, -0.0022668056190013885, 0.017141064628958702, 0.006036140490323305, 0.054017744958400726, 0.011949372477829456, -0.010982385836541653, 0.00018000560521613806, 0.03714579716324806, -0.04137764126062393, -0.014047716744244099, -0.0022960759233683348, 0.0056836893782019615, -0.048167455941438675, -0.000054322987125488, 0.033708006143569946, -0.03380834683775902, 0.008802331984043121, 0.0766482800245285, 0.016152402386069298, 0.04444858804345131, -0.01634865626692772, 0.0111783342435956, 0.017855286598205566, 0.012086791917681694, 0.012730543501675129, -0.02063809521496296, 0.002829618053510785, -0.002813914092257619, -0.04003633186221123, 0.03773215785622597, -0.0038999745156615973, -0.08893892914056778, -0.009143476374447346, 0.0021633387077599764, 0.012413215823471546, -0.00015372579218819737, 0.02013321965932846, 0.007472626864910126, -0.0010819995077326894, -0.022633787244558334, -0.03347067907452583, 0.0007189355092123151, 0.016087757423520088, 0.02405516989529133, -0.06247912347316742, -0.027770407497882843, -0.02067556045949459, -0.03771146014332771, 0.001101751229725778, 0.003908294253051281, -0.02495570294559002, 0.018474649637937546, -0.029666753485798836, -0.019927117973566055, -0.09003803133964539, 0.06092649698257446, -0.014005606062710285, -0.03673018887639046, 0.005165466573089361, 0.03215470165014267, 0.027223384007811546, 0.03476922959089279, -0.01441052183508873, 0.08806043863296509, 0.006800889037549496, 0.043721284717321396, 0.012269464321434498, 0.07434418797492981, -0.03217647969722748, -0.05377570539712906, -0.03090760111808777, 0.07527785003185272, -0.006155255250632763, 0.006589770317077637, 0.0006158292526379228, -0.020072629675269127, -0.010592395439743996, -0.01897251605987549, 0.03535731881856918, 0.053689997643232346, -0.002425034064799547, -0.016130978241562843, 0.006199787370860577, -0.0064235893078148365, -0.002546505071222782, 0.0031542894430458546, 0.00007929204002721235, -0.03755614161491394, -0.0475168377161026, 0.021526874974370003, 0.037788163870573044, 0.03395344689488411, 0.058204490691423416, -0.02951507642865181, 0.0017010190058499575, 0.08360975980758667, 0.035791706293821335, -0.0014048150042071939, -0.028641413897275925, 0.025749631226062775, 0.04288072511553764, 0.053196631371974945, 0.016379423439502716, 0.06346886605024338, 0.003919329959899187, -0.01294533908367157, 0.004857552237808704, -0.014244583435356617, -0.03917933627963066, -0.018838776275515556, -0.0420958586037159, -0.020335931330919266, 0.07830307632684708, -0.038190022110939026, 0.0173442792147398, 0.013946185819804668, 0.0912003442645073, 0.0055936528369784355, 0.08023880422115326, -0.003996712155640125, -0.07238074392080307, 0.024405524134635925, -0.003368833800777793, 0.015524174086749554, 0.00043494111741892993, -0.024260910227894783, 0.07411903142929077, 0.0028773476369678974, 0.03111344762146473, 0.02314932271838188, -0.07062824815511703, -0.08531595766544342, -0.02501419372856617, 0.006227727513760328, 0.07209715992212296, -0.04879472032189369, -0.006166272331029177, 0.0589340515434742, 0.04808288440108299, 0.03757992759346962, 0.0381130650639534, -0.04306403920054436, 0.035281144082546234, -0.06807898730039597, -0.07408737391233444, 0.027230964973568916, 0.034226756542921066, -0.013415505178272724, -0.03639569506049156, 0.03736623376607895, -0.031717367470264435, 0.04790316894650459, 0.051750775426626205, -0.011908336542546749, 0.040139421820640564, 0.01941286399960518, 0.018326299265027046, -0.05584803968667984, 0.044810544699430466, -0.054884154349565506, -0.007387980353087187, -0.009619608521461487, -0.0044783554039895535, 0.00649031950160861, -0.011990371160209179, 0.11827211827039719, 0.08069673925638199, -0.04559563845396042, -0.046418074518442154, 0.0175817608833313, -0.00019580672960728407, -0.022166715934872627, 0.0031298750545829535, 0.007139298599213362, -0.030217397958040237, -0.0009671004372648895, -0.019545983523130417, 0.03271979093551636, 0.0029081394895911217, -0.03728526458144188, 0.04993123561143875, 0.06143493950366974, -0.014807308092713356, 0.03839351236820221, -0.02708771452307701, -0.009675133042037487, 0.0021266182884573936, 0.0017028645379468799, -0.02901601418852806, 0.0029105350840836763, 0.021946560591459274, 0.003478382946923375, 0.08029480278491974, -0.02965940162539482, -0.08508231490850449, -0.012249481864273548, -0.057338133454322815, 0.00738637987524271, 0.04877544194459915, 0.05969921499490738, -0.008630035445094109, 0.01790502481162548, -0.03385809808969498, 0.04241238534450531, 0.011161288246512413, -0.0687999427318573, -0.04189037159085274, -0.004805532284080982, 0.018120726570487022, 0.05098526552319527, 0.007080688141286373, -0.013224204070866108, 0.021338632330298424, 0.012636588886380196, -0.010666013695299625, 0.012968895956873894, 0.011255335994064808, 0.0011710856342688203, -0.05156197398900986, -0.041119229048490524, -0.008046915754675865, 0.031457457691431046, -0.032838400453329086, -0.014387989416718483, 0.007944252341985703, -0.028805598616600037, 0.025866886600852013, -0.08999406546354294, -0.03007286787033081, 0.011485735885798931, 0.010774297639727592, 0.035456057637929916, -0.004980654921382666, 0.042748142033815384, 0.05337107181549072, -0.01571209542453289, 0.009840111248195171, -0.015420217998325825, 0.0012605638476088643, 0.017741447314620018, 0.008469140157103539, 0.02115551009774208, 0.008960080333054066, 0.013632445596158504, -0.017408272251486778, -0.046065714210271835, -0.02897055447101593, -0.0435338132083416, -0.28675171732902527, 0.06235382333397865, -0.015129727311432362, -0.022352401167154312, 0.03373872488737106, -0.016502918675541878, 0.029368726536631584, -0.05806119740009308, -0.024209020659327507, 0.02547995001077652, -0.01692860759794712, -0.03195209801197052, -0.030838722363114357, 0.06677026301622391, -0.00431195180863142, 0.03081413172185421, 0.012511635199189186, -0.07200860232114792, 0.0528927817940712, 0.0194011889398098, 0.010355520993471146, -0.03915545716881752, 0.010065753012895584, 0.04516243562102318, 0.028033996000885963, 0.033438798040151596, -0.08083084970712662, 0.05239023640751839, -0.01030693668872118, -0.0025584015529602766, 0.003100922331213951, -0.019105415791273117, -0.012980069033801556, -0.01610936038196087, -0.028186185285449028, -0.016929300501942635, 0.0024694923777133226, 0.0032866441179066896, 0.034515101462602615, -0.013138645328581333, -0.033077944070100784, -0.03963666781783104, -0.01868698000907898, 0.0006244139513000846, 0.06301230937242508, -0.018148116767406464, -0.06824241578578949, 0.004536760039627552, -0.026504099369049072, 0.07794370502233505, -0.0382288433611393, -0.04213663563132286, -0.013665743172168732, 0.02275065891444683, 0.003628144273534417, -0.04056483879685402, -0.006194188725203276, -0.02583382837474346, -0.025266176089644432, -0.003810279769822955, -0.022687528282403946, -0.02079167403280735, -0.02494780533015728, -0.05131017416715622, -0.012603727169334888, -0.06659673899412155, -0.05334703251719475, -0.029429113492369652, 0.04525720700621605, 0.0463176928460598, -0.0225857961922884, 0.0040559954941272736, 0.000037701356632169336, -0.10059894621372223, 0.016891879960894585, -0.052410323172807693, -0.048687078058719635, 0.001539148623123765, -0.0054258196614682674, 0.05315598100423813, -0.02233719825744629, -0.0263204462826252, 0.02415824867784977, -0.030105682089924812, 0.012643150985240936, -0.002899190643802285, 0.022673098370432854, 0.003775648307055235, -0.013774827122688293, -0.01703375019133091, 0.06814409792423248, -0.003708974691107869, 0.009672861546278, -0.022337835282087326, 0.013676464557647705, 0.022137492895126343, 0.04182160645723343, -0.013857435435056686, 0.03493208810687065, 0.021890852600336075, 0.07151457667350769, -0.041230134665966034, 0.0044708456844091415, -0.06452079117298126, -0.023671496659517288, -0.008676016703248024, -0.032783351838588715, 0.01244344562292099, 0.029277609661221504, -0.01677498035132885, -0.027410011738538742, -0.04459970444440842, -0.0025231591425836086, -0.06534788012504578, -0.05829261615872383, 0.026658935472369194, 0.01780465431511402, 0.0017876754282042384, 0.023555925115942955, -0.04423286020755768, -0.07100367546081543, 0.008286925964057446, -0.01304861530661583, -0.029669610783457756, -0.08051557093858719, -0.027240512892603874, 0.007762948051095009, -0.015854129567742348, 0.048356201499700546, 0.045626018196344376, -0.009347673505544662, 0.015088392421603203, 0.010964113287627697, -0.025862442329525948, 0.011766170151531696, -0.036945194005966187, -0.004416992422193289, -0.033548504114151, 0.012803955003619194, -0.001320660812780261, -0.01933852769434452, 0.014936165884137154, 0.010669811628758907, 0.010818516835570335, 0.043599020689725876, 0.011809502728283405, 0.031236596405506134, 0.015308625064790249, 0.0052991281263530254, 0.010239996016025543, 0.03690516948699951, -0.030477410182356834, 0.03904656693339348, -0.017461933195590973, -0.04630787670612335, -0.00635232450440526, 0.020473629236221313, -0.010045717470347881, -0.031538743525743484, -0.0562342144548893, 0.04162222519516945, -0.036350831389427185, -0.009490268304944038, -0.00892811268568039, -0.046137139201164246, 0.023136720061302185, 0.02304225042462349, 0.04746321216225624, 0.0026208290364593267, -0.022130398079752922, -0.019944779574871063, -0.00848406832665205, -0.04689345136284828, 0.023205550387501717, 0.01506715640425682, 0.010637260042130947, 0.021300088614225388, 0.030078092589974403, 0.03475077077746391, 0.0247427336871624, -0.03338835760951042, -0.03319679945707321, 0.006255116313695908, 0.007867153733968735, 0.04363754764199257, -0.020373467355966568, -0.012971625663340092, 0.0002659998426679522, -0.016523292288184166, 0.0071105798706412315, -0.022492755204439163, -0.005755351856350899, -0.025880727916955948, 0.02254069223999977, 0.0007111120503395796, -0.05819404125213623, 0.04377686232328415, 0.018724435940384865, 0.022313499823212624, -0.024779435247182846, -0.019285719841718674, -0.003402317874133587, -0.02673056721687317, 0.049214377999305725, 0.039951059967279434, -0.04063350707292557, 0.021536385640501976, -0.007378171198070049, 0.04570196568965912, 0.026360150426626205, 0.010084177367389202, -0.03784538432955742, -0.03741571679711342, 0.006835330277681351, 0.027262771502137184, -0.012489060871303082, -0.0289568193256855, -0.014385554008185863, -0.0015139112947508693, 0.006755932699888945, -0.023245807737112045, -0.020949076861143112, 0.014644513837993145, -0.022401336580514908, -0.03381292149424553, 0.002107227686792612, -0.025485945865511894, -0.025545991957187653, 0.0268266424536705, -0.02927405573427677, 0.008288707584142685, -0.028040874749422073, 0.04942154139280319, 0.0048526255413889885, 0.02002445049583912, -0.002151481108739972, -0.0626087561249733, 0.0006827503675594926, -0.028198374435305595, 0.04319792985916138, 0.013412266038358212, 0.003461418906226754, -0.01590578816831112, -0.008964897133409977, -0.0068112523294985294, -0.006539930123835802, -0.02506629191339016, -0.03558545559644699, -0.0016351996455341578, 0.023957788944244385, 0.005552147515118122, 0.027929183095693588, 0.00253730034455657, -0.013258217833936214, 0.06360102444887161, -0.07368991523981094, -0.03573217615485191, 0.024470340460538864, -0.04668637365102768, 0.05133628100156784, 0.00697361072525382, 0.02272261306643486, -0.09023085236549377, 0.0773920863866806, 0.028123702853918076, 0.0016252223867923021, 0.026977891102433205, -0.005591250490397215, 0.029164401814341545, -0.014417423866689205, -0.012572277337312698, -0.10032710433006287, 0.00229511596262455, 0.06415779888629913, 0.052752815186977386, -0.02451307326555252, 0.010755016468465328, -0.0018957722932100296, 0.018703468143939972, -0.035217590630054474, -0.026157889515161514, 0.04704086109995842, 0.02844030223786831, -0.031655602157115936, 0.03906196728348732, -0.039967529475688934, 0.009646897204220295, 0.01687348075211048, -0.04026929289102554, -0.020221548154950142, -0.00268724886700511, 0.03573603555560112, -0.0034319492988288403, 0.029870212078094482, -0.02922200970351696, -0.01817236840724945, 0.08102679252624512, 0.01990097016096115, -0.018292104825377464, 0.0704861581325531, 0.002631386974826455, 0.027623474597930908, 0.05225056782364845, -0.005498412996530533, -0.019475221633911133, 0.001783721032552421, 0.0008061646367423236, -0.0612558051943779, 0.00845850259065628, 0.027590762823820114, -0.029923854395747185, -0.05483517795801163, 0.06453128904104233, -0.01844429038465023, -0.026946179568767548, -0.05081562697887421, 0.0025860804598778486, -0.028606589883565903, 0.022006966173648834, -0.02622230164706707, 0.04930044710636139, -0.017432522028684616, 0.04866095259785652, -0.011740772053599358, 0.0016936336178332567, 0.04277016967535019, -0.019024094566702843, -0.010106471367180347, -0.020336037501692772, 0.025290554389357567, 0.05768182501196861, 0.04688713327050209, 0.016076326370239258, 0.0475265197455883, -0.042904507368803024, -0.018883116543293, -0.006785073783248663, -0.021906116977334023, -0.006452185567468405, -0.04433125630021095, 0.015002054162323475, 0.09233298152685165, -0.005368679761886597, 0.05375567451119423, -0.03560224920511246, 0.003025710815563798, -0.008319508284330368, 0.055143363773822784, 0.0023956133518368006, 0.042347393929958344, -0.009714231826364994, -0.016148781403899193, -0.0033380757085978985, -0.051613885909318924, 0.014552959240972996, -0.05316956341266632, 0.001156094018369913, 0.025341756641864777, 0.009278662502765656, 0.043217454105615616, 0.021469101309776306, 0.025402840226888657, 0.0667419582605362, -0.0509159117937088, -0.0199773870408535, 0.015577021986246109, 0.016527028754353523, 0.003440819215029478, -0.011123723350465298, 0.0005321884527802467, 0.0014674338744953275, 0.009288114495575428, -0.0048985108733177185, -0.04816732928156853, -0.03223596513271332, -0.036762483417987823, 0.038137976080179214, -0.021185122430324554, 0.00351970037445426, 0.0024953996762633324, -0.023108744993805885, -0.05696064233779907, -0.052698660641908646, -0.04735986143350601, -0.053955137729644775, -0.060668595135211945, -0.029516249895095825, 0.011781622655689716, -0.005501745268702507, -0.032721202820539474, -0.02864532545208931, -0.022161971777677536, -0.029411835595965385, 0.006815517786890268, -0.011320309713482857, -0.016196412965655327, 0.030134934931993484, 0.0038568442687392235, 0.022128945216536522, 0.016590295359492302, 0.019664699211716652, 0.005891797598451376, -0.007669910788536072, -0.03251704201102257, 0.020984485745429993, 0.01815061643719673, -0.007596834097057581, 0.014911409467458725, -0.07232062518596649, 0.03717382252216339, 0.0007955898763611913, 0.023844251409173012, -0.05621851608157158, 0.016723977401852608, 0.028952209278941154, 0.005213639233261347, 0.07276354730129242, -0.00863519124686718, -0.002797482768073678, -0.06548790633678436, 0.005009771324694157, 0.007734768092632294, -0.0006949231028556824, 0.03330414742231369, -0.0075055984780192375, 0.06304052472114563, 0.03802742436528206, -0.014717993326485157, -0.026516826823353767, -0.022938977926969528, -0.020179351791739464, 0.04250770062208176, -0.008529912680387497, -0.036395616829395294, -0.022856835275888443, -0.06906376034021378, 0.03326711803674698, 0.02313053607940674, 0.0020145175512880087, -0.03181145712733269, 0.02051328681409359, 0.013941085897386074, -0.06383528560400009, 0.03262408450245857, -0.03451912850141525, 0.00756744435057044, -0.0075346920639276505, -0.06376058608293533, -0.011743503622710705, 0.04020481929183006, 0.03487395495176315, -0.00015947020438034087, 0.004071508534252644, -0.054424840956926346, -0.05296941474080086, 0.005439796485006809, 0.016665032133460045, 0.04603829234838486, -0.0183685552328825, 0.010605402290821075 ]
[ -0.09196838736534119, -0.0080104423686862, -0.03652705252170563, -0.038808245211839676, 0.048577044159173965, -0.05248762294650078, -0.018732834607362747, 0.019900204613804817, -0.03298818692564964, -0.029946165159344673, -0.024569153785705566, -0.03999236226081848, -0.01807979866862297, 0.005766807124018669, 0.06647645682096481, 0.009776633232831955, -0.047044821083545685, -0.028054801747202873, -0.02004462666809559, -0.016618043184280396, -0.0030171461403369904, -0.015809811651706696, -0.05898945406079292, -0.08457368612289429, 0.00851421058177948, 0.039827726781368256, 0.013692028820514679, -0.035406988114118576, -0.023133020848035812, -0.20196057856082916, 0.022564169019460678, -0.012222555465996265, 0.011764142662286758, -0.047433312982320786, -0.01616680435836315, 0.03720584511756897, 0.05927015468478203, 0.0324627086520195, -0.004955047741532326, 0.05954045057296753, 0.05468331649899483, -0.006087092217057943, -0.03878716006875038, -0.006534597836434841, 0.039776381105184555, -0.01245738472789526, -0.007994217798113823, -0.03917727991938591, -0.003335048211738467, 0.025245940312743187, -0.0487055703997612, -0.0006821437273174524, -0.012164083309471607, -0.04717981442809105, -0.026242312043905258, 0.01052373182028532, 0.02263317070901394, 0.07106710970401764, 0.023438183590769768, 0.01330420933663845, -0.03261250630021095, -0.013029024004936218, -0.17407815158367157, 0.10243506729602814, 0.03332361951470375, 0.005440207198262215, 0.0010117191122844815, -0.04317043349146843, -0.015972204506397247, 0.10069733113050461, -0.013584330677986145, -0.032455410808324814, -0.019730759784579277, 0.04857150837779045, 0.0012726766290143132, -0.03773224353790283, 0.012329621240496635, 0.016880059614777565, 0.039888858795166016, -0.060470715165138245, -0.04858425259590149, -0.007960431277751923, -0.01834695041179657, 0.0037551678251475096, -0.0160546712577343, 0.028169961646199226, 0.01537009421736002, 0.06499668955802917, 0.07389143109321594, 0.04767609015107155, 0.03253304213285446, -0.04193645343184471, 0.06272446364164352, 0.00775598268955946, -0.08736298978328705, -0.016013652086257935, 0.04901793599128723, 0.014258414506912231, -0.055195096880197525, 0.3990808427333832, -0.011543192900717258, -0.0460783913731575, 0.044908784329891205, 0.030430862680077553, 0.013504410162568092, 0.026977626606822014, 0.015366378240287304, -0.011092298664152622, -0.005219914950430393, -0.024824080988764763, -0.011558005586266518, -0.003337414236739278, 0.05104446038603783, -0.06157214194536209, 0.025586450472474098, 0.003478704486042261, 0.005299500189721584, -0.009867960587143898, -0.019102968275547028, 0.025194276124238968, 0.027263455092906952, -0.005597112234681845, 0.018227769061923027, 0.04370195418596268, 0.03475853055715561, -0.02633160538971424, 0.0054677994921803474, 0.07471611350774765, 0.02237856201827526, 0.0065881940536201, 0.05247678980231285, -0.046356916427612305, -0.051094699651002884, -0.0067597925662994385, -0.004775159992277622, 0.03869602829217911, 0.05616413429379463, -0.02258128486573696, 0.007072288542985916, 0.05408097431063652, 0.015937840566039085, -0.02707313373684883, 0.024182552471756935, -0.008320510387420654, -0.00639888783916831, 0.09673254191875458, 0.007225350011140108, -0.023136327043175697, -0.07513844221830368, -0.05117875710129738, 0.00395645946264267, 0.047369297593832016, -0.0035909346770495176, -0.02739468403160572, 0.012174642644822598, 0.0331035815179348, 0.03722694143652916, -0.012819129042327404, -0.039834704250097275, -0.010915792547166348, -0.03750813752412796, -0.020304985344409943, -0.03237639740109444, 0.012047792784869671, 0.027407018467783928, -0.0775725394487381, -0.03659873083233833, 0.019710931926965714, -0.003028223989531398, -0.04518785700201988, 0.0031420192681252956, -0.006491936277598143, -0.03997693583369255, -0.05456465855240822, 0.030454743653535843, -0.032317306846380234, -0.021563727408647537, 0.030700085684657097, 0.07732610404491425, 0.01855303905904293, 0.032332487404346466, -0.0007943957461975515, -0.035375092178583145, -0.0007899629999883473, -0.03997147083282471, -0.10456911474466324, -0.07657822966575623, -0.02584286592900753, -0.05433354899287224, 0.008009674027562141, -0.02717377245426178, -0.022034943103790283, -0.0688241496682167, 0.04682607203722, -0.040129438042640686, -0.011563194915652275, 0.02047134004533291, 0.02128630131483078, -0.00943662691861391, -0.035931121557950974, 0.05347276106476784, 0.03368458151817322, -0.01180982869118452, 0.05606333911418915, -0.05467347055673599, 0.038582805544137955, 0.009801598265767097, -0.031295835971832275, 0.0684937983751297, 0.02552013285458088, -0.05566764250397682, -0.0100175142288208, 0.003847939893603325, 0.023887529969215393, -0.03707290440797806, 0.006299823522567749, -0.0018371975747868419, 0.012722928076982498, 0.017423080280423164, 0.008221184834837914, -0.018157729879021645, -0.0325067974627018, 0.003470668103545904, -0.36343643069267273, -0.04045620188117027, 0.0038569187745451927, -0.016290860250592232, 0.03128005191683769, -0.055971190333366394, 0.02578648552298546, 0.006287351716309786, -0.026063453406095505, 0.019473453983664513, 0.09730279445648193, -0.02480749785900116, 0.02945893257856369, -0.10374892503023148, -0.008628327399492264, 0.015735145658254623, -0.05260009691119194, -0.06565820425748825, -0.016548266634345055, 0.04022722318768501, -0.013858248479664326, -0.00689712492749095, -0.022731270641088486, -0.0630514845252037, 0.025976378470659256, -0.027085140347480774, 0.09054577350616455, 0.017305508255958557, 0.15214799344539642, -0.03515004366636276, 0.055094651877880096, -0.006564697250723839, -0.007388049736618996, -0.08882646262645721, -0.020865749567747116, -0.00018061124137602746, -0.006226425524801016, 0.022214381024241447, 0.0638696551322937, -0.0004846183583140373, -0.028440840542316437, 0.007632007822394371, -0.06061011552810669, -0.0412219874560833, -0.021550826728343964, 0.009240282699465752, 0.005515454802662134, -0.007537610828876495, -0.02306140959262848, 0.05110635980963707, 0.01618584617972374, 0.009663060307502747, 0.0017899391241371632, 0.007160044740885496, 0.002313971985131502, -0.020759453997015953, -0.056449297815561295, 0.00019935594173148274, 0.003229213412851095, -0.011362173594534397, 0.04299619048833847, 0.06099472939968109, 0.00949649978429079, -0.049453772604465485, 0.026762867346405983, 0.01926499977707863, 0.0009147975943051279, -0.00045106298057362437, 0.052049748599529266, -0.01857737824320793, -0.009875182062387466, 0.09707913547754288, -0.0006143305799923837, 0.011650905013084412, 0.03215428441762924, 0.029492424800992012, -0.0024192873388528824, 0.03034340776503086, -0.016074007377028465, -0.02499544993042946, 0.015858938917517662, 0.010301356203854084, 0.03517458960413933, -0.01081555150449276, -0.008645476773381233, 0.01484784297645092, -0.0396537259221077, -0.032450661063194275, 0.04402777552604675, -0.019458403810858727, -0.035327497869729996, -0.01221192441880703, -0.007491758558899164, -0.058516595512628555, 0.08046533167362213, 0.007082406431436539, -0.24603381752967834, -0.006090981420129538, 0.06664163619279861, 0.04496651887893677, 0.000948769913520664, 0.007942019030451775, 0.058394238352775574, -0.05143916234374046, 0.008520476520061493, 0.020293425768613815, 0.01280771940946579, 0.03505849838256836, -0.011554533615708351, 0.034785520285367966, 0.0323818176984787, -0.011875370517373085, 0.0529792457818985, 0.029063362628221512, -0.0021925121545791626, 0.012636153027415276, 0.04419510439038277, -0.02722502499818802, 0.13689906895160675, -0.017029808834195137, 0.019674615934491158, 0.03727925941348076, -0.0006799777038395405, 0.004126777406781912, 0.11309494078159332, 0.013188954442739487, 0.017119044438004494, -0.020703813061118126, 0.049489960074424744, -0.011508806608617306, 0.07047818601131439, -0.04929404705762863, 0.003097045235335827, 0.03143221139907837, 0.017125681042671204, -0.04447026550769806, -0.028500160202383995, 0.026237791404128075, -0.0023820516653358936, 0.00769480224698782, 0.05601560324430466, -0.022464143112301826, -0.016036849468946457, -0.034480731934309006, -0.030305877327919006, 0.020841084420681, -0.035256121307611465, -0.0014300268376246095, -0.0006738548399880528, -0.028148798272013664, 0.00023997054086066782, 0.04852091148495674, 0.037390079349279404, -0.004034216981381178, 0.0013769168872386217, 0.03370274603366852, -0.01757175289094448, -0.018123969435691833, 0.15858635306358337, 0.027804920449852943, 0.04969142749905586 ]
[ 0.015884729102253914, 0.02711145579814911, -0.036018386483192444, 0.021850721910595894, 0.008627447299659252, -0.01086182240396738, 0.0048616789281368256, 0.02956872247159481, 0.0014103242428973317, -0.0050736078992486, -0.020222317427396774, -0.026221517473459244, 0.003694517770782113, -0.0030738674104213715, 0.03112313337624073, -0.044752512127161026, -0.0015367259038612247, -0.05281088873744011, 0.006688237655907869, -0.01331321895122528, 0.004717336036264896, 0.03507194295525551, 0.015556802973151207, -0.000532467442099005, -0.021438423544168472, -0.014880887232720852, -0.05703822523355484, 0.012418611906468868, 0.02794680930674076, -0.1280282735824585, 0.02725684829056263, -0.030641863122582436, 0.004883017856627703, 0.013684136793017387, 0.016291150823235512, -0.02270655147731304, 0.03602174296975136, -0.004220239818096161, -0.02081800438463688, 0.032327841967344284, 0.004107839893549681, -0.04669193923473358, -0.020784737542271614, 0.0030936209950596094, 0.003990758676081896, -0.014709506183862686, -0.002992084948346019, -0.01760696992278099, 0.00298712938092649, 0.040096867829561234, -0.04774264991283417, 0.011056705377995968, -0.042658887803554535, -0.007883913815021515, 0.030879702419042587, -0.01761290244758129, 0.001397861517034471, -0.004192601889371872, -0.02561686560511589, -0.034164272248744965, -0.009327215142548084, -0.026875793933868408, -0.046883247792720795, -0.0072781601920723915, -0.013748968951404095, 0.012530536390841007, -0.03794516623020172, -0.00877933669835329, 0.009447301737964153, 0.025321409106254578, -0.017949186265468597, 0.031347986310720444, -0.02998155914247036, -0.011969679035246372, -0.019587727263569832, 0.013545416295528412, 0.020605770871043205, 0.02194439060986042, -0.005112131126224995, -0.05532096326351166, -0.0023493890184909105, 0.01890639029443264, -0.013146440498530865, 0.008879084140062332, -0.013548803515732288, 0.009572410024702549, -0.021600492298603058, 0.013735882937908173, 0.037070635706186295, 0.04532720893621445, -0.030410049483180046, 0.007032027933746576, -0.005370528902858496, 0.00855614710599184, -0.1012764424085617, -0.0025181565433740616, -0.0013079080963507295, -0.020164497196674347, -0.02463115006685257, 0.8362037539482117, -0.045905936509370804, 0.009289591573178768, 0.0025614185724407434, 0.01685107685625553, -0.0036862411070615053, -0.0008336154278367758, -0.03459540382027626, 0.017999745905399323, -0.009209628216922283, -0.05898217111825943, 0.01918698102235794, 0.051714397966861725, 0.04397818073630333, 0.006318064406514168, 0.05707690119743347, 0.0016853987472131848, 0.03640122339129448, -0.031279485672712326, -0.004985589534044266, 0.04069291427731514, 0.025045601651072502, -0.006991904694586992, 0.009264071471989155, 0.06305030733346939, 0.0048729609698057175, -0.16047507524490356, 0.013849233277142048, -6.438004765933107e-33, 0.01655614748597145, -0.0006060689920559525, 0.0471145324409008, 0.009152194485068321, 0.015516364946961403, 0.002961554564535618, 0.01569102704524994, 0.01393906120210886, -0.01195226889103651, -0.015096217393875122, 0.007892441004514694, -0.020636161789298058, 0.0010407734662294388, -0.005531443282961845, 0.04687807708978653, -0.0017455845372751355, 0.01478471327573061, 0.04871175065636635, -0.012413724325597286, -0.007858230732381344, 0.039475712925195694, 0.03829360380768776, 0.04322723671793938, 0.007185191381722689, 0.004117695614695549, 0.06672442704439163, 0.016756659373641014, -0.001265865401364863, -0.0033639955800026655, -0.04572819918394089, -0.016145899891853333, -0.019172541797161102, 0.0004284319293219596, -0.047068338841199875, 0.02005881443619728, -0.06018607318401337, -0.04119090363383293, -0.006922582164406776, -0.008072784170508385, -0.04403081163764, -0.0349762849509716, 0.01987241767346859, -0.03514769300818443, -0.018760930746793747, -0.02544439397752285, 0.009784437716007233, -0.04903165251016617, 0.06055830046534538, 0.013336976990103722, 0.037974320352077484, 0.044464532285928726, 0.018588732928037643, 0.015788018703460693, -0.011639476753771305, 0.004376141354441643, 0.00825473666191101, -0.014653577469289303, -0.026506200432777405, 0.0027294426690787077, -0.02329295128583908, 0.020543444901704788, 0.0006988931563682854, -0.006860374938696623, 0.01868017017841339, -0.018310531973838806, -0.0026397393085062504, 0.009122755378484726, 0.007783637382090092, 0.01134924404323101, 0.025738514959812164, -0.037415698170661926, 0.020818838849663734, -0.0185588039457798, -0.03930868208408356, 0.02811526693403721, -0.003292163135483861, -0.025882916525006294, -0.05677565559744835, -0.018625598400831223, 0.056753624230623245, -0.012381140142679214, -0.025189805775880814, -0.02938310243189335, -0.025911718606948853, -0.014807007275521755, -0.014352012425661087, 0.01233073603361845, 0.018016032874584198, 0.02148190513253212, 0.011503656394779682, 0.02155519276857376, 0.014759563840925694, -0.0005696114967577159, -0.0250445194542408, -0.014401848427951336, 6.924297227976687e-33, -0.007938925176858902, -0.013073247857391834, -0.0059862746857106686, 0.0022801831364631653, -0.013301251456141472, -0.03120596520602703, -0.02503378316760063, 0.010167859494686127, -0.016915366053581238, 0.0483071431517601, -0.046292148530483246, 0.012928704731166363, -0.03042624518275261, 0.008161504752933979, 0.046100955456495285, -0.012647891417145729, 0.013422477059066296, -0.018629197031259537, 0.014150837436318398, -0.00037248822627589107, -0.008491534739732742, 0.00560741126537323, -0.0008787036640569568, 0.00909227505326271, 0.049177177250385284, 0.06431160122156143, -0.01230479683727026, 0.01762939617037773, 0.018736369907855988, -0.040028173476457596, 0.0019964445382356644, 0.004036413971334696, 0.012876872904598713, -0.04866655915975571, 0.010714256204664707, 0.027023106813430786, 0.01520039513707161, 0.012186727486550808, 0.017401091754436493, -0.015380184166133404, 0.008708043955266476, 0.010275407694280148, -0.014331244863569736, -0.0128025459125638, -0.027579834684729576, 0.04246547818183899, -0.003322358475998044, 0.009463691152632236, -0.008068469353020191, 0.051820676773786545, 0.0004355469427537173, -0.022950202226638794, -0.018318718299269676, 0.019477002322673798, -0.01585744507610798, -0.02530059963464737, 0.020960377529263496, 0.020621407777071, -0.02543063461780548, -0.02289401926100254, -0.009449834004044533, -0.01064297091215849, -0.0072119883261621, -0.014164007268846035, -0.022133857011795044, 0.0011608438799157739, -0.0054095229133963585, -0.01812964491546154, -0.0024321069940924644, 0.021946143358945847, 0.01702209934592247, -0.027910562232136726, -0.014337070286273956, 0.0502663254737854, 0.00388118508271873, 0.034401025623083115, 0.01702132448554039, 0.01725156046450138, -0.05722600594162941, 0.04886526241898537, -0.012092138640582561, 0.004665155429393053, 0.020039159804582596, 0.03494230657815933, -0.01971481367945671, -0.006390413735061884, -0.02736698091030121, -0.0069082980044186115, 0.029759934172034264, 0.0034200786612927914, -0.02150505594909191, -0.00181729590985924, 0.002690236084163189, -0.0011662542819976807, -0.00620257668197155, -1.2661760528942523e-8, -0.07032965123653412, -0.023463275283575058, -0.041345641016960144, 0.04748550057411194, -0.010183047503232956, -0.005394022911787033, -0.013951718807220459, -0.005118020344525576, -0.009121288545429707, 0.0099733741953969, 0.03544474020600319, -0.0044681839644908905, 0.04105456918478012, -0.0031822987366467714, 0.02245217189192772, -0.04949504882097244, 0.053077228367328644, -0.03358375281095505, 0.025998398661613464, -0.017196254804730415, 0.011011661030352116, 0.02611243538558483, -0.010448915883898735, 0.016146600246429443, -0.0042314473539590836, -0.034050311893224716, 0.01799272559583187, -0.07649087905883789, -0.0016307039186358452, 0.03313467279076576, 0.028538456186652184, -0.013775335624814034, 0.03535415977239609, 0.03732925280928612, -0.017347993329167366, -0.03545049577951431, 0.01682353764772415, 0.044289730489254, -0.004539035726338625, -0.016054803505539894, -0.0036838052328675985, -0.0042802258394658566, 0.007922632619738579, -0.03317941352725029, -0.03931799530982971, -0.015061146579682827, -0.00014481923426501453, 0.01865813322365284, 0.033640265464782715, -0.02872481755912304, -0.00267958315089345, 0.018370449542999268, 0.0265815332531929, 0.0031213886104524136, -0.03054805099964142, 0.015084076672792435, 0.031169533729553223, -0.03171717748045921, 0.008351389318704605, 0.00310616591013968, 0.038798052817583084, 0.0004192108171992004, -0.023349441587924957, -0.007313605397939682 ]
f-passing-command-line-arguments-to-a-script
https://markhneedham.com/blog/2009/07/16/f-passing-command-line-arguments-to-a-script
false
2009-07-28 00:05:11
Reading Code: Rhino Mocks
[ "reading-code" ]
[ "Reading Code" ]
I spent a bit of time recently reading through some of the http://ayende.com/projects/rhino-mocks.aspx[Rhino Mocks] to get a basic understanding of how some features work under the hood. As well as just getting some practice at reading unfamiliar code I also wanted to know the following: * How does the 'VerifyAllExpectations' extension method work? * What's the difference between the 'GenerateMock' and 'GenerateStub' methods on MockRepository? * How does the 'AssertWasNotCalled' extension method actually work? These are some of the things I learnt from my exploration: * I'm using a Mac so I originally started out trying to read the code in http://macromates.com/[TextMate] with the http://forum.unity3d.com/viewtopic.php?t=1601[C# plugin] before eventually realising that I couldn't really tell the difference between a delegate being passed around the code and a method call so I wanted an editor that would help me out with this. I decided to try out http://monodevelop.com/[MonoDevelop] to see if I could keep on reading the code outside my VM. Unfortunately I kept making that crash every time I tried to move between classes so back to Visual Studio it was! MonoDevelop looks like quite a nice tool but it just isn't for me at the moment. * I've been playing around with an idea adapted from Michael Feathers' http://www.amazon.com/Working-Effectively-Legacy-Robert-Martin/dp/0131177052[Working Effectively With Legacy Code] by drawing out the different classes and how they interact with each other. Where I could see a grouping between classes I've been drawing that into the diagram as well. http://twitter.com/madgn0me/statuses/2869130380[Some] http://twitter.com/jagregory/statuses/2869105962[of] http://twitter.com/peter_c_william/statuses/2869092943[the guys] on Twitter showed me a cool web based tool at http://yuml.me/diagram/scruffy/class/draw[yuml.me] that allows you to easily draw class diagrams and then grab the png/jpeg file and do whatever you want with it. image:{{<siteurl>}}/uploads/2009/07/rhino-mocks.png[rhino-mocks.png] Although these diagrams are quite simple I find them more useful than I had expected and I've started drawing more diagrams at work to help understand bits of code that I'm not very familiar with. I realised a couple of years ago when reading one of http://www.scotthyoung.com/blog/2006/12/10/using-diagrams/[Scott Young's posts about drawing diagrams] that I seem to understand ideas more quickly if I'm able to draw them out so I should probably look to do it more frequently! * The way that http://www.markhneedham.com/blog/2009/07/14/test-doubles-my-current-approach/[stubs and mocks] are generated is essentially the same which I'm told is also the case with http://mockito.org/[Mockito] although I haven't read Mockito's code yet. 'GenerateMock' eventually calls this bit of code: ~~~csharp public T DynamicMock+++<T>+++(params object[] argumentsForConstructor) where T : class { if (ShouldUseRemotingProxy(typeof(T), argumentsForConstructor)) return (T)RemotingMock(typeof(T), CreateDynamicRecordState); return (T)CreateMockObject(typeof(T), CreateDynamicRecordState, new Type[0], argumentsForConstructor); } ~~~ 'GenerateStub' eventually calls this bit of code: ~~~csharp public object Stub(Type type, params object[] argumentsForConstructor) { CreateMockState createStub = mockedObject \=> new StubRecordMockState(mockedObject, this); if (ShouldUseRemotingProxy(type, argumentsForConstructor)) return RemotingMock(type, createStub); return CreateMockObject(type, createStub, new Type[0], argumentsForConstructor); } ~~~ The main difference is that when the 'Verify' method is called on stubs (which would call the 'StubReplayMockState' class) we don't do anything whereas with mocks a check is done to ensure that all the expectations setup in the test are met. I found it quite interesting that the new 'Arrange-Act-Assert' style syntax has been written to make use of the older 'Record-Replay' syntax which I guess is quite a nice metaphor for the two states that you use the framework. I haven't looked at the http://code.google.com/p/moq/[Moq] code yet but it would be interesting to see how the code for that differs as it was built from the ground up with the 'Arrange-Act-Assert' syntax.</li> The 'AssertWasNotCalled' method works fairly similarly to how I had imagined at a high level in that it goes and gets all the expectations for the mock for that method call and then checks that they aren't called although I found the implementation of that first bit quite interesting. ~~~csharp private static ExpectationVerificationInformation GetExpectationsToVerify+++<T>+++(T mock, Action+++<T>+++action, Action<IMethodOptions+++<object>+++> setupConstraints) { // \... var mockToRecordExpectation = (T)mocks.DynamicMock(FindAppropriteType(mockedObject), mockedObject.ConstructorArguments); action(mockToRecordExpectation); // .. } ~~~ The code actually creates a mock in order to record the expectation that we are checking does not happen before it goes on to check which methods were called against that method. We therefore need to ensure that any calls to 'AssertWasNotCalled' are made after the call to the system under test otherwise it will always return true which may not be accurate.</li> I didn't realise quite how much code there is in Rhino Mocks and I've only read a very small part of it. A few of the interesting parts of the code seem to be making calls to http://www.castleproject.org/dynamicproxy/index.html[Castle DynamicProxy] which is being used to do the intercepting of method calls. I'm never sure what the best way to approach a new code base is but this time I had a couple of starting points that I wanted to investigate and starting from those points seemed to work out quite well. I still find that I struggle to know when to stop digging down into how specific code works and when to just have a general understanding of that bit and move on to the next bit of code. I often find that I click all the way through to deeper methods and then I can't remember why I did it in the first place. </ul>+++</object>++++++</T>++++++</T>++++++</T>+++
null
null
[ 0.018829025328159332, -0.012750341556966305, -0.023929020389914513, 0.06506026536226273, 0.061833396553993225, 0.02516273409128189, 0.03598570451140404, 0.013456040062010288, -0.012696705758571625, -0.026964502409100533, 0.005341263487935066, 0.01910058781504631, -0.05633324757218361, 0.022032111883163452, -0.03415755182504654, 0.06337879598140717, 0.06133554130792618, -0.01615079492330551, 0.04494907334446907, 0.026152802631258965, 0.035802870988845825, 0.04018333554267883, -0.021056702360510826, 0.0026541082188487053, 0.029730847105383873, 0.019072366878390312, 0.013142288662493229, -0.012954032979905605, -0.05888763442635536, -0.030849112197756767, 0.027623599395155907, 0.004705067258328199, 0.024458764120936394, -0.04068663343787193, 0.007672091014683247, 0.0032193942461162806, -0.043609511107206345, 0.01294748205691576, 0.020947610959410667, 0.012916171923279762, -0.07127921283245087, 0.03380648046731949, -0.006975883152335882, -0.0014577291440218687, -0.052087944000959396, -0.004915147554129362, -0.015373959206044674, 0.011162962764501572, -0.008790968917310238, 0.020119307562708855, -0.06527760624885559, 0.05397350341081619, -0.049838531762361526, -0.011064719408750534, 0.005574648734182119, 0.033268969506025314, 0.046892594546079636, -0.08746756613254547, 0.029194392263889313, -0.051335711032152176, -0.0075864121317863464, 0.007156916428357363, 0.0021447797771543264, 0.03795754536986351, 0.011250241659581661, -0.04361435025930405, 0.004815532360225916, 0.04350295662879944, -0.0667194351553917, -0.0035946890711784363, 0.004082860425114632, 0.012808241881430149, -0.007654307410120964, -0.01590733602643013, 0.027171805500984192, -0.05174734443426132, -0.008257538080215454, 0.0748429074883461, 0.017712309956550598, 0.06641881167888641, -0.017353985458612442, -0.012668176554143429, 0.04482845589518547, 0.0019580579828470945, 0.012492158450186253, -0.01509853359311819, -0.017265086993575096, 0.030405297875404358, -0.02705935388803482, 0.03851722925901413, 0.01751597784459591, -0.0432637482881546, 0.01581566594541073, 0.032123565673828125, 0.004487710073590279, 0.034601423889398575, 0.0032038928475230932, 0.011304575949907303, 0.002690023509785533, -0.017619725316762924, -0.014437679201364517, 0.012746171094477177, 0.024069560691714287, 0.01261716615408659, -0.07914046198129654, -0.007107457146048546, -0.024522369727492332, -0.03830162063241005, -0.009317618794739246, 0.00777337234467268, -0.04895176738500595, 0.021173782646656036, -0.033305004239082336, -0.015320503152906895, -0.06633063405752182, 0.06650985032320023, 0.007857384160161018, -0.026026014238595963, -0.004196547903120518, 0.03513370826840401, 0.032004471868276596, 0.037213634699583054, -0.0014689948875457048, 0.09631909430027008, 0.007666126824915409, 0.038541100919246674, -0.04617473483085632, 0.04884928837418556, -0.01893397979438305, -0.07202940434217453, -0.0071607050485908985, 0.05251404643058777, 0.0013051227433606982, 0.02079135924577713, -0.0042981649748981, -0.03295290842652321, -0.008124296553432941, -0.03494346886873245, 0.036276184022426605, 0.04436185210943222, -0.03777393698692322, -0.021332768723368645, 0.01905106008052826, 0.0006381811108440161, 0.008855876512825489, 0.03362273424863815, -0.018985528498888016, -0.0515296533703804, -0.030535174533724785, 0.05523930490016937, 0.016922306269407272, 0.011621816083788872, 0.02661776728928089, -0.03273504972457886, 0.035005372017621994, 0.08237539231777191, 0.024366524070501328, 0.014026232063770294, 0.010156407952308655, 0.010020391084253788, 0.034183818846940994, 0.06351391226053238, 0.027535738423466682, 0.053617846220731735, 0.0250470582395792, 0.000036455912777455524, -0.0134570999071002, 0.049803245812654495, -0.0174116138368845, -0.02189934253692627, -0.06633681803941727, -0.06609372794628143, 0.07114611566066742, -0.057373251765966415, 0.029055891558527946, 0.033722732216119766, 0.08955343067646027, 0.026522120460867882, 0.049628425389528275, 0.018126411363482475, -0.06816179305315018, 0.009247753769159317, 0.04192318767309189, 0.007690503727644682, 0.027512937784194946, -0.015459486283361912, 0.05723094940185547, 0.011132233776152134, -0.017786618322134018, 0.04136000946164131, -0.09570260345935822, -0.0780269056558609, -0.003242895705625415, -0.014659211970865726, 0.07728764414787292, -0.04802371934056282, -0.01447345782071352, 0.07869074493646622, 0.02592555060982704, 0.019623756408691406, 0.030591361224651337, -0.011065764352679253, 0.010036608204245567, -0.03738366439938545, -0.038806136697530746, 0.020730581134557724, 0.04338282346725464, -0.010503735393285751, -0.048952579498291016, 0.015004667453467846, -0.028618087992072105, 0.00268130237236619, 0.028854889795184135, -0.015579888597130775, 0.054354097694158554, 0.02378455549478531, 0.04210798814892769, -0.03407982364296913, 0.08588635176420212, -0.05666350945830345, 0.035318564623594284, -0.022719653323292732, -0.029090583324432373, -0.038841165602207184, -0.008988754823803902, 0.10253880172967911, 0.051639631390571594, -0.05486980453133583, -0.05614400655031204, -0.004003461915999651, 0.020279310643672943, -0.025378385558724403, -0.011360370554029942, -0.03724483773112297, -0.013078593648970127, 0.0003883790341205895, -0.036028992384672165, -0.025633996352553368, 0.013911454007029533, -0.046410635113716125, 0.0228873360902071, 0.08038884401321411, -0.04491802677512169, 0.012094823643565178, -0.0009588394314050674, -0.0034354657400399446, 0.004371830727905035, -0.01022915169596672, -0.07668648660182953, 0.030535724014043808, 0.018592476844787598, -0.001866622711531818, 0.07686235755681992, -0.02629074454307556, -0.027159113436937332, -0.01133671309798956, -0.05162934586405754, 0.00041480179061181843, 0.005056958645582199, 0.07648606598377228, 0.0014656607527285814, 0.031454768031835556, -0.040891170501708984, 0.018643416464328766, 0.0024027610197663307, -0.04317866265773773, -0.030220510438084602, 0.016158439218997955, -0.004385684616863728, 0.03019469417631626, 0.018487291410565376, 0.005507397931069136, 0.01972302794456482, -0.02951875887811184, -0.014385919086635113, -0.020907675847411156, 0.018706997856497765, 0.030608044937253, -0.03881549462676048, -0.026824569329619408, -0.03627428039908409, 0.030167916789650917, -0.041358672082424164, -0.037795089185237885, 0.03341551497578621, -0.07291855663061142, 0.04458498954772949, -0.06628738343715668, -0.04403601959347725, -0.002213770989328623, 0.025453295558691025, 0.02464975230395794, -0.010295199230313301, 0.040929198265075684, 0.06491850316524506, 0.0033692626748234034, 0.02164163626730442, 0.015959568321704865, -0.008131582289934158, 0.028920156881213188, 0.0011798766208812594, 0.0070173186250030994, 0.026742132380604744, 0.005444350652396679, 0.0078230369836092, -0.04574677720665932, 0.036196596920490265, -0.021929938346147537, -0.2765595614910126, 0.015385250560939312, 0.001986381132155657, -0.04958302527666092, 0.01859411969780922, -0.02573993243277073, 0.01717275008559227, -0.06287001073360443, -0.01650419645011425, 0.035168521106243134, -0.01949598640203476, -0.02706131897866726, -0.035130228847265244, 0.040352292358875275, -0.010762766003608704, 0.005931829567998648, 0.017000416293740273, -0.0374656580388546, 0.035111624747514725, 0.05623392388224602, -0.0015010744100436568, -0.033452652394771576, 0.0051468792371451855, 0.04287443310022354, 0.03605806082487106, 0.04147356003522873, -0.07969942688941956, 0.05510272458195686, -0.022213436663150787, 0.00019974408496636897, 0.025119870901107788, 0.001182229840196669, -0.020145300775766373, 0.00408933823928237, -0.03016037307679653, 0.007797533180564642, 0.03634832426905632, -0.008030624128878117, -0.0007792909746058285, 0.02350999414920807, -0.03320202976465225, -0.035665035247802734, -0.027515631169080734, -0.011973418295383453, 0.05998121201992035, -0.02402498945593834, -0.07387914508581161, -0.01302568893879652, -0.03536383807659149, 0.07612158358097076, -0.041091419756412506, -0.04151678830385208, -0.01888148859143257, 0.01625566929578781, -0.020775094628334045, -0.0323919840157032, 0.004793297499418259, -0.012353883124887943, -0.05942103639245033, -0.03892717882990837, -0.01819729246199131, -0.06445920467376709, -0.031520429998636246, -0.04307493567466736, -0.028537722304463387, -0.07028625905513763, -0.0696927011013031, -0.018584907054901123, 0.06702384352684021, 0.014479695819318295, -0.02748863212764263, 0.02591494470834732, -0.03880143165588379, -0.11422307789325714, 0.010145973414182663, -0.03317484259605408, -0.03756837546825409, -0.029643002897500992, 0.0327296257019043, 0.05356796458363533, -0.0495375320315361, -0.04401549696922302, 0.034853383898735046, -0.004058702848851681, 0.0018720963271334767, 0.01727461814880371, 0.033950358629226685, 0.006626681890338659, 0.0010247558820992708, 0.0370112843811512, 0.06812214106321335, -0.024541938677430153, -0.02925604209303856, -0.03041604347527027, 0.027763694524765015, 0.014643639326095581, 0.0566549226641655, -0.02404893934726715, 0.009538224898278713, 0.030425969511270523, 0.022888140752911568, -0.07742924243211746, 0.033474378287792206, -0.018658753484487534, 0.01349716354161501, -0.02647216059267521, -0.048013731837272644, 0.04966065660119057, 0.02795882523059845, 0.037154845893383026, -0.033895425498485565, -0.023070544004440308, 0.01243671216070652, -0.047426458448171616, -0.013292771764099598, -0.024316834285855293, 0.0011996511602774262, 0.039105989038944244, -0.003507930086925626, -0.027350520715117455, -0.05551588162779808, 0.016211513429880142, -0.006670426577329636, -0.01971060037612915, -0.05829723924398422, -0.034860629588365555, -0.018814610317349434, 0.0033974205143749714, 0.016224313527345657, 0.0029838490299880505, -0.012562389485538006, 0.017265088856220245, 0.013295138254761696, -0.008923056535422802, 0.013644957914948463, 0.008834896609187126, -0.021038467064499855, -0.033235471695661545, 0.003638067515566945, 0.001568226027302444, -0.02183873951435089, -0.004912769887596369, -0.002292344346642494, 0.009990029036998749, 0.025224125012755394, 0.0000246512281592004, 0.03738807141780853, 0.014134595170617104, 0.008756977505981922, -0.00046144326915964484, 0.03524297848343849, -0.06994935125112534, 0.02135458029806614, -0.023898452520370483, -0.022109339013695717, -0.03355554863810539, 0.03050883114337921, 0.0005445334245450795, 0.0018675362225621939, -0.03591541200876236, 0.03394689783453941, -0.031715184450149536, -0.020006392151117325, -0.02916349098086357, -0.010281039401888847, 0.03195445239543915, -0.004686882719397545, 0.03186699375510216, -0.0339205265045166, -0.04723671078681946, 0.015358597040176392, 0.011860809288918972, -0.02612367458641529, 0.03206213563680649, 0.006959549151360989, 0.0007738514104858041, 0.005213045049458742, 0.030169662088155746, 0.03879357501864433, 0.026219749823212624, 0.01924843154847622, -0.029630517587065697, 0.04246358945965767, -0.0022731036879122257, 0.04023701697587967, -0.0008316882303915918, -0.006800264585763216, -0.011924943886697292, -0.003713240148499608, -0.00816717091947794, -0.04180449619889259, -0.007904933765530586, -0.0053362599574029446, 0.026545390486717224, -0.05399675667285919, -0.09807924926280975, 0.03164973855018616, 0.028834635391831398, 0.02664235793054104, -0.0013408055528998375, 0.0007068249979056418, 0.008768877014517784, -0.025698861107230186, 0.040855612605810165, 0.07721194624900818, -0.04809978976845741, 0.0021427900064736605, -0.006771117448806763, 0.031913068145513535, -0.020892448723316193, 0.0344899483025074, -0.06720878928899765, -0.03511456400156021, -0.01843264512717724, -0.006217127200216055, -0.04634080082178116, -0.03597888723015785, -0.04632386192679405, 0.02729959785938263, -0.0011336591560393572, -0.02008313313126564, -0.005741017404943705, -0.007553674280643463, -0.007069779559969902, -0.013077734038233757, 0.0009911720408126712, -0.016672298312187195, -0.008311999030411243, 0.02821466699242592, -0.04977605491876602, 0.028942467644810677, -0.023173196241259575, 0.02269592508673668, 0.02538442239165306, -0.03710956126451492, -0.03234761208295822, -0.0328444205224514, -0.020638158544898033, -0.0038966252468526363, 0.02735481970012188, -0.005226696375757456, 0.001267305575311184, -0.031101012602448463, -0.010387944057583809, -0.025346150621771812, 0.007565176114439964, -0.01836153119802475, -0.029410339891910553, 0.018168196082115173, 0.053103357553482056, 0.01030892413109541, 0.049316488206386566, -0.020716439932584763, 0.016190163791179657, 0.04093221575021744, -0.0682489424943924, -0.02423165924847126, 0.00448648352175951, -0.07001979649066925, 0.018732653930783272, 0.011965479701757431, 0.031562600284814835, -0.050071489065885544, 0.037409938871860504, 0.024606920778751373, -0.002290537115186453, 0.0720391571521759, 0.014286310411989689, 0.03069361485540867, -0.045113518834114075, -0.001079498790204525, -0.06952366977930069, 0.021697277203202248, 0.057190410792827606, 0.012150187976658344, -0.02843000367283821, -0.03464256972074509, -0.0166101586073637, 0.05937414616346359, -0.046377282589673996, -0.015060818754136562, 0.04482625052332878, -0.0053356424905359745, -0.01068518590182066, 0.03948112949728966, -0.04914502426981926, 0.05494505167007446, 0.04228357598185539, -0.03824969381093979, -0.04487680643796921, -0.018029574304819107, 0.04377567395567894, 0.01755141094326973, 0.01485833153128624, -0.026608329266309738, -0.004946826491504908, 0.06254682689905167, 0.009661572985351086, 0.03032916598021984, 0.04463590681552887, -0.010413226671516895, 0.04506121203303337, 0.025412702932953835, -0.0220448337495327, -0.003513648174703121, 0.013624941930174828, -0.0052626291289925575, -0.053324270993471146, 0.029518647119402885, 0.026805834844708443, -0.04340004920959473, -0.03727247938513756, 0.04479388892650604, 0.014495416544377804, -0.025409845635294914, -0.03255016729235649, 0.00950845330953598, -0.04073619470000267, -0.00196779053658247, -0.047265876084566116, 0.00030733461608178914, -0.010983845219016075, 0.061679963022470474, -0.009505988098680973, -0.0083469208329916, 0.05703840032219887, -0.007621611934155226, -0.013060440309345722, -0.009565688669681549, 0.0627441480755806, 0.06619308143854141, 0.04593341797590256, 0.012363916262984276, 0.034162186086177826, -0.016106465831398964, -0.028044646605849266, 0.009233778342604637, -0.01184498518705368, 0.006871484220027924, -0.027234666049480438, -0.007488439790904522, 0.06809434294700623, 0.005313776433467865, 0.06490548700094223, -0.05999345704913139, 0.019176142290234566, -0.01562159787863493, 0.0127341253682971, 0.003491682233288884, 0.06171306222677231, 0.01762550324201584, -0.0006182969082146883, -0.008963177911937237, -0.030260048806667328, 0.04548388347029686, -0.06517128646373749, -0.015355001203715801, 0.028398187831044197, -0.006533946841955185, 0.012513015419244766, 0.0174633227288723, 0.027510834857821465, 0.05321115255355835, -0.023470500484108925, 0.009653295390307903, 0.028794990852475166, 0.04455107823014259, 0.018714789301156998, -0.011790044605731964, -0.005669835489243269, -0.003948818426579237, -0.012368929572403431, -0.009263655170798302, 0.009572661481797695, -0.022933650761842728, -0.03029507026076317, 0.05083278566598892, -0.00405473168939352, -0.00495831249281764, 0.011089690960943699, 0.014250878244638443, -0.051515042781829834, -0.05264280363917351, -0.035536181181669235, -0.03536456823348999, -0.027142148464918137, -0.018199080601334572, 0.019096171483397484, -0.025338193401694298, -0.042634036391973495, -0.019280189648270607, -0.04149816930294037, -0.005391480401158333, 0.03941555693745613, -0.028194619342684746, -0.020496279001235962, 0.036674678325653076, 0.023162374272942543, 0.03100801259279251, 0.02185320295393467, 0.04073565825819969, 0.026979519054293633, -0.014202089980244637, -0.05868718400597572, 0.003062849398702383, 0.02907097339630127, 0.021087229251861572, 0.023449428379535675, -0.08734286576509476, 0.011300439946353436, 0.011421671137213707, 0.03604991361498833, -0.06427990645170212, 0.022710828110575676, -0.006022868677973747, -0.0061095645651221275, 0.04540100321173668, -0.009951180778443813, 0.019850261509418488, -0.004157694987952709, -0.010743802413344383, -0.001781007624231279, 0.03306117281317711, 0.028956402093172073, -0.022893616929650307, 0.0729748085141182, 0.0006049734656699002, -0.03598753362894058, -0.039509277790784836, -0.015408703126013279, -0.018329454585909843, 0.03349548205733299, -0.04924535006284714, -0.03786330670118332, -0.048741117119789124, -0.05781581997871399, 0.006044467911124229, 0.059631671756505966, -0.003802485531195998, -0.036231111735105515, 0.01670157164335251, 0.03385503962635994, -0.06270193308591843, 0.03827522322535515, -0.059309739619493484, 0.015361464582383633, -0.02132396399974823, -0.031068576499819756, 0.02743460237979889, 0.014227891340851784, -0.016823356971144676, 0.012856945395469666, 0.0151142543181777, -0.028304247185587883, -0.04570445790886879, 0.00028346371254883707, 0.013042192906141281, 0.025468049570918083, 0.0003773766802623868, -0.025395894423127174 ]
[ -0.11697002500295639, 0.01795186661183834, -0.022890396416187286, -0.02901914343237877, 0.02978896163403988, -0.016035068780183792, 0.0038285902701318264, 0.015286823734641075, -0.02631435915827751, -0.010122837498784065, -0.008763087913393974, -0.02135605737566948, -0.005896940361708403, -0.0006878911517560482, 0.10415753722190857, 0.018474740907549858, -0.008249066770076752, -0.05870994180440903, 0.019007539376616478, 0.02798859216272831, 0.01679372601211071, -0.026318097487092018, -0.02826201356947422, -0.014867445454001427, 0.017809785902500153, 0.036845773458480835, 0.04875792935490608, -0.04086682200431824, 0.020415885373950005, -0.2292138636112213, 0.039213746786117554, 0.019469033926725388, 0.012147613801062107, -0.03802383318543434, -0.02528942935168743, 0.05230296775698662, 0.03268954157829285, 0.014356737956404686, 0.0012231888249516487, 0.04885762557387352, -0.015603788197040558, 0.02932453341782093, -0.0571955181658268, -0.03484365716576576, 0.05499502643942833, -0.035603102296590805, -0.011617456562817097, -0.019383035600185394, -0.0014902935363352299, 0.004525750409811735, -0.03255060687661171, -0.029109366238117218, -0.03676950931549072, -0.025453198701143265, -0.03297077864408493, 0.02496812865138054, 0.0271951574832201, 0.05494140088558197, 0.02030184119939804, 0.0079561872407794, 0.0063325632363557816, -0.02529154159128666, -0.13371677696704865, 0.11487192660570145, 0.043709687888622284, 0.06457836925983429, -0.01919114775955677, -0.035474471747875214, 0.00734670041128993, 0.07098479568958282, 0.017378591001033783, -0.019612571224570274, -0.012439264915883541, 0.03714222088456154, 0.01092605758458376, 0.0009511442040093243, 0.01135814469307661, 0.010123311541974545, 0.04522275924682617, -0.03531435504555702, -0.0812934935092926, -0.015063400380313396, -0.009891536086797714, -0.021585091948509216, -0.014643194153904915, 0.043595120310783386, 0.027678003534674644, 0.05379285290837288, 0.04535453021526337, 0.027713140472769737, 0.060486532747745514, -0.010316546075046062, 0.02122405730187893, -0.010243839584290981, -0.07772055268287659, -0.011460005305707455, -0.021809997037053108, -0.026573941111564636, -0.02369029074907303, 0.4762443006038666, -0.006187352351844311, -0.02816193737089634, 0.04057388752698898, 0.03512708097696304, -0.0028331030625849962, 0.018041394650936127, -0.016649767756462097, -0.03962896019220352, 0.0076111676171422005, -0.011343969963490963, -0.0011889009037986398, 0.019495707005262375, 0.03310302644968033, -0.04695380851626396, 0.005015199538320303, 0.004411800764501095, 0.02666441537439823, -0.003984552342444658, -0.020863652229309082, -0.007337789051234722, -0.016531305387616158, -0.008764331229031086, 0.01688097044825554, 0.00239466386847198, 0.02026536874473095, -0.053533587604761124, 0.012852594256401062, 0.05145594850182533, 0.03317732363939285, -0.0012817301321774721, 0.04316846281290054, -0.03497985750436783, -0.07251675426959991, -0.019481144845485687, 0.017197446897625923, 0.006339519750326872, 0.03945013880729675, -0.012777580879628658, -0.011749171651899815, 0.0248654056340456, -0.009797690436244011, -0.006412017624825239, 0.03115735948085785, -0.02899438515305519, -0.028727421537041664, 0.0836385190486908, -0.008725517429411411, 0.006790702231228352, -0.0025202736724168062, -0.02129039168357849, 0.012286871671676636, 0.031119100749492645, -0.026779912412166595, -0.03806290030479431, 0.044387783855199814, -0.008741575293242931, 0.06139000505208969, -0.0009593839640729129, -0.041106559336185455, -0.022351525723934174, -0.023969944566488266, -0.04389282688498497, -0.020140577107667923, 0.029770134016871452, 0.028967244550585747, -0.12065161764621735, -0.021181723102927208, 0.021793607622385025, 0.02782929502427578, -0.06650780886411667, -0.015780488029122353, 0.014636163599789143, -0.025573544204235077, -0.024762408807873726, 0.04355244338512421, -0.025098497048020363, -0.03172479197382927, 0.010984278284013271, 0.05466432869434357, 0.023966707289218903, -0.024211576208472252, 0.001406777766533196, -0.033458177000284195, 0.0005783829838037491, -0.041417017579078674, -0.09567078202962875, -0.038954444229602814, -0.026289962232112885, -0.02689979039132595, -0.04542261362075806, -0.01985919661819935, -0.05888153240084648, -0.08244388550519943, 0.09466248005628586, -0.02619830332696438, 0.005504948552697897, 0.02532919868826866, -0.020887790247797966, 0.02347451075911522, -0.04006560891866684, 0.006702268961817026, 0.05994578078389168, -0.01637476123869419, 0.03324269503355026, -0.05656420812010765, 0.062138158828020096, 0.04729260876774788, -0.03525642678141594, 0.10198494046926498, 0.035587769001722336, -0.06046196073293686, -0.021541709080338478, 0.0016605228884145617, 0.038799941539764404, -0.01124721858650446, 0.0029863989911973476, -0.003464519279077649, 0.01907310076057911, -0.0027497047558426857, 0.01618259772658348, -0.04370998591184616, -0.005252902861684561, -0.009768025018274784, -0.3197547495365143, -0.003169257892295718, -0.004264044109731913, -0.001789685571566224, 0.02082057297229767, -0.07204291969537735, 0.023230155929923058, -0.007005690596997738, 0.008912760764360428, -0.036615967750549316, 0.07827112078666687, 0.012971057556569576, 0.04330362007021904, -0.08372452855110168, 0.00955136027187109, 0.030114278197288513, -0.0510513111948967, -0.027333080768585205, -0.0222405344247818, 0.002959663048386574, -0.030506178736686707, -0.0019003443885594606, -0.014498185366392136, -0.04276024550199509, -0.00829526036977768, -0.05371218919754028, 0.08220589905977249, 0.01204701792448759, 0.1118091270327568, -0.004985647276043892, 0.03391454741358757, 0.007364046294242144, 0.033609166741371155, -0.08431172370910645, 0.011018866673111916, 0.0012509591178968549, -0.010572659783065319, -0.013125927187502384, 0.049144744873046875, -0.03319853916764259, -0.02752513997256756, 0.01244066096842289, -0.05604491010308266, -0.06761682778596878, -0.03437938913702965, 0.019350465387105942, 0.0013548920396715403, 0.002769037615507841, -0.026717040687799454, 0.07708101719617844, 0.026964424178004265, -0.0051589542999863625, 0.0065832179971039295, 0.025545964017510414, -0.0121786342933774, -0.004786296281963587, -0.07966624945402145, -0.006915935315191746, 0.007859156467020512, 0.0002504339499864727, 0.052716996520757675, 0.055319156497716904, 0.052405308932065964, -0.061755601316690445, 0.007974567823112011, 0.032549530267715454, -0.00264181406237185, -0.0332680270075798, 0.06931281834840775, -0.04180300980806351, -0.01832774095237255, 0.08373503386974335, -0.022881414741277695, 0.002707482548430562, 0.00675103859975934, 0.029123201966285706, 0.000013400129319052212, 0.0006272777682170272, 0.006544120609760284, 0.021415919065475464, -0.01562570594251156, -0.019603954628109932, -0.008100953884422779, -0.04201665148139, -0.01239005196839571, 0.025672271847724915, -0.04952350631356239, -0.0268802959471941, 0.05316120386123657, 0.003738810308277607, -0.01683884859085083, 0.017939431592822075, -0.007723335176706314, -0.05315100774168968, 0.0529717355966568, -0.0004485702665988356, -0.23654790222644806, -0.012145956978201866, 0.07476825267076492, 0.07992101460695267, -0.02748888172209263, 0.008407832123339176, 0.04790026694536209, -0.0829986035823822, 0.005440369714051485, -0.014715833589434624, 0.04832260310649872, 0.043045371770858765, 0.005680178292095661, 0.012682683765888214, 0.02075543999671936, 0.0014887345023453236, 0.047246918082237244, -0.019713500514626503, 0.020904308184981346, -0.0077651506289839745, -0.0037442324683070183, -0.025619706138968468, 0.16307024657726288, 0.026569776237010956, -0.0032635312527418137, 0.018258145079016685, 0.02144111692905426, 0.012074305675923824, 0.0728430226445198, 0.0035426649264991283, 0.01419302448630333, -0.029142729938030243, 0.053805235773324966, 0.006008405238389969, 0.04120601713657379, -0.08697473257780075, -0.01222219504415989, 0.030101822689175606, 0.024891726672649384, -0.004931666422635317, -0.0014765227679163218, 0.007914789021015167, -0.006713713053613901, 0.03908918797969818, 0.03341732174158096, -0.008884530514478683, -0.0016754416283220053, -0.0076241143979132175, -0.059402015060186386, 0.009579509496688843, -0.05366529896855354, -0.03754132241010666, 0.021753612905740738, -0.01872379705309868, 0.004520107991993427, 0.05959101766347885, 0.02850900962948799, -0.05354048311710358, -0.00003387065953575075, 0.02217452973127365, 0.00996431801468134, -0.009166997857391834, 0.10045338422060013, 0.0077635981142520905, 0.03453938290476799 ]
[ -0.010788445360958576, 0.0018983932677656412, 0.0064476835541427135, -0.0009425035677850246, -0.004068772774189711, 0.01694510690867901, -0.012632453814148903, 0.03221563994884491, -0.04117317125201225, 0.02021942473948002, -0.005896297749131918, 0.009508635848760605, 0.026711560785770416, -0.011123396456241608, 0.005971024744212627, -0.004597871098667383, 0.006885399576276541, -0.03482038155198097, 0.018142636865377426, 0.008970401249825954, 0.005784680601209402, 0.009900000877678394, 0.008149093948304653, -0.0052022007293999195, 0.02111254446208477, 0.020961515605449677, -0.036633189767599106, -0.007356876507401466, 0.029834041371941566, -0.11988227069377899, -0.01939176395535469, -0.01332384068518877, -0.024714116007089615, -0.018893318250775337, 0.006115040276199579, 0.017474720254540443, 0.0054745785892009735, 0.025828294456005096, -0.013567768968641758, 0.007793077267706394, 0.005562739912420511, -0.004763628821820021, 0.0008569443598389626, 0.025103773921728134, -0.008223836310207844, -0.018395353108644485, 0.017227215692400932, -0.03125026822090149, -0.005552636459469795, -0.02312859147787094, 0.0008686806540936232, -0.04280206188559532, -0.02313411235809326, 0.0031505567021667957, 0.0016249811742454767, 0.013408116064965725, 0.01350961159914732, -0.008198877796530724, 0.030942276120185852, -0.01249748095870018, -0.021513842046260834, 0.003947175107896328, -0.047610219568014145, -0.029378842562437057, -0.023832209408283234, -0.0037217680364847183, -0.006138753145933151, 0.01397655438631773, -0.002602542284876108, -0.020615920424461365, -0.026222307235002518, 0.022035839036107063, -0.01810402236878872, 0.0006647545960731804, 0.021891476586461067, 0.006184849422425032, 0.0043493895791471004, -0.006327570416033268, 0.017608940601348877, -0.019994288682937622, -0.031195027753710747, 0.028564833104610443, 0.009132320061326027, 0.036467086523771286, 0.03825227916240692, 0.03070199303328991, 0.004332444630563259, -0.013393240980803967, 0.01627279259264469, 0.02062791958451271, -0.01807360351085663, 0.017909802496433258, 0.002482722280547023, 0.03043293207883835, -0.06979743391275406, -0.019754683598876, 0.02732018195092678, -0.015222414396703243, 0.004366984125226736, 0.8830796480178833, -0.012242904864251614, 0.015352481976151466, 0.022020777687430382, -0.0005362277734093368, 0.008043956942856312, -0.005212487652897835, -0.006745823659002781, -0.02100849337875843, 0.018211569637060165, -0.033904194831848145, 0.01586841605603695, -0.009435176849365234, 0.019084660336375237, 0.008039017207920551, 0.045317985117435455, 0.0167007427662611, 0.031861983239650726, -0.0037021206226199865, 0.017009947448968887, -0.001989118754863739, 0.01240237895399332, -0.0063263834454119205, 0.004500054754316807, 0.010306735523045063, 0.009980072267353535, -0.192609041929245, 0.003577805357053876, -7.546601733250098e-33, 0.03320344164967537, -0.04165360704064369, 0.014594311825931072, 0.02109682187438011, 0.01958865113556385, 0.010721281170845032, 0.03903994336724281, 0.0254075825214386, -0.02671162784099579, -0.02008134126663208, -0.0040771570056676865, -0.018412893638014793, -0.004310568794608116, 0.015055054798722267, 0.020572276785969734, -0.006498265545815229, 0.005783024709671736, 0.04503319412469864, -0.03577766939997673, 0.02575184404850006, -0.0006113857962191105, 0.024638617411255836, 0.0027373069897294044, -0.014825095422565937, 0.009042882360517979, 0.017293959856033325, -0.0039100004360079765, 0.023439906537532806, -0.015021915547549725, -0.04618946462869644, -0.029389014467597008, 0.01183225866407156, -0.019504839554429054, -0.024860139936208725, -0.02260618843138218, -0.04353370517492294, -0.017005326226353645, -0.016068175435066223, -0.022030623629689217, -0.02562766894698143, -0.02659217081964016, -0.006438384298235178, -0.0445287823677063, -0.011915655806660652, -0.015817532315850258, -0.02350081130862236, -0.006606927141547203, 0.004680287092924118, 0.035282716155052185, -0.00436755083501339, 0.009866219945251942, 0.030224887654185295, -0.0021651966962963343, -0.006083541549742222, -0.021014876663684845, 0.05419429764151573, -0.004572743084281683, 0.03418310731649399, 0.01409671176224947, 0.008381272666156292, -0.0040167467668652534, -0.0029871950391680002, -0.03584422171115875, 0.02584308758378029, -0.008249720558524132, -0.015878474339842796, -0.0136083560064435, -0.004518898669630289, 0.025659780949354172, -0.028701752424240112, -0.05257495865225792, 0.012124969623982906, -0.027040762826800346, -0.03036332316696644, 0.021657662466168404, -0.01956229656934738, 0.013006615452468395, 0.035862263292074203, -0.008517327718436718, 0.016856716945767403, 0.01703348383307457, -0.001091006794013083, -0.002969177672639489, -0.03106234036386013, -0.006115279160439968, 0.008520211093127728, 0.026300674304366112, -0.01733270473778248, 0.0027398194652050734, 0.011687583290040493, 0.027569040656089783, 0.003479166654869914, -0.017005296424031258, -0.02373926341533661, -0.04438373073935509, 7.744891467186494e-33, -0.005405557341873646, -0.0023634564131498337, -0.03013685904443264, 0.016561996191740036, -0.015597814694046974, 0.008060337044298649, -0.0087171895429492, 0.01290749292820692, -0.0641234964132309, 0.010608089156448841, -0.006299874279648066, 0.04068421199917793, -0.028431354090571404, 0.031961407512426376, 0.024260209873318672, -0.03767784312367439, 0.017514601349830627, -0.04334324970841408, 0.030416443943977356, -0.020954106003046036, 0.051672838628292084, -0.004543869756162167, 0.01617426797747612, -0.030666014179587364, 0.0030191848054528236, 0.04068021476268768, -0.02959858626127243, 0.04242520034313202, 0.025654278695583344, -0.0015995765570551157, -0.005189093761146069, 0.0062337047420442104, 0.02461557276546955, -0.026050060987472534, 0.012960926629602909, 0.03303558751940727, 0.01489304006099701, -0.004309471230953932, 0.0010410211980342865, 0.018688803538680077, -0.007148432545363903, -0.007276956457644701, -0.010240385308861732, -0.007823307998478413, 0.010421676561236382, 0.0079134376719594, 0.0052176895551383495, 0.007202818524092436, 0.007940194569528103, 0.035418204963207245, 0.007666619960218668, -0.007434460334479809, 0.02877151593565941, 0.02036716230213642, 0.00765491696074605, -0.038695741444826126, -0.008175737224519253, -0.004377052653580904, 0.01668654941022396, -0.011904305778443813, -0.009063756093382835, -0.01540976669639349, -0.036400046199560165, -0.005302220582962036, -0.02629539743065834, 0.012815697118639946, -0.023643461987376213, -0.00409907940775156, 0.0022787442430853844, 0.02240649424493313, -0.01516892109066248, 0.006726335734128952, 0.012590451166033745, 0.000026236395569867454, 0.022073503583669662, -0.024454621598124504, 0.012198973447084427, -0.005222499370574951, -0.013319481164216995, 0.008350426331162453, 0.015858659520745277, 0.0008416789933107793, 0.040882885456085205, -0.012498721480369568, -0.016264533624053, 0.005302587058395147, -0.0009971371619030833, 0.034435126930475235, 0.016081713140010834, -0.009475694969296455, -0.021301649510860443, 0.0016401519533246756, -0.0006211347645148635, 0.029300210997462273, 0.021490100771188736, -1.3472343241005547e-8, -0.009670739993453026, 0.037495531141757965, -0.020105520263314247, 0.0031348015181720257, 0.018306845799088478, 0.007539830170571804, -0.025696231052279472, -0.024240802973508835, -0.023575434461236, 0.008879882283508778, 0.039921388030052185, -0.028989169746637344, 0.011365369893610477, 0.0001200267142849043, 0.030642488971352577, -0.02126939967274666, -0.0006930145318619907, -0.027804510667920113, 0.016459716483950615, -0.020883794873952866, -0.007197340950369835, 0.04070094972848892, -0.011987995356321335, 0.018125588074326515, -0.0010737114353105426, 0.0030609704554080963, 0.001090151839889586, -0.04041861742734909, -0.021941347047686577, 0.019110681489109993, -0.02280370518565178, -0.014003115706145763, -0.038972318172454834, 0.013895338401198387, -0.027660401538014412, -0.013127021491527557, -0.008789710700511932, 0.003627051832154393, 0.02014472335577011, -0.01745498739182949, 0.014744170941412449, -0.023371176794171333, 0.013001765124499798, -0.024089578539133072, -0.0066623445600271225, 0.016155174002051353, 0.00332567747682333, -0.018491573631763458, 0.00565652921795845, -0.0252233874052763, 0.017192792147397995, 0.012955565936863422, 0.0060826996341347694, 0.02947193570435047, -0.020221218466758728, 0.002863665809854865, 0.009060181677341461, -0.011540863662958145, -0.024667145684361458, 0.008003830909729004, -0.016338560730218887, 0.017705755308270454, -0.009429216384887695, -0.017588069662451744 ]
reading-code-rhino-mocks
https://markhneedham.com/blog/2009/07/28/reading-code-rhino-mocks
false
2009-07-19 12:12:13
F#: Active patterns for parsing xml
[ "f", "active-patterns" ]
[ "fsharp" ]
I decided to spend some time doing some refactoring on the http://www.markhneedham.com/blog/2009/07/12/f-a-day-writing-a-feedburner-graph-creator/[FeedBurner application] that I started working on last week and the first area I worked on was cleaning up the way that the xml we get from FeedBurner is parsed. While http://www.markhneedham.com/blog/2009/07/16/f-passing-command-line-arguments-to-a-script/[playing around with the application from the command line] I realised that it didn't actually cover error conditions - such as passing in an invalid feed name - very well and I thought this would be a good opportunity to make use of an http://blogs.msdn.com/chrsmith/archive/2008/02/21/Introduction-to-F_2300_-Active-Patterns.aspx[active pattern] to handle this. I wanted to try and test drive this bit of code so my first idea was to try and call the active pattern directly from my test - I am testing using http://www.infoq.com/news/2009/05/nunit-release[NUnit 2.5] which now allows us to create tests without the need for a class with a [TestFixture] attribute on: [source,ocaml] ---- [<Test>] let should_return_no_feed_given_invalid_xml () = let feedType = Xml.(|NoFeedFound|FeedBurnerFeed|) "invalid xml" // other code ---- [source,ocaml] ---- let (|NoFeedFound|FeedBurnerFeed|) xml = NoFeedFound() ---- The problem I ran into with this approach is that the value of feedType when this test ran was 'Microsoft.FSharp.Core.Choice`2+_Choice1Of2' and I couldn't see a way to access this at compile time in order to assert against it. Either way a test asserting that the return value was 'Choice1Of2' doesn't seem to be the most expressive test anyway. I chatted with about this a bit with http://intwoplacesatonce.com/[Dave] and he suggested that it would probably be easier to test the active pattern via the function while actually makes use of it. I ended up with the following three tests: [source,ocaml] ---- open FeedBurnerService [<Test>] let should_throw_exception_if_feed_xml_is_invalid () = Assert.Throws<FailureException>(fun () -> FeedBurnerService.Parse "some broken xml" |> ignore) |> ignore [<Test>] let should_throw_exception_if_no_feed_found () = let feedXml = @"<?xml version=""1.0"" encoding=""utf-8"" ?> <rsp stat=""fail""> <err code=""1"" msg=""Feed Not Found"" /> </rsp>" Assert.Throws<FailureException>((fun () -> FeedBurnerService.Parse feedXml |> ignore), "Failed to process feed: Feed Not Found") |> ignore [<Test>] let should_retrieve_circulation_and_date_if_valid_xml () = let feedXml = @"<?xml version=""1.0"" encoding=""UTF-8""?> <rsp stat=""ok""> <feed id=""tdv0bg210cr731gc3nssn512cg"" uri=""MarkNeedham""> <entry date=""2009-07-16"" circulation=""630"" hits=""1389"" reach=""629"" /> </feed> </rsp>" let feedBurnerApi = FeedBurnerService.Parse feedXml let entry = feedBurnerApi |> Entries |> Seq.hd Assert.AreEqual(entry.Circulation, 630) Assert.AreEqual(entry.Date, "2009-07-16") ---- The interesting thing here is that the 'Assert.Throws' method takes in a C# delegate so we need to wrap the call to 'FeedBurnerService.Parse' inside a function. As with http://www.markhneedham.com/blog/2009/03/28/f-forcing-type-to-unit-for-assertshouldthrow-in-xunitnet/[xUnit.NET's equivalent method] we need to ignore the results of the function call in these tests. [source,ocaml] ---- module FeedBurnerService = open System.Xml.Linq open System let GetDescendants element (xDocument:XDocument) = xDocument.Descendants(xName element) let GetAttribute element (xElement:XElement) = xElement.Attribute(xName element) type FeedBurnerApi(entries:seq<Entry>) = member x.Entries = entries and Entry(date : string, circulation : int) = member x.Date = date member x.Circulation = circulation let Entries (feedBurnerApi:FeedBurnerApi) = feedBurnerApi.Entries let (|NoFeedFound|FeedBurnerFeed|) xml = try let document = xml |> XDocument.Parse let entries = document |> GetDescendants "entry" |> Seq.map (fun element -> GetAttribute "circulation" element, GetAttribute "date" element) |> Seq.map (fun attribute -> new Entry(circulation = Int32.Parse((fst attribute).Value), date = (snd attribute).Value) ) match Seq.length entries with | 0 -> NoFeedFound((document |> GetDescendants "err" |> Seq.hd |> GetAttribute "msg").Value) | _ -> FeedBurnerFeed(new FeedBurnerApi(entries)) with | :? System.Xml.XmlException as ex -> NoFeedFound(ex.Message) let Parse xml = match xml with | NoFeedFound(error) -> failwith ("Failed to process feed: " + error) | FeedBurnerFeed(entries) -> entries ---- I continued using the idea of http://www.markhneedham.com/blog/2009/07/12/f-wrapping-net-library-calls/[creating F# functions to wrap C# style method calls] with the 'Entries' function which delegates to the 'Entries' property on 'FeedBurnerApi' which reduces the need to store intermediate state. I probably could have done the same for the 'Date' and 'Circulation' properties although I couldn't see a significant improvement in the readability of the code by doing this. I have also made use of the 'and' keyword to define the 'Entry' type because it is referenced by the 'FeedBurnerApi' type and therefore needs to be defined at that stage. The other way to ensure this was the case would be to define 'Entry' before 'FeedBurnerApi' although this doesn't seem to read as nicely to me. We are making use of a multi case active pattern in the code which means that the input we are processing with the active pattern can be split into two different things in this case. Don Syme goes into http://blogs.msdn.com/dsyme/archive/2007/04/07/draft-paper-on-f-active-patterns.aspx[more detail on the different types of active patterns in his paper] and http://blogs.msdn.com/chrsmith/archive/2008/02/21/Introduction-to-F_2300_-Active-Patterns.aspx[Chris Smith also covers them in his post]. The code for the active pattern feels a bit too imperative at the moment although I wasn't sure of the best way to cover the different scenarios without writing it this way - no doubt there is a more functional way to do this but I can't see it yet. Making use of the active pattern in the code has made it much easier to work with than passing around a sequence of tuples as I was doing previously. It has also made it easy to exit from the program early if there is a problem with the data inputted.
null
null
[ 0.009665358811616898, -0.020755914971232414, -0.023841308429837227, 0.011443158611655235, 0.0716647133231163, -0.0022999425418674946, 0.0008936424856074154, 0.04243684187531471, 0.040962643921375275, -0.015515811741352081, -0.013596013188362122, 0.019344257190823555, -0.07826494425535202, 0.012351369485259056, 0.021193992346525192, 0.05707335099577904, 0.07259032130241394, -0.0015295242192223668, 0.049095846712589264, -0.01391894556581974, 0.021529845893383026, 0.031854815781116486, -0.013690766878426075, 0.04196055978536606, 0.05351588502526283, 0.01262371614575386, 0.015462437644600868, -0.024853769689798355, -0.05566103383898735, 0.005660532973706722, 0.016951285302639008, 0.020217478275299072, 0.021535545587539673, -0.02455962263047695, 0.00002637945544847753, -0.012771394103765488, -0.015653153881430626, 0.02861201949417591, -0.020850596949458122, 0.03198050335049629, -0.07364390045404434, 0.03564700856804848, -0.02053994871675968, 0.01546071469783783, -0.037631746381521225, 0.02321072295308113, -0.011375910602509975, -0.006090267561376095, 0.007061284966766834, -0.018705077469348907, -0.10494086891412735, 0.029523037374019623, -0.019039329141378403, -0.006463882513344288, 0.010506657883524895, 0.04808506369590759, 0.024644162505865097, -0.04686887189745903, 0.03158006817102432, -0.036946170032024384, 0.00665681529790163, -0.0017672238172963262, -0.010763551108539104, 0.04565338417887688, 0.031144602224230766, -0.019364455714821815, -0.0028379675932228565, 0.050859883427619934, -0.04138365387916565, -0.02225373685359955, -0.03025638684630394, 0.015103813260793686, -0.047376371920108795, -0.010440007783472538, 0.03705861419439316, -0.04626860097050667, -0.01165724080055952, 0.06409178674221039, 0.05107647925615311, 0.05374648794531822, -0.004248892422765493, 0.044416408985853195, 0.05657704547047615, 0.009267966262996197, 0.01267318893224001, -0.04350738227367401, -0.010527401231229305, -0.0012617453467100859, -0.015695922076702118, 0.06770093739032745, 0.03404391184449196, -0.0793929323554039, 0.016915947198867798, 0.014091510325670242, -0.003451711032539606, 0.00950639322400093, 0.009538593702018261, -0.00044826240628026426, -0.007648208178579807, -0.0254074539989233, -0.03976673632860184, -0.014107570052146912, 0.01590023934841156, 0.021004291251301765, -0.06600460410118103, -0.03521895781159401, -0.053606752306222916, -0.03589034080505371, 0.01844608597457409, 0.014299836941063404, -0.052161071449518204, 0.006233845371752977, -0.028759364038705826, -0.011574266478419304, -0.10846663266420364, 0.055680762976408005, 0.002551109530031681, -0.019337404519319534, -0.000695778348017484, 0.024720627814531326, 0.05056509003043175, 0.021497705951333046, -0.010187970474362373, 0.07958292961120605, 0.004199495539069176, 0.03050394169986248, -0.010732357390224934, 0.04924539104104042, -0.030797991901636124, -0.06029032915830612, -0.021036380901932716, 0.053724147379398346, 0.00692907627671957, 0.008795743808150291, -0.011899528093636036, 0.009500536136329174, -0.011844542808830738, -0.01905433088541031, 0.04166401922702789, 0.056046996265649796, -0.016183672472834587, -0.007531638722866774, 0.00856070127338171, -0.008198154158890247, 0.011275360360741615, 0.008814184926450253, -0.02193937636911869, -0.013050640001893044, -0.039770230650901794, 0.017903342843055725, 0.013623449951410294, 0.02706012688577175, 0.030067048966884613, -0.030588706955313683, -0.015693891793489456, 0.06299761682748795, -0.006548767909407616, -0.0004623947315849364, -0.016229361295700073, 0.029176834970712662, 0.05633140355348587, 0.059966180473566055, 0.017832953482866287, 0.046820517629384995, 0.012368740513920784, -0.015034046024084091, -0.016839927062392235, 0.005234886426478624, -0.029109075665473938, 0.005295808892697096, -0.05946644768118858, -0.0006377025274559855, 0.062402304261922836, -0.03234800323843956, -0.0002984119928441942, 0.043585002422332764, 0.0703120082616806, -0.008259957656264305, 0.03764558956027031, 0.0267635490745306, -0.06321847438812256, 0.036460381001234055, 0.013259056955575943, 0.01630426198244095, 0.0004162578552495688, 0.002103219274431467, 0.07251860946416855, 0.027483869343996048, 0.02356334775686264, 0.02367468923330307, -0.08356691151857376, -0.08492948114871979, -0.04243803769350052, -0.0056287446059286594, 0.06795107573270798, -0.035814318805933, 0.008882604539394379, 0.07807504385709763, 0.04074523597955704, 0.0507088266313076, 0.024746229872107506, -0.024676205590367317, -0.0024201436899602413, -0.06511468440294266, -0.06652505695819855, 0.037369195371866226, 0.053683869540691376, -0.04017945006489754, -0.06699254363775253, 0.028728313744068146, -0.016569247469305992, 0.07862599939107895, 0.05494660139083862, 0.01844671182334423, 0.03365342691540718, 0.04045737162232399, 0.02908598817884922, -0.032715972512960434, 0.048774100840091705, -0.07960159331560135, 0.017620032653212547, -0.023998351767659187, -0.018024345859885216, -0.014185630716383457, -0.019805796444416046, 0.12219496816396713, 0.05966275930404663, -0.03481975197792053, -0.05294295772910118, 0.01801324263215065, -0.008828279562294483, -0.012390459887683392, 0.004969892557710409, -0.0028535323217511177, -0.023045560345053673, -0.010165473446249962, -0.039704225957393646, 0.018000582233071327, 0.01984843797981739, -0.03307926654815674, 0.06537225842475891, 0.05221923813223839, -0.016310792416334152, 0.047176484018564224, -0.004696602933108807, -0.027869878336787224, 0.009811602532863617, 0.006458168849349022, -0.02800823375582695, 0.02253076806664467, 0.03534787893295288, -0.005434241145849228, 0.0726880356669426, -0.04134126752614975, -0.08899273723363876, -0.020404428243637085, -0.06397037208080292, 0.015912828966975212, 0.040223781019449234, 0.06417347490787506, 0.010876312851905823, 0.012368940748274326, -0.016596265137195587, 0.014620320871472359, 0.01280205138027668, -0.08193009346723557, -0.008095389232039452, 0.013713901862502098, 0.025495750829577446, 0.039388082921504974, 0.011154720559716225, -0.00211277324706316, 0.03089936450123787, 0.014629016630351543, -0.01618761382997036, -0.015842797234654427, 0.036050692200660706, 0.025354761630296707, -0.028432689607143402, -0.033145319670438766, -0.022713081911206245, 0.026886405423283577, -0.034252215176820755, -0.010854950174689293, 0.006863084156066179, -0.032555025070905685, 0.021914497017860413, -0.06363428384065628, -0.06506796926259995, 0.016136951744556427, 0.015433271415531635, 0.02281149849295616, -0.0034615611657500267, 0.03182012960314751, 0.0480569489300251, 0.004950507543981075, -0.004683144390583038, 0.011614358052611351, -0.005238577723503113, 0.02530638501048088, 0.01687067560851574, 0.012858155183494091, 0.030732203274965286, -0.0025593088939785957, 0.017313940450549126, -0.06280874460935593, 0.0014905293937772512, -0.034990787506103516, -0.28938183188438416, 0.06331528723239899, 0.019687242805957794, -0.03470996767282486, 0.022112932056188583, -0.015726666897535324, 0.01652921549975872, -0.047810137271881104, -0.011639120057225227, 0.05672644451260567, -0.04234355315566063, -0.03214634209871292, -0.01426516380161047, 0.07422755658626556, 0.0009386485908180475, 0.015067134983837605, 0.0151052325963974, -0.06671294569969177, 0.06747597455978394, 0.04052472859621048, -0.000593491131439805, -0.035737283527851105, 0.012199703603982925, 0.035760506987571716, 0.04367534816265106, 0.043387338519096375, -0.0891721099615097, 0.047571223229169846, -0.00799110159277916, -0.020878689363598824, 0.022164763882756233, -0.01560821570456028, 0.01061409991234541, -0.023931164294481277, -0.012345874682068825, 0.0002754967426881194, 0.016731036826968193, -0.0021901812870055437, 0.021092651411890984, 0.009270528331398964, -0.031213736161589622, -0.06146650388836861, -0.013811328448355198, -0.0021892923396080732, 0.08537793159484863, -0.011108879931271076, -0.08835212886333466, -0.025108084082603455, -0.030237475410103798, 0.061684321612119675, -0.052539173513650894, -0.03396754711866379, -0.004541537258774042, 0.021618250757455826, -0.018721729516983032, -0.03460560739040375, -0.0037223182152956724, -0.014296718873083591, -0.032164134085178375, -0.020533451810479164, -0.03748834878206253, -0.052754055708646774, -0.012205701321363449, -0.03868984803557396, -0.020505614578723907, -0.05977095291018486, -0.04569631069898605, -0.03457516059279442, 0.08401409536600113, 0.026059716939926147, -0.01811039261519909, -0.008192090317606926, 0.011635921895503998, -0.11723751574754715, -0.020481247454881668, -0.05433104559779167, -0.05016664043068886, -0.01287867221981287, -0.027117034420371056, 0.04031265899538994, -0.03773479536175728, -0.044659972190856934, 0.031629037111997604, 0.012505426071584225, 0.02111847512423992, -0.010730850510299206, 0.025963066145777702, 0.0071906051598489285, -0.015992173925042152, -0.009070569649338722, 0.06894683837890625, -0.008643082343041897, -0.0057687158696353436, -0.02307054027915001, 0.0043464163318276405, 0.034704167395830154, 0.021242618560791016, 0.006208599079400301, 0.03083537146449089, 0.026500346139073372, 0.035520244389772415, -0.061669208109378815, 0.032891783863306046, -0.02530554123222828, 0.009603886865079403, -0.0008660793537274003, -0.024029182270169258, 0.01615803875029087, 0.03440752252936363, 0.009668495506048203, -0.021035417914390564, -0.008367367088794708, -0.00876943301409483, -0.03876591846346855, -0.045317769050598145, -0.013971409760415554, -0.004223643336445093, 0.0025389462243765593, 0.0037209661677479744, -0.035654839128255844, -0.06293106824159622, -0.004609820432960987, -0.006466733291745186, -0.015135959722101688, -0.07218212634325027, -0.04115230217576027, 0.019007127732038498, -0.018837839365005493, 0.01042113732546568, 0.025805804878473282, 0.009620772674679756, 0.016292409971356392, 0.004247036762535572, -0.045036494731903076, 0.006735145580023527, -0.01753842830657959, -0.012463212013244629, -0.01244514249265194, 0.014783445745706558, -0.00544700725004077, -0.0261205043643713, 0.010485583916306496, 0.00832764245569706, 0.03629421815276146, 0.041880782693624496, 0.013882903382182121, 0.03332611173391342, 0.018615322187542915, -0.005791304633021355, -0.0033080128487199545, 0.022705068811774254, -0.04793577268719673, 0.007973253726959229, -0.004819243215024471, -0.02618872933089733, -0.026940733194351196, 0.04918958619236946, -0.003981604706496, -0.02910282462835312, -0.04469119384884834, 0.0176534503698349, -0.0929035097360611, 0.0006253740284591913, -0.016970627009868622, -0.009463684633374214, 0.036644347012043, 0.0016618124209344387, 0.05688844993710518, -0.005207356996834278, -0.038302626460790634, -0.01075584813952446, 0.0010088030248880386, -0.04008472338318825, 0.048768725246191025, -0.0008601583540439606, 0.005629672668874264, 0.031737301498651505, -0.009785281494259834, 0.04888397082686424, 0.03757883235812187, -0.022357821464538574, -0.027066273614764214, 0.034108176827430725, 0.031005870550870895, 0.031950417906045914, -0.013942779041826725, -0.021348493173718452, 0.011214199475944042, -0.02579752542078495, -0.0005700447363778949, -0.029286960139870644, -0.0009174752049148083, -0.01696428656578064, 0.029096655547618866, -0.03903166949748993, -0.06409185379743576, 0.041663747280836105, -0.027426274493336678, 0.04820192605257034, 0.0014094338985159993, -0.02839321829378605, -0.0077791353687644005, -0.005754365120083094, 0.036679457873106, 0.03335028886795044, -0.05336268991231918, -0.0016474061412736773, -0.007572765927761793, -0.0007274039671756327, 0.02675616554915905, 0.01949447952210903, -0.05516348406672478, -0.011125845834612846, 0.016415072605013847, 0.002047362271696329, -0.017895648255944252, -0.027704982087016106, -0.013448083773255348, 0.022856969386339188, -0.023735860362648964, -0.03300926834344864, -0.01858019083738327, 0.001436911290511489, -0.01832164265215397, -0.01750035770237446, 0.0074157146736979485, -0.019321896135807037, -0.030010122805833817, 0.0340326651930809, -0.03259202465415001, 0.01339240837842226, -0.012902085669338703, 0.0391741618514061, 0.01946827955543995, 0.004130994901061058, -0.02631317637860775, -0.058520760387182236, -0.0014831317821517587, -0.013808784075081348, 0.05273086577653885, 0.011537770740687847, -0.012227094732224941, -0.036062754690647125, -0.005512257572263479, -0.02383207343518734, 0.031277190893888474, -0.012657959014177322, -0.03019619546830654, 0.019173821434378624, 0.04256276786327362, -0.002614447381347418, 0.04611503705382347, 0.011517146602272987, -0.00453021889552474, 0.06043513864278793, -0.06875837594270706, -0.01910310983657837, -0.02136058360338211, -0.07870491594076157, 0.026624100282788277, 0.01258857361972332, 0.030773652717471123, -0.054513830691576004, 0.04589489847421646, 0.03032957948744297, 0.011055308394134045, 0.019290871918201447, -0.0004723887250293046, 0.033523183315992355, -0.010136102326214314, 0.0056904274970293045, -0.09540136903524399, 0.0210849829018116, 0.07062450796365738, 0.05096816271543503, -0.017062874510884285, -0.021997492760419846, -0.021692626178264618, 0.031766489148139954, -0.01849934458732605, -0.009133554995059967, 0.040804676711559296, 0.028475919738411903, 0.009937159717082977, 0.018715206533670425, -0.031888190656900406, 0.03938540071249008, 0.02924276329576969, -0.035374850034713745, -0.033651161938905716, 0.000799661036580801, 0.029329199343919754, 0.001911243423819542, 0.00589621951803565, -0.035263605415821075, -0.007111961953341961, 0.0623723603785038, 0.022744521498680115, 0.00608507776632905, 0.034815337508916855, -0.03230655565857887, 0.038249421864748, 0.05866452679038048, 0.012255735695362091, -0.0006838628323748708, 0.006403692997992039, -0.008833521045744419, -0.048137977719306946, 0.006973715964704752, 0.0057419463992118835, -0.023956406861543655, -0.04205458611249924, 0.059787631034851074, 0.009914420545101166, -0.01570410467684269, -0.06065356731414795, -0.02191130816936493, -0.03819989785552025, 0.008710691705346107, -0.02071024291217327, 0.0314067006111145, -0.032851140946149826, 0.04143808037042618, -0.016487397253513336, -0.005413700360804796, 0.0538460835814476, -0.027795009315013885, 0.023406486958265305, -0.0008058059611357749, 0.05907673016190529, 0.04525412991642952, 0.027909180149435997, -0.011886389926075935, 0.06241992115974426, -0.0259699746966362, -0.029607804492115974, -0.010720973834395409, -0.018911315128207207, -0.0065239667892456055, -0.014013218693435192, 0.038820333778858185, 0.08333361893892288, 0.005251874681562185, 0.0506383441388607, -0.03132788836956024, 0.009260348975658417, -0.004881829023361206, 0.020482191815972328, 0.030575040727853775, 0.04937097802758217, -0.021510278806090355, -0.0004580427485052496, 0.005638443864881992, -0.02308085188269615, 0.00936361774802208, -0.05023888498544693, -0.03585806488990784, 0.02405790612101555, -0.015344559215009212, 0.04341615363955498, -0.004243048373609781, 0.04607396945357323, 0.060484904795885086, -0.034364040940999985, -0.015556856989860535, 0.005578532814979553, 0.012242288328707218, -0.002549247583374381, -0.031157193705439568, -0.027892135083675385, -0.004226240329444408, -0.023406101390719414, -0.0019999456126242876, -0.02490852214396, -0.03735332563519478, -0.028615573421120644, 0.020902205258607864, -0.02248428575694561, -0.021123278886079788, 0.019121132791042328, -0.01934070885181427, -0.041148409247398376, -0.037918608635663986, -0.06457636505365372, -0.0364278107881546, -0.08527892082929611, -0.012402775697410107, -0.0031097799073904753, -0.0038992518093436956, -0.028491457924246788, -0.034022074192762375, -0.014645352028310299, -0.025283008813858032, 0.0413782000541687, -0.02414642460644245, -0.02688239887356758, 0.040313415229320526, -0.009045264683663845, 0.02967182733118534, 0.0036765639670193195, 0.007431781850755215, 0.02018783427774906, -0.023567162454128265, -0.04373471438884735, 0.004075189586728811, 0.04281766340136528, 0.00692211976274848, 0.010525628924369812, -0.07796037197113037, 0.0029729600064456463, -0.015041966922581196, 0.020236888900399208, -0.04906265437602997, 0.03136123716831207, 0.004996629897505045, -0.008374044671654701, 0.05661429092288017, -0.022092305123806, -0.03470895066857338, -0.03239426016807556, -0.01771525666117668, 0.022389283403754234, 0.013889273628592491, 0.028992801904678345, -0.02491304650902748, 0.06752120703458786, 0.022475458681583405, -0.04015597328543663, -0.03961051255464554, 0.012972211465239525, -0.04144878312945366, 0.034320756793022156, -0.024317283183336258, -0.045012086629867554, -0.03004470467567444, -0.07022731751203537, 0.027023598551750183, 0.03144063800573349, -0.009576157666742802, -0.008592043071985245, 0.019523393362760544, 0.02694934606552124, -0.06804422289133072, 0.03981807082891464, -0.021274641156196594, 0.02426634542644024, -0.011942340061068535, -0.06015552952885628, 0.0011148317717015743, -0.005191233940422535, 0.03367403894662857, 0.003927937708795071, 0.019618216902017593, -0.05915246903896332, -0.023365337401628494, 0.004651707597076893, 0.02681056223809719, 0.0477999746799469, -0.022610245272517204, -0.007157295010983944 ]
[ -0.07297033816576004, 0.015435160137712955, -0.04325468838214874, -0.00626995787024498, 0.06829673796892166, -0.03967274725437164, -0.04128072410821915, 0.028726644814014435, -0.037525057792663574, -0.03220612555742264, -0.0012743043480440974, -0.05505423992872238, -0.01143274549394846, -0.021690286695957184, 0.07564061135053635, -0.0004179759416729212, -0.01565670594573021, -0.04584413766860962, 0.0023652042727917433, -0.003677590284496546, 0.017827898263931274, -0.024380864575505257, -0.08001666516065598, -0.07028071582317352, 0.03786301240324974, 0.03942852467298508, 0.04670381918549538, -0.03283081576228142, -0.03537401556968689, -0.20130860805511475, 0.020384110510349274, -0.022346599027514458, 0.012999674305319786, -0.05093975365161896, -0.01394692063331604, 0.0022456347942352295, 0.04563261568546295, 0.0035443936940282583, -0.02064366266131401, 0.03996209427714348, 0.027064500376582146, -0.01236899197101593, -0.04990999028086662, -0.0016492893919348717, 0.018723569810390472, 0.006387306377291679, -0.018354669213294983, -0.01486772857606411, -0.011249786242842674, 0.001222672639414668, -0.07237756252288818, -0.01254009734839201, 0.0038650191854685545, -0.027568163350224495, -0.0033069979399442673, 0.018465591594576836, 0.03611183166503906, 0.06476512551307678, 0.043014299124479294, 0.014655726961791515, -0.0318487249314785, -0.0035847933031618595, -0.14956893026828766, 0.10085207223892212, 0.020104972645640373, 0.017528165131807327, -0.037795476615428925, -0.02186611108481884, -0.013137085363268852, 0.08573594689369202, 0.013465234078466892, -0.03216351196169853, -0.028222406283020973, 0.06245901808142662, 0.024222124367952347, 0.029815679416060448, 0.03459228575229645, 0.005403898656368256, 0.03232363238930702, -0.01825956255197525, -0.07811202108860016, -0.004344603978097439, 0.0029676631093025208, -0.007860608398914337, -0.0390157550573349, 0.008375663310289383, 0.005954530090093613, 0.0478753000497818, 0.0723549947142601, 0.03974391892552376, 0.0398750826716423, -0.03087909333407879, 0.019249919801950455, 0.0033890800550580025, -0.07282298058271408, -0.03643954545259476, -0.0012917392887175083, 0.01128042209893465, -0.05318731442093849, 0.4152482748031616, -0.03847534582018852, -0.028003768995404243, 0.04987874627113342, 0.051356472074985504, 0.01945183053612709, 0.013290013186633587, 0.04004569724202156, -0.031302910298109055, -0.014617783017456532, -0.051100216805934906, -0.002835602732375264, -0.02224784344434738, 0.02391950786113739, -0.05679557844996452, -0.00877425353974104, 0.008586587384343147, 0.01933395117521286, -0.015219996683299541, -0.011437957175076008, 0.02340821735560894, -0.0008728730026632547, 0.0038932973984628916, 0.043098174035549164, 0.021012451499700546, -0.006182788405567408, 0.00015063468890730292, 0.02265164628624916, 0.06068018451333046, -0.004501175135374069, 0.02631576545536518, 0.03946857154369354, -0.051930222660303116, -0.07724202424287796, -0.01552523486316204, 0.017972758039832115, 0.03289607912302017, 0.04550221562385559, -0.013795615173876286, 0.016763795167207718, 0.036451395601034164, -0.0020951158367097378, -0.041484396904706955, 0.02812942862510681, -0.01015739981085062, -0.008056137710809708, 0.10019097477197647, 0.012247787788510323, -0.005683852359652519, -0.04743165522813797, -0.033983297646045685, 0.013188541866838932, 0.02389868162572384, -0.02239501103758812, -0.02925529144704342, 0.02295081317424774, 0.029808852821588516, 0.03663790598511696, -0.017726415768265724, -0.033357612788677216, -0.019410021603107452, -0.013919942080974579, -0.06801600754261017, -0.031585466116666794, -0.008094852790236473, 0.015388273634016514, -0.11308673769235611, -0.041577357798814774, 0.029988927766680717, 0.008284434676170349, -0.05962160602211952, 0.0345759280025959, 0.014670112170279026, -0.06552110612392426, -0.06498948484659195, 0.004430836532264948, -0.02214086428284645, -0.02410762384533882, 0.006352175958454609, 0.05636506527662277, 0.003672360209748149, 0.028867751359939575, 0.0015164470532909036, -0.03414672613143921, 0.011557415127754211, -0.03466430678963661, -0.07744567096233368, -0.053303733468055725, -0.014631801284849644, -0.029478903859853745, -0.017237363383173943, -0.012274234555661678, -0.049286287277936935, -0.07284726202487946, 0.056584667414426804, -0.021899335086345673, -0.0012047444470226765, 0.01552672404795885, 0.05057796835899353, 0.026951821520924568, -0.06454738229513168, 0.0336516872048378, 0.008611506782472134, 0.014624427072703838, 0.02155417390167713, -0.039235759526491165, 0.05297620967030525, 0.032283294945955276, -0.06117977574467659, 0.06413544714450836, 0.030965812504291534, -0.03674015775322914, 0.008212308399379253, -0.022867366671562195, 0.03626183047890663, -0.011245525442063808, 0.01711449772119522, 0.00045597137068398297, 0.019307443872094154, 0.0050359792076051235, 0.048996452242136, -0.020503925159573555, -0.030750706791877747, -0.022171417251229286, -0.3501357436180115, -0.06704135984182358, -0.0017084205755963922, 0.0015360991237685084, 0.016321714967489243, -0.03311804309487343, 0.011367950588464737, 0.018883295357227325, -0.011773016303777695, 0.016012243926525116, 0.08627896010875702, 0.021258199587464333, -0.0016715379897505045, -0.0991542786359787, 0.018520712852478027, -0.0037607867270708084, -0.03224187716841698, -0.06267108023166656, -0.018747227266430855, 0.05722929537296295, -0.00432939175516367, -0.013154975138604641, 0.0047896564938127995, -0.05910303071141243, 0.0507279671728611, -0.01695311814546585, 0.09202408045530319, 0.020260777324438095, 0.1277586966753006, -0.05236368253827095, 0.046433717012405396, 0.010957309976220131, 0.009608402848243713, -0.07485019415616989, -0.010784832760691643, -0.018655261024832726, -0.003581944853067398, 0.010837316513061523, 0.0471327006816864, -0.04143182933330536, -0.042633965611457825, 0.012392892502248287, -0.06923147290945053, -0.08225668966770172, 0.011757060885429382, 0.011103034019470215, 0.005411206278949976, 0.006375569384545088, -0.03737276419997215, 0.08034097403287888, 0.007101559080183506, 0.008750488050282001, -0.00850939005613327, 0.05292266234755516, 0.003088264726102352, -0.014838193543255329, -0.0579824261367321, 0.007145187817513943, -0.000993476016446948, -0.04171760007739067, 0.03185107186436653, 0.04161255434155464, 0.02985399402678013, -0.05413048341870308, 0.027525926008820534, 0.031207019463181496, -0.0010598520748317242, -0.008871467784047127, 0.031357139348983765, -0.0251997672021389, 0.001323874108493328, 0.12487883865833282, 0.011543148197233677, -0.025529300794005394, 0.025040283799171448, 0.05966964364051819, -0.020252680405974388, -0.0036080246791243553, 0.014539642259478569, -0.010711798444390297, 0.01994990184903145, 0.004280218854546547, 0.061452675610780716, -0.015599893406033516, -0.013726727105677128, 0.04988306388258934, -0.07642021775245667, -0.03273565694689751, 0.09513669461011887, -0.005847688764333725, -0.030806155875325203, -0.00031356827821582556, -0.03921382129192352, -0.040487416088581085, 0.08212045580148697, -0.0019004081841558218, -0.2361990064382553, 0.0006072702817618847, 0.0704510360956192, 0.05830661207437515, 0.00449025584384799, 0.012894573621451855, 0.03044087626039982, -0.06302041560411453, 0.010367768816649914, 0.007673274260014296, 0.020791536197066307, 0.060355041176080704, 0.04235067963600159, -0.0016069399425759912, 0.011927187442779541, -0.008534393273293972, 0.0196048766374588, 0.01927163265645504, -0.008199219591915607, -0.004528435412794352, 0.01304823998361826, -0.019854342564940453, 0.14347496628761292, 0.016604267060756683, -0.018020737916231155, 0.02501610293984413, 0.008311264216899872, -0.0001677075051702559, 0.09804194420576096, 0.01975528709590435, 0.022127769887447357, 0.012401444837450981, 0.05256064236164093, 0.004943448584526777, 0.06327827274799347, -0.06053459271788597, -0.009712284430861473, 0.013499045744538307, 0.023850655183196068, -0.04876289144158363, 0.003145353402942419, 0.021465349942445755, -0.03876219317317009, 0.01670069620013237, 0.06685145199298859, -0.002118297852575779, -0.007169619202613831, -0.02272885851562023, -0.06011590361595154, 0.01647191308438778, -0.008036844432353973, -0.019920289516448975, -0.0050933510065078735, 0.002733531640842557, -0.036835018545389175, 0.05724342167377472, 0.026907773688435555, -0.024658335372805595, -0.024635139852762222, 0.023502640426158905, 0.0021083534229546785, -0.01779743656516075, 0.14738823473453522, 0.02923375740647316, 0.04752930626273155 ]
[ -0.007769690360873938, -0.009663701057434082, -0.015261899679899216, 0.04389088600873947, 0.011394194327294827, -0.01025730837136507, -0.020124083384871483, 0.0039038362447172403, -0.009805131703615189, -0.036001600325107574, -0.009395929984748363, -0.033215202391147614, 0.010486803948879242, -0.03110070526599884, 0.0325770229101181, -0.024444114416837692, 0.030405715107917786, -0.027458367869257927, 0.022078808397054672, -0.006315311882644892, 0.004253884311765432, 0.031045150011777878, 0.003230628790333867, -0.021268514916300774, -0.011551863513886929, -0.018209394067525864, -0.045575324445962906, 0.0033397201914340258, 0.018995344638824463, -0.13935987651348114, 0.021413058042526245, -0.030850695446133614, -0.0012458503479138017, 0.020706335082650185, -0.0071592931635677814, -0.02773100510239601, 0.03556183725595474, -0.029386252164840698, -0.021501736715435982, 0.029786841943860054, 0.036267247051000595, -0.04499378055334091, -0.023933781310915947, 0.0026565573643893003, -0.028854195028543472, -0.015481995418667793, -0.015279760584235191, -0.01778414286673069, -0.02038821205496788, 0.010474770329892635, -0.04723400995135307, -0.017406878992915154, -0.004110662266612053, 0.02925742231309414, 0.01925249770283699, -0.020098470151424408, 0.006312606390565634, 0.039263926446437836, -0.02126278355717659, -0.04668080434203148, 0.030392823740839958, -0.006136334501206875, -0.04670904576778412, -0.020684219896793365, -0.02088252827525139, 0.027212852612137794, -0.05003410577774048, -0.019061215221881866, 0.00645234901458025, 0.00914115272462368, -0.034501414746046066, 0.0015663921367377043, -0.006202312186360359, -0.002066761953756213, -0.021215301007032394, 0.004928537178784609, 0.02947602979838848, -0.017881985753774643, -0.008512547239661217, -0.019786253571510315, -0.03282632306218147, 0.018667209893465042, -0.017230341210961342, -0.006781892850995064, 0.007926175370812416, 0.030468152835965157, 0.013368010520935059, 0.005804817657917738, 0.05708710476756096, 0.05373167246580124, -0.046427130699157715, 0.023662522435188293, 0.016674023121595383, 0.04293862730264664, -0.08658983558416367, 0.012132605537772179, -0.0026789112016558647, -0.024904940277338028, -0.017836682498455048, 0.8285096287727356, -0.029836948961019516, 0.031640052795410156, -0.006047507282346487, 0.011217370629310608, 0.01365529652684927, -0.015913326293230057, -0.03452102839946747, 0.019034704193472862, 0.017791837453842163, -0.033590614795684814, 0.03671960160136223, 0.02663949877023697, 0.040987078100442886, 0.0047205593436956406, 0.031406085938215256, -0.003961407113820314, 0.039955984801054, -0.017981156706809998, -0.014238019473850727, 0.019913200289011, 0.015020112507045269, -0.00003058832953684032, 0.017726289108395576, 0.0305662639439106, 0.050429798662662506, -0.18254247307777405, 0.017468051984906197, -6.666811067900819e-33, -0.004372904077172279, -0.016386935487389565, 0.006018300540745258, 0.023274028673768044, 0.01184758823364973, -0.014801016077399254, 0.026104716584086418, 0.026672614738345146, 0.009350518696010113, -0.044684506952762604, 0.059358224272727966, -0.030394073575735092, -0.010237970389425755, 0.016935965046286583, 0.0636114627122879, -0.005533733870834112, 0.019086571410298347, 0.05732724443078041, 0.027785712853074074, 0.012733342126011848, 0.019647475332021713, 0.027912957593798637, 0.021369658410549164, -0.029105670750141144, -0.028111813589930534, 0.03563132509589195, 0.025903312489390373, -0.011835315264761448, -0.0002486651355866343, -0.04421621188521385, -0.0056981234811246395, -0.03958370164036751, 0.022235268726944923, -0.02060183510184288, 0.017197372391819954, -0.0629289522767067, -0.031019536778330803, 0.004727390594780445, -0.02374972030520439, -0.01591401919722557, -0.030866509303450584, 0.03585604578256607, -0.006476545240730047, 0.0029809551779180765, -0.013977747410535812, 0.004148790612816811, -0.019650068134069443, 0.03051774948835373, 0.0069404179230332375, -0.006485451012849808, 0.06720739603042603, 0.00016338039131369442, 0.040575671941041946, -0.01518283225595951, 0.020265961065888405, -0.02006123587489128, -0.03655152767896652, -0.0050791059620678425, 0.0017617341363802552, -0.026080694049596786, 0.01759197562932968, -0.019897952675819397, -0.006749392952769995, 0.019247310236096382, -0.003625981044024229, -0.005459223873913288, 0.005402279086410999, -0.02939235046505928, -0.010281301103532314, 0.03519200161099434, -0.03770885989069939, -0.015317202545702457, -0.006359979044646025, -0.016334980726242065, 0.016198404133319855, -0.033025868237018585, -0.015225621871650219, -0.050412219017744064, -0.020448969677090645, 0.03746688365936279, 0.004800092428922653, -0.02750290371477604, -0.029427317902445793, -0.017007265239953995, -0.03834832087159157, 0.020443890243768692, 0.027135193347930908, 0.011074848473072052, 0.02555791288614273, 0.03129725903272629, 0.018671341240406036, 0.044407542794942856, -0.018701838329434395, -0.032629504799842834, 0.003934403415769339, 7.260335063362285e-33, -0.031394269317388535, -0.0034887201618403196, -0.05701353773474693, 0.008820010349154472, -0.01807304099202156, -0.04106682911515236, -0.025354672223329544, 0.009538640268146992, -0.015949254855513573, 0.027752192690968513, -0.0203770250082016, 0.001948073972016573, -0.02601020038127899, 0.05201054736971855, 0.023257162421941757, -0.017496027052402496, 0.024008197709918022, -0.026748143136501312, 0.022880002856254578, 0.002856137230992317, 0.02446398138999939, 0.0024104868061840534, -0.00014321901835501194, 0.027118725702166557, 0.0337410531938076, 0.06809406727552414, -0.015096567571163177, 0.031458139419555664, -0.022004755213856697, -0.045412611216306686, 0.002635234035551548, 0.009444581344723701, 0.01893743686378002, -0.031147129833698273, -0.0078534334897995, 0.044340651482343674, 0.004990761633962393, 0.0019677963573485613, 0.017851239070296288, -0.0138442637398839, 0.01942836120724678, -0.0066835517063736916, -0.013572377152740955, -0.010070268996059895, -0.029303941875696182, 0.006816514302045107, 0.01911006309092045, -0.014943785965442657, -0.01003163680434227, 0.05722609534859657, 0.010520589537918568, -0.018702972680330276, -0.016963163390755653, 0.04638570919632912, -0.01787584461271763, 0.014788676984608173, 0.00026109578902833164, 0.021207906305789948, 0.015585326589643955, -0.023244407027959824, -0.01522678229957819, 0.017182402312755585, -0.006703988183289766, 0.01427958719432354, -0.004525399766862392, 0.023366890847682953, 0.003394136670976877, -0.025775516405701637, -0.018164867535233498, 0.009687175042927265, -0.0038239823188632727, 0.012559482827782631, -0.00687303114682436, 0.045603640377521515, 0.020802682265639305, 0.017932407557964325, 0.01382118184119463, 0.005123544950038195, -0.06244068592786789, 0.04198472946882248, -0.034646205604076385, 0.00955322477966547, 0.016129765659570694, 0.015384607017040253, -0.004422951024025679, 0.021412545815110207, -0.012820013798773289, 0.00441553071141243, 0.007669673766940832, -0.024079740047454834, -0.018810780718922615, -0.014955729246139526, 0.01751388981938362, -0.021837929263710976, 0.010286497883498669, -1.2831445239669392e-8, -0.05767014995217323, -0.030233187600970268, -0.04331998899579048, 0.026235880330204964, 0.0056111630983650684, -0.004311857279390097, -0.02684747241437435, -0.017512012273073196, -0.005322208162397146, 0.010909234173595905, 0.021998925134539604, 0.01302299089729786, 0.012878418900072575, -0.005040097516030073, 0.06391314417123795, -0.0785677507519722, 0.024400513619184494, -0.028020458295941353, 0.010593832470476627, -0.017634842544794083, 0.017238041386008263, 0.0160087700933218, -0.017127497121691704, 0.028826670721173286, -0.001151557662524283, 0.0003933220577891916, 0.04005821421742439, -0.06613423675298691, 0.007592715322971344, 0.028765937313437462, 0.0447721928358078, -0.014561928808689117, 0.033397525548934937, 0.01983419619500637, -0.019910916686058044, -0.019500035792589188, 0.006075942888855934, 0.02866576798260212, -0.0026314896531403065, -0.003204384120181203, 0.002718596486374736, -0.02072174660861492, 0.00791738647967577, -0.029756197705864906, -0.0428534597158432, 0.002375202951952815, 0.00012188486289232969, 0.004704365506768227, 0.052693165838718414, -0.017516696825623512, -0.006028089206665754, -0.003386256517842412, 0.013577680103480816, -0.003550471505150199, -0.021572411060333252, -0.03583736717700958, 0.03760864958167076, -0.03929279372096062, -0.010377983562648296, 0.02299676649272442, 0.051246464252471924, 0.02703290432691574, -0.013502063229680061, -0.009014028124511242 ]
f-active-patterns-for-parsing-xml
https://markhneedham.com/blog/2009/07/19/f-active-patterns-for-parsing-xml
false
2009-07-26 23:45:14
F#: Playing around with asynchronous workflows
[ "f", "asynchronous-workflows" ]
[ "fsharp" ]
I spent a bit of time over the weekend playing around with F# http://www.infoq.com/articles/pickering-fsharp-async[asynchronous workflows] and seeing how they could be used to launch Firefox windows asynchronously for my http://www.markhneedham.com/blog/2009/07/12/f-a-day-writing-a-feedburner-graph-creator/[FeedBurner graph creator]. Initially I decided to try out the 'Async.RunWithContinuations' function which I http://codebetter.com/blogs/matthew.podwysocki/archive/2009/06/20/f-async-running-with-continuation-scissors.aspx[recently read about on Matthew Podwysocki's blog]. Matthew describes this as being a function which is useful for executing a single operation asynchronously and this worked out quite well for me as my application only has the ability to get one feed and then create a graph from its data. I changed the Execute function (which http://www.markhneedham.com/blog/2009/07/16/f-passing-command-line-arguments-to-a-script/[takes in arguments from the command line] as I wrote about previously) to launch a firefox window with the graph loaded: [source,ocaml] ---- let launchInFirefox url = async { System.Diagnostics.Process.Start(@"C:\Program Files\Mozilla Firefox\firefox.exe", url) |> ignore } let timeNow () = System.DateTime.Now.ToLongTimeString() let Execute args = if (Array.length args <> 3) then printfn "Expected usage: [feedName] [startDate yyyy-mm-dd] [endDate yyyy-mm-dd]" else let feedName, startDate, endDate = args.[0], args.[1], args.[2] let graphUri = (ShowFeedBurnerStats feedName startDate endDate).AbsoluteUri Async.RunWithContinuations ( (fun cont -> printfn "Downloaded feed graph for %s at %s" feedName (timeNow())), (fun ex -> printfn "Failed to download feed graph for %s - %s %s " feedName (ex.Message) (ex.StackTrace)), (fun cancelled -> printfn "Feed graph downloading for %s was cancelled" feedName), (launchInFirefox graphUri) ) ---- The function actually takes in three continuations as well as the asynchronous computation to run: * A continuation to run if the computation completes successfully * An exception continuation to run if the computation throws an exception. I was able to test this out by trying to launch a process which did not exist * A cancellation continuation to run if there is a signal for the computation to be cancelled We then pass in the asynchronous computation as the last argument to the function which in this case is a process which launches FireFox with the url of the graph. This works quite nicely but you don't really notice that much different between launching the browser this way and just doing it using the 'Async.RunSynchronously' function. It becomes a bit more interesting if we try to execute more than one asynchronous computations which in this case means creating multiple graphs at the same time. My first attempt was to launch each of these computations synchronously: [source,ocaml] ---- let CreateGraphs (feeds:seq<string>) = feeds |> Seq.map (fun f -> ShowFeedBurnerStats f "2009-03-01" "2009-07-25") |> Seq.map (fun uri -> launchInFirefox uri.AbsoluteUri ) |> Seq.iter (Async.RunSynchronously) ---- I called this function like so: [source,ocaml] ---- let feeds = seq { yield "markneedham"; yield "scotthanselman"; yield "codethinked"; yield "haacked"; yield "Iserializable" }; CreateGraphs feeds ---- That works fine although there is a noticeable pause as each of these is loaded into the browser one after the other. One way to get around this is to make use of the 'Async.Parallel' function which converts a sequence of asynchronous computations into a single asynchronous computation which can execute all of the individual asynchronous computations. I initially got confused here and thought that passing a sequence of asynchronous computations to 'Async.Parallel' actually executed them but as I learnt you actually need to pass the result to one of the functions which actually runs the asynchronous computations. We don't need to change our function too much to achieve this: [source,ocaml] ---- let CreateGraphsParallel (feeds:seq<string>) = feeds |> Seq.map (fun f -> ShowFeedBurnerStats f "2009-03-01" "2009-07-25") |> Seq.map (fun uri -> launchInFirefox uri.AbsoluteUri ) |> Async.Parallel |> Async.RunSynchronously ---- [source,ocaml] ---- let feeds = seq { yield "markneedham"; yield "scotthanselman"; yield "codethinked"; yield "haacked"; yield "Iserializable" }; CreateGraphsParallel feeds ---- The graphs seem to get launched in FireFox much more quickly using this method and there is no real pause, just a flurry of new tabs being launched as each of the graphs is opened. I thought the 'Async.Start' function might allow us to achieve a similar result as the API comments state 'Start the asynchronous computation in the thread pool. Do not await its result' but I saw similar behaviour to when I used 'Async.RunSynchronously' [source,ocaml] ---- let CreateGraphsSpawn (feeds:seq<string>) = feeds |> Seq.map (fun f -> ShowFeedBurnerStats f "2009-03-01" "2009-07-25") |> Seq.map (fun uri -> launchInFirefox uri.AbsoluteUri ) |> Seq.iter(Async.Start) ---- [source,ocaml] ---- let feeds = seq { yield "markneedham"; yield "scotthanselman"; yield "codethinked"; yield "haacked"; yield "Iserializable" }; CreateGraphsSpawn feeds ---- Out of these 'Async.Parallel' seems to be the best function to use to get quick feedback from multiple computations. There are also a few other functions that I haven't tried out yet and I'm intrigued as to whether we would achieve good results by making use of http://www.markhneedham.com/blog/2009/05/30/f-testing-asynchronous-calls-to-mailboxprocessor/[MailBoxProcessors] or not.
null
null
[ 0.00014219785225577652, -0.015696240589022636, 0.006055239588022232, 0.00825783796608448, 0.07427249848842621, 0.022468741983175278, 0.018898682668805122, 0.044114645570516586, 0.013670451939105988, -0.019880494102835655, -0.008743983693420887, -0.00019447393424343318, -0.07512177526950836, -0.0013152968604117632, 0.020185545086860657, 0.06638874858617783, 0.09589127451181412, -0.02452189475297928, 0.04758970066905022, -0.0037925816141068935, 0.02738334983587265, 0.048247624188661575, 0.009902969002723694, 0.04349880665540695, 0.02377467043697834, 0.003955382388085127, 0.0020343875512480736, -0.0234287790954113, -0.05509534850716591, 0.008533011190593243, 0.0173238106071949, 0.021448269486427307, 0.015095999464392662, -0.04138354957103729, 0.026871487498283386, -0.0076676057651638985, 0.006367017515003681, 0.04374180734157562, -0.01320914551615715, 0.04748097434639931, -0.05829712375998497, 0.02505721151828766, -0.016018548980355263, -0.00209490186534822, -0.045185163617134094, 0.026813339442014694, -0.010691375471651554, 0.0063034165650606155, 0.013731922954320908, -0.01575012505054474, -0.07365426421165466, 0.02289848029613495, 0.019765114411711693, -0.011072167195379734, -0.008401737548410892, 0.03055674582719803, 0.012948978692293167, -0.05714504420757294, 0.021960489451885223, -0.02437109686434269, 0.026843659579753876, -0.02077588066458702, 0.01092130970209837, 0.048567816615104675, 0.018272321671247482, -0.02214580401778221, 0.004507390316575766, 0.06645523756742477, -0.0426066517829895, -0.015374405309557915, -0.011739430017769337, 0.032529108226299286, -0.04703926667571068, -0.011013236828148365, 0.027102801948785782, -0.047928113490343094, 0.02164788730442524, 0.04646458476781845, 0.034033991396427155, 0.06587708741426468, 0.00434785196557641, 0.03654251992702484, 0.050959933549165726, 0.032656412571668625, -0.013986301608383656, -0.005489627830684185, -0.0153829799965024, 0.005414202809333801, -0.032398153096437454, 0.043027035892009735, 0.023312371224164963, -0.08845982700586319, 0.0022080985363572836, 0.018140453845262527, 0.006024729460477829, 0.022864945232868195, 0.0049088927917182446, 0.011267032474279404, 0.00024510215735062957, -0.021025437861680984, -0.04287342727184296, -0.032616086304187775, 0.0019485094817355275, 0.013862255960702896, -0.06159179285168648, -0.02225593850016594, -0.038275059312582016, -0.03200540319085121, 0.015141807496547699, 0.0038940072990953922, -0.01167477946728468, 0.035837121307849884, -0.021013107150793076, 0.0060936398804187775, -0.08494623750448227, 0.0545467846095562, 0.012350100092589855, -0.01802118867635727, 0.00933283381164074, 0.0045766523107886314, 0.053911302238702774, 0.025062547996640205, -0.01816611737012863, 0.08006139099597931, 0.023929698392748833, 0.03959135338664055, 0.0033934072125703096, 0.04686344414949417, -0.011731152422726154, -0.051436807960271835, -0.023103242740035057, 0.06529882550239563, -0.015415603294968605, -0.013055198825895786, -0.006521157920360565, 0.007119153626263142, -0.006608354859054089, 0.0019215743523091078, 0.04639139026403427, 0.048890937119722366, -0.007744657341390848, -0.035188447684049606, 0.0073221176862716675, -0.03646039217710495, 0.02423514612019062, -0.005605935584753752, -0.03992457687854767, -0.029045162722468376, -0.03093397617340088, 0.014842146076261997, 0.024437636137008667, 0.027306530624628067, 0.04263622686266899, -0.03897983580827713, 0.007946535013616085, 0.07335391640663147, 0.042571958154439926, 0.008835050277411938, -0.034843090921640396, 0.002369912574067712, 0.0617939718067646, 0.051010843366384506, 0.0019071081187576056, 0.047237999737262726, 0.0009613014408387244, 0.004337079357355833, 0.018492838367819786, 0.011423153802752495, -0.044666361063718796, -0.005784288048744202, -0.05684877187013626, -0.001241440186277032, 0.06726153939962387, -0.028746934607625008, 0.021834425628185272, 0.0588054433465004, 0.08637737482786179, -0.01314428262412548, 0.0320272371172905, -0.013429565355181694, -0.06437963992357254, 0.02772103250026703, 0.01901676133275032, 0.02361009269952774, 0.001958952285349369, 0.004018126055598259, 0.07187394797801971, 0.008747529238462448, 0.00908125750720501, 0.022923601791262627, -0.06194676458835602, -0.08777398616075516, -0.04467032477259636, -0.01150866411626339, 0.0661303922533989, -0.06407101452350616, -0.004873261321336031, 0.03748298063874245, 0.021721037104725838, 0.05359022691845894, 0.0182123351842165, -0.03598923608660698, 0.0313551090657711, -0.04950205981731415, -0.08688344061374664, 0.03925714269280434, 0.03917178511619568, -0.02854705974459648, -0.04741070047020912, 0.028935404494404793, -0.03134380653500557, 0.02939077466726303, 0.056228794157505035, 0.010697714053094387, 0.05423300340771675, 0.03353323042392731, 0.021230895072221756, -0.05280403047800064, 0.008768461644649506, -0.04340123012661934, 0.01798943057656288, -0.016772471368312836, -0.024825753644108772, 0.0028704614378511906, 0.009807738475501537, 0.10591817647218704, 0.07527405768632889, -0.048011183738708496, -0.054787542670965195, 0.008309844881296158, 0.01339365728199482, -0.02450757846236229, -0.0004101702361367643, -0.01735091395676136, -0.01310800015926361, 0.004562755580991507, -0.004401056095957756, 0.025496449321508408, -0.004804240074008703, -0.04923487454652786, 0.040242716670036316, 0.055086180567741394, 0.0070309825241565704, 0.056977976113557816, -0.02190856635570526, -0.05231168493628502, 0.02166840434074402, -0.000036782359529752284, -0.02064657397568226, 0.01548632699996233, 0.03665018826723099, 0.0005100094131194055, 0.062070511281490326, -0.03489730879664421, -0.04350205138325691, -0.01571003347635269, -0.03449167683720589, 0.03823896870017052, 0.03472073748707771, 0.06191477179527283, -0.002206717152148485, 0.017858749255537987, -0.01801684871315956, 0.01817248947918415, 0.008083537220954895, -0.05048777163028717, -0.03990998491644859, -0.0017386781983077526, 0.027792027220129967, 0.05055484548211098, -0.00531425978988409, -0.032111756503582, 0.037136949598789215, 0.016322225332260132, -0.013303852640092373, -0.0007114566396921873, 0.024829532951116562, 0.004296013154089451, -0.05737410858273506, -0.049797989428043365, -0.030077040195465088, 0.045345280319452286, -0.017213907092809677, -0.024886298924684525, -0.012951689772307873, -0.039525795727968216, 0.05406106635928154, -0.06696297228336334, -0.05613207817077637, -0.009273744188249111, 0.00940321572124958, 0.01770791970193386, 0.01714235357940197, 0.025373678654432297, 0.04057139903306961, 0.018959952518343925, 0.013224453665316105, -0.00584853021427989, -0.016811784356832504, 0.03389193117618561, -0.0006106249056756496, 0.004163757432252169, 0.05512004718184471, -0.009883470833301544, -0.019477635622024536, -0.07233935594558716, 0.0008475614595226943, -0.039281006902456284, -0.26592254638671875, 0.0448254756629467, 0.006596204824745655, -0.03668428957462311, 0.01657148264348507, -0.017409851774573326, 0.029512856155633926, -0.048406556248664856, -0.02155468426644802, 0.018516527488827705, -0.017966439947485924, -0.01613604836165905, -0.038593921810388565, 0.04687026888132095, 0.007540041580796242, -0.0076225330121815205, -0.018009502440690994, -0.07318919897079468, -0.0006929213413968682, 0.008521489799022675, 0.017520172521471977, -0.0516296848654747, 0.004245122894644737, 0.02693597972393036, 0.0568879134953022, 0.017892470583319664, -0.07440229505300522, 0.04261458292603493, -0.01215747743844986, -0.008887697011232376, 0.00383550813421607, -0.006716773845255375, 0.027180908247828484, -0.010948636569082737, -0.002915648277848959, -0.019857145845890045, 0.0321519710123539, 0.0006635888712480664, 0.04328201338648796, -0.0030462611466646194, -0.023280324414372444, -0.05174803361296654, -0.01560872234404087, -0.007417804561555386, 0.06946828216314316, -0.016675123944878578, -0.07224329560995102, -0.005339380819350481, -0.04130013287067413, 0.06852628290653229, -0.037295155227184296, -0.05969906970858574, -0.03990449011325836, 0.0383603535592556, -0.006205423269420862, -0.02909669652581215, -0.014123708941042423, -0.008182208985090256, -0.013955014757812023, -0.041797883808612823, -0.00560027128085494, -0.018709959462285042, -0.013249902054667473, -0.035395849496126175, -0.01298541110008955, -0.05920666456222534, -0.05837041139602661, -0.007187549490481615, 0.0652308240532875, 0.023383643478155136, -0.014511789195239544, -0.011765584349632263, 0.0025937717873603106, -0.12738662958145142, -0.006867613177746534, -0.023317161947488785, -0.044492851942777634, 0.012997355312108994, -0.00023503144620917737, 0.05517522618174553, -0.03624558821320534, -0.048243213444948196, 0.02438962273299694, 0.0013207970187067986, 0.03719404339790344, -0.00489772716537118, -0.001453251694329083, -0.002553835278376937, 0.0013556882040575147, -0.013645932078361511, 0.08210466057062149, -0.012943126261234283, 0.01871013455092907, -0.0002427523722872138, 0.011373342014849186, 0.022351812571287155, 0.03655879199504852, 0.005166876595467329, 0.030169881880283356, 0.013194275088608265, 0.043941229581832886, -0.049625638872385025, -0.015870561823248863, -0.04348619282245636, 0.00003639043643488549, 0.00476542254909873, -0.02439255081117153, 0.009962635114789009, 0.05613965168595314, 0.022849304601550102, -0.02437703125178814, 0.002686508232727647, 0.02837579883635044, -0.0750795304775238, -0.03784928843379021, -0.012581226415932178, 0.014559919945895672, 0.0038597260136157274, 0.019823387265205383, -0.024609388783574104, -0.07757002860307693, 0.017980538308620453, 0.013989868573844433, -0.018635079264640808, -0.07090213149785995, -0.03848430886864662, -0.005830175243318081, -0.01884063333272934, 0.0234285369515419, 0.04992512986063957, -0.009260527789592743, 0.01914862170815468, -0.0026570656336843967, -0.02439594268798828, 0.018656175583600998, -0.03262155503034592, -0.02119121514260769, -0.06324262917041779, -0.0002515031083021313, 0.008224979043006897, -0.008500172756612301, 0.010241524316370487, 0.007808640133589506, 0.00883178785443306, 0.047512803226709366, 0.054155588150024414, 0.002498532412573695, 0.013260806910693645, -0.006526309065520763, 0.02834482304751873, 0.009926917031407356, -0.037358298897743225, 0.007942902855575085, -0.03591861203312874, -0.03842944651842117, -0.006815759465098381, 0.03517528623342514, -0.02641189843416214, -0.04148036986589432, -0.046098798513412476, 0.03214501217007637, -0.06144937500357628, -0.011826596222817898, -0.03700658679008484, -0.012895695865154266, 0.032956261187791824, 0.006953733507543802, 0.054763708263635635, -0.002075592754408717, -0.022077038884162903, -0.014230889268219471, 0.008537141606211662, -0.03314092755317688, 0.03457006439566612, 0.014282047748565674, 0.01496090367436409, 0.0016810705419629812, 0.008321493864059448, 0.025199979543685913, 0.036538541316986084, 0.006686833221465349, -0.029694708064198494, 0.015675680711865425, 0.0328010618686676, 0.04589659348130226, 0.01435048133134842, -0.009645039215683937, -0.012354671023786068, -0.0433800034224987, 0.020141776651144028, -0.024120159447193146, 0.006538146175444126, -0.03147315979003906, 0.006771399639546871, -0.002149570267647505, -0.07240329682826996, 0.03895188122987747, 0.0006220656796358526, 0.03705063462257385, -0.02850458212196827, -0.0444272942841053, 0.004788051825016737, -0.02120123617351055, 0.035632696002721786, 0.056408971548080444, -0.04936368390917778, 0.011602646671235561, -0.007542913779616356, 0.05014348402619362, 0.009094016626477242, 0.03129785880446434, -0.052760351449251175, -0.008225489407777786, -0.00309997471049428, 0.013907546177506447, -0.006208948791027069, -0.007738327607512474, -0.026055241003632545, 0.013491746969521046, -0.0004684053419623524, -0.01733129471540451, -0.0231268759816885, -0.009033218957483768, -0.026242252439260483, -0.01777380146086216, 0.017597537487745285, -0.036468666046857834, -0.04209103062748909, 0.045389141887426376, -0.026539353653788567, 0.0083400784060359, -0.04390813782811165, 0.03884444385766983, 0.01966777816414833, -0.021946368739008904, 0.006651270668953657, -0.07519278675317764, -0.008044293150305748, -0.02411002479493618, 0.052212122827768326, -0.01102879736572504, -0.004356703255325556, -0.015977591276168823, -0.001542520709335804, -0.01370967086404562, -0.010938804596662521, -0.009486379101872444, -0.02110055275261402, -0.004106384702026844, 0.04570632427930832, -0.00834919698536396, 0.03765513747930527, -0.00453999824821949, -0.0035926932469010353, 0.03577923774719238, -0.07707204669713974, -0.0294045303016901, 0.009503125213086605, -0.05641523003578186, 0.01626870594918728, 0.007472632452845573, -0.01713225245475769, -0.0985875204205513, 0.061647482216358185, 0.04400881752371788, 0.03700423613190651, 0.06107628718018532, -0.012321725487709045, 0.01682705618441105, 0.01000148057937622, -0.023373054340481758, -0.07570518553256989, -0.002825730247423053, 0.04030677303671837, 0.04099729657173157, -0.007494685705751181, 0.019433703273534775, -0.0046866475604474545, 0.054939623922109604, -0.04894375056028366, -0.019733598455786705, 0.03774288296699524, -0.00750733120366931, -0.019610466435551643, 0.010471361689269543, -0.05608732998371124, 0.03502463176846504, 0.023068690672516823, -0.029728325083851814, -0.03453924134373665, -0.009950492531061172, 0.053235046565532684, -0.025668645277619362, 0.01334238052368164, -0.03423738107085228, -0.05143264681100845, 0.06464271247386932, 0.00859326496720314, -0.019633885473012924, 0.07764367014169693, -0.014599921181797981, 0.018772365525364876, 0.03599381819367409, 0.013786563649773598, -0.013822986744344234, -0.012228940613567829, -0.004007371142506599, -0.04117961227893829, 0.028469009324908257, 0.01358331274241209, -0.025293421000242233, -0.058662280440330505, 0.06979604065418243, 0.003541087033227086, -0.015862135216593742, -0.057823095470666885, 0.000879194587469101, -0.03386295959353447, -0.00931775476783514, -0.01676328293979168, 0.029108062386512756, -0.03349384292960167, 0.07290419191122055, -0.001995467348024249, 0.0001244997256435454, 0.07096214592456818, 0.0007754475227557123, 0.034010954201221466, -0.011667910031974316, 0.06362107396125793, 0.061598796397447586, 0.02885989099740982, -0.02791701816022396, 0.07658597826957703, -0.028022397309541702, -0.043304137885570526, -0.03664408624172211, -0.03650734946131706, -0.028450610116124153, -0.03972402960062027, 0.06413890421390533, 0.10345082730054855, -0.018217168748378754, 0.05315776541829109, -0.05230676382780075, -0.011609019711613655, -0.012973818928003311, 0.042702604085206985, 0.015208428725600243, 0.03871522843837738, -0.002020580228418112, 0.02024438977241516, -0.0004861520428676158, -0.04541637375950813, 0.040370725095272064, -0.07667194306850433, -0.018208708614110947, 0.02201271429657936, 0.003118122462183237, 0.021466679871082306, 0.004476350732147694, 0.024380823597311974, 0.05592488870024681, -0.02284994348883629, -0.0010908886324614286, 0.007409242447465658, -0.0034690070897340775, -0.0046956585720181465, -0.01337299682199955, -0.003667042823508382, 0.003003388876095414, -0.0040519204922020435, -0.015385936945676804, -0.042523499578237534, -0.027191663160920143, -0.023589033633470535, 0.019105058163404465, -0.041011858731508255, 0.03275986760854721, -0.011715700849890709, -0.04929286241531372, -0.04396696388721466, -0.03806787729263306, -0.04723813384771347, -0.054693128913640976, -0.059651974588632584, -0.01627826876938343, 0.01411038264632225, -0.0010164736304432154, -0.041403669863939285, -0.044456928968429565, 0.02129216305911541, 0.00005844711631652899, 0.014917956665158272, -0.020356500521302223, -0.049154218286275864, 0.03027212992310524, -0.012406093068420887, 0.03789662569761276, 0.0344206728041172, 0.043845485895872116, -0.02643640898168087, -0.024979081004858017, -0.05404714494943619, -0.005057271104305983, 0.022088587284088135, 0.014534469693899155, 0.01783873699605465, -0.07885641604661942, 0.03409498929977417, -0.008932007476687431, -0.0010917175095528364, -0.05386925861239433, 0.02438792958855629, 0.028118357062339783, -0.009255233220756054, 0.05246305838227272, -0.0522208996117115, 0.004959762562066317, -0.08088493347167969, -0.0041335211135447025, 0.014617561362683773, 0.007831880822777748, 0.046580854803323746, -0.04009859636425972, 0.06570886820554733, 0.007218273356556892, -0.008802564814686775, -0.01913350820541382, -0.015441411174833775, -0.020988449454307556, 0.030673278495669365, 0.0026233892422169447, -0.05145571753382683, -0.02578669600188732, -0.05895066633820534, 0.0024226128589361906, 0.016093460842967033, -0.00028475094586610794, -0.023315012454986572, 0.026768412441015244, 0.025812603533267975, -0.08991754800081253, 0.04252699017524719, -0.02683941461145878, 0.0044161612167954445, 0.009679703041911125, -0.03727862983942032, 0.011774273589253426, 0.030803168192505836, 0.02565823309123516, -0.01624143123626709, 0.011746043339371681, -0.027262777090072632, -0.04093891754746437, -0.0055896746926009655, 0.014891614206135273, 0.047063808888196945, -0.008884820155799389, 0.034728553146123886 ]
[ -0.09110894799232483, 0.004938310012221336, -0.02805236540734768, -0.02437613159418106, 0.0459517277777195, -0.012119884602725506, -0.04177389293909073, 0.02461744286119938, -0.0007755737169645727, -0.026145007461309433, -0.0047140708193182945, -0.018384575843811035, -0.0277917068451643, 0.012506097555160522, 0.06268735975027084, 0.009233085438609123, -0.0379013754427433, -0.07201861590147018, -0.03841361403465271, 0.026199640706181526, 0.02437976375222206, -0.0484452098608017, -0.07839811593294144, -0.06359687447547913, 0.011648416519165039, 0.04714534431695938, 0.028659919276833534, -0.051382794976234436, -0.018726060166954994, -0.17600354552268982, 0.014952626079320908, -0.022014057263731956, 0.005551750306040049, -0.03231825307011604, -0.0248654056340456, 0.0007485758396796882, 0.05932571738958359, 0.04036412388086319, -0.014316602610051632, 0.04769805446267128, 0.01854187436401844, 0.0039869570173323154, -0.08095768839120865, -0.013690181076526642, 0.03270703926682472, -0.02896341308951378, -0.034087806940078735, -0.02560105361044407, -0.009739167056977749, 0.03448303043842316, -0.04979296401143074, -0.013966456055641174, 0.012389632873237133, -0.03960851579904556, 0.0063942777924239635, 0.025472436100244522, 0.01582157611846924, 0.0382205955684185, 0.03216579556465149, 0.04772169888019562, -0.006583629176020622, -0.004252905026078224, -0.1487257480621338, 0.11487274616956711, 0.05226455256342888, 0.04409978166222572, -0.012696568854153156, -0.05359988287091255, -0.0028881998732686043, 0.09044439345598221, -0.0011579717975109816, -0.017724452540278435, -0.02301659621298313, 0.038856033235788345, 0.02008179947733879, -0.017826590687036514, 0.01792820356786251, 0.05124934762716293, 0.029373103752732277, -0.0340505912899971, -0.0512765608727932, -0.023745959624648094, -0.028239252045750618, -0.010623568668961525, -0.02992909774184227, 0.006261645816266537, -0.006137051619589329, 0.03179903328418732, 0.035624463111162186, 0.046226806938648224, 0.009146038442850113, -0.019445329904556274, 0.0602777823805809, -0.022836335003376007, -0.06307470798492432, -0.02132754772901535, 0.022917233407497406, 0.021734366193413734, -0.04062918573617935, 0.36602073907852173, -0.011294342577457428, -0.00596166355535388, 0.053823262453079224, 0.03867876157164574, -0.003075212240219116, -0.0015074695693328977, 0.0334840789437294, -0.03133796527981758, -0.02388821728527546, -0.022835075855255127, 0.014077180996537209, 0.009827936999499798, 0.06742359697818756, -0.06951556354761124, 0.022346612066030502, 0.04040868207812309, -0.0009176776511594653, -0.011228375136852264, -0.002355479169636965, 0.04307889565825462, 0.030428241938352585, 0.018317602574825287, 0.019420834258198738, 0.01747368648648262, 0.0339411124587059, 0.006305214948952198, 0.03783147409558296, 0.060996562242507935, 0.006904391571879387, 0.003996613901108503, 0.06001892313361168, -0.018177084624767303, -0.020223446190357208, -0.01063645351678133, 0.015478040091693401, 0.04029073938727379, 0.030434848740696907, -0.05053170770406723, -0.004377848468720913, 0.03926154226064682, -0.003092111088335514, -0.009812965989112854, 0.06062254309654236, -0.014529114589095116, 0.011291198432445526, 0.1277928352355957, 0.039151791483163834, -0.013847433030605316, -0.051460638642311096, -0.04157991707324982, -0.013869350776076317, 0.02983078546822071, -0.0017427853308618069, -0.07182963192462921, 0.020102575421333313, 0.06060696765780449, 0.06246250122785568, 0.0004926499095745385, -0.055047906935214996, -0.022244451567530632, -0.05049416422843933, -0.028520243242383003, -0.022360116243362427, 0.004260163754224777, 0.03540976345539093, -0.11342286318540573, -0.05677148327231407, 0.03797289729118347, -0.02935078740119934, -0.07899145781993866, -0.02784022130072117, 0.0040746694430708885, -0.052932582795619965, -0.08235517144203186, 0.04626333713531494, -0.018902095034718513, -0.017974821850657463, 0.011374645866453648, 0.051746465265750885, 0.008315745741128922, 0.010842781513929367, -0.02960575371980667, -0.01819786988198757, -0.008635806851089, -0.05524054914712906, -0.09028909355401993, -0.029453102499246597, -0.0016431218245998025, -0.020055778324604034, -0.02407788299024105, -0.02481732703745365, -0.06454508006572723, -0.036413274705410004, 0.06948568671941757, -0.03223612532019615, -0.023978764191269875, -0.00207561650313437, 0.000242132882704027, -0.007328614126890898, -0.04357201233506203, 0.03444291278719902, -0.00882934033870697, 0.006372236646711826, 0.05553804337978363, -0.03693857416510582, 0.04158038645982742, -0.0014211013913154602, -0.015542672015726566, 0.064405657351017, 0.002759621012955904, -0.048105619847774506, -0.01190599612891674, 0.01728637143969536, 0.03278914466500282, -0.01922057569026947, -0.0017131365602836013, -0.003732090350240469, 0.03519754856824875, -0.0048400843515992165, 0.031941238790750504, 0.026603011414408684, -0.010313868522644043, 0.0028273360803723335, -0.3479838967323303, -0.05051679536700249, -0.003813390387222171, -0.004719075746834278, 0.018868835642933846, -0.053237345069646835, -0.018382523208856583, -0.009666104800999165, -0.01919286511838436, 0.013198137283325195, 0.07032225281000137, 0.013675916939973831, 0.02472778595983982, -0.10109524428844452, -0.0008268964593298733, 0.012300269678235054, -0.022654462605714798, -0.072559654712677, -0.0069022043608129025, 0.021981293335556984, -0.018704257905483246, 0.001537777017802, -0.0401608981192112, -0.06272328644990921, -0.006211408413946629, -0.01591872237622738, 0.09543789178133011, 0.014253038913011551, 0.12437785416841507, -0.06868022680282593, 0.060630518943071365, -0.0010047133546322584, -0.018373481929302216, -0.06888632476329803, -0.029265394434332848, -0.013794083148241043, 0.0502401702105999, 0.0021227162797003984, 0.02998337522149086, -0.019041284918785095, -0.049234788864851, -0.0038711903616786003, -0.034528933465480804, -0.052217066287994385, -0.039565712213516235, 0.009669671766459942, -0.0003542770864441991, -0.04097631946206093, -0.04766567796468735, 0.08306605368852615, 0.020007748156785965, 0.0025555486790835857, 0.01373792253434658, 0.043424393981695175, 0.01108053233474493, -0.02390744909644127, -0.036884862929582596, 0.009853851050138474, -0.043569836765527725, -0.026676399633288383, 0.04044139012694359, 0.04459376633167267, 0.007562043610960245, -0.014901450835168362, 0.05183108150959015, 0.04941878840327263, -0.0038630361668765545, -0.014263121411204338, 0.04950772970914841, -0.022231848910450935, -0.03944714367389679, 0.08445486426353455, -0.013039223849773407, 0.023185525089502335, 0.05540652573108673, 0.03317021206021309, -0.006723739206790924, 0.01419755443930626, -0.014802121557295322, 0.0057253227569162846, 0.0317525714635849, -0.0015109075466170907, 0.04763691499829292, -0.017538554966449738, -0.038645800203084946, 0.010127348825335503, -0.04868393763899803, -0.021760353818535805, 0.03855331242084503, -0.0009580563637427986, -0.02363702282309532, 0.026462871581315994, -0.014603568241000175, -0.08272281289100647, 0.08034201711416245, -0.010371231473982334, -0.25907784700393677, -0.006066532805562019, 0.0835566520690918, 0.06337464600801468, 0.0010370855452492833, -0.0051496597006917, 0.04320043325424194, -0.04744113236665726, -0.01973942667245865, 0.05073589086532593, -0.029091378673911095, 0.07266141474246979, 0.00470575038343668, 0.019430918619036674, 0.020318906754255295, 0.01101270318031311, 0.03222223371267319, 0.03578290343284607, -0.02351193130016327, -0.01837949827313423, 0.04492704197764397, -0.013500003144145012, 0.16893430054187775, -0.00036003743298351765, 0.01928444392979145, 0.05120057985186577, -0.00627014460042119, 0.010998005978763103, 0.10917127132415771, 0.000058449673815630376, 0.03575233370065689, -0.015446905046701431, 0.019561154767870903, -0.009897184558212757, 0.05737478658556938, -0.09345025569200516, -0.011881212703883648, 0.10602918267250061, 0.024698054417967796, -0.008061042055487633, -0.0028953426517546177, 0.04930975288152695, 0.010047759860754013, -0.004096597898751497, 0.08271166682243347, -0.04496242105960846, -0.014784738421440125, -0.05422450602054596, -0.04448031261563301, -0.002482401439920068, -0.05975232645869255, -0.04745176434516907, 0.03500896319746971, -0.01239520963281393, -0.018217090517282486, 0.06956887990236282, 0.0574323944747448, -0.014872889034450054, -0.013860783539712429, 0.019387265667319298, 0.012484914623200893, -0.018547305837273598, 0.12105359882116318, 0.023693032562732697, 0.042850278317928314 ]
[ -0.002245689043775201, 0.015200462192296982, -0.04596785828471184, 0.05583116412162781, -0.0017410956788808107, -0.004379136487841606, -0.0072128791362047195, 0.011141985654830933, -0.0327882245182991, -0.032161980867385864, -0.03571265935897827, 0.00047174873179756105, -0.016912337392568588, -0.014413898810744286, 0.008762845769524574, -0.03679199516773224, -0.01113041304051876, -0.061235543340444565, 0.01478001568466425, -0.02720893733203411, -0.018926892429590225, 0.01757773570716381, 0.022666798904538155, 0.009480657987296581, -0.004314064048230648, -0.015803160145878792, -0.06263120472431183, -0.00876442901790142, 0.025691868737339973, -0.12538644671440125, 0.024563536047935486, -0.04452018812298775, -0.025223108008503914, 0.01505353394895792, 0.005726606119424105, -0.012952889315783978, 0.02349914237856865, 0.0007997460779733956, 0.0038132343906909227, 0.03924207389354706, 0.02262643352150917, -0.042706649750471115, -0.03974571451544762, 0.019823506474494934, -0.025782672688364983, -0.03734689950942993, -0.04557157680392265, -0.023233797401189804, -0.023607684299349785, 0.05237706005573273, -0.056958895176649094, 0.013067862950265408, -0.06226688623428345, 0.013595040887594223, 0.052914805710315704, -0.0030852812342345715, 0.011496524326503277, 0.012083967216312885, -0.012374755926430225, 0.0057251849211752415, 0.030257465317845345, -0.029464399442076683, -0.05988186597824097, -0.0057073854841291904, -0.01302376389503479, 0.0030709414277225733, -0.033871494233608246, -0.03129098191857338, -0.0029395620804280043, -0.007069755811244249, -0.010908064432442188, 0.02679595723748207, -0.012401771731674671, -0.00630898168310523, -0.0290676262229681, -0.01058591715991497, 0.028207531198859215, 0.006504171062260866, -0.04317915067076683, -0.026583218947052956, -0.019068486988544464, 0.001344414078630507, -0.0016867445083335042, 0.048716261982917786, 0.018422726541757584, 0.023529591038823128, -0.022299690172076225, 0.0010186167201027274, 0.02854316495358944, 0.031034061685204506, -0.059812046587467194, 0.024231618270277977, 0.00585958594456315, 0.04109422117471695, -0.06431952863931656, 0.012227787636220455, 0.018359439447522163, -0.007806878536939621, -0.023314211517572403, 0.813456654548645, -0.037612296640872955, 0.007544933818280697, 0.011715032160282135, 0.03946799784898758, 0.0010646746959537268, -0.017449308186769485, -0.0413714237511158, -0.00039197385194711387, -0.0003213469753973186, -0.05698484927415848, 0.019973762333393097, 0.044535644352436066, 0.03842997923493385, 0.010609420016407967, 0.044870052486658096, -0.008198287338018417, 0.0255354605615139, 0.003973427228629589, 0.008912866935133934, 0.04734461382031441, 0.041509903967380524, 0.04600067064166069, -0.0009391874191351235, 0.021873420104384422, 0.011282243765890598, -0.15779733657836914, 0.012825448997318745, -6.0629868031902724e-33, 0.0006350278854370117, -0.006340264808386564, 0.030148828402161598, 0.008250563405454159, 0.036341678351163864, 0.004227037075906992, 0.01663869246840477, 0.003265698440372944, -0.013502816669642925, -0.031799595803022385, 0.013298590667545795, -0.01077051367610693, -0.00258085411041975, -0.0277938824146986, 0.04373825713992119, -0.022460460662841797, 0.03686486557126045, 0.05668536573648453, 0.020686330273747444, -0.0019709609914571047, 0.0381724014878273, 0.03305485472083092, 0.019090469926595688, 0.011632660403847694, 0.0023360145278275013, 0.02145291492342949, -0.016474664211273193, 0.057465821504592896, -0.008490659296512604, -0.04118651524186134, -0.03804492950439453, 0.015407882630825043, -0.014094960875809193, -0.05063387379050255, 0.002230636542662978, -0.06183868646621704, -0.034188807010650635, -0.007779702544212341, -0.02225937508046627, -0.04141997918486595, -0.053593650460243225, 0.027125133201479912, -0.0162354689091444, -0.04332590103149414, -0.04256274178624153, -0.026615170761942863, -0.024441886693239212, 0.030345136299729347, 0.018920477479696274, 0.03884970024228096, 0.03955899924039841, -0.013190748170018196, 0.02369295433163643, -0.023425310850143433, -0.014266513288021088, 0.025954701006412506, 0.01726563647389412, -0.015134711749851704, -0.004142543766647577, 0.03267037123441696, 0.05036943033337593, -0.023164397105574608, -0.009146932512521744, -0.004340618848800659, -0.010789141990244389, -0.010634816251695156, 0.011716939508914948, 0.009853062219917774, -0.0019844602793455124, 0.0371781587600708, -0.05820070579648018, 0.03937678039073944, -0.025182148441672325, -0.03237663954496384, 0.026584187522530556, -0.03616144135594368, -0.01451824139803648, -0.03126366063952446, -0.03844461962580681, 0.024919306859374046, 0.01741287298500538, -0.04175383225083351, -0.0012402283027768135, -0.021182077005505562, -0.0014199295546859503, -0.004618899896740913, 0.020117003470659256, 0.017076745629310608, 0.017725776880979538, 0.044965893030166626, 0.003773999633267522, 0.0035489171277731657, -0.011792279779911041, 0.003732327837496996, -0.01410373393446207, 6.326276231939356e-33, -0.012472565285861492, -0.01775112748146057, -0.03077852725982666, 0.02092329040169716, 0.007957780733704567, -0.01930996961891651, 0.013530111871659756, 0.017141342163085938, -0.044934194535017014, 0.05358905717730522, -0.01673990488052368, 0.007306837942451239, -0.02028866484761238, 0.01963309943675995, 0.027525870129466057, -0.01620449312031269, 0.034727998077869415, -0.040844742208719254, 0.038183871656656265, -0.016425762325525284, -0.008007951080799103, -0.00098543637432158, -0.016577262431383133, -0.0021472517400979996, 0.05360608920454979, 0.05073339119553566, -0.0112216891720891, -0.013679536059498787, -0.00422901613637805, -0.025596100836992264, 0.00006987399683566764, -0.04658500850200653, -0.007295473478734493, -0.07419516891241074, 0.022548986598849297, 0.01843993179500103, -0.0057463147677481174, -0.009464945644140244, 0.047037165611982346, -0.02310752309858799, 0.02174266055226326, 0.018385276198387146, -0.029028037562966347, -0.0043566483072936535, 0.022177614271640778, 0.04502568393945694, -0.00877169705927372, 0.011119069531559944, -0.009879550896584988, 0.07317046821117401, 0.0030821263790130615, -0.0031893576961010695, -0.004981115460395813, 0.033621836453676224, -0.029243001714348793, -0.04749078303575516, 0.022592928260564804, 0.023884592577815056, -0.007812205236405134, -0.054702773690223694, 0.001884762430563569, -0.027907254174351692, 0.0008062112610787153, -0.00836917757987976, -0.006396384909749031, -0.01741422899067402, -0.009620037861168385, -0.015575876459479332, 0.016678886488080025, 0.036315299570560455, 0.001677506836131215, 0.02113080397248268, -0.028151478618383408, 0.05216288939118385, -0.008244023658335209, 0.0012785253347828984, 0.01638292521238327, 0.009508194401860237, -0.04606354981660843, 0.06307987868785858, 0.008877582848072052, 0.06450928002595901, 0.006425212603062391, 0.020864728838205338, -0.02031705714762211, 0.006258036475628614, -0.018943969160318375, 0.008018271066248417, 0.009692046791315079, -0.0202137753367424, 0.020364943891763687, -0.0056190514005720615, -0.005968902725726366, -0.0007880826015025377, 0.013891220092773438, -1.2268976057328018e-8, -0.06662427634000778, -0.012048598378896713, -0.032417479902505875, 0.025525540113449097, 0.0161378625780344, -0.012164768762886524, -0.003128980752080679, -0.022250711917877197, 0.015097313560545444, 0.002195423934608698, 0.05318734049797058, -0.0020098895765841007, 0.058174096047878265, 0.018341179937124252, -0.011962645687162876, -0.06077837944030762, 0.027320560067892075, -0.03170851245522499, 0.04903770983219147, 0.002797673689201474, 0.01664714701473713, 0.0031143578235059977, -0.004938255529850721, 0.021395506337285042, -0.005837240722030401, -0.021675067022442818, 0.019681178033351898, -0.052586425095796585, 0.005868770647794008, 0.02440711110830307, -0.007068050559610128, -0.043989986181259155, 0.0442303866147995, 0.02263309247791767, -0.037781890481710434, -0.04113532602787018, 0.015052150003612041, 0.011219222098588943, 0.006371202412992716, 0.011329819448292255, 0.04736122488975525, -0.009053146466612816, 0.025451188907027245, -0.025324368849396706, -0.024968350306153297, -0.012804051861166954, -0.023376338183879852, 0.01996544748544693, 0.03709555044770241, -0.02732321061193943, 0.0034431186504662037, -0.0033878053072839975, 0.0466400645673275, 0.009680666960775852, 0.0067014750093221664, 0.00474800867959857, 0.019733304157853127, -0.03473830223083496, -0.0058915154077112675, 0.03510883077979088, 0.028548065572977066, -0.005833142902702093, -0.04056147485971451, -0.014295482076704502 ]
f-playing-around-with-asynchronous-workflows
https://markhneedham.com/blog/2009/07/26/f-playing-around-with-asynchronous-workflows
false
2009-07-21 23:10:20
Good Lazy and Bad Lazy
[ "software-development" ]
[ "Software Development" ]
One of the things I remember picking up from reading http://www.pragprog.com/the-pragmatic-programmer[The Pragmatic Programmer] is that developers need to be lazy in order to find better ways to solve problems and I came across a post by Philipp Lensson from a few years ago where he also suggests http://blogoscoped.com/archive/2005-08-24-n14.html[good developers are lazy and dumb]. Something which I've come to realise more recently is that it's not necessarily true that being lazy as a developer is always a good thing - it depends in what way you are being lazy because there are certainly good and bad ways in which you can express your laziness! I think bad laziness is often linked to the *path of least resistance* and is where we just take the easiest route to solving our problem without necessarily considering whether that solution fits in with the way the code is being written or the problems that we might have later as a result of our approach. I've noticed (by doing most of them!) that there are some fairly common ways that we can fall into this trap: * Adding setters to a class when we have some extra data that we want to put inside that class instead of taking the time to either change the constructor to take in the new data or considering if we now need to create a new class to better represent the system. The problem here is that we end up with objects that may be half initialised which makes them http://www.markhneedham.com/blog/2009/05/23/coding-setters-reduce-trust/[really difficult to work with later on]. * Wanting to change some code which has problems with it and instead of following the http://www.informit.com/articles/article.aspx?p=1235624&seqNum=6[boy scout rule] and leaving it in a better state than we found it in we hack in our fix and then get out of there as quickly as possible. A colleague of mine likens this to fixing a broken window with duct tape instead of properly fixing the underlying problem. * http://iancartwright.com/blog/2009/04/test-code-is-just-code.html[Copying and pasting test code] instead of writing each one individually and noticing any duplication from this process and then taking steps to remove this. I'm still unsure what the best way is to write tests which are http://www.markhneedham.com/blog/2009/04/13/tdd-balancing-dryness-and-readability/[both readable and remove duplication] but copying and pasting entire tests is certainly not the way to go. * Writing tests which make use of expectations and then not calling the 'Verify' method to ensure that those expectations are called - the test is now not even testing what it's supposed to be testing I'm sure there are more but these are just some of the ones that come to mind. In most of these cases the laziness actually comes from not really spending a lot of time thinking about what we are actually trying to do - we just picked the simplest approach that came to mind. On the other hand if we take the time to think when we have problems to solve we can still come up with ways to be lazy but do so in a positive way. I think the key to good lazy is that we get *longer term benefits from this laziness* as compared to bad lazy where we might get some immediate benefits but will probably suffer later on as a result of that. * Automating the startup of a service that our build depends on because we don't want to have to remember to keep turning it on by ourself manually. * Extracting common code out into methods so that we don't have to keep duplicating the same code. This approach is also useful for helping to reduce the complexity we need to deal with in each method which allows us pay less attention when browsing the code. * Extracting small classes when we see a class getting too big so that we can test the logic more easily without having to write dozens of lines of code just to get the class into a state where assertions can be made against it. * Writing automated tests to get http://www.markhneedham.com/blog/2009/07/20/coding-quick-feedback/[quick feedback] so that we don't have to launch the application and then click through all the screens to get to the place that we want to test. Again I'm sure there are more of these and I'm still striving to make sure that when I'm lazy it's in the second category rather than the first.
null
null
[ 0.02000393532216549, -0.003854745998978615, -0.002766126301139593, 0.04020664840936661, 0.07449812442064285, 0.0257883183658123, 0.022425075992941856, 0.05087221413850784, -0.0025998197961598635, -0.03208105266094208, -0.035186767578125, -0.0015515296254307032, -0.07076313346624374, -0.011523150838911533, -0.032926443964242935, 0.07350444793701172, 0.06750063598155975, -0.024507733061909676, 0.020806748420000076, 0.00502261845394969, 0.025318026542663574, 0.07715047895908356, -0.0030352312605828047, 0.020051660016179085, 0.03160744160413742, 0.02654663659632206, -0.007948143407702446, -0.0015345007413998246, -0.08348596841096878, -0.010848155245184898, 0.06425926834344864, 0.0031966441310942173, 0.022226642817258835, -0.009458520449697971, 0.001321370480582118, -0.01856585033237934, -0.008358209393918514, 0.03358864784240723, -0.008925355970859528, 0.027302712202072144, -0.05712558329105377, 0.04197901114821434, 0.0023508192971348763, 0.013104941695928574, -0.03634023666381836, -0.011495515704154968, -0.02772381156682968, 0.02212805673480034, -0.014245012775063515, -0.013769506476819515, -0.06299051642417908, 0.042954593896865845, 0.00787823460996151, 0.01931583695113659, -0.02851730026304722, 0.04599611833691597, 0.02663995511829853, -0.07266639173030853, 0.015912245959043503, -0.04806850105524063, -0.0010592159815132618, -0.008269199170172215, -0.007074072025716305, 0.03892825171351433, 0.023806989192962646, -0.0008476864313706756, -0.008157948032021523, 0.03176913410425186, -0.036762624979019165, -0.009561818093061447, -0.013890926726162434, 0.007431620731949806, -0.03590821102261543, -0.010922989808022976, 0.00600762153044343, -0.0483272410929203, -0.01920541748404503, 0.06370898336172104, 0.0036155874840915203, 0.04273836687207222, -0.026163192465901375, 0.03467001020908356, 0.01650923304259777, 0.036598753184080124, -0.008285924792289734, -0.040716346353292465, 0.004878511186689138, -0.014822651632130146, -0.0511515736579895, 0.06433198601007462, 0.01828448660671711, -0.051944151520729065, 0.03214883431792259, 0.047827914357185364, -0.00435673538595438, 0.02570345811545849, 0.02253129705786705, 0.0245363786816597, 0.01005546934902668, 0.00017315444711130112, -0.030688218772411346, -0.015052702277898788, 0.028398368507623672, -0.006170310545712709, -0.054715387523174286, -0.015142113901674747, -0.0073806592263281345, -0.02206873893737793, -0.02301151677966118, 0.014733750373125076, -0.03204122930765152, 0.013098595663905144, -0.031674161553382874, -0.010056252591311932, -0.07787702232599258, 0.06390473246574402, -0.009687311947345734, -0.039551105350255966, -0.020865069702267647, 0.004335447214543819, 0.03238603472709656, 0.01298679318279028, 0.004707912914454937, 0.07393581420183182, -0.004581171553581953, 0.022689752280712128, -0.013604355044662952, 0.056605104357004166, -0.00532160559669137, -0.05121146887540817, -0.00012949929805472493, 0.06851492077112198, -0.031110772863030434, -0.011062349192798138, 0.004152665380388498, 0.001470108749344945, 0.0013237809762358665, 0.014436064288020134, 0.014984138309955597, 0.05519884452223778, -0.024103716015815735, -0.02545473538339138, 0.027551021426916122, 0.026125438511371613, 0.0076544261537492275, 0.009286669082939625, 0.0011174151441082358, -0.014676311984658241, -0.027303321287035942, -0.013905026949942112, 0.011399750597774982, 0.0387737862765789, 0.02430628053843975, -0.027836399152874947, 0.020702365785837173, 0.08726899325847626, -0.016232158988714218, 0.011469446122646332, -0.014080539345741272, 0.021562207490205765, 0.038638558238744736, 0.029284697026014328, -0.021131251007318497, 0.039952151477336884, 0.026732219383120537, -0.004527505021542311, -0.00032810127595439553, 0.041531458497047424, 0.011914888396859169, 0.013092707842588425, -0.06943854689598083, -0.050049278885126114, 0.07329167425632477, -0.044316615909338, -0.037347856909036636, 0.03776153177022934, 0.0905422791838646, -0.004923016764223576, 0.031086377799510956, 0.0014487204607576132, -0.0676971897482872, 0.006783874239772558, -0.005771580617874861, 0.010941841639578342, 0.0018548020161688328, -0.02751816064119339, 0.06544981151819229, 0.011730168014764786, 0.012630303390324116, 0.02380981482565403, -0.0824282318353653, -0.07695149630308151, -0.014308718964457512, -0.021936781704425812, 0.0727432370185852, -0.01957431435585022, -0.026923436671495438, 0.07821760326623917, 0.01297474279999733, 0.06336326152086258, 0.020096108317375183, 0.0055588423274457455, 0.022673435509204865, -0.03212869539856911, -0.04017556831240654, 0.04282548651099205, 0.04625600203871727, 0.0027105463668704033, -0.06247938424348831, 0.01918656751513481, -0.015519428998231888, -0.016403457149863243, 0.04967612773180008, -0.022909140214323997, 0.03852979093790054, -0.0019444787176325917, 0.06330074369907379, -0.042772114276885986, 0.05489840358495712, -0.06779502332210541, -0.010652370750904083, -0.0036966498009860516, -0.023187674582004547, 0.010987448506057262, 0.008909229189157486, 0.10154108703136444, 0.06864253431558609, -0.04611355811357498, -0.02615099959075451, 0.01152840070426464, 0.03550400957465172, -0.043226659297943115, -0.0031477331649512053, -0.0006555918953381479, 0.0020462865941226482, -0.00844746083021164, -0.03146851435303688, -0.027826087549328804, 0.009650728665292263, -0.03506883606314659, 0.013755477033555508, 0.07177519053220749, -0.019888391718268394, 0.05819445103406906, 0.007561505772173405, -0.020917648449540138, -0.013390274718403816, 0.005345167126506567, -0.06222791224718094, 0.005353589076548815, 0.02144826576113701, -0.00725993188098073, 0.06144913658499718, -0.036172449588775635, -0.0285241287201643, -0.03650758042931557, -0.04909466952085495, -0.008752651512622833, 0.05104832351207733, 0.0735078677535057, -0.01699063368141651, 0.051501739770174026, 0.020096495747566223, 0.009979484602808952, 0.005110136233270168, -0.0607084296643734, -0.025167908519506454, -0.01467348262667656, -0.005579532124102116, 0.03403373062610626, -0.027486614882946014, 0.023785511031746864, 0.008511874824762344, -0.007118603214621544, -0.0308665968477726, -0.030382607132196426, 0.03576775640249252, 0.005926561541855335, -0.0276112649589777, -0.031686458736658096, -0.03795243427157402, 0.05185304209589958, -0.040776513516902924, -0.020915508270263672, -0.0001084136965801008, -0.07375766336917877, 0.05143069848418236, -0.0682016983628273, -0.04845048859715462, 0.017139503732323647, 0.041871462017297745, 0.04579377546906471, -0.02123645320534706, 0.026265636086463928, 0.08681303262710571, -0.00386158493347466, 0.013629288412630558, -0.03153403103351593, -0.0017104304861277342, 0.03776519373059273, 0.010156862437725067, 0.003084026277065277, 0.022895921021699905, 0.028801770880818367, 0.0004783127806149423, -0.03897767513990402, 0.05521100014448166, -0.011336375959217548, -0.2817859351634979, 0.05674954131245613, 0.016119660809636116, -0.05829115957021713, 0.002363495994359255, 0.009925358928740025, 0.007524848449975252, -0.05295385420322418, -0.012019511312246323, 0.024959834292531013, -0.048724401742219925, -0.04298757016658783, -0.03401787579059601, 0.06889331340789795, 0.001458365935832262, 0.01764618419110775, 0.015939608216285706, -0.026143815368413925, 0.0014036952052265406, 0.04098566994071007, -0.010603654198348522, -0.07203534245491028, -0.0010858005844056606, 0.031025825068354607, 0.04198646545410156, 0.04279516637325287, -0.09981687366962433, 0.06187891587615013, -0.0521322600543499, 0.0006631813594140112, -0.006107612978667021, 0.006571672856807709, 0.0048610856756567955, -0.03566601872444153, -0.030319999903440475, 0.001884868717752397, 0.028392132371664047, 0.013306433334946632, -0.015422295778989792, 0.03849289193749428, -0.015641622245311737, -0.019441647455096245, -0.02600010111927986, 0.016796313226222992, 0.06305000931024551, 0.009324252605438232, -0.08611863106489182, -0.011929643340408802, -0.027941083535552025, 0.07262033969163895, -0.03336076810956001, -0.05296850576996803, 0.013467458076775074, 0.03989133983850479, -0.003978084307163954, -0.02450369857251644, 0.01317486260086298, -0.017033321782946587, -0.05799723044037819, -0.05025874450802803, 0.015283468179404736, -0.01757722720503807, -0.01691465824842453, -0.041054192930459976, 0.009147495031356812, -0.0676598846912384, -0.05755731463432312, -0.019662437960505486, 0.07679075747728348, 0.04402316361665726, -0.048630356788635254, 0.018845275044441223, 0.009476730599999428, -0.11575882136821747, -0.010021386668086052, 0.0037276018410921097, -0.05014614760875702, -0.007625491824001074, 0.009136990644037724, 0.05199233442544937, -0.021727455779910088, -0.0643458440899849, 0.033103883266448975, 0.017137428745627403, 0.010588585399091244, -0.03490796312689781, 0.0321737639605999, 0.011837286874651909, -0.006727017927914858, 0.015618318691849709, 0.06321848928928375, -0.0035888219717890024, -0.031768303364515305, -0.03161467984318733, 0.040969882160425186, 0.016184309497475624, 0.027767013758420944, -0.02167358621954918, 0.009449111297726631, 0.034324049949645996, -0.014270780608057976, -0.05653272941708565, 0.036358792334795, 0.0074861906468868256, 0.00426855543628335, -0.021223723888397217, -0.05418150871992111, 0.029850129038095474, 0.03318219259381294, 0.0402282290160656, -0.009510463103652, -0.02777634561061859, -0.003381200833246112, -0.040681496262550354, -0.020841289311647415, -0.008488455787301064, 0.0120638906955719, 0.03513949364423752, -0.04485291615128517, -0.01770394667983055, -0.054834265261888504, 0.0023425070103257895, -0.013813686557114124, 0.015156159177422523, -0.06340545415878296, -0.019542057067155838, 0.007686982862651348, -0.04232220724225044, 0.03465308994054794, 0.025387946516275406, -0.027331452816724777, 0.0276486836373806, 0.012843227945268154, -0.06542102247476578, 0.0016865684883669019, -0.03260376676917076, -0.04690893366932869, -0.02741391584277153, 0.0075415330938994884, -0.013666437938809395, 0.0049125119112432, 0.008475163020193577, 0.013674218207597733, 0.020458143204450607, 0.04376417025923729, 0.005153586622327566, 0.041171394288539886, -0.0014967889292165637, 0.029251329600811005, 0.01794329844415188, -0.006253155879676342, -0.0815044566988945, 0.04212444648146629, -0.05216136947274208, -0.039084866642951965, -0.03320087119936943, 0.035471539944410324, -0.00536959245800972, -0.027811776846647263, -0.00915518868714571, 0.015947796404361725, -0.04329656437039375, -0.04160188511013985, -0.028122970834374428, 0.03720368817448616, 0.062009457498788834, 0.006188930012285709, 0.03210273012518883, -0.014837585389614105, -0.009245816618204117, 0.00697726896032691, 0.033229533582925797, -0.05937933921813965, 0.0045422823168337345, 0.01005133893340826, -0.020899003371596336, -0.002698130439966917, -0.009445170871913433, 0.02208445407450199, 0.023297274485230446, -0.010571393184363842, -0.013245589099824429, 0.009005307219922543, 0.015641730278730392, 0.05352940782904625, -0.009223670698702335, 0.0027196467854082584, -0.001438511535525322, -0.024521199986338615, -0.03626679629087448, -0.04497155919671059, -0.009194454178214073, 0.02399357408285141, 0.04421239346265793, -0.03640551120042801, -0.07946594059467316, 0.034348245710134506, 0.04050382226705551, 0.016357434913516045, 0.009113367646932602, -0.008116086013615131, -0.01026068814098835, -0.03665761277079582, 0.02074597217142582, 0.06513509154319763, -0.045464932918548584, 0.009448712691664696, -0.02415335178375244, 0.02258366346359253, -0.0017735236324369907, -0.019808616489171982, -0.030550990253686905, -0.015528140589594841, -0.015536569990217686, -0.0047285715118050575, -0.060883961617946625, -0.013562475331127644, -0.0022062279749661684, 0.002070594811812043, -0.0030282768420875072, -0.036433856934309006, -0.014343280345201492, -0.005217742174863815, -0.015131407417356968, -0.024260973557829857, 0.002017766935750842, -0.04619602859020233, -0.007286466658115387, 0.019383396953344345, -0.038979485630989075, 0.026474175974726677, -0.015317777171730995, 0.021968334913253784, 0.025288080796599388, -0.030751118436455727, -0.016476769000291824, -0.011489073745906353, 0.02403579279780388, 0.016283081844449043, 0.043683070689439774, -0.0007300195866264403, -0.03734108805656433, -0.022438950836658478, -0.006041856948286295, -0.028757674619555473, 0.013526787050068378, -0.053956057876348495, -0.019841916859149933, 0.036197859793901443, 0.05905506759881973, 0.028475072234869003, 0.025876495987176895, 0.005845272447913885, -0.014969468116760254, 0.046102311462163925, -0.07749264687299728, -0.047991517931222916, -0.028987133875489235, -0.06078152731060982, 0.005200008396059275, 0.005895513575524092, 0.03325629234313965, -0.051538318395614624, 0.041726626455783844, 0.01398568693548441, 0.03244154527783394, 0.024537650868296623, -0.004458095412701368, 0.05024070665240288, -0.05400381237268448, 0.000427513150498271, -0.08863348513841629, 0.016574503853917122, 0.013942724093794823, 0.0205413606017828, -0.017719492316246033, -0.0214841328561306, -0.034167077392339706, 0.04191739857196808, -0.06284649670124054, -0.030706753954291344, 0.038974303752183914, 0.020298441872000694, -0.022600902244448662, 0.00812068022787571, -0.06751804798841476, 0.03623427823185921, 0.02904796414077282, -0.04183138161897659, -0.022012310102581978, -0.022507423534989357, 0.05362148582935333, 0.007628993596881628, 0.00978015549480915, -0.04748086258769035, 0.006420847959816456, 0.06370430439710617, 0.012797425501048565, -0.011748665943741798, 0.021712204441428185, -0.019063675776124, 0.03356117010116577, 0.05311835929751396, 0.015044104307889938, -0.02138414792716503, 0.002145519945770502, 0.0032031212467700243, -0.0559043325483799, 0.00802920013666153, 0.004308856558054686, -0.03153889626264572, -0.031887274235486984, 0.06758289784193039, 0.027988068759441376, -0.03084462322294712, -0.027958720922470093, 0.005845344625413418, -0.05903814733028412, -0.0032195134554058313, -0.014972387813031673, -0.014045843854546547, -0.03562384843826294, 0.051018863916397095, -0.007936688140034676, -0.02272484451532364, 0.06426043063402176, 0.012474928051233292, -0.0019111079163849354, -0.012265429832041264, 0.08128710836172104, 0.05993276089429855, 0.047593966126441956, 0.013465091586112976, 0.05345996469259262, -0.02379593625664711, -0.01772426627576351, 0.031241437420248985, -0.013659408316016197, -0.017387526109814644, -0.048197899013757706, 0.027494462206959724, 0.049910079687833786, -0.009250192902982235, 0.07046320289373398, -0.03281046450138092, -0.01120892446488142, 0.008162581361830235, 0.0286355372518301, 0.014107344672083855, 0.07748617231845856, -0.004962859209626913, 0.009345870465040207, -0.024523233994841576, -0.038397450000047684, 0.04462692141532898, -0.044382087886333466, -0.021773144602775574, 0.02194920927286148, 0.0025989399291574955, 0.012671767733991146, 0.018752528354525566, 0.009910820052027702, 0.06297438591718674, -0.042281243950128555, 0.020719066262245178, -0.01750336028635502, 0.05609357729554176, -0.003628962207585573, -0.00003474967525107786, -0.02932722680270672, -0.01733984798192978, -0.0000297649694402935, -0.013525408692657948, -0.013520739041268826, -0.021160706877708435, -0.008018622174859047, 0.05211491137742996, -0.014375310391187668, -0.015596170909702778, 0.025114869698882103, 0.006475117057561874, -0.03109091706573963, -0.061919454485177994, -0.024951646104454994, -0.032182544469833374, -0.03880155459046364, -0.030427079647779465, 0.010018839500844479, -0.004823643248528242, -0.017289094626903534, -0.021763155236840248, -0.01656312867999077, -0.01038004457950592, 0.035904984921216965, -0.04872192069888115, -0.032818906009197235, 0.029511917382478714, 0.014360859990119934, 0.03639297932386398, 0.011364423669874668, 0.04155571758747101, -0.00286956992931664, -0.017251694574952126, -0.021198146045207977, 0.004859440959990025, 0.01604447141289711, 0.0016940979985520244, -0.004475341644138098, -0.07716082036495209, 0.04850491136312485, 0.024340182542800903, -0.005160755477845669, -0.059063367545604706, 0.03826606646180153, 0.0026914889458566904, -0.0019014760619029403, 0.05468166619539261, -0.03239259123802185, 0.018660975620150566, -0.03835146874189377, 0.00846821814775467, 0.0020916408393532038, 0.02154660038650036, 0.03502628952264786, -0.029536079615354538, 0.0827011913061142, 0.016817592084407806, -0.020614316686987877, -0.03631170466542244, -0.00719602033495903, -0.025277845561504364, 0.003026697551831603, -0.03308100253343582, -0.03444119915366173, -0.016605975106358528, -0.056478794664144516, -0.03784685209393501, 0.024552801623940468, -0.02650955691933632, -0.03152642771601677, 0.054974764585494995, 0.02301981672644615, -0.05097423121333122, 0.0335286408662796, -0.03595396503806114, 0.045953914523124695, -0.02450891025364399, 0.009951534681022167, 0.03510277345776558, 0.007301327772438526, -0.004450847860425711, 0.013532551005482674, -0.0008892641635611653, -0.041672609746456146, 0.02161320485174656, 0.006546950899064541, 0.030166858807206154, 0.047108687460422516, 0.010564695112407207, 0.00006187074905028567 ]
[ -0.111910380423069, -0.009224130772054195, -0.018118763342499733, -0.02386339381337166, 0.026344971731305122, -0.035649631172418594, 0.0010677564423531294, 0.015931077301502228, -0.01101247314363718, -0.01149869803339243, -0.011336414143443108, -0.02055511623620987, -0.0010275146923959255, -0.010757941752672195, 0.08335994184017181, 0.02920202910900116, -0.02066938392817974, -0.027512095868587494, -0.0006603997899219394, -0.005335436202585697, 0.0178267490118742, -0.05214819684624672, -0.04378785565495491, -0.015756407752633095, 0.027108022943139076, 0.02216155081987381, 0.023914337158203125, -0.03880041092634201, 0.021434243768453598, -0.17242474853992462, 0.0047241151332855225, 0.01428184099495411, 0.056606538593769073, -0.03510004281997681, 0.006975806783884764, 0.052767425775527954, 0.023579806089401245, 0.05064820125699043, -0.032682694494724274, 0.029060138389468193, 0.002698712283745408, 0.03589438647031784, -0.04207593947649002, -0.039047762751579285, 0.02591719664633274, 0.0260914396494627, -0.001290463493205607, -0.06145269423723221, -0.03828536719083786, 0.008838139474391937, -0.09148808568716049, -0.02294488251209259, -0.029806992039084435, -0.036751456558704376, -0.005673757754266262, 0.002368483692407608, 0.032029617577791214, 0.062134478241205215, 0.008455694653093815, 0.01002109982073307, 0.012762199155986309, -0.04335787892341614, -0.10735444724559784, 0.07672450691461563, 0.0701799988746643, 0.04851040244102478, -0.036323174834251404, -0.03996134549379349, -0.03207883611321449, 0.10404390096664429, 0.021649209782481194, -0.011955884285271168, -0.016760356724262238, 0.029042202979326248, 0.02530641481280327, -0.00821863953024149, 0.0028778172563761473, 0.03395547345280647, 0.048280201852321625, -0.035480353981256485, -0.013891269452869892, -0.015465468168258667, -0.0026753530837595463, 0.006656087003648281, -0.04041041061282158, -0.004430204164236784, -0.022347088903188705, 0.045224111527204514, 0.05805077403783798, 0.025756094604730606, 0.04735102504491806, -0.013065805658698082, 0.05407389625906944, 0.00938386283814907, -0.05793064087629318, -0.013898973353207111, -0.014612049795687199, 0.030983567237854004, -0.07166630029678345, 0.4499606788158417, -0.053263142704963684, -0.016529321670532227, 0.08132348209619522, 0.03873351588845253, -0.00023673870600759983, 0.0047330185770988464, 0.013717676512897015, -0.04902516305446625, 0.007788962218910456, -0.0304255448281765, 0.021203212440013885, 0.0062174410559237, 0.07151146978139877, -0.021509945392608643, 0.0010637358063831925, -0.010504402220249176, 0.01952771283686161, 0.04132787510752678, -0.006232926156371832, 0.025385109707713127, -0.007306678220629692, 0.00934435985982418, 0.025955824181437492, 0.030438432469964027, -0.004471982829272747, -0.04155019298195839, -0.0180361345410347, 0.058837682008743286, 0.030687086284160614, 0.0065836431458592415, 0.03160770237445831, -0.034390442073345184, -0.04784046486020088, 0.014324442483484745, -0.009393774904310703, 0.0031643621623516083, 0.025775037705898285, -0.01993996649980545, 0.0030934470705688, 0.013743760995566845, 0.002214452251791954, 0.003789841430261731, 0.023380186408758163, -0.023807479068636894, -0.04762715846300125, 0.08950553089380264, 0.011956894770264626, -0.028279686346650124, -0.009572765789926052, -0.048221390694379807, -0.0009319100063294172, 0.008091340772807598, -0.00033006444573402405, -0.07951419055461884, 0.019437367096543312, 0.005717117805033922, 0.09933073073625565, -0.01688171736896038, -0.06370788812637329, -0.029335398226976395, -0.005940031725913286, -0.00671018473803997, -0.045640502125024796, -0.0171979833394289, 0.050826333463191986, -0.05540291219949722, -0.005488688126206398, -0.012608693912625313, 0.02233998104929924, -0.05018720403313637, -0.008265020325779915, 0.030367247760295868, -0.02977655455470085, -0.018620749935507774, 0.0550558976829052, -0.03296768292784691, -0.023352472111582756, 0.02193387597799301, 0.05550382658839226, 0.023548366501927376, 0.04548930004239082, 0.027535708621144295, -0.03009706363081932, -0.004332845099270344, -0.034599341452121735, -0.08970674127340317, -0.038351185619831085, -0.006048691924661398, -0.03595719859004021, -0.010685943067073822, -0.02456727623939514, -0.06012043356895447, -0.10491877049207687, 0.07282044738531113, -0.028665272518992424, -0.02744174562394619, 0.04047003015875816, -0.007401172071695328, -0.024621902033686638, 0.001000581425614655, -0.07731650024652481, 0.04755665361881256, -0.017417538911104202, 0.029279975220561028, -0.07322673499584198, 0.05336494743824005, 0.0571199469268322, -0.08045534044504166, 0.10040361434221268, 0.061634354293346405, -0.04252536967396736, -0.03639056161046028, 0.02967347763478756, 0.022652966901659966, 0.0005906639853492379, -0.013546927832067013, 0.014892973005771637, 0.02591116726398468, 0.010237268172204494, 0.0180711317807436, -0.029786717146635056, -0.014457541517913342, -0.02230597473680973, -0.33864834904670715, -0.04902130365371704, -0.01044038962572813, -0.020529527217149734, 0.014061223715543747, -0.042429402470588684, 0.009433039464056492, -0.02147589810192585, -0.037114467471838, -0.005980649497359991, 0.06967924535274506, -0.03985754773020744, -0.011937027797102928, -0.08595834672451019, 0.00046479154843837023, 0.018622195348143578, -0.027056192979216576, -0.029430415481328964, -0.038397155702114105, -0.01823991909623146, 0.011982745490968227, -0.006699730176478624, 0.00930384173989296, -0.08452600985765457, -0.007853050716221333, -0.051777735352516174, 0.09226653724908829, 0.005228044465184212, 0.12238074839115143, -0.004239511676132679, 0.04794856905937195, 0.006224210374057293, 0.023753030225634575, -0.11296484619379044, 0.01603515073657036, -0.02150476537644863, -0.007761144544929266, -0.03004675917327404, 0.0316530279815197, -0.03467101603746414, -0.03980645909905434, 0.011560482904314995, -0.06908272951841354, -0.03148234263062477, -0.07196178287267685, 0.021525345742702484, -0.03817494213581085, -0.052084922790527344, -0.018952323123812675, 0.060186535120010376, -0.0018812373746186495, 0.009092973545193672, 0.009231665171682835, 0.006733889225870371, -0.0034290822222828865, -0.032646458595991135, -0.07633014023303986, 0.03195970878005028, 0.01807810552418232, 0.03142210468649864, 0.026450922712683678, 0.050782132893800735, 0.0261855348944664, -0.045117251574993134, 0.006237145513296127, 0.03511081635951996, -0.00042961043072864413, -0.01780068129301071, 0.03689906373620033, 0.00025378097780048847, -0.005553468596190214, 0.12311085313558578, 0.00014734121214132756, -0.03649330884218216, 0.0056609781458973885, 0.022607499733567238, -0.006823037285357714, 0.04685702919960022, 0.036951374262571335, -0.023493295535445213, 0.018278226256370544, -0.022149603813886642, 0.030557848513126373, -0.04432517662644386, -0.0011885507265105844, 0.002783491974696517, -0.01840238645672798, -0.023537056520581245, 0.04991622641682625, 0.030468804761767387, -0.03626265749335289, 0.04983670637011528, -0.004120977129787207, -0.06195177882909775, 0.09830421209335327, 0.006139865145087242, -0.21664705872535706, 0.007827765308320522, 0.06573697179555893, 0.027976732701063156, -0.005826111882925034, 0.05597478523850441, 0.03531360253691673, -0.036940377205610275, 0.01183316856622696, 0.015269845724105835, 0.04413289204239845, 0.03806819021701813, -0.015597213059663773, -0.009284778498113155, 0.057472921907901764, -0.044010646641254425, 0.06297475099563599, -0.01901092939078808, 0.0291046854108572, -0.03695294260978699, 0.010720846243202686, 0.0038205741439014673, 0.1541738361120224, -0.01951262354850769, 0.03806959092617035, 0.0086545180529356, 0.015289871953427792, 0.008381815627217293, 0.061946988105773926, 0.021845443174242973, -0.0010335498955100775, 0.0043541076593101025, 0.04644891992211342, 0.010527447797358036, 0.009225190617144108, -0.055992867797613144, -0.033834923058748245, -0.003438064595684409, 0.022523466497659683, 0.006271088030189276, 0.015857607126235962, 0.0028667973820120096, -0.033616386353969574, 0.05582858622074127, 0.07434746623039246, 0.015894245356321335, -0.018333235755562782, -0.04372953251004219, -0.05547245219349861, 0.0026466669514775276, -0.035361021757125854, -0.03040275163948536, 0.014784569852054119, 0.016244854778051376, 0.005536442622542381, 0.05767722800374031, 0.011471640318632126, -0.013823396526277065, -0.020647048950195312, 0.011374704539775848, -0.01495417207479477, -0.010829925537109375, 0.1325898915529251, 0.044981423765420914, 0.03933326154947281 ]
[ -0.04764176905155182, 0.016061702743172646, -0.0023272226098924875, -0.002513185841962695, -0.028009017929434776, 0.011530997231602669, 0.008532330393791199, 0.02389702945947647, -0.036497633904218674, 0.006682330276817083, -0.009333794005215168, 0.017471060156822205, 0.01989711821079254, -0.03166678175330162, 0.03864841163158417, -0.007627958431839943, -0.015766624361276627, -0.012609980069100857, 0.030643930658698082, 0.0015458494890481234, -0.03299213573336601, 0.006249026861041784, -0.020297685638070107, 0.014319296926259995, -0.00041435097227804363, 0.026368621736764908, -0.018356548622250557, -0.01612049899995327, 0.020710306242108345, -0.1162598729133606, -0.03903490677475929, -0.02651582844555378, -0.007023480720818043, -0.002323191612958908, -0.012798775918781757, -0.01108518335968256, 0.0003750826290342957, 0.023525355383753777, 0.005180066917091608, 0.0032059485092759132, -0.013614833354949951, -0.0035933898761868477, -0.02468377910554409, 0.02896801009774208, -0.016651097685098648, 0.008594099432229996, -0.005504654720425606, -0.03521702438592911, -0.0071858000010252, -0.05832555890083313, -0.025982368737459183, -0.009740931913256645, -0.000010300786925654393, -0.0041420795023441315, 0.021509457379579544, -0.02494772896170616, 0.03347848728299141, 0.0009496784768998623, 0.0018040622817352414, -0.0024768018629401922, -0.0012625068193301558, 0.003458034945651889, -0.05334494635462761, -0.025201110169291496, 0.01540479063987732, -0.004489556886255741, 0.009749324060976505, 0.019707851111888885, -0.02224726788699627, -0.004002107307314873, -0.03775952756404877, 0.012631967663764954, -0.015826134011149406, 0.006737422663718462, 0.03772459551692009, -0.007679681293666363, 0.0065502929501235485, -0.014410359784960747, 0.01774740405380726, -0.023999033495783806, -0.04659795016050339, 0.02836073376238346, 0.009803800843656063, -0.0009784332942217588, 0.011586292646825314, -0.00825128611177206, 0.0204138346016407, 0.008925828151404858, 0.03850008174777031, -0.005349521990865469, -0.013144981116056442, 0.024628914892673492, -0.008199679665267467, 0.018229641020298004, -0.07175584137439728, 0.02438483014702797, -0.0003406657197047025, -0.020554354414343834, -0.0037006766069680452, 0.8612841963768005, -0.012111691758036613, 0.043506622314453125, 0.04927019029855728, 0.01252201572060585, 0.020932042971253395, 0.016645120456814766, -0.01995401456952095, 0.0035976001527160406, 0.015328853391110897, -0.07227744162082672, 0.0033188825473189354, 0.0027611604891717434, 0.020133662968873978, 0.032046277076005936, 0.02487286366522312, 0.0026895550545305014, 0.013053691945970058, 0.02701057307422161, -0.0074605876579880714, -0.00042038687388412654, 0.029644571244716644, -0.020372606813907623, -0.003962676040828228, 0.008107003755867481, 0.012204662896692753, -0.1863396316766739, -0.0257086344063282, -8.834238979824801e-33, 0.039467714726924896, -0.0034682697150856256, 0.021124059334397316, -0.00040241904207505286, 0.022691214457154274, 0.002045235363766551, 0.029245836660265923, 0.06154681742191315, 0.013123671524226665, -0.025124913081526756, 0.004896390251815319, -0.02896801196038723, -0.008034157566726208, 0.0012578460155054927, 0.04920497536659241, -0.01723356731235981, 0.0077509102411568165, 0.03212651237845421, -0.033205606043338776, 0.03218039497733116, 0.007575053256005049, 0.016585957258939743, 0.0171823650598526, -0.018437661230564117, 0.02050359733402729, 0.01531614176928997, 0.02352173812687397, 0.009248986840248108, -0.023160485550761223, -0.04295196384191513, -0.023340845480561256, 0.02461272105574608, -0.015106569044291973, 0.023113681003451347, 0.007181087974458933, -0.06439090520143509, 0.006573809776455164, 0.009427822194993496, -0.0200155321508646, -0.03693591058254242, -0.009741716086864471, -0.000804241222795099, -0.024188054725527763, 0.008719787932932377, 0.008864156901836395, -0.025714628398418427, -0.00707872211933136, 0.026559144258499146, 0.02698254957795143, -0.025754230096936226, 0.012345455586910248, 0.03915110602974892, -0.018315602093935013, 0.0024754232726991177, -0.05028529465198517, 0.005853744223713875, -0.003681885078549385, 0.010122166946530342, -0.01488009374588728, 0.019272806122899055, -0.0006527846562676132, 0.017263030633330345, -0.0167262963950634, 0.044197697192430496, -0.0015543890185654163, -0.03313184157013893, 0.008721266873180866, -0.013845425099134445, 0.04391828924417496, -0.0011999108828604221, -0.04223758727312088, 0.017378389835357666, -0.027832863852381706, -0.015747874975204468, 0.01395461242645979, 0.0011162057053297758, 0.017809933051466942, -0.0036470668856054544, -0.02166472002863884, 0.029451847076416016, 0.0336671844124794, 0.010460869409143925, -0.024928484112024307, -0.0510098971426487, -0.012431659735739231, -0.009347495622932911, 0.011608429253101349, 0.0010324175236746669, -0.01720459945499897, 0.012455555610358715, 0.03089926950633526, -0.012835125438869, 0.002764437347650528, -0.021655770018696785, -0.024139847606420517, 8.519675222176818e-33, 0.006001616828143597, -0.058731675148010254, -0.003963918425142765, 0.002611215226352215, 0.03652399033308029, 0.0031955966260284185, 0.0075432606972754, 0.011420630849897861, -0.03856775909662247, 0.03654361143708229, -0.002712329151108861, 0.009092180989682674, -0.024904727935791016, 0.03887471184134483, 0.021148815751075745, -0.021668236702680588, 0.022015750408172607, -0.01818869262933731, 0.014745952561497688, 0.001567844650708139, 0.021250318735837936, 0.009668348357081413, 0.011735092848539352, 0.0013643779093399644, 0.03835607320070267, 0.034296728670597076, -0.03041992336511612, 0.031182507053017616, -0.0013805505586788058, 0.012355664744973183, 0.018267016857862473, -0.024897489696741104, 0.02385774813592434, -0.011491971090435982, -0.020900268107652664, 0.022516775876283646, -0.016460172832012177, -0.004789297003298998, -0.007274329196661711, 0.005595733877271414, 0.01629265397787094, -0.024112394079566002, -0.002313412493094802, 0.028259148821234703, 0.029179152101278305, 0.003711288794875145, -0.0003535207360982895, -0.028666360303759575, -0.04342280700802803, 0.04261596500873566, 0.021261652931571007, 0.008064809255301952, 0.024768922477960587, 0.0033812285400927067, 0.007361810654401779, -0.03441879525780678, -0.038950733840465546, -0.01964009739458561, -0.01823461428284645, 0.027912558987736702, -0.01357613317668438, 0.0065805958583951, -0.022893834859132767, 0.001224871026352048, -0.03127915784716606, -0.032520219683647156, -0.0031168756540864706, -0.007233810611069202, 0.004510532133281231, -0.011801098473370075, 0.006417471449822187, 0.020719602704048157, -0.011042069643735886, 0.017927097156643867, -0.009517082013189793, -0.012164426036179066, -0.0027826724108308554, 0.01064020860940218, -0.026150459423661232, 0.020042361691594124, 0.017290432006120682, -0.05183429643511772, 0.02404555305838585, -0.006185363978147507, -0.02719372883439064, 0.006121685262769461, 0.009152853861451149, 0.016383610665798187, 0.001004271674901247, -0.04872739315032959, -0.00005485149449668825, -0.0005675713764503598, 0.027253566309809685, 0.03090575523674488, 0.00016510776185896248, -1.3849900781792712e-8, 0.025344418361783028, 0.018149035051465034, 0.0015458525158464909, 0.016058560460805893, 0.04385847970843315, -0.002093140035867691, -0.016787856817245483, 0.0120437853038311, -0.05697266384959221, 0.018448082730174065, 0.035667914897203445, 0.0035225721076130867, 0.01712167263031006, -0.0037036340218037367, 0.01968245394527912, -0.04995889589190483, -0.026114284992218018, 0.016711164265871048, 0.015568405389785767, 0.00837161298841238, 0.02602759376168251, 0.021765565499663353, -0.03981684520840645, 0.03092089481651783, 0.001962974900379777, -0.027472512796521187, 0.010666312649846077, -0.06982304900884628, 0.018007030710577965, 0.011727686040103436, -0.0016374846454709768, -0.03805648162961006, -0.0027918603736907244, 0.025630898773670197, -0.0032924676779657602, -0.04025839641690254, 0.041827548295259476, 0.008337882347404957, 0.015270961448550224, 0.002138156909495592, 0.02091090939939022, -0.013397060334682465, -0.01315861102193594, -0.028420746326446533, -0.018796782940626144, -0.012398669496178627, -0.022043267264962196, -0.027563458308577538, 0.009462343528866768, -0.05697353184223175, 0.023528583347797394, 0.01989283226430416, 0.006989120505750179, 0.025144366547465324, -0.007235418539494276, 0.022279314696788788, 0.001494286465458572, -0.010736935772001743, -0.049287211149930954, 0.02424551360309124, 0.0012962048640474677, 0.049944549798965454, -0.011047071777284145, -0.011484378017485142 ]
good-lazy-and-bad-lazy
https://markhneedham.com/blog/2009/07/21/good-lazy-and-bad-lazy
false
2009-07-07 18:11:36
C#: Removing duplication in mapping code with partial classes
[ "c", "net" ]
[ ".NET" ]
One of the problems that we've come across while writing the mapping code for our http://www.markhneedham.com/blog/2009/07/07/domain-driven-design-anti-corruption-layer/[anti corruption layer] is that there is quite a lot of duplication of mapping similar types due to the fact that each service has different auto generated classes representing the same data structure. We are making SOAP web service calls and generating classes to represent the requests and responses to those end points using http://msdn.microsoft.com/en-us/library/aa347733.aspx[SvcUtil]. We then translate from those auto generated classes to our domain model using various mapper classes. One example of duplication which really stood out is the creation of a 'ShortAddress' which is a data structure consisting of a postcode, suburb and state. In order to map address we have a lot of code similar to this: [source,csharp] ---- private ShortAddress MapAddress(XsdGeneratedAddress xsdGeneratedAddress) { return new ShortAddress(xsdGeneratedAddress.Postcode, xsdGeneratedAddress.Suburb, xsdGeneratedAddress.State); } ---- [source,csharp] ---- private ShortAddress MapAddress(AnotherXsdGeneratedAddress xsdGeneratedAddress) { return new ShortAddress(xsdGeneratedAddress.Postcode, xsdGeneratedAddress.Suburb, xsdGeneratedAddress.State); } ---- Where the XsdGeneratedAddress might be something like this: [source,csharp] ---- public class XsdGeneratedAddress { string Postcode { get; } string Suburb { get; } string State { get; } // random other code } ---- It's really quite boring code to write and it's pretty much exactly the same apart from the class name. I realise here that if we were using a dynamic language we wouldn't have a problem since we could just write the code as if the object being passed into the method had those properties on it. Sadly we are in C# which doesn't yet have that capability! Luckily for us the SvcUtil generated classes are partial classes so (as http://twitter.com/davcamer[Dave] pointed out) we can create another partial class which inherits from an interface that we define. We can then refer to types which implement this interface in our mapping code, helping to reduce the duplication. In this case we create a 'ShortAddressDTO' with properties that match those on the auto generated class: [source,csharp] ---- public interface ShortAddressDTO { string Postcode { get; } string Suburb { get; } string State { get; } } ---- We then need to make the generated classes inherit from this: [source,csharp] ---- public partial class XsdGeneratedAddress : ShortAddressDTO {} ---- Which means in our mapping code we can now do the following: [source,csharp] ---- private ShortAddress MapAddress(ShortAddressDTO shortAddressDTO) { return xsdGeneratedAddress.ConvertToShortAddress(); } ---- Which uses this extension method: [source,csharp] ---- public static class ServiceDTOExtensions { public static ShortAddress ConvertToShortAddress(ShortAddressDTO shortAddressDTO) { return new ShortAddress(shortAddressDTO.Postcode, shortAddressDTO.Suburb, shortAddressDTO.State); } } ---- Which seems much cleaner than what we had to do before.
null
null
[ 0.0062039741314947605, -0.030838683247566223, -0.029947640374302864, 0.07385831326246262, 0.06750518083572388, -0.002157792681828141, 0.028544386848807335, 0.019476421177387238, 0.016326365992426872, -0.031950242817401886, -0.02630922943353653, -0.05215708166360855, -0.07680948823690414, 0.03855166956782341, -0.021312545984983444, 0.07371488958597183, 0.06360356509685516, -0.019638817757368088, 0.03805564343929291, 0.004182895645499229, 0.0022956901229918003, 0.05423330143094063, -0.011467202566564083, 0.04103462025523186, 0.022244039922952652, 0.05329035222530365, -0.007924092933535576, 0.007203025743365288, -0.05852131173014641, -0.018967896699905396, 0.05480896681547165, 0.014302498660981655, -0.013770862482488155, 0.033164747059345245, 0.00820249319076538, -0.03944586589932442, -0.03401695191860199, -0.007631056942045689, 0.0008021944668143988, -0.0009767161682248116, -0.059192970395088196, 0.02591628208756447, 0.015213124454021454, -0.0015956510324031115, -0.040280599147081375, -0.016577234491705894, -0.07740622758865356, 0.0009664900717325509, -0.053164996206760406, -0.0051498692482709885, -0.06539356708526611, 0.018004916608333588, -0.05143872648477554, 0.036310672760009766, -0.00880869384855032, 0.052995797246694565, -0.0037284414283931255, -0.07761280238628387, 0.03170766681432724, -0.04823433980345726, 0.009776844643056393, -0.015706324949860573, 0.004939164500683546, 0.035264160484075546, 0.03023095615208149, -0.0016615792410448194, -0.016527418047189713, 0.05088278278708458, -0.04005580022931099, -0.022492537274956703, 0.004711973946541548, 0.007326407823711634, 0.01296208705753088, 0.003078560112044215, 0.001758136902935803, -0.022921640425920486, -0.004935251083225012, 0.0618136003613472, 0.01230685692280531, 0.04013923183083534, -0.03113098256289959, 0.014763186685740948, 0.010072989389300346, 0.014155899174511433, 0.005075228866189718, -0.030370736494660378, -0.027354400604963303, 0.005909423343837261, -0.046803370118141174, 0.05723261460661888, -0.01515028066933155, -0.03478452190756798, 0.0011797999031841755, 0.03840252757072449, 0.010322568006813526, -0.01920105703175068, 0.00394048634916544, 0.00035422254586592317, 0.00876037497073412, -0.008680061437189579, -0.025886185467243195, -0.013413154520094395, 0.03464198112487793, -0.006702374201267958, -0.08516537398099899, -0.02573995478451252, -0.034984245896339417, -0.004730899352580309, 0.03198958933353424, 0.02299550175666809, -0.028929365798830986, 0.010199039243161678, -0.021913396194577217, -0.012558234855532646, -0.06113845482468605, 0.04985520988702774, 0.00448640389367938, -0.010231144726276398, -0.004325308836996555, 0.019908126443624496, 0.04053456708788872, 0.011612803675234318, -0.03429707512259483, 0.07827476412057877, 0.012251422740519047, 0.04089939594268799, -0.006140416953712702, 0.06339048594236374, -0.01828165538609028, -0.062362752854824066, -0.007670104969292879, 0.04053988307714462, -0.006058831699192524, 0.010235714726150036, 0.011519857682287693, -0.02638888545334339, -0.01756087690591812, 0.013084467500448227, 0.040776629000902176, 0.028890550136566162, -0.025113198906183243, -0.03491361439228058, 0.01749650202691555, -0.0016235196962952614, 0.01699572056531906, 0.04254541173577309, -0.026591045781970024, -0.027416616678237915, -0.016566937789320946, 0.051938496530056, 0.011678599752485752, 0.061186399310827255, 0.02402956783771515, -0.03876924887299538, 0.014796138741075993, 0.10327350348234177, -0.0035099992528557777, 0.027598977088928223, 0.0004548544529825449, 0.027732720598578453, 0.017328036949038506, 0.022995486855506897, 0.0064389463514089584, 0.04548061266541481, 0.01127436850219965, 0.01275972556322813, 0.007959265261888504, 0.059101738035678864, 0.009184191934764385, -0.013459264300763607, -0.07286170870065689, -0.060592617839574814, 0.04773995280265808, -0.06779615581035614, -0.011841514147818089, 0.020809249952435493, 0.0874328538775444, 0.017261913046240807, 0.046724170446395874, -0.013775588944554329, -0.06883364170789719, 0.0033799605444073677, -0.006153765134513378, 0.009845918975770473, 0.003342679236084223, -0.008262251503765583, 0.07242590934038162, 0.05591854825615883, -0.0025493891444057226, 0.04258473962545395, -0.06235716864466667, -0.07179827988147736, -0.031100723892450333, -0.025516385212540627, 0.0659770518541336, -0.001496623852290213, -0.02164144068956375, 0.07536617666482925, 0.011617729440331459, 0.05512619763612747, 0.018548086285591125, 0.01042970735579729, 0.01037862803786993, -0.026428159326314926, -0.026101768016815186, 0.02740572951734066, 0.02761669270694256, -0.00992038194090128, -0.03935898095369339, -0.025856243446469307, 0.008372658863663673, -0.010036463849246502, 0.034586284309625626, -0.019384685903787613, 0.015286405570805073, 0.006071384530514479, 0.04804461821913719, -0.03260086104273796, 0.04991697147488594, -0.08242950588464737, 0.024405328556895256, -0.006551417987793684, -0.03399476408958435, 0.011583151295781136, -0.0056377495639026165, 0.12629763782024384, 0.05838245898485184, -0.03716784343123436, -0.02562231384217739, 0.01966903731226921, 0.016983147710561752, -0.035344380885362625, 0.0019405269995331764, -0.04824655130505562, 0.0007687559118494391, 0.007017349824309349, -0.039844900369644165, -0.022442329674959183, 0.004233737010508776, -0.021616598591208458, 0.008795890025794506, 0.09295165538787842, -0.03717651218175888, 0.05117608234286308, -0.018276561051607132, -0.010614569298923016, 0.0069114952348172665, -0.022456655278801918, -0.061175376176834106, -0.010344584472477436, -0.007405166979879141, -0.0037347953766584396, 0.06479298323392868, -0.014493320137262344, -0.023074939846992493, -0.028282195329666138, -0.018735051155090332, -0.01863011159002781, 0.01062184851616621, 0.05296668782830238, -0.01293313130736351, 0.05748862028121948, -0.014554590918123722, 0.013746916316449642, -0.0029195346869528294, -0.060701411217451096, 0.01670904830098152, 0.006484201177954674, 0.023035580292344093, 0.017357250675559044, 0.011908533982932568, 0.021673534065485, 0.0328521654009819, -0.00311657483689487, -0.019817717373371124, -0.010530391708016396, 0.021943822503089905, -0.0002005419519264251, -0.04162633419036865, -0.024345066398382187, -0.04809865728020668, 0.03614982217550278, -0.03758982941508293, -0.03650031238794327, -0.02378177084028721, -0.09557291865348816, 0.05569569393992424, -0.07044685631990433, -0.06073502078652382, 0.015929531306028366, 0.027261223644018173, 0.017356038093566895, -0.012185896746814251, 0.014365741983056068, 0.07936376333236694, 0.01865685172379017, -0.0051631261594593525, 0.010081853717565536, -0.0002465721336193383, 0.0005636251298710704, -0.017687145620584488, 0.03699575737118721, 0.0023811522405594587, -0.0027777384966611862, -0.003687104443088174, -0.04724099859595299, 0.004956576973199844, 0.014694908633828163, -0.27697160840034485, 0.017597850412130356, -0.005885916296392679, -0.05021718144416809, 0.04080984741449356, -0.002976939082145691, 0.02939341962337494, -0.04239979758858681, -0.01785697601735592, 0.03127118572592735, 0.0010159768862649798, -0.061085496097803116, -0.018364986404776573, 0.0199282206594944, 0.007766048889607191, 0.004932370502501726, -0.00027833381318487227, -0.04944133013486862, 0.027134735137224197, 0.04096818342804909, -0.01843513362109661, -0.0727088525891304, 0.0025082335341721773, 0.04735847935080528, 0.026537004858255386, 0.057861700654029846, -0.07847168296575546, 0.02523026429116726, -0.021440325304865837, -0.007024480029940605, 0.018659144639968872, -0.004522820468991995, 0.01514467690140009, -0.00927472673356533, -0.05076412856578827, -0.01814366690814495, -0.006905642803758383, 0.04088665172457695, -0.035174544900655746, 0.017734939232468605, -0.026087762787938118, -0.04456759989261627, -0.01463114283978939, 0.003218326484784484, 0.0682174488902092, 0.006608148105442524, -0.05119652673602104, -0.0022393485996872187, -0.039749838411808014, 0.07996704429388046, -0.01351379044353962, -0.018930675461888313, 0.016272667795419693, 0.03783173859119415, -0.01759178377687931, -0.0191502645611763, 0.011032276786863804, -0.0048834336921572685, -0.06379742920398712, -0.03636344149708748, 0.014628914184868336, -0.04422278329730034, -0.023039931431412697, -0.0398145467042923, 0.023286625742912292, -0.046482786536216736, -0.07390625029802322, -0.009067803621292114, 0.05674442648887634, 0.0551895871758461, -0.020932616665959358, 0.009835872799158096, 0.02261493168771267, -0.11107504367828369, 0.0057848598808050156, -0.04174410179257393, -0.015715716406702995, -0.041583046317100525, 0.005751584190875292, 0.03928564488887787, -0.019322313368320465, -0.024804547429084778, -0.00812290795147419, 0.03167564049363136, 0.0008984388550743461, -0.02104548178613186, 0.026557672768831253, -0.0008099655969999731, -0.025407418608665466, -0.007247233763337135, 0.08403858542442322, -0.013358182273805141, 0.010431526228785515, -0.04409713298082352, 0.008671016432344913, 0.014503228478133678, 0.02099296823143959, -0.007374893873929977, 0.005765214096754789, 0.00322239869274199, 0.042494576424360275, -0.05750853940844536, 0.04556231200695038, -0.041732657700777054, -0.002511418191716075, -0.02105669677257538, -0.03705098107457161, 0.02378244511783123, 0.02836206741631031, 0.010260112583637238, -0.009531255811452866, -0.03334842994809151, -0.02137242816388607, -0.07276716828346252, -0.028994662687182426, -0.010898206382989883, 0.012640248984098434, 0.021597879007458687, 0.007955328561365604, -0.04389170557260513, -0.023910988122224808, 0.027245650067925453, 0.023706847801804543, 0.011677875183522701, -0.07101026922464371, -0.030133329331874847, -0.024912558495998383, 0.011344434693455696, 0.018175503239035606, 0.014585831202566624, 0.013476218096911907, 0.031565893441438675, 0.004621462430804968, -0.04044097661972046, 0.0050008585676550865, 0.05460672453045845, -0.021336352452635765, -0.029871337115764618, -0.007388496305793524, 0.0028525127563625574, 0.020423607900738716, -0.003114840015769005, 0.020124653354287148, 0.03370843455195427, 0.0674288272857666, -0.006828607060015202, 0.03711847588419914, 0.000711287371814251, 0.024714484810829163, -0.005939797963947058, 0.008256221190094948, -0.07085166871547699, 0.023872138932347298, -0.04349394515156746, -0.04783637821674347, -0.029036851599812508, 0.035579267889261246, -0.013893462717533112, -0.043258726596832275, -0.04200377315282822, 0.017107896506786346, -0.06817302852869034, -0.03638843819499016, 0.0006609121337532997, 0.014776340685784817, 0.06986543536186218, -0.03325250372290611, 0.0505354106426239, -0.0131458705291152, -0.014257884584367275, 0.01719226874411106, -0.005519300699234009, -0.019444303587079048, 0.01675107330083847, -0.011774973012506962, 0.008920373395085335, -0.01061540562659502, 0.009310385212302208, 0.05345095321536064, 0.021898673847317696, 0.010264447890222073, 0.0009186186362057924, 0.022496724501252174, -0.006630619987845421, 0.06397224962711334, 0.024908756837248802, -0.025995107367634773, 0.01822798326611519, -0.011879781261086464, -0.007267884444445372, -0.023183245211839676, -0.002255750121548772, -0.035905610769987106, 0.043378110975027084, -0.03944689780473709, -0.06972389668226242, 0.018828637897968292, 0.0028807763010263443, 0.018409743905067444, 0.02476254105567932, 0.018258221447467804, 0.007539729122072458, -0.001121596316806972, 0.017578180879354477, 0.045889824628829956, -0.03749774396419525, 0.022819772362709045, 0.014013556763529778, -0.006578273605555296, -0.003654120024293661, 0.027713945135474205, -0.03132360056042671, -0.02908455953001976, -0.027435414493083954, 0.006170949898660183, -0.034294985234737396, -0.026662535965442657, -0.016923068091273308, 0.01365538127720356, -0.0037925648503005505, -0.011042446829378605, -0.0003714918566402048, 0.018937913700938225, -0.007900136522948742, -0.017833547666668892, 0.019033126533031464, -0.03246375545859337, -0.009739505127072334, 0.008080713450908661, -0.04056711122393608, 0.037288688123226166, -0.014862661249935627, 0.015773210674524307, 0.012311757542192936, -0.015063092112541199, -0.01931285485625267, -0.052995648235082626, 0.017493169754743576, -0.01861044205725193, 0.07931827753782272, -0.019613761454820633, -0.04819829389452934, -0.026817018166184425, 0.009304026141762733, -0.014091053046286106, 0.044561538845300674, -0.017694201320409775, -0.0018185442313551903, 0.01454841811209917, 0.04534095898270607, 0.013432350941002369, 0.035247981548309326, -0.007781094405800104, 0.004631399177014828, 0.08417285978794098, -0.06932239979505539, -0.026274530217051506, -0.04567517340183258, -0.06298111379146576, -0.009034962393343449, -0.02409706823527813, 0.023461448028683662, 0.007303261198103428, 0.06341724097728729, 0.03754984214901924, 0.0022769870702177286, 0.0353279709815979, 0.011076304130256176, 0.027312451973557472, -0.05166248604655266, -0.012921825051307678, -0.07878229022026062, 0.037626102566719055, 0.03223497048020363, 0.02058975212275982, -0.04428653419017792, -0.02355372905731201, -0.03859884291887283, 0.024644438177347183, -0.06189672276377678, -0.030404137447476387, 0.030664857476949692, 0.02484913542866707, -0.011756940744817257, -0.0032450014259666204, -0.050686512142419815, 0.02116892673075199, 0.029167601838707924, -0.04769546166062355, -0.05264917388558388, -0.007476919796317816, 0.0393168106675148, 0.020316768437623978, 0.022097118198871613, -0.05163532495498657, -0.005906208883970976, 0.032226238399744034, 0.0035867742262780666, 0.000837107130791992, 0.04842953756451607, -0.03059670887887478, 0.058104321360588074, 0.024101868271827698, -0.009521055966615677, 0.004087405279278755, 0.0021483285818248987, 0.007271946873515844, -0.07449093461036682, 0.008251470513641834, 0.003683823626488447, -0.006424139253795147, -0.05997069552540779, 0.07773500680923462, 0.027767842635512352, -0.03599240630865097, -0.039610546082258224, 0.020807625725865364, -0.0435466431081295, -0.0176656823605299, -0.026072219014167786, 0.010986315086483955, -0.014470319263637066, 0.09175662696361542, 0.021068863570690155, -0.005583563819527626, 0.07886726409196854, -0.0013857192825526, -0.02274213545024395, 0.0023073875345289707, 0.07439436763525009, 0.08400004357099533, 0.01773730292916298, -0.024229824542999268, 0.06202254071831703, -0.017345894128084183, -0.028227664530277252, 0.015666021034121513, -0.030179863795638084, -0.009361512027680874, -0.010212969966232777, 0.012884478084743023, 0.08108767867088318, -0.018472865223884583, 0.07996033877134323, -0.039507947862148285, -0.013195913285017014, 0.004596852231770754, 0.01609932631254196, 0.04889814555644989, 0.03601988032460213, 0.006308519281446934, 0.03714112937450409, -0.004692941904067993, -0.010040388442575932, 0.007345625199377537, 0.013554789125919342, -0.03510543331503868, -0.008259705267846584, -0.005151337943971157, 0.020842352882027626, -0.04092961549758911, 0.012319604866206646, 0.0731455460190773, -0.019306985661387444, -0.015164987184107304, -0.004570451099425554, 0.017341522499918938, 0.001441732980310917, 0.015572049655020237, -0.03751780465245247, -0.014785419218242168, -0.023640422150492668, -0.024806739762425423, -0.020299743860960007, -0.026306122541427612, -0.011882067658007145, 0.0368473120033741, -0.012799340300261974, 0.008023100905120373, -0.0017465314595028758, 0.008842225186526775, -0.04484948888421059, -0.06445685774087906, -0.08349446952342987, -0.021646901965141296, -0.06776850670576096, -0.020638544112443924, 0.03274952620267868, -0.021907739341259003, -0.020134232938289642, -0.01184212975203991, -0.03083920292556286, -0.007267335895448923, 0.05055076256394386, -0.026551971212029457, -0.010239935480058193, -0.002545013790950179, 0.03682117536664009, 0.0478050597012043, 0.05381428822875023, 0.04984041675925255, -0.026615649461746216, -0.005220708437263966, -0.04328751936554909, -0.03142597898840904, 0.043822865933179855, 0.03248704597353935, 0.01533631794154644, -0.08987954258918762, 0.02500602975487709, 0.004248743411153555, 0.002095469506457448, -0.0688377171754837, 0.004833294544368982, 0.02886827662587166, -0.007639268878847361, 0.04265401512384415, -0.023677321150898933, -0.03190420940518379, -0.01870686188340187, 0.0010512616718187928, 0.00815291702747345, 0.019792446866631508, 0.03992526978254318, -0.016704246401786804, 0.07960070669651031, 0.04512166231870651, -0.017450787127017975, -0.038359224796295166, 0.008835133165121078, -0.007549997419118881, 0.0029327634256333113, -0.0420675165951252, -0.024719931185245514, -0.02765854075551033, -0.05688510462641716, -0.020429402589797974, 0.014170297421514988, -0.025764692574739456, -0.03324330225586891, 0.009938471019268036, 0.049384403973817825, -0.05847544968128204, 0.016307629644870758, -0.023673631250858307, 0.037985410541296005, -0.03425540030002594, -0.019944630563259125, -0.010688304901123047, 0.01009970623999834, 0.0011145592434331775, 0.025410478934645653, 0.015807608142495155, -0.03121960535645485, 0.029897866770625114, 0.012841839343309402, 0.04385082796216011, 0.030405720695853233, 0.004522732459008694, 0.040818698704242706 ]
[ -0.06732133030891418, -0.042463794350624084, -0.01848958246409893, -0.03521920368075371, 0.02324739284813404, -0.043821100145578384, -0.01788528636097908, -0.0011897576041519642, -0.002843208611011505, -0.026105932891368866, 0.008312223479151726, -0.016616132110357285, 0.009284988977015018, 0.005661471746861935, 0.0674208477139473, -0.008745476603507996, -0.04981955140829086, -0.015818586573004723, 0.030691999942064285, 0.04078410193324089, 0.05536323040723801, -0.0023195177782326937, -0.05514457821846008, -0.01116736140102148, -0.010525648482143879, 0.03488769382238388, 0.06123188138008118, -0.02342311665415764, 0.002302805194631219, -0.22781610488891602, 0.011196424253284931, 0.015074826776981354, 0.0157763734459877, -0.017856456339359283, 0.0014425567351281643, -0.029261892661452293, 0.008230552077293396, 0.05259392410516739, -0.020579883828759193, 0.020182758569717407, 0.011675008572638035, 0.017050066962838173, -0.03468995541334152, -0.014846518635749817, 0.0071869464591145515, -0.02518630027770996, -0.027508975937962532, -0.00873472448438406, -0.010023456066846848, 0.013227599672973156, -0.0407937690615654, 0.0000025882950467348564, -0.010196713730692863, 0.011153028346598148, -0.018863176926970482, 0.006100804544985294, 0.021747466176748276, 0.07589821517467499, -0.0010397115256637335, -0.002128706546500325, 0.03514254465699196, 0.00568628404289484, -0.1270591765642166, 0.10651230812072754, 0.03698126599192619, 0.07576911151409149, -0.005278469529002905, -0.03238038718700409, -0.039741117507219315, 0.06866522133350372, 0.01566307060420513, 0.0003156759194098413, -0.05158866569399834, 0.05714060366153717, 0.022619126364588737, -0.01682458445429802, -0.02442210167646408, 0.05046803504228592, 0.031973183155059814, -0.018186017870903015, -0.04451756179332733, -0.03862250596284866, 0.023349661380052567, 0.019111692905426025, -0.02945244126021862, -0.0145785603672266, -0.0005012395558878779, 0.024497052654623985, 0.04706893488764763, 0.017640283331274986, 0.02831842191517353, -0.045762453228235245, 0.031337231397628784, 0.01234961487352848, -0.08412705361843109, -0.0059924800880253315, -0.024907035753130913, 0.00947117991745472, -0.016720565035939217, 0.41173526644706726, -0.03140706568956375, -0.041606999933719635, 0.04039118438959122, 0.02431841380894184, -0.014429204165935516, 0.003494022414088249, -0.015606562606990337, -0.04547172784805298, -0.015164814889431, -0.027745060622692108, 0.006544956471771002, -0.020697075873613358, 0.010886208154261112, -0.0252843014895916, -0.04015514627099037, -0.02602594904601574, 0.01245112344622612, 0.01707722805440426, -0.03277435153722763, -0.006340883672237396, -0.01933341659605503, -0.008718353696167469, 0.012042038142681122, 0.02253328077495098, 0.029953379184007645, -0.01936110481619835, 0.028761962428689003, 0.0639168918132782, 0.03562150523066521, 0.04639330133795738, 0.01579536683857441, -0.04268944263458252, -0.060521237552165985, -0.014485885389149189, 0.034551799297332764, 0.004848059266805649, 0.03859168663620949, -0.03991778567433357, -0.005929903592914343, -0.006043203640729189, 0.01022311020642519, 0.0054970416240394115, -0.0013483604416251183, -0.004901836160570383, -0.03722639009356499, 0.1206129789352417, -0.003509023692458868, -0.01936107687652111, -0.02719416283071041, 0.032671429216861725, -0.009445197880268097, 0.029647285118699074, -0.021759266033768654, -0.0724768191576004, 0.0007315287948586047, 0.053934358060359955, 0.0998043641448021, -0.010289905592799187, -0.03314667567610741, -0.06641330569982529, 0.015106309205293655, 0.0038567115552723408, -0.0027092902455478907, 0.09597449749708176, 0.06073356419801712, -0.09833240509033203, -0.06114410236477852, 0.012353228405117989, -0.016946515068411827, -0.06991599500179291, -0.015607660636305809, 0.01652904786169529, 0.009349322877824306, -0.0057103619910776615, 0.013827544637024403, -0.02789159119129181, -0.025130297988653183, -0.016190752387046814, 0.045296695083379745, 0.02405795082449913, -0.017942439764738083, 0.022888951003551483, -0.05566633120179176, 0.011465744115412235, -0.014788036234676838, -0.09016673266887665, -0.055665235966444016, 0.04118810221552849, -0.017891013994812965, -0.052356746047735214, -0.029843265190720558, -0.016852840781211853, -0.04437519982457161, 0.06627446413040161, -0.019192377105355263, -0.011951747350394726, 0.044268280267715454, -0.014271878637373447, 0.03941405937075615, -0.03493737429380417, 0.0034962198697030544, 0.09428820759057999, -0.0056839920580387115, 0.024028919637203217, -0.04388497769832611, 0.03049093671143055, 0.08388316631317139, -0.03676971048116684, -0.01129898987710476, 0.027609866112470627, -0.046188510954380035, 0.005173920188099146, -0.022658880800008774, 0.023488344624638557, -0.019047152251005173, -0.00814846996217966, 0.02300792559981346, 0.03611156716942787, 0.01989462599158287, 0.027222000062465668, -0.04277331009507179, -0.014930903911590576, 0.023961497470736504, -0.34379735589027405, -0.054515302181243896, -0.02361232042312622, -0.04877548664808273, -0.00814258772879839, -0.05986772105097771, -0.0072899325750768185, 0.0004028787079732865, -0.024696122854948044, 0.015679556876420975, 0.10025747120380402, -0.03645360842347145, -0.0006483671022579074, -0.033203788101673126, -0.01638905145227909, 0.038794323801994324, -0.009485362097620964, -0.028594696894288063, -0.029120836406946182, -0.002859898144379258, -0.00780510064214468, 0.01844952441751957, 0.034880075603723526, -0.0644787922501564, 0.0515948086977005, -0.030881984159350395, 0.09944380819797516, -0.0657045766711235, 0.10491222143173218, -0.029495904222130775, 0.03563373535871506, -0.010579926893115044, 0.05568597465753555, -0.07635828852653503, -0.01930798776447773, -0.04043640196323395, 0.012298437766730785, 0.032705556601285934, 0.04911576583981514, -0.019552558660507202, -0.04596840590238571, 0.014066777192056179, -0.05345981940627098, -0.038179054856300354, 0.003089128527790308, -0.03072495199739933, -0.04211656004190445, -0.03485753387212753, 0.0014478758675977588, 0.10329136252403259, -0.04358433187007904, -0.03324895352125168, -0.004752493929117918, 0.02225429192185402, 0.004778881091624498, -0.014301111921668053, -0.05796639248728752, -0.03121516853570938, 0.031061770394444466, -0.002584214089438319, 0.07021874189376831, 0.04534601420164108, 0.04857087880373001, -0.05709065869450569, 0.0072975908406078815, 0.004601641092449427, -0.022741274908185005, -0.028862271457910538, 0.037019435316324234, -0.037449244409799576, -0.047672469168901443, 0.1264805644750595, -0.006983434781432152, -0.02005014568567276, 0.026326633989810944, 0.025198863819241524, -0.010055665858089924, 0.0545722097158432, 0.01725689135491848, -0.003067378420382738, 0.03452492505311966, -0.010502869263291359, 0.07443324476480484, -0.026186970993876457, 0.044291697442531586, 0.039189234375953674, -0.00652001379057765, 0.025051305070519447, -0.007418263703584671, -0.014120521955192089, -0.018142201006412506, 0.003408116986975074, -0.023552551865577698, -0.05894939601421356, 0.0461762435734272, -0.03261629864573479, -0.24431970715522766, -0.02247779816389084, 0.07517112046480179, 0.08286549150943756, -0.002452139277011156, 0.021628310903906822, 0.060889508575201035, -0.039104897528886795, 0.017921939492225647, 0.011756190098822117, 0.012241609394550323, 0.04820000380277634, 0.02363947033882141, -0.017856210470199585, 0.026923876255750656, -0.0005952594219706953, 0.06762292236089706, -0.02236638404428959, 0.015326612628996372, -0.013700325973331928, 0.002832442056387663, -0.013358378782868385, 0.19646044075489044, 0.02429955080151558, 0.06370101869106293, 0.029628878459334373, 0.017663894221186638, 0.03703851252794266, 0.05853947997093201, 0.03576579689979553, 0.012425219640135765, -0.007511455100029707, 0.054245177656412125, 0.019319646060466766, 0.03127336502075195, -0.06093813478946686, 0.017087025567889214, 0.020390795543789864, 0.016713015735149384, -0.010550040751695633, 0.003831760957837105, -0.01031361985951662, -0.07156901061534882, 0.035652898252010345, 0.0525478832423687, 0.03962841257452965, -0.011089769192039967, -0.026650262996554375, -0.0357726588845253, 0.012304520234465599, -0.030973700806498528, -0.052594806998968124, -0.028504163026809692, -0.030818095430731773, 0.004631971940398216, 0.04849512502551079, -0.041670605540275574, -0.06893907487392426, -0.061841193586587906, 0.025982510298490524, 0.03412289917469025, -0.0150765934959054, 0.06508567929267883, -0.0002998636045958847, 0.0051286481320858 ]
[ -0.013756141997873783, 0.0038147936575114727, 0.015288853086531162, -0.0007525233668275177, -0.015055792406201363, -0.013400203548371792, 0.0010937484912574291, 0.012203599326312542, -0.03988427296280861, -0.0015199590707197785, 0.0011443592375144362, -0.0038795634172856808, 0.01861477643251419, -0.03897653892636299, 0.030832769349217415, 0.0008666232461109757, 0.02042432315647602, -0.0053440481424331665, 0.018497997894883156, 0.01902044378221035, 0.005763427820056677, 0.04235879331827164, -0.011182008311152458, -0.02133850008249283, -0.0058373985812067986, 0.024267788976430893, 0.008523957803845406, -0.004374483600258827, 0.011672349646687508, -0.12133243680000305, -0.004772760905325413, -0.03071962483227253, -0.007292254362255335, 0.02203761786222458, -0.020466381683945656, 0.010671821422874928, 0.03647155314683914, 0.012941079214215279, -0.006439976394176483, -0.0008612422971054912, -0.009298216551542282, -0.017664765939116478, 0.023697610944509506, 0.028383607044816017, -0.039307452738285065, -0.008897875435650349, 0.02250591292977333, -0.051747675985097885, -0.006583561189472675, 0.006755199749022722, -0.025587070733308792, -0.004677514545619488, 0.0174100324511528, 0.016959626227617264, 0.0063577089458703995, -0.023728182539343834, -0.0461123064160347, 0.03310580924153328, -0.028822634369134903, -0.02453431859612465, -0.00580659881234169, 0.0029384854715317488, 0.0070563857443630695, -0.026645949110388756, 0.012220830656588078, 0.0026699083391577005, 0.005041894502937794, -0.0057555316016077995, 0.002284449990838766, 0.002807102631777525, -0.020270679146051407, 0.02420593611896038, -0.021032171323895454, 0.013169999234378338, 0.0006557094166055322, 0.03985906392335892, 0.032302871346473694, -0.02185509167611599, 0.02391091175377369, -0.04654442518949509, -0.03467005491256714, -0.006295066326856613, 0.005214081611484289, 0.06018756330013275, 0.018817607313394547, -0.005035604350268841, -0.014690184965729713, -0.013085338287055492, 0.02191433310508728, 0.03172248601913452, -0.02265200950205326, 0.03305233269929886, 0.004308509174734354, 0.014562373049557209, -0.06278745085000992, -0.004468170460313559, 0.001287513761781156, -0.03578086569905281, -0.016209347173571587, 0.8427519202232361, -0.011347321793437004, 0.0448913611471653, 0.012298809364438057, -0.007633198518306017, -0.0034608941059559584, -0.02925175428390503, -0.029934478923678398, -0.00885074120014906, -0.014439129270613194, -0.027448194101452827, 0.010164640843868256, -0.00463952636346221, 0.011918287724256516, 0.015964718535542488, 0.017374297603964806, -0.008697627112269402, 0.01547026727348566, -0.00644307304173708, -0.007408922538161278, 0.014221069402992725, -0.029645178467035294, -0.04798530787229538, -0.02340802736580372, -0.019207967445254326, 0.007131742779165506, -0.20676366984844208, 0.020833242684602737, -8.87083064959796e-33, -0.010192238725721836, 0.014881698414683342, -0.0013235375517979264, 0.025372562929987907, 0.03449171781539917, -0.05163448303937912, 0.04336509481072426, 0.02695523388683796, 0.0085514010861516, -0.028051231056451797, 0.01097487099468708, -0.024914411827921867, 0.0298348106443882, -0.004775853827595711, 0.033309582620859146, -0.009516792371869087, 0.023094186559319496, 0.0333574041724205, -0.03136752173304558, -0.0007907216204330325, 0.033522553741931915, 0.05713582783937454, 0.03854355216026306, -0.04763782024383545, 0.016413690522313118, 0.027939049527049065, 0.016733044758439064, 0.03850511461496353, -0.01059458963572979, -0.041489314287900925, 0.003883559489622712, 0.010462452657520771, -0.007389101665467024, 0.010325909592211246, 0.03339668735861778, -0.034039705991744995, 0.005568494088947773, 0.00790584459900856, -0.048709601163864136, -0.02814023196697235, -0.029419774189591408, -0.0262933149933815, -0.023835523054003716, 0.003115069819614291, -0.021314259618520737, -0.028185702860355377, -0.027961816638708115, -0.027733251452445984, 0.011958107352256775, 0.0000392591864510905, 0.05903388187289238, 0.01733093149960041, -0.027957292273640633, 0.024099178612232208, -0.013292389921844006, 0.010256137698888779, -0.03200967237353325, 0.03384491428732872, -0.004974009469151497, 0.04387886822223663, -0.007896384224295616, -0.026935935020446777, -0.019449790939688683, 0.014709522016346455, 0.006188939791172743, -0.0317511186003685, 0.0495767816901207, -0.02486499585211277, 0.010183397680521011, -0.044162239879369736, -0.019884813576936722, -0.032033372670412064, -0.02624180167913437, 0.005276430398225784, 0.013910073786973953, -0.010271359235048294, -0.0034772800281643867, -0.011299293488264084, 0.013980472460389137, 0.01949879713356495, -0.008306793868541718, -0.02242477610707283, -0.0017510907491669059, -0.007994177751243114, -0.021479979157447815, 0.0058777290396392345, 0.026294102892279625, 0.007209482602775097, 0.012905090115964413, 0.039069171994924545, 0.030055979266762733, 0.001018889481201768, -0.0033145579509437084, -0.011225156486034393, -0.02583995833992958, 7.841129924372284e-33, -0.03920534625649452, -0.031649619340896606, -0.046343158930540085, 0.017981629818677902, -0.030032895505428314, -0.0011740621412172914, 0.02409912459552288, 0.04038546234369278, -0.06641460210084915, 0.00730612687766552, -0.02714509516954422, 0.02053256891667843, 0.0064176213927567005, 0.06892728060483932, 0.057595394551754, -0.02207360602915287, 0.00911003164947033, -0.024433327838778496, 0.015005419962108135, 0.004328198730945587, 0.05185519531369209, 0.01815911941230297, 0.022831890732049942, 0.01758534647524357, -0.0002987533516716212, 0.04761650040745735, -0.030306492000818253, 0.03444289043545723, -0.005526200868189335, -0.011467074044048786, 0.006918016821146011, 0.0038356087170541286, 0.01803627982735634, -0.04197145625948906, -0.03801000863313675, 0.031163835898041725, 0.005623653065413237, -0.0010576649801805615, 0.0011307033710181713, 0.015833742916584015, 0.004893751814961433, -0.06047430634498596, -0.01720336638391018, 0.023137027397751808, 0.005736293271183968, -0.005070127546787262, -0.0022582663223147392, 0.01241679210215807, 0.009360847063362598, 0.06700596958398819, 0.03211699426174164, 0.021275721490383148, -0.0015621784841641784, 0.014942512847483158, 0.022654173895716667, 0.008690834045410156, -0.036959726363420486, 0.0028788703493773937, -0.022262994199991226, 0.023207083344459534, -0.03661034256219864, -0.005583289545029402, -0.022847501561045647, 0.04592236503958702, -0.006306552793830633, -0.026813199743628502, -0.028452562168240547, -0.038120053708553314, 0.0031828132923692465, -0.017831020057201385, 0.001612184219993651, 0.003929662052541971, -0.025079796090722084, 0.010206815786659718, 0.01500020083039999, -0.04269084334373474, 0.010179085657000542, 0.00709568290039897, 0.005939772352576256, 0.008005345240235329, 0.0033770864829421043, 0.001087218290194869, 0.029550785198807716, 0.02183462120592594, -0.00579033512622118, 0.004445585887879133, -0.018557529896497726, 0.011005560867488384, 0.002655381103977561, -0.028217807412147522, -0.02557285688817501, -0.0016289601335301995, -0.049031808972358704, 0.009830014780163765, -0.004191666841506958, -1.3547522215162644e-8, -0.03303387761116028, 0.05289711430668831, -0.014377135783433914, 0.041876014322042465, 0.01934797689318657, 0.006394794676452875, -0.036166973412036896, 0.0017688859952613711, 0.007895203307271004, 0.010662322863936424, 0.005548231303691864, -0.015348759479820728, -0.010491459630429745, -0.00732579967007041, 0.001889126724563539, -0.043718885630369186, -0.006103250663727522, -0.012619142420589924, 0.012508111074566841, 0.002432154258713126, -0.00473193870857358, 0.02247103676199913, -0.018212677910923958, 0.023817429319024086, 0.03732375428080559, -0.007597519550472498, 0.04706947132945061, -0.06230918690562248, 0.0019443908240646124, 0.017420412972569466, -0.009602002799510956, -0.019201816990971565, -0.022878697142004967, -0.008335772901773453, -0.034711599349975586, -0.010706774890422821, 0.00457196356728673, -0.010906390845775604, 0.03085736744105816, 0.013739141635596752, 0.013806521892547607, 0.0032464414834976196, 0.014171088114380836, -0.019109142944216728, -0.005249509122222662, 0.041022785007953644, 0.00841697957366705, -0.012231850065290928, 0.019086942076683044, -0.057405292987823486, -0.04534421116113663, 0.013464197516441345, -0.005826564505696297, 0.03241880238056183, 0.009160122834146023, -0.0034477338194847107, 0.0054281288757920265, -0.022194357588887215, -0.00013725110329687595, 0.05626755207777023, 0.006814820691943169, 0.033023349940776825, -0.04976880922913551, -0.03588894382119179 ]
c-removing-duplication-in-mapping-code-with-partial-classes
https://markhneedham.com/blog/2009/07/07/c-removing-duplication-in-mapping-code-with-partial-classes
false
2009-07-07 09:05:57
Domain Driven Design: Anti Corruption Layer
[ "domain-driven-design" ]
[ "Domain Driven Design" ]
I previously wrote about http://www.markhneedham.com/blog/2009/03/30/ddd-recognising-relationships-between-bounded-contexts/[some] http://www.markhneedham.com/blog/2009/07/04/domain-driven-design-conformist/[of] http://www.markhneedham.com/blog/2009/03/10/ddd-repository-not-only-for-databases/[the] http://domaindrivendesign.org[Domain Driven Design] patterns we have noticed on my project and I think the pattern which ties all these together is the anti corruption layer. The reason why you might use an anti corruption layer is to create a little padding between subsystems so that they do not leak into each other too much. ____ Remember, an ANTICORRUPTION LAYER is a means of linking two BOUNDED CONTEXTS. Ordinarily, we are thinking of a system created by someone else; we have incomplete understanding of the system and little control over it. ____ Even if the model we are using is being defined by an external subsystem I think it still makes sense to have an anti corruption layer, no matter how thin, to restrict any future changes we need to make in our code as a result of external system changes to that layer. In our case the anti corruption layer is a variation on the repository pattern although we do have one repository per service rather than one repository per aggregate root so it's not quite the same as the Domain Driven Design definition of this pattern. image::{{<siteurl>}}/uploads/2009/07/anti-corruption.gif[anti-corruption.gif,537] The mapping code is generally just used to go from our our representation of the domain to a representation of the domain in auto generated from an xsd file. We also try to ensure that any http://www.markhneedham.com/blog/2009/03/25/coding-isolate-the-data-not-just-the-endpoint/[data which is only important to the service layer] doesn't find its way into the rest of our code. The code looks a bit similar to this: [source,csharp] ---- public class FooRepository { private readonly FooService fooService; public FooRepository(FooService fooService) { this.fooService = fooService; } public Foo RetrieveFoo(int fooId) { var xsdGeneratedFooRequest = new FooIdToXsdFooRequestMapper().MapFrom(fooId); var xsdGeneratedFooResponse = fooService.RetrieveFoo(xsdGeneratedFooRequest); return new XsdFooResponseToFooMapper().MapFrom(xsdGeneratedFooResponse); } } ---- [source,csharp] ---- public class FooIdToXsdFooRequestMapper { public XsdGeneratedFooRequest MapFrom(int fooId) { return new XsdGeneratedFooRequest { fooId = fooId }; } } ---- [source,csharp] ---- public class XsdFooResponseToFooMapper { public Foo MapFrom(XsdGeneratedFooResponse xsdGeneratedFooResponse) { var bar = MapToBar(xsdGeneratedFooResponse.Bar); // and so on return new Foo(bar); } } ---- Right now we are transitioning our code to a place where it http://www.markhneedham.com/blog/2009/07/04/domain-driven-design-conformist/[conforms more closely to the model being defined in the service layer] so inside some of the mappers there is some code which is complicated in terms of the number of branches it has but doesn't really add much value. We are in the process of moving to a stage where the mappers will just be moving data between data structures with minimal logic for working out how to do so. This will lead to a much simpler anti corruption layer but I think it will still add value since the coupling between the sub systems will be contained mainly to the mapper and repository classes and the rest of our code doesn't need to care about it.
null
null
[ 0.0030217058956623077, -0.013631456531584263, -0.02137407660484314, 0.06984804570674896, 0.08862794935703278, -0.02022291161119938, 0.014459166675806046, 0.01432347483932972, 0.012007014825940132, -0.01795188896358013, -0.01587079092860222, -0.016666671261191368, -0.06575509160757065, 0.02920975722372532, -0.014121390879154205, 0.06374288350343704, 0.052786558866500854, -0.020499126985669136, 0.053981807082891464, 0.010637004859745502, 0.01796250231564045, 0.025816552340984344, -0.00892830453813076, 0.03193389251828194, 0.04720285162329674, 0.035463426262140274, 0.007984859868884087, 0.021172627806663513, -0.046673484146595, -0.007842623628675938, 0.06275353580713272, 0.005013635382056236, 0.00824655406177044, 0.013429293408989906, 0.017951421439647675, -0.008799540810286999, -0.04986671730875969, 0.00014638125139754266, -0.004005729220807552, 0.0014502698322758079, -0.0728825107216835, 0.025806166231632233, -0.018309568986296654, 0.020562276244163513, -0.052576981484889984, -0.00537313474342227, -0.06515330076217651, 0.010896548628807068, -0.006621283944696188, -0.005455118138343096, -0.06264997273683548, 0.027566174045205116, -0.03362349048256874, 0.010411718860268593, -0.009497931227087975, 0.04889388754963875, 0.032171089202165604, -0.07775502651929855, 0.008217309601604939, -0.040082838386297226, -0.011961097829043865, -0.025902047753334045, -0.001050648745149374, 0.007624697871506214, 0.017580492421984673, -0.014317217282950878, -0.015619956888258457, 0.03308133780956268, -0.04085691645741463, 0.005782479420304298, 0.009224437177181244, 0.017744047567248344, 0.019061727449297905, 0.015783460810780525, -0.006831611506640911, -0.040389467030763626, 0.00016369570221286267, 0.043654974550008774, 0.03719865158200264, 0.05160786211490631, -0.027171533554792404, 0.0019131877925246954, 0.015011882409453392, 0.02065413072705269, -0.005660664290189743, -0.047088827937841415, -0.014827802777290344, -0.0018444465240463614, -0.03535492718219757, 0.055859532207250595, -0.013428139500319958, -0.059271980077028275, 0.024812553077936172, 0.03371690958738327, -0.009062351658940315, -0.009813833981752396, 0.018595242872834206, 0.029334167018532753, 0.010637941770255566, -0.002549421042203903, -0.006802349351346493, -0.012593980878591537, -0.005586570128798485, 0.018410317599773407, -0.06810447573661804, -0.015321148559451103, -0.05674426630139351, -0.03582758456468582, 0.004198686219751835, -0.0030055115930736065, -0.03261731564998627, 0.016787055879831314, -0.01963181048631668, -0.018713708966970444, -0.07222245633602142, 0.05395856872200966, -0.0015606199158355594, -0.04567745700478554, -0.0022321681026369333, 0.027190037071704865, 0.04577970132231712, -0.002068947535008192, -0.02726556919515133, 0.06665486097335815, 0.019798243418335915, 0.015384364873170853, -0.01450832188129425, 0.045667752623558044, -0.04404539614915848, -0.05931704118847847, 0.017403066158294678, 0.03366931527853012, -0.02284380793571472, -0.006834058091044426, -0.0035007710102945566, -0.04454561322927475, -0.008574321866035461, 0.0050828466191887856, 0.04791007936000824, 0.041495051234960556, -0.00924690905958414, -0.06974977254867554, 0.010746097192168236, -0.014781657606363297, 0.026049498468637466, 0.005559985991567373, -0.0033193815033882856, -0.03661629930138588, -0.02240944653749466, 0.006761426571756601, 0.023106632754206657, 0.07473596930503845, 0.011251382529735565, -0.050177380442619324, 0.030615760013461113, 0.09291775524616241, 0.03186909109354019, 0.017565393820405006, -0.004329741932451725, 0.05571665242314339, 0.022969448938965797, 0.03166031464934349, 0.004567519761621952, 0.043458566069602966, 0.031132517382502556, -0.015612789429724216, -0.00554752629250288, 0.056536830961704254, 0.01680869422852993, 0.0034070054534822702, -0.07238659262657166, -0.08000698685646057, 0.05756346508860588, -0.058450452983379364, 0.003869805485010147, 0.03360650688409805, 0.07510533183813095, 0.03653514385223389, 0.03775041550397873, -0.009802413173019886, -0.07773318886756897, 0.006870551500469446, 0.01293130125850439, 0.025861158967018127, 0.012276259250938892, -0.016478002071380615, 0.06639035791158676, 0.0397019237279892, -0.006845018360763788, 0.05582727864384651, -0.08778981119394302, -0.05926121026277542, -0.0039017549715936184, -0.01886863075196743, 0.05345940589904785, -0.00884974468499422, -0.012168161571025848, 0.07901687175035477, -0.002385372994467616, 0.0665304958820343, 0.023081229999661446, 0.004550407640635967, 0.006244354881346226, -0.05800793692469597, -0.008064916357398033, 0.03768723085522652, 0.03985311836004257, -0.003034546971321106, -0.03919855132699013, -0.013367382809519768, 0.0060403114184737206, 0.0023446495179086924, 0.03747145086526871, -0.03253282234072685, 0.029942788183689117, -0.02447567693889141, 0.039516616612672806, -0.027164703235030174, 0.05981598049402237, -0.06857825070619583, 0.01793867163360119, -0.003921871539205313, -0.042919326573610306, 0.039076920598745346, -0.01015845499932766, 0.10809681564569473, 0.04812713712453842, -0.029204178601503372, -0.04340112954378128, 0.017970988526940346, -0.004160240758210421, -0.020972447469830513, 0.009730958379805088, -0.04134045168757439, 0.007450562436133623, 0.025067925453186035, -0.03748394548892975, -0.02373073250055313, 0.02340298518538475, -0.008929555304348469, 0.007734709419310093, 0.07581399381160736, -0.03234782814979553, 0.03668200597167015, -0.026145324110984802, -0.0029837731271982193, 0.009868692606687546, -0.02003944106400013, -0.06656230241060257, -0.000478728354210034, -0.006879043765366077, -0.00695944344624877, 0.05781678855419159, -0.012986143119633198, -0.0080069275572896, -0.036717988550662994, -0.022066781297326088, 0.0018893149681389332, -0.0077360207214951515, 0.07415740936994553, -0.03998612239956856, 0.055098533630371094, -0.0204608291387558, 0.014747449196875095, -0.002195473527535796, -0.037278398871421814, -0.021407747641205788, 0.013872557319700718, 0.011524878442287445, 0.012542709708213806, 0.01498348731547594, 0.01669187843799591, 0.03236923739314079, -0.008040914312005043, -0.012819481082260609, -0.02078326605260372, 0.04126869887113571, 0.0289947297424078, -0.03064270131289959, -0.011612709611654282, -0.04178471118211746, 0.037739407271146774, -0.04429583251476288, -0.02004408836364746, -0.005112673621624708, -0.07890944927930832, 0.06439991295337677, -0.08436083048582077, -0.059248846024274826, 0.007690990809351206, 0.043955717235803604, 0.038384851068258286, -0.01672811433672905, 0.01982569694519043, 0.07044964283704758, 0.03989381715655327, -0.006130722817033529, 0.005174604710191488, 0.014098867774009705, 0.01756764017045498, -0.012581314891576767, 0.011606108397245407, 0.03166203200817108, 0.008967417292296886, 0.0015064629260450602, -0.05887959152460098, 0.015385107137262821, 0.0063782925717532635, -0.2938109338283539, 0.020997071638703346, 0.005401421803981066, -0.0435490608215332, 0.04477587714791298, -0.01623397134244442, 0.021235423162579536, -0.03739243373274803, -0.010542822070419788, -0.00450316583737731, -0.026229389011859894, -0.06215347349643707, 0.010937661863863468, 0.03940703347325325, -0.004225791431963444, 0.041749611496925354, 0.026532713323831558, -0.03085632435977459, 0.003794101532548666, 0.04414461553096771, -0.016391189768910408, -0.05972512811422348, -0.0014558307593688369, 0.0355597585439682, 0.012259354814887047, 0.049620628356933594, -0.07553697377443314, 0.03484746068716049, -0.047823045402765274, -0.0033418082166463137, 0.0093686543405056, 0.011214246042072773, -0.009238009341061115, -0.016529778018593788, -0.033527273684740067, -0.016152482479810715, 0.01893620193004608, 0.03517143428325653, -0.014504171907901764, 0.024122178554534912, -0.01779799908399582, -0.03616807609796524, 0.010079204104840755, 0.00332362181507051, 0.07185671478509903, 0.014811921864748001, -0.08062168955802917, -0.015268170274794102, -0.02233402244746685, 0.08951053023338318, -0.03173647075891495, -0.039710741490125656, 0.0010510468855500221, 0.02615005150437355, -0.029604950919747353, -0.018177565187215805, 0.006111468654125929, -0.03436043858528137, -0.051083918660879135, -0.021650761365890503, -0.010968322865664959, -0.05892551317811012, -0.002244258299469948, -0.05120572820305824, 0.015302942134439945, -0.034986358135938644, -0.070510134100914, -0.012695186771452427, 0.05938717722892761, 0.044844284653663635, -0.017333829775452614, 0.04017062485218048, -0.0019712550565600395, -0.12940026819705963, -0.0022551785223186016, -0.04184161126613617, -0.017206992954015732, -0.0347219742834568, 0.044920966029167175, 0.015850169584155083, -0.03067772090435028, -0.04147026315331459, 0.009454268030822277, 0.030683428049087524, -0.003696675645187497, -0.019959399476647377, 0.05138391628861427, -0.017827283591032028, -0.03959571197628975, 0.026183603331446648, 0.055409807711839676, -0.005834813695400953, -0.018265798687934875, -0.03327471762895584, 0.011919587850570679, 0.011431591585278511, 0.013666454702615738, 0.001351573970168829, -0.005073146428912878, 0.012354008853435516, 0.04386360943317413, -0.06763238459825516, 0.023105012252926826, -0.02311830222606659, -0.009090968407690525, -0.021944301202893257, -0.028332961723208427, 0.008943051099777222, 0.03343634307384491, 0.016247518360614777, -0.010869919322431087, -0.04440728574991226, 0.018811684101819992, -0.06516023725271225, -0.02946307323873043, -0.02954617142677307, 0.0017252395628020167, 0.024155260995030403, 0.008755658753216267, -0.03694770112633705, -0.030953330919146538, 0.030626831576228142, 0.023959308862686157, -0.0029097264632582664, -0.049352340400218964, -0.02802334912121296, -0.021120822057127953, -0.004342584405094385, 0.03493062034249306, 0.009845373220741749, 0.010500006377696991, 0.03254682570695877, 0.007009117864072323, -0.05339105427265167, 0.02042522095143795, -0.002806505188345909, -0.03469276428222656, -0.015935957431793213, -0.01312288735061884, -0.011157538741827011, 0.01405237428843975, 0.021769408136606216, 0.02644759602844715, 0.0061371964402496815, 0.06795518845319748, 0.011577442288398743, 0.05381627008318901, 0.002902551554143429, 0.05433735251426697, 0.001774379750713706, 0.020979711785912514, -0.05376017838716507, 0.027458902448415756, -0.04715596139431, -0.030558127909898758, -0.016603657975792885, 0.04986417666077614, -0.002717758994549513, -0.03216804191470146, -0.036650802940130234, 0.014384296722710133, -0.05538063496351242, -0.021177932620048523, -0.016566451638936996, 0.00815544743090868, 0.07030896097421646, -0.04238563030958176, 0.024109428748488426, -0.0026969516184180975, -0.027533264830708504, 0.01578722894191742, 0.029026098549365997, -0.028421645984053612, 0.019144272431731224, 0.009467175230383873, 0.01441267877817154, -0.013220284134149551, 0.01167332287877798, 0.051706358790397644, 0.024774113669991493, -0.007446304429322481, -0.016718333587050438, 0.008429440669715405, 0.003980136476457119, 0.05956709384918213, 0.025205735117197037, 0.001191580668091774, 0.017036007717251778, -0.02964050881564617, 0.0045781186781823635, -0.02089032158255577, -0.0074789575301110744, -0.009891876019537449, 0.015862612053751945, -0.030075959861278534, -0.06814827024936676, 0.06289149820804596, 0.013724015094339848, 0.004618005361407995, 0.01291621383279562, 0.009605233557522297, 0.012887818738818169, -0.017008116468787193, 0.054028552025556564, 0.04617920517921448, -0.048783112317323685, 0.02651297114789486, 0.01266835629940033, 0.008246778510510921, 0.015410544350743294, 0.03368298336863518, -0.05182944983243942, -0.049912210553884506, -0.043117064982652664, 0.017660556361079216, -0.05708397924900055, -0.013111052103340626, -0.01978086307644844, 0.046746909618377686, 0.013597410172224045, 0.003396340413019061, -0.0005596167175099254, 0.004351106006652117, 0.0356486439704895, -0.023703522980213165, 0.018743442371487617, -0.011781420558691025, -0.016381338238716125, -0.01381914783269167, -0.04388640075922012, 0.005536545999348164, -0.019976049661636353, 0.013196319341659546, 0.014592978172004223, -0.03716396912932396, -0.012571407482028008, -0.02932192198932171, 0.018809909000992775, -0.025246689096093178, 0.03247419372200966, -0.018848992884159088, -0.019315822049975395, -0.019674435257911682, 0.008484292775392532, -0.037714436650276184, 0.03137769177556038, -0.030407464131712914, -0.00022946367971599102, -0.006016960367560387, 0.05852619931101799, 0.016636913642287254, 0.06063014641404152, -0.014750240370631218, -0.005474315024912357, 0.04700084030628204, -0.09493305534124374, -0.02496468648314476, -0.06012466549873352, -0.050355564802885056, 0.0033136149868369102, 0.0005419589579105377, 0.004941356368362904, -0.00628238869830966, 0.024937829002738, 0.03461621701717377, 0.029503386467695236, 0.049245771020650864, 0.025087721645832062, 0.06747201085090637, -0.05140145123004913, -0.025389477610588074, -0.06825382262468338, 0.04259081557393074, 0.032073765993118286, 0.012835178524255753, -0.025478236377239227, -0.004080343060195446, -0.04006103798747063, 0.03972379490733147, -0.060004837810993195, -0.041356973350048065, 0.01479721162468195, 0.006411220878362656, -0.010265246964991093, -0.006206035148352385, -0.060240305960178375, 0.01368866115808487, 0.034234024584293365, -0.04601242393255234, -0.060322780162096024, -0.02800210565328598, 0.03405213728547096, 0.021718105301260948, 0.01915978454053402, -0.045343972742557526, -0.0027692413423210382, 0.06468207389116287, 0.0027238051407039165, 0.005217019002884626, 0.051820307970047, -0.008624659851193428, 0.04906117916107178, 0.019658900797367096, -0.006110151764005423, 0.0048365406692028046, -0.011471545323729515, -0.017833447083830833, -0.06690744310617447, 0.04313982278108597, 0.005038678180426359, -0.008182951249182224, -0.041558537632226944, 0.05948929861187935, 0.042554501444101334, -0.0351661778986454, -0.04354752600193024, 0.02596498467028141, -0.04507417604327202, -0.018379393965005875, -0.008420618250966072, 0.0009994468418881297, -0.021917764097452164, 0.05928526818752289, 0.009131943807005882, 0.01950063742697239, 0.059348318725824356, 0.014005518518388271, -0.027613691985607147, 0.0011700864415615797, 0.0903148427605629, 0.0753941461443901, 0.022546302527189255, -0.006897644605487585, 0.049978382885456085, -0.026182137429714203, -0.015176660381257534, 0.010257797315716743, -0.028627654537558556, -0.012216486036777496, -0.02418753132224083, 0.005330431275069714, 0.05886351317167282, -0.017087707296013832, 0.07778748869895935, -0.020505325868725777, -0.02189377136528492, 0.002630123170092702, -0.008322375826537609, 0.040768008679151535, 0.05725057050585747, 0.01205370668321848, 0.020331211388111115, -0.004938507452607155, -0.01612243242561817, 0.005827926564961672, -0.006064634304493666, -0.01008562557399273, 0.01659286767244339, 0.004008854273706675, -0.0042820097878575325, -0.009387120604515076, 0.026946354657411575, 0.08450406044721603, -0.023336365818977356, 0.0026096138171851635, -0.014616264961659908, -0.004907791968435049, 0.0008139651035889983, 0.006632959935814142, -0.0022293112706393003, -0.02953302301466465, -0.012116590514779091, -0.03463068604469299, -0.028877809643745422, -0.01423158310353756, -0.03968258574604988, 0.04835131764411926, -0.007068850100040436, -0.021018050611019135, 0.01766693778336048, -0.010024748742580414, -0.016729597002267838, -0.04600274935364723, -0.06080470606684685, -0.01798587664961815, -0.054558929055929184, -0.02204224094748497, 0.01473067793995142, 0.0011404913384467363, -0.0348246805369854, -0.03489414602518082, -0.02250356785953045, -0.026938697323203087, 0.06052572280168533, -0.040349945425987244, -0.01867705211043358, 0.010816396214067936, 0.03810010850429535, 0.03346991539001465, 0.02845602110028267, 0.05383245274424553, -0.0032524236012250185, -0.008590794168412685, -0.04650682210922241, 0.003944168332964182, 0.026484515517950058, 0.016290200874209404, 0.015599917620420456, -0.0924985334277153, 0.013963116332888603, 0.022638902068138123, -0.01639930158853531, -0.08260705322027206, 0.045774709433317184, 0.008504968136548996, -0.013286515139043331, 0.03245147690176964, -0.033418264240026474, -0.013226326555013657, -0.010627378709614277, -0.007173025980591774, -0.013504620641469955, 0.00497019849717617, 0.044615160673856735, -0.006018317304551601, 0.07183407247066498, 0.065634585916996, -0.01819700188934803, -0.05130727216601372, 0.005730109289288521, -0.01794586330652237, 0.01118436548858881, -0.025678643956780434, -0.026840610429644585, -0.034740615636110306, -0.0664537325501442, -0.025544583797454834, 0.021000130102038383, -0.04392397776246071, -0.0523575022816658, 0.016886454075574875, 0.03187500685453415, -0.06741209328174591, -0.0017522211419418454, -0.030286574736237526, 0.02715234085917473, -0.028141101822257042, -0.031070683151483536, -0.015548436902463436, 0.03011760674417019, 0.007952045649290085, 0.015953464433550835, 0.0328686386346817, -0.0633547455072403, 0.002655632793903351, -0.009390600956976414, 0.037377554923295975, 0.033313147723674774, 0.01446023490279913, 0.006488298065960407 ]
[ -0.07620127499103546, -0.013560475781559944, -0.027215754613280296, -0.04507351666688919, 0.07294947654008865, -0.05206954479217529, -0.03562909737229347, 0.0022891939152032137, -0.017447546124458313, -0.03593628108501434, -0.01754809357225895, -0.013287591747939587, 0.025253940373659134, -0.022060610353946686, 0.07482253015041351, 0.020156970247626305, -0.01979268155992031, -0.011162341572344303, 0.0611339695751667, 0.04715318977832794, 0.017211131751537323, -0.03491656109690666, -0.05446086823940277, -0.0289959404617548, -0.0020513127092272043, 0.05603884533047676, 0.05673078075051308, -0.05117737501859665, 0.003369047772139311, -0.2317243069410324, 0.004998708143830299, 0.027405185624957085, 0.01714782975614071, -0.03222537040710449, 0.01985803246498108, 0.030318886041641235, 0.03374914079904556, 0.012658602558076382, 0.00948916282504797, 0.012398796156048775, -0.011787565425038338, 0.01785905286669731, -0.009125771000981331, -0.00529432762414217, 0.012671608477830887, -0.019361915066838264, -0.009856813587248325, -0.020991625264286995, -0.03694847971200943, -0.02758745290338993, -0.030315209180116653, 0.012250382453203201, -0.030077092349529266, 0.005278962664306164, -0.033730439841747284, 0.01577228121459484, 0.03649835288524628, 0.07866308838129044, -0.006209583021700382, -0.00031496110022999346, 0.019701723009347916, 0.018000910058617592, -0.1365237534046173, 0.0964348316192627, 0.036315008997917175, 0.0795234814286232, -0.01577165350317955, -0.026853755116462708, -0.013130995444953442, 0.07593057304620743, 0.003310123225674033, -0.02428622916340828, -0.075141541659832, 0.024756155908107758, 0.023903872817754745, -0.011315373703837395, -0.011276757344603539, 0.027348805218935013, 0.02091076783835888, -0.04367389529943466, -0.040272898972034454, 0.0050577400252223015, -0.02073373645544052, 0.019555456936359406, -0.04424027353525162, 0.0127125084400177, 0.0030913460068404675, 0.017479047179222107, 0.0026992049533873796, 0.035943206399679184, 0.023235009983181953, -0.015835074707865715, 0.06298168748617172, -0.022135788574814796, -0.09653951227664948, 0.0027333430480211973, -0.015086760744452477, 0.031843479722738266, -0.002694140188395977, 0.41217294335365295, -0.02985144965350628, -0.04285907372832298, 0.033196594566106796, 0.020701183006167412, 0.010709509253501892, 0.03596676513552666, 0.01604258455336094, -0.04281654208898544, 0.03923841565847397, -0.0074002705514431, 0.015076772309839725, -0.014633147977292538, 0.01977568119764328, -0.0522637665271759, 0.03355199471116066, -0.023573918268084526, -0.013742975890636444, 0.024990350008010864, -0.04057133570313454, -0.022713908925652504, -0.047857534140348434, 0.0023511983454227448, 0.02559809945523739, 0.021306753158569336, 0.006366868503391743, 0.0008186266059055924, 0.01005865354090929, 0.056764863431453705, 0.05722222849726677, 0.02534434013068676, 0.02009664475917816, -0.047852516174316406, -0.05252519249916077, -0.005203790497034788, 0.01544983685016632, 0.007744206581264734, 0.003434627316892147, -0.001934868167154491, -0.024776019155979156, 0.020520316436886787, -0.027155021205544472, 0.00983409769833088, 0.03279471397399902, 0.008191381581127644, -0.059062156826257706, 0.09286826848983765, 0.0011091124033555388, -0.025641530752182007, -0.0294929351657629, -0.0011856796918436885, 0.0018349697347730398, 0.04790094122290611, 0.00783331599086523, -0.060818541795015335, -0.0031165967229753733, 0.05037064850330353, 0.06059112772345543, -0.0073857055976986885, -0.057418305426836014, -0.018121710047125816, 0.005560303572565317, -0.038822613656520844, -0.05106419324874878, 0.12266011536121368, 0.037135813385248184, -0.11126500368118286, -0.01846078597009182, 0.014414678327739239, 0.03251134976744652, -0.06241259351372719, -0.0032343368511646986, -0.017422562465071678, 0.019183026626706123, -0.034162718802690506, 0.0265408493578434, -0.03663402423262596, -0.02617841772735119, -0.0018683738308027387, 0.028998617082834244, 0.023757128044962883, -0.01211059931665659, 0.012776531279087067, -0.045148540288209915, 0.0066519263200461864, -0.03553245589137077, -0.09144246578216553, -0.0743480920791626, 0.02743222564458847, -0.03758733347058296, -0.02722935564815998, -0.04272368177771568, -0.012734277173876762, -0.08771203458309174, 0.09048954397439957, -0.007141606416553259, -0.031411733478307724, 0.023244932293891907, 0.023472407832741737, -0.032207272946834564, -0.013265076093375683, -0.0022610581945627928, 0.07714630663394928, -0.05054595321416855, -0.008587433956563473, -0.05361410602927208, 0.0433882512152195, 0.04542112350463867, -0.0383959598839283, -0.006604649126529694, 0.04010550677776337, -0.046671219170093536, 0.017383165657520294, -0.005413990933448076, 0.0182352252304554, 0.003499094396829605, 0.005707687698304653, 0.029428010806441307, 0.032836876809597015, -0.013275658711791039, 0.031791772693395615, -0.008717614226043224, 0.0019922982901334763, -0.006001344416290522, -0.36529120802879333, -0.05173811689019203, -0.06922315061092377, 0.003416075138375163, 0.01846635900437832, -0.03592439740896225, 0.04058331623673439, -0.005055418238043785, -0.04832195118069649, 0.02171681448817253, 0.08269251883029938, 0.005409162491559982, -0.015614412724971771, -0.050989896059036255, -0.043957360088825226, 0.02239341475069523, 0.014751430600881577, -0.03464445099234581, -0.07037602365016937, -0.019296826794743538, 0.014430652372539043, -0.014872252009809017, 0.039181552827358246, -0.04513927921652794, -0.0030989095102995634, -0.006289168260991573, 0.1030852198600769, -0.04452073201537132, 0.07468115538358688, -0.004785999655723572, 0.038117799907922745, 0.005741788074374199, 0.02723199687898159, -0.1100090891122818, 0.004444434307515621, -0.026949284598231316, 0.010507291182875633, 0.0076039573177695274, 0.01965072751045227, -0.04936077445745468, -0.07296081632375717, 0.006727184634655714, -0.04178274795413017, -0.06026891991496086, -0.026761801913380623, -0.007352076005190611, -0.03556778281927109, -0.03423811495304108, -0.017965910956263542, 0.07347789406776428, -0.008074093610048294, -0.0036078968551009893, 0.013155322521924973, 0.056379809975624084, -0.003122353693470359, 0.008912320248782635, -0.05596635490655899, -0.01491871289908886, 0.024804916232824326, -0.00456554489210248, 0.0325002558529377, 0.06073818728327751, 0.021227961406111717, -0.0803089365363121, -0.012644370086491108, -0.011413335800170898, -0.015250995755195618, 0.005209000315517187, 0.07127539813518524, -0.014730737544596195, 0.0027812670450657606, 0.11385153979063034, -0.015579331666231155, -0.03516332060098648, 0.030345067381858826, 0.018249519169330597, -0.03824034333229065, 0.02345196157693863, -0.017341606318950653, 0.007981597445905209, 0.041522808372974396, -0.03682659566402435, 0.04474684223532677, -0.014186535030603409, 0.019911346957087517, 0.0420289970934391, 0.009516086429357529, -0.02217087522149086, 0.04345289245247841, 0.007942195981740952, -0.019370989874005318, -0.016886230558156967, -0.02334561198949814, -0.06015176326036453, 0.07028955966234207, 0.006898896303027868, -0.24231451749801636, 0.013574400916695595, 0.054409753531217575, 0.06641309708356857, -0.004209970124065876, 0.02546149305999279, 0.09425853937864304, -0.030465859919786453, 0.027656471356749535, -0.019815875217318535, 0.001953194150701165, 0.06120573729276657, 0.000112239780719392, 0.011180714704096317, 0.0346757173538208, -0.012553484179079533, 0.07494012266397476, -0.00009298761142417789, 0.004173388238996267, -0.03407970070838928, 0.0028050877153873444, -0.02485192008316517, 0.18057525157928467, -0.008310400880873203, 0.030254051089286804, 0.027051853016018867, 0.005424514878541231, 0.030243832617998123, 0.020428232848644257, 0.04664894565939903, -0.006488326005637646, -0.00697591295465827, 0.05008076876401901, -0.008933525532484055, 0.012355723418295383, -0.030023543164134026, -0.005776653997600079, 0.03940310701727867, 0.053304195404052734, 0.0014864690601825714, -0.00482060294598341, 0.005540906451642513, -0.03927627578377724, 0.07116836309432983, 0.06276551634073257, 0.01015545055270195, 0.016676129773259163, -0.0031649982556700706, -0.02106451988220215, 0.005548694636672735, -0.016595719382166862, -0.04522353783249855, 0.0034197098575532436, -0.025747958570718765, 0.0031944699585437775, 0.05422721058130264, 0.0034479934256523848, -0.02935531549155712, -0.00790891982614994, 0.01908724755048752, 0.020759841427206993, -0.026475369930267334, 0.09224100410938263, 0.029601668938994408, 0.024986011907458305 ]
[ -0.030269455164670944, -0.004503779113292694, 0.009943399578332901, 0.004282448440790176, 0.0046441503800451756, -0.04710947722196579, -0.014316882006824017, 0.02444402128458023, -0.01576996222138405, -0.0020477508660405874, -0.002963699633255601, 0.013185098767280579, 0.038094412535429, -0.03909342736005783, 0.041745491325855255, 0.009838380850851536, 0.02193397656083107, 0.004582648631185293, 0.0202964898198843, 0.01603804901242256, 0.0036473285872489214, 0.031420767307281494, -0.0010149328736588359, -0.01716424897313118, -0.03622528910636902, 0.02281075343489647, -0.037612151354551315, -0.008966605179011822, 0.03531786426901817, -0.13333381712436676, -0.0058473851531744, -0.03404790163040161, -0.011478803120553493, 0.011083047837018967, 0.002659032354131341, 0.01861104741692543, 0.011211307719349861, 0.018146270886063576, -0.02574044093489647, 0.007798759266734123, 0.023950813338160515, -0.012996817007660866, 0.02610155940055847, -0.011801336891949177, -0.005888942163437605, -0.023833053186535835, -0.016589149832725525, -0.018421832472085953, -0.00782572478055954, -0.020772038027644157, -0.011042674072086811, -0.011307897977530956, 0.011328686028718948, 0.031086711212992668, 0.006455461960285902, -0.008656109683215618, 0.020766491070389748, 0.044425565749406815, -0.03451832756400108, -0.019755272194743156, 0.013989708386361599, 0.025541169568896294, -0.032966405153274536, -0.0405149944126606, 0.016642088070511818, 0.01156636793166399, -0.002214120700955391, 0.01614525355398655, 0.01818070560693741, 0.0174057986587286, -0.034038420766592026, 0.02565525472164154, -0.041065338999032974, -0.025670472532510757, 0.015446082688868046, 0.042635828256607056, 0.009021676145493984, 0.0002466420701239258, 0.006465427577495575, -0.03379032760858536, -0.004075737204402685, 0.03393091633915901, 0.032534219324588776, -0.000414001609897241, -0.014383132569491863, 0.0005528177716769278, -0.009837636724114418, -0.014917165972292423, 0.01495556253939867, -0.003084614872932434, -0.005035474430769682, 0.011355802416801453, 0.005838502664119005, 0.019650498405098915, -0.0965472161769867, -0.005341933108866215, 0.01316756196320057, -0.02462967112660408, -0.02150946669280529, 0.8633983731269836, 0.01925060898065567, 0.029160700738430023, -0.006485823541879654, -0.017461571842432022, 0.005397225264459848, -0.008053001016378403, -0.008866420947015285, 0.03608103096485138, -0.002522489055991173, -0.033448509871959686, 0.033689867705106735, 0.009745331481099129, -0.013895194977521896, -0.008453593589365482, 0.01781916432082653, -0.019757624715566635, 0.007462410721927881, -0.026202339679002762, -0.015678128227591515, -0.017931891605257988, 0.022159922868013382, -0.006209849379956722, -0.013393023982644081, -0.017602797597646713, 0.009432907216250896, -0.21978291869163513, 0.013716096058487892, -8.307316290229018e-33, 0.029022734612226486, 0.007701789494603872, 0.014038901776075363, 0.010195480659604073, 0.017035964876413345, -0.018264682963490486, 0.00757803488522768, 0.025967581197619438, 0.0054456996731460094, -0.00148553098551929, -0.004112434573471546, -0.027098575606942177, 0.0041420371271669865, -0.014193028211593628, 0.03501807525753975, -0.026227714493870735, -0.013252690434455872, 0.023869091644883156, 0.0037777768447995186, 0.006377681624144316, 0.0340031199157238, 0.03204182907938957, 0.002855397993698716, -0.025375988334417343, 0.03066852129995823, 0.01736980862915516, -0.010713181458413601, 0.032664328813552856, -0.0008280270849354565, -0.03848281875252724, 0.013012148439884186, 0.0222480371594429, 0.017563965171575546, 0.008472980931401253, 0.0077043152414262295, -0.05520051717758179, -0.01894575171172619, 0.002032715827226639, -0.02758057974278927, -0.04110591858625412, -0.03471263125538826, -0.005156488623470068, -0.0191898625344038, 0.0025751099456101656, -0.0013677673414349556, -0.015693819150328636, 0.017373275011777878, -0.017804516479372978, 0.015879619866609573, -0.03848409280180931, 0.03836493194103241, 0.0037216120399534702, -0.0023621246218681335, 0.02567211538553238, -0.027289940044283867, 0.012190253473818302, -0.021981602534651756, -0.003438717918470502, 0.0033034782391041517, 0.030923282727599144, 0.021685464307665825, -0.03475888445973396, -0.020708510652184486, 0.013783471658825874, -0.024328645318746567, -0.009319829754531384, 0.026810772716999054, -0.02849755622446537, 0.02955217845737934, -0.009170924313366413, -0.04215884953737259, 0.008734908886253834, -0.022480137646198273, 0.0024826666340231895, -0.01671658456325531, -0.015934668481349945, 0.011559667065739632, -0.01172546949237585, -0.0015557922888547182, 0.05055653676390648, -0.00402864720672369, -0.01987846940755844, -0.004539825953543186, -0.005433819722384214, -0.025854386389255524, 0.012966531328856945, 0.020601920783519745, 0.0008898485684767365, -0.01192332711070776, -0.002820724155753851, 0.03430044278502464, 0.023496918380260468, 0.012765541672706604, -0.020185966044664383, -0.005586052779108286, 8.029203143032096e-33, 0.013248208910226822, -0.03409351408481598, -0.01704152673482895, 0.006452188827097416, 0.018051423132419586, -0.012330646626651287, 0.00971171073615551, 0.030471917241811752, -0.039499055594205856, 0.0150094423443079, -0.01765267364680767, 0.034648336470127106, -0.02808844856917858, 0.01867418922483921, 0.05388028547167778, -0.04225287213921547, -0.008681636303663254, -0.0512705035507679, 0.01575489714741707, 0.03121928684413433, 0.048550449311733246, 0.006823254749178886, -0.002451568841934204, 0.018639983609318733, 0.016025075688958168, 0.058204010128974915, -0.0432557612657547, 0.015675107017159462, 0.002803386189043522, 0.0037230702582746744, -0.002151783788576722, -0.004320531617850065, 0.016756759956479073, -0.01311416830867529, -0.02458171732723713, 0.02568906359374523, -0.003053627209737897, -0.006258378271013498, 0.009688013233244419, -0.028097636997699738, 0.005800256505608559, 0.017038537189364433, -0.02061442658305168, 0.03146132454276085, 0.01617616042494774, -0.005584000609815121, -0.008644253946840763, -0.0060902247205376625, 0.012913329526782036, 0.023746265098452568, 0.002907796064391732, -0.0023056408390402794, 0.03264371678233147, 0.018481705337762833, 0.015110142529010773, -0.008674059063196182, -0.03923586755990982, -0.001363394781947136, -0.005286423023790121, 0.0406084842979908, -0.03713691234588623, 0.009591532871127129, -0.04128013923764229, 0.01354058738797903, -0.03666595742106438, 0.001571338390931487, -0.028994813561439514, 0.017394574359059334, 0.015611521899700165, -0.027927912771701813, -0.0110726123675704, 0.006384523119777441, -0.037828098982572556, 0.00996799673885107, 0.027131304144859314, -0.03910648450255394, -0.014488890767097473, 0.019002467393875122, 0.022215530276298523, 0.027069969102740288, -0.007579323370009661, 0.017037125304341316, 0.015370958484709263, 0.016745509579777718, -0.0035258017014712095, -0.001001412165351212, -0.011247755959630013, 0.016365159302949905, -0.013014813885092735, -0.00974989403039217, -0.02059536799788475, -0.037164218723773956, -0.0012450502254068851, 0.000755177577957511, -0.0003847111947834492, -1.3727786019046562e-8, -0.015267915092408657, 0.024423427879810333, 0.013175739906728268, -0.01078684814274311, 0.016384487971663475, -0.013665821403265, -0.01219641137868166, 0.01841581054031849, -0.014087336137890816, 0.02873905561864376, 0.025382282212376595, 0.007826986722648144, -0.018628524616360664, -0.008590594865381718, -0.0016477963654324412, -0.049396812915802, 0.006160704884678125, 0.01668420433998108, -0.0024090874940156937, 0.004406086169183254, -0.000968855107203126, 0.027807755395770073, -0.03350003808736801, -0.017001081258058548, 0.04678020998835564, 0.0028068500105291605, 0.010912453755736351, -0.07881783694028854, -0.006958555895835161, 0.03028758615255356, 0.022606145590543747, -0.03327081352472305, -0.01723785698413849, 0.007504796143621206, -0.018336782231926918, 0.009103355929255486, 0.0008822780218906701, -0.00042008812306448817, 0.01453564316034317, -0.01970932073891163, -0.0006493533728644252, 0.01526313554495573, 0.02528352290391922, -0.01590884104371071, -0.01692979782819748, -0.0054441820830106735, 0.010532558895647526, 0.01921648532152176, 0.0053834328427910805, -0.04157137870788574, -0.0010403277119621634, -0.013743069022893906, -0.017711535096168518, 0.022011203691363335, 0.004284238908439875, -0.02174966223537922, 0.013211333192884922, -0.019597340375185013, -0.01919100619852543, 0.016027294099330902, 0.02747064083814621, 0.01605580747127533, -0.009970292448997498, -0.020824534818530083 ]
domain-driven-design-anti-corruption-layer
https://markhneedham.com/blog/2009/07/07/domain-driven-design-anti-corruption-layer
false
2009-07-09 22:32:55
F#: Convert sequence to comma separated string
[ "f" ]
[ "fsharp" ]
I've been continuing playing around with http://www.markhneedham.com/blog/2009/07/08/f-parsing-cruise-build-data/[parsing Cruise data] as I mentioned yesterday with the goal today being to create a graph from the build data. After recommendations from http://twitter.com/deanrcornish/statuses/2513727860[Dean Cornish] and http://twitter.com/samnewman/statuses/2514527870[Sam Newman] on Twitter I decided to give the http://code.google.com/apis/chart/types.html#line_charts[Google Graph API] a try to do this and realised that I would need to create a comma separated string listing all the build times to pass to the Google API. My initial thinking was that I could just pipe the sequence of values through 'Seq.fold' and add a comma after each value: [source,ocaml] ---- let ConvertToCommaSeparatedString (value:seq<string>) = let initialAttempt = value |> Seq.fold (fun acc x -> acc + x + ",") "" initialAttempt.Remove(initialAttempt.Length-1) ---- It works but you end up with a comma after the last value as well and then need to remove that on the next line which feels very imperative to me. My next thought was that maybe I would be able to do this by making use of a recursive function which matched the sequence on each iteration and then when it was on the last value in the list to not add the comma. I know how to do this for a list so I decided to go with that first: [source,ocaml] ---- let ConvertToCommaSeparatedString (value:seq<string>) = let rec convert (innerVal:List<string>) acc = match innerVal with | [] -> acc | hd::[] -> convert [] (acc + hd) | hd::tl -> convert tl (acc + hd + ",") convert (Seq.to_list value) "" ---- That works as well but it seems a bit weird that we need to convert everything in a list to do it. A bit of googling revealed an http://cs.hubfs.net/forums/thread/7596.aspx[interesting post by Brian McNamara] where he suggests creating an http://www.markhneedham.com/blog/2009/05/10/f-regular-expressionsactive-patterns/[active pattern] which would cast the 'seq' to a 'LazyList' (which is deprecated but won't be removed apparently) and then do some pattern matching against that instead. The active pattern which Brian describes is like this: [source,ocaml] ---- let rec (|SeqCons|SeqNil|) (s:seq<'a>) = match s with | :? LazyList<'a> as l -> match l with | LazyList.Cons(a,b) -> SeqCons(a,(b :> seq<_>)) | LazyList.Nil -> SeqNil | _ -> (|SeqCons|SeqNil|) (LazyList.of_seq s :> seq<_>) ---- This doesn't cover the three states of the sequence which I want to match so I adjusted it slightly to do what I want: [source,ocaml] ---- let rec (|SeqCons|SeqNil|SeqConsLastElement|) (s:seq<'a>) = match s with | :? LazyList<'a> as l -> match l with | LazyList.Cons(a,b) -> match b with | LazyList.Nil -> SeqConsLastElement(a) | LazyList.Cons(_,_) -> SeqCons(a,(b :> seq<_>)) | LazyList.Nil -> SeqNil | _ -> (|SeqCons|SeqNil|SeqConsLastElement|) (LazyList.of_seq s :> seq<_>) ---- Our function to convert sequences to a comma separated string would now look like this: [source,ocaml] ---- let ConvertToCommaSeparatedString (value:seq<string>) = let rec convert (innerVal:seq<string>) acc = match innerVal with | SeqNil -> acc | SeqConsLastElement(hd) -> convert [] (acc + hd) | SeqCons(hd,tl) -> convert tl (acc + hd + ",") convert (value) "" ---- An example of this in action would be like this: [source,text] ---- ConvertToCommaSeparatedString (seq { yield "mark"; yield "needham" });; val it : string = "mark,needham" ----
null
null
[ 0.003931287210434675, -0.01470309030264616, 0.0031802996527403593, 0.03938823565840721, 0.06435715407133102, 0.03628662973642349, 0.03396166115999222, 0.058189623057842255, 0.03106856346130371, -0.013135395012795925, -0.011700921691954136, 0.010567866265773773, -0.09915640205144882, 0.023739781230688095, 0.030166730284690857, 0.06056420877575874, 0.0946926474571228, -0.020649874582886696, 0.0024353384505957365, 0.0012485624756664038, 0.02248363383114338, 0.05172417685389519, 0.008547764271497726, 0.004751868546009064, 0.025070471689105034, -0.005165529903024435, 0.006071452982723713, 0.017337260767817497, -0.05330906808376312, -0.009787999093532562, 0.016728630289435387, 0.02062973380088806, -0.0178595669567585, -0.021967411041259766, 0.018360622227191925, -0.021808475255966187, -0.035428572446107864, -0.009059769101440907, -0.0015825030859559774, 0.025640467181801796, -0.0867280438542366, 0.011680335737764835, -0.03248560056090355, 0.006999325007200241, -0.02541743591427803, 0.02477380447089672, -0.011529892683029175, 0.01091269962489605, -0.01242187898606062, -0.0028786775656044483, -0.05719451606273651, 0.03256038948893547, -0.013995864428579807, -0.019405175000429153, -0.0034424399491399527, 0.035662729293107986, 0.029102690517902374, -0.0667080283164978, 0.04230448603630066, -0.03979197144508362, 0.004038944840431213, -0.015590193681418896, 0.0058771539479494095, 0.0361686646938324, 0.005018991883844137, -0.02732810750603676, -0.025149332359433174, 0.05034255236387253, -0.06017158180475235, -0.03593413159251213, -0.004482827614992857, 0.02117048390209675, -0.02828056551516056, -0.0112340422347188, -0.021103689447045326, -0.04419882223010063, -0.00632644584402442, 0.062315840274095535, 0.024038460105657578, 0.03949830308556557, -0.006693416740745306, 0.02178855985403061, 0.0205669067800045, 0.046738315373659134, 0.007545315194875002, -0.01933194138109684, -0.02122931368649006, -0.024481184780597687, -0.09134839475154877, 0.06954561173915863, 0.00046480089076794684, -0.05610356107354164, -0.007940452545881271, 0.008095248602330685, 0.024796558544039726, 0.0008835111511871219, 0.002700282260775566, 0.0075910333544015884, -0.02154775708913803, -0.04621987044811249, -0.054008763283491135, -0.01492899376899004, 0.025397377088665962, -0.00326494756154716, -0.056327685713768005, -0.02503765933215618, -0.029518049210309982, 0.003517775796353817, 0.0485248826444149, 0.004985411651432514, -0.023800348863005638, -0.009049490094184875, -0.004911762662231922, 0.04189996421337128, -0.07969681173563004, 0.03158426657319069, 0.0094924820587039, -0.01931227743625641, -0.056878335773944855, 0.016776524484157562, 0.05294725298881531, 0.011076705530285835, 0.019640706479549408, 0.07919624447822571, -0.00916216429322958, 0.04579588398337364, 0.012388420291244984, 0.07066208124160767, -0.022586766630411148, -0.059011101722717285, -0.029299382120370865, 0.07260490208864212, -0.06301918625831604, 0.011771838180720806, -0.020250292494893074, -0.029149990528821945, -0.02412216179072857, 0.012926632538437843, 0.06600447744131088, 0.03605949506163597, 0.023392116650938988, -0.03797675669193268, 0.0026191123761236668, -0.026647303253412247, 0.023897524923086166, 0.03460768610239029, -0.0647902563214302, -0.023700298741459846, -0.05788714811205864, 0.018555007874965668, 0.01533181220293045, 0.008725585415959358, 0.03694852441549301, -0.03887426108121872, 0.029482489451766014, 0.093749038875103, 0.053538206964731216, 0.042208489030599594, -0.019877050071954727, 0.02048420161008835, 0.03424869105219841, 0.047247305512428284, 0.012738167308270931, 0.052222635596990585, 0.022787267342209816, -0.00040119740879163146, 0.0013786896597594023, 0.02625340037047863, -0.03505168855190277, -0.029086794704198837, -0.04926149174571037, -0.011156473308801651, 0.05641396343708038, -0.02939165197312832, -0.011213669553399086, 0.05854106321930885, 0.07096824049949646, 0.011035886593163013, 0.040574636310338974, -0.020996293053030968, -0.0705467239022255, 0.05630318075418472, 0.026357663795351982, 0.01481919176876545, 0.009909704327583313, -0.013252207078039646, 0.05659881979227066, 0.022726180031895638, 0.002777124522253871, 0.006571315228939056, -0.05491708591580391, -0.07939313352108002, -0.017561709508299828, -0.02797856554389, 0.06664707511663437, -0.03992540389299393, 0.02122676745057106, 0.04678259417414665, 0.03479551896452904, 0.06556437164545059, 0.005939696915447712, -0.0010105400579050183, 0.032737214118242264, -0.03929532691836357, -0.04650617018342018, 0.0627656951546669, 0.027865296229720116, -0.022972285747528076, -0.04112834110856056, 0.020219990983605385, -0.02478666976094246, 0.015058712102472782, 0.03713766485452652, 0.006981775630265474, 0.036789730191230774, -0.006593110505491495, 0.012513579800724983, -0.029558192938566208, 0.023435920476913452, -0.08757666498422623, 0.04291035979986191, 0.0344943068921566, -0.022965488955378532, -0.025385329499840736, -0.026687752455472946, 0.15548665821552277, 0.06277717649936676, -0.008623216301202774, -0.06189395859837532, 0.029979044571518898, 0.0024921405129134655, -0.008948763832449913, -0.0025352954398840666, -0.01081878412514925, -0.006155415903776884, 0.019389640539884567, -0.016378553584218025, 0.008554416708648205, 0.0024914820678532124, -0.043556880205869675, 0.021625228226184845, 0.06231317296624184, -0.017000911757349968, 0.05633013695478439, 0.016649657860398293, -0.0372273251414299, -0.004211841616779566, -0.028219209983944893, -0.06270875781774521, -0.0003431176592130214, 0.011048145592212677, -0.006892383564263582, 0.04655313864350319, -0.02579726278781891, -0.05080418661236763, -0.024905145168304443, -0.05861694738268852, 0.011552673764526844, 0.020613256841897964, 0.049787089228630066, 0.014300785027444363, 0.07613416761159897, -0.02110067568719387, 0.010952163487672806, -0.013280482962727547, -0.05611717700958252, -0.05278141424059868, -0.0004827326920349151, 0.031169191002845764, 0.038745805621147156, 0.020578712224960327, -0.005835834424942732, 0.012365509755909443, 0.0320231094956398, -0.008961129933595657, -0.027250617742538452, 0.012195941060781479, -0.019674578681588173, 0.007613511756062508, -0.01042889803647995, -0.028986437246203423, 0.04454031586647034, -0.04351968318223953, -0.005654547829180956, -0.017188752070069313, -0.05970523878931999, 0.03539326414465904, -0.05847916007041931, -0.029847359284758568, -0.004249402787536383, 0.04868011549115181, 0.026569640263915062, -0.021631550043821335, 0.000559680222067982, 0.061457559466362, 0.005639746785163879, 0.02779337204992771, 0.00321691925637424, -0.010656541213393211, 0.051094960421323776, -0.014043673872947693, 0.00571061996743083, 0.08655849099159241, -0.010720295831561089, -0.006323832552880049, -0.053912416100502014, -0.01606346294283867, -0.0277718473225832, -0.2941621243953705, 0.012775515206158161, -0.026316756382584572, -0.024681512266397476, 0.019848190248012543, -0.024391626939177513, 0.0066573964431881905, -0.05071631073951721, -0.006246971897780895, 0.025662647560238838, -0.0053483871743083, -0.013564337976276875, -0.030675936490297318, 0.028744908049702644, 0.03983559459447861, 0.006084696389734745, -0.0014477092772722244, -0.04794790968298912, 0.03293232619762421, 0.032180141657590866, -0.00032450896105729043, -0.04464238882064819, 0.01654764823615551, 0.048347730189561844, 0.0064460341818630695, 0.036857664585113525, -0.09524961560964584, 0.03163493052124977, -0.03345983102917671, 0.0037051192484796047, 0.006154438015073538, -0.029816152527928352, 0.032693296670913696, 0.001600319636054337, -0.028274772688746452, -0.042366430163383484, 0.026860153302550316, 0.02887370064854622, 0.005824941210448742, 0.002434241585433483, -0.030583325773477554, -0.02792518213391304, -0.013960123993456364, -0.005523338448256254, 0.07479991018772125, -0.011857271194458008, -0.06902027130126953, 0.04396719112992287, -0.011471498757600784, 0.07618731260299683, -0.026498181745409966, -0.04502204805612564, -0.03348516672849655, 0.037074554711580276, -0.003071885323151946, -0.027344921603798866, -0.008869492448866367, -0.013027984648942947, -0.06640458852052689, -0.00924626924097538, -0.004365460481494665, -0.025941556319594383, -0.02122451737523079, -0.04726356267929077, -0.03156382963061333, -0.05596964806318283, -0.03826676681637764, -0.018254192546010017, 0.07234475016593933, 0.04030134156346321, -0.03260403126478195, -0.010872902348637581, -0.031755466014146805, -0.10570719838142395, -0.01631799340248108, -0.036018431186676025, -0.0018656067550182343, 0.019566470757126808, 0.005222586449235678, 0.038684867322444916, -0.030077887699007988, -0.02876630425453186, 0.03247943893074989, 0.011980315670371056, 0.045884713530540466, -0.021165141835808754, -0.00568015780299902, -0.0014878304209560156, -0.01601654477417469, -0.036647979170084, 0.0565880686044693, -0.026312286034226418, -0.011691697873175144, 0.0064361728727817535, 0.006972006522119045, 0.009978254325687885, -0.004266628064215183, 0.023747166618704796, 0.010043897666037083, 0.0009234218741767108, 0.03828294575214386, -0.03466355428099632, 0.030142853036522865, -0.01359755638986826, -0.029743913561105728, -0.02403639629483223, -0.035117682069540024, 0.00930547434836626, 0.019051317125558853, 0.0248485766351223, -0.015497647225856781, -0.019603053107857704, 0.04896984249353409, -0.04664827138185501, -0.02978849969804287, -0.03477054834365845, -0.004587480332702398, 0.019064588472247124, 0.04907451942563057, -0.03768554702401161, -0.01850358210504055, -0.014838386327028275, 0.009254585020244122, -0.002954952185973525, -0.04690636321902275, -0.0213847067207098, -0.004296813625842333, 0.010511384345591068, 0.008293119259178638, 0.05420894920825958, -0.005018684547394514, 0.04614020884037018, 0.019919542595744133, -0.04160439223051071, 0.03851664811372757, -0.03210192918777466, -0.009091664105653763, -0.05157119035720825, -0.001915771048516035, 0.004252180922776461, 0.024088790640234947, -0.004165629390627146, 0.012591712176799774, 0.029177475720643997, 0.031832415610551834, 0.005984299350529909, 0.005307647865265608, 0.0010298818815499544, -0.0016869601095095277, -0.005991404410451651, -0.011864974163472652, -0.04264368116855621, 0.024625122547149658, -0.02682465873658657, 0.02672729827463627, -0.002500842558220029, 0.03782206028699875, -0.030765170231461525, -0.06388136744499207, -0.028995053842663765, 0.041937168687582016, -0.04042332246899605, -0.03842788189649582, -0.01555804442614317, -0.0017079130047932267, 0.016306914389133453, -0.03190842643380165, 0.0371987409889698, -0.009316250681877136, -0.0017423519166186452, -0.021905042231082916, 0.011978056281805038, -0.01733781024813652, -0.012373610399663448, -0.0071593523025512695, -0.02593585103750229, -0.009750885888934135, 0.01986079290509224, 0.021681245416402817, 0.024139951914548874, -0.0022523480001837015, -0.02452821284532547, -0.0007775202975608408, 0.01050598919391632, 0.04773901402950287, 0.03671218082308769, -0.021563973277807236, -0.007761186920106411, -0.04216453433036804, 0.012439532205462456, -0.033713199198246, 0.000013041427337157074, -0.02962547540664673, 0.032072924077510834, -0.00922806654125452, -0.06863050162792206, 0.03236233443021774, 0.03765195235610008, 0.045200373977422714, 0.007217724341899157, -0.0057004825212061405, -0.010169233195483685, 0.0014340480556711555, 0.009509004652500153, 0.07223257422447205, -0.028508132323622704, -0.002717668190598488, 0.006447551306337118, 0.03593671694397926, 0.02873152494430542, 0.034441642463207245, -0.07908664643764496, -0.014914670959115028, -0.021035566926002502, 0.004128031898289919, -0.017459293827414513, -0.027361558750271797, -0.0313849151134491, -0.004665898624807596, -0.021166229620575905, 0.001396138803102076, -0.004378990735858679, 0.001403805217705667, -0.028375238180160522, -0.007613456808030605, 0.028417065739631653, -0.03462688997387886, -0.006460185628384352, 0.04804715886712074, -0.027698658406734467, 0.02433445118367672, -0.03718734160065651, 0.013327503576874733, 0.024921415373682976, 0.008954615332186222, -0.0031132360454648733, -0.09048602730035782, -0.010921060107648373, -0.012027518823742867, 0.04144556447863579, 0.02153906784951687, -0.04126937314867973, -0.019850928336381912, -0.011778821237385273, -0.028396518900990486, 0.0017271841643378139, 0.002636395860463381, -0.02239326760172844, 0.01872844621539116, 0.04842646047472954, 0.012005194090306759, 0.03170205280184746, -0.0044316439889371395, -0.017550358548760414, 0.046717122197151184, -0.03370901197195053, -0.05558769777417183, -0.019695309922099113, -0.06501349806785583, 0.03754328563809395, -0.00093172985361889, -0.007969829253852367, -0.06318478286266327, 0.05634023994207382, 0.057816922664642334, 0.05143796280026436, 0.05161464214324951, -0.014289703220129013, 0.008397845551371574, -0.014076421968638897, 0.02593196928501129, -0.0615665428340435, 0.019773302599787712, 0.028223656117916107, -0.003990089986473322, -0.02007739245891571, -0.005344288889318705, -0.015592653304338455, 0.02836095355451107, -0.04659786447882652, -0.028275294229388237, 0.045197367668151855, -0.0003646701225079596, 0.0037249999586492777, 0.0019106765976175666, -0.0398670919239521, 0.022990403696894646, 0.031661439687013626, -0.028342396020889282, -0.008385764434933662, -0.024610718712210655, 0.05230237543582916, -0.026189999654889107, 0.03930956497788429, -0.01125247310847044, -0.027329977601766586, 0.06335746496915817, 0.04374152421951294, 0.02523943781852722, 0.05571757256984711, 0.0018259809585288167, 0.02543989196419716, 0.03937823697924614, 0.002200367860496044, -0.017421294003725052, 0.03412232920527458, -0.018974054604768753, -0.04878087714314461, 0.04547784477472305, 0.02228284254670143, -0.007352825254201889, -0.03214344382286072, 0.07951252907514572, 0.0187313761562109, -0.03599490597844124, -0.03881262242794037, 0.022636663168668747, -0.03917386010289192, -0.03755464404821396, -0.016408070921897888, 0.023865576833486557, -0.036964092403650284, 0.04509216174483299, -0.010689843446016312, 0.001939857378602028, 0.047350216656923294, 0.009365244768559933, -0.0033337378408759832, 0.017138591036200523, 0.09499071538448334, 0.0821927934885025, 0.052635349333286285, -0.0026594926603138447, 0.04765355959534645, -0.02760680578649044, -0.03701729327440262, -0.004341631196439266, -0.02710522525012493, -0.0013549007708206773, -0.022911878302693367, 0.04154839366674423, 0.08022774010896683, -0.03215084224939346, 0.04996996000409126, -0.029877163469791412, -0.04533303156495094, -0.004124712664633989, 0.004427442792803049, 0.013605493120849133, 0.04957151040434837, -0.0073722717352211475, 0.03386383876204491, -0.01392342709004879, -0.04609599709510803, 0.03202878311276436, 0.027923915535211563, -0.023829622194170952, 0.025747567415237427, -0.002889693249017, -0.0017661374295130372, -0.012571229599416256, 0.032139625400304794, 0.08887416124343872, -0.02295220084488392, -0.005234160926192999, -0.010223389603197575, 0.03739180415868759, 0.010414457879960537, 0.00024190887052100152, -0.0007361611351370811, -0.03564503788948059, -0.003380172187462449, -0.03749722242355347, -0.011289989575743675, -0.019639048725366592, -0.03162165731191635, 0.02857230417430401, -0.02153777703642845, 0.02143113687634468, 0.015034296549856663, -0.03043125942349434, -0.046937089413404465, -0.039300587028265, -0.07393442839384079, -0.04595239460468292, -0.0765918716788292, -0.008342654444277287, 0.014219189994037151, -0.02360999584197998, -0.012089736759662628, -0.03400784730911255, -0.009493404999375343, -0.017595374956727028, 0.02382236160337925, -0.04860484227538109, -0.02607341669499874, 0.021379344165325165, 0.009122773073613644, 0.038401298224925995, 0.021830759942531586, 0.051755137741565704, 0.0035570659674704075, 0.002299528568983078, -0.034963998943567276, 0.035916101187467575, 0.018714774399995804, 0.040294893085956573, 0.010559726506471634, -0.07401856780052185, -0.006935913115739822, -0.0165308378636837, -0.008222473785281181, -0.08370624482631683, -0.025026237592101097, 0.029898133128881454, -0.019294196739792824, 0.0501742959022522, -0.0037372608203440905, 0.01001293957233429, -0.05407019704580307, -0.046406298875808716, 0.02396215684711933, -0.013855736702680588, 0.041028961539268494, -0.016736546531319618, 0.08768370002508163, -0.000361482088919729, -0.014459080994129181, -0.018334917724132538, -0.009376337751746178, -0.008376434445381165, 0.026397015899419785, -0.023763516917824745, -0.06203300878405571, -0.03539906442165375, -0.05310525745153427, -0.03779619559645653, 0.008264712058007717, -0.01014852523803711, 0.007481774315237999, 0.005120617337524891, 0.02011522278189659, -0.049873996526002884, 0.032337263226509094, -0.029901841655373573, 0.007219993509352207, -0.016650116071105003, -0.04584011808037758, -0.028359346091747284, 0.01594536192715168, 0.027005206793546677, 0.0003915517299901694, 0.012339441105723381, -0.04232174903154373, 0.008976231329143047, -0.03496399149298668, 0.018032297492027283, 0.013680933974683285, -0.0023677432909607887, 0.017054345458745956 ]
[ -0.056023478507995605, -0.020577987655997276, -0.034457702189683914, -0.04835358262062073, 0.03711351752281189, -0.044101785868406296, -0.041124194860458374, 0.026368198916316032, -0.011808481067419052, -0.025882795453071594, 0.015184550546109676, -0.05125094950199127, 0.007161406334489584, -0.003528336761519313, 0.017034538090229034, 0.015519745647907257, -0.03458433225750923, -0.038401201367378235, -0.017395546659827232, 0.01957189291715622, 0.002931096823886037, -0.023784838616847992, -0.06446651369333267, -0.01814568229019642, 0.05507153645157814, 0.035041678696870804, 0.02197697013616562, -0.03764722868800163, -0.012064323760569096, -0.2022823691368103, -0.00015046223415993154, -0.03558110073208809, 0.03630601614713669, -0.01169492956250906, -0.006764455232769251, 0.0023247154895216227, 0.0184278916567564, 0.02050263248383999, 0.0001460135681554675, 0.06523944437503815, 0.028601471334695816, -0.004505080170929432, -0.046674635261297226, 0.01628767140209675, 0.03947336971759796, -0.0029504045378416777, -0.04155236855149269, -0.00018988619558513165, 0.0008907316369004548, 0.004303087014704943, -0.06772974878549576, 0.0056840297766029835, -0.04344962537288666, -0.02525397390127182, 0.0013412486296147108, 0.027634846046566963, 0.021188484504818916, 0.07938110828399658, 0.012574230320751667, 0.033299520611763, 0.026953933760523796, 0.007335537113249302, -0.14180581271648407, 0.09636388719081879, 0.011042991653084755, 0.05279241502285004, -0.03158414363861084, 0.0011796385515481234, -0.0302036851644516, 0.10136837512254715, -0.0010245309676975012, -0.03639118745923042, -0.03271035850048065, 0.05074446275830269, 0.026785943657159805, -0.01821766421198845, -0.01613215170800686, 0.014432678930461407, 0.03726638853549957, -0.020533621311187744, -0.04206698760390282, -0.029921453446149826, -0.02291874587535858, -0.01753302291035652, -0.00016023092030081898, -0.013714400120079517, -0.019518069922924042, 0.0446150116622448, 0.030663354322314262, 0.04363122582435608, 0.014293226413428783, -0.05828648805618286, 0.01891917921602726, 0.03517163544893265, -0.10551312565803528, -0.024134518578648567, -0.015559233725070953, -0.015389499254524708, -0.000666270381771028, 0.400741308927536, -0.03395158797502518, 0.007142881862819195, 0.037198759615421295, 0.03829331696033478, -0.025537775829434395, 0.003149345051497221, 0.00578278349712491, -0.07327454537153244, 0.020352985709905624, -0.050613194704055786, -0.022657958790659904, 0.002541874535381794, 0.028710700571537018, -0.0837855413556099, -0.023556658998131752, 0.01455020159482956, 0.0008551108767278492, 0.004045448265969753, -0.023264087736606598, -0.001762740663252771, -0.01378297433257103, -0.02203601598739624, 0.030210191383957863, 0.027540137991309166, 0.008118330501019955, 0.04095844179391861, 0.05166273191571236, 0.020247090607881546, 0.049383245408535004, 0.009368639439344406, 0.0784834548830986, -0.017142482101917267, -0.07110819965600967, 0.03469637408852577, 0.007552045397460461, -0.00953616015613079, 0.06628614664077759, -0.04493093118071556, 0.0113837830722332, 0.026938188821077347, -0.021358268335461617, -0.04043322056531906, 0.017174432054162025, -0.016896160319447517, -0.023740535601973534, 0.11634384840726852, -0.002829265780746937, -0.047726698219776154, -0.038882456719875336, -0.051377490162849426, -0.029386164620518684, 0.031068487092852592, 0.05610280856490135, -0.032947372645139694, 0.01734284684062004, 0.04304251819849014, 0.08213059604167938, -0.006344266701489687, -0.0659700483083725, 0.013130947947502136, -0.024798324331641197, -0.017003288492560387, -0.032921202480793, 0.08089674264192581, 0.0538259781897068, -0.13328929245471954, -0.033321358263492584, 0.02335880883038044, -0.007125665433704853, -0.07415208220481873, 0.006056433543562889, 0.05510201305150986, -0.031914353370666504, -0.010447107255458832, 0.07624884694814682, -0.00815008394420147, -0.019115138798952103, 0.007220870349556208, 0.05468107387423515, 0.028375806286931038, -0.011296029202640057, 0.003599591087549925, -0.04789983853697777, 0.003926217555999756, -0.05291367322206497, -0.05769671872258186, -0.06972499936819077, 0.003914263099431992, -0.015666425228118896, -0.03878758102655411, 0.007372353225946426, -0.03841337561607361, -0.06053704023361206, 0.0894419476389885, -0.02608555182814598, -0.02829597145318985, 0.01664838008582592, -0.037539996206760406, -0.00587841821834445, -0.04188006371259689, 0.02523447386920452, -0.012936834245920181, 0.005623883567750454, 0.02902565523982048, -0.06419548392295837, 0.0441061332821846, 0.06070563197135925, -0.02813499979674816, 0.056266047060489655, 0.028798677027225494, -0.021521419286727905, 0.008369318209588528, -0.02316400595009327, 0.015161953866481781, -0.002573265926912427, 0.007706309203058481, 0.02697002701461315, -0.002544410526752472, 0.009485787712037563, 0.03554488718509674, -0.03469954431056976, -0.04188297316431999, -0.006373688578605652, -0.3313646912574768, -0.049134597182273865, 0.011176486499607563, 0.007090628147125244, 0.013867046684026718, -0.04339190945029259, -0.037128061056137085, 0.00025678041856735945, 0.0019090994028374553, 0.016439056023955345, 0.09622059762477875, -0.02235877513885498, -0.0032208343036472797, -0.1329544633626938, -0.03469938412308693, 0.0008953238138929009, -0.02795601822435856, -0.04023703560233116, 0.022609291598200798, 0.03602094203233719, -0.006703113205730915, -0.01344743836671114, -0.025267595425248146, -0.037535808980464935, 0.02605152130126953, -0.00724411616101861, 0.12789148092269897, 0.018936872482299805, 0.07868408411741257, -0.04016250744462013, 0.050123631954193115, 0.007225400302559137, 0.013774382881820202, -0.0503244586288929, 0.006544074974954128, -0.05100348964333534, 0.004797859117388725, 0.004742337856441736, 0.012467888183891773, -0.004028881900012493, -0.040294669568538666, 0.000927652174141258, -0.051264919340610504, -0.05493674427270889, -0.011366824619472027, -0.004964870400726795, -0.015339013189077377, -0.02700556255877018, -0.009814837947487831, 0.10093718767166138, 0.036125488579273224, 0.015531191602349281, 0.031952712684869766, -0.0013065221719443798, -0.003150312229990959, -0.023544711992144585, -0.05670531839132309, -0.015594890341162682, -0.019651152193546295, -0.057417131960392, 0.0065876697190105915, 0.04391798749566078, 0.025200750678777695, -0.013983928598463535, -0.01382838562130928, 0.0008385757100768387, -0.011011519469320774, -0.007064822129905224, 0.01867034286260605, -0.029584676027297974, -0.02555008791387081, 0.07580788433551788, 0.004512125160545111, 0.017636440694332123, 0.0553152970969677, 0.05886776000261307, -0.05728437379002571, 0.006265762262046337, 0.022427288815379143, 0.011355007067322731, -0.00924344640225172, -0.0014191908994689584, 0.05782686918973923, -0.0044537317007780075, 0.0061573246493935585, 0.05089318007230759, -0.006107000168412924, 0.011300826445221901, 0.022923743352293968, 0.01408566813915968, 0.029924245551228523, -0.007964770309627056, 0.012637264095246792, -0.05569332838058472, 0.08326929807662964, -0.01079854741692543, -0.2601258456707001, 0.03206945210695267, 0.02877391129732132, 0.07139987498521805, 0.007410766091197729, 0.023982079699635506, 0.049555692821741104, -0.018252141773700714, -0.015566624701023102, 0.039067551493644714, -0.029032941907644272, 0.06007708981633186, 0.0019337791018188, -0.015804272145032883, 0.021862369030714035, -0.02111883834004402, 0.047148384153842926, 0.024699809029698372, 0.013543185777962208, 0.03211279585957527, 0.04283955320715904, -0.008011448197066784, 0.18549811840057373, 0.0321422703564167, 0.03623121976852417, 0.03526289761066437, -0.018719611689448357, 0.01848750002682209, 0.10600190609693527, 0.06693040579557419, -0.008500440046191216, 0.008862538263201714, 0.055006854236125946, 0.016976119950413704, 0.039934996515512466, -0.03567440062761307, -0.006795406807214022, 0.029541106894612312, -0.005507715977728367, -0.023942843079566956, -0.005471802782267332, 0.03562553599476814, -0.0268748439848423, 0.05464911460876465, 0.07523541152477264, -0.004441891331225634, -0.010879863984882832, -0.08328061550855637, -0.04057404771447182, 0.00371218821965158, -0.06832227855920792, -0.06151796132326126, -0.015357447788119316, -0.011959075927734375, -0.009574854746460915, 0.05446009710431099, 0.030137471854686737, -0.02527572773396969, 0.04356694594025612, -0.01322381105273962, -0.03340272605419159, -0.04551377519965172, 0.09304845333099365, 0.0018398206448182464, 0.025041919201612473 ]
[ -0.03302794694900513, 0.025136210024356842, 0.023357471451163292, -0.0048955874517560005, -0.016386324539780617, -0.019266612827777863, 0.0061350539326667786, 0.0384930819272995, -0.02281102165579796, -0.009958408772945404, -0.001398008200339973, -0.02960914559662342, 0.016919590532779694, -0.04946640878915787, 0.04455570504069328, 0.022407658398151398, 0.01026005670428276, -0.03534736484289169, 0.042509134858846664, -0.04162885621190071, -0.006330101750791073, 0.0497911162674427, 0.02321699820458889, 0.039441946893930435, 0.012814151123166084, 0.02880292758345604, -0.03400254249572754, 0.015329988673329353, 0.03461642935872078, -0.11168064177036285, -0.03715517744421959, -0.015457858331501484, 0.0014606289332732558, 0.03217362239956856, -0.005700805224478245, -0.011842133477330208, 0.0023657355923205614, 0.03546828404068947, -0.0004691195790655911, 0.03935765475034714, -0.014440516009926796, -0.023589780554175377, -0.0005129848723299801, -0.0179093386977911, 0.0026813894510269165, -0.014181303791701794, -0.01794666238129139, -0.03404347226023674, -0.0016094092279672623, 0.033488329499959946, -0.044526927173137665, 0.012097912840545177, -0.043532419949769974, -0.021213380619883537, 0.03366181254386902, 0.0017486877040937543, -0.05908507481217384, -0.01942531391978264, 0.016994234174489975, 0.01654164493083954, -0.0002159508876502514, 0.00790120754390955, -0.038805559277534485, -0.02327156998217106, 0.018936410546302795, -0.006255891639739275, -0.003707328112795949, 0.01017710380256176, 0.01073282491415739, -0.014077753759920597, 0.004064133856445551, 0.03331516310572624, -0.04389100894331932, -0.027451561763882637, -0.030165404081344604, 0.013612640090286732, -0.006236238405108452, -0.005597258917987347, -0.0180311631411314, -0.03170149773359299, -0.016444848850369453, -0.014781107194721699, -0.016371797770261765, 0.043585773557424545, -0.05756359547376633, -0.04007917270064354, -0.01831577718257904, 0.05208195373415947, 0.006477519404143095, -0.0018420865526422858, -0.014008780010044575, 0.0028392805252224207, 0.005801396444439888, 0.007954642176628113, -0.0585649348795414, 0.04926732927560806, -0.013585095293819904, -0.032979194074869156, 0.011958046816289425, 0.8241469860076904, -0.000491337850689888, 0.01948590576648712, 0.010422807186841965, 0.007902768440544605, -0.03703882917761803, 0.011526846326887608, -0.000028996575565543026, -0.003434711368754506, 0.01093077939003706, -0.05500921234488487, 0.022857390344142914, 0.03705943003296852, 0.03197290748357773, -0.02530411258339882, -0.011521789245307446, 0.050223883241415024, -0.017894379794597626, -0.01103033684194088, 0.044120099395513535, 0.042219776660203934, 0.03638993576169014, -0.011397680267691612, 0.039061326533555984, 0.027112089097499847, 0.03364061936736107, -0.17869026958942413, 0.022363049909472466, -6.845599350557073e-33, 0.0329262837767601, -0.03868357092142105, 0.04953240975737572, -0.011154362931847572, 0.00600092951208353, 0.025523977354168892, -0.026412582024931908, 0.014136889949440956, -0.01957925781607628, -0.028287822380661964, 0.005701266694813967, 0.005318256560713053, -0.00478937104344368, 0.0025927748065441847, 0.041143469512462616, -0.007409557234495878, 0.004868889227509499, 0.020827099680900574, -0.02590804547071457, -0.02279319055378437, 0.006843484006822109, 0.009517508558928967, 0.0481087826192379, 0.029342906549572945, 0.017683997750282288, 0.04837619513273239, 0.014878221787512302, 0.027393510565161705, -0.015589192509651184, -0.034246206283569336, -0.04202992096543312, 0.00634476775303483, 0.0003603112418204546, 0.021108059212565422, 0.02753046154975891, -0.008489536121487617, -0.06840012967586517, 0.008210754953324795, -0.009985839016735554, -0.01195575762540102, -0.023463081568479538, 0.007328605279326439, -0.02723037451505661, -0.02463247999548912, -0.03278348222374916, -0.008714921772480011, -0.016942042857408524, -0.0028221546672284603, 0.003015708178281784, 0.04062212258577347, 0.0225843358784914, 0.01422298513352871, -0.04102173447608948, -0.027551325038075447, -0.023956814780831337, -0.02056225575506687, 0.032701168209314346, 0.001505925552919507, -0.02194220945239067, 0.021368537098169327, -0.01898811385035515, 0.008382984437048435, 0.005786194000393152, 0.019070660695433617, -0.011258384212851524, 0.03061537817120552, -0.00652396772056818, 0.03821825608611107, 0.026720769703388214, 0.02779742330312729, -0.02962462790310383, 0.029349494725465775, -0.006089680828154087, -0.03997980058193207, 0.019130989909172058, -0.026033733040094376, -0.0225809495896101, -0.022793756797909737, -0.007489005569368601, 0.045128416270017624, 0.010492146946489811, -0.03857576474547386, 0.005308047402650118, 0.003393852850422263, -0.027204353362321854, -0.02095630019903183, 0.02478029578924179, 0.044643402099609375, -0.0139932194724679, 0.009640785865485668, -0.01018164586275816, -0.014610134065151215, -0.01141373161226511, -0.015442335046827793, -0.012234513647854328, 6.566922700755726e-33, -0.015803847461938858, 0.0013916048919782043, 0.016339143738150597, -0.012561600655317307, 0.032058343291282654, -0.04515824094414711, 0.034209948033094406, 0.05003416910767555, -0.021743789315223694, 0.05899009108543396, -0.026771793141961098, -0.0028475166764110327, -0.011580018326640129, 0.011945095844566822, 0.06578066200017929, -0.014863519929349422, 0.014706230722367764, -0.020254774019122124, -0.003816822310909629, 0.02082761377096176, 0.008097177371382713, 0.005003622267395258, 0.017106838524341583, 0.028103837743401527, 0.036161158233881, 0.02510039508342743, -0.031827714294195175, -0.011215610429644585, -0.006423188839107752, 0.011406579054892063, 0.01786428689956665, -0.03134565427899361, 0.01942545734345913, -0.032214317470788956, -0.00808880478143692, 0.030098827555775642, 0.005883173551410437, -0.010988895781338215, 0.028790131211280823, -0.029359648004174232, 0.020878460258245468, -0.018985657021403313, 0.00837152823805809, -0.0023992478381842375, 0.005558467470109463, 0.014033559709787369, 0.002974756294861436, -0.0004340916930232197, -0.010639765299856663, 0.020919976755976677, 0.045550089329481125, 0.03787370026111603, -0.0075051626190543175, 0.0032496957574039698, 0.022013870999217033, -0.023815210908651352, -0.031610582023859024, 0.0034680438693612814, -0.05402053892612457, -0.03790656104683876, -0.05500442907214165, -0.009803541004657745, 0.028539912775158882, 0.0032500671222805977, -0.007338163908571005, -0.03291499987244606, -0.029628673568367958, -0.0298212431371212, -0.03626998886466026, 0.006394107360392809, -0.03775946423411369, -0.04193393141031265, -0.025769442319869995, 0.030256513506174088, -0.01742909476161003, -0.03778156638145447, -0.04693140834569931, 0.025730496272444725, -0.007841482758522034, 0.0377458892762661, 0.03887086361646652, -0.005803531967103481, 0.045788757503032684, 0.04704176262021065, -0.017599018290638924, -0.023121261969208717, -0.01904326118528843, 0.02914804220199585, 0.061378609389066696, 0.014900901354849339, -0.009709144942462444, -0.03162648156285286, -0.03654056787490845, 0.04351971298456192, -0.019961921498179436, -1.2478833966156344e-8, -0.06646759063005447, 0.004927950445562601, -0.04372577741742134, 0.055065155029296875, 0.0440855473279953, -0.0008516727248206735, -0.018944449722766876, 0.01585434377193451, 0.010097884573042393, 0.008652736432850361, 0.026398370042443275, -0.017458593472838402, 0.004582806024700403, 0.032750096172094345, -0.005556807853281498, -0.0678563266992569, 0.0034100853372365236, -0.02643251232802868, 0.034127529710531235, 0.007342134136706591, 0.00416904129087925, 0.0020428854040801525, -0.007557441480457783, 0.012526185251772404, 0.026865825057029724, -0.024717260152101517, 0.003665293799713254, -0.07373112440109253, 0.027315225452184677, 0.005478367675095797, 0.019745053723454475, -0.0340355820953846, -0.0243909303098917, 0.010594680905342102, -0.008540252223610878, -0.045613307505846024, 0.05168014019727707, 0.03241315484046936, 0.03596928343176842, -0.007852076552808285, 0.0029081569518893957, 0.038422517478466034, -0.01905333623290062, -0.02683366648852825, 0.021000074222683907, -0.026068340986967087, -0.03201137110590935, -0.011058103293180466, 0.025911277160048485, -0.030968986451625824, -0.014782369136810303, -0.02464684098958969, 0.015927938744425774, 0.021036645397543907, 0.04036262631416321, -0.016163814812898636, 0.01581670716404915, -0.0057425168342888355, -0.016735438257455826, -0.0300306249409914, 0.015034244395792484, -0.020399892702698708, -0.008385169319808483, -0.026204243302345276 ]
f-convert-sequence-to-comma-separated-string
https://markhneedham.com/blog/2009/07/09/f-convert-sequence-to-comma-separated-string
false
2009-07-31 09:07:26
Coding Dojo #20: Groovy Sales Tax Problem
[ "coding-dojo" ]
[ "Coding Dojo" ]
Continuing with the Groovy theme, this week we worked on the ThoughtWorks code review tax problem which involved modeling different items that a customer could buy and the associated tax rules that different types of goods had. == The Format We had 3 people this week so most of the time we had all 3 of us involved in driving the code, which was projected onto the television screen again, while rotating every 10 minutes or so. == What We Learnt * Although we weren't intentionally following the ideas laid out in http://www.markhneedham.com/blog/2008/11/06/object-calisthenics-first-thoughts/[object calisthenics] we actually ended up with code which fairly closely followed those ideas. We had very small classes, didn't have any getter or setter methods and also http://www.markhneedham.com/blog/2009/07/24/wrapping-collections-inheritance-vs-composition/[wrapped the collection] (Basket) which we had in our code. * We ended up writing tests in classes which were quite context sensitive - normally when I write tests we would have one test class for each object under test but this time we created different classes depending on the way that we were making use of that object in the test. For example we ended up with 'BasketWithOneItem' and 'BasketWithMultipleItems' test classes by the end. This seems pretty much like the http://www.code-magazine.com/article.aspx?quickid=0805061[Context-Spec] approach to testing that I've read about previously in http://code.google.com/p/specunit-net/[Scott Bellware's framework]. I'm noticing on the project I'm currently working on that our tests are drifting in that way almost naturally due to the different ways that objects are typically used. * http://intwoplacesatonce.com/[Dave] took the lead in driving out a http://martinfowler.com/bliki/FluentInterface.html[fluent interface] which worked out quite well - we were able to chain together different items by including an 'and' method on objects which created a 'Basket' containing both items and then returned the Basket, therefore allowing us to add other items too. I was initially against this approach as I felt we should just create a basket with all the items that it held rather than adding them one at a time. Objects needed to define an 'and' method and a 'totalCost' method in order for them to be chained. Due to the dynamic nature of Groovy we could just pass in objects and assume they would respond to the appropriate methods. We therefore ended up with code that looked a bit like this: ~~~groovy new Book(12.49).and(new Chocolate(1.89)).totalCost() ~~~ If we were working in a static language then we would have needed to create a small interface with the two methods on and then have our objects implement that. This seemed to fit in quite nicely with the link:[Interface Segregation Principle] where the idea is to define thin cohesive interfaces which don't inadvertently couple their different clients together. In a discussion with a few colleagues recently it seems that one way of looking at methods on objects in dynamic languages is that each method would be the equivalent in a static language of a one method interface which our object implements. == For next time * I've found the dojos we've done using Groovy to be quite fun - everyone who participates has worked with Java so it doesn't seem to be too much of a jump to use Groovy. Writing less code to achieve the same goal is also nice. We may well continue with Groovy next time!
null
null
[ 0.032166946679353714, 0.0033102177549153566, -0.004011014010757208, 0.04377762973308563, 0.07851309329271317, 0.02483661100268364, 0.03535396233201027, 0.026248855516314507, -0.003633839776739478, -0.02387762814760208, -0.015359322540462017, 0.01812921278178692, -0.06823232024908066, 0.0223998986184597, -0.04989555850625038, 0.07428563386201859, 0.07411527633666992, -0.009076299145817757, 0.03329380974173546, 0.0022032633423805237, 0.038056179881095886, 0.07251640409231186, 0.008758733980357647, 0.042043015360832214, 0.01583552360534668, 0.0189397931098938, 0.01784859038889408, 0.014249107800424099, -0.07992575317621231, -0.020009679719805717, 0.012649285607039928, 0.013754230923950672, 0.01106326375156641, 0.02153700590133667, 0.013321219943463802, -0.027796020731329918, 0.0058081322349607944, -0.009848364628851414, 0.010886899195611477, 0.023441728204488754, -0.041036199778318405, 0.02584622986614704, -0.0053213490173220634, -0.0072654839605093, -0.05537758022546768, 0.010560288093984127, -0.03283849358558655, 0.010554509237408638, -0.018191728740930557, -0.0018026318866759539, -0.04458153620362282, 0.04410799592733383, -0.020259058102965355, -0.004391479305922985, -0.03421422466635704, 0.05787315592169762, 0.02958841249346733, -0.07264856994152069, 0.030648773536086082, -0.06806274503469467, -0.0020582822617143393, -0.010367307811975479, -0.00683226715773344, 0.013616740703582764, 0.017368169501423836, -0.028950421139597893, -0.02264484390616417, 0.046336449682712555, -0.03730294480919838, -0.004943556152284145, -0.023193977773189545, 0.00015142442134674639, 0.0016022231429815292, -0.028277816250920296, 0.006868716794997454, -0.045259878039360046, -0.011065683327615261, 0.05534077808260918, 0.004533496219664812, 0.03308800980448723, -0.022231239825487137, 0.019272053614258766, 0.024235470220446587, 0.02908196486532688, 0.02199612557888031, -0.04630681127309799, -0.03566533699631691, -0.013486886397004128, -0.03789478540420532, 0.07438421249389648, -0.00328334653750062, -0.04356777295470238, 0.003208847949281335, 0.029058538377285004, -0.015785671770572662, 0.01640447974205017, 0.013598772697150707, -0.012226994149386883, 0.004018253181129694, 0.008036045357584953, -0.026304278522729874, -0.019708728417754173, 0.04791560769081116, 0.019211940467357635, -0.07467213273048401, -0.003307550912722945, -0.005834898445755243, -0.04050150886178017, 0.002204776741564274, 0.01379710528999567, -0.046420350670814514, 0.009620826691389084, -0.038766998797655106, 0.010512270964682102, -0.07119690626859665, 0.07403787225484848, 0.007852139882743359, -0.044684525579214096, -0.028231121599674225, 0.0330345556139946, 0.028588615357875824, 0.017205245792865753, -0.010750753805041313, 0.0938018411397934, 0.020489580929279327, 0.04068398475646973, -0.031365420669317245, 0.05753009021282196, 0.005387014243751764, -0.055380530655384064, -0.0030977295245975256, 0.03364316001534462, -0.03516969084739685, 0.013470097444951534, 0.002326062647625804, -0.03276050090789795, -0.0019096718169748783, 0.008777444250881672, 0.0272848978638649, 0.03690319508314133, -0.01525546982884407, -0.034573908895254135, 0.015052738599479198, -0.004133158829063177, 0.013171502389013767, -0.0022567622363567352, 0.0012766672298312187, -0.031603120267391205, -0.01991294138133526, 0.0174173042178154, -0.02295132726430893, 0.023458227515220642, 0.03251824155449867, -0.035704586654901505, 0.020770065486431122, 0.07124732434749603, 0.007755729835480452, 0.04340112581849098, -0.018357304856181145, 0.014412804506719112, 0.028470534831285477, 0.029486345127224922, 0.009620066732168198, 0.039837706834077835, 0.006616696715354919, 0.011140486225485802, -0.015171469189226627, 0.0578448586165905, -0.0017257935833185911, 0.018637582659721375, -0.087185800075531, -0.05409200116991997, 0.05781295895576477, -0.05380787327885628, -0.03829367458820343, 0.037475623190402985, 0.09642262011766434, 0.008855585940182209, 0.06041282042860985, -0.003490154631435871, -0.07582996785640717, -0.01025462057441473, 0.007556919474154711, 0.004879138898104429, 0.020565122365951538, -0.01972953975200653, 0.04937775060534477, 0.012242975644767284, 0.006904053967446089, 0.0464683435857296, -0.0670272633433342, -0.08450808376073837, -0.010784316807985306, -0.030127009376883507, 0.05967886373400688, -0.022882720455527306, 0.0045497845858335495, 0.039025723934173584, 0.001345470198430121, 0.04762238264083862, 0.02724897861480713, 0.005527731962502003, 0.00853519793599844, -0.03062591888010502, -0.02393987774848938, 0.03663720563054085, 0.024685706943273544, 0.004642052110284567, -0.04050285741686821, 0.008744707331061363, -0.007094981614500284, 0.00017850255244411528, 0.06695357710123062, -0.020735640078783035, 0.03488600626587868, 0.03381438925862312, 0.05679284781217575, -0.01970873773097992, 0.06034926325082779, -0.07413256168365479, -0.016590721905231476, -0.01371979434043169, -0.03928244486451149, -0.012879065237939358, -0.013461590744554996, 0.1166486069560051, 0.046487145125865936, -0.05629986152052879, -0.04038028419017792, 0.020212456583976746, 0.017122920602560043, -0.06799331307411194, -0.008603463880717754, -0.017873074859380722, 0.004317514132708311, 0.021889079362154007, -0.05701708048582077, -0.0379936657845974, 0.012761009857058525, -0.0507885180413723, 0.014312597922980785, 0.07469695061445236, -0.024555133655667305, 0.04646991938352585, 0.007472338154911995, -0.00956021435558796, -0.00020976830273866653, -0.00032831449061632156, -0.03879484906792641, 0.013237247243523598, 0.014158529229462147, -0.004336661193519831, 0.0636906698346138, -0.020954806357622147, -0.021784905344247818, -0.04136157035827637, -0.023563718423247337, 0.00681180227547884, 0.052826281636953354, 0.06307142227888107, 0.009877413511276245, 0.06511733680963516, 0.009369445964694023, 0.02384139597415924, -0.004916592501103878, -0.036672018468379974, -0.02569134719669819, -0.009251260198652744, -0.013044704683125019, 0.03647435083985329, 0.010646204464137554, 0.031923167407512665, 0.029491933062672615, 0.014994356781244278, -0.012800811789929867, -0.005837313365191221, 0.026661217212677002, 0.010011817328631878, -0.02749548852443695, -0.03401637449860573, -0.029654642567038536, 0.06031148508191109, -0.030735384672880173, -0.021183738484978676, 0.010390998795628548, -0.07412127405405045, 0.056618303060531616, -0.05905025824904442, -0.05822778865695, 0.009020145982503891, 0.0412864126265049, 0.041113052517175674, -0.029179250821471214, 0.013896982185542583, 0.07389064133167267, 0.032786592841148376, -0.001175677520222962, -0.0013209680328145623, 0.0004441463097464293, 0.022095533087849617, 0.0042751324363052845, 0.018917670473456383, 0.026511315256357193, 0.02073371782898903, -0.008245035074651241, -0.045285895466804504, 0.020625881850719452, -0.01773431897163391, -0.29067251086235046, 0.02348632924258709, -0.013957932591438293, -0.032864637672901154, 0.030483828857541084, 0.007548433728516102, 0.002699887612834573, -0.06242933124303818, 0.005313795059919357, 0.03213117644190788, -0.022112442180514336, -0.06445516645908356, -0.03383832052350044, 0.06901679188013077, 0.008458546362817287, 0.026200857013463974, 0.00480317696928978, -0.02009408548474312, -0.00020609858620446175, 0.04026353731751442, -0.0052763014100492, -0.07655002921819687, -0.004080050624907017, 0.040800612419843674, 0.027807872742414474, 0.05019676312804222, -0.1005445197224617, 0.033173270523548126, -0.05236213281750679, -0.00038094224873930216, 0.01572445034980774, 0.005398615263402462, 0.003283506026491523, -0.01833086647093296, 0.0036834613420069218, -0.012829050421714783, 0.020493481308221817, 0.0033174247946590185, -0.013357575051486492, 0.02163328230381012, -0.03179347887635231, -0.038492925465106964, -0.04095635935664177, 0.019165610894560814, 0.0791500136256218, -0.016963103786110878, -0.06826911866664886, -0.014094829559326172, -0.048164546489715576, 0.0746181532740593, -0.03313777968287468, -0.02862076461315155, 0.014365454204380512, 0.03849796950817108, -0.015263115987181664, -0.02688162587583065, 0.006013731937855482, 0.007831581868231297, -0.04760070890188217, -0.031114691868424416, -0.021734287962317467, -0.05153461545705795, -0.009774314239621162, -0.04010796174407005, -0.010399152524769306, -0.06528960913419724, -0.0506364144384861, 0.012210402637720108, 0.08066558092832565, 0.028318515047430992, -0.049213770776987076, 0.014006274752318859, -0.005605932325124741, -0.11424395442008972, 0.0030164127238094807, -0.01091528870165348, -0.00646951561793685, -0.028333695605397224, 0.0032789288088679314, 0.04056502506136894, -0.013990916311740875, -0.060771793127059937, 0.040419045835733414, 0.009942419826984406, 0.009289255365729332, -0.024189945310354233, 0.029666606336832047, -0.0015869117341935635, -0.025265049189329147, 0.0178784541785717, 0.0769810602068901, -0.007222383748739958, -0.02149803563952446, -0.02596297860145569, 0.031450968235731125, 0.03580784425139427, 0.025890199467539787, -0.02222270518541336, 0.003048892831429839, 0.04323498159646988, -0.005378901492804289, -0.074818454682827, 0.019023846834897995, -0.014459026977419853, -0.01557175349444151, -0.020726988092064857, -0.05113207548856735, 0.030626656487584114, 0.03746139258146286, 0.027155613526701927, 0.002303934656083584, -0.020069733262062073, 0.011172578670084476, -0.05585327744483948, -0.02494903840124607, -0.02346428483724594, 0.007160612847656012, 0.039382513612508774, -0.007972323335707188, -0.006398703437298536, -0.0329853780567646, 0.020158570259809494, 0.0039153327234089375, -0.009512233547866344, -0.06951604038476944, -0.03668989613652229, -0.014586927369236946, -0.03380179405212402, 0.0046148719266057014, 0.027034753933548927, -0.02912130579352379, 0.03877240791916847, 0.002917499979957938, -0.03745608031749725, 0.013052820228040218, -0.00308417109772563, -0.05310535058379173, -0.029275130480527878, -0.026973307132720947, -0.007620683405548334, 0.014040736481547356, 0.0024386432487517595, 0.013982078060507774, 0.03189896047115326, 0.03106810338795185, -0.00523011852055788, 0.034535542130470276, -0.011602870188653469, 0.004796729888767004, 0.017996110022068024, 0.015257957391440868, -0.07254341244697571, 0.015395660884678364, -0.061289846897125244, -0.03054354339838028, -0.03531977906823158, 0.040736764669418335, -0.015419420786201954, -0.01684260554611683, -0.021619470790028572, 0.026738569140434265, -0.03888244926929474, -0.020086519420146942, -0.010700592771172523, -0.004475794266909361, 0.05221550539135933, -0.017552310600876808, 0.020949482917785645, -0.024750439450144768, -0.018180811777710915, 0.017512226477265358, 0.019789062440395355, -0.014932544901967049, 0.006797367706894875, 0.017579466104507446, -0.01358947716653347, -0.0014910373138263822, -0.0064952136017382145, 0.03841843456029892, 0.027620362117886543, 0.023437395691871643, -0.038762159645557404, 0.0030658056493848562, -0.006896540988236666, 0.04480352997779846, 0.004371166694909334, -0.0014820527285337448, -0.00021422139252536, -0.0004827959055546671, -0.02970915287733078, -0.053938645869493484, -0.01757735013961792, -0.004350729752331972, 0.039165154099464417, -0.03881695494055748, -0.08889295160770416, 0.03601161763072014, 0.03228883445262909, -0.0010023731738328934, -0.008676083758473396, 0.0010036767926067114, 0.012809628620743752, -0.02646264061331749, 0.00932206679135561, 0.05006176978349686, -0.05383119732141495, 0.0196839589625597, -0.02998550795018673, 0.016514340415596962, 0.020319079980254173, 0.0013426325749605894, -0.03941579908132553, -0.012524445541203022, -0.025541186332702637, -0.01482936181128025, -0.06076371297240257, -0.02826431766152382, -0.02149166539311409, 0.02249634824693203, -0.019147271290421486, -0.016635851934552193, -0.0018734568729996681, 0.0054306224919855595, -0.020824462175369263, -0.03288182616233826, 0.017516054213047028, -0.044550806283950806, 0.013630402274429798, 0.010079032741487026, -0.029751809313893318, 0.02053840644657612, -0.02051859349012375, 0.017586883157491684, 0.021764537319540977, -0.02015203796327114, -0.02273699827492237, 0.0007122567039914429, 0.0033526907209306955, 0.003911590203642845, 0.022517940029501915, 0.00792711228132248, -0.007356905844062567, -0.03876780718564987, -0.010615423321723938, -0.040566399693489075, 0.023597901687026024, -0.009677669033408165, -0.031177885830402374, 0.021391304209828377, 0.06609861552715302, 0.019273219630122185, 0.035116735845804214, 0.0030426091980189085, -0.00875546783208847, 0.0572684220969677, -0.08930040895938873, -0.02034718170762062, -0.023213503882288933, -0.05769120156764984, 0.014551734551787376, 0.0029975471552461386, 0.04880383610725403, -0.015800688415765762, 0.0295905489474535, 0.02335278131067753, 0.0368875227868557, 0.026249611750245094, -0.00556988175958395, 0.04359788820147514, -0.07839641720056534, 0.02591812051832676, -0.07404332607984543, 0.0018826703308150172, 0.037566013634204865, 0.02479943260550499, -0.016611479222774506, -0.02557336911559105, -0.06746432930231094, 0.053079571574926376, -0.06700365245342255, -0.019023453816771507, 0.03673260286450386, -0.004479989409446716, 0.002989949891343713, 0.004353408236056566, -0.06501302123069763, 0.04044701159000397, 0.03531969338655472, -0.048188675194978714, -0.02080715447664261, -0.02852534130215645, 0.057817719876766205, 0.004386797547340393, 0.026904243975877762, -0.029856832697987556, 0.008446693420410156, 0.07511259615421295, 0.009045169688761234, 0.0066047534346580505, 0.05158441886305809, -0.021512949839234352, 0.055520594120025635, 0.036128930747509, 0.001896647154353559, -0.009261530824005604, 0.0141897052526474, 0.006412907503545284, -0.057903971523046494, 0.013225458562374115, 0.0048206765204668045, -0.03829566016793251, -0.05667252093553543, 0.06621700525283813, 0.022154472768306732, -0.02358877658843994, -0.03455130383372307, 0.015970081090927124, -0.08046670258045197, -0.015674492344260216, -0.0072015984915196896, -0.02288723923265934, -0.046236660331487656, 0.07130400091409683, -0.015524222515523434, -0.0036851607728749514, 0.06940034031867981, -0.01520486082881689, -0.017731329426169395, -0.017423279583454132, 0.08426821231842041, 0.05231550335884094, 0.04655976593494415, 0.0018601227784529328, 0.05934963747859001, -0.025288520380854607, -0.03207773342728615, 0.025936763733625412, -0.0178625900298357, -0.014571819454431534, -0.013426183722913265, 0.02915659174323082, 0.06206532195210457, 0.0053561534732580185, 0.04972004517912865, -0.02341173216700554, 0.0014921020483598113, -0.006698817480355501, 0.0014232546091079712, 0.01994958147406578, 0.07851310074329376, 0.01836937479674816, 0.007264402695000172, -0.021242158487439156, -0.0365002416074276, 0.03553781285881996, -0.03703480213880539, -0.02253658138215542, 0.024655895307660103, -0.006062163971364498, 0.027875931933522224, 0.03395390510559082, 0.036646902561187744, 0.08474062383174896, -0.0236790981143713, -0.0036429213359951973, -0.022181717678904533, 0.028385402634739876, 0.030553214251995087, -0.01518914196640253, -0.025485556572675705, -0.01768379472196102, 0.0015096217393875122, -0.038259074091911316, -0.0003802671853918582, -0.015449716709554195, -0.015633147209882736, 0.0480974055826664, -0.0009024757309816778, 0.013462821952998638, 0.03256276622414589, 0.028934191912412643, -0.019373076036572456, -0.07384870946407318, -0.05967703089118004, -0.03508925810456276, -0.048614226281642914, -0.017661022022366524, 0.021630968898534775, -0.008327973075211048, -0.03884932026267052, -0.032761119306087494, -0.02048223279416561, -0.016441604122519493, 0.052555788308382034, -0.05111994594335556, -0.027800360694527626, 0.03456893935799599, 0.017977818846702576, 0.03864293172955513, -0.007958625443279743, 0.05785103142261505, -0.009142119437456131, 0.0005790633731521666, -0.03952351585030556, 0.00133844546508044, 0.031715307384729385, 0.00020794451120309532, 0.007814926095306873, -0.06444266438484192, 0.013879900798201561, 0.023021075874567032, -0.010480531491339207, -0.05806936323642731, 0.03011675924062729, 0.006789414677768946, -0.023215629160404205, 0.04778368026018143, -0.017295241355895996, 0.006551225204020739, -0.03635789081454277, -0.019557487219572067, 0.021391097456216812, 0.02014842815697193, 0.03963937237858772, -0.02959597483277321, 0.08317241817712784, 0.03390742093324661, -0.03674818202853203, -0.033949725329875946, -0.00507414760068059, 0.0008231630781665444, -0.0008019763045012951, -0.03174662962555885, -0.045848097652196884, -0.024839501827955246, -0.056078553199768066, -0.03194325044751167, 0.013080580160021782, -0.005713875405490398, -0.025128398090600967, 0.022534646093845367, 0.0184719767421484, -0.028016066178679466, 0.03369847312569618, -0.045049991458654404, 0.04948801174759865, -0.021444160491228104, 0.014648191630840302, 0.027982117608189583, 0.004406747408211231, -0.03427119553089142, 0.02410476841032505, 0.03684854134917259, -0.03453664854168892, -0.01160467229783535, -0.005304263439029455, 0.036815345287323, 0.027550119906663895, 0.004127990920096636, -0.02180817723274231 ]
[ -0.0944318175315857, 0.0076186396181583405, -0.033300962299108505, -0.026873987168073654, 0.04056078940629959, -0.03400589898228645, -0.007396068889647722, 0.03312910720705986, -0.011234037578105927, -0.022421566769480705, -0.006301757879555225, -0.013053692877292633, -0.01852608658373356, 0.00525673758238554, 0.07460299879312515, -0.010724100284278393, 0.0037823650054633617, -0.07031993567943573, -0.01601315848529339, 0.024249276146292686, 0.033224884420633316, -0.02113761566579342, -0.054733868688344955, -0.01679290644824505, 0.017810076475143433, 0.0385393351316452, 0.03557734563946724, -0.03497929871082306, 0.013525002636015415, -0.21142637729644775, 0.011260852217674255, -0.009966057725250721, 0.033614229410886765, -0.011645618826150894, 0.009913591668009758, 0.04511631652712822, 0.004281082656234503, 0.032931238412857056, -0.019575150683522224, 0.03583008050918579, 0.01851881854236126, 0.010882068425416946, -0.0658830776810646, -0.02028047852218151, 0.030690299347043037, 0.014408511109650135, 0.019710030406713486, -0.01872127875685692, -0.012287591584026814, 0.013669446110725403, -0.0634961798787117, -0.04636550694704056, -0.005277043674141169, -0.03070501610636711, -0.02655860222876072, 0.022436995059251785, 0.03894662857055664, 0.06775784492492676, 0.011542454361915588, 0.019276628270745277, -0.000439383351476863, -0.015021218918263912, -0.11743604391813278, 0.07596978545188904, 0.03337903693318367, 0.06766744703054428, -0.031096018850803375, -0.02634311281144619, -0.004059747792780399, 0.09909825772047043, 0.030888574197888374, -0.022873206064105034, -0.01231803372502327, 0.04708011820912361, 0.01369382906705141, 0.015577854588627815, 0.005506708286702633, -0.00452876603230834, 0.014554580673575401, -0.047885600477457047, -0.04622015357017517, -0.015001506544649601, 0.011388758197426796, -0.003338753944262862, -0.020725181326270103, 0.03045044094324112, -0.031941331923007965, 0.04058731347322464, 0.04035189002752304, 0.005749573931097984, 0.06365596503019333, -0.0022945324890315533, 0.02093275636434555, 0.0017322907224297523, -0.09100613743066788, -0.015112393535673618, -0.007857946678996086, 0.00211297906935215, -0.030811533331871033, 0.47508347034454346, -0.0349084697663784, -0.01345323957502842, 0.08974659442901611, 0.01766561158001423, -0.018906429409980774, 0.005567727144807577, 0.0007407669327221811, -0.06137571856379509, 0.0236817616969347, -0.041418418288230896, 0.02617141790688038, 0.01706058345735073, 0.08689229935407639, -0.02650025673210621, -0.020440779626369476, 0.028069274500012398, 0.008779352530837059, 0.007212947588413954, 0.0069620031863451, 0.0019642675761133432, -0.010259800590574741, 0.027174178510904312, 0.01229680236428976, -0.02413964830338955, -0.01890723593533039, -0.028042521327733994, 0.014125176705420017, 0.051664140075445175, 0.022543873637914658, 0.0006320768152363598, 0.038840312510728836, -0.044937554746866226, -0.06795164942741394, -0.010264761745929718, 0.0024757939390838146, 0.012584961950778961, 0.034860797226428986, -0.019398918375372887, 0.027838321402668953, 0.02091645449399948, -0.012823675759136677, -0.004470406100153923, 0.014264204539358616, -0.023166513070464134, -0.041107144206762314, 0.09747320413589478, 0.015593386255204678, -0.017400944605469704, 0.00531813083216548, -0.004238224122673273, 0.011342931538820267, 0.03967828303575516, -0.01279524341225624, -0.08621609956026077, 0.01067532878369093, 0.020907722413539886, 0.08231308311223984, 0.002600832376629114, -0.030493708327412605, -0.011732303537428379, -0.022563442587852478, -0.008129723370075226, -0.04909240081906319, 0.0027255790773779154, 0.04580642655491829, -0.09763585776090622, -0.005261753220111132, 0.012093443423509598, 0.027273129671812057, -0.07754092663526535, 0.009953013621270657, 0.03316742554306984, -0.04479685425758362, -0.0011060995748266578, 0.04315304011106491, -0.02396058477461338, -0.020039018243551254, 0.03493250533938408, 0.053448423743247986, 0.02328982949256897, 0.020989779382944107, -0.008450880646705627, -0.05668952316045761, 0.005359770730137825, -0.02730637602508068, -0.08336807787418365, -0.052812106907367706, -0.010980966500937939, -0.04281524941325188, 0.007527312263846397, 0.0032826075330376625, -0.03214019164443016, -0.11299977451562881, 0.09139522165060043, -0.03130871802568436, -0.04320479929447174, 0.02916226163506508, -0.0043615661561489105, -0.029486697167158127, 0.006327040493488312, -0.031443074345588684, 0.037192653864622116, -0.01435793936252594, 0.047461435198783875, -0.05775727704167366, 0.04200909286737442, 0.06787365674972534, -0.04596337676048279, 0.0847432017326355, 0.0505741648375988, -0.014481281861662865, -0.047862857580184937, 0.00570867070928216, 0.016566671431064606, -0.009497442282736301, -0.017638027667999268, -0.011567307636141777, 0.017345236614346504, 0.0017651710659265518, 0.011228291317820549, -0.021434135735034943, -0.03797950968146324, -0.0013483342481777072, -0.35153672099113464, -0.04042502120137215, -0.008022458292543888, -0.015088397078216076, 0.02524259313941002, -0.056550655514001846, 0.025626132264733315, -0.01005349587649107, -0.022092627361416817, -0.010731701739132404, 0.06927155703306198, -0.012490582652390003, 0.015225579962134361, -0.07481704652309418, 0.003875391324982047, 0.010435796342790127, -0.05535779148340225, -0.023139357566833496, -0.043249886482954025, 0.03616372123360634, -0.0056961835362017155, 0.002566481474786997, -0.011426265351474285, -0.05445340648293495, -0.004469350911676884, -0.06087984889745712, 0.10526303201913834, -0.016041288152337074, 0.08710677176713943, -0.023145774379372597, 0.03010408952832222, 0.00019699969561770558, 0.012959777377545834, -0.07008032500743866, 0.015202338807284832, -0.011636083014309406, -0.014247125014662743, 0.00018121526227332652, 0.01822766475379467, -0.03634732961654663, -0.056001853197813034, 0.03265839442610741, -0.05006023496389389, -0.03936824947595596, -0.04661339148879051, 0.02341003343462944, -0.014754122123122215, -0.04164629057049751, -0.011512699536979198, 0.08125720173120499, 0.0251426063477993, -0.03199296072125435, 0.028079258278012276, 0.007831578142940998, -0.027563471347093582, -0.04088982939720154, -0.07218703627586365, 0.014147702604532242, 0.022240711376070976, 0.014440875500440598, 0.03317565843462944, 0.0748971626162529, 0.03155989944934845, -0.03708697110414505, -0.007022374775260687, 0.004552333615720272, -0.0051476480439305305, -0.016156278550624847, 0.02324501797556877, -0.0372864305973053, -0.017194176092743874, 0.06939993798732758, 0.010234647430479527, -0.02182941511273384, 0.004930788651108742, 0.05058838427066803, 0.005304594058543444, 0.041269753128290176, 0.02053169719874859, 0.012648684903979301, 0.031009426340460777, 0.002524311188608408, 0.009608062915503979, -0.035355329513549805, -0.007464188151061535, 0.03522355481982231, -0.012848502956330776, -0.03537501394748688, 0.07603566348552704, -0.004706676583737135, -0.021641826257109642, 0.014336206950247288, -0.0002907038142438978, -0.01174679771065712, 0.08422903716564178, 0.004906542599201202, -0.2539726495742798, 0.016178268939256668, 0.05705675482749939, 0.0476849265396595, -0.0034620356746017933, 0.029009606689214706, 0.028629083186388016, -0.045339662581682205, 0.03923903405666351, 0.003086644224822521, 0.0365445539355278, 0.016133921220898628, 0.035374924540519714, 0.0018668059492483735, 0.0338255949318409, -0.020000100135803223, 0.046375591307878494, -0.026893898844718933, 0.03705459460616112, 0.0010233036009594798, 0.017292965203523636, 0.004507358651608229, 0.15883301198482513, 0.010625887662172318, 0.02621384710073471, -0.010110309347510338, 0.014113211072981358, 0.005169135518372059, 0.07691718637943268, 0.017422044649720192, 0.002989407628774643, -0.0017619647551327944, 0.029336966574192047, -0.007014802191406488, 0.017853936180472374, -0.08836764097213745, -0.035855576395988464, 0.012435683980584145, 0.0271923691034317, 0.00025885598734021187, 0.009095734916627407, -0.005051468499004841, -0.06876576691865921, 0.01096261851489544, 0.05550515651702881, 0.022113492712378502, -0.00663788290694356, -0.04121564328670502, -0.03832372650504112, -0.012090508826076984, -0.00595463952049613, -0.0412321612238884, -0.02036370150744915, -0.010129068046808243, -0.014019139111042023, 0.06345538794994354, 0.01135971024632454, -0.009778986684978008, -0.02064330317080021, 0.005389183294028044, -0.023762701079249382, -0.010246897116303444, 0.11186014860868454, 0.02734631858766079, 0.021830059587955475 ]
[ 0.003307848237454891, 0.018380489200353622, -0.006920068059116602, -0.013056904077529907, -0.035387542098760605, 0.04147729650139809, 0.04133881628513336, 0.01164090633392334, -0.01032880786806345, 0.007802325766533613, 0.03604205325245857, 0.010976085439324379, -0.006357116159051657, -0.03221485763788223, 0.026043137535452843, -0.04336749389767647, 0.04352501034736633, 0.0004493689048103988, 0.008677276782691479, 0.024635812267661095, 0.03529753535985947, -0.0015691894805058837, -0.002412158530205488, -0.012126713991165161, -0.016027459874749184, 0.02112063392996788, -0.02165153995156288, -0.04074105620384216, 0.004244489129632711, -0.14900043606758118, -0.023359982296824455, 0.0009786369046196342, -0.029140356928110123, 0.056248899549245834, -0.01788398250937462, -0.06412948668003082, 0.032138653099536896, 0.020117316395044327, 0.0024869644548743963, -0.04085256904363632, 0.00929983239620924, -0.008878830820322037, -0.029975660145282745, 0.01106887124478817, -0.013689905405044556, -0.012421908788383007, 0.013975371606647968, -0.02594788931310177, 0.0005062171840108931, 0.029470033943653107, -0.030106335878372192, 0.04854254797101021, 0.01667051948606968, 0.010466627776622772, 0.03059670515358448, -0.010819032788276672, 0.026422640308737755, 0.028271228075027466, 0.02115548588335514, -0.016198517754673958, -0.006813487969338894, -0.019505033269524574, -0.000011729060133802705, -0.02454124204814434, 0.003716930514201522, -0.016826555132865906, -0.052941519767045975, 0.008701919578015804, -0.04339933395385742, -0.025391459465026855, 0.004493561573326588, 0.009661218151450157, -0.02142971381545067, -0.035315945744514465, 0.01577695459127426, 0.0015715277986600995, 0.027060549706220627, -0.04029809683561325, -0.021793153136968613, -0.01357477530837059, -0.06293885409832001, 0.05787261575460434, 0.000011428051948314533, -0.0019621362444013357, 0.0022829764056950808, -0.01786157116293907, 0.0061589498072862625, 0.0020225942134857178, 0.02898666262626648, 0.00047622440615668893, -0.03721822798252106, 0.0327252559363842, 0.015128680504858494, -0.02632288821041584, -0.08284982293844223, -0.007243721280246973, 0.0029563612770289183, -0.04499130696058273, 0.003745901631191373, 0.8391726016998291, -0.006923793349415064, 0.04900718480348587, 0.041562311351299286, 0.024503152817487717, -0.01612425409257412, 0.030709272250533104, -0.016615888103842735, -0.0040868245996534824, 0.009000559337437153, -0.044183842837810516, 0.03491666540503502, 0.032232195138931274, 0.027517613023519516, 0.024740826338529587, -0.02944512479007244, 0.008581642992794514, -0.007891924120485783, 0.010617619380354881, -0.012492052279412746, -0.0012427371693775058, 0.007055278867483139, 0.03156248480081558, 0.0034983709920197725, -0.022954192012548447, 0.008385252207517624, -0.16163283586502075, 0.006660020910203457, -7.285600845065271e-33, -0.03125191107392311, -0.021826066076755524, 0.01661447249352932, 0.011218960396945477, 0.03801323473453522, 0.008932992815971375, 0.04110542684793472, 0.042479418218135834, 0.0062480890192091465, -0.020147716626524925, 0.010180618613958359, 0.012791979126632214, -0.03504898026585579, -0.025063809007406235, 0.03453240916132927, -0.01178246270865202, -0.03470999747514725, 0.025232216343283653, 0.04936417192220688, 0.0015354923671111465, 0.03475433215498924, 0.00631322804838419, 0.02686629444360733, -0.0335996076464653, -0.042134806513786316, 0.027559280395507812, 0.01603543572127819, 0.0001811366091715172, 0.009198845364153385, -0.02389119192957878, 0.014533682726323605, 0.023207182064652443, 0.042629506438970566, -0.026029294356703758, -0.008791618049144745, -0.024253051728010178, -0.014797141775488853, -0.004796268418431282, 0.004797382280230522, -0.06933101266622543, -0.04606019705533981, -0.010998991318047047, 0.005431072320789099, 0.016564790159463882, -0.06230524927377701, -0.005879283882677555, 0.0172746405005455, 0.03284760192036629, -0.00027123006293550134, 0.061299823224544525, -0.008342082612216473, -0.022377338260412216, 0.006637228652834892, -0.02586822770535946, -0.047828324139118195, -0.00010543243843130767, -0.014575080014765263, -0.016768041998147964, 0.008649958297610283, -0.00008627510396763682, 0.03202618658542633, 0.004150949884206057, -0.0029299522284418344, 0.012638183310627937, -0.027528628706932068, -0.003766098991036415, -0.004604680463671684, -0.022604437544941902, 0.026931241154670715, -0.01704808510839939, -0.03966343402862549, 0.021853305399417877, -0.01026465930044651, -0.006982211489230394, 0.0432436466217041, -0.024873647838830948, 0.001308958395384252, 0.01573370397090912, -0.008997960947453976, -0.0021528159268200397, 0.015040665864944458, -0.0006245000986382365, -0.00719462800770998, -0.0383942537009716, -0.04208246245980263, 0.02271769940853119, 0.003303410252556205, -0.00510571850463748, -0.01002142857760191, -0.00888367835432291, 0.0036269547417759895, 0.04103507474064827, -0.02499808371067047, -0.00009599851910024881, 0.002197972731664777, 6.86396791915661e-33, 0.006011613178998232, -0.02901817113161087, 0.00977238453924656, -0.0010544233955442905, 0.021733412519097328, -0.04707314446568489, 0.005777140147984028, -0.03303151577711105, -0.05430212989449501, 0.0028442880138754845, -0.04428932070732117, -0.01631212793290615, -0.030044404789805412, 0.02527688257396221, 0.03880508244037628, -0.000684796366840601, 0.03483086824417114, -0.029193516820669174, 0.02600167691707611, -0.04035044461488724, 0.023517129942774773, 0.033801622688770294, -0.0008762189536355436, 0.004981323145329952, -0.03630237281322479, 0.01603238470852375, -0.028178755193948746, 0.023930639028549194, -0.003820239333435893, 0.007294260896742344, 0.004825157579034567, -0.0077227633446455, 0.030767006799578667, -0.0038211154751479626, -0.00916301179677248, -0.009544546715915203, 0.014009536243975163, -0.015718676149845123, 0.006118187680840492, -0.011727862991392612, 0.025312479585409164, -0.016023190692067146, -0.030278360471129417, 0.02693539299070835, 0.039532288908958435, 0.0058709098957479, 0.00472742784768343, 0.00024862177087925375, 0.04658566787838936, 0.02860659919679165, 0.006015848834067583, 0.02061564289033413, -0.008184904232621193, 0.017048943787813187, 0.021041085943579674, 0.04263794794678688, 0.0223656315356493, -0.021300071850419044, -0.010720937512814999, -0.016201313585042953, -0.02525642327964306, 0.026991484686732292, -0.003212301293388009, -0.0033744119573384523, -0.006977446377277374, -0.03076399303972721, 0.02700759470462799, -0.030125485733151436, 0.039390139281749725, -0.042080167680978775, -0.01817590370774269, -0.021570511162281036, 0.0043929219245910645, 0.02729424089193344, 0.01401166059076786, 0.012072761543095112, -0.006089779548346996, 0.030345840379595757, 0.017828302457928658, -0.00986513402312994, -0.018146689981222153, -0.024544375017285347, 0.026482421904802322, 0.019358819350600243, 0.024453897029161453, 0.005671899765729904, -0.011701741255819798, -0.014742430299520493, 0.0325944647192955, 0.031371090561151505, -0.026327164843678474, 0.0013391842367127538, 0.025547143071889877, 0.021735701709985733, -0.005790884606540203, -1.320162201778885e-8, 0.0004577740910463035, -0.009352102875709534, -0.02107297256588936, 0.04154220223426819, -0.009126262739300728, 0.0006368396570906043, -0.008164840750396252, -0.016237793490290642, -0.0431632325053215, -0.01413571834564209, 0.03019747883081436, 0.017867034301161766, -0.013688260689377785, 0.03156212344765663, 0.03981604427099228, -0.04253537580370903, 0.010118458420038223, 0.0019001110922545195, 0.014405894093215466, 0.04006899148225784, 0.02243048883974552, 0.014183111488819122, 0.007652743253856897, 0.008967556990683079, -0.03304952383041382, -0.01618238352239132, -0.0107124550268054, -0.08576159924268723, -0.013959169387817383, 0.007499244529753923, 0.0018051810329779983, -0.024596543982625008, -0.03913864865899086, 0.00028975363238714635, -0.014358216896653175, -0.030261242762207985, -0.03268153592944145, 0.057141147553920746, 0.010920998640358448, 0.00508796377107501, -0.015658779069781303, -0.03700440749526024, -0.020478257909417152, -0.030503062531352043, -0.005265173502266407, 0.013704889453947544, -0.04264729097485542, -0.014039031229913235, 0.0210017878562212, -0.0011896344367414713, -0.018733548000454903, 0.011846590787172318, 0.0071150315925478935, -0.014857090078294277, -0.02156103402376175, 0.02298068255186081, 0.03070267103612423, -0.04772388935089111, -0.027285808697342873, -0.011869387701153755, 0.059167493134737015, 0.017759298905730247, -0.012730331160128117, -0.008271642029285431 ]
coding-dojo-20-groovy-sales-tax-problem
https://markhneedham.com/blog/2009/07/31/coding-dojo-20-groovy-sales-tax-problem
false
2009-07-30 00:59:18
Book Club: Hexagonal Architecture (Alistair Cockburn)
[ "book-club", "hexagonal-architecture" ]
[ "Book Club" ]
In our latest book club we discussed Alistair Cockburn's http://alistair.cockburn.us/Hexagonal+architecture[Hexagonal Architecture] which I first heard about http://www.markhneedham.com/blog/2008/09/01/my-software-development-journey-so-far/[around a year ago] and was another of http://intwoplacesatonce.com/[Dave Cameron]'s recommendations. As I understand it, the article describes an architecture for our systems where the domain sits in the centre and other parts of the system depend on the domain while the domain doesn't depend on anything concrete but is interacted with by various adapters. These are some of my thoughts and our discussion of the article: * It seems like the collection of adapters that Cockburn describes as interacting with the 'application' form lots of different http://www.markhneedham.com/blog/2009/07/07/domain-driven-design-anti-corruption-layer/[anti corruption layers] in Domain Driven Design language. I think tools like http://www.codeplex.com/AutoMapper[Automapper] and http://www.codeplex.com/Json[JSON.NET] might be useful when writing some of these adaptors although http://intwoplacesatonce.com/[Dave] pointed out that we need to be careful that we're not just copying every bit of data between different representations of our model otherwise we are indirectly creating the coupling that we intended to avoid. * I was intrigued as to how rich user interfaces which have a lot of javascript in them would fit into the idea of mainly testing the application via the API and from our discussion we came to the conclusion that perhaps the javascript code would be an application by itself which server side code would interact with by using an adaptor. This seems to lead towards an understanding of code as consisting of *lots of different hexagons which interact with each other* through pipes and filters. * Dave described how designing our code according to the hexagonal architecture can help us *avoid the zone of pain* whereby we have lots of concrete classes inside a package and a lot of other packages depending on us. Scott Hanselman http://www.hanselman.com/blog/ExitingTheZoneOfPainStaticAnalysisWithNDepend.aspx[discusses this concept as part of a post on the different graphs & metrics NDepend provides]. From my understanding the idea seems to be to try not to have our application depending on unstable packages such as the data layer which we might decide to change and will have great difficulty in doing so if it is heavily coupled to our business code. Instead we should look to rely on an abstraction which sits inside the domain package and is implemented by one of the adaptors. I haven't read the whole paper but it sounds quite similar to Uncle Bob's http://www.objectmentor.com/resources/articles/stability.pdf[Stable Dependencies Principle]. * I'm not sure whether these applications are following the hexagonal architecture but http://apiwiki.twitter.com/[twitter], http://code.google.com/apis/maps/[Google Maps] and http://codex.wordpress.org/Plugin_API[WordPress] all have APIs which provide us with the ability to drive at least some part of their applications using adaptors that we need to write. This seems to be the way that quite a few applications are going which I imagine would influence the way that they organise their code in some way. In twitter's case the external adaptors that drive their application are the main source of use.
null
null
[ 0.017352549359202385, 0.018135447055101395, 0.01203017309308052, 0.03658799082040787, 0.06628640741109848, 0.0032598949037492275, 0.01683070883154869, 0.030958445742726326, 0.03160027042031288, -0.032505299896001816, 0.0080525241792202, -0.015673065558075905, -0.07058131694793701, -0.00019618889200501144, -0.020258571952581406, 0.05306215211749077, 0.07298505306243896, -0.018880996853113174, 0.01756829395890236, 0.015611018985509872, 0.03309471905231476, 0.060048509389162064, 0.020342040807008743, 0.03857690468430519, 0.026042582467198372, 0.010787885636091232, 0.015020267106592655, 0.008252296596765518, -0.06314786523580551, 0.008340397849678993, 0.035617291927337646, 0.009491082280874252, 0.002092130249366164, -0.015067595057189465, 0.021044418215751648, -0.012108937837183475, -0.026641393080353737, 0.0018286181148141623, 0.00025690862094052136, 0.02500145696103573, -0.06146283075213432, 0.06667288392782211, 0.01927594095468521, 0.022111402824521065, -0.015179304406046867, 0.006951738148927689, -0.05507166311144829, 0.019657881930470467, -0.015545657835900784, -0.008850527927279472, -0.058739762753248215, 0.020982414484024048, -0.009211442433297634, 0.013949478045105934, 0.0004427586100064218, 0.04853799566626549, 0.028207125142216682, -0.0589929074048996, 0.01736702024936676, -0.04253898188471794, -0.0012726417044177651, -0.0014501257101073861, 0.015725580975413322, 0.039518050849437714, 0.013006052933633327, -0.014593781903386116, -0.025790199637413025, 0.03933949023485184, -0.045268889516592026, 0.004668055567890406, -0.0025172375608235598, 0.03467381373047829, -0.0021827020682394505, -0.01773231104016304, 0.01465283427387476, -0.04928496479988098, -0.0019600761588662863, 0.05686467885971069, 0.030468720942735672, 0.025124767795205116, -0.034672193229198456, -0.0022246972657740116, 0.008129658177495003, 0.0248306542634964, -0.008376848883926868, -0.055042918771505356, -0.032705988734960556, -0.0053535825572907925, -0.05516254901885986, 0.05205291509628296, 0.006163713987916708, -0.07376793026924133, 0.01268015056848526, 0.032781932502985, 0.009946058504283428, 0.020438315346837044, 0.016491251066327095, 0.01365627720952034, -0.004892848897725344, -0.01675393432378769, -0.02145899459719658, -0.01280555035918951, 0.0015261126682162285, -0.015391292981803417, -0.05988191068172455, -0.016941385343670845, -0.01517515629529953, -0.01993926614522934, 0.019689040258526802, 0.0070680067874491215, -0.03284822404384613, 0.010955661535263062, -0.004982000682502985, -0.02562602236866951, -0.07684723287820816, 0.07244840264320374, -0.007652163039892912, -0.04409892112016678, -0.0023046385031193495, 0.026230057701468468, 0.05407315120100975, 0.03300616890192032, -0.03673369437456131, 0.07648015767335892, 0.007975687272846699, 0.007344328798353672, -0.02419818378984928, 0.05183548480272293, -0.02890484221279621, -0.06903152167797089, -0.015511350706219673, 0.04854153096675873, -0.03265386074781418, -0.015085771679878235, -0.004992983303964138, -0.034520506858825684, -0.021178705617785454, 0.01329744327813387, 0.03838998079299927, 0.05439583212137222, -0.0015986172948032618, -0.05434918403625488, 0.028955582529306412, -0.020919421687722206, 0.026126382872462273, 0.007035601418465376, 0.004370058421045542, -0.023835591971874237, -0.018793677911162376, 0.013237941078841686, 0.003623192897066474, 0.06333669275045395, -0.0026970563922077417, -0.042512282729148865, 0.011873649433255196, 0.09381819516420364, 0.030123870819807053, 0.0306413397192955, 0.0006221352377906442, 0.004893297329545021, 0.02782548777759075, 0.01742735505104065, 0.013707512058317661, 0.03422998636960983, -0.0011077550007030368, 0.0001333624095423147, 0.001842764439061284, 0.06061838939785957, 0.011099642142653465, -0.01524556428194046, -0.07102964073419571, -0.06263300776481628, 0.0552942156791687, -0.052991971373558044, -0.027116922661662102, 0.017891617491841316, 0.09160362184047699, 0.014479026198387146, 0.043058719485998154, -0.00023036384664010257, -0.08371175080537796, 0.00883172545582056, 0.02534952200949192, 0.005623586475849152, 0.026979247108101845, -0.01635512337088585, 0.06862764060497284, 0.028676170855760574, -0.01015695184469223, 0.06608356535434723, -0.06975048780441284, -0.09014424681663513, -0.024007249623537064, -0.01506402064114809, 0.06955187022686005, -0.015831375494599342, 0.008314323611557484, 0.07436512410640717, 0.009640750475227833, 0.04503370448946953, 0.02599896304309368, 0.002800887683406472, 0.016452616080641747, -0.030062245205044746, -0.024158423766493797, 0.008817313238978386, 0.05703883618116379, -0.004174139816313982, -0.0468255952000618, -0.009801313281059265, 0.004728564061224461, -0.046707987785339355, 0.0584915466606617, -0.016253527253866196, 0.013210449367761612, -0.0005841676611453295, 0.05749567598104477, -0.02103636972606182, 0.048742327839136124, -0.06125799939036369, 0.012010044418275356, 0.012398997321724892, -0.028524231165647507, 0.01549678947776556, 0.003340507159009576, 0.12480483949184418, 0.07229514420032501, -0.05307786911725998, -0.038356151431798935, 0.006145366467535496, 0.00503814360126853, -0.03671558201313019, -0.0009319097734987736, -0.025196926668286324, 0.0017511456971988082, 0.006834265775978565, -0.048890404403209686, -0.027069805189967155, 0.01802665926516056, -0.018738584592938423, -0.009892860427498817, 0.06821418553590775, -0.036740634590387344, 0.04392855614423752, 0.012941575609147549, -0.01365793775767088, -0.0011110565392300487, -0.02161669358611107, -0.04662924259901047, 0.011839788407087326, 0.011248569935560226, -0.012638743035495281, 0.0586618147790432, -0.022672131657600403, -0.021700263023376465, -0.03447090834379196, -0.03148188814520836, -0.007284923922270536, 0.030414247885346413, 0.05626209080219269, -0.01672341488301754, 0.0523923821747303, -0.005615500267595053, 0.01098480075597763, -0.0031190982554107904, -0.04935654625296593, -0.03189238905906677, -0.026114599779248238, 0.006128896027803421, 0.022958729416131973, 0.013741620816290379, 0.008342413231730461, 0.033704254776239395, -0.019765926524996758, -0.012561607174575329, -0.022139504551887512, 0.024578789249062538, 0.00012035739200655371, -0.02770729549229145, -0.015375887975096703, -0.04298879951238632, 0.06250303983688354, -0.037142809480428696, -0.022263439372181892, 0.008717779070138931, -0.057657547295093536, 0.05666977912187576, -0.10075373947620392, -0.05135037750005722, -0.0009058184805326164, 0.03326970711350441, 0.041590239852666855, -0.014753027819097042, 0.015054463408887386, 0.07208224385976791, 0.017231810837984085, -0.002762041985988617, -0.01615813374519348, -0.023230748251080513, 0.02542736567556858, -0.0021914399694651365, 0.0069196950644254684, 0.029520023614168167, 0.021400591358542442, 0.002005408052355051, -0.041230708360672, 0.019948583096265793, -0.009615616872906685, -0.29013851284980774, 0.01638934575021267, 0.013685474172234535, -0.05893401801586151, 0.026493333280086517, 0.007992783561348915, -0.015710188075900078, -0.04351653903722763, -0.00443846732378006, 0.006444477941840887, -0.03208155557513237, -0.05297563970088959, -0.012112351134419441, 0.04603138938546181, -0.003857895964756608, 0.019474679604172707, -0.002449235413223505, -0.03255292773246765, 0.008777790702879429, 0.04282292723655701, -0.006642824504524469, -0.07597758620977402, 0.016042616218328476, 0.02820945344865322, 0.008666419424116611, 0.02680603787302971, -0.1054975613951683, 0.03570382669568062, -0.03152438625693321, 0.011885368265211582, 0.021162891760468483, 0.010229289531707764, -0.01063571684062481, -0.013936622999608517, -0.018789496272802353, -0.02022416517138481, 0.027132518589496613, 0.01531915832310915, -0.007312272675335407, 0.03266413137316704, -0.011595601215958595, -0.003776421770453453, -0.004168407060205936, 0.014403308741748333, 0.08505798876285553, -0.0168453399091959, -0.08945301175117493, -0.0005754884914495051, -0.025402283295989037, 0.07694479823112488, -0.022647228091955185, -0.025483569130301476, 0.006539291702210903, 0.06160509213805199, -0.025743532925844193, -0.02224070020020008, -0.011465882882475853, -0.03099597990512848, -0.043343644589185715, -0.033605609089136124, -0.017174551263451576, -0.03684937208890915, -0.020914144814014435, -0.054593559354543686, 0.0019585636910051107, -0.06349463015794754, -0.07665109634399414, -0.014682034030556679, 0.07182731479406357, 0.032137248665094376, -0.0262795090675354, 0.03868712857365608, 0.01641281135380268, -0.12232618778944016, 0.003963671624660492, -0.0057868086732923985, -0.007668239530175924, -0.009031158871948719, 0.03426351398229599, 0.033114489167928696, -0.023798374459147453, -0.06243078410625458, 0.00939861685037613, 0.017794087529182434, 0.026294700801372528, -0.021359877660870552, 0.017988596111536026, -0.0014293452259153128, -0.006254782900214195, 0.011289316229522228, 0.08558116108179092, -0.020119978114962578, -0.027156079187989235, -0.032044630497694016, 0.012570235878229141, 0.0057321107015013695, 0.025115756317973137, -0.023733243346214294, 0.013879319652915001, 0.043841347098350525, 0.0024975393898785114, -0.06822465360164642, 0.01815049536526203, -0.01910611428320408, 0.008880511857569218, -0.025367839261889458, -0.03678714111447334, -0.006406393367797136, 0.04774576425552368, 0.034062810242176056, -0.003318420611321926, -0.03572836145758629, 0.00795427244156599, -0.057203102856874466, -0.03964275121688843, -0.02512023225426674, 0.02513056807219982, 0.035968292504549026, 0.012546945363283157, -0.03716554120182991, -0.060535263270139694, 0.01593784987926483, 0.020388459786772728, -0.0028280329424887896, -0.04627599939703941, -0.01442764326930046, -0.021981218829751015, 0.00017982019926421344, 0.011892941780388355, 0.01857418194413185, 0.0044715930707752705, 0.04156917706131935, 0.004582401365041733, -0.033319901674985886, 0.00285232812166214, -0.0011935021029785275, -0.055553119629621506, -0.012928723357617855, -0.010285241529345512, 0.0020815376192331314, 0.016147395595908165, 0.03475483879446983, 0.03840646520256996, 0.013445384800434113, 0.039382338523864746, 0.006145607214421034, 0.03879304602742195, 0.00946137122809887, 0.03295392915606499, 0.00478374632075429, -0.0006037351558916271, -0.08222845196723938, 0.015789179131388664, -0.03468203544616699, -0.03119424171745777, -0.021280299872159958, 0.025946274399757385, -0.01885269582271576, -0.03314778208732605, -0.03291184455156326, 0.030392194166779518, -0.04903574660420418, -0.022437306120991707, -0.03892463818192482, 0.00993355643004179, 0.06831015646457672, -0.0015134391142055392, 0.033364783972501755, -0.021891161799430847, -0.021073397248983383, 0.01616266928613186, 0.027385933324694633, -0.036950211971998215, 0.0217455867677927, 0.007125810720026493, -0.004748589359223843, -0.001407166477292776, -0.01082546729594469, 0.051075149327516556, 0.010987598448991776, 0.0014690557727590203, -0.01490836776793003, 0.008863981813192368, 0.01853995956480503, 0.05522685497999191, 0.0017863893881440163, -0.030595388263463974, 0.009829632006585598, -0.012653598561882973, -0.03366871178150177, -0.037664204835891724, 0.01145163644105196, -0.007952786050736904, 0.012149663642048836, -0.024048954248428345, -0.07392275333404541, 0.05554656684398651, 0.0060276766307652, 0.022353455424308777, 0.0024889723863452673, 0.011902066878974438, 0.018708618357777596, -0.03150908276438713, 0.047716815024614334, 0.039623625576496124, -0.055769357830286026, 0.014920646324753761, -0.0016750835347920656, 0.015858620405197144, -0.002401207108050585, 0.01900867372751236, -0.03725888207554817, -0.03188316524028778, -0.035329822450876236, -0.002351377159357071, -0.0401780940592289, -0.04306575655937195, -0.0118873231112957, 0.014283430762588978, -0.005304937716573477, -0.020911913365125656, -0.02105121687054634, -0.005780484993010759, -0.006232958287000656, -0.03839072212576866, 0.022936256602406502, -0.02000412717461586, 0.004088937770575285, 0.0025413522962480783, -0.03425869718194008, 0.019740821793675423, -0.016643203794956207, 0.00724639929831028, 0.02899499237537384, -0.023860545828938484, -0.023338647559285164, -0.055752888321876526, -0.009590848349034786, -0.008411897346377373, 0.06196042522788048, -0.002996317110955715, -0.03272238001227379, -0.03440466150641441, 0.011034920811653137, -0.04258826747536659, 0.030474087223410606, -0.022761797532439232, -0.0359288826584816, 0.012294240295886993, 0.05024906247854233, 0.006667005829513073, 0.026480071246623993, 0.00847441516816616, -0.01818138174712658, 0.06559419631958008, -0.0730133056640625, -0.02495322749018669, -0.0280412919819355, -0.06319347023963928, 0.0061181276105344296, -0.009016229771077633, 0.017756957560777664, -0.01932419091463089, 0.049716971814632416, 0.03809737414121628, 0.028986966237425804, 0.02056209370493889, -0.0005637769354507327, 0.04248115420341492, -0.04532584175467491, -0.01592920534312725, -0.0701407864689827, 0.03746292367577553, 0.03111543320119381, 0.0071457140147686005, -0.03363272175192833, 0.00531014846637845, -0.05208716541528702, 0.0555700957775116, -0.07485653460025787, -0.019619515165686607, 0.04074946045875549, 0.0252545066177845, -0.024203596636652946, -0.012875670567154884, -0.05417206138372421, 0.015325173735618591, 0.027773436158895493, -0.02564321644604206, -0.02799120359122753, -0.027124417945742607, 0.04021415114402771, 0.010707993991672993, 0.03334597498178482, -0.021251024678349495, 0.005748693831264973, 0.062273964285850525, 0.012785997241735458, 0.015471612103283405, 0.03656861186027527, -0.024286026135087013, 0.05476653203368187, 0.0205946397036314, -0.0038974855560809374, 0.005557892844080925, 0.018798954784870148, -0.009482812136411667, -0.0659589171409607, 0.026466377079486847, 0.007591245695948601, -0.04061746597290039, -0.03324844688177109, 0.06551769375801086, 0.017212944105267525, -0.024143479764461517, -0.045273829251527786, 0.01548971887677908, -0.06229902803897858, -0.013937423937022686, -0.028141086921095848, 0.0033078393898904324, -0.014684546738862991, 0.05200005695223808, -0.01761263981461525, 0.012145240791141987, 0.05992839112877846, 0.005491208750754595, -0.03282492980360985, -0.03830396384000778, 0.10961268097162247, 0.09141643345355988, 0.03557364642620087, 0.005385910626500845, 0.06913752853870392, -0.013558457605540752, -0.03143136575818062, 0.010644428431987762, -0.009477445855736732, -0.015139536932110786, -0.03616776689887047, 0.025759071111679077, 0.06791915744543076, -0.027042804285883904, 0.06330195814371109, -0.0418638177216053, -0.009868952445685863, 0.008343341760337353, 0.02765592560172081, 0.02186363935470581, 0.07513821870088577, 0.016660088673233986, 0.026791930198669434, -0.010716477409005165, -0.027215320616960526, 0.013854225166141987, -0.02453147992491722, -0.024007024243474007, 0.017143279314041138, 0.017286259680986404, 0.023822765797376633, 0.006779109127819538, 0.02655772864818573, 0.08282215893268585, -0.04640830680727959, -0.005533915478736162, 0.004506133031100035, 0.025123484432697296, -0.007763104047626257, 0.019199591130018234, -0.03143639490008354, -0.0292607843875885, 0.005002790596336126, -0.03744393214583397, -0.018143558874726295, -0.027032354846596718, -0.016339629888534546, 0.05141553655266762, -0.017569661140441895, -0.0018854890950024128, 0.011334790848195553, 0.03149481117725372, -0.04277396947145462, -0.06224697828292847, -0.06491239368915558, -0.01813238300383091, -0.06896214932203293, -0.018792632967233658, 0.0244606826454401, -0.01124882884323597, -0.0367860347032547, -0.027821697294712067, 0.004079598467797041, -0.008502461947500706, 0.0358598493039608, -0.0594976507127285, -0.039081890136003494, 0.010284035466611385, 0.035093601793050766, 0.02713235467672348, 0.038108013570308685, 0.04939078167080879, -0.013124847784638405, -0.0053446595557034016, -0.04995792731642723, 0.012477772310376167, 0.03269456699490547, 0.03446097671985626, 0.01741226203739643, -0.0938715711236, 0.02307104505598545, 0.029080186039209366, -0.0035094604827463627, -0.07555168122053146, 0.021731210872530937, 0.00445779412984848, -0.010798466391861439, 0.0403783954679966, -0.01191816758364439, 0.02013726718723774, -0.010910246521234512, -0.007723896764218807, -0.008287162519991398, 0.025082265958189964, 0.02580971084535122, -0.026315581053495407, 0.08592312037944794, 0.023258261382579803, -0.015804463997483253, -0.019316835328936577, 0.00617056991904974, 0.012200083583593369, 0.010955259203910828, -0.02562258020043373, -0.03415742143988609, -0.026405710726976395, -0.07031513750553131, -0.0273125059902668, 0.02453511767089367, -0.029341377317905426, -0.03541867434978485, 0.006894479971379042, 0.0442512109875679, -0.05396486818790436, 0.02042938396334648, -0.051438283175230026, 0.031072214245796204, -0.024547696113586426, -0.003348696744069457, 0.018413374200463295, 0.03463326767086983, -0.010726499371230602, 0.016438163816928864, 0.027087928727269173, -0.05135609954595566, 0.0005446994910016656, -0.004941592924296856, 0.02951958030462265, 0.02331601455807686, 0.000832400459330529, 0.013221105560660362 ]
[ -0.09694567322731018, -0.024442024528980255, -0.026022447273135185, -0.05535642430186272, 0.03762223571538925, -0.029431359842419624, -0.032874107360839844, 0.029238931834697723, -0.028163233771920204, -0.021317407488822937, -0.023189643397927284, 0.0061253635212779045, -0.005177036393433809, 0.0002144049503840506, 0.09705952554941177, 0.019496895372867584, -0.022272298112511635, -0.049969371408224106, 0.0172167606651783, 0.02819695882499218, 0.02820269577205181, -0.0299544520676136, -0.04003581032156944, -0.036614030599594116, -0.026881853118538857, 0.031564366072416306, 0.042282331734895706, -0.00669928127899766, 0.031907014548778534, -0.21432490646839142, 0.010844498872756958, -0.003076928900554776, 0.03881009668111801, -0.028935737907886505, -0.006695466116070747, 0.007852176204323769, 0.024440081790089607, 0.02296115830540657, 0.0034877045545727015, 0.03984522819519043, 0.006066355388611555, 0.01894151233136654, -0.029521476477384567, 0.0024221341591328382, 0.050615180283784866, -0.004784568678587675, -0.023274559527635574, -0.027898669242858887, -0.03259896859526634, -0.004202880896627903, -0.04355723410844803, -0.020538317039608955, -0.004017633385956287, -0.03093419410288334, 0.007667889352887869, 0.032334960997104645, 0.017773719504475594, 0.0930430069565773, -0.011469628661870956, 0.029083846136927605, 0.0278018768876791, -0.0037249764427542686, -0.11882393062114716, 0.120952308177948, 0.07310273498296738, 0.05976428836584091, -0.04152306914329529, -0.05015379935503006, -0.01766885817050934, 0.07160589843988419, 0.014849692583084106, -0.012112721800804138, -0.02967764623463154, 0.01964905858039856, 0.0175479669123888, -0.012233922258019447, 0.0003407754411455244, 0.009291218593716621, 0.030867256224155426, -0.041752833873033524, -0.020065350458025932, -0.006190274842083454, -0.02318400703370571, 0.004897094331681728, -0.04253600165247917, 0.027350101619958878, -0.026813779026269913, 0.05162452161312103, 0.012830164283514023, 0.02541056089103222, 0.027500171214342117, -0.024626916274428368, 0.04702388867735863, 0.010054875165224075, -0.06746599078178406, 0.018024368211627007, -0.014485735446214676, 0.0040093376301229, -0.034042540937662125, 0.4456099271774292, -0.009291972033679485, -0.03927571699023247, 0.06576994806528091, 0.012139934115111828, -0.011300685815513134, 0.007835527881979942, 0.005030960310250521, -0.057504791766405106, 0.039502572268247604, -0.009114854969084263, 0.01997903175652027, 0.008287958800792694, 0.028680024668574333, -0.028510671108961105, 0.012932557612657547, -0.030790017917752266, 0.012613034807145596, 0.013007749803364277, 0.01853051409125328, -0.02837306074798107, -0.019859330728650093, 0.025764327496290207, 0.01372168492525816, 0.02724742889404297, 0.0019194942433387041, -0.026210127398371696, 0.0061916811391711235, 0.059557490050792694, 0.017025597393512726, 0.02937230095267296, 0.050116267055273056, -0.023951688781380653, -0.0504460446536541, -0.006345036905258894, 0.014354580081999302, 0.01882549189031124, 0.029179353266954422, -0.040500666946172714, -0.0002695492294151336, 0.045928169041872025, -0.007162656635046005, 0.004225410521030426, 0.03511117398738861, 0.007159835658967495, -0.013398044742643833, 0.08744735270738602, 0.03323465213179588, -0.04242968559265137, -0.02899324893951416, -0.0028763790614902973, 0.02077122963964939, 0.04795250669121742, -0.011745217256247997, -0.0463593453168869, -0.010060571134090424, 0.013489543460309505, 0.0664183497428894, -0.022770334035158157, -0.054358936846256256, -0.022295605391263962, -0.02083759941160679, -0.0049392906948924065, -0.04320840165019035, 0.07109691947698593, 0.04036153107881546, -0.13442663848400116, -0.017413312569260597, 0.02115842141211033, 0.028760870918631554, -0.060644712299108505, -0.02339393086731434, 0.0032617361284792423, -0.02582288160920143, -0.0007099353824742138, 0.05845816805958748, -0.02718285284936428, -0.05380280315876007, 0.018954947590827942, 0.055994998663663864, 0.0013331671943888068, -0.009300277568399906, -0.0050223334692418575, -0.04320886731147766, -0.00398357305675745, -0.027783766388893127, -0.06576227396726608, -0.04557536914944649, -0.013592827133834362, -0.026471173390746117, -0.00727890757843852, -0.04834567382931709, -0.006730483844876289, -0.10493479669094086, 0.09624703973531723, -0.023827943950891495, -0.021897627040743828, 0.01795957051217556, 0.008389515802264214, -0.03943902999162674, -0.007573114708065987, 0.01086506713181734, 0.04517512023448944, -0.028247423470020294, 0.013396276161074638, -0.07265574485063553, 0.04297837242484093, 0.0571407824754715, -0.0341360867023468, 0.04980016127228737, 0.038660354912281036, -0.0345340222120285, -0.015269518829882145, 0.004885007161647081, 0.01622483879327774, 0.008497312664985657, -0.023290738463401794, 0.011702654883265495, 0.021701479330658913, -0.004209878854453564, 0.018796518445014954, -0.014169103465974331, 0.00004090768925379962, -0.03696824237704277, -0.3540516197681427, -0.04828755557537079, -0.03884384408593178, -0.005826375912874937, 0.00768827460706234, -0.08070508390665054, 0.024940896779298782, -0.01326656062155962, -0.017265191301703453, 0.017099440097808838, 0.08026930689811707, -0.017354734241962433, 0.007652769330888987, -0.06309082359075546, -0.03989187628030777, 0.02632858417928219, -0.009111297316849232, -0.02871912531554699, -0.04927186667919159, -0.0012252000160515308, -0.016927767544984818, 0.0013026646338403225, -0.021411113440990448, -0.06283669173717499, -0.03226988762617111, -0.03599881753325462, 0.10040534287691116, -0.0035500158555805683, 0.1033361628651619, -0.023312993347644806, 0.04972301796078682, -0.0067121656611561775, 0.0317058302462101, -0.09161737561225891, -0.01448339968919754, 0.012876633554697037, 0.019247395917773247, -0.0266176238656044, 0.029999548569321632, -0.026335643604397774, -0.06659577041864395, 0.01800720952451229, -0.03844508156180382, -0.05688222497701645, -0.05165538936853409, 0.004844929091632366, -0.016975905746221542, -0.05745628476142883, -0.012000154703855515, 0.08163154125213623, 0.015080362558364868, -0.0062492466531693935, 0.0376119501888752, 0.035087913274765015, -0.014942456968128681, -0.02429591491818428, -0.058167919516563416, -0.005672208499163389, 0.009301492013037205, 0.027538930997252464, 0.026143457740545273, 0.0464448407292366, 0.01697275973856449, -0.06695421785116196, 0.010031822137534618, 0.010973040945827961, 0.0078936368227005, 0.009747317992150784, 0.06364918500185013, -0.03197215497493744, -0.03060014359652996, 0.11697393655776978, 0.004415938165038824, 0.016962355002760887, 0.028877602890133858, 0.02869010530412197, 0.009424312971532345, 0.02665305882692337, 0.026429833844304085, -0.0016274182125926018, 0.00800508912652731, -0.013949571177363396, 0.04589974135160446, -0.02278289571404457, 0.007098976988345385, 0.02826148457825184, -0.01849004253745079, -0.040890634059906006, 0.01624923385679722, -0.0025098007172346115, -0.0339677520096302, 0.015583616681396961, -0.026570897549390793, -0.08231277763843536, 0.04636519029736519, 0.0009934171102941036, -0.2690545320510864, 0.013714606873691082, 0.07433785498142242, 0.07776045799255371, -0.005191745236515999, 0.020995574072003365, 0.03387822210788727, -0.062033746391534805, 0.017053352668881416, 0.0279152262955904, 0.007620217278599739, 0.02430408075451851, -0.010658600367605686, 0.0005815312033519149, 0.03893125057220459, -0.005840791389346123, 0.052803028374910355, -0.009618454612791538, -0.00012400506238918751, -0.027279499918222427, 0.026874853298068047, 0.018297212198376656, 0.18261486291885376, -0.008631547912955284, 0.02351987361907959, 0.02302428148686886, -0.0014124165754765272, 0.03344229981303215, 0.0398901142179966, 0.018043305724859238, -0.021106602624058723, 0.0029581249691545963, 0.051383424550294876, 0.008485370315611362, 0.0158015638589859, -0.041947465389966965, -0.014925697818398476, 0.02529066428542137, 0.038490649312734604, 0.007203137036412954, 0.008970879949629307, 0.006624919828027487, -0.021675018593668938, 0.04673648998141289, 0.053443118929862976, 0.03090335614979267, 0.0026282407343387604, -0.015873068943619728, -0.018039247021079063, 0.004960604012012482, -0.03627336770296097, -0.05708587169647217, 0.0038675398100167513, -0.03239898383617401, -0.001318247290328145, 0.06640574336051941, 0.014330578036606312, -0.033318884670734406, -0.032080959528684616, 0.0010636764345690608, 0.005158708430826664, -0.022740202024579048, 0.10900920629501343, 0.024426739662885666, 0.025389306247234344 ]
[ -0.01347693894058466, 0.0038052015006542206, -0.018166741356253624, -0.023333527147769928, -0.01982879266142845, -0.004239172209054232, -0.015546580776572227, 0.021222995594143867, -0.03784451633691788, -0.03261948004364967, -0.017153766006231308, 0.019360849633812904, 0.03029537759721279, -0.002104787155985832, 0.00757347559556365, 0.0023419158533215523, 0.0036074528470635414, -0.014049145393073559, 0.033384621143341064, -0.016027281060814857, -0.002779623493552208, 0.012290854007005692, -0.014083446934819221, -0.03824228048324585, -0.018850071355700493, 0.06366751343011856, 0.015822669491171837, -0.005617501214146614, 0.023802969604730606, -0.14628933370113373, -0.009498976171016693, -0.023375479504466057, 0.0022398780565708876, -0.012862205505371094, -0.004475023597478867, -0.0011431684251874685, -0.011194895952939987, -0.0014134040102362633, 0.011881483718752861, -0.010951616801321507, 0.02251494489610195, 0.00262573454529047, 0.01929844729602337, -0.005413241218775511, -0.019622791558504105, -0.021793363615870476, -0.0220708679407835, -0.035721249878406525, 0.023128163069486618, -0.03435037285089493, -0.014330655336380005, -0.016896475106477737, 0.03186337649822235, 0.0010629744501784444, -0.01558019407093525, -0.01222020760178566, -0.018534593284130096, -0.002683070255443454, -0.014461913146078587, -0.01269225962460041, -0.009400277398526669, 0.00008746905223233625, -0.025436490774154663, -0.013384796679019928, 0.0013822497567161918, 0.0021080831065773964, -0.014017137698829174, -0.0016803229227662086, -0.017770811915397644, -0.007760968059301376, -0.0316770039498806, 0.036681197583675385, -0.04008170962333679, -0.030391396954655647, 0.019592568278312683, 0.029899753630161285, 0.00650424137711525, -0.005216377787292004, 0.02211143635213375, 0.0017016398487612605, -0.02499355748295784, 0.023852268233895302, 0.008428200148046017, 0.024116912856698036, -0.009629427455365658, 0.04709634184837341, -0.020943159237504005, 0.006776648107916117, 0.0003069766389671713, 0.01798052154481411, -0.01781151443719864, 0.01696808449923992, 0.008318964391946793, 0.003532640403136611, -0.08585455268621445, -0.011000683531165123, 0.018651731312274933, -0.028055313974618912, -0.021449627354741096, 0.857206404209137, 0.007044105790555477, 0.023644795641303062, 0.014692158438265324, 0.011915777809917927, 0.005615391302853823, 0.00667778542265296, -0.019027316942811012, 0.03150840476155281, 0.013017957098782063, -0.021924735978245735, 0.009187505580484867, 0.031638748943805695, 0.032142557203769684, -0.015754515305161476, -0.009801706299185753, 0.014448387548327446, 0.007033194415271282, -0.008626625873148441, 0.010859918780624866, 0.008844371885061264, 0.01969592086970806, 0.021553317084908485, 0.0028227500151842833, 0.01807091385126114, 0.03563769906759262, -0.20420539379119873, -0.014322279021143913, -8.786262647263928e-33, 0.021998126059770584, 0.009450986050069332, 0.022498341277241707, 0.030886970460414886, -0.01034653838723898, -0.05387039855122566, 0.04254431277513504, 0.020150918513536453, 0.020820148289203644, -0.02462085522711277, -0.006053342018276453, 0.02037186548113823, -0.003601440694183111, 0.014088789001107216, 0.03591235354542732, -0.001247618580237031, 0.001258693402633071, 0.03888732194900513, 0.01950824446976185, -0.009359539486467838, 0.0022753982339054346, 0.010881143622100353, 0.01985853724181652, -0.002659902675077319, 0.021841896697878838, 0.04595530405640602, 0.004275444895029068, 0.025517025962471962, -0.01148151233792305, -0.043068740516901016, 0.00193877425044775, 0.0412190742790699, 0.002704308833926916, -0.0009519753511995077, 0.010416669771075249, -0.040720850229263306, -0.009386308491230011, -0.0240815207362175, -0.025159375742077827, -0.002520941663533449, 0.0040815649554133415, -0.0002170185325667262, -0.026983104646205902, 0.02517951838672161, 0.01922483928501606, -0.01630280166864395, 0.04032566770911217, 0.019665008410811424, 0.0030490525532513857, -0.012139816768467426, 0.011216983199119568, 0.012999549508094788, 0.0032045887783169746, -0.008963674306869507, -0.01650693081319332, 0.007220017723739147, 0.010779445990920067, 0.024177826941013336, 0.02780434489250183, 0.05261974781751633, -0.020223751664161682, -0.0022075031884014606, -0.04941294342279434, 0.04219528287649155, -0.008952347561717033, -0.021166173741221428, 0.0031778973061591387, -0.02687131054699421, -0.025018732994794846, 0.009075900539755821, -0.03019745647907257, 0.022516606375575066, -0.012512089684605598, 0.004989633336663246, -0.00015271178563125432, -0.030294660478830338, -0.02567766234278679, 0.019182497635483742, 0.012443163432180882, 0.01705768331885338, 0.020604252815246582, -0.02683383971452713, -0.01202304195612669, -0.017309553921222687, -0.006431290879845619, 0.005988343618810177, 0.04345930740237236, -0.009832403622567654, -0.0080197062343359, 0.00894863624125719, 0.026325756683945656, 0.022157736122608185, 0.019562672823667526, -0.01974201761186123, 0.007979700341820717, 8.128889472085641e-33, -0.018262667581439018, -0.028678175061941147, -0.03564995154738426, 0.01123302336782217, 0.002421935787424445, -0.007630544248968363, 0.018822520971298218, 0.03196156397461891, -0.037429604679346085, 0.021033519878983498, -0.032978519797325134, 0.046226367354393005, -0.007493126206099987, 0.005526845809072256, 0.062242623418569565, -0.03185034170746803, 0.009999497793614864, -0.04066357761621475, 0.001876025227829814, 0.008690929971635342, 0.031089449301362038, 0.008774141781032085, 0.015027019195258617, -0.013470228761434555, 0.0014866393757984042, 0.059822406619787216, -0.041203394532203674, 0.014208092354238033, 0.003854063805192709, 0.043635349720716476, 0.015607262961566448, 0.0033420079853385687, 0.023173870518803596, 0.00998280942440033, -0.004310787655413151, 0.011517698876559734, -0.011540813371539116, -0.019524890929460526, 0.03913905844092369, -0.01071301568299532, -0.030233746394515038, -0.02001488208770752, -0.0073889014311134815, 0.004762113094329834, 0.02305334247648716, 0.011334899812936783, -0.030759695917367935, -0.015336786396801472, 0.00916566327214241, 0.022291678935289383, -0.03070494532585144, 0.02962728962302208, 0.019330810755491257, 0.006225822493433952, 0.003859743708744645, -0.021979132667183876, -0.031145911663770676, -0.018416181206703186, 0.019687922671437263, -0.0010222822893410921, -0.026803115382790565, 0.0050993869081139565, -0.034976422786712646, 0.006160812918096781, -0.034902457147836685, -0.005695089232176542, -0.04506711661815643, -0.020822294056415558, 0.005929911509156227, 0.004198226612061262, -0.016242370009422302, -0.025839215144515038, -0.0028535632882267237, -0.0015068285865709186, 0.00282810116186738, -0.02981245517730713, -0.015770399942994118, 0.026647578924894333, -0.021322347223758698, 0.023645712062716484, -0.004412438720464706, 0.008086106739938259, 0.010431567206978798, 0.0025918197352439165, 0.014709370210766792, -0.0027221443597227335, -0.01843486912548542, 0.02320803701877594, -0.03932930529117584, -0.01987449638545513, -0.008630363270640373, 0.011573988944292068, 0.0012920104200020432, -0.0031054432038217783, 0.014385940507054329, -1.3590405245622605e-8, 0.0019045198569074273, 0.00361290923319757, -0.02489469386637211, -0.0023036166094243526, 0.02073397859930992, 0.0019732273649424314, -0.02685491554439068, -0.00281384470872581, -0.001380405854433775, 0.03358044475317001, 0.0598214790225029, -0.002831228543072939, -0.011332300491631031, 0.009670605883002281, 0.01788649894297123, -0.03990478441119194, -0.022046474739909172, -0.003165883244946599, 0.02043289691209793, -0.013241896405816078, -0.007980555295944214, 0.04304398596286774, 0.0011006217682734132, -0.023967808112502098, 0.03105488047003746, -0.016074100509285927, 0.030137674883008003, -0.07915833592414856, -0.004199997056275606, 0.024466799572110176, -0.039262715727090836, -0.021055560559034348, -0.006733564659953117, 0.01885608397424221, -0.022660473361611366, -0.015856783837080002, 0.06868766248226166, -0.005534294061362743, 0.039153091609478, -0.027128657326102257, 0.007105350028723478, 0.0023841431830078363, -0.034873880445957184, -0.03502614051103592, -0.013822400942444801, 0.004267525859177113, 0.007266246248036623, 0.008823244832456112, 0.02588624879717827, -0.04457582160830498, -0.03395267203450203, 0.031111720949411392, -0.026469435542821884, 0.027155933901667595, 0.01864001899957657, -0.007386260200291872, -0.011646986939013004, -0.04025125503540039, 0.001410628785379231, -0.00881368201225996, 0.020559923723340034, 0.05695544183254242, -0.04570726305246353, -0.01192740723490715 ]
book-club-hexagonal-architecture-alistair-cockburn
https://markhneedham.com/blog/2009/07/30/book-club-hexagonal-architecture-alistair-cockburn
false
2009-07-08 00:29:56
Book Club: Why noone uses functional languages (Philip Wadler)
[ "functional-programming", "book-club" ]
[ "Book Club" ]
Our latest technical book club discussion was based around Philip Wadler's paper 'http://www.cse.iitb.ac.in/~as/fpcourse/sigplan-why.ps.gz[Why noone uses functional langauges]' which he wrote in 1998. I came across this paper when reading some of the http://research.microsoft.com/en-us/um/cambridge/projects/fsharp/faq.aspx#Goals[F# goals in the FAQs] on the Microsoft website. These are some of my thoughts and our discussion of the paper: * One of the points suggested in the paper is that *functional languages aren't used because of their lack of availability* on machines but as http://twitter.com/davcamer[Dave] pointed out this doesn't really seem to be such a big problem these days - certainly for F# I've found it relatively painless to get it setup and running and even for a language like Ruby people are happy to download and install it on their machines and it is also pretty much painless to do so. * http://erik.doernenburg.com/[Erik] pointed us to an http://prog21.dadgum.com/3.html[interesting article which suggests that functional programming can be very awkward for solving certain problems] - I think this is definitely true to an extent although perhaps not as much as we might think. I am certainly seeing some benefit in http://www.markhneedham.com/blog/2009/04/25/oo-with-a-bit-of-functional-mixed-in/[an overall OO approach with some functional concepts mixed in] which seems to strike a nice balance between code which is descriptive yet concise in places. I'm finding the problems that F# is useful for tend to be very data intensive in nature. * Matt Dunn pointed out that an http://www.paulgraham.com/avg.html[e-commerce store written by Paul Graham], which he later sold to Yahoo, was actually written in Lisp - to me this would seem like the type of problem that wouldn't be that well suited for a functional language but interestingly only part of the system was written in Lisp and the other part in C. + ____ Viaweb at first had two parts: the editor, written in Lisp, which people used to build their sites, and the ordering system, written in C, which handled orders. The first version was mostly Lisp, because the ordering system was small. Later we added two more modules, an image generator written in C, and a back-office manager written mostly in Perl. ____ * The article also suggests that it *takes a while for Java programmers to come to grips with functional programs* - I would agree with this statement to an extent although one of the things I found really hard when first reading functional programs is the non descriptiveness of the variable names. It seems to be more idiomatic to make use of single letter variable names instead of something more descriptive which I would use in an imperative language. I'm intrigued as to whether this will change as more people use functional languages or whether this is just something we will need to get used to. * The author makes a very valid point with regards to the *risk that a project manager would be taking if they decided to use a functional language* for a project: + ____ If a manager chooses to use a functional language for a project and the project fails, then he or she will certainly be fired. If a manager chooses C++ and the project fails, then he or she has the defense that the same thing has happened to everyone else. ____ + I'm sure I remember a similar thing being said about the reluctance to make use of Ruby a couple of years ago - it's something of a risk and human nature is often geared towards avoiding those! * I think the *availability of libraries* is probably very relevant even today - it helps F# a lot that we have access to all the .NET libraries and I imagine it's also the same for Scala with the Java libraries. I don't know a lot about the Lisp world but I'm told that people often end up rolling their own libraries for some quite basic things since there aren't standard libraries available as there are in some other languages. * Another paper pointed out as being a good one to read was 'http://www.defmacro.org/ramblings/fp.html[Functional Programming For The Rest Of Us]' - I haven't read it yet but it does look quite lengthy! Wes Dyer also has a couple of articles which I found interesting - one around http://blogs.msdn.com/wesdyer/archive/2007/01/15/thinking-functionally.aspx[thinking functionally] and the other around http://blogs.msdn.com/wesdyer/archive/2007/01/18/why-functional-programming-is-important-in-a-mixed-environment.aspx[how functional programming can fit in a mixed programming environment] I think in general a lot of the points this paper raises have been addressed by some of the functional languages which are gaining prominence more recently - Erlang, F# and Scala to name a few. It will definitely be interesting to see what role functional languages have to play in the http://memeagora.blogspot.com/2006/12/polyglot-programming.html[polyglot programming era] that my colleague Neal Ford foresees.
null
null
[ 0.0043932534754276276, 0.03376318886876106, 0.0061261532828211784, 0.034104522317647934, 0.08454003930091858, 0.02134464681148529, 0.014898719266057014, 0.043198112398386, 0.020155999809503555, -0.021227847784757614, -0.018651798367500305, -0.0021988260559737682, -0.05524229630827904, 0.004941786173731089, -0.014068761840462685, 0.07074414193630219, 0.05958195775747299, -0.01982787624001503, 0.0313507504761219, 0.007709372788667679, 0.012281380593776703, 0.07563726603984833, 0.04317392036318779, 0.025810321792960167, 0.030812587589025497, 0.00887156929820776, 0.01591716893017292, -0.005866396240890026, -0.0554925799369812, -0.00005306491584633477, 0.04556091129779816, 0.018808064982295036, -0.008834220468997955, -0.017337674275040627, 0.02032865211367607, -0.016984863206744194, -0.00760419387370348, 0.020212611183524132, -0.003361910581588745, 0.030774863436818123, -0.06656225770711899, 0.04594409093260765, -0.01109026838093996, 0.01511415932327509, -0.050710707902908325, 0.020351799204945564, -0.06269323080778122, -0.0019855955615639687, -0.004627446178346872, -0.0030929481144994497, -0.07410634309053421, 0.03799977898597717, 0.0008375236648134887, -0.01649569720029831, -0.03286827355623245, 0.05580601468682289, 0.0042387316934764385, -0.04483558237552643, 0.001432768302038312, -0.053722985088825226, -0.007675268687307835, -0.012879221700131893, 0.020883798599243164, 0.03992109373211861, 0.03266998752951622, -0.029714392498135567, -0.02691495418548584, 0.020286913961172104, -0.05697019025683403, -0.014520794153213501, -0.013283636420965195, 0.029775500297546387, -0.02680649422109127, -0.02211030013859272, 0.030082469806075096, -0.05225710943341255, 0.006950207520276308, 0.06352745741605759, 0.018789011985063553, 0.028419354930520058, -0.012160788290202618, 0.04237033426761627, 0.037190020084381104, 0.04146154224872589, -0.009610394015908241, -0.03235689923167229, -0.01937294751405716, -0.019563574343919754, -0.03792037442326546, 0.06012803316116333, 0.01639840565621853, -0.060666635632514954, 0.016453931108117104, 0.03203776478767395, 0.004085359163582325, 0.018788300454616547, 0.03164970502257347, 0.009779534302651882, -0.012937424704432487, -0.008856373839080334, -0.03282836079597473, -0.04103798791766167, 0.003244012361392379, -0.008997584693133831, -0.07337407022714615, -0.004057140555232763, -0.022376539185643196, -0.0002573526289779693, 0.01256792712956667, 0.005981480702757835, -0.01616683602333069, 0.018224379047751427, -0.011075044050812721, 0.011399846524000168, -0.07455188035964966, 0.06504222750663757, -0.005791073199361563, -0.03789403662085533, -0.010052795521914959, -0.0006087914807721972, 0.05545849725604057, 0.04102631285786629, -0.012109511531889439, 0.07703084498643875, 0.016588451340794563, 0.01201616320759058, -0.008380443789064884, 0.05095594376325607, -0.020908718928694725, -0.07150962948799133, -0.01077407505363226, 0.0458032563328743, -0.01555236428976059, 0.003853088477626443, -0.007122238632291555, -0.022004256024956703, 0.004098399076610804, 0.004614256788045168, 0.030705569311976433, 0.038110263645648956, 0.0019391129026189446, -0.05410028621554375, 0.024202603846788406, -0.016128620132803917, 0.0305930282920599, -0.010895703919231892, 0.012422856874763966, -0.004743536934256554, -0.032750677317380905, -0.026230214163661003, 0.0109303779900074, 0.009802110493183136, 0.01566208526492119, -0.045141927897930145, 0.04100501164793968, 0.09773209691047668, 0.032297976315021515, 0.018602581694722176, -0.0030468092299997807, 0.010651410557329655, 0.04106655716896057, 0.03549093008041382, -0.009601945988833904, 0.019419673830270767, -0.0035566603764891624, -0.0012744161067530513, 0.004414575640112162, 0.06380505114793777, -0.004200363997370005, 0.01044219546020031, -0.0384325347840786, -0.03361288830637932, 0.06204785034060478, -0.04894336685538292, -0.03327237442135811, 0.02834116853773594, 0.07852079719305038, 0.02523515187203884, 0.03543996065855026, -0.012086543254554272, -0.09035374969244003, 0.02116399258375168, 0.02311977930366993, 0.024110158905386925, -0.013781582936644554, -0.017519889399409294, 0.0886763408780098, 0.024529825896024704, 0.010185492224991322, 0.03413856029510498, -0.0653681606054306, -0.09215410053730011, -0.02505536377429962, -0.02600189298391342, 0.07599085569381714, -0.014381696470081806, 0.005288258194923401, 0.05265532433986664, 0.003621598007157445, 0.057912230491638184, 0.032760363072156906, -0.012931057251989841, 0.021253375336527824, -0.017555775120854378, -0.04463246837258339, 0.052276041358709335, 0.017145100980997086, 0.019709337502717972, -0.05771268531680107, -0.005572150461375713, 0.004609073046594858, -0.01543000154197216, 0.05491851270198822, -0.013217738829553127, 0.023198148235678673, 0.00234159454703331, 0.051933567970991135, -0.03656090423464775, 0.03945421800017357, -0.04520374909043312, 0.010479448363184929, -0.0011644919868558645, -0.0013496042229235172, 0.025661122053861618, 0.007549027446657419, 0.11891880631446838, 0.0835607722401619, -0.04494451358914375, -0.023973871022462845, 0.02056066133081913, 0.0243555698543787, -0.05118890851736069, 0.006803205702453852, -0.01146042998880148, 0.004314126446843147, 0.0046125175431370735, -0.06124727800488472, -0.021289199590682983, 0.0255130585283041, -0.03863340616226196, 0.003294882830232382, 0.06027990207076073, -0.012080928310751915, 0.05247774347662926, -0.0003941704926546663, -0.03510183468461037, 0.0008586648618802428, -0.016366560012102127, -0.029611889272928238, -0.00003138511601719074, -0.001274164766073227, -0.008339395746588707, 0.03346973657608032, -0.018766360357403755, -0.021874040365219116, -0.023825760930776596, -0.009290565736591816, 0.01476216223090887, 0.07635170966386795, 0.06551812589168549, -0.008327468298375607, 0.04945869371294975, -0.025422008708119392, 0.0148912463337183, -0.0029024200048297644, -0.06313028186559677, -0.029172120615839958, -0.04131213203072548, 0.01737925596535206, 0.03200623765587807, -0.005680345464497805, 0.0018609169637784362, 0.0074807340279221535, 0.00885031372308731, -0.013567325659096241, -0.029654894024133682, 0.03978261351585388, -0.018182359635829926, -0.059054549783468246, -0.02638825960457325, -0.03259887173771858, 0.06305587291717529, -0.04887780547142029, -0.019476404413580894, -0.024357201531529427, -0.05525236204266548, 0.0536339096724987, -0.07588577270507812, -0.028536444529891014, -0.008594172075390816, 0.016017304733395576, 0.031718216836452484, 0.005715560633689165, 0.010889471508562565, 0.0666147992014885, 0.023365573957562447, 0.009453893639147282, -0.005278564058244228, -0.007424569688737392, 0.025736426934599876, 0.0006425343453884125, 0.000820338143967092, 0.03260820731520653, 0.019804546609520912, 0.000028567603294504806, -0.04229224845767021, 0.029065867885947227, -0.016601402312517166, -0.27457931637763977, 0.03474220260977745, -0.019502026960253716, -0.05776074156165123, 0.005521222949028015, 0.012224485166370869, -0.01182255893945694, -0.0586828775703907, -0.01941523142158985, 0.013194103725254536, -0.04530733451247215, -0.03285381570458412, -0.0347629152238369, 0.0530177541077137, 0.024931298568844795, 0.029648296535015106, 0.01465461403131485, -0.04705418646335602, -0.007466437295079231, 0.052287887781858444, -0.002295259153470397, -0.06993594765663147, 0.012394973076879978, 0.037529606372117996, 0.03734000027179718, 0.04460952430963516, -0.09213194996118546, 0.04228099063038826, -0.054274484515190125, -0.01266410294920206, -0.018052589148283005, 0.01020614244043827, 0.014838773757219315, -0.03326837718486786, -0.016400150954723358, -0.02570442110300064, 0.039967261254787445, 0.016292575746774673, 0.008888240903615952, 0.03243473172187805, -0.003386853262782097, -0.01675025187432766, -0.010956797748804092, 0.01634681597352028, 0.08113426715135574, 0.01966823637485504, -0.08027622848749161, -0.0005928698810748756, -0.030739448964595795, 0.07147994637489319, -0.03830826282501221, -0.05535028874874115, 0.0013035896699875593, 0.05738472193479538, -0.0032784335780888796, -0.021218664944171906, -0.00939529575407505, -0.030167661607265472, -0.02989722415804863, -0.02607966959476471, -0.026041457429528236, -0.024641787633299828, -0.001486326684243977, -0.06080165132880211, -0.020610086619853973, -0.04870479553937912, -0.07986745983362198, -0.017273439094424248, 0.06889563798904419, 0.013748843222856522, -0.024970877915620804, 0.03598717600107193, 0.002755704103037715, -0.10717196762561798, -0.03425605222582817, -0.01016917172819376, -0.03683886304497719, 0.0049642762169241905, 0.04108509421348572, 0.0580817274749279, -0.026672791689634323, -0.06909968703985214, 0.003955215215682983, 0.007727517746388912, 0.04247584939002991, -0.027997000142931938, 0.023753445595502853, 0.010480270721018314, -0.023425832390785217, -0.0004530030710157007, 0.07518678158521652, 0.010791821405291557, -0.012091880664229393, -0.028232205659151077, 0.032858531922101974, -0.013234919868409634, 0.025785384699702263, 0.010646852664649487, 0.01700153574347496, 0.03577308729290962, 0.0027814628556370735, -0.05353844538331032, 0.022112620994448662, -0.02878846414387226, -0.029274284839630127, 0.010774686932563782, -0.06116819754242897, 0.003998349886387587, 0.044378861784935, 0.00501056807115674, -0.01985369250178337, -0.04659746587276459, 0.027001971378922462, -0.047657761722803116, -0.0314195491373539, -0.005671594757586718, 0.0072951787151396275, 0.04104315862059593, -0.005605200305581093, -0.01873409003019333, -0.055577777326107025, -0.0027732017915695906, -0.0003341997798997909, -0.026098867878317833, -0.05622868612408638, -0.009138571098446846, -0.021641336381435394, -0.013036035932600498, -0.012805013917386532, 0.045914359390735626, -0.010017680004239082, 0.03500237688422203, 0.011925272643566132, -0.0527057945728302, 0.02684018760919571, -0.013367370702326298, -0.04736250638961792, -0.02894977666437626, -0.004974034149199724, -0.024475976824760437, -0.004758299794048071, 0.01726425252854824, 0.023223314434289932, 0.01216855738312006, 0.026216473430395126, 0.01603301614522934, 0.015205052681267262, 0.01170800719410181, 0.03412259742617607, 0.017589755356311798, -0.02118358016014099, -0.05724087357521057, 0.019947050139307976, -0.03575768321752548, -0.025151532143354416, -0.0207123551517725, 0.04843086749315262, -0.018940186128020287, -0.03632539138197899, -0.006909533403813839, 0.03922371566295624, -0.04062681272625923, -0.027780616655945778, -0.04093651473522186, 0.01367139257490635, 0.07034659385681152, -0.036128055304288864, 0.028116213157773018, -0.006209555082023144, -0.003888301085680723, 0.01411136332899332, 0.025686074048280716, -0.03253062814474106, 0.015064790844917297, 0.012052738107740879, -0.003211435629054904, -0.02383028343319893, 0.008514245972037315, 0.048244889825582504, 0.006954412907361984, -0.006067090202122927, -0.03900453820824623, -0.0039947000332176685, 0.02144303172826767, 0.06641419231891632, 0.001318000489845872, -0.0015276691410690546, -0.0030600721947848797, -0.021251952275633812, 0.0008755372255109251, -0.029614947736263275, -0.009345650672912598, 0.004624071530997753, 0.021560540422797203, -0.048796866089105606, -0.07655103504657745, 0.040196795016527176, 0.03378719091415405, 0.005639284383505583, -0.00794424768537283, -0.0008335666498169303, 0.006818587891757488, -0.020292997360229492, 0.00995317380875349, 0.06154906749725342, -0.06505783647298813, 0.003515932708978653, -0.009065237827599049, 0.009169586934149265, 0.03001413121819496, 0.005289143417030573, -0.038580141961574554, -0.02252200059592724, -0.008291278965771198, 0.0069968206807971, -0.03360176831483841, -0.025227677077054977, -0.013931361958384514, -0.01206214539706707, 0.0032602138817310333, -0.03040393255650997, -0.011898298747837543, -0.0011528372997418046, -0.028453640639781952, -0.03857145085930824, 0.020285701379179955, -0.0328524187207222, 0.008552240207791328, 0.007001296151429415, -0.04701591655611992, 0.002179044531658292, -0.058887068182229996, 0.020936476066708565, 0.028251558542251587, -0.002492510713636875, 0.004340002778917551, -0.058671507984399796, 0.00839767511934042, -0.02327841706573963, 0.045350220054388046, -0.01802290603518486, -0.037432461977005005, -0.02611379139125347, -0.013032284565269947, -0.05839526653289795, 0.01616404764354229, -0.000871229509357363, -0.021032268181443214, 0.0025746249593794346, 0.043323177844285965, -0.010228164494037628, 0.030823010951280594, -0.017109323292970657, 0.0042489622719585896, 0.04542334005236626, -0.06079863756895065, -0.033264532685279846, -0.031204409897327423, -0.051269009709358215, -0.0038001961074769497, -0.005591780412942171, 0.009483296424150467, -0.04223594069480896, 0.058671947568655014, 0.030845744535326958, 0.056403327733278275, 0.03987563028931618, -0.0033107940107584, 0.04605499282479286, -0.0335758775472641, -0.005434556398540735, -0.09509015083312988, 0.007532614283263683, 0.010819263756275177, 0.008110270835459232, -0.030820952728390694, 0.005144163966178894, -0.02080930396914482, 0.03232649341225624, -0.07193152606487274, -0.013649223372340202, 0.036721885204315186, 0.008071492426097393, -0.023052161559462547, 0.009274372830986977, -0.06239338591694832, 0.02501056343317032, 0.02761359140276909, -0.04913998395204544, -0.014741446822881699, 0.003281377488747239, 0.04729811102151871, -0.011735653504729271, 0.02330278418958187, -0.04367497190833092, -0.02021857351064682, 0.05359206721186638, 0.0210842527449131, -0.027640990912914276, 0.0543995127081871, 0.0003369133046362549, 0.034307755529880524, 0.02840111404657364, 0.006857344880700111, 0.004350293893367052, 0.0049317367374897, -0.030380310490727425, -0.05396232008934021, 0.01371154747903347, -0.007807160262018442, -0.03332978114485741, -0.04101106524467468, 0.05076226219534874, 0.024336952716112137, -0.013617209158837795, -0.06203832849860191, 0.01919739879667759, -0.05641581863164902, 0.013323823921382427, -0.0189491119235754, -0.0018264236859977245, -0.03688911721110344, 0.0535663440823555, -0.0017709486419335008, -0.010332089848816395, 0.06801474839448929, -0.0028666805010288954, -0.01850605197250843, -0.025909872725605965, 0.11135715991258621, 0.09465853869915009, 0.07445339113473892, 0.011804438196122646, 0.06743508577346802, -0.027392929419875145, -0.05426051840186119, -0.0148503752425313, -0.014992649666965008, -0.020414559170603752, -0.011642509140074253, 0.03203602507710457, 0.08631731569766998, -0.022720562294125557, 0.0636039450764656, -0.024256451055407524, -0.001800372963771224, -0.004414642695337534, 0.034448277205228806, 0.0033312849700450897, 0.08456380665302277, 0.02401353046298027, 0.02598761022090912, -0.030774949118494987, -0.03441209718585014, 0.040427908301353455, -0.017292160540819168, -0.0028848908841609955, -0.004075802396982908, 0.014381978660821915, 0.021556036546826363, 0.01247470360249281, 0.051309797912836075, 0.08785220980644226, -0.04030381143093109, -0.00011094920773757622, 0.0023767577949911356, 0.019381513819098473, 0.004208854399621487, 0.019019287079572678, -0.032015472650527954, -0.017322471365332603, 0.006692071910947561, -0.005250121001154184, -0.017124230042099953, -0.022972185164690018, -0.01367777306586504, 0.0596989169716835, -0.0226996261626482, 0.0018284159014001489, 0.02759172022342682, -0.004101027734577656, -0.036016110330820084, -0.057073306292295456, -0.04042878746986389, -0.025289716199040413, -0.0663394033908844, -0.010260007344186306, 0.013839470222592354, -0.0014005688717588782, -0.04254541173577309, -0.0346250906586647, -0.011900936253368855, -0.03209909424185753, 0.03752179071307182, -0.06204064562916756, -0.034488480538129807, 0.00636848621070385, 0.018264424055814743, 0.020780853927135468, 0.016454452648758888, 0.043275561183691025, -0.03142645210027695, -0.0025184385012835264, -0.011190827004611492, -0.0037949422840029, 0.026810653507709503, 0.018405847251415253, 0.009880551137030125, -0.08105161786079407, 0.027458831667900085, 0.01976655051112175, -0.007961027324199677, -0.08525975048542023, 0.029163602739572525, 0.017299089580774307, -0.0051457881927490234, 0.033117394894361496, -0.018779590725898743, 0.007720542140305042, -0.037470608949661255, 0.0037178071215748787, 0.0031339633278548717, 0.027722572907805443, 0.03704407066106796, -0.022165421396493912, 0.10944882780313492, 0.011440739035606384, -0.0096701355651021, -0.04741547629237175, -0.019166117534041405, -0.013980262912809849, 0.01144348829984665, -0.02639095112681389, -0.02196282334625721, -0.005286017432808876, -0.06892741471529007, -0.029250452294945717, 0.005974405445158482, -0.03463298827409744, -0.03936133533716202, 0.04355626180768013, 0.034293223172426224, -0.029184868559241295, 0.04422963038086891, -0.029957400634884834, 0.014979287981987, -0.008970760740339756, -0.024039404466748238, 0.004884069785475731, 0.01171819306910038, 0.008496545255184174, 0.008978186175227165, 0.0054100858978927135, -0.0415462888777256, -0.002610162366181612, 0.008142056874930859, 0.022839238867163658, 0.030145876109600067, 0.014806299470365047, 0.019293181598186493 ]
[ -0.08851734548807144, -0.005863924976438284, -0.04488258808851242, -0.03391721099615097, 0.031282227486371994, -0.02961236611008644, -0.03537171706557274, 0.042822834104299545, 0.000107255567854736, -0.03250376507639885, 0.0029117849189788103, -0.008762172423303127, -0.011352415196597576, -0.01863093115389347, 0.08658198267221451, -0.0007648154860362411, 0.020003538578748703, -0.07986877113580704, -0.010200368240475655, 0.013478714041411877, 0.022127890959382057, -0.05450296774506569, -0.04487471282482147, -0.03465650603175163, -0.002862751018255949, 0.02671721950173378, 0.028314774855971336, -0.027800289914011955, 0.03148647025227547, -0.2007443606853485, -0.008642565459012985, 0.03250382840633392, 0.0630221962928772, -0.009014766663312912, -0.01342099066823721, 0.034454721957445145, 0.028960537165403366, -0.007654547691345215, -0.025247450917959213, 0.05246708542108536, 0.006633399985730648, 0.0032178405672311783, -0.02964235655963421, 0.0003967839293181896, 0.04313543066382408, 0.011919837445020676, -0.025312209501862526, -0.03526900336146355, -0.04199136421084404, 0.011869246140122414, -0.06999245285987854, -0.016956046223640442, 0.010251295752823353, -0.023815110325813293, -0.006547277793288231, 0.037589795887470245, 0.011562847532331944, 0.06447453051805496, -0.023367298766970634, 0.004540753550827503, -0.0007806405774317682, -0.013787737116217613, -0.12484434247016907, 0.08102267235517502, 0.03142731264233589, 0.04875356703996658, -0.034802962094545364, -0.0508178174495697, -0.014355115592479706, 0.08842948079109192, 0.0018933247774839401, -0.025297220796346664, -0.0343865342438221, 0.02875939942896366, 0.028203582391142845, -0.006188153754919767, 0.0033181498292833567, 0.0005389233119785786, 0.017885543406009674, -0.056810393929481506, 0.0005948994657956064, -0.015745291486382484, -0.02389068529009819, -0.014545847661793232, -0.0650784969329834, 0.0194388497620821, -0.009527909569442272, 0.06178900599479675, 0.0036696793977171183, 0.015651017427444458, 0.02227669768035412, -0.0009428507182747126, 0.058294110000133514, 0.006753127556294203, -0.07584855705499649, -0.008828209713101387, 0.009569578804075718, 0.019460828974843025, -0.05234634876251221, 0.49957358837127686, -0.031082259491086006, -0.017260679975152016, 0.09786836802959442, 0.0030274544842541218, -0.020556017756462097, 0.025881418958306313, 0.008537765592336655, -0.052342720329761505, 0.017014261335134506, -0.05010880157351494, -0.0025083411019295454, 0.019419562071561813, 0.06911447644233704, -0.02840803749859333, 0.0038821627385914326, 0.0031248964369297028, 0.04249391704797745, 0.002206984208896756, 0.036904476583004, -0.0052940500900149345, -0.002474782755598426, 0.022299306467175484, 0.01158564817160368, 0.003819077042862773, 0.010339217260479927, -0.050823330879211426, 0.028192197903990746, 0.05413517728447914, 0.021407224237918854, 0.039759814739227295, 0.0696512833237648, -0.04454510658979416, -0.02422243170440197, -0.003673431696370244, -0.0002507057215552777, 0.017642630264163017, 0.018635807558894157, -0.017236705869436264, 0.0029544609133154154, 0.04169516637921333, -0.008930048905313015, -0.021808942779898643, 0.0262311864644289, -0.012612366117537022, -0.019586442038416862, 0.10379372537136078, 0.02935655787587166, -0.038472630083560944, -0.012399384751915932, -0.02719666250050068, 0.0192655548453331, 0.03504306823015213, 0.0015603952342644334, -0.05273676663637161, 0.0177437886595726, 0.011045221239328384, 0.07312952727079391, -0.04118674620985985, -0.08449556678533554, -0.0063036466017365456, -0.030727872624993324, -0.01409695390611887, -0.04442119225859642, 0.03877635672688484, 0.043672826141119, -0.09217578172683716, -0.032632991671562195, 0.019050609320402145, 0.03203507140278816, -0.07825032621622086, 0.004821417853236198, 0.008398352190852165, -0.030460061505436897, 0.010645361617207527, 0.04549379274249077, -0.02741926722228527, -0.038620784878730774, 0.016878817230463028, 0.04194028675556183, 0.0008006630814634264, 0.01135344710201025, 0.020953478291630745, -0.02637937292456627, -0.003653169609606266, -0.045326147228479385, -0.0800071582198143, -0.042792849242687225, -0.015622332692146301, -0.011005391366779804, 0.00023335893638432026, -0.022381974384188652, -0.015202309004962444, -0.06797991693019867, 0.05684621259570122, -0.01972278021275997, -0.02953711710870266, 0.013888944871723652, 0.002099172677844763, -0.01732829585671425, -0.011732690036296844, -0.04590589180588722, 0.035399746149778366, -0.034196458756923676, 0.01531580463051796, -0.04141467064619064, 0.004203546326607466, 0.052561935037374496, -0.03766065090894699, 0.0911913514137268, 0.05204515904188156, -0.009157754480838776, -0.02766549400985241, 0.02628510445356369, 0.018633347004652023, 0.0018061849987134337, -0.03581509739160538, -0.0067239608615636826, 0.0006197353359311819, -0.0019185572164133191, 0.008752371184527874, -0.01592061296105385, 0.010774550959467888, -0.05121529474854469, -0.3246329426765442, -0.026690267026424408, -0.009693912230432034, -0.010660318657755852, 0.009730593301355839, -0.07229575514793396, 0.01899726502597332, -0.01515327300876379, -0.00956905260682106, 0.025798821821808815, 0.06342227756977081, 0.003686042968183756, -0.007251992356032133, -0.08615699410438538, -0.0044136010110378265, 0.011255340650677681, -0.023054173216223717, -0.03388678655028343, -0.042657312005758286, 0.014157095924019814, 0.011096425354480743, -0.0054318346083164215, -0.038278985768556595, -0.04774906486272812, -0.016169708222150803, -0.05051548406481743, 0.09090369939804077, -0.006389121990650892, 0.12146801501512527, -0.018272746354341507, 0.05454947426915169, -0.0005069028120487928, 0.022673487663269043, -0.08201799541711807, 0.011098832823336124, 0.004695300478488207, 0.026000142097473145, -0.03500472381711006, 0.04987539350986481, -0.031033139675855637, -0.0417904295027256, 0.010354550555348396, -0.07130540907382965, -0.024720823392271996, -0.060582149773836136, 0.021050650626420975, -0.00013229485193733126, -0.0583643838763237, -0.028167597949504852, 0.07746531069278717, 0.01680586114525795, -0.0037959408946335316, 0.020893452689051628, 0.032193128019571304, -0.01808648742735386, -0.028636809438467026, -0.06746011227369308, -0.007326978724449873, -0.0020572259090840816, 0.017268404364585876, 0.029011471197009087, 0.05932992696762085, 0.03981717303395271, -0.06646284461021423, 0.019001606851816177, -0.0033424566499888897, 0.0007512647425755858, 0.01205439679324627, 0.05398323014378548, 0.00923189613968134, -0.014384245499968529, 0.11344044655561447, -0.006304866634309292, 0.003985238261520863, 0.003167950315400958, 0.047130998224020004, 0.006640347186475992, 0.03756004199385643, 0.009072836488485336, -0.011333536356687546, 0.04434635490179062, -0.01073768362402916, 0.05486614257097244, -0.03661484643816948, 0.00028115545865148306, 0.00409979373216629, -0.0066667222417891026, -0.05667588859796524, 0.03034597635269165, 0.019019542261958122, -0.033982839435338974, 0.0028751736972481012, 0.019371775910258293, -0.07398335635662079, 0.10402905195951462, 0.0013968040002509952, -0.23867127299308777, 0.007433614693582058, 0.0827881395816803, 0.04845084249973297, -0.0075383675284683704, 0.031022217124700546, 0.007406179793179035, -0.05178005248308182, 0.005264407489448786, 0.024055669084191322, 0.03658563643693924, 0.028838064521551132, 0.0016477954341098666, -0.005225540604442358, 0.05412627011537552, -0.028079651296138763, 0.03640645369887352, -0.01657073199748993, 0.01559356227517128, 0.0032913140021264553, 0.030843108892440796, 0.012661078944802284, 0.13795897364616394, -0.013515550643205643, 0.029294539242982864, 0.012483338825404644, 0.021811464801430702, 0.022543471306562424, 0.059391699731349945, 0.0044583845883607864, 0.014246196486055851, 0.013748773373663425, 0.01962730474770069, 0.0131046948954463, 0.013637219555675983, -0.07071642577648163, -0.03307986631989479, 0.02603469230234623, 0.036694664508104324, 0.0019173037726432085, 0.012399617582559586, 0.010844654403626919, -0.03649868443608284, -0.0016220496036112309, 0.043921079486608505, 0.001284997328184545, 0.002691272646188736, -0.03754736855626106, -0.014889895915985107, -0.012336776591837406, -0.028251081705093384, -0.05287108197808266, 0.01142868585884571, -0.008086219429969788, -0.00201595202088356, 0.04718439280986786, 0.029872028157114983, -0.03762129321694374, -0.02088073641061783, 0.017853043973445892, -0.024924680590629578, -0.03437390923500061, 0.10951480269432068, 0.048619870096445084, 0.03083561360836029 ]
[ 0.0027518633287400007, -0.002031591022387147, -0.011357130482792854, 0.0011405469849705696, -0.006118146236985922, 0.010815962217748165, 0.041918668895959854, 0.03624334558844566, -0.011293812654912472, 0.016083959490060806, 0.00017499383829999715, 0.035059284418821335, 0.010633009485900402, -0.016218047589063644, 0.03572647273540497, -0.01284840703010559, -0.01991562359035015, -0.023578718304634094, 0.006414945237338543, 0.015424191020429134, -0.004235539585351944, 0.0075212339870631695, -0.021790636703372, -0.025135386735200882, -0.03663789853453636, -0.016343507915735245, -0.02672065980732441, -0.010628133080899715, 0.027916138991713524, -0.13318291306495667, -0.01675037108361721, 0.01806044951081276, 0.016464047133922577, 0.03422429412603378, -0.001086037140339613, -0.020255040377378464, -0.0031345675233751535, -0.026440279558300972, -0.0010507359402254224, -0.022565532475709915, -0.03598643094301224, -0.006184326950460672, -0.02501578815281391, 0.014268512837588787, -0.014382051303982735, 0.0029310486279428005, 0.009155873209238052, -0.02514479123055935, -0.023534562438726425, 0.025174330919981003, -0.030092811211943626, 0.015063238330185413, -0.017108915373682976, 0.0019020241452381015, 0.009195506572723389, -0.012855413369834423, 0.025573721155524254, -0.020934177562594414, 0.006253057159483433, 0.006848894525319338, -0.026339033618569374, -0.038284238427877426, -0.0533251129090786, -0.016005346551537514, -0.01001049391925335, 0.011519194580614567, -0.031863097101449966, -0.01904096081852913, -0.022041162475943565, -0.007416218053549528, 0.0057392907328903675, 0.015265901573002338, -0.03302871435880661, -0.015924576669931412, 0.02698110230267048, -0.00045668132952414453, 0.019610652700066566, -0.011089358478784561, 0.02412140741944313, -0.015566072426736355, -0.03620780631899834, 0.03738977760076523, -0.010297024622559547, 0.002299852902069688, 0.008696035481989384, -0.008370821364223957, -0.025929009541869164, -0.02077276073396206, -0.00031416286947205663, 0.012161197140812874, -0.061883438378572464, 0.028257405385375023, 0.002631109207868576, -0.007424281910061836, -0.09227647632360458, -0.02714921161532402, 0.03141457960009575, -0.02989800274372101, -0.003008281346410513, 0.8582847714424133, -0.017749637365341187, 0.052213314920663834, 0.03117833286523819, -0.007611756678670645, -0.037119507789611816, -0.011591074988245964, -0.019411271438002586, 0.02465282753109932, 0.017037611454725266, -0.06808504462242126, -0.01591344177722931, 0.014174671843647957, 0.05839814618229866, 0.01776796206831932, -0.002521506045013666, 0.0033883918076753616, 0.040443167090415955, 0.008167298510670662, 0.02683071978390217, 0.012448555789887905, 0.007175209932029247, 0.005010290537029505, -0.016951322555541992, 0.021274814382195473, -0.014754576608538628, -0.1503436416387558, 0.010352066718041897, -8.505071908919759e-33, 0.017992062494158745, 0.022366898134350777, -0.01966579258441925, -0.0036255517043173313, 0.010999216698110104, -0.017507240176200867, 0.07400047779083252, -0.03322611749172211, -0.014622810296714306, -0.021533947438001633, -0.007391381077468395, 0.006914360448718071, -0.024907700717449188, -0.016902361065149307, 0.05005710944533348, -0.015591755509376526, 0.034290507435798645, 0.026006383821368217, 0.012508835643529892, -0.009803454391658306, 0.06164088845252991, 0.023855211213231087, 0.03729236125946045, -0.02413802407681942, 0.02178158424794674, 0.04447278380393982, -0.014671414159238338, -0.00017188659694511443, 0.0033133202232420444, -0.03999239206314087, -0.023968227207660675, 0.021261051297187805, -0.017151065170764923, -0.021923011168837547, 0.021038614213466644, -0.0516168512403965, -0.023629866540431976, -0.00826979149132967, -0.01971627213060856, -0.05267978087067604, -0.032739099115133286, 0.026093624532222748, -0.025106551125645638, 0.011424081400036812, -0.009892488829791546, 0.00784868374466896, -0.024106604978442192, 0.053246308118104935, 0.034863777458667755, 0.020365910604596138, 0.015402129851281643, 0.0215380247682333, 0.002356641460210085, 0.012287672609090805, -0.027516193687915802, 0.006450875662267208, -0.017529308795928955, -0.02073209546506405, 0.008474582806229591, 0.01582290604710579, 0.026225527748465538, -0.01682763360440731, 0.004006576258689165, 0.006815646775066853, -0.017289482057094574, -0.036325618624687195, 0.02448611706495285, 0.012229123152792454, 0.01801086962223053, 0.011214344762265682, -0.027911098673939705, 0.00442704651504755, -0.0015429267659783363, -0.011260200291872025, -0.009231919422745705, 0.003638514317572117, -0.004960352089256048, -0.0363025926053524, -0.009884102270007133, 0.023882916197180748, 0.05078278109431267, 0.012094714678823948, 0.004130156710743904, -0.0014216508716344833, -0.016786126419901848, 0.0011378879426047206, 0.03180494159460068, -0.026077063754200935, 0.002596033038571477, -0.0028703876305371523, 0.023592272773385048, -0.008516685105860233, 0.01039915718138218, -0.021512456238269806, -0.001702820765785873, 8.332618806130468e-33, 0.006180734373629093, -0.037584688514471054, -0.0009170824196189642, 0.003020426258444786, -0.018696017563343048, -0.0039458503015339375, 0.013616081327199936, -0.016372326761484146, -0.045308563858270645, 0.05307239666581154, -0.029527023434638977, -0.025904472917318344, -0.0017424706602469087, 0.03756501153111458, 0.03317689523100853, -0.03185208886861801, 0.043564438819885254, -0.00189628463704139, 0.057269543409347534, 0.030710600316524506, 0.0021417990792542696, 0.009146138094365597, -0.0014779043849557638, 0.015623272396624088, 0.03047161176800728, 0.031215814873576164, -0.04096490517258644, 0.0036765821278095245, -0.01738360896706581, 0.023126747459173203, 0.03155341371893883, 0.01837102510035038, 0.03978787362575531, -0.029863934963941574, -0.004254606086760759, -0.009548364207148552, 0.004835570231080055, -0.010382553562521935, 0.03685847297310829, 0.01033737137913704, 0.03446239233016968, -0.013685649260878563, 0.013450206257402897, -0.002809660043567419, 0.01579304225742817, 0.029781712219119072, 0.004413053393363953, -0.016046885401010513, -0.00130750541575253, 0.03785490617156029, 0.0035959503147751093, 0.013155588880181313, -0.02187523990869522, -0.03240567818284035, -0.02871471457183361, -0.025329280644655228, -0.003011216875165701, -0.0055527896620333195, -0.03805441036820412, -0.02008366584777832, -0.021632026880979538, 0.011192736215889454, -0.014806223101913929, -0.015537549741566181, -0.0178837850689888, -0.007886119186878204, 0.0034526584204286337, -0.020725416019558907, 0.02729901298880577, -0.027260662987828255, -0.028751324862241745, -0.0006086603971198201, 0.024816595017910004, 0.03402867913246155, -0.0016166828572750092, 0.0027112627867609262, -0.021672746166586876, 0.005435713101178408, -0.0272863507270813, 0.03024243377149105, 0.005644996650516987, 0.0017506700241938233, 0.019425952807068825, 0.037947915494441986, -0.021626699715852737, -0.014784291386604309, -0.029518667608499527, 0.020395450294017792, -0.007217124104499817, -0.03954258933663368, -0.00010019957699114457, 0.0005350957508198917, 0.005433895159512758, 0.0015803020214661956, 0.0048768059350550175, -1.386080494825137e-8, -0.004907296970486641, 0.0020879998337477446, -0.02812160551548004, 0.015724027529358864, 0.016992518678307533, 0.0023501322139054537, -0.0016783018363639712, -0.011303167790174484, -0.02713761478662491, 0.010991199873387814, 0.010463000275194645, -0.004767774138599634, -0.014426381327211857, 0.0030472660437226295, 0.008041744120419025, -0.025570381432771683, 0.020062841475009918, -0.00038775228313170373, 0.027339141815900803, 0.03888246789574623, 0.01798809878528118, 0.0812469869852066, 0.007964730262756348, 0.006565021350979805, -0.01036672294139862, 0.0006670047878287733, -0.003234531031921506, -0.09257696568965912, 0.016395581886172295, 0.025722408667206764, 0.023037139326334, -0.03716358169913292, -0.027477972209453583, 0.014081628061830997, -0.024893447756767273, -0.029649967327713966, 0.02381988987326622, 0.030076339840888977, -0.017834655940532684, -0.00018739253573585302, 0.014453603886067867, 0.029237277805805206, -0.02765193209052086, -0.028954077512025833, -0.021752310916781425, -0.01808829978108406, -0.010695032775402069, -0.01989646814763546, 0.01438756100833416, -0.025546086952090263, 0.01144579891115427, 0.008514242246747017, 0.03248417377471924, 0.046973057091236115, 0.01466282643377781, 0.0019351305672898889, -0.0033655681181699038, -0.016125798225402832, -0.009531762450933456, 0.006294517312198877, -0.0008582692826166749, 0.03915386274456978, -0.01849696785211563, -0.021065611392259598 ]
book-club-why-noone-uses-functional-languages-philip-wadler
https://markhneedham.com/blog/2009/07/08/book-club-why-noone-uses-functional-languages-philip-wadler
false
2009-07-08 22:46:05
F#: Parsing Cruise build data
[ "f" ]
[ "fsharp" ]
I've been playing around a bit with the http://studios.thoughtworks.com/cruise-continuous-integration/1.3.0/help/Properties_API.html[properties REST API] that Cruise exposes to try and get together some build metrics and I decided it might be an interesting task to try and use F# for. I'm making use of the 'search' part of the API to return the metrics of all the builds run on a certain part of the pipeline and I then want to parse those results so that I can extract just the name of the agent that ran that build and the duration of that build. The first part of this task is to parse the data and extract just the information I'm interested in. The data is like this: [source,text] ---- cruise_agent,cruise_job_duration,cruise_job_id,cruise_job_result,cruise_pipeline_label,cruise_timestamp_01_scheduled,cruise_timestamp_02_assigned,cruise_timestamp_03_preparing,cruise_timestamp_04_building,cruise_timestamp_05_completing,cruise_timestamp_06_completed\n BuildAgentOne (Sydney, PersonOne),319,14052,Passed,2223,2009-06-25 12:14:01 +1000,2009-06-25 12:14:02 +1000,2009-06-25 12:14:02 +1000,2009-06-25 12:14:35 +1000,2009-06-25 12:19:54 +1000,2009-06-25 12:19:55 +1000\n BuildAgentTwo (Sydney, PersonTwo),422,14084,Passed,2224,2009-06-25 14:13:57 +1000,2009-06-25 14:13:58 +1000,2009-06-25 14:13:58 +1000,2009-06-25 14:14:48 +1000,2009-06-25 14:21:49 +1000,2009-06-25 14:21:50 +1000\n ---- I first started off trying to do this extraction all in one regular expression but after a while realised that I'd probably have more success if I ran a regular expression over each line individually. [source,ocaml] ---- type CruiseData = { Agent: string; Duration: string } ---- [source,ocaml] ---- let ExtractValues (item:string) = let matchBuildDuration item = Regex.Match(item, "(.*\)),([0-9]+),") Regex.Split(item, "\n") |> Array.map (fun item -> let m = matchBuildDuration item if(m.Success) then { Agent = m.Groups.[1].Value; Duration = m.Groups.[2].Value } else { Agent = ""; Duration = ""} ) |> Array.filter (fun item -> item.Agent <> "" && item.Duration <> "") ---- I realised when I started writing the let statement inside the Array.map function on line 4 that I was thinking about this problem way too imperatively. I actually backed out at that stage and had another go but I decided it would be interesting to see what each iteration of the solution would look like if I had actually completed it. An improvement on that would be to not set up an empty 'CruiseData' like we are doing on line 8 but instead to make use of the Option type to define when we do and do not have a value: [source,ocaml] ---- let ExtractValues (item:string) = let matchBuildDuration item = Regex.Match(item, "(.*\)),([0-9]+),") Regex.Split(item, "\n") |> Array.map (fun item -> let m = matchBuildDuration item if(m.Success) then Some({ Agent = m.Groups.[1].Value; Duration = m.Groups.[2].Value }) else None ) |> Array.filter (fun item -> item.IsSome) ---- It's still not great as we have imperative logic inside the Array.map function which looks pretty ugly. At this stage I realised that I needed to excluded any lines which didn't match the regular expression so that I wouldn't have to care about them at all. This was the next solution: [source,ocaml] ---- let ExtractValues (response:string) = let matchBuildDuration item = Regex.Match(item, "(.*\)),([0-9]+),") Regex.Split(response, "\n") |> Array.filter (fun x -> (matchBuildDuration x).Success) |> Array.map (fun x -> (matchBuildDuration x).Groups) |> Array.map (fun group -> { Agent = (group.[1].Value); Duration = (group.[2].Value) } ) ---- This is better although we are now calling the 'matchBuildDuration' function twice which is a bit wasteful. http://twitter.com/davcamer[Dave] pointed out that if we run the data straight through the 'matchBuildDuration' function after splitting the new lines we can remove the need to call the function twice and then inline the function: [source,ocaml] ---- let ExtractValues (response:string) = Regex.Split(response, "\n") |> Array.map (fun x -> Regex.Match(x, "(.*\)),([0-9]+),")) |> Array.filter (fun x -> x.Success) |> Array.map (fun x -> x.Groups) |> Array.map (fun group -> { Agent = (group.[1].Value); Duration = (group.[2].Value) } ) ---- In all the functions we end up with the following data by executing this function: [source,text] ---- [|{Agent = "BuildAgentOne"; Duration = "319"}; {Agent = "BuildAgentTwo"; Duration = "422"}|] ---- My current thinking is that if I have more than one expression inside a function it's very probable that there's a better way of solving the problem and if I have conditional logic in there then I've gone very wrong. I'd be interested to see if there's an even simpler way to solve this problem.
null
null
[ 0.010334082879126072, 0.002452423796057701, 0.01798076182603836, 0.04366064816713333, 0.086232990026474, 0.018860837444663048, 0.04518631100654602, 0.05200407654047012, 0.010996895842254162, -0.017236599698662758, -0.01464939210563898, 0.02082154154777527, -0.08789509534835815, 0.0003687176504172385, 0.019195597618818283, 0.06738809496164322, 0.07237832993268967, -0.015397492796182632, 0.026503147557377815, 0.004884322639554739, 0.02471412532031536, 0.07471597194671631, 0.007342962548136711, 0.012429152615368366, 0.029817789793014526, -0.01244379859417677, -0.009675544686615467, 0.0020866412669420242, -0.06916875392198563, 0.017478004097938538, 0.002944903215393424, -0.022447876632213593, -0.02416335418820381, -0.017124122008681297, 0.00823194719851017, 0.010898521170020103, -0.007520526647567749, -0.0025068321265280247, 0.0024898690171539783, 0.028163593262434006, -0.0806976929306984, 0.002039859537035227, -0.0019340309081599116, -0.01214723102748394, -0.04546660929918289, 0.06912324577569962, -0.04914102703332901, -0.026887154206633568, -0.004579783882945776, -0.011686090379953384, -0.05912017449736595, 0.02262016013264656, -0.02500438503921032, 0.0021915410179644823, 0.027297604829072952, 0.047204356640577316, 0.010135681368410587, -0.0812065377831459, 0.02537882886826992, -0.010109997354447842, 0.03341064229607582, -0.04647296667098999, 0.024486426264047623, 0.04938426986336708, 0.03263309970498085, -0.01578800566494465, -0.008952004835009575, 0.048906486481428146, -0.038093067705631256, -0.018786104395985603, 0.007085938006639481, 0.0220976322889328, -0.013918392360210419, -0.008280761539936066, -0.012204724363982677, -0.0395246185362339, -0.003178846789523959, 0.05205512419342995, -0.005312939174473286, 0.05822422355413437, -0.03863055631518364, 0.026795603334903717, 0.04488357901573181, 0.017107484862208366, -0.0029733520932495594, -0.0038265411276370287, -0.029975000768899918, -0.011817543767392635, -0.050211917608976364, 0.06425374001264572, 0.050314150750637054, -0.03578479588031769, 0.008585737086832523, 0.0027176085859537125, 0.020181352272629738, 0.01213892363011837, -0.012365635484457016, 0.028011059388518333, -0.017356226220726967, 0.029201345518231392, -0.04657568410038948, 0.0014447118155658245, 0.006959033198654652, 0.014965376816689968, -0.0618341825902462, -0.039686694741249084, -0.01757081039249897, 0.004162241239100695, 0.011456622742116451, 0.0019580479711294174, -0.02963881567120552, 0.008061916567385197, -0.003631595754995942, 0.009988386183977127, -0.09598759561777115, 0.045304302126169205, 0.008807415142655373, -0.01782597042620182, -0.020709248259663582, 0.013837579637765884, 0.059065837413072586, 0.008068924769759178, 0.0018264510435983539, 0.054560959339141846, -0.0053566452115774155, 0.06284482032060623, 0.012167557142674923, 0.05016335844993591, -0.012054628692567348, -0.07485324144363403, -0.03474591672420502, 0.05436699092388153, -0.008215507492423058, 0.012834487482905388, -0.022480864077806473, -0.04308152571320534, -0.013105413876473904, -0.003779239021241665, 0.06756351888179779, 0.008092416450381279, -0.0008743397775106132, -0.0418192557990551, -0.00462284404784441, -0.03771665692329407, 0.03664855286478996, 0.021259676665067673, -0.019780421629548073, -0.049462467432022095, -0.04400743544101715, 0.016429293900728226, 0.03004784695804119, 0.022651782259345055, 0.05278123542666435, -0.04197189211845398, -0.0004575136990752071, 0.07893917709589005, 0.05312280356884003, 0.006380656734108925, -0.02780953049659729, -0.03513823449611664, 0.012312953360378742, 0.05500389263033867, 0.009991059079766273, 0.047066375613212585, 0.01681448705494404, -0.018096860498189926, 0.007686043158173561, 0.01829669252038002, -0.015698356553912163, -0.0035033810418099165, -0.04940568283200264, -0.008932897821068764, 0.06289566308259964, -0.019800979644060135, 0.014673885889351368, 0.05660818889737129, 0.07687370479106903, 0.016696354374289513, 0.04155154153704643, -0.018181348219513893, -0.06845694035291672, 0.048986680805683136, 0.01266547478735447, 0.011549824848771095, 0.024703916162252426, -0.008107321336865425, 0.07251909375190735, -0.0027819424867630005, -0.0010305877076461911, 0.024675367400050163, -0.07296962291002274, -0.06828682869672775, -0.01580444723367691, -0.044147808104753494, 0.0688287615776062, -0.04292085021734238, 0.009339869022369385, 0.0333598293364048, 0.027201149612665176, 0.05685241147875786, 0.033862143754959106, 0.008583835326135159, 0.027515482157468796, -0.04449259489774704, -0.052169669419527054, 0.05518471077084541, 0.017905505374073982, -0.018702181056141853, -0.01725756749510765, 0.02633899636566639, -0.03298163041472435, 0.01646583527326584, 0.06174621731042862, -0.004696461372077465, 0.045372284948825836, 0.004248635843396187, 0.019349901005625725, -0.028095301240682602, 0.031715165823698044, -0.06712810695171356, 0.05874784663319588, 0.019742704927921295, -0.06461816281080246, -0.02487742155790329, -0.04665052518248558, 0.1099480539560318, 0.07350361347198486, -0.038893867284059525, -0.044524818658828735, 0.03758829087018967, -0.002285377122461796, -0.012478821910917759, -0.006508341059088707, -0.03256505727767944, 0.006456424947828054, 0.019394565373659134, -0.016770530492067337, 0.009841354563832283, -0.01629960909485817, -0.034437887370586395, 0.02957749366760254, 0.03423967584967613, -0.021959975361824036, 0.0299375057220459, 0.024317454546689987, -0.024816229939460754, 0.014244664460420609, -0.029698636382818222, -0.06784653663635254, 0.01064511202275753, 0.0168239064514637, -0.004229020792990923, 0.03797130286693573, -0.03377491608262062, -0.03363915532827377, -0.029435979202389717, -0.052186090499162674, 0.043506208807229996, 0.01799672655761242, 0.060729771852493286, -0.020604237914085388, 0.07178564369678497, -0.033961083739995956, 0.017748193815350533, 0.020312102511525154, -0.061060335487127304, -0.01373942568898201, 0.004188461694866419, -0.00036711356369778514, 0.06041261926293373, -0.007961496710777283, 0.003124431474134326, 0.017832769080996513, 0.008850807324051857, -0.0023449116852134466, -0.01614658161997795, 0.04208744317293167, -0.021354397758841515, 0.010381205007433891, -0.012491478584706783, -0.03294163569808006, 0.04588709771633148, -0.06408762186765671, -0.029317418113350868, -0.019934767857193947, -0.07094428688287735, 0.028462911024689674, -0.069518081843853, -0.03806848078966141, -0.007672750391066074, 0.002855628961697221, -0.003687485121190548, -0.019711928442120552, 0.02444417215883732, 0.05474647134542465, 0.03778974711894989, 0.024832652881741524, 0.04661739245057106, 0.0037613448221236467, 0.038424212485551834, -0.0011313942959532142, 0.01777752861380577, 0.05053749680519104, -0.0018237202893942595, -0.0010675782104954123, -0.05381890386343002, -0.02745346538722515, -0.040218763053417206, -0.27779582142829895, 0.03252454474568367, -0.05395404249429703, -0.04114165157079697, 0.023977460339665413, -0.009642231278121471, 0.03326975926756859, -0.030263399705290794, 0.005985422991216183, 0.024395907297730446, 0.012269066646695137, -0.03781037777662277, 0.01436983048915863, 0.06254594027996063, 0.004320827312767506, -0.008157926611602306, 0.003319215029478073, -0.050112493336200714, 0.021297363564372063, 0.01052648015320301, -0.003916047513484955, -0.05025346204638481, 0.005334910936653614, 0.038963139057159424, 0.02512361668050289, 0.03619914501905441, -0.08181625604629517, 0.017765263095498085, -0.039451345801353455, -0.014006903395056725, 0.016524115577340126, 0.0005843304679729044, 0.026559334248304367, -0.040794745087623596, -0.018487030640244484, -0.04078351706266403, 0.03424270451068878, -0.0027756814379245043, 0.021648099645972252, 0.010999700985848904, -0.03963141888380051, -0.030665043741464615, -0.01542909350246191, -0.02877192385494709, 0.07531996816396713, 0.003882416756823659, -0.0733887255191803, -0.016027579084038734, -0.020776735618710518, 0.05869769677519798, -0.04125874862074852, -0.041067734360694885, -0.05581855773925781, 0.019421810284256935, -0.01113142166286707, -0.04672170430421829, 0.028598763048648834, -0.015449466183781624, -0.07577792555093765, -0.0084217619150877, 0.0134351197630167, -0.012309853918850422, 0.0019480707123875618, -0.05305301025509834, -0.062077976763248444, -0.05139964446425438, -0.046953849494457245, -0.020113280043005943, 0.06510762125253677, -0.0039144521579146385, -0.05965955927968025, -0.017600111663341522, -0.006121309474110603, -0.11667126417160034, -0.0162216704338789, -0.031005319207906723, -0.017713047564029694, -0.027390990406274796, 0.0023508169688284397, 0.04220250993967056, -0.02685960941016674, -0.0351981520652771, 0.004701436031609774, 0.025971753522753716, 0.03576973080635071, -0.00004534510298981331, 0.0036117129493504763, 0.004563269671052694, -0.028942957520484924, -0.024330640211701393, 0.0722111389040947, -0.035591259598731995, -0.014168580062687397, -0.018326036632061005, -0.005638431292027235, 0.03436645492911339, -0.016433056443929672, 0.0029077769722789526, 0.02341586910188198, 0.004988473374396563, 0.04492274299263954, -0.04215608537197113, 0.02275334857404232, -0.025850895792245865, -0.009506316855549812, -0.024633243680000305, -0.03845192864537239, 0.009523497894406319, 0.01301796454936266, 0.037720516324043274, 0.00009577821037964895, -0.006865115370601416, 0.011210213415324688, -0.03304595127701759, 0.005137565080076456, -0.004333994351327419, 0.006533761043101549, 0.03284664824604988, 0.0440262109041214, 0.002002701396122575, -0.06019122526049614, -0.011333172209560871, 0.011674134060740471, -0.018549103289842606, -0.06302669644355774, -0.0308914203196764, 0.01675439067184925, 0.004845335613936186, 0.025622572749853134, 0.04804510623216629, -0.016192935407161713, 0.030055129900574684, 0.008814039640128613, -0.0016217383090406656, 0.03893816098570824, -0.007593899965286255, 0.013515427708625793, -0.03961275517940521, -0.009292085655033588, -0.000947625667322427, -0.009904976934194565, -0.007107343524694443, 0.03825158625841141, 0.05643207207322121, 0.03947581723332405, 0.03890300914645195, 0.015486608259379864, -0.026181120425462723, 0.012819748371839523, -0.016249895095825195, -0.016511118039488792, -0.036460213363170624, 0.019709398970007896, -0.05374138057231903, 0.008111887611448765, -0.028965922072529793, 0.04822660610079765, -0.0034168658312410116, -0.061081238090991974, -0.05910124629735947, 0.019672894850373268, -0.03961256518959999, -0.008506830781698227, -0.026163121685385704, -0.007946588099002838, 0.022544661536812782, -0.011785155162215233, 0.04084740951657295, -0.026739902794361115, -0.004482957534492016, -0.0029864853713661432, 0.028294535353779793, -0.01980927586555481, 0.022048842161893845, -0.012055492028594017, 0.003228997578844428, 0.0018950900994241238, 0.025181949138641357, 0.03963063657283783, 0.01733331009745598, -0.011520394124090672, -0.014332718215882778, 0.005728057585656643, 0.003937227185815573, 0.027361109852790833, 0.039406318217515945, 0.015540871769189835, -0.015641789883375168, -0.03999508172273636, 0.005137604661285877, 0.0013514527818188071, -0.002601492451503873, -0.025263750925660133, -0.006258241832256317, -0.02543899230659008, -0.08732308447360992, 0.06174672394990921, 0.05807479843497276, 0.043597254902124405, 0.008348464965820312, -0.021934749558568, -0.019427552819252014, -0.022786341607570648, 0.015515726990997791, 0.05954546481370926, -0.03172028809785843, 0.00012158932804595679, -0.0030076177790760994, 0.036614954471588135, 0.005210347939282656, 0.03148568049073219, -0.05530359223484993, -0.03566437214612961, -0.017336076125502586, -0.02074926346540451, -0.034731894731521606, -0.021696027368307114, -0.030395684763789177, 0.027975086122751236, -0.01759648323059082, 0.03347843512892723, -0.0008562306757085025, 0.0001937209744937718, -0.007500162813812494, 0.02091110125184059, 0.014107786118984222, -0.024834049865603447, -0.020141730085015297, 0.0338904894888401, -0.01610037311911583, 0.01612199656665325, -0.04049938917160034, 0.0345270112156868, 0.03168593719601631, -0.005870309192687273, -0.023074211552739143, -0.08585461229085922, -0.02565755322575569, -0.020702123641967773, 0.03254149109125137, 0.0021630392875522375, -0.030192118138074875, -0.008808817714452744, -0.018646564334630966, -0.01913183182477951, -0.001956009306013584, 0.02351529709994793, -0.04056429862976074, 0.00021512522653210908, 0.054992057383060455, -0.03498672693967819, 0.027742531150579453, -0.022119620814919472, -0.0592120960354805, 0.02675403468310833, -0.029971018433570862, -0.0395544171333313, -0.015470806509256363, -0.0441913828253746, 0.006442769430577755, 0.0027353677432984114, 0.010949516668915749, -0.05630940943956375, 0.07641201466321945, 0.06915532797574997, 0.04522436857223511, 0.034791890531778336, 0.012537945061922073, 0.021027566865086555, -0.014756337739527225, -0.016669388860464096, -0.050264883786439896, 0.032133784145116806, 0.06275544315576553, -0.014319567941129208, 0.004774653352797031, 0.01721147634088993, -0.020799990743398666, 0.0704369843006134, -0.04767458885908127, -0.04605827480554581, 0.05185382440686226, -0.01855175569653511, -0.0014326986856758595, 0.0018765373388305306, -0.03733602166175842, 0.0071338783018291, 0.030794911086559296, -0.03231624886393547, -0.016645753756165504, -0.043857600539922714, 0.05732330307364464, -0.057540733367204666, 0.00703280046582222, -0.07370644807815552, -0.030139612033963203, 0.0664629265666008, 0.04180923104286194, 0.013058296404778957, 0.03845380246639252, -0.024480294436216354, 0.003224181942641735, -0.02422277256846428, -0.024690818041563034, -0.006967183202505112, 0.024212628602981567, -0.011924759484827518, -0.03256568685173988, 0.042104437947273254, 0.004055378958582878, -0.0574374720454216, -0.04181347042322159, 0.08709052205085754, 0.034279655665159225, -0.0016884031938388944, -0.054477423429489136, 0.014615964144468307, -0.03185218200087547, -0.010276478715240955, 0.019820185378193855, 0.026867598295211792, -0.059539467096328735, 0.05426708608865738, 0.01718069240450859, 0.022994734346866608, 0.05826934427022934, -0.001142562017776072, 0.02037912793457508, 0.03193461894989014, 0.08328478783369064, 0.07273728400468826, 0.014112030155956745, -0.009436915628612041, 0.04752359539270401, -0.019698776304721832, -0.05142911896109581, 0.037929583340883255, -0.023069793358445168, 0.018745826557278633, -0.01805475354194641, 0.03529881685972214, 0.1006496325135231, 0.01657532900571823, 0.051291584968566895, -0.03055703267455101, -0.013590690679848194, -0.00860273465514183, 0.009260239079594612, 0.0558161586523056, 0.031191086396574974, -0.009936182759702206, 0.022978149354457855, 0.007249410729855299, -0.055819571018218994, 0.024251792579889297, 0.0045185876078903675, -0.015387574210762978, 0.015384281985461712, -0.012522202916443348, 0.011688191443681717, 0.001902130781672895, 0.03587310388684273, 0.07729317992925644, -0.0037862849421799183, -0.010525884106755257, -0.007352620828896761, 0.017729997634887695, 0.020410535857081413, -0.025951920077204704, -0.0313802994787693, -0.000004663010258809663, -0.01535240188241005, -0.036224231123924255, -0.017934564501047134, -0.006235309410840273, -0.03803623095154762, 0.03568730503320694, -0.026798410341143608, 0.018841998651623726, 0.013196613639593124, -0.011729017831385136, -0.01141433510929346, -0.02333717606961727, -0.08858510106801987, -0.030603591352701187, -0.051849350333213806, 0.012479805387556553, 0.011513487435877323, 0.007975874468684196, -0.001165255787782371, -0.03918066248297691, -0.012093682773411274, -0.007044232916086912, 0.024904614314436913, -0.05096346139907837, -0.00661153718829155, 0.02760051190853119, 0.01116184052079916, 0.03655583783984184, 0.002824801951646805, 0.048524968326091766, 0.021413495764136314, 0.010946930386126041, -0.030086863785982132, -0.0024665805976837873, 0.019590632990002632, 0.007442894857376814, 0.023409394547343254, -0.05888522043824196, 0.011307381093502045, 0.0025098223704844713, 0.009639940224587917, -0.06787467747926712, 0.0012222436489537358, -0.0007541832164861262, -0.030644729733467102, 0.044468071311712265, -0.03689742833375931, 0.005138511303812265, -0.03354983031749725, -0.044360242784023285, 0.027769144624471664, -0.004352380987256765, 0.03185644373297691, -0.02730645425617695, 0.08843941241502762, -0.011435918509960175, -0.02641480416059494, -0.02195541001856327, -0.00400320440530777, -0.029679961502552032, 0.01807389035820961, -0.015940170735120773, -0.04222878813743591, -0.04999212175607681, -0.06398893147706985, -0.049541134387254715, 0.0003453630197327584, -0.003736109472811222, -0.05410011112689972, 0.04299215227365494, 0.0260965283960104, -0.07392263412475586, 0.009914228692650795, -0.03015878237783909, 0.015773357823491096, 0.01450150366872549, -0.03329209238290787, -0.012963692657649517, 0.01773562841117382, 0.02364041842520237, -0.013300111517310143, 0.025382930412888527, -0.04226047918200493, -0.004148581530898809, -0.036488644778728485, 0.020181182771921158, 0.03690553829073906, -0.003536942880600691, 0.00017297449812758714 ]
[ -0.07523547112941742, -0.008427469059824944, -0.03313343599438667, -0.04078606516122818, 0.05377710238099098, -0.05250685662031174, -0.019365914165973663, 0.012966136448085308, -0.009638036601245403, -0.04560304060578346, 0.023059366270899773, -0.04188600182533264, -0.0315752848982811, -0.024570662528276443, 0.013820942491292953, 0.0031275225337594748, 0.016819385811686516, -0.03148941695690155, -0.003855455666780472, 0.010911818593740463, 0.01991254836320877, -0.03138132020831108, -0.06486542522907257, -0.008166550658643246, 0.004870126489549875, 0.04113943129777908, 0.015162812545895576, -0.018154820427298546, -0.00961722806096077, -0.19825221598148346, 0.006155458744615316, -0.004888420924544334, 0.045559726655483246, -0.007680200971662998, 0.03437119349837303, 0.040916722267866135, 0.005886527709662914, 0.00806121900677681, 0.016297688707709312, 0.04640616476535797, 0.02997354418039322, 0.00539524806663394, -0.016834363341331482, 0.009949256666004658, 0.016296127811074257, -0.014115368016064167, -0.01997259259223938, 0.018002910539507866, 0.0015856906538829207, 0.023460350930690765, -0.041606586426496506, -0.016539042815566063, -0.004392881412059069, -0.02160896547138691, 0.001272035762667656, 0.03524979203939438, 0.033636149019002914, 0.058030787855386734, 0.0038574207574129105, 0.025557974353432655, 0.02070772461593151, -0.016149207949638367, -0.1693398803472519, 0.09209317713975906, 0.030976561829447746, 0.05315518006682396, -0.06897718459367752, -0.014895197935402393, -0.0063605960458517075, 0.07956336438655853, -0.01203769352287054, -0.05038100853562355, -0.055558085441589355, 0.06789417564868927, 0.0312788188457489, -0.013845308683812618, 0.0011821755906566978, 0.03391316533088684, 0.03673562780022621, -0.02029888704419136, -0.03268548473715782, -0.039453208446502686, -0.048445045948028564, -0.01981187053024769, -0.0275116004049778, 0.013123841024935246, -0.011860164813697338, 0.07804883271455765, 0.05282939597964287, 0.04442403092980385, 0.00018036925757769495, -0.04566708952188492, 0.033453479409217834, 0.02899863012135029, -0.09656254947185516, -0.02480417676270008, -0.003913954831659794, -0.008991366252303123, 0.0025076991878449917, 0.4184087812900543, -0.012044625356793404, 0.0013023067731410265, 0.00947115570306778, 0.014720756560564041, -0.008877475745975971, 0.02011970244348049, 0.023867957293987274, -0.05117625370621681, 0.028860384598374367, -0.0630057156085968, -0.03761637583374977, 0.029947122558951378, 0.04416811466217041, -0.06500639021396637, -0.0060929530300199986, 0.04002370685338974, 0.003719756379723549, 0.013574901036918163, -0.03885316103696823, -0.025089796632528305, -0.014074443839490414, -0.029652731493115425, 0.02880175970494747, 0.03756187856197357, -0.007346011698246002, 0.009987827390432358, 0.10410068184137344, 0.034086667001247406, 0.0047440179623663425, 0.013579779304564, 0.06060893461108208, -0.028048332780599594, -0.08413292467594147, 0.010644613765180111, 0.002556492341682315, 0.02687196061015129, 0.03853214532136917, -0.025380276143550873, -0.022111881524324417, 0.04364693537354469, -0.04132438823580742, -0.037492603063583374, 0.020324476063251495, -0.013150055892765522, -0.05217374488711357, 0.12446608394384384, 0.03630729019641876, -0.01967240869998932, -0.03170425444841385, -0.04662322625517845, -0.02434048242866993, 0.038873542100191116, 0.018861468881368637, -0.041109081357717514, 0.018962157890200615, 0.025518780574202538, 0.0661633163690567, -0.02717350237071514, -0.09330740571022034, 0.019120899960398674, -0.007268278859555721, -0.04087335616350174, -0.017353199422359467, 0.062481433153152466, 0.041532810777425766, -0.1221381351351738, -0.034503381699323654, 0.02121715061366558, 0.001053707441315055, -0.07702905684709549, 0.012596403248608112, 0.04158291593194008, -0.023942455649375916, 0.0005778474151156843, 0.033718813210725784, -0.021545685827732086, -0.0053862472996115685, 0.04279409721493721, 0.041938070207834244, 0.004132813774049282, -0.03871965780854225, 0.011491697281599045, -0.02762666530907154, 0.0006424656021408737, -0.02474808134138584, -0.08834460377693176, -0.0696844756603241, 0.01164169516414404, -0.04058736190199852, -0.019971074536442757, -0.0016259996918961406, -0.02004445157945156, -0.04663637652993202, 0.1027137041091919, -0.014635543338954449, -0.028963925316929817, 0.02409624122083187, 0.0027383489068597555, -0.0261538028717041, -0.07234740257263184, 0.04519394412636757, 0.006991340313106775, 0.01945033296942711, 0.04796332120895386, -0.06521809846162796, 0.04624756798148155, 0.050490982830524445, -0.025440597906708717, 0.035072531551122665, 0.04362630099058151, -0.03876275569200516, -0.009080803953111172, -0.0039026644080877304, 0.022111061960458755, 0.014049694873392582, -0.003285046201199293, 0.015792401507496834, 0.008278065361082554, -0.010352148674428463, 0.024523930624127388, -0.02308310940861702, -0.00809529609978199, 0.011510455049574375, -0.32940465211868286, -0.052614182233810425, -0.02965736947953701, 0.012122072279453278, 0.01626729592680931, -0.06425053626298904, -0.004694018047302961, 0.001830801134929061, -0.021417614072561264, 0.030897734686732292, 0.06534701585769653, -0.03877091035246849, -0.004593363497406244, -0.09848658740520477, -0.02680213190615177, 0.0068239085376262665, -0.03057919442653656, -0.03203606233000755, -0.006471777334809303, 0.02358197048306465, 0.013070018962025642, -0.028571482747793198, -0.0587664358317852, -0.03399067744612694, 0.037361934781074524, -0.012482386082410812, 0.13089244067668915, 0.020641887560486794, 0.07772989571094513, -0.07323072850704193, 0.035773035138845444, -0.009326315484941006, 0.04662932828068733, -0.06057041883468628, 0.011773673817515373, -0.07047497481107712, 0.015431826934218407, -0.009723885916173458, 0.029703615233302116, -0.020309340208768845, -0.051899924874305725, 0.009346678853034973, -0.03967951610684395, -0.023407893255352974, -0.025263842195272446, -0.020295457914471626, -0.024777553975582123, -0.009351791813969612, -0.04161285236477852, 0.06903106719255447, 0.023101283237338066, 0.007869809865951538, 0.017143158242106438, 0.023138368502259254, 0.011338635347783566, -0.012940328568220139, -0.07717479020357132, -0.03168025240302086, -0.03453414514660835, -0.041962794959545135, 0.0393950417637825, 0.04998575523495674, 0.020845497027039528, -0.017230259254574776, 0.021239902824163437, -0.0024027384351938963, -0.002293188124895096, -0.006406111642718315, 0.01725669763982296, -0.055612124502658844, -0.02110886573791504, 0.09015647321939468, -0.011511052958667278, 0.02304787188768387, 0.03505247086286545, 0.03231637924909592, -0.03754090145230293, 0.018993359059095383, 0.0416838601231575, 0.0011673554545268416, 0.05379072204232216, -0.009294850751757622, 0.04902932047843933, -0.040932223200798035, 0.012551451101899147, 0.07417713850736618, 0.0032799281179904938, -0.027052508667111397, 0.044097136706113815, 0.0068532745353877544, -0.008639362640678883, 0.009072782471776009, -0.00988227128982544, -0.07127291709184647, 0.0806625708937645, 0.01183491200208664, -0.2606513202190399, 0.01134293433278799, 0.04750196263194084, 0.05297296121716499, -0.008349550887942314, 0.02603061869740486, 0.038085129112005234, -0.04799899831414223, 0.004162597935646772, 0.02461877651512623, -0.022876009345054626, 0.0680992603302002, -0.004906781949102879, -0.018045568838715553, 0.01770535297691822, 0.005555862560868263, 0.0451190322637558, 0.01292092353105545, 0.022271720692515373, 0.014588910154998302, 0.02988654002547264, 0.009391221217811108, 0.17469853162765503, 0.027786443009972572, 0.02846265211701393, 0.02066541463136673, -0.01714894361793995, 0.03557660058140755, 0.07844871282577515, 0.0368918813765049, -0.003157941158860922, -0.00028931026463396847, 0.028846513479948044, 0.00811578705906868, 0.02707485854625702, -0.03675801679491997, 0.013819715939462185, 0.055833399295806885, 0.001264103571884334, -0.02129938080906868, 0.007473660632967949, 0.012585789896547794, 0.004971250891685486, 0.02592373453080654, 0.04624638706445694, -0.007296160329133272, -0.0101172449067235, -0.07709065079689026, -0.054560575634241104, -0.015438650734722614, -0.052007727324962616, -0.05084723234176636, -0.003580650081858039, -0.035833608359098434, 0.01622960716485977, 0.06326063722372055, 0.016787052154541016, -0.014209765940904617, 0.05271307751536369, 0.02204403653740883, -0.037056855857372284, -0.030158527195453644, 0.09520632028579712, 0.033518362790346146, 0.011768135242164135 ]
[ 0.0021050991490483284, 0.05958544462919235, -0.014970969408750534, 0.014417910948395729, -0.020924076437950134, -0.002963731763884425, -0.028396598994731903, 0.010653397999703884, 0.010068906471133232, -0.02549087442457676, -0.02151338756084442, -0.042341917753219604, 0.01441011019051075, -0.013024118728935719, 0.023228604346513748, -0.004602510016411543, -0.006799282506108284, 0.018296126276254654, 0.02653079852461815, -0.012952137738466263, 0.001386188087053597, 0.03636331111192703, 0.009032434783875942, 0.01486024260520935, -0.016595914959907532, 0.048764992505311966, -0.054113440215587616, 0.026300590485334396, 0.021794093772768974, -0.11555059254169464, -0.011389942839741707, -0.015546823851764202, 0.0036180324386805296, -0.0016673097852617502, 0.02115088701248169, -0.01181061565876007, 0.002984333550557494, 0.03490157797932625, -0.007153250742703676, 0.03152354061603546, 0.007350186351686716, -0.020289205014705658, -0.004548111464828253, -0.003961385693401098, 0.012905196286737919, -0.021971067413687706, -0.008762910030782223, -0.028485599905252457, -0.012551428750157356, 0.02373831905424595, -0.029949592426419258, 0.010260075330734253, -0.0450776070356369, 0.010734117589890957, 0.03595609590411186, -0.017718976363539696, -0.017744310200214386, 0.008881811983883381, -0.012323560193181038, -0.08015144616365433, 0.015025016851723194, 0.01948784664273262, -0.03588251769542694, -0.03312133252620697, -0.023151345551013947, 0.010148728266358376, -0.03935671225190163, -0.0009875440737232566, 0.01177169755101204, 0.009804603643715382, -0.03321952745318413, -0.02551351487636566, -0.024155668914318085, -0.04239217936992645, 0.0027321132365614176, 0.028078000992536545, 0.03432263061404228, -0.028198162093758583, -0.028125926852226257, -0.004505529534071684, -0.008943624794483185, 0.0025944558437913656, -0.0016725281020626426, 0.011453647166490555, -0.025687871500849724, -0.0036069867201149464, 0.02589859627187252, 0.04199874773621559, 0.022771961987018585, -0.008363498374819756, -0.02628602832555771, -0.016067223623394966, -0.0034591108560562134, -0.004727596417069435, -0.06099357083439827, 0.0007537821657024324, -0.07041420787572861, -0.0005799139034934342, -0.01834319718182087, 0.8405623435974121, -0.0005816515767946839, -0.0025898211169987917, -0.0008844826370477676, 0.009028016589581966, -0.034611523151397705, 0.025751745328307152, 0.0040312353521585464, 0.016601640731096268, 0.0035173199139535427, -0.07483845949172974, 0.0015128678642213345, 0.006630931049585342, 0.03461075946688652, 0.006815154105424881, 0.030674058943986893, 0.023793945088982582, 0.008202321827411652, -0.008124332875013351, -0.015427072532474995, 0.02043282426893711, 0.029891667887568474, -0.004179837182164192, 0.02872500941157341, 0.03485455363988876, 0.029147576540708542, -0.17462149262428284, 0.026572026312351227, -7.27231702421701e-33, 0.012617086991667747, -0.01277914922684431, 0.045359231531620026, -0.01195017620921135, 0.03561864048242569, -0.011377780698239803, 0.037615858018398285, 0.01458522118628025, 0.008929204195737839, -0.0003128676034975797, 0.022601952776312828, -0.005249750334769487, -0.013561902567744255, -0.005703384522348642, 0.01681262068450451, -0.0382985882461071, 0.007222993765026331, 0.016875339671969414, -0.02548743225634098, -0.010513185523450375, 0.02958059497177601, 0.017759272828698158, 0.015334151685237885, 0.014929653145372868, 0.052544932812452316, 0.005395909305661917, 0.023937799036502838, 0.024504289031028748, -0.02455017901957035, -0.039646074175834656, -0.058997441083192825, 0.028906194493174553, 0.0025173104368150234, -0.019693497568368912, 0.02394835650920868, -0.04099716991186142, -0.02146875485777855, 0.00313630816526711, -0.02096165530383587, -0.029994720593094826, -0.0489107184112072, 0.02127591334283352, -0.013254942372441292, -0.019440239295363426, -0.034231189638376236, -0.030841754749417305, -0.02229403331875801, 0.049039192497730255, 0.01208078395575285, 0.006790149956941605, 0.027032850310206413, 0.004965508356690407, -0.0021825230214744806, 0.006506757810711861, 0.014523099176585674, 0.0030229142867028713, 0.017110994085669518, 0.010104513727128506, -0.030575662851333618, 0.017077982425689697, -0.033188313245773315, -0.021308762952685356, -0.001620848081074655, 0.04108260199427605, 0.018254214897751808, 0.02584199234843254, 0.014785481616854668, 0.05494662746787071, 0.01972498930990696, 0.016723331063985825, -0.04920056089758873, 0.02626088075339794, 0.0029678819701075554, -0.024485427886247635, 0.05112689733505249, -0.025015994906425476, -0.01769796945154667, 0.025981342419981956, -0.0007952699670568109, 0.04542456194758415, 0.005374574102461338, -0.004872092045843601, 0.021095069125294685, -0.04137307405471802, -0.017962021753191948, -0.009798192419111729, 0.020650865510106087, 0.027816666290163994, -0.010520574636757374, 0.019394487142562866, 0.021284358575940132, 0.013793138787150383, 0.012519537471234798, -0.012472051195800304, -0.024737484753131866, 7.944237676670692e-33, -0.05165472626686096, -0.013904289342463017, -0.03833523020148277, -0.015876922756433487, 0.005527358036488295, -0.03067867085337639, 0.010525217279791832, -0.003089739242568612, -0.011614469811320305, 0.05012410506606102, -0.022473791614174843, -0.016316652297973633, -0.019196148961782455, 0.0026106166187673807, 0.033792223781347275, -0.009518643841147423, 0.029856344684958458, -0.03367988020181656, 0.024658679962158203, 0.002407344523817301, 0.010733279399573803, -0.019771043211221695, -0.009881535544991493, 0.009812816977500916, 0.008360990323126316, 0.05316392332315445, -0.015294586308300495, 0.016162049025297165, 0.003353328909724951, -0.0072712660767138, -0.0012157867895439267, -0.02285899966955185, -0.00593908503651619, -0.04897576943039894, -0.02359246462583542, 0.030013307929039, 0.004000077955424786, 0.0382954441010952, 0.0008928616880439222, -0.014134839177131653, 0.025781972333788872, -0.002164757577702403, 0.002594072837382555, -0.0011890993919223547, 0.005870549473911524, 0.020187439396977425, 0.018684815615415573, -0.03587842360138893, -0.026069195941090584, 0.027163570746779442, 0.0030593920964747667, 0.030607428401708603, -0.009771596640348434, 0.023127486929297447, -0.019880155101418495, -0.00919051468372345, 0.0015116274589672685, 0.007483172230422497, -0.0497138686478138, 0.032690949738025665, 0.010554715059697628, 0.02955441363155842, 0.0060516721569001675, 0.038280025124549866, -0.016181305050849915, -0.015128005295991898, -0.05162016302347183, -0.04711322486400604, -0.01055951602756977, 0.015817366540431976, -0.009151252917945385, -0.008315992541611195, -0.014622419141232967, 0.06174389645457268, -0.004619454964995384, -0.026872698217630386, -0.025967877358198166, 0.0035979878157377243, -0.019958985969424248, 0.050209905952215195, 0.011679884977638721, -0.0145111670717597, 0.009365624748170376, 0.01478482037782669, -0.02469998225569725, -0.015159029513597488, -0.016107460483908653, 0.01773630827665329, 0.042847175151109695, -0.0338008850812912, 0.003388206008821726, -0.011844560503959656, -0.03990963473916054, 0.023545432835817337, -0.03402479365468025, -1.3033110590754404e-8, -0.03782423213124275, -0.004176774062216282, -0.024106211960315704, 0.036196060478687286, -0.01142255961894989, 0.020774435251951218, -0.009822044521570206, 0.02296404354274273, -0.016830705106258392, -0.018879879266023636, 0.07116397470235825, -0.02771897055208683, 0.0010358064901083708, 0.010952538810670376, 0.011224101297557354, -0.07863868772983551, 0.03519975394010544, -0.005649737548083067, 0.03835440054535866, -0.041425175964832306, 0.008615925908088684, 0.06227240338921547, 0.0015157231828197837, 0.0015562777407467365, 0.010647987946867943, -0.012426122091710567, -0.007630961947143078, -0.05190194398164749, -0.009661667048931122, 0.018191177397966385, 0.03888804465532303, -0.021165629848837852, -0.02231418900191784, 0.0165614765137434, -0.02778979204595089, -0.033780504018068314, 0.02470872551202774, 0.03550688177347183, 0.009625105187296867, 0.00955425389111042, 0.008752706460654736, 0.019597221165895462, -0.008965099230408669, -0.01960543543100357, 0.018770840018987656, 0.017718913033604622, -0.0016744850436225533, -0.004735155496746302, 0.02672683820128441, -0.06297527998685837, 0.039499856531620026, -0.021913697943091393, 0.008784796111285686, -0.00372847868129611, 0.04648374021053314, 0.006372501607984304, 0.02987702190876007, -0.033297352492809296, -0.025055648759007454, -0.0013561509549617767, 0.022339094430208206, 0.0068867402151227, 0.017184076830744743, -0.009551383554935455 ]
f-parsing-cruise-build-data
https://markhneedham.com/blog/2009/07/08/f-parsing-cruise-build-data
false
2009-07-06 00:43:40
Brownfield Application Development in .NET: Book Review
[ "net", "books", "manning", "book-review" ]
[ "Books" ]
== The Book http://manning.com/baley/[Brownfield Application Development in .NET] by Kyle Baley and Donald Belcham == The Review I asked to be sent this book to review by Manning as I was quite intrigued to see how well it would complement Michael Feather's http://www.amazon.co.uk/Working-Effectively-Legacy-Robert-Martin/dp/0131177052/ref=sr_1_1?ie=UTF8&s=books&qid=1246755805&sr=8-1[Working Effectively with Legacy Code], the other book I'm aware of which covers approaches to dealing with non green field applications. == What did I learn? * The authors provide a brief description of the two different approaches to unit testing - state based and behaviour based - I'm currently in favour of the latter approach and http://martinfowler.com/articles/mocksArentStubs.html[Martin Fowler has a well known article] which covers pretty much anything you'd want to know about this topic area. * I really like the section of the book which talks about 'Zero Defect Count', whereby the *highest priority should be to fix any defects* that are found in work done previously rather than racing ahead onto the next new piece of functionality: + ____ Developers are geared towards driving to work on, and complete, new features and tasks. The result is that defect resolution subconsciously takes a back seat in a developer's mind. ____ + I think this is quite difficult to achieve when the team is getting pressure to complete new features but then again it will take longer to fix defects if we leave them until later since we need to regain the context around them which is more fresh in our mind the earlier we fix them. * Another cool idea is that of *time boxing efforts at fixing technical debt* in the code base - that way we spend a certain amount of time fixing one area and when the time's up we stop. I think this will work well as an approach as often when trying to fix code we can either get into the mindset of not fixing anything at all because it will take too long to do so or ending up http://sethgodin.typepad.com/seths_blog/2005/03/dont_shave_that.html[shaving the yak] in an attempt to fix a particularly problematic area of code. * I like the definition of abstraction that the authors give: + ____ From the perspective of object- oriented programming, it is the method in which we simplify a complex "`thing`", like an object, a set of objects, or a set of services. ____ + I often end up over complicating code in an attempt to create 'abstractions' but by this definition I'm not really abstracting since I'm not simplifying but complicating! This seems like a useful definition to keep in mind when looking to make changes to code. * Maintainability of code is something which is seriously undervalued - I think it's very important to write your code in http://www.markhneedham.com/blog/2009/03/18/coding-make-it-obvious/[such a way that the next person who works with it can actually understand what's going on]. The authors have a fantastic quote from Perl Best Practices: + ____ Always code as if the guy who ends up maintaining your code is a violent psychopath who knows where you live. ____ + Writing code that is easy for the next person to understand is much harder than I would expect it to be although on teams which pair programmed frequently I've found the code easier to understand. I recently read a blog post by Jaibeer Malik where he claims that it is http://jaibeermalik.wordpress.com/2009/04/12/code-quality-learn-measure-and-organize-awareness/[harder to read code than to write code] which I think is certainly true in some cases. * There is a discussion of some of the design patterns and http://www.markhneedham.com/blog/2008/08/16/naming-the-patterns-we-use-in-code/[whether or not we should explicitly call out their use in our code], the suggestion being that we should only do so if it makes our intent clearer. * While describing out how to refactor some code to loosen its dependencies it's pointed out that *when the responsibilities of a class are a bit fuzzy the name of the class will probably be quite fuzzy too* - it seems like this would server as quite a useful indicator for refactoring code to the http://www.objectmentor.com/resources/articles/srp.pdf[single responsibility principle]. The authors also suggest trying not to append the suffix 'Service' to classes since it tends to be a very overloaded term and a lot of the time doesn't add much value to our code. * It is constantly pointed out how important it is to do refactoring in small steps so that we don't break the rest of our code and to allow us to get rapid feedback on whether the refactoring is actually working or not. This is something that we've http://www.markhneedham.com/blog/2009/05/15/coding-dojo-14-rock-scissors-paper-tdd-as-if-you-meant-it/[practiced in coding dojos] and Kent mentions it as being http://www.infoq.com/presentations/responsive-design[one of his tools when dealing with code] - I've certainly found that the overall time is much less when doing small step refactorings than trying to do everything in one go. I'm quite interested in trying out an idea called 'http://manicprogrammer.com/cs/blogs/heynemann/archive/2008/11/13/bowling-scorecards-great-agile-practice.aspx[Bowling Scorecards]' which my former colleague Bernardo Heynemann wrote about - the idea to have a card which has a certain number of squares, each square reprsenting a task that needs to be done. These are then crossed off as members of the team do them. * An interesting point which is made when talking about how to refactor data access code is to try and make sure that we are *getting all the data from a single entry point* - this is something which I noticed on a recent project where we were cluttering the controller with two calls to different repositories to retrieve some data when it probably could have been encapsulated into a single call. * Although they are talking specifically about *poor encapsulation* in data access layers, I think the following section about this applies to anywhere in our code base where we expose the inner workings of classes by failing to encapsulate properly: + ____ Poor encapsulation will lead to the code changes requiring what is known as the Shotgun Effect. Instead of being able to make one change, the code will require you to make changes in a number of scattered places, similar to how the pellets of a shotgun hit a target. The cost of performing this type of change quickly becomes prohibitive and you will see developers pushing to not have to make changes where this will occur. ____ * The creation of an http://ibuilthiscage.com/2008/09/21/anatomy-of-an-anti-corruption-layer-part-1/[anti corruption layer] to shield us from 3rd party dependency changes is suggested and I think this is absolutely vital otherwise whenever there is a change in the 3rd party code our code breaks all over the place. The authors also adeptly point out: + ____ The reality is that when you rely on another company's web service, you are ultimately at their mercy. It's the nature of third-party dependencies. You don't have control over them. ____ + Even if we do recognise that we are http://www.markhneedham.com/blog/2009/07/04/domain-driven-design-conformist/[completely reliant on a 3rd party service for our model] I think there is still a need for an anti corruption layer even if it is very thin to protect us from changes. The authors also describe run time and compile time 3rd party dependencies - I think it's *preferable if we can have compile time dependencies since this gives us much quicker feedback* and this is an approach we used on a recent project I worked on by making use of generated classes to interact with a SOAP service rather than using WCF message attributes which only provided us feedback at runtime. </ul> + == In Summary + This book starts off with the very basics of any software development project covering things such as version control, continuous integration servers, automated testing and so on but it gets into some quite interesting areas later on which I think are applicable to any project and not necessarily just 'brownfield' ones. There is a lot of useful advice about making use of abstractions to protect the code against change both from internal and external dependencies and I particularly like the fact that the are code examples showing the progression of the code through each of the refactoring ideas suggested by the authors. Definitely worth reading although if you've been working on any type of agile projects then you're probably better off skim reading the first half of the book but paying more attention to the second half.
null
null
[ 0.01731545850634575, 0.016941022127866745, -0.011422461830079556, 0.02264697104692459, 0.08990185707807541, 0.015663105994462967, 0.022557273507118225, 0.03301123157143593, 0.005547570530325174, -0.02564201131463051, -0.017208507284522057, 0.004088410176336765, -0.06639338284730911, 0.007372664753347635, -0.0529862679541111, 0.08641709387302399, 0.08047130703926086, -0.00638577900826931, 0.02034350484609604, 0.001416785758920014, 0.029990574344992638, 0.07359199970960617, 0.009465779177844524, 0.044363833963871, 0.01600508764386177, 0.018026797100901604, 0.01582161709666252, -0.011817880906164646, -0.054242171347141266, -0.010985314846038818, 0.04324069619178772, -0.010811401531100273, 0.014399331994354725, -0.006375954486429691, 0.001728774281218648, -0.029161972925066948, -0.03553157299757004, 0.029156498610973358, 0.0005326278624124825, 0.017493119463324547, -0.061150308698415756, 0.031010065227746964, -0.008180209435522556, 0.022052008658647537, -0.04693525284528732, 0.012994521297514439, -0.03453880921006203, 0.010118427686393261, 0.003736585145816207, -0.006899042520672083, -0.05079779028892517, 0.04084558039903641, -0.03524606674909592, -0.005523650906980038, -0.014159423299133778, 0.06380125880241394, 0.028114115819334984, -0.05080273374915123, 0.016106722876429558, -0.04467414692044258, -0.004539483692497015, -0.005580202676355839, 0.013317149132490158, 0.03551808372139931, 0.02691754326224327, -0.022106513381004333, -0.004503537900745869, 0.04664279893040657, -0.03729303181171417, 0.001342796254903078, -0.012908538803458214, 0.009253405034542084, -0.005661552771925926, -0.008768927305936813, 0.020700696855783463, -0.03409986570477486, -0.0024576238356530666, 0.07734368741512299, 0.0244461502879858, 0.055946338921785355, -0.01417116541415453, 0.021466976031661034, 0.01993589475750923, 0.015710121020674706, -0.017895733937621117, -0.03626011312007904, -0.005724851042032242, -0.020593661814928055, -0.06444289535284042, 0.06946979463100433, 0.028413021937012672, -0.05405297130346298, 0.026997894048690796, 0.04657698795199394, 0.000027618545573204756, 0.01658044196665287, 0.04239576309919357, 0.005835707299411297, 0.004367923364043236, -0.014041430316865444, -0.024673616513609886, -0.018464773893356323, 0.0036805712152272463, 0.008955543860793114, -0.07616205513477325, -0.015909450128674507, -0.029618702828884125, -0.014484361745417118, -0.012481295503675938, 0.0031934052240103483, -0.02568971738219261, 0.03493402525782585, -0.02520878240466118, 0.00525531405583024, -0.0854753851890564, 0.06113792583346367, -0.019419072195887566, -0.04468982294201851, -0.000710478110704571, 0.03191934525966644, 0.05452205240726471, 0.039540085941553116, -0.014872530475258827, 0.08509743958711624, 0.007845503278076649, 0.017483042553067207, -0.02065066434442997, 0.04767528548836708, -0.022359630092978477, -0.04646680876612663, -0.009469682350754738, 0.06080282852053642, -0.0475512370467186, 0.0029460438527166843, 0.008975543081760406, -0.023756133392453194, -0.009387779980897903, 0.010414903052151203, 0.023411722853779793, 0.040078211575746536, -0.006632652133703232, -0.039879873394966125, 0.014544055797159672, 0.008179155178368092, 0.02252962999045849, 0.012921090237796307, -0.003042772179469466, -0.02522776648402214, -0.028620446100831032, 0.0116875683888793, 0.018128836527466774, 0.04048322141170502, 0.02184467390179634, -0.04273589327931404, 0.0181193295866251, 0.09066186100244522, 0.023622779175639153, 0.0168784037232399, -0.012580186128616333, 0.02698410488665104, 0.04586821794509888, 0.044392023235559464, 0.027571912854909897, 0.028161104768514633, 0.016956033185124397, -0.001774407341144979, 0.00557677960023284, 0.04571591317653656, 0.009926602244377136, 0.012366385199129581, -0.05013790726661682, -0.04427052289247513, 0.0645698830485344, -0.05857634171843529, -0.02280454710125923, 0.04461722820997238, 0.07924210280179977, 0.018490441143512726, 0.0346524640917778, -0.002620269078761339, -0.08065889775753021, 0.0246499702334404, 0.03723398968577385, 0.011424492113292217, 0.006035664118826389, -0.03370971605181694, 0.07327748835086823, 0.010039296001195908, 0.030949190258979797, 0.031635161489248276, -0.0780213251709938, -0.08306379616260529, -0.007487728726118803, -0.02389516867697239, 0.07573877274990082, -0.0257951021194458, -0.0022037287708371878, 0.0640023872256279, 0.012062985450029373, 0.06568469107151031, 0.037599120289087296, -0.00348550989292562, -0.011338366195559502, -0.05346309021115303, -0.05534224584698677, 0.053956132382154465, 0.05215110629796982, 0.010432599112391472, -0.04329163581132889, 0.016128718852996826, 0.0004010247066617012, -0.0018029067432507873, 0.03885246813297272, -0.021650046110153198, 0.03428537771105766, 0.00550511758774519, 0.047543980181217194, -0.03210592642426491, 0.050603289157152176, -0.06444504857063293, 0.0061255646869540215, 0.00336881703697145, -0.029214033856987953, 0.010864845477044582, 0.0007861224003136158, 0.09754910320043564, 0.06752859055995941, -0.065651535987854, -0.028788018971681595, 0.004877320025116205, 0.013518549501895905, -0.03970934823155403, -0.02121436782181263, -0.01229081116616726, 0.007309085223823786, -0.022849131375551224, -0.05983211472630501, -0.027552878484129906, 0.016325706616044044, -0.03332352638244629, 0.0007799482555128634, 0.05760878324508667, -0.01615501381456852, 0.05986412614583969, 0.004137396812438965, -0.019031796604394913, -0.014790172688663006, -0.0189646128565073, -0.07223881781101227, 0.00815341155976057, 0.003697036998346448, -0.020425070077180862, 0.05627121031284332, -0.02656974457204342, -0.02765810489654541, -0.03688881918787956, -0.04815362021327019, 0.0383765771985054, 0.0377877913415432, 0.06002083420753479, -0.022883690893650055, 0.05328848958015442, -0.014297453686594963, 0.018605783581733704, 0.00911201722919941, -0.04440464824438095, -0.03628440201282501, -0.031723521649837494, 0.013084285892546177, 0.024472301825881004, -0.008767783641815186, 0.03761919587850571, 0.015443727374076843, -0.008848349563777447, 0.0010912989964708686, -0.03188958764076233, 0.05788141489028931, -0.012740273959934711, -0.010794108733534813, -0.022163938730955124, -0.033059440553188324, 0.0467643067240715, -0.05665494501590729, -0.03875906765460968, 0.011611503548920155, -0.08323109894990921, 0.04734143987298012, -0.06113298982381821, -0.04336943477392197, 0.005977987311780453, 0.017387941479682922, 0.03435131907463074, 0.01493225060403347, 0.03419732674956322, 0.08529592305421829, 0.016670405864715576, -0.0029614868108183146, -0.0027580042369663715, 0.007697927299886942, 0.017463283613324165, 0.012809296138584614, 0.001906568300910294, 0.018927210941910744, 0.004470634739845991, -0.0006097484729252756, -0.058448534458875656, 0.014136625453829765, -0.028060022741556168, -0.27224478125572205, 0.04649979993700981, 0.0054502044804394245, -0.05263356491923332, 0.023461181670427322, 0.00859701819717884, 0.0061594597063958645, -0.04433692246675491, -0.02170521579682827, 0.02148752473294735, -0.031958356499671936, -0.060064736753702164, -0.010513381101191044, 0.050764381885528564, 0.007595808710902929, 0.02684210054576397, 0.04245704039931297, -0.03630104288458824, -0.021532092243433, 0.049819447100162506, -0.01715194433927536, -0.08019718527793884, 0.0038393449503928423, 0.02496223710477352, 0.03945622593164444, 0.0674593523144722, -0.08817294985055923, 0.03682158142328262, -0.053159262984991074, -0.004503691103309393, 0.006775848101824522, -0.0005543291918002069, 0.0011873008916154504, -0.023191532120108604, -0.03762566298246384, -0.01765231415629387, 0.022623416036367416, 0.01556639838963747, -0.0075739119201898575, 0.01158275455236435, -0.01292642205953598, -0.010785027407109737, -0.016940532252192497, 0.009392385371029377, 0.08355598896741867, -0.01009205263108015, -0.10458899289369583, -0.013971447944641113, -0.018599582836031914, 0.07524605840444565, -0.037532322108745575, -0.023056119680404663, -0.004296679515391588, 0.044469088315963745, -0.0023827822878956795, -0.030671581625938416, 0.0018825626466423273, -0.02034050226211548, -0.03331451490521431, -0.025021715089678764, -0.019880279898643494, -0.028365669772028923, -0.019217880442738533, -0.03204651176929474, 0.004179396666586399, -0.06746918708086014, -0.06753087788820267, -0.03528826683759689, 0.08535506576299667, 0.016948262229561806, -0.05061547830700874, 0.0185406394302845, -0.0016585735138505697, -0.10253692418336868, -0.02096329629421234, -0.019269997254014015, -0.0333428792655468, -0.00440108310431242, 0.008644000627100468, 0.04938831552863121, -0.041323572397232056, -0.057210519909858704, 0.030259663239121437, 0.014098906889557838, 0.017190231010317802, -0.01438253466039896, 0.013668927364051342, 0.017973247915506363, -0.019538089632987976, 0.011154575273394585, 0.08047503978013992, 0.00015757407527416945, -0.003537195734679699, -0.046513836830854416, 0.027289092540740967, -0.0031924517825245857, 0.030391456559300423, -0.004795958288013935, 0.007744137197732925, 0.045803315937519073, 0.00540569331496954, -0.07014915347099304, 0.04097449406981468, -0.03387325629591942, -0.011605709791183472, -0.018094878643751144, -0.04977181926369667, 0.019370224326848984, 0.04291435331106186, 0.03188573196530342, -0.00762777728959918, -0.04351019114255905, 0.010698361322283745, -0.044779445976018906, -0.040283460170030594, -0.025062602013349533, 0.031174100935459137, 0.03978705033659935, -0.02411058358848095, -0.008445043116807938, -0.037899523973464966, 0.010936923325061798, -0.013660472817718983, -0.0229958388954401, -0.05037784203886986, -0.03259729966521263, -0.021392518654465675, 0.0019656745716929436, 0.022131577134132385, 0.01298941858112812, -0.018414339050650597, 0.042949218302965164, 0.002194217639043927, -0.034440528601408005, 0.006054356228560209, -0.030575314536690712, -0.042421650141477585, -0.03734378144145012, 0.0010863147908821702, 0.007022175006568432, 0.009379804134368896, 0.01625329814851284, 0.0002632244722917676, 0.018725993111729622, 0.04118875786662102, 0.014381610788404942, 0.0439918078482151, -0.015698108822107315, 0.030975069850683212, 0.006776929367333651, -0.004887542221695185, -0.07018089294433594, 0.03473531827330589, -0.06219661235809326, -0.057658255100250244, -0.014559751376509666, 0.037633225321769714, -0.0273213442414999, -0.03481043130159378, -0.012471098452806473, 0.01335279829800129, -0.0526496022939682, -0.040541134774684906, -0.025884384289383888, 0.013115091249346733, 0.057057373225688934, -0.010261403396725655, 0.028625383973121643, -0.028552623465657234, -0.008853113278746605, 0.004325419198721647, 0.013692975975573063, -0.05432717502117157, -0.0011192923411726952, 0.008165581151843071, 0.015531866811215878, -0.002563409972935915, -0.0078663295134902, 0.05350906774401665, 0.02185698412358761, 0.001002393546514213, -0.01218615472316742, -0.0012144317151978612, 0.019672947004437447, 0.038337502628564835, -0.00805725995451212, 0.004030798561871052, -0.00042898592073470354, -0.033163949847221375, -0.029318397864699364, -0.02386617101728916, -0.025858845561742783, 0.016327422112226486, 0.02338867262005806, -0.04024578630924225, -0.07474684715270996, 0.04227007180452347, 0.018044276162981987, 0.004702400416135788, 0.022578533738851547, 0.002289682161062956, 0.004211604129523039, -0.041676782071590424, 0.03307861462235451, 0.051533978432416916, -0.06555557250976562, 0.01608370430767536, -0.008345367386937141, 0.005786162801086903, 0.013974199071526527, -0.0027670657727867365, -0.04133129492402077, -0.03446871042251587, -0.02359294518828392, 0.007382613141089678, -0.06645295023918152, -0.017977001145482063, -0.010478963144123554, 0.0050291274674236774, -0.013830717653036118, -0.021406948566436768, -0.01653459295630455, -0.006773084402084351, -0.020477579906582832, -0.03317084535956383, 0.01887703686952591, -0.021217897534370422, 0.0074103716760873795, 0.009081455878913403, -0.0418701246380806, 0.003545220708474517, -0.03838922455906868, 0.020896589383482933, 0.027523988857865334, -0.019730094820261, -0.014662964269518852, -0.0434272363781929, -0.0013107254635542631, -0.0028367883060127497, 0.0340496301651001, -0.01185668259859085, -0.029463613405823708, -0.029733702540397644, -0.014543252997100353, -0.04221716523170471, 0.006296322215348482, -0.00778738921508193, -0.012518871575593948, 0.022745516151189804, 0.07376627624034882, 0.01893593743443489, 0.02512863092124462, -0.021633608266711235, -0.005284596234560013, 0.05491488426923752, -0.076466865837574, -0.014754094183444977, -0.024658599868416786, -0.05429878458380699, 0.010832075960934162, 0.006962562911212444, 0.03288271278142929, -0.04557168111205101, 0.034365709871053696, 0.03591994196176529, 0.023525867611169815, 0.03798643872141838, -0.008192219771444798, 0.037876155227422714, -0.05248744413256645, 0.0135765066370368, -0.08586987853050232, 0.013782993890345097, 0.03813205286860466, 0.0017132055945694447, 0.0008212521206587553, 0.009345644153654575, -0.03849262371659279, 0.04016784578561783, -0.07617854326963425, -0.035670120269060135, 0.034483909606933594, -0.00010554728942224756, -0.000991121749393642, 0.025966402143239975, -0.06745106726884842, 0.03596235811710358, 0.024370411410927773, -0.0381932333111763, -0.03294568136334419, -0.02822604589164257, 0.05773742124438286, 0.0042379554361104965, 0.03066163882613182, -0.03083069436252117, -0.014247631654143333, 0.04628617689013481, 0.0235835462808609, 0.02674536593258381, 0.04299107566475868, -0.00990001205354929, 0.047263238579034805, 0.03169994801282883, 0.009120681323111057, 0.0040733953937888145, 0.021624749526381493, -0.009462296031415462, -0.05723810940980911, 0.022379716858267784, -0.009657504968345165, -0.03686601668596268, -0.04256916791200638, 0.06060266122221947, 0.02604939043521881, -0.010877130553126335, -0.05106692016124725, -0.0037293676286935806, -0.05852220579981804, -0.013573670759797096, -0.021100422367453575, 0.0022067255340516567, -0.03340186923742294, 0.052948661148548126, 0.008596566505730152, 0.003259856253862381, 0.06991611421108246, -0.015286865644156933, -0.02643005922436714, -0.016648055985569954, 0.0911664292216301, 0.07478045672178268, 0.04309610277414322, 0.017586763948202133, 0.056443262845277786, -0.0017592652002349496, -0.04493982717394829, 0.027288226410746574, -0.008045348338782787, -0.021687934175133705, -0.030427081510424614, 0.00849574338644743, 0.06164475530385971, 0.007882623001933098, 0.06048552319407463, -0.026221051812171936, 0.002529986435547471, 0.003991051111370325, 0.02655073069036007, 0.009287586435675621, 0.07004084438085556, 0.007553504314273596, 0.019038749858736992, -0.007736628875136375, -0.04337555170059204, 0.03173436224460602, -0.035891007632017136, -0.022264234721660614, 0.02058158628642559, 0.0006436737021431327, 0.014840595424175262, 0.0054553197696805, 0.02308354154229164, 0.08086228370666504, -0.025833414867520332, 0.02144557796418667, -0.005776981823146343, 0.0319034680724144, 0.007115964777767658, 0.01505486760288477, -0.03716028109192848, -0.027062896639108658, -0.01151085551828146, -0.009363612160086632, -0.010352285578846931, -0.01432037353515625, -0.023571718484163284, 0.050956785678863525, -0.024381283670663834, -0.009193961508572102, 0.030594591051340103, 0.013131564483046532, -0.0323532335460186, -0.05951109901070595, -0.05481412634253502, -0.029580041766166687, -0.05085885152220726, -0.02060474269092083, 0.009021487087011337, -0.012330908328294754, -0.03452345356345177, -0.02395266853272915, -0.033405646681785583, -0.04537295550107956, 0.04576588794589043, -0.04710383340716362, -0.033951133489608765, 0.018892640247941017, 0.021391216665506363, 0.02971382811665535, 0.027177035808563232, 0.05296481400728226, -0.0009840952698141336, -0.010141830891370773, -0.0056936247274279594, 0.00017631515220273286, 0.02691074274480343, -0.001919016009196639, 0.021485529839992523, -0.08422547578811646, 0.028243036940693855, 0.036073606461286545, 0.0018687527626752853, -0.06888726353645325, 0.03843184560537338, 0.0048912870697677135, -0.03093092329800129, 0.04192375764250755, -0.027934005483984947, 0.01131445448845625, -0.027614938095211983, 0.017374312505126, -0.016971634700894356, 0.015101518481969833, 0.04211080074310303, -0.018376370891928673, 0.08899945765733719, 0.02968418411910534, -0.006204232107847929, -0.0414227731525898, -0.0040861391462385654, -0.000928952475078404, 0.008276442065834999, -0.03250962495803833, -0.019909031689167023, -0.02563204988837242, -0.07636842876672745, 0.00048593594692647457, 0.014494047500193119, -0.02494928427040577, -0.0453115850687027, 0.021665576845407486, 0.01667799986898899, -0.03976627066731453, 0.017985347658395767, -0.0381990410387516, 0.02825177274644375, -0.028067834675312042, -0.011781597509980202, -0.0011934376088902354, 0.016454515978693962, 0.007638678420335054, 0.00992209929972887, 0.030598051846027374, -0.033839818090200424, 0.017357056960463524, -0.010190268978476524, 0.026742685586214066, 0.051129233092069626, 0.00709647499024868, -0.0020181669387966394 ]
[ -0.1250264048576355, -0.016676530241966248, 0.019307076930999756, -0.02637360244989395, 0.02885621227324009, -0.029747994616627693, -0.054023366421461105, 0.01760675199329853, -0.02053161710500717, -0.011531910859048367, 0.007962731644511223, -0.01373225450515747, -0.012355748564004898, 0.015453248284757137, 0.0656920000910759, 0.026852253824472427, -0.006802630610764027, -0.07543376088142395, 0.02274445816874504, 0.01656779833137989, 0.019081709906458855, -0.014073255471885204, -0.028383906930685043, -0.01524988655000925, -0.0014665002236142755, 0.03533058613538742, 0.028012005612254143, -0.03394234925508499, 0.01676703430712223, -0.1899006962776184, -0.0019908908288925886, 0.04876060038805008, 0.032277870923280716, -0.01034941803663969, 0.001720725791528821, 0.03663332760334015, 0.026741480454802513, -0.0008593126549385488, -0.011717240326106548, 0.04067779704928398, 0.03444739803671837, 0.024072958156466484, -0.048203613609075546, -0.01611320860683918, 0.04778282344341278, -0.0007107495330274105, 0.013337400741875172, -0.041210614144802094, -0.012371307238936424, -0.004540908150374889, -0.0721033439040184, -0.020701680332422256, -0.03832085430622101, -0.023189084604382515, -0.007361091673374176, 0.01695672795176506, 0.0396842435002327, 0.08773376047611237, -0.000803574628662318, 0.013790137134492397, 0.03701114282011986, -0.022816231474280357, -0.11748220771551132, 0.07064501941204071, 0.08937971293926239, 0.04455680027604103, -0.020072154700756073, -0.04711664468050003, -0.0014506281586363912, 0.07978163659572601, 0.01147159282118082, -0.02119169384241104, -0.008462394587695599, 0.043774958699941635, 0.0023411649744957685, 0.023218616843223572, 0.01788552850484848, -0.00015294429613277316, 0.015231363475322723, -0.05005363002419472, -0.017641281709074974, -0.010820862837135792, -0.01996574178338051, -0.020039839670062065, -0.042151518166065216, 0.011730600148439407, -0.017415808513760567, 0.06480254232883453, 0.02880854904651642, 0.053790848702192307, 0.06748861074447632, -0.01218677032738924, 0.07386287301778793, 0.0023213594686239958, -0.08395199477672577, -0.011757207103073597, -0.01643945276737213, 0.004264330957084894, -0.05235937982797623, 0.49159273505210876, -0.007295017130672932, -0.03246210888028145, 0.06116199493408203, 0.04023684561252594, -0.0022230218164622784, 0.009020368568599224, 0.03377066180109978, -0.04008762538433075, 0.008617514744400978, -0.026331089437007904, 0.022102518007159233, 0.02410062775015831, 0.08533084392547607, -0.04131840541958809, 0.0037767395842820406, 0.01370751578360796, 0.011161085218191147, 0.011703835800290108, 0.020673776045441628, -0.006553887855261564, -0.012097499333322048, 0.014554445631802082, 0.018320785835385323, 0.00729419244453311, -0.0069413017481565475, -0.06727265566587448, -0.008738791570067406, 0.05350992828607559, 0.0012420698767527938, 0.017649129033088684, 0.03829348087310791, -0.05617714673280716, -0.0592002347111702, -0.01507546752691269, 0.0009713286417536438, 0.016813483089208603, 0.006870584562420845, -0.01088874600827694, -0.0005748825496993959, 0.05519530177116394, -0.0033054868690669537, -0.010566250421106815, 0.0075922575779259205, -0.019477181136608124, -0.03503262251615524, 0.05834918096661568, 0.03671542555093765, -0.026551503688097, -0.015832234174013138, -0.03788250312209129, 0.016943302005529404, 0.024698523804545403, -0.002689772518351674, -0.05728641152381897, 0.02688475139439106, 0.007222065236419439, 0.08238569647073746, -0.027846399694681168, -0.05727560818195343, 0.008302241563796997, -0.0018779399106279016, -0.015820924192667007, -0.06217418238520622, 0.06569924205541611, 0.028568273410201073, -0.10986652970314026, -0.022345958277583122, -0.010870246216654778, 0.0029659694992005825, -0.047267407178878784, -0.013879992067813873, -0.00012996244186069816, -0.014632255770266056, -0.02057538740336895, 0.04801342263817787, -0.037712305784225464, -0.0299235712736845, 0.011180202476680279, 0.05362892523407936, 0.020971696823835373, 0.001367263263091445, 0.002672558417543769, -0.03183547779917717, -0.005626057740300894, -0.02146696299314499, -0.0936843529343605, -0.041198793798685074, -0.0011135553941130638, -0.02922084368765354, -0.012473100796341896, -0.051567282527685165, -0.02887009270489216, -0.09378723055124283, 0.0855984017252922, -0.01678742654621601, -0.04293450340628624, -0.00041586163570173085, -0.025938870385289192, -0.006594013422727585, -0.04660496860742569, -0.043889205902814865, 0.01232664380222559, -0.04218929260969162, 0.02193589322268963, -0.044592056423425674, 0.07275491952896118, 0.04422341287136078, -0.06267905980348587, 0.07119157165288925, 0.06715407222509384, -0.057806115597486496, -0.04780961945652962, 0.032568298280239105, 0.02755092643201351, 0.0042380900122225285, -0.015824677422642708, -0.003297872608527541, 0.018829520791769028, -0.006570481229573488, 0.03298822417855263, -0.01043802872300148, 0.0007619498064741492, -0.03868170455098152, -0.3212915062904358, -0.037751682102680206, -0.04850759357213974, -0.03163903206586838, 0.0052836136892437935, -0.048406291753053665, 0.01162708830088377, -0.010804606601595879, -0.017203450202941895, 0.02149662747979164, 0.08069918304681778, -0.03125934302806854, 0.025565948337316513, -0.0693325623869896, 0.00843458529561758, -0.014994313940405846, -0.03822650760412216, -0.018498890101909637, -0.052790701389312744, 0.0028112465515732765, 0.003818086115643382, -0.0017797838663682342, -0.009847239591181278, -0.04788200557231903, -0.02066129259765148, -0.053520623594522476, 0.06473379582166672, -0.0022122678346931934, 0.09974049031734467, -0.029505150392651558, 0.03445930406451225, 0.012908396311104298, 0.03779209777712822, -0.09448609501123428, 0.00764072360470891, 0.013304763473570347, 0.001153080491349101, -0.0043373918160796165, 0.0030562076717615128, -0.027816571295261383, -0.045403070747852325, 0.03362226486206055, -0.061153605580329895, -0.054598551243543625, -0.07064719498157501, 0.013204596936702728, -0.021117769181728363, -0.03612939268350601, -0.02418716438114643, 0.05758018046617508, 0.010572832077741623, -0.012064619921147823, 0.00450478307902813, 0.019669322296977043, 0.006325659807771444, -0.029274670407176018, -0.06505312770605087, 0.026649629697203636, 0.012096263468265533, -0.00406515970826149, 0.03596310690045357, 0.04832825809717178, 0.035976920276880264, -0.04771020635962486, 0.02360759861767292, 0.00047105856356211007, -0.00680483179166913, 0.007754724007099867, 0.052454009652137756, -0.020897841081023216, -0.001290602027438581, 0.07016360759735107, -0.0177853312343359, -0.012287184596061707, 0.008713745512068272, 0.03314885497093201, -0.0010649515315890312, 0.041020024567842484, 0.009559959173202515, -0.024115948006510735, 0.008349992334842682, -0.01501527801156044, 0.04934950917959213, -0.020800380036234856, -0.004174882546067238, 0.027735495939850807, -0.025001104921102524, -0.05007409676909447, 0.07269517332315445, 0.031648747622966766, -0.05350595712661743, 0.02069314941763878, -0.006003384944051504, -0.06726796925067902, 0.09189409017562866, 0.0010840552859008312, -0.22784090042114258, -0.016959771513938904, 0.08008599281311035, 0.04010087624192238, -0.02867997996509075, 0.032865140587091446, 0.04048272594809532, -0.05715436488389969, 0.017768464982509613, 0.01510618720203638, 0.015648923814296722, 0.020938793197274208, 0.012056839652359486, -0.02642032876610756, 0.048338066786527634, -0.021465986967086792, 0.05596572905778885, -0.02500089816749096, 0.01517010759562254, 0.0020783268846571445, 0.009474855847656727, 0.0015267200069501996, 0.14342473447322845, 0.012553279288113117, 0.02308093197643757, 0.020769700407981873, 0.019870664924383163, 0.026786917820572853, 0.06274816393852234, 0.015066933818161488, 0.01692218892276287, 0.018473926931619644, 0.023622293025255203, 0.007903056219220161, 0.00498982286080718, -0.06453970819711685, -0.02470616064965725, 0.03706669434905052, 0.01474381610751152, -0.005465223453938961, 0.019943570718169212, 0.013043408282101154, -0.02164301462471485, 0.05498436838388443, 0.06623943895101547, 0.010483626276254654, -0.021777288988232613, -0.008976997807621956, -0.04667280614376068, -0.013644219376146793, -0.03798660263419151, -0.03776970133185387, 0.01990027166903019, -0.01648792438209057, 0.023899856954813004, 0.09424105286598206, 0.02134152688086033, -0.02292216196656227, -0.011922945268452168, 0.013844303786754608, -0.004258033353835344, -0.025939693674445152, 0.13175494968891144, 0.03485279902815819, 0.03396051377058029 ]
[ -0.0005652257823385298, -0.00232920004054904, 0.010090493597090244, -0.03079928457736969, 0.000799494911916554, -0.017631128430366516, 0.00041084797703661025, 0.04277264326810837, 0.006281085778027773, 0.009569757618010044, -0.010522096417844296, -0.0005303351790644228, 0.030327433720231056, -0.024580582976341248, -0.00937221571803093, 0.019834468141198158, -0.025076311081647873, -0.007521721068769693, 0.022122720256447792, -0.027540631592273712, -0.039528243243694305, 0.03548453748226166, 0.005830712150782347, -0.025103075429797173, -0.046485789120197296, 0.03849920630455017, -0.007395291235297918, 0.012805024161934853, 0.03524481877684593, -0.13522674143314362, -0.036188773810863495, -0.0044228313490748405, -0.00048521909047849476, 0.014614328742027283, 0.016263244673609734, 0.00018550689856056124, 0.00977503415197134, -0.00434084702283144, -0.02177930250763893, -0.013642506673932076, -0.024279849603772163, 0.0005653645494021475, -0.007822473533451557, 0.015159521251916885, 0.013002773746848106, -0.0002290968841407448, 0.026326386258006096, -0.033965110778808594, 0.0022013122215867043, -0.040460653603076935, -0.008244654163718224, -0.00592482415959239, -0.0038608715403825045, 0.016354087740182877, 0.04328877851366997, 0.014840670861303806, 0.025816461071372032, -0.005040165968239307, -0.0038271232042461634, -0.014133983291685581, 0.014678644016385078, -0.019471056759357452, -0.01732560805976391, -0.02426695078611374, -0.006550634745508432, 0.03570133447647095, -0.035869624465703964, 0.006765718571841717, -0.04556969180703163, -0.0189659483730793, -0.02711976133286953, 0.01995951309800148, -0.03180763125419617, -0.027821220457553864, 0.028867341578006744, 0.04420454055070877, 0.006010768935084343, 0.02223881147801876, 0.029244082048535347, 0.006970745045691729, -0.061988040804862976, 0.013907846063375473, 0.03240141272544861, -0.02040286362171173, -0.011058156378567219, -0.009277665987610817, 0.007875176146626472, -0.016599074006080627, 0.04100263491272926, 0.02052883803844452, -0.0029280635062605143, 0.04541993886232376, -0.020474355667829514, 0.019643917679786682, -0.10061971098184586, -0.009812645614147186, -0.01482764258980751, -0.031131992116570473, 0.016232183203101158, 0.8537858724594116, 0.0052708834409713745, 0.010374493896961212, 0.01893877051770687, -0.0029040267691016197, -0.010440808720886707, 0.01689530350267887, -0.0049034589901566505, 0.017347456887364388, -0.0037216919008642435, -0.05887586250901222, 0.0287685077637434, 0.002230043988674879, -0.001805692445486784, 0.009980766102671623, 0.02102331630885601, 0.021251479163765907, 0.014065186493098736, 0.01019502617418766, -0.00806793849915266, 0.004797563888132572, 0.05269548296928406, 0.014106345362961292, -0.02391231805086136, -0.005869331769645214, -0.022900540381669998, -0.17349815368652344, -0.0029918879736214876, -9.087483074662139e-33, 0.060161761939525604, 0.006843112874776125, -0.010622012428939342, -0.016334891319274902, 0.016505414620041847, -0.014554166235029697, 0.0594019889831543, 0.05580874904990196, -0.003563614096492529, -0.03431980684399605, 0.016750628128647804, -0.020082153379917145, 0.004598596133291721, -0.05137533321976662, 0.04344725236296654, -0.015997588634490967, -0.026949409395456314, 0.020187444984912872, -0.009401705116033554, 0.02761666476726532, 0.03135151416063309, 0.01881403848528862, 0.000986843602731824, -0.017384041100740433, 0.03669896721839905, 0.015832534059882164, 0.0050649335607886314, -0.0010167056461796165, 0.013932655565440655, -0.03896787017583847, -0.03113827295601368, 0.055659256875514984, -0.001239297678694129, -0.009374368004500866, -0.02278047241270542, -0.03855360299348831, -0.029037628322839737, 0.01317357923835516, -0.005457041785120964, -0.016353724524378777, -0.028097987174987793, -0.009321972727775574, -0.04095736891031265, 0.005819455720484257, 0.029242172837257385, -0.02880006469786167, 0.022383801639080048, 0.01904168166220188, 0.019672123715281487, -0.03959044814109802, 0.0049634817987680435, 0.03215840086340904, 0.012717055156826973, 0.02117088809609413, -0.011680166237056255, 0.02486005425453186, 0.007696125190705061, -0.007967552170157433, -0.019511494785547256, -0.0029631282668560743, 0.01151109579950571, 0.0065500750206410885, -0.035839371383190155, 0.010781632736325264, -0.020320480689406395, 0.010675876401364803, -0.007521862164139748, 0.01047905907034874, 0.0015300795203074813, -0.016953781247138977, -0.05385700240731239, -0.0026446415577083826, -0.034770864993333817, -0.023788442835211754, -0.007415565196424723, -0.029483629390597343, 0.014108733274042606, 0.02271275967359543, -0.029067039489746094, 0.02818218059837818, -0.0013975086621940136, 0.022267213091254234, -0.02891230769455433, -0.04258592054247856, -0.009570869617164135, -0.00405654264613986, 0.023786822333931923, 0.01999407447874546, -0.004610584117472172, -0.00882755871862173, 0.02682451903820038, 0.0024947412312030792, -0.012227163650095463, -0.014539612457156181, -0.012115506455302238, 8.877580191223588e-33, -0.00967468786984682, -0.028290553018450737, -0.0343346931040287, 0.026592792943120003, 0.02632954902946949, -0.020765535533428192, 0.01890626549720764, -0.005616550799459219, -0.029500527307391167, 0.031812671571969986, -0.02424504980444908, 0.0036379697266966105, -0.05020296946167946, 0.027219122275710106, 0.014482696540653706, -0.053166478872299194, -0.006969054229557514, -0.017044954001903534, 0.019279461354017258, 0.028976310044527054, 0.04012959450483322, 0.019775575026869774, 0.0016337448032572865, -0.0003693759208545089, -0.018870187923312187, 0.061535127460956573, -0.05302468687295914, 0.01789328269660473, 0.007958656176924706, -0.002300172345712781, 0.026352843269705772, 0.001742441556416452, 0.0174977108836174, 0.016917679458856583, -0.010243309661746025, 0.016335131600499153, 0.011984328739345074, -0.02769073098897934, 0.007992376573383808, 0.019196147099137306, 0.04429159313440323, -0.012536684051156044, 0.017360644415020943, 0.0194234699010849, -0.012417986057698727, 0.008055135607719421, -0.010801172815263271, -0.023826448246836662, -0.04821985214948654, 0.021601179614663124, 0.003063792362809181, 0.0669630691409111, -0.012812242843210697, 0.025262003764510155, -0.020204879343509674, 0.0072347926907241344, -0.022822393104434013, -0.03300090879201889, -0.03091764822602272, 0.03824228793382645, -0.02161056362092495, -0.015143629163503647, -0.025646448135375977, 0.011777999810874462, -0.006835002452135086, -0.00043715976062230766, -0.0011030574096366763, 0.031432900577783585, 0.016737649217247963, -0.022411348298192024, -0.05044308677315712, 0.02111724764108658, -0.007446098141372204, 0.027167540043592453, 0.0038018333725631237, -0.025655750185251236, -0.02825956791639328, -0.02579822577536106, -0.002950158203020692, 0.024731654673814774, -0.008366560563445091, 0.007722755428403616, 0.012978781946003437, 0.0040846094489097595, -0.014174170792102814, 0.015819024294614792, 0.00361196743324399, 0.015939554199576378, -0.013116293586790562, -0.020316259935498238, -0.0061002373695373535, -0.014386530965566635, 0.005115056876093149, 0.01170092448592186, -0.010817864909768105, -1.4186616326128387e-8, -0.010744432918727398, 0.02918185107409954, -0.008153931237757206, 0.014110592193901539, 0.020475460216403008, -0.018683627247810364, -0.009597187861800194, 0.002036764519289136, -0.013278777711093426, 0.022535931318998337, 0.017962224781513214, -0.012488831765949726, -0.0038009346462786198, -0.004052973818033934, 0.018204141408205032, -0.0226778294891119, -0.015418687835335732, -0.014004039578139782, 0.022801870480179787, 0.015781717374920845, 0.024445174261927605, 0.054612454026937485, -0.015285053290426731, 0.018524715676903725, 0.015515745617449284, -0.009965731762349606, 0.016236282885074615, -0.07524477690458298, 0.0006859633722342551, 0.031104419380426407, 0.00003636191468103789, -0.014969991520047188, 0.003331495448946953, 0.023102285340428352, -0.005601856391876936, -0.036691814661026, 0.051117319613695145, 0.0257782693952322, 0.0031624569091945887, -0.008964217267930508, -0.026946865022182465, -0.010317348875105381, -0.020574145019054413, -0.03171472251415253, -0.01762300543487072, -0.039025891572237015, -0.023351164534687996, 0.0038096054922789335, 0.02888179011642933, -0.03759116679430008, 0.01983765698969364, 0.009505503810942173, 0.002915111603215337, 0.046487413346767426, 0.01371652539819479, 0.012428618967533112, -0.004759742878377438, -0.018069399520754814, -0.03965210169553757, 0.007080121897161007, 0.009865828789770603, 0.025648152455687523, -0.00433577923104167, -0.014599444344639778 ]
brownfield-application-development-in-net-book-review
https://markhneedham.com/blog/2009/07/06/brownfield-application-development-in-net-book-review
false
2009-07-24 01:07:23
Wrapping collections: Inheritance vs Composition
[ "coding", "collections" ]
[ "Coding" ]
I wrote previously about the differences between http://www.markhneedham.com/blog/2009/02/23/c-wrapping-collections-vs-extension-methods/[wrapping collections and just creating extension methods] to make our use of collections in the code base more descriptive but I've noticed in code I've been reading recently that there appear to be two ways of wrapping the collection - using composition as I described previously but also extending the collection by using inheritance. I was discussing this with http://luning12.blogbus.com/[Lu Ning] recently and he pointed out that if what we have is actually a collection then it might make more sense to extend the collection with a custom class whereas if the collection is just an implementation detail of some other domain concept then it would be better to use composition. In the latter case we probably *don't want to expose all of the methods available on the collection* since we don't want to make it possible for clients of the object to perform all of these operations. We have both of these approaches in our code base - in the case where we have used inheritance we are extending a 'SelectList' from the .NET API to be a 'PleaseSelectList' so that it will add the value 'please select' to the top of drop down lists that we create on our UI instructing the user to select an option. In this case I think we really do have a 'SelectList' so I'm not too bothered that we're using inheritance instead of composition - in general though my preference is to use composition because I've found that most of the time we don't actually want to expose all the methods available on a collection API when we pass this data around our code. For example a fairly common scenario might be that we load up a collection of values from a persistence mechanism and then maybe do some querying on them before displaying something to the user. I've noticed that it's quite rare that we would actually want to allow any clients of this code to have the ability to remove an item from this collection but this is one of the methods that would typically be exposed if we decided to pass around a 'List' which is often the case. Even if it's not the case we can still convert an 'IEnumerable' value into a 'List' and then do whatever we want to it unless the collection had been defined as being 'http://msdn.microsoft.com/en-us/library/ms132474.aspx[read only]' in which case you now have an API which is potentially misleading. I'm finding myself moving towards the opinion that it only makes sense to create a new type if we actually get some added value in terms of expressing the intent of our code more easily by doing so and a lot of the time it seems that the added value that comes by extending a collection so that we have our own named type doesn't seem to provide a lot of value. In addition, it can actually be quite painful later on if we decide we want to change the way we represent that data. I think using the inheritance option is often the short term quickest choice since we can just make use of all the methods that already exist on the collection being extended instead of having to write code to delegate to those methods which is the case if we use composition. It does seem to be a fine line between using inheritance for good and just using it because then you http://www.markhneedham.com/blog/2009/07/21/good-lazy-and-bad-lazy/[don't have to spend a lot of time thinking about the best solution to the problem you're trying to solve]. Perhaps the choice between the way that we choose to do this comes down to http://haacked.com/archive/2007/12/11/favor-composition-over-inheritance-and-other-pithy-catch-phrases.aspx[analysing the trade offs between using composition and inheritance] as Phil Haack points out in a post he wrote a couple of years ago.
null
null
[ 0.02158636972308159, -0.049592774361371994, -0.004281308967620134, 0.017286265268921852, 0.07422574609518051, -0.020552052184939384, 0.004358021542429924, -0.008856628090143204, -0.006217560265213251, -0.043517325073480606, -0.0010232230415567756, 0.014536603353917599, -0.06562308967113495, 0.030370447784662247, -0.023986564949154854, 0.08192235976457596, 0.06456604599952698, -0.026428839191794395, 0.01078515313565731, 0.006677727214992046, 0.012276872992515564, 0.059993449598550797, 0.014135311357676983, 0.019926564767956734, 0.022329604253172874, 0.030023476108908653, -0.005726488772779703, 0.0037279489915817976, -0.04065755754709244, -0.02984146773815155, 0.03489886224269867, 0.012369686737656593, -0.008896004408597946, 0.0005732052377425134, -0.006003126967698336, -0.06319501996040344, -0.01247159019112587, -0.025313062593340874, 0.00002081121419905685, -0.002652895636856556, -0.06809456646442413, 0.042071402072906494, -0.018959082663059235, -0.0023505238350480795, -0.04727935791015625, 0.010188712738454342, -0.040810726583004, 0.00972065795212984, -0.04080301150679588, 0.0006461106822825968, -0.04358281195163727, 0.01454817596822977, -0.05136500671505928, 0.0295012965798378, -0.008185110054910183, 0.0510987788438797, -0.003891279920935631, -0.07395480573177338, 0.01812967099249363, -0.045080192387104034, 0.007982044480741024, 0.013181597925722599, 0.003165413159877062, 0.02398858405649662, 0.03237545117735863, -0.010396141558885574, -0.037681564688682556, 0.05370883271098137, -0.05272587761282921, -0.001285948557779193, -0.0022634807974100113, 0.014943329617381096, 0.015052207745611668, -0.008910425007343292, 0.026571322232484818, -0.043890371918678284, -0.019777527078986168, 0.05443597957491875, 0.015252732671797276, 0.04158185422420502, -0.015142400749027729, 0.018889211118221283, 0.03756144642829895, 0.00795947015285492, 0.048646412789821625, -0.04351089522242546, -0.027358178049325943, 0.02509416453540325, -0.02075791545212269, 0.06482281535863876, 0.00924038328230381, -0.03577858582139015, 0.01988886296749115, 0.027508461847901344, 0.0006247943383641541, -0.023884287104010582, 0.004735286347568035, -0.022034332156181335, -0.012927349656820297, 0.013568196445703506, -0.05314762145280838, -0.02473914995789528, 0.01904894970357418, -0.00593690387904644, -0.07816358655691147, -0.02783339098095894, -0.02134210243821144, -0.005819655954837799, -0.0030108075588941574, 0.008638303726911545, -0.0407978892326355, 0.0037016202695667744, -0.036711130291223526, 0.005181159824132919, -0.057377684861421585, 0.03488696366548538, 0.034614771604537964, -0.011584031395614147, -0.024588339030742645, 0.04720950499176979, 0.05407417193055153, 0.013178301975131035, 0.0097817936912179, 0.07207735627889633, 0.0298767052590847, 0.01153166126459837, -0.02805480919778347, 0.07091978192329407, -0.012358982115983963, -0.08160465955734253, 0.01682136580348015, 0.05416151136159897, -0.05315462499856949, 0.0012144724605605006, -0.0008034195052459836, -0.046880047768354416, -0.03049754910171032, 0.01842355728149414, 0.05087752267718315, 0.03289729729294777, -0.031470730900764465, -0.058862507343292236, -0.007152206264436245, -0.005933054257184267, 0.013407956808805466, 0.01334084291011095, -0.01794038526713848, -0.009105069562792778, -0.0092367148026824, 0.015324173495173454, 0.01842677965760231, 0.05986382067203522, 0.028289305046200752, -0.03605054318904877, 0.0090139489620924, 0.08123976737260818, 0.013227301649749279, 0.03731278330087662, -0.006484288722276688, 0.04001639783382416, 0.033095329999923706, 0.012158780358731747, 0.022821912541985512, 0.03850691393017769, 0.01906408742070198, 0.009116054512560368, -0.03025612235069275, 0.08087538182735443, 0.00039907198515720665, -0.025133801624178886, -0.06646540015935898, -0.04790784791111946, 0.051893752068281174, -0.07517677545547485, 0.0007255642558448017, 0.035706594586372375, 0.08591126650571823, 0.020482994616031647, 0.07069409638643265, -0.012808001600205898, -0.0766572579741478, 0.015028578229248524, 0.016952982172369957, -0.010731137357652187, 0.017862102016806602, 0.002807420678436756, 0.06773883104324341, 0.042327504605054855, 0.01306083332747221, 0.022877002134919167, -0.06120738387107849, -0.07036697119474411, -0.035269543528556824, -0.03064979612827301, 0.06690812110900879, -0.03422953560948372, 0.010882314294576645, 0.08638501167297363, 0.009843410924077034, 0.05713377892971039, 0.042222071439027786, -0.01614036224782467, 0.0006928671500645578, -0.02880166471004486, -0.014468810521066189, 0.04135393351316452, 0.01763192191720009, 0.0011632952373474836, -0.017137734219431877, 0.017456980422139168, 0.009776418097317219, 0.005164721515029669, 0.041039105504751205, -0.028499558568000793, 0.05250594764947891, 0.015203192830085754, 0.05331524461507797, -0.04186900705099106, 0.055309511721134186, -0.08236821740865707, 0.0127175347879529, 0.013395048677921295, -0.028452374041080475, 0.003016951261088252, -0.02176007628440857, 0.1231493204832077, 0.05108913779258728, -0.042928192764520645, -0.04349186271429062, 0.010017030872404575, 0.009862719103693962, -0.04125969484448433, -0.018031585961580276, -0.015773583203554153, 0.017847441136837006, 0.01587623730301857, -0.04387294501066208, -0.023303581401705742, 0.00624534348025918, -0.02743406593799591, -0.01171129196882248, 0.07725992798805237, -0.025562571361660957, 0.06671857833862305, 0.01883540116250515, -0.003454718505963683, -0.021744361147284508, -0.026704438030719757, -0.039600811898708344, 0.007976815104484558, -0.004698850214481354, -0.016578437760472298, 0.05737612769007683, -0.024785732850432396, -0.009576317854225636, -0.01702730357646942, -0.033619750291109085, 0.016735130921006203, 0.03239736333489418, 0.06656482815742493, -0.025022059679031372, 0.056059397757053375, 0.005146568175405264, 0.020490288734436035, -0.010028894059360027, -0.05106097832322121, -0.005438841879367828, 0.0063837138004601, 0.021933451294898987, 0.035042665898799896, 0.010141534730792046, 0.020258814096450806, 0.03519316017627716, 0.0041596353985369205, -0.026121551170945168, -0.008235709741711617, 0.04098272696137428, -0.0013888493413105607, -0.02601669356226921, -0.0397208072245121, -0.039162423461675644, 0.047576986253261566, -0.020008783787488937, -0.03915250673890114, -0.006798114161938429, -0.07440216839313507, 0.05676892027258873, -0.08052234351634979, -0.05680451914668083, 0.009611203335225582, 0.053455330431461334, 0.038496822118759155, -0.026743734255433083, 0.014584904536604881, 0.07308152318000793, 0.00865764357149601, -0.009889448992908001, 0.01048866007477045, 0.003979419823735952, -0.004115662537515163, -0.044001612812280655, -0.0017887839348986745, 0.06562422215938568, 0.016908274963498116, 0.008405596949160099, -0.045142222195863724, 0.03049808368086815, 0.01595616713166237, -0.26276880502700806, 0.019895557314157486, -0.02238503471016884, -0.02183515951037407, 0.010876915417611599, -0.0013229179894551635, 0.013553416356444359, -0.06544286757707596, -0.00525654386729002, 0.033697400242090225, -0.03431183099746704, -0.04416261240839958, -0.024011759087443352, 0.05485405772924423, 0.010379543527960777, 0.0501682348549366, 0.012638755142688751, -0.019937030971050262, -0.021050840616226196, 0.04161577299237251, -0.024005848914384842, -0.07784079015254974, -0.023056242614984512, 0.05512642487883568, 0.02155924215912819, 0.061086174100637436, -0.07493467628955841, 0.036259621381759644, -0.06655459851026535, 0.004589043091982603, -0.0027667430695146322, 0.001616530935280025, 0.008002434857189655, -0.041883938014507294, -0.029568850994110107, -0.022721808403730392, 0.030232833698391914, 0.03253578022122383, 0.0010824501514434814, 0.02267220988869667, -0.025868628174066544, -0.044076044112443924, -0.04273957386612892, 0.01286168023943901, 0.06324195861816406, -0.030466927215456963, -0.08239417523145676, 0.009843945503234863, -0.032448314130306244, 0.0737185925245285, -0.00949742179363966, -0.03541537746787071, 0.009519323706626892, 0.0336720310151577, -0.018465600907802582, -0.033697158098220825, -0.002391789574176073, -0.004930111113935709, -0.04205926135182381, -0.021992847323417664, -0.01966295950114727, -0.05731501802802086, -0.02973579615354538, -0.017274897545576096, -0.01754540205001831, -0.0630069375038147, -0.05612150952219963, -0.0016246272716671228, 0.07169818133115768, 0.03314840793609619, -0.016950346529483795, 0.010747218504548073, 0.004239390138536692, -0.12000247836112976, 0.009352010674774647, -0.05126509815454483, -0.04131490737199783, -0.030189914628863335, 0.0224006287753582, 0.026951486244797707, -0.03399192541837692, -0.041563231498003006, 0.01003059558570385, 0.029799601063132286, -0.001784950029104948, 0.002518788445740938, 0.02937994711101055, -0.010388228110969067, -0.022138234227895737, 0.011958246119320393, 0.058125779032707214, 0.016689833253622055, -0.013669868931174278, -0.018896814435720444, 0.008830699138343334, 0.03182094916701317, 0.03922967240214348, 0.018814021721482277, 0.01978307031095028, 0.03302827477455139, 0.04507138952612877, -0.07128627598285675, 0.03962434455752373, -0.025422966107726097, -0.006458590272814035, -0.027213742956519127, -0.04408429190516472, 0.020699745044112206, 0.028705788776278496, -0.0075189839117228985, -0.008774293586611748, -0.037252552807331085, 0.02191430889070034, -0.056180477142333984, -0.01058490015566349, -0.02894795872271061, 0.0024201804772019386, 0.03423869609832764, 0.0246855691075325, -0.026558902114629745, -0.03985187038779259, 0.02111654169857502, 0.0011018923250958323, -0.012339204549789429, -0.07262349873781204, -0.047319669276475906, -0.030303480103611946, 0.002722934354096651, -0.010733608156442642, 0.030996091663837433, -0.00727942306548357, 0.012999430298805237, 0.015349173918366432, -0.029605131596326828, 0.023082230240106583, -0.010119161568582058, -0.026000048965215683, -0.024486690759658813, -0.040541257709264755, -0.028535664081573486, -0.00011431295570218936, -0.002220703521743417, 0.02362218126654625, 0.04192006587982178, 0.04342140629887581, 0.013550791889429092, 0.044036198407411575, 0.013109478168189526, 0.0007706288015469909, 0.022741109132766724, 0.009597185999155045, -0.06145119294524193, 0.012987339869141579, -0.04962346702814102, -0.014817510731518269, -0.022625859826803207, 0.028734805062413216, -0.022243572399020195, -0.008204974234104156, -0.04750131070613861, 0.017970232293009758, -0.06839063763618469, -0.04258860647678375, -0.02562418207526207, -0.006809717044234276, 0.050540003925561905, -0.04689830541610718, 0.040651652961969376, -0.017234237864613533, -0.018130430951714516, 0.010247987695038319, 0.026801008731126785, -0.024764498695731163, 0.03443553298711777, 0.024791767820715904, -0.039111606776714325, 0.0014085593866184354, 0.011625377461314201, 0.04429168626666069, 0.023171328008174896, 0.014871184714138508, -0.028783386573195457, 0.03485947102308273, -0.02548954263329506, 0.05091891810297966, 0.012955179437994957, 0.02449730783700943, -0.016394812613725662, -0.01684410870075226, -0.009755321778357029, -0.0332738533616066, -0.012360353954136372, -0.013817082159221172, 0.043418191373348236, -0.03785301372408867, -0.0658683329820633, 0.06105542555451393, -0.000880477367900312, 0.0137429004535079, 0.0020415871404111385, 0.02227415144443512, 0.003155674086883664, -0.021164895966649055, 0.0245361328125, 0.03934656083583832, -0.05161004140973091, 0.03099307417869568, -0.004051877651363611, 0.0011891406029462814, 0.025781404227018356, 0.012574425898492336, -0.02298886701464653, -0.013419309630990028, -0.02425209805369377, 0.015060095116496086, -0.029066501185297966, -0.011436235159635544, -0.01308196596801281, 0.016024647280573845, -0.00046105458750389516, -0.017442254349589348, -0.03293836489319801, -0.006709277629852295, -0.019530508667230606, -0.03687801584601402, 0.03975088521838188, -0.020847320556640625, -0.0229185800999403, 0.003947881981730461, -0.03558586910367012, 0.034056615084409714, -0.04172100871801376, 0.005961253773421049, 0.016773145645856857, -0.020913945510983467, 0.0002837512001860887, -0.042276911437511444, 0.019025452435016632, -0.0020889078732579947, 0.05363199859857559, 0.010087788105010986, -0.05533907189965248, -0.011099744588136673, -0.036185696721076965, -0.04189265891909599, 0.009253449738025665, -0.009676744230091572, -0.02955392189323902, -0.003820341546088457, 0.059440627694129944, 0.004363889340311289, 0.004663518164306879, -0.005387179087847471, -0.017916301265358925, 0.061016716063022614, -0.059549443423748016, -0.007976062595844269, -0.018188921734690666, -0.06365152448415756, 0.020037800073623657, 0.010635431855916977, 0.02716781385242939, -0.01688905619084835, 0.04861591383814812, 0.032471492886543274, 0.01785518229007721, 0.058293890208005905, 0.013463434763252735, 0.043385088443756104, -0.04513362795114517, 0.01604803092777729, -0.05565720424056053, 0.014769235625863075, 0.021395748481154442, 0.04533305764198303, -0.037837471812963486, -0.014884615316987038, -0.059306591749191284, 0.03732478246092796, -0.07962276041507721, -0.022648043930530548, 0.0015294324839487672, -0.009006115607917309, 0.00831271056085825, 0.02078271470963955, -0.051862604916095734, 0.03198130056262016, 0.03947874531149864, -0.009437920525670052, -0.03147241473197937, -0.033807236701250076, 0.058286234736442566, 0.030307108536362648, 0.008492397144436836, -0.011398281902074814, 0.025374971330165863, 0.04684382304549217, 0.0182822123169899, 0.021110715344548225, 0.048659197986125946, -0.0235603004693985, 0.021895164623856544, 0.022714780643582344, -0.002487329300493002, -0.01586395688354969, 0.0007493093726225197, 0.002145308069884777, -0.050853241235017776, 0.014023080468177795, 0.017893461510539055, -0.03723442181944847, -0.045002322643995285, 0.06078857183456421, 0.020553046837449074, -0.021188532933592796, -0.05240274593234062, 0.010523839853703976, -0.049458276480436325, -0.017080020159482956, -0.02220148779451847, 0.018767232075333595, -0.008085643872618675, 0.07168418914079666, -0.011633929796516895, -0.004777824971824884, 0.06297717243432999, -0.00919201411306858, -0.021628454327583313, -0.00416607316583395, 0.08527489006519318, 0.08350981771945953, 0.06654459238052368, -0.009361998178064823, 0.08004618436098099, -0.015380565077066422, -0.0487460158765316, 0.00774683291092515, -0.01713198982179165, 0.0053625935688614845, 0.004377563018351793, 0.03609493747353554, 0.07096683979034424, -0.01514472533017397, 0.05527899041771889, -0.05553918704390526, -0.01750919036567211, -0.0129670649766922, 0.004520817659795284, 0.026561923325061798, 0.04964696615934372, 0.01753556914627552, 0.025313636288046837, -0.02145669236779213, -0.05007391422986984, 0.04240185022354126, -0.00269517139531672, -0.022573715075850487, 0.015311849303543568, 0.0017917824443429708, -0.0047550019808113575, -0.0009167949319817126, 0.057118408381938934, 0.06257804483175278, -0.029410453513264656, -0.008944080211222172, 0.00643926952034235, 0.012361567467451096, 0.026712119579315186, -0.031391218304634094, -0.022755449637770653, -0.024070758372545242, -0.008808853104710579, -0.00029923897818662226, -0.004408144857734442, -0.019387854263186455, -0.0012963134795427322, 0.05583065003156662, -0.020022431388497353, 0.009208077564835548, 0.017464617267251015, 0.0020780866034328938, -0.046152062714099884, -0.03770649805665016, -0.05009501799941063, -0.004049142822623253, -0.061333369463682175, -0.021566055715084076, 0.05569882690906525, -0.024896707385778427, -0.039829570800065994, -0.007295915856957436, 0.01378183625638485, -0.03245662525296211, 0.07287073135375977, -0.025080692023038864, -0.02669571340084076, 0.0097148222848773, 0.020497435703873634, 0.05845218151807785, 0.03477746620774269, 0.05276985093951225, -0.009897447191178799, 0.012269432656466961, -0.05271923914551735, -0.009477751329541206, 0.05142488703131676, 0.01665395125746727, 0.01949196122586727, -0.08441092073917389, 0.0020308992825448513, 0.023837339133024216, -0.0143181337043643, -0.07715988904237747, -0.015416277572512627, 0.014145176857709885, -0.021242231130599976, 0.057830020785331726, -0.00917468499392271, -0.042461227625608444, -0.03359226509928703, 0.006251550279557705, 0.007672374602407217, 0.016528291627764702, 0.03849919140338898, -0.012847034260630608, 0.051529623568058014, 0.01697234809398651, -0.027513066306710243, -0.02051079459488392, 0.013150960206985474, 0.012392624281346798, -0.00022385419288184494, -0.04437258094549179, -0.03201041743159294, -0.009946255944669247, -0.04623948037624359, -0.02124672196805477, 0.014578568749129772, -0.016233904287219048, -0.03532146289944649, -0.006277325563132763, 0.04702389985322952, -0.051286280155181885, 0.009580411948263645, -0.04168394207954407, 0.051948752254247665, -0.020063864067196846, -0.013400943018496037, -0.008388419635593891, 0.012346571311354637, -0.012850608676671982, -0.011285512708127499, 0.028331713750958443, -0.05530751124024391, -0.03720911219716072, -0.014958547428250313, 0.019585974514484406, 0.048175692558288574, -0.02391381934285164, 0.014706071466207504 ]
[ -0.07453332841396332, 0.01666557602584362, -0.017734717577695847, -0.021823547780513763, 0.05536030977964401, -0.028778458014130592, -0.013719809241592884, -0.020958302542567253, 0.020232295617461205, -0.026771722361445427, -0.0011632471578195691, 0.014824013225734234, -0.027535561472177505, 0.024139635264873505, 0.0657074972987175, 0.023952970281243324, -0.02422552928328514, -0.027378780767321587, -0.032625362277030945, 0.04563246667385101, 0.03109918348491192, -0.0005242317565716803, -0.047943104058504105, -0.02969127707183361, 0.04135735705494881, 0.06395621597766876, -0.004549154546111822, -0.05097769573330879, -0.0021723518148064613, -0.18743833899497986, 0.0030741626396775246, 0.004790348932147026, -0.010238608345389366, -0.015488731674849987, -0.007029794622212648, 0.03031028062105179, 0.02578227035701275, 0.02384156920015812, -0.0026938801165670156, 0.05690361559391022, 0.026963025331497192, 0.03639506921172142, -0.07799649238586426, -0.031471509486436844, 0.032019659876823425, 0.007529191207140684, -0.005652860272675753, -0.035434190183877945, -0.02955150417983532, -0.0008370240102522075, -0.05499955266714096, -0.019975947216153145, -0.04062340036034584, 0.01705029048025608, -0.039443474262952805, 0.04674096032977104, 0.03450103476643562, 0.027295315638184547, -0.0018491691444069147, 0.023581381887197495, 0.002724254271015525, -0.02117873914539814, -0.10713623464107513, 0.10666719079017639, -0.04635455086827278, 0.08716338127851486, -0.010825591161847115, 0.008213529363274574, 0.004795203451067209, 0.05070067197084427, 0.013999542221426964, -0.027289975434541702, -0.0019342588493600488, 0.04912141337990761, 0.013134232722222805, -0.019883688539266586, 0.000023731730834697373, -0.02239854633808136, 0.04870719835162163, -0.03914076089859009, -0.04005739092826843, -0.05166982114315033, 0.06650830060243607, -0.03877727687358856, -0.011071542277932167, 0.03610871359705925, -0.014723747968673706, -0.003649329300969839, 0.05019731819629669, 0.02256588824093342, 0.035534586757421494, -0.01940036006271839, 0.03985556587576866, 0.03979464992880821, -0.05829916149377823, -0.012751664966344833, -0.025536999106407166, -0.01659051701426506, -0.055742137134075165, 0.4072943329811096, -0.04293711856007576, -0.04376354068517685, 0.04784763604402542, 0.033090002834796906, -0.05226489529013634, 0.01325803529471159, 0.029770618304610252, -0.045090753585100174, 0.04275623336434364, -0.059784844517707825, 0.0054104626178741455, 0.0008685095235705376, -0.01593383587896824, -0.04794912785291672, -0.03203316777944565, -0.021904263645410538, 0.0010927632683888078, -0.007616780232638121, 0.006323416251689196, -0.011866109445691109, -0.042127031832933426, 0.022521788254380226, 0.03414469584822655, 0.03853916749358177, -0.0188264362514019, 0.0070280698128044605, 0.05435694381594658, 0.02323019877076149, 0.04449619725346565, 0.03527437150478363, 0.061549458652734756, -0.03918905183672905, -0.0951245054602623, -0.021980980411171913, -0.002848345786333084, 0.02922898158431053, 0.054708752781152725, -0.019245969131588936, 0.0566527396440506, 0.004107847344130278, 0.012335377745330334, 0.010805605910718441, -0.025274477899074554, -0.02198369801044464, -0.026670832186937332, 0.1362973004579544, 0.006557380314916372, 0.006755901500582695, -0.03552185371518135, -0.023335706442594528, -0.013902907259762287, 0.03594908118247986, -0.01002262718975544, -0.061642374843358994, 0.011135140433907509, 0.0320415273308754, 0.0470905601978302, -0.019918542355298996, -0.05147545039653778, -0.027121497318148613, -0.03593405336141586, 0.007855772040784359, -0.042553991079330444, 0.05449633672833443, 0.014708821661770344, -0.09738791733980179, -0.02311210334300995, -0.005614351946860552, 0.0023513983469456434, -0.06859999150037766, -0.035098444670438766, 0.014165946282446384, -0.03851005807518959, 0.008585452102124691, 0.0566694401204586, -0.023268770426511765, -0.06900577247142792, -0.04355804994702339, 0.02999395877122879, 0.03738432377576828, 0.02325425297021866, -0.0019443409983068705, -0.061138905584812164, 0.005310135427862406, -0.009461858309805393, -0.09645165503025055, -0.0447956807911396, -0.02987697906792164, -0.009435084648430347, -0.00890526082366705, -0.03028002381324768, -0.026950020343065262, -0.033088769763708115, 0.09230745583772659, -0.031154314056038857, -0.000522982852999121, 0.05123508721590042, 0.002945774234831333, -0.002402796410024166, 0.033720336854457855, 0.01645185612142086, 0.06318594515323639, 0.010021724738180637, 0.0461297482252121, -0.051639314740896225, 0.02370930276811123, 0.03671640530228615, -0.08617562800645828, 0.03742891177535057, 0.009323259815573692, -0.05749046802520752, -0.011352659203112125, -0.026289431378245354, 0.05065731331706047, -0.023822618648409843, -0.011156219057738781, 0.00019834662089124322, 0.055735353380441666, 0.025382686406373978, -0.010115811601281166, -0.05723860487341881, -0.06681816279888153, 0.015128286555409431, -0.3292692005634308, 0.014577548950910568, -0.02797214314341545, -0.020846491679549217, -0.0288817398250103, -0.08830021321773529, 0.011871423572301865, -0.015348528511822224, -0.0782531127333641, 0.012536433525383472, 0.06607739627361298, -0.01994643732905388, -0.0011428648140281439, -0.07209969311952591, 0.009895467199385166, -0.0010080690262839198, -0.03614163398742676, -0.0717046707868576, -0.02072754129767418, 0.02752232924103737, -0.008728541433811188, 0.005647749174386263, 0.02259095013141632, -0.06569559127092361, 0.013233516365289688, -0.029766101390123367, 0.0847611054778099, -0.04724077135324478, 0.08947612345218658, -0.0014124581357464194, 0.059346754103899, 0.028450818732380867, -0.0036878795363008976, -0.06602711230516434, -0.041054289788007736, -0.006246260832995176, -0.008149929344654083, -0.021353237330913544, 0.009180640801787376, -0.03014136105775833, -0.02620879001915455, 0.024897772818803787, -0.023208865895867348, -0.07336894422769547, -0.00880251731723547, 0.007763264235109091, -0.024739671498537064, -0.028687074780464172, 0.018367744982242584, 0.08984960615634918, -0.014139632694423199, 0.008341871201992035, 0.014032372273504734, 0.053664036095142365, -0.02335451729595661, -0.013571438379585743, -0.08315970748662949, -0.01553232129663229, 0.019985349848866463, 0.05411225184798241, 0.00020975615188945085, 0.07918219268321991, 0.05140801519155502, -0.045451220124959946, -0.005590642802417278, 0.01663258485496044, 0.025446608662605286, -0.0013992378953844309, 0.006051444914191961, -0.08345483988523483, -0.02417660318315029, 0.08311110734939575, -0.006779143121093512, -0.013257087208330631, 0.006362450774759054, 0.10574936121702194, -0.0358160175383091, 0.04874597489833832, 0.04596037045121193, 0.01630079746246338, -0.0014064040733501315, 0.001124143018387258, 0.0085489796474576, 0.0038237771950662136, -0.0027693863958120346, 0.04246058687567711, -0.010203666053712368, 0.025652850046753883, -0.004299250431358814, -0.031038489192724228, -0.03990517929196358, -0.003606554353609681, -0.023607337847352028, -0.03301718831062317, 0.022278673946857452, -0.011700636707246304, -0.23000290989875793, 0.021463289856910706, 0.10588891059160233, 0.042768798768520355, 0.015550575219094753, 0.04881862923502922, 0.03628186509013176, -0.055419567972421646, 0.008941324427723885, 0.0211962778121233, 0.05522666499018669, 0.03665250912308693, 0.021120278164744377, -0.0009541522595100105, 0.01622239127755165, 0.01331572700291872, 0.07932838052511215, 0.008999034762382507, 0.037787433713674545, 0.03365527093410492, 0.04441423714160919, -0.030465470626950264, 0.19718433916568756, 0.040164027363061905, 0.0329345241189003, -0.0492057166993618, 0.004963022191077471, 0.0018452528165653348, 0.0502970889210701, 0.020905055105686188, 0.03054186701774597, 0.014803679659962654, 0.0738728940486908, -0.006419469602406025, 0.024280838668346405, -0.11085405200719833, 0.03562387824058533, 0.014298250898718834, 0.010149149224162102, -0.03379301354289055, -0.010411715134978294, 0.017246220260858536, -0.06206979975104332, 0.009312199428677559, 0.09099344164133072, 0.01456397119909525, -0.05020937696099281, -0.029722433537244797, -0.03122640587389469, -0.004424803424626589, -0.019907919690012932, -0.019328726455569267, -0.00159124203491956, -0.04152239114046097, 0.020936084911227226, 0.034537337720394135, -0.007092819083482027, -0.020849984139204025, -0.02705405466258526, 0.06603682786226273, 0.07581400126218796, 0.014037768356502056, 0.05099146068096161, 0.03015378676354885, 0.05367202311754227 ]
[ -0.03828691318631172, 0.03226364776492119, 0.004276141989976168, 0.04131471365690231, 0.0031992029398679733, -0.007769214920699596, -0.0017990762135013938, 0.010535864159464836, -0.006039528176188469, -0.01165163703262806, -0.014117366634309292, 0.00410872045904398, -0.020123645663261414, -0.014290194027125835, 0.05434218421578407, 0.010603118687868118, 0.0259894710034132, -0.01964811235666275, 0.016902780160307884, 0.016972405835986137, 0.015008926391601562, 0.034924790263175964, -0.0045010605826973915, 0.0035076779313385487, -0.038281284272670746, 0.02397000789642334, -0.024037953466176987, -0.049989018589258194, 0.022256135940551758, -0.14525321125984192, -0.0208880677819252, -0.0348794050514698, -0.032747410237789154, 0.03226378187537193, -0.022678161039948463, -0.02172023616731167, 0.013498322106897831, -0.0013081477954983711, 0.010824043303728104, 0.005430036224424839, -0.009242120198905468, 0.011815975420176983, -0.0124254385009408, 0.013146412558853626, -0.019671577960252762, 0.0004647852620109916, -0.019414884969592094, -0.03137664124369621, -0.032525185495615005, -0.03041006252169609, -0.00324553856626153, 0.009579968638718128, -0.017052363604307175, 0.01803002879023552, 0.0005237505538389087, -0.013178645633161068, -0.029655534774065018, -0.02399100363254547, 0.005350304301828146, 0.014389218762516975, -0.006786853540688753, -0.010891139507293701, -0.04363146796822548, -0.021480830386281013, -0.004484100732952356, -0.03370799496769905, 0.022120626643300056, 0.022556375712156296, 0.0006959909806028008, -0.019419390708208084, -0.02472129464149475, 0.03184523433446884, -0.010627003386616707, -0.00983406137675047, 0.03263968601822853, -0.012248930521309376, 0.00013563384709414095, -0.015097550116479397, -0.005820791237056255, -0.01564992591738701, -0.001483157859183848, 0.02144578844308853, 0.03711818903684616, 0.03113233856856823, 0.026041144505143166, -0.015575215220451355, 0.016275791451334953, -0.00344222248531878, -0.005756531376391649, -0.020049091428518295, -0.023176897317171097, -0.02976362593472004, 0.010295061394572258, 0.0330919586122036, -0.0824563130736351, 0.017070923000574112, -0.013337600976228714, -0.022294985130429268, -0.020758863538503647, 0.8342376947402954, 0.013292565010488033, 0.04070340096950531, 0.02173035219311714, -0.005379469133913517, -0.03243052959442139, -0.0360993929207325, -0.021625395864248276, 0.029291260987520218, 0.04210399091243744, -0.06594369560480118, 0.006736320443451405, 0.025232283398509026, -0.00548369949683547, -0.008908355608582497, -0.009616972878575325, 0.012650922872126102, 0.02031180076301098, -0.04541728273034096, -0.01632516272366047, 0.00011319166515022516, 0.028447218239307404, -0.00098106125369668, 0.026537399739027023, 0.031845368444919586, 0.022464795038104057, -0.20162732899188995, 0.004644558299332857, -8.563521896146459e-33, 0.04434201121330261, -0.02329213172197342, -0.026576824486255646, 0.007936404086649418, 0.020546933636069298, 0.0021882064174860716, 0.03638584166765213, 0.02527448534965515, -0.03468262776732445, -0.04237143695354462, 0.035967521369457245, -0.016979875043034554, 0.014119989238679409, -0.016900738701224327, 0.056347861886024475, 0.0037459880113601685, -0.017498116940259933, 0.038573917001485825, 0.05841795727610588, 0.0029581922572106123, 0.021333122625947, 0.032798994332551956, 0.03251870349049568, -0.005292909219861031, -0.0024580692406743765, 0.03465280309319496, -0.02388966642320156, 0.03916296735405922, -0.02643025852739811, -0.03689251095056534, 0.007830239832401276, -0.010636573657393456, -0.0014730413677170873, 0.006221824791282415, 0.03173233941197395, 0.0007405037176795304, -0.024347582831978798, -0.008277579210698605, 0.007349547930061817, -0.06445671617984772, -0.02867848426103592, 0.009259458631277084, -0.03983170911669731, 0.03513989970088005, -0.012509061954915524, 0.004678627476096153, -0.011203959584236145, 0.024573607370257378, -0.0036018057726323605, 0.03733627125620842, 0.022969651967287064, 0.018910691142082214, -0.0005937654059380293, 0.002183522330597043, -0.012833151035010815, -0.008757215924561024, -0.019815929234027863, -0.0037356840912252665, 0.030764078721404076, 0.004412001930177212, 0.01019054651260376, 0.002209728816524148, -0.012474825605750084, 0.02879463881254196, 0.007696632761508226, -0.019044475629925728, 0.0076039982959628105, 0.015251753851771355, 0.02703295275568962, -0.009762048721313477, -0.008945639245212078, 0.0009950133971869946, -0.01442551426589489, 0.005806101951748133, -0.011330158449709415, -0.017197582870721817, -0.011257356964051723, -0.040599219501018524, 0.00029997460660524666, 0.03408224135637283, 0.04184680059552193, -0.009096621535718441, 0.012540399096906185, -0.01763727515935898, -0.033731602132320404, -0.00290164933539927, 0.029968854039907455, 0.006122337654232979, 0.00782237108796835, -0.010617117397487164, 0.04457620903849602, 0.03892185166478157, 0.006327039562165737, -0.01828538067638874, -0.01853323169052601, 8.266713245983678e-33, 0.026017744094133377, 0.0106200585141778, -0.011114921420812607, 0.01683325320482254, 0.01037229597568512, -0.03213135525584221, 0.00914797279983759, 0.040569331496953964, -0.03613661602139473, 0.02102481946349144, 0.016439540311694145, 0.01921483501791954, -0.05429171770811081, 0.0025920558255165815, 0.03623509034514427, -0.025414658710360527, -0.0247090645134449, -0.05089636892080307, 0.04374691843986511, -0.0030560896266251802, -0.0061105084605515, -0.014956679195165634, -0.0043752375058829784, -0.002272446872666478, -0.01965862326323986, 0.05761796236038208, -0.046207308769226074, -0.012302959337830544, 0.007765063550323248, -0.030371392145752907, 0.010878270491957664, -0.013572104275226593, 0.02456146478652954, -0.010440674610435963, -0.020347708836197853, 0.04300869628787041, 0.020756429061293602, 0.02824067510664463, 0.03801689296960831, -0.027467763051390648, 0.02632606402039528, -0.017145328223705292, 0.00958474725484848, 0.011128501035273075, 0.02493290789425373, -0.06246419996023178, -0.015797071158885956, 0.020915869623422623, 0.029122095555067062, 0.04623984172940254, -0.00349610997363925, -0.013407493941485882, 0.018281247466802597, 0.019127069041132927, 0.019423414021730423, -0.020609723404049873, -0.013512576930224895, -0.02729652263224125, -0.0015054347459226847, 0.005399566609412432, -0.0122545650228858, 0.02086472511291504, -0.04174717143177986, 0.028507521376013756, -0.01915052905678749, -0.014172337017953396, -0.010583843104541302, -0.01113527175039053, -0.023773925378918648, -0.004352002404630184, -0.017726443707942963, 0.019518988206982613, -0.034656405448913574, -0.001853723544627428, 0.03678235784173012, -0.04759196937084198, 0.006464936770498753, 0.01725860871374607, -0.017186641693115234, 0.02448366768658161, -0.024713624268770218, -0.021436747163534164, 0.04669593274593353, -0.06557650119066238, -0.01271580345928669, -0.01815216988325119, 0.018395449966192245, 0.008237050846219063, -0.00433170422911644, -0.0004924667300656438, 0.002177412388846278, -0.044659532606601715, 0.03548593074083328, 0.01051414106041193, 0.022120213136076927, -1.3546096688799025e-8, -0.08225610107183456, 0.0033897263929247856, -0.029222870245575905, 0.0011778637999668717, 0.043779946863651276, 0.03295352682471275, -0.01575903594493866, -0.006461865268647671, -0.007948735728859901, 0.02663367986679077, 0.015573453158140182, -0.007110717706382275, 0.03636191040277481, 0.013159556314349174, 0.05492718145251274, -0.056464727967977524, -0.013948960229754448, -0.03684584051370621, 0.03335072100162506, 0.04551174119114876, 0.0029827281832695007, -0.014091393910348415, 0.010818048380315304, -0.02150627039372921, 0.016505088657140732, 0.012011432088911533, -0.013052982278168201, -0.0662577748298645, -0.01946084201335907, 0.047407105565071106, -0.01020533125847578, -0.004508692771196365, -0.02038349211215973, 0.0049021863378584385, 0.014675159938633442, -0.03752677142620087, 0.005551811307668686, -0.00018139179155696183, -0.014470518566668034, -0.013515797443687916, -0.012423070147633553, -0.009287208318710327, 0.007228166330605745, 0.0005683324998244643, 0.030739109963178635, -0.029767891392111778, -0.006089249160140753, 0.0012569376267492771, 0.055102232843637466, 0.021492403000593185, 0.012795915827155113, -0.011717698536813259, 0.04121996462345123, -0.020938914269208908, 0.010972581803798676, -0.0044709560461342335, 0.02644924446940422, -0.012870590202510357, -0.01288868673145771, 0.013579283840954304, 0.02408275008201599, -0.007529116235673428, -0.04118082672357559, 0.009433459490537643 ]
wrapping-collections-inheritance-vs-composition
https://markhneedham.com/blog/2009/07/24/wrapping-collections-inheritance-vs-composition
false
2009-07-15 00:53:45
Book Club: An agile approach to a legacy system (Chris Stevenson and Andy Pols)
[ "book-club", "legacy-code" ]
[ "Book Club" ]
Our latest book club session was a discussion on a paper written by my colleague Chris Stevenson and Andy Pols titled 'http://www.skizz.biz/whitepapers/an-agile-approach-to-a-legacy-system.pdf[An Agile Approach to a Legacy System]' which I think was written in 2004. This paper was suggested by http://intwoplacesatonce.com/[Dave Cameron]. These are some of my thoughts and our discussion of the paper: * The first thing that was quite interesting was that the authors pointed out that *if you just try and rewrite a part of a legacy system you are actually just writing legacy code yourself* - we weren't sure exactly what was meant by this since for me at least the definition of legacy code is 'code which we are scared to change [because it has no tests]' but presumably the new code did have tests so it wasn't legacy in this sense. Rewriting the code doesn't really add any value to the business though as they point out since all that code might not even being used in which case it is just wasted effort. The idea of not rewriting is something that http://blog.objectmentor.com/articles/2009/01/09/the-big-redesign-in-the-sky[Uncle Bob advocates] and http://gojko.net/2009/06/19/eric-evans-why-do-efforts-to-replace-legacy-systems-fail/[Eric Evans also mentions the dangers of trying to replace legacy systems in his latest presentations]. * I thought it was interesting that the team d**idn't make use of automatic integration since they were frequently integrating on their own machines** - I'm not sure how well this would work on a big team but certainly if you have a team of people fairly experienced with CI then I can imagine that it would work really well. Dean has written http://deancornish.blogspot.com/2009/07/continuous-integration-without-ci.html[a post about serverless CI] which covers the idea in more details. * I liked the idea of *putting up politics as user requirements on the story wall* and then prioritising them just like any other requirement. More often the approach tends to be to try and address these problems as soon as they arise and then end up not really solving them and then getting burnt later on. This approach sounds much better. * Another idea that I like is that *the team didn't get hung up on process* - the teams I've been on which worked the best weren't slaves to process and I've often heard it suggested that having a process is just a way of dealing with the fact that there is a lack of trust in the team. Jay Fields recently wrote about the idea of having http://blog.jayfields.com/2009/07/more-trust-less-cardwall.html[more trust and less card wall] and Ron Jeffries has a recent post where he talks about http://xprogramming.com/blog/needles/how-should-user-stories-be-written.htm[the light weight way that we should be making use of stories]. * Another really cool idea which I don't remember seeing before is *having the whole team involved in major refactorings* until the whole refactoring has been completed. Quite often with refactorings like this one pair might go off and do it and then when they checkin later there are a lot of changes and the other pairs have trouble merging and now have a lot of code which they are unfamiliar with. * The idea of having a *self selected team* sounds like an interesting idea as you then only have people on the team who actually want to be on it and want to make things happen. I'm not sure how often this would actually happen but it is a nice idea. * The importance of *testing the system against a live database* before putting it into production is emphasised and this goes beyond just using production data in a test environment. The team also made use of data verification testing to ensure that the new system and the current ones were working identically. Although this paper is relatively short it's probably been the most interesting one that we've looked at so far. I think a lot of the ideas outlined can be used in any project and not just when dealing with legacy systems - definitely worth reading.
null
null
[ 0.005167960189282894, -0.00005222682739258744, -0.005084147211164236, 0.05576087534427643, 0.10624650865793228, -0.01572922244668007, 0.0006573805585503578, 0.029742104932665825, 0.03128959983587265, -0.03384995087981224, -0.017703749239444733, -0.0018564187921583652, -0.05573666840791702, 0.010688952170312405, -0.04003081098198891, 0.06759142875671387, 0.05952135846018791, 0.0016159545630216599, 0.017285402864217758, 0.01380155049264431, 0.016462011262774467, 0.08956124633550644, 0.007540848571807146, 0.030945658683776855, 0.02798042632639408, 0.025599518790841103, 0.014587675221264362, -0.035905927419662476, -0.07233207672834396, -0.008302786387503147, 0.03210939094424248, -0.0172200258821249, 0.0027992913965135813, 0.005485908593982458, 0.00486674252897501, -0.015805132687091827, -0.016135169193148613, 0.027985652908682823, -0.007204063236713409, -0.01459498517215252, -0.062495145946741104, 0.05926341563463211, 0.009975548833608627, 0.015593498945236206, -0.03560754284262657, 0.0280259121209383, -0.04524049535393715, 0.0060288142412900925, -0.0014497034717351198, -0.011498527601361275, -0.04722050577402115, 0.028149830177426338, -0.017763059586286545, -0.01496046781539917, 0.00018832861678674817, 0.04901855066418648, 0.009146049618721008, -0.053785692900419235, 0.0020558417309075594, -0.03784230723977089, -0.014831450767815113, -0.010926858521997929, 0.0018978251609951258, 0.044326722621917725, 0.027738630771636963, -0.04720489680767059, 0.0007955561159178615, 0.029272492974996567, -0.032405298203229904, 0.0029507458675652742, -0.008924364112317562, 0.025946415960788727, 0.002050279639661312, -0.007508092559874058, 0.014781244099140167, -0.05625420808792114, 0.007970204576849937, 0.07687254995107651, 0.03221813589334488, 0.03973201662302017, -0.008898494765162468, 0.02886822447180748, 0.01194617711007595, 0.02332155779004097, -0.017138708382844925, -0.04885255545377731, 0.0043984572403132915, -0.02423291839659214, -0.05143739655613899, 0.06340395659208298, -0.0021842222195118666, -0.08861128985881805, 0.030772631987929344, 0.050291404128074646, 0.0010661763371899724, 0.008045056834816933, 0.027507571503520012, 0.02626851014792919, -0.000526580261066556, -0.018970416858792305, -0.04055410251021385, -0.014861932955682278, -0.009915857575833797, -0.008987094275653362, -0.07165401428937912, 0.0032917188946157694, -0.038549065589904785, -0.005364976357668638, 0.0024065200705081224, -0.0025602008681744337, -0.035947587341070175, 0.009858725592494011, -0.0163140669465065, 0.005875125993043184, -0.0681484118103981, 0.06753027439117432, -0.006731900852173567, -0.06291861832141876, 0.015931162983179092, -0.0012853988446295261, 0.045200176537036896, 0.032980214804410934, -0.009234613738954067, 0.0888533890247345, 0.009431455284357071, 0.019788268953561783, -0.015359735116362572, 0.04758807644248009, -0.02465565875172615, -0.07812909036874771, -0.009853426367044449, 0.05090027675032616, -0.04232746735215187, -0.012223588302731514, -0.007578917313367128, -0.01901950128376484, 0.0030750110745429993, 0.007307965308427811, 0.034711867570877075, 0.05034220963716507, 0.014362191781401634, -0.03398663178086281, 0.006730866618454456, 0.029144076630473137, 0.033579371869564056, -0.01163910049945116, 0.002502833027392626, -0.024937747046351433, -0.04268166422843933, -0.01670212671160698, 0.016823580488562584, 0.01583031378686428, 0.015850486233830452, -0.04420488327741623, 0.02989363670349121, 0.09368281811475754, 0.03677991032600403, 0.003478454193100333, -0.021701345220208168, 0.02607426419854164, 0.04675520211458206, 0.02219567820429802, 0.024413567036390305, 0.017028605565428734, 0.0034006640780717134, -0.0013042569626122713, -0.020571913570165634, 0.027736831456422806, 0.01939840242266655, 0.003926488570868969, -0.06366197764873505, -0.060680538415908813, 0.040225833654403687, -0.055183034390211105, -0.013332492671906948, 0.02186739258468151, 0.08572078496217728, 0.04957294464111328, 0.029410624876618385, -0.0011633288813754916, -0.08721041679382324, 0.02475902810692787, 0.009378459304571152, 0.0072393701411783695, 0.006391718052327633, -0.02479574643075466, 0.07217121124267578, 0.040867626667022705, 0.022185256704688072, 0.042091432958841324, -0.08847668766975403, -0.09392794221639633, -0.013568256981670856, -0.02950575388967991, 0.05016874894499779, -0.03247414901852608, 0.0058526331558823586, 0.08295874297618866, 0.006842802744358778, 0.05308431014418602, 0.021264519542455673, 0.013442444615066051, 0.027221962809562683, -0.06041603162884712, -0.02081354334950447, 0.05508435145020485, 0.046428337693214417, 0.01702137291431427, -0.06008130684494972, 0.004611921962350607, 0.0045297821052372456, 0.00657470291480422, 0.04647315293550491, -0.001026233658194542, 0.03812104091048241, 0.005343517288565636, 0.04782039299607277, -0.027438197284936905, 0.06765281409025192, -0.050890520215034485, 0.022237414494156837, 0.01160657498985529, -0.007193644996732473, 0.01319609209895134, -0.0012751445174217224, 0.10445178300142288, 0.07488728314638138, -0.05835761874914169, -0.027876796200871468, 0.03831666335463524, 0.008371805772185326, -0.03549931198358536, -0.015473284758627415, -0.006135060917586088, 0.018790114670991898, -0.00424777390435338, -0.04604240506887436, -0.03959242254495621, 0.01607423461973667, -0.02298346720635891, -0.004037073813378811, 0.05134135112166405, -0.009975018911063671, 0.0632033422589302, 0.009955042973160744, -0.01411435566842556, -0.037179164588451385, -0.01376444473862648, -0.04754301533102989, 0.014242676086723804, 0.009207963943481445, -0.014974257908761501, 0.061934694647789, -0.044685568660497665, -0.021513888612389565, -0.019797999411821365, -0.05375961586833, 0.00969335250556469, 0.02708018384873867, 0.05856957659125328, -0.029852960258722305, 0.05435808375477791, -0.008472650311887264, 0.02383539080619812, 0.006490395404398441, -0.042342979460954666, -0.036139871925115585, -0.04397252947092056, 0.006674675736576319, 0.011465887539088726, 0.0037389390636235476, 0.027203265577554703, 0.02548610046505928, -0.006417336408048868, -0.017516018822789192, -0.01946849748492241, 0.021528085693717003, 0.000052382129069883376, 0.0013174903579056263, -0.026126651093363762, -0.04064584895968437, 0.04827803000807762, -0.04517063871026039, -0.018261397257447243, -0.008809586986899376, -0.0663071945309639, 0.052040643990039825, -0.08058062940835953, -0.04104793816804886, -0.0048433709889650345, 0.02804330736398697, 0.03740101307630539, 0.0070970975793898106, 0.039877161383628845, 0.06615130603313446, 0.016010122373700142, 0.012622484005987644, -0.01089682150632143, -0.01344441156834364, 0.025490786880254745, 0.0032309507951140404, -0.023658059537410736, 0.04822131246328354, 0.006169507279992104, 0.014638629741966724, -0.051202043890953064, 0.05657817795872688, -0.04681111127138138, -0.2797994911670685, 0.04090253636240959, 0.003151401411741972, -0.054628435522317886, 0.022056538611650467, 0.006654789671301842, -0.00023353025608230382, -0.05464804172515869, -0.026806224137544632, 0.024950793012976646, -0.05281900614500046, -0.03248796984553337, -0.0011270471150055528, 0.048780083656311035, 0.007707458455115557, 0.059516020119190216, 0.03671107068657875, -0.012241920456290245, -0.015772102400660515, 0.04618731513619423, -0.019093509763479233, -0.08008456975221634, 0.008587737567722797, 0.029209671542048454, 0.0398712083697319, 0.052611447870731354, -0.08819746226072311, 0.05526703596115112, -0.04572610557079315, -0.005747304297983646, 0.0025444235652685165, 0.020766649395227432, -0.009481734596192837, -0.010951314121484756, -0.022224903106689453, -0.00566868344321847, 0.0333823598921299, 0.021310022100806236, -0.020724104717373848, 0.007897837087512016, -0.009185095317661762, -0.018275508657097816, 0.0016799477161839604, 0.012971144169569016, 0.06028883159160614, -0.0027603688649833202, -0.08137189596891403, 0.0006450614891946316, -0.01360530499368906, 0.08619999140501022, -0.04376785457134247, -0.025678884238004684, 0.011163926683366299, 0.04522532597184181, -0.01475816685706377, -0.03976204991340637, -0.008389708586037159, -0.022597536444664, -0.04498370364308357, -0.012788019143044949, -0.016009991988539696, -0.024139631539583206, -0.0019865098875015974, -0.04143764078617096, -0.010306518524885178, -0.05085669830441475, -0.07761548459529877, -0.01816236972808838, 0.06379345059394836, -0.004539991728961468, -0.04924499988555908, 0.029390132054686546, -0.003538719145581126, -0.1077333390712738, -0.01777005009353161, -0.01984252780675888, -0.023902032524347305, 0.003958974499255419, 0.016795754432678223, 0.05946797877550125, -0.012814904563128948, -0.0512005090713501, -0.012517530471086502, 0.004130337852984667, 0.023057375103235245, 0.0016519721830263734, 0.03733097016811371, 0.028642326593399048, -0.03791229426860809, 0.005391263868659735, 0.07683499157428741, 0.006509001832455397, -0.03297315165400505, -0.019942961633205414, 0.042457856237888336, -0.0008490338805131614, 0.020961804315447807, -0.011155853047966957, -0.0011688008671626449, 0.03770670294761658, 0.0051162526942789555, -0.0506807416677475, 0.03372090309858322, -0.03307272121310234, -0.008872934617102146, -0.022483255714178085, -0.05135119706392288, 0.010353618301451206, 0.028212862089276314, 0.03361634910106659, -0.006647649686783552, -0.031722940504550934, 0.016933457925915718, -0.06003523990511894, -0.04089667648077011, -0.016692638397216797, -0.0014793528243899345, 0.0487629659473896, -0.02624645084142685, -0.01663128286600113, -0.045204147696495056, 0.00703534297645092, -0.021187353879213333, -0.0037303282879292965, -0.05457741767168045, -0.03587767109274864, -0.017874697223305702, -0.013119210489094257, 0.019334429875016212, 0.02097245678305626, -0.016869723796844482, 0.01893232949078083, 0.027996744960546494, -0.031570859253406525, 0.014629460871219635, -0.011364332400262356, -0.06229574605822563, -0.030882881954312325, 0.010034930892288685, -0.0019017246086150408, -0.015811564400792122, 0.010792098939418793, 0.0030861645936965942, 0.009540020488202572, 0.029296275228261948, 0.0115579292178154, 0.027705376967787743, -0.00572369247674942, 0.04104209318757057, 0.00571501674130559, 0.013309205882251263, -0.06796517223119736, 0.0006755824433639646, -0.044098395854234695, -0.046333566308021545, -0.031368188560009, 0.03719368204474449, -0.022789495065808296, -0.013199522159993649, 0.0027503143064677715, 0.015709467232227325, -0.0594048798084259, -0.03278893232345581, -0.022762969136238098, 0.024602999910712242, 0.0725446343421936, -0.011282200925052166, 0.017082305625081062, -0.018810104578733444, -0.020964324474334717, -0.0016209672903642058, 0.021203624084591866, -0.03508085757493973, 0.0071219587698578835, 0.03483903408050537, 0.004193560220301151, 0.0037052270490676165, 0.007831751368939877, 0.0494258776307106, 0.010175984352827072, -0.0034964748192578554, -0.025486242026090622, -0.0007061294745653868, 0.02249196358025074, 0.03919193893671036, 0.0070158992893993855, 0.006222530733793974, 0.0026000686921179295, -0.0351143553853035, -0.02296041138470173, -0.035208091139793396, 0.0010791899403557181, 0.010179957374930382, 0.011955680325627327, -0.033375777304172516, -0.08362337946891785, 0.07519126683473587, 0.022733135148882866, 0.011761692352592945, 0.0014978166436776519, 0.009743932634592056, -0.002080880105495453, -0.009124631993472576, 0.04090958833694458, 0.047079235315322876, -0.05960722640156746, -0.015398817136883736, -0.019057994708418846, 0.0051383874379098415, 0.0007071743602864444, 0.008305350318551064, -0.03940356895327568, -0.044096365571022034, -0.009906884282827377, 0.00862796138972044, -0.029615337029099464, -0.014929888769984245, -0.023631207644939423, 0.0058541325852274895, -0.006483655888587236, 0.000759109971113503, -0.028395384550094604, -0.004058242775499821, -0.008141588419675827, -0.03789319097995758, 0.03330647945404053, -0.01691211573779583, -0.008944647386670113, -0.009805616922676563, -0.03677051514387131, -0.0006528138765133917, -0.04660249128937721, -0.0034097828902304173, -0.0007218801765702665, -0.017128901556134224, 0.006651680450886488, -0.02476787194609642, 0.010668200440704823, -0.0003168406547047198, 0.03393789008259773, -0.022462164983153343, -0.011086505837738514, -0.014843739569187164, -0.021700719371438026, -0.058907173573970795, 0.009151638485491276, -0.032935090363025665, -0.006539919413626194, 0.012767593376338482, 0.07095436006784439, 0.012460841797292233, 0.03291447460651398, -0.01316755823791027, -0.019304905086755753, 0.05054626613855362, -0.07778885960578918, -0.028037667274475098, -0.03749949857592583, -0.05960436537861824, 0.00015369942411780357, 0.015635618939995766, 0.007957089692354202, -0.047560080885887146, 0.04267490655183792, 0.015402916818857193, 0.032396964728832245, 0.03388627991080284, -0.002999342978000641, 0.025297190994024277, -0.05130324885249138, 0.013175664469599724, -0.08356153964996338, -0.004401336424052715, 0.015891466289758682, 0.0018371393671259284, -0.016326501965522766, 0.0019741873256862164, -0.030372338369488716, 0.03289446979761124, -0.07217767834663391, -0.02379102259874344, 0.0557832196354866, -0.015204654075205326, -0.004419129807502031, 0.013923143036663532, -0.07143479585647583, 0.0342274084687233, 0.017493344843387604, -0.04211101308465004, -0.01664503663778305, -0.03576447442173958, 0.04871470108628273, 0.02147434651851654, 0.02971612475812435, -0.03667362779378891, -0.01975538767874241, 0.06593062728643417, 0.00496864877641201, -0.01393982581794262, 0.05224241688847542, 0.01492581982165575, 0.03416527435183525, 0.026852620765566826, 0.012753847055137157, -0.010939535684883595, 0.004621388856321573, -0.013509317301213741, -0.046891845762729645, 0.027072284370660782, 0.0014361669309437275, -0.024752922356128693, -0.011984146200120449, 0.06271779537200928, 0.019855229184031487, -0.03588190674781799, -0.061763741075992584, 0.011969683691859245, -0.059791199862957, -0.006640254054218531, -0.030277779325842857, 0.0040092505514621735, -0.058604929596185684, 0.042030300945043564, -0.010519841685891151, 0.01221358124166727, 0.05920063704252243, -0.026670044288039207, -0.011272706091403961, -0.039728593081235886, 0.09301723539829254, 0.07832915335893631, 0.07983477413654327, 0.0015474464744329453, 0.06399746984243393, -0.02363007143139839, -0.0564415417611599, 0.01634666882455349, 0.0036777521017938852, -0.0047941263765096664, -0.03563923388719559, 0.013952150009572506, 0.05143285542726517, -0.020223068073391914, 0.056836213916540146, -0.016246946528553963, -0.01185773964971304, 0.010426678694784641, 0.028949659317731857, 0.0052087754011154175, 0.05977330356836319, 0.015572475269436836, 0.02498922497034073, -0.028974944725632668, -0.03845977410674095, 0.04194991663098335, -0.0483880452811718, -0.013675916008651257, 0.04155617579817772, 0.00865741353482008, 0.02526804804801941, -0.0008382259402424097, 0.03996231406927109, 0.08478939533233643, -0.03511085733771324, 0.0284724198281765, -0.007902747020125389, 0.02961011976003647, -0.0038645630702376366, 0.006876854691654444, -0.030072296038269997, -0.0335213728249073, 0.011958697810769081, -0.029694175347685814, -0.010030010715126991, -0.008488339371979237, -0.03328578919172287, 0.05415121093392372, -0.016316523775458336, 0.0001942283706739545, 0.04056289419531822, 0.012526626698672771, -0.03818270564079285, -0.04545500501990318, -0.031712982803583145, -0.01510563213378191, -0.05015488341450691, -0.0012013553641736507, 0.03000462055206299, 0.005480964668095112, -0.0300068948417902, -0.012607279233634472, -0.012134462594985962, -0.03772485628724098, 0.047106675803661346, -0.030729597434401512, -0.02601044625043869, -0.012755386531352997, 0.0064530884847044945, 0.012005215510725975, 0.024294879287481308, 0.04066966474056244, -0.004064164124429226, -0.004407993517816067, -0.018577920272946358, 0.02424665540456772, 0.027325903996825218, 0.002278232015669346, 0.012323889881372452, -0.08591674268245697, 0.04146347939968109, 0.03403877466917038, -0.004795865621417761, -0.06659574061632156, 0.038572780787944794, 0.0014990093186497688, -0.03358154743909836, 0.046088241040706635, -0.0000296646812785184, 0.03204644098877907, -0.014987917616963387, -0.006858901120722294, -0.020079823210835457, 0.0342535525560379, 0.036720748990774155, -0.009948119521141052, 0.09797877073287964, 0.028507433831691742, -0.023310575634241104, -0.054460715502500534, 0.0006879842840135098, 0.004265333991497755, -0.0037831643130630255, -0.015642404556274414, -0.025025909766554832, -0.01988334394991398, -0.061470940709114075, -0.025266410782933235, 0.020139245316386223, -0.017803601920604706, -0.021275391802191734, 0.03272551670670509, 0.04357588291168213, -0.04431774467229843, 0.012036275118589401, -0.03915266692638397, 0.03735258802771568, -0.01882193237543106, -0.036766067147254944, -0.00030343339312821627, 0.01203363761305809, 0.00643713865429163, 0.02271302416920662, 0.008765734732151031, -0.05207303911447525, 0.02405465766787529, 0.011222898960113525, 0.02773934416472912, 0.027027560397982597, 0.020351527258753777, -0.014211381785571575 ]
[ -0.11858411133289337, 0.000047535701014567167, -0.026737134903669357, -0.041268520057201385, 0.04256678745150566, -0.026993997395038605, -0.05577532574534416, 0.024981794878840446, -0.002317915204912424, -0.005031266249716282, 0.007845074869692326, 0.01435042917728424, -0.011576456017792225, -0.028346959501504898, 0.06604917347431183, 0.0148273054510355, -0.00321475719101727, -0.04352402314543724, 0.01817907579243183, 0.033816128969192505, 0.01545016560703516, -0.047238510102033615, -0.046112269163131714, 0.009712325409054756, 0.011360053904354572, 0.03139504790306091, 0.02477463334798813, -0.040008578449487686, 0.005983254406601191, -0.19284272193908691, -0.005862749647349119, 0.023414382711052895, 0.038065485656261444, -0.013380776159465313, 0.01770074851810932, 0.05717477202415466, 0.02051038108766079, 0.001590498723089695, -0.01098333578556776, 0.049227628856897354, 0.026971738785505295, 0.0034552612341940403, -0.03958169370889664, -0.009273719973862171, 0.029854435473680496, 0.02542448602616787, 0.01289607584476471, -0.05529739707708359, -0.021739650517702103, 0.011502346023917198, -0.043552812188863754, -0.022287219762802124, -0.019183676689863205, -0.02466694824397564, -0.01181438472121954, 0.05516226962208748, 0.030322793871164322, 0.06338230520486832, 0.004067977890372276, 0.005770133808255196, 0.022432731464505196, -0.02054459974169731, -0.13718506693840027, 0.06954902410507202, 0.0492996945977211, 0.048764243721961975, -0.05037695914506912, -0.02231624722480774, 0.00813817884773016, 0.089375801384449, -0.010444032028317451, -0.03140083700418472, -0.018389472737908363, 0.03238723799586296, 0.016750814393162727, 0.03407672792673111, -0.004579893779009581, 0.013123691082000732, 0.017458878457546234, -0.049784108996391296, -0.011403652839362621, -0.009556449018418789, -0.04314063861966133, -0.014880618080496788, -0.05867812782526016, 0.02529653161764145, -0.019501160830259323, 0.04966629669070244, 0.03178626671433449, 0.01714247278869152, 0.0627269372344017, 0.003071447368711233, 0.07595696300268173, -0.00660726660862565, -0.09014295786619186, -0.007397066801786423, -0.0013058010954409838, 0.0130362119525671, -0.03684881702065468, 0.4867697060108185, -0.016303058713674545, -0.021278182044625282, 0.08652401715517044, 0.03893732279539108, 0.0036864958237856627, -0.0007503508822992444, 0.01679489202797413, -0.03548172116279602, 0.05431978404521942, -0.02611648291349411, 0.01462631020694971, 0.0324595645070076, 0.06850127130746841, -0.02788100577890873, 0.017417404800653458, 0.03834904357790947, 0.0022720168344676495, 0.02364169992506504, 0.00015942996833473444, -0.01300793420523405, -0.021981386467814445, 0.013582858256995678, 0.018684307113289833, 0.014065880328416824, -0.027015671133995056, -0.04042428359389305, 0.022687848657369614, 0.04521259665489197, 0.016431797295808792, 0.024199334904551506, 0.04991332069039345, -0.04371507465839386, -0.04801121726632118, -0.0066133649088442326, 0.002150418935343623, 0.008306728675961494, 0.010056562721729279, -0.022244762629270554, 0.00860167108476162, 0.039050012826919556, 0.007856408134102821, 0.017276186496019363, 0.012402493506669998, -0.008490991778671741, -0.03579264506697655, 0.08642229437828064, 0.046961840242147446, -0.03567821905016899, -0.017378462478518486, -0.0038567730225622654, 0.011469834484159946, -0.00008800558134680614, 0.0017715388676151633, -0.059027254581451416, 0.0241945069283247, 0.003794151358306408, 0.08312787860631943, -0.010798302479088306, -0.061605244874954224, -0.006804557982832193, -0.006837933324277401, -0.013593717478215694, -0.07866116613149643, 0.06053381413221359, 0.07115478813648224, -0.10641054064035416, -0.028413962572813034, -0.0018033822998404503, 0.03326258063316345, -0.04335474222898483, -0.009288938716053963, 0.008169698528945446, -0.002988857915624976, -0.003177021862939, 0.07684750109910965, -0.012576437555253506, -0.02667037397623062, 0.001810701796784997, 0.05343417450785637, 0.016886552795767784, 0.020099354907870293, 0.012900900095701218, -0.04899253323674202, 0.00394872622564435, -0.033903684467077255, -0.07689906656742096, -0.04609179496765137, -0.017416203394532204, -0.04321245476603508, 0.018562303856015205, -0.03394032269716263, 0.020379170775413513, -0.08345057815313339, 0.10502602905035019, -0.02385559305548668, -0.03140335902571678, 0.009614326059818268, -0.007241385988891125, -0.01969912461936474, -0.02864164672791958, -0.0813797265291214, 0.020008159801363945, -0.04724866524338722, 0.017581559717655182, -0.06174468994140625, 0.03827974945306778, 0.032830044627189636, -0.04788251221179962, 0.08028194308280945, 0.04916537553071976, -0.03911415487527847, -0.04987481236457825, 0.0452616885304451, 0.020406441763043404, 0.005464199464768171, -0.013368846848607063, -0.012051509693264961, 0.02324002981185913, 0.0015254912432283163, -0.003948581404983997, 0.011793266050517559, 0.02884933352470398, -0.02807622402906418, -0.3290793299674988, -0.02948775142431259, -0.035349711775779724, -0.022906290367245674, 0.017663579434156418, -0.06702672690153122, 0.024415692314505577, -0.0195146556943655, -0.04306069761514664, -0.0013217662926763296, 0.05024608224630356, -0.01726137287914753, 0.006191744469106197, -0.06682378053665161, -0.0013377525610849261, -0.008747497573494911, -0.03835730627179146, -0.027412334457039833, -0.053115397691726685, -0.0015764926793053746, 0.018640562891960144, -0.010052998550236225, 0.0012544430792331696, -0.05695560574531555, -0.006162866018712521, -0.048883870244026184, 0.07989458739757538, -0.02817154861986637, 0.10628722608089447, -0.0018072379752993584, 0.02764410898089409, 0.009393339976668358, 0.021771695464849472, -0.08924135565757751, 0.02097265049815178, 0.03010302223265171, 0.016018182039260864, -0.02557196468114853, 0.017898088321089745, -0.043099477887153625, -0.05920948088169098, 0.012226635590195656, -0.07562268525362015, -0.04177689179778099, -0.06601494550704956, 0.01083417795598507, -0.024586878716945648, -0.049292974174022675, -0.03528568893671036, 0.07886584848165512, 0.025452323257923126, -0.01699882559478283, 0.007481215987354517, 0.02179826609790325, -0.014063680544495583, -0.01668606512248516, -0.06933887302875519, 0.019709879532456398, 0.015317967161536217, 0.009344427846372128, 0.022571107372641563, 0.08593105524778366, 0.02555515058338642, -0.04869174212217331, 0.03712569177150726, -0.007519513834267855, 0.001160604995675385, 0.013216167688369751, 0.04104442149400711, -0.04495353251695633, -0.011701373383402824, 0.0834580734372139, -0.0012837526155635715, -0.02906441129744053, 0.006577010732144117, 0.050539661198854446, -0.037506915628910065, 0.036461979150772095, 0.008305421099066734, -0.01664234884083271, 0.007783852051943541, -0.041215620934963226, 0.031204644590616226, -0.012848183512687683, -0.015544973313808441, 0.016077719628810883, -0.024418601766228676, -0.05480973422527313, 0.03953268751502037, 0.023024067282676697, -0.03953666239976883, 0.0021223737858235836, -0.02790832705795765, -0.033670634031295776, 0.08628878742456436, -0.0013809006195515394, -0.2406875044107437, 0.0042358641512691975, 0.055592916905879974, 0.03478001803159714, -0.004415077622979879, 0.04264255240559578, 0.019934123381972313, -0.04499069228768349, 0.015521240420639515, 0.03472253307700157, 0.036506764590740204, 0.013115332461893559, -0.001003345474600792, -0.003525051288306713, 0.04139034077525139, -0.028673868626356125, 0.0416756235063076, -0.016305675730109215, 0.019629305228590965, -0.011208663694560528, 0.011236845515668392, -0.016197511926293373, 0.1344694346189499, 0.014965253882110119, 0.04146939888596535, 0.014611031860113144, 0.014921286143362522, 0.02513015642762184, 0.0644499659538269, 0.01500280573964119, 0.0009592362912371755, 0.0012693066382780671, 0.03535476326942444, -0.00580143928527832, 0.004170641303062439, -0.07984016090631485, -0.030585981905460358, 0.01844863034784794, 0.00946306623518467, 0.01121003832668066, 0.011160356923937798, 0.012043516151607037, -0.02312907576560974, 0.012964161112904549, 0.05036783218383789, 0.01474452018737793, -0.01026254240423441, -0.027660535648465157, -0.03372437506914139, -0.013977756723761559, -0.03516530618071556, -0.025707634165883064, -0.002785761607810855, -0.014355295337736607, 0.015335549600422382, 0.07747571915388107, 0.020863240584731102, -0.02103615738451481, -0.007789052091538906, -0.011457987129688263, -0.02166251838207245, -0.028793873265385628, 0.12705332040786743, 0.05273720994591713, 0.019339783117175102 ]
[ -0.001051410916261375, 0.017194991931319237, -0.02580897882580757, -0.02330770157277584, -0.02805796079337597, 0.003491317620500922, -0.017172034829854965, 0.027563730254769325, -0.017626749351620674, -0.005913905333727598, 0.0022446862421929836, 0.03215659782290459, 0.06152074411511421, -0.018349388614296913, 0.019212571904063225, -0.020425846800208092, 0.0051281750202178955, -0.012255005538463593, 0.020065994933247566, -0.012801535427570343, -0.02662980556488037, 0.00936621893197298, -0.017277849838137627, -0.007420392706990242, 0.005070027429610491, 0.009393283165991306, -0.029295671731233597, 0.009517120197415352, 0.026977503672242165, -0.12251948565244675, -0.013903241604566574, -0.027593061327934265, 0.009975538589060307, 0.036028020083904266, 0.027037659659981728, -0.021452849730849266, 0.019884806126356125, -0.00808426272124052, 0.02373083308339119, -0.03222448378801346, 0.013813665136694908, 0.0064926110208034515, 0.014414388686418533, 0.0013604648411273956, 0.0021643908694386482, 0.018371207639575005, -0.03513467311859131, -0.04589354246854782, -0.014407344162464142, -0.0039724744856357574, -0.03289567679166794, -0.0047132279723882675, 0.013880828395485878, 0.01433664932847023, 0.05047430843114853, -0.00376529386267066, 0.017388558015227318, 0.01482364721596241, 0.004301673732697964, -0.04676255211234093, -0.007715569343417883, -0.016456225886940956, -0.045975472778081894, -0.01668831892311573, -0.02522949129343033, -0.013373611494898796, -0.026715384796261787, 0.010409949347376823, -0.03655780479311943, -0.017199981957674026, -0.022402631118893623, 0.02668599970638752, -0.027193870395421982, -0.028668882325291634, 0.005495123565196991, 0.012812023051083088, 0.009035873226821423, 0.019165044650435448, 0.02748801000416279, -0.015965014696121216, -0.021217774599790573, 0.042775172740221024, -0.006357862614095211, -0.0058867656625807285, -0.002465783851221204, 0.0033159716986119747, -0.012693994678556919, -0.043827153742313385, 0.027794841676950455, 0.023911267518997192, -0.00210753851570189, 0.027488432824611664, -0.010330142453312874, -0.016589563339948654, -0.08090369403362274, -0.015114448964595795, 0.008498606272041798, -0.020217277109622955, -0.0022658109664916992, 0.8788762092590332, -0.027785442769527435, 0.0017036446370184422, 0.029142215847969055, -0.012272638268768787, -0.014173967763781548, -0.00870734266936779, -0.008522829972207546, 0.020939521491527557, 0.036578986793756485, -0.015957897529006004, -0.004370226990431547, 0.010826612822711468, 0.01958513632416725, 0.004091715905815363, 0.02437637560069561, 0.021659575402736664, 0.020795663818717003, -0.0011851974995806813, -0.000539569475222379, 0.007482350803911686, 0.025877173990011215, -0.0016401575412601233, -0.00796382874250412, 0.017603063955903053, 0.02836626209318638, -0.1580916941165924, 0.020365599542856216, -9.264175303954083e-33, 0.0120846601203084, -0.011442768387496471, -0.020936153829097748, 0.023813074454665184, 0.0006362834828905761, -0.007299183402210474, 0.02689228765666485, 0.0007393758278340101, 0.010002978146076202, -0.039005670696496964, -0.0016344004543498158, 0.03542493283748627, 0.0070807733573019505, -0.004457790404558182, 0.03271570801734924, -0.023648714646697044, -0.011468696407973766, 0.031102580949664116, 0.028544602915644646, 0.002978707430884242, 0.05590788275003433, 0.03255579248070717, 0.016814058646559715, -0.005742169916629791, 0.04784915968775749, 0.0279256422072649, 0.017631424590945244, 0.005566645413637161, -0.005133285652846098, -0.03407387062907219, -0.020894942805171013, 0.01932869851589203, -0.011932744644582272, -0.02963053248822689, 0.0020683121401816607, -0.02517998218536377, -0.023298034444451332, -0.01199789997190237, -0.01064190175384283, -0.015482557006180286, -0.019460028037428856, -0.014380363747477531, -0.03353361040353775, 0.024365507066249847, 0.006454461719840765, -0.012206146493554115, 0.03169296681880951, 0.023705657571554184, 0.012447635643184185, -0.027965949848294258, 0.0050100586377084255, 0.004134348127990961, 0.015806475654244423, -0.006074431352317333, -0.02558605931699276, 0.0032591831404715776, -0.025831693783402443, 0.002845521317794919, 0.0017603995511308312, 0.001742512104101479, 0.03187638521194458, -0.007065570447593927, -0.03778567537665367, 0.03656528890132904, 0.0026981374248862267, -0.02373332716524601, -0.013226810842752457, 0.015691010281443596, 0.023210681974887848, -0.028245339170098305, -0.0228485818952322, -0.048291608691215515, -0.013316843658685684, -0.009879246354103088, -0.005413889419287443, -0.008819309063255787, -0.011239415965974331, 0.039832066744565964, -0.005566572770476341, 0.014193951152265072, -0.0011216605780646205, -0.0034641914535313845, -0.017452053725719452, -0.00956247840076685, 0.017071835696697235, 0.01577579416334629, 0.01915503665804863, -0.007626126520335674, 0.0020669978111982346, -0.0018457421101629734, 0.029191721230745316, -0.024249881505966187, 0.027599386870861053, -0.0020506195724010468, 0.004853916820138693, 8.914393735555465e-33, -0.01159295067191124, -0.021859029307961464, 0.001835930859670043, -0.0002607018395792693, 0.047284647822380066, -0.01639987900853157, 0.006490745116025209, -0.017886273562908173, -0.06031552329659462, 0.023179620504379272, -0.02119618095457554, 0.003247356740757823, -0.0347493551671505, 0.035353828221559525, 0.02898932434618473, -0.005676880944520235, 0.010343994945287704, -0.018333958461880684, 0.020344320684671402, 0.017464321106672287, 0.0029351962730288506, 0.024382978677749634, 0.004136630333960056, 0.012013697996735573, 0.028658531606197357, 0.06855818629264832, -0.012236157432198524, 0.017991144210100174, 0.016486775130033493, -0.01662127487361431, -0.0034917262382805347, -0.012925717048346996, 0.009686148725450039, 0.004826694261282682, -0.01563984900712967, 0.030049758031964302, -0.009990709833800793, -0.029906868934631348, -0.014008372090756893, -0.00035847979597747326, 0.022922566160559654, -0.01035497710108757, 0.0024397321976721287, 0.004990516696125269, 0.007696470245718956, 0.024541808292269707, -0.02384333685040474, -0.03604988753795624, -0.02880328707396984, 0.009477561339735985, -0.007415712811052799, 0.03581567481160164, 0.029423339292407036, 0.02212170884013176, 0.0019580740481615067, -0.023447299376130104, -0.024771414697170258, -0.0034658315125852823, -0.01021762378513813, 0.009237409569323063, -0.0034082825295627117, 0.023678475990891457, -0.020269153639674187, 0.001830731169320643, -0.02222820185124874, -0.019550234079360962, -0.021214941516518593, 0.007399523165076971, 0.0035238773562014103, -0.009340107440948486, -0.020419342443346977, 0.005502321757376194, -0.002610243624076247, 0.01391280721873045, 0.007694621104747057, -0.007494403515011072, -0.022397318854928017, 0.013566665351390839, -0.008237333968281746, 0.013582906685769558, -0.034474484622478485, -0.015296840108931065, -0.010918223299086094, -0.01066205557435751, 0.004579881671816111, 0.020322803407907486, -0.03426371142268181, 0.03661232069134712, 0.002286936854943633, 0.0014120176201686263, -0.01133763324469328, -0.03991355374455452, 0.023755844682455063, 0.01792345941066742, 0.0022540173958986998, -1.4247878432627203e-8, 0.007122667971998453, 0.014235040172934532, -0.030703790485858917, -0.0036298835184425116, 0.009746312163770199, 0.004737710114568472, -0.038820065557956696, -0.0027487019542604685, -0.03085564449429512, 0.026507847011089325, 0.04950735718011856, -0.030846191570162773, 0.009573145769536495, -0.002284700283780694, -0.012219564989209175, -0.01668291538953781, -0.006209502927958965, -0.026845157146453857, 0.027009347453713417, 0.04029414802789688, 0.006774357054382563, 0.0453324057161808, -0.036278728395700455, 0.027105875313282013, 0.027969062328338623, 0.01112655084580183, -0.005060899071395397, -0.07769504189491272, -0.006679181940853596, 0.014834464527666569, -0.012872363440692425, -0.012131794355809689, -0.049107685685157776, 0.01665431447327137, -0.008756413124501705, -0.0312776044011116, 0.04291306436061859, -0.0014942387351766229, -0.0052332826890051365, 0.0010307605843991041, 0.019853444769978523, 0.004116683267056942, -0.022905133664608, -0.037458986043930054, -0.013467155396938324, -0.00017426570411771536, -0.014578772708773613, -0.020227544009685516, 0.01500063668936491, -0.040480490773916245, 0.007109070662409067, 0.0013388784136623144, 0.008108697831630707, 0.04754462093114853, 0.016587402671575546, -0.011740797199308872, 0.0034607520792633295, 0.02651127055287361, -0.011922397650778294, 0.014944632537662983, 0.01968337967991829, 0.023170873522758484, -0.016122963279485703, -0.023084508255124092 ]
book-club-an-agile-approach-to-a-legacy-system-chris-stevenson-and-andy-pols
https://markhneedham.com/blog/2009/07/15/book-club-an-agile-approach-to-a-legacy-system-chris-stevenson-and-andy-pols
false
2009-07-12 17:14:13
F#: A day writing a Feedburner graph creator
[ "f" ]
[ "fsharp" ]
I've spent a bit of the day writing a little application to take the xml from my https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=markneedham&dates=2009-03-01,2009-03-27[Feedburner RSS feed] and create a graph showing the daily & weekly average subscribers. == What did I learn? * I decided that I wanted to parameterise the feedburner url so that I would be able to run the code for different time periods and against different feeds. In C# we'd probably make use of 'string.Format()' which has an equivalent in F# called 'sprintf' My initial thought was that I would be able to do something like this: ~~~ocaml let ShowFeedBurnerStats feed = let statsUrl = "https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=%s&dates=2009-01-01,2009-07-11" sprintf statsUrl feed |> GetXml // more code ~~~ Which actually results in the following compilation error: ~~~text The type 'string' is not compatible with the type 'Printf.StringFormat ~~~ After a bit of searching I found http://cs.hubfs.net/forums/thread/6341.aspx[a post by Robert Pickering where he explains that the format string needs to be next to the sprintf function to work as expected]: ~~~ocaml let ShowFeedBurnerStats feed = let statsUrl = sprintf "https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=%s&dates=2009-01-01,2009-07-11" statsUrl feed |> GetXml // more code ~~~ 'statsUrl' therefore becomes a function taking in a 'string' and returning a 'string'. * I'm still trying to work out the best way to decompose the code I write into functions which make sense in terms of the domain I'm working in. I often found myself *splitting up a function along the boundary of where any I/O interaction was happening* so that I could execute the I/O function and save the data before using it in another function which I would execute a lot more frequently (using F# interactive) while I was tweaking it. * I still haven't come up with a completely satisfactory approach to coding these little applications - right now I'm finding that the feedback cycle is significantly quicker if I just write functions and then run them in F# interactive and then tweak anything which isn't working as expected. I didn't write any unit tests while coding this although I did find myself writing shorter functions than I originally did when writing my little twitter application. The problem of not writing the tests is that I lose the protection against regression that I would otherwise get. * I still have a bit of a http://www.markhneedham.com/blog/2009/06/02/f-tuples-dont-seem-to-express-intent-well/[love hate relationship with tuples] - I found myself making use of them early on when I was focused on getting the code to work and I could still understand the code easily. Originally I was only storing 'date' and 'circulation' in the tuple but once I added a third value to the tuple ('weeklyAverage') it became too confusing for me to understand so I decided to introduce the 'FeedBurnerStats' type to simplify things for myself. * I ended up writing a function called 'Join' which is quite similar to 'Seq.zip' because I wanted to join two sequences together but only join items which had the same date (the 'string' value in the tuple). Therefore, if I had some data like this: 'dailyStats' ~~~ocaml "2009-01,07", 200 "2009-01,08", 222 ~~~ 'weeklyAverages' ~~~ocaml "2009-01,07", 300 "2009-01,08", 322 ~~~ I wanted the join of the two sequences to look like this: ~~~ocaml "2009-01,07", 200, 300 "2009-01,08", 222, 322 ~~~ Which wasn't working as expected when I used 'Seq.zip' - the items that were getting matched together seemed to be quite random to me. ~~~ocaml let Join (dailyStats:seq<decimal*string>) (weeklyAverages:seq<decimal*string>) = dailyStats |> Seq.map (fun d \-> { Date = d |> snd; Circulation = d |> fst; WeeklyAverage = weeklyAverages |> Seq.find (fun w \-> snd d = snd w) |> fst}) ~~~ </ul> I've included the code is at the end of the post - there are some areas where I don't really like the way I've solved a problem but I'm not sure of a better way at the moment. In particular: ** I wanted to make use of 'Seq.windowed' to find the rolling weekly average but I needed it to go back 7 days rather than forward 7 days which meant I needed to reverse the sequence. Right now I've done this by converting it to a list and using 'List.rev' to do so but this seems like a fairly inefficient way of doing this. The alternative seemed to be to write a function to change the order of the items in the sequence but again this doesn't seem like a great approach. ** *What do you do with functions which are only used by one other areas of the code?* For example 'ConvertToCommaSeparatedString' is only used by 'CreateGoogleGraphUri' so I defined it inside that function - I could then pull it to a function in its own right if other areas of the code need it. I did this to reduce the clutter of functions hanging around but it then makes 'CreateGoogleGraphUri' more difficult to read. + I decided to run it against some blogs I follow to see what the graphs, created using http://chart.apis.google.com/[Google's Charts API], would look like: ~~~ocaml ShowFeedBurnerStats "scotthanselman" "2009-03-01" "2009-07-11";; ShowFeedBurnerStats "youdthinkwithallmy" "2009-03-01" "2009-07-11";; ShowFeedBurnerStats "codinghorror" "2009-03-01" "2009-07-11";; ~~~ image:{{<siteurl>}}/uploads/2009/07/hanselman.png[hanselman.png,600] image:{{<siteurl>}}/uploads/2009/07/jasonyip.png[jasonyip.png,600] image:{{<siteurl>}}/uploads/2009/07/codinghorror.png[codinghorror.png,600] Interestingly you can actually see the points where feedburner for some reason counted a particular days circulation as being 0. And here's the code: ~~~ocaml open System.IO open System.Net open Microsoft.FSharp.Control open System.Xml.Linq open System let downloadUrl (url:string) = async{ let request = HttpWebRequest.Create(url) let! response = request.AsyncGetResponse() let stream = response.GetResponseStream() use reader = new StreamReader(stream) return! reader.AsyncReadToEnd() } let xName value = XName.Get value let GetDescendants element (xDocument:XDocument) = xDocument.Descendants(xName element) let GetAttribute element (xElement:XElement) = xElement.Attribute(xName element) let GetXml = downloadUrl >> Async.Run >> XDocument.Parse let GetDateAndCirculation (document:XDocument) = document |> GetDescendants "entry" |> Seq.map (fun element \-> GetAttribute "circulation" element, GetAttribute "date" element) |> Seq.map (fun attribute \-> Decimal.Parse((fst attribute).Value), (snd attribute).Value) let CalculateAverage days (feedStats:seq<decimal * string>) = let ReverseSequence (sequence:seq+++<_>+++) = sequence |> Seq.to_list |> List.rev |> List.to_seq feedStats |> ReverseSequence |> Seq.windowed days |> Seq.map (fun x \-> x |> Array.map (fun y \-> y |> fst) |> Array.average, x.[0] |> snd) |> ReverseSequence let CalculateWeeklyAverage (feedStats:seq<decimal * string>) = CalculateAverage 7 feedStats type FeedBurnerStats = { Date : string; Circulation: decimal; WeeklyAverage: decimal } let Join (dailyStats:seq<decimal*string>) (weeklyAverages:seq<decimal*string>) = dailyStats |> Seq.map (fun d \-> { Date = d |> snd; Circulation = d |> fst; WeeklyAverage = weeklyAverages |> Seq.find (fun w \-> snd d = snd w) |> fst}) let GetFeedBurnerStats feed startDate endDate = let statsUrl = sprintf "https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=%s&dates=%s,%s" let allStats = GetDateAndCirculation (statsUrl feed startDate endDate |> GetXml) let weeklyAverages = allStats |> CalculateWeeklyAverage let dailyStats = allStats |> Seq.filter (fun x \-> weeklyAverages |> Seq.exists (fun y \-> snd y = snd x)) Join dailyStats weeklyAverages let CreateGoogleGraphUri feed (stats:seq+++<FeedBurnerStats>+++) = let ConvertToCommaSeparatedString (value:seq+++<string>+++) = let rec convert (innerVal:List+++<string>+++) acc = match innerVal with | [] \-> acc | hd::[] \-> convert [] (acc + hd) | hd::tl \-> convert tl (acc + hd + ",") convert (Seq.to_list value) "" let graphUrl = sprintf "http://chart.apis.google.com/chart?cht=lc&chtt=%s&&chco=000000,FF0000&chdl=WeeklyAverage|Daily&chs=600x240&chds=%s,%s&chd=t:%s|%s" let weeklyAverages = stats |> Seq.map (fun f \-> f.WeeklyAverage.ToString("f0")) |> ConvertToCommaSeparatedString let circulation = stats |> Seq.map (fun f \-> f.Circulation.ToString("f0")) |> ConvertToCommaSeparatedString let maximum = stats |> Seq.map (fun f \-> f.Circulation) |> Seq.max let minimum = stats |> Seq.map (fun f \-> f.Circulation) |> Seq.min new System.Uri(graphUrl feed (minimum.ToString("f0")) (maximum.ToString("f0")) weeklyAverages circulation) let ShowFeedBurnerStats feed startDate endDate = CreateGoogleGraphUri feed (GetFeedBurnerStats feed startDate endDate) ~~~+++</string>++++++</string>++++++</FeedBurnerStats>++++++</_>+++
null
null
[ 0.007184209767729044, -0.02370629273355007, 0.005745909176766872, 0.027581635862588882, 0.060105133801698685, 0.01029062271118164, 0.01354251429438591, 0.03528191149234772, 0.03674822300672531, 0.007670290768146515, -0.023508496582508087, -0.019937627017498016, -0.08622245490550995, 0.017770787701010704, 0.006250946316868067, 0.06853058934211731, 0.0838126391172409, -0.016950901597738266, 0.026310401037335396, -0.009691260755062103, 0.02703234739601612, 0.04163885489106178, -0.03527317941188812, 0.026563743129372597, 0.06103024259209633, 0.02474213019013405, 0.017911052331328392, -0.000020549909095279872, -0.046949371695518494, 0.0062622432596981525, 0.014595494605600834, 0.028453873470425606, 0.027560841292142868, -0.0022179221268743277, 0.005809011869132519, -0.02576102875173092, -0.00401726271957159, 0.028382163494825363, 0.0012316762004047632, 0.05980409309267998, -0.06686080247163773, 0.02537890523672104, -0.04454471915960312, 0.032004885375499725, -0.010958331637084484, 0.011955280788242817, -0.016113577410578728, 0.0004075959441252053, 0.0014292591949924827, 0.00834202952682972, -0.08058246225118637, 0.03395513817667961, -0.010758679360151291, 0.00034809342469088733, -0.026655109599232674, 0.05470992252230644, 0.029767673462629318, -0.044116634875535965, 0.018070189282298088, -0.024147773161530495, -0.00984430406242609, -0.025078492239117622, 0.006914275698363781, 0.025045916438102722, 0.0021220678463578224, -0.016562385484576225, -0.038069143891334534, 0.040203582495450974, -0.029732026159763336, -0.03566007316112518, -0.02123710699379444, 0.007697233464568853, -0.011466103605926037, 0.01186232827603817, 0.02897132746875286, -0.03606044501066208, -0.004618105012923479, 0.07150036096572876, 0.0026898516807705164, 0.05099920183420181, -0.003981636371463537, 0.05076849088072777, 0.04546144977211952, 0.013566285371780396, 0.0281680915504694, -0.04448797553777695, -0.04996560886502266, -0.01215116586536169, -0.017087090760469437, 0.07065851241350174, 0.012238050810992718, -0.08110456168651581, 0.01200506929308176, 0.029112011194229126, 0.005413553677499294, 0.025127049535512924, 0.019403986632823944, -0.01764151081442833, -0.019847525283694267, -0.057605206966400146, -0.06319569796323776, -0.007881462574005127, 0.029811721295118332, 0.02186664380133152, -0.05976484343409538, -0.014781516045331955, -0.05154002830386162, -0.019346192479133606, 0.03298647329211235, 0.001486381865106523, -0.03692993149161339, 0.020211299881339073, -0.032336004078388214, -0.02221660315990448, -0.07356484979391098, 0.04276176169514656, 0.009062833152711391, -0.04244871437549591, -0.0026449880097061396, 0.03788669407367706, 0.05628392845392227, 0.022081391885876656, -0.02030080556869507, 0.07005907595157623, -0.01968255266547203, 0.03513013944029808, 0.0033952309750020504, 0.04287351667881012, -0.023203173652291298, -0.039557792246341705, -0.03603515774011612, 0.03753998503088951, -0.0072048320434987545, -0.01395094208419323, -0.004846029449254274, -0.004506864584982395, -0.008061612024903297, -0.018072037026286125, 0.07483602315187454, 0.04396464675664902, -0.02314995974302292, -0.014123347587883472, -0.02352065220475197, -0.02653585746884346, 0.02444501593708992, 0.0073703583329916, -0.03366357088088989, -0.015904229134321213, -0.04322953149676323, 0.007056416478008032, 0.0028233076445758343, 0.0016641559777781367, 0.049438655376434326, -0.024872152134776115, -0.020615102723240852, 0.07075878977775574, 0.013287574984133244, -0.0006272529135458171, -0.0038971935864537954, 0.025796936824917793, 0.041351936757564545, 0.027781685814261436, -0.02158905193209648, 0.036221593618392944, 0.00018590518448036164, -0.008473447524011135, -0.0007044157246127725, 0.0006136472802609205, -0.04152838513255119, -0.026300285011529922, -0.07110428810119629, 0.014300450682640076, 0.07998492568731308, -0.022550363093614578, -0.014990825206041336, 0.02353624626994133, 0.07855711877346039, 0.000472167826956138, 0.03719554468989372, 0.006870395503938198, -0.06365718692541122, 0.02993699535727501, 0.010144319385290146, 0.018441516906023026, 0.021598530933260918, -0.004146573133766651, 0.08955991268157959, 0.033641230314970016, 0.015313416719436646, -0.0034374312963336706, -0.07159467041492462, -0.08677645772695541, -0.042982567101716995, -0.013203938491642475, 0.07895436137914658, -0.06389038264751434, 0.039490051567554474, 0.07217183709144592, 0.03180624917149544, 0.041930828243494034, 0.027698976919054985, -0.016878752037882805, 0.013809867203235626, -0.016225773841142654, -0.04413681849837303, 0.019362295046448708, 0.050255026668310165, -0.047187574207782745, -0.030061397701501846, 0.017374500632286072, -0.03059842251241207, 0.07601027935743332, 0.05673101916909218, -0.005678026471287012, 0.012355617247521877, 0.023482967168092728, 0.0413503423333168, -0.010848572477698326, 0.026454949751496315, -0.06348972767591476, 0.021561387926340103, -0.008962469175457954, -0.014584740623831749, -0.018219105899333954, -0.018700450658798218, 0.1541764885187149, 0.08619838207960129, -0.008014173246920109, -0.041417445987463, 0.022303616628050804, -0.010123283602297306, -0.016934428364038467, 0.010381093248724937, 0.004447708837687969, -0.033194996416568756, 0.013698951341211796, -0.04082139581441879, 0.015492139384150505, 0.01038644090294838, -0.04978864639997482, 0.04834086075425148, 0.059734780341386795, 0.0007421179325319827, 0.045432984828948975, -0.007093843538314104, -0.012388939037919044, -0.01650547981262207, -0.0036747974809259176, -0.028417931869626045, -0.000538878608494997, 0.030976558104157448, -0.00517385546118021, 0.06241816654801369, -0.033468812704086304, -0.05727849155664444, -0.008703965693712234, -0.04341921955347061, 0.026110786944627762, 0.04731382802128792, 0.05690080672502518, 0.02581797167658806, 0.005581145640462637, -0.039790887385606766, -0.010442286729812622, -0.00557479914277792, -0.04772450774908066, -0.02039365842938423, -0.015021061524748802, 0.027522480115294456, 0.06152663379907608, 0.024560118094086647, 0.00701171113178134, 0.013708692975342274, 0.03758228197693825, -0.033451009541749954, 0.005232576280832291, 0.057393964380025864, -0.02885495126247406, -0.002750376472249627, -0.033914852887392044, -0.017892921343445778, 0.0315520241856575, -0.025051256641745567, -0.035801298916339874, -0.04011324793100357, -0.04445195943117142, 0.048456836491823196, -0.06139984726905823, -0.06093304231762886, 0.01534995622932911, 0.004104695748537779, 0.04691138118505478, 0.028387676924467087, 0.05270346254110336, 0.053109221160411835, 0.009686529636383057, 0.009936400689184666, 0.0037733495701104403, -0.010909845121204853, 0.017229970544576645, -0.004602434113621712, -0.006498417817056179, 0.05530571565032005, -0.003342343494296074, -0.011990275233983994, -0.0617717020213604, 0.011455950327217579, -0.04126216098666191, -0.2787701487541199, 0.03647666797041893, -0.009464976377785206, -0.02738902159035206, 0.025142254307866096, -0.011761409230530262, 0.021147873252630234, -0.05017818883061409, -0.0010537272319197655, 0.030610859394073486, -0.013230867683887482, -0.011652619577944279, -0.021636269986629486, 0.023315418511629105, 0.00526057044044137, -0.01918875426054001, -0.00923953577876091, -0.04729154333472252, 0.030712921172380447, 0.02000955492258072, 0.014979933388531208, -0.039130616933107376, 0.011301612481474876, 0.04870797321200371, 0.03694850951433182, 0.04430876299738884, -0.05438067764043808, 0.01910916157066822, 0.00913222786039114, -0.01202885340899229, 0.03252734988927841, -0.02471824735403061, 0.03156479448080063, -0.030180132016539574, 0.008154304698109627, -0.022065473720431328, 0.005199172999709845, 0.012092957273125648, 0.024557815864682198, 0.010573668405413628, -0.045010071247816086, -0.05714685469865799, 0.0002528622862882912, -0.012342655099928379, 0.09682832658290863, -0.001324380631558597, -0.05022033676505089, 0.001620225957594812, -0.045900989323854446, 0.04518882557749748, -0.03200189396739006, -0.05070561170578003, -0.007020656019449234, 0.025901347398757935, -0.028277374804019928, -0.02219693921506405, 0.008882557973265648, -0.020997963845729828, -0.016887864097952843, -0.03532448038458824, 0.00897197611629963, -0.03872799500823021, -0.01546280737966299, -0.04233105480670929, -0.04746975004673004, -0.0721631795167923, -0.037269920110702515, -0.009051486849784851, 0.07455819100141525, 0.044342607259750366, -0.028371786698698997, 0.0024463385343551636, 0.013222020119428635, -0.10378574579954147, -0.00856859888881445, -0.05913103371858597, -0.03750695660710335, 0.0321667343378067, -0.026716845110058784, 0.04416058585047722, -0.031528133898973465, -0.04728134721517563, 0.02875508926808834, 0.018790265545248985, 0.032506540417671204, -0.041562095284461975, 0.0014708879170939326, -0.015447387471795082, -0.007823013700544834, -0.023035941645503044, 0.06860438734292984, -0.044801246374845505, -0.008763860911130905, -0.007171239238232374, -0.008662802167236805, 0.03161429613828659, 0.026681482791900635, 0.021768733859062195, 0.04018396884202957, 0.024838756769895554, 0.0217482540756464, -0.0403447151184082, -0.0009142489871010184, -0.04022704064846039, -0.005745306145399809, -0.009874430485069752, -0.03071257658302784, -0.0034033542033284903, 0.0415436290204525, 0.0013750300277024508, -0.01708071678876877, -0.00044477792107500136, -0.020290955901145935, -0.0435737781226635, -0.06498421728610992, -0.0220717191696167, 0.0076339878141880035, -0.007053663954138756, 0.026362420991063118, -0.05654477700591087, -0.04792749881744385, -0.010402386076748371, 0.0331646092236042, -0.008836847729980946, -0.08697549253702164, -0.04051286354660988, 0.008517216891050339, -0.0396915003657341, 0.047414302825927734, 0.04592837393283844, 0.013636874035000801, 0.022302595898509026, 0.0003456701524555683, -0.06261111050844193, 0.004649394657462835, -0.009569304995238781, -0.002891203388571739, -0.024852534756064415, 0.022065414115786552, 0.0032833199948072433, 0.004666265100240707, 0.03091052919626236, 0.045373961329460144, 0.015063169412314892, 0.04015541449189186, -0.004186123143881559, 0.010815455578267574, 0.010879643261432648, -0.007611391134560108, 0.0003135024744551629, 0.0018663699738681316, -0.05291437357664108, 0.01622012071311474, -0.025503842160105705, -0.02216818556189537, -0.033590834587812424, 0.03703738749027252, 0.003465248504653573, -0.043273430317640305, -0.034616246819496155, 0.03400886803865433, -0.08709210902452469, -0.021517038345336914, -0.036935314536094666, -0.01610095053911209, 0.020022651180624962, 0.0024759871885180473, 0.07776228338479996, 0.0234722588211298, -0.03994383662939072, -0.017992466688156128, -0.0037595154717564583, -0.008021276444196701, 0.026268361136317253, -0.001260844524949789, -0.004268628545105457, 0.025111062452197075, 0.005723010282963514, 0.02985755354166031, 0.02977108582854271, -0.012451985850930214, -0.029100848361849785, 0.022881897166371346, 0.02041754499077797, 0.053912293165922165, 0.0169540885835886, -0.024597734212875366, -0.0018162390915676951, -0.022164728492498398, -0.0006065609632059932, -0.03865845128893852, 0.004958617966622114, -0.039886489510536194, 0.03487921506166458, -0.03466852754354477, -0.10592595487833023, 0.0038743121549487114, 0.010538785718381405, 0.025067539885640144, -0.015113427303731441, -0.03709489107131958, 0.02179928496479988, -0.029069459065794945, 0.02582116425037384, 0.02765285223722458, -0.036722589284181595, 0.019774165004491806, -0.009713643230497837, 0.02584191970527172, 0.008294057101011276, 0.013881967402994633, -0.049115486443042755, 0.002821975853294134, 0.008019525557756424, 0.026790376752614975, -0.02477596327662468, -0.027943409979343414, -0.033259257674217224, 0.0028755769599229097, -0.011604506522417068, 0.0019085335079580545, -0.02245963364839554, -0.019355053082108498, 0.006362772546708584, -0.021127840504050255, 0.016588231548666954, -0.01959853433072567, -0.0412798672914505, 0.026132473722100258, -0.035150058567523956, 0.008045143447816372, -0.01847563311457634, 0.040837351232767105, 0.027110189199447632, 0.013240481726825237, -0.009394990280270576, -0.048994146287441254, 0.01257059071213007, -0.005474655888974667, 0.08382467925548553, 0.016031954437494278, -0.0009285900159738958, 0.003311272244900465, -0.007305268198251724, -0.028866998851299286, 0.04123583436012268, -0.018135221675038338, -0.02695261687040329, 0.02181326411664486, 0.03289056941866875, 0.012967069633305073, 0.0027399857062846422, -0.012144462205469608, -0.010032707825303078, 0.05220825970172882, -0.030359329655766487, -0.03995141014456749, -0.017421113327145576, -0.04332011193037033, 0.016519419848918915, 0.026484258472919464, 0.025152774527668953, -0.047531068325042725, 0.06562801450490952, 0.02926591970026493, 0.04690299183130264, 0.0277741476893425, 0.016367848962545395, 0.012655091471970081, -0.011737839318811893, -0.0003070867678616196, -0.0835564061999321, -0.0007626332808285952, 0.05330434441566467, 0.05250854790210724, -0.02153492532670498, -0.006201526615768671, -0.009025056846439838, 0.029877278953790665, -0.04912588745355606, -0.0061254254542291164, 0.023441830649971962, 0.04052666947245598, 0.0008427645661868155, 0.019463835284113884, -0.04133700206875801, 0.01685744896531105, 0.029259130358695984, -0.03306271508336067, -0.04427823796868324, -0.024320481345057487, 0.04952223226428032, -0.009043068625032902, 0.01778949797153473, -0.01874302327632904, -0.0012010441860184073, 0.06799641996622086, 0.026599695906043053, 0.01579785719513893, 0.06095349043607712, -0.0212301816791296, 0.022663425654172897, 0.042062997817993164, -0.00844800565391779, -0.023283900693058968, 0.022583382204174995, -0.0027153606060892344, -0.06020556390285492, 0.03310561180114746, -0.001030882471241057, 0.021748051047325134, -0.040500205010175705, 0.0780884400010109, 0.014502832666039467, -0.024123523384332657, -0.06360061466693878, -0.022729896008968353, -0.021902967244386673, -0.004243047442287207, 0.0007714645471423864, 0.02708914689719677, -0.019731836393475533, 0.05290084332227707, -0.01774544082581997, 0.003349906299263239, 0.05073026940226555, -0.024674253538250923, 0.01245544571429491, 0.0036640281323343515, 0.06434454768896103, 0.04903189092874527, 0.02154521830379963, -0.02346782758831978, 0.06608287245035172, -0.028298934921622276, -0.05327899381518364, -0.012886986136436462, -0.030869025737047195, -0.006984109990298748, -0.008016499690711498, 0.016233915463089943, 0.07422669976949692, -0.006307975389063358, 0.05145370215177536, -0.04014706611633301, -0.0041251410730183125, -0.017628222703933716, 0.027296720072627068, 0.02977943606674671, 0.017193816602230072, -0.033871568739414215, 0.02631990611553192, -0.004145091399550438, -0.00953812338411808, 0.03260033577680588, -0.03963388502597809, -0.02968578413128853, 0.024343984201550484, 0.011969141662120819, 0.0378686860203743, -0.005910656880587339, 0.027732841670513153, 0.048291392624378204, -0.030871082097291946, -0.013555589132010937, 0.007947856560349464, 0.018095511943101883, -0.00020606665930245072, 0.0029513041954487562, -0.00955086201429367, -0.020725978538393974, -0.016170116141438484, -0.0233642365783453, -0.02449822425842285, -0.04910135641694069, -0.04545334726572037, 0.02180628478527069, -0.04874061420559883, 0.027658700942993164, -0.01916583999991417, -0.03417592868208885, -0.054830148816108704, -0.018602192401885986, -0.08166947215795517, -0.025835487991571426, -0.10177584737539291, -0.042909398674964905, 0.006113704293966293, 0.005791275762021542, -0.040456343442201614, -0.01992662064731121, -0.013002526946365833, -0.011057870462536812, 0.01656433939933777, 0.00080038484884426, -0.05648352578282356, 0.03324052691459656, 0.0026363180950284004, 0.05076989531517029, 0.02988799475133419, 0.01988113485276699, -0.00957302376627922, -0.0235642921179533, -0.06536117196083069, -0.00035897595807909966, 0.04804353788495064, 0.018936119973659515, -0.011424791999161243, -0.08739572018384933, 0.010094152763485909, -0.02496413327753544, -0.02202834002673626, -0.05780414119362831, 0.011680646799504757, 0.03330947086215019, 0.012535929679870605, 0.06281038373708725, -0.03252840042114258, -0.04093576967716217, -0.043047066777944565, -0.04175621271133423, 0.027195055037736893, 0.0035636168904602528, 0.04724641144275665, -0.027685178443789482, 0.09080922603607178, 0.03233359381556511, -0.024648329243063927, -0.03578527271747589, 0.0031904762145131826, -0.018483374267816544, 0.035773418843746185, -0.02868986688554287, -0.05971573665738106, -0.035757411271333694, -0.043906938284635544, -0.0025996295735239983, 0.04403269290924072, -0.025584599003195763, -0.013376460410654545, -0.0033689176198095083, 0.04156479984521866, -0.05453323945403099, 0.031057128682732582, -0.018105527386069298, 0.02783602848649025, 0.007204687222838402, -0.038630224764347076, -0.02717108279466629, 0.04940000921487808, 0.030818086117506027, -0.004491662606596947, 0.006196793168783188, -0.05230424180626869, -0.0023464825935661793, 0.0018960490124300122, 0.027243169024586678, 0.039977751672267914, -0.028150649741292, 0.021143658086657524 ]
[ -0.05734135955572128, -0.009162195958197117, -0.05525929108262062, -0.0005234223790466785, 0.07662072777748108, -0.05217798054218292, -0.05531437695026398, 0.0018738018115982413, -0.023921743035316467, -0.01208419818431139, -0.00871235877275467, -0.022991539910435677, 0.01461213268339634, 0.014615802094340324, 0.06483510881662369, -0.0029075921047478914, -0.03422298654913902, -0.033103592693805695, -0.03863217681646347, 0.023763151839375496, 0.06576067954301834, -0.013137160800397396, -0.05539138615131378, -0.059537895023822784, 0.02126489393413067, 0.03294685110449791, 0.008277494460344315, -0.05489014461636543, -0.02198847196996212, -0.18570859730243683, 0.016865652054548264, -0.0282193124294281, 0.01247737742960453, -0.009062300436198711, -0.005117663182318211, -0.00816306658089161, 0.05180340260267258, 0.014980992302298546, -0.010077173821628094, 0.07881314307451248, 0.018445150926709175, -0.0007283768500201404, -0.04261093959212303, 0.018731359392404556, 0.0013443910283967853, -0.015693306922912598, -0.055391572415828705, 0.013851535506546497, -0.007182360161095858, 0.01929549127817154, -0.07079613208770752, -0.006025460083037615, -0.005275965202599764, 0.0062632435001432896, 0.010692507959902287, 0.020629147067666054, 0.047295935451984406, 0.059748854488134384, 0.04395512863993645, 0.012915363535284996, -0.017869245260953903, -0.015112951397895813, -0.14969056844711304, 0.12354755401611328, 0.004491579253226519, 0.022963037714362144, -0.0034980957861989737, -0.017801355570554733, -0.011909541673958302, 0.06630374491214752, -0.0016781141748651862, -0.0076478044502437115, -0.059577375650405884, 0.04740365222096443, 0.02563321404159069, -0.012922101654112339, 0.021877888590097427, 0.010378323495388031, 0.03980817273259163, -0.006809261627495289, -0.06716682016849518, -0.018038934096693993, -0.008466609753668308, -0.009330939501523972, -0.012643334455788136, 0.015515376813709736, 0.008728343062102795, 0.027683638036251068, 0.041839342564344406, 0.03366786986589432, 0.014923934824764729, -0.05056988447904587, 0.02500823512673378, 0.009296182543039322, -0.07754101604223251, -0.035685885697603226, 0.0027441324200481176, 0.031624507158994675, -0.031332820653915405, 0.3988003730773926, -0.030864765867590904, -0.04663156345486641, 0.054274287074804306, 0.03611009195446968, 0.022451212629675865, 0.01420187670737505, 0.03922948241233826, -0.01786956377327442, -0.004786508623510599, -0.045109156519174576, -0.0035960162058472633, -0.009100930765271187, 0.0008033361518755555, -0.05923118442296982, 0.009381112642586231, 0.030862489715218544, -0.004786735400557518, -0.011970238760113716, 0.008618033491075039, 0.021654384210705757, -0.005221711006015539, -0.021090565249323845, 0.03134796768426895, 0.04517332836985588, 0.010930106975138187, 0.01445834245532751, 0.03426393121480942, 0.05377704277634621, 0.027881337329745293, 0.03786758705973625, 0.06910107284784317, -0.0299318116158247, -0.12006423622369766, -0.03856070339679718, -0.019302288070321083, 0.016576828435063362, 0.029303668066859245, -0.03212515637278557, 0.008626043796539307, 0.04475376754999161, -0.020892158150672913, -0.040749188512563705, 0.02352198027074337, -0.030784936621785164, -0.012789367698132992, 0.12097302079200745, 0.0016467830864712596, -0.01878257840871811, -0.03927310183644295, -0.015378018841147423, -0.010516446083784103, 0.01910935528576374, 0.008467024192214012, -0.03625798597931862, 0.022063303738832474, 0.03690152242779732, 0.05248942971229553, -0.03443997725844383, -0.012884213589131832, -0.03935874626040459, -0.056273579597473145, -0.03535745292901993, -0.018451815471053123, 0.014445495791733265, -0.0009051146334968507, -0.1438235640525818, -0.07104751467704773, 0.03534848242998123, -0.008871404454112053, -0.05710182711482048, 0.0213632732629776, 0.004741158802062273, -0.0356939323246479, -0.0373033843934536, 0.03414272889494896, 0.0019091740250587463, -0.04466648027300835, -0.021011969074606895, 0.07512189447879791, 0.02873036451637745, 0.026852410286664963, 0.00015614336007274687, -0.0507676899433136, -0.0004291295481380075, -0.027773747220635414, -0.09537911415100098, -0.048380061984062195, -0.02268817648291588, 0.007561649661511183, -0.030360577628016472, 0.001040789415128529, -0.07564327120780945, -0.07316095381975174, 0.053335316479206085, -0.04425136744976044, -0.02685597352683544, 0.000952117785345763, 0.04021352156996727, 0.02036445587873459, -0.04146358370780945, 0.02789546363055706, -0.0037820753641426563, 0.016484979540109634, 0.04870640113949776, -0.02190069667994976, 0.014359873719513416, 0.04369061067700386, -0.03881033882498741, 0.04529571160674095, 0.01243884488940239, -0.011268340051174164, 0.004483622033149004, 0.005306936800479889, 0.020900947973132133, -0.017472725361585617, -0.01868627779185772, 0.02276976779103279, 0.03619856759905815, 0.005494197830557823, 0.02662913128733635, -0.03951288014650345, -0.044998351484537125, -0.006868062540888786, -0.34195446968078613, -0.033524926751852036, 0.011737393215298653, -0.0051854453049600124, 0.036982279270887375, -0.046611007302999496, 0.00610995851457119, 0.017332009971141815, -0.012538299895823002, 0.03757856413722038, 0.10260812938213348, 0.011791103519499302, 0.010344398207962513, -0.11475614458322525, -0.002983557526022196, 0.01786848157644272, -0.023061444982886314, -0.07004313170909882, 0.009312884882092476, 0.04577546939253807, 0.006346375215798616, -0.02963254228234291, -0.020893007516860962, -0.0549047477543354, 0.05861189216375351, -0.011623462662100792, 0.09829831123352051, 0.026265747845172882, 0.1193995475769043, -0.06532500684261322, 0.049039077013731, -0.012623600661754608, 0.007723010145127773, -0.08386299014091492, -0.006342479959130287, -0.021172234788537025, 0.022465849295258522, 0.020057756453752518, 0.03728834167122841, -0.022998355329036713, -0.03822129964828491, 0.008350872434675694, -0.0608425997197628, -0.05170951411128044, 0.021612849086523056, -0.011549684219062328, 0.014527864754199982, -0.012530041858553886, -0.01968809776008129, 0.10513994097709656, -0.007785509340465069, -0.010110453702509403, 0.014006328769028187, 0.04926788806915283, 0.004618008155375719, -0.03876399248838425, -0.05334889516234398, -0.0018538468284532428, -0.021798428148031235, -0.057038407772779465, 0.00460889283567667, 0.018376844003796577, 0.045629508793354034, -0.045697879046201706, 0.0238712839782238, 0.016339490190148354, -0.0012149326503276825, 0.004141306504607201, 0.018839845433831215, -0.02129070647060871, -0.024591896682977676, 0.08957840502262115, -0.004080639220774174, 0.0006279811495915055, 0.044528111815452576, 0.06595180928707123, -0.013149055652320385, -0.015733441337943077, 0.020834453403949738, -0.008409043774008751, 0.025408364832401276, 0.028150489553809166, 0.06403591483831406, -0.0335208997130394, 0.0006378915859386325, 0.03041490539908409, -0.06108127906918526, -0.006215050350874662, 0.04598969221115112, -0.005535001400858164, -0.022949036210775375, -0.019855309277772903, 0.0020995454397052526, -0.03957415744662285, 0.06430116295814514, -0.022219227626919746, -0.26540282368659973, 0.010565799660980701, 0.07645826786756516, 0.037279751151800156, 0.002353646792471409, 0.0016880036564543843, 0.036117035895586014, -0.06833529472351074, -0.01614721491932869, 0.02249908819794655, 0.004776716232299805, 0.04209350422024727, 0.03374467045068741, -0.0013654245994985104, 0.03447723016142845, -0.012373439967632294, 0.027318086475133896, 0.030711300671100616, -0.008052538149058819, 0.0073636979795992374, 0.045254457741975784, -0.01611354574561119, 0.1474304348230362, 0.01735597848892212, 0.007823880761861801, 0.02479705773293972, -0.008117316290736198, -0.018933145329356194, 0.13704954087734222, 0.004731368739157915, -0.0005232254625298083, 0.0012498860014602542, 0.07515664398670197, 0.02482294850051403, 0.05638117343187332, -0.08430435508489609, 0.025001637637615204, 0.041977353394031525, 0.0027379316743463278, -0.04173048213124275, 0.0004586942959576845, 0.03295965865254402, -0.030393069609999657, 0.004472813103348017, 0.07508619874715805, 0.009159618057310581, 0.005250675603747368, -0.04829951003193855, -0.06969080865383148, 0.01283614058047533, -0.017686255276203156, -0.013380030170083046, -0.02749735675752163, -0.004227861762046814, -0.013205164112150669, 0.05059771612286568, 0.03459585830569267, -0.02503492310643196, 0.00576093140989542, 0.029900040477514267, 0.008525027893483639, -0.028889944776892662, 0.10353799164295197, 0.014306330122053623, 0.0408712700009346 ]
[ -0.007682069670408964, 0.01734350249171257, -0.02976147271692753, 0.026939162984490395, -0.0019262477289885283, -0.003776384750381112, -0.014273002743721008, 0.031641170382499695, -0.004053238779306412, -0.041464898735284805, -0.026574179530143738, -0.011752569116652012, 0.015342694707214832, -0.04134372994303703, 0.02401561103761196, -0.04206344112753868, 0.019878575578331947, -0.046178776770830154, 0.010316277854144573, -0.021399930119514465, 0.005247108638286591, 0.03298954293131828, 0.005784093867987394, -0.0024829807225614786, -0.009911751374602318, -0.024852242320775986, -0.036421023309230804, -0.004170306026935577, 0.021178873255848885, -0.1027691662311554, 0.011207238771021366, -0.05275430157780647, 0.0061996858566999435, 0.0031279970426112413, 0.007980169728398323, -0.015249107033014297, 0.02935873158276081, -0.02850952185690403, -0.021114220842719078, 0.04263528063893318, 0.027855409309267998, -0.06952591240406036, -0.025081874802708626, 0.007462651468813419, -0.01220366358757019, -0.006745508871972561, -0.020651670172810555, -0.020995207130908966, -0.030583323910832405, 0.024923034012317657, -0.044935375452041626, -0.02403748780488968, -0.03906708583235741, 0.006040472537279129, 0.04245006665587425, -0.0006787427118979394, -0.017865611240267754, 0.0324719175696373, -0.014161732979118824, -0.0262319203466177, 0.0051950449123978615, -0.019706403836607933, -0.037328220903873444, -0.014248615130782127, -0.022278770804405212, 0.009932511486113071, -0.050428666174411774, 0.005765381269156933, 0.023031821474432945, -0.014142545871436596, -0.024743568152189255, 0.02869180217385292, -0.024463623762130737, -0.00392407551407814, -0.04207173362374306, 0.007814781740307808, 0.017395542934536934, -0.023678185418248177, 0.0000014849730405330774, -0.03270784765481949, -0.014464234933257103, 0.006227461621165276, 0.006228171288967133, 0.019155409187078476, 0.023422464728355408, 0.015480207279324532, 0.02881268411874771, 0.029953017830848694, 0.020545896142721176, 0.01494422648102045, -0.01614820957183838, 0.015321102924644947, 0.009236114099621773, 0.020399190485477448, -0.09446437656879425, 0.000454246299341321, -0.014844406396150589, -0.018573211506009102, -0.011143041774630547, 0.840665340423584, -0.04786788299679756, -0.00606063287705183, 0.003697421168908477, 0.024792542681097984, -0.022601816803216934, -0.02273702062666416, -0.031014228239655495, 0.032472942024469376, -0.013318143784999847, -0.038549039512872696, 0.04422646388411522, 0.056630317121744156, 0.012215495109558105, 0.012290854938328266, 0.04448854923248291, -0.0031666699796915054, -0.023282580077648163, -0.013591841794550419, 0.010286131873726845, 0.025127004832029343, 0.04177400469779968, 0.009312089532613754, 0.004263106267899275, 0.04137026146054268, 0.009961231611669064, -0.1553484946489334, 0.056067753583192825, -6.203894045707309e-33, -0.010095241479575634, 0.00222200364805758, 0.014184198342263699, -0.02443009614944458, 0.00968108419328928, 0.029376232996582985, -0.004292061552405357, 0.008352176286280155, 0.038372695446014404, -0.034176163375377655, 0.046853069216012955, 0.009951058775186539, 0.022371424362063408, -0.008280422538518906, 0.04222889244556427, -0.022409627214074135, 0.01438145898282528, 0.04950227960944176, 0.03717470169067383, -0.0034599078353494406, 0.03639395534992218, 0.031075218692421913, 0.03691423311829567, -0.03178872913122177, -0.0066170524805784225, 0.028884999454021454, 0.01860802061855793, -0.03952830284833908, -0.007936403155326843, -0.046698201447725296, 0.0062618618831038475, -0.044452060014009476, 0.016986269503831863, -0.014189033769071102, 0.057503607124090195, -0.053342949599027634, -0.01937742345035076, -0.00011723843635991216, -0.048317745327949524, -0.0125277079641819, -0.053971026092767715, 0.01212355587631464, -0.040643829852342606, -0.017014555633068085, -0.02335190773010254, -0.0011190109653398395, -0.00934732984751463, 0.03287085145711899, -0.020750340074300766, 0.001267484505660832, 0.03471498563885689, 0.0049471501260995865, 0.0361112579703331, -0.030787557363510132, 0.0024260948412120342, -0.003604438854381442, 0.0003553995629772544, -0.06334634125232697, -0.013569053262472153, -0.02202935889363289, 0.019767193123698235, -0.00497005321085453, 0.029919765889644623, -0.012790639884769917, -0.012815969996154308, -0.0030562097672373056, -0.003029252402484417, -0.010571127757430077, 0.00780673511326313, 0.02823810651898384, -0.03845329210162163, 0.02072020247578621, -0.016187502071261406, -0.02218519151210785, 0.00978056900203228, -0.016804954037070274, 0.019983863458037376, 0.002872950630262494, -0.02856382168829441, 0.017605125904083252, -0.00003255197225371376, -0.03375647962093353, 0.011213697493076324, -0.003534331452101469, -0.006793943699449301, 0.012125282548367977, 0.027851654216647148, 0.006366283167153597, -0.001833593938499689, 0.041947945952415466, 0.003658514702692628, 0.011723052710294724, -0.0030576386488974094, 0.0020153308287262917, -0.007174450438469648, 6.711832501537312e-33, -0.021568449214100838, 0.001135053695179522, -0.019956927746534348, -0.0004611035401467234, 0.01654493808746338, -0.037269361317157745, 0.013644885271787643, 0.02713041938841343, -0.003976599778980017, 0.0442071408033371, -0.017770281061530113, -0.013764937408268452, -0.03974951058626175, 0.013864903710782528, 0.07821470499038696, -0.03678974509239197, 0.028861673548817635, -0.026542479172348976, 0.01032930426299572, 0.005279230419546366, -0.0032922239042818546, -0.013720217160880566, 0.0129752391949296, 0.002014925703406334, 0.05551965534687042, 0.05856572464108467, 0.00662425858899951, 0.009327823296189308, 0.0006062518223188818, -0.01900741085410118, 0.023901183158159256, 0.0027924596797674894, 0.015765778720378876, -0.03034009225666523, -0.02045672945678234, 0.04181405156850815, 0.01592596434056759, -0.0018667541444301605, 0.03623319789767265, -0.02208629809319973, 0.024860747158527374, -0.01603168249130249, -0.01664397306740284, 0.0135573735460639, -0.038613203912973404, 0.059909313917160034, 0.0013804174959659576, 0.001940580434165895, -0.023727834224700928, 0.045280564576387405, 0.02847469225525856, -0.03293507173657417, -0.014199579134583473, 0.02670140378177166, -0.00752652483060956, -0.012310273945331573, 0.03510146215558052, -0.005038711708039045, -0.03338835760951042, -0.03378232195973396, -0.005197936203330755, -0.017582101747393608, -0.01271755900233984, 0.012299712747335434, -0.011122580617666245, -0.024933768436312675, -0.013424762524664402, -0.0497920885682106, -0.007901033386588097, -0.009274885058403015, 0.006296221632510424, -0.015709364786744118, -0.016476793214678764, 0.047625187784433365, -0.02629435807466507, 0.012580164708197117, -0.00008113678632071242, 0.014708167873322964, -0.052991271018981934, 0.05813058465719223, -0.008970266208052635, 0.03147813305258751, 0.034190744161605835, -0.006415571551769972, -0.010144784115254879, 0.03233750909566879, -0.01622762344777584, 0.00423378124833107, 0.042054980993270874, -0.020981846377253532, -0.016046248376369476, -0.0030410694889724255, -0.013450243510305882, 0.014800000004470348, 0.014276244677603245, -1.2490820822108617e-8, -0.03640449419617653, 0.011922856792807579, -0.04214423522353172, 0.01746075414121151, 0.009395790286362171, -0.01007270161062479, -0.011151083745062351, -0.02570490539073944, 0.021449755877256393, 0.014031639322638512, 0.04703986644744873, -0.024458738043904305, 0.023104719817638397, 0.003564840881153941, 0.016430027782917023, -0.05699952691793442, -0.016327712684869766, -0.03890831768512726, 0.02879445068538189, 0.015123524703085423, 0.026319915428757668, 0.009174441918730736, -0.02750803343951702, -0.00920849572867155, 0.023277169093489647, -0.007478619925677776, 0.03608459234237671, -0.05095354840159416, 0.005631458014249802, 0.004427631385624409, 0.048199016600847244, -0.028044434264302254, 0.005059128161519766, -0.005610301624983549, -0.016996460035443306, -0.024779772385954857, 0.025163639336824417, 0.021215833723545074, 0.011887005530297756, 0.0032602979335933924, 0.028555165976285934, -0.006309425458312035, 0.024785801768302917, -0.01600736752152443, -0.018588805571198463, -0.03664792329072952, 0.01666899584233761, 0.004844725131988525, 0.05628437548875809, 0.006697817239910364, -0.013878059573471546, 0.0022125854156911373, 0.01442030817270279, -0.0010160990059375763, -0.0038274351973086596, -0.017425881698727608, 0.013777184300124645, -0.03426661714911461, -0.03091496229171753, 0.029402540996670723, 0.039653629064559937, 0.008362596854567528, -0.020500900223851204, 0.0005219773156568408 ]
f-a-day-writing-a-feedburner-graph-creator
https://markhneedham.com/blog/2009/07/12/f-a-day-writing-a-feedburner-graph-creator
false
2009-07-12 12:11:46
F#: Wrapping .NET library calls
[ "f" ]
[ "fsharp" ]
I've been spending a bit of time writing some code to parse the xml of my Feedburner RSS feed and create a graph to show both the daily and weekly average subscribers which you can't currently get from the Feedburner dashboard. One thing which I found while doing this is that calls to the .NET base class library don't seem to fit in that well with the way that you would typically compose functions together in F#. For example one of the first things I wanted to do was print the date and the circulation count to the console which I originally did like this: [source,ocaml] ---- open System.IO open System.Net open Microsoft.FSharp.Control open System.Xml.Linq open System let xName value = XName.Get value // GetXml is a function of type string -> string let GetFeedBurnerStats url = let feedBurnerXml = GetXml url |> XDocument.Parse feedBurnerXml.Descendants(xName "entry") |> Seq.map (fun x -> x.Attribute(xName "circulation"), x.Attribute(xName "date")) |> Seq.iter (fun x -> printfn "%s %s" (fst x).Value (snd x).Value) ---- It's quite annoying that we need to store the XDocument as a value before being able to call one of the methods on it to get the data that we want. I realised that if I created a function which took in the element whose descendants I wanted to find and the XDocument I could then call the 'XDocument.Descendants()' method inside that function: [source,ocaml] ---- let xName value = XName.Get value let GetDescendants element (xDocument:XDocument) = xDocument.Descendants(xName element) let GetFeedBurnerStats = GetXml >> XDocument.Parse >> GetDescendants "entry" >> Seq.map (fun x -> x.Attribute(xName "circulation"), x.Attribute(xName "date")) >> Seq.iter (fun x -> printfn "%s %s" (fst x).Value (snd x).Value) ---- Since we no longer need to store the intermediate step of creating the XDocument we can now just chain together the functions using the http://www.markhneedham.com/blog/2009/01/12/f-partial-function-application-with-the-function-composition-operator/[functional composition operator] instead of the http://www.markhneedham.com/blog/2009/01/06/f-forward-operator/[forward operator]. We can also do this with the calls to 'Attribute' in the 'Seq.map' function on line 9 which helps simplify the code around there. [source,ocaml] ---- let xName value = XName.Get value let GetDescendants element (xDocument:XDocument) = xDocument.Descendants(xName element) let GetAttribute element (xElement:XElement) = xElement.Attribute(xName element) let GetFeedBurnerStats = GetXml >> XDocument.Parse >> GetDescendants "entry" >> Seq.map (fun x -> GetAttribute "circulation" x, GetAttribute "date" x) >> Seq.iter (fun x -> printfn "%s %s" (fst x).Value (snd x).Value) ----
null
null
[ -0.0017589222406968474, -0.03791140019893646, 0.0001591296895639971, 0.01677265204489231, 0.06088106334209442, -0.00862196646630764, -0.005229985807090998, 0.019546644762158394, 0.027244195342063904, -0.0040751234628260136, 0.0017725570360198617, 0.004300815053284168, -0.06811150908470154, 0.014202714897692204, 0.008190125226974487, 0.06921493262052536, 0.08360795676708221, -0.03417579457163811, 0.024792665615677834, -0.03168684244155884, 0.006669563706964254, 0.04242212325334549, -0.028208717703819275, 0.030917273834347725, 0.03843960538506508, 0.0098136430606246, 0.0023132129572331905, -0.017040712758898735, -0.03637995943427086, 0.007439696695655584, 0.012612627819180489, 0.00045816137571819127, 0.013777846470475197, -0.025339767336845398, -0.003677815431728959, -0.02682545967400074, 0.0081171914935112, 0.011808352544903755, -0.002572036115452647, 0.04572092369198799, -0.07077256590127945, 0.018693098798394203, -0.010170277208089828, 0.017499925568699837, -0.03538773953914642, 0.017006559297442436, -0.038421276956796646, -0.000035548557207221165, -0.007134719751775265, 0.010636609047651291, -0.083940289914608, 0.019922032952308655, -0.024020466953516006, -0.010257047601044178, -0.006271607242524624, 0.06781891733407974, 0.0062654088251292706, -0.03170834854245186, 0.03879329934716225, -0.021992074325680733, 0.008421418257057667, -0.020046323537826538, 0.015869246795773506, 0.04630591347813606, 0.046315036714076996, -0.011853227391839027, -0.029929623007774353, 0.05019579455256462, -0.05423711612820625, -0.01819348707795143, -0.039636727422475815, 0.033737294375896454, -0.03748604282736778, 0.0013317783595994115, 0.022366056218743324, -0.0489451065659523, -0.014432831667363644, 0.0750095546245575, 0.024410191923379898, 0.04049963131546974, 0.0016367289936169982, 0.0647817850112915, 0.03935890272259712, 0.002869275165721774, 0.014234980568289757, -0.006699444726109505, -0.03573107346892357, -0.0038991724140942097, -0.02767167054116726, 0.03627828136086464, 0.024836551398038864, -0.07790520787239075, 0.008760460652410984, 0.019367046654224396, -0.00878044031560421, 0.008191864006221294, 0.0032130759209394455, -0.015285111032426357, -0.009181158617138863, -0.01630263961851597, -0.05619914084672928, -0.022356024011969566, 0.03485967591404915, 0.007083501201122999, -0.068731889128685, -0.03294307366013527, -0.031417116522789, -0.03474216163158417, 0.028543462976813316, 0.00273531349375844, -0.05171249434351921, 0.01724664866924286, -0.02781634032726288, -0.021451666951179504, -0.09231307357549667, 0.0422501340508461, 0.04554213955998421, -0.017531394958496094, -0.016441572457551956, 0.0177727360278368, 0.06821209192276001, 0.020935555920004845, -0.017596695572137833, 0.08374739438295364, 0.0032335317227989435, 0.04080958664417267, -0.011854524724185467, 0.06553378701210022, -0.015638703480362892, -0.057796794921159744, -0.02900456264615059, 0.0568692646920681, -0.02571980655193329, -0.010176675394177437, -0.014440151862800121, -0.0003680709342006594, -0.036507610231637955, 0.0031311530619859695, 0.06371375173330307, 0.04235323518514633, -0.009938675910234451, -0.02615206129848957, 0.00394401466473937, -0.05513674020767212, 0.0005207188078202307, -0.0113191744312644, -0.03424358367919922, -0.02276279777288437, -0.01489167008548975, 0.030525267124176025, 0.037303101271390915, 0.031176580116152763, 0.029805703088641167, -0.031355395913124084, -0.0019001462496817112, 0.07233335077762604, 0.009890194982290268, -0.0001748311915434897, -0.0054308585822582245, 0.0008634459809400141, 0.03898850455880165, 0.03485986590385437, 0.0013273623771965504, 0.05945582315325737, -0.01213731337338686, -0.010972559452056885, 0.015130875632166862, 0.021992824971675873, -0.021264832466840744, -0.0242096409201622, -0.06034376472234726, 0.0004337301943451166, 0.046609632670879364, -0.007373781409114599, 0.012961343862116337, 0.03169892355799675, 0.0647486075758934, 0.0007735874387435615, 0.04472649469971657, 0.015149942599236965, -0.05960744619369507, 0.025157852098345757, 0.013685406185686588, -0.003340034978464246, 0.004045809153467417, 0.0235197301954031, 0.0709686279296875, 0.03614472970366478, 0.027212508022785187, 0.0164173673838377, -0.06575935333967209, -0.08339251577854156, -0.058633483946323395, -0.02111353538930416, 0.07055582106113434, -0.04812205582857132, -0.000441601820057258, 0.06174623221158981, 0.032159432768821716, 0.04589473828673363, 0.03071548603475094, -0.039639923721551895, 0.01698761247098446, -0.008653317578136921, -0.05916830897331238, 0.03780543804168701, 0.02868763357400894, -0.020454399287700653, -0.023401064798235893, 0.017535360530018806, -0.01811547763645649, 0.05077897012233734, 0.07552257925271988, -0.006778527982532978, 0.01589530147612095, 0.03525254875421524, 0.007005322724580765, -0.053193338215351105, 0.029657064005732536, -0.04662419110536575, 0.04120010510087013, -0.00678567448630929, -0.023715214803814888, -0.024175886064767838, -0.026930280029773712, 0.12605778872966766, 0.08649766445159912, -0.03245861828327179, -0.0408964641392231, 0.026676218956708908, -0.017603956162929535, -0.03382345661520958, 0.0008628980722278357, -0.010568357072770596, -0.02065456286072731, 0.009916653856635094, -0.03704504296183586, 0.01878976635634899, 0.0023341907653957605, -0.04375356063246727, 0.05758967623114586, 0.053321775048971176, -0.0098196342587471, 0.050875790417194366, 0.017078377306461334, -0.016540011391043663, 0.01006987877190113, 0.006163077894598246, -0.029436472803354263, 0.009218201972544193, 0.029645008966326714, -0.005522402003407478, 0.05727146565914154, -0.0322914719581604, -0.04417796432971954, -0.0038277343846857548, -0.03776261955499649, 0.038057297468185425, 0.04051864519715309, 0.0531669557094574, 0.010580003261566162, -0.003983860835433006, -0.03722677752375603, -0.008508194237947464, 0.0013112446758896112, -0.0767795592546463, -0.014902087859809399, 0.014761706814169884, 0.047814205288887024, 0.0357828252017498, 0.03552298992872238, 0.0024671554565429688, 0.03784673660993576, 0.020271774381399155, -0.045883797109127045, -0.011392993852496147, 0.05687197670340538, -0.013572856783866882, -0.03622223809361458, -0.054980333894491196, -0.03282494470477104, 0.05028226599097252, -0.015540720894932747, -0.046078361570835114, -0.041051000356674194, -0.04158638045191765, 0.059531114995479584, -0.06614451855421066, -0.032410360872745514, -0.009624455124139786, 0.011091060936450958, 0.025972476229071617, 0.01878502033650875, 0.032653797417879105, 0.024791084229946136, 0.019395902752876282, 0.015284525230526924, 0.01425359956920147, -0.009743398986756802, 0.004897488281130791, -0.020867539569735527, -0.025756919756531715, 0.0608196035027504, -0.0003854345704894513, -0.0005961477290838957, -0.04718567430973053, 0.0073763225227594376, -0.015538406558334827, -0.2773164212703705, 0.03796137124300003, -0.027895675972104073, -0.018927637487649918, 0.030387451872229576, -0.029883095994591713, 0.022419214248657227, -0.05457138642668724, -0.007291609887033701, 0.045624323189258575, -0.012100017629563808, -0.024608898907899857, -0.010327096097171307, 0.054396066814661026, 0.0008624952170066535, -0.0018571526743471622, 0.0014552867505699396, -0.029854055494070053, 0.02686895988881588, 0.050940800458192825, -0.006730219349265099, -0.06532616168260574, -0.0006249458529055119, 0.04643986001610756, 0.04152983799576759, 0.03888070583343506, -0.06924501061439514, 0.01700473204255104, -0.0012769326567649841, -0.01286632101982832, 0.017183106392621994, -0.02272612601518631, 0.03776443004608154, -0.047162871807813644, -0.003598876064643264, -0.03155800700187683, 0.005578847136348486, 0.03438463807106018, 0.02593814954161644, 0.01485841628164053, -0.05134057626128197, -0.07030195742845535, -0.01745220646262169, -0.016580352559685707, 0.08113538473844528, -0.017002012580633163, -0.04800785332918167, -0.02517831325531006, -0.047987200319767, 0.07030705362558365, -0.03156665340065956, -0.04419942572712898, -0.015561666339635849, 0.023372013121843338, -0.010816624388098717, -0.026977919042110443, 0.004408406093716621, -0.004197116009891033, -0.03578462079167366, -0.01652994193136692, -0.011900458484888077, -0.03888043388724327, -0.013146137818694115, -0.02786356955766678, -0.04666262865066528, -0.0552007257938385, -0.06849438697099686, -0.012632394209504128, 0.06147567555308342, 0.02914801985025406, -0.018411053344607353, -0.020560426637530327, 0.013814820908010006, -0.10912172496318817, -0.04217531159520149, -0.051086485385894775, -0.038572605699300766, -0.01989663578569889, -0.017238134518265724, 0.05545725300908089, -0.032469265162944794, -0.04615230858325958, 0.02391199767589569, 0.023962171748280525, 0.020349303260445595, -0.0013180183013901114, 0.006086839362978935, -0.007403750903904438, -0.03139074891805649, -0.045448631048202515, 0.08172169327735901, 0.000010789562111312989, 0.013602790422737598, -0.013760608620941639, 0.004299229942262173, 0.030864959582686424, 0.02918245457112789, -0.0005498270620591938, 0.04102122783660889, 0.017254309728741646, 0.0583745576441288, -0.04619404301047325, 0.023756537586450577, -0.037292517721652985, -0.003966588526964188, -0.033510588109493256, -0.030727587640285492, 0.01264755055308342, 0.025656171143054962, -0.0239684097468853, -0.01928846538066864, -0.010018202476203442, -0.0009937480790540576, -0.06067221984267235, -0.02010493353009224, -0.005055573303252459, 0.006905204150825739, 0.0006760655087418854, 0.039376627653837204, -0.030152298510074615, -0.0683220699429512, 0.013990528881549835, 0.002260144567117095, -0.031937774270772934, -0.08682478219270706, -0.04296140745282173, -0.0031257844530045986, -0.020843422040343285, 0.014083688147366047, 0.03345450758934021, 0.013197159394621849, 0.021249745041131973, -0.002925013191998005, -0.02939474768936634, 0.014681397005915642, 0.009875848889350891, 0.014015263877809048, -0.03961740434169769, 0.0012881361180916429, 0.0020070618484169245, -0.01957053132355213, 0.02504885196685791, 0.04722841829061508, 0.023926857858896255, 0.04159145429730415, 0.014545366168022156, 0.0030501089058816433, 0.009443175047636032, -0.00796631071716547, 0.01916293427348137, -0.0031464663334190845, -0.0238808486610651, 0.0162983238697052, -0.03540411219000816, -0.023148858919739723, -0.011622564867138863, 0.04031578451395035, -0.014048216864466667, -0.04459885507822037, -0.06715787202119827, 0.03568345680832863, -0.05785905197262764, -0.006646862719208002, -0.044400375336408615, -0.0011411739978939295, 0.03354768082499504, -0.02041107602417469, 0.06488171219825745, 0.006532462779432535, -0.034195344895124435, -0.0031400523148477077, 0.02313292771577835, -0.004134805407375097, 0.03798238933086395, -0.0036783877294510603, 0.004091782029718161, 0.0014014398911967874, 0.04160400852560997, 0.04084324836730957, 0.039979975670576096, -0.022580863907933235, 0.0021246967371553183, 0.011237400583922863, -0.00555675383657217, 0.04540485888719559, 0.03445715457201004, -0.023875286802649498, -0.007480321917682886, -0.03915763646364212, -0.0005994949606247246, -0.012628009542822838, -0.0004401410114951432, -0.06396567076444626, 0.024322666227817535, -0.0289075318723917, -0.06967649608850479, 0.01752903126180172, 0.00042841763934120536, 0.020019201561808586, 0.001551251276396215, -0.017397113144397736, 0.007408855017274618, -0.009002712555229664, 0.007614619098603725, 0.02399929240345955, -0.045769087970256805, 0.007713240571320057, -0.008200985379517078, 0.02524593472480774, 0.028291847556829453, 0.03305726498365402, -0.034157644957304, -0.01553194597363472, 0.0022304169833660126, 0.008786373771727085, 0.0017144648591056466, -0.026293719187378883, -0.049976326525211334, 0.004357944242656231, -0.015978137031197548, 0.00024828786263242364, -0.021041130647063255, 0.016302935779094696, -0.023807864636182785, -0.00024184891663026065, 0.020388277247548103, -0.01724916510283947, -0.032258447259664536, 0.026745008304715157, -0.035588424652814865, 0.005512080155313015, -0.010211854241788387, 0.03618461638689041, 0.021407419815659523, -0.005792532581835985, 0.01710979826748371, -0.07997608929872513, 0.011443090625107288, -0.019096774980425835, 0.060071129351854324, 0.004122503567487001, -0.014951935037970543, -0.01396628376096487, -0.015675559639930725, -0.025046121329069138, 0.015867237001657486, 0.02054738439619541, -0.033985938876867294, 0.019777819514274597, 0.036880671977996826, -0.004965800326317549, 0.021608442068099976, -0.0018047166522592306, 0.00648194644600153, 0.062371525913476944, -0.05710362270474434, -0.04558413103222847, 0.017483999952673912, -0.05868937075138092, 0.015786293894052505, 0.003055008826777339, 0.03584204986691475, -0.06545308232307434, 0.07237990945577621, 0.05665327608585358, 0.040939413011074066, 0.026739761233329773, 0.007802315056324005, 0.0320381224155426, 0.009065135382115841, -0.005206368397921324, -0.08916812390089035, -0.01538590993732214, 0.04860140010714531, 0.06476949900388718, -0.020000290125608444, -0.00926169939339161, -0.010783236473798752, 0.02365972101688385, -0.057437967509031296, -0.011200986802577972, 0.03748941048979759, 0.031115517020225525, 0.01851043477654457, -0.004544821102172136, -0.04784008860588074, 0.029911430552601814, 0.03209368884563446, -0.030668558552861214, -0.03448889032006264, -0.025227516889572144, 0.04859928414225578, 0.01840616948902607, 0.0020924711134284735, -0.012760746292769909, -0.003541156416758895, 0.06395555287599564, 0.03154238685965538, 0.012955257669091225, 0.07814372330904007, -0.027825020253658295, 0.01569478027522564, 0.014385294169187546, -0.03132367506623268, -0.003544191364198923, 0.004174854606389999, -0.0012341727269813418, -0.06097012385725975, 0.00874997116625309, -0.0049157338216900826, -0.003974139224737883, -0.06342165917158127, 0.055546533316373825, -0.006910544354468584, -0.012218570336699486, -0.04547814652323723, -0.012880995869636536, -0.024785665795207024, 0.00969334039837122, -0.02838984876871109, 0.034706611186265945, -0.030936358496546745, 0.0607941672205925, -0.015698786824941635, -0.005153977312147617, 0.054655518382787704, -0.04262157157063484, 0.01602994091808796, 0.01807987689971924, 0.09572099149227142, 0.06256908923387527, 0.049736831337213516, -0.038088422268629074, 0.08897052705287933, -0.044389765709638596, -0.0596441775560379, -0.024731913581490517, -0.014578918926417828, 0.016517791897058487, 0.001330931787379086, 0.04010588303208351, 0.10217171162366867, 0.008565484546124935, 0.0489753782749176, -0.051244836300611496, -0.02145632542669773, -0.025527823716402054, 0.006352995987981558, 0.04049693048000336, 0.03258747607469559, -0.025229724124073982, 0.003990666009485722, -0.000016931158825173043, -0.03818610683083534, 0.04970819503068924, -0.03183102607727051, -0.02448190748691559, -0.004715980030596256, 0.015556965954601765, 0.02224370650947094, -0.018056457862257957, 0.03870111703872681, 0.047040604054927826, -0.03563347086310387, -0.02409813180565834, 0.022993838414549828, 0.018000803887844086, 0.025047963485121727, -0.04416092485189438, -0.02625519223511219, -0.004694792442023754, 0.005198351107537746, -0.0026558691170066595, -0.04047316312789917, -0.036229729652404785, -0.02679787203669548, 0.030746275559067726, -0.03904489055275917, 0.02278030477464199, -0.016555724665522575, -0.022090742364525795, -0.04836723580956459, -0.038359805941581726, -0.06469116359949112, -0.026231100782752037, -0.08233842253684998, 0.007584752049297094, 0.013151613995432854, 0.0013831318356096745, -0.01648353412747383, -0.0319678895175457, -0.02267068438231945, -0.0026846181135624647, 0.03338811546564102, 0.0026683637406677008, -0.02701161429286003, 0.024731185287237167, -0.013393769972026348, 0.04329138621687889, 0.0221560001373291, 0.025916751474142075, -0.00797323603183031, -0.01667148806154728, -0.0596524216234684, -0.012165064923465252, 0.056441981345415115, 0.026027623564004898, 0.011221135966479778, -0.08717948943376541, 0.016453038901090622, -0.007391550112515688, -0.005066554993391037, -0.06410250812768936, -0.000028424812626326457, 0.02668101340532303, -0.0034716997761279345, 0.045099906623363495, -0.0441039502620697, -0.044848404824733734, -0.019191782921552658, -0.012820740230381489, 0.04134347289800644, 0.011654398404061794, 0.038303837180137634, -0.037246350198984146, 0.08022013306617737, 0.009676552377641201, 0.0009267259738408029, -0.024895519018173218, -0.0015612089773640037, -0.03523540869355202, 0.026664460077881813, -0.033676352351903915, -0.01760544814169407, -0.02606271766126156, -0.030192717909812927, 0.00916485209017992, 0.01991639845073223, -0.018832409754395485, -0.022761106491088867, 0.0150604248046875, 0.062125276774168015, -0.06726562976837158, 0.04586021974682808, -0.011231372132897377, 0.023149244487285614, 0.009107200428843498, -0.05759340897202492, 0.007058394607156515, 0.013247253373265266, 0.02352633886039257, 0.006062851753085852, 0.01770889386534691, -0.040073227137327194, -0.032323334366083145, -0.007374464068561792, 0.018384970724582672, 0.06314263492822647, -0.008613546378910542, 0.019261064007878304 ]
[ -0.06596864014863968, 0.0034071009140461683, -0.03842916712164879, -0.02124677412211895, 0.08178406953811646, -0.05014578253030777, -0.02638726681470871, 0.030099479481577873, -0.008884361013770103, 0.006964801345020533, -0.01215702947229147, -0.013129751197993755, 0.008219669573009014, 0.0016159554943442345, 0.06759500503540039, -0.011322244070470333, -0.0386812686920166, -0.01964159496128559, -0.037312526255846024, 0.023671003058552742, 0.031459446996450424, -0.03794281557202339, -0.07210908085107803, -0.06406798213720322, 0.03891213238239288, 0.04778864234685898, 0.01081200409680605, -0.06070317327976227, -0.022290537133812904, -0.19177640974521637, 0.00279720569960773, -0.028550758957862854, 0.026027826592326164, -0.0266860444098711, -0.01041898038238287, -0.01866406388580799, 0.04505341500043869, 0.01091040764003992, -0.007277276832610369, 0.046224988996982574, 0.028957003727555275, 0.013506968505680561, -0.06316183507442474, 0.009785574860870838, 0.022698963060975075, -0.03760065510869026, -0.04501299932599068, 0.007419360801577568, -0.01036900281906128, 0.021519837900996208, -0.05621369555592537, 0.004977148491889238, 0.007978416047990322, -0.02398521453142166, 0.00023088796297088265, 0.03899813070893288, 0.01807948760688305, 0.023073304444551468, 0.036858681589365005, 0.011329788714647293, -0.04267272725701332, -0.02841094322502613, -0.15712425112724304, 0.13931503891944885, 0.003533024340867996, 0.009884757921099663, -0.048425376415252686, 0.0018136284779757261, -0.0022538972552865744, 0.06832972168922424, 0.042538370937108994, -0.02517087012529373, -0.03620816022157669, 0.03504409268498421, 0.024964412674307823, -0.006880967877805233, 0.025887995958328247, 0.006915510632097721, 0.03029949590563774, -0.023304246366024017, -0.05794653296470642, 0.014739724807441235, 0.011948578990995884, 0.007836454547941685, -0.0008150017820298672, 0.015223769471049309, 0.04121553525328636, 0.005740232765674591, 0.04742081090807915, 0.0396471731364727, 0.014421996660530567, -0.03600184619426727, 0.02295827679336071, 0.00495862727984786, -0.07619816064834595, -0.05251484364271164, 0.007846579886972904, 0.020933806896209717, -0.03502896428108215, 0.3890167474746704, -0.03008153848350048, -0.008048678748309612, 0.053419992327690125, 0.02035752683877945, -0.0070243407972157, 0.007638559676706791, 0.028730226680636406, -0.04182310029864311, -0.02319401130080223, -0.05444169044494629, -0.020347652956843376, 0.007602406200021505, 0.021954720839858055, -0.08088118582963943, -0.0015007902402430773, 0.0016148214926943183, -0.003213358810171485, -0.0055233146995306015, -0.020464805886149406, 0.009124672040343285, 0.0329224057495594, -0.0047930143773555756, 0.04443300887942314, 0.0717310979962349, 0.021575359627604485, 0.015439022332429886, 0.04480878636240959, 0.05369124561548233, 0.005842396058142185, 0.038679029792547226, 0.052996981889009476, -0.03463371843099594, -0.09270117431879044, -0.03124009259045124, 0.018289679661393166, 0.02791307121515274, 0.03263067826628685, -0.03631133213639259, -0.004706621170043945, 0.03716767206788063, -0.0077528515830636024, -0.0392293855547905, 0.03351959213614464, -0.03668318688869476, -0.0643061026930809, 0.13212263584136963, 0.022044066339731216, -0.020255543291568756, -0.03398451209068298, -0.02147110365331173, -0.01413060538470745, 0.037437476217746735, 0.0023230582010000944, -0.03536966070532799, 0.03344859555363655, 0.03833320736885071, 0.044675521552562714, -0.03242241591215134, -0.031784337013959885, -0.04785912111401558, -0.05537484958767891, -0.05644591897726059, -0.005328059662133455, 0.01995789259672165, 0.03589683771133423, -0.12511487305164337, -0.039835166186094284, 0.038815803825855255, -0.02380768395960331, -0.08893077075481415, 0.01818729192018509, 0.030374661087989807, -0.05672841519117355, -0.06250728666782379, 0.07378857582807541, 0.009538237936794758, -0.006217034067958593, -0.007658614777028561, 0.07190325856208801, 0.013753142207860947, 0.0018558301962912083, -0.00667279539629817, -0.05539616942405701, -0.0008644474437460303, -0.015579091385006905, -0.07408393919467926, -0.04663662239909172, -0.008492808789014816, -0.01824834756553173, -0.029782898724079132, 0.00197509559802711, -0.047530338168144226, -0.03808490186929703, 0.07646851241588593, -0.028914498165249825, -0.008213557302951813, -0.012738782912492752, 0.051763880997896194, 0.03755587339401245, -0.04547148570418358, 0.05492010712623596, 0.004790728446096182, 0.008923633955419064, 0.0388629250228405, -0.01263107918202877, 0.022439206019043922, 0.038792721927165985, -0.039035674184560776, 0.0378781259059906, -0.006647451780736446, -0.0422138087451458, 0.016749536618590355, -0.017838502302765846, 0.020954621955752373, -0.03769721835851669, 0.0069892569445073605, 0.015506712719798088, 0.018842311576008797, -0.012860189191997051, 0.03803279995918274, -0.0037238344084471464, -0.053278930485248566, -0.0016552775632590055, -0.3652661144733429, -0.036997076123952866, -0.006183504126966, -0.008199063129723072, 0.01464196015149355, -0.04683855175971985, 0.017198698595166206, 0.0009397286339662969, -0.00868931133300066, 0.02962648682296276, 0.09732650220394135, 0.022598734125494957, 0.014942235313355923, -0.11351597309112549, 0.020576639100909233, 0.014536787755787373, -0.012991036288440228, -0.0755762979388237, 0.0025129136629402637, 0.0548512227833271, 0.007255408447235823, -0.023305553942918777, 0.005106108728796244, -0.05047914758324623, 0.04398319497704506, -0.02866177447140217, 0.09356600791215897, 0.00084015162428841, 0.1141478568315506, -0.0364665649831295, 0.04178493842482567, 0.0023587692994624376, -0.0048032463528215885, -0.059827063232660294, -0.017282206565141678, -0.04249928891658783, 0.008397839963436127, 0.032019346952438354, 0.025203561410307884, -0.03525193780660629, -0.03176526352763176, 0.009119830094277859, -0.041019782423973083, -0.04830222576856613, 0.024985183030366898, 0.0021280786022543907, 0.01562223769724369, -0.02148604951798916, -0.0021508338395506144, 0.06697534769773483, -0.008802643045783043, -0.016080349683761597, 0.012876302935183048, 0.07766535878181458, -0.007554307579994202, -0.031033609062433243, -0.027073679491877556, 0.007208430673927069, -0.022351166233420372, -0.03577030077576637, 0.015431519597768784, 0.0351518951356411, 0.013765965588390827, -0.05216309055685997, 0.03257875517010689, 0.020517919212579727, -0.008696310222148895, 0.013085885904729366, 0.01838330179452896, -0.027713648974895477, -0.04732785373926163, 0.08213025331497192, 0.0028672264888882637, 0.014985327608883381, 0.0024293193127959967, 0.07212718576192856, -0.011251705698668957, 0.003195024561136961, 0.008584405295550823, 0.013352291658520699, 0.024433787912130356, 0.011170873418450356, 0.04831065982580185, -0.001874913927167654, -0.002567329676821828, 0.04778602346777916, -0.05710981786251068, -0.002296079182997346, 0.039173297584056854, -0.023105010390281677, -0.060523778200149536, 0.000300814863294363, 0.0025910388212651014, -0.05095594376325607, 0.04716239869594574, -0.030059952288866043, -0.26140302419662476, 0.011023961938917637, 0.08384387195110321, 0.04448103532195091, -0.0029379206243902445, -0.011104957200586796, 0.03219088539481163, -0.08161631971597672, 0.01587664522230625, 0.027988122776150703, 0.02067471668124199, 0.04304390400648117, 0.02241898700594902, -0.027567697688937187, 0.01115570217370987, 0.007465518079698086, 0.039407432079315186, 0.028815478086471558, 0.0028023661579936743, 0.006179785821586847, 0.027352921664714813, -0.015320428647100925, 0.16542312502861023, 0.03766212612390518, 0.02688600867986679, 0.014376156032085419, -0.017611801624298096, -0.012183686718344688, 0.10812409967184067, 0.009551789611577988, 0.0505562387406826, -0.01425965502858162, 0.07249358296394348, 0.011936260387301445, 0.03933984041213989, -0.0646529346704483, 0.022958943620324135, 0.04589404910802841, 0.019776467233896255, -0.03203435614705086, -0.017375007271766663, 0.02709905244410038, -0.07504753768444061, -0.019479183480143547, 0.0723206177353859, -0.015450294129550457, -0.006191887427121401, -0.02884405478835106, -0.050440892577171326, 0.0085005983710289, -0.03164991736412048, 0.004694904666393995, -0.011749004013836384, -0.0029751467518508434, -0.020193979144096375, 0.04326659068465233, 0.03776763752102852, -0.030433641746640205, -0.011349705047905445, 0.028548499569296837, -0.005012141540646553, -0.011494160629808903, 0.10243238508701324, 0.028102697804570198, 0.03871292620897293 ]
[ 0.0217882189899683, 0.013379613868892193, 0.002398078329861164, 0.04457467421889305, 0.009754269383847713, 0.0073845661245286465, -0.0015351022593677044, 0.03408246487379074, -0.009553123265504837, -0.025736479088664055, -0.0004647100577130914, -0.030015742406249046, 0.008169889450073242, -0.05358310043811798, 0.0316280722618103, -0.010385903529822826, 0.003990413621068001, -0.08290653675794601, 0.027901241555809975, 0.017974162474274635, 0.01425154134631157, 0.03071962669491768, -0.00006122569175204262, -0.006727064028382301, -0.004308232106268406, -0.006955837830901146, -0.04157928377389908, -0.02382390946149826, 0.017743472009897232, -0.09745334833860397, -0.009704574011266232, -0.019901946187019348, 0.004836331121623516, 0.04175465181469917, -0.01577436365187168, -0.017034638673067093, 0.036960117518901825, -0.0018648452823981643, -0.03717522323131561, 0.039195284247398376, 0.003334706649184227, -0.058001816272735596, -0.0025288653559982777, -0.00050293531967327, -0.03109137713909149, -0.01917395368218422, 0.020816301926970482, -0.047931693494319916, -0.03007286787033081, 0.07828588783740997, -0.03368024155497551, -0.02494211308658123, -0.022952912375330925, 0.023971527814865112, 0.06897628307342529, 0.0034200961235910654, -0.027694489806890488, -0.03041953034698963, -0.04017496109008789, -0.04803987964987755, 0.003363600932061672, 0.013817505910992622, -0.04867527633905411, -0.006642125081270933, -0.011848262511193752, -0.013398151844739914, -0.052849769592285156, -0.0027083007153123617, 0.0033874409273266792, -0.0030792104080319405, -0.005625395104289055, 0.010590968653559685, -0.007208996918052435, 0.006101695820689201, -0.04233531653881073, -0.004675287287682295, 0.04037315025925636, -0.03632025048136711, -0.022884583100676537, -0.057774193584918976, -0.03173060342669487, 0.03534015268087387, -0.021808229386806488, 0.037245072424411774, -0.006818970665335655, 0.008047536015510559, 0.008418858982622623, 0.03694118186831474, 0.008755854330956936, 0.03500308468937874, -0.015522558242082596, 0.027902713045477867, 0.0351799912750721, 0.02409333549439907, -0.07757443189620972, 0.01437331736087799, 0.01744648814201355, -0.02509848028421402, -0.011323048733174801, 0.8208015561103821, -0.03570548817515373, 0.04995571821928024, -0.018660956993699074, 0.029366660863161087, -0.020474165678024292, -0.03377830237150192, -0.048286743462085724, -0.008535651490092278, -0.02421322837471962, -0.05371325835585594, 0.029621900990605354, 0.020806483924388885, 0.02321714162826538, 0.01893240585923195, 0.048929937183856964, -0.005536064971238375, 0.04223381727933884, -0.0013344637118279934, 0.006364248227328062, 0.01523301936686039, 0.033959340304136276, 0.005699217785149813, 0.0065150693990290165, 0.04875319451093674, 0.03981748968362808, -0.15464359521865845, 0.04448298364877701, -6.270524004247794e-33, -0.01690514199435711, -0.0007069050334393978, 0.014772959984838963, 0.011149764992296696, 0.03366322070360184, 0.007950068451464176, 0.037629492580890656, 0.01617845520377159, 0.01823871210217476, 0.004122500773519278, 0.016142014414072037, -0.00141337257809937, -0.0033921534195542336, -0.02895018830895424, 0.04524204134941101, 0.0017132206121459603, -0.008630030788481236, 0.07014986872673035, 0.028417829424142838, 0.005718596745282412, 0.03898205608129501, -0.0028429680969566107, 0.033470891416072845, -0.03441430628299713, -0.0416824035346508, 0.026136010885238647, 0.015607914887368679, -0.01866941526532173, 0.006596151739358902, -0.058913927525281906, -0.0036477018147706985, -0.004591770004481077, 0.024140451103448868, -0.026804102584719658, 0.022389091551303864, -0.05742857605218887, 0.013253087177872658, 0.00017487416334915906, -0.031150784343481064, -0.005654855631291866, -0.03848874196410179, 0.004907615017145872, -0.013050811365246773, -0.025250395759940147, -0.014135202392935753, 0.022032756358385086, -0.024121902883052826, 0.009890677407383919, 0.006290648132562637, -0.004100020043551922, 0.04558384418487549, -0.0011895739007741213, 0.008720265701413155, -0.023276694118976593, -0.013877593912184238, 0.010383768938481808, -0.020765390247106552, 0.013420281931757927, -0.009118026122450829, -0.013284607790410519, 0.010864272713661194, -0.02477903664112091, 0.012022607959806919, -0.021911926567554474, -0.013780887238681316, 0.0026179731357842684, 0.0034719081595540047, -0.04818309471011162, -0.011408883146941662, 0.034741807729005814, -0.044403545558452606, 0.0052629983983933926, -0.01869988441467285, -0.04956486448645592, 0.038378335535526276, -0.00887223519384861, -0.00567799573764205, -0.0383780300617218, -0.00903587881475687, 0.052291978150606155, -0.008595996536314487, -0.017567100003361702, -0.0061347996816039085, -0.0006402790313586593, 0.004990778397768736, 0.0004286243056412786, 0.025896750390529633, 0.04645702242851257, 0.02317226491868496, 0.036782316863536835, 0.012639489024877548, -0.011253910139203072, -0.011700195260345936, -0.022558873519301414, -0.018064672127366066, 7.043397580918032e-33, -0.04546303674578667, 0.0006577640306204557, -0.036185916513204575, 0.014406898058950901, 0.023001842200756073, -0.045333657413721085, -0.006049350835382938, 0.018718937411904335, -0.025779923424124718, 0.04039589315652847, 0.0008861112874001265, 0.007844020612537861, -0.04230348393321037, 0.041562940925359726, 0.04609602317214012, -0.005802107974886894, 0.030756471678614616, -0.03667513653635979, 0.0015036556869745255, -0.019351154565811157, -0.011713618412613869, 0.003858902957290411, 0.013883625157177448, 0.01775217615067959, 0.036309171468019485, 0.06712327152490616, 0.007984817959368229, 0.015658531337976456, 0.004077478777617216, -0.03501877188682556, 0.015450784005224705, -0.012678534723818302, 0.02498001977801323, -0.06707543134689331, -0.025100035592913628, 0.04515035077929497, -0.018174389377236366, -0.01528987381607294, 0.014724456705152988, 0.006123346742242575, -0.006840005982667208, -0.026929154992103577, -0.01296069286763668, 0.0006488282815553248, -0.027167102321982384, 0.015684353187680244, -0.006885593757033348, -0.004608263727277517, 0.02901061810553074, 0.07580339163541794, 0.04162866994738579, -0.052622705698013306, -0.01811271347105503, 0.03846287354826927, 0.006013755686581135, -0.0044646612368524075, 0.01594364456832409, 0.0039578452706336975, -0.015565209090709686, -0.05007876083254814, -0.038717593997716904, 0.006570817437022924, -0.029995078220963478, 0.020000560209155083, -0.004094493575394154, 0.009002001956105232, -0.005927111022174358, -0.021864240989089012, -0.02884010411798954, 0.004075853154063225, 0.0006944279884919524, -0.04427307844161987, -0.012179839424788952, 0.03274507075548172, -0.007792410906404257, 0.010294831357896328, 0.02690468169748783, 0.019931457936763763, -0.04384688287973404, 0.03729989379644394, -0.019636349752545357, 0.01238115131855011, 0.032068606466054916, -0.01235939934849739, -0.011837344616651535, -0.004546633921563625, -0.006743448320776224, 0.010773751884698868, 0.017657272517681122, -0.02342943288385868, -0.019518528133630753, -0.017598848789930344, 0.006578200031071901, -0.011668538674712181, 0.018389984965324402, -1.2604460586373989e-8, -0.08104094117879868, -0.014254729263484478, -0.030919291079044342, 0.05392870306968689, 0.03096087835729122, -0.012674514204263687, -0.0029645462054759264, -0.028577784076333046, 0.02416449412703514, 0.007315365597605705, 0.049215804785490036, -0.02010919712483883, 0.04947156459093094, -0.0019084373489022255, 0.04796595126390457, -0.05168870463967323, 0.014994273893535137, -0.022729191929101944, 0.012932843528687954, -0.03787009045481682, 0.0057731084525585175, -0.012389101088047028, -0.002843239111825824, 0.0011447208235040307, -0.003971394617110491, -0.0007793359109200537, 0.03641119599342346, -0.046755608171224594, 0.03954720497131348, 0.01659507490694523, 0.013026142492890358, -0.009321199730038643, 0.030391450971364975, 0.041977930814027786, -0.010977431200444698, -0.012975779362022877, -0.000813252932857722, 0.018267922103405, 0.002087724395096302, -0.0030560281593352556, 0.013133525848388672, -0.0308548454195261, -0.002445473335683346, -0.011405774392187595, -0.02279273234307766, -0.015404956415295601, -0.01497065369039774, 0.007821639068424702, 0.08156100660562515, -0.016408944502472878, -0.017752962186932564, -0.003485377412289381, 0.043703824281692505, -0.01682565174996853, -0.008354281075298786, -0.005570327863097191, 0.03765362501144409, -0.009145162999629974, -0.0030267182737588882, 0.040287844836711884, 0.009389689192175865, 0.005502685904502869, -0.022283846512436867, -0.009883501566946507 ]
f-wrapping-net-library-calls
https://markhneedham.com/blog/2009/07/12/f-wrapping-net-library-calls
false
2009-07-14 13:23:52
Test Doubles: My current approach
[ "testing", "test-doubles" ]
[ "Testing" ]
My colleague Sarah Taraporewalla recently wrote about http://sarahtaraporewalla.com/thoughts/testing/canned-stubbed-and-mocked-fake-objects/[her thoughts on test doubles] (to use http://xunitpatterns.com/[Gerard Meszaros]' language) and it got me thinking about the approach I generally take in this area. == Stub objects I use http://xunitpatterns.com/Test%20Stub.html[stubs] mostly to control the output of depended on components of the system under test where we don't want to verify those outputs. Most of the time I make use of the mocking library's ability to stub out method calls on these dependencies. I find that it generally seems to require less effort to do this than to create hand written stubs although chatting to http://intwoplacesatonce.com/[Dave] about this he pointed out that one situation where it would make more sense to use a hand written stub is when stubbing out a http://www.markhneedham.com/blog/2008/09/24/testing-with-joda-time/[clock/time provider]. This is because there are likely to be multiple calls to it all over the place and most of the time you probably want it to return the same value anyway. I actually quite like the fact that you need to specify all the stub calls that you want to make in each test - it helps you to see when you have too many dependencies and then hopefully you can do something about that. On previous projects I worked on we decided the way to get around that problem was to http://www.markhneedham.com/blog/2008/12/19/tdd-mock-expectations-in-setup/[define all the stub method calls in a setup method] but that seems to lead to a world of pain later on when you forget that you've stubbed a method in the setup and now want to assert an expectation on it or (to a lesser extent) write a test which doesn't actually use the stub. == Fake objects I often confuse http://xunitpatterns.com/Fake%20Object.html[fakes] with stubs as seem to be quite similar to each other in their intent - the difference as I understand it is that with a stub we are controlling the output of a dependency whereas a fake just sits there and lets interactions happen with it. The values passed in earlier calls to the fake may be returned in later calls to it. The most common use of this pattern is to replace a real database with a fake one for testing although on a recent project we were making use of a hand written fake session store to avoid having to refer to the real session in our test code. We might have one call to the 'SessionFake' to store a value and then if a retrieve call is made later on we would return the value that we previously stored. The approach Sarah describes for stubbing repositories seems quite similar to this as well. == Mock objects I use http://xunitpatterns.com/Mock%20Object.html[mocks] to replace depended on components of the system under test when I do care about the way that is is used i.e. we want to verify the behaviour of the dependencies. If we see a mock object being created in a test then we should see a call to a 'verify' method later on to ensure that the expected methods are called on it. I used to use these all over the place for just about every test where I wanted to control the way that a dependency acted until I realised how fragile and confusing that made the tests. Now, after recently watching http://blog.jayfields.com/2009/06/developer-testing-welcome-to-beta-test.html[a presentation by Jay Fields], I try to ensure that I'm only setting up one expectation per test and use of the other test double approaches for any other dependencies that needs to be taken care of in that test. == Dummy objects Most of the time when I pass http://xunitpatterns.com/Dummy%20Object.html[dummy] values into tests they tend to be strings and I prefer to pass in a value of 'irrelevantValue' rather than just passing in a null which may lead to difficult to locate Null Pointer Exceptions further down the line if the value which we thought was just a dummy starts being used. We are generally only passing in these dummy values to satisfy the requirements of the system under test which may require values to be entered even if the particular piece of functionality that we are testing doesn't make use of them. == Overall I think my current approach to testing leans more towards http://martinfowler.com/articles/mocksArentStubs.html[mockist rather than classicist] although I think I am probably moving more towards the middle as I see the problems we can run into with over mocking. With test doubles my current approach has minimising the effort required to create them as the most important aspect but I'm sure that will change given a different context. With all the test doubles I generally try and use http://www.markhneedham.com/blog/2009/01/21/c-builder-pattern-still-useful-for-test-data/[test data builders] where it's not overkill.
null
null
[ 0.017830166965723038, -0.005813103634864092, -0.044999826699495316, 0.04541786015033722, 0.06405696272850037, 0.013993261381983757, 0.029506467282772064, 0.037193819880485535, 0.026153339073061943, -0.0218729916960001, 0.02378680743277073, 0.004401701036840677, -0.06159480661153793, 0.016320887953042984, -0.06401409208774567, 0.06947561353445053, 0.07908604294061661, -0.02888399362564087, 0.025436559692025185, 0.00005546985994442366, 0.03401317074894905, 0.028831711038947105, 0.0037644074764102697, 0.04991978406906128, 0.014414910227060318, 0.027044173330068588, 0.006234181113541126, -0.0029131993651390076, -0.055155977606773376, -0.03461746498942375, 0.035143472254276276, 0.002030499977990985, 0.008817007765173912, -0.02791321463882923, 0.016075070947408676, -0.019230425357818604, -0.013895747251808643, 0.02134869061410427, 0.003151921322569251, 0.019526297226548195, -0.07079051434993744, -0.00048763156519271433, -0.0006624420057050884, 0.004961081780493259, -0.05634152889251709, 0.00021016309619881213, 0.0023101649712771177, -0.005632783751934767, -0.01200557965785265, 0.025805611163377762, -0.047520656138658524, 0.05839183181524277, -0.015733664855360985, 0.01799335889518261, -0.006750717293471098, 0.03274673596024513, 0.015559326857328415, -0.09270619601011276, 0.02984682284295559, -0.061578169465065, 0.0004525645053945482, -0.005990813486278057, -0.005356142297387123, 0.04642770066857338, -0.0019842535257339478, -0.004096978344023228, 0.02463957853615284, 0.035032760351896286, -0.04633349925279617, -0.016971582546830177, -0.020757677033543587, -0.013770367950201035, -0.02430061437189579, -0.02762284316122532, -0.007573255337774754, -0.048668209463357925, -0.0005619846633635461, 0.05583416670560837, 0.009894146583974361, 0.04491553083062172, -0.012487960048019886, -0.015985069796442986, 0.03208743780851364, 0.014455502852797508, -0.0066970461048185825, -0.04860435053706169, -0.01659831777215004, -0.016540946438908577, -0.04600127041339874, 0.06320971995592117, 0.04141915962100029, -0.03400741145014763, 0.00980666745454073, 0.02461877465248108, -0.036127857863903046, 0.016499487683176994, 0.039921410381793976, -0.01281321607530117, 0.021672068163752556, -0.006007425952702761, -0.02708333171904087, -0.012000404298305511, 0.02978966385126114, 0.02090838924050331, -0.06857334077358246, -0.013698330149054527, -0.024967169389128685, -0.028852084651589394, -0.010766738094389439, 0.0007483508670702577, -0.03448780998587608, 0.038564085960388184, -0.003380014095455408, -0.01164967566728592, -0.09041108936071396, 0.04509899392724037, -0.0146267618983984, -0.03963268920779228, -0.026717763394117355, 0.0382506363093853, 0.0368308387696743, 0.032327327877283096, -0.011260522529482841, 0.07405885308980942, 0.018990902230143547, 0.03458588942885399, -0.02205660380423069, 0.04816005006432533, -0.007544797379523516, -0.0694965273141861, -0.013301159255206585, 0.053050026297569275, -0.003081441158428788, 0.0060998909175395966, 0.005204466171562672, -0.035557910799980164, -0.011428790166974068, -0.004244430456310511, 0.04424132779240608, 0.05336441472172737, -0.03642118722200394, -0.033565741032361984, 0.013670721091330051, 0.011599602177739143, -0.008927407674491405, 0.005173813086003065, -0.0058735390193760395, -0.02634519524872303, -0.031130392104387283, 0.04687592387199402, 0.010193895548582077, 0.04720791056752205, 0.044926248490810394, -0.049225978553295135, 0.008523640222847462, 0.06987528502941132, 0.015602745115756989, 0.019199833273887634, 0.014904545620083809, 0.035129234194755554, 0.05234716087579727, 0.03407594934105873, 0.011904961429536343, 0.04565078392624855, 0.016506046056747437, 0.0020444814581424, 0.00022768975759390742, 0.0427609421312809, 0.00034347164910286665, -0.016711970791220665, -0.06305903941392899, -0.05586688593029976, 0.07699645310640335, -0.03547992184758186, -0.020007479935884476, 0.032040905207395554, 0.06966442614793777, 0.008246861398220062, 0.04731005057692528, 0.021173899993300438, -0.07344840466976166, 0.04905017092823982, 0.03558478504419327, 0.027714883908629417, 0.022324269637465477, -0.0001788688387023285, 0.05092255398631096, 0.034282930195331573, -0.0475858673453331, 0.045212119817733765, -0.07291992753744125, -0.07013974338769913, -0.021934887394309044, -0.018056899309158325, 0.04768804833292961, -0.0452992282807827, -0.0066356356255710125, 0.07821725308895111, 0.045810483396053314, 0.018650585785508156, 0.014427666552364826, 0.007758621592074633, -0.00014334553270600736, -0.028956927359104156, -0.03466983512043953, 0.05973273143172264, 0.03689321503043175, -0.009080521762371063, -0.03792024031281471, 0.008063330315053463, -0.02712607942521572, -0.005501560401171446, 0.03297043219208717, -0.01605335809290409, 0.011372233740985394, 0.02548648975789547, 0.04903754964470863, -0.013901354745030403, 0.05402843654155731, -0.05943111330270767, -0.004417696502059698, -0.001761114108376205, -0.05271153897047043, 0.004440976772457361, -0.009279013611376286, 0.10663563013076782, 0.04356131702661514, -0.025724206119775772, -0.03616159409284592, 0.011825738474726677, 0.024345938116312027, -0.03620012477040291, -0.017286907881498337, -0.00786625873297453, 0.016917655244469643, 0.01171883288770914, -0.030441397801041603, 0.011372247710824013, 0.015459861606359482, -0.042441029101610184, 0.0023189731873571873, 0.05162392556667328, 0.0007715410902164876, 0.052960656583309174, -0.020826896652579308, -0.04916035383939743, -0.021861739456653595, -0.040154483169317245, -0.06984953582286835, -0.0029100708197802305, 0.03473367169499397, -0.012073159217834473, 0.04005947336554527, -0.02964937873184681, -0.019929269328713417, -0.023479605093598366, -0.03764535114169121, 0.024690527468919754, 0.03675961494445801, 0.08404167741537094, -0.002269498538225889, 0.043681077659130096, 0.004785581957548857, 0.011231303215026855, -0.0280106533318758, -0.04916458576917648, -0.009689358063042164, 0.005883628968149424, 0.004535120911896229, 0.05244801938533783, 0.020774878561496735, 0.026776688173413277, 0.018643055111169815, 0.0026491351891309023, -0.009710727259516716, 0.015739329159259796, 0.013332845643162727, 0.011786728166043758, -0.017167355865240097, -0.019780967384576797, -0.05289871618151665, 0.04909752681851387, -0.0399162620306015, -0.026114165782928467, 0.05548277869820595, -0.1113644391298294, 0.037981100380420685, -0.08279629796743393, -0.06654655188322067, 0.00784529559314251, 0.000971204019151628, 0.05903533473610878, 0.015253429301083088, 0.03578760102391243, 0.04912645369768143, 0.009996972978115082, -0.002754469634965062, 0.025776579976081848, -0.0019310151692479849, 0.02700944058597088, -0.003030784660950303, -0.016541605815291405, 0.03194690868258476, 0.006586805451661348, 0.01602129638195038, -0.0656471848487854, 0.01571219600737095, -0.03471507132053375, -0.2893432080745697, 0.03316844254732132, -0.009959420189261436, -0.048969730734825134, 0.028797917068004608, -0.023799780756235123, 0.014832444489002228, -0.05305977910757065, -0.03255988657474518, 0.045435719192028046, -0.02216223068535328, -0.025793859735131264, -0.017976952716708183, 0.04131867364048958, -0.003655731678009033, 0.0036381506361067295, 0.020883671939373016, -0.03823009133338928, 0.030049998313188553, 0.053553227335214615, -0.007677030749619007, -0.08294539153575897, -0.01962442696094513, 0.054995886981487274, 0.044854845851659775, 0.049727071076631546, -0.06877674907445908, 0.034573279321193695, -0.04706067591905594, -0.0006611364078707993, 0.014283199794590473, -0.007947579957544804, -0.005707199685275555, -0.02449682541191578, -0.022524386644363403, -0.0019295046804472804, 0.018099991604685783, -0.009659934788942337, 0.0025652796030044556, 0.025555353611707687, -0.025111226364970207, -0.04048597812652588, -0.02348989248275757, 0.014285307377576828, 0.08476032316684723, 0.00939338468015194, -0.03824538737535477, -0.01078315731137991, -0.02438845857977867, 0.08063142746686935, -0.05524995177984238, -0.03408411145210266, -0.016689468175172806, 0.029043162241578102, -0.031365759670734406, -0.028760356828570366, -0.025052880868315697, -0.01645844615995884, -0.031660038977861404, -0.03777329996228218, -0.024067005142569542, -0.03864114731550217, -0.043532662093639374, -0.02943483181297779, -0.023263566195964813, -0.07293091714382172, -0.05688992887735367, -0.01342086959630251, 0.08914550393819809, 0.00352455023676157, -0.032411910593509674, 0.0016567754792049527, 0.007448543794453144, -0.10703074187040329, 0.019831238314509392, -0.013668810948729515, -0.0457429438829422, -0.004288220312446356, 0.003928339574486017, 0.07370374351739883, -0.023013519123196602, -0.051249075680971146, 0.030457137152552605, -0.001315747736953199, 0.030103614553809166, -0.006639834027737379, 0.02107110805809498, 0.02075369469821453, -0.013617033138871193, 0.008226649835705757, 0.07249058037996292, 0.020159130915999413, -0.018044857308268547, -0.007468268740922213, 0.01695534586906433, 0.0573141910135746, 0.020703185349702835, 0.0004857220337726176, 0.02142726443707943, 0.007351219188421965, 0.015613777562975883, -0.05493907257914543, 0.030907126143574715, -0.03419585898518562, 0.009665155783295631, -0.034428615123033524, -0.053478676825761795, 0.03155156970024109, 0.0018869527848437428, 0.016227519139647484, -0.01781022921204567, -0.030821312218904495, -0.0014000565279275179, -0.04460734501481056, -0.055308032780885696, -0.02136899344623089, 0.016627224162220955, 0.040083855390548706, -0.0323106050491333, 0.010322783142328262, -0.03279397264122963, 0.030441880226135254, -0.004029033239930868, -0.024956798180937767, -0.05097833275794983, -0.03588081896305084, -0.02222111076116562, 0.005860034842044115, 0.00905083492398262, 0.0164951179176569, -0.012732818722724915, 0.01395814772695303, 0.004679201636463404, -0.011409671045839787, 0.029821669682860374, 0.00002861311804736033, -0.0651242807507515, -0.03470335900783539, 0.0008351028081960976, 0.008135626092553139, -0.01592179946601391, -0.01035691425204277, 0.017046542838215828, 0.025998257100582123, 0.021110834553837776, -0.018664829432964325, 0.03972167894244194, -0.03303484618663788, 0.008332488127052784, 0.017975060269236565, 0.03666389361023903, -0.06498374789953232, 0.017648832872509956, -0.03619076684117317, -0.009704705327749252, -0.00024088278587441891, 0.033379022032022476, 0.0007966859266161919, -0.04648176208138466, -0.015581383369863033, -0.0019067843677476048, -0.0547763928771019, -0.02429039403796196, -0.022723374888300896, -0.001614066888578236, 0.06063045561313629, -0.057855959981679916, 0.02786160446703434, -0.01935739442706108, -0.02866414375603199, -0.012663433328270912, -0.004192232619971037, -0.02545393817126751, 0.0331227071583271, 0.02130172774195671, 0.012711881659924984, -0.0037412482779473066, 0.035174883902072906, 0.064747154712677, 0.026863867416977882, 0.005357608199119568, -0.027691323310136795, 0.021724049001932144, 0.0044732969254255295, 0.045790690928697586, 0.019867222756147385, 0.0010472579160705209, -0.014455211348831654, -0.005789814051240683, 0.001180752762593329, -0.04101227968931198, -0.009340830147266388, 0.00839997548609972, 0.02720237523317337, -0.030118003487586975, -0.08016154170036316, 0.04112500697374344, 0.02872333861887455, 0.0077793593518435955, 0.008596674539148808, 0.020155761390924454, -0.012188788503408432, -0.02163258194923401, 0.027486350387334824, 0.04411202296614647, -0.06447502970695496, -0.0007549715228378773, 0.0012766800355166197, 0.0297547560185194, 0.01278657279908657, 0.01847940869629383, -0.027030646800994873, -0.016762681305408478, -0.000584059685934335, -0.004306006710976362, -0.05788809806108475, 0.003582409583032131, -0.028801947832107544, 0.027976155281066895, 0.013745765201747417, -0.008200828917324543, -0.00996113009750843, -0.01156491506844759, -0.008870169520378113, -0.04768143966794014, 0.02633770741522312, -0.04276300594210625, 0.008376998826861382, 0.009417611174285412, -0.036703623831272125, 0.017153780907392502, -0.02832636795938015, 0.039736080914735794, 0.034662093967199326, -0.036723122000694275, -0.020552203059196472, -0.018925858661532402, -0.009749112650752068, -0.0002726340026129037, 0.030106142163276672, 0.0010697573889046907, -0.016892990097403526, -0.018051117658615112, 0.006208665668964386, -0.04473263770341873, 0.002510329242795706, 0.0008049021707847714, -0.009292581118643284, 0.01885136589407921, 0.04967935383319855, 0.027381476014852524, 0.033090125769376755, -0.00558258593082428, -0.006348609924316406, 0.05097668617963791, -0.09788686037063599, -0.03594609349966049, -0.04794103652238846, -0.07241544127464294, 0.009826749563217163, -0.00021758241928182542, 0.025359876453876495, -0.0466977097094059, 0.009964967146515846, 0.02307666651904583, -0.011610832996666431, 0.06336931884288788, 0.009098285809159279, 0.03767898678779602, -0.0558057576417923, 0.01212988793849945, -0.08001402765512466, 0.005328003782778978, 0.04257333278656006, 0.003287701867520809, -0.008675359189510345, -0.009404645301401615, -0.02689046412706375, 0.03102828375995159, -0.064307801425457, 0.011483313515782356, 0.03340081498026848, -0.017719818279147148, -0.0180174820125103, 0.011950831860303879, -0.08027905225753784, 0.022692130878567696, 0.018893811851739883, -0.029826192185282707, -0.02994612045586109, -0.017797384411096573, 0.06520775705575943, 0.03008032962679863, -0.001215822296217084, -0.0249249916523695, 0.014003642834722996, 0.06762335449457169, 0.012921665795147419, 0.024920281022787094, 0.02429467998445034, 0.00598116172477603, 0.02943572960793972, 0.015400923788547516, -0.0061975521966814995, 0.0015098099829629064, 0.004446135368198156, -0.015751775354146957, -0.06634575128555298, 0.03444035351276398, 0.0030539443250745535, -0.015942484140396118, -0.03673965856432915, 0.059537529945373535, 0.00892242044210434, -0.02959752082824707, -0.06906027346849442, 0.005993265192955732, -0.03758333623409271, -0.03877018019556999, -0.019869878888130188, -0.016356542706489563, -0.06279964745044708, 0.07411641627550125, 0.006064843852072954, 0.009892196394503117, 0.07711142301559448, 0.007052495609968901, -0.0344773568212986, -0.03391949459910393, 0.0914187803864479, 0.0717681422829628, 0.036811184138059616, 0.008063758723437786, 0.04395957291126251, -0.009023158811032772, -0.05239972099661827, 0.019358646124601364, -0.005565719213336706, -0.00892967265099287, -0.0290664192289114, -0.002709118416532874, 0.07393517345190048, -0.029806843027472496, 0.07200305908918381, -0.02052547037601471, 0.012299387715756893, 0.0034211985766887665, 0.03129146248102188, 0.0006732111214660108, 0.06679464876651764, 0.004471082706004381, 0.015375649556517601, 0.004574380815029144, -0.04787203297019005, 0.046867888420820236, -0.0417402945458889, -0.010856143198907375, 0.04589609429240227, -0.008132555522024632, 0.03360079601407051, 0.017789635807275772, -0.0045809498988091946, 0.04798769950866699, -0.013821663334965706, 0.0033409998286515474, -0.006876029539853334, 0.015736393630504608, 0.02004653960466385, 0.004165972582995892, -0.024684812873601913, -0.01703890785574913, 0.018140368163585663, -0.03124927170574665, 0.0178268663585186, -0.008698712103068829, -0.03805290535092354, 0.053311146795749664, -0.005000125616788864, 0.041536733508110046, 0.021907659247517586, -0.02073557674884796, -0.04972783103585243, -0.07503636181354523, -0.032703764736652374, -0.018926844000816345, -0.04740483686327934, -0.022337142378091812, 0.02735212817788124, -0.01205782126635313, -0.038008369505405426, -0.0318165048956871, -0.025928406044840813, -0.030178315937519073, 0.056763358414173126, -0.046725574880838394, -0.03402158245444298, 0.03514862060546875, 0.023112259805202484, 0.014911120757460594, -0.004304171074181795, 0.04400167241692543, 0.035965681076049805, 0.0028838301077485085, -0.02581404522061348, -0.019912591204047203, 0.028121845796704292, -0.00894922949373722, 0.01894943043589592, -0.06267455965280533, -0.008867003954946995, 0.012301666662096977, -0.0024644872173666954, -0.06101541593670845, 0.02333718165755272, -0.0017440832452848554, -0.019948866218328476, 0.03472137078642845, -0.03955969214439392, 0.019986893981695175, -0.016186874359846115, -0.0058330814354121685, 0.019231293350458145, 0.031509533524513245, 0.04351014643907547, -0.008918927982449532, 0.07092918455600739, 0.03768937662243843, -0.029403485357761383, -0.03689667955040932, -0.015588657930493355, -0.0040002306923270226, 0.008062891662120819, -0.007796111516654491, -0.031967643648386, -0.04234977439045906, -0.06980578601360321, -0.022858740761876106, 0.021014314144849777, -0.019687622785568237, -0.031217463314533234, 0.026570171117782593, 0.0017152484506368637, -0.047776054590940475, 0.009226650930941105, -0.04580070450901985, 0.04530862718820572, -0.044109415262937546, -0.007212471216917038, -0.0013682488352060318, 0.05302182585000992, 0.011231723241508007, 0.007786758244037628, 0.030361615121364594, -0.04128075763583183, -0.019978491589426994, 0.008708628825843334, 0.05378681793808937, 0.05378417670726776, 0.00465336162596941, -0.0038951444439589977 ]
[ -0.10614534467458725, 0.016754422336816788, -0.042611826211214066, -0.01876400038599968, 0.07084856927394867, -0.02102215215563774, 0.008333471603691578, 0.01745329052209854, -0.0037779908161610365, -0.005166718270629644, -0.015801364555954933, -0.027159281075000763, 0.0017752711428329349, -0.027505187317728996, 0.09396493434906006, 0.011720441281795502, -0.003430951153859496, -0.06774608045816422, 0.004193199798464775, 0.03963591158390045, 0.03316555917263031, -0.0011417155619710684, -0.039778124541044235, -0.02411911077797413, 0.038018520921468735, 0.02849217876791954, 0.04530278220772743, -0.02307058311998844, 0.011949612759053707, -0.22721712291240692, 0.03110591694712639, 0.010308475233614445, -0.006315081845968962, -0.05462425947189331, -0.0032376160379499197, 0.024479378014802933, 0.03543774411082268, 0.005979662295430899, -0.012587371282279491, 0.0448148287832737, 0.015473459847271442, 0.014968814328312874, -0.04673781991004944, -0.025496507063508034, 0.028464119881391525, 0.0012769296299666166, -0.04018833115696907, -0.0201578326523304, 0.0010574181796982884, 0.02087593637406826, -0.04489540681242943, -0.01992958039045334, -0.014207162894308567, -0.03245013952255249, -0.02183399349451065, -0.010326105169951916, 0.0404944084584713, 0.05855937302112579, 0.01197680551558733, 0.016974590718746185, 0.01966814137995243, -0.030776137486100197, -0.10054904967546463, 0.08887824416160583, 0.024762187153100967, 0.041166845709085464, -0.006646384485065937, -0.014611777849495411, 0.018785422667860985, 0.09794997423887253, 0.009341827593743801, -0.03036118671298027, -0.033337920904159546, 0.0696105882525444, 0.01829185150563717, -0.022203637287020683, 0.006572229787707329, 0.018111826851963997, 0.04042239859700203, -0.04238051548600197, -0.04700464755296707, -0.018606798723340034, 0.0058016087859869, -0.0065204366110265255, -0.0005701997433789074, -0.001500620972365141, 0.0025172915775328875, 0.04489950090646744, 0.041019830852746964, 0.0414009727537632, 0.05997099727392197, 0.005217287223786116, 0.03858797997236252, 0.009207351133227348, -0.07693460583686829, -0.0024751632008701563, -0.024870887398719788, -0.003081125905737281, -0.024737028405070305, 0.4560779929161072, -0.028187179937958717, -0.021982789039611816, 0.045860059559345245, 0.036885783076286316, -0.014040541835129261, -0.02515381947159767, -0.008220476098358631, -0.06931202113628387, 0.004029131028801203, -0.011065947823226452, 0.014431220479309559, -0.0016999643994495273, 0.03679840266704559, -0.039545588195323944, 0.011022822931408882, 0.008361928164958954, 0.03343014046549797, 0.0050755334086716175, -0.027812857180833817, 0.0007023467333056033, -0.0019842323381453753, 0.02812216244637966, 0.012516558170318604, -0.006521712522953749, -0.005896303337067366, -0.046055179089307785, 0.019119225442409515, 0.05730419233441353, 0.008112833835184574, 0.007141486741602421, 0.022264942526817322, -0.08154547959566116, -0.07560371607542038, -0.0025761642027646303, 0.0035294939298182726, 0.03336992859840393, 0.024642055854201317, -0.00969255156815052, 0.03300035744905472, 0.04112902283668518, 0.017359985038638115, -0.02016989141702652, 0.03734983876347542, 0.002889296505600214, -0.030506478622555733, 0.059291061013936996, -0.011032420210540295, -0.0038079211954027414, 0.0028721962589770555, -0.03673718497157097, 0.023596791550517082, 0.0339256189763546, -0.027297860011458397, -0.06727566570043564, 0.02882613055408001, -0.02600007876753807, 0.02521638199687004, 0.010898524895310402, -0.022095533087849617, -0.030375169590115547, -0.02620660699903965, -0.014247311279177666, -0.03588050976395607, 0.003130473894998431, -0.00030476253596134484, -0.07871321588754654, -0.029394233599305153, 0.02164783701300621, 0.024443626403808594, -0.06459005922079086, 0.009137100540101528, -0.009599655866622925, -0.0394471250474453, -0.025912005454301834, 0.014002002775669098, -0.046649668365716934, -0.039564795792102814, 0.02570277452468872, 0.04246246814727783, 0.039855167269706726, 0.007821840234100819, 0.0168513972312212, -0.05181402713060379, 0.01782837323844433, -0.01508469320833683, -0.09163500368595123, -0.04064260795712471, -0.010862860828638077, -0.015575316734611988, -0.005343492142856121, -0.034227266907691956, -0.04162402078509331, -0.11205310374498367, 0.09737780690193176, -0.026961302384734154, -0.01843021623790264, 0.024673668667674065, -0.002342652063816786, 0.0044018873013556, -0.019038451835513115, -0.007412742357701063, 0.056013088673353195, -0.00005108859477331862, 0.022507205605506897, -0.045706942677497864, 0.07309713959693909, 0.0531991682946682, -0.055774420499801636, 0.08920653164386749, 0.04255290701985359, -0.05057581514120102, -0.032020799815654755, -0.005222846753895283, 0.010068443603813648, -0.04224151000380516, -0.018029378727078438, 0.016221635043621063, 0.018855314701795578, -0.006974093150347471, 0.029233461245894432, -0.018886566162109375, -0.02720136195421219, -0.015878519043326378, -0.3570728898048401, -0.03304057568311691, 0.0016186075517907739, -0.0034050317481160164, 0.040379807353019714, -0.06620629131793976, -0.00961820688098669, 0.009796644560992718, -0.003430574433878064, 0.0044172378256917, 0.055088110268116, -0.024044055491685867, -0.0009504262125119567, -0.09596322476863861, 0.018971748650074005, 0.0345352403819561, -0.07116692513227463, -0.05375422537326813, -0.050698406994342804, 0.02519218809902668, -0.03530353680253029, 0.007669743150472641, -0.010178658179938793, -0.05364307016134262, 0.02503948286175728, -0.03459278121590614, 0.07224050164222717, -0.0011327010579407215, 0.05732588469982147, -0.012391836382448673, 0.03693366423249245, -0.0011272222036495805, 0.025154367089271545, -0.06892192363739014, -0.022246696054935455, -0.0037578812334686518, -0.02188526652753353, 0.012058611959218979, 0.06415212899446487, -0.031825195997953415, -0.04422607645392418, 0.025133809074759483, -0.05852075666189194, -0.07352208346128464, -0.025866253301501274, 0.03208190202713013, -0.015482503920793533, -0.0021485646720975637, -0.014305848628282547, 0.07403500378131866, 0.006739099510014057, 0.010930975899100304, -0.012586806900799274, -0.0006608762196265161, -0.00401685107499361, -0.04524972289800644, -0.08371564000844955, 0.02570696920156479, 0.013288428075611591, 0.005881261546164751, 0.020385323092341423, 0.0691559910774231, 0.03226936236023903, -0.052720580250024796, 0.00844072550535202, 0.012865903787314892, -0.013696683570742607, -0.02526797167956829, 0.061614979058504105, -0.009736619889736176, -0.0047974130138754845, 0.1153905838727951, -0.00007354014087468386, 0.016034049913287163, 0.03696330636739731, 0.03861873224377632, -0.011651936918497086, 0.0000524856623087544, 0.007412846200168133, 0.00578814884647727, 0.014358757063746452, 0.017630252987146378, 0.020974233746528625, -0.03239422291517258, -0.005197817459702492, 0.005151408724486828, -0.023271508514881134, 0.003370722522959113, 0.07761460542678833, 0.015387078747153282, -0.034081440418958664, -0.001357576227746904, 0.013865936547517776, -0.046406686305999756, 0.06772935390472412, -0.011760258115828037, -0.2387426346540451, -0.01047320757061243, 0.08066942542791367, 0.06314896792173386, -0.02210122160613537, 0.040572959929704666, 0.01752718724310398, -0.05898350477218628, 0.024077285081148148, 0.019226273521780968, 0.019055597484111786, 0.041675299406051636, 0.022192489355802536, 0.005257247481495142, 0.042509689927101135, 0.0027858868706971407, 0.05313868820667267, -0.01662212423980236, 0.006914148107171059, -0.04199446365237236, 0.012462633661925793, -0.03240392357110977, 0.17964798212051392, 0.004552452825009823, 0.0011592137161642313, 0.0100926598533988, 0.03876839950680733, 0.023447131738066673, 0.07655081152915955, -0.011149154976010323, 0.016598494723439217, -0.010753508657217026, 0.008586082607507706, 0.0041181715205311775, 0.022782819345593452, -0.0661868080496788, -0.05152791738510132, -0.0011056988732889295, 0.02133314684033394, -0.007297443691641092, 0.0007391112158074975, 0.007028804160654545, -0.04970289021730423, 0.009289073757827282, 0.0778968334197998, 0.004024415742605925, -0.041300684213638306, -0.042385078966617584, -0.05033111944794655, -0.006307165138423443, -0.03030840866267681, -0.031629543751478195, 0.015504210256040096, -0.026628876104950905, 0.017279207706451416, 0.07626308500766754, 0.040172163397073746, -0.0041183242574334145, -0.018048543483018875, 0.031401343643665314, 0.012953702360391617, 0.007192373741418123, 0.13159631192684174, 0.04824024438858032, 0.033691249787807465 ]
[ -0.01794574409723282, -0.011290685273706913, 0.015219692140817642, 0.0034557844046503305, -0.031136831268668175, 0.007417451124638319, -0.024426713585853577, 0.05881570652127266, -0.015782516449689865, -0.03217682987451553, -0.0016445743385702372, 0.008251030929386616, 0.016364220529794693, -0.007008327171206474, 0.027685482054948807, -0.023711606860160828, 0.013145054690539837, -0.010073455050587654, 0.02341732755303383, -0.025628766044974327, 0.02299959398806095, -0.0017748697428032756, 0.006054351571947336, -0.014899620786309242, -0.027572402730584145, -0.013778508640825748, -0.024714086204767227, -0.011294578202068806, 0.018650297075510025, -0.16124048829078674, 0.03291505202651024, -0.016639331355690956, -0.018574539572000504, -0.013579572550952435, -0.008040433749556541, -0.03731855750083923, 0.0033264802768826485, 0.006902741268277168, 0.04281807318329811, -0.030877575278282166, 0.05820070207118988, -0.02389093115925789, -0.013361361809074879, 0.021651633083820343, 0.00445747934281826, -0.0028309763874858618, 0.059441737830638885, -0.004142816178500652, -0.013428538106381893, -0.04767734929919243, -0.028688475489616394, -0.04171536862850189, 0.0015522288158535957, 0.03543207049369812, -0.008976940996944904, 0.0060844882391393185, 0.03122974932193756, 0.011841051280498505, 0.02681274339556694, 0.024059677496552467, -0.014906255528330803, 0.05422276630997658, 0.023029210045933723, -0.022343194112181664, -0.008269382640719414, 0.018123410642147064, 0.012816543690860271, 0.03260606527328491, 0.03090048022568226, 0.004934619180858135, -0.029692392796278, 0.006224955897778273, -0.0022183889523148537, 0.01894494891166687, -0.029519667848944664, -0.014671550132334232, -0.04119597747921944, -0.0037998759653419256, 0.0332588292658329, 0.008291437290608883, -0.0344991497695446, -0.009153950959444046, -0.01922016777098179, -0.010743645951151848, 0.03196200728416443, 0.023043330758810043, 0.00018411035125609487, 0.0032871642615646124, 0.04220600798726082, -0.007051981519907713, 0.00776477949693799, 0.024540089070796967, -0.001741049694828689, 0.05680768936872482, -0.09844882041215897, -0.024096988141536713, 0.04004281386733055, -0.01993710920214653, -0.007233940064907074, 0.8345298171043396, -0.00988307036459446, 0.03658350929617882, 0.035965777933597565, 0.020001184195280075, -0.009436913765966892, -0.0030973232351243496, -0.006860621739178896, -0.033402249217033386, -0.004016278777271509, -0.033752184361219406, 0.04603349417448044, 0.03440772369503975, 0.008445448242127895, 0.006601281929761171, 0.009353204630315304, -0.017946740612387657, 0.008228362537920475, 0.020396536216139793, -0.0022183582186698914, -0.050224144011735916, 0.016064388677477837, 0.02198522910475731, 0.039354827255010605, 0.029939038679003716, -0.015837235376238823, -0.16544383764266968, 0.025732144713401794, -7.596267104256309e-33, 0.03884972259402275, -0.020540345460176468, 0.029945826157927513, -0.011629577726125717, 0.00477271992713213, -0.011626098304986954, 0.04884558916091919, 0.03123088926076889, 0.018060507252812386, -0.04083007201552391, 0.03224547952413559, -0.06483144313097, 0.026337696239352226, -0.016673149541020393, 0.0015637875767424703, 0.016942104324698448, -0.01793704554438591, 0.01966853253543377, -0.010427265428006649, 0.05804118514060974, 0.024908397346735, 0.037117425352334976, -0.0008807627018541098, -0.02221609465777874, -0.004548827651888132, 0.007193999830633402, 0.02523854188621044, -0.0035126889124512672, -0.022632189095020294, -0.04192120581865311, -0.009173017926514149, 0.02699383907020092, -0.014451654627919197, -0.00025573003222234547, 0.044092945754528046, -0.0266624316573143, -0.0019043284701183438, -0.025889266282320023, -0.03657623380422592, -0.018147926777601242, -0.04011278599500656, -0.027005627751350403, -0.03096846118569374, 0.014471211470663548, 0.0056007117964327335, -0.044528815895318985, -0.015278086997568607, 0.018021704629063606, 0.05101044476032257, -0.005050739739090204, -0.03838136047124863, -0.0036796629428863525, 0.006125650834292173, -0.017947422340512276, 0.002020865445956588, 0.020236274227499962, 0.030622389167547226, 0.014317657798528671, 0.025396520271897316, 0.012751737609505653, -0.011282641440629959, -0.043663062155246735, -0.0502760075032711, -0.009936276823282242, -0.030271701514720917, 0.004296665079891682, 0.011902714148163795, -0.025601452216506004, 0.03575487062335014, -0.005101313814520836, -0.04260566458106041, 0.007017701864242554, -0.046147819608449936, -0.02846500650048256, -0.011501887813210487, -0.027358682826161385, 0.0021781313698738813, 0.025210121646523476, 0.00037098658503964543, 0.01207718625664711, 0.02271069958806038, -0.027823355048894882, -0.014634830877184868, -0.0008409414440393448, 0.01148152258247137, -0.005932309664785862, 0.050611913204193115, -0.017657659947872162, -0.00938446819782257, -0.009312586858868599, 0.02629229426383972, 0.03508654981851578, 0.00458543561398983, -0.0025958495680242777, -0.026377536356449127, 8.847982712837821e-33, 0.023507926613092422, 0.05051666125655174, -0.025818729773163795, 0.04589242488145828, 0.02213815227150917, -0.03307642042636871, 0.014282021671533585, 0.004553314298391342, -0.048458438366651535, 0.026318974792957306, -0.0457860492169857, -0.02657303959131241, -0.0009643391822464764, 0.026967572048306465, 0.05272399261593819, -0.002948957961052656, 0.043579887598752975, -0.018948299810290337, 0.018576687201857567, -0.025323374196887016, 0.033658117055892944, 0.007993068546056747, 0.03778375685214996, -0.02327331155538559, -0.000016496152966283262, 0.02485440857708454, -0.016468139365315437, 0.025660628452897072, 0.007596622686833143, -0.011701093055307865, 0.0076535847038030624, 0.004266313277184963, 0.025496022775769234, -0.04356563836336136, -0.010735996998846531, 0.013614063151180744, 0.0034344419836997986, 0.015301115810871124, 0.007715829648077488, -0.006127902306616306, 0.017806805670261383, 0.002384039806202054, -0.03838742524385452, 0.04147643595933914, -0.05337996035814285, 0.01917623169720173, -0.006282893009483814, -0.03693808987736702, 0.008785066194832325, 0.02367142215371132, 0.032037947326898575, -0.00009780791879165918, 0.014664968475699425, 0.019680418074131012, 0.01484861969947815, -0.0358201339840889, -0.008883549831807613, 0.014904391951858997, 0.01794443465769291, -0.01754763536155224, -0.02326854132115841, 0.01376662589609623, -0.020431626588106155, -0.005440599285066128, -0.013898482546210289, -0.007323581725358963, -0.028770755976438522, -0.010147458873689175, -0.012021095491945744, 0.011203484609723091, -0.011986964382231236, 0.0012671330478042364, 0.014325503259897232, 0.01735513284802437, 0.0049783834256231785, -0.039610605686903, -0.044681716710329056, -0.013700427487492561, -0.010947071015834808, 0.02333538979291916, 0.0033189530950039625, -0.019136209040880203, 0.009198436513543129, -0.001994520192965865, -0.04033564031124115, 0.021561704576015472, -0.005656864028424025, 0.03703813627362251, 0.007280017249286175, 0.023992430418729782, -0.012680578976869583, 0.024421904236078262, -0.019248666241765022, 0.039085350930690765, 0.05485457181930542, -1.342263189485493e-8, 0.004808615427464247, 0.03243127465248108, -0.05039122700691223, 0.013835546560585499, 0.024508824571967125, -0.004497569985687733, -0.019632477313280106, -0.026892829686403275, -0.01798359490931034, 0.009386008605360985, 0.01979680545628071, -0.030919274315238, 0.01214122585952282, 0.01968849077820778, 0.023775439709424973, -0.028869537636637688, -0.02712361514568329, -0.023074915632605553, 0.0047452254220843315, -0.004728768486529589, 0.04267863929271698, 0.03926675021648407, 0.012097383849322796, 0.004133403301239014, -0.0034746681340038776, 0.055090464651584625, 0.019180743023753166, -0.05624448508024216, -0.005068702157586813, 0.010505257174372673, -0.008595949970185757, -0.04141920059919357, -0.0028184056282043457, 0.00976361334323883, -0.016392134130001068, 0.025657186284661293, -0.030843446031212807, -0.0008684126078151166, 0.029897676780819893, 0.003970520105212927, -0.0375945009291172, -0.016412414610385895, 0.03460591658949852, -0.007931767962872982, 0.021303774788975716, -0.03380947932600975, -0.04223545268177986, 0.018370123580098152, 0.02277214080095291, -0.029086105525493622, 0.013830192387104034, 0.001238748081959784, -0.01421329379081726, -0.008233646862208843, -0.010425912216305733, 0.026453452184796333, 0.010487208142876625, -0.032747089862823486, -0.02683480642735958, 0.004572540987282991, 0.05096060782670975, -0.012548906728625298, -0.0027484679594635963, -0.013157098554074764 ]
test-doubles-my-current-approach
https://markhneedham.com/blog/2009/07/14/test-doubles-my-current-approach
false
2009-07-25 14:10:45
F#: Values, functions and DateTime
[ "f" ]
[ "fsharp" ]
One of the things I've noticed recently in my playing around with F# is that when we decide to http://www.markhneedham.com/blog/2009/07/12/f-wrapping-net-library-calls/[wrap calls] to the .NET DateTime methods there is a need to be quite careful that we are wrapping those calls with an F# function and not an F# value. If we don't do this then the DateTime method will only be evaluated once and then return the same value for every call which is probably not the behaviour we're looking for. The following shows how we could wrap call to get the current time in string format inside a value: [source,ocaml] ---- let timeNow = System.DateTime.Now.ToLongTimeString() ---- If we then execute 'timeNow' to show the current time before and after a sleep this is what we see: [source,ocaml] ---- printfn "The time now is %s" timeNow System.Threading.Thread.Sleep(2000) printfn "The time now is %s" timeNow ---- [source,text] ---- The time now is 2:00:29 PM The time now is 2:00:29 PM ---- As we can see the time has remained the same despite the fact that we put a sleep in between thew two calls. Looking at the C# version of this code via http://www.red-gate.com/products/reflector/[Reflector] we can see that 'timeNow' is just a string: [source,csharp] ---- public string timeNow; ---- The way to get the real current time is to define a function to get the time so that it will be reevaluated each time we ask for the time: [source,ocaml] ---- let timeNowUpToDate () = System.DateTime.Now.ToLongTimeString() ---- If we do the same test as we did above: [source,ocaml] ---- printfn "The time now is %s" (timeNowUpToDate()) System.Threading.Thread.Sleep(2000) printfn "The time now is %s" (timeNowUpToDate()) ---- We get the following results: [source,ocaml] ---- The time now is 2:05:13 PM The time now is 2:05:15 PM ---- Which is what we were looking for in the first place! Via Reflector again this is what that code would look like in C#: [source,csharp] ---- [Serializable] internal class timeNowUpToDate@127 : FastFunc<Unit, string> { // Methods internal timeNowUpToDate@127() { } public override string Invoke(Unit unitVar0) { return DateTime.Now.ToLongTimeString(); } } ---- As we can see every time the function is invoked a call to the DateTime API will be made which is what we want to happen.
null
null
[ 0.008816092275083065, -0.028939159587025642, -0.0062685878947377205, 0.011788965202867985, 0.07287081331014633, 0.009558945894241333, 0.023170948028564453, 0.030047455802559853, 0.016611121594905853, -0.01727091707289219, -0.008335639722645283, 0.012680379673838615, -0.0738435834646225, 0.0245557501912117, -0.005149348638951778, 0.07585854083299637, 0.09021840989589691, -0.059140875935554504, 0.035833679139614105, -0.0073329368606209755, 0.014878811314702034, 0.04765655845403671, -0.013061176985502243, 0.024044526740908623, 0.028025666251778603, 0.002660369500517845, -0.023917915299534798, -0.01657157763838768, -0.04068300127983093, 0.012535634450614452, 0.030871033668518066, 0.032671380788087845, -0.006464527454227209, -0.0012673247838392854, 0.010451500304043293, -0.015049769543111324, 0.010144337080419064, 0.007483549416065216, -0.009851999580860138, 0.05576523765921593, -0.08146979659795761, -0.008937838487327099, 0.005175937432795763, -0.003287411527708173, -0.05235491693019867, 0.0353846400976181, -0.013057153671979904, 0.02243696339428425, 0.0037792553193867207, 0.019360119476914406, -0.07146243751049042, 0.015311230905354023, -0.015363306738436222, 0.015347122214734554, -0.005618301685899496, 0.0314670167863369, 0.0008195258560590446, -0.05942891538143158, 0.03478424996137619, -0.04485194757580757, 0.024841511622071266, -0.03527413681149483, 0.03141438215970993, 0.012560627423226833, 0.030868811532855034, 0.005659688729792833, 0.012472128495573997, 0.03945375233888626, -0.051609452813863754, 0.005890611559152603, -0.030061839148402214, 0.006141170859336853, -0.046466995030641556, -0.0037566462997347116, 0.01403026469051838, -0.041871700435876846, 0.00271674245595932, 0.0432649627327919, 0.029108412563800812, 0.06293177604675293, -0.00826893001794815, 0.02353820390999317, 0.08810621500015259, 0.03676706925034523, 0.002633841475471854, -0.001337221241556108, -0.030246570706367493, 0.00788215734064579, -0.02608066238462925, 0.0412796251475811, 0.00958173256367445, -0.03333086892962456, 0.022214379161596298, 0.03464501351118088, -0.004278555046766996, 0.007593920454382896, 0.0015562205808237195, -0.01355435885488987, -0.012918930500745773, -0.003175562247633934, -0.0432758703827858, -0.06141553074121475, 0.015797926113009453, 0.03384972736239433, -0.054337430745363235, -0.043358348309993744, -0.03961344435811043, -0.018941514194011688, 0.014319591224193573, 0.02407679706811905, -0.07546525448560715, -0.007231659255921841, -0.012179005891084671, 0.002534495899453759, -0.07876044511795044, 0.03300117328763008, 0.022656714543700218, -0.0063629914075136185, -0.027767939493060112, 0.02199738100171089, 0.03763573616743088, 0.013180440291762352, -0.02744840830564499, 0.048459649085998535, 0.02003135159611702, 0.05163269117474556, -0.00930043589323759, 0.06655751913785934, -0.01679612137377262, -0.08603377640247345, -0.020721105858683586, 0.05161605775356293, -0.025960266590118408, -0.003681173548102379, 0.004662222694605589, -0.0263364277780056, -0.03709712624549866, 0.006024800706654787, 0.03768645226955414, 0.0546555370092392, 0.007294104900211096, -0.037124913185834885, 0.010397116653621197, -0.02251129411160946, -0.004583345726132393, 0.014593349769711494, -0.05109190195798874, -0.011215930804610252, -0.01845693588256836, 0.02984432317316532, 0.02249542623758316, 0.035604327917099, 0.03966739773750305, -0.048124611377716064, 0.010978723876178265, 0.050462350249290466, 0.012139064259827137, 0.01657690666615963, -0.01563534326851368, 0.006201831623911858, 0.04568640887737274, 0.04498741030693054, -0.02572794444859028, 0.04590696841478348, 0.030137211084365845, 0.0013284500455483794, 0.04142735153436661, 0.0248845424503088, -0.02405514009296894, -0.025136251002550125, -0.07206765562295914, 0.01739790104329586, 0.053195931017398834, -0.028478406369686127, 0.00431344797834754, 0.05237443372607231, 0.09377805888652802, -0.013228361494839191, 0.025740480050444603, -0.008618517778813839, -0.07639499753713608, 0.019320804625749588, 0.008594563230872154, 0.02116132527589798, -0.002066868357360363, -0.000042853331251535565, 0.044085483998060226, 0.003571893321350217, 0.02232028916478157, 0.005171295255422592, -0.04458123445510864, -0.052646759897470474, -0.04058392718434334, -0.025058340281248093, 0.06276396661996841, -0.0365159772336483, -0.005895571317523718, 0.057649146765470505, 0.006042707245796919, 0.05512556433677673, 0.04191834479570389, -0.026096809655427933, -0.012638119049370289, -0.010908001102507114, -0.05861697345972061, 0.06608038395643234, 0.03788144886493683, -0.011955589056015015, -0.03263944387435913, -0.0004639712569769472, 0.009140386246144772, 0.01871015504002571, 0.0468808077275753, 0.010386585257947445, 0.041270412504673004, 0.044801533222198486, 0.04990929365158081, -0.04765288531780243, 0.027256116271018982, -0.06843617558479309, 0.03522603586316109, 0.02750476263463497, -0.017276674509048462, -0.03015553206205368, -0.006182606797665358, 0.11281576752662659, 0.06606698036193848, -0.05576150491833687, -0.05031149461865425, 0.024308936670422554, 0.0024871304631233215, -0.05985252186655998, -0.026654254645109177, -0.009266206063330173, 0.010647531598806381, 0.025352349504828453, -0.010942894034087658, 0.008602457121014595, 0.005998306442052126, -0.03706040233373642, 0.04187377169728279, 0.0705595538020134, -0.03154800087213516, 0.06224840506911278, 0.0013658726820722222, -0.045353133231401443, -0.0031098262406885624, 0.0008028394659049809, -0.037043940275907516, 0.02647051028907299, 0.0347772054374218, -0.019298134371638298, 0.07654329389333725, -0.026946665719151497, -0.030139118432998657, -0.027685195207595825, -0.058615993708372116, 0.03194520249962807, 0.03814498335123062, 0.06356895714998245, 0.01438760943710804, 0.059735774993896484, -0.030398894101381302, 0.0051943399012088776, -0.03245947137475014, -0.06796485185623169, -0.01698552444577217, 0.010530611500144005, 0.0375586599111557, 0.03444093093276024, 0.01122418511658907, 0.0008249742677435279, 0.01978268101811409, 0.010934378951787949, -0.029805654659867287, -0.017603736370801926, 0.042918432503938675, -0.00904279574751854, -0.06595544517040253, -0.036219384521245956, -0.02451065182685852, 0.0691467672586441, -0.02983502671122551, -0.05342031270265579, -0.02267228253185749, -0.05735936760902405, 0.039164233952760696, -0.06637874245643616, -0.035021860152482986, -0.00420791981741786, 0.004536650143563747, 0.009477292187511921, -0.018479932099580765, 0.04287340119481087, 0.055338673293590546, 0.04371943324804306, 0.011672222055494785, 0.021126963198184967, -0.0208992101252079, 0.005049534607678652, 0.003941341768950224, 0.012658808380365372, 0.05842738598585129, 0.013393227010965347, -0.01219683513045311, -0.050215743482112885, 0.0068383170291781425, -0.008138409815728664, -0.2612009346485138, 0.018449513241648674, -0.028148721903562546, -0.02876276895403862, 0.011622723191976547, -0.01376345381140709, 0.044721927493810654, -0.05098496377468109, -0.0010710912756621838, 0.034167926758527756, -0.0390876829624176, -0.03120509348809719, -0.025446880608797073, 0.03819195553660393, -0.0021466573234647512, -0.012605549767613411, 0.002993782516568899, -0.054586708545684814, 0.007231070660054684, 0.05241190269589424, 0.013943745754659176, -0.05277007073163986, 0.011377094313502312, 0.05458535999059677, 0.011944910511374474, 0.054365675896406174, -0.06674791872501373, 0.025571847334504128, -0.021520890295505524, -0.0008425652631558478, -0.006407450884580612, -0.015337035991251469, 0.03958328813314438, -0.04865517094731331, 0.0018019776325672865, -0.039097607135772705, 0.0024243297521024942, 0.014652688056230545, 0.04814043641090393, 0.027736753225326538, -0.04007606953382492, -0.06320109218358994, -0.00038991187466308475, 0.015012593008577824, 0.07661132514476776, 0.021540099754929543, -0.06530686467885971, -0.014222011901438236, -0.0338650606572628, 0.07291300594806671, -0.02509079873561859, -0.047943003475666046, -0.020258402451872826, 0.018788080662488937, -0.035709694027900696, -0.035860009491443634, -0.018307829275727272, -0.024420293048024178, -0.017847836017608643, -0.025599829852581024, -0.013442108407616615, -0.040853992104530334, -0.012997829355299473, -0.045524731278419495, -0.04821835458278656, -0.058387577533721924, -0.06493514776229858, 0.005754298064857721, 0.0673665851354599, 0.03412356600165367, -0.016179589554667473, -0.005996282212436199, -0.0038709952495992184, -0.1176665872335434, -0.030989427119493484, -0.045739904046058655, -0.05845041573047638, -0.02786094881594181, 0.021066084504127502, 0.051859959959983826, -0.03253719583153725, -0.04207153245806694, 0.029058394953608513, 0.026251884177327156, 0.04243624955415726, 0.0059887426905334, -0.020401470363140106, -0.02325528673827648, -0.012880004942417145, -0.011009981855750084, 0.06842393428087234, 0.006990383844822645, 0.0022015313152223825, -0.045232631266117096, 0.02178666926920414, 0.016815626993775368, 0.0323525071144104, 0.014424004592001438, 0.052534546703100204, 0.005024722311645746, 0.039629168808460236, -0.06542745232582092, 0.013547389768064022, -0.05854417756199837, -0.01078993733972311, -0.026766490191221237, -0.03175336867570877, 0.03175288066267967, 0.029403390362858772, 0.019523506984114647, -0.02068200148642063, -0.017043128609657288, 0.021234946325421333, -0.05768023431301117, 0.014236632734537125, -0.03854776918888092, 0.012930680066347122, 0.019754987210035324, 0.02100498229265213, -0.02601822093129158, -0.047116346657276154, 0.018032507970929146, 0.026164863258600235, 0.007136756554245949, -0.06999259442090988, -0.025725729763507843, -0.013805650174617767, -0.030375156551599503, -0.004275817424058914, 0.045314256101846695, -0.029385630041360855, 0.02157786302268505, 0.014188424684107304, -0.020088933408260345, 0.026762384921312332, 0.007798309903591871, 0.006896342150866985, -0.0632312148809433, -0.025983843952417374, -0.02272183448076248, 0.0012332332553341985, -0.0038101726677268744, 0.021134277805685997, 0.0033323001116514206, 0.036638855934143066, 0.037392906844615936, -0.017913298681378365, -0.023017339408397675, -0.0005468635354191065, 0.021523699164390564, 0.028671594336628914, -0.07249967753887177, 0.013878225348889828, -0.03889241814613342, -0.0007084226817823946, 0.010447812266647816, 0.03703318163752556, -0.012972147203981876, -0.04904429242014885, -0.048601556569337845, 0.04061147943139076, -0.026394372805953026, -0.0410647876560688, -0.04928651824593544, -0.006476362701505423, 0.04541097208857536, -0.023352500051259995, 0.04752235859632492, 0.017352303490042686, -0.007388946134597063, -0.015447130426764488, 0.0009404348093084991, -0.045617442578077316, 0.035285964608192444, -0.0011298090685158968, -0.008131593465805054, 0.0007154095801524818, 0.014434953220188618, 0.02734016440808773, 0.030287787318229675, 0.02096392959356308, -0.012720532715320587, -0.0017591537907719612, -0.0009113296982832253, 0.04010934382677078, 0.0214571263641119, 0.0010377028957009315, -0.028017418459057808, -0.04209606721997261, -0.0035884559620171785, -0.008360199630260468, -0.02625872567296028, -0.03846050053834915, -0.00509813753888011, -0.026605302467942238, -0.07261256873607635, 0.012389090843498707, 0.01857849583029747, 0.03323442488908768, -0.016349809244275093, 0.013931015506386757, -0.01291648205369711, -0.020818481221795082, -0.003441216889768839, 0.04534127190709114, -0.0426652692258358, 0.014535587280988693, 0.0062093669548630714, 0.03275163471698761, 0.03171598166227341, 0.02500753290951252, -0.00928927306085825, 0.0024050427600741386, -0.015669645741581917, 0.004951366689056158, -0.011174536310136318, -0.03723030164837837, -0.010461477562785149, -0.012040877714753151, -0.010398121550679207, 0.004601540509611368, -0.01787450723350048, -0.018075957894325256, -0.0030107602942734957, -0.009032515808939934, 0.0038037654012441635, -0.04802478104829788, -0.012367947027087212, 0.05067696422338486, -0.010330011136829853, -0.011321691796183586, -0.04478616267442703, 0.039621755480766296, 0.01789637841284275, -0.040453050285577774, -0.03589294105768204, -0.06965742260217667, 0.03439496085047722, -0.030857285484671593, 0.06489652395248413, -0.00007493387238355353, -0.02760966308414936, -0.019006026908755302, -0.010231123305857182, -0.038976047188043594, 0.0204862542450428, 0.00007329338404815644, -0.011137513443827629, 0.019763382151722908, 0.05004867911338806, -0.02796785719692707, 0.03128780424594879, -0.012849618680775166, -0.007595570292323828, 0.04349398985505104, -0.06326695531606674, -0.018792573362588882, 0.01176817063242197, -0.033474911004304886, 0.01608021929860115, -0.011671042069792747, -0.026188580319285393, -0.06279018521308899, 0.04332848638296127, 0.056150078773498535, 0.048083554953336716, 0.07714074105024338, 0.03399492800235748, 0.03246108815073967, -0.007798256818205118, -0.004719711374491453, -0.08681169152259827, 0.01287841796875, 0.034430742263793945, 0.03347610682249069, -0.024930302053689957, 0.00018560094758868217, 0.016885822638869286, 0.05030296370387077, -0.05453355237841606, -0.022892553359270096, 0.034954819828271866, -0.0023672899696975946, 0.009304413571953773, 0.028667906299233437, -0.04284721612930298, 0.047046955674886703, 0.038110557943582535, -0.035789862275123596, -0.03849199786782265, -0.027148641645908356, 0.04578404128551483, 0.007462683599442244, 0.01596669666469097, -0.05695652961730957, 0.03116869553923607, 0.04454774037003517, 0.03686559200286865, 0.012224599719047546, 0.05198089778423309, -0.023466214537620544, 0.016879647970199585, 0.022035667672753334, -0.0466514490544796, -0.036462582647800446, -0.009367120452225208, -0.01667240634560585, -0.06891591846942902, -0.0034263746347278357, -0.00442013144493103, -0.014731542207300663, -0.047013815492391586, 0.05918453633785248, 0.02919856831431389, 0.001074451138265431, -0.022805318236351013, -0.017353734001517296, -0.047077517956495285, 0.002209884114563465, -0.005066972691565752, 0.015652628615498543, -0.0436396487057209, 0.07803564518690109, 0.0185091532766819, 0.0023257045540958643, 0.06345716118812561, -0.0033855605870485306, 0.020499663427472115, 0.015478826127946377, 0.07749979197978973, 0.04853549227118492, 0.04323304072022438, -0.010928282514214516, 0.06658618152141571, -0.013392273336648941, -0.05875305086374283, 0.003939040005207062, -0.026545008644461632, -0.024144846946001053, -0.001767425797879696, 0.05759401246905327, 0.096133753657341, 0.007901294156908989, 0.04567648097872734, -0.041984617710113525, -0.007781645283102989, -0.03240956738591194, 0.004599413368850946, 0.034738242626190186, 0.04091523587703705, 0.011694387532770634, 0.013469735160470009, 0.013468052260577679, -0.04711483046412468, 0.0603473037481308, -0.019030984491109848, 0.011418015696108341, -0.009868381544947624, 0.009266252629458904, 0.00693749263882637, 0.0006861095316708088, 0.0474989078938961, 0.05616450309753418, -0.005445592571049929, -0.0014298452297225595, 0.0024503248278051615, 0.027684535831212997, 0.014950721524655819, -0.027157291769981384, -0.0385170616209507, -0.0012268758146092296, 0.0067753237672150135, 0.01435253955423832, -0.006035124883055687, -0.031384825706481934, -0.031657010316848755, 0.029041314497590065, -0.03580600023269653, 0.0184086374938488, 0.013351760804653168, -0.04520455002784729, -0.01769368350505829, -0.033524785190820694, -0.05811692774295807, -0.03576628491282463, -0.08617513626813889, -0.005398333538323641, 0.04399853199720383, -0.017347851768136024, -0.03216118365526199, -0.026575138792395592, 0.017139332368969917, -0.013035348616540432, 0.041240591555833817, -0.0006385436863638461, -0.04531014338135719, 0.034168992191553116, -0.01258067972958088, 0.02910277619957924, 0.03472134843468666, 0.05775179713964462, -0.012285998091101646, -0.022569142282009125, -0.06658097356557846, -0.022222423925995827, 0.03385280445218086, 0.00006187966937432066, -0.003965361509472132, -0.06349608302116394, 0.02425706945359707, 0.014594505541026592, -0.01836971938610077, -0.08508346974849701, -0.003271898254752159, 0.013902124017477036, -0.0022709041368216276, 0.03614461049437523, -0.037946175783872604, -0.024148864671587944, -0.03576768934726715, -0.006960918661206961, 0.014237264171242714, 0.025787169113755226, 0.04705642908811569, -0.02136417105793953, 0.05039388686418533, 0.033352162688970566, -0.018090074881911278, -0.006397529039531946, -0.005428787786513567, -0.009364627301692963, 0.021775057539343834, -0.03685514256358147, -0.03907863795757294, -0.030677519738674164, -0.04697636514902115, -0.019440213218331337, 0.008745093829929829, -0.006126798689365387, -0.03836826980113983, 0.06162775680422783, 0.035526569932699203, -0.08135011792182922, 0.04651770368218422, -0.05147276818752289, -0.013056161813437939, -0.02176457829773426, -0.03965466469526291, -0.01352672465145588, 0.026729395613074303, 0.008532791398465633, -0.019731702283024788, 0.04370739683508873, -0.02234751172363758, -0.02101016417145729, -0.014753429219126701, 0.0041475738398730755, 0.04170512780547142, -0.0030540870502591133, 0.029946032911539078 ]
[ -0.11217164248228073, -0.005537028424441814, -0.03916660696268082, -0.004202390089631081, 0.05776664987206459, -0.03384331613779068, 0.002224256517365575, -0.002546172123402357, 0.02086496166884899, -0.03001197800040245, -0.009257403202354908, -0.012784549966454506, -0.02111462876200676, 0.023499388247728348, 0.04841925576329231, 0.014349674805998802, -0.03067973628640175, -0.068657785654068, -0.0389932356774807, 0.006127375178039074, 0.06013212352991104, -0.011866377666592598, -0.051827672868967056, 0.006221867632120848, 0.03584509342908859, 0.030686115846037865, 0.035983167588710785, -0.05490630120038986, -0.004383120685815811, -0.18971660733222961, 0.003804504405707121, -0.005323156714439392, -0.002699215430766344, -0.026828167960047722, 0.0022649429738521576, -0.006113674491643906, 0.018511289730668068, 0.039604686200618744, 0.01964079774916172, 0.06997883319854736, 0.03344540670514107, 0.039513878524303436, -0.050755806267261505, -0.014778348617255688, 0.0059112925082445145, -0.005831594113260508, -0.03668660297989845, -0.0069031682796776295, -0.007119874004274607, 0.02357245609164238, -0.04029792174696922, 0.009702185168862343, -0.0018336923094466329, -0.028235677629709244, 0.004069574177265167, 0.021552832797169685, 0.062203776091337204, 0.04800024256110191, 0.02392662689089775, 0.015092097222805023, 0.01547970436513424, -0.03480725735425949, -0.14991040527820587, 0.11720170080661774, 0.02262522093951702, 0.03870069980621338, 0.010810097679495811, -0.02241343818604946, -0.006590095814317465, 0.06588393449783325, -0.005447383038699627, -0.026599247008562088, -0.04095460847020149, 0.020336342975497246, 0.00987145397812128, -0.04272567108273506, 0.015136243775486946, 0.020083419978618622, 0.06684707850217819, -0.016684766858816147, -0.028755437582731247, 0.00864720530807972, 0.030308706685900688, -0.030779555439949036, -0.001680864137597382, 0.01979588344693184, 0.00880854856222868, 0.046943482011556625, 0.028949661180377007, 0.03040582686662674, -0.003571018809452653, -0.02678968943655491, 0.017741665244102478, 0.034492071717977524, -0.07547330856323242, -0.0047488147392869, 0.011094115674495697, 0.04588974639773369, -0.04170936718583107, 0.3946470618247986, -0.06722332537174225, -0.000014019689842825755, 0.04971124231815338, 0.05347331985831261, -0.033920127898454666, -0.011914089322090149, -0.008038105443120003, -0.03897338733077049, -0.0032839360646903515, -0.020554333925247192, -0.026593299582600594, 0.034501075744628906, 0.07109599560499191, -0.05715198814868927, 0.00917860958725214, 0.04662008211016655, 0.05575401335954666, -0.01640784740447998, 0.027164360508322716, 0.032436177134513855, 0.012336322106420994, -0.002857800107449293, 0.01677727699279785, 0.03053830936551094, 0.00986349768936634, -0.019734639674425125, 0.05404293164610863, 0.054288532584905624, 0.03510797396302223, -0.0022492026910185814, 0.06292791664600372, -0.06156343221664429, -0.05723653733730316, -0.0085275424644351, 0.01781519502401352, 0.042581260204315186, -0.0028355310205370188, -0.007544362917542458, 0.002523924922570586, -0.010865921154618263, -0.010949340648949146, -0.0763886496424675, 0.01920282281935215, -0.0020852191373705864, -0.05496177449822426, 0.1302020251750946, 0.004422820173203945, -0.009487910196185112, -0.03147817775607109, -0.01165616512298584, -0.04530435428023338, 0.027249881997704506, -0.022324243560433388, -0.07051490992307663, 0.0234200581908226, 0.016986414790153503, 0.07141025364398956, -0.006142713129520416, -0.03809075802564621, -0.03149673342704773, -0.05974965542554855, 0.007649041246622801, -0.03311982750892639, 0.029131729155778885, 0.037305038422346115, -0.08453559875488281, -0.03924694284796715, 0.008154799230396748, 0.030213160440325737, -0.1021292582154274, -0.014196418225765228, -0.0007500667124986649, -0.037244927138090134, -0.06028667092323303, 0.07472129911184311, 0.02523561380803585, 0.01314368937164545, -0.021294033154845238, 0.06329187750816345, 0.00499166501685977, -0.013850854709744453, 0.0033160632010549307, -0.03462190926074982, -0.0030872325878590345, 0.01748507283627987, -0.09403055161237717, -0.03822069242596626, 0.005914862267673016, -0.0055608428083360195, -0.02586180344223976, 0.005578132346272469, -0.07918579131364822, -0.05422227457165718, 0.13357675075531006, -0.0689307376742363, -0.03823191672563553, 0.02985972724854946, 0.04375786334276199, 0.008667785674333572, -0.013834293000400066, 0.013436669483780861, -0.0020702737383544445, 0.0002633871044963598, 0.04331648349761963, -0.0189774502068758, 0.04762973636388779, 0.03535785153508186, -0.06758410483598709, 0.056481365114450455, 0.03394082188606262, -0.027589503675699234, -0.01600465551018715, 0.02610279992222786, -0.01015300303697586, -0.003821632592007518, -0.036376144737005234, 0.003108522156253457, 0.0163261741399765, -0.015752628445625305, 0.029630064964294434, -0.022501491010189056, -0.0352359414100647, 0.007699276320636272, -0.3328058123588562, -0.00923637393862009, -0.009431552141904831, -0.029895294457674026, 0.0573265478014946, -0.06576550751924515, -0.020150095224380493, -0.03720327466726303, -0.008588654920458794, -0.004550322890281677, 0.04638321325182915, -0.0022624286357313395, -0.025280343368649483, -0.11670664697885513, 0.028401147574186325, 0.03678639605641365, -0.03147323057055473, -0.045937664806842804, -0.011757127940654755, 0.01689225248992443, -0.015760095790028572, -0.0014401095686480403, -0.03343005105853081, -0.041457775980234146, 0.0284930057823658, -0.04494774341583252, 0.1068866103887558, -0.04741179198026657, 0.10127628594636917, -0.047578711062669754, 0.06635069102048874, -0.015437325462698936, -0.007036338094621897, -0.049988534301519394, -0.026700221002101898, -0.05839795246720314, 0.01818527840077877, 0.018400682136416435, 0.04194178804755211, -0.037969812750816345, -0.03928722068667412, 0.009632093831896782, -0.030440576374530792, -0.038431402295827866, -0.02070424146950245, 0.016394222155213356, 0.0389389842748642, -0.044421277940273285, -0.015729881823062897, 0.04920747131109238, 0.012982350774109364, -0.024065343663096428, 0.020664013922214508, 0.02892962098121643, 0.02094101533293724, -0.040052630007267, -0.038914844393730164, -0.02702067792415619, -0.03622528165578842, -0.005688303150236607, 0.018838070333003998, 0.051518309861421585, 0.01733682118356228, -0.027940021827816963, -0.016435259953141212, 0.027877600863575935, -0.024672305211424828, -0.02644183300435543, 0.013276427052915096, -0.006638991180807352, -0.0316014364361763, 0.08995810151100159, -0.02704419009387493, -0.010852686129510403, 0.04735565185546875, 0.05183320492506027, 0.015493971295654774, 0.0261069443076849, 0.02260679379105568, 0.018407583236694336, 0.023414744064211845, 0.004491048399358988, 0.04610143229365349, -0.0015653384616598487, -0.009481602348387241, 0.0033081702422350645, -0.02518828772008419, 0.03760332241654396, 0.034141357988119125, -0.015173048712313175, -0.05813606083393097, -0.010527673177421093, 0.035902224481105804, -0.10483483225107193, 0.07302755117416382, -0.038809821009635925, -0.23063792288303375, 0.03135114535689354, 0.09501418471336365, 0.04133567586541176, -0.00744446599856019, 0.0006945483619347215, 0.018414558842778206, -0.04074864089488983, -0.04412394016981125, 0.02812477946281433, -0.027987724170088768, 0.06618179380893707, 0.008313586004078388, -0.007341946475207806, 0.028005486354231834, 0.018059588968753815, 0.047279056161642075, -0.013772339560091496, -0.001332161482423544, 0.011907015927135944, 0.02260715514421463, 0.005730763077735901, 0.16707701981067657, 0.0034107700921595097, 0.05832860246300697, 0.01905824989080429, 0.0054819961078464985, 0.011594178155064583, 0.12225942313671112, 0.0008796886540949345, 0.04622054472565651, -0.0034829264041036367, 0.042870648205280304, 0.004459154326468706, 0.02711383067071438, -0.10974523425102234, -0.0320945642888546, 0.045950520783662796, 0.015278895385563374, -0.022728227078914642, 0.013978011906147003, 0.015472661703824997, -0.06464410573244095, -0.006444199942052364, 0.10409434139728546, 0.026312293484807014, -0.016237517818808556, -0.0599522739648819, -0.048281230032444, -0.008427855558693409, -0.05878938362002373, -0.032649897038936615, 0.020277077332139015, -0.013450825586915016, -0.004849971737712622, 0.05405065044760704, 0.035945288836956024, -0.04098769277334213, -0.005891191773116589, 0.032291024923324585, 0.0008088785689324141, -0.03592516481876373, 0.09454085677862167, -0.00011943287245230749, 0.031230438500642776 ]
[ -0.02188269980251789, 0.03224813938140869, 0.0022982230875641108, 0.023747816681861877, 0.018717240542173386, 0.002567844931036234, 0.0061649139970541, 0.03685929253697395, 0.02202441170811653, 0.003664071438834071, -0.024728862568736076, -0.006560211069881916, -0.039390549063682556, -0.04082205519080162, 0.01940455101430416, -0.0159959327429533, 0.010939721949398518, -0.030638830736279488, 0.01948731578886509, -0.003513927338644862, 0.013681532815098763, 0.01583022065460682, 0.021828381344676018, -0.007593844551593065, 0.000963716593105346, -0.016609173268079758, -0.02969358116388321, -0.01682579703629017, 0.012288468889892101, -0.14369916915893555, -0.02961796522140503, 0.002720286138355732, -0.03305051475763321, -0.003647871082648635, -0.017691241577267647, 0.01024714671075344, 0.018797459080815315, 0.013120973482728004, -0.016177412122488022, 0.009208529256284237, 0.0034716979134827852, -0.023274699226021767, 0.02537853643298149, 0.013172646053135395, -0.0007565499399788678, -0.0018042126903310418, 0.027491377666592598, -0.012106339447200298, -0.02347319945693016, 0.025755377486348152, -0.015950851142406464, 0.00861890334635973, -0.025600524619221687, -0.012540902942419052, 0.04746166244149208, 0.003234719857573509, -0.0096963532269001, 0.0016279872506856918, -0.029550107195973396, -0.002723841229453683, -0.010875287465751171, -0.009642465971410275, -0.05379126965999603, -0.00819095317274332, 0.027384955435991287, 0.023394541814923286, -0.007603271398693323, -0.005202664993703365, 0.004679758567363024, -0.020217040553689003, -0.028499899432063103, 0.020145736634731293, -0.04368368908762932, -0.003762259380891919, -0.027658836916089058, -0.0016543595120310783, 0.037053875625133514, 0.001402434310875833, 0.01277902815490961, -0.020643092691898346, 0.010306126438081264, 0.028148656710982323, 0.033674243837594986, 0.01937393844127655, 0.02080419287085533, -0.01289384812116623, 0.008037576451897621, 0.032447971403598785, 0.0058333538472652435, -0.010307006537914276, -0.028057720512151718, 0.006059377454221249, -0.013103888370096684, 0.00574453454464674, -0.06429940462112427, 0.000861450273077935, -0.00704959174618125, -0.000935619231313467, -0.016171511262655258, 0.8505976796150208, -0.017058221623301506, 0.039189018309116364, 0.005185691174119711, 0.012109206058084965, 0.002151550492271781, 0.0054542021825909615, -0.026158494874835014, -0.005088016856461763, -0.002026395872235298, -0.0354071669280529, 0.05026687681674957, 0.013062956742942333, 0.01221462246030569, 0.007171649020165205, 0.051677800714969635, -0.0002589611685834825, 0.02243458479642868, -0.014580896124243736, 0.0018984782509505749, 0.01645038090646267, 0.022624719887971878, 0.026551231741905212, -0.004974727518856525, -0.014900816604495049, 0.01306995004415512, -0.13702788949012756, 0.06447561830282211, -6.537386935823377e-33, 0.0032736514694988728, 0.006686233449727297, -0.0008454839116893709, -0.002234562998637557, 0.035994525998830795, 0.029320169240236282, 0.03506713733077049, 0.02775767259299755, 0.019424276426434517, -0.031923700124025345, -0.009348547086119652, -0.04690242186188698, -0.006490005180239677, -0.05409479886293411, 0.04370373114943504, -0.02341456525027752, 0.0014976284001022577, 0.0354275219142437, 0.020375309512019157, 0.0036668151151388884, 0.027721956372261047, 0.009340527467429638, 0.03581680357456207, -0.02361341565847397, 0.0012102529872208834, -0.012792698107659817, -0.011933763511478901, 0.012421190738677979, 0.01575140282511711, -0.050671957433223724, -0.001825502491556108, 0.015872878953814507, -0.01891229674220085, 0.00012140140461269766, 0.058553438633680344, -0.05578683689236641, -0.030432991683483124, 0.010300194844603539, -0.008438635617494583, -0.014594362117350101, -0.044805850833654404, 0.015733670443296432, -0.04568445309996605, 0.003341518808156252, -0.009606954641640186, -0.05137605220079422, -0.03101043589413166, 0.04838244989514351, 0.00021593649580609053, 0.03966984152793884, 0.029094945639371872, 0.040681082755327225, -0.00828126072883606, -0.037997107952833176, -0.03633316233754158, 0.013760682195425034, 0.021968716755509377, -0.010652180761098862, -0.023466385900974274, 0.03636103868484497, 0.03525104746222496, -0.008006628602743149, -0.00769421923905611, 0.0020699650049209595, -0.013737687841057777, 0.013491959311068058, 0.01397279929369688, -0.014498166739940643, 0.019622132182121277, 0.022744765505194664, -0.041330303996801376, -0.004536568187177181, -0.01156783476471901, -0.000752498977817595, -0.0013439583126455545, 0.023993289098143578, 0.009911436587572098, -0.02700808458030224, -0.00523373344913125, 0.040841396898031235, 0.03749629110097885, -0.009427151642739773, -0.0025475278962403536, -0.040327753871679306, 0.008207536302506924, -0.05297171324491501, 0.004052871372550726, -0.022415997460484505, 0.0002151317021343857, 0.018204355612397194, 0.021899139508605003, 0.002519244095310569, 0.017884057015180588, -0.010745825245976448, -0.00654846103861928, 6.760401724061381e-33, 0.010277025401592255, -0.04196847975254059, -0.021151944994926453, 0.004807604942470789, 0.0012295973720028996, -0.03405845910310745, -0.017258232459425926, 0.031688276678323746, -0.027393994852900505, 0.03812641650438309, 0.03481729328632355, -0.000737980124540627, -0.03278519958257675, 0.029195504263043404, 0.07043870538473129, -0.01937992125749588, 0.02918943203985691, 0.012666241265833378, 0.02361288294196129, 0.00711449608206749, 0.02212493121623993, -0.004656085278838873, -0.013980229385197163, -0.011542617343366146, 0.046954333782196045, 0.04362351447343826, -0.0044876388274133205, 0.016499469056725502, 0.03044878877699375, 0.002036330522969365, -0.004124795086681843, -0.02203015424311161, 0.010326175950467587, -0.05354800075292587, -0.02786930836737156, 0.051614876836538315, 0.031062602996826172, -0.028820334002375603, 0.025327986106276512, -0.018597399815917015, 0.05349124222993851, -0.012883744202554226, -0.051468051970005035, -0.02643687278032303, -0.019283724948763847, 0.032268039882183075, -0.03487640991806984, -0.009746355004608631, -0.0014007341815158725, 0.013896580785512924, 0.03264728933572769, -0.014214382506906986, 0.021062366664409637, 0.01246554683893919, 0.002708322135731578, -0.013627377338707447, -0.002004630398005247, -0.019706634804606438, -0.007324046455323696, -0.020414941012859344, -0.013670523650944233, -0.029036862775683403, -0.02510940656065941, -0.014547433704137802, -0.0014844454126432538, 0.007165439892560244, 0.008919499814510345, -0.04949619248509407, -0.014108974486589432, -0.0021700719371438026, 0.007997281849384308, -0.010985362343490124, -0.05452819541096687, 0.04902935400605202, -0.012693757191300392, 0.009368907660245895, 0.028112413361668587, 0.02870972640812397, -0.04231778904795647, 0.020668258890509605, 0.011700931936502457, -0.008757533505558968, 0.0021100412122905254, 0.0006420417339541018, -0.03801684454083443, 0.002235931344330311, 0.0009731923346407712, -0.007568703033030033, 0.02455352060496807, -0.04039253294467926, -0.013363891281187534, -0.021423637866973877, -0.029639028012752533, 0.03900032490491867, 0.012982525862753391, -1.2746230737548103e-8, -0.014756053686141968, 0.020511729642748833, -0.0153799531981349, 0.012034287676215172, 0.0007551602320745587, -0.001112600089982152, -0.01120592188090086, -0.05019252747297287, -0.02147793024778366, 0.02231280691921711, 0.04420952498912811, 0.012826521880924702, 0.04193420708179474, -0.025631815195083618, 0.02535010688006878, -0.03638910874724388, -0.03819209337234497, -0.04278263822197914, 0.02378338947892189, 0.0035802482161670923, 0.039827294647693634, 0.0014721606858074665, -0.005125826224684715, -0.004733117297291756, -0.022079238668084145, -0.003365681041032076, 0.021263841539621353, -0.056082528084516525, 0.02826988697052002, 0.013327068649232388, 0.005515568424016237, -0.014647454023361206, -0.020620854571461678, 0.03182147070765495, -0.043876487761735916, -0.06820116192102432, -0.018031779676675797, 0.008340460248291492, 0.003330197650939226, 0.04103512689471245, -0.0067018489353358746, 0.00042657804442569613, -0.024680111557245255, -0.0074425204657018185, 0.013563876040279865, -0.03788099065423012, 0.0014181012520566583, -0.017327090725302696, -0.014847271144390106, -0.03146243467926979, 0.019700612872838974, 0.035178761929273605, 0.008769012056291103, 0.02346964180469513, -0.020823586732149124, 0.01903650537133217, 0.023517688736319542, -0.014703060500323772, -0.0580524280667305, 0.026449833065271378, 0.011572372168302536, -0.00015724734112154692, -0.010824068449437618, -0.012633554637432098 ]
f-values-functions-and-datetime
https://markhneedham.com/blog/2009/07/25/f-values-functions-and-datetime
false
2009-07-25 11:28:38
Cruise Agents: Reducing 'random' build failures
[ "cruise-agents" ]
[ "Build" ]
As I mentioned previously we're making use of http://www.markhneedham.com/blog/2009/05/21/build-using-virtual-machines-to-run-it-in-parallel/[multiple cruise agents in our build] to allow us to run our acceptance tests in parallel, therefore allowing a build which would be nearly 2 hours if run in sequence to be completed in around 10 minutes. Early on with this approach we were getting a lot of failures in our builds which weren't directly related to the code being changed and were more to do with the various dependencies we were making use of. We needed these dependencies but we were only finding out if they were actually setup correctly much later on instead of doing an environment check first. One example of this was the Shibboleth daemon which needed to be started in order for our tests to be able to login to the single sign on system. We have it running as a Windows service and despite the fact we had it setup to 'auto start' whenever the operating system was running we often had failures where it had just failed to start with no trace in any of the error logs as to why that was the case. The way we have currently got around this problem is by writing a http://blogs.geekdojo.net/rcase/archive/2005/01/06/5971.aspx[custom nant task] which checks if the service is running and if not then starts it up by making use of the 'http://msdn.microsoft.com/en-us/library/system.serviceprocess.servicecontroller.servicecontroller.aspx[ServiceController]' class. [source,csharp] ---- [TaskName ("startShibboleth")] public class StartShibbolethDaemon : Task { protected override void ExecuteTask() { var shibbolethDaemon = new ServiceController("shibbolethServiceName"); if(shibbolethDaemon.Status == ServiceControllerStatus.Running) { Project.Log(Level.Info, "Shibboleth already running"); } else { shibbolethDaemon.Start(); Project.Log(Level.Info, "Shibboleth started"); } } } ---- We can then reference that task in our build before we run any tests which rely on it. We decided to write a custom task instead of using the built in http://nant.sourceforge.net/release/latest/help/tasks/servicecontroller.html[servicecontroller] task so that we could record whether or not it was already running and I couldn't see a way to do that with the built in task. Another quite common trend of build failures came about when our tests tried to connect to selenium server and were unable to do so because it wasn't currently running - we have a batch file to manually start it up on our agents as we are running the build from a Windows service which means we can't directly start processes from the file system the way we can when we run the build locally. The original way we got around this problem was to add the selenium server startup script to the 'StartUp' folder of the 'Administrator' user on each of the cruise agents. While this works fine when a user is actually logged into the virtual machine that hosts the agent we noticed that quite often an agent would register itself with the cruise server but we had forgotten to login on that virtual machine and any builds assigned to it would fail. My colleague came up with quite a neat way of getting around this problem by automatically logging in the cruise agents which can be done by adding the following registry entry by putting the following in a file with the extension 'reg' and then double clicking it. [source,text] ---- Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "AutoAdminLogon"="1" "DefaultPassword"="password" ---- I think the key for us here was ensuring that the build was pretty much self contained and able to get itself into a working state if its dependencies aren't setup correctly. We spent a bit of time tracking the 'random' failures and working out which ones were addressable and which ones we needed to gather more information on. We certainly have some work to do in this area but we've managed to sort out some of the persistent offenders! It's really easy to just ignore the supposedly random failures and just re-run the build but it doesn't really solve the underlying problem. We've found it's quite rare that there are ever actually random failures in the build, just failures that we don't know enough about yet.
null
null
[ 0.016474071890115738, -0.013416307978332043, -0.007536761928349733, 0.04104887321591377, 0.10324409604072571, 0.01528996042907238, 0.049276240170001984, 0.043807052075862885, -0.002350808819755912, -0.01916891522705555, -0.002207867568358779, -0.005771014839410782, -0.07122106105089188, 0.022795572876930237, -0.037490129470825195, 0.05345584824681282, 0.10209640115499496, -0.013573974370956421, 0.025213327258825302, 0.013589574955403805, 0.035131823271512985, 0.06380579620599747, 0.028530700132250786, 0.04277871921658516, 0.025062382221221924, 0.01909038983285427, 0.0029142689891159534, -0.0009691782761365175, -0.06372847408056259, -0.024918386712670326, 0.030664049088954926, -0.017487255856394768, -0.005256596487015486, 0.003556774230673909, 0.04068635031580925, -0.003128606826066971, -0.025445545092225075, 0.011599828489124775, -0.015165526419878006, -0.002270263619720936, -0.07468529790639877, 0.028721364215016365, 0.01477092131972313, -0.01751583069562912, -0.040331270545721054, 0.03199845552444458, 0.0003167801187373698, 0.011666310019791126, 0.0036714759189635515, -0.0372992567718029, -0.06780029833316803, 0.03592201694846153, -0.02948959544301033, 0.00961656216531992, 0.005064221564680338, 0.02214432880282402, 0.02066325582563877, -0.06809046864509583, 0.03553623706102371, -0.041890598833560944, 0.014542419463396072, -0.021460622549057007, -0.0032109671737998724, 0.02979203313589096, 0.029866769909858704, -0.009561233222484589, 0.02023615688085556, 0.04666068032383919, -0.019374987110495567, 0.009476832114160061, -0.00623440882191062, -0.00799472164362669, -0.00602344935759902, 0.0009728041477501392, 0.021040180698037148, -0.05686129257082939, 0.009980972856283188, 0.04059174656867981, 0.03680933639407158, 0.04257343336939812, -0.009731650352478027, 0.003919599112123251, 0.03385278955101967, 0.016342677175998688, -0.033042315393686295, -0.018418414518237114, -0.01080076303333044, -0.009080857038497925, -0.05878860875964165, 0.08765174448490143, 0.02410677820444107, -0.02932634949684143, 0.02113618515431881, 0.03516855090856552, 0.009095944464206696, 0.005549575202167034, 0.019463110715150833, -0.0023981742560863495, 0.014594031497836113, -0.00104919308796525, -0.012711692601442337, 0.007743950001895428, -0.008054334670305252, 0.03685981407761574, -0.07895947992801666, -0.013559200800955296, -0.010659204795956612, -0.013081260956823826, 0.0035187802277505398, 0.00288489181548357, -0.017823979258537292, 0.025324253365397453, -0.025668824091553688, 0.018413115292787552, -0.09765535593032837, 0.08683833479881287, 0.003977332264184952, -0.0467572920024395, -0.006471151486039162, 0.0021332011092454195, 0.04302823916077614, 0.028823139145970345, -0.05272328108549118, 0.06253916770219803, 0.02046397514641285, 0.04097865894436836, -0.02674596756696701, 0.04761199653148651, -0.01657920889556408, -0.06421490758657455, -0.009755425155162811, 0.06118099018931389, -0.013306917622685432, 0.025607403367757797, -0.01016272697597742, -0.020865699276328087, 0.015437465161085129, 0.010833075270056725, 0.03910777345299721, 0.036752987653017044, -0.026131227612495422, -0.025222526863217354, 0.009875770658254623, -0.007796453312039375, 0.01763816364109516, 0.01374512817710638, -0.005325452424585819, -0.03989795222878456, -0.05785972252488136, 0.0239771269261837, 0.006302904337644577, 0.034308046102523804, 0.01815020479261875, -0.06445223093032837, 0.040672317147254944, 0.0650612860918045, 0.035177696496248245, -0.0012734954943880439, -0.03028702363371849, 0.03248602896928787, 0.016363393515348434, 0.04168397933244705, 0.026418890804052353, 0.043024513870477676, 0.01510109193623066, 0.0003836267860606313, 0.0032849269919097424, 0.03318091109395027, 0.011559253558516502, 0.007279135286808014, -0.08223842829465866, -0.0363820381462574, 0.03159143775701523, -0.04476793110370636, 0.004026385489851236, 0.03949085995554924, 0.11278115212917328, 0.021075358614325523, 0.03345293179154396, -0.02345109172165394, -0.07149327546358109, 0.03215983882546425, 0.02373668923974037, 0.03078412637114525, 0.028087401762604713, -0.015650849789381027, 0.061663415282964706, 0.01584096997976303, -0.012492045760154724, 0.016820751130580902, -0.06327163428068161, -0.09186896681785583, 0.0015222880756482482, -0.02987755462527275, 0.035653967410326004, -0.021497897803783417, -0.017244508489966393, 0.026492048054933548, 0.011384636163711548, 0.04900249466300011, 0.025967834517359734, -0.008451939560472965, 0.0303716491907835, -0.04214430972933769, -0.07628132402896881, 0.06084959954023361, 0.03064345195889473, 0.003441644599661231, -0.055054087191820145, 0.00004730539149022661, -0.02871597185730934, -0.008556809276342392, 0.036690764129161835, 0.014615998603403568, 0.06747671961784363, -0.0007470276905223727, 0.03875916823744774, -0.0497329905629158, 0.061475031077861786, -0.050807856023311615, 0.002205861499533057, -0.013548275455832481, -0.023447537794709206, 0.008417921140789986, -0.008567697368562222, 0.09477625042200089, 0.05099247768521309, -0.05736013501882553, -0.04668246582150459, 0.0361425019800663, 0.009953987784683704, -0.0494377538561821, -0.01997792348265648, -0.012509934604167938, 0.01753523014485836, 0.03516183793544769, -0.03704604506492615, -0.0413115955889225, 0.005236750468611717, -0.04031604528427124, 0.0037215612828731537, 0.058740150183439255, -0.006147459615021944, 0.06255469471216202, 0.018930047750473022, -0.031719695776700974, 0.009250838309526443, -0.01637209579348564, -0.05533365160226822, -0.023783162236213684, -0.0010304291499778628, -0.005323023069649935, 0.05193175747990608, -0.025159824639558792, -0.04725223407149315, -0.0372307114303112, -0.03495420515537262, 0.020793965086340904, 0.009105721488595009, 0.07008370012044907, -0.0227864608168602, 0.07213295996189117, -0.03161853179335594, 0.013002823106944561, 0.0029854432214051485, -0.038923364132642746, -0.012169957160949707, -0.00031876342836767435, 0.020833848044276237, 0.03267982229590416, -0.002017209306359291, -0.020851708948612213, 0.02422829158604145, 0.013219080865383148, 0.00882660411298275, -0.013743062503635883, 0.041653987020254135, 0.006329568102955818, -0.023514030501246452, -0.02563171647489071, -0.012230467051267624, 0.034541334956884384, -0.04422073811292648, 0.0015312402974814177, -0.002428747247904539, -0.06967377662658691, 0.04770682007074356, -0.10735615342855453, -0.05312853306531906, -0.010825860314071178, 0.022534873336553574, 0.00872949417680502, 0.024591131135821342, 0.014371393248438835, 0.06571678817272186, 0.03546303138136864, -0.009864218533039093, 0.010585706681013107, -0.0012831103522330523, 0.025249067693948746, 0.004433086607605219, 0.007038715295493603, 0.01045658253133297, 0.004650155548006296, -0.002169183688238263, -0.05479598045349121, 0.021317733451724052, -0.045325376093387604, -0.27621152997016907, 0.011489312164485455, 0.008141607977449894, -0.05733192712068558, 0.03733830153942108, 0.0039103394374251366, 0.02198447287082672, -0.04421230033040047, -0.04580768942832947, 0.06003427132964134, -0.014281753450632095, -0.04723626375198364, 0.0011174370301887393, 0.025582486763596535, -0.0038673384115099907, 0.020289042964577675, 0.02584180049598217, -0.06424820423126221, 0.03160040080547333, 0.016434941440820694, 0.004385581240057945, -0.06359969079494476, 0.019483789801597595, 0.022835727781057358, 0.043112240731716156, 0.07795059680938721, -0.06589028239250183, 0.06535555422306061, -0.03794844448566437, -0.009520015679299831, 0.010243131779134274, -0.021221863105893135, -0.008284351788461208, -0.014945760369300842, -0.0018867281032726169, -0.012016492895781994, 0.0213551614433527, 0.01060408353805542, -0.009938077069818974, -0.00045622006291523576, -0.02187090367078781, -0.07552142441272736, -0.00917108915746212, 0.010421283543109894, 0.08054463565349579, 0.009754059836268425, -0.08035890758037567, -0.0016346897464245558, -0.043096065521240234, 0.0746317133307457, -0.04187636822462082, -0.022216202691197395, -0.017165541648864746, 0.05073605850338936, -0.027860037982463837, -0.008096246048808098, -0.01748105138540268, -0.007078764960169792, -0.05491509661078453, -0.026583872735500336, -0.014667670242488384, -0.02803843654692173, -0.025559253990650177, -0.06258230656385422, -0.0005854170303791761, -0.059435926377773285, -0.03633984923362732, 0.004299201536923647, 0.06037304550409317, 0.004991542082279921, -0.033467285335063934, -0.0026257014833390713, 0.0034021600149571896, -0.12082482874393463, 0.02021491713821888, -0.01478540152311325, -0.03595011308789253, -0.016281384974718094, -0.013729673810303211, 0.049212221056222916, -0.012211702764034271, -0.037984300404787064, 0.010431842878460884, 0.012311335653066635, 0.017195729538798332, -0.006748980842530727, 0.021089835092425346, 0.02737906016409397, -0.012258258648216724, 0.011769384145736694, 0.05745856836438179, -0.0029954363126307726, -0.01612861081957817, -0.03286328911781311, 0.03084523417055607, 0.01718386448919773, 0.00021241279318928719, 0.037878621369600296, 0.015546471811830997, 0.009764286689460278, 0.027459952980279922, -0.04667891561985016, 0.04239987954497337, -0.0365232490003109, -0.02072942443192005, -0.0009423141018487513, -0.036158207803964615, 0.017074070870876312, 0.039212487637996674, 0.041109681129455566, -0.007868575863540173, -0.028915392234921455, 0.021186696365475655, -0.05829417333006859, -0.005905503407120705, -0.012680399231612682, 0.01621202379465103, 0.033518027514219284, -0.004950453527271748, 0.0024625223595649004, -0.048869431018829346, 0.024984020739793777, 0.01374693214893341, -0.010237188078463078, -0.04109979420900345, -0.011965880170464516, -0.00581833440810442, 0.004386636428534985, 0.0027130257803946733, 0.017729081213474274, -0.01803053729236126, 0.042281169444322586, 0.028083233162760735, -0.02561236545443535, -0.0026796404272317886, -0.013224322348833084, -0.04918114095926285, -0.06044525280594826, -0.0004783364711329341, 0.017449988052248955, -0.029106197878718376, 0.005057697184383869, 0.023748164996504784, 0.019348930567502975, 0.04795696213841438, 0.03634842485189438, 0.04029593989253044, -0.04165898263454437, 0.03735395893454552, 0.04016470909118652, -0.01152872759848833, -0.069936104118824, 0.023065432906150818, -0.044284749776124954, -0.016194721683859825, -0.009202114306390285, 0.05984197184443474, -0.023445559665560722, -0.0663640946149826, -0.02526654303073883, 0.0012903677998110652, -0.06036011502146721, -0.02770807035267353, -0.004542306996881962, 0.00649292953312397, 0.0690954178571701, -0.015663661062717438, 0.012254009023308754, -0.016848864033818245, -0.0027075328398495913, 0.0011265425710007548, 0.010827334597706795, -0.04313058778643608, 0.03537473827600479, 0.020400812849402428, 0.021093299612402916, -0.004979149904102087, -0.00012198124750284478, 0.04819823056459427, -0.012658019550144672, 0.005589116830378771, 0.007678567431867123, 0.016917943954467773, -0.011110014282166958, 0.040878571569919586, 0.026112059131264687, 0.0003539503668434918, -0.01452239416539669, -0.017910514026880264, 0.0013854935532435775, -0.02549688331782818, -0.013042214326560497, 0.003090421436354518, 0.021046223118901253, -0.020367171615362167, -0.08114879578351974, 0.06389723718166351, 0.012774030677974224, 0.02098768576979637, 0.004353304393589497, -0.0017962103011086583, -0.01714823581278324, -0.022110767662525177, 0.04505256563425064, 0.08136413991451263, -0.0431763231754303, 0.03229954466223717, 0.0010189496679231524, 0.016591882333159447, 0.018682437017560005, 0.011856410652399063, -0.03681227192282677, -0.02264489233493805, -0.016574330627918243, 0.013137426227331161, -0.07399756461381912, -0.03971375897526741, -0.03934725001454353, 0.02757939137518406, -0.002533114515244961, -0.013536852784454823, -0.0028056756127625704, 0.006007795222103596, -0.029927220195531845, -0.042512498795986176, 0.01001692470163107, -0.019092772156000137, -0.00818725861608982, 0.014493354596197605, -0.0367569699883461, -0.015733487904071808, -0.03716421499848366, 0.009489751420915127, 0.010774289257824421, -0.023496415466070175, -0.026894498616456985, -0.03619389981031418, -0.02260211482644081, 0.00875716470181942, 0.046676795929670334, -0.01489542331546545, -0.003483118023723364, -0.016404539346694946, -0.01988077536225319, -0.027750492095947266, 0.004011776763945818, -0.0027076879050582647, 0.006117415148764849, 0.03315843269228935, 0.06043615937232971, -0.010493788868188858, 0.028117328882217407, 0.0054204585030674934, -0.02395528554916382, 0.051822811365127563, -0.08560018986463547, -0.032467007637023926, -0.029700111597776413, -0.07033203542232513, -0.009968891739845276, -0.0018017695983871818, -0.025803036987781525, -0.05744152143597603, 0.04859943687915802, 0.043318770825862885, 0.02790764719247818, 0.046869032084941864, 0.0017953335773199797, 0.024572791531682014, -0.05136372521519661, -0.014124426059424877, -0.06203962489962578, 0.02164286933839321, 0.04552087560296059, 0.010055981576442719, 0.006979628000408411, 0.00811710488051176, -0.02177250199019909, 0.04192856326699257, -0.04909433797001839, -0.034624047577381134, 0.043593183159828186, -0.022116713225841522, -0.016719277948141098, -0.006051068659871817, -0.04980417340993881, 0.044146616011857986, 0.019935745745897293, -0.029526764526963234, -0.012460678815841675, -0.017703143879771233, 0.04089188575744629, -0.007662944495677948, 0.027494778856635094, -0.0789022371172905, -0.03364408761262894, 0.05488835647702217, -0.0013769295765087008, -0.002756683621555567, 0.058016110211610794, -0.018528541550040245, 0.04078052565455437, 0.027105139568448067, 0.003150359960272908, -0.04006822034716606, -0.008439850993454456, -0.007625557482242584, -0.05856617912650108, 0.021988868713378906, -0.011187730357050896, -0.00007057736365823075, -0.03294936567544937, 0.06421851366758347, 0.039181698113679886, -0.02708907052874565, -0.04654039815068245, 0.02712227776646614, -0.05076694115996361, -0.028437482193112373, -0.019122419878840446, 0.00008608987263869494, -0.032252371311187744, 0.06570200622081757, 0.01171066239476204, 0.01325059775263071, 0.07410117983818054, 0.006015288643538952, -0.0034647895954549313, -0.003950499463826418, 0.08214088529348373, 0.054003115743398666, 0.015081990510225296, 0.001459061517380178, 0.06915563344955444, -0.02234761230647564, -0.044241227209568024, 0.006721021141856909, -0.03457920253276825, -0.03984770551323891, -0.02439991943538189, 0.04106730595231056, 0.05919826403260231, -0.01229685265570879, 0.051440298557281494, -0.020518483594059944, 0.004049413837492466, -0.00911121815443039, 0.027505842968821526, 0.026433981955051422, 0.05864546075463295, -0.010433310642838478, 0.016222350299358368, 0.037970274686813354, -0.023776495829224586, 0.013909218832850456, -0.030727757140994072, -0.027081413194537163, 0.012676328420639038, -0.015698885545134544, -0.0022276006639003754, 0.0022006945218890905, 0.006697606761008501, 0.06902892887592316, 0.0013994543114677072, 0.008684086613357067, -0.003313553985208273, 0.019524600356817245, -0.00862440187484026, -0.003908517304807901, -0.027417980134487152, -0.0143967866897583, -0.002104351297020912, -0.020195405930280685, -0.010261176154017448, -0.021554026752710342, -0.029133908450603485, 0.03895074129104614, -0.02247568406164646, 0.006403981242328882, 0.007977301254868507, -0.010078505612909794, -0.033732883632183075, -0.04248986020684242, -0.06331975758075714, -0.04044400900602341, -0.04074060171842575, 0.003481439547613263, 0.004963620100170374, -0.0023723009508103132, -0.04092348366975784, -0.011158245615661144, 0.002338883001357317, -0.02286064811050892, 0.028725391253829002, -0.07248195260763168, -0.03930273279547691, 0.03353169187903404, -0.011410594917833805, 0.03372148051857948, 0.02737048640847206, 0.07778680324554443, -0.0022281305864453316, -0.017940087243914604, -0.05380168929696083, -0.01174377091228962, 0.023523876443505287, -0.004508178681135178, 0.01648377627134323, -0.08260925859212875, 0.029491612687706947, 0.01931869611144066, 0.01638215221464634, -0.0647348165512085, 0.01026836596429348, 0.01993746869266033, -0.005994259379804134, 0.04313794523477554, -0.0352962464094162, 0.0079965740442276, -0.06545903533697128, -0.019587961956858635, 0.010548489168286324, 0.006321888882666826, 0.04325583204627037, -0.01278368104249239, 0.06797558069229126, 0.045841626822948456, -0.04612601548433304, -0.03835954889655113, 0.0028000345919281244, -0.02532140538096428, -0.00484258309006691, -0.024945376440882683, -0.02699911780655384, -0.025745360180735588, -0.09073289483785629, -0.00427207862958312, 0.009110987186431885, 0.015434474684298038, -0.03275018930435181, 0.03651592880487442, 0.017709793522953987, -0.0809411033987999, 0.010274071246385574, -0.030031204223632812, 0.0030202544294297695, -0.03215942159295082, -0.022932957857847214, 0.038107749074697495, 0.023074176162481308, 0.015614989213645458, -0.026765063405036926, 0.005580861587077379, -0.03987172618508339, 0.01228706818073988, 0.0017674065893515944, 0.033310722559690475, 0.048457201570272446, 0.01987028680741787, 0.005721278488636017 ]
[ -0.10577300190925598, 0.0036104144528508186, -0.017975082620978355, -0.05562528595328331, 0.028305288404226303, -0.027301477268338203, -0.04370233044028282, 0.008433636277914047, 0.005376729648560286, -0.037985678762197495, 0.035111866891384125, -0.028796164318919182, -0.0030964131001383066, -0.0287325456738472, 0.07491254806518555, 0.017376042902469635, -0.023279108107089996, -0.06879696995019913, 0.025257878005504608, 0.02768728882074356, -0.003773180302232504, -0.05574842542409897, -0.054899685084819794, -0.031094929203391075, 0.005964023992419243, 0.04292020946741104, 0.052136633545160294, -0.032464127987623215, -0.0020666993223130703, -0.19376881420612335, 0.018201841041445732, -0.009280775673687458, 0.02355826459825039, -0.011258351616561413, 0.03859827667474747, 0.03074626624584198, 0.024930201470851898, 0.016420092433691025, -0.006105818785727024, 0.021270601078867912, 0.020958783105015755, 0.03168269246816635, -0.06743926554918289, -0.014415141195058823, 0.03772130608558655, -0.011354277841746807, -0.013394573703408241, -0.025308910757303238, 0.03577504679560661, 0.000495479500386864, -0.03069300204515457, -0.009898936375975609, 0.021653836593031883, -0.050625596195459366, -0.00575696537271142, 0.003596717258915305, 0.03451722115278244, 0.0501117967069149, 0.03654631972312927, 0.009235763922333717, -0.010171606205403805, -0.015695845708251, -0.1502007693052292, 0.07818719744682312, 0.04452957585453987, 0.027408506721258163, -0.01747395470738411, -0.05940208584070206, -0.01027641911059618, 0.08620410412549973, -0.007824789732694626, -0.018252715468406677, -0.008032058365643024, 0.06701188534498215, -0.002255014143884182, 0.015348782762885094, 0.013483825139701366, 0.02839931845664978, 0.03490995988249779, -0.04287949204444885, -0.03845757618546486, -0.039556458592414856, -0.03651680797338486, 0.009948006831109524, -0.05832876265048981, 0.04160526394844055, -0.0044230199418962, 0.09144220501184464, 0.05259079858660698, 0.05050127953290939, 0.02622617594897747, -0.01904899999499321, 0.04830305278301239, 0.015095002949237823, -0.09115646034479141, 0.008251633495092392, -0.011104405857622623, -0.018841339275240898, -0.06050341576337814, 0.42683154344558716, -0.008857080712914467, -0.010891143232584, 0.048000626266002655, 0.03766268119215965, 0.02475280500948429, 0.01012647058814764, 0.00835348293185234, -0.027025343850255013, 0.003989743534475565, -0.03781283646821976, 0.03241850063204765, 0.02278611995279789, 0.07840781658887863, -0.06476276367902756, 0.01807844638824463, 0.025509953498840332, -0.019893519580364227, -0.010106086730957031, -0.04518309608101845, 0.014759908430278301, 0.002021410269662738, 0.0011973222717642784, 0.05497477948665619, -0.005802793428301811, 0.0004040338972117752, -0.02389613725244999, 0.056982994079589844, 0.05514311417937279, -0.003085586940869689, -0.023797569796442986, 0.031536102294921875, -0.04288734123110771, -0.044210921972990036, -0.01204349659383297, 0.02963126264512539, 0.011086595244705677, 0.043212611228227615, -0.04658428579568863, 0.009043880738317966, 0.007744614500552416, -0.015205194242298603, 0.005223914980888367, 0.04177325963973999, -0.051299870014190674, -0.026263320818543434, 0.08613552898168564, 0.03911640867590904, -0.00866024848073721, -0.03340621292591095, -0.04796074703335762, -0.004586668685078621, 0.0337040014564991, 0.01605229265987873, -0.07187709957361221, 0.006008542142808437, 0.005475297570228577, 0.06138468161225319, 0.023204008117318153, -0.04779944568872452, -0.010527013801038265, -0.02289627492427826, -0.03128279000520706, -0.0455903634428978, 0.04831153154373169, 0.054941095411777496, -0.10253944993019104, -0.04043464735150337, 0.022101787850260735, 0.01580895483493805, -0.04083452746272087, -0.029584521427750587, 0.016846874728798866, -0.008536010049283504, -0.04464098811149597, 0.049898162484169006, -0.051476866006851196, -0.02076554112136364, 0.04263446852564812, 0.02271445468068123, 0.030846185982227325, 0.00784086063504219, 0.011538712307810783, -0.05289775878190994, -0.01573018915951252, -0.0009044756880030036, -0.08488729596138, -0.05758385732769966, 0.003714574733749032, -0.03982872888445854, -0.05077873542904854, -0.06509704142808914, -0.03606965392827988, -0.062206920236349106, 0.08678392320871353, 0.023136699572205544, -0.023246925324201584, -0.0008043043198995292, 0.01878938637673855, 0.0025259307585656643, -0.04934781789779663, 0.023698387667536736, 0.05539309233427048, 0.002315778750926256, 0.04941338300704956, -0.08414103835821152, 0.053283266723155975, -0.0034092364367097616, -0.028908565640449524, 0.07010835409164429, 0.04917635768651962, -0.03524031490087509, -0.0225160401314497, 0.006082508713006973, 0.04329453781247139, -0.004848007578402758, 0.015310903079807758, -0.026168227195739746, 0.02992027997970581, 0.020623451098799706, 0.03915277495980263, 0.008435802534222603, 0.028152193874120712, -0.009099663235247135, -0.3454781770706177, -0.05872209742665291, -0.03833230212330818, -0.0074242898263037205, 0.009132824838161469, -0.043508581817150116, 0.008312379941344261, -0.022591758519411087, -0.019980620592832565, -0.04312051087617874, 0.11864466965198517, -0.018674297258257866, 0.02978483773767948, -0.08929845690727234, 0.005517390090972185, 0.01592918112874031, -0.04156150668859482, -0.0040071457624435425, -0.021215960383415222, 0.014700359664857388, 0.009353305213153362, -0.0031777021940797567, -0.01982760801911354, -0.04866073653101921, -0.013068681582808495, -0.030425135046243668, 0.11793555319309235, -0.0319523848593235, 0.09148109704256058, -0.05047495663166046, 0.045782823115587234, 0.02781474031507969, 0.031878337264060974, -0.09862838685512543, -0.002900818595662713, -0.015606208704411983, 0.028826164081692696, -0.019741995260119438, 0.030775107443332672, -0.0008668267983011901, -0.07198280096054077, 0.031496964395046234, -0.06933262199163437, -0.05558985099196434, -0.03896752744913101, -0.018560655415058136, -0.020427316427230835, -0.0017953473143279552, -0.03266967833042145, 0.04649955406785011, 0.02052406221628189, -0.00858223345130682, -0.01610559970140457, 0.031124314293265343, 0.020354993641376495, -0.028722215443849564, -0.06571789085865021, -0.0032715180423110723, 0.01702948287129402, -0.004839880857616663, 0.047598209232091904, 0.07095647603273392, 0.02141377702355385, -0.04963536933064461, 0.03407219052314758, 0.011958726681768894, -0.015407431870698929, -0.002338994760066271, 0.040517013520002365, -0.03898344561457634, -0.03675541654229164, 0.08455898612737656, -0.020026003941893578, -0.00021884412853978574, 0.028454221785068512, 0.010024495422840118, -0.02509332075715065, -0.0011819778010249138, 0.008938499726355076, -0.010829079896211624, 0.02086547762155533, -0.04434088617563248, 0.03703467175364494, -0.00954761728644371, -0.017089223489165306, 0.028553536161780357, -0.041336044669151306, 0.03696703538298607, 0.06599389761686325, -0.004788439720869064, -0.0329628549516201, 0.01501370593905449, -0.005212834570556879, -0.04308062791824341, 0.10174118727445602, -0.0049172150902450085, -0.24361811578273773, 0.022402523085474968, 0.04518181085586548, 0.04880332574248314, -0.011152548715472221, 0.0031979475170373917, 0.018537448719143867, -0.026123007759451866, 0.019265230745077133, 0.022989623248577118, -0.0012585329823195934, 0.036887165158987045, -0.010438877157866955, -0.0069243330508470535, 0.03057841956615448, -0.0046800607815384865, 0.04719986766576767, 0.003731153905391693, 0.005467431154102087, -0.013296267949044704, -0.00603577820584178, -0.017446165904402733, 0.14120730757713318, -0.013293812982738018, 0.0350036658346653, 0.0475943349301815, 0.011811378411948681, 0.032095011323690414, 0.06326554715633392, 0.0384301021695137, -0.0030007646419107914, -0.02369362860918045, 0.01999073289334774, 0.0009578830795362592, 0.035129521042108536, -0.06299838423728943, -0.0009300012025050819, 0.040292929857969284, 0.035165052860975266, 0.009255251847207546, -0.010235716588795185, 0.02336837165057659, 0.0011843475513160229, 0.011668823659420013, 0.070358045399189, 0.0003379466070327908, 0.004865274298936129, -0.05547793582081795, -0.038945265114307404, -0.005500403232872486, -0.03552762418985367, -0.06199606508016586, 0.03321511670947075, 0.006609361153095961, 0.016130797564983368, 0.0804007351398468, 0.02392454817891121, -0.033683378249406815, -0.012038509361445904, -0.01862415298819542, 0.02829407900571823, -0.0342865064740181, 0.1298036128282547, -0.006520378869026899, 0.01792135462164879 ]
[ 0.00795479491353035, -0.01832328923046589, -0.004840507637709379, -0.007340357173234224, -0.013950292952358723, 0.009081211872398853, 0.003539538476616144, 0.00913283135741949, 0.0016239824471995234, -0.005353450775146484, 0.03040081076323986, -0.02728184498846531, 0.05555518716573715, -0.0012015453539788723, 0.021327316761016846, -0.024828005582094193, 0.011499334126710892, 0.0020921321120113134, 0.033814698457717896, 0.008090684190392494, -0.009951929561793804, 0.016712838783860207, -0.013986445032060146, 0.0062387981452047825, -0.029145341366529465, -0.009743038564920425, -0.02777324616909027, -0.023351386189460754, 0.01027290616184473, -0.13452811539173126, 0.015628254041075706, -0.029729893431067467, -0.0184861458837986, 0.024412861093878746, 0.00057672627735883, -0.0058064223267138, 0.044772714376449585, 0.017919987440109253, -0.049862027168273926, -0.0005228269146755338, -0.008195855654776096, 0.000043659212678903714, 0.02963203564286232, -0.0062601263634860516, -0.00069765979424119, 0.0007993196486495435, -0.009691092185676098, -0.04486100375652313, 0.027438145130872726, -0.020217835903167725, -0.01876028999686241, -0.0028743462171405554, 0.0464109443128109, 0.00702590262517333, 0.027498334646224976, 0.019344782456755638, 0.0018696122569963336, -0.03449811786413193, 0.013992701657116413, -0.007238147780299187, -0.00764808664098382, 0.02316354587674141, -0.04811794310808182, -0.038149941712617874, 0.02043059654533863, -0.0035159140825271606, -0.030210372060537338, -0.00692919734865427, -0.025040987879037857, -0.0072467452846467495, -0.01989339105784893, 0.012516269460320473, -0.014469374902546406, -0.004197846166789532, -0.03337128087878227, 0.00007167190051404759, 0.017781902104616165, 0.03137741982936859, 0.03725001960992813, -0.05366656556725502, -0.06451401114463806, -0.007179520558565855, -0.01608309894800186, 0.05013354495167732, -0.005795245990157127, -0.009664688259363174, -0.010365748777985573, 0.0038505217526108027, 0.017375709488987923, 0.017720051109790802, 0.004615335259586573, 0.0018786361906677485, -0.0028956986498087645, 0.0022217663936316967, -0.03547582030296326, -0.021447816863656044, -0.015490664169192314, -0.026660829782485962, 0.00041913616587407887, 0.8419340252876282, -0.011110526509582996, 0.015967875719070435, 0.039691582322120667, 0.034502215683460236, 0.01477732602506876, -0.004948681686073542, 0.005505688954144716, -0.0036751809529960155, -0.016952471807599068, -0.05414846912026405, 0.004883238580077887, -0.011146430857479572, 0.016763905063271523, 0.014985122717916965, 0.029749508947134018, 0.02339065819978714, 0.03167751431465149, 0.018446404486894608, -0.01643618941307068, 0.033107057213783264, 0.014856266789138317, 0.01895943470299244, 0.020481020212173462, 0.004383409861475229, 0.036482907831668854, -0.18411347270011902, 0.04149475693702698, -7.737731971906017e-33, 0.01205991581082344, 0.005557851865887642, 0.03478233516216278, 0.020740486681461334, 0.027019234374165535, -0.016453122720122337, 0.002688737353309989, 0.012881833128631115, 0.0065481518395245075, -0.034591689705848694, -0.038855161517858505, 0.0008411624003201723, 0.011135744862258434, -0.04184954613447189, 0.024176843464374542, -0.061036303639411926, -0.0010639962274581194, 0.024750640615820885, 0.007160964887589216, 0.024161091074347496, 0.014417024329304695, 0.028651833534240723, 0.013056972064077854, -0.019157646223902702, 0.023928580805659294, 0.002286863047629595, 0.009295488707721233, -0.006393773481249809, 0.007389123551547527, -0.028197523206472397, -0.028325490653514862, 0.021401170641183853, -0.029595395550131798, -0.017076585441827774, -0.030057748779654503, -0.02860311046242714, -0.002507108496502042, 0.009820927865803242, -0.03633933141827583, -0.029334619641304016, 0.005126906558871269, -0.008689398877322674, 0.0008571058278903365, 0.019085019826889038, -0.05713985487818718, -0.016346445307135582, -0.012412725947797298, 0.004764247220009565, 0.04445008933544159, 0.008578963577747345, 0.010876202024519444, 0.011905143037438393, 0.0017137355171144009, -0.050966329872608185, -0.026423485949635506, -0.0060783084481954575, 0.021905185654759407, 0.02192242629826069, -0.0006810452905483544, 0.03932769224047661, 0.0021748305298388004, -0.015761326998472214, -0.032235536724328995, 0.04253882169723511, -0.007685813121497631, -0.042957838624715805, 0.015482078306376934, 0.011581305414438248, -0.0270241666585207, -0.005456139799207449, -0.05926348641514778, -0.044604912400245667, 0.009557097218930721, -0.015749722719192505, 0.022252559661865234, 0.007061478216201067, 0.0003496456774882972, 0.01929636113345623, -0.018445748835802078, 0.020053885877132416, -0.024228548631072044, 0.015393032692372799, -0.013395947404205799, -0.0212154071778059, 0.0033373034093528986, -0.00776494899764657, 0.014338210225105286, -0.009658455848693848, -0.03667271509766579, 0.00160270428750664, -0.01969820074737072, 0.024147039279341698, 0.02844684198498726, -0.002343009226024151, -0.018848871812224388, 7.540719853392171e-33, -0.04191088303923607, -0.029087882488965988, -0.009984037838876247, 0.014381241984665394, 0.010158458724617958, 0.027431419119238853, 0.022597547620534897, -0.010064719244837761, -0.04089280217885971, 0.010084052570164204, -0.007971945218741894, 0.015962179750204086, -0.024394115433096886, 0.018357012420892715, 0.02827070839703083, 0.006268227472901344, 0.034326378256082535, 0.018542449921369553, 0.035618580877780914, 0.011807188391685486, 0.007317150942981243, 0.007898993790149689, -0.008800177834928036, 0.011383402161300182, 0.04234772548079491, 0.08701617270708084, -0.014540226198732853, 0.028414957225322723, 0.02046825736761093, -0.008372954092919827, 0.037873007357120514, -0.01818782091140747, 0.006026612129062414, -0.04692092910408974, 0.01930088922381401, 0.024345899000763893, 0.011251051910221577, 0.0033582851756364107, -0.008532841689884663, -0.006494640372693539, 0.029153568670153618, -0.031273290514945984, 0.0031549562700092793, 0.014473210088908672, 0.016613245010375977, 0.029898300766944885, 0.002746312413364649, -0.029018549248576164, -0.00036999728763476014, 0.030012592673301697, -0.0030745489057153463, -0.013361666351556778, 0.03607778251171112, 0.059413742274045944, -0.020212503150105476, -0.01351359486579895, -0.03516417741775513, 0.027598634362220764, -0.0288679301738739, -0.001865195226855576, 0.0010974366450682282, 0.011129570193588734, -0.001441572210751474, 0.016211012378335, -0.047088585793972015, -0.022675510495901108, -0.012195940129458904, 0.0017586476169526577, -0.002468736842274666, -0.00802717637270689, -0.04440910741686821, 0.0025047368835657835, -0.0317329503595829, 0.04712290316820145, -0.007917807437479496, -0.02149329148232937, 0.030567346140742302, -0.034245628863573074, -0.01626783050596714, 0.01564352959394455, 0.010887179523706436, 0.004660500213503838, -0.023773731663823128, -0.011680444702506065, 0.0002068587054964155, -0.014384770765900612, -0.020751580595970154, 0.03189713507890701, 0.028385689482092857, -0.022616280242800713, -0.022376349195837975, -0.006809416227042675, -0.027093198150396347, 0.0039396220818161964, -0.03452809900045395, -1.2949957550745239e-8, 0.023930031806230545, -0.01809040457010269, 0.011152766644954681, 0.023636367172002792, 0.024262957274913788, -0.0053270841017365456, -0.07065138220787048, -0.044072020798921585, -0.047038279473781586, -0.003596344031393528, 0.00982491672039032, 0.0007154030608944595, 0.0033610777463763952, 0.008576729334890842, -0.00226492527872324, 0.000563046894967556, 0.004631073214113712, 0.003935953136533499, 0.04044846072793007, 0.01357428077608347, 0.022385234013199806, 0.047237761318683624, 0.016290541738271713, -0.020185323432087898, 0.007528557442128658, 0.024967895820736885, -0.000848926545586437, -0.09426448494195938, -0.022852107882499695, 0.03245488926768303, 0.02358209155499935, -0.0242055244743824, -0.05797857418656349, 0.016096744686365128, -0.033032722771167755, 0.006618313025683165, -0.0002789529971778393, 0.012464112602174282, 0.0679318830370903, -0.014259508810937405, 0.0021099753212183714, 0.033714231103658676, -0.012798856012523174, -0.013745361939072609, 0.007029782049357891, 0.015065985731780529, -0.05670423060655594, 0.0029829388950020075, 0.009452622383832932, -0.03460162878036499, -0.04208492860198021, 0.037307657301425934, 0.05149826779961586, 0.03168347850441933, -0.003924643620848656, 0.0198130514472723, 0.022908708080649376, -0.06098049879074097, 0.014138921163976192, 0.032396864145994186, 0.018698235973715782, -0.011109770275652409, -0.020107662305235863, -0.011722720228135586 ]
cruise-agents-reducing-random-build-failures
https://markhneedham.com/blog/2009/07/25/cruise-agents-reducing-random-build-failures
false
2009-09-04 00:26:00
Coding Dojo #22: Scala, lamdaj, Project Euler
[ "coding-dojo", "scala", "lambdaj" ]
[ "Coding Dojo", "Scala" ]
In our latest coding dojo we played around with http://www.scala-lang.org/[Scala] and http://code.google.com/p/lambdaj/[lambdaj] while attempting to solve some of the problems on the http://projecteuler.net/index.php?section=problems[Project Euler] website. == The Format We started off on two different machines with two of us having a look at solving the first Project Euler problem in Scala and the other two trying to solve it in Java while using the lambdaj library. == What did we learn? * http://fabiopereira.me/blog/[Fabio] and I worked on the Scala solution to the problem and we were pretty much playing around with different ways to aggregate all the values in the list: ~~~scala 1.to(999).filter(x \=> x%3 == 0 || x%5 == 0).foldLeft(0)((acc,x) \=> acc + x) 1.to(999).filter(x \=> x%3 == 0 || x%5 == 0)./:(0)((x,y) \=> x+y) 1.to(999).filter(x \=> x%3 == 0 || x%5 == 0).foldRight(0)(_+_) 1.to(999).filter(x \=> x%3 == 0 || x%5 == 0).reduceLeft(_+_) 1.to(999).filter(x \=> x%3 == 0 || x%5 == 0)./:(0)(_+_) ~~~ We decided to work through how 'foldLeft' and 'foldRight' work for summing a simpler collection of data, the numbers 1-5, which goes something like this: fold_left ~~~text (((((0 + 1) + 2) + 3) + 4) + 5) = 15 ~~~ fold_right ~~~right (1 + (2 + (3 + (4 + (5 + 0))))) = 15 ~~~ When adding the numbers together it doesn't make any different whether we fold the collection from the left or from the right. If we do subtraction we do get different answers though: fold_left ~~~text (((((0 - 1) - 2) - 3) - 4) - 5) = -15 ~~~ fold_right ~~~text (1 - (2 - (3 - (4 - (5 - 0))))) = 3 \-> 5 - 0 = 5 \-> 4 - 5 = -1 \-> 3 - -1 = 4 \-> 2 - 4 = -2 \-> 1 - -2 = 3 ~~~ The other way of doing fold_left, '/:', is quite interesting although perhaps unintuitive when you first come across it. http://lizdouglass.wordpress.com/[Liz] showed me an http://rickyclarkson.blogspot.com/2008/01/in-defence-of-0l-in-scala.html[interesting post by Ricky Clarkson where he talks about this method and the reason why it's in the language]. Liz and Dave Yeung worked on doing a solution to lambdaj to the problem but it ended up being quite verbose so we decided to play around with Scala for the rest of the session. * We spent a bit of time playing around with traits via a http://www.artima.com/scalazine/articles/steps.html[nice introductory article] which effectively acts as a a cut down version of the http://www.artima.com/shop/programming_in_scala[Programming in Scala] book. I particularly like the way that you can add a trait to an instance of an object and you get access to all the methods defined on that trait which seems quite similar to Ruby mixins. http://lizdouglass.wordpress.com/[Liz] and I were discussing http://docondev.blogspot.com/2009/08/messy-code-is-not-technical-debt.html[an article written by Michael Norton comparing technical debt and making a mess] so that's where the trait name came from! ~~~scala trait Mess { def makeMess = print("tech debt is so funny") } class Liz { } ~~~ If you try to make use of the trait like this: ~~~scala val liz : Liz = new Liz with Mess ~~~ You don't have access to the 'makeMess' method since you explicitly defined the type to be 'Liz' which doesn't have the method: ~~~scala liz.makeMess > error: value makeMess is not a member of Liz liz.makeMess ~~~ If we let the compiler do its thing without trying to explicitly type the value it works much better: ~~~scala val liz = new Liz with Mess > Liz with Mess ~~~ ~~~scala liz.makeMess > tech debt is so funny ~~~ I really like having the ability to do this although I think I need to code a bit more Scala before I'll appreciate where we really gain by having this feature. The conciseness of the language and the lack of '{}' while keeping the same expressiveness in the code is something which reminds me a lot of F# and from what I've seen so far I imagine it would be much more fun to code in Scala than in Java. It also seems more clear to me that when a static language has really good type inference then one of the main reasons that people prefer dynamic languages - you get to write less code for the same amount of features - is actually much less valid. * This was a very experimental dojo in nature although Liz has been playing around with Scala a bit so she was able to guide us a bit when we got stuck. I'm finding that sessions where everyone is fairly new to the language or technology aren't necessarily as fruitless as I had previously imagined that they would be - I find that http://www.markhneedham.com/blog/2009/01/25/learning-alone-or-learning-together/[learning something together] makes it more interesting as you can then draw on other people's ideas and understanding of the language as well as your own. I think in the cases where everyone is a novice people need to be prepared to get involved and write some code despite that. If that's the case then I think it's certainly possible to gain a lot from these sessions.
null
null
[ 0.018702469766139984, -0.024239331483840942, -0.004544313531368971, -0.002761085983365774, 0.06791949272155762, 0.023943033069372177, 0.01654287613928318, 0.004265796393156052, -0.01045091450214386, -0.02746409922838211, 0.01150016114115715, -0.0031902259215712547, -0.08221270889043808, 0.031639400869607925, -0.032086681574583054, 0.05950627103447914, 0.06636978685855865, -0.004532070364803076, 0.01408000010997057, -0.006754817441105843, 0.042172133922576904, 0.07683892548084259, 0.006391048897057772, 0.01936929114162922, 0.02943781390786171, 0.006441642064601183, 0.019012050703167915, 0.010344192385673523, -0.03643035143613815, -0.0023018070496618748, 0.044592682272195816, 0.033856723457574844, -0.01145937480032444, -0.02338467538356781, -0.01425386592745781, -0.01384392287582159, -0.004462167154997587, 0.02113485522568226, -0.01818893663585186, 0.023829590529203415, -0.0289947297424078, 0.00517304427921772, -0.002256728010252118, 0.049265991896390915, -0.041520483791828156, 0.020741743966937065, -0.02321408875286579, 0.0016995262121781707, -0.03339856490492821, 0.006602759938687086, -0.05611743405461311, 0.0063512991182506084, -0.010423128493130207, -0.017477955669164658, -0.023793576285243034, 0.07230126112699509, 0.017130885273218155, -0.08007972687482834, 0.07588481903076172, -0.05267041549086571, -0.015806782990694046, -0.002411154331639409, 0.027601998299360275, 0.0004502260126173496, 0.009856936521828175, -0.022438375279307365, -0.028411831706762314, 0.05935073643922806, -0.051562052220106125, -0.04313237965106964, 0.005512685049325228, 0.024213984608650208, -0.03831953555345535, -0.0387103408575058, 0.0019851161632686853, -0.049769360572099686, -0.032525237649679184, 0.08167669177055359, 0.005944968666881323, 0.01227608136832714, -0.042483530938625336, 0.012105501256883144, 0.03433484211564064, 0.040526703000068665, 0.030883261933922768, -0.02396227791905403, -0.04586484283208847, -0.0040560634806752205, -0.04150201752781868, 0.04308793321251869, 0.04204040765762329, -0.052009467035532, -0.005936888512223959, 0.019343962892889977, 0.007447878830134869, 0.04171614348888397, 0.009067564271390438, 0.014195924624800682, -0.0038360541220754385, 0.009405195713043213, -0.027456726878881454, -0.043676264584064484, 0.041146647185087204, -0.009588198736310005, -0.043986883014440536, -0.011221827939152718, 0.015017465688288212, -0.01476921234279871, 0.014651629142463207, 0.038071706891059875, -0.0351373590528965, -0.013185471296310425, -0.06004950404167175, -0.005625385325402021, -0.07312945276498795, 0.05056396871805191, 0.007228255271911621, -0.03752660006284714, -0.030893873423337936, 0.06332547217607498, 0.051613204181194305, 0.011919357813894749, -0.02364204451441765, 0.09998926520347595, 0.001988366013392806, 0.04274282231926918, 0.008533801883459091, 0.08521152287721634, 0.0031079810578376055, -0.0759015679359436, 0.010423424653708935, 0.054571300745010376, -0.0058682505041360855, -0.017816342413425446, -0.006665505468845367, -0.03021174669265747, -0.025978226214647293, 0.01999521441757679, 0.029615044593811035, -0.005971353035420179, -0.021156420931220055, -0.02388460747897625, 0.011704700998961926, -0.050690289586782455, 0.018439531326293945, 0.03897416591644287, -0.022043174132704735, -0.02275226078927517, -0.005096502136439085, -0.0021873225923627615, 0.0220359954982996, 0.010491522960364819, 0.03646211326122284, -0.01914243958890438, 0.042312949895858765, 0.06152595207095146, -0.003328759456053376, 0.029561996459960938, -0.007040124386548996, 0.00005333416265784763, 0.04021342843770981, 0.021165965124964714, -0.005181669257581234, 0.031973566859960556, -0.0012627061223611236, -0.021515971049666405, 0.010092816315591335, 0.059533409774303436, -0.03713684901595116, -0.02883421629667282, -0.06093072146177292, -0.05481046065688133, 0.061361994594335556, -0.03673332929611206, -0.004045765846967697, -0.006952015683054924, 0.0973985493183136, 0.01627526804804802, 0.058936357498168945, 0.004371571820229292, -0.07687158137559891, 0.009585916996002197, -0.0052404324524104595, 0.02351602353155613, 0.03206445649266243, -0.011022234335541725, 0.060463014990091324, 0.03465845808386803, 0.03213219344615936, 0.039977509528398514, -0.0639527440071106, -0.06923945993185043, 0.0028129168786108494, 0.007249581627547741, 0.06718920171260834, -0.021458780393004417, -0.006853234022855759, 0.03798527643084526, 0.01984087936580181, 0.029830992221832275, -0.0007423061178997159, -0.006092039402574301, 0.0336930938065052, -0.022518564015626907, -0.005724298767745495, 0.049931302666664124, 0.037016820162534714, -0.024517210200428963, -0.03577364236116409, 0.03529917076230049, 0.0005440315580926836, -0.014588854275643826, 0.02652270346879959, -0.032632533460855484, 0.033723846077919006, 0.04673297703266144, 0.014029872603714466, -0.04316934198141098, 0.08177809417247772, -0.05668963864445686, 0.05363903194665909, -0.00035517336800694466, 0.0043450891971588135, -0.033805981278419495, 0.0033138839062303305, 0.13933609426021576, 0.04945164546370506, -0.037136465311050415, -0.05845212936401367, 0.016592299565672874, -0.0005085671436972916, -0.061349332332611084, -0.0017591783544048667, -0.0072810775600373745, 0.01431727409362793, -0.02514302358031273, -0.01788899302482605, -0.0337965227663517, 0.023153437301516533, -0.024451203644275665, -0.01089707762002945, 0.07743718475103378, -0.033859554678201675, 0.03978872299194336, 0.016872404143214226, -0.03388802334666252, -0.010638155974447727, -0.0038483350072056055, -0.05346202850341797, 0.022393949329853058, 0.007350616622716188, -0.0068428246304392815, 0.03501829132437706, -0.032210517674684525, -0.03505882993340492, -0.02653406374156475, -0.01680011861026287, 0.01263793557882309, 0.04356129840016365, 0.05401914194226265, -0.04449698328971863, 0.027344971895217896, -0.019416281953454018, -0.03731929883360863, -0.01512926071882248, -0.04400395601987839, -0.03786950930953026, -0.00835405383259058, 0.0034826300106942654, 0.012130719609558582, 0.038686759769916534, 0.04370420053601265, 0.03224163502454758, 0.005801474209874868, -0.006951797753572464, -0.016984989866614342, 0.03211526945233345, -0.023709725588560104, -0.04917339235544205, -0.026979178190231323, -0.017680026590824127, 0.06082100048661232, -0.0413581021130085, -0.040180958807468414, -0.0026347986422479153, -0.03417743742465973, 0.08456815779209137, -0.07340821623802185, -0.03995039686560631, 0.0027935788966715336, 0.058159079402685165, 0.06465160846710205, -0.02202141471207142, -0.02466481178998947, 0.05802115052938461, -0.015071352943778038, 0.020890995860099792, 0.03376493975520134, 0.010853281244635582, 0.03149702399969101, 0.00265942863188684, 0.0320650190114975, 0.0668889507651329, 0.018305320292711258, -0.013735963962972164, -0.04270317405462265, 0.010530270636081696, -0.005301750730723143, -0.2572402060031891, 0.024085715413093567, -0.022503145039081573, -0.03504006564617157, -0.008279256522655487, -0.0284334197640419, 0.005193687044084072, -0.031120849773287773, -0.001666044001467526, -0.026495013386011124, -0.012088433839380741, -0.01951565220952034, -0.05464380979537964, 0.058302853256464005, -0.005960600450634956, -0.016147451475262642, -0.014976938255131245, -0.00733053358271718, 0.002519382396712899, 0.043180666863918304, -0.03056171163916588, -0.04395680874586105, -0.019243387505412102, 0.06717181950807571, 0.0004623291897587478, 0.03646188974380493, -0.07342265546321869, 0.01120773795992136, -0.038877371698617935, -0.01799633912742138, -0.0006543633062392473, -0.02731206640601158, -0.0035393424332141876, -0.02857745811343193, -0.007095521315932274, -0.018300507217645645, 0.028267161920666695, 0.0068777441047132015, 0.018568245694041252, 0.05474242568016052, -0.028302345424890518, -0.0475398488342762, 0.0005436585634015501, 0.001224158564582467, 0.07479090988636017, -0.0021880127023905516, -0.0734320804476738, -0.006635936908423901, -0.03973596170544624, 0.0715574100613594, -0.02012277953326702, -0.04160025715827942, -0.026065768674016, 0.035874295979738235, 0.008150430396199226, -0.023595619946718216, -0.02618418075144291, -0.006697900127619505, -0.03350437059998512, 0.0033418522216379642, -0.008626030758023262, -0.07413600385189056, -0.024445978924632072, -0.07447236031293869, -0.03186233341693878, -0.06669404357671738, -0.045119043439626694, 0.018448641523718834, 0.0664258524775505, 0.014306027442216873, -0.005925990641117096, -0.009301734156906605, -0.0023728872183710337, -0.11805526167154312, -0.026008211076259613, -0.020376859232783318, -0.001425243215635419, -0.01977405697107315, 0.004615986719727516, 0.029558993875980377, -0.06946908682584763, -0.06189560517668724, 0.02038479410111904, -0.02728447876870632, 0.006828846409916878, 0.005088134203106165, -0.008508921600878239, -0.028304586187005043, -0.006843773182481527, -0.006208471488207579, 0.06386050581932068, -0.02525685913860798, -0.03711599484086037, -0.022062096744775772, 0.034325096756219864, 0.0689331442117691, 0.009132327511906624, 0.023149343207478523, 0.0074211773462593555, 0.05590273067355156, 0.04239814355969429, -0.05384292080998421, 0.01012616977095604, -0.0032820699270814657, 0.005494279786944389, 0.026586785912513733, -0.07943173497915268, 0.042684394866228104, 0.0193676445633173, 0.037670500576496124, -0.02612518146634102, -0.055192429572343826, 0.0019587520509958267, -0.028721682727336884, -0.008969489485025406, -0.03186725080013275, -0.005969634745270014, 0.03359397128224373, 0.004805250093340874, -0.02735413983464241, -0.04395342245697975, 0.013172841630876064, 0.04545971378684044, -0.03275969624519348, -0.05911010131239891, -0.01087832823395729, -0.040829021483659744, -0.015478352084755898, 0.026794617995619774, 0.0051772259175777435, -0.04242447018623352, 0.04814138263463974, -0.009244601242244244, -0.006875551305711269, 0.03509075194597244, -0.010471159592270851, -0.0275233443826437, -0.0481957383453846, 0.02856791391968727, -0.01932518556714058, 0.03165186196565628, -0.0009947045473381877, 0.010982876643538475, 0.013186635449528694, 0.024611974135041237, 0.022572698071599007, 0.01804407872259617, 0.010247564874589443, -0.003570837201550603, 0.017575833946466446, 0.024677714332938194, -0.06471370905637741, -0.008826764300465584, -0.03631884977221489, -0.03355511650443077, -0.013469398953020573, 0.007759764324873686, -0.038931671530008316, -0.03692424297332764, -0.05099501460790634, 0.029083143919706345, -0.017108172178268433, -0.016089029610157013, -0.013518910855054855, -0.014729331247508526, 0.03837243840098381, -0.005166585557162762, 0.028464214876294136, -0.039724987000226974, -0.006418510340154171, 0.011753413826227188, 0.023235131055116653, 0.0035695976112037897, 0.02585206925868988, -0.007343078497797251, 0.00915877427905798, 0.03659828379750252, 0.01865176111459732, -0.0014552068896591663, 0.02891659550368786, 0.0049031502567231655, -0.022877078503370285, 0.0014723613858222961, -0.00475866487249732, 0.03748534247279167, 0.02369488589465618, 0.004441477824002504, 0.011812831275165081, -0.03430711850523949, -0.02236129343509674, -0.06244160607457161, -0.010315470397472382, -0.016026731580495834, 0.008992095477879047, -0.04641583934426308, -0.07760035246610641, 0.02100871130824089, 0.049310218542814255, -0.0002772413718048483, 0.01830027811229229, -0.0071807443164289, 0.00822153314948082, -0.0179347675293684, 0.009875395335257053, 0.0652889683842659, -0.05886664614081383, 0.025714406743645668, -0.01864037849009037, 0.015160824172198772, 0.018129298463463783, 0.009219268336892128, -0.08497237414121628, -0.031068654730916023, -0.022334562614560127, -0.012573136948049068, -0.029710419476032257, -0.04472909867763519, -0.0009860986610874534, 0.035952746868133545, -0.027067499235272408, 0.023407217115163803, -0.0040106200613081455, 0.0026324326172471046, -0.016886385157704353, -0.005401225294917822, -0.0027436111122369766, -0.06152878701686859, 0.006928995251655579, 0.04117646813392639, -0.004135854076594114, 0.03114226832985878, -0.02975720353424549, 0.005731460638344288, 0.022991077974438667, -0.013221463188529015, 0.014738572761416435, -0.03676476702094078, 0.017962466925382614, -0.0015887175686657429, 0.046419255435466766, 0.017119519412517548, -0.008782794699072838, -0.01903606578707695, -0.002533127088099718, -0.032506879419088364, 0.03168371319770813, 0.00428536394611001, -0.03542681410908699, 0.026808880269527435, 0.04449598491191864, -0.0006347667658701539, 0.06196282431483269, -0.01938132755458355, 0.01810891553759575, 0.08169136196374893, -0.02555566467344761, -0.012674764730036259, -0.03252058103680611, -0.06168641895055771, 0.020912427455186844, -0.0045537808910012245, 0.030106831341981888, -0.027777032926678658, 0.03617994114756584, 0.031814590096473694, 0.024544641375541687, 0.04671028256416321, -0.019665736705064774, 0.04584251344203949, -0.03655443713068962, 0.0018086046911776066, -0.09945651888847351, -0.000026736637664726004, 0.025379754602909088, 0.024877352640032768, 0.0027842442505061626, -0.03370988368988037, -0.027621755376458168, 0.042051441967487335, -0.054079048335552216, -0.021308189257979393, 0.03724939003586769, 0.0020550263579934835, -0.017915556207299232, -0.00038518739165738225, -0.036253754049539566, 0.01913858950138092, 0.04283984377980232, -0.036441050469875336, -0.011818625032901764, -0.016536349430680275, 0.030403802171349525, 0.023933054879307747, 0.0035351987462490797, -0.003906088415533304, 0.027310244739055634, 0.06504081189632416, 0.0105605348944664, 0.02279258891940117, 0.05939263850450516, 0.0036301363725215197, 0.060895223170518875, 0.023380031809210777, 0.006390157155692577, -0.006792075466364622, 0.04747691750526428, -0.03401796147227287, -0.022575093433260918, 0.04207510128617287, 0.015156233683228493, -0.03548577427864075, -0.05696456506848335, 0.04483085498213768, 0.021590417250990868, -0.022335683926939964, -0.021123850718140602, 0.0347755067050457, -0.05565936490893364, -0.03853969648480415, -0.05196050927042961, 0.007444894406944513, -0.03432939201593399, 0.05535537749528885, -0.013069714419543743, -0.014039230532944202, 0.061874475330114365, 0.00865740142762661, -0.005009475164115429, 0.03224432095885277, 0.07317652553319931, 0.05702506750822067, 0.04701211303472519, 0.013082071207463741, 0.056434158235788345, -0.02544846013188362, -0.040128182619810104, 0.007953330874443054, 0.004468268249183893, -0.016595372930169106, -0.013027018867433071, 0.02268146723508835, 0.06642590463161469, -0.016479119658470154, 0.05993323028087616, -0.04379519447684288, -0.029893700033426285, -0.018686454743146896, 0.009164493530988693, -0.000885171233676374, 0.04032300040125847, 0.008093426004052162, 0.0366126224398613, -0.017120806500315666, -0.027286039665341377, 0.03970798850059509, -0.008675563149154186, -0.013222360983490944, 0.0027089391369372606, -0.0038465308025479317, 0.009558756835758686, 0.03544493392109871, 0.05737217515707016, 0.07900042831897736, -0.03502877429127693, -0.04007518291473389, 0.026706596836447716, 0.002610636642202735, -0.0037036368157714605, -0.009644263423979282, -0.02969278022646904, -0.049889519810676575, -0.015379385091364384, -0.029263485223054886, 0.015058708377182484, 0.00983574241399765, -0.01488793920725584, 0.015078774653375149, -0.030767515301704407, 0.01809297315776348, 0.012938478030264378, 0.002397159580141306, -0.06153010204434395, -0.05867969989776611, -0.029287394136190414, -0.027469098567962646, -0.08259613066911697, 0.013627463951706886, 0.008662967942655087, -0.010429070331156254, -0.013221359811723232, -0.015469769015908241, -0.005039008799940348, -0.015565607696771622, 0.052104394882917404, -0.06329236924648285, -0.04406522959470749, 0.02777642197906971, 0.020997848361730576, 0.019531261175870895, 0.013388286344707012, 0.06644121557474136, -0.02614743448793888, 0.012694311328232288, -0.06558383256196976, -0.0007713786326348782, 0.04218684136867523, 0.03880026564002037, 0.044701192528009415, -0.07054958492517471, -0.006939922925084829, 0.025802915915846825, -0.007236358243972063, -0.06890960782766342, 0.012066848576068878, 0.040305644273757935, -0.016918642446398735, 0.04554624482989311, 0.0017983096186071634, -0.015021040104329586, -0.036935217678546906, -0.00864026416093111, 0.026315828785300255, 0.012579482048749924, 0.039479635655879974, -0.009550766088068485, 0.10523019731044769, 0.0063647013157606125, -0.03484504669904709, -0.03910529986023903, -0.0028056579176336527, -0.01625378243625164, 0.012382798828184605, -0.03615975007414818, -0.03589676320552826, -0.05845986306667328, -0.03966088220477104, -0.010801625438034534, -0.01202635932713747, -0.05663641542196274, -0.024009263142943382, 0.014201509766280651, 0.03404289856553078, -0.0510629266500473, 0.043820664286613464, -0.046990931034088135, 0.01953520067036152, -0.02199496142566204, -0.021557940170168877, 0.028470685705542564, 0.009865805506706238, 0.00709205586463213, 0.00980031955987215, 0.02856292948126793, -0.027263488620519638, 0.010791865177452564, -0.014685005880892277, -0.0019927993416786194, 0.026202872395515442, 0.008582829497754574, 0.004894719924777746 ]
[ -0.093661367893219, -0.03339386731386185, -0.06159137561917305, -0.021764058619737625, 0.012534698471426964, -0.038080938160419464, -0.034479789435863495, 0.050651486963033676, 0.00884740985929966, -0.007494683843106031, -0.008790613152086735, -0.07761222124099731, -0.0008018527296371758, -0.012807058170437813, 0.09901542216539383, -0.01509806327521801, -0.024860085919499397, -0.03192072734236717, -0.06513391435146332, 0.014617882668972015, 0.0330219529569149, -0.026373980566859245, -0.056575436145067215, -0.06640896946191788, 0.034499526023864746, 0.04986124858260155, 0.0432775542140007, -0.05421726033091545, 0.015586590394377708, -0.22374111413955688, 0.0040365117602050304, -0.024130381643772125, 0.05909976735711098, -0.031153718009591103, -0.008982640691101551, 0.049495577812194824, 0.0053479974158108234, 0.010989134199917316, -0.043875910341739655, 0.035837527364492416, 0.04049619287252426, 0.01064374577254057, -0.049066830426454544, -0.056593574583530426, 0.041646186262369156, 0.020740902051329613, -0.009046882390975952, -0.013530594296753407, -0.015046967193484306, 0.00873841904103756, -0.08309993147850037, -0.025490418076515198, -0.00802849791944027, -0.03418360650539398, 0.0024068558122962713, 0.023152505978941917, 0.04950728639960289, 0.07021982967853546, 0.009043700993061066, 0.027472401037812233, 0.006611452903598547, -0.03506515175104141, -0.12212451547384262, 0.06896089017391205, 0.004204805474728346, 0.05561808496713638, -0.006235299166291952, -0.050858814269304276, -0.02057475596666336, 0.0888499990105629, 0.030984068289399147, -0.033081188797950745, -0.004891319666057825, 0.06095857918262482, 0.016812026500701904, -0.006222117692232132, -0.018336601555347443, -0.0026354899164289236, 0.030608221888542175, -0.031226804479956627, -0.04427183046936989, -0.02287382073700428, -0.041448984295129776, 0.004293087404221296, -0.032128702849149704, 0.01973205991089344, 0.0037415882106870413, 0.060059625655412674, 0.026404283940792084, 0.013318909332156181, 0.01928856410086155, -0.00024843396386131644, 0.022332772612571716, 0.021657586097717285, -0.08814861625432968, 0.005882668774574995, -0.004512875806540251, 0.018416771665215492, 0.009600285440683365, 0.4262121021747589, -0.03110550530254841, -0.004587345290929079, 0.053039006888866425, 0.007880982011556625, -0.0064681959338486195, 0.013001544401049614, -0.02128625474870205, -0.03688819333910942, 0.03852544724941254, -0.06021762266755104, 0.008681352250277996, -0.024380769580602646, 0.07189977169036865, -0.060413990169763565, -0.030903156846761703, 0.008974398486316204, 0.03464299067854881, -0.006838163826614618, 0.014251434244215488, 0.018797174096107483, -0.003187782596796751, 0.017449654638767242, 0.01686924137175083, 0.016717247664928436, 0.0366167388856411, 0.018716340884566307, 0.016014836728572845, 0.028585277497768402, 0.04839922487735748, 0.020714865997433662, 0.050844039767980576, -0.027820251882076263, -0.07843950390815735, -0.017290428280830383, -0.003700449364259839, 0.03801918774843216, 0.022614210844039917, -0.01981394924223423, 0.019551066681742668, 0.05113179609179497, -0.016736788675189018, -0.040366508066654205, 0.009984387084841728, -0.005882353987544775, -0.028199799358844757, 0.12813875079154968, -0.009157015942037106, -0.04551689699292183, 0.003723216475918889, -0.0472569577395916, -0.009868219494819641, 0.03430600091814995, 0.0034469023812562227, -0.06313412636518478, 0.024883262813091278, 0.017379535362124443, 0.07042485475540161, -0.007325746119022369, -0.06534633040428162, -0.01675819605588913, -0.03440171852707863, -0.016937123611569405, -0.0544651597738266, 0.0706929862499237, 0.018180154263973236, -0.059683531522750854, 0.0038204167503863573, 0.003061720635741949, 0.008229832164943218, -0.07593640685081482, 0.0027580736204981804, 0.03530591353774071, -0.03138800337910652, 0.013783193193376064, 0.08629213273525238, -0.01977303996682167, -0.025021588429808617, 0.0045558856800198555, 0.030805956572294235, 0.022838367149233818, -0.012345511466264725, 0.024878067895770073, -0.04571313038468361, 0.020091507583856583, -0.036582037806510925, -0.05494992807507515, -0.04337628185749054, -0.01160940807312727, -0.04698147997260094, -0.014830637723207474, -0.016459235921502113, -0.003375610103830695, -0.06894936412572861, 0.07296460121870041, -0.017415806651115417, -0.019298987463116646, 0.010730220004916191, 0.021958332508802414, -0.0158226415514946, 0.0052984836511313915, -0.000016053232684498653, 0.09314252436161041, -0.0027256030589342117, 0.019515834748744965, -0.03400080278515816, 0.04315834492444992, 0.04414506256580353, -0.0587967187166214, 0.06626907736063004, 0.037662964314222336, -0.023180214688181877, -0.03161010146141052, 0.005932198837399483, 0.024229642003774643, -0.018872864544391632, -0.0006064638146199286, -0.0032257705461233854, -0.011949853971600533, -0.0010501558426767588, 0.016587985679507256, -0.014795332215726376, -0.05376388505101204, -0.040668144822120667, -0.3559311330318451, -0.022145047783851624, -0.012405067682266235, -0.039133522659540176, 0.036140330135822296, -0.06418272107839584, -0.007421858608722687, -0.0359630212187767, -0.013429616577923298, 0.010142173618078232, 0.07934805750846863, -0.003386459546163678, -0.02258468233048916, -0.10714633017778397, -0.015421914868056774, 0.02898624911904335, -0.030999470502138138, -0.017879437655210495, -0.0362730510532856, 0.018495896831154823, -0.0015105607453733683, -0.009288755245506763, -0.020204560831189156, -0.052301567047834396, -0.007067505735903978, -0.042120762169361115, 0.10399287194013596, 0.003110594116151333, 0.10917215049266815, -0.051267269998788834, 0.04214710369706154, -0.019864795729517937, -0.005273039452731609, -0.02695370838046074, 0.016163473948836327, -0.021345870569348335, -0.007494126912206411, -0.015354120172560215, 0.046193771064281464, -0.01660485751926899, -0.018772698938846588, 0.010990084148943424, -0.06715171039104462, -0.0340413860976696, -0.040126677602529526, 0.04200514405965805, -0.017436670139431953, -0.036893364042043686, 0.006737108808010817, 0.0853230208158493, 0.007795305456966162, 0.010199052281677723, 0.02636970765888691, 0.02720320038497448, 0.017423288896679878, -0.01066126674413681, -0.062005504965782166, -0.016367536038160324, 0.022494379431009293, -0.013370024971663952, 0.03554810956120491, 0.07237555086612701, 0.040753357112407684, -0.03468555957078934, -0.008085840381681919, 0.021826723590493202, -0.003671126440167427, 0.003305251244455576, 0.02765405736863613, -0.025936774909496307, -0.03021330013871193, 0.08038494735956192, -0.0018782524857670069, 0.03050927072763443, 0.031709376722574234, 0.07013095915317535, 0.011768586002290249, 0.020525429397821426, 0.03380751609802246, 0.032265979796648026, 0.027997050434350967, -0.034292224794626236, 0.023570576682686806, -0.049463022500276566, -0.007933419197797775, 0.03900998458266258, -0.021831918507814407, -0.028726311400532722, 0.03693007305264473, 0.009587266482412815, -0.04123127460479736, 0.01376585103571415, -0.008796212263405323, -0.023199627175927162, 0.048513658344745636, -0.008853832259774208, -0.2593328058719635, 0.04195793345570564, 0.02486230619251728, 0.02268311195075512, -0.010922237299382687, 0.04067148268222809, 0.01652240753173828, -0.07562772929668427, -0.020545974373817444, -0.046970464289188385, 0.014702174812555313, 0.03466838598251343, 0.019750729203224182, 0.0006993828574195504, 0.04148123785853386, -0.026765987277030945, 0.029977256432175636, -0.003543050494045019, 0.05549756437540054, 0.009768986143171787, 0.03356412053108215, 0.013650464825332165, 0.17967577278614044, 0.005110433790832758, 0.015114821493625641, 0.02127848193049431, 0.018048366531729698, -0.0006357120582833886, 0.0834239050745964, 0.028157377615571022, -0.027963237836956978, 0.026188399642705917, 0.08946017920970917, 0.010412915609776974, 0.026251450181007385, -0.07678332924842834, -0.01877879537642002, 0.041017260402441025, 0.026189059019088745, -0.021503468975424767, 0.033719539642333984, -0.00024777036742307246, -0.022004658356308937, 0.015483113005757332, 0.054132718592882156, 0.010701560415327549, 0.029748063534498215, -0.026001732796430588, -0.033420901745557785, -0.023639412596821785, -0.0036008204333484173, -0.004273673519492149, -0.004555914085358381, -0.0008564552990719676, 0.006963933352380991, 0.05997152626514435, -0.00881027802824974, -0.011118666268885136, -0.020342448726296425, -0.011752994731068611, -0.021001314744353294, -0.027968594804406166, 0.08325701951980591, 0.0027890056371688843, 0.03545641526579857 ]
[ -0.03398404270410538, 0.02576422318816185, -0.002008769428357482, 0.00731339305639267, -0.011644834652543068, -0.01881256140768528, 0.03987988457083702, -0.025199903175234795, -0.014064904302358627, -0.028387365862727165, -0.0015352453337982297, 0.022282933816313744, -0.020673127844929695, -0.014338705688714981, -0.012764417566359043, 0.0116786640137434, -0.035413481295108795, 0.038609594106674194, 0.014721428044140339, -0.001430810778401792, 0.0013283255975693464, 0.03391820937395096, 0.021294699981808662, -0.007010294124484062, -0.010462269186973572, 0.04829024150967598, 0.011593354865908623, -0.03188145533204079, 0.030775465071201324, -0.12943989038467407, -0.019070114940404892, -0.03565920889377594, -0.009756768122315407, -0.013308399356901646, -0.05025472864508629, -0.0030178481247276068, -0.01492471806704998, 0.01281183771789074, -0.019730009138584137, 0.003345883684232831, -0.01618250273168087, -0.012761261314153671, -0.012778909876942635, 0.007284692954272032, 0.019519148394465446, -0.03649841994047165, -0.03693055361509323, -0.012280730530619621, 0.011693027801811695, -0.007193207740783691, -0.03770676627755165, 0.020315861329436302, -0.02932605892419815, 0.0060174488462507725, -0.00045565966865979135, -0.03153996169567108, -0.022477997466921806, 0.0010852257255464792, -0.01846107840538025, -0.029686477035284042, -0.004035237245261669, -0.0006556424777954817, -0.026950888335704803, -0.0114882942289114, -0.006298102904111147, 0.002667022170498967, 0.029922137036919594, -0.016440294682979584, -0.021829597651958466, -0.005403443239629269, 0.0035587165039032698, 0.0369584783911705, -0.04113117232918739, -0.015769530087709427, -0.022784115746617317, 0.00852981023490429, 0.03146461024880409, -0.0202267374843359, 0.01913975365459919, 0.050713878124952316, -0.0019211790058761835, -0.007961091585457325, -0.025512615218758583, 0.020176423713564873, -0.035204943269491196, -0.0470462329685688, 0.001034306245855987, 0.02559058554470539, 0.03877081722021103, -0.002731651533395052, -0.02377292327582836, 0.028711382299661636, 0.013558084145188332, 0.024417990818619728, -0.10403280705213547, 0.034068938344717026, -0.002932442817837, 0.03637190908193588, -0.0011302446946501732, 0.8150282502174377, -0.005996041465550661, 0.03270064294338226, 0.05722886323928833, 0.03939565271139145, -0.007125327829271555, -0.0015651627909392118, 0.029944591224193573, 0.01857324317097664, 0.00941521767526865, -0.07369385659694672, 0.013915345072746277, -0.005515608470886946, 0.03413575515151024, -0.007052773609757423, -0.014941615983843803, 0.004328511189669371, 0.06330277770757675, 0.012760751880705357, 0.018394887447357178, -0.007859792560338974, 0.04849761351943016, 0.03354586288332939, 0.03825121372938156, 0.01986377127468586, 0.014864557422697544, -0.15147313475608826, -0.05040987953543663, -6.980526265564302e-33, 0.042963914573192596, -0.022408513352274895, 0.003246018197387457, 0.012955672107636929, 0.031198959797620773, 0.02487865462899208, 0.013866057619452477, 0.03659963607788086, -0.021887844428420067, -0.028618386015295982, 0.0019831752870231867, -0.015578588470816612, 0.0145033597946167, -0.044211551547050476, 0.026071758940815926, -0.026718657463788986, 0.03404837101697922, 0.040840886533260345, 0.0072306422516703606, -0.03187817707657814, 0.02792281284928322, 0.011811264790594578, 0.024030888453125954, 0.02628033049404621, 0.01570798084139824, 0.018676936626434326, 0.018330315127968788, 0.015322561375796795, -0.027570905163884163, -0.05036890506744385, -0.014886141754686832, 0.02866833470761776, -0.02656901441514492, 0.0015548724913969636, 0.04101739451289177, 0.00014079402899369597, -0.002308397088199854, 0.000570337229873985, 0.004932376556098461, -0.021006084978580475, -0.06503409147262573, -0.0003239444922655821, -0.012363883666694164, 0.003079870482906699, -0.003289794083684683, -0.05398811772465706, -0.01641945354640484, 0.031247830018401146, 0.01540360040962696, 0.0445060208439827, -0.013821723870933056, 0.011075619608163834, -0.012345638126134872, 0.028009232133626938, -0.01976318471133709, 0.03587225452065468, 0.017414860427379608, 0.037080343812704086, 0.004709864500910044, 0.024577859789133072, -0.021373337134718895, 0.0023561257403343916, -0.017968278378248215, 0.03516650199890137, -0.0234309621155262, 0.017001627013087273, 0.04403391107916832, 0.017022643238306046, 0.03676162287592888, 0.033651042729616165, -0.03515347093343735, 0.044737040996551514, -0.027176354080438614, 0.0012548223603516817, 0.0008689792011864483, -0.028082454577088356, -0.009907454252243042, -0.019320236518979073, -0.03301699459552765, 0.041126884520053864, 0.04512367770075798, -0.002767643891274929, 0.04391372203826904, -0.009784276597201824, -0.0453433096408844, -0.008702488616108894, 0.04214497655630112, 0.06934887170791626, 0.008975068107247353, -0.028321504592895508, 0.01928417570888996, 0.025602390989661217, 0.009932371787726879, -0.04085462912917137, 0.002970980480313301, 7.102784290205543e-33, -0.014988718554377556, -0.022558478638529778, -0.02371138334274292, 0.005458919331431389, 0.026164982467889786, -0.003929572179913521, 0.05259225144982338, 0.011455938220024109, -0.04486478120088577, 0.020736435428261757, -0.03681253641843796, -0.0011357669718563557, -0.01996643841266632, 0.019696401432156563, 0.05005364120006561, -0.014064501039683819, 0.017545999959111214, 0.0023567809257656336, -0.013472441583871841, 0.01678106002509594, -0.028477177023887634, 0.025795068591833115, -0.0006114950519986451, -0.010297311469912529, 0.033053040504455566, 0.02382473833858967, -0.0007091198349371552, -0.005192660726606846, -0.016337594017386436, 0.001970721408724785, 0.041177794337272644, -0.029611650854349136, 0.007836873643100262, 0.01495604682713747, -0.008728574961423874, 0.005070466082543135, 0.006419070530682802, 0.009938365779817104, 0.0568351075053215, 0.022085944190621376, 0.04777594655752182, -0.01806197687983513, 0.0061644259840250015, 0.03663526475429535, -0.011360246688127518, 0.01471760869026184, 0.004197975620627403, 0.024412238970398903, -0.052337147295475006, -0.02051672898232937, 0.013041899539530277, 0.011947240680456161, -0.040485139936208725, 0.038464225828647614, -0.009551269002258778, 0.005084170028567314, -0.02056710235774517, 0.0104316845536232, -0.015930257737636566, 0.026451092213392258, -0.03521396219730377, -0.02284703589975834, -0.02232062816619873, 0.027986638247966766, -0.024682439863681793, -0.00719618983566761, -0.0139433853328228, -0.04731401056051254, -0.04667842760682106, -0.021969201043248177, -0.033391259610652924, -0.03943683207035065, -0.022477256134152412, 0.026633258908987045, -0.011024712584912777, -0.028051193803548813, -0.0411224365234375, 0.036019016057252884, 0.032311517745256424, 0.023202523589134216, 0.0631413385272026, -0.038572512567043304, 0.034573156386613846, -0.03697490692138672, -0.019498135894536972, -0.0383966825902462, -0.01105126366019249, 0.008459852077066898, -0.01975027099251747, -0.038421452045440674, -0.01159645151346922, -0.010390452109277248, -0.026412375271320343, 0.039781294763088226, 0.06563263386487961, -1.2480034783379779e-8, -0.005796127952635288, 0.01126384362578392, -0.02669048309326172, 0.06083877757191658, 0.029971646144986153, 0.015251602046191692, -0.04588326811790466, -0.03775162994861603, -0.020837964490056038, 0.027536854147911072, 0.007948166690766811, -0.04865742102265358, -0.055944498628377914, 0.03181963413953781, 0.005206828471273184, -0.06347610056400299, 0.01984836906194687, 0.023878226056694984, 0.03251329064369202, 0.019505437463521957, 0.001195587799884379, 0.04174762964248657, -0.005694278981536627, -0.04568418115377426, -0.009957010857760906, -0.034692537039518356, 0.014784188941121101, -0.05288892984390259, 0.018271364271640778, -0.0218669306486845, -0.025737134739756584, -0.012528537772595882, -0.04680405184626579, 0.03264240920543671, -0.04849785938858986, -0.018278641626238823, -0.009334986098110676, -0.009169730357825756, 0.012212648056447506, 0.023281322792172432, -0.007195575628429651, 0.01678389310836792, -0.02648438885807991, -0.01737559773027897, 0.0029486094135791063, -0.009311961010098457, -0.012230501510202885, -0.01928911730647087, 0.030721640214323997, -0.024497322738170624, 0.004850001540035009, -0.01115802489221096, 0.03823484107851982, -0.0012399123515933752, 0.017180128023028374, -0.0058644493110477924, 0.043735433369874954, -0.025424649938941002, -0.06802759319543839, 0.05538134276866913, 0.022794993594288826, -0.01775210164487362, -0.026743287220597267, -0.030001407489180565 ]
coding-dojo-22-scala-lamdaj-project-euler
https://markhneedham.com/blog/2009/09/04/coding-dojo-22-scala-lamdaj-project-euler
false
2009-09-05 16:12:32
Book Club: Promiscuous Pairing & Beginner's Mind (Arlo Belshee)
[ "pair-programming", "book-club" ]
[ "Book Club" ]
In this weeks book club we discussed Arlo Belshee's paper 'http://mitchlacey.com/docs/XR4PromiscuousPairingandBeginnersMind.pdf[Promiscuous Pairing and Beginner's Mind]' where he presents the idea of rotating pairs more frequently than we might usually, suggesting that the optimal rotation time is 90 minutes. I remember coming across the idea of promiscuous pairing a couple of years ago but I hadn't read the paper all the way through and so far haven't worked on a team where we've really tried out his ideas. These are some of my thoughts and our discussion of the paper: + * I found the section of the paper where he talks about skills and competencies quite interesting - the suggestion seems to be that for any given task the *least skilled person for that task should be the one to do it* but that the person should still have the necessary competency to execute it. I'm not entirely sure of the distinction between skills and competencies - Belshee suggests: + ____ The difference is simple. People can learn skills in a matter of months. People can't learn competencies in less than several years. There aren't many things that fall between -- qualifications are almost always skills or competencies. ____ + Software development wise this would suggest that a skill such as object orientation would be more likely to be a competency but what about a specific programming language? It is possible to learn your way around a language to the point where you can do some productive things with it relatively quickly but for me at least there are still things I don't know about in the languages I work with and I've used some of them for a few years now. * There is a nice quote from the paper when discussing the idea of giving tasks to the least qualified person, that '*the least qualified teams produced the code that had the fewest surprises*' - I imagine this is probably down to the fact that the least qualified person probably doesn't yet know how to do clever things with a language so they just do the most http://www.markhneedham.com/blog/2009/03/18/coding-make-it-obvious/[obvious implementation]. I think this is certainly what we want to happen when a team is working on code together. * I liked the discussion of http://www.markhneedham.com/blog/2009/08/12/zen-mind-beginners-mind-book-review/[beginner's mind] where he talks about it being *a transitionary state that we move into when are in a situation that is unfamiliar but near the limits of our comfort zone and that we will move out of once we are comfortable with the current situation*. It seems like this state of mind links quite closely with the idea of deliberate practice that Geoff Colvin talks about in 'http://www.markhneedham.com/blog/2008/12/29/talent-is-overrated-book-review/[Talent is Overrated]' - the idea being that in order to improve most effectively we need to be doing activities which are just beyond our current competence. * I've frequently noticed that people are reluctant to swap pairs until they have finished the story that they're working on - Matt Dunn pointed out that this is probably linked to human's natural desire to finish what they've started! Belshee seems to get around this problem by ensuring that the tasks being worked on are sufficiently small in size that they can be completed within one or two pairing sessions. A lot of the work that we do is integrating different systems where there is quite a bit of exploratory work to find out what we actually need to do first - it would be interesting to see if quicker rotations would be appropriate for this type of work or whether a lot of time would be spent bringing the new person on the pair up to speed with what's going on. * We had some discussion on pair programming in general - Raphael Speyer described the idea of '*promiscuous keyboarding*' as an approach to try within a single pair. The idea is that the keyboard switches between each person every minute which hopefully leads to both people being more engaged. I find that quite often on teams people will roll in and out of pairs when there help is needed on something - Nic Snoek described this as being '*guerilla pairing*' and I think it is something that a technical lead of a team is most likely to engage in as they move around the room helping people out. I often feel that pair programming is a skill that we take for granted and we assume that we can just put two people together and they'll be able to work together effectively. From what I've found this doesn't always work out so I think it's important to keep innovating and trying out different things in this area so that we can find approaches that allow us to work better together. _Update_ As Dave suggests it should be 'guerilla' and not 'gorilla' pairing that Nic suggested as being a useful idea.
null
null
[ 0.011573796160519123, 0.021658964455127716, -0.014386625960469246, 0.035223569720983505, 0.07627233117818832, 0.01847101002931595, 0.03481213375926018, 0.033599670976400375, 0.02235448732972145, -0.023875316604971886, -0.02003532275557518, 0.0011256355792284012, -0.05303876847028732, -0.002435437636449933, -0.04354775324463844, 0.07004207372665405, 0.07236480712890625, -0.003024585545063019, 0.002798530040308833, -0.000703474273905158, 0.039610642939805984, 0.0776459127664566, 0.02554977871477604, 0.028316201642155647, 0.03936047479510307, 0.020537231117486954, 0.0009473901009187102, -0.004264065995812416, -0.037251800298690796, -0.009180600754916668, 0.031136920675635338, -0.022787226364016533, 0.008480718359351158, -0.01109490729868412, 0.007899741642177105, -0.028035955503582954, -0.02002079412341118, 0.02568143419921398, 0.017324581742286682, 0.004216673783957958, -0.0679856389760971, 0.04789910092949867, 0.0014072625199332833, 0.0030055218376219273, -0.054451361298561096, 0.0024210638366639614, -0.044092632830142975, 0.012230245396494865, 0.013526307418942451, -0.01625501736998558, -0.06927865743637085, 0.031244920566678047, 0.005494333803653717, 0.010527833364903927, -0.014779292047023773, 0.05218738317489624, 0.03099760226905346, -0.042694929987192154, 0.018059615045785904, -0.04464179649949074, -0.01351915579289198, -0.003344195196405053, 0.0028946404345333576, 0.041884467005729675, 0.046324584633111954, -0.023396272212266922, 0.009490939788520336, 0.02848944626748562, -0.03641583397984505, 0.006333943456411362, -0.02115206979215145, 0.014702943153679371, -0.01561779621988535, -0.01753220148384571, -0.0011957638198509812, -0.060144778341054916, 0.008020118810236454, 0.06987953186035156, 0.022451549768447876, 0.035841938108205795, -0.005472445860505104, 0.034156423062086105, 0.002768361708149314, 0.0294265765696764, -0.015877120196819305, -0.03206635266542435, -0.007874530740082264, -0.028642915189266205, -0.07312990725040436, 0.06344906240701675, -0.004393820650875568, -0.05111006647348404, 0.02589740790426731, 0.0337497740983963, 0.00852041132748127, 0.02652168460190296, 0.03246322274208069, 0.029240988194942474, -0.018190773203969002, -0.023875538259744644, -0.015958581119775772, -0.03285127133131027, 0.014276153407990932, -0.004338637460023165, -0.07848367840051651, 0.002915630815550685, -0.016716932877898216, -0.013844920322299004, 0.006128455977886915, 0.023146266117691994, -0.029624618589878082, 0.012364028953015804, -0.014069216325879097, 0.016674013808369637, -0.08641994744539261, 0.07630140334367752, 0.012996655888855457, -0.015440930612385273, -0.019033391028642654, -0.012513929978013039, 0.03766897693276405, 0.049914292991161346, -0.00589545676484704, 0.0861731767654419, 0.00689807441085577, 0.04099249839782715, -0.02257756143808365, 0.050609711557626724, -0.012952822260558605, -0.06419473886489868, -0.005846548359841108, 0.04944518208503723, -0.04212968796491623, 0.00961395539343357, -0.0011730254627764225, -0.02774243988096714, -0.0021673019509762526, 0.018501553684473038, 0.02444521151483059, 0.061466801911592484, -0.012275591492652893, -0.0440358966588974, 0.030155114829540253, 0.00812507700175047, 0.010011356323957443, -0.01634129136800766, -0.006543234456330538, -0.021204927936196327, -0.03241391107439995, -0.013802841305732727, 0.01135481521487236, 0.014163815416395664, 0.01622370257973671, -0.03958423435688019, 0.03340236842632294, 0.07542403787374496, 0.0351666659116745, 0.02656925655901432, -0.017213061451911926, 0.02718377858400345, 0.023703977465629578, 0.02568811923265457, 0.00017034429765772074, 0.019376017153263092, 0.012952624820172787, -0.0302567258477211, -0.005501784384250641, 0.03825807198882103, -0.009692465886473656, 0.023974953219294548, -0.05195660889148712, -0.006241837050765753, 0.052814170718193054, -0.06556186825037003, -0.03834589570760727, 0.034449171274900436, 0.06177342310547829, 0.023300545290112495, 0.04024166986346245, -0.002755901077762246, -0.08091655373573303, 0.030724866315722466, 0.02065642736852169, 0.014065713621675968, 0.016647880896925926, -0.029026001691818237, 0.056639980524778366, 0.034775953739881516, -0.007545056287199259, 0.05272475257515907, -0.07799113541841507, -0.07714282721281052, -0.006029750220477581, -0.035552192479372025, 0.07231304049491882, -0.03948003053665161, 0.025923268869519234, 0.07818739861249924, 0.02150564268231392, 0.03922237455844879, 0.03407338261604309, 0.00690894341096282, 0.004749953746795654, -0.015798987820744514, -0.040040865540504456, 0.06714604794979095, 0.03555694594979286, 0.0011213566176593304, -0.034864917397499084, 0.004079041071236134, -0.005672077648341656, -0.010982702486217022, 0.040489986538887024, -0.021541398018598557, 0.022861704230308533, 0.018255943432450294, 0.04923521727323532, -0.026893580332398415, 0.05893591791391373, -0.0471976175904274, 0.007113261613994837, 0.005883267614990473, -0.014007717370986938, 0.021141327917575836, -0.010841992683708668, 0.11795836687088013, 0.06768222153186798, -0.057488538324832916, -0.039114996790885925, 0.0486755333840847, 0.02485286258161068, -0.03904582932591438, 0.004909039940685034, 0.001511777169071138, 0.004472244530916214, 0.003724378766492009, -0.06548262387514114, -0.04598207026720047, 0.027636690065264702, -0.043965328484773636, 0.008838724344968796, 0.06690157949924469, -0.022563062608242035, 0.06478704512119293, -0.007181703113019466, -0.006707165855914354, -0.021441388875246048, -0.0005582677549682558, -0.032656051218509674, 0.008704042062163353, -0.0029980470426380634, -0.007988748140633106, 0.03726178780198097, -0.005249904468655586, -0.025893855839967728, -0.045316435396671295, -0.02512986771762371, 0.00485382042825222, 0.07735089212656021, 0.05084531009197235, -0.0039344592951238155, 0.07959787547588348, -0.006996029056608677, 0.03179016336798668, -0.005167713854461908, -0.05877384915947914, -0.03913202881813049, -0.0460481196641922, 0.006616176571696997, 0.022660139948129654, 0.011403612792491913, 0.029649579897522926, 0.017435826361179352, 0.007119357585906982, -0.02727493830025196, -0.0037163079250603914, 0.031197763979434967, -0.016657259315252304, -0.021158700808882713, -0.028154991567134857, -0.025343818590044975, 0.052577778697013855, -0.04310857504606247, -0.011049123480916023, -0.00507020577788353, -0.06348790973424911, 0.041383229196071625, -0.06024990230798721, -0.04177691414952278, -0.013151231221854687, 0.011350732296705246, 0.041522759944200516, 0.020131222903728485, 0.009149152785539627, 0.06753149628639221, 0.01280724722892046, 0.012365835718810558, -0.018153967335820198, 0.001898155896924436, 0.03408210724592209, 0.021587803959846497, 0.006512300577014685, 0.0259101539850235, -0.0083320876583457, 0.0019643392879515886, -0.03260062634944916, 0.04946806654334068, -0.020178355276584625, -0.29994454979896545, 0.0302518792450428, -0.0061406767927110195, -0.039436064660549164, 0.004375858698040247, -0.027944382280111313, 0.010103377513587475, -0.04991801828145981, -0.01937376707792282, 0.02051195688545704, -0.03756009414792061, -0.04015001654624939, -0.02260405384004116, 0.06452717632055283, 0.01485350914299488, 0.024989744648337364, 0.01629282906651497, -0.04682684317231178, -0.0022891464177519083, 0.062079522758722305, -0.02394106239080429, -0.07125525176525116, -0.01626354083418846, 0.027785854414105415, 0.03722122311592102, 0.05046467110514641, -0.08537136763334274, 0.018211431801319122, -0.05918174609541893, -0.014472253620624542, -0.010259726084768772, 0.010806923732161522, 0.029332049190998077, -0.014487529173493385, 0.002249254146590829, -0.02501067891716957, 0.03792150691151619, 0.003604516386985779, -0.005320411175489426, 0.026990460231900215, -0.033933091908693314, -0.030957845970988274, -0.013543561100959778, 0.013061032630503178, 0.07766416668891907, -0.001412434270605445, -0.07588544487953186, -0.01793949492275715, -0.019416050985455513, 0.0721331313252449, -0.043505407869815826, -0.03953655809164047, 0.004576204344630241, 0.04521194100379944, -0.015085223130881786, -0.022024931386113167, 0.0008156802505254745, -0.01869114115834236, -0.03413822874426842, -0.026473425328731537, -0.015749234706163406, -0.027365731075406075, -0.004717269446700811, -0.04290292039513588, -0.014051889069378376, -0.058225564658641815, -0.0680825263261795, -0.010223562829196453, 0.07094500213861465, 0.01366137433797121, -0.0454106479883194, 0.02135876566171646, -0.015122992917895317, -0.09694366157054901, -0.0025965902023017406, 0.0009262205567210913, -0.021985460072755814, 0.00039424464921467006, 0.012765590101480484, 0.060608431696891785, -0.0178005862981081, -0.05907704681158066, 0.023579519242048264, 0.010692371986806393, 0.04235814884305, -0.013691868633031845, 0.029898500069975853, 0.013148990459740162, -0.014574309810996056, -0.006610294338315725, 0.06751201301813126, 0.02051684446632862, -0.019539833068847656, 0.0011459728702902794, 0.03212099149823189, 0.0120026133954525, 0.007112298626452684, -0.012774614617228508, 0.0014236344723030925, 0.027713794261217117, -0.0055657424964010715, -0.06666076928377151, 0.02255140244960785, -0.009046642109751701, -0.012143537402153015, -0.02721860073506832, -0.041526276618242264, 0.014677943661808968, 0.0573519691824913, 0.024007566273212433, 0.0011225845664739609, -0.01985827088356018, 0.01858469285070896, -0.027536388486623764, -0.02469361014664173, -0.037427641451358795, 0.01336756069213152, 0.049613021314144135, -0.022935379296541214, 0.004870299249887466, -0.06773199886083603, 0.022165438160300255, -0.023472405970096588, -0.0028291051276028156, -0.06726668775081635, -0.020279811695218086, -0.02400239184498787, -0.04370614513754845, -0.002508362289518118, 0.01868935115635395, -0.02044268511235714, 0.048929449170827866, 0.01865328475832939, -0.04940333217382431, 0.016702279448509216, -0.023148715496063232, -0.06057173013687134, -0.03521597385406494, -0.008567561395466328, -0.012648707255721092, 0.01044418103992939, 0.015966715291142464, 0.0004284261667635292, 0.031073452904820442, 0.043273281306028366, 0.014931031502783298, 0.02152765356004238, -0.032113198190927505, 0.01534606795758009, 0.011798466555774212, 0.008450738154351711, -0.06660015136003494, 0.011455491185188293, -0.0338553786277771, -0.03120039962232113, -0.038164496421813965, 0.027853334322571754, 0.010127360001206398, -0.030693382024765015, -0.004779404029250145, 0.017969949170947075, -0.055144261568784714, -0.04612487927079201, -0.03954296559095383, 0.05862727388739586, 0.08010559529066086, -0.026397718116641045, 0.024611148983240128, -0.016948170959949493, -0.010372187942266464, -0.011365744285285473, 0.0034602254163473845, -0.04626211151480675, -0.015815936028957367, -0.00689257076010108, 0.0028776226099580526, 0.011699059046804905, -0.0078012458980083466, 0.03780008852481842, -0.0016788776265457273, -0.004936856683343649, -0.03467823937535286, 0.006771196611225605, 0.009284432977437973, 0.045822370797395706, 0.014828599989414215, 0.012662322260439396, -0.031291332095861435, -0.03618691489100456, -0.019313763827085495, -0.03957752510905266, -0.019665464758872986, 0.0011379704810678959, 0.03771781548857689, -0.04589512199163437, -0.058751754462718964, 0.029022835195064545, 0.030823664739727974, -0.0013802247121930122, 0.01345507986843586, -0.008952300064265728, -0.006036470178514719, -0.022737592458724976, 0.016998188570141792, 0.06687509268522263, -0.07804431021213531, 0.006568675860762596, -0.013986660167574883, -0.00011091197666246444, 0.0004096147895324975, -0.006318638101220131, -0.028093960136175156, 0.00594015559181571, -0.02946167252957821, 0.008515317924320698, -0.055309295654296875, -0.019881458953022957, -0.023483822122216225, -0.0005639058072119951, 0.0069760424084961414, -0.025234973058104515, -0.00829403568059206, -0.011212493292987347, -0.023714233189821243, -0.020866038277745247, 0.020932983607053757, -0.034084927290678024, 0.007881509140133858, 0.01951930858194828, -0.03875778615474701, -0.002846864517778158, -0.03814826160669327, 0.015265376307070255, 0.013590836897492409, -0.04189281165599823, -0.020647747442126274, -0.027191264554858208, -0.002607617760077119, 0.020797329023480415, 0.04162390157580376, 0.002277630614116788, -0.04153119772672653, -0.03985769674181938, -0.0025036197621375322, -0.044619120657444, 0.018742483109235764, -0.004679946694523096, -0.015634790062904358, 0.028094887733459473, 0.062457893043756485, 0.03271952643990517, 0.015156511217355728, -0.014325790107250214, -0.01337208691984415, 0.0469127893447876, -0.03268173709511757, -0.029477691277861595, -0.014428243041038513, -0.054403968155384064, -0.006772646680474281, 0.006549959536641836, 0.02496250532567501, -0.04776398465037346, 0.04164163023233414, 0.01978062279522419, 0.04148825630545616, 0.0405084490776062, -0.007854900322854519, 0.027666591107845306, -0.06274746358394623, 0.00930777471512556, -0.08902487903833389, -0.016162432730197906, 0.03627873584628105, 0.022125964984297752, -0.001408435171470046, -0.006381260696798563, -0.031236376613378525, 0.04810241237282753, -0.07564796507358551, -0.012248408980667591, 0.04413852095603943, -0.0060897222720086575, -0.009620186872780323, 0.003723842091858387, -0.07416579127311707, 0.013323754072189331, 0.018735934048891068, -0.04276927933096886, -0.028934212401509285, -0.019432010129094124, 0.04312123358249664, 0.0022364258766174316, 0.03932494297623634, -0.0276058167219162, 0.0024790787138044834, 0.0736585482954979, 0.016002947464585304, -0.0029820073395967484, 0.04302365332841873, -0.00733170285820961, 0.03742975369095802, 0.03847196325659752, 0.004497632849961519, -0.023092985153198242, 0.014760471880435944, -0.0036988675128668547, -0.05302664637565613, 0.03601966053247452, -0.004129552282392979, -0.03698597848415375, -0.035802699625492096, 0.059050995856523514, 0.005290876142680645, -0.036071039736270905, -0.060881808400154114, 0.024008871987462044, -0.05027595907449722, 0.0038694110698997974, -0.013467136770486832, -0.012034719809889793, -0.0415705107152462, 0.03378504887223244, -0.0008977167890407145, 0.006031137425452471, 0.0799763947725296, 0.0022300437558442354, -0.046434562653303146, -0.02162357047200203, 0.1019291952252388, 0.08396554738283157, 0.061459146440029144, 0.00857421476393938, 0.07875427603721619, -0.021559588611125946, -0.03977847471833229, 0.025196004658937454, -0.015502887777984142, -0.011344955302774906, -0.01953750103712082, 0.03907008841633797, 0.07367276400327682, -0.007071920670568943, 0.058884456753730774, -0.02371114119887352, -0.0233036819845438, 0.0009215931640937924, 0.03700929507613182, 0.013853272423148155, 0.08684353530406952, 0.017515620216727257, 0.02222101017832756, -0.02195127122104168, -0.03624929115176201, 0.026810837909579277, -0.03693718463182449, -0.003123186295852065, 0.02096891775727272, -0.013788389973342419, 0.02015065774321556, 0.015774648636579514, 0.022379739210009575, 0.07878785580396652, -0.03761187195777893, -0.0009070324013009667, -0.016646558418869972, 0.024716287851333618, -0.018533362075686455, 0.019409114494919777, -0.023454012349247932, -0.018336540088057518, -0.0172501802444458, -0.03332606330513954, -0.024458767846226692, -0.018895220011472702, -0.012727505527436733, 0.042095839977264404, -0.027313103899359703, 0.012340904213488102, 0.00773261021822691, 0.016227511689066887, -0.044826868921518326, -0.06437022984027863, -0.02600855752825737, -0.047460686415433884, -0.04567650333046913, -0.017533330246806145, 0.01880917139351368, 0.015036852099001408, -0.025291388854384422, -0.01200917363166809, -0.005733953323215246, -0.03240217640995979, 0.04327448830008507, -0.0652206614613533, -0.02792510762810707, 0.012941342778503895, 0.028184503316879272, 0.03672640770673752, 0.024497799575328827, 0.053039610385894775, -0.02054397016763687, -0.00021673236915376037, -0.016428977251052856, -0.00841545220464468, 0.014465593732893467, 0.012788347899913788, 0.011658814735710621, -0.08914641290903091, 0.006143732462078333, 0.02491852641105652, -0.010755462571978569, -0.07395908236503601, 0.0253441259264946, 0.028711382299661636, 0.020071079954504967, 0.04964761808514595, -0.01717146672308445, 0.011418664827942848, -0.03921378403902054, -0.0017057291697710752, -0.01892864517867565, 0.008579941466450691, 0.05340941622853279, -0.01824726164340973, 0.09206878393888474, 0.0023755121510475874, -0.021812165156006813, -0.047363683581352234, -0.021176135167479515, 0.013040071353316307, -0.0004600730026140809, -0.020837200805544853, -0.029675515368580818, -0.014284507371485233, -0.08361354470252991, -0.018155917525291443, 0.018953097984194756, -0.03257962688803673, -0.03600276634097099, 0.042477868497371674, 0.012991746887564659, -0.0210930947214365, 0.025381263345479965, -0.039895541965961456, 0.03152928128838539, -0.016211362555623055, 0.006313391495496035, 0.009232801385223866, -0.010461626574397087, -0.020863287150859833, -0.01472371257841587, 0.019771723076701164, -0.050216153264045715, -0.013957418501377106, -0.0010929683921858668, 0.030597414821386337, 0.04766497015953064, 0.005616690032184124, 0.001583914621733129 ]
[ -0.11268319189548492, 0.004312652628868818, -0.03544832766056061, -0.04801657050848007, 0.014207935892045498, -0.00953300017863512, -0.026790883392095566, 0.009600110352039337, 0.0023153824731707573, -0.03858519345521927, 0.0007025008089840412, -0.013638435862958431, 0.009175189770758152, -0.009756689891219139, 0.07903195172548294, 0.01097576692700386, -0.0010909547563642263, -0.06347674131393433, 0.008920513093471527, 0.016255754977464676, 0.019136415794491768, -0.05014098808169365, -0.05014101788401604, -0.023739205673336983, 0.011636251583695412, 0.03215693309903145, 0.020630264654755592, -0.06713468581438065, 0.016575772315263748, -0.1825852394104004, 0.0007997470675036311, 0.028552323579788208, 0.05405402183532715, -0.0076881586574018, -0.013497725129127502, 0.0630890429019928, 0.011602388694882393, 0.012540495954453945, -0.010321236215531826, 0.023417308926582336, 0.012181208468973637, -0.0015720513183623552, -0.040333375334739685, -0.025404561311006546, 0.0348966121673584, 0.014857741072773933, -0.022025903686881065, -0.04650607705116272, -0.03596699982881546, 0.010924223810434341, -0.07916367799043655, -0.05771421268582344, -0.017897391691803932, -0.02430620975792408, 0.0012847335310652852, 0.044284991919994354, 0.03695539012551308, 0.06139756739139557, -0.01813928224146366, 0.02989436499774456, 0.00507561257109046, -0.011194953694939613, -0.13698314130306244, 0.0837317556142807, 0.0319722443819046, 0.054931700229644775, -0.03636806085705757, -0.02576196938753128, -0.016519300639629364, 0.06809575855731964, 0.02584114670753479, -0.020386775955557823, -0.017666833475232124, 0.03242311254143715, 0.023456061258912086, 0.009998789988458157, -0.01870180107653141, 0.005831365939229727, 0.04018735513091087, -0.03347121924161911, -0.024361833930015564, -0.010799453593790531, -0.00536897499114275, -0.003749829949811101, -0.03657873347401619, 0.029438761994242668, -0.010460011661052704, 0.03710426017642021, 0.020853949710726738, 0.012624752707779408, 0.03386373817920685, -0.00865340605378151, 0.011481980793178082, 0.005745382513850927, -0.0777406096458435, -0.014009390026330948, 0.008116846904158592, 0.014179586432874203, -0.05738947540521622, 0.45860132575035095, -0.03359980508685112, -0.020528022199869156, 0.09068828821182251, 0.021675031632184982, -0.007831009104847908, 0.006181968376040459, 0.01850237138569355, -0.06914874166250229, 0.0319463312625885, -0.031262580305337906, 0.014564448967576027, 0.016643183305859566, 0.04837515577673912, -0.036746714264154434, 0.015669813379645348, 0.06419975310564041, 0.029931126162409782, 0.012584510259330273, 0.010765847750008106, -0.0012428639456629753, -0.002327902941033244, 0.012071273289620876, 0.011788980104029179, 0.008845128118991852, -0.025732876732945442, -0.060513488948345184, -0.0020337619353085756, 0.05611857771873474, 0.03382429480552673, 0.012309382669627666, 0.09723037481307983, -0.037560414522886276, -0.028240062296390533, -0.008648587390780449, -0.0065614148043096066, 0.01335268747061491, 0.026638058945536613, -0.02194950543344021, 0.0040324777364730835, 0.026545559987425804, 0.013461096212267876, -0.032926641404628754, 0.04496242105960846, -0.020309263840317726, -0.01720753125846386, 0.12575380504131317, 0.014431768096983433, -0.023256314918398857, 0.007224345579743385, -0.007978787645697594, -0.009077579714357853, 0.017705507576465607, 0.0027136236894875765, -0.06186568737030029, 0.024893304333090782, -0.01170025672763586, 0.11871792376041412, -0.016024792566895485, -0.06733851134777069, -0.0030052862130105495, -0.024923913180828094, -0.009408070705831051, -0.06148068979382515, 0.034631215035915375, 0.0883132815361023, -0.09785275161266327, -0.0069048041477799416, 0.007210007403045893, 0.012322851456701756, -0.06468356400728226, 0.010110246017575264, 0.01166060846298933, -0.037072669714689255, 0.017048830166459084, 0.05288604646921158, -0.01805010437965393, -0.037555254995822906, 0.008184674195945263, 0.06415420770645142, 0.029205285012722015, 0.02916560508310795, 0.017557311803102493, -0.025364398956298828, 0.004950731992721558, -0.036738939583301544, -0.058765724301338196, -0.03834982216358185, -0.0268428735435009, -0.01952817477285862, -0.007997149601578712, -0.02652544155716896, -0.00592708308249712, -0.08351936936378479, 0.09019168466329575, -0.027641216292977333, -0.029896480962634087, 0.042512115091085434, -0.03422462195158005, -0.04242389649152756, -0.013884877786040306, -0.09429187327623367, 0.025977643206715584, -0.03525794297456741, 0.03699997812509537, -0.04833349585533142, 0.024747954681515694, 0.0676518976688385, -0.0522797517478466, 0.11261537671089172, 0.05978825315833092, -0.018641265109181404, -0.06920105963945389, 0.004456305410712957, 0.006204144563525915, 0.0046181511133909225, -0.012736642733216286, 0.003726161550730467, 0.03556857258081436, 0.004624020773917437, 0.0219339020550251, -0.021842515096068382, 0.01613604836165905, -0.001611391780897975, -0.3345661759376526, -0.015593163669109344, -0.017072463408112526, -0.0071630654856562614, 0.0304302629083395, -0.04753786697983742, 0.012200011871755123, -0.005324974190443754, -0.03572797030210495, 0.009647933766245842, 0.07186506688594818, -0.0017938659293577075, 0.0069220708683133125, -0.08465907722711563, -0.00019182682444807142, 0.010520054958760738, -0.03363822400569916, -0.01003726851195097, -0.010503623634576797, 0.017576172947883606, 0.020599396899342537, 0.013268504291772842, -0.030331145972013474, -0.0482993945479393, -0.025090890005230904, -0.05928974971175194, 0.08570482581853867, -0.00599857559427619, 0.08910045027732849, -0.04235978052020073, 0.035455372184515, 0.01632128655910492, 0.01825115643441677, -0.09411095827817917, 0.03029322437942028, -0.003983622882515192, 0.010059095919132233, -0.07247369736433029, 0.042915187776088715, -0.0326557531952858, -0.0525381825864315, 0.01600881852209568, -0.046062543988227844, -0.027487263083457947, -0.10101980715990067, 0.013933171518146992, -0.021866844967007637, -0.03203669562935829, -0.02460230141878128, 0.07208024710416794, 0.022624483332037926, 0.0011762769427150488, 0.014718803577125072, -0.014399402774870396, -0.028783515095710754, -0.02358819916844368, -0.09620141237974167, 0.022078728303313255, -0.012132667005062103, 0.003691905876621604, 0.042406994849443436, 0.06438954919576645, 0.027431732043623924, -0.0517532043159008, 0.0015187705866992474, -0.0010437590535730124, -0.008377226069569588, -0.0021556089632213116, 0.03400786593556404, -0.0026330866385251284, -0.005447932984679937, 0.08076746761798859, 0.005105264950543642, -0.019627681002020836, 0.01425889227539301, 0.026830673217773438, -0.00917869247496128, 0.020879244431853294, 0.02599642612040043, -0.021643860265612602, 0.03285331279039383, -0.03337685018777847, 0.01812019571661949, -0.036006584763526917, 0.0069984192959964275, 0.015945978462696075, 0.003191338386386633, -0.032679297029972076, 0.060086388140916824, 0.042621318250894547, -0.03170345723628998, 0.007141280919313431, -0.009538176469504833, -0.024972617626190186, 0.05946279317140579, 0.0006760124233551323, -0.25753769278526306, 0.016658999025821686, 0.06184686720371246, 0.03459494560956955, 0.0044897617772221565, 0.01819302700459957, 0.03116464987397194, -0.06508704274892807, -0.013759107328951359, 0.01917858049273491, 0.04780380427837372, 0.002457063877955079, -0.014660702086985111, -0.0025594045873731375, 0.027375131845474243, 0.00033705911482684314, 0.05275504291057587, -0.015285798348486423, 0.01821490190923214, 0.0067857722751796246, 0.015224592760205269, 0.01603724993765354, 0.15783287584781647, -0.005996543914079666, 0.05471605435013771, 0.0008043592097237706, 0.0007917177863419056, 0.0072241914458572865, 0.06856667995452881, -0.01043911837041378, 0.006411250680685043, 0.01636984571814537, 0.030478399246931076, 0.010095065459609032, 0.0046628848649561405, -0.03391329571604729, -0.034411974251270294, 0.015975255519151688, 0.0349300354719162, 0.0032444968819618225, 0.009464307688176632, -0.007251861039549112, -0.01808132976293564, -0.0022104443050920963, 0.05850927531719208, 0.02737085334956646, 0.010220086202025414, -0.04666237160563469, -0.05219076946377754, -0.006702503189444542, -0.0427282452583313, -0.03657936304807663, 0.012356319464743137, -0.004601292312145233, 0.012325999327003956, 0.05039690062403679, 0.03585338220000267, -0.0367455892264843, -0.015692569315433502, 0.00021988186927046627, -0.00930370856076479, -0.017443822696805, 0.10788112133741379, 0.06600800901651382, 0.028198501095175743 ]
[ -0.01505964994430542, 0.009264741092920303, -0.04352812096476555, -0.03860477730631828, -0.025704389438033104, 0.04269048199057579, -0.006696040276437998, 0.0012684728717431426, -0.01579606905579567, 0.020087892189621925, -0.003035244531929493, 0.03871949017047882, 0.027449943125247955, -0.011486404575407505, 0.005025582388043404, -0.0017882026731967926, -0.02231699787080288, -0.019152989611029625, 0.033842336386442184, -0.006606743671000004, -0.039827730506658554, -0.010493469424545765, -0.034828994423151016, -0.006212323438376188, -0.020803729072213173, -0.0024901002179831266, 0.004375020042061806, -0.017205502837896347, 0.02652825228869915, -0.12437400966882706, 0.0011237016879022121, -0.007784541230648756, 0.012021064758300781, 0.02029258757829666, -0.01116198394447565, -0.0017099588876590133, 0.010888959281146526, 0.00046990130795165896, -0.017351340502500534, -0.021258685737848282, 0.0028188377618789673, -0.01794739067554474, -0.007498446851968765, 0.006392915733158588, 0.005516412202268839, 0.0309109129011631, 0.012826652266085148, -0.03738727048039436, -0.029650166630744934, -0.006815905682742596, -0.050890013575553894, -0.0198706965893507, -0.023306628689169884, 0.019651295617222786, 0.012146425433456898, 0.009346087463200092, 0.0049057467840611935, -0.03729011490941048, 0.005498603451997042, -0.019658390432596207, 0.013131323270499706, 0.004168843384832144, -0.05187872052192688, -0.02080296166241169, -0.046992022544145584, -0.02167888544499874, -0.01949315145611763, 0.00823715515434742, -0.020178020000457764, -0.0009441812871955335, -0.026649046689271927, 0.024225696921348572, -0.03666089475154877, -0.014286723919212818, 0.020294005051255226, -0.013235528022050858, 0.0022807063069194555, -0.05255112051963806, 0.02379797212779522, -0.03940316662192345, -0.0492803193628788, 0.01122561190277338, 0.010848050005733967, 0.0176258385181427, 0.014365523122251034, -0.03864021226763725, 0.014546724036335945, -0.0052532171830534935, 0.034604836255311966, -0.009707629680633545, 0.00897201057523489, 0.043049201369285583, -0.008986552245914936, -0.0015925813931971788, -0.08057252317667007, 0.034317512065172195, -0.013745489530265331, -0.01888633519411087, -0.004839596804231405, 0.8507402539253235, -0.027609864249825478, 0.013256015256047249, 0.05219332128763199, -0.01620541512966156, -0.005683421157300472, 0.03580011799931526, 0.025226837024092674, -0.03164204955101013, 0.005749357398599386, -0.03235887363553047, 0.0020340147893875837, -0.0028164733666926622, 0.01598958484828472, 0.018620949238538742, 0.023520978167653084, 0.04570282623171806, 0.017183750867843628, 0.013304421678185463, -0.02869364619255066, 0.0010428112000226974, -0.0020356278400868177, 0.023690542206168175, 0.00975001510232687, 0.0035753624979406595, 0.0031558640766888857, -0.16775870323181152, 0.01935221068561077, -7.364228927507805e-33, 0.05221150070428848, 0.01449739933013916, -0.0013554358156397939, -0.004978217650204897, 0.0007120388327166438, -0.0037373926024883986, 0.05210717022418976, -0.004675650037825108, -0.020153727382421494, -0.03911314532160759, -0.008943343535065651, -0.01607212983071804, 0.02274279110133648, -0.025593433529138565, 0.0020271805115044117, -0.028173021972179413, -0.002156405244022608, 0.03773212805390358, -0.020580165088176727, 0.030930953100323677, 0.037462424486875534, 0.03049713745713234, -0.029665155336260796, 0.0006495078559964895, -0.012245017103850842, 0.01949041709303856, 0.012947658076882362, -0.024030115455389023, -0.00473011564463377, -0.04041607677936554, -0.019907932728528976, 0.03658260777592659, -0.02828582562506199, -0.02090788632631302, -0.0211652722209692, -0.018782654777169228, 0.009307713247835636, -0.006199622992426157, -0.005141661502420902, -0.02274041436612606, -0.03676635026931763, -0.0002592205419205129, -0.030995545908808708, -0.03143693134188652, 0.0048000020906329155, -0.007802896201610565, 0.03864668309688568, 0.02837391383945942, 0.021488917991518974, -0.006239323411136866, 0.0057738968171179295, 0.02110544964671135, -0.0013560206862166524, 0.0017185746692121029, 0.016306092962622643, 0.04993598908185959, -0.0027621090412139893, 0.03576670587062836, -0.0019865536596626043, 0.01684468612074852, 0.03257964178919792, 0.0015755671774968505, -0.03795597702264786, 0.0046606892719864845, -0.004493148531764746, -0.022423729300498962, 0.017915859818458557, -0.008119522593915462, 0.04698559641838074, -0.020767463371157646, -0.05517928674817085, -0.019300298765301704, 0.011278709396719933, -0.03036385588347912, 0.017794011160731316, -0.0041432916186749935, 0.03518453985452652, -0.001564960228279233, -0.005349140614271164, 0.02435450442135334, -0.005095789209008217, 0.013302238658070564, -0.009740873239934444, -0.04026413708925247, -0.016852011904120445, -0.004477564245462418, 0.024532519280910492, -0.01710720732808113, -0.030587801709771156, 0.04753699526190758, 0.040307093411684036, 0.011859942227602005, -0.0014691903488710523, 0.011809147894382477, -0.018052009865641594, 7.094797540775675e-33, 0.005467171315103769, -0.031727492809295654, -0.015497214160859585, 0.03289024159312248, 0.08519063144922256, -0.0012614873703569174, 0.041032228618860245, -0.02224842458963394, -0.05485698953270912, 0.014584110118448734, -0.022683536633849144, -0.03706486523151398, -0.0032035368494689465, 0.0007895868038758636, 0.06515806913375854, -0.029518214985728264, 0.015828430652618408, 0.023177843540906906, 0.05441376194357872, 0.01600218005478382, 0.03412845730781555, 0.025290407240390778, -0.002215757267549634, 0.0018718782812356949, 0.016556432470679283, 0.033949557691812515, 0.021415922790765762, 0.011288019828498363, -0.01673104427754879, 0.025710785761475563, 0.005831246264278889, -0.02614382654428482, -0.007568973582237959, -0.0035368783865123987, -0.011321943253278732, 0.014805065467953682, -0.06108987331390381, -0.02167055569589138, -0.02999812364578247, 0.0231492817401886, 0.010970239527523518, -0.0070712571032345295, -0.017763925716280937, 0.017345882952213287, -0.0032253258395940065, -0.0011006435379385948, -0.005434875842183828, -0.0337127149105072, -0.0076617649756371975, -0.006195631809532642, 0.012569250538945198, 0.020941000431776047, -0.018090106546878815, -0.03466212749481201, -0.009567377157509327, -0.024201735854148865, -0.0015580024337396026, -0.015737034380435944, 0.00907126348465681, 0.014020081609487534, -0.0031875711865723133, -0.005815493408590555, 0.000547373085282743, 0.017618367448449135, 0.00004875687955063768, 0.014458446763455868, -0.018201919272542, 0.015361289493739605, -0.017285147681832314, 0.01820816658437252, -0.019323445856571198, 0.0037991954013705254, 0.024372780695557594, 0.01627834513783455, -0.01770290732383728, -0.008162165060639381, -0.03931719809770584, -0.010111152194440365, -0.0218364205211401, -0.0026287997607141733, 0.002335671801120043, 0.029757773503661156, 0.0313568115234375, 0.026944873854517937, -0.020864451304078102, 0.058930449187755585, -0.024438202381134033, 0.026961136609315872, 0.0029399204067885876, 0.012485121376812458, 0.017363008111715317, -0.02424510195851326, 0.02417261153459549, 0.0008567107142880559, 0.0178567785769701, -1.3348699035020672e-8, -0.015870438888669014, 0.04315877705812454, -0.01768619753420353, 0.00040069990791380405, -0.00426116306334734, -0.0028631812892854214, -0.004038907587528229, 0.010964103043079376, -0.019594859331846237, 0.025196773931384087, 0.04248097538948059, -0.04616187885403633, 0.01082089077681303, 0.023921068757772446, 0.06436100602149963, -0.006418147124350071, 0.001648769248276949, -0.030280543491244316, 0.008250726386904716, -0.01037211436778307, 0.028183769434690475, 0.05364667624235153, -0.03693274408578873, 0.027894271537661552, -0.03880761191248894, 0.0004028439871035516, 0.02193688228726387, -0.057218536734580994, 0.00097906484734267, 0.0018442180007696152, -0.00743872532621026, -0.02654079906642437, -0.013802614994347095, 0.03110891953110695, 0.005645737983286381, -0.02282767742872238, -0.00008371211151825264, 0.003738056868314743, 0.00022559805074706674, 0.0065028914250433445, -0.04425903782248497, 0.022065652534365654, -0.03347724676132202, -0.028903620317578316, 0.0016130072763189673, 0.028879325836896896, -0.02670222893357277, -0.014540334232151508, -0.02625546045601368, -0.0187071580439806, 0.008961963467299938, -0.0011134790256619453, 0.026402274146676064, 0.01583796925842762, 0.027340257540345192, 0.05827830731868744, -0.034818220883607864, -0.04887942597270012, -0.012578860856592655, -0.026235759258270264, -0.010366351343691349, 0.04241674765944481, -0.01630539260804653, -0.011411935091018677 ]
book-club-promiscuous-pairing-beginners-mind-arlo-belkshee
https://markhneedham.com/blog/2009/09/05/book-club-promiscuous-pairing-beginners-mind-arlo-belkshee
false
2009-09-02 00:42:52
TDD: Test the behaviour rather than implementation
[ "tdd" ]
[ "Testing" ]
I http://www.markhneedham.com/blog/2009/08/30/coding-group-the-duplication-then-remove-it/[previously wrote about some duplicated code] we'd taken the time to remove from our code base and one something else that we found when working with this code is that a lot of the tests around this code were testing the implementation/internal state of the object rather than testing the behaviour that they expected to see. I find it makes more sense to test the behaviour since this is the way that the object will most likely be used in our production code. For example, in the code I posted previously we were setting up the way that a navigation bar was going to behave in different scenarios. This was one of the tests we had: [source,csharp] ---- public void ShouldSetLogin() { var navigationModel = new NavigationModel(Options.Login); Assert.IsTrue(navigationModel.IsConfiguredWith(Options.Login)); } ---- For this (cut down for example purposes) code: [source,csharp] ---- public enum Options { Login = 1, Logout = 2 // and so on } ---- [source,csharp] ---- public class NavigationModel { public NavigationModel(Options options) { Configuration = options; } public Options Configuration { get; private set; } public bool IsConfiguredWith( Options expectations) { return expectations == Configuration & expectations); } public bool ShowLogin() { return IsConfiguredWith(Options.Login); } } ---- There were 7 different types of options as I mentioned in the previous post and the NavigationModel was being setup with each of them and the 'IsConfiguredWith' method was then being called to check whether the value had been set. The strange thing was that everything we wanted to test could be done by calling methods like 'ShowLogin' which made us of the 'IsConfiguredWith' method anyway. The first refactoring was therefore to change the tests to make use of these methods instead of calling on an implementation detail of the NavigationModel: [source,csharp] ---- public void ShouldShowLogin() { var navigationModel = new NavigationModel(Options.Login); Assert.IsTrue(navigationModel.ShowLogin()); } ---- There's not really that much difference in what the test does in this case but by changing all the tests to make calls to the methods that we use in our production code we were able to make the 'IsConfiguredWith' method private which is quite nice since it was only being used inside the tests and the 'Show...' methods so it didn't really make sense to have them public. The next step after this was to create the factory methods that I mentioned in the previous post and since each of these methods encapsulated more behaviour the tests started to look a bit better: [source,csharp] ---- public void ShouldShowLoginAndOption1AndOption2ForAnonymousUser() { var NavigationModel = NavigationModel.ForAnonymousUser(); Assert.IsTrue(navigationModel.ShowLogin()); Assert.IsTrue(navigationModel.ShowOption1()); // and so on } ---- This is quite a simple example but I found it interesting that with just a little bit of tweaking we could change our tests to execute the same methods that will be run in production and combined with the other refactoring we can now encapsulate the way we are determining whether a user can see a certain option or not and potentially change the implementation of that in the future if we want to.
null
null
[ -0.012873725034296513, -0.002844774629920721, -0.02508138120174408, 0.047859273850917816, 0.08588826656341553, -0.00897539034485817, 0.04854840412735939, 0.013751160353422165, -0.004207847639918327, -0.028841271996498108, -0.03495147079229355, 0.0019181700190529227, -0.07556785643100739, 0.01887204870581627, -0.022312907502055168, 0.06479179859161377, 0.07774008065462112, -0.03404631465673447, 0.04555602744221687, -0.00887975562363863, 0.003952033817768097, 0.0651005208492279, -0.02351747453212738, 0.022972306236624718, 0.020479843020439148, 0.00552817527204752, 0.0036468456964939833, -0.01826397515833378, -0.06168259680271149, -0.021624403074383736, 0.035633571445941925, 0.010206458158791065, 0.012112976983189583, 0.013778699561953545, 0.011881106533110142, -0.013230517506599426, -0.034532349556684494, -0.0023239508736878633, -0.00047310205991379917, 0.014102362096309662, -0.06999658793210983, 0.018564308062195778, -0.0023122525308281183, -0.007791461888700724, -0.04093139246106148, -0.009074957109987736, -0.039428357034921646, -0.004020373336970806, -0.03933163732290268, -0.0228494293987751, -0.05772162228822708, 0.029999682679772377, -0.04667314887046814, 0.011266452260315418, 0.006134876050055027, 0.05257057026028633, 0.029146166518330574, -0.05856825038790703, 0.019629094749689102, -0.06683581322431564, 0.029100783169269562, 0.013804987072944641, -0.012491917237639427, 0.02973286062479019, 0.016802748665213585, -0.018845677375793457, 0.0015811922494322062, 0.03990309312939644, -0.03895896300673485, -0.014883732423186302, -0.011470400728285313, 0.005243922118097544, 0.025174131616950035, -0.00933848600834608, 0.003557529067620635, -0.020019324496388435, -0.024167226627469063, 0.042633071541786194, 0.000004383551640785299, 0.03769179433584213, 0.006346284411847591, 0.006715192925184965, 0.04262158274650574, -0.0026203179731965065, 0.011737668886780739, -0.02827570028603077, -0.029142562299966812, -0.010325244627892971, -0.012265452183783054, 0.0438140369951725, -0.017598025500774384, -0.019469937309622765, 0.008369986899197102, 0.02842363715171814, 0.03433893620967865, 0.015270340256392956, 0.013650460168719292, -0.004244743846356869, 0.02420809678733349, 0.0032572303898632526, -0.033395133912563324, -0.008826015517115593, 0.031195495277643204, 0.01314363069832325, -0.06945188343524933, 0.002533369231969118, -0.028634116053581238, -0.02542063221335411, -0.012898081913590431, 0.020571159198880196, -0.058773357421159744, 0.01224877405911684, -0.027521418407559395, -0.018363600596785545, -0.07282215356826782, 0.059300366789102554, -0.016191113740205765, 0.011977381072938442, -0.0010366360656917095, 0.024042291566729546, 0.04125123471021652, 0.011638663709163666, -0.03694181144237518, 0.07460279762744904, 0.0183461494743824, 0.052214156836271286, -0.03242623060941696, 0.06804081797599792, -0.008976239711046219, -0.0908542275428772, -0.006713104899972677, 0.04389921948313713, -0.007745453622192144, 0.00218775006942451, -0.01306920126080513, -0.015961259603500366, 0.0014003695687279105, -0.010210797190666199, 0.02052680402994156, 0.038137152791023254, -0.036185335367918015, -0.04969298839569092, 0.025658629834651947, 0.015096122398972511, -0.008569401688873768, 0.034322090446949005, 0.012880846858024597, -0.016134168952703476, -0.015605724416673183, 0.060538750141859055, 0.023361777886748314, 0.07102476805448532, 0.047535598278045654, -0.05762237682938576, 0.006057314109057188, 0.0628889948129654, -0.003353748470544815, 0.006022116634994745, -0.0038310557138174772, -0.0009421362192369998, 0.02931872382760048, 0.03882524371147156, 0.02539101615548134, 0.05411436781287193, 0.025418246164917946, 0.01573764719069004, -0.005703746806830168, 0.05741960182785988, 0.010685664601624012, -0.009624582715332508, -0.05395979806780815, -0.061310503631830215, 0.033999763429164886, -0.049979034811258316, -0.009118412621319294, 0.05531195551156998, 0.0688043087720871, -0.0128439050167799, 0.07406696677207947, -0.010304651223123074, -0.07402830570936203, 0.008718261495232582, 0.021726075559854507, -0.0027914391830563545, 0.011600338853895664, 0.018789932131767273, 0.045562226325273514, 0.006885691080242395, 0.00044355489080771804, 0.013147502206265926, -0.05948737636208534, -0.06455472111701965, -0.01770361326634884, -0.009203075431287289, 0.07646960020065308, -0.031147195026278496, -0.023476222530007362, 0.08570979535579681, 0.012382435612380505, 0.04637308791279793, 0.02791169285774231, -0.017901940271258354, 0.0009708604775369167, -0.004391903057694435, -0.02330705150961876, 0.048446886241436005, 0.03780040144920349, -0.0038924706168472767, -0.03672752156853676, -0.014460492879152298, -0.01627969928085804, -0.004318895284086466, 0.013271697796881199, 0.00479641230776906, 0.07300318032503128, 0.008508218452334404, 0.021145088598132133, -0.03822576254606247, 0.0670604258775711, -0.06475879997015, 0.021846145391464233, -0.022870920598506927, -0.01738438941538334, -0.027273869141936302, 0.00748229818418622, 0.11611619591712952, 0.03644769638776779, -0.03733549267053604, -0.05739456042647362, 0.011759777553379536, 0.019990479573607445, -0.031300101429224014, 0.007428915239870548, -0.0147017240524292, 0.026085592806339264, -0.001317900256253779, -0.023892775177955627, -0.018661024048924446, 0.010049255564808846, -0.020340416580438614, 0.044308580458164215, 0.06276117265224457, -0.021633202210068703, 0.03981124237179756, -0.019015353173017502, -0.02016788348555565, 0.01155927311629057, -0.006867385935038328, -0.046809740364551544, 0.006904968526214361, 0.043085724115371704, -0.02332541160285473, 0.07681041210889816, -0.026597604155540466, -0.02112862840294838, -0.016312509775161743, -0.039079636335372925, -0.003969599027186632, 0.00850319117307663, 0.06041489169001579, 0.012401307933032513, 0.06073087826371193, -0.02298656851053238, -0.004182707518339157, 0.014598669484257698, -0.056145861744880676, 0.0007937540067359805, 0.008536492474377155, 0.009945126250386238, 0.04174989461898804, 0.0032116544898599386, -0.015653792768716812, 0.038674842566251755, -0.002271158155053854, -0.005777137819677591, 0.0012324880808591843, 0.03701566904783249, 0.009309560060501099, -0.016619371250271797, -0.018535520881414413, -0.0428096242249012, 0.012664079666137695, -0.02600712701678276, -0.02688632346689701, 0.022171977907419205, -0.08584006875753403, 0.04112546518445015, -0.08192525058984756, -0.08761338144540787, 0.02693660743534565, 0.03564062342047691, 0.02325710654258728, -0.004321391694247723, 0.04174023121595383, 0.08441484719514847, 0.021111054345965385, 0.009336337447166443, 0.009752236306667328, 0.0007996775675565004, 0.037371501326560974, 0.006633029785007238, 0.0017753553111106157, 0.02584981359541416, -0.029265936464071274, 0.014695229940116405, -0.05260826647281647, 0.04149748012423515, 0.011934619396924973, -0.25881627202033997, 0.018355363979935646, -0.0032286415807902813, -0.03802841901779175, 0.01839311793446541, -0.02073528803884983, 0.04042967036366463, -0.05744259059429169, -0.012105116620659828, 0.06962566822767258, -0.020904667675495148, -0.04633501544594765, -0.023181261494755745, 0.06013756990432739, -0.005682724993675947, 0.00952996127307415, -0.007541179656982422, -0.026346350088715553, 0.004321365151554346, 0.05922050401568413, 0.012721577659249306, -0.05831838399171829, -0.01155027188360691, 0.031708959490060806, -0.004509990569204092, 0.04679131880402565, -0.08954091370105743, 0.07440391182899475, -0.02383824810385704, -0.012040109373629093, -0.014485947787761688, -0.005295399110764265, -0.017308175563812256, -0.03132524713873863, -0.018953491002321243, -0.01641644723713398, 0.0013612589100375772, 0.023022904992103577, -0.015227941796183586, 0.03727395460009575, -0.04535004124045372, -0.04791806638240814, -0.02858137898147106, -0.005824695341289043, 0.07571855932474136, -0.010554568842053413, -0.05541639029979706, -0.012228099629282951, -0.041825465857982635, 0.06453640013933182, -0.02273639477789402, -0.021912284195423126, 0.00018848429317586124, 0.06612934172153473, -0.03784741088747978, -0.014440326020121574, 0.027654379606246948, -0.006614310666918755, -0.045318394899368286, -0.015352723188698292, -0.02332325465977192, -0.046795159578323364, -0.02870231494307518, -0.06662870943546295, -0.015501820482313633, -0.06470504403114319, -0.058324702084064484, -0.011914723552763462, 0.05154220387339592, 0.023371316492557526, -0.01719408668577671, 0.004495429340749979, 0.00869359727948904, -0.10852070897817612, 0.007322981953620911, -0.05715121328830719, 0.0029654346872121096, -0.06583831459283829, 0.0026534553617239, 0.02947959117591381, -0.04188547283411026, -0.013705501332879066, 0.07267264276742935, 0.015122131444513798, 0.023676663637161255, 0.008902379311621189, 0.032012470066547394, -0.0004086662083864212, -0.053489796817302704, -0.0071399519219994545, 0.08614914864301682, 0.009912933222949505, 0.0047890483401715755, -0.046766191720962524, 0.004674563650041819, 0.02449646405875683, 0.027694663032889366, -0.03363736718893051, 0.02183998003602028, 0.013258390128612518, 0.04188473895192146, -0.059111956506967545, 0.03147014603018761, -0.029056916013360023, 0.010990978218615055, -0.01647660881280899, -0.057711996138095856, 0.02447161078453064, 0.0359850712120533, 0.03078473173081875, 0.0006686797132715583, -0.013287459500133991, 0.010116691701114178, -0.04554803669452667, -0.027759389951825142, -0.030477197840809822, 0.015201844274997711, 0.013298564590513706, -0.01776054874062538, -0.014562039636075497, -0.04505898058414459, 0.018299564719200134, 0.0002615433477330953, -0.005245890002697706, -0.08235911279916763, -0.060862962156534195, -0.008885118179023266, 0.012300687842071056, 0.013719548471271992, 0.035062000155448914, -0.010909149423241615, 0.044963289052248, 0.013891558162868023, -0.02936822921037674, -0.0013727289624512196, 0.009206151589751244, -0.0009026636835187674, -0.02130182832479477, -0.023192359134554863, -0.01712106354534626, -0.009102167561650276, -0.015329377725720406, 0.03068728558719158, 0.0019475447479635477, 0.029098205268383026, 0.010127206332981586, 0.058245010673999786, 0.03764435648918152, -0.026977989822626114, 0.03438664600253105, 0.008015101775527, -0.08316824585199356, 0.007297396194189787, -0.024701355025172234, -0.03427928313612938, -0.02655312977731228, 0.03500928729772568, -0.019710801541805267, -0.017028313130140305, -0.03702184930443764, 0.029235849156975746, -0.059793487191200256, -0.03373830392956734, -0.01987803913652897, 0.018245846033096313, 0.07726271450519562, -0.04074745625257492, 0.06095670536160469, -0.033893976360559464, -0.032579731196165085, 0.010226779617369175, 0.023050323128700256, -0.045070379972457886, 0.03835136443376541, 0.00203441153280437, -0.004683246370404959, -0.025514421984553337, -0.006677916739135981, 0.026300130411982536, 0.010909197852015495, 0.01990402862429619, -0.01691710576415062, 0.015149968676269054, -0.015357190743088722, 0.04162023589015007, -0.01896115392446518, 0.0027126818895339966, -0.019191833212971687, 0.026165267452597618, -0.025444889441132545, -0.03388465940952301, -0.016917496919631958, -0.034219447523355484, 0.037494905292987823, -0.0522286519408226, -0.06333838403224945, 0.008327449671924114, 0.01279895193874836, 0.010381887666881084, 0.01433683279901743, 0.01013934426009655, -0.0009111992549151182, 0.0053288936614990234, 0.0010040577035397291, 0.04003563150763512, -0.06067255511879921, 0.033838506788015366, 0.01884712651371956, 0.0012828429462388158, 0.042499054223299026, -0.00606513861566782, -0.07130631059408188, -0.027124976739287376, -0.024300996214151382, -0.020936600863933563, -0.04671363905072212, -0.03294959291815758, -0.027092810720205307, 0.0014686520444229245, 0.0003511143440846354, -0.044650785624980927, 0.02623962238430977, 0.0066529433242976665, -0.022435035556554794, -0.032767102122306824, -0.00375454593449831, -0.03229296952486038, 0.006019840016961098, 0.05251730978488922, -0.061515193432569504, 0.011581824161112309, 0.007796417456120253, 0.023240605369210243, 0.018802551552653313, -0.03824582323431969, -0.04453859105706215, -0.06497449427843094, 0.0000060129223129479215, -0.01590547151863575, 0.05992606282234192, 0.00016122304077725857, 0.004420265089720488, -0.034360356628894806, -0.04507267102599144, -0.012852178886532784, 0.02451990731060505, -0.0031561015639454126, -0.000870531948748976, 0.02272879332304001, 0.054826147854328156, 0.018184322863817215, 0.02762441895902157, 0.01017326582223177, 0.029697494581341743, 0.08061877638101578, -0.054868146777153015, -0.012829912826418877, -0.001415432314388454, -0.07324156165122986, -0.0016885760705918074, 0.004672907758504152, 0.02527429722249508, -0.02221849374473095, 0.02751736156642437, 0.028485523536801338, 0.02050848864018917, 0.028666170313954353, 0.020702941343188286, 0.008216195739805698, -0.04824410006403923, 0.04586951062083244, -0.07743903994560242, 0.022540459409356117, 0.04356013983488083, 0.017031405121088028, -0.024379149079322815, -0.016471898183226585, 0.00304716476239264, 0.06902678310871124, -0.06980890780687332, -0.02581772208213806, 0.05550393462181091, -0.004287261515855789, -0.0009603205253370106, 0.01675209030508995, -0.050384920090436935, 0.04120529815554619, 0.019633647054433823, -0.03891916945576668, -0.03532041981816292, -0.03244992718100548, 0.04691556468605995, 0.017354648560285568, 0.011705942451953888, -0.04958740621805191, 0.005454149097204208, 0.04192083701491356, 0.02960553579032421, 0.052681755274534225, 0.03660674765706062, -0.04364541545510292, 0.03620089218020439, 0.039116401225328445, 0.0016263824654743075, -0.03519808128476143, -0.000009793641766009387, 0.010130509734153748, -0.07379608601331711, 0.0245977696031332, 0.0174424946308136, -0.031132804229855537, -0.07532164454460144, 0.07416655123233795, -0.0009862914448603988, -0.022640977054834366, -0.0397774800658226, -0.0010684489971026778, -0.04529013857245445, -0.036339741200208664, -0.013311542570590973, -0.0050983973778784275, -0.017863528802990913, 0.07581277191638947, 0.01015949435532093, -0.012678300030529499, 0.0501125305891037, -0.017334317788481712, 0.0007897718460299075, -0.010362857021391392, 0.08793593943119049, 0.08108688145875931, 0.030697787180542946, 0.01154231932014227, 0.03708938881754875, -0.03459800407290459, -0.04838474467396736, 0.019555792212486267, -0.03719395026564598, -0.010632808320224285, -0.010737168602645397, 0.021668752655386925, 0.06209014356136322, 0.003303386503830552, 0.04977642372250557, -0.047276705503463745, 0.01260150596499443, -0.0078086163848638535, 0.04748217761516571, -0.011980656534433365, 0.03479845076799393, 0.02102920226752758, -0.021406052634119987, 0.008377650752663612, -0.03745434060692787, 0.027079571038484573, -0.025986475870013237, -0.016372039914131165, 0.02130710333585739, -0.010833143256604671, 0.001805208856239915, -0.020829007029533386, 0.010573666542768478, 0.07185888290405273, -0.018332762643694878, -0.00047810806427150965, -0.009776723571121693, 0.019602177664637566, 0.03132069110870361, -0.015053708106279373, -0.023890409618616104, -0.021504133939743042, 0.006405508145689964, 0.008151445537805557, -0.03868553042411804, -0.03918496146798134, -0.009840267710387707, 0.008299156092107296, -0.003503815270960331, 0.03561694920063019, 0.010677199810743332, 0.035333286970853806, -0.03381555527448654, -0.04877385124564171, -0.062009476125240326, -0.047318171709775925, -0.05759498476982117, -0.02635219693183899, 0.02359488606452942, -0.020397482439875603, -0.028575681149959564, -0.011547982692718506, -0.03356225788593292, 0.0003970376565121114, 0.045209452509880066, -0.009869173169136047, -0.02220778912305832, 0.034996408969163895, 0.009669597260653973, 0.039241135120391846, 0.04295603930950165, 0.04554084688425064, 0.023478828370571136, -0.026330584660172462, -0.03834519162774086, -0.024752026423811913, 0.033088672906160355, -0.018292054533958435, 0.02765515074133873, -0.07373762875795364, 0.006373993121087551, 0.0030389970634132624, 0.02123909816145897, -0.07379218935966492, 0.009448477998375893, 0.01485404185950756, -0.006636007688939571, 0.0679890513420105, -0.031131885945796967, -0.021376997232437134, 0.02472612075507641, -0.014359364286065102, 0.013517959043383598, 0.03304088115692139, 0.043516527861356735, -0.030893439427018166, 0.07533352077007294, 0.026033921167254448, -0.03917942941188812, -0.03246941789984703, 0.004640106111764908, -0.008671424351632595, 0.015465352684259415, -0.03806021064519882, -0.021127846091985703, -0.05080511048436165, -0.04746577516198158, 0.010944608598947525, 0.04985373094677925, -0.0011109983315691352, -0.020208725705742836, -0.00728242751210928, 0.03876526653766632, -0.0552213117480278, 0.02269895374774933, -0.019904116168618202, 0.026967063546180725, -0.039352573454380035, -0.03486992046236992, 0.020704783499240875, 0.015626516193151474, 0.01974775455892086, 0.027578240260481834, 0.035101111978292465, -0.027917131781578064, -0.02067991904914379, -0.029670635238289833, -0.0029886942356824875, 0.03219899907708168, -0.01980038359761238, 0.02446386218070984 ]
[ -0.1092751994729042, -0.017094695940613747, -0.0054250238463282585, -0.050731658935546875, 0.011693138629198074, -0.026291443035006523, 0.030568191781640053, 0.022655537351965904, 0.003138262778520584, -0.020645949989557266, -0.0009466659394092858, 0.006502657197415829, -0.02818850241601467, 0.006760735064744949, 0.06747790426015854, -0.003947932738810778, -0.04460294917225838, -0.04506581276655197, 0.0238227229565382, -0.002941426821053028, 0.02708873711526394, -0.02710527740418911, -0.041383519768714905, -0.017749449238181114, 0.005910015664994717, 0.0673445388674736, 0.03195883333683014, -0.03546392172574997, 0.017114048823714256, -0.23162923753261566, -0.004962110426276922, -0.028984660282731056, 0.014947742223739624, -0.030514854937791824, -0.007692632731050253, 0.033102087676525116, -0.009991737082600594, 0.028313448652625084, -0.005503230262547731, 0.02698807418346405, 0.024210328236222267, 0.06405697017908096, -0.06066714599728584, -0.028004605323076248, 0.025952255353331566, 0.018079383298754692, 0.013193500228226185, -0.030471958220005035, -0.011518553830683231, 0.008810179308056831, -0.03689516335725784, -0.020628685131669044, -0.01653832569718361, -0.030695568770170212, 0.01117890328168869, 0.0286046601831913, 0.03517594933509827, 0.07229679077863693, 0.03656413406133652, 0.03287764638662338, 0.01398837473243475, -0.023195387795567513, -0.11994528770446777, 0.09233678877353668, 0.04686453565955162, 0.07227163761854172, -0.012585805729031563, -0.056470613926649094, 0.006149076856672764, 0.1092820093035698, -0.0072565944865345955, -0.0033264418598264456, -0.030879724770784378, 0.04220552369952202, 0.017809685319662094, -0.01845107041299343, -0.00911751203238964, 0.03981883451342583, 0.039289508014917374, -0.02749529480934143, -0.04072721675038338, -0.03565842658281326, 0.02369360812008381, 0.00565133523195982, -0.0031244384590536356, 0.007662235293537378, -0.014768549241125584, 0.022585077211260796, 0.03610752150416374, -0.004185698926448822, 0.050541456788778305, -0.0333930067718029, 0.03044254705309868, 0.0024990453384816647, -0.0707438662648201, 0.01762997731566429, -0.028475018218159676, 0.006450259126722813, -0.039799079298973083, 0.43750080466270447, -0.03587907552719116, -0.012728875502943993, 0.05922043323516846, 0.05364980548620224, -0.015875982120633125, -0.018728341907262802, -0.00371101638302207, -0.04323549196124077, 0.012294583953917027, -0.02852112054824829, 0.028344077989459038, 0.017333345487713814, 0.05379526689648628, -0.03309568017721176, -0.045109741389751434, 0.02303207665681839, 0.010537894442677498, 0.02401292882859707, -0.00931701809167862, 0.010238021612167358, -0.021304672583937645, -0.021131956949830055, 0.044236015528440475, 0.0033343296963721514, -0.005534462630748749, -0.03456342965364456, 0.021728556603193283, 0.06674017757177353, 0.004663830157369375, -0.015244287438690662, 0.037984415888786316, -0.04986877739429474, -0.06561484932899475, 0.011842582374811172, 0.02266346476972103, -0.002190973376855254, 0.048695407807826996, -0.022052304819226265, 0.022909367457032204, 0.019151387736201286, -0.01537590567022562, 0.007084848824888468, 0.06794032454490662, -0.030130919069051743, -0.05348610505461693, 0.11677929759025574, -0.020104948431253433, -0.04152925685048103, -0.015576835721731186, -0.02977040596306324, 0.010417570360004902, 0.025822361931204796, -0.006590672768652439, -0.076607845723629, 0.015457641333341599, -0.0057663694024086, 0.05620774254202843, 0.02118806168437004, -0.06281763315200806, -0.018189672380685806, -0.017494216561317444, -0.009433726780116558, -0.04971623048186302, 0.03207375109195709, 0.05410560220479965, -0.09594506025314331, -0.03789527714252472, 0.0028524522203952074, 0.02488173358142376, -0.05442041531205177, -0.030864277854561806, 0.024023763835430145, -0.0522802397608757, -0.011457251384854317, 0.034828364849090576, -0.018044322729110718, -0.025830691680312157, -0.0034758506808429956, 0.012278616428375244, 0.02319420874118805, 0.003508760128170252, -0.014442507177591324, -0.09372212737798691, 0.004595629870891571, -0.011416752822697163, -0.07131309062242508, -0.03595343232154846, -0.0018307460704818368, -0.025001339614391327, -0.011047186329960823, -0.02017480507493019, -0.03545638546347618, -0.06325871497392654, 0.08393947035074234, -0.03823389858007431, -0.03919728845357895, 0.02181329019367695, -0.010657897219061852, -0.004659375641494989, -0.01014014333486557, 0.011063892394304276, 0.05290084704756737, -0.0010941984364762902, 0.028846092522144318, -0.07113085687160492, 0.08017638325691223, 0.035929109901189804, -0.056127939373254776, 0.05391177535057068, 0.024032309651374817, -0.04633595049381256, -0.0031018168665468693, 0.006428002379834652, 0.0052892891690135, 0.019713709130883217, -0.05205320939421654, -0.008080802857875824, 0.019532449543476105, -0.012410391122102737, 0.0094267837703228, -0.040629081428050995, 0.009392770007252693, 0.00947459228336811, -0.33099883794784546, -0.03281130641698837, -0.015601265244185925, 0.00971335917711258, -0.011515605263411999, -0.06830645352602005, 0.004823846742510796, -0.005934686865657568, -0.015466295182704926, -0.040156807750463486, 0.058791715651750565, -0.003367639845237136, -0.002703017322346568, -0.030863560736179352, 0.0210665762424469, 0.01076273899525404, -0.028265362605452538, -0.024327576160430908, -0.04597270488739014, 0.035026196390390396, 0.00889368075877428, 0.02522057667374611, 0.014927906915545464, -0.07050026208162308, -0.008464436046779156, -0.04160024970769882, 0.10052642971277237, -0.044964130967855453, 0.10526542365550995, 0.007160533219575882, 0.04673130065202713, 0.017986154183745384, 0.030643515288829803, -0.07838462293148041, 0.015550516545772552, -0.01312588807195425, -0.045772504061460495, 0.004286707378923893, 0.05263584107160568, -0.03507761284708977, -0.026672128587961197, 0.024432841688394547, -0.05722521245479584, -0.06971246749162674, 0.016857722774147987, -0.0009221743675880134, -0.019550887867808342, -0.010115665383636951, -0.018027864396572113, 0.08484888821840286, 0.013772719539701939, -0.012031028047204018, -0.008452394045889378, 0.016385285183787346, 0.012748626060783863, -0.04115653783082962, -0.05353044345974922, -0.013268460519611835, 0.008564756251871586, 0.0077812266536056995, 0.017841894179582596, 0.066215381026268, 0.029054272919893265, -0.061222393065690994, 0.009946169331669807, 0.016316013410687447, -0.01527184247970581, -0.04478505626320839, 0.0613739937543869, -0.05043792724609375, -0.05383389815688133, 0.11340995877981186, 0.013084699399769306, -0.03184281289577484, 0.03317633643746376, 0.05146379768848419, 0.007608854677528143, 0.014202623628079891, 0.020014464855194092, -0.0014444960979744792, 0.002707064850255847, 0.02286631427705288, 0.022597171366214752, -0.011136279441416264, -0.02435964345932007, 0.019129106774926186, -0.008271425031125546, -0.0023606782779097557, 0.04167267307639122, -0.02542537823319435, -0.03933899849653244, -0.013586090877652168, 0.005565081723034382, -0.08297000080347061, 0.09079233556985855, -0.013676229864358902, -0.25429636240005493, -0.010819566436111927, 0.07891380786895752, 0.0628548189997673, -0.03156184405088425, 0.02793310023844242, 0.02690991573035717, -0.04168209433555603, 0.02937217615544796, 0.01670614816248417, -0.00039803425897844136, 0.029214879497885704, 0.03819640725851059, -0.004848432261496782, 0.06103824824094772, 0.001030075829476118, 0.04468894004821777, -0.026003776118159294, 0.028898362070322037, -0.015506942756474018, -0.0027991654351353645, 0.010545792989432812, 0.16438868641853333, 0.015645857900381088, 0.04417072981595993, 0.031953051686286926, 0.019789928570389748, 0.005261891987174749, 0.08154110610485077, 0.03197815269231796, 0.011592195369303226, -0.02436744049191475, 0.07517669349908829, 0.018317759037017822, 0.04177000746130943, -0.08744640648365021, -0.0037597971968352795, 0.017408059909939766, 0.013466876931488514, -0.021633023396134377, 0.00204806518740952, 0.013919106684625149, -0.02600793167948723, -0.009878707118332386, 0.10328789800405502, 0.018846720457077026, -0.0022444594651460648, -0.007893704809248447, -0.02785581350326538, -0.010423334315419197, -0.043588653206825256, -0.05665551498532295, 0.014223187230527401, -0.01328737661242485, 0.010886995121836662, 0.05724708363413811, 0.0029925587587058544, -0.032629579305648804, -0.025164347141981125, -0.003911653533577919, 0.01148641761392355, -0.004392996896058321, 0.1091858521103859, 0.013365733437240124, 0.029938632622361183 ]
[ 0.008857214823365211, -0.019896620884537697, 0.00556664913892746, 0.035761892795562744, -0.006588783115148544, 0.013162658549845219, 0.006390288006514311, -0.02211269922554493, -0.021799718961119652, 0.060695528984069824, 0.013096303679049015, -0.006475028581917286, 0.055993933230638504, -0.0035030897706747055, 0.03860999271273613, -0.009318589232861996, -0.013345257379114628, -0.016486037522554398, 0.002940744161605835, 0.020874811336398125, -0.001642751507461071, 0.030273735523223877, -0.01683047227561474, 0.04387487471103668, -0.027687691152095795, -0.03374140337109566, 0.011007695458829403, -0.023571187630295753, 0.007045050151646137, -0.13504673540592194, -0.01752137951552868, -0.016064397990703583, -0.021410292014479637, 0.008653285913169384, -0.05105472728610039, -0.026652619242668152, 0.06047631427645683, -0.01789558306336403, -0.006705797277390957, -0.03507567569613457, -0.04084377735853195, 0.013174864463508129, 0.00017672362446319312, -0.0077781351283192635, -0.018372582271695137, -0.013247118331491947, 0.0008640558808110654, 0.0005992149235680699, -0.017018700018525124, -0.0008055326761677861, 0.0018889018101617694, -0.010191523469984531, 0.026330336928367615, 0.0002941186248790473, 0.050581544637680054, 0.021627888083457947, -0.03978347033262253, -0.005470325239002705, 0.010072655975818634, 0.00890819076448679, 0.009237837046384811, 0.0184390377253294, -0.041334930807352066, -0.011120294220745564, 0.028043223544955254, -0.003335236804559827, 0.011060255579650402, -0.0010574860498309135, 0.011256451718509197, -0.008856378495693207, -0.010206193663179874, -0.0046188244596123695, 0.06480160355567932, 0.021320287138223648, 0.04136972874403, -0.00754154846072197, 0.003163540968671441, -0.016097893938422203, 0.004671495407819748, -0.03009405918419361, -0.04412316903471947, 0.015507091768085957, -0.007160555105656385, 0.037033144384622574, 0.04241315647959709, -0.02869226410984993, 0.00918574072420597, 0.009885894134640694, 0.011498687788844109, 0.00957057811319828, -0.022934338077902794, 0.015122008509933949, 0.010133192874491215, -0.010787555016577244, -0.04902888834476471, -0.007771639619022608, -0.04446447268128395, -0.002795590553432703, -0.01111998688429594, 0.8310496807098389, 0.012563619762659073, 0.04204145818948746, 0.07113201916217804, 0.03620355203747749, -0.022403329610824585, -0.022350676357746124, 0.05579457804560661, 0.0012647643452510238, 0.010688274167478085, 0.029072048142552376, 0.017578110098838806, 0.03990653157234192, 0.021573062986135483, 0.030479351058602333, 0.004548602271825075, 0.010669541545212269, 0.0036714395973831415, -0.008727881126105785, -0.018007690086960793, 0.028947193175554276, -0.005200713407248259, 0.005529201123863459, 0.04444602131843567, -0.0008773863082751632, 0.034861009567976, -0.17887729406356812, 0.006293070502579212, -7.858854909814746e-33, 0.004798035137355328, 0.01589331030845642, -0.008089235983788967, 0.015395636670291424, 0.06584810465574265, 0.019210070371627808, -0.006316693499684334, 0.016286956146359444, -0.00470357621088624, -0.03379996493458748, -0.03266369178891182, -0.015620937570929527, -0.009071419946849346, -0.008805887773633003, 0.05196458846330643, -0.0037356780376285315, -0.01521136425435543, 0.025554778054356575, -0.021512296050786972, 0.00554904667660594, 0.035994499921798706, 0.07611410319805145, 0.009713830426335335, -0.024607421830296516, 0.025840623304247856, 0.032531775534152985, 0.030504027381539345, 0.011361077427864075, -0.016710348427295685, -0.03215204179286957, 0.015551120042800903, 0.012234537862241268, -0.04565570130944252, 0.016066638752818108, 0.004950040020048618, -0.027727387845516205, 0.011276229284703732, 0.006504734046757221, -0.009955293498933315, -0.022457964718341827, -0.02243725024163723, -0.036419644951820374, -0.04582216218113899, -0.0034102594945579767, -0.03523050621151924, -0.04870086535811424, -0.008943619206547737, -0.005958088207989931, 0.03427664935588837, 0.009354600682854652, 0.017377598211169243, 0.024341993033885956, -0.0050810957327485085, -0.0677885040640831, -0.04291749373078346, -0.0008723281789571047, -0.013436160050332546, -0.003005119040608406, 0.052351973950862885, 0.03524928539991379, 0.00996630173176527, -0.03598387539386749, 0.0030038252007216215, 0.03707743436098099, -0.007998709566891193, -0.00590834766626358, 0.02823733165860176, -0.017835546284914017, 0.05745149776339531, -0.08694954216480255, -0.052482131868600845, -0.017507577314972878, -0.01735677383840084, 0.008496438153088093, 0.005375292152166367, -0.030583402141928673, 0.0017316589364781976, 0.01492485124617815, -0.008583859540522099, 0.014028331264853477, -0.0017730698455125093, -0.0368327796459198, -0.001746182912029326, 0.0056779878214001656, 0.008780273608863354, -0.010809923522174358, 0.010491814464330673, -0.01981825940310955, -0.05231961980462074, 0.0012306526768952608, 0.005583629943430424, 0.05063564330339432, 0.005627855658531189, -0.03546462208032608, 0.019895877689123154, 7.064622600790067e-33, 0.019129883497953415, -0.020926302298903465, -0.00361758004873991, 0.004406840540468693, -0.013143686577677727, -0.04524705559015274, 0.003787378780543804, 0.02266695536673069, -0.055585116147994995, -0.026877183467149734, -0.00926217157393694, 0.008594798855483532, 0.012948383577167988, 0.027607537806034088, 0.02875245176255703, 0.0022267447784543037, 0.03953494504094124, -0.03874365985393524, 0.018086589872837067, -0.030071130022406578, 0.02943447232246399, 0.009218002669513226, 0.008343379013240337, -0.0068203178234398365, -0.006539223715662956, 0.04203078895807266, 0.009528087452054024, 0.016818303614854813, 0.008007005788385868, 0.006926160305738449, -0.009975885972380638, 0.027749542146921158, 0.017431288957595825, -0.049349311739206314, 0.008153297938406467, 0.0031763138249516487, 0.0017050134483724833, 0.014357326552271843, -0.045378025621175766, -0.00021162332268431783, 0.028599776327610016, 0.008448938839137554, 0.017570020630955696, -0.011635423637926579, 0.029746120795607567, 0.008955441415309906, 0.017471730709075928, -0.009271995164453983, 0.012492083944380283, -0.006871582008898258, 0.0274727251380682, -0.007841262966394424, -0.0022523757070302963, -0.013541782274842262, 0.010823523625731468, -0.013633864000439644, -0.02215583063662052, -0.03270857781171799, 0.010230659507215023, -0.014831384643912315, 0.009083792567253113, 0.05148587003350258, -0.0379168838262558, 0.004643241409212351, -0.015258533880114555, -0.027660153806209564, -0.03653287887573242, -0.01965160295367241, 0.007601228076964617, -0.008612020872533321, -0.013470612466335297, -0.044965483248233795, -0.013168559409677982, 0.031146641820669174, 0.02482893131673336, 0.0032121380791068077, 0.014524477533996105, 0.012437477707862854, 0.01884589157998562, 0.0049256798811256886, 0.020232195034623146, -0.050313059240579605, 0.025911973789334297, -0.03251775726675987, -0.029662398621439934, 0.008537456393241882, -0.01589004509150982, -0.0026300568133592606, -0.014962214045226574, 0.01260838657617569, -0.02938065491616726, -0.015697721391916275, -0.015172477811574936, 0.00016392093675676733, -0.05128239840269089, -1.3296748591073992e-8, -0.028516307473182678, 0.017554568126797676, -0.011676216498017311, 0.04093506187200546, -0.010152317583560944, 0.007139848079532385, -0.03727368637919426, -0.01839333586394787, -0.03423696011304855, -0.007586264051496983, -0.009334193542599678, 0.0017033411422744393, -0.020664449781179428, 0.03271564841270447, 0.00991452019661665, -0.06529059261083603, -0.05373036488890648, 0.0058452291414141655, 0.006858148146420717, 0.010017013177275658, 0.0026783437933772802, 0.027746710926294327, 0.01224848534911871, 0.026281822472810745, 0.03233521431684494, 0.03467334806919098, -0.03170143440365791, -0.07053206861019135, -0.01949450746178627, -0.02248159795999527, -0.00820303987711668, -0.01292000338435173, -0.05531034618616104, -0.008834373205900192, -0.05020441114902496, -0.004533869680017233, 0.0017667206702753901, 0.03214946761727333, 0.02295602485537529, -0.03243722766637802, 0.017030848190188408, -0.02967674471437931, 0.04141513258218765, -0.01620456948876381, -0.008834191597998142, 0.0020227732602506876, -0.008812558837234974, 0.01597467064857483, 0.03182680532336235, -0.04449637606739998, -0.03254632651805878, 0.008641158230602741, 0.017411375418305397, -0.010816209018230438, -0.008909991011023521, 0.0037065118085592985, 0.01908194087445736, 0.007206227630376816, -0.01996918022632599, -0.029156344011425972, 0.04248567298054695, 0.009988746605813503, -0.03498227894306183, -0.045098911970853806 ]
tdd-test-the-behaviour-rather-than-implementation
https://markhneedham.com/blog/2009/09/02/tdd-test-the-behaviour-rather-than-implementation
false
2009-09-02 23:52:06
Coding: Reduce fields, delay calculations
[ "coding" ]
[ "Coding" ]
A pattern in code which I've noticed quite frequently lately is that of executing calculations in the constructor of an object and then storing the result in a field on the object. From the small amount of experience I have playing around with functional languages I have come across the idea of lazy evaluation of functions quite frequently and I think it's something that we can apply in object oriented languages as well. When we store a value of a calculation in a field we are opening up the ability for that value to be changed before we use it. We can certainly reduce/remove the chance of that happening by making fields read only or final but as http://www.infoq.com/articles/dhanji-prasanna-concurrency[Dhanji points out in his InfoQ article], if we are storing reference objects there is still a chance they could be mutated before we use them. Even if we can manage to work our way around that problem I still feel that we increase the complexity of classes by having more fields as well as decreasing the readability of the code in the constructor since we now have all this extra information standing in our way when perhaps we don't even care about it at all since it won't be used until later on anyway. I'm not sure if it's a given but I never expect calculations to be done in the constructors of objects when I create them - at most I would expect the fields I pass in to be stored but any more than that is surprising and I think it's good to avoid surprises if we can! I don't think the automated properties in C# 3.0 have really helped much and code like this is quite common: [source,csharp] ---- public class SomeObject { public SomeObject(Dependency1 dependency1, Dependency2 dependency2) { Field1 = dependency1.Calculation1(); Field2 = dependency1.Calculation2(); Field3 = dependency2.Calculation1(); Field4 = dependency2.Calculation2(); // and so on } public decimal Field1 { get; set; } public decimal Field2 { get; set; } public decimal Field3 { get; set; } public decimal Field4 { get; set; } } ---- This one is relatively easy to simplify since we just need to store 'dependency1' and 'dependency2' and then delegate if the properties are called: [source,csharp] ---- public class SomeObject { private readonly Dependency1 dependency1; private readonly Dependency2 dependency2 public SomeObject(Dependency1 dependency1, Dependency2 dependency2) { this.dependency1 = dependency1; this.dependency2 = dependency2; // and so on } public decimal Field1 { get { return dependency1.Calculation1(); } public decimal Field2 { get { return dependency1.Calculation2(); } public decimal Field3 { get { return dependency2.Calculation1(); } public decimal Field4 { get { return dependency2.Calculation2(); } } ---- Now when we look at the constructor we can see that 'SomeObject' depends on those 2 classes and when we want to see what a call to 'Field1' does we can see straight away instead of having to scroll back up to the constructor to check. In a way we have tightened the coupling between 'SomeObject' and 'Dependency1' and 'Dependency2' by storing those in fields and I was http://www.markhneedham.com/blog/2009/08/25/coding-coupling-and-expressiveness/[pondering the wisdom of doing this sort of thing in a previous post] but I think I prefer to take this coupling over the alternative choice. The choice isn't quite as clear cut if we are getting a value from a dependency and then performing a calculation on that value. For example: [source,csharp] ---- public class SomeObject { public SomeObject(Dependency1 dependency1) { Result = CalculateValueFrom(dependency1.OtherDependency); } public decimal Result { get; set; } } ---- In this case I would still favour storing 'Dependency1' and then executing that calculation later although a http://www.markhneedham.com/blog/2009/08/17/law-of-demeter-some-thoughts/[law of demeter] violation is more often than not staring us in the face and perhaps this isn't the right class to be performing this calculation.
null
null
[ 0.009191550314426422, 0.010096264071762562, -0.01531545165926218, 0.015363615937530994, 0.08003530651330948, 0.019699934870004654, -0.0056024095974862576, 0.005803348962217569, -0.00881513673812151, -0.0069627221673727036, -0.004776758141815662, 0.012483426369726658, -0.07553831487894058, 0.027372827753424644, -0.028917521238327026, 0.07900691777467728, 0.10698884725570679, -0.016428396105766296, -0.00867675244808197, -0.020006481558084488, -0.009800146333873272, 0.06241243705153465, -0.014361098408699036, 0.04497222974896431, 0.040626466274261475, 0.0398009717464447, -0.013493387028574944, 0.0006123378989286721, -0.03423597663640976, -0.024776779115200043, 0.04494787007570267, 0.027151722460985184, -0.009332461282610893, 0.011732369661331177, -0.010747015476226807, -0.018912170082330704, 0.000896566838491708, 0.006879908498376608, -0.009488456882536411, 0.026526683941483498, -0.0635751485824585, -0.002095538191497326, -0.006349495146423578, 0.005766717251390219, -0.06198013201355934, -0.03285618871450424, -0.02594987489283085, -0.003403449896723032, -0.05974262207746506, -0.009360803291201591, -0.07721306383609772, 0.04842083528637886, -0.04001795873045921, 0.014343162067234516, -0.02007630467414856, 0.06503670662641525, 0.009835368022322655, -0.08410093188285828, 0.030948583036661148, -0.06601262837648392, 0.0051551503129303455, -0.00982449296861887, -0.002694584894925356, 0.03234133496880531, 0.013214826583862305, 0.00557954516261816, -0.032317325472831726, 0.037443920969963074, -0.046766895800828934, -0.02350473403930664, -0.027648068964481354, -0.001656491425819695, -0.006811548490077257, -0.012826350517570972, -0.006944386288523674, -0.05212128534913063, -0.020995434373617172, 0.03622103109955788, 0.0047544757835567, 0.03470060974359512, -0.005541898310184479, 0.0003398458065930754, 0.03855302184820175, -0.012872622348368168, 0.042022112756967545, -0.03010426089167595, -0.019307758659124374, -0.017795078456401825, -0.02762812003493309, 0.05987875536084175, 0.0343124084174633, -0.01795385591685772, -0.015271010808646679, 0.034674908965826035, -0.0039565423503518105, 0.006234694737941027, 0.04711182042956352, -0.021425869315862656, 0.008993183262646198, 0.00010092358570545912, -0.020114758983254433, -0.018443923443555832, 0.026513095945119858, 0.003100491827353835, -0.07010157406330109, -0.022838430479168892, -0.029276680201292038, -0.0200672410428524, 0.030047882348299026, 0.01952776312828064, -0.04929699748754501, 0.027044005692005157, -0.019984930753707886, 0.008236967027187347, -0.09033117443323135, 0.030932877212762833, 0.02803715690970421, 0.013545358553528786, -0.011949271894991398, 0.038089897483587265, 0.055085573345422745, 0.015699509531259537, 0.0061220391653478146, 0.0690714493393898, -0.008878189139068127, 0.03021647036075592, -0.016605623066425323, 0.07205218821763992, 0.00492733484134078, -0.07732316106557846, 0.001344558666460216, 0.030934352427721024, -0.019516900181770325, -0.002739226445555687, 0.0009828085312619805, -0.02564910054206848, -0.016428742557764053, 0.011430471204221249, 0.0585121251642704, 0.04167391359806061, -0.006819653790444136, -0.06455297023057938, 0.024514785036444664, -0.02636021375656128, -0.0002888577582780272, 0.006383590865880251, -0.0029180035926401615, -0.005855930503457785, 0.017792798578739166, 0.04395255073904991, 0.019155491143465042, 0.061326075345277786, 0.061469078063964844, -0.03552202135324478, 0.006738200318068266, 0.0796889215707779, -0.01156584918498993, 0.014968469738960266, -0.008967995643615723, 0.027816493064165115, 0.055081844329833984, 0.012415600009262562, -0.015117925591766834, 0.02480645664036274, 0.005131623707711697, 0.017109276726841927, 0.013329281471669674, 0.0651560053229332, -0.02292809821665287, -0.03317340090870857, -0.061970051378011703, -0.03626006469130516, 0.05822892114520073, -0.06335598975419998, -0.03355301544070244, 0.0454804003238678, 0.049862753599882126, -0.014999778009951115, 0.07650427520275116, 0.008722024969756603, -0.07738731801509857, 0.003177402541041374, 0.0030514143873006105, -0.009767758660018444, 0.0095714395865798, 0.011949200183153152, 0.06476321816444397, 0.013819072395563126, -0.004094683565199375, 0.024112533777952194, -0.05119939148426056, -0.051578253507614136, -0.024233968928456306, -0.017616596072912216, 0.05951419472694397, -0.049430001527071, -0.01945025473833084, 0.08365020155906677, 0.030810974538326263, 0.0352945551276207, 0.008646002970635891, -0.010285953059792519, 0.028174802660942078, -0.018808135762810707, -0.04568103700876236, 0.03476119041442871, 0.03521696478128433, 0.02067222259938717, -0.03667990118265152, 0.01731112413108349, -0.009447761811316013, -0.021146316081285477, 0.050669264048337936, -0.01282394677400589, 0.022141795605421066, 0.0035571043845266104, 0.003506389446556568, -0.03244748339056969, 0.059096913784742355, -0.06428280472755432, 0.0027235245797783136, 0.006627695634961128, -0.0030495496466755867, 0.014825871214270592, 0.0021576378494501114, 0.12182045727968216, 0.050886496901512146, -0.044116340577602386, -0.03912271559238434, 0.04592142626643181, 0.019904688000679016, -0.059298038482666016, 0.007462305948138237, -0.021314535290002823, 0.021795181557536125, 0.008057104423642159, -0.021035997197031975, 0.010433956049382687, 0.010059868916869164, -0.015787286683917046, 0.011254709213972092, 0.06912044435739517, -0.021161319687962532, 0.06025803089141846, 0.011914137750864029, -0.04062206670641899, 0.01072390004992485, -0.016720488667488098, -0.0631999596953392, 0.0011641285382211208, 0.008047295734286308, -0.009524027816951275, 0.04322380572557449, -0.0014593075029551983, -0.02067963033914566, -0.01877100020647049, -0.040039993822574615, 0.0292744729667902, 0.019602250307798386, 0.05468977987766266, 0.007390597835183144, 0.06356034427881241, 0.003216726006940007, -0.017041977494955063, -0.02092255838215351, -0.06329187750816345, 0.008152852766215801, 0.020581208169460297, 0.013882662169635296, 0.0221208855509758, 0.01924740895628929, 0.002296806313097477, 0.0549035482108593, 0.009006069973111153, -0.029089681804180145, -0.031050968915224075, 0.04044550657272339, -0.0227318424731493, -0.06440483033657074, -0.045922573655843735, -0.04451639577746391, 0.060010556131601334, -0.030832869932055473, -0.03558015450835228, 0.022554034367203712, -0.07634874433279037, 0.03000723384320736, -0.09733469039201736, -0.06590518355369568, -0.004079093225300312, 0.02847260795533657, 0.02480645664036274, -0.007640237454324961, 0.0188559889793396, 0.08337169140577316, 0.0128069669008255, -0.0036803872790187597, -0.007804484106600285, 0.011721212416887283, 0.01770906150341034, -0.012204407714307308, 0.0040616681799292564, 0.04583342373371124, 0.0026134143117815256, 0.009510972537100315, -0.0414348803460598, 0.022582747042179108, 0.008640549145638943, -0.2642434239387512, 0.028587037697434425, -0.014719040133059025, -0.052995335310697556, 0.015232010744512081, 0.010413308627903461, 0.01202431321144104, -0.02981140837073326, -0.03540438413619995, 0.03941280022263527, -0.024690954014658928, -0.07335676997900009, -0.03462810069322586, 0.07121802121400833, -0.004926268011331558, 0.004297418985515833, 0.018846113234758377, -0.02431780844926834, -0.009048886597156525, 0.06350208818912506, -0.02540535293519497, -0.07456888258457184, 0.007375434041023254, 0.028406400233507156, 0.039579253643751144, 0.03286532312631607, -0.08480224013328552, 0.023727085441350937, -0.045436255633831024, -0.006463931407779455, -0.022179298102855682, -0.0025022760964930058, 0.025569045916199684, -0.03368096426129341, -0.030630722641944885, -0.018653351813554764, -0.008804376237094402, 0.03089047037065029, -0.01891171559691429, 0.028727849945425987, -0.031906355172395706, -0.0488702729344368, -0.021680239588022232, 0.013132964260876179, 0.07300115376710892, -0.014365645125508308, -0.06689049303531647, -0.009618067182600498, -0.056286443024873734, 0.06827197968959808, -0.03983166813850403, -0.04710470139980316, 0.010754037648439407, 0.0279155895113945, -0.01423121988773346, -0.02379823848605156, 0.012203074060380459, -0.005354273598641157, -0.050704777240753174, -0.031845059245824814, 0.0018026281613856554, -0.04659554734826088, -0.0007971441955305636, -0.05559965595602989, -0.009879653342068195, -0.07267382740974426, -0.04995851218700409, -0.020618977025151253, 0.05726759135723114, 0.036236152052879333, -0.029777521267533302, 0.0154068972915411, 0.006087037269026041, -0.11872538179159164, -0.016473088413476944, -0.03889922797679901, -0.02185705490410328, -0.031313274055719376, 0.0012642538640648127, 0.047084562480449677, -0.00851681362837553, -0.05648128315806389, 0.03429272025823593, 0.03706604614853859, 0.011786679737269878, -0.018982551991939545, 0.008492805995047092, -0.011716492474079132, -0.027689585462212563, -0.008444836363196373, 0.0809769555926323, 0.003523801686242223, 0.02370673604309559, -0.053363729268312454, 0.009240043349564075, 0.03249713033437729, 0.02909298799932003, -0.01672161929309368, -0.01428068894892931, 0.011156347580254078, 0.04497168958187103, -0.04141092672944069, 0.049279168248176575, -0.025933846831321716, -0.005923961289227009, -0.027089545503258705, -0.06467145681381226, 0.041518282145261765, 0.02014361321926117, 0.010405880399048328, -0.0054987408220767975, -0.005465281195938587, 0.031241949647665024, -0.05103816092014313, -0.02920171618461609, -0.026212411001324654, 0.012087390758097172, 0.04205290973186493, -0.021343816071748734, -0.021106479689478874, -0.034097447991371155, 0.036946214735507965, 0.017686307430267334, -0.025831585749983788, -0.08402988314628601, -0.038140930235385895, -0.005565986968576908, -0.025866195559501648, -0.009133967570960522, 0.021138761192560196, -0.02459433116018772, 0.05382251366972923, 0.005890350788831711, -0.031559161841869354, 0.0011568778427317739, 0.013868801295757294, -0.0016603893600404263, -0.03730638697743416, -0.024676058441400528, -0.024976443499326706, 0.036194875836372375, -0.019948167726397514, 0.030272522941231728, 0.019895823672413826, 0.022585472092032433, -0.004311601631343365, 0.0458238422870636, 0.03447436913847923, -0.009029494598507881, -0.006673707161098719, 0.013051450252532959, -0.07053792476654053, 0.021388359367847443, -0.04437577351927757, -0.04132604971528053, -0.024290034547448158, 0.03149622678756714, -0.0172420721501112, -0.039173685014247894, -0.03654696047306061, 0.01882251538336277, -0.03583022207021713, -0.030905432999134064, -0.06907407194375992, -0.0014953975332900882, 0.0694405660033226, -0.04132852703332901, 0.05029521882534027, -0.02896319516003132, -0.0003751274780370295, 0.019477739930152893, 0.012670053169131279, -0.05506565794348717, 0.008511954918503761, -0.011133725754916668, -0.014268887229263783, 0.0003567138046491891, -0.001547462772578001, 0.04297377169132233, 0.014388876035809517, 0.019889671355485916, 0.01279831025749445, 0.0013659599935635924, 0.006889444310218096, 0.03688995912671089, -0.0027021903079003096, 0.02106752060353756, -0.0017368311528116465, -0.02525388076901436, -0.007687167264521122, -0.03732281178236008, -0.035022225230932236, -0.030913639813661575, 0.048792432993650436, -0.031118283048272133, -0.06012255698442459, 0.010511682368814945, 0.034963615238666534, 0.015743082389235497, 0.023430461063981056, 0.016134316101670265, 0.004464855883270502, -0.02906975895166397, 0.0023969027679413557, 0.056638799607753754, -0.0364929623901844, 0.029730621725320816, 0.018016617745161057, 0.01135448832064867, 0.00544167822226882, 0.012397045269608498, -0.01606615260243416, -0.019270487129688263, -0.02199401520192623, 0.008621643297374249, -0.03285872936248779, -0.008640632033348083, -0.009700766764581203, 0.005554995033890009, -0.02149518020451069, 0.0033599487505853176, -0.010756715200841427, -0.014936031773686409, -0.01783837005496025, -0.010520433075726032, 0.007875693961977959, -0.031184563413262367, 0.032504551112651825, 0.027583355084061623, -0.036877695471048355, 0.026596777141094208, -0.019374389201402664, 0.023926110938191414, 0.027510162442922592, -0.006390838418155909, -0.032424744218587875, -0.061933331191539764, 0.03768123686313629, -0.022019268944859505, 0.04023318737745285, 0.004122625105082989, -0.022664139047265053, -0.00896350760012865, -0.01083486620336771, -0.03587140515446663, 0.01225821953266859, -0.004751865286380053, -0.021492257714271545, 0.043917957693338394, 0.050960492342710495, 0.01649472489953041, 0.04056718200445175, -0.0026894269976764917, -0.0002181051386287436, 0.05208522453904152, -0.04295697063207626, -0.012593571096658707, -0.025099527090787888, -0.05306278169155121, 0.0010992935858666897, 0.00893349014222622, 0.0065493532456457615, -0.027094269171357155, 0.04553767666220665, 0.05731378495693207, 0.03253994137048721, 0.015974944457411766, 0.011707727797329426, 0.05998045951128006, -0.023887934163212776, -0.00210373941808939, -0.08194419741630554, 0.03704971447587013, 0.0349985733628273, 0.028748584911227226, -0.02701808139681816, -0.04313849285244942, -0.022453906014561653, 0.028188025578856468, -0.08114651590585709, -0.011571194045245647, 0.035860300064086914, 0.02548035979270935, -0.007731202058494091, 0.005448801442980766, -0.06420864909887314, 0.02252592332661152, 0.004805917385965586, -0.01748587377369404, -0.026415033265948296, -0.02195221744477749, 0.050251394510269165, 0.017152613028883934, -0.009842206723988056, -0.0370265357196331, 0.019223682582378387, 0.08363835513591766, 0.03409001603722572, 0.027790987864136696, 0.048607587814331055, -0.03631991893053055, 0.057149093598127365, 0.021587302908301353, -0.016924479976296425, -0.012660644017159939, 0.012243456207215786, 0.004438407719135284, -0.05903014540672302, -0.01653466559946537, -0.0003778336977120489, -0.029880737885832787, -0.054676152765750885, 0.06212406978011131, 0.018560683354735374, -0.004866851028054953, -0.054617155343294144, -0.009275950491428375, -0.029802493751049042, -0.02179291471838951, -0.007277290336787701, -0.013797225430607796, -0.04285551235079765, 0.06915438175201416, 0.002938780002295971, -0.012952030636370182, 0.07459988445043564, 0.008647183887660503, -0.0016152862226590514, -0.008687179535627365, 0.09907512366771698, 0.08177313208580017, 0.046040818095207214, -0.0014131702482700348, 0.058100879192352295, -0.007990168407559395, -0.05473829060792923, 0.016415968537330627, -0.03910769894719124, -0.0017707196529954672, -0.020208388566970825, 0.035161085426807404, 0.08001016825437546, 0.03017917275428772, 0.0363018736243248, -0.044606346637010574, -0.0043911198154091835, 0.01414351537823677, 0.018288735300302505, 0.013576642610132694, 0.03882424905896187, 0.02182566374540329, -0.0009797406382858753, 0.011973416432738304, -0.04855593666434288, 0.030564896762371063, -0.012124121189117432, -0.02915221080183983, 0.014955471269786358, 0.014439424499869347, 0.014555791392922401, 0.003747996175661683, 0.03160141780972481, 0.05051041021943092, -0.0002009850286412984, 0.006126098800450563, 0.0007242162828333676, 0.03071052022278309, 0.023348676040768623, -0.02332773059606552, -0.019102558493614197, -0.014102647081017494, -0.000551579927559942, -0.006765760947018862, -0.005769549869000912, -0.010591539554297924, -0.002214435487985611, 0.05455333739519119, -0.013089742511510849, 0.020859885960817337, 0.019237415865063667, 0.020636241883039474, -0.041491780430078506, -0.04750422388315201, -0.03581671789288521, -0.015072249807417393, -0.07169845700263977, -0.012439223937690258, 0.02952408604323864, -0.023256981745362282, -0.022726748138666153, -0.029104460030794144, -0.014295007102191448, -0.02513192966580391, 0.04152156412601471, -0.03356929123401642, -0.04139465093612671, 0.032440029084682465, 0.013631545938551426, 0.04214528203010559, 0.010585573501884937, 0.02888789027929306, -0.02311687543988228, -0.012992512434720993, -0.033852335065603256, -0.012636630795896053, 0.022406551986932755, 0.020026305690407753, 0.0005440432578325272, -0.06436363607645035, 0.005309057887643576, 0.026509838178753853, -0.037643399089574814, -0.07938522845506668, 0.010447514243423939, 0.018552539870142937, -0.011417526751756668, 0.04846710339188576, -0.027516933158040047, -0.02960984781384468, -0.02948520891368389, 0.0020562591962516308, 0.04274437204003334, 0.03345172107219696, 0.0422285832464695, -0.02720021642744541, 0.07406798750162125, 0.02063947357237339, -0.04953302815556526, -0.007164382841438055, -0.00928241666406393, -0.03519511967897415, 0.0198654942214489, -0.03517255187034607, -0.029899314045906067, -0.02529962919652462, -0.053471773862838745, -0.022094864398241043, 0.006909477058798075, -0.04197942465543747, -0.04447437450289726, -0.0011799678904935718, 0.05927577242255211, -0.04615066573023796, 0.043562714010477066, -0.012326586991548538, 0.049364570528268814, -0.024699252098798752, -0.004768776707351208, 0.04378163069486618, 0.04168989136815071, 0.013431972824037075, 0.012341998517513275, 0.023479826748371124, -0.028597641736268997, -0.037226077169179916, -0.029671769589185715, 0.015412197448313236, 0.043141238391399384, -0.010955055244266987, 0.024762755259871483 ]
[ -0.108820840716362, 0.007994651794433594, -0.04088258743286133, -0.022696347907185555, 0.03026510775089264, -0.03147941827774048, 0.027228986844420433, 0.003033972345292568, 0.017206840217113495, 0.0010702406289055943, -0.011615904979407787, -0.04221111536026001, -0.015866324305534363, 0.03176121041178703, 0.06099637225270271, -0.01354922540485859, -0.06223263964056969, -0.008885177783668041, -0.01872982271015644, 0.0033301066141575575, 0.051876552402973175, -0.059610217809677124, -0.057223640382289886, -0.028564607724547386, 0.018388807773590088, 0.059726595878601074, -0.0002625795023050159, -0.025633342564105988, 0.02612915076315403, -0.19690647721290588, -0.011880280449986458, -0.02301359921693802, 0.02905106171965599, -0.00841405987739563, 0.00235626264475286, 0.02101944573223591, 0.020536096766591072, 0.06807849556207657, -0.00976598635315895, 0.058903761208057404, 0.01371028646826744, 0.049570366740226746, -0.028469383716583252, -0.024253282696008682, 0.023681703954935074, 0.02572973258793354, -0.03070732392370701, -0.03433719649910927, -0.027927570044994354, 0.0377500019967556, -0.0549241341650486, -0.011900334618985653, -0.02623813785612583, -0.008264160715043545, 0.003136471612378955, 0.014639719389379025, 0.05545290187001228, 0.06459122151136398, -0.0002769930870272219, 0.014343843795359135, 0.022017549723386765, -0.031006725504994392, -0.10630960762500763, 0.08737857639789581, 0.039616383612155914, 0.03335822746157646, 0.00028742128051817417, -0.06325668096542358, 0.013612283393740654, 0.07526804506778717, 0.031079096719622612, -0.01694704219698906, -0.006123532075434923, 0.04046281799674034, 0.04586684703826904, -0.04748811200261116, -0.00546248210594058, 0.01418538298457861, 0.038112059235572815, -0.03172031044960022, -0.036053646355867386, -0.024819722399115562, 0.008938387967646122, 0.023171551525592804, -0.044144414365291595, 0.025540851056575775, -0.016230421140789986, 0.01963927038013935, 0.03531094267964363, 0.03011091984808445, 0.02126188762485981, -0.021065866574645042, 0.04594912379980087, 0.01694094017148018, -0.05235341563820839, 0.018734948709607124, -0.03639096021652222, 0.021100936457514763, -0.05037469416856766, 0.39134636521339417, -0.04184619337320328, -0.03297456353902817, 0.037867262959480286, 0.046360619366168976, -0.011538979597389698, 0.03642113506793976, 0.0072028012946248055, -0.05249164253473282, -0.010842744261026382, -0.061260346323251724, -0.03275204077363014, 0.014462916180491447, 0.023678308352828026, -0.05794861167669296, -0.007089465856552124, 0.005010400433093309, 0.03658415004611015, 0.01605226844549179, -0.005771679803729057, 0.025833863765001297, 0.011085808277130127, 0.036815397441387177, 0.020968586206436157, 0.06090512499213219, 0.01804366335272789, -0.023488527163863182, -0.0063409521244466305, 0.0641123354434967, 0.03673594444990158, 0.018657999113202095, 0.03219090402126312, -0.04988272115588188, -0.08643607050180435, -0.026368282735347748, 0.01657901145517826, 0.006747578736394644, 0.015738703310489655, -0.028746509924530983, -0.00730633269995451, 0.014934591017663479, -0.02711842954158783, 0.006115437019616365, 0.022427935153245926, -0.029276279732584953, -0.04560357704758644, 0.13520094752311707, 0.007982033304870129, -0.018938053399324417, -0.0022194040939211845, -0.04622931405901909, 0.004016422200948, 0.04739589989185333, -0.01397447008639574, -0.06757544726133347, -0.0025057492312043905, 0.021085254848003387, 0.046031516045331955, -0.024877062067389488, -0.0431470163166523, -0.04646441340446472, -0.08014235645532608, 0.02568148449063301, -0.0548970066010952, 0.04646289721131325, 0.01979835331439972, -0.048977915197610855, -0.03057800978422165, 0.01800663396716118, 0.017615413293242455, -0.08364611119031906, -0.004207756835967302, 0.027062837034463882, -0.031129950657486916, -0.03104783222079277, 0.0698080062866211, -0.0015193192521110177, -0.04163103550672531, -0.013578709214925766, 0.05022449791431427, 0.02794431895017624, 0.03498818352818489, 0.039511796087026596, -0.04678896814584732, -0.0000348996436514426, -0.016966786235570908, -0.0720309391617775, -0.04706105217337608, 0.001742837019264698, -0.035654474049806595, 0.000986502505838871, -0.007032311987131834, -0.005610864609479904, -0.08330382406711578, 0.07717756181955338, -0.03764859214425087, -0.027654504403471947, 0.033300913870334625, -0.00732991611585021, -0.008896795101463795, -0.006328906398266554, 0.022225940600037575, 0.054667048156261444, -0.0013782422756776214, 0.05267387256026268, -0.04907288774847984, 0.04863666743040085, 0.045742008835077286, -0.043119415640830994, 0.05391930416226387, 0.0471363365650177, -0.037779550999403, -0.03421057388186455, -0.013289488852024078, 0.0015175258740782738, -0.025766421109437943, -0.011836477555334568, 0.004317674320191145, 0.032163191586732864, 0.010493112727999687, -0.007907875813543797, -0.03791484236717224, -0.06797687709331512, 0.005509558133780956, -0.3436025083065033, -0.04775205999612808, -0.013647106476128101, -0.03908552974462509, 0.014620427042245865, -0.06544023752212524, 0.011118109337985516, -0.022351296618580818, -0.030957695096731186, -0.028264392167329788, 0.059326525777578354, -0.01856865920126438, -0.009975321590900421, -0.09684208035469055, -0.012013811618089676, -0.003296611364930868, -0.0580478236079216, -0.05581676587462425, -0.06736861169338226, 0.02126649022102356, 0.01106125209480524, 0.015682145953178406, -0.020608779042959213, -0.06197580695152283, 0.00989529024809599, -0.06167180463671684, 0.0843096449971199, -0.05568452179431915, 0.10830647498369217, -0.035747230052948, 0.06347408145666122, -0.01767081394791603, 0.009530646726489067, -0.07941310107707977, -0.00944429636001587, -0.05517740920186043, -0.044698141515254974, 0.011814422905445099, 0.018375292420387268, -0.015125135891139507, -0.030935509130358696, 0.011058785021305084, -0.024609742686152458, -0.021157944574952126, -0.012216639705002308, 0.014692707918584347, -0.01964673027396202, -0.05125138536095619, 0.0009267812711186707, 0.08361676335334778, -0.00973777286708355, -0.028003625571727753, 0.030209721997380257, 0.04111244156956673, 0.005554141942411661, -0.032870907336473465, -0.059790827333927155, 0.026039335876703262, 0.006299910601228476, 0.04026500880718231, 0.04707914963364601, 0.04763108491897583, 0.023758653551340103, -0.020051104947924614, 0.0023259602021425962, 0.004667478613555431, 0.028264619410037994, -0.03198593854904175, 0.025854909792542458, -0.043242864310741425, -0.02037426270544529, 0.11958831548690796, -0.021593941375613213, -0.021900543943047523, 0.05048568174242973, 0.027211328968405724, -0.003490559058263898, 0.014569852501153946, 0.012763171456754208, 0.012364706955850124, 0.037043582648038864, 0.03496166318655014, 0.021356655284762383, -0.017435560002923012, 0.015199297107756138, 0.001212378148920834, 0.011355012655258179, 0.0026032018940895796, 0.006157130468636751, -0.030692841857671738, -0.038439493626356125, -0.004316427744925022, 0.00344507722184062, -0.05564884468913078, 0.06689826399087906, -0.009097430855035782, -0.2656925320625305, 0.013499381951987743, 0.10052236914634705, 0.04383338615298271, 0.011336584575474262, 0.02197534404695034, 0.03064020164310932, -0.04041512310504913, 0.006448422558605671, -0.0004784691845998168, 0.024939024820923805, 0.0038565704599022865, 0.02736569754779339, -0.017419978976249695, 0.04423688352108002, -0.040215495973825455, 0.049790121614933014, -0.030868714675307274, 0.04951424151659012, -0.010930769145488739, 0.03495166078209877, 0.017460346221923828, 0.2137337177991867, 0.01813574880361557, 0.05328366532921791, -0.014962965622544289, 0.04119072109460831, 0.005105158314108849, 0.07001008093357086, 0.038739729672670364, 0.025397052988409996, 0.0028150873258709908, 0.09612578898668289, -0.00022116042964626104, 0.0056160371750593185, -0.06873544305562973, 0.014203357510268688, 0.04555051773786545, 0.017143333330750465, 0.004790403880178928, -0.005186953581869602, 0.007279330864548683, -0.07856015861034393, 0.017866214737296104, 0.090050607919693, 0.02643871121108532, -0.013530024327337742, -0.041752155870199203, -0.03227699175477028, -0.0312336478382349, -0.05069686844944954, -0.01498884055763483, 0.018919024616479874, -0.04541503265500069, 0.007868009619414806, 0.06754675507545471, -0.008249367587268353, -0.0042796507477760315, -0.03168556094169617, 0.038132503628730774, 0.023741992190480232, 0.03976378217339516, 0.08943113684654236, 0.04517057538032532, 0.013354821130633354 ]
[ 0.0011818280909210443, 0.039350636303424835, -0.045164044946432114, 0.01378973200917244, -0.043310754001140594, -0.004590392112731934, 0.003937938250601292, 0.015530455857515335, 0.044242359697818756, 0.023623738437891006, -0.033646360039711, -0.015004932880401611, -0.04057067632675171, -0.0406995564699173, 0.017437081784009933, -0.015026894398033619, -0.017852019518613815, 0.024203002452850342, 0.008402425795793533, 0.03602335974574089, -0.023447636514902115, 0.022427557036280632, -0.010248376987874508, 0.017116880044341087, 0.017917761579155922, 0.03255939111113548, -0.018633203580975533, -0.017011145129799843, 0.0068774232640862465, -0.11836626380681992, -0.05151652917265892, -0.014773869886994362, -0.02121887169778347, 0.041145965456962585, -0.04065665975213051, -0.007101745344698429, 0.00993404071778059, 0.06298887729644775, -0.011739342473447323, -0.024456046521663666, -0.03841373324394226, -0.01219678483903408, 0.019587785005569458, 0.016316771507263184, 0.027288295328617096, -0.016647161915898323, 0.0073828925378620625, -0.03463372960686684, 0.0076364013366401196, -0.022120235487818718, -0.038526762276887894, 0.03656277433037758, -0.007431726902723312, 0.020958010107278824, 0.03943528234958649, 0.002520547714084387, 0.019554680213332176, -0.01854036934673786, -0.019968880340456963, -0.005485313944518566, -0.04483603686094284, 0.024038882926106453, -0.016134431585669518, -0.01834806241095066, 0.019996752962470055, -0.009512030519545078, 0.01258247159421444, -0.029142223298549652, 0.039079226553440094, -0.02384301833808422, 0.002564607420936227, 0.01777777075767517, 0.0072209397330880165, -0.023043368011713028, -0.022409195080399513, 0.03534669056534767, -0.002522623399272561, 0.0016665317816659808, 0.02478826977312565, -0.017426233738660812, -0.02851761505007744, 0.012486930005252361, 0.02830827608704567, -0.030600788071751595, 0.030212579295039177, -0.04445553198456764, 0.014036317355930805, 0.005246562417596579, 0.010880524292588234, 0.0019585760310292244, -0.00014652841491624713, 0.02074161171913147, -0.019423991441726685, 0.02619769610464573, -0.08795884251594543, 0.007901527918875217, -0.015035698190331459, -0.0361969918012619, -0.002986650448292494, 0.8419748544692993, 0.009958656504750252, 0.05249183252453804, 0.04785916209220886, 0.021943632513284683, 0.005300159566104412, -0.023964866995811462, -0.002787170000374317, -0.014474665746092796, -0.009652768261730671, -0.038801539689302444, 0.038202788680791855, -0.005572705529630184, 0.012373783625662327, 0.027649063616991043, 0.022588275372982025, 0.05311914160847664, 0.020714981481432915, -0.0004420542099978775, -0.02290717139840126, 0.01323703769594431, 0.023840920999646187, -0.02783789671957493, -0.022394372150301933, -0.0005735375452786684, 0.005731676705181599, -0.16961412131786346, -0.008227234706282616, -7.846292548624302e-33, 0.018733616918325424, -0.016487164422869682, 0.009059234522283077, 0.008446398191154003, 0.013478247448801994, -0.016521558165550232, -0.010835563763976097, 0.04709671810269356, 0.010631618089973927, -0.029515450820326805, 0.019305052235722542, -0.007148412987589836, 0.008574719540774822, -0.031214438378810883, 0.055029239505529404, -0.03943837434053421, -0.012571776285767555, 0.01317963469773531, 0.011142240837216377, 0.027673423290252686, 0.02376672625541687, 0.016411134973168373, 0.009522759355604649, -0.00584615021944046, 0.05112481489777565, 0.03691548481583595, 0.010568336583673954, -0.006364425644278526, -0.026725709438323975, -0.043166905641555786, 0.01965157315135002, 0.02173110656440258, 0.018369080498814583, -0.01887509599328041, 0.024803003296256065, -0.052904825657606125, 0.02361166663467884, 0.005882622674107552, 0.008235972374677658, -0.042445119470357895, -0.009845714084804058, -0.025280410423874855, -0.00867881253361702, -0.0042701344937086105, -0.0204638484865427, -0.015384802594780922, 0.003999963402748108, 0.06392788887023926, 0.026889190077781677, -0.027977144345641136, 0.01631796360015869, 0.02260473743081093, -0.020058205351233482, 0.0028738025575876236, 0.009869003668427467, 0.01820242404937744, -0.04796518385410309, -0.016740206629037857, 0.03342536464333534, 0.012220186181366444, -0.0030536395497620106, 0.009390112943947315, -0.04642164707183838, 0.008981283754110336, -0.056354228407144547, -0.009754515253007412, -0.024129439145326614, -0.01926564984023571, 0.029462642967700958, 0.030057359486818314, -0.021458782255649567, 0.004449094645678997, -0.05402303487062454, -0.022281588986516, 0.03319718316197395, 0.02051912434399128, -0.01650994084775448, -0.025235477834939957, -0.010065842419862747, 0.020445343106985092, 0.010577877052128315, 0.04154706001281738, -0.011207357048988342, -0.006278403103351593, -0.007361667230725288, -0.00236887508071959, 0.0018331275787204504, 0.020541571080684662, -0.03820887580513954, -0.027414431795477867, 0.044063977897167206, 0.03493272140622139, -0.014114386402070522, -0.03051803447306156, -0.030496757477521896, 7.787019715352026e-33, -0.014367354102432728, -0.049156490713357925, -0.027619753032922745, 0.02381330356001854, -0.003393633756786585, 0.002939995378255844, -0.012226082384586334, -0.012325865216553211, -0.0376664474606514, 0.04092644155025482, -0.017776669934391975, 0.006998160388320684, -0.021522043272852898, -0.004362455569207668, 0.02925832010805607, -0.035143036395311356, 0.003726961789652705, -0.012062030844390392, 0.04664243012666702, 0.013124629855155945, 0.03353331610560417, 0.019964536651968956, 0.03672361746430397, -0.014019444584846497, -0.0314783975481987, 0.01835167594254017, -0.044066738337278366, -0.021554432809352875, -0.01676914468407631, 0.001082162605598569, -0.01954282447695732, -0.029511572793126106, 0.003739529987797141, -0.06053268164396286, -0.04368054121732712, 0.005612964741885662, 0.028420783579349518, -0.014336085878312588, 0.019653726369142532, 0.024525592103600502, 0.016355164349079132, 0.006955489981919527, -0.0003546798834577203, 0.01070344913750887, 0.02451188489794731, -0.04201658070087433, 0.002753017470240593, 0.007230532821267843, 0.023381300270557404, 0.008497832342982292, 0.016608549281954765, -0.028589237481355667, -0.01003240142017603, 0.007404871750622988, -0.02718324586749077, 0.010392369702458382, -0.015548553317785263, -0.05426179990172386, -0.007830794900655746, -0.00033530639484524727, -0.025321006774902344, 0.026454590260982513, 0.011924535036087036, 0.034636490046978, -0.0010601368267089128, 0.03854420408606529, 0.008101165294647217, 0.007593771908432245, -0.0061968425288796425, -0.0020233076065778732, -0.03562399744987488, 0.005666010547429323, -0.003675915068015456, 0.0448421873152256, 0.0067916931584477425, -0.005712731741368771, -0.0145163768902421, 0.005165313370525837, 0.0474105179309845, 0.006259264424443245, 0.06420870870351791, -0.05024715140461922, 0.022921709343791008, -0.01750306971371174, -0.03646138682961464, -0.020919444039463997, 0.0013515969039872289, -0.0022841994650661945, -0.026741722598671913, -0.007538024336099625, -0.03183944895863533, 0.018622450530529022, 0.0030395183712244034, 0.010379594750702381, -0.009193472564220428, -1.3369369611382353e-8, 0.0014608531491830945, 0.02731299214065075, 0.0015033051604405046, 0.032626137137413025, 0.01503059733659029, -0.009370933286845684, -0.0046206628903746605, -0.014985745772719383, 0.024178823456168175, -0.019906319677829742, 0.012897766195237637, 0.028413960710167885, 0.005409836769104004, -0.023359982296824455, 0.020158834755420685, -0.024704575538635254, 0.010236074216663837, -0.038239795714616776, 0.017563460394740105, 0.01858752779662609, 0.04402531310915947, 0.030468834564089775, -0.01427970826625824, 0.003596722148358822, 0.021459097042679787, 0.006965806242078543, 0.01316889189183712, -0.05837851017713547, 0.010963939130306244, 0.02526695840060711, 0.008890352211892605, -0.032451484352350235, 0.0121710654348135, 0.04577409103512764, -0.02560381032526493, -0.04715372249484062, 0.008781122975051403, 0.005063603166490793, 0.04073498770594597, 0.02243538200855255, -0.009840904735028744, -0.03264845535159111, -0.009105192497372627, -0.016597870737314224, 0.02165716327726841, -0.047127775847911835, -0.040543023496866226, 0.002294613514095545, 0.004689148161560297, -0.02499658614397049, 0.01613089069724083, 0.02515847608447075, 0.011973703280091286, 0.009332739748060703, -0.0017321280902251601, 0.012698544189333916, 0.016944298520684242, -0.0068996381014585495, -0.05188770592212677, 0.013779716566205025, 0.010137727484107018, 0.012000528164207935, -0.04775412380695343, -0.008179021999239922 ]
coding-reduce-fields-delay-calculations
https://markhneedham.com/blog/2009/09/02/coding-reduce-fields-delay-calculations
false
2009-09-20 12:06:04
TDD: Keeping test intent when using test builders
[ "tdd", "test-builder" ]
[ "Testing" ]
While the http://www.markhneedham.com/blog/2009/01/21/c-builder-pattern-still-useful-for-test-data/[test data builder] pattern is quite a useful one for simplifying the creation of test data in our tests I think we need to be quite careful when using it that we don't lose the intent of the test that we're writing. The main advantage that I see with this pattern is that by using it we can provide default values for properties of our objects which aren't important for the bit of functionality that we're currently testing but which need to be provided otherwise the test can't actually be run. In order for our tests to express their intent clearly it is still important to explicitly set the values that we care about for the current test otherwise it will become quite difficult to work out why a test is failing when it does. For example I recently came across a failing test similar to this: [source,csharp] ---- [Test] public void ShouldTestSomeCoolStuff() { var foo = new FooBuilder().Build(); var yetAnotherObject = someOtherObject.ThatTakesIn(foo); Assert.AreEqual("DEFAULTBAR", yetAnotherObject.Bar); Assert.AreEqual("DEFAULTBAZ", yetAnotherObject.Baz) } ---- It was failing because the actual values being returned were 'defaultBar' and 'defaultBaz' which initially made us wonder if there was some capitalisation going wrong in one of our objects. As it turned out the values being returned were just the default ones from the 'FooBuilder' and we were asserting the wrong thing: [source,csharp] ---- public class FooBuilder { private string bar = "defaultBar"; private string baz = "defaultBaz"; public FooBuilder Bar(string value) { bar = value; return this; } public FooBuilder Baz(string value) { baz = value; return this; } public Foo Build() { return new Foo(bar, baz); } } ---- While it didn't take us too long to get to the cause of the problem I think it would have made our lives easier if we'd been able to tell why it was failing just from looking at the test instead of having to look in a couple of different classes to figure it out. A test written more like this would help us to achieve that: [source,csharp] ---- [Test] public void ShouldTestSomeCoolStuff() { var foo = new FooBuilder().Bar("myBar").Baz("myBaz").Build(); var yetAnotherObject = someOtherObject.ThatTakesIn(foo); Assert.AreEqual("myBar", yetAnotherObject.Bar); Assert.AreEqual("myBaz", yetAnotherObject.Baz) } ---- Then if we want to remove duplication we can just put the expected values into more descriptive variables: [source,csharp] ---- [Test] public void ShouldTestSomeCoolStuff() { var expectedBar = "myBar"; var expectedBaz = "myBaz"; var foo = new FooBuilder().Bar(expectedBar).Baz(expectedBaz).Build(); var yetAnotherObject = someOtherObject.ThatTakesIn(foo); Assert.AreEqual(expectedBar, yetAnotherObject.Bar); Assert.AreEqual(expectedBaz, yetAnotherObject.Baz) } ---- There's a bit more test code than in the first example but if the test fails again we should be able to work out why more quickly than before because we are now more explicit about which values are actually important for this test.
null
null
[ 0.016597246751189232, -0.01395718939602375, 0.005136972758919001, 0.030700182542204857, 0.08663416653871536, 0.008315321989357471, 0.03680817410349846, 0.027741946280002594, 0.017431363463401794, -0.02290257066488266, -0.010568233206868172, -0.010673941113054752, -0.07431606203317642, 0.018668098375201225, -0.03640890121459961, 0.06438492238521576, 0.08396463841199875, 0.0012190061388537288, 0.046533867716789246, 0.0018858142429962754, 0.006965934298932552, 0.03396335989236832, -0.011134497821331024, 0.054364822804927826, 0.0448632650077343, 0.011964144185185432, 0.007510276976972818, 0.004422921221703291, -0.056244272738695145, -0.006567541975528002, 0.031142357736825943, 0.016826177015900612, 0.02553672343492508, -0.007532198913395405, 0.0013885741354897618, -0.023226913064718246, -0.018772505223751068, 0.007002008613198996, -0.009477133862674236, 0.014082467183470726, -0.08371170610189438, 0.011765383183956146, -0.0025919494219124317, 0.00015833062934689224, -0.04033064842224121, -0.012832474894821644, -0.05798454210162163, -0.01508309692144394, -0.02631393074989319, -0.02110798843204975, -0.06577862799167633, 0.04756923019886017, -0.05970170348882675, -0.010287047363817692, 0.01779637299478054, 0.03815917670726776, 0.03510194644331932, -0.07757804542779922, 0.02135835960507393, -0.04333343729376793, 0.0012220893986523151, 0.005644148215651512, -0.011708238162100315, 0.031027929857373238, 0.020867031067609787, -0.009998155757784843, -0.00979015976190567, 0.04261511191725731, -0.045744504779577255, -0.016004951670765877, -0.031738538295030594, -0.00748880160972476, -0.0010450471891090274, -0.02320692501962185, 0.004093843977898359, -0.019411997869610786, -0.0062805586494505405, 0.03139856457710266, 0.028397534042596817, 0.042041223496198654, -0.0007267725886777043, -0.00033409916795790195, 0.038832888007164, 0.002646134700626135, 0.020697705447673798, -0.049930181354284286, -0.024099024012684822, -0.0055655911564826965, -0.011395303532481194, 0.0714951679110527, 0.023539679124951363, -0.027528995648026466, -0.003363826312124729, 0.019260985776782036, -0.00121435453183949, -0.0038795857690274715, 0.018766164779663086, -0.01705406978726387, -0.0029354053549468517, -0.0006081162136979401, -0.03778630495071411, -0.0028094262816011906, 0.0091472789645195, 0.02104565128684044, -0.0645846277475357, -0.02977040223777294, -0.06049492955207825, -0.01674553193151951, 0.00006597044557565823, 0.03344425931572914, -0.051624082028865814, 0.0207781083881855, -0.0036699415650218725, -0.005923731252551079, -0.08053509891033173, 0.042245857417583466, 0.016266033053398132, -0.0010433244751766324, -0.023092972114682198, 0.03309629112482071, 0.03445180505514145, 0.02241264469921589, 0.001608748221769929, 0.05723867565393448, -0.006297040265053511, 0.039473164826631546, -0.001760701765306294, 0.08361118286848068, 0.003573305206373334, -0.06447312980890274, -0.010148937813937664, 0.05027789995074272, 0.009151320904493332, -0.0028721645940095186, 0.002638991689309478, -0.01588968187570572, 0.007371054962277412, -0.01797645166516304, 0.03059981018304825, 0.05131202191114426, -0.038299672305583954, -0.05412852391600609, 0.04854903370141983, -0.008354646153748035, 0.005912169814109802, 0.017879100516438484, -0.03414006903767586, -0.0017548705218359828, -0.01718066819012165, 0.06356257945299149, 0.008235696703195572, 0.0768812820315361, 0.05878494679927826, -0.04303688555955887, -0.0062736510299146175, 0.07436446845531464, -0.0009929214138537645, 0.02128460630774498, 0.008495081216096878, 0.033685676753520966, 0.049881335347890854, 0.03711770847439766, 0.028511125594377518, 0.01622786931693554, 0.01620866358280182, 0.018521727994084358, -0.0009383169235661626, 0.03350919112563133, -0.010915524326264858, 0.007290415931493044, -0.05365562438964844, -0.06400793790817261, 0.05534461885690689, -0.044009219855070114, -0.0018765865825116634, 0.013567052781581879, 0.0688997432589531, -0.008902821689844131, 0.054346196353435516, -0.002030511386692524, -0.06369014829397202, 0.025124317035079002, -0.0014883955009281635, 0.014856351539492607, 0.030527418479323387, -0.013403409160673618, 0.04907071217894554, 0.037084873765707016, -0.005029716528952122, 0.02850538305938244, -0.06857461482286453, -0.054413337260484695, -0.010124552994966507, -0.0125181395560503, 0.054106783121824265, -0.0309252068400383, -0.01451391726732254, 0.09762603789567947, 0.016166741028428078, 0.04550697281956673, 0.03015328198671341, -0.0126236192882061, -0.009563510306179523, -0.03650975227355957, -0.03323689475655556, 0.04406717047095299, 0.04893733188509941, -0.0022446836810559034, -0.047606077045202255, 0.015022634528577328, 0.013087627477943897, 0.030373724177479744, 0.031046245247125626, -0.007256749551743269, 0.044487763196229935, -0.014569875784218311, 0.032698556780815125, -0.037918731570243835, 0.06287965178489685, -0.07751118391752243, -0.005912146531045437, -0.017125608399510384, -0.02198787033557892, -0.0029115863144397736, -0.015827689319849014, 0.13421130180358887, 0.04174899682402611, -0.046839047223329544, -0.056280579417943954, 0.04346976429224014, 0.01236487366259098, -0.018032222986221313, 0.02251422591507435, -0.013575504533946514, 0.018407635390758514, -0.011757795698940754, -0.04664323106408119, -0.003276827046647668, 0.03229781985282898, -0.015889331698417664, 0.033989667892456055, 0.08286996930837631, -0.0404069721698761, 0.049033962190151215, -0.01194730680435896, -0.02512679621577263, 0.016667453572154045, -0.04372060298919678, -0.061354976147413254, -0.007508713752031326, 0.031225524842739105, -0.010761028155684471, 0.054721347987651825, -0.017906848341226578, -0.029758358374238014, -0.021757688373327255, -0.046936746686697006, -0.004170468542724848, 0.015759436413645744, 0.0667126476764679, 0.0005290209664963186, 0.05977008864283562, -0.016229374334216118, 0.018340284004807472, -0.00020448501163627952, -0.050101105123758316, 0.02175024151802063, 0.010449530556797981, -0.014109327457845211, 0.04606930911540985, -0.03675299137830734, 0.008161595091223717, 0.022888321429491043, 0.025239525362849236, -0.029511502012610435, 0.001009669154882431, 0.036439258605241776, -0.00306751299649477, -0.030353287234902382, -0.017770929262042046, -0.03965003043413162, 0.03067619353532791, -0.055412936955690384, -0.03133933246135712, 0.044177792966365814, -0.07493610680103302, 0.009737975895404816, -0.06148599088191986, -0.07343136519193649, -0.0071022664196789265, 0.024951515719294548, 0.024324912577867508, 0.011986383236944675, 0.04093699902296066, 0.09048011153936386, 0.03133493289351463, 0.0034371146466583014, 0.003910981584340334, 0.006190482061356306, 0.025287562981247902, -0.0008390398579649627, 0.025528155267238617, 0.05096273496747017, -0.0004765089543070644, 0.00852235034108162, -0.031111890450119972, 0.008589573204517365, 0.0024710693396627903, -0.2463960200548172, 0.023021051660180092, -0.0023858414497226477, -0.04605957493185997, 0.01977420412003994, -0.014505401253700256, 0.0106784887611866, -0.027125518769025803, -0.021566543728113174, 0.06858047097921371, -0.024584263563156128, -0.06392645835876465, -0.005891894921660423, 0.06209087744355202, -0.011677133850753307, -0.000029617831387440674, 0.00914315227419138, -0.031895384192466736, 0.021111493930220604, 0.04006045311689377, 0.009408257901668549, -0.06258524954319, 0.0300841573625803, 0.02482064813375473, 0.042285047471523285, 0.058630459010601044, -0.09386024624109268, 0.05779924988746643, -0.030569536611437798, -0.016274088993668556, 0.004812844097614288, -0.002361948834732175, 0.016318578273057938, -0.024997368454933167, -0.03725334629416466, 0.015946103259921074, 0.010370859876275063, 0.017779778689146042, -0.021984733641147614, 0.037431750446558, -0.031190238893032074, -0.07481475919485092, -0.029124867171049118, 0.016662022098898888, 0.06315086781978607, -0.011331283487379551, -0.0900140255689621, -0.0003177707549184561, -0.03254064545035362, 0.0611068494617939, -0.04469699040055275, -0.03615611046552658, -0.004724934231489897, 0.04845516383647919, -0.03574207425117493, -0.02446887269616127, -0.005273652728646994, -0.02935532107949257, -0.04425067827105522, -0.01713356375694275, -0.017559722065925598, -0.04526420310139656, 0.015508441254496574, -0.05080993101000786, -0.02736769989132881, -0.07512509077787399, -0.06632553040981293, -0.02573888562619686, 0.0815294161438942, 0.03323540464043617, -0.012260537594556808, 0.011739041656255722, 0.004307897295802832, -0.131601020693779, -0.006229116581380367, -0.046929147094488144, -0.025013763457536697, -0.052503541111946106, -0.035313960164785385, 0.048701535910367966, -0.03264933452010155, -0.04059169441461563, 0.05154075846076012, 0.029192036017775536, 0.016059888526797295, 0.011687178164720535, -0.000528370204847306, 0.004476705100387335, -0.03734868764877319, 0.021206485107541084, 0.05967871844768524, -0.01475585252046585, -0.008315304294228554, -0.043675389140844345, -0.0023324955254793167, 0.027835100889205933, 0.028475679457187653, -0.015713898465037346, 0.02072950452566147, 0.004296804312616587, 0.04346981644630432, -0.03095269203186035, 0.030492262914776802, -0.025697628036141396, 0.011692862026393414, -0.02137323096394539, -0.07559225708246231, 0.04643290117383003, 0.018197055906057358, 0.01894299127161503, -0.00904486421495676, -0.011384102515876293, -0.001962477108463645, -0.029589761048555374, -0.02666236273944378, -0.04469611868262291, -0.009674505330622196, 0.024659989401698112, -0.011344021186232567, -0.01869235374033451, -0.034372229129076004, 0.012266873382031918, 0.006500831339508295, -0.012142015621066093, -0.05043340474367142, -0.02650207281112671, -0.0014299764297902584, -0.014113090932369232, -0.008489319123327732, 0.016298478469252586, -0.018097132444381714, 0.032139018177986145, -0.0018305449048057199, -0.030717989429831505, 0.012010221369564533, 0.002370546804741025, -0.00800147745758295, -0.03268732875585556, -0.03965767100453377, -0.031014330685138702, 0.004214582033455372, -0.011077756993472576, 0.040528811514377594, 0.02434738725423813, 0.03805339336395264, -0.006765475496649742, 0.05651869997382164, 0.007438621949404478, 0.006092599593102932, 0.011204329319298267, 0.016807006672024727, -0.07261232286691666, 0.047336604446172714, -0.0380534790456295, -0.02819059230387211, -0.036341749131679535, 0.04200800880789757, -0.03253631293773651, -0.04891841113567352, -0.03144490718841553, 0.0451488234102726, -0.04930198937654495, -0.025441158562898636, -0.03428233414888382, 0.014799398370087147, 0.049533165991306305, -0.010256683453917503, 0.045390285551548004, -0.036420855671167374, -0.0074082124046981335, 0.006028483156114817, -0.0002009366435231641, -0.039352234452962875, 0.035618409514427185, 0.004419143311679363, -0.025385042652487755, -0.016562415286898613, -0.0259010698646307, 0.04739093407988548, 0.02829916775226593, -0.011469663120806217, -0.022525181993842125, 0.008605245500802994, 0.009477912448346615, 0.049342237412929535, 0.007737842388451099, -0.0029570197220891714, -0.006486183498054743, -0.03592950105667114, -0.006941184867173433, -0.021351207047700882, -0.03143603354692459, 0.0002606691268738359, 0.027415847405791283, -0.05437171831727028, -0.07371249049901962, 0.0224843118339777, 0.03183445334434509, 0.028541047126054764, 0.026194781064987183, 0.0014019071822986007, -0.007208297029137611, -0.024410277605056763, 0.015653634443879128, 0.07067572325468063, -0.03796789422631264, 0.016011735424399376, 0.0013675863156095147, 0.00006257554196054116, 0.04391396790742874, 0.026105305179953575, -0.05167168751358986, 0.008702524937689304, 0.0034186365082859993, 0.008303291164338589, -0.06167341396212578, -0.03990495949983597, -0.023888736963272095, 0.0256341565400362, -0.009945699013769627, -0.04292010888457298, -0.011507916264235973, 0.0036341066006571054, -0.006387879606336355, -0.026943590492010117, 0.014007464051246643, -0.04046374931931496, 0.009861914440989494, 0.05498502403497696, -0.04602484405040741, 0.022750919684767723, -0.015607762150466442, 0.02704567089676857, 0.014346213079988956, -0.01673215441405773, -0.05135726183652878, -0.06378550827503204, 0.007603569887578487, -0.01639469526708126, 0.040398601442575455, 0.001843151287175715, -0.031249959021806717, -0.043055854737758636, -0.01639878749847412, -0.02004839852452278, 0.017985336482524872, 0.004510316997766495, -0.02069227211177349, 0.014706001617014408, 0.07237479835748672, -0.01966148056089878, 0.04232645407319069, 0.012187539599835873, -0.008255341090261936, 0.05333452671766281, -0.05386098846793175, -0.023292871192097664, -0.031060997396707535, -0.07121585309505463, 0.021606920287013054, 0.03528657555580139, 0.016996314749121666, -0.03342156112194061, 0.05010714381933212, 0.03638215363025665, 0.026514090597629547, 0.0019455674337223172, 0.022970283403992653, 0.04692033305764198, -0.04576314613223076, -0.007548999972641468, -0.08210160583257675, 0.04679219424724579, 0.057983286678791046, 0.01746453158557415, -0.006879124324768782, -0.03838621452450752, -0.017032919451594353, 0.024401310831308365, -0.04875301942229271, -0.033397823572158813, 0.02180597372353077, 0.014687097631394863, -0.008247273974120617, 0.009943591430783272, -0.04221624135971069, 0.03588434308767319, 0.004511671140789986, -0.036417629569768906, -0.044085338711738586, -0.03497205674648285, 0.05211373046040535, 0.016914358362555504, 0.009122748859226704, -0.03608417510986328, 0.00797262229025364, 0.05016058683395386, 0.04020757973194122, 0.05897348001599312, 0.029532266780734062, -0.03313595429062843, 0.04340799152851105, 0.03898259997367859, -0.015235611237585545, 0.005533641669899225, -0.008013893850147724, 0.0011798649793490767, -0.04924870654940605, 0.006066669709980488, 0.020397141575813293, -0.03467417135834694, -0.03957895562052727, 0.05952177569270134, 0.010696955025196075, -0.04501589015126228, -0.04641343653202057, -0.008946535177528858, -0.03558861091732979, -0.02582594007253647, 0.004633023403584957, 0.019851667806506157, -0.041077837347984314, 0.050848450511693954, 0.012043256312608719, 0.002417057054117322, 0.06675335764884949, -0.007753000594675541, -0.01013186015188694, 0.002139362273737788, 0.08974052965641022, 0.08072420954704285, 0.015786750242114067, 0.021956339478492737, 0.038880955427885056, -0.01592397317290306, -0.057416971772909164, 0.014998001977801323, -0.043329980224370956, 0.005140210967510939, -0.012773938477039337, 0.006081175524741411, 0.055032651871442795, -0.005058882758021355, 0.056560467928647995, -0.04376710206270218, 0.0073782335966825485, -0.0023195056710392237, 0.052863042801618576, 0.03770354390144348, 0.03684202954173088, 0.000773654377553612, 0.01492283958941698, 0.011743646115064621, -0.014312515035271645, 0.008043299429118633, -0.017864538356661797, -0.027153147384524345, 0.03767895698547363, 0.006261798087507486, 0.0035180868580937386, 0.009693680331110954, 0.03400639444589615, 0.07893984764814377, -0.02482842095196247, -0.01592731475830078, 0.005341087467968464, 0.01740887202322483, 0.018056098371744156, -0.02371913008391857, -0.009736879728734493, -0.03884969279170036, -0.01591385155916214, -0.007205060683190823, 0.008058197796344757, -0.03170560672879219, -0.019882887601852417, 0.03275243192911148, -0.01841709017753601, 0.017272109165787697, 0.028009142726659775, 0.01806141622364521, -0.03086870349943638, -0.05617528408765793, -0.053232863545417786, -0.013397905975580215, -0.07297376543283463, -0.032298628240823746, 0.019788939505815506, -0.020476050674915314, -0.021969003602862358, -0.043624747544527054, -0.008012456819415092, -0.015811240300536156, 0.053410161286592484, -0.04539107531309128, -0.023484807461500168, 0.04392177239060402, 0.007970810867846012, 0.051987044513225555, 0.018630320206284523, 0.023178454488515854, 0.00950467586517334, -0.012069644406437874, -0.0424053892493248, -0.02695506252348423, 0.03349755331873894, -0.008808605372905731, 0.023731546476483345, -0.0916479229927063, 0.025489727035164833, -0.004220300819724798, 0.0009705511620268226, -0.076212078332901, 0.012450169771909714, 0.00747790839523077, -0.021106000989675522, 0.051220592111349106, -0.03641853481531143, -0.017624475061893463, -0.025899872183799744, 0.007869900204241276, 0.02286117896437645, 0.008835827000439167, 0.050528787076473236, -0.033614836633205414, 0.0707966759800911, 0.037269774824380875, -0.04162853583693504, -0.019925503060221672, -0.01467739138752222, -0.01229370292276144, 0.013486295938491821, -0.03176274523139, -0.026506314054131508, -0.04683863744139671, -0.06338683515787125, -0.00037677845102734864, -0.004394675604999065, -0.03871550038456917, -0.02438195049762726, 0.016901006922125816, 0.037819474935531616, -0.05209726095199585, 0.009085417725145817, -0.04894845932722092, 0.03743178769946098, -0.03735269233584404, -0.030128762125968933, 0.022085119038820267, 0.030268479138612747, -0.002477623289451003, 0.023187953978776932, 0.028871241956949234, -0.032493967562913895, -0.012423397973179817, -0.02503674291074276, 0.03689920902252197, 0.02903931774199009, -0.023239076137542725, 0.010002019815146923 ]
[ -0.09475092589855194, 0.030136721208691597, -0.019091179594397545, -0.007172821555286646, 0.025449533015489578, -0.003372488310560584, 0.02251889370381832, 0.003680149093270302, 0.017504271119832993, -0.01698550395667553, -0.008421444334089756, -0.035383570939302444, -0.02147013321518898, 0.0035810074768960476, 0.047936685383319855, -0.0038006696850061417, -0.027883972972631454, -0.031775202602148056, 0.007280449382960796, 0.03293802589178085, 0.014135845936834812, -0.01543455384671688, -0.0331270769238472, -0.033522091805934906, 0.03948017582297325, 0.04486797749996185, 0.044060204178094864, -0.03943923860788345, 0.015149715356528759, -0.2340797632932663, -0.012100585736334324, -0.00006647563714068383, 0.02901017852127552, -0.028913022950291634, 0.006258884444832802, 0.046909984201192856, 0.011357790790498257, 0.050145965069532394, 0.0010308369528502226, 0.06030493602156639, -0.00932932086288929, 0.059407368302345276, -0.050618767738342285, -0.0001000403135549277, 0.028214504942297935, 0.027871204540133476, 0.007547135930508375, -0.033111169934272766, -0.013651320710778236, 0.006729556247591972, -0.03366365283727646, -0.031648188829422, -0.008319947868585587, -0.03325678035616875, 0.022815093398094177, 0.028592383489012718, 0.05739466845989227, 0.04011231288313866, 0.025080345571041107, 0.03772249445319176, -0.004722601734101772, -0.02237873710691929, -0.12964960932731628, 0.06850654631853104, 0.04421602934598923, 0.025977348908782005, -0.020897092297673225, -0.020815106108784676, -0.0032796694431453943, 0.10372336208820343, 0.016786230728030205, -0.03987589105963707, -0.01112279575318098, 0.06138375401496887, 0.02811693213880062, -0.0058825272135436535, 0.0027846673037856817, -0.003930925391614437, 0.06351908296346664, -0.032410167157649994, -0.06936334818601608, -0.03382780775427818, 0.018580362200737, -0.001191972754895687, 0.003560998011380434, 0.019942957907915115, -0.03019280545413494, 0.018380586057901382, 0.05029812827706337, 0.03775009140372276, 0.046861227601766586, -0.03756539523601532, 0.0010727549670264125, 0.02932025119662285, -0.07469356805086136, -0.003916600719094276, -0.010748594999313354, -0.009651843458414078, -0.04616512358188629, 0.41045790910720825, -0.05101734772324562, -0.012759395875036716, 0.024114765226840973, 0.046197470277547836, -0.010936903767287731, 0.0033843384589999914, 0.0036802738904953003, -0.04582861065864563, 0.015218411572277546, -0.06651124358177185, 0.000318238657200709, 0.0038613928481936455, 0.039415523409843445, -0.07512864470481873, -0.032178085297346115, 0.01922156661748886, 0.024163508787751198, -0.015069013461470604, 0.014630625024437904, 0.03284135460853577, 0.000028341839424683712, 0.004367101471871138, 0.026345757767558098, -0.001799750025384128, 0.012027803808450699, -0.034550365060567856, 0.000041742194298421964, 0.04753511771559715, 0.020546238869428635, -0.004441891331225634, 0.03683796525001526, -0.04909646883606911, -0.07891638576984406, 0.01819544844329357, -0.006790834479033947, 0.019388552755117416, 0.03277568146586418, -0.020918117836117744, 0.0005377711495384574, 0.006354262121021748, 0.005354132503271103, 0.007876088842749596, 0.03230612352490425, -0.024778829887509346, -0.05559154972434044, 0.07184957712888718, -0.014250712469220161, 0.012535465881228447, -0.024862797930836678, -0.0416867621243, -0.01127701997756958, 0.02316427417099476, -0.01253010705113411, -0.07535818219184875, 0.016354110091924667, 0.017168350517749786, 0.037229835987091064, -0.008936907164752483, -0.04060637205839157, -0.045904096215963364, -0.059530120342969894, 0.03071615658700466, -0.06201077625155449, 0.04326894134283066, 0.04055023565888405, -0.07101602107286453, -0.047817159444093704, 0.02902691811323166, 0.016265947371721268, -0.0772269070148468, -0.000736550020519644, 0.011931564658880234, -0.03547440096735954, -0.029352819547057152, 0.02735321782529354, -0.018074041232466698, -0.026191547513008118, -0.006483952049165964, 0.03742257133126259, 0.02787773869931698, 0.043199390172958374, 0.004170435015112162, -0.05242069438099861, 0.026707414537668228, -0.004338136874139309, -0.07238612323999405, -0.061628080904483795, 0.00447995075955987, -0.004795775283128023, -0.046443890780210495, -0.03287610784173012, -0.02896057441830635, -0.07000270485877991, 0.0891922190785408, -0.03730636090040207, -0.03290880471467972, 0.059046193957328796, -0.02330915629863739, 0.0005230483948253095, -0.03511437773704529, 0.011208610609173775, 0.040409523993730545, 0.021322987973690033, 0.03745177015662193, -0.08268920332193375, 0.07032860070466995, 0.056484777480363846, -0.07766331732273102, 0.08686273545026779, 0.023784879595041275, -0.040060680359601974, -0.007593109272420406, -0.038864441215991974, -0.007107700686901808, -0.010298275388777256, -0.039656903594732285, -0.014918862842023373, 0.029097333550453186, 0.014610720798373222, 0.02606973424553871, -0.05227713659405708, 0.01507286075502634, 0.009200810454785824, -0.3461792469024658, -0.04223910719156265, -0.02555031143128872, 0.0037738028913736343, 0.01817273162305355, -0.04951883852481842, -0.00379188428632915, 0.017496855929493904, -0.04533293470740318, -0.02703029476106167, 0.06359783560037613, -0.027438689023256302, -0.01794901303946972, -0.10665523260831833, -0.0076713054440915585, -0.02845119684934616, -0.02987608313560486, -0.07598800212144852, -0.044894520193338394, 0.03776274994015694, 0.0006430071662180126, -0.00463383411988616, 0.008623954840004444, -0.0798298567533493, 0.013649141415953636, -0.05002107471227646, 0.0741499736905098, -0.018975375220179558, 0.09434571117162704, -0.03180987387895584, 0.054104283452034, 0.02187492325901985, 0.018114672973752022, -0.07796856760978699, 0.012812741100788116, -0.032904431223869324, -0.034480687230825424, 0.024790294468402863, 0.02964290976524353, -0.008285586722195148, -0.012647569179534912, 0.009807257913053036, -0.03251630812883377, -0.06194816529750824, 0.002652218332514167, -0.012670240364968777, 0.0026627194602042437, 0.012032131664454937, -0.037823207676410675, 0.07148987799882889, -0.002208273857831955, 0.011925355531275272, 0.005218214355409145, 0.014573334716260433, 0.03407230228185654, -0.04264918714761734, -0.07814744114875793, 0.003642743220552802, 0.003594634821638465, -0.025705797597765923, 0.052650220692157745, 0.0540282316505909, 0.05640823021531105, -0.030765868723392487, -0.0051984479650855064, -0.0013873463030904531, -0.002975155133754015, -0.029858456924557686, 0.031904637813568115, -0.034656789153814316, -0.03705250471830368, 0.11109602451324463, -0.02005152963101864, -0.04356148838996887, 0.03505595773458481, 0.0211329385638237, -0.0168206375092268, -0.004643848631531, 0.04425767809152603, -0.010764673352241516, 0.006547141820192337, -0.006165183614939451, 0.011747532524168491, -0.021120266988873482, 0.03204524144530296, 0.05163241922855377, -0.01147045660763979, 0.02000037580728531, 0.07143238931894302, -0.03500985726714134, -0.016940902918577194, -0.004355845972895622, 0.012162814848124981, -0.04258928447961807, 0.07719359546899796, -0.008611051365733147, -0.23675426840782166, 0.01396912895143032, 0.04065414145588875, 0.05317732319235802, -0.0017321001505479217, 0.00815410353243351, 0.05001583695411682, -0.07211503386497498, 0.006826202385127544, 0.025676263496279716, 0.014337624423205853, 0.017015745863318443, 0.01263072807341814, 0.015093293972313404, 0.04129382595419884, -0.023581532761454582, 0.061903346329927444, -0.011524260975420475, 0.016469964757561684, -0.01873345859348774, 0.03454252704977989, 0.0022818264551460743, 0.2112242728471756, -0.0034618277568370104, 0.0350920595228672, -0.00650065066292882, 0.0252996739000082, 0.01814964786171913, 0.09403778612613678, 0.02713805064558983, 0.021069126203656197, -0.008549829944968224, 0.09512291848659515, 0.020908674225211143, 0.01743393763899803, -0.06598665565252304, -0.005812495481222868, -0.003186018904671073, 0.02487737312912941, -0.014569586142897606, 0.007098298519849777, 0.016473498195409775, -0.031538862735033035, 0.015150764025747776, 0.0958389937877655, 0.009530077688395977, -0.00424296036362648, -0.04379239305853844, -0.036104198545217514, -0.022925710305571556, -0.03550637513399124, -0.056677673012018204, 0.00037712123594246805, -0.03009171038866043, 0.012414082884788513, 0.0624781996011734, 0.01792990043759346, -0.0243369173258543, 0.00586071889847517, 0.019515089690685272, 0.013188118115067482, 0.0340915210545063, 0.11881575733423233, 0.06634163856506348, 0.02023540437221527 ]
[ -0.034489527344703674, 0.05104446783661842, -0.02532033436000347, 0.03186829015612602, -0.048020463436841965, 0.021422183141112328, -0.02691861242055893, 0.012498075142502785, -0.011292685754597187, 0.01724148914217949, -0.030142219737172127, -0.035113152116537094, 0.005803660023957491, -0.04087947681546211, 0.05126175284385681, 0.010245556011795998, -0.0037458257284015417, -0.024891888722777367, 0.005845651496201754, 0.008777552284300327, -0.024463754147291183, 0.00790360663086176, 0.013839202001690865, -0.019434204325079918, 0.011975875124335289, -0.003734872443601489, -0.0030348473228514194, 0.019055599346756935, 0.038398414850234985, -0.1376776546239853, -0.017974013462662697, -0.007297854870557785, -0.012599827721714973, 0.02663358300924301, -0.017260488122701645, 0.013155898079276085, 0.058136072009801865, 0.03895866870880127, -0.005859945435076952, -0.0029989564791321754, 0.009478199295699596, 0.009509662166237831, 0.018199535086750984, 0.005081868264824152, -0.004717544186860323, 0.007968061603605747, -0.014193025417625904, -0.028380420058965683, -0.01643422618508339, -0.018915168941020966, -0.03464527428150177, -0.028975723311305046, -0.01640118658542633, 0.0027707626577466726, 0.02329912781715393, -0.008790637366473675, -0.0007842945633456111, -0.009945863857865334, 0.03778194263577461, -0.002965239342302084, 0.021985093131661415, -0.015326135791838169, -0.02676934003829956, -0.02014978602528572, 0.0086399856954813, -0.006606242153793573, -0.01129225455224514, 0.008891516365110874, 0.004391946829855442, -0.020977959036827087, -0.0043870266526937485, -0.02208428643643856, 0.00522878672927618, 0.012262898497283459, -0.008154275827109814, 0.028183091431856155, -0.01787901483476162, -0.010513614863157272, 0.04657065495848656, -0.015378977172076702, -0.038931384682655334, 0.00831015408039093, -0.03595562279224396, 0.00167100690305233, 0.026542358100414276, 0.035374660044908524, 0.00837016012519598, 0.02796470746397972, 0.018554020673036575, 0.04358547925949097, -0.0034023267216980457, 0.013203857466578484, 0.003067881567403674, 0.03698749840259552, -0.06530215591192245, -0.0016717880498617887, -0.004310276824980974, -0.01566045731306076, 0.01999274082481861, 0.8399692177772522, 0.0022628328297287226, 0.06759598106145859, 0.04746047779917717, 0.02152317576110363, -0.015614816918969154, -0.03120960108935833, -0.02187020517885685, 0.005322504788637161, 0.03836046904325485, -0.03456024080514908, 0.005066860932856798, 0.005185247864574194, 0.05552862584590912, -0.008749072439968586, 0.0025080819614231586, 0.005547759123146534, -0.004144092556089163, -0.009215188212692738, -0.025568274781107903, 0.03185184672474861, 0.004911127034574747, -0.010642762295901775, 0.007528392132371664, -0.0019481530180200934, 0.008355009369552135, -0.2000473290681839, -0.0025487823877483606, -8.768002811891842e-33, 0.08055933564901352, -0.029660247266292572, 0.024909131228923798, 0.016545988619327545, 0.006049877963960171, -0.002413508016616106, 0.03392165154218674, 0.06269136071205139, 0.018900826573371887, -0.049407709389925, 0.0379532091319561, -0.03435828909277916, -0.007833910174667835, -0.005780487321317196, 0.031258177012205124, -0.009346364066004753, -0.011787508614361286, 0.003916054964065552, -0.01983412727713585, 0.037341658025979996, 0.019011350348591805, 0.04048324003815651, -0.010032652877271175, -0.038090288639068604, 0.014803177677094936, -0.0168855432420969, 0.03619999438524246, 0.023356007412075996, -0.04096563905477524, -0.03435399383306503, -0.02893364243209362, -0.010059844702482224, 0.0034435021225363016, -0.0007610955508425832, 0.025099240243434906, -0.02810012362897396, -0.0005203972687013447, 0.03326917812228203, 0.005716872867196798, -0.016077790409326553, -0.01258536335080862, -0.017216527834534645, -0.049404580146074295, 0.026604928076267242, -0.025194376707077026, -0.049779921770095825, -0.016644254326820374, -0.021103527396917343, 0.03292334824800491, -0.0320868082344532, 0.016512371599674225, 0.04666635021567345, 0.0017515961080789566, 0.007842504419386387, -0.03673220053315163, 0.01673147641122341, -0.02626081183552742, -0.0016039321199059486, -0.025473754853010178, 0.01539697591215372, -0.003180010477080941, 0.002450380939990282, -0.033209044486284256, 0.024784311652183533, -0.02960907854139805, -0.02359090931713581, -0.0008549322956241667, -0.022700753062963486, 0.012516491115093231, 0.00031179908546619117, -0.026437124237418175, -0.01639074832201004, -0.027305660769343376, -0.04482927918434143, 0.013481197878718376, 0.009727539494633675, -0.019179124385118484, 0.02682577446103096, -0.011793067678809166, 0.016215993091464043, 0.02840733341872692, 0.002233895007520914, 0.005990630015730858, -0.0037846697960048914, 0.018577730283141136, -0.012198173440992832, 0.019483940675854683, -0.027136780321598053, -0.01112980768084526, -0.025583939626812935, 0.05410338193178177, 0.025475990027189255, -0.021703405305743217, -0.02332479879260063, 0.011266274377703667, 8.87310670053474e-33, -0.0008564861491322517, -0.0218975692987442, -0.02831340581178665, 0.0037665856070816517, 0.03409813344478607, -0.024472488090395927, 0.026021232828497887, -0.004720175638794899, -0.04823065921664238, 0.03098883293569088, 0.00031289650360122323, 0.01694691926240921, -0.004078200552612543, 0.022435922175645828, 0.03305644914507866, -0.014951367862522602, 0.028340620920062065, -0.028821615502238274, 0.025918779894709587, -0.02488359436392784, 0.036317743360996246, 0.0028610192239284515, 0.03318692371249199, -0.00540650961920619, 0.004006680101156235, 0.045935846865177155, -0.05687541887164116, 0.01751909963786602, 0.027676938101649284, 0.016352102160453796, 0.011006448417901993, -0.013226393610239029, 0.006496651563793421, -0.05602266266942024, -0.02992096357047558, 0.01667795330286026, -0.0015284504042938352, -0.002376675372943282, 0.010765629820525646, -0.005028841085731983, 0.03364304080605507, 0.005480991676449776, -0.009851556271314621, 0.00900209415704012, 0.03485972806811333, 0.016617178916931152, 0.009247067384421825, -0.053417522460222244, -0.003462019143626094, 0.029561059549450874, 0.043152086436748505, 0.031684596091508865, 0.01619185507297516, 0.01629829593002796, 0.011821144260466099, -0.023506956174969673, -0.034609898924827576, -0.025493931025266647, -0.018674587830901146, 0.04883810505270958, -0.026936860755085945, 0.02395653910934925, 0.022363539785146713, 0.004708001855760813, -0.03034539334475994, -0.0020476998761296272, -0.009632823057472706, -0.004743414930999279, -0.017924783751368523, -0.03294290974736214, -0.03982193395495415, 0.0005049643805250525, -0.004826265852898359, 0.031203728169202805, -0.010100547224283218, -0.02370731718838215, -0.0038708732463419437, 0.0019415086135268211, 0.008303411304950714, 0.016679726541042328, 0.015689073130488396, -0.01553675439208746, 0.025131378322839737, 0.008795700967311859, 0.010170339606702328, 0.011183101683855057, -0.002131729619577527, 0.01278602797538042, 0.006276036147028208, 0.0059539214707911015, -0.03194667771458626, 0.004428927320986986, -0.018419671803712845, -0.012425659224390984, 0.0005767280817963183, -1.3916853447426547e-8, -0.04639914259314537, -0.001634002779610455, -0.01960829086601734, 0.03009631484746933, 0.01221039891242981, -0.0026465344708412886, -0.03642784431576729, -0.023861683905124664, 0.005081391427665949, -0.0253294687718153, 0.054362066090106964, -0.0013815402053296566, -0.005990055855363607, -0.0008550253114663064, -0.006240463349968195, -0.08980235457420349, -0.017263516783714294, -0.02473408542573452, 0.028752515092492104, 0.006488391663879156, 0.005329549312591553, 0.0376553051173687, -0.01921572908759117, 0.0033349182922393084, 0.013298279605805874, -0.000985319958999753, -0.005576609633862972, -0.07753299921751022, 0.032188307493925095, 0.039549458771944046, -0.010603736154735088, -0.013004042208194733, -0.006683885119855404, -0.006626849062740803, -0.03046487458050251, 0.0021900141146034002, 0.029505420476198196, 0.01125255972146988, 0.0029834096785634756, -0.007471427787095308, 0.015161430463194847, -0.01305738277733326, 0.0064671956934034824, -0.02052857168018818, 0.01675369404256344, -0.026623491197824478, -0.00900152325630188, 0.005083403550088406, 0.009315759874880314, -0.051641255617141724, 0.020201992243528366, 0.027095556259155273, 0.003612177912145853, 0.015970494598150253, 0.017117979004979134, 0.009650654159486294, -0.019522814080119133, 0.006784432101994753, -0.039889100939035416, -0.003953264094889164, 0.05234460160136223, -0.0039244238287210464, -0.019818568602204323, -0.019537093117833138 ]
tdd-keeping-test-intent-when-using-test-builders
https://markhneedham.com/blog/2009/09/20/tdd-keeping-test-intent-when-using-test-builders
false
2009-09-18 00:40:09
TDD: Testing with generic abstract classes
[ "tdd" ]
[ "Testing" ]
In a post I wrote earlier in the week I described http://www.markhneedham.com/blog/2009/09/13/tdd-testing-sub-classes/[a dilemma we were having testing some code which made use of abstract classes] and Perryn Fowler, Liz Keogh and Pat Maddox pointed out that a useful approach for this problem would be to make use of an http://c2.com/cgi-bin/wiki?AbstractTestCases[abstract test class]. The idea here is that we create an equivalent hierarchy to our production code for our tests which in the example that I provided would mean that we have roughly the following setup: [source,csharp] ---- public abstract class ParentModelTest { } public class BusinessProcess1ModelTest : ParentModelTest { } public class BusinessProcess2ModelTest : ParentModelTest { } public class BusinessProcess3ModelTest : ParentModelTest { } ---- We then want to create an abstract method on the 'ParentModelTest' class to create the object under test and we'll implement this method in the sub classes. We can then put the common tests into the abstract class and they will be run when we run the tests for each of the sub class tests. My colleague Matt Dunn and I were looking at how you would implement this and he pointed out that it provided quite a nice opportunity to use generics to achieve our goal. If we make the abstract test class take in generic parameters then it allows us to create our specific type in the 'create' method rather than having to create 'ParentModel' and then casting that for our specific sub class tests. [source,csharp] ---- public abstract class ParentModelTest<T> where T : ParentModel { protected abstract T CreateModel(); [Test] public void ShouldTestThoseCommonDependencies() { var model = CreateModel(); // Do some awesome testing that's common across all 3 sub classes here } } ---- [source,csharp] ---- [TestFixture] public class BusinessProcessModel1Test : ParentModelTest<BusinessProcessModel1> { protected override BusinessProcessModel1 CreateModel() { return new BusinessProcessModel1(...); } [Test] public void ShouldDoSomeEquallyOutstandingStuff() { var model = CreateModel(); // and test away } } ---- It seems to work quite well and we realised that it's actually a pattern that we had also used to test that our controllers would actually be injected with all their dependencies from our DI container or whether we have forgotten to register some of them. We have an abstract class similar to this which all our controller tests extend: [source,csharp] ---- public abstract class ContainerTest<T> where T : Controller { [Test] public void ShouldHookUpAllDependencies() { var container = CreateTheContainer(); var controller = container.Resolve<T>(); Assert.IsNotNull(controller); } } ---- [source,csharp] ---- public class AwesomeControllerTest : ContainerTest<AwesomeController> { } ---- When we haven't got all the dependencies injected correctly the code will actually blow up on the resolve step so the last line is not strictly necessary but the test seems like it's not testing anything at first glance without it.
null
null
[ 0.001585888210684061, -0.036005910485982895, -0.019887106493115425, 0.04546518996357918, 0.0805647075176239, -0.009255632758140564, 0.043267056345939636, 0.013072198256850243, 0.008565230295062065, -0.01787502132356167, 0.00938921794295311, 0.005247463006526232, -0.05946894735097885, 0.027695490047335625, -0.03360232710838318, 0.06701604276895523, 0.06585901975631714, -0.02655956707894802, 0.02537333406507969, -0.012902983464300632, -0.005195872858166695, 0.06831980496644974, -0.012786236591637135, 0.036660436540842056, 0.015450356528162956, 0.035227492451667786, 0.009017770178616047, 0.003764331340789795, -0.03448411449790001, -0.039113886654376984, 0.02124738320708275, -0.01522789616137743, 0.00824896153062582, -0.01791328750550747, 0.011067545041441917, -0.023525787517428398, -0.007343324366956949, 0.010694332420825958, -0.010101263411343098, -0.013030732050538063, -0.0838988795876503, 0.019831297919154167, -0.010795468464493752, 0.004316204227507114, -0.06996498256921768, -0.0024516426492482424, -0.03643399104475975, -0.004388025961816311, -0.03346201777458191, -0.00888694915920496, -0.0712919682264328, 0.03912701830267906, -0.06178125739097595, 0.015120132826268673, 0.0039059454575181007, 0.054836854338645935, 0.031314924359321594, -0.08539757877588272, 0.034102071076631546, -0.05406402051448822, 0.0000878202699823305, -0.0127703957259655, -0.009847880341112614, 0.03311685100197792, 0.02998216636478901, -0.025570204481482506, -0.03711199015378952, 0.03200070932507515, -0.07682149112224579, 0.013988425023853779, -0.011275059543550014, -0.021251818165183067, -0.009534953162074089, 0.011725721880793571, 0.024501632899045944, -0.02351437881588936, -0.012979882769286633, 0.020580312237143517, 0.027014682069420815, 0.04291614890098572, -0.0343221053481102, -0.0058407969772815704, 0.03909088298678398, 0.003437474835664034, 0.021864689886569977, -0.03044603019952774, -0.003334817010909319, 0.0010804946068674326, -0.02521114982664585, 0.08001495152711868, 0.0029122098349034786, -0.02473372034728527, -0.00875284243375063, 0.03761797025799751, -0.0016123387031257153, 0.0011932586785405874, 0.011328388005495071, -0.029405944049358368, 0.0069161755964159966, -0.0027166688814759254, -0.01622135005891323, -0.011717076413333416, 0.02694552391767502, 0.029624367132782936, -0.08519141376018524, -0.006005877163261175, -0.031147344037890434, -0.043030817061662674, -0.015680070966482162, 0.03372284770011902, -0.05247506499290466, 0.022954806685447693, -0.03565329685807228, -0.004630519542843103, -0.08517017215490341, 0.056728899478912354, 0.009828540496528149, -0.015936875715851784, -0.004344225861132145, 0.014488241635262966, 0.017186013981699944, 0.01405192632228136, -0.03011094592511654, 0.08164211362600327, 0.027988994494080544, 0.04774437099695206, -0.023406678810715675, 0.06254927068948746, -0.0010140602244064212, -0.06504595279693604, 0.006859883200377226, 0.035500723868608475, 0.007433791179209948, 0.023771829903125763, 0.006169016472995281, -0.02750859037041664, -0.011530091986060143, -0.018690191209316254, 0.03559524938464165, 0.053561873733997345, -0.02702265977859497, -0.003825380001217127, 0.025381427258253098, -0.024231601506471634, -0.005806162022054195, 0.010071933269500732, -0.02754475548863411, -0.003700507804751396, -0.04177318513393402, 0.056843217462301254, 0.004317724611610174, 0.06195326894521713, 0.03831402584910393, -0.05951710417866707, 0.02822677418589592, 0.0561567097902298, 0.023476308211684227, -0.0031333097722381353, 0.010845665819942951, 0.035238102078437805, 0.06003475561738014, 0.046087075024843216, 0.016275590285658836, 0.038904402405023575, 0.03069133684039116, 0.002197063062340021, -0.0047885277308523655, 0.0415521040558815, -0.009688381105661392, -0.010349837131798267, -0.05939655005931854, -0.06442192941904068, 0.03482713922858238, -0.054451122879981995, -0.003838313976302743, 0.04085879400372505, 0.07651842385530472, 0.013295103795826435, 0.08190012723207474, -0.006823838222771883, -0.08678193390369415, -0.003740002866834402, 0.012268726713955402, 0.020743872970342636, 0.002455741399899125, -0.016741957515478134, 0.056146543473005295, 0.03891431540250778, -0.04117919132113457, 0.032122302800416946, -0.07470592111349106, -0.07052820920944214, -0.021323487162590027, -0.019805243238806725, 0.08102209866046906, -0.011599122546613216, -0.011461316607892513, 0.09658516198396683, 0.030421243980526924, 0.05087653547525406, 0.027888979762792587, -0.0017178102862089872, 0.005838051438331604, -0.021816503256559372, -0.023292921483516693, 0.046930816024541855, 0.024560363963246346, -0.0038673626258969307, -0.05021222308278084, -0.007165761198848486, -0.000295462115900591, 0.0033691045828163624, 0.04079461842775345, -0.007624512538313866, 0.033944953233003616, 0.018788818269968033, 0.025376567617058754, -0.020330306142568588, 0.08375920355319977, -0.05603192001581192, 0.0060714613646268845, -0.016631893813610077, -0.03208364173769951, -0.00810900516808033, -0.018554363399744034, 0.10236263275146484, 0.03409142047166824, -0.06077868118882179, -0.05191662162542343, 0.010826244950294495, 0.027961522340774536, -0.014965564012527466, -0.0003496621211525053, -0.022889187559485435, 0.008082481101155281, -0.005516273435205221, -0.054662443697452545, -0.018452085554599762, 0.01749413087964058, -0.046147383749485016, 0.030676383525133133, 0.0799737498164177, -0.03351705148816109, 0.06737065315246582, -0.017139121890068054, -0.014991163276135921, -0.0020876294001936913, -0.010181806050240993, -0.04849283769726753, 0.020605361089110374, 0.012826023623347282, -0.01603611931204796, 0.047772619873285294, -0.04317932203412056, -0.027333656325936317, -0.01825176738202572, -0.04994324967265129, 0.014080557972192764, 0.030512355268001556, 0.0683031976222992, -0.006627027411013842, 0.06413178145885468, 0.0008386766421608627, 0.030043039470911026, -0.0076133087277412415, -0.052257828414440155, 0.00544708501547575, 0.01633686199784279, 0.016949839890003204, 0.027793586254119873, 0.01465140376240015, 0.01722930371761322, 0.04318290576338768, 0.021953286603093147, -0.028006495907902718, -0.011563011445105076, -0.0003786621964536607, 0.007591506000608206, -0.045020949095487595, -0.022775115445256233, -0.05154912546277046, 0.013638613745570183, -0.020312068983912468, -0.04315652698278427, 0.010375184006989002, -0.09608674794435501, 0.03324113413691521, -0.08663319051265717, -0.05828157439827919, -0.0011834055185317993, 0.02783079631626606, 0.02860707975924015, -0.016300447285175323, 0.01990601047873497, 0.08289596438407898, 0.02945723757147789, -0.004105966538190842, 0.007890191860496998, 0.01097782514989376, 0.030254144221544266, -0.0283841360360384, 0.0016183372354134917, 0.015320888720452785, 0.011754674836993217, 0.016522755846381187, -0.03700929507613182, 0.016111323609948158, -0.013106443919241428, -0.25815466046333313, 0.021946337074041367, -0.009393442422151566, -0.036938298493623734, 0.042824503034353256, -0.01659131795167923, 0.01053125225007534, -0.0531618557870388, -0.021464793011546135, 0.05486106500029564, -0.026947656646370888, -0.028013238683342934, -0.023901106789708138, 0.05130642652511597, -0.016831615939736366, 0.004270506557077169, 0.005958440247923136, -0.049507986754179, 0.042126309126615524, 0.06455191969871521, 0.020357051864266396, -0.055039968341588974, -0.0052418834529817104, 0.05392637103796005, 0.025267042219638824, 0.06541670858860016, -0.10800964385271072, 0.07643687725067139, -0.01053954754024744, 0.007126677315682173, 0.009015724994242191, -0.0338004007935524, -0.014796188101172447, -0.022899553179740906, -0.032894477248191833, 0.019292669370770454, 0.025971030816435814, 0.03199943155050278, -0.032630715519189835, 0.01110983919352293, -0.021470537409186363, -0.05807743966579437, -0.05412854626774788, 0.0012760182144120336, 0.06136154383420944, -0.01027812622487545, -0.04183008149266243, -0.015469075180590153, -0.04720792919397354, 0.09483852237462997, -0.034572783857584, -0.016943303868174553, 0.027374304831027985, 0.023907067254185677, -0.04168867692351341, -0.04998207837343216, 0.03000839427113533, -0.015188737772405148, -0.06007489934563637, -0.030709000304341316, -0.035701148211956024, -0.040472812950611115, -0.010810461826622486, -0.05193245783448219, -0.0098772207275033, -0.06325063109397888, -0.0610421821475029, -0.02141275443136692, 0.0432446226477623, 0.013517382554709911, -0.002450695727020502, -0.018681585788726807, 0.007155626080930233, -0.11341524869203568, -0.0009082343894988298, -0.037542469799518585, -0.0209212489426136, -0.06169285625219345, 0.01689162477850914, 0.04813598468899727, -0.03334825485944748, -0.03317006677389145, 0.043331973254680634, 0.016274409368634224, 0.017352191731333733, 0.018392683938145638, 0.010960998944938183, 0.006504700984805822, -0.021915709599852562, 0.0032554457429796457, 0.05409573018550873, -0.008836597204208374, 0.0018456231337040663, -0.030666004866361618, 0.0023418497294187546, 0.03346985578536987, 0.033806923776865005, 0.005936251021921635, 0.01500905491411686, 0.0013430995168164372, 0.031136736273765564, -0.05449647083878517, 0.02204536646604538, -0.018789131194353104, 0.01246910635381937, -0.04089130461215973, -0.04813694208860397, 0.0426502488553524, 0.015466809272766113, 0.013254201970994473, -0.01905827783048153, -0.032046105712652206, -0.0023011837620288134, -0.05469575151801109, -0.010649461299180984, -0.02952185645699501, 0.004496538545936346, 0.030769985169172287, -0.01994597725570202, -0.00921624805778265, -0.04302309453487396, 0.012131408788263798, -0.007371632382273674, 0.007445735856890678, -0.0713636726140976, -0.05148642882704735, 0.01103520579636097, 0.00044415597221814096, 0.01258885022252798, 0.025467783212661743, -0.04675660654902458, 0.01881452277302742, 0.01875869743525982, -0.04334263503551483, 0.008216618560254574, 0.0035844766534864902, -0.03489411994814873, -0.026958104223012924, -0.009719748049974442, -0.01885414496064186, -0.001090805628336966, -0.013727010227739811, 0.006676290649920702, 0.022751647979021072, 0.0634525865316391, 0.024305419996380806, 0.037433017045259476, 0.0038131088949739933, -0.0036212424747645855, 0.018492598086595535, 0.043471284210681915, -0.0412156768143177, 0.025533273816108704, -0.02508833073079586, -0.029596982523798943, -0.04881025850772858, 0.0394032821059227, -0.0074251191690564156, -0.00956010352820158, -0.03512005880475044, 0.016917327418923378, -0.07487735152244568, -0.030262494459748268, -0.02717401273548603, 0.02696326933801174, 0.07357493788003922, -0.02174246869981289, 0.054459817707538605, -0.01496179774403572, -0.028372984379529953, 0.013115889392793179, 0.011270817369222641, -0.028382759541273117, 0.04097801819443703, 0.008995302952826023, 0.008162170648574829, 0.018395060673356056, 0.0015174236614257097, 0.03873438015580177, 0.04248890280723572, 0.018356697633862495, -0.04638105258345604, 0.031764764338731766, 0.004544353578239679, 0.04501572996377945, 0.01953285187482834, -0.005071898922324181, -0.008388730697333813, -0.01626032404601574, 0.007917373441159725, -0.03606320917606354, -0.011099718511104584, -0.008139101788401604, 0.05222157761454582, -0.04061296209692955, -0.06377685070037842, 0.03529290109872818, 0.014311471953988075, 0.037585411220788956, -0.0037939678877592087, 0.008007169701159, -0.005253063514828682, -0.002868071896955371, 0.03784343972802162, 0.06505966186523438, -0.049652304500341415, 0.03332408890128136, 0.016895707696676254, 0.005622169002890587, 0.018680093809962273, 0.02791265770792961, -0.04667026177048683, -0.025420036166906357, -0.007917759008705616, -0.01212142314761877, -0.04485783353447914, -0.015143297612667084, -0.023035414516925812, 0.03792298957705498, 0.004712567664682865, -0.03925766423344612, 0.006829041987657547, 0.004624624270945787, -0.012251454405486584, -0.0165230892598629, 0.0191765408962965, -0.009146525524556637, -0.013875223696231842, 0.013281784951686859, -0.03120107203722, 0.013272392563521862, -0.012144018895924091, 0.01602683961391449, 0.016984211280941963, -0.02164340950548649, -0.048219162970781326, -0.02497314289212227, 0.016682062298059464, -0.0013105429243296385, 0.04480395466089249, 0.009238016791641712, -0.024808363988995552, -0.007129587698727846, -0.008787128143012524, -0.04464609920978546, 0.019976548850536346, 0.021757880225777626, -0.014208119362592697, 0.03547869250178337, 0.04156762361526489, 0.02179638482630253, 0.03538575768470764, 0.0037410911172628403, 0.007433791644871235, 0.06415002793073654, -0.08646417409181595, -0.018468866124749184, -0.021961955353617668, -0.08181000500917435, 0.03194713220000267, -0.02335456758737564, 0.025551820173859596, -0.041455574333667755, 0.03645592927932739, 0.04612789303064346, 0.022412866353988647, 0.025097467005252838, 0.013113566674292088, 0.04642703756690025, -0.05647934228181839, 0.012314866296947002, -0.06382185220718384, 0.016274837777018547, 0.031224388629198074, 0.004043556284159422, -0.021428558975458145, -0.01685657538473606, -0.03711823746562004, 0.038848958909511566, -0.03040856122970581, -0.0315399169921875, 0.030244067311286926, -0.006278128828853369, -0.010680128820240498, 0.01439360249787569, -0.048127900809049606, 0.03938053175806999, 0.006052464712411165, -0.03174249082803726, -0.0379655659198761, -0.00959448516368866, 0.047148607671260834, 0.03545825928449631, -0.0035724143963307142, -0.04522988572716713, 0.03125353530049324, 0.05787728354334831, 0.010699168778955936, 0.01959303207695484, 0.05067676678299904, -0.015419764444231987, 0.03377135097980499, 0.016879014670848846, 0.006571946665644646, -0.041483182460069656, -0.006443722173571587, -0.007451431825757027, -0.06619458645582199, 0.039345882833004, 0.02618015743792057, -0.03506093844771385, -0.05473363772034645, 0.05104894936084747, 0.009849927388131618, -0.030952243134379387, -0.02799353189766407, 0.004541419446468353, -0.053984854370355606, -0.016062354668974876, -0.037769611924886703, 0.029459815472364426, -0.02271159552037716, 0.059377968311309814, -0.009980397298932076, -0.026343215256929398, 0.06747932732105255, -0.01774476282298565, -0.013831272721290588, -0.007805800065398216, 0.06603661179542542, 0.06946706771850586, 0.02733915112912655, -0.009703048504889011, 0.05184730514883995, -0.039657894521951675, -0.03983747586607933, 0.027585206553339958, -0.01620481349527836, -0.008920867927372456, -0.020307671278715134, 0.019297681748867035, 0.07735110819339752, 0.0069102137349545956, 0.05713718757033348, -0.02632291428744793, -0.010911352932453156, -0.013176494278013706, 0.02734903246164322, 0.01820419169962406, 0.047011010348796844, -0.004140006843954325, -0.015553871169686317, 0.015948070213198662, -0.05351804196834564, 0.020226236432790756, -0.001510079251602292, -0.029742756858468056, 0.026564300060272217, 0.012686227448284626, 0.014826936647295952, -0.02253875695168972, 0.033918242901563644, 0.05797353386878967, -0.03375988453626633, 0.00537094147875905, -0.011355938389897346, 0.012168488465249538, 0.02652042731642723, -0.03316395357251167, -0.01521554496139288, -0.036632947623729706, -0.04092101380228996, -0.005150076933205128, -0.013181904330849648, -0.028534865006804466, -0.025515461340546608, 0.043034911155700684, -0.006163098383694887, 0.02084711752831936, 0.024832159280776978, 0.019740255549550056, -0.055351704359054565, -0.0682842805981636, -0.05092284083366394, -0.014626756310462952, -0.048809751868247986, 0.0029427185654640198, 0.03265581279993057, -0.003952521365135908, -0.02685181424021721, -0.012597791850566864, -0.0376250222325325, -0.013640981167554855, 0.07270703464746475, -0.032640572637319565, -0.03136830776929855, -0.002472821855917573, 0.0010856363223865628, 0.030247753486037254, 0.009994720108807087, 0.055499132722616196, -0.003891805186867714, -0.003652151906862855, -0.061787962913513184, -0.022290663793683052, 0.03872152417898178, 0.00822102278470993, 0.016514142975211143, -0.07840141654014587, 0.01926392689347267, -0.0006204812088981271, 0.027757449075579643, -0.06266310811042786, 0.0037217503413558006, -0.003989719785749912, 0.00582581851631403, 0.04734702780842781, -0.005420564208179712, -0.010180140845477581, -0.017945051193237305, -0.015012466348707676, 0.018403366208076477, 0.025187047198414803, 0.055869605392217636, -0.01627437397837639, 0.06688717007637024, 0.016294270753860474, -0.0192178376019001, -0.03588850051164627, 0.027280710637569427, 0.0033242444042116404, 0.048131220042705536, -0.021778464317321777, -0.025803208351135254, -0.019602151587605476, -0.05903923511505127, -0.007561363745480776, 0.02525079995393753, 0.003321694675832987, -0.022543275728821754, 0.0165416169911623, 0.02067350037395954, -0.05552934110164642, 0.009286700747907162, -0.03568832948803902, 0.0504581518471241, -0.03649669885635376, -0.038538843393325806, 0.014967742376029491, -0.012706873938441277, -0.00981782004237175, 0.024046963080763817, 0.03410187363624573, -0.056659139692783356, -0.026871448382735252, -0.004067490808665752, 0.03362341970205307, 0.04728945344686508, 0.005059381481260061, -0.0034150895662605762 ]
[ -0.08562284708023071, -0.007210928481072187, -0.03407421335577965, -0.041638173162937164, 0.028048133477568626, -0.029490642249584198, 0.0030511016957461834, 0.029914092272520065, -0.018273623660206795, -0.030086664482951164, -0.010680614970624447, -0.03187797963619232, -0.014208430424332619, -0.0005102502764202654, 0.09470072388648987, -0.0157393217086792, -0.02220969647169113, -0.021769043058156967, 0.043812867254018784, 0.0232763160020113, 0.03221764415502548, -0.017412325367331505, -0.04642355069518089, -0.01524577010422945, 0.02658897452056408, 0.03141656890511513, 0.0369655005633831, -0.02998499758541584, -0.0037008041981607676, -0.2153216004371643, 0.020610976964235306, 0.0017758171306923032, 0.017317241057753563, -0.030658023431897163, 0.024239586666226387, 0.023927822709083557, 0.009128610603511333, 0.007257563527673483, -0.007383269723504782, 0.03158695995807648, -0.017241114750504494, 0.021884126588702202, -0.050185419619083405, -0.018762070685625076, 0.041605882346630096, -0.0044797081500291824, -0.0063326600939035416, -0.011392032727599144, -0.007110173813998699, 0.005037895869463682, -0.05767364799976349, -0.04490219056606293, -0.021889202296733856, -0.034008342772722244, -0.035120319575071335, 0.005331109277904034, 0.05479876324534416, 0.06429624557495117, 0.03913940116763115, 0.03211266174912453, -0.007185052148997784, -0.009648259729146957, -0.1316889226436615, 0.10229182988405228, 0.00067565543577075, 0.07783474028110504, -0.024867389351129532, -0.017250007018446922, 0.04019005969166756, 0.09618543833494186, 0.008954436518251896, -0.01663205213844776, 0.010389299131929874, 0.0901111513376236, 0.010395889170467854, 0.006994272116571665, -0.0006196586764417589, -0.0005377103225328028, 0.07397396862506866, -0.06184966862201691, -0.050227224826812744, -0.0358622744679451, 0.0054536242969334126, -0.015412594191730022, -0.024331845343112946, 0.0295554269105196, 0.014422579668462276, 0.009870067238807678, 0.06424172222614288, 0.03155314177274704, 0.04387112706899643, -0.031937386840581894, 0.003737769089639187, 0.00549565814435482, -0.07743152976036072, -0.007716746535152197, -0.011358041316270828, -0.01923474110662937, -0.03569677844643593, 0.4315637946128845, -0.0446397140622139, -0.05098854377865791, 0.04457652196288109, 0.017661822959780693, -0.043545134365558624, 0.00994176510721445, -0.005617897026240826, -0.053133055567741394, 0.01392693817615509, -0.03839501366019249, 0.0011720132315531373, 0.012800292111933231, 0.02964451164007187, -0.0711875706911087, -0.030906153842806816, -0.016536008566617966, 0.026897285133600235, -0.011315113864839077, -0.02797488123178482, 0.012638485059142113, 0.004665818065404892, 0.008762817829847336, 0.029057491570711136, -0.014505688101053238, 0.019809236750006676, -0.04185033217072487, 0.011683640070259571, 0.05577946826815605, 0.034233901649713516, 0.014061150141060352, 0.04465503618121147, -0.03316599130630493, -0.08787885308265686, -0.013031890615820885, 0.02113172598183155, -0.007542808074504137, 0.016672322526574135, -0.03497493267059326, 0.007102546747773886, 0.03336692601442337, -0.01148091722279787, -0.016150236129760742, 0.013079782947897911, -0.02403789572417736, -0.073512502014637, 0.11087118089199066, 0.0017444819677621126, 0.0026849128771573305, -0.03747548162937164, -0.038148410618305206, 0.02088162489235401, 0.06481636315584183, 0.010143620893359184, -0.06258664280176163, 0.030455252155661583, 0.01508519146591425, 0.05646761506795883, 0.03257269412279129, -0.04096716269850731, -0.028045276179909706, -0.03167808800935745, 0.01312822476029396, -0.03205171599984169, 0.07039956003427505, 0.01000034250319004, -0.08452029526233673, -0.04375109449028969, 0.001648626639507711, 0.03715144470334053, -0.07976861298084259, 0.013349439017474651, 0.02340981923043728, -0.02949117124080658, -0.009662643074989319, 0.027664789929986, -0.010513637214899063, -0.01921183429658413, -0.006617684382945299, 0.03368910402059555, 0.031195586547255516, 0.03889583423733711, 0.000995927955955267, -0.05807628482580185, 0.009615667164325714, 0.0052849119529128075, -0.05763164162635803, -0.0353182815015316, -0.029785623773932457, -0.04419545456767082, -0.004946975037455559, -0.035881079733371735, 0.00487367482855916, -0.08133812993764877, 0.07086554169654846, -0.03364857658743858, -0.02534344233572483, 0.06090359017252922, -0.01744094491004944, 0.023876506835222244, -0.009086967445909977, 0.0006905804038979113, 0.05895641818642616, -0.013979748822748661, 0.036795925348997116, -0.07477802783250809, 0.0538533478975296, 0.07476339489221573, -0.054432425647974014, 0.07704328745603561, 0.034657709300518036, -0.05147184431552887, -0.016078464686870575, -0.005329684820026159, 0.022467000409960747, -0.012366708368062973, -0.0035506950225681067, 0.0064872559159994125, 0.020301492884755135, 0.012529377825558186, 0.03922531008720398, -0.02871127799153328, 0.018604107201099396, 0.004958231467753649, -0.3275095522403717, -0.0415927954018116, -0.0060717519372701645, -0.011623205617070198, -0.001423932844772935, -0.05218861252069473, -0.007231366820633411, 0.008587304502725601, -0.0352865532040596, -0.014235508628189564, 0.08208972960710526, 0.025172943249344826, -0.03387022390961647, -0.09126590192317963, 0.01816791296005249, 0.017958983778953552, -0.03917504474520683, -0.055919770151376724, -0.026255100965499878, 0.0002257054584333673, 0.013256052508950233, 0.007056131958961487, 0.020025238394737244, -0.061650507152080536, 0.014277870766818523, -0.054940469563007355, 0.07385516911745071, -0.033215489238500595, 0.11436975747346878, -0.010043849237263203, 0.0661834254860878, -0.01826414093375206, 0.01655224710702896, -0.08624457567930222, -0.023588616400957108, -0.040195267647504807, -0.016263019293546677, 0.002717089606449008, 0.0420842319726944, -0.03434329479932785, -0.03761427849531174, 0.03444864600896835, -0.052185624837875366, -0.07066699117422104, -0.03505086153745651, -0.005933486856520176, -0.0200507752597332, -0.013257871381938457, -0.03101760521531105, 0.08129017800092697, -0.011791457422077656, -0.006153912283480167, 0.020770082250237465, 0.0168110653758049, -0.016335157677531242, -0.029438894242048264, -0.07887087017297745, -0.002160083269700408, -0.0031826456543058157, -0.001418640953488648, 0.04489721730351448, 0.09611927717924118, 0.03013942763209343, -0.017460675910115242, -0.010141928680241108, -0.025987332686781883, -0.013398491777479649, -0.026144593954086304, 0.042363207787275314, -0.0631050318479538, -0.027653392404317856, 0.08378317207098007, 0.004489101469516754, -0.011167571879923344, 0.01353275217115879, 0.05678560212254524, 0.0023866421543061733, -0.00002936212513304781, 0.015123223885893822, 0.0072690267115831375, -0.009374509565532207, -0.000774541636928916, 0.014971179887652397, -0.01031260285526514, -0.012128917500376701, 0.03202257305383682, 0.009980755858123302, -0.039120517671108246, 0.05834503471851349, -0.023111797869205475, -0.04445889964699745, 0.018221944570541382, -0.025175098329782486, -0.024828078225255013, 0.05331225320696831, -0.0017185686156153679, -0.2492123395204544, -0.0002689172397367656, 0.05900136008858681, 0.061033524572849274, -0.002148894825950265, 0.01882328651845455, 0.02825053408741951, -0.0675293430685997, 0.00987597368657589, 0.011172415688633919, 0.05680083855986595, 0.02609822526574135, 0.03692290931940079, 0.01733282022178173, 0.03969010338187218, -0.0075973584316670895, 0.044660937041044235, -0.017406756058335304, 0.03501757234334946, -0.02284027449786663, -0.0018835051450878382, -0.011541561223566532, 0.1844089925289154, -0.009511168114840984, 0.06430689245462418, 0.015175542794167995, 0.029591532424092293, -0.0035021891817450523, 0.08108748495578766, 0.03445681557059288, 0.037071142345666885, -0.002217082306742668, 0.05652012676000595, -0.007398643530905247, 0.04446464404463768, -0.0641348585486412, -0.009896487928926945, 0.014653638005256653, 0.013012374751269817, -0.008721194230020046, 0.026093976572155952, -0.011466884054243565, -0.049208980053663254, 0.009823174215853214, 0.06447695195674896, 0.03905134275555611, -0.01306231040507555, -0.04383065551519394, -0.045884016901254654, -0.004838860593736172, -0.0130535289645195, -0.02684491127729416, 0.02162664383649826, -0.02197505161166191, -0.001258845441043377, 0.05661006644368172, 0.049708038568496704, -0.02637678012251854, -0.04743577167391777, 0.0144016919657588, 0.02331829071044922, -0.007414496503770351, 0.07526419311761856, 0.08663330972194672, 0.03364930674433708 ]
[ -0.027653492987155914, -0.00041454873280599713, -0.030690401792526245, 0.032039131969213486, -0.02752063237130642, 0.0060411617159843445, 0.00015377742238342762, 0.017872782424092293, 0.031878694891929626, 0.0018028473714366555, 0.009513244032859802, -0.029130853712558746, 0.017907975241541862, -0.013606495223939419, 0.028454508632421494, -0.006436826661229134, 0.024307703599333763, 0.0024656038731336594, 0.008700638078153133, -0.029673103243112564, 0.026288794353604317, 0.032756075263023376, -0.005401629488915205, 0.0015109915984794497, 0.005576840601861477, -0.005737767554819584, -0.0064702993258833885, -0.017559392377734184, 0.020296549424529076, -0.12482231110334396, -0.05118006467819214, -0.012781035155057907, -0.025838147848844528, 0.03912055119872093, -0.0025169423315674067, 0.0005709507968276739, 0.04669463634490967, 0.0027624298818409443, 0.022423528134822845, -0.007892314344644547, 0.032228775322437286, 0.01134096086025238, 0.011531841941177845, -0.03715937212109566, 0.0013816698919981718, -0.004916052334010601, -0.003976649604737759, -0.05676499009132385, -0.006404476705938578, -0.004426341969519854, -0.027844274416565895, -0.03520935773849487, 0.01151831541210413, 0.03542640060186386, 0.02271312102675438, -0.020461400970816612, 0.016121702268719673, -0.037372201681137085, 0.02255125157535076, -0.009088395163416862, -0.0038252065423876047, -0.008741983212530613, -0.029524700716137886, -0.02076658420264721, 0.00436566025018692, 0.0038668883498758078, 0.0005477890954352915, -0.007891897112131119, -0.012200097553431988, -0.02814970724284649, -0.05761944502592087, 0.011251869611442089, -0.011685753241181374, 0.016641095280647278, 0.00898953527212143, 0.025525210425257683, 0.019912904128432274, -0.02669220231473446, 0.00654118275269866, -0.04874612018465996, -0.02589717134833336, 0.025044916197657585, -0.004435025155544281, -0.0006906136986799538, -0.005003808066248894, 0.0010477404575794935, 0.03963532671332359, 0.00157192163169384, 0.043717194348573685, 0.019041290506720543, -0.02187078818678856, 0.03360231965780258, -0.026454085484147072, 0.01719502918422222, -0.0822049006819725, -0.02753259614109993, -0.021883530542254448, -0.02149193361401558, 0.0024824445135891438, 0.8359573483467102, 0.0018301121890544891, 0.04095146805047989, 0.052529722452163696, 0.03422221541404724, -0.01698336936533451, -0.006558797787874937, 0.00007259513949975371, -0.00023068963491823524, 0.031311020255088806, -0.026077769696712494, 0.013257723301649094, 0.01872711256146431, 0.02459666319191456, -0.015889795497059822, -0.005708498880267143, 0.03199031576514244, -0.009265338070690632, 0.003953656181693077, -0.026166442781686783, -0.001558384858071804, 0.022691825404763222, -0.002316097030416131, -0.00804408174008131, -0.028832364827394485, 0.008900958113372326, -0.1789020597934723, -0.020235486328601837, -8.431411759477388e-33, 0.05634678527712822, -0.00040551857091486454, 0.009036947041749954, 0.05223541334271431, 0.049699220806360245, 0.01839642971754074, 0.031652212142944336, 0.033405184745788574, 0.002534260740503669, -0.04125886783003807, -0.024719787761569023, -0.03249586746096611, -0.02384578250348568, -0.05052982643246651, 0.019190257415175438, -0.007223479449748993, -0.031829122453927994, 0.023428307846188545, 0.01289787981659174, 0.03911856561899185, 0.036888062953948975, 0.051755715161561966, -0.03816691040992737, -0.02160223014652729, 0.017845233902335167, 0.014932571910321712, 0.011074617505073547, 0.02272278256714344, -0.025750230997800827, -0.028754262253642082, -0.002703534672036767, 0.03847011178731918, -0.03623698279261589, 0.0002514801744837314, 0.025975653901696205, -0.030982086434960365, -0.0014855789486318827, 0.01178110484033823, 0.021460287272930145, -0.048523128032684326, -0.04019605368375778, -0.0352952666580677, -0.008853187784552574, 0.023801583796739578, -0.03474444895982742, -0.034123148769140244, -0.029614748433232307, -0.013656005263328552, 0.023944277316331863, -0.005231608171015978, 0.036719806492328644, 0.017429308965802193, 0.03239622712135315, -0.038553450256586075, -0.03444402664899826, -0.002402372658252716, -0.018094919621944427, -0.010535681620240211, 0.03556358069181442, 0.04479249566793442, -0.01048500370234251, -0.01805831864476204, -0.042366109788417816, 0.034563906490802765, -0.029602548107504845, -0.015350187197327614, -0.003998675383627415, -0.0014235976850613952, 0.029054274782538414, -0.026384972035884857, -0.032088421285152435, -0.009730360470712185, -0.020422721281647682, -0.00939790066331625, 0.022675300016999245, -0.014920723624527454, 0.006479186471551657, 0.028279315680265427, -0.003789285197854042, 0.013630540110170841, 0.007640795316547155, -0.011907115578651428, 0.027211813256144524, -0.03995513916015625, -0.02035001665353775, 0.0035480260848999023, 0.0034773582592606544, -0.012667764909565449, 0.005128470715135336, -0.03835460543632507, 0.038492925465106964, 0.042366549372673035, 0.014834160916507244, 0.013399557210505009, 0.008883612230420113, 8.345338389690334e-33, 0.02642204426229, -0.010163006372749805, -0.010205952450633049, -0.028165370225906372, 0.0012020205613225698, -0.014709452167153358, -0.0028966362588107586, -0.00882401317358017, -0.0693485364317894, 0.020573481917381287, -0.0054635219275951385, 0.011672149412333965, -0.026247519999742508, 0.03287333622574806, 0.0374244824051857, -0.03070824407041073, 0.03527083992958069, -0.049697715789079666, 0.012224631384015083, 0.02053239941596985, 0.024125272408127785, 0.02870475873351097, 0.005533398129045963, 0.005245644133538008, -0.007069662678986788, 0.05616743117570877, -0.06513524055480957, 0.04603433236479759, 0.013929858803749084, 0.011154904961585999, -0.038184575736522675, -0.0026125030126422644, 0.02873844839632511, -0.021932462230324745, -0.013292549178004265, 0.005644975695759058, -0.013178081251680851, -0.014599131420254707, 0.06271767616271973, 0.0027327509596943855, 0.019068581983447075, 0.0017239240696653724, -0.0004460772906895727, 0.028896667063236237, 0.03300028666853905, 0.029652511700987816, 0.019623683765530586, -0.04604221135377884, 0.0022065865341573954, 0.00447365827858448, 0.004251051694154739, 0.020636552944779396, -0.007316505070775747, -0.00050075858598575, 0.018384728580713272, -0.018562091514468193, -0.007261369377374649, -0.03648293390870094, -0.014093820005655289, 0.020817337557673454, -0.020731577649712563, 0.037210483103990555, 0.007452895399183035, 0.029357723891735077, -0.03549729287624359, 0.03497074171900749, 0.0030573729891330004, -0.011872991919517517, 0.020387599244713783, 0.012097738683223724, -0.03462163731455803, -0.0019518767949193716, 0.000989700434729457, 0.00593179278075695, 0.03262168914079666, -0.031899113208055496, -0.003846102626994252, 0.0050675407983362675, 0.002774861641228199, 0.022488616406917572, 0.0029900644440203905, -0.03875384479761124, 0.036204900592565536, -0.002153335139155388, -0.023175586014986038, -0.019793765619397163, 0.015317047946155071, 0.011205360293388367, -0.0007805677014403045, 0.0011915933573618531, -0.04255717620253563, -0.03841601312160492, 0.024550488218665123, 0.017184600234031677, 0.000896821147762239, -1.3565538026227841e-8, -0.03612837567925453, 0.018506836146116257, -0.011551553383469582, 0.022335467860102654, -0.009186794981360435, -0.013391314074397087, -0.03258322551846504, -0.031283751130104065, 0.014934327453374863, 0.006835371721535921, -0.029108865186572075, -0.003165615489706397, -0.0020667577628046274, 0.02669745869934559, 0.0169364120811224, -0.0642092302441597, -0.022205941379070282, -0.024765804409980774, 0.031729042530059814, 0.032557640224695206, 0.019305754452943802, 0.045415379106998444, 0.014898884110152721, 0.0027854989748448133, 0.036391645669937134, 0.014572407118976116, -0.005954064428806305, -0.0746445581316948, -0.01864374428987503, 0.04466141015291214, 0.0008187390048988163, -0.015037287026643753, -0.06896232813596725, 0.020035726949572563, -0.04497041925787926, -0.01863779127597809, -0.00608669500797987, 0.029147282242774963, 0.007548744324594736, 0.0027829110622406006, 0.02156199887394905, -0.01055623684078455, -0.004085683263838291, -0.009956998750567436, -0.0013080764329060912, 0.009574810974299908, -0.02679535560309887, -0.01582372933626175, 0.03972139209508896, -0.01958037167787552, 0.01569259539246559, 0.008460210636258125, 0.02334577590227127, -0.016751358285546303, -0.008833500556647778, 0.015593654476106167, 0.022817088291049004, -0.01804710179567337, -0.06143811345100403, 0.008469078689813614, 0.05584326386451721, -0.012700933963060379, 0.009073254652321339, -0.034321028739213943 ]
tdd-testing-with-generic-abstract-classes
https://markhneedham.com/blog/2009/09/18/tdd-testing-with-generic-abstract-classes
false
2009-09-16 01:11:58
Book Club: SOLID Principles (Uncle Bob Martin)
[ "book-club" ]
[ "Book Club" ]
In our latest technical book club we discussed Uncle Bob Martin's presentation to the http://www.ndc2009.no/en/[Norwegian Developers Conference] on 'http://www.viddler.com/explore/RoyOsherove/videos/18/[SOLID Design]'. These principles of object oriented design are also http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod[written up on Uncle Bob's website] and are also in his book 'http://www.amazon.co.uk/Software-Development-Principles-Patterns-Practices/dp/0135974445/ref=sr_1_2?ie=UTF8&s=books&qid=1252963866&sr=8-2[Agile Principles, Patterns and Practices]'. I read most of the book a couple of years ago but I don't always remember all of the principles when I'm coding so it was good to revisit them again. These are some of my thoughts and our discussion: * Something that we've noticed on the project I'm working on at the moment with respect to the single responsibility principle is that *often classes start off adhering to this principle but as soon as changes come along that single responsibility is pretty much ruined*. It often seems like a new piece of functionality fits quite nicely onto an existing object but then when we look back on it in retrospect it didn't really fit that well and then another bit of code that fits even less well is added and an object is carrying out 3 responsibilities before we know it. One way to potentially get around this is to write the responsibility of a class at the top of the file so that hopefully people will read that before adding anything new. In a recent coding dojo we were reading through some of the http://code.google.com/p/jetlang/source/browse/#svn/trunk/src/main/java/org/jetlang/channels[Jetlang] code and that approach is followed on a lot of the classes which has the added benefit of making the code easier to follow if you're new to the code base. * Uncle Bob talks quite a lot about ensuring that we *design flexibility into the areas of the code that are likely to change* so that if we do have to change the code then we can do so easily. I've read this type of advice before but I'm never sure how exactly you know where those areas of change are likely to be unless you've worked on a similar system before. From what I've seen any code which relies on another system's data/representations needs to be designed in this way as we don't know when it is going to change and it might even change without much warning so we need to adapt to that situation fairly quickly. * He didn't mention the *Interface Segregation Principle* in this presentation but I find this one the most interesting, probably because I haven't seen it followed on any projects I've worked on yet and I'm intrigued as what a code base that followed it would be like to work on. I like the idea of having role based interfaces although I imagine it would probably be quite easy to abuse this principle and end up with interfaces that are so finely grained that we lose the domain's meaning. * While I have no doubt that if we followed these principles all the time when coding our code base would probably be much cleaner, it feels to me that *these principles are quite difficult to remember when you're coding*. From what I've noticed we find it much easier to follow ideas like http://en.wikipedia.org/wiki/Don%27t_repeat_yourself[Don't Repeat Yourself], perhaps because it's easier to see when we are breaking principles like this. In addition, most people tend to agree about what makes repetition of code but when it comes to something like the Single Responsibility Principle, for example, people seem to have different opinions of what a responsibility is which makes it difficult to get consensus. I quite like the newspaper metaphor to writing code which Uncle Bob describes in http://www.markhneedham.com/blog/2008/09/15/clean-code-book-review/[Clean Code] and he elabroates on this further in a recent post about http://blog.objectmentor.com/articles/2009/09/11/one-thing-extract-till-you-drop[extracting method until you drop]. I find ideas like that easier to follow when coding. My current thinking is that the principles are really good for when we're analysing code having taken a step back but when we're actually coding they're not necessarily always the first thing to come to mind, at least for me! Perhaps that's normal but I'm intrigued as to whether more experienced developers than me are able to keep these ideas in mind all the time?
null
null
[ 0.007274940609931946, 0.020753100514411926, -0.01143606100231409, 0.02986704558134079, 0.0724940299987793, -0.005662934854626656, 0.0398094579577446, 0.03603637218475342, 0.006499735172837973, -0.02956373058259487, -0.01646958291530609, 0.016070881858468056, -0.0708887130022049, 0.0048562102019786835, -0.04834018647670746, 0.054680440574884415, 0.07275603711605072, -0.015659231692552567, 0.01861988753080368, 0.016901154071092606, 0.024405375123023987, 0.07066158205270767, 0.0008110465714707971, 0.035532593727111816, 0.013760178349912167, 0.0231575146317482, 0.027147218585014343, -0.0013435074361041188, -0.07094299793243408, -0.015581591054797173, 0.03182069584727287, 0.005363768432289362, 0.013297159224748611, -0.010228161700069904, -0.0028505483642220497, -0.031655438244342804, -0.014764291234314442, 0.0007512310985475779, 0.009524980559945107, 0.029172779992222786, -0.05705182999372482, 0.05183637514710426, 0.005397232249379158, 0.0031640196684747934, -0.04447776824235916, 0.00652531161904335, -0.04896974936127663, 0.013677883893251419, -0.005560569930821657, -0.0012308463919907808, -0.05945472791790962, 0.027203647419810295, -0.012097890488803387, -0.005036531016230583, -0.005312265362590551, 0.04922164976596832, 0.02211221307516098, -0.05627655237913132, 0.0027693170122802258, -0.05801371484994888, -0.0132077531889081, -0.015129334293305874, 0.014081396162509918, 0.01752532459795475, 0.022539392113685608, -0.02385396882891655, -0.035688530653715134, 0.03810044750571251, -0.03786134719848633, 0.00117021263577044, -0.01151872705668211, 0.021367505192756653, -0.007949759252369404, -0.02260640263557434, 0.014135045930743217, -0.05006875470280647, 0.008757690899074078, 0.06537342071533203, 0.004736171569675207, 0.034415487200021744, -0.022401727735996246, 0.03311677649617195, 0.02440631575882435, 0.026142405346035957, 0.005034619476646185, -0.02910294383764267, -0.006690063513815403, -0.014666004106402397, -0.050960998982191086, 0.061086785048246384, 0.011125216260552406, -0.07996216416358948, 0.015224099159240723, 0.04842308536171913, -0.009238260798156261, 0.007301367819309235, 0.025112709030508995, 0.019383149221539497, -0.006151452194899321, -0.004799313843250275, -0.024805111810564995, -0.018199386075139046, 0.021674608811736107, -0.0013447310775518417, -0.06726986914873123, -0.009364821948111057, -0.018860409036278725, -0.03515706583857536, -0.010325275361537933, -0.0006648727576248348, -0.0314057432115078, 0.010358277708292007, -0.023425601422786713, -0.021256152540445328, -0.057786062359809875, 0.06614420562982559, -0.0002908426395151764, -0.050934500992298126, -0.010028161108493805, 0.009892119094729424, 0.02850497141480446, 0.034966517239809036, 0.009839578531682491, 0.0845821425318718, 0.017238741740584373, 0.013548051007091999, -0.03243642300367355, 0.07801061123609543, -0.014288720674812794, -0.06926774233579636, 0.0026203221641480923, 0.043588243424892426, -0.03548690304160118, -0.009133860468864441, -0.00859813392162323, -0.03160082921385765, -0.019439850002527237, 0.020425332710146904, 0.013027243316173553, 0.04772910103201866, -0.006791306659579277, -0.04308440908789635, 0.019863588735461235, 0.014457191340625286, 0.016444968059659004, 0.010492149740457535, -0.006599039305001497, -0.023899205029010773, -0.046998605132102966, -0.008719970472157001, 0.004402568563818932, 0.02128690481185913, 0.011876258999109268, -0.03988531976938248, 0.014499682001769543, 0.09362724423408508, 0.016379231587052345, 0.030810534954071045, -0.00358022702857852, 0.02229999378323555, 0.023003730922937393, 0.02218674309551716, -0.0013539871433749795, 0.022481000050902367, 0.013832848519086838, 0.0036812990438193083, 0.00358946667984128, 0.05208302289247513, 0.028090214356780052, 0.0010450296103954315, -0.05842094495892525, -0.05842022970318794, 0.058875974267721176, -0.04268752783536911, -0.03818345069885254, 0.026018796488642693, 0.08341863751411438, 0.017919035628437996, 0.04294583946466446, 0.005035621114075184, -0.07835161685943604, 0.007989725098013878, 0.02907446026802063, -0.0008610255317762494, 0.02334984764456749, -0.02432849258184433, 0.05877280235290527, 0.025209860876202583, -0.0012264666147530079, 0.046639300882816315, -0.06686107069253922, -0.09160668402910233, 0.00037775971577502787, -0.023420097306370735, 0.06190472096204758, -0.017793308943510056, -0.005185781046748161, 0.06620308011770248, 0.01641136221587658, 0.06011345982551575, 0.03984012082219124, 0.009678964503109455, 0.01252051256597042, -0.029509317129850388, -0.018157703801989555, 0.0430901013314724, 0.04758045822381973, 0.004956075455993414, -0.05580631643533707, 0.005361767020076513, 0.013679214753210545, -0.021481476724147797, 0.04759413003921509, -0.016445675864815712, 0.0268081221729517, 0.005196662619709969, 0.06962655484676361, -0.033884596079587936, 0.05882807448506355, -0.07072004675865173, -0.013054684735834599, 0.010427361354231834, -0.04664915055036545, 0.018018634989857674, -0.007735843304544687, 0.11860521137714386, 0.061302244663238525, -0.039428431540727615, -0.02082224003970623, 0.013263130560517311, 0.018215877935290337, -0.05190775543451309, -0.01014161016792059, 0.00007697911496507004, 0.02735629305243492, -0.0037553799338638783, -0.06804102659225464, -0.01759866625070572, 0.02838400937616825, -0.03398432955145836, 0.029986433684825897, 0.0828300192952156, -0.028100838884711266, 0.03609544411301613, 0.014163474552333355, -0.018976325169205666, -0.00789767038077116, -0.02468532882630825, -0.044985610991716385, 0.026262372732162476, 0.003923532087355852, -0.014033262617886066, 0.06761333346366882, -0.043417852371931076, -0.03251156955957413, -0.035524312406778336, -0.018795780837535858, 0.007070705760270357, 0.047848042100667953, 0.06306156516075134, 0.008914485573768616, 0.055379267781972885, 0.006547177210450172, 0.03111245110630989, -0.0036867866292595863, -0.0558709055185318, -0.03328484669327736, -0.035198990255594254, 0.0175960510969162, 0.044654134660959244, -0.021457908675074577, 0.04641078785061836, 0.010958606377243996, -0.0039033018983900547, -0.017243454232811928, -0.024612873792648315, 0.029051506891846657, 0.004226102959364653, -0.014202647842466831, -0.0353720560669899, -0.0471501424908638, 0.04892722889780998, -0.04611656442284584, -0.027776582166552544, 0.0027777934446930885, -0.0654655322432518, 0.06208345666527748, -0.06666085869073868, -0.04534856230020523, 0.010830441489815712, 0.023625679314136505, 0.05233075097203255, -0.018934963271021843, 0.012959189713001251, 0.07015582919120789, 0.015817297622561455, -0.005128156393766403, -0.011714817956089973, -0.003119398606941104, 0.01990305818617344, 0.014727616682648659, -0.013524346053600311, 0.04248489812016487, 0.019464781507849693, -0.007777690887451172, -0.03164830803871155, 0.04594913125038147, -0.005744268652051687, -0.26934877038002014, 0.02849067561328411, -0.009296512231230736, -0.06483986973762512, 0.01344373356550932, 0.023029476404190063, -0.0009410384809598327, -0.06523265689611435, -0.020409001037478447, 0.022987673059105873, -0.044141482561826706, -0.0596843846142292, -0.008760358206927776, 0.0650719627737999, 0.003202296094968915, 0.04586375504732132, 0.025612032040953636, -0.029243269935250282, -0.004952741786837578, 0.06432397663593292, -0.007366021629422903, -0.09214110672473907, 0.015933072194457054, 0.02456476166844368, 0.017560714855790138, 0.045034389942884445, -0.12240175157785416, 0.03139754384756088, -0.048630475997924805, 0.017179075628519058, 0.015139592811465263, 0.021149976179003716, -0.008702684193849564, -0.03451995551586151, -0.025101548060774803, -0.017124086618423462, 0.014477790333330631, 0.021462082862854004, -0.02743983082473278, 0.019521357491612434, -0.022687198594212532, -0.028003644198179245, -0.023226600140333176, 0.010541784577071667, 0.06844596564769745, 0.004751638509333134, -0.08343156427145004, -0.015443578362464905, -0.02554326318204403, 0.07684970647096634, -0.03216075152158737, -0.04497148096561432, 0.02210654504597187, 0.044148270040750504, -0.00601339153945446, -0.035567495971918106, -0.0014028525911271572, -0.005878129042685032, -0.03346192091703415, -0.0341494046151638, -0.006485258229076862, -0.0338546484708786, -0.011091691441833973, -0.04376719519495964, 0.002483802381902933, -0.05769307538866997, -0.07099372148513794, -0.007821105420589447, 0.06872066855430603, 0.023476066067814827, -0.0343526192009449, 0.030727673321962357, -0.007896346971392632, -0.10733573883771896, -0.005121700465679169, -0.012661063112318516, -0.01995987445116043, -0.022840047255158424, 0.032256290316581726, 0.04741719365119934, -0.009809239767491817, -0.05244362726807594, 0.020686868578195572, 0.022624747827649117, 0.020665211603045464, -0.026531610637903214, 0.03283308818936348, 0.015236975625157356, -0.03110305219888687, 0.00521578174084425, 0.0652119368314743, 0.00009288430737797171, -0.03392217680811882, -0.032592903822660446, 0.04737991467118263, 0.009327658452093601, 0.024833908304572105, -0.029887624084949493, 0.006246983539313078, 0.03947415202856064, -0.01237308420240879, -0.06013589724898338, 0.014732959680259228, -0.012997386045753956, -0.006041177082806826, -0.01983201690018177, -0.039907798171043396, 0.011895479634404182, 0.04061812162399292, 0.03522242233157158, -0.014982977882027626, -0.0391019769012928, 0.019817041233181953, -0.059389378875494, -0.03199933096766472, -0.03331888094544411, 0.005920629482716322, 0.044039953500032425, -0.02209215983748436, -0.011276462115347385, -0.04984374716877937, 0.01759692095220089, -0.012521878816187382, -0.005931583233177662, -0.05633823946118355, -0.026658261194825172, -0.032609980553388596, -0.021026743575930595, 0.004289156291633844, 0.017131615430116653, -0.01400089543312788, 0.04133345186710358, 0.02007124200463295, -0.041622571647167206, 0.022876160219311714, -0.0024498149286955595, -0.055577151477336884, -0.030856221914291382, -0.01262073963880539, -0.012349831871688366, -0.00231361435726285, 0.017031783238053322, 0.0037115260493010283, 0.02793591283261776, 0.03608233854174614, 0.014570361003279686, 0.024451609700918198, 0.0028808440547436476, 0.021255439147353172, 0.014126843772828579, 0.003804153995588422, -0.08796599507331848, 0.03579271212220192, -0.04644019529223442, -0.04595315828919411, -0.0408778041601181, 0.02631630375981331, -0.008476796559989452, -0.028297025710344315, -0.001627418678253889, 0.023017331957817078, -0.0542883537709713, -0.03096870519220829, -0.02777852490544319, 0.01677597500383854, 0.0752452090382576, -0.017336200922727585, 0.01501927338540554, -0.025844067335128784, -0.036596957594156265, -0.008957778103649616, 0.017233680933713913, -0.03116651438176632, -0.005731804762035608, 0.01989966258406639, -0.017297174781560898, -0.011417622677981853, 0.0017369278939440846, 0.05182782560586929, 0.024184951558709145, -0.0002875303034670651, -0.02683047205209732, 0.004456230439245701, 0.012684893794357777, 0.05508289486169815, -0.0012535349233075976, -0.003272437257692218, -0.011869816109538078, -0.006893771234899759, -0.026263093575835228, -0.03264714777469635, -0.0005201043095439672, 0.016443628817796707, 0.04893532395362854, -0.04761127755045891, -0.08564504981040955, 0.036262791603803635, 0.033699218183755875, 0.020560067147016525, -0.012108136899769306, -0.010759122669696808, 0.017498094588518143, -0.021482814103364944, 0.03199409693479538, 0.033812858164310455, -0.05404192954301834, 0.008330395445227623, -0.017167018726468086, 0.007508961949497461, 0.013558798469603062, -0.005665662232786417, -0.05597332864999771, -0.018675612285733223, -0.02386232651770115, -0.013871170580387115, -0.04530913010239601, -0.027224555611610413, -0.009324396960437298, 0.0037151745054870844, -0.00790654681622982, -0.025292711332440376, -0.005604046396911144, -0.0031863274052739143, -0.012974308803677559, -0.020539460703730583, 0.022654596716165543, -0.04888918250799179, 0.01788591407239437, 0.02121560089290142, -0.037572283297777176, 0.012695579789578915, -0.019851844757795334, 0.011925975792109966, 0.02338937297463417, -0.01964644342660904, -0.00956222228705883, -0.029669633135199547, 0.004038489423692226, 0.01705017313361168, 0.04161130264401436, 0.002225199481472373, -0.00534016452729702, -0.03278960660099983, -0.013678345829248428, -0.05809704586863518, 0.0348513200879097, -0.03436657413840294, -0.02411893755197525, 0.027580823749303818, 0.054544106125831604, 0.021537622436881065, 0.033593952655792236, -0.013680520467460155, -0.017409149557352066, 0.04339147359132767, -0.06936673820018768, -0.04544666409492493, -0.025999173521995544, -0.06814717501401901, -0.00021853504586033523, 0.010229458101093769, 0.03553605452179909, -0.030165230855345726, 0.05204633250832558, 0.025449663400650024, 0.0358734205365181, 0.01899365335702896, -0.0066463397815823555, 0.03763969987630844, -0.04680175334215164, 0.008073162287473679, -0.08156506717205048, 0.015120388939976692, 0.013549224473536015, 0.03563084080815315, -0.01577114313840866, -0.025522924959659576, -0.03229255974292755, 0.03671719878911972, -0.06920560449361801, -0.014803959988057613, 0.03899778053164482, 0.007536373101174831, -0.014876355417072773, -0.012566790916025639, -0.07079310715198517, 0.02236947789788246, 0.033235736191272736, -0.0509025864303112, -0.01783950813114643, -0.040887754410505295, 0.049363184720277786, 0.0005636857822537422, 0.04228295385837555, -0.020759182050824165, 0.003615786787122488, 0.07406771928071976, 0.01064896211028099, -0.0018427831819280982, 0.04195937141776085, 0.0019462391501292586, 0.03685854747891426, 0.035859230905771255, 0.013020157814025879, -0.021952524781227112, -0.0009645631653256714, 0.008316386491060257, -0.06334878504276276, 0.012122021988034248, 0.022458484396338463, -0.04644213989377022, -0.024649297818541527, 0.047408781945705414, 0.026686880737543106, -0.04179935157299042, -0.027235712856054306, 0.01541184913367033, -0.06954825669527054, 0.006759916432201862, -0.011852976866066456, 0.0006367561290971935, -0.04078514501452446, 0.05659407749772072, -0.003194010816514492, -0.011655670590698719, 0.07068526744842529, -0.016425499692559242, -0.030726753175258636, -0.035848766565322876, 0.09314264357089996, 0.07124737650156021, 0.0509498231112957, 0.013381652534008026, 0.06257645040750504, -0.02909281849861145, -0.03812883421778679, 0.02674524486064911, -0.0020766479428857565, -0.007535838056355715, -0.030170293524861336, 0.0037487593945115805, 0.07451505213975906, -0.019588293507695198, 0.05899177864193916, -0.011080500669777393, -0.015525836497545242, 0.0017628967761993408, 0.01642763800919056, 0.01807062327861786, 0.08220182359218597, 0.021076025441288948, 0.0104549340903759, -0.026234226301312447, -0.03828510642051697, 0.02533527836203575, -0.021166108548641205, -0.022900480777025223, 0.014833258464932442, 0.017203491181135178, 0.018900463357567787, 0.010772057808935642, 0.051560934633016586, 0.089427150785923, -0.026602257043123245, 0.010931395925581455, -0.008589887991547585, 0.027794644236564636, 0.0034702636767178774, 0.013893243856728077, -0.016092127189040184, -0.02200261503458023, 0.01685086265206337, -0.0244582686573267, -0.02757115848362446, -0.02046753652393818, -0.00924957450479269, 0.07470192760229111, -0.005663129035383463, -0.0028472214471548796, 0.0331808365881443, 0.0315437912940979, -0.025306880474090576, -0.06796269118785858, -0.04590541496872902, -0.006012461148202419, -0.057210903614759445, -0.0235274787992239, 0.032320767641067505, -0.019113650545477867, -0.024967024102807045, -0.015207482501864433, -0.018342742696404457, -0.022390801459550858, 0.06794416159391403, -0.0556144043803215, -0.03834787756204605, 0.025602437555789948, 0.022961579263210297, 0.03946531563997269, 0.005693776533007622, 0.03528791666030884, -0.006041654851287603, -0.003080058377236128, -0.036191266030073166, 0.015392462722957134, 0.015325823798775673, 0.014074319042265415, 0.014317830093204975, -0.07538095861673355, 0.02941402792930603, 0.029777487739920616, 0.013178749941289425, -0.06466404348611832, 0.01562974601984024, 0.003109837882220745, -0.01874929666519165, 0.049911171197891235, -0.013155912980437279, 0.019002476707100868, -0.020323602482676506, -0.01555497758090496, -0.0004267784534022212, 0.02972978912293911, 0.030413510277867317, -0.021892555058002472, 0.08221222460269928, 0.033897362649440765, -0.025515832006931305, -0.05075937509536743, -0.005206984933465719, 0.0010594403138384223, -0.006278641987591982, -0.01668597012758255, -0.037088245153427124, -0.020855864509940147, -0.07509137690067291, -0.020947575569152832, 0.027532538399100304, -0.014459887519478798, -0.021418534219264984, 0.02084754779934883, 0.033609338104724884, -0.029589544981718063, 0.02359190583229065, -0.034148603677749634, 0.03349187970161438, -0.025664089247584343, -0.001337262336164713, -0.0029905829578638077, -0.005854644346982241, -0.011174769140779972, 0.021307341754436493, 0.012233073823153973, -0.0459008626639843, 0.006735533010214567, 0.012938926927745342, 0.03260214999318123, 0.05536789819598198, 0.022397151216864586, -0.004801743198186159 ]
[ -0.09507568925619125, -0.0014881282113492489, -0.02018125168979168, -0.059601835906505585, 0.04907636344432831, -0.03405223786830902, -0.02971675992012024, 0.03152448683977127, -0.010963981039822102, -0.014590189792215824, -0.010380890220403671, -0.013715729117393494, -0.028829127550125122, -0.020662378519773483, 0.0916525349020958, 0.0032014152966439724, 0.004245682153850794, -0.047255732119083405, 0.030323557555675507, 0.0065818061120808125, 0.039278775453567505, -0.03611385077238083, -0.0461529903113842, -0.023675095289945602, 0.027728205546736717, 0.04805566743016243, 0.031819842755794525, -0.03073618933558464, 0.03342599421739578, -0.18788886070251465, -0.01689966954290867, 0.02835952490568161, 0.05663444101810455, -0.03260354325175285, -0.0018006140599027276, 0.052565354853868484, 0.031240832060575485, 0.012293333187699318, -0.010236634872853756, 0.04026376083493233, 0.01021796278655529, 0.01369132287800312, -0.04690710827708244, -0.03459969907999039, 0.03268951177597046, 0.017553506419062614, 0.01922379806637764, -0.05276663601398468, -0.015056869946420193, 0.0008423432009294629, -0.06817014515399933, -0.03264550492167473, -0.02021467685699463, -0.02733835205435753, 0.00309510575607419, 0.015502006746828556, 0.022190343588590622, 0.08017294853925705, -0.00585238728672266, 0.005445811431854963, 0.014318197965621948, -0.03943365067243576, -0.12227785587310791, 0.09987153857946396, 0.052726879715919495, 0.06908562034368515, -0.04102787375450134, -0.03031005524098873, -0.0007890790584497154, 0.08220552653074265, 0.01060233823955059, -0.023829272016882896, -0.0020637146662920713, 0.04787179082632065, 0.011207093484699726, -0.006881038658320904, -0.0038697225973010063, 0.0046496144495904446, 0.020118629559874535, -0.053913362324237823, -0.034011948853731155, -0.017343740910291672, -0.012596279382705688, -0.014252481050789356, -0.046657759696245193, 0.023606296628713608, -0.010557182133197784, 0.03918001800775528, 0.0317835733294487, 0.03933786228299141, 0.03974689170718193, -0.028165435418486595, 0.04565596207976341, -0.00489790178835392, -0.07471318542957306, 0.00005778491322416812, -0.019672108814120293, 0.0021329813171178102, -0.05167432874441147, 0.4509986937046051, -0.03371820226311684, -0.03574996814131737, 0.08861195296049118, 0.028434783220291138, -0.009163985960185528, 0.008399257436394691, 0.04039539396762848, -0.048870109021663666, 0.031661778688430786, -0.022620752453804016, 0.006831080187112093, 0.02326701208949089, 0.049777552485466, -0.05441492050886154, 0.014138047583401203, 0.014520550146698952, 0.01625777594745159, 0.014011265709996223, 0.016471073031425476, -0.0012754147173836827, -0.0034609229769557714, 0.016194742172956467, 0.02105438895523548, 0.006196469999849796, -0.01465111318975687, -0.04380977898836136, -0.000676961790304631, 0.05701896920800209, 0.027676116675138474, 0.01870781183242798, 0.05605439469218254, -0.026356693357229233, -0.051993824541568756, -0.029442040249705315, 0.0047564636915922165, 0.0207082387059927, 0.019584404304623604, -0.013743371702730656, -0.0022449039388448, 0.04596731811761856, -0.016445254907011986, -0.004539628513157368, 0.005384331569075584, -0.00942499190568924, -0.0476413257420063, 0.11460503935813904, 0.02250286005437374, -0.022830868139863014, -0.011781476438045502, -0.03426400572061539, 0.01934691332280636, 0.03418036177754402, 0.0035275574773550034, -0.04675671458244324, 0.019763076677918434, 0.02664656564593315, 0.08917886018753052, -0.01210582721978426, -0.05961748957633972, -0.01747395657002926, -0.02606397494673729, -0.0179251991212368, -0.0400242879986763, 0.04041404277086258, 0.05289056897163391, -0.10589061677455902, -0.01677446812391281, 0.0001730224466882646, 0.0466456301510334, -0.05998823791742325, -0.02089693583548069, 0.03397729992866516, -0.025192895904183388, 0.006640556268393993, 0.0894894227385521, -0.013451572507619858, -0.03162482753396034, 0.015590955503284931, 0.05637720227241516, 0.020746534690260887, 0.015406699851155281, 0.003729382762685418, -0.03392905369400978, -0.0016997074708342552, -0.03120046854019165, -0.06513644009828568, -0.059252265840768814, -0.030305668711662292, -0.026341397315263748, -0.0008474353235214949, -0.014235980808734894, 0.0066004651598632336, -0.08251596242189407, 0.08239830285310745, -0.03456917405128479, -0.02973581664264202, 0.039612412452697754, -0.012885421514511108, -0.03446602821350098, -0.011998536996543407, -0.0434783399105072, 0.04615197703242302, -0.057290032505989075, 0.028265539556741714, -0.06528584659099579, 0.043205734342336655, 0.05734754353761673, -0.030901644378900528, 0.07479099929332733, 0.047825757414102554, -0.04303622990846634, -0.05472594127058983, 0.009616508148610592, 0.016300594434142113, 0.006648875307291746, -0.02767019346356392, -0.02053193747997284, 0.03526246175169945, -0.011346198618412018, -0.015136190690100193, -0.02573416940867901, -0.001976119354367256, -0.02512218803167343, -0.3301856815814972, -0.012844234704971313, -0.018628085032105446, -0.037754498422145844, 0.003078893758356571, -0.03980417177081108, 0.02571658231317997, -0.018211226910352707, -0.03292728215456009, -0.004952476359903812, 0.07601595669984818, -0.018666120246052742, 0.015680067241191864, -0.10882885754108429, -0.029537133872509003, 0.02481767348945141, -0.033016350120306015, -0.03739163279533386, -0.05688099190592766, 0.0021835360676050186, -0.0061646574176847935, 0.0003598680777940899, -0.019304249435663223, -0.05102574825286865, -0.021214962005615234, -0.07524930685758591, 0.08414554595947266, -0.014009174890816212, 0.1253299117088318, -0.012559275142848492, 0.046103425323963165, 0.0015404433943331242, 0.031229335814714432, -0.10513308644294739, 0.016754206269979477, -0.0027428572066128254, 0.005308889783918858, -0.010104729793965816, 0.038048457354307175, -0.03753999248147011, -0.02468818612396717, 0.030030498281121254, -0.04919671267271042, -0.028840580955147743, -0.06870385259389877, 0.006408131681382656, -0.020281745120882988, -0.0577494278550148, -0.030181623995304108, 0.06391395628452301, 0.009762960486114025, -0.006515353452414274, 0.01501513086259365, 0.023160910233855247, -0.016315391287207603, -0.016208885237574577, -0.06737211346626282, 0.006859530694782734, 0.016754047945141792, 0.011716356500983238, 0.03132016584277153, 0.07496841251850128, 0.014924396760761738, -0.05470416322350502, 0.011303716339170933, 0.0009632399887777865, 0.0069150980561971664, 0.0023474206682294607, 0.05509241297841072, -0.022091591730713844, -0.003072567982599139, 0.08269292861223221, 0.01145018171519041, -0.04169964790344238, 0.023870738223195076, 0.030966741964221, -0.003785636741667986, 0.03918314725160599, 0.02085777558386326, -0.007681763265281916, 0.016269616782665253, -0.017729898914694786, 0.02092844620347023, -0.03992912918329239, -0.00011669595551211387, 0.012021535076200962, -0.013711421750485897, -0.05476699769496918, 0.02902279980480671, 0.01795658841729164, -0.02995271421968937, 0.005549225024878979, -0.004913402255624533, -0.043874215334653854, 0.09353995323181152, 0.013576323166489601, -0.2530410587787628, 0.001662335591390729, 0.07284104079008102, 0.059262678027153015, -0.007362361531704664, 0.060743898153305054, 0.027387471869587898, -0.08187194168567657, 0.018789488822221756, 0.00017213459068443626, 0.028859088197350502, 0.027153832837939262, 0.007105083670467138, 0.013497672975063324, 0.04746965691447258, -0.004620153922587633, 0.049686234444379807, -0.031648728996515274, 0.03882257267832756, -0.014795475639402866, 0.006784121040254831, 0.010065292939543724, 0.1501815766096115, -0.011912037618458271, 0.056899312883615494, 0.0033531615044921637, -0.0014894563937559724, 0.0032527935691177845, 0.06584417819976807, 0.029808424413204193, 0.020013773813843727, 0.01040436141192913, 0.04981767758727074, 0.008132404647767544, 0.0164632610976696, -0.06954441964626312, -0.024214353412389755, 0.019455840811133385, 0.022909263148903847, 0.0005900805699639022, 0.0055291857570409775, -0.0004096339107491076, -0.029892895370721817, 0.0139014832675457, 0.05997241660952568, 0.018027573823928833, -0.013192565180361271, -0.03438350558280945, -0.03815953806042671, -0.028389398008584976, -0.027586141601204872, -0.03910551965236664, 0.0013954992173239589, -0.011951087042689323, 0.012432490475475788, 0.061667587608098984, 0.010834379121661186, -0.010511319153010845, -0.03950778394937515, 0.005065011791884899, 0.0007661012932658195, -0.025064153596758842, 0.1173076406121254, 0.05132493004202843, 0.04046952724456787 ]
[ -0.0288404393941164, -0.016078466549515724, -0.010128631256520748, -0.007930093444883823, 0.00739962887018919, 0.02018013410270214, -0.006860506255179644, 0.035301804542541504, -0.0087603023275733, -0.010926688089966774, -0.0067568086087703705, 0.03062264621257782, -0.020892763510346413, -0.008584615774452686, 0.05018500238656998, -0.002631676383316517, -0.005893522407859564, -0.00809976551681757, 0.006370695773512125, 0.01853867806494236, 0.006897113751620054, 0.021363552659749985, 0.010808025486767292, -0.01639142818748951, -0.028823476284742355, 0.03908541426062584, 0.013618405908346176, -0.016522707417607307, 0.027846328914165497, -0.13022422790527344, 0.005615950562059879, -0.007655626628547907, -0.0069110943004488945, 0.0400828942656517, 0.014270026236772537, 0.005798427853733301, 0.021323418244719505, -0.01803920418024063, 0.013630385510623455, 0.019967835396528244, -0.037298332899808884, -0.0006592836580239236, -0.013499320484697819, 0.015201129019260406, 0.016276411712169647, 0.03643102943897247, -0.02663479372859001, -0.04826849699020386, -0.0033757055643945932, -0.04444074258208275, -0.016776876524090767, -0.017674772068858147, -0.012283488176763058, -0.002635432407259941, 0.04554006829857826, -0.010224413126707077, 0.02802393026649952, -0.0035573714412748814, -0.0075390879064798355, -0.045115143060684204, -0.01402029488235712, -0.0008241740870289505, -0.026137981563806534, -0.0151364766061306, -0.006531151477247477, -0.014147345907986164, -0.0002057432575384155, 0.03228791058063507, -0.028093181550502777, 0.007710016332566738, -0.011062834411859512, 0.01955680549144745, -0.0018303568940609694, 0.015141132287681103, 0.019905952736735344, 0.004876020830124617, -0.0077193924225866795, 0.008872611448168755, 0.0185764841735363, -0.018480531871318817, -0.03439595550298691, 0.0293039008975029, 0.0035801646299660206, 0.006818362046033144, 0.002498564776033163, -0.007021420169621706, -0.0036325326655060053, -0.030872732400894165, 0.03293759375810623, 0.03876180574297905, -0.015039402060210705, 0.023936374112963676, -0.008669624105095863, 0.0006238242494873703, -0.10139809548854828, -0.0006974630523473024, -0.012481874786317348, -0.02252168580889702, -0.0009643190423958004, 0.8645744323730469, -0.03350047394633293, 0.03744782879948616, 0.04191149026155472, 0.010542573407292366, 0.018025318160653114, 0.01564342901110649, -0.0015418370021507144, 0.009978617541491985, 0.01441950723528862, -0.04545050114393234, -0.007587270345538855, 0.005207208450883627, 0.013530551455914974, -0.018720977008342743, 0.010148324072360992, 0.0031659540254622698, 0.010900120250880718, -0.012403696775436401, -0.0022290130145847797, 0.012919528409838676, 0.02098935656249523, 0.0003287888248451054, 0.014276102185249329, 0.0036739306524395943, 0.004992760252207518, -0.1817173957824707, -0.013211644254624844, -9.121152171605566e-33, 0.04554368928074837, -0.002881324151530862, -0.032017529010772705, -0.012607906945049763, -0.0014765537343919277, -0.041997626423835754, 0.03742654249072075, 0.013237878680229187, -0.00953301228582859, -0.0059618656523525715, -0.02300342544913292, -0.030281757935881615, -0.016406824812293053, -0.006820359267294407, 0.03875979781150818, -0.013733049854636192, -0.009126760065555573, 0.02834782376885414, -0.023785442113876343, 0.04712017625570297, 0.023589760065078735, 0.031646277755498886, 0.015812808647751808, -0.019611690193414688, 0.02773192524909973, 0.03823425620794296, 0.02063065767288208, -0.0016448552487418056, -0.015950320288538933, -0.037990864366292953, 0.0033936547115445137, 0.025839025154709816, -0.032431330531835556, -0.017936544492840767, 0.0030649369582533836, -0.05886455625295639, -0.0244104266166687, -0.009743469767272472, -0.009345841594040394, -0.037312597036361694, -0.015397720038890839, -0.016916152089834213, -0.056090179830789566, -0.007858394645154476, 0.021613940596580505, -0.005492642521858215, 0.024783167988061905, 0.012609393335878849, 0.019284717738628387, -0.018341664224863052, 0.0028951687272638083, 0.02040308527648449, 0.020672714337706566, 0.01992645487189293, 0.006153460126370192, -0.012374975718557835, 0.015366180799901485, 0.025386890396475792, -0.002630096161738038, 0.005130640231072903, -0.0008478716481477022, -0.009535731747746468, -0.02523418888449669, 0.023345043882727623, -0.005276622250676155, -0.026473747566342354, -0.002883168635889888, 0.01668480597436428, 0.020634496584534645, -0.03113914653658867, -0.048049453645944595, 0.0039016620721668005, -0.028389431536197662, -0.011903706938028336, -0.00807176809757948, -0.022300314158201218, 0.00463022431358695, 0.023457985371351242, -0.014418219216167927, 0.035687509924173355, 0.008966718800365925, 0.01754472218453884, 0.03517475351691246, -0.005820446647703648, 0.0029959215316921473, 0.016912005841732025, 0.05765198916196823, -0.011972791515290737, -0.032992079854011536, 0.029866507276892662, 0.038497038185596466, -0.03242337331175804, 0.00490949209779501, -0.019624415785074234, -0.0037918034940958023, 8.53787848688327e-33, 0.010405664332211018, -0.016334345564246178, -0.039905428886413574, 0.00833804626017809, -0.0020025314297527075, 0.003380540758371353, -0.00744486041367054, -0.0003829894703812897, -0.08194877207279205, 0.02844850718975067, -0.03331662341952324, -0.004624134860932827, -0.020532546564936638, 0.006384025327861309, 0.03393103554844856, -0.01607799157500267, -0.00206377194263041, -0.01982242427766323, 0.03159940615296364, -0.00830430630594492, 0.06139398366212845, 0.0016506670508533716, 0.032470300793647766, -0.008992401883006096, 0.016279075294733047, 0.03756210207939148, -0.021900679916143417, 0.019319992512464523, 0.003595133777707815, 0.007783133536577225, 0.014309189282357693, -0.018633639439940453, 0.018976012244820595, -0.009780097752809525, -0.004512363113462925, 0.016591817140579224, -0.02318628877401352, 0.010589548386633396, -0.013106492348015308, 0.0023910312447696924, 0.023292090743780136, -0.021025309339165688, -0.014476064592599869, 0.016912510618567467, -0.003329489380121231, -0.0069445231929421425, 0.007790607400238514, -0.016540320590138435, -0.01597495935857296, -0.0023327418603003025, 0.015892675146460533, 0.010674938559532166, 0.034727852791547775, -0.014482839033007622, 0.02250731736421585, -0.003741905791684985, -0.004244970623403788, -0.03450257331132889, -0.0012811514316126704, 0.020454781129956245, -0.008025425486266613, 0.0005090768681839108, -0.026125021278858185, 0.0043395389802753925, -0.025246942415833473, 0.0021946111228317022, -0.003236653283238411, -0.009426622651517391, -0.004441229626536369, -0.012499150820076466, -0.014162580482661724, 0.023760484531521797, -0.0006066200439818203, 0.02079261839389801, 0.0013724867021664977, -0.021737927570939064, -0.029780235141515732, 0.008135475218296051, -0.0263430867344141, 0.03236659616231918, -0.010645091533660889, -0.0273102056235075, 0.0018388153985142708, 0.007261115126311779, -0.02840532176196575, 0.016508160158991814, -0.015012125484645367, 0.010789342224597931, -0.011933697387576103, -0.020573023706674576, -0.025788260623812675, 0.012112770229578018, 0.007954122498631477, 0.017920300364494324, -0.005648235324770212, -1.4151972926867984e-8, -0.01102432981133461, 0.026690157130360603, -0.002270457334816456, 0.017458174377679825, 0.0440223328769207, 0.000506875105202198, -0.029832277446985245, 0.0003553469723556191, -0.053454939275979996, 0.017616935074329376, 0.04755997285246849, 0.01393323764204979, -0.002104187849909067, -0.0011519688414409757, 0.041552282869815826, -0.06510698050260544, -0.010138800367712975, -0.012549454346299171, 0.013840253464877605, 0.02523227594792843, 0.03721684217453003, 0.04583568871021271, -0.010602369904518127, -0.004069956485182047, -0.004052857868373394, 0.010720612481236458, -0.0020636781118810177, -0.057765763252973557, 0.028330955654382706, 0.021747151389718056, 0.0167559701949358, -0.011054999195039272, -0.02686542272567749, 0.03858552500605583, -0.004704836755990982, -0.0607566274702549, 0.012541869655251503, 0.025619080290198326, 0.005311660934239626, -0.0010777992429211736, -0.008580421097576618, 0.0067517622373998165, -0.0004889100673608482, -0.006569738034158945, -0.006275592837482691, 0.033352211117744446, -0.023152871057391167, -0.024688730016350746, 0.0018418567487969995, -0.04161915183067322, -0.010984908789396286, 0.00404586736112833, -0.023187827318906784, 0.06079856678843498, -0.02084941975772381, 0.010974640026688576, -0.004012133460491896, -0.024263426661491394, -0.03876686096191406, -0.008327686227858067, -0.010475355200469494, 0.012034226208925247, -0.02784402295947075, -0.0037825347390025854 ]
book-club-solid-principles-uncle-bob-martin
https://markhneedham.com/blog/2009/09/16/book-club-solid-principles-uncle-bob-martin
false
2009-09-16 23:31:58
Coding: Watch out for mutable code
[ "coding" ]
[ "Coding" ]
I've been doing some more work recently on trying to http://www.markhneedham.com/blog/2009/09/02/coding-reduce-fields-delay-calculations/[reduce the number of fields in some of our classes and moving any logic related to calculations into the methods that use the logic] but managed to break part of our application recently by doing that a bit too casually and not realising that the code I'd inlined was actually being mutated later on. The code I'd refactored originally looked like this: [source,csharp] ---- public class MutableFactory { public MutableClass BuildMyMutableClass() { var mutableClass = new MutableClass() { MutableProperty = new MutableProperty() { RandomValue = true }; }; // later on in the code and hidden away in another method mutableClass.MutableProperty.RandomValue = false; } } public class MutableClass { public MutableProperty MutableProperty { get; set; } } public class MutableProperty { public bool RandomValue { get; set; } } ---- After I refactored it this is what it looked like: [source,csharp] ---- public class MutableFactory { public MutableClass BuildMyMutableClass() { var mutableClass = new MutableClass(); // later on in the code and hidden away in another method mutableClass.MutableProperty.RandomValue = false; } } public class MutableClass { public MutableProperty MutableProperty { get { return new Mutable { RandomValue = true }; } } } public class MutableProperty { public bool RandomValue { get; set; } } ---- Originally when we retrieve 'mutableClass.Mutable.RandomValue' it has a value of 'false' but after the refactoring it always returns 'true' As a result of my inlining the logic, whenever that property was called the logic was recalculated and the mutation of the data which had happened earlier on was lost. Luckily my colleague Matt Dunn spotted that this was what was happening while we were running the code through the debugger but we shouldn't have even needed to resort to that in the first place! The mistake I made here was not to check the test coverage around this bit of code before I made the change, something which Michael Feathers emphasises constantly in http://www.amazon.co.uk/Working-Effectively-Legacy-Michael-Feathers/dp/8131715078/ref=sr_1_3?ie=UTF8&s=books&qid=1253107118&sr=8-3[Working with Legacy Code]. I was under the assumption that the changes I was making were very minimal and wouldn't actually break anything! In hindsight I should have put a test around this code first and then done the refactoring. If I'd done that then the mutation would have quickly become obvious to me i.e. http://dahliabock.wordpress.com/2009/09/16/why-one-should-not-live-without-tests/[the feedback loop would have been significantly quicker than it was]. We do now have tests around the offending code and an additional benefit of working out how to test this functionality was that we noticed how many dependencies the object was actually relying on and have started taking steps to try and solve that problem. Taking a step back from this situation I'm still of the belief that having setters all over the place is really not a good idea - http://www.markhneedham.com/blog/2009/05/23/coding-setters-reduce-trust/[we lose trust in the code] since we don't know when an object might be mutated and that mutation may happen in ways that we don't expect. Maybe we don't need every object in our system to be http://www.infoq.com/articles/dhanji-prasanna-concurrency[immutable] but I think we could get away with having much more immutability than we do now, certainly in the code base I'm working on.
null
null
[ 0.011189918033778667, -0.03759392723441124, -0.03159642592072487, 0.029371904209256172, 0.08508922159671783, 0.012392938137054443, 0.039674311876297, 0.023444820195436478, -0.013766518794000149, -0.04293340817093849, 0.00022654944041278213, -0.005825779866427183, -0.06296314299106598, 0.03363566845655441, -0.015867089852690697, 0.06541959941387177, 0.07683821022510529, -0.03808293491601944, 0.010826573707163334, 0.01974751427769661, -0.0050740777514874935, 0.07129228115081787, -0.016202332451939583, 0.021501101553440094, 0.013353174552321434, 0.025430642068386078, -0.02507047913968563, -0.010483398102223873, -0.062469955533742905, -0.00461976695805788, 0.04268578067421913, 0.029936790466308594, 0.01834891550242901, -0.0027441109996289015, 0.010242283344268799, -0.029953980818390846, -0.026965254917740822, 0.017989372834563255, -0.011236648075282574, 0.028498753905296326, -0.054511915892362595, 0.013909365981817245, 0.0015411988133564591, 0.0018286749254912138, -0.058359790593385696, -0.018117766827344894, -0.03447199985384941, 0.003917599096894264, -0.07002405822277069, -0.0066330572590231895, -0.0482616052031517, 0.024340543895959854, -0.04840613529086113, 0.0017148874467238784, 0.012683626264333725, 0.07219070196151733, 0.009409168735146523, -0.07268767058849335, 0.01875188760459423, -0.06245533376932144, 0.013604865409433842, -0.027320869266986847, -0.008835811167955399, 0.028684429824352264, -0.015367482788860798, -0.011223635636270046, -0.010642511770129204, 0.03990922123193741, -0.029310597106814384, -0.029385937377810478, -0.03706476464867592, 0.013921275734901428, -0.009853416122496128, -0.0011406573466956615, 0.01823969930410385, -0.019223911687731743, -0.01128657441586256, 0.059972912073135376, 0.022576389834284782, 0.05662935972213745, 0.00655896682292223, -0.006952547002583742, 0.038257207721471786, 0.003244024934247136, 0.038614269345998764, -0.01661052741110325, -0.038840409368276596, 0.011603797785937786, -0.03531242161989212, 0.05301675572991371, 0.021296372637152672, -0.02830377034842968, -0.0007960469811223447, 0.035428181290626526, 0.0026923806872218847, 0.005438803229480982, 0.0016952560981735587, -0.009017698466777802, 0.0072935293428599834, -0.007041498553007841, -0.037326812744140625, -0.008634448982775211, 0.017681442201137543, -0.007220768369734287, -0.08212928473949432, -0.020274002104997635, -0.05325862392783165, -0.024007603526115417, 0.005217944737523794, 0.019011791795492172, -0.051652465015649796, 0.035763245075941086, -0.036292511969804764, -0.01483449712395668, -0.08811494708061218, 0.05066465586423874, 0.014868712052702904, 0.009939486160874367, -0.014549415558576584, 0.0316540002822876, 0.046439528465270996, 0.0218860674649477, -0.00808763224631548, 0.09875242412090302, 0.0021604395005851984, 0.04614118114113808, -0.015794925391674042, 0.05222402513027191, -0.009274369105696678, -0.08204304426908493, 0.012522939592599869, 0.05792493000626564, -0.030759740620851517, 0.0059767658822238445, 0.014852500520646572, -0.02281132899224758, -0.017220424488186836, 0.008010107092559338, 0.03380347788333893, 0.017106657847762108, -0.037559814751148224, -0.04087086021900177, 0.020794592797756195, -0.010002127848565578, -0.009407836943864822, 0.01747184805572033, -0.03418325260281563, -0.010453860275447369, 0.005081151612102985, 0.07528235018253326, 0.02722659520804882, 0.08498121052980423, 0.06321629136800766, -0.03936995193362236, 0.013490160927176476, 0.06913698464632034, -0.028288815170526505, 0.01987765170633793, -0.009274190291762352, 0.04088317230343819, 0.045538149774074554, 0.038913387805223465, 0.02188859134912491, 0.025295330211520195, 0.04408717527985573, 0.015036774799227715, 0.00078382104402408, 0.04866299033164978, -0.008856124244630337, -0.026482317596673965, -0.06586108356714249, -0.01945331320166588, 0.04675409570336342, -0.05940127745270729, -0.004186974838376045, 0.05002002418041229, 0.0646081268787384, 0.0011904386337846518, 0.0771697536110878, -0.0140148364007473, -0.06444232910871506, -0.004377896897494793, 0.0019587045535445213, -0.004038368351757526, -0.0144112603738904, 0.0031070406548678875, 0.05777573212981224, 0.021613184362649918, 0.024024246260523796, 0.008977699093520641, -0.058609165251255035, -0.05241987481713295, -0.026712408289313316, -0.011488797143101692, 0.08052387088537216, -0.00687085185199976, -0.029507553204894066, 0.08303553611040115, 0.017584558576345444, 0.05703716352581978, 0.024943547323346138, -0.02598160319030285, -0.0033444100990891457, -0.027261963114142418, -0.026632163673639297, 0.02668372541666031, 0.04125314950942993, -0.005838921759277582, -0.04175085574388504, 0.02860475331544876, -0.030882814899086952, 0.0002942396386060864, 0.046945564448833466, -0.018583422526717186, 0.05112690106034279, 0.00743476627394557, -0.002970862900838256, -0.05271278694272041, 0.052914656698703766, -0.08069725334644318, 0.013057278469204903, 0.00779283232986927, -0.02049184963107109, -0.010942954570055008, -0.003418231150135398, 0.1167246475815773, 0.04992818087339401, -0.04650718346238136, -0.02394934743642807, 0.01122282538563013, 0.021572288125753403, -0.02043073996901512, -0.013889448717236519, -0.035111673176288605, 0.03466673940420151, -0.020141934975981712, -0.022519303485751152, -0.006123635917901993, 0.012829344719648361, -0.033392924815416336, 0.02782961167395115, 0.07802758365869522, -0.022829610854387283, 0.050663795322179794, -0.00773034431040287, -0.023954978212714195, -0.005771369207650423, -0.031123055145144463, -0.07533276081085205, -0.0008554871892556548, 0.024068038910627365, -0.01304638758301735, 0.06928576529026031, -0.00871546845883131, -0.02241244912147522, -0.015595836564898491, -0.0301341712474823, -0.02413700334727764, 0.0036102135200053453, 0.06096137687563896, 0.008164429105818272, 0.051874589174985886, -0.006320083048194647, -0.025170862674713135, -0.0311976857483387, -0.06480211019515991, 0.02172401174902916, 0.010312600992619991, 0.021046634763479233, 0.037332192063331604, 0.007489806041121483, 0.006601430010050535, 0.03263550624251366, 0.015003738924860954, -0.037068575620651245, -0.029113981872797012, 0.02991044707596302, -0.0058138323947787285, -0.037667520344257355, -0.019236227497458458, -0.044411126524209976, 0.033458124846220016, -0.05794582515954971, -0.06130921095609665, 0.019001463428139687, -0.0817437544465065, 0.041123807430267334, -0.054183799773454666, -0.04592232406139374, 0.018315192312002182, 0.008101996965706348, 0.028645111247897148, -0.01795048452913761, 0.05026017874479294, 0.09415651112794876, 0.0009248793940059841, 0.007094409316778183, -0.017029711976647377, 0.0048261359333992004, 0.018134184181690216, 0.008590812794864178, 0.01739315688610077, 0.021272240206599236, -0.01050567626953125, -0.025051239877939224, -0.02972462773323059, 0.023505421355366707, 0.0005303006619215012, -0.2643842101097107, 0.035115957260131836, -0.00024711291189305484, -0.03512455150485039, 0.020272748544812202, 0.0010369298979640007, 0.02215776965022087, -0.035256728529930115, -0.002005597809329629, 0.043737564235925674, -0.00841652974486351, -0.05959605425596237, -0.040786027908325195, 0.06253325194120407, 0.012796075083315372, 0.0029105928260833025, -0.023122098296880722, -0.025448588654398918, -0.014173222705721855, 0.06993789225816727, 0.022221146151423454, -0.06293975561857224, -0.0263766311109066, 0.03720535337924957, 0.02711501717567444, 0.02887585386633873, -0.08137311786413193, 0.03357670456171036, -0.040695399045944214, -0.027978207916021347, 0.003740574000403285, 0.006261690519750118, 0.022687310352921486, -0.02272229641675949, -0.03706854209303856, -0.006460847333073616, -0.025347396731376648, 0.04720064997673035, -0.02761217951774597, 0.05733110383152962, -0.01996496692299843, -0.03243415430188179, -0.016668066382408142, -0.010991143062710762, 0.06974826753139496, 0.003050628351047635, -0.06485120952129364, -0.007600694894790649, -0.04163816198706627, 0.06741955876350403, -0.0003678780922200531, -0.044400494545698166, 0.015228595584630966, 0.03792121633887291, 0.0018274342874065042, -0.011454694904386997, 0.01609565131366253, -0.00821996945887804, -0.052551157772541046, -0.03665110841393471, 0.003233448602259159, -0.051542602479457855, 0.013281681574881077, -0.03926648199558258, 0.012197540141642094, -0.05586946755647659, -0.06231898069381714, -0.012732041999697685, 0.07635577023029327, 0.04016439989209175, -0.0191238671541214, -0.002694144379347563, 0.021841097623109818, -0.11423133313655853, -0.023622052744030952, -0.03472427278757095, -0.019101474434137344, -0.05216197296977043, -0.017833508551120758, 0.034691762179136276, -0.022919969633221626, -0.026260916143655777, 0.037158772349357605, 0.027696844190359116, 0.014381411485373974, -0.007632307708263397, 0.018705230206251144, -0.019552376121282578, -0.03964373841881752, -0.010682560503482819, 0.06385713070631027, 0.000862406799569726, 0.0038436229806393385, -0.05866609886288643, -0.002088857116177678, 0.03586813807487488, 0.028121989220380783, -0.008947767317295074, 0.012193668633699417, 0.03021702729165554, 0.055036742240190506, -0.06294294446706772, 0.03855862095952034, -0.04919363930821419, -0.011579323559999466, -0.02997075766324997, -0.06902662664651871, 0.018480056896805763, 0.011048683896660805, 0.015456041321158409, -0.013194682076573372, -0.030084960162639618, -0.015581988729536533, -0.03450625389814377, -0.0054532731883227825, -0.015343919396400452, 0.022678012028336525, 0.04396751523017883, -0.03227601572871208, -0.0268461462110281, -0.05000240355730057, 0.029451115056872368, -0.003557073650881648, 0.0058895437978208065, -0.06887804716825485, -0.042819175869226456, -0.00650180596858263, 0.012142622843384743, 0.0088484613224864, 0.012937944382429123, -0.010379086248576641, 0.025971679016947746, -0.03263253718614578, -0.020374972373247147, 0.007722952868789434, 0.020540336146950722, -0.00010585045674815774, -0.03731212392449379, -0.019962431862950325, -0.013631507754325867, 0.02502376399934292, -0.023646162822842598, 0.03108234517276287, 0.008444431237876415, 0.0400540791451931, -0.005356770474463701, 0.05785788968205452, 0.023762939497828484, -0.012433605268597603, 0.010883351787924767, 0.018857264891266823, -0.08795580267906189, 0.03379777818918228, -0.051616325974464417, -0.040994804352521896, -0.008454523049294949, 0.02242136001586914, -0.01514116395264864, -0.031948644667863846, -0.04080690070986748, 0.021544199436903, -0.019560297951102257, -0.04390360414981842, -0.02628728747367859, -0.013139737769961357, 0.0723162591457367, -0.032699104398489, 0.04652608931064606, -0.028773540630936623, -0.027488691732287407, -0.0035839758347719908, -0.007270477712154388, -0.03740305081009865, 0.026651380583643913, 0.020060768350958824, -0.005658705718815327, -0.008228542283177376, -0.0055268206633627415, 0.025758840143680573, 0.015246598981320858, 0.014892639592289925, -0.00927224475890398, 0.010454114526510239, -0.015872851014137268, 0.057098936289548874, -0.0020290713291615248, 0.030837982892990112, -0.008795956149697304, -0.0018400057451799512, -0.016014201566576958, -0.025140639394521713, -0.020636601373553276, -0.017845142632722855, 0.026572594419121742, -0.03533194586634636, -0.0560823492705822, 0.020522870123386383, 0.024389127269387245, 0.029305346310138702, 0.0048585934564471245, 0.007204117253422737, 0.02874111756682396, -0.018231555819511414, 0.004545888397842646, 0.053798384964466095, -0.03631196543574333, 0.015663862228393555, 0.029938582330942154, -0.006382308900356293, 0.024103304371237755, 0.014252644032239914, -0.023512497544288635, -0.017591172829270363, -0.030545448884367943, -0.020337607711553574, -0.028933607041835785, -0.010837484151124954, -0.022171935066580772, -0.004449715372174978, -0.028988266363739967, -0.007212014868855476, -0.017770962789654732, 0.017279749736189842, -0.01187033299356699, -0.017049573361873627, 0.005606264807283878, -0.03908133506774902, 0.030428938567638397, 0.03832921013236046, -0.03425058722496033, 0.054527923464775085, 0.0009689474245533347, 0.023390715941786766, 0.023089399561285973, -0.01196608692407608, -0.040064699947834015, -0.051419470459222794, 0.025500819087028503, -0.022023091092705727, 0.044332001358270645, 0.009420602582395077, -0.028654584661126137, -0.0392879955470562, -0.039417002350091934, -0.022993428632616997, 0.00901840440928936, -0.02586510218679905, -0.02399628423154354, 0.022280830889940262, 0.04789970442652702, 0.008772505447268486, 0.05472319945693016, -0.010981936939060688, 0.005321228411048651, 0.06785771995782852, -0.07602143287658691, 0.006424794904887676, -0.003376044100150466, -0.0594954639673233, 0.002147743245586753, 0.008438891731202602, 0.023638175800442696, -0.03732719272375107, 0.019913243129849434, 0.04137179255485535, 0.010995127260684967, 0.040388599038124084, -0.0008019087836146355, 0.042592331767082214, -0.04564013332128525, 0.03465250879526138, -0.07479381561279297, 0.043637823313474655, 0.03738086298108101, 0.016656022518873215, -0.02106555365025997, -0.0435427688062191, -0.018464887514710426, 0.03385724499821663, -0.0652630552649498, -0.029617322608828545, 0.04657633602619171, 0.01821225695312023, 0.003601434174925089, 0.0324578732252121, -0.05017518997192383, 0.04783405736088753, 0.017397794872522354, -0.022150564938783646, -0.0473647341132164, -0.025875883176922798, 0.05372137576341629, 0.03394173085689545, 0.009609122760593891, -0.04113093018531799, 0.01143770944327116, 0.0427246168255806, 0.026301903650164604, 0.05137516185641289, 0.038527220487594604, -0.030598346143960953, 0.031298406422138214, 0.03829222172498703, -0.003983499016612768, -0.009244829416275024, 0.019710598513484, 0.028351372107863426, -0.06110759451985359, -0.01696738600730896, 0.007214991841465235, -0.03790370002388954, -0.053470976650714874, 0.07139385491609573, 0.014055203646421432, -0.02212885022163391, -0.029138412326574326, -0.006988148204982281, -0.03700528293848038, -0.017361996695399284, -0.019179692491889, 0.013661716133356094, -0.03042318858206272, 0.07897888123989105, 0.009764009155333042, -0.013022388331592083, 0.07505141198635101, 0.010004421696066856, 0.006741906050592661, -0.01622074842453003, 0.07319820672273636, 0.07063028961420059, 0.04812012240290642, -0.03585212305188179, 0.0521189384162426, -0.025998061522841454, -0.03921389579772949, 0.023945361375808716, -0.042197052389383316, -0.018188515678048134, -0.020962722599506378, 0.032855015248060226, 0.09523222595453262, -0.010857322253286839, 0.06467907875776291, -0.044656675308942795, 0.0008976813405752182, -0.002631512237712741, 0.01193830743432045, 0.020366551354527473, 0.048838287591934204, 0.02045568823814392, -0.007262278348207474, 0.006194436922669411, -0.05392569676041603, 0.03417636454105377, -0.018486060202121735, -0.013481471687555313, 0.005703465081751347, 0.00866528507322073, 0.004654313437640667, 0.0004143007390666753, 0.014454652555286884, 0.06097864732146263, -0.020304253324866295, -0.01583349145948887, -0.013887808658182621, 0.04305450618267059, 0.030599111691117287, -0.024279069155454636, -0.026228519156575203, -0.023890288546681404, 0.01662198081612587, -0.011181027628481388, 0.00013059988850727677, -0.03273572772741318, -0.026998095214366913, 0.03540673851966858, -0.021941032260656357, 0.018529728055000305, 0.039078835397958755, 0.0217729564756155, -0.014753012917935848, -0.05205065757036209, -0.0703059658408165, -0.04194433614611626, -0.06879398971796036, -0.021137012168765068, 0.014939375221729279, -0.029622968286275864, -0.030849507078528404, -0.015362344682216644, -0.02339155785739422, 0.0011086403392255306, 0.059055957943201065, -0.0360882394015789, -0.033770713955163956, 0.03315429762005806, 0.011078200303018093, 0.037831179797649384, 0.03451750800013542, 0.04962094500660896, -0.00796530768275261, -0.0013566522393375635, -0.023216642439365387, -0.03636319562792778, 0.022925427183508873, 0.003838643431663513, -0.012218226678669453, -0.0675969198346138, 0.046898677945137024, 0.00435443501919508, -0.008095860481262207, -0.05863606184720993, 0.024927278980612755, 0.0008778885239735246, -0.01919541507959366, 0.05810951068997383, -0.019074076786637306, -0.023318124935030937, -0.00831160694360733, -0.0008147053304128349, 0.01621728576719761, 0.027746155858039856, 0.03790035471320152, -0.026244884356856346, 0.06744372099637985, 0.02776949480175972, -0.03991851583123207, -0.026821697130799294, -0.009279534220695496, -0.01058032363653183, 0.0010830586543306708, -0.031779754906892776, -0.030284004285931587, -0.04223167151212692, -0.03995530679821968, 0.015353711321949959, 0.04692623019218445, -0.017808005213737488, -0.040321387350559235, 0.020663853734731674, 0.05771719664335251, -0.053046610206365585, 0.027432989329099655, -0.03704896196722984, 0.04246336221694946, -0.03954339027404785, -0.01924607902765274, 0.013735661283135414, -0.006865196395665407, -0.018029823899269104, 0.030766699463129044, 0.016417907550930977, -0.028992224484682083, -0.016964584589004517, -0.022965773940086365, 0.009896482340991497, 0.025133248418569565, -0.021996574476361275, 0.015816060826182365 ]
[ -0.09591668844223022, -0.01331926416605711, -0.010766175575554371, -0.041402027010917664, 0.043318506330251694, -0.05358606576919556, 0.011358365416526794, 0.0067734140902757645, 0.0197268258780241, 0.013835047371685505, 0.051510974764823914, -0.0450863316655159, -0.018597643822431564, -0.04469342902302742, 0.06577633321285248, 0.0037112704012542963, -0.0593247152864933, -0.01758676953613758, -0.023168740794062614, 0.009720899164676666, 0.0528547428548336, -0.02379733882844448, -0.04351700842380524, -0.036441415548324585, 0.07249939441680908, 0.030755141749978065, 0.018257595598697662, -0.05162965878844261, 0.008812710642814636, -0.24326671659946442, 0.01046147383749485, -0.04788975417613983, 0.008445682004094124, -0.016043035313487053, 0.02821883000433445, -0.02995179407298565, -0.0010414496064186096, 0.016873115673661232, 0.010821639560163021, 0.07243762910366058, 0.00980592891573906, 0.04281023517251015, -0.05501672998070717, -0.04308024421334267, 0.057324379682540894, 0.00020883437537122518, 0.026082005351781845, -0.014025100506842136, -0.008377652615308762, -0.013395840302109718, -0.0707244798541069, -0.0010476639727130532, -0.04040282219648361, 0.014304587617516518, -0.016932258382439613, -0.00611775740981102, 0.07281392067670822, 0.07755312323570251, 0.04256473109126091, 0.042832471430301666, -0.0034539143089205027, 0.014636022038757801, -0.10362755507230759, 0.09035451710224152, 0.024576598778367043, 0.023228595033288002, 0.01552124135196209, -0.058765389025211334, 0.04724447429180145, 0.07296743988990784, 0.054616983979940414, -0.024701612070202827, 0.014435926452279091, 0.06346140056848526, 0.016940917819738388, -0.049984682351350784, 0.014223597943782806, 0.013021520338952541, 0.04590652137994766, -0.005620001349598169, -0.07072719931602478, -0.0461868941783905, 0.014152071438729763, -0.019791992381215096, -0.014862227253615856, 0.014439068734645844, -0.003223664592951536, 0.011914191767573357, 0.050578635185956955, 0.026950009167194366, 0.04010961577296257, -0.005366660188883543, 0.01575482077896595, 0.00010834256681846455, -0.06945640593767166, 0.017459426075220108, -0.04755229502916336, -0.015322376973927021, 0.005787858739495277, 0.40066829323768616, -0.04907176271080971, -0.04607695713639259, 0.009962780401110649, 0.07378178089857101, -0.02398429811000824, 0.02933412417769432, 0.01270829327404499, -0.0388747900724411, -0.0012339167296886444, -0.05357319861650467, -0.016502628102898598, -0.001913960324600339, 0.052803102880716324, -0.025165973231196404, -0.028209665790200233, 0.006590517237782478, 0.020931273698806763, -0.010176102630794048, -0.052176736295223236, 0.029710358008742332, 0.023725975304841995, 0.013144092634320259, 0.03304192051291466, 0.005483260378241539, 0.03314732387661934, -0.008097833953797817, -0.01914110593497753, 0.09411849081516266, 0.021438071504235268, 0.01940339058637619, 0.026603659614920616, -0.05709170922636986, -0.05964051932096481, -0.04417998716235161, 0.028655605390667915, 0.004926634952425957, 0.009666303172707558, -0.006307574920356274, 0.027965757995843887, 0.010378181003034115, -0.027036691084504128, -0.018645834177732468, 0.024307776242494583, -0.028410788625478745, -0.08117111027240753, 0.09773532301187515, -0.026485871523618698, -0.014346539974212646, 0.014970107935369015, -0.018188266083598137, -0.014016798697412014, 0.0009231152944266796, -0.0384354330599308, -0.06850369274616241, 0.01765848509967327, 0.04943351447582245, 0.052321337163448334, 0.007282183971256018, -0.017132727429270744, -0.02561643160879612, -0.053974129259586334, 0.004159693140536547, -0.031864263117313385, 0.058905407786369324, 0.017756382003426552, -0.05204096436500549, -0.014358156360685825, 0.023966152220964432, 0.023184359073638916, -0.0797555148601532, -0.025068851187825203, 0.04452019929885864, -0.03472898155450821, -0.007327707018703222, 0.06959786266088486, -0.01639421284198761, -0.018055740743875504, 0.0004650985065381974, 0.033560968935489655, 0.049623649567365646, 0.050553057342767715, 0.030339829623699188, -0.07061222940683365, 0.013051806017756462, -0.010095801204442978, -0.061602622270584106, -0.027043389156460762, 0.014151079580187798, -0.019096821546554565, 0.016957733780145645, -0.017161112278699875, -0.04231150820851326, -0.09002269804477692, 0.06200804561376572, -0.026060637086629868, -0.0416092723608017, 0.05574522167444229, -0.016448233276605606, 0.03450896963477135, -0.03392680361866951, 0.04195576533675194, 0.04758334904909134, -0.014446243643760681, 0.03998924046754837, -0.059608615934848785, 0.04232815280556679, 0.04986480996012688, -0.04025720804929733, 0.05055771768093109, 0.04278119280934334, -0.05388244241476059, -0.04490164294838905, -0.05424031615257263, 0.02196165733039379, -0.026672188192605972, 0.004835777450352907, -0.02291969582438469, 0.015382830053567886, -0.0031071093399077654, -0.03335166722536087, -0.03518012911081314, -0.0418078787624836, -0.013839091174304485, -0.35059183835983276, -0.023190293461084366, -0.028574755415320396, -0.07195518910884857, 0.02183128334581852, -0.04248441755771637, -0.024927712976932526, -0.03718171268701553, -0.02507045306265354, -0.0004459915799088776, 0.06233532726764679, -0.019298795610666275, -0.014795995317399502, -0.06421690434217453, -0.00883233267813921, 0.021927107125520706, -0.030065370723605156, -0.04823983833193779, -0.07222970575094223, 0.020484915003180504, 0.026776326820254326, 0.037564389407634735, -0.023761257529258728, -0.06140430271625519, 0.03018617071211338, -0.04818281903862953, 0.09252428263425827, -0.056627824902534485, 0.09984882175922394, -0.015369518660008907, 0.025731287896633148, -0.00047641596756875515, 0.017542868852615356, -0.044022224843502045, 0.0032378556206822395, -0.03247387334704399, -0.04373334348201752, 0.004524223040789366, 0.015998275950551033, -0.012653890997171402, -0.015759209170937538, 0.039023078978061676, -0.03670251742005348, -0.06210126355290413, -0.004422049503773451, -0.0016180857783183455, -0.006018182262778282, -0.029668522998690605, -0.0257966797798872, 0.09102632105350494, 0.01998470537364483, 0.006685484666377306, 0.0091662323102355, 0.044935595244169235, 0.015009296126663685, -0.016702033579349518, -0.03346358984708786, 0.01803036406636238, 0.009966453537344933, -0.00019585512927733362, 0.05337971821427345, 0.043970558792352676, 0.009065743535757065, -0.020773757249116898, 0.003938260022550821, 0.0035390311386436224, 0.015786346048116684, -0.012686588801443577, 0.009985445998609066, -0.05107567086815834, -0.05119991675019264, 0.11626360565423965, 0.0028434116393327713, -0.0021740172524005175, 0.03464675322175026, 0.04290430620312691, -0.025512071326375008, 0.01002280693501234, -0.029353691264986992, 0.02622479386627674, 0.00964055210351944, 0.036983441561460495, 0.0005839032237417996, -0.013115204870700836, 0.021276041865348816, -0.0238634180277586, -0.03919506445527077, 0.020163530483841896, 0.017854290083050728, -0.019563868641853333, -0.025647908449172974, 0.0058470615185797215, -0.006331323646008968, -0.033845819532871246, 0.048206206411123276, -0.047778721898794174, -0.24113374948501587, 0.009472298435866833, 0.07174994051456451, 0.0643194317817688, 0.005218332167714834, 0.03652730956673622, 0.04463827237486839, -0.02396116964519024, -0.003945733420550823, 0.02091286890208721, 0.012612789869308472, 0.028476031497120857, 0.03928220644593239, 0.023546919226646423, 0.040872722864151, -0.03929745778441429, 0.03912713751196861, -0.035537440329790115, 0.061243925243616104, -0.003378241555765271, 0.0492759570479393, -0.02809038758277893, 0.1802181601524353, 0.037741102278232574, 0.06421488523483276, -0.011958087794482708, 0.025982294231653214, 0.03292245790362358, 0.08816102147102356, 0.04082054644823074, 0.0009201673674397171, -0.010165202431380749, 0.09343735128641129, 0.0067669665440917015, 0.022175829857587814, -0.06481516361236572, -0.01793859153985977, 0.0341854952275753, 0.012128487229347229, -0.02004878595471382, -0.03586062043905258, 0.012812918983399868, -0.06505122035741806, 0.017523780465126038, 0.06934931129217148, 0.02937275357544422, -0.022799672558903694, -0.04836767911911011, -0.03055538982152939, -0.006395395379513502, -0.05818713456392288, -0.00812147743999958, 0.012462574988603592, -0.06356967985630035, -0.006432667840272188, 0.03954092413187027, 0.007605003193020821, 0.0051647452637553215, -0.019958073273301125, 0.02205689251422882, 0.02863350510597229, 0.019502906128764153, 0.07557655870914459, 0.011037957854568958, 0.014576050452888012 ]
[ 0.0016852233093231916, 0.03891632333397865, -0.0020393480081111193, 0.0203204657882452, -0.0015438753180205822, 0.04030745103955269, 0.01776774786412716, -0.0050826361402869225, 0.006396572571247816, 0.026359589770436287, 0.009888635948300362, -0.021838737651705742, 0.05424889549612999, -0.048610519617795944, 0.01642073132097721, -0.015364369377493858, 0.013172884471714497, 0.030667968094348907, -0.0083412304520607, 0.026197008788585663, 0.008981183171272278, 0.016443338245153427, 0.0023415384348481894, 0.022779036313295364, 0.014751025475561619, -0.019418826326727867, -0.00244353199377656, -0.004444433841854334, 0.019013559445738792, -0.11218847334384918, -0.050672486424446106, 0.008289111778140068, -0.03153497353196144, -0.0035869074054062366, -0.043985895812511444, 0.006268279626965523, 0.030127402395009995, 0.07004214078187943, 0.005356048233807087, 0.004813183099031448, -0.03164795786142349, -0.010116388089954853, -0.005376465152949095, -0.0005506295128725469, -0.01410946249961853, -0.018593385815620422, 0.01792204938828945, -0.07918055355548859, -0.03204461932182312, -0.014917328022420406, -0.03445446118712425, 0.03486678749322891, 0.012234903872013092, -0.01171086635440588, 0.07419149577617645, -0.015996407717466354, 0.003296889131888747, -0.01513113547116518, 0.003765329485759139, 0.0030669523403048515, -0.02171175554394722, -0.01561190839856863, 0.003525496693328023, -0.03422516956925392, 0.02167247235774994, -0.0019566568080335855, 0.0035275195259600878, 0.012452490627765656, 0.024109838530421257, -0.026278750970959663, -0.01707424223423004, 0.02927514910697937, -0.0015102948527783155, 0.009132562205195427, -0.005572973750531673, 0.026525048539042473, 0.02714821882545948, -0.002880255924537778, 0.02260415069758892, -0.031817831099033356, -0.0598868764936924, 0.0027286335825920105, 0.008606666699051857, -0.0028331612702459097, 0.023357855156064034, -0.0037889855448156595, 0.02562565915286541, 0.003773907432332635, 0.006636284291744232, -0.008125019259750843, 0.0018481335137039423, 0.02740194834768772, -0.005276203155517578, 0.023797478526830673, -0.06562237441539764, 0.026561042293906212, -0.014161483384668827, -0.06300884485244751, 0.008654297329485416, 0.8317298293113708, -0.00859989132732153, 0.0606464184820652, 0.035586751997470856, 0.04724850505590439, 0.003195767058059573, -0.05115572735667229, 0.0269634909927845, -0.01377748604863882, -0.022171255201101303, -0.03329791501164436, 0.045529309660196304, -0.011647901497781277, 0.005780037026852369, 0.029786275699734688, -0.03931514546275139, 0.03960045427083969, -0.006794504355639219, -0.020216787233948708, -0.019050830975174904, 0.0023649847134947777, 0.0016646527219563723, 0.020997462794184685, -0.0072832112200558186, -0.022751273587346077, -0.0024515127297490835, -0.13874942064285278, 0.0010204988066107035, -6.974821444542967e-33, 0.03265127167105675, -0.052519939839839935, 0.01878475397825241, 0.0347888320684433, 0.05567058548331261, -0.0004205846053082496, 0.03448428958654404, 0.029258208349347115, 0.043280892074108124, -0.04118846729397774, 0.007251021917909384, -0.01637674868106842, -0.027124103158712387, -0.02849111333489418, 0.03333248570561409, -0.018994104117155075, -0.016778981313109398, 0.0005158407147973776, -0.011414570733904839, 0.02399716153740883, 0.026238221675157547, 0.01284767221659422, 0.025174224749207497, -0.0010114562464877963, 0.028077086433768272, -0.0007503884262405336, 0.013601643964648247, -0.0033321576192975044, 0.018286144360899925, -0.02020629122853279, 0.01317684818059206, 0.02422012947499752, -0.009412294253706932, -0.03395266830921173, -0.014583653770387173, -0.05777089670300484, 0.006359846796840429, 0.019274644553661346, -0.0022028798703104258, -0.04010147228837013, -0.04546581208705902, -0.029728295281529427, -0.031517088413238525, -0.0075118266977369785, -0.031113017350435257, -0.02148382179439068, -0.0009764819405972958, 0.027723852545022964, 0.030960125848650932, 0.007511916570365429, 0.04292740300297737, 0.06054734066128731, -0.0239787045866251, 0.001198476878926158, -0.020032819360494614, 0.016165465116500854, -0.007102406118065119, 0.0042876629158854485, 0.004177845548838377, 0.05326949059963226, -0.024734381586313248, -0.017804676666855812, -0.029538238421082497, 0.027965480461716652, -0.03292115032672882, 0.02933083288371563, -0.037723902612924576, -0.03846077620983124, 0.04481998458504677, -0.03980947658419609, -0.025037731975317, -0.025430016219615936, -0.03358939662575722, -0.001188728609122336, 0.02215566299855709, -0.011367928236722946, -0.011536112986505032, -0.020946787670254707, -0.019253473728895187, -0.0122423330321908, 0.029462266713380814, 0.0517122782766819, -0.05471348389983177, -0.035695746541023254, -0.006764099933207035, -0.011834295466542244, -0.019411373883485794, -0.02594725228846073, 0.017350567504763603, -0.03246269002556801, 0.028563447296619415, 0.006455606780946255, 0.0013314425013959408, -0.004490964114665985, -0.046680547297000885, 6.926044306455596e-33, -0.017026647925376892, -0.012498380616307259, 0.00907124299556017, 0.02627636305987835, 0.011978870257735252, -0.006654756143689156, -0.013917449861764908, 0.016831049695611, -0.04198561608791351, 0.0012835911475121975, -0.03430714085698128, 0.014696003869175911, -0.064218670129776, -0.009074185974895954, 0.03187112510204315, 0.014149424619972706, 0.05580051988363266, -0.026735126972198486, 0.015244720503687859, -0.0038490737788379192, 0.06602530926465988, 0.01869347132742405, 0.024940932169556618, -0.0034785408060997725, -0.028080806136131287, 0.030539605766534805, -0.03468336537480354, 0.022205190733075142, 0.018381468951702118, 0.020536569878458977, -0.04413996636867523, -0.005544998217374086, -0.002511298283934593, -0.04370208829641342, -0.07621131837368011, 0.005348578095436096, 0.0014660151209682226, 0.0067088608630001545, -0.0053177387453615665, 0.017937224358320236, 0.007975270040333271, -0.04879708215594292, -0.001192167168483138, 0.04117438197135925, 0.02034190483391285, 0.010774497874081135, 0.019563112407922745, -0.015698565170168877, 0.03541400283575058, 0.018685922026634216, 0.025990117341279984, 0.001990577206015587, 0.01384545024484396, 0.009580298326909542, 0.00689223688095808, -0.002302500419318676, -0.03230845928192139, -0.03331420198082924, -0.02250765636563301, 0.03347499668598175, -0.022918086498975754, 0.00685516744852066, 0.022776510566473007, 0.006439433433115482, -0.004503726959228516, 0.05670524016022682, 0.02160092256963253, -0.014964019879698753, 0.016019301488995552, 0.005448325537145138, -0.02268402837216854, -0.005132115446031094, -0.030960604548454285, 0.0195065438747406, 0.046831436455249786, -0.02094368077814579, -0.030603131279349327, 0.009717819280922413, 0.017243990674614906, 0.010855612345039845, 0.037312399595975876, -0.008933541364967823, -0.005436190869659185, -0.07089737802743912, -0.00893778819590807, -0.03457145392894745, 0.007251796778291464, -0.006346318405121565, 0.019632823765277863, 0.012530723586678505, -0.059036385267972946, 0.023345518857240677, 0.0028469685930758715, 0.017078138887882233, 0.008363551460206509, -1.2633519119731318e-8, 0.0004733600071631372, 0.02124054729938507, 0.01108887605369091, 0.04074791446328163, 0.036826636642217636, -0.001851036213338375, -0.024686254560947418, 0.011820066720247269, 0.011010942980647087, -0.02360285446047783, 0.022849779576063156, 0.020009396597743034, 0.012441696599125862, 0.008849052712321281, 0.007595621049404144, -0.056801747530698776, -0.03327068313956261, -0.018305504694581032, 0.004221415147185326, 0.013999870046973228, 0.002150466199964285, 0.03454485163092613, -0.013231217861175537, 0.03745892271399498, -0.006004208233207464, -0.015475677326321602, -0.0049544950015842915, -0.05770944431424141, 0.01185743696987629, 0.028723791241645813, -0.02275475487112999, -0.029039504006505013, -0.006939390208572149, 0.04152597486972809, -0.04529751464724541, -0.02903069369494915, 0.0003570635453797877, 0.01735629141330719, 0.03776894509792328, 0.0006563480128534138, 0.0036743655800819397, -0.04201066121459007, 0.005890511907637119, -0.02323813922703266, -0.0014092066558077931, -0.014016060158610344, -0.07267919927835464, 0.020995859056711197, 0.030215246602892876, -0.007511294446885586, 0.01890283077955246, -0.000988981919363141, 0.011693715117871761, 0.01880139857530594, -0.0443354956805706, 0.02098400704562664, 0.00583222508430481, -0.006654771044850349, -0.028978047892451286, 0.0009498767321929336, -0.005312484689056873, -0.031599920243024826, -0.03611830621957779, -0.032148487865924835 ]
coding-watch-out-for-mutable-code
https://markhneedham.com/blog/2009/09/16/coding-watch-out-for-mutable-code
false
2009-09-28 00:02:12
Learning from others/Learning yourself
[ "learning" ]
[ "Learning" ]
Something which has become quite apparent to me recently is that I learn things far more quickly if I try it out myself and make mistakes than if I just rely on someone else's word for it but some more experienced colleagues seem able to use information explained to them fair more effectively and don't necessarily need to go through this process. While reading through the Dreyfus Model one of the ideas that is suggested is that once people reach the level of 'Proficient' at any given skill then they are able to learn from the experiences of others without needing to experience something themselves. Andy Hunt sums this up quite nicely in http://www.markhneedham.com/blog/2008/10/06/pragmatic-learning-and-thinking-book-review/[Pragmatic Learning and Thinking] : ____ Proficient practitioners make a major breakthrough on the Dreyfus model: they can correct previous poor task performance. They can reflect on how they've done and revise their approach to perform better the next time. Up until this stage, that sort of self-improvement is simply not available. Also, *they can learn from the experience of others. As a proficient practitioner, you can read case studies, listen to water cooler gossip of failed projects, see what others have done, and learn effectively from the story, even though you didn't participate in it firsthand*. ____ If you're not at that level yet it therefore seems to be the case that it's necessary to experience this situations in order to learn effectively. The trick thing then is to engineer an environment where it is possible to learn but not one where you jeopardise a code base by doing so. In a way this is what we did with the http://www.markhneedham.com/blog/2009/09/19/set-based-concurrent-engineering-a-simple-example/[setter/constructor injection problem that I described previously] - http://erik.doernenburg.com/[Erik] pointed out the disadvantages that we would get from using constructor injection on a class which many classes derived from but I didn't fully appreciate his concerns and I couldn't picture the problems we would face until we spent a bit of time putting the dependency into the constructor and I was able to see how this dependency would cascade down into the 30 or so sub classes. Since we were trying out a setter based injection approach alongside the constructor injection based approach in a time boxed exercise we were able to just throw away the constuctor based injection code when we saw that it wasn't quite going to work and so no harm was done to the code base. I sometimes feel that a similar type of learning is probably going on in other situations as well. One fairly common area of contention on projects I've worked on is around whether or not we should put stub/mock calls in a setup method in a test fixture. On a project I worked on a couple of years ago we ran ourselves into a world of pain by putting mock/stub calls there because when we wanted to test a specific interaction in a test there would often be an unexpected failure because of those calls in the setup method. It was never entirely obvious what had happened and we would end up wasting a lot of time before we realised what had happend. As a result of that http://www.markhneedham.com/blog/2008/12/19/tdd-mock-expectations-in-setup/[I've been pretty much against that approach] although I can see why we might want to do this. It becomes very tedious typing out the same setup code in each of our tests. Abstracting away that common setup into a method or series of methods which we explicitly call in each test provides one way to solve the problem but it takes the test setup one more click away from us when we're analysing test failures so I'm not sure whether it solves all our problems. My current thinking is that perhaps we can make use of the setup method as long as all the tests defined in that test fixture require exactly the same setup but that as soon as we are writing a test which requires a different setup we need to pull that test out into its own test fixture. The problem with this is that we end up splitting our tests based on how they test interaction with a dependency which seems very strange to me. I still don't have the answer for the best way to solve this problem but I think I know a bit better from having experimented with some ideas than I would have by just listening to someone tell me about their experiences. From my understanding of the Dreyfus Model, someone who's really good at unit testing wouldn't necessarily need to do this but would instead be able to learn from someone else's experiences just by talking to them about it. I'm assuming that they would be able to do this because they have a wealth of similar situations to relate your stories to and they can therefore fill in any gaps in the knowledge they have. I think this aspect of the Dreyfus Model helps identify why just explaining something from your experience rarely seems to be successful - unless the other person is 'Proficient' at the skill in question they won't easily be able to relate your experience to the problem without some experimentation of their own. Perhaps there's more to it and I'm way off the mark but this theory at least seems reasonably plausible to me
null
null
[ 0.022835759446024895, 0.015887979418039322, -0.00800171960145235, 0.03783189877867699, 0.09186358749866486, 0.022366194054484367, 0.045850351452827454, 0.033600494265556335, 0.028199585154652596, -0.030317392200231552, -0.01134629175066948, 0.020410655066370964, -0.04457699507474899, 0.015040282160043716, -0.03249020874500275, 0.07155460864305496, 0.06695888936519623, 0.007422757335007191, 0.010161234065890312, 0.01914921961724758, 0.01763170398771763, 0.06463684886693954, 0.03065565973520279, 0.03993679955601692, 0.03193208947777748, 0.024783968925476074, 0.009203932248055935, 0.008557732217013836, -0.04199344664812088, -0.007339909207075834, 0.04544413834810257, -0.006119882687926292, -0.0036044272128492594, -0.005475756246596575, 0.004608786199241877, -0.005468278657644987, -0.004239880945533514, 0.004981652367860079, 0.01993049681186676, 0.008338852785527706, -0.08495288342237473, 0.04854585602879524, -0.013559484854340553, -0.00562764098867774, -0.057316239923238754, -0.01443546637892723, -0.057450637221336365, 0.0016248172614723444, 0.01173899695277214, 0.006050663534551859, -0.09489018470048904, 0.03362602740526199, 0.010191036388278008, -0.0028480880428105593, -0.027066893875598907, 0.04114581644535065, 0.0014003467513248324, -0.07996930927038193, 0.012433032505214214, -0.05060767009854317, -0.014807071536779404, 0.013651091605424881, -0.004771242383867502, 0.02539188601076603, 0.023119712248444557, -0.014117924496531487, -0.002853627782315016, 0.029832571744918823, -0.05453696846961975, 0.005772415082901716, -0.028670907020568848, 0.005072226747870445, -0.01973399892449379, -0.01252986490726471, 0.006247529294341803, -0.06738664209842682, 0.00210064509883523, 0.04344629868865013, 0.012761428952217102, 0.031445376574993134, 0.0014749928377568722, 0.0058380719274282455, 0.006746693979948759, 0.012025497853755951, -0.006759114097803831, -0.03477942571043968, 0.02397518791258335, -0.023636696860194206, -0.0755060613155365, 0.05787608399987221, -0.0024446267634630203, -0.03676899895071983, 0.010055363178253174, 0.026896320283412933, -0.005219004116952419, 0.009831222705543041, 0.05775348097085953, -0.006606674753129482, -0.007868476212024689, -0.010570375248789787, -0.025607973337173462, -0.02188783511519432, -0.0013439957983791828, 0.023943321779370308, -0.0771072655916214, -0.001403610222041607, -0.016224872320890427, -0.0016617446672171354, -0.03272920101881027, 0.008248219266533852, -0.01851356215775013, 0.043772730976343155, -0.01848810724914074, 0.003592889988794923, -0.08254663646221161, 0.07058833539485931, 0.0181551706045866, -0.014174376614391804, -0.007448699325323105, 0.01313826534897089, 0.025998150929808617, 0.013204158283770084, -0.0014229094376787543, 0.07148914784193039, 0.0010561029193922877, 0.029319433495402336, -0.036766279488801956, 0.05733858421444893, -0.010196821764111519, -0.04569866135716438, 0.01105748675763607, 0.05422098562121391, -0.011691289022564888, -0.005200677551329136, -0.007519847713410854, -0.038163136690855026, 0.00524980528280139, 0.01695876754820347, 0.011046615429222584, 0.06312985718250275, -0.018137555569410324, -0.061163224279880524, 0.03831662982702255, 0.0017676879651844501, 0.02034355141222477, -0.0111871138215065, 0.015829112380743027, -0.014566329307854176, -0.019154002889990807, -0.009589067660272121, 0.00992463156580925, 0.03148004040122032, 0.02199716679751873, -0.026622427627444267, 0.02941012568771839, 0.09418979287147522, 0.025085967034101486, -0.003732391633093357, -0.014728977344930172, 0.025017693638801575, 0.03675593063235283, 0.028479183092713356, 0.00900693517178297, -0.0037165191024541855, 0.02563423477113247, -0.013059635646641254, -0.01641988195478916, 0.03238542750477791, -0.024402962997555733, -0.0032923100516200066, -0.06111270934343338, -0.02690468542277813, 0.042543187737464905, -0.06778635829687119, -0.049287956207990646, 0.04256487637758255, 0.06427406519651413, 0.019652405753731728, 0.06854050606489182, 0.0029252064414322376, -0.08561728149652481, 0.038246262818574905, 0.005587003659456968, 0.013423260301351547, 0.019838878884911537, -0.024516014382243156, 0.04984476789832115, 0.014365660957992077, 0.0067526353523135185, 0.05471066012978554, -0.05599316954612732, -0.06593792885541916, -0.013241470791399479, -0.031156860291957855, 0.0581260547041893, -0.01865435019135475, 0.009066592901945114, 0.06936650723218918, 0.015230394899845123, 0.05550789088010788, 0.019442465156316757, -0.0077068377286195755, -0.008325939998030663, -0.03799743205308914, -0.04708975553512573, 0.05398884415626526, 0.015558554790914059, -0.013678183779120445, -0.03566369414329529, 0.006470828782767057, -0.011569553054869175, -0.03426592797040939, 0.031107470393180847, -0.01092493999749422, 0.036440055817365646, -0.0033372167963534594, 0.03383222967386246, -0.03187813237309456, 0.04872777312994003, -0.04400276020169258, 0.004471537657082081, -0.010574596002697945, -0.020246313884854317, 0.015766188502311707, -0.0032845735549926758, 0.12240656465291977, 0.06257253140211105, -0.054165489971637726, -0.032074976712465286, 0.02221504971385002, 0.040731292217969894, -0.05286525934934616, 0.012585055083036423, -0.00462909322232008, 0.021173639222979546, 0.012692435644567013, -0.046713944524526596, -0.020041853189468384, 0.02618318423628807, -0.05069214478135109, -0.0007338424329645932, 0.07083242386579514, -0.0418691411614418, 0.07851157337427139, 0.01317398902028799, -0.006809795740991831, 0.0132730882614851, 0.008564645424485207, -0.07036065310239792, 0.003577896161004901, -0.0009375988156534731, -0.008041927590966225, 0.04394479840993881, -0.01989929936826229, -0.020770760253071785, -0.04300390183925629, -0.0531216561794281, 0.022896140813827515, 0.0489971786737442, 0.07377707213163376, -0.011279123835265636, 0.06657180935144424, -0.009181641042232513, 0.05065164342522621, 0.01635994017124176, -0.04679252952337265, -0.008082224987447262, -0.046203482896089554, 0.011671017855405807, 0.03307357057929039, -0.0014791138237342238, -0.009654334746301174, 0.027536792680621147, 0.01652866043150425, -0.024836430326104164, -0.0037119656335562468, 0.023280667141079903, -0.00373302074149251, -0.008648299612104893, -0.023417143151164055, -0.026612434536218643, 0.06477059423923492, -0.041810259222984314, 0.00037090404657647014, 0.019004203379154205, -0.08332028985023499, 0.016494963318109512, -0.06135100498795509, -0.057974107563495636, -0.005614041350781918, 0.0319901779294014, 0.03811967745423317, 0.023556705564260483, 0.01972254179418087, 0.051179252564907074, 0.012129697017371655, 0.0032339179888367653, -0.003031341824680567, 0.008661073632538319, 0.03588123992085457, -0.00951380468904972, 0.006414672359824181, 0.011781965382397175, 0.029224304482340813, 0.004581491928547621, -0.03871087357401848, 0.05495981127023697, -0.037790510803461075, -0.28921881318092346, 0.020671462640166283, 0.028141271322965622, -0.03536652773618698, 0.033761847764253616, -0.030030759051442146, 0.001192649477161467, -0.048860933631658554, -0.04804413393139839, 0.03390398249030113, -0.025375328958034515, -0.03044106997549534, -0.002165194135159254, 0.06312026083469391, -0.008877970278263092, 0.024764733389019966, 0.034772034734487534, -0.05302979424595833, 0.0034406459890305996, 0.0592128187417984, -0.02277241088449955, -0.05464151129126549, -0.018204322084784508, 0.04368750378489494, 0.046188998967409134, 0.044616591185331345, -0.09823030978441238, 0.03669567406177521, -0.06721680611371994, -0.0071083130314946175, -0.009073948487639427, 0.0005796514451503754, 0.001131103839725256, -0.01630358211696148, -0.01155927311629057, -0.012111225165426731, 0.026177391409873962, 0.012633946724236012, -0.0022202623076736927, 0.005106043070554733, -0.03019491583108902, -0.038488421589136124, -0.003566551487892866, 0.005293400026857853, 0.05002056807279587, 0.013002521358430386, -0.0706377848982811, -0.019241081550717354, -0.022931937128305435, 0.06885465234518051, -0.047827158123254776, -0.027579184621572495, 0.01442592591047287, 0.03167774900794029, 0.002733470406383276, -0.012347282841801643, 0.008686070330440998, -0.013253369368612766, -0.03844476863741875, -0.02377939410507679, -0.01053120382130146, -0.016736261546611786, -0.019739404320716858, -0.046402741223573685, -0.015694566071033478, -0.07087437063455582, -0.06262920051813126, -0.026773802936077118, 0.06391698122024536, 0.009744323790073395, -0.052579231560230255, 0.01872418262064457, -0.013086305931210518, -0.10622889548540115, 0.01923072710633278, -0.01825353503227234, -0.017333082854747772, -0.00633793231099844, 0.029933806508779526, 0.05782152712345123, -0.029094863682985306, -0.05466185137629509, 0.02435443550348282, -0.002318594604730606, 0.0273659136146307, 0.001186058740131557, 0.05023193359375, 0.014104924164712429, -0.01698707416653633, 0.0012228201376274228, 0.07287725061178207, 0.03901007026433945, -0.019854655489325523, -0.03908912092447281, 0.017326798290014267, 0.018335698172450066, 0.014541427604854107, -0.010939055122435093, 0.029057083651423454, 0.009336245246231556, -0.007424532901495695, -0.05034204199910164, 0.02568724751472473, -0.006353145930916071, -0.016856612637639046, -0.02630489505827427, -0.057945095002651215, 0.026406755670905113, 0.03489534184336662, 0.004876536782830954, -0.0010809460654854774, -0.01773730292916298, 0.014552045613527298, -0.025558922439813614, -0.04249221459031105, -0.011692115105688572, -0.003750912845134735, 0.06479206681251526, -0.014534619636833668, 0.005276205018162727, -0.04223673418164253, 0.03169666975736618, 0.00005064566357759759, -0.007154314313083887, -0.05001473426818848, -0.022489819675683975, 0.002361901570111513, -0.031493425369262695, -0.0017793112201616168, 0.022494586184620857, -0.014162613078951836, 0.02745703235268593, 0.034996069967746735, -0.022595936432480812, 0.02267150953412056, -0.041115280240774155, -0.061913300305604935, -0.023216968402266502, -0.009148981422185898, -0.005760487634688616, -0.012595697306096554, 0.027875375002622604, 0.0013432843843474984, 0.021479973569512367, 0.039611492305994034, 0.023300455883145332, 0.0043088882230222225, -0.004118211567401886, 0.01707915961742401, -0.0005911501357331872, 0.03359725698828697, -0.06912756711244583, 0.029948435723781586, -0.04920242354273796, -0.022250335663557053, -0.01765386387705803, 0.01763048581779003, -0.018284548074007034, -0.0246691033244133, -0.022070417180657387, 0.0247004646807909, -0.06091839447617531, -0.0426497720181942, -0.04654180631041527, 0.011518420651555061, 0.06764810532331467, -0.005699950270354748, 0.019070304930210114, -0.024017827585339546, -0.01719345711171627, 0.030082164332270622, 0.023990139365196228, -0.06821499764919281, 0.0018930321093648672, 0.006900064181536436, -0.00887814536690712, -0.0065077259205281734, -0.008234650827944279, 0.05767113342881203, 0.01259335782378912, -0.011451561003923416, -0.042622990906238556, 0.005471548065543175, -0.004681164864450693, 0.05275190994143486, 0.0006217409973032773, 0.007698654662817717, -0.026786157861351967, -0.02292020246386528, -0.024311060085892677, -0.02453339844942093, -0.022229034453630447, 0.0009512869291938841, 0.037004463374614716, -0.04216984286904335, -0.06336522847414017, 0.04024920612573624, 0.035295259207487106, 0.01313242968171835, 0.04191012308001518, -0.010111158713698387, -0.010371019132435322, -0.03128737211227417, 0.02406853809952736, 0.05950751155614853, -0.06184737756848335, 0.0008775316528044641, -0.004033944103866816, 0.004217778332531452, 0.01859935000538826, -0.024056147783994675, -0.03451453149318695, -0.025615859776735306, -0.02272765338420868, -0.010007262229919434, -0.07902943342924118, -0.0296400785446167, -0.032832495868206024, 0.019445158541202545, 0.017073940485715866, -0.0026483458932489157, -0.015282661654055119, -0.02165582962334156, -0.021720493212342262, -0.026442117989063263, 0.02760581113398075, -0.06046578660607338, 0.0248428788036108, 0.014887653291225433, -0.04587708041071892, 0.00516025023534894, -0.020304294303059578, 0.02269064448773861, 0.030677903443574905, -0.01966492459177971, -0.011544905602931976, -0.02468937262892723, 0.02109108306467533, -0.003970132675021887, 0.028732942417263985, 0.010633344762027264, -0.015744222328066826, -0.0529337041079998, 0.0005847301217727363, -0.028006860986351967, 0.015358940698206425, -0.016989225521683693, -0.0032520799431949854, 0.02654378116130829, 0.05591028928756714, 0.0343196727335453, 0.026928922161459923, 0.0035486919805407524, 0.0006772976485081017, 0.05669912323355675, -0.05664984509348869, -0.021765341982245445, -0.02992147020995617, -0.050434812903404236, 0.009939529933035374, 0.021931098774075508, 0.02556771971285343, -0.058562908321619034, 0.049181245267391205, 0.01700773276388645, 0.01903025433421135, 0.02376159466803074, 0.024567056447267532, 0.03654816746711731, -0.05938761681318283, -0.006791855674237013, -0.08534077554941177, -0.009330863133072853, 0.03161434084177017, 0.0015029122587293386, -0.005242399405688047, -0.019008632749319077, -0.03855219483375549, 0.05635809898376465, -0.09006492048501968, -0.021155765280127525, 0.0333220548927784, -0.012588166631758213, -0.03562014177441597, -0.0039032495114952326, -0.060638681054115295, 0.007824091240763664, 0.005315177608281374, -0.039930641651153564, -0.015351004898548126, -0.018458489328622818, 0.044241245836019516, 0.004621908534318209, 0.015184486284852028, -0.02414560504257679, 0.011373316869139671, 0.07437185198068619, 0.026903890073299408, 0.013153350912034512, 0.039146263152360916, -0.005938697140663862, 0.050322458148002625, 0.0391208790242672, 0.020356152206659317, -0.0012522811302915215, 0.0007549432339146733, 0.009830321185290813, -0.06278613209724426, 0.028830602765083313, -0.012036324478685856, -0.02261808142066002, -0.0607302263379097, 0.0439952053129673, 0.023296428844332695, -0.018453994765877724, -0.07475708425045013, 0.011818364262580872, -0.04772786423563957, -0.020372645929455757, -0.006740387063473463, -0.006676347926259041, -0.052159443497657776, 0.044102445244789124, -0.0008549588965252042, 0.0006723660044372082, 0.0642765611410141, 0.012849424034357071, -0.041213903576135635, -0.021101685240864754, 0.09458107501268387, 0.06330475211143494, 0.06385079026222229, 0.0029188955668359995, 0.08621867001056671, -0.006745185237377882, -0.04212731495499611, 0.03219505026936531, -0.0016216679941862822, -0.01364962849766016, -0.04509621858596802, 0.04719742760062218, 0.05773838236927986, 0.0038169652689248323, 0.04118537902832031, -0.031461481004953384, -0.02094666287302971, 0.003660847432911396, 0.04680202156305313, 0.005372951738536358, 0.05946805328130722, 0.01117639522999525, 0.017677515745162964, -0.016213160008192062, -0.059747710824012756, 0.004358044359833002, -0.03127998858690262, -0.014004469849169254, 0.01637861505150795, -0.03168414160609245, 0.033340003341436386, 0.04005418345332146, 0.00731956260278821, 0.08703053742647171, -0.06062212958931923, 0.02033545821905136, -0.012606222182512283, 0.03691417723894119, 0.009189369156956673, -0.0039609638042747974, -0.013684073463082314, -0.0162651464343071, -0.00823819451034069, -0.03226405009627342, -0.031034227460622787, -0.009314301423728466, 0.0009026809129863977, 0.03231850638985634, -0.03231034055352211, 0.007555825170129538, 0.022884733974933624, 0.011018316261470318, -0.015234783291816711, -0.06146552786231041, -0.026396792382001877, -0.02863793633878231, -0.03562254458665848, -0.008408152498304844, 0.01974613592028618, -0.011284508742392063, -0.024081114679574966, -0.022419685497879982, -0.008978210389614105, -0.03854333236813545, 0.047769803553819656, -0.0606217235326767, -0.018297595903277397, 0.01442154310643673, 0.015429272316396236, 0.03218217194080353, -0.007503962609916925, 0.046429358422756195, 0.022366613149642944, 0.009946896694600582, -0.015070726163685322, 0.0037838497664779425, 0.013784892857074738, -0.01015798095613718, 0.020562266930937767, -0.09010647237300873, 0.007976043038070202, 0.02590213343501091, -0.024693185463547707, -0.05927317962050438, 0.017599405720829964, 0.019416620954871178, -0.004114748444408178, 0.048114486038684845, -0.015361204743385315, 0.0008371184230782092, -0.029913218691945076, -0.015076329931616783, 0.00013752117229159921, 0.02927372418344021, 0.05237957835197449, -0.029143299907445908, 0.09402476996183395, 0.014253095723688602, -0.012341133318841457, -0.03188425675034523, -0.022561315447092056, 0.0028342455625534058, -0.0014600728172808886, -0.028255028650164604, -0.021103227511048317, -0.018779220059514046, -0.11188656836748123, -0.03052535653114319, 0.023965543136000633, -0.03429156169295311, -0.046205852180719376, 0.02177821286022663, 0.015623950399458408, -0.007444584276527166, 0.01707000471651554, -0.03161220625042915, 0.03556625545024872, -0.018015224486589432, 0.0071993302553892136, 0.03402931988239288, 0.018101414665579796, 0.0013596798526123166, -0.0020668364595621824, 0.004855496343225241, -0.04711204394698143, -0.0016547193517908454, -0.021772023290395737, 0.04539506137371063, 0.0599135123193264, 0.0036932046059519053, 0.004182897042483091 ]
[ -0.09334048628807068, 0.012745609506964684, -0.02814444899559021, -0.026118408888578415, -0.0011998643167316914, -0.035914722830057144, 0.013251288793981075, 0.028380585834383965, -0.015873726457357407, -0.04067225009202957, 0.004123028367757797, -0.026505740359425545, -0.00913247186690569, -0.01141972467303276, 0.07263700664043427, 0.032959118485450745, -0.026845982298254967, -0.05023006349802017, 0.013113895431160927, -0.004978796001523733, -0.012434674426913261, -0.053564440459012985, -0.015407000668346882, -0.018927065655589104, 0.02116372436285019, 0.017586389556527138, 0.04230156168341637, -0.038270678371191025, 0.026030514389276505, -0.17937617003917694, -0.0020018923096358776, 0.016385160386562347, 0.037347838282585144, -0.015405424870550632, -0.02277301996946335, 0.06162199750542641, -0.000817888998426497, 0.03170974552631378, 0.0029473111499100924, 0.034842073917388916, -0.004934806376695633, 0.014745672233402729, -0.052611321210861206, -0.026783067733049393, 0.03360641375184059, 0.05395333096385002, 0.018416600301861763, -0.05432676523923874, 0.00962921790778637, -0.014739367179572582, -0.05347442999482155, -0.05350736528635025, -0.015704836696386337, -0.007721936330199242, 0.007424185052514076, 0.0075685721822083, 0.035716522485017776, 0.06124719977378845, 0.0013703000731766224, 0.025001205503940582, 0.0015294641489163041, 0.008311278186738491, -0.14777228236198425, 0.08407589793205261, 0.04864645376801491, 0.06898155808448792, -0.024423833936452866, -0.017940768972039223, -0.017651289701461792, 0.06297452002763748, 0.018758485093712807, -0.015112228691577911, -0.01975405588746071, 0.018528534099459648, 0.03067632205784321, 0.0051306928507983685, 0.00989989098161459, 0.004334851633757353, 0.048276275396347046, -0.017671693116426468, 0.006510479375720024, 0.006025210954248905, -0.009131538681685925, -0.04252803698182106, -0.04742617905139923, 0.03162856772542, 0.0002502842398826033, 0.02045435830950737, 0.01811547391116619, 0.0362318716943264, 0.023228844627738, -0.000988575047813356, 0.017717313021421432, 0.013425709679722786, -0.046332258731126785, -0.009829320013523102, -0.002229164121672511, 0.01491471379995346, -0.06295934319496155, 0.42710012197494507, -0.04045731946825981, 0.003450799500569701, 0.08797548711299896, 0.035546354949474335, -0.008145751431584358, -0.0038322771433740854, -0.002104109385982156, -0.05905740708112717, 0.02394101768732071, -0.04951595515012741, 0.029611842706799507, 0.007689569145441055, 0.0464877188205719, -0.0229708943516016, -0.00010314037353964522, 0.045331791043281555, 0.04343124479055405, 0.004311242140829563, 0.005959201604127884, -0.007981278002262115, -0.014487702399492264, 0.013815166428685188, 0.041096433997154236, 0.004531430080533028, -0.030695687979459763, -0.0606997013092041, 0.008650682866573334, 0.0685734674334526, 0.024679487571120262, 0.0025386319030076265, 0.04214031249284744, -0.0710105150938034, -0.05754521116614342, 0.01905015856027603, -0.0009006446925923228, -0.004320410545915365, 0.039253223687410355, -0.017261002212762833, 0.02169768698513508, 0.03617679700255394, 0.005075716879218817, 0.00648315716534853, 0.013952267356216908, -0.027688130736351013, -0.06980284303426743, 0.1107504740357399, 0.029426824301481247, -0.02019818127155304, -0.012437772937119007, -0.038783472031354904, 0.011270258575677872, 0.03032911755144596, -0.014549647457897663, -0.039336834102869034, 0.02984730526804924, 0.01116154994815588, 0.110540010035038, -0.006448978558182716, -0.053711194545030594, -0.01690707542002201, -0.031387727707624435, -0.027064615860581398, -0.04523410275578499, 0.04549900442361832, 0.07706558704376221, -0.05290144309401512, -0.021611299365758896, 0.002787471516057849, 0.03285812959074974, -0.07691123336553574, 0.004690517671406269, 0.02795042097568512, -0.02586045302450657, 0.010540345683693886, 0.05303405970335007, -0.03510425239801407, -0.048569753766059875, 0.009531400166451931, 0.038512881845235825, 0.03902628272771835, 0.05116567015647888, -0.004986238200217485, -0.028174135833978653, -0.002190296072512865, -0.02697903662919998, -0.05103341490030289, -0.024654122069478035, -0.01182541809976101, -0.009604139253497124, 0.01071436982601881, -0.013295893557369709, 0.003934764303267002, -0.11162276566028595, 0.09870671480894089, -0.03131614997982979, -0.00850317720323801, 0.022484872490167618, -0.019497770816087723, -0.06244891509413719, 0.008080508559942245, -0.09678475558757782, 0.03041902929544449, -0.04120522364974022, 0.029415585100650787, -0.07911179214715958, 0.06719495356082916, 0.05833624675869942, -0.040871862322092056, 0.11056104302406311, 0.061968911439180374, -0.04040039703249931, -0.049447208642959595, 0.01331869512796402, 0.018825015053153038, 0.02645806223154068, 0.0020799075718969107, 0.002427035244181752, 0.02621021866798401, -0.01276214700192213, 0.021826740354299545, -0.009295599535107613, -0.016082022339105606, -0.0288164671510458, -0.36234167218208313, -0.035783182829618454, -0.024650441482663155, -0.02596631646156311, 0.008162885904312134, -0.04059571027755737, 0.020097147673368454, -0.015416622161865234, -0.028951622545719147, -0.015641195699572563, 0.047471411526203156, -0.016234394162893295, 0.011966235004365444, -0.08484837412834167, 0.022593477740883827, -0.011439947411417961, -0.0189081858843565, -0.026430750265717506, -0.04413476958870888, -0.007686244323849678, 0.0018697450868785381, 0.037103235721588135, 0.01231850404292345, -0.05577675998210907, -0.010791094042360783, -0.05334153026342392, 0.0824757069349289, -0.0024828447494655848, 0.06519073247909546, -0.03906393051147461, 0.0398026704788208, 0.016970910131931305, 0.032025501132011414, -0.1064661517739296, 0.0011966333258897066, -0.04490816593170166, 0.009416970424354076, -0.03267254680395126, 0.033843521028757095, -0.04891562461853027, -0.03597085177898407, 0.019275350496172905, -0.05857629328966141, -0.03462517261505127, -0.11771377921104431, 0.0036689103581011295, -0.03782833367586136, -0.014761727303266525, -0.04367903992533684, 0.0796128660440445, 0.035922855138778687, 0.004865775816142559, 0.019150957465171814, 0.00042164986371062696, -0.042458295822143555, -0.03984774276614189, -0.11722636222839355, 0.03567671775817871, -0.02557005174458027, 0.01725701056420803, 0.009798689745366573, 0.05685794726014137, 0.035483427345752716, -0.07781573385000229, -0.017025133594870567, 0.00650725606828928, 0.010172944515943527, -0.009307540953159332, 0.04739949852228165, -0.018246980383992195, -0.009554308839142323, 0.11607027053833008, -0.004487252328544855, -0.01281240675598383, 0.0026059511583298445, 0.026665158569812775, -0.024362370371818542, 0.012372365221381187, 0.01772177964448929, -0.002585003385320306, 0.02780711092054844, -0.009401684626936913, 0.01680132746696472, -0.006492229178547859, -0.003506505861878395, 0.0007488122209906578, -0.016240626573562622, -0.028897855430841446, 0.047275371849536896, 0.04079609736800194, -0.03665988892316818, 0.033771812915802, -0.02218439057469368, -0.06885417550802231, 0.07283540070056915, 0.0011899846140295267, -0.22234278917312622, 0.019021974876523018, 0.07795542478561401, 0.04469412565231323, 0.002828334691002965, 0.04823118820786476, 0.037608422338962555, -0.05827765166759491, 0.03768346831202507, -0.004630242008715868, 0.03770216926932335, -0.005886197090148926, 0.006632932461798191, 0.025286449119448662, 0.025737524032592773, -0.012657458893954754, 0.06310366839170456, -0.006293579004704952, 0.022538544610142708, -0.010013934224843979, 0.003536815522238612, 0.02955528162419796, 0.13411232829093933, 0.0019678196404129267, 0.02890745736658573, -0.0348883792757988, -0.015785597264766693, 0.0038551322650164366, 0.045478686690330505, -0.004412684589624405, 0.0007596702198497951, 0.004298085812479258, 0.04568827524781227, 0.007086873520165682, 0.029535196721553802, -0.05373556166887283, -0.038433726876974106, 0.005489864386618137, 0.021691875532269478, 0.001947880256921053, 0.027982568368315697, -0.021479012444615364, -0.032214339822530746, 0.053808726370334625, 0.08055145293474197, 0.016723815351724625, 0.02558840438723564, -0.07400527596473694, -0.07106988877058029, -0.005134593695402145, -0.015944909304380417, -0.013119515962898731, 0.037947043776512146, 0.017113089561462402, 0.003063101787120104, 0.07757977396249771, 0.033605605363845825, -0.030085304751992226, 0.0005180086009204388, -0.014985954388976097, -0.018390141427516937, -0.004208356607705355, 0.1090938150882721, 0.0516078919172287, 0.022565579041838646 ]
[ -0.025640996173024178, -0.014041455462574959, 0.01511797122657299, 0.006550815422087908, -0.022528521716594696, 0.012970484793186188, 0.002587673719972372, 0.005049495026469231, -0.005717352963984013, -0.003290131688117981, -0.003573816269636154, 0.021596837788820267, 0.007325736805796623, 0.014573801308870316, 0.022113831713795662, -0.009023373015224934, 0.005143691319972277, 0.0016800907906144857, 0.027560187503695488, 0.010041531175374985, -0.016608774662017822, 0.015586202032864094, -0.01905752718448639, 0.0023337393067777157, -0.004969417117536068, 0.03223688155412674, -0.013384281657636166, -0.016188841313123703, 0.0203239768743515, -0.14315170049667358, -0.03143661841750145, -0.03848830983042717, 0.00111183722037822, 0.001854788395576179, -0.009534049779176712, -0.015723364427685738, -0.013557362370193005, 0.029171248897910118, 0.0024331104941666126, 0.015541655011475086, -0.020461302250623703, -0.010529706254601479, -0.00040319125400856137, 0.016943763941526413, -0.01251575630158186, -0.004216630011796951, -0.007649846840649843, -0.022832516580820084, 0.007757233455777168, -0.06169997900724411, -0.042048752307891846, -0.010174497961997986, -0.009743866510689259, -0.004781028255820274, 0.022807888686656952, 0.005961912218481302, 0.025305869057774544, -0.018725771456956863, -0.010967429727315903, -0.024230601266026497, -0.008483117446303368, -0.005648824851959944, -0.06692542135715485, -0.03743889182806015, -0.017845435068011284, -0.017869899049401283, -0.023135405033826828, 0.021818773820996284, 0.004842991940677166, 0.000992989051155746, -0.02787383273243904, 0.0061955503188073635, -0.014961528591811657, -0.03262987360358238, 0.022305957973003387, -0.009963585995137691, 0.005149770062416792, -0.02073795348405838, 0.008603274822235107, -0.005078732967376709, -0.0258152037858963, 0.04047495126724243, 0.016420673578977585, -0.02184166945517063, 0.007550131529569626, -0.02052604779601097, 0.03159075230360031, -0.018478401005268097, 0.015660053119063377, -0.012493663467466831, -0.01623726449906826, 0.008416448719799519, -0.02315829135477543, 0.030021345242857933, -0.0700569897890091, 0.014924794435501099, 0.00546531705185771, -0.012094204314053059, -0.011388612911105156, 0.8670204877853394, -0.0055398824624717236, 0.027973545715212822, 0.022076012566685677, 0.0035841644275933504, 0.025125497952103615, -0.0024850433692336082, -0.017079943791031837, -0.0035368159878998995, 0.01061105914413929, -0.04900004342198372, 0.004374860320240259, 0.007863433100283146, 0.01828930713236332, 0.03033188357949257, 0.03521238639950752, 0.025068363174796104, -0.00007512172305723652, 0.004986787214875221, -0.0046839057467877865, 0.013539928011596203, 0.0035990874748677015, -0.0002515484520699829, 0.01193406991660595, 0.0020722581539303064, -0.01149425096809864, -0.18613530695438385, 0.006052741780877113, -8.125920614165846e-33, 0.05756310746073723, 0.00468843150883913, -0.0000982777783065103, 0.01600448414683342, -0.0036856874357908964, 0.009835097007453442, 0.03968777135014534, 0.04148194193840027, 0.0035317428410053253, -0.03785257413983345, 0.01101668644696474, -0.01598060317337513, 0.0005671005346812308, 0.0027241751085966825, 0.025372453033924103, -0.025865759700536728, -0.010287974961102009, 0.04539758712053299, -0.009867902845144272, 0.024242661893367767, 0.029206791892647743, 0.003926883451640606, -0.018835842609405518, -0.02241305075585842, 0.009572978131473064, 0.008842859417200089, 0.02674957737326622, 0.03645874559879303, -0.00880351010710001, -0.030676942318677902, -0.01744123362004757, 0.016033044084906578, -0.005071257706731558, -0.024371443316340446, -0.008480829186737537, -0.02834894508123398, -0.00886938814073801, 0.011456528678536415, 0.0062631405889987946, -0.0524405874311924, -0.022496696561574936, 0.004774450324475765, -0.05083518102765083, -0.000014149162780086044, -0.022861026227474213, 0.0021613910794258118, 0.019770096987485886, 0.018832353875041008, -0.0011952533386647701, -0.021397201344370842, 0.005508481990545988, 0.005354694090783596, -0.015860948711633682, 0.007454696111381054, -0.016570324078202248, 0.014605646952986717, 0.005224584601819515, 0.035829633474349976, 0.009814415127038956, 0.016623038798570633, -0.004028938245028257, 0.011860792525112629, -0.032860852777957916, 0.05076248571276665, 0.019171737134456635, 0.011218716390430927, -0.00518146064132452, -0.0033017515670508146, 0.04019205644726753, -0.0027809415478259325, -0.06530515104532242, 0.0038670517969876528, -0.01341942697763443, -0.024300076067447662, 0.015084745362401009, -0.007869108580052853, 0.007413559593260288, -0.003266738262027502, -0.026585251092910767, 0.03209887072443962, 0.004297721665352583, 0.035989467054605484, -0.02580109052360058, -0.04686606302857399, -0.040332723408937454, -0.00039913374348543584, 0.02369372546672821, -0.024312859401106834, -0.008360653184354305, 0.002774373395368457, 0.03233978897333145, -0.028793342411518097, 0.014568733051419258, -0.006629326846450567, -0.006266354117542505, 7.916684823771387e-33, 0.022326793521642685, -0.04068344458937645, -0.02102237567305565, -0.0007990649901330471, 0.050563082098960876, -0.0346439853310585, 0.01626449264585972, 0.031948428601026535, -0.055798206478357315, 0.014216665178537369, -0.010084584355354309, 0.025129422545433044, -0.01183160487562418, 0.024311082437634468, 0.00902760773897171, 0.00667211739346385, 0.011110275983810425, -0.018472591415047646, 0.01959259994328022, 0.03279661014676094, 0.040128130465745926, 0.012783404439687729, 0.005847504828125238, -0.0011003856780007482, 0.019170263782143593, 0.0482499934732914, -0.0067497966811060905, 0.016989951953291893, 0.005902441684156656, -0.007668801583349705, 0.01513015478849411, -0.005313986446708441, 0.010367599315941334, 0.009104146622121334, -0.037584397941827774, 0.027727168053388596, -0.023615730926394463, -0.012095787562429905, 0.008000019937753677, 0.004229770507663488, 0.022979460656642914, -0.005074621643871069, -0.009657922200858593, 0.010807341895997524, 0.0237148217856884, 0.004737592302262783, 0.0002552192599978298, -0.014290781691670418, 0.0032371559645980597, -0.0015883990563452244, -0.025280820205807686, -0.019928278401494026, 0.02426738478243351, 0.026003414765000343, -0.006073647178709507, -0.022875482216477394, -0.01480126939713955, -0.0172264501452446, -0.007091885898262262, 0.03296985477209091, -0.002633925760164857, 0.00918429996818304, -0.03181087225675583, 0.010904506780207157, -0.030009984970092773, -0.015046093612909317, -0.02555656060576439, 0.004279977176338434, 0.004089131020009518, 0.02929745614528656, -0.0026182844303548336, 0.01209106482565403, 0.010694300755858421, 0.01841883175075054, 0.010462803766131401, -0.013727318495512009, -0.04395284503698349, 0.033199917525053024, -0.039772793650627136, 0.03320728614926338, 0.020264705643057823, -0.010640443302690983, 0.010047610849142075, 0.016438530758023262, 0.00957556627690792, 0.012496476992964745, 0.017575867474079132, 0.018526799976825714, -0.004960118792951107, -0.017301004379987717, -0.017313102260231972, -0.041427865624427795, 0.00837661698460579, 0.03083917871117592, 0.010520578362047672, -1.3662183384610671e-8, 0.01564072258770466, 0.019199328497052193, 0.005253331735730171, 0.01802748441696167, 0.016488753259181976, -0.019333695992827415, -0.010267113335430622, 0.005879292730242014, -0.039651405066251755, 0.020085008814930916, 0.024303844198584557, -0.037073764950037, 0.004986847750842571, 0.003909659571945667, 0.039176344871520996, -0.03141740337014198, 0.011309151537716389, 0.00870214868336916, 0.029707957059144974, -0.006560766138136387, 0.04965340346097946, 0.03828784078359604, -0.004558084532618523, 0.038799986243247986, -0.003791320836171508, -0.004780492279678583, 0.004608194809406996, -0.08895722031593323, -0.027185862883925438, 0.021864881739020348, 0.0009322307305410504, -0.03109724074602127, -0.002388189546763897, 0.03898466378450394, -0.002759216818958521, -0.012373344972729683, 0.015053274109959602, -0.00046602360089309514, -0.01202099397778511, -0.01760689727962017, -0.003011659486219287, -0.026084676384925842, -0.0003846997278742492, -0.02886814810335636, -0.016995679587125778, 0.020205024629831314, -0.04154347628355026, -0.02695871703326702, 0.01335562951862812, -0.013010981492698193, 0.004445730242878199, 0.004849053453654051, 0.006373007781803608, 0.01913699507713318, 0.015467463992536068, 0.039697978645563126, -0.018010342493653297, -0.018068857491016388, -0.07072655856609344, -0.018987564370036125, 0.012088613584637642, 0.04347740858793259, -0.00861326139420271, -0.019632896408438683 ]
learning-from-otherslearning-yourself
https://markhneedham.com/blog/2009/09/28/learning-from-otherslearning-yourself
false
2009-09-10 00:23:33
Impersonators: Using them in showcases
[ "impersonators", "showcases" ]
[ "Testing" ]
Towards the end of http://blog.rufiao.com/2009/08/impersonator-pattern/[my colleague Julio Maia's blog post about the impersonator pattern] he suggests that the standalone environment that we can create through the use of impersonators can be quite useful for showcases and we actually had a recent occasion where we had to switch mid-showcase from using the integration environment to make use of an impersonator. In this case part of the environment went down in the middle of the showcase so *if we wanted to keep on going then that was our only option* but in general the expectation of the business is that our showcases show them the functionality of the application end to end. We need to be careful when using a standalone environment that the business are aware of this because it's quite likely that the application is going to respond much more quickly than it would if it was fully integrated. If people aren't aware of this then they will be very surprised when the application isn't quite as performant when we put it into a real environment and it has to retrieve and store real data instead of just getting pre-stored values from an in memory impersonator. Another disadvantage of using a standalone environment is that we must ensure that we only enter data which we have previously entered otherwise we'll either go against the real environment if we're using a http://martinfowler.com/bliki/SelfInitializingFake.html[self initializing fake] or (I think) just get no response if we're using a record/replay type impersonator. If we're letting a business user drive the application during a showcase then we'll need to ensure that they know which data they can enter. As long as we're careful in those regards I think it can be quite a useful approach since *we can make our showcase independent of factors that our outside of our control* - for example in our most recent showcase we had to reschedule the time because one part of the server was going to be restarted at our initial showcase time. I definitely like the idea of using the impersonator for the safety it brings although my thinking at the moment is that maybe it's best to use it as a backup option if the real environments aren't working. I'd be interested to hear if others have experiences around this area.
null
null
[ 0.016931507736444473, -0.010403758846223354, 0.0032118763774633408, 0.04569931700825691, 0.10500337928533554, -0.010568580590188503, 0.03659991919994354, 0.03217571601271629, 0.00012193658767500892, -0.010762892663478851, 0.001979357562959194, -0.01722998358309269, -0.052880577743053436, 0.010238253511488438, -0.037556540220975876, 0.05567803233861923, 0.05008501186966896, 0.0022222697734832764, 0.02791246399283409, -0.000786073796916753, -0.0029794094152748585, 0.0569952055811882, 0.028304943814873695, 0.030070072039961815, 0.006265856325626373, 0.027362748980522156, -0.004646702669560909, 0.02411591447889805, -0.06706429272890091, -0.018216004595160484, 0.02326596900820732, -0.002310252282768488, 0.005290884990245104, -0.001089038560166955, 0.03962407633662224, -0.022145912051200867, -0.013618524186313152, 0.01573062501847744, -0.013061212375760078, 0.02716173604130745, -0.08787153661251068, 0.044265054166316986, -0.005077044479548931, -0.016558118164539337, -0.06244714558124542, -0.021362410858273506, -0.04789050295948982, 0.014507296495139599, 0.014099756255745888, -0.0037429973017424345, -0.06362884491682053, 0.04029843583703041, -0.035566456615924835, 0.024370959028601646, 0.005114302039146423, 0.014697427861392498, 0.022552506998181343, -0.07778854668140411, -0.007466574665158987, -0.03632773086428642, 0.0003483851032797247, 0.005660001654177904, 0.008763195015490055, 0.015451554208993912, -0.003299551550298929, -0.013018976897001266, 0.04314064234495163, 0.03692624717950821, -0.038474347442388535, 0.0014584382297471166, 0.00583692779764533, 0.01590023562312126, -0.004072775132954121, -0.023359907791018486, 0.005606900434941053, -0.03985711187124252, -0.00531951105222106, 0.04287395998835564, 0.033379994332790375, 0.04662354290485382, -0.008379669860005379, 0.004455594811588526, 0.01448255404829979, 0.025426900014281273, -0.009956416673958302, -0.056720707565546036, -0.028424473479390144, 0.0008457074873149395, -0.04971747845411301, 0.045433785766363144, 0.0029072945471853018, -0.0562153123319149, 0.016212645918130875, 0.017608143389225006, -0.003889198647812009, 0.016549108549952507, 0.012783478014171124, -0.008944188244640827, -0.008392248302698135, -0.0028098749462515116, -0.05102873593568802, -0.004876304883509874, -0.02601492404937744, 0.0013163676485419273, -0.08400583267211914, -0.011627434752881527, -0.023433919996023178, 0.012695716693997383, 0.0016825335333123803, 0.01712416298687458, -0.026682991534471512, 0.02661159262061119, -0.008838378824293613, -0.0017813056474551558, -0.063755564391613, 0.057757072150707245, -0.0009137847227975726, -0.03694922849535942, -0.011465279385447502, 0.01591508835554123, 0.0665004551410675, 0.0488261915743351, -0.017009474337100983, 0.06514176726341248, 0.016697335988283157, 0.0164378322660923, -0.007675011642277241, 0.05371307581663132, -0.025798602029681206, -0.05852815881371498, -0.010097765363752842, 0.07098987698554993, -0.005829700268805027, 0.019609633833169937, 0.014453714713454247, -0.042089175432920456, -0.0040896316058933735, -0.002547831041738391, 0.0652415081858635, 0.007883216254413128, -0.0001867227110778913, -0.055147428065538406, -0.011019421741366386, 0.02581028640270233, 0.02994701638817787, -0.013369806110858917, 0.018507687374949455, -0.019828610122203827, -0.04558644816279411, -0.004261823836714029, 0.023331796750426292, 0.02055385895073414, 0.026371898129582405, -0.04128273203969002, 0.016680661588907242, 0.07982029765844345, 0.0565614253282547, -0.005163062363862991, -0.0022971797734498978, 0.004760323092341423, 0.03296137601137161, 0.02681058458983898, 0.0012849889462813735, 0.04334983602166176, 0.03069794550538063, 0.013665885664522648, -0.027227235957980156, 0.045720793306827545, 0.018414974212646484, -0.006375194061547518, -0.06774449348449707, -0.04410089552402496, 0.06658964604139328, -0.04125232249498367, -0.023557577282190323, 0.06772340089082718, 0.07256970554590225, 0.026536164805293083, 0.04001666605472565, -0.003715736558660865, -0.0699540451169014, 0.02128732204437256, 0.00655734445899725, 0.024129124358296394, 0.033074360340833664, -0.0038883222732692957, 0.07583808898925781, 0.04178242385387421, -0.006292284466326237, 0.04450610652565956, -0.07650639116764069, -0.059190381318330765, -0.014791897498071194, -0.028309529647231102, 0.05720636993646622, -0.019267475232481956, 0.015832429751753807, 0.07641144841909409, 0.02456388808786869, 0.042188890278339386, 0.017161158844828606, -0.004430796485394239, 0.022816799581050873, -0.042483504861593246, -0.044573742896318436, 0.03959501534700394, 0.034681737422943115, -0.014120900072157383, -0.03054201416671276, -0.007183127570897341, -0.013782077468931675, -0.005200657527893782, 0.025614991784095764, -0.026741566136479378, 0.03416457399725914, 0.00865012314170599, 0.022415339946746826, -0.009030709974467754, 0.03417491540312767, -0.04539577662944794, 0.036819711327552795, 0.00845215655863285, -0.01819576323032379, 0.02885637991130352, 0.0064230491407215595, 0.12681522965431213, 0.037672873586416245, -0.05643219128251076, -0.03220435976982117, 0.00366881862282753, 0.007562565617263317, -0.04184138774871826, -0.0036982756573706865, -0.011032762005925179, -0.0031773217488080263, 0.006837836932390928, -0.03941785916686058, -0.014979428611695766, 0.02580643817782402, -0.03648696467280388, -0.00863040704280138, 0.06045469269156456, -0.03363476321101189, 0.06451839208602905, -0.025229081511497498, 0.005261287558823824, -0.011748654767870903, -0.022968262434005737, -0.059352725744247437, -0.012125791050493717, 0.01800331473350525, -0.015981698408722878, 0.04429632052779198, -0.029935019090771675, -0.00011313833965687081, -0.03118606097996235, -0.02707304060459137, 0.015334304422140121, 0.016671722754836082, 0.0651453509926796, -0.0070145647041499615, 0.0715455412864685, -0.04326264560222626, 0.0318184532225132, -0.02110029198229313, -0.04280121996998787, -0.02584538795053959, -0.020853247493505478, -0.004999826196581125, 0.04637274518609047, 0.01482302974909544, -0.0014853503089398146, -0.010559947229921818, 0.008654076606035233, 0.013484877534210682, 0.025513505563139915, 0.021163571625947952, 0.017876174300909042, -0.006741308607161045, -0.010389161296188831, -0.05675751343369484, 0.060415416955947876, -0.029950052499771118, -0.033348146826028824, -0.011380352079868317, -0.07313764095306396, 0.004554573446512222, -0.08895697444677353, -0.0742778331041336, -0.008886946365237236, 0.025045862421393394, 0.04141486436128616, 0.027305681258440018, 0.03777268901467323, 0.05601084604859352, 0.012996870093047619, 0.004224095027893782, 0.024108141660690308, -0.011291188187897205, 0.048867013305425644, -0.009888819418847561, -0.011021336540579796, 0.0362081453204155, -0.022853277623653412, 0.009362016804516315, -0.0668475329875946, 0.03252270817756653, -0.04046259820461273, -0.3167726397514343, 0.03572839871048927, 0.02635374665260315, -0.04512541741132736, 0.009034429676830769, -0.021728210151195526, 0.017404135316610336, -0.027326924726366997, -0.029289772734045982, 0.03894280642271042, -0.009792439639568329, -0.04316748306155205, -0.01698409765958786, 0.04393751174211502, -0.0027603537309914827, 0.03696897253394127, 0.01417451724410057, -0.01030566357076168, 0.005095817148685455, 0.01579035259783268, -0.02694978564977646, -0.04894823953509331, -0.011131520383059978, 0.03577446937561035, 0.025942103937268257, 0.061697572469711304, -0.08252350986003876, 0.021835390478372574, -0.04516180232167244, -0.00041164556751027703, 0.012497828342020512, -0.01003341656178236, -0.008158461190760136, -0.025299955159425735, -0.034649815410375595, -0.030292144045233727, 0.04258090630173683, 0.008287371136248112, 0.0030717833433300257, -0.00875980593264103, -0.0019038161262869835, -0.03722500801086426, -0.007896647788584232, 0.03767901286482811, 0.0702299177646637, -0.01675463281571865, -0.0662868320941925, 0.010587049648165703, -0.026225747540593147, 0.07065866887569427, -0.025893963873386383, -0.035556256771087646, -0.03368667885661125, 0.0523318387567997, -0.016615362837910652, -0.007848621346056461, -0.025874806568026543, -0.00820037629455328, -0.044502705335617065, -0.02744998224079609, 0.003752299351617694, -0.023196866735816002, -0.03206076845526695, -0.03563922271132469, -0.015347386710345745, -0.06217079237103462, -0.04364927485585213, -0.008755967020988464, 0.10379473865032196, 0.022101053968071938, -0.026362339034676552, 0.011038771830499172, -0.006367317400872707, -0.11199530214071274, 0.03065655380487442, 0.007675288710743189, -0.02796960435807705, 0.016430405899882317, 0.017547648400068283, 0.06927557289600372, -0.034759294241666794, -0.03245459869503975, 0.021838555112481117, -0.005543841049075127, 0.009061969816684723, -0.017423847690224648, 0.03732510283589363, 0.05040058121085167, -0.006890206132084131, 0.013086088933050632, 0.08660631626844406, 0.013184653595089912, -0.032909732311964035, -0.027465619146823883, 0.017860908061265945, 0.04668162018060684, 0.057614851742982864, -0.01740330643951893, 0.014893249608576298, 0.036600057035684586, 0.021577347069978714, -0.06449079513549805, 0.02915133349597454, -0.04001960530877113, 0.010721088387072086, -0.00513087585568428, -0.037378665059804916, -0.0041304221376776695, 0.02630523592233658, 0.00725948391482234, -0.024651773273944855, -0.03608618304133415, -0.0029352824203670025, -0.04494544863700867, -0.04925303906202316, 0.0008766205864958465, 0.019881922751665115, 0.024259760975837708, 0.004591952543705702, -0.017428766936063766, -0.04661739245057106, 0.029734626412391663, 0.014921383000910282, 0.010303599759936333, -0.05084386467933655, -0.027795057743787766, -0.0010566653218120337, 0.010120014660060406, 0.024971429258584976, -0.0001082262970157899, -0.0014386909315362573, 0.00038576286169700325, 0.011975333094596863, -0.043242719024419785, 0.05211759731173515, 0.015369635075330734, -0.0226120688021183, -0.02509397268295288, -0.009564781561493874, -0.0073685357347130775, 0.005901504773646593, -0.0022848115768283606, 0.01901443675160408, 0.030438825488090515, 0.06536607444286346, 0.0021028434857726097, 0.056892525404691696, -0.008735247887670994, 0.014861644245684147, -0.006306546740233898, 0.04403964802622795, -0.0964248776435852, -0.0034523974172770977, -0.03716195374727249, -0.020466016605496407, -0.015721863135695457, 0.020535431802272797, -0.03107774630188942, -0.027025075629353523, -0.0190847460180521, 0.0338282436132431, -0.0544312410056591, -0.011554437689483166, -0.024596648290753365, 0.02402355894446373, 0.06438424438238144, -0.024164753034710884, -0.002327063586562872, 0.007181038614362478, 0.013190177269279957, 0.006217775400727987, 0.029980149120092392, -0.03879137709736824, -0.016966836526989937, 0.0356002002954483, -0.0027928941417485476, -0.017043931409716606, 0.01332329586148262, 0.05886049568653107, 0.008075919933617115, -0.015823766589164734, -0.024913256987929344, 0.016291741281747818, 0.014343097805976868, 0.05418968200683594, 0.009279929101467133, -0.008644607849419117, -0.0003245818370487541, -0.02323324978351593, -0.012948015704751015, -0.02950710989534855, -0.011465037241578102, 0.0018055863911285996, 0.0034489177633076906, -0.0064950063824653625, -0.06890812516212463, 0.028080416843295097, 0.019241249188780785, 0.01574147306382656, 0.019292308017611504, 0.0025061725173145533, 0.0017368276603519917, -0.0311789121478796, 0.009819187223911285, 0.03302958607673645, -0.05628324672579765, 0.017866631969809532, -0.002537747845053673, -0.005494186654686928, 0.01790742576122284, 0.019847435876727104, -0.032313406467437744, -0.03717411682009697, -0.026438286527991295, 0.00543062062934041, -0.06302902847528458, -0.03918537124991417, -0.03486976772546768, 0.02727675624191761, 0.026016250252723694, -0.01052001491189003, -0.02189812809228897, -0.010091759264469147, 0.010587860830128193, -0.05027357488870621, 0.002190415281802416, -0.020181359723210335, 0.0030867191962897778, -0.018807370215654373, -0.039964668452739716, 0.03565147519111633, -0.03998727723956108, 0.022845828905701637, 0.03408195450901985, -0.04987122863531113, -0.012358306907117367, -0.04755483567714691, 0.01708734780550003, 0.0075681619346141815, 0.045227840542793274, -0.001989946933463216, -0.029255405068397522, -0.04933376610279083, 0.005037580616772175, -0.04446718469262123, 0.02017064206302166, -0.016801031306385994, -0.007335951551795006, 0.019946351647377014, 0.044633377343416214, 0.021682068705558777, 0.038852348923683167, -0.02616792917251587, -0.013187807984650135, 0.027611713856458664, -0.08636388927698135, -0.01011174451559782, -0.030240751802921295, -0.05941973999142647, 0.026751991361379623, 0.020117945969104767, 0.02746606059372425, -0.005744124762713909, 0.013663039542734623, 0.02847760170698166, 0.009525272063910961, 0.04115230590105057, 0.015240405686199665, 0.037740763276815414, -0.05612926557660103, 0.001980396220460534, -0.061664581298828125, 0.02345702238380909, 0.047921322286129, 0.011019797064363956, -0.007380749564617872, 0.009942038916051388, -0.03610515221953392, 0.027422554790973663, -0.06820186227560043, -0.027495568618178368, 0.02423919551074505, -0.013393333181738853, -0.027834627777338028, -0.007401262875646353, -0.06406404078006744, 0.0329337902367115, 0.013118789531290531, -0.03546059504151344, -0.03577754274010658, -0.024117104709148407, 0.05729322135448456, 0.0001957316999323666, 0.020883381366729736, -0.01846175268292427, -0.02753991074860096, 0.0506281703710556, 0.02569044753909111, -0.012585089541971684, 0.050973474979400635, 0.01244340743869543, 0.022926034405827522, 0.029212916269898415, 0.006611499469727278, 0.01202944852411747, 0.00406841142103076, -0.016713034361600876, -0.07972492277622223, 0.026436634361743927, 0.0013819803716614842, -0.034833457320928574, -0.03793980926275253, 0.052611496299505234, 0.017312247306108475, -0.0140252485871315, -0.0732259601354599, 0.022461697459220886, -0.04939761757850647, -0.02957838401198387, -0.037902768701314926, -0.013349977321922779, -0.06815816462039948, 0.04889039322733879, 0.007439789362251759, 0.008874812163412571, 0.05460500344634056, 0.015619894489645958, -0.007877172902226448, -0.03912360221147537, 0.06391116231679916, 0.09505148231983185, 0.06802667677402496, 0.02190389856696129, 0.06812340766191483, -0.018695564940571785, -0.056360598653554916, 0.012208795174956322, -0.026664474979043007, -0.018251007422804832, -0.028511924669146538, 0.0196255873888731, 0.0708574429154396, -0.027414612472057343, 0.07512903213500977, -0.024832235649228096, -0.014409090392291546, 0.022605540230870247, 0.05031926557421684, 0.004917077720165253, 0.05255747586488724, 0.009871355257928371, -0.0030000065453350544, -0.0236952044069767, -0.04698221758008003, 0.04071790352463722, -0.0404520258307457, -0.01833108253777027, 0.021071651950478554, -0.024153195321559906, 0.03666720911860466, -0.0010292872320860624, 0.03370145335793495, 0.06269461661577225, -0.04554837569594383, -0.006086574401706457, -0.0012173160212114453, 0.005020443815737963, 0.030875638127326965, 0.033692192286252975, -0.013797282241284847, -0.012846194207668304, 0.0017028218135237694, -0.01742522045969963, 0.0005995095707476139, 0.0005624987534247339, -0.02425496093928814, 0.044316746294498444, -0.04037504270672798, -0.004759322851896286, 0.020813414826989174, -0.015990057960152626, -0.030638499185442924, -0.0424543060362339, -0.035764288157224655, -0.04551132395863533, -0.053460270166397095, -0.025206124410033226, 0.006371183320879936, -0.0014945153379812837, -0.049037009477615356, -0.02243150770664215, -0.02152242325246334, -0.011251986026763916, 0.06581311672925949, -0.0597393661737442, -0.052445728331804276, 0.011901198886334896, 0.008414186537265778, 0.04055853188037872, 0.018719643354415894, 0.04357732832431793, 0.009518027305603027, -0.014165335334837437, -0.010373585857450962, 0.000695591967087239, 0.03669114038348198, -0.011181616224348545, -0.0007135808118619025, -0.10591130703687668, 0.014852350577712059, 0.04435824975371361, -0.03089289367198944, -0.05988255515694618, 0.013348663225769997, 0.008008604869246483, -0.005788468290120363, 0.04894214868545532, -0.021887270733714104, 0.00030147534562274814, -0.042792558670043945, -0.008304044604301453, -0.0040620844811201096, 0.020910367369651794, 0.047004375606775284, -0.0020975260995328426, 0.08520251512527466, 0.030990106984972954, -0.005756402853876352, -0.02782958745956421, 0.008222648873925209, -0.009453956969082355, -0.01942223124206066, -0.026934629306197166, -0.004205973818898201, -0.04329854995012283, -0.07839687168598175, -0.03915741294622421, 0.02861257828772068, -0.011567455716431141, -0.037646643817424774, 0.013834948651492596, 0.027979541569948196, -0.011495737358927727, 0.0021577305160462856, -0.05294586718082428, 0.03349113464355469, -0.028574010357260704, 0.003445470705628395, -0.00910509005188942, 0.003696987871080637, 0.009037420153617859, -0.001742300228215754, 0.025690089911222458, -0.03617111220955849, -0.01192408800125122, -0.013699919916689396, 0.03959324583411217, 0.02451971173286438, -0.0036484345328062773, 0.004849364515393972 ]
[ -0.07682520151138306, -0.008743698708713055, -0.02161465771496296, -0.03475044295191765, 0.025524171069264412, -0.01613914594054222, 0.02354482375085354, -0.00047869549598544836, -0.022650178521871567, -0.013283634558320045, 0.014914280734956264, -0.009130415506660938, 0.0092930244281888, -0.008278029039502144, 0.08679696172475815, -0.008257757872343063, 0.009875763207674026, -0.07112886756658554, 0.019594034180045128, 0.022195374593138695, -0.017757732421159744, -0.016087606549263, -0.04339532181620598, -0.03554762154817581, -0.03441948816180229, 0.013950386084616184, 0.007410306483507156, -0.005499643739312887, -0.0004428541869856417, -0.19154836237430573, 0.013694879598915577, -0.00021907026530243456, 0.01796620339155197, -0.0031139564234763384, -0.012015176005661488, 0.019466394558548927, 0.015721159055829048, 0.018407639116048813, -0.0012254860484972596, 0.00932711735367775, 0.02008306048810482, 0.01809578575193882, -0.052334509789943695, -0.01727420464158058, 0.020780270919203758, -0.012678292579948902, -0.008253843523561954, -0.026875950396060944, -0.03721049427986145, 0.026158303022384644, -0.020647574216127396, 0.005550044123083353, -0.040079787373542786, 0.014687896706163883, -0.03461179882287979, 0.03970829024910927, 0.054099686443805695, 0.06285414099693298, -0.02580179274082184, 0.0027676569297909737, 0.017822545021772385, -0.013819476589560509, -0.0914808064699173, 0.09636671841144562, 0.009187988005578518, 0.06601165980100632, -0.058000609278678894, -0.043515849858522415, 0.0004640671540983021, 0.05011685937643051, -0.030551450327038765, -0.02795683778822422, -0.05991973727941513, 0.024952566251158714, 0.011014618910849094, -0.011402190662920475, -0.006256177555769682, 0.05434765666723251, 0.01649782620370388, -0.04030242934823036, -0.02332930639386177, 0.0022276139352470636, -0.004166281316429377, -0.013859489932656288, -0.05693065747618675, 0.030322540551424026, 0.032058000564575195, 0.05103129893541336, 0.03617453947663307, 0.03513597324490547, 0.04809948801994324, -0.008700598031282425, 0.06906185299158096, 0.009808296337723732, -0.03639698028564453, 0.005182554945349693, -0.006001816131174564, 0.02769417129456997, -0.03515312820672989, 0.46464985609054565, 0.012030997313559055, -0.03374028950929642, 0.06985396891832352, 0.01787814125418663, -0.01859121210873127, 0.021631397306919098, 0.007053185719996691, -0.01567830517888069, 0.02452741749584675, 0.00674663158133626, -0.024570131674408913, 0.0036479332484304905, 0.04659976065158844, -0.05874286964535713, 0.02716817520558834, 0.015226892195641994, 0.016312627121806145, 0.036895450204610825, 0.02119867131114006, -0.03527219593524933, 0.02468772977590561, 0.032421134412288666, 0.05050340294837952, 0.030501091852784157, -0.011179659515619278, -0.0060972291976213455, 0.0539083406329155, 0.023263197392225266, 0.01990981586277485, 0.0249050073325634, 0.012780909426510334, -0.05868924409151077, -0.06489459425210953, 0.04449562355875969, -0.013772855512797832, -0.005516019184142351, 0.01714152842760086, 0.0029305412899702787, 0.009819483384490013, 0.03881879895925522, 0.001981727546080947, 0.03549254685640335, 0.029698185622692108, -0.003496903460472822, -0.0104986522346735, 0.09444655478000641, 0.01119283027946949, -0.04775309935212135, -0.042202968150377274, -0.05822812393307686, -0.016388408839702606, 0.05490792542695999, -0.03655608370900154, -0.04892857000231743, 0.008359541185200214, -0.011573721654713154, 0.08493228256702423, -0.013785324059426785, -0.060726575553417206, -0.00866671372205019, -0.01417201291769743, -0.014783891849219799, -0.007995354011654854, 0.03949426859617233, 0.023469584062695503, -0.14209912717342377, -0.027056552469730377, 0.0381133034825325, 0.025998912751674652, -0.042787209153175354, -0.07777858525514603, -0.018632465973496437, -0.016850724816322327, -0.034586869180202484, 0.05363060161471367, -0.03346143662929535, -0.08176405727863312, 0.019914614036679268, -0.003813647199422121, -0.00021195919543970376, -0.004470592364668846, -0.01551084779202938, -0.039998676627874374, -0.012933417223393917, -0.051494382321834564, -0.10888421535491943, -0.032380975782871246, -0.003135866951197386, -0.020377011969685555, 0.03925550729036331, -0.0452294759452343, -0.03740224987268448, -0.09957174956798553, 0.08582857251167297, -0.0013033155119046569, 0.005478676408529282, 0.0003208789275959134, -0.010959731414914131, -0.008926454000175, -0.014873156324028969, -0.023298054933547974, 0.03763904049992561, -0.02126101404428482, -0.0022971227299422026, -0.06648410856723785, 0.0802517756819725, 0.05007603019475937, -0.043785762041807175, 0.07594796270132065, 0.021919770166277885, -0.05231213942170143, -0.01348702423274517, -0.010491137392818928, 0.03223821893334389, -0.00519493268802762, -0.016638780012726784, -0.011730318889021873, 0.003994371742010117, 0.05683409795165062, 0.020122934132814407, -0.032469410449266434, 0.018967200070619583, -0.005750112235546112, -0.3334503173828125, -0.015350496396422386, -0.047639958560466766, 0.02924894355237484, 0.01994716003537178, -0.08836480230093002, 0.021523701027035713, 0.007037703413516283, 0.009141220711171627, -0.02224924974143505, 0.0841938927769661, -0.024225344881415367, 0.007147314492613077, -0.03198679909110069, 0.004763835575431585, 0.02394058182835579, -0.044815897941589355, -0.007720928639173508, -0.036866359412670135, -0.024288224056363106, -0.008864275179803371, -0.0005151071818545461, 0.026562489569187164, -0.026584042236208916, 0.0036418188828974962, -0.026613492518663406, 0.08181796967983246, -0.013371848501265049, 0.06834950298070908, -0.0270379725843668, 0.04093199223279953, 0.005348613951355219, -0.03579970449209213, -0.11093396693468094, 0.002683953382074833, -0.015722017735242844, 0.01424331497400999, -0.02352745458483696, 0.04425374045968056, -0.0530494786798954, -0.03912746161222458, 0.0028109087143093348, -0.02203013189136982, -0.0527954064309597, -0.008722811937332153, 0.024443740025162697, -0.03766835480928421, 0.031342774629592896, -0.04125676304101944, 0.0758393183350563, 0.031356330960989, -0.01796555146574974, 0.01994536817073822, 0.012131360359489918, -0.018340423703193665, -0.051877815276384354, -0.04935653507709503, -0.0013836548896506429, 0.023758063092827797, 0.058753639459609985, 0.029257824644446373, 0.06222309544682503, 0.023563480004668236, -0.06244620680809021, 0.008832668885588646, -0.0028308648616075516, 0.0018038474954664707, -0.0009643241646699607, 0.07283449918031693, -0.03568487986922264, -0.048547469079494476, 0.10792972147464752, -0.024967748671770096, 0.0017887690337374806, 0.05752626806497574, 0.020225765183568, -0.02003094181418419, -0.0070956009440124035, 0.021170850843191147, -0.0007787400390952826, 0.008153758011758327, -0.02876497432589531, 0.02391844056546688, -0.022897010669112206, 0.014193909242749214, 0.05187761411070824, -0.015373704954981804, -0.033086519688367844, 0.02633737213909626, -0.02449900284409523, -0.00977902952581644, 0.011956606060266495, -0.04260328784584999, -0.045705586671829224, 0.06854800134897232, -0.0180343184620142, -0.25151339173316956, 0.0005531786009669304, 0.06238866597414017, 0.08565881848335266, 0.001373561448417604, 0.0015519690932705998, 0.03316812962293625, -0.04813840985298157, -0.007183394860476255, -0.008064101450145245, 0.045550428330898285, 0.003323042532429099, 0.02376401051878929, 0.008363494649529457, 0.035508543252944946, -0.001639511319808662, 0.02350204810500145, 0.018667669966816902, 0.005007948726415634, -0.017024371773004532, -0.0020213976968079805, -0.022245677188038826, 0.18491683900356293, 0.030157607048749924, 0.00879846140742302, 0.020949263125658035, 0.024562373757362366, 0.012694396078586578, 0.035013843327760696, -0.012719953432679176, 0.0015352279879152775, -0.03992649167776108, 0.034673672169446945, -0.03115757368505001, 0.03155335783958435, -0.10565556585788727, -0.03134031966328621, 0.03440706431865692, 0.0254665594547987, 0.00011065586295444518, -0.013533956371247768, 0.015820646658539772, -0.021447570994496346, 0.03287620469927788, 0.050802748650312424, -0.008203956298530102, 0.027272377163171768, 0.04118334874510765, -0.06595514714717865, -0.006528067868202925, -0.025966310873627663, -0.057347510010004044, 0.0001287430786760524, -0.03263074904680252, 0.03870799019932747, 0.09326226264238358, -0.0068590776063501835, -0.001628112280741334, 0.025577504187822342, 0.04092841222882271, 0.03300538659095764, 0.027347838506102562, 0.10886088013648987, -0.004304578527808189, 0.03192337229847908 ]
[ -0.0038939279038459063, 0.018142959102988243, 0.011126281693577766, 0.00815759040415287, 0.006046659778803587, 0.01252658385783434, 0.01689859665930271, 0.02649667114019394, -0.019530003890395164, -0.03776497766375542, -0.007170200347900391, -0.01972712017595768, 0.06824580579996109, -0.003451879834756255, 0.05202748626470566, -0.004540965426713228, 0.04533624276518822, -0.011948169209063053, 0.021138492971658707, -0.005092706996947527, -0.023517953231930733, -0.003226903034374118, -0.03312775120139122, -0.01186381559818983, -0.0030245576053857803, 0.001428689924068749, -0.03258584812283516, -0.014379172585904598, 0.03560338914394379, -0.13336513936519623, -0.014342528767883778, -0.05588369816541672, -0.023831069469451904, 0.029364395886659622, 0.007631893269717693, 0.00997976679354906, 0.017280971631407738, -0.004597272723913193, -0.017654554918408394, -0.0035771734546869993, 0.007706775795668364, -0.021774305030703545, -0.021921085193753242, -0.005682165268808603, 0.011996212415397167, -0.016423026099801064, 0.009747574105858803, -0.03211157023906708, -0.009832985699176788, -0.026193490251898766, -0.022012503817677498, 0.013947207480669022, 0.021078532561659813, -0.0007794030825607479, -0.007436051033437252, 0.01584603637456894, -0.010248515754938126, -0.006385122425854206, 0.024743182584643364, 0.004735324997454882, 0.004663657862693071, 0.004652262199670076, -0.025642286986112595, -0.012247689068317413, 0.0008537375251762569, -0.022481190040707588, -0.02626883238554001, 0.018467890098690987, 0.01697414554655552, 0.00822790339589119, -0.025018371641635895, 0.007111951243132353, -0.03945823758840561, -0.032679468393325806, 0.00534988334402442, 0.021707965061068535, -0.02624988555908203, -0.009646719321608543, -0.026760675013065338, -0.013635439798235893, 0.004604598972946405, 0.027675798162817955, -0.020202787593007088, 0.024815523996949196, -0.003371250117197633, -0.009138070978224277, 0.020017940551042557, -0.0034273986238986254, 0.00813946221023798, 0.03758649155497551, -0.03142458572983742, -0.013686108402907848, -0.0010371522512286901, -0.025155089795589447, -0.07073673605918884, -0.016214627772569656, -0.034366823732852936, -0.006380418315529823, -0.006304850336164236, 0.8491916656494141, -0.007696196902543306, 0.01044775452464819, 0.026849141344428062, 0.03306274861097336, -0.0002507301978766918, -0.033832330256700516, -0.003933873493224382, 0.02046593837440014, 0.02537783607840538, -0.014783969148993492, 0.0067554195411503315, 0.017518479377031326, 0.02284427359700203, 0.02401098795235157, 0.05231921002268791, 0.014239601790904999, 0.006180190946906805, -0.04684850201010704, -0.00517954770475626, 0.007784268818795681, 0.028064660727977753, 0.017063293606042862, 0.051887184381484985, 0.030278684571385384, 0.0049944170750677586, -0.1652098149061203, 0.006555521860718727, -8.44322841643903e-33, 0.006591237150132656, 0.017955126240849495, 0.007261363789439201, 0.004202286247164011, 0.028815308585762978, -0.017470475286245346, 0.024716772139072418, -0.019682226702570915, -0.0007156890351325274, -0.026563074439764023, 0.018192319199442863, 0.0007928136037662625, -0.010363142937421799, -0.007410977967083454, 0.016445280984044075, 0.019579075276851654, 0.010471961461007595, 0.03488040342926979, 0.004464078228920698, 0.00043370277853682637, 0.038645658642053604, 0.06024588271975517, -0.005865613464266062, 0.018867459148168564, -0.008192326873540878, 0.03323361650109291, 0.0074781449511647224, 0.034098368138074875, -0.004196080379188061, -0.03205910325050354, 0.009086672216653824, -0.021648883819580078, 0.010701884515583515, -0.015152751468122005, 0.02066272869706154, -0.0424085296690464, -0.036262910813093185, -0.011281580664217472, -0.018709218129515648, -0.01431348454207182, -0.030905049294233322, -0.01921713724732399, -0.023497197777032852, -0.01862179860472679, -0.05456065759062767, -0.005369988270103931, 0.026588313281536102, 0.005922258831560612, 0.05075222626328468, -0.0056084757670760155, 0.0051903934217989445, 0.018620362505316734, 0.011158499866724014, -0.01773325726389885, -0.013119042851030827, -0.015932969748973846, -0.03297306224703789, -0.017690738663077354, 0.006601415574550629, 0.002475002082064748, -0.03730643168091774, 0.002485037548467517, -0.05450005084276199, 0.03487200289964676, -0.04525921493768692, -0.0325339213013649, 0.04201757535338402, 0.037906888872385025, 0.007287859451025724, -0.011158191598951817, -0.047914065420627594, 0.012527105398476124, -0.0009186575771309435, -0.022259632125496864, 0.002510728547349572, -0.010829245671629906, -0.004719286225736141, -0.00258186599239707, 0.00580743420869112, 0.06586798280477524, 0.0027800414245575666, 0.0044922856613993645, 0.0031419824808835983, -0.019543131813406944, -0.04508434236049652, -0.025564448907971382, 0.028076572343707085, -0.015344968065619469, -0.015728047117590904, -0.013387835584580898, 0.0635446235537529, 0.02942119725048542, 0.0197371207177639, -0.02142762765288353, -0.0367349237203598, 7.81751791628411e-33, 0.02663317136466503, -0.04017665237188339, 0.003660602727904916, -0.02696078084409237, 0.005793743766844273, -0.003482221160084009, -0.017095239832997322, 0.02373306080698967, -0.04462927579879761, -0.005428931675851345, -0.026955513283610344, 0.025217141956090927, -0.008875911124050617, 0.03638479486107826, 0.008117341436445713, -0.030422242358326912, 0.011785022914409637, -0.023181669414043427, 0.005466962233185768, 0.010324581526219845, 0.0412709042429924, 0.011208255775272846, 0.0032100053504109383, -0.003163831075653434, -0.018977491185069084, 0.054954830557107925, 0.006443010177463293, 0.04981067031621933, -0.006612211931496859, -0.0006784307188354433, -0.001988333184272051, 0.017302583903074265, 0.01809048093855381, -0.05693313479423523, -0.024507373571395874, 0.014130849391222, -0.0154460109770298, 0.005016092211008072, -0.027394147589802742, -0.022388633340597153, 0.008309531025588512, 0.04593589901924133, -0.0023474087938666344, 0.017683984711766243, 0.007514669094234705, 0.03001335822045803, -0.007037442643195391, -0.019631050527095795, 0.03485752269625664, 0.04114842414855957, -0.02675393782556057, 0.011467100121080875, 0.03588629141449928, -0.03249496594071388, -0.02380947209894657, -0.02539709582924843, -0.030887335538864136, 0.00633396627381444, -0.01994209550321102, 0.03963093087077141, 0.011327181942760944, 0.009017199277877808, -0.018079500645399094, -0.004647616297006607, -0.04800444468855858, 0.023752128705382347, -0.007103907875716686, 0.027387535199522972, -0.018094513565301895, -0.027830708771944046, 0.0006725086714141071, -0.005524719133973122, -0.020333468914031982, 0.005784176290035248, 0.05624731630086899, -0.00808557029813528, -0.015290820971131325, 0.01762976311147213, -0.007915962487459183, 0.005391614977270365, 0.00731203518807888, -0.003476180136203766, 0.0032115366775542498, -0.07516191154718399, 0.01322387345135212, -0.01239712256938219, -0.04966570436954498, 0.03941731154918671, -0.016604773700237274, 0.003928287420421839, -0.008254097774624825, 0.005627034232020378, 0.004449761472642422, 0.03641940653324127, -0.0037935057189315557, -1.3863222569909794e-8, -0.01874765381217003, 0.009149827063083649, 0.021878579631447792, -0.0009250689181499183, 0.0006870536017231643, -0.0038453491870313883, -0.026726221665740013, -0.024919208139181137, -0.006757597904652357, -0.002438504947349429, 0.00521385483443737, -0.07151135057210922, -0.014778025448322296, 0.007193336263298988, 0.02921108715236187, -0.05817679315805435, -0.001030176761560142, -0.009665414690971375, 0.018776455894112587, 0.026147404685616493, 0.011319587007164955, 0.029524900019168854, 0.012522250413894653, 0.01946360059082508, 0.029928741976618767, 0.010669359937310219, 0.0008971272618509829, -0.06431065499782562, -0.02881220355629921, 0.049513038247823715, -0.003559189150109887, -0.017434613779187202, -0.043880436569452286, 0.0036385059356689453, -0.026828885078430176, -0.0017947731539607048, 0.022279001772403717, 0.0011925745056942105, -0.017732219770550728, -0.0261138454079628, 0.01877991482615471, -0.0010070037096738815, 0.014266332611441612, -0.030051374807953835, -0.011720996350049973, -0.0066261873580515385, -0.03363141417503357, -0.011000940576195717, 0.058669619262218475, -0.030340205878019333, -0.0077698323875665665, -0.06288472563028336, 0.005447071511298418, 0.03243468701839447, 0.056233733892440796, -0.017833901569247246, 0.017671454697847366, 0.010391025803983212, -0.006752891931682825, 0.011481058783829212, 0.03453274443745613, 0.010299299843609333, -0.0072922417894005775, -0.013915619812905788 ]
impersonators-using-them-in-showcases
https://markhneedham.com/blog/2009/09/10/impersonators-using-them-in-showcases
false
2009-09-19 02:24:11
Set Based Concurrent Engineering: A simple example
[ "lean", "concurrent-set-based-engineering" ]
[ "Lean" ]
One of my favourite ideas that I came across while reading the Poppendieck's http://www.markhneedham.com/blog/2008/12/20/lean-software-development-book-review/[Lean Software Development] is set based concurrent engineering which encourages us to keep our options open with regards to the solution to a problem until we absolutely need to decide on an approach after which we probably can't easily change that decision so we will most likely stick with it. I like the idea but on the projects I've worked on we often seem to take a more point based approach - there will be some discussion up front on the potential solutions to a problem and eventually one of them will be considered to be the best solution and we go and implement that one. Last week we were doing more work on getting an authenticated user into our system and on this occasion we were trying to work out the best way to get some of the user's details into our 'Service' base class so that we could send down the user's SAML token with specific requests. We identified two solutions to do this - inject the user into the Service through a constructor or inject it via a property. A colleague and I were in favour of the constructor based approach since it results in us creating an object which has all its dependencies ready at creation. http://erik.doernenburg.com/[Erik] and another colleague favoured the introduction of setter injection in this case since we could just add that to the top level abstract class and avoid the problem that we would have with constructor injection whereby every sub class would need to have that constructor defined. [source,csharp] ---- public abstract class Service { public Service(User user) { } } public class SomeService : Service { public SomeService(User user) : base(user) { } // every sub class of Service would need this constructor } ---- We decided to try out both of these solutions concurrently for a time boxed period and then go with the one which looked like it was working out better. While pursuing the constructor based approach we actually ran into a problem trying to resolve the services - it seems to be a bug in Unity Container version 1.2 which http://unity.codeplex.com/WorkItem/View.aspx?WorkItemId=3696[doesn't allow you to use parameters in the constructor of a type which is being intercepted by a 'VirtualMethodInterceptor'] which we are making use of for caching some service requests. We spent a bit of time trying to debug this to work out what was going on but the code eventually fails when trying to emit some IL code. I tried the latest version of the container out separately and it seemed to work correctly for the same situation so I think the bug has been fixed now. By this time the time box was up and my other colleague had got further with the setter based approach than we had managed to get so we decided to go with that approach instead. I think it was still an interesting approach to take as we learnt a bit more about how the container works and we got to see the trade off that we would be making if we used constructor injection between keeping our objects 'pure' and creating a lot of boiler plate code to create the constructor for each new service class - we went through about 30 classes putting the new constructor in!
null
null
[ 0.018962882459163666, -0.008106066845357418, -0.026519428938627243, 0.03992219641804695, 0.08232694864273071, 0.03253951668739319, 0.044655051082372665, 0.036385081708431244, 0.00932324305176735, -0.024881333112716675, -0.018121963366866112, -0.022716686129570007, -0.06638287752866745, 0.017648352310061455, -0.033934272825717926, 0.05080292373895645, 0.08008304983377457, 0.008853687904775143, 0.03518844395875931, 0.025840552523732185, 0.016824007034301758, 0.0804661363363266, 0.017387572675943375, 0.029551276937127113, 0.03521973267197609, 0.012539614923298359, 0.014899833127856255, -0.012689445167779922, -0.04764559492468834, -0.03492104634642601, 0.0285699050873518, 0.00710877263918519, -0.005633295513689518, -0.025876667350530624, 0.008619414642453194, -0.02171449549496174, -0.034038614481687546, 0.026637597009539604, 0.013285978697240353, 0.003036693437024951, -0.0742475688457489, 0.031192118301987648, 0.008771603927016258, -0.022152969613671303, -0.03655693680047989, -0.0045495228841900826, -0.039888594299554825, 0.004336424171924591, -0.02593873254954815, -0.01761879026889801, -0.08764377981424332, 0.0279434472322464, -0.0032245281618088484, 0.03088582679629326, 0.008783482946455479, 0.03481743484735489, 0.01060483418405056, -0.06400514394044876, 0.014416382648050785, -0.05759682506322861, -0.003988518845289946, 0.01479065790772438, 0.0026555657386779785, 0.016200050711631775, 0.030222447589039803, -0.0011726771481335163, -0.021365387365221977, 0.03826456144452095, -0.04185396060347557, -0.00819612480700016, -0.01149500347673893, -0.006751100532710552, -0.008662589825689793, -0.0006807207828387618, -0.004317925777286291, -0.0721311867237091, 0.014914150349795818, 0.05748220533132553, 0.0048000323586165905, 0.036824826151132584, -0.01933107152581215, 0.01655193418264389, 0.01880233734846115, 0.014791573397815228, -0.002894120290875435, -0.04067428782582283, 0.01026216708123684, -0.0025760899297893047, -0.023500069975852966, 0.0812334343791008, 0.014164097607135773, -0.04379284009337425, 0.00564822880551219, 0.04821956530213356, 0.007339811883866787, 0.028045643121004105, 0.026895401999354362, 0.0029785672668367624, 0.007311863359063864, 0.009491659700870514, -0.010618901811540127, -0.006734371650964022, 0.0073235356248915195, 0.014178442768752575, -0.061818644404411316, -0.0025154543109238148, -0.016257019713521004, -0.018419010564684868, -0.007272971328347921, -0.0034799331333488226, -0.058286190032958984, 0.014001441188156605, -0.019756337627768517, -0.0041356501169502735, -0.08024433255195618, 0.06797444820404053, 0.012678023427724838, -0.002200500341132283, -0.007562544196844101, 0.03365617245435715, 0.02457069233059883, 0.028806904330849648, -0.02574998512864113, 0.06445454061031342, 0.013508740812540054, 0.033410653471946716, -0.04394717514514923, 0.05713506042957306, -0.0207412950694561, -0.07634589821100235, 0.027322815731167793, 0.04894498363137245, -0.028780749067664146, 0.0010298960842192173, -0.005268449429422617, -0.016509054228663445, 0.021567171439528465, 0.02061624452471733, 0.028487391769886017, 0.046232715249061584, -0.021574532613158226, -0.045549411326646805, 0.0339549295604229, 0.010182294994592667, 0.005762855522334576, 0.0006004931638017297, 0.025803418830037117, -0.017166677862405777, -0.039361320436000824, 0.018325982615351677, 0.014054118655622005, 0.025384336709976196, 0.04174801707267761, -0.028811989352107048, 0.03037165105342865, 0.09042084962129593, 0.03155247122049332, 0.02215256728231907, -0.010322178713977337, 0.024702731519937515, 0.037299733608961105, 0.03535493463277817, 0.0006924215122126043, 0.0072646355256438255, 0.016335153952240944, -0.007048862520605326, -0.019177142530679703, 0.01246177963912487, 0.017621858045458794, -0.033713288605213165, -0.06868597865104675, -0.040677011013031006, 0.03508031368255615, -0.08316808938980103, 0.01032494567334652, 0.03476405516266823, 0.09948350489139557, 0.01791074126958847, 0.06390199065208435, -0.014264383353292942, -0.07673980295658112, 0.023058665916323662, 0.008940638042986393, -0.004627671558409929, 0.019563795998692513, -0.016651365906000137, 0.049053993076086044, 0.03590548783540726, 0.007589420303702354, 0.04555244743824005, -0.07040686905384064, -0.06787148118019104, -0.02534840814769268, -0.018821602687239647, 0.05740545690059662, -0.012841066345572472, -0.011186799965798855, 0.07848037034273148, 0.023750826716423035, 0.04953774809837341, 0.0383673794567585, 0.0000028114293399994494, 0.005384180229157209, -0.030960559844970703, -0.042065080255270004, 0.020062757655978203, 0.042113278061151505, 0.01658673956990242, -0.0691862553358078, 0.011529187671840191, -0.003719565225765109, -0.02193988673388958, 0.02654048427939415, -0.020001715049147606, 0.047495849430561066, -0.008661589585244656, 0.04052164405584335, -0.04466914385557175, 0.07127048075199127, -0.0650460496544838, 0.010268930345773697, -0.0142170749604702, -0.016274891793727875, 0.003974985796958208, -0.007412336766719818, 0.10125958919525146, 0.056183237582445145, -0.05849580466747284, -0.047752171754837036, 0.03894785791635513, 0.031685248017311096, -0.06845247745513916, -0.00015074711700435728, -0.021391062065958977, 0.0217025987803936, 0.022225385531783104, -0.041941411793231964, -0.009478642605245113, 0.017414622008800507, -0.032264478504657745, 0.025328155606985092, 0.07639243453741074, -0.027352938428521156, 0.043680332601070404, 0.01607726700603962, -0.02495253086090088, -0.01731923408806324, -0.010616320185363293, -0.07169781625270844, 0.006416080519556999, -0.004402547143399715, -0.006525989156216383, 0.05703464522957802, -0.02850217930972576, -0.0462002158164978, -0.031667161732912064, -0.04244926944375038, 0.02094302512705326, 0.014886817894876003, 0.06791669130325317, -0.03910786285996437, 0.05757388100028038, -0.03259272873401642, 0.030600430443882942, 0.024507639929652214, -0.04574645683169365, 0.0010889505501836538, -0.015141638927161694, -0.0013236769009381533, 0.029964648187160492, 0.010459043085575104, -0.004283754620701075, 0.03834373876452446, -0.01244722306728363, -0.024138355627655983, -0.004969527013599873, 0.02195891924202442, 0.006117810029536486, -0.01661146804690361, -0.03267597779631615, 0.00003042946627829224, 0.046557165682315826, -0.04284757375717163, -0.01463809423148632, 0.017208319157361984, -0.10069769620895386, 0.040505923330783844, -0.07592727988958359, -0.06925541162490845, -0.005832785740494728, 0.023414935916662216, 0.005693814717233181, -0.0011811958393082023, 0.013027526438236237, 0.0776505097746849, 0.015194973908364773, -0.012711075134575367, -0.004620983265340328, 0.0008033819030970335, 0.02729957550764084, -0.004406842403113842, 0.03917011246085167, 0.050096720457077026, 0.010786785744130611, 0.018105922266840935, -0.06469523906707764, 0.04840979725122452, -0.04464634880423546, -0.29399654269218445, 0.011398166418075562, 0.0017116519156843424, -0.05472297966480255, 0.04684988409280777, 0.009407131001353264, 0.009901703335344791, -0.04722575843334198, -0.017709881067276, 0.038707274943590164, -0.007813618518412113, -0.03799980878829956, -0.003187058959156275, 0.04939400032162666, -0.003988826647400856, 0.039572037756443024, 0.025637786835432053, -0.03161117061972618, 0.010636611841619015, 0.05744605138897896, -0.02616267278790474, -0.07432191073894501, 0.007874011062085629, 0.03250868618488312, 0.05111664533615112, 0.03147701919078827, -0.08329012244939804, 0.07233485579490662, -0.033801231533288956, -0.015858562663197517, 0.009562518447637558, -0.01410033367574215, -0.01577616296708584, 0.0005045213620178401, -0.006054597906768322, -0.0010689456248655915, 0.008268456906080246, 0.02843380719423294, -0.014316541142761707, -0.0013726266333833337, -0.04157830402255058, -0.04342696815729141, -0.008974290452897549, 0.0033225161023437977, 0.05721486732363701, 0.003251096000894904, -0.07340894639492035, -0.007959854789078236, -0.06936676800251007, 0.07448883354663849, -0.021990248933434486, -0.03404887020587921, 0.00613332400098443, 0.017140772193670273, -0.01719074323773384, -0.010561255738139153, -0.004603583365678787, 0.012062904424965382, -0.04484470561146736, -0.017350202426314354, -0.018152059987187386, -0.03493402525782585, -0.02662121318280697, -0.03339222073554993, -0.036869317293167114, -0.0698353573679924, -0.07215242087841034, -0.015756458044052124, 0.0582992359995842, 0.023935724049806595, -0.020898213610053062, 0.02652137354016304, 0.014386788010597229, -0.122769795358181, 0.012450454756617546, -0.03562399744987488, -0.00969773344695568, -0.022151527926325798, 0.008418823592364788, 0.033288855105638504, -0.0217084102332592, -0.052428342401981354, 0.01675856113433838, 0.01930960826575756, 0.01218719594180584, 0.00564414681866765, 0.05688432976603508, 0.004167234059423208, -0.03628640994429588, 0.014350727200508118, 0.06518144905567169, -0.002860491396859288, 0.007179191801697016, -0.05625198408961296, 0.025438399985432625, 0.007748800795525312, 0.003608924336731434, -0.003063252894207835, -0.009475319646298885, 0.00971344206482172, 0.02327556535601616, -0.05593766272068024, 0.024461857974529266, -0.012936838902533054, -0.011998449452221394, -0.009699411690235138, -0.049785200506448746, 0.041558410972356796, 0.04480409249663353, 0.03509616106748581, -0.016118304803967476, -0.03712354600429535, 0.005035253241658211, -0.06734371930360794, -0.02774939313530922, -0.004118017852306366, -0.006773043889552355, 0.05139130726456642, -0.012958877719938755, -0.005585370119661093, -0.05291299894452095, 0.021684231236577034, 0.02125658094882965, -0.00013284133456181735, -0.06458096951246262, -0.0281066857278347, -0.03212185949087143, -0.02830081805586815, 0.01771624945104122, 0.02717410773038864, -0.01594904251396656, 0.0395134873688221, 0.025670483708381653, -0.05246943235397339, 0.01589091494679451, -0.024473242461681366, -0.05660521239042282, -0.03481840714812279, -0.014963283203542233, 0.002742053009569645, 0.007727243006229401, 0.00022448162781074643, 0.007175375707447529, 0.011313198134303093, 0.04504157230257988, 0.009268765337765217, 0.023831378668546677, -0.00042466752347536385, 0.013232411816716194, 0.017356721684336662, 0.013001292012631893, -0.08514822274446487, 0.029386719688773155, -0.037032343447208405, -0.036488719284534454, -0.044707346707582474, 0.022837340831756592, -0.004245594143867493, -0.03371497988700867, -0.01932753436267376, 0.02036888152360916, -0.06377054750919342, -0.0432143397629261, -0.030632786452770233, 0.01950897090137005, 0.06865257769823074, -0.016619687899947166, 0.018064824864268303, -0.03493770956993103, -0.0013701296411454678, 0.007888958789408207, 0.01467365212738514, -0.054595425724983215, 0.00715243723243475, 0.002757516922429204, 0.0026500720996409655, 0.013740100897848606, 0.0016821057070046663, 0.029203563928604126, 0.004448161460459232, -0.007796951569616795, -0.005752536002546549, 0.001316729816608131, -0.011820824816823006, 0.048345040529966354, 0.01603640429675579, -0.005713568534702063, -0.0021126484498381615, -0.029262401163578033, -0.024134783074259758, -0.030448203906416893, -0.015386732295155525, -0.011504136957228184, 0.02499103918671608, -0.040996819734573364, -0.0637991651892662, 0.0505974180996418, 0.020392414182424545, 0.04270247370004654, 0.032098397612571716, 0.00025816960260272026, 0.027603473514318466, -0.029947420582175255, 0.04256247356534004, 0.08405725657939911, -0.05485537275671959, 0.0066387224942445755, 0.009074416942894459, 0.02274266444146633, 0.02329079806804657, -0.0033370517194271088, -0.03277408331632614, -0.012407289817929268, -0.027564752846956253, -0.014159303158521652, -0.06184130534529686, -0.023867536336183548, -0.038086723536252975, 0.017499687150120735, 0.00320018851198256, -0.005964495707303286, -0.009300271980464458, -0.0019905087538063526, -0.018965033814311028, -0.017738541588187218, 0.024059511721134186, -0.02358989231288433, -0.013054614886641502, 0.008630170486867428, -0.017178498208522797, 0.00910032819956541, -0.03520534932613373, 0.023119933903217316, 0.01414431631565094, -0.019300106912851334, -0.014634550549089909, -0.03101194091141224, -0.009701235219836235, 0.009957615286111832, 0.04003423824906349, 0.0007411025580950081, -0.016136059537529945, -0.012862253934144974, -0.008726393803954124, -0.026329919695854187, 0.01934056356549263, -0.00037673889892175794, 0.012111014686524868, 0.02688148431479931, 0.06275859475135803, -0.010363192297518253, 0.03926130384206772, 0.0045362813398242, -0.011652562767267227, 0.06301169842481613, -0.0587393194437027, -0.027582859620451927, -0.037897661328315735, -0.07260242104530334, -0.009587617591023445, -0.01587095484137535, 0.027652254328131676, -0.03294872120022774, 0.0512668676674366, 0.03520385921001434, 0.006267207209020853, 0.039070505648851395, 0.012407531961798668, 0.051745910197496414, -0.0577247217297554, -0.003052433952689171, -0.07160139828920364, 0.034063950181007385, 0.03410729393362999, 0.009528989903628826, -0.024838661774992943, -0.019699804484844208, -0.025226598605513573, 0.07056193053722382, -0.05324649438261986, -0.030887233093380928, 0.0326245054602623, -0.01698247902095318, -0.010722523555159569, 0.005919332150369883, -0.054100457578897476, 0.032916732132434845, 0.01565847545862198, -0.0334516204893589, -0.015438084490597248, -0.02763546258211136, 0.05010956525802612, 0.01813643053174019, 0.033214978873729706, -0.05283563956618309, 0.0013794763945043087, 0.06335221230983734, -0.004826614633202553, -0.011653028428554535, 0.05285495147109032, -0.017583506181836128, 0.0382288359105587, 0.046496566385030746, 0.004199597053229809, -0.017901116982102394, -0.005558942444622517, -0.0015541937900707126, -0.06495944410562515, 0.03371656313538551, -0.0039164056070148945, -0.020934758707880974, -0.04312961921095848, 0.057718727737665176, 0.0035143543500453234, -0.05784693732857704, -0.053399164229631424, 0.021219659596681595, -0.034156300127506256, -0.029315927997231483, -0.01969999074935913, 0.0008644362678751349, -0.030450787395238876, 0.047554414719343185, 0.007283092010766268, -0.016176976263523102, 0.08089473098516464, 0.00797093752771616, -0.013114451430737972, -0.037957195192575455, 0.08075917512178421, 0.06343569606542587, 0.0457170307636261, 0.00009179806511383504, 0.06583758443593979, -0.011715630069375038, -0.03060358390212059, 0.017868872731924057, -0.02608356438577175, -0.028371453285217285, -0.04118065908551216, 0.023023489862680435, 0.0486968532204628, 0.004932178650051355, 0.050020817667245865, -0.02907133661210537, -0.00878082774579525, -0.016803408041596413, 0.058340128511190414, 0.021841581910848618, 0.04194973409175873, 0.01788206771016121, 0.017987068742513657, -0.009273028001189232, -0.028180871158838272, 0.0010912319412454963, -0.034185972064733505, -0.019420530647039413, 0.018154220655560493, -0.00107981835026294, 0.017971932888031006, -0.0015677978517487645, 0.0047971694730222225, 0.07672010362148285, -0.042313314974308014, 0.0021546154748648405, -0.0007460615015588701, 0.012666990980505943, -0.007861500605940819, -0.00930641870945692, -0.024093300104141235, -0.02043948508799076, 0.003825123654678464, -0.0026909010484814644, -0.008114033378660679, -0.006510049570351839, -0.02215377613902092, 0.04962853342294693, -0.0045578149147331715, 0.027007879689335823, 0.011890849098563194, 0.002493405481800437, -0.04069434106349945, -0.031988922506570816, -0.0461973138153553, -0.028018804267048836, -0.0355759859085083, -0.01502984482795, 0.03186788782477379, -0.015285501256585121, -0.03870148956775665, -0.007608121261000633, -0.007064952049404383, -0.03313633054494858, 0.031801141798496246, -0.05499538034200668, -0.003785104490816593, 0.011635416187345982, 0.02776671014726162, 0.03567511588335037, 0.0032281242311000824, 0.05988066643476486, 0.021240198984742165, -0.010598544962704182, -0.03248026221990585, -0.001310618594288826, 0.013337183743715286, 0.01236379612237215, 0.026403037831187248, -0.08751381188631058, 0.04314964637160301, 0.005772866774350405, -0.015337812714278698, -0.0614808052778244, 0.0031334219966083765, 0.03391539305448532, 0.0008355751633644104, 0.0434502437710762, -0.01646680198609829, -0.008241907693445683, -0.0275373924523592, 0.0078071486204862595, 0.0046524349600076675, 0.02598494477570057, 0.04285114258527756, -0.013641191646456718, 0.08761312067508698, 0.03240085020661354, -0.029171323403716087, -0.029969628900289536, 0.01611836813390255, -0.023074932396411896, -0.00043062970507889986, -0.0130404531955719, -0.024105677381157875, -0.008859005756676197, -0.07011224329471588, -0.021698392927646637, 0.011407878249883652, -0.02936684340238571, -0.028287868946790695, 0.028414251282811165, 0.0323454774916172, -0.0655272901058197, 0.020537693053483963, -0.026999734342098236, 0.044793568551540375, -0.03324487805366516, -0.007678410969674587, 0.014200304634869099, 0.00880489218980074, 0.015202323906123638, -0.01750130206346512, -0.00022939706104807556, -0.05377896502614021, -0.021461907774209976, -0.005952008534222841, 0.026862120255827904, 0.08154556900262833, 0.006376034580171108, -0.0001177454978460446 ]
[ -0.10144936293363571, -0.02102535218000412, -0.02882191352546215, -0.05582134425640106, 0.004792494233697653, -0.04889623820781708, 0.007581688929349184, 0.016129400581121445, 0.0027087072376161814, -0.025454532355070114, 0.010359453968703747, -0.045950859785079956, -0.021137641742825508, -0.0035470060538500547, 0.10338642448186874, -0.0072223651222884655, -0.015215602703392506, -0.037774670869112015, 0.026051027700304985, 0.0349791944026947, 0.020461278036236763, -0.06059032306075096, -0.048887256532907486, -0.02603703737258911, 0.005313986446708441, 0.037894658744335175, 0.0029515197966247797, -0.03873554244637489, 0.03227600082755089, -0.20708893239498138, 0.030285822227597237, 0.007163568865507841, 0.012267050333321095, -0.02106059342622757, 0.00844935979694128, 0.051165271550416946, 0.037477362900972366, 0.04332690313458443, 0.010486382059752941, 0.03309604525566101, 0.014544648118317127, 0.020690878853201866, -0.0480017326772213, -0.04548751562833786, 0.017496289685368538, 0.023093068972229958, 0.00955936685204506, -0.0339055135846138, -0.007304965052753687, 0.0021184091456234455, -0.03051484189927578, -0.02258051373064518, -0.00800129771232605, 0.00633540702983737, -0.02344309166073799, 0.02063777670264244, 0.03165287524461746, 0.06967956572771072, 0.008458946831524372, 0.008083085529506207, -0.0014886040007695556, -0.0422043576836586, -0.1427229940891266, 0.09204084426164627, 0.0417235866189003, 0.05781220272183418, -0.02240857109427452, -0.03293148800730705, -0.002872062847018242, 0.07559691369533539, 0.029403693974018097, -0.003899853676557541, -0.0051178219728171825, 0.028062032535672188, 0.020675621926784515, 0.006837168242782354, 0.009499658830463886, 0.029068507254123688, 0.0349108949303627, -0.042797502130270004, -0.05573146045207977, -0.016632050275802612, -0.0022438967134803534, 0.006653785705566406, -0.06627843528985977, 0.02519632689654827, 0.004959066864103079, 0.02665489912033081, 0.04173201322555542, 0.04009959101676941, 0.027581755071878433, -0.003372590057551861, 0.047012850642204285, 0.01235191524028778, -0.0838908776640892, 0.02587348036468029, -0.02955815941095352, -0.018654892221093178, -0.06018340215086937, 0.4374854862689972, -0.01911577396094799, -0.03039967454969883, 0.05293498560786247, 0.017276857048273087, -0.0005736362654715776, 0.0398002527654171, 0.004981463309377432, -0.05287899821996689, 0.018759513273835182, -0.03552533686161041, 0.011763600632548332, 0.02968013659119606, 0.030460184440016747, -0.044982511550188065, -0.02253447286784649, 0.00980547908693552, 0.017308322712779045, 0.0008834680775180459, -0.013572904281318188, 0.013066166080534458, -0.009743559174239635, 0.027237139642238617, 0.01644197478890419, 0.018589748069643974, -0.014345959760248661, -0.034864865243434906, 0.028362169861793518, 0.046724509447813034, 0.0052270470187067986, 0.0056198975071311, 0.04997900500893593, -0.047784265130758286, -0.06529093533754349, -0.017765244469046593, 0.017864152789115906, 0.017847271636128426, 0.02615053951740265, -0.046219006180763245, -0.013441941700875759, 0.04295780882239342, 0.010976608842611313, 0.00922408513724804, 0.03938436135649681, -0.056226518005132675, -0.037184104323387146, 0.12124529480934143, 0.022160455584526062, -0.016414575278759003, -0.014795668423175812, -0.023163404315710068, -0.0051590376533567905, 0.026461169123649597, -0.005169393494725227, -0.07224546372890472, 0.014399104751646519, 0.03201597183942795, 0.0822964757680893, -0.0005227953079156578, -0.061466678977012634, -0.019143573939800262, -0.014759310521185398, -0.007849865593016148, -0.047910671681165695, 0.035697344690561295, 0.039569612592458725, -0.12298301607370377, -0.05811900272965431, 0.004514944739639759, 0.03277064487338066, -0.05674499273300171, -0.04728972911834717, 0.0530124194920063, -0.008260981179773808, -0.014418438076972961, 0.06238516420125961, 0.0018367543816566467, -0.05325007066130638, -0.005337500013411045, 0.052705317735672, 0.03131289780139923, -0.013687822967767715, 0.023990757763385773, -0.02165982313454151, -0.014751818031072617, -0.021996144205331802, -0.0681191012263298, -0.03329683840274811, 0.0038029327988624573, -0.020373107865452766, -0.026643967255949974, -0.0414547473192215, 0.007277779281139374, -0.0916980504989624, 0.094894640147686, -0.014921922236680984, -0.039120323956012726, 0.015130801126360893, -0.026254450902342796, -0.028715340420603752, 0.005225827917456627, -0.025118917226791382, 0.05247127637267113, -0.011861721985042095, 0.0418085902929306, -0.06049457937479019, 0.06820853799581528, 0.0348249226808548, -0.03280370309948921, 0.06863868981599808, 0.053697772324085236, -0.033865757286548615, -0.02422315627336502, 0.01792396418750286, 0.023256268352270126, 0.011324329301714897, -0.00972849503159523, -0.002435732400044799, 0.03914535790681839, 0.004036411177366972, -0.005410009995102882, -0.014357097446918488, 0.02106548473238945, -0.022447600960731506, -0.33928102254867554, -0.03537411615252495, -0.013229417614638805, -0.010775744915008545, 0.005615434609353542, -0.04358658567070961, 0.017198817804455757, -0.013318420387804508, -0.022654302418231964, -0.028510460630059242, 0.1111951395869255, 0.011374604888260365, 0.005498165730386972, -0.09025558829307556, -0.0008281571790575981, 0.01673012599349022, -0.05284246802330017, -0.04053853824734688, -0.049909647554159164, -0.010692109353840351, -0.0011453324696049094, 0.0204878319054842, 0.007013686932623386, -0.05414417013525963, 0.0007414728170260787, -0.04677833244204521, 0.09153088182210922, -0.027045652270317078, 0.0832737535238266, -0.038186486810445786, 0.052284255623817444, 0.017030037939548492, 0.01984870433807373, -0.10398243367671967, -0.00999793317168951, -0.02697339467704296, -0.012413786724209785, -0.00826847180724144, 0.058882035315036774, -0.005871124565601349, -0.048392828553915024, 0.023592211306095123, -0.06516709178686142, -0.062412723898887634, -0.03504420816898346, -0.0012867114273831248, -0.029326269403100014, -0.021228734403848648, -0.03230809420347214, 0.05805022642016411, 0.007764801383018494, -0.026812948286533356, 0.012866336852312088, 0.03441489487886429, -0.008788549341261387, -0.0406324677169323, -0.07268146425485611, 0.01215769536793232, 0.012886371463537216, 0.010853469371795654, 0.04300828278064728, 0.07689812034368515, 0.033689066767692566, -0.04871778562664986, 0.008212216198444366, -0.01062176562845707, 0.0003475288103800267, 0.012826906517148018, 0.0283853430300951, -0.0674326941370964, -0.008778993971645832, 0.09906212985515594, -0.01451985351741314, 0.022939538583159447, 0.03617754206061363, 0.03353230282664299, -0.00034705601865425706, 0.014571381732821465, -0.0006879562279209495, -0.013845175504684448, -0.00791127234697342, -0.03086160495877266, 0.0014362361980602145, -0.03803679719567299, 0.02269662544131279, 0.020145142450928688, -0.01650395803153515, -0.005254609975963831, 0.02355826459825039, -0.006490502506494522, 0.0010497758630663157, 0.014021534472703934, -0.022260621190071106, -0.07595879584550858, 0.06898826360702515, -0.002136761089786887, -0.25210633873939514, 0.017038529738783836, 0.06830472499132156, 0.04806939512491226, -0.009684143587946892, 0.013145120814442635, 0.01655294932425022, -0.02519962005317211, -0.002008959883823991, -0.0021811944898217916, 0.050482746213674545, 0.0048615336418151855, 0.010210412554442883, 0.020362162962555885, 0.032992903143167496, -0.024766545742750168, 0.05930909141898155, -0.04288169741630554, 0.027281593531370163, -0.026852311566472054, 0.008185630664229393, -0.00040473073022440076, 0.17728206515312195, 0.004372928291559219, 0.05760308727622032, 0.010005736723542213, 0.014149940572679043, 0.009195064194500446, 0.047705382108688354, 0.037804897874593735, -0.007884446531534195, 0.0005480331601575017, 0.04186014086008072, 0.007066820748150349, 0.034676339477300644, -0.08018758893013, 0.017245544120669365, 0.019363388419151306, 0.0290010254830122, 0.024654803797602654, -0.006273955572396517, 0.019430626183748245, -0.01983337104320526, 0.05077802762389183, 0.06913673877716064, 0.02073984593153, -0.019030854105949402, -0.036266591399908066, -0.02859291434288025, -0.024585099890828133, -0.02188156172633171, -0.05456990376114845, 0.01846945844590664, -0.0063207391649484634, 0.016354486346244812, 0.08072738349437714, 0.001778290024958551, -0.03915323689579964, -0.026235351338982582, 0.027908219024538994, 0.01832512952387333, 0.0024419971741735935, 0.10490408539772034, 0.023841891437768936, 0.029336173087358475 ]
[ -0.06088411808013916, 0.027244001626968384, 0.007936254143714905, -0.008248882368206978, -0.02423112839460373, 0.0023698643781244755, 0.01619727537035942, 0.02513195015490055, -0.0012678444618359208, 0.0003151355776935816, -0.008136308752000332, 0.006052727345377207, 0.024626407772302628, -0.02483096532523632, 0.04543844982981682, -0.008928387425839901, 0.023586561903357506, 0.017443209886550903, 0.031777795404195786, 0.034896232187747955, -0.010314732789993286, 0.03741126507520676, -0.008078929036855698, 0.010685195215046406, -0.01020070817321539, 0.005427026655524969, -0.0009465276380069554, -0.0447944775223732, 0.004044451285153627, -0.11610591411590576, -0.007470773532986641, -0.020580705255270004, -0.0004929687129333615, -0.01652737520635128, -0.03464563563466072, 0.026134205982089043, 0.08256523311138153, 0.040108729153871536, -0.010714428499341011, -0.00680529372766614, -0.023883121088147163, -0.0011310739209875464, 0.003187528345733881, 0.024144956842064857, 0.010127218440175056, 0.0009337470401078463, -0.002212118823081255, -0.051877424120903015, 0.00734119676053524, -0.012515261769294739, -0.03374077007174492, -0.026125317439436913, 0.010403351858258247, -0.00040818823617883027, 0.013055911287665367, -0.03034060075879097, 0.01861925981938839, -0.009030565619468689, -0.008416084572672844, -0.00011164940951857716, -0.027462979778647423, -0.03429107740521431, -0.026832379400730133, -0.025626368820667267, 0.04605720192193985, -0.012424405664205551, -0.01947925239801407, -0.008729824796319008, -0.0043737334199249744, -0.0061276135966181755, -0.005125176161527634, 0.014411299489438534, -0.008027787320315838, -0.017425280064344406, -0.01797480694949627, 0.021058320999145508, 0.027822379022836685, -0.009463152848184109, 0.007542204111814499, -0.02634519338607788, -0.03885439410805702, 0.017919456586241722, 0.010867753066122532, 0.01854209415614605, -0.012003175914287567, 0.00396904069930315, 0.008291034959256649, -0.018586501479148865, 0.0015629586996510625, 0.010977315716445446, -0.014884223230183125, 0.04960336163640022, -0.004639786202460527, -0.011623695492744446, -0.05199672654271126, -0.003180408151820302, -0.03514824062585831, -0.017820904031395912, -0.018242640420794487, 0.8627265095710754, -0.012140229344367981, 0.034995853900909424, 0.05553674325346947, 0.010228151455521584, 0.026152798905968666, -0.02443145029246807, -0.007297656498849392, -0.0008483701967634261, -0.007717614993453026, -0.023710014298558235, 0.02326779253780842, 0.0012289867736399174, 0.012422900646924973, 0.04034006968140602, 0.022760212421417236, 0.017036711797118187, -0.0007404554635286331, -0.05587078630924225, -0.045492250472307205, 0.02397983707487583, 0.0174252949655056, -0.00259927730076015, -0.011986488476395607, -0.027386296540498734, 0.0009994391584768891, -0.16468778252601624, 0.01923740655183792, -9.211980416041697e-33, -0.0004120869853068143, -0.004729733802378178, 0.04084360972046852, 0.04326825588941574, 0.032574087381362915, -0.00684445770457387, 0.019420485943555832, 0.02960185520350933, 0.01153807807713747, -0.002119882497936487, -0.011357218958437443, -0.014351231046020985, 0.023386932909488678, 0.012560167349874973, 0.02238517813384533, -0.042843662202358246, -0.02432013861835003, 0.02690778858959675, -0.005015816073864698, -0.007430833764374256, 0.018331658095121384, 0.005911359563469887, -0.01571008190512657, -0.007526144850999117, 0.04149414598941803, 0.015861328691244125, 0.01764744520187378, 0.010395110584795475, -0.01335989311337471, -0.049072276800870895, 0.011526975780725479, 0.041911691427230835, -0.005441003479063511, 0.011656940914690495, 0.030727429315447807, -0.05497486889362335, 0.008443080820143223, 0.01677909679710865, -0.05608062446117401, -0.051690783351659775, -0.00519738532602787, -0.009051673114299774, -0.04147886484861374, 0.049125317484140396, -0.03552946448326111, -0.004526123870164156, 0.005126893054693937, -0.011088700965046883, 0.037590496242046356, 0.002844870323315263, 0.006089398637413979, 0.0388101302087307, -0.019356951117515564, 0.014465054497122765, -0.01151116844266653, -0.005718312691897154, -0.030999114736914635, 0.02441863715648651, -0.010791968554258347, -0.004427058156579733, 0.013002187944948673, -0.0000018818798253050772, -0.005095526110380888, 0.0056160916574299335, -0.008768941275775433, -0.028944900259375572, -0.00476059690117836, -0.009100561961531639, 0.02693895250558853, -0.004730318207293749, -0.008992879651486874, 0.009550856426358223, -0.013503269292414188, 0.011135273613035679, -0.0016480162739753723, 0.014755384996533394, 0.027595452964305878, 0.03629947081208229, 0.0020616287365555763, 0.012776696123182774, -0.00453528854995966, 0.011609618552029133, -0.006718860939145088, -0.011253301054239273, -0.02698463387787342, -0.0010296287946403027, 0.028602639213204384, -0.009836099110543728, -0.010026238858699799, 0.017413482069969177, 0.00382487871684134, 0.011514843441545963, -0.01155799813568592, -0.0008779944619163871, -0.04617716372013092, 9.081089854761604e-33, 0.017559953033924103, -0.04944108799099922, -0.0066504343412816525, -0.008340482600033283, 0.03591673821210861, 0.019966620951890945, -0.006042114924639463, 0.004415307193994522, -0.05037495866417885, 0.026238275691866875, -0.0025512061547487974, 0.02013225667178631, -0.01958119496703148, 0.06856536865234375, 0.037126511335372925, -0.018583476543426514, 0.026908747851848602, -0.03281285986304283, 0.023593436926603317, 0.016286801546812057, 0.008891559205949306, 0.009939868003129959, 0.03254333510994911, -0.009996176697313786, 0.008322593756020069, 0.04918438568711281, -0.046378254890441895, 0.008269643411040306, 0.0030187100637704134, -0.014930393546819687, 0.008463595062494278, -0.012078247033059597, 0.02858632430434227, -0.03181253373622894, -0.033579010516405106, 0.009843699634075165, -0.007812791503965855, 0.0069732810370624065, 0.013707412406802177, -0.0041023376397788525, 0.00427329633384943, -0.027094203978776932, 0.005184902809560299, -0.011382064782083035, 0.01433681882917881, -0.032727327197790146, 0.0022779409773647785, -0.033167313784360886, -0.02311289869248867, 0.045274388045072556, 0.009798986837267876, -0.015502664260566235, 0.02900487184524536, 0.04037900269031525, 0.008120808750391006, -0.001021706615574658, 0.011482683941721916, -0.04187406226992607, 0.0004509872815106064, 0.0029297275468707085, 0.016227763146162033, 0.003853222820907831, -0.019592968747019768, 0.01325134001672268, -0.03816107660531998, 0.0029841645155102015, 0.014735622331500053, 0.002873708726838231, -0.014264157973229885, -0.0006505189812742174, -0.033194754272699356, -0.03029794432222843, 0.012544848024845123, 0.0471021942794323, 0.017100486904382706, -0.025269536301493645, -0.005970384925603867, -0.031245876103639603, -0.004376841709017754, -0.020877903327345848, -0.012759584002196789, -0.03315986320376396, 0.022710418328642845, -0.0004446833045221865, -0.031376104801893234, -0.033358391374349594, -0.0007161512621678412, -0.02229979634284973, 0.019555436447262764, -0.008993440307676792, -0.026595570147037506, -0.026088908314704895, -0.01885194145143032, 0.006289497949182987, -0.00031366763869300485, -1.4111365409519294e-8, 0.009608684107661247, 0.028259502723813057, 0.012073658406734467, 0.031680572777986526, 0.022504182532429695, -0.004941111896187067, -0.043737124651670456, -0.027253422886133194, -0.02286331169307232, 0.02803163416683674, -0.00556383328512311, -0.009545186534523964, 0.004730937071144581, -0.026759980246424675, 0.02903600037097931, -0.05515193194150925, -0.03465823829174042, 0.002607388189062476, 0.028937650844454765, 0.005392512306571007, 0.006153822876513004, 0.05230971798300743, 0.013332092203199863, 0.011688746511936188, 0.016416020691394806, 0.029761962592601776, 0.008376896381378174, -0.07176987826824188, 0.012173707596957684, 0.013594521209597588, 0.00022125142277218401, -0.003476574318483472, -0.032943982630968094, -0.007711208891123533, -0.03478756919503212, -0.014385847374796867, -0.0007220430998131633, 0.006759007927030325, 0.010016130283474922, 0.006729773245751858, 0.011842725798487663, -0.01047744695097208, 0.0008179867872968316, -0.018786203116178513, 0.004749904852360487, 0.009779202751815319, -0.03243035823106766, 0.019272370263934135, 0.028144804760813713, -0.007770609576255083, -0.005249654874205589, 0.01371573656797409, 0.03776726499199867, 0.0370158776640892, 0.016274603083729744, -0.0063614691607654095, 0.03906119614839554, -0.04938777908682823, -0.0024722896050661802, 0.01885981671512127, 0.027080953121185303, 0.01963631808757782, -0.018802881240844727, -0.03688167408108711 ]
set-based-concurrent-engineering-a-simple-example
https://markhneedham.com/blog/2009/09/19/set-based-concurrent-engineering-a-simple-example
false
2009-09-26 17:16:34
The Duct Tape Programmer: Some thoughts
[ "software-development", "duct-tape-programmer" ]
[ "Software Development" ]
I just came across quite an insightful post by Jak Charlton titled 'http://devlicio.us/blogs/casey/archive/2009/09/25/ship-it-or-ship-out.aspx[Ship it or Ship out]' in which he talks about the importance of shipping the software we work on, referring to Joel's recent post 'http://www.joelonsoftware.com/items/2009/09/23.html[The Duct Tape Programmer]'. == Unit testing When I first read Joel's post I didn't really like it because it seems to downplay the role of unit testing when coding, something which I believe is quite important from my experience of software development so far. What didn't quite make sense to me is that Joel has released the http://stackoverflow.com/[StackOverflow] website and it seems to work reasonably well and from my brief use of it I haven't seen any glaring errors which might indicate a lack of quality. Having read Jak's post and some of the comments on his post it seems to me that perhaps the situations in which I work and which Joel describes are just different to each other and that neither of our approaches is inherently good or bad. FriedBob sums this up quite nicely in the http://devlicio.us/blogs/casey/archive/2009/09/25/ship-it-or-ship-out.aspx#comments[comments section]: ____ What it boils down to is that you can't make a blanket statement about an sort of programming practice and say this is the best way every time every situation. You have to use the best tool and approach for the job, and every situation is different. You have to find a balance between "duct tape programming", structured tool/framework based coding, code quality, shipping date and maintainability. Find the right mix, and you won't really have to make any significant sacrifices in any of these areas. ____ In the type of work I do we typically have a team with multiple developers working together on something and I think the approach to coding in this environment needs to be slightly different to what it might be if you were working alone for example. When I'm working alone I often just hack things together because I'm generally learning new things and it's pretty much throwaway code that noone else will ever need to understand. The problem with this approach comes about when you want to http://www.markhneedham.com/blog/2009/07/20/coding-quick-feedback/[make changes to the code] - if it's been written in a rushed/hacky fashion then it can be really difficult to remember why you did it that way and having unit tests can help in this case. If the code never needs to be changed then the value of having these tests is reduced to giving us quick feedback on whether or not our code does what we expect it to. In the projects I work on *we need to change the code all the time and in this case tests are also quite useful for giving us the ability to do this* while providing a degree of confidence that we haven't broken something else. In fact typically it might be someone other than the original writer of the code who needs to make changes so the tests can also give them some idea of what the code is supposed to be doing. When working on code alone this type of knowledge would be in your head. When working on a team we need to find some way of expressing this so that our team mates don't need to talk to us every time they want to make a change to the code. Since I work on code bases with many other people and we want to frequently change our code as we discover better ways of doing things or the business changes their requirements we need some sort of safety net to allow us to do that - unit tests are part of that safety net. Perhaps Joel doesn't have any of those and that's why he doesn't need the safety net. Uncle Bob has also http://blog.objectmentor.com/articles/2009/09/24/the-duct-tape-programmer[written a post where he addresses this] and points out that writing unit tests doesn't necessarily slow us down. == Business/Developer alignment Jak's observation on how the business and developers are fundamentally not aligned is quite astute: ____ And we know that better code will be easier to maintain - and developers HATE bug fixing duty, so we want to ensure we don't have to do much of it. To a developer, the most important factor in any project is Quality, followed by Time (because we know our bosses will be mad if we miss our deadlines), but we are happy to slip Functionality because it matters little to us if a new feature isn't included in the release. ____ I've actually observed that while that might be true for some developers, in general there seems to be an almost unspoken desire to get story points on the board instead of taking a bit more time to ensure that the code we write now won't hinder our ability to deliver functionality that we need to write, perhaps as soon as the next iteration. I've written a http://www.markhneedham.com/blog/2009/09/16/coding-watch-out-for-mutable-code/[couple of] http://www.markhneedham.com/blog/2009/09/25/tdd-it-makes-you-question-what-youre-doing/[posts] recently where I describe the struggle a colleague and I have had working with code that was written in a rushed fashion. Personally I find myself getting very demotivated when we end up just hacking code together to get it done as quickly as possible and I think Jak is spot on in identifying that the reason for this is that I know the code is going to be more difficult to maintain in the future when we take this approach. I can certainly see the benefit in hacking some code in if we are near to a release and don't want to risk rewriting a whole chunk of code just to design it well but in normal development time I prefer to take the time to write something that will be reasonably easy to work with in the future. I think there is some benefit to the business in knowing about this trade off since if we keep on compromising on the quality of what we're writing to get more features in it will eventually become very difficult to add these in a timely manner at which stage we will look quite stupid. == Overall It's quite interesting to hear different opinions on ways to deliver software since everyone seems to do this slightly differently to each other. Even though I don't think I'll be changing the way I approach software development these posts have certainly made me think more about my favoured approach and why we do the things we do.
null
null
[ 0.02495734579861164, 0.00007863761857151985, -0.002274927916005254, 0.058615926653146744, 0.08864712715148926, 0.026670174673199654, 0.01834503747522831, 0.05204025283455849, 0.014709153212606907, -0.04658016189932823, -0.029514659196138382, -0.005647862795740366, -0.07036937028169632, 0.014665156602859497, -0.041742902249097824, 0.08196742087602615, 0.05837692320346832, -0.008696629665791988, 0.03920730948448181, 0.008588513359427452, 0.024986978620290756, 0.060972727835178375, -0.003782392479479313, 0.01353711448609829, 0.018577495589852333, 0.01174403540790081, -0.00592623557895422, 0.006113457027822733, -0.079255610704422, -0.020785244181752205, 0.05070054531097412, -0.00040155136957764626, 0.003117632819339633, -0.01126971933990717, 0.006002031732350588, -0.009362995624542236, -0.02896811254322529, 0.03159653767943382, 0.0037833561655133963, 0.003190714167430997, -0.058640215545892715, 0.040538955479860306, -0.0013182369293645024, -0.011296316049993038, -0.05638663098216057, 0.00960188452154398, -0.02055092714726925, -0.0013798808213323355, 0.0010032537393271923, -0.015724364668130875, -0.05970253422856331, 0.033568356186151505, -0.017342668026685715, 0.0020076397340744734, -0.008931610733270645, 0.052600257098674774, 0.016549497842788696, -0.047617748379707336, 0.003245441010221839, -0.05760108679533005, 0.006826586555689573, -0.010505400598049164, 0.014245145954191685, 0.040850162506103516, 0.04198240116238594, -0.04012095928192139, -0.008878217078745365, 0.04091878980398178, -0.03245527669787407, 0.004123257473111153, 0.0007554207695648074, 0.00793382152915001, -0.00599207729101181, -0.027501853182911873, 0.024213062599301338, -0.04031001776456833, -0.009840123355388641, 0.06237831711769104, 0.005905247293412685, 0.05836465582251549, -0.01626725308597088, 0.022490017116069794, 0.0156667772680521, 0.015328790061175823, -0.010501651093363762, -0.03254372626543045, 0.013417127542197704, -0.005113143939524889, -0.0609990730881691, 0.0630498006939888, 0.015495283529162407, -0.052362654358148575, 0.06178361922502518, 0.025902163237333298, 0.009809632785618305, 0.028649477288126945, 0.009627929888665676, 0.01936986669898033, -0.0027738516218960285, -0.019184526056051254, -0.03872748836874962, -0.022482892498373985, 0.012897265143692493, -0.00443918677046895, -0.0806783065199852, -0.020024511963129044, -0.0013773370301350951, -0.015171893872320652, -0.007834064774215221, 0.007168200332671404, -0.01676436886191368, 0.02494947612285614, -0.022081047296524048, 0.00885789655148983, -0.06775431334972382, 0.06832730025053024, -0.011233795434236526, -0.05504563823342323, -0.014991081319749355, 0.0014906463911756873, 0.04440746456384659, 0.034166641533374786, -0.01441259030252695, 0.08420445770025253, 0.023078780621290207, 0.019306791946291924, -0.014957394450902939, 0.05654890090227127, -0.008048010058701038, -0.06757417321205139, -0.014871065504848957, 0.047779519110918045, -0.04440297558903694, -0.004685068968683481, 0.0067654820159077644, -0.012295395135879517, 0.0029619995038956404, 0.014893889427185059, 0.02332770638167858, 0.040898438543081284, -0.025544386357069016, -0.02908826433122158, 0.010380997322499752, 0.021934352815151215, 0.008853940293192863, 0.016910500824451447, -0.011797445826232433, -0.03243367001414299, -0.04212365671992302, 0.008186498656868935, 0.013968144543468952, 0.029105739668011665, 0.01571449264883995, -0.043599631637334824, 0.031108753755688667, 0.05870969966053963, 0.025475502014160156, 0.021211229264736176, -0.023106863722205162, 0.02038581483066082, 0.03253363072872162, 0.023671386763453484, 0.027083951979875565, 0.012416348792612553, -0.008624128997325897, -0.0031164672691375017, 0.012049335055053234, 0.03388786315917969, -0.0008636498241685331, 0.01540538389235735, -0.058574579656124115, -0.043581075966358185, 0.06127437204122543, -0.04728209599852562, -0.018382221460342407, 0.04214673489332199, 0.08695860207080841, 0.025709940120577812, 0.04730871692299843, -0.013229013420641422, -0.08200609683990479, 0.028194384649395943, 0.006454932503402233, 0.014870951883494854, 0.018748607486486435, -0.023546351119875908, 0.0660475492477417, 0.005789111368358135, -0.007733765058219433, 0.04223804175853729, -0.07679950445890427, -0.11262793093919754, -0.016577625647187233, -0.018922852352261543, 0.05769626423716545, -0.033834755420684814, -0.02247590944170952, 0.06464996933937073, 0.00384648609906435, 0.04992332682013512, 0.028624659404158592, 0.016059182584285736, 0.003154941601678729, -0.05366106703877449, -0.05180154740810394, 0.05443482846021652, 0.05469395965337753, 0.006508895196020603, -0.0649319440126419, 0.018383678048849106, -0.006975725293159485, -0.02488367259502411, 0.04633544757962227, -0.03096676617860794, 0.0520450733602047, 0.021251384168863297, 0.05950655788183212, -0.02527342364192009, 0.0578826367855072, -0.0570448637008667, 0.01355771254748106, -0.0024735000915825367, -0.012478340417146683, 0.014163082465529442, 0.02114073373377323, 0.10233898460865021, 0.06262533366680145, -0.0410042367875576, -0.03317323327064514, 0.005095536820590496, 0.033885255455970764, -0.031572937965393066, -0.026622887700796127, -0.004571528639644384, -0.006582038477063179, -0.0023345407098531723, -0.05750147998332977, -0.034933317452669144, 0.021396981552243233, -0.02830280363559723, 0.008064609952270985, 0.07501479983329773, -0.015508928336203098, 0.04743152856826782, -0.01431976817548275, -0.017828606069087982, -0.012805643491446972, -0.024821840226650238, -0.04681283235549927, 0.013872426003217697, 0.006824562791734934, 0.002800228074193001, 0.05092437192797661, -0.027808066457509995, -0.028340261429548264, -0.032954540103673935, -0.0461077019572258, 0.020447999238967896, 0.04371693357825279, 0.05586165189743042, -0.016326718032360077, 0.05683266371488571, 0.00953839160501957, 0.025450794026255608, 0.0159625131636858, -0.05489719659090042, -0.05139058455824852, -0.01826079748570919, 0.015872549265623093, 0.06047314777970314, 0.008035499602556229, 0.01495259627699852, 0.011228199116885662, 0.0045080934651196, -0.011038929224014282, -0.0028893868438899517, 0.01688506454229355, 0.001844680984504521, -0.010566492564976215, -0.03078383207321167, -0.018261337652802467, 0.03749791905283928, -0.029841409996151924, -0.021489160135388374, 0.0021542527247220278, -0.07510053366422653, 0.05081712454557419, -0.08029898256063461, -0.035032179206609726, -0.0033860979601740837, 0.016749998554587364, 0.024570338428020477, -0.014539074152708054, 0.04073917120695114, 0.08326714485883713, 0.00030247567337937653, 0.011077591218054295, -0.000022551488655153662, -0.0014407485723495483, 0.020206546410918236, 0.013490362092852592, -0.012153024785220623, 0.03087395615875721, -0.0004650418704841286, -0.01095430925488472, -0.046570952981710434, 0.0410369336605072, -0.022083325311541557, -0.3065042197704315, 0.041935428977012634, -0.005160371772944927, -0.041884176433086395, 0.02546081505715847, 0.0007059706258587539, 0.005027316976338625, -0.04727456718683243, -0.021387895569205284, 0.021337764337658882, -0.042322710156440735, -0.03978094086050987, -0.02177133597433567, 0.04106040298938751, 0.011526062153279781, 0.01841840147972107, 0.03756796196103096, -0.025674516335129738, 0.0119098499417305, 0.0385405495762825, -0.012056021951138973, -0.05141696333885193, 0.015620766207575798, 0.03424835577607155, 0.044245947152376175, 0.044394589960575104, -0.0914200097322464, 0.060190629214048386, -0.0547342523932457, 0.014796345494687557, -0.004645815584808588, 0.007715722545981407, -0.011944319121539593, -0.039080191403627396, -0.028564950451254845, -0.021249933168292046, 0.03666619583964348, 0.015422136522829533, 0.0013191758189350367, 0.006608000490814447, -0.016940072178840637, -0.03220256417989731, -0.025656742975115776, -0.012620354071259499, 0.0667942464351654, -0.011575688607990742, -0.07055269926786423, 0.001904334407299757, -0.022596625611186028, 0.07706144452095032, -0.018330125138163567, -0.033203139901161194, -0.01112238597124815, 0.04435010999441147, -0.007245290093123913, -0.03217019885778427, -0.01509197149425745, -0.02972397953271866, -0.04381280019879341, -0.034329045563936234, 0.00041172740748152137, -0.028661370277404785, -0.01907188817858696, -0.032040998339653015, 0.01756812073290348, -0.053421974182128906, -0.058317236602306366, -0.024905923753976822, 0.07758281379938126, -0.008779188618063927, -0.013896238058805466, 0.02202417142689228, 0.010622542351484299, -0.10394711047410965, 0.01402982696890831, -0.004229069221764803, -0.024814864620566368, -0.012282328680157661, 0.021533336490392685, 0.04338826984167099, -0.02725599892437458, -0.05329735949635506, 0.052449796348810196, 0.0062584360130131245, 0.001280523487366736, -0.027919551357626915, 0.04485443979501724, 0.03750687465071678, -0.029007920995354652, 0.008113356307148933, 0.07826517522335052, -0.0016977045452222228, -0.021442366763949394, -0.029747091233730316, 0.031675826758146286, 0.0017924228450283408, 0.02809889428317547, -0.01026021409779787, 0.014284415170550346, 0.03265778347849846, -0.012447141110897064, -0.07178585231304169, 0.025328749790787697, -0.027436768636107445, 0.018114471808075905, -0.020176900550723076, -0.040374238044023514, 0.005813703406602144, 0.03893120214343071, 0.03363712131977081, 0.0000473155414510984, -0.03226032108068466, 0.004046414513140917, -0.05100928992033005, -0.0334000326693058, -0.01137569360435009, 0.020048996433615685, 0.02807540073990822, -0.01106018852442503, -0.01127096451818943, -0.023046934977173805, 0.0042680432088673115, -0.016470180824398994, 0.007881944067776203, -0.07278221100568771, -0.03029256872832775, -0.018933091312646866, -0.017996279522776604, 0.02232593111693859, 0.023326613008975983, -0.031082022935152054, 0.04235469177365303, 0.020055485889315605, -0.056838300079107285, 0.013045582920312881, -0.022381491959095, -0.05885109305381775, -0.02422594279050827, 0.004805991891771555, 0.005719491746276617, 0.020315593108534813, 0.02193531207740307, -0.004391066264361143, 0.01722189411520958, 0.04641406238079071, 0.025161918252706528, 0.02181900665163994, -0.0032845353707671165, 0.024878576397895813, -0.0041975234635174274, -0.0051168533973395824, -0.08641072362661362, 0.024373676627874374, -0.03208759427070618, -0.04996786266565323, -0.030180782079696655, 0.04436113312840462, 0.0019205898279324174, -0.03730878233909607, -0.0065043033100664616, 0.01954203099012375, -0.052837956696748734, -0.046469781547784805, -0.03902411088347435, 0.03851088508963585, 0.06065649539232254, -0.03019525669515133, 0.03557561710476875, -0.0225495845079422, -0.014481541700661182, 0.003951200284063816, 0.03744746744632721, -0.038235168904066086, -0.0006946003995835781, 0.012428101152181625, 0.0038402520585805178, -0.02752576395869255, -0.020394625142216682, 0.05505694821476936, 0.02220848947763443, 0.010387352667748928, -0.03116328828036785, 0.004006314557045698, 0.02501833625137806, 0.03818659856915474, 0.0111628333106637, 0.020643750205636024, -0.018614908680319786, -0.017009569332003593, -0.007435315288603306, -0.05237509310245514, -0.0057763149961829185, 0.008658059872686863, 0.0568157434463501, -0.04899170249700546, -0.08147010207176208, 0.051925137639045715, 0.034607257694005966, 0.015443282201886177, 0.02852814830839634, 0.004470919258892536, 0.0051579964347183704, -0.032760780304670334, 0.03569409251213074, 0.054449621587991714, -0.055979494005441666, 0.006346292793750763, -0.0025790329091250896, 0.012089794501662254, -0.002672378206625581, -0.01017100177705288, -0.03985083848237991, -0.03028816357254982, -0.02401602827012539, -0.0034332736395299435, -0.06724965572357178, -0.011952170170843601, -0.00038983637932688, 0.019324949011206627, -0.012759627774357796, -0.03490331768989563, -0.027187375351786613, -0.02174736186861992, -0.005097600165754557, -0.024513496086001396, 0.045485708862543106, -0.03258036822080612, -0.010693135671317577, 0.01158464327454567, -0.04229799285531044, 0.01032242365181446, -0.03561536595225334, 0.003737508784979582, 0.035941123962402344, -0.02532353810966015, -0.008192536421120167, -0.030092013999819756, -0.008320484310388565, -0.008313201367855072, 0.03926509991288185, -0.012713927775621414, -0.036337241530418396, -0.009073331020772457, -0.023994581773877144, -0.04592084884643555, 0.008006453514099121, -0.017451535910367966, -0.008902426809072495, 0.023507969453930855, 0.06011135131120682, 0.027740297839045525, 0.028292180970311165, -0.005067677702754736, -0.009445970878005028, 0.05258193612098694, -0.0635664239525795, -0.03322729840874672, -0.022179022431373596, -0.05820590630173683, 0.004607961978763342, 0.001771373557858169, 0.028871621936559677, -0.03514300286769867, 0.048346396535634995, 0.029212111607193947, 0.02991240844130516, 0.0354694239795208, 0.011866710148751736, 0.02098824456334114, -0.07402550429105759, 0.009807690046727657, -0.07129917293787003, 0.04010571911931038, 0.029667338356375694, 0.01458192989230156, -0.00940759014338255, 0.01116544846445322, -0.04109756648540497, 0.042425487190485, -0.05973600596189499, -0.02035323530435562, 0.035132527351379395, -0.01312708854675293, -0.01642523519694805, 0.0034084455110132694, -0.06605560332536697, 0.014196541160345078, 0.025219861418008804, -0.03483420982956886, -0.025046775117516518, -0.014127957634627819, 0.06092749536037445, -0.0019080821657553315, 0.023338060826063156, -0.05058868229389191, -0.012695426121354103, 0.05619703605771065, 0.003994593396782875, 0.01145195309072733, 0.04324650764465332, -0.020609745755791664, 0.0329706072807312, 0.043426744639873505, 0.013048648834228516, -0.019646933302283287, 0.0059840683825314045, 0.004417944233864546, -0.04777064546942711, 0.026762811467051506, 0.033737968653440475, -0.040536992251873016, -0.02663317508995533, 0.04474800452589989, 0.012426013126969337, -0.024629324674606323, -0.056933071464300156, 0.02068348042666912, -0.05954403802752495, 0.0039351158775389194, -0.020529353991150856, -0.012496350333094597, -0.053559157997369766, 0.04166625440120697, 0.004679616075009108, -0.0009063194738700986, 0.06706800311803818, 0.013622354716062546, -0.027744950726628304, -0.009345142170786858, 0.08378159999847412, 0.07942661643028259, 0.04211051017045975, 0.003546958789229393, 0.05004099756479263, -0.030689897015690804, -0.0313408337533474, 0.03215601667761803, -0.003969216253608465, -0.014869406819343567, -0.014764749445021152, 0.0009563460480421782, 0.04160347953438759, 0.01608770713210106, 0.06607392430305481, -0.01803908683359623, -0.010289838537573814, -0.0008210317464545369, 0.019601095467805862, 0.012880168855190277, 0.0723881646990776, 0.008502556011080742, 0.007428035605698824, -0.011442678980529308, -0.060698091983795166, 0.022649049758911133, -0.04859844967722893, -0.024321401491761208, 0.028618406504392624, -0.011875410564243793, 0.006424558348953724, -0.0013450965052470565, 0.01274830661714077, 0.07448945939540863, -0.04191946983337402, 0.026241784915328026, -0.0048240371979773045, 0.0470212958753109, -0.009317136369645596, 0.017462119460105896, -0.0283594261854887, -0.02675875835120678, -0.0067669362761080265, -0.02736910991370678, 0.00044484861427918077, -0.018374232575297356, 0.00487039890140295, 0.053277503699064255, -0.019606079906225204, -0.00504913367331028, 0.04778356850147247, 0.003010515123605728, -0.016610654070973396, -0.0648706778883934, -0.024180062115192413, -0.04109344631433487, -0.0607370063662529, -0.04491182789206505, 0.014818579889833927, 0.0046959309838712215, -0.015714040026068687, 0.005317243747413158, -0.030618036165833473, -0.027445530518889427, 0.05404852330684662, -0.05416528135538101, -0.02448461763560772, 0.024058567360043526, 0.026373928412795067, 0.03375524654984474, 0.027067095041275024, 0.02799241617321968, -0.013003706000745296, -0.016696540638804436, -0.03140566125512123, 0.014352849684655666, 0.02429616078734398, -0.000008610532859165687, 0.007910558953881264, -0.09191619604825974, 0.030490227043628693, 0.03703863546252251, 0.013497425243258476, -0.06956609338521957, 0.015593373216688633, 0.0000053426037993631326, -0.029516490176320076, 0.06235453486442566, -0.021298669278621674, 0.030459566041827202, -0.03832020238041878, -0.008202273398637772, -0.020961863920092583, 0.011757020838558674, 0.04621100798249245, -0.025951668620109558, 0.07304175943136215, 0.01993832364678383, -0.02157752402126789, -0.04639623686671257, -0.013650425709784031, 0.010191716253757477, 0.005316594149917364, -0.010600949637591839, -0.039702631533145905, -0.01189244445413351, -0.06893976777791977, -0.026172034442424774, 0.017336642369627953, -0.003214622614905238, -0.03365757316350937, 0.026709213852882385, 0.022135159000754356, -0.0379229374229908, 0.002461235038936138, -0.0321960374712944, 0.03671818599104881, -0.029753468930721283, -0.010320725850760937, -0.006101912818849087, 0.03470707684755325, -0.0059165917336940765, -0.014660644344985485, 0.024036798626184464, -0.05079853534698486, 0.010853759944438934, 0.015778111293911934, 0.028424598276615143, 0.050716664642095566, 0.018888644874095917, -0.012449923902750015 ]
[ -0.0757080689072609, -0.005103728733956814, 0.003944263327866793, -0.05298098549246788, 0.03649689629673958, -0.07940112054347992, -0.01776052638888359, 0.028065137565135956, -0.03842274099588394, -0.016810854896903038, 0.007734470535069704, -0.010971376672387123, -0.009424082934856415, -0.01637520268559456, 0.05506409704685211, -0.002353707328438759, -0.004118373617529869, -0.0563618429005146, 0.02341657690703869, 0.008643186651170254, 0.022235680371522903, -0.04310980066657066, -0.06710150092840195, -0.05582766607403755, 0.017217116430401802, 0.03397144749760628, 0.009347524493932724, -0.05367434397339821, 0.008165393024682999, -0.18537284433841705, -0.008154402486979961, 0.024390123784542084, 0.018034299835562706, -0.026642903685569763, 0.023869723081588745, 0.03808971121907234, 0.04101915657520294, 0.001237825257703662, -0.0011332117719575763, 0.02154938504099846, -0.0030312063172459602, 0.027340270578861237, -0.058865781873464584, -0.03522844985127449, 0.029789583757519722, 0.013474429957568645, 0.011307484470307827, -0.05459892377257347, -0.0020000464282929897, 0.0470874197781086, -0.04962119460105896, -0.024490144103765488, -0.01978616788983345, -0.030715687200427055, -0.01687759719789028, 0.012171239592134953, 0.03705654665827751, 0.05611490458250046, -0.013728618621826172, 0.02146013453602791, 0.0031965149100869894, -0.032904963940382004, -0.13883563876152039, 0.09036871045827866, 0.08420132845640182, 0.03811463713645935, -0.04944072663784027, -0.02593136765062809, -0.021229887381196022, 0.08792277425527573, 0.006775215733796358, -0.03371517360210419, -0.04800039902329445, 0.06761664152145386, 0.0360129289329052, 0.010064349509775639, 0.022427178919315338, 0.04437079653143883, 0.023688867688179016, -0.03702931851148605, -0.040883563458919525, -0.025043610483407974, -0.027324281632900238, -0.004143375437706709, -0.056807275861501694, 0.011831751093268394, 0.008179111406207085, 0.055241942405700684, 0.060590699315071106, 0.009917584247887135, 0.0533108115196228, -0.00382265099324286, 0.0364200621843338, 0.008722816593945026, -0.07275070995092392, -0.02015962451696396, 0.0022004609927535057, -0.0018636550521478057, -0.07328007370233536, 0.4299619197845459, -0.014979762025177479, -0.04478932544589043, 0.08827545493841171, 0.027760392054915428, -0.021136438474059105, 0.019476870074868202, 0.02543051913380623, -0.03855061158537865, -0.01999499276280403, -0.04825878143310547, 0.008771253749728203, 0.04037293419241905, 0.038291290402412415, -0.024575427174568176, 0.00599048612639308, 0.04184091463685036, -0.004620100371539593, 0.015261427499353886, 0.013549230992794037, -0.016222933307290077, -0.006716359406709671, 0.010513107292354107, 0.0315718799829483, 0.0010331927333027124, -0.02689989097416401, -0.0471302829682827, 0.03369176387786865, 0.05608433857560158, 0.009351931512355804, -0.00212869537062943, 0.06264811754226685, -0.04975191131234169, -0.03837575390934944, 0.008152984082698822, 0.013124068267643452, 0.013400527648627758, 0.04336850345134735, -0.0021322397515177727, -0.018195556476712227, 0.06237488612532616, -0.003825574414804578, 0.0042649745009839535, 0.03570893779397011, -0.027963044121861458, -0.044742461293935776, 0.071283720433712, 0.03678234666585922, -0.013399719260632992, -0.012815655209124088, -0.050972651690244675, -0.012633323669433594, 0.023228002712130547, 0.008215409703552723, -0.06983177363872528, 0.04477207362651825, 0.014714240096509457, 0.06965740025043488, -0.007737940177321434, -0.08267678320407867, 0.006833258084952831, 0.004283803515136242, -0.02274881862103939, -0.04739044979214668, 0.048982683569192886, 0.05026578903198242, -0.09921367466449738, -0.008191983215510845, 0.022165028378367424, 0.04900256544351578, -0.04886193200945854, -0.007706588599830866, 0.033222924917936325, -0.0241229347884655, -0.0177152156829834, 0.023486874997615814, -0.04908706620335579, -0.02707243524491787, 0.0225566066801548, 0.050344426184892654, 0.014777439646422863, 0.019085250794887543, 0.024204064160585403, -0.020797928795218468, -0.004231061786413193, -0.013285040855407715, -0.07029332220554352, -0.052186693996191025, 0.005715431645512581, -0.04857043921947479, -0.01003747247159481, -0.03638023883104324, -0.02069873921573162, -0.09364085644483566, 0.10181073099374771, -0.016931084915995598, -0.012158341705799103, 0.013511087745428085, -0.014570730738341808, -0.035246774554252625, -0.03114372305572033, -0.017875095829367638, 0.013526774011552334, -0.016734300181269646, 0.03530341759324074, -0.05332876741886139, 0.06826271116733551, 0.04766363278031349, -0.0638512447476387, 0.04967117682099342, 0.07352127134799957, -0.023974258452653885, -0.037284329533576965, 0.03131388500332832, 0.02570490352809429, 0.006667235400527716, -0.020058654248714447, 0.014711642637848854, 0.036682140082120895, -0.0026844535022974014, 0.03464113920927048, -0.023560700938105583, 0.01782630756497383, -0.015036085620522499, -0.35294613242149353, -0.025701839476823807, -0.014129449613392353, 0.032025791704654694, 0.01783193275332451, -0.06647652387619019, 0.01698361337184906, 0.017245838418602943, -0.03292912617325783, -0.002327404683455825, 0.10453192889690399, -0.02983951009809971, 0.016887057572603226, -0.09337478876113892, -0.004868615884333849, -0.0003090469690505415, -0.04737392067909241, -0.013711007311940193, -0.038236722350120544, 0.020553072914481163, -0.012637380510568619, 0.002539346693083644, -0.026975104585289955, -0.05302533879876137, -0.009712154045701027, -0.051233552396297455, 0.10178209841251373, -0.02676471136510372, 0.11729634553194046, -0.016399770975112915, 0.02625701017677784, 0.004441228695213795, 0.05795137956738472, -0.10522790253162384, 0.009868296794593334, -0.003781326115131378, 0.006601278204470873, -0.009885824285447598, 0.026436610147356987, 0.002234402811154723, -0.05656079202890396, 0.005106048192828894, -0.04180935397744179, -0.027762828394770622, -0.04873122274875641, -0.017177239060401917, -0.03830656409263611, -0.018937766551971436, -0.05189337208867073, 0.06513439118862152, -0.010782552883028984, -0.008706199936568737, -0.008469028398394585, 0.015819184482097626, 0.012980107218027115, -0.037572652101516724, -0.04977875575423241, 0.00815123226493597, 0.006785470061004162, 0.009153811261057854, 0.04464158043265343, 0.05316552892327309, 0.02616586536169052, -0.032157693058252335, -0.00854522455483675, 0.021005529910326004, 0.010063868947327137, 0.016070256009697914, 0.03774389997124672, -0.018761824816465378, -0.01018452737480402, 0.10152849555015564, -0.023276684805750847, -0.03178640082478523, 0.005770382471382618, 0.025054175406694412, -0.0063477433286607265, 0.0367494635283947, 0.026366297155618668, -0.03659454733133316, 0.011147688142955303, -0.007406170945614576, 0.04024675488471985, -0.020112253725528717, 0.012409470044076443, 0.03877170383930206, -0.03561166301369667, -0.032637737691402435, 0.06774210929870605, 0.016081901267170906, -0.046328168362379074, -0.0013748768251389265, -0.007471028715372086, -0.044589463621377945, 0.06654255837202072, 0.008942345157265663, -0.24744822084903717, -0.0045176055282354355, 0.05891609936952591, 0.05815090239048004, -0.03426578640937805, 0.040583543479442596, 0.03248235583305359, -0.05129729211330414, 0.005680240225046873, 0.019192790612578392, 0.004736435133963823, 0.024953890591859818, -0.0009464356699027121, -0.020768174901604652, 0.06834868341684341, 0.014882096089422703, 0.06623034924268723, -0.001963417511433363, 0.028154749423265457, -0.01037093810737133, -0.013474681414663792, -0.012466692365705967, 0.14962686598300934, 0.018839320167899132, 0.026012372225522995, 0.014081912115216255, 0.010350584983825684, 0.027604330331087112, 0.07620381563901901, 0.025483040139079094, 0.012010697275400162, 0.009108541533350945, 0.031623583287000656, -0.008197343908250332, 0.0018796053482219577, -0.0711570531129837, -0.014075776562094688, 0.040143709629774094, 0.019709346815943718, -0.0152971800416708, 0.0026745465584099293, -0.022811954841017723, 0.004882149863988161, 0.012399897910654545, 0.06992751359939575, 0.030935058370232582, -0.031436242163181305, -0.0674164816737175, -0.04361332580447197, -0.027091210708022118, -0.04834263026714325, -0.028612272813916206, 0.01889587938785553, -0.013904227875173092, 0.026951363310217857, 0.07696621119976044, 0.0035715987905859947, -0.041397761553525925, -0.026738014072179794, 0.012753038667142391, -0.003637708490714431, -0.030085451900959015, 0.09539645165205002, 0.062436047941446304, 0.051995206624269485 ]
[ -0.006818643771111965, -0.0213322751224041, 0.005527373868972063, 0.007004008162766695, 0.0002288943069288507, 0.0022657832596451044, -0.004054076969623566, 0.012902609072625637, -0.031791843473911285, -0.014639090746641159, -0.005261762533336878, 0.02797987125813961, 0.033916302025318146, -0.01105315238237381, 0.02477463334798813, -0.014765352010726929, -0.011654714122414589, -0.027746235951781273, 0.03219500929117203, -0.004424287937581539, -0.01930142194032669, 0.007953532040119171, 0.00526336207985878, 0.002466867445036769, -0.015937890857458115, 0.006345370784401894, -0.01761331968009472, -0.009288394823670387, 0.014095107093453407, -0.1479770988225937, -0.03471609205007553, -0.009272611699998379, 0.0052292803302407265, 0.004487807396799326, 0.034704919904470444, 0.010355581529438496, 0.033397380262613297, 0.007573477923870087, -0.021956974640488625, 0.002289797645062208, 0.0022217677906155586, -0.003847152693197131, 0.0170113667845726, 0.013587575405836105, -0.027546249330043793, -0.009687653742730618, -0.0023210104554891586, -0.05744160711765289, 0.002898247679695487, -0.006099263671785593, -0.03807005286216736, -0.029248470440506935, -0.009657069109380245, -0.0031198645010590553, 0.033350516110658646, -0.0017676656134426594, 0.05000454559922218, -0.02141914889216423, 0.006373206153512001, -0.02711104415357113, 0.00612890999764204, 0.022533006966114044, -0.04832353815436363, -0.010614856146275997, 0.0005059285322204232, -0.024951336905360222, 0.01120689231902361, 0.027360564097762108, -0.035771578550338745, 0.011030222289264202, -0.03825235366821289, 0.01139216311275959, -0.02925797551870346, 0.018017161637544632, 0.0406486876308918, 0.015976959839463234, 0.010638308711349964, 0.013488641008734703, 0.026577025651931763, 0.009990721009671688, -0.05961320176720619, 0.028088470920920372, -0.008975421078503132, -0.0021427934989333153, -0.047740302979946136, 0.007712319027632475, 0.04573029279708862, 0.01884276792407036, 0.028104571625590324, 0.035324107855558395, -0.016758734360337257, 0.038557019084692, -0.010097253136336803, 0.0026816094759851694, -0.08195903152227402, -0.01881404221057892, -0.01912045106291771, 0.014186238870024681, -0.017048392444849014, 0.8552997708320618, 0.008943604305386543, 0.01530108880251646, 0.030652491375803947, -0.02768302522599697, -0.015500444918870926, 0.008571186102926731, 0.0199316143989563, -0.02108844369649887, 0.012044163420796394, -0.05331956222653389, 0.006804212462157011, 0.02335984632372856, -0.0004949423600919545, -0.014292539097368717, 0.043758243322372437, 0.01074856799095869, 0.02568615786731243, 0.016939811408519745, 0.00043555599404498935, 0.012142893858253956, 0.03977731242775917, 0.015242521651089191, 0.020291605964303017, 0.024199314415454865, 0.006751849316060543, -0.17545898258686066, 0.0146967563778162, -8.75840269646547e-33, 0.0323541983962059, -0.005632780492305756, -0.013095016591250896, -0.004785772878676653, 0.01743651181459427, -0.006487671285867691, 0.04179109260439873, 0.06387623399496078, -0.030172375962138176, -0.005138098727911711, -0.020427821204066277, -0.034840986132621765, -0.007799871731549501, 0.01620844379067421, 0.01529094111174345, -0.016299068927764893, 0.010845757089555264, 0.023739108815789223, 0.005113381892442703, 0.01346577424556017, 0.026969024911522865, 0.010694917291402817, -0.0051936493255198, -0.004362035077065229, 0.03775038570165634, -0.002628348534926772, 0.010610916651785374, 0.02123258449137211, -0.018882175907492638, -0.03228676691651344, -0.026357172057032585, 0.03428952023386955, -0.024544784799218178, 0.0049002207815647125, -0.00699556665495038, -0.028978850692510605, -0.042072709649801254, -0.0019195980858057737, -0.048636432737112045, -0.012071719393134117, -0.022491034120321274, -0.0023237799759954214, -0.03751436620950699, 0.015606219880282879, 0.015931665897369385, 0.008434467017650604, 0.005061418749392033, -0.029102202504873276, 0.03321889787912369, -0.008325000293552876, 0.009830273687839508, 0.02456500008702278, 0.018927382305264473, -0.014492636546492577, -0.00888813566416502, 0.018906306475400925, 0.02043917030096054, 0.0074362484738230705, -0.011634943075478077, 0.01502939872443676, -0.0048685516230762005, -0.00285022403113544, -0.016005760058760643, 0.04643414542078972, -0.004721611272543669, 0.014082791283726692, 0.02337360382080078, -0.00867313239723444, 0.015068678185343742, -0.019786085933446884, -0.0726948082447052, -0.0061722551472485065, -0.00946201290935278, -0.024358663707971573, -0.002054246375337243, -0.009266587905585766, 0.021450500935316086, 0.009427211247384548, -0.0008535633678548038, 0.016068965196609497, -0.02405516989529133, -0.01742299273610115, -0.0003190481511410326, -0.04126840829849243, -0.0010247899917885661, 0.002646256471052766, 0.03639998286962509, 0.016139136627316475, -0.017615308985114098, 0.03678499162197113, 0.021406643092632294, 0.01888502575457096, 0.012231836095452309, -0.019974367693066597, -0.008972076699137688, 8.620345293065208e-33, -0.02634063921868801, -0.009600336663424969, -0.0304271187633276, -0.001644978066906333, -0.00941229797899723, 0.008387298323214054, 0.034983620047569275, 0.0016785886837169528, -0.06342948228120804, 0.03931856527924538, -0.01786978356540203, -0.04841550067067146, -0.03882507607340813, 0.03606295958161354, 0.021924549713730812, -0.020110229030251503, 0.024841587990522385, -0.036160659044981, 0.038047678768634796, 0.001102846348658204, 0.024403786286711693, 0.018002182245254517, 0.01750568300485611, 0.00494769774377346, 0.017937002703547478, 0.03973580524325371, -0.03499006852507591, 0.038302429020404816, 0.006157138850539923, -0.0048820930533111095, 0.02254081331193447, -0.00456260284408927, 0.02099866420030594, -0.0008201739983633161, -0.02801373414695263, 0.007830005139112473, -0.0273936465382576, 0.00040955073200166225, 0.020194215700030327, 0.009999169036746025, -0.007037262432277203, -0.007638000883162022, -0.0007269400521181524, 0.00856629665941, -0.011837472207844257, 0.0015621127095073462, -0.011696715839207172, -0.030820880085229874, -0.0031232289038598537, 0.011764136143028736, -0.009590310044586658, 0.013065946288406849, 0.007509313523769379, -0.009574221447110176, 0.002535013249143958, -0.006225856486707926, -0.02883787453174591, -0.00011318902397761121, 0.0000922841572901234, 0.014205208979547024, -0.0015408043982461095, -0.00478842668235302, -0.0076639410108327866, 0.0029083380941301584, -0.01556907594203949, -0.014424323104321957, 0.043549004942178726, 0.004266818054020405, -0.049154892563819885, 0.008906114846467972, -0.015703339129686356, 0.029303081333637238, 0.012764480896294117, 0.045084595680236816, -0.022968869656324387, -0.023771226406097412, -0.03576850891113281, -0.004448665305972099, -0.053797025233507156, 0.04223380982875824, -0.005219592712819576, -0.012513319030404091, -0.011669849045574665, 0.02622891776263714, -0.02806464582681656, 0.00577526492998004, 0.030917180702090263, 0.03644737973809242, 0.014610189944505692, -0.012219706550240517, 0.01739165186882019, -0.015408570878207684, -0.03807903081178665, -0.016033438965678215, -0.021654587239027023, -1.4002933923507044e-8, 0.0006851640064269304, 0.008670341223478317, -0.03512267768383026, 0.007358564995229244, -0.008798818103969097, 0.015674356371164322, -0.02117443084716797, -0.009749576449394226, -0.027231687679886818, 0.030143605545163155, 0.03933755308389664, -0.02745855040848255, -0.012902816757559776, 0.0421941801905632, 0.028755635023117065, -0.04410234093666077, -0.04373147711157799, 0.006574590690433979, 0.02186473459005356, -0.02130700834095478, 0.030401449650526047, 0.06297560781240463, -0.01706075109541416, 0.023656850680708885, -0.011338700540363789, 0.015256977640092373, -0.0011143072042614222, -0.035249385982751846, 0.01780899241566658, 0.0005157467094250023, 0.021163400262594223, -0.016577905043959618, -0.0448879636824131, 0.021109433844685555, -0.025495918467640877, -0.023241711780428886, 0.04505999758839607, 0.007247263099998236, 0.014222060330212116, 0.031049232929944992, -0.028399493545293808, 0.007443423382937908, -0.02020851895213127, -0.032197341322898865, -0.0001980442029889673, 0.005705961957573891, -0.030444247648119926, -0.01798385940492153, -0.013536580838263035, -0.024680448696017265, 0.04423872381448746, -0.017840417101979256, 0.0038392047863453627, 0.035176441073417664, 0.04588381573557854, 0.018027352169156075, -0.016108904033899307, -0.03631233051419258, -0.03909694775938988, 0.008533570915460587, -0.006557710934430361, 0.010174840688705444, 0.004540019668638706, -0.029111741110682487 ]
the-duct-tape-programmer-some-thoughts
https://markhneedham.com/blog/2009/09/26/the-duct-tape-programmer-some-thoughts
false
2009-09-21 22:49:49
TDD: Tests that give us a false confidence of coverage
[ "tdd" ]
[ "Testing" ]
During J.B. Rainsberger's presentation at Agile 2009 titled 'http://www.infoq.com/presentations/integration-tests-scam[Integration tests are a scam]' he suggests that having lots of integrationt tests covering our code can give us a false sense of confidence that we are testing our code and I think the same can happen with unit tests as well if we're not careful how we write them. It's important to ensure that our unit tests are actually testing something useful otherwise the cost of writing and maintaining them will outweigh the benefits that we derive from doing so. I've come across two type of test recently which don't test an awful lot but can lead us to thinking our code is well covered at the unit level if we just glance at the test names and don't take the time to examine exactly what's going on which is what seems to happen a lot of the time. == Only testing for 'IsNotNull' I think testing that a value we want to do some assertions against isn't null is a great start since it can help us avoid null reference exceptions in our tests but it's only the first assertion that we want to make, not the only one! The name of these tests is nearly always misleading and it often seems like these tests are a work in progress but one which never gets finished. The following is not unusual: [source,csharp] ---- [Test] public void ShouldPopulateParentModelOnAction() { var someController = new SomeController(...); // There'd probably be more casting to actually retrieve the actual model // but we'll ignore that for the sake of this example var parentModel = someController.SomeAction(); Assert.IsNotNull(parentModel); } ---- The problem I have with this type of test is that the name suggests we have completely tested that the controller action is correctly populating the model but in reality all we're testing is that we got a model and not that its contents are accurate. It's surprisingly easy when skimming through tests to not even notice that this is the case. The danger we're toying with by doing this is that others might assume that this area of the code is tested and subsequently do refactorings around this code assuming that the tests are providing a safety net when in actual fact they aren't. Certainly sometimes 'IsNotNull' is all we care about and in those cases it's fine just to test for that but I think that most of the time it's just a lazy way out of properly testing a piece of code. == Testing expectations on stubs I'm not sure if this is just a Rhino Mocks problem but I've come across quite a few tests recently which make expectations on stubs and then sometimes verify those expectations. Most of the time the creation of the stubbed dependency is hidden away in a setup method so the tests wouldn't be quite as clear cut as this but this is what's happening: [source,csharp] ---- [Test] public void ShouldRetrieveSomeValuesFromTheRepository() { var theRepository = MockRepository.GenerateStub<ITheRepository>(); theRepository.Expect(r => r.SomeMethod()).Return("someValue"); var systemUnderTest = new SystemUnderTest(theRepository); systemUnderTest.DoSomething(); } ---- or [source,csharp] ---- [Test] public void ShouldRetrieveSomeValuesFromTheRepository() { var theRepository = MockRepository.GenerateStub<ITheRepository>(); theRepository.Expect(r => r.SomeMethod()).Return("someValue"); var systemUnderTest = new SystemUnderTest(theRepository); systemUnderTest.DoSomething(); theRepository.VerifyAllExpectations(); } ---- The problem with both of these tests is that they aren't doing anything useful for us. From http://www.markhneedham.com/blog/2009/07/28/reading-code-rhino-mocks/[my understanding of the Rhino Mocks code] what we are effectively doing is creating a stub on 'theRepository' which will return a value of 'someValue' the first time that 'SomeMethod' is called on it. The 'VerifyAllExpectations just falls through and does nothing because we've created a stub and not a mock. We could just as easily not call any method on the system under test and we'd still get a green bar. If we intend to test the way that the system under test interacts with its dependencies then we want to make sure we've actually created a mock and then ensure that we check that the expectations have actually been called. The test above could become a bit more like this for that purpose: [source,csharp] ---- [Test] public void ShouldRetrieveSomeValuesFromTheRepository() { var theRepository = MockRepository.GenerateMock<ITheRepository>(); theRepository.Expect(r => r.SomeMethod()).Return("someValue"); var systemUnderTest = new SystemUnderTest(theRepository); systemUnderTest.DoSomething(); theRepository.VerifyAllExpectations(); } ---- == In summary I've previously just ignored tests like this and just got on with what I was doing but I think it's important to try and clean them up so that they can make a greater contribution to our testing efforts - Uncle Bob's Boy Scout Rule applies here - leave the tests in a better state than you found them. That way we can move towards having justifiable confidence that we can make changes to our code without fear that we've broken some piece of functionality.
null
null
[ 0.00008351315773325041, -0.03310412913560867, -0.037182267755270004, 0.06982120126485825, 0.07243537902832031, -0.018284985795617104, 0.044701967388391495, 0.03725767880678177, 0.002376044634729624, -0.020258788019418716, -0.019402343779802322, 0.0049965474754571915, -0.06889742612838745, 0.02697720192372799, -0.04692975804209709, 0.07319609820842743, 0.06729333847761154, -0.01145198568701744, 0.05586973577737808, -0.00788858812302351, 0.0036203404888510704, 0.05582725256681442, 0.008458535186946392, 0.048742301762104034, 0.04150829091668129, 0.00197974918410182, 0.026806334033608437, -0.010939468629658222, -0.06998144835233688, -0.010102019645273685, 0.022958895191550255, 0.024688057601451874, 0.011761059053242207, -0.025181297212839127, -0.006362909451127052, -0.021378666162490845, -0.002879631007090211, 0.02341182343661785, 0.00017217524873558432, -0.0005384174291975796, -0.08911984413862228, 0.02703617326915264, -0.004021469969302416, -0.005833792500197887, -0.014093405567109585, -0.021804841235280037, -0.02865493856370449, -0.0005268981331028044, -0.02641400508582592, -0.006535037886351347, -0.06130116805434227, 0.03828240931034088, -0.04877914860844612, 0.013425104320049286, -0.016122808679938316, 0.05411051958799362, -0.007844124920666218, -0.08724424988031387, 0.031302209943532944, -0.08146596699953079, 0.002828296273946762, -0.00940388161689043, -0.009792606346309185, 0.04121485352516174, 0.046883199363946915, -0.018960939720273018, 0.00718755554407835, 0.043730445206165314, -0.028078114613890648, -0.005131412763148546, -0.005591969005763531, 0.01864084042608738, -0.030753185972571373, -0.014003961347043514, 0.01741529442369938, -0.039232995361089706, -0.016637835651636124, 0.03452799469232559, 0.04323514923453331, 0.05020648241043091, -0.012228334322571754, 0.004498136695474386, 0.05615529790520668, 0.014114037156105042, 0.0005322245415300131, -0.050054557621479034, 0.0024046041071414948, 0.010261581279337406, -0.019350163638591766, 0.047646570950746536, 0.03086947835981846, -0.040765952318906784, 0.03013351745903492, 0.024214301258325577, -0.029732055962085724, -0.008329191245138645, 0.029956910759210587, -0.004438241012394428, 0.001923152944073081, 0.0002958493132609874, -0.0077654109336435795, 0.007774868980050087, 0.030236385762691498, 0.012168120592832565, -0.08099322021007538, 0.006421634927392006, -0.028028573840856552, -0.04155529662966728, -0.0052427747286856174, 0.03129706159234047, -0.06030550226569176, 0.020463278517127037, -0.03132346272468567, -0.026767775416374207, -0.07117434591054916, 0.05269048735499382, 0.0022360915318131447, -0.002273774007335305, 0.0019935930613428354, 0.03033352456986904, 0.03890009969472885, 0.013483354821801186, -0.012084023095667362, 0.06134641915559769, 0.010829051025211811, 0.03571576252579689, -0.03706802427768707, 0.05786072835326195, -0.005409751087427139, -0.05994268134236336, -0.01598449796438217, 0.042718105018138885, 0.007058607880026102, -0.024194220080971718, 0.018859373405575752, -0.030638160184025764, -0.01195907685905695, 0.01273573562502861, 0.014760646037757397, 0.032577116042375565, -0.039966288954019547, -0.02441752701997757, 0.03407169505953789, 0.0068085151724517345, -0.0074129607528448105, 0.011652332730591297, -0.027339182794094086, -0.007353059947490692, -0.03234582766890526, 0.04400838911533356, 0.014220166951417923, 0.06479405611753464, 0.023685326799750328, -0.0383111797273159, 0.02432948350906372, 0.06817576289176941, -0.008279445581138134, -0.009362295269966125, 0.01340058259665966, 0.041198935359716415, 0.054210811853408813, 0.032691437751054764, 0.03122285194694996, 0.0487864725291729, 0.030345335602760315, -0.007356408517807722, -0.01994330994784832, 0.03137291967868805, -0.01035156100988388, -0.013679753988981247, -0.06317030638456345, -0.054299209266901016, 0.05105775222182274, -0.05310659855604172, 0.0003165279049426317, 0.05103312060236931, 0.07005509734153748, -0.018130533397197723, 0.04947962239384651, 0.025517867878079414, -0.07357009500265121, 0.02317129075527191, 0.00926858652383089, 0.013659657910466194, 0.015614001080393791, 0.006214564200490713, 0.055630337446928024, 0.025179626420140266, -0.029073650017380714, 0.029371049255132675, -0.06958798319101334, -0.07067254185676575, -0.017003459855914116, -0.018965892493724823, 0.062468551099300385, -0.016450680792331696, -0.014134782366454601, 0.08336597681045532, 0.008962273597717285, 0.025540294125676155, 0.02896621637046337, -0.008482884615659714, 0.00019102339865639806, -0.030345650389790535, -0.03889627382159233, 0.04169197380542755, 0.058578010648489, 0.007272487506270409, -0.06770928204059601, -0.019667724147439003, -0.019952092319726944, 0.012696167454123497, 0.05554751306772232, -0.014709917828440666, 0.03189583495259285, -0.0038240652065724134, 0.031144356355071068, -0.03464227914810181, 0.08683522045612335, -0.0734390839934349, 0.010348797775804996, -0.01860046572983265, -0.006021805573254824, -0.03568505495786667, -0.008708741515874863, 0.10688376426696777, 0.0408402755856514, -0.03239120915532112, -0.040830932557582855, 0.017354600131511688, 0.021119888871908188, -0.035340577363967896, 0.006532806903123856, -0.0357644148170948, 0.006472702603787184, -0.022439580410718918, -0.036356501281261444, -0.01371079683303833, 0.011407610960304737, -0.015706531703472137, 0.036537498235702515, 0.08181502670049667, -0.016861483454704285, 0.06201642379164696, -0.005526627413928509, -0.018670685589313507, -0.0012231268920004368, -0.024420728906989098, -0.06460190564393997, 0.009263711981475353, 0.030998189002275467, -0.0024689254350960255, 0.04214446619153023, -0.04039248451590538, -0.037637051194906235, -0.009036170318722725, -0.046664346009492874, -0.0013130158185958862, 0.01893843710422516, 0.0823889896273613, 0.033759623765945435, 0.05225662142038345, -0.020816465839743614, 0.020852407440543175, -0.00334359472617507, -0.03238538280129433, -0.009341541677713394, 0.0005653119296766818, -0.011061618104577065, 0.02715478464961052, 0.008349742740392685, -0.0011406127596274018, 0.027313103899359703, -0.004345080815255642, -0.01429018471390009, -0.002064826898276806, 0.012250037863850594, 0.03682733327150345, -0.01969343051314354, -0.0029608244076371193, -0.06138710677623749, 0.039566922932863235, -0.03565742447972298, -0.02411816455423832, 0.021984297782182693, -0.08229292929172516, 0.04147617891430855, -0.04697481170296669, -0.05915246903896332, -0.0177919939160347, 0.040633201599121094, 0.016337253153324127, -0.004625557456165552, 0.03132358938455582, 0.06505087018013, 0.031025832518935204, 0.02371917851269245, 0.021545549854636192, -0.006133661605417728, 0.0295069869607687, 0.0067660510540008545, -0.02947833389043808, 0.02437078207731247, -0.005888842511922121, 0.01634513959288597, -0.03150113299489021, 0.046074435114860535, -0.02482147328555584, -0.26850542426109314, 0.04567115381360054, -0.001725456677377224, -0.050791122019290924, 0.023794030770659447, -0.03582931309938431, 0.018172087147831917, -0.04418550804257393, -0.02897809073328972, 0.08490055799484253, -0.0507780946791172, -0.03280436620116234, -0.025897813960909843, 0.040124304592609406, -0.0029022234957665205, -0.00404666643589735, 0.017235074192285538, -0.0102727971971035, 0.03662361949682236, 0.05626390129327774, -0.005231581628322601, -0.058342643082141876, 0.015607469715178013, 0.054995518177747726, 0.05054502934217453, 0.04335278272628784, -0.07794696092605591, 0.0650625079870224, -0.02983614057302475, 0.0014593566302210093, -0.0033118168357759714, -0.017291497439146042, -0.013069015927612782, -0.05212851241230965, -0.03490026295185089, -0.0028112572617828846, -0.008826369419693947, 0.03323479741811752, -0.017685700207948685, 0.03207212686538696, -0.028978411108255386, -0.056694742292165756, 0.00969803798943758, 0.006851975340396166, 0.05428239330649376, -0.02358441799879074, -0.06480954587459564, 0.0021523244213312864, -0.029620422050356865, 0.07405539602041245, -0.046126317232847214, -0.004647460300475359, 0.010611713863909245, 0.050325531512498856, -0.06129191443324089, -0.03810618445277214, 0.009283073246479034, -0.012184594757854939, -0.058261528611183167, -0.002329278038814664, -0.04587634652853012, -0.04115498065948486, -0.026859134435653687, -0.03637455403804779, -0.010760083794593811, -0.06411652266979218, -0.052547574043273926, -0.025297677144408226, 0.06637584418058395, -0.011284949257969856, -0.014228291809558868, -0.00429159589111805, 0.003928354475647211, -0.11826442927122116, 0.0008264398784376681, -0.037945203483104706, -0.03663616254925728, -0.04491714760661125, -0.018494516611099243, 0.0422145314514637, -0.03771130368113518, -0.06030969321727753, 0.04791083186864853, -0.01967719756066799, 0.01744796708226204, 0.019107036292552948, 0.020032426342368126, 0.016750706359744072, -0.00925945769995451, 0.009579740464687347, 0.06480397284030914, -0.005414131563156843, -0.011848811991512775, -0.03429407253861427, 0.009983611293137074, 0.03480987623333931, 0.031977329403162, -0.014438740909099579, 0.0193974319845438, 0.01683076098561287, 0.0005715228035114706, -0.04610581696033478, 0.034166958183050156, -0.038855232298374176, 0.018183305859565735, -0.04411390423774719, -0.05744597315788269, 0.03324780613183975, 0.029904842376708984, 0.007843280211091042, -0.007806806825101376, -0.02404708042740822, -0.006777208764106035, -0.04796828702092171, -0.051337964832782745, -0.01855374500155449, -0.0026236618869006634, 0.022752469405531883, -0.041173625737428665, -0.04616047441959381, -0.05347861722111702, 0.02228827215731144, 0.01537049375474453, 0.004953463561832905, -0.05469661206007004, -0.04644579067826271, -0.007701903581619263, -0.0008969063637778163, -0.006769630592316389, 0.00864112563431263, 0.00016846194921527058, 0.052065104246139526, 0.0036261898931115866, -0.04406684264540672, 0.003488655434921384, 0.0118339192122221, -0.030041862279176712, -0.021527450531721115, -0.020449167117476463, -0.023924900218844414, -0.0137016074731946, 0.007277422584593296, 0.011794907972216606, 0.024888958781957626, 0.01981094852089882, -0.011607763357460499, 0.04383202642202377, -0.013109882362186909, -0.006050793919712305, 0.02432636171579361, 0.04219602793455124, -0.09343918412923813, 0.027521498501300812, -0.007289827335625887, -0.028776900842785835, -0.03815298154950142, 0.03863411396741867, -0.03715323284268379, -0.03645690158009529, -0.047605376690626144, 0.013367537409067154, -0.040625642985105515, -0.02291887067258358, -0.035344578325748444, 0.04661821573972702, 0.07413138449192047, -0.002041370840743184, 0.013606581836938858, -0.002552155638113618, -0.023441610857844353, 0.0012719827936962247, -0.0128522589802742, -0.017054574564099312, 0.027577921748161316, -0.004372643772512674, 0.005461759865283966, -0.0050946795381605625, -0.014640165492892265, 0.041075315326452255, 0.016302015632390976, 0.017305314540863037, -0.022123320028185844, 0.02013269066810608, -0.003319438314065337, 0.03697524592280388, -0.004190671257674694, -0.018646299839019775, -0.011434536427259445, -0.028235947713255882, -0.012117004953324795, -0.06109442934393883, -0.022552793845534325, -0.010442017577588558, 0.025164363905787468, -0.04390976205468178, -0.0803888738155365, 0.04008853808045387, 0.006457327865064144, 0.017117269337177277, 0.0081211281940341, 0.020321447402238846, -0.010038080625236034, -0.013521159999072552, 0.012728077359497547, 0.07196225970983505, -0.05278095602989197, -0.01270994171500206, 0.00709306076169014, -0.017168423160910606, 0.02797197923064232, 0.004547583870589733, -0.033424098044633865, -0.03288153186440468, 0.0045914314687252045, -0.01492319442331791, -0.03625408560037613, -0.023412633687257767, -0.037498004734516144, 0.008138236589729786, 0.013730909675359726, -0.0289936400949955, -0.011397181078791618, -0.012075407430529594, -0.021459009498357773, -0.010497652925550938, -0.012801366858184338, -0.010309165343642235, -0.0020354739390313625, 0.028626853600144386, -0.04676062613725662, -0.009256461635231972, -0.013121828436851501, 0.026652708649635315, -0.00007826432556612417, -0.03776496276259422, -0.008793295361101627, -0.04339919984340668, 0.010903965681791306, -0.012716757133603096, 0.030913621187210083, -0.0011326001258566976, -0.028049316257238388, -0.007328612729907036, 0.006440245546400547, -0.012025535106658936, 0.009563392028212547, -0.005629939027130604, -0.0067025963217020035, 0.02931588888168335, 0.05682476982474327, 0.027366532012820244, 0.043452970683574677, -0.006670897826552391, 0.027131834998726845, 0.06780660152435303, -0.10098399966955185, -0.0070809852331876755, -0.028660109266638756, -0.06993985921144485, 0.00444510392844677, 0.028175482526421547, 0.03772240877151489, -0.020932655781507492, 0.028934966772794724, 0.020647728815674782, 0.03306777775287628, 0.027618050575256348, 0.011451412923634052, 0.045096203684806824, -0.059957679361104965, 0.02026764675974846, -0.08478079736232758, 0.01972988434135914, 0.025345904752612114, -0.01192168053239584, -0.008340328000485897, -0.011536316014826298, -0.04302988946437836, 0.0409616120159626, -0.05898893252015114, -0.004879558924585581, 0.038775041699409485, 0.007550615351647139, -0.0048161703161895275, 0.007076662499457598, -0.03960055112838745, 0.02602367289364338, 0.0429966002702713, -0.04335900396108627, -0.03728661686182022, -0.006279134191572666, 0.04277775064110756, 0.051140010356903076, -0.02082342468202114, -0.04966376721858978, 0.010008029639720917, 0.055409640073776245, 0.018397850915789604, 0.05119454860687256, 0.02900908701121807, -0.031916067004203796, 0.0352669358253479, 0.034203775227069855, -0.012097028084099293, -0.02455880679190159, -0.012366573326289654, -0.0014855483314022422, -0.06139623373746872, 0.027445757761597633, 0.01019873283803463, -0.021719323471188545, -0.03571850433945656, 0.05282779783010483, 0.004522505681961775, -0.024796998128294945, -0.03948548063635826, -0.02529149129986763, -0.037619974464178085, -0.030987301841378212, -0.03826555609703064, 0.010717247612774372, -0.03162365406751633, 0.0684630423784256, 0.004364773631095886, -0.011218375526368618, 0.05319397523999214, -0.003058806760236621, -0.0017113345675170422, -0.02068483456969261, 0.07655811309814453, 0.10136450082063675, 0.036131296306848526, -0.014230615459382534, 0.05803922936320305, -0.004584406036883593, -0.04629914462566376, 0.03684598580002785, -0.004250633530318737, 0.012248959392309189, -0.028755109757184982, 0.00702905748039484, 0.05935259163379669, 0.009804966859519482, 0.05923130735754967, -0.04149317368865013, 0.010467790998518467, 0.031698666512966156, 0.05443946644663811, -0.008657061494886875, 0.042593590915203094, -0.009035876952111721, 0.005466240458190441, 0.017135290428996086, -0.04131603613495827, 0.03650836646556854, -0.045230258256196976, -0.012752112932503223, 0.023617450147867203, -0.02017393708229065, 0.0039058062247931957, 0.007197825703769922, 0.03804711252450943, 0.07442086189985275, -0.023619813844561577, 0.022055091336369514, -0.0023545685689896345, 0.047891680151224136, 0.024010559543967247, -0.005998395383358002, -0.009436980821192265, -0.040827032178640366, 0.009716703556478024, -0.00906125083565712, -0.005504675209522247, -0.008701435290277004, -0.024017304182052612, 0.03504839166998863, -0.012887406162917614, 0.022213788703083992, 0.03831250220537186, 0.004240900278091431, -0.013068526983261108, -0.07790222018957138, -0.03860359638929367, -0.023843375965952873, -0.06151125580072403, -0.006222615484148264, 0.014057494699954987, -0.0010723003651946783, -0.02933197282254696, -0.022267412394285202, -0.006597475614398718, -0.010790040716528893, 0.05322945490479469, -0.01959240436553955, -0.030194951221346855, 0.008662892505526543, -0.007858134806156158, 0.03352069854736328, 0.023886585608124733, 0.019709307700395584, 0.017846597358584404, -0.015416941605508327, -0.052674829959869385, -0.00037634719046764076, 0.0500587560236454, -0.008247947320342064, 0.0311113428324461, -0.08503840118646622, 0.005021233577281237, 0.026119600981473923, 0.016476960852742195, -0.054160553961992264, 0.024544568732380867, -0.013209526427090168, -0.033700406551361084, 0.053413886576890945, -0.015789220109581947, 0.0037631120067089796, -0.016589680686593056, -0.02006785199046135, 0.02157890424132347, 0.04248946160078049, 0.02083749696612358, -0.027631795033812523, 0.07552282512187958, 0.02163904346525669, -0.010586983524262905, -0.03575465455651283, -0.006944985128939152, -0.0005330605199560523, 0.022698193788528442, -0.019877104088664055, -0.02753118798136711, -0.053681064397096634, -0.04823015257716179, 0.000690752814989537, 0.01095533650368452, 0.0015486835036426783, 0.004338891711086035, 0.01705646514892578, 0.032135009765625, -0.06209080293774605, -0.00935861375182867, -0.02390027791261673, 0.055089909583330154, -0.0319591760635376, -0.014812926761806011, 0.037942394614219666, 0.03536948561668396, -0.006803979631513357, 0.03102116659283638, 0.025830352678894997, -0.07273294031620026, 0.007048866245895624, -0.003819021862000227, 0.05300511419773102, 0.056392569094896317, -0.015850400552153587, 0.015365788713097572 ]
[ -0.11402712762355804, -0.012767832726240158, -0.020104503259062767, -0.02701549604535103, 0.046350687742233276, -0.02858736738562584, 0.027597714215517044, 0.02698586694896221, -0.005567812826484442, -0.03137301653623581, 0.003841017372906208, -0.02494106814265251, -0.018284276127815247, 0.0009989546379074454, 0.08012830466032028, 0.0020453028846532106, -0.004352277610450983, -0.06546995788812637, 0.02506442181766033, 0.02660079300403595, 0.020629722625017166, -0.01934557966887951, -0.03414210304617882, -0.019250137731432915, 0.022636616602540016, 0.04970661178231239, 0.044633958488702774, -0.03497690707445145, -0.001045025186613202, -0.21304044127464294, 0.016582369804382324, -0.003562315134331584, 0.026788732036948204, -0.030410556122660637, 0.0173882395029068, 0.037520457059144974, -0.0030024026054888964, 0.009311589412391186, -0.008962070569396019, 0.028330441564321518, 0.009165359660983086, 0.04084129258990288, -0.06445183604955673, -0.027342960238456726, 0.04907599464058876, -0.007774337660521269, 0.005796537268906832, -0.028026500716805458, -0.006177172996103764, 0.008825819008052349, -0.03849336504936218, -0.044471174478530884, -0.017266754060983658, -0.023318514227867126, -0.01770010218024254, 0.018017109483480453, 0.04147079214453697, 0.05189581587910652, 0.012815644964575768, 0.030417392030358315, -0.013660921715199947, -0.024946408346295357, -0.11900880187749863, 0.05224631354212761, 0.05966328829526901, 0.04616350680589676, -0.014908727258443832, -0.03638092800974846, 0.015266857109963894, 0.07852993905544281, 0.028343308717012405, -0.010793803259730339, -0.031243732199072838, 0.06806474924087524, -0.0033341292291879654, 0.007587639149278402, -0.0004908651462756097, 0.01783059909939766, 0.045402031391859055, -0.02977757528424263, -0.04332683980464935, -0.03656446933746338, -0.002204079180955887, -0.011130892671644688, -0.02744979038834572, 0.013848334550857544, -0.004924984648823738, 0.05147627368569374, 0.06650480628013611, 0.02826566807925701, 0.06027684360742569, -0.020155295729637146, 0.009491452015936375, 0.02208581194281578, -0.06859610229730606, 0.0057244268245995045, -0.025100741535425186, -0.020581217482686043, -0.053145356476306915, 0.45086270570755005, -0.019386494532227516, -0.021590428426861763, 0.043424710631370544, 0.03378121554851532, -0.01752588339149952, 0.003497082507237792, -0.0002796857734210789, -0.05412805452942848, -0.0018750352319329977, -0.03939184546470642, 0.03705203905701637, 0.03186696022748947, 0.06444338709115982, -0.028532814234495163, -0.022382743656635284, 0.020101448521018028, 0.027828095480799675, -0.01496194489300251, -0.002382709411904216, -0.00690811313688755, -0.01735515333712101, 0.0022678517270833254, 0.020104721188545227, -0.0016061235219240189, 0.010693144984543324, -0.06150157377123833, 0.02731323055922985, 0.061909884214401245, 0.010810764506459236, -0.029448412358760834, 0.0452827624976635, -0.04158654436469078, -0.07067789882421494, 0.00010206966544501483, 0.01268510427325964, 0.007925550453364849, 0.034483782947063446, 0.016343459486961365, 0.003799694124609232, 0.04946083575487137, -0.012539436109364033, -0.016938341781497, 0.03814451023936272, -0.045564621686935425, -0.06526099145412445, 0.09313154220581055, 0.006494992878288031, -0.020562566816806793, -0.01481320895254612, -0.04905572906136513, 0.020917460322380066, 0.03613797202706337, 0.010631134733557701, -0.04606282338500023, 0.036231957376003265, -0.010825231671333313, 0.07972993701696396, 0.009171144105494022, -0.055765192955732346, 0.002735675312578678, -0.023329729214310646, 0.0003507006913423538, -0.05794251710176468, 0.05561862140893936, 0.03811204433441162, -0.08733411133289337, -0.03847268968820572, 0.007803583983331919, 0.022412920370697975, -0.06402474641799927, -0.0059766317717731, 0.018524950370192528, -0.0299395602196455, -0.02345114015042782, 0.02124645933508873, -0.050988491624593735, -0.033789824694395065, 0.02651897817850113, 0.028296370059251785, 0.02656281366944313, 0.011665351688861847, -0.00029830713174305856, -0.042724546045064926, 0.005715486593544483, -0.008807232603430748, -0.05940818041563034, -0.047194402664899826, -0.011828850023448467, -0.029415378347039223, -0.026299484074115753, -0.040524400770664215, -0.030261917039752007, -0.09596206247806549, 0.10587940365076065, -0.04913296550512314, -0.02785150706768036, 0.024715162813663483, -0.004347926005721092, 0.0008366391994059086, -0.036596860736608505, -0.001509696478024125, 0.039788100868463516, -0.0031205895356833935, 0.050825975835323334, -0.07306413352489471, 0.07627887278795242, 0.04582884535193443, -0.06879305094480515, 0.08745600283145905, 0.05280967429280281, -0.03419337421655655, -0.03442789241671562, 0.01226783823221922, 0.01211613416671753, -0.011316553689539433, -0.011641794815659523, -0.002938096411526203, 0.01381362322717905, 0.0005545567837543786, 0.030917612835764885, -0.04371204599738121, 0.0411682091653347, -0.0013805314665660262, -0.3327420651912689, -0.04951496049761772, -0.02754240483045578, 0.011377813294529915, 0.012225288897752762, -0.0697505995631218, 0.009366827085614204, -0.00044335785787552595, -0.022966759279370308, -0.04666782543063164, 0.06403003633022308, 0.010910743847489357, -0.006860966328531504, -0.08753430843353271, 0.00988371204584837, -0.005537983030080795, -0.05530840903520584, -0.041652340441942215, -0.0356559120118618, 0.030321741476655006, -0.023172756657004356, 0.0040209935978055, -0.006341783795505762, -0.04572340101003647, -0.00548882782459259, -0.054002732038497925, 0.08453640341758728, -0.012328289449214935, 0.10245786607265472, -0.01085388008505106, 0.023256395012140274, -0.0008233307162299752, 0.05231674015522003, -0.05724014714360237, 0.021766403689980507, -0.031297922134399414, -0.032993562519550323, -0.02117599919438362, 0.042775459587574005, -0.034343454986810684, -0.06117900833487511, 0.006920273415744305, -0.041491471230983734, -0.0582764707505703, -0.034912582486867905, -0.01329876109957695, -0.006044323556125164, 0.013465321622788906, -0.038492295891046524, 0.0758354589343071, 0.014846223406493664, -0.012993663549423218, 0.03387060761451721, 0.019377944990992546, 0.021789103746414185, -0.04636077210307121, -0.080248162150383, 0.0034905995707958937, 0.00023220106959342957, -0.01235002651810646, 0.041638243943452835, 0.09249644726514816, 0.04656140133738518, -0.06568227708339691, 0.010396866127848625, 0.0001617467205505818, -0.007662156131118536, -0.01947382465004921, 0.052370112389326096, -0.015962926670908928, -0.020124923437833786, 0.12893974781036377, -0.0011658596340566874, -0.015172366052865982, 0.009611283428966999, 0.03772829845547676, 0.013995896093547344, -0.010223542340099812, 0.009442484006285667, 0.0023222677409648895, -0.009745132178068161, 0.0074547952972352505, 0.006622226908802986, -0.024408306926488876, -0.006284522358328104, 0.030028099194169044, -0.015724776312708855, -0.02591669373214245, 0.07348761707544327, -0.012943052686750889, -0.037881311029195786, 0.012162333354353905, -0.01916547305881977, -0.0638650581240654, 0.07848400622606277, -0.0035244848113507032, -0.23373447358608246, -0.000012089950359950308, 0.04949250444769859, 0.06538449227809906, -0.03061186522245407, 0.0042367675341665745, 0.043410688638687134, -0.07932523638010025, 0.01508959662169218, 0.01781800389289856, 0.040706828236579895, 0.024162277579307556, 0.03341136872768402, -0.004170545842498541, 0.0297023206949234, 0.016696259379386902, 0.04280427098274231, -0.025952370837330818, 0.052914153784513474, -0.008367068134248257, 0.011578638106584549, -0.002198622329160571, 0.16616274416446686, 0.002174656605347991, 0.01944313384592533, 0.04760463908314705, 0.01142377220094204, 0.025845767930150032, 0.08529536426067352, 0.01750050112605095, 0.01820751652121544, -0.003939160145819187, 0.03880409896373749, 0.00012614451406989247, 0.020719945430755615, -0.06767861545085907, -0.001221636077389121, 0.005803888197988272, 0.022829893976449966, -0.007940012961626053, 0.005392296705394983, -0.006865848321467638, -0.015733765438199043, 0.017695341259241104, 0.06923418492078781, 0.013891036622226238, 0.0002667627122718841, -0.04243104159832001, -0.044757384806871414, -0.006035896018147469, -0.025104736909270287, -0.07346837222576141, 0.022144194692373276, -0.03213689103722572, 0.026493176817893982, 0.08675353974103928, 0.008660594932734966, -0.019534150138497353, -0.008537321351468563, -0.0054953983053565025, 0.005756611004471779, -0.004324863664805889, 0.11164355278015137, 0.04371446743607521, 0.02413215860724449 ]
[ 0.010972301475703716, 0.013270441442728043, -0.02491438388824463, 0.03658365085721016, -0.0031087433453649282, 0.03042580373585224, -0.0006729726446792483, 0.014439074322581291, 0.02351292595267296, -0.002158340299502015, -0.00705285370349884, 0.0058043478056788445, 0.028044966980814934, -0.010485943406820297, 0.003217110177502036, -0.004200984723865986, 0.020955806598067284, -0.004908961243927479, 0.020394694060087204, -0.008680080994963646, -0.01853102259337902, 0.02672470360994339, 0.007279586512595415, 0.002975265961140394, 0.0016837386647239327, 0.016581811010837555, -0.0032494112383574247, -0.008090965449810028, 0.023442532867193222, -0.14648902416229248, -0.01088819932192564, -0.039322443306446075, -0.01791524328291416, 0.0178221445530653, 0.02381872944533825, -0.018605059012770653, 0.045941900461912155, 0.029781349003314972, 0.011311274021863937, -0.008825662545859814, 0.015089118853211403, 0.029714887961745262, 0.031132105737924576, -0.013756786473095417, 0.028238357976078987, 0.006174507085233927, -0.027193188667297363, -0.017170248553156853, -0.02383396588265896, 0.014642343856394291, -0.02658143825829029, -0.026575110852718353, 0.027742939069867134, 0.0075764525681734085, 0.001590528292581439, 0.013173342682421207, 0.01414402760565281, -0.019088247790932655, 0.012042583897709846, 0.012340415269136429, 0.01334213837981224, 0.009604034945368767, -0.021673422306776047, -0.013147981837391853, -0.016810517758131027, -0.014470372349023819, -0.006457190494984388, 0.004909621551632881, -0.026407446712255478, -0.02075100876390934, -0.01692895218729973, -0.01201043650507927, -0.008788974024355412, -0.009435862302780151, -0.011849937029182911, -0.0018125197384506464, 0.00893427710980177, -0.008408188819885254, 0.031598664820194244, 0.015447008423507214, -0.042007483541965485, 0.013260326348245144, -0.02479342184960842, -0.004365802742540836, 0.005471475888043642, 0.04334918037056923, 0.018986448645591736, 0.02492213435471058, 0.0252371896058321, 0.008770477958023548, -0.015865912660956383, 0.01904190145432949, -0.042656514793634415, 0.02254464104771614, -0.06037167087197304, -0.02899394929409027, -0.02454344555735588, -0.03878407925367355, -0.02889867313206196, 0.8378192782402039, -0.013147580437362194, 0.007287847343832254, 0.060551807284355164, 0.009423320181667805, -0.01793365739285946, -0.017109885811805725, 0.012059957720339298, 0.02771250158548355, 0.02787475660443306, -0.02404266968369484, 0.012626297771930695, 0.013498025946319103, 0.04199625551700592, -0.0010884192306548357, 0.0046949987299740314, 0.005709556862711906, -0.01513548195362091, -0.0014500569086521864, -0.034427035599946976, 0.006388876587152481, 0.05040363594889641, 0.0445135161280632, 0.014627634547650814, 0.025236988440155983, 0.04431966692209244, -0.1838407963514328, -0.009618819691240788, -9.950466374846567e-33, 0.03467125445604324, -0.025849884375929832, 0.010473571717739105, 0.04210372269153595, 0.00932227447628975, 0.0036529998760670424, 0.03875543177127838, 0.0268467515707016, 0.013808970339596272, -0.0265826303511858, 0.015767548233270645, -0.02761603519320488, 0.003216795390471816, -0.0006646295660175383, 0.016063876450061798, 0.01679699681699276, -0.009577426128089428, 0.028240608051419258, -0.008728080429136753, 0.011009927839040756, 0.026514826342463493, 0.026215750724077225, 0.004406793043017387, -0.005539331119507551, 0.028470201417803764, 0.004926768131554127, 0.031164979562163353, 0.020965872332453728, -0.006821694318205118, -0.035910896956920624, -0.02138458751142025, 0.010457392781972885, -0.022661224007606506, -0.007661093957722187, 0.050197452306747437, -0.036378830671310425, 0.0028700788971036673, -0.020743031054735184, 0.023570263758301735, -0.005196722690016031, -0.04297400638461113, -0.028057608753442764, -0.059261273592710495, -0.0008936166414059699, 0.021319011226296425, -0.016843384131789207, 0.011526972986757755, -0.01996602490544319, 0.03712601214647293, -0.03774471580982208, 0.014820797368884087, -0.008114747703075409, 0.009221560321748257, -0.022244784981012344, -0.04347652941942215, 0.04663705453276634, 0.0033844260033220053, 0.015152540057897568, -0.008185465820133686, 0.03714693710207939, -0.026672987267374992, -0.02349977381527424, -0.05295628309249878, 0.014620007947087288, -0.045787930488586426, -0.03313640132546425, -0.016946591436862946, -0.017925646156072617, 0.021451648324728012, -0.024182021617889404, -0.02883235178887844, -0.016253497451543808, -0.015880845487117767, -0.006593744736164808, 0.02033296413719654, -0.04371321573853493, -0.029257385060191154, 0.08434399217367172, -0.0013469207333400846, 0.029006481170654297, 0.04653867334127426, -0.05815064162015915, 0.023800447583198547, -0.027359573170542717, 0.026106398552656174, -0.015187472105026245, 0.013436630368232727, 0.0057832314632833, 0.012370261363685131, -0.02210128679871559, 0.04311443492770195, 0.03414951264858246, -0.0004269432683940977, -0.025146551430225372, -0.0010208324529230595, 9.606597543032585e-33, -0.007725188042968512, -0.0251312218606472, -0.011949808336794376, 0.008182159624993801, -0.018138909712433815, -0.010663138702511787, -0.0008986951434053481, 0.004846102092415094, -0.061992447823286057, 0.016002679243683815, -0.006613691337406635, 0.012679596431553364, -0.03965490683913231, 0.008251278661191463, 0.025361934676766396, -0.023525450378656387, 0.05456696078181267, -0.03562745451927185, 0.0339801050722599, -0.006415732204914093, 0.04604661464691162, 0.010650347918272018, 0.020860722288489342, -0.0234388280659914, -0.01262931153178215, 0.0494740791618824, -0.05723479017615318, 0.04576632380485535, 0.022649632766842842, 0.035985250025987625, -0.0014338875189423561, 0.013538654893636703, 0.019703935831785202, -0.031085317954421043, -0.015263115055859089, 0.022260542958974838, -0.00830484926700592, 0.01986079290509224, 0.011703678406774998, 0.02593380957841873, -0.003207260277122259, -0.008090268820524216, 0.01814129389822483, 0.01836249604821205, 0.020949725061655045, 0.015463494695723057, -0.019075116142630577, -0.02448633313179016, -0.0051237838342785835, 0.0002417048963252455, -0.0011401391820982099, 0.012820898555219173, 0.02944113500416279, 0.004613664932549, -0.01039890106767416, -0.016598934307694435, -0.04302751272916794, -0.04030792787671089, -0.007828096859157085, 0.03371946141123772, -0.00403174851089716, 0.029509084299206734, -0.019594741985201836, -0.00889679603278637, -0.03017137385904789, 0.010642734356224537, 0.007817298173904419, 0.006489292718470097, 0.00018955762789119035, -0.021371694281697273, -0.036870766431093216, -0.004856941290199757, 0.010426931083202362, 0.014231905341148376, 0.043751008808612823, -0.01847129873931408, -0.023881854489445686, -0.001013743574731052, 0.009611059911549091, 0.020228080451488495, -0.0036550413351505995, -0.041618503630161285, 0.0028261016122996807, -0.009748420678079128, 0.01066513266414404, -0.003119473345577717, -0.007715791929513216, 0.022147106006741524, -0.013668159022927284, -0.00444202171638608, -0.048618659377098083, 0.017688609659671783, 0.03507938235998154, -0.008438528515398502, 0.00115533999633044, -1.4600409770082479e-8, -0.02534572221338749, -0.00042486481834203005, -0.034076664596796036, -0.014362376183271408, -0.01100250892341137, 0.007519444916397333, -0.05620938166975975, -0.008709626272320747, -0.0034423512406647205, 0.023617614060640335, 0.030615538358688354, -0.007579742465168238, -0.03196444734930992, 0.0018011181382462382, -0.0010678700637072325, -0.06962045282125473, -0.050471462309360504, -0.04113340750336647, 0.027854565531015396, 0.012492576614022255, 0.02217879891395569, 0.06560199707746506, -0.044170081615448, 0.015112647786736488, 0.044312674552202225, 0.027374794706702232, -0.006920054089277983, -0.07658877968788147, 0.014719674363732338, 0.018629485741257668, -0.0011302547063678503, -0.01017179898917675, -0.03502282500267029, 0.012911968864500523, -0.03892285376787186, 0.0035226254258304834, 0.0233057402074337, 0.018017176538705826, 0.034762248396873474, -0.01610727608203888, 0.01701122149825096, -0.0075967879965901375, 0.020680516958236694, -0.022910218685865402, -0.008188909851014614, -0.010963993147015572, -0.04070485383272171, -0.01850557141005993, 0.0422675758600235, -0.06541988998651505, -0.013670789077877998, 0.0073838927783071995, -0.025737585499882698, -0.0006652178126387298, 0.008860588073730469, 0.008953366428613663, 0.004417826421558857, -0.024140704423189163, -0.051111605018377304, 0.0022816809359937906, 0.03914398327469826, -0.005671184975653887, -0.029964309185743332, -0.009060892276465893 ]
tdd-tests-that-give-us-a-false-confidence-of-coverage
https://markhneedham.com/blog/2009/09/21/tdd-tests-that-give-us-a-false-confidence-of-coverage
false
2009-09-07 22:27:57
A reminder that sometimes it's best just to ask
[ "software-development" ]
[ "Software Development" ]
Recently my pair and I were trying to merge some changes into our code that we had just picked up fron updating from the trunk and realised that we weren't actually sure how to resolve that merge since it seemed to conflict with what we'd been working on. We hadn't checked in for longer than we would have liked to due to a bit of a checkin pile up which had happened because the build on the CI server had been failing for a few hours due to a temporary problem we were having with an external dependency. Another pair were working on some code which was around the same area of the code base as us but for a different feature so we hadn't been working together too closely. Usually when faced with this type of problem my default approach would be to go to the Subversion logs and go through each of the changes in their checkin until I could work out what their change was all about and how it fitted in with what we were doing. On this occasion we didn't do that but instead called over one of the guys in the pair to ask if they could explain what changes that made in their latest checkin and how we would need to change the code on our machine to work with those changes. My colleague took us to a whiteboard and sketched out what they were working on and the approach they were taking to achieve that. It took less than a minute to do this and after that it was really obvious what changes we need to make and in another couple of minutes we'd made those changes and had our code functioning again. It's certainly a useful skill to be able to merge code by scanning through the change logs but it's also useful to remember that software development is generally a team game and that we can get things done so much quicker if we work closely with our team mates.
null
null
[ 0.018725095316767693, -0.011952029541134834, -0.020406806841492653, 0.052812911570072174, 0.09621428698301315, 0.013611618429422379, 0.020247722044587135, 0.03470445051789284, 0.02574014477431774, -0.039145272225141525, -0.03481851890683174, 0.0068380460143089294, -0.06831146776676178, 0.0028706861194223166, -0.04744087904691696, 0.0669076219201088, 0.06728564947843552, 0.009825962595641613, 0.029213078320026398, 0.0010553136235103011, 0.017105583101511, 0.07857460528612137, -0.019389552995562553, 0.02359309233725071, 0.00961998663842678, 0.016386307775974274, 0.0055961343459784985, -0.029680797830224037, -0.07025224715471268, -0.007596171461045742, 0.05717264488339424, -0.02022569812834263, 0.0020535090006887913, -0.006605482194572687, -0.017676906660199165, -0.027491223067045212, -0.02296031452715397, 0.02031155489385128, -0.0046458132565021515, -0.0010699954582378268, -0.03739692270755768, 0.052504025399684906, -0.011349542066454887, 0.007051881868392229, -0.03138698637485504, 0.021848132833838463, -0.0536806546151638, 0.012388374656438828, -0.004437685012817383, -0.03446713835000992, -0.06073584407567978, 0.00772175844758749, -0.009231450967490673, -0.02769005298614502, -0.029531551524996758, 0.05919216573238373, 0.03142830729484558, -0.060912370681762695, 0.004858855158090591, -0.02945304848253727, -0.03426719456911087, -0.0033276595640927553, 0.0025901554618030787, 0.03312110900878906, 0.024982435628771782, -0.026425249874591827, 0.01603328064084053, 0.05800807476043701, -0.01989150419831276, 0.010647815652191639, -0.000057902805565390736, 0.014036620035767555, -0.028239578008651733, -0.009753027930855751, -0.005009637214243412, -0.03128727898001671, -0.00219137966632843, 0.05537855252623558, 0.017385123297572136, 0.05216778814792633, -0.016096679493784904, 0.03827803581953049, -0.0031095414888113737, 0.00749996630474925, 0.007518304046243429, -0.038540326058864594, 0.012060302309691906, -0.021976515650749207, -0.05787909775972366, 0.04771986976265907, 0.0228554867208004, -0.08119100332260132, 0.0273436326533556, 0.03844214230775833, 0.013647702522575855, 0.011121079325675964, 0.021302176639437675, 0.01868550479412079, 0.01583174057304859, -0.009032429195940495, -0.03456289693713188, 0.023073328658938408, -0.00635130750015378, -0.0003395073872525245, -0.07377173006534576, 0.0026637730188667774, -0.022893091663718224, -0.019099561497569084, -0.011613300070166588, -0.007897142320871353, -0.01845618151128292, 0.018224958330392838, -0.025226006284356117, 0.02646343782544136, -0.0679255872964859, 0.07329749315977097, 0.0010530443396419287, -0.05568596348166466, -0.018300527706742287, -0.0024698434863239527, 0.034935638308525085, 0.02372441440820694, -0.014418459497392178, 0.09007815271615982, 0.02369285561144352, 0.034156572073698044, -0.031120944768190384, 0.038623906672000885, -0.01708325743675232, -0.06901494413614273, -0.014398696832358837, 0.06748201698064804, -0.0402630977332592, -0.0229751318693161, 0.0034156746696680784, -0.033722080290317535, -0.014057144522666931, 0.015598908998072147, 0.009115760214626789, 0.01651677116751671, -0.013666161336004734, -0.007593330927193165, 0.01681983284652233, 0.028865894302725792, 0.029903041198849678, 0.01339694857597351, -0.024372104555368423, -0.031208809465169907, -0.03840721771121025, -0.009165761061012745, -0.006991236936300993, 0.01232816744595766, 0.021332934498786926, -0.0443846695125103, 0.0256632249802351, 0.10716791450977325, 0.010743897408246994, -0.011487351730465889, -0.037165265530347824, 0.02507675066590309, 0.03386037424206734, 0.02206505462527275, -0.004904651083052158, 0.023533832281827927, -0.0050065526738762856, -0.014970648102462292, -0.029804622754454613, 0.03404601290822029, 0.018803469836711884, 0.04439982771873474, -0.062343403697013855, -0.044932469725608826, 0.046031415462493896, -0.051874324679374695, -0.02573525719344616, 0.0692625567317009, 0.0799468457698822, 0.045234326273202896, 0.014935120940208435, 0.0017100094119086862, -0.08097222447395325, 0.04354261979460716, 0.006379907485097647, 0.02075125463306904, 0.021697137504816055, 0.0058059426955878735, 0.04567025974392891, 0.03771722689270973, 0.00025547167751938105, 0.021502073854207993, -0.09673675894737244, -0.0898294448852539, -0.008474543690681458, -0.014448153786361217, 0.051100704818964005, -0.031072838231921196, -0.007131660357117653, 0.07883881032466888, 0.0009903991594910622, 0.03758934140205383, 0.014920334331691265, 0.014185615815222263, 0.020215241238474846, -0.04709307476878166, -0.036106258630752563, 0.062452755868434906, 0.04616522789001465, 0.004861472174525261, -0.05342050641775131, -0.004061152692884207, -0.02256600745022297, 0.002667199820280075, 0.045239999890327454, -0.02301655523478985, 0.07614239305257797, 0.013566041365265846, 0.03466165065765381, -0.06052585318684578, 0.05308929830789566, -0.050589174032211304, 0.015325278975069523, 0.005311865359544754, -0.02123044617474079, 0.013327606953680515, 0.006602393463253975, 0.08885887265205383, 0.07324237376451492, -0.05550656095147133, -0.02982681803405285, 0.02272895909845829, 0.01003075111657381, -0.05065533146262169, -0.008197635412216187, -0.0011912101181223989, 0.02693186141550541, 0.003512145485728979, -0.07367721945047379, -0.037450529634952545, 0.005456474609673023, -0.038495004177093506, 0.009513785131275654, 0.04629071056842804, -0.01657463051378727, 0.06184102222323418, 0.00020816040341742337, -0.02209874801337719, -0.01763591356575489, -0.011605228297412395, -0.03479240834712982, 0.03699415177106857, 0.027579501271247864, -0.02183898538351059, 0.04728691652417183, -0.035138748586177826, -0.014996916987001896, -0.04657838121056557, -0.03473782539367676, -0.009498520754277706, 0.03050084412097931, 0.06516284495592117, -0.0048475912772119045, 0.04115317389369011, -0.0037655699998140335, 0.033960338681936264, 0.009298838675022125, -0.037166837602853775, -0.044819336384534836, -0.023632759228348732, -0.0017667881911620498, 0.015450666658580303, -0.009451263584196568, 0.024857670068740845, 0.028273699805140495, -0.010119270533323288, -0.0009873199742287397, -0.040717560797929764, 0.028814401477575302, -0.0036690100096166134, 0.0065122926607728004, -0.03974119946360588, 0.0007020520279183984, 0.026999540627002716, -0.05706486850976944, -0.014064275659620762, 0.0006439451826736331, -0.0489673987030983, 0.043686941266059875, -0.07021582126617432, -0.05988004431128502, -0.0027444593142718077, 0.030588187277317047, 0.032040130347013474, 0.0025143353268504143, 0.03273743391036987, 0.06528586894273758, -0.010929103009402752, 0.026164453476667404, 0.0047098733484745026, 0.03183313086628914, 0.05286889150738716, 0.025680631399154663, -0.008928018622100353, 0.030146406963467598, -0.009786917828023434, -0.011492357589304447, -0.04354186728596687, 0.04661425203084946, -0.04431336000561714, -0.2764686644077301, 0.043669622391462326, 0.020756522193551064, -0.061609406024217606, 0.0348845049738884, -0.029086213558912277, 0.016766827553510666, -0.06147969514131546, -0.015977440401911736, 0.036437708884477615, -0.03033406287431717, -0.049992695450782776, 0.007658909074962139, 0.06348512321710587, -0.009252043440937996, 0.03219950571656227, 0.03288297727704048, -0.016685616225004196, 0.011036721989512444, 0.03519297018647194, -0.034523848444223404, -0.060536157339811325, 0.026025481522083282, 0.00092933583073318, 0.05290883406996727, 0.05392821505665779, -0.08417463302612305, 0.07108078896999359, -0.05314197018742561, -0.006599972024559975, 0.008276372216641903, 0.02810457907617092, -0.01029282622039318, -0.003346031066030264, -0.02165954001247883, -0.010665413923561573, 0.026424095034599304, 0.003258158452808857, -0.011142704635858536, 0.009285997599363327, -0.034731604158878326, -0.033473532646894455, -0.004110111389309168, 0.01433590054512024, 0.06522569060325623, -0.018103716894984245, -0.08165335655212402, -0.004610423464328051, -0.039644692093133926, 0.09329765290021896, -0.03469742089509964, -0.021345973014831543, -0.0032852529548108578, 0.03888849914073944, -0.015417891554534435, -0.01987636275589466, -0.004266030620783567, -0.0021201272029429674, -0.05576729401946068, -0.015558024868369102, -0.012638808228075504, -0.05238953232765198, -0.009636745788156986, -0.04212712496519089, 0.02088972181081772, -0.04139396920800209, -0.05247115343809128, -0.031888447701931, 0.06001465022563934, -0.0074632917530834675, -0.033543504774570465, 0.01984361559152603, 0.014080217108130455, -0.09406115859746933, -0.008184604346752167, -0.02969507873058319, -0.0326981320977211, -0.018384983763098717, 0.015511788427829742, 0.03000360168516636, -0.02476019226014614, -0.0495368055999279, 0.010112271644175053, -0.004748927429318428, 0.01100929919630289, 0.008609971031546593, 0.04561523348093033, 0.04037102684378624, -0.05653541535139084, 0.013447788543999195, 0.067332424223423, -0.022471388801932335, -0.034671179950237274, -0.0049821496941149235, 0.028081150725483894, 0.007781195919960737, 0.002398798707872629, -0.011767398566007614, -0.0037065823562443256, 0.03216806799173355, 0.001386619987897575, -0.04868663474917412, 0.03435727208852768, -0.01880595274269581, 0.0008906887960620224, 0.007620731834322214, -0.05722593143582344, 0.010482905432581902, 0.04235924035310745, 0.054659273475408554, 0.003993930295109749, -0.01609170436859131, 0.01732044667005539, -0.04957049712538719, -0.03102169930934906, -0.01583249121904373, 0.011824872344732285, 0.03136490285396576, 0.006281689275056124, 0.005271567031741142, -0.051678963005542755, 0.0023028391879051924, 0.012849860824644566, 0.02441880665719509, -0.07023093849420547, -0.02183268964290619, -0.032346729189157486, -0.009400452487170696, 0.035120029002428055, 0.022931130602955818, -0.022362040355801582, 0.035077210515737534, 0.03931743651628494, -0.03902459889650345, 0.007839680649340153, -0.019370364025235176, -0.04075879603624344, -0.020619651302695274, -0.01751975156366825, -0.0016715514939278364, -0.03557710722088814, 0.05355222150683403, -0.01326827798038721, 0.008033527061343193, 0.02317546121776104, -0.011014604941010475, 0.02930610068142414, -0.029590461403131485, 0.021116314455866814, 0.018352745100855827, -0.007905689999461174, -0.08610234409570694, 0.024828974157571793, -0.05838095396757126, -0.04446418955922127, -0.03470250591635704, 0.04048731178045273, -0.024968059733510017, -0.009348231367766857, 0.011062678880989552, -0.007938277907669544, -0.0714566633105278, -0.02036464959383011, -0.031177816912531853, 0.02006862685084343, 0.06403627246618271, -0.012921839021146297, -0.004810807760804892, -0.04152153804898262, -0.0062180496752262115, -0.005977468099445105, 0.06116354092955589, -0.0629962831735611, 0.003375869942829013, 0.024223875254392624, 0.03317719325423241, 0.0017546877497807145, -0.007350103929638863, 0.04420454427599907, 0.012178870849311352, 0.003653706982731819, -0.0025291915517300367, 0.0014618871500715613, 0.0011795759201049805, 0.03686029091477394, -0.012572642415761948, 0.003226564498618245, 0.007069890387356281, -0.02252873405814171, -0.025021756067872047, -0.02591901645064354, -0.002675773110240698, -0.007825459353625774, 0.025112386792898178, -0.02838435024023056, -0.09467566013336182, 0.028082245960831642, 0.04189135506749153, 0.020509691908955574, -0.002219777787104249, -0.01173865795135498, 0.026742862537503242, -0.018793072551488876, 0.03474102169275284, 0.06845610588788986, -0.05963002145290375, 0.003298042109236121, -0.01720970682799816, -0.006735994014889002, -0.005033683963119984, -0.006420755293220282, -0.039583947509527206, -0.05514741688966751, -0.02429569512605667, 0.016133608296513557, -0.0572463721036911, -0.03546511009335518, -0.020641807466745377, 0.022197389975190163, -0.018456021323800087, -0.032474663108587265, -0.017635876312851906, 0.008299450390040874, -0.008446164429187775, -0.032818667590618134, 0.005295563023537397, -0.024166163057088852, 0.010147805325686932, 0.00300587248057127, -0.014153662137687206, 0.011484301649034023, -0.03733183071017265, 0.03930531069636345, 0.011288036592304707, -0.005980349145829678, -0.018422339111566544, -0.03200548514723778, -0.010531257838010788, -0.0013360087759792805, 0.00978558138012886, -0.019065165892243385, 0.02105129510164261, -0.012075768783688545, -0.019269263371825218, -0.0334293358027935, 0.020041819661855698, -0.037228647619485855, -0.018697302788496017, -0.0022194297052919865, 0.05183183029294014, -0.007093117572367191, 0.026676133275032043, -0.0006427528569474816, -0.030987676233053207, 0.05958905071020126, -0.06422875821590424, -0.049608856439590454, -0.02466750331223011, -0.06337620317935944, -0.0061388579197227955, 0.027466678991913795, -0.007927249185740948, -0.046014394611120224, 0.03766295686364174, 0.02054515853524208, 0.026580175384879112, 0.034848183393478394, 0.000789447920396924, 0.033376388251781464, -0.059268537908792496, -0.01895482838153839, -0.0721575990319252, 0.026918621733784676, 0.029820039868354797, -0.0019409513333812356, -0.000690043845679611, 0.0027694946620613337, -0.03259972855448723, 0.05358752980828285, -0.0587320476770401, -0.0105813629925251, 0.05418982729315758, 0.001998167484998703, 0.01697094365954399, 0.015198161825537682, -0.08367409557104111, 0.03772737830877304, 0.03477559611201286, -0.03980892524123192, -0.0042248256504535675, -0.06244698911905289, 0.0547548346221447, 0.009328564628958702, 0.04440349340438843, -0.01489880308508873, -0.02220596931874752, 0.06825776398181915, 0.01798543892800808, 0.007517572958022356, 0.06266413629055023, -0.0028270427137613297, 0.0299217626452446, 0.04327884316444397, 0.009763875976204872, -0.01787106692790985, 0.04407285153865814, -0.009728452190756798, -0.04485335201025009, 0.03005722537636757, 0.0017252565594390035, -0.020145233720541, -0.017857376486063004, 0.051484622061252594, 0.01677446812391281, -0.03067675046622753, -0.03791685029864311, 0.016863364726305008, -0.08609088510274887, -0.007466522511094809, -0.021040378138422966, -0.010725957341492176, -0.05242167040705681, 0.04989592358469963, -0.002086624503135681, 0.003858769778162241, 0.06246660649776459, -0.004261501133441925, 0.009328327141702175, -0.017302218824625015, 0.0795067846775055, 0.062498677521944046, 0.06754469871520996, 0.025057213380932808, 0.050964515656232834, -0.0068505690433084965, -0.03935043141245842, 0.053915467113256454, -0.009582288563251495, -0.010975942946970463, -0.018872203305363655, 0.030300987884402275, 0.046468768268823624, 0.0020973538048565388, 0.06198860704898834, -0.004564098082482815, 0.01790885254740715, 0.010543684475123882, 0.023235665634274483, 0.02290257439017296, 0.07585710287094116, 0.014123214408755302, -0.00395132414996624, -0.0038762236945331097, -0.02210254780948162, 0.013251421973109245, -0.04275176301598549, -0.010480345226824284, 0.021500809118151665, -0.008267472498118877, 0.02112804353237152, 0.020787285640835762, 0.004927660338580608, 0.06905613094568253, -0.029021384194493294, 0.00621288176625967, -0.02194088138639927, 0.0606493316590786, -0.0005598116549663246, 0.006401602644473314, -0.0238900575786829, -0.02435990795493126, 0.0072888219729065895, -0.03474964573979378, -0.0393926240503788, 0.007822648622095585, -0.01673009805381298, 0.06412247568368912, -0.0014242507750168443, 0.022234268486499786, 0.034211646765470505, 0.03399774804711342, -0.02429765835404396, -0.05027415230870247, -0.05503130704164505, -0.026211759075522423, -0.01870044507086277, -0.011442852206528187, 0.014615768566727638, 0.02334551140666008, -0.03154538944363594, 0.016566485166549683, -0.031173307448625565, -0.020304227247834206, 0.04018077999353409, -0.044823434203863144, -0.019879482686519623, 0.019843677058815956, 0.016375236213207245, 0.02596328780055046, -0.004783661104738712, 0.04044719412922859, -0.012735382653772831, -0.011068952269852161, -0.026258843019604683, 0.019080044701695442, 0.022654516622424126, 0.005558029282838106, 0.015657050535082817, -0.07308109104633331, 0.028259562328457832, 0.03673815354704857, 0.007010114379227161, -0.0674469992518425, 0.027015957981348038, -0.005089138634502888, -0.040046319365501404, 0.05856196954846382, -0.023878423497080803, 0.005540162790566683, -0.017437394708395004, -0.0032819113694131374, -0.02008168026804924, 0.04926042631268501, 0.029387863352894783, -0.020780716091394424, 0.09590267390012741, 0.020062429830431938, -0.011338889598846436, -0.055316511541604996, 0.014798279851675034, -0.00865097064524889, -0.025165129452943802, -0.017800966277718544, -0.022818079218268394, -0.005832384340465069, -0.07678741961717606, -0.036497294902801514, 0.009870042093098164, -0.007472918834537268, -0.034457795321941376, 0.003034217981621623, 0.015383155085146427, -0.05656879022717476, 0.01577344536781311, -0.02180863358080387, 0.0406593419611454, -0.016941197216510773, -0.025425676256418228, 0.010564373806118965, -0.023307740688323975, 0.003502155654132366, 0.006005614530295134, 0.012708996422588825, -0.049306076020002365, 0.005745890084654093, 0.010796247981488705, 0.015150484628975391, 0.04908197000622749, 0.019580690190196037, 0.012550843879580498 ]
[ -0.11086165904998779, -0.0033130899537354708, -0.013831003569066525, -0.04007650539278984, 0.06945796310901642, -0.06850182265043259, -0.01672256737947464, 0.021225303411483765, -0.001298382761888206, -0.04308771342039108, 0.009574409574270248, -0.02175946533679962, 0.02169114351272583, -0.0323648564517498, 0.10147795081138611, 0.029975812882184982, -0.029637765139341354, -0.065894715487957, 0.02030903659760952, 0.01832638680934906, -0.03111494891345501, -0.02994501031935215, -0.02946901135146618, -0.0049978457391262054, -0.005725212395191193, 0.05231815576553345, 0.00811109971255064, -0.045751821249723434, -0.01434369757771492, -0.18849901854991913, 0.008915957063436508, 0.03986189514398575, 0.03839896619319916, -0.013433331623673439, 0.03875518962740898, 0.06985095143318176, 0.020936191082000732, 0.019899537786841393, -0.013728473335504532, 0.03296500816941261, 0.02957097440958023, 0.04207520931959152, -0.07059851288795471, -0.0647723376750946, 0.00022923083452042192, -0.0094271469861269, 0.014117153361439705, -0.022669166326522827, 0.0026953695341944695, 0.018348464742302895, -0.04914382845163345, -0.030473733320832253, -0.030351340770721436, -0.023524373769760132, -0.01779891364276409, 0.04670306295156479, 0.03869518265128136, 0.06662533432245255, 0.0022352116648107767, 0.029886940494179726, 0.02045009471476078, -0.0397040881216526, -0.1241418644785881, 0.055852580815553665, 0.06798509508371353, 0.056527428328990936, -0.03067942149937153, -0.039850879460573196, 0.0038250675424933434, 0.11940862238407135, -0.013949970714747906, -0.032002273947000504, -0.025860894471406937, 0.05332661420106888, 0.00464985053986311, 0.003362730611115694, -0.009647232480347157, 0.030620740726590157, 0.027502622455358505, -0.04679853469133377, -0.03898514434695244, -0.010964167304337025, -0.02408175729215145, -0.008968329057097435, -0.041033901274204254, 0.010725907981395721, 0.00348692131228745, 0.07693008333444595, 0.06055964529514313, 0.01765265502035618, 0.058456938713788986, -0.013880628161132336, 0.08318398147821426, -0.0023469082079827785, -0.0840742290019989, -0.002435802947729826, -0.004378211684525013, 0.009891912341117859, -0.04154983535408974, 0.4446732997894287, -0.02915015257894993, -0.04875931143760681, 0.06882884353399277, 0.03318050876259804, -0.007306264713406563, 0.024873308837413788, 0.020935311913490295, -0.02335241436958313, 0.02766355127096176, -0.034869398921728134, 0.015384016558527946, 0.01207934133708477, 0.07628407329320908, -0.04994669556617737, 0.013219286687672138, 0.040516406297683716, -0.010264509357511997, 0.017054319381713867, -0.024688297882676125, -0.011721881106495857, 0.003020398085936904, 0.003370890859514475, 0.008692820556461811, 0.017448194324970245, -0.004229181911796331, -0.013792921788990498, 0.033756233751773834, 0.041629597544670105, 0.011998944915831089, -0.002251922618597746, 0.03939573094248772, -0.02672364003956318, -0.05032896623015404, -0.011352701112627983, -0.011787163093686104, 0.01483244076371193, 0.0030611141119152308, -0.03628401458263397, -0.03381061553955078, 0.05506793037056923, -0.011076057329773903, -0.02094949409365654, 0.02858998440206051, -0.0025249982718378305, -0.04479701817035675, 0.09977083653211594, 0.012517441995441914, -0.01672271080315113, -0.008193958550691605, -0.05586250498890877, 0.008906698785722256, 0.029514260590076447, 0.006025162525475025, -0.06153210625052452, 0.030144475400447845, 0.00040290685137733817, 0.101800337433815, -0.029648330062627792, -0.06564195454120636, 0.0135106910020113, 0.011126764118671417, -0.03203819319605827, -0.05593777447938919, 0.028601909056305885, 0.08011948317289352, -0.08583036065101624, 0.0016598772490397096, 0.003938490059226751, 0.05853886157274246, -0.045206181704998016, -0.025867188349366188, 0.031036168336868286, 0.01202254369854927, -0.0400419719517231, 0.05936675891280174, -0.04346809908747673, -0.017453031614422798, 0.025764618068933487, 0.05426359549164772, 0.01942608319222927, 0.020843636244535446, 0.022441502660512924, -0.04593410715460777, 0.011314542032778263, -0.01501807663589716, -0.09976056218147278, -0.03184470906853676, 0.005801714025437832, -0.036894187331199646, -0.02858922630548477, -0.03255653381347656, -0.017688710242509842, -0.06927439570426941, 0.08101589977741241, -0.0149367181584239, -0.018744973465800285, 0.004746333230286837, 0.003041216405108571, -0.03036091849207878, -0.025744883343577385, -0.007580717094242573, 0.055728815495967865, -0.014700031839311123, 0.006222955416887999, -0.09223179519176483, 0.05013246089220047, 0.024259863421320915, -0.046340882778167725, 0.07186385989189148, 0.03766033425927162, -0.029258478432893753, -0.016516108065843582, 0.049768365919589996, 0.03160467371344566, 0.026630455628037453, -0.01182791031897068, -0.02331528626382351, 0.02231963723897934, -0.005132931750267744, 0.046309176832437515, -0.009974688291549683, 0.019711731001734734, 0.006338953040540218, -0.32671478390693665, -0.03835991770029068, -0.0407492071390152, -0.007208378054201603, 0.0037234213668853045, -0.059552088379859924, 0.027811633422970772, -0.016964592039585114, -0.04597116634249687, -0.005627100355923176, 0.08515697717666626, -0.006714213639497757, 0.016902785748243332, -0.08364202082157135, -0.0021185637451708317, 0.0001483437226852402, -0.013777900487184525, 0.020509663969278336, -0.04325389862060547, -0.020082108676433563, -0.011898031458258629, -0.034725479781627655, -0.012800654396414757, -0.06387587636709213, -0.0010609074961394072, -0.0304099228233099, 0.1110416054725647, -0.013391915708780289, 0.0905865728855133, -0.03199821338057518, 0.02109960839152336, -0.0077217877842485905, 0.04395115375518799, -0.13169367611408234, 0.024280352517962456, 0.01234384160488844, 0.007651795167475939, -0.014189579524099827, 0.01869124174118042, -0.039430078119039536, -0.04260675236582756, 0.004103173967450857, -0.06590931117534637, -0.05534793436527252, -0.04027482867240906, 0.0009352717315778136, -0.042337894439697266, -0.03593897074460983, -0.032691314816474915, 0.05118932947516441, -0.009640732780098915, 0.010133654810488224, 0.009789078496396542, 0.019720032811164856, 0.006945504806935787, -0.04261086881160736, -0.07764964550733566, 0.025281997397542, 0.058846358209848404, -0.043068841099739075, 0.03602374345064163, 0.08055442571640015, 0.03246210888028145, -0.06678280979394913, 0.021831577643752098, 0.014114612713456154, 0.0021698791533708572, 0.007571284659206867, 0.058204781264066696, -0.0213368758559227, -0.009023823775351048, 0.0730133056640625, -0.027808211743831635, -0.03069515898823738, 0.00360054150223732, 0.028709134086966515, -0.015596360899508, 0.01720193773508072, -0.008532045409083366, -0.02786836214363575, 0.007150410208851099, -0.04859055578708649, 0.03469328582286835, -0.033805254846811295, -0.01128407008945942, 0.0445333793759346, 0.0004881876229774207, -0.03923637047410011, 0.05362867936491966, 0.03863712400197983, -0.029142428189516068, -0.006596130784600973, 0.00673683313652873, -0.07599800825119019, 0.08944492042064667, -0.0019228289602324367, -0.23063944280147552, 0.015654686838388443, 0.06405641883611679, 0.007863393053412437, -0.025672947987914085, 0.04005773738026619, 0.017788099125027657, -0.03122556582093239, 0.000030804465495748445, -0.012720665894448757, 0.024585090577602386, 0.010921487584710121, -0.0013712213840335608, -0.021100187674164772, 0.04656147211790085, 0.013554323464632034, 0.06067286804318428, -0.004671002272516489, 0.019552458077669144, -0.01144537515938282, -0.0030453314539045095, -0.02822079509496689, 0.13592614233493805, 0.004157508257776499, 0.043044932186603546, 0.019594401121139526, -0.010149017907679081, 0.03319214656949043, 0.06424000859260559, 0.031601738184690475, -0.007455755025148392, 0.011296432465314865, 0.024110212922096252, 0.00650746189057827, 0.004087203647941351, -0.04222580045461655, -0.0032335862051695585, 0.026687875390052795, 0.021704040467739105, 0.026552708819508553, -0.006367259193211794, -0.000579526589717716, -0.020170236006379128, 0.02471679449081421, 0.06666519492864609, -0.00490387761965394, -0.010022489354014397, -0.027029873803257942, -0.03245127946138382, -0.02883114665746689, -0.03430177643895149, -0.040866173803806305, 0.011339399963617325, -0.011074528098106384, 0.034448884427547455, 0.06755271553993225, -0.0020352427382022142, -0.01723085157573223, -0.0010907440446317196, 0.011040075682103634, 0.015461873263120651, -0.04216292127966881, 0.12092559784650803, -0.015282688662409782, 0.014448635280132294 ]
[ 0.004270453006029129, 0.0031236421782523394, 0.00020007792045362294, 0.004068582784384489, 0.007650487124919891, -0.017482124269008636, -0.018612846732139587, 0.02252078615128994, 0.011555302888154984, 0.03693227842450142, 0.0031804819591343403, 0.02301897667348385, -0.012211857363581657, -0.001300095347687602, 0.014027589932084084, -0.02449970506131649, -0.023304801434278488, 0.005598796531558037, 0.009763284586369991, 0.019007902592420578, -0.0409482978284359, -0.003713733283802867, -0.02145167626440525, -0.011805519461631775, 0.01373491995036602, -0.008026914671063423, -0.019806591793894768, 0.0162487905472517, 0.024355152621865273, -0.12227514386177063, -0.02116904780268669, -0.00941409356892109, -0.002266460098326206, 0.0532042570412159, 0.002123411512002349, 0.00750636076554656, 0.04422951117157936, -0.013477548956871033, -0.007042123004794121, -0.044556424021720886, -0.0036023021675646305, 0.009004379622638226, 0.014334436506032944, -0.00626157782971859, -0.023659346625208855, -0.0016276638489216566, -0.04893387481570244, -0.05132579803466797, -0.02122489921748638, -0.011800453066825867, -0.02822285331785679, -0.017426088452339172, -0.0014978734543547034, 0.014803200960159302, 0.005943101830780506, 0.008255035616457462, 0.02613997273147106, 0.004395900294184685, 0.026546435430645943, -0.011566998437047005, -0.004964831285178661, -0.030618660151958466, -0.05040544643998146, -0.032637450844049454, -0.004828625358641148, -0.028507934883236885, 0.004082643426954746, 0.029685823246836662, -0.018445100635290146, 0.003999077714979649, -0.012595108710229397, 0.016262611374258995, -0.0358688086271286, -0.02196565270423889, 0.004274672828614712, 0.04334267973899841, 0.006436820141971111, 0.0025012970436364412, 0.014085134491324425, -0.03541882708668709, -0.0470033660531044, 0.03806637227535248, 0.008051152341067791, -0.0023952419869601727, -0.01323708426207304, 0.018846597522497177, 0.0003085495554842055, 0.00865219347178936, 0.027211109176278114, 0.012112811207771301, -0.021398629993200302, 0.03427698090672493, 0.02029375545680523, -0.005701105110347271, -0.08283725380897522, 0.009556914679706097, -0.0012944682966917753, -0.010481330566108227, 0.009129849262535572, 0.8699876666069031, -0.009361347183585167, 0.04028657078742981, 0.041027702391147614, -0.03577747195959091, -0.0041379849426448345, -0.0016204498242586851, 0.035046495497226715, 0.01351056806743145, 0.0007289873319678009, -0.024466505274176598, 0.012593217194080353, 0.0007486598915420473, 0.0036333203315734863, 0.0018171422416344285, 0.05040375143289566, 0.0346674807369709, 0.035947542637586594, 0.014630020596086979, -0.015784278512001038, 0.0025176028721034527, 0.04304805397987366, 0.016916673630475998, 0.0018033665837720037, 0.019215120002627373, 0.03279900550842285, -0.16783490777015686, 0.013077800162136555, -7.629225761801458e-33, 0.04820000007748604, 0.005824469029903412, -0.014050647616386414, 0.017580633983016014, 0.008637224324047565, 0.005933425389230251, -0.0020932555198669434, 0.025637706741690636, -0.02942553162574768, -0.01610185205936432, -0.043306540697813034, -0.0038448467385023832, 0.0017440831288695335, -0.019607409834861755, 0.042378392070531845, -0.04430857673287392, -0.0028841583989560604, 0.018050923943519592, -0.01992897503077984, 0.02521921694278717, 0.03754184767603874, 0.007711911574006081, 0.009175961837172508, -0.0005209133960306644, 0.04616452381014824, 0.001643525785766542, -0.0009711642633192241, 0.013839839026331902, 0.01286302413791418, -0.056558236479759216, -0.021938011050224304, 0.029554639011621475, -0.016850702464580536, 0.002059047343209386, 0.0068182689137756824, -0.02983071841299534, -0.023825448006391525, -0.0019363450119271874, -0.03503214567899704, 0.005951751954853535, 0.01992768608033657, -0.02008078619837761, -0.05695488676428795, -0.0021864548325538635, 0.03359692171216011, -0.02142532914876938, -0.011881014332175255, -0.0004582314286381006, 0.013113494031131268, -0.033381108194589615, 0.020064571872353554, 0.049840085208415985, -0.008428136818110943, 0.008495793677866459, -0.03358950465917587, 0.02902739867568016, 0.007024552207440138, -0.008436363190412521, 0.00171965966001153, 0.010722320526838303, 0.01131485030055046, 0.002230321289971471, -0.025391411036252975, 0.032058872282505035, -0.005236659664660692, -0.008478050120174885, 0.016341235488653183, 0.022481877356767654, 0.008167768828570843, -0.023852605372667313, -0.04723157361149788, -0.025269772857427597, 0.009419331327080727, -0.00009939535084413365, 0.019230784848332405, 0.022304126992821693, -0.012110576964914799, 0.012395020574331284, 0.0006808270700275898, 0.006083907559514046, -0.035104069858789444, 0.005876925308257341, -0.025618089362978935, -0.012744375504553318, -0.02821047231554985, 0.01338228303939104, -0.00955220963805914, -0.00030797586077824235, -0.021821288391947746, 0.014295808039605618, 0.016210703179240227, 0.004478174261748791, 0.041552428156137466, -0.027332335710525513, -0.016238847747445107, 7.213531286416357e-33, -0.018956929445266724, -0.02644851990044117, -0.002676024567335844, 0.0065302480943500996, 0.02459128201007843, -0.0026024288963526487, -0.003863835707306862, -0.01430920697748661, -0.05564523860812187, 0.0119320722296834, -0.008541694842278957, -0.038065105676651, -0.0050453487783670425, 0.028830619528889656, 0.029030296951532364, 0.019883571192622185, 0.007471910212188959, 0.004517665598541498, 0.034240107983350754, -0.005427129566669464, 0.023977523669600487, -0.00006558775203302503, 0.0247134231030941, 0.0010554903419688344, 0.045426517724990845, 0.05428367480635643, 0.009038934484124184, 0.015547973103821278, 0.01989608444273472, -0.02477475441992283, -0.002041775966063142, -0.023345109075307846, 0.009832024574279785, -0.029846668243408203, 0.026993347331881523, 0.01879536546766758, -0.015909049659967422, -0.04000279679894447, -0.010466672480106354, -0.004244818817824125, -0.02396964095532894, 0.0000923788029467687, -0.00990157388150692, 0.03239506483078003, 0.0066189244389534, 0.0045334468595683575, 0.005292127374559641, 0.0036709175910800695, -0.022924119606614113, -0.002281943568959832, 0.02062271721661091, -0.0006039072759449482, -0.001572740264236927, -0.01702631451189518, -0.001961061730980873, -0.02219068817794323, -0.008787747472524643, 0.017280053347349167, -0.0271484162658453, 0.003141673980280757, -0.016565198078751564, -0.02262185886502266, -0.021497471258044243, -0.0012745913118124008, -0.02584502473473549, -0.008333265781402588, -0.016032882034778595, 0.009976357221603394, -0.01589735969901085, -0.020716620609164238, -0.0021282935049384832, -0.010292216204106808, -0.02310667745769024, 0.03392406180500984, 0.0012649529380723834, -0.02841603383421898, 0.013299067504703999, -0.014596373774111271, -0.002542119240388274, 0.025178959593176842, -0.011985311284661293, 0.0026410582941025496, -0.013799390755593777, 0.03058224730193615, -0.012408568523824215, 0.03766590356826782, -0.026479538530111313, 0.020043637603521347, 0.01694987155497074, -0.0296663548797369, -0.028124084696173668, -0.0067702350206673145, 0.018536260351538658, 0.013070191256701946, -0.005158393178135157, -1.3287608346956858e-8, 0.012742473743855953, 0.01115101482719183, -0.020506184548139572, 0.023748181760311127, 0.031387802213430405, 0.0034225815907120705, -0.014229897409677505, 0.010251093655824661, -0.05385957658290863, 0.014359557069838047, -0.0018091369420289993, -0.016129931434988976, -0.0006456095143221319, -0.004934303928166628, 0.022601455450057983, -0.03384074196219444, -0.015648169443011284, -0.01043364591896534, 0.029047980904579163, 0.014986002817749977, 0.0025244171265512705, 0.05073663219809532, -0.030136749148368835, 0.04246433079242706, -0.025542883202433586, -0.004697647877037525, 0.014571216888725758, -0.05987105518579483, -0.011236557736992836, 0.00311853364109993, 0.034750550985336304, -0.014046188443899155, -0.02869577519595623, 0.015782468020915985, -0.02107664942741394, -0.035828541964292526, 0.05024745315313339, -0.014867216348648071, 0.01822168193757534, 0.014803357422351837, 0.000606895366217941, 0.0025433856062591076, -0.01491351705044508, -0.03486081212759018, -0.03698945790529251, -0.018560413271188736, -0.019046979025006294, -0.02349192649126053, -0.022428827360272408, -0.03385517746210098, 0.011117428541183472, 0.021140938624739647, 0.0019558912608772516, 0.06394411623477936, 0.010339003056287766, -0.0012872512452304363, -0.004767589271068573, -0.017693055793642998, 0.0029504115227609873, 0.014672868885099888, 0.007041891571134329, 0.031184984371066093, -0.021236320957541466, -0.03891656920313835 ]
a-reminder-that-sometimes-its-best-just-to-ask
https://markhneedham.com/blog/2009/09/07/a-reminder-that-sometimes-its-best-just-to-ask
false
2009-09-30 00:42:29
Book Club: Design Sense (Michael Feathers)
[ "book-club" ]
[ "Book Club" ]
In our latest technical book club we discussed a presentation given at the http://www.ndc2009.no/en/[Norwegian Developers Conference] by Michael Feathers titled 'http://www.viddler.com/explore/RoyOsherove/videos/9/[Design Sense]'. In this presentation he presents quite a number of different ideas that he has learned from his experiences in software development over the years. These are some of my thoughts and our discussion: * The first part of the presentation talks about method size and Feathers observes that there seems to be a power law with relation to the size of methods in code bases - i.e. there are a lot of small methods and fewer large methods but there will always be some a very small number of massive methods. http://intwoplacesatonce.com/[Dave] suggested that perhaps this is related to http://en.wikipedia.org/wiki/Benford%27s_law[Benford's Law] which describes exponential growth processes. I wonder whether this observation is somehow linked to the +++<strong>+++broken window theory +++</strong>+++whereby if a method is large then it is likley to increase in size since it probably already has some problems so it doesn't seem so bad to throw some more code into the method. With small methods this temptation might not exist. From what I've noticed the messiest methods tend to be around the edges of the code base where we are integrating with other systems - in these cases there is usually a lot of mapping logic going on so perhaps the benefit of extracting small methods here is not as great as in other parts of the code base. * I really like the observation that *protection mechanisms in languages are used to solve a social problem rather than a technical problem*. For example if we don't want a certain class to be used by another team then we might ensure that it isn't accessible to them by ensuring it's not public or if we dont' want certain methods on a class to be called outside that class then we'd make those methods private. I think this is a reasonable approach to take to protect us from although it was pointed out that in some languages, like Python, methods are publically accessible by default and the idea http://stackoverflow.com/questions/70528/why-are-pythons-private-methods-not-actually-private[when using private methods is to make it difficult to access them from outside the class but not impossible]. I guess this is the same with most languages as you could use some sort of metaprogramming to gain access to whatever you want if needs be. There's an interesting post on the Python mailing list which talks through http://groups.google.com/group/comp.lang.python/msg/b977ed1312e10b21.[some of the benefits of using languages which don't impose too much control over what you're trying to do]. * The observation that *names are provisional* is something that I've noticed quite a lot recently. Feathers points out that we are often reluctant to change the names of classes even if the responsibility of that class has completely changed since it was originally created. I've noticed this a lot on projects I've worked on and I wonder if this happens because we become used to certain types being in the code and there would be a period of adjustment for everyone in the team while getting used to the new names - it might also ruin the mental models that people have of the system. Having said that I think it's better to have names which describe what that class is actually doing now rather than keeping an old name which is no longer relevant. * I quite like the idea that the *physical architecture of a system can shape the logical architecture* and that often we end up with a technological solution looking for a problem. I'm not sure if it's completely related but one way that this might happen is that in an environment where http://dahliabock.wordpress.com/2009/08/06/why-i-think-layer-teams-are-a-bad-idea/[we structure a team in layers] it's possible that certain functionality will end up being implemented by the team that can turn it around the quickest rather than being implemented in the layer where it might best logically belong. He also mentions http://en.wikipedia.org/wiki/Conway%27s_Law[Conway's law] which suggests "\...organizations which design systems \... are constrained to produce designs which are copies of the communication structures of these organizations." - that seems to link in quite closely with the above ideas. * Amongst the other ideas suggested I quite liked the idea that *requirements are just design decisions* but that they are product design decisions rather than technical design decisions. I like this as it opens up the idea that requirements aren't set in stone and that we can work with them to come up with solutions that actually solve business problems instead of 'design by laundry list' as Feathers coins it. I think his recent post about the http://michaelfeathers.typepad.com/michael_feathers_blog/2009/09/thoughts-on-the-future-of-the-boutique-software-shop.html[boutique software shop] explains these ideas in more detail. There's a lot of other ideas in this talk as well but these are some of the ones that made me think the most.
null
null
[ 0.004236130975186825, -0.004665933083742857, -0.015130868181586266, 0.03088335506618023, 0.06248477101325989, 0.010995476506650448, 0.03403019160032272, 0.01582529954612255, 0.020472750067710876, -0.009205413982272148, -0.019674882292747498, 0.008426954969763756, -0.0595843531191349, 0.014513982459902763, -0.04313782975077629, 0.07525985687971115, 0.05950810760259628, -0.022699959576129913, 0.01859854906797409, 0.019825531169772148, 0.04180576279759407, 0.07006625831127167, 0.006093242671340704, 0.032989539206027985, 0.014519908465445042, 0.012834287248551846, -0.001241975580342114, 0.0002633899566717446, -0.038797471672296524, 0.005019652657210827, 0.04748972877860069, 0.014403465203940868, -0.006155067589133978, -0.01725786179304123, 0.02800641395151615, -0.019740143790841103, -0.033063922077417374, 0.021758951246738434, 0.008332249708473682, 0.015630457550287247, -0.052577242255210876, 0.039390429854393005, -0.03039911948144436, 0.01255002897232771, -0.06340944766998291, 0.002474420005455613, -0.034908294677734375, 0.01901240274310112, -0.00861770287156105, -0.002058927435427904, -0.08039164543151855, 0.027042748406529427, -0.012766245752573013, -0.013713519088923931, 0.008841843344271183, 0.042390186339616776, 0.00997562613338232, -0.057631492614746094, -0.0012498433934524655, -0.06007073074579239, 0.001254779170267284, -0.025829480960965157, 0.0011206994531676173, 0.025425979867577553, 0.027194632217288017, -0.027846934273838997, -0.028187096118927002, 0.045734357088804245, -0.03226717188954353, -0.012067105621099472, -0.011887617409229279, 0.01934276707470417, -0.019964205101132393, -0.00417319918051362, -0.0063253119587898254, -0.03910144418478012, 0.014224999584257603, 0.078011654317379, 0.020837368443608284, 0.032526206225156784, -0.0016188285080716014, 0.021283160895109177, 0.02415110170841217, 0.02674100734293461, -0.0005327441031113267, -0.026218432933092117, -0.005317018833011389, -0.011846289969980717, -0.05388067290186882, 0.05245314911007881, 0.001862847595475614, -0.05690127983689308, 0.013118110597133636, 0.0335010401904583, -0.002583960071206093, 0.03405572101473808, 0.0076899537816643715, 0.019017910584807396, -0.004572812933474779, -0.012064998038113117, -0.028140369802713394, -0.03375060483813286, 0.005601316224783659, 0.0013403736520558596, -0.07022715359926224, -0.011593494564294815, -0.013284817337989807, -0.014521675184369087, -0.011862123385071754, -0.008175589144229889, -0.04383113235235214, 0.012424806132912636, -0.023148374632000923, -0.012193524278700352, -0.08020106703042984, 0.049771036952733994, -0.0027019742410629988, -0.0452643521130085, 0.002769952639937401, 0.0025348940398544073, 0.03741546347737312, 0.03812136873602867, 0.001970339100807905, 0.08673461526632309, 0.01599237136542797, 0.0032314369454979897, -0.026881549507379532, 0.08144842833280563, -0.01700679585337639, -0.05738309025764465, -0.006552237551659346, 0.051959119737148285, -0.03133567050099373, -0.019026074558496475, -0.0015133352717384696, -0.010717028751969337, 0.0007010051631368697, 0.012772251851856709, 0.007240065839141607, 0.034387003630399704, 0.0006245505646802485, -0.05819698050618172, 0.028536686673760414, 0.012798592448234558, 0.03057309426367283, -0.005009602755308151, 0.0014964707661420107, -0.028177982196211815, -0.017743047326803207, -0.02205004170536995, 0.0072297463193535805, 0.053015705198049545, 0.02440168894827366, -0.037845250219106674, 0.030809693038463593, 0.07184017449617386, 0.01645737886428833, 0.006527403835207224, -0.00005536058597499505, 0.020230114459991455, 0.04178528115153313, 0.023202121257781982, 0.03622914105653763, 0.026440845802426338, 0.02257641777396202, 0.0023691703099757433, -0.0013640905963256955, 0.06516123563051224, 0.019432682543992996, 0.015953537076711655, -0.06918109208345413, -0.03641197830438614, 0.056334398686885834, -0.038276780396699905, -0.008975903503596783, 0.03199073672294617, 0.07940629869699478, 0.03138141334056854, 0.04393831267952919, 0.001283039222471416, -0.07788730412721634, 0.020642930641770363, 0.008562285453081131, 0.010043741203844547, 0.01536957174539566, -0.03395809978246689, 0.07616501301527023, 0.03672056645154953, 0.0008878225926309824, 0.028724130243062973, -0.0846351608633995, -0.0800933912396431, -0.011566422879695892, -0.021721966564655304, 0.06319717317819595, -0.010616615414619446, 0.015677832067012787, 0.048016130924224854, 0.01661081239581108, 0.06374721974134445, 0.03602367639541626, 0.014119250699877739, 0.019788388162851334, -0.029292495921254158, -0.025702450424432755, 0.04668974131345749, 0.031211312860250473, -0.005925984587520361, -0.07687550783157349, 0.0062898388132452965, 0.0035607561003416777, -0.010836377739906311, 0.05197317525744438, -0.018185732886195183, 0.038547199219465256, 0.01651405356824398, 0.06197464093565941, -0.027391230687499046, 0.05031313747167587, -0.06749505549669266, -0.01919541507959366, -0.004026604816317558, -0.01681065373122692, 0.029321953654289246, 0.00538089731708169, 0.12292671948671341, 0.05710766837000847, -0.037302304059267044, -0.031975358724594116, 0.006709384266287088, 0.006011112593114376, -0.04963674396276474, -0.0037839950527995825, -0.007624531630426645, 0.02221427671611309, -0.0019306049216538668, -0.06735381484031677, -0.014720396138727665, 0.033293284475803375, -0.04286951199173927, 0.014548064209520817, 0.0628819465637207, -0.026173392310738564, 0.05251516029238701, -0.01394204143434763, 0.002809444908052683, 0.005056004971265793, -0.0285160094499588, -0.05044674873352051, 0.023636603727936745, 0.01586104743182659, 0.003974168561398983, 0.062433093786239624, -0.03643153980374336, -0.018554329872131348, -0.018015258014202118, -0.02088938094675541, -0.002493726322427392, 0.047960665076971054, 0.04996046423912048, -0.011587163433432579, 0.04878976568579674, -0.007012464571744204, 0.014427118003368378, 0.0003674268664326519, -0.06956376880407333, -0.02239859290421009, -0.04263366758823395, 0.024557415395975113, 0.01941067911684513, 0.0013795474078506231, 0.042249929159879684, -0.0036514459643512964, -0.009676255285739899, -0.021003225818276405, 0.0035869372077286243, 0.03744281083345413, -0.008619357831776142, -0.026515595614910126, -0.04210171103477478, -0.013400821015238762, 0.055468931794166565, -0.03719208762049675, -0.03541624918580055, 0.009105931967496872, -0.06185093894600868, 0.05599125474691391, -0.08128251135349274, -0.04315308853983879, -0.0025211689062416553, 0.024145957082509995, 0.06028342992067337, 0.0041437610052526, 0.022107305005192757, 0.06595676392316818, 0.006929595954716206, -0.002392142079770565, -0.004577620420604944, -0.007178882136940956, 0.037258781492710114, 0.003260804805904627, -0.005443362519145012, 0.024921834468841553, 0.019589072093367577, -0.01795230619609356, -0.03295598924160004, 0.045586325228214264, -0.004031565506011248, -0.2882137596607208, 0.04681701213121414, 0.001343816053122282, -0.03994036838412285, 0.00029751696274615824, -0.012904788367450237, 0.0005011252942495048, -0.0608489066362381, -0.022619161754846573, -0.003845276776701212, -0.048843562602996826, -0.05469393730163574, -0.026669779792428017, 0.06476393342018127, 0.011489088647067547, 0.043080687522888184, 0.018149016425013542, -0.03374522179365158, 0.0064444816671311855, 0.06665734201669693, -0.004774563945829868, -0.07858190685510635, -0.00712463166564703, 0.0418565459549427, 0.03359682485461235, 0.03963623195886612, -0.10271812230348587, 0.04362734407186508, -0.06121191009879112, 0.0030801836401224136, -0.002531175734475255, 0.0015465316828340292, -0.006112138275057077, -0.026264017447829247, -0.03568603843450546, 0.008914770558476448, 0.020855683833360672, -0.005191790405660868, -0.025274841114878654, 0.026188025251030922, -0.019906798377633095, -0.0360991433262825, -0.004573793150484562, 0.01760024018585682, 0.0731372982263565, 0.014234241098165512, -0.07152572274208069, -0.019918644800782204, -0.024081069976091385, 0.07355763018131256, -0.046906810253858566, -0.034108974039554596, 0.003523539751768112, 0.047157417982816696, -0.029268478974699974, -0.025440217927098274, 0.0020406360272318125, -0.012824228033423424, -0.03331132233142853, -0.016249163076281548, -0.005264753475785255, -0.041283998638391495, -0.009990006685256958, -0.043866515159606934, 0.017011797055602074, -0.05926145613193512, -0.0644901692867279, -0.01443467941135168, 0.06260310858488083, -0.001124911941587925, -0.030479157343506813, 0.011620815843343735, -0.005241168197244406, -0.10957863181829453, -0.014666363596916199, -0.030475817620754242, -0.01976793259382248, -0.01288208644837141, 0.041122954338788986, 0.055101849138736725, -0.024105725809931755, -0.06097239628434181, 0.017396433278918266, 0.010406439192593098, 0.020357294008135796, -0.008388487622141838, 0.027444660663604736, 0.009638722985982895, -0.010915759950876236, -0.0043045226484537125, 0.06113283708691597, 0.010479730553925037, -0.03526334837079048, -0.01927006058394909, 0.02753356657922268, 0.006794369779527187, 0.036008380353450775, -0.0029306686483323574, 0.021237686276435852, 0.036067504435777664, 0.006179685704410076, -0.061293914914131165, 0.019844383001327515, -0.015589968301355839, -0.010044539347290993, -0.018397266045212746, -0.0353357307612896, 0.018099533393979073, 0.047121770679950714, 0.019810263067483902, -0.00330720329657197, -0.03480035811662674, 0.009844440035521984, -0.04349419102072716, -0.04446383938193321, -0.01589147001504898, 0.001242496888153255, 0.037335630506277084, -0.020753078162670135, -0.024691788479685783, -0.0496535524725914, 0.014627043157815933, -0.02557230554521084, -0.004178491421043873, -0.06514398753643036, -0.027727697044610977, -0.02154308184981346, -0.026818562299013138, -0.004379448480904102, 0.015514224767684937, -0.03395862877368927, 0.026514196768403053, 0.027284590527415276, -0.040228914469480515, 0.023517152294516563, -0.01245325617492199, -0.056734848767519, -0.034518010914325714, -0.016911763697862625, -0.009231370873749256, 0.009000450372695923, 0.023471808061003685, 0.006778877228498459, 0.0360293909907341, 0.025132860988378525, 0.02811301499605179, 0.038522958755493164, 0.009899966418743134, 0.03443842753767967, 0.022981667891144753, 0.02276226133108139, -0.0751858502626419, 0.02336161769926548, -0.035190194845199585, -0.022930942475795746, -0.035567522048950195, 0.036018941551446915, -0.010032079182565212, -0.035556692630052567, -0.005213763564825058, 0.039169225841760635, -0.04297797754406929, -0.05940455570816994, -0.02134920470416546, 0.02754395455121994, 0.07107406854629517, -0.030774755403399467, 0.025196319445967674, -0.012256636284291744, -0.04340578615665436, 0.002242298563942313, 0.02842705510556698, -0.05291331186890602, 0.02683158591389656, 0.02261139452457428, -0.02080952562391758, -0.009955765679478645, -0.009912816807627678, 0.03689625486731529, 0.020976774394512177, 0.007796130608767271, -0.04038486257195473, 0.01715453714132309, 0.012734541669487953, 0.051411353051662445, 0.023291556164622307, -0.017315538600087166, 0.009223933331668377, -0.024258239194750786, -0.02917935512959957, -0.05286625400185585, -0.014222364872694016, 0.009411495178937912, 0.034129511564970016, -0.022318027913570404, -0.07183189690113068, 0.04786495119333267, 0.009386417455971241, 0.014932888559997082, -0.004698535893112421, 0.014986895956099033, 0.01691596396267414, -0.013126262463629246, 0.03726063668727875, 0.029810629785060883, -0.06588655710220337, 0.008780487813055515, -0.01058388315141201, 0.002990251174196601, 0.02857038378715515, 0.00015906353655736893, -0.03184914216399193, -0.02494077943265438, -0.014093263074755669, -0.009137448854744434, -0.060185499489307404, -0.021915171295404434, -0.005869531538337469, 0.0017075402429327369, 0.005258555058389902, -0.011512191966176033, -0.028664056211709976, 0.0042699542827904224, -0.029136119410395622, -0.026066046208143234, -0.0026987362653017044, -0.03327195718884468, 0.008157946169376373, 0.012263506650924683, -0.062452688813209534, 0.02380465343594551, -0.020411869511008263, 0.015355831012129784, 0.02249494194984436, -0.03209530562162399, -0.0012930043740198016, -0.042308248579502106, 0.007169266697019339, 0.008020923472940922, 0.04363025724887848, -0.014466604217886925, -0.006012536585330963, -0.02864346094429493, -0.01913846656680107, -0.05838064104318619, 0.018708745017647743, -0.03055955283343792, -0.021377813071012497, 0.019293872639536858, 0.04838520288467407, 0.0029934020712971687, 0.03285232186317444, -0.01028146781027317, 0.0009642366203479469, 0.05197212100028992, -0.06493455171585083, -0.041430991142988205, -0.05133741721510887, -0.0675777867436409, 0.009299583733081818, -0.00811043567955494, 0.04055587947368622, -0.029983337968587875, 0.03931652754545212, 0.02281058393418789, 0.02795986644923687, 0.041807595640420914, 0.004793895408511162, 0.03359591215848923, -0.05520142614841461, -0.0002553616650402546, -0.09163574129343033, -0.004461632110178471, 0.012388583272695541, 0.020416157320141792, -0.020455967634916306, -0.0034453975968062878, -0.041591349989175797, 0.05843524634838104, -0.07505600899457932, -0.01969546265900135, 0.02550337091088295, 0.029385363683104515, -0.02173471637070179, -0.012441709637641907, -0.06262369453907013, 0.00653720460832119, 0.028395550325512886, -0.04656258225440979, -0.037659186869859695, -0.0203752052038908, 0.050147391855716705, 0.01461223978549242, 0.04360194876790047, -0.03786517679691315, -0.003918311093002558, 0.06759587675333023, -0.002158763352781534, 0.016984762623906136, 0.0365004725754261, 0.0008807589183561504, 0.040187109261751175, 0.02105235867202282, 0.006662174593657255, -0.005733733531087637, -0.0037546486128121614, 0.01464950479567051, -0.06627065688371658, 0.044235821813344955, 0.004123576916754246, -0.03950076922774315, -0.040557779371738434, 0.053829412907361984, 0.033923763781785965, -0.026961348950862885, -0.04064512252807617, 0.02416875585913658, -0.037687089294195175, 0.0025641578249633312, -0.037918735295534134, -0.029925843700766563, -0.030962657183408737, 0.06159090995788574, 0.0009068150538951159, -0.00760198850184679, 0.04621748626232147, -0.011789945885539055, -0.01780031807720661, -0.03118900954723358, 0.08482012152671814, 0.08217908442020416, 0.08443102240562439, 0.012226088903844357, 0.0626227855682373, -0.012296793982386589, -0.044610630720853806, 0.007484231609851122, 0.009979203343391418, -0.02280043065547943, -0.030638251453638077, 0.051466330885887146, 0.057701338082551956, -0.004928409121930599, 0.06714341789484024, -0.04093485325574875, 0.01679549738764763, -0.00895728636533022, 0.022298194468021393, 0.011240213178098202, 0.09647967666387558, 0.0054997969418764114, 0.018614115193486214, -0.0212550088763237, -0.06399333477020264, 0.030876053497195244, -0.012606355361640453, -0.01559266448020935, 0.030479496344923973, 0.021473709493875504, 0.0023824814707040787, 0.03385536000132561, 0.04255590960383415, 0.07293199747800827, -0.03363078832626343, -0.013977108523249626, 0.028798555955290794, 0.0268261581659317, -0.0014477160293608904, 0.010081454180181026, -0.03238779306411743, -0.017022015526890755, 0.011338304728269577, -0.025560475885868073, -0.02599846012890339, -0.022791530936956406, -0.019436901435256004, 0.0685281753540039, -0.013364017009735107, -0.012998509220778942, 0.014848985709249973, 0.00808620359748602, -0.052251800894737244, -0.055139485746622086, -0.04649012163281441, -0.03311976417899132, -0.055507197976112366, -0.016380686312913895, 0.04560323804616928, -0.027834121137857437, -0.029443643987178802, -0.01299944519996643, -0.013360489159822464, -0.030149979516863823, 0.05057390779256821, -0.0678938552737236, -0.036164700984954834, 0.007026384584605694, 0.01076353807002306, 0.03931715339422226, 0.013924484141170979, 0.04856891557574272, 0.0017344319494441152, -0.017924681305885315, -0.013765974901616573, 0.024421457201242447, 0.016730228438973427, 0.025119563564658165, 0.021277152001857758, -0.08830380439758301, 0.014160525985062122, 0.027021000161767006, -0.01371349673718214, -0.06283962726593018, 0.029726991429924965, 0.02333446405827999, 0.007943572476506233, 0.04947394132614136, -0.006273591425269842, 0.015943415462970734, -0.024812089279294014, -0.02076137438416481, -0.004165058024227619, 0.030371587723493576, 0.035338860005140305, -0.004093876574188471, 0.08327817171812057, 0.015753405168652534, -0.011068593710660934, -0.03742941841483116, -0.007319885306060314, -0.02325962670147419, 0.011918928474187851, -0.02005956508219242, -0.015243702568113804, -0.019066790118813515, -0.07619281113147736, -0.006022423971444368, 0.027459481731057167, -0.03108818084001541, -0.02255195751786232, 0.034684501588344574, 0.027042392641305923, -0.009501988068223, 0.018703263252973557, -0.042205601930618286, 0.013774936087429523, -0.034819409251213074, -0.00389443663880229, -0.0008731118286959827, 0.012433862313628197, 0.004198198672384024, 0.004542696289718151, 0.01437253039330244, -0.036963727325201035, -0.02187477983534336, -0.012853598222136497, 0.038756754249334335, 0.05435057356953621, -0.0170948076993227, -0.0037864281330257654 ]
[ -0.09377381950616837, -0.00876703578978777, -0.03876977413892746, -0.03916213661432266, 0.05491788685321808, -0.03755410388112068, -0.01910129375755787, 0.027627723291516304, 0.0038480740040540695, -0.017159434035420418, 0.0034224670380353928, -0.016886409372091293, -0.01643364503979683, -0.015320566482841969, 0.07517216354608536, 0.0033993995748460293, 0.0072183250449597836, -0.06556171178817749, 0.012996124103665352, 0.021725069731473923, 0.039797358214855194, -0.026479512453079224, -0.03672170639038086, -0.0468258373439312, 0.00830040406435728, 0.047575339674949646, 0.005974136758595705, -0.02238362655043602, 0.026943620294332504, -0.20471428334712982, 0.018195651471614838, 0.005241445731371641, 0.04742003604769707, -0.026910359039902687, 0.003682243637740612, 0.03791254013776779, 0.03505890443921089, -0.0008666675421409309, -0.015217576175928116, 0.06128208711743355, 0.018427103757858276, 0.026227330788969994, -0.048772066831588745, -0.01564434915781021, 0.019582100212574005, 0.019772158935666084, -0.011138114146888256, -0.04186215251684189, -0.057455480098724365, 0.0059630293399095535, -0.05745982751250267, -0.03166116774082184, -0.010644624009728432, -0.01207499485462904, -0.02227737568318844, 0.005292050074785948, 0.02487853914499283, 0.08438671380281448, 0.0009225654066540301, -0.0063211373053491116, 0.01841268129646778, -0.01517793070524931, -0.13817650079727173, 0.08795983344316483, 0.053056735545396805, 0.06078178435564041, -0.03217881917953491, -0.014447169378399849, 0.01089727133512497, 0.07497401535511017, 0.02012445032596588, -0.014427156187593937, -0.025050872936844826, 0.04439728334546089, 0.0115569569170475, -0.006143616512417793, 0.000629342976026237, 0.019620690494775772, 0.020394986495375633, -0.06382235139608383, -0.02584071084856987, -0.028840769082307816, -0.0007081649382598698, -0.008340982720255852, -0.046118736267089844, 0.0127450255677104, -0.011016184464097023, 0.05036015436053276, 0.042978059500455856, 0.01883869245648384, 0.03429616242647171, -0.019985737279057503, 0.03916464000940323, -0.006676874123513699, -0.059111978858709335, -0.0020706523209810257, 0.003314755856990814, 0.02421671152114868, -0.06022321805357933, 0.44107624888420105, -0.023720553144812584, -0.03710441291332245, 0.06573140621185303, 0.041666723787784576, -0.017969967797398567, 0.02181551232933998, 0.010667426511645317, -0.06639879941940308, 0.038233112543821335, -0.04285189509391785, 0.027581270784139633, 0.013226795941591263, 0.06569445133209229, -0.04041623696684837, -0.0036901049315929413, 0.004110268782824278, 0.014945666305720806, 0.009250255301594734, -0.0009525556233711541, -0.01530805416405201, -0.025263672694563866, 0.006344660650938749, 0.026824669912457466, -0.003857658477500081, 0.008786004967987537, -0.008549396879971027, -0.010747208259999752, 0.06795603781938553, 0.023200208321213722, 0.019533604383468628, 0.04560583829879761, -0.03828661888837814, -0.04876555874943733, -0.007379740010946989, 0.014430895447731018, 0.0007104341639205813, 0.02854674495756626, -0.007253825664520264, 0.01572367176413536, 0.011559202335774899, 0.0073128496296703815, -0.005157212261110544, 0.027727067470550537, -0.014516687020659447, -0.043068304657936096, 0.112781822681427, 0.02194305695593357, -0.03288223221898079, -0.01992090418934822, -0.05577615648508072, 0.02079656720161438, 0.03532673791050911, -0.019092079252004623, -0.07685741037130356, 0.022954611107707024, 0.013182492926716805, 0.08028030395507812, -0.012666959315538406, -0.06267154216766357, -0.0050467695109546185, -0.02243128791451454, 0.00876306090503931, -0.041734181344509125, 0.05295278877019882, 0.04964219406247139, -0.10075205564498901, -0.011875579133629799, 0.004848443903028965, 0.03810989484190941, -0.06916212290525436, -0.020306376740336418, 0.02742631547152996, -0.0170326828956604, -0.007429226767271757, 0.048056505620479584, -0.029812652617692947, -0.051789842545986176, 0.014998643659055233, 0.056972578167915344, 0.01899196207523346, 0.01666177436709404, 0.017222508788108826, -0.025316808372735977, 0.012604285031557083, -0.03759400174021721, -0.06853147596120834, -0.04936760663986206, -0.01413896307349205, -0.04298830032348633, 0.019027801230549812, -0.013843726366758347, 0.005001130048185587, -0.09355684369802475, 0.06881652027368546, -0.04594232141971588, -0.02530556730926037, 0.04264065623283386, -0.01026713103055954, -0.028509432449936867, 0.011948131024837494, -0.0583336278796196, 0.052074871957302094, -0.034972742199897766, 0.02493973635137081, -0.061324890702962875, 0.03961240500211716, 0.06410574913024902, -0.04731830209493637, 0.05938772112131119, 0.070672906935215, -0.032787032425403595, -0.05111255869269371, 0.015103735961019993, 0.014506136067211628, 0.004809933714568615, -0.015073277056217194, -0.0039285654202103615, 0.03858352452516556, -0.004111533518880606, 0.0009518524166196585, -0.03008754923939705, -0.015600978396832943, -0.03518509864807129, -0.3496503233909607, -0.04011286795139313, -0.01192046981304884, -0.025917572900652885, 0.03044346533715725, -0.06606842577457428, 0.015301099978387356, -0.037173423916101456, -0.04269297420978546, 0.0008675453718751669, 0.087688148021698, 0.004975232295691967, -0.021541334688663483, -0.07785018533468246, -0.011221195571124554, 0.0060929846949875355, -0.04768703132867813, -0.04105618596076965, -0.0575430728495121, 0.013135365210473537, 0.0060907634906470776, -0.006268070545047522, -0.024134259670972824, -0.070405974984169, -0.03635157272219658, -0.06917238235473633, 0.08288979530334473, -0.03234052285552025, 0.11989159137010574, -0.012814817018806934, 0.04589086025953293, -0.01288450788706541, 0.0038213920779526234, -0.09328143298625946, 0.012683381326496601, 0.003518136451020837, 0.009347985498607159, 0.012787876650691032, 0.0405949205160141, -0.02834964171051979, -0.026346107944846153, 0.010225001722574234, -0.05266749858856201, -0.011410976760089397, -0.05537789314985275, 0.01952759362757206, -0.016813676804304123, -0.0628112405538559, -0.013616898097097874, 0.0509461872279644, 0.007098033092916012, 0.023466752842068672, 0.029261073097586632, 0.013650729320943356, -0.027550119906663895, -0.0330628901720047, -0.06638015061616898, 0.02937958762049675, 0.004100799560546875, 0.017636651173233986, 0.02948971651494503, 0.05149666219949722, 0.029205864295363426, -0.07251469790935516, 0.018737580627202988, 0.014800862409174442, 0.0012787554878741503, 0.0023609392810612917, 0.040039028972387314, -0.022813815623521805, 0.007050672080367804, 0.13244347274303436, 0.0022060165647417307, -0.0323677696287632, 0.027753587812185287, 0.05084232613444328, 0.01388947106897831, 0.05189855396747589, 0.00594830047339201, -0.006699908524751663, 0.042092032730579376, 0.0034796276595443487, 0.021290376782417297, -0.0399833619594574, -0.005284368991851807, -0.010899643413722515, -0.03195235878229141, -0.03223735839128494, 0.03075089119374752, 0.009802511893212795, -0.014095732010900974, 0.011152398772537708, -0.020215218886733055, -0.03737691789865494, 0.07040473073720932, 0.023968998342752457, -0.248390331864357, 0.003272323403507471, 0.06637758016586304, 0.05485199764370918, -0.021540846675634384, 0.04865068197250366, 0.035498328506946564, -0.04659517854452133, 0.022635862231254578, -0.006154141388833523, 0.012020925059914589, 0.007434850558638573, 0.03136578947305679, 0.011199587024748325, 0.03304149955511093, -0.020853282883763313, 0.0575539730489254, -0.03615054488182068, 0.03763556480407715, 0.004551240708678961, 0.030606931075453758, -0.004321425687521696, 0.15081952512264252, -0.00764184957370162, 0.060342203825712204, -0.0005621258751489222, 0.021385759115219116, 0.014745071530342102, 0.054660674184560776, -0.004215930122882128, 0.0047096917405724525, -0.00012125856301281601, 0.03867804631590843, -0.024832140654325485, 0.01482659112662077, -0.055335331708192825, -0.008711928501725197, -0.010729486122727394, 0.03576827794313431, -0.0007477259496226907, 0.02262468822300434, -0.005193544086068869, -0.030869461596012115, 0.02532952092587948, 0.05344122648239136, 0.030069546774029732, 0.005297213327139616, -0.060217518359422684, -0.01788337528705597, 0.008825249038636684, -0.045132625848054886, -0.03371885046362877, 0.0015844004228711128, -0.01875683292746544, 0.023484433069825172, 0.06736268103122711, 0.05128340423107147, -0.013640129938721657, -0.03401302546262741, 0.011186233721673489, -0.011489192955195904, -0.04072264954447746, 0.09916567802429199, 0.05625750124454498, 0.05184279382228851 ]
[ -0.023418769240379333, 0.03480079397559166, 0.008356453850865364, 0.0030419500544667244, 0.0021305291447788477, -0.006747275125235319, 0.0026273818220943213, 0.008677317760884762, 0.00604568887501955, 0.03128896281123161, -0.012126004323363304, 0.034945499151945114, -0.006403852719813585, -0.017525000497698784, 0.023220514878630638, 0.0015388564206659794, -0.003382003866136074, -0.017502116039395332, 0.005975313950330019, 0.011573846451938152, -0.013468317687511444, 0.028257930651307106, -0.013828369788825512, 0.012292521074414253, -0.005209047347307205, -0.00167759507894516, -0.025868026539683342, -0.00836125947535038, 0.04214053228497505, -0.12107578665018082, -0.04033235087990761, -0.02969331480562687, -0.011598157696425915, 0.009651114232838154, -0.016111260280013084, 0.025522179901599884, 0.01931307092308998, 0.0034988552797585726, -0.01717892661690712, 0.0060377963818609715, -0.02421712502837181, 0.010175458155572414, -0.016509830951690674, 0.007789189927279949, -0.01726510375738144, 0.0013852225383743644, 0.00860387459397316, -0.04482259973883629, -0.006824949290603399, -0.0317147932946682, -0.024263400584459305, 0.00432852515950799, -0.014951672405004501, 0.0033510266803205013, 0.024465641006827354, -0.02444690838456154, 0.013150128535926342, -0.03362641856074333, -0.009728766046464443, -0.009294954128563404, -0.00033295201137661934, -0.004559144843369722, -0.03513749688863754, -0.02007918991148472, -0.022896451875567436, 0.019704394042491913, 0.008567681536078453, 0.029813051223754883, -0.023050863295793533, 0.01680411957204342, -0.01688579097390175, -0.008543767966330051, -0.01980474963784218, -0.0033115772530436516, 0.0017874492332339287, -0.0004615339857991785, -0.013778744265437126, -0.0408521443605423, 0.013209189288318157, -0.008114833384752274, -0.015795834362506866, 0.013112550601363182, 0.015960287302732468, -0.0040274737402796745, 0.008458000607788563, 0.01509984489530325, 0.03230719640851021, 0.01587923988699913, 0.01617862470448017, 0.003205345245078206, 0.003962206654250622, 0.03790825977921486, -0.00371037726290524, 0.03576947748661041, -0.06150384992361069, -0.01714811660349369, -0.0050617605447769165, -0.015873853117227554, -0.004245351999998093, 0.8860012292861938, -0.01851094886660576, 0.060783494263887405, 0.04471281170845032, -0.00931636057794094, 0.010471699759364128, -0.005884471349418163, -0.007713910657912493, 0.010185271501541138, 0.03597612679004669, -0.03230167180299759, -0.002443529199808836, -0.005967977922409773, 0.013842938467860222, 0.011772315949201584, 0.011903772130608559, 0.02018517442047596, -0.010657865554094315, 0.005403435789048672, 0.007822194136679173, 0.016393844038248062, 0.06580477207899094, 0.01098694559186697, -0.010142507031559944, -0.005176489241421223, 0.00646186200901866, -0.1686345338821411, -0.0227035079151392, -8.924548537378631e-33, 0.03242272883653641, 0.015009744092822075, -0.012955067679286003, 0.009739214554429054, 0.005939016118645668, 0.010648117400705814, 0.02362084574997425, 0.003195757744833827, -0.001694460748694837, -0.002391478279605508, 0.010758910328149796, -0.018856342881917953, 0.01508288737386465, -0.01993984915316105, 0.06363815814256668, -0.005221267696470022, -0.0016580283408984542, 0.03628965839743614, 0.005877663381397724, 0.02016136609017849, 0.0274047814309597, 0.019019262865185738, 0.0068357596173882484, -0.0028409473598003387, -0.00015414270455949008, 0.026194024831056595, 0.019526243209838867, -0.016455942764878273, -0.010725265368819237, -0.04208141565322876, -0.004071065224707127, 0.01153208501636982, -0.020541174337267876, -0.017152734100818634, 0.02334587275981903, -0.04585924744606018, 0.00026113115018233657, -0.003244376042857766, 0.015133731998503208, -0.022861383855342865, -0.029970970004796982, -0.011153019964694977, -0.035843368619680405, 0.0132003054022789, -0.011028419248759747, -0.011675569228827953, 0.005650846287608147, 0.015262071043252945, 0.03106732666492462, -0.02511872909963131, 0.011803222820162773, 0.020489590242505074, 0.001673550927080214, -0.014143436215817928, -0.002623657463118434, 0.01706767827272415, 0.003921938128769398, 0.024516303092241287, 0.0017429882427677512, 0.0041781519539654255, 0.003011296968907118, -0.032489925622940063, -0.0035247590858489275, 0.01910986565053463, -0.008804281242191792, -0.04727255180478096, -0.026888003572821617, -0.005876699462532997, 0.014933657832443714, -0.018818704411387444, -0.038766928017139435, -0.0002832348400261253, -0.025268755853176117, 0.0010702445870265365, -0.001030285027809441, -0.0022104426752775908, 0.016727842390537262, 0.023648478090763092, -0.0262801181524992, 0.026733307167887688, 0.0010099054779857397, 0.01264876127243042, 0.039317820221185684, -0.027963872998952866, -0.006828324869275093, -0.00028019765159115195, 0.013159186579287052, 0.02057352289557457, 0.011117713525891304, 0.007478900253772736, 0.020174100995063782, -0.014527339488267899, 0.003568134503439069, -0.0321727879345417, -0.03899066150188446, 8.522745466484372e-33, -0.00794866494834423, -0.03679446876049042, -0.02696678787469864, -0.010332845151424408, -0.001934753148816526, 0.020718229934573174, -0.0056960852816700935, -0.009697838686406612, -0.05546540766954422, 0.030857397243380547, -0.009329795837402344, -0.0020119349937886, -0.015702754259109497, 0.018202977254986763, 0.03441206365823746, -0.030734529718756676, 0.024295678362250328, -0.028395317494869232, 0.0431281141936779, -0.00038637418765574694, 0.030881857499480247, 0.011668878607451916, 0.020931556820869446, -0.0143092330545187, 0.003436073660850525, 0.0315583199262619, -0.03348344564437866, 0.000794928171671927, 0.00877233687788248, 0.01706061325967312, -0.00315443379804492, -0.022864798083901405, 0.001229453249834478, 0.014251695945858955, -0.02828766033053398, 0.038513168692588806, 0.011461859568953514, -0.0165731068700552, 0.010090745985507965, 0.014813379384577274, 0.011217919178307056, -0.004613820929080248, 0.013048500753939152, -0.0025465493090450764, 0.02253836765885353, -0.0005549688939936459, -0.01174780074506998, -0.020548490807414055, -0.004890254233032465, 0.026000184938311577, 0.012657628394663334, 0.0021032330114394426, 0.036582231521606445, -0.006349039264023304, -0.01418991293758154, -0.010055956430733204, -0.01002500019967556, -0.021092981100082397, -0.03688018396496773, 0.005639647599309683, -0.015566793270409107, 0.00043708347948268056, -0.03359886631369591, -0.01615382544696331, -0.04498244822025299, 0.007472143042832613, -0.024913419038057327, -0.009836158715188503, 0.0032215770334005356, -0.046023156493902206, -0.02510485239326954, 0.009855319745838642, 0.005875657312572002, 0.04013989493250847, -0.011753671802580357, 0.004395011346787214, -0.00712477695196867, -0.028666693717241287, -0.010855591855943203, 0.005030872765928507, 0.011597859673202038, -0.0033944749739021063, 0.013619557954370975, -0.029701830819249153, -0.013649272732436657, 0.001402113470248878, 0.0036307349801063538, 0.01076433528214693, 0.011685461737215519, -0.03310353681445122, -0.02445184625685215, -0.018541056662797928, 0.01671641319990158, 0.019788220524787903, 0.0022808765061199665, -1.4255865821155567e-8, 0.015191106125712395, 0.04055946320295334, 0.012172983959317207, 0.018898198381066322, 0.03068401664495468, 0.016022779047489166, -0.012950019910931587, -0.0006014364771544933, -0.027620036154985428, 0.008568963035941124, 0.03528045862913132, -0.008671057410538197, 0.002571044722571969, -0.0038304943591356277, 0.022342322394251823, -0.035408418625593185, -0.023623062297701836, -0.01875872164964676, 0.01776324026286602, -0.0018859230913221836, 0.00801093690097332, 0.044399309903383255, -0.006945875473320484, 0.017115101218223572, -0.012032957747578621, 0.0032356581650674343, 0.021083980798721313, -0.08132000267505646, -0.0016332597006112337, -0.0008403353858739138, -0.029703956097364426, -0.02818433567881584, -0.04305650666356087, 0.022844821214675903, -0.015670981258153915, -0.01573999971151352, -0.02002318575978279, 0.023094817996025085, 0.011281837709248066, 0.004855463281273842, -0.002198131289333105, -0.02694987691938877, -0.0049960678443312645, -0.021278036758303642, -0.008959588594734669, -0.023106731474399567, -0.02114560641348362, -0.03166728839278221, 0.04582713171839714, -0.01918540522456169, 0.04163647070527077, 0.01698426902294159, 0.008485165424644947, 0.023710286244750023, 0.005979461595416069, 0.018728941679000854, 0.00826698262244463, -0.0228095892816782, -0.037487681955099106, 0.007705634459853172, -0.007598374970257282, 0.03673489764332771, -0.0019912298303097486, -0.003931438084691763 ]
book-club-design-sense-michael-feathers
https://markhneedham.com/blog/2009/09/30/book-club-design-sense-michael-feathers
false
2009-09-30 23:39:16
Scala: 99 problems
[ "scala" ]
[ "Scala" ]
My colleague http://lizdouglass.wordpress.com/[Liz Douglass] and I have been playing around with Scala and Liz recently pointed out Phil Gold's 'http://aperiodic.net/phil/scala/s-99/[Ninety Nine Scala Problems]' which we've been working through. One in particular which is quite interesting is number 7 where we need to flatten a nested list structure. Therefore given this input: [source,scala] ---- flatten(List(List(1, 1), 2, List(3, List(5, 8)))) ---- We would expect this output: [source,scala] ---- res0: List[Any] = List(1, 1, 2, 3, 5, 8) ---- I tried this out on my own using recursion but kept ending up creating a stack overflow by writing code that never terminated! We decided to try it out while pairing together using a more imperative approach so that we could get something that actually worked to begin with and ended up with this: [source,scala] ---- def flatten[A](list : List[A]) : List[A] = { var flattenedList : List[A] = Nil for(item <- list) { item match { case x : List[A] => flattenedList = flatten(x) ::: flattenedList case _ => flattenedList = item :: flattenedList } } flattenedList } ---- It works and we've got a bit of recursion going on but we're still mutatating the state of a variable so it feels like we're missing out on the strength of a language which provides us with the ability to work in a functional way. Our second attempt made use of the knowledge we gained from this first attempt with respect to that cases that existed for flattening the list and we made use of a technique which I picked up while learning a bit of F# - the inner function which keeps an accumulator with the flattened list on each recursion: [source,scala] ---- def flatten[A](list : List[A]) : List[A] = { def flat[A](rest : List[A], flattenedList : List[A]) : List[A] = rest match { case Nil => flattenedList case (head:List[A])::tail => flat(tail, flat(head, List()) ::: flattenedList) case head::tail => flat(tail, head :: flattenedList) } flat(list, Nil).reverse } ---- I like the fact that we don't have to mutate any state with this solution but the second case statement is pretty difficult to understand. We had to distinguish between whether the head of the list was another list or just an element in order to determine whether we needed to break that value down further or just add it to the new list. Is there a better way to do that than to explicitly state the type of head as we've done here? Another colleague, Ben Barnard, came over to work with us on the next iteration of this solution which was somewhat driven by seeing how Phil Gold had solved the kth item problem for which he describes a solution which narrows down the initial list each time while still calling the same function: [source,scala] ---- def nth[T](n: Int, l: List[T]): T = (n, l) match { case (0, e :: _ ) => e case (n, _ :: tail) => nth(n - 1, tail) case (_, Nil ) => throw new NoSuchElementException } ---- In this case when we reduce the list we are searching on we also reduce the index that we are looking for by one which works quite nicely. For the flatten function we were able to recurse on the original function by running the list back through the flatten function whenever we didn't know if the 'head' was an element: [source,scala] ---- def flatten[A](list : List[A]) : List[A] = list match { case Nil => list case (head:List[A])::tail => flatten(head) ::: flatten(tail) case head::tail => head :: flatten(tail) } ---- The nice thing about this solution is that the list is in the correct order at the end so we don't need to reverse it as we did with the previous solutions. This way of coding is still not quite intuitive to me but I think the solution is cleaner and easier to read than the others.
null
null
[ 0.00777555862441659, -0.049145348370075226, -0.00999749917536974, 0.010511300526559353, 0.0875648632645607, 0.038301076740026474, 0.005509276874363422, 0.007780277635902166, -0.003455998608842492, -0.0351775698363781, 0.02192090079188347, -0.0005154292448423803, -0.07421589642763138, 0.0321146585047245, -0.01768471486866474, 0.072425976395607, 0.08625056594610214, -0.04593024402856827, -0.023321738466620445, 0.014080725610256195, 0.041883934289216995, 0.07119329273700714, 0.014760773628950119, 0.020222175866365433, 0.016322650015354156, 0.001251877867616713, 0.01813325472176075, 0.025566725060343742, -0.04164230823516846, -0.020276309922337532, 0.02732032723724842, 0.016302479431033134, 0.005157500505447388, -0.016773276031017303, 0.002043548272922635, -0.03854842483997345, 0.010152572765946388, 0.012952614575624466, -0.018243633210659027, 0.03348580375313759, -0.042631007730960846, 0.020604096353054047, -0.011201192624866962, 0.025285067036747932, -0.038137733936309814, 0.00975977536290884, -0.03831158205866814, -0.006037877406924963, -0.016300905495882034, 0.0019493778236210346, -0.054183077067136765, 0.024409813806414604, -0.014978408813476562, -0.009635713882744312, -0.023005615919828415, 0.05534421280026436, -0.007027606945484877, -0.08708605170249939, 0.05918165296316147, -0.04852874204516411, -0.026637030765414238, 0.008797637186944485, 0.017567455768585205, 0.01408930029720068, 0.014342475682497025, 0.0011707517551258206, -0.025233803316950798, 0.04537566751241684, -0.056725870817899704, -0.02438203990459442, -0.03327402472496033, 0.0018129160162061453, 0.00009940449672285467, -0.012378706596791744, -0.028736962005496025, -0.02919795922935009, -0.0205894336104393, 0.06587862968444824, 0.007240005768835545, 0.03400678187608719, -0.015559469349682331, 0.002877668011933565, 0.04781854897737503, 0.010010886937379837, 0.03850223496556282, -0.00913503672927618, -0.05073965713381767, -0.000055314467317657545, -0.06328681856393814, 0.06923689693212509, 0.0028103357180953026, -0.06260396540164948, -0.008972578682005405, 0.018582206219434738, 0.019586363807320595, 0.001968124182894826, 0.01203759852796793, -0.008338235318660736, -0.012755640782415867, -0.0017330063274130225, -0.058245692402124405, -0.026078270748257637, 0.00687182554975152, -0.02501951903104782, -0.05830322578549385, -0.019586985930800438, -0.023714767768979073, 0.006017252337187529, 0.01905033364892006, 0.0022498827893286943, -0.03817424178123474, 0.0034301846753805876, -0.006710006855428219, 0.00016949854034464806, -0.0809284895658493, 0.06163956597447395, 0.01850709319114685, 0.003463988658040762, -0.03826048597693443, 0.026777135208249092, 0.07431767880916595, 0.005888065788894892, 0.027755428105592728, 0.07912179082632065, 0.030055508017539978, 0.02995266765356064, 0.028020163998007774, 0.06647956371307373, 0.003633246524259448, -0.05411287769675255, -0.005493815056979656, 0.04181453585624695, -0.003560831071808934, -0.009624571539461613, 0.007461498491466045, -0.028398459777235985, -0.04741436988115311, 0.01951361447572708, 0.04337375611066818, 0.036958761513233185, -0.010032735764980316, -0.014846437610685825, 0.00926077738404274, -0.04238411784172058, 0.04408935457468033, 0.006550861522555351, -0.018155625090003014, 0.012345424853265285, -0.014282431453466415, 0.021269364282488823, 0.023241104558110237, 0.03990732133388519, 0.04348000884056091, -0.03821059316396713, 0.03670087829232216, 0.06123761460185051, 0.02077282965183258, 0.023400450125336647, -0.011539606377482414, 0.030557924881577492, 0.049637313932180405, 0.025044770911335945, 0.01873704046010971, 0.0700417011976242, 0.04086190462112427, -0.008743107318878174, -0.013819249346852303, 0.034788139164447784, 0.0035603330470621586, -0.02241654135286808, -0.05289195105433464, -0.021713661029934883, 0.06357023864984512, -0.030825059860944748, -0.021543821319937706, -0.0004504959215410054, 0.07525420933961868, 0.0044677164405584335, 0.06661879271268845, -0.002647013170644641, -0.07372652739286423, 0.027637900784611702, -0.01659904420375824, 0.0013956772163510323, -0.000322720967233181, -0.014320706948637962, 0.08137497305870056, 0.038444869220256805, 0.02650788240134716, 0.03168852999806404, -0.05113861337304115, -0.0633169412612915, -0.018018139526247978, -0.0018779111560434103, 0.06789270788431168, -0.04369908198714256, -0.01035493053495884, 0.05410664901137352, 0.007130446378141642, 0.016727419570088387, 0.0246783047914505, 0.016555920243263245, -0.014612440019845963, -0.014650361612439156, -0.008933363482356071, 0.052578892558813095, 0.012769967317581177, -0.02355664223432541, -0.02776888944208622, 0.05696631595492363, 0.010132171213626862, -0.01439230889081955, 0.040825407952070236, -0.03892456740140915, 0.024487800896167755, 0.06051691994071007, 0.025825543329119682, -0.009582285769283772, 0.05740068852901459, -0.03905913978815079, 0.04058123007416725, 0.00975978747010231, -0.031197695061564445, -0.026958435773849487, -0.007292487658560276, 0.1368330866098404, 0.05685736984014511, -0.03552199527621269, -0.05824219435453415, 0.00947137363255024, -0.015924926847219467, -0.034690018743276596, 0.0021745292469859123, -0.004226007033139467, -0.03138173744082451, 0.021536653861403465, -0.022548850625753403, -0.0020959957037121058, 0.03132382035255432, -0.025914538651704788, -0.009477697312831879, 0.07615576684474945, -0.025162842124700546, 0.0539996512234211, 0.007153786718845367, -0.014503234066069126, -0.009646676480770111, -0.04255816340446472, -0.05882444977760315, 0.03285885229706764, 0.03026137687265873, -0.034918610006570816, 0.06186303496360779, -0.040451593697071075, -0.02602720446884632, -0.03762315586209297, -0.04163553565740585, 0.007353254593908787, 0.04787646234035492, 0.055313654243946075, -0.03362385928630829, 0.03873739019036293, -0.0006940521416254342, -0.028662055730819702, -0.03168325126171112, -0.055274415761232376, -0.038016173988580704, -0.0023126781452447176, 0.025925658643245697, 0.02044433355331421, 0.0334404855966568, 0.01019552443176508, 0.009271972812712193, -0.005450844764709473, 0.0029058572836220264, -0.004623733926564455, 0.005939220543950796, -0.011182385496795177, -0.025780335068702698, -0.04459210857748985, -0.03502075746655464, 0.05357908084988594, -0.012128511443734169, -0.04474953934550285, 0.00748071912676096, -0.0385780930519104, 0.07005205750465393, -0.07154013216495514, -0.023725492879748344, 0.0059195468202233315, 0.016581449657678604, 0.04282936453819275, -0.053725387901067734, -0.01820024661719799, 0.040987152606248856, 0.011871878989040852, 0.03873962536454201, 0.024293389171361923, -0.007943862117826939, 0.014115069061517715, 0.01176054123789072, 0.013344629667699337, 0.06152523681521416, 0.025278808549046516, -0.02262924239039421, -0.01709863170981407, 0.009566670283675194, 0.0034207177814096212, -0.25159838795661926, 0.035275883972644806, -0.018476299941539764, -0.007671057246625423, 0.02227936126291752, -0.02582898736000061, -0.024504853412508965, -0.03774578124284744, 0.014280681498348713, 0.019346226006746292, -0.025038359686732292, -0.04143157973885536, -0.050412990152835846, 0.05878763273358345, 0.007124356925487518, -0.013408157043159008, -0.045185964554548264, -0.004269937984645367, -0.006699345074594021, 0.07525567710399628, 0.005789938848465681, -0.05000099912285805, -0.00614244444295764, 0.07525568455457687, 0.018772460520267487, 0.0456523671746254, -0.07953804731369019, 0.014203178696334362, -0.06325492262840271, -0.05191028118133545, -0.013441617600619793, -0.017099324613809586, 0.006417588330805302, -0.03237815946340561, -0.0326789915561676, -0.01718241535127163, 0.038930442184209824, 0.009178205393254757, 0.013139480724930763, 0.0513516366481781, -0.028019780293107033, -0.04512947052717209, -0.008970830589532852, 0.010546662844717503, 0.08064260333776474, -0.025087056681513786, -0.0771356001496315, -0.02242969535291195, -0.03714340180158615, 0.051732465624809265, -0.02643568255007267, -0.04329155012965202, -0.020378118380904198, 0.03880297765135765, -0.0032466729171574116, -0.0008007728029042482, -0.03847574442625046, -0.02098538540303707, -0.011441180482506752, 0.010210475884377956, -0.0182961318641901, -0.04364201799035072, 0.0010019785258919, -0.049382805824279785, -0.01330682635307312, -0.032030846923589706, -0.07133673876523972, 0.034606218338012695, 0.07022517174482346, 0.0367736853659153, -0.012062584981322289, 0.00010890065459534526, -0.03386874869465828, -0.1145869791507721, -0.04449613019824028, -0.024041904136538506, -0.03011334501206875, -0.04116600751876831, 0.019703222438693047, 0.04805026575922966, -0.05696927756071091, -0.07606089115142822, 0.008130824193358421, -0.0224729236215353, 0.03798443451523781, 0.0038302482571452856, -0.014848561957478523, -0.03937236964702606, -0.009164630435407162, -0.006055617239326239, 0.053718943148851395, -0.019626334309577942, -0.008604345843195915, 0.0005020090029574931, -0.002971864305436611, 0.059331536293029785, -0.009017332457005978, 0.009535757824778557, 0.02230486460030079, 0.037598978728055954, 0.0324406623840332, -0.046314071863889694, 0.0035422234795987606, -0.008566849865019321, -0.007706628646701574, 0.02023116685450077, -0.056365717202425, 0.00822895485907793, 0.018940718844532967, 0.009731424041092396, -0.035239897668361664, -0.04192286729812622, 0.020894942805171013, -0.06627131998538971, -0.022532353177666664, -0.015317087061703205, -0.013216616585850716, 0.039164140820503235, 0.01739194057881832, -0.026039699092507362, -0.075913205742836, -0.0072822957299649715, 0.03339182585477829, 0.006741171702742577, -0.08715351670980453, -0.052386943250894547, -0.0171285979449749, -0.026070186868309975, 0.003944494295865297, 0.04125645011663437, -0.015774786472320557, 0.008654981851577759, 0.011993645690381527, -0.05353640392422676, 0.03388521447777748, -0.028021911159157753, -0.021050604060292244, -0.023751836270093918, -0.020522188395261765, 0.005003730766475201, 0.01861209236085415, -0.010181816294789314, 0.007761082611978054, 0.026385797187685966, 0.024663837626576424, 0.03443754091858864, 0.024807117879390717, -0.010475612245500088, -0.009029097855091095, 0.043775226920843124, 0.027210300788283348, -0.027781222015619278, -0.012441940605640411, -0.040222473442554474, 0.0012792178895324469, -0.003717148909345269, 0.034796055406332016, -0.03636786714196205, -0.05450603365898132, -0.044909168034791946, 0.026606440544128418, -0.04441004991531372, -0.019415754824876785, -0.008686493150889874, -0.01717417687177658, 0.06008962541818619, -0.03412611410021782, 0.008351261727511883, -0.030571090057492256, 0.010906555689871311, -0.003101110691204667, 0.001990911550819874, -0.0067189098335802555, 0.019960887730121613, 0.008775376714766026, -0.0030027213506400585, 0.010209795087575912, 0.032491907477378845, 0.006019447464495897, 0.010046531446278095, 0.01254981942474842, -0.006075404118746519, -0.011276839300990105, 0.00552710983902216, 0.0401248037815094, -0.003262989455834031, -0.002052325988188386, 0.019037514925003052, -0.06270913779735565, -0.04285373166203499, -0.06354839354753494, -0.012118896469473839, -0.03360928222537041, 0.03653685376048088, -0.019665692001581192, -0.07616201043128967, 0.02329213172197342, 0.03493820130825043, -0.009829779155552387, -0.011942952871322632, -0.0034523815847933292, -0.00533118424937129, -0.003551358822733164, -0.0014727192465215921, 0.08256182074546814, -0.0680173933506012, -0.009319216944277287, -0.011754236184060574, 0.013273716904222965, 0.045537665486335754, 0.03985112905502319, -0.04224636033177376, -0.023526156321167946, -0.020469216629862785, 0.02992265671491623, -0.02672109380364418, -0.030977493152022362, -0.0044076587073504925, 0.015950942412018776, -0.025613564997911453, -0.010183664970099926, -0.03417723625898361, 0.0057100760750472546, -0.011071589775383472, -0.04734804853796959, -0.011713000014424324, -0.02734672836959362, 0.012774442322552204, 0.04462849348783493, -0.030281521379947662, 0.06042967364192009, -0.037237051874399185, 0.04020143672823906, 0.029069066047668457, -0.014713577926158905, 0.015069504268467426, -0.039560962468385696, 0.015165657736361027, -0.027261069044470787, 0.05505652725696564, -0.0017985888989642262, -0.0318153090775013, -0.02866712212562561, 0.01338877622038126, -0.05347909778356552, 0.011935061775147915, 0.017143676057457924, -0.03533821552991867, 0.016147399321198463, 0.04498905688524246, -0.013416873291134834, 0.042685963213443756, 0.020185474306344986, -0.03308367729187012, 0.04143369197845459, -0.056696005165576935, -0.012259279377758503, -0.04403957724571228, -0.02615172788500786, 0.02504482865333557, -0.0035754977725446224, 0.03276246786117554, -0.05101905018091202, 0.032127272337675095, 0.04061923176050186, 0.03376726433634758, 0.04620702192187309, -0.011964515782892704, 0.049362458288669586, -0.041575897485017776, 0.008207934908568859, -0.09070731699466705, -0.021906547248363495, 0.014405102469027042, 0.027000492438673973, -0.02532864734530449, -0.024459892883896828, -0.019563915207982063, 0.011302165687084198, -0.06089793145656586, -0.008085295557975769, 0.05980075150728226, -0.00463396031409502, 0.003835143521428108, 0.00004612292832462117, -0.05352839082479477, 0.015925338491797447, 0.04912129044532776, -0.030303500592708588, 0.00509354192763567, -0.03276582434773445, 0.03747222572565079, 0.007456040475517511, 0.011735199019312859, 0.0007717211847193539, 0.02272922359406948, 0.05444759130477905, 0.018910232931375504, 0.035829782485961914, 0.06844227015972137, -0.008615894243121147, 0.02150721848011017, 0.036860156804323196, 0.005120392423123121, 0.010676885955035686, 0.037951722741127014, -0.036498911678791046, -0.06810861080884933, 0.03873538598418236, 0.02009883150458336, -0.05548098310828209, -0.02683093398809433, 0.06068792939186096, 0.01501469686627388, -0.028932075947523117, -0.01844261772930622, -0.014380797743797302, -0.042465511709451675, -0.029133068397641182, -0.027973387390375137, 0.026686184108257294, -0.045906636863946915, 0.06216947361826897, -0.020102446898818016, -0.0039001686964184046, 0.06455951929092407, 0.015562277287244797, -0.03805519640445709, 0.014752479270100594, 0.09038688242435455, 0.07588240504264832, 0.05848650634288788, -0.015444338321685791, 0.050613388419151306, -0.013406084850430489, -0.0406891368329525, 0.012621630914509296, -0.005493328906595707, 0.014745975844562054, -0.02115991711616516, 0.04549923539161682, 0.08426980674266815, -0.03394196927547455, 0.08288616687059402, -0.03410141542553902, 0.008757147006690502, -0.011210106313228607, 0.004706705920398235, 0.021707899868488312, 0.06919854879379272, 0.0263652503490448, 0.03208628669381142, -0.0036619442980736494, -0.06149246171116829, 0.017321240156888962, 0.005865158047527075, 0.002691978821530938, 0.012203010730445385, 0.008190861903131008, 0.007743116468191147, 0.025773199275135994, 0.030980635434389114, 0.08684206753969193, -0.02389099821448326, -0.03328350558876991, -0.00385272316634655, -0.010134638287127018, -0.0031869004014879465, -0.010985089465975761, -0.030520090833306313, -0.014119341038167477, 0.007571280002593994, -0.04139206185936928, 0.017053017392754555, -0.01073064561933279, -0.030445335432887077, 0.035070423036813736, -0.025367705151438713, 0.014350132085382938, 0.018499895930290222, 0.006503918673843145, -0.014718808233737946, -0.05099070817232132, -0.05057744309306145, -0.03818044811487198, -0.07737694680690765, 0.027493203058838844, 0.0203658826649189, -0.0009897995041683316, -0.030096884816884995, -0.04569639638066292, -0.013017506338655949, -0.027635442093014717, 0.04227195680141449, -0.028541721403598785, -0.039200156927108765, 0.02830214612185955, 0.018432876095175743, 0.020600127056241035, 0.04167938977479935, 0.05611627548933029, -0.011141885071992874, 0.002552481833845377, -0.03166808560490608, -0.025736376643180847, 0.0524509958922863, 0.027993621304631233, -0.00022694254585076123, -0.0589599609375, -0.005988785531371832, 0.02001001685857773, -0.003234137548133731, -0.08064131438732147, 0.012415476143360138, 0.017822694033384323, 0.00045130649232305586, 0.05033469200134277, -0.013110190629959106, -0.006282141897827387, -0.041547324508428574, -0.01422640960663557, 0.025499602779746056, 0.0053716921247541904, 0.04343479499220848, -0.00921624805778265, 0.07124654203653336, 0.014902845956385136, -0.02093338593840599, -0.020728472620248795, -0.0020600049756467342, -0.02227974124252796, -0.00420626113191247, -0.02070668525993824, -0.008114974945783615, -0.03540567681193352, -0.032578352838754654, -0.03801260143518448, -0.026959910988807678, -0.05002825707197189, -0.028108004480600357, 0.00471572857350111, 0.028785089030861855, -0.026562675833702087, 0.05243215337395668, -0.04643654450774193, 0.0459575280547142, -0.025950025767087936, -0.023887116461992264, 0.004471840802580118, 0.009425925090909004, -0.009809866547584534, 0.03456658124923706, 0.03058718889951706, -0.03380152955651283, 0.01642110012471676, -0.01359732635319233, 0.026594674214720726, 0.028839513659477234, -0.021211443468928337, 0.008465046063065529 ]
[ -0.06334970146417618, -0.03320220112800598, -0.06714537739753723, -0.008073864504694939, 0.008663547225296497, -0.03386592119932175, -0.04710156098008156, 0.04169943928718567, 0.022223444655537605, -0.02005777321755886, -0.01814623363316059, -0.08568847924470901, 0.013919546268880367, -0.016083132475614548, 0.07416323572397232, -0.020934907719492912, -0.03654976561665535, -0.017288006842136383, -0.0705258771777153, 0.01962241157889366, 0.0159138236194849, -0.021615635603666306, -0.07634489238262177, -0.0344083197414875, 0.08991490304470062, 0.051574237644672394, 0.03758687153458595, -0.0582285039126873, -0.0012035707477480173, -0.22257836163043976, -0.02575038932263851, -0.028982847929000854, 0.041756656020879745, -0.001139323110692203, -0.011854125186800957, 0.04555954039096832, 0.036445725709199905, 0.013525317423045635, -0.04586337134242058, 0.05367041006684303, 0.05773637816309929, 0.0378032922744751, -0.05579107999801636, -0.05185030773282051, 0.032785478979349136, 0.03820876404643059, -0.028214462101459503, 0.0033323876559734344, -0.02590482495725155, -0.003410739591345191, -0.08071906119585037, -0.0039417021907866, -0.030945515260100365, -0.006551405414938927, 0.006818566936999559, 0.03380623087286949, 0.04818153753876686, 0.0488540381193161, 0.0077000330202281475, 0.03552227467298508, 0.01167649682611227, 0.008946919813752174, -0.12600292265415192, 0.059979990124702454, 0.0062364013865590096, 0.08050491660833359, -0.0008001447422429919, -0.02779647707939148, -0.027084125205874443, 0.09797698259353638, 0.0213495921343565, -0.028599677607417107, 0.001956160878762603, 0.04589639604091644, 0.022615166381001472, -0.05617669224739075, -0.01886633411049843, 0.006789759732782841, 0.042650237679481506, -0.017908107489347458, -0.033410970121622086, -0.03133545070886612, -0.016367724165320396, -0.005500283092260361, -0.0005803368403576314, 0.01168401911854744, -0.01616753824055195, 0.022938759997487068, 0.05983749404549599, 0.02639349363744259, 0.017825262621045113, -0.002747202990576625, 0.0453944206237793, 0.0261426642537117, -0.06686974316835403, 0.014559194445610046, -0.014163902960717678, -0.00750584015622735, -0.030054351314902306, 0.3900925815105438, -0.04965953901410103, 0.024525335058569908, 0.044092629104852676, 0.016895204782485962, -0.04517597332596779, 0.003205898916348815, 0.0039656683802604675, -0.03597434237599373, 0.004908617120236158, -0.07089077681303024, -0.03231600672006607, -0.06367265433073044, 0.06159903481602669, -0.09039399772882462, 0.0014584299642592669, -0.02006225846707821, 0.057550713419914246, -0.011714820750057697, -0.014743523672223091, 0.013008227571845055, -0.01851670630276203, -0.015923762694001198, 0.011450703255832195, 0.01821546070277691, 0.01483108289539814, 0.037993330508470535, 0.030260013416409492, 0.030603209510445595, 0.06231456995010376, 0.059345632791519165, 0.04334377124905586, -0.039300862699747086, -0.07519453018903732, -0.02627256140112877, -0.005540782585740089, 0.04699002206325531, 0.03668437525629997, -0.03402314335107803, 0.03661731258034706, 0.03273463621735573, -0.013870349153876305, -0.044190775603055954, 0.01697666011750698, -0.005763028748333454, -0.013558105565607548, 0.11179274320602417, -0.01707078330218792, -0.030229682102799416, -0.028369393199682236, 0.007396959234029055, -0.04429701343178749, 0.024034099653363228, 0.039018694311380386, -0.06722553074359894, 0.017251031473279, 0.013101022690534592, 0.052050650119781494, -0.012338818982243538, -0.07497438043355942, 0.0004093618190381676, -0.07849742472171783, -0.026634031906723976, -0.05773595720529556, 0.041172564029693604, 0.01677597686648369, -0.06393011659383774, 0.004389265552163124, 0.010220826603472233, 0.004070560913532972, -0.08100930601358414, 0.032824765890836716, 0.018032968044281006, -0.028408998623490334, -0.00034808547934517264, 0.053837258368730545, -0.006117220502346754, -0.04049282148480415, -0.032279640436172485, 0.06451904773712158, 0.01852688379585743, 0.009116565808653831, 0.025792531669139862, -0.0464363694190979, 0.026106631383299828, 0.019515307620167732, -0.07254239916801453, -0.06733451783657074, -0.017780620604753494, -0.03068111278116703, -0.013813191093504429, -0.011983896605670452, -0.029505429789423943, -0.055312421172857285, 0.04159487038850784, -0.03441177308559418, -0.02458507940173149, 0.04516374319791794, 0.014581611379981041, -0.0029414931777864695, 0.030051926150918007, -0.008624432608485222, 0.07642187178134918, 0.016960356384515762, 0.010621150955557823, -0.08052448183298111, 0.005727069452404976, 0.034056950360536575, -0.07726184278726578, 0.06228083372116089, 0.008755270391702652, 0.00024758916697464883, -0.0028935009613633156, -0.041284773498773575, 0.0026680948212742805, -0.020331602543592453, -0.021802488714456558, -0.0042697107419371605, -0.003137379651889205, 0.013314083218574524, 0.022432826459407806, -0.024068571627140045, -0.08896392583847046, -0.018547793850302696, -0.3401584327220917, -0.029502369463443756, 0.04042231664061546, -0.030992411077022552, 0.023175403475761414, -0.08888181298971176, -0.013788674026727676, -0.010724039748311043, -0.04900415614247322, 0.002174142748117447, 0.040991973131895065, 0.016262583434581757, -0.05020594224333763, -0.09120141714811325, 0.010797600261867046, 0.01605023816227913, -0.020660921931266785, -0.05020388588309288, -0.04049025848507881, 0.01644754782319069, -0.004699953831732273, 0.0012552017578855157, -0.03007705695927143, -0.060003429651260376, -0.012628521770238876, -0.012433560565114021, 0.12008937448263168, -0.0243782140314579, 0.05726279690861702, -0.02286226488649845, 0.04516094923019409, 0.0008028063457459211, -0.02502405270934105, -0.028571750968694687, -0.010816668160259724, -0.021664418280124664, -0.003860112279653549, 0.016275128349661827, 0.067214734852314, -0.032027892768383026, -0.026041274890303612, 0.026265939697623253, -0.07972168922424316, -0.049907296895980835, -0.02984725870192051, 0.025915522128343582, 0.0008625593618489802, -0.05932510271668434, 0.048237018287181854, 0.10655257850885391, 0.0110205402597785, 0.03179267793893814, 0.022563491016626358, 0.021252835169434547, 0.01096548791974783, -0.025888413190841675, -0.05540640279650688, -0.01820462942123413, 0.012352311983704567, 0.027925504371523857, 0.03525438532233238, 0.08127237856388092, 0.05368144437670708, -0.011934230104088783, -0.0186675563454628, 0.0008017159998416901, 0.005905078258365393, 0.007196163758635521, -0.025259817019104958, -0.021814147010445595, 0.0052666389383375645, 0.07413951307535172, -0.006864211987704039, -0.0010568131692707539, 0.037422165274620056, 0.08632005006074905, -0.03109343908727169, 0.044370297342538834, 0.03328046575188637, 0.016350416466593742, 0.03142743930220604, -0.022652406245470047, 0.034871574491262436, -0.014226616360247135, -0.011616911739110947, 0.03132819011807442, -0.019462021067738533, 0.00004062224252265878, 0.016165170818567276, 0.011701889336109161, -0.02849087491631508, -0.00967025849968195, 0.001955222338438034, 0.003736273618414998, 0.04077967628836632, -0.010111997835338116, -0.259977251291275, 0.01822590082883835, 0.026455054059624672, 0.033482566475868225, 0.025112831965088844, 0.0543050654232502, 0.0254202913492918, -0.055258117616176605, -0.009062434546649456, -0.010199411772191525, 0.014405971392989159, 0.03241391479969025, 0.04267825186252594, -0.003200572682544589, 0.032908469438552856, -0.02595597878098488, 0.06784947961568832, 0.004735260736197233, 0.015821026638150215, 0.0028440598398447037, 0.034347206354141235, 0.006266754120588303, 0.16576837003231049, -0.011426396667957306, 0.028270598500967026, 0.0002811381418723613, -0.01049873512238264, -0.0011997028486803174, 0.10067087411880493, 0.03163079172372818, 0.0003020112926606089, 0.017237206920981407, 0.11107377707958221, 0.0008126027532853186, 0.043490540236234665, -0.06580108404159546, -0.005282034631818533, 0.030566532164812088, 0.0546550489962101, -0.015783829614520073, 0.025186611339449883, 0.0030096820555627346, -0.03421595320105553, 0.040487539023160934, 0.07441256940364838, 0.0005554305971600115, 0.007701181806623936, -0.03856674209237099, -0.02273383177816868, 0.007004494778811932, -0.014627037569880486, -0.008321976289153099, 0.011590545997023582, 0.012818378396332264, 0.02424244023859501, 0.0340435691177845, -0.02440265566110611, -0.014481961727142334, -0.037607911974191666, 0.015761934220790863, 0.005560193210840225, -0.027246670797467232, 0.10230638086795807, 0.04340444132685661, 0.028747139498591423 ]
[ -0.054548230022192, -0.006513385567814112, 0.021018151193857193, 0.01782686449587345, -0.01719111017882824, 0.008021242916584015, 0.0014211066300049424, 0.017190150916576385, -0.05053258687257767, -0.0392400324344635, -0.04835272580385208, 0.045402444899082184, -0.008731964975595474, 0.03229285776615143, 0.009271670132875443, 0.0088447080925107, -0.002841128269210458, 0.04696621000766754, 0.02404671348631382, -0.022163493558764458, 0.0008558271802030504, 0.06734964996576309, 0.0036987424828112125, 0.014635165221989155, 0.004520449321717024, 0.03673731908202171, 0.011381196789443493, -0.048629969358444214, 0.003105767536908388, -0.1416521519422531, 0.0012668578419834375, -0.02737356908619404, -0.006628584582358599, 0.011508719995617867, -0.012682109139859676, -0.0013154405169188976, 0.025068873539566994, 0.013468753546476364, -0.022348251193761826, 0.019297225400805473, -0.012259912677109241, 0.002747043501585722, -0.005584484897553921, 0.02969362773001194, 0.024449706077575684, 0.0019598512444645166, -0.04069148376584053, -0.013046497479081154, -0.000009291160495195072, 0.002552347956225276, -0.016766710206866264, -0.010028867051005363, -0.03432147577404976, -0.0012184693478047848, 0.0016992983873933554, -0.004282886162400246, -0.011764198541641235, -0.017741641029715538, -0.03842080384492874, -0.04598154500126839, 0.0004898713668808341, -0.023727787658572197, -0.05360777676105499, -0.013587669469416142, -0.01577525958418846, 0.01040569692850113, 0.01697583682835102, 0.01212025061249733, -0.01962892711162567, -0.021994875743985176, 0.03829941153526306, 0.023172050714492798, -0.04424230754375458, -0.05625906586647034, 0.006275110878050327, -0.019398562610149384, 0.055281031876802444, -0.03608010336756706, 0.015356016345322132, 0.027600299566984177, -0.0030648258980363607, 0.009889389388263226, -0.0244807880371809, -0.00970439426600933, -0.03391532972455025, -0.06537174433469772, -0.00830276869237423, 0.017424559220671654, 0.033101875334978104, -0.00917221698909998, -0.032163094729185104, 0.020697249099612236, 0.01923328824341297, -0.002153380773961544, -0.09014883637428284, 0.04895663261413574, -0.0008923921268433332, 0.008869705721735954, -0.03698109835386276, 0.7973883152008057, 0.01231027115136385, 0.042405664920806885, 0.014765435829758644, 0.012063264846801758, -0.008910804986953735, 0.03652893379330635, -0.02683773823082447, -0.013601496815681458, -0.034863315522670746, -0.06447122991085052, 0.022880341857671738, -0.017405515536665916, 0.04875192046165466, 0.02002517320215702, 0.00887511670589447, -0.007470124401152134, 0.044546205550432205, 0.00805721990764141, -0.027607206255197525, 0.01619044318795204, 0.009501010179519653, -0.012317188084125519, 0.04327522590756416, -0.0036822292022407055, 0.001459290157072246, -0.15433847904205322, -0.053380511701107025, -6.95561533621847e-33, 0.03411601483821869, 0.005240257363766432, 0.012519610114395618, 0.03147221356630325, 0.005192606709897518, -0.02631651796400547, 0.029085366055369377, 0.008683830499649048, -0.04553775116801262, -0.008572058752179146, 0.0003776228113565594, 0.01023341529071331, 0.005423101596534252, 0.00808526761829853, 0.02039754018187523, -0.0020209583453834057, 0.06254535168409348, 0.05488717928528786, -0.039832405745983124, -0.03165668249130249, 0.0036493355873972178, 0.04521230235695839, -0.0073476629331707954, -0.002890158211812377, 0.004021947737783194, 0.008918086998164654, 0.011275679804384708, 0.012540466152131557, -0.03424990177154541, -0.05381213501095772, -0.02189747802913189, 0.03871377557516098, 0.04750356450676918, 0.01361770462244749, 0.01490738894790411, -0.010302865877747536, -0.010637020692229271, 0.0009631916764192283, 0.009350341744720936, -0.021060997620224953, 0.007689249701797962, 0.0007047968683764338, -0.023108545690774918, 0.008636273443698883, -0.014342195354402065, -0.03768584132194519, -0.02380867674946785, 0.039740514010190964, 0.013616631738841534, 0.05232240632176399, 0.02921503596007824, 0.005597509443759918, -0.02037115953862667, 0.029042046517133713, -0.03664318472146988, 0.002192259766161442, -0.006982133258134127, 0.015756912529468536, 0.009387840516865253, 0.027216114103794098, 0.006646933499723673, 0.021958526223897934, -0.005899867974221706, 0.004184397868812084, -0.024753037840127945, -0.0035209693014621735, 0.02485235035419464, 0.0307041946798563, 0.020925847813487053, 0.022749943658709526, -0.006483276840299368, 0.06478743255138397, -0.016494804993271828, -0.039752330631017685, 0.0031300580594688654, -0.06314951181411743, 0.012377307750284672, -0.07424229383468628, -0.009336580522358418, 0.015342398546636105, 0.04213476926088333, 0.0008151811198331416, 0.029360443353652954, 0.02327352575957775, -0.0351085290312767, -0.033406760543584824, 0.03697450831532478, 0.041470564901828766, 0.008630422875285149, -0.01436605304479599, 0.013443623669445515, 0.01935274712741375, 0.04110145941376686, -0.05679219961166382, 0.02081790380179882, 7.630799454863621e-33, 0.020368248224258423, -0.027342112734913826, -0.04240695387125015, 0.01581506058573723, 0.02252516895532608, -0.0449298620223999, 0.05281854420900345, 0.03302035853266716, -0.015138688497245312, 0.035468220710754395, -0.04696664959192276, -0.005321873351931572, -0.0001713479432510212, -0.029350046068429947, 0.06927970796823502, 0.004724232014268637, 0.04661279544234276, -0.01125116366893053, -0.026697462424635887, 0.005778050050139427, -0.006379229016602039, 0.006037543993443251, 0.03140693157911301, -0.00931267999112606, 0.03575313463807106, 0.019417259842157364, -0.032386500388383865, 0.037418071180582047, 0.018774325028061867, 0.015888001769781113, 0.07560614496469498, -0.041405487805604935, 0.018106400966644287, -0.004820095840841532, -0.03547215461730957, 0.01871243491768837, 0.022465312853455544, 0.02949746511876583, 0.02720749005675316, -0.01933315396308899, 0.012830943800508976, 0.0208399947732687, -0.029626788571476936, 0.042996037751436234, -0.00829373113811016, -0.02637861855328083, -0.011027869768440723, 0.01854177750647068, 0.02695205993950367, -0.006362437270581722, 0.001997053623199463, 0.01830197125673294, 0.005092944949865341, 0.060416463762521744, -0.019798515364527702, -0.013826176524162292, -0.04610459879040718, -0.0038079877849668264, -0.0037936780136078596, 0.028406191617250443, -0.04125756397843361, -0.011626231484115124, -0.0550997331738472, 0.011327654123306274, 0.0074120513163506985, -0.005195535719394684, -0.04488933086395264, -0.03608701750636101, -0.04001583158969879, -0.016584990546107292, -0.03783412277698517, 0.011354390531778336, -0.015735851600766182, 0.022206060588359833, 0.00839676707983017, -0.02550540678203106, -0.041110120713710785, 0.02158195525407791, 0.015152513049542904, 0.04532238468527794, 0.019328786060214043, -0.06336304545402527, 0.0022677648812532425, -0.01507884357124567, -0.001059722970239818, -0.05235312879085541, 0.024160610511898994, 0.04071835055947304, 0.005516644101589918, -0.028518060222268105, 0.0005329229170456529, -0.07184182852506638, 0.008455323055386543, 0.035679299384355545, 0.023707132786512375, -1.244280056766911e-8, -0.0331161804497242, 0.007104136049747467, -0.028938375413417816, 0.03657805547118187, 0.02951873280107975, 0.02466612122952938, 0.011201987974345684, -0.004431772977113724, 0.007104726042598486, 0.0044340705499053, -0.025172753259539604, -0.0556432269513607, -0.03991119936108589, 0.011098538525402546, 0.0685240775346756, 0.007994811050593853, 0.014545071870088577, 0.041138846427202225, 0.025386784225702286, 0.05901963636279106, -0.00414702296257019, 0.020021701231598854, -0.04524014890193939, 0.004511064384132624, -0.020410610362887383, 0.009160533547401428, 0.030251020565629005, -0.0507681667804718, 0.03687438368797302, 0.004776875488460064, 0.02626924403011799, -0.02221517823636532, -0.006752044893801212, 0.02266046032309532, -0.028547167778015137, -0.028780771419405937, 0.028644490987062454, 0.04363865405321121, 0.0016053075669333339, 0.02036319114267826, -0.031844232231378555, 0.0046805813908576965, -0.03257999196648598, -0.019383564591407776, -0.021601971238851547, -0.06885334104299545, -0.026824498549103737, -0.024656249210238457, 0.03444088250398636, -0.016207417473196983, 0.008039476349949837, 0.006194059271365404, -0.007866345345973969, -0.005091885104775429, 0.0286019966006279, 0.005998571403324604, 0.07038220018148422, -0.036981843411922455, -0.02384432777762413, 0.04259290173649788, 0.029162798076868057, 0.016732843592762947, -0.02948984131217003, -0.00991265568882227 ]
scala-99-problems
https://markhneedham.com/blog/2009/09/30/scala-99-problems
false
2009-09-06 00:46:01
Coding: Checking invariants in a factory method
[ "coding" ]
[ "Coding" ]
Something which we discussed quite frequently when studying http://domaindrivendesign.org/[Domain Driven Design] in our technical book club earlier this year was where the code which checked whether we had setup an object correctly should reside. Shortly after that I suggested that I http://www.markhneedham.com/blog/2009/02/14/coding-assertions-in-constructors/[didn't think it should go in the constructor of an object] but that we should rely on objects to be good citizens and not pass in null values or the like to other objects. However, for code that's on the edge of our system we can't really rely on that approach so our code needs to be a bit more defensive. On those occasions an approach which seems to work relatively well is to introduce a factory method which is responsible for creating an object or throwing an exception if the object can't be created in a consistent state. http://intwoplacesatonce.com/[Dave] and I made use of this pattern while working on some code to get a 'User' object into our system. We realised that there were three different scenarios that we needed to handle: * All the authentication details for a user were available in the headers of the HTTP request ** Create a logged in user * There were no authentication details available for a user ** Create an anonymous user * Some of the authenticated details for a user were available - something has gone wrong ** Throw an exception We created a method with the following signature: [source,csharp] ---- public static User CreateUserFrom(NameValueCollection headers) { } ---- 'headers' are the values that we retrieve from the HTTP request headers. Whenever I've used static factory methods on an object previusly, it's mainly been for providing a way of creating an object while giving the client more information on the specific type of object that they are about to create. As Dave pointed out, the factory method is also useful for providing a simplified interface to clients and allowing the factory to take away some of the complexity of the object creation which is what we wanted to do here. We ended up with code that looked a bit like this: [source,csharp] ---- public class User { public static readonly User Anonymous = new AnonymousUser("", ""); private readonly string userName; private readonly string customerId; private User(string userName, string customerId) { this.userName = userName; this.customerId = customerId; } public static User CreateUserFrom(NameValueCollection headers) { var userName = headers["user-name-header-tag"]; var customerId = headers["customer-id-header-tag"]; var invariants = new List<string> { userName, customerId }; if(invariants.All(i => i == null) { return Anonymous; } if(invariants.Any(i => i == null) { throw new Exception("Attempt to create user failed as not all header tags were available"); } return new User(userName, customerId); } } public AnonymousUser : User { public AnonymousUser(string userName, string customerId) : base(userName, customerId) {} } ---- In this example 'AnonymousUser' is an implementation of the http://en.wikipedia.org/wiki/Null_Object_pattern[null object pattern]. When discussing our approach with http://lizdouglass.wordpress.com/[Liz] she reminded me that Eric Evans actually talks about invariant handling in the book and suggests that checking invariants in factory methods certainly is appropriate on some occasions: ____ A FACTORY is responsible for ensuring that all invariants are met for the object or AGGREGATE it creates; yet you should always think twice before removing the rules applying to an object outside that object. The FACTORY can delegate invariant checking to the product, and this is often best. But FACTORIES have a special relationship with their products. They already know their product's internal structure, and their entire reason for being involves the implementation of their product. Under some circumstances, there are advantages to placing invariant logic in the FACTORY and reducing clutter in the product. This is especially appealing with AGGREGATE rules (which span many objects). It is especially unappealing with FACTORY METHODS attached to other domain objects. ____ I'm not sure if what we have is an aggregate root since 'User' doesn't act as the gateway to access any other objects but the approach seemed to work reasonably well here nonetheless.
null
null
[ 0.024495940655469894, -0.003363664960488677, -0.023337876424193382, 0.04497404396533966, 0.07576167583465576, -0.002243920462206006, 0.03732313588261604, 0.012012183666229248, -0.0011716464068740606, -0.012243089266121387, -0.006100819446146488, -0.01724131777882576, -0.07105512917041779, 0.022955292835831642, -0.03813643008470535, 0.04736924543976784, 0.07688738405704498, -0.00034820204018615186, 0.0274353064596653, 0.0019245113944634795, -0.0023640315048396587, 0.04476789012551308, 0.004240826237946749, 0.0346846804022789, 0.05263426899909973, 0.030377373099327087, -0.008459234610199928, -0.0033695902675390244, -0.046922873705625534, -0.01605246774852276, 0.01969929039478302, 0.032996147871017456, -0.00610134145244956, -0.019179152324795723, 0.014480489306151867, -0.018455881625413895, -0.017692595720291138, -0.009505036287009716, 0.002261917572468519, 0.032275840640068054, -0.06780323386192322, 0.03304720297455788, -0.009600493125617504, 0.01957871951162815, -0.042460568249225616, -0.01180429756641388, -0.015677325427532196, 0.0047395797446370125, -0.01935437135398388, 0.004733855836093426, -0.08429589867591858, 0.03240049630403519, -0.0399884395301342, 0.02656622789800167, 0.002012514276430011, 0.031134532764554024, 0.013815351761877537, -0.08213115483522415, 0.018910443410277367, -0.06705529987812042, 0.021712297573685646, 0.003485333640128374, 0.008760642260313034, 0.007185567170381546, 0.005125109571963549, -0.005645423661917448, 0.0007377962465398014, 0.03702904284000397, -0.04507003724575043, -0.0011964784935116768, -0.013925599865615368, -0.0150294816121459, 0.0008298750035464764, -0.006675072014331818, 0.0022596477065235376, -0.03969832882285118, -0.0047106752172112465, 0.049997445195913315, 0.020182905718684196, 0.05640098825097084, -0.027369104325771332, -0.013447715900838375, 0.022874794900417328, 0.006975280586630106, 0.005758369341492653, -0.05368604511022568, -0.023337237536907196, -0.009605013765394688, -0.011181640438735485, 0.06448985636234283, 0.015029976144433022, -0.041864123195409775, -0.00595103157684207, 0.0291593074798584, 0.005617854651063681, 0.0011080045951530337, 0.014590256847441196, -0.0036943387240171432, -0.00785526167601347, 0.001026207348331809, -0.017997033894062042, -0.020095376297831535, 0.005915607325732708, 0.030316712334752083, -0.05976071208715439, 0.010485989972949028, -0.021242963150143623, -0.021443931385874748, 0.0032975596841424704, 0.011531822383403778, -0.049895185977220535, 0.00818749237805605, -0.017781533300876617, -0.008291786536574364, -0.05130046233534813, 0.05736823379993439, 0.027864309027791023, -0.004317424725741148, -0.014685113914310932, 0.05447032302618027, 0.04758617654442787, 0.01881227269768715, -0.022288722917437553, 0.05320603772997856, 0.007559790275990963, 0.030599189922213554, -0.034345194697380066, 0.06471859663724899, -0.0006404524319805205, -0.087552011013031, -0.012013598345220089, 0.03985799103975296, -0.018024442717432976, 0.007185479160398245, 0.0028035310097038746, -0.03222844377160072, -0.0041959104128181934, 0.0037164853420108557, 0.030754877254366875, 0.01842219941318035, -0.019629111513495445, -0.06099637970328331, 0.017027366906404495, -0.003580048680305481, 0.007471432909369469, 0.013114390894770622, 0.01070075761526823, -0.02917744778096676, -0.00564797967672348, 0.03923415765166283, 0.005889602471143007, 0.054641857743263245, 0.05495002493262291, -0.0482092946767807, -0.0008113007061183453, 0.07750684022903442, 0.021734025329351425, 0.026379093527793884, 0.00875199493020773, 0.035764262080192566, 0.04498329758644104, 0.03690095245838165, 0.004563684109598398, 0.055010899901390076, 0.026904478669166565, 0.007430754601955414, -0.004557780455797911, 0.04176962003111839, 0.0035216205287724733, -0.01569286547601223, -0.07353651523590088, -0.058388493955135345, 0.04162877798080444, -0.060049284249544144, -0.020136216655373573, 0.03711599111557007, 0.08032604306936264, -0.0033065362367779016, 0.08716603368520737, -0.0015959969023242593, -0.06694073230028152, -0.0020003870595246553, 0.014428882859647274, -0.007548998109996319, 0.020530130714178085, -0.002837559673935175, 0.057033196091651917, 0.02926275134086609, -0.005598729941993952, 0.04201727733016014, -0.047497205436229706, -0.04536014795303345, -0.018523070961236954, -0.02433486469089985, 0.06614141911268234, -0.028033103793859482, 0.0017865622648969293, 0.09050111472606659, 0.006673650816082954, 0.04891154542565346, 0.03427040949463844, -0.01274257991462946, 0.012914996594190598, -0.03096565045416355, -0.052492961287498474, 0.03380252420902252, 0.03886783868074417, 0.017007799819111824, -0.041418079286813736, 0.0013661060947924852, -0.008239693008363247, 0.0011948160827159882, 0.030175453051924706, -0.006039230152964592, 0.018462685868144035, -0.006162694655358791, 0.03970281779766083, -0.01879003643989563, 0.06622635573148727, -0.07207326591014862, 0.027876799926161766, -0.003622797317802906, -0.006482363678514957, 0.013369168154895306, -0.001887745806016028, 0.13118749856948853, 0.04688841477036476, -0.05318867415189743, -0.038099609315395355, 0.008769030682742596, 0.026753535494208336, -0.051565464586019516, 0.019864942878484726, -0.008994475938379765, -0.026998523622751236, 0.038846440613269806, -0.03585604578256607, -0.014145873486995697, 0.01087178848683834, -0.017702948302030563, 0.046117041260004044, 0.09075833857059479, -0.032154787331819534, 0.03752882033586502, -0.010594618506729603, -0.023210464045405388, 0.006003687158226967, -0.010276217944920063, -0.06248614192008972, 0.007916668429970741, 0.020268499851226807, -0.01392072532325983, 0.0666944831609726, -0.03012276254594326, -0.018879182636737823, -0.027948426082730293, -0.04417802020907402, 0.003951576072722673, 0.0010782256722450256, 0.06878259032964706, -0.01197811495512724, 0.06156209111213684, -0.022892193868756294, 0.013117426075041294, -0.010838269256055355, -0.055397678166627884, 0.024747474119067192, 0.006509109400212765, 0.024383584037423134, 0.04601939395070076, 0.020951025187969208, 0.0018758816877380013, 0.02976926602423191, 0.02163906767964363, -0.001136754872277379, 0.006426787935197353, 0.04097379744052887, -0.007042900193482637, -0.018323291093111038, -0.030625613406300545, -0.04545283690094948, 0.04097909852862358, -0.03942885994911194, -0.039063792675733566, 0.017844708636403084, -0.09159879386425018, 0.04463603347539902, -0.09449271857738495, -0.10701379179954529, 0.011371482163667679, 0.032219916582107544, 0.019413255155086517, 0.005758172366768122, 0.01639302633702755, 0.07781785726547241, 0.02385145239531994, -0.028570646420121193, -0.004648229572921991, 0.010822771117091179, 0.0163944773375988, -0.011748973280191422, 0.017541034147143364, 0.012097020633518696, -0.0021288972347974777, 0.0026937576476484537, -0.0684981495141983, 0.023411625996232033, 0.004304662812501192, -0.2704075574874878, 0.010493825189769268, 0.015248012728989124, -0.045917168259620667, 0.019551675766706467, 0.0003753913624677807, 0.03335757926106453, -0.03786611184477806, -0.031362757086753845, 0.05202435702085495, -0.020858990028500557, -0.051473721861839294, -0.03132304921746254, 0.04434462636709213, -0.017362024635076523, 0.01593741960823536, 0.021736569702625275, -0.03535427153110504, 0.014417161233723164, 0.026708146557211876, -0.03430661931633949, -0.05323619395494461, -0.002960397396236658, 0.04398197680711746, 0.032827552407979965, 0.053215719759464264, -0.08828528970479965, 0.041286829859018326, -0.045528993010520935, -0.0028010504320263863, 0.009865118190646172, 0.00353151373565197, -0.003921566531062126, -0.038022562861442566, -0.01756376400589943, -0.017173605039715767, -0.004375586751848459, 0.04551099240779877, -0.0007787426002323627, 0.0014698579907417297, -0.03608381003141403, -0.06549575924873352, -0.04626497998833656, 0.026794975623488426, 0.07324516028165817, -0.02180030755698681, -0.07738783210515976, -0.0005190137308090925, -0.04037903994321823, 0.0568259134888649, -0.05532824620604515, -0.039715394377708435, -0.006555973552167416, 0.029808487743139267, -0.019397752359509468, -0.03755873069167137, 0.0024546110071241856, 0.0029591761995106936, -0.06465957313776016, -0.027047159150242805, -0.009196516126394272, -0.03690489009022713, -0.020803041756153107, -0.0412430576980114, 0.007060495670884848, -0.05890599265694618, -0.06448949873447418, -0.013195423409342766, 0.07530303299427032, 0.04766746237874031, -0.01909523643553257, 0.0321732759475708, 0.0035872464068233967, -0.12669755518436432, 0.01858142390847206, -0.039870262145996094, -0.010993262752890587, -0.03647670894861221, -0.011262827552855015, 0.05688684806227684, -0.016820820048451424, -0.041750311851501465, 0.02882210537791252, 0.027276113629341125, -0.0058923144824802876, -0.008571242913603783, 0.03974635899066925, -0.01127279456704855, -0.0254646148532629, 0.01783265918493271, 0.08080077916383743, 0.0023348084650933743, 0.00815330445766449, -0.058108579367399216, 0.010325695388019085, 0.018094219267368317, 0.03303856402635574, -0.02569309063255787, 0.011481773108243942, 0.011099821887910366, 0.02987598069012165, -0.052103009074926376, 0.03461889177560806, -0.0390978641808033, -0.006480122450739145, -0.014909088611602783, -0.04296815022826195, 0.04053089767694473, 0.02958596497774124, 0.014356872998178005, -0.008524109609425068, -0.03692656755447388, -0.012239933013916016, -0.06445436924695969, -0.03748272359371185, -0.03574315086007118, -0.0037944631185382605, 0.04249424487352371, -0.002020052168518305, -0.01280534639954567, -0.033246710896492004, 0.01871052198112011, 0.029336635023355484, -0.009523951448500156, -0.05393851920962334, -0.040356796234846115, 0.00046039040898904204, -0.02116120606660843, 0.014228900894522667, 0.01918126456439495, -0.018652411177754402, 0.02562214806675911, 0.013648943975567818, -0.0515323244035244, 0.009374459274113178, 0.01780235581099987, -0.03207338601350784, -0.026115288957953453, -0.02482081577181816, -0.0034552104771137238, 0.024977708235383034, 0.0013185449643060565, 0.014957902021706104, 0.02068294771015644, 0.062239713966846466, 0.0002989375207107514, 0.030881643295288086, 0.01617085561156273, 0.003321311203762889, 0.0027810190804302692, 0.01684183068573475, -0.08897938579320908, 0.0352042056620121, -0.03619065880775452, -0.04859725385904312, -0.03941868245601654, 0.0360427163541317, -0.01614176109433174, -0.039682984352111816, -0.02333303913474083, 0.040084872394800186, -0.07370951026678085, -0.024474196135997772, -0.021224739030003548, 0.013648024760186672, 0.0578543059527874, -0.04134635254740715, 0.04391106590628624, -0.015849394723773003, -0.022012369707226753, 0.01777532882988453, 0.031132536008954048, -0.04768168553709984, 0.028574319556355476, 0.0003930889652110636, -0.014168241061270237, -0.007281953934580088, 0.023738687857985497, 0.0393064022064209, 0.014242270961403847, 0.008392086252570152, -0.006788685917854309, 0.015366939827799797, -0.024277012795209885, 0.06676209717988968, 0.00862917210906744, -0.011016936972737312, 0.003343860385939479, -0.008269713260233402, -0.0074641043320298195, -0.03011825866997242, -0.034902043640613556, 0.007093964610248804, 0.03824934363365173, -0.02485111728310585, -0.06255225092172623, 0.04673198610544205, 0.005031897686421871, 0.030631715431809425, 0.01967998407781124, 0.02367529273033142, 0.020112505182623863, -0.015413615852594376, 0.048865605145692825, 0.03405017778277397, -0.0474141389131546, 0.011689274571835995, -0.003614352084696293, 0.03029046766459942, 0.03999253734946251, 0.000687050458509475, -0.0329664945602417, -0.006377422716468573, -0.02424529194831848, -0.001764960354194045, -0.0620456263422966, -0.03962133824825287, -0.029048515483736992, 0.03003518655896187, 0.00814024731516838, -0.018067190423607826, 0.00386297469958663, 0.0025601908564567566, -0.010921807028353214, -0.020614005625247955, 0.0012523900950327516, -0.024724500253796577, 0.0020289160311222076, 0.013090196065604687, -0.03850020840764046, 0.008794426918029785, -0.0026831720024347305, 0.028037559241056442, 0.008405040949583054, -0.03649371862411499, -0.04318445175886154, -0.032301392406225204, 0.017318520694971085, -0.011022214777767658, 0.06715596467256546, 0.01610475219786167, -0.008613740094006062, -0.02879725955426693, -0.02927798591554165, -0.028160706162452698, 0.033270712941884995, -0.01719212718307972, -0.0008333483710885048, 0.037377987056970596, 0.055799588561058044, 0.018157774582505226, 0.038556601852178574, 0.009807695634663105, -0.0024504975881427526, 0.06509599834680557, -0.04951007664203644, -0.018847422674298286, -0.030161384493112564, -0.06082935631275177, 0.011109592393040657, 0.026474304497241974, 0.024214208126068115, -0.017894431948661804, 0.02600914053618908, 0.032904479652643204, 0.01370147056877613, 0.02041744999587536, 0.02033526636660099, 0.055519022047519684, -0.057311225682497025, -0.00494889821857214, -0.0759880542755127, 0.03704444319009781, 0.04168305918574333, 0.00794689916074276, -0.01575174182653427, -0.02352660894393921, -0.019651101902127266, 0.05712886154651642, -0.07570178806781769, -0.02604016847908497, 0.02303668111562729, 0.013606196269392967, -0.012591296806931496, -0.008887972682714462, -0.04663049057126045, 0.015641478821635246, 0.040238942950963974, -0.028527887538075447, -0.03855523839592934, -0.02518240362405777, 0.04774792864918709, 0.02649039961397648, 0.021126948297023773, -0.03701254725456238, 0.004217628389596939, 0.06333260238170624, 0.008143794722855091, 0.02314438484609127, 0.0430695004761219, -0.030191347002983093, 0.045950744301080704, 0.029771994799375534, -0.037026748061180115, 0.010895779356360435, 0.0067086066119372845, 0.017312852665781975, -0.07767858356237411, 0.000805287912953645, 0.0007203214336186647, -0.027439704164862633, -0.0680072233080864, 0.07246008515357971, 0.006250338163226843, -0.013409487903118134, -0.06366407126188278, 0.028440553694963455, -0.03479759395122528, -0.05421098321676254, -0.012641847133636475, -0.007541294675320387, -0.008652051910758018, 0.060849130153656006, 0.016951190307736397, -0.004245936870574951, 0.07044896483421326, -0.004562627524137497, -0.0073349555023014545, -0.029398035258054733, 0.07658852636814117, 0.07956504076719284, 0.019838642328977585, -0.00532176997512579, 0.0686071366071701, -0.003976542968302965, -0.05135331675410271, 0.007599032483994961, -0.045470792800188065, -0.034845706075429916, -0.024141663685441017, 0.015030652284622192, 0.04645843058824539, 0.0008489438332617283, 0.05114155635237694, -0.04171103984117508, 0.002167068887501955, -0.006822181865572929, 0.04342721402645111, 0.031897611916065216, 0.041922200471162796, 0.0252392441034317, 0.007157494779676199, -0.0050048441626131535, -0.0443534329533577, 0.007330288179218769, 0.0018598453607410192, -0.0203369352966547, 0.014037501998245716, -0.0037204616237431765, 0.008948227390646935, 0.009020446799695492, 0.01791049912571907, 0.06335126608610153, -0.030949758365750313, -0.010926580987870693, -0.011228468269109726, -0.00303838262334466, 0.012957747094333172, -0.0303147342056036, -0.0038090681191533804, -0.004635969176888466, -0.020632855594158173, -0.024713905528187752, -0.015261081047356129, -0.018235379830002785, -0.022712010890245438, 0.05021500959992409, 0.012136430479586124, -0.0008403505780734122, -0.011503159999847412, -0.004172466695308685, -0.03730897232890129, -0.055845510214567184, -0.051412973552942276, -0.034327033907175064, -0.05862870439887047, -0.044135838747024536, 0.017437901347875595, -0.010941420681774616, -0.04039372503757477, -0.026492197066545486, -0.01738654263317585, -0.018175387755036354, 0.04364494979381561, -0.028299061581492424, -0.022523043677210808, 0.03778249770402908, 0.025461580604314804, 0.040202539414167404, 0.039007432758808136, 0.03522071987390518, -0.00573688605800271, -0.00207574968226254, -0.05875055119395256, -0.020052626729011536, 0.04892672225832939, 0.004276823252439499, -0.0045820847153663635, -0.08933612704277039, 0.019569367170333862, 0.014745610766112804, 0.00040363124571740627, -0.07716431468725204, 0.0025607221759855747, 0.019876377657055855, 0.0009972242405638099, 0.04460664093494415, -0.011635501869022846, -0.014468091540038586, -0.014710408635437489, -0.018652837723493576, 0.012583551928400993, 0.02166278474032879, 0.04328325763344765, -0.011905650608241558, 0.07134022563695908, 0.04023483023047447, -0.04001707211136818, -0.03144194558262825, 0.01065896637737751, -0.018158134073019028, 0.008119108155369759, -0.028607316315174103, -0.0247963760048151, -0.021878819912672043, -0.06670829653739929, -0.0065034073777496815, 0.032057322561740875, -0.021516716107726097, -0.026726454496383667, -0.003977092448621988, 0.0351736955344677, -0.06469181925058365, 0.030238861218094826, -0.03643902763724327, 0.055611975491046906, -0.02603122405707836, -0.006060646381229162, -0.001346598844975233, 0.02518237940967083, 0.006153542082756758, -0.006280145142227411, 0.031242704018950462, -0.03139162436127663, -0.04689929634332657, -0.001213885028846562, 0.03243013471364975, 0.03792174160480499, -0.038338739424943924, 0.022861212491989136 ]
[ -0.05912134051322937, 0.01027747057378292, -0.053387437015771866, -0.053761716932058334, 0.030468272045254707, -0.03172671049833298, 0.019777264446020126, 0.022499822080135345, -0.00360998441465199, -0.029228879138827324, -0.0033082808367908, -0.038979422301054, -0.0019881792832165956, 0.0013292948715388775, 0.08052698522806168, 0.0175186600536108, -0.05285100266337395, -0.03432322293519974, 0.015522873029112816, 0.046642035245895386, 0.032283369451761246, -0.01736774668097496, -0.04079461470246315, -0.0586734376847744, -0.03553426265716553, 0.02185334451496601, 0.033493828028440475, -0.008580529130995274, 0.022309161722660065, -0.17736223340034485, 0.0022782410960644484, -0.030525095760822296, 0.034581899642944336, -0.009428884834051132, 0.011074097827076912, -0.013144457712769508, 0.06467783451080322, -0.0014783270889893174, 0.015100082382559776, 0.05010908842086792, 0.0014481546822935343, 0.029725445434451103, -0.045025262981653214, -0.02424570359289646, 0.040205467492341995, 0.0239015594124794, -0.00820786040276289, -0.007430902682244778, -0.020378855988383293, 0.0077245160937309265, -0.052991367876529694, -0.004720717668533325, 0.02155878208577633, -0.021135760471224785, -0.004349544644355774, 0.004241585731506348, 0.047245606780052185, 0.07902069389820099, -0.0007774250698275864, 0.019672619178891182, 0.00016229681205004454, -0.031297944486141205, -0.1065610870718956, 0.08174986392259598, 0.04973474144935608, 0.051894284784793854, -0.03428393602371216, -0.05297864228487015, -0.0170213021337986, 0.062154680490493774, 0.016609590500593185, -0.013647779822349548, -0.04181781783699989, 0.03375719487667084, 0.021921275183558464, -0.0020334951113909483, 0.003722231835126877, 0.008639635518193245, 0.07224682718515396, -0.024695100262761116, -0.06674473732709885, -0.01709006167948246, 0.015224314294755459, 0.03631135821342468, -0.051709432154893875, 0.039171867072582245, 0.01366647332906723, 0.022382747381925583, 0.02841712348163128, 0.03890598937869072, -0.0028627566061913967, -0.007132022175937891, 0.022337619215250015, 0.01803622767329216, -0.0653969869017601, 0.01218551304191351, -0.03803528472781181, 0.014892569743096828, -0.05086546391248703, 0.4277236759662628, 0.0035618559923022985, -0.044660989195108414, 0.032217152416706085, -0.0012077217688784003, -0.02374117635190487, 0.031790707260370255, -0.019930103793740273, -0.05790778249502182, 0.014834784902632236, -0.019794205203652382, 0.0068566324189305305, 0.011679425835609436, -0.010521993972361088, -0.046374961733818054, -0.003038238501176238, 0.0009195160237140954, 0.031226789578795433, 0.008130650967359543, -0.0262803565710783, -0.011578130535781384, 0.0036049936898052692, 0.014134573750197887, 0.0239629577845335, 0.01572560891509056, -0.004160752985626459, -0.029130708426237106, 0.046325672417879105, 0.07061168551445007, 0.02319476380944252, 0.03389986604452133, 0.03405566141009331, -0.03348157927393913, -0.0737755075097084, 0.00530651630833745, 0.026191724464297295, 0.011116474866867065, 0.018276892602443695, -0.007164534647017717, -0.015653572976589203, 0.0290361437946558, 0.01795620657503605, -0.0032615300733596087, 0.0023830749560147524, -0.02964160591363907, -0.052391115576028824, 0.10007557272911072, 0.013150857761502266, -0.006608639843761921, -0.023721933364868164, -0.029418297111988068, 0.02213277854025364, 0.05565638467669487, -0.009823763743042946, -0.07106529176235199, 0.026538072153925896, 0.009930369444191456, 0.04455377161502838, -0.012872988358139992, -0.03930054232478142, -0.04563631862401962, -0.0108681321144104, -0.014531833119690418, -0.04234999045729637, 0.04567447304725647, 0.05176958441734314, -0.1260778307914734, -0.02888123318552971, 0.031029902398586273, 0.030063601210713387, -0.053410496562719345, -0.029720168560743332, -0.0000575563135498669, -0.04431635141372681, -0.002263125730678439, 0.04705527424812317, -0.009713644161820412, -0.04264445602893829, 0.013579790480434895, 0.003460800740867853, 0.05412619933485985, 0.007028781343251467, 0.012334254570305347, -0.06822992116212845, -0.01162870042026043, -0.03653990849852562, -0.08568768948316574, -0.06576665490865707, 0.029165903106331825, -0.008840609341859818, -0.013161424547433853, -0.05142109841108322, -0.020352080464363098, -0.09779752790927887, 0.08320299535989761, -0.017598425969481468, -0.0064250510185956955, 0.03681675344705582, -0.0024180361069738865, -0.005716982763260603, -0.016751784831285477, 0.023126592859625816, 0.06071437895298004, -0.002292403019964695, 0.031539544463157654, -0.0789962038397789, 0.07535615563392639, 0.07424341887235641, -0.0390002615749836, 0.057298269122838974, 0.04131166264414787, -0.05543769896030426, -0.009906056337058544, -0.024090951308608055, 0.029269050806760788, -0.02451995387673378, -0.02835335209965706, 0.016184544190764427, 0.04385370388627052, 0.017979448661208153, 0.0002906480513047427, -0.05415359511971474, -0.01728430576622486, -0.004947485402226448, -0.3510299623012543, -0.011829930357635021, -0.0261794775724411, -0.015419782139360905, -0.0030461419373750687, -0.0720379501581192, 0.01118205115199089, -0.004830869846045971, -0.02563786692917347, -0.007992492988705635, 0.08605838567018509, -0.03290211036801338, 0.0022565049584954977, -0.08187463879585266, -0.023712877184152603, 0.030564425513148308, -0.06574700772762299, -0.04585239291191101, -0.04638206213712692, 0.014780293218791485, -0.04399700090289116, 0.000985266175121069, 0.026068923994898796, -0.04374876245856285, 0.009233348071575165, -0.06647327542304993, 0.09655678272247314, -0.020069047808647156, 0.08935921639204025, -0.050540778785943985, 0.06466277688741684, -0.0024659461341798306, -0.007453287485986948, -0.135501429438591, 0.0004596103390213102, -0.0040169511921703815, -0.030710360035300255, -0.008381576277315617, 0.05940700322389603, -0.009031674824655056, -0.022507237270474434, 0.0010977525962516665, -0.03542183339595795, -0.03730634227395058, -0.00596301956102252, 0.00008522450661985204, -0.023668358102440834, -0.05707981064915657, 0.00038209810736589134, 0.0777338519692421, 0.0012537263100966811, -0.02345171943306923, 0.031913019716739655, 0.04783795028924942, -0.028699098154902458, -0.046058185398578644, -0.05889103189110756, -0.00814847182482481, 0.009107615798711777, 0.0533585324883461, 0.03440198674798012, 0.053917232900857925, 0.011860768310725689, -0.043286096304655075, 0.007394056301563978, -0.01780855841934681, -0.003958511166274548, -0.0009993822313845158, 0.0571298711001873, -0.06793203204870224, -0.014104824513196945, 0.12522947788238525, 0.006925396155565977, 0.021410364657640457, 0.04243771359324455, 0.016406144946813583, -0.004012536257505417, -0.001852365443482995, 0.008066716603934765, -0.0002874437195714563, -0.003927134443074465, -0.008716982789337635, 0.03952949121594429, -0.025776585564017296, 0.02768615633249283, 0.04762330278754234, -0.03161047399044037, -0.0056421784684062, 0.024561773985624313, -0.029338838532567024, -0.018605494871735573, -0.015998799353837967, -0.023639151826500893, -0.06612230092287064, 0.034925639629364014, -0.02249828912317753, -0.2572455108165741, 0.004356435965746641, 0.06497874110937119, 0.06480338424444199, 0.006674526259303093, 0.029202884063124657, 0.04152307286858559, -0.016966400668025017, 0.0074422406032681465, 0.02975372038781643, 0.05466073378920555, 0.024694720283150673, 0.02263561077415943, 0.019039519131183624, 0.06394759565591812, 0.017115063965320587, 0.002265134360641241, 0.013213283382356167, -0.004254460800439119, -0.023966215550899506, -0.005931278690695763, -0.00642416113987565, 0.16824699938297272, 0.004144672770053148, 0.051763035356998444, 0.0256482120603323, 0.041862852871418, 0.009392187930643559, 0.05487528070807457, 0.03867700695991516, 0.012464062310755253, -0.004986518062651157, 0.09972608834505081, -0.0035206931643188, 0.01796899549663067, -0.08757048845291138, 0.016058292239904404, -0.017370101064443588, 0.012425814755260944, -0.005412685219198465, -0.027399366721510887, 0.004482874181121588, -0.024766145274043083, 0.05995599180459976, 0.057981789112091064, 0.028870312497019768, -0.012349522672593594, -0.04108472913503647, -0.018413253128528595, -0.027321917936205864, -0.036197640001773834, -0.04419580101966858, -0.0034928536042571068, 0.011288516223430634, 0.021267974749207497, 0.06692641228437424, 0.003513817908242345, -0.027375241741538048, -0.051545169204473495, 0.04080367833375931, 0.01471870206296444, 0.03691473975777626, 0.08733751624822617, 0.04666703939437866, 0.02652236633002758 ]
[ -0.026403283700346947, 0.044560328125953674, -0.03197822719812393, 0.005466223694384098, -0.022911278530955315, 0.008632127195596695, -0.020565537735819817, 0.007874591276049614, -0.028856119140982628, 0.014858637936413288, 0.005803087260574102, -0.026665881276130676, 0.03447427228093147, -0.053069181740283966, 0.030711209401488304, -0.0024709629360586405, 0.01604057103395462, -0.004822786431759596, 0.029735540971159935, 0.005607509985566139, -0.017331711947917938, 0.03184743970632553, -0.019745832309126854, -0.014076786115765572, -0.030745243653655052, 0.004478467628359795, 0.038610197603702545, 0.001016056863591075, 0.014625508338212967, -0.13428770005702972, -0.01451297290623188, -0.027664445340633392, -0.02104969695210457, 0.011099180206656456, -0.03191392868757248, -0.005644442513585091, 0.03559241071343422, 0.02926519885659218, 0.02056581899523735, -0.05862589180469513, 0.0004409952671267092, 0.010726257227361202, 0.00042762779048644006, 0.005371563136577606, -0.015155676752328873, 0.009045174345374107, -0.017771638929843903, -0.015043633058667183, -0.003763296641409397, -0.06231130287051201, -0.0034831385128200054, 0.0015957423020154238, 0.0414220429956913, -0.0024098369758576155, -0.024883335456252098, -0.01585840992629528, 0.003240537829697132, 0.0040368083864450455, 0.011153050698339939, 0.01859119161963463, -0.0036562613677233458, -0.04215874895453453, -0.014653988182544708, -0.013208884745836258, 0.0344068743288517, -0.009654421359300613, -0.0014277141308411956, -0.005469223018735647, -0.017636241391301155, -0.0028978129848837852, -0.01870139315724373, 0.03677701950073242, -0.04407625272870064, 0.014846621081233025, -0.007611876353621483, 0.005511561408638954, -0.008532676845788956, 0.01878949999809265, 0.0231768935918808, 0.0006894254474900663, -0.03493884950876236, 0.019614581018686295, -0.001108853262849152, 0.01749580353498459, -0.007798672188073397, 0.0045994119718670845, -0.0002710562839638442, 0.0010804350022226572, -0.027805715799331665, 0.0224408358335495, -0.027594372630119324, 0.03345287963747978, -0.0025056928861886263, 0.014740715734660625, -0.08969336003065109, -0.0038621986750513315, 0.012706205248832703, -0.010478147305548191, -0.00822747964411974, 0.8485308289527893, 0.0069679985754191875, 0.03852200135588646, 0.03298215568065643, 0.000605026085395366, -0.011515951715409756, 0.006809557788074017, -0.008958552032709122, 0.010632897727191448, 0.036598216742277145, -0.010516068898141384, 0.017129164189100266, -0.004510375205427408, -0.01571274735033512, 0.011098469607532024, -0.009325946681201458, -0.0023463184479624033, -0.007270562928169966, -0.018706949427723885, -0.016225963830947876, -0.004359704442322254, 0.01210855133831501, -0.014103266410529613, -0.010028526186943054, -0.037387147545814514, 0.019076066091656685, -0.18768401443958282, 0.028036847710609436, -9.223849970249125e-33, 0.023266544565558434, 0.009425846859812737, 0.0037676857318729162, 0.028056392446160316, 0.044942617416381836, -0.001985951792448759, 0.042659156024456024, 0.039583832025527954, 0.03608996793627739, -0.03695220872759819, 0.0009999941103160381, -0.030942318961024284, 0.005097031127661467, -0.01301269419491291, 0.03523610532283783, -0.0029080896638333797, -0.01784481480717659, 0.0041531664319336414, 0.006007480435073376, 0.00517325708642602, 0.03513264283537865, 0.04562225937843323, 0.031236302107572556, 0.0005724567454308271, 0.026486836373806, 0.03279746323823929, 0.007174529600888491, 0.0001739285362418741, -0.029231347143650055, -0.03250492736697197, 0.010986432433128357, 0.034059278666973114, -0.016452990472316742, 0.0014863380929455161, 0.049252092838287354, -0.036100372672080994, -0.0053534479811787605, -0.012143975123763084, -0.029104143381118774, -0.04628843441605568, -0.03534822165966034, -0.021252477541565895, -0.033360544592142105, 0.004341535270214081, -0.05999459698796272, -0.035333823412656784, -0.003813336370512843, -0.009898467920720577, 0.039999403059482574, 0.04980603978037834, -0.006327565759420395, 0.0442277267575264, 0.030389415100216866, -0.023219037801027298, -0.025717932730913162, -0.010225650854408741, -0.051335860043764114, -0.007358178496360779, 0.00933811254799366, -0.026834413409233093, 0.015933603048324585, -0.004991515539586544, -0.021134251728653908, 0.0080034164711833, -0.02580523118376732, -0.03612340986728668, 0.03437432646751404, -0.013562699779868126, 0.016589641571044922, -0.02994796819984913, 0.009719275869429111, -0.0015735178021714091, -0.03759894520044327, 0.0036998847499489784, -0.008468394167721272, 0.011570924893021584, 0.02750919759273529, 0.030002711340785027, 0.014445660635828972, 0.012953853234648705, 0.014277310110628605, 0.011642485857009888, 0.0002305342350155115, -0.02716297097504139, -0.006492445711046457, -0.0207852553576231, 0.022121800109744072, 0.018987426534295082, 0.008941395208239555, 0.003317618742585182, 0.031592078506946564, 0.014897276647388935, -0.003740637330338359, 0.0051715620793402195, -0.039470475167036057, 8.221971726939474e-33, 0.03455715253949165, -0.03354683518409729, -0.01600133441388607, 0.002714739181101322, 0.024787254631519318, 0.01600787043571472, 0.00010374950943514705, 0.010718612000346184, -0.05961693078279495, 0.011299106292426586, -0.0012205264065414667, 0.04431700333952904, -0.007585834711790085, 0.015586264431476593, 0.05186555162072182, -0.03932791203260422, 0.013923192396759987, -0.02176128514111042, 0.023074673488736153, -0.000633572693914175, 0.034810248762369156, 0.010853232815861702, 0.005075747147202492, -0.01607273891568184, 0.00763728516176343, 0.03945933282375336, -0.04860509932041168, 0.010984634049236774, -0.004622979089617729, 0.013788372278213501, 0.010958405211567879, 0.020210962742567062, 0.02778216078877449, -0.03945988789200783, -0.019582148641347885, -0.01047605276107788, 0.0159341748803854, 0.03694308176636696, 0.012271265499293804, 0.006581986788660288, -0.006723662838339806, 0.0015907165361568332, 0.012318805791437626, 0.03461211919784546, 0.03639594465494156, -0.021842898800969124, -0.0055670179426670074, -0.025667188689112663, -0.005464609712362289, 0.07681336253881454, 0.008931327611207962, 0.019223306328058243, 0.01919165998697281, -0.00394896836951375, -0.0009073410765267909, -0.022288965061306953, -0.02223869226872921, -0.03664803132414818, -0.0028230841271579266, 0.012251034379005432, -0.039005178958177567, 0.011257587000727654, -0.036403436213731766, 0.034036170691251755, -0.06481707096099854, 0.009025885723531246, -0.031045464798808098, -0.009289422072470188, 0.000029366538001340814, -0.031753551214933395, -0.01949472725391388, -0.018636735156178474, -0.02088184654712677, 0.005838823039084673, 0.015646755695343018, -0.04107285290956497, 0.0053847553208470345, -0.0030087539926171303, -0.0075634922832250595, 0.00042913551442325115, 0.018836505711078644, -0.022501859813928604, 0.035317447036504745, -0.00933874025940895, -0.0064161960035562515, -0.01595672219991684, -0.028378816321492195, -0.00608691805973649, -0.021597404032945633, 0.02202935703098774, -0.03639744967222214, 0.0036285067908465862, -0.028867855668067932, -0.006023218855261803, -0.022838370874524117, -1.3916955587944813e-8, -0.02189057134091854, 0.016444729641079903, 0.004609471186995506, 0.008328394964337349, 0.010735692456364632, -0.0008176153642125428, -0.030172007158398628, -0.022526737302541733, -0.023354755714535713, 0.006649296265095472, 0.03433578833937645, -0.02356378547847271, -0.005151926539838314, -0.0010448794346302748, 0.01739632338285446, -0.0343288779258728, -0.027093570679426193, 0.005389074794948101, 0.009150773286819458, 0.017552178353071213, 0.02851526439189911, 0.04956299439072609, -0.0052679236978292465, 0.029177000746130943, 0.0575399324297905, 0.018446853384375572, 0.002975400071591139, -0.08075493574142456, 0.0006431312067434192, 0.02391962893307209, -0.03039374202489853, -0.0036714912857860327, -0.019449494779109955, -0.0012411713832989335, -0.03210452198982239, -0.018911087885499, -0.006054067052900791, 0.022655606269836426, 0.009585967287421227, -0.02122359350323677, 0.005552052520215511, 0.030224459245800972, -0.010480052791535854, -0.021944474428892136, 0.0067748622968792915, 0.0061644804663956165, -0.031908996403217316, 0.02817874401807785, 0.021358957514166832, -0.03111015260219574, -0.02753274515271187, -0.006183725781738758, 0.009354731068015099, 0.048513077199459076, 0.012643358670175076, -0.013526643626391888, 0.03077293187379837, 0.001199236256070435, 0.001339569571428001, -0.018488213419914246, 0.046492308378219604, 0.016979586333036423, -0.017168477177619934, -0.015120447613298893 ]
coding-checking-invariants-in-a-factory-method
https://markhneedham.com/blog/2009/09/06/coding-checking-invariants-in-a-factory-method
false
2009-09-06 23:25:42
Fiddler: Trying to work out how it all hooks together
[ "fiddler" ]
[ "Software Development" ]
I http://www.markhneedham.com/blog/2009/06/24/using-fiddler-with-iis/[mentioned previously] that we're making use of Fiddler quite a lot on my current project, mainly to check the traffic going to and from the service layer, and I'm quite curious how it actually works. In particular I wanted to know: * How we're able to route requests through Fiddler and then through the corporate proxy * How proxy settings work differently for Firefox and Internet Explorer As far as I'm aware the source code for Fiddler isn't available so a colleague and I tracked the various proxy settings when Fiddler was turned on and off and also had a look at some registry settings. image::{{<siteurl>}}/uploads/2009/09/fiddler.png[fiddler.png,673] As Internet Explorer is a http://msdn.microsoft.com/en-us/library/aa383630%28VS.85%29.aspx[WinInet] based application it looks at the Local Area Network settings to check whether there are any proxies that it needs to route requests through. I believe any proxy defined in here would be known as the 'system proxy'. We noticed that our application also routed its requests via the proxy defined in the LAN settings as well - it is a .NET application but I guess that even applications written in other languages but running on windows would make use of the system proxy too? Firefox has its own proxy settings which are accessible via the preferences menu of the browser and are then configurable from the 'Advanced \-> Network' tab. If another proxy is defined in the LAN settings when Fiddler starts up it takes this value and stores it somewhere (in memory presumably) as the 'Upstream gateway proxy' (Tools \-> Fiddler Options \-> Connections) which it directs requests through before they go out to the internet. It then changes the proxy defined in the LAN settings to point to itself - typically port 8888 locally. The 'Upstream gateway proxy' always seems to be the same as the 'system proxy' so if a different proxy is defined on FireFox than Internet Explorer this won't be used even though on the latest version of Fiddler when it starts up the FireFox proxy will be changed to point to Fiddler. When Fiddler is shut down it reverts the proxy settings to how they were previously although (unsurprisingly) if it crashes then we are left in a state where requests are being sent to 'http://localhost:8888' and there is no application listening on that port anymore meaning that we end up with a 'Cannot find server or DNS Error'. Restarting Fiddler gets rid of that problem although the 'Upstream gateway proxy' usually seems to get lost so if we want to make requests out to the internet then we need to go and reset that in our LAN settings before restarting Fiddler. If there's anything inaccurate in what I've written or if you know of any resources that would help me understand this better if you let me know in the comments that'd be cool!
null
null
[ 0.01933622732758522, -0.0207187719643116, 0.03773403540253639, 0.013280496932566166, 0.09795774519443512, -0.03427521511912346, 0.01721953973174095, 0.05157554894685745, 0.015046423301100731, -0.046722784638404846, 0.009809093549847603, -0.006679773796349764, -0.07253621518611908, 0.02416599914431572, -0.01387985609471798, 0.07554011791944504, 0.09632987529039383, -0.017698556184768677, 0.011384133249521255, -0.030425764620304108, 0.03621574118733406, 0.05782764405012131, -0.006012123078107834, 0.040549684315919876, 0.018852442502975464, 0.02651861682534218, -0.002302789594978094, -0.0037639327347278595, -0.03211929276585579, 0.0008287638775072992, 0.07350127398967743, 0.03331131115555763, 0.007179216016083956, -0.00019411879475228488, 0.016599372029304504, -0.018407484516501427, -0.02138858661055565, 0.018483655527234077, -0.017117254436016083, 0.014311353676021099, -0.08683523535728455, 0.04109378159046173, -0.012180193327367306, 0.015918364748358727, -0.04251781478524208, -0.016246894374489784, -0.023862125352025032, 0.024380242452025414, 0.0230184867978096, 0.0133163221180439, -0.08649275451898575, 0.04704389348626137, -0.03267460688948631, 0.033380597829818726, -0.004874259699136019, 0.028165804222226143, 0.03177952021360397, -0.048872772604227066, 0.024040723219513893, -0.03912116214632988, 0.01187675166875124, 0.026844121515750885, 0.01358768530189991, 0.029853813350200653, -0.0009135790751315653, -0.03183700516819954, 0.012010837905108929, 0.06308608502149582, -0.020014692097902298, -0.0032518883235752583, 0.0048728385008871555, 0.030020669102668762, -0.022278090938925743, 0.005334188230335712, 0.05432971194386482, -0.009462044574320316, -0.01722235418856144, 0.040108464658260345, 0.010711761191487312, 0.049045395106077194, -0.04407354071736336, -0.010075056925415993, 0.03374471142888069, 0.020238375291228294, -0.006669776979833841, -0.04430202767252922, -0.061870623379945755, 0.04321170225739479, -0.05976446717977524, 0.060911018401384354, 0.018206937238574028, -0.06608711928129196, 0.025756413117051125, 0.006836709566414356, -0.016828957945108414, -0.010107284411787987, 0.011047974228858948, -0.004357246216386557, 0.019085075706243515, -0.010035917162895203, -0.013866688124835491, -0.0002613382530398667, -0.0018376666121184826, 0.028568359091877937, -0.08048387616872787, -0.005699703004211187, -0.015904905274510384, -0.004719215910881758, -0.029129890725016594, -0.012462632730603218, -0.04692516848444939, 0.014113634824752808, -0.029678525403141975, -0.0035382213536649942, -0.07314728945493698, 0.07704122364521027, 0.012192458845674992, -0.04792541265487671, 0.01943019963800907, 0.03408678248524666, 0.05392805486917496, 0.02840621955692768, -0.037661001086235046, 0.05604571849107742, 0.018096255138516426, 0.03439740091562271, 0.003381339367479086, 0.04530806094408035, -0.013174399733543396, -0.07426680624485016, 0.016857067123055458, 0.06131989136338234, -0.009542685002088547, 0.012685547582805157, -0.02357236109673977, 0.01163939293473959, 0.014391276054084301, -0.008203171193599701, 0.04781603813171387, 0.028621340170502663, -0.017258038744330406, -0.05552538484334946, -0.008038453757762909, -0.0018932785606011748, 0.006521281786262989, 0.024790791794657707, 0.01687467284500599, -0.04953162372112274, -0.01479011308401823, 0.009285766631364822, 0.022093115374445915, 0.034782715141773224, 0.055340252816677094, -0.03491666540503502, -0.006276989821344614, 0.04290008172392845, 0.0451856330037117, 0.0060156830586493015, -0.02079658955335617, -0.002209648722782731, 0.041373807936906815, 0.02513449639081955, 0.015870120376348495, 0.04258739575743675, 0.00879712589085102, 0.000059368725487729535, -0.019046969711780548, 0.06408808380365372, 0.008805624209344387, -0.01310687605291605, -0.049006108194589615, -0.01930070109665394, 0.055288832634687424, -0.06966587901115417, 0.012184902094304562, 0.055969949811697006, 0.04178062081336975, 0.02811584435403347, 0.0408557690680027, -0.01127123087644577, -0.0681457668542862, 0.014426885172724724, 0.0310598686337471, 0.036976996809244156, 0.025485333055257797, 0.013355055823922157, 0.09457430988550186, 0.030573999509215355, 0.021239779889583588, 0.0240365918725729, -0.04693002626299858, -0.0797044038772583, -0.052030254155397415, -0.019027695059776306, 0.037625059485435486, -0.02591482177376747, 0.010332048870623112, 0.07297886908054352, 0.04359954595565796, 0.03220877796411514, 0.024865472689270973, -0.04241633042693138, 0.05961054190993309, -0.04648572579026222, -0.07413873076438904, 0.028113827109336853, 0.00012722045357804745, -0.018519200384616852, -0.044786978513002396, 0.010006215423345566, -0.03424038738012314, -0.01415772270411253, 0.030153613537549973, -0.009492626413702965, 0.04266633838415146, 0.009080752730369568, 0.033563096076250076, -0.04785141721367836, 0.02911517396569252, -0.027765266597270966, 0.029428668320178986, -0.011327920481562614, -0.02302367426455021, 0.012235250324010849, -0.006132226902991533, 0.1301734298467636, 0.08104518055915833, -0.01834934763610363, -0.0663837417960167, 0.008480346761643887, -0.015888620167970657, -0.04635906219482422, 0.0038915430195629597, -0.0286013875156641, -0.0022017513401806355, 0.033331457525491714, -0.0474545992910862, -0.027210762724280357, 0.014413914643228054, -0.03970387950539589, 0.03494676202535629, 0.06401334702968597, -0.011125139892101288, 0.03670310601592064, -0.006881180685013533, -0.03355158120393753, 0.017226822674274445, -0.027123374864459038, -0.047484640032052994, 0.005399171728640795, 0.025107037276029587, -0.016179341822862625, 0.03662772849202156, -0.03572113439440727, -0.009461144916713238, -0.01926865056157112, -0.029803158715367317, 0.043139200657606125, 0.014947944320738316, 0.0542869046330452, 0.011460172943770885, 0.042361292988061905, -0.0009233907330781221, 0.027687428519129753, 0.01832594722509384, -0.055095214396715164, -0.04290511831641197, -0.033483512699604034, 0.012922361493110657, 0.004689281340688467, 0.004807089921087027, -0.001958867534995079, 0.06851505488157272, -0.011312938295304775, -0.0051974942907691, -0.029305359348654747, 0.027567941695451736, 0.03802332282066345, -0.009508946910500526, -0.02464393340051174, 0.004012940917164087, 0.020859159529209137, -0.0054813409224152565, -0.0235768910497427, -0.02028123289346695, -0.08117459714412689, 0.034435421228408813, -0.0776342824101448, -0.04800746589899063, -0.036614976823329926, 0.024009719491004944, 0.03390700742602348, 0.0024901856668293476, 0.026774324476718903, 0.03902927413582802, 0.03235486522316933, 0.025723949074745178, 0.04630230367183685, 0.00385551480576396, 0.016503315418958664, 0.029135851189494133, 0.015292932279407978, 0.049842458218336105, 0.004798416513949633, -0.030742734670639038, -0.0585881769657135, 0.02719803713262081, -0.03559556603431702, -0.2577863335609436, 0.022985026240348816, 0.021431170403957367, -0.03955845162272453, 0.01918644644320011, -0.0114480871707201, 0.02349512092769146, -0.05984356626868248, -0.018025726079940796, 0.009371018037199974, 0.0007173228077590466, -0.0385746955871582, -0.02884308621287346, 0.025136923417448997, -0.036426421254873276, 0.028304066509008408, 0.0026089753955602646, -0.04690532013773918, 0.009598318487405777, -0.004342420492321253, 0.007691208738833666, -0.04467230290174484, 0.02266223542392254, 0.01943618431687355, 0.030575178563594818, 0.03762811794877052, -0.06615293771028519, 0.04048678278923035, -0.05033138394355774, -0.013766526244580746, 0.003397977212443948, -0.005176229402422905, 0.013393686152994633, -0.01266323309391737, -0.04229823872447014, -0.03821859881281853, 0.05198236182332039, 0.015912767499685287, 0.01455132570117712, -0.015960024669766426, -0.06112109124660492, -0.030667735263705254, -0.0006625143578276038, -0.006758250296115875, 0.05808096006512642, -0.004957242403179407, -0.06051686778664589, -0.0010841513285413384, -0.010433860123157501, 0.06336482614278793, -0.041340433061122894, -0.031994063407182693, 0.00008938268729252741, 0.03696424514055252, -0.0267832912504673, -0.022642318159341812, -0.017984718084335327, -0.02512265183031559, -0.04093509912490845, -0.05932306498289108, -0.00273583154194057, -0.02780104987323284, -0.046124059706926346, -0.055255938321352005, 0.02139338292181492, -0.060489438474178314, -0.05558229982852936, -0.012175885029137135, 0.0666576698422432, 0.02439841628074646, -0.0022524697706103325, 0.020863715559244156, 0.005852441303431988, -0.09909530729055405, 0.026807356625795364, -0.03398104012012482, -0.02338327281177044, -0.008987565524876118, 0.010543227195739746, 0.01759750209748745, -0.04943578690290451, -0.012773551046848297, 0.006253951229155064, 0.0026113842613995075, 0.009190093725919724, 0.0034727456513792276, 0.027553288266062737, -0.008637738414108753, -0.01113276556134224, 0.02317654713988304, 0.07822585105895996, -0.00532394926995039, -0.033714842051267624, -0.01157443318516016, -0.0038159657269716263, 0.00839801225811243, 0.01622866839170456, 0.04170122742652893, 0.04214867576956749, 0.01632559485733509, 0.06962013244628906, -0.06309699267148972, 0.009831654839217663, -0.027433795854449272, -0.0007964466931298375, 0.02017417922616005, -0.0437316857278347, 0.013187927193939686, 0.060707494616508484, 0.003935172222554684, -0.025530459359288216, -0.02819511666893959, 0.008962352760136127, -0.04683293029665947, -0.030841542407870293, -0.030550753697752953, 0.0184332225471735, -0.009210101328790188, 0.005752203520387411, -0.04970122128725052, -0.021361248567700386, 0.026149913668632507, 0.036447055637836456, -0.004469809588044882, -0.07936958223581314, -0.040950316935777664, -0.01282094419002533, 0.017398418858647346, 0.032462235540151596, 0.06068922579288483, -0.013720771297812462, 0.03683300316333771, 0.03626402094960213, -0.04717221111059189, 0.006092817988246679, -0.015436180867254734, -0.010826531797647476, -0.018468452617526054, 0.01444259937852621, 0.01134663075208664, -0.05629269406199455, 0.016760459169745445, 0.03585013747215271, 0.006520606577396393, 0.04551640525460243, 0.05768634006381035, 0.030403006821870804, -0.0041805049404501915, -0.01694611832499504, 0.009090005420148373, 0.008195429109036922, -0.05689862370491028, -0.011720828711986542, -0.012777664698660374, -0.025412864983081818, -0.004923912230879068, 0.032593198120594025, 0.003819674951955676, -0.030244819819927216, -0.03480498492717743, 0.03355862572789192, -0.06818287074565887, -0.022773105651140213, 0.00943257100880146, -0.0064624762162566185, 0.05530941113829613, -0.013673937879502773, 0.014628482051193714, 0.0019079159246757627, -0.014329575002193451, 0.03845915570855141, 0.06134091317653656, -0.019001251086592674, 0.03693931922316551, 0.0115818465128541, 0.00493598822504282, -0.03120758756995201, 0.019850464537739754, 0.048812370747327805, 0.022152934223413467, 0.041251298040151596, 0.0013860398903489113, 0.011557347141206264, 0.02077195793390274, 0.014864685945212841, -0.015613529831171036, -0.008392889983952045, 0.008708317764103413, 0.02104305289685726, 0.014988460578024387, 0.00026131904451176524, -0.004520347807556391, -0.046248018741607666, 0.015595034696161747, -0.015909399837255478, -0.07035225629806519, 0.032084546983242035, -0.019484639167785645, 0.010945534333586693, 0.011824450455605984, -0.006823697593063116, 0.012167786248028278, -0.012817527167499065, 0.023600582033395767, 0.018882067874073982, -0.04492704197764397, -0.01628703624010086, 0.022952722385525703, 0.010184741578996181, 0.009486340917646885, -0.00959058478474617, -0.07470416277647018, -0.00019948079716414213, -0.0017498619854450226, 0.0016043881187215447, -0.07778739929199219, -0.04317827522754669, -0.027220768854022026, 0.02515573799610138, 0.008265587501227856, 0.0034326445311307907, -0.022482069209218025, -0.0013756323605775833, -0.01989724487066269, -0.046554066240787506, 0.026231054216623306, -0.004593120887875557, -0.03850538283586502, 0.01854013092815876, -0.02806142158806324, -0.00661051319912076, -0.014795979484915733, 0.03744560107588768, 0.03269487991929054, -0.042342789471149445, -0.012117935344576836, -0.0726509690284729, -0.003232848597690463, -0.0058585223741829395, 0.0475006066262722, -0.01269761472940445, -0.02683119848370552, -0.0797339454293251, -0.003443439956754446, 0.0016354277031496167, 0.00733073940500617, -0.04725369065999985, -0.03672228381037712, 0.010882249101996422, 0.042048655450344086, -0.014857790432870388, 0.009832965210080147, 0.03587029129266739, -0.02447480522096157, 0.056887391954660416, -0.08426155894994736, -0.015827808529138565, 0.01862974837422371, -0.04852718114852905, 0.0015243485104292631, -0.02843046560883522, 0.006048411130905151, -0.06429800391197205, 0.030612949281930923, 0.024734940379858017, -0.006100693251937628, 0.04431316629052162, 0.02940288558602333, 0.01863761618733406, -0.03346919268369675, -0.010159244760870934, -0.06953322887420654, 0.022689752280712128, 0.005654248408973217, 0.024822494015097618, -0.021999409422278404, 0.011730159632861614, -0.017410917207598686, 0.04821866750717163, -0.06435228884220123, -0.04918496310710907, 0.013508623465895653, -0.0002788430138025433, -0.0253304410725832, -0.008151685819029808, -0.06354866921901703, 0.059390679001808167, 0.04873240739107132, -0.07762223482131958, -0.04188922792673111, -0.02130289189517498, 0.041716448962688446, -0.00913254451006651, 0.021507877856492996, -0.03867276385426521, -0.029489612206816673, 0.06005241721868515, 0.02630656026303768, -0.00036461904528550804, 0.048811618238687515, -0.033440981060266495, 0.011534126475453377, 0.023678787052631378, -0.015448656864464283, -0.01860841177403927, -0.016530094668269157, 0.023388562723994255, -0.056869637221097946, 0.03381340205669403, -0.014381331391632557, -0.009315233677625656, -0.07352297753095627, 0.05869036167860031, 0.01856587827205658, -0.022018538787961006, -0.04266781732439995, 0.007007255218923092, -0.013501578010618687, -0.018914420157670975, 0.006013873964548111, 0.03792222589254379, 0.002768257400020957, 0.07556454837322235, 0.01485738530755043, -0.0003186299290973693, 0.05404317378997803, 0.01387812290340662, -0.008574136532843113, -0.0094803087413311, 0.09361084550619125, 0.08618084341287613, 0.0320313423871994, 0.025217309594154358, 0.06594366580247879, -0.00441415561363101, -0.05838511884212494, -0.0010127067798748612, -0.06176639720797539, -0.03187917172908783, -0.02929794229567051, 0.026877185329794884, 0.07376814633607864, -0.002645120257511735, 0.07457111775875092, -0.030133970081806183, 0.008998740464448929, -0.0017761639319360256, 0.004674671683460474, 0.023853052407503128, 0.0008271400583907962, 0.023915166035294533, -0.013819176703691483, 0.008257298730313778, -0.041572656482458115, 0.025263706222176552, 0.0004459510091692209, -0.008146545849740505, 0.002241909969598055, -0.008570647798478603, 0.020965220406651497, -0.014711624011397362, -0.014514521695673466, 0.06895361840724945, -0.02153366431593895, -0.016905950382351875, -0.00460613751783967, 0.013157559558749199, -0.02941169962286949, 0.0032130705658346415, -0.018940424546599388, -0.012234407477080822, -0.043300215154886246, -0.018463389948010445, -0.013069862499833107, -0.04286729916930199, 0.0037985167000442743, 0.002687806263566017, -0.027766482904553413, 0.04184446111321449, -0.0031742327846586704, -0.0035202980507165194, -0.023564377799630165, -0.013529548421502113, -0.07786055654287338, -0.03252411261200905, -0.06213131174445152, -0.03089936263859272, 0.022830843925476074, -0.003907126374542713, -0.01805577427148819, -0.0420050211250782, -0.014306022785604, -0.030250707641243935, 0.029952406883239746, -0.03700736537575722, -0.0377550944685936, 0.010927774012088776, 0.006162128411233425, 0.01695024035871029, 0.05243544280529022, 0.059798356145620346, -0.001590739469975233, -0.008679046295583248, -0.06566619873046875, -0.005442271940410137, 0.07363399118185043, -0.013091761618852615, -0.009391714818775654, -0.07125099003314972, 0.025989267975091934, 0.025875652208924294, -0.008406056091189384, -0.06733770668506622, 0.013965525664389133, 0.04057265445590019, -0.018473563715815544, 0.04313182085752487, -0.04588770121335983, -0.034521546214818954, -0.022571472451090813, -0.036709435284137726, 0.0030881687998771667, -0.009126393124461174, 0.029686443507671356, 0.001827853498980403, 0.06370476633310318, 0.046749088913202286, 0.015272942371666431, -0.011805606074631214, 0.005062863230705261, -0.029370641335844994, 0.01709185354411602, -0.04795049875974655, -0.0050130002200603485, -0.019925152882933617, -0.05568225309252739, -0.046816565096378326, 0.021079231053590775, 0.027531098574399948, -0.019081218168139458, 0.014907874166965485, 0.015207045711576939, -0.05977877229452133, 0.0018353492487221956, -0.032442424446344376, 0.009430336765944958, -0.02727269008755684, -0.0260576494038105, 0.015897050499916077, 0.04653526097536087, 0.0038231515791267157, -0.054154906421899796, 0.02887500822544098, -0.03483286127448082, -0.023939430713653564, -0.020830728113651276, 0.02640218287706375, 0.05640310421586037, 0.011802252382040024, 0.006794496439397335 ]
[ -0.06925712525844574, -0.031037447974085808, -0.02027360536158085, -0.03592962026596069, 0.03036360815167427, -0.056394584476947784, 0.006830041762441397, 0.010288708843290806, -0.00884831603616476, -0.02434023655951023, 0.013068119063973427, -0.00029664047178812325, -0.019879085943102837, -0.02503035217523575, 0.08047899603843689, 0.01540412101894617, -0.019656145945191383, -0.08946952223777771, 0.0029598160181194544, 0.019588883966207504, -0.022523092105984688, -0.03630759194493294, -0.0592961460351944, -0.05448851361870766, -0.028649553656578064, 0.028659692034125328, 0.04796041548252106, -0.03483257070183754, -0.0015212808502838016, -0.17218518257141113, 0.03118879906833172, -0.05648556724190712, -0.04106064885854721, 0.006112041417509317, -0.044367339462041855, -0.015673182904720306, 0.009416977874934673, -0.006372788455337286, -0.0015678545460104942, 0.033474236726760864, 0.034567851573228836, 0.046195611357688904, -0.06414623558521271, 0.038582995533943176, -0.0005201115855015814, -0.0012977145379409194, -0.024297885596752167, 0.0068231564946472645, -0.005785479210317135, 0.012819919735193253, -0.030699901282787323, -0.001323648146353662, 0.03196081146597862, -0.013812457211315632, -0.00602671829983592, 0.002471055369824171, 0.013171088881790638, 0.05894371122121811, 0.000629047688562423, 0.04283171519637108, 0.03453488275408745, -0.03883419930934906, -0.14374962449073792, 0.13827607035636902, -0.013017218559980392, 0.034450359642505646, -0.04359351843595505, -0.004281798377633095, -0.03286021202802658, 0.0635877326130867, -0.012263690121471882, 0.010203443467617035, -0.09244943410158157, 0.05296821892261505, 0.03962215036153793, 0.011594436131417751, -0.008867129683494568, 0.06279922276735306, 0.038094375282526016, -0.012994074262678623, 0.014174245297908783, -0.017066890373826027, -0.012733763083815575, -0.01043500006198883, -0.02085939608514309, 0.002630882430821657, 0.007672950159758329, 0.014160207472741604, 0.035945963114500046, 0.024365512654185295, 0.0018307259306311607, -0.03827802464365959, 0.02398775890469551, -0.024972641840577126, -0.08131472766399384, -0.022849056869745255, -0.013942437246441841, 0.047003939747810364, -0.043284762650728226, 0.37736088037490845, -0.012758017517626286, -0.03397820144891739, 0.058362413197755814, 0.041560493409633636, 0.017802610993385315, -0.011336848139762878, -0.016108013689517975, -0.004098153207451105, 0.007780878804624081, -0.008466784842312336, 0.03984871134161949, -0.0006855904939584434, 0.03031914122402668, -0.026705440133810043, 0.03345279023051262, -0.008173365145921707, -0.002449939725920558, -0.0011675594141706824, 0.029645703732967377, 0.012502636760473251, -0.018787086009979248, 0.006191442254930735, 0.025330930948257446, 0.026779070496559143, 0.05501716211438179, 0.0144663630053401, 0.0493609756231308, 0.043000493198633194, 0.017360543832182884, 0.07215232402086258, 0.04228982329368591, -0.08786741644144058, -0.0036113334354013205, -0.014338246546685696, 0.021191418170928955, 0.023901773616671562, 0.029615936800837517, -0.002343256724998355, -0.017000805586576462, 0.01280048955231905, -0.01518651656806469, -0.016064787283539772, 0.04649553820490837, -0.018839608877897263, -0.01084946934133768, 0.09651965647935867, 0.007498445920646191, -0.06131567433476448, -0.020868105813860893, -0.05567478388547897, 0.012264597229659557, 0.038247041404247284, -0.024766363203525543, -0.07714047282934189, 0.00495382584631443, 0.04611930996179581, 0.045605145394802094, 0.0192904993891716, -0.041842684149742126, -0.03238566592335701, -0.01731150783598423, -0.04641925171017647, -0.032012708485126495, 0.05031447112560272, 0.035063549876213074, -0.15129025280475616, -0.043142497539520264, 0.021722208708524704, -0.003859694115817547, -0.04264489561319351, -0.03968774899840355, -0.016852430999279022, -0.04472937434911728, -0.034265220165252686, 0.015475950203835964, -0.01747930608689785, -0.06664453446865082, 0.04337264224886894, -0.003930988721549511, -0.025502793490886688, 0.02424398437142372, -0.008323208428919315, -0.030971501022577286, 0.007964488118886948, -0.039007920771837234, -0.07615058124065399, -0.06542953848838806, -0.004528956953436136, -0.054893698543310165, -0.044393088668584824, -0.05146065354347229, -0.048761334270238876, -0.02580854296684265, 0.05030424892902374, 0.046500906348228455, 0.032609470188617706, -0.0072850980795919895, 0.011774840764701366, 0.008404138498008251, -0.035588137805461884, 0.09000793844461441, 0.004058721475303173, -0.028587333858013153, 0.044405873864889145, -0.08064796030521393, 0.08509127795696259, 0.049418285489082336, -0.045871417969465256, 0.06868278235197067, 0.0022570390719920397, -0.03971477970480919, -0.009156999178230762, 0.013156653381884098, 0.03385430946946144, 0.006568477023392916, -0.03236304223537445, 0.005453576799482107, 0.03831607103347778, 0.0048202998004853725, 0.0855795219540596, -0.003565247403457761, -0.011707130819559097, -0.025479013100266457, -0.32420405745506287, -0.048534635454416275, -0.01768406480550766, 0.03650115802884102, 0.0060271089896559715, -0.04801594838500023, 0.01217059139162302, 0.020732983946800232, -0.0027814151253551245, 0.05082971975207329, 0.10708899050951004, 0.02215666137635708, 0.03806037828326225, -0.061065398156642914, -0.0038586161099374294, 0.04337029904127121, -0.013580241240561008, -0.045346032828092575, -0.04532207176089287, 0.0019164918921887875, -0.016395041719079018, 0.009830562397837639, -0.023532714694738388, -0.014032207429409027, -0.002150528132915497, -0.02319576032459736, 0.10396227240562439, 0.01650177501142025, 0.10429031401872635, -0.04343970865011215, 0.06765148043632507, 0.02366545982658863, 0.0053220693953335285, -0.08787136524915695, -0.03061324544250965, -0.011289956979453564, 0.03662396967411041, -0.004186097998172045, 0.04518158361315727, -0.019297221675515175, -0.06029440090060234, 0.013840706087648869, -0.06172125041484833, -0.060663629323244095, -0.00007611939508933574, 0.008079067803919315, 0.006485592108219862, -0.05821546912193298, -0.04636550322175026, 0.05104164779186249, 0.0014569570776075125, 0.032701730728149414, 0.03930291905999184, 0.04182593151926994, -0.006280582398176193, -0.0412946492433548, -0.01747230626642704, 0.0016343535389751196, 0.0018970230594277382, 0.013674134388566017, 0.020705439150333405, 0.05342133343219757, 0.05141640454530716, -0.10339196026325226, 0.03246210142970085, 0.04669099673628807, 0.021622730419039726, -0.003029730636626482, 0.05412256345152855, -0.033852167427539825, -0.05321921035647392, 0.11706150323152542, 0.0056966799311339855, 0.024910081177949905, -0.01950562745332718, 0.033372651785612106, 0.0011722047347575426, 0.03135117515921593, 0.01991695538163185, -0.003351483028382063, 0.0799953043460846, 0.01407528668642044, 0.04714801907539368, -0.049952492117881775, 0.006579661276191473, 0.02707686647772789, -0.06319596618413925, -0.017987433820962906, 0.05945947766304016, 0.0008484767167828977, -0.022156083956360817, 0.008802209049463272, -0.032955415546894073, -0.08697368204593658, 0.03653399646282196, -0.0010040446650236845, -0.24194590747356415, 0.002930557820945978, 0.09821654856204987, 0.029862409457564354, -0.027764547616243362, -0.009904120117425919, 0.036546479910612106, -0.04574906453490257, -0.026354428380727768, 0.030217643827199936, 0.04397609829902649, 0.024788228794932365, 0.0012447426561266184, -0.013197068125009537, 0.03126128390431404, -0.003340628230944276, 0.04736020043492317, 0.023863598704338074, -0.04002121463418007, 0.0018770621391013265, -0.0004861381894443184, -0.02639058046042919, 0.19423796236515045, 0.03357616439461708, 0.027671972289681435, 0.039801280945539474, 0.008714806288480759, 0.02248372882604599, 0.033511847257614136, -0.007599128410220146, 0.043100301176309586, -0.05094682425260544, 0.033657919615507126, -0.0411098375916481, 0.045090366154909134, -0.10586412250995636, -0.022507553920149803, 0.04669783264398575, 0.021627265959978104, -0.022130275145173073, -0.008784486912190914, 0.0191046092659235, -0.05449937283992767, 0.014023265801370144, 0.0527079738676548, -0.0027759228833019733, 0.00444664154201746, -0.01668711006641388, -0.03657956421375275, 0.014033092185854912, -0.061792727559804916, -0.02443285472691059, 0.026588821783661842, -0.009333009831607342, -0.0027629495598375797, 0.04769933223724365, -0.007254329975694418, -0.04619928449392319, -0.034886423498392105, 0.04085690528154373, 0.020741231739521027, -0.016668371856212616, 0.10224547982215881, 0.011335465125739574, 0.07228129357099533 ]
[ -0.021484235301613808, 0.02062716707587242, 0.009715412743389606, 0.012961657717823982, -0.04577776789665222, -0.03259485960006714, 0.028280464932322502, -0.036211516708135605, -0.0066963802091777325, -0.06426368653774261, -0.04133066534996033, 0.011550910770893097, 0.01985223963856697, -0.027831172570586205, 0.0424625463783741, -0.006212732754647732, -0.017651919275522232, -0.030146660283207893, 0.008980486541986465, -0.02077551931142807, -0.03995323181152344, -0.009933032095432281, -0.02360997535288334, -0.015194705687463284, -0.019794641062617302, -0.021156348288059235, -0.010056430473923683, 0.041593074798583984, 0.011036810465157032, -0.1420225352048874, 0.006732262205332518, -0.02653270773589611, -0.07397587597370148, -0.0077832541428506374, -0.04595565050840378, -0.019945362582802773, 0.005780517123639584, 0.039000626653432846, -0.003616301342844963, 0.01956813968718052, 0.06117533519864082, -0.029395950958132744, 0.00119864905718714, 0.006186945363879204, -0.016223948448896408, -0.022889316082000732, -0.003217544872313738, -0.03692582622170448, -0.0018795316573232412, 0.044026389718055725, -0.03461572900414467, 0.02779085747897625, -0.02168882265686989, 0.02184212952852249, 0.058508824557065964, -0.048636093735694885, 0.026295103132724762, 0.030934439972043037, 0.006689528468996286, 0.04320816695690155, -0.02682301588356495, -0.020344367250800133, -0.019892500713467598, -0.009125549346208572, -0.017252258956432343, 0.013088829815387726, 0.017315737903118134, -0.022682033479213715, -0.03654085844755173, -0.02348896861076355, -0.0684635266661644, 0.012020600959658623, -0.018082447350025177, -0.009433029219508171, 0.011662949807941914, -0.022980201989412308, -0.02532522939145565, 0.038823001086711884, -0.006943581625819206, -0.00908447615802288, 0.019424395635724068, 0.0015219467459246516, 0.01229980681091547, 0.07464599609375, 0.023361990228295326, 0.030212417244911194, -0.010687507688999176, -0.022025739774107933, 0.052210040390491486, 0.04895281791687012, -0.0405011847615242, 0.028549784794449806, 0.007013286929577589, 0.05235720053315163, -0.0665297657251358, 0.01721678115427494, 0.009320364333689213, -0.01547003723680973, -0.023485606536269188, 0.7658639550209045, -0.012575323693454266, 0.014469166286289692, 0.046927500516176224, 0.013431500643491745, -0.01567183993756771, -0.023750916123390198, 0.027233004570007324, 0.016544677317142487, 0.05726535990834236, -0.032324519008398056, 0.008262830786406994, 0.03885263949632645, 0.011490867473185062, -0.04843645915389061, 0.002685848157852888, -0.012223426252603531, 0.04449160769581795, -0.00462635513395071, 0.00044476130278781056, -0.017007499933242798, 0.01532131526619196, 0.04978695884346962, -0.0001064880852936767, -0.007169859949499369, 0.042343854904174805, -0.15802837908267975, 0.012665779329836369, -8.573113930049169e-33, -0.011805437505245209, -0.009664474986493587, -0.0015600649639964104, 0.024360833689570427, 0.05894710123538971, -0.07814619690179825, 0.041147999465465546, 0.04832557216286659, -0.02034146711230278, -0.03445041552186012, 0.008670649491250515, -0.018217382952570915, -0.03738345578312874, -0.00811764132231474, 0.04604426771402359, -0.011000378988683224, -0.035561054944992065, 0.03027365729212761, 0.023749040439724922, -0.010881055146455765, 0.03538325056433678, -0.018893880769610405, 0.02119944803416729, -0.0028894988354295492, -0.01870310865342617, 0.023070234805345535, -0.009652387350797653, 0.03407176584005356, -0.04187481477856636, -0.054866258054971695, 0.03948311507701874, -0.01143235806375742, -0.011486915871500969, -0.059069178998470306, 0.05488069728016853, -0.038559261709451675, -0.0003446407208684832, 0.0032602869905531406, -0.013797991909086704, 0.011426343582570553, -0.05345809459686279, -0.03996483236551285, 0.012846278958022594, -0.004052145406603813, -0.012353583239018917, -0.0753336027264595, -0.028818292543292046, -0.008382702246308327, 0.036661483347415924, 0.00689519289880991, 0.07269942760467529, 0.002472171327099204, 0.00865030288696289, -0.011512798257172108, -0.00012218882329761982, 0.06747356057167053, -0.01287213247269392, 0.012994198128581047, -0.01913514733314514, 0.012770945206284523, 0.0636725053191185, -0.03732023760676384, -0.04104721546173096, 0.017789022997021675, 0.0047529591247439384, -0.018353501334786415, 0.0760168507695198, 0.03119673766195774, -0.006113127339631319, 0.007010404020547867, -0.022703789174556732, 0.00799422524869442, -0.013020675629377365, -0.01158139668405056, 0.0548667348921299, 0.005881249904632568, -0.032922450453042984, 0.011296053417026997, 0.009170831181108952, 0.045470427721738815, 0.05214376747608185, -0.03550170361995697, -0.02683812752366066, -0.011300474405288696, -0.042935535311698914, -0.014820494689047337, 0.03927353024482727, -0.037225525826215744, 0.029077203944325447, 0.03428971394896507, 0.030298439785838127, 0.00934700109064579, -0.007721609901636839, 0.030893689021468163, -0.03419983759522438, 8.043940168771561e-33, -0.0047567980363965034, 0.03815196454524994, -0.01618249900639057, -0.012258753180503845, -0.020473772659897804, -0.024424083530902863, 0.08158529549837112, 0.017797311767935753, -0.008812671527266502, 0.04156894236803055, 0.03149567171931267, 0.048346348106861115, 0.0124367605894804, -0.0029076235368847847, 0.007161400746554136, -0.019854024052619934, -0.0171331986784935, -0.010519981384277344, 0.03992738947272301, -0.03217565640807152, -0.016183247789740562, 0.007999470457434654, -0.013930834829807281, 0.015062130056321621, -0.006404827814549208, 0.04158785939216614, -0.0004291256773285568, -0.022734645754098892, -0.027042623609304428, 0.008896402083337307, 0.003549479879438877, -0.03002338297665119, 0.016554003581404686, -0.0479566864669323, 0.0009748037555254996, 0.008602330461144447, 0.013263056054711342, 0.0013050060952082276, 0.03066454641520977, -0.019417431205511093, 0.040363989770412445, -0.01289241574704647, 0.002368221990764141, 0.021812347695231438, 0.051757700741291046, 0.015367669984698296, -0.009254125878214836, -0.018490951508283615, 0.008565768599510193, 0.06379977613687515, -0.001968209631741047, 0.061963047832250595, -0.0034960187040269375, 0.019561704248189926, 0.01999066397547722, -0.007766785100102425, 0.0006498926668427885, -0.03383120521903038, 0.018152903765439987, 0.004729699343442917, -0.01906777173280716, -0.04130402207374573, -0.06430090963840485, 0.052947841584682465, -0.003792938543483615, 0.04617343842983246, -0.0335075706243515, -0.0004193802014924586, 0.009546773508191109, -0.012503575533628464, -0.006326644215732813, -0.012116599828004837, -0.026289574801921844, 0.005086597055196762, 0.016774727031588554, -0.06587987393140793, 0.04284137487411499, 0.005553927272558212, -0.05910636857151985, 0.0436890572309494, 0.025478515774011612, 0.017878463491797447, -0.01727350801229477, -0.05369874835014343, -0.021631253883242607, -0.020504506304860115, -0.03515681251883507, -0.006110061425715685, 0.007324303034693003, -0.047818414866924286, 0.019420647993683815, 0.012478157877922058, -0.010992362163960934, -0.05172822251915932, 0.00682308804243803, -1.3118044428495068e-8, -0.06356798112392426, 0.01942397467792034, -0.023030733689665794, -0.030081070959568024, 0.004737106617540121, -0.013470028527081013, -0.026073554530739784, -0.016530118882656097, -0.05752960965037346, 0.0011287567904219031, 0.039318375289440155, -0.002688103821128607, 0.008528155274689198, 0.04524528235197067, 0.011300204321742058, -0.04823944717645645, -0.03193841129541397, -0.019235707819461823, 0.03698691725730896, -0.005966098513454199, 0.02802680991590023, 0.024711178615689278, 0.025910044088959694, 0.02228178083896637, -0.016944555565714836, -0.018650982528924942, -0.020980525761842728, -0.056528426706790924, 0.040379807353019714, 0.05949411913752556, -0.06273525208234787, -0.007189894560724497, -0.03396448865532875, -0.012772890739142895, -0.051936324685811996, -0.02397751994431019, -0.046282149851322174, 0.004285129718482494, 0.05372932553291321, 0.012951470911502838, 0.01380288414657116, -0.026241375133395195, 0.014558583498001099, -0.01851189136505127, 0.005255020223557949, 0.03672570362687111, -0.055417872965335846, 0.03065243549644947, 0.031408198177814484, -0.05457598343491554, 0.06411176174879074, -0.0017454576445743442, 0.07256748527288437, -0.006729717832058668, -0.005519197788089514, -0.013876717537641525, 0.023755265399813652, -0.010570933111011982, -0.004943220876157284, 0.017538059502840042, 0.04402903467416763, 0.06781966984272003, -0.007520970422774553, -0.013185912743210793 ]
fiddler-trying-to-work-out-how-it-all-hooks-together
https://markhneedham.com/blog/2009/09/06/fiddler-trying-to-work-out-how-it-all-hooks-together
false
2009-09-24 07:35:25
Book Club: Versioning your database (K. Scott Allen)
[ "book-club" ]
[ "Book Club" ]
In our latest technical book club we discussed a series of posts written by K. Scott Allen about getting your database under version control. * http://odetocode.com/Blogs/scott/archive/2008/01/30/11702.aspx[Three rules for database work] * http://odetocode.com/Blogs/scott/archive/2008/01/31/11710.aspx[The baseline] * http://odetocode.com/Blogs/scott/archive/2008/02/02/11721.aspx[Change scripts] * http://odetocode.com/Blogs/scott/archive/2008/02/02/11737.aspx[Views, Stored Procedures and the like] * http://odetocode.com/Blogs/scott/archive/2008/02/03/11746.aspx[Branching and Merging] These are some of my thoughts and our discussion: * We had an interesting discussion around *when it's ok to go and change checked in change scripts* - on previous projects I've worked on we've actually had the rule that once you've checked in a change script to source control then you can no longer change it but instead need to add another change script that does what you want. Several colleagues pointed out that this approach can lead to us having quite a lot of fine grained change scripts - each maybe adding or altering one column - and that an approach they had used with some success was to allow changes to be made up until a change script had been applied in an environment outside of the team's control, typically UAT. * On a previous project I worked on where we didn't script the database, we made use of Hibernate annotations to specify the mappings between domain objects and the database so the SQL code for database creation was being auto generated by a Hibernate tool. This doesn't seem to fit in with the idea of allowing us to incrementally change our database but http://watchitlater.com/blog/[Tom] pointed out that it might be quite a useful way to get an initial baseline for a database. After that we probably want to make use of change scripts. * We discussed the *coupling between the model of a system that we have in a database and the one that exists in our code* when using ORM tools and how we often end up with these two different models being quite tightly coupled meaning that changing our domain model can become quite difficult. Tom pointed out that the database is just another data source but that it often seems to be treated differently to other data sources in this respect. He also suggested the idea of creating an http://www.markhneedham.com/blog/2009/07/07/domain-driven-design-anti-corruption-layer/[anti corruption layer] in our code between the database and our domain model if they start to become too different rather than trying to keep them as similar as possible by some imaginative use of ORM mappings. * Another interesting are of discussion was around *how to deal with test data and existing data in the system with respect to our change scripts*. On projects I've worked on if we had reference data that was required across all environments if we wanted to make changes to this data then we would just make use of another change script to do that. Ahrum suggested that if we had environment specific test data then we'd probably have other environment specific scripts that we could run after the change scripts had been executed. One of the more interesting problems when making changes to tables which already have data in is working out what we want to do with the existing data if we change the type of a column. We can typically either create a temporary column and copy all the values there first before creating an update script that converts each of the values to the data type of the new column or we can just forget about the data which is a less acceptable options from what I've seen. The effort involved in doing this often seems to mean that we are more reluctant to make changes to column types after their initial creation which means that we need to choose the type quite accurately early on. * A couple of colleagues pointed out that one benefit they had found with taking this approach to working with databases actually helped to *expose any problems in the process* - there can't be any under the table changes made to databases if they are being manipulated by change scripts otherwise we end up with different setups in different environments. Since we will be recreating and updating databases quite frequently these problems will become obvious quite quickly. * Dean pointed out that *the change script approach is actually really useful for performance testing* - a benefit of this approach that I hadn't considered previously considered. When doing this type of testing we know which version of the database we were using at the time and if there suddenly becomes a performance problem then it should be much easier to track down which change resulted in the problem.
null
null
[ -0.008583692833781242, -0.0029863074887543917, -0.007126369047909975, 0.05959673970937729, 0.10389780253171921, -0.035474516451358795, 0.02467912994325161, 0.03889065980911255, 0.00926605612039566, -0.0359291210770607, -0.013554360717535019, 0.0030094177927821875, -0.07738253474235535, 0.0007751600351184607, -0.035872988402843475, 0.07420575618743896, 0.05550706759095192, -0.007225209381431341, 0.05489731952548027, 0.004577186889946461, 0.008314888924360275, 0.06497673690319061, -0.001426884438842535, 0.04285258799791336, 0.014544399455189705, 0.03509499877691269, 0.004995012655854225, -0.02488311566412449, -0.07935395836830139, -0.010086007416248322, 0.03901177644729614, -0.020050713792443275, -0.0046459343284368515, -0.0021574231795966625, 0.024540185928344727, -0.009775510989129543, -0.008284371346235275, 0.02898947149515152, -0.005937040783464909, -0.0018898210255429149, -0.07947536557912827, 0.05079256370663643, 0.008658134378492832, 0.01463374774903059, -0.03778299316763878, 0.0017770960694178939, -0.051131729036569595, 0.026699572801589966, 0.0010751703521236777, -0.0065206969156861305, -0.051837846636772156, 0.041039690375328064, -0.026731284335255623, -0.018443183973431587, 0.0014270094688981771, 0.07484134286642075, 0.015113160945475101, -0.05338960140943527, -0.011269682087004185, -0.03814965859055519, 0.023197973147034645, -0.002969190012663603, -0.00946435984224081, 0.02123425342142582, 0.036413636058568954, -0.015009495429694653, -0.01470506563782692, 0.04311519116163254, -0.03445735573768616, 0.01567036285996437, 0.009236657060682774, 0.009163728915154934, -0.0018258987693116069, -0.013960699550807476, 0.024131685495376587, -0.02712521143257618, -0.006261228583753109, 0.05407761037349701, 0.04185407981276512, 0.05517105013132095, -0.018263638019561768, 0.013143756426870823, 0.0018287755083292723, 0.020535267889499664, -0.006104270461946726, -0.040042947977781296, -0.01758534647524357, -0.029295984655618668, -0.044686209410429, 0.03253497928380966, -0.015143848024308681, -0.07066173106431961, 0.04288464039564133, 0.03047066554427147, -0.024867244064807892, -0.014137177728116512, 0.025132333859801292, 0.01424227375537157, 0.011874821037054062, -0.005972818937152624, -0.036524247378110886, -0.012822484597563744, 0.034879282116889954, -0.008882222697138786, -0.07597572356462479, -0.007276242133229971, -0.047574881464242935, -0.004717456642538309, 0.0001989516313187778, 0.0008190707885660231, -0.027516646310687065, 0.01325696986168623, -0.025637222453951836, -0.013933923095464706, -0.05585000663995743, 0.07180771976709366, -0.010654599405825138, -0.05721208453178406, 0.00983650516718626, -0.0003996830782853067, 0.03709748387336731, 0.005678765941411257, -0.02219688892364502, 0.07478664070367813, 0.002572561614215374, 0.030643094331026077, -0.009654533118009567, 0.042859997600317, -0.027565423399209976, -0.08100327104330063, 0.0004219376714900136, 0.034269098192453384, -0.029712315648794174, -0.011736007407307625, 0.0182479377835989, -0.023288492113351822, 0.003414694219827652, 0.019035348668694496, 0.04590865969657898, 0.047467414289712906, 0.007830599322915077, -0.03998180851340294, -0.003351631574332714, 0.021455157548189163, 0.03276219591498375, 0.012935435399413109, 0.006859117653220892, -0.04014081880450249, -0.060789093375205994, -0.0011957783717662096, 0.019919661805033684, 0.04053344205021858, 0.02913670986890793, -0.043621763586997986, 0.0344623401761055, 0.0999378114938736, 0.03247914835810661, 0.010092576965689659, -0.024824053049087524, 0.022751687094569206, 0.03730614855885506, 0.016728613525629044, 0.015129068866372108, 0.02200593613088131, 0.02016153559088707, -0.021341832354664803, 0.005923823919147253, 0.03309501335024834, 0.01677751913666725, 0.006211838219314814, -0.08034007251262665, -0.06412894278764725, 0.048940788954496384, -0.05517832189798355, -0.019169650971889496, 0.04573412984609604, 0.07180072367191315, 0.041881974786520004, 0.03051358088850975, -0.0029241719748824835, -0.08369050174951553, 0.02866995707154274, 0.0010822938056662679, -0.003776221303269267, 0.026068612933158875, -0.005996204447001219, 0.07988771051168442, 0.03488427773118019, 0.02027222514152527, 0.04773600026965141, -0.07575614750385284, -0.09689580649137497, -0.007146799471229315, -0.0037586353719234467, 0.03599227964878082, -0.02601470798254013, 0.004646665416657925, 0.1092875674366951, -0.0020199951250106096, 0.04680153727531433, 0.024588491767644882, 0.03237451985478401, 0.013344972394406796, -0.05162994563579559, -0.014656801708042622, 0.02342313528060913, 0.026560567319393158, 0.011754983104765415, -0.04987850412726402, 0.0007605176651850343, -0.012145966291427612, -0.014222349040210247, 0.0437580868601799, -0.014027191326022148, 0.05101455748081207, 0.027563637122511864, 0.02442786656320095, -0.02218601666390896, 0.06130063161253929, -0.06413700431585312, 0.005751427263021469, 0.026708858087658882, -0.03579414635896683, 0.014517084695398808, 0.00910518504679203, 0.1133374273777008, 0.0634867325425148, -0.04732568934559822, -0.05180840194225311, 0.03475510701537132, 0.019190870225429535, -0.036772482097148895, 0.003593227593228221, -0.018626026809215546, 0.03886164352297783, -0.004758940543979406, -0.04009362310171127, -0.03537271171808243, 0.009051418863236904, -0.009035053662955761, 0.02316240780055523, 0.0761522576212883, -0.037132009863853455, 0.0508459098637104, 0.009415647014975548, -0.020372703671455383, -0.03626227378845215, -0.024276167154312134, -0.054971855133771896, 0.018106115981936455, 0.015859194099903107, -0.012571753934025764, 0.05829663574695587, -0.03674967586994171, 0.00046287389704957604, -0.017586955800652504, -0.04451041668653488, 0.017523812130093575, 0.022932536900043488, 0.054295238107442856, -0.024040650576353073, 0.03963620960712433, 0.0037988920230418444, 0.020634008571505547, -0.003031483618542552, -0.029222708195447922, -0.03854725509881973, -0.03979000076651573, -0.018064789474010468, 0.037222977727651596, 0.004211936611682177, 0.022709021344780922, 0.0186398196965456, 0.027289018034934998, -0.010655669495463371, -0.004525387194007635, 0.013972507789731026, 0.0010283644078299403, -0.011761849746108055, -0.0390726700425148, -0.027737196534872055, 0.05340273678302765, -0.04455922916531563, -0.02613098919391632, -0.010029168799519539, -0.0621735081076622, 0.04784784093499184, -0.07458764314651489, -0.04142165929079056, 0.025309843942523003, 0.015779390931129456, 0.018753323704004288, 0.004466479644179344, 0.030357789248228073, 0.07053815573453903, 0.001926956931129098, 0.01445245835930109, -0.00638976925984025, 0.012997440062463284, 0.04583897814154625, 0.0000466831806988921, -0.009625669568777084, 0.03158721700310707, 0.0054612476378679276, -0.01301424577832222, -0.033729832619428635, 0.03990800306200981, -0.018085410818457603, -0.28320375084877014, 0.04395630955696106, -0.006285127252340317, -0.07972199469804764, 0.05053548514842987, -0.00526965269818902, 0.019378887489438057, -0.05348740890622139, -0.03404783084988594, 0.03411705046892166, -0.03386769816279411, -0.05662024766206741, -0.007065664045512676, 0.05434618145227432, -0.005637240130454302, 0.06119437888264656, 0.021492207422852516, -0.027608254924416542, -0.0013226736336946487, 0.04640635848045349, -0.0241233017295599, -0.07722267508506775, 0.010289779864251614, 0.023472925648093224, 0.04103079065680504, 0.05866454914212227, -0.07507079839706421, 0.04939442500472069, -0.04587894305586815, 0.014008448459208012, 0.009924767538905144, 0.030585093423724174, -0.011813570745289326, -0.010555578395724297, -0.034387391060590744, -0.026201767846941948, 0.01306691113859415, 0.03456008434295654, 0.0008267426746897399, -0.012574427761137486, -0.033408988267183304, -0.027743425220251083, -0.021623294800519943, 0.03266729786992073, 0.06655258685350418, -0.007777944207191467, -0.07333832234144211, 0.01878364570438862, -0.03533593565225601, 0.07482686638832092, -0.014620875008404255, -0.04417061060667038, 0.010471764951944351, 0.04292088747024536, -0.0006277828942984343, -0.019444113597273827, 0.006543853785842657, -0.0021215463057160378, -0.03249203786253929, -0.027023840695619583, -0.010908645577728748, -0.04676152020692825, -0.004228752572089434, -0.01847396418452263, 0.017445560544729233, -0.05611381679773331, -0.06570614129304886, -0.01891017146408558, 0.07173324376344681, 0.04469681158661842, -0.029827836900949478, 0.028123941272497177, 9.618695457902504e-7, -0.11748059093952179, -0.006651577539741993, -0.0019478850299492478, -0.014242997393012047, -0.027293922379612923, -0.018998706713318825, 0.036134377121925354, -0.008008434437215328, -0.02443341165781021, 0.004705219995230436, 0.022739440202713013, 0.016252484172582626, -0.020440377295017242, 0.04400115832686424, 0.03787660598754883, -0.03591809421777725, -0.0010791872628033161, 0.06755182147026062, -0.034034937620162964, -0.00626553175970912, -0.015474903397262096, 0.003858438925817609, 0.028781896457076073, 0.01164968404918909, -0.016583694145083427, 0.001505660475231707, 0.007706621196120977, 0.027407672256231308, -0.04000721126794815, 0.040941134095191956, -0.03659582883119583, -0.005691686179488897, -0.016373753547668457, -0.06545660644769669, 0.0149065051227808, 0.00620975811034441, 0.0465526357293129, -0.028584636747837067, -0.0331915020942688, 0.02460339106619358, -0.06669697165489197, -0.04267384856939316, -0.007979023270308971, 0.006304237525910139, 0.01528898160904646, -0.016522180289030075, -0.030352553352713585, -0.04389007017016411, 0.025340624153614044, 0.01158757135272026, 0.013289880007505417, -0.05187331885099411, -0.03356556221842766, -0.009512756019830704, -0.0011547214817255735, 0.02829005755484104, 0.011792339384555817, -0.02075601927936077, 0.022082354873418808, 0.022199777886271477, -0.028201716020703316, 0.016299983486533165, 0.00732183875516057, -0.047824155539274216, -0.022865965962409973, -0.024649592116475105, 0.0009553783456794918, -0.025307688862085342, 0.01860984042286873, 0.00211551645770669, 0.0053589604794979095, 0.03976903483271599, -0.004734909161925316, 0.043341267853975296, 0.0034753589425235987, 0.036832455545663834, 0.028491497039794922, -0.0012036991538479924, -0.0647658109664917, 0.011683882214128971, -0.06009834259748459, -0.04127083718776703, -0.01958637498319149, 0.04937200993299484, -0.027251126244664192, 0.01181044802069664, -0.023536013439297676, -0.017969321459531784, -0.07240993529558182, -0.03835824877023697, -0.013298477046191692, -0.00878192763775587, 0.07166114449501038, -0.006809558253735304, 0.023297898471355438, -0.016353437677025795, -0.015218261629343033, -0.004336558282375336, 0.02754792384803295, -0.0403832346200943, 0.0037272062618285418, 0.030187923461198807, -0.015738612040877342, -0.013644366525113583, 0.006613988894969225, 0.05136946961283684, 0.01966187171638012, 0.0018255602335557342, -0.014818494208157063, -0.014619181863963604, 0.014228273183107376, 0.04739739000797272, 0.019370408728718758, -0.010002781637012959, -0.008587200194597244, -0.012187200598418713, -0.038158342242240906, -0.032280270010232925, -0.003686133772134781, -0.004124550614506006, 0.01609964296221733, -0.02285004034638405, -0.0828443095088005, 0.058957379311323166, 0.018031150102615356, 0.013758489862084389, 0.008057959377765656, -0.007723826915025711, -0.001005223486572504, -0.024988502264022827, 0.049767762422561646, 0.045266345143318176, -0.061048392206430435, 0.00004283092130208388, -0.007057230919599533, -0.006567209027707577, 0.022682033479213715, 0.02642284333705902, -0.03305942937731743, -0.025609629228711128, -0.026358483359217644, 0.01016258355230093, -0.041190922260284424, -0.015434451401233673, -0.017372354865074158, 0.01659969985485077, 0.0019114991882815957, -0.0013129600556567311, -0.01030983030796051, 0.005837217438966036, -0.00956526305526495, -0.022107986733317375, -0.0012152772396802902, -0.01950192078948021, 0.01159520074725151, 0.015526752918958664, -0.030776113271713257, 0.02082096040248871, -0.04218311980366707, 0.009188222698867321, 0.0005319559131748974, -0.010258359834551811, -0.014127622358500957, -0.02621268481016159, 0.02488013356924057, -0.0057367123663425446, 0.03169422969222069, -0.022623056545853615, -0.009843161329627037, -0.015718452632427216, -0.02839103899896145, -0.03785832226276398, 0.00859350897371769, -0.04796206206083298, -0.014805023558437824, 0.03153513744473457, 0.04097624868154526, 0.019719162955880165, 0.031524643301963806, -0.016849124804139137, -0.01816004328429699, 0.05147293582558632, -0.0835837721824646, -0.01489612739533186, -0.027831261977553368, -0.06679179519414902, 0.002083136700093746, 0.022510332986712456, 0.026437802240252495, -0.04100526124238968, 0.029890716075897217, 0.02831359952688217, 0.01218553725630045, 0.04615698754787445, -0.0008953963406383991, 0.06330607086420059, -0.062170498073101044, -0.023568550124764442, -0.07631117105484009, -0.001298039103858173, 0.004960464313626289, 0.020077969878911972, -0.019639862701296806, 0.006541968323290348, -0.030900662764906883, 0.023675454780459404, -0.04870780557394028, -0.03585328534245491, 0.04300786554813385, -0.0038774111308157444, -0.008347980678081512, 0.008689521811902523, -0.07530846446752548, 0.022888626903295517, 0.021310221403837204, -0.029359303414821625, -0.036999091506004333, -0.03311864659190178, 0.056475929915905, 0.01071091741323471, 0.023835616186261177, -0.0573323555290699, -0.007408922538161278, 0.07426147907972336, -0.0008586177136749029, -0.00015338664525188506, 0.04363342374563217, -0.011280502192676067, 0.04700177162885666, 0.03130367025732994, 0.019908905029296875, 0.003034994937479496, -0.005112577695399523, -0.0029921371024101973, -0.05659431964159012, 0.012870746664702892, 0.008806356228888035, -0.03105315752327442, -0.04059145972132683, 0.06540537625551224, 0.03236556798219681, -0.02112484723329544, -0.05482284352183342, -0.0011389185674488544, -0.039741821587085724, -0.013882682658731937, -0.014393462799489498, -0.005680388305336237, -0.052166931331157684, 0.03924258053302765, -0.02943556010723114, 0.0029068919830024242, 0.062479786574840546, -0.004518477246165276, 0.0030789379961788654, -0.024066898971796036, 0.06383482366800308, 0.09165479987859726, 0.053269822150468826, 0.0039014604408293962, 0.0640055388212204, -0.021540850400924683, -0.033202189952135086, 0.022553836926817894, -0.01351916790008545, -0.024200284853577614, -0.050688110291957855, -0.023547228425741196, 0.07245825231075287, -0.00327104888856411, 0.054906297475099564, -0.00938631221652031, -0.011291613802313805, -0.002125433413311839, 0.00702599436044693, 0.01737355627119541, 0.05825641378760338, 0.012275628745555878, 0.007817543111741543, -0.027518367394804955, -0.029863370582461357, 0.01629841886460781, -0.041719891130924225, -0.012955136597156525, 0.018678579479455948, 0.006517532281577587, 0.024864183738827705, 0.009772032499313354, 0.04031093046069145, 0.08340644091367722, -0.026829564943909645, 0.011665322817862034, -0.010084875859320164, 0.021165546029806137, -0.01096521969884634, 0.007531221490353346, -0.01886829361319542, -0.019873833283782005, 0.017518026754260063, -0.028100108727812767, -0.016986479982733727, -0.0058882166631519794, -0.04503840580582619, 0.05782364308834076, -0.01448945701122284, 0.0019623958505690098, 0.035024579614400864, 0.025018593296408653, -0.03956487402319908, -0.045845042914152145, -0.04482268542051315, -0.034835826605558395, -0.0504315122961998, -0.016874056309461594, 0.03378891944885254, -0.004098445642739534, -0.023666322231292725, -0.012298405170440674, -0.024881849065423012, -0.01947844959795475, 0.037409599870443344, -0.04290340468287468, -0.02843596041202545, -0.002923521213233471, 0.03149687126278877, 0.013513135723769665, 0.03151468187570572, 0.057844873517751694, -0.0011876424541696906, -0.0002491659251973033, -0.018251938745379448, 0.0362701490521431, 0.04524018242955208, -0.0007574337651021779, 0.025693772360682487, -0.0722392350435257, 0.034670840948820114, 0.019850585609674454, 0.004344492219388485, -0.05979023873806, 0.0315697155892849, 0.01909165270626545, -0.017166702076792717, 0.048293158411979675, -0.026943286880850792, 0.013529729098081589, -0.0016856171423569322, -0.016381999477744102, -0.004167040344327688, 0.012605587020516396, 0.044295214116573334, -0.03193201869726181, 0.08411204069852829, 0.04759450629353523, -0.03398384898900986, -0.06103944405913353, -0.00129529123660177, 0.014061874710023403, 0.002402289304882288, -0.01610138639807701, -0.05422966554760933, -0.044151388108730316, -0.06857391446828842, -0.03433767333626747, 0.042786456644535065, -0.023588918149471283, -0.030921749770641327, 0.008527901954948902, 0.045703720301389694, -0.040891166776418686, 0.02145439200103283, -0.03595874086022377, 0.02104855328798294, -0.029125962406396866, -0.04256157949566841, -0.0022112769074738026, 0.0027214300353080034, -0.002738227369263768, 0.0029662020970135927, 0.004595085978507996, -0.06841439753770828, -0.015262003056704998, 0.010151231661438942, 0.035732537508010864, 0.01864442601799965, 0.021632347255945206, -0.004759218078106642 ]
[ -0.11917196959257126, -0.023229120299220085, -0.018549352884292603, -0.023606399074196815, 0.018330790102481842, -0.02266656793653965, -0.04702303931117058, -0.0032757334411144257, -0.024334732443094254, -0.005350727122277021, 0.025480439886450768, 0.02385985478758812, -0.004164549522101879, -0.012690483592450619, 0.0615697018802166, 0.008592807687819004, -0.0121134789660573, -0.06593644618988037, -0.004486199468374252, 0.03302470222115517, -0.015395763330161572, -0.01647219806909561, -0.044872891157865524, -0.02967596799135208, -0.025544175878167152, 0.04403124377131462, 0.02808290719985962, -0.05965331569314003, -0.017140697687864304, -0.19186557829380035, 0.006578374188393354, -0.005615838337689638, 0.02807755395770073, -0.03190133720636368, 0.02049967274069786, 0.023917006328701973, 0.026103805750608444, -0.0033608886878937483, -0.003163883462548256, 0.042220376431941986, 0.021496696397662163, 0.02684127725660801, -0.05059681832790375, -0.014284949749708176, 0.019598260521888733, -0.017643671482801437, 0.024465490132570267, -0.02915044315159321, -0.013331238180398941, 0.03292972594499588, -0.05556268244981766, -0.020622704178094864, -0.02713179588317871, -0.006169033702462912, -0.0007280880818143487, 0.005302781704813242, 0.021076831966638565, 0.08535905182361603, -0.003579874290153384, 0.008288390003144741, 0.022762080654501915, 0.006697847507894039, -0.1331838071346283, 0.10296303033828735, 0.025145987048745155, 0.06381026655435562, -0.04161951318383217, -0.06616496294736862, -0.011260627768933773, 0.0907745435833931, -0.023601917549967766, -0.030009303241968155, -0.035564176738262177, 0.03890948370099068, 0.017923101782798767, -0.009355218149721622, 0.0024487690534442663, 0.0361710749566555, 0.045525550842285156, -0.0586978979408741, -0.018407000228762627, -0.022904112935066223, -0.020587803795933723, -0.03570445626974106, -0.056994933634996414, 0.022634606808423996, 0.019153380766510963, 0.04391913861036301, 0.023112613707780838, 0.020476587116718292, 0.04608398303389549, -0.01972944848239422, 0.0864933580160141, -0.0147396856918931, -0.07409448176622391, -0.01810203306376934, -0.03568722680211067, 0.033565327525138855, -0.023675628006458282, 0.40145426988601685, -0.019587406888604164, -0.005126862786710262, 0.03387926146388054, 0.03617227450013161, -0.032628133893013, -0.02089979685842991, 0.03420240432024002, -0.03484717011451721, 0.052753202617168427, -0.013299855403602123, 0.0057628876529634, 0.018836159259080887, 0.08135365694761276, -0.06258025765419006, 0.014009861275553703, 0.01001870445907116, -0.001203320105560124, -0.0035762686748057604, 0.020843060687184334, -0.022539805620908737, 0.011320819146931171, 0.015534482896327972, 0.018284164369106293, 0.02743866667151451, 0.03033769689500332, -0.01551728043705225, 0.013937480747699738, 0.05087992548942566, 0.028809858486056328, -0.0008810964645817876, 0.07318716496229172, -0.025288285687565804, -0.0882798507809639, -0.011156811378896236, 0.015172362327575684, 0.0045468807220458984, 0.022474540397524834, -0.028173761442303658, -0.00048689107643440366, 0.021271534264087677, -0.015118701383471489, -0.01628291979432106, 0.03489452973008156, -0.0029556492809206247, -0.05209973827004433, 0.14029084146022797, 0.030210254713892937, -0.0392393060028553, -0.05306001380085945, -0.04734966531395912, 0.021777180954813957, 0.039947256445884705, -0.0007053027511574328, -0.05106595903635025, -0.00617282185703516, 0.04444204643368721, 0.09132473915815353, -0.027773510664701462, -0.07455093413591385, -0.041426531970500946, -0.007290126755833626, -0.007952003739774227, -0.04452419653534889, 0.07385290414094925, 0.06494727730751038, -0.13676604628562927, -0.04289327189326286, -0.01187635026872158, 0.03348500281572342, -0.031597480177879333, -0.0074124690145254135, 0.0030842088162899017, -0.044746384024620056, -0.01984846219420433, 0.06867232173681259, -0.03141876682639122, -0.023936988785862923, 0.001993082230910659, 0.06323492527008057, 0.014913425780832767, 0.01963978447020054, -0.01369902677834034, -0.05997752770781517, 0.01899660751223564, -0.04931417852640152, -0.11490881443023682, -0.03150051459670067, 0.0124467508867383, -0.010587736032903194, 0.010518108494579792, -0.02947842702269554, -0.006664118729531765, -0.057346876710653305, 0.08111472427845001, -0.0016959254862740636, -0.03544200584292412, 0.022615887224674225, 0.005307146813720465, -0.008385613560676575, -0.03168205916881561, -0.01939151994884014, 0.054185651242733, -0.03886692598462105, 0.026376381516456604, -0.06266278773546219, 0.06342325359582901, 0.02219175174832344, -0.05578337982296944, 0.07430987805128098, 0.03987231105566025, -0.05086030066013336, -0.008054670877754688, 0.00809223111718893, 0.040242936462163925, -0.01027339044958353, -0.008786340244114399, -0.008357919752597809, 0.021460290998220444, 0.016774924471974373, 0.006690059322863817, 0.005543001461774111, 0.019431745633482933, 0.023699453100562096, -0.34460678696632385, -0.0194065123796463, -0.03335538133978844, -0.01738460175693035, -0.010051495395600796, -0.059388093650341034, 0.022220542654395103, -0.026387827470898628, -0.037238460034132004, 0.006421090103685856, 0.06408753246068954, -0.02334238775074482, 0.027475852519273758, -0.07582756131887436, 0.00015068183711264282, 0.009168412536382675, -0.016107192263007164, -0.016699394211173058, -0.03737756237387657, -0.030624743551015854, 0.005412306170910597, 0.00961344875395298, 0.001498227589763701, -0.08456073701381683, 0.005588638596236706, -0.03053516149520874, 0.07520222663879395, -0.03919677808880806, 0.12924614548683167, -0.03931262344121933, 0.046899061650037766, -0.014898715540766716, 0.03547312691807747, -0.10671757906675339, 0.01677660457789898, -0.004844094160944223, -0.009260417893528938, -0.0091679897159338, 0.005837626755237579, -0.02376692183315754, -0.024813121184706688, -0.018386853858828545, -0.05383564531803131, -0.071849524974823, -0.03861197084188461, 0.006886410992592573, -0.014578886330127716, -0.03561460226774216, -0.0025887731462717056, 0.06725788116455078, -0.001853980589658022, 0.018270105123519897, 0.007887992076575756, 0.029639843851327896, -0.011791756376624107, -0.02358895167708397, -0.04387403652071953, 0.0021962933242321014, 0.026948222890496254, 0.013976561836898327, 0.052759554237127304, 0.06116325780749321, -0.0038280352018773556, -0.05141834542155266, 0.02710985392332077, 0.0002182431926485151, -0.008429250679910183, -0.011242665350437164, 0.07076399773359299, -0.04762464389204979, -0.03723560646176338, 0.08958397060632706, -0.013807686045765877, -0.004900133702903986, -0.00417690584436059, 0.04696102812886238, -0.02979690209031105, 0.026484312489628792, -0.012813755311071873, 0.00755822891369462, 0.023847226053476334, -0.03579455986618996, 0.043185073882341385, -0.014748141169548035, -0.02551341988146305, 0.0630415752530098, -0.02166283316910267, -0.051364999264478683, 0.027852538973093033, 0.016575485467910767, -0.023357748985290527, -0.01335814781486988, -0.011623034253716469, -0.06562508642673492, 0.09495728462934494, -0.015469917096197605, -0.239752858877182, 0.0247732512652874, 0.06503306329250336, 0.0502212829887867, -0.00970692839473486, 0.05513123422861099, 0.041255004703998566, -0.024118807166814804, 0.019732177257537842, -0.0008664817432872951, 0.038519106805324554, 0.029437953606247902, 0.011848310008645058, 0.018791193142533302, 0.03877967223525047, 0.005217227153480053, 0.05195724219083786, 0.024836862459778786, 0.019663888961076736, -0.0098255081102252, 0.008210129104554653, -0.009320407174527645, 0.14782322943210602, 0.054659999907016754, 0.04388950392603874, 0.034057170152664185, 0.003475616220384836, 0.025526871904730797, 0.07553496956825256, 0.04340716078877449, -0.00593297416344285, 0.003671378828585148, 0.03562755137681961, 0.004729462321847677, 0.03440919890999794, -0.062345005571842194, -0.039745040237903595, 0.052994903177022934, 0.010985111817717552, -0.0002737220493145287, -0.008090602234005928, 0.006398760247975588, -0.042561113834381104, 0.03071780502796173, 0.08689931780099869, 0.012005266733467579, -0.012593190185725689, -0.020296627655625343, -0.043046265840530396, -0.02917562797665596, -0.053059231489896774, -0.014354193583130836, -0.0001837605523178354, -0.00888040754944086, -0.008930185809731483, 0.08722119778394699, 0.022013016045093536, -0.006944077555090189, -0.014733617193996906, 0.0064733256585896015, 0.006909356918185949, -0.029155729338526726, 0.11106903105974197, 0.031383465975522995, 0.014486558735370636 ]
[ 0.0008894827333278954, -0.017406636849045753, -0.03960820287466049, 0.023753665387630463, -0.024322262033820152, -0.009040198288857937, 0.012807195074856281, 0.005308503285050392, -0.007801960222423077, 0.002364398678764701, -0.01770094782114029, 0.015076924115419388, 0.04350410774350166, -0.04237264022231102, -0.017247982323169708, 0.02396206744015217, -0.020748760551214218, -0.011585738509893417, 0.024897603318095207, 0.00931740552186966, -0.04299422726035118, 0.009589843451976776, 0.003503068583086133, 0.021510770544409752, -0.018327180296182632, 0.045616138726472855, -0.00493199098855257, 0.005098571069538593, 0.015962684527039528, -0.13367557525634766, -0.03274758160114288, -0.014058363623917103, -0.005794604774564505, 0.016819026321172714, 0.01950788125395775, -0.008158709853887558, 0.009625579230487347, 0.003945171367377043, 0.005254567135125399, -0.032070498913526535, 0.008996274322271347, -0.027686908841133118, 0.015143418684601784, 0.039367858320474625, -0.0043427301570773125, 0.0007106558769010007, -0.05214506387710571, -0.03980231657624245, -0.010386612266302109, -0.03885669633746147, -0.02272493951022625, -0.022432392463088036, 0.018072770908474922, -0.0009830144699662924, 0.027832867577672005, 0.0105123994871974, 0.016780029982328415, -0.00019352760864421725, 0.002762632677331567, 0.013970626518130302, -0.013239413499832153, 0.028269635513424873, -0.030009305104613304, -0.021110283210873604, -0.0352884866297245, -0.017117701470851898, -0.027309579774737358, 0.014388123527169228, 0.020481981337070465, -0.001917684217914939, -0.034588590264320374, 0.009227616712450981, -0.04105261713266373, -0.028078125789761543, 0.009078885428607464, 0.003556011477485299, 0.03509879484772682, 0.020252564921975136, 0.013087303377687931, -0.021069150418043137, -0.03693239018321037, 0.015281794592738152, -0.004752623848617077, -0.0006692609749734402, -0.021136710420250893, -0.019135940819978714, 0.029911823570728302, -0.020296884700655937, 0.04752570763230324, 0.01275770552456379, -0.004590906202793121, 0.029296154156327248, 0.02507873997092247, -0.015059846453368664, -0.09481612592935562, -0.03534960001707077, -0.009098609909415245, -0.024560315534472466, 0.03106328472495079, 0.8573188781738281, -0.0016107886331155896, 0.03326230123639107, 0.004409668035805225, 0.035051535815000534, 0.00892218854278326, -0.026764988899230957, 0.009334021247923374, -0.003776915604248643, 0.015856271609663963, -0.03287068381905556, 0.009939194656908512, 0.026013115420937538, 0.03046530671417713, -0.013309288769960403, 0.02619459107518196, -0.011958619579672813, 0.005959514994174242, -0.02466282621026039, -0.0015857487451285124, -0.005387850105762482, 0.036494966596364975, -0.013624479062855244, 0.005131586454808712, -0.001638917368836701, 0.019199443981051445, -0.15619266033172607, -0.02208803780376911, -7.858485363778206e-33, 0.056160543113946915, -0.008391457609832287, 0.01803574524819851, -0.011779057793319225, 0.011088782921433449, 0.016772577539086342, 0.009158964268863201, 0.0033449390903115273, 0.0022795230615884066, -0.02169073186814785, -0.011124377138912678, -0.023154567927122116, 0.005554561037570238, -0.028886398300528526, 0.029594164341688156, -0.0005404705880209804, 0.0012208805419504642, 0.042842935770750046, -0.02735237218439579, 0.025430696085095406, 0.013921195641160011, 0.0349622517824173, -0.012944010086357594, 0.007785297464579344, 0.0216982364654541, 0.011831328272819519, -0.007960496470332146, 0.03325258940458298, 0.012565109878778458, -0.03794235363602638, -0.020098138600587845, -0.0013843970373272896, -0.02662687376141548, 0.009768490679562092, -0.028227271512150764, -0.02965102717280388, -0.02568787895143032, 0.0004190719628240913, -0.00962253101170063, 0.0020142504945397377, -0.038917530328035355, 0.010148034431040287, -0.04402492567896843, -0.010081712156534195, -0.002724030055105686, 0.004465922247618437, -0.008228630758821964, 0.0470593199133873, 0.00797272939234972, -0.013818221166729927, 0.009526964277029037, 0.020965320989489555, -0.0014425256522372365, 0.009167997166514397, -0.01204234641045332, 0.04797662794589996, -0.015881372615695, -0.010566051118075848, 0.05060454457998276, 0.018168065696954727, -0.01950429193675518, -0.02137051708996296, -0.02605619840323925, 0.008209948427975178, 0.03260425478219986, -0.0062112025916576385, 0.02977108769118786, -0.008985978551208973, 0.02613253705203533, -0.0015826717717573047, -0.052756860852241516, 0.002740168711170554, -0.013117045164108276, -0.0072699738666415215, 0.005000245291739702, -0.015102787874639034, -0.00346431159414351, -0.014372618868947029, 0.00903537031263113, 0.04804059490561485, 0.006680982653051615, 0.0060890610329806805, -0.03805923834443092, -0.02151634357869625, -0.0010619323002174497, -0.02439878135919571, -0.023894092068076134, 0.008120330981910229, -0.04765211045742035, 0.008641199208796024, 0.041922856122255325, 0.00352235184982419, 0.034921105951070786, -0.04892153665423393, -0.002745975274592638, 7.74443669780952e-33, 0.013570024631917477, -0.0123855359852314, -0.030216483399271965, -0.0004265481256879866, 0.03126705810427666, -0.01626068912446499, 0.014201761223375797, 0.049118347465991974, -0.0508425310254097, 0.02064511924982071, -0.0014284009812399745, 0.028831226751208305, -0.0273787509649992, 0.01788182184100151, 0.03198794275522232, 0.007050540763884783, 0.009096008725464344, -0.005757792387157679, 0.010030853562057018, 0.04788171872496605, 0.051082342863082886, 0.035960692912340164, 0.0013621810358017683, 0.015934662893414497, 0.017670558765530586, 0.028828097507357597, -0.03070964105427265, 0.00895940326154232, 0.0003672742168419063, -0.004321937449276447, -0.023668581619858742, -0.016628222540020943, 0.008302601054310799, -0.0327758863568306, -0.05233040079474449, 0.014480584301054478, -0.027988146990537643, -0.03051300346851349, -0.012019545771181583, 0.0071614631451666355, -0.021987469866871834, 0.010176924988627434, -0.004159655421972275, 0.018208611756563187, 0.0026518614031374454, 0.018145011737942696, -0.0026050913147628307, 0.0028377375565469265, -0.0006527265650220215, -0.009018159471452236, -0.010354866273701191, 0.012377145700156689, 0.025597084313631058, -0.0073924073949456215, -0.0016917686443775892, -0.03163478150963783, -0.011929254047572613, -0.006593993864953518, -0.027505716308951378, 0.016707567498087883, -0.007061263546347618, 0.03246365487575531, 0.0007449581753462553, 0.0027434213552623987, -0.05243757739663124, -0.010327093303203583, -0.008555280044674873, 0.008819167502224445, -0.005142443813383579, -0.056760042905807495, -0.03585028275847435, 0.009402705356478691, 0.00934509839862585, 0.05434109643101692, 0.04806405305862427, -0.038593839854002, -0.05924903601408005, 0.0119856595993042, 0.007795702200382948, 0.04667213186621666, 0.0015530675882473588, 0.011689815670251846, 0.030528651550412178, -0.007617976050823927, -0.02765665575861931, -0.01384761929512024, -0.030030829831957817, 0.006094242446124554, 0.009893340989947319, 0.011394034139811993, -0.03591524809598923, -0.03404232859611511, -0.009922114200890064, 0.030658071860671043, -0.030615368857979774, -1.3270056165026745e-8, -0.006594918668270111, 0.013957767747342587, 0.002575487829744816, -0.01842491887509823, 0.04247812554240227, 0.017344564199447632, -0.035695675760507584, 0.015456966124475002, -0.019834203645586967, 0.0013778682332485914, 0.03715958073735237, 0.031692348420619965, 0.020074406638741493, 0.02394101768732071, -0.0003468427457846701, -0.03430008515715599, 0.029195448383688927, -0.029653772711753845, 0.016300788149237633, 0.012433101423084736, -0.00800721812993288, 0.06447090953588486, -0.017818469554185867, -0.024409953504800797, 0.04281040281057358, 0.014315053820610046, -0.0016553044551983476, -0.0667586401104927, -0.019600078463554382, 0.002879159525036812, 0.039241351187229156, -0.015346064232289791, -0.010583075694739819, 0.02669965662062168, -0.014042472466826439, -0.025285329669713974, 0.0421641543507576, 0.010106290690600872, 0.012330541387200356, -0.005385764874517918, -0.008062104694545269, -0.0061317686922848225, -0.028509672731161118, -0.01135253719985485, -0.03189266473054886, 0.00678043719381094, -0.00016732685617171228, 0.014434857293963432, -0.005278011783957481, -0.04234911873936653, 0.03621992841362953, -0.01419971976429224, -0.004042122513055801, 0.027605904266238213, 0.026934631168842316, 0.010595198720693588, 0.013336721807718277, -0.006034452002495527, 0.0006995831499807537, 0.005096336826682091, 0.004239941015839577, 0.029287438839673996, 0.02787928096950054, -0.026971863582730293 ]
book-club-versioning-your-database-k-scott-allen
https://markhneedham.com/blog/2009/09/24/book-club-versioning-your-database-k-scott-allen
false
2009-09-12 00:35:12
TDD: Test only constructors
[ "tdd" ]
[ "Testing" ]
I http://www.markhneedham.com/blog/2009/09/06/coding-checking-invariants-in-a-factory-method/[wrote previously how we'd been doing some work to change the way that we get a 'User' object into our system] and one mistake that we made intially was to have another constructor on the 'User' object which was being used in all our unit tests which involved the user in some way. The original reason that this 'test constructor' was created was to make it easier to construct a 'fake user' which we were using in some of our functional tests but had ended up being used in unit tests as well. The constructor being exposed for testing was pretty much the same as the private constructor that we have now. ~~~csharp public class User { ... public User(string userName, string customerId) { this.userName = userName; this.customerId = customerId; } }~~~ The problem with this approach to testing is that we aren't actually testing the code which we're using in production so even if the tests pass it doesn't actually tell us very much about our code. We could be doing everything right in this test constructor and doing something crazy in the static factory method and we wouldn't find out until much later on. The interesting thing is that the method that we call from the production code isn't as testing friendly as the one we had made public just for testing: ~~~csharp .... public static User CreateUserFrom(NameValueCollection headers) { var userName = headers["user-name-header-tag"]; var customerId = headers["customer-id-header-tag"]; // and so on return new User(userName, customerId); }~~~ In order to make our test setup code use this method we had to create a NameValueCollection containing key/value pairs with the appropriate keys that reside in the headers of requests coming into our application. .... We therefore end up with code similar to this in the test data builder: ~~~csharp public class UserBuilder { ... public User Build() { var headers = new NameValueCollection(); headers.Add("user-name-header-tag", "randomName"); headers.Add("customer-id-header-tag", "customerId"); User.CreateUserFor(headers); } }~~~ This leaks a bit of the implementation of 'CreateUserFrom' into the tests but I prefer this to testing something which is never actually used.
null
null
[ 0.029458841308951378, -0.000991360517218709, -0.01787700690329075, 0.037047721445560455, 0.0881524309515953, 0.005208451766520739, 0.041619352996349335, 0.013760494999587536, -0.007386805023998022, -0.012902732938528061, -0.013260351493954659, -0.026400340721011162, -0.07335994392633438, 0.02726796083152294, -0.04768655449151993, 0.055534493178129196, 0.0661797747015953, 0.009716277942061424, 0.046326588839292526, 0.007718704640865326, -0.0005879580276086926, 0.0553867369890213, 0.0019583459943532944, 0.03482640162110329, 0.033018939197063446, 0.03750145062804222, -0.003746645525097847, 0.0010064187226817012, -0.06285209953784943, -0.02067853882908821, 0.030667776241898537, 0.01971648633480072, 0.008488817140460014, -0.005368499550968409, -0.007180534768849611, -0.03105391375720501, -0.02298199012875557, 0.00016157279605977237, 0.0005290041444823146, 0.010874575935304165, -0.06473144888877869, 0.017986135557293892, 0.009373093023896217, 0.00825640931725502, -0.05776972323656082, -0.017964472994208336, -0.040085844695568085, -0.018217602744698524, -0.02432856336236, -0.015003224834799767, -0.07387346774339676, 0.03637756407260895, -0.04297523573040962, 0.014813734218478203, -0.0029859193600714207, 0.04270859807729721, 0.01646757498383522, -0.07313532382249832, 0.022282173857092857, -0.06674984842538834, 0.015393945388495922, -0.005943552125245333, 0.00526637677103281, 0.02016216143965721, 0.020062081515789032, -0.0011009016307070851, 0.001381283043883741, 0.05314240977168083, -0.03924066573381424, -0.01865820400416851, -0.021838730201125145, -0.008460978977382183, 0.0033812152687460184, -0.0060406937263906, 0.007985464297235012, -0.030283551663160324, -0.017347831279039383, 0.045941926538944244, 0.010757426731288433, 0.053425148129463196, -0.010733257047832012, 0.0006477329879999161, 0.043505046516656876, -0.0019101130310446024, 0.0011278444435447454, -0.04464370757341385, -0.03173109516501427, -0.009627713821828365, -0.0023600971326231956, 0.07149285078048706, 0.013586590066552162, -0.023089785128831863, 0.02066945843398571, 0.03799843788146973, -0.0073990533128380775, -0.0013969088904559612, 0.025313155725598335, -0.01135632861405611, -0.015464527532458305, 0.005883869715034962, -0.029595263302326202, -0.027583589777350426, 0.02205391600728035, 0.018663393333554268, -0.07022862881422043, -0.0034362380392849445, -0.022687647491693497, -0.01818082295358181, -0.008479530923068523, 0.01751534640789032, -0.05485989525914192, 0.02634238637983799, -0.005715006496757269, 0.005339925643056631, -0.07212702929973602, 0.05828025937080383, 0.024145158007740974, 0.0004281730216462165, -0.013468565419316292, 0.06211530417203903, 0.05229920893907547, 0.02961883880198002, -0.008654378354549408, 0.055390454828739166, 0.005899329204112291, 0.03917409107089043, -0.024431344121694565, 0.06800585985183716, -0.0009959746384993196, -0.07113385945558548, -0.009820847772061825, 0.057459138333797455, -0.005540809128433466, 0.01509350910782814, 0.007572525180876255, -0.02778003178536892, -0.012740819714963436, -0.011093157343566418, 0.03774160146713257, 0.03167358785867691, -0.026832936331629753, -0.04596830531954765, 0.021036731079220772, -0.0030952822417020798, -0.008243764750659466, 0.03351910039782524, -0.006343313027173281, -0.016740601509809494, -0.005120270419865847, 0.05209464579820633, 0.006790174171328545, 0.06600356847047806, 0.06100171431899071, -0.03802525997161865, 0.009464620612561703, 0.06219560652971268, -0.0060234060510993, -0.003867065068334341, -0.0006676665507256985, 0.023914413526654243, 0.04499473050236702, 0.04087361320853233, 0.0035283651668578386, 0.05498036742210388, 0.007379517424851656, 0.017301475629210472, 0.007249141577631235, 0.05117322877049446, -0.007151328958570957, -0.015386639162898064, -0.06475788354873657, -0.06290765106678009, 0.04516438767313957, -0.04715821519494057, -0.016884412616491318, 0.042747799307107925, 0.07284950464963913, -0.0187557153403759, 0.0721406415104866, 0.013182324357330799, -0.07185399532318115, 0.023555245250463486, 0.011015275493264198, 0.0011822549859061837, 0.017886755988001823, 0.00476239575073123, 0.05491006746888161, 0.02907077968120575, 0.006516650319099426, 0.025795329362154007, -0.038740888237953186, -0.044319409877061844, -0.027460703626275063, -0.019344013184309006, 0.06723290681838989, -0.027911538258194923, 0.005860945209860802, 0.08004164695739746, 0.013344399631023407, 0.04771040752530098, 0.027261480689048767, -0.0282954890280962, 0.008995124138891697, -0.03260979428887367, -0.04004841670393944, 0.031896188855171204, 0.033061519265174866, 0.003867178689688444, -0.04570804536342621, 0.01355821918696165, -0.010142093524336815, 0.002752997912466526, 0.043571364134550095, -0.008778411895036697, 0.026014169678092003, -0.000026376641471870244, 0.037492744624614716, -0.027960985898971558, 0.07235971838235855, -0.07390520721673965, 0.030244069173932076, -0.009446561336517334, -0.012835333123803139, -0.010577801614999771, -0.01073378138244152, 0.12678810954093933, 0.04114183411002159, -0.05538242310285568, -0.04459019750356674, 0.010432329028844833, 0.0330565944314003, -0.06169142574071884, 0.009870505891740322, -0.01702740788459778, -0.023900339379906654, 0.02323225326836109, -0.032135508954524994, -0.01364354882389307, 0.006768043618649244, -0.029092419892549515, 0.03715452551841736, 0.07856445014476776, -0.038267944008111954, 0.03836831822991371, 0.008028564974665642, -0.033265866339206696, 0.005029550287872553, -0.016524527221918106, -0.05963722988963127, 0.0005034683272242546, 0.015615124255418777, -0.016251832246780396, 0.054551053792238235, -0.014177544973790646, -0.029711734503507614, -0.02109653130173683, -0.03820158913731575, 0.01301735918968916, 0.010574649088084698, 0.09151362627744675, -0.0024579716846346855, 0.06349346786737442, -0.023304253816604614, 0.0012651545694097877, -0.004436136689037085, -0.044155191630125046, 0.02026759833097458, 0.003651404520496726, 0.018941331654787064, 0.05385374277830124, 0.010196268558502197, -0.001085651689209044, 0.01795372925698757, 0.03216225653886795, -0.0076829781755805016, 0.004781720694154501, 0.032694123685359955, -0.020444156602025032, -0.025944489985704422, -0.029413269832730293, -0.048095859587192535, 0.029447531327605247, -0.03904718533158302, -0.04652414098381996, 0.0357290580868721, -0.10306158661842346, 0.02919408306479454, -0.08012443780899048, -0.07039085030555725, -0.0042434195056557655, 0.023432224988937378, 0.021489562466740608, 0.0025325261522084475, 0.013747170567512512, 0.0746820718050003, 0.008507582359015942, -0.013812110759317875, 0.006819337140768766, 0.012033412232995033, 0.024748999625444412, -0.019193222746253014, 0.025473928079009056, 0.02202935703098774, -0.010182946920394897, 0.0077871717512607574, -0.07155205309391022, 0.017308712005615234, -0.019545678049325943, -0.2758873999118805, 0.019267041236162186, 0.010948803275823593, -0.033378493040800095, 0.03285602852702141, 0.016320306807756424, 0.02911422774195671, -0.04442911967635155, -0.021980613470077515, 0.06655478477478027, -0.02621239796280861, -0.02920152060687542, -0.03240665793418884, 0.04721302166581154, -0.021028568968176842, -0.004766340833157301, -0.0015378042589873075, -0.031114254146814346, 0.00775920832529664, 0.039136726409196854, -0.008394235745072365, -0.06436454504728317, -0.013840551488101482, 0.04190416261553764, 0.037219543009996414, 0.053679704666137695, -0.09048917144536972, 0.06040146201848984, -0.04893588274717331, -0.0026581401471048594, -0.013800892978906631, -0.014880950562655926, -0.0008470290922559798, -0.049339909106492996, -0.022220643237233162, -0.014518610201776028, -0.020667526870965958, 0.0351933091878891, -0.02119353599846363, 0.0005905513535253704, -0.03299633413553238, -0.05829750373959541, -0.045785754919052124, 0.013214961625635624, 0.06945090740919113, -0.007117541506886482, -0.0771777480840683, -0.014248382300138474, -0.034856848418712616, 0.051390599459409714, -0.04423880949616432, -0.04596369341015816, 0.012230017222464085, 0.028676122426986694, -0.020202407613396645, -0.04711006581783295, 0.019077597185969353, 0.01562302652746439, -0.05968467891216278, -0.027018114924430847, -0.018831519410014153, -0.04454650357365608, -0.0057427603751420975, -0.04539838060736656, -0.020365405827760696, -0.07460149377584457, -0.05060485750436783, -0.01790514402091503, 0.07213577628135681, 0.034701474010944366, -0.01416310016065836, 0.017254484817385674, 0.012645501643419266, -0.12507633864879608, 0.015141503885388374, -0.036320555955171585, -0.022779112681746483, -0.05429762601852417, -0.012724770233035088, 0.04867957532405853, -0.030033662915229797, -0.04130851849913597, 0.05011945217847824, 0.02292454056441784, -0.0021344004198908806, -0.005153757054358721, 0.03045954741537571, 0.013108059763908386, -0.035569388419389725, 0.0069543346762657166, 0.0811740905046463, 0.005845679435878992, 0.014488310553133488, -0.06690950691699982, 0.009904369711875916, 0.026647526770830154, 0.03350832313299179, -0.01241272035986185, 0.00957529153674841, 0.0238163061439991, 0.030809231102466583, -0.04442625492811203, 0.040372975170612335, -0.03489558771252632, -0.00410730903968215, -0.006640795152634382, -0.07003042101860046, 0.03874466195702553, 0.024226311594247818, 0.018745768815279007, -0.012384580448269844, -0.024299882352352142, -0.0023533187340945005, -0.04952776059508324, -0.04008221626281738, -0.01846129447221756, 0.0026961902622133493, 0.025786805897951126, -0.013033905066549778, -0.00092579290503636, -0.029361765831708908, 0.020349180325865746, 0.012006482109427452, -0.013669820502400398, -0.06075218319892883, -0.0528777576982975, -0.00512463366612792, -0.004889986012130976, 0.027279332280158997, 0.017485255375504494, -0.011962083168327808, 0.03189665079116821, 0.0009403254371136427, -0.04306865856051445, 0.02064986154437065, 0.011161498725414276, -0.02622194029390812, -0.04057176783680916, -0.017254330217838287, -0.0074180299416184425, 0.03217940405011177, -0.001598138245753944, 0.029120316728949547, 0.024448063224554062, 0.04374441131949425, 0.004339274484664202, 0.043947745114564896, 0.013944434002041817, -0.006794698536396027, 0.0041815293952822685, 0.014663733541965485, -0.08820077776908875, 0.043541762977838516, -0.03817657008767128, -0.03429901599884033, -0.014367345720529556, 0.05272134020924568, -0.007332197390496731, -0.04584674537181854, -0.02692839689552784, 0.04664374515414238, -0.062186431139707565, -0.020953748375177383, -0.03770092502236366, 0.027648398652672768, 0.06390177458524704, -0.025799846276640892, 0.05553795397281647, -0.02325259894132614, -0.007974284701049328, 0.012950897216796875, 0.030613074079155922, -0.04568428546190262, 0.04480943828821182, 0.004444145131856203, -0.011279362253844738, -0.0037847445346415043, 0.016625158488750458, 0.04775303602218628, 0.020148709416389465, 0.0016343763563781977, 0.006982042454183102, 0.006828999146819115, -0.02008185349404812, 0.058315444737672806, 0.0070586539804935455, 0.006304060574620962, -0.004084923304617405, -0.016038084402680397, -0.006815892178565264, -0.02459496259689331, -0.03863953799009323, -0.002271762117743492, 0.046221062541007996, -0.04510125890374184, -0.060098350048065186, 0.0251840278506279, 0.005636620335280895, 0.01861630566418171, 0.030746137723326683, 0.02377612516283989, 0.016700314357876778, -0.011891941539943218, 0.029623854905366898, 0.0607789047062397, -0.04588150978088379, 0.01159656886011362, 0.0015206228708848357, 0.019355356693267822, 0.04561630263924599, 0.0016238025855273008, -0.035622745752334595, -0.015577690675854683, -0.024469947442412376, -0.00817139632999897, -0.06293913722038269, -0.039868902415037155, -0.03149093687534332, 0.025725772604346275, -0.012826444581151009, -0.022213192656636238, 0.00173866655677557, 0.0029489747248589993, -0.021545421332120895, -0.024506473913788795, 0.003624707693234086, -0.02787059172987938, -0.004193772561848164, 0.004450902342796326, -0.04658159241080284, 0.0075524779967963696, -0.001349505502730608, 0.03447424992918968, 0.026124071329832077, -0.026527591049671173, -0.03850094601511955, -0.047974225133657455, 0.003162210574373603, -0.0047615403309464455, 0.04761436954140663, 0.01954685151576996, -0.012232898734509945, -0.0357966311275959, -0.024168718606233597, -0.01826263777911663, 0.03336739167571068, -0.004692707676440477, -0.011122019030153751, 0.04698587954044342, 0.046084966510534286, 0.020934121683239937, 0.045697059482336044, -0.001818549120798707, -0.0021031294018030167, 0.07375697791576385, -0.04956577345728874, -0.0008361790678463876, -0.032103534787893295, -0.06066456437110901, 0.01483726967126131, 0.022403210401535034, 0.02756730280816555, -0.020460259169340134, 0.04671575129032135, 0.024678034707903862, 0.021985845640301704, 0.01708119362592697, 0.03744614124298096, 0.052586935460567474, -0.05874668434262276, 0.0026547876186668873, -0.07267001271247864, 0.03896037116646767, 0.05164026841521263, 0.0036028737667948008, -0.008298509754240513, -0.03572981432080269, -0.024244222790002823, 0.047327496111392975, -0.056052207946777344, -0.029359305277466774, 0.020783090963959694, 0.002652612281963229, -0.010564761236310005, 0.010802874341607094, -0.04318618029356003, 0.01645870879292488, 0.024637345224618912, -0.018465792760252953, -0.029356015846133232, -0.021641740575432777, 0.06642485409975052, 0.019930671900510788, 0.006664650980383158, -0.030735459178686142, 0.010805199854075909, 0.05376060679554939, 0.025919007137417793, 0.03617013990879059, 0.04882762208580971, -0.039030708372592926, 0.046579644083976746, 0.03898909315466881, -0.025947274640202522, 0.0019396590068936348, 0.013944500125944614, 0.023530641570687294, -0.07136906683444977, -0.009899894706904888, 0.011044571176171303, -0.03127727285027504, -0.06883218139410019, 0.06822709739208221, 0.013156648725271225, -0.020599404349923134, -0.04992153123021126, 0.013928746804594994, -0.04200281202793121, -0.06340660899877548, -0.02439444325864315, -0.010349570773541927, -0.035373397171497345, 0.058653730899095535, 0.014848648570477962, -0.017668230459094048, 0.06736014783382416, -0.008419143036007881, 0.0016457713209092617, -0.01667448878288269, 0.07261478155851364, 0.08995009958744049, 0.026934469118714333, 0.002353596966713667, 0.055534590035676956, -0.004377636592835188, -0.05015358701348305, 0.0074825286865234375, -0.04012030363082886, -0.021458039060235023, -0.016940578818321228, 0.013174439780414104, 0.038122911006212234, 0.011073233559727669, 0.06067181006073952, -0.03543640673160553, 0.011005726642906666, -0.01910603977739811, 0.048552028834819794, 0.021942103281617165, 0.044064711779356, 0.0004942629602737725, 0.00946771539747715, -0.006467756815254688, -0.05042694881558418, 0.004897597711533308, -0.005100975278764963, -0.007630416192114353, 0.022220099344849586, -0.008202431723475456, 0.014251894317567348, -0.0069013936445117, 0.005679683294147253, 0.05148418992757797, -0.027822105213999748, -0.014187457971274853, -0.004408387932926416, 0.018598534166812897, 0.018193721771240234, -0.03148218244314194, -0.021023176610469818, -0.00421169912442565, -0.015519330278038979, -0.020896652713418007, -0.011214122176170349, -0.02253856137394905, -0.016257522627711296, 0.04197356477379799, 0.005775148048996925, 0.005023867357522249, 0.004351179115474224, 0.013838725164532661, -0.021506909281015396, -0.04778814688324928, -0.06052970141172409, -0.03356652706861496, -0.06687057018280029, -0.03781791776418686, 0.01731347292661667, -0.01692122407257557, -0.03868909925222397, -0.019842064008116722, -0.03478926047682762, -0.016500381752848625, 0.028394687920808792, -0.031780730932950974, -0.020852074027061462, 0.02857334353029728, 0.00753021938726306, 0.052788130939006805, 0.02455904521048069, 0.03973746299743652, 0.011030473746359348, 0.0056434269063174725, -0.05095146223902702, -0.032440003007650375, 0.05608164891600609, -0.012930573895573616, 0.006451459135860205, -0.08938294649124146, 0.02304862253367901, -0.0006220868672244251, -0.0005604502512142062, -0.0639883503317833, 0.00514792138710618, 0.0015411005588248372, -0.006008794531226158, 0.042710836976766586, -0.01610272377729416, -0.031915340572595596, -0.019270775839686394, -0.022812874987721443, 0.017393385991454124, 0.02612026035785675, 0.04385094717144966, -0.024029383435845375, 0.07504259049892426, 0.023212777450680733, -0.03653284162282944, -0.02120126783847809, 0.007019942160695791, -0.014635828323662281, 0.012393182143568993, -0.03921237587928772, -0.028595810756087303, -0.025583136826753616, -0.06016725301742554, 0.011715397238731384, 0.00794181227684021, -0.0153781333938241, -0.0366457961499691, 0.009972062893211842, 0.035045042634010315, -0.05466613173484802, 0.017844002693891525, -0.02234802395105362, 0.049084946513175964, -0.0423165000975132, -0.012137696146965027, 0.01103011704981327, 0.01279432326555252, -0.00029661538428626955, 0.007398122921586037, 0.023433130234479904, -0.03182859718799591, -0.031770624220371246, -0.014104598201811314, 0.01967630349099636, 0.052796754986047745, -0.038392145186662674, 0.013484836556017399 ]
[ -0.09241025149822235, 0.018555233255028725, -0.034860141575336456, -0.0423751175403595, 0.025081127882003784, -0.03708115965127945, 0.047017745673656464, 0.02722596749663353, 0.005347218830138445, -0.02495563216507435, 0.007599333301186562, -0.02307901717722416, -0.011897019110620022, -0.012521842494606972, 0.09058976173400879, -0.0031913917046040297, -0.0524560883641243, -0.046305086463689804, 0.010184131562709808, 0.032691970467567444, 0.03742093965411186, -0.018304696306586266, -0.04410583898425102, -0.047269970178604126, -0.011148516088724136, 0.034358181059360504, 0.02755352109670639, -0.032738979905843735, 0.02231208235025406, -0.20270174741744995, 0.009738541208207607, -0.018052106723189354, 0.04507267102599144, -0.011204278096556664, 0.0075126513838768005, -0.018831055611371994, 0.023736819624900818, 0.017116893082857132, 0.017103634774684906, 0.044711899012327194, 0.00736614502966404, 0.02308410406112671, -0.057026833295822144, -0.021126948297023773, 0.03261328861117363, 0.0348813496530056, 0.008868033066391945, -0.027352353557944298, -0.0053262426517903805, 0.009569059126079082, -0.049215346574783325, -0.025300322100520134, 0.008811752311885357, -0.02721775695681572, -0.007354370318353176, -0.004036623518913984, 0.06300398707389832, 0.06101185828447342, 0.0202915258705616, 0.03382542356848717, -0.019104132428765297, -0.05190612003207207, -0.12854886054992676, 0.0704030841588974, 0.032393913716077805, 0.047080621123313904, -0.025372082367539406, -0.06417201459407806, 0.006470351479947567, 0.07861217111349106, 0.04578317701816559, -0.009928053244948387, -0.027889875695109367, 0.0415349155664444, 0.006895917933434248, -0.0028805260080844164, -0.019819708541035652, 0.011833330616354942, 0.052091360092163086, -0.019998149946331978, -0.07823669165372849, -0.027200648561120033, 0.03181429207324982, 0.013196525163948536, -0.036975666880607605, 0.0528167299926281, 0.006052607670426369, 0.02568870782852173, 0.04143828898668289, 0.033432744443416595, 0.026993997395038605, -0.026267386972904205, 0.03958430886268616, 0.03479715809226036, -0.08975496888160706, 0.009380754083395004, -0.02844761684536934, 0.023640824481844902, -0.05669664591550827, 0.43718641996383667, -0.023476850241422653, -0.03127572685480118, 0.032637499272823334, 0.0054512107744812965, -0.020988009870052338, 0.03802771866321564, -0.013665242120623589, -0.04818268120288849, 0.009151403792202473, -0.05476541072130203, 0.018553318455815315, 0.023893654346466064, 0.008930658921599388, -0.04688062518835068, -0.020759453997015953, 0.017033573240041733, 0.011355775408446789, -0.00989773590117693, -0.02766234800219536, 0.026576636359095573, 0.002489514648914337, 0.02723551169037819, -0.0008993183146230876, 0.027443524450063705, 0.009794979356229305, -0.02957381308078766, 0.04494186118245125, 0.047499388456344604, 0.014493754133582115, 0.0065989186987280846, 0.04814225062727928, -0.027468593791127205, -0.0890655368566513, 0.018313178792595863, 0.018701918423175812, 0.015221107751131058, 0.007498815655708313, -0.005407367367297411, -0.009530180133879185, 0.02162954770028591, 0.013994104228913784, -0.0037515198346227407, 0.002610572846606374, -0.03682700917124748, -0.060608819127082825, 0.08160612732172012, -0.014656447805464268, -0.012189462780952454, 0.000534255406819284, -0.030243350192904472, 0.019673239439725876, 0.038318801671266556, -0.005713107995688915, -0.07302580773830414, 0.03140276297926903, -0.0013991267187520862, 0.05795583873987198, 0.0000576108941459097, -0.04132619872689247, -0.011815600097179413, -0.018213627859950066, 0.007607018109411001, -0.05935750901699066, 0.01452029962092638, 0.05175217241048813, -0.11279235035181046, -0.033449649810791016, 0.030378056690096855, 0.048819754272699356, -0.07056140154600143, -0.026368798688054085, 0.012146464549005032, -0.06526301056146622, -0.009965343400835991, 0.040006138384342194, 0.005925614852458239, -0.04988659918308258, 0.011239779181778431, 0.026289453729987144, 0.05017735809087753, 0.00044360378524288535, -0.0015200366033241153, -0.06602080911397934, -0.015916645526885986, -0.011824047192931175, -0.06069070100784302, -0.03623814508318901, 0.002856545615941286, -0.005946311634033918, -0.01885160617530346, -0.029463820159435272, 0.0002477430971339345, -0.09676079452037811, 0.09934266656637192, -0.037133507430553436, -0.03093060664832592, 0.031835444271564484, -0.01571984775364399, -0.00397574482485652, -0.022071005776524544, 0.0111268050968647, 0.053900349885225296, 0.008391558192670345, 0.05105305090546608, -0.08021432161331177, 0.083754763007164, 0.05049256607890129, -0.0458032488822937, 0.0631556585431099, 0.0373755618929863, -0.03915088251233101, -0.02656322531402111, -0.01322215050458908, 0.017629215493798256, -0.011475561186671257, -0.03307044506072998, -0.0059686568565666676, 0.03659392520785332, 0.022585157305002213, -0.0016096873441711068, -0.055363282561302185, 0.024132858961820602, 0.0008095316588878632, -0.3330892026424408, -0.024594619870185852, -0.011754821985960007, 0.0005785710527561605, -0.01087565440684557, -0.06401031464338303, 0.016913961619138718, -0.00507989339530468, -0.013729347847402096, -0.0366571769118309, 0.08339594304561615, -0.006654081866145134, 0.008777635172009468, -0.07941421121358871, 0.00841478817164898, 0.02212892845273018, -0.04978946968913078, -0.0317758284509182, -0.021239379420876503, 0.008853813633322716, -0.028812387958168983, 0.026292836293578148, 0.026950916275382042, -0.04337897151708603, 0.012377232313156128, -0.07378591597080231, 0.09392516314983368, -0.026740211993455887, 0.08350855112075806, -0.014653787948191166, 0.05282551050186157, -0.010101990774273872, 0.0034850742667913437, -0.10977764427661896, 0.007362679112702608, -0.030673161149024963, -0.05817820504307747, -0.009038965217769146, 0.058541636914014816, 0.009164738468825817, -0.02133369632065296, 0.002741022501140833, -0.025331055745482445, -0.0407937727868557, -0.0000557620805921033, -0.013045084662735462, -0.016402268782258034, -0.03731020167469978, -0.020989172160625458, 0.06968443095684052, 0.008912615478038788, -0.03768441081047058, 0.01720258593559265, 0.0415840819478035, 0.011205775663256645, -0.05523579940199852, -0.057628076523542404, 0.0007465151138603687, 0.00790379848331213, 0.024304000660777092, 0.046808160841464996, 0.06879734992980957, 0.030833033844828606, -0.04669652134180069, 0.0010380244348198175, -0.01340775191783905, -0.009331688284873962, 0.005890153348445892, 0.05953563004732132, -0.06500979512929916, -0.02465386874973774, 0.10204063355922699, -0.0006749758031219244, 0.006301002576947212, 0.03996776044368744, 0.027821257710456848, -0.011990879662334919, -0.02674103155732155, 0.013553017750382423, 0.016162468120455742, -0.01448275800794363, 0.02551989257335663, 0.015436308458447456, -0.024166913703083992, 0.009045174345374107, 0.025086302310228348, -0.023610927164554596, 0.01401632372289896, 0.055762287229299545, -0.0321178138256073, -0.034438543021678925, -0.0016598317306488752, -0.012353857047855854, -0.08669475466012955, 0.07255864888429642, -0.0164620541036129, -0.2611008286476135, -0.010725712403655052, 0.046523530036211014, 0.05639877915382385, -0.006916247308254242, 0.013411796651780605, 0.022344890981912613, -0.0527949221432209, 0.024962518364191055, 0.025897104293107986, 0.04576089233160019, 0.0009189804550260305, 0.03133346512913704, 0.014658937230706215, 0.06033562496304512, 0.020169487223029137, 0.017978301271796227, -0.00953450333327055, 0.03441542759537697, -0.015111351385712624, -0.008829131722450256, -0.0021605901420116425, 0.18184137344360352, -0.0011411068262532353, 0.04832032322883606, 0.030172912403941154, 0.03708545118570328, 0.01421778742223978, 0.0812048614025116, 0.027451178058981895, 0.004255244508385658, -0.007120530121028423, 0.08236653357744217, 0.005438582040369511, 0.013142624869942665, -0.058952249586582184, 0.008775065653026104, -0.0072622234001755714, 0.013674004003405571, 0.00414735171943903, -0.017277490347623825, 0.003137958701699972, -0.06242568418383598, 0.010589553974568844, 0.0964726060628891, 0.020125987008213997, -0.014578988775610924, -0.04412233829498291, -0.021533174440264702, -0.021824147552251816, -0.019939862191677094, -0.04953637719154358, 0.009880432859063148, 0.0045499796979129314, 0.008792281150817871, 0.06679347157478333, -0.006007815711200237, -0.03304173797369003, -0.02772217057645321, 0.009237311780452728, -0.0038537802174687386, 0.027232782915234566, 0.08922823518514633, 0.047185976058244705, 0.02821771427989006 ]
[ -0.022211559116840363, 0.03565265238285065, -0.047022201120853424, 0.025046976283192635, -0.021620171144604683, 0.01798897422850132, 0.012586669996380806, -0.0040140957571566105, -0.032700955867767334, -0.000524029484950006, 0.006002838257700205, -0.0339890792965889, 0.036984048783779144, -0.053687192499637604, 0.04062270745635033, -0.020744815468788147, 0.00609210692346096, -0.018589187413454056, 0.015494885854423046, -0.012731789611279964, -0.023231692612171173, 0.01481549721211195, -0.003550794906914234, 0.0025133865419775248, -0.02749527618288994, -0.013133304193615913, 0.02626364678144455, 0.0057020788080990314, 0.01057419553399086, -0.11887085437774658, 0.011687826365232468, -0.026530148461461067, -0.026755891740322113, 0.0066077630035579205, -0.025180958211421967, 0.012903443537652493, 0.059534624218940735, 0.05244792625308037, -0.002901200670748949, -0.04180612787604332, -0.002728411927819252, 0.009525736793875694, -0.024285003542900085, 0.003682631067931652, -0.0007470655837096274, 0.029158487915992737, -0.010371146723628044, -0.03032131865620613, -0.023685971274971962, -0.00516527472063899, -0.02699251100420952, -0.001425673603080213, 0.038129787892103195, -0.0005661477334797382, 0.0018555504502728581, -0.032032836228609085, 0.0003369183395989239, -0.0308190006762743, 0.02785605750977993, 0.02020227536559105, -0.005243276711553335, -0.03618159517645836, 0.008083763532340527, -0.01998603343963623, 0.023709820583462715, -0.027950922027230263, -0.029397523030638695, -0.008969256654381752, 0.0033954938407987356, -0.02375517599284649, -0.021709943190217018, 0.023177795112133026, -0.03540888801217079, 0.011794190853834152, -0.01114344596862793, 0.011708337813615799, 0.0012080578599125147, -0.0035116057842969894, 0.025236770510673523, 0.0005221182946115732, -0.05399804562330246, 0.011523266322910786, 0.007273577153682709, -0.00424263346940279, -0.010164092294871807, 0.054534923285245895, 0.02148004062473774, -0.011841868050396442, -0.028886523097753525, 0.026817893609404564, -0.007278431672602892, 0.03498190641403198, 0.007471885997802019, 0.022139087319374084, -0.064579077064991, 0.0029433441814035177, -0.013246952556073666, -0.014654029160737991, 0.010685532353818417, 0.8413193225860596, -0.005663331598043442, 0.020584875717759132, 0.034798987209796906, 0.017761290073394775, -0.01562072429805994, -0.01846126839518547, 0.0020165632013231516, 0.012652575969696045, 0.01814345456659794, -0.026490719988942146, 0.02242210879921913, -0.005318089388310909, -0.010363329201936722, 0.0022439968306571245, 0.009287378750741482, -0.006052070297300816, -0.006499249953776598, -0.022216562181711197, -0.03327662870287895, -0.005322312470525503, 0.012172597460448742, -0.019185900688171387, -0.0416971817612648, -0.030527444556355476, -0.0048332614824175835, -0.15554963052272797, 0.02879520319402218, -8.577533054124291e-33, 0.05282076820731163, 0.005068290047347546, 0.008873442187905312, 0.03662385791540146, 0.0380234457552433, 0.0019833617843687534, 0.047300804406404495, 0.06843648850917816, 0.030265498906373978, -0.022733483463525772, 0.0408870093524456, -0.02604779228568077, 0.004764365032315254, 0.004997674375772476, 0.019334910437464714, -0.01211975421756506, -0.03539246693253517, -0.008363388478755951, 0.0145455002784729, 0.008869647048413754, 0.04278534650802612, 0.04279305040836334, 0.026695210486650467, -0.030238773673772812, -0.0071440390311181545, 0.011211021803319454, 0.009159605018794537, 0.0093037448823452, -0.025776756927371025, -0.026543086394667625, 0.016816187649965286, 0.0286661759018898, -0.01303144358098507, 0.01557951420545578, 0.04560982063412666, -0.03224464878439903, -0.01125007588416338, 0.005303498357534409, -0.025341564789414406, -0.018556123599410057, -0.01924770697951317, -0.009515224024653435, -0.015889521688222885, 0.019472211599349976, -0.056591276079416275, -0.030445599928498268, -0.00714555149897933, -0.04013504460453987, 0.05067241191864014, 0.013506787829101086, 0.010006682947278023, 0.054269447922706604, 0.035276684910058975, -0.01868775486946106, -0.03580189868807793, 0.015613958239555359, -0.03372060880064964, -0.022918391972780228, 0.006276754662394524, 0.014444227330386639, -0.013104750774800777, -0.016402462497353554, -0.016706181690096855, -0.0008684018393978477, -0.004195176996290684, -0.06192558631300926, 0.03399911895394325, -0.01901787333190441, 0.033943355083465576, -0.03192029520869255, 0.01678987592458725, 0.001110190525650978, -0.04046892002224922, 0.00022436681319959462, 0.009897940792143345, -0.011526847258210182, 0.01331684272736311, 0.051954399794340134, -0.001160643296316266, 0.0017815519822761416, 0.02441457472741604, 0.013466340489685535, 0.004823792260140181, -0.00031104282243177295, 0.002137713832780719, -0.011586807668209076, -0.002664844738319516, -0.01587110012769699, 0.01844523288309574, 0.009626215323805809, 0.02052963711321354, 0.040043529123067856, -0.0009260227088816464, -0.00014228830696083605, -0.03744828328490257, 7.616474586830913e-33, 0.03140980750322342, -0.030731623992323875, -0.030207237228751183, 0.0006339495885185897, 0.0022295240778476, -0.0025622406974434853, 0.0028672595508396626, 0.013017094694077969, -0.06420587003231049, 0.019089043140411377, 0.009614684619009495, 0.03008216805756092, -0.00048058421816676855, 0.05989997461438179, 0.03625531494617462, -0.01670926995575428, 0.011628378182649612, -0.04142605885863304, 0.022392364218831062, -0.016017397865653038, 0.027609290555119514, 0.00564896734431386, 0.014386238530278206, -0.013816664926707745, -0.010627185925841331, 0.037100374698638916, -0.05403408408164978, 0.01587073504924774, -0.004971906542778015, -0.008709807880222797, -0.015962637960910797, 0.029009796679019928, 0.02256729081273079, -0.04743807762861252, -0.017713163048028946, -0.012731719762086868, 0.0020798861514776945, 0.036816179752349854, 0.026582524180412292, 0.028833897784352303, 0.0020227008499205112, 0.0076600112952291965, 0.03952131047844887, -0.0005603663739748299, 0.0380546897649765, 0.004003227222710848, 0.0074297841638326645, -0.033053282648324966, -0.0017779150512069464, 0.07582172751426697, 0.01283886656165123, 0.026469696313142776, -0.010739248245954514, 0.007427999749779701, 0.004189041908830404, -0.023278750479221344, 0.002089141169562936, -0.04766517132520676, -0.048414044082164764, 0.025317471474409103, -0.026736317202448845, 0.018081417307257652, 0.007397427689284086, 0.035580236464738846, -0.044231005012989044, -0.004959566984325647, -0.007460569962859154, -0.024774739518761635, -0.007293907459825277, -0.04257825389504433, -0.026212969794869423, -0.03341764211654663, -0.021075531840324402, 0.006057754158973694, 0.01729135401546955, -0.073450468480587, -0.011214873753488064, -0.024097390472888947, 0.021753031760454178, -0.004728678613901138, 0.011608961038291454, -0.036426395177841187, 0.0328475758433342, -0.023249736055731773, -0.004294214770197868, -0.006686834152787924, 0.00038369197864085436, -0.014258529990911484, -0.03471245989203453, 0.004979955498129129, -0.022250771522521973, -0.025302071124315262, -0.028957637026906013, -0.042016979306936264, -0.037269480526447296, -1.3654558372877545e-8, -0.04157819598913193, 0.02175416424870491, -0.009454399347305298, 0.0026819754857569933, -0.010185979306697845, -0.011318225413560867, -0.036104075610637665, -0.02516310289502144, 0.0064850421622395515, 0.0002410842280369252, 0.019238289445638657, 0.00195732107385993, 0.03548127040266991, 0.0073864092119038105, -0.008920840919017792, -0.05155109986662865, -0.03905840590596199, -0.01399803627282381, 0.007822612300515175, -0.003923766780644655, -0.009407696314156055, 0.06878148019313812, -0.020906157791614532, 0.0333416685461998, 0.04553930461406708, 0.042503487318754196, 0.007456728722900152, -0.059071674942970276, 0.017727581784129143, 0.025905070826411247, -0.014741417020559311, -0.008385241031646729, -0.017756348475813866, -0.058736879378557205, -0.004178919829428196, -0.009035343304276466, 0.0012746949214488268, 0.015066463500261307, 0.021495068445801735, -0.024014446884393692, 0.016969526186585426, 0.024602364748716354, 0.015882574021816254, -0.008517741225659847, 0.00462288036942482, -0.019429316744208336, -0.04396788030862808, 0.03316091001033783, -0.00011397246998967603, -0.03654560074210167, -0.0014623935567215085, 0.017853429540991783, 0.03690847381949425, 0.03245992586016655, 0.014406588859856129, -0.00041834995499812067, -0.004468115977942944, -0.016543826088309288, -0.022763503715395927, -0.021579766646027565, 0.052574820816516876, 0.012031297199428082, -0.008649436756968498, -0.026173647493124008 ]
tdd-test-only-constructors
https://markhneedham.com/blog/2009/09/12/tdd-test-only-constructors
false
2009-09-13 00:19:42
Coding: An abstract class/ASP.NET MVC dilemma
[ "coding" ]
[ "Coding", ".NET" ]
I previously described http://www.markhneedham.com/blog/2009/09/02/coding-reduce-fields-delay-calculations/[a refactoring that we have been working on to reduce the number of fields and delay calculations] and the actual goal behind this refactoring was to get the code into shape so that we could add in the logic for a new business process that our application needed to handle. The code in question defines view models being used by different partial views which are rendered depending on the business process that the user is currently executing. We decided that the best way to add in this new code was drive our code towards a stage where we could have an abstract class and then sub classes for each of the specific business processes around this area. Before this we had been using the same class everywhere but it was becoming a bit too complicated to understand as we attempted to add in this new functionality - there was already scattered if/else logic for the two business processes that were already being handled in the same place. The views were defined like this, where the generic type on 'ViewModel' is the name of the specific business process model class: [source,text] ---- ParentPage.aspx : ViewModel BusinessProcess1Partial.aspx : ViewModel BusinessProcess2Partial.aspx : ViewModel BusinessProcess3Partial.aspx : ViewModel ---- The classes in question are roughly like this: [source,csharp] ---- public abstract class ParentModel { private readonly Dependency dependency; public ParentModel(Dependency depedency) { this.dependency = dependency; } public string GetValueOne() { return dependency1.GetValueOne(); } } public class BusinessProcessModel1 : ParentModel { public BusinessProcessModel1(Dependency dependency) : base(dependency) { } public int SomeBusinessProcess1SpecificThing() { // do some calculation } } public class BusinessProcessModel2 : ParentModel { public BusinessProcessModel1(Dependency dependency) : base(dependency) { } public int SomeBusinessProcess2SpecificThing() { // do some calculation } } ---- It worked quite well for the majority of what we wanted to do but we eventually got to the stage where there was a property which we needed on the 'ParentModel' for the 'ParentPage' which was also needed by BusinessProcessModel1 and BusinessProcessModel2 but not by BusinessProcessModel3. We actually had the data required for that property at the time of construction of all three of the business processes so we decided to add it to the 'ParentModel' and even though it seems quite evil to do this we couldn't see an immediately obvious alternative. Our initial thought was that perhaps we could make use of some role based interfaces and then define those interfaces as part of the 'ViewModel' generic that each page extends. As far as I understand it's not possible to do this though because any types we use with 'ViewModel' need to be classes. An approach which we considered but didn't try out is to have a 'ParentModel' representing the top level page and then have each of the business proceess models as propertys on that. By doing that we could reduce the need to have the class hierarchy although we would increase the complexity of the code for rendering the business process specific partials since we'd need to introduce if statements into the parent view to ensure that the correct property from that was selected. Neither option seems that great. Has anyone found a better solution?
null
null
[ -0.003183295950293541, -0.01097806729376316, -0.013535920530557632, 0.011487025767564774, 0.09436888992786407, 0.002280896296724677, 0.018165932968258858, 0.0112701915204525, 0.00021809186728205532, -0.019804086536169052, -0.015585727989673615, -0.014248770661652088, -0.07166662067174911, 0.026675675064325333, -0.028861049562692642, 0.08717906475067139, 0.08491045236587524, -0.01379579771310091, 0.015777524560689926, -0.002753936219960451, 0.010638931766152382, 0.08884160965681076, 0.008965536952018738, 0.042435381561517715, 0.014835243113338947, 0.050254546105861664, -0.007569745648652315, -0.020013069733977318, -0.046001121401786804, -0.022195329889655113, 0.05409051850438118, 0.0007946498808450997, 0.0019167136633768678, -0.0005221855826675892, 0.010354362428188324, -0.02440630830824375, -0.00805774424225092, 0.020067518576979637, -0.023258129134774208, -0.014785371720790863, -0.082225501537323, 0.01814681477844715, -0.006863836199045181, -0.002871205098927021, -0.05572781711816788, -0.022827427834272385, -0.022582989186048508, 0.010174434632062912, -0.0689307227730751, -0.0379658006131649, -0.08161402493715286, 0.026729611679911613, -0.051090970635414124, 0.019995465874671936, -0.021969826892018318, 0.07349048554897308, 0.014196924865245819, -0.06702017784118652, 0.013481958769261837, -0.062188200652599335, 0.022354120388627052, -0.009583177976310253, 0.004310524091124535, 0.025026913732290268, 0.0221470445394516, -0.01629391498863697, -0.018658222630620003, 0.054218582808971405, -0.034472040832042694, -0.023257575929164886, -0.010796640999615192, 0.00806481298059225, -0.00745947053655982, 0.016129719093441963, 0.010752418078482151, -0.030112244188785553, 0.009345672093331814, 0.04760989174246788, 0.002846210263669491, 0.04705154150724411, -0.010692324489355087, 0.0077390545047819614, 0.020982885733246803, 0.00021456929971463978, 0.013697325251996517, -0.027009500190615654, -0.012301178649067879, -0.004378146957606077, -0.037056636065244675, 0.0446559377014637, 0.010607002303004265, -0.04145016148686409, -0.006572195328772068, 0.03396860882639885, 0.004994077142328024, -0.004469302948564291, 0.02744586206972599, 0.0007205131696537137, 0.013216696679592133, 0.00645847525447607, -0.029157496988773346, -0.025335615500807762, 0.03825502470135689, 0.0014334417646750808, -0.07951615750789642, -0.028531821444630623, -0.027640853077173233, -0.033940769731998444, 0.00008490658365190029, 0.001155177946202457, -0.04211707413196564, 0.023266401141881943, -0.05721841752529144, -0.0053778220899403095, -0.07540658861398697, 0.07092372328042984, 0.002923998050391674, 0.0019299418199807405, 0.01625988632440567, 0.00953956600278616, 0.06330154836177826, 0.01351075991988182, -0.020888570696115494, 0.09673115611076355, 0.01589115895330906, 0.05876007303595543, -0.04996667057275772, 0.057134974747896194, -0.02188071422278881, -0.0685528814792633, 0.014186582528054714, 0.04886772111058235, -0.012900352478027344, 0.013160103932023048, 0.0028121492359787226, -0.0279073603451252, -0.006385308224707842, 0.01927049271762371, 0.024650391191244125, 0.020485734567046165, -0.03527918830513954, -0.033828020095825195, 0.009838223457336426, -0.017779536545276642, 0.010872217826545238, 0.016234295442700386, 0.0021815928630530834, -0.014885458163917065, -0.026673126965761185, 0.036474473774433136, 0.0058977315202355385, 0.05479257181286812, 0.040770646184682846, -0.040052659809589386, 0.02655053324997425, 0.09959901124238968, 0.009531812742352486, -0.008048001676797867, -0.01183792483061552, 0.023724708706140518, 0.052186284214258194, 0.009791073389351368, -0.0019013866549357772, 0.04060138761997223, 0.015101260505616665, 0.013958357274532318, 0.004560399334877729, 0.031266842037439346, 0.0006929628434590995, -0.019103901460766792, -0.07010945677757263, -0.04330405220389366, 0.05229925364255905, -0.06345126777887344, -0.007722300942987204, 0.052748002111911774, 0.07016842812299728, 0.01637113094329834, 0.06897386163473129, -0.0068451957777142525, -0.08132808655500412, 0.0013958355411887169, 0.0028126223478466272, -0.01766064576804638, -0.002916966797783971, 0.001630199607461691, 0.06561322510242462, 0.020932940766215324, -0.018204307183623314, 0.032715775072574615, -0.06536705791950226, -0.08532746881246567, -0.041277557611465454, -0.018384156748652458, 0.06580393761396408, -0.02541210688650608, -0.0292450413107872, 0.08541944622993469, 0.010038414038717747, 0.042153939604759216, 0.02558850310742855, -0.010316748172044754, 0.01589033752679825, -0.015335978008806705, -0.036188289523124695, 0.02546801045536995, 0.03282805532217026, 0.02220207452774048, -0.05631961300969124, 0.014393762685358524, -0.021997714415192604, -0.037362176924943924, 0.04793418198823929, -0.007112609688192606, 0.045333269983530045, 0.023745864629745483, 0.008287660777568817, -0.03144758567214012, 0.05262717604637146, -0.05914048105478287, 0.008626474998891354, -0.012381087057292461, -0.03816265985369682, -0.015712575986981392, -0.0036498659756034613, 0.10329239070415497, 0.049638014286756516, -0.0445287711918354, -0.05721913278102875, 0.02821478061378002, 0.03192035108804703, -0.03639325127005577, 0.005196710117161274, -0.053282082080841064, 0.029489699751138687, -0.03421793133020401, -0.04869351536035538, -0.010383225046098232, 0.0065655820071697235, -0.03733573108911514, 0.02651984989643097, 0.05660175159573555, -0.037944693118333817, 0.05860142782330513, -0.0049816034734249115, -0.014911306090652943, -0.016731036826968193, 0.004140447825193405, -0.04552445188164711, 0.020841045305132866, 0.01048099435865879, -0.004075199365615845, 0.05870719999074936, -0.020998388528823853, -0.030240373685956, -0.01598786935210228, -0.041332073509693146, 0.01913616620004177, 0.009617923758924007, 0.04831651970744133, -0.007963796146214008, 0.051060933619737625, 0.007703518029302359, 0.02232213504612446, -0.015109434723854065, -0.05109667778015137, -0.0018998978193849325, 0.01473720371723175, 0.02440647780895233, 0.04323187097907066, 0.03347516432404518, 0.005211339797824621, 0.030728038400411606, -0.00896012969315052, -0.01427147351205349, -0.021937362849712372, 0.0335923470556736, 0.002722723176702857, -0.046648234128952026, -0.045465704053640366, -0.04456626623868942, 0.03948451578617096, -0.03335687518119812, -0.05428382381796837, 0.015524128451943398, -0.08505290001630783, 0.05875232815742493, -0.07400970906019211, -0.06314005702733994, -0.004204173572361469, 0.026058685034513474, 0.03805500268936157, -0.010508843697607517, 0.03292329981923103, 0.08951113373041153, 0.021053049713373184, -0.002841003704816103, -0.009639430791139603, 0.0013434342108666897, 0.02782491035759449, -0.016928810626268387, 0.010647337883710861, 0.042132046073675156, -0.011769536882638931, -0.003225421067327261, -0.02748057432472706, 0.031928692013025284, -0.02025178261101246, -0.2659167945384979, 0.016136661171913147, -0.01183770690113306, -0.06386931240558624, 0.0357685424387455, -0.011760232970118523, 0.02441512420773506, -0.03452301397919655, -0.028799282386898994, 0.045192234218120575, -0.0326167456805706, -0.05962991341948509, -0.027163201943039894, 0.06841620802879333, -0.012697035446763039, 0.03279241546988487, 0.011246699839830399, -0.0411563403904438, 0.012896996922791004, 0.04855667054653168, 0.015300111845135689, -0.06468386203050613, -0.008474771864712238, 0.027455994859337807, 0.01640590839087963, 0.05506432056427002, -0.08235533535480499, 0.060958705842494965, -0.024332912638783455, -0.014881137758493423, 0.024445723742246628, -0.013295643031597137, -0.010463470593094826, -0.02544226497411728, -0.03049769625067711, -0.04200175032019615, 0.010385415516793728, 0.049890000373125076, -0.004787243437021971, 0.01863687112927437, -0.02071729302406311, -0.05240243673324585, -0.00432593235746026, 0.0003809020563494414, 0.07614120095968246, -0.007860393263399601, -0.06466493010520935, -0.010197082534432411, -0.03739777207374573, 0.08902376890182495, 0.0031697903759777546, -0.04143017157912254, 0.023015646263957024, 0.038258593529462814, -0.01109088771045208, -0.03346075117588043, 0.016917362809181213, -0.007576804608106613, -0.04675216227769852, -0.02607785351574421, -0.004833662882447243, -0.050869714468717575, -0.009498229250311852, -0.04350435361266136, 0.012920033186674118, -0.05388856306672096, -0.05430697649717331, -0.016879381611943245, 0.0645967647433281, 0.04263681545853615, -0.01607404462993145, -0.0008494298672303557, 0.012546129524707794, -0.11356553435325623, 0.018310097977519035, -0.0377768948674202, -0.00702133821323514, -0.03457873314619064, 0.006591751705855131, 0.015518918633460999, 0.0019370325608178973, -0.03954903036355972, 0.020045235753059387, 0.013565873727202415, 0.016807137057185173, 0.0016619105590507388, 0.011059249751269817, 0.018533607944846153, -0.024536041542887688, 0.010818292386829853, 0.07471171766519547, 0.0013657541712746024, 0.02085539698600769, -0.03595459461212158, -0.02040037326514721, 0.017249949276447296, 0.017550643533468246, -0.01815992221236229, 0.0009834155207499862, 0.016612643375992775, 0.019884178414940834, -0.053820013999938965, 0.02899785526096821, -0.016184313222765923, 0.00288681429810822, -0.04170241951942444, -0.05356903746724129, 0.01959315501153469, 0.03614744171500206, 0.017075246199965477, -0.0006634889869019389, -0.013657721690833569, -0.012318738736212254, -0.04487604647874832, -0.03324571251869202, -0.011908456683158875, 0.0018527512438595295, 0.028945857658982277, -0.018394121900200844, -0.019762298092246056, -0.04925994575023651, 0.030070044100284576, -0.0033675613813102245, -0.0013658803654834628, -0.07754156738519669, -0.03932194411754608, -0.02587362937629223, -0.007804675493389368, 0.016910480335354805, 0.03519124537706375, -0.025785084813833237, 0.027345364913344383, -0.013286206871271133, -0.04671464487910271, 0.0008065477595664561, -0.0022056777961552143, -0.02323637157678604, -0.03593650460243225, -0.013288375921547413, -0.0185787845402956, 0.014873036183416843, 0.016637610271573067, 0.029153892770409584, 0.008632007986307144, 0.061866600066423416, 0.01853925734758377, 0.057985737919807434, 0.01668325811624527, 0.006453711073845625, 0.012337416410446167, 0.012778348289430141, -0.046027593314647675, -0.0060510411858558655, -0.04262130334973335, -0.045274801552295685, -0.04037701338529587, 0.0345374159514904, -0.03334065526723862, -0.0015249215066432953, -0.028858007863163948, -0.005123087204992771, -0.04890551418066025, -0.050239868462085724, -0.0362226776778698, -0.00012962386244907975, 0.0714341253042221, -0.01127402763813734, 0.04637821763753891, -0.016260195523500443, -0.0229352917522192, 0.03366142511367798, 0.004581499379128218, -0.03359049931168556, 0.035314563661813736, 0.00769765954464674, 0.014848947525024414, 0.01740480214357376, 0.007326218299567699, 0.03566636145114899, 0.038922615349292755, 0.016187570989131927, -0.026103783398866653, 0.02519119717180729, 0.011785131879150867, 0.03267192840576172, 0.004192623775452375, -0.0033480855636298656, 0.005316480062901974, -0.011985859833657742, -0.02663235366344452, -0.04486856609582901, -0.011145341210067272, -0.02116239257156849, 0.02820829302072525, -0.020293962210416794, -0.08114133030176163, 0.009746302850544453, 0.01591421104967594, 0.032522499561309814, 0.0011610343353822827, 0.005189173389226198, 0.01564077101647854, -0.01609235815703869, 0.02890193462371826, 0.069571852684021, -0.04935884475708008, 0.03077591210603714, 0.009694443084299564, 0.012481287121772766, 0.01179515291005373, 0.027262896299362183, -0.028094647452235222, -0.024066155776381493, -0.01946622133255005, -0.024296725168824196, -0.033076196908950806, -0.007667503319680691, -0.02449924126267433, 0.024128900840878487, -0.018091687932610512, 0.005811667535454035, -0.0070402720011770725, 0.0009077054564841092, -0.023250030353665352, -0.02305053174495697, 0.024549251422286034, -0.00999931339174509, 0.03126859664916992, 0.016544729471206665, -0.03805350512266159, 0.006046217866241932, -0.014346788637340069, -0.004817841574549675, 0.01041113119572401, -0.005560089834034443, -0.028127852827310562, -0.06121555715799332, 0.01494305394589901, 0.013233729638159275, 0.052434422075748444, -0.0036044735461473465, -0.014315862208604813, -0.005571950692683458, -0.005133934319019318, -0.01040959358215332, 0.015131779946386814, -0.004719017539173365, -0.02428298257291317, 0.022863075137138367, 0.051665958017110825, 0.019125208258628845, 0.04643552377820015, 0.0021380423568189144, 0.016785141080617905, 0.061892133206129074, -0.06666159629821777, -0.034521009773015976, -0.014883661642670631, -0.07083401829004288, 0.024220239371061325, 0.012887377291917801, 0.02535214088857174, -0.034509532153606415, 0.0626140907406807, 0.06042516231536865, 0.027486329898238182, 0.037491559982299805, 0.02514108270406723, 0.049719374626874924, -0.028646675869822502, 0.00796696450561285, -0.060985345393419266, 0.02112903632223606, 0.028642194345593452, 0.02429286763072014, -0.03109423816204071, -0.027094995602965355, -0.0399508997797966, 0.04834075644612312, -0.07141850888729095, -0.036917541176080704, 0.016743946820497513, 0.019521094858646393, -0.014639189466834068, -0.0025886523071676493, -0.05921219289302826, 0.0422227680683136, 0.015203679911792278, -0.04238741099834442, -0.031482428312301636, -0.02669994719326496, 0.05702386423945427, 0.019853120669722557, 0.01385832391679287, -0.05252143368124962, 0.00649001682177186, 0.0647449791431427, 0.01647333800792694, 0.019431574270129204, 0.05078437179327011, -0.007982930168509483, 0.05205555632710457, 0.017380254343152046, 0.004427566658705473, -0.04470174387097359, 0.011647524312138557, 0.00912442896515131, -0.06810607016086578, 0.02950703352689743, 0.012859008274972439, -0.022238802164793015, -0.04006354138255119, 0.0649869441986084, 0.024234706535935402, -0.0020633842796087265, -0.028034448623657227, -0.017645476385951042, -0.03578891605138779, -0.01702849380671978, -0.028437545523047447, 0.006864583119750023, -0.03404999524354935, 0.0768095925450325, -0.010618114843964577, -0.02512533962726593, 0.07055281847715378, 0.00991501472890377, -0.015856649726629257, -0.041662152856588364, 0.08123518526554108, 0.07241018861532211, 0.04466919228434563, -0.009264769963920116, 0.05976257473230362, -0.03380167484283447, -0.029682165011763573, 0.03226812556385994, -0.036047860980033875, -0.02369915321469307, -0.023173827677965164, 0.01363286655396223, 0.08439941704273224, 0.02172672562301159, 0.05284927785396576, -0.039815887808799744, -0.01187122892588377, -0.0026986810844391584, 0.028714941814541817, 0.01840086840093136, 0.04022657871246338, 0.015435056760907173, -0.011925597675144672, 0.01020050048828125, -0.05137579143047333, 0.012591449543833733, -0.021795878186821938, -0.014045999385416508, 0.026995152235031128, 0.0121048828586936, 0.012291177175939083, -0.010925393551588058, 0.019112803041934967, 0.07014217972755432, -0.017350733280181885, -0.01967773772776127, -0.017643257975578308, 0.02665128745138645, 0.028975320979952812, -0.03763052821159363, -0.02897569350898266, -0.03819504752755165, -0.016774266958236694, -0.009794370271265507, -0.01180884800851345, -0.02314857207238674, 0.0000704946432961151, 0.04043687507510185, -0.031297747045755386, 0.031421490013599396, 0.02690926194190979, 0.021288787946105003, -0.06882233917713165, -0.07352108508348465, -0.051065851002931595, -0.03850226849317551, -0.06320328265428543, -0.006517717149108648, 0.027134738862514496, -0.012622992508113384, -0.0225172471255064, -0.009369831532239914, -0.028395449742674828, -0.033879030495882034, 0.04863915592432022, -0.03081289678812027, -0.016206292435526848, 0.0040035974234342575, 0.008290681056678295, 0.05120323970913887, 0.0270064789801836, 0.041196659207344055, -0.013648636639118195, 0.0008171374793164432, -0.03738175705075264, -0.008194427005946636, 0.030260635539889336, 0.020082684233784676, 0.014741205610334873, -0.07804883271455765, 0.017826730385422707, 0.015492436476051807, -0.012798819690942764, -0.0700099915266037, 0.023803384974598885, 0.014951969496905804, -0.011892164126038551, 0.04552378132939339, -0.026913104578852654, -0.015216618776321411, -0.03689875826239586, -0.006589211989194155, 0.010208853520452976, 0.036812156438827515, 0.047188665717840195, -0.03586942330002785, 0.07266895473003387, 0.03999560698866844, -0.00436665304005146, -0.014396666549146175, 0.0012002541916444898, -0.019383249804377556, 0.0120809031650424, -0.034028150141239166, 0.0005786787369288504, -0.020946945995092392, -0.042047545313835144, -0.018028782680630684, 0.02641972526907921, -0.013673323206603527, -0.04821867123246193, 0.01251018326729536, 0.039076611399650574, -0.048065185546875, 0.0015946044586598873, -0.03200137987732887, 0.0374809093773365, -0.03646715357899666, -0.026935596019029617, 0.025389567017555237, 0.019262904301285744, 0.016206229105591774, 0.004152434412389994, 0.009344606660306454, -0.03811890259385109, -0.012541950680315495, -0.009188564494252205, 0.024692222476005554, 0.046673137694597244, 0.011597344651818275, 0.019949445500969887 ]
[ -0.09201080352067947, -0.019874775782227516, -0.024634286761283875, -0.07232162356376648, 0.03072926588356495, -0.013736244291067123, 0.0031897625885903835, 0.016207106411457062, 0.02578144334256649, -0.01980389840900898, -0.000017036703866324387, -0.012677578255534172, -0.021365396678447723, -0.011693422682583332, 0.06849311292171478, -0.012411030009388924, -0.026631638407707214, -0.037644676864147186, 0.02576342225074768, 0.01011696271598339, 0.03503663092851639, -0.03230602666735649, -0.0653071254491806, -0.006298383232206106, 0.01189150009304285, 0.05770545080304146, 0.017945319414138794, -0.03427750617265701, 0.005038739647716284, -0.20424479246139526, 0.015082348138093948, -0.008809486404061317, 0.04556904733181, -0.011268079280853271, 0.022096015512943268, 0.027929093688726425, 0.012054977007210255, 0.04999541491270065, 0.014864778146147728, 0.044232986867427826, -0.027390452101826668, 0.02762332558631897, -0.03125348687171936, -0.02443261817097664, 0.017128722742199898, -0.016098519787192345, 0.005425618961453438, -0.013083630241453648, -0.02625645324587822, -0.00420257868245244, -0.03594096377491951, -0.04588836804032326, -0.05835651978850365, 0.0036158140283077955, -0.012637135572731495, 0.013231797143816948, 0.04853540286421776, 0.06412353366613388, 0.024223288521170616, 0.02534966543316841, 0.01751595176756382, -0.008878331631422043, -0.14779675006866455, 0.11045130342245102, 0.00570013839751482, 0.07446081191301346, -0.028444873169064522, -0.052228089421987534, 0.0059867738746106625, 0.08427956700325012, -0.01294118631631136, -0.02867085300385952, -0.008911347948014736, 0.04851344972848892, 0.014064828865230083, -0.030710894614458084, 0.008032180368900299, 0.034038010984659195, 0.04706187918782234, -0.04565304145216942, -0.03159564360976219, -0.025373749434947968, -0.022038687020540237, -0.02327137254178524, -0.025704914703965187, 0.048815082758665085, 0.00706135667860508, 0.02779262326657772, 0.07164883613586426, -0.003475649282336235, 0.03513143211603165, -0.03612847998738289, 0.0000620190694462508, -0.020011520013213158, -0.06285227835178375, 0.0011198270367458463, -0.01418137177824974, 0.009244975633919239, -0.038927171379327774, 0.40200075507164, -0.037740811705589294, -0.03752097487449646, 0.058381590992212296, 0.04769580811262131, -0.02143954485654831, -0.0001232209033332765, 0.0007358110742643476, -0.023682767525315285, 0.022840406745672226, -0.02573339268565178, -0.01393213216215372, 0.019890522584319115, 0.04946785420179367, -0.0745934247970581, -0.0173559058457613, -0.006974806543439627, -0.030657289549708366, -0.017638007178902626, -0.0035149925388395786, 0.012758485041558743, 0.01726437732577324, 0.01543333288282156, 0.03667508810758591, 0.006783566903322935, -0.00009793691424420103, -0.01576189137995243, 0.025990933179855347, 0.06556974351406097, 0.024749957025051117, 0.016900181770324707, 0.05862591415643692, -0.03278125077486038, -0.0652080699801445, -0.04534267261624336, 0.015587158501148224, -0.010251753963530064, 0.03430723771452904, -0.01762085221707821, -0.004825629759579897, 0.020285913720726967, -0.019960563629865646, 0.01868377812206745, 0.017141049727797508, -0.02352680079638958, -0.055165987461805344, 0.16206632554531097, 0.0016925209201872349, -0.028832145035266876, -0.04135574772953987, -0.026666831225156784, -0.0017976915696635842, 0.07339358329772949, 0.007563550025224686, -0.06778448820114136, 0.015304948203265667, 0.03159305080771446, 0.062476783990859985, -0.008060879074037075, -0.057041235268116, -0.025998396798968315, -0.009633720852434635, -0.0015559771563857794, -0.046143848448991776, 0.0644030049443245, 0.03629264608025551, -0.10896918922662735, -0.030214445665478706, -0.00028968550032004714, 0.024676868692040443, -0.03297318145632744, -0.026091132313013077, 0.02343914657831192, -0.006940759718418121, -0.010144932195544243, 0.06178180128335953, 0.004309243056923151, -0.029072068631649017, 0.012256558053195477, 0.038683995604515076, 0.02698344551026821, 0.04560820385813713, -0.00186233373824507, -0.05951374024152756, -0.017215479165315628, -0.016558613628149033, -0.06346157938241959, -0.014605275355279446, -0.018429012969136238, -0.03897944837808609, -0.02848215587437153, -0.04182839393615723, 0.011652261950075626, -0.0871853232383728, 0.09145775437355042, -0.01583975926041603, -0.017071973532438278, 0.04111459106206894, -0.01598406210541725, 0.005291685927659273, -0.020324338227510452, 0.009692692197859287, 0.06058558449149132, -0.02846413291990757, 0.023417282849550247, -0.056291889399290085, 0.05734097212553024, 0.01864371821284294, -0.009355510585010052, 0.03129427880048752, 0.035226304084062576, -0.08560851961374283, -0.0065285745076835155, 0.0164613276720047, 0.006548423785716295, 0.008918575942516327, 0.004764037672430277, -0.016543133184313774, 0.03935841843485832, 0.0032675941474735737, 0.01172319520264864, -0.01210850477218628, 0.013571924529969692, 0.03553919494152069, -0.3322021961212158, -0.016177868470549583, -0.010213333182036877, -0.022745557129383087, -0.025276506319642067, -0.0612349770963192, 0.003785662120208144, -0.04679316282272339, -0.059510521590709686, 0.0032148477621376514, 0.07528267055749893, 0.016624772921204567, 0.0021173374261707067, -0.06265600770711899, 0.004535108804702759, 0.006274619605392218, -0.035190045833587646, -0.029679933562874794, -0.06812836229801178, -0.022329043596982956, -0.003985805902630091, 0.024527274072170258, 0.005318068899214268, -0.08453884720802307, 0.009165279567241669, -0.03926481679081917, 0.10597103089094162, -0.059973690658807755, 0.11536474525928497, -0.01994534209370613, 0.06298503279685974, 0.029509933665394783, -0.004555285908281803, -0.08572167903184891, -0.00722744595259428, -0.04346556216478348, 0.004874772392213345, 0.005003306549042463, 0.026669759303331375, -0.011127335950732231, -0.02376367896795273, 0.007665636949241161, -0.06568294763565063, -0.0492851585149765, -0.01845301315188408, 0.002842533867806196, -0.007427564822137356, -0.058595214039087296, -0.026564236730337143, 0.07629311829805374, -0.020374510437250137, -0.002768009901046753, 0.004868648946285248, 0.023846495896577835, -0.004384804982692003, -0.025737524032592773, -0.05512871593236923, 0.026529690250754356, -0.0328073650598526, 0.014122268185019493, 0.042177747935056686, 0.0586467906832695, 0.024798288941383362, -0.04210461676120758, 0.010745310224592686, 0.0028387713246047497, 0.014203760772943497, -0.02424459531903267, 0.043173640966415405, -0.0557372160255909, -0.03642018139362335, 0.09586239606142044, -0.008604878559708595, -0.04884373024106026, 0.029553482308983803, 0.035956721752882004, -0.02018536627292633, 0.020917871966958046, 0.005626426078379154, 0.009614519774913788, 0.009347114711999893, -0.006610619369894266, 0.025549881160259247, -0.017991188913583755, -0.008885638788342476, 0.008930359035730362, 0.0023693968541920185, -0.03038361482322216, -0.010368015617132187, 0.002692666370421648, -0.03871709108352661, -0.014137215912342072, -0.025036530569195747, -0.04009079560637474, 0.07936666160821915, -0.03926175460219383, -0.27054110169410706, 0.009466815739870071, 0.06604661047458649, 0.06787580251693726, 0.015845321118831635, 0.03322956711053848, 0.042737625539302826, -0.05441228672862053, 0.012830880470573902, -0.012335735373198986, 0.007788029965013266, 0.020694570615887642, 0.039304882287979126, 0.008200840093195438, 0.042574673891067505, -0.02291421964764595, 0.05194906145334244, -0.015626640990376472, 0.049662042409181595, -0.00033653120044618845, 0.0046689873561263084, -0.011950244195759296, 0.17042747139930725, 0.018503835424780846, 0.08051960915327072, 0.016736112534999847, 0.003967872355133295, -0.005384859163314104, 0.08405350893735886, 0.045676250010728836, 0.036577142775058746, -0.01095933560281992, 0.10012415051460266, 0.01579020544886589, 0.035562869161367416, -0.0799313485622406, -0.010838338173925877, 0.07239783555269241, 0.037867821753025055, 0.02248547039926052, 0.01439292449504137, -0.011780066415667534, -0.05439595878124237, 0.009427621029317379, 0.0810883566737175, 0.028422892093658447, -0.02003069408237934, -0.036369144916534424, -0.03562206029891968, -0.013952444307506084, -0.039654750376939774, -0.031052090227603912, 0.03549076244235039, 0.014414763078093529, 0.002436897484585643, 0.04613833874464035, 0.00678284140303731, -0.029898036271333694, -0.03340200334787369, 0.043550677597522736, 0.019991571083664894, 0.007675630506128073, 0.09705070406198502, 0.012030260637402534, 0.011936801485717297 ]
[ -0.01579071208834648, 0.00027604223578236997, -0.018128562718629837, 0.04982900246977806, -0.021038051694631577, 0.0413767509162426, 0.009160155430436134, -0.001305205631069839, 0.04442010819911957, -0.015833457931876183, 0.02391218952834606, -0.017902353778481483, -0.015515708364546299, -0.023279212415218353, 0.03199039399623871, -0.023358341306447983, 0.05606573447585106, -0.003865173552185297, 0.0026825277600437403, 0.004001658409833908, 0.015624542720615864, 0.053822290152311325, -0.03904632106423378, 0.015411831438541412, 0.011780308559536934, -0.014660860411822796, 0.004776336718350649, -0.04193870723247528, 0.03456943854689598, -0.11954516917467117, -0.024295659735798836, -0.00039823559927754104, -0.01727334037423134, 0.03130115196108818, -0.007302804384380579, -0.022938508540391922, 0.059884212911129, 0.021944846957921982, 0.019296318292617798, -0.005758379586040974, 0.01156037487089634, -0.011994214728474617, -0.00780921196565032, -0.0007796077989041805, 0.0132538340985775, -0.04355267807841301, -0.009020127356052399, -0.056830212473869324, 0.00376080721616745, -0.011976036243140697, -0.040541425347328186, -0.01893068291246891, -0.025343282148241997, 0.01885194331407547, 0.024461356922984123, -0.016238031908869743, 0.00678381510078907, 0.008418852463364601, -0.021260546520352364, -0.014100679196417332, -0.010997804813086987, -0.027338529005646706, -0.017868606373667717, -0.016506340354681015, 0.00415482884272933, 0.03721977025270462, -0.010148380883038044, -0.03549724072217941, 0.0020085531286895275, -0.014882528223097324, -0.026398248970508575, 0.00562713947147131, -0.004336704965680838, -0.0035441983491182327, -0.032336555421352386, -0.0005679447785951197, 0.02732830122113228, -0.028607690706849098, -0.0011675771092996001, -0.06845013797283173, -0.02228449657559395, 0.011676131747663021, -0.02492479793727398, 0.019049985334277153, -0.007820266298949718, -0.021286912262439728, 0.030438624322414398, 0.007533741649240255, 0.051436323672533035, -0.014511793851852417, -0.00802298728376627, 0.035941507667303085, -0.020841507241129875, -0.00952038262039423, -0.073790542781353, -0.004333410412073135, -0.04391062259674072, -0.023566244170069695, -0.01631433144211769, 0.8069984912872314, -0.004059485625475645, 0.06151251494884491, 0.022919073700904846, 0.045967794954776764, -0.00004686542888521217, 0.00812201015651226, 0.004559296648949385, 0.030186070129275322, -0.01395243126899004, -0.010712956078350544, 0.030388638377189636, -0.003748874180018902, 0.02324916422367096, 0.02807331643998623, 0.008781300857663155, 0.01726919785141945, 0.02519764006137848, -0.052425872534513474, -0.01460909005254507, 0.008767678402364254, 0.03490104526281357, 0.05028977617621422, 0.00021245786047074944, -0.05143637955188751, 0.004268994554877281, -0.18558689951896667, -0.014959397725760937, -7.37204963836062e-33, 0.023071181029081345, -0.0034033716656267643, 0.004275469575077295, 0.04339900612831116, 0.03225012868642807, 0.02492709271609783, -0.0036909375339746475, 0.007148858159780502, 0.01772073283791542, -0.025526531040668488, -0.032771237194538116, -0.003423684276640415, -0.017404494807124138, -0.050670284777879715, 0.031970761716365814, -0.0324588418006897, 0.0019494473235681653, 0.043548036366701126, -0.012423813343048096, 0.027555905282497406, 0.03400719538331032, -0.0027225364465266466, -0.031339168548583984, -0.010162760503590107, 0.021418316289782524, 0.028641292825341225, 0.00401096697896719, 0.006354080978780985, 0.013306123204529285, -0.04261016100645065, 0.022002141922712326, 0.03513950854539871, -0.01815573126077652, -0.027567321434617043, -0.01656990684568882, -0.057629410177469254, 0.018807077780365944, -0.013924969360232353, 0.022146450355648994, -0.05976658686995506, -0.07737590372562408, -0.0023736953735351562, -0.025926321744918823, 0.0148599399253726, -0.06799519062042236, -0.025103071704506874, -0.004302002489566803, 0.039667800068855286, 0.005527609959244728, -0.005462100263684988, 0.04932968690991402, 0.019705669954419136, 0.000028506845410447568, -0.01756364479660988, -0.024584762752056122, -0.005625100806355476, -0.019870102405548096, -0.0006542123155668378, 0.022814102470874786, 0.027132246643304825, 0.02273237518966198, -0.018008176237344742, -0.032403528690338135, 0.031388718634843826, -0.03674917668104172, -0.005951607599854469, 0.010860741138458252, -0.0071619655936956406, 0.01595425419509411, -0.04238304868340492, -0.058219220489263535, -0.010702406987547874, 0.0027899073902517557, 0.006380717270076275, 0.03152192756533623, -0.025337154045701027, -0.005527339410036802, -0.006816989742219448, -0.023912662640213966, 0.024665065109729767, -0.012614152394235134, -0.0029641473665833473, -0.006932134740054607, -0.043459709733724594, -0.010729708708822727, 0.00012263184180483222, 0.02282407507300377, -0.007641139440238476, -0.013461106456816196, -0.020567545667290688, 0.003110692137852311, 0.02320818416774273, -0.0003892910899594426, 0.024997640401124954, -0.0028495644219219685, 7.142928891654063e-33, 0.012402783147990704, -0.05217096582055092, -0.003891771426424384, -0.009184266440570354, 0.024951325729489326, 0.00260369130410254, 0.0009726251009851694, 0.009015299379825592, -0.05702226236462593, 0.016113674268126488, -0.02657896839082241, 0.02952210232615471, -0.040741439908742905, 0.02315373905003071, 0.04909195750951767, -0.014188208617269993, 0.07662656158208847, -0.05499456077814102, 0.026373766362667084, 0.027984457090497017, 0.029988178983330727, 0.02433403767645359, -0.005839676130563021, 0.00451022619381547, -0.003741772845387459, 0.0657259151339531, -0.03234199434518814, 0.019041065126657486, -0.013709912076592445, 0.030773386359214783, -0.025906385853886604, -0.011120830662548542, 0.007980572059750557, -0.08123684674501419, -0.05634531378746033, 0.03362606093287468, -0.019690385088324547, -0.024400273337960243, 0.033496417105197906, 0.008324744179844856, 0.043455157428979874, -0.038110505789518356, 0.009165272116661072, 0.027484945952892303, 0.016543500125408173, 0.007248857524245977, 0.02081281505525112, -0.03918346390128136, -0.003463885048404336, 0.005211524199694395, 0.018654977902770042, 0.001918093184940517, -0.020934833213686943, 0.03844919800758362, 0.016086820513010025, 0.0075998795218765736, -0.0111694959923625, -0.07465891540050507, -0.015587910078465939, 0.008385899476706982, -0.007764161564409733, 0.0075026885606348515, 0.034814607352018356, 0.01449822261929512, -0.013178933411836624, 0.056208543479442596, 0.031500548124313354, -0.015124741941690445, 0.039913956075906754, -0.009046820923686028, 0.01638716831803322, 0.01963159814476967, -0.02487490512430668, 0.05340363085269928, 0.0240216962993145, -0.022510148584842682, 0.009552111849188805, 0.024997564032673836, 0.0006146581145003438, 0.03127940371632576, 0.02537975274026394, -0.01633325219154358, 0.0046944511123001575, -0.01761898770928383, -0.03174780681729317, -0.04519014433026314, 0.0015778210945427418, -0.011239138431847095, -0.004541905131191015, 0.000026827154215425253, -0.07657753676176071, -0.02769237384200096, 0.018881533294916153, 0.04680025205016136, -0.009002763777971268, -1.2864912690702113e-8, -0.04140610247850418, 0.036863263696432114, 0.03924290090799332, 0.025011826306581497, -0.006925136782228947, -0.023301424458622932, -0.029527245089411736, -0.034138575196266174, 0.004874532576650381, -0.0038766127545386553, -0.004000745248049498, -0.025033632293343544, 0.01024926919490099, 0.016161886975169182, 0.0370497852563858, -0.04133910685777664, -0.03296080231666565, -0.053106945008039474, 0.02518284320831299, 0.0328567698597908, 0.061388760805130005, 0.03785081207752228, 0.014213699847459793, -0.03801029920578003, 0.03301520273089409, -0.0025056356098502874, 0.009985540062189102, -0.07052638381719589, -0.012551671825349331, 0.013931564055383205, 0.002123771933838725, -0.00380741897970438, -0.0033430387265980244, 0.052437372505664825, -0.020129699259996414, -0.05686916783452034, 0.0007931409636512399, 0.03240032494068146, 0.0318584106862545, 0.030834436416625977, 0.014235500246286392, -0.029300710186362267, -0.01936115138232708, -0.006363117601722479, 0.006786793936043978, 0.013961230404675007, -0.029577305540442467, -0.0061212764121592045, 0.034411005675792694, -0.012659485451877117, -0.002420860342681408, 0.010019366629421711, 0.0006634739111177623, 0.025222739204764366, -0.014919349923729897, 0.018400995060801506, 0.05232691764831543, -0.04909691959619522, -0.03975730389356613, 0.021261269226670265, 0.02057085931301117, 0.0005429029115475714, -0.017626576125621796, -0.02045651338994503 ]
coding-an-abstract-classasp-net-mvc-dilemma
https://markhneedham.com/blog/2009/09/13/coding-an-abstract-classasp-net-mvc-dilemma
false
2009-09-13 22:21:22
TDD: Testing sub classes
[ "tdd" ]
[ "Testing" ]
We ran into another interesting testing dilemma while http://www.markhneedham.com/blog/2009/09/13/coding-an-abstract-classasp-net-mvc-dilemma/[refactoring the view model code which I described in an earlier post to the point where we have an abstract class and three sub classes] which means that we now have 3 classes which did the same thing 80% of the time. As http://www.markhneedham.com/blog/2009/09/02/coding-reduce-fields-delay-calculations/[I mentioned in a post a couple of weeks ago] one of the main refactorings that we did was to move some calls to dependency methods from the constructor and into properties so that those calls would only be made if necessary. After we'd done this the code looked a bit like this: [source,csharp] ---- public abstract class ParentModel { private readonly Dependency1 dependency1; ... public decimal Field1 { get { return dependency1.Calculation1(); } } public decimal Field2 { get { return dependency1.Calculation2(); } } } public class BusinessProcess1Model : ParentModel { } public class BusinessProcess2Model : ParentModel { } public class BusinessProcess3Model : ParentModel { } ---- We wanted to ensure that the tests we had around this code made sure that the correct calls were made to 'depedency1' but because ParentModel is an abstract class the only way that we can do this is by testing one of its sub classes. The question is *should we test this behaviour in each of the sub classes and therefore effectively test the same thing three times or do we just test it via one of the sub classes and assume that's enough?* Neither of the options seems really great although if we cared only about behaviour then we would test each of the sub classes independently and forget that the abstract class even exists for testing purposes. While the logic behind this argument is quite solid we would end up breaking 3 tests if we needed to refactor our code to call another method on that dependency for example. I suppose that makes sense in a way since we have actually changed the behaviour of all those classes but it seems to me that we only really need to know from one failing test that we've broken something and anything beyond that is a bit wasteful. In C# it's not actually possible for 'Field1' or 'Field2' to be overriden with an alternate implementation unless we defined those properties as 'virtual' on the 'ParentModel' which we haven't done. We could however use the 'new' keyword to redefine what those properties do if the callee had a reference directly to the sub class instead of to the abstract class which means it is possible for a call to 'Field1' to not call 'dependency1' which means that maybe we do need to test each of them individually. I'm not sure which approach I prefer, neither seems better than the other in my mind.
null
null
[ -0.01852383464574814, -0.024303274229168892, -0.011531447991728783, 0.04326388239860535, 0.06429605931043625, -0.014847701415419579, 0.04152216762304306, 0.011641315184533596, 0.024101367220282555, -0.03076833486557007, -0.00010462618956808001, 0.010923271998763084, -0.06403329223394394, 0.025922125205397606, -0.025521114468574524, 0.08636597543954849, 0.07302477210760117, -0.02109559066593647, 0.024849725887179375, -0.012740830890834332, 0.0011406948324292898, 0.06978783756494522, -0.012370731681585312, 0.03573134168982506, 0.013769525103271008, 0.022120323032140732, 0.0036872245837002993, -0.005083597730845213, -0.03831187263131142, -0.03720558434724808, 0.03728431835770607, 0.015448582358658314, 0.012426719069480896, 0.014728980138897896, 0.006849140394479036, -0.023662881925702095, -0.02270316518843174, 0.04661320894956589, -0.0016579922521486878, 0.0016302719013765454, -0.07482550293207169, 0.006660480983555317, -0.011185799725353718, -0.0069174254313111305, -0.052838459610939026, -0.011369210667908192, -0.03258615732192993, 0.0017955182120203972, -0.044671036303043365, -0.0137547068297863, -0.07846290618181229, 0.0345555916428566, -0.026615437120199203, 0.017467135563492775, -0.017590327188372612, 0.05785816162824631, 0.023274114355444908, -0.07920823246240616, 0.03225289657711983, -0.06933922320604324, -0.002336135832592845, 0.0019671691115945578, -0.01952056773006916, 0.028462089598178864, 0.018790725618600845, -0.02224898338317871, -0.02288157492876053, 0.059793755412101746, -0.06039360538125038, -0.00006285867857513949, -0.006012182217091322, 0.009064245969057083, -0.0138044822961092, 0.009222868829965591, 0.01590522564947605, -0.021935518831014633, -0.008657611906528473, 0.03300391137599945, 0.011354570277035236, 0.04330858960747719, -0.019158966839313507, 0.006965043023228645, 0.02873334288597107, -0.0046654655598104, 0.021595431491732597, -0.024625180289149284, 0.008722302503883839, 0.004544705152511597, -0.018045660108327866, 0.0645606517791748, 0.00691112270578742, -0.04843685030937195, 0.023481642827391624, 0.028054596856236458, 0.0013727027690038085, 0.015362969599664211, 0.013704447075724602, -0.008624626323580742, 0.02703751064836979, -0.011380422860383987, -0.01875096745789051, -0.026066606864333153, 0.031055860221385956, 0.0072432891465723515, -0.070799320936203, -0.02225523442029953, -0.01803245209157467, -0.04015457257628441, -0.0031468451488763094, 0.022828008979558945, -0.07228343188762665, 0.020299775525927544, -0.04958498477935791, -0.008740291930735111, -0.08520063757896423, 0.05103422701358795, -0.0011570886708796024, -0.017717845737934113, -0.007073771674185991, 0.03176447004079819, 0.029135355725884438, 0.00905587337911129, -0.022189170122146606, 0.09677553921937943, 0.028378339484333992, 0.05257246643304825, -0.03995845094323158, 0.061454858630895615, -0.025471070781350136, -0.06462409347295761, 0.021337304264307022, 0.04672408103942871, -0.002777290064841509, 0.0191873237490654, 0.0024227406829595566, -0.03366968408226967, -0.009827782399952412, 0.011462711729109287, 0.021128447726368904, 0.031235454604029655, -0.0360301174223423, -0.0021823777351528406, 0.023980306461453438, 0.002128656953573227, -0.001183150103315711, 0.017433997243642807, -0.022335242480039597, -0.0035872613079845905, -0.016007371246814728, 0.024343879893422127, 0.009385203942656517, 0.07012062519788742, 0.03788703680038452, -0.05882270634174347, 0.027558550238609314, 0.06822697073221207, -0.012985085137188435, -0.0010130790760740638, -0.01622230000793934, 0.040700528770685196, 0.055515896528959274, 0.020100468769669533, 0.023834241554141045, 0.06078561022877693, 0.03838010132312775, 0.005091732367873192, -0.006710775662213564, 0.03982851654291153, -0.000897975463885814, 0.008671142160892487, -0.07466591894626617, -0.058666277676820755, 0.04538632929325104, -0.07498423755168915, -0.01610262505710125, 0.050540801137685776, 0.07680903375148773, 0.01132053043693304, 0.08192034810781479, -0.020701244473457336, -0.0829785093665123, 0.001351434038951993, 0.01583012565970421, 0.017236286774277687, -0.0041649723425507545, 0.009815415367484093, 0.0600595623254776, 0.038939978927373886, -0.021590925753116608, 0.03582153469324112, -0.07255806773900986, -0.059958018362522125, -0.009480956010520458, -0.01450512558221817, 0.07630111277103424, -0.005347539205104113, -0.021022247150540352, 0.07876381278038025, 0.02992248721420765, 0.05397682264447212, 0.031128667294979095, 0.008125856518745422, 0.005745202302932739, -0.017269909381866455, -0.021160626783967018, 0.03739694505929947, 0.0301524568349123, -0.011138745583593845, -0.06295637041330338, 0.014438998885452747, -0.024495135992765427, -0.019475148990750313, 0.0387105792760849, 0.012366382405161858, 0.03681541606783867, 0.00991282518953085, 0.03641676530241966, -0.04823107644915581, 0.076533243060112, -0.06436938792467117, 0.013995078392326832, -0.027231507003307343, -0.036014582961797714, -0.012320078909397125, -0.005151000805199146, 0.09849904477596283, 0.053002841770648956, -0.03151293843984604, -0.04603400081396103, 0.008867591619491577, 0.035811979323625565, -0.04406334459781647, 0.0008724486688151956, -0.013563168235123158, 0.04013130068778992, -0.02994021400809288, -0.06855140626430511, 0.009879257529973984, 0.032489653676748276, -0.03829549625515938, 0.028040412813425064, 0.07351990044116974, -0.0308818519115448, 0.05354072526097298, -0.025264734402298927, -0.021769201382994652, -0.015458143316209316, 0.012121107429265976, -0.05683647096157074, 0.02741200476884842, 0.008241606876254082, -0.010943645611405373, 0.046044494956731796, -0.031429555267095566, -0.033135708421468735, -0.015566104091703892, -0.016052622348070145, 0.005682993680238724, 0.030234957113862038, 0.051212385296821594, 0.021458201110363007, 0.053823985159397125, 0.011881066486239433, 0.013737097382545471, -0.016643980517983437, -0.06635177135467529, -0.016964728012681007, 0.0034681556280702353, 0.010374484583735466, 0.0308549627661705, 0.027257995679974556, 0.018796410411596298, 0.04751048982143402, 0.004981324076652527, -0.010173548012971878, -0.025847913697361946, 0.025627154856920242, 0.01459701731801033, -0.04745190590620041, -0.013950109481811523, -0.06108056381344795, 0.033038511872291565, -0.03697862848639488, -0.05183855816721916, 0.01643531210720539, -0.09503842145204544, 0.04953504726290703, -0.06603517383337021, -0.062360312789678574, 0.008140257559716702, 0.0476088710129261, 0.022989433258771896, -0.019533656537532806, 0.02286253310739994, 0.07872946560382843, 0.015467089600861073, -0.0055296230129897594, -0.0009834084194153547, 0.016319356858730316, 0.04799991846084595, -0.03158007562160492, -0.00964401289820671, 0.02859938144683838, 0.004112735390663147, 0.004683955106884241, -0.02678796276450157, 0.014276489615440369, -0.012040464207530022, -0.26037076115608215, 0.02032000757753849, -0.021573463454842567, -0.03954556584358215, 0.04159078374505043, -0.03612145781517029, 0.031195469200611115, -0.04348566010594368, -0.024590009823441505, 0.041587136685848236, -0.020556584000587463, -0.06024038419127464, -0.016223739832639694, 0.07652194797992706, -0.013476269319653511, 0.028030453249812126, 0.013570034876465797, -0.04413999617099762, 0.022660071030259132, 0.053087443113327026, 0.013940614648163319, -0.054563432931900024, -0.016799185425043106, 0.0361294262111187, 0.02119913510978222, 0.06183786317706108, -0.10467693209648132, 0.05852755531668663, -0.0190260112285614, -0.011766763404011726, 0.006885465234518051, -0.028548726812005043, -0.02877802401781082, -0.026070792227983475, -0.02473742701113224, -0.00495413551107049, 0.005510435439646244, 0.03842167183756828, -0.02692793309688568, 0.03654179349541664, -0.020975004881620407, -0.047968607395887375, -0.03181383013725281, 0.02575174905359745, 0.05257469415664673, -0.0037777023389935493, -0.04160091280937195, -0.002595243277028203, -0.03292575851082802, 0.0918416678905487, -0.03197222575545311, -0.04180485010147095, 0.006540991365909576, 0.034072306007146835, -0.028409428894519806, -0.037471022456884384, 0.012752750888466835, -0.012963780201971531, -0.04319150000810623, -0.028087854385375977, -0.0240843016654253, -0.050078678876161575, -0.01069119293242693, -0.054865725338459015, -0.007153267972171307, -0.05381961911916733, -0.049805883318185806, -0.014103613793849945, 0.05234679952263832, 0.02129579894244671, -0.01953425444662571, -0.015515859238803387, 0.005116813350468874, -0.11079206317663193, 0.008112508803606033, -0.045022305101156235, 0.002284616231918335, -0.04583599045872688, -0.004436889663338661, 0.042154401540756226, -0.002235269173979759, -0.03512696549296379, 0.029217714443802834, 0.016314959153532982, 0.013364392332732677, 0.007278160657733679, 0.012982992455363274, 0.029942747205495834, -0.019962038844823837, 0.01959669217467308, 0.061547067016363144, 0.0022883950732648373, 0.022724147886037827, -0.04717034474015236, -0.010060716420412064, 0.01776059716939926, 0.02118498459458351, -0.01804877072572708, -0.004179792478680611, 0.02308228239417076, 0.020589223131537437, -0.0728243887424469, 0.04452034458518028, -0.025723187252879143, -0.0009401194984093308, -0.02632708102464676, -0.04887734726071358, 0.041501156985759735, 0.03719585761427879, 0.028698433190584183, -0.009086193516850471, -0.036472488194704056, -0.016535203903913498, -0.04656187444925308, -0.016155418008565903, -0.02446218952536583, 0.011260982602834702, 0.0361495167016983, -0.044077567756175995, -0.01672304794192314, -0.04967251792550087, 0.033892665058374405, -0.016994038596749306, -0.005444773007184267, -0.08146721869707108, -0.04362161457538605, 0.0009235678007826209, -0.013609806075692177, 0.005246729124337435, 0.018234552815556526, -0.04291800409555435, 0.03260934352874756, -0.01090822834521532, -0.046533387154340744, 0.006923525594174862, 0.012666380032896996, -0.017847415059804916, -0.023732487112283707, -0.020712243393063545, -0.036832019686698914, 0.01655270718038082, -0.0033633075654506683, 0.018510600551962852, 0.02309940569102764, 0.02932562120258808, 0.015891332179307938, 0.05160900577902794, 0.02190183289349079, 0.008269194513559341, 0.006640773732215166, 0.028604473918676376, -0.08177486062049866, 0.020357754081487656, -0.02367938496172428, -0.042344193905591965, -0.030420683324337006, 0.03808044269680977, -0.018031742423772812, -0.011961886659264565, -0.007037978153675795, 0.015764586627483368, -0.05573752894997597, -0.05032262206077576, -0.04278939962387085, -0.007723088376224041, 0.07550401985645294, -0.015140706673264503, 0.03956025093793869, -0.008824504911899567, -0.04087699204683304, 0.023207517340779305, 0.01364282239228487, -0.032960306853055954, 0.02319534868001938, 0.02283620461821556, 0.018459338694810867, 0.004932660609483719, -0.009737960062921047, 0.03548622131347656, 0.02768949791789055, 0.007251936011016369, -0.034836042672395706, 0.027147332206368446, 0.013662547804415226, 0.03792416676878929, -0.0027461666613817215, 0.0015451137442141771, 0.005086116958409548, -0.008192919194698334, 0.0014197492273524404, -0.05233350768685341, -0.005387410055845976, -0.015377374365925789, 0.05074499174952507, -0.043769240379333496, -0.05329311266541481, 0.02756531350314617, 0.03858482465147972, 0.03482908010482788, 0.0047151511535048485, 0.020053444430232048, -0.0008368311100639403, -0.01588546112179756, 0.018688835203647614, 0.05596741661429405, -0.045095037668943405, 0.023154474794864655, 0.0167657732963562, 0.010752536356449127, 0.006894238293170929, 0.019061647355556488, -0.0383790023624897, -0.04349558800458908, -0.02702821046113968, -0.017374861985445023, -0.0340370237827301, -0.02299429289996624, -0.018193703144788742, 0.029753176495432854, -0.00026236879057250917, -0.04392938315868378, 0.007639630697667599, 0.003058569272980094, -0.02673156186938286, -0.02292470633983612, 0.010059474036097527, 0.0006544800125993788, 0.03238433972001076, 0.020995115861296654, -0.037237171083688736, 0.032290197908878326, -0.01692737452685833, 0.018401363864541054, 0.00503168348222971, -0.0037306672893464565, -0.04265083000063896, -0.03503499925136566, 0.02766214683651924, -0.007008784916251898, 0.03137766942381859, 0.004353163298219442, -0.010832165367901325, 0.000043964668293483555, -0.012309144251048565, -0.014215569011867046, 0.026700148358941078, 0.01183395553380251, -0.0275840163230896, 0.025201255455613136, 0.04852798208594322, 0.019936349242925644, 0.03820916637778282, 0.0011778230546042323, 0.03844195604324341, 0.07184894382953644, -0.07546737045049667, -0.015448923222720623, -0.02835717983543873, -0.09578394889831543, 0.041824836283922195, -0.016685906797647476, 0.02277028001844883, -0.045328475534915924, 0.029889173805713654, 0.029559912160038948, 0.0172661691904068, 0.03202033042907715, 0.008480072021484375, 0.04499170556664467, -0.04939371347427368, 0.026353048160672188, -0.06714445352554321, 0.03995837643742561, 0.037354130297899246, 0.004099964164197445, -0.023723704740405083, -0.018439678475260735, -0.05208825692534447, 0.042967841029167175, -0.04962063208222389, -0.022278405725955963, 0.020368853583931923, 0.023104194551706314, -0.00183476519305259, 0.011775568127632141, -0.06503286957740784, 0.032957687973976135, 0.01676575280725956, -0.044843580573797226, -0.02306201122701168, -0.03248715400695801, 0.052649784833192825, 0.0303806085139513, -0.003254629671573639, -0.05557721108198166, 0.0451803021132946, 0.051225580275058746, 0.01215791329741478, 0.01730586588382721, 0.030627315863966942, -0.01999235339462757, 0.04169018566608429, 0.03715222328901291, 0.024762850254774094, -0.026233471930027008, -0.015261546708643436, -0.0007960758521221578, -0.06667020916938782, 0.03578783944249153, 0.026905175298452377, -0.039176538586616516, -0.05207452550530434, 0.05196274816989899, 0.02471928484737873, -0.012730411253869534, -0.021157395094633102, -0.019873911514878273, -0.05590410530567169, -0.022039638832211494, -0.020805783569812775, 0.0009449589415453374, -0.018697921186685562, 0.07180246710777283, 0.001839428674429655, -0.0228183064609766, 0.06399989873170853, 0.003988718148320913, -0.030310949310660362, -0.03160112351179123, 0.07199550420045853, 0.06490181386470795, 0.03247915580868721, -0.0026410482823848724, 0.03640667349100113, -0.015540585853159428, -0.034321051090955734, 0.02701813168823719, -0.02196546643972397, -0.02090136893093586, -0.030072728171944618, 0.024042122066020966, 0.0607556514441967, 0.009770095348358154, 0.04427424818277359, -0.015354733914136887, -0.0008222642354667187, 0.01653229631483555, 0.01283090841025114, 0.009922820143401623, 0.048193737864494324, 0.0109615009278059, -0.02666921354830265, 0.02310204692184925, -0.04729827493429184, 0.004769870545715094, -0.013655432499945164, -0.012196408584713936, 0.0310408566147089, 0.011907743290066719, 0.007114763371646404, -0.002216813387349248, 0.030567241832613945, 0.061287522315979004, -0.02159063331782818, 0.008120205253362656, -0.01336468942463398, 0.049731362611055374, 0.04362580180168152, -0.03150521591305733, -0.02042531780898571, -0.05238496512174606, -0.024352094158530235, -0.0028504321817308664, -0.0023052070755511522, -0.011459434404969215, -0.008242333307862282, 0.028306279331445694, -0.021493053063750267, 0.02974112331867218, 0.04179462790489197, 0.018266307190060616, -0.04103945568203926, -0.07294198870658875, -0.042714301496744156, -0.02894170582294464, -0.06157372146844864, 0.0010115894256159663, 0.03246527910232544, -0.023406511172652245, -0.02676214836537838, -0.02083520032465458, -0.046291522681713104, -0.01996546797454357, 0.0654563158750534, -0.0411398708820343, -0.026640452444553375, 0.012160643003880978, -0.002320685191079974, 0.047144364565610886, 0.004167772829532623, 0.02907835878431797, -0.013093079440295696, -0.016621358692646027, -0.039750851690769196, -0.021834537386894226, 0.021370848640799522, 0.015002219937741756, 0.008599584922194481, -0.08415944129228592, 0.025265904143452644, 0.014755694195628166, 0.007761976215988398, -0.05970219895243645, 0.027597062289714813, -0.010184339247643948, -0.035927459597587585, 0.050756145268678665, -0.0207320898771286, -0.016498789191246033, -0.020580874755978584, -0.010648549534380436, 0.017483750358223915, 0.05159502848982811, 0.023441243916749954, -0.010920248925685883, 0.06198015809059143, 0.020478012040257454, -0.024510247632861137, -0.029667256399989128, 0.010127839632332325, -0.007776039186865091, 0.03086872212588787, -0.021138710901141167, -0.0364064984023571, -0.02770313061773777, -0.045675791800022125, -0.016862841323018074, 0.026889927685260773, -0.005235647317022085, -0.045862793922424316, 0.011665379628539085, 0.01012556441128254, -0.06476196646690369, -0.0073244571685791016, -0.033572375774383545, 0.0488712303340435, -0.0375237874686718, -0.014212453737854958, 0.02976614609360695, -0.013090291991829872, -0.0013515360187739134, 0.025716682896018028, 0.0209262166172266, -0.0541071817278862, -0.026061387732625008, -0.023529203608632088, 0.009878816083073616, 0.0482635498046875, 0.009260904043912888, -0.013593271374702454 ]
[ -0.10363554954528809, -0.013792499899864197, -0.036851320415735245, -0.06226848438382149, 0.027959410101175308, -0.013550078496336937, -0.0004649804614018649, 0.01719534397125244, 0.009334747679531574, -0.021320948377251625, 0.01880064234137535, -0.016949748620390892, -0.03900901973247528, 0.014810056425631046, 0.08959846198558807, 0.0027866798918694258, -0.03401550278067589, -0.0258525088429451, 0.04749121889472008, 0.01515902392566204, 0.02945091761648655, -0.04441620409488678, -0.0489073321223259, 0.009972607716917992, 0.03807179257273674, 0.046079136431217194, 0.04109158366918564, -0.034364037215709686, 0.0009079474839381874, -0.23288404941558838, 0.004766593221575022, 0.0007878334145061672, 0.03300032392144203, -0.035310547798871994, 0.024400493130087852, 0.024029279127717018, 0.007522441912442446, 0.03888460621237755, 0.012820234522223473, 0.046079009771347046, -0.02996116876602173, 0.058291636407375336, -0.026716742664575577, -0.031374331563711166, 0.028599226847290993, 0.008675812743604183, 0.007095858920365572, -0.022718418389558792, -0.008923348039388657, -0.0037273329216986895, -0.03741560876369476, -0.06942711770534515, -0.05812831595540047, -0.007866976782679558, -0.01762929931282997, 0.01386918593198061, 0.039804477244615555, 0.044097524136304855, 0.02721797302365303, 0.024275530129671097, -0.003910568542778492, -0.0015165668446570635, -0.13648544251918793, 0.0954277366399765, 0.03058447502553463, 0.07229205220937729, 0.0056575448252260685, -0.041440367698669434, 0.019301805645227432, 0.09889867901802063, -0.012171847745776176, -0.010742907412350178, -0.018817180767655373, 0.047536447644233704, 0.014209304004907608, -0.02301652729511261, 0.012833903543651104, 0.02647232823073864, 0.05635177716612816, -0.04741186276078224, -0.03897826746106148, -0.02782144397497177, 0.011862209066748619, -0.014873971231281757, -0.009361980482935905, 0.00328040705062449, 0.005359090398997068, 0.012031998485326767, 0.0548151396214962, 0.005274004768580198, 0.03161988779902458, -0.0049272864125669, 0.02342516928911209, 0.011464355513453484, -0.0746878981590271, 0.01244262419641018, -0.029528189450502396, -0.0014623062452301383, -0.033952850848436356, 0.4212334156036377, -0.05636059492826462, -0.04210549220442772, 0.057475149631500244, 0.04348241165280342, -0.052407439798116684, 0.017175428569316864, 0.0016550086438655853, -0.024552270770072937, 0.016589472070336342, -0.013481813482940197, 0.0012952666729688644, 0.025806300342082977, 0.04119289666414261, -0.07261794060468674, -0.05692450702190399, -0.012338084168732166, 0.006873963866382837, -0.012805313803255558, -0.004713540431112051, 0.001858470612205565, 0.00354902190156281, 0.012277668341994286, 0.05058835446834564, -0.019550081342458725, 0.021296776831150055, -0.04551549628376961, 0.006691186688840389, 0.07475864142179489, 0.02058609388768673, -0.0018895483808591962, 0.014897959306836128, -0.059438176453113556, -0.06996170431375504, -0.0347188338637352, 0.013179353438317776, -0.0009680214570835233, 0.038934554904699326, -0.015045293606817722, 0.01796071231365204, 0.024117926135659218, -0.023360207676887512, -0.00848474446684122, 0.0318610817193985, -0.02521425113081932, -0.0630558654665947, 0.13006527721881866, 0.004576496779918671, -0.006764882709830999, -0.028408022597432137, -0.00846844632178545, 0.005620928015559912, 0.06526057422161102, -0.0008845564443618059, -0.06288199126720428, 0.01356394961476326, 0.011972512118518353, 0.05621146038174629, -0.006249960511922836, -0.051213063299655914, -0.028686176985502243, -0.031401850283145905, 0.01200837828218937, -0.05878646671772003, 0.052238184958696365, 0.03084629960358143, -0.07704721391201019, -0.055924203246831894, -0.012014629319310188, 0.01708505116403103, -0.055116184055805206, -0.020693907514214516, 0.05495728552341461, -0.024825897067785263, -0.014907433651387691, 0.04414093866944313, -0.003458112943917513, -0.012373662553727627, 0.0004196309600956738, 0.023710640147328377, 0.044265344738960266, 0.03384103626012802, 0.017876282334327698, -0.054284412413835526, 0.02015736699104309, 0.013173941522836685, -0.06785997003316879, -0.027856115251779556, -0.02776290476322174, -0.02305983565747738, -0.03600529953837395, -0.05362474545836449, -0.024551501497626305, -0.08042144775390625, 0.10238922387361526, -0.018470346927642822, -0.013095403090119362, 0.04714937135577202, 0.0062375301495194435, 0.01957170106470585, -0.006892156321555376, 0.003511159447953105, 0.0515487901866436, -0.010526958853006363, 0.01642836630344391, -0.05934179946780205, 0.09267564862966537, 0.048579614609479904, -0.028324561193585396, 0.040310513228178024, 0.04750557243824005, -0.0704314261674881, 0.00028663547709584236, 0.012174032628536224, -0.00017374835442751646, 0.019912492483854294, 0.018281470984220505, -0.00894459243863821, 0.02706100419163704, 0.005494516342878342, 0.027289951220154762, -0.0340089313685894, -0.027451299130916595, 0.039847083389759064, -0.3257584571838379, -0.033655859529972076, -0.003133694641292095, -0.033697064965963364, 0.00453414348885417, -0.07993559539318085, 0.023853955790400505, -0.016764838248491287, -0.03312746435403824, -0.013006740249693394, 0.029892489314079285, 0.015074263326823711, -0.021759379655122757, -0.07493065297603607, 0.032613277435302734, 0.0022741863504052162, -0.04130007326602936, -0.048513006418943405, -0.07789487391710281, -0.02784508466720581, -0.008723651058971882, 0.029744314029812813, 0.0007851015543565154, -0.07010425627231598, 0.036300648003816605, -0.06075853109359741, 0.08055011928081512, -0.05699721351265907, 0.10620822012424469, -0.0009342242847196758, 0.06441886723041534, 0.03328179195523262, 0.012548918835818768, -0.06979100406169891, -0.0090398658066988, -0.0522138737142086, -0.02528160810470581, -0.03261735290288925, 0.034950803965330124, -0.027938805520534515, -0.0029035669285804033, 0.03904923424124718, -0.06325214356184006, -0.07824733853340149, -0.03359183669090271, 0.002022066619247198, -0.018039487302303314, -0.025268342345952988, -0.029994569718837738, 0.0643259584903717, -0.007970890961587429, 0.008500572293996811, 0.00766518572345376, 0.011354365386068821, -0.008747751824557781, 0.003212698269635439, -0.09761392325162888, -0.0011335384333506227, -0.0039500100538134575, 0.019869381561875343, 0.041061725467443466, 0.0845041573047638, 0.04664094001054764, -0.06242286041378975, 0.0038914696779102087, 0.01775062456727028, -0.003719554515555501, -0.0421522781252861, 0.04099303111433983, -0.032283149659633636, -0.012652668170630932, 0.1014382466673851, -0.008791562169790268, -0.02575002983212471, 0.026375044137239456, 0.040218278765678406, -0.00859836582094431, -0.0009637766634114087, 0.008029126562178135, 0.0009607008541934192, -0.007776259444653988, -0.010260346345603466, 0.011883643455803394, -0.014034748077392578, 0.0128517160192132, 0.0028038709424436092, -0.014599132351577282, -0.009350186213850975, 0.017597580328583717, -0.019393859431147575, -0.0461343377828598, 0.014235282316803932, -0.04035037383437157, -0.03961564600467682, 0.05129718407988548, -0.03336629644036293, -0.21711482107639313, -0.009916935116052628, 0.08811195194721222, 0.08798777312040329, 0.0026683404576033354, 0.034346044063568115, 0.02418467216193676, -0.06123827025294304, 0.02004121243953705, 0.000402503355871886, 0.051724933087825775, 0.05219043791294098, 0.051582034677267075, 0.015450457111001015, 0.060860153287649155, -0.028042517602443695, 0.020928021520376205, -0.014436991885304451, 0.06419477611780167, -0.03468751907348633, -0.008834495209157467, -0.009466388262808323, 0.15726397931575775, 0.0028530422132462263, 0.05780135095119476, 0.00314640486612916, 0.018560783937573433, 0.017636209726333618, 0.058398377150297165, 0.012430749833583832, 0.018477389588952065, -0.009407473728060722, 0.09544451534748077, 0.00004526754855760373, 0.033174823969602585, -0.06667204201221466, -0.01715690642595291, 0.013039564713835716, 0.0319058783352375, -0.0011303324718028307, 0.01968827284872532, -0.0030001236591488123, -0.0599324107170105, 0.015492741949856281, 0.09387452900409698, 0.025767313316464424, -0.004477679263800383, -0.02847418561577797, -0.05457082763314247, -0.013080633245408535, -0.020884843543171883, -0.045682840049266815, 0.04461260512471199, -0.011038742959499359, 0.013494379818439484, 0.04951140657067299, -0.0041894447058439255, -0.03814169764518738, -0.03362828865647316, 0.021375151351094246, 0.028895845636725426, 0.027735121548175812, 0.09651882201433182, 0.013798714615404606, 0.014937330968677998 ]
[ -0.027107156813144684, -0.020527079701423645, -0.017030686140060425, 0.03718826174736023, -0.00048109161434695125, 0.022581303492188454, 0.000455440953373909, -0.006951716262847185, 0.03944563493132591, 0.01531242299824953, 0.01016104593873024, -0.02249215357005596, -0.008591762743890285, 0.002191551961004734, 0.03803441300988197, 0.008402835577726364, 0.010612888261675835, 0.010510462336242199, -0.0010139952646568418, 0.024227309972047806, 0.02105668932199478, 0.030657745897769928, -0.0048831128515303135, 0.019204087555408478, 0.008336972445249557, 0.01276710070669651, 0.005725252907723188, -0.027376124635338783, 0.010572843253612518, -0.13560894131660461, -0.03967254236340523, -0.0069559295661747456, -0.024581782519817352, 0.042005933821201324, -0.01589164324104786, -0.025812828913331032, 0.029369601979851723, 0.037567414343357086, 0.01774396002292633, 0.0008831842569634318, -0.007895112037658691, 0.00536525622010231, 0.03598342090845108, -0.02730550803244114, 0.009514719247817993, -0.014538307674229145, -0.008131769485771656, -0.04769259691238403, 0.006615662015974522, -0.040988270193338394, -0.0197434201836586, -0.008023609407246113, -0.007550333626568317, 0.010137036442756653, 0.020463408902287483, -0.027753598988056183, 0.004119542893022299, -0.011001337319612503, -0.015444670803844929, -0.013758091256022453, 0.011361487209796906, -0.0036368935834616423, -0.03446447104215622, -0.02048729732632637, 0.005200667772442102, 0.0329643152654171, 0.010718096047639847, -0.030435679480433464, 0.0017045033164322376, -0.00887302216142416, -0.032889027148485184, 0.004655206575989723, 0.001196111785247922, 0.011900588870048523, 0.005377825349569321, 0.02213992178440094, 0.03260045871138573, -0.004767762962728739, 0.026596684008836746, -0.037340909242630005, -0.01768217794597149, 0.03094647079706192, 0.011124853976070881, 0.008614334277808666, 0.011200915090739727, -0.02383178286254406, 0.031061237677931786, -0.006678950972855091, 0.0051859295926988125, 0.003928119782358408, -0.013072943314909935, 0.023750750347971916, -0.02520064264535904, 0.026919813826680183, -0.09024140238761902, -0.00971714872866869, -0.046470679342746735, -0.02227201871573925, -0.008000871166586876, 0.8525764346122742, 0.010664969682693481, 0.06873901933431625, 0.02926034852862358, 0.03368929401040077, 0.0011322653153911233, -0.005038042087107897, 0.0120442109182477, 0.02259332314133644, 0.005436933599412441, -0.01570608839392662, 0.004550545942038298, 0.0059104920364916325, 0.013686863705515862, 0.016601623967289925, -0.0037112312857061625, 0.03208645060658455, 0.012566735967993736, -0.012487877160310745, -0.025136077776551247, 0.0047914315946400166, 0.018038421869277954, 0.0012975690187886357, 0.019564751535654068, -0.035741448402404785, 0.024177588522434235, -0.1658363938331604, -0.02001267857849598, -8.374373834839614e-33, 0.04368266835808754, -0.005890451371669769, -0.015692276880145073, 0.03331425040960312, 0.030749540776014328, -0.0017602246953174472, 0.013421299867331982, 0.02624337561428547, 0.01252433005720377, -0.04375410079956055, -0.0011437688954174519, -0.024518758058547974, 0.010535313747823238, -0.04350924491882324, 0.0344802550971508, -0.01773139275610447, -0.029607178643345833, 0.015175978653132915, -0.00986432284116745, 0.03327866271138191, 0.029889382421970367, 0.022666199132800102, -0.013798050582408905, -0.024548642337322235, 0.017644263803958893, 0.015644187107682228, 0.008608341217041016, 0.022602079436182976, -0.008626386523246765, -0.0396428219974041, 0.010323036462068558, 0.02593279257416725, -0.038754548877477646, -0.011715847998857498, 0.0038468227721750736, -0.0403888039290905, 0.009831469506025314, 0.0021215390879660845, 0.014286968857049942, -0.037912767380476, -0.04769638925790787, -0.03659152239561081, -0.02403140813112259, 0.029768623411655426, -0.012119348160922527, -0.031776804476976395, -0.006354873534291983, 0.027900923043489456, -0.0009824552107602358, -0.02445819228887558, 0.04291273653507233, 0.014037210494279861, 0.011376353912055492, -0.01782655343413353, -0.03357907384634018, 0.0044719865545630455, -0.008476398885250092, 0.0017331269336864352, 0.03284722566604614, 0.029845789074897766, -0.010204719379544258, -0.02741008810698986, -0.043630871921777725, 0.028651464730501175, -0.026924539357423782, -0.0028775702230632305, -0.0036343184765428305, -0.020518386736512184, 0.02618568204343319, -0.0109026487916708, -0.023281507194042206, -0.023117506876587868, -0.028780583292245865, 0.014576222747564316, 0.017175529152154922, 0.00011084550351370126, -0.006749616004526615, 0.007310116197913885, -0.01191129069775343, 0.03502460569143295, 0.004804297816008329, 0.0027684145607054234, 0.02363751456141472, -0.01812806911766529, -0.018593674525618553, 0.0008700609323568642, 0.035551827400922775, -0.018245747312903404, -0.00038372655399143696, -0.03427906706929207, 0.0284887608140707, 0.031606804579496384, 0.0020690658129751682, -0.019272390753030777, 0.015155889093875885, 8.404276207072625e-33, 0.005543833132833242, -0.02339399978518486, -0.025000542402267456, -0.007386778015643358, -0.007685788441449404, -0.02317456156015396, -0.006751392502337694, 0.017346510663628578, -0.06163216754794121, 0.027317989617586136, -0.0017345892265439034, -0.0063868616707623005, -0.011809397488832474, 0.016341982409358025, 0.0292018074542284, -0.030311541631817818, 0.03366239368915558, -0.07072211056947708, 0.029140755534172058, 0.010591704398393631, 0.041444312781095505, 0.027452940121293068, 0.007502287160605192, -0.006478657014667988, -0.018671229481697083, 0.053962383419275284, -0.05440568923950195, 0.02464357018470764, 0.0033360288944095373, 0.00732165714725852, -0.02747814729809761, -0.007509531453251839, 0.01590711809694767, -0.03138342499732971, -0.02172785811126232, 0.03716288134455681, 0.003970116376876831, -0.019422803074121475, 0.021653661504387856, 0.004266361240297556, 0.01045197993516922, -0.0018243332160636783, 0.005324534606188536, 0.01988370344042778, 0.041421953588724136, 0.007688036188483238, 0.003461013315245509, -0.013835040852427483, -0.004528719000518322, 0.023938780650496483, 0.010258777067065239, 0.0011514968937262893, 0.013564029708504677, 0.023565979674458504, 0.010080534033477306, -0.0018705030670389533, -0.018027598038315773, -0.06124478951096535, -0.002780013019219041, 0.03343475982546806, -0.030894029885530472, 0.020067891106009483, -0.011951171793043613, 0.024691395461559296, -0.02162313647568226, 0.024140961468219757, 0.011353672482073307, -0.010886377654969692, 0.017236929386854172, -0.0026926612481474876, -0.0182792991399765, 0.00960948783904314, -0.005851768422871828, 0.0369466170668602, 0.049338288605213165, -0.02778669074177742, -0.02107211947441101, 0.04295497387647629, 0.003179993247613311, 0.014575640670955181, 0.014344075694680214, -0.05176019296050072, 0.014774998649954796, -0.01467865239828825, -0.038888584822416306, -0.020406823605298996, 0.025106094777584076, 0.007512631826102734, -0.018769940361380577, -0.030449390411376953, -0.048615291714668274, -0.01853005588054657, 0.025378448888659477, 0.034724440425634384, 0.009225106798112392, -1.3745629523498337e-8, -0.019454900175333023, 0.0407668799161911, 0.019529540091753006, 0.017044255509972572, 0.005446672439575195, 0.01082258764654398, -0.02812141738831997, -0.019806964322924614, 0.000386476400308311, 0.008613316342234612, 0.007736269384622574, 0.014023385010659695, -0.004850858822464943, 0.000009380781193613075, 0.017769237980246544, -0.07470642775297165, -0.03080279752612114, -0.037017498165369034, 0.028470328077673912, 0.025049470365047455, 0.034805458039045334, 0.021749408915638924, -0.009075324051082134, -0.009418821893632412, 0.03742661699652672, 0.02164202183485031, 0.000246355397393927, -0.0755527913570404, -0.03027234971523285, 0.030874677002429962, -0.019005199894309044, -0.006045897025614977, -0.02284816838800907, 0.029104294255375862, -0.03253374621272087, -0.03926840424537659, 0.003220623591914773, 0.03219084441661835, 0.01728619635105133, 0.012894436717033386, 0.01733003929257393, -0.01979302056133747, -0.022088630124926567, -0.008174868300557137, 0.014495871029794216, -0.01235323678702116, -0.02643500827252865, -0.02468741312623024, 0.01831653341650963, -0.03402998298406601, 0.004847339354455471, 0.0019992825109511614, 0.01566315069794655, 0.02131207101047039, -0.02410903386771679, 0.004173513501882553, 0.006045526824891567, -0.017169831320643425, -0.0712098702788353, 0.012954752892255783, 0.014762366190552711, 0.013590659946203232, -0.028367135673761368, -0.03491102159023285 ]
tdd-testing-sub-classes
https://markhneedham.com/blog/2009/09/13/tdd-testing-sub-classes
false
2009-09-14 23:49:07
Scala: The '_=' mixed identifier
[ "scala" ]
[ "Scala" ]
I've been playing around with Scala a bit and in particular following some of the code examples from http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-5[Daniel Spiewak's 'Scala for Java Refugees' article on Traits and Types]. One thing that I got a bit confused about in one of the examples was the use of the '_' at the end of one of the function definitions: [source,scala] ---- class MyContainer[T] { private var obj:T = null def value = obj def value_=(v:T) = obj = v } val cont = new MyContainer[String] cont.value = "Daniel" println(cont.value) ---- From my limited understanding of the language the '_' (or placeholder syntax) is often passed to functions when we only want to partially apply the function to its arguments but when you use it in that context there's usually a space between the function name and the '_' so it wasn't being used like that. From http://www.artima.com/shop/programming_in_scala[Programming in Scala]: ____ Remember that you need to leave a space between the function name and the underscore, because otherwise the compiler will think you are referring to a different symbol, such as for example, a method named println_, which likely does not exist. ____ In this example we were able to make use of 'value' without using the '_' though so clearly this was some other syntax I was unaware of. I came across the idea that it might be linked to 'http://www.scala-lang.org/docu/files/api/scala/util/DynamicVariable.html[DynamicVariable]' but I think that it's just a coincidence that 'DynamicVariable' happens to define a function called 'value_' since the code described above doesn't mention 'DynamicVariable' anywhere. Eventually http://twitter.com/wgren/statuses/3979169229[Lars Westergren set me back on track by pointing out that what's being described is a mixed identifier] which is a much simpler explanation than what I'd been thinking! In this case the mixed identifier is 'value_=' which defines an assignment operator which takes in a value 'v' of type 'T' and then assigns it to 'obj'. It seems quite similar to the way we would use properties in C#. I'm still finding having so many '=' on the same line to be a bit confusing at the moment so I'd probably rewrite that function like this so it's easier for me to understand: [source,scala] ---- def value_=(v:T) = { obj = v } ---- http://twitter.com/channingwalton[Channing Walton] also linked me to http://www.naildrivin5.com/scalatour/wiki_pages/ScalaProperties[a post which explains how Scala properties work].
null
null
[ 0.010808244347572327, -0.025468068197369576, -0.01953715831041336, -0.015774646773934364, 0.07057444006204605, 0.03202797845005989, 0.04173244908452034, -0.006795654073357582, -0.010672844015061855, -0.046642888337373734, -0.018859680742025375, 0.01686219312250614, -0.0763295367360115, 0.034808576107025146, -0.021160097792744637, 0.05284184217453003, 0.0891738012433052, -0.0111346784979105, 0.02966286428272724, 0.007046548184007406, 0.051491811871528625, 0.057209327816963196, -0.0017162777949124575, 0.021204102784395218, 0.01355039793998003, 0.029554488137364388, 0.01103700790554285, 0.025375964120030403, -0.048266321420669556, -0.01234182808548212, 0.0060810246504843235, 0.01976591721177101, -0.01202710997313261, -0.003508943598717451, -0.019170846790075302, 0.0072379326447844505, 0.0362173356115818, -0.022149955853819847, -0.00269377906806767, 0.040820442140102386, -0.04585905745625496, -0.014093544334173203, -0.002922375686466694, 0.010708153247833252, -0.04205517843365669, -0.006667612586170435, -0.05029918998479843, -0.011717641726136208, -0.016725683584809303, 0.014114998281002045, -0.02948908694088459, 0.014070354402065277, -0.01647203415632248, 0.005417896434664726, -0.013187093660235405, 0.03893370181322098, 0.03565587103366852, -0.08998621255159378, 0.045210715383291245, -0.08467380702495575, -0.006706111133098602, 0.020146911963820457, 0.006821910850703716, 0.024355262517929077, 0.03886541724205017, 0.009010099805891514, -0.014113113284111023, 0.04107406362891197, -0.06845949590206146, -0.045721907168626785, -0.01967490464448929, 0.027935899794101715, -0.024826038628816605, -0.028565481305122375, -0.031619079411029816, -0.03128257021307945, -0.03521771728992462, 0.05367787927389145, 0.00025031212135218084, 0.03154562786221504, -0.022866394370794296, -0.018418945372104645, 0.008641944266855717, 0.0077973040752112865, 0.04334602504968643, -0.0024897288531064987, -0.04828151315450668, -0.013099931180477142, -0.031781528145074844, 0.03195031359791756, 0.016101323068141937, -0.06108391657471657, 0.010071566328406334, 0.01348241325467825, 0.0315045528113842, 0.013449303805828094, -0.0042618573643267155, -0.028228655457496643, -0.018083646893501282, -0.014003737829625607, -0.0638783648610115, -0.04857203736901283, 0.006274817977100611, -0.0011038882657885551, -0.054728779941797256, -0.03588896989822388, -0.01268854457885027, 0.0004763645411003381, -0.020294224843382835, 0.02827916108071804, -0.0415172316133976, 0.019192058593034744, -0.03258107602596283, -0.002762767719104886, -0.055361535400152206, 0.037195999175310135, -0.00935625284910202, -0.022510910406708717, -0.022836536169052124, 0.05124819278717041, 0.04320748522877693, 0.00012553934357129037, -0.02216443233191967, 0.05471520125865936, -0.0020100700203329325, 0.029486091807484627, 0.029952775686979294, 0.05890898033976555, 0.010557083413004875, -0.04135536029934883, -0.005394383333623409, 0.032323166728019714, -0.017261745408177376, -0.02362523227930069, -0.0045701428316533566, -0.02069491520524025, -0.025989824905991554, -0.01062373910099268, 0.033176079392433167, 0.018556741997599602, -0.004958946257829666, -0.03108273446559906, -0.007350530941039324, -0.038448646664619446, 0.03339241445064545, 0.002820536494255066, 0.0009486857452429831, -0.027718788012862206, 0.023026488721370697, 0.01688840053975582, 0.014982830733060837, 0.030192015692591667, 0.0919957086443901, -0.008513171225786209, 0.021540360525250435, 0.054583001881837845, 0.02516828663647175, 0.03815220668911934, -0.0028771129436790943, 0.03206176310777664, 0.06368768960237503, 0.02985503152012825, 0.009927240200340748, 0.07098627090454102, 0.04467250034213066, -0.02522159554064274, 0.012911531142890453, 0.04596853628754616, -0.004821077920496464, -0.04704127833247185, -0.04826485365629196, -0.047738078981637955, 0.06502920389175415, -0.03516601771116257, 0.003245329950004816, 0.016224652528762817, 0.0811890959739685, 0.0003777615784201771, 0.06401676684617996, 0.015157168731093407, -0.06375961750745773, 0.03412807360291481, -0.006447391118854284, 0.0005358774797059596, 0.0327218733727932, -0.004898684564977884, 0.07265672832727432, 0.028767146170139313, 0.009620040655136108, 0.021947260946035385, -0.04922572895884514, -0.08806373178958893, -0.017401326447725296, -0.01052488200366497, 0.062365856021642685, -0.05325871706008911, -0.022409914061427116, 0.07055718451738358, 0.024493427947163582, 0.03409469500184059, 0.006270600017160177, 0.004824525211006403, -0.02248094230890274, -0.018784375861287117, 0.006603721994906664, 0.0569542795419693, 0.028974825516343117, -0.021730361506342888, -0.04249870032072067, 0.07343689352273941, 0.018382564187049866, -0.01058592926710844, 0.021795863285660744, -0.019486431032419205, 0.04688648879528046, 0.048687081784009933, 0.020560888573527336, -0.00863033626228571, 0.05920735374093056, -0.0637020468711853, 0.03471370413899422, 0.006102558691054583, -0.004671890754252672, -0.02108406275510788, 0.01563492976129055, 0.148954838514328, 0.05637126788496971, -0.03240680322051048, -0.052056934684515, 0.012734264135360718, -0.016634933650493622, -0.031471628695726395, 0.02149910479784012, 0.011612850241363049, -0.010318360291421413, 0.026323392987251282, -0.0021553668193519115, 0.021090876311063766, 0.007111432496458292, -0.017835892736911774, -0.012318390421569347, 0.08572063595056534, -0.06267086416482925, 0.03638099506497383, -0.01402333378791809, -0.018691565841436386, 0.011344850063323975, -0.03254653140902519, -0.09490551799535751, -0.0008630779921077192, 0.032973453402519226, -0.010365232825279236, 0.062280651181936264, -0.035881515592336655, -0.02212015725672245, -0.024775827303528786, -0.04580807685852051, 0.01671469397842884, 0.031855445355176926, 0.049832604825496674, -0.0034086378291249275, 0.059107933193445206, -0.03114297240972519, -0.02966783568263054, -0.03819701820611954, -0.03878149017691612, -0.025409556925296783, 0.03255496174097061, 0.003964274190366268, 0.058572232723236084, 0.009068584069609642, 0.04148422181606293, 0.016855472698807716, 0.004301963374018669, -0.03296295925974846, 0.015407714061439037, -0.015857545658946037, -0.004072296433150768, -0.027600346133112907, -0.033731166273355484, -0.049494918435811996, 0.035132721066474915, -0.03544919192790985, -0.05120648443698883, 0.009718045592308044, -0.051735732704401016, 0.029661834239959717, -0.07003212720155716, -0.0635913535952568, 0.0007599956588819623, 0.05391469970345497, 0.02786857821047306, -0.01724194549024105, 0.022685924544930458, 0.041933223605155945, 0.015873977914452553, 0.013085219077765942, 0.014460078440606594, 0.004888960160315037, 0.01769358105957508, -0.010758856311440468, 0.03170658275485039, 0.048837099224328995, 0.009529557079076767, -0.0011661200551316142, -0.034074749797582626, -0.033442024141550064, 0.01684834621846676, -0.25994983315467834, 0.04603753983974457, -0.038295719772577286, -0.025217879563570023, 0.015500309877097607, -0.03470741584897041, -0.003304852172732353, -0.035773925483226776, -0.006217082496732473, 0.022350968793034554, -0.04045073315501213, -0.046889688819646835, -0.04247613996267319, 0.07387343049049377, -0.021365657448768616, -0.01028001680970192, 0.0048024337738752365, -0.007808466907590628, -0.0027322624810039997, 0.04242844507098198, -0.011276916600763798, -0.044545240700244904, 0.009698452427983284, 0.07169484347105026, 0.014583651907742023, 0.03328314423561096, -0.1114245131611824, 0.04074820503592491, -0.02562784217298031, 0.0010462309001013637, -0.012422926723957062, -0.005181817803531885, -0.024894962087273598, -0.041824907064437866, -0.001762342406436801, -0.013508458621799946, 0.0012735556811094284, -0.0166423749178648, 0.049410879611968994, 0.042298417538404465, -0.022429604083299637, -0.044490668922662735, -0.005643833894282579, -0.02302941493690014, 0.05094555765390396, -0.03204992786049843, -0.0941530093550682, 0.01744481921195984, -0.06221672147512436, 0.05152105540037155, -0.021242475137114525, -0.05386275425553322, -0.024413883686065674, 0.04307585209608078, -0.007657346781343222, -0.03941326215863228, -0.009292873553931713, -0.011079911142587662, -0.017075564712285995, -0.02093949168920517, -0.017239388078451157, -0.05155070126056671, -0.011750278063118458, -0.056423768401145935, -0.0237954743206501, -0.04610905051231384, -0.07204533368349075, 0.03312629088759422, 0.06198566034436226, 0.04067273437976837, -0.014067552983760834, -0.024660173803567886, -0.016383185982704163, -0.12606893479824066, -0.014049941673874855, -0.04348691180348396, -0.03563607111573219, -0.04115838557481766, 0.006346685346215963, 0.03661986067891121, -0.03215034678578377, -0.04744229465723038, 0.035984158515930176, -0.017686963081359863, 0.02312447875738144, 0.01782343164086342, 0.004110750742256641, -0.024627070873975754, -0.022176392376422882, -0.010333511047065258, 0.056645967066287994, 0.006130373105406761, -0.017583506181836128, -0.004204179160296917, -0.03969612345099449, 0.04597841203212738, 0.020831288769841194, 0.00007593504415126517, 0.02777525596320629, 0.04022415727376938, 0.03245522826910019, -0.0716017559170723, -0.003988153766840696, -0.001970263198018074, -0.01756005361676216, 0.002032704884186387, -0.06577777862548828, 0.027194129303097725, 0.002668368862941861, -0.015905696898698807, -0.025794291868805885, -0.01493105385452509, -0.0054865325801074505, -0.044010765850543976, -0.04249542951583862, -0.03341124951839447, -0.017158912494778633, 0.01220004167407751, 0.03504383563995361, -0.028241707012057304, -0.08274634182453156, -0.0027812812477350235, 0.04127885401248932, -0.02710941806435585, -0.06467738747596741, -0.026255270466208458, -0.02188406139612198, -0.021956143900752068, 0.02725641429424286, 0.022576365619897842, -0.009263023734092712, 0.039997443556785583, 0.012586597353219986, -0.017602624371647835, 0.0065890029072761536, -0.018115775659680367, -0.017900364473462105, -0.028674166649580002, -0.0017667822539806366, -0.038129404187202454, 0.033449895679950714, -0.014193682931363583, 0.0040625957772135735, 0.010966074652969837, 0.03013288415968418, 0.029464147984981537, 0.006980582140386105, 0.002270089229568839, -0.011713561601936817, 0.026512667536735535, 0.04427601769566536, -0.023178856819868088, 0.004838116001337767, -0.03485044464468956, -0.014913083985447884, -0.023296058177947998, 0.017755337059497833, -0.028713345527648926, -0.012234099209308624, -0.017674867063760757, 0.047122515738010406, -0.03544430434703827, -0.028656352311372757, -0.0070581394247710705, -0.02806619182229042, 0.02221452258527279, -0.02572113834321499, 0.034538500010967255, -0.012598083354532719, 0.010585768148303032, -0.00803662184625864, 0.015346376225352287, 0.004159639589488506, 0.026098717004060745, -0.015558854676783085, -0.016743173822760582, -0.0034903595224022865, 0.027676304802298546, 0.016137998551130295, 0.025340504944324493, 0.048076655715703964, -0.00284301838837564, 0.007553635630756617, 0.04616769775748253, 0.04036278277635574, -0.01726476661860943, -0.007662369403988123, -0.025380020961165428, -0.048075687140226364, -0.010348171927034855, -0.04250124469399452, -0.01591351442039013, -0.016176551580429077, 0.037827495485544205, -0.006465825252234936, -0.050457149744033813, 0.006709384731948376, 0.0532374382019043, 0.01551426388323307, 0.010138037614524364, 0.0025898385792970657, 0.027127675712108612, -0.020136848092079163, 0.00734599819406867, 0.03374725580215454, -0.03640586882829666, 0.029873374849557877, -0.027624303475022316, -0.007738533429801464, 0.03498368337750435, 0.011707480996847153, -0.07486699521541595, -0.00031425830093212426, -0.03239735588431358, -0.021806824952363968, -0.00968032144010067, -0.015914665535092354, -0.018060525879263878, -0.001924769370816648, -0.003154576988890767, 0.038616061210632324, -0.0033686263486742973, 0.03149310126900673, -0.030507054179906845, -0.011178587563335896, 0.013859309256076813, -0.02760048396885395, 0.04243798926472664, 0.03848177567124367, -0.034806184470653534, 0.04593343660235405, -0.02754952199757099, 0.0173646230250597, 0.04640278220176697, -0.029093891382217407, -0.005707672797143459, -0.05920618772506714, 0.013384589925408363, -0.01901841163635254, 0.042310357093811035, 0.022691771388053894, -0.0015958307776600122, -0.027118422091007233, 0.009423810057342052, -0.030218493193387985, 0.004906574729830027, -0.026075860485434532, -0.03173290193080902, 0.017934713512659073, 0.06074770912528038, -0.0010470969136804342, 0.03369022160768509, -0.007303420454263687, 0.005604145582765341, 0.06000712886452675, -0.036184005439281464, -0.0020615493413060904, -0.011464439332485199, -0.029877034947276115, 0.011175650171935558, 0.04300480708479881, 0.025893421843647957, -0.022976025938987732, 0.0781370997428894, 0.051241256296634674, 0.023797553032636642, 0.05746668204665184, -0.006136195734143257, 0.04620665684342384, -0.04610888659954071, -0.005813021212816238, -0.09575268626213074, -0.00819137878715992, 0.04297782853245735, 0.0243062786757946, -0.03940461203455925, -0.0667024627327919, -0.035056110471487045, 0.04438298940658569, -0.07007704675197601, 0.005607646889984608, 0.029003817588090897, 0.004468678962439299, 0.0189930722117424, -0.004188429098576307, -0.04605039954185486, 0.012465575709939003, 0.052619609981775284, -0.02941521257162094, -0.024116000160574913, -0.036931753158569336, 0.010110577568411827, 0.016562465578317642, 0.004831605590879917, -0.00997145939618349, 0.009226707741618156, 0.06443530321121216, 0.019317593425512314, 0.026287922635674477, 0.045307550579309464, 0.0027084462344646454, 0.03150764852762222, 0.02940150909125805, -0.015090101398527622, 0.016782622784376144, 0.03979312255978584, -0.029383312910795212, -0.07905307412147522, 0.010754536837339401, 0.021963873878121376, -0.03224361687898636, -0.04999189451336861, 0.03720724210143089, 0.008460906334221363, -0.01726074330508709, 0.005434252787381411, -0.0003442016604822129, -0.027795372530817986, -0.03884056210517883, -0.0383424386382103, 0.010085484012961388, -0.05825565755367279, 0.06971297413110733, -0.012695913203060627, 0.003507484681904316, 0.07598671317100525, -0.011526343412697315, -0.02458735927939415, -0.014414370059967041, 0.06243181973695755, 0.07956574112176895, 0.0433070994913578, 0.0010890727862715721, 0.04674502834677696, -0.04378344863653183, -0.03153736889362335, 0.020399760454893112, -0.007619308773428202, 0.01562437228858471, -0.0027041740249842405, 0.02398332767188549, 0.06639067083597183, -0.017920345067977905, 0.07080479711294174, -0.04839302599430084, -0.02236848510801792, -0.03705540671944618, 0.012531737796962261, 0.02950579673051834, 0.06164777651429176, 0.01731005869805813, 0.05745422840118408, 0.0007039523916319013, -0.02776331454515457, 0.026572421193122864, -0.00774122541770339, -0.0005157168488949537, 0.01973520778119564, -0.0012627328978851438, -0.00994090922176838, 0.06031066179275513, 0.032433196902275085, 0.09103656560182571, -0.021445905789732933, -0.023852549493312836, 0.021745694801211357, 0.01094848569482565, -0.012807811610400677, -0.012637658976018429, -0.008855937048792839, 0.00013581305393017828, 0.009608861990272999, -0.01673627458512783, -0.014305767603218555, -0.01744144596159458, -0.05831423029303551, 0.053412046283483505, -0.007514954078942537, 0.02758590318262577, 0.013971364125609398, 0.004089726600795984, -0.02185988239943981, -0.07642241567373276, -0.038423147052526474, -0.05456512048840523, -0.08879503607749939, -0.031443558633327484, 0.03181607648730278, -0.0079107116907835, -0.02786952070891857, -0.031254611909389496, -0.0011349350679665804, 0.011230387724936008, 0.05001688003540039, -0.03699120879173279, -0.03178837150335312, 0.02532077021896839, 0.03862452134490013, 0.04883879795670509, 0.014603455550968647, 0.018955662846565247, -0.020220009610056877, -0.005518509540706873, -0.028786757960915565, -0.005300016608089209, 0.025908317416906357, 0.018432283774018288, -0.0009866718901321292, -0.03616698086261749, 0.005559573881328106, 0.05042221024632454, -0.0007894588634371758, -0.08167881518602371, 0.04245771840214729, -0.003416896564885974, -0.01206280943006277, 0.04326866567134857, -0.021355414763092995, 0.03505577892065048, -0.03489549085497856, -0.027321122586727142, -0.008215882815420628, 0.03906474635004997, 0.015427526086568832, -0.021944185718894005, 0.05712442472577095, 0.027020808309316635, -0.0001148553128587082, -0.013804629445075989, -0.015501564368605614, -0.008826899342238903, 0.0008997891563922167, -0.03142126649618149, -0.019949639216065407, -0.06888069212436676, -0.01949368603527546, -0.031004371121525764, 0.013211549259722233, -0.03974056616425514, -0.03484245017170906, -0.004668632987886667, 0.07561042159795761, -0.022025369107723236, 0.05345921590924263, -0.020501572638750076, 0.043078042566776276, -0.02517057955265045, -0.025569263845682144, 0.020808475092053413, 0.01778017170727253, 0.007120843976736069, 0.0073415678925812244, 0.031918395310640335, -0.016340654343366623, -0.014054086059331894, -0.04739149659872055, 0.00556764705106616, 0.01732703112065792, -0.04356396943330765, 0.04317999258637428 ]
[ -0.04279395192861557, -0.020082460716366768, -0.05033910647034645, -0.02726377174258232, 0.0023628787603229284, -0.05749102309346199, 0.010665839537978172, 0.04673755541443825, 0.01703837141394615, -0.0009790934855118394, -0.021833904087543488, -0.07976158708333969, 0.002035596640780568, -0.017722195014357567, 0.06724748015403748, -0.05224740877747536, -0.024304823949933052, -0.03642021864652634, -0.03791035711765289, 0.009406174533069134, 0.022187046706676483, -0.005664532072842121, -0.05594203993678093, -0.07395532727241516, 0.06187086179852486, 0.027791539207100868, 0.01802247203886509, -0.022093649953603745, 0.01404495444148779, -0.2001003921031952, 0.013335390016436577, -0.02010354772210121, 0.02884714864194393, -0.023737236857414246, -0.05902649462223053, 0.04629474878311157, 0.05315838381648064, 0.024272363632917404, -0.0021248601842671633, 0.07290559262037277, 0.03523944318294525, -0.012928039766848087, -0.059604547917842865, -0.016228871420025826, 0.014384541660547256, 0.0346204899251461, -0.011602574959397316, -0.036901094019412994, -0.036391086876392365, 0.018581032752990723, -0.07232388854026794, 0.01744515635073185, -0.015104775317013264, -0.033026911318302155, -0.005412171594798565, 0.02400886081159115, 0.06873135268688202, 0.06720829010009766, 0.007394423708319664, 0.01565539836883545, 0.02212139219045639, -0.011990885250270367, -0.134769007563591, 0.06005645543336868, -0.0053166490979492664, 0.055678535252809525, -0.0051674628630280495, -0.03475566953420639, -0.035771191120147705, 0.06983505934476852, 0.01737314835190773, -0.020746437832713127, -0.04311966523528099, 0.07515346258878708, 0.03637285158038139, -0.03936929255723953, -0.0077482713386416435, 0.02180514857172966, 0.05002455785870552, -0.024181241169571877, -0.019730806350708008, 0.0005063244607299566, -0.03807621821761131, 0.0059692212380468845, -0.026079215109348297, 0.022261252626776695, 0.002379605546593666, 0.026813361793756485, 0.057426538318395615, 0.015215086750686169, 0.013489705510437489, -0.029956810176372528, 0.04184958338737488, 0.03945343196392059, -0.053349435329437256, 0.012377322651445866, 0.010139662772417068, -0.01812753640115261, -0.027132978662848473, 0.396780788898468, -0.044303931295871735, 0.02364247851073742, 0.018344296142458916, 0.01690458506345749, -0.015406273305416107, 0.0073330276645720005, -0.025515545159578323, -0.05316360294818878, 0.006828512530773878, -0.06381277740001678, -0.01995830424129963, -0.030680138617753983, 0.0459827184677124, -0.07597887516021729, -0.03826569393277168, 0.00607823533937335, 0.033422891050577164, -0.02675192803144455, 0.012347000651061535, 0.003999229520559311, -0.015241611748933792, 0.012091857381165028, 0.03818295896053314, 0.0382101908326149, 0.02902919426560402, 0.04788459837436676, 0.02503911778330803, 0.06239422783255577, 0.05323689430952072, 0.013468341901898384, 0.028299381956458092, -0.04418833926320076, -0.09708364307880402, -0.007139509078115225, -0.014753015711903572, 0.037390369921922684, 0.046185631304979324, -0.0126850800588727, 0.021232226863503456, 0.03805479779839516, -0.0074830446392297745, -0.02632468193769455, -0.0006721465033479035, -0.013031767681241035, -0.009946168400347233, 0.09145031869411469, -0.031142327934503555, -0.04852807894349098, 0.014556215144693851, -0.010446674190461636, -0.002600977662950754, 0.052338968962430954, -0.00867482926696539, -0.05757209286093712, -0.005541617050766945, 0.03328341990709305, 0.0528484545648098, -0.016719486564397812, -0.06898365914821625, -0.027331458404660225, -0.05835410952568054, -0.026628712192177773, -0.055193714797496796, 0.03203064948320389, -0.008081620559096336, -0.07901393622159958, -0.023128142580389977, -0.004735548049211502, 0.0172259621322155, -0.06537294387817383, 0.02363276295363903, 0.02176390215754509, -0.04296676814556122, -0.01078113541007042, 0.08137140423059464, -0.026333501562476158, -0.030454929918050766, -0.007889959961175919, 0.019791385158896446, 0.01131688803434372, 0.0035403980873525143, 0.020459983497858047, -0.03624427691102028, -0.003333308966830373, -0.03755238279700279, -0.0719485804438591, -0.07789614796638489, 0.002820016583427787, -0.03278014063835144, -0.003000205382704735, -0.025257930159568787, -0.033404335379600525, -0.04731423407793045, 0.022988008335232735, -0.017506204545497894, -0.019744401797652245, 0.03872871398925781, 0.02951127104461193, -0.003808460431173444, 0.02336910367012024, 0.011645867489278316, 0.08909934759140015, 0.02227318473160267, 0.02527191862463951, -0.05789864808320999, 0.007145234849303961, 0.03724609687924385, -0.04791797697544098, 0.012975079007446766, 0.026560695841908455, -0.029950641095638275, -0.013531183823943138, -0.057121600955724716, 0.024743350222706795, -0.03706952929496765, -0.0241971705108881, -0.00895022600889206, 0.004464257974177599, 0.0059684934094548225, -0.0006230789585970342, -0.020341888070106506, -0.08171633630990982, -0.005443318746984005, -0.3635583519935608, -0.014612814411520958, 0.0041519091464579105, -0.00757428165525198, 0.02801700495183468, -0.060014646500349045, 0.004720103461295366, -0.0010508863488212228, -0.03666721284389496, -0.002362550236284733, 0.0753820464015007, -0.023027539253234863, -0.020038679242134094, -0.10858254134654999, -0.014486140571534634, 0.025597315281629562, -0.027400286868214607, -0.05292943865060806, -0.02308517135679722, 0.0018020817078649998, 0.014691703952848911, -0.0129185626283288, -0.027319544926285744, -0.056968554854393005, 0.01634843647480011, -0.04049526900053024, 0.10225196927785873, -0.0011165126925334334, 0.10690339654684067, -0.0746273621916771, 0.04066282510757446, -0.010245081968605518, 0.00966871902346611, -0.048558905720710754, 0.02483520470559597, -0.03390805050730705, -0.01547248288989067, 0.01548704318702221, 0.05970853939652443, -0.011524802073836327, -0.014853576198220253, 0.030606092885136604, -0.07139203697443008, -0.008762558922171593, 0.004244288429617882, 0.028098639100790024, 0.02594160847365856, -0.05007622763514519, 0.01136104203760624, 0.1148938313126564, 0.004864705726504326, 0.03777782991528511, 0.025239452719688416, 0.009726112708449364, 0.039407048374414444, -0.020436925813555717, -0.03448934853076935, 0.012075870297849178, 0.02285870537161827, 0.04516759142279625, 0.026903249323368073, 0.05039653182029724, 0.04420938342809677, -0.019521931186318398, -0.0012447912013158202, -0.003083042800426483, 0.0277408380061388, -0.0006390569033101201, 0.0014136926038190722, -0.03653559461236, -0.03636752814054489, 0.12454232573509216, -0.012879675254225731, 0.010616928339004517, 0.04953557252883911, 0.04335789009928703, 0.0030865538865327835, 0.027767837047576904, 0.029165981337428093, 0.01027984730899334, 0.013521547429263592, -0.016796864569187164, 0.03086438961327076, -0.014679530635476112, 0.020602554082870483, 0.02144124172627926, -0.01947903074324131, 0.01199543010443449, 0.012903577648103237, -0.01601390540599823, -0.06639376282691956, -0.012649964541196823, -0.008059052750468254, -0.024175364524126053, 0.023585673421621323, -0.01236872561275959, -0.2578209340572357, 0.06849091500043869, 0.04536619037389755, 0.034048210829496384, 0.021043630316853523, 0.051465705037117004, 0.009207426570355892, -0.09318951517343521, -0.032042067497968674, -0.03883291780948639, 0.030578112229704857, 0.026123935356736183, 0.06603451818227768, 0.014581364579498768, 0.034785229712724686, -0.030720194801688194, 0.06944764405488968, -0.01180271990597248, 0.013965372927486897, -0.0074873147532343864, 0.037274036556482315, 0.023740794509649277, 0.14746378362178802, -0.02848910354077816, 0.01744086481630802, 0.020120838657021523, 0.007797187194228172, 0.020867422223091125, 0.11923779547214508, 0.03508178889751434, -0.0017814722377806902, 0.03200503811240196, 0.11601784825325012, -0.004096361342817545, 0.026393059641122818, -0.05498979985713959, -0.007285808213055134, 0.01559364888817072, 0.0431809201836586, -0.03852992504835129, 0.030595052987337112, 0.03629395738244057, -0.028394043445587158, 0.030345357954502106, 0.06778083741664886, -0.005488804541528225, 0.03486306965351105, -0.05855255573987961, -0.04071458801627159, -0.03332439810037613, -0.0024695303291082382, -0.004741786513477564, -0.015648549422621727, 0.005438908003270626, 0.038873977959156036, 0.040108416229486465, 0.005543762352317572, -0.018912333995103836, -0.026307590305805206, 0.01146293617784977, -0.022584710270166397, -0.03349508345127106, 0.1219131201505661, 0.022849412634968758, 0.017265429720282555 ]
[ -0.002111569046974182, 0.01121282298117876, -0.03231687471270561, 0.004782849457114935, -0.013194420374929905, 0.01892627589404583, 0.00725017674267292, 0.01979355327785015, -0.02705356664955616, -0.042216092348098755, -0.007972310297191143, 0.019666893407702446, -0.012226641178131104, 0.011555468663573265, -0.009909289889037609, -0.020338142290711403, 0.015256648883223534, 0.032454319298267365, 0.013815510086715221, -0.017766281962394714, -0.060433678328990936, 0.049094393849372864, 0.023984195664525032, 0.017526131123304367, 0.00577250262722373, 0.019157644361257553, 0.008594835177063942, -0.003063296200707555, 0.03807006776332855, -0.10841520130634308, -0.015093735419213772, -0.01979191042482853, -0.003029861720278859, -0.017789700999855995, -0.04880158230662346, 0.022571619600057602, -0.0009794619400054216, 0.024096695706248283, 0.00012249404971953481, 0.014165753498673439, -0.026026491075754166, -0.0006491962121799588, -0.004470712039619684, 0.01344294473528862, 0.004335723351687193, -0.018233902752399445, -0.04036230593919754, -0.028047867119312286, -0.012972379103302956, -0.026657527312636375, -0.044201675802469254, 0.015158127062022686, -0.012102099135518074, -0.02034909278154373, 0.03994893282651901, -0.01054089330136776, 0.04355519637465477, -0.0009625505190342665, -0.027252383530139923, -0.02391435019671917, -0.02682640217244625, 0.011942720972001553, -0.014479292556643486, -0.026470495387911797, -0.0364525206387043, -0.024553891271352768, 0.013176285661756992, 0.02085139788687229, 0.0026859166100621223, -0.013815667480230331, -0.009209535084664822, 0.044395096600055695, -0.020923389121890068, -0.03090549260377884, 0.006268331781029701, 0.0083688385784626, 0.04131828621029854, 0.002670617075636983, 0.06080701947212219, 0.022372884675860405, -0.014925957657396793, 0.0076015181839466095, -0.06330347061157227, 0.022721752524375916, -0.020425286144018173, -0.03544152155518532, -0.025803057476878166, 0.020900394767522812, 0.044754404574632645, 0.05941363796591759, -0.016051094979047775, 0.04429998621344566, -0.0008403428364545107, -0.03878358379006386, -0.05865028128027916, 0.0273593682795763, -0.019067034125328064, -0.017959604039788246, 0.03287612646818161, 0.8275762796401978, -0.03557206317782402, 0.03120163269340992, 0.033341679722070694, 0.04913507401943207, -0.0018100396264344454, -0.0021715592592954636, -0.01584438607096672, -0.010540744289755821, 0.040888190269470215, -0.033327385783195496, 0.020779676735401154, -0.009728378616273403, 0.06586521863937378, -0.00152664037887007, 0.0079116839915514, 0.010731504298746586, 0.02327650599181652, -0.00298014422878623, 0.0450691357254982, 0.009273167699575424, 0.02036157436668873, -0.012466274201869965, 0.0163359846919775, -0.01098015159368515, 0.011645847000181675, -0.14562243223190308, -0.030515950173139572, -9.312849586285757e-33, 0.043893974274396896, -0.03642767295241356, 0.012556261382997036, 0.0265920739620924, -0.0037011869717389345, 0.01749231480062008, -0.018345193937420845, -0.011916388757526875, 0.007553094532340765, -0.05520948767662048, -0.035397179424762726, -0.013845765963196754, -0.011798767372965813, 0.002621085848659277, 0.015815438702702522, 0.007036848459392786, 0.021978184580802917, 0.026905737817287445, -0.05971673130989075, 0.03321468085050583, 0.06411320716142654, 0.011328472755849361, -0.02708488516509533, 0.022164592519402504, -0.004201531410217285, 0.003434700658544898, 0.031003355979919434, 0.020969979465007782, -0.03372959792613983, -0.04218709096312523, -0.05627518892288208, 0.0037360605783760548, 0.03443104028701782, -0.015690436586737633, 0.044228196144104004, -0.02973765693604946, -0.008305967785418034, 0.028315408155322075, -0.006646746303886175, -0.023481113836169243, -0.017372986301779747, -0.013457562774419785, -0.04016255587339401, 0.031265467405319214, -0.03164970502257347, -0.04755353927612305, 0.022169971838593483, 0.04010038077831268, 0.015561352483928204, 0.032700441777706146, 0.0006944408523850143, 0.022384829819202423, -0.011644259095191956, 0.0217451024800539, -0.020900746807456017, 0.018260730430483818, -0.04298602417111397, 0.004042431246489286, 0.00034846222843043506, -0.001225349958986044, 0.0007214855868369341, 0.01506835501641035, 0.010840553790330887, 0.021607596427202225, 0.0016831278335303068, -0.02690296806395054, -0.007539119105786085, 0.012985835783183575, 0.012198075652122498, 0.044070612639188766, -0.021748503670096397, 0.048508137464523315, -0.032242994755506516, -0.02536526694893837, -0.010102186352014542, -0.044878631830215454, 0.03716522082686424, -0.02214338257908821, -0.01833469048142433, 0.02526257000863552, 0.02838471345603466, -0.0005433589103631675, 0.02071853168308735, 0.005109449382871389, -0.016528351232409477, -0.025887994095683098, 0.032034337520599365, 0.0024596769362688065, 0.023283563554286957, -0.031165529042482376, 0.012507562525570393, 0.004592088982462883, 0.014252854511141777, -0.05942283570766449, 0.0006006205803714693, 8.816863703951709e-33, 0.021381452679634094, -0.018415288999676704, -0.03550043702125549, 0.002254618564620614, -0.008755452930927277, -0.021205147728323936, 0.04339596629142761, 0.030350735411047935, -0.052433256059885025, 0.02465750463306904, -0.08222326636314392, 0.0006031988305039704, 0.014309147372841835, 0.009141884744167328, 0.04806443303823471, -0.008502068929374218, 0.005118486005812883, 0.0007702140137553215, -0.004034676123410463, -0.020789189264178276, -0.009249555878341198, 0.041460275650024414, 0.03861677274107933, 0.0010371067328378558, 0.035877808928489685, 0.0025715488009154797, -0.013756928965449333, 0.01347294356673956, -0.049183379858732224, 0.016132192686200142, 0.029531603679060936, -0.018012218177318573, 0.012826134450733662, 0.0033721025101840496, -0.017840048298239708, 0.025968676432967186, 0.03169988468289375, -0.03709446266293526, 0.004700175486505032, 0.03727483004331589, -0.0004949796129949391, -0.033060621470212936, -0.000060666046920232475, 0.02594051882624626, -0.031608857214450836, 0.059626393020153046, 0.025495508685708046, -0.0008514192304573953, 0.03509775549173355, -0.03203922137618065, -0.008584324270486832, -0.00334526295773685, 0.001403758185915649, 0.051133692264556885, 0.008357792161405087, -0.021179920062422752, -0.02011805586516857, 0.0015092818066477776, -0.02338923141360283, 0.03468633443117142, -0.014821707271039486, -0.02791685424745083, -0.016352197155356407, -0.00004977812204742804, -0.04442949593067169, -0.047474250197410583, 0.0012030353536829352, -0.01055452786386013, -0.014645610004663467, -0.0636368989944458, -0.030473390594124794, -0.005068276077508926, 0.014392802491784096, 0.04226896911859512, 0.00699101947247982, -0.02200200781226158, -0.0548492930829525, 0.0012301040114834905, -0.0009360561380162835, 0.0009008399792946875, 0.03564758226275444, -0.03354720398783684, 0.020554738119244576, 0.011496958322823048, 0.006760630756616592, -0.04200248792767525, -0.03999464213848114, 0.00521321315318346, -0.007220969535410404, -0.01742447167634964, -0.02396697923541069, 0.030408084392547607, -0.028025660663843155, 0.014217272400856018, 0.006136603653430939, -1.4338359832777314e-8, 0.009495045989751816, 0.024739470332860947, -0.02709062583744526, 0.04418477043509483, 0.011134215630590916, 0.028129881247878075, -0.003596385009586811, -0.021860290318727493, 0.0027401396073400974, 0.044234417378902435, -0.026927152648568153, -0.04660731926560402, -0.0002573515521362424, -0.0014510651817545295, 0.0023941004183143377, -0.015080178156495094, -0.03306863084435463, 0.005561620928347111, 0.015435844659805298, 0.01644364930689335, -0.013456839136779308, 0.04445699602365494, -0.04008211940526962, -0.01352317351847887, -0.016947589814662933, -0.01723160594701767, 0.028933964669704437, -0.07158923894166946, 0.061935119330883026, -0.03965698555111885, -0.004515581298619509, -0.031108291819691658, -0.04253372550010681, -0.011675349436700344, -0.02691405639052391, 0.006085068918764591, 0.009812812320888042, 0.04574386030435562, 0.017653919756412506, 0.031492676585912704, -0.0236977469176054, -0.004260069690644741, -0.04926080256700516, -0.03148448094725609, -0.03055300936102867, 0.0020404004026204348, -0.01690167747437954, 0.02529182843863964, -0.013922428712248802, 0.022359460592269897, 0.04988398775458336, 0.03809213265776634, 0.02070547640323639, 0.04925818368792534, 0.024675268679857254, -0.009507483802735806, 0.00549797248095274, -0.004856301937252283, -0.003212684066966176, -0.014922359958291054, 0.012671612203121185, 0.01915920339524746, -0.018517805263400078, -0.028360486030578613 ]
scala-the-_-mixed-identifier
https://markhneedham.com/blog/2009/09/14/scala-the-_-mixed-identifier
false
2009-09-22 23:39:56
TDD: Copying and pasting tests
[ "tdd" ]
[ "Testing" ]
I've been re-reading http://iancartwright.com/blog/2009/04/test-code-is-just-code.html[a post my colleague Ian Cartwright wrote earlier this year about treating test code the same way as production code] and one thing which stands out as something which I'm certainly guilty off is copying and pasting tests. Ian lists the following problems with doing this: ____ The first one is cut & paste, for some reason when it comes to unit tests people suddenly start cutting and pasting all over the place. Suddenly you find a file with 20 tests each of which repeats exactly the same few lines of code. I don't think I need to describe why this is bad and I expect we've all seen the outcome: at some point later those tests all start breaking at the same time, if we are unlucky a few tweaks have happened to the cut & pasted code in each so we spend a lot of effort figuring out how to make each one pass again. There is no rule that says we can't have methods in test fixtures so ExtractMethod still applies, and using SetUp sensibly often helps. The same rational for avoiding cut & paste and the same solutions we know from production code apply to test code. ____ Despite this I've often felt that at some stage we should have factored tests down to a stage where removing any more of the 'duplication' would actually harm the http://www.markhneedham.com/blog/2009/04/13/tdd-balancing-dryness-and-readability/[readability of the test] and that at this stage perhaps it's ok to copy the skeleton of a test and reuse it for your next test. Since I first read Ian's post I've been playing around with the idea of never copying/pasting tests when I've been working on my own on my project and with stuff I play around with outside work and I like the approach but hadn't really fully appreciated the benefits that we could get from doing so. Over the last week or so my colleague Matt Dunn and I have been writing tests around pre-existing code and we decided that we would try wherever possible to not copy tests but instead write them out from scratch each time. I found it quite difficult to start with as *the temptation is always there to just grab a similar test and tweak it slightly* to test the new bit of functionality but an interesting early observation was that we were far less accepting of duplication in tests when we had to type out that duplication each time than if we had just copied and pasted it. I tend to extract method quite frequently when I see test code which is similar but *we were seeing potential areas for extracting out common test code which I would never have spotted*. There's a chapter in Steve Freeman and Nat Pryce's book 'http://www.growing-object-oriented-software.com/[Growing Object Oriented Software, guided by tests]' titled 'http://mockobjects.com/book/listening-to-the-tests.html[Listening to the tests]' which I quite like and I think *we become much more aware of the tests if we have to write them out each time*. An example of this which Matt spotted was that in one bit of test code we were working on there was a method called 'StubOutSomeRepository' which was called by every single test and I instinctively made the call to that method as the first line in our new test. Matt questioned whether it was actually even needed so we removed it from every single test in that test fixture and they all still worked! I'm pretty sure that we wouldn't have spotted that problem if we'd just copy/pasted and I'm also fairly sure that all the other tests in that test fixture were copy/pasted from the first test written in the test fixture when there may actually have been a need to stub out the dependency. Apart from enabling us to simplify our tests I think that writing out our tests each time http://www.markhneedham.com/blog/2009/08/05/think-a-little-code-a-little/[keeps us thinking] - it's really easy to turn off and work on auto pilot if you're just copy/pasting because it's essentially mindless and doesn't engage the mind that much. Keeping in the thinking mindset allows us to see whether we're actually testing properly and I think it also makes the pairing process a bit more interesting since you now have to talk through what you're doing with your pair. One of the other reasons I thought copy/pasting might be useful sometimes is that it can save time if we're typing out similar types of tests repeatedly and I often feel that it would be quite annoying for my pair to watch me do this. Now I'm not so convinced by my own argument and I think that the time that we save by writing more readable tests probably easily outweighs any short term time gains. Our conversations have become more about working out ways that we can On a related note I recently watched a http://charlesmaxwood.com/8-lessons-from-corey-haines-performance-kata/[video of a performance kata by Corey Haines] where he works through a problem guided by tests and as far as I remember doesn't ever copy and paste a test but instead looks for ways to reduce the duplication he has in his test code so that he doesn't have to do too much typing for each test.
null
null
[ 0.04879822954535484, 0.008932145312428474, -0.016038842499256134, 0.05279954522848129, 0.09054350852966309, 0.020436128601431847, 0.03882560133934021, 0.03612636402249336, 0.03139720857143402, -0.03500818833708763, -0.0025894332211464643, 0.001365171861834824, -0.06170910596847534, 0.010908100754022598, -0.034285128116607666, 0.09140133857727051, 0.06461179256439209, -0.016440141946077347, 0.03635273873806, 0.008088679052889347, 0.05265126749873161, 0.058334529399871826, 0.008362356573343277, 0.024774523451924324, 0.012534549459815025, 0.020444534718990326, 0.010428404435515404, -0.0052119470201432705, -0.06545362621545792, -0.027981135994195938, 0.04413839057087898, -0.0011583290761336684, 0.032859619706869125, -0.007864593528211117, 0.015725521370768547, -0.021883482113480568, -0.021646695211529732, 0.01315868180245161, 0.003721953369677067, -0.01668446511030197, -0.057337936013936996, 0.019714539870619774, 0.006012234836816788, 0.0022084414958953857, -0.05804244801402092, 0.005676934029906988, -0.018635934218764305, -0.008921125903725624, -0.027652200311422348, -0.0017565016169101, -0.046825625002384186, 0.06073029339313507, -0.00900968536734581, -0.017178472131490707, -0.0032815549056977034, 0.07052391022443771, 0.0346306711435318, -0.05465896055102348, 0.0326932929456234, -0.05018448084592819, -0.017149191349744797, -0.01418156735599041, -0.016735678538680077, 0.07107862085103989, 0.023458821699023247, -0.036016520112752914, -0.01235123910009861, 0.044421106576919556, -0.029029682278633118, -0.00231587840244174, -0.0027242612559348345, 0.0028325209859758615, -0.010057858191430569, -0.003978148102760315, 0.014272866770625114, -0.03297165781259537, -0.013293154537677765, 0.05555122345685959, 0.007565999403595924, 0.052184805274009705, -0.017178691923618317, 0.0012423440348356962, 0.015825964510440826, 0.01329439040273428, -0.001945346943102777, -0.02907499670982361, -0.007103231735527515, 0.003377247601747513, -0.047435373067855835, 0.06332278996706009, 0.004850131459534168, -0.04477652534842491, 0.03324771299958229, 0.037759438157081604, -0.0003476737183518708, 0.008733347989618778, 0.020747968927025795, 0.00975153036415577, -0.0007316715200431645, -0.008515549823641777, -0.03660134971141815, -0.021815678104758263, 0.015672989189624786, 0.021189039573073387, -0.08125639706850052, 0.005588510539382696, -0.028013529255986214, -0.019181810319423676, -0.0013447980163618922, 0.010959857143461704, -0.031695254147052765, 0.01847977377474308, -0.028979692608118057, 0.003550867550075054, -0.08769720792770386, 0.05803510174155235, 0.0016309835482388735, -0.039556048810482025, -0.0032162906136363745, 0.0084000863134861, 0.026971949264407158, 0.011682497337460518, 0.0021106465719640255, 0.09054482728242874, 0.010380176827311516, 0.02856225147843361, -0.020688313990831375, 0.05602879822254181, -0.019166067242622375, -0.0566587969660759, 0.003070010105147958, 0.053991008549928665, -0.015865977853536606, -0.00565103767439723, -0.0021671478170901537, -0.02059752680361271, -0.013291246257722378, -0.01527696568518877, 0.028795046731829643, 0.05714607611298561, -0.014650162309408188, -0.018853064626455307, 0.022143295034766197, 0.0188770592212677, -0.006668914575129747, 0.016032207757234573, -0.025171110406517982, -0.01635047048330307, -0.033727552741765976, 0.014432800933718681, 0.01769796758890152, 0.03972041606903076, 0.013653169386088848, -0.052475642412900925, 0.017985714599490166, 0.07748030871152878, -0.00247658952139318, 0.017033280804753304, -0.039569295942783356, 0.03196362033486366, 0.04575958847999573, 0.04297717288136482, 0.019387776032090187, 0.0470321886241436, 0.021354151889681816, 0.004553327802568674, -0.011391088366508484, 0.03909780830144882, -0.012589269317686558, 0.01428438350558281, -0.06362494081258774, -0.04060613363981247, 0.06407961249351501, -0.0634109154343605, -0.014586442150175571, 0.048504896461963654, 0.06443896144628525, 0.018357524648308754, 0.047754716128110886, 0.006409216672182083, -0.08566544204950333, 0.026807785034179688, 0.019284838810563087, 0.024539340287446976, -0.008266114629805088, -0.025565657764673233, 0.05403965711593628, 0.021057574078440666, -0.006905912887305021, 0.04862870275974274, -0.07102987170219421, -0.09149599075317383, -0.004548678174614906, -0.02808173932135105, 0.05978000536561012, -0.0284698698669672, 0.002594092395156622, 0.08372315764427185, 0.02663581632077694, 0.04546426609158516, 0.03493713214993477, 0.005760684609413147, 0.027056222781538963, -0.06104782596230507, -0.023957574740052223, 0.053634162992239, 0.03742726519703865, -0.01664101891219616, -0.05553698167204857, 0.012994076125323772, 0.0062749069184064865, 0.003786324290558696, 0.04770022630691528, -0.009610774926841259, 0.03163477033376694, 0.02460229955613613, 0.06193156540393829, -0.010854361578822136, 0.08584178239107132, -0.07882809638977051, 0.0021270648576319218, 0.0011445346754044294, -0.0032872117590159178, -0.010319119319319725, -0.009058349765837193, 0.10984006524085999, 0.043287936598062515, -0.043741874396800995, -0.03462039679288864, -0.006691684015095234, 0.0017920400714501739, -0.031155019998550415, -0.022725220769643784, -0.010598395019769669, 0.0008641280001029372, -0.004207429010421038, -0.07608303427696228, -0.013152571395039558, 0.0102026192471385, -0.038290005177259445, 0.014046349562704563, 0.0622217059135437, -0.003921643830835819, 0.03619040921330452, -0.010297014378011227, -0.0060423025861382484, -0.029715554788708687, -0.006652905605733395, -0.028011776506900787, 0.01734413206577301, 0.028953544795513153, -0.01544944941997528, 0.05609020218253136, -0.04440020024776459, -0.04481101408600807, -0.02990083396434784, -0.04183076694607735, 0.0020597935654222965, 0.03905041888356209, 0.07822911441326141, -0.03940550610423088, 0.047582730650901794, 0.006403378210961819, 0.015418315306305885, 0.003615904599428177, -0.043329354375600815, -0.046934906393289566, -0.027846263721585274, -0.006567936856299639, 0.04783374071121216, 0.00914488174021244, 0.03211251273751259, 0.02357991598546505, 0.016627490520477295, -0.022342680022120476, -0.00555631797760725, 0.029232878237962723, 0.02078656107187271, -0.025196045637130737, -0.029969722032546997, -0.0362117663025856, 0.04256988316774368, -0.031598351895809174, -0.0179500300437212, 0.000746724777854979, -0.07717356085777283, 0.03650317341089249, -0.0780012384057045, -0.04707786813378334, 0.011758821085095406, 0.006118531804531813, 0.044801920652389526, -0.020074578002095222, 0.018505068495869637, 0.06976041197776794, -0.007557511795312166, 0.019477372989058495, -0.012613937258720398, 0.01352396048605442, 0.008492393419146538, 0.014965709298849106, -0.005610218737274408, 0.008169453591108322, -0.0007494803867302835, 0.005755595862865448, -0.05292067676782608, 0.02223680168390274, -0.04979556426405907, -0.2753857970237732, 0.03633478656411171, -0.01248167920857668, -0.02671325020492077, 0.030691610649228096, -0.024912944063544273, 0.010004278272390366, -0.048301007598638535, -0.021945543587207794, 0.042571671307086945, -0.033332888036966324, -0.04789388179779053, -0.013076542876660824, 0.038157787173986435, -0.0004822224145755172, 0.010531667619943619, 0.013591118156909943, -0.043355491012334824, 0.017832603305578232, 0.05660504847764969, 0.011981126852333546, -0.06858675926923752, -0.0024699228815734386, 0.040635015815496445, 0.03081808052957058, 0.06326320022344589, -0.09757138788700104, 0.04374602064490318, -0.054522402584552765, -0.014249887317419052, -0.002090232912451029, -0.0010376939317211509, 0.0076079294085502625, -0.02628474123775959, -0.020041555166244507, 0.002767189871519804, 0.027884207665920258, -0.003920393530279398, -0.016451315954327583, 0.020900629460811615, -0.013218892738223076, -0.025422802194952965, -0.010884178802371025, -0.013357087969779968, 0.05343542993068695, -0.002585801063105464, -0.06266235560178757, -0.021915534511208534, -0.017958063632249832, 0.08507896959781647, -0.044383954256772995, -0.021604454144835472, -0.004690402653068304, 0.036176182329654694, -0.012781057506799698, -0.039805322885513306, 0.026445941999554634, -0.009881689213216305, -0.03435968980193138, -0.04337488114833832, -0.04652818664908409, -0.0385923869907856, -0.020900802686810493, -0.04660099744796753, 0.01524689607322216, -0.05441524460911751, -0.03484715148806572, -0.01732109673321247, 0.07126088440418243, 0.01302976906299591, -0.024567585438489914, 0.0008342169458046556, 0.028852030634880066, -0.10811029374599457, -0.011903227306902409, -0.013699275441467762, -0.03764152526855469, -0.0068899765610694885, 0.002970209112390876, 0.05331418290734291, -0.03789700195193291, -0.0627138614654541, 0.042318884283304214, 0.01029878668487072, 0.01805870234966278, -0.010207243263721466, 0.03644783794879913, 0.02769404463469982, -0.0123470863327384, -0.0002693801943678409, 0.07990231364965439, 0.000766838260460645, -0.029829170554876328, -0.054636869579553604, 0.03208112716674805, 0.029714316129684448, 0.03455030545592308, 0.016474779695272446, 0.011841877363622189, 0.015359378419816494, 0.004698679782450199, -0.06342066824436188, 0.05691180378198624, -0.023264992982149124, 0.01449423748999834, -0.02611490711569786, -0.061676230281591415, 0.03729395568370819, 0.02976231649518013, 0.03226376697421074, -0.012826425954699516, -0.023501500487327576, -0.0011775554157793522, -0.036315999925136566, -0.04503551125526428, -0.01930025964975357, 0.020486854016780853, 0.02621953934431076, -0.042600080370903015, -0.01359093002974987, -0.04695846885442734, -0.003923702519387007, -0.017561405897140503, -0.0128865297883749, -0.04309095814824104, -0.04593450576066971, -0.0027145305648446083, -0.023535527288913727, 0.02071346901357174, 0.02638692781329155, -0.016164937987923622, 0.0388798788189888, 0.013295583426952362, -0.052517037838697433, 0.00707239517942071, 0.002900439780205488, -0.04204365238547325, -0.017770646139979362, -0.011689289472997189, -0.007090475410223007, 0.0034204027615487576, 0.02332393266260624, 0.004111595451831818, 0.01812765561044216, 0.03417922928929329, -0.013692461885511875, 0.05333073437213898, -0.024847080931067467, 0.0014577187830582261, 0.009122118353843689, 0.0277995802462101, -0.06802500039339066, 0.019232355058193207, -0.034272465854883194, -0.025309836491942406, -0.00457479665055871, 0.014964936301112175, 0.003241308033466339, -0.033191751688718796, -0.024104300886392593, 0.009280308149755001, -0.02826378494501114, -0.025255346670746803, -0.02173205278813839, 0.029141457751393318, 0.06723740696907043, -0.02000776305794716, 0.03921261802315712, -0.036110300570726395, -0.022812744602560997, 0.0067846504971385, 0.02758135460317135, -0.04608236253261566, 0.028198566287755966, 0.020342664793133736, -0.007451050449162722, -0.004395609721541405, -0.01450828742235899, 0.05353373661637306, 0.014812673442065716, 0.0028830980882048607, -0.029825815930962563, 0.013467664830386639, 0.018758980557322502, 0.04713519290089607, -0.020412053912878036, 0.011325456202030182, -0.009572985582053661, -0.01524154283106327, -0.015065505169332027, -0.03476770222187042, -0.024195583537220955, 0.011488729156553745, 0.04755943641066551, -0.03924532234668732, -0.06500470638275146, 0.04667578637599945, 0.020572464913129807, 0.01600443758070469, 0.024771174415946007, 0.0050508505664765835, -0.0056343404576182365, -0.010086288675665855, 0.028835797682404518, 0.0515228696167469, -0.05385271832346916, -0.004142478108406067, 0.0008737889002077281, 0.019265390932559967, 0.0033619734458625317, 0.0008811800507828593, -0.043260663747787476, -0.04488622024655342, -0.011459766887128353, -0.00965407956391573, -0.05442154407501221, -0.010423386469483376, -0.03376081585884094, 0.022754881531000137, -0.014017720706760883, -0.020428529009222984, -0.017747605219483376, -0.00263591343536973, 0.011584898456931114, -0.014998160302639008, 0.016402574256062508, -0.027657760307192802, -0.003782957326620817, 0.03167117014527321, -0.039783917367458344, 0.03477378934621811, -0.018569787964224815, 0.040595222264528275, 0.015380191616714, -0.01664111018180847, -0.029840892180800438, -0.03415268659591675, 0.01127481646835804, -0.01924736239016056, 0.008560609072446823, 0.015943020582199097, -0.018707599490880966, -0.021995272487401962, -0.010232442989945412, -0.0456986278295517, -0.0019063599174842238, -0.011870910413563251, -0.04554934427142143, 0.03386678546667099, 0.07688752561807632, 0.033565014600753784, 0.03856215998530388, -0.006265704054385424, -0.01931845024228096, 0.03890024498105049, -0.08622350543737411, -0.004843032918870449, -0.046617962419986725, -0.06345880776643753, 0.021649494767189026, 0.000688140862621367, 0.0212621558457613, -0.011942080222070217, 0.03361719846725464, 0.007227529771625996, 0.01751074008643627, 0.024141959846019745, -0.01324963103979826, 0.022505534812808037, -0.08252964913845062, 0.008661491796374321, -0.08560365438461304, 0.017974818125367165, 0.034610316157341, 0.008863120339810848, -0.004200144205242395, -0.007042315322905779, -0.040834952145814896, 0.0472545251250267, -0.06787846982479095, -0.014791097491979599, 0.039260316640138626, 0.009876887314021587, -0.000999455340206623, 0.01857679896056652, -0.07240643352270126, 0.014111906290054321, 0.023598400875926018, -0.03301161900162697, -0.01891314424574375, 0.00012729792797472328, 0.061089564114809036, 0.027596022933721542, -0.008114015683531761, -0.029815014451742172, -0.003651862032711506, 0.05972272530198097, 0.0018503505270928144, 0.012619278393685818, 0.023861071094870567, -0.018029510974884033, 0.027485473081469536, 0.0432438887655735, 0.008400265127420425, -0.023887380957603455, 0.019817808642983437, -0.004967094864696264, -0.03672323375940323, 0.03515373915433884, 0.01657107099890709, -0.03550971299409866, -0.024110199883580208, 0.07231034338474274, 0.011234480887651443, -0.030837787315249443, -0.06555043160915375, 0.02301022969186306, -0.07438608258962631, -0.02237769216299057, -0.012919989414513111, -0.0039059340488165617, -0.046770162880420685, 0.04526953026652336, -0.002037878381088376, -0.019852004945278168, 0.062184035778045654, 0.002490794751793146, 0.004163489211350679, -0.02465846762061119, 0.07732734829187393, 0.08442548662424088, 0.03650575131177902, -0.0012206424726173282, 0.05170975998044014, -0.0057007260620594025, -0.03524400293827057, 0.023746034130454063, -0.01711869426071644, -0.00004832343620364554, -0.01910557970404625, 0.010226315818727016, 0.049872323870658875, -0.02013467438519001, 0.06614204496145248, -0.015982523560523987, 0.007113686762750149, -0.0047453842125833035, 0.023186152800917625, 0.005338963586837053, 0.09386315941810608, 0.009070745669305325, 0.0030040282290428877, -0.026413144543766975, -0.04473372921347618, 0.020904378965497017, -0.045201681554317474, -0.028865229338407516, 0.037175603210926056, -0.021739935502409935, 0.017624426633119583, 0.015234462916851044, 0.02623755857348442, 0.0615956149995327, -0.03594319149851799, 0.0125651890411973, -0.010898696258664131, 0.059065401554107666, 0.01669250801205635, -0.0017921756953001022, -0.02094298042356968, -0.02105710096657276, 0.00005046594742452726, -0.046372056007385254, -0.021242760121822357, -0.010409191250801086, -0.0163261815905571, 0.06069282814860344, -0.007423883303999901, -0.002029384719207883, 0.045923445373773575, 0.028965964913368225, -0.04964740201830864, -0.06049949303269386, -0.054250966757535934, -0.03915202245116234, -0.046813979744911194, -0.03370661288499832, 0.028032153844833374, -0.016343971714377403, -0.030174752697348595, -0.022608838975429535, -0.029441330581903458, -0.03441591560840607, 0.02843746542930603, -0.06322754174470901, -0.036165691912174225, 0.015349901281297207, 0.027165062725543976, 0.019356610253453255, 0.011980939656496048, 0.05374814197421074, 0.02371421828866005, -0.009918658062815666, -0.020771171897649765, -0.02017245627939701, 0.03506133332848549, 0.003949962556362152, 0.03172018751502037, -0.09328125417232513, 0.01019338145852089, 0.022678937762975693, 0.020738298073410988, -0.05144597217440605, 0.02570466324687004, -0.028422869741916656, -0.036320965737104416, 0.061705298721790314, -0.02681480348110199, 0.023233260959386826, -0.017137648537755013, -0.010945036076009274, 0.002570857759565115, 0.018279651179909706, 0.03716474398970604, -0.011576556600630283, 0.09028071910142899, 0.010641805827617645, -0.018366945907473564, -0.03223016858100891, -0.004683467093855143, 0.0030278500635176897, 0.011805428192019463, -0.024611542001366615, -0.05444975942373276, -0.044676393270492554, -0.0642472505569458, -0.03268237039446831, 0.010259890928864479, -0.007422216702252626, -0.033293094485998154, 0.024908073246479034, 0.016147727146744728, -0.054587818682193756, 0.01571076735854149, -0.032425910234451294, 0.050527140498161316, -0.04348350688815117, -0.024076057597994804, 0.029456933960318565, 0.029646731913089752, -0.002341529354453087, 0.014296134002506733, 0.024349842220544815, -0.05278516560792923, 0.0011300797341391444, 0.012636041268706322, 0.03184748440980911, 0.045904457569122314, -0.011972286738455296, -0.03361617773771286 ]
[ -0.09648073464632034, 0.005891658365726471, -0.015168958343565464, -0.02348686009645462, 0.05228833854198456, -0.058191437274217606, -0.019089996814727783, 0.015538928098976612, -0.004846929106861353, -0.014248540624976158, -0.0014774830779060721, -0.0350520946085453, 0.00013948760170023888, -0.01417284831404686, 0.052140191197395325, -0.0017100126715376973, -0.022398153319954872, -0.0805075466632843, 0.021687563508749008, 0.012388600036501884, 0.008828597143292427, -0.01357843168079853, -0.03208395466208458, -0.010166218504309654, 0.039093416184186935, 0.031122054904699326, 0.026881612837314606, -0.04369610548019409, 0.017522908747196198, -0.22424542903900146, 0.026410646736621857, 0.010124852880835533, 0.0228108000010252, -0.02578519657254219, 0.032702818512916565, 0.03729105368256569, 0.030540071427822113, 0.015228853560984135, -0.0053598228842020035, 0.046521589159965515, 0.01511456724256277, 0.004384292289614677, -0.04931415617465973, -0.042357590049505234, 0.027078330516815186, 0.032820120453834534, 0.0019073955481871963, -0.06654161214828491, 0.028769543394446373, 0.05032379925251007, -0.03889643773436546, -0.02826029062271118, -0.039517637342214584, -0.0432344414293766, -0.03043862245976925, -0.007245688699185848, 0.03753465414047241, 0.08326110243797302, -0.0016024736687541008, 0.01543993316590786, -0.00195879302918911, -0.02155061438679695, -0.11456681787967682, 0.07913746684789658, 0.05822685733437538, 0.05163969844579697, -0.02426639012992382, -0.01904742419719696, -0.003020763397216797, 0.11118704825639725, -0.03006194345653057, -0.005606306716799736, -0.04263434186577797, 0.07705432921648026, 0.003431853139773011, 0.007132440805435181, 0.00219944235868752, 0.010936064645648003, 0.011157556436955929, -0.04856289178133011, -0.037154752761125565, -0.01872996985912323, 0.012905080802738667, -0.019579418003559113, -0.03473680466413498, 0.006990273483097553, -0.035667337477207184, 0.06066136062145233, 0.060182444751262665, 0.0008345322567038238, 0.06858406960964203, -0.025831280276179314, 0.01981811411678791, 0.02880699560046196, -0.07813367992639542, -0.04125363752245903, 0.010927382856607437, 0.02919016405940056, -0.02874549850821495, 0.4350895881652832, -0.06072697415947914, -0.014156170189380646, 0.05924918130040169, 0.05244465544819832, -0.011142396368086338, 0.00590918492525816, 0.01164780929684639, -0.04422493278980255, -0.0038465128745883703, -0.04752086102962494, 0.031331345438957214, 0.017505470663309097, 0.08549001067876816, -0.030362477526068687, 0.015918569639325142, 0.0405445359647274, 0.03355712071061134, 0.012843044474720955, 0.0022953052539378405, 0.009278013370931149, -0.008203234523534775, 0.013654387556016445, 0.010196283459663391, -0.025270646438002586, -0.016380809247493744, -0.01934679038822651, 0.03142891451716423, 0.05621905252337456, 0.011982942931354046, -0.013371539302170277, 0.039339084178209305, -0.06267176568508148, -0.06677071005105972, 0.03854281082749367, -0.02063806913793087, 0.029581747949123383, 0.0305568166077137, -0.018751103430986404, 0.023474227637052536, 0.023757943883538246, 0.005826972424983978, -0.004540541209280491, 0.031868696212768555, -0.005251563619822264, -0.01973540522158146, 0.07442713528871536, -0.02111438661813736, -0.014720099046826363, -0.00483248895034194, -0.07486585527658463, 0.013765929266810417, 0.020661845803260803, -0.014939580112695694, -0.06766301393508911, 0.038906704634428024, -0.0025162126403301954, 0.0847572535276413, -0.009442719630897045, -0.04653333127498627, -0.015099206939339638, -0.008686657063663006, -0.008908719755709171, -0.07555468380451202, 0.03682369738817215, 0.06223060563206673, -0.07221700251102448, -0.017258986830711365, -0.011231714859604836, 0.02761879377067089, -0.06619219481945038, 0.033625390380620956, 0.009475504979491234, -0.038434892892837524, -0.016889525577425957, 0.010792647488415241, -0.02184857800602913, -0.018534110859036446, 0.0243119727820158, 0.06514560431241989, 0.0282609723508358, 0.02133902534842491, -0.004086124710738659, -0.05203329026699066, 0.015217630192637444, -0.018958883360028267, -0.08297023177146912, -0.051924582570791245, -0.011590436100959778, -0.013952219858765602, 0.02076990157365799, -0.01698087900876999, -0.02655831351876259, -0.09561800956726074, 0.09030983597040176, -0.05022455379366875, -0.020123034715652466, 0.023991674184799194, -0.018819646909832954, -0.03310735151171684, -0.045586224645376205, -0.03791845217347145, 0.0286420751363039, -0.011036858893930912, 0.02671494148671627, -0.05815879628062248, 0.06946687400341034, 0.06955503672361374, -0.08005527406930923, 0.08384328335523605, 0.06212431564927101, -0.04666457697749138, -0.04785352572798729, 0.007691583596169949, 0.016902362927794456, -0.015948114916682243, -0.03384412080049515, 0.01982848159968853, 0.02597680874168873, 0.023855067789554596, 0.015023032203316689, -0.02641509845852852, -0.005350719206035137, 0.007309781853109598, -0.3353111147880554, -0.04701811075210571, -0.002983436454087496, -0.0023347847163677216, 0.038719214498996735, -0.06652282923460007, 0.004631321411579847, 0.012365169823169708, -0.047593895345926285, 0.009612850844860077, 0.07177498936653137, -0.015279052779078484, 0.0005561316502280533, -0.09731362015008926, -0.008533354848623276, -0.006487203296273947, -0.04103955626487732, -0.022878969088196754, -0.01428639143705368, 0.03645510971546173, 0.003284332575276494, -0.005692871753126383, -0.006870591547340155, -0.04711666330695152, 0.008626946248114109, -0.06783541291952133, 0.10222259908914566, -0.020984137430787086, 0.0932927131652832, -0.007512147072702646, 0.03484334796667099, 0.012007216922938824, 0.031609807163476944, -0.09011122584342957, -0.03227603808045387, 0.010940360836684704, -0.044167738407850266, 0.017533352598547935, 0.027971092611551285, -0.0310564823448658, -0.029331229627132416, 0.010751849040389061, -0.055221978574991226, -0.04474687948822975, -0.06196356564760208, 0.014951976016163826, -0.03215567022562027, -0.023573704063892365, -0.055322322994470596, 0.07769180089235306, 0.02553529292345047, -0.002669460838660598, 0.007226445712149143, -0.007247911766171455, 0.0008231356041505933, -0.031154941767454147, -0.07528290152549744, 0.015870561823248863, 0.010377447120845318, -0.002584577538073063, 0.03034328855574131, 0.07150359451770782, 0.045988891273736954, -0.039960797876119614, -0.0016974848695099354, 0.019760211929678917, 0.0023776027373969555, -0.0013474795268848538, 0.03484710678458214, 0.016807572916150093, -0.0017316596349701285, 0.10188639163970947, -0.002669156529009342, -0.015824943780899048, -0.011119826696813107, 0.058866795152425766, -0.02730666473507881, 0.027458515018224716, 0.019129162654280663, -0.010961337015032768, 0.006116843782365322, -0.011705361306667328, 0.011659753508865833, -0.008236558176577091, 0.0049004084430634975, 0.03151943162083626, -0.022895758971571922, -0.006089470814913511, 0.07306476682424545, 0.015177637338638306, -0.015159433707594872, -0.0011300573823973536, -0.02523719146847725, -0.03892207518219948, 0.0655273050069809, -0.0011290016118437052, -0.22300879657268524, -0.015358762815594673, 0.056623928248882294, 0.07558742165565491, -0.015304653905332088, 0.04559807479381561, 0.03311730921268463, -0.05948556214570999, 0.025814205408096313, 0.013193454593420029, -0.0028736453969031572, 0.04106893390417099, 0.017100654542446136, -0.016759635880589485, 0.05466891825199127, 0.004701464436948299, 0.06402583420276642, -0.010007563047111034, 0.026679188013076782, -0.009846089407801628, 0.01122191920876503, -0.023763442412018776, 0.15490810573101044, -0.000586173904594034, 0.025601724162697792, 0.005039127077907324, 0.03360852599143982, 0.018946832045912743, 0.0758836567401886, 0.0154544897377491, -0.00670045567676425, 0.003394203959032893, 0.021702248603105545, -0.00676265824586153, 0.001489552785642445, -0.0691993460059166, -0.02854561246931553, 0.008119731210172176, 0.03277181461453438, -0.02327297255396843, 0.018139982596039772, -0.0015980047173798084, -0.07652653753757477, 0.010583662427961826, 0.06261028349399567, 0.020274896174669266, -0.02029521018266678, -0.0563075989484787, -0.05802377685904503, -0.009141306392848492, -0.01877930574119091, -0.040168702602386475, 0.011175951920449734, -0.014378336258232594, 0.01046835072338581, 0.06876562535762787, 0.011729729361832142, -0.015099533833563328, -0.025767570361495018, 0.01611233502626419, 0.00006448290514526889, -0.01922520622611046, 0.11290402710437775, 0.0723881796002388, 0.005746887531131506 ]
[ -0.02760528214275837, -0.01104960311204195, 0.0016903537325561047, 0.012664093635976315, -0.03440156951546669, -0.014471076428890228, -0.03200618550181389, 0.014424609951674938, 0.0049125696532428265, 0.011495068669319153, 0.004386494401842356, 0.009652008302509785, 0.000024272534574265592, -0.026023289188742638, 0.0005622309981845319, -0.02003251202404499, -0.02681444026529789, 0.00206640362739563, 0.03420626372098923, 0.005082396790385246, -0.014807503670454025, 0.0059320745058357716, -0.0009646888356655836, 0.01462025661021471, 0.017182502895593643, 0.013482285663485527, -0.01564873941242695, -0.0054939743131399155, 0.014304655604064465, -0.13453476130962372, -0.022861288860440254, -0.012072961777448654, 0.0001082873423001729, 0.0244448259472847, -0.009457830339670181, 0.0011581219732761383, 0.009002328850328922, 0.03223923221230507, -0.008013823069632053, 0.007268828805536032, 0.011348462663590908, -0.027062922716140747, 0.006606928072869778, -0.002018074970692396, -0.01446827594190836, -0.008537902496755123, 0.007981912232935429, -0.041913408786058426, -0.029893146827816963, -0.016885356977581978, -0.026819992810487747, -0.0005922277923673391, -0.0003753288183361292, -0.003697632811963558, 0.017918141558766365, -0.027314499020576477, 0.051444489508867264, -0.02568132057785988, -0.006058929488062859, 0.014199704863131046, -0.017825104296207428, 0.01776217855513096, -0.03765765577554703, -0.0214505884796381, -0.013026571832597256, -0.010113927535712719, -0.005053176544606686, 0.0360194556415081, -0.005426269024610519, 0.004717113915830851, -0.027388419955968857, 0.021597789600491524, 0.0007474551093764603, -0.0016906476812437177, 0.023929663002490997, 0.03814659267663956, -0.0037174548488110304, -0.03321896493434906, 0.009782732464373112, -0.010580791160464287, -0.045900922268629074, 0.012629644945263863, 0.027949195355176926, -0.0032322120387107134, -0.012009058147668839, 0.028475815430283546, 0.027494771406054497, 0.022603752091526985, 0.016293218359351158, -0.003536958945915103, -0.0038612571079283953, 0.03350979462265968, -0.00743580749258399, 0.03704725205898285, -0.08417689800262451, -0.024698825553059578, -0.0035695484839379787, -0.017970552667975426, 0.0199844129383564, 0.8593825101852417, 0.019377166405320168, 0.031080657616257668, 0.029884684830904007, 0.02187272533774376, -0.01396275870501995, -0.008996358141303062, 0.013581263832747936, -0.024779533967375755, 0.02112775482237339, -0.05876903235912323, 0.018664581701159477, 0.017962023615837097, 0.020329134538769722, 0.0004839380271732807, 0.011258355341851711, 0.01631736196577549, 0.00519222067669034, 0.016979778185486794, -0.008647780865430832, 0.030211610719561577, 0.030067220330238342, 0.0022560267243534327, -0.01946227252483368, 0.029936954379081726, 0.03794866427779198, -0.15361258387565613, 0.01461151521652937, -8.789313055104312e-33, 0.048132918775081635, -0.02048049308359623, -0.019695619121193886, -0.012903773225843906, 0.011853858828544617, 0.016117699444293976, 0.03168698400259018, 0.057639118283987045, -0.004903868772089481, -0.03053767792880535, 0.01638326421380043, -0.03086739219725132, -0.0007738916901871562, -0.014087189920246601, 0.004839892033487558, 0.022090760990977287, -0.02670704759657383, 0.028547337278723717, -0.004082257393747568, 0.056272946298122406, 0.025147199630737305, 0.010798103176057339, -0.011256366968154907, -0.009602642618119717, -0.008446219377219677, -0.02082984149456024, -0.00016342432354576886, 0.026242859661579132, -0.011330065317451954, -0.04106701910495758, -0.04043537750840187, 0.01408632006496191, -0.011461159214377403, -0.002168067963793874, -0.016195552423596382, -0.023965364322066307, -0.005728766322135925, 0.008489680476486683, -0.013027644716203213, -0.0027831150218844414, -0.003911551553755999, -0.009091624058783054, -0.049492157995700836, -0.004024037625640631, 0.00446580583229661, -0.023734888061881065, -0.04716232791543007, 0.024580080062150955, 0.015113002620637417, 0.001824630075134337, 0.019640624523162842, 0.024593135342001915, 0.016191953793168068, -0.020516054704785347, -0.018776707351207733, 0.01843397691845894, -0.02767508290708065, -0.001782965729944408, 0.03454311192035675, 0.06780463457107544, 0.008259451016783714, 0.014759780839085579, -0.029102448374032974, 0.0405295304954052, -0.008609289303421974, -0.02972976677119732, 0.03951914981007576, -0.019343648105859756, 0.005136209540069103, -0.013566787354648113, -0.056053075939416885, -0.007853204384446144, -0.035344913601875305, 0.004960532300174236, 0.018457675352692604, -0.022543596103787422, 0.003478596918284893, 0.03440224751830101, -0.0017397156916558743, 0.011440006084740162, 0.006089177448302507, -0.004022564738988876, -0.022802839055657387, -0.05968490242958069, -0.0010608336888253689, -0.009763006120920181, 0.0020803697407245636, -0.03880033642053604, -0.044465892016887665, -0.026656216010451317, 0.04047159478068352, -0.00498623214662075, 0.00793369673192501, -0.023443304002285004, 0.0031352941878139973, 8.954875556945877e-33, 0.006204674020409584, -0.011692012660205364, -0.024962732568383217, 0.012860482558608055, 0.018427792936563492, -0.01950829103589058, 0.0191719438880682, 0.004103861283510923, -0.0736585184931755, 0.038765374571084976, -0.007053541950881481, -0.013731289654970169, -0.032577432692050934, 0.032832689583301544, 0.018813177943229675, -0.029202163219451904, 0.022998210042715073, -0.01691187359392643, 0.02050056681036949, -0.010035710409283638, 0.006725164130330086, 0.01564314030110836, 0.05081139877438545, 0.0011583036975935102, -0.016430214047431946, 0.04084956273436546, -0.0537608377635479, 0.021786842495203018, 0.013098436407744884, -0.01006399281322956, -0.01990519091486931, 0.015207451768219471, 0.026774685829877853, -0.0025221719406545162, -0.007096945308148861, 0.030547257512807846, -0.0009588259272277355, -0.006636522244662046, 0.01946454681456089, 0.013746468350291252, 0.013369780033826828, 0.019959677010774612, 0.011166086420416832, 0.008414914831519127, -0.006823992822319269, 0.04777558147907257, 0.0133607042953372, -0.014051242731511593, 0.0012520127929747105, 0.009577264077961445, -0.012115983292460442, 0.025810163468122482, 0.015396956354379654, -0.00640101358294487, 0.0003190317074768245, -0.014548525214195251, -0.03620639070868492, 0.005657480098307133, -0.0478881299495697, 0.036728426814079285, -0.01052518654614687, 0.02962062507867813, -0.0309735257178545, 0.018388688564300537, -0.024892091751098633, -0.011380568146705627, -0.009303250350058079, 0.02588694542646408, -0.009289461188018322, 0.004576216917484999, -0.038181982934474945, 0.011710976250469685, 0.01003231666982174, 0.03176027163863182, 0.027855299413204193, -0.03710784763097763, -0.036202870309352875, 0.0038349537644535303, -0.0011436522472649813, 0.02094865031540394, 0.013651754707098007, -0.017011374235153198, 0.00990114826709032, 0.013105565682053566, -0.01860499195754528, 0.04679930955171585, 0.010280638933181763, 0.038749199360609055, -0.005441449116915464, -0.02377772144973278, -0.01073054876178503, -0.007742180954664946, -0.0016423738561570644, -0.017905062064528465, -0.002816511085256934, -1.4051494190425728e-8, 0.016008978709578514, -0.005943673197180033, -0.031231580302119255, 0.02275014854967594, -0.016450652852654457, -0.00580626493319869, -0.010198132134974003, 0.01891998201608658, -0.03788384422659874, 0.00898142158985138, 0.04372445493936539, -0.0019110259599983692, -0.005091742612421513, 0.02197163924574852, 0.00039182830369099975, -0.05580364912748337, -0.036859478801488876, 0.009210058487951756, 0.02570825256407261, 0.010261795483529568, 0.0025858336593955755, 0.0647156611084938, -0.0179208405315876, 0.016895625740289688, 0.014882913790643215, 0.042622290551662445, 0.022164084017276764, -0.06451745331287384, 0.0063112834468483925, 0.010964376851916313, 0.044330209493637085, -0.04666135460138321, -0.03132577985525131, -0.007976774126291275, -0.014282289892435074, -0.039139628410339355, 0.011671988293528557, 0.024092480540275574, 0.022225094959139824, 0.006272302474826574, -0.018801717087626457, -0.01713457889854908, 0.00576701620593667, -0.02878010831773281, -0.003307863138616085, -0.03493889048695564, -0.02731139399111271, -0.020709574222564697, -0.006292471196502447, -0.06692862510681152, 0.009211481548845768, 0.0058257742784917355, 0.0225954782217741, 0.022832732647657394, 0.01771647110581398, 0.022185327485203743, 0.0009387147729285061, 0.0033083497546613216, -0.04114537313580513, -0.0015119056915864348, 0.03900384157896042, 0.02582751028239727, 0.005388212855905294, -0.031192272901535034 ]
tdd-copying-and-pasting-tests
https://markhneedham.com/blog/2009/09/22/tdd-copying-and-pasting-tests
false
2009-09-25 23:48:33
TDD: It makes you question what you're doing
[ "tdd" ]
[ "Testing" ]
My colleague Matt Dunn and I have been putting a lot of tests around some code over the last few days so that we can safely make some changes around that area and having finally created our safety net we've moved onto adding in the new functionality. We're test driving the new bit of functionality whereas with the previous code only the code had been written with no unit tests and it's been quite interesting seeing the contrast in the style of code which seems to come out from these differing styles. While we were writing the tests around the other code I found it quite surprising how often we came across code which wasn't actually needed - I guess if you only write the code then you need to make sure that all potential scenarios are covered even if it's impossible for them to happen. In one case a null check was being done on a dependency of a class which always has its dependencies injected by a DI container and thus as far as I understand could never actually be null. It seems to me that the outcome of this approach to coding can contribute greatly to what Fred Brooks coins 'Accidental Complexity' in 'http://www.markhneedham.com/blog/2009/04/11/the-mythical-man-month-book-review/[The Mythical Man Month]' - extra code which makes the code base more difficult to read as a whole but which adds no value apart from that. Essentially waste. When test driving code I find that the process of coming up with examples/tests before you write any code leads you to question how the system actually works. For example Matt and I had thought that the new piece of functionality we were working on would need to make a call to a repository to retrieve some data since that's what was being done for the existing functionality. However, while writing our tests it become quite clear that we wouldn't need to do that. On this occasion we wrote a test with an expectation for a call on the repository, then wrote the code to make that test to pass before moving onto our test where we would assert that the values retrieved from the repository would be populated into the appropriate object. It was at this stage that we realised that there was actually no need to make that call because we already had the data available to us from another source. This has happened on quite a few occasions since and while I think pair programming helps put us in a state of mind where we are more inquisitive of the code being written, I think the TDD approach is quite useful as well. I'm sure it's possible to avoid some of the problems I've described without a test driven approach but I certainly find it more difficult.
null
null
[ 0.025487596169114113, -0.009122655726969242, -0.014744404703378677, 0.06070154160261154, 0.08749061822891235, 0.011635811999440193, 0.02919529750943184, 0.034681711345911026, 0.013255948200821877, -0.02870802953839302, -0.023479456081986427, 0.003335637738928199, -0.06676652282476425, 0.01012853067368269, -0.039923928678035736, 0.0694013237953186, 0.08014378696680069, -0.013749462552368641, 0.04248925670981407, 0.021101029589772224, 0.018673187121748924, 0.0683489516377449, -0.0051564122550189495, 0.03764393553137779, 0.01078732218593359, 0.020038019865751266, 0.01846161112189293, -0.0023202544543892145, -0.07891813665628433, -0.02535092644393444, 0.03674795851111412, 0.01209281850606203, 0.005409600213170052, -0.0003867570776492357, -0.011351642198860645, -0.012639844790101051, -0.02809344418346882, 0.026945380493998528, 0.02004699409008026, 0.018286388367414474, -0.0675305426120758, 0.03099527582526207, -0.00518058892339468, 0.006613793782889843, -0.05721421167254448, 0.005810825619846582, -0.051021892577409744, 0.0041204895824193954, -0.00872141681611538, -0.015955500304698944, -0.05314337834715843, 0.031826917082071304, -0.0318419374525547, -0.013287804089486599, -0.015888214111328125, 0.0561189204454422, 0.021620972082018852, -0.07539980113506317, 0.00982567761093378, -0.04677886143326759, -0.0022036461159586906, -0.0011431140592321754, -0.011235687881708145, 0.0428537093102932, 0.0312797836959362, -0.03151470795273781, -0.008813903667032719, 0.04387018084526062, -0.0360458642244339, 0.0054146586917340755, -0.007461083121597767, 0.002480879193171859, -0.029245587065815926, -0.023145759478211403, 0.006183116231113672, -0.04632866382598877, -0.011059648357331753, 0.06189824268221855, 0.01499966997653246, 0.04889436066150665, -0.015949856489896774, 0.012369436211884022, 0.02799586020410061, 0.007632561028003693, -0.002913967240601778, -0.038530636578798294, -0.011399419978260994, -0.008667124435305595, -0.0423758365213871, 0.07296831160783768, 0.010435502976179123, -0.05727257579565048, 0.019272197037935257, 0.028458263725042343, -0.020552072674036026, 0.01719687134027481, 0.030996764078736305, 0.011216867715120316, 0.002954265335574746, -0.0037346058525145054, -0.02214473858475685, -0.02728070318698883, 0.029258524999022484, -0.002764456905424595, -0.07540258020162582, 0.0010430373949930072, -0.027327513322234154, -0.03320508077740669, -0.012099914252758026, 0.012646268121898174, -0.025888614356517792, 0.025672009214758873, -0.023267686367034912, 0.0054113916121423244, -0.08113975822925568, 0.07551775127649307, 0.0010403355117887259, -0.054416295140981674, -0.020158035680651665, 0.025675158947706223, 0.0398520827293396, 0.03547850623726845, 0.0023171461652964354, 0.08386754989624023, 0.03074819967150688, 0.04368872568011284, -0.03371311351656914, 0.04524765908718109, -0.0070878444239497185, -0.05111946910619736, -0.004182413220405579, 0.04733235388994217, -0.0182989202439785, -0.001597604714334011, 0.0025304043665528297, -0.01852676458656788, -0.011176664382219315, 0.0026245140470564365, 0.03742223232984543, 0.04790893569588661, -0.02979283593595028, -0.03122854232788086, 0.008854507468640804, 0.012432887218892574, -0.008502484299242496, 0.013952646404504776, -0.0016599310329183936, -0.013598672114312649, -0.026782257482409477, 0.024533435702323914, 0.0010298409033566713, 0.03827036917209625, 0.019272660836577415, -0.04631701111793518, 0.016613829880952835, 0.08854635059833527, 0.0064834407530725, 0.032395295798778534, -0.011048535816371441, 0.04712812229990959, 0.04318303242325783, 0.025137485936284065, 0.01638128235936165, 0.03172485530376434, 0.006267334800213575, 0.0051440345123410225, -0.001125549548305571, 0.05036144703626633, 0.009829619899392128, 0.01647535338997841, -0.05024323984980583, -0.0721675306558609, 0.06947256624698639, -0.04336101561784744, -0.016924284398555756, 0.0297169741243124, 0.07455138862133026, 0.01135607622563839, 0.04484161362051964, 0.001477732788771391, -0.07501343637704849, 0.027840610593557358, 0.015221007168293, 0.021910911425948143, 0.011168631725013256, -0.0050103431567549706, 0.07520469278097153, 0.022963030263781548, -0.010234001092612743, 0.030258988961577415, -0.0838901475071907, -0.08030597865581512, -0.013711977750062943, -0.021308591589331627, 0.05896773561835289, -0.03855856880545616, -0.01130820531398058, 0.07451266795396805, 0.013436762616038322, 0.045643482357263565, 0.021653329953551292, 0.004461652133613825, 0.017703114077448845, -0.03884771466255188, -0.024912798777222633, 0.05273064598441124, 0.05004151165485382, -0.010072414763271809, -0.06010405346751213, 0.0020263257902115583, -0.01893061026930809, -0.013768385164439678, 0.043751638382673264, -0.03307868540287018, 0.03634558618068695, 0.015282483771443367, 0.06016121432185173, -0.05438913777470589, 0.07001686096191406, -0.07082389295101166, -0.0038983316626399755, -0.0024208035320043564, -0.015490448102355003, 0.003629462094977498, 0.007150627207010984, 0.11413668841123581, 0.0703745186328888, -0.05227106437087059, -0.02120894007384777, 0.025995608419179916, 0.0199027881026268, -0.05308447778224945, -0.003499906277284026, -0.01050280500203371, 0.00021322561951819807, 0.006694538053125143, -0.04762871563434601, -0.018237650394439697, 0.0119676748290658, -0.030112072825431824, 0.020521633327007294, 0.06574315577745438, -0.020175131037831306, 0.048153217881917953, -0.011592983268201351, -0.039017725735902786, 0.001061191433109343, -0.022157391533255577, -0.045247334986925125, -0.0011195354163646698, 0.018342074006795883, -0.010164910927414894, 0.04908640310168266, -0.020118653774261475, -0.015354297123849392, -0.03244433179497719, -0.04212936386466026, 0.009142559953033924, 0.026619305834174156, 0.06972874701023102, -0.018093610182404518, 0.046818315982818604, -0.001663320348598063, 0.012008820660412312, -0.00242514512501657, -0.04622874781489372, -0.030217325314879417, -0.00229359557852149, -0.004386650398373604, 0.03467459976673126, -0.005253236275166273, 0.026562808081507683, 0.028563469648361206, -0.0013233227655291557, -0.023013059049844742, -0.013647343963384628, 0.03025384061038494, 0.011357810348272324, -0.011832202784717083, -0.03198396414518356, -0.03861221671104431, 0.040454965084791183, -0.044118426740169525, -0.018372273072600365, 0.012070169672369957, -0.0694022849202156, 0.053972769528627396, -0.05836452171206474, -0.06419584155082703, 0.01071259006857872, 0.03517066687345505, 0.02836679108440876, -0.017307529225945473, 0.03219367191195488, 0.07521650940179825, 0.009163065813481808, 0.013434031046926975, 0.003952907398343086, 0.01920267753303051, 0.0227589663118124, 0.012286597862839699, 0.0016358554130420089, 0.0334826335310936, 0.002202987438067794, 0.004729453008621931, -0.04102005809545517, 0.041256971657276154, -0.010929285548627377, -0.2892628312110901, 0.04701613262295723, -0.00008996805263450369, -0.04443730413913727, 0.04284977912902832, -0.008628640323877335, 0.004645523615181446, -0.0405290387570858, -0.01732589118182659, 0.05236471816897392, -0.032695554196834564, -0.043178990483284, -0.01713254302740097, 0.056219615042209625, -0.00005851707101101056, 0.014534302987158298, 0.03647365793585777, -0.023481717333197594, 0.008700457401573658, 0.06350389122962952, -0.019582271575927734, -0.07604001462459564, 0.009572829119861126, 0.03584611788392067, 0.031112631782889366, 0.04173225536942482, -0.09079542756080627, 0.0651860386133194, -0.050637662410736084, 0.00045023701386526227, -0.008992179296910763, -0.0008712820708751678, 0.000145422134664841, -0.02966879867017269, -0.01849062740802765, 0.008913896977901459, 0.013867328874766827, 0.008569945581257343, -0.019512755796313286, 0.028162691742181778, -0.03424558416008949, -0.04582652077078819, -0.013286808505654335, 0.02147362194955349, 0.06755776703357697, -0.0236358642578125, -0.07868476212024689, -0.010411825031042099, -0.033354051411151886, 0.0841638445854187, -0.05572576820850372, -0.026697298511862755, -0.006106936372816563, 0.03159632906317711, -0.027473101392388344, -0.03654487431049347, -0.008565680123865604, -0.0011425832053646445, -0.03533284366130829, -0.022796276956796646, -0.027209140360355377, -0.048852790147066116, -0.016390839591622353, -0.04908081144094467, -0.004122481215745211, -0.057472363114356995, -0.058241065591573715, -0.022992150858044624, 0.07778104394674301, 0.018605265766382217, -0.04513121768832207, 0.014796008355915546, 0.0010533471358940005, -0.10964195430278778, -0.005526369903236628, -0.02287440188229084, -0.024071544408798218, -0.025355566293001175, 0.008289579302072525, 0.04409334808588028, -0.0416446328163147, -0.055134061723947525, 0.03747203201055527, 0.016264749690890312, 0.01580178737640381, -0.020425377413630486, 0.03137734532356262, 0.018691565841436386, -0.014289101585745811, 0.015009325928986073, 0.08418798446655273, -0.000936186988838017, -0.015976063907146454, -0.029283415526151657, 0.01668727397918701, 0.01412956416606903, 0.033835701644420624, -0.0021982479374855757, -0.0029238644056022167, 0.044892292469739914, 0.012695247307419777, -0.0589224174618721, 0.03507425636053085, -0.012124522589147091, 0.0021001542918384075, -0.021374428644776344, -0.054706864058971405, 0.03585578501224518, 0.029248865321278572, 0.03633860498666763, -0.011180736124515533, -0.02061637118458748, -0.011209292337298393, -0.05070383846759796, -0.04028748720884323, -0.020485835149884224, 0.01231175847351551, 0.0340002179145813, -0.026576263830065727, -0.0041652340441942215, -0.04607662931084633, 0.008235659450292587, 0.0037691136822104454, -0.006859316490590572, -0.055988915264606476, -0.048128120601177216, -0.02431836724281311, -0.018772337585687637, 0.026686187833547592, 0.01684940606355667, 0.007636356167495251, 0.053905926644802094, 0.018982114270329475, -0.04168716445565224, -0.0016381890745833516, -0.009211492724716663, -0.03987903892993927, -0.015136905014514923, -0.024648794904351234, -0.01467073056846857, -0.0009581220801919699, 0.009241072461009026, 0.001205585547722876, 0.022249363362789154, 0.031045690178871155, -0.01663665845990181, 0.040915992110967636, -0.012062076479196548, 0.0147011149674654, 0.015495662577450275, 0.01484700571745634, -0.0980638936161995, 0.03261934965848923, -0.04993237927556038, -0.045250628143548965, -0.04628051817417145, 0.03882170096039772, -0.012072468176484108, -0.018322398886084557, -0.02263554371893406, 0.010860318318009377, -0.061659641563892365, -0.012957364320755005, -0.02795383706688881, 0.018059713765978813, 0.07840240746736526, -0.026912910863757133, 0.02497173845767975, -0.017212865874171257, -0.04278154671192169, -0.018091494217514992, 0.023378927260637283, -0.032737888395786285, 0.013132992200553417, 0.02466491423547268, 0.0004484882520046085, -0.016508562490344048, -0.00066669553052634, 0.03683767467737198, 0.004255953244864941, 0.014375589787960052, -0.014324498362839222, 0.008154081180691719, 0.01614047773182392, 0.04600130394101143, -0.006537723820656538, 0.009664169512689114, -0.013073188252747059, -0.01435437984764576, -0.024050278589129448, -0.05299955978989601, -0.02511783130466938, 0.010547105222940445, 0.036071982234716415, -0.04623781889677048, -0.07977765798568726, 0.027536682784557343, 0.028314564377069473, 0.019708989188075066, 0.017805082723498344, 0.00841861218214035, 0.009824984706938267, -0.023943936452269554, 0.038386270403862, 0.06260371953248978, -0.04543271288275719, 0.012958717532455921, -0.005273725371807814, 0.010586490854620934, -0.0030295278411358595, 0.005091836676001549, -0.04013466835021973, -0.034768830984830856, 0.0013139096554368734, -0.006487288046628237, -0.04157561808824539, -0.02754092402756214, -0.026025358587503433, 0.00850538071244955, -0.006854513194411993, -0.032801304012537, -0.0030899650882929564, -0.007291463203728199, -0.019121864810585976, -0.025143954902887344, 0.006536717992275953, -0.003252378199249506, -0.0020328506361693144, 0.006388395559042692, -0.03739692270755768, 0.00543747004121542, -0.024494076147675514, 0.028282638639211655, 0.0006860079593025148, -0.01972752809524536, -0.020932268351316452, -0.005874388851225376, 0.0032497153151780367, -0.02010127529501915, 0.030807387083768845, -0.00575384171679616, -0.004570125602185726, -0.027706362307071686, -0.01501530036330223, -0.04134877398610115, 0.026680421084165573, -0.014340130612254143, -0.018038606271147728, 0.009021700359880924, 0.06693797558546066, 0.019948318600654602, 0.029902160167694092, -0.009876981377601624, -0.008000549860298634, 0.06254586577415466, -0.07284435629844666, -0.024116151034832, -0.044836729764938354, -0.046263206750154495, -0.00692774960771203, 0.024627141654491425, 0.013393795117735863, -0.021647563204169273, 0.03493761271238327, 0.008525969460606575, 0.02557016722857952, 0.021068530157208443, 0.008689682930707932, 0.05950577184557915, -0.07466398179531097, 0.006838575005531311, -0.07449639588594437, 0.010262181982398033, 0.03921010345220566, 0.013764302246272564, -0.011941427364945412, -0.010447314009070396, -0.051181353628635406, 0.04386374354362488, -0.056689295917749405, 0.00006587764073628932, 0.050116341561079025, 0.004256635904312134, -0.0032949838787317276, 0.01811804063618183, -0.06889690458774567, 0.027412742376327515, 0.03411386162042618, -0.03456956893205643, -0.025717467069625854, -0.019243543967604637, 0.04521794617176056, 0.033571600914001465, 0.02665705233812332, -0.02024453692138195, -0.0014460544334724545, 0.06476522982120514, 0.011580586433410645, 0.03038206323981285, 0.043650317937135696, -0.017265083268284798, 0.050901737064123154, 0.030875496566295624, 0.0006562342750839889, -0.02625330165028572, 0.01881861500442028, 0.0000024738640149735147, -0.056010760366916656, 0.009443571791052818, 0.005388862453401089, -0.02874107100069523, -0.026721829548478127, 0.05263064429163933, 0.024554116651415825, -0.028537308797240257, -0.05767317861318588, 0.009659131988883018, -0.07206815481185913, -0.02720658667385578, -0.01791592314839363, -0.030621597543358803, -0.04480179771780968, 0.05419434234499931, 0.007639146409928799, 0.0030519170686602592, 0.07214214652776718, -0.0026839564088732004, -0.017355546355247498, -0.005309773609042168, 0.09311126917600632, 0.0847056433558464, 0.039609797298908234, 0.007802596315741539, 0.05787506327033043, -0.0034896277356892824, -0.03808349370956421, 0.031924184411764145, -0.014988892711699009, -0.010510129854083061, -0.019055578857660294, 0.0005203227046877146, 0.04598485678434372, -0.014129141345620155, 0.0645863488316536, -0.01780638098716736, 0.018717648461461067, 0.005382294300943613, 0.018471525982022285, 0.011983342468738556, 0.08053965866565704, 0.006812250707298517, 0.0021141497418284416, -0.007680756505578756, -0.04188527539372444, 0.01812853291630745, -0.05945112556219101, -0.008762086741626263, 0.022745788097381592, -0.002302906010299921, 0.014815129339694977, 0.0031503678765147924, 0.027410315349698067, 0.07236431539058685, -0.026686251163482666, 0.01692751608788967, -0.012991443276405334, 0.05671360343694687, -0.003235239302739501, 0.008409605361521244, -0.03079206682741642, -0.02049308456480503, -0.006428280845284462, -0.027506934478878975, -0.008588341996073723, -0.004001331981271505, -0.020069120451807976, 0.056989092379808426, -0.0013156940694898367, 0.007908154278993607, 0.013319303281605244, 0.019926248118281364, -0.012848020531237125, -0.0598779022693634, -0.04789155349135399, -0.02717452682554722, -0.057297274470329285, -0.03579198196530342, 0.0377248078584671, 0.00831411313265562, -0.038459617644548416, -0.021349366754293442, -0.026684077456593513, -0.025622231885790825, 0.02428499050438404, -0.04760991409420967, -0.036532577127218246, 0.03252580389380455, 0.011318826116621494, 0.02980366162955761, -0.005650992970913649, 0.03734425827860832, 0.0028842042665928602, -0.006554362829774618, -0.026118982583284378, -0.005233924835920334, 0.03244582191109657, 0.0029700864106416702, 0.018878478556871414, -0.07359929382801056, 0.01993820257484913, 0.019350318238139153, 0.011394714936614037, -0.06856934726238251, 0.023045215755701065, -0.013856008648872375, -0.024730786681175232, 0.054296188056468964, -0.0363834872841835, 0.015461168251931667, -0.015872081741690636, -0.014565934427082539, -0.0003696767089422792, 0.026311881840229034, 0.0373101644217968, -0.015002899803221226, 0.09071190655231476, 0.011127552017569542, -0.021114109084010124, -0.050723567605018616, -0.0010871505364775658, -0.007326324004679918, -0.010179315693676472, -0.03511396050453186, -0.04080329090356827, -0.01387491449713707, -0.06305161118507385, -0.019431222230196, 0.011559764854609966, -0.033067092299461365, -0.03512825444340706, 0.024311918765306473, 0.03266186639666557, -0.055920060724020004, 0.016411541029810905, -0.026611872017383575, 0.05430588871240616, -0.035127099603414536, -0.011851770803332329, 0.023223623633384705, 0.013239244930446148, -0.010681877844035625, 0.012674025259912014, 0.020476173609495163, -0.044778816401958466, -0.018606893718242645, 0.0007420919719152153, 0.05216366425156593, 0.0402897484600544, 0.0033710473217070103, 0.01056012511253357 ]
[ -0.10683279484510422, 0.01185071561485529, -0.03488478809595108, -0.03608892485499382, 0.06340932101011276, -0.03679383173584938, -0.0060899024829268456, 0.028155997395515442, -0.005561674479395151, -0.03021932952105999, -0.013567338697612286, -0.025780197232961655, -0.0019380999729037285, -0.009570542722940445, 0.07357648015022278, -0.0011785731185227633, -0.020751463249325752, -0.07873354107141495, 0.02328232116997242, 0.03198612481355667, 0.014955355785787106, -0.034491848200559616, -0.05222814157605171, -0.032506313174963, 0.011840772815048695, 0.049108244478702545, 0.03744422644376755, -0.05199677497148514, 0.010723346844315529, -0.21459922194480896, 0.00037814315874129534, 0.001643349532969296, 0.03783277049660683, -0.03676318749785423, 0.014655052684247494, 0.03876388072967529, 0.03610250726342201, 0.012187390588223934, -0.012759383767843246, 0.04195983707904816, 0.006075413431972265, 0.010418758727610111, -0.05019446834921837, -0.026109615340828896, 0.02053651213645935, 0.01802036352455616, 0.012871130369603634, -0.04989803209900856, -0.012277134694159031, 0.022100254893302917, -0.05397145077586174, -0.02647504024207592, -0.033842723816633224, -0.021888451650738716, -0.02451319620013237, 0.02078814059495926, 0.041506633162498474, 0.06952089071273804, -0.020965659990906715, 0.011979828588664532, 0.0016773920506238937, -0.028520075604319572, -0.12342429161071777, 0.04659610614180565, 0.06298097223043442, 0.049077462404966354, -0.030765071511268616, -0.030803382396697998, 0.006070856004953384, 0.09720895439386368, 0.011861405335366726, -0.023697420954704285, -0.042800113558769226, 0.05920052155852318, 0.008902366273105145, -0.0035483657848089933, -0.0008306038798764348, 0.025256801396608353, 0.03753356263041496, -0.05130087956786156, -0.03393654525279999, -0.022264059633016586, 0.005375931039452553, 0.008993301540613174, -0.023368611931800842, 0.004656683653593063, -0.02614227868616581, 0.04724119231104851, 0.051032595336437225, 0.0105149419978261, 0.07627569884061813, -0.01266959123313427, 0.029598213732242584, 0.0057547506876289845, -0.06741634011268616, -0.0024012899957597256, -0.0009570777183398604, 0.01103988103568554, -0.03011305071413517, 0.460476279258728, -0.030599910765886307, -0.025472790002822876, 0.05462292581796646, 0.036568719893693924, -0.007934052497148514, 0.011897358112037182, 0.02598148211836815, -0.04311471804976463, 0.01761755347251892, -0.054497696459293365, 0.027119705453515053, 0.007288966793566942, 0.07462101429700851, -0.026596680283546448, -0.004630204290151596, 0.04055769741535187, 0.008998474106192589, 0.013409139588475227, -0.003618593793362379, 0.0019243009155616164, -0.012916596606373787, 0.002318940358236432, 0.011665779165923595, -0.013973708264529705, 0.00047852625721134245, -0.01709430105984211, 0.021640170365571976, 0.055839430540800095, 0.015114308334887028, 0.0035681440494954586, 0.046341195702552795, -0.05915791913866997, -0.07239097356796265, 0.008580396883189678, -0.02208644151687622, 0.003201311221346259, 0.018938422203063965, -0.0047662160359323025, -0.005000086035579443, 0.032648276537656784, 0.004139377735555172, 0.0001963505201274529, 0.02007504366338253, -0.006089840084314346, -0.053338706493377686, 0.08478272706270218, 0.008985606953501701, -0.020467247813940048, -0.009880243800580502, -0.04238123446702957, 0.021311819553375244, 0.02435595914721489, -0.013027055189013481, -0.07369692623615265, 0.01905674673616886, 0.0011204280890524387, 0.08572933077812195, -0.0038997267838567495, -0.05516739562153816, 0.003370631253346801, -0.025607749819755554, -0.01834937371313572, -0.07068301737308502, 0.04161321371793747, 0.06397049874067307, -0.07482568919658661, 0.003484253538772464, 0.005490978714078665, 0.05242382735013962, -0.060927655547857285, 0.018972154706716537, 0.017081527039408684, -0.018661314621567726, -0.021576039493083954, 0.0414031520485878, -0.03990492224693298, -0.027545370161533356, 0.03344924747943878, 0.04960774630308151, 0.01755206659436226, 0.006250472739338875, 0.019987188279628754, -0.048353176563978195, 0.007738200016319752, -0.03134550526738167, -0.07517033070325851, -0.05160919576883316, 0.005911673419177532, -0.06349872052669525, 0.003735947422683239, -0.004388198256492615, -0.018936946988105774, -0.08557772636413574, 0.08833727240562439, -0.03950950503349304, -0.035259831696748734, 0.034049756824970245, -0.0017326385714113712, -0.03994163125753403, -0.01425689086318016, -0.020888669416308403, 0.04153192415833473, -0.0032482026144862175, 0.04178103059530258, -0.06473352760076523, 0.04358915612101555, 0.05100076645612717, -0.05233994871377945, 0.07991188019514084, 0.06398458778858185, -0.013743500225245953, -0.04368188977241516, 0.014372963458299637, 0.028382087126374245, -0.003920667804777622, -0.025747178122401237, -0.004839457105845213, 0.008234144188463688, 0.011565560474991798, 0.019159093499183655, -0.023661978542804718, -0.0026485389098525047, 0.005843678023666143, -0.3558557331562042, -0.05064874142408371, -0.02067764662206173, -0.002138732001185417, 0.029467470943927765, -0.06409435719251633, 0.014415932819247246, -0.008739463053643703, -0.04869593679904938, -0.013652284629642963, 0.08065389096736908, 0.011694390326738358, -0.0020079694222658873, -0.08533118665218353, -0.005383361130952835, -0.0011334443697705865, -0.0446600615978241, -0.027241548523306847, -0.04771225154399872, 0.016574334353208542, -0.011987232603132725, -0.012541725300252438, -0.005221600644290447, -0.06282835453748703, 0.005474143661558628, -0.05074804648756981, 0.09728841483592987, -0.025751324370503426, 0.11079193651676178, -0.014195594936609268, 0.022683516144752502, -0.006966800894588232, 0.0352071076631546, -0.10158779472112656, 0.022248610854148865, -0.018246397376060486, -0.028814401477575302, 0.0047480822540819645, 0.02287747710943222, -0.038059573620557785, -0.034646015614271164, 0.003162119071930647, -0.06117476522922516, -0.0180464256554842, -0.048937126994132996, 0.014923163689672947, -0.03311299905180931, -0.022728782147169113, -0.022654611617326736, 0.07861711084842682, 0.016043970361351967, -0.015444433316588402, 0.017660697922110558, 0.01233995333313942, -0.004368744324892759, -0.03618035092949867, -0.07206665724515915, 0.02256125770509243, 0.02137061581015587, 0.010319084860384464, 0.03469109162688255, 0.07081116735935211, 0.031152592971920967, -0.047923021018505096, -0.002156392205506563, 0.0035405089147388935, -0.004834869876503944, -0.008531495928764343, 0.05676219239830971, -0.01397768221795559, -0.002119295531883836, 0.10517491400241852, -0.008364038541913033, -0.030054384842514992, 0.0035977375227957964, 0.04346825182437897, -0.0046019162982702255, 0.02638746239244938, 0.01816418021917343, -0.004432891495525837, 0.016834929585456848, -0.0034883422777056694, 0.02638031169772148, -0.009625456295907497, -0.004080691374838352, 0.03756716847419739, -0.00004703924059867859, -0.02030886709690094, 0.039163991808891296, 0.021170930936932564, -0.037678901106119156, -0.01146543025970459, -0.005528085865080357, -0.07169345766305923, 0.07287920266389847, 0.0008726012893021107, -0.23533602058887482, -0.007839284837245941, 0.04460979625582695, 0.054331034421920776, -0.01619761995971203, 0.020089928060770035, 0.04728763923048973, -0.043437398970127106, 0.008286847732961178, -0.002028038492426276, 0.025188593193888664, 0.025593478232622147, 0.018243027850985527, -0.011945707723498344, 0.05596166104078293, -0.005926637444645166, 0.053800538182258606, -0.008949273265898228, 0.010654132813215256, -0.007782103028148413, 0.02429228648543358, -0.014439095743000507, 0.1559722125530243, -0.011958623304963112, 0.04479328170418739, 0.02399173006415367, 0.019221579656004906, 0.031180480495095253, 0.097602479159832, 0.013635197654366493, 0.014042546972632408, 0.008641173131763935, 0.04565880447626114, -0.02612246200442314, -0.00963128823786974, -0.05529148504137993, -0.017554841935634613, 0.014630546793341637, 0.03441350534558296, -0.0018350851023569703, 0.013960348442196846, -0.00826282612979412, -0.032435569912195206, 0.008659221231937408, 0.06909547746181488, 0.020795615389943123, 0.001817002659663558, -0.054040636867284775, -0.04712870344519615, -0.004532315768301487, -0.022594787180423737, -0.027990885078907013, 0.0037570905406028032, -0.014432488940656185, 0.026509802788496017, 0.060423336923122406, 0.008906551636755466, -0.021641934290528297, -0.018184468150138855, -0.005027103237807751, -0.005783273838460445, -0.008036859333515167, 0.12370271980762482, 0.04315001145005226, 0.015433860942721367 ]
[ -0.016381068155169487, 0.0019187722355127335, -0.018580632284283638, 0.013244152069091797, 0.0005014890339225531, 0.004714080132544041, 0.006897542625665665, 0.015475882217288017, 0.014995762147009373, 0.02991701476275921, -0.016628842800855637, 0.004710249602794647, 0.020303934812545776, -0.018936213105916977, 0.008603300899267197, -0.012441758066415787, 0.0027763284742832184, -0.019697943702340126, 0.02134089730679989, 0.006267332937568426, -0.022231539711356163, 0.002094777300953865, 0.025387877598404884, -0.012465368025004864, -0.01795557327568531, 0.019190749153494835, -0.011423961259424686, -0.006888297386467457, 0.021389005705714226, -0.14175572991371155, -0.02129550650715828, -0.007149111945182085, -0.011298210360109806, -0.004517881665378809, 0.008340596221387386, 0.009572801180183887, 0.0150521295145154, 0.024435456842184067, 0.0025059657637029886, 0.005940929986536503, -0.017143474891781807, -0.016510095447301865, 0.0020408022683113813, 0.02245688997209072, -0.024667272344231606, -0.01616625487804413, -0.01327638328075409, -0.055148448795080185, -0.012440294958651066, -0.06763122230768204, -0.013222924433648586, 0.03194572031497955, -0.001890322775579989, 0.01508391834795475, 0.013013489544391632, -0.023082155734300613, 0.042674124240875244, -0.012837326154112816, -0.02254263311624527, 0.003231816692277789, -0.02941186912357807, 0.010550516657531261, -0.027007147669792175, -0.025329068303108215, -0.00820358470082283, -0.00566377816721797, -0.012670677155256271, 0.026849767193198204, -0.0010924602393060923, 0.000007258260211528977, -0.021762777119874954, 0.02452879585325718, -0.0238353218883276, -0.007320281118154526, 0.0022530988790094852, 0.02176041156053543, 0.0012946256902068853, -0.017334075644612312, 0.028625480830669403, -0.004848909098654985, -0.0357779897749424, 0.04332345351576805, 0.03299989178776741, 0.00311288982629776, 0.009267844259738922, 0.046514760702848434, 0.010446100495755672, 0.0011396018089726567, 0.013614227063953876, -0.004486256744712591, -0.009481540881097317, 0.04557343199849129, 0.0019915306475013494, 0.021859675645828247, -0.056882791221141815, -0.01952817663550377, -0.018441684544086456, -0.026050036773085594, 0.012152599170804024, 0.8865345120429993, 0.02881433814764023, 0.037173546850681305, -0.0014782176585868, 0.0030185244977474213, 0.01609933190047741, 0.005655493587255478, 0.010672060772776604, -0.02397225610911846, 0.0347556434571743, -0.00563281262293458, 0.02583925984799862, 0.0013065384700894356, 0.026357894763350487, 0.005466795526444912, -0.02650609239935875, 0.008495895192027092, -0.02609504945576191, -0.005234505515545607, 0.0033658223692327738, -0.004761131945997477, 0.027976956218481064, -0.003898247377946973, -0.009905305691063404, 0.014971529133617878, 0.021394340321421623, -0.17156769335269928, 0.027624791488051414, -9.596569106852132e-33, 0.03456951305270195, -0.01076195016503334, -0.0009912633104249835, -0.002586296061053872, 0.014429128728806973, 0.005911998450756073, 0.03392232209444046, 0.018496571108698845, -0.0007949110004119575, -0.017304612323641777, -0.0029025492258369923, -0.022743448615074158, -0.009736346080899239, -0.014925854280591011, 0.00836181640625, 0.003071699058637023, -0.030645128339529037, 0.019868502393364906, -0.02793058380484581, 0.01998513750731945, 0.0085166459903121, 0.011201254092156887, -0.005581001751124859, -0.011193358339369297, 0.031249964609742165, 0.02054840698838234, 0.0015708275604993105, 0.02731485664844513, 0.005951030645519495, -0.043338894844055176, -0.03434259444475174, 0.026963379234075546, -0.01425380539149046, -0.004134390037506819, 0.009371272288262844, -0.04393881559371948, -0.019977783784270287, 0.010104852728545666, -0.015648365020751953, -0.004852999933063984, -0.0012631166027858853, -0.012656797654926777, -0.027600152418017387, -0.0029269452206790447, 0.007974626496434212, -0.009714305400848389, 0.001195381162688136, 0.010892175137996674, 0.007481337990611792, -0.03912418335676193, 0.0036242681089788675, 0.009823247790336609, -0.002224521478638053, -0.01453962828963995, -0.03928130492568016, 0.03626091033220291, -0.011868090368807316, -0.008828265592455864, 0.017810415476560593, 0.0415387824177742, -0.007280126679688692, 0.0037013685796409845, -0.0251525416970253, 0.006808087695389986, -0.007780383341014385, -0.02744176611304283, -0.02239372394979, -0.021393800154328346, 0.017001794651150703, 0.0014816400362178683, -0.04416187107563019, -0.022423256188631058, -0.01865464821457863, -0.007389160804450512, 0.008800029754638672, 0.002647536573931575, 0.007124218158423901, 0.02369566075503826, -0.013710553757846355, 0.018490716814994812, 0.03720245137810707, -0.01816803403198719, -0.0018745216075330973, -0.0144424419850111, -0.01339222677052021, -0.011068402789533138, -0.0006124375504441559, -0.015643827617168427, 0.004782369360327721, 0.006729598622769117, 0.043998464941978455, -0.013202343136072159, -0.0058862799778580666, -0.02412588708102703, -0.019590958952903748, 9.283011131558072e-33, 0.0001742671593092382, -0.0010549831204116344, -0.04051896557211876, 0.015632206574082375, 0.009279659017920494, -0.025425946339964867, 0.01877935603260994, -0.005758705083280802, -0.0407506488263607, 0.05523286387324333, -0.020334621891379356, 0.004383435007184744, -0.007681147661060095, 0.03607535362243652, 0.03547805920243263, -0.019311359152197838, 0.019737765192985535, 0.0004312677774578333, 0.009809824638068676, 0.01157770212739706, 0.03691473230719566, 0.015359913930296898, 0.00897824577987194, -0.009615113958716393, 0.0035418204497545958, 0.04760937765240669, -0.03622632473707199, 0.019298093393445015, 0.016268108040094376, -0.006003116257488728, -0.008180166594684124, -0.002103468170389533, 0.023197315633296967, -0.007710794452577829, -0.013470607809722424, 0.012822060845792294, -0.0025055049918591976, -0.030308445915579796, 0.004781750962138176, 0.0026487354189157486, -0.0062895347364246845, -0.008077370002865791, 0.005527833476662636, 0.026658257469534874, 0.017205379903316498, 0.0006078396108932793, -0.0020618324633687735, -0.005155986174941063, 0.0036797516513615847, 0.0004771199310198426, -0.014350594021379948, 0.011531560681760311, 0.012668668292462826, 0.0029395322781056166, 0.0235217846930027, -0.017030807211995125, -0.025606371462345123, -0.0028167818672955036, 0.008621457032859325, 0.0340302474796772, -0.004203661810606718, 0.023951685056090355, -0.023811716586351395, 0.006624973379075527, -0.01783578097820282, 0.00911246333271265, -0.036735691130161285, 0.001549182110466063, -0.009485319256782532, -0.020446445792913437, -0.025286950170993805, 0.0025919899344444275, 0.020308539271354675, 0.01155237015336752, 0.022678030654788017, -0.016092300415039062, -0.047636646777391434, -0.011273836717009544, -0.0026933178305625916, 0.01670125685632229, -0.010869376361370087, -0.02298254892230034, 0.01091345027089119, 0.011175079271197319, -0.006970439571887255, 0.04216267168521881, 0.015203235670924187, 0.01375992689281702, -0.011551927775144577, -0.013862602412700653, -0.030911974608898163, 0.0019210020545870066, -0.010291766375303268, -0.0032071068417280912, -0.011024290695786476, -1.4664610858972082e-8, 0.010813967324793339, 0.011749033816158772, -0.01324382983148098, 0.0159579049795866, 0.0138561325147748, -0.005801761988550425, 0.003710523946210742, -0.008118749596178532, -0.023378752171993256, 0.026248369365930557, 0.03061065450310707, -0.006380960810929537, -0.003606947837397456, 0.003961386624723673, 0.009419835172593594, -0.0347713865339756, -0.0370267890393734, -0.009960556402802467, 0.017034607008099556, 0.031273793429136276, 0.007616997696459293, 0.0659293606877327, -0.03882930055260658, 0.03104921616613865, -0.0016358160646632314, 0.0167730450630188, 0.024575164541602135, -0.0806000754237175, 0.03158746287226677, 0.014768896624445915, 0.026547882705926895, -0.023213567212224007, -0.04120633378624916, 0.015281034633517265, -0.02968810498714447, -0.014507371000945568, 0.0004796140710823238, 0.03749444708228111, 0.03260837122797966, 0.005775164347141981, -0.011656658723950386, -0.0015884367749094963, -0.009349261410534382, -0.018905319273471832, -0.02579093910753727, -0.004122437443584204, -0.03977929800748825, -0.01805057004094124, -0.0070164683274924755, -0.023235205560922623, 0.019927414134144783, 0.007906059734523296, -0.010897868312895298, 0.02335881069302559, 0.014715801924467087, 0.007895128801465034, -0.011409363709390163, -0.010389227420091629, -0.019939959049224854, -0.010827147401869297, -0.002433664398267865, 0.02051452361047268, 0.0007162949186749756, -0.030797792598605156 ]
tdd-it-makes-you-question-what-youre-doing
https://markhneedham.com/blog/2009/09/25/tdd-it-makes-you-question-what-youre-doing
false
2009-08-03 00:46:13
Strong opinions, weakly held
[ "software-development" ]
[ "Software Development" ]
I find one of the most applicable mantras in software development is Bob Sutton's idea that we should have http://bobsutton.typepad.com/my_weblog/2006/07/strong_opinions.html[strong opinions weakly held]. The idea as I understand it is that we shouldn't sit on the fence but instead have an opinion that we research thoroughly and are prepared to back up. However, we shouldn't become too attached to those opinions but instead be prepared to listen to alternative points of view and take those on where they prove more useful than our previous opinions. I think there are a couple of reasons why it applies quite nicely to software development. The first is that it *doesn't really matter if you're 'wrong'* and it's quite rare that something you do is completely wrong - normally there might just be a way of doing something that you didn't think of previously or a technique that you didn't know about. For example, it's fine to http://blog.jayfields.com/2009/03/kill-your-darlings.html[throw away code if someone shows you a better way to do something]. In this case you are expressing your opinion (through code) about the way that you think a problem should be solved and if someone shows a different way then we can at least allow them to show us their way and then decide whether or not we like it better rather than becoming defensive that there could be another way to solve the same problem. This seems quite closely linked to the idea of http://en.wikipedia.org/wiki/Shoshin[beginner's mind] and the 'one true solution' anti pattern. The former is about having an open mind when studying a subject much like you do when you are studying something for the first time. This was an idea I came across when reading the 'http://softwarecraftsmanship.oreilly.com/wiki/wear_the_white_belt[Wear the White Belt]' entry of http://softwarecraftsmanship.oreilly.com/wiki[Apprenticeship Patterns]. The latter seems to manifest itself when we don't explicitly consider the http://www.markhneedham.com/blog/2009/03/02/trade-offs-some-thoughts/[trade offs] that always rear their head when making decisions in the world of software development and remain convinced that our solution to a problem is the only one that could possibly work. I also read another interesting post which described a situation where a team http://startuplessonslearned.blogspot.com/2009/02/throwing-away-working-code.html[threw away working code] because it no longer made sense to keep it around since it didn't add value. I can't remember working on a project where we threw away functional code in that way but it is true that having code which doesn't add value is a burden so I can certainly see how this would have been a good decision. The other reason I think strong opinions weakly held makes sense is that so often an *approach only really makes sense within a given context* and then in another context we might do something completely different. I came across a great example of this recently on my project when we came to the realisation that creating a completely separate domain model to that defined in the service layer we interact with was probably not such a good idea and that we would probably be better off just http://www.markhneedham.com/blog/2009/07/04/domain-driven-design-conformist/[conforming to the service layer's model of the system]. I was fairly convinced for a long time that this http://www.markhneedham.com/blog/2009/03/30/ddd-recognising-relationships-between-bounded-contexts/[wasn't the right thing to do] but in this situation we don't have access to the business to drive out a more accurate model and the piece of the system that we are working on probably wouldn't derive a great deal of value from doing this anyway. Therefore my opinion, which perhaps would hold in another context, didn't really make sense here so I've adapted it and in the process made it more useful to me. With both of these examples I had reasons for why I thought the approach I was taking was the best one and I was able to discuss these before realising that there was a better way and therefore changed my opinion to adopt this new knowledge. These are just a couple of examples of me changing opinions based on being shown a different/better way and I'm sure there will be many more occasions when this happens in the future, it's just the nature of software development.
null
null
[ 0.03117835707962513, 0.010718999430537224, -0.015293554402887821, 0.03362492099404335, 0.0762045681476593, 0.026085786521434784, 0.034525033086538315, 0.022279109805822372, 0.035146430134773254, -0.009885461069643497, -0.02840174362063408, 0.0167373176664114, -0.08259482681751251, 0.0044805933721363544, -0.03922827169299126, 0.07728657126426697, 0.06889081746339798, -0.00044259452261030674, 0.03483705222606659, -0.007965548895299435, 0.04107491672039032, 0.07661977410316467, 0.004377686884254217, 0.02290058322250843, 0.05713382735848427, 0.010442485101521015, 0.03648436814546585, -0.0014089602045714855, -0.05705071985721588, -0.0011771208373829722, 0.044609200209379196, 0.01737648993730545, -0.011799845844507217, -0.01170965563505888, 0.010171825997531414, 0.004861610010266304, -0.017679741606116295, 0.03159986808896065, 0.014263075776398182, 0.013051904737949371, -0.07520275563001633, 0.05001915618777275, -0.0014258159790188074, 0.00965008046478033, -0.04740578308701515, -0.015414009802043438, -0.04218469560146332, 0.019560586661100388, -0.000476207205792889, -0.01569991558790207, -0.06577984988689423, 0.03935807943344116, -0.000981567078270018, -0.012283713556826115, -0.0004846088122576475, 0.04276485741138458, 0.026051020249724388, -0.05562079697847366, -0.0031749915797263384, -0.05021308362483978, -0.00585729256272316, -0.0022833270486444235, 0.007407371420413256, 0.023201340809464455, 0.016524966806173325, -0.022770384326577187, -0.004198078997433186, 0.02420918270945549, -0.03396410122513771, 0.005808186251670122, -0.024147793650627136, 0.014554756693542004, -0.023441897705197334, -0.006862692069262266, 0.003964983858168125, -0.04620932787656784, 0.002357316669076681, 0.05767378956079483, 0.016140615567564964, 0.028509527444839478, -0.026050562039017677, 0.029728351160883904, 0.009502495639026165, 0.019098807126283646, 0.005733776837587357, -0.05270880460739136, 0.029558144509792328, -0.017317358404397964, -0.08117762207984924, 0.04768519848585129, 0.0075899530202150345, -0.053365789353847504, 0.021317752078175545, 0.052545201033353806, -0.0015900417929515243, 0.010987699031829834, 0.03826608508825302, -0.015113715082406998, -0.008236735127866268, -0.026382332667708397, -0.017095820978283882, -0.020252564921975136, 0.0044540162198245525, 0.0035798910539597273, -0.0776272639632225, 0.005931789055466652, -0.011550121940672398, -0.005746195558458567, -0.013540023006498814, 0.010088209994137287, -0.03922266885638237, 0.02120494656264782, -0.012690692208707333, 0.006986046675592661, -0.06679938733577728, 0.0595199316740036, -0.022330015897750854, -0.0557703822851181, -0.015464936383068562, 0.013685056939721107, 0.036161746829748154, 0.012122519314289093, -0.03118126094341278, 0.08362438529729843, 0.01917589083313942, 0.009802152402698994, -0.03328584134578705, 0.06281804293394089, -0.011066069826483727, -0.04850660637021065, -0.024232540279626846, 0.05089126154780388, -0.04745997488498688, -0.026428870856761932, -0.03220515698194504, -0.014937386848032475, 0.03146427124738693, 0.0014968342147767544, 0.02345646545290947, 0.0646064504981041, -0.0006002256995998323, -0.05102352052927017, 0.025306062772870064, 0.016772929579019547, 0.018294265493750572, -0.010783957317471504, 0.006793714594095945, -0.00544161070138216, -0.045531563460826874, -0.03659860044717789, 0.005141768138855696, 0.031087726354599, 0.029485149309039116, -0.032911114394664764, 0.03364893049001694, 0.07623816281557083, 0.04774267226457596, 0.02817183919250965, -0.007553677074611187, 0.02368604578077793, 0.03885127231478691, 0.0254313163459301, 0.015958983451128006, 0.021046282723546028, 0.0274270698428154, -0.022646520286798477, -0.0014681244501844049, 0.02421126514673233, -0.007390625774860382, 0.019396856427192688, -0.046254679560661316, -0.035993542522192, 0.0498647578060627, -0.0465957373380661, -0.019204413518309593, 0.044585589319467545, 0.060146503150463104, 0.0468447282910347, 0.036904167383909225, -0.012947621755301952, -0.07238081842660904, 0.026287445798516273, -0.0038206251338124275, -0.0013357229763641953, 0.022390156984329224, -0.007139031775295734, 0.048771534115076065, 0.01451019011437893, 0.00614958954975009, 0.04889629781246185, -0.07696135342121124, -0.07972871512174606, -0.010733099654316902, -0.01712571457028389, 0.0494077131152153, -0.021839657798409462, 0.008250337094068527, 0.06466197222471237, 0.009829496964812279, 0.06903844326734543, 0.023920860141515732, -0.003395726904273033, 0.01628768816590309, -0.024866947904229164, -0.051396600902080536, 0.06594370305538177, 0.031031930819153786, 0.0004607218725141138, -0.04343445971608162, 0.02121484838426113, -0.01087916549295187, -0.01797722652554512, 0.042191389948129654, -0.028238417580723763, 0.03753956779837608, 0.003965877927839756, 0.052824199199676514, -0.025062600150704384, 0.044338639825582504, -0.05428595095872879, -0.017833855003118515, -0.0024456894025206566, -0.01374361664056778, 0.024336444213986397, 0.0066421180963516235, 0.09884592890739441, 0.04805339500308037, -0.05196681618690491, -0.05867481976747513, 0.023468108847737312, 0.01680327206850052, -0.05497942119836807, 0.006961659993976355, -0.002629950875416398, 0.011176456697285175, -0.004612543620169163, -0.036752671003341675, -0.04202805832028389, 0.022555816918611526, -0.06383147090673447, 0.013341541402041912, 0.05741873010993004, -0.02307785302400589, 0.06920260936021805, -0.020722344517707825, -0.012866056524217129, 0.0008652606047689915, -0.01766725815832615, -0.056371595710515976, 0.0212568249553442, 0.009622841142117977, -0.01667104661464691, 0.04972046986222267, -0.017947804182767868, -0.033603038638830185, -0.037866365164518356, -0.019488293677568436, 0.017003746703267097, 0.03960331156849861, 0.05968035012483597, -0.012102744542062283, 0.05822623148560524, 0.0026422757655382156, 0.04151659458875656, -0.007436890155076981, -0.0422196164727211, -0.03401137888431549, -0.03893581032752991, 0.004096840508282185, 0.013672629371285439, -0.022814719006419182, 0.00925988145172596, 0.007530787959694862, 0.009372355416417122, -0.022554613649845123, -0.017854886129498482, 0.018623998388648033, 0.006857892032712698, -0.01769104413688183, -0.017085256054997444, -0.009285417385399342, 0.051308292895555496, -0.039213791489601135, -0.008586396463215351, 0.0029419914353638887, -0.07702860236167908, 0.06612898409366608, -0.06613881886005402, -0.05109560117125511, 0.017000675201416016, 0.04094953462481499, 0.052949126809835434, 0.015220237895846367, 0.035945843905210495, 0.05276112258434296, -0.004747807048261166, 0.02509070374071598, 0.0022434894926846027, 0.0025412386748939753, 0.04974265396595001, 0.020154424011707306, -0.010166767053306103, 0.03893237188458443, 0.011504950933158398, 0.007185145281255245, -0.05258666351437569, 0.05380459129810333, -0.023668628185987473, -0.29337576031684875, 0.040521588176488876, 0.001770312199369073, -0.05621006712317467, 0.017828689888119698, -0.013981839641928673, 0.009726423770189285, -0.07293904572725296, -0.015206167474389076, -0.006286302115768194, -0.03720942884683609, -0.06778555363416672, -0.017495237290859222, 0.04084547981619835, 0.010150829330086708, 0.013017919845879078, 0.029724404215812683, -0.032268889248371124, 0.01042287889868021, 0.049196284264326096, -0.011927127838134766, -0.06140223518013954, -0.010129951871931553, 0.04325937479734421, 0.038438830524683, 0.058343492448329926, -0.08343932032585144, 0.04449199140071869, -0.050178613513708115, 0.005850663408637047, -0.024006813764572144, 0.021060986444354057, 0.0054431334137916565, -0.0008291369304060936, -0.0038745147176086903, -0.006020134314894676, 0.05291728302836418, -0.015528903342783451, -0.006109204143285751, 0.04161909595131874, -0.017203805968165398, -0.022978704422712326, 0.013062712736427784, 0.04233274981379509, 0.06943489611148834, 0.012722545303404331, -0.07632386684417725, -0.0072135706432163715, -0.05532597377896309, 0.08792845159769058, -0.055107757449150085, -0.022625846788287163, 0.004396006930619478, 0.0439511202275753, -0.020791426301002502, -0.010383625514805317, 0.015872279182076454, -0.035720642656087875, -0.055321794003248215, -0.04497823864221573, -0.02075984701514244, -0.02438323386013508, -0.0008953068172559142, -0.0473182238638401, 0.008670985698699951, -0.0745769590139389, -0.06576959043741226, -0.015907082706689835, 0.07029197365045547, 0.007548083551228046, -0.03391432762145996, 0.02834615483880043, -0.02143818326294422, -0.10656426101922989, 0.002556544728577137, 0.0009283556137233973, -0.026325803250074387, -0.015773436054587364, 0.015147867612540722, 0.04401358962059021, -0.024860741570591927, -0.047699909657239914, 0.03259234130382538, 0.0027551816310733557, 0.02831028401851654, -0.004348308313637972, 0.056132689118385315, 0.01982252486050129, -0.04454617202281952, 0.012277011759579182, 0.06394847482442856, 0.015795007348060608, -0.056706298142671585, -0.03629423677921295, 0.06549083441495895, 0.020245714113116264, 0.02168876677751541, -0.030208276584744453, 0.01474940124899149, 0.022378966212272644, 0.010277432389557362, -0.06341667473316193, 0.022220738232135773, -0.009006604552268982, -0.02665475197136402, -0.015716534107923508, -0.04550207406282425, 0.04080171510577202, 0.055595625191926956, 0.01639535464346409, -0.015634141862392426, -0.028799042105674744, 0.020023662596940994, -0.018371406942605972, -0.04066287726163864, -0.02559785731136799, -0.018153643235564232, 0.03382961452007294, -0.003871918423101306, -0.011058906093239784, -0.027018219232559204, 0.003923917654901743, -0.01451207883656025, -0.016385789960622787, -0.09158534556627274, -0.019146183505654335, -0.016192302107810974, -0.03272927924990654, -0.006264673545956612, 0.02899944968521595, -0.016573535278439522, 0.023248055949807167, 0.012349922209978104, -0.03778573498129845, 0.003687760094180703, -0.02692268043756485, -0.0509275421500206, -0.02915230393409729, -0.01686009019613266, -0.01552639901638031, 0.0013556265039369464, 0.021576430648565292, 0.01671595312654972, 0.026813991367816925, 0.03858737275004387, 0.010910006240010262, 0.009312017820775509, -0.010488693602383137, 0.028465580195188522, 0.030190318822860718, -0.0057357545010745525, -0.06813259422779083, 0.03205934166908264, -0.0457017682492733, -0.018681280314922333, -0.022120550274848938, 0.019512636587023735, -0.016888568177819252, -0.016555553302168846, -0.018315661698579788, -0.001066688564606011, -0.044390324503183365, -0.05640507861971855, -0.022267987951636314, 0.036131907254457474, 0.05133472755551338, -0.018609238788485527, -0.0010891749989241362, -0.02269488014280796, -0.014755179174244404, 0.02132796123623848, 0.019626667723059654, -0.037285543978214264, -0.007651811465620995, 0.0028214231133461, 0.005445370450615883, -0.009420557878911495, -0.01914518140256405, 0.035492461174726486, 0.01094895787537098, -0.0024983887560665607, -0.04810585826635361, 0.00789689552038908, 0.02679135836660862, 0.03986712917685509, 0.00958205759525299, -0.00876028835773468, -0.026237623766064644, -0.03343665599822998, 0.006058916915208101, -0.050522323697805405, 0.0007667554309591651, 0.004561171401292086, 0.01360943540930748, -0.052485134452581406, -0.07297574728727341, 0.03494461253285408, 0.009984790347516537, 0.010841753333806992, 0.005499159451574087, -0.012479746714234352, -0.0066937911324203014, -0.031883131712675095, 0.03939581289887428, 0.06811872869729996, -0.06980098783969879, 0.010256302542984486, -0.000269366311840713, 0.008738321252167225, 0.01767517626285553, -0.022742226719856262, -0.05757315829396248, -0.004303900059312582, -0.034643568098545074, 0.002601299900561571, -0.0821085125207901, -0.029455315321683884, -0.012637509033083916, 0.006330107804387808, -0.007014090195298195, 0.004596723709255457, -0.02076297625899315, -0.006472468841820955, 0.002058168640360236, -0.01388752181082964, 0.009264565072953701, -0.04835963994264603, 0.01816747337579727, 0.013210964389145374, -0.023212973028421402, -0.028544429689645767, -0.019619636237621307, 0.01636887900531292, 0.01625927723944187, -0.01998918130993843, -0.013358552940189838, -0.012277274392545223, 0.003541689133271575, 0.0016271707136183977, 0.03730742633342743, -0.004220258444547653, -0.02738731913268566, -0.04374117776751518, -0.03481624275445938, -0.0480649434030056, 0.011802270077168941, -0.034410782158374786, -0.016557058319449425, 0.016226772218942642, 0.0596955232322216, 0.025578143075108528, 0.03477364405989647, -0.027677297592163086, -0.005813646595925093, 0.055292293429374695, -0.051712315529584885, -0.022478893399238586, -0.014335784129798412, -0.057826150208711624, -0.001901352545246482, 0.01516322884708643, 0.0356736034154892, -0.032363198697566986, 0.030517902225255966, 0.0153050497174263, 0.036955010145902634, 0.023705115541815758, 0.0014194466639310122, 0.033331889659166336, -0.05491676554083824, 0.023330435156822205, -0.08238852024078369, 0.010877732187509537, 0.001074170577339828, 0.009892495349049568, 0.0034870838280767202, -0.031594377011060715, -0.030797990038990974, 0.03378981351852417, -0.0700717493891716, -0.015878332778811455, 0.01687762513756752, -0.017649346962571144, -0.01928418129682541, 0.02784501574933529, -0.08991563320159912, 0.028330054134130478, 0.03577081859111786, -0.041802626103162766, -0.02920379862189293, -0.038064759224653244, 0.040638551115989685, 0.003542650490999222, 0.02402738854289055, -0.05342637374997139, -0.022532347589731216, 0.09311757236719131, 0.013676419854164124, -0.0023545431904494762, 0.04399850592017174, -0.003084904281422496, 0.03175355866551399, 0.04675721004605293, 0.023687321692705154, -0.023011496290564537, 0.01881459727883339, 0.009580755606293678, -0.07046236097812653, 0.024638637900352478, 0.014380192384123802, -0.03192875534296036, -0.027796946465969086, 0.054413046687841415, 0.02329130284488201, -0.03838872164487839, -0.027616256847977638, 0.000929011672269553, -0.04255395010113716, 0.01849493198096752, -0.013653657399117947, -0.024947818368673325, -0.038353871554136276, 0.062400318682193756, 0.002194053726270795, 0.030644873157143593, 0.05643322691321373, -0.007195811718702316, -0.012736807577311993, -0.017228879034519196, 0.08760202676057816, 0.04554515704512596, 0.07399674504995346, 0.00294879381544888, 0.06557709723711014, -0.026522895321249962, -0.03274419903755188, 0.0366109162569046, -0.001796482945792377, -0.01856388710439205, -0.025777820497751236, 0.027998464182019234, 0.04669135808944702, -0.0015636746538802981, 0.05228773131966591, -0.03963921591639519, -0.01849110797047615, 0.008583583869040012, 0.03582777827978134, 0.001701443106867373, 0.06876551359891891, 0.015345411375164986, 0.0010185905266553164, -0.021933013573288918, -0.03884904086589813, 0.051872774958610535, -0.05557757988572121, -0.004069175571203232, 0.02661091834306717, 0.0008766580722294748, 0.036250028759241104, 0.016673924401402473, 0.03948747366666794, 0.08878716081380844, -0.03474040329456329, 0.01562991738319397, 0.012447451241314411, 0.035368409007787704, -0.02275163121521473, 0.0048029120080173016, -0.010989300906658173, -0.013027260079979897, 0.0015697743510827422, -0.029989024624228477, -0.017870033159852028, -0.017851846292614937, -0.0201056320220232, 0.0378379225730896, -0.03922990709543228, 0.002965877065435052, 0.02949126996099949, 0.008294830098748207, -0.01908588781952858, -0.055475927889347076, -0.029721222817897797, -0.024302437901496887, -0.03970255330204964, -0.024767056107521057, 0.012068593874573708, 0.007352481130510569, -0.01812402717769146, -0.019416818395256996, 0.006620599422603846, -0.04128463566303253, 0.05622432008385658, -0.05311701074242592, -0.00239770975895226, 0.015616163611412048, 0.03315872699022293, 0.022750988602638245, 0.008132587186992168, 0.03963923454284668, 0.0038675216492265463, -0.018025221303105354, -0.009946762584149837, 0.02275088056921959, 0.01741747371852398, 0.007033186499029398, 0.012453733943402767, -0.07792823016643524, 0.0272335484623909, 0.004091276787221432, -0.02608918957412243, -0.05773919075727463, 0.02362593449652195, 0.002605101093649864, 0.0023192993830889463, 0.06375163048505783, -0.007176161278039217, -0.002420919481664896, -0.04411726072430611, -0.016485068947076797, -0.007794086821377277, 0.008981432765722275, 0.04917147383093834, -0.03121323138475418, 0.09036150574684143, 0.020460905507206917, -0.019974570721387863, -0.053370025008916855, -0.016539042815566063, 0.011255153454840183, -0.012308734469115734, -0.0035816908348351717, -0.022268492728471756, -0.004560541361570358, -0.07508504390716553, -0.019597698003053665, 0.026760336011648178, -0.02946668304502964, -0.03137819096446037, 0.05048581212759018, 0.008893615566194057, -0.02627335861325264, 0.04384395852684975, -0.04744686186313629, 0.021301403641700745, -0.027465738356113434, 0.0028076572343707085, 0.019202543422579765, 0.031290557235479355, -0.001399422180838883, 0.005302586127072573, 0.018337007611989975, -0.04482509568333626, 0.005369056016206741, 0.007164809387177229, 0.04176963120698929, 0.047311488538980484, -0.0012614054139703512, -0.006602496840059757 ]
[ -0.08685538172721863, -0.006571490317583084, -0.03636472299695015, -0.061336517333984375, 0.05213665962219238, -0.025861792266368866, 0.018485073000192642, 0.025105049833655357, -0.0049513219855725765, -0.02146400511264801, -0.010385707952082157, -0.003233591327443719, 0.009806541725993156, -0.020919431000947952, 0.06906256079673767, 0.037606023252010345, -0.005857635755091906, -0.037488676607608795, 0.017199382185935974, 0.005121344700455666, 0.002445688471198082, -0.022194992750883102, -0.01788083091378212, -0.04091859981417656, 0.03474583849310875, 0.01849082112312317, 0.01987568289041519, -0.04821864888072014, 0.015689769759774208, -0.143669992685318, 0.010297883301973343, 0.007614973932504654, 0.062364090234041214, -0.0388881079852581, -0.005255073308944702, 0.0842483788728714, 0.03755144029855728, 0.0032507337164133787, -0.014229333959519863, 0.02731005847454071, -0.001871545915491879, 0.02210407704114914, -0.03553324192762375, -0.04573056101799011, 0.016289349645376205, 0.026465073227882385, 0.008803464472293854, -0.033252324908971786, -0.05755108594894409, 0.02117231674492359, -0.066020168364048, -0.03534341976046562, -0.04717914015054703, -0.03098536841571331, -0.036492135375738144, 0.03484854847192764, 0.011665066704154015, 0.0789216086268425, -0.0054449462331831455, 0.010598422959446907, 0.03756704926490784, -0.019069133326411247, -0.1286747008562088, 0.09761074185371399, 0.03237982466816902, 0.060382284224033356, -0.04809586703777313, 0.003399911802262068, -0.042819321155548096, 0.10247015208005905, -0.0015414607478305697, -0.026518313214182854, -0.03303360193967819, 0.04388924688100815, 0.025836795568466187, 0.0045201038010418415, 0.011557690799236298, 0.02626841887831688, 0.046728748828172684, -0.046862248331308365, -0.027364296838641167, 0.02040337398648262, -0.0019252015044912696, 0.0003709379816427827, -0.02802843600511551, 0.026613855734467506, -0.00410305755212903, 0.046128179877996445, 0.04193119704723358, 0.02686254307627678, 0.060919295996427536, -0.02115592546761036, 0.01302392315119505, -0.01122248824685812, -0.06041593849658966, -0.014500892721116543, -0.0018873396329581738, 0.0319819450378418, -0.07729053497314453, 0.4312245845794678, -0.0522647388279438, -0.029280202463269234, 0.0551094226539135, 0.02027944289147854, -0.014048643410205841, 0.004815344698727131, 0.020477760583162308, -0.03839901089668274, 0.0369492769241333, -0.0229844581335783, 0.025394732132554054, 0.013738760724663734, 0.03296877071261406, -0.03518108278512955, -0.0003219897043891251, 0.03405020385980606, 0.02147664688527584, 0.0006121620535850525, -0.0031488395761698484, -0.01886274851858616, -0.021945137530565262, -0.0031305374577641487, 0.03497891500592232, -0.014016705565154552, -0.028067324310541153, -0.047307390719652176, 0.013918477110564709, 0.0698954239487648, 0.013451872393488884, -0.02017601951956749, 0.041856493800878525, -0.05593942478299141, -0.0490388460457325, -0.002723447745665908, 0.003094346495345235, 0.015968836843967438, 0.0024488158524036407, -0.014165911823511124, -0.01708480343222618, 0.061080995947122574, 0.004247688688337803, 0.0052871182560920715, 0.013223282992839813, -0.006251756101846695, -0.052177876234054565, 0.09131047874689102, 0.027616554871201515, -0.03408712521195412, -0.022838128730654716, -0.03937283158302307, 0.0013493974693119526, 0.030180256813764572, -0.015745634213089943, -0.049773212522268295, 0.03034827671945095, 0.010345909744501114, 0.07693923264741898, -0.022555124014616013, -0.07487696409225464, 0.016264237463474274, -0.008559522219002247, 0.006560598034411669, -0.05814273655414581, 0.03183700889348984, 0.05728968232870102, -0.09090398252010345, 0.0012756568612530828, -0.015993965789675713, 0.05334576591849327, -0.03733142837882042, -0.014901786111295223, 0.007899441756308079, -0.018582409247756004, -0.02764546312391758, 0.04659183323383331, -0.02821195498108864, -0.03580527752637863, 0.0026083595585078, 0.06358364969491959, 0.013029227033257484, 0.05231083184480667, 0.004512433893978596, -0.020950056612491608, 0.0075691016390919685, -0.04107959195971489, -0.06747283041477203, -0.05098017305135727, -0.025402985513210297, -0.03687671571969986, -0.03133908659219742, -0.023545537143945694, -0.024395102635025978, -0.07484325766563416, 0.09484636038541794, -0.032572533935308456, -0.035329047590494156, 0.0201981533318758, 0.004027133341878653, -0.04654094949364662, -0.014096385799348354, -0.07900449633598328, 0.018076729029417038, -0.06042034551501274, 0.00021144960192032158, -0.05195110663771629, 0.0643593817949295, 0.05779590830206871, -0.055874332785606384, 0.08001579344272614, 0.054148443043231964, -0.04549352452158928, -0.0018406452145427465, 0.00846050400286913, 0.03532732278108597, 0.023484379053115845, -0.006052515935152769, 0.006303669419139624, 0.034772101789712906, 0.00029920905944891274, 0.02362123690545559, -0.0354226753115654, 0.0035119480453431606, -0.021890204399824142, -0.3649587631225586, -0.04351591691374779, -0.02902664616703987, 0.02334706112742424, 0.04046060889959335, -0.05092019960284233, 0.02915985882282257, -0.023104852065443993, -0.03522263839840889, 0.023293595761060715, 0.07919725775718689, -0.030373917892575264, -0.005430594086647034, -0.06800148636102676, -0.002271360717713833, 0.011150806210935116, -0.042896147817373276, -0.04171547293663025, -0.06877024471759796, -0.003026798600330949, -0.009165199473500252, 0.0023326147347688675, 0.005817812867462635, -0.10260266065597534, -0.010479208081960678, -0.031620658934116364, 0.0785931721329689, 0.006578181404620409, 0.09828821569681168, 0.006087985821068287, 0.033300213515758514, -0.015061111189424992, 0.03147108480334282, -0.11328108608722687, 0.007131481543183327, -0.002111375331878662, 0.015462217852473259, -0.025490012019872665, 0.014759817160665989, -0.0242241770029068, -0.027433201670646667, 0.026723049581050873, -0.07624878734350204, -0.05439072102308273, -0.08076223731040955, 0.016698524355888367, -0.026934197172522545, -0.03134741261601448, -0.005142289213836193, 0.04709403216838837, -0.001251686830073595, 0.024356862530112267, 0.0141760790720582, 0.03343256935477257, -0.0070595392026007175, -0.04043165594339371, -0.08797220140695572, 0.02961873449385166, 0.020705657079815865, 0.008934221230447292, 0.02188596874475479, 0.04376445710659027, 0.022793641313910484, -0.06920897215604782, -0.018872976303100586, 0.011337107978761196, 0.021792450919747353, 0.00945983175188303, 0.039862774312496185, -0.005808557383716106, -0.008730397559702396, 0.12024334073066711, -0.01632903702557087, -0.04861325025558472, 0.024303359910845757, 0.017170606181025505, -0.007993210107088089, 0.03213883936405182, -0.008282576687633991, -0.024455513805150986, 0.004871923942118883, -0.02944193035364151, 0.027423793449997902, -0.018595581874251366, -0.0005028194864280522, 0.020345153287053108, -0.016816260293126106, -0.06104908511042595, 0.07502623647451401, 0.01366029679775238, -0.029420198872685432, 0.01657649129629135, -0.04585126414895058, -0.051032714545726776, 0.08604109287261963, 0.00426434725522995, -0.22083540260791779, 0.004537935834378004, 0.05243616923689842, 0.04715617001056671, -0.022909563034772873, 0.05539655685424805, 0.07365226745605469, -0.05935131385922432, -0.007835747674107552, 0.0012150154216215014, 0.010534867644309998, 0.035919442772865295, 0.005948076490312815, -0.008588340133428574, 0.04053351655602455, -0.01123633049428463, 0.07750862836837769, -0.02201961912214756, 0.04279713332653046, -0.003054067026823759, 0.017352517694234848, 0.01528711523860693, 0.1573840230703354, 0.005929881241172552, 0.033780310302972794, 0.010617186315357685, 0.009006046690046787, 0.018226230517029762, 0.056107956916093826, 0.009942933917045593, 0.027202002704143524, -0.005532062146812677, 0.028580347076058388, 0.009034039452672005, 0.019190525636076927, -0.06751102954149246, -0.028398092836141586, 0.003709465265274048, 0.04138119891285896, -0.015926502645015717, 0.02452131360769272, 0.00220525567419827, -0.008918090723454952, 0.04707328602671623, 0.07774219661951065, 0.024751150980591774, 0.019391199573874474, -0.02153783291578293, -0.042545221745967865, -0.0320434607565403, -0.04131535813212395, -0.008391164243221283, -0.008539564907550812, 0.0090571828186512, 0.031569864600896835, 0.05480042099952698, 0.043612491339445114, -0.011952890083193779, -0.011527712456882, -0.005274438299238682, -0.01338622160255909, -0.017873693257570267, 0.13051587343215942, 0.044041771441698074, 0.06309390813112259 ]
[ -0.017448291182518005, -0.015118125826120377, 0.005685816518962383, -0.035060103982686996, -0.0020152349025011063, -0.022435031831264496, -0.00042655254947021604, 0.009168066084384918, -0.00681650172919035, 0.02942824922502041, 0.002949435031041503, 0.02529291808605194, 0.034774381667375565, -0.021064069122076035, 0.013130503706634045, 0.031059077009558678, -0.0019441955955699086, -0.022141844034194946, 0.02355482615530491, 0.003258924698457122, -0.03554472699761391, 0.02974710613489151, 0.002739636693149805, -0.005474282428622246, -0.042149536311626434, 0.022533347830176353, -0.01974765583872795, -0.020407969132065773, 0.02323320135474205, -0.11483494937419891, -0.018904050812125206, -0.03412362560629845, -0.0004918805207125843, 0.0025753371883183718, -0.028988948091864586, -0.0034305008593946695, 0.011775240302085876, -0.0010416214354336262, -0.010847261175513268, -0.011536194011569023, -0.026707163080573082, 0.0024040767457336187, -0.012246866710484028, 0.015429440885782242, 0.005237211938947439, 0.0021544296760112047, -0.005700989160686731, -0.041133612394332886, -0.005668213125318289, -0.04812430590391159, -0.038225915282964706, -0.016963571310043335, -0.02688956819474697, -0.01896403357386589, 0.022421225905418396, 0.009899444878101349, 0.012077288702130318, 0.0070525361225008965, 0.01280470471829176, -0.003381750313565135, -0.004971519112586975, -0.021513966843485832, -0.06346487998962402, -0.02983090467751026, -0.004074817523360252, 0.002104284940287471, -0.013274100609123707, -0.004238051362335682, -0.035555582493543625, 0.031047526746988297, -0.017038455232977867, 0.022299300879240036, -0.018114838749170303, -0.02490234188735485, 0.02238110639154911, -0.01957758329808712, 0.006968158762902021, 0.0015619125915691257, 0.02371896244585514, -0.0230768620967865, -0.03298142924904823, 0.029273802414536476, 0.019755924120545387, 0.01001250371336937, 0.006184036377817392, -0.02747519686818123, 0.020145056769251823, -0.013004668988287449, 0.018946077674627304, 0.012337200343608856, -0.010040012188255787, 0.00487064104527235, -0.023229150101542473, 0.005019107833504677, -0.0726553201675415, -0.01102078054100275, -0.03453488647937775, -0.005249843932688236, -0.008103829808533192, 0.8871940970420837, -0.006418493110686541, 0.00792030617594719, 0.012315691448748112, -0.012247098609805107, 0.022329138591885567, 0.019695255905389786, 0.007235489785671234, 0.011530556716024876, 0.021500393748283386, -0.02421300671994686, 0.006113468669354916, 0.012920028530061245, 0.004901419393718243, 0.023391157388687134, 0.0052506341598927975, 0.031698256731033325, 0.020816732197999954, 0.01649472862482071, -0.012761887162923813, 0.020275520160794258, 0.01698124408721924, -0.008882591500878334, -0.009727959521114826, -0.017362745478749275, 0.004837057087570429, -0.192036971449852, 0.009024770930409431, -9.047420023134208e-33, 0.02409318834543228, -0.020133204758167267, 0.005094567779451609, -0.01640145666897297, -0.008053102530539036, -0.001229363726451993, 0.035338856279850006, 0.013642694801092148, -0.004413200076669455, -0.016674954444169998, 0.018664412200450897, -0.010954553261399269, -0.03366810828447342, -0.0023994131479412317, 0.06477923691272736, -0.002513469895347953, -0.0030775428749620914, 0.03295100852847099, -0.008913539350032806, 0.0033345967531204224, 0.05128803476691246, 0.03365085646510124, -0.001724285539239645, -0.02653154358267784, 0.008140330202877522, 0.03025447018444538, 0.031353909522295, -0.00018074789841193706, -0.006139666773378849, -0.03386753425002098, 0.002315542660653591, 0.012009520083665848, -0.036879390478134155, 0.0022683690767735243, -0.007547542452812195, -0.02505476586520672, -0.034228403121232986, -0.00466275867074728, 0.025468602776527405, -0.005007777363061905, -0.023216310888528824, 0.013099046424031258, -0.016117839142680168, 0.010562467388808727, -0.010704315267503262, -0.013336416333913803, 0.030582208186388016, -0.016936415806412697, 0.03329641744494438, -0.010469469241797924, -0.008643212728202343, 0.009748734533786774, 0.0310153029859066, -0.0029953240882605314, -0.01950680837035179, -0.007644664030522108, -0.005777440499514341, 0.01800917088985443, 0.0041310773231089115, 0.009732963517308235, 0.017878275364637375, -0.005197183694690466, -0.007261100225150585, 0.004965759348124266, -0.016881300136446953, -0.011318860575556755, 0.011253157630562782, 0.01754477247595787, 0.0024130847305059433, -0.03130847215652466, -0.04601772874593735, -0.025049002841114998, -0.014288455247879028, -0.008246369659900665, -0.015547174960374832, 0.010758855380117893, 0.01002322044223547, 0.017611950635910034, -0.007052232977002859, 0.021633658558130264, -0.0033985336776822805, 0.005188046023249626, -0.010775871574878693, -0.024362817406654358, 0.009470394812524319, 0.013275415636599064, 0.0007039071642793715, -0.012838085182011127, -0.011247221380472183, 0.01512062456458807, 0.01441414188593626, 0.018537286669015884, -0.022830793634057045, -0.006819804664701223, -0.0031476414296776056, 8.446076051503896e-33, 0.004803065676242113, -0.013497525826096535, -0.007869066670536995, 0.013887288980185986, 0.000522340415045619, -0.002461193362250924, -0.0016361130401492119, 0.00676462659612298, -0.04432903230190277, 0.02395728789269924, -0.03146614134311676, 0.007091496139764786, -0.016158780083060265, 0.03810134530067444, 0.011432485654950142, -0.05010586604475975, 0.013787803240120411, -0.010303807444870472, -0.0047373478300869465, -0.03366851806640625, 0.0019164069090038538, 0.007596337236464024, 0.00023819429043214768, 0.004149048123508692, 0.02007729932665825, 0.056413907557725906, -0.006468765437602997, 0.03368215262889862, 0.0074219657108187675, 0.004687049426138401, -0.004033082164824009, 0.015483108349144459, 0.03787606954574585, 0.011878452263772488, 0.009002864360809326, 0.013253441080451012, -0.006781904026865959, -0.022379117086529732, -0.004250786267220974, 0.013108993880450726, 0.028613004833459854, -0.0024771401658654213, 0.03991202637553215, -0.0028042553458362818, 0.008813845925033092, -0.016226433217525482, -0.004780055955052376, -0.00651403097435832, -0.02473573014140129, -0.004865214694291353, -0.0029654731042683125, 0.0276974868029356, 0.00818540994077921, 0.005179280880838633, -0.02851756475865841, -0.004496073350310326, -0.03737085312604904, 0.0064339404925704, -0.016728272661566734, 0.011777945794165134, -0.009194615297019482, 0.02049335278570652, -0.027855567634105682, 0.006639319472014904, -0.01975880190730095, 0.006670708302408457, 0.004928614478558302, -0.00024504715111106634, -0.006836608983576298, -0.003147937823086977, -0.020883789286017418, 0.018931327387690544, -0.004195146728307009, 0.019937235862016678, 0.025989484041929245, 0.00795985572040081, -0.014321575872600079, -0.016250405460596085, -0.03137028217315674, 0.031221140176057816, 0.006003146525472403, -0.006604648660868406, 0.028555704280734062, 0.007238051854074001, -0.0029143576975911856, 0.02700117975473404, -0.011968976818025112, 0.03452247008681297, -0.0049754255451262, -0.03989719972014427, 0.002940746955573559, -0.009945493191480637, -0.006515845190733671, 0.021801015362143517, -0.02592647448182106, -1.4202833575893692e-8, -0.016881747171282768, 0.001972352620214224, 0.003757413011044264, 0.037352606654167175, 0.022176461294293404, 0.012100132182240486, -0.03477667272090912, 0.0044126976281404495, -0.05396048352122307, 0.032037749886512756, 0.024890530854463577, -0.02052689716219902, -0.01782732643187046, -0.003515378339216113, 0.016772964969277382, -0.014441260136663914, -0.011092488653957844, -0.0025382202584296465, 0.017610061913728714, 0.001198907964862883, 0.014640574343502522, 0.037822090089321136, 0.0074007343500852585, 0.031866900622844696, 0.020246218889951706, -0.007112263236194849, -0.006604256108403206, -0.060255907475948334, -0.022013485431671143, 0.034877851605415344, 0.03353458270430565, -0.025082511827349663, -0.032516542822122574, 0.015593448653817177, 0.0036819083616137505, -0.03190324828028679, 0.02571072243154049, 0.02227230928838253, 0.011540095321834087, -0.016524165868759155, -0.014166739769279957, 0.01680993288755417, 0.006540172733366489, -0.013507815077900887, -0.004911238793283701, 0.03061959519982338, -0.035105060786008835, -0.0025219235103577375, 0.000027435393349151127, -0.03425900265574455, 0.03552901744842529, 0.00044752738904207945, 0.021569550037384033, 0.01976652257144451, 0.006753192748874426, 0.018902847543358803, -0.0014628854114562273, -0.03164566680788994, -0.02965783141553402, 0.01137374434620142, 0.017424557358026505, 0.024701060727238655, -0.00885938573628664, -0.01871844381093979 ]
strong-opinions-weakly-held
https://markhneedham.com/blog/2009/08/03/strong-opinions-weakly-held
false
2009-08-05 00:13:12
Think a little, code a little
[ "software-development" ]
[ "Software Development" ]
I recently came across an interesting post by http://weblogs.asp.net/fbouma/default.aspx[Frans Bauma] entitled 'http://weblogs.asp.net/fbouma/archive/2009/07/26/think-first-doing-is-for-later.aspx[Think first, doing is for later]' which was linked to from http://codebetter.com/blogs/jeremy.miller/archive/2009/07/28/incremental-delivery-and-continuous-design.aspx[Jeremy Miller's blog entry about incremental delivery and continuous design]. Right now I find myself in favour of Jeremy's approach which is more about writing some code and then getting some feedback on it and then writing some more code instead of spending a lot of time thinking before we write any code. My colleague http://blog.brianguthrie.com/[Brian Guthrie] http://twitter.com/bguthrie/status/2930492906[referred to this approach on twitter] as '*think a little code a little*' which I think sums it up pretty well. The example that Frans gives is centred around algorithms so I wonder whether a bit of up front design to work out that we understand the algorithm is necessary before trying to code a solution. On the other hand something that we've noticed in particular at http://www.markhneedham.com/blog/2009/07/04/coding-dojo-19-groovy-traveling-salesman-variation/[coding dojos] is that putting an idea into code helps to *generate a rhythm of progress* which we've struggled to create just by talking about the way that we think we can solve a problem. Even with algorithms I find that I understand them more easily once they are written in code rather than just spoken about conceptually or drawn out in pseudocode. My current thinking is therefore that I'd prefer to spend a little time thinking and then get the idea into the code more quickly even if that means we make more mistakes and have to do a few iterations of the code to end up where we want to be. The alternative is to spend much more time thinking up front and then maybe getting to the solution more quickly but maybe realising that our idea doesn't work once we get into the code which means we haven't got that http://www.markhneedham.com/blog/2009/07/20/coding-quick-feedback/[feedback as quickly] as we might have been able to. A similar idea is discussed in http://domaindrivendesign.org/[Domain Driven Design] where Eric Evans points out that while a model that we come up with on the whiteboard may seem perfect that doesn't actually matter if we find out that the idea doesn't quite work when we try and put it into the code. Uncle Bob has also written about the difference between http://blog.objectmentor.com/articles/2009/04/25/the-scatology-of-agile-architecture[no design up front and spending some time thinking about what we want to do] and while some of the activities that we would do while thinking through an approach would be similar to those Frans' identifies, I don't feel the planning would go into quite that depth. There is definitely a need for some thought in the process, however - what I refer to as http://www.markhneedham.com/blog/2009/07/21/good-lazy-and-bad-lazy/[lazy coding] is the extreme of what happens when we don't think at all about what we're doing and that leads to code which is completely unmaintainable and very difficult for both ourselves and our colleagues to understand. Often when we do this type of thing we like to refer to it as 'http://iancartwright.com/blog/2009/01/five-kinds-of-technical-debt.html[technical debt]' but I quite like the distinction http://twitter.com/unclebobmartin[Uncle Bob] has been making on twitter between technical debt and just http://twitter.com/unclebobmartin/statuses/3123307938[creating a] http://twitter.com/unclebobmartin/statuses/3111623316[mess]. I find the former is done as a result of us thinking about what we're doing and realising that we need to take on a bit of debt with a shortcut now and then fix it up later. The latter on the other hand seems to occur when we don't think about what we're doing and just do the easiest thing possible. An idea which I do like from the post is the idea of documenting why we made a certain decision. From my experience quite often that information just remains in the heads of the people who made the decision and then we are relying on their memory when we come across a bit of code in the future and want to know why it was written in a certain way. In http://www.markhneedham.com/blog/2009/04/25/pimp-my-architecture-dan-north/[Dan North's language] this would seem to be the job of the project sharman although I guess it wouldn't hurt to have some of that information written up on the project wiki as well. I would still probably do that bit of documentation after we'd proved that the code actually worked rather than before writing any code which is what seems to be the approach. I guess this approach does work for Frans so there is certainly some value in it from that perspective but from the projects I've worked on *working in smaller increments has worked more effectively for us*.
null
null
[ 0.02713492140173912, -0.012435538694262505, 0.0002019216335611418, 0.02336304634809494, 0.0831441581249237, 0.012758279219269753, 0.030095785856246948, 0.054689060896635056, 0.013933264650404453, -0.02431444637477398, -0.01363343931734562, -0.011681168340146542, -0.059631265699863434, -0.016752703115344048, -0.04418148472905159, 0.07518558204174042, 0.051925018429756165, -0.0023307562805712223, 0.03567713499069214, 0.014500342309474945, 0.0036425828002393246, 0.07467347383499146, 0.008346185088157654, 0.027656899765133858, 0.028247037902474403, 0.01076843123883009, 0.00797190610319376, -0.0036370332818478346, -0.0761900469660759, -0.026740888133645058, 0.04874248430132866, 0.0264373030513525, 0.010990181006491184, -0.021737318485975266, 0.022150540724396706, -0.025781771168112755, -0.02168027125298977, 0.027634406462311745, -0.005603070370852947, 0.02803558111190796, -0.06318556517362595, 0.04513101279735565, -0.0036607037764042616, 0.001328891608864069, -0.03379998728632927, 0.005576837342232466, -0.027366409078240395, 0.0014759351033717394, 0.0058877612464129925, -0.02528618462383747, -0.06749220192432404, 0.053641267120838165, 0.012183058075606823, 0.0031405584886670113, -0.010436340235173702, 0.07161083817481995, 0.03341764584183693, -0.036433011293411255, 0.00990494154393673, -0.06341139227151871, 0.01125336904078722, -0.023755600675940514, 0.005570943001657724, 0.03913947194814682, 0.024496719241142273, -0.023808030411601067, -0.011147256940603256, 0.05823512747883797, -0.028945688158273697, 0.006735574454069138, -0.012132839299738407, 0.0043404968455433846, -0.010421441867947578, -0.00444730743765831, -0.0052954815328121185, -0.02351161278784275, 0.005868904758244753, 0.07553506642580032, 0.009422407485544682, 0.03224905952811241, -0.028563331812620163, 0.0257529579102993, 0.017241010442376137, 0.03445512428879738, -0.009743141010403633, -0.00825883261859417, 0.003189263865351677, -0.007096240762621164, -0.061052605509757996, 0.062385592609643936, 0.01212545856833458, -0.06717327982187271, 0.025175468996167183, 0.039833080023527145, 0.005881371907889843, 0.005334277171641588, 0.009712939150631428, 0.036550071090459824, -0.024828333407640457, -0.012623821385204792, -0.024505596607923508, -0.014950680546462536, 0.01343571487814188, -0.01739812269806862, -0.07016687840223312, -0.014731083065271378, -0.02917409874498844, -0.017254851758480072, 0.015628939494490623, 0.006177976727485657, -0.031762100756168365, 0.011796349659562111, -0.03174624592065811, 0.0037263897247612476, -0.057997431606054306, 0.05834611505270004, -0.011806859634816647, -0.04609585553407669, -0.03177276998758316, -0.0034346941392868757, 0.04167100414633751, 0.013955355621874332, -0.012765570543706417, 0.0873461589217186, 0.0162246972322464, 0.028620921075344086, -0.00009301394311478361, 0.057731419801712036, -0.027484329417347908, -0.06043900549411774, -0.015559249557554722, 0.043837595731019974, -0.03771118074655533, -0.020703841000795364, -0.010555095970630646, -0.02878246083855629, 0.006537378299981356, 0.02060822956264019, 0.02978283166885376, 0.06154463812708855, -0.0038248056080192327, -0.0352620929479599, 0.04104173928499222, -0.005824074614793062, 0.020672127604484558, 0.0015116505092009902, 0.008745662868022919, -0.02448681741952896, -0.050050314515829086, -0.019551090896129608, 0.0006139354081824422, 0.004912402480840683, -0.00213568820618093, -0.041277483105659485, 0.04049122706055641, 0.06909234076738358, 0.037022121250629425, 0.029126020148396492, -0.009521916508674622, 0.02972475439310074, 0.04250152409076691, 0.026520082727074623, -0.0008960673003457487, 0.024560516700148582, 0.00034841944579966366, -0.021697724238038063, 0.01604212448000908, 0.047716692090034485, -0.0027763638645410538, -0.007494915276765823, -0.0578688383102417, -0.030558042228221893, 0.07405553013086319, -0.06161254644393921, -0.017477091401815414, 0.03475045785307884, 0.09329844266176224, 0.02306341379880905, 0.05397084727883339, -0.008927997201681137, -0.06365665793418884, 0.01740226335823536, 0.01769731193780899, 0.014547642320394516, 0.011445540003478527, -0.029340170323848724, 0.05998881533741951, 0.037035636603832245, 0.016192704439163208, 0.044292788952589035, -0.07533387839794159, -0.0836804136633873, -0.02623489312827587, -0.03884230554103851, 0.061031464487314224, -0.013352807611227036, 0.014915315434336662, 0.07163233309984207, 0.01856689713895321, 0.06285958737134933, 0.05052649602293968, -0.0003797905519604683, 0.01657741516828537, -0.028547927737236023, -0.029832445085048676, 0.05471695959568024, 0.04206646606326103, -0.016588537022471428, -0.06911235302686691, 0.013812593184411526, -0.00015579636965412647, -0.023446479812264442, 0.029564015567302704, -0.013485963456332684, 0.023921459913253784, 0.008541255258023739, 0.07582852244377136, -0.033133599907159805, 0.04274582117795944, -0.05429923161864281, 0.0018492048839107156, -0.006820757873356342, -0.0015295455232262611, 0.01662841998040676, 0.01969749853014946, 0.10262668877840042, 0.045913875102996826, -0.07087907940149307, -0.042441677302122116, 0.010802078992128372, 0.00272396020591259, -0.03288206458091736, -0.004961805883795023, -0.022317294031381607, -0.0008453235495835543, 0.0026814101729542017, -0.048800185322761536, -0.025359265506267548, 0.013307170942425728, -0.03433987498283386, 0.018989525735378265, 0.07607559859752655, -0.030903689563274384, 0.049279529601335526, -0.031335458159446716, -0.010997514240443707, -0.022029872983694077, -0.009748146869242191, -0.04818250238895416, 0.03296569362282753, 0.00937037356197834, -0.016078833490610123, 0.054061707109212875, -0.020684054121375084, -0.051391951739788055, -0.03080296888947487, -0.03152507543563843, -0.0025723837316036224, 0.0417293906211853, 0.05832287669181824, -0.019257478415966034, 0.05820285901427269, 0.022875718772411346, 0.032378122210502625, 0.00036287252441979945, -0.05748438462615013, -0.0546846017241478, -0.03259868919849396, 0.014863365329802036, 0.058801572769880295, -0.0036444198340177536, 0.021160263568162918, 0.021885531023144722, 0.008679311722517014, -0.03834686800837517, -0.02172527089715004, 0.04032643139362335, -0.0000864621251821518, -0.013716241344809532, -0.020481429994106293, -0.030675213783979416, 0.043149709701538086, -0.04042612388730049, -0.02417844533920288, 0.003199824597686529, -0.06224595382809639, 0.044092077761888504, -0.05970438942313194, -0.04937339946627617, 0.02158575877547264, 0.005561190191656351, 0.032804012298583984, -0.013187539763748646, 0.0323147214949131, 0.0912901908159256, 0.011226264759898186, 0.01144163217395544, -0.03316996991634369, -0.011460215784609318, 0.01372529100626707, -0.0007571250316686928, -0.010204331018030643, 0.050951097160577774, 0.014308451674878597, -0.007084827404469252, -0.03654441237449646, 0.03788413479924202, -0.010881542228162289, -0.297933965921402, 0.03509395569562912, 0.006108277011662722, -0.057615116238594055, 0.02896273136138916, 0.0007205677102319896, 0.016362549737095833, -0.035487037152051926, -0.013598077930510044, 0.015447370707988739, -0.04136297479271889, -0.04901965707540512, -0.04400535672903061, 0.03611280396580696, -0.010637911967933178, 0.022739173844456673, -0.005621008574962616, -0.022703278809785843, -0.0004108530702069402, 0.04763377085328102, -0.0036777262575924397, -0.08982162177562714, 0.004775044973939657, 0.021845750510692596, 0.0448857806622982, 0.04760008677840233, -0.11785193532705307, 0.03412432596087456, -0.04876517876982689, 0.024814365431666374, 0.0115977693349123, 0.006930652540177107, 0.019925124943256378, -0.033687204122543335, -0.021048326045274734, -0.033762212842702866, 0.045008786022663116, 0.013197113759815693, -0.010141100734472275, 0.011536788195371628, -0.022929644212126732, -0.016690142452716827, -0.01754692941904068, 0.015529192984104156, 0.06909701973199844, 0.004558142274618149, -0.07454982399940491, -0.008610946126282215, -0.029074275866150856, 0.08018819987773895, -0.029422326013445854, -0.0419401079416275, 0.006464701145887375, 0.04180881381034851, 0.002512405626475811, -0.04222383722662926, 0.00928046926856041, -0.01755758933722973, -0.030987128615379333, -0.04765700176358223, -0.0010982142994180322, -0.018122216686606407, 0.008926179260015488, -0.04236729443073273, 0.03353678062558174, -0.05231123045086861, -0.05042856186628342, -0.0035951188765466213, 0.07683338224887848, 0.028217224404215813, -0.023304669186472893, 0.04500788077712059, 0.0040647671557962894, -0.11293615400791168, -0.0008572316146455705, 0.0013814234407618642, -0.012254285626113415, -0.007205221336334944, 0.018198538571596146, 0.03563942387700081, -0.026336906477808952, -0.04159676283597946, 0.013098295778036118, 0.011761623434722424, 0.026315897703170776, -0.02135493792593479, 0.027198491618037224, 0.002336883684620261, -0.03215457871556282, 0.01789541356265545, 0.07722020149230957, 0.0023459785152226686, -0.019157571718096733, -0.03974973410367966, 0.05040982365608215, 0.02580251544713974, 0.040867798030376434, 0.002376965247094631, 0.01537823025137186, 0.01824721321463585, 0.009264595806598663, -0.06704501807689667, 0.022865111008286476, -0.018300777301192284, 0.0009633316658437252, -0.02543335221707821, -0.044053174555301666, 0.01936761662364006, 0.0346657894551754, 0.03814367577433586, -0.028439385816454887, -0.04855058714747429, -0.01084875501692295, -0.04864495247602463, -0.03644636273384094, -0.00829805713146925, 0.005772434175014496, 0.02532290853559971, -0.028337474912405014, -0.00690465047955513, -0.04485958814620972, 0.019503409042954445, -0.013062162324786186, 0.023837193846702576, -0.05196693167090416, -0.017871253192424774, -0.020827164873480797, -0.030540622770786285, 0.031465183943510056, 0.02410459704697132, -0.0005770241259597242, 0.048036184161901474, -0.015130172483623028, -0.02929702214896679, 0.018805665895342827, -0.023566847667098045, -0.029322955757379532, -0.03870322182774544, 0.0015468214405700564, -0.006742841098457575, 0.013015199452638626, 0.020275890827178955, 0.004191253799945116, 0.023248642683029175, 0.04812654107809067, 0.025754475966095924, 0.04494316130876541, -0.012407833710312843, 0.03675020858645439, 0.012496022507548332, 0.007787244860082865, -0.06539440155029297, 0.025170685723423958, -0.04388970136642456, -0.02417290210723877, -0.019979964941740036, 0.02159450203180313, -0.02494480088353157, -0.05563270300626755, -0.02029496431350708, 0.02897156961262226, -0.04864957183599472, -0.034219834953546524, -0.02642805501818657, 0.022877130657434464, 0.06237706542015076, -0.009031416848301888, 0.023795265704393387, -0.03060632199048996, -0.02343037724494934, 0.00402856944128871, 0.0062943329103291035, -0.059929315000772476, 0.006994883995503187, 0.009349157102406025, -0.01734953001141548, -0.015324721112847328, 0.0023838153574615717, 0.03390096127986908, 0.000266445946181193, -0.008861683309078217, -0.03449719399213791, 0.0025590560398995876, 0.03934209421277046, 0.05153529345989227, 0.0063370224088430405, 0.019326789304614067, 0.0009943842887878418, -0.03832840546965599, -0.028442582115530968, -0.058935780078172684, 0.003379120258614421, 0.02260112576186657, 0.033259354531764984, -0.031134482473134995, -0.07205265015363693, 0.03408964350819588, 0.020562198013067245, 0.005809556692838669, 0.010117907077074051, -0.018976010382175446, -0.004964861087501049, -0.0290797408670187, 0.04515744745731354, 0.06850755214691162, -0.04938216879963875, 0.010290834121406078, -0.01611057110130787, 0.016683455556631088, 0.007454751990735531, 0.010069089010357857, -0.0456559881567955, -0.01719401776790619, -0.03521253168582916, -0.0004315408586990088, -0.04638032242655754, -0.024389902129769325, -0.004458232782781124, 0.014689775183796883, 0.0017188703641295433, -0.017079483717679977, -0.02814045175909996, -0.004526961594820023, -0.016828885301947594, -0.02005033753812313, 0.016342220827937126, -0.03713845834136009, -0.004142832942306995, 0.021722817793488503, -0.05274851247668266, 0.0031914347782731056, -0.02764289826154709, 0.013723526149988174, 0.01979168690741062, -0.013883975334465504, -0.023439031094312668, -0.026310058310627937, 0.009709533303976059, -0.00008979716221801937, 0.03824308142066002, -0.003311032196506858, -0.027981145307421684, -0.04181353747844696, -0.018216906115412712, -0.03589737415313721, 0.03298071399331093, -0.030881058424711227, -0.004431575071066618, 0.018686732277274132, 0.07087010145187378, 0.024263080209493637, 0.03283633291721344, -0.011936952359974384, -0.015431107953190804, 0.04588405415415764, -0.06830933690071106, -0.03405044600367546, -0.03681504726409912, -0.06981022655963898, 0.00731590436771512, 0.004952370189130306, 0.021493656560778618, -0.03274152800440788, 0.04983469843864441, 0.03260377049446106, 0.04540015757083893, 0.03931904584169388, 0.005890481173992157, 0.028544876724481583, -0.043775081634521484, 0.01002054288983345, -0.07538700848817825, 0.0018551384564489126, 0.0334666408598423, 0.0252167247235775, 0.01039709523320198, -0.002552126068621874, -0.013924797996878624, 0.059204574674367905, -0.0736604630947113, -0.008145722560584545, 0.05170990526676178, -0.009909143671393394, -0.030021533370018005, 0.010189362801611423, -0.06736133992671967, 0.014603971503674984, 0.018805276602506638, -0.04979255050420761, -0.025709640234708786, -0.027771521359682083, 0.04775680974125862, 0.009330421686172485, 0.035425733774900436, -0.03239100053906441, -0.033997029066085815, 0.047134123742580414, 0.0014043517876416445, -0.02747301012277603, 0.03799034282565117, -0.00804456789046526, 0.03397414833307266, 0.03910887613892555, 0.020923873409628868, -0.015014929696917534, -0.003649813821539283, -0.0059740059077739716, -0.04495663940906525, 0.03982346132397652, 0.01045256294310093, -0.04810795187950134, -0.04295036196708679, 0.06503791362047195, 0.03172304853796959, -0.03249574080109596, -0.04355104640126228, 0.003372909501194954, -0.0768817812204361, -0.015710506588220596, -0.0018286118283867836, 0.0031452756375074387, -0.04439879208803177, 0.051314692944288254, 0.000066949418396689, -0.016364911571145058, 0.05923043563961983, -0.01615455001592636, -0.0034386045299470425, -0.032113753259181976, 0.08581152558326721, 0.07799980789422989, 0.05904484912753105, -0.012675467878580093, 0.06139155849814415, -0.028515052050352097, -0.023526666685938835, 0.009574325755238533, -0.024609778076410294, -0.01155858300626278, -0.04807806387543678, 0.023343835026025772, 0.051225900650024414, -0.006093019153922796, 0.06351678818464279, -0.043411437422037125, -0.028160689398646355, 0.009539810009300709, 0.05183250457048416, 0.0009471735684201121, 0.07982084900140762, 0.01391232293099165, 0.00466986745595932, -0.021583419293165207, -0.0448104664683342, 0.02145232819020748, -0.047671739012002945, 0.0008013137266971171, 0.023028485476970673, 0.011910764500498772, 0.016307741403579712, -0.009033276699483395, 0.007851263508200645, 0.09263594448566437, -0.029736975207924843, 0.007072713691741228, -0.011606546118855476, 0.020771484822034836, -0.018869226798415184, -0.004105780739337206, -0.015677254647016525, -0.008841068483889103, -0.00473089748993516, -0.004830374848097563, -0.02156052365899086, -0.006351207848638296, -0.010342132300138474, 0.04583162069320679, -0.012585693039000034, -0.015633881092071533, 0.024134084582328796, 0.00855017825961113, -0.05025345832109451, -0.05368144437670708, -0.025556428357958794, -0.04402339458465576, -0.05461661145091057, -0.021196085959672928, 0.03783971816301346, -0.023280978202819824, -0.012739778496325016, -0.024379247799515724, -0.03209396451711655, -0.03736236318945885, 0.02420900948345661, -0.04203641787171364, -0.020336361601948738, 0.02397790551185608, 0.028474174439907074, 0.05282950773835182, 0.031665753573179245, 0.03448282182216644, -0.013337095268070698, -0.0013848727103322744, -0.03649323433637619, 0.007267193403095007, 0.015452396124601364, 0.025274155661463737, 0.007870210334658623, -0.07547655701637268, 0.0182039737701416, 0.01981036365032196, -0.006973741576075554, -0.05532463639974594, 0.01927407830953598, 0.0005392874591052532, 0.0024399899411946535, 0.04327069967985153, -0.039502713829278946, 0.02537580020725727, -0.050767384469509125, -0.00007474164158338681, 0.0008986095781438053, 0.014081079512834549, 0.04005373269319534, -0.02454238012433052, 0.07940631359815598, -0.0011776229366660118, -0.02585948072373867, -0.031916793435811996, -0.01879759319126606, -0.004782462492585182, 0.013164184056222439, -0.009750510565936565, -0.03725302591919899, -0.037841230630874634, -0.07193783670663834, -0.010268528945744038, 0.020608477294445038, -0.01311707403510809, -0.03135700523853302, 0.04717491194605827, 0.027536820620298386, -0.03916804865002632, 0.029060741886496544, -0.04299359768629074, 0.033880677074193954, -0.01337022427469492, -0.011785507202148438, 0.006282842718064785, -0.0011925837025046349, 0.007180449087172747, 0.0053159617818892, -0.007377382833510637, -0.024210358038544655, 0.0045222332701087, 0.0057287695817649364, 0.0333724245429039, 0.03196597099304199, 0.009064044803380966, -0.0122933154925704 ]
[ -0.11521603167057037, -0.008932574652135372, -0.03152674809098244, -0.052154865115880966, 0.011928140185773373, -0.004354219883680344, -0.032174404710531235, 0.026642894372344017, 0.021115213632583618, -0.021207138895988464, 0.009456719271838665, -0.0012137681478634477, -0.025918537750840187, 0.0012736740754917264, 0.06840786337852478, 0.023122742772102356, -0.011139157228171825, -0.07057874649763107, 0.011644371785223484, 0.006369998678565025, 0.02673320658504963, -0.03283343091607094, -0.032349493354558945, -0.05060548335313797, 0.0010923779336735606, 0.02690301090478897, 0.04550578072667122, -0.05885273218154907, 0.019132986664772034, -0.16041307151317596, 0.0021862350404262543, 0.00859735906124115, 0.06396002322435379, -0.04770396277308464, -0.015041587874293327, 0.04682724177837372, 0.02739126980304718, 0.04743437096476555, -0.01669752225279808, 0.03142331540584564, -0.005408373661339283, 0.02101070247590542, -0.052514467388391495, -0.014563806354999542, 0.018723320215940475, 0.001810567919164896, 0.011007399298250675, -0.043297093361616135, -0.033236343413591385, 0.01410856656730175, -0.052727703005075455, -0.04120071604847908, -0.018576856702566147, -0.021183311939239502, -0.009717783890664577, 0.026031799614429474, 0.012474115006625652, 0.056312691420316696, 0.0033629301469773054, 0.0019256114028394222, 0.042472295463085175, -0.025600800290703773, -0.14311568439006805, 0.11948739737272263, 0.044783227145671844, 0.06438364088535309, -0.0450727753341198, -0.016431119292974472, -0.02753506973385811, 0.11908715218305588, 0.008731929585337639, -0.016374709084630013, -0.028962641954421997, 0.055703748017549515, 0.0366554819047451, 0.0029716885183006525, 0.02384592406451702, 0.027778683230280876, 0.049995239824056625, -0.03916674479842186, -0.013393730856478214, -0.02046838216483593, -0.028116967529058456, -0.003801134414970875, -0.061022695153951645, 0.016116689890623093, -0.0147543428465724, 0.026537997648119926, 0.04975296929478645, 0.013129006139934063, 0.038755886256694794, -0.03204597532749176, 0.022673290222883224, -0.021207723766565323, -0.060145098716020584, -0.021403521299362183, -0.017287742346525192, 0.019910400733351707, -0.03816621005535126, 0.392995685338974, -0.04374363645911217, -0.011916621588170528, 0.08003587275743484, 0.03353822976350784, -0.02094760537147522, -0.027853190898895264, 0.03263262286782265, -0.040476132184267044, 0.018366098403930664, -0.03369496390223503, -0.005374953616410494, 0.01689460128545761, 0.06366687268018723, -0.015864724293351173, 0.027932897210121155, 0.018659185618162155, 0.020555635914206505, 0.011514836922287941, 0.03066421113908291, 0.006722013931721449, 0.003788479370996356, 0.0037070869002491236, 0.01571441814303398, -0.013502378016710281, -0.02500981278717518, -0.02106730453670025, 0.0036754608154296875, 0.07829277962446213, 0.02480088174343109, -0.0007278000703081489, 0.0835915207862854, -0.03572993725538254, -0.033301014453172684, -0.006350971758365631, 0.007384192664176226, 0.010829061269760132, 0.04033442586660385, -0.0020505066495388746, -0.012339562177658081, 0.026579642668366432, 0.003233602736145258, 0.022527793422341347, 0.026699747890233994, -0.018054602667689323, -0.01601632498204708, 0.12990933656692505, 0.021389037370681763, -0.031074050813913345, -0.02017994411289692, -0.051871586591005325, 0.012410853989422321, 0.03317786008119583, -0.0027120697777718306, -0.06789495795965195, 0.009225563146173954, 0.025138819590210915, 0.0848604366183281, -0.019808940589427948, -0.06132054701447487, -0.011470737867057323, -0.022399751469492912, -0.00679817097261548, -0.05569271743297577, 0.043474163860082626, 0.048448413610458374, -0.1054040789604187, -0.006663884036242962, -0.02772005833685398, 0.039204396307468414, -0.06635358929634094, -0.012592163868248463, 0.017570972442626953, -0.03744221106171608, -0.024471517652273178, 0.06334333121776581, -0.014535092748701572, -0.039146531373262405, 0.024028809741139412, 0.07785840332508087, 0.03271298483014107, 0.03855157271027565, -0.0012660278007388115, -0.023510649800300598, 0.0011817150516435504, -0.04966116324067116, -0.09932241588830948, -0.00853606965392828, -0.012537647970020771, -0.04097175598144531, -0.021711133420467377, -0.013206650502979755, -0.019711101427674294, -0.07378745824098587, 0.06886336952447891, -0.03418032452464104, -0.02521548420190811, 0.03957735747098923, -0.02131984382867813, -0.018566008657217026, -0.03230252489447594, -0.04033929482102394, 0.012311642989516258, -0.0427919402718544, 0.02503291517496109, -0.041351303458213806, 0.04538837447762489, 0.052393838763237, -0.0525982491672039, 0.06879058480262756, 0.06190145015716553, -0.06652028113603592, -0.04108938202261925, 0.025846173986792564, 0.033611491322517395, 0.004753492306917906, -0.023603858426213264, 0.005833125207573175, 0.026648661121726036, 0.001849996275268495, 0.02725129947066307, -0.03461837023496628, -0.01735881343483925, 0.002800221089273691, -0.33537817001342773, -0.03682403266429901, 0.0087014464661479, -0.02036767639219761, 0.03034565970301628, -0.07014830410480499, -0.010971407406032085, -0.021790537983179092, -0.02304498851299286, -0.0014868411235511303, 0.05717075243592262, -0.0221224594861269, 0.02806253172457218, -0.06723637878894806, -0.014767391607165337, -0.005408113822340965, -0.01463199220597744, -0.02629180997610092, -0.029778242111206055, 0.0046514468267560005, -0.035479940474033356, 0.025251800194382668, -0.00558188371360302, -0.10315275937318802, -0.013515321537852287, -0.04286692664027214, 0.1079176589846611, 0.0033637031447142363, 0.12084400653839111, -0.03924497589468956, 0.015355835668742657, 0.0075759426690638065, 0.032931942492723465, -0.1078968271613121, 0.015282068401575089, -0.027637571096420288, 0.03518587350845337, -0.01662195846438408, 0.029224587604403496, -0.03152865543961525, -0.03832444176077843, -0.003327664453536272, -0.05029551312327385, -0.04179026931524277, -0.07029831409454346, -0.0077514625154435635, -0.04893529787659645, -0.049621082842350006, -0.014143234118819237, 0.06605082750320435, 0.008641038089990616, -0.00009569306712364778, 0.003704423550516367, 0.010382301174104214, -0.005200264975428581, -0.04128978028893471, -0.05456608533859253, 0.0008574809762649238, -0.015195269137620926, 0.0223385076969862, 0.04861382395029068, 0.040098994970321655, 0.017932677641510963, -0.028117479756474495, 0.010341388173401356, 0.02891380712389946, -0.011812730692327023, -0.022419404238462448, 0.0428590252995491, -0.0017775946762412786, -0.013980094343423843, 0.14300952851772308, -0.01648528315126896, -0.036079902201890945, 0.022673120722174644, 0.01259408425539732, -0.006970567163079977, 0.04914013296365738, 0.034538477659225464, 0.015975549817085266, 0.0068079084157943726, -0.03612399473786354, 0.03827456012368202, -0.038359157741069794, -0.005256556905806065, 0.0257355198264122, -0.04092242568731308, -0.05032660812139511, 0.021465932950377464, 0.019986677914857864, -0.027432609349489212, 0.01996326446533203, -0.016817590221762657, -0.06121550872921944, 0.06848771870136261, -0.02381821535527706, -0.22861668467521667, 0.007757971528917551, 0.06759659945964813, 0.04879286140203476, -0.023143501952290535, 0.05793321877717972, 0.07714559882879257, -0.06946854293346405, -0.0024705221876502037, -0.002939998870715499, -0.0067886896431446075, 0.04047985002398491, 0.012799665331840515, 0.02901875041425228, 0.04571852460503578, -0.013697320595383644, 0.053622499108314514, -0.012444885447621346, 0.01568298414349556, -0.020678095519542694, 0.013923756778240204, -0.01204200740903616, 0.18128035962581635, -0.0015828135656192899, 0.04036717116832733, 0.02109859324991703, 0.01669272780418396, 0.019367065280675888, 0.0920930728316307, 0.017271723598241806, 0.015562644228339195, 0.00292769237421453, 0.04381592571735382, -0.007770678959786892, 0.05178361386060715, -0.08555631339550018, -0.03796890377998352, 0.059929490089416504, 0.03364670276641846, -0.009851972572505474, 0.020745035260915756, -0.01205466315150261, -0.00899368617683649, 0.022550852969288826, 0.07022785395383835, 0.025242455303668976, 0.00020305279758758843, -0.05038173124194145, -0.06995522230863571, -0.005048080813139677, -0.04272009804844856, -0.024935360997915268, 0.02286648377776146, -0.00033250567503273487, 0.01870683580636978, 0.054212454706430435, 0.018983006477355957, -0.023434974253177643, -0.04550386965274811, 0.012223616242408752, 0.0010994109325110912, -0.019521204754710197, 0.13357628881931305, 0.03461142256855965, 0.04722744598984718 ]
[ -0.005574509501457214, -0.0024585467763245106, -0.008767561987042427, -0.0020568144973367453, -0.025390658527612686, -0.01741851679980755, 0.017367655411362648, 0.017925962805747986, -0.022620024159550667, 0.013762847520411015, -0.005108398851007223, 0.029800305142998695, 0.002543921582400799, -0.01682637445628643, 0.012264844961464405, 0.014607644639909267, 0.039052631705999374, -0.01514974795281887, 0.03962915763258934, 0.023044202476739883, -0.008905279450118542, 0.016780085861682892, 0.0012286037672311068, -0.014117170125246048, -0.013482951559126377, 0.03964811936020851, -0.02496587112545967, -0.016864167526364326, 0.037828534841537476, -0.1276770383119583, -0.01962866634130478, 0.0019526972901076078, -0.005159161519259214, -0.0005049195606261492, 0.005118220578879118, 0.011157359927892685, -0.019078442826867104, 0.009199490770697594, 0.013542739674448967, 0.006242853123694658, 0.0023482595570385456, -0.006676694843918085, -0.014937412925064564, 0.022370534017682076, 0.007236441131681204, -0.01795259863138199, -0.011217416264116764, -0.027257956564426422, -0.004689798224717379, -0.03664577007293701, -0.019095152616500854, 0.005615559872239828, -0.0230601504445076, -0.01605726033449173, 0.006232462357729673, -0.015072436071932316, 0.00572303868830204, -0.01199263334274292, -0.003459667321294546, -0.02139427326619625, 0.018053928390145302, -0.005845384206622839, -0.055903926491737366, -0.017441987991333008, -0.014972045086324215, 0.015053852461278439, -0.021052002906799316, -0.0012459743302315474, -0.04112650081515312, 0.010755455121397972, -0.008651641197502613, 0.034089095890522, -0.024607261642813683, 0.0069635240361094475, 0.03259912133216858, -0.026605557650327682, 0.021905213594436646, 0.00704520009458065, 0.016440963372588158, -0.01879163086414337, -0.027440672740340233, 0.013703571632504463, 0.031117046251893044, 0.020397547632455826, -0.03429261967539787, 0.002181512536481023, 0.044297389686107635, 0.019510842859745026, 0.011821132153272629, -0.029045067727565765, 0.004564928822219372, 0.029076362028717995, -0.01742454431951046, 0.013642978854477406, -0.10728492587804794, -0.009897613897919655, -0.04596562683582306, -0.013963662087917328, 0.0067527685314416885, 0.8508824706077576, -0.0049713426269590855, 0.024138789623975754, 0.04053692892193794, 0.0051334514282643795, -0.0012017504777759314, -0.011890149675309658, -0.00026519372477196157, 0.009646491147577763, 0.023903140798211098, -0.03051971271634102, -0.023730088025331497, 0.011670056730508804, 0.02986595407128334, 0.02808741107583046, 0.01887095533311367, 0.03582804277539253, -0.011133086867630482, -0.008876943029463291, 0.016039855778217316, 0.0004825930227525532, 0.03048863634467125, -0.010402420535683632, 0.01720469444990158, 0.017907684668898582, 0.02520770952105522, -0.17488455772399902, 0.024732209742069244, -8.363540185028848e-33, 0.0072035943157970905, -0.020187214016914368, 0.009813752956688404, -0.014498794451355934, 0.04062701389193535, -0.025043370202183723, 0.04653463140130043, -0.004840818699449301, -0.02574978955090046, -0.010233103297650814, -0.013753464445471764, -0.024597009643912315, -0.013149415142834187, -0.0028223050758242607, 0.04554332047700882, -0.03338305652141571, -0.002418710384517908, 0.03581595420837402, 0.01903890073299408, 0.00012825265002902597, 0.0592871829867363, 0.011183722876012325, -0.0022091232240200043, -0.006784284953027964, 0.019117627292871475, 0.014726554043591022, -0.001702860463410616, 0.033333003520965576, -0.019622288644313812, -0.03982023149728775, -0.024644332006573677, 0.04278014972805977, -0.05488467961549759, -0.012030643410980701, -0.03074001707136631, -0.01896572858095169, -0.01862817257642746, 0.0008783660014159977, -0.02317974343895912, -0.013266278430819511, -0.038840729743242264, 0.018325896933674812, -0.057734936475753784, 0.02339019998908043, -0.02113408036530018, -0.00354839232750237, -0.011103587225079536, 0.00848940759897232, 0.028818584978580475, 0.0010751839727163315, 0.00896406639367342, 0.03133745118975639, 0.008765734732151031, -0.004463473800569773, -0.022138912230730057, 0.004367461893707514, -0.0008555873646400869, -0.019473282620310783, -0.005169132724404335, 0.042020153254270554, 0.046349331736564636, -0.03823845461010933, -0.021617630496621132, 0.01793435774743557, 0.0028874268755316734, -0.026681656017899513, 0.018472513183951378, 0.017614375799894333, 0.017134277150034904, -0.006897956598550081, -0.056262653321027756, -0.007046198472380638, -0.009419317357242107, -0.02380545437335968, 0.018206901848316193, -0.0009708743309602141, 0.009124619886279106, 0.017166756093502045, -0.020197799429297447, 0.023927120491862297, -0.002551852958276868, 0.0021932136733084917, -0.006458880379796028, -0.02642352506518364, 0.006883243098855019, 0.002485786797478795, 0.015503027476370335, -0.003145658178254962, -0.015255894511938095, 0.021737871691584587, 0.014238409698009491, -0.010930432006716728, 0.004535055253654718, -0.021057259291410446, -0.016602877527475357, 8.844684716499795e-33, -0.025963373482227325, 0.006509801838546991, -0.03643026202917099, 0.009719167836010456, 0.009124938398599625, 0.014660241082310677, 0.06080542504787445, 0.008136001415550709, -0.039452921599149704, 0.04514778405427933, -0.014260351657867432, 0.015145198442041874, -0.017849626019597054, 0.04339193180203438, 0.022026102989912033, -0.05033807456493378, 0.020678650587797165, -0.025447500869631767, 0.026430875062942505, 0.024598143994808197, 0.027480926364660263, 0.02125720866024494, -0.02618839591741562, -0.015151116997003555, 0.014995094388723373, 0.066666379570961, -0.026348255574703217, 0.02994021773338318, -0.021843161433935165, -0.021527688950300217, 0.005429673939943314, -0.00981995277106762, 0.008047721348702908, -0.025130515918135643, -0.01919126696884632, 0.026478169485926628, -0.026360299438238144, -0.01820477470755577, 0.012883835472166538, 0.008472749963402748, 0.02025737799704075, -0.011744569055736065, 0.025640349835157394, 0.0032957103103399277, 0.034875672310590744, 0.007729204371571541, -0.02125576324760914, -0.03193025290966034, -0.027899453416466713, 0.03457639738917351, -0.00525719253346324, 0.03393726423382759, 0.006427850108593702, -0.00695685762912035, -0.01523562241345644, -0.005224253516644239, -0.029128773137927055, -0.01279128435999155, -0.00719376839697361, 0.04375860095024109, -0.008956310339272022, 0.009484582580626011, 0.01074511930346489, 0.0019529060227796435, -0.008533468469977379, -0.03658809885382652, 0.012522042728960514, -0.0263203252106905, -0.01360260508954525, -0.00454310979694128, -0.0265449658036232, 0.023796644061803818, 0.0067124818451702595, 0.060256101191043854, 0.023771928623318672, -0.04877211153507233, -0.02203856222331524, 0.01312157791107893, -0.020122312009334564, 0.02516556903719902, -0.009037193842232227, 0.016406893730163574, -0.0006529050297103822, 0.030944660305976868, -0.03845631703734398, 0.004276566207408905, -0.007260463200509548, -0.011007617227733135, 0.032862339168787, -0.025635695084929466, 0.005459675565361977, -0.018003493547439575, -0.006756375543773174, -0.0014440104132518172, -0.02579544298350811, -1.3754404726284974e-8, -0.029267139732837677, 0.023640666157007217, -0.013591529801487923, 0.006450973451137543, 0.07111324369907379, 0.02327851578593254, -0.014211168512701988, 0.002208712510764599, -0.043057747185230255, -0.0014204152394086123, 0.03725222125649452, 0.013082348741590977, -0.0042593409307301044, 0.02308129519224167, -0.00829615443944931, -0.041102055460214615, -0.007932350970804691, -0.04668420925736427, 0.030269883573055267, -0.022017544135451317, 0.020248951390385628, 0.08267472684383392, -0.012833412736654282, 0.0024483450688421726, 0.036042384803295135, -0.023097297176718712, -0.0028183110989630222, -0.06537527590990067, 0.013915115967392921, 0.005679359659552574, -0.0053355940617620945, -0.0016372521640732884, 0.009691786952316761, 0.04153349623084068, -0.00503474660217762, -0.04068797826766968, 0.022600652649998665, 0.04913583770394325, 0.009528904221951962, -0.023571332916617393, 0.028281278908252716, -0.00405183294788003, 0.02022022381424904, -0.029065730050206184, -0.029088161885738373, 0.02614818513393402, -0.017546318471431732, -0.012261110357940197, 0.023581892251968384, -0.04278779774904251, 0.017209205776453018, 0.005685885902494192, 0.007106638513505459, 0.031624969094991684, 0.027859322726726532, -0.023235991597175598, -0.02056099846959114, -0.053803686052560806, -0.007693382911384106, 0.021315157413482666, -0.013639971613883972, 0.04320486634969711, -0.009819824248552322, -0.026848549023270607 ]
think-a-little-code-a-little
https://markhneedham.com/blog/2009/08/05/think-a-little-code-a-little
false
2009-08-18 00:33:11
Pulling from github on Windows
[ "git", "github" ]
[ "Version Control" ]
My colleague http://intwoplacesatonce.com/[Dave Cameron] has been telling me about his adventures playing around with http://github.com/henon/GitSharp/tree/master[Git Sharp] (a C# port of the Java Git implementation http://www.jgit.org/[jGit]) so I thought I'd get a copy of the code and have a look as well. I tend to check out all code bases from my host machine instead of virtual machine so I got the code all checked out on the Mac and accessed it via a shared folder on my VM. The problem with doing this is I was unable to run the tests due to http://msdn.microsoft.com/en-us/library/ms345097.aspx[the following error] which I received repeatedly: [source,text] ---- System.Security.SecurityException: That assembly does not allow partially trusted callers. at GitSharp.Tests.ObjectCheckerTests.testInvalidCommitNoTree2() ---- I'm not sure exactly why I got this error but it's probably due to the fact that I didn't open the project in normal mode since I am accessing it on a shared drive. I decided it would probably just be quicker to checkout the code directly from the VM instead. I installed http://code.google.com/p/msysgit/downloads/list[msysgit] which all worked fine and then I went to clone my repository: [source,text] ---- C:\Playbox>git clone [email protected]:mneedham/GitSharp.git ---- Which resulted in the following error: [source,text] ---- Initialized empty Git repository in C:/Playbox/GitSharp/.git/ Permission denied (publickey). fatal: The remote end hung up unexpectedly ---- I had the public key setup on my github account from when I was using Git from my Mac but I hadn't setup the private key that it requires inside my VM! Browsing through http://github.com/guides/providing-your-ssh-key#windowsxp[the instructions on the github website] I realised that I needed to copy my private key into the '.ssh' folder (which as I understand is the default folder for ssh settings to be stored). This folder needs to be at the root of your *user folder* rather than at the root of the drive as I originally thought. Therefore it should be at 'C:/Documents and Settings/Administrator/.ssh' for example rather than 'C:/.ssh' as I mistakenly had it. I couldn't find a way to create a folder which started with a '.' from Windows explorer so I just created a folder called 'ssh' and then renamed it using 'mv ssh .ssh' from the command line. I then copied my private key (which I got from the Mac by running 'less ~/.ssh/id_rsa') into a file called 'id_rsa' inside the '.ssh' folder and all was good: [source,text] ---- C:\Playbox>git clone [email protected]:mneedham/GitSharp.git Initialized empty Git repository in C:/Playbox/GitSharp/.git/ Enter passphrase for key '/c/Documents and Settings/Administrator/.ssh/id_rsa': remote: Counting objects: 3138, done. remote: Compressing objects: 100% (880/880), done. remote: Total 3138 (delta 2319), reused 3039 (delta 2220) Receiving objects: 100% (3138/3138), 3.72 MiB | 191 KiB/s, done. Resolving deltas: 100% (2319/2319), done. Checking out files: 100% (505/505), done. ---- In the process of working out what I'd done wrong I came across http://devlicio.us/blogs/sergio_pereira/archive/2009/05/06/git-ssh-putty-github-unfuddle-the-kitchen-sink.aspx[a nice post by Sergio Pereira which describes the whole process of getting up and running with Git] in more detail.
null
null
[ 0.004553772043436766, -0.011595712043344975, -0.0040985411033034325, 0.07361601293087006, 0.07958271354436874, 0.026306329295039177, 0.05899420753121376, 0.02106880024075508, -0.005204027518630028, -0.02230808138847351, -0.01730305887758732, -0.002952352399006486, -0.08757495880126953, 0.02813965454697609, -0.055867407470941544, 0.0583324171602726, 0.07672842592000961, -0.03030264936387539, 0.011900113895535469, -0.003691004356369376, 0.010430531576275826, 0.07999034970998764, -0.02068411000072956, 0.029407866299152374, -0.002496561734005809, 0.028498470783233643, 0.02329082041978836, -0.013151817955076694, -0.047084324061870575, -0.03925953432917595, 0.047623082995414734, -0.0017583139706403017, 0.039379242807626724, -0.034162864089012146, -0.00018668037955649197, -0.012273237109184265, -0.04735436663031578, 0.04132765904068947, 0.02691323310136795, 0.02935907430946827, -0.06116894260048866, 0.02623129077255726, -0.00656474195420742, 0.010457535274326801, -0.03346994146704674, 0.022854777052998543, -0.05493180826306343, 0.019684094935655594, -0.03479268029332161, -0.01332364697009325, -0.044180773198604584, 0.04282919690012932, -0.04701065644621849, -0.010325395502150059, -0.01749734953045845, 0.04277738928794861, 0.022389914840459824, -0.07000713050365448, 0.03453272953629494, -0.05436989292502403, -0.010942439548671246, -0.040060434490442276, 0.013519812375307083, 0.025669628754258156, 0.016053559258580208, -0.023052047938108444, 0.014389346353709698, 0.05467694625258446, -0.04311398044228554, -0.0039795623160898685, 0.019575772807002068, 0.0038780129980295897, -0.008846892975270748, -0.023264341056346893, 0.02161865122616291, -0.060484565794467926, 0.004123097285628319, 0.06595124304294586, 0.022583866491913795, 0.07670192420482635, -0.02935319021344185, 0.02615799941122532, 0.028763381764292717, 0.007280584424734116, 0.0015434917295351624, -0.03080090321600437, -0.03531748056411743, -0.00474304286763072, -0.05503040552139282, 0.06316814571619034, -0.0011991537176072598, -0.02487199194729328, 0.0011903316481038928, 0.012094062753021717, 0.015622328966856003, 0.01405919436365366, 0.028126556426286697, -0.005238350015133619, 0.01980266347527504, -0.006430865731090307, -0.02379579469561577, 0.01465124636888504, 0.010588624514639378, 0.02588721178472042, -0.07151947170495987, 0.019284183159470558, 0.0003781451960094273, -0.026942476630210876, -0.00510437460616231, -0.011847925372421741, -0.03178030997514725, 0.028504841029644012, -0.014485598541796207, -0.012962504290044308, -0.055203117430210114, 0.07905642688274384, 0.006657494697719812, -0.06272415071725845, -0.0067540849559009075, 0.028521688655018806, 0.038574375212192535, 0.025337863713502884, -0.027728265151381493, 0.07665004581212997, 0.030120370909571648, 0.04449276998639107, -0.0180651918053627, 0.03158298507332802, -0.014174207113683224, -0.07257712632417679, 0.00818982906639576, 0.05426868423819542, -0.011358487419784069, -0.0051580797880887985, -0.001033086678944528, -0.023354561999440193, 0.007296444848179817, 0.01118899043649435, 0.037118200212717056, 0.025151055306196213, -0.02005493827164173, -0.038682784885168076, 0.002085763728246093, -0.00045789394062012434, -0.004543554037809372, 0.022425835952162743, -0.004171049688011408, -0.014582188799977303, -0.05431881174445152, 0.046881794929504395, 0.01967591978609562, 0.03875097632408142, 0.05568649247288704, -0.04070056602358818, 0.01771371066570282, 0.08692609518766403, 0.023744996637105942, 0.005928158760070801, 0.005201492924243212, 0.030726490542292595, 0.033919256180524826, 0.048172835260629654, 0.00868480745702982, 0.03308858349919319, 0.00545827392488718, 0.00046337596722878516, 0.0017298239981755614, 0.03496691584587097, -0.021054262295365334, -0.013168753124773502, -0.08364612609148026, -0.04317033290863037, 0.044087961316108704, -0.06951974332332611, -0.0075674355030059814, 0.043887145817279816, 0.07634945958852768, 0.01959323324263096, 0.043302204459905624, -0.009503286331892014, -0.07868010550737381, 0.027687549591064453, 0.017854493111371994, 0.00739528052508831, 0.011216914281249046, -0.0009432074730284512, 0.06748907268047333, 0.0037925513461232185, 0.016092585399746895, 0.023882253095507622, -0.08571979403495789, -0.07718800008296967, -0.026352720335125923, 0.0030672047287225723, 0.06238575652241707, -0.00681521138176322, -0.015682483091950417, 0.06289490312337875, 0.0002798793721012771, 0.02045227214694023, 0.0014382561203092337, 0.0037383800372481346, 0.01178467646241188, -0.02801062911748886, -0.05256759002804756, 0.03831880912184715, 0.021889735013246536, -0.01450672559440136, -0.03243924304842949, -0.013631297275424004, 0.006032316014170647, -0.004899310879409313, 0.04502507671713829, -0.035882577300071716, 0.04573836177587509, 0.021442430093884468, 0.02724902145564556, -0.028916535899043083, 0.06382359564304352, -0.05310146138072014, 0.004421316087245941, -0.0033897506073117256, 0.014676122926175594, -0.0008662859327159822, 0.009978818707168102, 0.11402502655982971, 0.04025644436478615, -0.04020484909415245, -0.04886000230908394, 0.02899322472512722, -0.008835036307573318, -0.050089165568351746, -0.010367175564169884, -0.022669702768325806, 0.010934148915112019, 0.006326165050268173, -0.05890919640660286, -0.039994221180677414, -0.014152530580759048, -0.027363194152712822, 0.026855789124965668, 0.06425870954990387, -0.01583208702504635, 0.05211305618286133, 0.006488094571977854, -0.03857116028666496, -0.017532922327518463, -0.02875513769686222, -0.06581438332796097, 0.01038737315684557, 0.04252685233950615, 0.00283225835300982, 0.055787693709135056, -0.015431512147188187, -0.03591392934322357, -0.021776732057332993, -0.047860417515039444, 0.012384438887238503, 0.012502357363700867, 0.07639813423156738, -0.004878855776041746, 0.05364016816020012, -0.040309663861989975, 0.011635090224444866, -0.007189442869275808, -0.01806376688182354, -0.03140697255730629, -0.008634192869067192, 0.009681104682385921, 0.007152985315769911, 0.01986110396683216, 0.021754328161478043, 0.009623495861887932, -0.018254438415169716, 0.008295809850096703, -0.01091759093105793, 0.028298409655690193, 0.012644872069358826, -0.009486009366810322, -0.05624840036034584, -0.022830631583929062, 0.028056228533387184, -0.060648638755083084, -0.01828368566930294, 0.0027184244245290756, -0.08035202324390411, 0.049997396767139435, -0.08307836204767227, -0.04092949628829956, 0.013521923683583736, 0.011366289108991623, 0.030283236876130104, -0.008429051376879215, 0.043595701456069946, 0.06597565859556198, 0.0023311362601816654, 0.02752414532005787, 0.016390807926654816, 0.01241736114025116, 0.034508928656578064, 0.026266047731041908, 0.004303944297134876, 0.030951667577028275, -0.027994010597467422, 0.006961944047361612, -0.07168272882699966, 0.041266053915023804, -0.021178454160690308, -0.2892700731754303, 0.037538446485996246, -0.0083558214828372, -0.04270893707871437, 0.0487888865172863, 0.014661876484751701, 0.0345437228679657, -0.043732743710279465, -0.031717728823423386, 0.038937073200941086, -0.011178680695593357, -0.04761107265949249, 0.0046401191502809525, 0.030098002403974533, 0.01436484046280384, 0.0017874980112537742, 0.0223458893597126, -0.04394382983446121, 0.015258797444403172, 0.023764409124851227, -0.034311018884181976, -0.04674238711595535, 0.037478648126125336, 0.052223626524209976, 0.03907299041748047, 0.05436255782842636, -0.06930158287286758, 0.04845522716641426, -0.03323030099272728, 0.0028784829191863537, -0.010328357107937336, 0.012716013006865978, -0.01315979938954115, -0.010898631066083908, -0.025995519012212753, 0.00008693339623278007, -0.001761159859597683, 0.00904528982937336, -0.013795285485684872, 0.026475414633750916, -0.03161337599158287, -0.036083195358514786, -0.011286870576441288, -0.006341070868074894, 0.07607800513505936, -0.02715599723160267, -0.05370023846626282, -0.015317936427891254, -0.05406850203871727, 0.09705246984958649, -0.03972475975751877, -0.03311178460717201, 0.0009234643075615168, 0.04210812598466873, -0.011896984651684761, -0.012342712841928005, -0.020948410034179688, 0.00982305034995079, -0.04894229769706726, -0.042199213057756424, -0.007218033540993929, -0.026840494945645332, -0.02405550889670849, -0.042890019714832306, 0.005824441090226173, -0.07967564463615417, -0.03857341781258583, -0.02508334442973137, 0.08076115697622299, -0.006891423836350441, -0.032641537487506866, -0.019017986953258514, -0.0027394876815378666, -0.11353110522031784, -0.013935991562902927, -0.030738435685634613, -0.0656757801771164, -0.009326232597231865, 0.012440797872841358, 0.04926062375307083, -0.059277910739183426, -0.019522422924637794, 0.02953220158815384, 0.027327965945005417, -0.013432675041258335, 0.0064206901006400585, 0.028893666341900826, 0.00408964091911912, -0.030710933730006218, 0.015937108546495438, 0.054235853254795074, -0.020631231367588043, -0.03074748069047928, -0.0357525572180748, 0.004698744043707848, -0.00021067097259219736, 0.021763402968645096, 0.022254668176174164, 0.01528023649007082, 0.05828206241130829, 0.05258897319436073, -0.06889452785253525, 0.023802274838089943, -0.043867096304893494, 0.011971376836299896, -0.024913201108574867, -0.05353887006640434, 0.004204741679131985, 0.05104906111955643, 0.03460618108510971, -0.02090570330619812, -0.03712625801563263, 0.04143133759498596, -0.08954402059316635, -0.031131844967603683, -0.009743912145495415, 0.022384358569979668, 0.005788441747426987, -0.011822215281426907, -0.028638780117034912, -0.03513078764081001, 0.028087064623832703, 0.038035955280065536, -0.0047178505919873714, -0.04995638132095337, -0.03853125125169754, -0.025985898450016975, 0.008743003010749817, 0.022918444126844406, 0.005662650801241398, -0.02410442940890789, 0.05379161611199379, 0.029496021568775177, -0.02271854691207409, 0.01171678677201271, 0.000948122120462358, -0.021786220371723175, -0.04104147478938103, -0.014994136057794094, -0.004358143080025911, -0.020163722336292267, 0.0015540295280516148, -0.03349689766764641, 0.03430088236927986, 0.05124055966734886, -0.026802778244018555, 0.04504404962062836, 0.017398174852132797, 0.0007056304020807147, 0.00919834803789854, 0.0010519529459998012, -0.10471051186323166, 0.05576084926724434, -0.03660718351602554, -0.05081744119524956, -0.024670153856277466, 0.025475146248936653, -0.02510419301688671, -0.03349391371011734, -0.033179547637701035, 0.024476084858179092, -0.046595796942710876, 0.005462652537971735, 0.0034597369376569986, -0.009742558002471924, 0.04070523753762245, 0.0009198681218549609, 0.01889611966907978, -0.052338555455207825, -0.02029857598245144, 0.024764779955148697, 0.04073217511177063, -0.012499086558818817, 0.0013125137193128467, -0.0018398389220237732, 0.023731311783194542, -0.015233411453664303, 0.017263099551200867, 0.0584600605070591, 0.008989805355668068, 0.012377402745187283, -0.03478462994098663, 0.0124181704595685, 0.005042065866291523, 0.024536551907658577, 0.010016996413469315, 0.005760503001511097, -0.021833840757608414, -0.02351113222539425, -0.00983738899230957, -0.02274419739842415, -0.028185740113258362, -0.011577651835978031, 0.043828584253787994, -0.03933102265000343, -0.06411299854516983, 0.02674553357064724, 0.00828660186380148, 0.05154431238770485, 0.030684569850564003, 0.0013351882807910442, 0.021059365943074226, -0.03797902166843414, 0.042281996458768845, 0.054066117852926254, -0.056228458881378174, -0.002351761097088456, 0.017148813232779503, 0.032735325396060944, -0.0017227079952135682, 0.0003311551408842206, -0.04206959158182144, -0.022706208750605583, -0.04655473679304123, -0.012141344137489796, -0.030928397551178932, -0.011512914672493935, -0.030961059033870697, 0.006872368976473808, 0.005187216214835644, -0.01643398404121399, -0.007646371144801378, 0.004396083764731884, 0.004726721439510584, -0.02462291531264782, 0.021710069850087166, -0.028487063944339752, -0.0038488812278956175, 0.03405816853046417, -0.05150533840060234, 0.0054645962081849575, -0.02516760304570198, 0.060485925525426865, 0.011039458215236664, -0.027989478781819344, -0.010987399145960808, -0.04408592730760574, -0.0008684030035510659, -0.02469789609313011, 0.02954268455505371, 0.0020351833663880825, -0.00279487413354218, -0.02680533565580845, -0.008101058192551136, -0.02963118813931942, -0.003669214202091098, -0.005134501960128546, -0.033350490033626556, 0.040798038244247437, 0.05374198034405708, 0.05428164079785347, 0.030341649428009987, -0.01194394938647747, -0.002139287069439888, 0.060264796018600464, -0.0613517127931118, -0.03034118376672268, -0.01801997795701027, -0.04204615578055382, 0.0033633788116276264, 0.02156544290482998, 0.026651203632354736, -0.04071757569909096, 0.03672461211681366, 0.0396314300596714, 0.005216382909566164, 0.04018911346793175, -0.014074226841330528, 0.010506249964237213, -0.06002644822001457, -0.02232508733868599, -0.0672253966331482, 0.033572811633348465, 0.004841627087444067, -0.023409361019730568, -0.002624181332066655, -0.0026921634562313557, -0.049661122262477875, 0.017068732529878616, -0.04933900013566017, -0.018945861607789993, 0.05749320238828659, -0.014662347733974457, -0.009299061261117458, 0.012202845886349678, -0.055381666868925095, 0.010323149152100086, 0.04196830466389656, -0.041965872049331665, -0.03946424275636673, -0.04570486769080162, 0.054774146527051926, 0.02846446819603443, 0.028140904381871223, -0.060921020805835724, -0.027256593108177185, 0.05248992145061493, 0.018052764236927032, 0.03062576986849308, 0.05705077946186066, -0.0054472666233778, 0.02478460595011711, 0.07126888632774353, 0.0030066678300499916, -0.0076673817820847034, 0.002339172875508666, -0.028288258239626884, -0.06541984528303146, 0.0363609716296196, -0.0067436653189361095, -0.05135885998606682, -0.031344469636678696, 0.04005792737007141, 0.018364250659942627, -0.036793675273656845, -0.04506131634116173, 0.025551065802574158, -0.05283205583691597, -0.023554986342787743, -0.035529155284166336, -0.01539796032011509, -0.011111894622445107, 0.0513085313141346, 0.013519552536308765, 0.02370518445968628, 0.05697537958621979, -0.0025726661551743746, -0.012619731947779655, -0.0029753793496638536, 0.06624610722064972, 0.07303328067064285, 0.02854296751320362, -0.007720289286226034, 0.06263475865125656, 0.0037548644468188286, -0.04369595646858215, 0.02738252840936184, -0.04807964712381363, -0.019569674506783485, -0.02926178276538849, -0.01597006246447563, 0.05173121765255928, -0.01593910902738571, 0.06102437525987625, -0.03851477429270744, 0.0170411579310894, -0.01643585041165352, 0.0003830105997622013, 0.006552141159772873, 0.04303000122308731, 0.02222048118710518, 0.004829494282603264, -0.022813593968749046, -0.032127898186445236, 0.022654879838228226, -0.03202013671398163, -0.004055557306855917, 0.02000119909644127, -0.013622970320284367, 0.0182332806289196, 0.01579059287905693, 0.005202588625252247, 0.052493441849946976, -0.02474491111934185, 0.014682968147099018, 0.017678309231996536, 0.04873378574848175, 0.039877649396657944, 0.01995840296149254, -0.003920078743249178, -0.02094894088804722, 0.0032516459468752146, -0.018900826573371887, 0.0346420593559742, 0.014329868368804455, -0.026862580329179764, 0.038738273084163666, -0.012446596287190914, 0.026260364800691605, 0.0266118161380291, 0.003985295537859201, -0.0046510156244039536, -0.04160303249955177, -0.05511653050780296, -0.03978301212191582, -0.03438379243016243, -0.021168213337659836, 0.0019110427238047123, 0.0001520912628620863, -0.04005046188831329, -0.028121717274188995, -0.0027373170014470816, -0.01374433096498251, 0.040925655514001846, -0.03652957081794739, -0.03768864646553993, 0.010198940522968769, 0.026523754000663757, -0.0038775447756052017, 0.046112410724163055, 0.05721193179488182, -0.0062399860471487045, -0.020366493612527847, -0.0416581854224205, 0.011909016408026218, 0.04903222620487213, 0.004965087864547968, 0.010555585846304893, -0.0647374838590622, 0.036366015672683716, 0.003736003302037716, 0.008481242693960667, -0.051773641258478165, -0.012723008170723915, 0.009962879121303558, -0.016934769228100777, 0.06854850053787231, -0.013809804804623127, -0.002815834479406476, -0.03116350807249546, 0.0029551638290286064, -0.003016028320416808, -0.00495110172778368, 0.04543597996234894, -0.01182578131556511, 0.08142387866973877, 0.03182053565979004, -0.023312119767069817, -0.044524092227220535, 0.0041882991790771484, 0.00024730857694521546, -0.0035355756990611553, -0.027494974434375763, -0.02898443304002285, -0.036256227642297745, -0.07354326546192169, 0.001516646472737193, -0.0016693476354703307, -0.007040743250399828, -0.01563018187880516, 0.00013533770106732845, 0.010015151463449001, -0.06078529730439186, 0.012385004200041294, -0.019097164273262024, 0.019891098141670227, -0.008285035379230976, -0.012375849299132824, 0.00043183055822737515, 0.022305941209197044, 0.01318392064422369, -0.008418646641075611, 0.04627242684364319, -0.03398311510682106, -0.005973385646939278, 0.03064534440636635, 0.01750894822180271, 0.03388677164912224, -0.004489849787205458, 0.021801814436912537 ]
[ -0.07975848019123077, -0.04738018661737442, -0.029516980051994324, -0.02422504685819149, 0.04806577041745186, -0.06299444288015366, 0.0010406526271253824, 0.01560194231569767, -0.022180471569299698, -0.027986519038677216, 0.028915219008922577, -0.029379915446043015, 0.04095238819718361, -0.019125357270240784, 0.10747469961643219, 0.02745426818728447, -0.020772261545062065, -0.05726834759116173, -0.006729602348059416, 0.02500329539179802, 0.015557756647467613, -0.03747594729065895, -0.019809721037745476, -0.030119024217128754, -0.008526668883860111, 0.034342601895332336, 0.026484156027436256, -0.0533696748316288, -0.04439626261591911, -0.19518882036209106, -0.02150687947869301, -0.015410599298775196, 0.020599644631147385, -0.005306316073983908, 0.03838719055056572, 0.057107970118522644, 0.021407878026366234, 0.0015829326584935188, -0.03371249884366989, 0.04535486549139023, 0.026807082816958427, 0.00984041765332222, -0.061443861573934555, -0.021258173510432243, 0.047313131392002106, -0.03607471287250519, -0.00001739119215926621, -0.021912433207035065, 0.0067560565657913685, 0.001353797852061689, -0.04511246830224991, -0.006210383027791977, -0.012439207173883915, -0.017958536744117737, -0.017274634912610054, 0.01680617220699787, 0.03715715557336807, 0.08215856552124023, 0.01532666478306055, 0.013806209899485111, 0.010903428308665752, -0.004899296443909407, -0.13436484336853027, 0.06304758787155151, 0.04239507019519806, 0.058604124933481216, 0.00026890457957051694, -0.05163685232400894, 0.030872400850057602, 0.042003557085990906, 0.01826036535203457, 0.012421841733157635, -0.05681423842906952, 0.051932621747255325, -0.01406048983335495, -0.022397983819246292, 0.010088653303682804, 0.06334429979324341, 0.04756966978311539, -0.012810168787837029, -0.0834101140499115, -0.01975073106586933, -0.002890888135880232, 0.025872843340039253, -0.04245011508464813, 0.01805838756263256, -0.0032928651198744774, 0.07289265841245651, 0.0430094376206398, 0.0447835773229599, 0.045701559633016586, -0.028982775285840034, 0.0737464427947998, -0.018718579784035683, -0.10691183060407639, -0.003778007347136736, -0.01133120246231556, 0.0029791020788252354, -0.06483406573534012, 0.41799941658973694, -0.023184759542346, -0.035055335611104965, 0.028588606044650078, 0.04616141691803932, 0.030301466584205627, 0.013795374892652035, 0.019718866795301437, -0.04109030216932297, 0.007700450252741575, -0.015470155514776707, 0.014145374298095703, -0.003503932850435376, 0.05080509930849075, -0.02411140501499176, 0.0160683561116457, 0.036476608365774155, 0.023223571479320526, 0.022347766906023026, -0.06639548391103745, 0.02673487551510334, -0.033648859709501266, 0.00004763175456901081, 0.04106537997722626, 0.009930172003805637, 0.023665064945816994, -0.015067492611706257, -0.007796058431267738, 0.0539599172770977, 0.03796869516372681, -0.0027548037469387054, 0.01954946480691433, -0.006798326037824154, -0.06214726343750954, -0.015030784532427788, -0.01341658178716898, 0.02852955274283886, 0.020972011610865593, -0.0205667857080698, -0.004928248934447765, -0.010935922153294086, -0.014445324428379536, -0.0030371956527233124, 0.01597195863723755, -0.001135466038249433, -0.047794025391340256, 0.06065719202160835, 0.0018787435255944729, 0.00020942823903169483, -0.03455879166722298, -0.0678449496626854, -0.0020958585664629936, 0.00008233750122599304, 0.013742097653448582, -0.026716530323028564, 0.03566841408610344, 0.00016495640738867223, 0.07180590182542801, 0.03145115077495575, -0.0053614224307239056, -0.011842569336295128, -0.01030309870839119, -0.03874662145972252, -0.042700622230768204, 0.055570654571056366, 0.06082122027873993, -0.08857849985361099, -0.019605424255132675, 0.015031825751066208, 0.02588506042957306, -0.07217702269554138, 0.013188936747610569, 0.016168642789125443, 0.0038649840280413628, -0.029943376779556274, 0.008766786195337772, -0.04787373170256615, -0.006725193001329899, 0.03301689401268959, 0.016495447605848312, 0.058141861110925674, -0.018308022990822792, -0.011749116703867912, -0.019732877612113953, 0.004458795767277479, -0.024761905893683434, -0.07696480304002762, -0.05904827639460564, 0.0018151068361476064, -0.03373926132917404, -0.024771928787231445, -0.059180404990911484, -0.028410982340574265, -0.12552885711193085, 0.06121732294559479, -0.005035780370235443, -0.030654724687337875, 0.011965407989919186, -0.0070905922912061214, -0.00435127317905426, -0.03268905729055405, 0.02435029298067093, 0.06333605945110321, -0.03369180113077164, 0.03532012924551964, -0.10526525974273682, 0.02377524971961975, 0.0488140769302845, -0.03186533600091934, 0.027576331049203873, 0.04677285626530647, -0.023460861295461655, 0.0177781879901886, -0.014541197568178177, 0.021447177976369858, -0.03472793474793434, -0.00798746757209301, -0.018383866176009178, 0.026379572227597237, 0.02920067310333252, 0.051821865141391754, -0.05808291956782341, -0.0016641891561448574, -0.030999567359685898, -0.348222553730011, -0.06304557621479034, -0.02949605882167816, 0.007255423814058304, 0.032307591289281845, -0.050010792911052704, 0.035336822271347046, -0.039851222187280655, -0.023989534005522728, -0.013333303853869438, 0.11935138702392578, -0.01886117458343506, -0.017080815508961678, -0.05941345915198326, 0.015730712562799454, 0.017439724877476692, -0.05640770122408867, -0.0098390718922019, -0.018807638436555862, 0.0010419954778626561, -0.013222375884652138, -0.035342421382665634, 0.007895401678979397, -0.020573262125253677, -0.005982301197946072, -0.004462857265025377, 0.10558287799358368, 0.02772645093500614, 0.07525139302015305, -0.03880096971988678, 0.03467673808336258, 0.028064079582691193, 0.03150995448231697, -0.13749220967292786, 0.01413812767714262, 0.004824629984796047, -0.035543039441108704, 0.028804956004023552, 0.05956809222698212, 0.0004498451598919928, -0.05167768523097038, 0.017545346170663834, -0.0726446583867073, -0.06548944115638733, -0.005188398063182831, -0.012834821827709675, -0.020144958049058914, -0.011237231083214283, -0.0006054446566849947, 0.039898622781038284, 0.014597753994166851, -0.01424320787191391, 0.022524265572428703, 0.03477099537849426, 0.021672241389751434, -0.010047330521047115, -0.06104617565870285, -0.0005525217275135219, 0.04172986373305321, -0.0002083188301185146, 0.044615186750888824, 0.06998209655284882, 0.011188746429979801, -0.07234565168619156, 0.017692044377326965, -0.012604027055203915, -0.023675883188843727, 0.038895875215530396, 0.055727552622556686, -0.025925181806087494, -0.010371271520853043, 0.08582737296819687, -0.0021259409841150045, 0.01986820250749588, -0.0020993994548916817, 0.040529996156692505, -0.02066752314567566, -0.022988850250840187, 0.005185745656490326, -0.02938411943614483, 0.0013189741875976324, -0.0034628610592335463, 0.05891745910048485, -0.03911694511771202, -0.03406478837132454, 0.04505457356572151, -0.03173975273966789, 0.016213398426771164, 0.07824444770812988, -0.01916496455669403, 0.004293955396860838, -0.0018385989824309945, -0.033730290830135345, -0.045195963233709335, 0.0806422308087349, 0.0021994435228407383, -0.2386072427034378, 0.03435010835528374, 0.030376695096492767, 0.02141735330224037, -0.018940018489956856, 0.006150919012725353, 0.07194071263074875, -0.059790339320898056, -0.009301784448325634, 0.01581982895731926, 0.04433881863951683, 0.04916955158114433, -0.009149501100182533, -0.018765311688184738, 0.05510333180427551, 0.007217546924948692, 0.022360289469361305, 0.03136400505900383, 0.008320405147969723, -0.00013418668822851032, -0.001371275051496923, -0.015091344714164734, 0.14687016606330872, 0.008052586577832699, -0.003371426137164235, 0.040563974529504776, 0.038014814257621765, 0.013519306667149067, 0.09302321076393127, 0.005807240027934313, -0.0022544986568391323, -0.02098667621612549, 0.05480710044503212, -0.023838425055146217, 0.033177852630615234, -0.06724213808774948, 0.04189465939998627, 0.02989266812801361, 0.008870022371411324, -0.02171243727207184, -0.03739597648382187, 0.010086379013955593, -0.023210449144244194, 0.013917261734604836, 0.08781998604536057, -0.0460573248565197, 0.01899104006588459, -0.03352872654795647, -0.008943013846874237, -0.018670761957764626, -0.014528938569128513, -0.05661516264081001, 0.02396208420395851, -0.018154900521039963, 0.01742110587656498, 0.05718187242746353, 0.02121403068304062, -0.027493735775351524, -0.0306028313934803, 0.025762777775526047, 0.03230634704232216, -0.028833437711000443, 0.13749854266643524, -0.03388696908950806, 0.017549289390444756 ]
[ 0.0163730476051569, 0.004938981495797634, -0.006018848158419132, 0.017772821709513664, 0.001904377480968833, -0.02108711376786232, 0.021694127470254898, 0.043557655066251755, -0.030167602002620697, 0.024107791483402252, 0.014690322801470757, 0.0019669083412736654, 0.034354377537965775, -0.007255347445607185, 0.002865381073206663, -0.012281556613743305, 0.01642904058098793, 0.05278234928846359, 0.03708871081471443, 0.04660305380821228, -0.02913619764149189, 0.05815263092517853, 0.0011653145775198936, -0.013788571581244469, 0.04539347440004349, -0.019256336614489555, -0.02911188453435898, 0.04000745713710785, 0.032083939760923386, -0.13825100660324097, -0.0186671894043684, -0.02877078205347061, 0.010005233809351921, 0.040488582104444504, 0.019072968512773514, 0.006791288033127785, 0.015096429735422134, -0.017427757382392883, -0.05265696719288826, -0.02424444817006588, 0.002284492366015911, 0.017196176573634148, 0.01836625300347805, 0.02142409235239029, 0.013372465036809444, -0.0002895424549933523, -0.0192357636988163, -0.04232213646173477, -0.001715971971862018, 0.01311787124723196, -0.041473522782325745, -0.02439955621957779, 0.010745557025074959, 0.02021797001361847, -0.013412163592875004, -0.022822437807917595, 0.0017626151675358415, 0.011039947159588337, 0.04055621474981308, -0.013669534586369991, 0.0007213567150756717, 0.007034956011921167, -0.025571268051862717, -0.04797079786658287, -0.0325656495988369, -0.0035704069305211306, 0.008747316896915436, 0.00006245262920856476, -0.017023256048560143, -0.017319610342383385, -0.004634861834347248, 0.038046639412641525, -0.07493729144334793, -0.028362693265080452, -0.0360289104282856, -0.011411850340664387, -0.009732669219374657, 0.0032219067215919495, 0.014283326454460621, 0.03168455883860588, -0.03858310729265213, 0.005966697353869677, -0.024443602189421654, 0.008853805251419544, -0.01853981427848339, 0.029997456818819046, 0.015264800749719143, 0.056724246591329575, 0.018885910511016846, 0.03892568498849869, -0.006910656113177538, 0.033284951001405716, -0.0030381723772734404, 0.04193544387817383, -0.06049860641360283, -0.06411383301019669, 0.0026561839040368795, -0.03429785743355751, -0.014918709173798561, 0.8278359174728394, -0.028899937868118286, 0.020062817260622978, 0.024996308609843254, -0.0176239050924778, 0.027941402047872543, 0.016036394983530045, 0.047763872891664505, -0.008286670781672001, 0.023595796898007393, -0.0688147246837616, 0.026000898331403732, 0.0012041142908856273, 0.004851608071476221, 0.0068341465666890144, 0.026898063719272614, 0.06307344138622284, 0.04567098617553711, 0.030355485156178474, -0.02674204111099243, -0.02329026348888874, 0.05084528401494026, -0.01584734581410885, 0.010361255146563053, 0.007736687548458576, -0.04878715053200722, -0.17266559600830078, 0.014095094054937363, -8.017022817505669e-33, 0.0010591356549412012, -0.020628420636057854, 0.025392994284629822, 0.016316793859004974, 0.013414187356829643, -0.013910475187003613, 0.005489678587764502, -0.016622930765151978, -0.024627022445201874, -0.0416313074529171, -0.014906532131135464, -0.03576461970806122, -0.005653129890561104, 0.01687748357653618, 0.0027711819857358932, -0.013178208842873573, 0.010029998607933521, 0.03191680461168289, 0.003825566964223981, 0.028017280623316765, -0.012657104060053825, 0.02380288951098919, -0.0032981857657432556, -0.018631601706147194, 0.012420696206390858, 0.006491414271295071, 0.026109889149665833, 0.006191519554704428, 0.04872340336441994, -0.04103221744298935, -0.013697696849703789, 0.017373770475387573, -0.026060206815600395, -0.021205585449934006, 0.004012750461697578, -0.04049091413617134, -0.025880729779601097, -0.021199718117713928, -0.019847895950078964, 0.008993253111839294, -0.018659189343452454, -0.010211705230176449, -0.01094783004373312, 0.0042093233205378056, 0.0124262236058712, -0.04244523495435715, 0.004801024217158556, 0.014232511632144451, 0.03470717370510101, 0.05575406551361084, -0.005357963033020496, -0.000046012417442398146, -0.014004549011588097, -0.0141146220266819, -0.02748248539865017, 0.03306889161467552, 0.008626576513051987, 0.03964783623814583, 0.008486742153763771, 0.05637684836983681, -0.0035412160214036703, -0.020240630954504013, 0.012805696576833725, 0.026227343827486038, -0.037275657057762146, -0.00468912860378623, -0.0090664466843009, -0.02164577692747116, 0.0010906445095315576, 0.03704902529716492, -0.042806826531887054, 0.0013134260661900043, -0.02592545375227928, -0.029090574011206627, -0.02025745064020157, -0.024178719148039818, 0.01155804842710495, 0.048644986003637314, -0.010861210525035858, 0.01689809560775757, 0.006888788193464279, 0.009151059202849865, -0.027211280539631844, -0.037995826452970505, -0.025560511276125908, 0.016111357137560844, 0.031689126044511795, -0.01755981706082821, 0.007369548548012972, 0.00568811222910881, 0.026466865092515945, 0.049222297966480255, -0.009425686672329903, -0.02414117194712162, -0.046985261142253876, 7.852926744866755e-33, -0.016544822603464127, -0.042550135403871536, -0.004728020168840885, 0.014662377536296844, -0.020839853212237358, -0.009816154837608337, 0.006370197981595993, -0.0427117682993412, -0.03387507423758507, 0.0019018454477190971, -0.024661457166075706, 0.01577417179942131, -0.029116837307810783, 0.0063878996297717094, 0.061723753809928894, -0.02124917320907116, 0.025557056069374084, 0.006922990549355745, 0.05242789536714554, 0.006030832417309284, 0.04096955060958862, 0.021739009767770767, 0.04439660161733627, 0.01254650391638279, 0.0002565598988439888, 0.03321318328380585, -0.05130068585276604, 0.019578952342271805, -0.008971557952463627, 0.009398375637829304, 0.041603706777095795, -0.0064222365617752075, 0.01332281343638897, -0.0638168454170227, 0.0048562572337687016, 0.015205143019557, 0.027083396911621094, 0.01400325819849968, 0.024335037916898727, 0.015851177275180817, 0.0228943582624197, -0.01350142527371645, -0.006713952403515577, 0.008497136645019054, 0.002028500195592642, 0.019160384312272072, 0.010285578668117523, 0.009529714472591877, -0.005422467365860939, 0.025656018406152725, 0.009455743245780468, 0.025297772139310837, 0.03256983309984207, 0.016845691949129105, 0.003026294754818082, -0.006103029940277338, -0.026124408468604088, 0.04881970211863518, 0.005710311699658632, -0.016680970788002014, -0.0049843513406813145, -0.02428709901869297, -0.014326452277600765, -0.0012550255050882697, -0.030929744243621826, -0.006686116103082895, 0.005788024980574846, -0.022750690579414368, -0.012893413193523884, -0.032965052872896194, -0.008160121738910675, 0.004259414970874786, -0.014407729730010033, 0.009407768957316875, 0.015158738009631634, -0.03311723470687866, -0.007302970625460148, 0.002666081301867962, -0.01639687456190586, 0.021579882130026817, 0.014422010630369186, 0.031405944377183914, 0.010132226161658764, -0.032006263732910156, -0.0220261812210083, 0.006484706420451403, -0.031771425157785416, 0.023304449394345284, -0.005998303182423115, -0.02797267958521843, -0.030046788975596428, -0.035453133285045624, 0.0008097076788544655, 0.011402089148759842, -0.015894226729869843, -1.3021907996346727e-8, 0.0101746441796422, 0.012588929384946823, -0.03998449072241783, -0.0021320751402527094, -0.011492650955915451, -0.017079491168260574, -0.04584783315658569, 0.009213745594024658, -0.045158982276916504, 0.024515580385923386, 0.024364372715353966, -0.011133740656077862, -0.00654601538553834, 0.0036360539961606264, 0.03645249083638191, -0.016080116853117943, -0.0037783689331263304, -0.0008205908816307783, 0.0256149061024189, 0.0055887652561068535, 0.04466807097196579, 0.04314473271369934, 0.02516976371407509, -0.0007009200053289533, -0.013833350501954556, 0.03232055529952049, 0.024076201021671295, -0.04971317574381828, -0.0480552613735199, 0.004353301599621773, 0.03828839585185051, -0.010536114685237408, -0.09125760197639465, -0.0008437057258561254, -0.06930402666330338, -0.01675252802670002, -0.02124268002808094, -0.0001811863185139373, 0.04405006766319275, 0.004237133078277111, -0.024651851505041122, -0.02804403007030487, 0.014834064058959484, -0.02986728772521019, -0.05674899369478226, 0.00202112621627748, 0.023902395740151405, 0.012063278816640377, 0.010048438794910908, -0.03178712725639343, 0.017467329278588295, 0.002565154805779457, -0.013814602047204971, 0.021179111674427986, 0.01617486961185932, 0.032653529196977615, 0.047893814742565155, -0.01660250313580036, -0.022403815761208534, 0.002342724706977606, 0.039722852408885956, 0.006016093771904707, -0.022919688373804092, -0.020282454788684845 ]
pulling-from-github-on-windows
https://markhneedham.com/blog/2009/08/18/pulling-from-github-on-windows
false
2009-08-27 00:02:50
Pair Programming: Observations on anti-patterns
[ "pair-programming" ]
[ "Pair Programming" ]
I've been pairing a bit more regularly recently after more sporadic pairing sessions over the last 9 or 10 months and I've noticed that I've picked up some habits which aren't really that effective when pairing so I'm on a mission to sort that out. == Moving around the code too quickly One thing that I often forget is that when you're driving you know exactly where you're going with the mouse or keyboard just before you do it whereas the other person doesn't know until you've done it. As a result of this it is useful to commentate on what you're about to do and not move around the code at break neck speed, but instead take your time and pause after each step to allow your pair to follow where you are in the code. It seems like this might slow you down but I find that quite frequently when I race around the code in this way *I'm making assumptions about the code and I didn't even know that I was doing it*. Having someone else working alongside you forces those assumptions out into the open and it's amazing how often you end up going a different way than you had originally assumed. Moving through the code more slowly is especially important if you call someone over to help you with something since in this situation they have very little idea about what you're doing so they won't be able to provide much assistance unless you take the time to provide the context to them. == Not listening to other solutions Another trap which is best to avoid is always *thinking that you personally have the solution to all the problems* the pair encounters and that your solution should always be the one used. I think this becomes a particularly easy trap to fall into when you've learnt a few ways to solve problems and the temptation is to always use these solutions and block out suggestions which we judge as being inferior to our solution. This seems similar to Jay Fields' post 'http://blog.jayfields.com/2009/03/kill-your-darlings.html[Kill your darlings]' where he describes a technique http://nutrun.com/[George Malamidis] taught him: ____ George Malamidis taught me something about code attachment a few years ago: You always gain by allowing someone to show you an alternative solution. If someone wants to solve a problem in a different way, there are several gains to be had. If their way is inferior, you have an opportunity to mentor a team-mate. If their way is equally elegant, you've gained another solution, or point of view that may be superior in the future. If their way is superior you learn something new and the codebase improves. In exchange for these gains you only need to give up time. Time is valuable, but it's also well spent on improving the ability of a team-mate or your personal ability. ____ I noticed that when working with my colleague http://luning12.blogbus.com/[Lu Ning] I wasn't very keen to understand his ideas about how to structure code and move data between the client and server sides because I was convinced that the way I already knew would work better. As it turned out when I eventually started listening I realised that his approach worked much better than any ideas I had so he taught me something new. This situation comes up a lot when pair programming and I think it's useful to always http://www.markhneedham.com/blog/2009/08/12/zen-mind-beginners-mind-book-review/[keep an open mind] - that way you might learn something you didn't expect to. == Grabbing the keyboard away I think this one is more obviously ineffective and I don't think I do this as often. I did suggest in another post that http://www.markhneedham.com/blog/2009/08/24/pair-programming-keeping-both-people-engaged/[getting control of the keyboard can be a useful way to help you become more engaged in a pairing session], it's certainly useful to ensure that you communicate why you're doing that and checking if it's ok with your pair if you drive now. On the other hand just grabbing the keyboard and typing without saying anything because you think you have a 'great idea' is not really an effective way of working together with your pair as it effectively sidelines them. == In Summary These are just a few observations of some things I've noticed and as always there are no doubt more ways that we can pair program ineffectively. Pair programming for me is not just about putting two people together and having them work the same way they would normally - there certainly seems to be a completely different dynamic to the way we work and I think it's important to adjust the way we work to adapt to that.
null
null
[ 0.01668897084891796, 0.012257736176252365, 0.0008453381014987826, 0.03790324181318283, 0.0829826220870018, 0.03606195002794266, 0.03682225942611694, 0.023613551631569862, 0.02559259720146656, -0.03726610541343689, -0.0187753327190876, 0.007511367555707693, -0.07067446410655975, -0.010147538036108017, -0.057635173201560974, 0.08545292168855667, 0.06418153643608093, -0.01139762345701456, 0.02062869817018509, 0.0005565577885136008, 0.0449918694794178, 0.07271459698677063, 0.02323325164616108, 0.03129975125193596, 0.03428363427519798, 0.012318906374275684, -0.010183489881455898, -0.0032862271182239056, -0.050251077860593796, -0.0036423299461603165, 0.05651826784014702, 0.007611097302287817, 0.011996766552329063, -0.020325269550085068, 0.02178794890642166, -0.015631308779120445, -0.012699969112873077, 0.02895786426961422, 0.021822046488523483, 0.02923962101340294, -0.05541176721453667, 0.04587096348404884, -0.025659479200839996, 0.009629045613110065, -0.03296655789017677, -0.012597917579114437, -0.047465141862630844, 0.006604700814932585, 0.015203135088086128, -0.02475506253540516, -0.05728279799222946, 0.03957442566752434, 0.011155643500387669, 0.024720262736082077, -0.01828058436512947, 0.04908629134297371, 0.03466835618019104, -0.07973355054855347, 0.023326756432652473, -0.029698166996240616, -0.005189094226807356, -0.0047121900133788586, -0.0006128453533165157, 0.03581174090504646, 0.02267417125403881, -0.008416368626058102, 0.023917056620121002, 0.04606939107179642, -0.02998340129852295, 0.01703781820833683, -0.010813658125698566, 0.025656547397375107, -0.005191483069211245, -0.03711167722940445, 0.00043460747110657394, -0.030668580904603004, 0.0005527830799110234, 0.05377122759819031, 0.029003934934735298, 0.04968007653951645, -0.015180116519331932, 0.008702399209141731, -0.015118125826120377, 0.030270885676145554, -0.008319712243974209, -0.03587627410888672, -0.006447861902415752, -0.006692457478493452, -0.08694025874137878, 0.04515346139669418, 0.0137470168992877, -0.06724352389574051, 0.016784455627202988, 0.028196578845381737, -0.017361847683787346, 0.01621517911553383, 0.02811094932258129, -0.002107457024976611, -0.005047173704952002, -0.021879881620407104, -0.0180243831127882, -0.02775891125202179, 0.010499551892280579, -0.010337494313716888, -0.08302450180053711, -0.0067259809002280235, -0.027191339060664177, -0.0022664109710603952, 0.005533483345061541, 0.005229427013546228, -0.029612986370921135, 0.003004220314323902, -0.00964364130049944, 0.009314258582890034, -0.07271555811166763, 0.07711364328861237, -0.00992012768983841, -0.03308337554335594, -0.020155660808086395, 0.018965313211083412, 0.046979159116744995, 0.03293692693114281, -0.007969880476593971, 0.08149731159210205, 0.018894553184509277, 0.0197460874915123, 0.009711263701319695, 0.04066840931773186, -0.0003523660998325795, -0.057031162083148956, -0.024005260318517685, 0.03964505344629288, -0.016120756044983864, -0.022636625915765762, 0.007641155272722244, -0.030349403619766235, -0.002932395786046982, 0.019628839567303658, 0.011173320934176445, 0.0579012930393219, 0.0011251800460740924, -0.03206188604235649, 0.045784298330545425, 0.008373212069272995, 0.014455663971602917, 0.016603805124759674, -0.02460665814578533, -0.012476564384996891, -0.023923857137560844, 0.012287262827157974, 0.012856385670602322, 0.027760276570916176, 0.013126322068274021, -0.046090979129076004, 0.02049235999584198, 0.07061219960451126, 0.014796922914683819, 0.026859020814299583, -0.023640209808945656, 0.026977363973855972, 0.027511732652783394, 0.017428012564778328, -0.0015643633669242263, 0.025053074583411217, 0.018280809745192528, -0.01438082754611969, 0.01591356098651886, 0.05095146968960762, -0.01631716452538967, 0.029181236401200294, -0.05155828967690468, -0.026888467371463776, 0.06329836696386337, -0.047591857612133026, -0.032484717667102814, 0.03992987051606178, 0.07934000343084335, 0.03475796431303024, 0.03470567241311073, -0.013294247910380363, -0.0771663561463356, 0.016450434923171997, 0.004761542193591595, 0.017727507278323174, 0.02123219147324562, -0.017229948192834854, 0.05187303200364113, 0.026258481666445732, -0.009094642475247383, 0.04146430268883705, -0.0756225436925888, -0.06443263590335846, -0.023336272686719894, -0.030074140056967735, 0.06393513828516006, -0.028609806671738625, 0.014906004071235657, 0.04635859280824661, 0.01904788799583912, 0.05296119675040245, 0.02314760722219944, -0.012190972454845905, 0.034690309315919876, -0.02849024161696434, -0.049823906272649765, 0.06423091888427734, 0.04776519909501076, -0.028795454651117325, -0.05445396155118942, 0.009031327441334724, -0.018995491787791252, -0.03678475320339203, 0.028765646740794182, -0.029725970700383186, 0.042281121015548706, 0.020249418914318085, 0.0411783792078495, -0.026596765965223312, 0.039925191551446915, -0.04410698637366295, -0.0043928720988333225, 0.007904966361820698, -0.01742340624332428, 0.02555612474679947, 0.011152594350278378, 0.12094329297542572, 0.06882297247648239, -0.05666777119040489, -0.05885336920619011, 0.010336690582334995, 0.009941882453858852, -0.055082760751247406, -0.00293793436139822, -0.015479914844036102, 0.004448621068149805, -0.0030236756429076195, -0.05722566694021225, -0.04521428048610687, 0.014747054316103458, -0.04767056554555893, -0.005768462549895048, 0.06601392477750778, -0.033390577882528305, 0.06688135862350464, -0.03217700868844986, -0.009923204779624939, -0.005582128185778856, -0.019356170669198036, -0.04419764131307602, 0.01316891796886921, 0.001078520785085857, -0.015772037208080292, 0.05872518569231033, -0.009518778882920742, -0.008589432574808598, -0.03973519057035446, -0.023190166801214218, 0.003775898367166519, 0.03988439962267876, 0.06080939620733261, 0.0031276943627744913, 0.07783232629299164, -0.0005630147643387318, 0.024818822741508484, -0.016792023554444313, -0.04549446329474449, -0.020046602934598923, -0.022736787796020508, 0.00833283830434084, 0.018873656168580055, -0.01601838506758213, 0.02138909325003624, 0.022840147837996483, 0.0003692192258313298, -0.008181481622159481, -0.01344828587025404, 0.0340021476149559, 0.0049563003703951836, -0.006303823087364435, -0.01603366993367672, -0.007281727157533169, 0.04819333553314209, -0.05512307956814766, -0.010224911384284496, 0.010137364268302917, -0.07816517353057861, 0.051544174551963806, -0.06665637344121933, -0.062215667217969894, 0.007009581662714481, 0.01575978472828865, 0.04580782726407051, -0.025066109374165535, 0.037014834582805634, 0.05890124291181564, 0.003183152759447694, 0.02259374037384987, -0.012433677911758423, 0.01113571785390377, 0.038686688989400864, 0.03202197700738907, 0.00993768498301506, 0.016838854178786278, -0.0020994357764720917, -0.020916327834129333, -0.050864771008491516, 0.03722919523715973, -0.015202905982732773, -0.3023322820663452, 0.04731632396578789, 0.0004147620056755841, -0.04730497673153877, 0.01348588801920414, -0.03524082526564598, 0.02430187538266182, -0.055275969207286835, -0.02530139684677124, 0.01845983788371086, -0.033455461263656616, -0.05739107355475426, -0.021127214655280113, 0.021851537749171257, -0.0025010486133396626, 0.017265552654862404, 0.003212094074115157, -0.05737042799592018, 0.006499358918517828, 0.05259472504258156, -0.002199798356741667, -0.0704868882894516, 0.004036479629576206, 0.029968321323394775, 0.03199614956974983, 0.058023713529109955, -0.08676734566688538, 0.01769382692873478, -0.052586112171411514, 0.0020686716306954622, -0.002667894819751382, 0.01720699854195118, 0.008705704472959042, -0.030303211882710457, -0.01039168518036604, -0.016064269468188286, 0.050780393183231354, -0.007367565296590328, 0.0009218357736244798, 0.03719434514641762, -0.014022275805473328, -0.011559892445802689, -0.00005507157038664445, 0.03003561869263649, 0.07686269283294678, 0.016598906368017197, -0.06033571809530258, -0.006585239432752132, -0.023464806377887726, 0.06336775422096252, -0.04525132104754448, -0.025810182094573975, -0.005201370920985937, 0.0302179716527462, 0.0003706287534441799, -0.02282329462468624, -0.0024821488186717033, -0.021976694464683533, -0.026250986382365227, -0.03171159327030182, -0.0026901355013251305, -0.03322765231132507, 0.004775141831487417, -0.04842919856309891, 0.046152859926223755, -0.0586172416806221, -0.057384371757507324, -0.018231993541121483, 0.08000249415636063, 0.03148992732167244, -0.036358851939439774, 0.030485745519399643, 0.016154000535607338, -0.09951002150774002, -0.010377377271652222, 0.025709623470902443, -0.013838429935276508, -0.0006107806693762541, 0.016373474150896072, 0.045068174600601196, -0.05365308001637459, -0.04724853113293648, 0.007495236583054066, 0.004895124118775129, 0.03818116709589958, -0.022433998063206673, 0.020791329443454742, 0.0042147887870669365, -0.015103415586054325, 0.018321504816412926, 0.07338513433933258, -0.008757377974689007, -0.030945494771003723, -0.029094964265823364, 0.03214721754193306, 0.008909078314900398, 0.03163258358836174, -0.0044134375639259815, 0.014393365010619164, 0.02913985773921013, -0.012247905135154724, -0.06844380497932434, 0.054033003747463226, -0.03196876496076584, 0.0075139678083360195, -0.02271847613155842, -0.049952536821365356, 0.02129754051566124, 0.04781164601445198, 0.028536954894661903, -0.014191526919603348, -0.03532762452960014, -0.003970463294535875, -0.037274397909641266, -0.010644818656146526, -0.024815216660499573, 0.017251646146178246, 0.02859576977789402, -0.000981528079137206, -0.01712195761501789, -0.06528424471616745, 0.0016029769321903586, 0.018516255542635918, 0.02550109662115574, -0.06624225527048111, -0.01951543614268303, -0.02169404737651348, -0.02775326929986477, 0.006085790228098631, 0.016232909634709358, -0.001375319086946547, 0.04664485156536102, 0.008657445199787617, -0.03709951043128967, 0.0204650666564703, -0.027554070577025414, -0.06153975427150726, -0.015912745147943497, -0.007966067641973495, -0.0011420553782954812, 0.005441533867269754, 0.02061137557029724, 0.0032569775357842445, 0.032766878604888916, 0.023432951420545578, 0.009370923973619938, 0.0326194204390049, -0.03358086571097374, 0.021616823971271515, 0.013593874871730804, 0.011900544166564941, -0.07543265074491501, 0.015728343278169632, -0.046567197889089584, -0.012589882127940655, -0.006318250671029091, 0.029741644859313965, -0.01762130670249462, -0.04072217270731926, 0.006660275626927614, 0.013435265980660915, -0.039144717156887054, -0.04183211922645569, -0.025189697742462158, 0.028017545118927956, 0.06345461308956146, -0.015943288803100586, 0.0038813273422420025, -0.03728868439793587, -0.0002908744500018656, -0.008596078492701054, 0.008182656019926071, -0.054602667689323425, 0.002180038020014763, 0.01362624391913414, -0.0076711405999958515, -0.01298802811652422, -0.005405309610068798, 0.022331956773996353, 0.003077613888308406, 0.005127069540321827, -0.03530105948448181, 0.006414174102246761, 0.022983068600296974, 0.05149395391345024, -0.007233818992972374, 0.0038383156061172485, -0.011037801392376423, -0.005259588360786438, -0.019745543599128723, -0.03902527317404747, -0.006587078794836998, -0.004241712391376495, 0.015800759196281433, -0.03698571398854256, -0.06824787706136703, 0.03178449347615242, 0.039540864527225494, -0.02324504218995571, 0.03758218511939049, -0.0027453068178147078, -0.005260584410279989, -0.008364888839423656, 0.03709729015827179, 0.0787486806511879, -0.05063656345009804, 0.004812422674149275, 0.0016278455732390285, 0.0036157239228487015, 0.0026418562047183514, -0.005694187246263027, -0.04918503388762474, -0.01455824263393879, -0.04071204736828804, 0.00668730866163969, -0.05477255582809448, -0.040233876556158066, -0.0017731118714436889, 0.009838953614234924, -0.0021870320197194815, -0.002724694088101387, -0.0037031928077340126, -0.011605637148022652, -0.0041434867307543755, -0.01969158463180065, 0.010626484639942646, -0.04434378445148468, 0.022577617317438126, 0.02722257375717163, -0.024943245574831963, 0.0009432596853002906, -0.02798870950937271, 0.043731704354286194, 0.01693645678460598, -0.019010446965694427, -0.027053436264395714, -0.04513472318649292, 0.004010003060102463, -0.013985696248710155, 0.04889244586229324, 0.00850311666727066, -0.022363869473338127, -0.05830170586705208, -0.01662624627351761, -0.039656784385442734, 0.016684409230947495, -0.031066248193383217, -0.02263292670249939, 0.027516944333910942, 0.05513675883412361, 0.02725057490170002, 0.02916870266199112, -0.01372314989566803, -0.017085080966353416, 0.033300161361694336, -0.05503574386239052, -0.029032237827777863, -0.021914316341280937, -0.04780261963605881, -0.007980975322425365, 0.004812910221517086, 0.02762824296951294, -0.035416893661022186, 0.029213963076472282, 0.013827480375766754, 0.023409558460116386, 0.02341090701520443, -0.0009936662390828133, 0.03220431134104729, -0.05125987529754639, 0.013254944235086441, -0.09485609084367752, 0.02320430614054203, 0.02834385633468628, -0.0075882114470005035, -0.013735906220972538, 0.012783393263816833, -0.032234687358140945, 0.03269270062446594, -0.06918801367282867, -0.018066050484776497, 0.04082740470767021, -0.0010070634307339787, -0.02355392836034298, 0.008665774017572403, -0.08872547000646591, 0.025892991572618484, 0.028511352837085724, -0.030745189636945724, -0.029798338189721107, -0.022635677829384804, 0.048722151666879654, 0.0074500408954918385, 0.037198539823293686, -0.01282491534948349, -0.021796854212880135, 0.058853521943092346, 0.00011163169983774424, 0.014692592434585094, 0.03150530159473419, -0.0025183171965181828, 0.03823757916688919, 0.030052941292524338, -0.0017030880553647876, -0.01786958798766136, 0.02684573456645012, 0.01791013777256012, -0.07220344990491867, 0.032612938433885574, 0.010927352122962475, -0.027926897630095482, -0.03153609484434128, 0.06599816679954529, 0.030521489679813385, -0.0369720533490181, -0.04344373196363449, 0.02153805084526539, -0.06127141788601875, -0.010222919285297394, -0.009536810219287872, -0.0021778943482786417, -0.05053418129682541, 0.046698667109012604, 0.0020446055568754673, 0.004117522854357958, 0.06799261271953583, 0.022314902395009995, -0.01616516523063183, -0.013719783164560795, 0.09476226568222046, 0.07915312051773071, 0.04736431688070297, 0.022822534665465355, 0.059084538370370865, -0.018331939354538918, -0.029288114979863167, 0.028968486934900284, -0.013481367379426956, -0.04750585928559303, -0.035529930144548416, 0.029626496136188507, 0.05901489779353142, -0.020105862990021706, 0.07149812579154968, -0.045617926865816116, -0.014132787473499775, 0.020260324701666832, 0.04206746071577072, 0.004802667535841465, 0.058612216264009476, 0.020458975806832314, 0.016600847244262695, -0.02350729890167713, -0.05399099737405777, 0.03275062143802643, -0.02718723565340042, -0.014312253333628178, 0.007174651138484478, -0.012129598297178745, 0.01484681200236082, 0.014682243578135967, 0.014580423943698406, 0.08335785567760468, -0.04176545515656471, 0.016339970752596855, -0.0029048919677734375, 0.04774516448378563, -0.027436697855591774, 0.014267217367887497, -0.039030518382787704, -0.02544424496591091, -0.008926989510655403, -0.027700111269950867, -0.025187354534864426, -0.03602934628725052, -0.02943827584385872, 0.03760124742984772, -0.02173777110874653, -0.01101077813655138, 0.02725917473435402, 0.018907221034169197, -0.028325563296675682, -0.06874080002307892, -0.052662886679172516, -0.03948996961116791, -0.03808485344052315, -0.05368799716234207, 0.008805588819086552, -0.0010697059333324432, -0.026468582451343536, 0.015911906957626343, -0.02754509262740612, -0.03187708929181099, 0.019679710268974304, -0.05527530610561371, -0.030770979821681976, 0.03885455057024956, 0.013585710898041725, 0.04509321227669716, 0.02405232936143875, 0.03931024298071861, 0.008711813017725945, -0.009488584473729134, -0.027345040813088417, -0.004496185574680567, 0.02968335710465908, 0.010306291282176971, -0.002648745197802782, -0.0782955139875412, 0.016539111733436584, 0.026315608993172646, 0.0013359382282942533, -0.06775353848934174, 0.02732168696820736, -0.001953896600753069, 0.02305625006556511, 0.056096822023391724, -0.046944279223680496, -0.0002918175305239856, -0.040692877024412155, 0.009056046605110168, -0.011423595249652863, 0.014608132652938366, 0.05575372278690338, -0.01766871102154255, 0.0933622270822525, -0.004709883593022823, -0.025487136095762253, -0.05319672077894211, -0.007923577912151814, 0.018179288133978844, 0.006698117591440678, -0.014143034815788269, -0.05264247581362724, -0.01427131425589323, -0.0962706133723259, -0.02272641472518444, 0.02440333366394043, -0.00978531502187252, -0.03137892112135887, 0.037693314254283905, 0.02845386043190956, -0.03694605454802513, 0.03464309498667717, -0.05147414654493332, 0.0365353524684906, -0.03253675252199173, -0.0034336699172854424, 0.015314624644815922, 0.008234178647398949, -0.037088848650455475, -0.009655359201133251, 0.005725473631173372, -0.04235183447599411, 0.0027142411563545465, 0.012766465544700623, 0.056867536157369614, 0.021819494664669037, -0.015033495612442493, -0.013300398364663124 ]
[ -0.10514798760414124, -0.010293015278875828, -0.0130974305793643, -0.02742488868534565, -0.0034567026887089014, -0.008646376430988312, 0.014539575204253197, 0.00960004236549139, 0.017770782113075256, -0.05551234632730484, -0.01873920112848282, -0.0056954980827867985, 0.03290925920009613, -0.010766979306936264, 0.0651966780424118, 0.019984183833003044, -0.001915228203870356, -0.0589611753821373, 0.011849258095026016, 0.020172232761979103, -0.018933678045868874, -0.059682417660951614, -0.04561751335859299, -0.009519864805042744, -0.006278837099671364, 0.032877419143915176, 0.04604257270693779, -0.04192257300019264, 0.020589293912053108, -0.19554424285888672, -0.0008641715394333005, 0.030258366838097572, 0.05267408490180969, 0.002470424398779869, -0.033875081688165665, 0.04325784742832184, -0.01087972242385149, 0.03410901874303818, -0.0018911206861957908, 0.01105609629303217, 0.014868656173348427, 0.011667744256556034, -0.03306957334280014, -0.03260010480880737, 0.02797614224255085, 0.030888820067048073, 0.004170291591435671, -0.03894147276878357, 0.004211398772895336, -0.014304939657449722, -0.06609112024307251, -0.0328107550740242, -0.022143833339214325, -0.011333153583109379, -0.0037536383606493473, 0.04884158447384834, 0.04403023049235344, 0.06854010373353958, -0.011188271455466747, 0.02910308539867401, 0.00028007072978653014, -0.021632270887494087, -0.11976810544729233, 0.07548253983259201, 0.05672821030020714, 0.042730920016765594, -0.015635892748832703, -0.00584408501163125, -0.017015064135193825, 0.09970739483833313, 0.013149894773960114, -0.024088501930236816, -0.04313165321946144, 0.03105810098350048, 0.014851156622171402, -0.008315092884004116, -0.00933677889406681, 0.025433069095015526, 0.024454550817608833, -0.019153907895088196, -0.028355136513710022, -0.011587057262659073, -0.01040532998740673, -0.012662318535149097, -0.030944181606173515, 0.009816794656217098, -0.011803511530160904, 0.016100449487566948, 0.018729260191321373, 0.010308509692549706, 0.03203989565372467, -0.015731994062662125, 0.013104664161801338, -0.02092691883444786, -0.06987253576517105, 0.0016710847849026322, 0.003960917703807354, 0.0137803815305233, -0.06511590629816055, 0.4833194613456726, -0.043199099600315094, -0.0058770556934177876, 0.06862501800060272, 0.03019030950963497, -0.015670906752347946, -0.007329688873142004, 0.0034544409718364477, -0.04946649447083473, 0.013793735764920712, -0.01631052978336811, 0.041862547397613525, 0.0033752811141312122, 0.06255466490983963, -0.007243357133120298, 0.02513732947409153, 0.0651484802365303, 0.03134455159306526, 0.031545281410217285, 0.014861187897622585, -0.020016228780150414, -0.018009401857852936, -0.0002669502282515168, 0.01806160993874073, 0.010362550616264343, -0.012321816757321358, -0.09436120092868805, 0.008481748402118683, 0.05908598005771637, 0.010835208930075169, -0.012932052835822105, 0.055053263902664185, -0.043740253895521164, -0.043270792812108994, 0.020315684378147125, -0.022677801549434662, -0.0005386305274441838, 0.034731533378362656, -0.007836324162781239, 0.015667490661144257, 0.046785589307546616, 0.011892451904714108, -0.042112261056900024, 0.033178314566612244, -0.010732438415288925, -0.0022333955857902765, 0.11455052345991135, -0.008019808679819107, -0.03724094107747078, -0.003869634121656418, -0.022384103387594223, 0.025810642167925835, 0.021486621350049973, -0.01577100157737732, -0.06251387298107147, 0.007120014633983374, 0.00510402861982584, 0.11982031911611557, -0.012389034032821655, -0.06013111770153046, 0.03275502100586891, -0.02080606482923031, -0.019486412405967712, -0.06467704474925995, 0.009702379815280437, 0.09250947088003159, -0.07687396556138992, -0.004373869393020868, -0.0133589468896389, 0.01364229153841734, -0.06876985728740692, -0.0013075752649456263, 0.005456330720335245, -0.010231003165245056, 0.0024900371208786964, 0.03880679979920387, -0.026137396693229675, -0.049565669149160385, 0.015212401747703552, 0.030316369608044624, 0.022627567872405052, -0.009062254801392555, 0.016148770228028297, -0.04926928132772446, 0.003226997097954154, -0.026808463037014008, -0.054893866181373596, -0.044137489050626755, -0.00923217460513115, -0.02277308702468872, -0.0008606318733654916, -0.0027204088401049376, -0.027988111600279808, -0.07447665184736252, 0.09035689383745193, -0.04754537343978882, -0.03592837229371071, 0.01615210436284542, -0.029811790212988853, -0.058317773044109344, -0.00494487164542079, -0.049398377537727356, 0.011341304518282413, -0.02630431205034256, 0.0199021827429533, -0.04852639511227608, 0.047874316573143005, 0.027666989713907242, -0.059836309403181076, 0.09325288236141205, 0.05743268504738808, -0.022386331111192703, -0.044222261756658554, 0.020990245044231415, 0.026380082592368126, 0.010274617932736874, -0.026673676446080208, -0.007749268319457769, 0.030566144734621048, -0.00507337786257267, 0.025496644899249077, -0.019327504560351372, 0.007605686318129301, 0.021071935072541237, -0.32956233620643616, -0.04810605198144913, -0.03428821265697479, 0.013793193735182285, 0.017490964382886887, -0.08723703026771545, 0.02465818077325821, -0.0077097793109714985, -0.03782953694462776, -0.002538055647164583, 0.058638617396354675, -0.03557591140270233, 0.010511555708944798, -0.07806255668401718, -0.0028201560489833355, 0.03662272170186043, -0.030825596302747726, -0.00045737213804386556, -0.022625790908932686, 0.03713530674576759, -0.01537279412150383, 0.0018548484658822417, -0.02142457105219364, -0.03296704217791557, -0.00016274423978757113, -0.019871875643730164, 0.10273730009794235, 0.008127815090119839, 0.07951612770557404, -0.011820042505860329, 0.027379386126995087, -0.002361163729801774, 0.033021170645952225, -0.09681623429059982, 0.015754563733935356, -0.007635376416146755, 0.02052518166601658, -0.0621642991900444, 0.0534532256424427, -0.04896308109164238, -0.07927088439464569, 0.004734113812446594, -0.041237831115722656, -0.016543732956051826, -0.0992806926369667, 0.004264934454113245, -0.03738738223910332, -0.030826644971966743, -0.025477847084403038, 0.08280333876609802, 0.03201611340045929, 0.003682423150166869, 0.006041509564965963, -0.007055929861962795, -0.006027925293892622, -0.046973586082458496, -0.07321886718273163, 0.00857317354530096, -0.010941789485514164, -0.011605883948504925, 0.016529809683561325, 0.06597180664539337, 0.02554558962583542, -0.07515044510364532, 0.0028421818278729916, 0.010980861261487007, -0.007133175153285265, -0.008328511379659176, 0.042267508804798126, 0.026067035272717476, -0.016668980941176414, 0.08468818664550781, 0.004008645657449961, -0.018755292519927025, -0.00075035251211375, 0.030843311920762062, -0.021026866510510445, 0.04021551460027695, -0.01042660791426897, -0.016836700960993767, 0.03678322955965996, -0.02738853357732296, 0.04577025771141052, -0.01850130222737789, -0.010641630738973618, -0.005744732450693846, 0.014252413995563984, -0.03138118237257004, 0.07513314485549927, 0.01716972514986992, -0.023637665435671806, 0.014080728404223919, -0.002073559444397688, -0.05787461996078491, 0.09255705028772354, -0.0000661259182379581, -0.2527666389942169, 0.0011101235868409276, 0.050421420484781265, 0.06621278822422028, -0.03742719814181328, 0.04688947647809982, 0.04713071137666702, -0.04584880173206329, -0.015485160052776337, -0.00703704496845603, 0.0065220254473388195, 0.03850717470049858, -0.005334862042218447, 0.007397690787911415, 0.0375349186360836, -0.020005589351058006, 0.03704894706606865, -0.006906106602400541, 0.014741835184395313, 0.01468565221875906, 0.020915158092975616, -0.00035512636532075703, 0.1320207417011261, 0.01998538337647915, 0.04718855395913124, 0.021846283227205276, -0.003180949715897441, 0.021169425919651985, 0.07657944411039352, -0.01631351001560688, -0.011695276945829391, 0.009817959740757942, 0.0018869347404688597, 0.0012333894846960902, 0.04243411496281624, -0.054267846047878265, -0.0334707535803318, 0.018663693219423294, 0.054835885763168335, 0.024420572444796562, 0.02862524800002575, 0.003992398735135794, -0.01429187972098589, 0.005385509226471186, 0.05786081776022911, 0.02283301204442978, 0.014077628031373024, -0.023582369089126587, -0.06514892727136612, 0.00045875017531216145, -0.030553990975022316, -0.050233859568834305, 0.015485481359064579, -0.008515802212059498, 0.022128324955701828, 0.0630461722612381, 0.00905684381723404, -0.01970345713198185, 0.0027123834006488323, 0.029773473739624023, -0.008385335095226765, -0.020828362554311752, 0.10177326202392578, 0.03562328591942787, 0.019058534875512123 ]
[ -0.02751365676522255, -0.0029389439150691032, 0.007847938686609268, 0.005743292160332203, -0.0172384362667799, 0.0411781407892704, -0.001424375339411199, 0.00976732186973095, 0.0002656353171914816, 0.011491011828184128, -0.014938747510313988, 0.027911484241485596, -0.00035664899041876197, -0.005445691291242838, 0.0003885233018081635, -0.012591354548931122, -0.017008423805236816, -0.008835021406412125, 0.03125535696744919, 0.02101856656372547, -0.05363994091749191, -0.022122157737612724, -0.006035985890775919, -0.029188122600317, -0.01620594970881939, 0.010648483410477638, 0.00885073933750391, -0.055264756083488464, 0.03105611354112625, -0.1250573843717575, -0.046884406358003616, -0.019522661343216896, 0.014335296116769314, 0.01638028770685196, -0.03440922498703003, -0.004232514183968306, 0.021616525948047638, 0.033578820526599884, -0.017034120857715607, -0.044819846749305725, -0.012134277261793613, -0.014110027812421322, 0.022728227078914642, -0.01016707718372345, 0.005870295222848654, -0.017335623502731323, -0.006521494127810001, -0.04169198498129845, -0.014742773026227951, -0.025351716205477715, -0.04405619949102402, 0.036131277680397034, -0.02864530310034752, -0.0003199430357199162, 0.024113032966852188, -0.0065699354745447636, 0.026995887979865074, -0.03505020588636398, 0.006329203490167856, 0.01383866649121046, 0.000684172788169235, 0.005428549833595753, -0.08331997692584991, -0.017738783732056618, -0.01895897090435028, 0.006143905688077211, 0.0017486214637756348, 0.0034170111175626516, -0.016759231686592102, 0.014141432009637356, -0.03256623074412346, -0.002840557601302862, -0.02919541485607624, -0.045715052634477615, 0.022056274116039276, 0.022812575101852417, -0.008730728179216385, -0.04561749845743179, 0.020161081105470657, -0.032047025859355927, -0.05163924768567085, 0.024013670161366463, 0.015735022723674774, 0.02528875134885311, 0.02599627524614334, -0.007911725901067257, -0.005468942224979401, 0.015855802223086357, 0.008492976427078247, -0.03905763104557991, -0.03242851421236992, 0.048349205404520035, -0.0071526397950947285, -0.002003006637096405, -0.05779779329895973, 0.010338163003325462, -0.027130084112286568, 0.02047407627105713, -0.020324084907770157, 0.8556734323501587, -0.008504129946231842, 0.039350464940071106, 0.046511370688676834, -0.002883016597479582, 0.022723378613591194, 0.025218727067112923, 0.024779578670859337, -0.024514606222510338, 0.034294020384550095, -0.048084940761327744, 0.002836162457242608, -0.030740492045879364, 0.004058435559272766, 0.014249108731746674, 0.023539762943983078, 0.026803329586982727, 0.01329629123210907, 0.03659883886575699, 0.006908069830387831, -0.00474043982103467, 0.02994234301149845, -0.0040135192684829235, 0.019054174423217773, -0.026305897161364555, 0.012471739202737808, -0.15633605420589447, 0.020110560581088066, -7.066594492563571e-33, 0.0163816437125206, 0.010051046498119831, 0.0025615801569074392, -0.022589940577745438, 0.009142820723354816, 0.003463282948359847, 0.003129563992843032, 0.007404447998851538, -0.01610524021089077, -0.016037696972489357, -0.013775181025266647, -0.027649961411952972, 0.018259337171912193, -0.006564947310835123, 0.003000563709065318, -0.03692195564508438, 0.009026753716170788, 0.023731639608740807, -0.039861589670181274, 0.023575270548462868, 0.01855677179992199, 0.011149531230330467, -0.016953282058238983, -0.01388135738670826, 0.0026429304853081703, -0.014481071382761002, -0.015256506390869617, 0.03621158376336098, 0.03098624385893345, -0.0506850928068161, -0.02339460700750351, 0.03683781251311302, -0.030116168782114983, 0.011117065325379372, -0.028390025720000267, -0.015939706936478615, -0.016843387857079506, -0.006976866628974676, -0.004587945528328419, -0.020661398768424988, -0.044052403420209885, 0.02064421959221363, -0.04380425810813904, -0.009426199831068516, 0.016318028792738914, -0.038988471031188965, -0.017764082178473473, 0.014381826855242252, 0.0066017950884997845, -0.037557076662778854, -0.019098589196801186, 0.03032858297228813, -0.021670470014214516, 0.021367071196436882, -0.02201688475906849, 0.0011435911292210221, 0.012228244915604591, 0.04017433896660805, -0.010860427282750607, 0.04344240203499794, 0.03445802256464958, -0.009596535004675388, -0.021433783695101738, 0.007081218529492617, 0.011831252835690975, 0.002604166278615594, -0.009777754545211792, -0.0072586121968925, 0.020304370671510696, -0.02081906981766224, -0.04909505695104599, 0.003923218697309494, 0.007898594252765179, -0.017443953081965446, 0.0015656041214242578, 0.005775291472673416, 0.030602285638451576, 0.010678460821509361, -0.01012924313545227, 0.022884657606482506, -0.002249452518299222, 0.0019084338564425707, 0.011377162300050259, -0.01602276973426342, -0.04560153931379318, -0.016591697931289673, -0.019530335441231728, -0.031742826104164124, -0.040433552116155624, 0.04325838387012482, 0.019393350929021835, 0.033266279846429825, 0.0047622546553611755, -0.021382421255111694, 0.01438936311751604, 6.805772132583275e-33, -0.007401221431791782, -0.022056762129068375, 0.016484398394823074, 0.007522145286202431, 0.07275042682886124, 0.005851765628904104, 0.0314338281750679, -0.03199111670255661, -0.024050062522292137, 0.030545609071850777, -0.010745665989816189, 0.003032530192285776, 0.013239800930023193, -0.00008120111306197941, 0.05880194157361984, -0.004275298677384853, 0.029496587812900543, 0.010855868458747864, 0.041993506252765656, 0.001504888292402029, 0.006207809317857027, 0.012739622965455055, 0.03244190290570259, 0.0012860955903306603, 0.02752007730305195, 0.03254116326570511, 0.04182023927569389, 0.011793464422225952, -0.00663373526185751, -0.009289338253438473, 0.020742004737257957, -0.008067643269896507, -0.008952188305556774, -0.028679458424448967, 0.028393767774105072, 0.04255208000540733, -0.03274575620889664, -0.026618938893079758, -0.020762842148542404, -0.02683180384337902, 0.014120225794613361, 0.01271244790405035, -0.013212653808295727, 0.02208714559674263, 0.054306235164403915, -0.00502656027674675, -0.0026594349183142185, -0.022083323448896408, -0.02896641008555889, 0.017165368422865868, 0.025820856913924217, 0.029349777847528458, -0.015697522088885307, -0.047393348067998886, -0.040829770267009735, -0.036760613322257996, -0.005590270739048719, 0.00045508224866352975, 0.013573501259088516, -0.006173401139676571, 0.01364129688590765, 0.003449686337262392, -0.010113791562616825, 0.021421274170279503, -0.011983823031187057, 0.003498425940051675, -0.018475068733096123, 0.03781960532069206, -0.01711033657193184, 0.013813221827149391, -0.029282404109835625, -0.022840730845928192, 0.012163928709924221, 0.05702225863933563, -0.014297910034656525, -0.018499046564102173, -0.031121989712119102, -0.0238136425614357, 0.0075940717943012714, -0.0015744385309517384, 0.04073133319616318, 0.031211065128445625, 0.031392015516757965, 0.03235780820250511, -0.01337013766169548, 0.05096438154578209, 0.009518207050859928, 0.06023944541811943, -0.01786641590297222, -0.013482808135449886, -0.011206548660993576, -0.03112582117319107, 0.010988305322825909, 0.001065479009412229, -0.02169473096728325, -1.32898554383587e-8, 0.0049971528351306915, 0.003997319377958775, -0.018334390595555305, -0.003478442318737507, -0.008704962208867073, 0.011712058447301388, -0.007904797792434692, -0.007406534161418676, -0.03381713107228279, 0.020954634994268417, 0.028140414506196976, -0.008171813562512398, 0.01965074986219406, 0.021025734022259712, 0.0362292155623436, -0.007603847421705723, -0.006920722313225269, -0.03946750983595848, 0.013725760392844677, 0.003911599982529879, -0.00016584859986323863, 0.041225865483284, -0.02319256402552128, 0.034779343754053116, -0.024487722665071487, 0.005377818830311298, 0.03168967738747597, -0.043248992413282394, 0.0030367299914360046, 0.004334568046033382, 0.018189605325460434, -0.022613070905208588, -0.0230870358645916, 0.04252736270427704, -0.0007221488049253821, -0.03283681347966194, -0.008512928150594234, 0.034969598054885864, 0.01796707697212696, 0.009000114165246487, -0.03443453833460808, 0.005588495638221502, -0.011452004313468933, -0.016289930790662766, -0.010348054580390453, 0.01673073321580887, -0.03848891332745552, -0.004751627333462238, -0.0387764535844326, -0.02807815559208393, 0.01532355323433876, -0.0024927915073931217, 0.009353125467896461, 0.0067230649292469025, 0.025179479271173477, 0.003920785617083311, -0.016979286447167397, -0.00027870325720869005, 0.026410536840558052, -0.026183471083641052, -0.02088812179863453, 0.027536630630493164, -0.019728252664208412, -0.03210431709885597 ]
pair-programming-observations-on-anti-patterns
https://markhneedham.com/blog/2009/08/27/pair-programming-observations-on-anti-patterns
false
2009-08-27 22:39:26
jQuery: $.post, 'jsonp' and cross-domain requests
[ "jquery" ]
[ "jQuery" ]
We spent a bit of time yesterday looking through the jQuery code trying to work out why a cross domain request we were making using jQuery's '$.post' function wasn't working. In hindsight perhaps it should have been obvious that you wouldn't be able to do that but I didn't completely understand how we were able to do cross domain requests were possible at all but we had some '$.getJson' 'jsonp' function calls around our code base which were doing just that. The http://docs.jquery.com/Ajax/jQuery.post[jQuery documentation] seemed to suggest it was possible to do a 'jsonp' 'POST' request but when we tried to do so we got the following error: [source,text] ---- Error: uncaught exception: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" ---- The failure was occurring in this part of the code on line 3517 inside the 'ajax' function: [source,javascript] ---- // Open the socket // Passing null username, generates a login popup on Opera (#2865) if( s.username ) xhr.open(type, s.url, s.async, s.username, s.password); else xhr.open(type, s.url, s.async); ---- I had initially thought that passing in 'jsonp' to the function did something clever to fool the browser into sending the Xml Http Request but actually in a http://groups.google.com/group/jquery-dev/browse_thread/thread/e7eb4a23eef342fb?pli=1[thread from the jQuery mailing list] from a year ago where Michael Geary explains what's actually happening: ____ Cross-domain JSONP isn't AJAX at all. It doesn't use XMLHttpRequest. It's nothing more than a dynamic script element that loads JavaScript code. You can't do a POST with a dynamic script element. Where would you put the POST data? I don't know what the $.ajax code is trying to do - maybe it should fail in a more informative way. It will fail one way or another regardless. ____ We could see where this was being done in the jQuery code: [source,javascript] ---- // If we're requesting a remote document // and trying to load JSON or Script with a GET if ( s.dataType == "script" && type == "GET" && parts && ( parts[1] && parts[1] != location.protocol || parts[2] != location.host )){ var head = document.getElementsByTagName("head")[0]; var script = document.createElement("script"); script.src = s.url; if (s.scriptCharset) script.charset = s.scriptCharset; ... head.appendChild(script); ... } ---- On line 3477 a script tag is dynamically added into the page and on line 3478 we set 'src' to be the url for our cross domain request. We can see on line 3473 that this only happens if we have a 'GET' request. It turned out for us that we were actually only doing this cross domain request on one of our early test environments and that in latter test environments we have everything running on the same domain. On this occasion we have decided to stop using this environment since it's not reflective of what our application will run like in production but if we wanted to do a cross domain request then we would need to make use of the '$.get' method with 'jsonp' passed as an option. I was talking about this with Dave Yeung at our coding dojo last night and he pointed me to https://developer.mozilla.org/En/HTTP_Access_Control[an article describing how Firefox 3.5 is now supporting the 'access control for cross site requests' recommendation] which will http://dev.w3.org/2006/waf/access-control/[allow cross domain XHR requests to happen] by providing some extra header tags and then reading some additional tags sent back in the response where the server on the other domain can decide which domains are allowed to make calls to it. I'm still learning this stuff so if anything I've said isn't accurate please point that out.
null
null
[ -0.02819441817700863, -0.026313601061701775, -0.0027457326650619507, 0.031628817319869995, 0.022280385717749596, -0.00935861561447382, 0.017594045028090477, 0.021059226244688034, 0.006326013710349798, -0.016128037124872208, -0.012287524528801441, -0.012161556631326675, -0.06724482774734497, -0.01697944663465023, -0.009481477551162243, 0.05422880873084068, 0.062042828649282455, -0.01582108996808529, 0.049270208925008774, -0.025903813540935516, -0.002213678089901805, 0.05922485142946243, -0.006984792184084654, 0.026464499533176422, 0.06373516470193863, 0.01654299534857273, -0.013729126192629337, 0.007465904112905264, -0.0697534903883934, -0.03766113892197609, 0.026169942691922188, 0.03951863572001457, -0.021003542467951775, -0.005223903339356184, 0.0015633110888302326, -0.01923762448132038, 0.004921569023281336, 0.006055769976228476, 0.007623851764947176, 0.06645207107067108, -0.045597147196531296, 0.027399713173508644, -0.03808537870645523, 0.036409053951501846, -0.033243920654058456, 0.007283973507583141, -0.04246072471141815, 0.015198355540633202, 0.004685437772423029, 0.004400403238832951, -0.06180150806903839, 0.027045072987675667, -0.009291249327361584, -0.024731289595365524, 0.005527035798877478, 0.051517512649297714, 0.011543678119778633, -0.05424078553915024, 0.026689836755394936, -0.07277125865221024, 0.01501582283526659, 0.039863333106040955, 0.03034893423318863, 0.0016805161722004414, 0.01977457106113434, -0.008034308440983295, 0.04029617831110954, 0.07852809876203537, -0.05344952270388603, -0.0170244462788105, 0.011549912393093109, 0.03421187028288841, -0.015250994823873043, -0.00016432232223451138, 0.050183989107608795, -0.04602092131972313, -0.02134069986641407, 0.06574919074773788, -0.0034768672194331884, 0.055701084434986115, -0.032794009894132614, 0.010898488573729992, 0.015817994251847267, 0.026608796790242195, 0.007599180564284325, -0.05726536735892296, -0.04658131301403046, 0.02796250395476818, -0.03566647693514824, 0.0661940649151802, 0.04123275727033615, -0.050996195524930954, 0.02702292613685131, 0.04033610224723816, 0.019286278635263443, 0.0007203203858807683, -0.0070344265550374985, 0.008104369975626469, -0.027404209598898888, -0.03571876883506775, -0.0566064789891243, -0.008646508678793907, 0.021431755274534225, -0.0027153268456459045, -0.06819906830787659, -0.008682705461978912, 0.002715245820581913, -0.014511599205434322, -0.018337475135922432, -0.0023256391286849976, -0.0230256374925375, 0.011535238474607468, -0.00903457310050726, -0.015427223406732082, -0.04832053184509277, 0.06849368661642075, 0.013345486484467983, -0.0605587363243103, -0.04116904363036156, 0.03955032676458359, 0.06659244000911713, 0.011765124276280403, -0.04209211841225624, 0.06868396699428558, 0.05414159595966339, 0.034625448286533356, -0.019384631887078285, 0.032477907836437225, -0.011343496851623058, -0.0493398979306221, 0.020041611045598984, 0.0656106024980545, -0.029246343299746513, 0.009327542036771774, 0.024732615798711777, -0.035297464579343796, -0.02424413338303566, -0.008850433863699436, 0.055877603590488434, 0.022595733404159546, -0.027218440547585487, -0.01995413564145565, -0.020968059077858925, 0.009288824163377285, 0.030608519911766052, 0.03937467560172081, -0.007519628386944532, -0.05858173593878746, -0.006890005897730589, 0.006108121946454048, 0.0036813055630773306, -0.003918047063052654, 0.054857656359672546, -0.023139020428061485, -0.016081515699625015, 0.0677555501461029, 0.0447993203997612, 0.0209775622934103, -0.024297937750816345, 0.014726204797625542, 0.04053288698196411, 0.013048659078776836, -0.010969195514917374, 0.055764008313417435, -0.014017737470567226, -0.019922686740756035, -0.004623482935130596, 0.06891182065010071, 0.013978205621242523, -0.009005135856568813, -0.07064328342676163, -0.0461541973054409, 0.0602850466966629, -0.04759465530514717, -0.009765170514583588, 0.03843690827488899, 0.07647836208343506, -0.005867456551641226, 0.030445901677012444, 0.02651016227900982, -0.06688886135816574, 0.02297866716980934, 0.02336466871201992, 0.016361724585294724, 0.06093169376254082, 0.020611708983778954, 0.06681342422962189, 0.03639998286962509, 0.003869192209094763, 0.03951729089021683, -0.07002034038305283, -0.05715493857860565, -0.05449385195970535, -0.005842413753271103, 0.07591035217046738, -0.027933269739151, -0.01138426922261715, 0.07898624241352081, 0.03592943772673607, 0.02601551078259945, 0.02239067666232586, -0.031903527677059174, 0.04320095106959343, -0.02805267833173275, -0.029408346861600876, 0.01906483806669712, 0.0537356436252594, -0.0032550229225307703, -0.02500987984240055, -0.0019463616190478206, -0.022442499175667763, 0.02330813929438591, 0.03365691751241684, -0.03607814386487007, 0.020991411060094833, 0.01469759177416563, 0.05967315286397934, -0.029300564900040627, 0.028459494933485985, -0.057530101388692856, 0.07363717257976532, 0.021435491740703583, 0.005752877332270145, -0.019444886595010757, 0.00895371288061142, 0.1387491673231125, 0.05942580848932266, -0.007924778386950493, -0.03853049501776695, 0.0043769110925495625, -0.015969168394804, -0.05063629895448685, 0.0038750602398067713, -0.009309901855885983, -0.04307478666305542, 0.03975902870297432, -0.005402288865298033, -0.011258468963205814, -0.022786736488342285, -0.03585272282361984, 0.006712425500154495, 0.10018915683031082, -0.0048030074685812, 0.05631974712014198, -0.01952981948852539, -0.022203851491212845, 0.01593119278550148, 0.004868578165769577, -0.022914979606866837, -0.0075875394977629185, 0.028502779081463814, -0.009451979771256447, 0.04799734801054001, -0.009133066982030869, -0.0033454452641308308, -0.037754375487565994, 0.003734018886461854, 0.006408751010894775, 0.03480248525738716, 0.043890874832868576, -0.009301362559199333, 0.0238740686327219, 0.007915775291621685, 0.0015060132136568427, -0.008016005158424377, -0.057403646409511566, -0.03698758780956268, -0.001130386721342802, 0.009730134159326553, 0.04004332050681114, 0.04815575107932091, -0.010834872722625732, -0.014554720371961594, -0.020750898867845535, -0.03419783338904381, -0.010876808315515518, 0.01922665536403656, 0.002744951518252492, 0.0009078332222998142, -0.02950112894177437, -0.014824568293988705, 0.026217736303806305, -0.03859825059771538, -0.04777602478861809, -0.025880148634314537, -0.07904323935508728, 0.013245989568531513, -0.08920789510011673, -0.06320420652627945, -0.016362277790904045, 0.025018617510795593, 0.019426293671131134, -0.008511926978826523, 0.021049922332167625, 0.05053706839680672, -0.007956323213875294, 0.010142666287720203, 0.02986747957766056, 0.002640440594404936, 0.03328295052051544, -0.013284176588058472, -0.01929318532347679, 0.007639871444553137, -0.018227819353342056, 0.0004247499746270478, -0.036227062344551086, 0.016300203278660774, -0.00033790760789997876, -0.27173298597335815, 0.04201209917664528, 0.03736814484000206, -0.020116081461310387, 0.03296809643507004, 0.0016679870896041393, 0.033088140189647675, -0.03414354473352432, -0.011918212287127972, 0.001899511436931789, -0.013286316767334938, -0.02108340710401535, -0.026396289467811584, 0.03742963820695877, -0.025889605283737183, -0.0035316364374011755, 0.002400652039796114, -0.03788812458515167, 0.03952039033174515, 0.024724287912249565, -0.026622338220477104, -0.05061060190200806, 0.030023546889424324, 0.0625215545296669, 0.04074648767709732, 0.04681357368826866, -0.04510165750980377, 0.029175572097301483, -0.021778594702482224, 0.008766911923885345, 0.034764427691698074, -0.0022363311145454645, 0.007098779547959566, 0.0015242277877405286, 0.000022229634851100855, 0.0042316848412156105, 0.056619398295879364, 0.00883810967206955, 0.013411219231784344, 0.015768112614750862, -0.06986397504806519, -0.0473501980304718, -0.020991409197449684, -0.007215927820652723, 0.049643244594335556, -0.014189532026648521, -0.050686314702034, 0.029681233689188957, -0.04411904513835907, 0.06631220877170563, -0.006421665195375681, -0.038134995847940445, -0.029778653755784035, 0.010798766277730465, -0.005401853937655687, -0.01111436914652586, -0.02089063636958599, -0.0035288315266370773, -0.05733010545372963, -0.05708426982164383, 0.003641461255028844, -0.02843090519309044, -0.04855239391326904, -0.008281917311251163, -0.003261137055233121, -0.058912936598062515, -0.04508056864142418, -0.02357925847172737, 0.08952219039201736, 0.03803848475217819, -0.03344440460205078, 0.013877905905246735, -0.025951288640499115, -0.11475852131843567, 0.01905362494289875, -0.02243681252002716, -0.03497122973203659, 0.02280336432158947, -0.010479249991476536, 0.006322801113128662, -0.04564646631479263, -0.01074130367487669, -0.01409826334565878, 0.017131920903921127, -0.011780998669564724, -0.014095239341259003, 0.047159500420093536, 0.004698474891483784, 0.00861422996968031, -0.011366910301148891, 0.08543959259986877, -0.030630899593234062, -0.032444536685943604, -0.02010340616106987, 0.007867877371609211, 0.012321886606514454, 0.022077662870287895, 0.02567896991968155, 0.02891792543232441, 0.0008759715128690004, 0.025295421481132507, -0.044507838785648346, 0.02468622662127018, -0.030962767079472542, 0.004120858386158943, -0.01064734160900116, -0.049586500972509384, 0.047655507922172546, 0.0032152445055544376, 0.009615432471036911, -0.027599848806858063, -0.044605351984500885, -0.00875772163271904, -0.07686598598957062, -0.01553092710673809, -0.010328465141355991, 0.007425261661410332, -0.018902910873293877, 0.024801136925816536, -0.03991646692156792, -0.03110671415925026, 0.008854926563799381, 0.04788821190595627, -0.01052743848413229, -0.04568798094987869, -0.030266866087913513, -0.04494825750589371, -0.008746113628149033, 0.012611002661287785, -0.007149680983275175, 0.014209708198904991, 0.039262354373931885, -0.014550300315022469, 0.003827364882454276, -0.019959956407546997, -0.012221132405102253, -0.03256085515022278, -0.025886986404657364, 0.011707519181072712, 0.003985847346484661, 0.01820540986955166, 0.02607245184481144, -0.028830578550696373, 0.03343106433749199, 0.0397585965692997, 0.019939744845032692, 0.0035688921343535185, 0.022518523037433624, -0.008325593546032906, 0.01848071813583374, -0.005480673164129257, -0.08188583701848984, -0.0076976013369858265, -0.035252895206213, -0.034332264214754105, -0.0003194992896169424, 0.03255768492817879, 0.023916173726320267, -0.03894532471895218, -0.03182084858417511, 0.023403704166412354, -0.0753561332821846, -0.0011653539258986712, -0.0040048775263130665, -0.04137975350022316, 0.009231004863977432, -0.0037414287216961384, 0.04316039755940437, 0.007282423786818981, -0.033605653792619705, 0.0011645552003756166, 0.04910140112042427, -0.0007881379569880664, 0.0006919655133970082, -0.012871268205344677, -0.00007084252138156444, -0.018674373626708984, 0.002012382261455059, 0.009864197112619877, 0.022433608770370483, 0.04081860929727554, -0.029980827122926712, 0.05665343627333641, 0.044900257140398026, 0.04574732854962349, -0.009301201440393925, -0.01150729600340128, 0.021518807858228683, -0.007808531168848276, -0.00269170175306499, -0.067532479763031, -0.029718704521656036, -0.02225315570831299, -0.007628291379660368, -0.0046963924542069435, -0.06580842286348343, 0.039964184165000916, 0.003605540608987212, 0.01393030770123005, 0.04418342188000679, -0.010754977352917194, 0.01824074238538742, -0.03691844269633293, 0.02470528706908226, 0.04363107308745384, -0.041049640625715256, -0.023918142542243004, -0.017834197729825974, 0.009636715985834599, 0.006849355064332485, -0.012172858230769634, -0.05584883317351341, -0.007215944584459066, -0.04560292139649391, 0.025887615978717804, -0.007886204868555069, -0.0522896870970726, -0.020370764657855034, 0.007167825475335121, -0.008712787181138992, -0.007718287408351898, -0.010998564772307873, 0.011180676519870758, -0.018883133307099342, -0.03574933856725693, 0.0317252017557621, -0.006546622142195702, -0.021822506561875343, 0.005272445734590292, -0.02577853947877884, 0.026575621217489243, -0.01755017228424549, 0.03990652412176132, 0.0015189567347988486, -0.01929635740816593, -0.013306481763720512, -0.048734452575445175, -0.02180914394557476, 0.012453091330826283, 0.08733290433883667, -0.02361738309264183, -0.010406825691461563, -0.021104514598846436, 0.026484739035367966, -0.021112864837050438, 0.04376549273729324, -0.0341590940952301, -0.03693239390850067, 0.07447431236505508, 0.061147965490818024, 0.030704811215400696, 0.007257416378706694, 0.011690471321344376, -0.020722918212413788, 0.01819165050983429, -0.06699014455080032, -0.030486926436424255, -0.0362236313521862, -0.06322044879198074, 0.03458160534501076, 0.03465038910508156, 0.04441966861486435, -0.036519311368465424, 0.05153779312968254, 0.018579527735710144, 0.03521444648504257, 0.02133476734161377, -0.007114200387150049, 0.0069131311029195786, -0.02831690013408661, -0.04457264766097069, -0.095273956656456, 0.03965584933757782, 0.03252695873379707, -0.0076181720942258835, -0.021760372444987297, -0.012144442647695541, -0.032779790461063385, 0.04611530154943466, -0.053424857556819916, -0.0036162722390145063, 0.04218675568699837, 0.03801407292485237, -0.01718011684715748, -0.011388740502297878, -0.0773051306605339, 0.03148369491100311, 0.05067175626754761, -0.03233834728598595, -0.023738961666822433, -0.027814829722046852, 0.058594509959220886, 0.039570003747940063, 0.019573086872696877, -0.03854219242930412, -0.01937534101307392, 0.01762717217206955, 0.006084161344915628, -0.06011086702346802, 0.05374252051115036, -0.026845401152968407, 0.012990366667509079, 0.0408022403717041, 0.011187697760760784, 0.009437312372028828, 0.0153235774487257, 0.0032058851793408394, -0.086862713098526, 0.02629888616502285, 0.010809442959725857, -0.0324816033244133, -0.05587565153837204, 0.0532391220331192, 0.0183494184166193, -0.0280520711094141, -0.03358643501996994, -0.013452189974486828, -0.027578366920351982, -0.019423916935920715, -0.032832227647304535, 0.0013188023585826159, 0.02394392527639866, 0.06832024455070496, -0.012702212668955326, 0.008120083250105381, 0.061052169650793076, 0.01989428885281086, 0.0010014425497502089, 0.009881788864731789, 0.06342173367738724, 0.06608501076698303, 0.029814522713422775, 0.015383858233690262, 0.06464601308107376, 0.009756783954799175, -0.057757601141929626, -0.0011049214517697692, -0.05615071952342987, -0.03380777686834335, -0.004857214633375406, -0.01237571146339178, 0.045930564403533936, -0.03444218263030052, 0.056562237441539764, -0.014300129376351833, -0.009344091638922691, 0.010802891105413437, 0.010631456039845943, 0.025077037513256073, 0.05057686194777489, 0.04677034541964531, 0.04140041396021843, -0.005170382559299469, -0.023596514016389847, 0.020743781700730324, -0.033616919070482254, -0.04760139808058739, 0.017583021894097328, 0.005516866687685251, 0.02037866599857807, -0.02161501534283161, 0.02030142955482006, 0.06279142946004868, -0.022188566625118256, -0.010517053306102753, 0.00925752054899931, 0.04692627862095833, 0.019423414021730423, 0.03043256141245365, -0.0017771420534700155, -0.018503623083233833, -0.00949827954173088, -0.020947560667991638, -0.017702430486679077, -0.020972853526473045, -0.035118840634822845, 0.0475701279938221, -0.041447337716817856, 0.008898068219423294, 0.004342193715274334, -0.008703295141458511, -0.02127019874751568, -0.0475560687482357, -0.06398744881153107, -0.031246330589056015, -0.044538091868162155, -0.06373655796051025, 0.07006748765707016, -0.026245199143886566, -0.04373634606599808, -0.014485196210443974, 0.001247580861672759, 0.0006701746606267989, 0.04433174058794975, -0.02149190567433834, -0.040431927889585495, 0.03205938637256622, -0.0058496324345469475, 0.05163058638572693, 0.008716941811144352, 0.03482936695218086, -0.01785682514309883, -0.0029202078003436327, -0.052936531603336334, -0.012918377295136452, 0.058591876178979874, 0.026063887402415276, -0.019511468708515167, -0.06582881510257721, 0.001777564873918891, 0.0034017458092421293, 0.006418326403945684, -0.045532599091529846, 0.014504116028547287, 0.0012367601739242673, -0.01602821797132492, 0.07816606014966965, -0.019062602892518044, 0.015385291539132595, -0.05424802750349045, -0.027128910645842552, -0.023454012349247932, -0.002156890695914626, 0.022528741508722305, -0.008123449049890041, 0.08371299505233765, 0.03530585765838623, -0.027381543070077896, -0.01581655815243721, 0.020089177414774895, 0.003043270204216242, -0.045735206454992294, -0.02809535525739193, -0.03409934043884277, -0.032436542212963104, -0.03906376659870148, -0.05083414912223816, 0.01973554491996765, -0.0034388606436550617, -0.012367079965770245, 0.021260278299450874, 0.03132599964737892, -0.0852828398346901, 0.03272952139377594, -0.04685245081782341, 0.012426760978996754, -0.017526747658848763, -0.02711395174264908, -0.011845902539789677, -0.007010308094322681, 0.02249758690595627, -0.0473758839070797, 0.04909498989582062, -0.032902855426073074, -0.00759354792535305, 0.008294623345136642, 0.020002298057079315, 0.06024089828133583, -0.04322124272584915, 0.0029207409825176 ]
[ -0.10014840960502625, -0.02108118124306202, -0.032194990664720535, -0.03654742240905762, 0.009734104387462139, -0.03592558950185776, -0.004430143628269434, 0.027441566810011864, -0.0014572475338354707, -0.022849922999739647, -0.009385059587657452, 0.010257866233587265, -0.030689986422657967, 0.018134424462914467, 0.07966601103544235, 0.013833754695951939, -0.032229818403720856, -0.07288654893636703, -0.058064911514520645, 0.049425676465034485, 0.013327843509614468, -0.007042130455374718, -0.024571111425757408, -0.06598491221666336, -0.039712317287921906, 0.023514369502663612, 0.06717085093259811, -0.013867569155991077, -0.0145064452663064, -0.1765758991241455, 0.028164127841591835, -0.04538010433316231, -0.02796565741300583, -0.02456427551805973, -0.018176378682255745, 0.020903320983052254, 0.0007741500157862902, -0.00041528293513692915, 0.03690852224826813, 0.05642871558666229, 0.041378241032361984, -0.0027913071680814028, -0.033618394285440445, -0.02425098791718483, 0.05539817735552788, -0.033578574657440186, -0.03654323145747185, -0.0057424334809184074, -0.019380897283554077, 0.01244546938687563, -0.0344729870557785, 0.014196356758475304, 0.03622853383421898, -0.04258895292878151, 0.010012886486947536, 0.05486246943473816, 0.012462006881833076, 0.07792998850345612, -0.02735194005072117, 0.052332453429698944, -0.0050718835555016994, 0.012494264170527458, -0.1355174034833908, 0.12258627265691757, 0.027563421055674553, 0.054620739072561264, -0.02301979437470436, -0.00844938401132822, -0.044555384665727615, 0.06327179074287415, 0.030017536133527756, -0.008878020569682121, -0.06402021646499634, 0.04764435067772865, 0.011584109626710415, -0.007051265332847834, 0.0025226271245628595, 0.012307718396186829, 0.05363132059574127, -0.016357338055968285, -0.023983782157301903, -0.04396035149693489, -0.021018916741013527, -0.025454392656683922, -0.02477606013417244, -0.0004188660532236099, -0.002416195347905159, 0.04421328380703926, 0.015489921905100346, 0.004710228648036718, 0.0011990643106400967, -0.053038887679576874, 0.020907225087285042, -0.005628423765301704, -0.08811955153942108, 0.021212607622146606, -0.0013695351080968976, 0.011996226385235786, -0.030945057049393654, 0.4121573567390442, 0.008326547220349312, 0.005978310946375132, 0.07465717196464539, -0.007906324230134487, -0.020811116322875023, -0.002565610921010375, -0.01224948838353157, -0.041990477591753006, 0.037456873804330826, -0.018451949581503868, 0.0001202394996653311, -0.008451849222183228, 0.02720082364976406, -0.03806169331073761, -0.009162121452391148, -0.009258260950446129, 0.03639771416783333, -0.007007391192018986, 0.0015626292442902923, -0.017476113513112068, 0.007778930943459272, 0.008458735421299934, 0.01578233204782009, 0.03761835768818855, 0.00580361345782876, -0.011596138589084148, 0.03681543469429016, 0.06832544505596161, 0.037234216928482056, 0.04936020448803902, 0.05571473762392998, -0.08477358520030975, -0.04253964498639107, -0.010130773298442364, -0.00916461180895567, 0.005693783983588219, 0.025128919631242752, -0.012031766586005688, 0.018716510385274887, 0.030707422643899918, -0.016103381291031837, -0.055541619658470154, 0.004767546895891428, -0.012540866620838642, -0.023366548120975494, 0.07849349081516266, 0.02861923724412918, -0.0282516460865736, 0.000459769886219874, -0.0371973030269146, -0.008934949524700642, 0.049056388437747955, -0.0015254614409059286, -0.05965660884976387, -0.005163314752280712, 0.03588486462831497, 0.032149866223335266, -0.0017160509014502168, -0.007922088727355003, -0.018646258860826492, -0.040179599076509476, -0.05056661367416382, -0.027379965409636497, 0.09668903797864914, 0.021755224093794823, -0.13053326308727264, -0.03802618756890297, -0.024325696751475334, -0.004473893437534571, -0.06877775490283966, -0.01972883567214012, 0.016525380313396454, -0.07849828898906708, -0.03680521249771118, 0.040559519082307816, -0.027998968958854675, -0.02387883886694908, -0.0026616419199854136, 0.03209686651825905, -0.012105233035981655, -0.043017443269491196, -0.0063397265039384365, -0.05414682626724243, 0.002593199023976922, -0.01450358796864748, -0.06407581269741058, -0.043658144772052765, 0.003954707179218531, 0.01615012064576149, 0.0016604869160801172, -0.039372965693473816, -0.0562967024743557, -0.0872310996055603, 0.05535584315657616, 0.0009179573389701545, 0.009881068952381611, 0.017247429117560387, 0.0013377157738432288, 0.04153837636113167, -0.021235432475805283, 0.03765936195850372, 0.027101168408989906, -0.005679081194102764, 0.046669334173202515, -0.08289039134979248, 0.06580652296543121, 0.09160733222961426, -0.03726201876997948, 0.06206827238202095, 0.025802576914429665, -0.03955714404582977, 0.00841763149946928, 0.014491481706500053, 0.0020148218609392643, 0.010352288372814655, -0.014104489237070084, -0.0007552473689429462, 0.0295639019459486, 0.034460462629795074, 0.032427165657281876, -0.04725286364555359, 0.0162516999989748, 0.0398542545735836, -0.322684645652771, -0.04540415108203888, -0.006422918289899826, -0.00006277958891587332, 0.0019055466400459409, -0.06431467086076736, 0.014265467412769794, -0.011604906059801579, -0.012314630672335625, 0.04007674381136894, 0.0927300974726677, -0.0003091486287303269, -0.0023639933206140995, -0.0911938026547432, -0.007410211488604546, 0.04265126958489418, -0.017719287425279617, -0.047077685594558716, 0.009751580655574799, 0.00978561770170927, -0.03408487141132355, -0.004930894356220961, -0.01255755964666605, -0.07420588284730911, 0.0032974728383123875, -0.03240843862295151, 0.10434268414974213, 0.05530470982193947, 0.0697498768568039, -0.06603161990642548, 0.06262759119272232, 0.016174061223864555, 0.022449547424912453, -0.08157359808683395, -0.02728014625608921, -0.026682371273636818, 0.019686328247189522, 0.003260431345552206, 0.029704049229621887, 0.004643311258405447, -0.07706765830516815, -0.007477649487555027, -0.02304214984178543, -0.07347435504198074, 0.0003427538904361427, 0.0137806860730052, -0.018084164708852768, -0.014370243065059185, -0.013945464976131916, 0.06988988071680069, 0.024371493607759476, -0.0011262872721999884, 0.03185803443193436, 0.05682698264718056, 0.009969701990485191, 0.008386603556573391, -0.022640617564320564, -0.041523583233356476, -0.011277737095952034, 0.020406095311045647, 0.030725868418812752, 0.047735560685396194, 0.040684837847948074, -0.04554417356848717, 0.01387459971010685, 0.004191913176327944, 0.0038752174004912376, 0.017334623262286186, 0.07521624863147736, -0.023641852661967278, -0.05740200728178024, 0.13297688961029053, 0.01372868288308382, 0.06583178788423538, 0.012937578372657299, 0.019190678372979164, -0.03689141944050789, 0.0028182922396808863, 0.04830286651849747, 0.028698494657874107, 0.03486664965748787, 0.029947539791464806, 0.0424887090921402, -0.034918490797281265, -0.01162918284535408, 0.06580255180597305, -0.05846186727285385, -0.004221517127007246, 0.02255174145102501, -0.02469942718744278, -0.051443006843328476, -0.01690625213086605, -0.05331598222255707, -0.07502128928899765, 0.031988587230443954, -0.003784935222938657, -0.24778981506824493, 0.01563378795981407, 0.07437676191329956, 0.07437808066606522, 0.0028168854769319296, 0.06115349382162094, 0.03793441876769066, -0.06601990014314651, -0.03239072859287262, 0.06532038003206253, 0.04112910479307175, 0.02876272052526474, 0.0040873195976018906, -0.009020382538437843, 0.040936924517154694, -0.010444962419569492, -0.04233377426862717, 0.020938070490956306, -0.021090401336550713, 0.020876450464129448, 0.0300105269998312, -0.006631847936660051, 0.17230406403541565, 0.006097703240811825, -0.01570156030356884, 0.04624442756175995, 0.006466604303568602, 0.04347961023449898, 0.0644817128777504, -0.036476172506809235, -0.026149138808250427, 0.03114171139895916, 0.0502910315990448, -0.002254773396998644, 0.021599851548671722, -0.06440703570842743, -0.034397996962070465, 0.048237912356853485, 0.017108304426074028, -0.04561919718980789, -0.03678583726286888, 0.006507395766675472, 0.009410101920366287, 0.03009943850338459, 0.04516052454710007, 0.01896516978740692, 0.016051732003688812, -0.013832513242959976, -0.03692290559411049, 0.0062655797228217125, -0.04488339647650719, -0.07827818393707275, 0.03546991944313049, 0.002971991430968046, -0.031041642650961876, 0.0669555515050888, 0.021984409540891647, -0.061065901070833206, 0.007209967356175184, 0.03136944770812988, -0.002528171753510833, 0.006899266503751278, 0.0779789388179779, 0.01675231195986271, 0.015476520173251629 ]
[ -0.025100287050008774, 0.011119982227683067, 0.0012973645934835076, -0.036516714841127396, 0.001967665972188115, -0.03487137332558632, -0.04027651250362396, -0.001810219488106668, -0.02073094993829727, -0.08287517726421356, -0.002484808210283518, 0.011671868152916431, 0.005244008731096983, -0.013752235099673271, 0.02265044115483761, 0.0046571954153478146, 0.004109770990908146, -0.014179684221744537, 0.01799965836107731, -0.015598458237946033, -0.005025414749979973, -0.017474131658673286, 0.006071232259273529, -0.004465918056666851, -0.029456181451678276, -0.003478385042399168, 0.0014230025699362159, -0.01082523912191391, 0.020011207088828087, -0.09767509996891022, -0.008580285124480724, -0.05107523500919342, -0.03699659928679466, -0.020505312830209732, -0.013520531356334686, -0.004457983188331127, -0.02205110900104046, -0.0017129400512203574, 0.025430742651224136, 0.025843780487775803, -0.006841512396931648, 0.0006053968099877238, 0.012631759978830814, 0.007415159605443478, -0.022119607776403427, -0.005240205675363541, -0.0018535616109147668, -0.026689089834690094, -0.03451989218592644, 0.01514322217553854, 0.013679834082722664, 0.04233792796730995, 0.002059366088360548, 0.03407606855034828, -0.01308644749224186, -0.014254124835133553, -0.053346939384937286, 0.028253063559532166, 0.017259320244193077, 0.05279535427689552, 0.00433324696496129, 0.019931619986891747, -0.04135650396347046, -0.021394049748778343, -0.015827763825654984, -0.029242880642414093, -0.04949577525258064, -0.0006959683378227055, -0.04804648831486702, 0.0013466380769386888, 0.006333108060061932, -0.00341273145750165, -0.025368522852659225, -0.01796445995569229, 0.014500549994409084, 0.0016527104889973998, -0.003495190991088748, -0.01649676449596882, -0.02457972802221775, -0.00901614036411047, 0.0005303620710037649, 0.0034566696267575026, -0.03226310387253761, 0.039541613310575485, -0.006563285365700722, 0.02796219289302826, 0.031626757234334946, 0.010702261701226234, -0.018428852781653404, 0.003330973908305168, -0.006496000103652477, -0.020789161324501038, 0.021603086963295937, 0.06559933722019196, -0.07098691910505295, 0.0010903130751103163, 0.014124864712357521, -0.024845462292432785, -0.042241815477609634, 0.8192465305328369, 0.005834501702338457, 0.031092099845409393, 0.06364195048809052, -0.002400054596364498, 0.02448382042348385, -0.041641201823949814, 0.015675870701670647, 0.017557645216584206, 0.05877748131752014, 0.015132403001189232, 0.0010733305243775249, 0.027098454535007477, 0.0043630837462842464, 0.016095543280243874, 0.009923170320689678, -0.0012241044314578176, 0.023720093071460724, -0.010685637593269348, 0.03147665411233902, 0.004805094096809626, 0.04398609325289726, -0.010035475715994835, -0.029012909159064293, 0.015462209470570087, 0.07766088098287582, -0.18809659779071808, 0.034899987280368805, -9.311197282038883e-33, -0.0010497269686311483, 0.01738310046494007, 0.05875677615404129, -0.021109450608491898, -0.007167139556258917, -0.04515331983566284, 0.031625136733055115, 0.047855086624622345, -0.013269991613924503, -0.04047215357422829, 0.01598527282476425, -0.015312097035348415, 0.009940531104803085, -0.024691179394721985, 0.005899434443563223, -0.007437774445861578, 0.005727518815547228, 0.04910431429743767, 0.04669293761253357, 0.03320657089352608, -0.0037189992144703865, 0.04251490533351898, 0.04947591572999954, 0.04201870039105415, -0.014084137976169586, 0.020967384800314903, -0.0287312064319849, -0.008111029863357544, -0.04550323262810707, -0.03869756683707237, -0.010416196659207344, 0.020059050992131233, -0.029693787917494774, 0.014591723680496216, 0.019535453990101814, 0.010319438762962818, 0.026253273710608482, -0.02680806629359722, -0.0036591181997209787, -0.004022457171231508, -0.05883755907416344, -0.02385413646697998, -0.01909046433866024, 0.013827560469508171, -0.015742110088467598, -0.03151485696434975, -0.007010724861174822, -0.025642583146691322, -0.00299828895367682, 0.009163852781057358, 0.010321775451302528, 0.0044523803517222404, -0.006015326827764511, 0.006957963574677706, 0.01396616455167532, 0.01402891706675291, -0.02681811898946762, 0.03816983103752136, 0.03397631645202637, -0.00956344697624445, 0.05560946837067604, -0.0389191210269928, -0.028964541852474213, 0.01806323044002056, 0.012468520551919937, -0.057901229709386826, -0.02568245679140091, 0.011540940031409264, 0.009404442273080349, -0.0023235331755131483, -0.05020887777209282, 0.01892835460603237, -0.018461234867572784, 0.002680896082893014, 0.01883387565612793, 0.0011297398013994098, -0.014592789113521576, 0.051902517676353455, 0.04350043833255768, 0.04111490026116371, 0.04725991562008858, 0.008915957063436508, -0.031080523505806923, -0.00829150527715683, 0.011701026000082493, 0.02883991040289402, 0.0160391703248024, 0.02003784477710724, -0.01564512401819229, 0.03760557249188423, 0.0216862540692091, 0.009647727943956852, -0.000520873349159956, -0.015991516411304474, -0.005328821018338203, 8.551119696061314e-33, -0.03517119586467743, -0.017970139160752296, -0.06291045993566513, 0.0025110687129199505, 0.03583608195185661, -0.028190670534968376, 0.02467646263539791, 0.011447709053754807, -0.04546182230114937, 0.028475571423768997, -0.018422890454530716, -0.008601776324212551, -0.009425671771168709, -0.0003323224955238402, 0.02212902158498764, -0.038261398673057556, 0.017434069886803627, 0.021176842972636223, 0.026174869388341904, -0.012998765334486961, -0.0011467435397207737, 0.02675723098218441, 0.006487112957984209, 0.02614576928317547, -0.004400155507028103, 0.030610399320721626, -0.030239205807447433, -0.030702076852321625, -0.02001599222421646, -0.019183367490768433, -0.025692090392112732, 0.010546074248850346, 0.023335905745625496, -0.015952683985233307, 0.004126087762415409, 0.011256180703639984, -0.002603708067908883, 0.010610274970531464, 0.03709331154823303, -0.04582250490784645, -0.0027334843762218952, -0.008526177145540714, 0.01541233155876398, 0.023315833881497383, 0.03730081394314766, 0.04307837039232254, -0.0357220359146595, 0.010488533414900303, 0.030777309089899063, 0.06499980390071869, -0.0359048917889595, 0.00870381947606802, 0.028335299342870712, -0.003607019782066345, 0.010600368492305279, -0.03795194998383522, -0.03809993714094162, -0.004955812357366085, 0.009569385088980198, 0.004393268842250109, -0.030345680192112923, -0.0033455058000981808, -0.037941329181194305, 0.04501506686210632, -0.02582930587232113, -0.0210798978805542, -0.047948241233825684, -0.011753261089324951, 0.01233676727861166, -0.03209296613931656, -0.0029562825802713633, -0.013200239278376102, -0.0013657644158229232, -0.013436892069876194, 0.03142482787370682, -0.05889029800891876, 0.019391562789678574, -0.025126900523900986, -0.03339443728327751, 0.03671716898679733, 0.014404782094061375, 0.013200817629694939, 0.03466386720538139, -0.014334946870803833, 0.02283940277993679, 0.018103772774338722, -0.02557591162621975, 0.01083115953952074, -0.03850391134619713, -0.08285108208656311, 0.018140064552426338, 0.03221113979816437, -0.02686837688088417, -0.011364290490746498, -0.006876157131046057, -1.3656864084055087e-8, -0.02695610001683235, 0.00899097602814436, 0.00018642941722646356, -0.008067995309829712, 0.004173599649220705, 0.041799936443567276, -0.008777443319559097, 0.020114364102482796, 0.017373720183968544, 0.018272779881954193, 0.0377388671040535, -0.012536627240478992, 0.014953847974538803, 0.0034263916313648224, -0.017763204872608185, -0.04161591827869415, -0.024043545126914978, 0.011723612435162067, 0.04065375775098801, -0.007589575368911028, -0.013201737776398659, 0.048321500420570374, 0.009359974414110184, -0.029765000566840172, 0.022795770317316055, 0.017755741253495216, 0.007756997365504503, -0.0666821151971817, -0.01926955208182335, -0.02291887439787388, -0.011564914137125015, -0.04081859439611435, -0.017920250073075294, -0.011488988995552063, -0.04346683993935585, -0.026777174323797226, 0.03366218879818916, 0.006202411372214556, 0.014751856215298176, -0.02508712187409401, 0.04147820547223091, -0.0006857150001451373, -0.010503526777029037, -0.023669831454753876, 0.010713298805058002, 0.02558707259595394, -0.0007177575607784092, 0.032518018037080765, 0.03526761755347252, -0.061391282826662064, 0.004170349799096584, 0.011183402501046658, 0.06816942989826202, -0.022174464538693428, 0.05019179731607437, -0.01403099112212658, 0.00948549248278141, -0.026444608345627785, -0.017666811123490334, -0.010633519850671291, 0.030499756336212158, 0.06347788870334625, -0.028054239228367805, 0.0019812274258583784 ]
jquery-post-jsonp-and-cross-domain-requests
https://markhneedham.com/blog/2009/08/27/jquery-post-jsonp-and-cross-domain-requests
false
2009-08-29 09:54:39
Book Club: Unshackle your domain (Greg Young)
[ "domain-driven-design", "book-club" ]
[ "Book Club" ]
In this week's book club we continued with the idea of discussing videos, this week's selection being Greg Young's 'http://www.infoq.com/presentations/greg-young-unshackle-qcon08[Unshackle your Domain]' presentation from QCon San Francisco in November 2008. He also did a version of this talk in the http://vimeo.com/3171910[February European Alt.NET meeting]. In this presentation Greg talks about http://codebetter.com/blogs/gregyoung/archive/2009/08/13/command-query-separation.aspx[Command Query Separation] at the architecture level and explicit state transitions amongst other things. Jonathan Oliver has created a http://jonathan-oliver.blogspot.com/2009/03/dddd-and-cqs-getting-started.html[useful resource page] of the material that's been written about some of these ideas as well. These are some of my thoughts from our discussion: * I think the idea of *eventual consistency* is quite interesting and I can see how taking this approach instead of trying to create the impression that everything the user does is in real time we can make life much easier for ourselves. I'm not sure how this type of idea works when users have the expectation that when they change information on a page that it is updated straight away though. For example on a form I might decide to change my address and I would expect that if I reload the page with my address on that it would now display my new address instead of the old one. If that address was eventually consistent after 5 minutes for example the user might become quite confused and send in another update to try and change their address again. http://lizdouglass.wordpress.com/[Liz] pointed out that with bank transactions it is often explicitly described to users that money transfers are 'pending' so perhaps the expectation that things aren't done in real time has already been set in some domains. Werner Vogels has a nice article about http://www.allthingsdistributed.com/2007/12/eventually_consistent.html[eventual consistency in distributed systems] in which he references http://lpd.epfl.ch/sgilbert/pubs/BrewersConjecture-SigAct.pdf[a paper by Seth Gilbert and Nancy Lynch] which talks about the idea that "of three properties of shared-data systems; data consistency, system availability and tolerance to network partition one can only achieve two at any given time." * http://intwoplacesatonce.com/[Dave] pointed out that the idea of 'http://en.wikipedia.org/wiki/Post/Redirect/Get[POST redirect GET]' often used when processing web form submissions seems to adhere quite nicely to the idea of *Command Query Separation* as described in the video. I find it quite interesting that CQS at the method level in our code is usually quite closely adhered too but so often we'll just http://www.markhneedham.com/blog/2009/08/17/law-of-demeter-some-thoughts/[bolt on getters onto domain objects] so that we can access some data to display on the view. The idea of not doing this and having a write only domain seems very interesting and seemed to make sense in the system that Greg described. It would be interesting to know whether one would follow such an extreme approach at the architecture level if there weren't such high performance requirements or the need to have all the operations performed on the system available for an audit. * Greg's idea of *state transitions* sounds quite similar although perhaps not exactly the same as Eric Evans' 'domain events' which he discussed in http://www.markhneedham.com/blog/2009/08/24/book-club-what-ive-learned-about-ddd-since-the-book-eric-evans/[last week's book club]. It would be interesting to see what the code to process form submissions by the user would look like with this approach. As Silvio pointed out, the complexity of this code would probably be much higher than in a more typical approach where we might just build our domain objects straight from the data the user entered. Using Greg's approach we would need to work out which state transitions had actually happened based on the user input which would presumably involve keeping a copy of the previous state of the domain objects in order to work out what had changed. I like the idea of making concepts more explicit though and the idea of keeping all state transitions is something that is built into databases by way of their log by default so it's not a completely new concept. Pat Helland has a cool post titled 'http://blogs.msdn.com/pathelland/archive/2007/06/14/accountants-don-t-use-erasers.aspx[Accountants don't use erasers]' where he describes it in more detail.
null
null
[ 0.008925888687372208, -0.0311377365142107, -0.0034317104145884514, 0.05570206791162491, 0.08805961906909943, -0.02634967677295208, 0.010893495753407478, 0.04408957436680794, 0.007991554215550423, -0.012305608950555325, -0.012613121420145035, -0.004441119264811277, -0.06181487441062927, 0.03068613074719906, -0.014539684168994427, 0.06409057974815369, 0.05506088212132454, -0.0059814960695803165, 0.027846209704875946, 0.004618594888597727, 0.02595718763768673, 0.06797417998313904, 0.0413798913359642, 0.012813449837267399, 0.033821288496255875, 0.020366474986076355, 0.005024074111133814, -0.002502999734133482, -0.060756828635931015, -0.01012434996664524, 0.04239768907427788, -0.008116810582578182, -0.008038794621825218, 0.026449495926499367, 0.031473834067583084, -0.014080795459449291, -0.021391436457633972, 0.03013264201581478, -0.0026050442829728127, 0.016562797129154205, -0.049465782940387726, 0.04234759509563446, -0.023369550704956055, 0.01750405877828598, -0.04685390368103981, -0.009003872983157635, -0.025398487225174904, 0.013595202006399632, -0.0040303426794707775, -0.031757548451423645, -0.06337182968854904, 0.05598798766732216, 0.010523256845772266, 0.021748868748545647, -0.0056930892169475555, 0.033923741430044174, 0.02555593103170395, -0.07425669580698013, 0.016744552180171013, -0.015540648251771927, -0.0031679668463766575, -0.006185520440340042, -0.0001583315315656364, 0.013742218725383282, -0.005766159854829311, -0.0374189168214798, 0.005157689098268747, 0.038057807832956314, -0.040278203785419464, -0.0026478746440261602, -0.015897490084171295, 0.01851595565676689, 0.017751147970557213, -0.011627632193267345, 0.0024145692586898804, -0.018817882984876633, 0.011313843540847301, 0.0696500912308693, 0.03525049611926079, 0.017979733645915985, -0.00473726075142622, 0.0032490286976099014, 0.0025656409561634064, 0.05575697124004364, -0.018467139452695847, -0.042397234588861465, -0.024963555857539177, -0.021576574072241783, -0.06782069057226181, 0.055457063019275665, -0.011132351122796535, -0.056973230093717575, 0.01936657540500164, 0.026381025090813637, -0.013932342641055584, -0.020423483103513718, 0.02931290678679943, -0.0013488160911947489, 0.010122221894562244, -0.033200234174728394, -0.037604592740535736, -0.019131779670715332, -0.012187553569674492, -0.0007813582778908312, -0.05385759472846985, 0.00814068503677845, -0.039633944630622864, -0.03543594107031822, 0.019091611728072166, 0.00042274894076399505, -0.02600010111927986, 0.0431067980825901, 0.01733347214758396, 0.008506986312568188, -0.0519382581114769, 0.039007578045129776, 0.0006939498707652092, -0.06460025906562805, -0.013257111422717571, -0.0032106374856084585, 0.027023112401366234, 0.032970547676086426, -0.02553277648985386, 0.07886403053998947, 0.005369659047573805, -0.004025367088615894, -0.0016176521312445402, 0.037538204342126846, -0.04030076041817665, -0.06470310688018799, 0.01314873993396759, 0.04660990461707115, -0.01554685179144144, -0.0020678953733295202, -0.0016904623480513692, -0.029548747465014458, 0.002136863535270095, 0.003225926076993346, 0.06609192490577698, 0.041447125375270844, 0.017650078982114792, -0.043399401009082794, 0.007688181474804878, 0.014430648647248745, 0.04163439944386482, 0.009525646455585957, 0.0003743287525139749, -0.022824861109256744, -0.040418002754449844, -0.00903335027396679, 0.011208852753043175, 0.0010695589007809758, 0.03424643725156784, -0.04634992405772209, 0.019347762688994408, 0.06410970538854599, 0.03881398215889931, 0.04980912804603577, -0.020676061511039734, 0.027997922152280807, 0.028252102434635162, 0.030891617760062218, -0.003916713874787092, 0.026718739420175552, 0.010967429727315903, -0.005312287248671055, -0.013725195080041885, 0.06738243252038956, 0.008891765959560871, -0.008620347827672958, -0.058430589735507965, -0.03894180804491043, 0.0617365688085556, -0.022057846188545227, -0.04105818644165993, 0.05111066624522209, 0.09187828749418259, 0.03636845946311951, 0.020134905353188515, -0.01259931456297636, -0.07172564417123795, 0.024387650191783905, 0.023744381964206696, 0.01983277127146721, 0.01108373049646616, -0.021388622000813484, 0.058844633400440216, 0.03975561261177063, 0.00304587883874774, 0.05331803858280182, -0.057080455124378204, -0.06727217137813568, -0.030682401731610298, -0.006469451356679201, 0.05765221640467644, -0.013394750654697418, 0.035885632038116455, 0.07245753705501556, 0.020464608445763588, 0.07170138508081436, 0.03147156909108162, 0.0041742087341845036, 0.023379554972052574, -0.04248339310288429, -0.04086482152342796, 0.04626655578613281, 0.02223069965839386, -0.00979054905474186, -0.020499223843216896, 0.006925882305949926, -0.026065798476338387, -0.004049805458635092, 0.027058569714426994, -0.006164300721138716, 0.007175827398896217, 0.013669841922819614, 0.05647144466638565, -0.02594170719385147, 0.004899915307760239, -0.027424007654190063, 0.03140765056014061, 0.021771268919110298, -0.014596594497561455, 0.03087129071354866, -0.004795246757566929, 0.12369965016841888, 0.027847694233059883, -0.031428057700395584, -0.04615868628025055, 0.03087312914431095, 0.019764961674809456, -0.029650455340743065, -0.010205460712313652, -0.03833939880132675, 0.01600521430373192, -0.007901028729975224, -0.040266003459692, -0.04287558048963547, 0.021823931485414505, -0.033134300261735916, 0.015926070511341095, 0.05870373547077179, 0.008911770768463612, 0.055508971214294434, -0.019272496923804283, 0.007869858294725418, -0.009663472883403301, -0.01799648068845272, -0.040331557393074036, 0.008637556806206703, 0.004202862735837698, -0.018595576286315918, 0.05767451971769333, -0.04180510714650154, -0.008905187249183655, -0.03513212129473686, -0.03717964515089989, 0.020918704569339752, 0.037915728986263275, 0.07198069989681244, -0.010363414883613586, 0.0764964148402214, 0.009980744682252407, 0.0035099133383482695, -0.03335282951593399, -0.04842511937022209, -0.03900705277919769, -0.04235336557030678, -0.0030437803361564875, 0.014666412025690079, 0.03052036464214325, 0.002341141924262047, 0.005798465572297573, 0.024943364784121513, 0.013948510400950909, -0.0177466943860054, 0.03170658275485039, -0.012476054951548576, -0.015516144223511219, -0.008148913271725178, -0.01916434057056904, 0.04830460250377655, -0.03431861102581024, -0.0145992087200284, 0.008400838822126389, -0.07924384623765945, 0.032360997051000595, -0.0728500559926033, -0.027298737317323685, 0.009804376401007175, 0.005568245425820351, 0.03467423468828201, 0.032328613102436066, 0.020023994147777557, 0.07622133940458298, 0.038986898958683014, 0.004807079676538706, -0.011301074177026749, -0.016889816150069237, 0.04585084319114685, 0.011718596331775188, 0.005639730487018824, 0.030367279425263405, 0.01199069432914257, 0.011081499047577381, -0.08152920007705688, 0.019689586013555527, -0.02246837504208088, -0.3032037317752838, 0.02584186941385269, 0.026799064129590988, -0.04308940842747688, 0.026424197480082512, 0.0004672763461712748, 0.01803210750222206, -0.047887079417705536, -0.023101676255464554, 0.006757927592843771, -0.01494668610394001, -0.04823864623904228, -0.029207982122898102, 0.020891213789582253, 0.009199881926178932, 0.01969252899289131, 0.018123120069503784, -0.049203965812921524, 0.010744942352175713, 0.029840677976608276, 0.0010218755342066288, -0.08614584058523178, 0.004355784505605698, 0.021082725375890732, 0.010693886317312717, 0.053125329315662384, -0.06004452332854271, 0.015668658539652824, -0.0396948866546154, -0.004630875773727894, 0.006739970296621323, -0.004676148295402527, 0.00695610698312521, 0.0015376406954601407, -0.009721435606479645, -0.029442057013511658, 0.04432247206568718, 0.0075400457717478275, -0.0052633932791650295, 0.0005655508721247315, -0.015564323402941227, 0.006650133058428764, 0.0029484678525477648, 0.0296194925904274, 0.08575804531574249, 0.022274035960435867, -0.06950508058071136, 0.003739678068086505, -0.02873103879392147, 0.06541439145803452, -0.023709308356046677, -0.03613443672657013, -0.003950075712054968, 0.03480249643325806, 0.011213717982172966, 0.001644408330321312, -0.024388346821069717, -0.024947958067059517, -0.04065853729844093, -0.03676686808466911, 0.003812039503827691, -0.03800170123577118, 0.00747346319258213, -0.04178453981876373, 0.014271501451730728, -0.06334012746810913, -0.08802113682031631, 0.008503996767103672, 0.09389793872833252, 0.03584248945116997, -0.01963496208190918, 0.041611198335886, -0.004124384373426437, -0.12291412055492401, -0.0032887523993849754, -0.005964505951851606, 0.005748507101088762, 0.02826072834432125, 0.0230408888310194, 0.04963553324341774, -0.030058154836297035, -0.023577997460961342, -0.006318348925560713, 0.022805335000157356, 0.05128289386630058, -0.061561219394207, 0.036011021584272385, 0.017368869855999947, -0.05089965835213661, 0.00459906505420804, 0.06737393140792847, -0.029821358621120453, -0.02116134576499462, -0.028609175235033035, 0.016732415184378624, 0.023848246783018112, -0.00008798903581919149, -0.0013521856162697077, 0.009795387275516987, 0.047476544976234436, 0.013634772039949894, -0.054509978741407394, 0.026028312742710114, -0.061994221061468124, -0.0053166840225458145, 0.011488217860460281, -0.030399072915315628, 0.01831653155386448, 0.016625575721263885, 0.013791610486805439, -0.02099604532122612, -0.022545382380485535, 0.00951001700013876, -0.06231457367539406, -0.04222091659903526, -0.0016955449245870113, -0.00584407988935709, 0.05272402986884117, -0.010067516937851906, -0.040892962366342545, -0.0440455824136734, 0.030709203332662582, 0.01014337781816721, 0.0024773161858320236, -0.06753212958574295, -0.018698588013648987, -0.027932915836572647, -0.010830159299075603, 0.028398241847753525, -0.00022825566702522337, -0.013430803082883358, 0.012486313469707966, 0.015217828564345837, -0.036626819521188736, 0.04117834195494652, -0.029098888859152794, -0.045597583055496216, -0.027221746742725372, 0.0000030255596357164904, 0.02011885680258274, -0.011367100290954113, 0.009505980648100376, -0.0022144322283566, 0.018184909597039223, 0.051491864025592804, 0.026992356404662132, 0.028964297845959663, 0.01228664256632328, 0.021680744364857674, 0.013432208448648453, 0.01744670793414116, -0.06483133882284164, 0.002811544109135866, -0.028639808297157288, -0.022612880915403366, 0.010124953463673592, 0.027116868644952774, -0.01873769983649254, -0.024363353848457336, -0.011042625643312931, 0.019165249541401863, -0.0588393472135067, -0.006971898954361677, -0.007178780157119036, 0.00889873318374157, 0.04674152657389641, -0.012966002337634563, 0.03197372332215309, 0.0005309390835464001, -0.020460110157728195, -0.02346085198223591, 0.014808697625994682, -0.04218615964055061, 0.0034984045196324587, 0.03209845349192619, -0.020656699314713478, -0.006550104357302189, -0.013974505476653576, 0.03215310350060463, 0.032319940626621246, 0.024038150906562805, -0.027330495417118073, 0.004049201030284166, 0.005634189583361149, 0.07173660397529602, 0.010185443796217442, -0.006299584172666073, 0.028127619996666908, -0.021780049428343773, -0.031281765550374985, -0.017998527735471725, 0.0068079885095357895, 0.0021466673351824284, -0.006904004141688347, -0.01655472256243229, -0.0738932192325592, 0.05586513504385948, 0.0037481682375073433, 0.002005363581702113, 0.004616809077560902, -0.007810383569449186, 0.014909317716956139, -0.03813152760267258, 0.04722163826227188, 0.048700738698244095, -0.05243707448244095, 0.013214239850640297, -0.010147902183234692, -0.007166545372456312, 0.016314631327986717, 0.006308428011834621, -0.035299189388751984, -0.027999144047498703, -0.027271155267953873, 0.031140100210905075, -0.057028502225875854, -0.031638044863939285, -0.024012377485632896, 0.019464019685983658, 0.016387958079576492, 0.014948034659028053, -0.029219413176178932, 0.018192868679761887, 0.013378263451159, -0.04515928402543068, 0.013749942183494568, -0.03623119741678238, 0.002706097438931465, 0.006835471373051405, -0.03084098920226097, 0.018396705389022827, -0.04110778868198395, 0.010753543116152287, 0.014525926671922207, -0.038145024329423904, -0.008228419348597527, -0.05423997342586517, 0.005073333624750376, -0.03488512337207794, 0.04042769968509674, -0.027164923027157784, -0.025791212916374207, -0.03647508844733238, 0.0024078143760561943, -0.05586455017328262, 0.02201894298195839, -0.004968710243701935, 0.01866818033158779, 0.04279351234436035, 0.051502179354429245, 0.018793029710650444, 0.03933655470609665, -0.008663528598845005, -0.0103481849655509, 0.029489224776625633, -0.08620011806488037, -0.010441374033689499, -0.05164429545402527, -0.0548684187233448, 0.009693004190921783, -0.013079331256449223, 0.0041835797019302845, -0.056180112063884735, 0.012593395076692104, 0.02191336080431938, 0.026375258341431618, 0.046677689999341965, 0.008903643116354942, 0.021846210584044456, -0.03428085520863533, -0.02486993931233883, -0.0860065147280693, -0.01820065826177597, 0.00390004669316113, 0.025006242096424103, -0.010915861465036869, 0.014363120310008526, -0.04028927534818649, 0.023505551740527153, -0.07759986817836761, -0.05820855870842934, 0.041423819959163666, -0.026814134791493416, -0.016225462779402733, 0.022219223901629448, -0.07485657930374146, -0.011722492054104805, 0.02209586463868618, -0.038856882601976395, -0.018374839797616005, -0.027524834498763084, 0.06465484201908112, -0.01123682502657175, 0.028805209323763847, -0.044218141585588455, -0.013155993074178696, 0.06299890577793121, -0.00014622186427004635, -0.00540212681517005, 0.04759489744901657, 0.009089830331504345, 0.018732160329818726, 0.04359626770019531, -0.006469574756920338, 0.015157509595155716, 0.0035570389591157436, -0.0237579382956028, -0.05133063718676567, 0.03644964471459389, -0.010459639132022858, -0.03806440159678459, -0.04082281515002251, 0.058039791882038116, 0.019253943115472794, -0.03892979770898819, -0.0709315612912178, 0.03794889152050018, -0.04237167537212372, -0.047051798552274704, -0.023969801142811775, -0.004812593571841717, -0.03687494993209839, 0.04817552492022514, -0.003047155449166894, 0.007406877353787422, 0.07494838535785675, 0.02536655403673649, -0.009650018997490406, -0.024174945428967476, 0.07910796254873276, 0.08843547850847244, 0.06618394702672958, -0.012140404433012009, 0.06247830390930176, -0.017392711713910103, -0.03669210523366928, -0.02082725241780281, -0.024493208155035973, -0.03917516767978668, -0.030805008485913277, -0.004082348197698593, 0.0933428704738617, -0.046758875250816345, 0.06385139375925064, -0.025434693321585655, -0.01423596404492855, 0.006509270519018173, 0.042222242802381516, 0.03025030344724655, 0.06474971771240234, 0.02625388279557228, 0.015291910618543625, -0.021164104342460632, -0.03719427064061165, 0.05097712576389313, 0.004682210739701986, -0.029963593930006027, 0.01314607635140419, -0.0065432651899755, 0.036348070949316025, -0.02349587343633175, 0.041388045996427536, 0.07472188025712967, -0.03932096064090729, 0.01133277639746666, 0.017443789169192314, -0.005712589249014854, -0.0056770495139062405, 0.053323887288570404, -0.009657826274633408, -0.007559860125184059, 0.0028647612780332565, -0.04257141798734665, -0.02377397008240223, -0.0032253109384328127, -0.026816844940185547, 0.05242299288511276, -0.027649812400341034, -0.016024677082896233, 0.022724514827132225, 0.020582104101777077, -0.02146746776998043, -0.05939068645238876, -0.04505259543657303, -0.03815571963787079, -0.04191683605313301, -0.02456332929432392, 0.013431072235107422, -0.012278915382921696, -0.05052545666694641, -0.015790868550539017, -0.03731542453169823, -0.01595531962811947, 0.04434708133339882, -0.059708237648010254, -0.02178177610039711, 0.010373073630034924, 0.0206484142690897, 0.030413541942834854, 0.00993150845170021, 0.04822871461510658, -0.02051938883960247, -0.007545300759375095, -0.026737891137599945, 0.03174515813589096, 0.03095892257988453, 0.012339012697339058, -0.012849225662648678, -0.10914486646652222, 0.03319532796740532, 0.03491887450218201, -0.0014864910626783967, -0.07677339762449265, 0.030246566981077194, 0.024943117052316666, -0.032400231808423996, 0.04606591910123825, 0.005866061430424452, -0.005786081310361624, -0.04540696740150452, -0.004477796144783497, -0.015361643396317959, 0.011301388032734394, 0.047693438827991486, -0.005089245270937681, 0.07083731144666672, 0.045815445482730865, -0.027419770136475563, -0.03925951197743416, -0.008269257843494415, 0.01138719916343689, -0.0027401098050177097, -0.01348070427775383, -0.05861102417111397, -0.02560693770647049, -0.08223243057727814, -0.05086810886859894, 0.03809921070933342, -0.030839217826724052, 0.0017793209990486503, 0.01926618628203869, 0.018544258549809456, -0.025992020964622498, 0.004949402064085007, -0.04718274995684624, -0.008636404760181904, -0.03671092912554741, -0.022201726213097572, -0.01978410594165325, 0.011421781033277512, -0.0037386941257864237, -0.0018334438791498542, 0.024194946512579918, -0.04052605852484703, -0.007129855919629335, -0.009799121879041195, 0.005788723938167095, 0.04188896343111992, 0.012393247336149216, -0.022770237177610397 ]
[ -0.09256266057491302, -0.025656264275312424, -0.022051196545362473, -0.013518529012799263, 0.0505889356136322, -0.024871451780200005, -0.03082069754600525, 0.008832630701363087, 0.000353825103957206, -0.02490287460386753, 0.014410220086574554, 0.0013848936650902033, -0.00698223477229476, 0.0004351023817434907, 0.08023615181446075, 0.026491452008485794, -0.007647763006389141, -0.08529163151979446, 0.015189199708402157, 0.03350314870476723, 0.017713462933897972, -0.024662382900714874, -0.03663378953933716, 0.0016177354846149683, 0.0006385669112205505, 0.017633263021707535, 0.05000908300280571, -0.01732228323817253, 0.013718673959374428, -0.19837990403175354, 0.015979252755641937, 0.0034590342547744513, 0.012141668237745762, -0.015325231477618217, 0.02622871659696102, 0.009257945232093334, 0.010471376590430737, 0.009555505588650703, -0.009438315406441689, 0.03243160620331764, 0.007808091584593058, 0.029194002971053123, -0.02385932393372059, -0.019101610407233238, 0.03624143451452255, 0.0045873611234128475, 0.019941769540309906, -0.008242735639214516, -0.020249271765351295, 0.026524964720010757, -0.050288621336221695, -0.0137185575440526, 0.00761041883379221, -0.025565767660737038, -0.015210202895104885, 0.032688941806554794, 0.03383798152208328, 0.07352437824010849, 0.0009670075960457325, 0.01305189449340105, 0.0348244234919548, 0.0038111996836960316, -0.12742750346660614, 0.10381007194519043, 0.03784005716443062, 0.05560522526502609, -0.011233231984078884, -0.03208502009510994, -0.02592672035098076, 0.08448372036218643, -0.007559582591056824, -0.018661076202988625, -0.056387290358543396, 0.034776680171489716, 0.024164961650967598, -0.021363666281104088, 0.00325814844109118, 0.05509227141737938, 0.007303921971470118, -0.035588014870882034, -0.013688352890312672, 0.003016743343323469, -0.021724365651607513, -0.025294482707977295, -0.07379043847322464, 0.012792930006980896, -0.007269686087965965, 0.035449642688035965, -0.023933490738272667, 0.0030200735200196505, 0.02134917862713337, 0.0055169882252812386, 0.05437599867582321, -0.004921082407236099, -0.0752919465303421, 0.00003312619082862511, -0.0012104527559131384, 0.036648042500019073, -0.020532511174678802, 0.4552628993988037, 0.004375518765300512, -0.005492197349667549, 0.06641992926597595, 0.02407260611653328, -0.003591200802475214, 0.002543254289776087, 0.017057253047823906, -0.052394669502973557, 0.03249909356236458, -0.007296671159565449, 0.019853897392749786, 0.0051721129566431046, 0.08928185701370239, -0.05563587322831154, 0.02257627062499523, 0.03314169868826866, 0.044106852263212204, 0.017416680231690407, 0.010054009035229683, -0.042885951697826385, -0.02381136454641819, 0.016658857464790344, 0.033751241862773895, -0.007816712372004986, 0.0006049752701073885, -0.04773774743080139, 0.013257019221782684, 0.05890323966741562, 0.02367579936981201, 0.0209182295948267, 0.04564015939831734, -0.05950520560145378, -0.034315790981054306, -0.003955875989049673, 0.017326509580016136, 0.017547283321619034, 0.01046717632561922, -0.03791147097945213, 0.027584902942180634, 0.042327675968408585, -0.0017725934740155935, -0.004783714655786753, 0.010375064797699451, -0.01041007786989212, -0.01604251004755497, 0.1418479084968567, 0.03400473669171333, -0.03978772088885307, -0.00991449598222971, -0.011644597165286541, 0.007359345443546772, -0.00170628703199327, -0.0002380675432505086, -0.08012402057647705, 0.00419204356148839, 0.0021699119824916124, 0.10354090481996536, -0.01094076782464981, -0.05834278091788292, -0.03427889198064804, -0.01865297742187977, -0.013499973341822624, -0.04982880502939224, 0.08301983028650284, 0.049955129623413086, -0.1181550994515419, -0.024889962747693062, 0.002272340701892972, 0.016427816823124886, -0.05418809503316879, -0.002511489437893033, -0.010310281999409199, -0.02910604700446129, 0.0023851292207837105, 0.05757005140185356, -0.02426360547542572, -0.03998846188187599, 0.0016184948617592454, 0.04105052724480629, 0.000038282927562249824, -0.013895293697714806, -0.014504865743219852, -0.048476170748472214, 0.024888252839446068, -0.06127446889877319, -0.08034737408161163, -0.06913293153047562, 0.0033250681590288877, 0.00331465364433825, 0.004689115099608898, -0.02368110604584217, -0.040475014597177505, -0.0982852503657341, 0.09940677136182785, -0.05022882670164108, -0.045106273144483566, -0.005347898695617914, -0.0017216478008776903, -0.015086518600583076, -0.009741214103996754, -0.039615727961063385, 0.010485748760402203, -0.042522020637989044, 0.004816642962396145, -0.07330679148435593, 0.06694157421588898, 0.052513349801301956, -0.0499369353055954, 0.0838475450873375, 0.043731559067964554, -0.0234135240316391, -0.02301572822034359, -0.00787583738565445, 0.017964594066143036, 0.006806224584579468, -0.03036154992878437, 0.029097700491547585, 0.0024964401964098215, 0.010920762084424496, 0.026011373847723007, 0.003225438529625535, -0.011020446196198463, 0.001353985513560474, -0.33377933502197266, -0.04660381004214287, -0.032203663140535355, -0.020171286538243294, 0.05108711123466492, -0.08056490123271942, 0.02839508466422558, 0.02500123158097267, -0.002759121125563979, 0.023531874641776085, 0.027443697676062584, -0.00853806734085083, -0.0007231749477796257, -0.08150778710842133, -0.012173921801149845, 0.02003367803990841, -0.028156882151961327, -0.01224380824714899, -0.04517234116792679, 0.005270465277135372, -0.02899046242237091, 0.009986716322600842, -0.05366276204586029, -0.08013046532869339, 0.007883206941187382, -0.03115575574338436, 0.07341501116752625, -0.0005261077894829214, 0.07502838224172592, -0.019488543272018433, 0.040254224091768265, 0.01056952215731144, 0.019405651837587357, -0.11616750806570053, -0.016493499279022217, 0.01700732856988907, 0.011703184805810452, -0.033374883234500885, 0.041740354150533676, -0.03684535250067711, -0.056292708963155746, 0.023938344791531563, -0.04581527039408684, -0.05057339370250702, -0.07262187451124191, 0.029137661680579185, -0.03243405371904373, -0.014250743202865124, -0.0228930301964283, 0.07221830636262894, 0.014323250390589237, -0.033149152994155884, -0.002465182449668646, 0.020052295178174973, 0.007131341379135847, -0.024743109941482544, -0.0403435155749321, -0.0100551201030612, 0.006250884383916855, 0.013808128423988819, 0.022168947383761406, 0.07641620188951492, 0.03417883813381195, -0.04157547652721405, 0.01986309513449669, 0.00868989434093237, 0.0011155998799949884, -0.005417653359472752, 0.0498686321079731, -0.009295651689171791, -0.046776268631219864, 0.07394850999116898, -0.015848351642489433, 0.00456151831895113, 0.022575579583644867, 0.035294096916913986, -0.016984323039650917, 0.04561245068907738, -0.017162790521979332, -0.002201769268140197, 0.026873115450143814, -0.02692248858511448, 0.05765984579920769, -0.03887375816702843, 0.0016066775424405932, 0.017606811597943306, -0.02251916192471981, -0.032333411276340485, 0.053357698023319244, 0.02948739193379879, -0.026969745755195618, 0.020208870992064476, -0.06427440792322159, -0.06331641227006912, 0.07166336476802826, -0.015307377092540264, -0.241104856133461, -0.004065836314111948, 0.05904983729124069, 0.08463244140148163, 0.018487824127078056, 0.04648329317569733, 0.03427920117974281, -0.02036854438483715, 0.0027194933500140905, 0.019523601979017258, 0.030607981607317924, 0.03366825357079506, 0.004597271792590618, 0.007620988879352808, 0.018445666879415512, 0.0027825061697512865, 0.027087634429335594, -0.008403034880757332, -0.023158889263868332, 0.0033541570883244276, 0.012621502391994, -0.000865547452121973, 0.15885041654109955, 0.028864968568086624, 0.02379939891397953, 0.023846708238124847, 0.019496828317642212, 0.03667018190026283, 0.053638260811567307, -0.0026340405456721783, -0.01564587652683258, 0.003657496301457286, 0.0032780852634459734, -0.015849344432353973, 0.017458559945225716, -0.07881882041692734, -0.02632007747888565, 0.04139437898993492, 0.03392236307263374, -0.011500346474349499, -0.01350200455635786, -0.01153478492051363, -0.025872837752103806, 0.042430080473423004, 0.056044403463602066, 0.018244095146656036, 0.006064833141863346, -0.017842581495642662, -0.03708541393280029, 0.0021393708884716034, -0.04786081984639168, -0.059435635805130005, 0.02748703397810459, -0.0023624408058822155, 0.00533957639709115, 0.07895280420780182, 0.0040450687520205975, -0.03146405145525932, -0.011435035616159439, -0.007081043906509876, -0.022450869902968407, -0.010427620261907578, 0.1350429803133011, -0.010852128267288208, 0.023344654589891434 ]
[ -0.03506799787282944, -0.007874904200434685, -0.01646440476179123, 0.018625084310770035, -0.023932570591568947, -0.012746716849505901, 0.04981645569205284, -0.019119713455438614, 0.024437157437205315, -0.021420305594801903, -0.01101330853998661, 0.02022285759449005, 0.0008836481138132513, -0.03939920291304588, -0.004052436910569668, -0.04036697372794151, -0.004723713267594576, -0.014265942387282848, 0.02583387866616249, 0.016238344833254814, -0.025645561516284943, 0.013958618976175785, -0.015614425763487816, -0.028975309804081917, 0.010808337479829788, 0.03927325829863548, -0.0130669716745615, -0.05028160288929939, 0.011354740709066391, -0.15212659537792206, -0.03432134538888931, -0.012810946442186832, -0.008938461542129517, -0.00987234991043806, -0.005741436965763569, -0.005757507868111134, 0.01045952271670103, 0.03055536188185215, 0.006043085362762213, -0.015294111333787441, 0.01506895199418068, -0.021200399845838547, 0.002556808991357684, 0.01757625676691532, -0.0002681582991499454, 0.027475126087665558, -0.012714250013232231, 0.019047996029257774, -0.02172091044485569, -0.02515951730310917, -0.03179387375712395, -0.02658386155962944, 0.003065262222662568, 0.01007035281509161, -0.0012873474042862654, 0.013967950828373432, 0.01606777124106884, 0.0003385513264220208, -0.007562978658825159, -0.020186277106404305, -0.010411531664431095, 0.024040887132287025, -0.026905162259936333, -0.002334855031222105, 0.009598922915756702, 0.007384571712464094, -0.012790561653673649, 0.01967504620552063, -0.019457556307315826, -0.007601028308272362, -0.0014239634620025754, -0.004103314131498337, -0.061589885503053665, -0.026179468259215355, 0.0149267902597785, 0.015082313679158688, 0.018498318269848824, -0.008711814880371094, -0.004006842616945505, -0.019921554252505302, -0.047835517674684525, -0.0022662938572466373, 0.018343405798077583, -0.0015751508763059974, -0.0013791638193652034, -0.012387898750603199, 0.0037993479054421186, -0.015722576528787613, 0.02179650589823723, -0.023501060903072357, -0.023730067536234856, 0.0539621002972126, -0.0000033485773656138917, -0.031667567789554596, -0.08425170183181763, -0.017560116946697235, -0.003520877566188574, -0.005918379407376051, 0.024204345420002937, 0.8607178926467896, 0.06098373979330063, 0.05934268608689308, 0.04739798232913017, 0.02872627228498459, 0.027269406244158745, -0.002752031432464719, 0.015032379887998104, 0.01876251772046089, 0.01596413180232048, -0.05593619495630264, 0.01125528384000063, -0.0021353105548769236, 0.03148195892572403, 0.014084388501942158, 0.0113101527094841, 0.0141301853582263, -0.0005749382544308901, -0.00511007197201252, -0.010216429829597473, 0.0072964755818247795, 0.016337916254997253, 0.025347476825118065, -0.031689804047346115, -0.027118463069200516, 0.013400320895016193, -0.16349785029888153, 0.009147098287940025, -8.777554438176242e-33, 0.00821773987263441, -0.022029194980859756, -0.020312611013650894, -0.005718797445297241, 0.018227797001600266, -0.012397258542478085, 0.027073247358202934, -0.014201251789927483, -0.012329043820500374, -0.002445034682750702, 0.00265764188952744, -0.027917737141251564, 0.03177795186638832, -0.02263863943517208, 0.025662053376436234, -0.007180928718298674, -0.005022485740482807, 0.038244668394327164, 0.03933608904480934, 0.02184082195162773, 0.04401731863617897, 0.03942911699414253, 0.010434960015118122, -0.005417165346443653, 0.052216071635484695, 0.01921294629573822, -0.016273722052574158, 0.017282387241721153, 0.026842309162020683, -0.05365663394331932, -0.014016184955835342, 0.045659199357032776, 0.004754981957376003, -0.007176618557423353, -0.02481742389500141, -0.028500858694314957, -0.030362611636519432, -0.002267142990604043, -0.0024814875796437263, -0.04953997954726219, -0.02571948431432247, 0.0019284726586192846, -0.04546044021844864, -0.00166873459238559, -0.0243236031383276, 0.014016548171639442, -0.0317566879093647, 0.022573700174689293, 0.018030229955911636, 0.002570690819993615, 0.017983920872211456, -0.0033235992304980755, -0.008983610197901726, -0.009210138581693172, -0.03427248075604439, -0.0030983949545770884, -0.0010728786000981927, 0.032351646572351456, 0.005676962900906801, 0.02571593038737774, 0.009014721028506756, -0.02146279439330101, -0.044058240950107574, 0.016748057678341866, -0.01913272775709629, 0.011331835761666298, 0.015091578476130962, 0.018933052197098732, -0.018439974635839462, -0.019866298884153366, -0.04691068083047867, 0.01052980124950409, -0.005421987734735012, -0.0019048602553084493, 0.002710436936467886, 0.0016414413694292307, -0.006448288913816214, 0.016581101343035698, -0.017723919823765755, 0.04559968411922455, 0.0019449412357062101, -0.0035070995800197124, 0.001364010153338313, -0.008200863376259804, -0.015201427973806858, -0.0002653751871548593, 0.03686241805553436, -0.006240657065063715, -0.0018219217890873551, 0.003954705316573381, 0.04224715381860733, 0.025906914845108986, 0.016134876757860184, -0.0075712259858846664, 0.010727452114224434, 8.544374562539502e-33, 0.01285629253834486, -0.034754473716020584, 0.0013392819091677666, 0.00819692574441433, -0.0003526446525938809, 0.012191260233521461, 0.004710320383310318, 0.026407115161418915, -0.021749241277575493, 0.020830130204558372, -0.042100369930267334, 0.022075578570365906, -0.029870621860027313, 0.030650915578007698, 0.03339345380663872, -0.0203218013048172, 0.03310253843665123, -0.019607797265052795, 0.01602211967110634, 0.030170677229762077, 0.026993652805685997, 0.008959664963185787, 0.0018276915652677417, 0.015752220526337624, 0.024536922574043274, 0.05313592404127121, -0.03883513808250427, 0.009498871862888336, -0.0158165842294693, 0.003077693050727248, -0.01275542937219143, -0.027939241379499435, 0.033214863389730453, -0.022047249600291252, -0.03520897030830383, 0.0035923116374760866, -0.0010031663114205003, -0.010753081180155277, -0.00212474400177598, 0.019482675939798355, 0.011432726867496967, 0.0006602927460335195, -0.007543932180851698, 0.01915549673140049, 0.012248137965798378, 0.026715703308582306, 0.004145213868469, -0.011314047500491142, -0.01996699348092079, 0.014830353669822216, -0.0009830674389377236, 0.015248199924826622, 0.01241900585591793, 0.013663936406373978, -0.01861688867211342, 0.007965274155139923, 0.011292651295661926, 0.012531018815934658, -0.009158506989479065, -0.01317913830280304, -0.035307202488183975, 0.040759384632110596, -0.023579778149724007, 0.018670078366994858, -0.025893252342939377, -0.01803365722298622, 0.0062967948615550995, -0.02166694961488247, 0.02958274818956852, -0.056189388036727905, -0.036798667162656784, -0.01919378712773323, 0.010307197459042072, 0.043927717953920364, 0.03687893971800804, -0.02438834309577942, -0.007988330908119678, -0.013746527023613453, -0.0004197107919026166, 0.024937361478805542, 0.01438903994858265, 0.03852655366063118, 0.005243981722742319, -0.0077028279192745686, -0.02454913593828678, 0.024985577911138535, -0.017623718827962875, -0.012132113799452782, 0.005081819370388985, -0.029262622818350792, -0.005272663664072752, -0.042982060462236404, -0.0010299187852069736, 0.0067149922251701355, -0.024543795734643936, -1.3861709113882625e-8, -0.0112294377759099, 0.018153604120016098, -0.011824162676930428, 0.015567545779049397, 0.02873801998794079, 0.013572050258517265, -0.00008063294808380306, -0.021250341087579727, -0.014955079182982445, 0.01734415628015995, 0.0316440723836422, -0.005180410109460354, 0.01086130179464817, -0.011438851244747639, -0.004516142420470715, -0.06594839692115784, -0.01368276122957468, -0.044184885919094086, 0.02907996065914631, 0.017308495938777924, 0.015346205793321133, 0.05439573526382446, -0.0024957642890512943, -0.0014330081176012754, 0.022932998836040497, 0.006732755806297064, 0.002325282897800207, -0.05131813511252403, 0.006287961266934872, -0.006726166233420372, -0.004997373558580875, -0.02225092425942421, 0.012457157485187054, 0.029106903821229935, -0.014544012024998665, -0.03459418937563896, 0.028004856780171394, 0.014098363928496838, -0.0008376206969842315, -0.008232619613409042, -0.006838173605501652, -0.010539967566728592, -0.02650124952197075, -0.02143845520913601, -0.014258991926908493, -0.028486337512731552, -0.023984309285879135, 0.018450751900672913, 0.03983578085899353, -0.053829144686460495, -0.006481438409537077, -0.0059760017320513725, 0.05961170792579651, 0.02789745293557644, 0.046622712165117264, -0.015248819254338741, 0.008291304111480713, -0.011880268342792988, -0.01007852703332901, -0.0017426866106688976, 0.02526003308594227, 0.01626259833574295, -0.012817812152206898, -0.02624993957579136 ]
book-club-unshackle-your-domain-greg-young
https://markhneedham.com/blog/2009/08/29/book-club-unshackle-your-domain-greg-young
false
2009-08-16 22:11:25
Impersonators: Why do we need them?
[ "impersonators" ]
[ "Testing" ]
I wrote previously about http://www.markhneedham.com/blog/2009/06/21/seams-some-thoughts/[an impersonator we are using on my project] which Martin Fowler has dubbed the 'http://martinfowler.com/bliki/SelfInitializingFake.html[self initializing fake]' and although I thought this was the only type of situation where we might use this approach, from discussing this with my colleague http://blog.rufiao.com/[Julio Maia] and from experiences on the project I'm working on I realise there are other advantages to this approach as well. == To deal with unstable/slow integration points This is the main reason that we use the self initializing fake and provides perhaps the most obvious reason why we might create an impersonator because we will remain in pain if we don't create one. Before we used it all our acceptance tests went from the UI all the way through to the back end via a service layer which often led to tests failing due to timeouts (the service took longer than expected to respond) or problems somewhere in the back end. These 'http://www.markhneedham.com/blog/2009/07/25/cruise-agents-reducing-random-build-failures/[random build failures]' were amazingly frustrating since it meant that maybe more than 50% of the time that our continuous integration build light was red it wasn't actually related to anything that the person who checked in had done. The confidence in the build light had drained and 'red builds' were pretty much being ignored. == To speed up the feedback cycle A nice side effect that we got from putting in an impersonator is that our tests run about 5x more quickly than they did previously due to the fact that the impersonator is on a machine in Sydney whereas the actual end point is on a machine in Melbourne and because the impersonator just returns the same response for a given request each time instead of having to recalculate each time. It is quite common on projects to use an in memory database instead of the real database for integration tests to allow these tests to run more quickly and I think this logic works well when applied to other systems we need to integrate against as well. In general if we can have as much of the system as possible under our control in the early parts of our build pipeline then we can have a continuous integration build which gives us very quick feedback and only fails due to problems we created. == To handle not yet ready integration points early Although we would rather do integration early on in a project so that we can discover any problems and then fix them, sometimes the way the project has been planned means that a system that we need to integrate won't actually be ready until much later on. An example of this which I've seen a couple of times is integrating applications with single sign on systems. Even though we don't know exactly how we will integrate against the real system we might be able to take a reasonably good guess of how it might work e.g. our application is able to detect whether a user is logged in based on some information set in the headers of each request by an http://msdn.microsoft.com/en-us/library/ms524610.aspx[ISAPI filter] which each request passes through before reaching our application. On this occasion we didn't developer an impersonator for this integration point until after we already had the real end point but I think it would probably have made life easier if we had. == Impersonators and Continuous Integration I'm sure there are more reasons why impersonators make sense but these are the ones that we've noticed so far. The key with all these ways of impersonating an integration point is that they should only form part of our continuous integration pipeline -we do *still need to test that our code works in a proper end to end test as well*. In our case we have another stage of our http://studios.thoughtworks.com/cruise-continuous-integration/deployment-pipelines[Cruise pipeline] which runs all the tests against the real end points. I'm curious as to what our pipeline should look like when we have built multiple impersonators for different end points - my current thinking is that we can have an early stage of the pipeline where we make use of all of the impersonators and then another stage straight after that where we use all the real end points. However, it does seem like a bit of a jump to go from all impersonators to no impersonators and it increases the likelihood that the build is going to fail since we are going straight from minimal integration to having everything integrated. I guess another approach would be to gradually introduce a real integration point on each part of the pipeline until we have everything integrated on the last one although this might actually result in our feedback being slower if its the last integration point which gives us problem. Julio has http://blog.rufiao.com/2009/08/impersonator-pattern/[written more about the impersonator pattern] on his blog.
null
null
[ 0.024090636521577835, -0.010427416302263737, 0.011304195038974285, 0.06207629293203354, 0.10572867840528488, 0.009163353592157364, 0.04434135556221008, 0.04189790040254593, 0.011707151308655739, -0.01988370530307293, -0.0007960618822835386, -0.01838766038417816, -0.056248053908348083, 0.002259656088426709, -0.025659237056970596, 0.054859891533851624, 0.05735257640480995, -0.01030024979263544, 0.03198166936635971, 0.008675850927829742, 0.01954314298927784, 0.07432094216346741, 0.0424521341919899, 0.015000803396105766, 0.005153091624379158, 0.026346229016780853, -0.011632045730948448, 0.004256315529346466, -0.06678922474384308, -0.019988756626844406, 0.038554903119802475, 0.0005369603750295937, 0.0012040433939546347, -0.0013302641455084085, 0.033343493938446045, -0.015508037991821766, -0.03490147367119789, 0.031591594219207764, -0.01335527841001749, 0.02787933498620987, -0.07331425696611404, 0.055446453392505646, 0.0033242753706872463, -0.005644104443490505, -0.05836779251694679, -0.024226512759923935, -0.05254947021603584, 0.004894752521067858, 0.018001291900873184, -0.014226059429347515, -0.06597670167684555, 0.044879280030727386, -0.036376237869262695, 0.015970036387443542, 0.008774599991738796, 0.021512458100914955, 0.024890394881367683, -0.08020741492509842, 0.012573122046887875, -0.031193753704428673, 0.0029887452255934477, -0.013218981213867664, 0.005880144890397787, 0.013960097916424274, 0.005260202568024397, -0.012730115093290806, 0.04053199291229248, 0.034111231565475464, -0.024723071604967117, 0.0015475332038477063, 0.007871376350522041, 0.009647457860410213, -0.0006908561917953193, -0.013680514879524708, 0.00759201729670167, -0.057768166065216064, 0.008345921523869038, 0.05933288112282753, 0.04449455440044403, 0.03195405751466751, -0.018242571502923965, 0.0013740338617935777, 0.015222260728478432, 0.032920487225055695, -0.03156127780675888, -0.04667670652270317, 0.0019803899340331554, 0.005864547565579414, -0.060207799077034, 0.06394181400537491, 0.023580478504300117, -0.04531022906303406, 0.032664474099874496, 0.027480732649564743, -0.0005604735924862325, 0.00510253245010972, 0.01901112124323845, 0.0038374196738004684, -0.005387396551668644, -0.015127071179449558, -0.02912069298326969, -0.004551255609840155, -0.021703924983739853, 0.007398233748972416, -0.06453166902065277, -0.003952526021748781, -0.02393447421491146, -0.000316142599331215, -0.011261269450187683, 0.012631862424314022, -0.03434781730175018, 0.03110170178115368, 0.015505506657063961, 0.001828944543376565, -0.10126958787441254, 0.049755413085222244, -0.010174280032515526, -0.042129036039114, -0.014294635504484177, 0.010004951618611813, 0.06513772904872894, 0.06257307529449463, -0.029337311163544655, 0.06500387191772461, 0.02791510336101055, 0.01991846226155758, 0.008943448774516582, 0.0403883270919323, -0.018514851108193398, -0.04466316103935242, -0.015132501721382141, 0.06972602009773254, -0.004888789262622595, 0.021077997982501984, 0.008334621787071228, -0.03189694136381149, -0.007337571587413549, 0.007114915177226067, 0.056506939232349396, 0.023495666682720184, 0.011050562374293804, -0.06261132657527924, 0.017625123262405396, 0.028197307139635086, 0.020885445177555084, 0.003834781004115939, 0.011628962121903896, -0.025403430685400963, -0.045978937298059464, -0.0010946851689368486, 0.0076543535105884075, 0.01967906765639782, 0.013995050452649593, -0.044748108834028244, 0.024517333135008812, 0.08447270095348358, 0.035685647279024124, -0.0023652513045817614, -0.020507795736193657, 0.01899583265185356, 0.0322110578417778, 0.028542719781398773, 0.00650579109787941, 0.02864702045917511, 0.029957083985209465, 0.006080487743020058, -0.01577357016503811, 0.038165200501680374, 0.025081338360905647, 0.00220845197327435, -0.04776958376169205, -0.044077400118112564, 0.0632159411907196, -0.04021088033914566, -0.032974131405353546, 0.054088737815618515, 0.0732780396938324, 0.012310031801462173, 0.027313189581036568, -0.013358772732317448, -0.07094203680753708, 0.025990674272179604, 0.0064209578558802605, 0.040601883083581924, 0.024526556953787804, -0.018014341592788696, 0.06595170497894287, 0.03386353701353073, -0.011449368670582771, 0.04596518725156784, -0.06699741631746292, -0.06210917606949806, 0.002885744906961918, -0.02497078664600849, 0.05033674091100693, -0.011291561648249626, 0.0031869264785200357, 0.062231313437223434, 0.017654942348599434, 0.047059014439582825, 0.021375639364123344, 0.004444992635399103, 0.015981025993824005, -0.039199262857437134, -0.044756148010492325, 0.05172795057296753, 0.03436482697725296, -0.014341705478727818, -0.03374471887946129, -0.0035887903068214655, -0.023702016100287437, -0.02559296414256096, 0.022965624928474426, -0.03659906983375549, 0.02122267708182335, 0.02066853456199169, 0.03331604227423668, -0.024430658668279648, 0.03218153864145279, -0.049378782510757446, 0.03158678486943245, 0.005717569030821323, -0.02391117438673973, 0.02723347209393978, 0.006678604055196047, 0.12027833610773087, 0.042654577642679214, -0.08217770606279373, -0.03652672842144966, 0.002685071900486946, 0.015717774629592896, -0.04449658468365669, -0.008063497953116894, -0.01631840132176876, 0.002516466425731778, -0.005767456721514463, -0.03692994639277458, -0.0367705337703228, 0.017898108810186386, -0.03754914551973343, -0.01004195399582386, 0.06545611470937729, -0.02985571324825287, 0.05899695307016373, -0.023888420313596725, -0.0004920991486869752, -0.009803546592593193, -0.03202657774090767, -0.05843154713511467, 0.0027100529987365007, 0.00423694821074605, -0.01941787451505661, 0.05143481492996216, -0.0283210389316082, 0.010478207841515541, -0.04644772782921791, -0.03615707531571388, 0.01369820348918438, 0.015308898873627186, 0.07706093043088913, -0.02240176498889923, 0.07949184626340866, -0.025638632476329803, 0.029059965163469315, -0.0038612501230090857, -0.04160097613930702, -0.040781594812870026, -0.027263754978775978, -0.006987080443650484, 0.033676691353321075, -0.001257043913938105, -0.00045050308108329773, -0.0031738970428705215, -0.006519575137645006, 0.014123241417109966, 0.007658030837774277, 0.017116518691182137, 0.021973781287670135, -0.0008035176433622837, -0.011340570636093616, -0.04590953513979912, 0.0647343248128891, -0.04912450537085533, -0.0063330624252557755, -0.002177605638280511, -0.07874197512865067, 0.006290005054324865, -0.08057320863008499, -0.0567643865942955, -0.004051625728607178, 0.026513071730732918, 0.03091115690767765, 0.019740045070648193, 0.033373892307281494, 0.058841463178396225, 0.0030594246927648783, 0.0036368761211633682, 0.01271380390971899, -0.005774513818323612, 0.04797930642962456, 0.016263937577605247, 0.006543098483234644, -0.0013857538579031825, 0.009140638634562492, 0.018187209963798523, -0.06522408127784729, 0.029780806973576546, -0.04773321747779846, -0.30698108673095703, 0.03178456798195839, 0.03616200014948845, -0.042267221957445145, 0.025364676490426064, -0.012691942974925041, 0.03704887256026268, -0.030487481504678726, -0.043620847165584564, 0.04315624013543129, -0.011553655378520489, -0.04259501025080681, -0.007308985572308302, 0.03465289995074272, -0.00013446604134514928, 0.03558839112520218, 0.01044478453695774, -0.03490704670548439, 0.01023210771381855, 0.03025222383439541, -0.021265903487801552, -0.07327431440353394, 0.013106326572597027, 0.027100374922156334, 0.036383140832185745, 0.07333538681268692, -0.08321588486433029, 0.043732430785894394, -0.05257447063922882, 0.008641298860311508, -0.014396999031305313, 0.001993137411773205, 0.011981586925685406, -0.018955640494823456, -0.024068867787718773, -0.02429221011698246, 0.03483967483043671, 0.004562520422041416, -0.023323433473706245, -0.00547422468662262, -0.020521709695458412, -0.031979046761989594, 0.005328852217644453, 0.013252726756036282, 0.06976285576820374, 0.01088417787104845, -0.08326353132724762, 0.00333002838306129, -0.01436748169362545, 0.06108839809894562, -0.039943158626556396, -0.01580365002155304, -0.04063776507973671, 0.04176793247461319, -0.026002682745456696, -0.01397683471441269, -0.027249274775385857, -0.008984103798866272, -0.05591622367501259, -0.02173585630953312, -0.011355197057127953, 0.0026645774487406015, -0.013831471092998981, -0.031669098883867264, -0.015164370648562908, -0.0624782033264637, -0.04541361331939697, -0.01833369955420494, 0.09965968877077103, 0.005794526543468237, -0.03564250096678734, 0.007668848615139723, 0.0008912949124351144, -0.11157961934804916, 0.009016482159495354, 0.008414221927523613, -0.03593616187572479, 0.006558544468134642, 0.009126458317041397, 0.0571175217628479, -0.05019528046250343, -0.0420604832470417, 0.004062257707118988, -0.017931228503584862, 0.029447557404637337, -0.018014490604400635, 0.02592838928103447, 0.04416101425886154, -0.01711786910891533, 0.016214635223150253, 0.07213479280471802, -0.006763508543372154, -0.033192139118909836, -0.04240301251411438, 0.033546384423971176, 0.032936736941337585, 0.025763195008039474, 0.01170880813151598, 0.009926778264343739, 0.018274102360010147, 0.009046605788171291, -0.05024400353431702, 0.036341991275548935, -0.0383143313229084, -0.0022974980529397726, 0.015022089704871178, -0.03746560215950012, 0.008574184961616993, 0.021368464455008507, 0.031342003494501114, -0.013940450735390186, -0.04196673631668091, 0.0024511273950338364, -0.030814066529273987, -0.04892812296748161, 0.009875388815999031, 0.013781513087451458, 0.034737419337034225, -0.0076433392241597176, -0.012248336337506771, -0.042344216257333755, 0.03108306974172592, 0.004600129090249538, 0.01602761447429657, -0.03434257209300995, -0.016375789418816566, -0.019486738368868828, 0.009367590770125389, 0.03845585137605667, 0.010680279694497585, -0.005226460751146078, 0.028868496417999268, 0.01581224612891674, -0.02487143874168396, 0.030258797109127045, -0.007147007621824741, -0.04836347699165344, -0.02514640800654888, 0.004063155967742205, 0.009144924581050873, -0.003788931528106332, -0.003980171866714954, 0.027866151183843613, 0.03251064196228981, 0.05329723283648491, 0.012525364756584167, 0.05062045156955719, -0.027730630710721016, 0.042154062539339066, -0.0024381105322390795, 0.052604060620069504, -0.0927828848361969, 0.007455430459231138, -0.054065585136413574, -0.02699313499033451, -0.011025087907910347, 0.033028002828359604, -0.019947489723563194, -0.04240623861551285, -0.002236556261777878, 0.029876232147216797, -0.04866804555058479, -0.016960509121418, -0.01802218146622181, 0.033823162317276, 0.06689244508743286, -0.024142935872077942, -0.001576421083882451, -0.0013098360504955053, 0.0017607668414711952, -0.008313669823110104, 0.03549769148230553, -0.046661607921123505, -0.00006302056135609746, 0.03603757917881012, 0.01720573566854, -0.029625127092003822, 0.007782954256981611, 0.05693131312727928, -0.0013250119518488646, -0.017689522355794907, -0.01960146240890026, -0.0010210778564214706, 0.004188334569334984, 0.06643451750278473, -0.004074982833117247, 0.00864581298083067, 0.004341163672506809, -0.011101623997092247, -0.00950782373547554, -0.031056271865963936, 0.008763579651713371, 0.017128219828009605, -0.007160818669945002, -0.018984973430633545, -0.07516975700855255, 0.041058026254177094, 0.025714904069900513, 0.011987532489001751, 0.036863744258880615, 0.015974117442965508, -0.010479065589606762, -0.022056102752685547, 0.011506804265081882, 0.055081211030483246, -0.0535823330283165, -0.00023238301218952984, -0.004435456823557615, 0.01317600253969431, 0.017922677099704742, -0.00136916758492589, -0.04579371213912964, -0.055084023624658585, -0.02304561622440815, -0.012927461415529251, -0.06603040546178818, -0.03829578310251236, -0.028200244531035423, 0.015842275694012642, 0.012607666663825512, -0.021200504153966904, 0.006162215955555439, -0.012861974537372589, 0.0025461120530962944, -0.03066089376807213, 0.004624081309884787, -0.027902798727154732, -0.0027238966431468725, -0.012431375682353973, -0.03351842984557152, 0.021050691604614258, -0.03187955543398857, 0.030472256243228912, 0.02109157107770443, -0.03923644497990608, -0.010995722375810146, -0.029629509896039963, 0.0004814419662579894, 0.005929665639996529, 0.03620704635977745, -0.005227529909461737, -0.026693083345890045, -0.04403846710920334, 0.007896274328231812, -0.039331547915935516, 0.017182065173983574, -0.0030417395755648613, 0.012757817283272743, 0.01644214428961277, 0.043528586626052856, 0.0009812468197196722, 0.049884408712387085, -0.028528491035103798, -0.014500152319669724, 0.018926288932561874, -0.08777683228254318, -0.020275022834539413, -0.04785121977329254, -0.05366484075784683, 0.0014455205528065562, 0.011131500825285912, 0.004065865185111761, -0.029623106122016907, 0.026227781549096107, 0.02503347210586071, 0.02020292729139328, 0.045449770987033844, 0.010900026187300682, 0.023652195930480957, -0.057891376316547394, -0.005232091527432203, -0.06716690212488174, 0.013216898776590824, 0.05800720304250717, -0.006702239625155926, 0.006089719943702221, 0.015032893046736717, -0.02826755866408348, 0.0343860425055027, -0.05750635638833046, -0.026059554889798164, 0.053069114685058594, -0.01932184211909771, -0.03819175437092781, 0.00182401726488024, -0.07613024860620499, 0.012580419890582561, 0.0014187119668349624, -0.04391834884881973, -0.025546031072735786, -0.017931032925844193, 0.05477742850780487, -0.013317649252712727, 0.04048793017864227, -0.048805754631757736, -0.0362265519797802, 0.03413468226790428, 0.01615443266928196, -0.019176851958036423, 0.042462464421987534, 0.016421137377619743, 0.034337304532527924, 0.03577156364917755, 0.019320214167237282, 0.006669744849205017, 0.002226544078439474, -0.01713634468615055, -0.06823825091123581, 0.05063538998365402, -0.013466031290590763, -0.02076103165745735, -0.0398319810628891, 0.054297834634780884, 0.029948869720101357, -0.03116307221353054, -0.06733279675245285, 0.033646360039711, -0.05584125965833664, -0.04056777432560921, -0.019724156707525253, 0.007467650342732668, -0.05390216410160065, 0.04663597047328949, 0.0006592283607460558, 0.007795652374625206, 0.061337731778621674, 0.012047755531966686, -0.005982380360364914, -0.013509707525372505, 0.07321400940418243, 0.0824257954955101, 0.05126670375466347, 0.008466875180602074, 0.0618303082883358, -0.004246053285896778, -0.05257673189043999, 0.019362948834896088, -0.013412421569228172, -0.03402695432305336, -0.024051308631896973, 0.017528118565678596, 0.06434059888124466, -0.035368867218494415, 0.07237830758094788, -0.019963840022683144, 0.0011930572800338268, 0.023638339713215828, 0.06574346125125885, 0.003694399492815137, 0.06303777545690536, -0.0033729386050254107, 0.00838068313896656, -0.02378350868821144, -0.052235767245292664, 0.022249026224017143, -0.0491480678319931, -0.028399387374520302, 0.016735831275582314, -0.03863499313592911, 0.011157907545566559, -0.0054383850656449795, 0.01783514954149723, 0.0739063173532486, -0.05216413736343384, 0.02543019875884056, -0.0009200636995956302, 0.013195160776376724, 0.014809032902121544, 0.013630910776555538, -0.042227502912282944, -0.00644137617200613, -0.004237169399857521, -0.027612807229161263, -0.004007004667073488, 0.0022065467201173306, -0.042905159294605255, 0.04287033900618553, -0.02319277636706829, -0.008468913845717907, 0.013705738820135593, -0.015402140095829964, -0.022442098706960678, -0.041178036481142044, -0.0367412194609642, -0.03615882247686386, -0.041674379259347916, -0.004120135214179754, 0.005597482901066542, -0.004379620309919119, -0.032614123076200485, -0.008668649941682816, -0.020392335951328278, -0.0314515046775341, 0.05156940966844559, -0.06200723350048065, -0.038391340523958206, 0.01409129798412323, -0.001458388171158731, 0.012699130922555923, 0.01026099268347025, 0.06602832674980164, 0.012339822947978973, 0.0005265098297968507, -0.013051118701696396, 0.0029820522759109735, 0.020630240440368652, 0.0016276496462523937, 0.0017574286321178079, -0.10837611556053162, 0.018321555107831955, 0.04054734483361244, -0.006600687745958567, -0.05803642049431801, 0.021425358951091766, 0.0019167002756148577, -0.01046860683709383, 0.05659128352999687, -0.019524259492754936, 0.006560673005878925, -0.033268388360738754, -0.014897902496159077, 0.0035182933788746595, 0.014648698270320892, 0.045684684067964554, 0.0010752187808975577, 0.08726852387189865, 0.02890206128358841, -0.02952715754508972, -0.030948471277952194, -0.0028854424599558115, -0.006139129865914583, -0.010874180123209953, -0.00816727802157402, -0.029062286019325256, -0.03948665410280228, -0.0934290662407875, -0.014916346408426762, 0.009945894591510296, -0.013234138488769531, -0.02424054779112339, 0.03198922798037529, 0.01579355262219906, -0.038046255707740784, 0.00012339974637143314, -0.03417648747563362, 0.0190376378595829, -0.027417318895459175, -0.014926793053746223, 0.004003501031547785, 0.006401949096471071, 0.016517875716090202, 0.0032850028946995735, 0.013185245916247368, -0.05154796317219734, 0.00633510435000062, -0.0021556708961725235, 0.04232339188456535, 0.04839564487338066, 0.005819050129503012, -0.011798122897744179 ]
[ -0.09641046077013016, -0.0006748319719918072, -0.024474287405610085, -0.022639775648713112, 0.00418493477627635, -0.02061389572918415, 0.018189935013651848, 0.017946157604455948, -0.013943273574113846, -0.029858548194169998, 0.03209569305181503, -0.032304566353559494, -0.008252948522567749, -0.025063004344701767, 0.08252042531967163, -0.0026017564814537764, -0.0061603388749063015, -0.08186869323253632, 0.01491911243647337, 0.03094710037112236, -0.006945052184164524, -0.052075039595365524, -0.044044263660907745, -0.021125519648194313, -0.008250826969742775, 0.013996708206832409, 0.043024979531764984, -0.00019824516493827105, 0.009805350564420223, -0.20942682027816772, 0.03300934657454491, 0.0009472322417423129, 0.021531928330659866, -0.023992227390408516, 0.0160614475607872, 0.024839874356985092, -0.004099215380847454, 0.015534632839262486, -0.004330237861722708, 0.0024839495308697224, 0.02584097348153591, 0.020429711788892746, -0.050785381346940994, -0.0038588258903473616, 0.04659676179289818, 0.0027410583570599556, 0.0036641182377934456, -0.011897069402039051, -0.014930025674402714, 0.019396092742681503, -0.045498184859752655, -0.020566251128911972, -0.0012651791330426931, -0.007021807599812746, -0.017857670783996582, 0.0197551678866148, 0.041711144149303436, 0.09237764030694962, 0.01730984076857567, 0.010215383023023605, 0.0016855107387527823, -0.003711304860189557, -0.11270120739936829, 0.08112489432096481, 0.01971786841750145, 0.043295327574014664, -0.0416768342256546, -0.07279562950134277, -0.013298810459673405, 0.07568866014480591, -0.015386913903057575, -0.032213881611824036, -0.048348765820264816, 0.03361085057258606, 0.012022444978356361, 0.022856472060084343, 0.014735673554241657, 0.039162859320640564, 0.03013102523982525, -0.03385486826300621, -0.01574653945863247, -0.015278689563274384, -0.029124721884727478, -0.016650235280394554, -0.04889622703194618, 0.0366092287003994, 0.014918496832251549, 0.06180353835225105, 0.030096257105469704, 0.03423691168427467, 0.03769917041063309, -0.016050616279244423, 0.04547642171382904, 0.011534270830452442, -0.051070600748062134, -0.012123320251703262, -0.014823407866060734, 0.019526779651641846, -0.062466811388731, 0.45206719636917114, 0.00791344977915287, -0.022175531834363937, 0.07230039685964584, 0.04381614178419113, 0.0013165634591132402, 0.014828168787062168, 0.007376470603048801, -0.05437673628330231, 0.011032437905669212, -0.008189575746655464, 0.002936544129624963, 0.01963573507964611, 0.06980714946985245, -0.04067453742027283, 0.022564945742487907, 0.023373212665319443, 0.02530207671225071, 0.014718921855092049, -0.0038466264959424734, -0.026079803705215454, -0.0036532673984766006, 0.039267029613256454, 0.029558280482888222, 0.016902176663279533, -0.03958698734641075, -0.03678169846534729, 0.030597832053899765, 0.05192695930600166, -0.003793434239923954, 0.011241833679378033, 0.008012834936380386, -0.04134611040353775, -0.05069464445114136, 0.03144649788737297, 0.010473901405930519, 0.006814063061028719, 0.014219602569937706, -0.007873709313571453, 0.012346193194389343, 0.04615715891122818, 0.011265409179031849, 0.019221050664782524, 0.01144898310303688, -0.021206745877861977, -0.023585349321365356, 0.09241704642772675, 0.005259732715785503, -0.03019893169403076, -0.013303612358868122, -0.040865033864974976, 0.00887107290327549, 0.03612581640481949, -0.029550528153777122, -0.07257802039384842, 0.016308773308992386, -0.001722392626106739, 0.07807905972003937, 0.0074415430426597595, -0.06071075052022934, -0.004832983948290348, -0.01215708814561367, -0.010314088314771652, -0.04233656823635101, 0.05132480710744858, 0.03898119553923607, -0.12703734636306763, -0.03186796233057976, 0.013178435154259205, 0.03373819217085838, -0.061419811099767685, -0.031054463237524033, -0.013403003104031086, -0.014001168310642242, -0.01661166362464428, 0.031459543853998184, -0.04889210686087608, -0.05286487564444542, 0.023923678323626518, 0.008412745781242847, 0.017503486946225166, -0.001576629001647234, -0.004295661114156246, -0.045132555067539215, -0.0008314920705743134, -0.051914315670728683, -0.08496283739805222, -0.04285966977477074, -0.008273920975625515, -0.0414498932659626, 0.01124928705394268, -0.04285143315792084, -0.0013248181203380227, -0.10781549662351608, 0.09884390980005264, -0.011195046827197075, -0.029365340247750282, 0.006906656548380852, -0.006265602074563503, -0.029025832191109657, -0.031038543209433556, -0.01898670569062233, 0.05422092229127884, -0.020249664783477783, 0.01821807026863098, -0.0715593472123146, 0.06844132393598557, 0.037758518010377884, -0.04746865853667259, 0.10928413271903992, 0.05268987640738487, -0.04104163125157356, -0.023407576605677605, 0.004135248251259327, 0.02734394371509552, -0.020182957872748375, -0.027284890413284302, -0.007138158660382032, 0.005222661886364222, 0.03410643711686134, 0.011186380870640278, -0.039287734776735306, 0.03076085075736046, -0.01987958885729313, -0.3458598554134369, -0.04347043111920357, -0.04126504436135292, 0.024641726166009903, 0.028898512944579124, -0.09685006737709045, 0.023359254002571106, 0.011673386208713055, 0.0076781935058534145, -0.01806154102087021, 0.0740538164973259, -0.008274606429040432, 0.02074906975030899, -0.035449836403131485, 0.011925676837563515, -0.0005932975909672678, -0.041898295283317566, 0.00012114083801861852, -0.027587689459323883, -0.002299363724887371, -0.009370170533657074, 0.026424553245306015, 0.018067648634314537, -0.024332785978913307, -0.006489721592515707, -0.023465314880013466, 0.08925571292638779, -0.008600447326898575, 0.08011722564697266, -0.023521557450294495, 0.0358952134847641, 0.0015542840119451284, 0.024113589897751808, -0.09976991266012192, 0.020103298127651215, -0.005622975528240204, 0.02769467979669571, -0.04143384471535683, 0.056327544152736664, -0.031793538480997086, -0.062404680997133255, 0.0049643684178590775, -0.03534310311079025, -0.05460815876722336, -0.03917480260133743, 0.016480514779686928, -0.04565564915537834, -0.0001420897024217993, -0.06088908389210701, 0.07458342611789703, 0.03156984597444534, -0.025427090004086494, 0.018920809030532837, 0.007762440945953131, -0.0012304004048928618, -0.07047390937805176, -0.07498269528150558, -0.010351207107305527, 0.006403730250895023, 0.018825290724635124, 0.04032281041145325, 0.08888605982065201, 0.029678093269467354, -0.058908868581056595, 0.022332385182380676, 0.0013903426006436348, -0.004565397277474403, -0.002633722499012947, 0.052732523530721664, -0.012722478248178959, -0.009734869003295898, 0.11612054705619812, -0.020259078592061996, 0.010982693172991276, 0.0273105688393116, 0.024447480216622353, -0.027915941551327705, 0.00940221268683672, 0.01535692811012268, 0.0074240341782569885, 0.006293175276368856, -0.014955735765397549, 0.018263107165694237, -0.027860669419169426, -0.004510587081313133, 0.044571854174137115, -0.01602698303759098, -0.01435591746121645, 0.06054456904530525, 0.013327882625162601, -0.022338999435305595, 0.03823985159397125, -0.029106946662068367, -0.04486697539687157, 0.07109417766332626, -0.02645258419215679, -0.25497132539749146, -0.0019317312398925424, 0.052302900701761246, 0.056183334439992905, -0.020084058865904808, 0.012187899090349674, 0.034163109958171844, -0.030508283525705338, 0.020222339779138565, 0.008471062406897545, 0.012218382209539413, 0.03558264672756195, 0.027882728725671768, 0.0426502451300621, 0.0335356667637825, 0.0029100209940224886, 0.022313997149467468, -0.016109053045511246, -0.00790632888674736, -0.014823888428509235, -0.0185056421905756, -0.023526106029748917, 0.1659233272075653, 0.01883784681558609, 0.008572706021368504, 0.04001403599977493, 0.030576512217521667, 0.025795893743634224, 0.046559881418943405, -0.009050349704921246, -0.015851512551307678, -0.027734365314245224, -0.00875230971723795, 0.0011030841851606965, 0.036618806421756744, -0.09295472502708435, -0.04030623659491539, 0.023269688710570335, 0.012790839187800884, -0.00009853531082626432, -0.008161243051290512, 0.01484846044331789, 0.002867350121960044, 0.04434231296181679, 0.055481791496276855, -0.001904728589579463, -0.006012754514813423, -0.009240691550076008, -0.05175035074353218, -0.012232337146997452, -0.031229114159941673, -0.05808848515152931, 0.021026453003287315, -0.03202936053276062, 0.02910398319363594, 0.08350176364183426, 0.01103197131305933, -0.007498486898839474, 0.01183068286627531, 0.01722257025539875, 0.0010454667499288917, 0.004317598883062601, 0.1286793351173401, -0.0010756301926448941, 0.028513140976428986 ]
[ -0.005401402711868286, 0.011376447044312954, 0.01295642089098692, 0.01826549880206585, -0.020235255360603333, -0.022291798144578934, 0.011441128328442574, 0.017389977350831032, -0.011858191341161728, -0.0004247062315698713, -0.0021734314505010843, 0.00018653761071618646, 0.05215923488140106, -0.005894234869629145, 0.03639744594693184, 0.012792428024113178, 0.025356365367770195, -0.004396392498165369, 0.01569441147148609, 0.003290385939180851, -0.031492579728364944, -0.006306593306362629, -0.019407687708735466, -0.0012409231858327985, -0.0035123059060424566, 0.026836896315217018, -0.01755477301776409, 0.008840669877827168, 0.021245049312710762, -0.14253976941108704, 0.0015191686106845737, -0.04902946203947067, -0.018597746267914772, 0.00404345290735364, 0.002888521645218134, 0.0007826893124729395, 0.02433607168495655, 0.010271092876791954, 0.008793325163424015, -0.007088863756507635, 0.033798396587371826, -0.018043819814920425, 0.013152123428881168, 0.01431797631084919, 0.011952495202422142, -0.011243934743106365, -0.010971812531352043, -0.013567059300839901, -0.017951523885130882, -0.018197888508439064, -0.03034503199160099, 0.004317847080528736, 0.011669493280351162, 0.012039892375469208, 0.003364796284586191, 0.013786744326353073, -0.008048506453633308, 0.0196051187813282, -0.005737247411161661, -0.00368707999587059, -0.010249863378703594, 0.004196183290332556, -0.030568277463316917, -0.023837188258767128, -0.018550913780927658, -0.007895112968981266, -0.0018880577990785241, 0.02263256534934044, 0.015237569808959961, 0.010603975504636765, -0.035116493701934814, 0.006672335788607597, -0.0270885918289423, -0.020918844267725945, 0.012767183594405651, 0.02796884812414646, 0.017189553007483482, 0.008653595112264156, -0.009773265570402145, 0.011120839044451714, -0.029378416016697884, 0.006948219146579504, 0.009647537022829056, -0.006623501423746347, -0.0031567388214170933, 0.008177836425602436, 0.03276974335312843, 0.005295491777360439, 0.02125406451523304, 0.0014059673994779587, 0.004047865979373455, 0.020182615146040916, -0.014266588725149632, -0.016061387956142426, -0.05101485922932625, -0.010360817424952984, -0.024512384086847305, -0.01192370057106018, -0.007365079130977392, 0.862219512462616, 0.003994017839431763, -0.006320978049188852, 0.0281381793320179, 0.050694696605205536, -0.008582218550145626, -0.03202522173523903, -0.003522384911775589, 0.029141239821910858, 0.0350915789604187, -0.051709093153476715, 0.010917143896222115, -0.010855638422071934, 0.03867185860872269, 0.008925850503146648, 0.008647332899272442, 0.0227984432131052, -0.01652050018310547, -0.00973466970026493, -0.022208137437701225, 0.02000250481069088, 0.03522858768701553, 0.019298220053315163, 0.004661154933273792, 0.029221998527646065, 0.014454456977546215, -0.18810002505779266, 0.010591622442007065, -8.178368233363659e-33, 0.01187937706708908, 0.0073940143920481205, 0.033834848552942276, 0.0026527082081884146, 0.01996641233563423, -0.03177936375141144, 0.03054216131567955, 0.01543642021715641, 0.001518748584203422, -0.037603721022605896, 0.01998710259795189, -0.006229378283023834, -0.004602187313139439, -0.00821177288889885, 0.029487207531929016, -0.005082686897367239, -0.0013754229294136167, 0.02021932601928711, -0.004105978179723024, 0.027506191283464432, 0.04085349291563034, 0.028533224016427994, 0.0060539934784173965, -0.004867674317210913, 0.0143548883497715, 0.024640709161758423, 0.022523701190948486, 0.02295967936515808, -0.009323758073151112, -0.03921595215797424, -0.028796112164855003, 0.009749449789524078, -0.02377133071422577, -0.008268535137176514, 0.005088703706860542, -0.030558258295059204, -0.025435615330934525, 0.0076011670753359795, -0.03307746350765228, -0.0026914847549051046, -0.026036862283945084, 0.0018957046559080482, -0.03793744742870331, 0.009719300083816051, -0.019407954066991806, -0.04881523549556732, -0.013683204539120197, 0.010014750994741917, 0.059584129601716995, 0.006075174547731876, 0.020757421851158142, -0.0008469111053273082, -0.004342833999544382, 0.012346949428319931, -0.019641650840640068, 0.022196877747774124, -0.018029160797595978, 0.0031611204613000154, -0.01157201174646616, 0.031077342107892036, -0.002410035813227296, -0.026633238419890404, -0.038957174867391586, 0.029110493138432503, 0.006524269934743643, -0.03177109733223915, 0.04806165769696236, 0.01705574057996273, 0.021264636889100075, -0.027360042557120323, -0.044478364288806915, -0.010642907582223415, -0.014926069416105747, -0.011701156385242939, 0.004503550939261913, -0.013100760988891125, -0.0156700536608696, 0.02868305705487728, 0.004063988570123911, 0.03908546268939972, 0.006269982550293207, -0.007953841239213943, -0.029635431244969368, -0.021841952577233315, -0.013178639113903046, -0.03824257478117943, -0.0007331946399062872, -0.0070051937364041805, -0.025552639737725258, -0.02848764881491661, 0.06105522811412811, 0.015481441281735897, 0.03655213490128517, -0.026263605803251266, -0.035720132291316986, 8.419817711758434e-33, 0.001850166474469006, -0.03532365337014198, -0.019871165975928307, -0.008108842186629772, 0.0051584322936832905, 0.011916602961719036, 0.029549885541200638, 0.007272964343428612, -0.036491550505161285, 0.019106373190879822, -0.020506473258137703, 0.034240882843732834, -0.021419838070869446, 0.041132889688014984, 0.008053094148635864, -0.02652367763221264, 0.03555447235703468, -0.02399374358355999, 0.01149240043014288, 0.014637747779488564, 0.04703182354569435, 0.01022364478558302, -0.004905966110527515, -0.004711678717285395, 0.014193081296980381, 0.051139600574970245, -0.020356854423880577, 0.020642636343836784, 0.0024559369776397943, -0.002599475672468543, -0.014463252387940884, 0.021795593202114105, 0.002200421644374728, -0.03539169952273369, -0.026283152401447296, 0.03379146009683609, -0.00720378290861845, 0.01895580068230629, -0.003461214015260339, 0.005518466234207153, 0.02338617853820324, 0.014196531847119331, -0.001069359597750008, 0.004019575193524361, -0.008170435205101967, 0.01838131807744503, -0.016960475593805313, -0.031637921929359436, -0.02986421063542366, 0.034099239856004715, -0.022456465288996696, 0.035874515771865845, 0.02057022601366043, -0.004811031278222799, -0.032294198870658875, -0.028874395415186882, -0.04920698329806328, 0.005631271284073591, -0.03141523152589798, 0.05545012280344963, 0.0020447601564228535, 0.019239237532019615, -0.021360278129577637, 0.008549324236810207, -0.0375385656952858, -0.006232698913663626, -0.02444547973573208, 0.019353225827217102, -0.007932850159704685, -0.021366920322179794, 0.004151809960603714, 0.011115911416709423, -0.022611156105995178, 0.024811191484332085, 0.04609597474336624, -0.050717175006866455, -0.023942571133375168, -0.006919166073203087, 0.0007423870847560465, 0.027939805760979652, -0.007695397362112999, -0.008297963999211788, -0.011796694248914719, -0.015371925197541714, -0.015167979523539543, -0.01976194977760315, -0.01572943478822708, 0.029162442311644554, 0.009572464972734451, -0.007491991855204105, -0.004665767308324575, -0.021537356078624725, -0.011126085184514523, 0.03807630389928818, -0.023681439459323883, -1.3672391219188285e-8, 0.00466097192838788, 0.005550846923142672, -0.01715206727385521, 0.012384411878883839, 0.010841283947229385, 0.012818770483136177, -0.04343157634139061, 0.010569624602794647, -0.04363403469324112, 0.020737655460834503, 0.03451358154416084, -0.023320171982049942, -0.012959745712578297, -0.021264037117362022, 0.013914411887526512, -0.059405479580163956, -0.0021118419244885445, -0.004731347784399986, 0.0219611506909132, -0.0136475320905447, 0.023480691015720367, 0.06114765256643295, -0.018841516226530075, -0.00462417583912611, 0.0359385646879673, 0.0193205326795578, -0.006366628222167492, -0.07500798255205154, -0.03023882955312729, 0.03967984393239021, 0.002929901471361518, -0.012287621386349201, -0.02527405321598053, -0.004569871351122856, -0.03173277899622917, -0.01515034306794405, 0.028505485504865646, 0.02612912282347679, 0.0112015251070261, -0.023188915103673935, -0.001768026384525001, 0.025020234286785126, -0.0025252467021346092, -0.024532444775104523, -0.01056041568517685, 0.011974827386438847, -0.03003537468612194, -0.014372741803526878, 0.04425286129117012, -0.06415612995624542, 0.013768844306468964, 0.0025343846064060926, -0.01268041506409645, 0.03026953712105751, 0.023998349905014038, 0.002090154681354761, 0.020569398999214172, -0.011264270171523094, -0.026927631348371506, 0.004150111228227615, 0.02925829589366913, 0.02745491825044155, 0.0034051176626235247, -0.018105152994394302 ]
impersonators-why-do-we-need-them
https://markhneedham.com/blog/2009/08/16/impersonators-why-do-we-need-them
false
2009-08-17 21:12:26
Law of Demeter: Some thoughts
[ "coding", "law-of-demeter" ]
[ "Coding" ]
http://haacked.com/[Phil Haack] http://haacked.com/archive/2009/07/14/law-of-demeter-dot-counting.aspx[wrote a post a few weeks ago about the law of demeter] and how it's not just about reducing the number of dots that appear on one line. This is a nice side effect of following the law of demeter but I often feel that the main benefit we get from following it is that code becomes http://www.markhneedham.com/blog/2009/03/12/oo-reducing-the-cost-oflots-of-stuff/[easier to change] since we haven't exposed the state of an object all over the place. I think there are two parts to the law of demeter: . That we don't dig into the internals of objects to retrieve the data we want i.e. 'foo.bar.baz.qux' in Phil's example but instead create methods on the top level object which delegate to get us the data that we need. In this case we might have 'foo.bar_baz_qux' for example. . That we follow http://www.pragprog.com/articles/tell-dont-ask[tell don't ask] and never retrieve data from an object and then do something with that data, but instead tell the object to do something for us. The second is harder to find fault with and is generally considered good design. http://www.dcmanges.com/blog/37[Dan Manges' post on this] is the best piece of writing I've seen on the subject - definitely worth reading. The first definitely seems to be more contentious from what I've noticed and it seems like we mostly run into trouble when it comes to the boundaries of our domain layer e.g. interacting with a user interface or with another system. == Getting data onto the view The user interface is an interesting place to start because the majority of applications we write have to interact with the user somehow and then we need to work out how we're going to display information to them. Every web framework I've worked with makes use of template style pages to display data so we need to somehow get the data out of our domain objects and into these templates. I've come across a few ways to do this: == Directly exposing domain objects The first and perhaps most obvious way is to expose domain objects to the view directly but when we use this approach I think we need to be careful that we don't end up inadvertently putting domain logic into the view. I think it's also quite important to make sure that we only expose read only versions of properties of our objects if we choose to take this approach otherwise our objects will become really difficult to understand. http://www.infoq.com/articles/dhanji-prasanna-concurrency[Dhanji Prasanna has an interesting article about immutability in our code] which I think applies here. The other problem is that once you start exposing properties/getters on your objects then the temptation is there to make use of these properties from other places in our code whereby we run the risk of breaking the idea of tell don't ask. Once we do this the difficulty of maintaining code seems to increase quite substantially so if we can avoid that happening it's a good thing. == View Data Container An alternative is to make use of a 'ViewData' container which I mentioned briefly on http://www.markhneedham.com/blog/2009/03/10/oo-micro-types/[a post I wrote about micro types]. The idea here is that our objects can write themselves into the 'ViewData' container which is then made accessible from the view. The view can then take whichever data it is interested out of the container. Although this approach reduces the explicit coupling between a view and a domain object it seems to create an implicit coupling between them since the view needs to know what names the domain object has given to each of the things it puts into the container. I like this approach although I'm not sure how well it would work if we had a lot of data to display. == DTOs/View Model We can also make use of http://en.wikipedia.org/wiki/Data_transfer_object[DTOs] which are weak objects with getters/setters where we can put data that we want to display on the view. An alternative we're using on my project which seems like a variation of this is to return a JSON object which generally only contains the fields that we are interested in seeing from a user perspective. We do have some places where we are making use of a JSON serializer to return an exact version of an object as JSON. The problem when using DTOs is that we can end up writing a lot of translation code which is quite boring and which from my experience http://www.markhneedham.com/blog/2009/04/02/tdd-testing-mapping-code/[people are reluctant to test]. I guess tools like http://www.codeplex.com/AutoMapper[AutoMapper] and http://www.codeplex.com/json[JSON.NET] can help to remove this problem although a recent conversation with my colleague Lu Ning leads me to believe that we need to consider the value that we will get from using a DTO compared to just making use of a domain object directly from the view. This is particularly true if there is not much difference between the domain model and the model of the domain that the user interacts with and if that is the case that it might make more sense to just expose the domain model directly. Greg Young has taken this to the extreme with http://www.infoq.com/presentations/greg-young-unshackle-qcon08[his idea of Command Query Separation at the architecture level] whereby we would have a write only domain model on one side and then just fill DTOs effectively representing the user's view of the data on the other side. == In summary I'm not sure which is my favourite approach of the ones that I've come across - none of them seems quite right to me. I quite like the idea of domain objects rendering themselves which can be done to some extent by using my colleague Alistair Jones' http://code.google.com/p/hypirinha/[Hyprinha] framework and in the Smalltalk http://www.seaside.st/[Seaside] framework although I would be interested how these frameworks would work with javascript intensive websites.
null
null
[ 0.009423088282346725, 0.012868369929492474, -0.0015966212376952171, 0.02743982896208763, 0.06971132010221481, -0.0008839707006700337, 0.0252943504601717, 0.02141917310655117, 0.005807338282465935, -0.046860530972480774, 0.0027207848615944386, -0.002836215076968074, -0.06842992454767227, 0.027683883905410767, -0.013947863131761551, 0.07014916837215424, 0.06687215715646744, -0.0268915556371212, 0.01783650927245617, -0.0015725919511169195, 0.02356281504034996, 0.06492543965578079, -0.0009319644304923713, 0.04292372614145279, 0.024222664535045624, 0.021763669326901436, 0.0007134789484553039, 0.00582415284588933, -0.05045861750841141, -0.00743426289409399, 0.023816410452127457, 0.0077085248194634914, 0.0014495388604700565, -0.0036524918396025896, 0.018710006028413773, -0.010626818984746933, -0.009299403056502342, 0.018248606473207474, 0.007604166865348816, 0.03392679616808891, -0.07522948831319809, 0.04371732473373413, -0.028385696932673454, 0.0115499347448349, -0.04164516180753708, -0.01582149975001812, -0.02179613523185253, 0.02764003723859787, -0.003818219294771552, -0.002880384447053075, -0.07152092456817627, 0.023528890684247017, -0.018907487392425537, 0.025942085310816765, -0.029957519844174385, 0.060781076550483704, 0.007521924562752247, -0.06139634549617767, 0.017201349139213562, -0.023429611697793007, 0.0020717920269817114, -0.0001272040681215003, 0.0022944489028304815, 0.025433950126171112, 0.017693903297185898, -0.030880367383360863, -0.0186795461922884, 0.047272391617298126, -0.04744177311658859, 0.005469130352139473, -0.006111818831413984, 0.0068940408527851105, -0.017622802406549454, -0.006952985189855099, 0.013160125352442265, -0.023786483332514763, 0.005949231795966625, 0.028985878452658653, 0.01972304843366146, 0.03433312103152275, -0.026544099673628807, 0.013441682793200016, 0.021631520241498947, 0.028055287897586823, -0.015474816784262657, -0.04059473052620888, -0.0255611352622509, 0.002391679445281625, -0.049514707177877426, 0.06879962235689163, 0.011252528987824917, -0.06682112067937851, 0.04395676776766777, 0.023669572547078133, -0.009352877736091614, -0.015758603811264038, 0.029978519305586815, 0.02240021899342537, -0.013300064951181412, -0.012146184220910072, -0.024047866463661194, -0.05094749853014946, 0.021074483171105385, 0.019146842882037163, -0.0634433701634407, -0.02649528533220291, -0.02396039478480816, 0.00278622773475945, 0.026024172082543373, 0.010598314926028252, -0.038354091346263885, 0.025833681225776672, -0.029316090047359467, -0.01712026074528694, -0.05936167389154434, 0.06270132958889008, 0.0035320017486810684, -0.04711093008518219, 0.00126910291146487, 0.039020560681819916, 0.055272556841373444, 0.024258799850940704, 0.006020513363182545, 0.060367561876773834, 0.03792775422334671, -0.0027527734637260437, 0.01293617021292448, 0.04517180845141411, -0.02533450536429882, -0.05260936915874481, 0.023862842470407486, 0.0550898015499115, -0.02418072521686554, -0.004820153582841158, 0.0037845433689653873, -0.034701235592365265, 0.0024727298878133297, 0.017786569893360138, 0.05134280025959015, 0.04190652817487717, -0.009862110950052738, -0.067060187458992, -0.003215491073206067, 0.006857831496745348, 0.021175572648644447, -0.015161482617259026, 0.02300184965133667, 0.0089345071464777, -0.038998644798994064, 0.010595055297017097, 0.022893201559782028, 0.04477723687887192, 0.01993655413389206, -0.024606889113783836, 0.02112184651196003, 0.07633473724126816, 0.04329562187194824, 0.04013185575604439, -0.014860713854432106, 0.02924170531332493, 0.027453439310193062, 0.017997166141867638, 0.0205779280513525, 0.029575183987617493, 0.01697925478219986, -0.005241612438112497, -0.004022282548248768, 0.04931853711605072, 0.02642185054719448, -0.0014340003253892064, -0.07443567365407944, -0.06303155422210693, 0.0624551959335804, -0.034438356757164, -0.020422309637069702, 0.028909392654895782, 0.06874702125787735, 0.018645793199539185, 0.04496090114116669, -0.015169212594628334, -0.08067453652620316, 0.006144093815237284, -0.004980225581675768, 0.01709623448550701, 0.007844680920243263, -0.01176721416413784, 0.08268950879573822, 0.0402405746281147, 0.006504518911242485, 0.03029053285717964, -0.05632120370864868, -0.059152018278837204, -0.006039968226104975, -0.016117924824357033, 0.05974429100751877, -0.011371647007763386, -0.002946921857073903, 0.07681343704462051, 0.012545576319098473, 0.07029382139444351, 0.001966518349945545, 0.013463567942380905, 0.023104894906282425, -0.04422649368643761, -0.027005178853869438, 0.03228168562054634, 0.02282295748591423, -0.007953276857733727, -0.04414011538028717, 0.006599401589483023, -0.009127936325967312, -0.0204514991492033, 0.024517830461263657, -0.040762223303318024, 0.01026172935962677, 0.011143653653562069, 0.05410012975335121, -0.03824964538216591, 0.012677907943725586, -0.052041519433259964, -0.026513898745179176, 0.014571159146726131, -0.0247446708381176, 0.025811925530433655, 0.019453056156635284, 0.131985142827034, 0.05658339336514473, -0.031586792320013046, -0.03144781291484833, 0.005869948770850897, -0.008542317897081375, -0.029667135328054428, -0.0018147625960409641, -0.006974931340664625, -0.023634975776076317, 0.00011280450416961685, -0.061063818633556366, -0.0179621372371912, 0.03455287590622902, -0.031296487897634506, 0.009983916766941547, 0.06731313467025757, -0.01817374862730503, 0.04978269338607788, -0.025896279141306877, 0.00279315491206944, -0.0034497224260121584, -0.03193717077374458, -0.057062290608882904, 0.014331245794892311, 0.000025488632672932, -0.0019917492754757404, 0.0367489829659462, -0.025596650317311287, 0.005525568965822458, -0.029701262712478638, -0.03159958869218826, 0.01591615565121174, 0.03292127698659897, 0.04786064103245735, 0.0028922646306455135, 0.07548356801271439, 0.002328440546989441, 0.015103796496987343, -0.011891425587236881, -0.06432423740625381, -0.03881910443305969, -0.012504449114203453, 0.008904656395316124, 0.05392373353242874, 0.006174060981720686, 0.02908821776509285, 0.01956169493496418, -0.0010582130635157228, 0.0035551656037569046, -0.005234710872173309, 0.03797221928834915, -0.013232691213488579, -0.006683842279016972, -0.02118382789194584, -0.054562199860811234, 0.06395341455936432, -0.03381381556391716, -0.010456552729010582, -0.00032756823929958045, -0.06739499419927597, 0.061954088509082794, -0.07594774663448334, -0.05532253161072731, 0.013906018808484077, 0.03835996612906456, 0.024908779188990593, 0.007333899382501841, 0.025622868910431862, 0.0536787286400795, 0.013738557696342468, -0.0024144304916262627, -0.019544990733265877, -0.003723102156072855, 0.029958080500364304, -0.0010459230979904532, -0.017264695838093758, 0.04368108883500099, 0.01893792301416397, 0.0036054537631571293, -0.06182297319173813, 0.032945141196250916, 0.03596081584692001, -0.31620633602142334, 0.02996085397899151, 0.009528187103569508, -0.032760586589574814, 0.012030325829982758, 0.005375060252845287, -0.0030478767585009336, -0.039453502744436264, -0.0043065049685537815, 0.022807272151112556, -0.016850607469677925, -0.058086998760700226, -0.025968089699745178, 0.052741553634405136, 0.026308508589863777, 0.030663667246699333, 0.03261797875165939, -0.02732216753065586, 0.0010449490509927273, 0.0426950603723526, -0.0018154355930164456, -0.07426164299249649, -0.010046488605439663, 0.061321113258600235, 0.02217082679271698, 0.033639200031757355, -0.09059587866067886, 0.025263123214244843, -0.0676913633942604, 0.027246763929724693, 0.006767610553652048, 0.006262997165322304, -0.01349667552858591, -0.04740479588508606, -0.017802657559514046, -0.02074330300092697, 0.044280942529439926, 0.00010436424054205418, -0.0018808308523148298, 0.011923959478735924, -0.025227094069123268, -0.034418586641550064, -0.03204675018787384, 0.0071763088926672935, 0.06462310254573822, 0.0030318456701934338, -0.0875648632645607, -0.011861240491271019, -0.015939420089125633, 0.06516021490097046, -0.036111216992139816, -0.06086130440235138, -0.017442652955651283, 0.04144592210650444, -0.0056881774216890335, -0.019798358902335167, -0.019571548327803612, -0.021034615114331245, -0.04154297709465027, -0.024256451055407524, 0.0032854999881237745, -0.021889546886086464, -0.02303129993379116, -0.028177820146083832, 0.006453212816268206, -0.06396811455488205, -0.0840875580906868, -0.017829008400440216, 0.08247831463813782, 0.034030985087156296, -0.039747998118400574, 0.03146033361554146, -0.017116675153374672, -0.11964376270771027, 0.012655242346227169, 0.0003978806780651212, -0.017271216958761215, -0.014299547299742699, 0.00543758412823081, 0.04496895521879196, -0.035614386200904846, -0.04876016452908516, 0.03449946641921997, 0.01522781141102314, 0.01111521665006876, -0.03669251874089241, 0.011160014197230339, -0.007236413192003965, -0.025138113647699356, 0.005200868938118219, 0.08426214754581451, -0.004476041067391634, -0.025397786870598793, -0.021501222625374794, 0.015070493333041668, 0.019743172451853752, 0.04929030314087868, -0.010289211757481098, 0.013270090334117413, 0.04034550115466118, 0.013535844162106514, -0.05376005917787552, 0.0306342002004385, -0.027032455429434776, -0.012807902880012989, -0.005958829540759325, -0.03766809031367302, 0.031055158004164696, 0.032191310077905655, 0.0081107746809721, -0.024529576301574707, -0.038299474865198135, 0.016947545111179352, -0.0444047674536705, -0.037927962839603424, -0.016668720170855522, 0.0193234421312809, 0.03922392427921295, 0.00012046055780956522, -0.035940252244472504, -0.037150222808122635, 0.006958295125514269, 0.0016351682133972645, -0.0041889590211212635, -0.06369705498218536, -0.037212125957012177, -0.01657734252512455, -0.012863733805716038, 0.01717345602810383, 0.026551255956292152, -0.005855672527104616, 0.04078270122408867, 0.023993218317627907, -0.021306078881025314, 0.01233720127493143, -0.04517512395977974, -0.04969831556081772, -0.012328041717410088, -0.01033496018499136, -0.008270717225968838, 0.02457905374467373, -0.0055403392761945724, 0.01473881583660841, 0.04708872362971306, 0.04743053391575813, -0.002863724948838353, 0.031800780445337296, -0.005016408395022154, 0.029240682721138, 0.020081263035535812, 0.007217090111225843, -0.07241324335336685, 0.031948719173669815, -0.03623250499367714, -0.025895385071635246, -0.030091306194663048, 0.022058632224798203, 0.0018725948175415397, -0.026848016306757927, -0.02759242057800293, 0.010551129467785358, -0.04835027456283569, -0.034243613481521606, -0.025534145534038544, 0.009273979812860489, 0.06351937353610992, -0.036978691816329956, 0.03365760296583176, 0.009178866632282734, -0.01871662028133869, 0.022943809628486633, 0.0317864716053009, -0.03877495229244232, 0.012060223147273064, 0.0057732355780899525, -0.0041517047211527824, -0.01818852871656418, 0.015662195160984993, 0.0411977544426918, 0.022795552387833595, -0.012534965761005878, -0.032930586487054825, 0.0017526316223666072, 0.03129051998257637, 0.04746035858988762, 0.009474840015172958, -0.0017939459066838026, -0.0018938396824523807, -0.025033622980117798, -0.031808119267225266, -0.026347698643803596, -0.004845384042710066, -0.010614809580147266, 0.027946893125772476, -0.040043678134679794, -0.0763825848698616, 0.042363863438367844, 0.01789769157767296, -0.005262691993266344, 0.03336779400706291, -0.0016681227134540677, 0.01865328662097454, -0.032680660486221313, 0.0292857363820076, 0.019449064508080482, -0.06668003648519516, 0.006204111501574516, -0.0015247196424752474, 0.00283264834433794, 0.035481590777635574, 0.012344303540885448, -0.03790343552827835, -0.02026091143488884, -0.031566448509693146, 0.006357454229146242, -0.05983844771981239, -0.008594688028097153, -0.04702364653348923, 0.008111659437417984, 0.0033073469530791044, 0.0024957042187452316, -0.01058579608798027, -0.024473899975419044, 0.002217377768829465, -0.037283360958099365, 0.0249634962528944, -0.020808273926377296, -0.006043599918484688, 0.024432623758912086, -0.03714476525783539, 0.02135588601231575, -0.0018320705275982618, 0.004968466702848673, 0.032935116440057755, -0.03108411841094494, -0.0058526284992694855, -0.027281055226922035, 0.022072765976190567, -0.015586772002279758, 0.058583490550518036, 0.0001542737300042063, -0.04692232981324196, -0.04850916191935539, 0.003695711027830839, -0.016256539151072502, 0.03257020190358162, -0.03287145867943764, -0.02717321738600731, 0.013106263242661953, 0.06608479470014572, 0.009758515283465385, 0.009805966168642044, -0.026575274765491486, -0.02995987795293331, 0.041645828634500504, -0.08492016792297363, -0.03903097286820412, -0.04407656937837601, -0.049645040184259415, 0.0245053730905056, 0.003898404771462083, 0.029224194586277008, -0.019135398790240288, 0.025175336748361588, 0.017320919781923294, 0.04085724055767059, 0.04523075744509697, 0.005610382184386253, 0.05594654381275177, -0.06111454591155052, -0.004498450551182032, -0.10148070007562637, -0.006759743206202984, 0.029223617166280746, 0.011908994056284428, -0.019778989255428314, -0.007666694466024637, -0.03892748802900314, 0.05568154901266098, -0.08761981874704361, -0.026451079174876213, 0.028147604316473007, 0.013156138360500336, -0.023420264944434166, 0.009921601973474026, -0.07746606320142746, 0.003833445720374584, 0.027169164270162582, -0.02600717917084694, -0.046183180063962936, -0.03623261675238609, 0.0326981395483017, 0.017889080569148064, 0.012940879911184311, -0.009679380804300308, 0.003134598024189472, 0.06584295630455017, 0.007821732200682163, 0.004490253049880266, 0.03620770573616028, -0.001026959391310811, 0.030285347253084183, 0.042686767876148224, 0.006414496805518866, 0.0008093338692560792, -0.0041716014966368675, 0.0019731062930077314, -0.05899965018033981, 0.01932620257139206, 0.011450321413576603, -0.037692323327064514, -0.040657009929418564, 0.06946557760238647, 0.010901558212935925, -0.01727418787777424, -0.05347729101777077, 0.019932538270950317, -0.03243056684732437, -0.013009562157094479, -0.02602814882993698, -0.0026442911475896835, -0.028478872030973434, 0.041607096791267395, -0.00007976529013831168, 0.012400239706039429, 0.05224042013287544, -0.00471598282456398, -0.017608636990189552, -0.008983956649899483, 0.098434679210186, 0.1053667739033699, 0.05461430177092552, 0.011120068840682507, 0.08565473556518555, -0.01763179898262024, -0.05012737587094307, 0.019203227013349533, -0.003694421611726284, -0.00009563041385263205, -0.030869949609041214, 0.01255781576037407, 0.059867702424526215, -0.029649250209331512, 0.06895054876804352, -0.02575315348803997, -0.019288605079054832, -0.0013796041021123528, 0.020906461402773857, 0.01140118669718504, 0.04629324749112129, 0.003944868221879005, 0.023699160665273666, -0.011874430812895298, -0.038938723504543304, 0.029864158481359482, -0.018135007470846176, -0.003834966104477644, 0.011650736443698406, 0.0036523619201034307, 0.030179616063833237, 0.013109092600643635, 0.04353436082601547, 0.07840195298194885, -0.05523636192083359, -0.014327694661915302, 0.0011225668713450432, 0.006159654352813959, 0.008392611518502235, 0.0023503880947828293, -0.02009577676653862, -0.005607557483017445, 0.011007118038833141, -0.02697896398603916, 0.006176718510687351, -0.0276450477540493, -0.029688941314816475, 0.07841583341360092, -0.0359557569026947, -0.022449452430009842, 0.015053651295602322, -0.010053463280200958, -0.03148593381047249, -0.047794148325920105, -0.053907301276922226, -0.013836815021932125, -0.07599370926618576, 0.002061250852420926, 0.03197885677218437, 0.01325354352593422, -0.03420467674732208, -0.03667494282126427, -0.006731546018272638, -0.01292018499225378, 0.036935899406671524, -0.040873393416404724, -0.016908010467886925, 0.013739815913140774, 0.026313502341508865, 0.010417426936328411, 0.0407719723880291, 0.047445740550756454, -0.01676219142973423, 0.012094994075596333, -0.03567150980234146, 0.01023510005325079, 0.049970827996730804, 0.014863847754895687, 0.0011702289339154959, -0.0953049436211586, -0.004559226334095001, 0.008654884994029999, -0.014837320894002914, -0.06720943003892899, 0.016523834317922592, 0.013736149296164513, 0.005288139916956425, 0.042131975293159485, -0.030638664960861206, -0.00758786778897047, -0.04370667412877083, -0.014578462578356266, -0.008600421249866486, 0.009097021073102951, 0.03880426660180092, -0.015249221585690975, 0.07264174520969391, 0.023608669638633728, -0.017787514254450798, -0.038164183497428894, -0.02465006709098816, 0.006584250833839178, 0.00353508023545146, -0.04001765698194504, -0.027317045256495476, -0.0291309654712677, -0.08272403478622437, -0.058289967477321625, 0.03563089668750763, -0.03831979259848595, -0.031164593994617462, -0.0027288312558084726, 0.025303510949015617, -0.03541881591081619, 0.016538193449378014, -0.054696034640073776, 0.0265780258923769, -0.027093293145298958, -0.005677723325788975, -0.0009508850635029376, 0.035488322377204895, 0.003177878214046359, 0.00709162000566721, 0.018859410658478737, -0.02030574344098568, 0.0009539693128317595, -0.002752557396888733, 0.04487206041812897, 0.03184982016682625, 0.015842238441109657, -0.006616272497922182 ]
[ -0.11066858470439911, -0.020700760185718536, -0.020905205979943275, -0.05214879661798477, 0.02991022728383541, -0.04568870738148689, 0.026146549731492996, 0.02587556093931198, -0.015295848250389099, -0.019269399344921112, -0.03379406780004501, -0.01228112168610096, -0.009100071154534817, 0.00657437602058053, 0.03882203996181488, -0.0208700243383646, 0.019093012437224388, -0.055074360221624374, 0.009231830947101116, 0.04375958815217018, 0.030243493616580963, -0.03474612534046173, -0.06491366773843765, -0.032054319977760315, 0.020322823897004128, 0.03237902745604515, 0.022312277927994728, -0.03689570724964142, 0.013992696069180965, -0.21429993212223053, 0.0157078355550766, -0.02305903658270836, 0.0342782586812973, -0.028444427996873856, -0.03144073858857155, 0.005607695318758488, 0.044768210500478745, 0.019474217668175697, 0.009466741234064102, 0.027293704450130463, 0.009410643018782139, 0.03851182013750076, -0.05129309371113777, -0.022166982293128967, 0.013494787737727165, 0.024465087801218033, 0.0019423578632995486, -0.02996070869266987, -0.021776631474494934, 0.02228795550763607, -0.054240498691797256, -0.014903158880770206, -0.0006627455004490912, -0.004687498789280653, -0.0030275683384388685, 0.014902409166097641, 0.029402239248156548, 0.05633886903524399, -0.01197552215307951, -0.0032804999500513077, 0.04507601633667946, -0.013197468593716621, -0.109306700527668, 0.08994843810796738, 0.039186716079711914, 0.028289441019296646, -0.013823622837662697, -0.04043256863951683, -0.037182003259658813, 0.03585546463727951, 0.024776799604296684, -0.012080345302820206, -0.029651407152414322, 0.046802155673503876, 0.01236785389482975, -0.04939360171556473, 0.002050813753157854, 0.014610440470278263, 0.030212949961423874, -0.05292033404111862, -0.031094860285520554, 0.01005944050848484, 0.0014794010203331709, 0.0036636004224419594, -0.049002327024936676, 0.0004900567000731826, 0.0007725573377683759, 0.024044392630457878, 0.013533242978155613, 0.013217858970165253, 0.055544834583997726, 0.011506353504955769, 0.01794307865202427, 0.007303585764020681, -0.0583980567753315, -0.0007594111957587302, -0.007908468134701252, 0.00233499426394701, -0.022375943139195442, 0.4243057072162628, -0.03747120872139931, -0.006922147236764431, 0.07982311397790909, 0.02135658636689186, -0.012038151733577251, 0.028012461960315704, 0.01765277609229088, -0.06421273946762085, 0.035122793167829514, 0.014138704165816307, 0.06446265429258347, 0.039824314415454865, 0.04467793554067612, -0.03238112851977348, 0.03439971059560776, -0.008040252141654491, 0.01591605134308338, 0.025750670582056046, 0.011859878897666931, -0.0014758335892111063, -0.030947191640734673, 0.006301133427768946, 0.01110895723104477, 0.01057182066142559, 0.023237476125359535, -0.006722748279571533, 0.028044162318110466, 0.08444453030824661, 0.02134459838271141, 0.037702757865190506, 0.03022887371480465, -0.06351248174905777, -0.09214232116937637, -0.023755623027682304, 0.011062262579798698, 0.007737958338111639, 0.03920125588774681, -0.038277991116046906, 0.002468196442350745, 0.015785861760377884, -0.01733228750526905, 0.010883055627346039, 0.034221574664115906, 0.009634776972234249, -0.002545378403738141, 0.13310246169567108, 0.029994985088706017, -0.06292599439620972, 0.029579857364296913, -0.07638657838106155, 0.009879463352262974, 0.045817214995622635, -0.037216123193502426, -0.05690239369869232, -0.0055052959360182285, 0.04926832765340805, 0.036436472088098526, -0.0019039225298911333, -0.0387728288769722, -0.01616133190691471, -0.020555494353175163, 0.013934744521975517, -0.03782426193356514, 0.05743240565061569, 0.05235045775771141, -0.11688181012868881, -0.025034978985786438, 0.02820585109293461, 0.011264799162745476, -0.0847308412194252, -0.012710290029644966, 0.007038934621959925, -0.058089934289455414, -0.010922713205218315, 0.0676831305027008, -0.03902783989906311, -0.04351826757192612, -0.004783512093126774, 0.02596523053944111, 0.01739284209907055, 0.01979527249932289, -0.005917767994105816, -0.03787850961089134, -0.005672741215676069, -0.05348784476518631, -0.06159953773021698, -0.06598500162363052, 0.030768968164920807, -0.0027640240732580423, 0.021252645179629326, -0.018583130091428757, -0.01458914764225483, -0.07770995795726776, 0.1045948714017868, -0.03431842103600502, -0.029239142313599586, -0.02246706560254097, 0.0005257049924694002, -0.04841579869389534, 0.00371402851305902, -0.00015539037121925503, 0.012677566148340702, -0.023693416267633438, 0.025693383067846298, -0.013105831108987331, 0.0663376972079277, 0.049167074263095856, -0.07224607467651367, 0.06685243546962738, 0.004226429387927055, -0.027981068938970566, -0.022625498473644257, 0.002925948007032275, 0.011776618659496307, -0.007198196370154619, -0.018044881522655487, 0.021336892619729042, 0.006068748887628317, -0.011831114999949932, 0.012053855694830418, 0.00356745976023376, -0.04275074601173401, -0.027478503063321114, -0.35669970512390137, -0.055315181612968445, -0.04333292320370674, -0.003488778369501233, 0.034363843500614166, -0.0522003099322319, 0.009178181178867817, 0.012151599861681461, -0.030919406563043594, 0.032546866685152054, 0.08944309502840042, -0.012521504424512386, -0.013710834085941315, -0.11187007278203964, -0.029177164658904076, -0.004873454105108976, -0.023472029715776443, -0.024924153462052345, -0.08397213369607925, -0.011037028394639492, -0.01692768931388855, 0.0248208437114954, -0.0223887637257576, -0.0700903981924057, 0.002661680104210973, -0.037235911935567856, 0.09974128007888794, -0.023964107036590576, 0.07847926020622253, -0.018565965816378593, 0.05955453962087631, 0.0038643053267151117, -0.025814855471253395, -0.06498607993125916, -0.00900153536349535, -0.012756182812154293, -0.03701435774564743, 0.042788706719875336, -0.007684345357120037, -0.05472675710916519, -0.029473941773176193, 0.00424552895128727, -0.02995748445391655, -0.0377945639193058, -0.02098431997001171, 0.005400400608778, -0.017731372267007828, -0.023902419954538345, 0.0029518178198486567, 0.06481803208589554, -0.0001946147094713524, 0.03118439018726349, 0.026058658957481384, 0.043744735419750214, -0.012320932932198048, -0.03209271281957626, -0.06306125968694687, 0.0026201375294476748, 0.0008159977151080966, 0.033194031566381454, 0.004272332414984703, 0.04268987849354744, 0.03964177891612053, -0.08268101513385773, -0.015494032762944698, 0.04997558146715164, -0.007258483674377203, -0.011457630433142185, 0.05585737153887749, -0.004637306556105614, -0.01320895366370678, 0.1019120067358017, -0.012895770370960236, -0.02303154394030571, 0.015904337167739868, 0.05687170475721359, -0.014684646390378475, 0.051138170063495636, 0.008382655680179596, 0.016188213601708412, 0.03333497419953346, 0.02075149305164814, 0.022707225754857063, -0.0071998825296759605, -0.005605233833193779, 0.0340152345597744, -0.013160268776118755, -0.016275472939014435, 0.015786027535796165, -0.003787118475884199, -0.008571619167923927, -0.019522979855537415, -0.015233592130243778, -0.05517984554171562, 0.05316148325800896, -0.002638729987666011, -0.25684309005737305, 0.003199873026460409, 0.06232524663209915, 0.07962808012962341, -0.004022371023893356, 0.032502662390470505, 0.08144448697566986, -0.03843162953853607, 0.05727213993668556, -0.006480219773948193, -0.01981371082365513, 0.04283413290977478, 0.005831125658005476, -0.010318939574062824, 0.031109299510717392, -0.00022545453975908458, 0.025235988199710846, 0.010667011141777039, -0.006243871059268713, 0.005061433184891939, 0.044027019292116165, -0.004902939777821302, 0.180965393781662, -0.0032530990429222584, -0.0011241594329476357, 0.013453979976475239, 0.01751094125211239, 0.006446425337344408, 0.04572729021310806, 0.025346441194415092, -0.005972643382847309, -0.008371039293706417, 0.06225551664829254, 0.00013438954192679375, 0.04198408126831055, -0.07989444583654404, -0.062183964997529984, 0.026674579828977585, 0.030841292813420296, -0.00012907633208669722, 0.014050363563001156, -0.005692739970982075, -0.04822497069835663, 0.04270435869693756, 0.09201027452945709, 0.04113784804940224, 0.0044571151956915855, -0.023750513792037964, -0.01959749311208725, -0.0019236046355217695, -0.045494504272937775, -0.03794427961111069, -0.00631374679505825, -0.01897963508963585, -0.01416517049074173, 0.055896032601594925, -0.0066908118315041065, 0.006595616694539785, 0.009964590892195702, 0.049281761050224304, -0.004523539915680885, -0.005436177831143141, 0.10115870088338852, 0.014001943171024323, 0.05142200365662575 ]
[ -0.04570300504565239, 0.05235198140144348, -0.007149035111069679, 0.008713952265679836, -0.010331254452466965, -0.0006592249847017229, 0.009359262883663177, 0.02904137782752514, 0.031274065375328064, 0.03018505498766899, -0.02938709408044815, -0.004802471026778221, 0.021317357197403908, -0.001713313045911491, 0.022975504398345947, 0.005868944339454174, -0.018347660079598427, -0.01649724505841732, 0.02929314784705639, -0.00885958131402731, -0.016992321237921715, 0.024301838129758835, 0.010458143427968025, -0.000631784088909626, 0.010121552273631096, 0.036367371678352356, 0.006011006888002157, -0.01747763715684414, 0.024111686274409294, -0.16490429639816284, -0.02940530702471733, -0.011254116892814636, 0.004931956995278597, -0.00014294024731498212, -0.019412627443671227, 0.004357036668807268, -0.013513351790606976, -0.003739551641047001, -0.028997426852583885, -0.0017609659116715193, 0.020694933831691742, -0.00029537046793848276, -0.0168557558208704, 0.02761671133339405, -0.004386682529002428, 0.01986871100962162, -0.0038206891622394323, 0.007707925979048014, -0.002588489092886448, -0.006751736160367727, -0.023787539452314377, -0.0008385282126255333, 0.0056633721105754375, 0.006128876470029354, 0.006865440867841244, -0.012595625594258308, -0.015252143144607544, 0.00769060617312789, 0.012501527555286884, -0.010782403871417046, -0.03822402283549309, 0.005861083511263132, -0.045967862010002136, -0.0279682669788599, -0.015136700123548508, -0.012588380835950375, -0.01847435161471367, 0.04354560375213623, -0.016886942088603973, 0.0005863333935849369, -0.00010586558346403763, 0.033418916165828705, -0.009211023338139057, -0.03615204989910126, 0.013590969145298004, -0.02916833572089672, 0.019478892907500267, -0.009140118956565857, 0.04115916043519974, -0.03378025069832802, -0.04761857911944389, 0.025543775409460068, 0.008052046410739422, 0.006853999104350805, 0.02385295182466507, -0.012147325091063976, -0.005685839802026749, -0.007064115256071091, 0.01117764413356781, -0.03136714920401573, -0.005635890644043684, 0.021978629752993584, -0.011664606630802155, 0.046914536505937576, -0.0675780400633812, 0.010207075625658035, 0.005844893865287304, -0.016826577484607697, 0.019228247925639153, 0.8613063097000122, 0.02215883880853653, 0.03131406754255295, 0.010256823152303696, 0.037579603493213654, 0.029590222984552383, 0.010691948235034943, 0.03400555998086929, 0.01055151131004095, 0.016615211963653564, -0.007454767357558012, 0.015217885375022888, 0.017471328377723694, 0.027079395949840546, 0.010883115231990814, 0.001228127395734191, -0.0009209144045598805, 0.014905110001564026, 0.013365523889660835, 0.0006273845792748034, -0.028303660452365875, 0.012498505413532257, 0.013230552896857262, 0.008314446546137333, -0.017194129526615143, 0.02501334622502327, -0.18011268973350525, -0.009245740249752998, -7.86078712865391e-33, 0.032315630465745926, -0.020502939820289612, 0.010368622839450836, 0.0051264031790196896, 0.026620937511324883, -0.016957907006144524, 0.000700878445059061, 0.02270538918673992, 0.0057933153584599495, 0.0026449887081980705, 0.006920779123902321, -0.008054305799305439, -0.0029796918388456106, -0.012876664288341999, 0.06739300489425659, -0.008376700803637505, 0.008650840260088444, 0.024356083944439888, -0.03700857609510422, -0.005587471183389425, 0.0030092743691056967, 0.006516327615827322, -0.005544869229197502, 0.008990809321403503, -0.0029698892030864954, 0.03958599269390106, 0.02801411971449852, 0.007849832065403461, -0.02649218961596489, -0.04107848182320595, -0.006554968189448118, 0.01929560676217079, 0.0094701386988163, -0.022765956819057465, 0.002048984868451953, -0.025289710611104965, -0.016027359291911125, 0.012641928158700466, -0.008443031460046768, -0.019301950931549072, -0.026211274787783623, -0.016407962888479233, -0.003151322714984417, -0.013727055862545967, -0.05060115084052086, 0.001961048226803541, 0.03225572407245636, -0.0048057567328214645, 0.0018807108281180263, -0.0022929715923964977, 0.014705412089824677, 0.0037351208738982677, 0.011497988365590572, -0.004730354994535446, -0.0038590666372328997, 0.03821706771850586, -0.02760871686041355, -0.008639640174806118, 0.030237847939133644, 0.014047780074179173, -0.0002220592141384259, -0.0017943638376891613, -0.01685696467757225, 0.013925413601100445, -0.0230861883610487, -0.01899523101747036, -0.005113122519105673, 0.008132164366543293, 0.015231526456773281, -0.013882321305572987, -0.03460977226495743, 0.028151102364063263, -0.03481763228774071, -0.013937498442828655, -0.012443562038242817, 0.006932583171874285, 0.021626366302371025, -0.009413506835699081, 0.030800137668848038, 0.029241736978292465, 0.036564428359270096, -0.029189741238951683, 0.0013813726836815476, -0.0429648831486702, 0.0051141236908733845, -0.016115184873342514, 0.03222279250621796, -0.008835195563733578, -0.007327056955546141, -0.010538650676608086, 0.024872278794646263, -0.008317572064697742, -0.00784947257488966, -0.039560314267873764, -0.029794467613101006, 8.212196756728417e-33, 0.012585926800966263, 0.01521349512040615, -0.01045987755060196, 0.0006927098147571087, -0.005291967652738094, -0.025073835626244545, 0.03837506100535393, 0.021001268178224564, -0.032584331929683685, 0.004783064592629671, -0.032020390033721924, 0.035115666687488556, -0.015675518661737442, 0.014578077010810375, 0.04696925729513168, 0.015667706727981567, 0.00504564493894577, -0.042961981147527695, 0.01474674977362156, -0.016483835875988007, 0.004759473260492086, 0.033075157552957535, -0.02080528251826763, -0.02473253384232521, 0.0007674294174648821, 0.04530738294124603, -0.02886010706424713, 0.009986833669245243, 0.019937636330723763, -0.001716187922284007, -0.020955907180905342, -0.037133414298295975, 0.009345765225589275, -0.03936567157506943, -0.017846522852778435, 0.0013196151703596115, 0.04227730631828308, 0.0076350262388587, -0.033854711800813675, -0.013547440990805626, 0.008459382690489292, -0.021426601335406303, -0.008312678895890713, 0.011059872806072235, 0.035254549235105515, 0.03117331676185131, -0.007235421333462, 0.0006885231123305857, 0.005360360257327557, 0.029859470203518867, -0.006841596215963364, 0.008297554217278957, 0.016083376482129097, 0.053844839334487915, -0.0141203748062253, -0.05851062387228012, -0.020008200779557228, 0.0323924794793129, -0.002205121098086238, -0.0065528168343007565, -0.030620871111750603, -0.007148593198508024, -0.04180852323770523, 0.018324725329875946, -0.0036150100640952587, 0.0003797825484070927, -0.04673260077834129, -0.032469265162944794, 0.03207208216190338, -0.036361414939165115, -0.005298595875501633, -0.010385594330728054, 0.0004364880733191967, -0.0024140842724591494, 0.012864177115261555, -0.01748427003622055, -0.015567759051918983, 0.0072970762848854065, -0.007677945774048567, 0.023541301488876343, 0.028726395219564438, -0.012700715102255344, 0.028441771864891052, 0.008546438068151474, -0.0392339788377285, 0.020568205043673515, 0.007913644425570965, -0.0136825330555439, -0.0010147697757929564, -0.003471726318821311, -0.05600404366850853, -0.03420783206820488, -0.0030761694069951773, 0.0408695824444294, -0.013057411648333073, -1.3629589012964516e-8, -0.035657186061143875, 0.03925606608390808, -0.005121112335473299, -0.02302049659192562, 0.017637448385357857, 0.00020488591690082103, -0.017643384635448456, 0.007623544428497553, -0.022000767290592194, 0.018600987270474434, 0.03838669881224632, 0.005860480945557356, 0.007032258436083794, 0.002047215588390827, 0.01138431765139103, -0.03495414927601814, -0.010358765721321106, -0.005599637515842915, 0.025729671120643616, -0.0014320823829621077, 0.021984977647662163, 0.06800685822963715, 0.0007051961147226393, 0.034943029284477234, 0.00825689360499382, -0.010177274234592915, -0.0022197857033461332, -0.09762496501207352, -0.01596682332456112, -0.025867050513625145, -0.021572623401880264, 0.003440040396526456, 0.017549632117152214, 0.05161527171730995, 0.001352553954347968, -0.031157122924923897, -0.005784403998404741, 0.026992598548531532, 0.046943191438913345, -0.0056595164351165295, 0.003609241684898734, -0.008772599510848522, -0.009648717008531094, -0.019269034266471863, -0.019986040890216827, -0.010934672318398952, -0.00785729382187128, -0.0017028723377734423, 0.026873739436268806, -0.051339078694581985, 0.006997800897806883, 0.008746696636080742, -0.005527117755264044, 0.011532044038176537, 0.013798278756439686, -0.022890714928507805, 0.014145352877676487, 0.0023384178057312965, -0.016410578042268753, 0.002209683647379279, 0.016512062400579453, 0.018523050472140312, -0.027859751135110855, -0.030663462355732918 ]
law-of-demeter-some-thoughts
https://markhneedham.com/blog/2009/08/17/law-of-demeter-some-thoughts
false
2009-08-10 20:36:51
Dreyfus Model: More thoughts
[ "learning", "dreyfus-model" ]
[ "Learning" ]
Since http://www.markhneedham.com/blog/2009/07/18/book-club-the-dreyfus-model-stuart-and-hubert-dreyfus/[we discussed the Dreyfus Model in book club] a few weeks ago I've noticed that I'm more aware of my own level of skill at different tasks and references to the model appear more frequent at least amongst my colleagues. These are some of the things I've been thinking about: == How do we use the model? Alan Skorks has an interesting post where he discusses http://www.skorks.com/2009/08/building-software-development-expertise-using-the-dreyfus-model/[the role of the Dreyfus Model in helping to build software development expertise] concluding that it doesn't help very much in developing expertise within a team. In http://www.markhneedham.com/blog/2008/10/06/pragmatic-learning-and-thinking-book-review/[Pragmatic Learning and Thinking] Andy Hunt suggested that one way to make use of the Dreyfus Model is to analyse the skill level of people that we interact with and then adjust the way we present information to them accordingly which I think is a good idea but requires a reasonable amount of skill to do. I've found that it's actually quite revealing to just analyse your own level of skill and I hadn't realised how many things I am a novice at and just rely on a series of steps/instructions to make any progress and get quite frustrated when one of those steps doesn't work because I have don't yet have the ability to problem solve effectively in that area. I had an example of this a few weeks when trying to port our code from Subversion to Mercurial using http://bitbucket.org/durin42/hgsubversion/wiki/Home[hgsubversion] and struggled to work out how to get it to work, in particular with the fact that the process always failed at the same revision with no real indication (that I could understand at least) of why that had happened. I am a novice with regards to doing this. I was just following the instructions and since I don't have any knowledge of the hgsubversion code base or even of Python I wasn't able to progress much further. In this case though there is an argument that *even if we are not skilled at a particular task we still might be able to make use of a higher level of skill with problem solving in general* to try and infer why something might not be working as expected. Recognising which other skills might be useful to us when we are struggling with a new skill is perhaps a skill in itself and in this case http://intwoplacesatonce.com/[Dave] was able to do this more effectively than I was by suggesting different ideas to try based on his understanding of what probably happened during the porting process. This allowed us to progress further even though we weren't successful in getting it to work for the moment. == It's ok to be a novice at some things Having recognised that I am a novice at quite a number of different things I was questioning whether I should be trying to improve in all those areas that I had identified. Discussing this with some colleagues though we came to the conclusion that there are so many different areas of skill in software development that there's bound to be areas where we are going to be novice and if we don't use those skills that frequently perhaps it's fine that we don't progress beyond that stage. For more core technical skills it's more important to raise our level although I think it might be difficult to identify which skills are important and which less so if we are a novice! There seems to be potentially some conflict here with http://jamescrisp.org/2009/08/06/now-discover-your-strengths-and-strengthfinder/[Marcus Buckingham's idea of focusing on your strengths] if our strengths aren't aligned with the most important skills for software development. On the other hand there are so many different areas of the field that it's quite likely that something we're good at will be important. == Experts and intuition The way that those at the expert level work a bit differently to those at other levels is that they rely mostly on intuition when working out what they need to do but I think that there might be a bit of a trap here in that we assume we are an expert at something if we are unable to explain to someone else how or why we do it. Although teaching a skill to someone else is a different skill than knowing the skill yourself, I think there is some overlap between them. I have often found that when you try to explain something to someone else you are forced to really work out what you actually know around this area. I think we probably http://www.markhneedham.com/blog/2009/04/21/learning-through-teaching/[learn more from teaching a skill to someone else] than via any other learning approach and I currently measure my understanding of something based on whether I can explain it to someone else. If I can't then I don't know it as well as I thought. The inability to explain something might indicate that we are an expert working by intuition but it might also indicate that we aren't as skilled as we'd like to believe. Justin Kruger and David Dunning's paper titled http://www.apa.org/journals/features/psp7761121.pdf[Unskilled and Unaware of it], which discusses how people are liable to overrate their own ability and are even more likely to do this the less skilled they actually are, seems to provide some evidence that this theory might be true. From my understanding of the Dreyfus model one would need to have gone through the previous levels before reaching the expert level so perhaps the perception of expertise wouldn't actually happen for a real expert.
null
null
[ 0.01160330232232809, 0.016056478023529053, -0.0022102450020611286, 0.03792959079146385, 0.09278897941112518, 0.012708103284239769, 0.024333341047167778, 0.0285234022885561, 0.017266251146793365, -0.030899465084075928, -0.023165356367826462, 0.01168708223849535, -0.05281984806060791, 0.01635565422475338, -0.03909667581319809, 0.08036617934703827, 0.06969977170228958, 0.008550782687962055, -0.0008525716257281601, 0.015494377352297306, 0.035997673869132996, 0.08263762295246124, 0.016487164422869682, 0.014876608736813068, 0.01748090423643589, 0.011959632858633995, 0.007107917685061693, -0.016487857326865196, -0.04836709424853325, -0.005413142032921314, 0.040539294481277466, -0.007892921566963196, 0.0115017956122756, -0.017507972195744514, 0.009401292540133, -0.013484769500792027, -0.023273209109902382, 0.02193666249513626, 0.009627262130379677, 0.015419848263263702, -0.054758455604314804, 0.05033073574304581, -0.01380130648612976, 0.016017043963074684, -0.05214572325348854, 0.005400652997195721, -0.04191217198967934, 0.020436083897948265, 0.025799619033932686, 0.0055876243859529495, -0.06016043946146965, 0.025801192969083786, -0.015954015776515007, -0.019916485995054245, -0.021244708448648453, 0.06602732837200165, 0.008720215409994125, -0.06162963807582855, 0.00894688256084919, -0.024988126009702682, -0.009935824200510979, -0.0032146605663001537, 0.007986349985003471, 0.04978309944272041, 0.03571680560708046, -0.03401362523436546, -0.008919747546315193, 0.03615744784474373, -0.05858895927667618, 0.021997999399900436, -0.00819460954517126, 0.018081573769450188, -0.011016874574124813, -0.023355597630143166, 0.008731779642403126, -0.041975509375333786, 0.024522917345166206, 0.07828889042139053, 0.023351967334747314, 0.03425421193242073, -0.005379962269216776, 0.009530724957585335, 0.00511840870603919, 0.02484969049692154, -0.026927858591079712, -0.029007090255618095, 0.003952572122216225, -0.036278508603572845, -0.07167880237102509, 0.05869639292359352, -0.0036856059450656176, -0.07202836871147156, 0.018368126824498177, 0.02358574979007244, -0.001670426339842379, 0.023731201887130737, 0.04659201204776764, 0.005228401627391577, -0.011341797187924385, -0.016637755557894707, -0.0357046015560627, -0.0068614287301898, 0.009132718667387962, -0.00590670807287097, -0.08354685455560684, 0.0028939922340214252, -0.024334294721484184, -0.010899197310209274, -0.010949249379336834, -0.004047699738293886, -0.02243361994624138, 0.03638627380132675, -0.030564429238438606, 0.0071227094158530235, -0.06547413021326065, 0.07433998584747314, -0.008041614666581154, -0.0479748360812664, 0.000859375111758709, 0.017608558759093285, 0.03470009192824364, 0.025406524538993835, -0.023428020998835564, 0.09082185477018356, 0.024888725951313972, 0.019422205165028572, -0.0072240279987454414, 0.05688552185893059, -0.02205538935959339, -0.06376329809427261, -0.006162954028695822, 0.053214702755212784, -0.05225325748324394, -0.014389979653060436, 0.001400601933710277, -0.03755674511194229, 0.011630028486251831, 0.028381366282701492, 0.015888679772615433, 0.06042848154902458, -0.0015509437071159482, -0.028787707909941673, 0.014505818486213684, 0.010012062266469002, 0.029503371566534042, 0.013019172474741936, 0.004454701207578182, -0.02651200070977211, -0.04263574257493019, -0.0029931520111858845, 0.016052961349487305, 0.02639024332165718, 0.016600342467427254, -0.03350184112787247, 0.044772397726774216, 0.07430986315011978, 0.022753506898880005, 0.003573495661839843, -0.018866177648305893, 0.019935132935643196, 0.04212325066328049, 0.02486029639840126, 0.014046058990061283, 0.01157950609922409, 0.02157837711274624, -0.019440434873104095, -0.005757736042141914, 0.039740633219480515, -0.009722725488245487, 0.006031004246324301, -0.07039947807788849, -0.044302135705947876, 0.06434370577335358, -0.057224106043577194, -0.022168846800923347, 0.058521006256341934, 0.07924609631299973, 0.053202927112579346, 0.06297148764133453, -0.007647747173905373, -0.08930552005767822, 0.023947929963469505, 0.011036663316190243, 0.020160438492894173, 0.01756225898861885, -0.023050084710121155, 0.059002585709095, 0.020626762881875038, 0.005137447267770767, 0.05311242491006851, -0.08491045981645584, -0.08504696190357208, -0.023349685594439507, -0.018851593136787415, 0.06888727843761444, -0.02897263877093792, 0.017208214849233627, 0.07575245946645737, -0.00003907541395165026, 0.049317799508571625, 0.0243539959192276, -0.0052140625193715096, 0.0008480928372591734, -0.03336792439222336, -0.04097127169370651, 0.05199337378144264, 0.02369805797934532, -0.012653907760977745, -0.04009968042373657, 0.016948869451880455, -0.004721454344689846, -0.023005129769444466, 0.04714115336537361, -0.021424030885100365, 0.02916010282933712, 0.01739386096596718, 0.041914284229278564, -0.025086328387260437, 0.04142824932932854, -0.009913988411426544, -0.005497627891600132, 0.009294217452406883, -0.01993745192885399, 0.010705644264817238, 0.0068895542062819, 0.11011800169944763, 0.08345899730920792, -0.04547460749745369, -0.04516446962952614, 0.014962856657803059, 0.022792743518948555, -0.04651752486824989, -0.0073098414577543736, 0.002419436117634177, 0.013218984939157963, -0.01943875290453434, -0.05406023934483528, -0.036029521375894547, 0.01840374618768692, -0.03965923190116882, 0.01039071660488844, 0.07502195239067078, -0.03561050817370415, 0.0640765056014061, -0.015386112965643406, 0.011268671602010727, -0.01326430682092905, 0.00656818225979805, -0.06199458986520767, 0.02089102379977703, -0.005289492197334766, -0.002779671922326088, 0.0502316877245903, -0.045764897018671036, -0.031745798885822296, -0.03605228662490845, -0.035821691155433655, 0.03377300128340721, 0.059064481407403946, 0.06069633737206459, -0.019665224477648735, 0.06215421110391617, -0.01927611418068409, 0.04390623793005943, 0.0014955715741962194, -0.040591251105070114, -0.04561920464038849, -0.06321325898170471, 0.0065283700823783875, 0.04808322712779045, 0.006596412509679794, 0.012293606996536255, 0.0070304423570632935, 0.014329096302390099, -0.004588830750435591, 0.004943274427205324, 0.03278491273522377, -0.000006674669748463202, -0.0261386726051569, -0.03377864882349968, -0.037833865731954575, 0.06155366823077202, -0.04815221205353737, -0.011213998310267925, 0.005996435880661011, -0.07901094853878021, 0.041152309626340866, -0.07154448330402374, -0.03409115970134735, -0.000540870416443795, 0.017819339409470558, 0.04457642138004303, 0.01964239403605461, 0.023939933627843857, 0.04261691868305206, 0.0031913721468299627, -0.0023437831550836563, 0.004322717431932688, 0.002905281027778983, 0.052647899836301804, -0.0010669714538380504, -0.009293354116380215, 0.03268558904528618, 0.014843406155705452, 0.004494141321629286, -0.03238343819975853, 0.03883999586105347, -0.023831486701965332, -0.29412004351615906, 0.027920888736844063, 0.017174623906612396, -0.044488582760095596, 0.015169929713010788, -0.007500510197132826, 0.0026061164680868387, -0.04604897275567055, -0.03141480311751366, 0.017164474353194237, -0.0383215993642807, -0.04819062724709511, -0.01416143961250782, 0.0649740993976593, -0.00023074775526765734, 0.0286966972053051, 0.0358620248734951, -0.0545421727001667, -0.006504090968519449, 0.043907083570957184, -0.02297789230942726, -0.06295401602983475, 0.0016282086726278067, 0.04624590650200844, 0.028325622901320457, 0.04539044201374054, -0.08943822234869003, 0.030308254063129425, -0.06233213096857071, -0.008094762451946735, -0.0012637329054996371, 0.0017974366201087832, 0.008504393510520458, -0.01347174122929573, -0.0018689034041017294, -0.022447023540735245, 0.03417203575372696, 0.027695735916495323, 0.001215859316289425, 0.02594069205224514, -0.010197708383202553, -0.021983308717608452, -0.008373633958399296, 0.0012242572847753763, 0.08791650086641312, 0.00701717147603631, -0.07927082479000092, -0.017923200502991676, -0.022616766393184662, 0.0757678672671318, -0.033526238054037094, -0.04199858382344246, 0.00451341038569808, 0.04159810394048691, 0.0054313004948198795, -0.0064165168441832066, 0.011348430998623371, -0.020694706588983536, -0.02921624295413494, -0.03626887500286102, -0.004952994640916586, -0.02026193216443062, -0.012519505806267262, -0.05230832099914551, -0.008705226704478264, -0.06985889375209808, -0.06447777897119522, -0.018887797370553017, 0.06743322312831879, 0.017282264307141304, -0.05764314532279968, 0.01807164028286934, -0.009253920055925846, -0.10126283019781113, 0.007295056711882353, -0.020245803520083427, -0.015546848997473717, -0.012818004004657269, 0.028759753331542015, 0.03988412022590637, -0.03260421007871628, -0.06694930046796799, 0.00492560351267457, 0.005968235433101654, 0.01988665759563446, -0.0044863661751151085, 0.03361057862639427, 0.02048419788479805, -0.022426074370741844, 0.005147067829966545, 0.055522020906209946, 0.0016400434542447329, -0.013948937878012657, -0.012276639230549335, 0.004005966242402792, 0.005672406405210495, 0.03097979724407196, 0.0026301557663828135, 0.024409500882029533, 0.054934170097112656, -0.006991384085267782, -0.05522715672850609, 0.03638306260108948, -0.03137975558638573, -0.018526403233408928, -0.0014291544212028384, -0.050297681242227554, 0.002911637770012021, 0.052207570523023605, 0.01542711816728115, -0.01445221807807684, -0.03669947013258934, 0.017813775688409805, -0.04387246444821358, -0.04289550706744194, -0.019878679886460304, 0.01678227260708809, 0.042016077786684036, -0.022780414670705795, -0.0011917948722839355, -0.0625675618648529, 0.03448348119854927, -0.006611762568354607, -0.011115211993455887, -0.07061569392681122, -0.035276513546705246, -0.010996349155902863, -0.0176743995398283, 0.016630303114652634, 0.02125258930027485, -0.024045003578066826, 0.03598826006054878, 0.018466513603925705, -0.04256393387913704, 0.030468959361314774, -0.025409644469618797, -0.06148761883378029, -0.01902518793940544, -0.010591206140816212, 0.001030387938953936, -0.008452016860246658, 0.030509956181049347, 0.0025193679612129927, 0.015439736656844616, 0.024401381611824036, -0.004031690768897533, 0.032720793038606644, 0.003428135998547077, 0.029386186972260475, 0.013780019246041775, 0.013624307699501514, -0.04831220954656601, 0.03310416638851166, -0.05084633827209473, -0.02627561427652836, -0.015698114410042763, 0.03503131866455078, -0.022992808371782303, -0.018636876717209816, -0.012434294447302818, 0.017738930881023407, -0.0473676361143589, -0.021295087411999702, -0.03513135761022568, 0.013192270882427692, 0.06264795362949371, -0.009857483208179474, 0.017993349581956863, -0.01758684404194355, -0.006095296703279018, 0.013011984527111053, 0.03613731265068054, -0.04718879982829094, 0.0061889709904789925, 0.012514893896877766, 0.005258739460259676, 0.001813062815926969, -0.001711212913505733, 0.04849199578166008, -0.006903982255607843, -0.0032608299516141415, -0.044819142669439316, -0.0030169030651450157, 0.0011480206158012152, 0.044439271092414856, 0.007959773764014244, 0.003304050536826253, -0.009220819920301437, -0.016369076445698738, -0.035167146474123, -0.03239547088742256, -0.004802417010068893, -0.002835125895217061, 0.03310418874025345, -0.0445631705224514, -0.07299491763114929, 0.043259818106889725, 0.024086492136120796, 0.008889513090252876, 0.02495555579662323, 0.00015990551037248224, -0.0015210163546726108, -0.026660103350877762, 0.019912704825401306, 0.051343463361263275, -0.07594630867242813, 0.0037801291327923536, -0.011886680498719215, 0.010548120364546776, -0.0014549784827977419, -0.006388064473867416, -0.041107915341854095, -0.03376192972064018, -0.028346214443445206, 0.004503639414906502, -0.046618714928627014, -0.01633339375257492, -0.01899680867791176, 0.015416080132126808, 0.013031238690018654, -0.0023155619855970144, -0.021479027345776558, 0.0015256202314049006, -0.002441540826112032, -0.030192548409104347, 0.012545011937618256, -0.020890643820166588, 0.017302270978689194, 0.017755698412656784, -0.04257004335522652, 0.025009343400597572, -0.026201412081718445, 0.026775548234581947, 0.017108691856265068, -0.023527193814516068, -0.0234246663749218, -0.034720223397016525, 0.0013311683433130383, -0.02348490245640278, 0.033880122005939484, -0.005730772390961647, -0.006324262823909521, -0.04075801372528076, -0.007731871213763952, -0.056283459067344666, 0.011115101166069508, -0.02252386137843132, -0.022886104881763458, 0.021811744198203087, 0.04798846319317818, 0.02500610053539276, 0.02717679552733898, -0.022454723715782166, -0.0023902575485408306, 0.04733795300126076, -0.05581563338637352, -0.024760274216532707, -0.03507154434919357, -0.05227799713611603, -0.0037822804879397154, 0.003417138010263443, 0.035334862768650055, -0.05726298689842224, 0.05348440259695053, 0.015032357536256313, 0.02517273835837841, 0.03417448699474335, 0.004202953539788723, 0.016548780724406242, -0.05216042324900627, 0.0037459053564816713, -0.07053647935390472, 0.0036637375596910715, 0.020122241228818893, -0.006271940656006336, -0.001169615308754146, 0.00936888437718153, -0.04043411463499069, 0.0636737197637558, -0.08489445596933365, -0.012771626003086567, 0.039682455360889435, 0.0003811849164776504, -0.019351141527295113, -0.00010329567157896236, -0.06365038454532623, 0.022373106330633163, 0.024656768888235092, -0.041657913476228714, -0.036909766495227814, -0.020706135779619217, 0.05461606755852699, -0.008350895717740059, 0.04953072592616081, -0.016800133511424065, -0.0009841101709753275, 0.059573814272880554, 0.022102145478129387, 0.0024625505320727825, 0.038933463394641876, -0.00010083091183332726, 0.027788247913122177, 0.04071236774325371, 0.02186957374215126, 0.010324973613023758, 0.02643517591059208, -0.013222109526395798, -0.0708879753947258, 0.03185330331325531, 0.0011170684592798352, -0.01704021729528904, -0.036638159304857254, 0.04885004833340645, 0.02264612726867199, -0.01849696971476078, -0.06482967734336853, 0.009893187321722507, -0.07475671172142029, -0.005802567582577467, -0.008958849124610424, -0.014767429791390896, -0.0489906407892704, 0.04251383617520332, -0.0038451896980404854, -0.008041528053581715, 0.05477648600935936, -0.0007866817759349942, -0.041033513844013214, -0.007578798569738865, 0.0897950753569603, 0.07589375972747803, 0.06844401359558105, 0.006955077406018972, 0.06625127792358398, -0.012930186465382576, -0.03961688652634621, 0.0028971354477107525, 0.0032475327607244253, -0.014069599099457264, -0.05567717179656029, 0.021513504907488823, 0.06945431977510452, -0.014308614656329155, 0.053861722350120544, -0.024199025705456734, -0.01136946864426136, -0.00558928307145834, 0.027707692235708237, 0.0023539916146546602, 0.08241827040910721, 0.003612592350691557, 0.01406482607126236, -0.037379611283540726, -0.05626318231225014, 0.025434784591197968, -0.023861896246671677, -0.018930645659565926, 0.025715645402669907, -0.014773123897612095, 0.026337185874581337, 0.017701612785458565, 0.02119290642440319, 0.08851562440395355, -0.062253084033727646, 0.008077677339315414, 0.0031697272788733244, 0.031950943171978, 0.012720374390482903, 0.012579674832522869, -0.026189688593149185, -0.020899498835206032, -0.006674543488770723, -0.037438176572322845, -0.015016383491456509, -0.019348569214344025, -0.027650050818920135, 0.03984199836850166, -0.023336341604590416, -0.00962748657912016, 0.021447256207466125, -0.003904049750417471, -0.03435786813497543, -0.05960323289036751, -0.03886184096336365, -0.04891427233815193, -0.03451516851782799, -0.01834738627076149, 0.010176881216466427, 0.0015131145482882857, -0.03851201385259628, -0.014532851055264473, -0.02960168942809105, -0.0371522530913353, 0.05490454286336899, -0.05261826515197754, -0.029871849343180656, 0.007501133251935244, 0.010607670061290264, 0.005651209503412247, 0.014175200834870338, 0.04683023318648338, 0.009166859090328217, 0.0031581539660692215, -0.0020631959196180105, 0.021568862721323967, 0.02654973231256008, 0.014770719222724438, 0.008863257244229317, -0.07786306738853455, 0.016826828941702843, 0.03966416418552399, -0.015129380859434605, -0.06257756799459457, 0.03811921551823616, 0.011603818275034428, -0.013523879460990429, 0.04944551736116409, -0.005873455200344324, 0.015232875011861324, -0.02715281955897808, -0.010621062479913235, -0.02316165529191494, 0.03763534501194954, 0.0324120856821537, -0.013110004365444183, 0.10231402516365051, 0.01336299255490303, -0.007879574783146381, -0.04968651756644249, -0.03488479182124138, 0.0005012613255530596, 0.0016847193473950028, -0.019283153116703033, -0.02033901773393154, -0.02864806354045868, -0.07843638211488724, -0.005232999566942453, 0.016806449741125107, -0.029199037700891495, -0.03366899862885475, 0.0156886987388134, 0.016167117282748222, 0.0027762847021222115, 0.03312337026000023, -0.0476570650935173, 0.01898418739438057, -0.017143310979008675, -0.017490524798631668, -0.005647581070661545, 0.014227619394659996, -0.0027139796875417233, -0.012794760055840015, 0.007437250576913357, -0.05278477445244789, -0.010158347897231579, 0.010872048325836658, 0.03410189226269722, 0.02521684020757675, 0.017719632014632225, 0.01336269173771143 ]
[ -0.10419455170631409, 0.004226877819746733, -0.029430130496621132, -0.03855185955762863, 0.03939077630639076, -0.052420519292354584, -0.022941449657082558, 0.022650960832834244, -0.011173615232110023, -0.027735359966754913, 0.012759927660226822, -0.04228568077087402, 0.005049407947808504, -0.033811453729867935, 0.0833323672413826, 0.004923611879348755, -0.018167434260249138, -0.06381583213806152, 0.01964254304766655, 0.0006410427740775049, -0.029490066692233086, -0.018723629415035248, -0.019879069179296494, -0.0036951210349798203, 0.02899000234901905, 0.03564613685011864, 0.028103545308113098, -0.014905043877661228, 0.004678855184465647, -0.2166425883769989, 0.015870127826929092, 0.014755482785403728, 0.05153024569153786, 0.0013374615227803588, -0.0026842348743230104, 0.06923936307430267, 0.015151162631809711, 0.00018545005877967924, -0.008666479960083961, 0.039857279509305954, 0.016057513654232025, 0.011964830569922924, -0.03579261526465416, -0.015272828750312328, 0.03314441815018654, 0.020523644983768463, -0.01920769177377224, -0.015630261972546577, -0.018737543374300003, 0.008886661380529404, -0.030869295820593834, -0.027340276166796684, -0.03734855726361275, -0.02008954994380474, 0.019682254642248154, 0.020464003086090088, 0.029624389484524727, 0.07544845342636108, 0.007266968954354525, 0.017635514959692955, 0.01595117896795273, 0.007707478478550911, -0.16120120882987976, 0.08494586497545242, 0.035059068351984024, 0.07040934264659882, -0.022763729095458984, -0.04022439196705818, -0.008165216073393822, 0.04982468858361244, -0.014706515707075596, -0.029871845617890358, -0.04821183905005455, 0.03210587054491043, 0.009867044165730476, -0.017477430403232574, 0.00733576575294137, -0.004962362814694643, 0.054424408823251724, -0.023290948942303658, -0.02473493292927742, -0.002443186240270734, -0.016957221552729607, -0.03593626618385315, -0.013476012274622917, 0.03335995227098465, 0.002313056029379368, 0.04610653594136238, 0.0160166434943676, 0.019398177042603493, 0.05092935264110565, -0.006314415950328112, 0.04406815394759178, 0.014625275507569313, -0.06916308403015137, -0.0011430380400270224, 0.027133120223879814, 0.018699584528803825, -0.05691982060670853, 0.44504523277282715, -0.022830691188573837, -0.030423497781157494, 0.07631225883960724, 0.04649654030799866, -0.006284581497311592, -0.004691244103014469, 0.005757718347012997, -0.04957311227917671, 0.03639697656035423, -0.05208539590239525, 0.009001820348203182, 0.004681190475821495, 0.0715373232960701, -0.041963767260313034, 0.015082196332514286, 0.032965224236249924, -0.0103156678378582, 0.010214177891612053, -0.005326009821146727, -0.011926756240427494, 0.00473274989053607, 0.006466388702392578, 0.039347756654024124, 0.012779783457517624, 0.001483424915932119, -0.013254616409540176, 0.018292469903826714, 0.055786531418561935, 0.029035301879048347, 0.009485673159360886, 0.0529584139585495, -0.043396107852458954, -0.0814381018280983, -0.005596967879682779, 0.009114553220570087, 0.000032776410080259666, 0.033953189849853516, -0.0065283640287816525, 0.010936182923614979, 0.02786339446902275, -0.007478429935872555, -0.014473686926066875, 0.027118170633912086, 0.018232587724924088, -0.05620525777339935, 0.0943513959646225, 0.0027280417270958424, -0.033967263996601105, -0.01086494978517294, -0.030307218432426453, 0.01049734279513359, 0.03137849271297455, -0.010110776871442795, -0.06151749938726425, 0.023848192766308784, 0.02541682869195938, 0.11025778204202652, -0.007842767983675003, -0.06965971738100052, -0.010483267717063427, -0.027986755594611168, -0.0461861677467823, -0.04367697238922119, 0.026294127106666565, 0.046615999191999435, -0.08285034447908401, -0.009003177285194397, 0.016309980303049088, 0.02217225544154644, -0.06627455353736877, 0.004767222795635462, 0.014083625748753548, -0.03144533932209015, 0.013590558432042599, 0.05683378875255585, -0.04020656645298004, -0.039507243782281876, 0.01650289259850979, 0.06235888972878456, 0.0394103042781353, 0.04031258448958397, -0.0017881548264995217, -0.045382920652627945, -0.00928815733641386, -0.03483235836029053, -0.04851295053958893, -0.046163931488990784, -0.019632963463664055, -0.011762632988393307, 0.0002191303065046668, 0.0011081043630838394, -0.013428529724478722, -0.08379390090703964, 0.08078694343566895, -0.014841028489172459, 0.0023814081214368343, 0.012038860470056534, -0.0011060826946049929, -0.03113575465977192, -0.01203227136284113, -0.0777868926525116, 0.04818156734108925, -0.03242525830864906, 0.006308805663138628, -0.08095815777778625, 0.04951914772391319, 0.054227564483881, -0.05552881211042404, 0.09852790832519531, 0.03829073905944824, -0.05524992570281029, -0.03171997144818306, -0.0036398007068783045, 0.007670432794839144, 0.030398260802030563, 0.017359526827931404, 0.005358721595257521, 0.005009260959923267, -0.01752999611198902, 0.03857805207371712, -0.0234649870544672, -0.013177426531910896, -0.013274055905640125, -0.347506582736969, -0.023622775450348854, -0.042634379118680954, -0.03423173353075981, 0.004069515038281679, -0.06711164861917496, 0.02620193548500538, -0.02602042630314827, -0.03485267981886864, -0.0019374988041818142, 0.08733327686786652, -0.025320569053292274, 0.01201159879565239, -0.07658993452787399, -0.0017591475043445826, 0.02217472717165947, -0.02561921812593937, -0.010761041194200516, -0.06192464753985405, 0.0023431580048054457, 0.0007184913265518844, -0.02150546759366989, -0.0068778712302446365, -0.03710097819566727, -0.02779359370470047, -0.041693851351737976, 0.0824417918920517, 0.0018870359053835273, 0.08805111050605774, -0.006922409404069185, 0.04511471465229988, 0.021790632978081703, 0.006196488626301289, -0.09070993214845657, 0.0026286912616342306, -0.017465762794017792, 0.02852591685950756, -0.022464461624622345, 0.04161547124385834, -0.049278389662504196, -0.030266402289271355, 0.018782922998070717, -0.04266255348920822, -0.029028257355093956, -0.10454858094453812, 0.02898775413632393, -0.03379380330443382, -0.03480201214551926, -0.030528023838996887, 0.07728148996829987, 0.02164531499147415, 0.04183316230773926, 0.016187848523259163, 0.016520414501428604, -0.058847103267908096, -0.04065914452075958, -0.10550142079591751, 0.008397001773118973, -0.011349893175065517, 0.003125748597085476, 0.025924913585186005, 0.03981325402855873, 0.024566639214754105, -0.08027973026037216, -0.004515414126217365, -0.019459551200270653, -0.011924398131668568, -0.01244151871651411, 0.05869456008076668, -0.02741362154483795, -0.0013602882390841842, 0.09652520716190338, -0.013592294417321682, -0.004392937757074833, 0.005618399940431118, 0.037973709404468536, -0.028630012646317482, 0.02488757111132145, 0.0017091967165470123, -0.026814159005880356, 0.004089679569005966, -0.00876657385379076, 0.03244364634156227, 0.00022372225066646934, -0.005048987455666065, 0.010750326327979565, -0.02379152737557888, -0.03921163082122803, 0.06767932325601578, 0.04425633326172829, -0.04563823342323303, 0.0005669501260854304, -0.005906105972826481, -0.03649834915995598, 0.05910218134522438, 0.015269452705979347, -0.22110837697982788, 0.01859770156443119, 0.05965655297040939, 0.08432388305664062, -0.0024955538101494312, 0.026738733053207397, 0.04658771678805351, -0.066417396068573, 0.007459934335201979, -0.01572251506149769, 0.03873564302921295, 0.005177091341465712, 0.007839499041438103, 0.0030851999763399363, 0.028641384094953537, -0.007009649649262428, 0.04768507182598114, 0.0010025129886344075, 0.02016470953822136, -0.007834350690245628, -0.0012982685584574938, 0.027310820296406746, 0.1487516611814499, 0.0031176372431218624, 0.03254057839512825, -0.00410708412528038, 0.007420631591230631, -0.001577226910740137, 0.05426531657576561, 0.024980809539556503, 0.011430030688643456, 0.0019045296357944608, 0.0334576740860939, 0.025101514533162117, 0.037578288465738297, -0.059345509856939316, -0.032523345202207565, 0.006291409954428673, 0.03848681598901749, -0.01450077909976244, 0.019411591812968254, 0.005119153298437595, -0.029240397736430168, 0.022174403071403503, 0.07472141087055206, -0.0011403209064155817, 0.021478384733200073, -0.03825501352548599, -0.06055688485503197, -0.0042920419946312904, -0.019999556243419647, -0.03706008195877075, 0.01495864987373352, -0.0006017654086463153, 0.04923789203166962, 0.08612381666898727, 0.017107997089624405, -0.011621697805821896, -0.006037975195795298, -0.0006847532349638641, -0.009719989262521267, -0.03502541407942772, 0.1381363719701767, 0.030596142634749413, 0.007115970365703106 ]
[ -0.014446432702243328, -0.01673150807619095, -0.004689687862992287, 0.01828049309551716, -0.029378196224570274, 0.0017658628057688475, -0.027529992163181305, 0.01975620724260807, -0.00805124081671238, -0.0068669868633151054, -0.010385371744632721, 0.014401687309145927, 0.016978397965431213, 0.01387772150337696, 0.017270229756832123, -0.008159361779689789, -0.019035199657082558, -0.012858739122748375, 0.022462930530309677, -0.013515138067305088, -0.017518039792776108, -0.003636804409325123, -0.03126863017678261, 0.016900213435292244, -0.004287627059966326, -0.00559866800904274, -0.005726320669054985, 0.003321815514937043, 0.024460816755890846, -0.1265220195055008, 0.009404875338077545, -0.030350878834724426, 0.02511272020637989, 0.013681319542229176, 0.01846693456172943, 0.001167217968031764, 0.022061023861169815, 0.00565473735332489, -0.007447776384651661, -0.022513877600431442, 0.0036049175541847944, -0.012572430074214935, 0.0020975759252905846, 0.020473159849643707, -0.03151455521583557, 0.004288786556571722, 0.01095530018210411, -0.019919320940971375, -0.00864341203123331, -0.028613099828362465, -0.061007000505924225, -0.024667266756296158, 0.002116661285981536, -0.0030369593296200037, 0.020037049427628517, 0.008569156751036644, 0.0285011138767004, -0.028366345912218094, 0.018573278561234474, -0.041688527911901474, -0.011674816720187664, -0.01947566121816635, -0.06996533274650574, -0.042503517121076584, -0.023733749985694885, -0.021751800552010536, -0.009884941391646862, 0.016044992953538895, 0.018380362540483475, 0.0010468271793797612, -0.02069329284131527, 0.005402108188718557, -0.032761141657829285, -0.05710718408226967, 0.028201691806316376, -0.03442840278148651, 0.019472870975732803, -0.014368931762874126, 0.038690242916345596, 0.003941647242754698, -0.025688450783491135, 0.03884366527199745, 0.0054915728978812695, -0.01445752289146185, -0.013525187037885189, -0.028858762234449387, 0.007819002494215965, -0.01605256274342537, 0.02355857565999031, 0.00027949034119956195, -0.010075246915221214, 0.009549182839691639, -0.004455254878848791, 0.01069952454417944, -0.06815048307180405, 0.01769929938018322, 0.015156797133386135, -0.009924362413585186, -0.010988879948854446, 0.8629071712493896, -0.01588069275021553, 0.00966294389218092, 0.013408447615802288, -0.017617445439100266, 0.013206961564719677, -0.009578918106853962, -0.0031692232005298138, 0.014933587051928043, 0.002786935307085514, -0.0464201457798481, 0.005164841189980507, 0.00774351367726922, 0.034262411296367645, 0.01616170071065426, 0.040299251675605774, 0.021312665194272995, 0.01044677384197712, 0.02439054846763611, -0.029670514166355133, 0.02322503738105297, 0.009757999330759048, 0.03661585599184036, 0.025052385404706, 0.018667852506041527, 0.015339761041104794, -0.180472269654274, -0.024664700031280518, -7.614318289381124e-33, 0.05866904556751251, 0.013105380348861217, 0.01969296857714653, 0.024932006374001503, -0.003299092873930931, -0.003459615632891655, 0.037256285548210144, 0.036527104675769806, 0.0027502637822180986, -0.031851354986429214, -0.011340953409671783, -0.005857173353433609, -0.030090847983956337, 0.0034088087268173695, 0.012207058258354664, -0.00813581608235836, 0.010452627204358578, 0.04645523056387901, -0.03945556655526161, 0.04359019175171852, 0.03401152789592743, 0.0028397971764206886, 0.0039713382720947266, -0.007629662286490202, 0.027300793677568436, 0.011567800305783749, 0.02517910860478878, 0.0110633485019207, 0.007740079890936613, -0.03253037482500076, -0.026688946411013603, -0.002822380978614092, -0.0009327578591182828, -0.04171481728553772, -0.007442810107022524, -0.03615223616361618, -0.055642351508140564, -0.007367898244410753, 0.0037956195883452892, -0.03148609399795532, -0.009162391535937786, 0.006501226685941219, -0.03928003087639809, -0.011691238731145859, -0.015232216566801071, 0.011905203573405743, 0.025892365723848343, 0.024035174399614334, -0.00808844342827797, 0.011571849696338177, 0.027334731072187424, -0.0030461261048913, 0.00886622630059719, -0.0032342313788831234, -0.009173651225864887, 0.020137252286076546, -0.01393711194396019, 0.03288765996694565, 0.030349640175700188, 0.0001992832840187475, 0.016666077077388763, 0.01888936385512352, -0.020195497199892998, 0.02627401426434517, 0.029307600110769272, -0.0090780695900321, -0.0005399459623731673, 0.011930336244404316, 0.03807763010263443, -0.001500217244029045, -0.0643543004989624, 0.007950128056108952, -0.02099013328552246, -0.017643656581640244, -0.017819250002503395, -0.03194480016827583, 0.013290217146277428, 0.019586116075515747, -0.0036182182375341654, 0.022218964993953705, -0.007200129795819521, 0.023382123559713364, -0.011361612007021904, -0.066252700984478, -0.025899503380060196, 0.0009037135750986636, 0.028055842965841293, -0.01337667740881443, -0.034436218440532684, -0.01297362893819809, 0.03648088127374649, -0.01980777643620968, 0.01051080971956253, -0.008058212697505951, -0.007377294823527336, 7.094433872210889e-33, 0.012648138217628002, -0.060261715203523636, -0.015860838815569878, 0.00026044121477752924, 0.037165477871894836, -0.0112150302156806, 0.014452308416366577, 0.02010156773030758, -0.040870532393455505, 0.01966220885515213, -0.006455149035900831, 0.006695612799376249, -0.0265070591121912, 0.0023830384016036987, 0.017707999795675278, -0.004088685382157564, 0.01966147869825363, -0.004405681975185871, 0.025577081367373466, -0.0009196440223604441, -0.015502027235925198, 0.016820279881358147, 0.004090460948646069, 0.017201289534568787, 0.02847692370414734, 0.029342228546738625, -0.012452456168830395, 0.015565597452223301, 0.011487267911434174, 0.023881608620285988, 0.0448308102786541, -0.001172323594801128, 0.005440087988972664, 0.00013092017616145313, -0.03624242544174194, 0.019331179559230804, -0.033084090799093246, 0.0018816401716321707, 0.017468148842453957, 0.012184628285467625, 0.01849352940917015, 0.002285361522808671, -0.003854813054203987, 0.017035549506545067, -0.0066061546094715595, 0.014650858007371426, -0.007174950558692217, -0.012622256763279438, 0.007046720944344997, -0.004784412682056427, 0.0017749653197824955, -0.003806986380368471, 0.026633577421307564, -0.00344312796369195, -0.013135219924151897, -0.0013889981200918555, -0.019525807350873947, 0.010334919206798077, -0.014663228765130043, 0.016480302438139915, -0.03592972829937935, 0.0034394320100545883, -0.031200651079416275, 0.0032185136806219816, -0.033997416496276855, -0.006220425013452768, -0.05682975798845291, -0.0007693168590776622, 0.015240389853715897, 0.0031494181603193283, -0.009879176504909992, 0.011191333644092083, -0.002577906008809805, 0.00992724858224392, -0.008523216471076012, -0.003746041329577565, -0.04996539279818535, 0.006723049096763134, -0.04265567287802696, 0.03647200018167496, 0.0006091173272579908, -0.010847686789929867, 0.007594547234475613, 0.030504263937473297, 0.002737807109951973, 0.005322338081896305, 0.02668021246790886, 0.04004475101828575, -0.014409627765417099, -0.0117518724873662, -0.012180276215076447, -0.028216522186994553, 0.007353051565587521, 0.025289002805948257, 0.019789494574069977, -1.3183393043902925e-8, 0.01968969590961933, 0.02633642591536045, 0.0004002183850388974, 0.010976193472743034, 0.002907696645706892, 0.01855888031423092, -0.040242671966552734, -0.003636943409219384, -0.043086353689432144, 0.038369085639715195, 0.022589828819036484, -0.05214911326766014, -0.013508294709026814, -0.0071343895979225636, 0.03266226500272751, -0.014224161393940449, 0.010020284913480282, 0.01732867956161499, 0.022259734570980072, -0.020784927532076836, 0.056302957236766815, 0.023149551823735237, -0.01661553606390953, 0.05159689486026764, 0.013033987022936344, -0.012061851099133492, 0.004878039471805096, -0.07535496354103088, -0.032664716243743896, 0.021477608010172844, 0.02339114062488079, -0.04068271443247795, -0.0386621430516243, 0.05274488031864166, -0.0038991901092231274, -0.016960475593805313, 0.01847563125193119, -0.011238322593271732, -0.00597972609102726, -0.005079117603600025, 0.0038678606506437063, 0.011325960047543049, -0.01534566655755043, -0.0342765711247921, -0.040154069662094116, 0.026226725429296494, -0.013669495470821857, -0.015569864772260189, -0.005013697315007448, -0.0031690134201198816, 0.013644932769238949, 0.01638820394873619, -0.003650547470897436, 0.04056333005428314, 0.014619909226894379, 0.03917559236288071, -0.011210019700229168, -0.019432472065091133, -0.04052877426147461, -0.007114760112017393, 0.02548697404563427, 0.03187266364693642, -0.01630529947578907, -0.013800056651234627 ]
dreyfus-model-more-thoughts
https://markhneedham.com/blog/2009/08/10/dreyfus-model-more-thoughts
false
2009-08-19 00:43:18
Impersonators: Finding the enabling point
[ "impersonators" ]
[ "Testing" ]
One of the other interesting problems that we've come across while making use of different impersonators in our build process, and which http://blog.typemock.com/2009/08/by-any-other-name.html#comment-14998269[Julio mentions at the end of his comment on Gil Zilberfeld's blog post], is trying to work out where the correct place for the impersonator is. Ideally we want to put the impersonator in a place where we can easily turn it on or off depending on whether we want to use the impersonator or the real end point. In fact if we aren't able to do this then it is perhaps the case that we haven't actually created an impersonator at all. I like to use the term '*enabling point*', which I learnt from Michael Feathers in his chapter on http://www.markhneedham.com/blog/2009/06/21/seams-some-thoughts/[seams] in http://www.amazon.co.uk/Working-Effectively-Legacy-Robert-Martin/dp/0131177052/ref=sr_1_1?ie=UTF8&qid=1250602607&sr=8-1[Working Effectively With Legacy Code], to describe *the place where we can make the decision to use the impersonator or the real end point*. Ideally this will probably be determined by changing a simple setting in a configuration file. If you choose the wrong enabling point the 'impersonator' may not actually help you that much and it might even become such a hindrance that you stop using it and just accept the problems we can have when we have to integrate against real end points all the way through our build process. On the way to making use of the http://martinfowler.com/bliki/SelfInitializingFake.html[self initializing fake] on my current project we tried/thought about some other approaches which we thought might be able to ease the pain of integrating directly against the service layer which were quite unstable at the time. We were often losing 4 or 5 hours a day due to the website being unusable without this integration point working. == Stubs The first thought was that perhaps we could just integrate against a stub of each of the services in our development environment and then inject either the stub or real service into our code through dependency injection. Julio points out quite an important flaw with this approach: ____ It happens that the results of those tests have very limited value, as they're not actually validating if the system actually integrates correctly with its environment. ____ If there was a change to the structure of the xml being returned we wouldn't know about this until we actually ran a test against the real integration point and our http://www.markhneedham.com/blog/2009/07/20/coding-quick-feedback/[feedback cycle] is now fairly slow. In addition we would be returning a canned set of results from data that we had setup and the maintenance of this canned data just becomes a real pain after a while. == The internal cache The first approach that we tried involved intercepting the requests/responses of each of the service calls from inside the application itself by making use of http://unity.codeplex.com/Thread/View.aspx?ThreadId=63680[interceptors injected from our DI container] around the classes which made the calls. We eventually managed to get this working to a stage where we could save the requests and responses to disk and then make use of this data when the services weren't working. The problem with this approach was that we were configuring it by configuring a 'UseCache' property in our configuration file which I think was probably a sign that we were doing something wrong, the problem being that we made use of the 'UseCache' property in our production code. We only setup the recording part of the process to record the requests and responses from our service tests when run as part of the build and then saved those results onto a remote server. Another step we needed to do to make use of the 'impersonator' was therefore to copy those files across to the local machine and put them into the 'cache directory' which was another configurable property. Although it only took maybe 5 minutes to do this it became quite annoying after a while. If we have found a good enabling point then it should be really easy to switch to using it which wasn't the case here. In addition we know had all this impersonating code inside our main solution and it became more and more complex as we tried to make it more useful - another lesson here was that *if we're going to write an impersonator, that code should be outside of our main application*. == Self Initializing Fake The self initializing fake is our current approach and the nice thing about this approach is that it's really easy to switch back and forth between this and the real end point - all you need to do is change the 'ServiceUrl' value in the configuration file! The self initializing fake is a recording proxy which sits on our CI server and captures the requests and responses to/from the service and then stores those results in memory. If you make the same request again it returns the response from its store instead of sending that request through to the service layer. The code for the self initializing fake is outside of our main solution - in fact it's actually written in Ruby and the application is in C#. == In summary From my experience it's quite important to make use of impersonators of our integration points if we are to get a stable environment to run against but we can cause ourselves a lot of pain if we pick the wrong enabling point for that impersonator. The key seems to be that it should be minimal effort to enable an impersonator and we shouldn't need to make any changes to our production code in order to do so. From working with some other impersonators I think it is also important that we shouldn't have to make any changes to our test code in order to use an impersonator either. If we find ourselves having to do something that seems crazy with impersonators it might well be worth considering whether we have the right enabling point.
null
null
[ 0.01574421301484108, -0.016980141401290894, 0.006052505224943161, 0.035148896276950836, 0.10223498195409775, 0.014704602770507336, 0.0591103732585907, 0.027291035279631615, 0.017522109672427177, -0.021965380758047104, -0.0061716241762042046, -0.01510993018746376, -0.0651775598526001, 0.004212535452097654, -0.05352435261011124, 0.06040353700518608, 0.0510382205247879, 0.008154521696269512, 0.022615980356931686, -0.001093829981982708, 0.025458350777626038, 0.07310573756694794, 0.020057424902915955, 0.007464529015123844, -0.002547262702137232, 0.04006970673799515, -0.011768083088099957, 0.00776700722053647, -0.070741206407547, -0.01582750491797924, 0.030247719958424568, -0.00145466229878366, -0.0038398823235183954, -0.01897576078772545, 0.01942845620214939, -0.018205545842647552, -0.028699999675154686, 0.017014890909194946, 0.0026674834080040455, 0.032837800681591034, -0.06249214708805084, 0.05803807079792023, 0.01135341078042984, 0.0018019168637692928, -0.054302796721458435, -0.03176860138773918, -0.050559356808662415, 0.009379930794239044, -0.0016839136369526386, -0.034371234476566315, -0.06326458603143692, 0.045409467071294785, -0.04086317494511604, 0.004224684089422226, 0.005586536135524511, 0.028416257351636887, 0.014754466712474823, -0.09192679822444916, 0.009836898185312748, -0.03708107769489288, -0.01762249507009983, 0.0012459652498364449, 0.013168808072805405, 0.011791445314884186, 0.0005857988726347685, -0.0007481747306883335, 0.029927866533398628, 0.0379798449575901, -0.043708398938179016, -0.019533468410372734, 0.011792373843491077, 0.0016670776531100273, 0.002288244664669037, -0.015434243716299534, 0.0012047361815348268, -0.04704207181930542, -0.013028579764068127, 0.07552983611822128, 0.04330043867230415, 0.04523656517267227, -0.013059915043413639, 0.002361077582463622, 0.012072396464645863, 0.019553137943148613, -0.008364075794816017, -0.04088087007403374, 0.004553263541311026, 0.005489619914442301, -0.0449439212679863, 0.05930718779563904, 0.02141023427248001, -0.05818230286240578, 0.024740979075431824, 0.018997948616743088, 0.008234268054366112, 0.012315895408391953, 0.016763346269726753, -0.00016619576490484178, 0.0076335156336426735, -0.011290451511740685, -0.04090002924203873, 0.014126330614089966, -0.025511005893349648, 0.010099588893353939, -0.06838051974773407, -0.014126257970929146, -0.013344895094633102, 0.004036326427012682, -0.008029780350625515, 0.011491887271404266, -0.04277035966515541, 0.03103809431195259, 0.008225047960877419, -0.017664460465312004, -0.08971930295228958, 0.05442308261990547, -0.01654043421149254, -0.040249645709991455, -0.002562101697549224, 0.02797713503241539, 0.06363337486982346, 0.06686446815729141, -0.04006343334913254, 0.0786474421620369, 0.04023684933781624, 0.01891144923865795, -0.005405758041888475, 0.05754780024290085, -0.01361158862709999, -0.05863065645098686, -0.010594743303954601, 0.07496797293424606, -0.005846742540597916, 0.018998507410287857, 0.017035458236932755, -0.03047928959131241, -0.014312793500721455, 0.0004142148536629975, 0.05149812996387482, 0.026149548590183258, 0.0009564263164065778, -0.05693817138671875, 0.0019641045946627855, 0.028109082952141762, 0.02175098843872547, 0.007806637790054083, 0.010458972305059433, -0.036225661635398865, -0.034961722791194916, 0.022643791511654854, 0.012025397270917892, 0.0295572467148304, 0.03030487895011902, -0.04200790077447891, 0.025177206844091415, 0.0834132507443428, 0.04934140667319298, -0.004987773019820452, -0.019123263657093048, 0.01857488788664341, 0.03379999101161957, 0.02929304912686348, -0.0008542563882656395, 0.04681338742375374, 0.03669750690460205, -0.0022267343010753393, -0.019268536940217018, 0.02808772586286068, 0.026873808354139328, 0.010025356896221638, -0.05800164118409157, -0.04446759447455406, 0.075830839574337, -0.03688066080212593, -0.014979989267885685, 0.03871246054768562, 0.08162761479616165, 0.012041972018778324, 0.037149544805288315, 0.0013534331228584051, -0.07135988771915436, 0.02093515731394291, 0.005762699991464615, 0.01795833557844162, 0.025838252156972885, -0.006970623508095741, 0.06431487947702408, 0.025411948561668396, -0.0074148960411548615, 0.06028669700026512, -0.06596978008747101, -0.0676717609167099, -0.0008465754217468202, -0.03048408031463623, 0.06780494749546051, -0.015859393402934074, -0.020592818036675453, 0.05774408578872681, 0.031511034816503525, 0.04808112606406212, 0.02686748467385769, -0.014215213246643543, 0.023115046322345734, -0.026667363941669464, -0.051925498992204666, 0.048947207629680634, 0.023708447813987732, 0.003241367172449827, -0.022041328251361847, -0.004199214279651642, -0.01602441817522049, -0.025815565139055252, 0.0228863675147295, -0.03499295562505722, 0.018172740936279297, 0.001087960321456194, 0.025415651500225067, -0.04199736937880516, 0.043342769145965576, -0.05318693816661835, 0.026347650215029716, -0.0010291080689057708, -0.015483676455914974, 0.018992923200130463, -0.0064697652123868465, 0.11472450196743011, 0.032043758779764175, -0.065142422914505, -0.0340423583984375, 0.005174440331757069, 0.017615457996726036, -0.04119723290205002, -0.004384493455290794, -0.01085672527551651, 0.005716467741876841, -0.012527592480182648, -0.03799375891685486, -0.02993978187441826, 0.015846997499465942, -0.03476497158408165, 0.0032516338396817446, 0.06712590903043747, -0.03111191652715206, 0.05340111628174782, -0.024299491196870804, 0.005833976436406374, -0.006808138452470303, -0.0220403540879488, -0.06473120301961899, 0.0035151157062500715, 0.015387405641376972, -0.016390172764658928, 0.04347123205661774, -0.04622920975089073, -0.005886348895728588, -0.0231498833745718, -0.03266356140375137, 0.013335797935724258, 0.007921558804810047, 0.07415042817592621, -0.021131526678800583, 0.0638798177242279, -0.05172760412096977, 0.0237561147660017, -0.009984420612454414, -0.035059843212366104, -0.025433165952563286, -0.020907718688249588, 0.01023981161415577, 0.0241068284958601, 0.006180936470627785, 0.00753132114186883, -0.018950646743178368, -0.002829903969541192, 0.01632608473300934, 0.011596468277275562, 0.02222391963005066, 0.0033532818779349327, -0.013265128247439861, -0.02014593593776226, -0.054459795355796814, 0.05871257930994034, -0.05061616376042366, -0.01826091669499874, -0.008455262519419193, -0.07272443175315857, 0.028860190883278847, -0.09030995517969131, -0.059733469039201736, -0.004685378633439541, 0.03160941228270531, 0.02824079617857933, 0.020706137642264366, 0.03979633003473282, 0.05720953643321991, -0.00770554831251502, -0.0032542464323341846, 0.030918797478079796, -0.00671541690826416, 0.050855960696935654, 0.004203700926154852, 0.010852924548089504, 0.009954895824193954, 0.008069588802754879, 0.011728787794709206, -0.059929657727479935, 0.03480680659413338, -0.04264074191451073, -0.2967894375324249, 0.038345593959093094, 0.030217673629522324, -0.06047314032912254, 0.020627446472644806, -0.010257938876748085, 0.01781575195491314, -0.0381166972219944, -0.04864484816789627, 0.03598752245306969, -0.02154308184981346, -0.05526375398039818, 0.0039406283758580685, 0.03226901963353157, -0.0018577214796096087, 0.020517602562904358, 0.00846607144922018, -0.0237008985131979, 0.005581090226769447, 0.026469167321920395, -0.028683017939329147, -0.0570487454533577, 0.023833712562918663, 0.0272347591817379, 0.03581962734460831, 0.0718781054019928, -0.08920466899871826, 0.0517701655626297, -0.0518665537238121, -0.004121504258364439, -0.010979678481817245, -0.01234001200646162, -0.004437730181962252, -0.016307035461068153, -0.03448648750782013, -0.022327855229377747, 0.04016413167119026, 0.010668332688510418, -0.030022531747817993, -0.006262030452489853, -0.01708591915667057, -0.029625482857227325, -0.018108271062374115, 0.013734283857047558, 0.07367748022079468, -0.0022826415952295065, -0.07872036099433899, -0.0011497527593746781, -0.028460528701543808, 0.06595012545585632, -0.03288893774151802, -0.01784750260412693, -0.012996445409953594, 0.05523029714822769, -0.00037872957182116807, -0.009073968045413494, -0.015151130966842175, -0.007503098342567682, -0.05667750537395477, -0.004987434018403292, -0.0015156802255660295, -0.015836618840694427, -0.015997065231204033, -0.030479492619633675, -0.0029071818571537733, -0.06477853655815125, -0.057128697633743286, -0.02246921882033348, 0.09177804738283157, 0.010824390687048435, -0.03465036302804947, 0.010862632654607296, 0.00425703963264823, -0.11034993082284927, 0.028794512152671814, -0.004637632519006729, -0.03632068261504173, -0.0016764405881986022, 0.016255255788564682, 0.06898200511932373, -0.03697684779763222, -0.04080209136009216, 0.015863820910453796, -0.014514791779220104, 0.0011738981120288372, -0.010233603417873383, 0.03332291543483734, 0.05226226523518562, -0.020108340308070183, 0.0008707611123099923, 0.07181292772293091, -0.0022548940032720566, -0.04103624448180199, -0.04910283908247948, 0.02843681536614895, 0.03169689327478409, 0.038231153041124344, -0.012018970213830471, 0.006836825981736183, 0.031096985563635826, 0.0186321921646595, -0.05688589811325073, 0.04600892588496208, -0.05004386603832245, 0.0005822958191856742, -0.0037597743794322014, -0.0467803031206131, 0.006924441549926996, 0.035464927554130554, 0.018507612869143486, -0.016773337498307228, -0.0463552288711071, 0.0030864898581057787, -0.04677176848053932, -0.06353971362113953, 0.011231529526412487, -0.005490520037710667, 0.03757064789533615, -0.0038522162940353155, -0.012373287230730057, -0.04677696153521538, 0.0263820830732584, 0.01072059664875269, 0.011177649721503258, -0.05964747816324234, -0.0240950770676136, -0.012975212186574936, 0.01105494238436222, 0.03335819020867348, 0.007317119278013706, -0.012500200420618057, 0.03526291251182556, 0.014405809342861176, -0.04346932843327522, 0.031075628474354744, 0.004324345849454403, -0.035751741379499435, -0.028683191165328026, 0.006046166643500328, -0.003201419487595558, -0.0031548677943646908, 0.004662894178181887, 0.025036374107003212, 0.034675609320402145, 0.04825164005160332, 0.005171709228307009, 0.048988331109285355, -0.01026193518191576, 0.028124801814556122, 0.016399020329117775, 0.035553526133298874, -0.07305791229009628, 0.019875366240739822, -0.05040926858782768, -0.025278283283114433, -0.006860893219709396, 0.02573668584227562, -0.021241463720798492, -0.0338895209133625, -0.0003033950924873352, 0.023142555728554726, -0.05055795982480049, -0.0057518500834703445, -0.02047574706375599, 0.033331360667943954, 0.06484503298997879, -0.03608343377709389, -0.0064746420830488205, -0.02717875875532627, -0.0026068794541060925, -0.00013834773562848568, 0.04932639002799988, -0.046618927270174026, 0.013421328738331795, 0.042948391288518906, 0.0065409340895712376, -0.032856572419404984, 0.018663831055164337, 0.05222500488162041, 0.007069820538163185, -0.010232788510620594, -0.026157669723033905, 0.005858364049345255, -0.006875312887132168, 0.059664320200681686, -0.021201040595769882, 0.003039752598851919, -0.009374098852276802, -0.017013542354106903, -0.022130820900201797, -0.041512634605169296, -0.0014368483098223805, 0.010783101432025433, 0.016076644882559776, -0.02090354822576046, -0.07620444148778915, 0.03204973787069321, 0.026984520256519318, 0.011344914324581623, 0.01879189722239971, 0.0047691515646874905, 0.0075843678787350655, -0.026938775554299355, 0.002716007176786661, 0.06302746385335922, -0.052615318447351456, 0.007942735217511654, -0.01501142606139183, 0.010599649511277676, 0.02689552865922451, 0.010268609039485455, -0.051213327795267105, -0.04302437976002693, -0.015896525233983994, 0.0023911839816719294, -0.07573062181472778, -0.044080913066864014, -0.022533059120178223, 0.018767407163977623, 0.015552670694887638, -0.015668250620365143, 0.0031650583259761333, 0.01851590909063816, 0.009435644373297691, -0.04336611181497574, 0.007301781326532364, -0.023984594270586967, 0.014819130301475525, 0.0007028331747278571, -0.027376392856240273, 0.03255089744925499, -0.039641521871089935, 0.029933054000139236, 0.027677403762936592, -0.026784690096974373, -0.008998789824545383, -0.037151578813791275, 0.004797295667231083, -0.005047630984336138, 0.027751201763749123, 0.013037807308137417, -0.01544688269495964, -0.029810147359967232, -0.01146341860294342, -0.05116655305027962, 0.02365502342581749, -0.008424433879554272, 0.004836776293814182, 0.003302140161395073, 0.04661419987678528, 0.005105877760797739, 0.03597204014658928, -0.03209763020277023, 0.001052976120263338, 0.02755097672343254, -0.08318520337343216, -0.017613111063838005, -0.02342851273715496, -0.053295914083719254, 0.002851671539247036, 0.017386065796017647, 0.018949007615447044, -0.03181624785065651, 0.02854773961007595, 0.045513816177845, 0.001681179041042924, 0.030681487172842026, 0.01597423478960991, 0.02098836749792099, -0.061833590269088745, -0.015636472031474113, -0.06847566366195679, 0.025020742788910866, 0.03400592878460884, 0.005397176370024681, -0.00986777525395155, 0.015875833109021187, -0.025937682017683983, 0.02737307921051979, -0.0673222541809082, -0.03346731513738632, 0.038932543247938156, -0.019425462931394577, -0.03133668005466461, -0.010582702234387398, -0.07716052234172821, 0.013692560605704784, 0.004944427404552698, -0.04209234565496445, -0.02687918022274971, -0.027489179745316505, 0.04624063894152641, -0.000411415530834347, 0.02754777856171131, -0.03194085508584976, -0.033622026443481445, 0.0364701934158802, 0.0198733638972044, -0.0007282986771315336, 0.03520825132727623, 0.007321294862776995, 0.033874787390232086, 0.026648446917533875, 0.011317707598209381, 0.002840451430529356, 0.009493519552052021, -0.004660364706069231, -0.0687021017074585, 0.03828539699316025, 0.005425221286714077, -0.01918879896402359, -0.03297916799783707, 0.044929392635822296, 0.022601976990699768, -0.011296656914055347, -0.060116831213235855, 0.029521239921450615, -0.03649846464395523, -0.030970783904194832, -0.025968432426452637, -0.004200390540063381, -0.047956276684999466, 0.062424495816230774, 0.005051161162555218, -0.004721927922219038, 0.06828603893518448, -0.0010472274152562022, -0.005711501929908991, -0.034706585109233856, 0.06123215705156326, 0.08671948313713074, 0.04241764917969704, 0.021376391872763634, 0.05097350478172302, -0.005311174318194389, -0.05501501262187958, 0.03926720842719078, -0.004034385550767183, -0.023443693295121193, -0.024279998615384102, 0.007146643940359354, 0.07439473271369934, -0.017661042511463165, 0.08071982860565186, -0.033301904797554016, 0.009385977871716022, 0.013922923244535923, 0.058486733585596085, 0.005963342729955912, 0.06647787243127823, 0.004531020298600197, 0.006906203459948301, -0.026487020775675774, -0.05918823555111885, 0.0393405556678772, -0.04317467659711838, -0.027677131816744804, 0.012549142353236675, -0.019462473690509796, 0.018172798678278923, 0.0024472689256072044, 0.020457150414586067, 0.0627877339720726, -0.043692078441381454, 0.008279290050268173, 0.0029261920135468245, 0.012378108687698841, 0.02089807018637657, 0.024986745789647102, -0.029992304742336273, -0.009124573320150375, 0.022223995998501778, -0.031964149326086044, -0.00468492740765214, -0.010988523252308369, -0.0218768622726202, 0.048811402171850204, -0.02443721517920494, -0.009779531508684158, 0.006963527761399746, -0.004952552728354931, -0.024721883237361908, -0.054660964757204056, -0.033684782683849335, -0.03450361266732216, -0.04859856516122818, -0.006650493945926428, -0.011680446565151215, -0.00845812913030386, -0.030542710795998573, -0.018243685364723206, -0.0360831655561924, -0.030418761074543, 0.051877569407224655, -0.06301554292440414, -0.04889073967933655, 0.02324514277279377, -0.0006271872553043067, 0.02621464803814888, 0.01613204926252365, 0.05752316489815712, 0.027907053008675575, -0.011410035192966461, -0.019297797232866287, -0.0008875080966390669, 0.022228749468922615, 0.0060497308149933815, -0.0007197782979346812, -0.10499561578035355, 0.029095588251948357, 0.0431927852332592, 0.014284568838775158, -0.062145158648490906, 0.02370375394821167, 0.010964094661176205, -0.01227756217122078, 0.05224350839853287, -0.004159793723374605, -0.0010265741730108857, -0.03368294611573219, -0.010806080885231495, -0.004140743054449558, 0.011871661059558392, 0.044747818261384964, -0.004638145212084055, 0.0866108164191246, 0.0356198213994503, -0.026450853794813156, -0.039779651910066605, -0.007763100787997246, -0.017332598567008972, -0.0022463819477707148, -0.02074526995420456, -0.012127472087740898, -0.02048303559422493, -0.08211643993854523, -0.012951618991792202, 0.0240531824529171, -0.008946279063820839, -0.023267189040780067, 0.028012065216898918, 0.021106434985995293, -0.044528570026159286, 0.023022780194878578, -0.037652451545000076, 0.023328306153416634, -0.027154291048645973, -0.011564817279577255, -0.0014424505643546581, 0.013918980956077576, 0.03859841823577881, 0.007539310958236456, 0.007722979411482811, -0.04917189106345177, -0.005055776797235012, 0.00484022730961442, 0.04507990926504135, 0.05541294813156128, -0.007247550413012505, 0.009161983616650105 ]
[ -0.08988240361213684, -0.005449571181088686, -0.028618473559617996, -0.035471394658088684, 0.0031838216818869114, -0.02156800776720047, 0.015087597072124481, 0.0109811220318079, -0.016428427770733833, -0.031904034316539764, 0.025629838928580284, -0.024776862934231758, -0.01331182662397623, -0.026420358568429947, 0.11265221238136292, 0.021493922919034958, -0.012997077777981758, -0.05546693503856659, 0.020916614681482315, 0.03464601933956146, 0.017162220552563667, -0.04136287793517113, -0.022819900885224342, -0.020209288224577904, -0.010943946428596973, 0.010574751533567905, 0.02426912635564804, -0.0004670030320994556, 0.01850203052163124, -0.205140620470047, 0.03277748078107834, 0.0041991644538939, 0.029815668240189552, -0.019887413829565048, 0.007356422953307629, 0.02186105214059353, 0.0024936727713793516, 0.026124784722924232, -0.005297969561070204, 0.00941391009837389, 0.010670903138816357, 0.015377084724605083, -0.044675081968307495, -0.015495603904128075, 0.028500525280833244, 0.00209010299295187, -0.002923806896433234, -0.008785915561020374, -0.024738699197769165, 0.01393453311175108, -0.022146616131067276, -0.0025931571144610643, 0.001423070440068841, 0.016390370205044746, -0.02344876155257225, 0.03979412466287613, 0.04829222336411476, 0.09005086123943329, 0.0018567107617855072, 0.0054633342660963535, 0.004285607952624559, -0.010672303847968578, -0.12432541698217392, 0.09576116502285004, 0.023489125072956085, 0.053563620895147324, -0.0348498709499836, -0.058819226920604706, -0.03564276173710823, 0.05794847756624222, -0.013396567665040493, -0.0332668274641037, -0.055702611804008484, 0.013851257041096687, 0.03841554373502731, 0.01424364559352398, 0.007543988525867462, 0.041237860918045044, 0.06020079553127289, -0.03425883874297142, -0.007148102857172489, -0.012108284048736095, -0.03756066411733627, -0.008363748900592327, -0.051653508096933365, 0.03425836190581322, 0.025596005842089653, 0.0648135393857956, 0.005293418187648058, 0.03691350296139717, 0.02824188955128193, -0.028464509174227715, 0.053201016038656235, 0.01795642450451851, -0.04807611554861069, -0.00608786940574646, -0.0066024125553667545, 0.024032296612858772, -0.06745186448097229, 0.4811958372592926, -0.0035037407651543617, -0.032362133264541626, 0.05672753229737282, 0.03056774102151394, -0.003399728564545512, 0.01670658588409424, -0.017452454194426537, -0.038414888083934784, 0.03473200649023056, -0.015261773020029068, -0.007868149317800999, 0.009580463171005249, 0.04104210063815117, -0.0409645177423954, 0.021660983562469482, 0.01226042304188013, 0.015881873667240143, 0.020435480400919914, -0.011349332518875599, -0.03300238028168678, 0.010697491466999054, 0.0358956977725029, 0.024326017126441002, 0.038064274936914444, -0.03767186775803566, -0.022639328613877296, 0.015041555278003216, 0.04965109005570412, 0.01863100379705429, 0.019044509157538414, 0.014322133734822273, -0.04799189046025276, -0.0442577488720417, 0.03477422520518303, 0.005680016241967678, 0.018233150243759155, 0.019048668444156647, -0.009850423783063889, 0.010296644642949104, 0.02946510724723339, 0.005030818749219179, 0.009828208014369011, 0.003592578461393714, -0.0037256204523146152, 0.006569403689354658, 0.09943840652704239, -0.026192374527454376, -0.0443294495344162, -0.026240956038236618, -0.03970462828874588, 0.0017917064251378179, 0.04104179888963699, -0.03384624794125557, -0.04056915268301964, 0.00721319392323494, 0.008787053637206554, 0.062213342636823654, -0.019667282700538635, -0.05703272670507431, -0.02518131025135517, 0.009058644995093346, -0.014026666060090065, -0.028064044192433357, 0.036382224410772324, 0.032925885170698166, -0.12798944115638733, -0.04163365811109543, 0.015788206830620766, 0.010522735305130482, -0.0530422069132328, -0.03045121394097805, -0.014474720694124699, 0.006437872536480427, -0.023338457569479942, 0.049394041299819946, -0.038872893899679184, -0.0614660382270813, 0.029447076842188835, 0.017150141298770905, 0.006658078636974096, 0.004428114742040634, -0.007200844120234251, -0.04739725589752197, -0.0297386571764946, -0.055272117257118225, -0.09046885371208191, -0.03569598123431206, -0.01048223115503788, -0.029522685334086418, 0.02034051902592182, -0.034221258014440536, -0.011728695593774319, -0.1067030280828476, 0.08078756183385849, 0.011776836588978767, -0.015527264215052128, 0.015549377538263798, 0.004344632849097252, -0.007001008838415146, -0.02787006087601185, -0.007928814738988876, 0.04951747879385948, -0.02544306591153145, 0.004807228688150644, -0.0921480730175972, 0.06769221276044846, 0.04743713513016701, -0.04650523513555527, 0.09895241260528564, 0.03958217054605484, -0.03850266709923744, -0.023445703089237213, 0.0016510990681126714, 0.017943033948540688, -0.00848677009344101, -0.018715515732765198, -0.01525808498263359, 0.004887046758085489, 0.03749803081154823, 0.020106296986341476, -0.045589614659547806, 0.027798395603895187, -0.013884471729397774, -0.34938105940818787, -0.04964454472064972, -0.03642596676945686, 0.020828774198889732, -0.0021106991916894913, -0.09577510505914688, 0.018202658742666245, 0.016039082780480385, -0.009191924706101418, -0.011345282196998596, 0.07957935333251953, -0.024723146110773087, 0.011923469603061676, -0.029011765494942665, -0.015882646664977074, 0.027501696720719337, -0.029635775834321976, -0.014526416547596455, -0.03141190484166145, -0.0032216620165854692, -0.016008008271455765, 0.012697414495050907, 0.0010157650103792548, -0.01805596612393856, -0.011600266210734844, -0.021046360954642296, 0.07570751756429672, 0.00832853652536869, 0.09278370440006256, -0.021184012293815613, 0.05180589482188225, 0.007594703696668148, 0.007603880017995834, -0.10157103091478348, 0.02329360321164131, 0.008133084513247013, 0.006409702822566032, -0.05165683850646019, 0.0743151381611824, -0.03434136137366295, -0.04965474456548691, 0.005742010194808245, -0.037825241684913635, -0.04019559174776077, -0.019292401149868965, 0.0288691408932209, -0.041730426251888275, 0.0034653141628950834, -0.04072334244847298, 0.07695137709379196, 0.03298766911029816, -0.022764431312680244, 0.0151887908577919, 0.015923574566841125, -0.016733603551983833, -0.062465373426675797, -0.05137062072753906, 0.0000732204134692438, 0.016876500099897385, 0.026143459603190422, 0.029565779492259026, 0.07159581035375595, 0.029447849839925766, -0.05025174096226692, 0.011451499536633492, 0.013552011922001839, -0.014103040099143982, 0.005808733403682709, 0.05651865154504776, -0.02749684453010559, -0.010135013610124588, 0.11109282821416855, -0.020242493599653244, 0.017540637403726578, 0.02474573627114296, 0.026610907167196274, -0.01868453621864319, 0.004969937726855278, 0.025195080786943436, -0.009763449430465698, 0.007644553203135729, -0.026478039100766182, 0.02725316770374775, -0.04282442852854729, 0.006419233977794647, 0.028018105775117874, -0.022586924955248833, -0.01345349382609129, 0.05182066932320595, -0.004980533849447966, -0.030205627903342247, 0.011154700070619583, -0.02952423132956028, -0.056257251650094986, 0.07218858599662781, -0.02403179369866848, -0.23511603474617004, 0.003206963185220957, 0.08259860426187515, 0.05148162692785263, -0.01799938827753067, 0.01362302340567112, 0.040435925126075745, -0.04068592190742493, -0.007296414580196142, 0.00780903035774827, 0.05111377686262131, 0.027510320767760277, 0.028868431225419044, 0.028410466387867928, 0.027409687638282776, -0.019946906715631485, 0.02072688192129135, -0.01608353853225708, -0.004568931180983782, -0.00410327035933733, -0.0031450504902750254, 0.0025637613143771887, 0.16781270503997803, 0.017576508224010468, 0.010745411738753319, 0.009859313257038593, 0.028173012658953667, 0.02361556701362133, 0.034152012318372726, -0.008719783276319504, -0.02288311906158924, -0.013168593868613243, 0.0003895340778399259, -0.013730429112911224, 0.046346716582775116, -0.09764440357685089, -0.02636822871863842, 0.009241044521331787, 0.01274791732430458, 0.004174007102847099, -0.01029361505061388, 0.013876628130674362, -0.014272096566855907, 0.03158353269100189, 0.05327208712697029, -0.0021444291342049837, -0.0035649852361530066, 0.030088409781455994, -0.05299539491534233, -0.02079317718744278, -0.035571400076150894, -0.05571180209517479, 0.0070448629558086395, -0.021375421434640884, 0.012832175940275192, 0.08273115009069443, 0.014959663152694702, -0.013044694438576698, -0.006034269463270903, 0.017283659428358078, -0.0009494342375546694, 0.00853165052831173, 0.13631302118301392, -0.014450826682150364, 0.03657686710357666 ]
[ -0.040679991245269775, 0.010522972792387009, 0.0051105935126543045, -0.016881804913282394, -0.014268629252910614, -0.013726302422583103, 0.02136399783194065, 0.03244149312376976, -0.036645375192165375, -0.021812064573168755, 0.0041283490136265755, 0.00761910155415535, 0.05599208176136017, 0.004788899328559637, 0.03925633803009987, -0.0017495497595518827, 0.03600264713168144, 0.008891022764146328, 0.0261742752045393, -0.012085379101336002, -0.016566339880228043, 0.018016520887613297, -0.018761560320854187, 0.005233471281826496, -0.007304619066417217, 0.01155284233391285, -0.03858724609017372, -0.007839411497116089, 0.01829315721988678, -0.14486132562160492, 0.008441111072897911, -0.050499122589826584, 0.002492108615115285, 0.01522962749004364, -0.007731820456683636, 0.01084964256733656, 0.022125104442238808, 0.010123863816261292, 0.015054221265017986, -0.0025502818170934916, 0.03635508194565773, -0.024078719317913055, -0.007371973246335983, 0.005665224511176348, -0.000798310968093574, 0.012209216132760048, 0.022048668935894966, -0.02193395048379898, -0.012574578635394573, -0.017560644075274467, -0.023449525237083435, 0.008842099457979202, -0.0003578282776288688, 0.004578569438308477, 0.0000011935121619899292, -0.0010380882304161787, -0.01184786856174469, 0.010233401320874691, 0.0026297508738934994, -0.0020493946503847837, -0.01871596835553646, 0.005589216947555542, -0.025820836424827576, -0.027677098289132118, -0.004344933200627565, -0.02166920341551304, 0.0072431000880897045, 0.022220978513360023, 0.020324597135186195, -0.001949345343746245, -0.011582986451685429, 0.04356512799859047, -0.03923344612121582, -0.0028794805984944105, 0.01573537290096283, -0.002174926456063986, -0.020241988822817802, 0.0062665753066539764, 0.010641596280038357, -0.016207357868552208, -0.006662375759333372, 0.013833759352564812, 0.010201807133853436, 0.03480737283825874, 0.0009591544512659311, 0.002424387726932764, 0.0012153402203693986, -0.019947301596403122, 0.02365211397409439, 0.020925909280776978, -0.0013825225178152323, -0.005767465569078922, -0.019867006689310074, -0.011739424429833889, -0.051538802683353424, -0.006012957543134689, -0.029678771272301674, -0.015127992257475853, -0.028669821098446846, 0.8669353127479553, -0.01453479379415512, 0.0010583533439785242, 0.01668955571949482, 0.021066900342702866, 0.027638139203190804, -0.02095849998295307, -0.019413840025663376, 0.02734478749334812, 0.017354341223835945, -0.03228328004479408, 0.014058006927371025, -0.01605517603456974, 0.019663043320178986, -0.01992645300924778, 0.03223729878664017, 0.008799416944384575, 0.006204670295119286, -0.008145827800035477, -0.005054225213825703, 0.012652138248085976, 0.0178374070674181, 0.014291291125118732, 0.026766877621412277, 0.04471966251730919, -0.004797354340553284, -0.17283198237419128, 0.005748725961893797, -8.13055720469587e-33, 0.003017674433067441, 0.017337467521429062, 0.023680897429585457, 0.00015766912838444114, 0.002882708329707384, -0.03292239084839821, 0.025373442098498344, 0.007395939901471138, 0.010736603289842606, -0.040321655571460724, 0.013551352545619011, -0.03175337240099907, 0.02263752557337284, -0.01384657621383667, 0.023567521944642067, -0.003668188815936446, -0.004989125300198793, 0.014033670537173748, -0.014907533302903175, 0.03923729062080383, 0.04424640163779259, 0.03522494435310364, -0.0021105175837874413, 0.015760980546474457, 0.011181612499058247, 0.027098460122942924, 0.02077440358698368, 0.038345493376255035, 0.0021779113449156284, -0.03894028812646866, 0.0004725985345430672, 0.00439356779679656, 0.00865664891898632, -0.015910539776086807, 0.0321052260696888, -0.023456960916519165, -0.01233482826501131, -0.004927968606352806, -0.034716520458459854, -0.03591248393058777, -0.0331958569586277, -0.028139417991042137, -0.041532013565301895, 0.010853097774088383, -0.037923309952020645, -0.05825869366526604, -0.015099873766303062, 0.02751496434211731, 0.053365059196949005, 0.0016695063095539808, 0.01710410974919796, 0.009031210094690323, -0.0015114047564566135, -0.0032013030722737312, -0.01619761623442173, 0.00847237091511488, -0.032028187066316605, 0.006195883732289076, -0.010810136795043945, 0.0016619546804577112, -0.003323008306324482, -0.016397729516029358, -0.051250193268060684, 0.02488662488758564, -0.015258249826729298, -0.05101587995886803, 0.025301547721028328, 0.00919992197304964, 0.04219479858875275, -0.015735948458313942, -0.040159620344638824, -0.004233608953654766, -0.01992410235106945, -0.018851187080144882, -0.02578524872660637, -0.004863869398832321, -0.02067115716636181, 0.02874961867928505, 0.0065174102783203125, 0.04990195110440254, 0.020601408556103706, 0.00638343021273613, 0.005624415352940559, -0.012671291828155518, -0.013548704795539379, -0.031120600178837776, 0.027199221774935722, -0.025908512994647026, -0.011864197440445423, -0.02025863714516163, 0.0641547441482544, 0.02466081827878952, 0.026595087721943855, -0.0013999800430610776, -0.0668238028883934, 8.191428710285264e-33, 0.023969270288944244, -0.03330099955201149, -0.008454944007098675, -0.004568189382553101, 0.013513032346963882, 0.0035750754177570343, 0.014787469990551472, 0.006797634065151215, -0.03695398196578026, 0.011390827596187592, -0.017296895384788513, 0.0354357473552227, 0.0025781921576708555, 0.013693510554730892, 0.04486950859427452, -0.002790027530863881, 0.013792673125863075, -0.015173638239502907, 0.023149309679865837, 0.007773454301059246, 0.005089662037789822, -0.005020943004637957, 0.017921486869454384, -0.013534121215343475, 0.010188799351453781, 0.04815083369612694, -0.013260671868920326, 0.030202563852071762, -0.0035029978025704622, -0.019871266558766365, -0.002413769718259573, 0.0011505993315950036, 0.013428717851638794, -0.04933861643075943, 0.003987813368439674, 0.034768037497997284, -0.0304985661059618, 0.024412348866462708, 0.001249283435754478, -0.03953658789396286, 0.039911843836307526, 0.010598479770123959, 0.017062285915017128, 0.00476376386359334, -0.0075555467046797276, 0.009284996427595615, -0.011279264464974403, -0.048916980624198914, -0.02129928581416607, 0.047589726746082306, -0.01990739442408085, 0.00934442225843668, 0.04595629870891571, 0.010576282627880573, -0.00501089496538043, -0.021605320274829865, -0.03738904371857643, 0.01157755684107542, -0.004747673869132996, 0.009994572959840298, 0.01110067404806614, 0.008232218213379383, 0.0006653531454503536, 0.02450757846236229, -0.047786202281713486, -0.0020707936491817236, -0.041896723210811615, 0.009302877821028233, -0.01829533837735653, -0.010956664569675922, -0.009562376886606216, -0.013465012423694134, -0.013086237013339996, 0.006686374545097351, 0.03289458528161049, -0.05022870749235153, -0.017058268189430237, 0.01807345636188984, -0.026565205305814743, 0.010321348905563354, -0.007649731822311878, -0.00809277780354023, -0.010299778543412685, -0.025936001911759377, -0.0024567870423197746, -0.010161066427826881, -0.026067234575748444, 0.049143556505441666, 0.023059558123350143, 0.010562943294644356, -0.0236249640583992, -0.01480248011648655, -0.01397187914699316, 0.028996257111430168, 0.0033188541419804096, -1.3693777667356244e-8, -0.005601567216217518, 0.026729868724942207, -0.009144125506281853, -0.009149138815701008, 0.009893715381622314, 0.01378573291003704, -0.027890410274267197, -0.000044889195123687387, -0.0461016446352005, 0.012526166625320911, 0.019146598875522614, -0.028214843943715096, 0.006698610261082649, -0.016439063474535942, 0.028286617249250412, -0.03391728922724724, -0.00791880488395691, -0.014291582629084587, 0.025623125955462456, -0.009404917247593403, 0.021215038374066353, 0.042403340339660645, -0.0016503185033798218, 0.0216827392578125, 0.007212009746581316, 0.036832600831985474, -0.007257808465510607, -0.08199360221624374, -0.022683827206492424, 0.03279070928692818, -0.013029415160417557, -0.01881999708712101, -0.03594333678483963, -0.0018185765948146582, -0.025576774030923843, -0.0046847607009112835, -0.010990520007908344, 0.008140490390360355, 0.012287566438317299, 0.013261443935334682, 0.012525978498160839, 0.02777257189154625, 0.0048767882399261, -0.01964041218161583, 0.00565702747553587, 0.005268898792564869, -0.006512432359158993, 0.012289196252822876, 0.025371940806508064, -0.020168930292129517, 0.008162238635122776, 0.007446273695677519, -0.02821332961320877, 0.028902167454361916, 0.026473762467503548, -0.005155791062861681, 0.020269321277737617, -0.026006119325757027, -0.02443104237318039, 0.013449097983539104, 0.002263495931401849, 0.014862898737192154, -0.017116965726017952, -0.016582999378442764 ]
impersonators-finding-the-enabling-point
https://markhneedham.com/blog/2009/08/19/impersonators-finding-the-enabling-point
false
2009-08-19 23:19:45
TDD: Asserting on test dependency code
[ "tdd" ]
[ "Testing" ]
Something I've noticed a bit lately is tests which setup a load of dependencies for a test and then do assertions on that setup before getting on to calling the system under test. The code tends to be similar to this: [source,csharp] ---- public void ShouldHopefullyDoSomeAwesomeStuff() { // setup via expectations for dependency1 and dependency2 Assert.IsNotNull(dependency1.DependedOnMethod); new SystemUnderTest(dependency1, dependency2).DoThatStuff(); // test assertions } ---- I've done this a fair few times myself and I used to believe that it actually made the test more valuable since we were ensuring that the dependencies were in a good state before we executed the test. Looking at those types of assertions nowadays it feels like waste to me because we are basically testing our ability to setup the test correctly which is not the point of writing the test. In addition tests written like this are more noisy and difficult to read for me at least as I find my eye is drawn to the assertions (and therefore typically to the end of the test) so having more than one block of these is a bit confusing. If we're not sure that we've set up the dependency correctly then an alternative is to try and simplify the setup of that dependency so that it's really obvious that we've done it right. There are a couple of ways that I've come across for doing this: * Ensure that all the setup for the test is done inside the test and http://www.markhneedham.com/blog/2008/12/19/tdd-mock-expectations-in-setup/[not in setup methods]. * Extract away test data setup that we don't care about by making use of http://nat.truemesh.com/archives/000714.html[test data builders] where possible. I've previously suggested that I found it quite useful to http://www.markhneedham.com/blog/2009/04/13/tdd-balancing-dryness-and-readability/[extract methods for groups/individual expectations/stub calls] but I think this may have inadvertently led to the above pattern since the code that we care about is now hidden a click away from where we need it. I think I'd probably take the hit of having some duplication in tests instead of making the test more difficult to understand although like with all things there's definitely a trade off to make.
null
null
[ 0.018021628260612488, 0.0025915801525115967, -0.018577782437205315, 0.05198372155427933, 0.09624583274126053, 0.017117898911237717, 0.020661192014813423, 0.006646466441452503, 0.004870442673563957, -0.007749493233859539, 0.009650888852775097, 0.014945415779948235, -0.06923538446426392, -0.0012464895844459534, -0.04874183610081673, 0.07007229328155518, 0.09960149228572845, -0.02244490385055542, 0.030073227360844612, -0.0031529273837804794, 0.023901283740997314, 0.02929132990539074, 0.010640415363013744, 0.04631299898028374, 0.04059666395187378, 0.010022835806012154, 0.02544351853430271, -0.02361806109547615, -0.062011249363422394, -0.014770316891372204, 0.04635687172412872, -0.0019207398872822523, 0.003404192626476288, -0.01702694594860077, 0.022933322936296463, 0.0015557417646050453, -0.015124094672501087, 0.005558301229029894, 0.0004086390254087746, 0.024365384131669998, -0.08514229953289032, -0.009460415691137314, -0.01662256568670273, 0.0078051951713860035, -0.058399830013513565, -0.007578836753964424, -0.01905396580696106, 0.0069749196991324425, -0.023840727284550667, -0.010527240112423897, -0.06103233993053436, 0.04045946151018143, -0.02300460822880268, 0.011630434542894363, 0.003486527595669031, 0.03703543543815613, 0.024442370980978012, -0.09084255993366241, 0.04316048324108124, -0.05033966153860092, -0.0009760168031789362, -0.021293161436915398, -0.030057543888688087, 0.041958998888731, 0.01201021671295166, -0.03170938044786453, 0.003946532029658556, 0.030817031860351562, -0.05285816639661789, -0.004270810633897781, -0.012731398455798626, -0.0037701413966715336, -0.028711648657917976, -0.042985111474990845, 0.018274839967489243, -0.04934263974428177, -0.010182694531977177, 0.011625110171735287, 0.009196203202009201, 0.043918076902627945, -0.004774832632392645, -0.008450914174318314, 0.04573263227939606, -0.011613499373197556, 0.005069708451628685, -0.05470114201307297, 0.015589597634971142, -0.0037332179490476847, -0.029035858809947968, 0.06761971861124039, 0.029573563486337662, -0.03927589952945709, 0.011269141919910908, 0.03930068016052246, -0.020104091614484787, -0.0011660597519949079, 0.03312157094478607, -0.002412524539977312, 0.028410907834768295, -0.008036511950194836, -0.0059940386563539505, -0.004789016209542751, 0.005884851794689894, 0.029262695461511612, -0.07679722458124161, 0.003425745526328683, -0.02629357948899269, -0.029096713289618492, -0.01845630817115307, 0.008014366030693054, -0.029505236074328423, 0.025637991726398468, 0.007143890019506216, 0.002792679937556386, -0.10199926048517227, 0.04457554221153259, 0.00866455864161253, -0.015476523898541927, -0.019535167142748833, 0.03367156535387039, 0.055667366832494736, 0.02234530635178089, 0.0011239276500418782, 0.06347192823886871, -0.0052401041612029076, 0.04940041899681091, -0.019344346597790718, 0.05297103896737099, -0.0005185656482353806, -0.06426806002855301, -0.019168144091963768, 0.042128775268793106, 0.014364363625645638, 0.02138354815542698, 0.0036854767240583897, -0.017796359956264496, -0.0020343968644738197, 0.011143623851239681, 0.051896460354328156, 0.03702392056584358, -0.0426669605076313, -0.05005965754389763, 0.04141279682517052, 0.010910514742136002, -0.024178480729460716, 0.004838989581912756, 0.01259476039558649, -0.013564018532633781, -0.030871549621224403, 0.051195867359638214, 0.02578260563313961, 0.05715126916766167, 0.04589596763253212, -0.051556702703237534, 0.011572624556720257, 0.07248362898826599, 0.013126729987561703, 0.023175593465566635, -0.004936472978442907, 0.02038334496319294, 0.024589797481894493, 0.04780448228120804, 0.026150241494178772, 0.04779675602912903, 0.015257046557962894, 0.005314520560204983, -0.022238854318857193, 0.025653038173913956, 0.003485427238047123, 0.0007933057495392859, -0.05024323984980583, -0.07730458676815033, 0.06201174855232239, -0.03302014619112015, 0.0014652429381385446, 0.04448597878217697, 0.08117248862981796, 0.017216578125953674, 0.04090537130832672, 0.038156140595674515, -0.07893585413694382, 0.03338181972503662, 0.03095807321369648, 0.001378276152536273, 0.01889065094292164, 0.012876592576503754, 0.07333552092313766, 0.008967897854745388, -0.022597113624215126, 0.014374853111803532, -0.0718797817826271, -0.07721403241157532, -0.016780780628323555, -0.02422240562736988, 0.05701563507318497, -0.03328269347548485, -0.008212985470890999, 0.06851033866405487, 0.02198883891105652, 0.022284474223852158, 0.026451919227838516, -0.007267482578754425, 0.006967364344745874, -0.025712156668305397, -0.05159184709191322, 0.058093246072530746, 0.03632712364196777, -0.010673809796571732, -0.05744617432355881, -0.013758189976215363, -0.0269248578697443, -0.002942911349236965, 0.018915534019470215, 0.010503328405320644, 0.028539663180708885, -0.0028859053272753954, 0.037843987345695496, -0.02739628218114376, 0.06414761394262314, -0.06349543482065201, 0.006202650256454945, -0.0295853428542614, -0.02766912244260311, 0.00008871065801940858, -0.010519353672862053, 0.11007851362228394, 0.0438261516392231, -0.03883702680468559, -0.043001316487789154, 0.0146552175283432, 0.01985514909029007, -0.029843149706721306, 0.006893257610499859, -0.0023302664048969746, -0.002545204246416688, -0.003889456856995821, -0.027734728530049324, -0.0009643529774621129, 0.014733726158738136, -0.03579486906528473, 0.03173479065299034, 0.06940417736768723, -0.018636977300047874, 0.05939143896102905, -0.0006806364399380982, -0.03608233481645584, 0.008425112813711166, -0.03005453757941723, -0.0860445573925972, 0.006653086747974157, 0.039420537650585175, -0.023823220282793045, 0.05457892641425133, -0.022763215005397797, -0.04716556891798973, -0.00984571035951376, -0.04386622831225395, 0.04083114117383957, 0.014764290302991867, 0.08047144114971161, -0.018853506073355675, 0.052762310951948166, 0.009342451579868793, 0.022224606946110725, 0.009118856862187386, -0.04679663106799126, -0.016615411266684532, 0.01056614052504301, -0.003936448134481907, 0.04307766258716583, 0.0198367927223444, 0.006579930428415537, 0.04193722829222679, 0.015292218886315823, -0.009122955612838268, -0.01111871562898159, 0.06211203709244728, 0.026021936908364296, -0.017676856368780136, -0.020760230720043182, -0.05153466761112213, 0.0395839586853981, -0.023367535322904587, -0.017461420968174934, 0.04286109656095505, -0.08382239192724228, 0.03261660039424896, -0.09700383991003036, -0.08675136417150497, 0.0035296909045428038, 0.038760844618082047, 0.027164844796061516, -0.0009658292401582003, 0.018929528072476387, 0.07918361574411392, 0.041449304670095444, 0.012526119127869606, 0.016057943925261497, 0.023971866816282272, 0.04419028386473656, 0.009068186394870281, -0.004854861181229353, 0.03273789584636688, 0.008429821580648422, 0.03607674315571785, -0.05850190669298172, 0.024577723816037178, -0.01979198306798935, -0.2691843509674072, 0.02441360056400299, 0.008419415913522243, -0.05395132675766945, 0.05080653727054596, -0.030799802392721176, 0.011973020620644093, -0.05243263021111488, -0.042941052466630936, 0.06447003781795502, -0.01710604690015316, -0.04194289445877075, -0.005555303767323494, 0.040769800543785095, -0.005268837790936232, -0.01414463110268116, 0.044136855751276016, -0.03780703619122505, 0.060684073716402054, 0.06732334941625595, 0.009071809239685535, -0.05930458754301071, 0.01084611564874649, 0.042222652584314346, 0.02005493827164173, 0.06287694722414017, -0.07265787571668625, 0.0741964727640152, -0.046025607734918594, -0.006266601849347353, 0.003613637760281563, 0.0029122731648385525, -0.004997493699193001, -0.045560140162706375, -0.01071624830365181, -0.01063228864222765, 0.025733696296811104, 0.022625399753451347, 0.014701827429234982, 0.025567980483174324, -0.004253709223121405, -0.05418296530842781, -0.016137294471263885, 0.009161544032394886, 0.05968143418431282, -0.01963062211871147, -0.06540193408727646, -0.020275894552469254, -0.04612058773636818, 0.07219248265028, -0.06311466544866562, -0.030724145472049713, -0.01272751484066248, 0.031577274203300476, -0.024673065170645714, -0.04323127493262291, 0.0032590944319963455, -0.012528693303465843, -0.04501607269048691, -0.02471039444208145, -0.0451931394636631, -0.03909046947956085, -0.02350599318742752, -0.060653652995824814, 0.006708019878715277, -0.066096231341362, -0.03641039505600929, -0.01817208155989647, 0.05699237436056137, 0.0099222706630826, -0.015442634001374245, -0.010744425468146801, 0.004727233201265335, -0.10928705334663391, 0.020999709144234657, -0.042914386838674545, -0.03560693934559822, -0.03479034826159477, -0.0017217295244336128, 0.05537770316004753, -0.02402549423277378, -0.043018944561481476, 0.05839822068810463, 0.011966080404818058, 0.018053235486149788, -0.0009608020773157477, -0.01304862555116415, -0.00841484870761633, -0.03888382017612457, 0.026339426636695862, 0.08500243723392487, -0.01163039542734623, -0.026797935366630554, -0.04748782515525818, 0.024500777944922447, 0.046243298798799515, 0.028152238577604294, 0.00007891106361057609, 0.03461200371384621, 0.004274106118828058, 0.01847580261528492, -0.0424339696764946, 0.028884075582027435, -0.02113320305943489, -0.013432200066745281, -0.03599293902516365, -0.05223448574542999, 0.03829539567232132, 0.03191161900758743, 0.030452707782387733, -0.015649044886231422, -0.04211060702800751, 0.02083108387887478, -0.035534970462322235, -0.039781779050827026, -0.03881407156586647, 0.019088363274931908, 0.01739879697561264, -0.03343721479177475, 0.0013284794986248016, -0.03316250443458557, -0.0017035154160112143, 0.020515337586402893, -0.03789861127734184, -0.06485041230916977, -0.03216809034347534, 0.001244602375663817, -0.009236406534910202, -0.009888517670333385, 0.019157851114869118, -0.01778727024793625, 0.02924148179590702, 0.030978502705693245, -0.04152167961001396, 0.011428476311266422, 0.011042972095310688, -0.045558419078588486, -0.023931313306093216, -0.0011927819577977061, -0.002492503495886922, -0.04287804663181305, -0.003745171707123518, 0.02059052884578705, 0.01688624732196331, 0.02325175516307354, -0.00955896731466055, 0.036390211433172226, -0.0036711087450385094, 0.0023994368966668844, -0.014335826970636845, 0.01621287129819393, -0.0571715272963047, 0.014444006606936455, -0.016027625650167465, -0.02306046523153782, -0.021987654268741608, 0.04158535599708557, -0.01892504282295704, -0.0405852235853672, -0.04304514080286026, 0.001002265838906169, -0.061691220849752426, -0.0258707907050848, -0.045063287019729614, 0.022581929340958595, 0.07031501084566116, -0.04691959545016289, 0.017717568203806877, -0.017644008621573448, -0.025699174031615257, 0.018598467111587524, 0.0030010431073606014, -0.05458074435591698, 0.032830070704221725, 0.01796477474272251, 0.008884316310286522, -0.0033092605881392956, 0.011360409669578075, 0.039137810468673706, 0.016929082572460175, 0.005304284393787384, -0.014241969212889671, 0.014496752060949802, 0.006450613494962454, 0.03981303423643112, -0.010957975871860981, -0.011418521404266357, -0.01274133287370205, -0.016916142776608467, 0.004515416920185089, -0.025594083592295647, -0.02461378276348114, 0.01219937764108181, 0.03605121374130249, -0.040346547961235046, -0.07390499114990234, 0.03456134349107742, 0.009891679510474205, 0.017593372613191605, 0.006740475073456764, 0.02480534464120865, -0.0034240675158798695, -0.02547910064458847, 0.037790391594171524, 0.08344442397356033, -0.06240609660744667, 0.018594231456518173, 0.007843291386961937, 0.00452365493401885, 0.005960792303085327, 0.011143220588564873, -0.03932156041264534, -0.03664093837141991, -0.004226601216942072, -0.004566592164337635, -0.06041878089308739, -0.0215268824249506, -0.028687581419944763, 0.02231297641992569, -0.004204907920211554, -0.03563583269715309, 0.005694136023521423, 0.0011867077555507421, -0.009496673941612244, -0.02546323649585247, -0.008635020814836025, -0.0014754721196368337, -0.0050385803915560246, 0.02628738433122635, -0.048190291970968246, -0.00045540343853645027, -0.007524136919528246, 0.03569454699754715, 0.02043810300529003, -0.03009265661239624, -0.03444978967308998, -0.044965505599975586, -0.011396339163184166, 0.004547945223748684, 0.027846699580550194, 0.00013545785623136908, -0.00785311684012413, -0.013382960110902786, -0.011310920119285583, -0.027963025495409966, 0.003906339406967163, 0.007523329462856054, -0.02458089217543602, 0.026848601177334785, 0.06852290779352188, -0.0017248395597562194, 0.03470879793167114, -0.007613752968609333, 0.01618521474301815, 0.05671991407871246, -0.06723757833242416, -0.03962697461247444, -0.03510093316435814, -0.06942544132471085, 0.018168030306696892, 0.020475152879953384, 0.007247172296047211, -0.04329081252217293, 0.017284518107771873, 0.0125178387388587, 0.016209036111831665, 0.017619866877794266, 0.008487869054079056, 0.04844232276082039, -0.058351945132017136, -0.006171445362269878, -0.058654747903347015, 0.008266061544418335, 0.03470692038536072, 0.008230025880038738, -0.012458809651434422, -0.012622681446373463, -0.026110846549272537, 0.030444364994764328, -0.033859577029943466, -0.009710614569485188, 0.040215302258729935, -0.026693331077694893, 0.007579190190881491, 0.0011361191282048821, -0.06419328600168228, 0.024315472692251205, 0.02459200844168663, -0.024102317169308662, -0.03482070937752724, -0.024268738925457, 0.04670263081789017, 0.023293476551771164, -0.010765623301267624, -0.04038748890161514, 0.009604748338460922, 0.06288646906614304, 0.023362040519714355, 0.058636877685785294, 0.005084413569420576, -0.035425733774900436, 0.03070545569062233, 0.03797808289527893, -0.023597346618771553, -0.019363826140761375, -0.0002321724168723449, -0.01403158251196146, -0.04407947510480881, 0.03959684446454048, -0.007649783510714769, -0.02023887448012829, -0.05015270784497261, 0.06063559651374817, 0.034325841814279556, -0.04075033217668533, -0.05819057673215866, 0.003928033169358969, -0.037736862897872925, -0.03128915652632713, -0.020366216078400612, -0.015647180378437042, -0.034030552953481674, 0.07202959805727005, 0.0027595232240855694, -0.0018113738624379039, 0.07291009277105331, 0.004787994083017111, -0.015566699206829071, -0.01625153422355652, 0.09771938621997833, 0.08435322344303131, 0.0322776660323143, 0.0073968954384326935, 0.05816132202744484, -0.005384509451687336, -0.055900342762470245, 0.019247567281126976, -0.017031298950314522, -0.003127904376015067, -0.03696592524647713, 0.0027987768407911062, 0.041005153208971024, 0.01997256837785244, 0.06447213888168335, -0.03183874860405922, 0.02013280615210533, 0.014680267311632633, 0.03132360801100731, 0.013536225073039532, 0.04600406065583229, -0.007511347532272339, -0.005511201918125153, 0.03549032285809517, -0.02880135178565979, 0.03015945665538311, -0.051644016057252884, 0.0011438527144491673, 0.02831117995083332, -0.006503175012767315, -0.004736144561320543, 0.013401889242231846, 0.019260311499238014, 0.061026688665151596, 0.009860272519290447, 0.007264942862093449, -0.00013623283302877098, 0.0371364951133728, 0.015284711495041847, -0.010069793090224266, -0.02830067090690136, -0.01722004823386669, -0.011710247956216335, -0.02870085835456848, -0.010717272758483887, -0.018556784838438034, -0.014907607808709145, 0.03745483234524727, 0.002507571829482913, 0.020825110375881195, 0.008042742498219013, 0.02586379274725914, -0.0345032624900341, -0.06049489602446556, -0.03962435945868492, -0.02734299562871456, -0.040113940834999084, -0.012911484576761723, 0.017323074862360954, -0.0023420420475304127, -0.027663636952638626, -0.03330424800515175, -0.04310769587755203, -0.03642967715859413, 0.02882765419781208, -0.043215882033109665, -0.020877208560705185, 0.015529386699199677, 0.03586379438638687, 0.024614613503217697, 0.014946185983717442, 0.019893864169716835, 0.00512327766045928, -0.01381518691778183, -0.042074382305145264, -0.006387033499777317, 0.02868359163403511, -0.0058579291217029095, 0.045796189457178116, -0.08521677553653717, -0.0023849131539463997, 0.011173788458108902, 0.007532529532909393, -0.07252830266952515, 0.033874183893203735, -0.0011318441247567534, -0.03744184225797653, 0.04662168771028519, -0.027951553463935852, 0.013084129430353642, 0.006726192310452461, -0.0014215452829375863, 0.020211011171340942, 0.02226475067436695, 0.02909087762236595, -0.015290828421711922, 0.06657496094703674, 0.01780104637145996, -0.021432412788271904, -0.0427362322807312, -0.01428315695375204, -0.003338917624205351, 0.0327458493411541, -0.018861783668398857, -0.03730858117341995, -0.03635668009519577, -0.07753407210111618, -0.009194293059408665, 0.014865820296108723, -0.03375464305281639, -0.0317542590200901, 0.000046398909034905955, -0.004540035501122475, -0.06863698363304138, 0.033036477863788605, -0.024938981980085373, 0.01522101927548647, -0.034497279673814774, -0.007452025078237057, 0.022628281265497208, 0.03703537955880165, -0.006048219278454781, 0.03079371526837349, 0.02250172384083271, -0.03574459254741669, -0.026086321100592613, -0.011323448270559311, 0.031603265553712845, 0.04657295346260071, -0.005301153752952814, 0.0036725113168358803 ]
[ -0.08598943054676056, 0.02971407026052475, -0.01694156602025032, -0.04338369518518448, 0.07244878262281418, -0.032263997942209244, 0.02376716583967209, 0.016416044905781746, -0.016661932691931725, -0.032780133187770844, -0.016861408948898315, -0.033351149410009384, -0.012459698133170605, -0.014363366179168224, 0.07260740548372269, 0.023289458826184273, -0.006044223438948393, -0.07985562086105347, 0.035444874316453934, 0.03038143366575241, 0.017000317573547363, -0.02470845729112625, -0.030375417321920395, -0.02843732200562954, 0.03992887958884239, 0.057433564215898514, 0.06177627667784691, -0.049591097980737686, 0.0013614678755402565, -0.20831207931041718, 0.03754658252000809, -0.016130171716213226, 0.0009897546842694283, -0.049425460398197174, 0.010584790259599686, 0.04382578283548355, 0.021490419283509254, 0.00766497990116477, 0.007516408804804087, 0.040718428790569305, -0.00590880261734128, 0.02366764284670353, -0.0622541718184948, -0.037776701152324677, 0.02907310426235199, 0.005264796782284975, -0.012773914262652397, -0.04058622196316719, 0.016937796026468277, 0.018952911719679832, -0.027746053412556648, -0.03223002329468727, 0.00593567593023181, -0.0589037649333477, -0.02818072959780693, 0.011563713662326336, 0.058049820363521576, 0.05339058116078377, 0.021119415760040283, 0.020147712901234627, 0.0010612671030685306, -0.021697331219911575, -0.13563358783721924, 0.08389216661453247, 0.06144363805651665, 0.059654686599969864, -0.00996556505560875, -0.019362252205610275, 0.00802034605294466, 0.09446176141500473, 0.005014618393033743, -0.0143906744197011, -0.024006405845284462, 0.08158843219280243, 0.021609650924801826, -0.004450989421457052, 0.03477597236633301, 0.019478633999824524, 0.03375395014882088, -0.061163537204265594, -0.01891227811574936, -0.009358513168990612, -0.010776229202747345, -0.002215077867731452, -0.026436930522322655, -0.016917796805500984, -0.02630111388862133, 0.046570733189582825, 0.03283851966261864, 0.03533666580915451, 0.055740296840667725, -0.02538181096315384, -0.009590698406100273, 0.025452064350247383, -0.08800869435071945, -0.022816549986600876, -0.010679810307919979, -0.022094329819083214, -0.03140068054199219, 0.429345965385437, -0.03084547445178032, -0.015439181588590145, 0.02808171883225441, 0.05402163416147232, -0.0032142004929482937, -0.004547656513750553, 0.003696596249938011, -0.0621006041765213, -0.007259550970047712, -0.05682235211133957, 0.028409898281097412, 0.001074180006980896, 0.04715970903635025, -0.05841854214668274, 0.0019072286086156964, 0.010606718249619007, 0.02250807359814644, -0.006586432922631502, -0.0116406986489892, 0.009833822026848793, -0.003121752291917801, -0.0036395567003637552, 0.028483012691140175, -0.017975585535168648, 0.006192824803292751, -0.046679992228746414, 0.03026767075061798, 0.05746103450655937, 0.020633013918995857, -0.02381214126944542, 0.026937656104564667, -0.06339625269174576, -0.05958272144198418, 0.0024187832605093718, 0.004551715683192015, 0.01912328228354454, 0.02596377022564411, -0.02602277509868145, 0.016289060935378075, 0.04663252457976341, -0.002084830543026328, -0.030734296888113022, 0.03785807266831398, -0.030557163059711456, -0.059130530804395676, 0.08327106386423111, -0.015236402861773968, 0.008486852049827576, -0.02379787527024746, -0.04422203078866005, 0.014712999574840069, 0.03873119130730629, -0.003977302927523851, -0.05507202818989754, 0.017307069152593613, -0.004378690384328365, 0.039173878729343414, -0.011515653692185879, -0.04591109976172447, -0.004076600540429354, -0.0148732028901577, -0.01939542219042778, -0.056819602847099304, 0.02406340464949608, 0.03843570128083229, -0.06829886883497238, -0.05466540530323982, 0.0014362017391249537, 0.05020152032375336, -0.0537385530769825, 0.0076703703962266445, 0.01645621284842491, -0.03968718647956848, -0.038230448961257935, 0.002127638552337885, -0.039603352546691895, -0.0031162453815340996, 0.034294337034225464, 0.03940390795469284, 0.029904866591095924, 0.0247033778578043, 0.01901192031800747, -0.06086039915680885, 0.02113417536020279, 0.0030765929259359837, -0.08491534739732742, -0.055854298174381256, -0.003159700660035014, -0.03240196034312248, -0.024809518828988075, -0.03137410804629326, -0.023181717842817307, -0.07809446007013321, 0.0781206339597702, -0.02829110436141491, -0.008469095453619957, 0.033671196550130844, 0.015298799611628056, -0.017449920997023582, -0.015707535669207573, -0.002684559440240264, 0.045233070850372314, 0.004016174469143152, 0.05684599652886391, -0.08364976942539215, 0.08158116042613983, 0.058355238288640976, -0.049333665519952774, 0.09437544643878937, 0.037289056926965714, -0.02595195733010769, -0.020224912092089653, 0.02846919745206833, 0.01974605582654476, -0.014834738336503506, -0.010043380782008171, 0.0019546528346836567, -0.0027493517845869064, 0.009015888907015324, 0.05957867577672005, -0.027283301576972008, -0.022828321903944016, 0.016654489561915398, -0.35188034176826477, -0.05195746198296547, -0.006966609973460436, 0.008597186766564846, 0.01829680986702442, -0.0424589142203331, -0.009621470235288143, 0.014819243922829628, -0.024176595732569695, -0.01273052953183651, 0.06160799786448479, -0.013142864219844341, 0.021074268966913223, -0.10647259652614594, 0.01699380949139595, -0.0028666548896580935, -0.043556153774261475, -0.03601871430873871, -0.038694560527801514, 0.010606978088617325, -0.018031606450676918, 0.001785271568223834, -0.01677018776535988, -0.06704070419073105, 0.01611705869436264, -0.022502485662698746, 0.0763547345995903, -0.008653576485812664, 0.05420146882534027, -0.04681786894798279, 0.0343540720641613, 0.00862390547990799, 0.04214102029800415, -0.09673557430505753, -0.0008969695190899074, -0.020835382863879204, -0.033655017614364624, 0.0005009691813029349, 0.04385407269001007, -0.0435916967689991, -0.0332176573574543, 0.021049629896879196, -0.07612454146146774, -0.05534161254763603, -0.04195721074938774, -0.006095151882618666, -0.02265726774930954, 0.010127667337656021, -0.05238630995154381, 0.08189570903778076, 0.014094504527747631, 0.0024899968411773443, -0.018339749425649643, 0.0033249168191105127, 0.031368911266326904, -0.042044155299663544, -0.10914672166109085, 0.01570993661880493, 0.010300828143954277, -0.023149996995925903, 0.032360341399908066, 0.09248582273721695, 0.04423690214753151, -0.05675617977976799, -0.024562833830714226, -0.009538032114505768, -0.01089143380522728, -0.023702822625637054, 0.0503913015127182, -0.024981755763292313, -0.011466319672763348, 0.09395959973335266, -0.020504502579569817, 0.018158044666051865, -0.0010922264773398638, 0.02471153810620308, -0.00922915618866682, 0.01303927879780531, 0.015962675213813782, -0.020780174061655998, 0.021668221801519394, 0.0042176260612905025, 0.0312776155769825, -0.03998447209596634, -0.01646183244884014, 0.04328058660030365, -0.010995580814778805, 0.003435935825109482, 0.08814552426338196, 0.016441287472844124, -0.05089093744754791, 0.012332281097769737, 0.002245347946882248, -0.06314399093389511, 0.08453679829835892, 0.01962229609489441, -0.2233477681875229, 0.007142889779061079, 0.07295654714107513, 0.056670572608709335, -0.011443019844591618, 0.01922701671719551, 0.03266331925988197, -0.030507724732160568, 0.012273811735212803, -0.0058561330661177635, 0.012698582373559475, 0.02882625348865986, 0.014021020382642746, -0.01571306400001049, 0.03669731691479683, -0.0234046820551157, 0.06848296523094177, -0.007854132913053036, -0.007215567864477634, -0.031517673283815384, 0.016959061846137047, -0.015254070051014423, 0.15968842804431915, -0.007506541907787323, 0.019206538796424866, 0.020627954974770546, 0.04144228994846344, 0.038389671593904495, 0.06536173820495605, 0.01730913110077381, 0.011257332749664783, -0.007322488818317652, 0.04298165440559387, 0.0008491511107422411, 0.015226218849420547, -0.05025693401694298, -0.019536778330802917, 0.03625810891389847, 0.035885948687791824, 0.015225724317133427, 0.0043130978010594845, -0.0042120967991650105, -0.027725646272301674, 0.022068405523896217, 0.08222242444753647, 0.010268419049680233, 0.014073995873332024, -0.05837932601571083, -0.04799851402640343, 0.0024473671801388264, -0.04281320795416832, -0.014952116645872593, 0.027307607233524323, -0.016501685604453087, 0.014255004934966564, 0.06193770468235016, 0.04518428072333336, -0.015171762555837631, -0.01439071074128151, 0.00941404327750206, -0.018232200294733047, -0.00440480699762702, 0.1447942554950714, 0.06490930914878845, 0.00943763367831707 ]
[ -0.007486030925065279, 0.0020183182787150145, -0.004430252593010664, 0.02333669736981392, -0.014332881197333336, -0.007285693194717169, -0.004420568700879812, 0.02217567153275013, -0.010440526530146599, 0.01657998003065586, -0.020186757668852806, -0.017789293080568314, 0.01893283613026142, -0.017491977661848068, 0.005411345977336168, -0.01134013943374157, -0.0034062170889228582, -0.020574405789375305, 0.032673001289367676, -0.013964259065687656, -0.010209176689386368, 0.010004373267292976, -0.0031887502409517765, -0.013030681759119034, 0.0058997394517064095, 0.020727992057800293, -0.02264983393251896, 0.0016805969644337893, 0.006006639916449785, -0.1305251568555832, 0.0010772909736260772, -0.026782825589179993, 0.002390843816101551, -0.005266106687486172, -0.007172984536737204, 0.0019804444164037704, 0.022933892905712128, 0.040143292397260666, -0.0040115490555763245, -0.005993216298520565, 0.03628900647163391, 0.01818702183663845, 0.020860737189650536, -0.007061372045427561, -0.0013671760680153966, -0.0013384193880483508, 0.0007193168858066201, -0.005239844787865877, -0.015594391152262688, -0.022491417825222015, -0.01169905811548233, -0.010376649908721447, 0.0005461139953695238, 0.010950397700071335, -0.0009623551741242409, 0.008736574091017246, 0.055581752210855484, -0.008626715280115604, 0.0060288915410637856, 0.02239266410470009, -0.017739295959472656, -0.001185593893751502, -0.013257764279842377, -0.024718312546610832, -0.009044582955539227, 0.0027556871064007282, 0.008159342221915722, 0.01938723959028721, -0.01891225390136242, -0.012778416275978088, -0.047622352838516235, 0.02166222222149372, -0.022595113143324852, 0.011124921962618828, 0.006030158139765263, 0.04908449202775955, 0.005513826385140419, -0.012516896240413189, 0.03966907039284706, -0.018725169822573662, -0.052272457629442215, 0.031663473695516586, 0.018968328833580017, 0.0024032469373196363, 0.0006384245352819562, 0.019060242921113968, 0.01574312523007393, -0.024031605571508408, 0.000018651509890332818, -0.0005640663439407945, 0.01848996989428997, 0.026059499010443687, -0.02862265706062317, 0.03243676945567131, -0.06968937814235687, -0.016508324071764946, 0.013426517136394978, -0.02796805091202259, 0.0030751312151551247, 0.8677530288696289, 0.0071738362312316895, 0.022962823510169983, 0.04116383567452431, 0.024965690448880196, -0.01531559694558382, -0.013216937892138958, 0.0027517303824424744, -0.04227264225482941, 0.021925518289208412, -0.041319385170936584, 0.0028943985234946012, 0.017868803814053535, 0.03703715279698372, -0.011654220521450043, -0.01584518514573574, 0.018291102722287178, -0.00879134051501751, 0.019352398812770844, -0.013959620147943497, -0.01248914934694767, 0.017368141561746597, -0.007241406012326479, -0.002782301977276802, -0.00586543558165431, 0.023021666333079338, -0.15250636637210846, 0.03042912483215332, -8.792499379479009e-33, 0.048964325338602066, -0.026189131662249565, 0.032258324325084686, 0.003122321330010891, 0.015668848529458046, -0.012238492257893085, 0.04007257893681526, 0.03535889461636543, 0.007217654027044773, -0.05023902654647827, 0.03234502673149109, -0.0328049510717392, 0.0044687604531645775, -0.018890835344791412, 0.017442194744944572, -0.00206421478651464, -0.04013236239552498, 0.017378700897097588, -0.0027791273314505816, 0.03045625053346157, 0.016887327656149864, 0.05604128912091255, -0.020635418593883514, -0.025872500613331795, 0.00037022228934802115, -0.016663650050759315, 0.025343121960759163, 0.028976744040846825, -0.023914773017168045, -0.0378308929502964, -0.024805394932627678, 0.037089407444000244, -0.018016289919614792, 0.0019030669936910272, 0.005787405651062727, -0.03956512734293938, -0.015392135828733444, -0.009281912818551064, 0.007792866323143244, -0.021925125271081924, 0.003733308520168066, -0.009528552182018757, -0.021908650174736977, 0.007399653550237417, -0.015332750976085663, -0.06741674244403839, -0.009839975275099277, -0.0031171822920441628, 0.03765060380101204, -0.018083136528730392, 0.007013509050011635, 0.00026385235833004117, 0.017673442140221596, -0.02977003902196884, -0.017168834805488586, 0.030558407306671143, -0.02129458263516426, -0.009426724165678024, 0.05030536279082298, 0.05428889021277428, 0.00912540778517723, -0.019028889015316963, -0.03587888553738594, 0.004725503269582987, -0.00483659328892827, -0.02563413791358471, -0.004631241783499718, -0.04504472017288208, 0.015336287207901478, -0.0054626488126814365, -0.013433794490993023, -0.008456078357994556, -0.04227624088525772, -0.00429127924144268, 0.023475831374526024, 0.0016759309219196439, -0.006408480927348137, 0.052184175699949265, -0.016580360010266304, -0.0064039831049740314, 0.018375512212514877, -0.008013025857508183, -0.011630444787442684, -0.033281996846199036, -0.0035497862845659256, -0.01939297467470169, 0.0021241619251668453, -0.03519830480217934, -0.013620534911751747, -0.021661702543497086, 0.018982624635100365, 0.028624393045902252, -0.014455178752541542, -0.01645139791071415, -0.01970788650214672, 9.369446700541973e-33, 0.021384937688708305, 0.012689362280070782, -0.0215592198073864, 0.015694867819547653, 0.04213940352201462, -0.008752131834626198, 0.03216144070029259, -0.008754167705774307, -0.05420992895960808, 0.05161227285861969, -0.026604723185300827, 0.009005998261272907, 0.0006528574740514159, 0.007337966468185186, 0.02528621070086956, 0.00020971392223145813, 0.04507046192884445, -0.009806779213249683, 0.0199317317456007, -0.011750721372663975, 0.026213685050606728, 0.012254795990884304, 0.02345644310116768, -0.011339090764522552, 0.004354504402726889, 0.030970046296715736, -0.03819487616419792, 0.031008055433630943, 0.010875050909817219, 0.003785149659961462, -0.026500621810555458, 0.024080948904156685, 0.020975608378648758, 0.009529775008559227, -0.007643823977559805, 0.0212921854108572, 0.012571660801768303, 0.001265576109290123, -0.0055956305004656315, 0.010664648376405239, -0.000148503459058702, 0.01574055664241314, -0.004771290812641382, 0.0180953536182642, 0.01292779017239809, 0.03282957151532173, 0.012322915717959404, -0.025675088167190552, -0.009495156817138195, 0.01677522622048855, -0.006214384455233812, 0.01725291833281517, 0.029977450147271156, 0.03079584613442421, 0.008494418114423752, -0.024939723312854767, -0.014879684895277023, 0.011260502971708775, -0.01700863614678383, 0.006105830892920494, -0.021205609664320946, 0.03634652867913246, -0.02138141170144081, -0.005828299559652805, -0.027708325535058975, 0.012111363932490349, -0.019060043618083, -0.0033209023531526327, 0.007195065729320049, -0.020407045260071754, -0.04393728822469711, -0.01937788911163807, 0.02333570271730423, 0.004636164288967848, 0.028271064162254333, -0.019104164093732834, -0.018917184323072433, -0.009641165845096111, 0.010885952971875668, 0.01523440983146429, -0.005757590755820274, -0.01798383519053459, 0.012715442106127739, -0.0010351508390158415, -0.013401788659393787, 0.03084581531584263, 0.014182493090629578, -0.0011271178955212235, 0.000369223824236542, 0.025651365518569946, -0.013088185340166092, -0.003882459132000804, -0.0010549763683229685, -0.0014375277096405625, 0.031550902873277664, -1.4254214697473344e-8, 0.028783369809389114, -0.009695826098322868, -0.015769867226481438, 0.013600052334368229, -0.01717197522521019, -0.008153427392244339, -0.005271461792290211, -0.012968912720680237, -0.03782709687948227, 0.012568528763949871, 0.03165467828512192, -0.0014286271762102842, 0.019490528851747513, -0.00551228690892458, -0.003865464823320508, -0.04482086002826691, -0.03534567728638649, -0.013339683413505554, 0.008961829356849194, 0.02896532043814659, 0.0002996312687173486, 0.04331926628947258, -0.02630920521914959, 0.03597326949238777, 0.019093645736575127, 0.02978992462158203, 0.011527573689818382, -0.10510843247175217, -0.0020058699883520603, 0.022494181990623474, -0.0011315266601741314, -0.043660297989845276, -0.04393170401453972, -0.035652678459882736, -0.01336313970386982, 0.00473664840683341, -0.021531468257308006, 0.023074790835380554, 0.05677832290530205, 0.01312598492950201, -0.01627131924033165, 0.01235587615519762, 0.015132601372897625, -0.01681378483772278, 0.005926104262471199, -0.01507012452930212, -0.06761961430311203, -0.0013414232525974512, -0.014082049019634724, -0.05786087363958359, 0.013813607394695282, 0.011634090915322304, 0.0010025255614891648, -0.007911239750683308, 0.012658721767365932, 0.020812470465898514, 0.006482358556240797, 0.002241327427327633, -0.05293867737054825, 0.0018042324809357524, 0.04022185504436493, 0.018121089786291122, 0.013556817546486855, -0.026636889204382896 ]
tdd-asserting-on-test-dependency-code
https://markhneedham.com/blog/2009/08/19/tdd-asserting-on-test-dependency-code
false
2009-08-21 08:56:02
Coding: Unused code
[ "coding" ]
[ "Coding" ]
An interesting problem that we have come across a few times over the past 6 months is the dilemma about what to do when start work on a feature and get part way through it before it gets descoped from the current iteration, maybe to be picked up later on but maybe not. The easiest, and there most common, approach is to just leave the code in the code base half complete and then hopefully return to it at some later stage. In theory perhaps this doesn't seem like such a bad idea. The problem is that this code is clutter and create confusion since other people in the team come across it and they're not really sure what to do. In a way it is comparable to http://www.markhneedham.com/blog/2009/01/17/the-danger-of-commenting-out-code/[commenting code] in that it creates doubt in people's minds about whether or not the code is actually important or whether they can delete it. One of the annoying side effects of testing this type of code is that as a result of those tests it will still have usages in the code base which means that the IDE won't be able to identify it as unused code. If it did then you would probably feel more confident about deleting it. On top of the problems that we get from leaving commented code in the code base it is also quite likely that the complexity of the code base has been increased from adding this code and since it's not currently being used it is now unnecessary complexity. We noticed this in our code base when our original plan for release was to have three different customer work flows through our application. Two of the work flows were descoped quite close to the release but were needed in the second release so we didn't go through the code base and delete everything, we just left it in there. The thinking behind this decision was that we would be needing that code quite soon anyway since we would start working on the next release which had those features in straight after we did the first release. As it turned out the first release ended up being a little later than planned and when we got back to implementing those features the details of how the business now wanted them to work had changed to such an extent that what we had done previously was actually more of a hindrance than help. We ended up having to rewrite a lot of the functionality. In lean terms this was therefore the worst kind of http://www.learnleanblog.com/2008/01/lean-manufacturing-inventory-and-work.html[work in progress] since we know that it is half finished, currently adding no value and we're not sure exactly when or even if it will eventually add some value to the end user. We actually have a similar situation with a feature which we started work on but which was pushed out of the current iteration. The approach this time was to go through the code base and get rid of all the code and then just re-implement it when we need it - the original code is in source control if we need to refer to it so it's not gone forever. Another approach which http://intwoplacesatonce.com/[Dave] suggested which we considered but decided not to do this time was to keep a copy of the unused code on a branch so that if/when that code is needed we could just switch to the branch to continue working on that functionality. I guess this approach might work quite well if it really is a short delay until we are actually going to implement the feature. Perhaps surprisingly given that things change quite quickly with the agile approach to software development I can't actually remember coming across this problem before but I'm sure it's quite common so I'd be interested to hear what others are doing.
null
null
[ 0.041088975965976715, 0.013590809889137745, 0.00222213682718575, 0.030795570462942123, 0.09383049607276917, 0.02211945503950119, 0.01902065798640251, 0.03942202404141426, 0.01494690217077732, -0.025015734136104584, -0.03333880752325058, 0.00003583663419703953, -0.06898179650306702, 0.018195800483226776, -0.03566870093345642, 0.0750511884689331, 0.07837418466806412, -0.0032242005690932274, 0.04620091989636421, 0.011340721510350704, 0.04301093518733978, 0.06625782698392868, -0.0023861711379140615, 0.016207976266741753, 0.0396316722035408, 0.015511995181441307, 0.006558448076248169, -0.009612810797989368, -0.06773200631141663, -0.025639720261096954, 0.04299057647585869, 0.005155422259122133, 0.018573299050331116, -0.006365261971950531, 0.00786587130278349, -0.03215181455016136, -0.02967379055917263, 0.032678525894880295, -0.00006475653208326548, 0.01218387484550476, -0.06571845710277557, 0.030034516006708145, -0.007939046248793602, 0.002165859565138817, -0.05158253386616707, 0.00873600598424673, -0.04059950262308121, 0.010966605506837368, -0.02162557654082775, -0.040887899696826935, -0.05955272167921066, 0.018306421115994453, -0.002112360903993249, -0.0115513876080513, -0.008457168005406857, 0.05188903585076332, 0.02152629755437374, -0.07057569921016693, 0.009345026686787605, -0.029747098684310913, 0.01635180413722992, -0.012780251912772655, 0.002993714762851596, 0.04552192613482475, 0.037268221378326416, -0.053089700639247894, 0.0003290014574304223, 0.04457689821720123, -0.025977760553359985, 0.004824265372008085, -0.0002263961359858513, 0.013583796098828316, -0.022788031026721, -0.011858541518449783, -0.006972992792725563, -0.03778385743498802, -0.0000408535597671289, 0.07752358168363571, 0.014904904179275036, 0.04302451014518738, -0.030551007017493248, 0.02632230706512928, 0.002542179776355624, 0.008519625291228294, 0.006402755156159401, -0.03869326040148735, 0.003528258530423045, -0.008002769201993942, -0.049822498112916946, 0.03589336574077606, 0.02447132207453251, -0.062274206429719925, 0.02404196932911873, 0.03754468262195587, -0.005161602515727282, 0.01994023285806179, 0.02014753594994545, 0.017683450132608414, 0.008566649630665779, 0.0018180891638621688, -0.026746531948447227, -0.01399181317538023, 0.009830587543547153, -0.003061058698222041, -0.07011043280363083, -0.018526224419474602, -0.01296829991042614, -0.008921780623495579, 0.009860064834356308, 0.0005091475322842598, -0.019724464043974876, 0.033277202397584915, -0.027937082573771477, 0.007655761670321226, -0.08000893145799637, 0.055179160088300705, -0.016983581706881523, -0.03982469066977501, -0.00679802568629384, 0.004563656635582447, 0.04334189370274544, 0.01966519095003605, -0.004105336498469114, 0.0848313644528389, 0.009156345389783382, 0.030866986140608788, -0.0400753878057003, 0.041805922985076904, -0.027677135542035103, -0.06864321231842041, -0.0016985289985314012, 0.04229578375816345, -0.03739875555038452, -0.02501695416867733, 0.0045537566766142845, -0.010447301901876926, 0.006623297929763794, 0.00243484228849411, 0.03152961656451225, 0.03188803046941757, -0.028872616589069366, -0.0279413890093565, 0.01287184190005064, 0.026117855682969093, 0.003510319860652089, 0.01757383532822132, -0.009639712981879711, -0.00953398086130619, -0.020667653530836105, 0.006532566621899605, -0.00534000713378191, 0.026951033622026443, 0.0205715112388134, -0.05171198025345802, 0.023086030036211014, 0.08968140929937363, 0.0005189295625314116, 0.004295048303902149, -0.03193928301334381, 0.043337710201740265, 0.023655837401747704, 0.05267433449625969, 0.0067114862613379955, 0.030040273442864418, 0.018124403432011604, -0.0174881462007761, -0.009627447463572025, 0.031184861436486244, 0.009611362591385841, 0.01563204824924469, -0.057662129402160645, -0.05217025429010391, 0.06077029928565025, -0.058289241045713425, -0.015404592268168926, 0.056793540716171265, 0.09247690439224243, 0.03148608282208443, 0.021341413259506226, 0.014170028269290924, -0.07321386784315109, 0.016689756885170937, 0.004808769095689058, 0.025118086487054825, 0.0027033542282879353, -0.015581070445477962, 0.05577792599797249, 0.026125531643629074, 0.003894251771271229, 0.015192892402410507, -0.0769621953368187, -0.09557197988033295, -0.02294459380209446, -0.029511624947190285, 0.057168878614902496, -0.034023530781269073, 0.0028316203970462084, 0.08608835935592651, 0.00743694556877017, 0.06807540357112885, 0.025630855932831764, 0.013909953646361828, 0.01593364030122757, -0.04844340682029724, -0.04495391622185707, 0.047400664538145065, 0.044774025678634644, -0.012667332775890827, -0.053658902645111084, 0.024095728993415833, -0.0001923123636515811, -0.012294518761336803, 0.05059262737631798, -0.016980880871415138, 0.04908324405550957, 0.007404389791190624, 0.057320546358823776, -0.04737855866551399, 0.05423150584101677, -0.058800943195819855, -0.0005424929549917579, 0.0036218652967363596, -0.017669513821601868, 0.0032530592288821936, -0.0006626340909861028, 0.09808208048343658, 0.06457887589931488, -0.059382203966379166, -0.03353860601782799, 0.01688416674733162, 0.031166881322860718, -0.05360328406095505, -0.0038020506035536528, -0.01569254882633686, 0.008872326463460922, 0.013979120180010796, -0.07563134282827377, -0.02887042798101902, 0.010053561069071293, -0.03275636211037636, 0.012488516047596931, 0.05427026003599167, -0.0163677129894495, 0.038263674825429916, -0.008687571622431278, -0.018199818208813667, -0.014206104911863804, -0.006130272522568703, -0.053202882409095764, 0.017462411895394325, 0.028906458988785744, -0.014746230095624924, 0.06186595931649208, -0.02735070325434208, -0.03279375657439232, -0.026323052123188972, -0.030546758323907852, 0.014102362096309662, 0.023792888969182968, 0.06256662309169769, -0.016083328053355217, 0.04874734207987785, 0.002322062384337187, 0.012682353146374226, 0.007986519485712051, -0.03880266845226288, -0.024066565558314323, -0.030263852328062057, -0.005158746615052223, 0.04616699367761612, -0.013839752413332462, 0.021471107378602028, 0.020677028223872185, -0.006677655968815088, -0.008652343414723873, -0.030195223167538643, 0.04190239682793617, 0.0028176959604024887, -0.017496252432465553, -0.03351757302880287, -0.024584921076893806, 0.04873492941260338, -0.05917854979634285, -0.024976223707199097, 0.010704880580306053, -0.06165501847863197, 0.06922091543674469, -0.07281123846769333, -0.05823419988155365, 0.012197949923574924, 0.023360148072242737, 0.02827632799744606, -0.035593267530202866, 0.040512990206480026, 0.07964745908975601, -0.010668916627764702, 0.012327451258897781, -0.012841719202697277, 0.013762343674898148, 0.045217037200927734, 0.01562722958624363, -0.0007235771045088768, 0.034115422517061234, -0.005519059486687183, -0.0023175987880676985, -0.03720483556389809, 0.034951742738485336, -0.0163668654859066, -0.2861163020133972, 0.027839060872793198, 0.0018116948194801807, -0.05487654358148575, 0.030497075989842415, -0.005327202379703522, 0.01979772374033928, -0.03580108657479286, -0.016773022711277008, 0.029358485713601112, -0.021672656759619713, -0.056704264134168625, -0.003420437453314662, 0.05606379732489586, -0.011156749911606312, 0.026656553149223328, 0.021977445110678673, -0.014732331037521362, 0.005462839733809233, 0.0481223426759243, -0.022604644298553467, -0.06320837140083313, 0.0003685629053507, 0.012039859779179096, 0.031925018876791, 0.05029337480664253, -0.09184251725673676, 0.06331559270620346, -0.044753216207027435, -0.0125723360106349, 0.008968504145741463, 0.004413604270666838, -0.007872777990996838, -0.03590259328484535, -0.013050864450633526, -0.004128478933125734, 0.019505443051457405, 0.0004817121662199497, -0.002297722501680255, 0.019313734024763107, -0.0033521612640470266, -0.035053350031375885, -0.004803849849849939, 0.014456669799983501, 0.06566736102104187, -0.015265516936779022, -0.08364943414926529, -0.024742629379034042, -0.041511572897434235, 0.08289472758769989, -0.006806993391364813, -0.02883036807179451, -0.021416636183857918, 0.04201449081301689, -0.00921024288982153, -0.019070744514465332, -0.009969347156584263, -0.009174839593470097, -0.04536068066954613, -0.02566658891737461, -0.02921406179666519, -0.04978586360812187, 0.00013470827252604067, -0.0494205541908741, 0.01947510987520218, -0.060394637286663055, -0.044420767575502396, 0.0007735152612440288, 0.07176906615495682, 0.027430912479758263, -0.033580757677555084, 0.02568209357559681, 0.02236342430114746, -0.10671927034854889, -0.004852471873164177, -0.028024083003401756, -0.030156398192048073, -0.007025884464383125, 0.015858706086874008, 0.023892277851700783, -0.024530116468667984, -0.04457995295524597, 0.037811875343322754, 0.01280498318374157, 0.003566768253222108, -0.016350574791431427, 0.04052509739995003, 0.02149016596376896, -0.0346047542989254, 0.013694782741367817, 0.07062886655330658, -0.003364493139088154, -0.032421089708805084, -0.036670882254838943, 0.016441667452454567, 0.012004619464278221, 0.02051430195569992, -0.021954698488116264, -0.011843276210129261, 0.049104683101177216, 0.021410074084997177, -0.05006429925560951, 0.05264490097761154, -0.022701894864439964, -0.001782101928256452, -0.021339863538742065, -0.053073763847351074, 0.027262283489108086, 0.02684617228806019, 0.039603427052497864, -0.003187415422871709, -0.025059379637241364, -0.00756624573841691, -0.05731534585356712, -0.03749466687440872, -0.0030417251400649548, 0.016044151037931442, 0.030902724713087082, 0.003947192803025246, -0.01734519563615322, -0.052474480122327805, 0.014052500016987324, 0.004994656424969435, 0.017345672473311424, -0.061419714242219925, -0.04354457929730415, -0.035175763070583344, -0.016632549464702606, 0.016233233734965324, 0.025325842201709747, -0.01578202284872532, 0.027473250404000282, 0.010059884749352932, -0.052261777222156525, 0.02364387735724449, -0.008477252908051014, -0.038296569138765335, -0.024647800251841545, -0.009023772552609444, -0.01970428228378296, -0.015410629101097584, 0.034127313643693924, 0.001680737012065947, 0.015679294243454933, 0.03759027644991875, -0.00802100170403719, 0.04061150550842285, -0.023385072126984596, 0.018305232748389244, 0.019422173500061035, -0.009161742404103279, -0.08817025274038315, 0.03416617587208748, -0.0537845604121685, -0.03616170212626457, -0.03210318833589554, 0.04549913480877876, -0.027855025604367256, -0.0390532985329628, -0.010971443727612495, 0.0016323778545483947, -0.056467898190021515, -0.04765086993575096, -0.0286071989685297, 0.019269946962594986, 0.054646559059619904, -0.01227153092622757, 0.011268360540270805, -0.010401556268334389, -0.007921424694359303, 0.0031389426440000534, 0.03008243814110756, -0.0667097270488739, 0.00726939644664526, 0.0341067872941494, -0.008203566074371338, -0.004022351466119289, -0.0060856882482767105, 0.047422997653484344, 0.013845394365489483, -0.011327353306114674, -0.017975322902202606, 0.006678092759102583, 0.02271304652094841, 0.032179538160562515, -0.007111156824976206, 0.016392281278967857, 0.004616240039467812, -0.014513533562421799, -0.03473035991191864, -0.049502890557050705, -0.015722669661045074, 0.008381104096770287, 0.02516034059226513, -0.031188005581498146, -0.07228761911392212, 0.03232250735163689, 0.0530143678188324, 0.03241443634033203, 0.023779118433594704, -0.002467502374202013, 0.01070284005254507, -0.024321716278791428, 0.030395828187465668, 0.06899328529834747, -0.05184756591916084, 0.017820199951529503, -0.011305429972708225, 0.006285373587161303, 0.0030631774570792913, -0.005775442812591791, -0.040494922548532486, -0.03834260255098343, -0.045039840042591095, -0.0024203534703701735, -0.040203358978033066, -0.03012569434940815, -0.007627354469150305, 0.022681908681988716, -0.01817401871085167, -0.028925860300660133, -0.010953547433018684, 0.019538726657629013, -0.004482707474380732, -0.018366118893027306, -0.002673329086974263, -0.019468262791633606, 0.021380886435508728, 0.02039972133934498, -0.02374148555099964, 0.024425476789474487, -0.021362770348787308, 0.031140917912125587, 0.01620458997786045, -0.032302387058734894, -0.01681768335402012, -0.03357945382595062, -0.009574774652719498, 0.0040098573081195354, 0.03139325976371765, -0.010161084122955799, -0.020480824634432793, -0.028459448367357254, -0.020566273480653763, -0.03378574922680855, 0.022281134501099586, -0.04747282713651657, -0.022314729169011116, 0.012880789116024971, 0.07220111787319183, 0.00884325336664915, 0.04401523619890213, -0.0067466143518686295, -0.023029042407870293, 0.06035139039158821, -0.06954263895750046, -0.023762507364153862, -0.05410506948828697, -0.06846137344837189, -0.00012995146971661597, 0.020734358578920364, 0.02993392013013363, -0.026464464142918587, 0.030548738315701485, 0.023035410791635513, 0.03638166934251785, 0.034891922026872635, -0.002459522569552064, 0.03915596753358841, -0.059301797300577164, 0.01459881104528904, -0.0856381356716156, 0.020182166248559952, 0.036172736436128616, 0.004365342669188976, 0.006087407004088163, -0.0010782864410430193, -0.05320132523775101, 0.05819382146000862, -0.046673741191625595, -0.017445452511310577, 0.0548066720366478, 0.002276454586535692, 0.0023066489957273006, 0.027138708159327507, -0.07934332638978958, 0.024102622643113136, 0.038859233260154724, -0.03897291049361229, -0.016356438398361206, -0.03740762919187546, 0.06038539856672287, 0.016193661838769913, 0.026355480775237083, -0.03742383420467377, -0.019615519791841507, 0.05942691117525101, 0.011994853615760803, 0.012773090042173862, 0.04435001313686371, -0.012726575136184692, 0.0458059087395668, 0.03277705982327461, -0.005761105567216873, -0.029653316363692284, 0.02997029945254326, 0.01811756193637848, -0.051427632570266724, 0.013720482587814331, 0.0167987160384655, -0.03000982478260994, -0.022212481126189232, 0.07094347476959229, 0.028146082535386086, -0.01665576547384262, -0.04353677108883858, 0.014526082202792168, -0.08206649124622345, -0.009371688589453697, -0.028164265677332878, -0.007209158502519131, -0.06422683596611023, 0.05783240124583244, 0.0036831595934927464, -0.01601514406502247, 0.07562815397977829, -0.01562472339719534, -0.002796839689835906, -0.017086388543248177, 0.08413450419902802, 0.07325878739356995, 0.06730211526155472, 0.016476301476359367, 0.05134826898574829, -0.014838018454611301, -0.024735718965530396, 0.022839387878775597, -0.011197531595826149, -0.020634237676858902, -0.024902867153286934, 0.025435522198677063, 0.048472944647073746, -0.012340942397713661, 0.06495001167058945, -0.02932274527847767, 0.0006556249572895467, 0.004314355086535215, 0.0327877476811409, 0.021996676921844482, 0.0781489759683609, 0.013860270380973816, -0.008917837403714657, -0.006883042864501476, -0.03888913616538048, 0.02648211270570755, -0.046252455562353134, -0.008535057306289673, 0.03415736183524132, -0.0015920753357931972, 0.0196441188454628, 0.015867147594690323, 0.02589193359017372, 0.064708411693573, -0.03789496049284935, 0.008250705897808075, -0.02371593564748764, 0.05061803385615349, 0.004306584130972624, 0.004142571706324816, -0.036390271037817, -0.028183121234178543, 0.01272733137011528, -0.024737291038036346, -0.028169730678200722, -0.007277721539139748, -0.022190693765878677, 0.062110353261232376, -0.006348608061671257, -0.01419669296592474, 0.0246148481965065, 0.03257997706532478, -0.04152819886803627, -0.06288924068212509, -0.05152057856321335, -0.04448679834604263, -0.0550825335085392, -0.03612665832042694, 0.02375873737037182, 0.001350548816844821, -0.026371903717517853, -0.010517247021198273, -0.03420786187052727, -0.03515823930501938, 0.03663216158747673, -0.04572788625955582, -0.01974804699420929, 0.03354613482952118, 0.020861255005002022, 0.023033959791064262, 0.008096756413578987, 0.037851203233003616, -0.004829400684684515, -0.007379312068223953, -0.01856093853712082, 0.008864608593285084, 0.032782070338726044, 0.004290314856916666, 0.019893158227205276, -0.07037940621376038, 0.03151402994990349, 0.016520030796527863, 0.006181049160659313, -0.06685352325439453, 0.04006673023104668, 0.008443325757980347, -0.024802569299936295, 0.056373585015535355, -0.0407322533428669, 0.010151386260986328, -0.027673078700900078, 0.01010226085782051, -0.014825531281530857, 0.02819068916141987, 0.031417980790138245, -0.01238999329507351, 0.07910910248756409, 0.009091567248106003, -0.012550952844321728, -0.03343206271529198, 0.008631933480501175, -0.014975043013691902, -0.010733882896602154, -0.0189865380525589, -0.02709124982357025, -0.026517091318964958, -0.06863124668598175, -0.013325395993888378, 0.010473211295902729, -0.014207608066499233, -0.03358526527881622, 0.01847475953400135, 0.032633088529109955, -0.04763404652476311, 0.020080914720892906, -0.046521931886672974, 0.046431127935647964, -0.024645328521728516, -0.012188030406832695, 0.004738661926239729, 0.003992081619799137, 0.0037172597367316484, 0.0015929057262837887, 0.018543772399425507, -0.041489843279123306, 0.006308063864707947, -0.002533284015953541, 0.023932501673698425, 0.02172301523387432, -0.0026247904170304537, -0.0006694140611216426 ]
[ -0.10179544240236282, -0.016714146360754967, -0.02736239694058895, -0.04202454909682274, 0.03733891248703003, -0.03293333947658539, -0.016957785934209824, 0.02222324348986149, 0.005413897801190615, -0.029369890689849854, 0.009884760715067387, 0.015835436061024666, 0.004217308480292559, 0.010293328203260899, 0.08420363068580627, 0.030580569058656693, -0.0035316532012075186, -0.08595193177461624, 0.007100100163370371, 0.021947190165519714, 0.016822529956698418, -0.030249329283833504, -0.034742023795843124, -0.009020228870213032, -0.004547395743429661, 0.0291847363114357, 0.011641078628599644, -0.0287700854241848, -0.005265263840556145, -0.18944311141967773, 0.01394623052328825, 0.021512029692530632, 0.06157340109348297, -0.019837237894535065, 0.01561824046075344, 0.04252714663743973, 0.01258324645459652, 0.0382302924990654, -0.007909663952887058, 0.04861484840512276, 0.001983983675017953, 0.026377640664577484, -0.06985936313867569, -0.05073513463139534, 0.025041718035936356, 0.018672794103622437, 0.008623163215816021, -0.04302398860454559, -0.0033487325999885798, 0.034390319138765335, -0.04594166949391365, -0.025272253900766373, -0.02389794960618019, -0.005896058864891529, -0.019634414464235306, 0.040767572820186615, 0.016668295487761497, 0.07625200599431992, -0.0032955368515104055, 0.03332716226577759, 0.020706314593553543, -0.04619419947266579, -0.11104632169008255, 0.06758682429790497, 0.04397972673177719, 0.0742943063378334, -0.029273562133312225, -0.042020753026008606, -0.010925873182713985, 0.10890257358551025, -0.01564602740108967, -0.02417926862835884, -0.02228895202279091, 0.05039237067103386, 0.012544195167720318, 0.0073568206280469894, 0.026238156482577324, 0.03828515112400055, 0.037703923881053925, -0.041279785335063934, -0.03744984418153763, -0.021816479042172432, -0.013297169469296932, -0.0037371304351836443, -0.03607906401157379, 0.007404995150864124, -0.013813537545502186, 0.0719849020242691, 0.04906141757965088, 0.019763600081205368, 0.07118962705135345, -0.020734664052724838, 0.06828368455171585, -0.005177502986043692, -0.08592022955417633, 0.0013918150216341019, -0.015806060284376144, 0.02202513813972473, -0.06878834962844849, 0.47651660442352295, -0.03567185252904892, -0.021511122584342957, 0.05126858875155449, 0.013620293699204922, -0.0009687927085906267, -0.0038869990967214108, 0.0212241318076849, -0.02607695758342743, 0.0023793773725628853, -0.036101240664720535, 0.008897418156266212, 0.017736900597810745, 0.07777836173772812, -0.035919662564992905, 0.007784785237163305, 0.025770362466573715, 0.0006715697236359119, 0.024414977058768272, -0.00014506968727800995, -0.003199548926204443, 0.004193196538835764, 0.005540770478546619, 0.018085358664393425, 0.00024598895106464624, -0.022954965010285378, -0.006825975142419338, 0.04028119891881943, 0.062241990119218826, 0.009026221930980682, -0.008357626385986805, 0.04444645717740059, -0.04926209896802902, -0.05520767346024513, 0.019137755036354065, -0.009773995727300644, 0.006767494138330221, 0.018483923748135567, -0.005985390394926071, 0.00463271327316761, 0.014063594862818718, -0.0016560134245082736, -0.01595436967909336, 0.0226962361484766, -0.011576100252568722, -0.028293540701270103, 0.10957980901002884, 0.0020040557719767094, -0.03803401067852974, -0.015738284215331078, -0.05584233999252319, 0.0011257589794695377, 0.040471069514751434, -0.0060140821151435375, -0.05210951343178749, 0.024590663611888885, 0.016543416306376457, 0.0724172443151474, -0.030848631635308266, -0.06353305280208588, 0.00677876453846693, -0.0016100028296932578, -0.02599627897143364, -0.05582190677523613, 0.0059068105183541775, 0.06173910200595856, -0.07703535258769989, -0.010325241833925247, -0.013560022227466106, 0.03423893824219704, -0.03209025412797928, -0.025912396609783173, 0.004045441746711731, -0.012005621567368507, -0.039674967527389526, 0.03831223025918007, -0.04609040543437004, -0.02449508011341095, 0.025173695757985115, 0.05667223781347275, 0.01954345405101776, -0.006351128686219454, 0.01694754883646965, -0.04140818864107132, -0.008573018945753574, -0.03403148055076599, -0.10600652545690536, -0.031150756403803825, -0.007588107604533434, -0.016784697771072388, -0.008078566752374172, -0.04542452469468117, -0.0409264899790287, -0.07936327159404755, 0.07921246439218521, -0.03274761885404587, -0.015674039721488953, 0.00007455472223227844, -0.006374152842909098, -0.013335230760276318, -0.032397881150245667, -0.002610664116218686, 0.0300090741366148, -0.013812636956572533, 0.018835023045539856, -0.056510914117097855, 0.08441980928182602, 0.04910428076982498, -0.05501507222652435, 0.07325650006532669, 0.04152245819568634, -0.024021122604608536, -0.016577057540416718, 0.03167283907532692, 0.020560164004564285, 0.021140461787581444, -0.034598395228385925, -0.021230461075901985, 0.01364824641495943, 0.024864718317985535, 0.005892299115657806, -0.03467736765742302, 0.018730035051703453, 0.01672368310391903, -0.3313625752925873, -0.03259338438510895, -0.008625847287476063, -0.00995634589344263, -0.006485968362540007, -0.08295322209596634, 0.008741640485823154, -0.03474525362253189, -0.015704400837421417, 0.008960392326116562, 0.08647421002388, -0.01068045198917389, 0.010343493893742561, -0.07560660690069199, 0.006623912137001753, -0.004832142032682896, -0.03176453337073326, 0.0014012152096256614, -0.03326836973428726, 0.012694637291133404, 0.001152266631834209, -0.026009850203990936, 0.0018102023750543594, -0.06584154814481735, -0.010541727766394615, -0.041000038385391235, 0.10536440461874008, -0.01077550370246172, 0.09879448264837265, -0.028780195862054825, 0.04343191906809807, -0.005374726839363575, 0.013619820587337017, -0.1003957986831665, 0.01554042100906372, -0.030744997784495354, 0.00006853613740531728, -0.0050044250674545765, 0.01152707263827324, -0.03615860641002655, -0.03779589384794235, 0.004054627381265163, -0.05985695868730545, -0.03367115184664726, -0.045075688511133194, 0.016076741740107536, -0.047071848064661026, -0.03400503844022751, -0.04020342975854874, 0.08136127144098282, 0.022137509658932686, 0.0017642073798924685, 0.0076773869805037975, 0.029701758176088333, 0.01356335449963808, -0.028397876769304276, -0.07171084731817245, 0.026738852262496948, 0.01639588363468647, -0.0058477395214140415, 0.03110278584063053, 0.060328781604766846, 0.032971203327178955, -0.059073448181152344, 0.005956496577709913, 0.02072983980178833, 0.0001559707015985623, 0.01319115050137043, 0.04259790852665901, -0.016535725444555283, -0.01565852202475071, 0.1327553391456604, -0.005994429346174002, -0.024009013548493385, 0.007051417138427496, 0.03177240118384361, -0.02863207459449768, 0.016511987894773483, 0.0024636017624288797, -0.01974189281463623, 0.03145817667245865, -0.00876947958022356, 0.022067921236157417, -0.026335494592785835, -0.02143355831503868, 0.038477420806884766, -0.0197753943502903, -0.03808378800749779, 0.05764434486627579, 0.013448165729641914, -0.020811202004551888, -0.003951659891754389, -0.01126290112733841, -0.06845129281282425, 0.09459071606397629, -0.009473827667534351, -0.24051779508590698, -0.008761327713727951, 0.07318490743637085, 0.054430823773145676, -0.0066964635625481606, 0.049318742007017136, 0.024807222187519073, -0.035064756870269775, -0.0018351036123931408, 0.012740107253193855, 0.0077103800140321255, 0.03155849128961563, -0.004047336056828499, -0.037489596754312515, 0.0360356941819191, -0.02420361526310444, 0.03730654716491699, -0.008562656119465828, 0.030968358740210533, 0.0008797593764029443, 0.020145457237958908, -0.02458643540740013, 0.1368361860513687, 0.013520651496946812, 0.02580544911324978, 0.0024266166146844625, 0.009750377386808395, 0.03332613781094551, 0.07368233799934387, 0.009003087878227234, -0.01166293304413557, 0.010784365236759186, 0.023976419121026993, 0.005136364139616489, 0.02070125751197338, -0.09951293468475342, -0.04283495247364044, 0.015853742137551308, 0.02951701730489731, 0.014740876853466034, 0.013133475556969643, 0.010862338356673717, -0.027665752917528152, 0.015685364603996277, 0.04930330440402031, 0.024279234930872917, -0.006125842221081257, -0.02263832464814186, -0.06103362515568733, -0.009952525608241558, -0.022498197853565216, -0.05583078786730766, -0.0024356998037546873, 0.0014498393284156919, 0.002863535890355706, 0.07994553446769714, 0.014765433967113495, -0.013339432887732983, -0.0011996038956567645, 0.00894883181899786, 0.0005497922538779676, -0.03272395581007004, 0.12334070354700089, 0.01081696804612875, 0.01824232004582882 ]
[ -0.02170385606586933, -0.020602617412805557, 0.005245896056294441, 0.010136381722986698, -0.008913959376513958, -0.001749900751747191, -0.0006574164144694805, 0.02382638305425644, 0.012306331656873226, -0.004544519819319248, -0.01186013501137495, 0.024126775562763214, -0.0026748147793114185, -0.02595083974301815, 0.02271900326013565, 0.014842873439192772, -0.020595397800207138, -0.015303170308470726, 0.031690165400505066, -0.0036646330263465643, -0.027738720178604126, 0.00888765323907137, -0.027450554072856903, 0.00287935184314847, -0.006965630687773228, 0.024165190756320953, -0.015914639458060265, -0.004206100478768349, 0.01809532567858696, -0.10863655805587769, -0.013751765713095665, -0.005841872654855251, 0.002639058278873563, 0.022008124738931656, -0.01092283334583044, -0.006312881596386433, 0.005228410474956036, 0.006977567449212074, -0.002488986821845174, -0.0006382646388374269, -0.008716057054698467, -0.005868478678166866, -0.0036799684166908264, 0.026412727311253548, -0.004530447535216808, -0.004526300821453333, -0.0341515950858593, -0.030002959072589874, -0.026747319847345352, -0.04311373084783554, -0.008227858692407608, -0.020323317497968674, -0.014474035240709782, -0.004170233849436045, 0.025934947654604912, -0.019753573462367058, 0.020113268867135048, -0.017544833943247795, -0.0012193063739687204, -0.0022062540519982576, 0.01095974538475275, -0.022496281191706657, -0.04526498541235924, -0.023875495418906212, -0.009247759357094765, -0.014806834980845451, 0.007802042178809643, 0.016234155744314194, -0.02582280896604061, -0.0034396646078675985, -0.006835000589489937, 0.02356133423745632, -0.03141438215970993, 0.011426933109760284, 0.009061375632882118, 0.024112185463309288, 0.005231176503002644, -0.014959285035729408, 0.020760398358106613, -0.022954046726226807, -0.03689701855182648, 0.03059922531247139, 0.03206662833690643, 0.003189581912010908, -0.010425107553601265, 0.011494427919387817, 0.018447866663336754, -0.00839155726134777, 0.002071128925308585, 0.009050915017724037, -0.017039671540260315, 0.02707378938794136, -0.009839639998972416, 0.006689782720059156, -0.06201772391796112, -0.01944308914244175, -0.02441740594804287, -0.022571146488189697, 0.0022389807272702456, 0.8953730463981628, 0.0025406291242688894, 0.038022514432668686, 0.031239910051226616, 0.009603477083146572, 0.01581445522606373, -0.0042130048386752605, 0.007138138171285391, 0.008245795033872128, 0.011983497999608517, -0.030902808532118797, -0.009396880865097046, 0.01080536562949419, 0.02076759934425354, 0.015644503757357597, 0.025803694501519203, 0.02358245477080345, 0.01878669299185276, -0.0007655603112652898, -0.0030497568659484386, 0.0183766707777977, 0.048133887350559235, -0.0026135873049497604, -0.0041589513421058655, 0.007509663235396147, 0.001357171218842268, -0.181080624461174, 0.015879319980740547, -9.017750545719453e-33, 0.04774390161037445, -0.008315072394907475, -0.013889994472265244, -0.009792334400117397, 0.0035714295227080584, 0.005154834128916264, 0.011351153254508972, 0.03401956334710121, -0.014526757411658764, -0.02728496864438057, 0.0043594385497272015, -0.0373522974550724, 0.014811349101364613, -0.021889733150601387, 0.04178133234381676, -0.018515771254897118, 0.009236002340912819, 0.03702614828944206, -0.0024399119429290295, 0.02357063814997673, 0.017878979444503784, 0.020408689975738525, -0.0065671238116919994, -0.0009268587455153465, 0.011243325658142567, 0.008410908281803131, 0.005737633910030127, 0.009150044992566109, -0.009406473487615585, -0.052485767751932144, -0.02730966918170452, 0.022262917831540108, -0.021760769188404083, 0.008919867686927319, -0.016402583569288254, -0.03967349976301193, -0.016265777871012688, 0.0031695698853582144, -0.009431183338165283, -0.007149826269596815, 0.0005985432071611285, 0.011300988495349884, -0.04384281113743782, -0.004468149971216917, -0.00741942971944809, -0.011369390413165092, -0.019888736307621002, 0.0002781515067908913, 0.028478849679231644, -0.018106799572706223, 0.029731541872024536, 0.024204304441809654, 0.003839019685983658, 0.003007568884640932, -0.02761649340391159, 0.004023311194032431, -0.02050311304628849, -0.018540719524025917, 0.006460623815655708, 0.023364024236798286, -0.01000505592674017, 0.0017891707830131054, -0.02401220053434372, 0.02513476274907589, -0.009875975549221039, -0.024992477148771286, 0.019332021474838257, -0.012916108593344688, 0.0018058621790260077, -0.008892401121556759, -0.03871344029903412, -0.023139066994190216, -0.005111823324114084, 0.002346617868170142, 0.0024276745971292257, 0.013124930672347546, 0.008690660819411278, 0.015009011141955853, 0.00801229476928711, 0.026120567694306374, 0.015077349729835987, 0.0038076085038483143, 0.009989829733967781, -0.02378385327756405, -0.007607156876474619, -0.005615237634629011, 0.012513366527855396, -0.034233372658491135, -0.030778702348470688, 0.016306329518556595, 0.01560184545814991, 0.010786202736198902, 0.01406001579016447, -0.02172485552728176, -0.003919436130672693, 8.746398695091667e-33, 0.01012400258332491, -0.018657678738236427, -0.026227230206131935, 0.003174738259986043, -0.0031184048857539892, 0.011542070657014847, 0.014856869354844093, 0.022876348346471786, -0.05911589413881302, 0.0378044992685318, 0.000348106084857136, 0.004213243722915649, -0.0035019065253436565, 0.03133954480290413, 0.04154112935066223, -0.004167861305177212, 0.014232145622372627, -0.017402948811650276, 0.023226609453558922, 0.008384385146200657, 0.028318285942077637, -0.008445793762803078, 0.008804522454738617, -0.013083946891129017, 0.004009672906249762, 0.05683625116944313, -0.024525916203856468, 0.013783697038888931, 0.014481158927083015, -0.03594237565994263, -0.0016520342323929071, -0.005842731799930334, 0.033050209283828735, -0.03537151962518692, -0.031029153615236282, 0.010113662108778954, -0.027705775573849678, -0.027566909790039062, 0.02173556201159954, 0.007825495675206184, 0.014472215436398983, 0.012649722397327423, 0.015801258385181427, 0.02703864872455597, 0.0055158077739179134, -0.009884126484394073, 0.01912013441324234, -0.006281419191509485, -0.01181634422391653, -0.005915638525038958, -0.011238258332014084, 0.00015570782124996185, 0.026275185868144035, 0.008686760440468788, -0.008684528060257435, -0.021643495187163353, -0.030759060755372047, -0.009804707020521164, -0.019369574263691902, 0.022451281547546387, 0.010970884934067726, 0.0020445925183594227, -0.01574113219976425, -0.010485105216503143, -0.043319448828697205, -0.029967166483402252, -0.003170528681948781, 0.012818960472941399, -0.015936333686113358, -0.021317491307854652, -0.02350011095404625, 0.018844304606318474, -0.003206360386684537, 0.026287976652383804, 0.03423925116658211, -0.011489727534353733, -0.013672302477061749, -0.0080074742436409, -0.019221678376197815, 0.019004855304956436, 0.0034175587352365255, 0.014188465662300587, -0.0038326100911945105, -0.0231307465583086, 0.003966697957366705, 0.009464722126722336, -0.013746142387390137, 0.025900905951857567, -0.020436052232980728, -0.024231497198343277, -0.029227299615740776, -0.016506556421518326, 0.0236665029078722, 0.001756675890646875, 0.0004560957895591855, -1.4378164436834595e-8, -0.007392531726509333, 0.009881770238280296, -0.0026241568848490715, 0.012659716419875622, 0.02251248247921467, -0.011414208449423313, -0.012749448418617249, 0.03115462325513363, -0.025086581707000732, 0.008824830874800682, 0.031809475272893906, -0.002183332107961178, -0.013949878513813019, 0.013102399185299873, 0.020021064206957817, -0.036413177847862244, -0.024825241416692734, -0.024158349260687828, 0.03421299159526825, 0.036204371601343155, 0.006562390830367804, 0.05584144592285156, -0.035776831209659576, -0.006674131844192743, -0.00408233143389225, 0.0034662834368646145, 0.025565627962350845, -0.050627272576093674, -0.0013295880053192377, 0.02551470883190632, 0.022519320249557495, -0.026080859825015068, -0.01460807491093874, 0.007223980966955423, -0.018177101388573647, -0.03967283293604851, 0.020178131759166718, 0.0025117346085608006, 0.014436805620789528, 0.005601067561656237, 0.021424956619739532, 0.015750614926218987, -0.007209084928035736, -0.011445973068475723, -0.013323459774255753, -0.015438882634043694, -0.010999785736203194, 0.017626753076910973, -0.0022611194290220737, -0.04480773210525513, 0.002955125877633691, 0.008041748777031898, -0.0027750073932111263, 0.02391137182712555, 0.02043750509619713, 0.014239166863262653, -0.002774260239675641, -0.006441762670874596, -0.023670123890042305, 0.0023235506378114223, 0.01166019681841135, 0.03182388097047806, -0.013827399350702763, -0.03432699292898178 ]
coding-unused-code
https://markhneedham.com/blog/2009/08/21/coding-unused-code
false
2009-08-30 13:13:50
Coding: Group the duplication, then remove it
[ "coding" ]
[ "Coding" ]
One of the most common activities for software developers is removing duplication from code and http://intwoplacesatonce.com/[Dave] recently showed me a technique which I hadn't seen before for doing this more effectively - first group all the code into one place without removing any of the duplication and then remove the duplication when everything is in one place. The code where we tried out this technique was being used to construct the model for the navigation at the top of the pages on the website we're working on and before we grouped the duplication the code looked a bit like this: [source,csharp] ---- public enum Options { Login = 1, Logout = 2 // and so on } public class NavigationModel { public NavigationModel(Options options, string messageOne, string messageTwo) { Configuration = options; MessageOne = messageOne; MessageTwo = messageTwo; } public Options Configuration { get; private set; } public string MessageOne { get; private set; } public string MessageTwo { get; private set; } } ---- Which was then used in other parts of the code base like this: [source,csharp] ---- var messageOne = someRepository.GetMessageOne(); var messageTwo = someRepository.GetMessageTwo(); var navigationModel = new NavigationModel(Options.Login, messageOne, messageTwo); ---- [source,csharp] ---- var messageOne = someRepository.GetMessageOne(); var messageTwo = someRepository.GetMessageTwo(); var navigationModel = new NavigationModel(Options.Logout, messageOne, messageTwo); ---- There are actually 7 different types of 'Options' and the 'NavigationModel' was setup in 6 different places across 3 different controllers. The first step was to create a static factory method on 'NavigationModel' for each of the different configurations without trying to remove the duplication, just putting it all in one place. [source,csharp] ---- public class NavigationModel { public NavigationModel(Options options, string messageOne, string messageTwo) { Configuration = options; MessageOne = messageOne; MessageTwo = messageTwo; } public static NavigationModel ForLoggedInUser(IRepository someRepository) { var messageOne = someRepository.GetMessageOne(); var messageTwo = someRepository.GetMessageTwo(); return new NavigationModel(Options.Logout, messageOne, messageTwo); } public static NavigationModel ForAnonymousUser(IRepository someRepository) { var messageOne = someRepository.GetMessageOne(); var messageTwo = someRepository.GetMessageTwo(); return new NavigationModel(Options.Login, messageOne, messageTwo); } public Options Configuration { get; private set; } public string MessageOne { get; private set; } public string MessageTwo { get; private set; } } ---- All we've done is move the code from the controller into the 'NavigationModel' but already the duplication seemed more obvious. Being forced to come up with a name for each of the creation methods actually made it more obvious that in the case of the anonymous user there was no need to make any calls to the repository since 'MessageOne' and 'MessageTwo' would never be used in this case. We hadn't realised that this was the case until everything was grouped but it meant that we could save an unnecessary network call to get that data which is always good. Another interesting side effect was that we realised that two of the creation methods we had just written were exactly the same which allowed us to remove one of them. The next step was to push the repository calls into the constructor which is now private since noone calls it from outside this class any more: [source,csharp] ---- public class NavigationModel { private NavigationModel(Options options, IRepository someRepository) { Configuration = options; MessageOne = someRepository.GetMessageOne(); MessageTwo = someRepository.GetMessageTwo(); } private NavigationModel(Options options) { Configuration = options; MessageOne = ""; MessageTwo = ""; } public static NavigationModel ForLoggedInUser(IRepository someRepository) { return new NavigationModel(Options.Logout, someRepository); } public static NavigationModel ForAnonymousUser(IRepository someRepository) { return new NavigationModel(Options.Login); } public Options Configuration { get; private set; } public string MessageOne { get; private set; } public string MessageTwo { get; private set; } } ---- The thinking for the next step which we haven't done as yet is to delay the call to 'someRepository' until it is actually needed by converting 'MessageOne' and 'MessageTwo' into methods which delegate to it. I'm not sure of the best way to handle the case where either of those methods were called for the anonymous user case where we don't actually have a repository - perhaps the best way would be to create a http://www.markhneedham.com/blog/2008/08/16/null-handling-strategies/[null object version] of the repository I'm not sure? I was initially unsure how following this approach would be beneficial and I wanted to just remove the duplication straight away instead of grouping it first but from this experience I can certainly see how useful it can be.
null
null
[ 0.01284091081470251, -0.01967150904238224, -0.021907450631260872, 0.03670397028326988, 0.11254695057868958, -0.0028965610545128584, 0.051141031086444855, 0.017338827252388, -0.006298004649579525, -0.03165077418088913, -0.008484105579555035, -0.007069865707308054, -0.08551064133644104, 0.030421433970332146, -0.039042115211486816, 0.0695711225271225, 0.06189798563718796, -0.044175755232572556, 0.022966038435697556, 0.013537722639739513, 0.0013056673342362046, 0.07036302983760834, -0.002912270836532116, 0.021820396184921265, 0.013256075792014599, 0.029409920796751976, 0.004422001074999571, -0.017575962468981743, -0.05786002427339554, -0.01201746053993702, 0.05238203704357147, 0.008718375116586685, 0.017277993261814117, 0.004231755156069994, 0.01853485405445099, -0.0531778521835804, -0.02243664860725403, 0.013303072191774845, -0.0010198215022683144, -0.003852298716083169, -0.07260657846927643, 0.03460836783051491, -0.00008388833521166816, 0.0003644629614427686, -0.03351322188973427, 0.002810450503602624, -0.03253864496946335, -0.003620393108576536, -0.03992578014731407, -0.007276648189872503, -0.07124490290880203, 0.025690235197544098, -0.05326931178569794, 0.01644529588520527, -0.013797054067254066, 0.06661385297775269, 0.02284909412264824, -0.06610862165689468, 0.021206634119153023, -0.05613718554377556, 0.012459968216717243, 0.003904345678165555, 0.006297120358794928, 0.051263097673654556, 0.023890068754553795, -0.026155469939112663, -0.009827790781855583, 0.039708212018013, -0.015695249661803246, -0.024966396391391754, 0.0013617316726595163, -0.011320823803544044, 0.010129678063094616, 0.014640124514698982, -0.004411808680742979, -0.011983295902609825, -0.008541028015315533, 0.04099319130182266, -0.007912940345704556, 0.06292744725942612, -0.008775526657700539, 0.005431318189948797, 0.012403856962919235, 0.004218592774122953, 0.01109146699309349, -0.0313599668443203, -0.03513331338763237, 0.007518877740949392, -0.029319273307919502, 0.03876647725701332, -0.012075554579496384, -0.04198046773672104, 0.0006451674271374941, 0.044087301939725876, 0.028587987646460533, 0.01778455078601837, 0.02356690913438797, 0.013495607301592827, 0.023401519283652306, 0.02355186827480793, -0.034389469772577286, -0.001172648393549025, 0.01187270600348711, 0.00013165453856345266, -0.08240189403295517, -0.004770554602146149, -0.03932690992951393, -0.015873614698648453, 0.02092694118618965, 0.0045751831494271755, -0.04850473254919052, -0.004013303201645613, -0.04526931419968605, 0.008048509247601032, -0.06256807595491409, 0.06107329577207565, -0.021020766347646713, -0.0018824461149051785, 0.024868009611964226, 0.013557743281126022, 0.06108206883072853, 0.008475393988192081, -0.03310035914182663, 0.08476567268371582, -0.005651818122714758, 0.04837000370025635, -0.029054922983050346, 0.07807967811822891, -0.03619174659252167, -0.07741387188434601, -0.0021451348438858986, 0.04188118502497673, -0.006265247706323862, -0.002698874333873391, -0.008457420393824577, -0.015095029957592487, -0.008083149790763855, 0.012715588323771954, 0.030355343595147133, 0.027824265882372856, -0.0428224541246891, -0.04164595529437065, 0.006352601572871208, -0.0025733099319040775, 0.010510231368243694, 0.04055880010128021, -0.019609898328781128, -0.01730535924434662, -0.016881467774510384, 0.040299102663993835, 0.024741625413298607, 0.06237581744790077, 0.028343873098492622, -0.0606297105550766, 0.016406726092100143, 0.09634233266115189, 0.006798377726227045, 0.007045083679258823, -0.010296586900949478, -0.011711317114531994, 0.03283795341849327, 0.0332145057618618, 0.005736395716667175, 0.07485678791999817, 0.015695801004767418, 0.006306665483862162, 0.005640085786581039, 0.06673184782266617, -0.001204290078021586, -0.01615189015865326, -0.0719648003578186, -0.055439531803131104, 0.04705555737018585, -0.07604622840881348, -0.025223903357982635, 0.03850596770644188, 0.07091736793518066, 0.0210806243121624, 0.07237862050533295, -0.012640179134905338, -0.061705220490694046, -0.007049535401165485, 0.008404283784329891, -0.0066836439073085785, 0.008565311320126057, -0.008317988365888596, 0.06484676897525787, 0.016214748844504356, -0.0139781404286623, 0.026076799258589745, -0.06683264672756195, -0.0758083239197731, -0.01960103027522564, -0.01310764066874981, 0.07088728249073029, -0.015507162548601627, -0.021179324015975, 0.0981496199965477, 0.02753741294145584, 0.039418164640665054, 0.03183266520500183, 0.007795287296175957, 0.01931835524737835, -0.03688575327396393, -0.044403739273548126, 0.034446969628334045, 0.03017483279109001, -0.0007499175844714046, -0.03985584154725075, -0.009951984509825706, -0.01061177346855402, -0.01758379302918911, 0.03684511408209801, -0.009290498681366444, 0.06483718007802963, 0.019490214064717293, 0.010989928618073463, -0.022137364372611046, 0.053745198994874954, -0.06834547221660614, 0.023771632462739944, -0.003344617784023285, -0.03232260420918465, -0.028387190774083138, 0.013487959280610085, 0.10393783450126648, 0.03652728348970413, -0.03794869780540466, -0.040026646107435226, 0.013471744954586029, 0.02198299951851368, -0.014557107351720333, 0.0019377266289666295, -0.02316318266093731, 0.008612415753304958, -0.02139844372868538, -0.032890234142541885, -0.01712913066148758, 0.007361948024481535, -0.02906041033565998, 0.018508994951844215, 0.06988054513931274, -0.05223046988248825, 0.04586166515946388, 0.012238582596182823, -0.010195267386734486, -0.011069104075431824, -0.02902277186512947, -0.049790602177381516, 0.0037398270796984434, 0.033829860389232635, -0.012127319350838661, 0.07703538239002228, -0.024333270266652107, -0.010151226073503494, -0.020964594557881355, -0.019032703712582588, -0.02020714432001114, 0.0026656221598386765, 0.06283880025148392, -0.007520128041505814, 0.0722615048289299, -0.01939578540623188, 0.012202800251543522, -0.014608480967581272, -0.04538099467754364, 0.002706000581383705, -0.004627347458153963, 0.020419444888830185, 0.05468966066837311, 0.0003135523584205657, 0.010483901016414165, 0.010444635525345802, 0.013548544608056545, -0.018438275903463364, -0.01977325789630413, 0.025206178426742554, -0.006306222639977932, -0.041823115199804306, -0.01692040078341961, -0.0672561377286911, 0.017929019406437874, -0.023883095011115074, -0.036012161523103714, 0.01749289780855179, -0.07062087953090668, 0.06695287674665451, -0.07171418517827988, -0.06626731902360916, 0.02446410059928894, 0.0327189564704895, 0.03186674043536186, -0.018611004576086998, 0.040391672402620316, 0.09528408199548721, 0.0009145454387180507, 0.0056946296244859695, 0.000447482947492972, 0.021720893681049347, 0.03002581000328064, 0.015093625523149967, 0.020197363570332527, 0.038564346730709076, -0.034390173852443695, -0.012815820053219795, -0.03954236954450607, 0.04485727474093437, 0.007360469549894333, -0.253032386302948, 0.003091293154284358, -0.019199136644601822, -0.062305886298418045, 0.018181858584284782, -0.024831391870975494, 0.034392792731523514, -0.039943400770425797, -0.006171160843223333, 0.041683848947286606, -0.012888109311461449, -0.04491683468222618, -0.011832570657134056, 0.037014760076999664, -0.008424288593232632, 0.028736865147948265, -0.006138070020824671, -0.016824178397655487, 0.0037024219054728746, 0.06170227751135826, -0.0006793937063775957, -0.0683300569653511, -0.021940788254141808, 0.041695378720760345, 0.007198496721684933, 0.04831791669130325, -0.08899211883544922, 0.05588867515325546, -0.03766391798853874, -0.0035000143107026815, -0.006911306641995907, -0.011720022186636925, -0.00971126090735197, -0.036822397261857986, -0.039159342646598816, -0.031954869627952576, 0.00019060506019741297, 0.033400386571884155, -0.023367583751678467, 0.018683385103940964, -0.0009397794492542744, -0.04565297067165375, -0.015725484117865562, -0.011674179695546627, 0.06637319922447205, -0.0009786499431356788, -0.06031724810600281, -0.004807401914149523, -0.023382870480418205, 0.08144991844892502, -0.014424312859773636, -0.028155941516160965, 0.026441540569067, 0.040392808616161346, -0.018466416746377945, -0.03402107208967209, 0.030755769461393356, -0.014768490567803383, -0.02153485268354416, -0.021436424925923347, -0.007533160038292408, -0.057764388620853424, -0.03563980758190155, -0.06370942294597626, 0.004257431253790855, -0.059149499982595444, -0.06288988143205643, -0.0012107538059353828, 0.04575755447149277, 0.031742364168167114, -0.03425830230116844, 0.007207771297544241, 0.031704433262348175, -0.10523337870836258, 0.008349891752004623, -0.03786657005548477, -0.019397685304284096, -0.04392792284488678, -0.0005745984381064773, 0.04472263529896736, -0.039550941437482834, -0.021087035536766052, 0.03708353266119957, 0.006646446883678436, 0.01864977926015854, -0.0031690187752246857, 0.02040780335664749, 0.005815234500914812, -0.046216025948524475, -0.004985951352864504, 0.0963665097951889, 0.0036779434885829687, 0.016129521653056145, -0.051640767604112625, 0.03291906788945198, 0.038285788148641586, 0.009126348420977592, -0.03315970301628113, 0.01869744062423706, 0.005774769466370344, 0.04984669387340546, -0.04638978838920593, 0.02327796071767807, -0.032150108367204666, 0.006301690824329853, -0.018032485619187355, -0.05146294832229614, 0.013970817439258099, 0.037280626595020294, 0.046760134398937225, -0.01031551044434309, -0.01994786411523819, -0.008395569398999214, -0.04813056439161301, -0.03141547739505768, -0.009958223439753056, 0.003740906249731779, 0.02579374797642231, -0.023821000009775162, -0.017761874943971634, -0.04409929737448692, 0.02317018434405327, -0.0015600095503032207, 0.018368033692240715, -0.06740140914916992, -0.06402119994163513, -0.03215332701802254, 0.0020183033775538206, 0.003756411373615265, 0.03836594894528389, -0.016544301062822342, 0.04063436761498451, 0.00386798195540905, -0.05167602747678757, 0.007080933079123497, 0.00333035783842206, -0.015543825924396515, -0.0335734523832798, -0.022420009598135948, 0.004582444205880165, -0.002216973574832082, 0.00849601998925209, 0.014316397719085217, -0.006881106179207563, 0.04175136238336563, 0.008709041401743889, 0.05692274123430252, 0.008731337264180183, -0.0018798214150592685, 0.017722081393003464, -0.008513086475431919, -0.07275805622339249, 0.005314006935805082, -0.034491829574108124, -0.020967300981283188, -0.01974332705140114, 0.02094953879714012, -0.03902033716440201, -0.03797362372279167, -0.03557113930583, 0.026562713086605072, -0.03710687905550003, -0.03983059152960777, -0.02062261663377285, 0.015874551609158516, 0.07327505946159363, -0.014826745726168156, 0.05343347787857056, -0.027261938899755478, -0.022674674168229103, 0.028645625337958336, 0.009594465605914593, -0.04906335473060608, 0.0031995982863008976, 0.0010907447431236506, 0.021902229636907578, -0.009273026138544083, 0.0065455082803964615, 0.04296029731631279, 0.030045198276638985, 0.013665411621332169, -0.02510603331029415, 0.00798671692609787, -0.014341694302856922, 0.029905857518315315, 0.010304938070476055, -0.012853413820266724, 0.006573433056473732, -0.007903688587248325, -0.014868134632706642, -0.023716021329164505, -0.015356836840510368, -0.05036211758852005, 0.017569780349731445, -0.035801324993371964, -0.07632335275411606, -0.0002553447848185897, 0.03512880206108093, 0.023688122630119324, 0.01272797491401434, 0.0022848215885460377, -0.00298247835598886, 0.0017248837975785136, 0.019675472751259804, 0.04371205344796181, -0.05285535380244255, 0.02267436869442463, 0.01700855977833271, 0.027498550713062286, 0.02703852206468582, 0.003429558128118515, -0.04674409329891205, -0.03898084536194801, -0.05297958478331566, 0.004090733360499144, -0.055136602371931076, -0.027661016210913658, -0.04171634465456009, 0.01528746448457241, 0.0005680048489011824, -0.01292575802654028, -0.003868727246299386, 0.014211654663085938, -0.009047191590070724, -0.03396753966808319, 0.007397811859846115, -0.026007141917943954, 0.013187643140554428, 0.02297714725136757, -0.0400131456553936, 0.014027604833245277, -0.016667509451508522, 0.023061972111463547, 0.007593770511448383, -0.006707463413476944, -0.01582062430679798, -0.053102243691682816, 0.015374096110463142, -0.009551635012030602, 0.04530337452888489, -0.01627170480787754, -0.006968213710933924, -0.03287282958626747, -0.02589830569922924, -0.026833195239305496, 0.0008649557130411267, -0.009518814273178577, -0.0021696602925658226, 0.012172482907772064, 0.05720202624797821, 0.02271932363510132, 0.023785285651683807, -0.0020663633476942778, 0.008854810148477554, 0.08073674142360687, -0.055711835622787476, -0.01894056797027588, -0.037012264132499695, -0.07330098748207092, -0.0023301441688090563, -0.008063028566539288, 0.04686247184872627, -0.02458525262773037, 0.04728780686855316, 0.03323260322213173, 0.009871196933090687, 0.02760951966047287, 0.006136610638350248, 0.008376602083444595, -0.05984773486852646, 0.045775238424539566, -0.08430881798267365, 0.01955099031329155, 0.053682468831539154, -0.00718743447214365, -0.014450267888605595, -0.02238745428621769, -0.012180311605334282, 0.058864776045084, -0.053326960653066635, -0.028820116072893143, 0.023594984784722328, 0.002062554471194744, 0.0007097817724570632, 0.027491005137562752, -0.04740246757864952, 0.018871251493692398, 0.036210790276527405, -0.03112846426665783, -0.032462239265441895, -0.04866863042116165, 0.06542670726776123, 0.008354715071618557, 0.01906992681324482, -0.06075555086135864, -0.003832841059193015, 0.06159486249089241, 0.007592401467263699, 0.046236198395490646, 0.043079353868961334, -0.019318563863635063, 0.04909946769475937, 0.023583482950925827, -0.01936114765703678, -0.020946959033608437, 0.010703648440539837, 0.020201794803142548, -0.05865144729614258, 0.008514398708939552, 0.033134497702121735, -0.019886573776602745, -0.04192167520523071, 0.08272670954465866, 0.019179947674274445, -0.013493986800312996, -0.06489402055740356, 0.010987996123731136, -0.049791742116212845, -0.014568425714969635, -0.03519782796502113, 0.011769884265959263, -0.021312469616532326, 0.08377209305763245, 0.013417435809969902, -0.009574000723659992, 0.05003930628299713, -0.02045441046357155, -0.004404780920594931, -0.01784203015267849, 0.06703115999698639, 0.06809544563293457, 0.03938880190253258, -0.007518690079450607, 0.04113764688372612, -0.02051580883562565, -0.04083617031574249, 0.02493159845471382, -0.02717570960521698, -0.02239513397216797, -0.029235733672976494, 0.0058177774772048, 0.06402168422937393, 0.006556159816682339, 0.06882117688655853, -0.03201264142990112, 0.003566939849406481, -0.0098042581230402, 0.04157610237598419, -0.00033346874988637865, 0.028285954147577286, 0.01058161724358797, 0.0012450943468138576, -0.004427159205079079, -0.0392584502696991, 0.04090973734855652, -0.006214871071279049, -0.01209254004061222, 0.021839434280991554, 0.0014096011873334646, 0.01940540224313736, -0.011005571112036705, 0.024919355288147926, 0.0722435861825943, -0.012837154790759087, -0.01723296195268631, -0.020778151229023933, 0.009663864970207214, 0.015612277202308178, -0.013903478160500526, -0.01943303644657135, -0.013592230156064034, -0.0018455729587003589, -0.035508573055267334, -0.03826824948191643, -0.0410112701356411, 0.008155095390975475, 0.022175634279847145, -0.005350759718567133, 0.04544161260128021, 0.017762750387191772, 0.038275737315416336, -0.04930936545133591, -0.05453354865312576, -0.06785495579242706, -0.0596044585108757, -0.05749885365366936, -0.021691622212529182, 0.04381434619426727, -0.0014990570489317179, -0.016204504296183586, -0.011384689249098301, -0.03107408620417118, -0.012137616984546185, 0.05138443410396576, -0.02903873100876808, -0.021707260981202126, 0.024633461609482765, 0.008400899358093739, 0.027373721823096275, 0.059818658977746964, 0.03530502691864967, 0.013402057811617851, -0.014652157202363014, -0.03622140362858772, -0.02104838378727436, 0.04744826629757881, 0.012558998540043831, 0.023283232003450394, -0.07756273448467255, 0.037669066339731216, 0.0003368926409166306, 0.0033333124592900276, -0.06762612611055374, 0.009154340252280235, 0.03265046700835228, -0.013918770477175713, 0.056773409247398376, -0.035308316349983215, -0.027043242007493973, 0.005531505681574345, 0.004428175278007984, 0.0038665554020553827, 0.03752606362104416, 0.04275963082909584, -0.048463109880685806, 0.0691487267613411, 0.033733561635017395, -0.019390273839235306, -0.03381495550274849, 0.016624078154563904, -0.01842941716313362, 0.003826701082289219, -0.03426636382937431, -0.032332610338926315, -0.04987040162086487, -0.049121178686618805, 0.003105729818344116, 0.030708812177181244, -0.0014691241085529327, -0.02818242274224758, 0.010344278067350388, 0.048430148512125015, -0.07864579558372498, -0.002980769146233797, -0.03767075762152672, 0.03134315088391304, -0.030454562976956367, -0.02076602727174759, 0.013941841199994087, 0.04064265266060829, 0.027070442214608192, 0.01592017151415348, 0.024315563961863518, -0.021603956818580627, 0.00979320053011179, -0.006188827101141214, 0.017395827919244766, 0.03715633600950241, -0.006294761784374714, 0.01353444717824459 ]
[ -0.0973474383354187, -0.037152696400880814, -0.005442802328616381, -0.04131348058581352, 0.024631798267364502, -0.04976202920079231, -0.004823119845241308, 0.018511967733502388, 0.02205255813896656, -0.022494502365589142, -0.011879048310220242, -0.004122123122215271, -0.0010822102194651961, -0.00696644838899374, 0.1006259024143219, 0.004223804455250502, -0.04522068426012993, -0.023576000705361366, 0.014799058437347412, -0.017467733472585678, 0.028206871822476387, -0.03948681429028511, -0.037184230983257294, -0.0020667891949415207, 0.00158360181376338, 0.058744799345731735, 0.001144090318121016, -0.027275903150439262, 0.020387722179293633, -0.22388193011283875, 0.005491265095770359, 0.0014025451382622123, -0.013800064101815224, -0.014301415532827377, -0.011352078057825565, 0.036460064351558685, -0.014982321299612522, 0.034910593181848526, -0.00861904677003622, 0.04664883390069008, 0.015804996713995934, 0.06531087309122086, -0.07030093669891357, -0.049319904297590256, 0.029661862179636955, -0.00432122265920043, 0.006472408305853605, -0.03143741190433502, 0.015115565620362759, 0.006788864266127348, -0.02895723097026348, -0.029614228755235672, -0.03216644749045372, -0.021779555827379227, 0.010917728766798973, 0.04432263225317001, 0.03628876060247421, 0.06683456897735596, 0.019274558871984482, 0.03912186622619629, 0.022136472165584564, -0.042413849383592606, -0.10891113430261612, 0.08623585850000381, 0.050927694886922836, 0.05925056338310242, -0.01245283242315054, -0.05213652551174164, -0.010250680148601532, 0.11087533831596375, -0.01255070511251688, -0.007146721705794334, -0.0335259810090065, 0.045835062861442566, 0.014014516957104206, -0.013387723825871944, -0.012372435070574284, 0.020964665338397026, 0.014576495625078678, -0.020128505304455757, -0.036846183240413666, -0.03885984420776367, -0.004506315104663372, -0.005479630082845688, -0.01012329664081335, 0.014266793616116047, -0.007122623734176159, 0.038114942610263824, 0.025334250181913376, -0.012735079042613506, 0.04846765846014023, -0.0390518419444561, 0.04436224699020386, 0.026911059394478798, -0.08292479068040848, 0.014203645288944244, -0.027637317776679993, 0.010540183633565903, -0.03262725844979286, 0.45070892572402954, -0.03102891333401203, -0.021503351628780365, 0.07052473723888397, 0.04205638915300369, 0.007693290710449219, -0.002954169176518917, -0.0212941262871027, -0.04527327045798302, 0.01789676956832409, -0.02995883673429489, 0.005000127479434013, 0.01853029429912567, 0.054976485669612885, -0.03236011415719986, -0.035384971648454666, 0.03289627656340599, -0.0009957285365089774, 0.014727430418133736, -0.028058677911758423, 0.00487737450748682, -0.02707826718688011, -0.012519693933427334, 0.032325711101293564, 0.026293031871318817, 0.014107806608080864, -0.031999945640563965, 0.028041556477546692, 0.06601934134960175, 0.02701347880065441, 0.009746253490447998, 0.04117809236049652, -0.02024330012500286, -0.061164505779743195, 0.004491070285439491, 0.0061693438328802586, -0.010657820850610733, 0.03020300716161728, -0.03719698265194893, -0.0037051879335194826, 0.010326802730560303, -0.019459983333945274, -0.013233219273388386, 0.05777914077043533, -0.031195180490612984, -0.056135568767786026, 0.12945576012134552, 0.0001600998075446114, -0.04778962582349777, -0.012757677584886551, -0.04843943193554878, -0.010026566684246063, 0.03918248787522316, 0.019894294440746307, -0.06038187816739082, 0.013399617746472359, 0.0006217845366336405, 0.0678778663277626, 0.0003660797083284706, -0.06317203491926193, -0.025954470038414, 0.00024355496861971915, -0.019779175519943237, -0.03196753188967705, 0.06475868821144104, 0.05832064524292946, -0.10198673605918884, -0.026571741327643394, 0.018878348171710968, 0.004099822137504816, -0.05588356405496597, -0.043290071189403534, 0.03088972717523575, -0.03147803992033005, -0.0009407713660039008, 0.05624370276927948, -0.012818744406104088, -0.03664955869317055, -0.023081675171852112, 0.020932476967573166, 0.010666437447071075, -0.014111168682575226, -0.007750954013317823, -0.08283132314682007, -0.013224438764154911, -0.03533812239766121, -0.0791064202785492, -0.031528450548648834, -0.0037225817795842886, -0.011733136139810085, -0.026622053235769272, -0.025462983176112175, -0.006107621360570192, -0.004996411502361298, 0.0822322815656662, -0.03890064358711243, -0.031054764986038208, 0.006172955501824617, -0.015082926489412785, 0.019627096131443977, -0.03403009474277496, 0.015167754143476486, 0.05354487523436546, -0.01646038517355919, 0.012191870249807835, -0.0817471593618393, 0.06769414991140366, 0.03976975008845329, -0.03802661597728729, 0.03414875641465187, 0.020245064049959183, -0.05788198858499527, -0.0004638464597519487, 0.02661392278969288, 0.025115836411714554, 0.026075851172208786, -0.03557630255818367, 0.011181379668414593, 0.03743516281247139, -0.001512572169303894, 0.006845539901405573, -0.030336428433656693, 0.020426437258720398, 0.007097009569406509, -0.32991737127304077, -0.03376416862010956, -0.01679830066859722, 0.013341560959815979, -0.03257456794381142, -0.06646768003702164, 0.008418294601142406, -0.03481784090399742, -0.0018182137282565236, -0.03779624402523041, 0.06966674327850342, -0.0361996665596962, -0.013671327382326126, -0.016664614900946617, 0.000690257758833468, 0.03263898938894272, -0.02561401017010212, -0.012439606711268425, -0.03785663843154907, 0.012245279736816883, 0.0139714190736413, 0.02115279622375965, 0.01261354424059391, -0.06453939527273178, -0.012165444903075695, -0.020221613347530365, 0.11026377230882645, -0.03410501778125763, 0.09386630356311798, -0.00721734669059515, 0.0641559287905693, -0.003290941007435322, 0.04371551796793938, -0.05697168409824371, 0.0040175942704081535, -0.01466571819037199, -0.031278014183044434, -0.009725942276418209, 0.053874772042036057, -0.022966451942920685, -0.03876262903213501, 0.017299402505159378, -0.04405645281076431, -0.06965352594852448, 0.0022646149154752493, -0.00508178910240531, -0.04970644414424896, -0.03656627982854843, -0.013455524109303951, 0.10501792281866074, 0.008884820155799389, -0.015560224652290344, 0.022273115813732147, 0.030774284154176712, 0.006106349639594555, -0.03750362619757652, -0.059293877333402634, -0.012693719938397408, 0.014443711377680302, -0.01573500782251358, 0.023510660976171494, 0.05757934972643852, 0.01885678805410862, -0.07476121932268143, 0.018225591629743576, 0.008075980469584465, -0.02098914049565792, -0.021915370598435402, 0.07146146148443222, -0.05975580960512161, -0.051017869263887405, 0.10394549369812012, 0.021520907059311867, -0.028694650158286095, 0.0064560542814433575, 0.06340042501688004, -0.008540861308574677, 0.019824625924229622, -0.009099481627345085, -0.0015144487842917442, 0.016702214255928993, 0.00819555576890707, 0.04236266016960144, 0.009226575493812561, -0.02944050543010235, 0.0332627147436142, 0.0026318926829844713, -0.027663957327604294, 0.0394473634660244, -0.012872948311269283, -0.0378446988761425, -0.0038926240522414446, -0.008383962325751781, -0.07374472916126251, 0.0837819054722786, -0.015116815455257893, -0.25465381145477295, 0.002007334725931287, 0.06337914615869522, 0.04561232775449753, -0.03175655007362366, 0.04513268172740936, 0.011175374500453472, -0.05727669224143028, 0.02655521035194397, 0.007874605245888233, -0.015236034989356995, 0.03323544189333916, 0.018829073756933212, -0.02582123875617981, 0.049800001084804535, 0.01902354694902897, 0.06529070436954498, -0.022247107699513435, 0.032768115401268005, 0.0005017646471969783, 0.014643813483417034, 0.006562311202287674, 0.17339171469211578, 0.020366478711366653, 0.04677147790789604, 0.040019288659095764, 0.001117417705245316, 0.01616336591541767, 0.06536103039979935, 0.054950080811977386, -0.01512062270194292, -0.019463013857603073, 0.08019555360078812, 0.02458914928138256, 0.038691602647304535, -0.06792402267456055, 0.0011395950568839908, 0.008755681104958057, -0.005716162268072367, 0.00040576353785581887, -0.013478506356477737, 0.024798236787319183, -0.03097313828766346, 0.004042379092425108, 0.08147311210632324, 0.00886119157075882, 0.008819269947707653, -0.005956084467470646, -0.02246740646660328, 0.005543132312595844, -0.05186832696199417, -0.04130523279309273, 0.003136483021080494, -0.0026905685663223267, 0.01112578809261322, 0.055929217487573624, 0.009421145543456078, -0.013903111219406128, -0.011031812988221645, -0.0006453026435337961, -0.0028547514230012894, -0.007340440060943365, 0.09257085621356964, 0.007598684635013342, 0.017906783148646355 ]
[ 0.01723725162446499, -0.02614164538681507, 0.025162501260638237, 0.04524603486061096, -0.0007740097935311496, 0.01377173699438572, 0.01940503902733326, -0.0094365943223238, 0.0021352896001189947, 0.03913578391075134, 0.02374560944736004, -0.006563225761055946, 0.06641305983066559, -0.017276350408792496, 0.05236346274614334, 0.02208351157605648, -0.003946851007640362, -0.0379297249019146, 0.00793375913053751, 0.012379876337945461, -0.02024334855377674, 0.045360267162323, -0.008201957680284977, 0.02911117486655712, -0.028655806556344032, 0.008851582184433937, -0.0006418951670639217, -0.009543120861053467, 0.014237048104405403, -0.13521263003349304, -0.03230249509215355, -0.022636398673057556, -0.02722659520804882, 0.021919680759310722, -0.053751129657030106, -0.026742728427052498, 0.01295778900384903, -0.0048296148888766766, -0.0030756669584661722, -0.014230865053832531, -0.038879022002220154, 0.013830771669745445, -0.00339280953630805, -0.014159110374748707, -0.012220032513141632, -0.013296106830239296, -0.009760111570358276, 0.01076654251664877, 0.014215871691703796, -0.006800597067922354, 0.0081242136657238, -0.015579430386424065, 0.029973508790135384, 0.0012582773342728615, 0.05809137970209122, 0.028198478743433952, -0.072307288646698, 0.003382500959560275, -0.004680919926613569, 0.024346383288502693, 0.007981987670063972, 0.014131487347185612, -0.03602956235408783, -0.017669647932052612, 0.04403894022107124, 0.001776956720277667, 0.007790754549205303, 0.0033512962982058525, 0.010526035912334919, 0.0061862352304160595, -0.00908519234508276, 0.0027684387750923634, 0.04017749801278114, 0.0367756150662899, 0.025589104741811752, -0.017076537013053894, 0.015133969485759735, 0.0030111814849078655, -0.026481768116354942, -0.02882571518421173, -0.055817436426877975, 0.006379373371601105, -0.02519027516245842, 0.03888138756155968, 0.016549548134207726, -0.03619123250246048, -0.009137582965195179, 0.007373172789812088, 0.027517570182681084, -0.010545783676207066, -0.031196268275380135, -0.005307784304022789, 0.01957027241587639, 0.007406275719404221, -0.07078041136264801, 0.006857224274426699, -0.04813297092914581, 0.0059705511666834354, -0.025910459458827972, 0.8028694987297058, 0.0007244725129567087, 0.019496368244290352, 0.07157105952501297, 0.03265399485826492, -0.012549749575555325, -0.02638782374560833, 0.04365956410765648, 0.0012254827888682485, -0.013544248417019844, 0.01243844535201788, 0.03105008602142334, 0.04715851694345474, 0.014171495102345943, 0.06457707285881042, 0.018469568341970444, 0.01737246662378311, 0.016233673319220543, -0.007662592921406031, 0.0070377541705966, 0.03405824676156044, -0.0053594764322042465, -0.02780274860560894, 0.024547798559069633, -0.00944035779684782, 0.025589892640709877, -0.17567750811576843, 0.010799058713018894, -7.210987810514765e-33, -0.002733807312324643, 0.04134634509682655, 0.009943455457687378, 0.01814475655555725, 0.08140671253204346, 0.012659142725169659, -0.0037960470654070377, 0.025787504389882088, 0.006126652006059885, -0.03888290375471115, -0.033646296709775925, -0.00891819503158331, -0.0031828656792640686, -0.019539980217814445, 0.049353279173374176, -0.026430023834109306, -0.010480514727532864, 0.04714670404791832, -0.0018444410525262356, -0.02817562036216259, 0.042484309524297714, 0.08686880767345428, 0.016102509573101997, -0.023579981178045273, 0.025325413793325424, 0.0612356923520565, 0.039980072528123856, -0.011849177069962025, -0.03623234108090401, -0.041639603674411774, 0.019156133756041527, 0.025936229154467583, -0.030986960977315903, 0.028574686497449875, 0.01931779831647873, -0.015525450929999352, 0.005007505416870117, 0.005207662936300039, -0.017473939806222916, -0.028556695207953453, -0.028827041387557983, -0.02087617851793766, -0.03488766774535179, -0.010012313723564148, -0.051256392151117325, -0.046945516020059586, -0.013701952993869781, 0.008388780988752842, 0.03780347853899002, 0.0034130613785237074, 0.017825759947299957, 0.03199930489063263, 0.003297797404229641, -0.04406986013054848, -0.039638493210077286, -0.009707579389214516, -0.02205648273229599, 0.0015176397282630205, 0.04730210453271866, 0.03795957192778587, 0.0026894318871200085, -0.049615055322647095, 0.009729045443236828, 0.03805321827530861, 0.014674083329737186, -0.0012503914767876267, 0.010705455206334591, -0.039829351007938385, 0.057124827057123184, -0.10761933028697968, -0.036030642688274384, -0.01868276670575142, -0.006173955276608467, 0.010807089507579803, 0.007906842976808548, -0.04012645408511162, -0.018299724906682968, -0.0011516528902575374, 0.024734629318118095, 0.010377317667007446, -0.06581113487482071, -0.05443144217133522, -0.009214373305439949, 0.001697253668680787, 0.014655092731118202, -0.006514690350741148, 0.015569052658975124, -0.016098346561193466, -0.02615985833108425, 0.01971587911248207, -0.01065207738429308, 0.0547262467443943, 0.02825075574219227, -0.0307895727455616, 0.0267006978392601, 6.958840598843538e-33, 0.009764709509909153, -0.021474480628967285, -0.005224558524787426, 0.0004285081522539258, 0.004827517084777355, -0.030505558475852013, -0.010526799596846104, 0.03267263248562813, -0.07603288441896439, -0.02408636547625065, -0.019310519099235535, 0.05731483921408653, 0.026935460045933723, 0.014975260011851788, 0.03245684131979942, 0.01864919252693653, 0.0399598628282547, -0.045491259545087814, 0.002350517315790057, -0.0270150825381279, 0.025198113173246384, 0.003995844163000584, 0.007804785389453173, -0.008033081889152527, 0.01974596083164215, 0.05074450746178627, 0.013847350142896175, 0.013617235235869884, 0.01705494150519371, 0.001839661505073309, -0.014008687809109688, 0.028933819383382797, 0.013640462420880795, -0.06262463331222534, 0.019864875823259354, -0.00507687171921134, -0.007010359317064285, 0.022639526054263115, -0.005062844138592482, 0.009300759993493557, 0.02639925479888916, -0.026682505384087563, -0.017143305391073227, 0.00003483015825622715, 0.03943561390042305, 0.0054519297555089, 0.011537732556462288, -0.004829476587474346, 0.011139649897813797, 0.00775387417525053, 0.034745410084724426, -0.02267405577003956, -0.017995331436395645, -0.01853260025382042, 0.027739128097891808, -0.016668230295181274, -0.02044861763715744, -0.011531993746757507, 0.002540525747463107, -0.03518683463335037, 0.012739913538098335, 0.03470618650317192, -0.04903300479054451, 0.004926550202071667, -0.01512023713439703, -0.012371251359581947, -0.046605002135038376, -0.016093136742711067, -0.0013086524559184909, 0.008256356231868267, -0.02293899655342102, -0.05030573904514313, -0.025129694491624832, 0.00938891526311636, 0.026247993111610413, -0.0011277596931904554, 0.024843355640769005, 0.014464045874774456, 0.005340939853340387, 0.004983761813491583, 0.018193943426012993, -0.03433816879987717, 0.008841995149850845, -0.02556033246219158, -0.03219950944185257, -0.0008379745413549244, -0.035279348492622375, -0.002254821127280593, -0.00989779457449913, 0.011073890142142773, -0.0413314551115036, -0.02600909397006035, -0.027119163423776627, 0.026022305712103844, -0.05008086562156677, -1.2496568224662497e-8, -0.031627047806978226, 0.031173616647720337, -0.014329456724226475, 0.03634141758084297, 0.008935290388762951, -0.010425547137856483, -0.05514538288116455, -0.014103878289461136, -0.020963335409760475, 0.00010647866292856634, -0.005208199843764305, -0.02377593144774437, -0.019730955362319946, 0.031674280762672424, 0.0304025337100029, -0.054964784532785416, -0.040159229189157486, -0.0065801735036075115, 0.002792963059619069, 0.001056820503436029, 0.031167099252343178, 0.03846678137779236, 0.01299009844660759, 0.030153345316648483, 0.05083632096648216, 0.012280432507395744, -0.024790018796920776, -0.0658809021115303, -0.019394397735595703, -0.008284163661301136, -0.007067191414535046, -0.012755732983350754, -0.05494952201843262, 0.0024187664967030287, -0.04542215168476105, -0.02294722944498062, 0.01905222423374653, 0.008326531387865543, 0.019150573760271072, -0.028977103531360626, 0.02691611275076866, 0.0015154407592490315, 0.03398706763982773, -0.011958316899836063, -0.004051596391946077, 0.025448087602853775, -0.014426940120756626, 0.008737213909626007, 0.058523211628198624, -0.04038286209106445, -0.05022023990750313, 0.006306054536253214, 0.023083221167325974, -0.01864333264529705, -0.016635337844491005, 0.025072535499930382, 0.02823382243514061, -0.00029239305877126753, 0.002610923256725073, -0.008651627227663994, 0.031911250203847885, 0.012007227167487144, -0.03803155943751335, -0.05163571611046791 ]
coding-group-the-duplication-then-remove-it
https://markhneedham.com/blog/2009/08/30/coding-group-the-duplication-then-remove-it
false
2009-08-30 20:07:50
Coding: The guilty bystander
[ "coding" ]
[ "Coding" ]
While discussing the http://www.markhneedham.com/blog/2009/08/30/coding-group-the-duplication-then-remove-it/[duplication in our code based which I described in an earlier post] with some other colleagues earlier this week I realised that I had actually gone past this code a couple of times previously, seen that there was a problem with it but hadn't taken any steps to fix it other than to make a mental note that I would fix it when I got the chance. At the time we needed to fix a bug around this code and noticed that the logic was scattered all around the place but decided to just add to the mess and put our fix in without refactoring the code to make it better for people coming to the code in future. In a way then it was perhaps http://en.wikipedia.org/wiki/Poetic_justice[poetic justice] that when the bug was re-tested there were still problems with it. This time we decided to fix it properly and with the improved expressiveness the code now has hopefully it will make life easier for other people who have to work with the code. I think this was also a really clear case of the broken windows theory whereby the likelihood of someone doing something bad to the code is much higher if it's already in a suboptimal state. After hearing me describe this http://blog.halvard.skogsrud.com/[Halvard] pointed out that it sounded quite like the idea of the http://www.fordhamlawandculture.org/blog/2008/11/23/we-didnt-do-anything/[guilty bystander] whereby *if you see a problem with the code and do nothing about it then you are guilty by association even though it wasn't you who wrote it*. This sounds quite similar to a post written by Ayende where he pointed out that http://ayende.com/Blog/archive/2009/08/18/code-ownership-also-mean-code-responsibility.aspx[if you own the code then it is your responsibility to keep it in good shape], you can't keep blaming the previous owners forever. Another colleague of mine, Silvio, pointed out that sometimes it might not be feasible for us to stop doing what we're doing to go and fix something else, especially if it's unrelated code that we just happen to come across. Indeed doing this might lead to a http://www.markhneedham.com/blog/2008/10/25/dont-shave-the-yak-ask-why-are-we-doing-this/[yak shaving] situation. In this situation he suggested that we need to let it be known that something should be done possibly by writing a 'TODO' comment in capital letters around the offending code so that the next person who comes across the code can take a look at the offending code without having to assess whether or not it's in a bad state. To continue the analogy perhaps this would be the equivalent of calling 999/911/000 to report the situation to the police which is definitely better than just ignoring the problem although not as good as helping to solve it. In this case the help you're providing is a bit more indirect than calling the emergency services would be so I'm not sure if the metaphor quite fits! There are certainly exceptions (such as when we inherit code which is a mess) but in general I always think we've gone horribly wrong when we get to the stage where we need to ask the business whether we can have a whole iteration (or more) to refactor the code into shape so that we can start moving faster again. I believe that while in the short term it's our responsibility to make sure we deliver the features we're working on in the current iteration, we also need to make sure that we spend some time ensuring that we can continue to deliver features in future iterations as well and part of that second responsibility is taking the time to mould code into a state where we can build on top of it more easily even if it wasn't us who wrote it in the first place.
null
null
[ 0.015241410583257675, 0.012436515651643276, -0.005350925959646702, 0.039102524518966675, 0.08263203501701355, 0.021011296659708023, 0.029511474072933197, 0.04471341893076897, 0.0034607567358762026, -0.03361106663942337, -0.025445198640227318, -0.009524100460112095, -0.07688058912754059, 0.01662254147231579, -0.042784806340932846, 0.07106135785579681, 0.07789279520511627, -0.01806151680648327, 0.028739169239997864, 0.009908149018883705, 0.03899720311164856, 0.06361209601163864, -0.0025288306642323732, 0.00998491421341896, 0.007094603031873703, 0.024841491132974625, -0.012873540632426739, -0.010842924006283283, -0.08277346193790436, -0.0023401028010994196, 0.06300324201583862, 0.03423392027616501, 0.009806763380765915, -0.00474537955597043, 0.017171766608953476, -0.013062571175396442, -0.046443577855825424, 0.021791186183691025, -0.009321948513388634, 0.026156507432460785, -0.039838578552007675, 0.036803409457206726, -0.017125779762864113, 0.018366660922765732, -0.052342213690280914, 0.0003240250807721168, -0.037069208920001984, 0.0049704909324646, -0.007122242357581854, -0.008067945949733257, -0.04824605956673622, 0.028988486155867577, -0.007576930336654186, -0.007152697071433067, -0.036492202430963516, 0.062094420194625854, 0.015522496774792671, -0.04686364904046059, 0.007171266712248325, -0.03647966310381889, 0.0068334490060806274, -0.02131437323987484, 0.019138837233185768, 0.035594429820775986, 0.023180333897471428, -0.02245238423347473, 0.008912834338843822, 0.05073527619242668, -0.04034407064318657, -0.004526669159531593, 0.0010822581825777888, 0.010601905174553394, -0.012142390012741089, -0.023963067680597305, 0.011671055108308792, -0.044530581682920456, -0.0010400910396128893, 0.05429898947477341, 0.027271553874015808, 0.03570383042097092, -0.014623095281422138, 0.02762734517455101, 0.001604389981366694, 0.027872266247868538, -0.01074692327529192, -0.04287179559469223, -0.022261004894971848, -0.02133207954466343, -0.0666491687297821, 0.05628815293312073, 0.010625462979078293, -0.05035438388586044, 0.038452498614788055, 0.03906085714697838, -0.015030953101813793, 0.0246980469673872, 0.01969272270798683, 0.02510613575577736, -0.007601031102240086, -0.018069347366690636, -0.03655248507857323, -0.030459964647889137, 0.013199963606894016, 0.0014453469775617123, -0.07195713371038437, -0.008151281625032425, -0.028321318328380585, 0.011320119723677635, 0.008775425143539906, -0.009862575680017471, -0.001237768097780645, 0.026081690564751625, -0.015852635726332664, 0.0035620839335024357, -0.07330989837646484, 0.061232391744852066, -0.005319226998835802, -0.05454185605049133, 0.002052881522104144, 0.012633913196623325, 0.045775141566991806, 0.03260330110788345, -0.004500665236264467, 0.09715892374515533, 0.047636695206165314, 0.02447642758488655, 0.0021522133611142635, 0.06019403040409088, -0.025825802236795425, -0.06091180443763733, -0.01140202209353447, 0.06867335736751556, -0.0361807756125927, -0.024527138099074364, 0.017575034871697426, -0.003932499792426825, -0.017816457897424698, -0.0012096754508093, 0.020969754084944725, 0.03699163347482681, -0.0022123646922409534, -0.03438345715403557, -0.0004296017868909985, 0.026826633140444756, 0.019598381593823433, 0.023224277421832085, -0.022578883916139603, -0.010334065183997154, -0.027722274884581566, 0.0031873751431703568, 0.006796973757445812, 0.02758828178048134, 0.019830327481031418, -0.04992755874991417, 0.026212815195322037, 0.0734977126121521, 0.019465478137135506, 0.023145031183958054, -0.02744343876838684, 0.05151670426130295, 0.03669576346874237, 0.028456920757889748, 0.011197468265891075, 0.03191380575299263, 0.005454873200505972, -0.0034316489472985268, 0.004970712121576071, 0.0571945458650589, 0.010926361195743084, 0.009689226746559143, -0.05862174928188324, -0.05932321026921272, 0.062120772898197174, -0.049205124378204346, -0.03778524324297905, 0.04306342080235481, 0.09061484038829803, 0.0287951547652483, 0.04295528307557106, -0.012710507027804852, -0.08178459852933884, 0.009700527414679527, 0.010897926986217499, 0.02867124043405056, -0.0056292335502803326, -0.011921354569494724, 0.059998877346515656, 0.023363584652543068, 0.010174396447837353, 0.03902795538306236, -0.07473479956388474, -0.08257031440734863, -0.019181620329618454, -0.022537440061569214, 0.06371770054101944, -0.008779756724834442, 0.00348281511105597, 0.06155000999569893, 0.009069795720279217, 0.06843272596597672, 0.016702191904187202, 0.018132351338863373, 0.021430978551506996, -0.04043978452682495, -0.042738255113363266, 0.058001015335321426, 0.02988854981958866, -0.007302240468561649, -0.0590069517493248, 0.00902823731303215, -0.0100084338337183, -0.011375809088349342, 0.0430031418800354, -0.03561971336603165, 0.03554185852408409, 0.010520911775529385, 0.055173348635435104, -0.042016252875328064, 0.028764579445123672, -0.0567091666162014, -0.019252054393291473, -0.005015920847654343, -0.01233706995844841, 0.017983917146921158, 0.01968645304441452, 0.11827193200588226, 0.06233268603682518, -0.0486498586833477, -0.01653873361647129, -0.0009036373812705278, 0.018427852541208267, -0.0452805794775486, -0.025050148367881775, -0.013998299837112427, -0.013351368717849255, 0.00771478982642293, -0.06499797850847244, -0.04646710306406021, 0.02795618586242199, -0.033635176718235016, 0.010916940867900848, 0.05624715983867645, -0.016883738338947296, 0.04543346166610718, -0.01562527008354664, -0.008379152975976467, -0.022204268723726273, -0.024984270334243774, -0.03345901891589165, 0.00117383967153728, 0.003990595228970051, -0.01600104756653309, 0.050499457865953445, -0.045653086155653, -0.011745116673409939, -0.03464653715491295, -0.02286258153617382, -0.004355836659669876, 0.028177568688988686, 0.06979571282863617, -0.013924771919846535, 0.055551063269376755, -0.004851057194173336, 0.00029216601978987455, -0.01412925124168396, -0.05746304616332054, -0.03989769145846367, -0.012419509701430798, 0.003162156557664275, 0.041335392743349075, -0.026336198672652245, 0.04033325985074043, 0.005350399762392044, 0.005660329945385456, -0.0007545294356532395, -0.008917379193007946, 0.04871227592229843, 0.008926051668822765, -0.03326791897416115, -0.015139787457883358, -0.030962234362959862, 0.03841624781489372, -0.044434867799282074, -0.017062122002243996, -0.011221283115446568, -0.07367739826440811, 0.06791507452726364, -0.0782652497291565, -0.042438801378011703, 0.016242891550064087, 0.006872408092021942, 0.028396178036928177, -0.016388067975640297, 0.02131534367799759, 0.06727053970098495, -0.020341869443655014, 0.002650229260325432, -0.011298959143459797, -0.0034104909282177687, 0.03855486959218979, 0.01613093540072441, 0.016654416918754578, 0.019801007583737373, 0.012250654399394989, -0.011295337229967117, -0.03317801281809807, 0.0282128993421793, -0.004521387163549662, -0.27511298656463623, 0.040856484323740005, 0.007103628013283014, -0.05107641592621803, 0.0167386457324028, 0.01653306744992733, 0.023314133286476135, -0.05043702945113182, -0.015743428841233253, 0.011463199742138386, -0.021353529766201973, -0.07032518088817596, -0.005730508826673031, 0.04726114124059677, 0.00126256060320884, 0.01323358342051506, 0.007448012474924326, -0.03826042637228966, -0.00897808838635683, 0.03590332344174385, -0.0056686438620090485, -0.07952602207660675, -0.013950550928711891, 0.029841292649507523, 0.03128036856651306, 0.05119764059782028, -0.083761066198349, 0.03280454874038696, -0.06188501417636871, -0.0006767172599211335, -0.021221235394477844, 0.016215115785598755, 0.00501271290704608, -0.03930041193962097, -0.032617442309856415, -0.02153722569346428, 0.025960516184568405, -0.0014822594821453094, -0.024535376578569412, 0.020701061934232712, -0.01588538847863674, -0.0269758403301239, 0.005348299164324999, 0.01032987330108881, 0.06967765092849731, 0.010840087197721004, -0.06653344631195068, -0.017776841297745705, -0.03084111213684082, 0.06746561080217361, -0.027804458513855934, -0.02567783184349537, -0.0018734284676611423, 0.04689503833651543, -0.0016388427466154099, -0.014814626425504684, -0.008916450664401054, -0.018675873056054115, -0.03078158013522625, -0.02423522248864174, -0.0002888873277697712, -0.03515050932765007, 0.001068086945451796, -0.020118236541748047, 0.019361671060323715, -0.06570447236299515, -0.06370764225721359, -0.020621873438358307, 0.08751758933067322, 0.028150217607617378, -0.03454401344060898, 0.041081756353378296, 0.01832667738199234, -0.10229424387216568, -0.0028452849946916103, 0.016500240191817284, -0.026048904284834862, -0.002100071171298623, 0.017499057576060295, 0.03757690265774727, -0.028568506240844727, -0.05377998575568199, 0.017277369275689125, 0.011359788477420807, 0.02238703891634941, -0.032422084361314774, 0.02643441967666149, 0.030872516334056854, -0.024588903412222862, 0.009139656089246273, 0.06374924629926682, -0.011917879804968834, -0.02598852850496769, -0.016699619591236115, 0.024887394160032272, 0.004559198394417763, 0.036940865218639374, -0.0011143051087856293, 0.006772163324058056, 0.04832496866583824, 0.004667675122618675, -0.07498025894165039, 0.05376133695244789, -0.05562756955623627, -0.0029988291207700968, 0.005956122186034918, -0.03619397431612015, 0.004336811136454344, 0.03062664531171322, 0.048591628670692444, -0.0014370863791555166, -0.06089235842227936, 0.012168372049927711, -0.05244920030236244, -0.013769032433629036, -0.015595726668834686, 0.02332097664475441, 0.034273747354745865, -0.013383276760578156, -0.030456993728876114, -0.03241373598575592, 0.01818687841296196, -0.017885496839880943, 0.023288985714316368, -0.06916871666908264, -0.031488869339227676, -0.01585928164422512, -0.003896100912243128, 0.026732882484793663, 0.02945169247686863, -0.023541325703263283, 0.04683162644505501, -0.001806528540328145, -0.056587960571050644, 0.022977396845817566, -0.008720584213733673, -0.04673624783754349, -0.026300586760044098, -0.0020371307618916035, -0.005936824716627598, 0.01138874888420105, 0.010618849657475948, 0.010997765697538853, 0.0037411493249237537, 0.03940803185105324, 0.008187994360923767, 0.05740111693739891, -0.027526916936039925, 0.032044418156147, 0.023363854736089706, -0.007830061949789524, -0.08520780503749847, 0.042881522327661514, -0.05530857667326927, -0.03546131029725075, -0.0111475121229887, 0.05090004950761795, -0.016960708424448967, -0.042781468480825424, 0.0024549856316298246, 0.004472722299396992, -0.03472505882382393, -0.0353621207177639, -0.02287384867668152, 0.026650723069906235, 0.0662619099020958, -0.020285451784729958, 0.03139074519276619, -0.011324338614940643, -0.011378756724298, 0.004129678010940552, 0.03725845366716385, -0.04138094186782837, 0.015595154836773872, 0.030020466074347496, -0.014975395984947681, -0.023185452446341515, -0.012872629798948765, 0.029511483386158943, 0.014372260309755802, 0.0064058382995426655, -0.03481416031718254, 0.000044557105866260827, 0.02113555744290352, 0.04970891401171684, -0.007841416634619236, 0.0056467317044734955, -0.008636189624667168, -0.021781345829367638, -0.027461204677820206, -0.03979498893022537, -0.011412451043725014, -0.011315514333546162, 0.03798622265458107, -0.03628552332520485, -0.07992205023765564, 0.015010503120720387, 0.022898521274328232, 0.01977057009935379, 0.019232213497161865, 0.006976716686040163, 0.015095055103302002, -0.01582304574549198, 0.02935873158276081, 0.052005041390657425, -0.04874609410762787, 0.020520420745015144, -0.006607993971556425, 0.009010116569697857, 0.01765979453921318, 0.0023130017798393965, -0.04067195951938629, -0.030769938603043556, -0.03671175613999367, 0.008490284904837608, -0.06190497428178787, -0.016999466344714165, -0.0026842199731618166, 0.00018937705317512155, -0.02700403891503811, -0.03316343203186989, -0.0047824811190366745, 0.03125547990202904, -0.008946366608142853, -0.028255173936486244, 0.018742846325039864, -0.03565924987196922, 0.012858841568231583, 0.02649196982383728, -0.030864303931593895, 0.01644940860569477, -0.02992132678627968, 0.014186055399477482, 0.045580800622701645, -0.015400647185742855, -0.022982029244303703, -0.029789287596940994, 0.001287156599573791, -0.04206753149628639, 0.030430510640144348, -0.019782543182373047, -0.04253356531262398, -0.041304994374513626, -0.023380141705274582, -0.04390354081988335, 0.02881421335041523, -0.03123718500137329, -0.0036858173552900553, 0.0325968898832798, 0.060092367231845856, 0.026074059307575226, 0.03821774199604988, -0.022439351305365562, -0.014955989085137844, 0.04903875291347504, -0.07611056417226791, -0.014333628118038177, -0.03701744228601456, -0.04684777930378914, -0.0045084357261657715, -0.008172855712473392, 0.016037922352552414, -0.02407156303524971, 0.03926300257444382, 0.016682786867022514, 0.02916782721877098, 0.028315503150224686, -0.010228823870420456, 0.028030971065163612, -0.06342325359582901, 0.02889357879757881, -0.07847034931182861, 0.02336614578962326, 0.015229999087750912, 0.01199554093182087, -0.005150237586349249, -0.002973540686070919, -0.041685108095407486, 0.023346155881881714, -0.07350409775972366, -0.010864349082112312, 0.0453181192278862, -0.007731649558991194, -0.004032147116959095, 0.01337118074297905, -0.06597734242677689, 0.02789444476366043, 0.03981844708323479, -0.039930131286382675, -0.05305599421262741, -0.034669529646635056, 0.05718585476279259, 0.0180263239890337, 0.04916132986545563, -0.025818713009357452, -0.01347089558839798, 0.04701432213187218, 0.016125325113534927, 0.009535279124975204, 0.042373474687337875, -0.01581656187772751, 0.023782366886734962, 0.03523627296090126, 0.013611157424747944, -0.01306554488837719, 0.010529772378504276, -0.001344833173789084, -0.05666056647896767, -0.008108641020953655, 0.012381965294480324, -0.02701873891055584, -0.031003883108496666, 0.0754048079252243, 0.03293374925851822, -0.0171816423535347, -0.03314555436372757, 0.004564352799206972, -0.06969249993562698, -0.00830232072621584, -0.027750501409173012, -0.013118710368871689, -0.04923189803957939, 0.06313525140285492, 0.012733901850879192, -0.012048987671732903, 0.060096412897109985, 0.015244180336594582, 0.011738241650164127, -0.01766645908355713, 0.10230527818202972, 0.0889473482966423, 0.049821265041828156, 0.006885278504341841, 0.05965099111199379, -0.03966120257973671, -0.03230660408735275, 0.01761515438556671, -0.018587499856948853, -0.03213255852460861, -0.023565715178847313, 0.02715366892516613, 0.05894708260893822, -0.03321177512407303, 0.07736223191022873, -0.029022999107837677, -0.005371528677642345, -0.009890182875096798, 0.024374056607484818, 0.02356315404176712, 0.084555983543396, 0.000986523344181478, 0.010815156623721123, -0.019260196015238762, -0.047230467200279236, 0.05108749121427536, -0.023223867639899254, -0.005832787603139877, 0.009631042368710041, 0.0038139165844768286, 0.01675904169678688, -0.011092712171375751, 0.01302432082593441, 0.07047323137521744, -0.0231177918612957, -0.0020142493303865194, -0.008830067701637745, 0.034611936658620834, 0.02239510789513588, 0.014797704294323921, -0.04589441791176796, -0.005415713880211115, -0.008157528936862946, -0.03162630647420883, -0.014680968597531319, -0.017543287947773933, -0.01844746805727482, 0.05408819764852524, -0.008593729697167873, -0.013197207823395729, 0.023840025067329407, 0.017700858414173126, -0.02719797007739544, -0.0626697763800621, -0.050904251635074615, -0.040216751396656036, -0.0526156909763813, -0.021758653223514557, 0.011202545836567879, -0.0003436288970988244, -0.02386331744492054, -0.014984673820436, -0.03905993700027466, -0.029321566224098206, 0.04685179516673088, -0.06580618023872375, -0.044789332896471024, 0.021101312711834908, 0.022948509082198143, 0.024001235142350197, 0.03689831867814064, 0.04293781518936157, -0.01606983318924904, -0.02611418627202511, -0.036092568188905716, 0.015269909054040909, 0.021243389695882797, 0.01157890073955059, -0.010644940659403801, -0.0917041078209877, 0.03514943644404411, 0.02508351393043995, -0.004293644335120916, -0.07259076088666916, 0.04090098664164543, 0.008170783519744873, -0.024886343628168106, 0.05541221424937248, -0.018853945657610893, 0.011772355996072292, -0.02025802992284298, -0.00035954895429313183, -0.02194485254585743, -0.000027249017875874415, 0.047351181507110596, -0.019419506192207336, 0.09198147058486938, 0.025625698268413544, -0.008544734679162502, -0.043091025203466415, -0.004796058405190706, -0.007197303231805563, -0.005352890118956566, -0.022571880370378494, -0.04493185877799988, -0.020060596987605095, -0.06614091247320175, -0.012262322939932346, 0.014373800717294216, -0.018089061602950096, -0.0434638187289238, 0.029060866683721542, 0.019193105399608612, -0.049780022352933884, 0.02656053565442562, -0.03743153065443039, 0.035745128989219666, -0.028525354340672493, -0.004002721514552832, 0.006699418183416128, 0.009192179888486862, 0.005334937013685703, 0.025268927216529846, 0.02081688866019249, -0.03091328591108322, 0.0005161738954484463, 0.009958721697330475, 0.03987272083759308, 0.03722377121448517, 0.013207884505391121, 0.001210157759487629 ]
[ -0.11885607242584229, -0.017223689705133438, -0.023557785898447037, -0.04260743409395218, 0.03042667731642723, -0.044394560158252716, -0.010685190558433533, 0.04069118946790695, 0.007702746894210577, -0.025375355035066605, 0.014750104397535324, -0.00040593722951598465, -0.001979301916435361, -0.013089136220514774, 0.06572370231151581, 0.033900536596775055, -0.01816149428486824, -0.054806631058454514, 0.008508093655109406, 0.004620996303856373, -0.009368134662508965, -0.04043399170041084, -0.03267497196793556, -0.009180826134979725, -0.007580805569887161, 0.03668360784649849, 0.013285048305988312, -0.035464927554130554, 0.01443489734083414, -0.19598054885864258, -0.01159200631082058, 0.022881941869854927, 0.04746724292635918, -0.019462794065475464, 0.02370040863752365, 0.020998742431402206, 0.01513865776360035, 0.0189204141497612, -0.010241356678307056, 0.04993177950382233, -0.0016214046627283096, 0.03612911328673363, -0.06352810561656952, -0.02409336343407631, 0.03937521204352379, 0.0384315587580204, 0.021947288885712624, -0.03577842190861702, -0.012519014067947865, 0.020028436556458473, -0.05854702740907669, -0.023650068789720535, -0.010044309310615063, -0.004579474683851004, -0.021727656945586205, 0.030526932328939438, 0.027319423854351044, 0.09355659037828445, 0.00845537893474102, -0.0026301227044314146, 0.03406525030732155, -0.020119119435548782, -0.11268150061368942, 0.08608411252498627, 0.07403251528739929, 0.06692744791507721, -0.01710851490497589, -0.06261605024337769, -0.017825286835432053, 0.10491760820150375, -0.010804605670273304, -0.029701879248023033, -0.018178783357143402, 0.04002942889928818, 0.011560373939573765, 0.005457497201859951, 0.019423039630055428, 0.025307733565568924, 0.00627147639170289, -0.037161149084568024, -0.029626568779349327, -0.0027156309224665165, 0.0013845340581610799, -0.019892049953341484, -0.052069041877985, 0.0036031557247042656, -0.0176449716091156, 0.050307635217905045, 0.03545062988996506, 0.007678819354623556, 0.05721919983625412, -0.025039343163371086, 0.0765238031744957, -0.005434501450508833, -0.07495743781328201, 0.0041688005439937115, -0.009434167295694351, 0.02918168343603611, -0.05255482345819473, 0.46535733342170715, -0.045411963015794754, -0.02017471008002758, 0.06983369588851929, 0.03309212997555733, -0.008390344679355621, -0.0029527698643505573, 0.012719650752842426, -0.04895123839378357, 0.01284622959792614, -0.050004877150058746, 0.030201245099306107, 0.01028369925916195, 0.10720571130514145, 0.00007594279304612428, 0.017981648445129395, 0.03615272790193558, 0.019107913598418236, 0.010275136679410934, -0.0007376697612926364, -0.005214669741690159, -0.011653434485197067, 0.013855420984327793, 0.01506087463349104, -0.020458778366446495, -0.021791372448205948, -0.014370763674378395, 0.009111112914979458, 0.07944070547819138, 0.011368043720722198, -0.005684451200067997, 0.040094904601573944, -0.053098443895578384, -0.01946500688791275, 0.005458577070385218, -0.011156001128256321, 0.000679871067404747, 0.018077926710247993, -0.00568181648850441, 0.018955375999212265, 0.014813141897320747, 0.010192080400884151, -0.044286277145147324, 0.006498603615909815, 0.023223310708999634, -0.03263252601027489, 0.08976548165082932, -0.009604143910109997, -0.04970128834247589, 0.004019023384898901, -0.028111295774579048, 0.014943370595574379, 0.03664611652493477, -0.02655372954905033, -0.07349837571382523, 0.015656307339668274, 0.015159967355430126, 0.09510640054941177, 0.004359756130725145, -0.05346013605594635, 0.008302312344312668, 0.023619620129466057, -0.02474907599389553, -0.060804661363363266, 0.030527599155902863, 0.06514950096607208, -0.06700291484594345, -0.0040030209347605705, -0.01643540896475315, 0.04182813689112663, -0.05656487122178078, -0.009051606059074402, 0.010397356003522873, -0.01735631562769413, -0.004232796840369701, 0.029157327488064766, -0.02885286696255207, -0.019080547615885735, 0.02701551839709282, 0.04531114548444748, 0.03386939316987991, 0.012607056647539139, -0.001194309676066041, -0.06695606559515, 0.0039701261557638645, -0.02828354388475418, -0.0773812085390091, -0.03994162753224373, -0.004344842862337828, -0.010196054354310036, -0.0012481855228543282, -0.020386261865496635, -0.006655327044427395, -0.08972438424825668, 0.07919557392597198, -0.023941604420542717, -0.04066719114780426, 0.012224826961755753, -0.017143435776233673, -0.025477498769760132, -0.002278876956552267, -0.041977621614933014, 0.022031109780073166, -0.034700099378824234, 0.01889282837510109, -0.06229081377387047, 0.07415634393692017, 0.04434697702527046, -0.06536756455898285, 0.07497622072696686, 0.04625026509165764, -0.022198060527443886, -0.035741716623306274, 0.006927841808646917, 0.028538864105939865, 0.0220032911747694, -0.030909471213817596, -0.013662820681929588, 0.004207274876534939, 0.0020576368551701307, -0.005545582622289658, -0.02759012207388878, 0.004736888222396374, -0.0381619818508625, -0.33241477608680725, -0.0499284453690052, -0.04285057261586189, -0.016323506832122803, -0.01904531568288803, -0.06030496209859848, 0.01900562271475792, -0.023307694122195244, -0.05023041367530823, 0.008359977044165134, 0.052435021847486496, -0.0053522405214607716, 0.006828588899224997, -0.06783998012542725, 0.0034404920879751444, 0.0024796249344944954, -0.025557534769177437, -0.003980414010584354, -0.04204073175787926, 0.01666523516178131, -0.026544485241174698, 0.007728121243417263, -0.013501273468136787, -0.056272514164447784, -0.009681853465735912, -0.04757821932435036, 0.10833952575922012, 0.0023988578468561172, 0.10557011514902115, 0.010171880014240742, 0.025060415267944336, -0.0052466304041445255, 0.02316603995859623, -0.10672136396169662, 0.02054097317159176, 0.0199827179312706, -0.031922705471515656, -0.005578720010817051, 0.027637599036097527, -0.04402966424822807, -0.038321711122989655, 0.01119626872241497, -0.07078596949577332, -0.04113875702023506, -0.052075453102588654, 0.016111189499497414, -0.03404908999800682, -0.039342720061540604, -0.03394157066941261, 0.08698444068431854, 0.02454427070915699, -0.004746582359075546, 0.00625743018463254, 0.036414679139852524, -0.0056712813675403595, -0.018344005569815636, -0.0665522962808609, 0.012902144342660904, 0.023129744455218315, 0.0004080718499608338, 0.04536189138889313, 0.06628647446632385, 0.03856521472334862, -0.07222627103328705, 0.029236946254968643, 0.017181573435664177, -0.013709438033401966, -0.004088215064257383, 0.040735531598329544, -0.002212290884926915, -0.019065795466303825, 0.1167769730091095, -0.009290765039622784, -0.0674482136964798, 0.00501383189111948, 0.05841952562332153, -0.02274104580283165, 0.030393391847610474, 0.005799540784209967, -0.022548122331500053, 0.029121827334165573, -0.010786782018840313, 0.033102575689554214, -0.031752895563840866, -0.016401736065745354, 0.018173150718212128, -0.04693177714943886, -0.003235912648960948, 0.06343590468168259, -0.001097874715924263, -0.0305563285946846, 0.008193593472242355, -0.000627398316282779, -0.06769567728042603, 0.07022866606712341, 0.007532844319939613, -0.23471416532993317, -0.009029543027281761, 0.07628560066223145, 0.045693427324295044, -0.01492707896977663, 0.05613543093204498, 0.03525453433394432, -0.041155923157930374, 0.022128017619252205, -0.01768796518445015, 0.0020921581890434027, 0.0395086407661438, 0.0006002081208862364, -0.0033468108158558607, 0.03446004167199135, -0.042295459657907486, 0.031705375760793686, -0.032476961612701416, 0.009599857032299042, 0.0053488463163375854, 0.015273085795342922, 0.010926553048193455, 0.14467139542102814, 0.021693015471100807, 0.023983890190720558, -0.005339058581739664, 0.030359355732798576, 0.04194224253296852, 0.061327267438173294, 0.003030882915481925, -0.03481601923704147, 0.003691836027428508, 0.0028009021189063787, 0.000910596048925072, 0.03342248871922493, -0.091639943420887, -0.044552575796842575, 0.014245894737541676, 0.04106505215167999, 0.010768181644380093, 0.0011533594224601984, 0.007910850457847118, -0.020101437345147133, 0.005916445050388575, 0.07071173191070557, 0.05153727903962135, -0.003984739538282156, -0.01516304537653923, -0.042037587612867355, 0.010216975584626198, -0.025829507037997246, -0.036652080714702606, 0.0004977068747393787, -0.020257756114006042, 0.003666861914098263, 0.06283357739448547, -0.004307704046368599, -0.010114781558513641, 0.009711133316159248, 0.010512562468647957, -0.02591656893491745, -0.021135574206709862, 0.12060465663671494, 0.022489363327622414, 0.029958877712488174 ]
[ -0.0425572507083416, -0.012197650969028473, 0.0017122374847531319, -0.010072803124785423, -0.028886811807751656, 0.0213167667388916, -0.0005555502139031887, -0.0015794271603226662, 0.003228016896173358, 0.003201170591637492, 0.02365203946828842, 0.03427303954958916, 0.01686101220548153, -0.01635073311626911, 0.013285769149661064, 0.007928740233182907, -0.027044272050261497, -0.005521787330508232, 0.00448110094293952, -0.02071410045027733, -0.012763964012265205, 0.0013327507767826319, -0.014630290679633617, 0.006509973667562008, -0.02736060321331024, 0.026408014819025993, -0.0331144817173481, -0.005927679128944874, 0.015613649971783161, -0.13174957036972046, -0.0265608299523592, -0.02974940836429596, 0.016775378957390785, 0.0345204696059227, -0.018862443044781685, 0.005233176052570343, -0.000758890644647181, 0.014572588726878166, -0.00149219436571002, 0.0033896167296916246, -0.008833823725581169, 0.008943377994000912, -0.025651033967733383, 0.002250989666208625, -0.011930598877370358, 0.0028697913512587547, -0.005611427128314972, -0.01493319682776928, -0.017156632617115974, -0.029471946880221367, -0.007502422668039799, 0.019618796184659004, 0.005356940906494856, -0.0058219945058226585, 0.04142493009567261, -0.01941847801208496, 0.02509388141334057, 0.003042696975171566, -0.0261182002723217, -0.03664250299334526, -0.01095122005790472, 0.007918789982795715, -0.05210106447339058, -0.012446984648704529, -0.00664564361795783, 0.0016988812712952495, -0.007879653945565224, 0.035357516258955, -0.021387245506048203, 0.0027397461235523224, 0.014889247715473175, 0.016740379855036736, -0.027857966721057892, 0.008760265074670315, 0.020881183445453644, 0.013701322488486767, 0.006166255101561546, -0.01725492812693119, 0.01271142903715372, -0.018143167719244957, -0.035290058702230453, 0.03906022757291794, 0.01154537033289671, 0.012182802893221378, 0.024326888844370842, -0.015303824096918106, -0.00650386419147253, -0.000301986321574077, 0.027758149430155754, 0.005264995153993368, -0.017772838473320007, 0.015367493964731693, 0.020078405737876892, 0.014759605750441551, -0.07601795345544815, 0.008857558481395245, -0.00874737836420536, -0.024820003658533096, 0.0047384160570800304, 0.8760263919830322, 0.01053519919514656, 0.02649947628378868, 0.021671349182724953, -0.00027800194220617414, 0.022200288251042366, 0.0023419635836035013, -0.008490592241287231, 0.006799054332077503, 0.017817193642258644, -0.030124465003609657, 0.031539514660835266, 0.005456306505948305, 0.02912011742591858, 0.021545618772506714, 0.04214148595929146, 0.0033294500317424536, 0.01964458078145981, 0.031438715755939484, -0.00014484381244983524, -0.004697289317846298, 0.02526366524398327, -0.00727476691827178, 0.017426490783691406, 0.015760544687509537, 0.00737773347645998, -0.15541623532772064, -0.028512006625533104, -8.604889011719834e-33, 0.023411033675074577, 0.0053974660113453865, 0.0032891586888581514, -0.0123865632340312, 0.0014429751317948103, -0.015397107228636742, 0.0006249555735848844, 0.025715790688991547, -0.008470631204545498, -0.023983988910913467, 0.00030323100509122014, -0.04155442863702774, -0.002286950359120965, -0.03887706249952316, 0.017550216987729073, -0.005504358559846878, -0.008078069426119328, 0.023952780291438103, -0.02324320748448372, 0.025565048679709435, 0.016499198973178864, 0.031002305448055267, 0.0018785054562613368, 0.007331626024097204, -0.028448335826396942, 0.01817602477967739, 0.014723612926900387, 0.009495824575424194, 0.018342675641179085, -0.05305672064423561, -0.011591589078307152, 0.030682791024446487, -0.006100889761000872, 0.004573621321469545, -0.012548955157399178, -0.018641764298081398, -0.00519627844914794, 0.007829425856471062, -0.017445441335439682, -0.01864750124514103, -0.018662504851818085, -0.008105311542749405, -0.039396077394485474, -0.02546631544828415, 0.010484574362635612, -0.03832550719380379, -0.04298383370041847, -0.0009627427789382637, 0.026101091876626015, 0.01916194148361683, 0.016385048627853394, 0.02222028747200966, 0.021228468045592308, 0.0018573780544102192, -0.041983190923929214, 0.012862852774560452, -0.007673271000385284, -0.0018912657396867871, 0.022961637005209923, 0.02059091441333294, 0.020142385736107826, -0.005512884818017483, -0.01600165292620659, 0.03161810711026192, -0.010112637653946877, -0.020190097391605377, 0.02084166929125786, -0.022052101790905, 0.03169868513941765, -0.02955612540245056, -0.051775213330984116, -0.002814189065247774, -0.009124811738729477, 0.014779916033148766, -0.01769002340734005, -0.000934783136472106, -0.004417018033564091, -0.009633592329919338, -0.007242746185511351, 0.013526832684874535, -0.019638238474726677, 0.011710817925632, -0.009266713634133339, -0.032707542181015015, -0.028345612809062004, -0.006051951088011265, -0.005757346749305725, -0.029619235545396805, -0.025561662390828133, 0.017576629295945168, 0.03724472224712372, -0.004650691989809275, 0.036189209669828415, -0.01635895110666752, 0.0036566215567290783, 8.4110580747929e-33, 0.0018869191408157349, -0.03635520115494728, 0.003517529694363475, -0.01100199855864048, 0.02113763615489006, -0.005669694859534502, -0.015885602682828903, 0.005228352267295122, -0.06582128256559372, 0.013872130773961544, -0.04388776794075966, 0.02101185731589794, 0.005720279645174742, 0.053208377212285995, 0.04357139393687248, 0.005365727469325066, 0.030163252726197243, 0.006152871064841747, 0.02465817704796791, 0.0008991689537651837, 0.03400595858693123, 0.0018066525226458907, 0.01987333409488201, 0.01168297603726387, 0.003693146863952279, 0.06308882683515549, -0.02214493229985237, 0.01946520432829857, 0.031547363847494125, -0.033521562814712524, 0.001188460853882134, -0.024358397349715233, 0.008640493266284466, -0.044166095554828644, 0.018101142719388008, -0.003921841271221638, 0.013608247973024845, -0.018136100843548775, -0.027934102341532707, 0.002604827983304858, -0.006954643875360489, -0.003195659490302205, 0.00602578604593873, 0.026290373876690865, 0.0109593216329813, 0.029074588790535927, 0.023678360506892204, -0.029904723167419434, -0.0064739808440208435, 0.007097344379872084, 0.0006095945718698204, -0.003878754796460271, 0.02007191814482212, 0.03053322620689869, 0.005227250512689352, -0.02657129429280758, -0.012927250005304813, 0.008203989826142788, -0.012897922657430172, 0.007667828351259232, -0.011242415755987167, 0.0021529835648834705, -0.04367303103208542, -0.011368902400135994, -0.043839871883392334, -0.0006947648944333196, -0.04146742448210716, -0.005509973503649235, -0.019375132396817207, -0.014471725560724735, -0.02001362293958664, 0.0019472666317597032, 0.00045260839397087693, 0.029834695160388947, 0.02389538288116455, -0.014654078520834446, -0.02346840128302574, 0.02088257484138012, -0.03261303901672363, 0.036643508821725845, 0.017921410501003265, -0.023625779896974564, 0.01800880767405033, 0.0010681964922696352, -0.018324589356780052, 0.0289105623960495, 0.018356364220380783, 0.0302607249468565, -0.003947787918150425, -0.014953534118831158, -0.05469644069671631, -0.0023285355418920517, 0.021935462951660156, 0.017395295202732086, -0.01461232453584671, -1.4073692433669294e-8, -0.02426735684275627, 0.018814973533153534, -0.015110169537365437, 0.028638755902647972, 0.005783934611827135, -0.01943044550716877, 0.007222816813737154, -0.02069023624062538, -0.06685783714056015, 0.0019285391317680478, 0.04632600024342537, -0.018592361360788345, 0.00602404261007905, 0.00009705950651550665, 0.024559037759900093, -0.035040535032749176, -0.01929863542318344, -0.0013508796691894531, 0.029784806072711945, 0.01022077165544033, 0.0214740838855505, 0.05236392840743065, -0.02548995241522789, 0.008958844467997551, -0.022091923281550407, 0.016261518001556396, -0.002332873409613967, -0.08090662211179733, -0.019893428310751915, 0.00714967492967844, 0.011055088602006435, -0.022407228127121925, 0.00012515787966549397, 0.0387609489262104, -0.02178344316780567, -0.06958410143852234, 0.005912221968173981, 0.009850410744547844, 0.015511610545217991, -0.0032868157140910625, 0.02330581471323967, -0.01652473770081997, 0.007067799102514982, -0.02023637294769287, 0.01620635949075222, 0.008825896307826042, 0.010050656273961067, -0.014723100699484348, -0.011935005895793438, -0.016181759536266327, 0.010718141682446003, 0.003357155015692115, 0.010523220524191856, 0.04328804463148117, 0.0055577014572918415, 0.0020323358476161957, 0.015399185940623283, 0.032313618808984756, -0.01652221567928791, -0.0023030696902424097, 0.006073052529245615, 0.03166838735342026, -0.011125496588647366, -0.037750013172626495 ]
coding-the-guilty-bystander
https://markhneedham.com/blog/2009/08/30/coding-the-guilty-bystander
false
2009-08-08 23:50:49
Coding Dojo #21: TDD as if you meant it revisited
[ "coding-dojo" ]
[ "Coding Dojo" ]
In this weeks dojo we decided to revisit the "TDD as if you meant it' exercise originally invented by Keith Braithwaite for the Software Craftsmanship Conference but recently http://gojko.net/2009/08/02/tdd-as-if-you-meant-it-revisited/[tried out at the Alt.NET UK Conference in London]. The idea was to write code for 'tic tac toe' or 'naughts and crosses' and we were following these requirements: * a game is over when all fields are taken * a game is over when all fields in a column are taken by a player * a game is over when all fields in a row are taken by a player * a game is over when all fields in a diagonal are taken by a player * a player can take a field if not already taken * players take turns taking fields until the game is over The http://openspacecode.googlecode.com/svn/trunk/src/2009-08-01%20London/TddAsIfYouMeanIt/[code from Alt.NET UK is available on Google Code] and what I found quite interesting is that the solutions are really quite different to each other. Our http://bitbucket.org/codingdojosydney/tic_tac_toe_as_if_you_mean_it/src/tip/src/org/thoughtworks/dojo/awesome/NaughtsAndToesTest.java[code is up on bitbucket] and again it is quite different to the other approaches. == The Format For most of this week's dojo http://intwoplacesatonce.com/[Dave] and I just worked together on the problem although a colleague did come and join us for the last half an hour or so. We were just pairing on a Mac. == What We Learnt * We coded in Java in http://www.eclipse.org/[eclipse] which I haven't used for about a year and I was really surprised at how rapid the feedback cycle was. We seemed to be able to write a test and have it failing within seconds which is brilliant and just the way it should be whereas I've got used to a much slower feedback loop when using Visual Studio. * We noticed as we did http://www.markhneedham.com/blog/2009/05/15/coding-dojo-14-rock-scissors-paper-tdd-as-if-you-meant-it/[the previous] http://www.markhneedham.com/blog/2009/04/30/coding-dojo-13-tdd-as-if-you-meant-it/[times] when we did this exercise that you *notice objects in the code that you wouldn't normally have noticed* if we hadn't been writing all the implementation details in the test first. The 'Square' object was one which neither I nor Dave had expected to exist. We had imagined that code would end up on the 'Game' object and interestingly just before our colleague joined us we had drifted from the rules of the exercise and actually written the outline of a method on the game object to satisfy the 5th acceptance criteria 'a player can take a field if not already taken'. Luckily we undid that and it became obvious that the new code should be on an object of its own so that's what we did. * The code we have at the moment has everything implemented just using booleans which felt really weird when we were writing the code but seemed to be the simplest thing to do to meet the acceptance criteria. We discussed this at the time and it seemed that any alternative approach where we didn't do this would end up with us writing a really big test (perhaps with players making moves), therefore meaning the feedback cycle would be really slow. == For next time * I think it would probably be quite interesting to try out this type of exercise and commit to either Git or Mercurial after each of the small steps so that we could see the story of the code more clearly afterwards. * During our http://www.markhneedham.com/blog/2009/07/11/continuous-integration-community-college-discussion/[discussion on Continuous Integration a few weeks ago] it was suggested that we could some sessions on parallelising tests and writing impersonators during one of our coding dojos so we might look at doing that next time around.
null
null
[ 0.0012246741680428386, 0.0053184302523732185, -0.01388664823025465, 0.03969637304544449, 0.05755528062582016, -0.004779186565428972, 0.028169896453619003, 0.05198175832629204, 0.018151534721255302, -0.014319155365228653, -0.005501094274222851, -0.0005831974558532238, -0.054621193557977676, 0.005715210922062397, -0.03669193014502525, 0.06511115282773972, 0.06997192651033401, -0.01917487382888794, 0.017188558354973793, -0.004133196081966162, 0.017681315541267395, 0.06348861008882523, 0.0008949768962338567, 0.03963758423924446, 0.024960272014141083, 0.028697634115815163, 0.016531305387616158, 0.008810571394860744, -0.06269602477550507, -0.01543230190873146, 0.03784656524658203, 0.002288239076733589, 0.028950992971658707, -0.03159206733107567, -0.008210940286517143, -0.008934836834669113, -0.024400029331445694, 0.0450264997780323, -0.0038029365241527557, 0.013138728216290474, -0.061940763145685196, 0.041848693042993546, -0.00241335341706872, 0.012620488181710243, -0.04860639199614525, 0.009601219557225704, -0.035077713429927826, 0.00706498185172677, -0.006933730095624924, 0.0024660916533321142, -0.06421708315610886, 0.03733554109930992, -0.013436726294457912, 0.0011155096581205726, -0.023448513820767403, 0.05255644768476486, 0.05617115646600723, -0.05550049617886543, 0.018148278817534447, -0.05814729630947113, -0.003395204897969961, -0.019667349755764008, 0.009606805630028248, 0.023000404238700867, 0.011564085260033607, -0.027686461806297302, -0.004030601121485233, 0.043503426015377045, -0.01610870286822319, -0.009305143728852272, -0.018305528908967972, 0.013517607003450394, -0.01497066393494606, -0.04727664217352867, 0.0270072054117918, -0.04353085905313492, 0.005556557793170214, 0.05737858638167381, 0.013236231170594692, 0.01966968923807144, -0.04094561189413071, 0.01122927013784647, 0.028267987072467804, 0.021066831424832344, -0.00416750879958272, -0.03484232723712921, 0.0011659277370199561, -0.016319846734404564, -0.04958246275782585, 0.055198315531015396, 0.010548482649028301, -0.049228131771087646, 0.01740897074341774, 0.03170472010970116, -0.008177532814443111, 0.023334400728344917, 0.03073408454656601, -0.006500403396785259, -0.003429007949307561, -0.02340991422533989, -0.01348089799284935, -0.021645965054631233, 0.029481200501322746, 0.014209643006324768, -0.07982584089040756, 0.007920145988464355, -0.0072261556051671505, -0.03499103710055351, 0.008996809832751751, 0.025142278522253036, -0.03427470847964287, 0.004098457284271717, -0.00011995880777249113, -0.005197164136916399, -0.0757298544049263, 0.060398660600185394, 0.010757978074252605, -0.02092178910970688, -0.019001241773366928, 0.028357312083244324, 0.02986379712820053, 0.018975531682372093, -0.0014463034458458424, 0.10244692862033844, 0.021957416087388992, 0.03192049264907837, -0.0289290901273489, 0.05130491778254509, -0.0025575337931513786, -0.057585813105106354, 0.0006659337668679655, 0.0378524512052536, -0.034818846732378006, 0.005695340223610401, 0.01457584835588932, -0.024897607043385506, 0.004161729943007231, -0.021523943170905113, 0.014348731376230717, 0.04999108985066414, -0.030998215079307556, -0.01801503449678421, 0.02406751550734043, -0.015176815912127495, 0.0011094911023974419, 0.014963580295443535, -0.022896861657500267, -0.021204395219683647, -0.025108017027378082, 0.019521266222000122, -0.0051195016130805016, 0.009597214870154858, 0.023747606202960014, -0.0361122228205204, 0.009086755104362965, 0.08327785134315491, -0.007896654307842255, 0.029753198847174644, -0.029409559443593025, 0.04454304650425911, 0.04452776163816452, 0.02030242793262005, 0.0008880214882083237, 0.0272944588214159, 0.0030326100531965494, -0.001353918807581067, 0.014644129201769829, 0.038853347301483154, -0.02643158659338951, 0.0105604762211442, -0.06627776473760605, -0.03702737018465996, 0.05978991463780403, -0.07161921262741089, -0.016667110845446587, 0.041076432913541794, 0.06061903014779091, 0.029587624594569206, 0.023701438680291176, 0.00405031768605113, -0.07963264733552933, -0.0037539617624133825, 0.019243067130446434, 0.015914298593997955, 0.029654501006007195, -0.031017838045954704, 0.058420002460479736, 0.02896696887910366, -0.0006213356973603368, 0.05144626274704933, -0.08606498688459396, -0.09333691000938416, -0.004411933943629265, -0.009032371453940868, 0.0683598592877388, -0.04271792992949486, 0.008409861475229263, 0.0562065988779068, 0.021605176851153374, 0.04643155261874199, 0.02798747830092907, -0.006224912125617266, 0.028606396168470383, -0.03284819424152374, -0.029039759188890457, 0.03653659299015999, 0.0455084964632988, -0.01189855020493269, -0.057542670518159866, 0.018712179735302925, 0.005410236306488514, -0.012662133201956749, 0.03442853316664696, -0.013854354619979858, 0.030071545392274857, 0.0350738950073719, 0.04522883519530296, -0.007465611677616835, 0.0620681494474411, -0.07915163785219193, -0.0031625910196453333, 0.008088836446404457, -0.017682671546936035, 0.009050454013049603, 0.00557265430688858, 0.1253773272037506, 0.028871582821011543, -0.04876827076077461, -0.027511345222592354, -0.0011421794770285487, -0.004577178508043289, -0.039874207228422165, -0.012767662294209003, -0.024150975048542023, 0.018042508512735367, -0.020209016278386116, -0.04929564520716667, -0.038559067994356155, 0.013490834273397923, -0.039374176412820816, 0.01664268970489502, 0.0748884454369545, -0.010633042082190514, 0.05287637561559677, -0.020938746631145477, -0.006882681977003813, 0.0018378077074885368, 0.005086226854473352, -0.033161461353302, 0.007183349225670099, 0.028456803411245346, -0.02302009053528309, 0.04634508490562439, -0.024101994931697845, -0.04012948274612427, -0.0229553934186697, -0.01646254025399685, -0.00342280394397676, 0.04793452098965645, 0.05721249803900719, -0.01779390126466751, 0.04510046914219856, 0.0027347011491656303, 0.010848356410861015, -0.01209168042987585, -0.0685875192284584, -0.031635306775569916, 0.0000013024535974182072, -0.011863765306770802, 0.023339146748185158, -0.0023855306208133698, 0.03237725421786308, 0.039246901869773865, -0.015340692363679409, -0.029025258496403694, -0.007207269314676523, 0.03188071399927139, 0.010908938944339752, -0.03825168311595917, -0.01554077584296465, -0.03396715596318245, 0.038865845650434494, -0.04168451204895973, -0.01766304299235344, 0.026713691651821136, -0.06199360638856888, 0.05142676457762718, -0.08075631409883499, -0.06877036392688751, 0.02520974911749363, 0.007697472348809242, 0.05817580223083496, -0.03132597729563713, 0.025490568950772285, 0.07509703934192657, -0.011865820735692978, 0.029094068333506584, -0.01305408962070942, 0.006026384420692921, 0.036112502217292786, 0.010460852645337582, 0.010079820640385151, 0.020386958494782448, -0.007809069938957691, -0.0023554882500320673, -0.04490004852414131, 0.037765022367239, -0.01587880402803421, -0.2850111126899719, 0.021883271634578705, -0.0036495239473879337, -0.04909123107790947, 0.029882196336984634, -0.0031678499653935432, 0.017074689269065857, -0.04619443789124489, -0.031422920525074005, 0.013143070042133331, -0.04985223338007927, -0.047220710664987564, -0.03397240862250328, 0.056903887540102005, 0.011893902905285358, 0.015960605815052986, 0.022011958062648773, -0.054850172251462936, 0.019686972722411156, 0.05450042337179184, -0.009551131166517735, -0.06876559555530548, -0.009319682605564594, 0.04517005756497383, 0.030285777524113655, 0.0689692497253418, -0.09274714440107346, 0.004745150450617075, -0.023960895836353302, 0.011063555255532265, 0.028947558254003525, 0.01605513133108616, -0.0023841960355639458, -0.015939366072416306, -0.027005402371287346, 0.006181074306368828, 0.046909112483263016, -0.005009104032069445, -0.006260510999709368, 0.008044266141951084, -0.028470339253544807, -0.04418301582336426, -0.012740543112158775, 0.006371567957103252, 0.08050201088190079, 0.005557443480938673, -0.06193019077181816, -0.0067349085584282875, -0.033274874091148376, 0.06927485764026642, -0.024502769112586975, -0.026301700621843338, 0.006438783369958401, 0.020434631034731865, -0.021579137071967125, -0.02387731894850731, 0.008109822869300842, -0.007043282967060804, -0.028670357540249825, -0.03818429261445999, -0.029974667355418205, -0.0390002503991127, -0.015703920274972916, -0.04186561331152916, 0.02405085787177086, -0.09267660975456238, -0.03558702766895294, 0.01841086708009243, 0.07929790765047073, 0.028053445741534233, -0.02573719248175621, 0.012405077926814556, -0.015522299334406853, -0.11623896658420563, -0.011552891694009304, 0.016393696889281273, -0.015976838767528534, -0.013383773155510426, 0.013514893129467964, 0.05914212390780449, -0.03333469107747078, -0.04760453850030899, 0.04468128830194473, -0.0032168710604310036, 0.01292386557906866, -0.006773603148758411, 0.047506023198366165, 0.020250758156180382, -0.003984382376074791, 0.0012497876305133104, 0.07883454859256744, -0.004157086834311485, -0.0308226365596056, -0.027345959097146988, 0.05327211692929268, 0.0429498590528965, 0.04120226204395294, -0.014201460406184196, 0.001821625861339271, 0.02744952403008938, -0.005556818097829819, -0.05951409786939621, 0.042906202375888824, -0.029201122000813484, -0.0070913066156208515, -0.03448225185275078, -0.051609378308057785, 0.025931064039468765, 0.02208949439227581, 0.04796244576573372, -0.006756724789738655, -0.03991352394223213, 0.004932083189487457, -0.03873550146818161, -0.0239755529910326, -0.04284486174583435, 0.024994589388370514, 0.04332079738378525, -0.026490643620491028, -0.013853783719241619, -0.06374241411685944, 0.006878322456032038, 0.01522438321262598, -0.010567465797066689, -0.04092010110616684, -0.01906244270503521, -0.014915349893271923, -0.014669477008283138, 0.031624577939510345, -0.003577904775738716, -0.01195501908659935, 0.0509808249771595, 0.013065032660961151, -0.013691472820937634, 0.016156718134880066, -0.029150737449526787, -0.054540880024433136, -0.024317467585206032, -0.008286049589514732, 0.00030335792689584196, 0.016412809491157532, 0.017559146508574486, 0.013012215495109558, 0.008093067444860935, 0.037598080933094025, -0.014677285216748714, 0.017926422879099846, -0.012212407775223255, 0.015899231657385826, 0.016149815171957016, 0.016548117622733116, -0.08457230031490326, 0.02301011234521866, -0.052026279270648956, -0.033917561173439026, -0.027752384543418884, 0.023711608722805977, -0.015887096524238586, -0.022200390696525574, -0.020887836813926697, 0.002273733261972666, -0.03234924376010895, -0.03680914640426636, -0.031291618943214417, 0.02346554398536682, 0.056468404829502106, 0.006848717108368874, 0.019733669236302376, -0.031378090381622314, -0.03457479551434517, -0.005077337846159935, 0.007547530345618725, -0.03916510194540024, 0.0046815527603030205, -0.0029482964891940355, -0.010302882641553879, 0.009576006792485714, -0.03179699927568436, 0.04243778809905052, 0.013560961000621319, 0.006077715661376715, -0.012338912114501, 0.00936128105968237, 0.040652766823768616, 0.050595417618751526, -0.011988227255642414, 0.004089999478310347, 0.008249779231846333, -0.014503146521747112, -0.008563291281461716, -0.030158454552292824, -0.016950339078903198, 0.0022000689059495926, 0.035166025161743164, -0.04232240840792656, -0.06549592316150665, 0.04295068979263306, 0.029906906187534332, 0.011458824388682842, 0.012985057197511196, 0.01787429489195347, -0.008913359604775906, -0.023420562967658043, 0.021378185600042343, 0.0703945904970169, -0.05636171996593475, 0.023892095312476158, -0.011913915164768696, 0.026554986834526062, -0.0022670947946608067, -0.01757773943245411, -0.0426517091691494, -0.012441094033420086, -0.036537379026412964, -0.003025185549631715, -0.050576675683259964, -0.019813183695077896, -0.031764522194862366, 0.009914821945130825, -0.02613256871700287, -0.013015452772378922, -0.01796000264585018, -0.033182449638843536, -0.0006762602715753019, -0.029068809002637863, -0.0006146019441075623, -0.053066059947013855, 0.006389488000422716, 0.022874439135193825, -0.022374393418431282, 0.0018197802128270268, -0.01272241398692131, 0.02498186007142067, 0.02302957884967327, -0.03012651763856411, -0.02993459813296795, -0.03824959322810173, 0.017196165397763252, 0.005969075486063957, 0.03750151768326759, 0.0172487273812294, -0.022906053811311722, -0.03396841883659363, 0.005535993259400129, -0.035601288080215454, 0.02251998521387577, -0.011621728539466858, -0.04525825008749962, 0.053457342088222504, 0.07282485067844391, 0.035126037895679474, 0.04809959605336189, -0.029308877885341644, -0.019620381295681, 0.04473615065217018, -0.0938759446144104, -0.00643787020817399, -0.012044251896440983, -0.08157514035701752, 0.013225606642663479, -0.01091840397566557, 0.03797182813286781, -0.036357685923576355, 0.025121401995420456, 0.014348039403557777, 0.02011951245367527, 0.03877858445048332, -0.02851199544966221, 0.037097785621881485, -0.04759170487523079, 0.005158743355423212, -0.08514533936977386, 0.029270371422171593, 0.04048598185181618, 0.022510861977934837, -0.012853583320975304, 0.0042611462995409966, -0.025797927752137184, 0.03625740855932236, -0.039502743631601334, -0.013048884458839893, 0.052935048937797546, 0.006046561524271965, -0.02094298228621483, 0.02547919563949108, -0.06377269327640533, 0.024601764976978302, 0.02059926465153694, -0.028570951893925667, -0.03340331092476845, -0.037097230553627014, 0.04341874644160271, 0.03211311623454094, 0.011630725115537643, -0.03217127546668053, -0.013934239745140076, 0.07281392812728882, 0.003892357461154461, 0.020202377811074257, 0.037666864693164825, -0.014821810647845268, 0.05005716159939766, 0.04724552482366562, 0.004236056003719568, -0.00968103762716055, 0.013138183392584324, -0.014644509181380272, -0.042996570467948914, 0.02109779603779316, 0.006984412204474211, -0.03971554711461067, -0.03646618500351906, 0.050923146307468414, 0.030603695660829544, -0.043345216661691666, -0.02881796471774578, 0.013492070138454437, -0.05611317604780197, -0.005842249840497971, -0.027362331748008728, -0.007811666466295719, -0.04390575736761093, 0.05912065505981445, 0.013608056120574474, 0.009673267602920532, 0.07079501450061798, 0.00603193324059248, -0.03571737930178642, -0.028705144301056862, 0.07455311715602875, 0.06982976943254471, 0.04621925950050354, 0.010936491191387177, 0.06215349957346916, -0.03858715295791626, -0.05804305523633957, 0.01743253506720066, 0.009795798920094967, -0.0046617938205599785, -0.031566426157951355, 0.0029426657129079103, 0.05000762641429901, 0.0030258046463131905, 0.047342680394649506, -0.03575810417532921, -0.02586999535560608, 0.018483156338334084, 0.0293817650526762, 0.009920608252286911, 0.068886898458004, 0.017830008640885353, -0.004360108636319637, 0.01537658367305994, -0.039576902985572815, 0.03206969425082207, -0.05456032603979111, -0.019418977200984955, 0.038188088685274124, -0.006383775267750025, 0.024074435234069824, 0.0022771800868213177, 0.039875056594610214, 0.07534865289926529, -0.03993256390094757, 0.025711391121149063, -0.0073362067341804504, 0.03642044961452484, 0.00361858238466084, 0.001649242825806141, -0.01827021688222885, -0.012549158185720444, -0.015227343887090683, -0.028652742505073547, -0.034921370446681976, -0.023183945566415787, -0.02519870363175869, 0.055953238159418106, -0.028834659606218338, 0.025657039135694504, 0.04422589763998985, 0.015776153653860092, -0.029598377645015717, -0.0786668136715889, -0.04043019562959671, -0.036312248557806015, -0.05256855860352516, -0.02246016263961792, 0.04828551784157753, -0.01303866971284151, -0.04593273997306824, 0.011475466191768646, -0.0386272557079792, -0.010908270254731178, 0.03535043075680733, -0.030275847762823105, -0.05470007285475731, 0.039879634976387024, 0.005171210039407015, 0.04573894664645195, 0.02369602769613266, 0.05443894490599632, -0.01117082592099905, 0.0042510004714131355, -0.05245455726981163, 0.0031617102213203907, 0.03501873090863228, -0.0006266228738240898, 0.014318011701107025, -0.08777499198913574, 0.012515249662101269, 0.036357466131448746, -0.004645228385925293, -0.04608346149325371, 0.04370836541056633, -0.009042144753038883, -0.002367214532569051, 0.05644647404551506, -0.026979299262166023, 0.005886624567210674, -0.04642776772379875, 0.0025897077284753323, 0.01899995282292366, 0.011227983050048351, 0.04883553087711334, -0.023792529478669167, 0.09408796578645706, 0.0302871186286211, -0.03573189675807953, -0.04680437222123146, 0.008997233584523201, -0.0007227140595205128, -0.025059983134269714, 0.002364447107538581, -0.06222635507583618, -0.04061385989189148, -0.07639946788549423, 0.00013708449841942638, 0.01660885289311409, -0.01928950659930706, -0.04194417595863342, 0.02351425401866436, 0.03305752947926521, -0.0417197085916996, 0.020230289548635483, -0.04360823705792427, 0.045778702944517136, -0.03479032963514328, -0.011226985603570938, 0.013368292711675167, -0.005177536979317665, -0.03186172991991043, 0.011876692995429039, 0.04093397036194801, -0.03833026438951492, 0.0018899980932474136, 0.008031767792999744, 0.013754665851593018, 0.03312641754746437, 0.009091385640203953, -0.026920752599835396 ]
[ -0.11682700365781784, -0.00499764597043395, -0.01667366549372673, -0.043180909007787704, 0.033980246633291245, -0.014128416776657104, 0.0031542377546429634, 0.017974933609366417, 0.006891241762787104, -0.019619887694716454, -0.006359613500535488, -0.04532274976372719, -0.004945528227835894, 0.007704753428697586, 0.08603135496377945, -0.0026821305509656668, -0.022448182106018066, -0.04659778252243996, 0.00744014885276556, 0.023371417075395584, 0.0134907690808177, -0.0068070548586547375, -0.02622094191610813, -0.02326299622654915, 0.021736571565270424, 0.049263499677181244, 0.03410191833972931, -0.04039321839809418, 0.029758771881461143, -0.19887202978134155, 0.023626433685421944, -0.0029708128422498703, 0.0068639847449958324, -0.015246483497321606, -0.04583881050348282, 0.029910827055573463, -0.0025865838397294283, -0.004602717701345682, -0.02058400958776474, 0.015134185552597046, -0.016726693138480186, 0.02437906712293625, -0.03024529293179512, -0.04077623412013054, 0.04586806520819664, 0.013224693946540356, -0.015635492280125618, -0.032609723508358, -0.007645834237337112, 0.029621213674545288, -0.04898836091160774, 0.009048341773450375, 0.014643622562289238, -0.052333660423755646, 0.009298127144575119, 0.015408892184495926, 0.040639594197273254, 0.0775163471698761, 0.013559885323047638, 0.02389131486415863, 0.04519642889499664, -0.026870233938097954, -0.1365380585193634, 0.07733778655529022, 0.01830744557082653, 0.05692525953054428, -0.00982480775564909, 0.0013045386876910925, -0.01730910874903202, 0.09787843376398087, 0.02042638137936592, -0.01444991771131754, -0.016242090612649918, 0.04430140554904938, 0.024956069886684418, -0.0018662293441593647, -0.008096902631223202, 0.004602860193699598, 0.009890668094158173, -0.04477110132575035, -0.03366546332836151, -0.02462995983660221, -0.025642773136496544, -0.014708730392158031, -0.0485369935631752, 0.01398598775267601, -0.017717361450195312, 0.048889413475990295, 0.006210952065885067, 0.01777702011168003, 0.047863006591796875, 0.025957008823752403, 0.014564061537384987, 0.003598539624363184, -0.08381296694278717, -0.0028190864250063896, -0.0000334205906256102, 0.021345200017094612, -0.016247613355517387, 0.4762163460254669, -0.01330214086920023, -0.027095254510641098, 0.036011748015880585, 0.020946497097611427, -0.010175260715186596, 0.0022469842806458473, 0.016120288521051407, -0.055086471140384674, 0.015534795820713043, -0.033119458705186844, 0.003797450801357627, -0.006700163707137108, 0.07301099598407745, -0.020262233912944794, -0.011194946244359016, 0.044032588601112366, 0.04684147983789444, 0.012455185875296593, -0.002105090068653226, 0.02482040785253048, 0.002452664775773883, 0.0280448030680418, -0.009032326750457287, -0.02021653950214386, 0.0021297538187354803, -0.0340203121304512, 0.012034235522150993, 0.04868236556649208, 0.040790945291519165, 0.0017574671655893326, 0.0638381838798523, -0.0707642063498497, -0.05155891180038452, -0.006373694632202387, 0.015512410551309586, 0.0049987374804914, 0.03411952033638954, -0.025651704519987106, -0.011451587080955505, 0.04672374203801155, 0.026638757437467575, -0.05068964138627052, 0.07335258275270462, -0.01861613616347313, -0.03043062798678875, 0.08025608211755753, 0.011911156587302685, -0.049032632261514664, 0.029212085530161858, -0.01155172660946846, 0.013342289254069328, 0.01178641989827156, -0.025061674416065216, -0.04800916463136673, -0.012429307214915752, 0.010657419450581074, 0.08610951155424118, -0.004670179449021816, -0.05537327378988266, -0.02903076261281967, -0.03062247857451439, -0.030024832114577293, -0.04445977509021759, 0.017500830814242363, 0.05236673355102539, -0.08897864818572998, -0.030821543186903, 0.013974512927234173, 0.02417810447514057, -0.1009763777256012, -0.01716757006943226, 0.007149358280003071, -0.06504859030246735, -0.007399467751383781, 0.05518852919340134, -0.019044725224375725, -0.02899489738047123, -0.004493035841733217, 0.05213155597448349, 0.009615260176360607, 0.03289667144417763, 0.021171439439058304, -0.01456534955650568, -0.02092980220913887, -0.034145183861255646, -0.04270772263407707, -0.040678929537534714, -0.012631932273507118, -0.010905329138040543, -0.008342432789504528, 0.005486257374286652, -0.026233432814478874, -0.06630498915910721, 0.07467003166675568, -0.012586983852088451, -0.0225832536816597, 0.002010245341807604, -0.03437827154994011, 0.005621404852718115, -0.007194350939244032, -0.059526726603507996, 0.03612443804740906, -0.017727229744195938, 0.009567765519022942, -0.02785123512148857, 0.04231500253081322, 0.05583283305168152, -0.06306469440460205, 0.08889896422624588, 0.042615875601768494, -0.05237047001719475, -0.05218547582626343, 0.008312828838825226, 0.02176724374294281, -0.0014314615400508046, -0.0037185903638601303, -0.008695817552506924, 0.007362564094364643, -0.02330021746456623, 0.03129836916923523, -0.022127004340291023, -0.013009440153837204, 0.009673170745372772, -0.3141508400440216, -0.05988983064889908, -0.02802164852619171, -0.0015161054907366633, 0.04182356595993042, -0.03401970490813255, -0.00944732315838337, -0.04372553899884224, 0.013801573775708675, -0.014182968996465206, 0.07805661112070084, 0.0018290193984284997, -0.01728697679936886, -0.08240687847137451, -0.010602511465549469, 0.023127371445298195, -0.03343871980905533, -0.02378472313284874, -0.013120236806571484, 0.018521230667829514, 0.024404285475611687, -0.004369580652564764, -0.046704743057489395, -0.06921162456274033, -0.03651817515492439, -0.05790490284562111, 0.11021953076124191, 0.028231486678123474, 0.0844997987151146, -0.046766944229602814, 0.02381320670247078, -0.01519338134676218, -0.00007978759094839916, -0.07649999111890793, 0.018928665667772293, -0.008940989151597023, -0.006038073915988207, -0.03071773238480091, 0.038765762001276016, -0.05637272074818611, -0.06375545263290405, 0.017140932381153107, -0.054362814873456955, -0.052625883370637894, -0.035474032163619995, 0.01696910709142685, -0.027822965756058693, -0.054568808525800705, -0.01253694761544466, 0.06818164885044098, 0.025879371911287308, -0.00849304348230362, 0.018254343420267105, -0.0003125067159999162, -0.014532661065459251, -0.027339274063706398, -0.0852382481098175, 0.01557327713817358, 0.010123412124812603, -0.00788183230906725, 0.020675616338849068, 0.07080243527889252, 0.024606594815850258, -0.06077813357114792, 0.005743654444813728, 0.04167496785521507, 0.023716621100902557, -0.02597970701754093, 0.08261564373970032, -0.01683923788368702, -0.010829746723175049, 0.05447586625814438, 0.0033385385759174824, -0.0008762240177020431, 0.04047016054391861, 0.054466571658849716, 0.032631151378154755, 0.02193227782845497, 0.012798386625945568, 0.01550301443785429, 0.022844403982162476, -0.0296314787119627, 0.055273883044719696, -0.026721656322479248, -0.02411237731575966, 0.017564989626407623, 0.014535740949213505, -0.02587408758699894, 0.0812007337808609, 0.01981358788907528, -0.018670283257961273, 0.028208812698721886, -0.02623908966779709, -0.0343867652118206, 0.035727113485336304, 0.0001814495917642489, -0.2709694504737854, 0.019430015236139297, 0.07298968732357025, 0.05246753245592117, -0.0007029503467492759, 0.03745625168085098, 0.039366722106933594, -0.046629276126623154, -0.01704329624772072, -0.0047849370166659355, 0.03751935809850693, 0.014479082077741623, -0.011295579373836517, -0.014368543401360512, 0.008243217132985592, -0.028505627065896988, 0.03646925091743469, -0.011429508216679096, 0.06463391333818436, -0.013803931884467602, 0.02992027811706066, 0.017648668959736824, 0.17666661739349365, 0.005052583757787943, 0.030731115490198135, 0.03746417537331581, 0.03070572018623352, -0.008699811063706875, 0.06707028299570084, 0.0011592956725507975, -0.028816135600209236, 0.011195660568773746, 0.03788451850414276, 0.014014502987265587, 0.01676866225898266, -0.05492305010557175, -0.03628438711166382, 0.061703119426965714, -0.005993600003421307, -0.0013237071689218283, -0.004369225353002548, -0.00852252822369337, -0.02334645949304104, 0.0012174374423921108, 0.04952577129006386, 0.046637944877147675, 0.00624319352209568, -0.014761511236429214, -0.06002537161111832, -0.013009986840188503, -0.03771108388900757, -0.03578527644276619, -0.00901705026626587, -0.04109910875558853, 0.013060878962278366, 0.06900767982006073, 0.033947646617889404, -0.0059608337469398975, -0.011608405038714409, 0.01178213395178318, -0.031201764941215515, -0.007780351676046848, 0.12110631912946701, 0.03849177062511444, 0.03609565645456314 ]
[ -0.010558570735156536, -0.013915789313614368, -0.016415636986494064, -0.051636699587106705, -0.022995594888925552, 0.027790457010269165, 0.01176746841520071, 0.0262619499117136, -0.0025345725007355213, 0.02355760708451271, -0.006046241149306297, 0.013248843140900135, 0.0108623206615448, -0.03339214250445366, 0.0034961537458002567, 0.0035354027058929205, 0.004978835582733154, 0.018420176580548286, 0.04521352797746658, 0.00828025583177805, -0.043881721794605255, -0.03720071539282799, 0.003065437078475952, -0.03222787007689476, -0.007433020044118166, 0.01490301825106144, 0.002577416831627488, 0.023707358166575432, -0.014909796416759491, -0.13572371006011963, -0.05885757505893707, -0.017653891816735268, -0.01331877987831831, 0.025833748281002045, -0.022100241854786873, -0.016955068334937096, -0.011922427453100681, 0.020726697519421577, -0.01249208115041256, -0.013529708608984947, -0.026850193738937378, -0.05289354547858238, -0.009678982198238373, 0.019286708906292915, -0.008940988220274448, -0.015610073693096638, -0.012035598047077656, -0.03269487991929054, -0.005975581239908934, 0.018079491332173347, -0.05256199464201927, 0.015071548521518707, 0.01590152271091938, -0.0032287966459989548, 0.050998345017433167, -0.016636716201901436, 0.02137177810072899, 0.03728974610567093, 0.009844177402555943, 0.0138945197686553, -0.007643864024430513, -0.012171270325779915, -0.0388946570456028, -0.021045325323939323, -0.012458606623113155, -0.0148768974468112, -0.032554492354393005, 0.02738005481660366, -0.015654291957616806, -0.00507576996460557, -0.0036387345753610134, 0.04856051132082939, -0.03258388862013817, -0.013936052098870277, -0.01794438250362873, 0.016174456104636192, 0.005201766733080149, 0.006116022355854511, 0.028379108756780624, -0.026949722319841385, -0.055454157292842865, 0.03397364541888237, -0.01596478931605816, -0.015415052883327007, -0.013667412102222443, -0.008409533649682999, 0.028287092223763466, 0.01947423443198204, 0.03190407529473305, 0.011469616554677486, 0.007732862140983343, 0.02371973916888237, 0.001197620527818799, 0.009354629553854465, -0.07293544709682465, 0.015938090160489082, 0.000989534892141819, -0.03257991746068001, -0.010530299507081509, 0.8634220361709595, 0.006612848024815321, 0.02929357998073101, 0.009813538752496243, 0.014158783480525017, 0.021103467792272568, 0.010552103631198406, 0.012479608878493309, 0.013023587875068188, 0.019551269710063934, -0.06836529076099396, 0.005192996934056282, 0.01903960481286049, 0.0005697900778613985, -0.0036217316519469023, -0.03219403699040413, 0.04829099401831627, 0.010312865488231182, 0.0331093929708004, 0.00324413669295609, 0.019397420808672905, 0.040762752294540405, 0.003109126817435026, -0.005376427434384823, 0.04616366699337959, 0.01806781068444252, -0.14306914806365967, 0.02949710376560688, -6.777349413864362e-33, 0.014711147174239159, -0.028712356463074684, -0.013628960587084293, -0.006889755371958017, -0.0075082071125507355, 0.001750806113705039, 0.028566058725118637, 0.017010610550642014, -0.01448731403797865, -0.045636460185050964, -0.029638398438692093, -0.01344181690365076, -0.0017854220932349563, -0.02572275511920452, 0.029451964423060417, -0.024697713553905487, -0.002717557130381465, 0.0074978298507630825, -0.018628280609846115, 0.021041860803961754, 0.03334498405456543, 0.002469276310876012, 0.018895067274570465, 0.00013370346277952194, -0.007048535160720348, 0.03491305932402611, -0.01972721703350544, 0.0071001211181283, 0.01771477423608303, -0.03231225907802582, 0.007687218952924013, -0.03325663134455681, -0.012486126273870468, -0.011840271763503551, 0.003545791609212756, -0.027582477778196335, 0.010274328291416168, 0.0104902945458889, -0.02155197411775589, 0.003482053056359291, -0.02056407928466797, -0.0059714894741773605, -0.04567459970712662, -0.017715563997626305, -0.018226435407996178, -0.04680866375565529, 0.009512380696833134, 0.013146619312465191, -0.026185989379882812, -0.00035935480264015496, 0.022122738882899284, 0.010923633351922035, 0.019110441207885742, -0.017114413902163506, 0.007359100040048361, 0.01843903958797455, -0.019649438560009003, -0.009959068149328232, -0.012443304993212223, 0.06473607569932938, 0.03784313052892685, -0.020223524421453476, -0.03726762533187866, 0.01793714612722397, -0.04439932480454445, -0.004212668631225824, 0.0008245718199759722, -0.04572902247309685, 0.012587003409862518, -0.020281698554754257, -0.049572840332984924, 0.014945458620786667, 0.008278810419142246, 0.002241749782115221, 0.0031687915325164795, -0.009966908022761345, 0.0027874205261468887, 0.004831947386264801, 0.01577170193195343, -0.01872297003865242, 0.0028501441702246666, 0.005645100958645344, -0.051048342138528824, -0.05580458790063858, -0.017134662717580795, 0.004151354543864727, -0.00036284912494011223, -0.0564834289252758, -0.046792980283498764, 0.00490427715703845, 0.018566705286502838, 0.04465979337692261, -0.019126757979393005, -0.020204640924930573, 0.004840124864131212, 6.264800816127228e-33, -0.00556232500821352, -0.0068293604999780655, -0.009616396389901638, -0.0011987531324848533, 0.04106012359261513, -0.008560520596802235, 0.024322163313627243, 0.0021707674022763968, -0.04642697423696518, 0.013250415213406086, -0.03595269098877907, -0.014424964785575867, -0.043270405381917953, 0.016509009525179863, 0.04984631761908531, -0.027137693017721176, 0.03951307758688927, 0.010791268199682236, 0.007605867926031351, 0.005489554721862078, 0.03988439962267876, 0.01152330357581377, 0.02421686425805092, -0.01182633638381958, 0.016892671585083008, 0.03237507864832878, -0.011596232652664185, 0.019690243527293205, -0.014775278978049755, 0.009786955080926418, 0.0317741222679615, 0.0010224056895822287, -0.0004066316469106823, 0.014656065963208675, -0.0025446119252592325, 0.033777374774217606, 0.003511965973302722, -0.010182574391365051, 0.000887349306140095, 0.023956360295414925, 0.04434853047132492, -0.02825937047600746, -0.029139820486307144, 0.039485104382038116, -0.0020080087706446648, 0.03967507183551788, -0.009590249508619308, 0.020558718591928482, -0.008945468813180923, 0.023029455915093422, 0.01023265440016985, -0.0008348853443749249, 0.0036291517317295074, 0.002682494232431054, -0.018756037577986717, -0.01318993978202343, -0.02928186021745205, -0.01202765479683876, -0.011727409437298775, 0.011130474507808685, 0.007544299121946096, 0.009491062723100185, -0.0042115203104913235, 0.025475269183516502, 0.02829178236424923, 0.017266150563955307, -0.024261485785245895, 0.019007381051778793, -0.04693789407610893, -0.016819162294268608, -0.019317224621772766, 0.0023853632155805826, -0.010131599381566048, 0.032985713332891464, -0.009191387332975864, -0.028330689296126366, -0.04646670073270798, 0.0207791980355978, 0.002252961043268442, 0.012630995362997055, -0.0038661917205899954, 0.011808344163000584, 0.017964113503694534, -0.00016303322627209127, -0.008236129768192768, 0.06726351380348206, -0.007093195803463459, 0.0264139324426651, -0.0023265143390744925, -0.01189545076340437, -0.009819292463362217, -0.013040725141763687, 0.004206319805234671, 0.02623390592634678, 0.01749231107532978, -1.2799088011661297e-8, -0.013712931424379349, 0.01648426242172718, -0.030656397342681885, -0.015989048406481743, 0.021525433287024498, 0.019487326964735985, -0.016045456752181053, -0.0007466240203939378, 0.006378536578267813, 0.012899533845484257, 0.019017940387129784, 0.010614188387989998, -0.0062690782360732555, 0.017435327172279358, 0.011020360514521599, -0.020628852769732475, -0.017887748777866364, -0.019461244344711304, 0.005966618191450834, 0.027695773169398308, 0.05319027602672577, 0.030681122094392776, -0.02213694155216217, 0.009804696775972843, -0.011868610046803951, -0.024143008515238762, 0.004925374407321215, -0.06500504910945892, -0.011525181122124195, 0.002969441469758749, 0.029758000746369362, -0.026203995570540428, 0.021124178543686867, 0.028764920309185982, 0.0025174058973789215, -0.019964633509516716, 0.02081170119345188, 0.017419734969735146, 0.014695223420858383, 0.017094705253839493, -0.0401749424636364, -0.011382093653082848, -0.03594055026769638, -0.04366926848888397, -0.014167895540595055, 0.009794487617909908, -0.03756026551127434, -0.006723173428326845, -0.017565662041306496, -0.04345671832561493, 0.0019024895736947656, 0.01881328411400318, 0.012555545195937157, 0.021662255749106407, 0.02277156338095665, 0.04122674837708473, 0.004970274865627289, -0.006636613979935646, 0.004294356796890497, -0.00004557668216875754, -0.006509539671242237, 0.021448422223329544, -0.019501393660902977, -0.01074722595512867 ]
coding-dojo-21-tdd-as-if-you-meant-it-revisited
https://markhneedham.com/blog/2009/08/08/coding-dojo-21-tdd-as-if-you-meant-it-revisited
false
2009-08-08 00:49:12
Book Club: Object Role Stereotypes (Jeremy Miller)
[ "book-club", "object-design" ]
[ "Book Club" ]
In last week's book club we discussed an article written by http://codebetter.com/blogs/jeremy.miller/[Jeremy Miller] for MSDN Magazine titled 'http://msdn.microsoft.com/en-us/magazine/cc721605.aspx[Object Role Stereotypes]' which discusses part of Rebecca Wirfs Brock's book 'http://www.amazon.co.uk/Object-Design-Responsibilities-Collaborations-Addison-Wesley/dp/0201379430/ref=sr_1_1?ie=UTF8&qid=1249549884&sr=8-1[Object Design]'. I've been trying to read Object Design for about a year since coming across the book while reading through the slides from http://jaoo.com.au/sydney-2008/schedule/monday.jsp[JAOO Sydney 2008] but I've often found the reading to be quite abstract and have struggled to work out how to apply the ideas to the coding I do day to day. This therefore seemed to be like a good opportunity to get some more opinions and discussion on at least part of the book. There are some of my thoughts and our discussion of the article: * http://lizdouglass.wordpress.com/[Liz] pointed out that at http://www.thoughtworks.com.au/work-for-us/TWU.html[ThoughtWorks University] (which we both attended) we were shown the idea of *writing the 'job' of an object* just above the class definition, the point of this being that we would describe the responsibility of the object and ensure that objects only had one responsibility. Neither Liz nor I have ever seen this done on any of the projects that we've worked on but it seems quite related to the idea of responsibility driven development which is encouraged in the book. The different role stereotypes would form part of the responsibilities that an object might have. Matt Dunn suggested that perhaps the tests we write fulfill this role instead in a more indirect way although I think we would probably need to be writing tests with the quality Jimmy Bogard describes in http://www.lostechies.com/blogs/jimmy_bogard/archive/2008/12/18/getting-value-out-of-your-unit-tests.aspx[his post on getting value our of your unit tests], instead of the pale imitations we often end up writing, to achieve this goal. * I find each of the individual stereotypes quite difficult to remember on their own but Jeremy pointed out that they fit into 3 categories: ** Knowing (Information Holder, Structurer) ** Doing (Service Provider, Interfacer) ** Deciding (Controller, Coordinator) + I think the object role stereotypes mix quite nicely with some of the ideas from http://domaindrivendesign.org/[Domain Driven Design] - for example a 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 object] would probably be an information holder; an entity might be a structurer and an information holder; a factory could be a service provider; a http://www.markhneedham.com/blog/2009/03/10/ddd-repository-not-only-for-databases/[repository] is possibly an interfacer although I think that may be more the case if we are using a repository as a DAO instead of a true DDD repository. * I think it might actually be easier when looking at existing code to question *whether or not a particular object is actually only doing one thing or not before analysing which of the stereotypes it is fulfilling*. We discussed although didn't come to a conclusion whether there are certain stereotypes that should not be mixed together in one object. For example maybe an object which acts as an interfacer wouldn't store state and therefore might not be an information holder as well. * We briefly discussed some other articles which cover similar ideas including http://isaiahperumalla.wordpress.com/[Isaiah Perumalla's] article on http://msdn.microsoft.com/en-us/magazine/dvdarchive/dd882516.aspx[role based objects] and Udi Dahan's idea of the roles being http://www.testingreflections.com/node/view/7234[described more specifically in the interface name]. Both of these articles have some good ideas and I find the latter particularly intriguing although I haven't tried it out on any code I've written as yet. * The article also has some great ideas around coding in general which I think make a lot of sense: + ____ Don't be afraid to create small objects instead of wallowing in the mud of primitive variables ____ + ____ Designing software is often an exercise in managing complexity\...you can take steps to limit the complexity of any given class by only assigning it a discrete set of responsibilities ____
null
null
[ 0.013864746317267418, 0.025971151888370514, -0.031994547694921494, 0.044737305492162704, 0.07885557413101196, 0.013269869610667229, 0.018761077895760536, 0.04051898047327995, 0.029748881235718727, -0.004058364313095808, -0.030354607850313187, 0.011011487804353237, -0.04760047793388367, 0.00284243724308908, -0.033790238201618195, 0.0662837103009224, 0.06584091484546661, 0.002737361239269376, 0.014952773228287697, -0.00042762685916386545, 0.03869206830859184, 0.06391817331314087, 0.04236366227269173, 0.03645186871290207, 0.049064185470342636, 0.007615832611918449, 0.035429101437330246, -0.006325912196189165, -0.043409667909145355, 0.008062503300607204, 0.009832815267145634, 0.001552659086883068, 0.002941600512713194, -0.0006915123667567968, 0.01109269168227911, -0.04127693176269531, -0.018573733046650887, 0.007896439172327518, 0.023055318742990494, 0.014457955956459045, -0.05864469334483147, 0.05016598477959633, -0.011107590980827808, 0.0023680049926042557, -0.05464945361018181, 0.003810612251982093, -0.04749052971601486, 0.012478116899728775, -0.003439968451857567, -0.01072421483695507, -0.06578224897384644, 0.04222746938467026, 0.002576342783868313, -0.006078727077692747, -0.01661040633916855, 0.0523001104593277, 0.01943010278046131, -0.05733141303062439, 0.011749832890927792, -0.06894110143184662, -0.012285695411264896, -0.008380752988159657, 0.0015866486355662346, 0.03983766585588455, 0.04491420462727547, -0.026973610743880272, -0.02285662293434143, 0.02295578084886074, -0.056672435253858566, 0.0006065252237021923, -0.039386238902807236, 0.0033927762415260077, -0.0037039106246083975, -0.020252658054232597, -0.0011134818196296692, -0.05468202382326126, 0.028106847777962685, 0.05668477341532707, 0.011296735145151615, 0.029032420367002487, -0.0077579268254339695, 0.0450165830552578, 0.019267823547124863, 0.037192996591329575, -0.029109343886375427, -0.04434734582901001, -0.00039421539986506104, -0.020689744502305984, -0.03898775577545166, 0.05535181984305382, -0.011188184842467308, -0.050868913531303406, 0.009143570438027382, 0.060170188546180725, 0.003004701342433691, 0.02680288814008236, 0.041894540190696716, 0.007680532522499561, -0.010745234787464142, -0.02082471363246441, -0.047724734991788864, -0.03765787556767464, 0.03044201247394085, 0.014305745251476765, -0.0758528858423233, -0.002073376439511776, -0.0016178806545212865, -0.03486546501517296, -0.015335921198129654, 0.02712797187268734, -0.008259699679911137, 0.016102906316518784, -0.021695377305150032, 0.004452769178897142, -0.05699519068002701, 0.05625656619668007, 0.010839294642210007, -0.04467885568737984, -0.01777534745633602, 0.016326621174812317, 0.023109065368771553, 0.02022928185760975, -0.006777678616344929, 0.08441168814897537, 0.00793057307600975, 0.02244616113603115, -0.03751460835337639, 0.04956790432333946, -0.00018281590018887073, -0.0753590390086174, 0.0018695311155170202, 0.03892403468489647, -0.04713237285614014, 0.0018397070234641433, -0.0011969248298555613, -0.039348602294921875, 0.015043971128761768, 0.016665171831846237, 0.035635266453027725, 0.06787751615047455, 0.006833832710981369, -0.04989338293671608, 0.007345267105847597, 0.005716774612665176, 0.019189035519957542, -0.02224467694759369, 0.010189622640609741, -0.013853493146598339, -0.03879234194755554, -0.0006162741337902844, 0.01601567678153515, 0.0010731045622378588, 0.016887806355953217, -0.04151641204953194, 0.022130245342850685, 0.06918250769376755, 0.012527143582701683, 0.0418880470097065, -0.012858777306973934, 0.03371895104646683, 0.04195745661854744, 0.028846772387623787, -0.0021754729095846415, 0.027389978989958763, -0.005046428181231022, -0.011936051771044731, -0.0035567947197705507, 0.05223561078310013, 0.007085698191076517, -0.0032986830919981003, -0.05635904520750046, -0.06355912238359451, 0.04502538591623306, -0.04692401364445686, -0.03377290070056915, 0.03820357099175453, 0.07996112108230591, 0.034262534230947495, 0.03610844165086746, 0.0017386935651302338, -0.08222085237503052, 0.01361357606947422, 0.02506270818412304, 0.01624193601310253, 0.015997782349586487, -0.020534059032797813, 0.050081800669431686, 0.02955544739961624, -0.00660192035138607, 0.05465546250343323, -0.07268020510673523, -0.09435790032148361, -0.00990993157029152, -0.020652230829000473, 0.06102810800075531, -0.02759314700961113, -0.00912623479962349, 0.07643409073352814, -0.007745046634227037, 0.03648195043206215, 0.024802973493933678, 0.012786425650119781, 0.017409848049283028, -0.020646896213293076, -0.03584788739681244, 0.03126674145460129, 0.028817646205425262, 0.03200128301978111, -0.05731135979294777, 0.009476094506680965, -0.018124980852007866, 0.0005016823997721076, 0.0546809583902359, -0.01818889006972313, 0.017391491681337357, 0.002969169057905674, 0.08472021669149399, -0.04208667576313019, 0.05718318745493889, -0.05943047255277634, 0.006726013496518135, -0.02329188957810402, -0.017494870349764824, -0.0045258654281497, -0.01744701899588108, 0.1287195235490799, 0.06437331438064575, -0.04265369474887848, -0.029088009148836136, 0.021920915693044662, 0.02246595360338688, -0.028065524995326996, 0.003937159199267626, -0.005240066442638636, -0.0026012281887233257, 0.017665186896920204, -0.06839769333600998, -0.02508944645524025, 0.027344482019543648, -0.03270307555794716, 0.014912565238773823, 0.07288599759340286, -0.014322344213724136, 0.046364475041627884, -0.00145039614289999, -0.011393798515200615, -0.0008603811729699373, -0.01726359687745571, -0.03134649619460106, 0.0009235897450707853, 0.007252503652125597, -0.01819012686610222, 0.05502314865589142, -0.03933517262339592, -0.026395324617624283, -0.02660137601196766, -0.027284642681479454, 0.018108712509274483, 0.07657370716333389, 0.05203204229474068, -0.003234779927879572, 0.07454612106084824, -0.02653922140598297, 0.03115292266011238, -0.004417655058205128, -0.04326765239238739, -0.03124718926846981, -0.02671550028026104, -0.0009374694782309234, 0.02385447733104229, 0.0038416448514908552, 0.020159557461738586, 0.015287359245121479, 0.002303923014551401, -0.016295669600367546, 0.0067519075237214565, 0.034586261957883835, -0.000007636447662662249, -0.008184310980141163, -0.032559722661972046, -0.0342489555478096, 0.037204641848802567, -0.03648320585489273, -0.006724631413817406, 0.02300203964114189, -0.08496944606304169, 0.04638645052909851, -0.07023834437131882, -0.055054742842912674, -0.011949335224926472, 0.004292316734790802, 0.02898760698735714, 0.035855211317539215, 0.0020240203011780977, 0.06420966237783432, 0.026555685326457024, -0.013330180197954178, -0.02427017316222191, -0.0022015220019966364, 0.02825262024998665, -0.0035226966720074415, 0.012777931988239288, 0.023785803467035294, 0.004432484973222017, 0.0140996053814888, -0.03556651622056961, 0.03813431039452553, -0.013969779945909977, -0.27489933371543884, 0.023347020149230957, -0.0025504243094474077, -0.042446210980415344, 0.03650948777794838, -0.01585349068045616, 0.013199647888541222, -0.06691911071538925, -0.024420294910669327, 0.03793293982744217, -0.04236995056271553, -0.03323502838611603, -0.018008152022957802, 0.07808583229780197, 0.03383462876081467, 0.036377742886543274, 0.01906431093811989, -0.05073060467839241, -0.006752562243491411, 0.06254107505083084, -0.01839665323495865, -0.057964976876974106, -0.006252461113035679, 0.019380712881684303, 0.025332415476441383, 0.056622110307216644, -0.09575893729925156, 0.0379052571952343, -0.05329247564077377, -0.009234234690666199, 0.0058611598797142506, 0.017941642552614212, 0.01875397376716137, -0.03746407479047775, 0.0037055464927107096, -0.026484210044145584, 0.023041481152176857, 0.015043213032186031, -0.022398674860596657, 0.013627562671899796, -0.036398619413375854, -0.04188114404678345, -0.007606108672916889, 0.01775217615067959, 0.06754563003778458, 0.01601434499025345, -0.06312956660985947, -0.022698312997817993, -0.03749234974384308, 0.0750361755490303, -0.02853202261030674, -0.026587679982185364, 0.011804613284766674, 0.0532156266272068, -0.01255411934107542, -0.024271592497825623, -0.002673378447070718, -0.025913391262292862, -0.05322571471333504, -0.05704961344599724, -0.014443042688071728, -0.017518218606710434, -0.0053241681307554245, -0.04180087149143219, -0.0207396000623703, -0.0691913366317749, -0.08571939170360565, -0.011394647881388664, 0.05943315103650093, 0.028909781947731972, -0.03971778601408005, 0.025781868025660515, -0.0018663668306544423, -0.10876866430044174, -0.010256784036755562, -0.0026609087362885475, -0.014801276847720146, -0.02107183448970318, 0.014391531236469746, 0.04192923754453659, -0.008615667000412941, -0.066053606569767, 0.014421037398278713, 0.001020191004499793, 0.01032184436917305, -0.03306042030453682, 0.049093134701251984, 0.02974972315132618, -0.03773326426744461, 0.004598608240485191, 0.0727527067065239, 0.02252933196723461, -0.015302969142794609, -0.01251215860247612, 0.028013961389660835, 0.008908756077289581, 0.015574103221297264, -0.019555533304810524, 0.0035789997782558203, 0.02644786797463894, -0.007263351231813431, -0.06206244230270386, 0.01039770245552063, -0.01329993549734354, -0.009960322640836239, -0.018920736387372017, -0.051969874650239944, 0.008640438318252563, 0.04353014752268791, 0.006997220683842897, 0.01202659122645855, -0.028951769694685936, 0.0429733544588089, -0.057895101606845856, -0.024246178567409515, -0.02240765653550625, 0.02350720390677452, 0.04678985849022865, -0.02651236392557621, -0.011650459840893745, -0.03957567736506462, 0.027542123571038246, -0.014447861351072788, -0.03203306347131729, -0.06275197118520737, -0.036332421004772186, -0.011088026687502861, -0.036664847284555435, -0.018461421132087708, 0.024314871057868004, -0.017766160890460014, 0.028980223461985588, 0.01249088067561388, -0.045624058693647385, 0.0031973966397345066, -0.000851621211040765, -0.07854259014129639, -0.023718612268567085, -0.00003762858614209108, 0.009614411741495132, 0.0067063625901937485, -0.009668444283306599, -0.010489756241440773, 0.006383969914168119, 0.05526883527636528, -0.010020963847637177, 0.0009113367996178567, -0.003059241222217679, 0.022063162177801132, 0.024227285757660866, -0.0025292267091572285, -0.064315065741539, 0.021001184359192848, -0.03970595821738243, -0.031178239732980728, -0.03524140268564224, 0.02755102515220642, -0.00967642106115818, -0.016997722908854485, -0.011772298254072666, 0.04043835774064064, -0.04418887570500374, -0.017990652471780777, -0.042309172451496124, 0.02174743264913559, 0.07123488932847977, -0.018966881558299065, 0.022608334198594093, -0.0005642329924739897, -0.026973530650138855, 0.002309934003278613, 0.01627182587981224, -0.019123436883091927, 0.009677632711827755, 0.004925736226141453, 0.0046818614937365055, 0.009083308279514313, -0.003390426514670253, 0.050507914274930954, 0.00184961361810565, -0.003239518264308572, -0.04746903479099274, 0.019266948103904724, 0.014063294976949692, 0.06470555812120438, 0.037913959473371506, 0.003100767033174634, -0.012539481744170189, -0.021176030859351158, -0.021441994234919548, -0.0492829866707325, -0.015589872375130653, -0.012895608320832253, 0.05319826677441597, -0.06675751507282257, -0.06865698099136353, 0.04582524672150612, 0.00962857250124216, 0.007049269042909145, -0.007345234043896198, -0.0013736048713326454, 0.021752746775746346, -0.04439510777592659, 0.03214815631508827, 0.03488883003592491, -0.06034749373793602, 0.016627324745059013, -0.027556702494621277, -0.01098468154668808, 0.008787093684077263, -0.010524160228669643, -0.03974435478448868, -0.015104440972208977, -0.01815309189260006, -0.003577134106308222, -0.07607974857091904, -0.023685185238718987, -0.0455692894756794, 0.015674684196710587, 0.0018552530091255903, -0.023572538048028946, -0.007085426710546017, 0.00721007538959384, -0.015381716191768646, -0.019254736602306366, 0.031847741454839706, -0.043492354452610016, 0.006340231280773878, 0.02422023005783558, -0.03878659009933472, 0.0026123663410544395, -0.008636409416794777, 0.017429392784833908, 0.015175729990005493, -0.024352658540010452, -0.023533353582024574, -0.003122736932709813, -0.007093247026205063, 0.020983371883630753, 0.0515458881855011, 0.01460089348256588, -0.029705345630645752, -0.04557611420750618, -0.00946714449673891, -0.05193798243999481, 0.03580135852098465, -0.008047463372349739, -0.00888120662420988, 0.017644725739955902, 0.047270841896533966, 0.024636970832943916, 0.008006078191101551, 0.001400742563419044, 0.002104024402797222, 0.032599590718746185, -0.06033668667078018, -0.027128661051392555, -0.02140957862138748, -0.06246350333094597, 0.00597070436924696, 0.012818875722587109, 0.015580365434288979, -0.04160802438855171, 0.06443912535905838, 0.023722827434539795, 0.04379844292998314, 0.03784148022532463, 0.010217121802270412, 0.019493354484438896, -0.037440165877342224, 0.012677586637437344, -0.07224034518003464, -0.0015159391332417727, 0.023876486346125603, 0.024084409698843956, -0.01785949617624283, -0.010856993496418, -0.04065224528312683, 0.05360768735408783, -0.08085222542285919, -0.016809871420264244, 0.04856317117810249, -0.005164151079952717, -0.006373153068125248, 0.009986044839024544, -0.05765270069241524, 0.044677987694740295, 0.022450735792517662, -0.04379438981413841, -0.022831136360764503, -0.01551321242004633, 0.047727737575769424, -0.01273847185075283, 0.02102431282401085, -0.024498336017131805, -0.0011553012300282717, 0.07082629948854446, 0.009370680898427963, 0.011913045309484005, 0.04618493467569351, -0.019465066492557526, 0.030702508985996246, 0.037018291652202606, 0.008060142397880554, 0.0020765610970556736, 0.005487068556249142, -0.008780080825090408, -0.055336009711027145, 0.0009085462661460042, 0.017535768449306488, -0.029004868119955063, -0.04135819897055626, 0.05413680896162987, 0.0030244311783462763, -0.027779730036854744, -0.06309042125940323, 0.012148372828960419, -0.05886097252368927, 0.003944741562008858, -0.016720052808523178, -0.006669319234788418, -0.029231887310743332, 0.053839311003685, -0.008653276599943638, -0.0008089420734904706, 0.07456818222999573, -0.032377939671278, -0.022165419533848763, -0.03799133002758026, 0.10514011979103088, 0.08293943852186203, 0.061984434723854065, -0.006022814195603132, 0.06934767961502075, -0.012783714570105076, -0.05431078001856804, 0.007052342873066664, -0.022472843527793884, 0.008036843501031399, -0.022885777056217194, 0.008309085853397846, 0.07113595306873322, -0.01365361176431179, 0.03245878964662552, -0.004116839729249477, -0.01833052933216095, -0.008622213266789913, 0.02512008138000965, 0.011654878966510296, 0.08700785785913467, 0.021733667701482773, 0.03067888878285885, -0.039193008095026016, -0.04825318977236748, 0.030635211616754532, -0.03439287096261978, -0.018631212413311005, 0.01220871414989233, -0.02413703314960003, 0.03797612339258194, -0.016531340777873993, 0.03985646739602089, 0.08119740337133408, -0.020773347467184067, -0.0017121939454227686, -0.005326081998646259, 0.033643048256635666, 0.008613078854978085, 0.009353360161185265, -0.027917340397834778, -0.015671061351895332, -0.013422353193163872, -0.03704818710684776, -0.019907232373952866, -0.010619519278407097, -0.02429819665849209, 0.054667748510837555, -0.01342606358230114, 0.023434124886989594, 0.008270632475614548, 0.024939553812146187, -0.027347365394234657, -0.06647661328315735, -0.03153163567185402, -0.028878910467028618, -0.054431360214948654, -0.009529897943139076, 0.027923857793211937, 0.004894023761153221, -0.02869585156440735, -0.028384754434227943, -0.007546962704509497, -0.014332316815853119, 0.06623263657093048, -0.05289674177765846, -0.01400928944349289, 0.014345484785735607, 0.038696177303791046, 0.01389626506716013, 0.009585159830749035, 0.031305424869060516, -0.023413177579641342, -0.013974303379654884, -0.0035612760111689568, 0.007534584496170282, 0.022693051025271416, 0.00008130659989546984, 0.008863240480422974, -0.07677268236875534, 0.008777039125561714, 0.04347692430019379, -0.020204713568091393, -0.08024749159812927, 0.023471197113394737, 0.024799592792987823, 0.00103792455047369, 0.02568446286022663, -0.010447271168231964, 0.017611414194107056, -0.008747569285333157, -0.001178911654278636, 0.0035210391506552696, 0.028978368267416954, 0.024626096710562706, -0.027247034013271332, 0.10428142547607422, 0.028331086039543152, -0.03322461247444153, -0.033948663622140884, -0.02472173608839512, 0.0017418438801541924, 0.023893581703305244, -0.03796304017305374, -0.007136148400604725, -0.025527169927954674, -0.07102251797914505, -0.019872864708304405, 0.03253086656332016, -0.032111600041389465, -0.013346419669687748, 0.025865940377116203, 0.008548635989427567, -0.037235163152217865, 0.027837002649903297, -0.03827060014009476, 0.05159173905849457, -0.01872028037905693, 0.0053025116212666035, 0.03548762947320938, -0.002933382522314787, 0.014169934205710888, 0.01081964373588562, -0.009958088397979736, -0.03767342120409012, -0.01794557459652424, -0.0048889839090406895, 0.020917022600769997, 0.04146944358944893, 0.026398705318570137, -0.007307212799787521 ]
[ -0.07741845399141312, 0.01663150079548359, -0.010079378262162209, -0.04955018311738968, 0.03849161043763161, -0.026556920260190964, -0.03230412304401398, 0.02576899528503418, -0.02026110514998436, -0.016662195324897766, -0.00553524075075984, -0.020124269649386406, -0.024717308580875397, -0.020407509058713913, 0.07140596956014633, 0.006884852424263954, 0.016888748854398727, -0.06223283335566521, 0.01566663384437561, 0.028826871886849403, 0.004209020175039768, -0.038037173449993134, -0.04971309378743172, -0.030071144923567772, 0.006465782877057791, 0.027313727885484695, 0.028211073949933052, -0.024443436414003372, 0.007474880665540695, -0.19180795550346375, -0.03519093245267868, 0.03293953090906143, 0.05184660479426384, -0.021016424521803856, 0.01245077420026064, 0.05606274679303169, 0.04138265177607536, 0.023493150249123573, -0.023376984521746635, 0.020671652629971504, 0.01724912039935589, -0.004262419883161783, -0.036107830703258514, -0.022703247144818306, 0.04596872627735138, 0.02365276589989662, -0.011159715242683887, -0.05604271590709686, -0.03827995806932449, -0.0013435347937047482, -0.06353897601366043, -0.05325612425804138, -0.029389509931206703, -0.025437766686081886, -0.008287395350635052, 0.026670537889003754, 0.024442516267299652, 0.05661636218428612, -0.0013828241499140859, 0.0016749858623370528, 0.017874738201498985, -0.02998116984963417, -0.13075871765613556, 0.11134631931781769, 0.045421674847602844, 0.06618516147136688, -0.05058513581752777, -0.03884293511509895, -0.007147459778934717, 0.06731095910072327, 0.018641462549567223, -0.04055161029100418, -0.006735450588166714, 0.04936063289642334, 0.027947060763835907, 0.01626807264983654, 0.014573906548321247, -0.010152698494493961, 0.042328689247369766, -0.051732342690229416, -0.03349439427256584, 0.022014953196048737, -0.00464318972080946, -0.007643342949450016, -0.03085843101143837, 0.024358324706554413, 0.005969903897494078, 0.025397758930921555, 0.04572606459259987, 0.04478786140680313, 0.03041383996605873, -0.02471613511443138, 0.039689965546131134, -0.012748810462653637, -0.08241065591573715, -0.027310846373438835, -0.027279281988739967, -0.00006762871635146439, -0.04280770942568779, 0.45085304975509644, -0.030910391360521317, -0.02195439673960209, 0.101829893887043, 0.027933701872825623, -0.03376482054591179, 0.012388540431857109, 0.0608920194208622, -0.0773136168718338, 0.021115947514772415, -0.026753079146146774, 0.015068314038217068, 0.024266870692372322, 0.0291957538574934, -0.02570686675608158, 0.01233728975057602, 0.024653887376189232, 0.02028658427298069, 0.010898888111114502, 0.008003623224794865, -0.03165746107697487, 0.0012724827975034714, 0.00832908134907484, 0.007753527257591486, -0.0007333963294513524, -0.015208662487566471, -0.04258634150028229, 0.008797509595751762, 0.06909279525279999, 0.03501058742403984, 0.003779676742851734, 0.06022270396351814, -0.04329971224069595, -0.059134624898433685, -0.028490668162703514, 0.013579859398305416, 0.023768439888954163, 0.011546996422111988, -0.004927357193082571, 0.006470824591815472, 0.04019433632493019, 0.00760101480409503, 0.0026131686754524708, 0.011049468070268631, 0.027486158534884453, -0.027541974559426308, 0.10566430538892746, 0.01624951884150505, -0.03018709272146225, -0.016275959089398384, 0.00967805739492178, 0.024692270904779434, 0.0428321436047554, -0.02893654629588127, -0.051234811544418335, 0.022230371832847595, 0.019358795136213303, 0.08850212395191193, 0.006055130157619715, -0.05153745040297508, -0.013252333737909794, -0.009632502682507038, -0.02094448171555996, -0.040413085371255875, 0.031246012076735497, 0.039042167365550995, -0.10032040625810623, -0.0026389802806079388, 0.017417026683688164, 0.03583787381649017, -0.06761548668146133, -0.0037606689147651196, 0.011439911089837551, -0.04231817275285721, 0.02122698538005352, 0.07219097763299942, -0.008688878268003464, -0.032410115003585815, 0.04464123398065567, 0.05042405426502228, 0.01581764407455921, 0.02086801454424858, 0.006886908318847418, -0.04686303436756134, 0.007352952379733324, -0.021499022841453552, -0.062488824129104614, -0.029996879398822784, -0.031115839257836342, -0.024425946176052094, 0.016955435276031494, 0.002730655251070857, -0.0007108486606739461, -0.09696763008832932, 0.08482200652360916, -0.01809549890458584, -0.02591003105044365, 0.03275759145617485, -0.027241716161370277, -0.05088947340846062, -0.005680665373802185, -0.06058289110660553, 0.03511982783675194, -0.07970495522022247, 0.03144865483045578, -0.042527295649051666, 0.029490359127521515, 0.06391628831624985, -0.046370089054107666, 0.08414634317159653, 0.044864192605018616, -0.048151589930057526, -0.06288497149944305, -0.008297992870211601, 0.014937096275389194, 0.011461330577731133, -0.02168382704257965, 0.00014872460451442748, 0.01963745802640915, -0.015294543467462063, -0.00717113958671689, -0.028095951303839684, -0.01670319400727749, -0.026829427108168602, -0.34695079922676086, -0.003500646445900202, -0.03346030414104462, -0.011876300908625126, -0.0097627779468894, -0.03217461705207825, 0.01670130342245102, 0.0032868972048163414, -0.04008936136960983, 0.02544521912932396, 0.05822322145104408, -0.010026265867054462, 0.020203866064548492, -0.08752086013555527, -0.004564119968563318, 0.02045063115656376, -0.045177292078733444, -0.0497601144015789, -0.06484286487102509, 0.0018319756491109729, -0.0017377506010234356, 0.010262710973620415, -0.021624188870191574, -0.036096662282943726, -0.00952926930040121, -0.051970191299915314, 0.08389811962842941, -0.009242844767868519, 0.09078387916088104, -0.0036162587348371744, 0.03724124655127525, 0.03233622387051582, 0.03318169340491295, -0.09092380851507187, -0.00037124002119526267, -0.0023475552443414927, -0.0021206687670201063, -0.02609499730169773, 0.016656896099448204, -0.031644854694604874, -0.04800126329064369, 0.03691194951534271, -0.05470298230648041, -0.028410688042640686, -0.06822182983160019, 0.02018808200955391, -0.00538166519254446, -0.014798467047512531, -0.031031981110572815, 0.09575947374105453, 0.008298058062791824, -0.020644189789891243, 0.008004005998373032, 0.0381435826420784, -0.048220232129096985, -0.024348972365260124, -0.07718400657176971, -0.009833072312176228, -0.014591393060982227, 0.021578950807452202, 0.04188128933310509, 0.048624616116285324, 0.023092424497008324, -0.05472538620233536, 0.006467402912676334, -0.0001828265521908179, -0.01107374019920826, 0.0003025250625796616, 0.04980303347110748, -0.020648283883929253, -0.021952887997031212, 0.07365732640028, 0.020392170175909996, -0.03450770303606987, 0.035798586905002594, 0.03243361413478851, -0.004540715832263231, 0.047696541994810104, 0.02688819356262684, 0.0012232501758262515, 0.017838720232248306, -0.006677747238427401, 0.009001738391816616, -0.0223768949508667, 0.024590039625763893, 0.020121945068240166, -0.030307918787002563, -0.046276483684778214, 0.04881199821829796, 0.003155395621433854, -0.03387150168418884, -0.0006727944128215313, -0.0023650703951716423, -0.03645792976021767, 0.07594173401594162, 0.01288276631385088, -0.2497209906578064, 0.0001792859548004344, 0.08457370102405548, 0.07039207220077515, -0.0014027227880433202, 0.012631182558834553, 0.01137374434620142, -0.07713238894939423, 0.03648274764418602, -0.01114251371473074, 0.03564731404185295, 0.03378920257091522, -0.01092619076371193, 0.009355289861559868, 0.03444938734173775, -0.001335458247922361, 0.055606942623853683, -0.013869510032236576, 0.029897162690758705, -0.02294132672250271, -0.004702739883214235, 0.004588978830724955, 0.15895284712314606, 0.012665622867643833, 0.03234754502773285, -0.018223874270915985, 0.01614268869161606, -0.0055611287243664265, 0.06391720473766327, 0.015608705580234528, 0.050541121512651443, -0.012538980692625046, 0.04675041884183884, 0.005627618636935949, 0.025180384516716003, -0.08727511763572693, -0.032333116978406906, 0.039878856390714645, 0.03287424519658089, 0.00923476554453373, 0.03125963360071182, -0.004138200078159571, -0.03641509264707565, 0.002038171049207449, 0.07982702553272247, 0.02757474035024643, -0.008436118252575397, -0.030627408996224403, -0.03714459761977196, -0.023832840844988823, -0.028658779338002205, -0.03749709576368332, -0.007868719287216663, -0.02056741900742054, 0.014556215144693851, 0.0440622940659523, 0.01585398241877556, -0.016424207016825676, -0.02485603280365467, 0.013426895253360271, -0.010903933085501194, -0.015704022720456123, 0.10245280712842941, 0.05665167421102524, 0.04298936948180199 ]
[ -0.020189234986901283, 0.006357586942613125, 0.008012068457901478, 0.012381749227643013, -0.013331441208720207, -0.0010542203672230244, 0.012793040834367275, -0.011230511590838432, -0.005220714025199413, 0.007494899909943342, -0.02182941325008869, 0.02794596552848816, 0.008364713750779629, 0.020939761772751808, 0.019383631646633148, -0.002769005484879017, 0.004471130203455687, -0.01185834314674139, 0.005052217748016119, 0.01079146284610033, -0.00683309230953455, 0.016005896031856537, -0.008814702741801739, -0.005313550587743521, -0.030074238777160645, 0.020047659054398537, 0.009409296326339245, -0.0023857916239649057, 0.012312463484704494, -0.1466418355703354, -0.026816396042704582, -0.023888498544692993, -0.006524877622723579, -0.0016207502922043204, 0.008427142165601254, -0.010001816786825657, 0.04116145893931389, 0.0024190032854676247, 0.0137871028855443, -0.0219520665705204, -0.007693449500948191, 0.001628176192753017, 0.0014350800774991512, 0.025642525404691696, -0.02185588888823986, 0.03439297899603844, 0.02567523904144764, -0.037293173372745514, -0.020549684762954712, -0.030963268131017685, -0.03336942195892334, -0.008759829215705395, -0.02420506253838539, -0.00440090661868453, 0.00818778108805418, 0.010052205994725227, 0.030547069385647774, -0.02985401824116707, -0.005194417666643858, -0.05589209496974945, -0.014613628387451172, 0.0043218499049544334, -0.027199041098356247, -0.022058334201574326, 0.010227085091173649, -0.019351130351424217, -0.06041652336716652, 0.009469294920563698, -0.05500912666320801, 0.005878976080566645, -0.014986776746809483, 0.013327850960195065, -0.0005357498303055763, -0.005098883993923664, 0.04873551055788994, 0.033576127141714096, 0.015755483880639076, -0.03065984509885311, 0.034081023186445236, -0.016570214182138443, -0.02812902256846428, 0.04312748461961746, 0.006472868379205465, 0.018431520089507103, 0.0026562002021819353, -0.0009444814641028643, 0.023447087034583092, -0.009455453604459763, 0.020752547308802605, 0.030382150784134865, -0.026640022173523903, 0.018687577918171883, 0.010903197340667248, 0.011935858055949211, -0.07534477859735489, -0.015578720718622208, -0.02252437360584736, -0.008883299306035042, -0.0006806622841395438, 0.8660908937454224, -0.01254461519420147, 0.02559247426688671, 0.03174664452672005, 0.00541859632357955, -0.0067513734102249146, 0.008655380457639694, -0.007009228691458702, -0.011343696154654026, 0.010980481281876564, -0.04235764220356941, 0.02075904794037342, 0.025344697758555412, 0.020182562991976738, 0.01336938701570034, 0.027265410870313644, 0.01689835637807846, -0.006546307355165482, 0.01229497417807579, -0.009675412438809872, -0.012565024197101593, 0.015913324430584908, 0.011804068461060524, 0.005985965020954609, 0.00069758779136464, 0.0057259248569607735, -0.16593392193317413, -0.005227456800639629, -9.422967693018881e-33, 0.033552754670381546, -0.023251058533787727, 0.020008087158203125, -0.0007292520604096353, 0.01283774059265852, -0.007418509107083082, 0.03949479013681412, 0.03234250843524933, 0.01841818541288376, -0.02080659195780754, -0.028815411031246185, -0.006090786308050156, -0.005667472258210182, -0.008305240422487259, 0.031057147309184074, -0.002265624003484845, 0.0014749316032975912, 0.02686709724366665, -0.010341632179915905, 0.04916122928261757, 0.025730952620506287, 0.03806772083044052, -0.017607979476451874, -0.015794944018125534, 0.02547617256641388, 0.025786668062210083, 0.019565138965845108, 0.027614694088697433, 0.0012414364609867334, -0.03698420897126198, -0.010075503028929234, 0.033342428505420685, -0.028897827491164207, -0.03320980444550514, 0.003660159884020686, -0.04352452605962753, -0.0339360348880291, -0.00006957328150747344, -0.011936932802200317, -0.06450343132019043, -0.019833356142044067, -0.031163668259978294, -0.022118980064988136, -0.005039974581450224, -0.03315728157758713, -0.02357124164700508, 0.019188446924090385, 0.02320845238864422, 0.01610245555639267, 0.012444647029042244, -0.002659705001860857, 0.023469194769859314, 0.007137012202292681, -0.01190861128270626, -0.029648810625076294, -0.004590949974954128, 0.00806611031293869, 0.01624329201877117, 0.004347550217062235, -0.010465186089277267, 0.0038639099802821875, -0.00183948187623173, -0.01250614132732153, 0.016900653019547462, -0.01646658591926098, -0.002054681535810232, 0.021048512309789658, -0.02367132529616356, 0.015076473355293274, -0.01364272553473711, -0.04105598106980324, -0.0060340361669659615, -0.005724142771214247, -0.027350429445505142, -0.031261615455150604, -0.01885141246020794, 0.007732926867902279, 0.009540214203298092, -0.018067410215735435, 0.0409320667386055, -0.0010415258584544063, 0.008815496228635311, 0.004723336081951857, -0.06495463848114014, -0.006200199946761131, 0.014677460305392742, 0.027797508984804153, -0.014548306353390217, -0.0013854571152478456, 0.02486470155417919, 0.01936335861682892, -0.012579180300235748, -0.029763463884592056, -0.005279995501041412, -0.005260019563138485, 8.606695599600254e-33, 0.019340960308909416, -0.0388229638338089, -0.007147123105823994, -0.005383153446018696, 0.012453933246433735, -0.01935518905520439, 0.0003837165713775903, -0.010965174995362759, -0.04895536229014397, 0.03903345391154289, -0.022127117961645126, 0.0009411763749085367, -0.02621925063431263, 0.03413604199886322, 0.046083178371191025, -0.03418973460793495, 0.019297441467642784, -0.022947754710912704, 0.04484236612915993, 0.008171606808900833, 0.036493852734565735, 0.026251157745718956, 0.03612424433231354, 0.008183115161955357, 0.019792666658759117, 0.05033731833100319, -0.03118339739739895, 0.017142746597528458, 0.008927819319069386, 0.010284767486155033, -0.007915058173239231, -0.001961009344086051, 0.01481623575091362, -0.017875222489237785, -0.03705143555998802, 0.000831657147500664, -0.011861810460686684, -0.030330564826726913, -0.011818754486739635, 0.012416194193065166, 0.012980119325220585, -0.014920791611075401, 0.006374086253345013, 0.022091085091233253, -0.002746468409895897, 0.0019208586309105158, -0.003161083906888962, -0.0018912766827270389, -0.01904059760272503, 0.029663389548659325, -0.012737354263663292, 0.03210482373833656, 0.007136940024793148, 0.007430211175233126, 0.030070636421442032, -0.012962804175913334, -0.0119645856320858, -0.027669550850987434, 0.011889717541635036, 0.03856391832232475, 0.006988787557929754, 0.008515894412994385, -0.03526488319039345, -0.0031705673318356276, -0.03395574539899826, 0.012943488545715809, -0.013032989576458931, -0.00392612349241972, 0.0063457246869802475, -0.015202692709863186, -0.03925386816263199, 0.017010683193802834, 0.03528085723519325, 0.034308791160583496, -0.012467186897993088, -0.01733569987118244, -0.03742007911205292, -0.012449115514755249, -0.04290671646595001, 0.02152743749320507, -0.00606636144220829, -0.04063471779227257, 0.03301844745874405, 0.030084824189543724, -0.020504452288150787, -0.0034402860328555107, 0.0005464930436573923, 0.02107299119234085, -0.01181833166629076, 0.005737524479627609, -0.01199784129858017, 0.002751185791566968, 0.016705963760614395, 0.025629309937357903, -0.010598153807222843, -1.4384000657230445e-8, -0.027075277641415596, 0.019527679309248924, -0.005002039019018412, 0.006511411163955927, -0.0072684865444898605, -0.012993650510907173, -0.01592864841222763, -0.010341880843043327, -0.010253974236547947, 0.034166667610406876, 0.040089793503284454, -0.05101538822054863, 0.0007296921103261411, 0.014512396417558193, 0.02830212004482746, -0.035375941544771194, -0.017240026965737343, -0.022534336894750595, 0.027770673856139183, 0.007223374675959349, 0.052393846213817596, 0.03699334338307381, -0.015608864836394787, 0.01595814898610115, 0.013083727099001408, 0.03202802687883377, -0.02725614234805107, -0.07860346883535385, -0.0028042919002473354, 0.018641488626599312, 0.019204264506697655, -0.02333768457174301, -0.024766821414232254, 0.017873112112283707, -0.013987376354634762, -0.03796352818608284, 0.004360745195299387, 0.03359267860651016, -0.014213042333722115, 0.013432045467197895, 0.018500782549381256, 0.00687438203021884, -0.03143913671374321, -0.011625072918832302, -0.00789165310561657, 0.036286450922489166, -0.04792609438300133, -0.01269775815308094, -0.012578858062624931, -0.004375870805233717, -0.008158046752214432, 0.004491412080824375, 0.007755946833640337, 0.041308775544166565, -0.009882028214633465, 0.008792515844106674, 0.009534216485917568, -0.01785605400800705, -0.0425129160284996, -0.007139555644243956, 0.009803690947592258, 0.03137930855154991, -0.023410262539982796, -0.02101835608482361 ]
book-club-object-role-stereotypes-jeremy-miller
https://markhneedham.com/blog/2009/08/08/book-club-object-role-stereotypes-jeremy-miller
false
2009-08-06 18:58:00
Bear Shaving
[ "software-development", "bear-shaving" ]
[ "Software Development" ]
I recently came across a http://sethgodin.typepad.com/seths_blog/2009/08/bear-shaving.html[blog post by Seth Godin where he coins the term 'bear shaving'] which is where we address the symptoms of a problem instead of addressing the problem. The main example he gives is the idea of http://www.youtube.com/watch?v=ryUcq1ztQN8[shaving a bear] so that it can deal with the increased temperature caused by global warming instead of addressing the underlying problem which has led to this happening in the first place. As with http://www.markhneedham.com/blog/2008/10/25/dont-shave-the-yak-ask-why-are-we-doing-this/[yak shaving] which is certainly rife in software development projects, I think we are guilty of bear shaving as well. Although similar to yak shaving, bear shaving seems to be much more intentional - noone ever means to end up shaving a yak but they sometimes do whereas we might deliberately choose to shave a bear because of one of the following reasons from what I've noticed: * We don't want to work out what the root cause of our problem is, perhaps because we don't have the time to do so or it's just easier to find a work around. * We know what the root cause of the problem is but it's too difficult to do anything about it. * We know what the root cause of the problem is but we can't do much about it because it's out of our control (perhaps a bottle neck in another team for example) An example of this that we have been juggling on our project is working out the best thing to do when the continuous integration build is red due to a failure related to an integration end point that is known to be flaky. We've massively reduced the impact that this has on the early part of our build pipeline by introducing a http://martinfowler.com/bliki/SelfInitializingFake.html[self initialising fake] but there are still some calls through to the service layer since we aren't storing the result of every single call. When those service calls that do go through each time are having problems we can often end up with several hours where we can't checkin. Even when this flakiness goes away we haven't quite managed to reduce the http://www.markhneedham.com/blog/2009/07/25/cruise-agents-reducing-random-build-failures/[random build failures] down to zero which means that the feedback loop is not as quick as it could be. As a result of this we have come up with two different ways of allowing people to continue working locally without needing to check into the main repository: . Using http://git-scm.com/[Git] as a local patch management tool and keeping different changes on different branches. . Making multiple copies of the Subversion repository locally with different changes on different copies The problem with both of these solutions is that people now have versions of the code sitting on their machines which the rest of the team hasn't yet been able to integrate with. We are having more individual productivity to a degree but we are also creating more http://www.learnleanblog.com/2008/01/lean-manufacturing-inventory-and-work.html[work in progress] which the rest of the team will later need to integrate against. We haven't only spent time coming up with bear shaving solutions though. One of the problems we had was that often when a new version of services was pushed into the integration environment that was the first time that we actually integrated against it. We now spend some time integrating against services in a pre-integration environment which has helped reduce the number of surprises that we get later on. Another potential solution to part of the problem would be to make use of a distributed source control system such as Git or http://mercurial.selenic.com/wiki/[Mercurial] as the main repository that everyone uses and then push every change into our Subversion repository. We've tried some of the Git to Subversion and http://bitbucket.org/durin42/hgsubversion/wiki/Home[Mercurial] http://pypi.python.org/pypi/hgsvn[to Subversion] bridges available at the moment and none of them have quite worked for us so we haven't been able to pursue this option. Given that we often have constraints that we have to work under perhaps it would therefore seem inevitable that *there will be some amount of bear shaving on any project*?
null
null
[ 0.0330706387758255, 0.001962733455002308, -0.008470780216157436, 0.03619217127561569, 0.06577926129102707, 0.025522727519273758, 0.06011902540922165, 0.028510281816124916, 0.02342269942164421, -0.021105166524648666, -0.025956084951758385, -0.002493459964171052, -0.053386539220809937, 0.030071796849370003, -0.05423283204436302, 0.08682210743427277, 0.04686862230300903, 0.02024748921394348, -0.0011558898258954287, 0.0022140643559396267, 0.06667919456958771, 0.03610070049762726, 0.030394351109862328, 0.03137890249490738, 0.04615360498428345, -0.00455929571762681, 0.013774450868368149, 0.02811466157436371, -0.05816192924976349, -0.012965211644768715, 0.025212623178958893, -0.012937446124851704, -0.00627786573022604, -0.03240804374217987, 0.029645197093486786, -0.004711837507784367, -0.04884178563952446, 0.005860992707312107, -0.002963792532682419, -0.0015204702503979206, -0.07806237041950226, 0.049256522208452225, -0.03934120386838913, 0.010093680582940578, -0.04043329507112503, -0.003373639192432165, -0.0001268941123271361, 0.02221202664077282, 0.018499545753002167, -0.019079551100730896, -0.09701680392026901, 0.0315527580678463, -0.013126149773597717, -0.010755140334367752, -0.014018608257174492, 0.055092401802539825, -0.006939913146197796, -0.06424852460622787, -0.0005841543897986412, -0.05816767364740372, -0.005159847438335419, -0.001264041755348444, -0.013392695225775242, 0.0024778374936431646, 0.01254984550178051, -0.007054397836327553, -0.01153351180255413, 0.044655878096818924, -0.032555654644966125, 0.0020322236232459545, -0.014250829815864563, -0.013007932342588902, -0.01236757356673479, 0.031100334599614143, 0.032724518328905106, -0.03845333307981491, 0.013864056207239628, 0.06215309724211693, 0.029913006350398064, 0.04804854094982147, -0.00607782369479537, 0.02020455151796341, 0.00029855992761440575, 0.02379593253135681, -0.03286876156926155, -0.03331679850816727, 0.0298854298889637, 0.0036832764744758606, -0.05243059992790222, 0.04091722145676613, 0.016434136778116226, -0.04837043955922127, 0.03884227201342583, 0.03609681874513626, -0.010835381224751472, 0.002363423816859722, 0.042315222322940826, -0.027656314894557, 0.010669613257050514, -0.01123347133398056, -0.0022316845133900642, -0.021650079637765884, -0.0043596564792096615, 0.02644362859427929, -0.0816408321261406, -0.028926772996783257, -0.010774916969239712, 0.010109215043485165, -0.012976337224245071, -0.02610141597688198, -0.01639333739876747, 0.022748839110136032, -0.006513113621622324, -0.008682037703692913, -0.07379202544689178, 0.08423642069101334, -0.017521128058433533, -0.06894179433584213, 0.004408490378409624, 0.0007479374180547893, 0.04388130456209183, 0.01345117948949337, -0.028208458796143532, 0.07659359276294708, -0.0028848834335803986, 0.011020602658390999, 0.006970105227082968, 0.05705220252275467, -0.02455860748887062, -0.07251785695552826, -0.012317044660449028, 0.05137166380882263, -0.01494919415563345, -0.016968630254268646, -0.0077773756347596645, -0.028470108285546303, 0.00883505493402481, 0.016988279297947884, 0.03494596853852272, 0.04025537893176079, -0.018374988809227943, -0.040000468492507935, 0.02004840597510338, 0.005470114294439554, 0.03092045709490776, -0.007585573010146618, -0.007242951076477766, 0.0005632030079141259, -0.025787414982914925, -0.023738769814372063, 0.0009914751863107085, 0.04096444696187973, 0.041771192103624344, -0.03262487053871155, 0.014495979994535446, 0.08214286714792252, 0.029248442500829697, -0.0020952941849827766, -0.01514799427241087, 0.02410503476858139, 0.03859337791800499, 0.028398573398590088, 0.012729293666779995, 0.036517783999443054, 0.023920394480228424, -0.031341079622507095, -0.020906781777739525, 0.030283166095614433, -0.004582493100315332, 0.007476362399756908, -0.05122993141412735, -0.04000270739197731, 0.05084807053208351, -0.048335764557123184, -0.006807918194681406, 0.06709612160921097, 0.076026551425457, 0.05341114476323128, 0.02526336908340454, 0.01762150414288044, -0.07718292623758316, 0.03841865062713623, 0.0014062303816899657, 0.036398813128471375, 0.01685396209359169, -0.02402939461171627, 0.06283537298440933, 0.04538503661751747, 0.020587436854839325, 0.05383680760860443, -0.08002054691314697, -0.08776764571666718, -0.006755331996828318, -0.014821008779108524, 0.04270961135625839, -0.00647863419726491, -0.009931016713380814, 0.04909101128578186, -0.00029784481739625335, 0.05067804083228111, 0.0025068337563425303, -0.01576322875916958, -0.005387919954955578, -0.04094654694199562, -0.0681544616818428, 0.048581622540950775, 0.02388964407145977, 0.00026107841404154897, -0.01813266985118389, 0.00631851376965642, -0.003681708825752139, -0.010454841889441013, 0.04745756462216377, -0.047079700976610184, 0.01627052016556263, -0.008565676398575306, 0.057686612010002136, -0.024908779188990593, 0.03446696698665619, -0.039639540016651154, 0.012798357754945755, 0.015338771976530552, -0.02913348563015461, -0.010945837944746017, 0.02948659285902977, 0.11283295601606369, 0.054314546287059784, -0.027684949338436127, -0.04998596012592316, 0.012419660575687885, 0.019152119755744934, -0.01628996804356575, -0.023172657936811447, -0.0034852514509111643, -0.0053133489564061165, 0.004047540947794914, -0.028799209743738174, -0.03697274625301361, 0.04017680883407593, -0.05785923823714256, 0.007632698863744736, 0.05761244520545006, 0.0057861823588609695, 0.058316197246313095, -0.026947487145662308, 0.015501275658607483, -0.01565200835466385, -0.02802046574652195, -0.07683676481246948, -0.007943708449602127, -0.005206411238759756, 0.0026008370332419872, 0.028493989259004593, 0.0021669433917850256, -0.026762282475829124, -0.03953050822019577, -0.05878699570894241, 0.03825284168124199, 0.04970257356762886, 0.06837189197540283, 0.014610537327826023, 0.0622660368680954, -0.0421052910387516, 0.029609281569719315, -0.01506396196782589, -0.024277687072753906, -0.055320385843515396, -0.05343528836965561, -0.00652726273983717, 0.00759994238615036, 0.018656570464372635, 0.00970003753900528, -0.004012353718280792, 0.003661409020423889, 0.027492865920066833, 0.0016308127669617534, 0.05101384222507477, -0.0015700602671131492, 0.02018764615058899, -0.028175117447972298, -0.018826982006430626, 0.06012210249900818, -0.047716639935970306, -0.028439918532967567, -0.0016836244612932205, -0.10913766920566559, 0.0607963465154171, -0.031716879457235336, -0.0397762767970562, 0.013355602510273457, 0.029023854061961174, 0.026156915351748466, 0.05116661265492439, 0.0427435077726841, 0.029583517462015152, 0.017930861562490463, 0.004428854677826166, 0.008576497435569763, 0.006390320137143135, 0.03179250285029411, -0.014877297915518284, -0.036171529442071915, 0.011878342367708683, -0.008005447685718536, 0.004797959700226784, -0.040487561374902725, 0.03154820576310158, -0.05938558652997017, -0.30675145983695984, 0.0173992570489645, 0.014080294407904148, -0.03787556663155556, 0.03003239445388317, -0.03938708081841469, 0.001305182697251439, -0.06375084817409515, -0.035560477524995804, 0.030137065798044205, -0.02878800965845585, -0.035927969962358475, -0.0020010441076010466, 0.02109082229435444, 0.01940293423831463, 0.009744247421622276, 0.01530988048762083, -0.0375935323536396, 0.010972912423312664, 0.012465140782296658, 0.012672001495957375, -0.05247242748737335, -0.014896483160555363, 0.007244739681482315, 0.04441976919770241, 0.08327057212591171, -0.05110443755984306, 0.050544049590826035, -0.049837205559015274, -0.015081308782100677, -0.001506779924966395, -0.002826402196660638, 0.013493137434124947, 0.0031427612993866205, -0.011672908440232277, -0.007241572719067335, 0.05718261003494263, 0.0063407993875443935, 0.0027262086514383554, 0.02785230427980423, -0.013838685117661953, -0.043531376868486404, 0.021120021119713783, 0.023708045482635498, 0.08579646795988083, 0.020639564841985703, -0.0823240801692009, -0.0242235716432333, -0.034777212888002396, 0.06168511509895325, -0.016859542578458786, -0.004485515411943197, 0.003127115312963724, 0.05895513296127319, 0.0006884820177219808, 0.023750973865389824, -0.0025936122983694077, -0.019285719841718674, -0.04477051645517349, -0.057816606014966965, -0.021891288459300995, -0.026857012882828712, -0.012055045925080776, -0.05196776241064072, 0.0024829611647874117, -0.04572245851159096, -0.030032651498913765, -0.03608153015375137, 0.08017159253358841, 0.003199318191036582, -0.04610553756356239, 0.015725240111351013, 0.009274612180888653, -0.1034192368388176, -0.0011708266101777554, -0.028463417664170265, -0.05041327700018883, 0.015695059671998024, 0.008241265080869198, 0.026519306004047394, -0.0277943704277277, -0.05824505165219307, 0.011315640062093735, 0.024167945608496666, 0.012978881597518921, -0.02156263217329979, 0.04603908956050873, 0.001585991820320487, -0.011215210892260075, 0.008621830493211746, 0.08281329274177551, 0.0224540363997221, -0.050480183213949203, -0.032282859086990356, 0.016534924507141113, 0.015489909797906876, -0.0025696957018226385, 0.007146910764276981, 0.008464709855616093, 0.029194645583629608, -0.008751804009079933, -0.06551806628704071, 0.005545143503695726, -0.03164978697896004, -0.02397644706070423, -0.02083742246031761, -0.04136672243475914, 0.010937363840639591, 0.05550428479909897, -0.0028353026136755943, 0.0006742384284734726, -0.021394016221165657, 0.016560861840844154, -0.03813862055540085, -0.02294972725212574, -0.0031688145827502012, 0.01261430885642767, 0.06109129264950752, 0.021769218146800995, -0.006956527475267649, -0.026708059012889862, 0.03734069690108299, 0.019742706790566444, -0.022432655096054077, -0.059127796441316605, -0.01848907768726349, -0.029370341449975967, -0.0055525521747767925, 0.0212834645062685, 0.031012434512376785, -0.002623822307214141, 0.01873457245528698, 0.02774111181497574, -0.03515314310789108, 0.026722081005573273, 0.0009209663257934153, -0.06338568031787872, -0.06173060089349747, 0.002540033310651779, -0.0030520609579980373, -0.013854974880814552, 0.03022000752389431, -0.009148675948381424, 0.011709502898156643, 0.029215920716524124, 0.010276681743562222, 0.052424948662519455, -0.01401981059461832, 0.021178588271141052, 0.030436640605330467, -0.00642301794141531, -0.04570350795984268, 0.009125803597271442, -0.029764525592327118, -0.0098104914650321, -0.033982425928115845, 0.03236433118581772, 0.0028882427141070366, -0.035570792853832245, 0.0012145405635237694, -0.010033444501459599, -0.04091915860772133, -0.059387437999248505, -0.021720830351114273, 0.02009873278439045, 0.03762245550751686, -0.03440333157777786, -0.011811654083430767, 0.006155733950436115, 0.004491880070418119, 0.03132396191358566, 0.031307559460401535, -0.074126236140728, 0.023351557552814484, 0.016885457560420036, -0.005636024288833141, -0.022272730246186256, -0.013889850117266178, 0.05626365542411804, 0.023169005289673805, -0.0022959604393690825, -0.02831420674920082, 0.027406631037592888, 0.020336925983428955, 0.05030597001314163, 0.023677263408899307, -0.038028739392757416, -0.014184712432324886, -0.01841711811721325, 0.003090048208832741, -0.030756143853068352, -0.005106170661747456, 0.0024971861857920885, 0.004931489005684853, -0.029978716745972633, -0.056319933384656906, 0.035153914242982864, -0.01938643679022789, 0.0011386492988094687, 0.01383992563933134, 0.006850805599242449, -0.009333236142992973, -0.028886470943689346, 0.02167167328298092, 0.030327480286359787, -0.07692258059978485, 0.01760830171406269, 0.003748023184016347, -0.0035771529655903578, 0.020408615469932556, 0.012004980817437172, -0.030763307586312294, -0.027752945199608803, -0.02906806766986847, 0.026106491684913635, -0.052670080214738846, -0.028784411028027534, -0.022794287651777267, 0.006823157891631126, 0.0019184743287041783, 0.005059897433966398, -0.03928282856941223, -0.019965440034866333, -0.003958904650062323, -0.030280275270342827, 0.01918388158082962, -0.028469951823353767, 0.014920641668140888, 0.014874402433633804, -0.04018136113882065, -0.019640086218714714, -0.02257820963859558, -0.003872079774737358, 0.007048208266496658, -0.013805592432618141, 0.013218293897807598, -0.01874694414436817, 0.010834842920303345, 0.007315830793231726, 0.030823180451989174, 0.0034063535276800394, 0.007069624029099941, -0.031150300055742264, 0.0024048599880188704, -0.02259458415210247, 0.006231551058590412, -0.02888672612607479, -0.0197302158921957, 0.023344626650214195, 0.060252174735069275, 0.010923381894826889, 0.005273247603327036, -0.018593020737171173, 0.0010619463864713907, 0.044065576046705246, -0.04058762267231941, -0.038827333599328995, -0.029715605080127716, -0.07611830532550812, 0.03029533103108406, 0.0013367588398978114, 0.03881394490599632, -0.04803821071982384, 0.024321777746081352, 0.0415060929954052, 0.014415238983929157, 0.012399911880493164, 0.03580309823155403, 0.02428496815264225, -0.04105284437537193, -0.022693807259202003, -0.07228495925664902, 0.012670938856899738, 0.014541457407176495, -0.02258756011724472, 0.007043454796075821, -0.0025372968520969152, -0.030671298503875732, 0.05410928279161453, -0.07819923013448715, -0.026871761307120323, 0.0235288105905056, -0.007460784167051315, -0.010323621332645416, 0.008821748197078705, -0.07069885730743408, 0.01925903931260109, -0.0008243162301369011, -0.05797966942191124, -0.019343508407473564, -0.02087612822651863, 0.06724167615175247, -0.01637316681444645, 0.01323514711111784, -0.03541760519146919, -0.022319970652461052, 0.06631436944007874, 0.02510794997215271, 0.018927907571196556, 0.033324480056762695, -0.01127132773399353, 0.030501309782266617, 0.03539508581161499, 0.019066309556365013, -0.005044635385274887, 0.0024316085036844015, 0.01480894722044468, -0.07575196027755737, 0.03907136991620064, -0.003204826032742858, 0.011704865843057632, -0.03554203733801842, 0.04643559828400612, 0.02993692271411419, -0.013116960413753986, -0.028715603053569794, 0.03998985141515732, -0.031169883906841278, -0.018882766366004944, -0.0070059699937701225, -0.009296517819166183, -0.027364226058125496, 0.04440220817923546, -0.025100888684391975, 0.027658922597765923, 0.05310552194714546, 0.0008233731496147811, 0.004937602207064629, 0.001954293344169855, 0.10110075771808624, 0.06056467071175575, 0.05020500347018242, 0.025399919599294662, 0.08696915954351425, 0.001972534228116274, -0.039817631244659424, 0.01929847151041031, 0.01946417987346649, -0.06049196794629097, -0.026694094762206078, 0.015865562483668327, 0.055078696459531784, -0.050290919840335846, 0.05364924296736717, -0.012599037028849125, -0.013468459248542786, -0.016751520335674286, 0.03418909013271332, 0.04082783684134483, 0.07207107543945312, 0.001924854121170938, 0.010038862004876137, -0.010343773290514946, -0.04703718423843384, 0.012842089869081974, -0.04231856018304825, -0.030201151967048645, 0.040201425552368164, -0.016377892345190048, 0.03058602847158909, 0.02882969006896019, 0.021850494667887688, 0.07383206486701965, -0.05293755233287811, 0.02848752588033676, 0.004670105408877134, 0.015884194523096085, -0.0022943378426134586, 0.01823468692600727, -0.021918807178735733, -0.014938989654183388, -0.007762912195175886, -0.02769482135772705, -0.03992946073412895, -0.029860353097319603, -0.006493039894849062, 0.05753137543797493, -0.057835765182971954, -0.025700503960251808, 0.04352258890867233, -0.0011812095763161778, -0.022264624014496803, -0.060703106224536896, -0.041799262166023254, -0.029894426465034485, -0.05871548876166344, -0.01480527501553297, 0.04447094351053238, -0.015165493823587894, -0.02721828781068325, -0.023390058428049088, -0.00829661637544632, -0.012315955944359303, 0.06940978765487671, -0.058217067271471024, -0.026494290679693222, 0.0018635563319548965, 0.014902274124324322, -0.0005381628288887441, -0.013581871055066586, 0.05889067426323891, 0.010347479023039341, -0.015577295795083046, -0.0021490538492798805, 0.026587489992380142, 0.01720869168639183, -0.01139109954237938, 0.0072081065736711025, -0.08279316872358322, 0.006070442032068968, 0.0029914523474872112, -0.016687022522091866, -0.06408052891492844, 0.013977939262986183, 0.01721988618373871, -0.014822703786194324, 0.049985069781541824, -0.02329392544925213, -0.00900745578110218, -0.06516221165657043, -0.005812229122966528, -0.009296710602939129, -0.011493154801428318, 0.049147509038448334, 0.00759995449334383, 0.075398288667202, 0.05870277062058449, -0.014670240692794323, -0.035572078078985214, 0.010173340328037739, 0.008220597170293331, 0.000309869647026062, -0.0343782939016819, -0.03465695679187775, -0.01193272229284048, -0.08468957245349884, -0.025112010538578033, 0.031721331179142, -0.018737541511654854, -0.037296123802661896, 0.060427892953157425, -0.007027805782854557, 0.007774260826408863, 0.01220526173710823, -0.02119356580078602, -0.00023575671366415918, -0.038028523325920105, -0.007063813041895628, -0.015209860168397427, 0.02639496512711048, 0.004350925795733929, -0.01108651701360941, 0.022269198670983315, -0.06995461881160736, 0.032082654535770416, 0.006279089953750372, 0.008883083239197731, 0.032564129680395126, 0.012871556915342808, -0.018137451261281967 ]
[ -0.06864476203918457, -0.008504395373165607, -0.0022357162088155746, -0.010981740429997444, 0.048944320529699326, -0.0390482060611248, -0.001839829608798027, 0.04741961136460304, -0.028184613212943077, 0.012701830826699734, 0.00801801960915327, -0.07689408212900162, 0.023127594962716103, -0.00393694406375289, 0.06791175901889801, 0.02010957896709442, 0.009817996993660927, -0.062349770218133926, -0.02695973590016365, 0.03526756912469864, 0.043687883764505386, -0.025329647585749626, -0.014566144905984402, -0.021777993068099022, 0.011021260172128677, -0.0030852530617266893, 0.04822315648198128, -0.01761842891573906, 0.021857332438230515, -0.1835659295320511, 0.021489953622221947, -0.030874650925397873, 0.02505706623196602, -0.0492633655667305, -0.0008312068530358374, 0.05017828941345215, 0.04828384146094322, 0.0033257282339036465, -0.0017935382202267647, 0.0661005973815918, 0.01665409840643406, 0.0466051921248436, -0.08343324065208435, -0.05252469703555107, 0.046994395554065704, 0.020244812592864037, -0.0015458817360922694, -0.022646773606538773, 0.006940318271517754, 0.0012139915488660336, -0.07409386336803436, -0.018374672159552574, 0.012962142936885357, -0.041964367032051086, 0.013401098549365997, 0.011011344380676746, 0.050531841814517975, 0.05754774808883667, 0.00812581554055214, 0.032047636806964874, 0.022425677627325058, -0.04270486533641815, -0.12250502407550812, 0.0993962436914444, 0.045445140451192856, 0.04498754069209099, -0.008327161893248558, -0.0407901369035244, -0.00006344348366837949, 0.05643550679087639, 0.017235271632671356, 0.006890926975756884, -0.038298480212688446, 0.03137519583106041, 0.015144078992307186, -0.00027791017782874405, 0.01582341268658638, 0.05233351141214371, -0.010187234729528427, -0.059452660381793976, -0.054927948862314224, 0.024524979293346405, -0.013140846975147724, -0.011196841485798359, -0.018265774473547935, -0.004895977675914764, 0.0004981025704182684, 0.027967272326350212, 0.02137882076203823, 0.06270472705364227, 0.035039834678173065, 0.014791338704526424, 0.052953433245420456, -0.014543958008289337, -0.10117021203041077, 0.006937813013792038, -0.006718060001730919, 0.036151256412267685, -0.06056928262114525, 0.44318318367004395, -0.02970195561647415, -0.028136098757386208, 0.05731486529111862, 0.005128807388246059, 0.018069805577397346, 0.013219453394412994, -0.010596731677651405, -0.04586447775363922, 0.031878650188446045, -0.009331521578133106, 0.04353736340999603, 0.029046908020973206, 0.0538821741938591, -0.01400667056441307, -0.0027239262126386166, -0.01221656147390604, 0.042431384325027466, 0.030527479946613312, -0.022842269390821457, -0.04365062341094017, -0.01643729954957962, 0.023727353662252426, 0.029713397845625877, -0.00061370013281703, 0.0013068378902971745, -0.036481861025094986, 0.054498810321092606, 0.05639326944947243, 0.02522381767630577, -0.017471542581915855, 0.04710689187049866, -0.07907235622406006, -0.018058517947793007, -0.003190090646967292, -0.012244055978953838, -0.01618076115846634, 0.01966569572687149, -0.04782958701252937, 0.0096830939874053, 0.06681075692176819, -0.0198008231818676, -0.015107076615095139, -0.00842550303786993, -0.041572604328393936, -0.012141111306846142, 0.06034592539072037, 0.03496839851140976, -0.03862055763602257, -0.025277364999055862, -0.03553929924964905, 0.008418885059654713, 0.044030703604221344, 0.0012746481224894524, -0.06279624998569489, 0.04978006333112717, -0.004888079594820738, 0.03763745352625847, 0.0052141775377094746, -0.04960673302412033, 0.0022224904969334602, 0.02450290322303772, -0.020613208413124084, -0.05402175337076187, 0.020171424373984337, 0.0550435371696949, -0.08461514860391617, -0.040633510798215866, 0.029200419783592224, 0.014047033153474331, -0.06201969459652901, -0.018727092072367668, 0.03311444818973541, -0.023582739755511284, -0.012304390780627728, 0.029439453035593033, -0.032102327793836594, -0.08110849559307098, -0.010602252557873726, 0.005583588033914566, 0.028636502102017403, 0.039735328406095505, -0.012678427621722221, -0.03744063898921013, -0.0037807023618370295, -0.029806343838572502, -0.10940796881914139, -0.05379876121878624, 0.0008199735311791301, 0.0005931597552262247, -0.025813203305006027, -0.02127305045723915, -0.042666707187891006, -0.08063892275094986, 0.08230076730251312, 0.03288852795958519, -0.009395057335495949, 0.0060553341172635555, -0.02167890965938568, -0.012343188747763634, 0.0011723940260708332, -0.01997647061944008, -0.00863589346408844, -0.021875601261854172, 0.0008374332101084292, -0.0627530962228775, 0.05404131859540939, 0.013309012167155743, -0.04390665516257286, 0.08641967922449112, 0.04869752749800682, -0.003735409816727042, -0.007718315348029137, -0.004369352478533983, 0.023356931284070015, 0.005456789396703243, 0.01813373900949955, -0.012862464413046837, -0.0024097205605357885, 0.016332101076841354, -0.004237643443048, 0.0007838602177798748, -0.0024378858506679535, -0.014392323791980743, -0.3506320118904114, -0.0410989448428154, -0.024813516065478325, -0.003050294704735279, 0.0676356852054596, -0.06382494419813156, 0.025391673669219017, -0.024365106597542763, -0.025951897725462914, 0.01549573615193367, 0.07955432683229446, -0.030072299763560295, 0.01866563782095909, -0.07397516071796417, 0.000508912664372474, 0.0015262914821505547, -0.02131795510649681, -0.05827292427420616, -0.022753210738301277, 0.016225876286625862, -0.009767131879925728, -0.0035181946586817503, 0.0030716757755726576, -0.04829701408743858, 0.0025241596158593893, -0.05613897740840912, 0.1103283241391182, 0.03810204565525055, 0.05910950526595116, -0.05963591858744621, 0.02257564477622509, -0.019482038915157318, 0.010758982971310616, -0.12506400048732758, 0.011172853410243988, 0.009657011367380619, 0.01747315749526024, -0.045882973819971085, 0.022295458242297173, -0.021226217970252037, -0.0811290517449379, 0.01926063746213913, -0.05936860293149948, -0.0270648542791605, -0.04175904765725136, 0.02689746953547001, -0.03964969515800476, -0.03659925237298012, -0.03218325227499008, 0.0302498247474432, 0.04085373878479004, -0.001518665230832994, 0.019584868103265762, -0.0006409912602975965, 0.00753854401409626, -0.045343659818172455, -0.08455488830804825, -0.002448266837745905, 0.007736095227301121, -0.04556355997920036, 0.03921546787023544, 0.04187438264489174, 0.051898807287216187, -0.05615090951323509, 0.01204997394233942, 0.018467821180820465, -0.012369523756206036, 0.022439047694206238, 0.0351036973297596, 0.0027062890585511923, -0.03707170486450195, 0.12325072288513184, 0.002112265210598707, 0.004266560077667236, 0.024063505232334137, 0.020819079130887985, 0.007004140876233578, 0.005721518769860268, -0.0036526506301015615, -0.023577941581606865, 0.0607362724840641, -0.0485517792403698, 0.04347095265984535, -0.03198240324854851, 0.0005532124196179211, 0.02425296977162361, -0.04750533774495125, -0.0380900576710701, 0.08896227926015854, -0.005003341939300299, 0.014514620415866375, -0.014821005053818226, -0.008118790574371815, -0.0787980854511261, 0.08340480923652649, 0.0322251059114933, -0.24385511875152588, 0.0018286078702658415, 0.058251749724149704, 0.055296264588832855, -0.01279356423765421, 0.0598929263651371, 0.02985343523323536, -0.01864980347454548, 0.05725165084004402, 0.009182805195450783, 0.009074601344764233, 0.050367098301649094, -0.0008580852299928665, 0.028440941125154495, 0.05187346041202545, -0.00953292939811945, 0.026412857696413994, 0.008721129037439823, 0.0048523228615522385, -0.0006256928900256753, 0.01993146911263466, -0.020113904029130936, 0.1417197585105896, 0.017432570457458496, 0.018832242116332054, 0.019672350957989693, -0.03512870892882347, -0.002600109903141856, 0.061456456780433655, 0.009089470840990543, 0.025400476530194283, 0.006334642414003611, 0.02726651355624199, 0.001996390987187624, 0.029640039429068565, -0.08906474709510803, -0.02651984617114067, 0.0014347664546221495, 0.02905132621526718, 0.000551530800294131, 0.01369780395179987, 0.04165862873196602, 0.015349548310041428, 0.03920840471982956, 0.07982322573661804, -0.03587854653596878, -0.02417704276740551, -0.007969680242240429, -0.050300419330596924, -0.008154526352882385, 0.010007168166339397, -0.06668372452259064, -0.023053865879774094, 0.0058379038237035275, -0.0026720180176198483, 0.0843253880739212, 0.025629332289099693, -0.04756517708301544, -0.013605437241494656, -0.005108254496008158, 0.0022610523737967014, -0.0268758125603199, 0.04163280874490738, 0.007040458731353283, 0.058510951697826385 ]
[ -0.019344676285982132, 0.008596619591116905, 0.035667892545461655, 0.016522185876965523, 0.0008435463532805443, -0.0243670791387558, 0.004422735422849655, 0.035060424357652664, -0.026650499552488327, -0.002128270687535405, -0.009421941824257374, 0.024008890613913536, 0.011951016262173653, 0.03698671609163284, 0.025627432391047478, 0.002859018975868821, 0.007023573387414217, 0.004433471243828535, 0.010555981658399105, -0.01068890281021595, 0.005990391597151756, 0.04229811578989029, 0.005515169817954302, -0.009569169022142887, -0.0025529395788908005, -0.012645137496292591, -0.0243217870593071, 0.012576167471706867, 0.02527816779911518, -0.15704968571662903, 0.007132222875952721, -0.039996180683374405, 0.009021308273077011, -0.016732191666960716, -0.02061295509338379, 0.015027002431452274, 0.029989998787641525, -0.0013938815100118518, -0.008601736277341843, 0.021220000460743904, 0.0068647973239421844, -0.003437833394855261, 0.00900263711810112, -0.023014722391963005, 0.014985417947173119, -0.013181477785110474, -0.046962641179561615, -0.01759113185107708, 0.008285782299935818, -0.023096082732081413, -0.01717914268374443, -0.05342196673154831, -0.0071775722317397594, -0.01535872370004654, 0.013282137922942638, -0.023952925577759743, -0.005791718605905771, -0.005274222232401371, 0.0185747891664505, 0.021836072206497192, 0.011576946824789047, -0.009721175767481327, -0.03134748712182045, -0.007786089554429054, -0.0006959002348594368, -0.014150716364383698, -0.009448062628507614, -0.007257848046720028, -0.035402849316596985, -0.006394847761839628, -0.02687836065888405, 0.040001314133405685, -0.05570000410079956, -0.005921602249145508, -0.027271350845694542, 0.014105926267802715, 0.024497967213392258, 0.030222056433558464, 0.001534795854240656, 0.013649624772369862, -0.03173959255218506, -0.0015448917401954532, 0.05746542289853096, 0.022511307150125504, -0.019136181101202965, -0.03058987855911255, -0.01727931573987007, 0.0008187973871827126, 0.0008922272827476263, 0.04426122456789017, -0.014576337300240993, 0.034377191215753555, -0.006432550027966499, 0.0023543816059827805, -0.05105147510766983, -0.011603912338614464, -0.008192311972379684, 0.02055870182812214, -0.0072745452634990215, 0.849621057510376, -0.004978508688509464, -0.030035270377993584, 0.001810326473787427, 0.00992616731673479, 0.024684254080057144, -0.023961417376995087, -0.017565831542015076, -0.00403254572302103, 0.0031839171424508095, -0.04390693083405495, 0.015314235351979733, 0.00795021839439869, 0.028342729434370995, 0.00019281526328995824, 0.020638691261410713, 0.021552421152591705, 0.018451988697052002, -0.011149211786687374, 0.00940739456564188, -0.005975587293505669, 0.02612457238137722, 0.03439635783433914, 0.0026690028607845306, 0.001856085378676653, -0.01524046529084444, -0.18885178864002228, 0.042132969945669174, -8.12220384796534e-33, 0.05952736362814903, 0.0024077161215245724, 0.020399635657668114, 0.0011566272005438805, -0.005077608395367861, -0.0017782043432816863, 0.0012021500151604414, 0.02302115224301815, 0.008212887682020664, -0.028408098965883255, 0.0011074221692979336, 0.013255409896373749, 0.009893578477203846, -0.0436447374522686, 0.03736530616879463, -0.03179110586643219, 0.017728682607412338, 0.05048241466283798, -0.013731059618294239, 0.001108742319047451, 0.020655294880270958, 0.03355866298079491, 0.010669698938727379, 0.010224367491900921, 0.01299042534083128, 0.023370029404759407, 0.020106088370084763, -0.013231000863015652, -0.014976640231907368, -0.03870675340294838, -0.004892690572887659, -0.01874745637178421, 0.001611625892110169, 0.016689540818333626, -0.007854665629565716, -0.03421104699373245, -0.0018942254828289151, 0.002594500547274947, -0.030168717727065086, -0.024457881227135658, 0.023740677163004875, -0.008944515138864517, -0.03653702884912491, 0.026860667392611504, -0.0228137020021677, 0.002971355803310871, -0.005376514513045549, 0.022719085216522217, -0.004871867131441832, 0.02024829015135765, 0.005375339649617672, 0.036600805819034576, -0.0023070594761520624, 0.0037951127160340548, -0.024573015049099922, 0.014889768324792385, 0.018039917573332787, -0.03900735452771187, -0.04649941995739937, 0.009126337245106697, 0.027327770367264748, -0.009573840536177158, -0.014079972170293331, 0.012984706088900566, -0.024378450587391853, -0.023031966760754585, 0.017192821949720383, 0.03366658464074135, 0.00267107505351305, 0.014583599753677845, -0.04827375337481499, 0.02494204044342041, -0.007021828554570675, -0.037567511200904846, 0.012481441721320152, -0.007648688741028309, -0.011258282698690891, 0.029402200132608414, -0.032539382576942444, 0.03797471523284912, -0.005923446733504534, 0.0076090507209300995, -0.018313691020011902, -0.04850936681032181, -0.00341791776008904, -0.027290407568216324, 0.024443602189421654, -0.007435842417180538, -0.01529974676668644, 0.0065892464481294155, -0.004493399523198605, 0.013326491229236126, 0.01378558948636055, -0.008783901110291481, -0.01724219135940075, 8.364637068194959e-33, 0.00753027992323041, -0.023983128368854523, -0.0021312758326530457, 0.006541190668940544, 0.002123642945662141, 0.023820582777261734, 0.050441674888134, -0.013786735944449902, -0.05802442505955696, -0.00606621615588665, -0.025201965123414993, -0.006681147497147322, 0.013538774102926254, 0.03825628012418747, 0.0015244792448356748, -0.003369133686646819, 0.007448442280292511, -0.027006739750504494, -0.007805417291820049, -0.002867455594241619, 0.0006303404807113111, 0.004809088073670864, 0.028005635365843773, 0.01522178016602993, -0.005294835660606623, 0.06780197471380234, -0.0252169668674469, 0.0037846991326659918, 0.018123025074601173, 0.020058058202266693, 0.016649309545755386, -0.0039302632212638855, 0.021636424586176872, -0.012185638770461082, -0.028590980917215347, 0.03702943027019501, -0.006749201565980911, 0.001811138354241848, 0.03476471081376076, -0.021025877445936203, 0.0568428561091423, -0.023110592737793922, -0.01501297764480114, 0.002789912046864629, 0.02487105317413807, -0.002268420998007059, -0.024134786799550056, 0.004377509001642466, -0.026390990242362022, 0.03831959515810013, -0.012437096796929836, 0.027668289840221405, -0.008232670836150646, 0.04875854775309563, -0.05699227377772331, 0.0015453342348337173, -0.031133338809013367, 0.05525169521570206, -0.05495621636509895, 0.03013642318546772, 0.010161662474274635, -0.017521977424621582, -0.016060246154665947, 0.0008986522443592548, -0.043863505125045776, -0.013644447550177574, 0.016711700707674026, -0.01973123475909233, 0.039976269006729126, -0.030800016596913338, -0.012806623242795467, 0.01876101642847061, -0.027135824784636497, 0.022004209458827972, 0.019828680902719498, -0.011903109028935432, 0.01055514719337225, -0.02000785991549492, -0.020900432020425797, 0.02913745492696762, -0.001963375834748149, 0.04930727928876877, 0.011449883691966534, 0.011534701101481915, 0.02814253233373165, -0.015844952315092087, -0.030251702293753624, 0.03319939970970154, 0.023630831390619278, -0.010776789858937263, -0.03904907777905464, -0.0005739355110563338, -0.03510744124650955, 0.017267810180783272, 0.009770471602678299, -1.3396464382253725e-8, -0.012110596522688866, 0.029063671827316284, 0.00005720838453271426, 0.03407098725438118, 0.018680043518543243, -0.0007306665065698326, -0.03863753005862236, -0.027246469631791115, -0.03887994959950447, 0.017260560765862465, 0.03362482413649559, 0.01376416441053152, -0.004906155169010162, 0.02052854746580124, 0.01781374029815197, -0.0530337393283844, 0.0018165031215175986, 0.006418611854314804, 0.040359895676374435, -0.018248505890369415, 0.010681658051908016, 0.014414890669286251, -0.03787253424525261, 0.002623318461701274, 0.012738263234496117, -0.00709582818672061, -0.020460329949855804, -0.07044582068920135, 0.036352477967739105, 0.036194924265146255, -0.010729245841503143, -0.01602407731115818, -0.04643234983086586, -0.012899713590741158, 0.007233717944473028, -0.009263693355023861, -0.012420032173395157, -0.001971724210307002, 0.03300997614860535, -0.02042466774582863, -0.007326784078031778, 0.01592322811484337, 0.020745793357491493, -0.016871672123670578, -0.03804970532655716, -0.042141303420066833, 0.00027989179943688214, -0.0021901284344494343, 0.022214898839592934, 0.021488651633262634, 0.021302610635757446, -0.0033025515731424093, 0.002573468256741762, 0.050959039479494095, 0.007034772541373968, 0.007536098826676607, 0.00779676903039217, -0.050330232828855515, -0.00799220148473978, 0.04127548262476921, 0.04542245715856552, -0.03552590683102608, -0.02004685252904892, -0.026671409606933594 ]
bear-shaving
https://markhneedham.com/blog/2009/08/06/bear-shaving
false
2009-08-24 18:20:33
Book Club: What I've learned about DDD since the book (Eric Evans)
[ "book-club" ]
[ "Book Club" ]
This week book club became video club as we discussed Eric Evans' QCon London presentation 'http://www.infoq.com/presentations/ddd-eric-evans[What I've learned about DDD since the book]'. I was lucky enough to be able to http://www.markhneedham.com/blog/2009/03/13/qcon-london-2009-what-ive-learned-about-ddd-since-the-book-eric-evans/[attend this presentation live] and we previously ran a book club where I briefly summarised what I'd learnt but this gave everyone else an opportunity to see it first hand. There are some of my thoughts and our discussion of the presentation: * We spent a lot of time discussing domain events - one of the new ideas which Evans had observed since publishing the book - and http://lizdouglass.wordpress.com/[Liz] pointed out that *a domain event often exists where there is some sort of interaction between objects which doesn't seem to belong on either object*. The example Liz gave is where there is an accident between two cars and we realise that there should be a Collision object to describe what's happened. http://intwoplacesatonce.com/[Dave] pointed out that http://book.git-scm.com/1_the_git_object_model.html[commits in Git] could be another example of a domain event. We discussed some domain events which we had noticed in code bases we had worked on. One system I worked on had the concept of transactions to describe interactions between different accounts. They were also used to http://www.markhneedham.com/blog/2008/08/27/handling-balances-in-systems/[calculate the balance] of an account at any time in preference to keeping the balance of each account updated in real time. The balance on the account would still be updated at the end of each day such that we would only need to make use of transactions since the last update to calculate a balance. * What really stood out for me in our discussion is how a lot of the concepts that Eric Evans talks about are designed to make us *explicitly state what we are doing in our code*. We have domain events for describing what happens in the domain, we try to define bounded contexts so we know what the object model means in specific areas of the code, we identify a core domain so we can spend our time on the most important code and so on. Dave described this as *conscious coding* in that it makes us think very carefully about what we're coding rather than just coding without real analysis and probably writing code which isn't as useful as it could be. * I'm still not sure that I really get what the *core domain* means but Dave described it as 'If we stripped out all the other code in our system except for the core domain we would still be able to build something around that' which actually has the side effect of pointing out that we need to ensure that this code is completely decoupled from any implementation details of the current way we are using it. For example if we are currently writing a website and it is decided that we need to be able to display our content on a mobile phone, we should still be able to make use of the same core domain code to do that fairly easily. * The section of the talk about the *big ball of mud and the green house* was also very interesting and Raphael Speyer came up with the analogy of only letting code from outside the green house inside if it had been hosed down and all the mud removed so that we can ensure that out important code is of comparable quality. If I understand correctly the core domain is the code that should reside in that metaphorical green house and we will spend a lot of time on its modeling so that it will be easy to change in the future. By contrast the modeling of the code outside the green house is not as important - a lot of the time the code out there is 'just data' and we want to display that data to users with minimal effort in modeling it in our code since we don't get a great deal of value from doing so.
null
null
[ -0.0002604853070806712, 0.004203673452138901, -0.0012541919713839889, 0.04989444091916084, 0.08032314479351044, -0.009440241381525993, 0.004929700866341591, 0.03107069618999958, 0.026432836428284645, 0.003551891539245844, -0.006184739992022514, 0.005989386234432459, -0.05055103078484535, 0.025493033230304718, -0.01585865020751953, 0.07050232589244843, 0.04493347927927971, -0.0020058632362633944, 0.028279809281229973, -0.009684264659881592, 0.018549136817455292, 0.06318949908018112, 0.039903245866298676, 0.04224321246147156, 0.03629472479224205, 0.011369781568646431, 0.021508386358618736, 0.010061562992632389, -0.03554908186197281, -0.011285820044577122, 0.040903329849243164, 0.0087670823559165, -0.009511148557066917, 0.0180225670337677, 0.03070184774696827, -0.011939852498471737, -0.016687730327248573, 0.0047876969911158085, -0.00519582349807024, 0.006655109580606222, -0.07016558945178986, 0.035638660192489624, -0.04363361373543739, 0.0031479850877076387, -0.05311819165945053, 0.007272809278219938, -0.041739918291568756, 0.011977857910096645, -0.00930409599095583, -0.019470540806651115, -0.05245848372578621, 0.03946714475750923, 0.007706375326961279, 0.00646470719948411, -0.018185008317232132, 0.053869813680648804, 0.015048903413116932, -0.04726656153798103, 0.013518673367798328, -0.04259875789284706, -0.0008042007102631032, 0.005063575226813555, -0.0008228772203437984, 0.019767502322793007, 0.034913547337055206, -0.03935316205024719, -0.001541689969599247, 0.03296114131808281, -0.03645654022693634, 0.002518452238291502, -0.029371269047260284, 0.022858327254652977, 0.012076111510396004, -0.00048091134522110224, -0.006416916381567717, -0.042041514068841934, 0.02463008277118206, 0.06223156675696373, 0.027072947472333908, 0.019313054159283638, 0.008598986081779003, 0.010406679473817348, -0.004826821852475405, 0.0342952199280262, -0.020597677677869797, -0.04338932782411575, -0.029354535043239594, -0.02836645394563675, -0.06175548583269119, 0.06338613480329514, -0.02481953427195549, -0.06220071390271187, -0.0012738563818857074, 0.025184951722621918, -0.022593708708882332, 0.006286752410233021, 0.03976913169026375, -0.00928003154695034, -0.0010078026680275798, -0.0221149493008852, -0.02950975112617016, -0.03939094394445419, 0.01385724451392889, 0.0004236664390191436, -0.07692524790763855, 0.013061822392046452, -0.03609639033675194, -0.022152511402964592, 0.019992627203464508, 0.006749857682734728, -0.022943170741200447, 0.02311771921813488, -0.019396735355257988, 0.0026468888390809298, -0.05600063130259514, 0.06527289748191833, 0.013320406898856163, -0.04159223288297653, -0.012635260820388794, 0.004934666212648153, 0.03430028632283211, 0.015474610030651093, -0.013035840354859829, 0.08864838629961014, 0.02619621902704239, 0.0014368733391165733, -0.02852633222937584, 0.04125668480992317, -0.03512699529528618, -0.06501565128564835, 0.020095428451895714, 0.03896336257457733, -0.04699665680527687, -0.027136480435729027, -0.0009942685719579458, -0.039342544972896576, -0.0008112608338706195, -0.002003391506150365, 0.03915701061487198, 0.046419329941272736, 0.03019396960735321, -0.04133570194244385, 0.0022859503515064716, 0.0017416906775906682, 0.04668792709708214, 0.0052042496390640736, 0.001128885429352522, -0.017519745975732803, -0.036412861198186874, -0.006733277812600136, 0.010258619673550129, 0.010398591868579388, 0.022943822667002678, -0.04551488906145096, 0.03274313732981682, 0.07801343500614166, 0.04106185585260391, 0.04347740113735199, -0.026067599654197693, 0.04725566506385803, 0.029744453728199005, 0.004059093538671732, 0.009225202724337578, 0.02640712447464466, 0.010109181515872478, -0.014122970402240753, -0.005303552374243736, 0.07454374432563782, -0.012997221201658249, -0.012119488790631294, -0.06945467740297318, -0.044464439153671265, 0.05690913647413254, -0.0524800643324852, -0.02779877930879593, 0.05920404568314552, 0.07467086613178253, 0.049903109669685364, 0.037720322608947754, -0.022440237924456596, -0.08809123933315277, -0.004644555039703846, 0.021868763491511345, 0.022335845977067947, 0.02033410221338272, -0.02057720348238945, 0.05592513829469681, 0.05135485157370567, 0.004474007058888674, 0.0714457780122757, -0.07847194373607635, -0.06683666259050369, -0.017110604792833328, -0.021781092509627342, 0.05997040122747421, -0.028449177742004395, 0.046150851994752884, 0.06000082194805145, 0.0032383843790739775, 0.06032349169254303, 0.013705000281333923, 0.010900387540459633, 0.020950734615325928, -0.020290588960051537, -0.027682723477482796, 0.046166226267814636, 0.018930179998278618, 0.0032308734953403473, -0.0348312109708786, -0.0075289164669811726, -0.01140976045280695, -0.004303357098251581, 0.038442615419626236, -0.0049840775318443775, 0.02500334195792675, -0.0009786441223695874, 0.05602223053574562, -0.025404024869203568, 0.028681669384241104, -0.038616567850112915, 0.024166598916053772, 0.012980124913156033, -0.008431047201156616, 0.014883453026413918, -0.021343667060136795, 0.12240020185709, 0.0572446808218956, -0.016753632575273514, -0.04762974753975868, 0.029437487944960594, 0.0019484700169414282, -0.0245123952627182, -0.0011197195854038, -0.021354783326387405, 0.02373744547367096, -0.005381174385547638, -0.07380466908216476, -0.047641556710004807, 0.02112210914492607, -0.030537448823451996, 0.014524277299642563, 0.045949116349220276, -0.010138241574168205, 0.07182426005601883, -0.02256370522081852, 0.009036954492330551, -0.0060941725969314575, -0.007810731418430805, -0.04103223606944084, -0.005220502614974976, -0.012678876519203186, -0.01902896910905838, 0.039376210421323776, -0.026213958859443665, -0.015328358858823776, -0.02475556917488575, -0.011847513727843761, 0.021758414804935455, 0.05778365209698677, 0.07006380707025528, -0.006289586890488863, 0.06795530766248703, -0.004282032139599323, 0.017864827066659927, -0.024739449843764305, -0.049893204122781754, -0.0462820865213871, -0.03210193291306496, -0.009065372869372368, 0.022407017648220062, 0.028854617848992348, 0.01853557862341404, 0.014535864815115929, 0.02014012262225151, -0.005607006140053272, -0.01646522618830204, 0.03940856084227562, -0.00434747152030468, -0.021550115197896957, -0.023046161979436874, -0.03852483257651329, 0.05265156552195549, -0.0423106923699379, -0.016449879854917526, 0.01003052294254303, -0.07337924093008041, 0.047837767750024796, -0.08813613653182983, -0.04477216303348541, 0.001871391199529171, 0.023133544251322746, 0.02485494688153267, 0.015218987129628658, 0.009077099151909351, 0.07642147690057755, 0.012200706638395786, -0.008074402809143066, -0.017542121931910515, -0.016761567443609238, 0.04006539285182953, -0.014269063249230385, -0.004048686008900404, 0.033894993364810944, -0.006094012409448624, 0.013018121011555195, -0.059244055300951004, 0.029942678287625313, -0.004569349344819784, -0.2993442416191101, 0.011289681307971478, 0.0018738714279606938, -0.04292510822415352, 0.0262497179210186, -0.006942529231309891, 0.018446756526827812, -0.05441989377140999, -0.04409328103065491, -0.0013809612719342113, -0.037823647260665894, -0.06765420734882355, -0.0172507856041193, 0.0337299145758152, 0.029226843267679214, 0.03103531152009964, 0.042492035776376724, -0.04293440282344818, -0.006125875283032656, 0.049730800092220306, -0.013264176435768604, -0.07919161766767502, -0.015034840442240238, 0.03748656436800957, 0.01747485250234604, 0.04966631904244423, -0.07028748840093613, -0.00587084237486124, -0.057411812245845795, 0.0008053132914938033, 0.029271358624100685, 0.0005974160158075392, 0.00267332186922431, -0.028489405289292336, -0.005338618066161871, -0.02914179302752018, 0.06024112179875374, 0.0025603710673749447, -0.004385899752378464, 0.00021192149142734706, -0.006974745541810989, -0.03644870966672897, 0.009580989368259907, 0.020817749202251434, 0.08327797800302505, 0.029661644250154495, -0.07834634929895401, 0.011278117075562477, -0.059294234961271286, 0.08719053119421005, -0.02229374647140503, -0.02323046140372753, -0.005360692739486694, 0.022305043414235115, -0.0036500804126262665, -0.0038800896145403385, -0.00491568585857749, -0.022616194561123848, -0.03931698575615883, -0.04431143030524254, -0.014399788342416286, -0.028458233922719955, 0.009271333925426006, -0.029777303338050842, 0.010113157331943512, -0.06521110236644745, -0.07093371450901031, -0.0010018794564530253, 0.07945117354393005, 0.03241751343011856, -0.02311302162706852, 0.034749116748571396, -0.010021615773439407, -0.11781864613294601, -0.019680624827742577, 0.0110930185765028, 0.01872514933347702, 0.011413215659558773, 0.04230640083551407, 0.04240038990974426, -0.02462390623986721, -0.05251294746994972, 0.016170578077435493, 0.017946094274520874, 0.02516416274011135, -0.03417401388287544, 0.040350064635276794, 0.007712480612099171, -0.03630547970533371, -0.007395213935524225, 0.057278893887996674, -0.011869894340634346, -0.018590614199638367, -0.005278576165437698, 0.014290119521319866, 0.008384345099329948, -0.006938784383237362, 0.004948177374899387, 0.004805462900549173, 0.027032330632209778, -0.002454513218253851, -0.05663808807730675, 0.033763617277145386, -0.03536396101117134, -0.003457685001194477, -0.006877289619296789, -0.03621997311711311, -0.0004300875007174909, 0.026522254571318626, -0.0043044909834861755, 0.00016295684326905757, -0.030241528525948524, 0.030067766085267067, -0.06205430626869202, -0.026012996211647987, -0.017239654436707497, 0.02043505199253559, 0.04972447082400322, -0.0017565544694662094, -0.01698492281138897, -0.05871926248073578, 0.012048382312059402, -0.002905226545408368, -0.025934241712093353, -0.06027621030807495, -0.01704336144030094, -0.03240078687667847, 0.0013676731614395976, 0.006697652395814657, 0.0021379871759563684, -0.009234244003891945, 0.015480379574000835, 0.017036931589245796, -0.03581278771162033, 0.01777494326233864, -0.012890392914414406, -0.07047228515148163, -0.02897343598306179, -0.007333507761359215, -0.002418276621028781, 0.011385645717382431, 0.02375209331512451, -0.0066041722893714905, 0.003859693882986903, 0.05434985086321831, 0.003715710248798132, 0.018035216256976128, 0.020000332966446877, 0.03928960859775543, 0.019242776557803154, 0.001163081149570644, -0.053422827273607254, 0.020259950309991837, -0.03393615037202835, -0.009622118435800076, -0.010152395814657211, 0.04840126261115074, -0.028644762933254242, -0.017269376665353775, -0.02365206368267536, 0.025836745277047157, -0.052719708532094955, 0.0032331838738173246, -0.01774708926677704, 0.03288371115922928, 0.07425378262996674, -0.02579675056040287, 0.022943729534745216, 0.0016667864983901381, -0.023555845022201538, -0.006680269259959459, 0.013770060613751411, -0.048437707126140594, 0.02134290710091591, 0.03167412057518959, -0.012456459924578667, -0.005014622118324041, -0.022637302055954933, 0.04561072960495949, 0.0068875085562467575, 0.01044988352805376, -0.05208314210176468, 0.01379314810037613, -0.0085537014529109, 0.07111744582653046, 0.03507759049534798, -0.0014321677153930068, 0.023294774815440178, -0.02330351434648037, -0.021139182150363922, -0.01176622323691845, -0.017591262236237526, -0.014482788741588593, -0.004440720193088055, -0.03813498094677925, -0.0679749995470047, 0.06800241768360138, 0.012114468961954117, -0.0012606530217453837, 0.0043615796603262424, 0.00887538492679596, 0.02146746776998043, -0.03097006306052208, 0.039834585040807724, 0.035428646951913834, -0.07195442914962769, 0.013141749426722527, 0.0009891140507534146, 0.004884354770183563, 0.016152305528521538, -0.002253216691315174, -0.037409763783216476, -0.03273950517177582, -0.03056778572499752, 0.022958796471357346, -0.05345722287893295, -0.011128868907690048, -0.03050106205046177, 0.014664332382380962, 0.003935216926038265, 0.022987155243754387, -0.01854574866592884, -0.004882417153567076, -0.010008467361330986, -0.023359213024377823, 0.03000875748693943, -0.036509111523628235, 0.006463882979005575, 0.006826690398156643, -0.033785250037908554, -0.014555656351149082, -0.028618667274713516, -0.002107956213876605, 0.011282862164080143, -0.03220804035663605, -0.01458054967224598, -0.05524912849068642, 0.0006684117834083736, -0.012110169045627117, 0.04715879634022713, -0.007616179529577494, 0.0015373294008895755, -0.033040739595890045, 0.0007341937744058669, -0.04639375954866409, 0.0305024366825819, 0.0010993744945153594, -0.02420538291335106, 0.028122778981924057, 0.04682053253054619, 0.010570807382464409, 0.036614447832107544, 0.0008829930447973311, -0.004129528533667326, 0.0385795459151268, -0.08530709892511368, -0.011690116487443447, -0.030706362798810005, -0.06292059272527695, 0.00035497310454957187, -0.0016017027664929628, 0.022376874461770058, -0.035738054662942886, 0.02670833095908165, 0.016253843903541565, 0.04031084105372429, 0.0332045741379261, 0.00917109102010727, 0.028094934299588203, -0.025521090254187584, 0.00662761926651001, -0.07710975408554077, -0.0028384753968566656, 0.020808344706892967, 0.015019005164504051, -0.0031491946429014206, 0.019371911883354187, -0.06279189884662628, 0.050793588161468506, -0.08712247014045715, -0.017538635060191154, 0.04931500181555748, -0.004175093024969101, -0.020941730588674545, 0.006807629484683275, -0.08281343430280685, -0.003971349913626909, 0.0423969030380249, -0.038065481930971146, -0.005119954235851765, -0.03272073715925217, 0.04782776162028313, -0.0007019815384410322, 0.0288813766092062, -0.024338606745004654, -0.01172564271837473, 0.06858745962381363, 0.003762714099138975, 0.003911740146577358, 0.06200602650642395, 0.0036623210180550814, 0.035820938646793365, 0.01957661658525467, -0.0036154682748019695, 0.013868063688278198, 0.015395613387227058, -0.025337643921375275, -0.06803682446479797, 0.03666362538933754, -0.013159855268895626, -0.012408937327563763, -0.04330968111753464, 0.0507977157831192, 0.026433676481246948, -0.032604336738586426, -0.067852683365345, 0.024733280763030052, -0.05111269652843475, -0.020805463194847107, -0.01609954610466957, -0.005854329094290733, -0.03737439960241318, 0.056094784289598465, -0.010938321240246296, 0.011690841987729073, 0.05898439139127731, 0.01963435858488083, -0.01624724082648754, -0.02767460234463215, 0.09714928269386292, 0.09797751903533936, 0.06636713445186615, 0.007779008708894253, 0.076352559030056, -0.02146819792687893, -0.0457039549946785, -0.0009254333563148975, -0.027865994721651077, -0.023786909878253937, -0.02785363420844078, 0.01084150280803442, 0.06715478748083115, -0.0291911493986845, 0.0525997020304203, -0.007972544990479946, -0.020768627524375916, 0.01041457336395979, 0.02400800585746765, 0.032931264489889145, 0.05845845490694046, 0.025524413213133812, 0.019708475098013878, -0.006535098887979984, -0.05687287449836731, 0.048091351985931396, -0.01770269311964512, -0.01958903670310974, 0.013965490274131298, 0.002549746772274375, 0.027295289561152458, -0.009769958443939686, 0.043222181499004364, 0.09117168933153152, -0.031224112957715988, 0.008280987851321697, -0.0021305258851498365, 0.004147060215473175, 0.023648666217923164, 0.028422407805919647, -0.0158186387270689, -0.01862051896750927, -0.020670674741268158, -0.05390099063515663, -0.03774813190102577, -0.013976586982607841, -0.035754259675741196, 0.040279679000377655, -0.031795695424079895, 0.0054818131029605865, 0.020546695217490196, 0.01903955265879631, -0.016814572736620903, -0.06472520530223846, -0.04676491767168045, -0.015332500450313091, -0.05526444688439369, -0.005717068910598755, 0.0300460085272789, -0.0016451564151793718, -0.04025912657380104, -0.020944278687238693, -0.013227468356490135, -0.02328479290008545, 0.03279132395982742, -0.058201901614665985, -0.030697716400027275, 0.014044975861907005, -0.0022486632224172354, 0.030413705855607986, 0.012259828858077526, 0.04732545092701912, -0.003607817692682147, -0.018554145470261574, -0.024399081245064735, 0.02676340378820896, 0.026967521756887436, 0.011970741674304008, 0.004157670773565769, -0.10103142261505127, 0.031705088913440704, 0.04475177451968193, -0.03875690698623657, -0.07717772573232651, 0.03686708211898804, 0.016107093542814255, -0.02397332526743412, 0.04236922785639763, -0.0008596885018050671, -0.0012952616671100259, -0.037571970373392105, -0.007585388142615557, 0.000979291507974267, 0.030126946046948433, 0.03653031960129738, -0.016628678888082504, 0.07994790375232697, 0.039238858968019485, -0.013693162240087986, -0.048335716128349304, -0.00847794022411108, -0.006824734155088663, -0.0010255298111587763, -0.024754725396633148, -0.0332397036254406, -0.01830904930830002, -0.07487273216247559, -0.03612033650279045, 0.03674184903502464, -0.04110096022486687, -0.01717403344810009, 0.013721012510359287, 0.028703585267066956, -0.01199553906917572, 0.015463664196431637, -0.03929643705487251, 0.006108579691499472, -0.027603495866060257, -0.018521204590797424, -0.00631349952891469, -0.004252104554325342, 0.006303025875240564, 0.013660811819136143, 0.008832567371428013, -0.04224728047847748, -0.01860959455370903, -0.011302351020276546, 0.017359763383865356, 0.02950073964893818, 0.014799949713051319, -0.008876853622496128 ]
[ -0.09389118105173111, -0.011680358089506626, -0.023656541481614113, -0.04088076204061508, 0.06197751313447952, -0.02106424607336521, -0.02933225966989994, 0.017553318291902542, -0.0007076087640598416, -0.03702683001756668, -0.011524433270096779, -0.003677383065223694, -0.020504401996731758, -0.0029496680945158005, 0.06678304821252823, -0.0001148787559941411, -0.0006213477463461459, -0.09916636347770691, 0.009049668908119202, 0.05062384903430939, -0.014481063932180405, -0.048980630934238434, -0.026052625849843025, -0.010900203138589859, 0.002313899341970682, 0.017404809594154358, 0.0551774725317955, -0.03414151817560196, 0.005319233052432537, -0.1955442875623703, 0.012193380855023861, 0.010311543010175228, 0.020924702286720276, -0.0031660343520343304, 0.002442887518554926, 0.027570756152272224, 0.018488673493266106, 0.009988969191908836, 0.012763731181621552, 0.03286771848797798, 0.008994987234473228, 0.0006092056864872575, -0.013490351848304272, -0.02486114203929901, 0.05571679770946503, 0.005786614958196878, 0.011581438593566418, -0.02492743544280529, -0.006820738781243563, 0.002703199628740549, -0.047317150980234146, -0.015422258526086807, 0.007230152375996113, -0.023073898628354073, -0.04198325797915459, 0.022626349702477455, 0.023249011486768723, 0.0700940266251564, -0.0031264552380889654, 0.012690654955804348, 0.02133331075310707, -0.0013892805436626077, -0.13976189494132996, 0.0899786502122879, 0.022432446479797363, 0.0564640648663044, -0.02950011007487774, -0.018423181027173996, 0.013152619823813438, 0.08851652592420578, 0.006091222167015076, -0.029931962490081787, -0.022741176187992096, 0.028513731434941292, 0.0016219017561525106, -0.017494121566414833, 0.003652298590168357, 0.02193678542971611, 0.0034870943054556847, -0.0595310777425766, -0.015014451928436756, 0.014180072583258152, -0.018312470987439156, -0.02650379203259945, -0.06700879335403442, 0.01734822429716587, 0.011893373914062977, 0.045983970165252686, 0.00011895648640347645, 0.031187890097498894, 0.03308983892202377, 0.007859224453568459, 0.04535432159900665, 0.00346072344109416, -0.09912197291851044, -0.0017430776497349143, 0.012290462851524353, 0.00905405730009079, -0.01586567983031273, 0.447473406791687, -0.000967464002314955, -0.010230791755020618, 0.054557472467422485, 0.03576362878084183, -0.013283966109156609, 0.012813477776944637, 0.03387690335512161, -0.06661520898342133, 0.040390536189079285, -0.01865113340318203, 0.029165010899305344, 0.01683131605386734, 0.0884498730301857, -0.05111118033528328, 0.035300761461257935, 0.031320326030254364, 0.036796484142541885, 0.02748500555753708, -0.013558020815253258, -0.02936955727636814, 0.0074227419681847095, 0.020755769684910774, 0.02017797902226448, -0.01393219269812107, -0.021562322974205017, -0.039155907928943634, 0.034170180559158325, 0.05310545116662979, 0.019435416907072067, -0.0011813367018476129, 0.04785246029496193, -0.04890662804245949, -0.060564570128917694, -0.0063123698346316814, 0.019464028999209404, 0.00835148710757494, 0.019234733656048775, -0.03127293288707733, -0.0010384320048615336, 0.031095538288354874, -0.005804783198982477, -0.010672838427126408, 0.008223243989050388, 0.008457006886601448, -0.048576924949884415, 0.09404528141021729, 0.04442289099097252, -0.06348339468240738, -0.0040521747432649136, -0.010705909691751003, 0.03234103322029114, 0.01572207547724247, -0.0037612663581967354, -0.06295774132013321, 0.014728321693837643, 0.0062758587300777435, 0.11503183841705322, 0.005144772119820118, -0.06318596005439758, -0.014528593979775906, -0.012673702090978622, -0.00614614924415946, -0.03573306277394295, 0.06549907475709915, 0.057566653937101364, -0.14639176428318024, -0.012675861828029156, 0.012466305866837502, 0.02399788796901703, -0.08010680973529816, -0.01498545054346323, 0.00035024533281102777, -0.040396708995103836, 0.006381134036928415, 0.06539114564657211, -0.023019682615995407, -0.04697497561573982, 0.015321942046284676, 0.03756372258067131, 0.013685492798686028, -0.00989099033176899, -0.036498673260211945, -0.051291659474372864, 0.014093125239014626, -0.034792251884937286, -0.06351872533559799, -0.05763963982462883, -0.01050645112991333, -0.02528686635196209, 0.012176355347037315, -0.017212577164173126, -0.008509409613907337, -0.12061664462089539, 0.10422198474407196, -0.037571199238300323, -0.02061961218714714, 0.015149280428886414, -0.016511838883161545, -0.036320846527814865, -0.0032234438695013523, -0.07315137982368469, 0.0035450072027742863, -0.0633930042386055, 0.02655460499227047, -0.054462980479002, 0.056733861565589905, 0.03892277553677559, -0.03980443626642227, 0.07238639891147614, 0.05151073634624481, -0.030863381922245026, -0.02268597111105919, 0.0009472899837419391, -0.005651586689054966, 0.012685621157288551, -0.012078899890184402, 0.01631077006459236, 0.022820012643933296, -0.032141875475645065, 0.0022076708264648914, 0.005618005059659481, 0.0005116940010339022, -0.01192313339561224, -0.3595742881298065, -0.04972219839692116, -0.04687449336051941, -0.01938626728951931, 0.02943175472319126, -0.06572283804416656, 0.031903963536024094, -0.01328104268759489, -0.008876836858689785, 0.024425268173217773, 0.05325489491224289, -0.013418163172900677, 0.0009377345559187233, -0.10991396754980087, -0.007247558794915676, 0.02027169242501259, -0.041074883192777634, -0.02512110397219658, -0.04471931606531143, 0.027274183928966522, -0.00909920409321785, -0.00440223840996623, -0.03268475830554962, -0.05055651068687439, -0.0133795365691185, -0.03498854488134384, 0.08170037716627121, 0.0012990901013836265, 0.07645615935325623, -0.010896310210227966, 0.04053858295083046, 0.01837051846086979, 0.019920164719223976, -0.09811252355575562, -0.0010612166952341795, 0.002834505634382367, 0.009700048714876175, -0.02109658718109131, 0.00790245458483696, -0.045859888195991516, -0.07168856263160706, 0.03034791722893715, -0.038084302097558975, -0.04697469621896744, -0.08262412995100021, 0.02549740858376026, -0.018098490312695503, -0.032233379781246185, -0.015363947488367558, 0.09398774802684784, 0.03566322103142738, -0.017551874741911888, 0.025882553309202194, 0.04198416694998741, -0.0034525610972195864, -0.02514883689582348, -0.048204343765974045, 0.0024172684643417597, -0.0065243118442595005, 0.015565031208097935, 0.015522485598921776, 0.07270445674657822, 0.02571815624833107, -0.05760065093636513, 0.009159330278635025, -0.00024318649957422167, -0.014054016210138798, -0.005227564834058285, 0.06561347842216492, -0.014906642958521843, -0.035998087376356125, 0.07724498957395554, -0.005739476531744003, -0.011474582366645336, 0.030211923643946648, 0.02357831411063671, -0.01177448220551014, 0.0341733954846859, -0.009008541703224182, -0.0005188905633985996, 0.022694209590554237, -0.01192503236234188, 0.04137542098760605, -0.016310609877109528, -0.019209779798984528, 0.01642709970474243, 0.0011716386070474982, -0.03287751227617264, 0.037922341376543045, 0.023930678144097328, -0.027889668941497803, 0.009561872109770775, -0.039347633719444275, -0.06500214338302612, 0.04605759680271149, 0.018009871244430542, -0.24613896012306213, 0.007499943487346172, 0.06568387895822525, 0.06544189900159836, 0.01751052215695381, 0.038475651293992996, 0.04641159623861313, -0.021121809259057045, 0.028201686218380928, 0.014328433200716972, 0.04006599262356758, 0.025132901966571808, -0.009533976204693317, 0.004099664743989706, 0.02007117308676243, 0.01326028723269701, 0.016497397795319557, 0.009397318586707115, -0.015148271806538105, 0.017320221289992332, 0.024014204740524292, 0.008893700316548347, 0.13946746289730072, 0.018312444910407066, 0.03891485184431076, 0.01063567865639925, 0.0030238416511565447, 0.028679437935352325, 0.04380389302968979, 0.008133580908179283, -0.0032267430797219276, -0.011894254945218563, 0.012607662007212639, -0.00508127361536026, 0.01575830951333046, -0.07151856273412704, -0.022430000826716423, 0.049458954483270645, 0.040314603596925735, 0.024981729686260223, 0.027107585221529007, 0.005591437686234713, -0.028726372867822647, 0.04269266501069069, 0.03721889108419418, 0.04350058361887932, 0.005548962391912937, -0.03550829738378525, -0.025050297379493713, 0.001935151987709105, -0.02294660173356533, -0.05655260011553764, 0.009573949500918388, -0.014350516721606255, 0.019035596400499344, 0.08329445123672485, 0.028441578149795532, -0.01438423153012991, 0.011368822306394577, 0.014542549848556519, -0.017041027545928955, -0.028701752424240112, 0.09662909060716629, 0.029175449162721634, 0.030261540785431862 ]
[ -0.009729021228849888, -0.03521173819899559, 0.006088367663323879, -0.0023213198874145746, -0.011018911376595497, -0.007000894285738468, 0.0190188679844141, 0.02648046985268593, 0.039057888090610504, 0.0032856508623808622, -0.0008185412734746933, 0.0437418557703495, 0.005929355975240469, 0.0035529122687876225, 0.017200620844960213, -0.01041444856673479, 0.003535832976922393, 0.013650711625814438, -0.011022912338376045, 0.0006177129107527435, -0.04622286185622215, 0.03232477605342865, -0.015002245083451271, 0.03182686120271683, -0.019795091822743416, 0.004818469285964966, -0.0029224478639662266, -0.0003996953892055899, 0.024512888863682747, -0.1246163472533226, -0.01619160920381546, -0.029163513332605362, -0.0018037462141364813, 0.01600698195397854, 0.002576119266450405, -0.006506293546408415, 0.008853616192936897, -0.026928773149847984, -0.012186151929199696, -0.043584197759628296, 0.010188028216362, -0.029196947813034058, 0.03516858443617821, -0.015359994024038315, 0.008675788529217243, 0.04061781242489815, -0.02007014863193035, 0.0007000527111813426, 0.006874110084027052, -0.03774300962686539, -0.015546689741313457, -0.012140650302171707, 0.018908344209194183, -0.002429908374324441, 0.0023311881814152002, 0.01352416817098856, 0.029772451147437096, -0.017749600112438202, 0.00535245519131422, -0.020100614055991173, -0.023928672075271606, 0.020049769431352615, -0.026806414127349854, -0.0017483200645074248, -0.009008649736642838, -0.0073868222534656525, -0.009488479234278202, 0.033564358949661255, -0.012587935663759708, -0.003623243886977434, -0.034021373838186264, 0.02587459422647953, -0.07874340564012527, -0.025363946333527565, 0.023519504815340042, 0.01850162446498871, -0.005106083583086729, 0.01087325718253851, 0.01029959786683321, -0.051041603088378906, -0.01606004498898983, 0.009746475145220757, 0.01949778012931347, -0.005232120864093304, -0.007957701571285725, -0.0051088836044073105, 0.009306094609200954, 0.002401927253231406, 0.03501133248209953, 0.01838880032300949, -0.04349245876073837, 0.04050282761454582, 0.019881851971149445, -0.007519629783928394, -0.10629155486822128, -0.024140819907188416, 0.012138611637055874, -0.02814296819269657, 0.00414515845477581, 0.8533503413200378, 0.02597918175160885, 0.03836333751678467, 0.03286798670887947, 0.015939190983772278, 0.006136189680546522, -0.011665637604892254, 0.01615062914788723, 0.012739413417875767, -0.0036289363633841276, -0.026599427685141563, 0.030908256769180298, 0.008249484933912754, 0.03205081447958946, -0.01542114932090044, 0.020025180652737617, 0.027437623590230942, 0.00031959786429069936, 0.014292015694081783, -0.04890524968504906, -0.010116311721503735, 0.016523275524377823, -0.0029549880418926477, -0.0120692765340209, 0.002313145436346531, -0.02255330979824066, -0.16837137937545776, 0.007000240497291088, -8.430474302732608e-33, 0.03017686866223812, -0.012448832392692566, -0.010083922185003757, -0.011289519257843494, 0.020234698429703712, 0.004646101500838995, -0.004055682569742203, -0.013408617116510868, 0.022112244740128517, -0.011007871478796005, -0.002916768193244934, -0.017878076061606407, 0.009160635992884636, -0.05668589845299721, 0.028329411521553993, -0.004081107210367918, -0.033380117267370224, 0.02950519695878029, 0.007989868521690369, 0.026398232206702232, -0.007201225031167269, 0.03176559880375862, -0.016469672322273254, 0.01802101917564869, 0.05008564889431, 0.028005873784422874, 0.006550945341587067, 0.025554316118359566, 0.01807929389178753, -0.04720073565840721, -0.0359359048306942, 0.008489628322422504, -0.009209150448441505, -0.022130634635686874, -0.0028923714999109507, -0.041629157960414886, -0.04880503565073013, -0.021463561803102493, -0.026328248903155327, -0.04901491478085518, -0.0009275851189158857, -0.02933814749121666, -0.07974239438772202, -0.021990487352013588, -0.020236700773239136, 0.01074928604066372, 0.024524090811610222, 0.025743940845131874, 0.01904187723994255, -0.003435766790062189, 0.03005051612854004, 0.0005683163763023913, -0.013701476156711578, -0.021188218146562576, -0.028188757598400116, 0.03215664252638817, -0.016040366142988205, 0.007054835092276335, 0.020544735714793205, 0.019130196422338486, 0.017560308799147606, 0.006686546839773655, -0.02831091359257698, 0.03542596101760864, -0.023652194067835808, -0.020416921004652977, -0.011974361725151539, 0.0035594834480434656, -0.001002863165922463, -0.0050940667279064655, -0.03466818854212761, 0.025588631629943848, -0.016606492921710014, -0.014121117070317268, 0.016570638865232468, -0.03144892677664757, 0.017422400414943695, 0.0231974758207798, 0.007740458473563194, 0.0534181222319603, -0.02899012342095375, -0.007267563138157129, 0.005997500382363796, -0.015063833445310593, -0.02686174213886261, -0.008882804773747921, 0.04359607771039009, -0.0050181010738015175, -0.02471267618238926, 0.010963931679725647, 0.0368155762553215, 0.0015330242458730936, 0.002771986648440361, 0.004959045443683863, 0.009516819380223751, 7.915255128767199e-33, -0.00484159030020237, -0.032383181154727936, 0.008647823706269264, -0.002992830937728286, 0.03269125148653984, -0.02749655395746231, 0.0026585739105939865, 0.013892033137381077, -0.029650190845131874, 0.001547615509480238, -0.039802342653274536, 0.022212576121091843, -0.05282650142908096, 0.01512919645756483, 0.06153138726949692, -0.05530115216970444, 0.030476514250040054, -0.03429519385099411, 0.025967324152588844, 0.059085674583911896, 0.044058848172426224, 0.004963724873960018, 0.013248016126453876, -0.0026367048267275095, 0.013878149911761284, 0.056339360773563385, -0.004918623249977827, 0.02236798219382763, -0.012799487449228764, -0.00783343706279993, 0.010296162217855453, -0.022064752876758575, 0.017537828534841537, -0.02130427211523056, -0.015048092231154442, -0.010619210079312325, 0.026764575392007828, 0.0031853625550866127, -0.028969747945666313, -0.013863716274499893, -0.005482942331582308, 0.016451509669423103, -0.012535816989839077, 0.04801785200834274, 0.007167304400354624, 0.034013476222753525, 0.01381179504096508, -0.025667348876595497, -0.009999733418226242, 0.02424033172428608, 0.00017607862537261099, 0.010169900953769684, 0.02198406681418419, 0.025247937068343163, 0.006476011127233505, -0.020222261548042297, 0.02017294242978096, 0.007181449327617884, 0.008834047242999077, 0.0048758238554000854, -0.04076401889324188, 0.018097497522830963, -0.023314878344535828, 0.028288085013628006, -0.02903343178331852, -0.026736721396446228, -0.025115879252552986, -0.002549394965171814, 0.014271927066147327, -0.04985932633280754, -0.03528836369514465, 0.0009427089244127274, 0.0009095411514863372, 0.019254915416240692, 0.0008423360413871706, -0.019733870401978493, -0.01776505634188652, -0.005666076205670834, 0.017124734818935394, -0.0011761512141674757, -0.00688391737639904, 0.015132331289350986, 0.015200755558907986, -0.000614380813203752, -0.027351826429367065, 0.021423514932394028, -0.02780601941049099, 0.023453282192349434, 0.023490572348237038, 0.009206218644976616, -0.012493107467889786, -0.023177750408649445, 0.01939225010573864, -0.0020135522354394197, -0.0014731402043253183, -1.3532475584554504e-8, -0.014873397536575794, 0.010645860806107521, -0.01652686670422554, -0.017568299546837807, 0.0019958666525781155, 0.006556292530149221, -0.002875169739127159, -0.0012929068179801106, -0.028845643624663353, 0.008525296114385128, 0.04288202524185181, 0.0030258523765951395, -0.010927231051027775, 0.002842366462573409, -0.004540226887911558, -0.04832810163497925, -0.017299968749284744, -0.022448837757110596, 0.012769285589456558, 0.03717338293790817, 0.042595770210027695, 0.045419737696647644, -0.007773325778543949, -0.013479801826179028, 0.0027456374373286963, 0.004505535587668419, 0.008928712457418442, -0.08967781811952591, -0.01552227046340704, -0.04485568776726723, 0.016555745154619217, -0.02231552265584469, -0.02910982072353363, 0.04012863710522652, -0.0038024517707526684, -0.05194095894694328, 0.02581481635570526, 0.009713415056467056, 0.03309638053178787, 0.006110638380050659, -0.004041316453367472, -0.02573198266327381, 0.009564786218106747, -0.024531209841370583, -0.017489807680249214, 0.0291385930031538, -0.006396535784006119, 0.0032027754932641983, 0.024969950318336487, 0.0033244157675653696, -0.01650908961892128, -0.011565307155251503, 0.01658599264919758, 0.04890639707446098, 0.037751149386167526, 0.0031072974670678377, 0.019053617492318153, -0.00204320321790874, -0.021189022809267044, -0.01860773004591465, 0.02941414900124073, 0.025284580886363983, -0.011817027814686298, -0.013443345203995705 ]
book-club-what-ive-learned-about-ddd-since-the-book-eric-evans
https://markhneedham.com/blog/2009/08/24/book-club-what-ive-learned-about-ddd-since-the-book-eric-evans
false
2009-08-24 22:11:26
Rock Scissors Paper: TDD as if you meant it
[ "tdd" ]
[ "Testing" ]
I decided to spend a bit of time on Saturday having another go at writing Rock Scissors Paper while following http://www.parlezuml.com/softwarecraftsmanship/sessions/tdd_as_if_you_meant_it.htm[Keith Braithwaite's TDD as if you meant it exercise]. We http://www.markhneedham.com/blog/2009/05/15/coding-dojo-14-rock-scissors-paper-tdd-as-if-you-meant-it/[previously did this exercise at a coding dojo] but I wanted to see what happens when you code for a longer period of time with this exercise since we typically only code for maybe a couple of hours at a dojo. I decided to also checkin the code I was writing into Git after every single change I made - an idea I originally learnt from http://dannorth.net/[Dan North], and the http://github.com/mneedham/rock-scissors-paper/tree/e3901aa9b93e09699e490b3c637bc56a203bce57/RockScissorsPaper[code is all on github]. == What did I learn? * I was coding for maybe 4 or 5 hours and *checked in about 120 times* which is far more frequently than I would do normally although perhaps it shouldn't be. + I thought it would be quite distracting to have to check in that often but the checkin messages ended up becoming a stream of consciousness of what I was thinking which proved quite useful on a few occasions when I got side tracked a bit and retraced my steps in the history to find out what I was supposed to be doing - Git was pretty much acting as my sounding board since I didn't have a pair to work with on this exercise. I'd definitely try this out again and as I've mentioned a few times I want to try it out in a coding dojo some time. * While trying to remove http://github.com/mneedham/rock-scissors-paper/blob/163193b8d5b483d6f001fc344cdf73e56324195d/RockScissorsPaper/Scissors.cs[some] http://github.com/mneedham/rock-scissors-paper/blob/860f1ebf76eaf640cd2a580a26c9bf34c5a64c2f/RockScissorsPaper/Rock.cs[duplication] that had worked its way into the code I realised that the template method would be the easiest way to remove that duplication and http://www.markhneedham.com/blog/2009/04/25/oo-with-a-bit-of-functional-mixed-in/[as I mentioned in an earlier post], having functions/actions in C# makes the implementation of this pattern http://github.com/mneedham/rock-scissors-paper/blob/e3901aa9b93e09699e490b3c637bc56a203bce57/RockScissorsPaper/ThrowBase.cs[a bit simpler]: ~~~csharp public abstract class ThrowBase : IThrow { private readonly Func<IThrow, bool> beatenBy; protected ThrowBase(Func<IThrow, bool> beatenBy) { this.beatenBy = beatenBy; } \.... public bool Beats(IThrow aThrow) { return IsDifferentThrowTo(aThrow) && !beatenBy(aThrow); } } } ~~~ ~~~csharp public class Scissors : ThrowBase { public Scissors() : base(weapon \=> weapon.BeatsScissors()) { } \... } ~~~ If we didn't have functions then we'd need a method on 'ThrowBase' which we would need to implement in each of its sub classes. As it is we can just pass a function into the constructor which does the same job. * Another thing I found quite interesting about this exercise was that I was seeing more easily where methods didn't seem to belong on an existing object and I ended up creating a new object which described the interaction - chatting about the code with http://lizdouglass.wordpress.com/[Liz] she pointed out that I was probably creating *domain events* which we had http://www.markhneedham.com/blog/2009/08/24/book-club-what-ive-learned-about-ddd-since-the-book-eric-evans/[discussed a few days earlier in book club]. Once I started thinking about this interactions as 'domain events' the naming of them seemed to be much more obvious - for example after this conversation with Liz I realised that the interaction between two 'Throws' would be a 'ThrowDown' and that there would probably be a 'ThrowDownAdjudicator' to decide the outcome of a 'ThrowDown'. * I found it quite difficult to follow the rules of the exercise when I realised that I wanted to return a 'ThrowDownResult' which would indicate whether there was a winner for a 'ThrowDown' and if so who it was. I couldn't see a way to write all of this code in the test since I had already created the class previously so I ended up writing this code straight onto the class. I think I probably *extracted to a class too early* on some occasions instead of waiting for a more complete version of a method to be written before moving it. Next time I think I'd wait until I'd completed all the examples /tests I want to write around a particular method before moving it onto a class.
null
null
[ 0.008830653503537178, 0.006367415655404329, -0.014161111786961555, 0.03981658071279526, 0.06842413544654846, 0.01567455381155014, 0.04116862267255783, 0.03635994344949722, 0.017242511734366417, -0.004432267975062132, -0.012052828446030617, -0.0016423461493104696, -0.04604339972138405, -0.007472047582268715, -0.04332207888364792, 0.06680948287248611, 0.07084151357412338, -0.01479816623032093, 0.04368678852915764, -0.015744993463158607, 0.02644275315105915, 0.08454185724258423, 0.01586567610502243, 0.029752634465694427, 0.04426947236061096, 0.030468743294477463, 0.02792450413107872, -0.00000992183959169779, -0.05262888967990875, -0.028164662420749664, 0.0380370207130909, 0.0001019552510115318, 0.03145097196102142, -0.009213392622768879, 0.014833137392997742, -0.018875010311603546, -0.027796758338809013, 0.0285379346460104, 0.013853012584149837, 0.0031778537668287754, -0.060506194829940796, 0.043227482587099075, -0.0215581264346838, -0.008250759914517403, -0.04814083129167557, 0.013197275809943676, -0.0292441938072443, -0.0032403338700532913, 0.000033460415579611436, -0.014316595159471035, -0.06345175951719284, 0.0438447929918766, 0.011060912162065506, -0.0017019951483234763, -0.02445785142481327, 0.05154529586434364, 0.05261814966797829, -0.06056701019406319, 0.044137585908174515, -0.035407181829214096, -0.0025764834135770798, -0.019712120294570923, 0.008644934743642807, 0.04183134064078331, 0.019634462893009186, -0.04011591896414757, 0.011243830434978008, 0.045305829495191574, -0.018160711973905563, 0.002825784496963024, -0.011463969945907593, 0.013495850376784801, -0.01154751144349575, -0.018108589574694633, 0.021938595920801163, -0.05181829258799553, 0.009026060812175274, 0.06328348815441132, -0.0023780048359185457, 0.03295370936393738, -0.020957976579666138, 0.022656254470348358, 0.013544617220759392, 0.03808620944619179, -0.02683919668197632, -0.03810248151421547, -0.016942964866757393, -0.014399236999452114, -0.041836611926555634, 0.049280550330877304, -0.00561262434348464, -0.048131588846445084, 0.03077985905110836, 0.028385033831000328, 0.007289275527000427, 0.022933175787329674, 0.004531471524387598, 0.015405041165649891, -0.009721426293253899, -0.011035815812647343, -0.031404267996549606, -0.02622322179377079, 0.019779767841100693, 0.01585502177476883, -0.08532364666461945, 0.010359982959926128, -0.004843954928219318, -0.021553270518779755, 0.003838201053440571, 0.01263598445802927, -0.019824810326099396, 0.013035459443926811, -0.015299380756914616, -0.008727502077817917, -0.08031792938709259, 0.062242355197668076, 0.009290147572755814, -0.03104059211909771, -0.04208765923976898, 0.01156332716345787, 0.0201666709035635, 0.004354280885308981, -0.006369950715452433, 0.09425200521945953, 0.03619920462369919, 0.011696969158947468, -0.023291543126106262, 0.042976029217243195, -0.01999690942466259, -0.06897561997175217, -0.003546371590346098, 0.04113815352320671, -0.01915905997157097, 0.004565460607409477, 0.00971754640340805, -0.03364274278283119, 0.004561366513371468, -0.005670937243849039, 0.03237466514110565, 0.045800380408763885, -0.021804137155413628, -0.024426622316241264, 0.018527036532759666, -0.007167893927544355, 0.0034300244878977537, 0.016886074095964432, 0.0018743783002719283, -0.017570221796631813, -0.035169683396816254, 0.0013668376486748457, 0.007513242308050394, -0.0029987015295773745, 0.0198703370988369, -0.034840960055589676, 0.008967280387878418, 0.08149077743291855, 0.006463025230914354, 0.033222369849681854, -0.007760183420032263, 0.04134976491332054, 0.01954606920480728, 0.03731073811650276, 0.004385616164654493, 0.028322536498308182, 0.00155335059389472, -0.013073706068098545, 0.008312507532536983, 0.03598720207810402, -0.013820969499647617, 0.022107673808932304, -0.05453738942742348, -0.01613452099263668, 0.07219810038805008, -0.06030366197228432, -0.04186689853668213, 0.03815096616744995, 0.07613000273704529, 0.03547048941254616, 0.029040593653917313, -0.0008541825227439404, -0.07730870693922043, 0.017306948080658913, 0.03082921728491783, 0.021880310028791428, 0.009243619628250599, -0.021668268367648125, 0.06780961900949478, 0.0339779406785965, 0.0009971807012334466, 0.0482608936727047, -0.08664841204881668, -0.09500639140605927, -0.005164008121937513, -0.020033590495586395, 0.06414226442575455, -0.026538217440247536, 0.0038060133811086416, 0.06200094521045685, 0.023587031289935112, 0.04813147708773613, 0.015131284482777119, -0.007991721853613853, 0.04134498909115791, -0.03131333738565445, -0.027193818241357803, 0.05275698006153107, 0.030308138579130173, -0.005637430585920811, -0.027846695855259895, 0.00491311214864254, -0.008219366893172264, -0.004656658507883549, 0.034362588077783585, -0.01910947822034359, 0.02380552515387535, 0.03608611598610878, 0.07370259612798691, -0.026666035875678062, 0.055020056664943695, -0.06739005446434021, 0.0023546970915049314, 0.005291399080306292, -0.0010600642999634147, -0.00025539787020534277, 0.002459792885929346, 0.11024090647697449, 0.04359002783894539, -0.034835610538721085, -0.035384051501750946, -0.00048242550110444427, -0.026472311466932297, -0.04968077689409256, -0.017792679369449615, 0.003700823988765478, 0.022537052631378174, -0.004095558077096939, -0.05552631616592407, -0.05715931951999664, 0.013021220453083515, -0.048746056854724884, 0.018797915428876877, 0.06355146318674088, 0.008074109442532063, 0.04347321763634682, -0.03176615759730339, -0.007799223531037569, -0.0072094956412911415, 0.029555898159742355, -0.0343133844435215, 0.012987283058464527, 0.020232154056429863, -0.021905379369854927, 0.03516468405723572, -0.021068422123789787, -0.031171489506959915, -0.027412191033363342, -0.01701875403523445, -0.0007152750622481108, 0.0492057204246521, 0.0526219941675663, -0.013830951415002346, 0.06856273859739304, 0.011432324536144733, 0.024029238149523735, -0.00953491497784853, -0.048480696976184845, -0.04127361252903938, -0.020251382142305374, 0.003621891373768449, 0.043472785502672195, 0.01320407260209322, 0.03257673233747482, 0.03596516326069832, -0.0031251334585249424, -0.018788551911711693, -0.0213369969278574, 0.049780700355768204, 0.014253555797040462, -0.04402659460902214, -0.009528164751827717, -0.03633919730782509, 0.04561325162649155, -0.05118511617183685, -0.02655855379998684, 0.024717070162296295, -0.07211237400770187, 0.0605466291308403, -0.06259411573410034, -0.05798051133751869, 0.027718719094991684, -0.004874818027019501, 0.05127560719847679, -0.027138477191329002, 0.022041818127036095, 0.08353765308856964, -0.0186885055154562, 0.03437749668955803, -0.005446701776236296, 0.0017458730144426227, 0.03376666083931923, 0.011652706190943718, 0.0011173444800078869, 0.038181934505701065, 0.017211906611919403, 0.00800419133156538, -0.04056897014379501, 0.0346040353178978, -0.017502248287200928, -0.2836284041404724, 0.03119800053536892, -0.006546074990183115, -0.03280414640903473, 0.02865694835782051, -0.004055025056004524, 0.025481946766376495, -0.04591779038310051, -0.0382193960249424, 0.007330290973186493, -0.036433976143598557, -0.04877680167555809, -0.030525822192430496, 0.04397965595126152, 0.009244627319276333, -0.006048846989870071, 0.019970528781414032, -0.042651522904634476, 0.013910206034779549, 0.05776785686612129, -0.00967330764979124, -0.057449739426374435, -0.004938425030559301, 0.054905496537685394, 0.03649104759097099, 0.06895510107278824, -0.08577815443277359, 0.01822088100016117, -0.04913170263171196, 0.0012308217119425535, 0.03074108064174652, 0.017157169058918953, 0.012545410543680191, -0.022868644446134567, -0.026753081008791924, 0.0010509948479011655, 0.04483592510223389, 0.0017089496832340956, 0.01694549061357975, 0.027390265837311745, -0.022883398458361626, -0.042446866631507874, -0.021584484726190567, 0.0021300928201526403, 0.06787751615047455, 0.017997514456510544, -0.04644547030329704, -0.020723888650536537, -0.023814838379621506, 0.08366789668798447, -0.020869022235274315, -0.0313531756401062, 0.009964789263904095, 0.028742477297782898, -0.0011053466005250812, -0.027178345248103142, -0.0032516971696168184, -0.009293653070926666, -0.05107267573475838, -0.05692629516124725, -0.012708231806755066, -0.031541116535663605, -0.020404329523444176, -0.06817864626646042, 0.010018923319876194, -0.08494868874549866, -0.03757797181606293, -0.002552380785346031, 0.08625523746013641, 0.02584795653820038, -0.038180891424417496, 0.010265662334859371, 0.0009037275449372828, -0.10499628633260727, -0.0006043649045750499, 0.016985127702355385, -0.04225609824061394, 0.000671882473398, 0.013057277537882328, 0.06949503719806671, -0.035835616290569305, -0.04852486401796341, 0.047495853155851364, 0.014543985947966576, 0.014520619995892048, -0.016063744202256203, 0.0498192273080349, 0.01675862818956375, -0.01931220479309559, 0.008771982975304127, 0.07526423782110214, 0.02730276621878147, -0.04523395746946335, -0.02743825502693653, 0.04757693409919739, 0.04216583073139191, 0.02108842134475708, -0.027370871976017952, 0.013531956821680069, 0.016661804169416428, 0.01752612181007862, -0.0646156296133995, 0.04101424664258957, -0.04144257679581642, 0.007173189427703619, -0.031126245856285095, -0.06681038439273834, 0.021009933203458786, 0.01745326817035675, 0.022584402933716774, -0.017467224970459938, -0.050610847771167755, 0.009517514146864414, -0.03436681628227234, -0.028301088139414787, -0.025744879618287086, 0.015391782857477665, 0.012084334157407284, -0.021540435031056404, -0.0016804552869871259, -0.055107492953538895, 0.009721760638058186, -0.011253053322434425, -0.03558718413114548, -0.03283346816897392, -0.021059485152363777, -0.02687005326151848, -0.012706129811704159, 0.019182197749614716, 0.012665991671383381, 0.007289682514965534, 0.02237897552549839, -0.011146305128932, -0.023138433694839478, 0.011786318384110928, -0.016655899584293365, -0.05709093064069748, -0.0199796911329031, 0.007616393733769655, -0.005729463417083025, -0.010097113437950611, 0.011039691045880318, 0.004792304709553719, 0.01150541566312313, 0.05188494920730591, -0.003934833221137524, 0.008968944661319256, -0.026926841586828232, -0.0049152737483382225, 0.0018185458611696959, 0.005274606868624687, -0.08976736664772034, 0.02764178067445755, -0.04730108752846718, -0.022145571187138557, -0.003768004011362791, 0.015809424221515656, -0.009647244587540627, -0.025144856423139572, -0.010540494695305824, 0.00011999271373497322, -0.04294868931174278, -0.020745662972331047, -0.02655125968158245, 0.018234819173812866, 0.04891176521778107, -0.032570865005254745, 0.04293350130319595, 0.0006864257156848907, -0.02381223626434803, 0.005741685163229704, 0.009666276164352894, -0.03251171112060547, 0.02013949491083622, 0.011313196271657944, -0.006668277084827423, 0.008422722108662128, -0.008744441904127598, 0.04602241888642311, 0.0024363738484680653, -0.010106799192726612, -0.04010223224759102, 0.014330528676509857, 0.03174024075269699, 0.05302256718277931, -0.008342132903635502, 0.0226150993257761, -0.0009579744655638933, -0.022068435326218605, -0.006873107049614191, -0.03618103638291359, -0.02006610296666622, 0.016474243253469467, 0.022884314879775047, -0.04832732304930687, -0.06601277738809586, 0.05184086784720421, 0.031753167510032654, 0.005107532721012831, 0.026440972462296486, 0.01751088537275791, -0.017120616510510445, -0.03320493921637535, 0.01972554810345173, 0.06746268272399902, -0.060575831681489944, 0.004602396860718727, -0.005462725181132555, 0.029876550659537315, -0.00889449380338192, -0.014472519047558308, -0.04263833910226822, -0.02516045793890953, -0.044178616255521774, 0.00023107370361685753, -0.04884965717792511, -0.019821632653474808, -0.029186349362134933, 0.026318373158574104, -0.01746426150202751, -0.004727864172309637, -0.0034138357732445, -0.01875215210020542, 0.0015134476125240326, -0.023502444848418236, 0.01487673632800579, -0.05856795608997345, 0.00011365029058651999, 0.029294492676854134, -0.038831062614917755, 0.014531860128045082, -0.028389044106006622, 0.04381415620446205, 0.029888665303587914, -0.03835589811205864, -0.04311785474419594, -0.04020005837082863, -0.00014085414295550436, -0.0077899605967104435, 0.02646813541650772, 0.025987962260842323, -0.004453746136277914, -0.04606667906045914, -0.0021709075663238764, -0.049906156957149506, 0.02662595361471176, -0.025586731731891632, -0.03485073149204254, 0.04965275153517723, 0.06977840512990952, 0.03918767347931862, 0.04647466912865639, -0.01866767928004265, -0.027037473395466805, 0.0371580496430397, -0.08110325783491135, -0.02424863912165165, -0.027366386726498604, -0.06502125412225723, 0.02244088053703308, 0.005657450295984745, 0.029129430651664734, -0.03345375508069992, 0.03507344797253609, 0.0034550002310425043, 0.021013811230659485, 0.04873252287507057, -0.004941876977682114, 0.01344017218798399, -0.049911707639694214, 0.0006667972775176167, -0.0932370126247406, 0.007651397492736578, 0.033429570496082306, 0.010522415861487389, 0.0016502541257068515, -0.003146345727145672, -0.029193179681897163, 0.028985323384404182, -0.04102113097906113, -0.011950554326176643, 0.052823249250650406, -0.005409963894635439, -0.031438399106264114, 0.011176127940416336, -0.08340774476528168, 0.02437354438006878, 0.039117708802223206, -0.047258127480745316, -0.02445318177342415, -0.03189089521765709, 0.04974529892206192, 0.010001970455050468, 0.010696365498006344, -0.017001913860440254, -0.011958031915128231, 0.058948908001184464, 0.0197549220174551, 0.007209404371678829, 0.04440430551767349, -0.006151208654046059, 0.032019518315792084, 0.040765732526779175, 0.022779271006584167, -0.035644691437482834, 0.012472886592149734, -0.012713352218270302, -0.04659213870763779, 0.03373061493039131, 0.0021143753547221422, -0.03981277719140053, -0.02722925879061222, 0.06354548037052155, 0.029836038127541542, -0.03413579612970352, -0.05460638180375099, 0.02388739213347435, -0.07605349272489548, -0.00017930717149283737, -0.02211623452603817, -0.010637526400387287, -0.049925707280635834, 0.06122852489352226, 0.006821660790592432, -0.0007438180618919432, 0.06802864372730255, -0.01219978742301464, -0.03240549564361572, -0.03364429622888565, 0.07898803055286407, 0.07262854278087616, 0.05264545604586601, -0.00743239838629961, 0.06679653376340866, -0.0167816374450922, -0.04403362795710564, 0.03627636283636093, -0.01039938721805811, -0.00937695987522602, -0.03338038548827171, 0.003837712574750185, 0.05406520515680313, -0.020404048264026642, 0.06658834964036942, -0.027492806315422058, -0.02240116149187088, 0.009502005763351917, 0.020504457876086235, 0.020819181576371193, 0.05677568167448044, 0.01579360105097294, -0.0053565227426588535, -0.006481946911662817, -0.0415227934718132, 0.035789020359516144, -0.046717531979084015, -0.01978195458650589, 0.02538498304784298, -0.02570154145359993, 0.015509266406297684, -0.001707180985249579, 0.028278367593884468, 0.056752968579530716, -0.03682638332247734, 0.023752782493829727, -0.018475964665412903, 0.04133620485663414, 0.021567827090620995, -0.002238641958683729, -0.010568118654191494, -0.001273440313525498, 0.011230330914258957, -0.03168895095586777, -0.027171246707439423, -0.018774187192320824, -0.03279895707964897, 0.028228864073753357, -0.022852212190628052, 0.02379913255572319, 0.04616623371839523, 0.007093705702573061, -0.032314907759428024, -0.06944882869720459, -0.035722773522138596, -0.042275507003068924, -0.04109052196145058, -0.01730380579829216, 0.034191329032182693, -0.023411950096488, -0.029481040313839912, 0.00161641463637352, -0.031223174184560776, -0.02958207204937935, 0.04145599901676178, -0.059685129672288895, -0.03159605711698532, 0.01502432394772768, 0.0068927849642932415, 0.037305861711502075, 0.015992144122719765, 0.047624509781599045, -0.009509806521236897, -0.008109189569950104, -0.031241998076438904, -0.009452084079384804, 0.03649013862013817, 0.004575636237859726, 0.008486778475344181, -0.08376529067754745, 0.0321168527007103, 0.03203063830733299, 0.004688783083111048, -0.04769812151789665, 0.03767776861786842, 0.007533075753599405, -0.017331300303339958, 0.06521911174058914, -0.040388062596321106, 0.0013569218572229147, -0.05004057288169861, 0.016965510323643684, 0.0007859799661673605, 0.010072664357721806, 0.05046576261520386, -0.029023639857769012, 0.07933364808559418, 0.01077902689576149, -0.028613584116101265, -0.051554352045059204, -0.009488401934504509, -0.0028880336321890354, -0.01828685961663723, -0.005916280671954155, -0.04603703320026398, -0.043750740587711334, -0.08390889316797256, -0.029432643204927444, 0.015878593549132347, -0.01354543399065733, -0.046079523861408234, 0.027836238965392113, -0.0008729866240173578, -0.03428700193762779, 0.025437213480472565, -0.037427760660648346, 0.04560104385018349, -0.034032903611660004, 0.0019014982972294092, 0.010380342602729797, -0.01612072065472603, 0.002755617257207632, 0.0021908024791628122, 0.03620263934135437, -0.04984835535287857, 0.0008106525056064129, 0.027234436944127083, 0.010593317449092865, 0.03773483261466026, 0.0012386628659442067, -0.028967926278710365 ]
[ -0.11341032385826111, -0.019807618111371994, -0.007935181260108948, -0.03703495115041733, 0.017984045669436455, -0.009711096994578838, -0.007303010206669569, 0.013852890580892563, 0.004823901224881411, -0.024553319439291954, -0.002057902980595827, -0.020963434129953384, -0.0014295143773779273, -0.004208266735076904, 0.06612449884414673, 0.020943716168403625, -0.017291808500885963, -0.044527266174554825, 0.003883770201355219, 0.012816575355827808, 0.026130372658371925, -0.0035496014170348644, -0.05144268274307251, -0.023614417761564255, 0.013677357695996761, 0.03793121874332428, 0.013159147463738918, -0.04371347650885582, -0.0007160524255596101, -0.1923343539237976, 0.023338723927736282, 0.0071272654458880424, 0.04242449998855591, -0.032099392265081406, -0.017509067431092262, 0.04338601976633072, -0.005318597424775362, 0.01581070013344288, -0.025145262479782104, 0.042965348809957504, 0.010263058356940746, 0.01320051122456789, -0.02177543006837368, -0.04218529909849167, 0.04221377894282341, -0.0007387592922896147, -0.00978118646889925, -0.04497051611542702, 0.0075804004445672035, 0.023592835292220116, -0.057413630187511444, -0.021319955587387085, -0.014698759652674198, -0.05101863294839859, -0.00771209504455328, 0.011917557567358017, 0.04100274294614792, 0.07566394656896591, 0.0008000537636689842, 0.02237759903073311, 0.03711791709065437, -0.002145640319213271, -0.12615306675434113, 0.06980521231889725, 0.0279020294547081, 0.05779173970222473, -0.043239250779151917, -0.008822808973491192, 0.001971484860405326, 0.1174849346280098, 0.014964122325181961, -0.016085004433989525, -0.020145107060670853, 0.05460485443472862, 0.021751530468463898, 0.01401364617049694, -0.00384807912632823, 0.020902784541249275, -0.010816816240549088, -0.04784354567527771, -0.05117394030094147, -0.010542940348386765, -0.02535516954958439, -0.008910119533538818, -0.053919583559036255, 0.02152993530035019, -0.028459040448069572, 0.061459336429834366, 0.026201019063591957, 0.028758712112903595, 0.06385970860719681, -0.0008962537976913154, 0.022227950394153595, 0.008384441956877708, -0.09619584679603577, -0.013906571082770824, 0.016146637499332428, 0.02692856453359127, -0.018231816589832306, 0.46758872270584106, -0.024930421262979507, -0.03828945383429527, 0.05584852024912834, 0.03197132796049118, -0.008048972114920616, -0.009265832602977753, 0.025876682251691818, -0.05155270919203758, 0.005943540949374437, -0.04283689334988594, 0.015685560181736946, -0.00045490218326449394, 0.07834161072969437, -0.027786238119006157, 0.009481058456003666, 0.04893505200743675, 0.03290494531393051, 0.024879207834601402, -0.010296179912984371, 0.020740509033203125, -0.01384439505636692, 0.018072452396154404, -0.0026430508587509394, -0.010568582452833652, -0.01165073737502098, -0.027436478063464165, 0.014886114746332169, 0.059343837201595306, 0.03064555488526821, -0.0037433449178934097, 0.06656873971223831, -0.037637826055288315, -0.03949059545993805, 0.0124218063428998, -0.015530386939644814, 0.0019254311919212341, 0.04201396554708481, -0.013762286864221096, -0.002959027187898755, 0.030504031106829643, 0.022023741155862808, -0.015982728451490402, 0.03765815123915672, -0.006227661855518818, -0.024333927780389786, 0.10658176243305206, -0.01843239553272724, -0.051798466593027115, 0.011905713006854057, -0.039481960237026215, -0.004238164983689785, 0.016932645812630653, 0.0004942266969010234, -0.047784894704818726, 0.012850088998675346, 0.004647727590054274, 0.09942730516195297, -0.013496492058038712, -0.04116365313529968, -0.0198361836373806, -0.026329634711146355, -0.04047614708542824, -0.03234466537833214, 0.020037174224853516, 0.05854848772287369, -0.08295309543609619, -0.031000766903162003, -0.004311490338295698, 0.030310286208987236, -0.10084909945726395, -0.002416421892121434, 0.0029692326206713915, -0.03867409750819206, -0.019182046875357628, 0.0553373247385025, -0.01145131979137659, -0.01860913634300232, 0.02941589243710041, 0.05755394324660301, 0.015300177969038486, 0.027992969378829002, 0.020592715591192245, -0.024857172742486, -0.009587886743247509, -0.047104109078645706, -0.06175317242741585, -0.04023396596312523, -0.003864243160933256, -0.021117325872182846, -0.0056203254498541355, -0.03280233219265938, -0.03915299102663994, -0.09468980133533478, 0.0775400698184967, -0.02834169752895832, -0.030823590233922005, 0.017873968929052353, -0.032970137894153595, -0.0051016961224377155, -0.015279095619916916, -0.05397067591547966, 0.02240884117782116, -0.029317794367671013, 0.01980920135974884, -0.050393782556056976, 0.04346310719847679, 0.05977513641119003, -0.05467623844742775, 0.06576617807149887, 0.06488678604364395, -0.04887579381465912, -0.055250510573387146, 0.015254532918334007, 0.008214901201426983, 0.01676950231194496, -0.007539389189332724, -0.004373413510620594, 0.006491272710263729, -0.012393494136631489, 0.02041531912982464, -0.029300188645720482, -0.0032545619178563356, 0.012772702611982822, -0.3072810471057892, -0.08140841871500015, -0.015933187678456306, 0.003961522597819567, 0.05279971659183502, -0.0349089615046978, 0.01885293610394001, -0.03145340085029602, -0.019161365926265717, -0.014619802124798298, 0.06853903084993362, -0.006417036522179842, -0.02407907322049141, -0.08947029709815979, -0.009482080116868019, 0.0007510752766393125, -0.03782346472144127, -0.021635912358760834, -0.01562647335231304, 0.033119868487119675, 0.022788118571043015, -0.02848050184547901, -0.030041536316275597, -0.05517088249325752, -0.01784984953701496, -0.05806436762213707, 0.10424215346574783, 0.035857461392879486, 0.09933014214038849, -0.01927739381790161, 0.028028078377246857, -0.0029513665940612555, 0.01954854466021061, -0.10455828160047531, 0.02720060758292675, -0.015467331744730473, -0.0074254716746509075, -0.034024059772491455, 0.04436325281858444, -0.06180654093623161, -0.06000252068042755, 0.020705265924334526, -0.057964567095041275, -0.05155109241604805, -0.04210061952471733, 0.007628548890352249, -0.036886315792798996, -0.038435276597738266, -0.021640725433826447, 0.07944748550653458, 0.04212501645088196, -0.027981705963611603, 0.023239880800247192, 0.00991336815059185, 0.0012392696226015687, -0.026030482724308968, -0.08637604117393494, 0.01448011677712202, -0.00013715169916395098, -0.0067291553132236, 0.020287180319428444, 0.04372573643922806, 0.03289115056395531, -0.05175282806158066, 0.006175661459565163, 0.04957722872495651, 0.008481323719024658, -0.002936899894848466, 0.048424430191516876, -0.019784297794103622, 0.0028176389168947935, 0.06625614315271378, 0.012061876244843006, -0.01631154678761959, 0.02088383585214615, 0.050651345402002335, -0.00850839912891388, 0.012105641886591911, 0.03369125723838806, 0.002307129791006446, 0.0155910300090909, -0.03072504699230194, 0.056709714233875275, -0.026580775156617165, -0.03197145089507103, 0.030263833701610565, 0.0029522913973778486, -0.02873336337506771, 0.09078390896320343, 0.02531699277460575, -0.0038504113908857107, 0.01032987516373396, -0.01809702254831791, -0.05141865462064743, 0.059873066842556, -0.01547922007739544, -0.2509174644947052, 0.022985052317380905, 0.07727682590484619, 0.05557413026690483, -0.0126225920394063, 0.0385708324611187, 0.057002898305654526, -0.03431643918156624, 0.006803296972066164, 0.009663522243499756, 0.014765451662242413, 0.053085342049598694, -0.029442287981510162, -0.004382081795483828, 0.01166886743158102, -0.025982998311519623, 0.035089898854494095, -0.011682516895234585, 0.04454183951020241, 0.012235916219651699, 0.01644962467253208, 0.026089301332831383, 0.16352732479572296, 0.012970704585313797, 0.04847688227891922, 0.020078709349036217, 0.020894812420010567, -0.009105006232857704, 0.08264931291341782, -0.01662924699485302, -0.015258914791047573, -0.006055198144167662, 0.020273063331842422, 0.007697773166000843, 0.0197568628937006, -0.0771242007613182, -0.0327538326382637, 0.05086283013224602, 0.010066412389278412, -0.008916345424950123, -0.0005029076128266752, -0.009432116523385048, -0.027392638847231865, 0.011096477508544922, 0.04666672274470329, 0.03784152492880821, 0.008148000575602055, -0.04841926321387291, -0.07058730721473694, -0.011537774465978146, -0.031078366562724113, -0.03196301683783531, -0.018681878224015236, -0.018457185477018356, 0.004733591806143522, 0.07800781726837158, 0.04656978324055672, -0.0014301093760877848, 0.007701442111283541, 0.010455791838467121, -0.03146921098232269, -0.018382208421826363, 0.13473311066627502, 0.01693512313067913, 0.012988066300749779 ]
[ -0.022840017452836037, 0.009420854039490223, 0.027586353942751884, 0.0014338747132569551, -0.02446877770125866, -0.016105404123663902, 0.010716593824326992, -0.014796456322073936, 0.0038179163821041584, 0.024711651727557182, -0.002569338073953986, 0.010144798085093498, 0.028714949265122414, 0.004005559254437685, 0.0052132150158286095, -0.006796215195208788, 0.007873622700572014, -0.002677041105926037, 0.020052557811141014, 0.03210330754518509, -0.02383347973227501, 0.028654171153903008, 0.010863449424505234, 0.02252914384007454, 0.002775543136522174, 0.012480032630264759, -0.008063428103923798, -0.01806117594242096, 0.002574589103460312, -0.13439197838306427, -0.010733996517956257, -0.03165138512849808, -0.0030851722694933414, -0.004809735342860222, -0.004356231074780226, 0.015996025875210762, -0.024022897705435753, 0.013224544934928417, 0.009913163259625435, 0.026969006285071373, -0.020561886951327324, -0.024671507999300957, 0.008536306209862232, -0.009832942858338356, -0.00646966090425849, -0.014645088464021683, -0.014388510957360268, -0.06140794977545738, -0.027816614136099815, 0.008250676095485687, -0.01310036052018404, -0.027324235066771507, -0.031432367861270905, -0.02795945480465889, 0.01792205311357975, -0.015188533812761307, -0.012626617215573788, -0.0013104112586006522, 0.031194448471069336, -0.015924295410513878, -0.001990601187571883, 0.013499694876372814, -0.058823566883802414, -0.03293811157345772, -0.03822535276412964, -0.008664715103805065, -0.018380582332611084, -0.00010955247125821188, -0.01903681457042694, -0.013790474273264408, 0.009589560329914093, 0.04336133599281311, -0.030421212315559387, -0.055783092975616455, -0.008382853120565414, -0.01823805272579193, 0.016328616067767143, -0.021733468398451805, -0.021501149982213974, -0.006964631378650665, -0.02987038530409336, 0.02111980877816677, 0.028188157826662064, -0.015503853559494019, 0.014980532228946686, 0.01966884359717369, 0.01441025361418724, 0.04765681177377701, 0.042123597115278244, -0.003015624126419425, -0.0009565994259901345, 0.027719618752598763, -0.007217939477413893, 0.020990505814552307, -0.07142870873212814, -0.030748173594474792, 0.000570889504160732, 0.00028122772346250713, 0.02274528332054615, 0.8395538926124573, 0.03486921638250351, 0.0037253431510180235, 0.021853215992450714, -0.011697693727910519, 0.03401488438248634, -0.004546619951725006, -0.007460186257958412, 0.00865965336561203, 0.009053967893123627, -0.05685248598456383, 0.03548773378133774, 0.01830008067190647, 0.02952464297413826, 0.038518134504556656, 0.007488183211535215, 0.08532725274562836, -0.010565201751887798, 0.005720635876059532, 0.0048568821512162685, 0.028146281838417053, 0.015185363590717316, 0.004121167119592428, -0.007919265888631344, 0.029997965320944786, 0.0019217085791751742, -0.1662876456975937, -0.021762561053037643, -6.852953537089405e-33, 0.054741270840168, -0.014799126423895359, -0.013341112993657589, 0.0003765515284612775, 0.004098087549209595, 0.0015512759564444423, -0.035623181611299515, -0.02339256927371025, -0.009369397535920143, -0.009004446677863598, -0.025416042655706406, 0.009087341837584972, 0.003462552558630705, 0.008040925487875938, 0.026892049238085747, -0.01634885184466839, -0.012715158052742481, 0.022595375776290894, -0.009015519171953201, 0.006736199837177992, 0.002762838266789913, 0.0177761297672987, -0.04644995555281639, 0.025598537176847458, 0.038862183690071106, 0.03754519298672676, -0.011552861891686916, -0.013030444271862507, 0.027190033346414566, -0.048767462372779846, -0.008755574002861977, -0.005437150597572327, -0.00987293291836977, -0.003986378666013479, 0.011588478460907936, -0.01389260496944189, -0.009498734027147293, 0.014728477224707603, -0.05570729821920395, -0.04474860429763794, 0.01865403912961483, -0.011117914691567421, -0.05432923883199692, -0.036888305097818375, 0.014096863567829132, -0.026434756815433502, 0.025442542508244514, 0.03567065671086311, 0.015288382768630981, -0.006614337675273418, 0.03412323445081711, 0.011799260042607784, 0.026024028658866882, 0.021204903721809387, -0.021695496514439583, 0.0002746578538790345, 0.0031171056907624006, 0.020304284989833832, 0.002782309427857399, 0.07253965735435486, 0.029144559055566788, 0.003580625168979168, -0.02259109728038311, 0.03265071287751198, -0.0328085795044899, 0.004092289134860039, 0.007084683049470186, 0.010046036913990974, 0.022364182397723198, -0.031240232288837433, -0.05015670508146286, 0.010388129390776157, 0.0006948085501790047, -0.01928349956870079, -0.001994890160858631, -0.0258244089782238, 0.004101810045540333, 0.013998603448271751, -0.026236334815621376, 0.02047566883265972, 0.01770852692425251, 0.0036608707159757614, -0.026240823790431023, -0.06922715157270432, -0.01551593653857708, 0.026739170774817467, 0.04605511948466301, -0.050926558673381805, 0.003997561987489462, 0.015390210784971714, 0.02198603004217148, 0.005493171978741884, -0.022001147270202637, -0.006628251634538174, 0.01003638468682766, 6.887158218646426e-33, -0.0225546732544899, -0.05580589175224304, 0.027059679850935936, -0.00463104248046875, 0.026469750329852104, 0.0008761672070249915, 0.033228106796741486, -0.01213624607771635, -0.057732902467250824, -0.008912928402423859, -0.016409514471888542, -0.005939979571849108, -0.01095710601657629, 0.039747223258018494, 0.0652783215045929, -0.03368905186653137, 0.005251866765320301, -0.008426627144217491, 0.01203124038875103, 0.028902692720294, -0.009184400551021099, 0.003942403942346573, 0.025238998234272003, 0.0008979413541965187, 0.02134336717426777, 0.07489059120416641, -0.03982514515519142, 0.0030611869879066944, 0.01950148493051529, 0.0029310458339750767, -0.02851913496851921, -0.014729641377925873, -0.005983018781989813, -0.0221253652125597, -0.00873218197375536, 0.030186133459210396, -0.005870461463928223, 0.023890690878033638, -0.0034144127275794744, 0.010910926386713982, -0.01678411103785038, 0.0013075664173811674, -0.003276865929365158, 0.05689594894647598, -0.016948571428656578, 0.03506399318575859, 0.03104095160961151, -0.007562172133475542, -0.04259459301829338, 0.0035131312906742096, 0.002683314261958003, -0.008747660554945469, 0.02968442626297474, -0.02481015771627426, -0.004398962948471308, -0.015413779765367508, -0.020736558362841606, 0.00502628181129694, -0.04080446437001228, 0.0015972238034009933, -0.0029665236361324787, -0.000368300243280828, -0.029547004029154778, 0.04940096661448479, 0.0028484633658081293, 0.026200832799077034, -0.03136695176362991, -0.027920875698328018, -0.012804900296032429, 0.03503239154815674, -0.02594796009361744, 0.0127235883846879, -0.01843237690627575, 0.006828466430306435, 0.029514212161302567, -0.010533887892961502, -0.04262295737862587, 0.02444426342844963, -0.030378414317965508, 0.01699937880039215, 0.015543049201369286, 0.03231181204319, 0.011751469224691391, -0.019090967252850533, -0.027561131864786148, 0.055581141263246536, -0.013122727163136005, 0.03207377716898918, -0.014879127033054829, -0.04840158671140671, -0.00563328480347991, -0.02526852674782276, 0.019565865397453308, 0.021101169288158417, -0.001626869896426797, -1.2786068204206913e-8, -0.013307509943842888, 0.018100563436746597, -0.019933655858039856, 0.005194275174289942, 0.006647072732448578, 0.022448310628533363, 0.03443917632102966, -0.00423856545239687, -0.04337986186146736, 0.02152577042579651, 0.029675249010324478, 0.0006535488064400852, -0.01947818137705326, -0.014857572503387928, 0.001225471729412675, -0.05549171566963196, -0.018690200522542, 0.0006327856099233031, 0.04744238033890724, 0.008948344737291336, 0.05943240970373154, 0.04262339696288109, -0.009099595248699188, 0.019774744287133217, -0.016436491161584854, 0.009686159901320934, 0.025358276441693306, -0.052076321095228195, -0.015305859036743641, 0.016288163140416145, 0.03226939216256142, -0.030137166380882263, -0.027939772233366966, 0.002773411339148879, -0.0346917062997818, -0.03650300204753876, 0.013950379565358162, 0.007823885418474674, 0.015555625781416893, 0.011896657757461071, -0.02931072749197483, -0.002323933644220233, -0.02118503488600254, -0.02930048108100891, -0.05435292795300484, 0.002184853423386812, -0.015275233425199986, -0.0332595556974411, 0.03406485915184021, -0.031866542994976044, -0.0025669403839856386, 0.0132705457508564, 0.011625549755990505, 0.00795971043407917, 0.036713581532239914, 0.05821122229099274, 0.03996287286281586, -0.0026903979014605284, -0.04388798773288727, -0.006740733049809933, -0.009622029960155487, -0.01183995883911848, -0.015500256791710854, -0.044029925018548965 ]
rock-scissors-paper-tdd-as-if-you-meant-it
https://markhneedham.com/blog/2009/08/24/rock-scissors-paper-tdd-as-if-you-meant-it
false
2009-08-24 18:18:09
Pair Programming: Keeping both people engaged
[ "pair-programming" ]
[ "Pair Programming" ]
I've written a few times previously about http://www.markhneedham.com/blog/category/pair-programming/[pair programming] and how I think it's one of the best practices I've seen used on agile teams but in order to ensure that we're making the best use of this practice it's important to ensure that both people are engaged. It is often quite difficult to persuade people who aren't used to extreme programming that having two people working at the same machine is actually beneficial and this task can be made even more difficult if one person is losing focus or interest and therefore isn't actually adding much value in that pairing session. == Who's responsible for making the pair function well? In all likelihood the person who's not currently at the keyboard is going to be the one losing focus and in this situation I often wonder whose responsibility it is for ensuring that the pair is functioning well. My initial thinking is that it's the responsibility of the person driving to bring the navigator along with them and that if this isn't happening then they're not doing a very good job in the driving role. A fairly typical scenario is for the driver to be coding and not really saying anything to their partner while they're doing so, therefore internalising all the mini decisions that they're making. == Vocalise your thoughts when driving When I was first shown how to pair program we were taught to vocalise everything we were doing while at the keyboard, thereby pretty much providing a running commentary for our pair to allow them to follow what we were doing. This commentary could be anything from detailing a refactoring that we've seen and want to perform to asking our pair for help to understand a bit of code that we're finding tricky. Hopefully this commentary helps create an almost constant conversation between the two people pairing. == Regaining focus If the driver isn't providing this commentary then an idea which http://dannorth.net/[Dan North] suggested to me is that the navigator can try and get this conversation going by commentating on what their pair is doing or by asking them questions. I suppose done to an extreme this might be a bit annoying but it should only be necessary to do this for a short amount of time until the driver starts being more communicative and I've found that it works quite well as a technique for getting yourself engaged again. Another approach is to get back control (with your pair's permission!) of the keyboard and continue where your pair left off until you have regained the context that you previously lost at which stage you might hand the keyboard back. It might also make sense to take a break for a few minutes and walk around or get a drink before returning to the pair - I find that this works well for me too. == Doing something is better than doing nothing The key here is that once we identify the problem the worst thing that we can do is to do nothing. The current situation clearly isn't working for us so we need to do something about it. As I learnt when studying http://www.nlpinfo.com/intro/txintro.html[NLP]: ____ If what you're doing isn't working, try something else, anything else, regardless of whether what you had been doing should have worked. ____ While discussing some of this ideas with my colleague http://luning12.blogbus.com/[Lu Ning] he suggested that if we are losing focus then it might be an indicator that we should split up the pair. I think we should still look to try some of the above ideas but if they don't have any effect then Lu is probably correct.
null
null
[ 0.015100060030817986, 0.0125283719971776, 0.006805033423006535, 0.027360012754797935, 0.07843447476625443, 0.021772196516394615, 0.032393570989370346, 0.04224373400211334, 0.026047024875879288, -0.044714923948049545, -0.025774478912353516, 0.025148911401629448, -0.05653070658445358, -0.013902450911700726, -0.04197274148464203, 0.07718873023986816, 0.06616105139255524, -0.00752211781218648, -0.0032358537428081036, -0.00010739707067841664, 0.03651348128914833, 0.05462687090039253, 0.03136436641216278, 0.03201337903738022, 0.02859361283481121, 0.013057423755526543, -0.01615413837134838, 0.0020895309280604124, -0.0664767399430275, -0.01335243508219719, 0.04357002303004265, 0.0024983217008411884, 0.016803443431854248, -0.012639784254133701, 0.0228292066603899, -0.015804702416062355, 0.001278672949410975, 0.032978326082229614, 0.017160536721348763, 0.021137859672307968, -0.06289676576852798, 0.027850771322846413, -0.01054342184215784, 0.0006395598757080734, -0.038220081478357315, 0.01619512215256691, -0.04706629738211632, 0.008171427994966507, 0.014203106984496117, -0.01875893957912922, -0.06106517091393471, 0.026547513902187347, 0.011624030768871307, 0.02009497582912445, 0.002631637966260314, 0.03996045142412186, 0.03582802414894104, -0.07463087141513824, 0.006793564185500145, -0.04144739359617233, -0.0011314863804727793, 0.010062484070658684, 0.010922547429800034, 0.035520039498806, 0.0301384124904871, -0.026689432561397552, 0.014144115149974823, 0.028168518096208572, -0.047937359660863876, 0.0018266643164679408, -0.018409449607133865, 0.012469299137592316, -0.025643952190876007, -0.03482987359166145, 0.003179919207468629, -0.04321202635765076, 0.015598513185977936, 0.049234502017498016, 0.04514244943857193, 0.025550564751029015, -0.008854717016220093, 0.025738408789038658, -0.0027350471355021, 0.04641472175717354, -0.022646551951766014, -0.03980256989598274, 0.019733116030693054, -0.03777730092406273, -0.06163666024804115, 0.04160858318209648, 0.005810804199427366, -0.08357694745063782, 0.006648682989180088, 0.0390838161110878, -0.005995604209601879, 0.01868918538093567, 0.03973657637834549, 0.012244291603565216, -0.0057691652327775955, -0.016685275360941887, -0.007284988183528185, -0.01575516164302826, -0.0124414237216115, 0.023666659370064735, -0.07928059250116348, -0.00005508158938027918, -0.013715224340558052, -0.007567225024104118, 0.0008299173205159605, 0.02325538545846939, -0.029297243803739548, 0.01104571670293808, -0.008100777864456177, 0.003367894096300006, -0.07597304880619049, 0.0665850043296814, -0.008111166767776012, -0.0403377003967762, -0.01892281509935856, -0.0008653150289319456, 0.041605908423662186, 0.04200184345245361, -0.009384599514305592, 0.0808756873011589, 0.0009693450992926955, 0.023605402559041977, -0.019384324550628662, 0.06073503941297531, -0.019051698967814445, -0.0629395991563797, -0.0030107044149190187, 0.04435811936855316, -0.02683674357831478, -0.00032334390562027693, 0.008008063770830631, -0.01963026635348797, 0.005328379571437836, 0.012488319538533688, 0.008934658952057362, 0.06707141548395157, -0.02248050644993782, -0.01990571804344654, 0.0327158197760582, 0.010715201497077942, 0.029292525723576546, -0.004889875650405884, -0.01853538490831852, -0.013664902187883854, -0.04956941306591034, -0.0022274984512478113, 0.009016243740916252, 0.019451064988970757, 0.016582520678639412, -0.052019231021404266, 0.03280876204371452, 0.08499962091445923, 0.03739389404654503, 0.012165565975010395, -0.024565566331148148, 0.03676655888557434, 0.030457308515906334, 0.013231790624558926, -0.011134011670947075, 0.01740298606455326, 0.017717132344841957, -0.00919717364013195, -0.000790974241681397, 0.03200208768248558, 0.0011021173559129238, 0.03047286905348301, -0.052369341254234314, -0.027148427441716194, 0.04297924414277077, -0.04942901432514191, -0.03884949907660484, 0.03343736380338669, 0.0773276835680008, 0.036095499992370605, 0.04503189027309418, 0.006856405641883612, -0.08109676837921143, 0.023216713219881058, 0.014570098370313644, 0.02147245593369007, 0.018933601677417755, -0.010760366916656494, 0.051716893911361694, 0.02911662869155407, -0.04587904363870621, 0.029338102787733078, -0.06888259947299957, -0.09905021637678146, -0.017891589552164078, -0.026172952726483345, 0.05708213150501251, -0.052950505167245865, 0.010217959992587566, 0.06294354051351547, 0.0328572578728199, 0.05773887410759926, 0.020325060933828354, 0.012301490642130375, 0.01567162200808525, -0.03363698348402977, -0.04009532928466797, 0.08340806514024734, 0.041753847151994705, -0.013896510936319828, -0.07801864296197891, 0.026137905195355415, -0.025906763970851898, -0.020805448293685913, 0.03596532344818115, -0.013382191769778728, 0.05799422785639763, -0.013292470015585423, 0.04845678061246872, -0.022888967767357826, 0.036639101803302765, -0.03648444637656212, -0.008525381796061993, 0.014205638319253922, -0.018539519980549812, 0.03934051841497421, 0.00027953003882430494, 0.10824175179004669, 0.07253587990999222, -0.05272334814071655, -0.052474796772003174, 0.014496628195047379, 0.010448520071804523, -0.02528599090874195, -0.009568926878273487, -0.006291459780186415, 0.00016053137369453907, 0.002857241313904524, -0.06185248866677284, -0.03878885135054588, 0.019779006019234657, -0.046970028430223465, -0.0042032841593027115, 0.07156431674957275, -0.037957385182380676, 0.0704064890742302, -0.01656031236052513, -0.012780343182384968, 0.006924728397279978, -0.005328767001628876, -0.029364705085754395, 0.013186963275074959, 0.0018610147526487708, -0.020412830635905266, 0.05156400054693222, -0.027030322700738907, -0.021425623446702957, -0.036446936428546906, -0.01642082817852497, -0.0045663416385650635, 0.05461781471967697, 0.05356645584106445, -0.006624175235629082, 0.06954064965248108, -0.004692332819104195, 0.020610598847270012, -0.016648855060338974, -0.06313697248697281, -0.034374434500932693, -0.011959507130086422, 0.004817817360162735, 0.03307252749800682, -0.006798067130148411, 0.013368964195251465, 0.017730645835399628, 0.0069470456801354885, -0.02069503627717495, -0.0016476172022521496, 0.0210212841629982, 0.004663771949708462, 0.0010893460130319, -0.023823674768209457, -0.02291891910135746, 0.03867306187748909, -0.03578129783272743, -0.013876930810511112, 0.011775296181440353, -0.06267652660608292, 0.03428084775805473, -0.07998635619878769, -0.060012686997652054, 0.002241814974695444, 0.033264607191085815, 0.04596847668290138, 0.005471169948577881, 0.022867243736982346, 0.07567587494850159, 0.014407319016754627, 0.023668283596634865, 0.007368914783000946, -0.010903744027018547, 0.04698013886809349, 0.024115348234772682, 0.00515066459774971, 0.04185473546385765, -0.013018480502068996, -0.003971893806010485, -0.05728122964501381, 0.050554174929857254, -0.04752577841281891, -0.30137187242507935, 0.03549830615520477, 0.00010215753718512133, -0.04183579608798027, 0.020580289885401726, -0.02028118632733822, 0.02403552271425724, -0.052527982741594315, -0.02779373712837696, 0.02180667780339718, -0.0484665185213089, -0.02713201567530632, -0.01413262914866209, 0.035832274705171585, 0.005051895976066589, 0.02435392141342163, 0.017664829269051552, -0.041988860815763474, 0.010739832185208797, 0.043491803109645844, -0.004963106010109186, -0.08513381332159042, -0.0033442960120737553, 0.034618958830833435, 0.05217277258634567, 0.04297078028321266, -0.07956930994987488, 0.024513468146324158, -0.043085433542728424, 0.003136615501716733, 0.00853570457547903, 0.01873793639242649, 0.0001140567910624668, -0.031719647347927094, -0.00983559712767601, -0.030408157035708427, 0.04882935807108879, -0.0016465508379042149, 0.012382280081510544, 0.01016206108033657, -0.022211425006389618, -0.036220379173755646, 0.0026683672331273556, 0.012444569729268551, 0.06419138610363007, 0.004555633757263422, -0.08271341025829315, 0.008814613334834576, -0.014533457346260548, 0.07900261133909225, -0.046452995389699936, -0.035955123603343964, -0.0091899698600173, 0.044986579567193985, 0.002856956562027335, -0.03427346423268318, -0.0036468401085585356, -0.01227951142936945, -0.01790519617497921, -0.027151629328727722, -0.01338723860681057, -0.032534826546907425, -0.020212223753333092, -0.0536835640668869, 0.019031701609492302, -0.058649692684412, -0.055630456656217575, -0.01492044422775507, 0.0701509490609169, 0.016903365030884743, -0.0492769293487072, 0.002632565563544631, -0.00007566683052573353, -0.10462155938148499, 0.00022507041285280138, 0.012948790565133095, -0.03191469982266426, -0.004480590578168631, 0.009443053975701332, 0.063194639980793, -0.0412992462515831, -0.06352385133504868, 0.009176928550004959, -0.010968107730150223, 0.03546736389398575, -0.025675887241959572, 0.03621062636375427, 0.008388695307075977, -0.01850154437124729, 0.008248872123658657, 0.06819970905780792, -0.007955108769237995, -0.04147621616721153, -0.026139847934246063, 0.0412917286157608, 0.007927215658128262, 0.02689940854907036, -0.010701444000005722, 0.0026554702781140804, 0.02158774808049202, -0.007105988450348377, -0.0518730953335762, 0.02276451326906681, -0.01599825918674469, 0.007279204670339823, -0.0030803224071860313, -0.05723468214273453, 0.014238107018172741, 0.04846738278865814, 0.04720058664679527, -0.005815195385366678, -0.024733902886509895, 0.00797251332551241, -0.0328206904232502, -0.036964572966098785, -0.030662059783935547, 0.01239872444421053, 0.03622383624315262, -0.012445789761841297, -0.012306421995162964, -0.06226297840476036, -0.012345343828201294, -0.012814571149647236, 0.01710466295480728, -0.07299263030290604, 0.0025923277717083693, -0.025214700028300285, -0.025836830958724022, 0.013312035240232944, 0.02707703225314617, -0.013331301510334015, 0.0287435594946146, 0.02326711267232895, -0.034643981605768204, 0.01646287366747856, -0.02411031909286976, -0.05187343806028366, -0.0025360623840242624, -0.012764261104166508, -0.00871145911514759, 0.0005155917024239898, 0.01817447319626808, 0.0033366282004863024, 0.012049073353409767, 0.027707017958164215, 0.010369138792157173, 0.008919581770896912, -0.01895463466644287, 0.02156732976436615, -0.0007573121110908687, 0.02593519352376461, -0.061557721346616745, 0.000623896368779242, -0.03771147504448891, -0.009996477514505386, -0.02173321135342121, 0.033348001539707184, -0.019354965537786484, -0.035737402737140656, 0.006514411885291338, 0.014180631376802921, -0.04659150540828705, -0.0362127348780632, -0.029581330716609955, 0.04485510289669037, 0.06336288154125214, -0.021351205185055733, -0.0016237146919593215, -0.025019632652401924, -0.0052926503121852875, 0.00010699353879317641, 0.007301835343241692, -0.08029373735189438, 0.006118281278759241, 0.023375866934657097, 0.0004828810633625835, -0.013250735588371754, -0.002453843131661415, 0.04094395786523819, 0.002532117534428835, 0.005270202644169331, -0.005816806107759476, -0.0012588129611685872, 0.009993833489716053, 0.06046717241406441, -0.0001588233426446095, 0.0063836658373475075, -0.015658993273973465, 0.001771157025359571, -0.014149892143905163, -0.0453014113008976, 0.0009827460162341595, 0.015245391987264156, 0.032430149614810944, -0.034609872847795486, -0.061222441494464874, 0.05033654719591141, 0.04038058966398239, -0.002457254333421588, 0.017438901588320732, -0.021007303148508072, -0.0005877558724023402, -0.0060308813117444515, 0.04041081294417381, 0.07976104319095612, -0.06691723316907883, 0.021165989339351654, -0.009120467118918896, -0.01907486282289028, 0.006961902137845755, -0.0190627109259367, -0.0354553684592247, -0.022535862401127815, -0.03192393109202385, -0.006129786372184753, -0.06303219497203827, -0.025666268542408943, -0.012089837342500687, 0.007185638416558504, 0.015780407935380936, -0.027038319036364555, -0.018710501492023468, -0.025705577805638313, -0.029772808775305748, -0.03311643749475479, 0.0025882762856781483, -0.04202064499258995, 0.011120946146547794, 0.02446237951517105, -0.03193477913737297, 0.004997413605451584, -0.031793929636478424, 0.023363152518868446, 0.028097255155444145, -0.022897638380527496, -0.024083184078335762, -0.05131244659423828, -0.005924476310610771, 0.0006116715376265347, 0.041553009301424026, 0.008149235509335995, -0.02554142288863659, -0.04521747678518295, -0.01253122091293335, -0.04557642713189125, 0.0108004380017519, -0.029827715829014778, -0.006627656985074282, 0.015606263652443886, 0.05000162869691849, 0.019314272329211235, 0.032370928674936295, -0.020355090498924255, -0.01131422072649002, 0.03481609374284744, -0.050130587071180344, -0.04442887753248215, -0.024536238983273506, -0.05168592557311058, -0.0050485264509916306, 0.009894456714391708, 0.020490001887083054, -0.044288184493780136, 0.033036548644304276, 0.0011452484177425504, 0.02623036876320839, 0.01898793876171112, -0.008903339505195618, 0.034442439675331116, -0.04489286243915558, 0.021332312375307083, -0.08107014745473862, -0.0008657164871692657, 0.029855459928512573, 0.014081474393606186, -0.01587953232228756, 0.020779354497790337, -0.03208610415458679, 0.04065627232193947, -0.07130187004804611, -0.009894704446196556, 0.038591232150793076, -0.006521608680486679, -0.022402023896574974, 0.0042575388215482235, -0.07754604518413544, 0.02999241277575493, 0.00513265049085021, -0.033156175166368484, -0.03434151038527489, -0.01211292203515768, 0.048335932195186615, 0.013546565547585487, 0.045301057398319244, -0.034676700830459595, -0.028072740882635117, 0.0804673433303833, -0.0025834208354353905, -0.00021252363512758166, 0.0391886867582798, -0.010544843971729279, 0.04575880616903305, 0.03442037105560303, 0.017142314463853836, -0.01152251847088337, 0.013387368991971016, -0.0011670996900647879, -0.07209307700395584, 0.034893497824668884, 0.0071299937553703785, -0.02293607033789158, -0.023704465478658676, 0.053957175463438034, 0.0348629392683506, -0.026354961097240448, -0.04377419501543045, 0.01823108270764351, -0.06416703015565872, 0.006076071411371231, -0.006952590309083462, -0.0007147772703319788, -0.059589408338069916, 0.036757469177246094, -0.005512142553925514, 0.003659091191366315, 0.052686579525470734, 0.02535196952521801, -0.03277548402547836, -0.005472106859087944, 0.09511454403400421, 0.07059065997600555, 0.07858363538980484, 0.031031541526317596, 0.07196306437253952, -0.026804782450199127, -0.037924058735370636, 0.019355103373527527, 0.004199795424938202, -0.030004337430000305, -0.013598070479929447, 0.014607799239456654, 0.06653205305337906, 0.00541018508374691, 0.07965335249900818, -0.012729372829198837, -0.020663771778345108, 0.024715440347790718, 0.029346277937293053, -0.003694067243486643, 0.05511954799294472, 0.015023380517959595, 0.023444034159183502, -0.024663656949996948, -0.04436827823519707, 0.031294092535972595, -0.03757030516862869, -0.00900452584028244, 0.012202846817672253, -0.012374171055853367, 0.03130476549267769, 0.017468996345996857, 0.01937645487487316, 0.09151490777730942, -0.03868425264954567, 0.01093276683241129, -0.011642132885754108, 0.03405013680458069, -0.030457092449069023, 0.019779875874519348, -0.0245846975594759, -0.01734199933707714, 0.018475521355867386, -0.02213893085718155, -0.03634652495384216, -0.0328170508146286, -0.017726676538586617, 0.05157487466931343, -0.03033938631415367, 0.010243424214422703, 0.020091703161597252, 0.021973194554448128, -0.04091443866491318, -0.06858712434768677, -0.04592844843864441, -0.022496473044157028, -0.02867252007126808, -0.02455354854464531, 0.013865865767002106, -0.001584166893735528, -0.030654804781079292, 0.00348693341948092, -0.029799506068229675, -0.03418894484639168, 0.019615603610873222, -0.06698551028966904, -0.041339725255966187, 0.028079405426979065, 0.02522292174398899, 0.03908713534474373, 0.02460264042019844, 0.05605481192469597, -0.012385282665491104, -0.0016247584717348218, -0.02001013793051243, 0.018893631175160408, 0.020984530448913574, 0.009587268345057964, -0.000414443202316761, -0.09019877761602402, 0.009531848132610321, 0.02607591077685356, 0.012373825535178185, -0.07183050364255905, 0.023648321628570557, 0.017137499526143074, 0.019683029502630234, 0.05869530141353607, -0.015867820009589195, 0.027808114886283875, -0.03456940874457359, 0.0008749787812121212, -0.000014592670595447998, 0.02249615453183651, 0.04343666136264801, -0.0172574445605278, 0.09601488709449768, 0.0014712534612044692, -0.00949010532349348, -0.03372098505496979, -0.023008642718195915, 0.006372678559273481, -0.0015534000704064965, -0.005971311591565609, -0.03327137231826782, -0.007529205642640591, -0.08766372501850128, -0.01355831976979971, 0.01537029817700386, -0.003913491498678923, -0.03393443301320076, 0.02604582905769348, 0.030184878036379814, -0.018294451758265495, 0.03130941838026047, -0.06218123808503151, 0.014940646477043629, -0.0173648688942194, -0.017808755859732628, -0.0032532899640500546, 0.00195017596706748, -0.02910768799483776, -0.011761975474655628, 0.006519707385450602, -0.044645074754953384, 0.009398133493959904, 0.0006922476459294558, 0.02759532257914543, 0.030849220231175423, 0.002958302851766348, -0.0064827208407223225 ]
[ -0.08454229682683945, 0.006455507595092058, -0.020074767991900444, -0.033615149557590485, -0.01539707649499178, -0.012940553948283195, 0.01728823035955429, 0.029074037447571754, 0.011585422791540623, -0.05305445194244385, -0.027518050745129585, -0.020739369094371796, 0.030877986922860146, -0.027086898684501648, 0.0792180523276329, 0.00954855140298605, -0.02041679434478283, -0.0537278838455677, 0.007032183930277824, 0.02978074736893177, -0.013910815119743347, -0.07075409591197968, -0.062002215534448624, -0.028200378641486168, -0.005281455349177122, 0.04445201903581619, 0.008495311252772808, -0.04146084561944008, 0.020703308284282684, -0.18477730453014374, 0.000038896079786354676, 0.034066613763570786, 0.0587133914232254, -0.003969104494899511, -0.04099014773964882, 0.05558393523097038, 0.013833967037498951, 0.014481562189757824, 0.0018772955518215895, 0.001353879109956324, 0.0228201225399971, 0.00042947061592713, -0.047464098781347275, -0.040567558258771896, 0.00744025269523263, 0.020639868453145027, -0.008437330834567547, -0.05414033681154251, -0.005557043012231588, 0.002507830038666725, -0.05430963635444641, -0.0383392870426178, -0.02211860381066799, -0.038166966289281845, 0.013603483326733112, 0.046362027525901794, 0.05421537533402443, 0.042810454964637756, -0.0087295426055789, 0.03735122084617615, -0.004495712928473949, -0.033866818994283676, -0.14147166907787323, 0.06518150866031647, 0.03431006893515587, 0.04886849969625473, -0.03913983330130577, -0.008704016916453838, -0.013409033417701721, 0.09435862302780151, 0.015070863999426365, -0.03605250269174576, -0.02858561836183071, 0.015273172408342361, 0.0201868936419487, -0.006791642401367426, -0.018502168357372284, 0.03433224558830261, 0.0278885867446661, -0.018845655024051666, -0.04605235159397125, -0.015647532418370247, -0.0165451280772686, 0.005236110184341669, -0.02297479286789894, 0.02117498777806759, -0.005749873351305723, 0.006916956976056099, 0.011109128594398499, -0.004435480106621981, 0.027725720778107643, -0.011436005122959614, 0.02173086814582348, -0.007774542551487684, -0.07430022209882736, 0.01045969221740961, 0.016642915084958076, 0.0069728391245007515, -0.07421217113733292, 0.4434385597705841, -0.028938185423612595, -0.004759520757943392, 0.0836690291762352, 0.03320329263806343, -0.020288819447159767, -0.007608045823872089, 0.0036154917906969786, -0.03795233741402626, 0.023270301520824432, -0.018513144925236702, 0.02634309232234955, 0.00205539190210402, 0.05110008642077446, -0.014810987748205662, 0.01705183833837509, 0.09053603559732437, 0.03150874376296997, 0.0522342175245285, 0.012516024522483349, -0.022924231365323067, -0.01690462790429592, -0.011570476926863194, 0.028613589704036713, 0.0139957619830966, -0.0042365784756839275, -0.06580739468336105, 0.031154368072748184, 0.049848224967718124, 0.019913677126169205, -0.00785774178802967, 0.0772123858332634, -0.0434858538210392, -0.038836199790239334, 0.013398637063801289, -0.020559707656502724, -0.00840443279594183, 0.02481829561293125, -0.02654486894607544, -0.006141272373497486, 0.058854661881923676, 0.038358643651008606, -0.058685120195150375, 0.03914598375558853, -0.027145370841026306, 0.001698327949270606, 0.12595973908901215, 0.003571917535737157, -0.05452776700258255, -0.01619955524802208, -0.007615494076162577, 0.0029356242157518864, 0.010313579812645912, -0.0007164246053434908, -0.058972034603357315, 0.03423912823200226, 0.010053225792944431, 0.12043364346027374, -0.00878287572413683, -0.07294949144124985, 0.043488964438438416, -0.015399429947137833, -0.03617042675614357, -0.08447866141796112, 0.02825586497783661, 0.10673737525939941, -0.11208184063434601, -0.014747250825166702, -0.0035242754966020584, 0.017445819452404976, -0.04843733832240105, -0.0029945147689431906, -0.008131383918225765, -0.01799461990594864, 0.010304400697350502, 0.046351492404937744, 0.001431681914255023, -0.05706337094306946, 0.02181665226817131, 0.025356722995638847, 0.016997728496789932, 0.006838000845164061, 0.021188080310821533, -0.040874406695365906, -0.014897146262228489, -0.027455326169729233, -0.05968386307358742, -0.04470224678516388, -0.009193305857479572, -0.03852950036525726, -0.004800302907824516, -0.0069193546660244465, -0.03280036151409149, -0.05418941378593445, 0.10329698026180267, -0.03723107650876045, -0.03839457780122757, 0.019006161019206047, -0.037722792476415634, -0.07225468754768372, -0.004968374967575073, -0.06081843376159668, 0.013403473421931267, -0.018260186538100243, 0.02286911942064762, -0.05389172583818436, 0.03257445618510246, 0.01194057334214449, -0.03294892609119415, 0.08254217356443405, 0.053602635860443115, -0.0010586458956822753, -0.06397087872028351, -0.0065309698693454266, 0.041174326092004776, -0.0053159454837441444, -0.027161085978150368, -0.019142117351293564, 0.03372721001505852, -0.023636329919099808, 0.03596801310777664, -0.019029030576348305, 0.02312636375427246, 0.033492688089609146, -0.3347982168197632, -0.029483798891305923, -0.01919449307024479, 0.02606889232993126, 0.00876160804182291, -0.04146082326769829, 0.037251487374305725, 0.008154287002980709, -0.03777697682380676, -0.008545792661607265, 0.0915922224521637, -0.028559423983097076, -0.0012622415088117123, -0.06307851523160934, 0.007583307102322578, 0.047551702708005905, -0.04377848654985428, -0.000004775477009388851, -0.030719514936208725, 0.023414604365825653, 0.007022123783826828, 0.019893750548362732, -0.03560356795787811, -0.03794405981898308, 0.022837504744529724, -0.026805706322193146, 0.10629988461732864, 0.0064828889444470406, 0.08747848868370056, -0.01296949665993452, 0.025386426597833633, 0.0189284048974514, 0.018170742318034172, -0.11353898048400879, 0.020400064066052437, -0.0019782844465225935, 0.03598808869719505, -0.07683342695236206, 0.04455718398094177, -0.027666404843330383, -0.07799047976732254, -0.00026664635515771806, -0.0607803650200367, -0.026157274842262268, -0.06744357198476791, -0.009405281394720078, -0.0374976322054863, -0.023175477981567383, -0.01260423008352518, 0.06962183862924576, 0.02900671400129795, 0.010096900165081024, 0.014713120646774769, -0.031269948929548264, -0.01783071644604206, -0.04985937476158142, -0.08629051595926285, 0.009888003580272198, 0.0020537578966468573, -0.01750115491449833, 0.015209303237497807, 0.07319821417331696, 0.03392266109585762, -0.062840536236763, 0.008136425167322159, 0.013993903063237667, 0.015364039689302444, -0.009106096811592579, 0.04198836907744408, 0.009210464544594288, -0.015672970563173294, 0.06552965193986893, -0.000609972164966166, -0.004670304246246815, 0.010312946513295174, 0.025296606123447418, 0.013875281438231468, 0.01650960184633732, 0.0037153952289372683, -0.02963281236588955, 0.01662573777139187, -0.02793971262872219, 0.04887888953089714, -0.005230618640780449, 0.01490106526762247, -0.008452225476503372, 0.01990542747080326, -0.01529668364673853, 0.0572395846247673, -0.0015643383376300335, -0.02565927430987358, 0.005947594065219164, -0.00960312969982624, -0.05319886654615402, 0.08352568000555038, -0.0011383902747184038, -0.25467240810394287, -0.008624793030321598, 0.042034659534692764, 0.0418778695166111, -0.0450330525636673, 0.04162660241127014, 0.030410315841436386, -0.028020597994327545, -0.0374050997197628, -0.022010385990142822, 0.005424682516604662, 0.029251640662550926, 0.00671310443431139, 0.0391806997358799, 0.048809416592121124, 0.016397809609770775, 0.0534374937415123, 0.012884148396551609, 0.0026107681915163994, -0.023223532363772392, 0.007783809211105108, -0.00029890055884607136, 0.15461261570453644, 0.007976770401000977, 0.07162602245807648, 0.03230578452348709, -0.0076864114962518215, 0.0016444057691842318, 0.07759445905685425, -0.00390665652230382, -0.0005225386703386903, 0.005062271375209093, 0.027428217232227325, -0.0154147082939744, 0.018148601055145264, -0.048933446407318115, -0.013964792713522911, 0.030103040859103203, 0.04978373274207115, 0.03255527466535568, 0.024943895637989044, 0.0046921162866055965, 0.019519705325365067, -0.02078891173005104, 0.07141010463237762, 0.01853317953646183, 0.01613028720021248, -0.028445424512028694, -0.05518919229507446, 0.0009547950467094779, -0.037713006138801575, -0.03186439722776413, 0.008169284090399742, -0.010667520575225353, 0.0192644614726305, 0.04402201622724533, -0.0027661591302603483, -0.028839603066444397, 0.005268112290650606, 0.029290195554494858, -0.009716924279928207, -0.015819352120161057, 0.09906230866909027, 0.03187677636742592, 0.03175290673971176 ]
[ -0.01452633086591959, 0.0005076535744592547, 0.004240051377564669, 0.013063070364296436, -0.01740274578332901, 0.04393414407968521, -0.007093798369169235, 0.004219744820147753, 0.010828712955117226, -0.01757863163948059, -0.029135379940271378, 0.021079180762171745, 0.0038637721445411444, -0.005097487475723028, 0.026825180277228355, -0.019653521478176117, 0.003812788287177682, -0.02651234157383442, 0.017677539959549904, 0.06173329055309296, -0.009305749088525772, 0.015483078546822071, -0.02673001028597355, -0.012817134149372578, -0.029125381261110306, -0.0026651122607290745, -0.0028745438903570175, -0.029510125517845154, 0.04118839278817177, -0.13063178956508636, -0.03362968564033508, -0.01336254645138979, 0.006730361841619015, 0.0127396360039711, -0.03831181675195694, -0.03772319108247757, 0.03430386260151863, 0.018650632351636887, 0.000135411333758384, -0.05315680429339409, -0.018591944128274918, -0.035174574702978134, 0.0016893803840503097, 0.00264952820725739, 0.016122937202453613, -0.014092301949858665, -0.00010546032717684284, -0.03130022808909416, -0.00907791405916214, -0.03734936937689781, -0.053505778312683105, 0.0051842937245965, 0.008571002632379532, -0.017891565337777138, 0.025946523994207382, 0.012829729355871677, -0.008496926166117191, -0.009202037006616592, 0.002320160623639822, 0.015184450894594193, -0.004151325207203627, -0.0051737697795033455, -0.06419675797224045, -0.01338733546435833, -0.03754102438688278, -0.0062796627171337605, 0.00968711357563734, -0.008737089112401009, -0.0033603310585021973, 0.024832507595419884, -0.02951962500810623, 0.009038287214934826, -0.023609111085534096, -0.03863362595438957, 0.01478540152311325, 0.004223167430609465, 0.002672443399205804, -0.030015887692570686, 0.0003825402236543596, -0.0545230470597744, -0.03549685701727867, -0.00207437458448112, 0.018316127359867096, 0.02380264922976494, 0.053702693432569504, -0.03679035231471062, -0.0008447839645668864, 0.007680206559598446, -0.012178396806120872, 0.00800812803208828, -0.07610315084457397, 0.020603353157639503, -0.000628216250333935, -0.012001876719295979, -0.08094163239002228, 0.02890358678996563, -0.016464442014694214, 0.020214425399899483, 0.014974805526435375, 0.8187040090560913, -0.00011549262853804976, 0.045727506279945374, 0.030979426577687263, -0.004482834599912167, -0.02642054297029972, 0.03142405301332474, 0.047913335263729095, -0.021835219115018845, 0.03102201223373413, -0.043167196214199066, 0.047799255698919296, -0.02431269735097885, 0.012207088991999626, 0.012593263760209084, 0.012019956484436989, 0.01456889696419239, -0.009027134627103806, 0.019718913361430168, 0.013161450624465942, -0.0036584511399269104, -0.03707650303840637, -0.01795860193669796, 0.018493477255105972, -0.01035799365490675, 0.03664423152804375, -0.18320925533771515, 0.048649776726961136, -7.406747292861016e-33, 0.03189808130264282, 0.012042270042002201, -0.026614772155880928, -0.0031067978125065565, 0.02501002512872219, 0.01533982902765274, -0.013780361972749233, -0.01708284579217434, -0.011286856606602669, -0.03330763801932335, 0.000690334418322891, -0.012060804292559624, 0.018704773858189583, -0.03449937701225281, 0.018897773697972298, -0.03305584192276001, 0.004326364956796169, 0.009022771380841732, -0.044185273349285126, 0.009825360029935837, 0.0660557672381401, 0.052253298461437225, -0.008840938098728657, 0.0028143967501819134, 0.0007468222174793482, 0.01933441497385502, -0.022804711014032364, 0.0343405082821846, 0.03943532332777977, -0.03528723865747452, -0.029738472774624825, 0.03707825019955635, -0.0493820458650589, 0.030173346400260925, -0.014516235329210758, -0.004504017997533083, -0.037103068083524704, -0.007622187957167625, -0.016766423359513283, -0.004247975070029497, -0.03011242300271988, 0.00646085012704134, -0.04848343878984451, -0.034331176429986954, -0.037122245877981186, -0.028470436111092567, -0.007666633930057287, 0.058869369328022, 0.002886898582801223, -0.028446543961763382, -0.02150649018585682, 0.026775723323225975, -0.012153384275734425, 0.011329229921102524, -0.049533553421497345, 0.02577403001487255, 0.012374991551041603, -0.009134089574217796, -0.023193873465061188, 0.03146816045045853, 0.01622733660042286, -0.018003996461629868, -0.0020771136041730642, -0.011532926000654697, 0.01549439411610365, 0.005982049275189638, 0.003345216391608119, 0.0015573420096188784, 0.02145812287926674, -0.007280515506863594, -0.02219790779054165, 0.01137079019099474, -0.00026979122776538134, -0.02160491794347763, 0.011389032937586308, 0.019549841061234474, 0.009918119758367538, -0.018141502514481544, -0.01250971294939518, 0.048718374222517014, -0.003433993086218834, 0.014772318303585052, -0.0004650498740375042, -0.026767868548631668, -0.013243108056485653, -0.033747680485248566, -0.00826965644955635, -0.023228539153933525, -0.029301803559064865, 0.06511922925710678, 0.008930623531341553, 0.04822733998298645, -0.0035264366306364536, -0.02202196791768074, 0.02370891347527504, 7.095075986000026e-33, -0.011020946316421032, 0.01596268266439438, 0.01744646392762661, 0.008130606263875961, 0.04958546906709671, 0.016776807606220245, 0.05329669266939163, -0.020539522171020508, -0.029081271961331367, 0.04171782732009888, -0.0227411687374115, -0.017084568738937378, 0.039721060544252396, 0.012555036693811417, 0.03391464427113533, -0.026052353903651237, 0.008540717884898186, -0.026492889970541, 0.02990703471004963, -0.017081275582313538, 0.022663677111268044, 0.00786414835602045, 0.02226836420595646, 0.02897038869559765, 0.03560827299952507, 0.044293951243162155, 0.029971854761242867, 0.01914811320602894, -0.019921623170375824, -0.0014195599360391498, 0.0028669144958257675, -0.009852076880633831, -0.005873475689440966, -0.02767220325767994, 0.021010927855968475, 0.05282685533165932, -0.04408813640475273, -0.028058597818017006, -0.030314531177282333, -0.007582699880003929, 0.012272625230252743, 0.003528034081682563, -0.00910934992134571, 0.04518382251262665, 0.0581868551671505, -0.024680709466338158, 0.018566669896245003, -0.0288397166877985, -0.01930396631360054, 0.008071338757872581, 0.06521430611610413, 0.0202481709420681, -0.034562282264232635, -0.023540331050753593, -0.03924919664859772, -0.03985452651977539, 0.03239310905337334, 0.018215930089354515, 0.014388013631105423, 0.011722306720912457, 0.014346480369567871, 0.015046399086713791, -0.058135226368904114, 0.03757060691714287, -0.0051353401504457, -0.013821950182318687, -0.018205994740128517, 0.010103527456521988, -0.010599145665764809, 0.012411457486450672, 0.0029709029477089643, -0.01782391592860222, 0.018396597355604172, 0.04406877979636192, -0.01762218028306961, -0.02623181976377964, -0.029566451907157898, -0.007714221253991127, 0.0055307792499661446, -0.004818117246031761, 0.043639540672302246, 0.02348189242184162, 0.06027887761592865, 0.04735264554619789, -0.022715309634804726, 0.05159343034029007, 0.005123473238199949, 0.029710303992033005, -0.009646455757319927, 0.010307437740266323, -0.0037274882197380066, 0.011866047978401184, 0.0033443437423557043, 0.017948448657989502, -0.033839356154203415, -1.31797355251706e-8, -0.03888721019029617, 0.011363448575139046, -0.029386218637228012, 0.02084023505449295, -0.01626582071185112, -0.018226969987154007, 0.023054338991642, -0.02697456069290638, -0.06607318669557571, 0.010246879421174526, 0.021097730845212936, -0.04495388641953468, 0.020868584513664246, 0.02376910112798214, 0.0635734274983406, -0.031463250517845154, 0.0032582839485257864, -0.02521253004670143, 0.005871024448424578, -0.0013404627097770572, 0.016740545630455017, 0.01684306189417839, -0.03594903275370598, 0.06689678132534027, -0.002974401693791151, 0.004069836810231209, 0.03298541530966759, -0.06531727313995361, 0.004528840538114309, -0.033882025629282, -0.018671145662665367, -0.008705091662704945, -0.04025177285075188, 0.02670866809785366, -0.00470689358189702, -0.03702358901500702, -0.008693315088748932, 0.04631824418902397, 0.0274299718439579, 0.007687761913985014, -0.0477471686899662, 0.021292071789503098, -0.01772741600871086, -0.011061960831284523, 0.0029235631227493286, 0.028860971331596375, -0.040751855820417404, -0.009971854276955128, -0.03347135707736015, -0.017209237441420555, 0.007510397117584944, -0.009056978859007359, 0.019606012850999832, 0.02642146684229374, -0.01800212822854519, -0.002996208146214485, -0.027070116251707077, 0.0016639147652313113, 0.003955258522182703, -0.02993237040936947, -0.004300610162317753, 0.04631160944700241, -0.009434216655790806, -0.03108573891222477 ]
pair-programming-keeping-both-people-engaged
https://markhneedham.com/blog/2009/08/24/pair-programming-keeping-both-people-engaged
false
2009-08-24 18:15:19
Learning: Thoughts on doing so more effectively
[ "learning" ]
[ "Learning" ]
One of the quite common sayings that I've come across when discussing student/teacher type situations is that it's the teacher's responsibility to present the material to the student in a way that they can understand and that if the student still doesn't understand then http://lizkeogh.com/2009/08/19/agile-2009-bdd-clinic-feedback-workshop-and-programming-with-the-stars/[the teacher hasn't done their job properly]. I believe that this approach is also followed in the UK education system nowadays and while it makes sense in a way I don't think it's a particularly useful belief to have as a student since it seems to encourage you to be quite passive in the learning process. I find that when you are in a situation where you are the student it is probably quite likely that you are aware of the best way that you understand new material whereas the teacher doesn't necessarily know and, unless they have the ability to work out which way you will understand best, they will probably explain something in the way that they would like it explained to them. If you don't *know the way that you learn best* then it's quite a useful thing to try and work out. I've worked out that I learn best when I can find something I understand already that I can link it to and as a general rule I understand things way better when I can work out a way to visualise it, usually by drawing a diagram or finding an explanation which includes a diagram. My colleagues seem to have picked up that this is the way that I understand things best so wherever I happen to be working there will likely be stacks of papers with different diagrams on them! I also know that it often takes me a few times before I understand something but that once I understand something I don't tend to forget it. It used to really annoy me that I didn't understand concepts as quickly as some of my peers at university but now that I've noticed that pattern I tend to write down the concept or bookmark it if it's on the web and then come back to it later when I might have learnt something else which helps me understand the other concept. Maybe the responsibility really does lie with the teacher, and I particularly like the quote from the http://www.slideshare.net/RowanManahan/dodging-bullets-in-presentations[last slide of this presentation] which says 'If you can't explain it simply, you don't understand it well enough' but it doesn't do much harm to help them to help us. I've also found that *varying the way that I learn new ideas* can sometimes be quite effective - for example there are now http://www.infoq.com/[loads of videos] available of people presenting on different technical topics and watching someone who knows a subject really well explain it through this medium can often make it easier to understand than reading an article about it. One of the best ideas I've come across lately was from http://www.markhneedham.com/blog/2008/10/06/pragmatic-learning-and-thinking-book-review/[Pragmatic Learning and Thinking], which suggests *discussing what you're learning with others*. This is useful because you get the chance to see how well you understand the topic http://www.markhneedham.com/blog/2009/04/21/learning-through-teaching/[by trying to explain it] as well as getting their views on the subject. From our experiences running a http://www.markhneedham.com/blog/category/book-club/[technical book club] it's often quite surprising how varied people's opinions are despite reading/watching the same material. It seems to me that perhaps the most important skill in the world of software development is learning how to learn new things and these are a few of the ways that I find work for me. I'd be keen to learn ways that other people are doing this too!
null
null
[ 0.021383890882134438, 0.0041504912078380585, -0.019844476133584976, 0.028282687067985535, 0.08580946177244186, -0.002524429466575384, 0.0066025652922689915, 0.03515024483203888, 0.014547141268849373, -0.00208824360743165, -0.017191801220178604, 0.002944248029962182, -0.0350615456700325, 0.027826834470033646, -0.033039215952157974, 0.06682288646697998, 0.0741584524512291, 0.0089749526232481, 0.006387417670339346, 0.010705472901463509, 0.028218990191817284, 0.06696432083845139, 0.020488712936639786, 0.03421156108379364, 0.02153460867702961, 0.005740941967815161, 0.01230053324252367, 0.008474338799715042, -0.038536280393600464, -0.0006312636542133987, 0.043199460953474045, -0.00413996446877718, 0.013804515823721886, 0.026988254860043526, 0.0038993859197944403, -0.039622314274311066, -0.0074045308865606785, 0.025761213153600693, 0.008415503427386284, -0.006883690599352121, -0.05357230454683304, 0.03024684451520443, -0.02536892518401146, -0.012322324328124523, -0.039020683616399765, -0.017858991399407387, -0.04657551646232605, 0.021695969626307487, 0.013247021473944187, -0.009370801039040089, -0.07647167891263962, 0.04885757341980934, 0.018860669806599617, -0.011075980961322784, -0.04277900606393814, 0.03849190101027489, 0.012769626453518867, -0.07584434747695923, 0.013885238207876682, -0.041762564331293106, -0.005662638694047928, 0.0002482305862940848, -0.003412686986848712, 0.053113967180252075, 0.03562215715646744, -0.009742618538439274, -0.010737677104771137, 0.032531801611185074, -0.05735401436686516, -0.014254177920520306, -0.04352782294154167, 0.018227476626634598, -0.018416861072182655, -0.03169779106974602, -0.006250094622373581, -0.05453617125749588, 0.012378429062664509, 0.04936516657471657, 0.009157216176390648, 0.011703798547387123, -0.03218890354037285, 0.01190784852951765, 0.013494953513145447, 0.02157781273126602, 0.0003778686805162579, -0.055540237575769424, -0.011063390411436558, -0.007966063916683197, -0.04528997838497162, 0.06149016320705414, 0.002147285034880042, -0.04374143108725548, 0.0003090432146564126, 0.04917803779244423, -0.010089479386806488, 0.008795810863375664, 0.02893880195915699, -0.007823873311281204, -0.009183459915220737, -0.03613411635160446, -0.025667153298854828, -0.038594283163547516, 0.011771894060075283, 0.011572301387786865, -0.08287063986063004, -0.002941144397482276, -0.012975243851542473, -0.032665833830833435, -0.025318678468465805, 0.015995146706700325, -0.030764667317271233, 0.011086126789450645, -0.03120252676308155, -0.013875960372388363, -0.06705093383789062, 0.06657140702009201, 0.01560060866177082, -0.018819307908415794, -0.0201382078230381, -0.003530322341248393, 0.016889149323105812, 0.0006620842614211142, 0.015450523234903812, 0.08305713534355164, 0.017036711797118187, 0.01608409732580185, -0.04963408038020134, 0.0544571690261364, -0.02890917658805847, -0.04781770706176758, 0.000656692311167717, 0.052879225462675095, -0.012822043150663376, -0.011081150732934475, 0.02056005783379078, -0.011856946162879467, -0.0009768964955583215, -0.010397453792393208, 0.017507579177618027, 0.07680737972259521, 0.013700894080102444, -0.010357250459492207, 0.01462366059422493, 0.02795886993408203, 0.0204729326069355, 0.0012476175324991345, -0.004694820381700993, -0.01297275722026825, -0.051188964396715164, -0.009536868892610073, 0.0029182436410337687, 0.007264267653226852, 0.031595129519701004, -0.012816949747502804, 0.0036144559271633625, 0.0701604038476944, 0.02038678154349327, 0.031303659081459045, -0.006660294719040394, 0.037926480174064636, 0.033572662621736526, 0.030272439122200012, 0.02178668975830078, 0.016619056463241577, 0.007303423248231411, -0.010028430260717869, -0.006935175508260727, 0.03353075683116913, -0.012823323719203472, -0.01837465725839138, -0.06395817548036575, -0.05218508467078209, 0.05765734985470772, -0.0642467811703682, -0.013055671937763691, 0.04296377673745155, 0.06571406871080399, 0.036343835294246674, 0.037666767835617065, -0.02015702985227108, -0.08366496115922928, 0.02651994302868843, 0.014268981292843819, 0.017660200595855713, 0.014974999241530895, -0.01632949523627758, 0.035971738398075104, 0.036331042647361755, -0.0012236719485372305, 0.0417751781642437, -0.0982038602232933, -0.08731637895107269, -0.019766220822930336, -0.008195440284907818, 0.0550963468849659, -0.04444248601794243, 0.022005578503012657, 0.07170439511537552, 0.006412641145288944, 0.056042034178972244, 0.023426644504070282, 0.013575618155300617, 0.002561459317803383, -0.03969287499785423, -0.023348288610577583, 0.05516579747200012, 0.032203782349824905, 0.0026983791030943394, -0.03967873752117157, 0.018532682210206985, -0.02658766694366932, -0.032217931002378464, 0.06317667663097382, 0.003201122162863612, 0.026564327999949455, 0.0077386414632201195, 0.07711269706487656, -0.050358835607767105, 0.05102270096540451, -0.03170829266309738, 0.015825871378183365, -0.0017081884434446692, -0.020813429728150368, 0.003934833221137524, -0.0077555919997394085, 0.11207345128059387, 0.04636004567146301, -0.019207464531064034, -0.055861975997686386, 0.02198239415884018, 0.00983392633497715, -0.05864045396447182, 0.0005047215963713825, 0.005965969990938902, 0.008064422756433487, -0.01436980627477169, -0.07805188745260239, -0.034950174391269684, 0.031473156064748764, -0.0693352073431015, 0.0034203550312668085, 0.06217280402779579, -0.02486981451511383, 0.06966576725244522, 0.00481034629046917, -0.007630225736647844, -0.0135420523583889, 0.017974523827433586, -0.04533534497022629, 0.02226387895643711, 0.007856560871005058, -0.02131364680826664, 0.03692133352160454, -0.033883001655340195, -0.05373142287135124, -0.027835503220558167, -0.05053341016173363, -0.008815783075988293, 0.06262852996587753, 0.07635661214590073, -0.01982961967587471, 0.05368616059422493, -0.003426334820687771, 0.050726599991321564, 0.003355850698426366, -0.040916167199611664, -0.01790943741798401, -0.021416155621409416, -0.0002699892211239785, 0.013558213599026203, 0.009701523929834366, 0.01617986336350441, 0.03747408837080002, -0.002310557756572962, -0.03589606285095215, -0.0001217871904373169, 0.04323050379753113, -0.0008093150099739432, -0.02883535623550415, -0.02962559461593628, -0.009072032757103443, 0.05241626128554344, -0.0391988568007946, -0.0228731706738472, 0.03553585708141327, -0.07905809581279755, 0.05513525754213333, -0.050668928772211075, -0.0515146479010582, 0.007996771484613419, 0.017979025840759277, 0.06053634732961655, 0.012882394716143608, -0.007520865183323622, 0.06608366221189499, 0.008667923510074615, -0.0011848321883007884, -0.01841798797249794, 0.01788703165948391, 0.045224178582429886, -0.003239935962483287, -0.0071358163841068745, 0.030812684446573257, 0.021998649463057518, 0.011166942305862904, -0.04630370810627937, 0.055837709456682205, -0.026860039681196213, -0.2737928628921509, 0.025407575070858, 0.01516930852085352, -0.01806206814944744, 0.027081983163952827, -0.060867320746183395, 0.02029426023364067, -0.05595184490084648, -0.02950409986078739, 0.011807681992650032, -0.05368224158883095, -0.0356445349752903, -0.022586891427636147, 0.054724566638469696, 0.006916459184139967, 0.02199888788163662, 0.018453603610396385, -0.03661689907312393, 0.02020026557147503, 0.08467891812324524, -0.014926880598068237, -0.0575847253203392, -0.02479001320898533, 0.056705694645643234, 0.029777072370052338, 0.04153869301080704, -0.088959239423275, 0.0220364797860384, -0.060043543577194214, -0.00886861514300108, 0.021840739995241165, 0.0000158536531671416, -0.010807505808770657, -0.026967577636241913, -0.006453811191022396, -0.003891824511811137, 0.040218982845544815, 0.006168740801513195, -0.02243984118103981, 0.028778212144970894, -0.026350198313593864, -0.05379067733883858, 0.002198836300522089, 0.03423881530761719, 0.04451940953731537, 0.012770318426191807, -0.07782980054616928, -0.0316225066781044, -0.03128776326775551, 0.0940265879034996, -0.044569745659828186, -0.024492597207427025, 0.008986573666334152, 0.0034072634298354387, -0.006160334218293428, 0.016339896246790886, 0.00003126109731965698, -0.012244871817529202, -0.057492028921842575, -0.059583622962236404, -0.030742254108190536, -0.02061377465724945, -0.011737237684428692, -0.06653263419866562, 0.010317647829651833, -0.07100854814052582, -0.06126576289534569, -0.003278752788901329, 0.03765888139605522, 0.03164862096309662, -0.04095817357301712, -0.007662471849471331, -0.026104766875505447, -0.10916323959827423, -0.0018412974895909429, -0.014153641648590565, -0.021680740639567375, -0.004665383603423834, 0.02404167875647545, 0.03319908678531647, -0.025423778221011162, -0.05423661321401596, 0.035968001931905746, 0.018425188958644867, 0.023209430277347565, -0.02551746554672718, 0.05307848006486893, 0.01245647482573986, -0.004232956096529961, 0.01475291047245264, 0.06083310768008232, 0.0378742553293705, -0.036315470933914185, -0.020131604745984077, 0.03991907462477684, 0.03294200822710991, 0.012116976082324982, -0.02609962411224842, 0.027646450325846672, 0.011777731589972973, -0.01467880792915821, -0.05060519650578499, 0.019104083999991417, 0.01246824860572815, -0.027954062446951866, -0.026087535545229912, -0.06065097078680992, 0.038961924612522125, 0.03187071532011032, 0.00042495111119933426, 0.008384574204683304, -0.023699544370174408, 0.008769485168159008, -0.018402904272079468, -0.03259141743183136, -0.014929788187146187, 0.01548922061920166, 0.047780878841876984, -0.030409567058086395, 0.0015105877537280321, -0.05484003946185112, 0.011856312863528728, -0.01908107101917267, 0.003373759565874934, -0.06658193469047546, -0.015161264687776566, 0.008027159608900547, -0.040724799036979675, 0.01524293515831232, 0.01536958571523428, -0.006391502916812897, -0.0065200128592550755, 0.03720932453870773, -0.054715391248464584, 0.02164686843752861, -0.021833011880517006, -0.0730724111199379, -0.018884202465415, -0.01805829256772995, -0.006767789367586374, -0.02456635609269142, 0.035386573523283005, -0.0010191125329583883, -0.003110419260337949, 0.06717630475759506, -0.003446972230449319, -0.01784021221101284, 0.011711004190146923, 0.026035936549305916, 0.008347192779183388, 0.022971954196691513, -0.05375417321920395, 0.011276847682893276, -0.03864625468850136, -0.02479611150920391, -0.01852380484342575, -0.0005003115511499345, -0.016357777640223503, -0.02768869884312153, 0.008836156688630581, 0.01305638998746872, -0.04950989782810211, -0.021878307685256004, -0.027040034532546997, 0.017137126997113228, 0.07634072005748749, -0.01697361283004284, 0.026654060930013657, -0.021258370950818062, -0.012866277247667313, 0.025702157989144325, -0.0005920117837376893, -0.034650735557079315, 0.027265263721346855, 0.007167218253016472, -0.010806201957166195, 0.016238413751125336, -0.0004370304523035884, 0.04775021970272064, 0.004929212853312492, -0.007435846608132124, -0.03649800270795822, 0.024016227573156357, 0.009194769896566868, 0.04525046795606613, 0.02903444878757, -0.012009914964437485, -0.0046227737329900265, -0.033425211906433105, -0.027273548766970634, -0.030289936810731888, -0.01395538728684187, -0.00977824442088604, 0.03333697468042374, -0.050210099667310715, -0.07418941706418991, 0.02705908752977848, -0.002029798924922943, 0.04014001786708832, 0.023375041782855988, -0.011751907877624035, 0.0026328470557928085, -0.033861178904771805, 0.02961420826613903, 0.04480459913611412, -0.04745481163263321, 0.009680978022515774, -0.0009524482302367687, 0.011236635968089104, 0.008967652916908264, -0.004353909753262997, -0.028358887881040573, -0.015751639381051064, -0.010560911148786545, 0.005291940178722143, -0.07924720644950867, -0.028896987438201904, -0.03078112006187439, 0.02284398302435875, 0.004528087563812733, 0.007278235629200935, -0.024747760966420174, -0.01595427468419075, -0.011773748323321342, -0.013478490523993969, -0.0023087942972779274, -0.04426301270723343, 0.0035108220763504505, 0.03271779417991638, -0.03915214538574219, 0.0053113363683223724, -0.009309536777436733, 0.03261185809969902, 0.03465007618069649, 0.0021649780683219433, -0.01311520952731371, -0.027474071830511093, 0.010165260173380375, 0.015042823739349842, 0.04603962600231171, 0.017404679208993912, -0.010629089549183846, -0.04860919341444969, 0.002720202784985304, -0.03148933872580528, 0.01806655153632164, -0.00848209485411644, -0.036849942058324814, 0.04324192926287651, 0.044342655688524246, 0.024298768490552902, 0.028587576001882553, -0.0017163017764687538, -0.007546300999820232, 0.04264625534415245, -0.04359748959541321, -0.04521599039435387, -0.028122510761022568, -0.05677935108542442, 0.03730350732803345, 0.008891969919204712, 0.022964218631386757, -0.031274087727069855, 0.025834202766418457, 0.016763318330049515, 0.03647436201572418, 0.0446661114692688, 0.01900215819478035, 0.03158406913280487, -0.06314948946237564, -0.006170629058033228, -0.0926494374871254, -0.0032668618950992823, -0.004814765881747007, 0.008751091547310352, -0.021170444786548615, -0.019931310787796974, -0.04347262904047966, 0.04027838259935379, -0.09093591570854187, 0.0031342299189418554, 0.0529654286801815, 0.008096065372228622, -0.011853493750095367, 0.017799248918890953, -0.0622372180223465, 0.029256222769618034, 0.008732715621590614, -0.039526376873254776, -0.01391538605093956, -0.034299395978450775, 0.05837439000606537, 0.014657333493232727, 0.0007690700003877282, -0.011596857570111752, 0.04765575751662254, 0.07754126936197281, 0.011185303330421448, 0.02050148881971836, 0.048950254917144775, -0.0042272149585187435, 0.03356725722551346, 0.03725827857851982, 0.03240903094410896, -0.02690330147743225, 0.010859177447855473, -0.015930548310279846, -0.05107582360506058, 0.04559037461876869, 0.012451540678739548, -0.03617863729596138, -0.039434127509593964, 0.05653847008943558, -0.0017046007560566068, -0.03414823114871979, -0.0678083598613739, 0.020459609106183052, -0.06417494267225266, -0.0041721900925040245, -0.02781648561358452, -0.005239012185484171, -0.05937851965427399, 0.05539698898792267, -0.0044696638360619545, -0.00026424956740811467, 0.053751785308122635, -0.013528125360608101, -0.0168466754257679, -0.017396725714206696, 0.09846635907888412, 0.052401602268218994, 0.08111009001731873, 0.02476046420633793, 0.0764954462647438, -0.028366029262542725, -0.035322293639183044, 0.010453636758029461, -0.018463250249624252, 0.012521481141448021, -0.01904728263616562, 0.03483722358942032, 0.04917417839169502, -0.008731386624276638, 0.048329032957553864, -0.012131951749324799, -0.01893298141658306, 0.008900479413568974, 0.049531299620866776, 0.004827772732824087, 0.05333708971738815, 0.01325139682739973, 0.0036326402332633734, -0.009713671170175076, -0.059161800891160965, 0.02765537053346634, -0.03314424678683281, -0.022867076098918915, 0.020662644878029823, -0.027677996084094048, 0.006970606744289398, 0.013443246483802795, 0.02983452007174492, 0.06627288460731506, -0.025755345821380615, -0.008946687914431095, 0.011095769703388214, 0.04169377684593201, -0.00028424159972928464, 0.009235565550625324, -0.021221032366156578, -0.0002812942548189312, -0.009797477163374424, -0.025272231549024582, -0.019887041300535202, -0.014707469381392002, -0.013134369626641273, 0.04586712643504143, -0.026016967371106148, 0.02217823639512062, 0.02565792389214039, 0.0140654556453228, -0.020572233945131302, -0.05536982789635658, -0.03902696818113327, -0.018754664808511734, -0.05063319206237793, 0.016881445422768593, 0.056190721690654755, -0.04004751890897751, -0.017419656738638878, -0.020861225202679634, -0.005630488507449627, -0.017648588865995407, 0.030856933444738388, -0.05940547212958336, -0.028498459607362747, 0.0038909162394702435, 0.03789730742573738, 0.05070241540670395, -0.0059581417590379715, 0.04747579246759415, -0.0007917205221019685, -0.01977934129536152, -0.016521403566002846, -0.0002931799681391567, 0.015333937481045723, 0.00016193458577618003, 0.02967923879623413, -0.10217975080013275, 0.015905708074569702, 0.04317629709839821, -0.01464918814599514, -0.05118172615766525, 0.007699680980294943, 0.02018488571047783, 0.01107379887253046, 0.0609852559864521, -0.006098083220422268, 0.008284242823719978, -0.021362829953432083, -0.008110955357551575, 0.001180517254397273, 0.044827815145254135, 0.05561070144176483, -0.053258590400218964, 0.09200773388147354, 0.0018449287163093686, 0.001379123074002564, -0.03830336406826973, -0.014062488451600075, 0.0015070594381541014, 0.007459459360688925, -0.012142536230385303, -0.01801411621272564, -0.011121385730803013, -0.07937990128993988, -0.05374635383486748, 0.0201601330190897, -0.034486472606658936, -0.03825674206018448, 0.02002166211605072, 0.02072751708328724, -0.0019507420947775245, 0.032879460602998734, -0.031033849343657494, 0.026626788079738617, -0.03753504157066345, -0.014482979662716389, 0.020259210839867592, 0.005072459112852812, -0.011506804265081882, 0.011633540503680706, 0.00810838770121336, -0.049800556153059006, -0.03346319496631622, -0.006113842595368624, 0.03940104693174362, 0.05791131407022476, -0.010936418548226357, 0.00381513312458992 ]
[ -0.0649077445268631, -0.012578798457980156, -0.0031169133726507425, -0.045383233577013016, 0.03577454388141632, -0.05150032043457031, 0.022884193807840347, 0.040371399372816086, -0.01360352523624897, -0.031110329553484917, -0.005192370619624853, -0.029512714594602585, -0.022633496671915054, -0.014397631399333477, 0.07658368349075317, -0.02150815539062023, -0.028663385659456253, -0.04998527839779854, 0.015910323709249496, 0.025624364614486694, 0.020023474469780922, -0.008989750407636166, -0.05838659778237343, -0.013242277316749096, 0.04330690950155258, 0.03284340351819992, 0.04143766313791275, -0.03903062641620636, 0.0187083687633276, -0.14071603119373322, 0.020906690508127213, 0.0018283060053363442, 0.017549002543091774, -0.004317580722272396, -0.015287321992218494, 0.053569942712783813, 0.03887685760855675, 0.04113228619098663, -0.012173322960734367, 0.03161214292049408, 0.005999402608722448, 0.002933359006419778, -0.05995405465364456, -0.03183257579803467, 0.03555012494325638, 0.024884367361664772, 0.008725852705538273, -0.08595295995473862, -0.01181358564645052, -0.01190375816076994, -0.06660158932209015, -0.045748014003038406, -0.041341185569763184, -0.02905990369617939, -0.04536295309662819, 0.02379661425948143, 0.03246641159057617, 0.047723278403282166, 0.024264216423034668, 0.02263246849179268, 0.003315507434308529, -0.0015581496991217136, -0.1702364683151245, 0.11439248919487, 0.03390689566731453, 0.06976085901260376, -0.03291261941194534, 0.00744215864688158, -0.0035887579433619976, 0.07147171348333359, 0.006293527316302061, -0.04970388486981392, -0.004231737926602364, 0.06463490426540375, 0.008370406925678253, 0.006370419170707464, 0.0010647291783243418, 0.017337616533041, 0.038005031645298004, -0.06523243337869644, -0.011287781409919262, 0.013402938842773438, 0.020915437489748, -0.019030863419175148, -0.01561201736330986, 0.006816324312239885, -0.012768648564815521, 0.009577210061252117, 0.04582410678267479, 0.0150330550968647, 0.03886707127094269, -0.021204067394137383, -0.025059908628463745, 0.02331852726638317, -0.046040646731853485, -0.06462988257408142, -0.019021354615688324, 0.035504065454006195, -0.06025712937116623, 0.3956192433834076, -0.0557045117020607, -0.013660662807524204, 0.09939920157194138, 0.030630765482783318, -0.012628892436623573, 0.007158128544688225, 0.0368301160633564, -0.06311416625976562, 0.01605246774852276, -0.01377443503588438, 0.01201856229454279, -0.007631107233464718, 0.046093545854091644, -0.03208813816308975, -0.005191128700971603, 0.030736930668354034, 0.044962164014577866, -0.01106081809848547, -0.002093591960147023, -0.016856297850608826, -0.014606690034270287, 0.026939459145069122, 0.015893924981355667, -0.01789204403758049, -0.00928905326873064, -0.08469170331954956, 0.021404722705483437, 0.052614543586969376, 0.025708002969622612, -0.004943850450217724, 0.04586252197623253, -0.07665126025676727, -0.06113995239138603, 0.007220539264380932, -0.00252458150498569, 0.017777519300580025, 0.04747221618890762, -0.00866352766752243, 0.01719161495566368, 0.03802226856350899, 0.019625982269644737, -0.024950290098786354, -0.01095737237483263, -0.014461781829595566, -0.0496521033346653, 0.12709975242614746, 0.01739949733018875, -0.0012671571457758546, -0.0046439822763204575, 0.0031611938029527664, 0.006751560140401125, 0.049044396728277206, -0.026436999440193176, -0.0357217863202095, 0.039054106920957565, 0.013392802327871323, 0.12156468629837036, 0.0061443462036550045, -0.04189988970756531, -0.030867967754602432, -0.018574319779872894, -0.037270497530698776, -0.0387985035777092, 0.015541988424956799, 0.10171223431825638, -0.04528193920850754, -0.0042934659868478775, -0.007242551073431969, 0.02808198891580105, -0.09919910877943039, 0.01932302489876747, 0.046950507909059525, -0.02786838635802269, 0.0047767627984285355, 0.07662463188171387, -0.03796513378620148, -0.029103441163897514, -0.003659722162410617, 0.04483157768845558, 0.01984274573624134, 0.05285165458917618, -0.009735994040966034, -0.015945982187986374, 0.02273266389966011, -0.014588652178645134, -0.0417841300368309, -0.019051041454076767, -0.03970180079340935, 0.004160120151937008, -0.0038446912076324224, 0.006699525285512209, -0.005183862522244453, -0.09453808516263962, 0.05761171132326126, -0.045175496488809586, -0.004239003639668226, 0.03794798627495766, -0.048917144536972046, -0.04140215739607811, 0.014795461669564247, -0.08780120313167572, 0.025859873741865158, -0.049203455448150635, 0.0433678962290287, -0.05290864035487175, 0.07446673512458801, 0.09549328684806824, -0.03293199464678764, 0.09867481142282486, 0.026591498404741287, -0.023245250806212425, -0.056515827775001526, -0.014000419527292252, -0.0023071374744176865, -0.01881144754588604, -0.01694342866539955, 0.02858188934624195, 0.03181574121117592, 0.005173198878765106, -0.012331699952483177, -0.0026522139087319374, -0.030621349811553955, -0.017365558072924614, -0.34019091725349426, -0.03317480534315109, 0.001333060092292726, -0.008856291882693768, 0.03615106642246246, -0.0215101670473814, 0.024345465004444122, -0.02530338056385517, -0.0314885713160038, -0.0036723921075463295, 0.05554530397057533, -0.0018486379412934184, 0.031630225479602814, -0.09722203761339188, 0.010514861904084682, 0.0028080197516828775, -0.033875320106744766, -0.024557216092944145, -0.02334415167570114, -0.016002671793103218, -0.009589824825525284, 0.008307447656989098, -0.013315427117049694, -0.054445844143629074, -0.008343609049916267, -0.04532657936215401, 0.09814046323299408, 0.030374784022569656, 0.082932248711586, -0.021630750969052315, 0.04166668653488159, -0.0025450228713452816, 0.025844711810350418, -0.10602232068777084, 0.004443707875907421, -0.025995656847953796, -0.03859936445951462, -0.04039651155471802, 0.041521139442920685, -0.0778476744890213, -0.011476369574666023, 0.041247859597206116, -0.06304821372032166, -0.019948305562138557, -0.10345012694597244, 0.022995902225375175, -0.01608744077384472, -0.008976736105978489, -0.02428370714187622, 0.08149457722902298, 0.012453067116439342, -0.01732308231294155, -0.0034711023326963186, -0.0006476531852968037, -0.042472898960113525, -0.002387921791523695, -0.09949374943971634, 0.03110952116549015, -0.010500768199563026, 0.011694842018187046, 0.0042838710360229015, 0.08628757297992706, 0.019006235525012016, -0.06625224649906158, -0.031152818351984024, 0.013757369481027126, 0.01520801242440939, 0.0030028480105102062, 0.01091773621737957, -0.0025759406853467226, -0.01123024057596922, 0.11667564511299133, 0.008005321957170963, -0.032242365181446075, 0.007717211730778217, 0.05202995240688324, 0.014910392463207245, 0.05445992946624756, 0.010684562847018242, 0.008519750088453293, 0.023659436032176018, -0.023700641468167305, -0.013418614864349365, -0.03919123858213425, 0.011867936700582504, -0.003230729606002569, -0.017495257779955864, -0.04326441138982773, 0.062420155853033066, -0.0036402870900928974, -0.03605102375149727, 0.04845363646745682, -0.006757769733667374, -0.04043955355882645, 0.040472812950611115, 0.008882350288331509, -0.2352191060781479, 0.01648814231157303, 0.07249584048986435, 0.06581329554319382, -0.007672823499888182, 0.03812858834862709, 0.017852917313575745, -0.02864939533174038, -0.004486218560487032, -0.0017756529850885272, 0.04176207259297371, -0.01173466257750988, -0.02425622008740902, 0.005530009511858225, 0.0014623822644352913, -0.008088678121566772, 0.07100623846054077, -0.027456481009721756, 0.0251021608710289, -0.012215645052492619, 0.008869313634932041, -0.001623096177354455, 0.13833846151828766, 0.011905534192919731, 0.04246063530445099, -0.04985257238149643, -0.011494464240968227, 0.014442232437431812, 0.09119542688131332, -0.018821682780981064, 0.032303038984537125, -0.010983532294631004, 0.03578750416636467, 0.009089293889701366, 0.01829213835299015, -0.06433086097240448, -0.030426161363720894, 0.015219500288367271, 0.04221026971936226, 0.006632303819060326, 0.025528527796268463, -0.01658446341753006, -0.0825832188129425, 0.009395155124366283, 0.07482898235321045, 0.020337462425231934, 0.018143929541110992, -0.05994980037212372, -0.05515793710947037, -0.022052587941288948, 0.015314101241528988, -0.02601647935807705, 0.007981406524777412, 0.021654104813933372, 0.0009367241291329265, 0.08402451127767563, 0.012414718046784401, -0.03250596299767494, -0.011956831440329552, -0.006874735001474619, -0.027531055733561516, 0.011116843670606613, 0.11881478875875473, 0.05653485283255577, 0.036167290061712265 ]
[ -0.007532809861004353, 0.004211085382848978, 0.021891219541430473, 0.004540345631539822, -0.011092234402894974, 0.010009102523326874, 0.01360651571303606, -0.010704361833631992, 0.010103435255587101, -0.0013505987590178847, 0.011709767393767834, 0.03812878951430321, 0.018687846139073372, 0.005697275046259165, 0.025969235226511955, -0.01331814844161272, 0.028975285589694977, -0.010739329271018505, 0.036752212792634964, 0.023326415568590164, -0.011899517849087715, 0.001097276690416038, -0.01360118668526411, -0.005212720017880201, -0.014304663985967636, 0.031360313296318054, 0.0036904094740748405, -0.04422309622168541, 0.02781393751502037, -0.1549566090106964, -0.035875916481018066, -0.033622827380895615, -0.03840000182390213, 0.029516613110899925, -0.00014657576684840024, -0.005779428873211145, -0.0053395056165754795, 0.02749711275100708, -0.008909456431865692, -0.00957826990634203, -0.01977737806737423, -0.003743150969967246, 0.007783173583447933, 0.01653219200670719, 0.002521310932934284, 0.003868532134220004, -0.015966324135661125, -0.05475299060344696, -0.014293504878878593, -0.018291106447577477, -0.05288057401776314, -0.025906957685947418, -0.037160005420446396, 0.0010508904233574867, 0.013282513245940208, -0.0014826233964413404, 0.015755515545606613, -0.01585162803530693, 0.010186966508626938, -0.00914298091083765, -0.03571680933237076, -0.016480926424264908, -0.04360704869031906, -0.017777077853679657, 0.010445102117955685, -0.015047144144773483, -0.0243388619273901, 0.024645518511533737, -0.020585346966981888, 0.023468663915991783, -0.006384538020938635, 0.012220735661685467, 0.0022922572679817677, -0.011177957989275455, 0.03698507696390152, -0.0052749658934772015, -0.004946409724652767, -0.016849875450134277, -0.00016690645134076476, -0.015315977856516838, -0.008634786121547222, 0.04367220029234886, 0.022188687697052956, 0.00450730649754405, -0.0012471991358324885, -0.014962578192353249, 0.017579521983861923, -0.0003506260982248932, 0.024120952934026718, -0.010781142860651016, 0.004680245649069548, 0.032895635813474655, -0.031792592257261276, 0.0272216796875, -0.07847394794225693, -0.022041015326976776, -0.012544683180749416, -0.01779932714998722, 0.003147116396576166, 0.8655956983566284, -0.027199288830161095, 0.03142068535089493, 0.03282143175601959, -0.004632773343473673, -0.002434663474559784, -0.016125600785017014, 0.006876795087009668, -0.015547653660178185, 0.022105325013399124, -0.032278142869472504, 0.016296325251460075, 0.002966982312500477, 0.00014607334742322564, 0.011130535043776035, 0.011861763894557953, 0.008162058889865875, 0.012244039215147495, -0.009217290207743645, -0.03415558487176895, 0.0002624437620397657, 0.022587358951568604, 0.029483413323760033, 0.02156301587820053, 0.004215974360704422, -0.03931434825062752, -0.2033422738313675, -0.00827830284833908, -8.741013461596962e-33, 0.050064265727996826, 0.007772112265229225, -0.011729941703379154, -0.001855348004028201, -0.00481586204841733, -0.010577782988548279, 0.03352334722876549, 0.03622366487979889, 0.010519159957766533, -0.015070553869009018, -0.005426573101431131, -0.007652460131794214, -0.000599827675614506, 0.004192932974547148, 0.02442861534655094, 0.001986674964427948, -0.006070706527680159, 0.03932932764291763, -0.01913462206721306, 0.040351107716560364, 0.02822546660900116, 0.013225104659795761, 0.015600406564772129, -0.02336231991648674, 0.006067649926990271, 0.03112613968551159, 0.030641615390777588, 0.024072596803307533, 0.01211351528763771, -0.035051386803388596, 0.014996975660324097, 0.010278620757162571, -0.012803513556718826, -0.029310496523976326, 0.024072276428341866, -0.050245169550180435, -0.048794936388731, 0.013404984027147293, 0.011296046897768974, -0.03626897931098938, -0.02914579026401043, -0.012326080352067947, -0.02801600843667984, -0.01328216027468443, -0.009988376870751381, -0.0022748401388525963, 0.03409954160451889, 0.0033018416725099087, -0.0011179842986166477, -0.01352247316390276, 0.006807438563555479, -0.01630208268761635, -0.020085882395505905, 0.020009245723485947, 0.011620093137025833, -0.010107690468430519, 0.00665225088596344, 0.013619041070342064, 0.010575642809271812, 0.004894582089036703, 0.020358091220259666, 0.005439038388431072, -0.026116883382201195, 0.026814326643943787, -0.024947350844740868, -0.02040061168372631, -0.012396817095577717, 0.018875544890761375, 0.022807862609624863, -0.033160604536533356, -0.0556076280772686, 0.01802729442715645, -0.007527368608862162, -0.005069108679890633, -0.0012025473406538367, -0.005283874459564686, -0.007223775144666433, 0.003023711033165455, -0.01648920588195324, 0.03938872367143631, -0.0026185677852481604, -0.02572258934378624, 0.0007112566963769495, -0.06775975972414017, 0.005226321518421173, 0.0015338262310251594, 0.029865296557545662, -0.01891203597187996, -0.0023036974016577005, 0.020552827045321465, 0.04011751711368561, 0.0007664188742637634, -0.019780125468969345, 0.017718393355607986, -0.01309589110314846, 8.06090916440965e-33, 0.03413834422826767, -0.004682733677327633, -0.031825363636016846, -0.00336756301112473, 0.029596464708447456, -0.01446460746228695, 0.006330972071737051, 0.014010761864483356, -0.057870857417583466, 0.022864744067192078, -0.01617119461297989, -0.001965348143130541, -0.043478623032569885, 0.016734709963202477, 0.03280389681458473, -0.014766731299459934, 0.003998098894953728, -0.00012550459359772503, 0.00824793055653572, -0.020075049251317978, 0.01586073823273182, 0.0021894811652600765, 0.007885920815169811, 0.005738784093409777, 0.012254472821950912, 0.047656163573265076, -0.00767602538689971, 0.015563750639557838, 0.006693581119179726, 0.027312248945236206, 0.00236124568618834, -0.009257598780095577, 0.02177170291543007, -0.011191397905349731, -0.032654475420713425, 0.029721152037382126, -0.01582074724137783, -0.02813192829489708, -0.016155321151018143, -0.006654465105384588, 0.024723440408706665, 0.011740855872631073, -0.0063433279283344746, -0.0008940594852901995, 0.024525053799152374, -0.004278122913092375, 0.004202751442790031, -0.005358328577131033, 0.019366730004549026, 0.019035950303077698, -0.0032975212670862675, -0.00673290528357029, 0.0301645640283823, -0.022723093628883362, 0.0122514134272933, -0.021815914660692215, -0.0005022877594456077, -0.009545224718749523, 0.00033256475580856204, 0.016724711284041405, -0.003684638999402523, -0.0287907887250185, 0.0007060617208480835, -0.0067571839317679405, -0.03332968056201935, 0.014840767718851566, 0.0015402589924633503, 0.0031065705697983503, 0.0017210867954418063, 0.021791253238916397, -0.012625543400645256, 0.021318217739462852, -0.0023445207625627518, 0.004610088188201189, 0.03188647702336311, -0.020618323236703873, -0.006363142281770706, 0.0273409653455019, -0.04333728924393654, 0.01900419592857361, 0.00941330287605524, -0.010166495107114315, 0.026333414018154144, 0.020071204751729965, -0.0035401673521846533, 0.030744055286049843, -0.018573209643363953, 0.017641792073845863, -0.01272520236670971, -0.02439398504793644, -0.01283958274871111, -0.01568448729813099, 0.005763405468314886, 0.018252484500408173, -0.001194446929730475, -1.3911843232961019e-8, -0.029145296663045883, 0.02501569502055645, -0.02672455832362175, -0.008895221166312695, 0.02105400525033474, -0.0029506199061870575, -0.011942572891712189, 0.01543105486780405, -0.025515424087643623, 0.02166452258825302, 0.04635721445083618, -0.0333406999707222, -0.007802857086062431, -0.0013820140156894922, 0.036802683025598526, -0.021207647398114204, -0.028048355132341385, -0.020213758572936058, 0.0378837026655674, 0.0050679706037044525, 0.053423792123794556, 0.021684899926185608, 0.008208543062210083, 0.053098879754543304, -0.015139593742787838, -0.013077551499009132, -0.019101759418845177, -0.053188201040029526, -0.03046499378979206, 0.007404569070786238, 0.0024427028838545084, -0.04064594954252243, -0.006250273436307907, 0.018862850964069366, -0.004827022086828947, -0.022572394460439682, 0.0242242980748415, 0.01049268338829279, 0.03292349353432655, 0.01624985970556736, -0.004623612388968468, -0.0166019257158041, 0.010742983780801296, -0.03271748870611191, -0.013302948325872421, 0.03797577694058418, -0.033157829195261, -0.020176386460661888, -0.001965260598808527, -0.004977884236723185, -0.017652668058872223, -0.027598176151514053, 0.00498666288331151, 0.029898706823587418, 0.024523336440324783, 0.004370328038930893, 0.008685879409313202, -0.03547831252217293, -0.039298467338085175, -0.008450734429061413, 0.030903249979019165, 0.0345146469771862, -0.0175325907766819, -0.005824627820402384 ]
learning-thoughts-on-doing-so-more-effectively
https://markhneedham.com/blog/2009/08/24/learning-thoughts-on-doing-so-more-effectively
false
2009-08-15 10:53:49
Builders hanging off class vs Builders in same namespace
[ "coding", "communication" ]
[ "Coding", "Communication" ]
I wrote a couple of months ago about an approach we're using to help people find http://www.natpryce.com/articles/000714.html[test data builders] in our code base by http://www.markhneedham.com/blog/2009/06/02/coding-putting-code-where-people-can-find-it/[hanging those builders off a class called 'GetBuilderFor'] and I think it's worked reasonably well. However, a couple of weeks ago my colleague http://luning12.blogbus.com/[Lu Ning] suggested another way to achieve our goal of allowing people to find the builders easily. The approach he suggested is to put all of the builders in the same namespace, for example 'Builders', so that if someone wants to find out if a builder already exists they can just type 'Builders.' into the editor and then it will come up with a list of all the builders that exist. The benefit of this approach is that it means we can make use of the http://www.markhneedham.com/blog/2009/02/16/c-object-initializer-and-the-horse-shoe/[object initializer] to setup test data - perhaps one of the few occasions when it seems to be reasonably useful. Lu Ning http://luning12.blogbus.com/logs/36477752.html[explains in more detail on his blog] but the idea is that instead of: [source,csharp] ---- new FooBuilder().Bar("hello").Build(); ---- We could do this: [source,csharp] ---- new FooBuilder { Bar = "hello" }.Build(); ---- The second approach requires less code since we can just create all public fields and setup a default value for each of them in the class definition and then override the values later if we want to as shown above. We can't do this with the 'GetBuilderFor' approach since you can only make use of object initializer when you are initialising an object (as the name might suggest!). Another advantage of this approach is that we don't have to write the boiler plate code to add each builder onto the 'GetBuilderFor' class so that others can find it. The disadvantage is that once we type 'Builders.' to find the list of builders we then need to delete that text and type in 'new FooBuilder()...' which means the flow of creating test data isn't as smooth as with the 'GetBuilderFor' approach. I don't feel like there is a really big difference between these approaches and as long as people can find code that's the main thing. There would probably be less typing required with the namespace approach although I've never really felt that typing is the bottleneck in software development projects so it would be interesting to see if this would give us a gain or not. We are still using the 'GetBuilderFor' approach on our project since there probably wouldn't be a massive gain by switching to the other approach at this stage. It does seem like an interesting alternative to solving the same problem though.
null
null
[ 0.030805841088294983, -0.010009591467678547, 0.0013240580447018147, 0.034793589264154434, 0.09268888831138611, 0.023587986826896667, 0.020499199628829956, 0.028815967962145805, -0.0033829722087830305, -0.018847670406103134, -0.011983565054833889, -0.015167647041380405, -0.07223628461360931, 0.012636750005185604, -0.02762739360332489, 0.06292887032032013, 0.06816960126161575, -0.008374739438295364, 0.03751717507839203, 0.008786228485405445, 0.018226921558380127, 0.05107158049941063, -0.009862298145890236, 0.03694684058427811, 0.024647993966937065, 0.03864077851176262, -0.0048832050524652, 0.001323790056630969, -0.056839268654584885, -0.010941309854388237, 0.018212687224149704, 0.027135008946061134, 0.011837156489491463, -0.02433915063738823, 0.014029468409717083, -0.03429153561592102, -0.02126440592110157, -0.0028130370192229748, 0.005023397039622068, 0.021738853305578232, -0.08242388069629669, 0.03925151377916336, 0.007540668360888958, 0.01652081310749054, -0.051860302686691284, 0.013151930645108223, -0.045233067125082016, 0.00016694507212378085, -0.024407096207141876, -0.0273904949426651, -0.06308846920728683, 0.03007071278989315, -0.026505211368203163, -0.00386186596006155, 0.0041847373358905315, 0.03877031058073044, 0.04384416714310646, -0.08067575097084045, 0.03627832606434822, -0.048984594643116, 0.011981209740042686, -0.0019138086354359984, 0.015570353716611862, 0.03584334999322891, 0.018001914024353027, -0.00696922093629837, -0.02499387226998806, 0.03304281085729599, -0.041243668645620346, -0.023990033194422722, -0.01797942817211151, -0.0031831928063184023, -0.01037554256618023, -0.023470234125852585, 0.006604219786822796, -0.04174644127488136, -0.009518472477793694, 0.05886155739426613, 0.020918108522892, 0.044563379138708115, -0.0208155307918787, -0.0054245879873633385, 0.01224476471543312, 0.01174603495746851, 0.009645638056099415, -0.03318510577082634, -0.010929984971880913, 0.007902141660451889, -0.040952928364276886, 0.05781546235084534, 0.01896614395081997, -0.02872808463871479, 0.01083444245159626, 0.02711041085422039, 0.01325202826410532, 0.005822901614010334, 0.01624886505305767, -0.0029242192395031452, 0.010430297814309597, -0.008616362698376179, -0.026742447167634964, -0.004406200721859932, 0.009558947756886482, 0.010573836043477058, -0.06996738910675049, -0.0348355732858181, -0.04151191934943199, -0.010183286853134632, -0.005600047297775745, 0.010705878958106041, -0.04192746430635452, 0.03631172701716423, -0.034374725073575974, -0.017489440739154816, -0.08034101873636246, 0.042795393615961075, 0.0011787052499130368, -0.021611101925373077, -0.027012383565306664, 0.0347004234790802, 0.026134328916668892, 0.03430354222655296, -0.014271862804889679, 0.06822938472032547, -0.0006587548414245248, 0.03386491537094116, -0.020533759146928787, 0.07610401511192322, -0.003234507516026497, -0.06529736518859863, 0.0054091536439955235, 0.06703660637140274, -0.017869189381599426, 0.007211235351860523, 0.011193404905498028, -0.0172179713845253, 0.000006904437213961501, 0.002650390611961484, 0.03801026567816734, 0.03432945907115936, -0.021562442183494568, -0.06149623915553093, 0.04987959936261177, -0.0077323149889707565, 0.008343585766851902, 0.023686757311224937, -0.0033817444927990437, -0.020472388714551926, -0.01859460398554802, 0.043869588524103165, 0.0022525510285049677, 0.06752974539995193, 0.04276406392455101, -0.04229089617729187, 0.01717483624815941, 0.07979969680309296, 0.01824016682803631, 0.0013563059037551284, -0.000612821604590863, 0.03410585969686508, 0.02985157072544098, 0.026478074491024017, 0.024115823209285736, 0.018249623477458954, 0.009083718992769718, 0.0051978095434606075, 0.01645958237349987, 0.02128428965806961, 0.0026365485973656178, -0.020792458206415176, -0.06839141249656677, -0.05840851366519928, 0.050593290477991104, -0.046575527638196945, -0.003012946341186762, 0.009472936391830444, 0.08925092965364456, -0.0008324409136548638, 0.06592941284179688, -0.0035392793361097574, -0.0653892233967781, 0.009716255590319633, 0.010319335386157036, 0.0014351343270391226, 0.027825752273201942, -0.025085462257266045, 0.06569767743349075, 0.030714087188243866, -0.008483386598527431, 0.027764666825532913, -0.06071039289236069, -0.07058680802583694, -0.01416225079447031, -0.02471129782497883, 0.05696503445506096, -0.02786443568766117, -0.016020553186535835, 0.06259448826313019, 0.027467170730233192, 0.04854889214038849, 0.0379062257707119, 0.0018622190691530704, -0.005870535504072905, -0.03732459992170334, -0.05080447345972061, 0.0246098842471838, 0.036877136677503586, 0.002075213473290205, -0.050049684941768646, 0.005829296540468931, -0.012342538684606552, 0.004696669988334179, 0.053019773215055466, -0.006723745726048946, 0.04453891143202782, 0.01145350094884634, 0.0402679368853569, -0.014974385499954224, 0.062142446637153625, -0.05278538912534714, 0.0073598953895270824, -0.021825367584824562, -0.025446085259318352, 0.004121013451367617, 0.011322887614369392, 0.1306854635477066, 0.029696136713027954, -0.05553311109542847, -0.06856804341077805, 0.01888578198850155, 0.030287304893136024, -0.021645668894052505, 0.006572596728801727, -0.006448919419199228, 0.006006388459354639, 0.010972898453474045, -0.03338984027504921, -0.029542380943894386, 0.006295674480497837, -0.04052985832095146, 0.025789961218833923, 0.08110875636339188, -0.03605871647596359, 0.04327167570590973, -0.009925113059580326, -0.025702999904751778, -0.004801519680768251, -0.04718350991606712, -0.07564529776573181, 0.006637216545641422, 0.022910911589860916, -0.012282407842576504, 0.06876825541257858, -0.007217906415462494, -0.030954569578170776, -0.033898718655109406, -0.06615199148654938, 0.008885053917765617, 0.027438616380095482, 0.07431142032146454, 0.000215307401958853, 0.03256191313266754, -0.018159372732043266, 0.02285175211727619, -0.0010995088377967477, -0.05162375047802925, 0.00990909244865179, 0.0022544744424521923, 0.012982686050236225, 0.04185585305094719, -0.01751902885735035, 0.020433835685253143, 0.014235621318221092, 0.006056166719645262, -0.016550585627555847, -0.0002849561860784888, 0.03322087600827217, -0.007966234348714352, -0.026680665090680122, -0.04447109252214432, -0.056525252759456635, 0.03096194937825203, -0.033273279666900635, -0.02108011767268181, 0.021595923230051994, -0.07193195074796677, 0.03400690108537674, -0.08998323976993561, -0.06628604978322983, -0.005014697555452585, 0.01803521066904068, 0.017261069267988205, 0.018227308988571167, 0.038009364157915115, 0.08767728507518768, 0.018383696675300598, -0.009604603052139282, -0.002381355967372656, -0.015436309389770031, 0.02233411930501461, -0.014545808546245098, 0.024502050131559372, 0.030452532693743706, 0.006973396986722946, -0.0031615456100553274, -0.024384550750255585, 0.04088662564754486, -0.007063161116093397, -0.2773672044277191, 0.02199256233870983, -0.02190162055194378, -0.07133908569812775, 0.016283640637993813, -0.001686754054389894, 0.007443953771144152, -0.04003274440765381, -0.02742038667201996, 0.04578005149960518, -0.03528280928730965, -0.05643169954419136, -0.020311502739787102, 0.03364986553788185, 0.0012621876085177064, 0.030549360439181328, 0.027370532974600792, -0.013676355592906475, 0.008065146394073963, 0.040523551404476166, -0.003198816906660795, -0.06887432932853699, 0.02230960503220558, 0.036498330533504486, 0.04567958787083626, 0.047921158373355865, -0.08025691658258438, 0.06199496239423752, -0.04709694907069206, -0.005768471397459507, 0.004429612774401903, -0.0037621790543198586, -0.009099270217120647, -0.025281405076384544, -0.047293175011873245, -0.010395312681794167, 0.019271554425358772, 0.02811810001730919, 0.0035487038549035788, 0.012137137353420258, -0.03598916158080101, -0.04030181095004082, -0.024454521015286446, -0.006092777010053396, 0.06816669553518295, -0.011496499180793762, -0.08701841533184052, -0.0093147624284029, -0.05024716258049011, 0.06473387777805328, -0.03481220453977585, -0.05383624881505966, -0.003409630386158824, 0.04527813196182251, -0.00817898940294981, -0.03535238280892372, 0.0020977717358618975, -0.009671395644545555, -0.045314252376556396, -0.019227152690291405, -0.008377356454730034, -0.028913630172610283, 0.005641763098537922, -0.03983073681592941, 0.0028556869365274906, -0.07031778246164322, -0.060674913227558136, -0.018461527302861214, 0.07155107706785202, 0.03401504084467888, -0.02592075802385807, -0.0013294696109369397, 0.008549674414098263, -0.12164535373449326, 0.019683796912431717, -0.03125746548175812, -0.02157609909772873, -0.039477042853832245, -0.02029532380402088, 0.06472578644752502, -0.028424382209777832, -0.03370622918009758, 0.036188412457704544, 0.027853811159729958, -0.001403257716447115, 0.010675959289073944, 0.021421322599053383, 0.015347272157669067, -0.028594521805644035, 0.009414374828338623, 0.07153113931417465, -0.005787440575659275, -0.004440613556653261, -0.04886395111680031, 0.00502266688272357, 0.04122190549969673, 0.023678874596953392, -0.015704317018389702, 0.02353663183748722, 0.016792910173535347, 0.04238792136311531, -0.039703384041786194, 0.03829830884933472, -0.02747589349746704, 0.011938399635255337, -0.015315902419388294, -0.054930467158555984, 0.016292188316583633, 0.02936180867254734, 0.028087042272090912, -0.011279701255261898, -0.031667038798332214, -0.0031711608171463013, -0.04074268788099289, -0.037204399704933167, -0.010856869630515575, 0.01125316508114338, 0.020741187036037445, -0.013471524231135845, -0.009454763494431973, -0.05814340338110924, 0.023882143199443817, -0.0073523931205272675, 0.0009229985880665481, -0.06332740932703018, -0.04437597468495369, -0.007880786433815956, -0.012490342371165752, -0.006500659976154566, 0.016226690262556076, -0.02356550097465515, 0.03910476714372635, 0.006218246184289455, -0.04275808483362198, 0.005993145052343607, 0.0058901053853333, -0.032639436423778534, -0.05234649032354355, -0.02632281929254532, 0.01222294569015503, -0.019073953852057457, 0.00021490307699423283, 0.03391488641500473, 0.027377884835004807, 0.052898578345775604, 0.005751128774136305, 0.053953927010297775, 0.024711312726140022, 0.00877455621957779, 0.018461924046278, -0.0027311386074870825, -0.08321891725063324, 0.04776793718338013, -0.05600764602422714, -0.022608967497944832, -0.031503114849328995, 0.046532902866601944, -0.02538992278277874, -0.04942864924669266, -0.02599530667066574, 0.03779716044664383, -0.05113843455910683, -0.00959798227995634, -0.022380251437425613, 0.024177877232432365, 0.06127556040883064, -0.0001284580648643896, 0.040335919708013535, -0.04726005345582962, -0.007816379889845848, 0.022472964599728584, 0.020452702417969704, -0.067575603723526, 0.03234947845339775, 0.01989915408194065, -0.017178134992718697, -0.018128346651792526, 0.028006574138998985, 0.051130011677742004, 0.013898839242756367, -0.021285824477672577, -0.005030736327171326, 0.007519202772527933, -0.013568323105573654, 0.05661647394299507, 0.01820194721221924, 0.004675623495131731, 0.0003928747319150716, -0.012622278183698654, -0.004953377414494753, -0.02266613580286503, -0.006639558356255293, 0.00988550391048193, 0.045800164341926575, -0.02989259921014309, -0.08723079413175583, 0.040823522955179214, 0.0357651449739933, 0.014982374384999275, 0.016968583688139915, -0.011129218153655529, -0.02223348617553711, -0.03540254756808281, 0.033043645322322845, 0.06600437313318253, -0.04407152161002159, 0.013742797076702118, -0.020520644262433052, 0.019953522831201553, 0.051593661308288574, 0.030110187828540802, -0.04958208650350571, 0.0033444275613874197, -0.01232900284230709, 0.010834458284080029, -0.06174181401729584, -0.020477933809161186, -0.016158774495124817, 0.02647227980196476, -0.013368225656449795, -0.00233864295296371, -0.00881026592105627, 0.013538776896893978, -0.0073177870362997055, -0.03011196106672287, 0.013867627829313278, -0.039411500096321106, -0.012372588738799095, 0.01227465458214283, -0.04908277839422226, 0.028205379843711853, -0.030560152605175972, 0.010721893049776554, 0.020304536446928978, -0.010685007087886333, -0.01426316611468792, -0.04268516227602959, 0.01554557029157877, 0.004069565329700708, 0.0480886772274971, 0.016774730756878853, -0.014811025001108646, -0.03329221159219742, -0.0173100046813488, -0.031319547444581985, -0.002194237196817994, -0.029273953288793564, 0.00840800255537033, 0.017381172627210617, 0.048534542322158813, -0.0094216363504529, 0.02199520729482174, -0.020768988877534866, -0.011759244836866856, 0.06414656341075897, -0.07421629875898361, -0.0413355715572834, -0.023068128153681755, -0.0713789165019989, 0.014123676344752312, 0.0289778932929039, 0.018720535561442375, -0.030344296246767044, 0.07114405184984207, 0.03230005502700806, 0.011219974607229233, 0.019076796248555183, 0.006451941095292568, 0.034184761345386505, -0.05134354159235954, -0.007065685000270605, -0.06556373834609985, 0.017721345648169518, 0.058363452553749084, 0.03269273042678833, -0.0004323365574236959, -0.018025755882263184, -0.03369024023413658, 0.05105152353644371, -0.05272671952843666, -0.04594136029481888, 0.03814435005187988, 0.006876146420836449, 0.001621787785552442, -0.014311015605926514, -0.04394743591547012, 0.013070751912891865, 0.019174812361598015, -0.033399540930986404, -0.03194449096918106, -0.05614703521132469, 0.04738931730389595, -0.0018485182663425803, 0.008471990935504436, -0.02988230250775814, -0.003336959518492222, 0.06022236868739128, 0.007485714741051197, 0.04141693934798241, 0.02347142994403839, -0.02362980507314205, 0.0464041605591774, 0.04259093105792999, -0.03761854022741318, 0.0015164592768996954, -0.007924729958176613, 0.008308140560984612, -0.0545911081135273, 0.011101103387773037, 0.023274751380085945, -0.05471263825893402, -0.041948188096284866, 0.0686340257525444, 0.01917926035821438, -0.03177199885249138, -0.04341793805360794, 0.012665605172514915, -0.021339930593967438, -0.021304255351424217, -0.02079509012401104, 0.008925299160182476, -0.03301263973116875, 0.053646184504032135, 0.004325678572058678, -0.010108807124197483, 0.06135624647140503, 0.0041314782574772835, -0.012384211644530296, -0.02453850768506527, 0.0864558145403862, 0.07761602848768234, 0.03058810718357563, -0.0036649995017796755, 0.06326358020305634, -0.02363422140479088, -0.05516541749238968, 0.02500464953482151, -0.02197287604212761, -0.011023830622434616, -0.02565866895020008, 0.012141223065555096, 0.06377061456441879, -0.002225963631644845, 0.051963966339826584, -0.03737147897481918, 0.001090046833269298, 0.002052656374871731, 0.05149483308196068, 0.013055362738668919, 0.04811893403530121, 0.006642032414674759, 0.008604167029261589, -0.008483847603201866, -0.05214926600456238, 0.0030120115261524916, -0.02985222265124321, -0.019328009337186813, 0.03355935588479042, 0.005775512661784887, 0.005508949980139732, 0.008264867588877678, 0.030281350016593933, 0.0859215036034584, -0.045915648341178894, -0.015677087008953094, -0.011080211959779263, 0.0172785185277462, 0.0258486308157444, -0.027771595865488052, -0.013776431791484356, -0.019589977338910103, -0.010511127300560474, -0.008742600679397583, -0.010622487403452396, -0.03410520777106285, -0.006846344564110041, 0.04414182901382446, -0.017183024436235428, 0.0013339706929400563, -0.006323849782347679, 0.007691761013120413, -0.024251004680991173, -0.05269308760762215, -0.04076060652732849, -0.030995899811387062, -0.0745893120765686, -0.0111974086612463, 0.007839730940759182, -0.009975978173315525, -0.012143627740442753, -0.039997201412916183, -0.018011437729001045, -0.027173202484846115, 0.0508965402841568, -0.04950718954205513, -0.026146098971366882, 0.0250796377658844, 0.021758170798420906, 0.047566790133714676, 0.04220486059784889, 0.04890832304954529, 0.011539739556610584, -0.007460463792085648, -0.027141360566020012, 0.00933416560292244, 0.015850452706217766, 0.003958806861191988, 0.012929100543260574, -0.09041536599397659, 0.028280040249228477, 0.02265087142586708, 0.000004628364877135027, -0.06742893159389496, 0.009721329435706139, 0.02132461965084076, -0.004602767992764711, 0.05828863009810448, -0.021597711369395256, -0.0012245470425114036, -0.013568413443863392, -0.0071869040839374065, 0.021307257935404778, 0.006167297717183828, 0.046146146953105927, -0.029851587489247322, 0.07766232639551163, 0.03253864496946335, -0.04840816929936409, -0.014542587101459503, -0.01909901201725006, -0.014183662831783295, 0.003233383409678936, -0.0338132381439209, -0.02806086279451847, -0.034783970564603806, -0.07297918945550919, -0.001975666731595993, 0.01844869740307331, -0.018456989899277687, -0.03141453489661217, 0.023734621703624725, 0.05253159627318382, -0.051086049526929855, 0.02625812403857708, -0.04009828716516495, 0.030612435191869736, -0.011851144954562187, -0.0076152002438902855, -0.005929328966885805, 0.023531857877969742, 0.007839830592274666, 0.015617894008755684, -0.010291234590113163, -0.01953926868736744, -0.009506835602223873, -0.02236194908618927, 0.05810657888650894, 0.03933882340788841, 0.011509263888001442, 0.0097176069393754 ]
[ -0.07300425320863724, 0.014978415332734585, -0.04598132148385048, -0.027558699250221252, 0.04804446920752525, -0.03996533527970314, -0.018830055370926857, 0.010109971277415752, 0.006817508488893509, -0.018474316224455833, 0.016771605238318443, -0.05466921627521515, -0.02056753635406494, -0.02982301637530327, 0.07284490019083023, 0.018560944125056267, -0.03533903509378433, -0.030971741303801537, 0.007064030040055513, 0.01744772680103779, -0.01669708825647831, -0.029400570318102837, -0.02955813519656658, -0.041129156947135925, 0.011966906487941742, 0.021994441747665405, 0.025477329269051552, -0.018348556011915207, 0.010796810500323772, -0.20612822473049164, 0.005214500240981579, 0.0011271837865933776, 0.06403954327106476, -0.014088639989495277, 0.01729995757341385, 0.03665982559323311, 0.044251371175050735, 0.04952199384570122, 0.0008926516748033464, 0.036253269761800766, 0.013917467556893826, 0.027636945247650146, -0.05010851472616196, -0.011657954193651676, 0.0432523749768734, 0.04938959330320358, 0.007155601400882006, -0.032291531562805176, -0.005451789125800133, -0.002945809857919812, -0.03941626474261284, -0.027630053460597992, -0.025058267638087273, -0.03094981610774994, 0.01145326066762209, 0.017627932131290436, 0.043014634400606155, 0.04886597394943237, 0.017951512709259987, 0.021402930840849876, 0.0024646539241075516, -0.017983321100473404, -0.12090093642473221, 0.07954970747232437, 0.028927404433488846, 0.047509729862213135, -0.02411743253469467, -0.046299275010824203, -0.01541272085160017, 0.06446852535009384, 0.018575137481093407, -0.0318172425031662, -0.023719416931271553, 0.03686439245939255, 0.026708774268627167, -0.0009425482130609453, -0.009999868459999561, 0.03110097534954548, 0.06280280649662018, -0.03365018218755722, -0.07703868299722672, -0.023336509242653847, -0.014520199969410896, -0.016359426081180573, -0.04639758542180061, 0.04164817929267883, -0.004052456934005022, 0.03862177953124046, 0.052895136177539825, 0.02685425989329815, 0.03561276197433472, -0.01822216622531414, 0.011386402882635593, 0.03597887232899666, -0.08915900439023972, -0.012128924950957298, -0.010135529562830925, 0.011455778032541275, -0.022862156853079796, 0.440378874540329, -0.036875318735837936, -0.025749128311872482, 0.06316902488470078, 0.033912383019924164, -0.02085299789905548, 0.009561199694871902, -0.03396115452051163, -0.03901034593582153, 0.006566724739968777, -0.05513438954949379, 0.0036585996858775616, 0.0013090596767142415, 0.019270911812782288, -0.06723924726247787, -0.004985945764929056, -0.004306470975279808, 0.026937033981084824, -0.0022624642588198185, -0.019458003342151642, 0.011173228733241558, 0.011581060476601124, -0.0033116634003818035, 0.034124355763196945, 0.014417163096368313, 0.02199328877031803, -0.005429653916507959, 0.011985504068434238, 0.04484223201870918, 0.06087749823927879, 0.015557052567601204, 0.027111252769827843, -0.02144312486052513, -0.11685866862535477, 0.006498183589428663, -0.0026834961026906967, 0.01173956599086523, 0.02367834746837616, -0.023645104840397835, -0.0008531744824722409, 0.003647944424301386, -0.005968335550278425, -0.012676380574703217, 0.03123731166124344, -0.0184610765427351, -0.04518791288137436, 0.08149266988039017, -0.008183253929018974, -0.006866835989058018, -0.034572359174489975, -0.0593191497027874, 0.01500171609222889, 0.05316387861967087, 0.0058217584155499935, -0.060449425131082535, 0.03203950077295303, 0.03489506244659424, 0.08165393769741058, -0.0009228112176060677, -0.04665263742208481, -0.037544362246990204, -0.02093268558382988, -0.00031977734761312604, -0.04725860059261322, 0.029602088034152985, 0.04014753922820091, -0.12236674875020981, -0.048872143030166626, 0.03177545964717865, 0.028276123106479645, -0.0773831158876419, -0.00667143240571022, 0.036949049681425095, -0.045106153935194016, 0.024853181093931198, 0.04722735285758972, -0.03314117714762688, -0.05797165259718895, 0.02677289769053459, 0.04262910410761833, 0.04140963405370712, 0.0068266442976891994, 0.008452068082988262, -0.04670960083603859, -0.015349731780588627, -0.03825710341334343, -0.07816311717033386, -0.05806167796254158, -0.006243020296096802, -0.0419418029487133, -0.03466659411787987, -0.03801432251930237, -0.003702400019392371, -0.07718003541231155, 0.07861844450235367, -0.021250352263450623, -0.027151213958859444, 0.03267699480056763, 0.005368182901293039, 0.020933769643306732, -0.01733911596238613, -0.002884620800614357, 0.040723253041505814, 0.001490657334215939, 0.04592112451791763, -0.09419082850217819, 0.06498748809099197, 0.05898871645331383, -0.06446005403995514, 0.10012161731719971, 0.009506329894065857, -0.03915230557322502, -0.02904922515153885, 0.0049941581673920155, 0.00016876243171282113, -0.009056453593075275, -0.018803777173161507, -0.0023242768365889788, 0.017613405361771584, 0.012040005065500736, 0.02775055170059204, -0.050571560859680176, -0.01297137700021267, -0.015032347291707993, -0.35868561267852783, -0.0379381887614727, -0.024136491119861603, 0.022001009434461594, -0.018199294805526733, -0.059510163962841034, 0.012913995422422886, -0.011171125806868076, -0.025783056393265724, -0.012220172211527824, 0.07666593044996262, -0.018109461292624474, 0.03685746714472771, -0.05959978699684143, -0.009697130881249905, 0.01624874956905842, -0.03295007348060608, -0.025605270639061928, -0.031864505261182785, 0.01155091542750597, 0.019659971818327904, 0.007837308570742607, -0.006557127460837364, -0.06895135343074799, -0.006316600367426872, -0.06798722594976425, 0.08331894129514694, -0.0023949644528329372, 0.09739136695861816, -0.03856045380234718, 0.07725196331739426, 0.016738029196858406, -0.0023975300136953592, -0.06719326972961426, 0.004191911779344082, -0.008551472797989845, -0.023124774917960167, 0.016316479071974754, 0.05138883739709854, -0.010514522902667522, -0.01985755003988743, 0.02556447684764862, -0.04189746081829071, -0.049021802842617035, -0.017835188657045364, -0.012434296309947968, -0.010822785086929798, -0.008015930652618408, -0.01884322427213192, 0.10066312551498413, -0.006714553106576204, -0.009794382378458977, 0.050223588943481445, 0.027170328423380852, -0.013848666101694107, -0.06253378093242645, -0.08211416751146317, 0.004145792219787836, -0.0022553596645593643, 0.025028740987181664, 0.03917962312698364, 0.05146809294819832, 0.03941551595926285, -0.021301649510860443, 0.006992829032242298, 0.006474234629422426, -0.011920391581952572, 0.008622831664979458, 0.05033601447939873, -0.055430952459573746, -0.012106475420296192, 0.06806127727031708, -0.01720499061048031, 0.005736203398555517, 0.0031858040019869804, 0.037366461008787155, -0.029637785628437996, -0.012398884631693363, 0.01980859413743019, 0.005352243315428495, -0.01697073131799698, -0.02146056294441223, 0.027334192767739296, -0.008143560960888863, 0.018434172496199608, 0.06316254287958145, -0.017216861248016357, 0.028192084282636642, 0.037148114293813705, -0.020220769569277763, -0.023944223299622536, 0.005244710016995668, -0.004439990036189556, -0.047738928347826004, 0.052883345633745193, -0.006524221505969763, -0.2387825846672058, 0.013792135752737522, 0.05515086650848389, 0.040956027805805206, 0.0020370380952954292, 0.00901771243661642, 0.029021361842751503, -0.04570312798023224, 0.05682246759533882, -0.0030617036391049623, 0.0370730459690094, 0.016790518537163734, -0.005803095642477274, 0.0036625703796744347, 0.031819313764572144, -0.0022634624037891626, 0.04449618235230446, -0.0037171936128288507, 0.000497497443575412, -0.012516376562416553, 0.014498760923743248, -0.021313942968845367, 0.18273070454597473, 0.0124942222610116, 0.0460347980260849, -0.00642958702519536, -0.0008745400700718164, 0.0004233303770888597, 0.05888450890779495, 0.03672861307859421, 0.0074654086492955685, -0.010448274202644825, 0.07815151661634445, 0.005925261415541172, 0.023894842714071274, -0.07777908444404602, -0.012264246121048927, 0.013819681480526924, 0.007322847843170166, -0.0003460904990788549, -0.004124071449041367, 0.009691908955574036, -0.0757826417684555, 0.03153473511338234, 0.06647344678640366, 0.013414270244538784, -0.007944727316498756, -0.010577255859971046, -0.0527350939810276, -0.030442826449871063, -0.047578830271959305, -0.037897661328315735, 0.01752135157585144, -0.0029326106887310743, 0.020870497450232506, 0.06297643482685089, 0.008812915533781052, -0.023698577657341957, 0.009290949441492558, 0.01448318362236023, -0.0038910298608243465, 0.02014009654521942, 0.1385987102985382, 0.052149299532175064, 0.03544865548610687 ]
[ -0.05505770444869995, 0.026119107380509377, 0.001748911221511662, 0.038736987859010696, -0.03258363902568817, 0.012296691536903381, -0.04716017469763756, 0.0067881871946156025, -0.052552465349435806, -0.0004226400051265955, -0.01771312765777111, -0.03231637179851532, 0.01689174771308899, -0.057648442685604095, 0.03401008993387222, 0.015811311081051826, -0.0008186395862139761, -0.027997292578220367, 0.008590634912252426, 0.0007812458788976073, -0.00626833550632, 0.010012540966272354, -0.011709381826221943, 0.007617663126438856, 0.029716843739151955, 0.005739017389714718, -0.03802770748734474, 0.028566384688019753, 0.0352201908826828, -0.11320140212774277, -0.021405484527349472, -0.02612271159887314, 0.013856887817382812, 0.028829902410507202, -0.005452987737953663, 0.033047184348106384, 0.05242758244276047, 0.03785761445760727, -0.023653296753764153, -0.010319177992641926, 0.015887634828686714, -0.012338535860180855, -0.00030335813062265515, -0.02544710971415043, -0.01998259872198105, 0.042376674711704254, -0.028892306610941887, -0.03515009209513664, 0.016614634543657303, -0.03618498146533966, -0.03224427253007889, -0.03321179375052452, -0.0004067867121193558, -0.016874082386493683, 0.01927352510392666, 0.01960456185042858, 0.008350390940904617, -0.0263261366635561, 0.026194360107183456, -0.015640603378415108, 0.029724080115556717, 0.007723512127995491, -0.027238517999649048, -0.037738360464572906, 0.000654790026601404, 0.011915004812180996, -0.016520529985427856, 0.043290477246046066, -0.016575893387198448, -0.01595591939985752, 0.026537589728832245, -0.008912517689168453, -0.003547141794115305, -0.04331164434552193, 0.021940933540463448, 0.04941000044345856, -0.010501504875719547, 0.016122503206133842, 0.01692645065486431, -0.029382355511188507, -0.026097038760781288, 0.016500646248459816, -0.011156185530126095, -0.021211951971054077, 0.01084877084940672, 0.03500884026288986, 0.026820108294487, 0.02905995026230812, 0.017398755997419357, 0.03553886339068413, -0.028892632573843002, -0.011733151972293854, 0.004981460981070995, 0.05794322118163109, -0.06986488401889801, 0.009867530316114426, 0.007643557619303465, 0.004163828678429127, -0.002045577159151435, 0.8019365668296814, -0.026262663304805756, 0.043953247368335724, 0.039458662271499634, 0.02381316013634205, -0.031496159732341766, -0.0249929279088974, -0.04491190239787102, 0.03034791350364685, 0.024983035400509834, -0.0548456571996212, 0.016179580241441727, -0.004247061908245087, 0.0437484011054039, -0.02392837591469288, 0.012658772990107536, -0.019379906356334686, 0.009900568053126335, -0.022517431527376175, -0.039780113846063614, 0.024077696725726128, 0.034932319074869156, -0.004131897818297148, 0.008358857594430447, -0.003264447208493948, -0.014849231578409672, -0.21523861587047577, -0.022188346832990646, -7.069075520327775e-33, 0.07078943401575089, -0.02708694525063038, 0.006854077335447073, 0.02250031940639019, 0.021783534437417984, -0.011084994301199913, 0.02606387436389923, 0.07686179131269455, -0.006059810984879732, -0.013705670833587646, 0.05054566636681557, -0.030004026368260384, -0.02161097712814808, 0.009807008318603039, 0.04392525553703308, -0.014665805734694004, -0.024183880537748337, 0.009666796773672104, -0.017111003398895264, 0.019405381754040718, 0.035711005330085754, 0.011365118436515331, -0.011078424751758575, -0.001981256529688835, 0.04669000953435898, -0.014334211125969887, 0.022290904074907303, 0.0047039794735610485, -0.07350645214319229, -0.03408977389335632, -0.03763747587800026, -0.013021491467952728, 0.029048766940832138, 0.005325732287019491, 0.0062462748028337955, -0.041566889733076096, -0.013722039759159088, 0.00879306998103857, -0.04421095550060272, -0.039088811725378036, -0.013547606766223907, -0.000015058946701174136, -0.045033689588308334, 0.020656734704971313, -0.041790276765823364, -0.019673621281981468, -0.024493495002388954, 0.02276136726140976, 0.014088924042880535, 0.009174607694149017, 0.0056558032520115376, 0.06479813158512115, 0.004742345307022333, 0.03883617743849754, -0.020526142790913582, 0.00389627693220973, -0.01781482622027397, -0.0032995925284922123, 0.005320100113749504, -0.06255537271499634, -0.005407346878200769, 0.021892769262194633, -0.029691707342863083, 0.04328019917011261, -0.026264261454343796, -0.008619280532002449, -0.0018139646854251623, 0.021411867812275887, 0.024385912343859673, 0.0020053053740411997, -0.012230925261974335, -0.0015466513577848673, -0.03126942366361618, -0.04386286810040474, 0.024037973955273628, -0.012277738191187382, -0.01024037878960371, -0.004432667512446642, -0.008956819772720337, 0.03907810151576996, 0.017176950350403786, 0.010690572671592236, -0.02302495948970318, -0.006844343617558479, 0.0031003409530967474, 0.006115883123129606, 0.06097931042313576, -0.020495589822530746, -0.018256664276123047, -0.001985798589885235, 0.028331488370895386, 0.018042661249637604, -0.002577998675405979, -0.025318928062915802, -0.025584284216165543, 7.723631917167904e-33, 0.022810496389865875, -0.03057660534977913, -0.00011870167509187013, -0.009168615564703941, 0.011341751553118229, -0.018687905743718147, -0.005650446750223637, -0.01687152311205864, -0.03139219433069229, 0.05623446777462959, 0.0029347932431846857, 0.024645622819662094, -0.006339943036437035, 0.006923416629433632, 0.04046401381492615, -0.01845034398138523, 0.0300605446100235, -0.04766527935862541, 0.027845868840813637, 0.006041163578629494, 0.04576486349105835, -0.01608395017683506, 0.003966420888900757, -0.0040930332615971565, 0.007938435301184654, 0.048313919454813004, -0.07346630096435547, 0.019417226314544678, 0.0017130915075540543, -0.019349973648786545, 0.008253290317952633, -0.027113262563943863, 0.012248310260474682, -0.03195968270301819, -0.03934774920344353, 0.031223349273204803, -0.0010462809586897492, 0.020407825708389282, 0.032322369515895844, -0.02092091180384159, 0.042300064116716385, 0.03144683316349983, -0.0039571113884449005, 0.005787655711174011, -0.01434668805450201, -0.010004694573581219, 0.022985106334090233, -0.05750406160950661, -0.005801810882985592, 0.04029551148414612, 0.05952871963381767, 0.06250220537185669, 0.009924028068780899, 0.01207706704735756, 0.02286120317876339, -0.04659485071897507, -0.0028715282678604126, -0.011863180436193943, -0.02979373000562191, 0.06433804333209991, -0.018183141946792603, 0.019834188744425774, 0.0032654486130923033, 0.033686649054288864, -0.03895888477563858, -0.03030151128768921, -0.045422788709402084, -0.009070239029824734, -0.009051583707332611, -0.0035073806066066027, -0.04040934145450592, 0.015107089653611183, -0.011945952661335468, 0.04399033263325691, -0.03259635716676712, -0.03881709277629852, -0.010978097096085548, 0.0267629437148571, 0.020468274131417274, 0.01383977197110653, 0.013453175313770771, -0.028136232867836952, 0.04409556835889816, 0.002538274275138974, 0.02027859538793564, -0.019861724227666855, 0.01957167312502861, 0.02501235343515873, 0.039054546505212784, -0.0008350461139343679, -0.007810339331626892, -0.030803704634308815, 0.007797170430421829, 0.011317458935081959, -0.03164780139923096, -1.2734131971114948e-8, -0.034311022609472275, 0.00008546374010620639, -0.048907916992902756, 0.01326326746493578, 0.013504520058631897, -0.025116536766290665, -0.009006491862237453, 0.0035245679318904877, -0.021774236112833023, -0.01716417819261551, 0.06687542051076889, -0.000859769934322685, -0.011661765165627003, 0.01323895063251257, 0.00448901392519474, -0.08218976855278015, 0.009625878185033798, -0.027591340243816376, 0.01846863515675068, -0.03686164319515228, 0.021673565730452538, 0.028214477002620697, -0.015764568001031876, 0.012046460062265396, 0.012055233120918274, -0.024133259430527687, -0.009102551266551018, -0.10781126469373703, 0.005559518467634916, 0.031842902302742004, -0.03492855280637741, 0.01066852267831564, -0.019563911482691765, 0.0064841704443097115, 0.010369536466896534, -0.012533450499176979, 0.03008831851184368, 0.02710874006152153, -0.01310955360531807, -0.037868108600378036, 0.01898759789764881, 0.007588316220790148, -0.007390002720057964, -0.023543544113636017, 0.03877544775605202, -0.002154833637177944, -0.005037324503064156, -0.020723039284348488, 0.03765978664159775, -0.031173044815659523, 0.03040102683007717, 0.020234551280736923, 0.05008813366293907, 0.028187070041894913, 0.01113776583224535, 0.005682019051164389, 0.0045439074747264385, 0.017344841733574867, 0.010835031047463417, -0.01131800003349781, 0.03163556754589081, -0.0032096959184855223, 0.011616922914981842, -0.008073347620666027 ]
builders-hanging-off-class-vs-builders-in-same-namespace
https://markhneedham.com/blog/2009/08/15/builders-hanging-off-class-vs-builders-in-same-namespace
false
2009-08-12 09:06:53
Zen Mind, Beginners Mind: Book Review
[ "books", "beginners-mind", "book-review" ]
[ "Books" ]
== The Book http://www.amazon.co.uk/Zen-Mind-Beginners-Shunryu-Suzuki/dp/0834800799/ref=sr_1_1?ie=UTF8&qid=1249997223&sr=8-1[Zen Mind, Beginner's Mind] by Shunryu Suzuki == The Review I first came across the actual term http://www.c2.com/cgi/wiki?BeginnersMind[beginner's mind] when reading through the 'http://softwarecraftsmanship.oreilly.com/wiki/wear_the_white_belt[Wear The White Belt]' chapter of http://softwarecraftsmanship.oreilly.com/wiki[Apprenticeship Patterns] although it was often mentioned to me on one of the first projects I did at ThoughtWorks a couple of years ago that people liked teaching me things because I just took the information in pretty much without questioning. I find nowadays that I analyse what people tell me way a lot more and then compare it against what I already know to see if it adds to my understanding. In a way this is useful but sometimes prevents me fully understanding ideas since I have already judged them. I started researching beginner's mind a bit to see if there was anything written on the state of mind required to maximise learning and this was the book that kept being mentioned so I decided to get a copy of it. It is fundamentally a book on Zen and a lot of the stuff around that area didn't make a lot of sense to me but I think there were some general ideas which can be applied to learning in general. == What did I learn? * One of the early chapters sets the message for the book with the following quote: + ____ In the beginner's mind there are many possibilities. In the experts there are few. ____ + Straight away it gets to the point which I think describes the problem that we have in software development once we've done a few projects and accumulated a set of ideas of the best way to deliver software - *we often stick to those ideas and aren't open to the idea of better ideas* being out there. On the other hand http://www.markhneedham.com/blog/2009/04/11/the-mythical-man-month-book-review/[as Fred Brooks points out] there is no silver bullet so perhaps this also explains why there is often skepticism when new ideas are described since its quite likely that potential negative points of these approaches have either not been described or not yet discovered. * The author raises some interesting ideas around how to get the best out of people by suggesting that the best way to do this is to let them do what they want but to watch them. Although he then went out to reference this back as a metaphor for controlling our own thoughts I was reminded of the http://www.slideshare.net/reed2001/culture-1798664[Netflix culture slide show] which I came across lately in terms of how they give employees freedom but expect them to act in the organisation's best interest rather than expecting employees to follow a lot of rules. * One thing I really liked was the emphasis on *listening to what someone says* 'without having your own idea [in mind]\...forgot what you have in your mind and just listen to what he says'. I think one problem we can run into when listening to other people is that we extract the bits of what they say which fit in with what we believe - something known as the http://en.wikipedia.org/wiki/Confirmation_bias[confirmation bias]. I actually found http://www.markhneedham.com/blog/2006/09/03/active-listening/[an old post of mine which lists some mistakes we commonly make when listening to others speak]. It makes quite interesting reading. Another quote from the book sums up a more useful approach: + ____ See things as they are, observe things as they are, let everything go as it goes ____ * He goes on to suggest that we should have *no negative or positive feelings towards what someone says to us and that we should give up our preconceived ideas and subjective opinions* which I didn't think made much sense in the software development game since a lot of what we do is about assessing the merits of different approaches. The beginner's mind entry on the C2 wiki makes more sense by describing Ward Cunningham's approach: + ____ You can generally tell when you're dealing with someone who really knows their stuff by the amount of reference they make to the way it has always been done. Folk like our own WardCunningham seem able to ditch all that stuff and approach each problem as if it were completely new and they had never done anything like it before. Then, when they have a solution, they'll either recognize it as a Pattern in the standard lexicon, and leverage readymade tools, or not. But they never come in armed for bear when all the customer needs to catch is clams. ____ + It seems like we only initially need to have an empty mind while we are taking in the new information and then we can make use of the knowledge that we already have later on. * The author suggests that '*when you do something just to do it should be your purpose*' which seems somewhat similar to the idea of focusing on the process in Agile instead of always on the outcome of what we're doing. While a result focus can be helpful I often notice that important things like the quality of what we're making get dropped by the wayside if we focus too much just on completion. I do think there is some need to focus on whether what we're doing is actually improving us (although the book advises against this) and I recently came across Chad Fowler's idea of always asking 'http://www.fourhourworkweek.com/blog/2009/07/28/the-big-question-are-you-better-than-yesterday/[Am I better than yesterday?]'. * It is pointed out then when learning zaizen *we cannot expect rapid progress but instead that we will progress little by little* which I think is pretty much the same in software development. With nearly all skills a lot of practice is needed - as http://www.markhneedham.com/blog/2008/12/29/talent-is-overrated-book-review/[Talent is Overrated] points out - we don't just become an overnight sensation but need to work our way through the http://www.markhneedham.com/blog/2009/08/10/dreyfus-model-more-thoughts/[Dreyfus Model] for each skill gradually improving our level. == In Summary Although this book is about Zen I still found some interesting ideas about learning and I guess its always interesting to read something a bit different. I'd be interested in knowing if there was a book that covered beginner's mind purely from a learning point of view instead of Zen if anyone knows of any titles!
null
null
[ 0.015979858115315437, 0.0138816237449646, -0.027777809649705887, 0.027662362903356552, 0.07096758484840393, 0.01290105376392603, 0.04110657796263695, 0.02927405573427677, 0.019292721524834633, -0.006690919399261475, -0.026087556034326553, -0.0031555211171507835, -0.05594946816563606, 0.002484501339495182, -0.051317114382982254, 0.062151696532964706, 0.09205304086208344, 0.017366250976920128, 0.006281694397330284, 0.0038969554007053375, 0.05122039467096329, 0.07406951487064362, 0.025056319311261177, 0.024346543475985527, 0.028948571532964706, 0.009684907272458076, 0.021289542317390442, -0.010186475701630116, -0.04822327941656113, 0.0008654238190501928, 0.03433942794799805, 0.0007860054029151797, 0.00026584664010442793, -0.006596817169338465, 0.024360330775380135, -0.010105608031153679, -0.02634630911052227, 0.020320627838373184, -0.0034590852446854115, 0.01910584419965744, -0.07228999584913254, 0.04648797586560249, 0.006162918638437986, 0.02857844904065132, -0.0342046283185482, 0.001432314282283187, -0.04896809533238411, 0.006391679868102074, -0.001903304597362876, -0.018934976309537888, -0.05627879127860069, 0.020066704601049423, 0.017286567017436028, -0.013665088452398777, -0.010638135485351086, 0.0599764809012413, 0.007101850118488073, -0.04538813605904579, 0.021392229944467545, -0.03933165594935417, 0.0017531111370772123, 0.008188680745661259, 0.024471385404467583, 0.0320669449865818, 0.004357729107141495, -0.03367454558610916, 0.013254736550152302, 0.05149580165743828, -0.030111104249954224, -0.0013999564107507467, -0.02236906625330448, 0.02154391072690487, -0.02455553412437439, 0.0075831301510334015, 0.012637064792215824, -0.04066356644034386, 0.007965557277202606, 0.06562641263008118, 0.01849290356040001, 0.01813112199306488, -0.019694052636623383, 0.05562794953584671, 0.008685581386089325, 0.02373177371919155, -0.028161533176898956, -0.04645437374711037, -0.011781306937336922, -0.02939455211162567, -0.0652431920170784, 0.06968659907579422, 0.020833255723118782, -0.04060608521103859, 0.009287336841225624, 0.047017090022563934, -0.014488588087260723, -0.009261859580874443, 0.03563865274190903, -0.019222525879740715, -0.009369992651045322, -0.008203641511499882, 0.0008221862954087555, -0.01827731356024742, 0.01703757978975773, -0.004155995789915323, -0.07042109966278076, 0.00655945623293519, -0.017339710146188736, -0.012272533029317856, -0.004379865247756243, 0.010229382663965225, -0.04170709475874901, 0.01708902418613434, -0.026183832436800003, 0.013109540566802025, -0.06078891083598137, 0.06634210795164108, -0.018018445000052452, -0.043282587081193924, -0.0181760061532259, 0.027421725913882256, 0.04748433828353882, 0.01032401341944933, -0.024075008928775787, 0.06803654879331589, 0.027435488998889923, 0.0051689655520021915, -0.028538433834910393, 0.0638628900051117, -0.015031593851745129, -0.04096372798085213, -0.004715722519904375, 0.048176657408475876, -0.013722122646868229, -0.011445091105997562, -0.005197457037866116, -0.028166513890028, 0.038400404155254364, 0.0030920691788196564, 0.00520772160962224, 0.04828547313809395, 0.002469927305355668, -0.018418848514556885, 0.003073084866628051, -0.004514413420110941, 0.019240431487560272, 0.010487786494195461, 0.011873111128807068, -0.028147520497441292, -0.047818757593631744, -0.022219102829694748, -0.0033523067831993103, 0.030675647780299187, 0.026502693071961403, -0.030127087607979774, 0.011152525432407856, 0.07312028110027313, 0.040673211216926575, 0.03657164424657822, -0.015772351995110512, 0.011170836165547371, 0.03549874946475029, 0.022731749340891838, 0.02854134514927864, 0.03831745311617851, 0.006451252847909927, -0.020487885922193527, -0.00731588015332818, 0.05649138242006302, 0.0001244504383066669, -0.0012002128642052412, -0.04582317918539047, -0.03644973784685135, 0.038205601274967194, -0.0514741986989975, -0.014077813364565372, 0.043214138597249985, 0.0621841736137867, 0.054306693375110626, 0.04027477279305458, -0.004697051830589771, -0.08476674556732178, 0.03267384320497513, 0.021345922723412514, 0.018232572823762894, 0.024799415841698647, -0.0316680409014225, 0.04994989186525345, 0.057578884065151215, 0.022334279492497444, 0.052270494401454926, -0.07464820146560669, -0.06941656023263931, -0.0009300174424424767, -0.015576109290122986, 0.07032535970211029, -0.014830123633146286, 0.018193883821368217, 0.05856749787926674, -0.00028284257859922945, 0.05998016893863678, 0.02292761020362377, -0.013755298219621181, -0.024057308211922646, -0.03012125752866268, -0.04963408783078194, 0.062266621738672256, 0.01672288030385971, 0.012114889919757843, -0.01741330511868, 0.003581708762794733, -0.009113398380577564, -0.014591132290661335, 0.02984047867357731, -0.015600202605128288, 0.01923738792538643, 0.010069913230836391, 0.029881812632083893, -0.015191510319709778, 0.051545534282922745, -0.04681480675935745, -0.0034005495253950357, 0.014109067618846893, -0.014275605790317059, -0.008092361502349377, -0.01503149326890707, 0.11866925656795502, 0.0588957853615284, -0.03494523838162422, -0.04934535175561905, 0.02343427576124668, 0.013782186433672905, -0.056149523705244064, -0.003402696456760168, 0.02445877343416214, 0.01890839822590351, -0.023095259442925453, -0.0440451055765152, -0.04958106204867363, 0.04011760652065277, -0.04769435152411461, 0.006529171951115131, 0.05739860609173775, -0.02802153304219246, 0.07059051841497421, 0.01111012976616621, -0.007448322605341673, -0.005773166194558144, -0.0038158807437866926, -0.079715296626091, 0.0041807577945292, 0.00460395822301507, -0.021010134369134903, 0.04328818991780281, -0.00691524613648653, -0.03580771014094353, -0.04084913060069084, -0.055468443781137466, 0.03462430462241173, 0.07118109613656998, 0.0579843670129776, -0.02595461718738079, 0.056454919278621674, -0.02574325166642666, 0.038903601467609406, -0.012228048406541348, -0.04525279253721237, -0.024634473025798798, -0.03833076357841492, 0.0037070203106850386, -0.010381105355918407, -0.0040327152237296104, 0.01933267153799534, 0.0028464512433856726, 0.017376821488142014, -0.016668910160660744, -0.005414723418653011, 0.044362761080265045, -0.010684287175536156, 0.006627278868108988, -0.0055657047778368, -0.029310934245586395, 0.048660825937986374, -0.03687706217169762, -0.007847527042031288, -0.0004236195236444473, -0.09246281534433365, 0.04361071437597275, -0.040771037340164185, -0.044730294495821, -0.00006105430657044053, 0.03101404197514057, 0.04421599209308624, 0.04725601524114609, 0.017070645466446877, 0.05691837891936302, 0.0018295426853001118, 0.00924938265234232, -0.0009732802864164114, -0.0021635473240166903, 0.020035194233059883, 0.013314172625541687, -0.0009159391629509628, 0.027260877192020416, 0.009058091789484024, -0.0034578959457576275, -0.03741796687245369, 0.027650507166981697, -0.021466916427016258, -0.2762681841850281, 0.05822429060935974, 0.0001836956071201712, -0.04684874415397644, 0.016599947586655617, -0.019320538267493248, 0.02081715688109398, -0.07999287545681, -0.020879684016108513, 0.009148458950221539, -0.022584296762943268, -0.05303983762860298, -0.015797240659594536, 0.03766335919499397, -0.0040846411138772964, 0.03239530697464943, 0.011668060906231403, -0.04074545577168465, -0.011667984537780285, 0.0528525672852993, 0.007846863009035587, -0.06300637871026993, -0.011464421637356281, 0.059414785355329514, 0.04309281334280968, 0.07441585510969162, -0.06588888168334961, 0.012846438214182854, -0.050517402589321136, 0.0012291212333366275, -0.017673423513770103, 0.000520160945598036, -0.0037641278468072414, -0.007905458100140095, -0.010558716021478176, -0.013860434293746948, 0.0606185682117939, 0.010990530252456665, 0.010107668116688728, 0.037570368498563766, -0.03324085474014282, -0.028776509687304497, 0.02102983370423317, 0.038064152002334595, 0.07816489040851593, 0.019470416009426117, -0.09559257328510284, -0.022780582308769226, -0.041568510234355927, 0.07684110105037689, -0.051421381533145905, -0.06367291510105133, 0.005247022490948439, 0.03258247300982475, 0.013817120343446732, -0.018066583201289177, 0.017230845987796783, -0.020189538598060608, -0.04375142604112625, -0.05969909206032753, -0.03538578003644943, -0.02139826864004135, -0.03476262092590332, -0.06839802116155624, 0.012634290382266045, -0.06615619361400604, -0.05157708376646042, -0.022789692506194115, 0.08078590035438538, 0.0362946018576622, -0.06541259586811066, 0.009182479232549667, -0.035404060035943985, -0.09927944839000702, -0.0036220955662429333, -0.005329720210283995, -0.027213402092456818, 0.007161629851907492, 0.003582218661904335, 0.061571188271045685, -0.038528766483068466, -0.03161011263728142, 0.02156732603907585, 0.027215169742703438, 0.029406988993287086, -0.011951107531785965, 0.028633058071136475, 0.0049157412722706795, -0.023442747071385384, 0.01250797975808382, 0.07037519663572311, -0.000003570149829101865, -0.03976701945066452, -0.04860556870698929, 0.041858986020088196, 0.020555201917886734, 0.022991148754954338, -0.027129271999001503, 0.020660484209656715, 0.015286780893802643, 0.022228669375181198, -0.054799262434244156, 0.027416760101914406, -0.004832773935049772, -0.031005477532744408, -0.02589396759867668, -0.04935481399297714, 0.025578996166586876, 0.05602835863828659, -0.005061205010861158, -0.008904279209673405, -0.06550657004117966, 0.026672955602407455, -0.03148180991411209, -0.035457104444503784, -0.04664117470383644, 0.01679070107638836, 0.05369555205106735, -0.019781427457928658, -0.006803170312196016, -0.03913323953747749, 0.006168326362967491, -0.034962479025125504, -0.054503183811903, -0.07462254911661148, -0.015929747372865677, -0.016502080485224724, -0.015962723642587662, -0.001966507639735937, 0.016947655007243156, -0.015240945853292942, 0.026464857161045074, 0.008121916092932224, -0.040417712181806564, -0.015988146886229515, -0.04622451588511467, -0.0607537142932415, -0.0391799621284008, -0.009738639928400517, 0.0013974482426419854, -0.0009196035098284483, 0.019890470430254936, -0.012143252417445183, 0.01697217859327793, 0.0436377227306366, 0.02932579815387726, 0.021886274218559265, -0.026427464559674263, 0.014240145683288574, 0.012021088972687721, 0.019120192155241966, -0.05657583102583885, 0.02007243223488331, -0.023858213797211647, -0.023927833884954453, -0.006801697891205549, 0.015058374032378197, -0.025876106694340706, -0.038596879690885544, 0.005471276119351387, 0.010646787472069263, -0.05592015013098717, -0.01911913976073265, -0.02258845418691635, 0.004972228780388832, 0.07256577908992767, -0.00013827985094394535, 0.023409295827150345, -0.016546012833714485, -0.0020817709155380726, 0.05322461575269699, 0.006268391851335764, -0.040716707706451416, 0.014502492733299732, 0.03160937875509262, 0.00464529637247324, 0.008424554951488972, -0.00811968743801117, 0.03255009278655052, -0.006955242250114679, -0.01579826883971691, -0.04716934636235237, 0.018823876976966858, 0.012054800987243652, 0.04255947098135948, 0.0028940190095454454, -0.008587904274463654, -0.02309011109173298, -0.04617321491241455, -0.03855029121041298, -0.020189758390188217, -0.00665821461006999, -0.019914792850613594, 0.010204045102000237, -0.040652770549058914, -0.05681987479329109, 0.043523818254470825, 0.026817115023732185, -0.016756784170866013, 0.0489809475839138, -0.014776144176721573, -0.016634779050946236, -0.03889462351799011, 0.029614854604005814, 0.06565418839454651, -0.06953073292970657, 0.0002787487755995244, -0.0008640661835670471, 0.0014640034642070532, 0.0018873014487326145, -0.018298210576176643, -0.0466764010488987, -0.00360441068187356, -0.04036301374435425, 0.009393594227731228, -0.06571764498949051, -0.017070479691028595, -0.024981258437037468, -0.0014226336497813463, -0.013328145258128643, 0.028380662202835083, -0.003935522399842739, -0.028536267578601837, -0.02384340763092041, -0.012723390012979507, 0.01741645485162735, -0.03271162509918213, 0.01821131445467472, 0.001868899678811431, -0.058873966336250305, -0.03478739410638809, -0.00612326106056571, 0.01270709652453661, 0.005592792760580778, -0.026629306375980377, -0.03542347624897957, -0.034684017300605774, -0.0028294003568589687, 0.010263821110129356, 0.037935465574264526, 0.019420361146330833, -0.008037416264414787, -0.052735354751348495, -0.014018742367625237, -0.049994830042123795, 0.032137949019670486, -0.02074841409921646, -0.01912127248942852, 0.041577547788619995, 0.055808331817388535, 0.006732005625963211, 0.005247756373137236, -0.020914018154144287, -0.022769583389163017, 0.052695728838443756, -0.05686786025762558, -0.027271373197436333, -0.018727615475654602, -0.0480492077767849, 0.017432801425457, 0.007153116166591644, 0.05223727971315384, -0.026786375790834427, 0.044583335518836975, 0.015423323027789593, 0.04536188021302223, 0.024156181141734123, -0.0051968516781926155, 0.013632595539093018, -0.05024562031030655, 0.023235244676470757, -0.0877947136759758, -0.0037570360582321882, 0.021938303485512733, -0.0016666632145643234, -0.01384526677429676, -0.020671097561717033, -0.036772239953279495, 0.047064658254384995, -0.09363327920436859, -0.003177872160449624, 0.025271669030189514, -0.0001414576399838552, -0.026771826669573784, 0.004306326620280743, -0.06494493782520294, 0.030250336974859238, 0.014397526159882545, -0.051852039992809296, -0.008598673157393932, -0.03402696177363396, 0.045303117483854294, 0.012374002486467361, 0.029764115810394287, -0.0009252557065337896, 0.0055818879045546055, 0.07803305983543396, 0.015963977202773094, 0.006673646625131369, 0.0432019978761673, -0.005509036127477884, 0.015361683443188667, 0.04660128802061081, 0.02877010405063629, 0.003959192428737879, 0.02510187402367592, -0.02366470918059349, -0.07667386531829834, 0.022475095465779305, -0.01202325988560915, -0.02613137662410736, -0.04600784182548523, 0.057528380304574966, 0.020070290192961693, -0.027171432971954346, -0.048984650522470474, 0.0014437747886404395, -0.04351210221648216, -0.018244076520204544, -0.006521198898553848, 0.01325925998389721, -0.043426383286714554, 0.05401725694537163, -0.00013182914699427783, 0.009562592022120953, 0.03030657209455967, -0.013700287789106369, -0.03737488389015198, -0.007337657734751701, 0.09147816151380539, 0.06845372915267944, 0.04932136833667755, 0.022611895576119423, 0.08143818378448486, -0.0036393338814377785, -0.05257105827331543, 0.020978396758437157, -0.014561590738594532, -0.02344575710594654, -0.02760748751461506, 0.021588386967778206, 0.05101209878921509, -0.009788210503757, 0.06306243687868118, -0.01730279065668583, -0.019796334207057953, 0.015394650399684906, 0.06067155674099922, 0.008909698575735092, 0.0514545738697052, 0.030322229489684105, 0.02434336394071579, -0.011717216111719608, -0.05497417226433754, 0.032666292041540146, -0.008907904848456383, -0.008401776663959026, 0.024741876870393753, -0.02981506660580635, 0.0262221060693264, 0.013676117174327374, 0.041422244161367416, 0.08325743675231934, -0.033468253910541534, -0.0007904528174549341, 0.016131291165947914, 0.004182735923677683, 0.008877494372427464, -0.004209778271615505, -0.019922321662306786, -0.02847270295023918, -0.004384513013064861, -0.033623311668634415, -0.009231289848685265, -0.017838064581155777, -0.016798583790659904, 0.017190266400575638, -0.029622970148921013, 0.0020189068745821714, 0.04422594606876373, 0.020405668765306473, -0.027831904590129852, -0.05669328570365906, -0.051960721611976624, -0.008988775312900543, -0.05486149713397026, -0.006459398195147514, 0.004770360421389341, -0.015934845432639122, -0.027973845601081848, -0.026869449764490128, -0.004755418282002211, -0.028191613033413887, 0.04537048563361168, -0.05502300709486008, -0.023163756355643272, -0.008948263712227345, 0.030812887474894524, 0.022848017513751984, 0.008593125268816948, 0.05029669776558876, 0.009361575357615948, -0.017641713842749596, 0.02124750055372715, -0.02125084400177002, 0.027397198602557182, -0.009714711457490921, 0.03842747583985329, -0.0858064517378807, 0.03718971088528633, 0.017221724614501, -0.005510345567017794, -0.044739432632923126, 0.004861961584538221, 0.04705629497766495, 0.00010413640848128125, 0.0515274778008461, -0.0025503751821815968, 0.007629438303411007, -0.04133761674165726, -0.025273393839597702, -0.005840249825268984, 0.008483491837978363, 0.05400717258453369, -0.026869654655456543, 0.1049918383359909, 0.020679274573922157, -0.0005455802311189473, -0.04910403862595558, -0.019212625920772552, 0.012077146209776402, -0.006904140580445528, -0.030727630481123924, 0.00539411511272192, 0.0017154058441519737, -0.08195329457521439, -0.006498139817267656, 0.022963592782616615, -0.026169726625084877, -0.037661463022232056, 0.029260598123073578, -0.0006882058223709464, -0.030323266983032227, 0.03215019777417183, -0.02778957039117813, 0.003328688209876418, -0.029976101592183113, 0.0000019603799046308268, 0.005933565553277731, 0.023653633892536163, 0.013635861687362194, -0.001248223357833922, 0.013059643097221851, -0.05855311453342438, -0.002937423065304756, -0.018177596852183342, 0.05568134784698486, 0.06636414676904678, -0.004340353421866894, -0.00913009513169527 ]
[ -0.08861659467220306, -0.027620108798146248, -0.03121299296617508, -0.031701017171144485, 0.012200731784105301, -0.020453957840800285, -0.006696534343063831, 0.01375222485512495, 0.010397768579423428, -0.02369796670973301, 0.01904015988111496, -0.009070776402950287, -0.0009201327338814735, 0.009854056872427464, 0.07124637067317963, 0.01562439277768135, 0.007563791703432798, -0.07129944860935211, 0.005329417996108532, -0.006124291103333235, 0.011270375922322273, -0.028908880427479744, -0.011285265907645226, -0.022393425926566124, 0.019649982452392578, 0.02795151062309742, 0.02617557905614376, -0.024881040677428246, 0.04552549496293068, -0.14476248621940613, -0.005784302018582821, 0.017608724534511566, 0.046339571475982666, -0.0012287191348150373, -0.013198606669902802, 0.06839969009160995, 0.0280595850199461, 0.011177181266248226, -0.014762666076421738, 0.031251102685928345, 0.017542993649840355, 0.038708098232746124, -0.03610348328948021, -0.001719248597510159, 0.051832616329193115, 0.004407832399010658, 0.011178848333656788, -0.0392603874206543, -0.022130390629172325, -0.024992823600769043, -0.06927812844514847, -0.01841285452246666, -0.0164510328322649, 0.001811735681258142, -0.018084771931171417, 0.029151424765586853, 0.026453930884599686, 0.07470490783452988, -0.0006776293739676476, 0.028382331132888794, 0.028470247983932495, -0.024033764377236366, -0.15385673940181732, 0.1003979742527008, 0.02715500071644783, 0.045900069177150726, -0.030040165409445763, 0.00007110689330147579, 0.00278199533931911, 0.08532340824604034, 0.011281108483672142, -0.010968612506985664, -0.02326665259897709, 0.041991736739873886, 0.004149139393121004, -0.0160645954310894, 0.004775351844727993, 0.013740082271397114, 0.02129564806818962, -0.05121733993291855, -0.011330417357385159, 0.02238401584327221, -0.010241425596177578, -0.02741388976573944, -0.031064065173268318, 0.0573350228369236, 0.002056421944871545, 0.04858389124274254, 0.014204532839357853, 0.011987614445388317, 0.03141456097364426, -0.016422459855675697, 0.02584204263985157, 0.001230295980349183, -0.0721922442317009, -0.028994254767894745, -0.00221481011249125, 0.03860561177134514, -0.0600288026034832, 0.4313792288303375, -0.02080567553639412, -0.019045695662498474, 0.06988085061311722, 0.011501085013151169, -0.009075883775949478, -0.011737719178199768, 0.01517502311617136, -0.04997488111257553, 0.027686459943652153, -0.011337578296661377, 0.007397073321044445, 0.012811063788831234, 0.04085979610681534, -0.05928215757012367, 0.014207062311470509, 0.012944058515131474, 0.03887170925736427, 0.010689032264053822, 0.022752325981855392, -0.01327620167285204, -0.01708228699862957, -0.014913292601704597, 0.029029803350567818, -0.004077028948813677, -0.037418581545352936, -0.09130321443080902, -0.004237557295709848, 0.05325545743107796, 0.02525843121111393, -0.007906878367066383, 0.0752703845500946, -0.03840067982673645, -0.05994855612516403, -0.031980905681848526, 0.007857712917029858, 0.023139765486121178, 0.022451024502515793, 0.00048107525799423456, 0.012840338982641697, 0.032406534999608994, 0.030661458149552345, -0.004576085135340691, 0.03127087280154228, -0.043598826974630356, -0.06829243898391724, 0.0910872370004654, 0.04908498749136925, -0.046453751623630524, -0.0015571709955111146, 0.005334477871656418, -0.005145612172782421, 0.024729685857892036, -0.00355060794390738, -0.05477022007107735, 0.0439530685544014, 0.006953149102628231, 0.11043402552604675, -0.007504045031964779, -0.06468556076288223, -0.017951903864741325, -0.008980794809758663, -0.016702042892575264, -0.05863698571920395, 0.04525591433048248, 0.0700751319527626, -0.10864504426717758, -0.01370335929095745, 0.012386390008032322, 0.02344650775194168, -0.07767758518457413, -0.002527134260162711, 0.01416092086583376, -0.051611218601465225, 0.026530291885137558, 0.07968243956565857, -0.022313885390758514, -0.03802691400051117, -0.0009647925035096705, 0.02826438471674919, 0.04305105283856392, 0.024699034169316292, -0.011568758636713028, -0.024185683578252792, -0.0062586599960923195, -0.033603474497795105, -0.059931788593530655, -0.03550589084625244, -0.01571681536734104, 0.00009194174344884232, -0.019659671932458878, -0.02458944171667099, -0.02279968187212944, -0.07890594750642776, 0.08237864822149277, -0.04453352466225624, -0.025394605472683907, -0.0015252484008669853, -0.01273642759770155, -0.028273824602365494, -0.026375694200396538, -0.07009688764810562, 0.011091325432062149, -0.039810895919799805, 0.01792674884200096, -0.05135880410671234, 0.04198053479194641, 0.05920716002583504, -0.05015195161104202, 0.09332392364740372, 0.06660294532775879, -0.05737888813018799, -0.020837590098381042, 0.011931500397622585, 0.018522290512919426, 0.010115363635122776, -0.0024615151342004538, -0.0011490554315969348, 0.020751018077135086, -0.007450764067471027, 0.008794351480901241, -0.0297053474932909, -0.04422324150800705, -0.06437038630247116, -0.3273366391658783, -0.01727917604148388, -0.036032892763614655, -0.0012554074637591839, 0.03777828440070152, -0.04260804504156113, 0.029171975329518318, -0.032834041863679886, 0.004423652309924364, -0.0055852411314845085, 0.06821206212043762, -0.035845641046762466, 0.008318198844790459, -0.07733561098575592, 0.014177835546433926, 0.02541864663362503, -0.006078672129660845, -0.03384694457054138, -0.04959133267402649, -0.005230932962149382, 0.006370375864207745, 0.00836684089154005, -0.007150229066610336, -0.07324713468551636, -0.0316748209297657, -0.04271502047777176, 0.0799587145447731, 0.026184378191828728, 0.08971398323774338, -0.03950125351548195, 0.03683079779148102, 0.008366444148123264, 0.011948433704674244, -0.11533141136169434, 0.007961928844451904, -0.016251392662525177, -0.0008285422227345407, -0.04485084116458893, 0.034620966762304306, -0.04136042669415474, -0.02824496105313301, 0.017982451245188713, -0.057650286704301834, -0.02935611456632614, -0.07897622883319855, 0.006987701170146465, -0.025485524907708168, -0.016401246190071106, -0.013346021063625813, 0.04655338078737259, 0.005567739252001047, 0.025527406483888626, -0.02894563414156437, 0.021647974848747253, -0.02453792095184326, -0.02031615935266018, -0.12044166773557663, 0.030817590653896332, 0.010148883797228336, 0.0009314086637459695, 0.015535891056060791, 0.055517200380563736, 0.053721074014902115, -0.08177846670150757, -0.01894265227019787, -0.00433366047218442, 0.017784230411052704, 0.01364989671856165, 0.07046853750944138, -0.02636045031249523, -0.02934780716896057, 0.08783061057329178, -0.005426179617643356, -0.017450520768761635, 0.04979318752884865, 0.019255317747592926, -0.0006185294478200376, 0.023622743785381317, 0.0019300756976008415, 0.0030122899916023016, -0.026746293529868126, -0.025641240179538727, 0.023913323879241943, -0.019247299060225487, -0.004011403303593397, 0.00569129129871726, 0.010515826754271984, -0.08713774383068085, 0.08168519288301468, 0.006375941447913647, -0.032319724559783936, 0.027619315311312675, -0.025285953655838966, -0.05347174033522606, 0.10094674676656723, -0.006651869975030422, -0.22874100506305695, 0.034759026020765305, 0.06120310723781586, 0.08751896023750305, -0.01949312724173069, 0.03307246416807175, 0.053511735051870346, -0.049933161586523056, -0.00798801425844431, 0.009423133917152882, 0.05178574100136757, -0.0003589785483200103, 0.0020022238604724407, -0.023217132315039635, 0.02573229931294918, 0.0035937486682087183, 0.05005070939660072, -0.02209695801138878, 0.027397651225328445, 0.03700747713446617, -0.0018132186960428953, 0.023616790771484375, 0.16313183307647705, 0.031523123383522034, 0.018017875030636787, -0.026612116023898125, -0.009863954968750477, -0.013689959421753883, 0.06655216962099075, 0.012283287942409515, 0.014337901026010513, 0.014568104408681393, 0.03468373417854309, 0.04054279625415802, 0.028834516182541847, -0.0799863412976265, -0.04033685848116875, 0.020753158256411552, 0.04252403974533081, -0.026041628792881966, 0.0036481376737356186, 0.02317274734377861, -0.05756658688187599, 0.04577326774597168, 0.07681114226579666, 0.010171957314014435, 0.0016333266394212842, -0.045770611613988876, -0.07628183811903, -0.0029428252018988132, -0.01278761774301529, -0.02229158952832222, -0.004946228116750717, 0.009160857647657394, 0.0256196279078722, 0.06761372834444046, 0.03947100043296814, -0.049019310623407364, -0.014530383050441742, -0.011981576681137085, 0.018679047003388405, -0.010342094115912914, 0.13665412366390228, 0.039861541241407394, 0.0313045009970665 ]
[ -0.01052378211170435, 0.010387775488197803, -0.0015792569611221552, -0.017853667959570885, -0.006609010510146618, -0.008521879091858864, 0.02236681990325451, -0.002000260865315795, -0.039541833102703094, 0.0056451368145644665, 0.026650482788681984, 0.038555730134248734, 0.05653632432222366, -0.004971902817487717, 0.024991406127810478, 0.009300734847784042, 0.015135413967072964, -0.030412212014198303, 0.0020500528626143932, 0.015520952641963959, -0.015694990754127502, 0.03692193701863289, 0.01820215955376625, 0.006907593458890915, -0.052935801446437836, 0.02331436052918434, -0.00586172379553318, -0.02067197486758232, 0.027904100716114044, -0.1210554912686348, -0.010758684948086739, -0.04896077141165733, 0.00266740913502872, 0.010521747171878815, -0.043072134256362915, 0.006788176484405994, 0.012473426759243011, -0.0009059097501449287, -0.010460279881954193, -0.009789093397557735, -0.03036671318113804, -0.01829078607261181, -0.04362589865922928, 0.02728702314198017, 0.022143729031085968, 0.016839897260069847, 0.037398889660835266, -0.04845954477787018, -0.020543396472930908, -0.05592659115791321, -0.0355943888425827, -0.020309515297412872, -0.001921461895108223, 0.014698072336614132, 0.0013131846208125353, 0.01513766124844551, -0.012624533846974373, 0.01323521789163351, -0.014648700132966042, -0.004034843295812607, -0.019166573882102966, -0.028969861567020416, -0.060073379427194595, -0.010474561713635921, -0.00538809597492218, -0.02276863530278206, -0.0017938727978616953, 0.016634399071335793, -0.038348425179719925, -0.01119176298379898, -0.000353872193954885, 0.013749872334301472, -0.011492252349853516, 0.0063563864678144455, 0.01885780319571495, -0.03875049576163292, -0.007929643616080284, -0.01559053361415863, -0.007134152110666037, -0.032343488186597824, -0.03115895204246044, 0.031604595482349396, 0.01997997984290123, 0.0157308429479599, 0.0244145430624485, -0.00880725122988224, 0.03085809387266636, 0.020523633807897568, 0.05074009671807289, 0.019262198358774185, 0.011573697440326214, 0.015730949118733406, -0.03439974784851074, 0.023078851401805878, -0.09363960474729538, 0.0119255930185318, -0.00033904126030392945, 0.010697213932871819, -0.011281456798315048, 0.8472367525100708, 0.015245264396071434, -0.0180301982909441, 0.03310616686940193, 0.009912858717143536, -0.0027031078934669495, 0.01354646310210228, 0.013781096786260605, -0.0017043201951310039, -0.015219024382531643, -0.01798924244940281, 0.019406218081712723, 0.023723486810922623, 0.017778471112251282, -0.023512832820415497, 0.02664569765329361, 0.056574031710624695, 0.01731470413506031, 0.04131408780813217, -0.04774235934019089, 0.037697117775678635, 0.005834576673805714, -0.004050914663821459, -0.010610503144562244, 0.019921476021409035, -0.008996349759399891, -0.17746540904045105, -0.02167956344783306, -8.271574649808297e-33, 0.022872181609272957, -0.029030242934823036, 0.010172165930271149, -0.0016419662861153483, -0.0037974747829139233, -0.021824369207024574, 0.029204577207565308, 0.019471079111099243, -0.011601682752370834, -0.0003681812377180904, 0.00022753930534236133, 0.006035364232957363, -0.018307946622371674, -0.0024075135588645935, 0.04085627943277359, 0.004405049607157707, -0.014870046637952328, 0.005561350379139185, -0.010110572911798954, 0.006197555921971798, 0.039713304489851, 0.017909780144691467, -0.019140994176268578, -0.010860919021070004, -0.005794824101030827, 0.0425548292696476, 0.04593527317047119, 0.0013722997391596437, 0.019413409754633904, -0.03481211140751839, -0.0020828349515795708, -0.00969594158232212, -0.027658870443701744, -0.025843897834420204, -0.010308568365871906, -0.00368244806304574, -0.02241051010787487, -0.0024867341853678226, 0.008806963451206684, -0.051620252430438995, -0.007556234486401081, -0.020642230287194252, -0.034754786640405655, 0.0015352683840319514, -0.014865638688206673, -0.0033876632805913687, 0.04115475341677666, 0.015478631481528282, 0.012985624372959137, 0.02174314297735691, -0.03951999917626381, 0.0007097282796166837, 0.01598207652568817, -0.009388990700244904, -0.02925974875688553, 0.005683136638253927, -0.008872072212398052, 0.008034005761146545, -0.0275871641933918, -0.005233726929873228, -0.018577858805656433, -0.016550717875361443, -0.01840858906507492, 0.03761559724807739, -0.026180550456047058, -0.021562566980719566, -0.014916880987584591, 0.019105030223727226, 0.04105968773365021, -0.02851966582238674, -0.047832705080509186, -0.013127680867910385, -0.024829426780343056, -0.021459074690937996, -0.0008939390536397696, -0.022021008655428886, -0.0143110491335392, -0.006843579467386007, -0.011803148314356804, 0.05166028439998627, -0.008322239853441715, 0.02024749666452408, -0.011312791146337986, -0.012598711997270584, -0.0013022521743550897, 0.03979514166712761, 0.03805310279130936, -0.020366201177239418, 0.007725317496806383, 0.008508505299687386, 0.028911422938108444, 0.029247596859931946, 0.005879070144146681, 0.01756279729306698, -0.012242676690220833, 8.142690510448264e-33, 0.03337034583091736, 0.016211703419685364, 0.014219493605196476, 0.012992498464882374, 0.06073501333594322, -0.003253466449677944, 0.005795706994831562, 0.01050849724560976, -0.06091419234871864, 0.02874031662940979, -0.014800015836954117, -0.003948698751628399, -0.017873156815767288, 0.038931429386138916, 0.018659818917512894, -0.027415022253990173, -0.003133282298222184, 0.010747983120381832, 0.021321890875697136, -0.0007444962975569069, -0.014730325900018215, 0.01983044296503067, -0.0023289178498089314, -0.011845809407532215, -0.011616254225373268, 0.0696864128112793, 0.0022442322224378586, 0.05833883956074715, -0.017754843458533287, 0.042129795998334885, 0.009062145836651325, -0.008373521268367767, 0.017037099227309227, -0.010898960754275322, -0.018859360367059708, 0.019332677125930786, -0.013904239051043987, -0.00199779961258173, -0.03690430894494057, 0.011304485611617565, 0.011013951152563095, -0.0293720792979002, 0.01843382604420185, 0.009191473945975304, -0.014372512698173523, -0.03421624377369881, 0.01274904701858759, -0.008329315111041069, -0.032961271703243256, -0.0236965399235487, 0.0002555015671532601, 0.02520361728966236, -0.001900804229080677, -0.024131963029503822, 0.018661867827177048, 0.002587925409898162, -0.028779050335288048, -0.004385516978800297, -0.02325783297419548, 0.01617097109556198, -0.006069463677704334, 0.020764827728271484, -0.031640779227018356, 0.0250099990516901, -0.0030337071511894464, -0.017048796638846397, 0.03271235153079033, 0.022369617596268654, -0.017751485109329224, 0.0029942498076707125, -0.036000579595565796, 0.025872962549328804, 0.02038182131946087, 0.002594772493466735, -0.009532934054732323, -0.02056170627474785, -0.035199087113142014, 0.00048292125575244427, -0.05014955997467041, 0.023640528321266174, 0.032596029341220856, -0.03611249476671219, 0.015236740000545979, 0.01754998043179512, -0.009438155218958855, 0.03499922901391983, -0.013102017343044281, 0.013497095555067062, -0.005467634182423353, -0.026235025376081467, -0.00873691588640213, 0.010897854343056679, 0.016588281840085983, 0.022999854758381844, -0.041241247206926346, -1.3534815934690414e-8, -0.02946510538458824, -0.01846959814429283, -0.0020332636777311563, 0.008890129625797272, 0.03341080993413925, 0.039180561900138855, -0.008088294416666031, 0.0038915956392884254, -0.06841372698545456, 0.05288038030266762, 0.050935279577970505, -0.02772347815334797, -0.004707219544798136, 0.041570406407117844, 0.007931350730359554, -0.018792832270264626, 0.013979466632008553, -0.0031774314120411873, 0.013507883064448833, -0.02740100584924221, 0.054399579763412476, 0.0660039484500885, 0.005550820846110582, 0.01405166182667017, -0.0023310405667871237, -0.018056971952319145, -0.0328478179872036, -0.05194104462862015, -0.0005544130108319223, 0.021778961643576622, 0.00244369194842875, -0.026706190779805183, 0.010248812846839428, -0.00037997885374352336, -0.011245197616517544, -0.04378746077418327, 0.010925987735390663, 0.011751607991755009, -0.017562327906489372, -0.024922367185354233, -0.006423205137252808, 0.0035404833033680916, 0.024741698056459427, -0.014295893721282482, -0.01214564684778452, 0.0010562058305367827, -0.051395680755376816, -0.016774101182818413, 0.03180467337369919, -0.01700536534190178, 0.05288337543606758, -0.004570725839585066, 0.04384753853082657, 0.014475814066827297, 0.029459746554493904, 0.002008511684834957, -0.01123032346367836, 0.00019906539819203317, -0.06635180860757828, 0.0219668447971344, -0.0025010337121784687, 0.02222765050828457, -0.023413194343447685, -0.02303256094455719 ]
zen-mind-beginners-mind-book-review
https://markhneedham.com/blog/2009/08/12/zen-mind-beginners-mind-book-review
false
2009-08-13 17:20:08
Challenging projects and the five stages of grief
[ "software-development" ]
[ "Software Development" ]
One of the things that I've noticed over the past few years of working on software delivery projects is that the most challenging projects, the ones that most people hate working on, tend to last the longest yet teach you the most although maybe not immediately. The problem is that a lot of the time we are in a state of frustration with all the things that are wrong about the project and therefore don't focus on the things that we can do to make our situation better and improve the chances of the project to deliver. I came across a http://www.youtube.com/watch?v=YEZJei6DD0o[really cool video which shows a giraffe going through the five stages of grief] on the http://changingminds.org/disciplines/change_management/kubler_ross/kubler_ross.htm[Kubler Ross Grief Cycle] after getting stuck in some quick sand and although there is perhaps not a direction correlation between the emotions that people feel towards a project and the grief cycle there certainly appear to be some similarities to me. image:{{<siteurl>}}/uploads/2009/08/kubler-ross.gif[kubler_ross.gif,400] + (Graph from http://changingminds.org/disciplines/change_management/kubler_ross/kubler_ross.htm[changingminds.org] - this shows the full cycle although the giraffe video only covers five of these) The first thing that tends to happen is that we learn that we're going to be working on a project which has been deemed to be quite challenging by some of the people already working on it but we don't quite believe it and convince ourself that it's probably not that bad - in a way we are in *denial*. At this stage we still have enthusiasm and are providing lots of suggestions of ways that things can be improved so this isn't a bad stage to be in since we are trying to have a positive impact. The problem is that at this stage we might be lacking context on the situations, what ideas have already been tried and which are actually suitable in the given context. It is useful having people doing this though because sometimes they will come up with a new idea which can help improve things. The key for the rest of the team here is not to discourage new members too much so that they stop suggesting new ideas because they keep getting knocked back. I discussed this with some colleagues and it was suggested that a more effective approach at this stage might be to reassess the current situation with the team (including new members) and work out whether there is actually an opportunity to try again to introduce ideas which may have previously not worked. After a while having gained a better understanding of what is going on there tends to be a move to a stage of frustration and/or *anger* where we can't really believe the project is the way it is. This might be because we think we have a better solution to the http://dahliabock.wordpress.com/2009/08/06/why-i-think-layer-teams-are-a-bad-idea/[team organisation], http://jamescrisp.org/2009/08/11/the-fallacy-best-of-breed-in-layered-solutions/[architecture] or http://www.waterfall2006.com/[methodology] being used. The underlying theme seems to be that a decision was made to do something in a certain way, that decision was (probably) out of our control and we believe that decision is the reason that the project is such a struggle for us. We seem to move quickly to the next stage where we start to ponder/negotiate small changes which we could have done earlier - perhaps ensuring a different methodology was used for example - or that we should start doing now and will revolutionise the project. This is *bargaining* in a way and I think we need to be careful to remember that there is http://en.wikipedia.org/wiki/No_Silver_Bullet[no silver bullet] and that (to paraphrase my colleague Rob Hunter) had we taken a different approach there would have been a whole set of different problems to solve instead. At this stage overly simplistic solutions to problems may be suggested so we need to be aware of this and ensure that we think through the http://www.markhneedham.com/blog/2009/03/02/trade-offs-some-thoughts/[trade offs] of new ideas before diving into them. If we take the time to do this then we can certainly come up with some useful ideas when we are in this mindset. A stage of apathy or *depression* at the situation is likely to follow where we feel demotivated because we are unable to be as productive or make the same impact that we normally can. The http://www.allaboutdepression.com/dia_12.html[symptoms of depression] suggest that it can come about either through a loss of interest/pleasure in what we are doing or from a feeling of helplessness amongst other reasons. I think the natural inclination during this stage is to fall into working on our own and not be as communicative as we were previously. This might actually be the most dangerous stage because we run the risk of creating a http://www.markhneedham.com/blog/2009/02/17/collective-code-ownership-some-thoughts/[siloed team] if everyone is working in their own bubble. Eventually we decide that we've had enough of feeling sorry for ourselves and we finally move to the stage of *acceptance* where we can start working on solutions to the problems that we can solve instead of focusing on the things that are out of our control. We can finally start to make things better for ourselves instead of focusing on all the things that aren't the way that they should be. I think at this stage we should also be ensuring maximum learning from the situation so that we are able to handle something similar more effectively in the future. I'm still not sure whether we need to spend time in each of the stages on every project - I imagine that it would be beneficial to get out of the passive states quickly but some time in the other active states might be useful. The goal is certainly to try and reach the stage of acceptance although that doesn't mean that we should stop trying to improve the project at a big picture level but instead that we don't need to get so caught up in doing so that we forget that we still have control over smaller things which can make a difference too.
null
null
[ 0.03472644463181496, -0.011220382526516914, -0.010055080987513065, 0.04263261333107948, 0.08232703804969788, 0.009556969627737999, 0.028165871277451515, 0.05518602952361107, 0.021085651591420174, -0.03044930100440979, -0.037846144288778305, -0.009725970216095448, -0.058456312865018845, 0.03886296972632408, -0.04300814867019653, 0.08481305092573166, 0.056062161922454834, -0.012006250210106373, 0.02083701826632023, 0.023308342322707176, 0.0453895702958107, 0.06411539018154144, 0.03549991175532341, 0.038886114954948425, 0.04180788993835449, 0.006658622995018959, 0.01602320931851864, -0.015082698315382004, -0.05293282866477966, -0.02269287407398224, 0.0437268503010273, -0.0013185595162212849, 0.013083836063742638, -0.005227344576269388, 0.025398245081305504, -0.004053183831274509, -0.023082489147782326, 0.029175737872719765, 0.0078072575852274895, -0.003126186551526189, -0.057506415992975235, 0.05138130113482475, -0.031149249523878098, 0.0009492444805800915, -0.042154572904109955, 0.008734370581805706, -0.02872590348124504, 0.012156841345131397, 0.01741797849535942, -0.03234424069523811, -0.06261429190635681, 0.051799170672893524, 0.013324596919119358, -0.006115270312875509, -0.02001233771443367, 0.03721458464860916, 0.026010194793343544, -0.060258492827415466, 0.007649758365005255, -0.02910471335053444, -0.03210054337978363, -0.01571211963891983, 0.004998617339879274, 0.03349044919013977, 0.018517641350626945, -0.040967926383018494, -0.0010965577093884349, 0.0461769700050354, -0.038334622979164124, -0.017093850299715996, -0.004289912059903145, 0.0032154060900211334, 0.0019160003867000341, -0.001046163379214704, 0.02160724066197872, -0.041445765644311905, 0.01172225084155798, 0.05547018721699715, 0.015762196853756905, 0.025499172508716583, -0.0374557264149189, 0.0343245230615139, -0.00259405467659235, 0.04135696962475777, -0.03343306481838226, -0.025208817794919014, 0.03366565704345703, -0.008791843429207802, -0.07617822289466858, 0.0583939403295517, 0.014674915932118893, -0.061164550483226776, 0.023510029539465904, 0.04299801215529442, 0.0021126207429915667, 0.01761840470135212, 0.03601766377687454, -0.0038710013031959534, -0.0070542446337640285, -0.013025162741541862, -0.01028908509761095, -0.011104483157396317, -0.00918298214673996, 0.01053600013256073, -0.08839526772499084, -0.013214713893830776, -0.016594503074884415, -0.024228930473327637, -0.020332887768745422, -0.00881137140095234, -0.035981085151433945, 0.03745574131608009, -0.03446340933442116, 0.023375874385237694, -0.055347032845020294, 0.0643479973077774, 0.007840650156140327, -0.06615816056728363, -0.019991446286439896, 0.012055587023496628, 0.0320114940404892, 0.007730438373982906, -0.025913935154676437, 0.08072342723608017, -0.0014096508966758847, 0.028722798451781273, -0.028025491163134575, 0.05498822033405304, -0.021509652957320213, -0.05192030593752861, -0.002697981661185622, 0.04495799168944359, -0.029962316155433655, -0.030164336785674095, -0.0020991999190300703, -0.0396311990916729, 0.008449011482298374, -0.014872126281261444, 0.011732502840459347, 0.04573596268892288, -0.013949286192655563, -0.041127339005470276, 0.023419788107275963, 0.0202231053262949, 0.04119974002242088, 0.008589375764131546, -0.010327909141778946, -0.02504998818039894, -0.034727852791547775, -0.017092444002628326, 0.007745030336081982, -0.01279149018228054, 0.0153062017634511, -0.04793098568916321, 0.02554132416844368, 0.0916132852435112, 0.03012106940150261, -0.002394876442849636, -0.024467570707201958, 0.027467237785458565, 0.016401097178459167, 0.02389618009328842, 0.01077246479690075, 0.033247895538806915, 0.014968795701861382, -0.0072211711667478085, 0.0065515311434865, 0.04250272363424301, -0.03148661553859711, -0.0030548304785043, -0.06397179514169693, -0.03960045054554939, 0.04457608237862587, -0.05614813417196274, -0.03294902294874191, 0.04631214588880539, 0.08399113267660141, 0.04563484713435173, 0.021251581609249115, -0.005112194921821356, -0.07741177082061768, 0.02871689572930336, -0.01711394637823105, 0.033061034977436066, 0.037441011518239975, -0.03599872067570686, 0.033599574118852615, 0.013484694994986057, 0.0033449248876422644, 0.047854021191596985, -0.06910837441682816, -0.09663721919059753, -0.02616363950073719, -0.006582219619303942, 0.03596111759543419, -0.025767048820853233, 0.014788706786930561, 0.05474945530295372, 0.012699413113296032, 0.05372825264930725, 0.01699882186949253, 0.0045908670872449875, -0.014413723722100258, -0.05197834596037865, -0.06203128769993782, 0.0866369903087616, 0.026840725913643837, -0.005519506987184286, -0.056023892015218735, 0.006015849765390158, 0.0006663501262664795, -0.003538847668096423, 0.04280989244580269, -0.007053065113723278, 0.03308796510100365, 0.008778529241681099, 0.05351709574460983, -0.04052678123116493, 0.034461610019207, -0.030565408989787102, -0.01532804686576128, 0.0022795884869992733, -0.004820634610950947, -0.0025712617207318544, -0.01338634267449379, 0.10061550885438919, 0.047380875796079636, -0.05588182061910629, -0.045606136322021484, 0.04644368588924408, 0.02933696284890175, -0.02277275361120701, -0.013237477280199528, -0.005837733391672373, 0.009610547684133053, 0.002729965141043067, -0.07071001082658768, -0.0581086166203022, 0.01961822807788849, -0.050303343683481216, 0.007100486662238836, 0.0625731498003006, -0.007446832489222288, 0.06863391399383545, -0.011375859379768372, -0.0006841181311756372, -0.01106000691652298, -0.009996829554438591, -0.07185870409011841, 0.04231669008731842, -0.009812906384468079, -0.0037751449272036552, 0.04968194290995598, -0.002848818665370345, -0.029938461259007454, -0.0313422717154026, -0.046475473791360855, 0.025125792250037193, 0.04778396710753441, 0.07593757659196854, -0.018328603357076645, 0.07080725580453873, -0.025305820629000664, 0.03730951249599457, -0.00016616332868579775, -0.03705761209130287, -0.05579139292240143, -0.040203582495450974, 0.0036130601074546576, 0.0180521197617054, -0.0012510413071140647, -0.009888273663818836, 0.02394312620162964, 0.019643183797597885, 0.004747823346406221, -0.01628398522734642, 0.03355417773127556, 0.004208787344396114, 0.001620583818294108, -0.012528486549854279, -0.010540546849370003, 0.05686100199818611, -0.05080166086554527, 0.0023612137883901596, 0.004248122684657574, -0.07237944006919861, 0.05389798432588577, -0.05549271032214165, -0.03417281433939934, 0.004408515058457851, 0.018032465130090714, 0.05603526532649994, 0.04493878781795502, 0.026223646476864815, 0.06644695997238159, 0.014937352389097214, 0.027451341971755028, 0.00016965490067377687, 0.014674759469926357, 0.04830518364906311, 0.004298928659409285, -0.012166163884103298, 0.03345120698213577, -0.0035684590693563223, -0.009443921037018299, -0.04413328692317009, 0.04560142755508423, -0.03706216812133789, -0.29225051403045654, 0.03559110686182976, 0.025690848007798195, -0.027984965592622757, 0.03092022053897381, -0.03362741693854332, 0.010241690091788769, -0.04814964160323143, -0.03396623209118843, -0.002165070502087474, -0.030228260904550552, -0.0413607582449913, -0.0036026379093527794, 0.03310501202940941, -0.01697566546499729, 0.027250774204730988, 0.03449550271034241, -0.03303154185414314, 0.010677279904484749, 0.046982958912849426, -0.01529510598629713, -0.06994183361530304, -0.0008822419331409037, 0.035209499299526215, 0.028334584087133408, 0.06239892169833183, -0.06445737928152084, 0.043289460241794586, -0.04840011149644852, 0.004196136724203825, 0.025586357340216637, 0.0004056990728713572, -0.0034462278708815575, -0.011004620231688023, -0.0039103650487959385, -0.014939316548407078, 0.044828012585639954, 0.012571475468575954, 0.008400320075452328, 0.00950086023658514, -0.023607278242707253, -0.045350417494773865, 0.01157556101679802, 0.013111329637467861, 0.07428030669689178, 0.01756259612739086, -0.07907349616289139, -0.023434260860085487, -0.02613389864563942, 0.0769682377576828, -0.02402166835963726, -0.03136185556650162, 0.001370580866932869, 0.03365064039826393, 0.006466574035584927, -0.01793588511645794, -0.013454542495310307, -0.02016906999051571, -0.05376642942428589, -0.048557016998529434, 0.002069214591756463, -0.013479962944984436, -0.006601845379918814, -0.06612357497215271, 0.007173107471317053, -0.05303074046969414, -0.048320598900318146, -0.016750315204262733, 0.06719830632209778, -0.00459566805511713, -0.030506739392876625, 0.02696727216243744, -0.008709224872291088, -0.10679218918085098, -0.007720789406448603, -0.010550795122981071, -0.03736826777458191, -0.0021819828543812037, 0.01600697636604309, 0.030997682362794876, -0.025800904259085655, -0.06690103560686111, 0.042681653052568436, 0.005980447866022587, 0.04019313305616379, -0.01065722107887268, 0.043569307774305344, 0.02455192059278488, -0.03771897777915001, 0.02790076844394207, 0.048735275864601135, -0.002404881874099374, -0.05496440455317497, -0.02595578320324421, 0.036154042929410934, 0.019783256575465202, 0.0177089124917984, -0.007163338828831911, 0.006167653948068619, 0.025112878531217575, 0.00700481329113245, -0.050205979496240616, 0.043877799063920975, -0.017048144713044167, -0.004987766034901142, -0.016393885016441345, -0.05175575986504555, 0.031250614672899246, 0.039757803082466125, 0.03508567437529564, 0.01783212646842003, -0.0462920218706131, 0.033648908138275146, -0.05440923571586609, -0.02332235313951969, -0.008758540265262127, 0.012691699899733067, 0.03970424085855484, 0.0008595206891186535, -0.01571185141801834, -0.046729087829589844, 0.025156663730740547, 0.002260524081066251, 0.012569001875817776, -0.06904186308383942, -0.00010106356057804078, -0.0129429055377841, -0.012487447820603848, 0.01696212776005268, 0.03030219115316868, -0.004140191711485386, 0.031283799558877945, 0.015388855710625648, -0.04075082391500473, 0.02318732813000679, -0.03297162055969238, -0.07418426871299744, -0.04993020370602608, 0.0014157888945192099, -0.013448838144540787, -0.015880344435572624, 0.019808869808912277, -0.0065911635756492615, 0.0032566580921411514, 0.04251253232359886, 0.01885642297565937, 0.01681821420788765, -0.024911947548389435, 0.0290102306753397, 0.010888113640248775, -0.010790136642754078, -0.05609175190329552, 0.0001342275645583868, -0.036978863179683685, -0.027663754299283028, -0.021838011220097542, 0.014211652800440788, -0.04364638030529022, -0.023020051419734955, -0.0067080166190862656, 0.005931236315518618, -0.04173894599080086, -0.0475747175514698, -0.035786595195531845, 0.018822118639945984, 0.05280470475554466, 0.00287414388731122, 0.007187911309301853, -0.01070336252450943, -0.000331433373503387, 0.013287642039358616, 0.027029523625969887, -0.04320918768644333, -0.002174993045628071, 0.010283468291163445, 0.013722402974963188, -0.01674993522465229, -0.00825452245771885, 0.05307306349277496, 0.0163135826587677, -0.008569380268454552, -0.036374934017658234, 0.012626155279576778, -0.009737945161759853, 0.03852279111742973, 0.03159140795469284, -0.0046203648671507835, -0.0032409930136054754, -0.021563038229942322, -0.019656822085380554, -0.04407311603426933, -0.017523139715194702, -0.006531269755214453, 0.02518521063029766, -0.03045344538986683, -0.07912617921829224, 0.06264706701040268, 0.005614846013486385, 0.02133781835436821, 0.01605064794421196, 0.0067451223731040955, 0.010195648297667503, -0.015895823016762733, 0.04529460147023201, 0.050111643970012665, -0.06966526061296463, 0.007486386224627495, 0.010553671978414059, -0.007520807906985283, 0.015897002071142197, -0.00971186812967062, -0.02988625504076481, -0.020648494362831116, -0.025790249928832054, 0.007921225391328335, -0.08261927962303162, -0.028935307636857033, -0.030628684908151627, 0.026421276852488518, 0.003723613917827606, -0.015674930065870285, -0.03204730525612831, -0.02016562968492508, -0.014394892379641533, -0.022356325760483742, 0.02131616696715355, -0.04226038232445717, -0.008149126544594765, 0.024473529309034348, -0.02359183132648468, -0.017906801775097847, -0.022502686828374863, 0.018595388159155846, 0.01672069914638996, -0.03232051804661751, -0.0022491859272122383, -0.008026432245969772, 0.00158824457321316, 0.004662834107875824, 0.025207985192537308, -0.01988399773836136, -0.025383424013853073, -0.022239195182919502, -0.020362066105008125, -0.027757886797189713, 0.0018590277759358287, -0.028353888541460037, 0.009822697378695011, 0.036399733275175095, 0.061684541404247284, 0.025947069749236107, 0.029750989750027657, -0.010720551013946533, -0.02396526373922825, 0.0441589392721653, -0.06885592639446259, -0.03351655974984169, -0.05135606601834297, -0.03363426774740219, 0.007067421916872263, 0.020254036411643028, 0.008971747010946274, -0.05345452204346657, 0.03326280415058136, 0.02249257266521454, 0.03371293842792511, 0.05533726513385773, 0.0006113310228101909, 0.027037203311920166, -0.04087346792221069, -0.008113526739180088, -0.0709516704082489, -0.004961992148309946, 0.003577964613214135, -0.008894122205674648, 0.006781868636608124, 0.0002686080406419933, -0.03933260962367058, 0.047407686710357666, -0.0729689747095108, -0.03789748251438141, 0.050051119178533554, -0.016834361478686333, 0.010366660542786121, 0.018611768260598183, -0.07667607814073563, 0.024612924084067345, 0.033301737159490585, -0.06338270008563995, -0.02911413088440895, -0.012779442593455315, 0.05988604575395584, -0.00436412775889039, 0.022654589265584946, -0.03774656727910042, -0.015183103270828724, 0.05561647191643715, 0.004368997178971767, 0.0043541062623262405, 0.049957286566495895, -0.00805269181728363, 0.047154538333415985, 0.015862463042140007, 0.011407620273530483, -0.019334448501467705, 0.009929249994456768, -0.023554060608148575, -0.05183621495962143, 0.041968319565057755, 0.010304064489901066, -0.03510478511452675, -0.03774251788854599, 0.06512505561113358, 0.042246196419000626, -0.03322669863700867, -0.03888016939163208, 0.008352765813469887, -0.05824781209230423, 0.01223423145711422, -0.002449256833642721, -0.001820663921535015, -0.05042277276515961, 0.04298591613769531, -0.011396641843020916, 0.013280704617500305, 0.07073523849248886, 0.003138391301035881, -0.011839129962027073, 0.0019566037226468325, 0.08046887814998627, 0.06820932030677795, 0.07102347910404205, 0.01104162260890007, 0.06320151686668396, -0.015082075260579586, -0.0305307749658823, 0.01999695785343647, 0.0036678786855190992, -0.023743456229567528, -0.017064563930034637, 0.008913788944482803, 0.04011240601539612, -0.0005990631761960685, 0.056467946618795395, -0.010434702038764954, -0.04068281129002571, -0.0001881328789750114, 0.029876066371798515, 0.02517179772257805, 0.07279941439628601, 0.019167011603713036, 0.023395296186208725, -0.010432600043714046, -0.04750564321875572, 0.025218535214662552, -0.028066828846931458, -0.0233489777892828, 0.046977777034044266, -0.01715872995555401, 0.026915231719613075, 0.02301003225147724, 0.011029282584786415, 0.06873960047960281, -0.04664452746510506, 0.021739119663834572, -0.02761547639966011, 0.039185404777526855, -0.016269614920020103, 0.008087178692221642, -0.02383648417890072, -0.0423673652112484, -0.006042805965989828, -0.035980887711048126, -0.012866245582699776, -0.0044432152062654495, -0.035838622599840164, 0.029308734461665154, -0.027372723445296288, -0.010237849317491055, 0.04626850038766861, 0.009942227974534035, -0.024651195853948593, -0.05206442251801491, -0.036576759070158005, -0.046720243990421295, -0.053621016442775726, 0.010965846478939056, 0.0195848997682333, -0.009980123490095139, -0.022884158417582512, 0.0052828919142484665, -0.0035987170413136482, -0.04475118964910507, 0.06838765740394592, -0.0463935062289238, -0.03573126718401909, 0.01484477799385786, 0.02377117983996868, 0.01497664675116539, -0.004089629277586937, 0.04069734364748001, -0.002433657180517912, -0.004439449869096279, -0.01839498057961464, 0.030108651146292686, 0.008614995516836643, -0.008321627043187618, 0.00002776205656118691, -0.08250915259122849, 0.02475425973534584, 0.03169883415102959, -0.011435733176767826, -0.06450352072715759, 0.03754431754350662, 0.035650476813316345, 0.007430585566908121, 0.05840565264225006, -0.011178333312273026, -0.007996928878128529, -0.06403464078903198, 0.006054682191461325, -0.03192654997110367, 0.015355398878455162, 0.06777297705411911, -0.015318193472921848, 0.0765659287571907, 0.020759953185915947, -0.017882972955703735, -0.039941612631082535, -0.017982730641961098, 0.013845238834619522, -0.001668729237280786, -0.010642511770129204, -0.017520641908049583, -0.029214538633823395, -0.09205588698387146, -0.016063937917351723, 0.01720861718058586, -0.015215515159070492, -0.027561260387301445, 0.02549891360104084, 0.011251959949731827, -0.018720148131251335, 0.022901467978954315, -0.05547314137220383, 0.03801147639751434, -0.003827712731435895, -0.023658815771341324, -0.0030981956515461206, 0.016406573355197906, -0.006910810247063637, -0.0015290383016690612, 0.028682706877589226, -0.047696422785520554, 0.01687147468328476, -0.002126729115843773, 0.03192194551229477, 0.05545288696885109, 0.010657275095582008, -0.02088570035994053 ]
[ -0.078470878303051, -0.0030915227252990007, -0.011466318741440773, -0.01833345927298069, 0.047639019787311554, -0.025934696197509766, -0.011137731373310089, 0.00536150299012661, -0.028061849996447563, -0.030413281172513962, 0.01757854036986828, -0.01789708063006401, 0.008007652126252651, -0.028421571478247643, 0.06100909411907196, 0.041534945368766785, -0.00358143774792552, -0.06598295271396637, 0.002567312913015485, 0.027052395045757294, -0.008037423714995384, -0.004418279975652695, -0.00829984713345766, -0.0211649127304554, 0.025071676820516586, 0.0002201166353188455, 0.024059798568487167, -0.01834454946219921, 0.0012834916124120355, -0.15575745701789856, -0.004442453384399414, -0.00531818438321352, 0.03702965006232262, -0.02995077148079872, 0.029295027256011963, 0.0885951817035675, 0.013906659558415413, 0.026922879740595818, -0.03060320019721985, 0.0403345488011837, 0.03060215711593628, 0.03615105152130127, -0.047221750020980835, -0.0687548965215683, 0.019144536927342415, 0.004702925682067871, 0.00851355493068695, -0.04139547795057297, -0.023695148527622223, 0.0022303746081888676, -0.0731038972735405, -0.043462008237838745, -0.01291564293205738, -0.00994078442454338, -0.03504620119929314, 0.013022295199334621, 0.0355820506811142, 0.061607666313648224, 0.009077840484678745, 0.01026720181107521, 0.035712212324142456, -0.04068232327699661, -0.12628698348999023, 0.07696391642093658, 0.060467757284641266, 0.05486806109547615, -0.0511307530105114, -0.012788333930075169, -0.04084028676152229, 0.11454098671674728, 0.015352077782154083, -0.037650056183338165, 0.0017992024077102542, 0.044571563601493835, 0.0321958102285862, 0.0015610356349498034, 0.03165291249752045, 0.04308105260133743, 0.030750831589102745, -0.04231763258576393, -0.02451944351196289, 0.014862146228551865, -0.03346121683716774, -0.01374452468007803, -0.036491237580776215, 0.0019379784353077412, -0.016293510794639587, 0.044281650334596634, 0.027347005903720856, 0.055121082812547684, 0.057642459869384766, 0.010257784277200699, 0.037291258573532104, -0.008771238848567009, -0.07561532407999039, -0.03473624214529991, -0.008966888301074505, 0.013504497706890106, -0.07301817834377289, 0.44692838191986084, -0.0434635654091835, -0.017349928617477417, 0.08762014657258987, 0.04495672881603241, -0.006193440407514572, 0.005859063938260078, 0.03610141575336456, -0.03733919560909271, 0.021760139614343643, -0.006539452355355024, 0.012226317077875137, 0.026173396036028862, 0.05984907224774361, -0.0481884591281414, -0.008112994953989983, 0.027811331674456596, 0.0029904660768806934, 0.028503065928816795, -0.02698918618261814, -0.013018096797168255, -0.004136228933930397, 0.015047118999063969, 0.019522905349731445, -0.005718376021832228, -0.03638654947280884, -0.03714248910546303, 0.020061278715729713, 0.04573780298233032, 0.04699479416012764, -0.03795710951089859, 0.05342637002468109, -0.038140974938869476, -0.05930072441697121, 0.038033377379179, -0.00838931743055582, 0.006914193741977215, 0.01708291657269001, -0.02797355130314827, -0.026829253882169724, 0.04712172970175743, 0.04607752338051796, -0.000052434694225667045, -0.00259024859406054, -0.041688770055770874, -0.0533565916121006, 0.10150528699159622, 0.036503780633211136, -0.0361609011888504, -0.015210171230137348, -0.037025827914476395, -0.018414722755551338, 0.013265248388051987, 0.0002839484077412635, -0.03673328831791878, 0.03747076168656349, 0.003860445925965905, 0.08384399116039276, -0.0032248208299279213, -0.07019168883562088, 0.00895096268504858, -0.0003302457625977695, -0.020785363391041756, -0.06002971902489662, 0.021419310942292213, 0.09343789517879486, -0.07442409545183182, -0.017824187874794006, -0.025288531556725502, 0.041185081005096436, -0.0630280077457428, -0.02306591160595417, 0.016134314239025116, 0.0030007006134837866, -0.02120746113359928, 0.04863163083791733, -0.04109814763069153, -0.03371194377541542, 0.0014159061247482896, 0.06134996935725212, 0.020619679242372513, 0.0356454998254776, 0.01363314874470234, -0.017688902094960213, 0.002196860732510686, -0.04598895087838173, -0.08009897917509079, -0.028669463470578194, 0.002555672312155366, -0.018170980736613274, -0.014914652332663536, -0.021583005785942078, -0.04068353772163391, -0.08168026059865952, 0.10311787575483322, -0.008219628594815731, -0.01936844363808632, 0.008588760159909725, -0.004762300755828619, -0.04265058785676956, 0.0026879599317908287, -0.06837164610624313, 0.02231239341199398, -0.03003142774105072, 0.013291416689753532, -0.06507275998592377, 0.06047813966870308, 0.04995822533965111, -0.06224426254630089, 0.09897378832101822, 0.0534147284924984, -0.04451371356844902, -0.010660538449883461, 0.017829516902565956, 0.022908322513103485, 0.012737927958369255, 0.01746964640915394, 0.001536220544949174, 0.013124391436576843, 0.007593914866447449, 0.05452798679471016, -0.01375728938728571, 0.01593364030122757, -0.014013668522238731, -0.3668547570705414, -0.04315125569701195, -0.037780288606882095, -0.004988173954188824, 0.036425717175006866, -0.01654384657740593, 0.0021016045939177275, -0.0185437873005867, -0.039894018322229385, 0.03297001123428345, 0.09576240926980972, -0.04201794043183327, 0.0051797558553516865, -0.06970320641994476, 0.020493339747190475, -0.02130310982465744, -0.05973915383219719, -0.025590036064386368, -0.03400478884577751, 0.009803824126720428, -0.01526663824915886, -0.00468269269913435, -0.0006760184187442064, -0.0675525963306427, -0.02464986778795719, -0.029600683599710464, 0.09457645565271378, 0.0058372896164655685, 0.0489521250128746, -0.03832952305674553, 0.026910049840807915, 0.004729487467557192, 0.024149572476744652, -0.1249532401561737, 0.003535041119903326, -0.024152854457497597, 0.01697058230638504, -0.037350207567214966, 0.004399894271045923, -0.0263817235827446, -0.059764616191387177, 0.01662050001323223, -0.06397294998168945, -0.023526322096586227, -0.0896310955286026, 0.044030703604221344, -0.020947134122252464, -0.02461344376206398, -0.029567882418632507, 0.07472952455282211, 0.010067567229270935, 0.008582050912082195, 0.025681504979729652, -0.006720375269651413, 0.0016322353621944785, -0.036455973982810974, -0.07712725549936295, 0.032005537301301956, 0.023786265403032303, -0.020901160314679146, 0.019356032833456993, 0.06616627424955368, 0.037806447595357895, -0.04253533110022545, 0.00801914930343628, 0.014502334408462048, 0.012376053258776665, 0.019431637600064278, 0.025844277814030647, -0.006651969160884619, 0.005658674519509077, 0.12008967995643616, -0.017508024349808693, -0.05724160373210907, 0.030986834317445755, 0.01216028444468975, -0.0307471863925457, 0.02509494684636593, -0.005873482208698988, -0.012081190012395382, 0.010065474547445774, -0.03846848011016846, -0.007540480233728886, -0.02450813725590706, -0.0032424943055957556, 0.03260067477822304, -0.047218937426805496, -0.06109851598739624, 0.06655866652727127, 0.02094002440571785, 0.0019615921191871166, 0.0206306092441082, -0.03605842962861061, -0.05222664028406143, 0.07434196770191193, 0.011164196766912937, -0.2107086032629013, 0.01731744222342968, 0.061637382954359055, 0.01928415521979332, -0.03432353958487511, 0.05066445469856262, 0.020504500716924667, -0.006276360247284174, 0.03920673578977585, 0.018589893355965614, 0.028731070458889008, 0.036475636065006256, 0.005973718594759703, 0.0009524102788418531, 0.04183078557252884, -0.0006120303296484053, 0.039640966802835464, -0.015334175899624825, 0.01658579707145691, -0.015164725482463837, 0.01975436694920063, -0.012024075724184513, 0.12083940207958221, 0.0025121981743723154, 0.02479424700140953, -0.007765903137624264, -0.010346969589591026, 0.031511660665273666, 0.05896862596273422, -0.015192665159702301, -0.0057531013153493404, 0.007318296004086733, 0.007622961886227131, 0.02145962044596672, 0.03442224860191345, -0.0900263860821724, -0.025378314778208733, 0.023078422993421555, 0.01962205208837986, 0.0013168667210265994, 0.025089137256145477, 0.001834179158322513, 0.005048366263508797, 0.03268226236104965, 0.0964607521891594, -0.018401749432086945, -0.0002038782404270023, -0.04608402028679848, -0.05613289028406143, -0.01985466666519642, -0.046780720353126526, -0.018881209194660187, 0.010899623855948448, 0.00914969015866518, 0.012080268934369087, 0.08371058851480484, 0.03817428648471832, -0.020882440730929375, 0.011695527471601963, -0.009801603853702545, -0.04201759025454521, -0.005413042847067118, 0.09143947064876556, 0.03327314555644989, 0.03805788233876228 ]
[ -0.015640931203961372, -0.02551349811255932, 0.04922259598970413, 0.01696043275296688, -0.0007542707026004791, -0.023102961480617523, 0.007040069438517094, 0.013953493908047676, 0.009030597284436226, 0.014901995658874512, -0.040144167840480804, 0.033619947731494904, 0.008039221167564392, 0.014038569293916225, 0.0038875467143952847, -0.014486553147435188, 0.001357103232294321, 0.026354340836405754, 0.034909769892692566, 0.014023738913238049, -0.020961819216609, 0.004392844159156084, -0.016761893406510353, 0.003779200604185462, -0.010791212320327759, -0.0032252296805381775, -0.04974846914410591, 0.016603900119662285, 0.03002694621682167, -0.12209765613079071, -0.04940657317638397, -0.013505559414625168, 0.0051308972761034966, -0.0012986997608095407, 0.017862800508737564, 0.023483535274863243, -0.007538489531725645, -0.0040843291208148, -0.025176623836159706, 0.002958242315798998, 0.008913001045584679, 0.019037192687392235, -0.013525184243917465, -0.009162362664937973, -0.0029066549614071846, 0.0000934651106945239, -0.019198745489120483, -0.036454081535339355, 0.010229225270450115, -0.03694714978337288, -0.06447355449199677, -0.04120747372508049, -0.03306969627737999, -0.03263673558831215, -0.001608320977538824, -0.015951788052916527, 0.024950547143816948, -0.028910351917147636, 0.022832734510302544, -0.030989471822977066, 0.02309875562787056, 0.00015400095435325056, -0.028071781620383263, -0.029774852097034454, 0.0023529003374278545, 0.004606910049915314, -0.03513157740235329, -0.006496933288872242, -0.03789663314819336, 0.016735946759581566, 0.021382031962275505, 0.008695249445736408, -0.05874680355191231, -0.030214844271540642, -0.013515377417206764, -0.0030678915791213512, 0.0006059709121473134, 0.006803561933338642, 0.012479697354137897, -0.01570024900138378, -0.017761368304491043, 0.017404351383447647, 0.02104903571307659, -0.016093574464321136, -0.01526101678609848, -0.008021541871130466, 0.02042105607688427, -0.00026280892780050635, 0.010285048745572567, 0.006724582053720951, -0.013351209461688995, 0.010259122587740421, 0.024929702281951904, 0.030718158930540085, -0.09355797618627548, -0.027331512421369553, 0.010616478510200977, 0.0037100359331816435, -0.016698801890015602, 0.8529415130615234, -0.009442029520869255, -0.008293479681015015, 0.03132567182183266, -0.03281237185001373, 0.027550579980015755, -0.006505308207124472, -0.0175185464322567, -0.026038004085421562, -0.008115003816783428, 0.002733391709625721, -0.036412063986063004, 0.020737897604703903, 0.006643214263021946, 0.028389934450387955, 0.037736792117357254, 0.03953235596418381, -0.005525487009435892, 0.01854216679930687, -0.002031657611951232, 0.01671116054058075, 0.055730920284986496, -0.0038303211331367493, 0.01017920020967722, -0.0030568926595151424, -0.006495791021734476, -0.1761002242565155, -0.012466230429708958, -7.928312666952927e-33, 0.03474001958966255, -0.03061523102223873, 0.028025761246681213, 0.0006904954789206386, 0.01486198790371418, -0.022814370691776276, -0.0037581846117973328, 0.018758689984679222, -0.006453848909586668, -0.016342198476195335, -0.03401865437626839, -0.010455501265823841, -0.0012973207049071789, -0.022656511515378952, 0.018194418400526047, -0.0190624687820673, -0.03047005832195282, 0.03232231363654137, 0.0015480666188523173, 0.026145974174141884, 0.023341504856944084, 0.004502811469137669, -0.030348176136612892, 0.005457986146211624, 0.03462126851081848, 0.013639296405017376, 0.01390925794839859, 0.016463259235024452, -0.008794024586677551, -0.043134916573762894, -0.033792104572057724, -0.006725221406668425, -0.008821084164083004, -0.016117727383971214, -0.03944040834903717, -0.04162273183465004, -0.01188093051314354, 0.007930989377200603, -0.041639700531959534, -0.00039596951683051884, 0.007421799469739199, -0.01338315848261118, -0.054417841136455536, 0.017462637275457382, -0.006611599586904049, 0.01777820847928524, 0.05674893036484718, 0.0009387993486598134, 0.008404163643717766, 0.0071554891765117645, 0.0027151128742843866, 0.0125666419044137, 0.009474426507949829, 0.008811824023723602, -0.01145087368786335, 0.01434661541134119, 0.018460668623447418, -0.0025713015347719193, 0.0057571157813072205, -0.009097546339035034, 0.049687884747982025, -0.002064214553683996, -0.005067812278866768, 0.029881475493311882, -0.010314161889255047, 0.0008601172594353557, 0.010773246176540852, 0.01991097442805767, 0.04454765096306801, -0.009422393515706062, -0.07667803764343262, 0.012550289742648602, -0.013575308956205845, -0.026173938065767288, -0.01040179468691349, -0.02750510722398758, 0.01500573381781578, 0.02724950946867466, -0.0111484844237566, 0.018542110919952393, -0.017575358971953392, -0.0019339906284585595, -0.005013731773942709, -0.01682605780661106, -0.013773505575954914, 0.030302442610263824, 0.04775363579392433, 0.00618397630751133, -0.05513918399810791, 0.035806428641080856, 0.027890760451555252, 0.0043303691782057285, 0.0013349807122722268, 0.009907550178468227, -0.002506060292944312, 8.05624759462467e-33, 0.0058492571115493774, -0.03411685675382614, -0.00427418015897274, 0.005008155480027199, 0.05721205472946167, -0.021530767902731895, 0.016783637925982475, -0.012678173370659351, -0.02157978154718876, 0.033989399671554565, -0.028147360309958458, -0.03008117899298668, -0.01486273668706417, 0.03456444293260574, 0.013904045335948467, -0.06239756569266319, 0.04040106385946274, -0.0049386052414774895, -0.008088696748018265, -0.009872928261756897, -0.002097796183079481, 0.020687131211161613, 0.00046616941108368337, -0.01100289449095726, 0.008959148079156876, 0.07207633554935455, -0.008708889596164227, -0.0012291045859456062, 0.00694283377379179, -0.0327320359647274, 0.01044325903058052, -0.010861088521778584, 0.0032265461049973965, -0.0013652130728587508, 0.005596739239990711, 0.013448863290250301, -0.014024600386619568, -0.0076928469352424145, 0.00004600347165251151, -0.0024426341988146305, 0.014170129783451557, 0.04129745066165924, 0.016996553167700768, 0.047548558562994, -0.000742426433134824, 0.03866422921419144, 0.019409911707043648, -0.01971895806491375, -0.015426596626639366, 0.01146940141916275, 0.015365450643002987, 0.004269690252840519, 0.006660702172666788, 0.011446366086602211, 0.028717122972011566, -0.016545195132493973, -0.019441090524196625, -0.007068412844091654, 0.004194813780486584, 0.015377121046185493, -0.007196192629635334, -0.00801168940961361, -0.010870206169784069, -0.015050681307911873, -0.03407370671629906, -0.0034347912296652794, -0.006566988304257393, 0.0018119231099262834, 0.007794318720698357, 0.017234129831194878, -0.011844905093312263, 0.03661409765481949, -0.00027000694535672665, 0.04186958819627762, -0.004545167554169893, -0.0069331638514995575, -0.02743580751121044, 0.02048683352768421, 0.008444377221167088, 0.003341343253850937, 0.02057364210486412, -0.013713225722312927, -0.027895312756299973, 0.030611323192715645, -0.0104433698579669, 0.03300616890192032, -0.01860475167632103, 0.04700424149632454, 0.03824489936232567, 0.003003637073561549, -0.0034032759722322226, -0.051639579236507416, -0.005860215052962303, 0.020555200055241585, -0.0020297463051974773, -1.359027290703807e-8, 0.022477176040410995, 0.03338400647044182, -0.027396520599722862, -0.01585225760936737, 0.02261221595108509, 0.0010699284030124545, -0.018610354512929916, 0.018697088584303856, -0.020932456478476524, 0.02855820022523403, 0.04955213889479637, 0.011639690957963467, -0.02384275570511818, 0.034347567707300186, -0.006216142792254686, -0.0396713986992836, 0.015146434307098389, 0.005854965187609196, 0.03995218873023987, -0.0008071543998084962, 0.0037111544515937567, 0.052546173334121704, -0.0374971367418766, -0.008610237389802933, 0.022960107773542404, -0.022322313860058784, -0.011319122277200222, -0.09285636991262436, -0.001765723805874586, 0.0013667653547599912, 0.0023641581647098064, -0.038348931819200516, -0.03805350139737129, 0.0417589507997036, -0.00865760538727045, -0.01969674974679947, -0.002975467825308442, 0.02109609916806221, 0.02583165280520916, 0.014897869899868965, 0.007186370436102152, 0.012237735092639923, 0.001364478375762701, -0.035759009420871735, -0.04014083743095398, 0.021445410326123238, -0.035727422684431076, -0.017265956848859787, -0.029559984803199768, -0.04312879219651222, -0.008991193026304245, -0.026134943589568138, -0.0052023218013346195, 0.04491594433784485, 0.02391686476767063, 0.03340700641274452, 0.0073327962309122086, -0.024516234174370766, -0.03236803784966469, 0.020266737788915634, 0.008374838158488274, 0.03340371698141098, 0.011165976524353027, -0.014399275183677673 ]
challenging-projects-and-the-five-stages-of-grief
https://markhneedham.com/blog/2009/08/13/challenging-projects-and-the-five-stages-of-grief
false
2009-08-25 22:42:55
Coding: Coupling and Expressiveness
[ "coupling" ]
[ "Coding" ]
We came across an interesting situation in our code base recently whereby two coding approaches which I consider important for writing maintainable code seemed to come into conflict with each other. The code we were working on needed to retrieve some customer details from a backend system by making use of the current user's 'customerId' which we can retrieve from the 'LoggedInUser'. My initial thought was that since we only needed one property of the 'LoggedInUser' we could just pass in the 'customerId' instead of the 'LoggedInUser': [source,csharp] ---- public class Repository { public Customer RetrieveCustomer(string customerId) { var backEndSystemCustomer = backEndSystem.RetrieveCustomer(customerId); return MapCustomer(backEndSystemCustomer); } } ---- Which we would use like this: [source,csharp] ---- public class SomeController { ... public ActionResult DoSomething() { repository.RetrieveCustomer(loggedInUser.CustomerId); // and so on } } ---- I recently came across quite a nice post which explains http://codeodor.com/index.cfm/2009/6/17/Strive-for-low-coupling-and-high-cohesion-What-does-that-even-mean/2902[different types of cohesion and coupling] that we might find in our code and from my understanding the above code has data coupling which is the loosest type of coupling that we can have apart from message coupling: ____ Data coupling is when modules share data through, for example, parameters. Each datum is an elementary piece, and these are the only data which are shared (e.g. passing an integer to a function which computes a square root). ____ It seemed to me that it was better to couple the repository to the data it required rather than to the 'LoggedInUser' which would be stamp coupling: ____ Stamp coupling (Data-structured coupling) is when modules share a composite data structure and use only a part of it, possibly a different part (e.g. passing a whole record to a function which only needs one field of it). This may lead to changing the way a module reads a record because a field, which the module doesn't need, has been modified. ____ In this case I was thinking about coupling of classes instead of coupling of modules (perhaps wrongly?) Discussing this with http://intwoplacesatonce.com/[Dave], he pointed out that the method wasn't really very expressive and that it is actually possible to pass in any string we want - even one that might not even be a customerId. The chance of making a mistake when using this API is quite high. We therefore changed the method signature so that it takes in a 'LoggedInUser' instead and then just takes the 'customerId' from that object. We only build a 'LoggedInUser' from one place in our application and everyone on the team knows that so it's much less likely that someone would make a mistake and pass in the wrong instance. [source,csharp] ---- public class Repository { public Customer RetrieveCustomer(LoggedInUser user) { var backEndSystemCustomer = backEndSystem.RetrieveCustomer(user.CustomerId); return MapCustomer(backEndSystemCustomer); } } ---- I think the code is definitely nicer like this although LoggedInUser and Repository are now coupled even though the repository only cares about one property of LoggedInUser. It seems to me though that the main reason we care about coupling is that loosely coupling our code makes it easier to change but on the other hand making our code more expressive makes it easier to read which is also important for making it easy to change. Maybe it's not such a big deal anyway - I just found it interesting that I thought I'd done the right thing and it turned out that a way I had previously rejected turned out to be more appropriate.
null
null
[ 0.006315897218883038, -0.03246079385280609, 0.001972355879843235, 0.048734311014413834, 0.08838221430778503, 0.002250808058306575, 0.028046611696481705, 0.006940286140888929, -0.004076101817190647, -0.014613217674195766, 0.007401634939014912, -0.002957988064736128, -0.06392998993396759, 0.021880686283111572, -0.024981101974844933, 0.06878010928630829, 0.08048247545957565, -0.011023524217307568, 0.03519308939576149, -0.001159236184321344, -0.014755173586308956, 0.06650613993406296, -0.010505147278308868, 0.027481673285365105, 0.018664952367544174, 0.05165673792362213, 0.00007616201037308201, -0.0032660148572176695, -0.05792218819260597, 0.006826779805123806, 0.05264795944094658, 0.030645834282040596, 0.00283023901283741, 0.02105969563126564, 0.023118186742067337, -0.022811956703662872, -0.005687166936695576, 0.0227323230355978, 0.0025383371394127607, 0.010785381309688091, -0.06323237717151642, 0.03687243163585663, 0.006397046614438295, 0.013707088306546211, -0.049592602998018265, -0.0054646083153784275, -0.0449618324637413, 0.020545706152915955, -0.03599531576037407, -0.01941703073680401, -0.0676201805472374, 0.030931582674384117, -0.057189296931028366, 0.019645854830741882, -0.012683889828622341, 0.054869670420885086, 0.010046407580375671, -0.06522060930728912, 0.02358008176088333, -0.06398622691631317, 0.01609596610069275, -0.020668400451540947, -0.0029281785245984793, 0.0019308027112856507, 0.02811003476381302, 0.007161505986005068, -0.01897214911878109, 0.06051299348473549, -0.0382276326417923, -0.005816762335598469, -0.0031893085688352585, 0.0016263042343780398, 0.0006432886584661901, 0.0045637707225978374, -0.010255716741085052, -0.040264323353767395, -0.01648535765707493, 0.036039482802152634, 0.010310221463441849, 0.06819749623537064, -0.012194241397082806, 0.01895153895020485, 0.0113857202231884, -0.003907864913344383, 0.022594625130295753, -0.04747417941689491, -0.027547994628548622, 0.005514194723218679, -0.01596967503428459, 0.04162099212408066, 0.01823667250573635, -0.0405065193772316, 0.010908483527600765, 0.05457845330238342, 0.00007922700024209917, 0.004064922221004963, 0.003980974666774273, -0.023710457608103752, 0.00459132669493556, -0.016692865639925003, -0.027256233617663383, 0.0054559060372412205, 0.03371161222457886, -0.0001755411794874817, -0.06353053450584412, 0.00271495315246284, -0.04766760393977165, -0.039704639464616776, 0.019289206713438034, 0.01243757363408804, -0.05480950325727463, 0.001602061209268868, -0.03828511759638786, -0.01013041753321886, -0.06784552335739136, 0.06128684803843498, 0.007178339641541243, -0.017114227637648582, 0.007924633100628853, 0.019522404298186302, 0.05882706120610237, 0.018412504345178604, -0.03262006491422653, 0.06960224360227585, 0.016151465475559235, 0.034557659178972244, -0.01638508401811123, 0.06214860826730728, -0.02917994186282158, -0.0756593719124794, -0.03835606202483177, 0.04320592060685158, -0.02290739305317402, 0.004446704406291246, 0.004932236857712269, -0.020112836733460426, -0.011687555350363255, 0.009866876527667046, 0.03130998834967613, 0.0370146818459034, -0.03162144497036934, -0.022253774106502533, 0.023250052705407143, 0.007243057247251272, 0.018467852845788002, 0.01938571408390999, -0.007352538872510195, -0.03827612102031708, -0.00041616172529757023, 0.0495203472673893, 0.00855642557144165, 0.06323932856321335, 0.045503608882427216, -0.03606522083282471, 0.0032139508984982967, 0.07289443165063858, -0.006574016995728016, 0.014475606381893158, -0.01397225446999073, 0.022910136729478836, 0.036175623536109924, 0.005520741455256939, -0.004404016770422459, 0.04624710604548454, 0.02600458450615406, 0.01283662673085928, -0.0074064601212739944, 0.040733300149440765, 0.009502427652478218, -0.001109499135054648, -0.08893121778964996, -0.0526876375079155, 0.05407597869634628, -0.04262819141149521, -0.006003235932439566, 0.04956706240773201, 0.07567326724529266, 0.009485623799264431, 0.05740531533956528, 0.0011274294229224324, -0.07503358274698257, 0.03298686817288399, 0.00622430769726634, -0.023735161870718002, 0.013862092047929764, 0.010620154440402985, 0.0817432850599289, 0.02045314386487007, -0.010799829848110676, 0.029597334563732147, -0.06235155090689659, -0.056508589535951614, -0.0347471609711647, -0.011327490210533142, 0.053907740861177444, -0.05869828164577484, -0.013506056740880013, 0.08028586953878403, 0.007118212524801493, 0.03148839995265007, 0.01325941365212202, -0.02441878244280815, 0.02356739714741707, -0.005806932225823402, -0.01714271493256092, 0.04073372483253479, 0.03973042964935303, 0.01410735584795475, -0.0244268998503685, -0.006482188124209642, -0.012516074813902378, 0.004183253273367882, 0.04351835697889328, -0.015043527819216251, 0.056014563888311386, 0.0015858247643336654, 0.026389436796307564, -0.02082938887178898, 0.06162864342331886, -0.08625388890504837, 0.018012987449765205, -0.000614905497059226, -0.025444265455007553, 0.01341516338288784, -0.010285208001732826, 0.11831846833229065, 0.06313517689704895, -0.03191671893000603, -0.04424157738685608, 0.04320476949214935, 0.008974796161055565, -0.04175485298037529, -0.003426607931032777, -0.016911879181861877, 0.01242188923060894, 0.011255677789449692, -0.039730217307806015, -0.005963983479887247, 0.007874401286244392, -0.03317645192146301, 0.01594069041311741, 0.07949060946702957, -0.034910403192043304, 0.03454405441880226, 0.017883718013763428, -0.00973819475620985, -0.03338145837187767, -0.015647491440176964, -0.03337766230106354, 0.011521837674081326, 0.008462551981210709, -0.0030124266631901264, 0.05742926895618439, -0.03244096040725708, -0.013481189496815205, -0.029210619628429413, -0.02628793753683567, 0.024939244613051414, 0.013092334382236004, 0.058426633477211, -0.007482924964278936, 0.054345984011888504, -0.011444451287388802, 0.012372097000479698, -0.001641349052079022, -0.03196762874722481, -0.0039016183000057936, -0.00774352578446269, 0.002929347800090909, 0.044648319482803345, 0.017903797328472137, -0.0006411116337403655, 0.021530063822865486, 0.016907017678022385, -0.020182577893137932, 0.00016089127166196704, 0.05447126552462578, -0.023877402767539024, -0.03885222598910332, -0.04609348997473717, -0.023874348029494286, 0.03634841740131378, -0.04554625600576401, -0.06061658263206482, 0.01570589654147625, -0.07433493435382843, 0.03655856102705002, -0.07277815043926239, -0.06284426897764206, 0.004309643991291523, 0.0452534444630146, 0.022619085386395454, -0.0012485635234043002, 0.03639112785458565, 0.07581932842731476, 0.01435858104377985, 0.004521330818533897, 0.01124179270118475, 0.030962208285927773, 0.034044425934553146, -0.006212370935827494, -0.004627677146345377, 0.03102719970047474, -0.01156099047511816, -0.009858849458396435, -0.053938981145620346, 0.018033375963568687, -0.017540860921144485, -0.27907997369766235, 0.027864107862114906, -0.013517976738512516, -0.056194551289081573, 0.048989713191986084, 0.002105520572513342, 0.04314158856868744, -0.05946900323033333, -0.021078886464238167, 0.031901583075523376, -0.011892260983586311, -0.050960421562194824, 0.007344085723161697, 0.05685221403837204, 0.004762537777423859, 0.01692822016775608, -0.0025313945952802896, -0.02602127566933632, 0.017699088901281357, 0.04928731545805931, -0.008642762899398804, -0.06823256611824036, -0.01083883736282587, 0.038634177297353745, 0.036800697445869446, 0.03278610110282898, -0.09139727056026459, 0.040002211928367615, -0.03274533152580261, -0.017492514103651047, 0.00034838897408917546, 0.004938135854899883, -0.0155232734978199, -0.027389826253056526, -0.020437592640519142, -0.03916492313146591, -0.0047667305916547775, 0.057068832218647, -0.008145255036652088, 0.0035318846348673105, -0.039966002106666565, -0.029980095103383064, -0.03092997334897518, -0.008634600788354874, 0.06058385968208313, -0.015551744028925896, -0.07331573963165283, -0.002883897628635168, -0.06307463347911835, 0.07906026393175125, -0.027565622702240944, -0.040875378996133804, 0.0031695517245680094, 0.029908129945397377, -0.02097427286207676, -0.02961161360144615, 0.005133430473506451, 0.014465263113379478, -0.06555169075727463, -0.011623618192970753, -0.0037345322780311108, -0.06018955633044243, -0.010004178620874882, -0.053308773785829544, -0.029908735305070877, -0.08562964200973511, -0.08409915119409561, -0.016234291717410088, 0.061712197959423065, 0.04676327109336853, -0.026177121326327324, 0.0015890770591795444, 0.01746557280421257, -0.11622146517038345, 0.01758384332060814, -0.047185592353343964, -0.010339951142668724, -0.052573565393686295, 0.0033085052855312824, 0.028492897748947144, 0.0008449963643215597, -0.032160259783267975, 0.02465289644896984, 0.0314394049346447, 0.02194431982934475, 0.012261971831321716, 0.03676854074001312, 0.005724530667066574, -0.028980907052755356, -0.012520851567387581, 0.07315578311681747, -0.027074750512838364, 0.008041475899517536, -0.04706071689724922, 0.006811495404690504, 0.011298585683107376, 0.02306273765861988, -0.019473500549793243, -0.016381973400712013, 0.022862477228045464, 0.04837412387132645, -0.048146575689315796, 0.008743169717490673, -0.029290037229657173, 0.0006447004852816463, -0.020555974915623665, -0.05902517959475517, 0.04196576774120331, 0.035584211349487305, 0.018880879506468773, -0.019773690029978752, -0.045358892530202866, -0.014582677744328976, -0.08519262820482254, -0.043083857744932175, -0.019246816635131836, -0.009734795428812504, 0.007584757171571255, 0.006903108209371567, -0.025027666240930557, -0.021445685997605324, 0.021718712523579597, 0.02358398213982582, 0.012453904375433922, -0.06784283369779587, -0.04132956638932228, -0.04179205372929573, -0.002946739550679922, 0.030657853931188583, 0.025679824873805046, -0.025673415511846542, 0.03418443724513054, 0.0004441267519723624, -0.049834661185741425, 0.024701504036784172, 0.017660757526755333, -0.018486058339476585, -0.038538675755262375, -0.007764456793665886, -0.000983638921752572, 0.010369929485023022, -0.011404184624552727, -0.0012804134748876095, 0.01961776614189148, 0.05465269088745117, 0.015050526708364487, 0.029704852029681206, 0.014207490719854832, 0.009372792206704617, 0.015260934829711914, -0.011212366633117199, -0.08333321660757065, 0.022091491147875786, -0.042478181421756744, -0.04735463485121727, -0.03980836644768715, 0.02605953812599182, -0.0010161554673686624, -0.021879814565181732, -0.027485597878694534, 0.042654648423194885, -0.06642184406518936, -0.024573052302002907, -0.042438406497240067, 0.015959009528160095, 0.04764363914728165, -0.03568669781088829, 0.018566986545920372, -0.035030994564294815, -0.010048002004623413, 0.01894105039536953, 0.04201021417975426, -0.03545907884836197, 0.03661475330591202, 0.01419719960540533, 0.010739111341536045, -0.0005768776754848659, 0.013915244489908218, 0.0539759136736393, 0.013172601349651814, 0.021782398223876953, -0.002011949196457863, 0.006024745758622885, -0.006777382455766201, 0.04759813845157623, 0.030230186879634857, 0.01656423695385456, -0.004251309670507908, -0.01026242971420288, -0.022228151559829712, -0.04390005022287369, -0.02011023834347725, -0.043831828981637955, 0.03841268643736839, -0.03148876130580902, -0.061024393886327744, 0.02171688713133335, 0.021612655371427536, 0.02327721379697323, 0.015316803939640522, 0.007197830826044083, 0.03158726543188095, -0.01436398271471262, 0.0141835305839777, 0.043077487498521805, -0.03811221197247505, 0.03318239003419876, -0.004301853012293577, -0.00334715424105525, 0.016241690143942833, 0.020943379029631615, -0.026236891746520996, -0.027690771967172623, -0.01908985897898674, -0.001386077143251896, -0.04748308286070824, -0.035811468958854675, -0.012837233021855354, 0.009165007621049881, 0.008009139448404312, -0.010087080299854279, -0.028156926855444908, 0.03438136354088783, -0.025646869093179703, -0.012368520721793175, 0.01890038512647152, -0.014004386030137539, 0.0036951464135199785, 0.009634929709136486, -0.03061378188431263, 0.005575972609221935, -0.03440351039171219, 0.04141297936439514, -0.0023679255973547697, -0.03168172389268875, -0.02681923285126686, -0.0671703889966011, -0.0033586008939892054, -0.007130674086511135, 0.05321716144680977, 0.001077001914381981, -0.010679380968213081, -0.014593890868127346, -0.02601773664355278, -0.024671580642461777, 0.0319509394466877, -0.017311064526438713, -0.028737757354974747, 0.0025476643349975348, 0.024468718096613884, 0.015588640235364437, 0.025310220196843147, -0.01407058909535408, -0.013765801675617695, 0.0662270113825798, -0.04009739309549332, -0.044915713369846344, -0.02318585105240345, -0.05325361341238022, -0.0029895093757659197, 0.021025732159614563, 0.022238148376345634, -0.02542876824736595, 0.045890357345342636, 0.04603525996208191, 0.03033972531557083, 0.03625394403934479, 0.032982949167490005, 0.04394329711794853, -0.0397164449095726, 0.0017496907385066152, -0.06398183107376099, 0.03517371788620949, 0.037460554391145706, 0.01633354090154171, -0.022091787308454514, -0.0024934636894613504, -0.03159070387482643, 0.02888101525604725, -0.05283711478114128, -0.01604456827044487, 0.037984948605298996, 0.003416463965550065, 0.012625658884644508, 0.012133922427892685, -0.04851038381457329, 0.02277904748916626, 0.03183121979236603, -0.05188490450382233, -0.03205038234591484, -0.05528032034635544, 0.05927010253071785, 0.02445756457746029, 0.028211772441864014, -0.052735067903995514, -0.019690265879034996, 0.029323726892471313, 0.012792125344276428, 0.026816945523023605, 0.08052049577236176, -0.0222172811627388, 0.030565161257982254, 0.008972341194748878, -0.02688882313668728, 0.0019625702407211065, 0.013932819478213787, 0.028984295204281807, -0.07902329415082932, 0.018703950569033623, 0.01057159248739481, -0.019547196105122566, -0.05337554216384888, 0.07455438375473022, -0.0038159263785928488, -0.01652907207608223, -0.07337426394224167, 0.013200526125729084, -0.03164249658584595, -0.02843010053038597, -0.024603139609098434, 0.007356948219239712, -0.013741236180067062, 0.0757145807147026, 0.007736289873719215, -0.008982965722680092, 0.06798993796110153, -0.0053123231045901775, -0.0008079544059000909, -0.005868351552635431, 0.08111198991537094, 0.07223667204380035, 0.04149119183421135, -0.013189498335123062, 0.05606202781200409, -0.022877926006913185, -0.037401359528303146, 0.02602679468691349, -0.03351140767335892, -0.008109770715236664, -0.009784210473299026, 0.006062009837478399, 0.060362234711647034, 0.017439085990190506, 0.07868079841136932, -0.0426652766764164, 0.0034552584402263165, 0.011853917501866817, 0.017503054812550545, 0.019535943865776062, 0.03548116236925125, -0.0002744845696724951, 0.005866699852049351, -0.000516723666805774, -0.02304086647927761, 0.018882248550653458, -0.023954572156071663, -0.012630666606128216, 0.006889966782182455, 0.006869121454656124, 0.018004143610596657, 0.00027515931287780404, 0.02886650525033474, 0.07045464217662811, -0.02923588827252388, -0.01867370493710041, -0.018405960872769356, 0.033589694648981094, 0.002124825259670615, -0.03687114641070366, -0.009044449776411057, -0.015241281129419804, 0.011548643931746483, -0.03342488035559654, -0.026802517473697662, -0.01980520971119404, -0.019144902005791664, 0.031034139916300774, -0.03081389330327511, 0.03315296396613121, 0.010751337744295597, 0.02188790589570999, -0.03357119485735893, -0.05225113406777382, -0.06494932621717453, -0.03580385074019432, -0.07672306895256042, -0.025731634348630905, 0.029579969123005867, 0.0014105355367064476, -0.03982018306851387, -0.029013093560934067, -0.023869074881076813, -0.021183419972658157, 0.049291256815195084, -0.009276047348976135, -0.012435052543878555, 0.02359880320727825, 0.006212108302861452, 0.05230138823390007, 0.020126083865761757, 0.03837446868419647, -0.001201620907522738, 0.0018449948402121663, -0.05056385695934296, -0.02580217830836773, 0.039807941764593124, 0.010895468294620514, 0.02089553326368332, -0.06201512739062309, 0.03772176057100296, 0.00446536298841238, -0.0016948243137449026, -0.08479281514883041, 0.0017811295110732317, 0.029102733358740807, -0.03114921785891056, 0.052761439234018326, -0.0458073616027832, -0.02298859693109989, -0.031372878700494766, -0.0055953143164515495, 0.030212940648198128, 0.05128715559840202, 0.015124140307307243, -0.029907654970884323, 0.07482926547527313, 0.03522190451622009, -0.010963126085698605, -0.013414219953119755, 0.010514529421925545, -0.010895613580942154, -0.000795797212049365, -0.04149108752608299, -0.03245712071657181, -0.027373546734452248, -0.061259105801582336, -0.017619475722312927, 0.032187093049287796, -0.029237328097224236, -0.0409078486263752, 0.01993064023554325, 0.04937976226210594, -0.054001957178115845, 0.006713902112096548, -0.03028886765241623, 0.027805529534816742, -0.012682044878602028, -0.030546266585588455, 0.022361094132065773, 0.029656024649739265, 0.00609349412843585, 0.001989424927160144, 0.011371367610991001, -0.04413118585944176, -0.010194350965321064, -0.01246712077409029, 0.020963450893759727, 0.07098108530044556, -0.007709876634180546, 0.029407374560832977 ]
[ -0.07566913962364197, 0.0037262975238263607, -0.04199284687638283, -0.03377234563231468, 0.05857088416814804, -0.0647977739572525, -0.0044611599296331406, 0.005948202684521675, 0.01034536026418209, -0.02403494156897068, -0.013546626083552837, -0.009348605759441853, 0.007586393039673567, -0.031261567026376724, 0.09770544618368149, 0.007617157883942127, -0.028077101334929466, -0.031093109399080276, 0.016769997775554657, 0.042316824197769165, 0.016532542183995247, -0.03523078188300133, -0.053137607872486115, -0.011624072678387165, 0.009666500613093376, 0.030295846983790398, 0.0031773997470736504, -0.058458782732486725, -0.004646187648177147, -0.20683430135250092, 0.014164450578391552, 0.003783215070143342, 0.03183750808238983, -0.017349373549222946, 0.014363945461809635, 0.017641166225075722, 0.05700325220823288, 0.016726531088352203, 0.011493775062263012, 0.048050206154584885, 0.009690524078905582, 0.027692271396517754, -0.054965853691101074, 0.007811593823134899, 0.018112564459443092, -0.01039084792137146, -0.0009921143064275384, -0.04694165289402008, -0.015552417375147343, 0.006346202455461025, -0.02926657721400261, 0.01598147489130497, -0.009337539784610271, 0.008357874117791653, -0.009255294688045979, 0.07521689683198929, 0.04549497738480568, 0.06138471141457558, 0.01272412296384573, 0.01492506917566061, 0.0018947666976600885, -0.024742182344198227, -0.13931608200073242, 0.08667130768299103, 0.0396248996257782, 0.029621222987771034, -0.03900011628866196, -0.019525878131389618, 0.008528340607881546, 0.07748735696077347, -0.0005302152130752802, -0.027595559135079384, -0.0739973857998848, 0.03456919267773628, 0.01733701303601265, -0.006413539871573448, -0.002211296930909157, 0.032398246228694916, 0.035181012004613876, -0.053778596222400665, -0.06688486039638519, -0.007213257253170013, -0.000992784509435296, -0.012912515550851822, -0.04907562956213951, -0.005037522409111261, -0.02068905159831047, 0.028140610083937645, 0.027229875326156616, 0.0018471520161256194, 0.06088558956980705, -0.0201189573854208, 0.0400564968585968, 0.020097000524401665, -0.1093738004565239, 0.007319233380258083, -0.009230159223079681, 0.04330667108297348, -0.044409047812223434, 0.4232215881347656, -0.034868184477090836, -0.03182898461818695, 0.03180977329611778, 0.01445725467056036, 0.00570977246388793, 0.022084012627601624, -0.0021328411530703306, -0.0376109853386879, 0.012386949732899666, -0.05444249510765076, 0.023413095623254776, -0.007985410280525684, 0.030414752662181854, -0.04549877718091011, 0.04315018281340599, 0.006552152335643768, -0.023182058706879616, 0.0045198905281722546, 0.005990409292280674, 0.015892617404460907, -0.01001310721039772, 0.0009907103376463056, 0.032139070332050323, 0.07098338752985, 0.013844547793269157, -0.008692361414432526, 0.027563044801354408, 0.0493885837495327, 0.034541308879852295, 0.013491346500813961, 0.043950531631708145, 0.0004895043093711138, -0.07204581052064896, 0.0056010023690760136, -0.0043554543517529964, 0.006701237056404352, 0.03590011969208717, -0.0384809784591198, 0.010585729032754898, 0.048210613429546356, -0.0016209909226745367, -0.009598519653081894, 0.039135124534368515, -0.010841093957424164, -0.06689230352640152, 0.1060333102941513, 0.014012450352311134, -0.032844606786966324, -0.04826704040169716, -0.029252542182803154, 0.024321993812918663, 0.04880167543888092, 0.007732606027275324, -0.05108816176652908, 0.014864467084407806, 0.018646813929080963, 0.050300367176532745, -0.03398033604025841, -0.048155128955841064, -0.0031053703278303146, 0.008387256413698196, -0.0350726842880249, -0.057364121079444885, 0.04800049960613251, 0.047044623643159866, -0.12814666330814362, -0.0021925335749983788, 0.017549952492117882, 0.02108127996325493, -0.062114689499139786, -0.016513727605342865, 0.037335485219955444, 0.0016985146794468164, -0.03023023158311844, 0.04612236097455025, -0.01172726321965456, -0.028384746983647346, -0.017546089366078377, 0.03127560392022133, 0.019887365400791168, -0.003185136942192912, 0.03287583217024803, -0.05200348049402237, 0.011133899912238121, 0.004381690640002489, -0.07340629398822784, -0.05989289656281471, 0.012263727374374866, -0.03134948015213013, -0.007948054932057858, -0.016985975205898285, -0.028227588161826134, -0.049507055431604385, 0.08426719903945923, -0.040611691772937775, -0.03459232673048973, 0.01337259728461504, -0.002834820654243231, -0.028852850198745728, -0.012037812732160091, 0.024679236114025116, 0.08526396751403809, -0.013635065406560898, 0.04010520875453949, -0.09029495716094971, 0.046632323414087296, 0.034078843891620636, -0.03703610971570015, 0.02857101336121559, 0.03470773994922638, -0.017734581604599953, -0.009431078098714352, 0.03340202942490578, 0.01640046015381813, -0.008582251146435738, -0.023099269717931747, 0.0007742498419247568, 0.05576857551932335, 0.015263088978827, 0.027405807748436928, -0.039971962571144104, 0.007118150591850281, 0.0253849308937788, -0.3730327785015106, -0.02711760438978672, -0.002039499580860138, 0.0026685490738600492, 0.005716843064874411, -0.0754355862736702, 0.024268433451652527, -0.015787100419402122, -0.06617030501365662, 0.000014975175872677937, 0.11769617348909378, -0.010374178178608418, -0.021084336563944817, -0.06499283015727997, -0.015756042674183846, 0.04663831368088722, -0.019395390525460243, -0.038806963711977005, -0.05678390711545944, -0.009115784429013729, -0.009362377226352692, -0.012121398001909256, 0.012103330343961716, -0.04110964760184288, 0.001617659698240459, -0.034240469336509705, 0.09907615929841995, -0.05165892839431763, 0.09803271293640137, -0.015406105667352676, 0.030724499374628067, -0.0007321882876567543, 0.019158439710736275, -0.08359859883785248, 0.012262266129255295, -0.031642086803913116, -0.00555759109556675, 0.005598763003945351, 0.04666382446885109, -0.020204050466418266, -0.060376495122909546, 0.011985772289335728, -0.046445444226264954, -0.048018619418144226, 0.0005622155149467289, -0.01745031587779522, -0.04227188229560852, -0.04831787571310997, -0.001143794390372932, 0.05614069104194641, -0.0058909822255373, -0.020026352256536484, 0.010714876465499401, 0.03451257199048996, -0.00819460954517126, -0.024136096239089966, -0.054597124457359314, -0.006332518998533487, 0.016522731631994247, 0.007819660007953644, 0.03616451099514961, 0.06028811261057854, 0.02231152169406414, -0.06825831532478333, 0.014950371347367764, 0.00826549343764782, 0.009925910271704197, -0.0020160595886409283, 0.04969841614365578, -0.0530986525118351, -0.004705908242613077, 0.11289206147193909, -0.014762365259230137, -0.01379935909062624, 0.03938017785549164, 0.06631102412939072, -0.017577435821294785, 0.02553558722138405, 0.00010885347001021728, -0.002323389984667301, 0.029571646824479103, 0.010122425854206085, 0.029880760237574577, -0.047366149723529816, 0.012028918601572514, 0.010825488716363907, -0.0027230489067733288, -0.012445986270904541, 0.029074840247631073, -0.013476247899234295, -0.017155198380351067, -0.022514071315526962, -0.02523811347782612, -0.07925621420145035, 0.06598766893148422, 0.013236159458756447, -0.2568378150463104, -0.0034065956715494394, 0.04226958006620407, 0.053763248026371, -0.02224026434123516, 0.05185506120324135, 0.03455793112516403, -0.06771539151668549, -0.004178489092737436, 0.0002502087445463985, 0.04008862376213074, 0.01502342987805605, 0.016905609518289566, 0.010280431248247623, 0.05701516941189766, 0.008494523353874683, 0.06129707023501396, -0.016205258667469025, 0.0008859870722517371, -0.03143075481057167, 0.014382703229784966, -0.01749131642282009, 0.1464773416519165, 0.015360012650489807, 0.02132805809378624, 0.014661219902336597, 0.0029384836088865995, 0.01887744665145874, 0.09512913972139359, 0.0016058444743975997, -0.007794176694005728, -0.014716194942593575, 0.09107755869626999, -0.013557826168835163, 0.014507819898426533, -0.041818346828222275, -0.0012083434266969562, 0.03057790733873844, 0.031423382461071014, 0.014798756688833237, -0.024843716993927956, 0.03460107371211052, -0.04718537628650665, -0.005753418896347284, 0.07038471847772598, 0.016479946672916412, 0.0007960552466101944, -0.05716850236058235, -0.02590906247496605, -0.028332659974694252, -0.018079740926623344, -0.033424992114305496, -0.011809962801635265, -0.012911495752632618, -0.0033357299398630857, 0.0576946884393692, -0.004823846742510796, -0.031046006828546524, -0.029026344418525696, 0.028665907680988312, 0.00436430424451828, 0.0028617347124964, 0.08458564430475235, 0.017151644453406334, 0.02380106784403324 ]
[ -0.015917012467980385, 0.011232166551053524, -0.011446315795183182, 0.025887450203299522, -0.021078860387206078, -0.003214015159755945, 0.0067057302221655846, 0.02523808740079403, -0.016779769212007523, 0.021975290030241013, 0.024547390639781952, 0.029411254450678825, 0.017830034717917442, -0.03792586550116539, 0.04660423472523689, -0.004685053136199713, 0.04385888949036598, -0.000517242937348783, 0.017688952386379242, 0.006089025177061558, -0.028460241854190826, 0.03129122406244278, 0.011612833477556705, -0.0029662800952792168, -0.03278107941150665, -0.011687242425978184, 0.010900589637458324, -0.0318291150033474, 0.011672134511172771, -0.12342662364244461, 0.010170990601181984, -0.006686695385724306, -0.006444948725402355, 0.014851700514554977, -0.013225564733147621, 0.005280307959765196, 0.02181083709001541, 0.031107503920793533, 0.013028605841100216, -0.017849812284111977, 0.008069814182817936, -0.0015608294634148479, -0.007542581297457218, 0.00012689280265476555, 0.009414132684469223, -0.03318525478243828, -0.023552181199193, -0.028470303863286972, -0.009970198385417461, 0.0010699916165322065, -0.02317146211862564, -0.015087953768670559, 0.014831427484750748, 0.010363142937421799, -0.0062762233428657055, -0.003848085645586252, -0.0005084829754196107, -0.005328239873051643, 0.0007439797045662999, -0.0013594048796221614, -0.0015749366721138358, 0.012434624135494232, -0.0099949911236763, -0.03607019782066345, 0.003948930185288191, 0.0014105384470894933, -0.0090789794921875, -0.018255893141031265, 0.012190720997750759, -0.018786722794175148, -0.004200131166726351, 0.0035550796892493963, -0.03316979855298996, -0.015478760004043579, -0.009467780590057373, -0.0005220106104388833, 0.03321031108498573, -0.020679518580436707, 0.028071388602256775, -0.027603503316640854, -0.03344462439417839, 0.02661346085369587, 0.014669296331703663, 0.002666098764166236, -0.02103348635137081, -0.009658187627792358, 0.006290376652032137, -0.008872773498296738, -0.010901824571192265, -0.010188418440520763, 0.004891471471637487, 0.007869779132306576, 0.02008548565208912, 0.004637055564671755, -0.08992554247379303, -0.020314227789640427, -0.018725045025348663, -0.026318425312638283, -0.00867199245840311, 0.8773759603500366, -0.010074240155518055, 0.030374502763152122, 0.0284739937633276, 0.018998265266418457, -0.02238984778523445, -0.0274330023676157, 0.003113590879365802, -0.003881952026858926, -0.012536004185676575, -0.021291183307766914, 0.0019036756129935384, 0.030498845502734184, 0.008068108931183815, 0.0312049463391304, 0.023205285891890526, 0.002598231192678213, 0.005122033413499594, -0.020521556958556175, -0.00852060317993164, 0.005733261350542307, 0.02677307091653347, -0.0026063083205372095, -0.019479891285300255, -0.018580082803964615, 0.0248364619910717, -0.1926456242799759, 0.03263239189982414, -8.529141625120784e-33, 0.03229648619890213, 0.03067661263048649, 0.01991577073931694, 0.03475021570920944, 0.060854874551296234, 0.010114124044775963, 0.006006809417158365, 0.01711883209645748, 0.013140306808054447, -0.009175004437565804, -0.014921080321073532, -0.003402415430173278, 0.013522068038582802, 0.0002637795405462384, 0.030297674238681793, -0.009886402636766434, -0.01622328720986843, 0.048375822603702545, 0.012702727690339088, 0.0031330734491348267, -0.00249884813092649, 0.028483949601650238, 0.02567734755575657, -0.002210209844633937, 0.04100067541003227, 0.019085124135017395, -0.004637973848730326, 0.018850360065698624, 0.006270060781389475, -0.04376047104597092, 0.032380979508161545, 0.009842514991760254, 0.013572332449257374, 0.014066042378544807, 0.013192717917263508, -0.04551530256867409, -0.01791321113705635, -0.008663034066557884, -0.03836153820157051, -0.04229365661740303, -0.03988109529018402, 0.01843791827559471, -0.036672238260507584, 0.01620236039161682, -0.03297363594174385, -0.04477565363049507, 0.018030744045972824, 0.010367089882493019, 0.025664780288934708, 0.0023189804051071405, 0.02465747855603695, 0.015079154632985592, -0.0010554402833804488, 0.01687115803360939, -0.027619624510407448, 0.013614929281175137, 0.005090444348752499, -0.01889933831989765, 0.0025608607102185488, 0.014135963283479214, 0.021978478878736496, -0.0415046364068985, -0.014707054942846298, -0.031085064634680748, -0.0010845728684216738, 0.0011525581358000636, -0.006509511731564999, -0.03214571252465248, 0.02056298404932022, -0.001508569810539484, -0.03489045426249504, 0.0007063450175337493, -0.025255775079131126, 0.002116332994773984, 0.01071687787771225, -0.016935978084802628, -0.005657503381371498, 0.01671750470995903, 0.01216775644570589, 0.021251510828733444, -0.010391299612820148, -0.00545252300798893, -0.021446973085403442, 0.020941879600286484, -0.008123502135276794, 0.005189497489482164, 0.012743528932332993, -0.0023749719839543104, 0.003196129808202386, 0.023158786818385124, 0.010691188275814056, 0.03760821372270584, -0.0010016189189627767, -0.01772071234881878, 0.009892499074339867, 8.491940167653136e-33, -0.03702718764543533, -0.0068711391650140285, -0.026920033618807793, 0.014170642010867596, -0.0030323159880936146, -0.012041989713907242, 0.003541285404935479, 0.017252113670110703, -0.05326129123568535, 0.019201992079615593, 0.0015940307639539242, 0.009369786828756332, -0.005840469617396593, 0.037405334413051605, 0.04898160696029663, 0.014032034203410149, 0.02097061276435852, -0.011443806812167168, 0.01598271355032921, -0.004398763179779053, 0.03882196918129921, 0.0019471708219498396, 0.015073695220053196, -0.003783291671425104, 0.002925159875303507, 0.028478922322392464, -0.05149734392762184, 0.0105044636875391, 0.008937719278037548, -0.03309793397784233, -0.020483016967773438, 0.00029139546677470207, 0.019038133323192596, -0.04300554841756821, -0.024958273395895958, 0.006355734542012215, -0.007299686782062054, -0.012211776338517666, 0.002413475653156638, -0.012010731734335423, -0.012178558856248856, -0.028423340991139412, 0.014080778695642948, 0.016693230718374252, 0.015846066176891327, -0.005705589894205332, 0.010124129243195057, -0.0008568851044401526, 0.004232315346598625, 0.046369586139917374, 0.009409470483660698, -0.0119141461327672, 0.02860368974506855, 0.03323518484830856, -0.005718128755688667, -0.016078853979706764, 0.004961332306265831, -0.010356133803725243, -0.007795814424753189, 0.01249834056943655, 0.011011567898094654, 0.018261980265378952, -0.00757728423923254, 0.017870908603072166, -0.03214855119585991, -0.041947025805711746, 0.002650672569870949, -0.008927453309297562, -0.004486480262130499, -0.04335469752550125, -0.023649215698242188, -0.02816077694296837, -0.0034247327130287886, 0.03568463772535324, 0.025221649557352066, -0.037210863083601, -0.03751220181584358, -0.0215951856225729, 0.026326892897486687, 0.0063082813285291195, 0.010425685904920101, -0.014315799809992313, 0.020842276513576508, 0.00029580589034594595, -0.008742242120206356, -0.01084729190915823, 0.007465849630534649, 0.00492584565654397, 0.014624420553445816, -0.008133135735988617, -0.04835876077413559, -0.010305777192115784, -0.012770143337547779, -0.010911204852163792, -0.011414939537644386, -1.3967596856900855e-8, -0.028735773637890816, 0.030075034126639366, 0.0036748878192156553, -0.004532133229076862, 0.038581568747758865, -0.005693443585187197, -0.029723774641752243, -0.010896016843616962, -0.018064523115754128, 0.01533427368849516, 0.006284758448600769, 0.015944277867674828, 0.006615451071411371, -0.012185283936560154, 0.005134063307195902, -0.041232239454984665, -0.034967195242643356, -0.044594477862119675, 0.024165283888578415, 0.02002289518713951, 0.00686014536768198, 0.036226075142621994, -0.029749445617198944, 0.0030610179528594017, 0.03486983850598335, 0.015141167677938938, 0.04932684451341629, -0.05395368114113808, 0.011460177600383759, -0.0009288010187447071, 0.014849195256829262, -0.020332233980298042, -0.008758855983614922, 0.0003162593056913465, -0.027466213330626488, -0.01512120570987463, 0.01309195812791586, 0.02137293480336666, 0.018308056518435478, 0.005458236671984196, 0.022530572488904, -0.013062277808785439, -0.000002857874278561212, -0.00946440827101469, 0.0003368287580087781, 0.005425421055406332, -0.009641872718930244, 0.017743322998285294, 0.0064338622614741325, -0.002646904904395342, -0.010251251049339771, -0.022652853280305862, 0.008087707683444023, 0.01505405455827713, 0.0012512046378105879, -0.03428119048476219, 0.006981763988733292, -0.038994528353214264, 0.01109600905328989, 0.0077244434505701065, 0.036128997802734375, 0.026649147272109985, -0.033283982425928116, -0.042485859245061874 ]
coding-coupling-and-expressiveness
https://markhneedham.com/blog/2009/08/25/coding-coupling-and-expressiveness
false
2009-01-04 22:17:08
Agile: When is a story done?
[ "agile", "velocity" ]
[ "Agile" ]
I've worked on a few different agile projects and one of the things that hasn't been completely consistent is when we consider a story to be 'done'. There seem to a few different approaches, each of which has its benefits and drawbacks. == Why do we care? We care about 'done' for tracking the points we have achieved in an iteration and for knowing when we have added the value the story provides. For this post I'm interested in 'done' in terms of when we count the story towards our points total. == Business proxy signoff With this approach we count a story as done when it has been signed of by a business proxy, typically a client business analyst or maybe a combination of a BA/QA. The benefit of this approach is that we have normally have better access to a BA meaning that we don't end up having stories piled up waiting to be signed off as being done. I have seen 2 mini approaches, both of which require a story walk through with the BA/QA: * Acceptance tests pass \=> Done * Acceptance tests pass + exploratory testing satisfactory \=> Done With the first approach any bugs beyond the acceptance criteria will be tracked as bugs whereas with the latter the story will be moved back and just considered incomplete. The disadvantage of either of these approaches is that we are counting something as done before it's actually been signed off by the business, which means that we might have a false sense of the value we're delivering. If the business proxies are communicating regularly with the business though I don't think it's necessarily a problem. == Business signoff With this approach we only count a story as done when it has been signed off by our business stakeholder. The benefit is that when a story is classified as done we have actually delivered something that is acceptable to the business. On the other hand, when using this approach it's fairly important to have access to the business stakeholder on a regular basis if the velocity of the team is to be measured accurately. When we don't have this access we can end up with a backlog of stories waiting for sign off, all the while lengthening the time from when it was last worked on to when it is eventually considered complete. == In production This is an approach which I haven't seen used on a project but which I read across in a http://codebetter.com/blogs/david_laribee/archive/2008/09/26/done-for-real.aspx[post written by David Laribee]. I can see how this makes sense as we haven't actually delivered any value to our customer until the software is actually being used. I think the difficulty of using this approach would be if we aren't releasing code into production regularly - we wouldn't get feedback on how we're progressing and therefore would have more difficulty noticing when things in our process aren't working as well as we'd hope. == In Summary I think the further down the process we consider a story as done the more accurately our points total represents the value added to the customer. Although we can get quicker 'points feedback' by classifying done earlier in our process, the accuracy of what that points total actually means is perhaps lowered. I'm not sure which approach is the best one because each has its benefits and drawbacks. It will be interesting to see whether there are any further variations on what is considered 'done' on future projects I work on. I am aware that I may be asking completely the wrong question and what we should be asking is 'Does it matter when it's done other than for reasons of tracking velocity?'
null
null
[ 0.02701687254011631, -0.010599544271826744, -0.01136354636400938, 0.011083035729825497, 0.10058669745922089, 0.0036762722302228212, 0.009400375187397003, 0.04657130315899849, 0.01640620082616806, -0.0038615765515714884, -0.02235782891511917, 0.012021863833069801, -0.05501570925116539, 0.015303443185985088, -0.037770964205265045, 0.07719317823648453, 0.07350080460309982, 0.0017312966519966722, 0.024489419534802437, -0.020496990531682968, 0.024205796420574188, 0.057709917426109314, 0.012236740440130234, 0.03924575820565224, 0.03429575636982918, 0.00951299536973238, 0.02332710474729538, -0.018492380157113075, -0.04822983965277672, -0.03904002159833908, 0.04210986569523811, -0.02522156573832035, 0.0037624845281243324, 0.005801584105938673, 0.017315736040472984, 0.0008661184692755342, 0.006289696786552668, 0.04146531969308853, -0.018978403881192207, -0.03606133535504341, -0.08101660758256912, 0.031631000339984894, -0.042408134788274765, -0.023801252245903015, -0.029442446306347847, -0.004857164341956377, -0.015167295932769775, -0.0021683352533727884, -0.01727401651442051, -0.002859299536794424, -0.07445710897445679, 0.03113430179655552, -0.01949928142130375, 0.005526713561266661, 0.003362286603078246, 0.06294771283864975, -0.001991305034607649, -0.07107270509004593, 0.011922292411327362, -0.03150263428688049, -0.004427173640578985, -0.019750824198126793, 0.009034045971930027, 0.05093802511692047, 0.05684008449316025, -0.03664052113890648, 0.0006611269782297313, 0.018867120146751404, -0.013073412701487541, 0.020974332466721535, -0.02799046039581299, 0.006384429521858692, -0.02567966654896736, -0.004582522436976433, -0.007876534014940262, -0.05138913169503212, 0.03122132085263729, 0.04271484911441803, 0.023432958871126175, 0.04106403514742851, -0.01871742494404316, 0.0022933955769985914, -0.0014098064275458455, 0.010206643491983414, -0.01629289798438549, -0.05223727598786354, 0.013914287090301514, -0.031854286789894104, -0.04146907851099968, 0.053338974714279175, 0.02706584706902504, -0.07757337391376495, 0.0047492366284132, 0.03257711976766586, -0.0006330647738650441, 0.01464988011866808, 0.017951004207134247, 0.018372315913438797, 0.01177374366670847, -0.021613916382193565, -0.0596020482480526, -0.015628136694431305, -0.00466045131906867, 0.03073270060122013, -0.08722499758005142, -0.012806732207536697, -0.015298722311854362, -0.010838694870471954, -0.032123275101184845, 0.006051036063581705, -0.040556639432907104, 0.01793229766190052, -0.04199080541729927, 0.014522758312523365, -0.07961181551218033, 0.05783599987626076, -0.010553357191383839, -0.038497444242239, -0.013897362165153027, -0.00990482047200203, 0.039044760167598724, 0.01684604026377201, -0.019714118912816048, 0.06560206413269043, -0.004642054904252291, 0.013418558984994888, -0.03594766929745674, 0.05034555867314339, -0.026341265067458153, -0.04654461517930031, -0.007763285655528307, 0.057394303381443024, -0.05049390345811844, -0.010606732219457626, -0.005445902701467276, -0.011555646546185017, 0.021360639482736588, 0.0020336112938821316, 0.024211019277572632, 0.0322134830057621, -0.006962829735130072, -0.017623592168092728, 0.0019425245700404048, 0.031172314658761024, 0.01775423064827919, -0.014184602536261082, 0.0036084784660488367, -0.019692828878760338, -0.030879473313689232, 0.008879776112735271, 0.01223923172801733, 0.0009007474291138351, 0.043019238859415054, -0.04913393780589104, 0.021329687908291817, 0.07347950339317322, 0.03905995935201645, -0.012213452719151974, -0.01729687489569187, 0.01280882302671671, 0.05677351355552673, 0.03964114934206009, 0.03810891881585121, 0.025312984362244606, 0.026684781536459923, 0.002117747673764825, -0.007705106865614653, 0.008031437173485756, -0.004325364716351032, -0.019827328622341156, -0.05577258765697479, -0.04071739315986633, 0.061108820140361786, -0.07525697350502014, -0.016781596466898918, 0.049367282539606094, 0.06596291065216064, 0.0680244043469429, 0.0057723126374185085, 0.022605137899518013, -0.08041884750127792, 0.05181221291422844, 0.007144603878259659, 0.020840803161263466, 0.02947484329342842, -0.026457859203219414, 0.037784576416015625, 0.03163105249404907, -0.003463702043518424, 0.024423368275165558, -0.0850173681974411, -0.07756400853395462, -0.010961403138935566, -0.024287015199661255, 0.024546826258301735, -0.04966248199343681, 0.029960017651319504, 0.11137920618057251, 0.022885816171765327, 0.046669892966747284, 0.018031584098935127, -0.007293269969522953, -0.002937003970146179, -0.05769890919327736, -0.048949841409921646, 0.08473718911409378, 0.026484612375497818, 0.010626984760165215, -0.0375560000538826, 0.022875051945447922, -0.008685306645929813, 0.04451256990432739, 0.0314096175134182, -0.0004192704218439758, 0.04201878607273102, 0.0037947301752865314, 0.04726533591747284, -0.03469826281070709, 0.07934402674436569, -0.06479500234127045, 0.0375576987862587, 0.012838209979236126, -0.0009217478800565004, 0.005694363731890917, -0.01141270063817501, 0.10424403101205826, 0.051258981227874756, -0.04625728726387024, -0.05102601274847984, 0.0118405781686306, 0.018478941172361374, -0.03276638314127922, -0.005864066071808338, -0.017773384228348732, 0.024536505341529846, 0.014830769039690495, -0.050798289477825165, -0.03425304964184761, 0.029081599786877632, -0.03312525525689125, 0.00590680493041873, 0.04793365299701691, -0.005824252963066101, 0.05620899796485901, 0.017731819301843643, -0.00160570431035012, -0.015163691714406013, -0.003231097711250186, -0.08709263056516647, 0.02721228078007698, 0.020661460235714912, -0.024983808398246765, 0.03591431304812431, -0.03823596611618996, -0.02925186976790428, -0.016702454537153244, -0.05719524994492531, 0.013014441356062889, 0.028777489438652992, 0.048325613141059875, -0.02674550749361515, 0.05662851780653, -0.01151224970817566, 0.021929388865828514, 0.007629644125699997, -0.002982201287522912, -0.05593753233551979, -0.02377670630812645, -0.013242373242974281, 0.04181455448269844, 0.031296879053115845, -0.0070588598027825356, 0.022430209442973137, 0.0032290464732795954, 0.006623558700084686, 0.007938211783766747, 0.046289585530757904, 0.018080275505781174, -0.00718727195635438, -0.018444009125232697, -0.01720493659377098, 0.04211756959557533, -0.039662595838308334, -0.023105056956410408, 0.058120325207710266, -0.09259935468435287, 0.04495540261268616, -0.059517353773117065, -0.05060875415802002, 0.01696326583623886, 0.028714824467897415, 0.040160149335861206, 0.007566031534224749, 0.039950598031282425, 0.06768590211868286, 0.01251904759556055, 0.005223582033067942, 0.009812921285629272, 0.012023137882351875, 0.025784434750676155, 0.006333218887448311, -0.036629147827625275, 0.05736466497182846, -0.0346020832657814, -0.0001504040410509333, -0.06669027358293533, 0.047333888709545135, -0.052969302982091904, -0.28575724363327026, 0.026024097576737404, 0.007924252189695835, -0.04833609238266945, -0.001782897743396461, -0.02678949199616909, 0.009360070340335369, -0.02624022401869297, -0.034057728946208954, 0.03503187373280525, -0.04048514738678932, -0.047090768814086914, -0.0033292178995907307, 0.0360775925219059, 0.0019061221973970532, 0.0395008884370327, 0.03350730985403061, -0.031612250953912735, 0.0065618897788226604, 0.04992807283997536, 0.0029442075174301863, -0.07128917425870895, 0.00550707196816802, 0.02983342669904232, 0.05630236491560936, 0.06886608153581619, -0.06804582476615906, 0.055762749165296555, -0.038253117352724075, -0.007017817348241806, 0.055798690766096115, -0.013868059031665325, 0.011607631109654903, -0.030609197914600372, -0.016914276406168938, -0.038704678416252136, 0.04020611569285393, 0.006275090854614973, -0.0011862573446705937, -0.0011845383560284972, -0.001112835481762886, -0.04403107613325119, -0.022462857887148857, 0.011121056042611599, 0.04097305238246918, -0.010660187341272831, -0.0628964826464653, -0.012375419959425926, -0.01511521078646183, 0.07497588545084, 0.001295345020480454, -0.010559172369539738, -0.029775727540254593, 0.014925006777048111, -0.03408180549740791, -0.026393314823508263, -0.005429810378700495, -0.03482137247920036, -0.03577709570527077, -0.0017710714600980282, -0.033445462584495544, -0.021996788680553436, -0.0026181573048233986, -0.061718445271253586, -0.0027875241357833147, -0.06252149492502213, -0.0511646494269371, -0.0164677482098341, 0.05761021375656128, -0.008531169034540653, -0.014695219695568085, -0.00970262847840786, -0.009504041634500027, -0.10024278610944748, -0.006173671688884497, -0.03901977837085724, -0.04304243624210358, 0.017287202179431915, 0.02478669583797455, 0.0005291440756991506, -0.005115050822496414, -0.04594625532627106, 0.036990221589803696, -0.003336164867505431, 0.012507611885666847, 0.0017456169007346034, 0.050173040479421616, 0.03245765343308449, -0.02510003000497818, 0.01227410789579153, 0.058137446641922, 0.008405114524066448, -0.0413079671561718, -0.01738402061164379, 0.005340457893908024, 0.006677103228867054, -0.0061452980153262615, -0.018672700971364975, 0.004372523631900549, 0.02533973753452301, -0.010779939591884613, -0.05298268049955368, 0.009765702299773693, -0.031073259189724922, 0.0027463098522275686, -0.034587036818265915, -0.05810033902525902, 0.013792911544442177, 0.029372403398156166, 0.012671169824898243, 0.007960920222103596, -0.009284797124564648, -0.004003322683274746, -0.04757308587431908, -0.02672087587416172, -0.017496764659881592, 0.015614630654454231, 0.03625103458762169, 0.0020819182973355055, -0.011811492964625359, -0.046155042946338654, 0.001477125333622098, 0.01602289266884327, -0.00909880269318819, -0.05743873119354248, -0.025508932769298553, -0.033984582871198654, -0.00806864257901907, 0.0039145369082689285, 0.019105613231658936, -0.012840526178479195, -0.004466573242098093, 0.01438162848353386, -0.027882415801286697, 0.013024440966546535, -0.031708911061286926, -0.06805312633514404, -0.017214512452483177, -0.0017936601070687175, -0.011211257427930832, -0.02399473637342453, 0.02382272481918335, 0.009135433472692966, 0.026952218264341354, 0.023572945967316628, -0.00499472301453352, 0.021550316363573074, -0.012852499261498451, 0.008209159597754478, -0.0016940586501732469, 0.026339659467339516, -0.06991549581289291, -0.0023407938424497843, -0.023024946451187134, -0.016761433333158493, -0.020564336329698563, 0.012708993628621101, -0.027531461790204048, -0.027729930356144905, -0.038405220955610275, -0.0024872650392353535, -0.04813678562641144, -0.02541276253759861, -0.024449612945318222, 0.012135504744946957, 0.04515349864959717, -0.026712339371442795, 0.008428623899817467, -0.013331573456525803, -0.010658801533281803, 0.004960968624800444, 0.012223804369568825, -0.04638412967324257, 0.006216748617589474, 0.00990270171314478, -0.012329678982496262, -0.00017168134218081832, -0.006743117235600948, 0.05379403755068779, -0.0011042215628549457, -0.010180682875216007, -0.01609812118113041, 0.03376591205596924, 0.019462449476122856, 0.012316917069256306, 0.028882784768939018, 0.009174115024507046, -0.0001413723803125322, -0.02845211699604988, 0.004020665772259235, -0.025640035048127174, -0.007874217815697193, 0.004404073115438223, 0.009966274723410606, -0.03352115675806999, -0.07349889725446701, 0.0513206347823143, 0.028507087379693985, 0.013902577571570873, 0.017057009041309357, -0.011510935612022877, -0.012590913102030754, -0.028945283964276314, 0.02061333879828453, 0.051722440868616104, -0.05099598318338394, 0.006798369809985161, 0.011966411955654621, 0.02290830947458744, 0.021311543881893158, -0.01857236586511135, -0.04585115611553192, -0.0317787267267704, -0.008017148822546005, 0.012914559803903103, -0.05621923506259918, -0.010901803150773048, -0.03670245036482811, 0.02185583859682083, 0.00042240729089826345, 0.026292188093066216, -0.048881810158491135, -0.01125281024724245, -0.023338040336966515, -0.01514478214085102, 0.017286134883761406, -0.024776415899395943, -0.004458272829651833, 0.02128354273736477, -0.01998213492333889, -0.02503341995179653, -0.06076470762491226, 0.028368137776851654, 0.009226254187524319, -0.039732176810503006, 0.015548976138234138, -0.069757841527462, -0.011859148740768433, -0.0006030830554664135, 0.028734497725963593, -0.014764703810214996, -0.018207810819149017, -0.018415598198771477, -0.012590418569743633, -0.03284269571304321, 0.0012666635448113084, -0.010522745549678802, -0.004110804293304682, 0.006067635957151651, 0.0930376946926117, 0.020963281393051147, 0.05721191316843033, 0.029356040060520172, -0.00279633398167789, 0.04869014769792557, -0.06802894920110703, -0.012009265832602978, -0.02984721027314663, -0.08694122731685638, 0.01504445355385542, 0.0413309782743454, 0.02823852375149727, -0.04675615206360817, 0.027034036815166473, 0.020453277975320816, 0.06563975661993027, 0.04548874869942665, 0.02135622315108776, 0.031979165971279144, -0.03655482083559036, 0.0071664960123598576, -0.08872532099485397, 0.01656760834157467, 0.03154464438557625, -0.009507477283477783, 0.012952747754752636, 0.0034835233818739653, -0.01510795671492815, 0.034060630947351456, -0.05695962905883789, -0.029075704514980316, 0.04232913255691528, -0.015690665692090988, -0.0004164082929491997, 0.02789250947535038, -0.06676652282476425, 0.04894731566309929, 0.03674508258700371, -0.05086737498641014, -0.00853702425956726, -0.007794446777552366, 0.052515819668769836, 0.016323277726769447, 0.02781079337000847, -0.03997160866856575, -0.03839799389243126, 0.08205895125865936, 0.01644117943942547, 0.017817141488194466, 0.054138459265232086, -0.008207626640796661, 0.03067789599299431, 0.0398021899163723, 0.006524397060275078, -0.02115059643983841, 0.03515537828207016, -0.02862808294594288, -0.05140402913093567, 0.0466788113117218, 0.011608220636844635, -0.020007992163300514, -0.024342993274331093, 0.05331967771053314, 0.012129324488341808, -0.02830338664352894, -0.06911125779151917, 0.009818118065595627, -0.033070385456085205, -0.004784444347023964, -0.019552532583475113, -0.012641435489058495, -0.07065396010875702, 0.051555972546339035, 0.0016300620045512915, 0.018946712836623192, 0.06303611397743225, -0.006613178178668022, 0.0017016498604789376, -0.007318268530070782, 0.08940475434064865, 0.07173878699541092, 0.08604995906352997, 0.02408825047314167, 0.0698053166270256, -0.003660699585452676, -0.03166647627949715, 0.012177814729511738, -0.0005020216922275722, -0.015475223772227764, -0.0023830593563616276, 0.018651003018021584, 0.04147788882255554, -0.0036850974429398775, 0.03773218020796776, -0.009062564931809902, -0.019264917820692062, 0.00945034809410572, 0.048166725784540176, 0.011088325642049313, 0.061072614043951035, 0.009873041883111, 0.024850232526659966, -0.00950305163860321, -0.03841612488031387, 0.02023111656308174, -0.041232798248529434, -0.02497471123933792, 0.08241618424654007, -0.01150092389434576, 0.014186547137796879, 0.01945161074399948, 0.016637375578284264, 0.08368074148893356, -0.04213310033082962, -0.010758209973573685, -0.04040737822651863, 0.03632594645023346, 0.004100803751498461, 0.010683623142540455, 0.028668789193034172, -0.020474916324019432, 0.007543856743723154, -0.030724909156560898, -0.007295846473425627, -0.018107911571860313, -0.030968977138400078, 0.041052643209695816, -0.01985994540154934, 0.014617636799812317, 0.044267527759075165, -0.0032895763870328665, -0.04665037617087364, -0.045563194900751114, -0.03678475320339203, -0.04221849888563156, -0.04940042644739151, -0.010433069430291653, 0.04387027770280838, -0.0083498889580369, -0.029334478080272675, -0.016038687899708748, 0.0030400813557207584, -0.040402382612228394, 0.03975337743759155, -0.03292812034487724, -0.028061924502253532, -0.01030120812356472, -0.01127063948661089, 0.013865566812455654, 0.012834971770644188, 0.040641531348228455, -0.0013460052432492375, -0.006111872848123312, -0.023640353232622147, 0.024741627275943756, 0.047727249562740326, -0.0017870167503133416, 0.03416718915104866, -0.0609995499253273, 0.013515576720237732, 0.0342383049428463, -0.02063681371510029, -0.06112128496170044, 0.033521927893161774, 0.01767927035689354, -0.027370886877179146, 0.06672588735818863, -0.032609499990940094, -0.009643914178013802, -0.03966005519032478, -0.006969909183681011, -0.0009128706878982484, 0.005236742086708546, 0.04083951562643051, -0.021104130893945694, 0.07827578485012054, 0.04276876524090767, -0.013993876986205578, -0.04987707361578941, -0.003235934767872095, -0.0037112964782863855, 0.007664789911359549, -0.007266215514391661, -0.026211967691779137, -0.04372643679380417, -0.07932143658399582, -0.0351330004632473, 0.02604413963854313, -0.018509436398744583, -0.04015127196907997, 0.040369149297475815, 0.047637857496738434, -0.04345345497131348, 0.018003741279244423, -0.03466096147894859, 0.047679610550403595, -0.032932497560977936, -0.018526583909988403, -0.0011310949921607971, 0.007947391830384731, -0.0037174781318753958, -0.011547720991075039, 0.02952440083026886, -0.0488671213388443, 0.013473483733832836, 0.011390037834644318, 0.008630452677607536, 0.03309779614210129, 0.006840453948825598, 0.002744276076555252 ]
[ -0.03876635804772377, -0.0036613140255212784, -0.0175024401396513, -0.024135299026966095, 0.01626179739832878, -0.03537643700838089, -0.009978393092751503, 0.01983197033405304, 0.026992755010724068, -0.006226900964975357, 0.016063829883933067, 0.017877189442515373, -0.024208249524235725, -0.04096059501171112, 0.05340133607387543, -0.008544569835066795, -0.008335677906870842, -0.07208015024662018, 0.01995602436363697, 0.038383208215236664, -0.018156137317419052, -0.04773743450641632, -0.028624098747968674, 0.009893680922687054, 0.029668649658560753, 0.022693447768688202, 0.00043151178397238255, -0.02535877376794815, -0.018940962851047516, -0.18114987015724182, 0.0027358962688595057, 0.0021255319006741047, 0.03203756362199783, -0.01368353795260191, 0.03308533504605293, 0.06648676097393036, -0.013536056503653526, 0.02193901315331459, 0.020481018349528313, 0.04333864524960518, 0.04628194868564606, 0.015823401510715485, -0.026944419369101524, -0.0469166524708271, 0.0032583042047917843, 0.007605891674757004, 0.011482972651720047, -0.0355721116065979, -0.020663058385252953, 0.012399306520819664, -0.05079217255115509, -0.041571181267499924, -0.047303810715675354, -0.0020209425128996372, -0.04422801733016968, 0.041329387575387955, 0.024943577125668526, 0.045692428946495056, 0.019246183335781097, 0.017552640289068222, 0.030051112174987793, -0.04536714404821396, -0.16206231713294983, 0.06865213811397552, 0.021580249071121216, 0.04907660558819771, -0.058113109320402145, -0.006412864662706852, -0.030791666358709335, 0.12091553956270218, -0.003078644862398505, -0.03455415368080139, -0.038865990936756134, 0.0690012127161026, 0.02304789423942566, 0.014373582787811756, 0.02596353366971016, 0.016768991947174072, 0.006476572714745998, -0.04950416460633278, -0.07569348812103271, -0.00392342172563076, 0.0024612073320895433, 0.026118528097867966, -0.08513900637626648, 0.02156156115233898, 0.012337115593254566, 0.04153132066130638, 0.07239586859941483, 0.022300736978650093, 0.09074269235134125, -0.015712546184659004, -0.0012181266210973263, 0.011845755390822887, -0.08978673070669174, -0.030079878866672516, -0.015860306099057198, 0.02156566083431244, -0.05207471549510956, 0.4353909194469452, -0.015504377894103527, -0.029355745762586594, 0.04143187403678894, 0.03938264027237892, 0.0021235765889286995, 0.001553139416500926, 0.012123479507863522, -0.02452053129673004, 0.02161877229809761, -0.022496184334158897, 0.007953346706926823, 0.03553314507007599, 0.06262930482625961, -0.07624790072441101, 0.017269307747483253, 0.07379830628633499, 0.006405799649655819, 0.03738585487008095, -0.026298770681023598, -0.03048258274793625, 0.0038431237917393446, 0.010504007339477539, 0.023708345368504524, 0.01756742224097252, -0.06827419251203537, -0.008487547747790813, 0.09838787466287613, 0.04170329123735428, 0.028433023020625114, -0.035282108932733536, 0.04074283689260483, -0.05341044440865517, -0.07674428075551987, 0.012534672394394875, 0.003158802865073085, 0.005017743445932865, 0.030979661270976067, -0.011085156351327896, -0.008707212284207344, 0.03533114120364189, 0.014226137660443783, 0.01044293399900198, -0.008254297077655792, -0.04028948023915291, -0.04162390157580376, 0.11684726923704147, 0.024734720587730408, -0.030795874074101448, -0.023602008819580078, -0.05823315680027008, -0.02903645485639572, 0.05628127232193947, 0.005467986222356558, -0.056305237114429474, 0.04188928380608559, -0.0008653309196233749, 0.09499572962522507, 0.0068811578676104546, -0.07945180684328079, 0.0033666430972516537, -0.005546870641410351, -0.03206055238842964, -0.05813849717378616, 0.030795523896813393, 0.05681154131889343, -0.1299520879983902, 0.014957799576222897, -0.006179053336381912, 0.016373636201024055, -0.04236442968249321, -0.024630045518279076, -0.02156796120107174, -0.008360510692000389, -0.03445734456181526, 0.04302975535392761, -0.016771482303738594, -0.046391312032938004, 0.003546175081282854, 0.030157729983329773, 0.028080642223358154, -0.0013265820452943444, 0.026455216109752655, -0.02661426179111004, 0.015554106794297695, -0.043553564697504044, -0.10067170858383179, -0.04508071392774582, -0.00400631595402956, -0.01589144393801689, -0.011060099117457867, -0.025630800053477287, -0.04254186525940895, -0.041413452476263046, 0.1077929213643074, -0.01841113716363907, -0.030491903424263, 0.006870950572192669, 0.002835750114172697, -0.055534157902002335, -0.019202945753932, -0.07685943692922592, 0.035620905458927155, -0.024721378460526466, -0.0009946504142135382, -0.041066136211156845, 0.05480946600437164, 0.0362670011818409, -0.005327312275767326, 0.07489480078220367, 0.050767965614795685, -0.05663001164793968, -0.008518914692103863, -0.008812612853944302, 0.018344854936003685, 0.0012814289657399058, 0.0031993729062378407, -0.011690170504152775, 0.03374437242746353, -0.014475126750767231, 0.027969414368271828, -0.051226772367954254, 0.0015269557479768991, 0.04096386209130287, -0.33943331241607666, -0.05041833221912384, -0.008763249963521957, 0.03416382521390915, 0.009917885065078735, -0.057002097368240356, 0.020207425579428673, 0.01057998463511467, -0.045631345361471176, 0.0021439241245388985, 0.07865127921104431, -0.05563332512974739, -0.00317998300306499, -0.0577470101416111, 0.009443188086152077, -0.00007708199700573459, -0.044804394245147705, -0.026321765035390854, -0.00587737699970603, -0.0020687899086624384, 0.028836622834205627, -0.03452860191464424, -0.019301829859614372, -0.03387632966041565, -0.0010918396292254329, -0.024776006117463112, 0.09426994621753693, 0.018061233684420586, 0.06496595591306686, -0.035632599145174026, 0.03196736425161362, 0.008729086257517338, 0.0048922160640358925, -0.10182444006204605, 0.010841310024261475, -0.030166465789079666, 0.025343388319015503, -0.017757797613739967, -0.012781987898051739, -0.03042631968855858, -0.03789033368229866, 0.023817474022507668, -0.0652264654636383, -0.027021372690796852, -0.04320204630494118, 0.02720922976732254, -0.00030378304654732347, -0.030809106305241585, -0.01993078924715519, 0.07224781066179276, 0.005604929756373167, 0.007594999857246876, 0.01753326505422592, 0.03180842474102974, 0.001661969698034227, -0.02333143725991249, -0.07030007243156433, 0.01727939397096634, -0.0072770011611282825, 0.001426076516509056, 0.030868086963891983, 0.06026830896735191, 0.059101153165102005, -0.0036466489546000957, 0.02300438843667507, 0.007988674566149712, -0.005933733657002449, 0.01178383082151413, 0.036114614456892014, -0.049410924315452576, -0.02077466994524002, 0.08735711872577667, -0.005027985665947199, -0.06366626173257828, 0.016295768320560455, 0.056922636926174164, -0.013878604397177696, 0.007446341682225466, 0.018709005787968636, -0.017097024247050285, 0.013349167071282864, -0.055383577942848206, 0.01377847045660019, -0.030828867107629776, -0.003641996067017317, 0.07004134356975555, 0.016279257833957672, -0.0564139299094677, 0.05436009168624878, 0.02777574583888054, -0.019678696990013123, -0.003858759067952633, -0.03414030745625496, -0.025108063593506813, 0.047798432409763336, -0.010113581083714962, -0.24738271534442902, -0.0004689035704359412, 0.03667202219367027, 0.039512310177087784, 0.006951235234737396, 0.011274371296167374, 0.013349426910281181, -0.019987842068076134, 0.005210751201957464, 0.04580870270729065, 0.026689769700169563, -0.001447015325538814, 0.0191330648958683, -0.03514678403735161, 0.027778755873441696, 0.01171315461397171, 0.0561920665204525, -0.008938232436776161, 0.04763807728886604, -0.025103487074375153, 0.02488553337752819, -0.018436945974826813, 0.1553870588541031, 0.0461212694644928, 0.0167336855083704, -0.0008022091933526099, -0.0053388639353215694, 0.005833219736814499, 0.043980952352285385, -0.012975265271961689, 0.044630080461502075, -0.0348537378013134, 0.04718945175409317, 0.041222281754016876, 0.021030453965067863, -0.08067141473293304, -0.01594371721148491, 0.07411094009876251, 0.028127016499638557, 0.00605470547452569, 0.026679830625653267, -0.011370761319994926, 0.009893435053527355, 0.022406211122870445, 0.04945523664355278, 0.010339578613638878, -0.017555559054017067, -0.042317721992731094, -0.05438986048102379, 0.01608785055577755, -0.019007142633199692, -0.03303924575448036, 0.018145132809877396, 0.0007194571662694216, 0.01301576942205429, 0.06833954155445099, 0.015655631199479103, -0.013810568489134312, 0.025697313249111176, 0.019913725554943085, -0.03632619231939316, -0.012522236444056034, 0.08423317223787308, 0.031455740332603455, 0.032120272517204285 ]
[ 0.01607312634587288, 0.00582107761874795, -0.0020725526846945286, 0.04308772832155228, -0.037287142127752304, 0.02077791839838028, 0.00022578667267225683, -0.0069304052740335464, 0.04780205339193344, 0.03141351789236069, -0.0027447997126728296, 0.03719860687851906, 0.016651576384902, 0.005840182304382324, 0.0389360673725605, -0.018509792163968086, 0.021607987582683563, -0.01576622761785984, 0.04593084752559662, -0.0054339091293513775, -0.001966342329978943, 0.014165868051350117, -0.023261630907654762, 0.0046101887710392475, -0.0009178990148939192, -0.05220599099993706, -0.0381041094660759, -0.03484273701906204, 0.027947990223765373, -0.15296132862567902, -0.04172888398170471, -0.0043664658442139626, -0.002442830242216587, 0.0065556541085243225, 0.024827076122164726, -0.039725638926029205, 0.0328669473528862, 0.019135961309075356, 0.021265413612127304, 0.005623459815979004, 0.003083921503275633, -0.02134828455746174, -0.004748375620692968, -0.00777864595875144, 0.030578337609767914, 0.009380978532135487, -0.0081301499158144, 0.005869130603969097, -0.023009849712252617, -0.0070265671238303185, -0.04291361942887306, 0.02179090864956379, -0.02800171822309494, 0.004509367514401674, 0.009453810751438141, -0.012971115298569202, 0.0375964529812336, -0.02743927203118801, 0.049720581620931625, -0.022321566939353943, -0.0029256416019052267, 0.009793836623430252, -0.055890314280986786, -0.01981719769537449, -0.017749367281794548, -0.022276930510997772, -0.019330156967043877, 0.0047195423394441605, -0.024270661175251007, 0.008396456018090248, -0.03664727509021759, 0.00031333419610746205, -0.010340236127376556, -0.03929528221487999, 0.002591567812487483, 0.027151519432663918, 0.013067329302430153, -0.013731895945966244, -0.010543778538703918, -0.030414525419473648, -0.03557060286402702, 0.009471617639064789, -0.03701850399374962, 0.02718297578394413, -0.03082517348229885, -0.015396329574286938, 0.023009777069091797, 0.011971400119364262, 0.041444286704063416, 0.019250722602009773, 0.007950486615300179, 0.006633564829826355, -0.019710928201675415, 0.007125965319573879, -0.08511101454496384, -0.021668631583452225, -0.04685264825820923, -0.00502348504960537, -0.008071116171777248, 0.8118863701820374, -0.008483231998980045, 0.02428301051259041, 0.03492122143507004, 0.03579758107662201, -0.010392566211521626, -0.0023627416230738163, 0.018219737336039543, 0.002705838531255722, 0.020070454105734825, -0.042366091161966324, -0.006492471322417259, 0.053139008581638336, 0.0074724298901855946, 0.017135994508862495, 0.05017693713307381, 0.019791405647993088, -0.0006607663235627115, -0.029584411531686783, -0.013596399687230587, -0.014786978252232075, 0.07663899660110474, 0.03534908965229988, 0.007531848270446062, -0.00625137984752655, 0.007922553457319736, -0.14547833800315857, 0.035965219140052795, -7.83258995791356e-33, 0.05318623408675194, 0.024272656068205833, -0.01692633517086506, 0.014292621985077858, 0.03140433505177498, 0.013866819441318512, 0.005177166312932968, 0.014660213142633438, -0.007664777804166079, -0.018318811431527138, -0.012034496292471886, 0.0007757641724310815, -0.011935734190046787, -0.04104109853506088, 0.01367454044520855, -0.01405833475291729, -0.02774522267282009, 0.02717205509543419, 0.00788615271449089, 0.04065731540322304, 0.0693819671869278, -0.009214879013597965, -0.032501161098480225, 0.010043509304523468, 0.01393611915409565, 0.02948649600148201, 0.03541836142539978, 0.039251163601875305, -0.02199193835258484, -0.03774614259600639, 0.034111686050891876, 0.014820363372564316, 0.014414411038160324, -0.01898118294775486, -0.0005395174375735223, -0.05807023495435715, -0.045664530247449875, 0.009158443659543991, 0.005023159086704254, -0.026453474536538124, -0.06564950197935104, 0.016935836523771286, -0.059455715119838715, -0.018907342106103897, -0.014468416571617126, -0.0053151012398302555, 0.005004979204386473, 0.0179305300116539, 0.01041543111205101, -0.03736918047070503, 0.05159873515367508, -0.00959998182952404, 0.007272321730852127, 0.008316857740283012, 0.007836729288101196, -0.004676525481045246, 0.020847102627158165, -0.03228138014674187, -0.016697926446795464, 0.005934807937592268, 0.037322238087654114, -0.0029747330117970705, -0.04369305446743965, 0.00868685357272625, -0.026961157098412514, 0.008693625219166279, 0.030902596190571785, 0.05291527882218361, -0.005939205177128315, -0.014743749983608723, -0.03295983374118805, -0.027255455031991005, 0.015785690397024155, 0.02046041004359722, 0.0002280169283039868, -0.010293200612068176, -0.028980806469917297, 0.054303333163261414, -0.011307158507406712, 0.0740918219089508, -0.0009753149934113026, -0.0051639792509377, -0.037715476006269455, -0.034538108855485916, -0.002068682573735714, -0.005474744830280542, 0.031585972756147385, -0.032986000180244446, -0.03850535675883293, -0.03620345517992973, 0.016355043277144432, 0.03292866423726082, 0.018554359674453735, 0.021828999742865562, -0.005982062313705683, 8.401821627931314e-33, -0.011097417213022709, -0.021755078807473183, -0.0033321434166282415, 0.0026532274205237627, -0.0050161853432655334, -0.047119081020355225, 0.0203726626932621, -0.0100668054074049, -0.03281262144446373, 0.02669554390013218, -0.05174551159143448, -0.01314849779009819, -0.035465698689222336, 0.033056698739528656, 0.015700500458478928, -0.030868971720337868, 0.0719221979379654, -0.043502647429704666, -0.02333039976656437, 0.020625345408916473, 0.00646002683788538, 0.010008854791522026, -0.007046616170555353, 0.016608024016022682, 0.03876740112900734, 0.04798953980207443, -0.00912103895097971, 0.03292554244399071, -0.012301725335419178, -0.04473932459950447, 0.01084095798432827, -0.014404471032321453, 0.039185721427202225, -0.028368456289172173, -0.02457590587437153, -0.00207210099324584, -0.0061637344770133495, -0.016474764794111252, 0.01120343990623951, -0.040620919317007065, 0.04894541576504707, 0.004865303169935942, -0.0042694201692938805, 0.021000659093260765, 0.03407493233680725, 0.04439003765583038, 0.027368374168872833, -0.028429415076971054, 0.002905262168496847, 0.02750888094305992, -0.0027385419234633446, 0.02554759941995144, 0.02055787667632103, 0.03375852108001709, -0.019489409402012825, -0.010542839765548706, -0.018868396058678627, -0.028214914724230766, 0.024037936702370644, 0.03309781849384308, 0.024811575189232826, 0.039195749908685684, 0.030173812061548233, -0.001847245846875012, -0.01012275367975235, -0.012759050354361534, 0.04520030319690704, 0.018995389342308044, -0.023951904848217964, -0.02968231961131096, -0.029960110783576965, -0.011309092864394188, -0.01632813923060894, 0.05713919550180435, 0.03037775121629238, 0.011882173828780651, -0.057312190532684326, -0.041899338364601135, -0.04247589036822319, 0.001760643906891346, -0.007226516958326101, -0.0017293086275458336, -0.025599826127290726, 0.016971033066511154, -0.018706679344177246, 0.03626647964119911, -0.03247972950339317, 0.04087718948721886, 0.017250971868634224, 0.013340727426111698, -0.03646603971719742, -0.02864610217511654, 0.036828652024269104, 0.02682057023048401, -0.021497799083590508, -1.3562458711646741e-8, -0.038427066057920456, -0.0007378371665254235, -0.004606233909726143, -0.014829243533313274, -0.02177642658352852, -0.008427102118730545, -0.021674349904060364, 0.011422530747950077, -0.01593155227601528, -0.007352509070187807, 0.0031919407192617655, -0.0454452708363533, -0.030809814110398293, 0.056912682950496674, 0.00494756456464529, -0.0652984157204628, -0.015052716247737408, -0.01856847107410431, 0.0393645204603672, 0.04129786416888237, 0.06326427310705185, 0.03818180784583092, -0.016467483714222908, -0.003801163053140044, 0.007098833564668894, -0.013824211433529854, -0.02909065969288349, -0.08969776332378387, 0.015154050663113594, -0.008332299999892712, 0.019573600962758064, -0.005969217978417873, -0.017898594960570335, 0.024463694542646408, -0.029198169708251953, -0.01619519479572773, 0.020837657153606415, 0.018451908603310585, 0.016690583899617195, 0.005607725586742163, 0.024898232892155647, -0.006007104646414518, 0.03234441950917244, -0.02393191307783127, -0.010280457325279713, 0.0029091965407133102, -0.07144798338413239, -0.02115100808441639, 0.0283685140311718, -0.0364183709025383, 0.03643106296658516, -0.05776272714138031, 0.024071916937828064, 0.026630494743585587, 0.0031173434108495712, -0.008739880286157131, 0.01148304995149374, -0.015806522220373154, 0.008249710313975811, 0.0003267884021624923, 0.041748084127902985, -0.02142186462879181, -0.00760266650468111, -0.013798036612570286 ]
agile-when-is-a-story-done
https://markhneedham.com/blog/2009/01/04/agile-when-is-a-story-done
false
2009-01-02 22:35:31
F# Option Types
[ "net", "f", "null-handling" ]
[ ".NET", "fsharp" ]
I've been spending a bit of time working through the http://manning.com/petricek/[Real World Functional Programming] book to learn a bit about F# and one of the cool features I came across today (while reading http://blogs.msdn.com/chrsmith/archive/2008/07/10/mastering-f-lists.aspx[Chris Smith's post on F# lists]) is the Option type. I first came across this idea a few months ago when discussing http://www.markhneedham.com/blog/2008/08/16/null-handling-strategies/[null handling strategies] with a http://markthomas.info/blog/[colleague] who pointed out that you could get around this problem in Scala by using the http://blog.danielwellman.com/2008/03/using-scalas-op.html[Option class]. From what I can tell this works pretty much the same way and solves the problem that we have when we want to perform an operation but don't know whether or not a value will be returned. If a value is returned then we don't have a problem, but if not then we want a clean way of handling this. One example of this is when trying to retrieve a value from a collection. When we try to get a value which doesn't exist this would typically throw an exception. To give an F# example, trying to find the value 7 in a list from 1-5: [source,text] ---- List.find (fun x -> x = 7) [1..5];; ---- This throws the following exception: [source,text] ---- System.Collections.Generic.KeyNotFoundException: The item was not found in the collection at Microsoft.FSharp.Core.Operators.not_found[T]() at <StartupCode$FSI_0277>.$FSI_0277._main() ---- Luckily there is another way of trying to find this value: [source,text] ---- List.tryfind (fun x -> x = 7) [1..5];; ---- [source,text] ---- val it : int option = None ---- Note that the type is now 'int option' with a value of 'None'. If we search for a value that does exist: [source,text] ---- List.tryfind (fun x -> x = 3) [1..5];; ---- [source,text] ---- val it : int option = Some 3 ---- We get a return value of 'Some 3'. The beauty of this approach comes when pattern matching against these values. To give a contrived example: [source,text] ---- let find value list = let option = List.tryfind(fun item -> item = value) list match option with | None -> printfn "Value %d not found" value | Some(valueFound) -> printfn "Found value: %d" valueFound;; ---- [source,text] ---- > find 1 [1..5];; Found value: 1 val it : unit = () ---- [source,text] ---- > find 6 [1..5];; Value 6 not found val it : unit = () ---- I really like this idea and it seems cleaner than approaches I have used in C# and Java to achieve a similar outcome. I'm sure I'll come across more usages for it as my knowledge of F# increases. Incidentally, Luis Diego Fallas has written a cool post showing http://langexplr.blogspot.com/2008/06/using-f-option-types-in-c.html[how to use option types in C#]. The syntax obviously isn't quite as clean as it is in F# but it still reads reasonably nicely.
null
null
[ -0.025788286700844765, -0.041231025010347366, -0.011002779938280582, 0.032255079597234726, 0.08168254792690277, 0.019735543057322502, 0.0023746322840452194, 0.043301764875650406, -0.0036763132084161043, -0.03493661433458328, -0.01833438314497471, 0.035887833684682846, -0.07308869063854218, -0.0030144655611366034, -0.0112762451171875, 0.06482313573360443, 0.0668596550822258, -0.03400290012359619, 0.013604611158370972, 0.001210301648825407, 0.00988716073334217, 0.07517816126346588, 0.005327987018972635, 0.024425625801086426, 0.03656553477048874, -0.004130786284804344, 0.02231813780963421, 0.007448526564985514, -0.045658454298973083, 0.009085413999855518, 0.03690049797296524, 0.029708348214626312, -0.01105304155498743, -0.03458300232887268, -0.013956177979707718, -0.01660369522869587, 0.025310244411230087, -0.005582099314779043, -0.00979248620569706, 0.04745054244995117, -0.05721840634942055, 0.02696930058300495, -0.015331965871155262, 0.02063937485218048, -0.03750220686197281, 0.03351854905486107, -0.04885426163673401, -0.006949165835976601, -0.011442271061241627, -0.011552819982171059, -0.0412311889231205, 0.00717425299808383, -0.008806229569017887, -0.006589910946786404, 0.0035348795354366302, 0.06361761689186096, 0.005514645017683506, -0.07550234347581863, 0.027356332167983055, -0.05465146526694298, 0.013134700246155262, 0.0007055479800328612, 0.0107742790132761, 0.042299188673496246, 0.03917044773697853, -0.009794209152460098, -0.004583775997161865, 0.04648740962147713, -0.060930121690034866, -0.024625716730952263, -0.01087225042283535, 0.013352327980101109, -0.029226845130324364, -0.0075486525893211365, 0.010430851019918919, -0.03732351213693619, -0.015590297989547253, 0.07747838646173477, 0.0166564229875803, 0.04715311527252197, -0.011012058705091476, 0.007925279438495636, 0.05878327786922455, 0.003604697296395898, 0.037846505641937256, -0.022424494847655296, -0.027402108535170555, -0.0019564074464142323, -0.022133151069283485, 0.054805949330329895, 0.03951621800661087, -0.05955139175057411, 0.002791887614876032, 0.016611291095614433, 0.014610438607633114, 0.018527651205658913, 0.010239322669804096, -0.013287525624036789, -0.017587264999747276, 0.020087968558073044, -0.040011316537857056, -0.041937634348869324, 0.02464996837079525, 0.006970084737986326, -0.06695517152547836, -0.030290428549051285, 0.00046890307567082345, 0.004698373842984438, 0.017421824857592583, 0.020024457946419716, -0.06382262706756592, 0.010698337107896805, -0.030115269124507904, -0.007426030933856964, -0.08484754711389542, 0.055436983704566956, 0.015224678441882133, 0.0004964593099430203, -0.010259426198899746, 0.0428217276930809, 0.06348740309476852, 0.014845759607851505, -0.02316221594810486, 0.07323718816041946, 0.035150572657585144, 0.04039498046040535, 0.004188487771898508, 0.05870101600885391, 0.007646054029464722, -0.07503045350313187, -0.01922847144305706, 0.045469969511032104, -0.030662253499031067, -0.01740160398185253, 0.007588144391775131, -0.02825009822845459, -0.032322484999895096, 0.016818903386592865, 0.032191887497901917, 0.03394060209393501, -0.013564344495534897, -0.029210612177848816, -0.0070340270176529884, -0.008133181370794773, 0.02737513557076454, 0.0017259265296161175, -0.00017725896032061428, 0.005052252672612667, -0.006231015548110008, 0.018796145915985107, 0.04510950297117233, 0.030981294810771942, 0.061714865267276764, -0.024957386776804924, -0.0014011213788762689, 0.07014269381761551, 0.026307933032512665, 0.019404171034693718, -0.006015805061906576, 0.028334762901067734, 0.06228315457701683, 0.023646166548132896, -0.006654762662947178, 0.051269106566905975, 0.017937256023287773, -0.006521316710859537, -0.0012728862930089235, 0.039189521223306656, -0.03719862177968025, -0.0331336185336113, -0.05791850760579109, -0.04170876741409302, 0.06337659060955048, -0.04959281533956528, -0.0005704862996935844, 0.03973075747489929, 0.06975141167640686, 0.005092265084385872, 0.038383811712265015, -0.007707002107053995, -0.0661267563700676, 0.01905270852148533, 0.007267436478286982, -0.0013877757592126727, -0.018140697851777077, 0.004208972677588463, 0.07192855328321457, 0.03793264925479889, 0.013692125678062439, 0.02245366759598255, -0.06723064929246902, -0.08471935987472534, -0.04387737810611725, -0.017658652737736702, 0.06538063287734985, -0.026887113228440285, -0.007333226036280394, 0.0517704039812088, -0.0006199611234478652, 0.0470811203122139, 0.0457644984126091, -0.01799294538795948, 0.0007787365466356277, 0.006678837351500988, -0.03513364493846893, 0.07070012390613556, 0.03604479506611824, -0.00505976052954793, -0.03289756551384926, 0.027018636465072632, 0.015159805305302143, -0.0010286860633641481, 0.03640657663345337, -0.019603634253144264, 0.05982978269457817, 0.03912883624434471, 0.013565195724368095, -0.051442015916109085, 0.06031070649623871, -0.06651297211647034, 0.03125747665762901, 0.023800106719136238, -0.004171661101281643, -0.01926567777991295, 0.004965907894074917, 0.1259671002626419, 0.05625195801258087, -0.036167897284030914, -0.04117676988244057, 0.00583786191418767, 0.01784256100654602, -0.04074427857995033, -0.006808532401919365, -0.006267049349844456, 0.0007146621937863529, 0.022414926439523697, -0.020410796627402306, 0.011508590541779995, 0.01925124228000641, -0.01188654825091362, 0.013482426293194294, 0.06736841052770615, -0.03563547879457474, 0.03903592377901077, 0.004027077462524176, -0.05029585584998131, -0.014789553359150887, -0.014113589189946651, -0.048370879143476486, -0.01052133645862341, 0.03439285606145859, -0.00458177737891674, 0.04343755543231964, -0.03968631848692894, -0.0333697535097599, -0.017877832055091858, -0.054530996829271317, 0.014697662554681301, 0.06414135545492172, 0.04441042244434357, -0.015396444126963615, 0.03935757651925087, -0.045335881412029266, 0.010959206148982048, -0.014898629859089851, -0.04768701270222664, -0.020611172541975975, 0.02270497940480709, 0.04105643928050995, 0.05239427834749222, 0.009948592633008957, 0.004596168641000986, 0.006135196425020695, 0.012913056649267673, -0.02465439774096012, -0.010008679702877998, 0.019768690690398216, 0.004620988387614489, -0.03479639068245888, -0.041627056896686554, -0.039604272693395615, 0.06350448727607727, -0.026796773076057434, -0.026835080236196518, -0.01230117492377758, -0.03706072270870209, 0.05978015810251236, -0.05425636097788811, -0.06343827396631241, 0.002110676607117057, 0.012561888433992863, 0.0037403441965579987, -0.01783592998981476, 0.008682496845722198, 0.04726411774754524, 0.01975441537797451, 0.018576521426439285, 0.04800858721137047, -0.01240240316838026, 0.01684514246881008, -0.001659095287322998, 0.01806207187473774, 0.07858828455209732, 0.009609141387045383, 0.0015293372562155128, -0.049967210739851, 0.006623515393584967, -0.012673445977270603, -0.27831530570983887, 0.031212065368890762, -0.027599532157182693, -0.017680929973721504, 0.010090864263474941, -0.030861135572195053, -0.016315897926688194, -0.045603860169649124, 0.007317849434912205, 0.06273800879716873, -0.023212414234876633, -0.028954464942216873, -0.04626258462667465, 0.04142728075385094, -0.01964700222015381, -0.00287988712079823, 0.013123923912644386, -0.04443482682108879, -0.015538067556917667, 0.061545439064502716, -0.01352603267878294, -0.06325838714838028, 0.01870005577802658, 0.07912421971559525, 0.020955000072717667, 0.058948107063770294, -0.09423134475946426, 0.03905996307730675, -0.03959373012185097, -0.013258765451610088, -0.012795164249837399, 0.005188098642975092, 0.01068983506411314, -0.05443064495921135, -0.009453610517084599, -0.03257499262690544, 0.031625207513570786, -0.0047143190167844296, -0.019469229504466057, 0.05225808173418045, -0.02796599641442299, -0.037145256996154785, -0.016294052824378014, 0.010688831098377705, 0.06997314840555191, -0.012799730524420738, -0.08069155365228653, 0.007091001141816378, -0.03422272950410843, 0.06797304004430771, -0.03157781809568405, -0.05247792974114418, -0.03755011036992073, 0.05948517844080925, 0.005864379927515984, -0.007164641283452511, -0.006298698950558901, -0.02205847017467022, -0.02968141995370388, 0.0020928492303937674, -0.01561044342815876, -0.047797612845897675, -0.01197973545640707, -0.03225816786289215, -0.041194286197423935, -0.0594533234834671, -0.05135906860232353, 0.02696014568209648, 0.06144692376255989, 0.01589779555797577, -0.026817018166184425, 0.001644407631829381, 0.0030059046112000942, -0.12025957554578781, -0.03984074294567108, -0.03120274282991886, -0.05030503496527672, -0.009493189863860607, 0.0005966713069938123, 0.0441361628472805, -0.05416266620159149, -0.06365272402763367, 0.016163315623998642, 0.000980601878836751, 0.026826955378055573, -0.0008520245319232345, -0.001637319102883339, -0.02385076694190502, 0.0005020187818445265, 0.013244555331766605, 0.06859961152076721, 0.018784377723932266, 0.0037371651269495487, -0.034511350095272064, 0.005230179987847805, 0.03285884112119675, 0.015225494280457497, -0.0157375019043684, 0.04328823834657669, 0.04941808804869652, 0.05047328397631645, -0.05336741730570793, 0.022478723898530006, -0.03959014639258385, -0.01772407256066799, -0.0090942969545722, -0.03393223509192467, 0.022459380328655243, 0.032206837087869644, -0.018287822604179382, -0.015767017379403114, -0.032478149980306625, -0.0048505389131605625, -0.05589819326996803, -0.021260065957903862, -0.0051697795279324055, -0.01027156226336956, 0.033996421843767166, 0.03852245211601257, -0.018239714205265045, -0.08121217042207718, -0.004079148638993502, 0.022112762555480003, -0.020192822441458702, -0.0889206975698471, -0.036454979330301285, -0.013535606674849987, -0.025290241464972496, -0.0029806268867105246, 0.03259032964706421, 0.0007656511734239757, 0.017880359664559364, -0.0006942911422811449, -0.019815990701317787, 0.014868582598865032, -0.031079377979040146, 0.016079643741250038, -0.02163100242614746, -0.02777203544974327, -0.05019953474402428, 0.0038428090047091246, -0.02177439071238041, -0.004906473681330681, 0.0418153777718544, 0.02768217958509922, 0.009817230515182018, -0.014823148027062416, 0.004782065749168396, -0.006704255938529968, 0.03498358279466629, -0.005442372057586908, -0.03532786667346954, 0.03129960224032402, -0.017301004379987717, -0.03657082840800285, 0.0028336243703961372, 0.03294903784990311, -0.04520129784941673, -0.05143772438168526, -0.05818752944469452, 0.038554634898900986, -0.03552603721618652, -0.019376171752810478, -0.022588320076465607, -0.017701406031847, 0.04133646562695503, -0.043578825891017914, 0.02671380713582039, -0.013325123116374016, 0.0141722671687603, 0.009799297899007797, -0.0006181488279253244, -0.008088603615760803, 0.025551894679665565, -0.006955668330192566, -0.01975046470761299, 0.0005312272114679217, 0.012957438826560974, 0.019835762679576874, 0.008664666675031185, -0.0022582283709198236, -0.029813960194587708, 0.012300538830459118, 0.008219975046813488, 0.021097829565405846, 0.0046477122232317924, 0.012970740906894207, -0.016099311411380768, -0.04386449232697487, -0.033091168850660324, -0.04312475770711899, -0.013354439288377762, -0.019015803933143616, 0.0390467494726181, -0.02587543986737728, -0.06612886488437653, 0.017800986766815186, 0.0022280432749539614, 0.01462007500231266, 0.011194798164069653, -0.004604152403771877, -0.004994300659745932, -0.020537983626127243, -0.0055006118491292, 0.05491762235760689, -0.04690096899867058, 0.01740727759897709, 0.0034997437614947557, 0.00907923374325037, 0.03959912061691284, 0.026033489033579826, -0.0491744689643383, -0.006914086639881134, -0.0050595421344041824, -0.006606352981179953, -0.0264588613063097, -0.028736403211951256, -0.019407566636800766, -0.006082048639655113, 0.004840024746954441, 0.0020846494007855654, -0.01457563228905201, 0.0036480394192039967, -0.02601628564298153, -0.027151236310601234, -0.01732354238629341, -0.01953093148767948, -0.022782932966947556, 0.03643522784113884, -0.03355410322546959, 0.02378181368112564, -0.03935163840651512, 0.04378014802932739, 0.025043336674571037, -0.0033627513330429792, 0.02507968433201313, -0.06528225541114807, 0.007147505879402161, -0.02822944149374962, 0.05060139298439026, 0.0037700440734624863, -0.033272117376327515, -0.0038515066262334585, -0.0051916479133069515, -0.01437993161380291, -0.017598586156964302, 0.026806576177477837, -0.03438858687877655, 0.02381814830005169, 0.05838241055607796, -0.010593460872769356, 0.041790205985307693, 0.003384767100214958, 0.005225369241088629, 0.06453331559896469, -0.04979490488767624, -0.016906706616282463, 0.0007939877104945481, -0.04839267581701279, 0.015044397674500942, -0.007687406148761511, 0.03308546915650368, -0.05019739642739296, 0.0524626187980175, 0.06064308062195778, 0.02189706824719906, 0.041573416441679, 0.006306893192231655, 0.04210146889090538, -0.018253030255436897, -0.01708703674376011, -0.09375493228435516, 0.015444017015397549, 0.02101854793727398, 0.01317174918949604, -0.02079162746667862, -0.0112403379753232, -0.004130607936531305, 0.018679935485124588, -0.07053694128990173, -0.030270544812083244, 0.018252402544021606, 0.001348087564110756, -0.006277414038777351, 0.01861739344894886, -0.037123773247003555, 0.01288352720439434, 0.05992204695940018, -0.030608251690864563, -0.025856660678982735, -0.033739324659109116, 0.04558110237121582, 0.004017098806798458, 0.00778988329693675, -0.030141616240143776, 0.011618274264037609, 0.03231976926326752, 0.013138266280293465, 0.00826434139162302, 0.07854927331209183, -0.019138380885124207, 0.016301020979881287, 0.024998679757118225, -0.017941119149327278, 0.015811217948794365, -0.005414836574345827, -0.023040950298309326, -0.06807004660367966, 0.010531120002269745, 0.007662460673600435, -0.031923990696668625, -0.054859329015016556, 0.044669684022665024, 0.008200034499168396, -0.002782379277050495, -0.024797869846224785, -0.018054010346531868, -0.04151314124464989, -0.009351558052003384, -0.022656982764601707, 0.015788771212100983, -0.030353115871548653, 0.06681804358959198, 0.00636988366022706, -0.0027607097290456295, 0.07893354445695877, -0.017117904499173164, -0.009325136430561543, 0.010435610078275204, 0.08879026770591736, 0.09507180750370026, 0.05397089198231697, -0.009134388528764248, 0.06584270298480988, -0.01946800760924816, -0.06375763565301895, 0.03099430352449417, -0.0306969303637743, 0.005690629128366709, -0.012100428342819214, 0.025669656693935394, 0.09449028223752975, 0.011352735571563244, 0.053548023104667664, -0.04288124293088913, 0.0004132628964725882, -0.021827461197972298, 0.011139482259750366, 0.021812571212649345, 0.05771351233124733, 0.0027555699925869703, 0.02163330651819706, -0.013475402258336544, -0.05515538901090622, 0.041230458766222, 0.002505066804587841, -0.017032554373145103, -0.011679661460220814, -0.005905017256736755, 0.0002407634019618854, 0.04329737648367882, 0.06460051983594894, 0.06683412939310074, -0.034634701907634735, -0.006589422933757305, 0.0031074609141796827, -0.0002141070581274107, 0.00208046892657876, -0.009941032156348228, -0.013251673430204391, -0.004013526253402233, 0.03488582745194435, 0.016474170610308647, -0.004784127697348595, -0.01299613993614912, -0.022915460169315338, 0.04037199169397354, -0.03624448925256729, 0.013643180020153522, 0.022983932867646217, -0.036724913865327835, -0.014680393040180206, -0.06056308373808861, -0.032100144773721695, -0.019938616082072258, -0.08786557614803314, 0.005963892210274935, 0.021630361676216125, -0.010792557150125504, -0.01877102069556713, -0.04169000685214996, -0.016443856060504913, -0.0250193253159523, 0.05226391926407814, -0.02123814821243286, -0.0588412806391716, 0.019801585003733635, 0.00032074403134174645, 0.009307537227869034, 0.030757121741771698, 0.02487415447831154, -0.03762754425406456, -0.006390694063156843, -0.02738490328192711, -0.015957415103912354, 0.05801389738917351, 0.020912040024995804, 0.005302379839122295, -0.07273297011852264, 0.005986817646771669, 0.050944287329912186, 0.01990640163421631, -0.07595501095056534, -0.004263008013367653, -0.0017400699434801936, -0.0166143961250782, 0.037366125732660294, -0.018970785662531853, 0.009309845045208931, -0.049516838043928146, -0.011116839945316315, 0.02410838007926941, -0.004860978573560715, 0.03821348398923874, -0.02363777719438076, 0.0687665194272995, -0.006624354049563408, 0.004471096210181713, -0.04580380767583847, 0.0010153001639991999, -0.014996371231973171, 0.030140165239572525, -0.02223958447575569, -0.04873164743185043, -0.04378192499279976, -0.02438528649508953, -0.02518751285970211, -0.016805486753582954, -0.028495315462350845, -0.039710916578769684, 0.03406490013003349, 0.05711929872632027, -0.06418827176094055, 0.06073575094342232, -0.028305411338806152, 0.02013949304819107, -0.0020847630221396685, -0.03838183358311653, 0.0067895762622356415, 0.026088712736964226, -0.004307393450289965, -0.012509554624557495, 0.05321776866912842, -0.0533011332154274, -0.010869592428207397, -0.008283472619950771, 0.009889294393360615, 0.03530217707157135, -0.030542423948645592, 0.03560491278767586 ]
[ -0.09791455417871475, -0.0285788681358099, -0.062461208552122116, -0.0042096939869225025, 0.023484578356146812, -0.018259322270751, 0.02293672040104866, 0.06733543425798416, 0.0114710358902812, -0.003726324299350381, 0.0035678662825375795, -0.04465975612401962, -0.020482169464230537, 0.015141046606004238, 0.06059224531054497, -0.011451070196926594, -0.00009751119796419516, -0.06504075974225998, -0.03943871334195137, 0.006379193626344204, 0.027692141011357307, -0.024557678028941154, -0.059945207089185715, -0.04974798113107681, 0.03326547518372536, 0.020419208332896233, 0.023103995248675346, -0.03467593342065811, 0.012921606190502644, -0.2007652074098587, -0.0210078377276659, -0.011303585954010487, 0.056481435894966125, -0.03680315986275673, -0.027385009452700615, 0.04461357370018959, 0.034225113689899445, 0.03175653889775276, -0.008785952813923359, 0.06877659261226654, 0.026940608397126198, 0.016415638849139214, -0.06848584115505219, -0.03209976106882095, 0.015130680985748768, 0.028519468382000923, 0.00322648580186069, -0.026871077716350555, -0.02068173699080944, -0.02090434730052948, -0.060826122760772705, 0.015287311747670174, -0.021718744188547134, -0.01785343885421753, -0.00533429766073823, 0.04407384619116783, 0.06707075983285904, 0.06887522339820862, -0.011318239383399487, 0.03626704216003418, 0.017763441428542137, -0.041092220693826675, -0.1157633364200592, 0.06842134147882462, 0.00501059927046299, 0.08000080287456512, 0.007800542749464512, -0.042813003063201904, -0.04457470402121544, 0.0586099736392498, 0.03823046386241913, -0.0188880804926157, -0.0034410986118018627, 0.04061336815357208, 0.04284407198429108, -0.01638832688331604, -0.0029793118592351675, 0.005907492246478796, 0.0471242256462574, -0.0234345942735672, -0.030130678787827492, -0.03623427450656891, -0.012636267580091953, 0.0030337979551404715, -0.023997224867343903, 0.01871626451611519, 0.018461288884282112, 0.04314635694026947, 0.053935084491968155, 0.02925005555152893, 0.04894120246171951, 0.02158926986157894, 0.04075690731406212, 0.02333815209567547, -0.05876542627811432, 0.0028421892784535885, -0.015452733263373375, -0.01565215364098549, -0.018295276910066605, 0.41270703077316284, -0.02729773335158825, 0.01390325278043747, 0.040511757135391235, 0.020373648032546043, -0.02372306026518345, -0.0010156327625736594, -0.023799201473593712, -0.06235773488879204, -0.0010784757323563099, -0.05941448733210564, -0.013126214034855366, -0.021160295233130455, 0.06219414249062538, -0.061524100601673126, -0.05136577785015106, -0.005995200481265783, 0.039863742887973785, -0.00786169245839119, 0.0009991583647206426, -0.0008050461765378714, -0.019261883571743965, -0.0278001818805933, 0.04376951605081558, 0.031198421493172646, 0.014773577451705933, 0.013999372720718384, 0.02658703178167343, 0.04961756244301796, 0.06359211355447769, 0.03715711086988449, 0.059317175298929214, -0.08237064629793167, -0.10474111884832382, -0.04160194471478462, 0.015304403379559517, 0.031486399471759796, 0.02769347093999386, -0.0032569572795182467, 0.007394035812467337, -0.002988529857248068, -0.014220545068383217, -0.046701379120349884, 0.030768467113375664, -0.005592642351984978, -0.05792439728975296, 0.1302855908870697, 0.007926045916974545, -0.040588170289993286, -0.019735658541321754, -0.017767488956451416, -0.021429842337965965, 0.02402361109852791, -0.024146515876054764, -0.029070822522044182, 0.03159797936677933, 0.021201016381382942, 0.0768989697098732, -0.016714274883270264, -0.09306418895721436, -0.028949519619345665, -0.056558914482593536, -0.006645578891038895, -0.04677717387676239, 0.045074332505464554, 0.019496038556098938, -0.08868750929832458, -0.022897180169820786, -0.01853051222860813, -0.020796582102775574, -0.1005469486117363, 0.002051448915153742, 0.027975989505648613, -0.04888368770480156, -0.006338383536785841, 0.07373540848493576, 0.010632803663611412, -0.01392741221934557, -0.038353804498910904, 0.029004976153373718, 0.009713053703308105, -0.01592436619102955, 0.025750646367669106, -0.04817782714962959, -0.016625139862298965, -0.010739707387983799, -0.06626243889331818, -0.049544092267751694, -0.016192801296710968, -0.027727115899324417, 0.0042328666895627975, -0.013357115909457207, -0.05360464006662369, -0.04943643510341644, 0.052215587347745895, -0.04117381200194359, -0.03088960610330105, 0.015094663947820663, 0.0011238245060667396, 0.011499090120196342, 0.012931477278470993, 0.008153819479048252, 0.06656225025653839, 0.01824931614100933, 0.02689097262918949, -0.05319056659936905, 0.019355077296495438, 0.04057428985834122, -0.06976289302110672, 0.049172062426805496, -0.004506083205342293, -0.029762594029307365, 0.016345426440238953, -0.03349503129720688, 0.03647075220942497, -0.023238230496644974, -0.02850242890417576, 0.0034843217581510544, 0.0020124614238739014, -0.007974186912178993, 0.014392524026334286, -0.01598799042403698, -0.041404448449611664, -0.005977706518024206, -0.3383397161960602, -0.03232058510184288, -0.049214065074920654, -0.015101876109838486, -0.019931653514504433, -0.05153408274054527, -0.0008047227165661752, -0.01895751804113388, -0.034372858703136444, 0.0301443412899971, 0.08293420076370239, -0.007802977226674557, -0.019038086757063866, -0.10415995121002197, 0.0174778513610363, 0.0004063594387844205, -0.03616468980908394, -0.09507343918085098, -0.05137201026082039, 0.02142179384827614, -0.0023311187978833914, -0.009680457413196564, -0.03477487340569496, -0.05327955260872841, 0.011589035391807556, -0.029087556526064873, 0.08610701560974121, -0.006066266447305679, 0.09701334685087204, -0.05879421532154083, 0.051571574062108994, 0.013542840257287025, 0.006267450749874115, -0.00018966857169289142, 0.01600709743797779, -0.04883639141917229, -0.02144188992679119, -0.004769572056829929, 0.05604119598865509, -0.018905915319919586, -0.04502720758318901, 0.02063584327697754, -0.06919547915458679, -0.03401713818311691, -0.004686336033046246, 0.008802679367363453, 0.018955383449792862, -0.02834530733525753, 0.00879689585417509, 0.11466876417398453, 0.012084787711501122, 0.026509547606110573, 0.02219461090862751, 0.030369114130735397, 0.014910581521689892, -0.01670253835618496, -0.05616796761751175, -0.0086821299046278, 0.01644001714885235, 0.004521437454968691, 0.059013061225414276, 0.07315247505903244, 0.043420467525720596, -0.025476954877376556, 0.012350203469395638, -0.01565456949174404, -0.018210776150226593, 0.003949614707380533, 0.022253425791859627, -0.044287681579589844, -0.022331655025482178, 0.07775065302848816, -0.013524603098630905, 0.01891274005174637, 0.03737286105751991, 0.06955262273550034, 0.0007289822679013014, 0.010564440861344337, 0.03422378748655319, 0.020907239988446236, 0.017494339495897293, -0.006682258564978838, 0.029511405155062675, -0.021985115483403206, -0.008001874200999737, 0.053401581943035126, -0.024864429607987404, -0.008474607020616531, 0.0451899878680706, -0.003685493255034089, -0.04221682995557785, -0.018783407285809517, 0.004046026151627302, -0.0573255680501461, 0.07687580585479736, -0.004828714765608311, -0.22807015478610992, 0.015487320721149445, 0.08796672523021698, 0.02894492633640766, 0.008107097819447517, 0.0366491824388504, 0.03836540877819061, -0.07135583460330963, -0.005441765766590834, -0.006761715281754732, 0.024045797064900398, 0.0419653058052063, 0.023028625175356865, -0.012485042214393616, 0.013774529099464417, -0.03905164822936058, 0.032621026039123535, -0.0035649873316287994, 0.026104111224412918, -0.004266461823135614, 0.03780974820256233, 0.0075243753381073475, 0.17652806639671326, 0.013979785144329071, 0.004665486514568329, -0.005523293744772673, 0.012059802189469337, 0.002273018704727292, 0.09071238338947296, 0.02377375215291977, 0.035434503108263016, -0.006127989385277033, 0.0943441390991211, -0.0007042340002954006, 0.044869765639305115, -0.09841810911893845, 0.00593944638967514, 0.05318710580468178, 0.01477119792252779, -0.029615601524710655, -0.0015863709850236773, 0.03694137930870056, -0.044640231877565384, 0.028262635692954063, 0.09613948315382004, -0.018779469653964043, 0.0018209622940048575, -0.01613415963947773, -0.04095323756337166, 0.01649233140051365, -0.04077988862991333, 0.004139522090554237, 0.004769262857735157, -0.017908727750182152, 0.032369621098041534, 0.050196804106235504, 0.0028441553004086018, -0.028202762827277184, -0.029243849217891693, 0.023834550753235817, 0.019535791128873825, 0.01263135764747858, 0.10044757276773453, 0.02909616380929947, 0.05136598274111748 ]
[ -0.0026827999390661716, 0.03899827599525452, -0.03401242941617966, 0.028200451284646988, 0.005742320790886879, 0.012420741841197014, -0.0003195966128259897, 0.020650217309594154, -0.010794319212436676, -0.004479957278817892, -0.0064533548429608345, -0.011551514267921448, 0.002707685809582472, -0.008841179311275482, 0.009517273865640163, -0.02067369408905506, -0.0260163526982069, 0.0027188307140022516, 0.015935715287923813, -0.002898415317758918, -0.028934122994542122, 0.047905534505844116, 0.010160955600440502, 0.00001865578451543115, -0.026875725015997887, 0.0309818834066391, -0.021558530628681183, -0.041485853493213654, -0.0009175467421300709, -0.14503923058509827, -0.0534556582570076, -0.004111657850444317, 0.0003426099137868732, -0.014489510096609592, -0.018662335351109505, 0.017034241929650307, 0.017945852130651474, 0.030424736440181732, -0.012031911872327328, 0.0064221713691949844, -0.04291927069425583, 0.003766088280826807, -0.02584926038980484, -0.00004761067248182371, -0.023345155641436577, -0.007563677150756121, -0.013635017909109592, -0.04571833834052086, 0.015123600140213966, -0.016110576689243317, -0.027065660804510117, 0.02013281360268593, -0.016933796927332878, 0.003824431449174881, 0.021107986569404602, -0.004548642318695784, -0.009141316637396812, -0.037543218582868576, -0.01675579883158207, -0.009262356907129288, -0.02399415895342827, -0.030617987737059593, -0.040869325399398804, -0.017531324177980423, -0.012873024679720402, -0.004951015580445528, -0.004053734242916107, -0.008814830332994461, -0.03593410551548004, 0.005302946548908949, 0.01587376371026039, 0.010644080117344856, -0.017428644001483917, -0.017590399831533432, 0.011537328362464905, 0.012436042539775372, 0.033788952976465225, -0.02942691184580326, 0.028383838012814522, 0.00041687156772240996, -0.01636267453432083, -0.010976823978126049, -0.02275933139026165, 0.018191296607255936, 0.020215734839439392, -0.03514863923192024, -0.02821103297173977, 0.022592538967728615, 0.04422134906053543, 0.05255875363945961, -0.0504041463136673, 0.032788898795843124, -0.008678014390170574, -0.006502972915768623, -0.06211654841899872, 0.035829607397317886, -0.009889770299196243, -0.016959644854068756, -0.024065259844064713, 0.849738597869873, -0.00520642613992095, 0.021586071699857712, 0.026532407850027084, 0.022074293345212936, -0.001356341177597642, -0.015381001867353916, -0.012504233047366142, 0.01423074584454298, 0.010527553036808968, -0.07635519653558731, 0.015013165771961212, -0.009465190581977367, 0.0590570792555809, 0.006142688915133476, 0.005167175084352493, 0.011603320948779583, 0.024736987426877022, -0.024958834052085876, 0.0015788432210683823, 0.020042261108756065, 0.028381092473864555, -0.024676160886883736, 0.02990996465086937, 0.02299485169351101, 0.022600186988711357, -0.15583105385303497, -0.05588312819600105, -8.525744446446908e-33, 0.032390568405389786, -0.027607211843132973, 0.0292804092168808, 0.010027417913079262, 0.007295964285731316, -0.027197187766432762, 0.038010839372873306, -0.03294660151004791, -0.002712834160774946, -0.02893482893705368, 0.014147632755339146, -0.0063810390420258045, -0.019736219197511673, -0.024259161204099655, 0.051250044256448746, 0.004935402888804674, 0.040405016392469406, 0.04276174679398537, -0.03125680983066559, -0.027859730646014214, 0.06796779483556747, 0.04403812438249588, 0.005207782611250877, -0.02555505558848381, 0.029841003939509392, 0.03385469317436218, -0.0031004708725959063, -0.002509570913389325, -0.02156396023929119, -0.04627460241317749, -0.05095768719911575, 0.0043136547319591045, 0.021906206384301186, -0.009622987359762192, 0.027238471433520317, -0.03733694925904274, -0.013347008265554905, -0.008617649786174297, -0.021626939997076988, -0.034061308950185776, -0.011274642311036587, 0.0017764868680387735, -0.0178352240473032, -0.013651089742779732, -0.018644344061613083, -0.006617224309593439, -0.0068084257654845715, 0.045985668897628784, 0.019997701048851013, 0.06890002638101578, 0.045264843851327896, 0.030423710122704506, -0.004880678839981556, 0.016760975122451782, 0.0021028982009738684, 0.014515562914311886, -0.0318533293902874, -0.013064371421933174, 0.006525279954075813, 0.026775259524583817, 0.009565643034875393, 0.0009358031675219536, -0.0035579903051257133, 0.03395949304103851, -0.01623932085931301, -0.006580739747732878, -0.012610942125320435, -0.012996045872569084, -0.007397250272333622, 0.017528977245092392, -0.019582046195864677, 0.0020134937949478626, -0.0021528482902795076, -0.017641380429267883, 0.022061973810195923, 0.0035365368239581585, -0.01065649650990963, -0.0590781643986702, -0.002647571498528123, 0.0017696090508252382, 0.046651408076286316, -0.03696814924478531, -0.009004645980894566, 0.006198888644576073, -0.016533905640244484, -0.009542835876345634, 0.05182136967778206, -0.008891713805496693, 0.03509870916604996, -0.014153128489851952, -0.005681984126567841, 0.0284405630081892, -0.012526348233222961, -0.017459150403738022, 0.0010284993331879377, 8.274992399633313e-33, 0.01772826723754406, -0.02272038161754608, -0.00011599259596550837, 0.024708595126867294, 0.00487517612054944, 0.012029959820210934, 0.02374841645359993, 0.002995735267177224, -0.019520429894328117, 0.029267380014061928, -0.02916911616921425, 0.022005757316946983, -0.011948294006288052, -0.006636636797338724, 0.04302411153912544, 0.008051797747612, 0.03836795687675476, -0.009670660831034184, 0.020608089864253998, -0.009230632334947586, -0.009657689370214939, -0.002491837600246072, 0.018158065155148506, 0.015536212362349033, 0.021151227876544, 0.03928975388407707, -0.028785619884729385, -0.011042236350476742, -0.010253320448100567, 0.011864125728607178, 0.04129049554467201, -0.009969595819711685, 0.026111800223588943, -0.034774940460920334, -0.001001199590973556, 0.010792986489832401, 0.021676460281014442, -0.005809232592582703, 0.03174542263150215, 0.03913946822285652, 0.02916441671550274, -0.0026577820535749197, 0.029113302007317543, 0.0011264887871220708, -0.0030058398842811584, -0.012380861677229404, 0.018369615077972412, -0.0031064716167747974, 0.0313427671790123, 0.012767728418111801, 0.013808691874146461, -0.009128095582127571, -0.032064709812402725, 0.020962975919246674, -0.027006588876247406, -0.005081041716039181, -0.011932126246392727, 0.02373814582824707, 0.0017216915730386972, 0.02763468213379383, -0.007719691377133131, -0.004045322071760893, -0.02758123353123665, 0.0072800228372216225, -0.018988342955708504, 0.0058471038937568665, -0.018406998366117477, -0.02254662476480007, -0.03270126134157181, 0.0017714190762490034, -0.03953924402594566, -0.005451984237879515, -0.005292932037264109, 0.03474794700741768, 0.016011616215109825, -0.017298555001616478, -0.017329668626189232, -0.014539085328578949, 0.02323644980788231, 0.02187039516866207, 0.040254268795251846, -0.02309110388159752, 0.019203074276447296, -0.004188236780464649, -0.031316448003053665, -0.013608857057988644, -0.010384947992861271, 0.014223328791558743, 0.01257510855793953, -0.04831788316369057, -0.010387222282588482, -0.022825585678219795, 0.015001877211034298, 0.017465338110923767, 0.011096927337348461, -1.3486866734524483e-8, -0.049827080219984055, -0.011922660283744335, -0.025621365755796432, 0.05495831370353699, 0.03428301587700844, 0.016606798395514488, -0.03757983073592186, -0.04827139899134636, 0.023564567789435387, 0.007774946745485067, -0.0008937771199271083, -0.01741168648004532, -0.012628134340047836, -0.0270500760525465, 0.02648000232875347, -0.038815345615148544, 0.022362172603607178, 0.01917400397360325, 0.03265976905822754, 0.015162126161158085, -0.0055181607604026794, 0.03333204984664917, -0.022845858708024025, -0.014295145869255066, -0.015249129384756088, -0.024858569726347923, 0.020025938749313354, -0.06959614157676697, 0.04155217856168747, 0.03494418039917946, 0.014855477958917618, -0.012516925111413002, -0.0012265760451555252, 0.012262134812772274, -0.03197260573506355, -0.012477771379053593, 0.0073334043845534325, 0.018930556252598763, -0.005484068300575018, 0.0005313961883075535, -0.029428908601403236, -0.0086405323818326, -0.02049451693892479, -0.0268376674503088, -0.033735208213329315, 0.004995335824787617, -0.032275792211294174, 0.0013512363657355309, 0.026682928204536438, -0.021462375298142433, 0.019063681364059448, 0.055129747837781906, 0.04768189787864685, 0.019245781004428864, 0.025273587554693222, 0.021328246220946312, 0.045015644282102585, -0.009381463751196861, -0.020340977236628532, 0.0014212471432983875, 0.03306221961975098, -0.015044918283820152, -0.030072523280978203, -0.004568254109472036 ]
f-option-types
https://markhneedham.com/blog/2009/01/02/f-option-types
false
2009-01-28 00:48:16
TDD: Design tests for failure
[ "tdd", "testing" ]
[ "Testing" ]
As with most code, tests are read many more times than they are written and as the majority of the time the reason for reading them is to identify a test failure I think it makes sense that we should be designing our tests with failure in mind. Several ideas come to mind when thinking about ways to write/design our tests so that when we do have to read them our task is made easier. == Keep tests data independent The worst failures for me are the ones where a test fails and when we investigate the cause it turns out that it only failed because some data it relied on changed. This tends to be the case particularly when we are writing boundary tests against external services where the data is prone to change. In this situations we need to try and keep our tests *general enough that they don't give us these false failures, but also specific enough that they aren't completely worthless*. As an example, when testing XML based services it makes more sense to check that certain elements exist in the document rather than checking that these elements have certain values. The latter approach leads to brittle, difficult to maintain tests while the former leads to tests that are more independent and whose failures are actually a cause for concern. == Consistent Structure Jay Fields touched on this in a post he wrote a couple of months ago about having a http://blog.jayfields.com/2008/11/ubiquitous-assertion-syntax.html[ubiquitous assertion syntax] for every test. That way when we look at a failing test we know what to expect and we can get down to fixing the test rather than trying to work out how exactly it failed. We have used the http://www.lostechies.com/blogs/jimmy_bogard/archive/2008/07/24/arrange-act-assert-and-bdd-specifications.aspx[Arrange, Act, Assert] approach on the last couple of projects I've worked on which has worked quite well for dividing the tests into their three main parts. We typically leave empty lines between the different sections or add a comment explaining what each section is. The nice thing about this approach when you get it right is that you don't even have to read the test name - the test reads like a specification and explains for itself what it going on. My personal preference for the Assert step is that I should be able to work out why the test is failing from within the test method without having to click through to another method in the test class. There is a debate about whether or not that approach is http://c2.com/cgi/wiki?DontRepeatYourself[DRY], but that's a discussion for another post! == Avoid false failures Failing because of test reliance on data is one example of a false failure but there are other ways that a test failure can be quite misleading as to the actual reason that it failed. Null Reference or Null Pointer Exceptions are the chief culprits when it comes to this - a test will seemingly randomly start throwing one of these exceptions either on an assertion or in the actual code. With the former we should shore the test up by testing something more general further up the test, so that we get a more meaningful failure the next time. With the latter this usually happens because we added in some code without changing the tests first. I always get bitten when I disrespect Uncle Bob's Three Laws. * Write no production code except to pass a failing test. * Write only enough of a test to demonstrate a failure * Write only enough production code to pass the test Sometimes we get false failures due to not having enough data set up on our objects. Depending on the situation we might have a look at the test to see whether it is testing too much and the class has taken on more responsibility. If it turns out all is fine then the http://www.markhneedham.com/blog/2009/01/21/c-builder-pattern-still-useful-for-test-data/[builder pattern] is a really good way for ensuring we don't run into this problem again.
null
null
[ 0.016545215621590614, -0.0034803757444024086, -0.028917519375681877, 0.05914938449859619, 0.08433225005865097, 0.004936069715768099, 0.02527516335248947, 0.02071467414498329, 0.04863201454281807, -0.026614960283041, 0.010037969797849655, 0.019701236858963966, -0.0632256269454956, 0.010965202003717422, -0.04662080481648445, 0.07173221558332443, 0.08892720192670822, 0.004183228127658367, 0.05949234589934349, -0.010731825605034828, 0.022305095568299294, 0.05066583305597305, 0.0018042918527498841, 0.04867644980549812, 0.05704323202371597, -0.007904911413788795, 0.0002950661873910576, -0.021036311984062195, -0.06245224177837372, -0.002861625049263239, 0.026660315692424774, 0.003950394224375486, 0.0033724403474479914, 0.011583797633647919, 0.01441335491836071, -0.009476425126194954, -0.031786996871232986, 0.028200440108776093, 0.01372521836310625, 0.017660582438111305, -0.06032824143767357, 0.03178287670016289, -0.02130388468503952, 0.0034601797815412283, -0.034128908067941666, 0.005942617543041706, -0.03659858554601669, -0.0013659583637490869, 0.0006318807136267424, 0.00588958477601409, -0.07103874534368515, 0.06681296974420547, -0.029304945841431618, 0.007687144447118044, -0.011030428111553192, 0.04262363538146019, 0.031036168336868286, -0.06341638416051865, 0.03517244756221771, -0.0465937964618206, -0.012149302288889885, -0.013891857117414474, -0.022581662982702255, 0.048659730702638626, 0.042041677981615067, -0.02310125343501568, -0.006325017660856247, 0.04865251109004021, -0.03667740896344185, 0.007908055558800697, -0.026227129623293877, 0.009251381270587444, -0.024842193350195885, -0.028603902086615562, 0.007415981497615576, -0.03861718252301216, -0.0010944909881800413, 0.03989225998520851, 0.023351101204752922, 0.039020050317049026, -0.0163197573274374, 0.029702825471758842, 0.02676365338265896, 0.004896333906799555, -0.0014464694540947676, -0.04281211644411087, 0.008000653237104416, -0.009776773862540722, -0.04374178498983383, 0.0713752955198288, 0.04038385674357414, -0.04160192236304283, 0.012933454476296902, 0.038429953157901764, -0.018001537770032883, 0.0014664547052234411, 0.009765379130840302, 0.011957823298871517, -0.011983622796833515, -0.027283433824777603, -0.022100623697042465, -0.005239379126578569, 0.020229393616318703, 0.01733986847102642, -0.09517114609479904, 0.006701551843434572, -0.027406586334109306, -0.004199248272925615, -0.0020898154471069574, 0.012301052920520306, -0.03929547220468521, 0.01576794683933258, -0.014169388450682163, 0.009315534494817257, -0.09458545595407486, 0.06700596213340759, 0.019002597779035568, -0.028168492019176483, 0.008940371684730053, 0.022409401834011078, 0.027575692161917686, 0.005099174100905657, 0.011249442584812641, 0.06594638526439667, -0.011455385014414787, 0.027316667139530182, -0.0251858439296484, 0.059235502034425735, -0.016028134152293205, -0.030668074265122414, -0.029205910861492157, 0.04465801641345024, -0.02063492126762867, -0.0016573108732700348, -0.007535629905760288, -0.007821712642908096, -0.011577412486076355, 0.014225006103515625, 0.02412019670009613, 0.058997511863708496, -0.019472328945994377, -0.03622646629810333, 0.014901992864906788, 0.010232754051685333, 0.007953308522701263, 0.01729714497923851, -0.02304481342434883, -0.006317053455859423, -0.03363668918609619, 0.01053229346871376, 0.02732103317975998, 0.012241625227034092, 0.010356309823691845, -0.03192105144262314, 0.002922195242717862, 0.0831356793642044, 0.009867961518466473, 0.038067784160375595, 0.00234842742793262, 0.03712727501988411, 0.03956564515829086, 0.03143046796321869, 0.046716611832380295, 0.03975246101617813, 0.024969706311821938, 0.007505838293582201, -0.015368635766208172, 0.0309737641364336, 0.0005621114978566766, -0.0003032707027159631, -0.06362275034189224, -0.05290945619344711, 0.04654579237103462, -0.051566168665885925, -0.0037424725014716387, 0.04857078194618225, 0.07827316969633102, 0.025148646906018257, 0.01215746533125639, 0.019361356273293495, -0.07551687210798264, 0.027258288115262985, 0.016008051112294197, 0.0319066159427166, 0.015502342022955418, -0.012764915823936462, 0.06101490929722786, 0.035475049167871475, -0.010044682770967484, 0.02500399947166443, -0.09140988439321518, -0.08827193826436996, -0.004381090402603149, -0.03227134421467781, 0.05826542153954506, -0.040648072957992554, -0.006742977537214756, 0.08286013454198837, 0.028102263808250427, 0.03361956402659416, 0.012886016629636288, 0.0004147217550780624, -0.0019325249595567584, -0.048350781202316284, -0.03470350801944733, 0.060283415019512177, 0.048676859587430954, -0.020497284829616547, -0.05572237819433212, 0.0014132460346445441, 0.004600864835083485, 0.01839916594326496, 0.0366557352244854, 0.0013375581474974751, 0.027378814294934273, 0.008238225243985653, 0.07990403473377228, -0.02174682728946209, 0.07659819722175598, -0.07506624609231949, 0.01703871227800846, -0.019264966249465942, -0.006616313010454178, 0.010851076804101467, -0.009486797265708447, 0.11729200929403305, 0.05927979573607445, -0.038709111511707306, -0.05217113345861435, 0.01641014963388443, 0.002749058185145259, -0.06439607590436935, 0.0027769815642386675, -0.020873932167887688, 0.004754958674311638, 0.019848506897687912, -0.07765159010887146, -0.01464060042053461, 0.023215176537632942, -0.024828214198350906, 0.005872017238289118, 0.05700297653675079, -0.03411208465695381, 0.05652771145105362, 0.006859456654638052, -0.005951903760433197, 0.008390824310481548, -0.020459936931729317, -0.05385633558034897, 0.010671181604266167, 0.01714431494474411, -0.020470762625336647, 0.030653830617666245, -0.027703601866960526, -0.03942357376217842, -0.015787899494171143, -0.023197675123810768, 0.014885647222399712, 0.04375718906521797, 0.05804343521595001, -0.040194347500801086, 0.04262268543243408, 0.0012380944099277258, 0.00904877856373787, 0.018288809806108475, -0.049845773726701736, -0.035969771444797516, 0.008557341992855072, -0.012216907925903797, 0.03150125965476036, 0.011413296684622765, 0.03611001744866371, 0.024752218276262283, 0.02089814469218254, -0.02217521332204342, 0.004222129005938768, 0.06395605206489563, 0.020513687282800674, 0.002546110888943076, 0.011656194925308228, -0.01773855648934841, 0.042327702045440674, -0.03457890450954437, -0.027425920590758324, 0.023381007835268974, -0.07782308757305145, 0.04031544178724289, -0.06565628945827484, -0.08203548938035965, -0.0008322789799422026, 0.026801228523254395, 0.014243638142943382, 0.017672255635261536, 0.0009478983120061457, 0.07566675543785095, 0.01452429685741663, 0.017891177907586098, 0.013586894609034061, 0.035689447075128555, 0.04875713959336281, 0.01754477433860302, -0.02030443586409092, 0.051657844334840775, 0.008961553685367107, 0.015130449086427689, -0.05019404739141464, 0.01802198961377144, -0.020855069160461426, -0.2618350684642792, 0.04426705464720726, 0.012869775295257568, -0.05295227840542793, 0.030817793682217598, -0.030001336708664894, 0.013053820468485355, -0.03722677752375603, -0.026656031608581543, 0.03252154961228371, -0.029742546379566193, -0.036385323852300644, -0.01908654160797596, 0.05031779408454895, 0.00031598287750966847, 0.01490358728915453, 0.03265411779284477, -0.04016338288784027, 0.03337996080517769, 0.06670030206441879, -0.007626195903867483, -0.07466142624616623, 0.010586634278297424, 0.026988619938492775, 0.035330526530742645, 0.06096968799829483, -0.10403422266244888, 0.06143077835440636, -0.031467586755752563, 0.002304458525031805, 0.017526883631944656, -0.01573214866220951, -0.0038706392515450716, -0.03947480767965317, -0.0022887608502060175, -0.00819183699786663, 0.0394725501537323, 0.0008622685563750565, -0.032358814030885696, 0.03412432223558426, -0.019157055765390396, -0.05171807482838631, -0.009308725595474243, 0.021212631836533546, 0.06484291702508926, -0.018321368843317032, -0.0645112469792366, 0.0011867211433127522, -0.026486696675419807, 0.07947534322738647, -0.05967998504638672, -0.0007031560526229441, -0.01435325387865305, 0.012399224564433098, -0.0154075026512146, -0.015895355492830276, -0.0016705404268577695, -0.020541945472359657, -0.05358912795782089, -0.033340781927108765, -0.022697441279888153, -0.03776414319872856, 0.010834280401468277, -0.05949540436267853, -0.022428998723626137, -0.047949157655239105, -0.034851718693971634, -0.014588072896003723, 0.0724748894572258, 0.01064767874777317, -0.02388829179108143, 0.021849507465958595, -0.002138843759894371, -0.11022496968507767, -0.0038428883999586105, -0.011106609366834164, -0.02109770104289055, -0.022054892033338547, -0.031808339059352875, 0.03057320974767208, -0.04691849276423454, -0.04563543573021889, 0.03562360629439354, 0.011543359607458115, 0.03711676225066185, -0.009829405695199966, 0.01621423102915287, 0.020631913095712662, -0.021738216280937195, 0.019326210021972656, 0.07518935203552246, -0.00011271198309259489, -0.01074238307774067, -0.03451653942465782, 0.011273862794041634, 0.035761311650276184, 0.03266020864248276, 0.004773030523210764, 0.011406050063669682, 0.017768310382962227, 0.008319140411913395, -0.04538674280047417, 0.042093005031347275, -0.012058678083121777, -0.007334762252867222, -0.012597572058439255, -0.06805133074522018, 0.04822988063097, 0.016948610544204712, 0.025645388290286064, -0.012545430101454258, -0.014481444843113422, 0.004382926505059004, -0.04397563636302948, -0.018716352060437202, -0.023045632988214493, 0.006549420300871134, 0.04597758501768112, -0.02958560176193714, -0.031948789954185486, -0.05034414306282997, -0.002700858749449253, 0.018785811960697174, -0.011193140409886837, -0.040462102741003036, -0.04511595517396927, 0.017925091087818146, -0.02362019009888172, 0.0032192158978432417, 0.007737386506050825, -0.010277574881911278, 0.038651831448078156, 0.04244982823729515, -0.03619113564491272, -0.0013580145314335823, -0.013477769680321217, -0.055200815200805664, -0.0010491420980542898, -0.015200669877231121, -0.009939630515873432, 0.0003540951875038445, 0.0027905721217393875, 0.0014529625186696649, 0.024332642555236816, 0.0439995676279068, -0.019155491143465042, 0.02797611430287361, -0.001909342361614108, 0.035986900329589844, 0.006256332155317068, 0.006966719403862953, -0.07732491940259933, 0.0139290327206254, -0.018919385969638824, -0.05770174041390419, -0.016707133501768112, 0.03249228373169899, -0.020798739045858383, -0.0551256462931633, -0.033828672021627426, -0.005358015187084675, -0.05448262020945549, -0.024115517735481262, -0.039106544107198715, 0.021065032109618187, 0.06230736896395683, -0.012659364379942417, 0.017465997487306595, -0.02702796272933483, -0.0278537105768919, -0.005933268461376429, 0.004032037686556578, -0.032392144203186035, 0.021410370245575905, -0.015949146822094917, -0.005862690508365631, -0.002659174147993326, -0.011219784617424011, 0.054040152579545975, 0.015610030852258205, -0.006322958506643772, -0.019946126267313957, 0.03145574778318405, 0.03185190632939339, 0.030514253303408623, -0.02153666503727436, -0.018517427146434784, 0.008878116495907307, -0.04187234118580818, -0.030237670987844467, -0.035076066851615906, -0.037557631731033325, -0.006855702959001064, 0.04357431083917618, -0.05183250829577446, -0.07199322432279587, 0.028195379301905632, 0.0010412388946861029, 0.02710801176726818, 0.03453788906335831, 0.0030204199720174074, -0.010508584789931774, -0.02378368377685547, 0.013752532191574574, 0.07038252800703049, -0.0452527292072773, -0.004645232576876879, 0.0017244383925572038, -0.016233908012509346, 0.02749166451394558, 0.011341228149831295, -0.047369103878736496, -0.032443784177303314, -0.018838053569197655, 0.005997044499963522, -0.04735983535647392, -0.04286904260516167, -0.036533232778310776, 0.027960754930973053, -0.018210051581263542, -0.019373195245862007, -0.010664382949471474, 0.008488133549690247, -0.011871973983943462, -0.009385604411363602, -0.007430162280797958, -0.017267081886529922, -0.010781822726130486, 0.05089057236909866, -0.0444880872964859, 0.0013164433185011148, -0.02317078784108162, 0.03354322165250778, 0.014987075701355934, -0.011917739175260067, -0.04167715460062027, -0.03232733532786369, -0.0017824518727138638, 0.007595399394631386, 0.04228941351175308, -0.015559990890324116, -0.023309117183089256, -0.03936080262064934, 0.009638365358114243, -0.019480543211102486, 0.011823735199868679, -0.014924339018762112, -0.030482882633805275, 0.02868727408349514, 0.07051925361156464, 0.006244063843041658, 0.034827109426259995, 0.0031941873021423817, -0.024272309616208076, 0.05338156968355179, -0.06837248802185059, -0.015313489362597466, -0.06370405107736588, -0.06878926604986191, 0.01245287898927927, 0.0069765858352184296, 0.017433838918805122, -0.03015434928238392, 0.024469716474413872, 0.013458335772156715, 0.03151583671569824, 0.020407428964972496, -0.011067502200603485, 0.04482969641685486, -0.07466243207454681, 0.013803425244987011, -0.09476368874311447, 0.03720596060156822, 0.01939667947590351, -0.015079866163432598, -0.007248351350426674, -0.026172861456871033, -0.03262599930167198, 0.045221224427223206, -0.051155202090740204, -0.021334217861294746, 0.03413517028093338, 0.013227969408035278, 0.013389739207923412, 0.011034872382879257, -0.04822453483939171, 0.03796568140387535, 0.029459455981850624, -0.04220244288444519, -0.020199690014123917, -0.025378763675689697, 0.043358709663152695, 0.019226502627134323, 0.009897480718791485, -0.02237963303923607, -0.009088996797800064, 0.04650427773594856, 0.019305096939206123, 0.02891111560165882, 0.030905624851584435, -0.038397736847400665, 0.03933174908161163, 0.050621818751096725, 0.0049664718098938465, -0.01361465360969305, 0.00522566307336092, -0.008832068182528019, -0.03817614167928696, 0.03452058508992195, -0.0003734565107151866, -0.029784945771098137, -0.023082710802555084, 0.0676049143075943, 0.019667336717247963, -0.05864254757761955, -0.05552130192518234, -0.007186588831245899, -0.05243847146630287, -0.014668922871351242, -0.034480493515729904, -0.010158378630876541, -0.04918753728270531, 0.0519610233604908, -0.01897575333714485, -0.007129756733775139, 0.08279900997877121, -0.018476398661732674, -0.003335743909701705, -0.01700790412724018, 0.10304901003837585, 0.0983058363199234, 0.047724902629852295, 0.01395321637392044, 0.05485348030924797, -0.019728608429431915, -0.03906490281224251, 0.010990177281200886, -0.031074702739715576, 0.014796040952205658, -0.01194471400231123, 0.015597118996083736, 0.024678433313965797, -0.01432704459875822, 0.06322209537029266, -0.01716623082756996, 0.011901947669684887, 0.0021590348333120346, 0.036244671791791916, 0.017763463780283928, 0.062065381556749344, -0.00872775912284851, -0.009346363134682178, 0.008598453365266323, -0.038155049085617065, 0.01853608712553978, -0.04597686603665352, -0.029440052807331085, 0.02961907535791397, -0.0014335984596982598, 0.02320857346057892, -0.009136524051427841, 0.0437849685549736, 0.06978309899568558, -0.006687641143798828, 0.00987421628087759, -0.0017356059979647398, 0.0509883314371109, -0.009470888413488865, -0.003452838631346822, -0.020612068474292755, -0.03560134768486023, -0.023206964135169983, -0.03379558026790619, 0.007759335450828075, -0.010886113159358501, -0.020283054560422897, 0.03970719873905182, -0.025848999619483948, -0.019355492666363716, 0.02917630970478058, 0.01301021408289671, -0.032124895602464676, -0.0649576485157013, -0.06478278338909149, -0.01614799164235592, -0.03629158064723015, 0.004180639982223511, 0.026794610545039177, 0.0015250074211508036, -0.020711051300168037, -0.023139383643865585, -0.0195072703063488, -0.018353620544075966, 0.023956818506121635, -0.035609859973192215, -0.02735885977745056, 0.03200395777821541, 0.01151038147509098, 0.03336379677057266, 0.00003675274274428375, 0.019101491197943687, 0.0024187408853322268, -0.036007996648550034, -0.029689200222492218, -0.03337486460804939, 0.03344019502401352, 0.006663275882601738, 0.04268959164619446, -0.07523025572299957, -0.0009820106206461787, 0.019242344424128532, 0.009894799441099167, -0.06073375791311264, 0.027048055082559586, -0.02162923850119114, -0.02948787808418274, 0.034365106374025345, -0.03996874392032623, -0.0072086104191839695, -0.033495206385850906, -0.0027592035476118326, -0.003575187176465988, 0.03263005614280701, 0.04320693388581276, -0.02117048017680645, 0.09358959645032883, -0.0033679602202028036, -0.009510191157460213, -0.046028707176446915, 0.0013276169775053859, 0.011036982759833336, 0.007628247607499361, -0.020351024344563484, -0.04699552804231644, -0.051216356456279755, -0.07211063802242279, -0.022729920223355293, -0.007156715262681246, -0.0327448770403862, -0.013181019574403763, 0.01975853368639946, 0.0251924991607666, -0.07284975796937943, 0.013476410880684853, -0.0406208336353302, 0.031651150435209274, -0.03761611133813858, -0.016453174874186516, 0.04700292646884918, 0.025476761162281036, 0.0023378378245979548, 0.02173371985554695, 0.015888385474681854, -0.0459037683904171, -0.0027498553972691298, -0.009140082634985447, 0.0257265605032444, 0.04635348170995712, -0.01784561574459076, -0.017056608572602272 ]
[ -0.10195012390613556, 0.014326787553727627, -0.03046235255897045, -0.022891415283083916, 0.036714449524879456, -0.023599527776241302, 0.007767125498503447, 0.03066231496632099, -0.010920840315520763, -0.04099515825510025, -0.006360942497849464, -0.030497778207063675, -0.004536611493676901, 0.006038953550159931, 0.03534829244017601, -0.007603603880852461, -0.012507015839219093, -0.04826142638921738, 0.03105483390390873, 0.03207854554057121, 0.014661542139947414, -0.0019120386568829417, -0.05326411500573158, -0.021300991997122765, 0.016648299992084503, 0.061661604791879654, 0.050394702702760696, -0.0502786748111248, -0.0012828641338273883, -0.2151305377483368, -0.011441782116889954, -0.009869237430393696, 0.031131798401474953, -0.036178119480609894, 0.012428192421793938, 0.030506610870361328, 0.010601515881717205, 0.028013356029987335, -0.003413829021155834, 0.039278965443372726, 0.017366250976920128, 0.029042676091194153, -0.05538569390773773, -0.015826696529984474, 0.018521999940276146, 0.02180943638086319, 0.014373552985489368, -0.05256807059049606, 0.03478100523352623, 0.02376999519765377, -0.05714370682835579, -0.04497293755412102, 0.011811235919594765, -0.025749696418642998, -0.021384062245488167, 0.016270937398076057, 0.05094840005040169, 0.06285706162452698, -0.011178157292306423, 0.004519062116742134, 0.01019956823438406, -0.031547125428915024, -0.12126657366752625, 0.050081513822078705, 0.07738155871629715, 0.04932675510644913, -0.041938234120607376, -0.004823578055948019, -0.017466314136981964, 0.10784288495779037, 0.01500909123569727, -0.03275124356150627, -0.04599698260426521, 0.09507498145103455, 0.004473177250474691, 0.016241872683167458, 0.03356163203716278, -0.008892139419913292, 0.04728800430893898, -0.0543929785490036, -0.02309430204331875, -0.023459775373339653, 0.021569307893514633, -0.006479077506810427, -0.027770012617111206, -0.014104703441262245, -0.033612728118896484, 0.04659862443804741, 0.04942585527896881, 0.015792153775691986, 0.061702486127614975, -0.005812900606542826, 0.007899954915046692, 0.026348156854510307, -0.05747425928711891, -0.026403773576021194, -0.019231518730521202, 0.008215312846004963, -0.049760278314352036, 0.42358532547950745, -0.06555476039648056, 0.0019396468997001648, 0.05481204017996788, 0.04739052429795265, -0.009145885705947876, 0.0003127992677036673, 0.04002610594034195, -0.06921616196632385, -0.0028605398256331682, -0.057797376066446304, 0.052182432264089584, 0.004472267813980579, 0.06835518032312393, -0.03238953649997711, -0.007036755792796612, 0.03736481815576553, 0.025211837142705917, -0.00428370013833046, -0.006513296626508236, -0.010069464333355427, -0.01898842118680477, 0.012247929349541664, 0.024716459214687347, -0.01570439152419567, 0.00543852336704731, -0.05354465916752815, 0.026145989075303078, 0.06514076888561249, -0.007855948992073536, -0.010543238371610641, 0.038220155984163284, -0.06508166342973709, -0.06624770164489746, 0.009949854575097561, -0.007882842794060707, -0.001973215024918318, 0.023788008838891983, -0.007761257700622082, 0.004978386219590902, 0.03023403324186802, 0.024563346058130264, -0.019724907353520393, 0.01982150785624981, 0.013744254596531391, -0.055338840931653976, 0.09974721819162369, -0.005791634786874056, -0.012173466384410858, -0.020140595734119415, -0.0622110441327095, 0.025094792246818542, 0.032090917229652405, -0.02675778418779373, -0.058543432503938675, 0.008821281604468822, -0.001808257307857275, 0.06144076958298683, 0.011123593896627426, -0.033614229410886765, -0.005867181345820427, -0.014226393774151802, -0.001979588530957699, -0.08959617465734482, 0.045338064432144165, 0.048697009682655334, -0.027009768411517143, -0.02795848809182644, 0.013841094449162483, 0.022570881992578506, -0.08925236761569977, 0.024487314745783806, 0.005883899517357349, -0.028460532426834106, -0.038747068494558334, 0.005128318909555674, -0.042076315730810165, -0.0054940287955105305, 0.02482989802956581, 0.05509032681584358, 0.013877340592443943, 0.035947296768426895, 0.0061922320164740086, -0.049174852669239044, 0.033876821398735046, -0.021571584045886993, -0.061962250620126724, -0.06412835419178009, -0.00763294193893671, -0.0199993047863245, 0.0018014044035226107, -0.024305807426571846, -0.022101465612649918, -0.08373118191957474, 0.08488991111516953, -0.0539061464369297, -0.044376272708177567, 0.03678933158516884, -0.010690773837268353, -0.049027398228645325, -0.033920593559741974, 0.0006020895089022815, 0.024781085550785065, 0.00424417806789279, 0.038590844720602036, -0.05012127012014389, 0.06052383407950401, 0.0712246224284172, -0.05701601132750511, 0.0859459936618805, 0.040145814418792725, -0.030871080234646797, -0.028270917013287544, 0.015423670411109924, 0.030475521460175514, -0.0020932266488671303, -0.05136745795607567, 0.02209971472620964, 0.004138401243835688, 0.01923530548810959, 0.03931805118918419, -0.012140988372266293, -0.024378757923841476, -0.010536973364651203, -0.3380157947540283, -0.07713483273983002, -0.032226622104644775, -0.0010839763563126326, 0.04536135122179985, -0.03546267747879028, 0.002174556255340576, 0.025440646335482597, -0.04734132066369057, 0.015986857935786247, 0.06277391314506531, -0.008900814689695835, -0.009382638148963451, -0.10370245575904846, 0.0020176146645098925, -0.03060082346200943, -0.050537921488285065, -0.03439586982131004, -0.056351758539676666, 0.014614509418606758, -0.03147026151418686, -0.0063095600344240665, -0.003922454547137022, -0.07351725548505783, 0.007748345844447613, -0.02594716101884842, 0.10265756398439407, -0.020774953067302704, 0.08023246377706528, -0.027580251917243004, 0.03353108465671539, -0.005790363531559706, 0.04682588949799538, -0.0728340893983841, 0.01805935800075531, -0.011822417378425598, -0.05396914482116699, 0.010133801959455013, 0.00105851492844522, -0.04567032307386398, -0.027876010164618492, 0.019151750952005386, -0.04426996782422066, -0.015373783186078072, -0.05211169645190239, -0.008270763792097569, -0.014576989226043224, -0.010061392560601234, -0.0430782251060009, 0.0687553808093071, 0.013827696442604065, -0.004742042627185583, 0.007267040200531483, 0.014650077559053898, 0.011930982582271099, -0.03128950297832489, -0.0749451071023941, -0.006045457907021046, 0.011337977834045887, -0.03421748802065849, 0.032401397824287415, 0.07877961546182632, 0.0465998612344265, -0.04575815796852112, -0.00262723071500659, 0.0051965536549687386, -0.008489126339554787, -0.028895022347569466, 0.03547336161136627, -0.012408762238919735, -0.02067994512617588, 0.12213730067014694, -0.019340934231877327, -0.0699719488620758, -0.007525045890361071, 0.054695360362529755, -0.01589447818696499, 0.007708283606916666, 0.02367180399596691, -0.013334796763956547, 0.03133039548993111, -0.0019866828806698322, 0.023816566914319992, -0.04459063708782196, -0.00003672912498586811, 0.05446481332182884, -0.03147732466459274, -0.009909309446811676, 0.07099687308073044, -0.00535945501178503, -0.030986562371253967, 0.011620527133345604, -0.0020676907151937485, -0.062050651758909225, 0.0665077418088913, 0.027612803503870964, -0.20877058804035187, -0.00004697844269685447, 0.05065125226974487, 0.05937597528100014, -0.029549559578299522, 0.046619825065135956, 0.03349224850535393, -0.03893439471721649, 0.027175165712833405, 0.009035962633788586, 0.016757246106863022, 0.03568599373102188, 0.017547307536005974, -0.044207241386175156, 0.037210650742053986, -0.004239534493535757, 0.07158832997083664, -0.010774015448987484, 0.020652543753385544, 0.0070978677831590176, 0.02450423687696457, -0.0036791397724300623, 0.15938043594360352, -0.019037170335650444, 0.01778278313577175, 0.02398253232240677, 0.05304012820124626, 0.05530235543847084, 0.08610307425260544, 0.023146742954850197, 0.022644510492682457, -0.005817691329866648, 0.03484500199556351, 0.01059331838041544, 0.01709977351129055, -0.05736279860138893, -0.0262554083019495, 0.006239061243832111, 0.05492601916193962, -0.02156663127243519, 0.04285452887415886, -0.018103796988725662, -0.03974771127104759, 0.01356800552457571, 0.08237386494874954, 0.023521287366747856, -0.01891409046947956, -0.06504704058170319, -0.029487984254956245, -0.00182352086994797, -0.031191203743219376, -0.04665796831250191, 0.007849176414310932, -0.012635431252419949, -0.008370641618967056, 0.06714848428964615, 0.025147417560219765, -0.003249583998695016, -0.010203853249549866, -0.0010509005514904857, -0.01047064270824194, -0.000963563215918839, 0.14701557159423828, 0.059858184307813644, 0.030265919864177704 ]
[ -0.012814049609005451, -0.022681837901473045, -0.010928601957857609, 0.00936367642134428, -0.011574818752706051, -0.03189575672149658, 0.007244476582854986, 0.029578732326626778, 0.018570734187960625, -0.018675925210118294, -0.009158154018223286, 0.0029284548945724964, 0.046891454607248306, 0.02066218852996826, 0.0384359285235405, -0.014382027089595795, 0.014023827388882637, -0.0205528624355793, 0.061365727335214615, -0.00020516150107141584, -0.026138143613934517, 0.023867597803473473, -0.02337523363530636, -0.011762391775846481, -0.03827828913927078, 0.030141029506921768, -0.011315520852804184, -0.003394520375877619, -0.0008822724921628833, -0.14733073115348816, -0.003362974850460887, -0.0333729088306427, -0.004190843086689711, 0.018939407542347908, 0.019198350608348846, -0.008970205672085285, 0.03217748552560806, 0.008472030982375145, -0.007351906504482031, 0.00377056747674942, 0.02043018862605095, 0.009066333062946796, 0.015713615342974663, 0.027400873601436615, -0.026383675634860992, 0.020558148622512817, -0.006812645588070154, -0.02842642366886139, 0.00036191317485645413, 0.007971560582518578, -0.02727905660867691, -0.023140696808695793, 0.032405029982328415, 0.025997735559940338, 0.010422960855066776, 0.007094180211424828, 0.01143376249819994, 0.00008156416151905432, -0.02378552034497261, 0.005830397363752127, 0.0038865713868290186, 0.016420094296336174, -0.02918516844511032, -0.017181498929858208, -0.00840001180768013, 0.01806357130408287, -0.0395510271191597, 0.003875036956742406, -0.0237157940864563, 0.003532454837113619, -0.028940996155142784, 0.007801649626344442, -0.008333464153110981, 0.007742487825453281, 0.0024753608740866184, 0.05112000182271004, 0.01666172966361046, -0.03625192493200302, 0.025919660925865173, -0.02679651603102684, -0.07102227956056595, 0.014309761114418507, -0.011693252250552177, 0.027989204972982407, -0.017988678067922592, 0.04241548851132393, 0.04174766689538956, -0.03240969404578209, -0.008398866280913353, 0.0032402428332716227, 0.0069015840999782085, 0.031050579622387886, -0.011643612757325172, 0.02833767980337143, -0.0503150075674057, -0.005790000315755606, -0.017620135098695755, -0.03775294870138168, 0.018805496394634247, 0.8504251837730408, 0.013159966096282005, 0.03676065802574158, 0.028591705486178398, 0.006196423899382353, 0.015415407717227936, -0.025586212053894997, -0.00214001745916903, -0.02377934381365776, 0.02164817787706852, -0.03670934960246086, 0.00985231064260006, -0.006771010812371969, 0.025845985859632492, -0.0005645335768349469, -0.0035782060585916042, -0.0065097082406282425, 0.010525896213948727, 0.01206360012292862, -0.007252413779497147, -0.015420064330101013, 0.043442316353321075, 0.0014860464725643396, -0.023286521434783936, -0.009611723013222218, 0.07002623379230499, -0.1522166132926941, 0.023049240931868553, -1.0142719210607522e-32, 0.01649516448378563, -0.02253713645040989, 0.007763591594994068, 0.026383331045508385, 0.021076038479804993, -0.028177015483379364, 0.0345383957028389, 0.027341334149241447, 0.01492046657949686, -0.02408384159207344, -0.0025428575463593006, -0.03422287106513977, 0.035118307918310165, -0.041037268936634064, 0.035793378949165344, 0.0022332710213959217, -0.008159901946783066, 0.024174710735678673, 0.008172628469765186, 0.030908707529306412, 0.036066651344299316, 0.02671080455183983, 0.0006501660100184381, -0.03567101061344147, -0.0035821530036628246, -0.003557059448212385, 0.017162049189209938, 0.01900523714721203, -0.003934960346668959, -0.04787633568048477, -0.01174988318234682, 0.005584888160228729, -0.035191237926483154, 0.030363865196704865, 0.001870889449492097, -0.027317361906170845, -0.005817214492708445, 0.005743973422795534, 0.0033879056572914124, -0.009500298649072647, -0.03648956120014191, -0.01960020512342453, -0.011789758689701557, 0.020977379754185677, 0.010830906219780445, -0.012539362534880638, -0.005023730918765068, -0.004231669474393129, 0.0361197367310524, -0.043778251856565475, 0.044452786445617676, 0.018056483939290047, 0.03781672939658165, -0.026234613731503487, -0.011994320899248123, 0.008465339429676533, -0.027139756828546524, 0.01874474808573723, 0.009956583380699158, 0.04815255105495453, 0.014427942223846912, -0.035517483949661255, -0.03311718627810478, 0.025821860879659653, -0.01124249491840601, -0.04881375655531883, 0.00852790754288435, -0.04139220342040062, 0.0020508805755525827, -0.027591941878199577, -0.028732990846037865, -0.02012641169130802, -0.0018967112991958857, -0.0007956829504109919, 0.01690301112830639, -0.0293800737708807, 0.004190695937722921, 0.03241259977221489, -0.026064962148666382, -0.00019476319721434265, -0.003582780482247472, -0.02824169024825096, 0.0010683945147320628, -0.010655813850462437, 0.008985737338662148, 0.02952568419277668, 0.018582148477435112, -0.02071831189095974, 0.003137533087283373, -0.02724922075867653, 0.012525083497166634, -0.01721401885151863, 0.010105129331350327, -0.021063795313239098, 0.011248815804719925, 1.0415886465323359e-32, -0.017202282324433327, -0.015055573545396328, -0.01794593781232834, 0.0006023810710757971, -0.0014920131070539355, -0.01790890097618103, 0.04219827428460121, 0.012646153569221497, -0.0630713477730751, 0.05183633416891098, -0.011872380040585995, -0.00033868569880723953, -0.018422415480017662, 0.03721674159169197, 0.006739679723978043, -0.004123680293560028, 0.020244764164090157, -0.044044528156518936, 0.02458994835615158, -0.022389044985175133, 0.021177930757403374, 0.023095332086086273, 0.029945729300379753, -0.0028900494799017906, 0.002003164030611515, 0.05702521279454231, -0.027331575751304626, 0.021833453327417374, 0.01796162873506546, -0.03177705034613609, -0.0071493759751319885, 0.019642261788249016, 0.025377720594406128, 0.014983675442636013, 0.0034754376392811537, 0.017576323822140694, -0.004231734666973352, -0.019196294248104095, 0.020572664216160774, -0.014974151737987995, 0.00033625151263549924, -0.007410463411360979, 0.011513135395944118, 0.004356676712632179, 0.0071365549229085445, 0.043714508414268494, 0.010001901537179947, -0.015792852267622948, -0.011457041837275028, 0.038089819252491, -0.02066824398934841, 0.004097554832696915, -0.0014132437063381076, 0.02831130288541317, 0.00029243543394841254, -0.0029776066076010466, -0.041583336889743805, 0.00023644461180083454, -0.04880085960030556, 0.022912517189979553, -0.023516811430454254, 0.0312594436109066, -0.0009048624197021127, 0.04374288395047188, -0.028066786006093025, 0.01192502025514841, -0.01914709247648716, 0.003966308198869228, 0.00703339884057641, -0.017027707770466805, -0.03544774651527405, 0.014028254896402359, -0.010887370444834232, 0.01551196351647377, 0.05882051959633827, -0.034442681819200516, -0.029312724247574806, -0.025888843461871147, -0.022915368899703026, 0.028819160535931587, -0.0015673633897677064, -0.025907957926392555, -0.027477871626615524, 0.033081989735364914, -0.007057876791805029, 0.020635413005948067, 0.017326680943369865, 0.025893744081258774, 0.005800123326480389, -0.00806877575814724, -0.029687581583857536, -0.0036327068228274584, -0.006853607017546892, -0.0305055882781744, 0.0025061829946935177, -1.486193657029844e-8, -0.01606280356645584, 0.028700482100248337, -0.035325054079294205, 0.00109246710781008, -0.0064920843578875065, -0.011331272311508656, -0.03516584634780884, 0.005344441160559654, -0.02100566402077675, 0.03206806629896164, 0.008755616843700409, -0.018833396956324577, -0.012803956866264343, -0.01275944896042347, 0.0050090099684894085, -0.045349981635808945, -0.022693941369652748, -0.008346146903932095, 0.0283475574105978, 0.017113111913204193, -0.0002794084430206567, 0.05754983425140381, -0.025283554568886757, 0.036582354456186295, 0.026810336858034134, 0.061954300850629807, 0.008259776048362255, -0.0844964012503624, -0.0013435428263619542, 0.014389407820999622, 0.047458332031965256, -0.04130714014172554, 0.0070258439518511295, -0.0238772202283144, -0.016473595052957535, 0.012329491786658764, 0.020740430802106857, 0.043958328664302826, 0.03468109294772148, 0.00644156988710165, -0.01463123969733715, -0.019666841253638268, 0.01938583329319954, -0.015335239470005035, -0.01710844598710537, -0.016611026600003242, -0.06560643017292023, 0.012908930890262127, 0.031957440078258514, -0.04558664187788963, -0.004361460916697979, 0.0005809402209706604, 0.027346057817339897, -0.0062057217583060265, 0.022762533277273178, -0.015090985223650932, 0.0078676613047719, -0.03319006413221359, -0.025335997343063354, 0.04414181038737297, 0.024308403953909874, 0.029409203678369522, 0.0010192631743848324, -0.019272523000836372 ]
tdd-design-tests-for-failure
https://markhneedham.com/blog/2009/01/28/tdd-design-tests-for-failure
false
2009-01-17 21:01:38
YAGNI: Some thoughts
[ "coding" ]
[ "Coding" ]
If you hang around a team practicing http://www.extremeprogramming.org/[XP] for long enough, one of the phrases you are bound to hear is http://c2.com/xp/YouArentGonnaNeedIt.html[YAGNI] (You Ain't Gonna Need It). Although it can sometimes be used to ignore things we don't want to focus on http://iancartwright.com/blog/2009/01/five-kinds-of-technical-debt.html[as Ian points out], in general the aim is to stop people from working on code that isn't currently required. So assuming our team isn't being lazy and trying to avoid decisions that they don't want to think about, why do we hear the YAGNI call and more importantly, perhaps, what happens when we don't heed that call. == Jack of all trades, master of none One of the problems of writing APIs that are designed based on potential future use (by multiple clients) is that the *API ends up not being what any of the clients want* - it does its job but not in a way that makes life easy for any of the clients. From my experience the easiest way to design usable APIs is to drive the design by using examples. We only write code if we have an example/test to drive that out. At a higher level this means that we should drive the design of our code by working out how the client is going to use it rather than trying to anticipate how it might be used. This is sometimes known as http://www.code-magazine.com/article.aspx?quickid=0805061&page=2[client driven development as opposed to assumption driven development]. Joe Walnes' http://xstream.codehaus.org/[XStream] library is often referenced as an easy to use library because he only added features that he needed (as a client of the library) rather than trying to imagine what features people might want. == Change becomes difficult If we have driven our code based on assumptions of how we think it might be used in the future then it becomes more difficult to change it because we need to ensure that the changes we make won't cause problems for these potential future clients. Code driven this way rather than by examples tends to be *much more complicated* because we don't know which cases we need to handle and which we don't - we end up trying to handle them all. Making changes to code after it has been written is quite common but we have now made this more difficult for ourselves. Changes end up taking longer and we can't be sure that the change will work for anyone beyond our current clients anyway. == Takes longer When we only develop an API for clients that currently exist we are writing much less code than when we try to code for the generic case and therefore we can accomplish our task much more quickly. The inverse being that when we don't *we spend a lot of time* trying to write a solution that veers more and more towards being a framework. This doesn't mean that we should completely tie our API to that client - instead we should ensure that our solution is flexible and easy to change in the future.
null
null
[ 0.032364312559366226, -0.006564984563738108, 0.0097799738869071, 0.03686433658003807, 0.07241223752498627, 0.011859612539410591, 0.008947791531682014, 0.05099644884467125, 0.02324805222451687, -0.030056970193982124, -0.03246201202273369, 0.001046408899128437, -0.05853159725666046, 0.015286481007933617, -0.023181773722171783, 0.07101017236709595, 0.08128673583269119, 0.003943938296288252, 0.02410239167511463, -0.004645098000764847, 0.02325580269098282, 0.07918257266283035, 0.015836115926504135, 0.040492892265319824, 0.027268357574939728, 0.016291262581944466, -0.0069622863084077835, -0.002473157597705722, -0.05036969110369682, -0.006871820893138647, 0.049836400896310806, 0.012367920950055122, -0.0035947428550571203, 0.0060781012289226055, 0.01027209684252739, -0.019592370837926865, -0.02250206656754017, 0.014251193962991238, 0.009944349527359009, 0.030441705137491226, -0.052791666239500046, 0.035321373492479324, 0.005056940950453281, 0.017718801274895668, -0.03220080956816673, 0.004390745889395475, -0.04056095331907272, 0.005732536781579256, -0.009051681496202946, -0.021304719150066376, -0.04082920029759407, 0.0320461206138134, -0.03299184516072273, 0.021033039316534996, -0.012068132869899273, 0.04568057507276535, 0.017131242901086807, -0.05811285600066185, 0.007951050996780396, -0.03511859476566315, 0.0001457560865674168, -0.0151859475299716, 0.008858038112521172, 0.044546741992235184, 0.026582665741443634, -0.04330650344491005, -0.0010449634864926338, 0.03578372299671173, -0.03443356975913048, -0.01545750442892313, -0.03806223347783089, 0.005010755732655525, -0.02679571509361267, -0.005977489985525608, -0.002063991967588663, -0.02650325372815132, -0.011693236418068409, 0.06826399266719818, 0.014677125960588455, 0.043168872594833374, -0.02263941802084446, 0.048293039202690125, 0.023782460018992424, 0.027258606627583504, -0.01971416175365448, -0.036284081637859344, 0.016061825677752495, -0.010539918206632137, -0.06786148250102997, 0.05332466959953308, 0.016689855605363846, -0.06740502268075943, 0.013756834901869297, 0.04623397812247276, -0.00948028638958931, 0.024538394063711166, 0.032237619161605835, 0.0020167790353298187, 0.0007591648027300835, 0.0021853528451174498, -0.04531917721033096, -0.014392661862075329, -0.003589208470657468, 0.01527098286896944, -0.07927723973989487, -0.0118517791852355, 0.0004569098528008908, -0.018660014495253563, -0.006836624816060066, 0.001883754855953157, -0.02250734344124794, 0.014331907965242863, -0.018718166276812553, 0.004318648483604193, -0.05403212830424309, 0.057248830795288086, -0.00019776237604673952, -0.045273471623659134, -0.01924683339893818, 0.019615180790424347, 0.04559347406029701, 0.006825943477451801, -0.013241500593721867, 0.06294547766447067, -0.004361494444310665, 0.011466716416180134, -0.030797762796282768, 0.06006023287773132, -0.007557219825685024, -0.0711309015750885, -0.007307589985430241, 0.046215515583753586, -0.03672737255692482, -0.028794175013899803, 0.0004256361280567944, -0.0035381095949560404, 0.006048866081982851, -0.009586334228515625, 0.027624117210507393, 0.0381631962954998, -0.030361300334334373, -0.05051429942250252, 0.012262929230928421, 0.009086423553526402, 0.030207084491848946, 0.003857753472402692, 0.013244152069091797, -0.018959062173962593, -0.03042200766503811, -0.008188501931726933, 0.006786033045500517, 0.032134875655174255, 0.04364735633134842, -0.04371568560600281, 0.017882630228996277, 0.08980531990528107, 0.024867074564099312, 0.01850421167910099, -0.017322378233075142, 0.030058324337005615, 0.035809535533189774, 0.03377215564250946, 0.011674727313220501, 0.020617449656128883, 0.015088578686118126, 0.007904755882918835, -0.003166790585964918, 0.03950095549225807, 0.0041812569834291935, 0.031477056443691254, -0.05019966512918472, -0.06307767331600189, 0.050265878438949585, -0.04272150620818138, -0.02114918828010559, 0.04136735945940018, 0.08749327063560486, 0.02131783589720726, 0.02781655080616474, -0.016855955123901367, -0.0784369558095932, 0.03584423288702965, 0.011477884836494923, 0.013429583050310612, 0.015748145058751106, -0.014812634326517582, 0.053714923560619354, 0.052532847970724106, -0.007408216129988432, 0.021266551688313484, -0.05676763132214546, -0.0869072750210762, -0.04079005494713783, -0.017740966752171516, 0.055815648287534714, -0.050075381994247437, -0.002063289750367403, 0.08185277879238129, 0.013446534052491188, 0.05620893836021423, 0.014774808660149574, 0.00846987497061491, 0.007978993467986584, -0.04993564635515213, -0.04969003051519394, 0.06268064677715302, 0.04426497593522072, -0.026843613013625145, -0.06811592727899551, 0.016803313046693802, -0.004499328788369894, -0.0013478576438501477, 0.04386964812874794, -0.016458237543702126, 0.028205344453454018, -0.022339198738336563, 0.05637339502573013, -0.030651414766907692, 0.0466461256146431, -0.05768962204456329, 0.0010162306716665626, -0.00618697889149189, -0.012041747570037842, 0.019366851076483727, 0.015000023879110813, 0.11721055209636688, 0.05188042297959328, -0.05877705663442612, -0.03564072400331497, 0.008858615532517433, 0.023651685565710068, -0.051416512578725815, -0.012139424681663513, -0.012106677517294884, -0.00038745594792999327, -0.01233418844640255, -0.05973609909415245, -0.023564092814922333, -0.0002665116626303643, -0.025502275675535202, -0.0036464384756982327, 0.06894794851541519, -0.04182300716638565, 0.04563957080245018, 0.005687631666660309, -0.027083514258265495, -0.010434390045702457, -0.018505610525608063, -0.053952060639858246, 0.018645385280251503, 0.01375763863325119, -0.013825852423906326, 0.06083422154188156, -0.025656748563051224, -0.035318825393915176, -0.02542884089052677, -0.03022269904613495, 0.008396975696086884, 0.04343802109360695, 0.0586397610604763, -0.015460102818906307, 0.04583550617098808, -0.012063429690897465, 0.018138490617275238, -0.0015063253231346607, -0.06923390924930573, -0.009084725752472878, -0.023412257432937622, 0.013841026462614536, 0.04573081061244011, 0.0022497528698295355, 0.024541685357689857, 0.04432449862360954, 0.005511302035301924, -0.016793567687273026, -0.01148570142686367, 0.04663059860467911, 0.013297034427523613, 0.0012832899810746312, -0.010592523030936718, -0.006127029191702604, 0.035868920385837555, -0.05430639907717705, -0.019839340820908546, -0.010467846877872944, -0.060279250144958496, 0.05356934294104576, -0.07726051658391953, -0.06413008272647858, -0.011781980283558369, 0.0328800342977047, 0.0575440339744091, 0.0024518417194485664, 0.020676124840974808, 0.06336018443107605, 0.030883152037858963, 0.007363582495599985, -0.012308027595281601, -0.0028078597970306873, 0.0313359797000885, 0.008438536897301674, -0.015643691644072533, 0.06702465564012527, -0.012476633302867413, 0.004966494161635637, -0.04604756832122803, 0.049809448421001434, -0.009163896553218365, -0.287627249956131, 0.02796531654894352, -0.004572274163365364, -0.028288036584854126, 0.028788795694708824, -0.006690619047731161, 0.0017705968348309398, -0.05460314452648163, 0.0002638212463352829, 0.028712470084428787, -0.04704788327217102, -0.04735715314745903, -0.029616767540574074, 0.042739883065223694, -0.010246719233691692, 0.0005838124197907746, 0.0276325736194849, -0.03631097078323364, -0.0009838652331382036, 0.03735264018177986, -0.018312957137823105, -0.06531262397766113, 0.0033256139140576124, 0.0473317913711071, 0.04399058595299721, 0.044827185571193695, -0.10395032912492752, 0.04233536869287491, -0.047123778611421585, -0.01228307280689478, 0.002186819212511182, 0.009821319952607155, 0.0049821254797279835, -0.033828504383563995, -0.029569851234555244, -0.009990930557250977, 0.03159100189805031, 0.005759007763117552, 0.0039202081970870495, 0.02348584681749344, -0.021820349618792534, -0.04504186660051346, -0.009973851032555103, 0.006202217657119036, 0.0683029294013977, -0.00591583177447319, -0.08025384694337845, -0.009443054907023907, -0.038017772138118744, 0.08413036167621613, -0.048568807542324066, -0.03525921329855919, -0.004262590780854225, 0.05140084773302078, 0.020242583006620407, -0.03172998130321503, 0.015508400276303291, -0.0143159544095397, -0.04677344113588333, -0.013510541059076786, -0.01145370863378048, -0.020621543750166893, -0.010271474719047546, -0.04764140769839287, -0.0016603638650849462, -0.06160605698823929, -0.049426253885030746, -0.015986928716301918, 0.06750508397817612, 0.016510266810655594, -0.052753984928131104, 0.02408166229724884, 0.014811491593718529, -0.1096043735742569, -0.00000514545536134392, -0.018750237300992012, -0.015330150723457336, -0.0011059558019042015, 0.004760976415127516, 0.04003837704658508, -0.016013702377676964, -0.05527622252702713, 0.009833325631916523, 0.011087563820183277, 0.02610476128757, -0.021433081477880478, 0.04852599650621414, 0.003399830311536789, -0.024965783581137657, 0.03124949149787426, 0.06625931710004807, -0.001596824498847127, -0.03480192646384239, -0.019364217296242714, 0.021885056048631668, 0.005061468109488487, 0.033469315618276596, 0.0005718669854104519, -0.005748576018959284, 0.031031882390379906, -0.008113597519695759, -0.04614248499274254, 0.010922722518444061, -0.010786447674036026, 0.0047486512921750546, -0.02461284026503563, -0.03931950777769089, 0.015806447714567184, 0.03485880419611931, 0.052253469824790955, 0.004955460783094168, -0.020227516070008278, -0.0022100070491433144, -0.03006584569811821, -0.05728746950626373, -0.017262840643525124, 0.002145142760127783, 0.04589785635471344, -0.011308611370623112, -0.024337507784366608, -0.049729879945516586, 0.01098285149782896, 0.014363805763423443, -0.004573047626763582, -0.06458935141563416, -0.02876792475581169, -0.018294785171747208, -0.013032080605626106, 0.0107933534309268, 0.028341421857476234, -0.019354013726115227, 0.036654986441135406, 0.016484206542372704, -0.053201816976070404, 0.009675253182649612, -0.021415024995803833, -0.054743967950344086, -0.02077885903418064, -0.0012303419644013047, -0.008502861484885216, -0.010111851617693901, 0.021253252401947975, 0.010305896401405334, 0.014236312359571457, 0.049768462777137756, 0.008947429247200489, 0.022256208583712578, 0.0011168996570631862, 0.025488881394267082, 0.0027299760840833187, 0.013300925493240356, -0.08090232312679291, 0.016896303743124008, -0.03974755108356476, -0.03331604599952698, -0.03475346788764, 0.020988555625081062, -0.019675498828291893, -0.04136966913938522, -0.01683191768825054, 0.023594902828335762, -0.06376921385526657, -0.05034564062952995, -0.03191738575696945, 0.045590002089738846, 0.06053626537322998, -0.025686115026474, 0.01282583549618721, -0.03492595627903938, -0.016669992357492447, 0.016833599656820297, 0.03051650896668434, -0.046589262783527374, 0.02419671043753624, 0.01611865498125553, -0.01129476074129343, -0.016680005937814713, -0.005671513732522726, 0.05203351378440857, 0.010868541896343231, 0.0046159313060343266, -0.007499066647142172, 0.021105220541357994, -0.010729271918535233, 0.04445480927824974, 0.012116212397813797, 0.0005676098517142236, 0.012923309579491615, -0.033552274107933044, -0.02705897018313408, -0.0602044053375721, -0.0052433623932302, 0.008924316614866257, 0.022622155025601387, -0.03843177482485771, -0.06904959678649902, 0.04961826652288437, 0.016866223886609077, 0.021268552169203758, 0.006868461146950722, -0.013295305892825127, 0.021481962874531746, -0.023799464106559753, 0.0271743293851614, 0.05171787738800049, -0.05567793548107147, 0.015662450343370438, -0.0027887015603482723, 0.0003245986008550972, 0.0007946472032926977, -0.008921527303755283, -0.04623262956738472, -0.018214868381619453, -0.03143106773495674, -0.006744466722011566, -0.06747880578041077, -0.028279079124331474, -0.03161809220910072, 0.00962320901453495, -0.012748378328979015, -0.008868420496582985, -0.025372326374053955, -0.0023578344844281673, -0.036889996379613876, -0.021604707464575768, 0.0220685675740242, -0.03734324872493744, 0.015922367572784424, 0.03388923779129982, -0.03934995085000992, 0.009501643478870392, -0.0166439451277256, 0.007590760942548513, 0.025196466594934464, -0.021152658388018608, -0.006144504062831402, -0.03603154048323631, -0.00028025617939420044, 0.004383310675621033, 0.05937974154949188, -0.010306749492883682, -0.02818245440721512, -0.0294752549380064, -0.016250452026724815, -0.03423556685447693, 0.037714287638664246, -0.03521806001663208, -0.008301501162350178, 0.0062322476878762245, 0.06698530167341232, 0.015818096697330475, 0.011101963929831982, 0.009794377721846104, -0.019370142370462418, 0.05409109219908714, -0.05605967342853546, -0.01813390664756298, -0.044664908200502396, -0.05391767993569374, -0.0030266393441706896, 0.013649478554725647, 0.017872583121061325, -0.054628755897283554, 0.04676606133580208, 0.023174826055765152, 0.04376276955008507, 0.05463488772511482, -0.0007000858313404024, 0.03109895810484886, -0.049016889184713364, 0.0121587123721838, -0.08443480730056763, 0.0007921222131699324, 0.0035735631827265024, 0.015704846009612083, -0.02357972040772438, 0.0061758896335959435, -0.03478332608938217, 0.058454617857933044, -0.07024860382080078, -0.014598295092582703, 0.05976389721035957, 0.009428184479475021, -0.017532574012875557, 0.011101748794317245, -0.07632974535226822, 0.03323793783783913, 0.04444495216012001, -0.03449216112494469, -0.024263111874461174, -0.017617156729102135, 0.05160079523921013, 0.023328719660639763, 0.021800491958856583, -0.026459984481334686, -0.015038230456411839, 0.0908912718296051, -0.004151062574237585, 0.004153603687882423, 0.04065347835421562, -0.008369635790586472, 0.04365698620676994, 0.027458352968096733, -0.009840156883001328, -0.003979554865509272, 0.021787462756037712, 0.006217009853571653, -0.05760324001312256, 0.03155785799026489, 0.0006508140359073877, -0.031024351716041565, -0.034172844141721725, 0.06721895933151245, 0.02421466074883938, -0.029977446421980858, -0.03227934241294861, 0.01179082877933979, -0.0599566213786602, -0.006804706063121557, -0.019125482067465782, -0.01800335943698883, -0.05328092351555824, 0.033029504120349884, -0.016092728823423386, 0.0008948755566962063, 0.07136177271604538, 0.0025131835136562586, -0.014459597878158092, -0.022907409816980362, 0.11508132517337799, 0.07192756235599518, 0.06188454106450081, 0.016298463568091393, 0.06342500448226929, -0.018278539180755615, -0.03779143840074539, 0.008096586912870407, 0.00025163686950691044, -0.02498329058289528, -0.035377658903598785, 0.03750770539045334, 0.04226617515087128, 0.0020650357473641634, 0.056334007531404495, -0.020066188648343086, -0.030633943155407906, -0.017789363861083984, 0.05435386672616005, 0.005832428578287363, 0.06371430307626724, 0.005189911928027868, 0.022880030795931816, -0.002686696592718363, -0.046048976480960846, 0.04013534262776375, -0.02607453055679798, -0.024167951196432114, 0.04190848022699356, 0.010437333025038242, 0.01825728453695774, 0.012180070392787457, 0.026244770735502243, 0.08152022957801819, -0.0429813377559185, -0.006354925222694874, -0.00818876177072525, 0.03655458614230156, -0.00015631288988515735, -0.010147484950721264, -0.028929440304636955, -0.026140235364437103, 0.010163134895265102, -0.030630704015493393, -0.025978805497288704, -0.010372422635555267, -0.008441449142992496, 0.05808955803513527, -0.024967577308416367, -0.0005713480641134083, 0.012760688550770283, 0.008380201645195484, -0.04588328301906586, -0.0628008022904396, -0.05375805124640465, -0.027333425357937813, -0.06213441118597984, -0.020806724205613136, 0.022291453555226326, -0.0011990697821602225, -0.030138472095131874, -0.03561732918024063, -0.013411720283329487, -0.019002292305231094, 0.0427243709564209, -0.05410362407565117, -0.03970333933830261, 0.020071223378181458, 0.017942842096090317, 0.0360034704208374, 0.011636686511337757, 0.05206586793065071, -0.02127990312874317, 0.0031067198142409325, -0.03131303936243057, 0.01548437587916851, 0.020227966830134392, 0.01770358346402645, 0.02007652260363102, -0.08758574724197388, 0.02129502221941948, 0.01596270501613617, 0.0001720973668852821, -0.07336083054542542, 0.028111731633543968, 0.019376369193196297, -0.00030994860571809113, 0.06498157232999802, -0.005393569823354483, 0.0045091831125319, -0.03760064020752907, -0.008629330433905125, 0.007214670535176992, 0.019477788358926773, 0.04724755510687828, -0.0055710491724312305, 0.09008142352104187, 0.005203954875469208, -0.01945534534752369, -0.045778509229421616, -0.021449876949191093, -0.00806709099560976, -0.005073632579296827, -0.009354861453175545, -0.029272090643644333, -0.029665105044841766, -0.07561733573675156, -0.004444951191544533, 0.013021985068917274, -0.028892770409584045, -0.02875576913356781, 0.02536534145474434, 0.03427115082740784, -0.03381738066673279, 0.031136665493249893, -0.04896612837910652, 0.01569218374788761, -0.015974940732121468, -0.008075729012489319, 0.02562684938311577, 0.03359946608543396, -0.0018689414719119668, 0.007355158217251301, 0.01382893230766058, -0.04198647662997246, 0.009803393855690956, 0.009737586602568626, 0.03167854622006416, 0.038998741656541824, 0.00039104692405089736, 0.0038339151069521904 ]
[ -0.10699234902858734, -0.02985428273677826, -0.0486304871737957, -0.025314878672361374, 0.044096026569604874, -0.043491676449775696, -0.0029257885180413723, 0.026087988168001175, -0.0017145422752946615, -0.02146247588098049, -0.01222283486276865, 0.013153301551938057, -0.029447384178638458, -0.01853303052484989, 0.07208501547574997, 0.006997081451117992, -0.006990456022322178, -0.055658113211393356, -0.011686943471431732, 0.010783282108604908, 0.013029584661126137, -0.002245555864647031, -0.013985545374453068, -0.030897220596671104, 0.0023008091375231743, 0.04155289754271507, 0.012067810632288456, -0.034676600247621536, 0.019153185188770294, -0.16288626194000244, -0.00781664252281189, 0.015862878412008286, 0.06771863996982574, -0.021166853606700897, -0.004576349630951881, 0.06460968405008316, 0.02851530909538269, 0.018449723720550537, -0.011796974577009678, 0.05231894180178642, 0.003765599336475134, 0.049994975328445435, -0.05676842853426933, -0.02859669178724289, 0.007570871151983738, -0.008113835006952286, -0.013382728211581707, -0.02184828743338585, -0.056810300797224045, 0.0011070435866713524, -0.04598572850227356, -0.026817070320248604, -0.013421633280813694, -0.01866603083908558, -0.009955605491995811, 0.03577754646539688, 0.010164535604417324, 0.10431881248950958, -0.0018508494831621647, 0.026584383100271225, 0.01644160784780979, -0.04951414838433266, -0.12137338519096375, 0.09585950523614883, 0.027216950431466103, 0.08600772172212601, -0.03796021267771721, 0.001511291484348476, -0.02075899951159954, 0.08527921140193939, -0.0010390053503215313, -0.0328400544822216, -0.03344812989234924, 0.05334176868200302, 0.04232410714030266, -0.011478968895971775, 0.028672905638813972, 0.026588207110762596, 0.06980685144662857, -0.048184335231781006, -0.03257959708571434, -0.015872517600655556, -0.026026088744401932, 0.004372741561383009, -0.051091745495796204, 0.029188280925154686, -0.019141700118780136, 0.053374871611595154, 0.04533564671874046, 0.01150491926819086, 0.015456139110028744, -0.029931766912341118, 0.02384469471871853, 0.006044922396540642, -0.07552470266819, -0.002736174501478672, -0.010379462502896786, 0.013161554001271725, -0.06661513447761536, 0.4364698827266693, -0.020217154175043106, -0.021299799904227257, 0.049033768475055695, 0.020387347787618637, -0.015834258869290352, -0.031171465292572975, 0.00017458031652495265, -0.06706156581640244, 0.02932748943567276, -0.008066904731094837, -0.008334172889590263, 0.030525632202625275, 0.03971562907099724, -0.029459893703460693, -0.011625612154603004, 0.02475268766283989, -0.0063115921802818775, 0.033778849989175797, 0.002643521409481764, -0.004216215573251247, 0.0022263715509325266, 0.006049095652997494, 0.03033817932009697, 0.021209249272942543, -0.031018683686852455, -0.03221907094120979, 0.03606304153800011, 0.06324826925992966, 0.006725945509970188, 0.00804071594029665, 0.05600501596927643, -0.042103953659534454, -0.06431247293949127, 0.0035798740573227406, 0.0071342214941978455, 0.013602917082607746, 0.014461275190114975, -0.019517570734024048, -0.02224596217274666, 0.02468646690249443, 0.037724386900663376, 0.004865249153226614, 0.009634452871978283, -0.021053215488791466, -0.03687722980976105, 0.1126415804028511, 0.04906325787305832, -0.01656201109290123, -0.01763864979147911, -0.039879847317934036, 0.009155834093689919, 0.03716573119163513, -0.004893187899142504, -0.05187682434916496, 0.011816883459687233, 0.01730402000248432, 0.0790657177567482, 0.004421135876327753, -0.056458376348018646, 0.0023273357655853033, 0.006229741033166647, -0.026187218725681305, -0.04653172194957733, 0.05022011324763298, 0.03179215267300606, -0.10044350475072861, -0.00585060054436326, 0.010208481922745705, 0.024996373802423477, -0.047972194850444794, -0.01946246437728405, 0.008950838819146156, -0.006462812423706055, 0.004005356226116419, 0.0609544962644577, -0.018475744873285294, -0.042919646948575974, 0.015188002958893776, 0.03932071104645729, 0.007567455060780048, -0.005537010729312897, 0.014221127144992352, -0.026920946314930916, -0.005018002353608608, -0.025535397231578827, -0.05784057453274727, -0.012096327729523182, -0.01678149774670601, -0.011852387338876724, -0.02167705073952675, -0.023096861317753792, -0.009114532731473446, -0.07108941674232483, 0.08281213790178299, -0.01508292369544506, 0.0011484030401334167, 0.03884493187069893, -0.024073844775557518, -0.031153777614235878, -0.015180135145783424, -0.04779134690761566, 0.05274008587002754, -0.014014926739037037, 0.03347388654947281, -0.046746719628572464, 0.04186781868338585, 0.05007614195346832, -0.04538495093584061, 0.07455912232398987, 0.024641094729304314, -0.037869643419981, -0.0356571339070797, 0.00015606578381266445, 0.04081932455301285, -0.0013639957178384066, 0.000013154222870070953, 0.03101676143705845, 0.03178581967949867, -0.004682065919041634, 0.0010246874298900366, -0.020983761176466942, -0.007415650878101587, -0.009752246551215649, -0.35121527314186096, -0.03955913707613945, -0.047067172825336456, 0.005016285460442305, -0.018383191898465157, -0.06359809637069702, 0.0024530093651264906, -0.017496414482593536, -0.056723326444625854, 0.02916596457362175, 0.10134723782539368, -0.03256160765886307, 0.0049878377467393875, -0.08124461024999619, -0.004046403802931309, 0.021841691806912422, -0.055743128061294556, -0.026572300121188164, -0.05027076229453087, 0.005398938432335854, 0.00030028773471713066, 0.00336996978148818, -0.009588844142854214, -0.07868395000696182, 0.0013010227121412754, -0.00412961607798934, 0.09980562329292297, -0.004598677624017, 0.08868508040904999, -0.02333853952586651, 0.035522282123565674, -0.02119169384241104, 0.023975355550646782, -0.10392505675554276, -0.006619402207434177, -0.019136490300297737, 0.009093495085835457, -0.01599806360900402, 0.03874436020851135, -0.039986271411180496, -0.05874793976545334, 0.032097186893224716, -0.059970103204250336, -0.03294594958424568, -0.05299089848995209, 0.00866547878831625, -0.05137655884027481, -0.04116983339190483, -0.04448074847459793, 0.05629638954997063, -0.0012956600403413177, 0.025228174403309822, 0.009856018237769604, 0.01929805800318718, -0.012239813804626465, -0.04003141447901726, -0.07478431612253189, 0.018021458759903908, 0.026835516095161438, 0.012336598709225655, 0.009017515927553177, 0.06478404998779297, -0.0027891001664102077, -0.03754016011953354, 0.014838660135865211, -0.013549372553825378, 0.0035095105413347483, 0.012525239028036594, 0.03641057014465332, -0.028031229972839355, -0.036179978400468826, 0.14002954959869385, 0.004622726701200008, -0.01974746398627758, 0.03257598355412483, 0.042623139917850494, 0.017684312537312508, -0.000988936866633594, 0.010722305625677109, -0.004527478013187647, -0.000006890557415317744, -0.005556562915444374, 0.029443567618727684, -0.031771525740623474, 0.005930264946073294, 0.03689654916524887, -0.021300315856933594, -0.014276172965765, 0.03723747655749321, -0.01691262423992157, -0.019950971007347107, 0.0031347316689789295, -0.025701874867081642, -0.06917880475521088, 0.07590482383966446, 0.0031004450283944607, -0.25554701685905457, 0.019007209688425064, 0.06133270636200905, 0.0390426442027092, -0.01789517141878605, 0.040517132729291916, 0.020876675844192505, -0.05794589966535568, -0.005553991533815861, 0.02487333118915558, 0.01534122321754694, 0.033681631088256836, 0.02445812150835991, 0.003818369470536709, 0.05698755383491516, 0.0015411291969940066, 0.08142425119876862, -0.012475474737584591, 0.022787168622016907, -0.01531449519097805, 0.020881403237581253, 0.0012504097539931536, 0.18336722254753113, -0.019488412886857986, 0.056524019688367844, 0.026913516223430634, -0.020830458030104637, 0.0369243286550045, 0.07765274494886398, 0.028666982427239418, -0.0012133338022977114, -0.0019675539806485176, 0.05224738270044327, 0.001444691326469183, 0.02964114397764206, -0.10109169781208038, -0.01729413866996765, -0.025335729122161865, 0.024062899872660637, 0.004839865490794182, 0.01949319988489151, 0.025057073682546616, -0.01044713705778122, 0.01595766842365265, 0.07322930544614792, 0.03357250988483429, -0.026666944846510887, -0.047144852578639984, -0.057703401893377304, -0.009378446266055107, -0.04816480353474617, -0.05421023070812225, -0.0088046258315444, -0.001823923783376813, 0.032468345016241074, 0.05287910997867584, 0.033490054309368134, -0.02211293764412403, -0.030434411019086838, 0.010811848565936089, 0.0007636116351932287, -0.015859274193644524, 0.10632237792015076, 0.03931671753525734, 0.027838798239827156 ]
[ -0.01892099715769291, 0.02925802208483219, 0.00189957523252815, -0.012924799695611, 0.002077625598758459, -0.015251019038259983, -0.009638299234211445, 0.010656160302460194, 0.010616048239171505, -0.041173987090587616, -0.03001985512673855, 0.008908416144549847, 0.021530602127313614, -0.04385781288146973, 0.03926859050989151, 0.017567090690135956, -0.008032741025090218, -0.04758039861917496, 0.034861087799072266, 0.001817166106775403, 0.028625519946217537, 0.013437633402645588, -0.014636632055044174, -0.023713497444987297, -0.017704248428344727, 0.0061835600063204765, -0.009173125959932804, -0.0017627485794946551, 0.03443711996078491, -0.13639616966247559, -0.03048744797706604, -0.03846801817417145, -0.02053937315940857, 0.014949679374694824, -0.012984037399291992, 0.00709381140768528, 0.009357497096061707, -0.02161048725247383, -0.012884771451354027, 0.0035804833751171827, 0.007301641162484884, -0.018524378538131714, -0.033662836998701096, 0.02064712531864643, -0.0277115348726511, 0.011469115503132343, -0.018103312700986862, -0.04537418857216835, -0.03205297142267227, -0.004200051072984934, -0.04213886335492134, -0.037714213132858276, 0.0031313200015574694, 0.022947708144783974, 0.02604071982204914, -0.044974178075790405, 0.003634650493040681, -0.003805971471592784, -0.0017748053651303053, -0.030496811494231224, 0.0035757734440267086, -0.013917891308665276, -0.010608719661831856, -0.00869824644178152, -0.008293037302792072, 0.0009975794237107038, -0.01886596530675888, 0.031641826033592224, -0.02211252972483635, -0.020262204110622406, -0.01277694758027792, -0.0037224970292299986, -0.03452877327799797, -0.010706392116844654, 0.001292795524932444, -0.006119701080024242, -0.0020537443924695253, 0.013170146383345127, 0.021523945033550262, -0.02240077033638954, -0.010151831433176994, 0.020529016852378845, 0.02591537870466709, 0.014722597785294056, -0.011393247172236443, 0.023446926847100258, 0.009490427561104298, -0.009516362100839615, 0.004432124551385641, 0.01850169524550438, -0.0002436520007904619, 0.006753833033144474, -0.011315599083900452, 0.025976357981562614, -0.08125791698694229, 0.00980363879352808, 0.024978745728731155, -0.028871772810816765, -0.024005962535738945, 0.8540119528770447, 0.008052647113800049, 0.03313234820961952, 0.03618950396776199, -0.030704479664564133, 0.013225176371634007, -0.015201679430902004, -0.013147278688848019, 0.022478846833109856, 0.033401601016521454, -0.059029947966337204, -0.02681308425962925, 0.005928186699748039, 0.0057676127180457115, -0.007197587285190821, -0.01258526835590601, 0.01530277356505394, 0.01097270380705595, 0.026768986135721207, -0.01914801076054573, 0.0023097109515219927, 0.03337337449193001, 0.02796657383441925, 0.0206594355404377, 0.04910234361886978, 0.022166993468999863, -0.16499800980091095, 0.006830560974776745, -8.229010734048991e-33, 0.030084196478128433, -0.010580161586403847, -0.0335313081741333, -0.011040386743843555, 0.028098810464143753, -0.03181997686624527, 0.06920042634010315, 0.04672004282474518, -0.01820836402475834, -0.04171930253505707, 0.03422948345541954, -0.03525052219629288, 0.024408766999840736, -0.01984243281185627, 0.03256398066878319, -0.03429283946752548, -0.031269609928131104, 0.03339678794145584, 0.018901793286204338, 0.0030317578930407763, 0.024224955588579178, 0.008131010457873344, 0.033968087285757065, -0.021427148953080177, -0.04365774244070053, 0.01942094787955284, -0.013721399940550327, 0.017605680972337723, -0.0022036698646843433, -0.04424944147467613, -0.00997141469269991, 0.006919128820300102, -0.025436079129576683, -0.0042028953321278095, 0.030182627961039543, -0.030772773548960686, -0.012322084046900272, 0.0038037148769944906, -0.01798172853887081, -0.008690514601767063, -0.047144290059804916, 0.0106144854798913, -0.04483374208211899, -0.0126720005646348, 0.005055025685578585, -0.021705487743020058, 0.0009342374978587031, -0.005958630237728357, -0.0012618182227015495, -0.012674564495682716, -0.0074746273458004, 0.013484547846019268, 0.02484872192144394, 0.01122185867279768, -0.01699633151292801, -0.010235980153083801, -0.015535186976194382, 0.013227706775069237, -0.027166277170181274, -0.015400420874357224, 0.03603404387831688, -0.019341718405485153, -0.017334677278995514, 0.02095709554851055, -0.01019070204347372, -0.015159170143306255, 0.006139703094959259, 0.01082263607531786, 0.01964971236884594, 0.01026184856891632, -0.03628820925951004, -0.011532961390912533, -0.0010980323422700167, -0.007158818654716015, 0.008977474644780159, -0.01390914898365736, 0.004727473482489586, 0.02183496206998825, -0.003198558697476983, 0.04905783012509346, 0.038626521825790405, 0.012916890904307365, 0.016742641106247902, -0.006675376556813717, 0.01932527869939804, 0.014264841563999653, 0.04649827629327774, -0.02000565268099308, -0.02839873731136322, 0.04127541929483414, 0.03266071900725365, -0.0025074072182178497, -0.003806259948760271, -0.024767735973000526, -0.011077825911343098, 7.89677929630815e-33, -0.0006054146215319633, 0.003822925267741084, -0.031901050359010696, 0.004140844568610191, 0.03381050005555153, -0.014962994493544102, 0.007159018889069557, -0.009884064085781574, -0.045448821038007736, 0.04326179623603821, 0.019698534160852432, 0.024903245270252228, -0.043356552720069885, 0.038852617144584656, 0.04157184809446335, -0.03408405929803848, 0.012662067078053951, -0.037892889231443405, 0.02307855896651745, -0.010765510611236095, 0.02235272526741028, -0.0171467624604702, -0.005427103023976088, -0.001685108058154583, 0.025509169325232506, 0.05245193466544151, -0.025893988087773323, 0.009128821082413197, -0.0011833271710202098, -0.03204985335469246, 0.0024023938458412886, 0.010502021759748459, 0.009421679191291332, -0.015431082807481289, -0.006488154176622629, 0.020473269745707512, -0.008437844924628735, 0.012022622860968113, 0.03809092566370964, 0.00699608912691474, 0.044337958097457886, -0.0167533066123724, 0.020668694749474525, 0.008118909783661366, 0.03649439290165901, -0.007917677983641624, -0.020151153206825256, -0.04372217506170273, -0.03164733946323395, 0.06292776763439178, 0.022140001878142357, 0.025588568300008774, -0.001768454909324646, -0.0002576400001998991, -0.024096738547086716, -0.018626036122441292, -0.012493155896663666, -0.002922982908785343, -0.018314633518457413, 0.017730560153722763, -0.014722422696650028, 0.001200796803459525, -0.026753809303045273, 0.01831437461078167, -0.02356570027768612, -0.0179657731205225, -0.014133843593299389, 0.001166582922451198, -0.01723143458366394, 0.006252503488212824, -0.006252526771277189, 0.027510501444339752, -0.028056321665644646, 0.016561215743422508, -0.013380817137658596, -0.026707330718636513, 0.0006068354705348611, 0.011411888524889946, -0.04680892825126648, 0.019329393282532692, -0.013508585281670094, 0.034984152764081955, 0.037352968007326126, -0.003439500229433179, 0.004569235723465681, 0.03216651454567909, 0.013805466704070568, 0.029936395585536957, -0.028612861409783363, -0.03350042551755905, -0.0008921278640627861, -0.02013235166668892, -0.011310218833386898, 0.017740903422236443, 0.017357701435685158, -1.3508531182537808e-8, -0.046449486166238785, 0.01974724791944027, -0.014859016053378582, 0.004499340895563364, 0.04723569005727768, 0.017023518681526184, -0.023485220968723297, 0.0006735209026373923, -0.028200946748256683, 0.019354835152626038, 0.06232043728232384, -0.018653875216841698, -0.020399892702698708, 0.012534108012914658, 0.02790389396250248, -0.05534199997782707, -0.03782901167869568, -0.005784003064036369, 0.022491298615932465, -0.015126210637390614, 0.03180943801999092, 0.04124179854989052, -0.01761481910943985, 0.018260931596159935, 0.027834108099341393, -0.03100268915295601, 0.032514795660972595, -0.0743815079331398, 0.00023846776457503438, 0.005723474081605673, -0.006658424623310566, -0.007883849553763866, -0.027698570862412453, 0.017698967829346657, 0.011995707638561726, -0.04632043465971947, 0.01792849227786064, 0.005579936318099499, 0.01731979101896286, -0.00038956658681854606, -0.003232522401958704, 0.01495011243969202, 0.0028217562939971685, -0.021528100594878197, 0.030648600310087204, 0.0015282512176781893, -0.01852366141974926, -0.0076563553884625435, 0.03480767086148262, -0.035531364381313324, 0.015034698881208897, -0.0002742240612860769, 0.027267731726169586, 0.025979766622185707, 0.014762421138584614, 0.0007932127919048071, -0.01388847641646862, -0.014028666540980339, -0.03577480837702751, 0.00011641034507192671, 0.022955670952796936, 0.04955950006842613, -0.007725904230028391, -0.00027319288346916437 ]
yagni-some-thoughts
https://markhneedham.com/blog/2009/01/17/yagni-some-thoughts
false
2009-01-17 16:02:33
The danger of commenting out code
[ "coding" ]
[ "Coding" ]
An idea which is considered common sense by most developers but which is not always adhered to is that of not commenting out code. Code is nearly always under source control anyway so commenting out code which is not being used doesn't really serve any positive purpose and it can have quite a few negative effects. == Clutter Ideally we should be able to read through the code without too much confusion - each method's name being descriptive enough that we can work out what is going on. Having commented out code stops the flow of your eyes as you go down the code - *there is a distraction* and you want to know what it is. Even more time is then wasted trying to work out why the code was commented out and whether it might still be useful or not. == Misleading Unless we trawl through the source control history it is difficult to know when and why a piece of code was commented out. Sometimes when we discover a bug in our code we eventually end up debugging an area of the code which has some code commented out. If that bug didn't previously exist then the natural thought is that perhaps commenting out that code is what caused the bug to appear. Clearly that is not always the case! I have debugged code before which had parts commented out where uncommenting the code actually made the situation even worse. Leaving uncommented code in seems fairly harmless but *it can waste quite a bit of time if someone misunderstands why it was commented out* in the first place. == Broken Window Theory The http://www.codinghorror.com/blog/archives/000052.html[Broken Window Theory] proposes the idea that if we do one bad thing in our code (i.e. break a window) then it becomes more likely that the next person who encounters that code will do something bad as well eventually leading to the *degeneration of the code*. This is the same when commenting out code - if people see that there is code commented out then it becomes more acceptable for them to also comment out code and before you know it there are large chunks of code commented out and noone really knows why. == So is commenting ever ok\... I think commenting in the sense I describe here only really makes sense in the short term i.e. commenting out some code to see whether it is actually needed or not, running the tests, and then deleting it permanently if necessary. If our aim is to produce expressive and easy to understand code then removing code when it is no longer needed can go a long way to helping us achieve this.
null
null
[ 0.04161074385046959, 0.012208011001348495, -0.015223551541566849, 0.016390658915042877, 0.06115046143531799, 0.01669761724770069, 0.023936931043863297, 0.04484416916966438, 0.023299025371670723, -0.03179366886615753, -0.03439108654856682, 0.008424079045653343, -0.076340451836586, 0.014454483054578304, -0.039847999811172485, 0.07895030081272125, 0.06959158182144165, -0.002889344934374094, 0.02689765952527523, 0.014656554907560349, 0.03467647731304169, 0.0670483335852623, -0.016326531767845154, 0.01008903980255127, 0.035489827394485474, 0.00043490107054822147, -0.015527456998825073, 0.008983075618743896, -0.07799885421991348, 0.003564465092495084, 0.0465320460498333, 0.03250002861022949, 0.003715561470016837, -0.015451960265636444, -0.003378066699951887, -0.027734195813536644, -0.036813024431467056, 0.01590082421898842, 0.009201806969940662, 0.035299889743328094, -0.06349214911460876, 0.01790325529873371, -0.01299977209419012, 0.0019123661331832409, -0.055408407002687454, 0.021313082426786423, -0.03259843960404396, 0.01408410631120205, -0.015588988550007343, -0.020669419318437576, -0.05459725111722946, 0.031340572983026505, -0.0010615536011755466, -0.00533261988312006, -0.016913145780563354, 0.06351564079523087, 0.010532920248806477, -0.05021173879504204, 0.0014459409285336733, -0.06030847504734993, 0.01850634627044201, -0.006861453410238028, 0.02144155278801918, 0.03090505860745907, 0.027366725727915764, -0.022739702835679054, -0.0010009451070800424, 0.03417772054672241, -0.03777497261762619, -0.001597405644133687, -0.01616128534078598, 0.005910400301218033, -0.04735695943236351, -0.02245916984975338, 0.006121109705418348, -0.021093061193823814, -0.005154209211468697, 0.059589825570583344, 0.014141165651381016, 0.04825911298394203, -0.02261444367468357, 0.026272810995578766, 0.013016773387789726, 0.022474899888038635, 0.0068410104140639305, -0.04308997467160225, -0.003465081797912717, -0.013552692718803883, -0.054573602974414825, 0.03753873333334923, 0.012063559144735336, -0.05051909387111664, 0.040293872356414795, 0.038185592740774155, 0.008323030546307564, 0.015691358596086502, 0.016687756404280663, 0.007777442689985037, -0.007176733110100031, -0.011135741136968136, -0.039983224123716354, -0.017809459939599037, 0.013426724821329117, 0.007301289588212967, -0.08836780488491058, -0.02765757404267788, -0.022419191896915436, -0.0010434403084218502, -0.009173668920993805, -0.002371245762333274, -0.014403527602553368, 0.020046165212988853, -0.02663074992597103, -0.010961567983031273, -0.06365927308797836, 0.0441364049911499, -0.025846634060144424, -0.04110555350780487, 0.0023224549368023872, 0.00013581466919276863, 0.03971116617321968, 0.040801819413900375, 0.02163342572748661, 0.08632960170507431, 0.022053617984056473, 0.011720072478055954, -0.024239182472229004, 0.05198374390602112, -0.023080479353666306, -0.05986734479665756, -0.00857855286449194, 0.059138402342796326, -0.04292457178235054, -0.01693057268857956, 0.007565333507955074, 0.006144297309219837, 0.0034613709431141615, -0.00040551222627982497, 0.0061639295890927315, 0.03607303276658058, -0.019678672775626183, -0.02951219491660595, 0.009221145883202553, 0.025468790903687477, -0.002398294396698475, 0.005438770167529583, -0.01691681146621704, -0.013907640241086483, -0.026678206399083138, 0.0054160780273377895, 0.016990017145872116, 0.027241196483373642, 0.015267782844603062, -0.04444880411028862, 0.028777586296200752, 0.06279592961072922, 0.01245917845517397, 0.016762245446443558, -0.013785915449261665, 0.0659591406583786, 0.04685284197330475, 0.038628723472356796, 0.015361176803708076, 0.0333634577691555, 0.02583247609436512, -0.014866656623780727, -0.00971171073615551, 0.03252079337835312, -0.006909962743520737, 0.01712816022336483, -0.04008932039141655, -0.04452493414282799, 0.07416892796754837, -0.04643038660287857, -0.008818319998681545, 0.051269885152578354, 0.08275258541107178, 0.02480197884142399, 0.03499305993318558, 0.01945388689637184, -0.07353083044290543, 0.0002071878407150507, 0.007702771574258804, 0.015785010531544685, -0.004693088121712208, -0.02586745098233223, 0.05974072590470314, 0.01591702364385128, -0.010903852991759777, 0.006069388706237078, -0.07903583347797394, -0.0928787887096405, -0.022981757298111916, -0.0004552302707452327, 0.07646726071834564, -0.04025772958993912, -0.008981738239526749, 0.06825816631317139, 0.02787923254072666, 0.06969890743494034, 0.01672324351966381, 0.00494889123365283, 0.013405177742242813, -0.03185933455824852, -0.056417834013700485, 0.048148781061172485, 0.04544609785079956, -0.00022761241416446865, -0.0721110850572586, 0.03181454911828041, -0.008741669356822968, 0.006571225821971893, 0.04291961342096329, -0.02471696399152279, 0.03635292872786522, -0.011562547646462917, 0.07296030223369598, -0.027317482978105545, 0.03814643993973732, -0.06170494109392166, -0.026055511087179184, -0.00916307419538498, 0.006507911253720522, 0.00947867427021265, -0.0034036333672702312, 0.10123845934867859, 0.06375471502542496, -0.03614766150712967, -0.0037743356078863144, -0.005532332696020603, 0.003289010375738144, -0.06035960465669632, -0.0077227880246937275, -0.00806580763310194, -0.00575636699795723, 0.005326468497514725, -0.04598702862858772, -0.016710279509425163, 0.017145337536931038, -0.04247958958148956, 0.005239041056483984, 0.07062116265296936, -0.031152114272117615, 0.04362788051366806, -0.013554996810853481, -0.018451478332281113, -0.0014980568084865808, 0.0038932582829147577, -0.052180152386426926, 0.01265714317560196, 0.019930554553866386, -0.012551266700029373, 0.06495613604784012, -0.045191943645477295, -0.023175140842795372, -0.02019500732421875, -0.021788861602544785, -0.015480577945709229, 0.04168231785297394, 0.05418777838349342, -0.01285138726234436, 0.03916122019290924, 0.015539867803454399, 0.00990909431129694, -0.0015172457788139582, -0.05690557882189751, -0.011136400513350964, -0.017674490809440613, 0.00434331689029932, 0.03740637004375458, -0.016065688803792, 0.03235526755452156, 0.0012647700496017933, 0.0016219217795878649, -0.020075863227248192, -0.002238037995994091, 0.043528396636247635, -0.012297526933252811, -0.01971767656505108, -0.016078617423772812, -0.028016619384288788, 0.04061396047472954, -0.04219432175159454, -0.04263049364089966, 0.002148901578038931, -0.06583103537559509, 0.07111096382141113, -0.06545048952102661, -0.07021594792604446, 0.014758557081222534, 0.03249868005514145, 0.011279245838522911, -0.023902134969830513, 0.051068685948848724, 0.09836988896131516, 0.008627309463918209, -0.006321268156170845, -0.002495578723028302, 0.0005216628196649253, 0.029898416250944138, 0.0139778396114707, -0.006423206068575382, 0.032415442168712616, -0.008798436261713505, -0.01611134223639965, -0.02329489029943943, 0.03322342410683632, -0.01005940418690443, -0.2778651714324951, 0.043798718601465225, 0.0006956867873668671, -0.04789698123931885, 0.017047500237822533, 0.005877327639609575, 0.042729105800390244, -0.050342898815870285, -0.015458038076758385, 0.020958200097084045, -0.03305774927139282, -0.0511038564145565, -0.01871352829039097, 0.05257340893149376, -0.012162821367383003, 0.005756694823503494, 0.0076267835684120655, -0.02386155165731907, -0.00603871513158083, 0.05356041342020035, 0.008312582969665527, -0.059516534209251404, -0.007077266927808523, 0.01378998439759016, 0.03706912323832512, 0.03741342946887016, -0.07032570242881775, 0.04325253888964653, -0.05915183573961258, -0.006390703376382589, 0.000743331213016063, -0.018862487748265266, -0.012853498570621014, -0.03677301108837128, -0.022657671943306923, -0.00514750462025404, 0.04466557130217552, 0.0013675190275534987, -0.011638285592198372, 0.0450635701417923, 0.0012278133071959019, -0.019297590479254723, -0.010533095337450504, 0.010603734292089939, 0.061684466898441315, -0.006240468472242355, -0.07257496565580368, -0.0007519317441619933, -0.04239800572395325, 0.08238646388053894, -0.01799062453210354, -0.03363197669386864, -0.015136964619159698, 0.0426928848028183, -0.016756201162934303, -0.03592199087142944, 0.0024770975578576326, -0.010257153771817684, -0.04347161203622818, -0.06167130917310715, -0.026808304712176323, -0.03563913330435753, -0.0017864102264866233, -0.016563655808568, 0.028560549020767212, -0.061536699533462524, -0.05623311921954155, -0.0008494015200994909, 0.09140240401029587, 0.03369637206196785, -0.030733440071344376, 0.029824305325746536, 0.0060606785118579865, -0.10638861358165741, -0.00016450669500045478, -0.021408893167972565, -0.046460457146167755, -0.018347298726439476, 0.01077515259385109, 0.033442724496126175, -0.030882885679602623, -0.040868815034627914, 0.04614501819014549, 0.008487686514854431, 0.004135006107389927, -0.03256966918706894, 0.0450766459107399, 0.023709816858172417, -0.020460106432437897, 0.004907157272100449, 0.07107003778219223, 0.008660562336444855, -0.042889196425676346, -0.03687624633312225, 0.025351189076900482, 0.03277716040611267, 0.04759931564331055, -0.01953287236392498, 0.019888967275619507, 0.058605168014764786, 0.011634592898190022, -0.058942053467035294, 0.04378295689821243, -0.02677079476416111, 0.011364169418811798, -0.014302647672593594, -0.057896923273801804, 0.04395391792058945, 0.02297576330602169, 0.027600526809692383, -0.005299365147948265, -0.022878779098391533, -0.004605460911989212, -0.036546435207128525, -0.013487273827195168, -0.01889561116695404, 0.0077802217565476894, 0.018087349832057953, -0.015247720293700695, -0.02573312632739544, -0.02842552587389946, 0.008744101971387863, -0.024659888818860054, 0.005617970135062933, -0.06974911689758301, -0.025718629360198975, -0.019927578046917915, -0.02870159223675728, 0.0037937352899461985, 0.025009678676724434, -0.023640507832169533, 0.02973494865000248, 0.011172815226018429, -0.05233541503548622, 0.02746940217912197, -0.022740349173545837, -0.04137592390179634, -0.025986094027757645, -0.014687271788716316, -0.01402955036610365, -0.0006112337578088045, 0.020267430692911148, -0.003164033405482769, 0.008867246098816395, 0.04686666280031204, 0.007410114631056786, 0.046761393547058105, -0.00597471185028553, 0.01949530653655529, 0.028675248846411705, -0.00917243491858244, -0.09035695344209671, 0.037631869316101074, -0.03833906352519989, -0.041365090757608414, -0.01611381210386753, 0.05274078994989395, -0.008253024891018867, -0.05468657612800598, -0.011003074236214161, -0.0025304490700364113, -0.05487430468201637, -0.04448869079351425, -0.015516510233283043, 0.016202634200453758, 0.055841103196144104, -0.01546485535800457, 0.02673671394586563, -0.011581075377762318, -0.021059870719909668, 0.00844926480203867, 0.042771439999341965, -0.0810425877571106, 0.012448258697986603, 0.03938036039471626, -0.02933461032807827, -0.026851339265704155, -0.015448547899723053, 0.020222347229719162, 0.012053496204316616, 0.0077116223983466625, -0.015383309684693813, 0.0277541596442461, 0.023448389023542404, 0.04576755687594414, -0.012217492796480656, 0.009688805788755417, -0.0015997275477275252, -0.009593544527888298, -0.02097972482442856, -0.052932046353816986, -0.003886523889377713, 0.008748858235776424, 0.02125471830368042, -0.04497326537966728, -0.06957556307315826, 0.012851633131504059, 0.035237185657024384, 0.019387414678931236, 0.011407065205276012, -0.005079140421003103, 0.004667698405683041, -0.0486212782561779, 0.02749643847346306, 0.06676352024078369, -0.04635442793369293, 0.03797608241438866, -0.006154617294669151, -0.0028669489547610283, 0.02100467123091221, -0.023650996387004852, -0.05197131633758545, -0.03964456543326378, -0.03690974786877632, 0.006097493693232536, -0.05565648525953293, -0.008017115294933319, -0.009902797639369965, 0.0057394546456635, -0.015833670273423195, -0.03300536423921585, -0.02962186373770237, 0.014361229725182056, -0.016257917508482933, -0.0296049602329731, -0.0023520446848124266, -0.018177993595600128, 0.02000356838107109, 0.03419100493192673, -0.03579423949122429, 0.03294080123305321, 0.00980693195015192, 0.047528959810733795, 0.040905799716711044, -0.02094186842441559, -0.03522800654172897, -0.02513781562447548, -0.002159354742616415, -0.023736363276839256, 0.04218299314379692, -0.002017832361161709, -0.027880864217877388, -0.04386140778660774, -0.043313730508089066, -0.04180597886443138, 0.008978982456028461, -0.04693480208516121, -0.010870552621781826, 0.00989014282822609, 0.06901784241199493, 0.015926405787467957, 0.028921330347657204, -0.02516024559736252, -0.00912165455520153, 0.05550310015678406, -0.07302112877368927, -0.01660238206386566, -0.023523351177573204, -0.05249937251210213, 0.010824513621628284, 0.011743721552193165, 0.026778221130371094, -0.008489280939102173, 0.022472985088825226, 0.007026726845651865, 0.028053971007466316, 0.02034115046262741, -0.006298519205302, 0.03394591063261032, -0.056297667324543, 0.03364485874772072, -0.08916335552930832, 0.042135875672101974, 0.01819019764661789, -0.0013616104843094945, 0.006870332174003124, -0.02423061616718769, -0.03806211054325104, 0.04390621930360794, -0.061012621968984604, -0.004655755590647459, 0.03153623640537262, 0.013067370280623436, 0.001147155067883432, 0.016331812366843224, -0.07022329419851303, 0.03196118026971817, 0.047584135085344315, -0.04008146747946739, -0.042750850319862366, -0.029437560588121414, 0.04578985273838043, 0.02284103073179722, 0.022685647010803223, -0.021979324519634247, -0.010825440287590027, 0.04208768531680107, 0.01500376034528017, 0.012676023878157139, 0.026752682402729988, -0.02844150736927986, 0.033518798649311066, 0.04719062149524689, 0.00817926600575447, -0.01780124567449093, 0.009323758073151112, 0.024489466100931168, -0.044296443462371826, -0.0013861407060176134, 0.017009202390909195, -0.04282895103096962, -0.02379695698618889, 0.06860288232564926, 0.03191971778869629, -0.02412436343729496, -0.03966095298528671, -0.004362050909548998, -0.059644851833581924, 0.0021241481881588697, -0.03492627292871475, -0.017980040982365608, -0.04378828406333923, 0.08039487153291702, 0.03750482201576233, -0.021782247349619865, 0.05867038294672966, -0.0018274078611284494, -0.0046996669843792915, -0.02046097069978714, 0.08977484703063965, 0.0748860239982605, 0.06837610900402069, 0.009860256686806679, 0.04392693564295769, -0.021928949281573296, -0.016080528497695923, 0.03784686326980591, -0.02360493317246437, -0.01969010941684246, -0.015262416563928127, 0.01317972969263792, 0.05017630755901337, -0.018058009445667267, 0.07248593121767044, -0.03743688389658928, 0.008242444135248661, 0.006599719636142254, 0.03690459579229355, 0.0030022331047803164, 0.08547712117433548, 0.015393264591693878, -0.003449762938544154, 0.0013493369333446026, -0.04443744570016861, 0.04617081955075264, -0.03554270789027214, -0.008951012045145035, 0.027952540665864944, -0.010989313013851643, 0.008679200895130634, 0.03605042025446892, 0.029804851859807968, 0.06546017527580261, -0.02293429523706436, 0.015494835563004017, 0.005192050244659185, 0.048223745077848434, 0.00683634402230382, 0.026665857061743736, -0.038828760385513306, -0.010116862133145332, -0.0030093046370893717, -0.02106086164712906, -0.0156340841203928, -0.018706176429986954, -0.007504446431994438, 0.06701042503118515, -0.00546942139044404, -0.026940619572997093, 0.034706443548202515, 0.03219755366444588, -0.03274283558130264, -0.07790921628475189, -0.033580757677555084, -0.03558514639735222, -0.0523136705160141, -0.04950718954205513, 0.026108991354703903, -0.02196793630719185, -0.040663186460733414, -0.015425072982907295, -0.04337431117892265, -0.03230638429522514, 0.007951787672936916, -0.048944126814603806, -0.019002405926585197, 0.049531932920217514, 0.024138707667589188, 0.04983287304639816, 0.013576912693679333, 0.031288113445043564, 0.0009939384181052446, -0.0307606291025877, -0.005927045363932848, 0.003825512947514653, 0.05079648271203041, -0.015341062098741531, -0.008744413033127785, -0.07915062457323074, 0.026267126202583313, 0.016368724405765533, 0.014356994070112705, -0.06370145082473755, 0.03307465463876724, -0.0018301084637641907, -0.02826874516904354, 0.059954144060611725, -0.03527315706014633, 0.017531540244817734, -0.025010524317622185, 0.009104680269956589, -0.017336873337626457, 0.01657199114561081, 0.03672344610095024, -0.02593415416777134, 0.08321230113506317, 0.028207631781697273, -0.017750607803463936, -0.022584903985261917, -0.01997619867324829, -0.024260051548480988, -0.024215567857027054, -0.030863232910633087, -0.015195525251328945, -0.026838738471269608, -0.06986265629529953, 0.005717534571886063, 0.033780768513679504, -0.00407835841178894, -0.042350511997938156, 0.024373309686779976, 0.011133406311273575, -0.0394727997481823, 0.02108142152428627, -0.055291831493377686, 0.045265793800354004, -0.03731662780046463, -0.013344577513635159, 0.010312997736036777, 0.026734530925750732, -0.0014382683439180255, 0.013299123384058475, 0.006070078816264868, -0.02935042418539524, 0.0033062330912798643, -0.003315906971693039, 0.03225817158818245, 0.046379249542951584, -0.015630465000867844, 0.015228223986923695 ]
[ -0.09661281853914261, -0.018805505707859993, -0.02272597886621952, -0.05370141193270683, 0.03987354412674904, -0.03474010154604912, -0.010755459778010845, 0.02645796164870262, 0.006445662118494511, -0.025870949029922485, 0.00022102014918345958, 0.014193598181009293, -0.0007390104001387954, 0.007746103219687939, 0.07095923274755478, 0.019145911559462547, -0.019721612334251404, -0.05074165016412735, 0.01756756752729416, 0.006323200650513172, 0.03115491382777691, -0.023916728794574738, -0.016432594507932663, -0.032547835260629654, -0.0032118400558829308, 0.041582051664590836, 0.010779519565403461, -0.030800295993685722, -0.007498819846659899, -0.1714574694633484, 0.013498636893928051, 0.02149784564971924, 0.05676073953509331, -0.022917665541172028, 0.006671380251646042, 0.02648978680372238, 0.01580696366727352, 0.022135209292173386, -0.023274896666407585, 0.032274190336465836, -0.0001853033754741773, 0.030589092522859573, -0.06318310648202896, -0.04178517311811447, 0.03102291002869606, 0.007589043118059635, 0.004887811839580536, -0.03355224058032036, -0.03311692550778389, 0.027977047488093376, -0.06955423206090927, -0.010293849743902683, -0.0254402756690979, -0.035815171897411346, -0.015434006229043007, 0.034750841557979584, 0.008706215769052505, 0.07892853021621704, 0.011578958481550217, 0.008278889581561089, 0.03358633816242218, -0.035642582923173904, -0.10653039067983627, 0.06414911895990372, 0.07172085344791412, 0.05661657825112343, -0.01909187063574791, -0.028115559369325638, -0.007603323552757502, 0.09284414350986481, -0.008819266222417355, -0.013797747902572155, -0.03237396851181984, 0.054937850683927536, 0.006704560946673155, 0.002095182426273823, 0.006006758660078049, 0.030701525509357452, 0.02373000606894493, -0.038182370364665985, -0.04262886941432953, -0.017997298389673233, -0.0013650547480210662, 0.002478415844962001, -0.031117361038923264, 0.003844708437100053, -0.006017680745571852, 0.07681404799222946, 0.05084963142871857, 0.006687105167657137, 0.05282743647694588, -0.03988969326019287, 0.06694766879081726, -0.014069092459976673, -0.07199686020612717, 0.020634401589632034, 0.006825949996709824, 0.01935953088104725, -0.05813794210553169, 0.45904356241226196, -0.05133906751871109, -0.020676832646131516, 0.05283313989639282, 0.01883985847234726, 0.025310443714261055, -0.0036279046908020973, 0.0321270227432251, -0.03447318822145462, 0.007827549241483212, -0.04118717461824417, 0.013675644062459469, 0.00206148624420166, 0.09098599851131439, -0.01689118519425392, 0.023832743987441063, 0.012204211205244064, 0.023132750764489174, 0.020562464371323586, 0.005853745155036449, -0.007403199560940266, -0.006454337853938341, 0.001040941453538835, 0.01651945896446705, -0.013823693618178368, 0.009266315028071404, -0.040381111204624176, -0.003336809342727065, 0.07187175005674362, 0.024326534941792488, -0.007576358038932085, 0.03857068717479706, -0.03282370790839195, -0.032841794192790985, 0.01186542958021164, -0.0059234462678432465, -0.002384680090472102, 0.0319889672100544, -0.009828111156821251, 0.01262549590319395, 0.026434967294335365, 0.013986573554575443, -0.01679989881813526, 0.017202923074364662, -0.00021427639876492321, -0.043116211891174316, 0.09161686897277832, 0.010827637277543545, -0.025489119812846184, -0.013974765315651894, -0.05397801101207733, 0.011520877480506897, 0.029841523617506027, -0.03463922441005707, -0.05749158188700676, 0.015732916072010994, 0.01448796410113573, 0.07285121828317642, -0.01429740246385336, -0.06919508427381516, 0.012228894047439098, -0.004938679281622171, -0.024091290310025215, -0.053421035408973694, 0.010942377150058746, 0.03620798885822296, -0.054635509848594666, -0.007276058662682772, -0.007861499674618244, 0.03990276902914047, -0.049802038818597794, -0.02625608630478382, -0.0018244351958855987, -0.026088103652000427, -0.055262114852666855, 0.028256459161639214, -0.03608497604727745, -0.039008978754282, 0.014413140714168549, 0.059430934488773346, 0.03721525892615318, 0.021084485575556755, 0.007219952531158924, -0.060259491205215454, 0.010997791774570942, -0.028322547674179077, -0.08540323376655579, -0.054470933973789215, -0.018817005679011345, -0.02694140002131462, 0.020229551941156387, -0.05187971144914627, -0.03622319549322128, -0.07767749577760696, 0.06633331626653671, -0.03297881409525871, -0.014737531542778015, 0.03647277504205704, -0.00716504966840148, -0.013377761468291283, -0.025231588631868362, -0.015918772667646408, 0.02842768281698227, -0.047809816896915436, 0.020386239513754845, -0.0630510002374649, 0.08480100333690643, 0.049299705773591995, -0.0652342438697815, 0.07519737631082535, 0.041792720556259155, -0.05046611279249191, -0.03214983269572258, 0.014610451646149158, 0.0264578927308321, 0.00998380221426487, -0.027308151125907898, 0.006557197775691748, 0.023998035117983818, 0.02572540193796158, -0.0007786656497046351, -0.036848701536655426, -0.007962468080222607, -0.02301551215350628, -0.32741567492485046, -0.05205152928829193, -0.0036872797645628452, -0.012295356020331383, 0.014077740721404552, -0.07459195703268051, 0.02050507627427578, -0.035460565239191055, -0.022411664947867393, -0.004079251550137997, 0.07512616366147995, -0.02039511129260063, 0.0009468299685977399, -0.07638641446828842, 0.0020190926734358072, 0.0019321885192766786, -0.04612434655427933, -0.009294566698372364, -0.050371378660202026, 0.013719207607209682, -0.021114205941557884, -0.005332371685653925, 0.01109219528734684, -0.09405285120010376, -0.0256006121635437, -0.060652345418930054, 0.10260586440563202, 0.032068636268377304, 0.1171940490603447, -0.001830403576605022, 0.036097873002290726, -0.016811182722449303, 0.0009479055879637599, -0.11326007544994354, 0.02392822504043579, -0.012864960357546806, -0.008240748196840286, 0.0002258129243273288, 0.0027421924751251936, -0.02996806614100933, -0.024823017418384552, 0.011711481027305126, -0.05961183086037636, -0.02652786485850811, -0.059733666479587555, 0.010458922013640404, -0.026658160611987114, -0.03683750703930855, -0.02828938700258732, 0.06942038238048553, 0.01608780212700367, -0.0033506008330732584, 0.01373339258134365, 0.04274377599358559, 0.007598021067678928, -0.031428467482328415, -0.04940882697701454, 0.02443479374051094, 0.018455488607287407, 0.018250729888677597, 0.03606261685490608, 0.05146956071257591, 0.02781091444194317, -0.06258409470319748, 0.00808581244200468, 0.016517382115125656, -0.002389901550486684, 0.00016999537183437496, 0.05670000612735748, -0.004382215905934572, -0.035893384367227554, 0.1611984670162201, 0.006425823085010052, -0.03479660674929619, 0.0057860626839101315, 0.05374152958393097, -0.014251559041440487, 0.02573496848344803, -0.015286638401448727, -0.019761549308896065, 0.032278019934892654, 0.008723325096070766, 0.024588901549577713, -0.024816114455461502, -0.03519592434167862, 0.021722162142395973, -0.031416237354278564, -0.04491250589489937, 0.07765573263168335, 0.003986130468547344, -0.02397099882364273, 0.01881187967956066, -0.0074103823862969875, -0.07649689167737961, 0.08224040269851685, 0.006858405657112598, -0.24859707057476044, -0.006933426950126886, 0.07925684750080109, 0.05476861447095871, -0.02113119326531887, 0.044826067984104156, 0.05292079970240593, -0.06909314543008804, -0.008186432532966137, 0.005291168112307787, 0.017606521025300026, 0.031081367284059525, -0.01413386408239603, -0.028286216780543327, 0.01932520419359207, -0.020639540627598763, 0.0311883594840765, -0.013563785701990128, 0.034636061638593674, 0.006859518121927977, 0.029172861948609352, -0.019672926515340805, 0.15663130581378937, 0.01239739265292883, 0.0500994548201561, 0.015496187843382359, 0.027643149718642235, 0.028228946030139923, 0.06927507370710373, 0.016159260645508766, -0.0060300943441689014, 0.004127149470150471, 0.02673325128853321, -0.010135515592992306, 0.022471986711025238, -0.0708945170044899, -0.04509158805012703, 0.0050665512681007385, 0.034582220017910004, 0.0006695460760965943, 0.007105392869561911, 0.011775529012084007, -0.023828253149986267, 0.01814916357398033, 0.047077421098947525, 0.042088281363248825, 0.012939642183482647, -0.04019378498196602, -0.05636681243777275, -0.003590532811358571, -0.025049416348338127, -0.028060540556907654, 0.013798500411212444, 0.009454104118049145, 0.005233032163232565, 0.08272130787372589, 0.00984176341444254, -0.014228061772882938, -0.005483601242303848, 0.02529405616223812, -0.022891629487276077, -0.026413489133119583, 0.1315859854221344, 0.03594565391540527, 0.02336163818836212 ]
[ -0.04038628563284874, -0.00753977382555604, -0.00813745241612196, 0.03391598165035248, -0.002172232372686267, -0.01082224864512682, -0.0019286539172753692, 0.011068330146372318, 0.008807606063783169, 0.00008908430754672736, -0.02038681134581566, 0.0038439766503870487, 0.018714573234319687, -0.015762807801365852, 0.023421635851264, 0.02436879649758339, -0.01673329621553421, -0.03129728138446808, 0.012426304630935192, 0.0029424331150949, -0.01963602565228939, 0.007066254038363695, -0.016075167804956436, 0.009991484694182873, 0.015231354162096977, 0.02648232877254486, -0.03872494027018547, -0.04917353019118309, 0.020241141319274902, -0.11002729088068008, -0.03586515411734581, -0.014678473584353924, -0.018616437911987305, 0.021949993446469307, 0.006505921948701143, -0.011305679567158222, 0.00356331467628479, 0.022970786318182945, -0.009764904156327248, 0.012229803018271923, -0.04491601139307022, 0.03700757399201393, -0.01536114513874054, 0.014421137981116772, 0.00419879425317049, 0.003597929375246167, -0.026073794811964035, -0.01599743962287903, -0.006188876926898956, -0.05228584259748459, -0.021994881331920624, 0.008901895955204964, 0.00013703538570553064, -0.0012584656942635775, 0.016014639288187027, -0.0385284498333931, 0.03708324953913689, -0.011280284263193607, 0.01543515082448721, 0.014439945109188557, 0.023508938029408455, 0.010535426437854767, -0.06267982721328735, -0.007855827920138836, -0.020104706287384033, 0.005209756083786488, -0.014232822693884373, 0.009974268265068531, -0.018975624814629555, 0.002138847252354026, -0.054353103041648865, 0.0047185905277729034, -0.023860149085521698, -0.02159206196665764, 0.017658328637480736, 0.0025231484323740005, 0.011077538132667542, -0.012939863838255405, 0.01913749799132347, -0.018309423699975014, -0.004581672605127096, 0.03412972390651703, 0.036800507456064224, 0.012678674422204494, 0.03683838993310928, 0.02895171381533146, 0.023564793169498444, 0.008921842090785503, 0.020303785800933838, 0.023821836337447166, -0.020539911463856697, -0.0024986497592180967, 0.017886903136968613, 0.013869018293917179, -0.03597639873623848, -0.0014619897119700909, 0.012114690616726875, -0.03565002232789993, -0.0025559791829437017, 0.8625555038452148, 0.0006188953993842006, 0.04625280946493149, 0.050412800163030624, -0.01614769734442234, 0.024736227467656136, 0.010742472484707832, 0.018574174493551254, 0.02054550312459469, 0.046408750116825104, -0.060944732278585434, 0.006704207509756088, 0.008265631273388863, 0.023556390777230263, 0.0058251237496733665, 0.02646339312195778, -0.005651650484651327, 0.016800912097096443, -0.012420803308486938, 0.016628239303827286, 0.00534086674451828, 0.056971289217472076, -0.0206727497279644, -0.02918676659464836, 0.007476029917597771, 0.038767069578170776, -0.1470993459224701, 0.005554429721087217, -9.00937955657366e-33, 0.038868870586156845, -0.006824221462011337, -0.018600573763251305, -0.009667342528700829, 0.024394648149609566, 0.015716619789600372, -0.005335152614861727, 0.014969225972890854, -0.002912044059485197, -0.024272548034787178, 0.026405248790979385, -0.06898558884859085, -0.009325452148914337, -0.0024456619285047054, 0.050538320094347, 0.004032633733004332, 0.01059990469366312, 0.02875790372490883, -0.017266523092985153, 0.025400707498192787, 0.016895899549126625, 0.024266544729471207, -0.01800944097340107, -0.009280557744204998, 0.009368479251861572, 0.028778260573744774, -0.002883284818381071, 0.024232612922787666, -0.013125041499733925, -0.04634864628314972, -0.0158703550696373, 0.02214234508574009, -0.05505162104964256, 0.009227784350514412, -0.024016965180635452, -0.05662720277905464, -0.030645160004496574, -0.005036515183746815, 0.01875205524265766, -0.005031267646700144, -0.019459350034594536, 0.031951092183589935, -0.05798167362809181, -0.022410662844777107, 0.033445704728364944, -0.03157482668757439, -0.01560855470597744, 0.003035500645637512, 0.016112498939037323, -0.021473009139299393, -0.007551771588623524, 0.04921399801969528, 0.004704668186604977, 0.006014281418174505, -0.030046749860048294, 0.009970535524189472, 0.01352239865809679, -0.004569174721837044, 0.0019058908801525831, 0.036911021918058395, -0.0008949366747401655, -0.0023597520776093006, -0.03743933513760567, 0.024465126916766167, -0.006916879676282406, -0.026490546762943268, 0.003674332285299897, 0.0031708853784948587, 0.0011320457560941577, -0.024782244116067886, -0.05777346342802048, -0.00009472089004702866, -0.011439030058681965, 0.02013322338461876, -0.01871524378657341, -0.008876383304595947, -0.009207521565258503, 0.010360045358538628, -0.008743492886424065, 0.03541118651628494, 0.027732068672776222, 0.015640564262866974, 0.007634912617504597, -0.04334210231900215, -0.0009139117901213467, -0.014426146633923054, 0.007747734896838665, -0.03653206676244736, -0.02303384430706501, 0.002645437140017748, 0.024306632578372955, -0.007489005569368601, 0.0070834895595908165, -0.04110127314925194, -0.01744791492819786, 8.340788491868683e-33, -0.009651976637542248, -0.015872448682785034, -0.012605397030711174, -0.012700071558356285, -0.013871997594833374, 0.022304406389594078, -0.023137426003813744, 0.019786978140473366, -0.05458381772041321, 0.036264121532440186, -0.015653075650334358, 0.03230028599500656, -0.01898721046745777, 0.04134010151028633, 0.036847807466983795, -0.015268675982952118, 0.005684324074536562, -0.016170622780919075, 0.001432791817933321, 0.003053410444408655, 0.06132372096180916, -0.01147665735334158, 0.017668873071670532, -0.001823945203796029, 0.011959299445152283, 0.04698818549513817, -0.0007182679255492985, 0.031199803575873375, 0.035013098269701004, -0.014089701697230339, -0.0018895803950726986, -0.009626291692256927, 0.018672607839107513, -0.043993283063173294, -0.007740641012787819, 0.006316369865089655, -0.004373163916170597, -0.02774786204099655, -0.006101406645029783, 0.004554550163447857, 0.009265931323170662, 0.019065598025918007, -0.0017316793091595173, 0.04856889322400093, 0.015143942087888718, 0.02823079377412796, 0.02638588659465313, -0.023333456367254257, -0.002677211770787835, 0.0035484242253005505, 0.010241339914500713, -0.0156903937458992, 0.03005857579410076, 0.010908583179116249, -0.02664266899228096, -0.03520751744508743, -0.01984764076769352, 0.014342749491333961, -0.04640411585569382, 0.029820337891578674, -0.02013806626200676, 0.02622329629957676, -0.03648882731795311, -0.0010546091943979263, -0.04172011464834213, -0.028995441272854805, -0.02422352135181427, 0.019996095448732376, 0.0006840798305347562, -0.04928208515048027, 0.0015180784976109862, 0.015441898256540298, -0.02471878007054329, 0.02502056397497654, 0.02315877005457878, 0.026467787101864815, -0.00963604636490345, -0.022762760519981384, -0.03105163760483265, 0.01563212275505066, 0.02017737179994583, -0.005795017816126347, 0.015860863029956818, -0.010647929273545742, -0.005344033241271973, -0.013505145907402039, -0.0007848989334888756, 0.04378370940685272, -0.01859457977116108, -0.05111953616142273, -0.024005070328712463, -0.007438336499035358, 0.03440888971090317, 0.017267556861042976, 0.0034237366635352373, -1.396743520842847e-8, -0.015159020200371742, 0.011178534477949142, -0.007613841909915209, 0.007600751705467701, -0.0030750043224543333, 0.011426267214119434, -0.019906464964151382, 0.009311201050877571, -0.06144072487950325, 0.01391287986189127, 0.040063340216875076, 0.005758419167250395, 0.0011578727280721068, 0.012372119352221489, 0.01467106118798256, -0.04051711782813072, -0.043183088302612305, -0.00031627051066607237, 0.033080171793699265, 0.042868971824645996, 0.026956964284181595, 0.03625298663973808, -0.03559461236000061, 0.03769882768392563, -0.003399865934625268, -0.022139985114336014, 0.014252493157982826, -0.062239211052656174, -0.023729898035526276, 0.008402190171182156, 0.00860756915062666, -0.01394629292190075, -0.010114872828125954, 0.010833533480763435, -0.01616443507373333, -0.04786967858672142, 0.016065839678049088, 0.008141748607158661, 0.025169672444462776, -0.019853679463267326, 0.020480427891016006, -0.019246576353907585, -0.004808087833225727, -0.01525572594255209, -0.019714361056685448, -0.01446209754794836, -0.004327159840613604, -0.033754535019397736, -0.0009134706924669445, -0.06125519797205925, 0.02230432815849781, 0.005132874473929405, -0.0004914514138363302, 0.010291505604982376, 0.0035754160489887, 0.018371867015957832, -0.011884164065122604, 0.0043222601525485516, -0.007815789431333542, 0.003355443011969328, -0.004338856320828199, 0.03548230603337288, -0.00006281273817876354, -0.011252661235630512 ]
the-danger-of-commenting-out-code
https://markhneedham.com/blog/2009/01/17/the-danger-of-commenting-out-code
false
2009-01-10 14:04:57
Finding the value in fixing technical debt
[ "software-development" ]
[ "Software Development" ]
http://www.martinfowler.com/bliki/TechnicalDebt.html[Technical debt] is a term coined by Martin Fowler which we tend to use on our projects to describe a number of different situations on projects as http://iancartwright.com/blog/2009/01/five-kinds-of-technical-debt.html[Ian Cartwright points out] in his post on the subject. Ian covers it in more detail, but to summarise my understanding of what technical debt actually is: ____ Technical debt is where we know that something we choose not to take care of now is going to affect us in the future. ____ The latter part of the sentence is interesting because it is somewhat subjective. There are clearly different levels of what 'affect us' means. == Phantom Debt The most interesting area of this is around the area of what Ian describes as Phantom debt. ____ This is 'technical debt' as invoked by a developer who has decided they don't like part of the code base and hence want to rewrite it. Technical Debt certainly sounds better than 'egotistical refactoring session' ;-) ____ Since reading Uncle Bob's http://www.markhneedham.com/blog/2008/09/15/clean-code-book-review/[Clean Code] I've become a bit fanatical in my approach to trying to make code as readable as possible, mainly by extracting code into methods which describe what is going on. Whenever I come across code that doesn't make sense to me I try to http://www.industriallogic.com/xp/refactoring/composeMethod.html[break it into methods] which make it easier for me to understand and hopefully easier for the next person to read to. I don't think that's technical debt in the typical sense because it is difficult to put a value on how that is going to hurt us in the future - I am only trying to make my life easier the next time I come across this piece of code. The problem is that it is http://www.markhneedham.com/blog/2008/12/02/what-are-your-personal-practices/[my opinion] that structuring code in this way is preferable. I have certainly worked with people who consider it overkill. The benefits of handling this type of 'debt' are not as great as taking care of a concurrency issue which could cause the application to work in a non deterministic way when handling a high number of users for example. On the other hand the amount of time to fix it is much less. Clearly if I went through the whole code base and applied this refactoring everywhere that would not be adding value so my approach tends to be that I'll only refactor if I'm working with that particular piece of code and its current state is hindering my ability to do so. This is fairly similar to the advice I have been given around the best approach to getting tests around legacy code - only put tests around that code when you have to work with that particular piece of code otherwise you'll be there all day. == Looking at the value we're adding There is a bit of balance between making the code perfect and adding value to the customer. One of the ideas of lean is that we should always look at the value that we are adding to the customer and in removing some kinds of technical debt I suppose we are not actually adding tangible value. I don't think it's completely wasted time though because we are (hopefully) helping to reduce the time wasted trying to read difficult to understand code, making debugging easier etc. It's definitely a tricky balance to find though.
null
null
[ 0.0354246087372303, 0.019680844619870186, 0.011727250181138515, 0.039676323533058167, 0.07847269624471664, 0.032302308827638626, 0.0033418249804526567, 0.038948602974414825, 0.020283956080675125, -0.024904467165470123, -0.0405353307723999, 0.007271353155374527, -0.05560406297445297, 0.0043776496313512325, -0.0374896377325058, 0.0778597965836525, 0.07871411740779877, -0.01632893644273281, 0.014606795273721218, -0.020017627626657486, 0.030854476615786552, 0.08798716962337494, 0.013473075814545155, 0.019005460664629936, 0.0036407113075256348, 0.024650340899825096, -0.011163212358951569, -0.009818751364946365, -0.07218489050865173, -0.009378110989928246, 0.05988043174147606, 0.023926453664898872, 0.004897714126855135, -0.003082714742049575, 0.023853927850723267, -0.005467045120894909, -0.024150671437382698, -0.0009372968343086541, -0.021930677816271782, 0.012040883302688599, -0.06577090173959732, 0.025658922269940376, -0.016775978729128838, 0.018546221777796745, -0.05725972726941109, -0.013518906198441982, -0.019594557583332062, -0.0025761015713214874, -0.013112778775393963, -0.015125356614589691, -0.05481419712305069, 0.03944453224539757, -0.01406029798090458, -0.013861068524420261, -0.02481646090745926, 0.06507374346256256, 0.005551729816943407, -0.05527707561850548, -0.008297855965793133, -0.05519256740808487, 0.012330206111073494, -0.019571971148252487, 0.0032196403481066227, 0.037038374692201614, 0.023127179592847824, -0.02293366752564907, -0.013375738635659218, 0.035139452666044235, -0.04914494603872299, -0.01153227686882019, 0.0020450211595743895, 0.016069775447249413, -0.02159508690237999, -0.013709066435694695, 0.007505998481065035, -0.039314236491918564, -0.013133447617292404, 0.07568074017763138, 0.006010652985423803, 0.06103515625, -0.00424019992351532, 0.03230997547507286, 0.019015248864889145, 0.010269340127706528, -0.01550882775336504, -0.04895870387554169, 0.007629248779267073, -0.02175021730363369, -0.04366806149482727, 0.06404817849397659, 0.02305377461016178, -0.044036123901605606, 0.021486330777406693, 0.0403050072491169, -0.017684433609247208, 0.01612951047718525, 0.03776048123836517, -0.0025450275279581547, 0.007912195287644863, -0.005442338529974222, -0.03309901803731918, -0.03602771833539009, 0.020353734493255615, 0.01594759151339531, -0.07313761860132217, -0.005269395653158426, -0.04156860336661339, -0.015500987879931927, 0.001116987899877131, -0.014416305348277092, -0.030053863301873207, 0.0183166041970253, -0.027563689276576042, -0.013880254700779915, -0.06867584586143494, 0.054960254579782486, -0.017146049067378044, -0.03699933737516403, -0.017524972558021545, 0.006774262525141239, 0.040397487580776215, 0.015816131606698036, -0.017391815781593323, 0.07544231414794922, 0.02564818039536476, 0.022499272599816322, -0.012458843179047108, 0.05966220423579216, -0.029584376141428947, -0.03712303563952446, -0.010252675041556358, 0.0676489993929863, -0.043826691806316376, -0.012521574273705482, -0.008972245268523693, -0.03075004555284977, -0.017171550542116165, 0.008486405946314335, 0.028637664392590523, 0.03523582965135574, -0.014435870572924614, -0.046238481998443604, -0.01366060134023428, 0.032088275998830795, 0.01824384182691574, -0.0003571300767362118, 0.004187685437500477, -0.019702302291989326, -0.02706032805144787, -0.01087288185954094, 0.004867976531386375, 0.0322391651570797, 0.03207908943295479, -0.02836543694138527, 0.03447018936276436, 0.07790683209896088, 0.020281843841075897, 0.01459463220089674, -0.0012482478050515056, 0.04145767539739609, 0.04636663943529129, 0.03164603188633919, 0.017680777236819267, 0.051226403564214706, 0.009418223053216934, 0.0034025888890028, 0.0015848166076466441, 0.05238302797079086, 0.000577869126573205, 0.01169483084231615, -0.05361871048808098, -0.036602456122636795, 0.06402257829904556, -0.05125099793076515, -0.026413187384605408, 0.06019603833556175, 0.06333605200052261, 0.031696729362010956, 0.058184653520584106, -0.0025661687832325697, -0.0808582529425621, 0.027219412848353386, 0.03277953341603279, 0.001125106355175376, 0.011056355200707912, -0.010253860615193844, 0.04525884985923767, 0.018332073464989662, 0.021793387830257416, 0.03739369288086891, -0.08935678750276566, -0.07592537254095078, -0.024914659559726715, -0.02518698386847973, 0.052048493176698685, -0.021600129082798958, 0.01540352962911129, 0.06276632845401764, 0.010999380610883236, 0.06228455528616905, 0.018556367605924606, 0.003427912248298526, 0.008487301878631115, -0.03985972702503204, -0.031023873016238213, 0.029116598889231682, 0.036160897463560104, 0.011461608111858368, -0.058377884328365326, 0.01748642511665821, 0.014826413244009018, -0.008844621479511261, 0.047365523874759674, -0.048979081213474274, 0.027619151398539543, 0.0031797061674296856, 0.04370461031794548, -0.027413228526711464, 0.034738898277282715, -0.05674348771572113, -0.024108130484819412, 0.0018448284827172756, -0.019718095660209656, 0.02481655776500702, 0.01410016231238842, 0.10562564432621002, 0.05313881114125252, -0.05837015435099602, -0.03445139154791832, 0.009913777932524681, 0.010397431440651417, -0.052443843334913254, -0.016864219680428505, -0.01871347986161709, 0.02997964806854725, -0.02290876768529415, -0.06544274836778641, -0.036221567541360855, 0.006177143193781376, -0.03877705708146095, 0.015272342599928379, 0.06668426096439362, -0.04251209646463394, 0.04796546325087547, 0.008073119446635246, 0.004298442043364048, -0.02299620397388935, -0.024548403918743134, -0.06958862394094467, 0.017786307260394096, 0.01971844956278801, -0.011557984165847301, 0.04048724099993706, -0.022246696054935455, -0.042448051273822784, -0.03785425424575806, -0.034238964319229126, 0.021149782463908195, 0.0348736047744751, 0.06210673972964287, -0.027387132868170738, 0.06429392099380493, -0.008511356078088284, 0.025241749361157417, -0.007203752640634775, -0.060399722307920456, -0.03191332519054413, -0.042395103722810745, 0.023474033921957016, 0.02842770889401436, 0.0033450035843998194, 0.03388163074851036, 0.001977379899471998, 0.017005108296871185, -0.00625084200873971, -0.025786690413951874, 0.0638749897480011, -0.004770870320498943, -0.012610801495611668, -0.021532900631427765, -0.026063090190291405, 0.054505567997694016, -0.05425074324011803, -0.03241276368498802, 0.00026386676472611725, -0.06665422022342682, 0.04815532639622688, -0.038290515542030334, -0.039681121706962585, 0.005435664672404528, 0.010802126489579678, 0.04218152537941933, -0.0123164476826787, 0.04690096154808998, 0.05577254667878151, -0.0029608390759676695, -0.0028864319901913404, -0.012517939321696758, 0.010965099558234215, 0.023617001250386238, 0.011091632768511772, -0.002386795124039054, 0.025305062532424927, 0.02356177568435669, 0.005183644127100706, -0.049846235662698746, 0.04262147843837738, -0.009902984835207462, -0.2845524251461029, 0.03990668058395386, -0.0038282028399407864, -0.04767068475484848, 0.015646565705537796, 0.009507467038929462, 0.011099278926849365, -0.05143311247229576, -0.012110905721783638, -0.0026818944606930017, -0.06334757059812546, -0.059774693101644516, -0.017113097012043, 0.056382063776254654, 0.007800520397722721, 0.009626122191548347, 0.019133616238832474, -0.03754299879074097, 0.0073637403547763824, 0.051791172474622726, -0.0110642584040761, -0.0651155561208725, -0.009568428620696068, 0.05369151383638382, 0.02752835862338543, 0.05332651734352112, -0.08445744961500168, 0.04187336191534996, -0.06376507878303528, -0.0045280251652002335, -0.011810601688921452, 0.006164995022118092, 0.02726263552904129, -0.03003047965466976, -0.036551687866449356, -0.015529322437942028, 0.030906500294804573, 0.02097059227526188, -0.014415682293474674, 0.02411711774766445, -0.028825433924794197, -0.027529634535312653, -0.0032369422260671854, 0.004428163170814514, 0.08443741500377655, 0.008509092032909393, -0.07741034775972366, -0.005389456637203693, -0.02225174941122532, 0.08736363798379898, -0.039155006408691406, -0.030883949249982834, 0.005861136596649885, 0.0462673045694828, -0.01360300462692976, -0.024983828887343407, 0.018005894497036934, -0.031081141903996468, -0.044076841324567795, -0.003419609507545829, -0.012540548108518124, -0.02581080235540867, -0.010392780415713787, -0.03946097195148468, 0.008769524283707142, -0.06532352417707443, -0.060947053134441376, -0.024992989376187325, 0.08482266217470169, 0.030484342947602272, -0.029681790620088577, 0.023616909980773926, 0.0028670814353972673, -0.11144688725471497, 0.0015261414228007197, -0.022286146879196167, -0.020499777048826218, 0.016356009989976883, 0.004322920925915241, 0.03344292566180229, -0.018454698845744133, -0.07189860939979553, 0.02527567930519581, 0.012464622035622597, 0.009751580655574799, -0.019470181316137314, 0.030313976109027863, 0.0194967370480299, -0.019056137651205063, 0.010152909904718399, 0.0720769464969635, 0.000052208906708983704, -0.03909720852971077, -0.033061202615499496, 0.012078340165317059, -0.0008502433192916214, 0.03062574751675129, 0.00892883725464344, 0.009828347712755203, 0.04400981590151787, 0.010898466221988201, -0.07617393136024475, 0.03626613691449165, -0.015820087864995003, -0.02172165736556053, -0.037984032183885574, -0.029590250924229622, 0.01209812331944704, 0.035693515092134476, 0.03350011631846428, -0.0035340420436114073, -0.016483336687088013, 0.015746068209409714, -0.037182021886110306, -0.05289147049188614, -0.012034567072987556, 0.002979525364935398, 0.027805782854557037, -0.020325971767306328, -0.024281401187181473, -0.034343741834163666, 0.003878963179886341, -0.008512244559824467, -0.019352944567799568, -0.06343016773462296, -0.004382378421723843, -0.019161680713295937, -0.01523504313081503, 0.019821766763925552, 0.033611517399549484, -0.028393017128109932, 0.03934342786669731, -0.01101206336170435, -0.048572245985269547, 0.014602543786168098, -0.031019506976008415, -0.04258463904261589, -0.015047725290060043, 0.020423315465450287, -0.032865189015865326, 0.03274262323975563, 0.03524422273039818, 0.0025578837376087904, 0.00997921358793974, 0.05086585879325867, 0.002221890492364764, 0.023001454770565033, 0.0010994597105309367, 0.035727083683013916, 0.009759986773133278, -0.009883997961878777, -0.04507048800587654, 0.03421301394701004, -0.053751785308122635, -0.030997155234217644, -0.016357209533452988, 0.024421537294983864, -0.012972041964530945, -0.03507188707590103, -0.009495215490460396, 0.02062409743666649, -0.04280201345682144, -0.039829518646001816, -0.03643954172730446, 0.034423332661390305, 0.0375591441988945, -0.02190461754798889, 0.0241092462092638, -0.0017888154834508896, 0.015703920274972916, 0.024911053478717804, 0.03900272399187088, -0.03693411499261856, 0.013007302768528461, 0.03293348848819733, -0.016076141968369484, -0.008188785053789616, -0.0032292429823428392, 0.04428386688232422, 0.04572397470474243, -0.010448475368320942, -0.031064746901392937, 0.012880994938313961, 0.011314012110233307, 0.041322700679302216, 0.0013898510951548815, 0.0042625851929187775, -0.0028227244038134813, -0.02582068182528019, -0.04351630434393883, -0.04973769187927246, -0.016081973910331726, -0.0006274222978390753, 0.013510514050722122, -0.03906163573265076, -0.07833587378263474, 0.04151236265897751, 0.009402235969901085, 0.012170182541012764, 0.012488313019275665, 0.011982381343841553, 0.003330680774524808, -0.010958756320178509, 0.03038821555674076, 0.03855174034833908, -0.06809280067682266, 0.006635884754359722, -0.009925780817866325, 0.020163489505648613, 0.010559785179793835, 0.005910551641136408, -0.030980722978711128, -0.03425946086645126, -0.028303664177656174, -0.014334630221128464, -0.08075181394815445, -0.00014363991795107722, -0.019056135788559914, -0.0037975492887198925, -0.015511085279285908, -0.01500975713133812, -0.007297464646399021, -0.0053116325289011, -0.016738779842853546, -0.01791524328291416, 0.00962466187775135, -0.020081352442502975, 0.01641022227704525, 0.008886007592082024, -0.049586955457925797, -0.0009438399574719369, -0.01976703852415085, 0.0034099966287612915, 0.016538958996534348, -0.010822550393640995, -0.005414249841123819, -0.02247263677418232, 0.0003355811059009284, -0.00007574238406959921, 0.03728195279836655, -0.004430989734828472, -0.03835688903927803, -0.028396589681506157, -0.018326977267861366, -0.040906600654125214, 0.041140116751194, -0.013011579401791096, -0.03707846254110336, 0.027897335588932037, 0.057539694011211395, 0.027782315388321877, 0.023148739710450172, -0.02990790270268917, 0.0010996945202350616, 0.05775897577404976, -0.0778828039765358, -0.026790065690875053, -0.03990468382835388, -0.046154897660017014, -0.003481257474049926, 0.013511897064745426, 0.035217635333538055, -0.04011949151754379, 0.036158785223960876, 0.03758464753627777, 0.0631212592124939, 0.02648371271789074, 0.006723450031131506, 0.03751412406563759, -0.05459565296769142, 0.02412484586238861, -0.08412992209196091, 0.016096023842692375, 0.006022328045219183, 0.017593378201127052, -0.007383380550891161, 0.007184061221778393, -0.0420478880405426, 0.009886606596410275, -0.09450913965702057, -0.020305972546339035, 0.03218930587172508, 0.003678240580484271, -0.019469821825623512, 0.014586125500500202, -0.06606301665306091, 0.01469854824244976, 0.02965085208415985, -0.04292624816298485, -0.03509141504764557, -0.018655750900506973, 0.04967096820473671, 0.019546961411833763, 0.02949158288538456, -0.0566006563603878, 0.0027883928269147873, 0.0671527162194252, 0.03144286945462227, 0.024408815428614616, 0.044284652918577194, 0.003795540425926447, 0.030299266800284386, 0.029821760952472687, 0.003473667660728097, 0.003025498939678073, 0.00795980729162693, 0.005225944332778454, -0.06243680790066719, 0.026182938367128372, 0.0017292259726673365, -0.040983110666275024, -0.04271272197365761, 0.04548695310950279, 0.038570769131183624, -0.008241216652095318, -0.047726258635520935, -0.0036761604715138674, -0.03847591578960419, -0.007045149337500334, -0.02666281908750534, -0.020176071673631668, -0.04826962947845459, 0.04632648453116417, 0.013178117573261261, -0.006646776106208563, 0.059399910271167755, 0.014172873459756374, -0.015676364302635193, -0.0012588683748617768, 0.09057731926441193, 0.07927200943231583, 0.06313323974609375, 0.005590774118900299, 0.04819511994719505, -0.022316064685583115, -0.028495438396930695, 0.01675412245094776, -0.006505152210593224, -0.009509348310530186, -0.025610849261283875, 0.0037038049194961786, 0.04878959059715271, 0.00433095870539546, 0.08053447306156158, -0.02838893234729767, -0.005060676485300064, -0.008262439630925655, 0.03919447585940361, 0.008318191394209862, 0.08181748539209366, 0.012434645555913448, 0.014452526345849037, -0.009404700249433517, -0.06315130740404129, 0.030281787738204002, -0.02663886733353138, -0.01764734834432602, 0.03437558189034462, 0.0069230892695486546, 0.0284352358430624, 0.025562524795532227, 0.026460958644747734, 0.0828031599521637, -0.03636940196156502, 0.00776650570333004, -0.005460901185870171, 0.03651745617389679, -0.006047112867236137, 0.009874381124973297, -0.034956954419612885, -0.015881935134530067, -0.003162849461659789, -0.01951463893055916, -0.013687078841030598, -0.025470968335866928, -0.010602682828903198, 0.04461314529180527, 0.0016301912255585194, -0.012949143536388874, 0.04863978549838066, -0.004536370746791363, -0.04525402560830116, -0.05551712587475777, -0.034707315266132355, -0.035940006375312805, -0.08130782097578049, -0.006426660809665918, 0.022068968042731285, -0.004326490219682455, -0.029603922739624977, -0.00855298712849617, -0.022215746343135834, -0.05390273779630661, 0.06858021765947342, -0.06945104897022247, -0.023257536813616753, 0.019797462970018387, 0.012102309614419937, 0.006068533752113581, 0.006000150926411152, 0.04154110699892044, -0.0014429676812142134, -0.020076459273695946, -0.015332655981183052, 0.02360645681619644, 0.031304407864809036, 0.02304280735552311, 0.01949447952210903, -0.07876510918140411, 0.027759192511439323, 0.03089298866689205, -0.015567472204566002, -0.06852028518915176, 0.04859878495335579, 0.010058386251330376, -0.019182458519935608, 0.05158592015504837, -0.03767596557736397, 0.02402033656835556, -0.03870371729135513, -0.011761748231947422, 0.014354257844388485, 0.008402972482144833, 0.037781357765197754, -0.025538399815559387, 0.0919836238026619, 0.01511265430599451, -0.0034320978447794914, -0.040085453540086746, -0.015879685059189796, -0.009031190536916256, -0.012889458797872066, -0.029689673334360123, -0.006618622224777937, -0.025513680651783943, -0.07065639644861221, -0.008198501542210579, 0.0262796301394701, -0.035209670662879944, -0.04407396540045738, 0.03748100623488426, 0.005591406486928463, -0.018500858917832375, 0.022158661857247353, -0.034481797367334366, 0.037765149027109146, -0.027660343796014786, -0.004056886769831181, -0.0038560985121876, 0.021429335698485374, 0.03190324828028679, 0.0008045986178331077, 0.012635109946131706, -0.05465151369571686, 0.008220436982810497, -0.001417742925696075, 0.03676857054233551, 0.04727120324969292, 0.012067007832229137, 0.0058115143328905106 ]
[ -0.0914703905582428, -0.017696438357234, -0.05048989877104759, -0.016475297510623932, 0.074999138712883, -0.06508886814117432, -0.0007044602534733713, 0.04688844084739685, -0.01118862722069025, -0.03834269195795059, 0.019274936988949776, 0.0003355414664838463, -0.012311358004808426, 0.002649476286023855, 0.056522246450185776, 0.016635674983263016, -0.024849776178598404, -0.05758119747042656, 0.0144959082826972, 0.04183916002511978, 0.043470337986946106, -0.02372138760983944, -0.009482050314545631, -0.025243226438760757, 0.06021412834525108, 0.03130312263965607, 0.034547217190265656, -0.025567568838596344, 0.009501314722001553, -0.15263742208480835, 0.019068041816353798, 0.028542127460241318, 0.05833718925714493, -0.014074688777327538, 0.029610106721520424, 0.06742069870233536, -0.0033386219292879105, 0.016164202243089676, -0.019937966018915176, 0.054835353046655655, -0.016958581283688545, 0.016961457207798958, -0.05553746223449707, -0.02182200364768505, 0.030828807502985, 0.016171112656593323, 0.022655989974737167, -0.05141030251979828, -0.018072916194796562, 0.04023965448141098, -0.07663629204034805, -0.027884194627404213, -0.019687281921505928, 0.00014178166748024523, -0.025172151625156403, 0.01773090474307537, 0.025394035503268242, 0.09390164911746979, 0.01670122891664505, -0.011311394162476063, 0.015387346968054771, -0.025149093940854073, -0.11915229260921478, 0.06932565569877625, 0.056759439408779144, 0.0669054463505745, -0.027836119756102562, 0.00875111110508442, -0.013530777767300606, 0.08064165711402893, 0.043660297989845276, -0.02579953521490097, -0.0525764562189579, 0.0370609275996685, 0.01869388483464718, -0.012972895987331867, 0.023015933111310005, -0.008787260390818119, 0.014426770620048046, -0.046791981905698776, -0.012478522025048733, 0.017404736950993538, -0.03813398629426956, -0.026936370879411697, -0.07068343460559845, 0.006954830605536699, -0.01969187706708908, 0.05437783896923065, 0.05020635947585106, 0.011497792787849903, 0.03432212769985199, -0.03654242306947708, 0.05489049106836319, -0.008698347955942154, -0.10582806169986725, -0.002147197024896741, 0.0005933597567491233, 0.023171041160821915, -0.06497415900230408, 0.4369267523288727, -0.021628139540553093, -0.02395031601190567, 0.07499492913484573, 0.017996443435549736, 0.02540241926908493, 0.003517888253554702, 0.016981402412056923, -0.025467276573181152, 0.032301656901836395, -0.0584251768887043, 0.011044196784496307, 0.03246065601706505, 0.06939586997032166, -0.019319986924529076, 0.006147023756057024, 0.01234402135014534, -0.019658813253045082, 0.004658603575080633, 0.014759180136024952, -0.008153854869306087, -0.027745818719267845, 0.020197181031107903, -0.0001793216069927439, 0.002007764531299472, -0.03363123536109924, -0.043609172105789185, 0.009273075498640537, 0.062195394188165665, 0.018806664273142815, -0.0074117970652878284, 0.044250451028347015, -0.04443718492984772, -0.056899212300777435, 0.016927478834986687, 0.01134543213993311, 0.024860864505171776, -0.002209007740020752, -0.0024382255505770445, 0.004500962793827057, 0.029933281242847443, 0.0007576055359095335, -0.03309051692485809, -0.03126104548573494, 0.0039686341769993305, -0.085781030356884, 0.0784418135881424, 0.0470380038022995, -0.03495224192738533, -0.009650097228586674, -0.026498062536120415, -0.004029371310025454, 0.025431666523218155, 0.02290954254567623, -0.08063049614429474, 0.011992214247584343, 0.020712783560156822, 0.08659825474023819, -0.03188316896557808, -0.05254581943154335, -0.008066819980740547, 0.006506267003715038, -0.022480648010969162, -0.08623645454645157, 0.07988806068897247, 0.05842379108071327, -0.09833383560180664, -0.012494024820625782, 0.013245554640889168, 0.034475065767765045, -0.06409072875976562, -0.00949712935835123, 0.018819915130734444, -0.024268904700875282, -0.012878580018877983, 0.06749266386032104, -0.023934852331876755, -0.014878269284963608, -0.004463769029825926, 0.03158041089773178, 0.027103135362267494, 0.01834011636674404, -0.0030282605439424515, -0.04780195280909538, 0.014989384450018406, -0.0037548828404396772, -0.05319494754076004, -0.05850883945822716, -0.020856985822319984, -0.018080919981002808, -0.02544241212308407, -0.031108003109693527, -0.0036740796640515327, -0.08888012915849686, 0.11101039499044418, -0.03919821232557297, -0.005075280088931322, 0.014611747115850449, -0.00917096622288227, -0.023896437138319016, 0.000014191749869496562, -0.039304085075855255, 0.038298189640045166, -0.05432669073343277, 0.031199244782328606, -0.06421104818582535, 0.07389725744724274, 0.05042114853858948, -0.03801477327942848, 0.05855525657534599, 0.04554286226630211, -0.026378454640507698, -0.015137086622416973, 0.04394390806555748, 0.029257100075483322, 0.012236231006681919, -0.014067762531340122, 0.007294978015124798, 0.03507067635655403, 0.002537001855671406, 0.01094814669340849, -0.030843639746308327, -0.04575258865952492, 0.006645294837653637, -0.3378317654132843, -0.03179379552602768, -0.04604242742061615, -0.022696152329444885, 0.001455024816095829, -0.06425861269235611, 0.0009151925914920866, -0.04164513200521469, -0.04050029069185257, 0.017476387321949005, 0.04708685725927353, -0.041280169039964676, 0.018657604232430458, -0.11316737532615662, 0.013183558359742165, 0.013271115720272064, -0.036372531205415726, -0.028337035328149796, -0.05801314115524292, 0.005545657128095627, -0.010413091629743576, -0.007722825743257999, -0.02671843022108078, -0.06084303557872772, -0.0058484566397964954, -0.024931395426392555, 0.09423734992742538, -0.04091202840209007, 0.09205065667629242, 0.00016201481048483402, 0.03389989957213402, -0.010478321462869644, 0.03718199208378792, -0.09674806147813797, 0.007982531562447548, -0.0374872088432312, 0.01956971175968647, -0.01010099332779646, -0.013006228022277355, -0.03323795273900032, -0.04785051941871643, -0.000010732667760748882, -0.06973680108785629, -0.0085323266685009, -0.06607112288475037, -0.0025935745798051357, -0.035833343863487244, -0.04215361177921295, -0.025229504331946373, 0.06893693655729294, 0.019553693011403084, -0.0010614938801154494, 0.0010770194930955768, 0.021555177867412567, 0.0394577793776989, -0.029331153258681297, -0.08098247647285461, 0.04638674855232239, 0.024174943566322327, 0.007628635037690401, 0.04289763420820236, 0.05735894292593002, 0.027011584490537643, -0.054107312113046646, 0.011220971122384071, 0.005707649048417807, 0.012751531787216663, 0.01783178187906742, 0.01956389658153057, -0.0225742869079113, 0.015947245061397552, 0.12399811297655106, 0.005154237616807222, -0.03862760215997696, 0.016410328447818756, 0.04448581486940384, -0.010878590866923332, 0.06152433156967163, 0.034889932721853256, -0.004147414118051529, 0.02713816985487938, 0.005703193135559559, 0.030217917636036873, -0.017959685996174812, -0.019807035103440285, 0.0015180680202320218, -0.024660887196660042, -0.012810583226382732, 0.04956715181469917, 0.024335088208317757, -0.0482456348836422, 0.025637619197368622, -0.028057217597961426, -0.06650996953248978, 0.08014316111803055, 0.0130446907132864, -0.2239123284816742, 0.0028357256669551134, 0.05803075432777405, 0.023114705458283424, 0.0016377185238525271, 0.05594704672694206, 0.04516284540295601, -0.053014565259218216, 0.024273937568068504, 0.0053639598190784454, 0.013371679000556469, 0.04179641976952553, 0.013863502070307732, -0.004948846995830536, 0.04403781145811081, -0.04713836684823036, 0.0616832971572876, -0.03255691006779671, -0.012278162874281406, 0.0077988565899431705, 0.015520998276770115, -0.010525671765208244, 0.16086935997009277, -0.007222100626677275, 0.03487926349043846, -0.018157094717025757, -0.008938172832131386, 0.03246919438242912, 0.07358633726835251, 0.016572322696447372, -0.01115458458662033, 0.03247474133968353, 0.03230833262205124, -0.021539058536291122, 0.01664625108242035, -0.08789023011922836, -0.027057209983468056, 0.0022747376933693886, 0.03423317149281502, -0.004417505115270615, -0.022695526480674744, 0.025669600814580917, -0.037760622799396515, 0.030804920941591263, 0.06940454244613647, 0.05281319096684456, -0.011279350146651268, -0.053128041326999664, -0.02221095934510231, 0.002501219278201461, -0.050715938210487366, -0.006521556526422501, 0.0010760370641946793, -0.016256501898169518, 0.015527301467955112, 0.06213662400841713, 0.017953544855117798, -0.023421837016940117, -0.0038812244310975075, 0.0010793398832902312, -0.05065639317035675, 0.009191934950649738, 0.07385563850402832, 0.044930387288331985, 0.015829287469387054 ]
[ -0.02364773117005825, 0.014415314421057701, -0.00035955291241407394, -0.011193102225661278, -0.03175361081957817, -0.007728072348982096, 0.01615440659224987, 0.009063675068318844, 0.015891259536147118, 0.017425786703824997, -0.0027504838071763515, -0.011317930184304714, 0.02453073486685753, -0.02889183908700943, -0.011657791212201118, -0.00834263302385807, -0.00898678693920374, -0.04860322177410126, 0.01861206255853176, 0.040538568049669266, -0.0013314480893313885, 0.05365407466888428, 0.0004904664820060134, 0.002127008978277445, -0.0013851027470082045, 0.027853738516569138, 0.023265337571501732, -0.006205737125128508, 0.02767551876604557, -0.1267867088317871, -0.0421198271214962, -0.003533977549523115, 0.012883986346423626, -0.004834974650293589, 0.008885841816663742, 0.03512192890048027, -0.006061133462935686, 0.016826855018734932, 0.009213326498866081, -0.0308212973177433, -0.04355081915855408, -0.021515164524316788, -0.005138651467859745, 0.025781337171792984, 0.014661440625786781, -0.00021755497436970472, -0.004537982866168022, -0.04026750475168228, 0.011771736666560173, -0.02860269322991371, -0.031140077859163284, 0.0055002486333251, -0.0022588849533349276, 0.0004459695774130523, 0.0481339693069458, -0.02135813795030117, 0.038381125777959824, -0.017182230949401855, -0.008067083545029163, -0.034985534846782684, 0.017839964479207993, -0.018120085820555687, -0.011144377291202545, -0.016429489478468895, 0.026188818737864494, 0.023958634585142136, 0.0012340405955910683, 0.012569017708301544, -0.06074313819408417, -0.004195018671452999, -0.007160842884331942, 0.010193240828812122, -0.030901771038770676, -0.006530540529638529, 0.02188972197473049, 0.0035619845148175955, 0.020430322736501694, 0.008716141805052757, 0.028849758207798004, -0.03979885205626488, -0.038474567234516144, 0.023710880428552628, 0.03908086568117142, -0.025860976427793503, -0.03919311612844467, -0.027163352817296982, 0.010009082034230232, -0.0018023798475041986, 0.03947700932621956, 0.04808677360415459, 0.027458878234028816, 0.03235597163438797, -0.003148058196529746, -0.015724578872323036, -0.10747242718935013, -0.01759788952767849, -0.01771393232047558, -0.02311413362622261, -0.00884820707142353, 0.8427042365074158, 0.019057856872677803, 0.02936672978103161, 0.024708867073059082, -0.0051757171750068665, -0.011799678206443787, 0.0020729550160467625, 0.01534128189086914, 0.0031891108956187963, 0.04749376326799393, -0.04069480672478676, -0.0003268095897510648, 0.03166646882891655, -0.01836070977151394, -0.036714278161525726, 0.00410909578204155, 0.007285247556865215, 0.00956160482019186, -0.0032109504099935293, 0.0019219017121940851, 0.01668202504515648, 0.04568784311413765, 0.02080676704645157, -0.03440648689866066, 0.015009628608822823, 0.029844287782907486, -0.1585819572210312, -0.026269059628248215, -8.723951895778746e-33, 0.048358116298913956, -0.010263632982969284, -0.010511387139558792, 0.023708472028374672, 0.016431985422968864, 0.007328150328248739, -0.003752909367904067, 0.02087153121829033, -0.010095801204442978, -0.010110951960086823, 0.018833335489034653, -0.010115777142345905, 0.011584953404963017, -0.009931107982993126, 0.03938297554850578, -0.021108968183398247, -0.0517425611615181, 0.002585161244496703, 0.021067047491669655, 0.0032015074975788593, 0.025291353464126587, 0.012809799052774906, 0.023130174726247787, -0.02837013266980648, 0.02685207687318325, -0.006573181599378586, -0.015185176394879818, 0.016592564061284065, -0.001442615408450365, -0.04193846881389618, -0.001218299730680883, 0.049420129507780075, -0.025701895356178284, -0.024965189397335052, -0.02009691670536995, -0.031923383474349976, -0.017356423661112785, 0.011726667173206806, -0.02629096619784832, -0.0051423036493361, -0.009512552991509438, 0.008717961609363556, -0.034295596182346344, 0.02004243992269039, 0.021738778799772263, -0.033322934061288834, 0.03211556375026703, 0.014510983601212502, 0.010121277533471584, -0.008539845235645771, -0.003571712877601385, 0.011698855087161064, 0.04369685798883438, -0.012420370243489742, -0.04738090559840202, 0.02219536155462265, 0.012141016311943531, -0.028445027768611908, 0.0034456239081919193, 0.0005585544859059155, 0.023763006553053856, -0.020315071567893028, -0.02302226610481739, 0.003006228944286704, -0.01912173628807068, 0.03739472106099129, 0.0036985143087804317, 0.03728364780545235, 0.0007674177759326994, -0.011526679620146751, -0.055285170674324036, 0.0011008313158527017, 0.00013218710955698043, 0.015154886990785599, -0.04084339737892151, 0.027755502611398697, -0.01730087772011757, 0.02391776069998741, -0.02652759850025177, 0.03197672218084335, -0.020574064925312996, 0.015233028680086136, 0.002370495116338134, -0.004057616461068392, 0.03467359021306038, 0.027007466182112694, 0.027206989005208015, -0.030373357236385345, 0.027720114216208458, 0.021390464156866074, 0.0012128554517403245, 0.0046160113997757435, -0.030008545145392418, 0.000034639539080671966, 0.009479522705078125, 7.509357664112232e-33, 0.004523864947259426, 0.002494068583473563, -0.04549892991781235, -0.0043030474334955215, 0.030294522643089294, -0.0391656830906868, -0.012766290456056595, 0.023759959265589714, -0.0444997102022171, 0.023471137508749962, 0.013954808004200459, 0.007933173328638077, -0.06245718523859978, 0.03046129271388054, 0.03790830448269844, -0.020430222153663635, 0.006110313814133406, -0.027978016063570976, 0.004354557953774929, -0.014492854475975037, 0.003428312251344323, 0.014791781082749367, -0.004357513971626759, 0.00891183316707611, 0.012926961295306683, 0.06622070074081421, -0.07059632986783981, 0.025479767471551895, 0.005823003128170967, -0.011753253638744354, -0.022342145442962646, -0.012416874058544636, 0.01994278095662594, 0.004107581451535225, -0.029099706560373306, 0.021651146933436394, -0.0023109461180865765, -0.02976026013493538, 0.0377437099814415, 0.02672288566827774, 0.02566198632121086, 0.008958213031291962, 0.009253503754734993, 0.009176822379231453, -0.005832590162754059, -0.022741369903087616, 0.009133831597864628, -0.06318515539169312, -0.021875616163015366, 0.008590075187385082, 0.026667354628443718, 0.010647173039615154, -0.005463663022965193, 0.018911581486463547, -0.015072870068252087, -0.004960940219461918, 0.021014777943491936, -0.03205697983503342, 0.00647312868386507, 0.04541211202740669, -0.023162877187132835, 0.03726916387677193, -0.005149687174707651, -0.006546657532453537, -0.03207336366176605, -0.01728307269513607, 0.012418955564498901, 0.031049255281686783, -0.013747017830610275, -0.021301493048667908, -0.04793904721736908, 0.0020461881067603827, 0.018624916672706604, 0.02685295231640339, -0.0034634314943104982, -0.0011193155078217387, -0.008136642165482044, 0.015962418168783188, -0.007455395068973303, 0.00983535684645176, 0.01617470569908619, 0.01076229102909565, 0.02272688038647175, -0.00435097049921751, -0.041927553713321686, 0.032473500818014145, -0.0017903357511386275, -0.027654878795146942, -0.012867136858403683, -0.050652552396059036, -0.0247788205742836, -0.030008958652615547, 0.010031693615019321, 0.011890772730112076, -0.037980809807777405, -1.3679891885942652e-8, -0.04215473681688309, 0.02169218473136425, -0.014385916292667389, 0.0018536743009462953, 0.03574557974934578, -0.011130273342132568, -0.010427751578390598, -0.017945263534784317, -0.03496108576655388, 0.00965738296508789, 0.04707925021648407, -0.017401136457920074, 0.0018207470420747995, 0.018604226410388947, -0.003801452461630106, -0.05056624114513397, -0.06252852827310562, -0.005727394949644804, -0.0002796602784655988, -0.0030564903281629086, 0.021052442491054535, 0.03905269503593445, -0.003581866854801774, -0.0061910999938845634, 0.03742524981498718, -0.014689336530864239, -0.005463927052915096, -0.08878935128450394, 0.020324021577835083, 0.014061682857573032, -0.02502257749438286, 0.0020211462397128344, -0.06189217045903206, 0.02229432202875614, 0.007179605308920145, -0.05649910122156143, 0.013019969686865807, -0.0005868098232895136, -0.007460002787411213, 0.008898806758224964, -0.009172462858259678, -0.03550633043050766, -0.02401134744286537, -0.01586991176009178, 0.030012933537364006, -0.024546682834625244, -0.05096786469221115, 0.000994751462712884, 0.025166740640997887, -0.04512312263250351, 0.03556763008236885, 0.0001262362493434921, 0.028190404176712036, 0.03972446545958519, 0.027981961145997047, -0.004954343196004629, -0.0015938644064590335, 0.012698878534138203, -0.026728585362434387, -0.028290431946516037, 0.013510046526789665, 0.007091033272445202, -0.002762674354016781, -0.0352352000772953 ]
finding-the-value-in-fixing-technical-debt
https://markhneedham.com/blog/2009/01/10/finding-the-value-in-fixing-technical-debt
false
2009-01-10 15:38:01
How does the user language fit in with the ubiquitous language?
[ "ddd", "domain-driven-design" ]
[ "Domain Driven Design" ]
We've been doing some work this week around trying to ensure that we have a http://domaindrivendesign.org/discussion/messageboardarchive/UbiquitousLanguage.html[ubiquitous language] to describe aspects of the domain across the various different systems on my project. It's not easy as there are several different teams involved but one thing we realised while working on the language is that the *language of the business is not the same as the language of the user*. Although this is the first time that I recall working on a project where the language of the user is different to the language of the domain I'm sure there must be other domains where this is the case as well. In our case the language is simplified so that it makes sense to the user - the terms used by the business make sense in that context but would be completely alien if we used it on the interfaces from which our users interact with the system. At the moment our domain model represents the business terminology and then when we show the data to the user we refer to it by a different name. The problem with this approach is that there is a mental translation step in trying to remember which business term maps to which user term. We can probably solve this problem somewhat by having the user terms represented in our Presentation Model but this still doesn't help remove the translation problem when it comes to discussions away from the code. At the moment there aren't that many terms which differ but I'm not sure what the approach should be if there become more in the future, should we have a whole user language as well as a business specific ubiquitous one or should our ubiquitous language be the user language?
null
null
[ 0.0009369021863676608, 0.01236682292073965, 0.005038810893893242, 0.03262844309210777, 0.0959712564945221, -0.003988981246948242, 0.02703975886106491, 0.03860851004719734, 0.024756968021392822, -0.014777055941522121, -0.043220918625593185, 0.016027342528104782, -0.04903015121817589, 0.03940390795469284, -0.018349818885326385, 0.0812712162733078, 0.050353482365608215, 0.015268854796886444, 0.016737977042794228, -0.014619921334087849, 0.01245295349508524, 0.047530848532915115, 0.030466023832559586, 0.023481246083974838, 0.03498609736561775, 0.02537696808576584, 0.023172641173005104, -0.0027807860169559717, -0.05857538804411888, -0.029346220195293427, 0.03291795402765274, -0.0035125839058309793, -0.008566819131374359, 0.013959678821265697, 0.01742025651037693, -0.01273998711258173, -0.007906293496489525, -0.001904299482703209, -0.011930599808692932, -0.0021964595653116703, -0.05773971974849701, 0.039124514907598495, -0.008110253140330315, 0.016449715942144394, -0.0557706281542778, 0.008180160075426102, -0.07092734426259995, 0.009846784174442291, 0.004559399094432592, -0.0039024632424116135, -0.0811261534690857, 0.013735413551330566, -0.006645622663199902, -0.00042234212742187083, -0.021597454324364662, 0.04375642165541649, 0.017078103497624397, -0.07785873115062714, 0.007319907192140818, -0.046080976724624634, 0.01728552021086216, -0.006096311844885349, -0.010209565050899982, 0.02238437533378601, 0.03927541524171829, -0.03448287397623062, -0.013256039470434189, 0.018725479021668434, -0.05591699108481407, 0.004057412967085838, -0.011967092752456665, 0.009115317836403847, 0.005266988649964333, -0.005343374330550432, 0.004279068671166897, -0.030025608837604523, 0.00622674822807312, 0.06078571453690529, 0.011177205480635166, 0.048955999314785004, -0.03471531346440315, 0.005271646659821272, 0.016980532556772232, 0.017412545159459114, -0.005197778344154358, -0.041751306504011154, -0.016223236918449402, -0.02068067342042923, -0.040140021592378616, 0.05541462078690529, 0.015078380703926086, -0.07750861346721649, 0.013793312944471836, 0.01029027346521616, 0.001649474841542542, 0.008682293817400932, 0.024594631046056747, 0.0013730971841141582, -0.02822042442858219, 0.008828426711261272, -0.017675895243883133, -0.012554284185171127, 0.01893307827413082, -0.0021880315616726875, -0.0770350843667984, -0.020811110734939575, -0.02180645614862442, -0.012714220210909843, -0.003965328447520733, -0.011630665510892868, -0.04213085025548935, 0.014402355067431927, -0.01648145727813244, 0.001798930810764432, -0.037388674914836884, 0.08771578222513199, 0.006224905606359243, -0.034518320113420486, 0.008387378416955471, 0.012763177044689655, 0.058203618973493576, 0.006412672344595194, -0.048395320773124695, 0.0718354657292366, -0.010340984910726547, 0.026322336867451668, -0.03895736113190651, 0.06251844018697739, -0.036791909486055374, -0.06899960339069366, -0.008645214140415192, 0.04194285348057747, -0.032224416732788086, 0.020917780697345734, -0.012630846351385117, -0.031166458502411842, 0.016992922872304916, 0.009379914030432701, 0.050662022083997726, 0.018130581825971603, -0.001173356082290411, -0.023123838007450104, -0.008903512731194496, 0.00832519680261612, 0.011331181041896343, 0.0007453417056240141, -0.019949259236454964, -0.025836892426013947, -0.02916501834988594, -0.013085639104247093, -0.017286106944084167, 0.02318221516907215, 0.042928487062454224, -0.02815132960677147, 0.015409151092171669, 0.09056831151247025, 0.05216197296977043, -0.0062278276309370995, -0.01114551443606615, 0.037070706486701965, 0.016193607822060585, 0.010135258547961712, -0.004338801372796297, 0.03450068086385727, 0.021716361865401268, -0.008196053095161915, -0.0187788438051939, 0.06506703048944473, 0.028829963877797127, 0.009674935601651669, -0.05689410865306854, -0.07452106475830078, 0.060940928757190704, -0.06590696424245834, -0.02203759178519249, 0.05743342638015747, 0.0746607556939125, 0.05004299059510231, 0.05461632460355759, -0.0029501866083592176, -0.07744704186916351, 0.016204452142119408, 0.009017548523843288, 0.024918658658862114, 0.052471455186605453, -0.019062617793679237, 0.05632069334387779, 0.02754279412329197, -0.019386636093258858, 0.051998257637023926, -0.055281441658735275, -0.08932828903198242, -0.013875535689294338, -0.0212919469922781, 0.034190766513347626, -0.024534549564123154, 0.036174558103084564, 0.07994777709245682, 0.022953692823648453, 0.03577344864606857, 0.03900812566280365, 0.02989398129284382, 0.015050414949655533, -0.039093539118766785, -0.03132801130414009, 0.05198192223906517, 0.027079720050096512, -0.0013651701156049967, -0.03409944102168083, 0.019925503060221672, -0.01013021171092987, -0.002438565483316779, 0.04489382728934288, -0.02251475304365158, 0.030819738283753395, -0.02879929356276989, 0.03613797202706337, -0.03188548609614372, 0.03861452266573906, -0.04156341776251793, 0.042331937700510025, 0.013613015413284302, -0.01431985292583704, 0.014816392213106155, -0.0028859039302915335, 0.1298186182975769, 0.06163465231657028, -0.017466582357883453, -0.04199584573507309, 0.023029258474707603, 0.01826958730816841, -0.03918057307600975, 0.02198689430952072, -0.008374166674911976, 0.00037388261989690363, -0.0007898646290414035, -0.06679967045783997, -0.04298289492726326, 0.021327227354049683, -0.02804690971970558, -0.004351015202701092, 0.07953087240457535, -0.05274846777319908, 0.04755134880542755, -0.0031424383632838726, 0.0016985360998660326, -0.007721134927123785, -0.030006837099790573, -0.03420607000589371, 0.018889766186475754, 0.010208659805357456, -0.018826788291335106, 0.0394739992916584, -0.011301022954285145, -0.021526847034692764, -0.039599109441041946, -0.019603630527853966, 0.02798283100128174, 0.03072589449584484, 0.05030209943652153, -0.02705155871808529, 0.07618086785078049, -0.015698479488492012, 0.015303677879273891, 0.000707803585100919, -0.040702611207962036, -0.022187719121575356, -0.031400784850120544, -0.02436249516904354, 0.031255461275577545, 0.0339587964117527, 0.014334391802549362, -0.0044289231300354, -0.005954004358500242, -0.002936587668955326, -0.0048469118773937225, 0.031068235635757446, -0.004629222210496664, -0.00731470575556159, -0.02238589897751808, -0.03202851116657257, 0.024957289919257164, -0.047933656722307205, -0.04276621714234352, -0.009259756654500961, -0.0813504159450531, 0.0371677502989769, -0.08963587135076523, -0.049418218433856964, 0.009778594598174095, 0.04610372334718704, 0.012139447964727879, 0.008749413304030895, 0.008434021845459938, 0.06522823870182037, 0.006811064667999744, -0.009291335940361023, 0.01129662711173296, -0.0037003187462687492, 0.0422063022851944, -0.02141355164349079, 0.014343954622745514, 0.047911904752254486, -0.0051080030389130116, -0.014874911867082119, -0.062255702912807465, 0.01944165863096714, -0.04165325313806534, -0.2936628460884094, 0.009061862714588642, 0.0015079417498782277, -0.041809361428022385, 0.003984297625720501, -0.017485948279500008, 0.007837334647774696, -0.04706632345914841, -0.01878073625266552, 0.017639445140957832, -0.028804726898670197, -0.041757676750421524, -0.0037593550514429808, 0.020176317542791367, 0.003530732821673155, 0.04279983416199684, 0.013724938035011292, -0.05131617560982704, -0.00015635212184861302, 0.028972098603844643, -0.02139386162161827, -0.06270460039377213, 0.011392928659915924, 0.058632656931877136, 0.0356232114136219, 0.06206212192773819, -0.05922051891684532, 0.03310500085353851, -0.0455905981361866, -0.002460576593875885, 0.017686793580651283, -0.009595289826393127, -0.023558886721730232, -0.03092697635293007, -0.005237451288849115, -0.01580177992582321, 0.03795529529452324, 0.018423082306981087, 0.02036677673459053, 0.0015755182830616832, -0.004612239543348551, -0.03945349529385567, 0.01336035504937172, 0.0018661104841157794, 0.06250516325235367, -0.02779868058860302, -0.10683911293745041, -0.020372670143842697, -0.03456383943557739, 0.09238255023956299, -0.034183599054813385, -0.04178973287343979, 0.013903800398111343, 0.040099311619997025, -0.000028217000362928957, -0.002621952909976244, 0.02918096072971821, -0.030096841976046562, -0.06483223289251328, -0.03953435644507408, -0.013442968018352985, -0.04762797802686691, -0.01862928830087185, -0.06023941561579704, -0.005150823388248682, -0.039295077323913574, -0.07710900902748108, -0.0088375648483634, 0.06409572809934616, 0.015391811728477478, -0.04856149107217789, 0.026882139965891838, 0.004147209692746401, -0.10649767518043518, -0.014865557663142681, -0.036676887422800064, -0.02113662287592888, -0.02838391624391079, 0.017784524708986282, -0.0053662946447730064, -0.026076454669237137, -0.05458935722708702, -0.029942845925688744, 0.02185591123998165, 0.00671769306063652, -0.02169940434396267, 0.05380391329526901, -0.0008038603118620813, -0.03195861726999283, 0.017646143212914467, 0.07859701663255692, -0.007154763676226139, -0.025896107777953148, -0.018084688112139702, 0.013078263029456139, 0.0035917283967137337, -0.014886219054460526, -0.01863650605082512, 0.01276007853448391, 0.018757758662104607, 0.00932539813220501, -0.08055855333805084, 0.018324753269553185, 0.006268318742513657, 0.005064510274678469, 0.019299926236271858, -0.053942400962114334, 0.0029662828892469406, 0.04615585505962372, 0.0051801810041069984, -0.01597737707197666, -0.028221290558576584, 0.0064352573826909065, -0.0424007885158062, -0.04285253584384918, -0.01619122549891472, 0.008724666200578213, 0.028139207512140274, 0.023489896208047867, -0.034723613411188126, -0.037753380835056305, 0.017693446949124336, 0.02214634045958519, 0.004275916144251823, -0.05489495024085045, -0.030392032116651535, -0.018718963488936424, 0.006521495524793863, 0.011282152496278286, 0.010986328125, -0.0015084146289154887, 0.01060758251696825, 0.027312416583299637, -0.03616425022482872, 0.039068132638931274, -0.003684131195768714, -0.04230749234557152, -0.018113134428858757, -0.035666290670633316, -0.008285583928227425, -0.005616381764411926, 0.015200527384877205, 0.004934418480843306, -0.006754300091415644, 0.05098816007375717, -0.010282081551849842, 0.027994304895401, 0.015645677223801613, 0.028288288041949272, 0.0313301719725132, 0.02630889229476452, -0.07274588942527771, 0.0007458095788024366, -0.025943005457520485, -0.019216841086745262, -0.013286426663398743, 0.047656312584877014, -0.006035624537616968, -0.02656203880906105, -0.021480722352862358, 0.030103318393230438, -0.08240128308534622, -0.021841755136847496, 0.007180315908044577, 0.01710665598511696, 0.0527951680123806, -0.03712570667266846, 0.020827462896704674, -0.022813333198428154, 0.007199304178357124, 0.03348051384091377, 0.056456033140420914, -0.026878636330366135, 0.013334850780665874, 0.01207138504832983, -0.0061713047325611115, -0.0021958162542432547, 0.02674444392323494, 0.06120491027832031, 0.027868259698152542, 0.02171284705400467, 0.0010886762756854296, 0.0007729384815320373, 0.012577270157635212, 0.06025449559092522, 0.02925041690468788, 0.011936078779399395, 0.01308561209589243, -0.023138193413615227, -0.029761988669633865, -0.021347325295209885, 0.024089710786938667, -0.009316306561231613, -0.013667047955095768, -0.03261943161487579, -0.06794573366641998, 0.048580609261989594, -0.01782325841486454, 0.0008826122502796352, 0.003763062646612525, 0.007323347497731447, 0.010680281557142735, -0.03704916313290596, 0.02868267148733139, 0.04436923936009407, -0.08260369300842285, 0.02591586858034134, -0.02100938744843006, -0.00022935074230190367, 0.027502307668328285, 0.003211804898455739, -0.02425970509648323, -0.040759410709142685, -0.04806514084339142, 0.015105740167200565, -0.05827363207936287, -0.05703132972121239, -0.0069166747853159904, 0.02643110603094101, 0.015044541098177433, 0.006315515376627445, -0.014814283698797226, 0.005176657345145941, 0.0029737784061580896, -0.03321482986211777, 0.019192880019545555, -0.001948789693415165, 0.011015163734555244, 0.0016774176619946957, -0.0318899042904377, 0.0050877770408988, -0.03904930129647255, 0.015383320860564709, 0.010421192273497581, -0.025650635361671448, -0.020475558936595917, -0.040936291217803955, -0.004545383155345917, 0.010301315225660801, 0.06032668799161911, -0.0005949926562607288, -0.008981974795460701, -0.04087115451693535, -0.013199377804994583, -0.04057135805487633, 0.0216627586632967, -0.019749905914068222, -0.01204728428274393, -0.0023271460086107254, 0.061795156449079514, -0.006873483303934336, 0.03843196481466293, -0.01052055787295103, 0.007856396026909351, 0.041191063821315765, -0.07371928542852402, -0.02667037956416607, -0.014920460991561413, -0.04758730158209801, -0.012445938773453236, 0.024211345240473747, -0.0014826796250417829, -0.014938495121896267, 0.02140810154378414, 0.031427524983882904, 0.037396494299173355, 0.02693270333111286, 0.012715736404061317, 0.04346226155757904, -0.029541101306676865, 0.002910932758823037, -0.07163460552692413, 0.011135217733681202, 0.013386793434619904, 0.002424312522634864, -0.014867118559777737, -0.003689500968903303, -0.05004310607910156, 0.06874297559261322, -0.060120195150375366, -0.049197230488061905, 0.02323080413043499, 0.026081448420882225, 0.0009598064934834838, 0.005717955995351076, -0.0706641748547554, 0.02250092849135399, 0.028621846809983253, -0.057586006820201874, -0.02956227958202362, -0.026519834995269775, 0.05690314620733261, -0.00494812335819006, 0.034843649715185165, -0.043718453496694565, 0.0011842508101835847, 0.06895164400339127, 0.012016124092042446, 0.006385684944689274, 0.06055125594139099, 0.010790265165269375, 0.053280748426914215, 0.026612699031829834, -0.030589716508984566, -0.0003126969968434423, 0.008414098061621189, -0.00644253846257925, -0.07970695197582245, 0.049165789037942886, -0.014363923110067844, -0.005444251466542482, -0.04179461672902107, 0.07464736700057983, 0.04987812414765358, -0.005533067975193262, -0.054358698427677155, 0.03525666892528534, -0.04456959664821625, -0.021935632452368736, -0.02303772047162056, -0.020888084545731544, -0.031699225306510925, 0.06408553570508957, 0.015406904742121696, 0.011856341734528542, 0.05600616708397865, -0.0052214087918400764, -0.024609830230474472, 0.011368273757398129, 0.08166654407978058, 0.07540847361087799, 0.07338804006576538, 0.01764279417693615, 0.06536328792572021, -0.02865491434931755, -0.027835063636302948, 0.01562819816172123, -0.0059740315191447735, -0.03817097842693329, 0.004523069132119417, 0.018219653517007828, 0.05365421250462532, -0.039512939751148224, 0.05801593139767647, -0.004137878771871328, -0.0034583243541419506, 0.0057278042659163475, 0.011208035983145237, 0.04245676100254059, 0.06346121430397034, 0.022778838872909546, 0.029923291876912117, -0.02482028491795063, -0.03433260694146156, 0.019852885976433754, -0.02367294766008854, -0.028755348175764084, 0.03811638429760933, -0.00015482613525819033, 0.016107996925711632, -0.029020162299275398, 0.033366672694683075, 0.10369856655597687, -0.02966616488993168, -0.008588176220655441, -0.0017019453225657344, 0.016250265762209892, -0.003932700026780367, 0.03316285088658333, 0.0065727210603654385, -0.0019130907021462917, -0.024976473301649094, -0.026231849566102028, -0.03284052386879921, -0.021067800000309944, -0.027527526021003723, 0.052564918994903564, -0.026953240856528282, -0.003478808095678687, -0.0025998351629823446, 0.017917010933160782, -0.02706231363117695, -0.05719004198908806, -0.051693063229322433, -0.02241717092692852, -0.04264325648546219, -0.019602645188570023, 0.04445144906640053, -0.022266153246164322, -0.025713304057717323, -0.008095850236713886, -0.018397295847535133, -0.0393444262444973, 0.03294716030359268, -0.05924500897526741, -0.023891786113381386, 0.025517867878079414, -0.003451540134847164, 0.026593387126922607, 0.023244768381118774, 0.061218854039907455, -0.01209227554500103, 0.02456652745604515, -0.034449294209480286, 0.026633622124791145, 0.038652803748846054, 0.014344955794513226, 0.012019988149404526, -0.07928518950939178, 0.001035506371408701, 0.02696846053004265, -0.009928486309945583, -0.06947794556617737, 0.016129927709698677, 0.019810356199741364, -0.008955038152635098, 0.03546959161758423, -0.0019340182188898325, 0.007556041236966848, -0.01770099438726902, -0.01157644484192133, -0.021181056275963783, 0.024225344881415367, 0.041690319776535034, -0.012981412000954151, 0.07759696245193481, 0.05536360293626785, -0.0117487208917737, -0.05126122012734413, -0.01713406667113304, 0.015893515199422836, 0.0008085880544967949, -0.011213936842978, -0.018012044951319695, -0.023272328078746796, -0.06098330020904541, -0.024854790419340134, 0.013209079392254353, -0.03135795518755913, -0.033750321716070175, 0.016890479251742363, 0.01860157400369644, -0.029548557475209236, 0.016522109508514404, -0.04625560715794563, -0.005341112148016691, 0.00488216383382678, -0.0015397275565192103, -0.02438637800514698, 0.0018435578094795346, -0.03327075392007828, -0.0064601716585457325, 0.03349541500210762, -0.03470027819275856, 0.01345826219767332, 0.003827734850347042, 0.0351191870868206, 0.01505606435239315, 0.021020283922553062, 0.027686327695846558 ]
[ -0.04859963059425354, -0.014191904105246067, -0.028777295723557472, -0.057088013738393784, 0.03361976146697998, -0.04490242153406143, -0.026774941012263298, 0.03167242929339409, 0.0038096641656011343, -0.05473063141107559, -0.015601271763443947, -0.03822724148631096, -0.020428456366062164, -0.007826030254364014, 0.10986733436584473, 0.004070010967552662, -0.00824293028563261, -0.08039543032646179, 0.028405552729964256, 0.031009923666715622, 0.036934927105903625, -0.018542831763625145, -0.03691653534770012, -0.008945764042437077, -0.03536786139011383, 0.032791439443826675, 0.03275809437036514, 0.018550263717770576, 0.01831984706223011, -0.18386302888393402, -0.0038981162942945957, 0.014216856099665165, 0.030317313969135284, 0.0018946274649351835, 0.028109649196267128, 0.03109341487288475, -0.0003594712179619819, 0.004479981958866119, -0.0011123730801045895, 0.053349997848272324, 0.007481694221496582, 0.002125754952430725, -0.006182806100696325, -0.019191192463040352, 0.03227369487285614, -0.01196862943470478, -0.013584854081273079, -0.012436110526323318, -0.07571998983621597, -0.0038056564517319202, -0.030609775334596634, -0.023433508351445198, -0.005037694703787565, -0.0018702108645811677, -0.023345625028014183, 0.03776422515511513, 0.04558306187391281, 0.06689071655273438, -0.012029888108372688, -0.0020960678812116385, 0.03378986194729805, -0.00042507698526605964, -0.16014809906482697, 0.13535484671592712, 0.005456442479044199, 0.07618992030620575, -0.0497516393661499, -0.002351091941818595, -0.03914930671453476, 0.08076062798500061, -0.0062493528239429, -0.03808395564556122, -0.030403122305870056, 0.0635460615158081, 0.031132185831665993, -0.02097316086292267, -0.006860625930130482, 0.02700931951403618, 0.025275811553001404, -0.036436837166547775, -0.008716876618564129, 0.0007763361791148782, -0.04052824527025223, -0.02083464153110981, -0.038743313401937485, 0.027956413105130196, -0.015558921732008457, 0.07033351063728333, 0.0019544544629752636, 0.014122267253696918, 0.003004751168191433, -0.03910325467586517, 0.04790244251489639, -0.007151059340685606, -0.0730297788977623, -0.034591104835271835, -0.003939191810786724, 0.013273057527840137, -0.06941746175289154, 0.41568630933761597, 0.01659409888088703, -0.05335578694939613, 0.06278571486473083, -0.006448105908930302, -0.010304359719157219, 0.03061331808567047, -0.018202608451247215, -0.02323387749493122, 0.046160902827978134, -0.0035986292641609907, -0.029967468231916428, 0.017323611304163933, 0.03209006413817406, -0.026355504989624023, 0.02263886108994484, -0.002688661916181445, 0.027276042848825455, 0.0008748537511564791, 0.0038079398218542337, -0.036888353526592255, -0.020207541063427925, 0.015912361443042755, 0.01903533935546875, -0.005893736146390438, -0.024190720170736313, -0.019459640607237816, 0.05641435459256172, 0.05219003185629845, 0.03678642958402634, 0.02828252501785755, 0.07121232897043228, -0.03342782333493233, -0.050012148916721344, -0.0014959569089114666, 0.008815869688987732, 0.014319703914225101, 0.01645113155245781, -0.0117880217730999, -0.006297349464148283, 0.059827324002981186, 0.01232819352298975, -0.03460192307829857, -0.0009669618448242545, 0.001112177036702633, -0.04875980317592621, 0.12081361562013626, 0.00450254837051034, -0.05832884460687637, -0.02800680696964264, -0.011590668931603432, 0.013739533722400665, 0.057463109493255615, 0.011965103447437286, -0.050011634826660156, 0.006172553636133671, 0.03994287550449371, 0.11855494230985641, -0.033585067838430405, -0.057398803532123566, -0.027245037257671356, 0.010396210476756096, -0.037059236317873, -0.04426022619009018, 0.07376596331596375, 0.03384389355778694, -0.1232035681605339, -0.03242609649896622, 0.01025386992841959, 0.03136333450675011, -0.08362302929162979, -0.0164166446775198, 0.010921726003289223, -0.022911641746759415, 0.017723366618156433, 0.05991694703698158, -0.021812060847878456, -0.04539211839437485, 0.024948302656412125, 0.0015563055640086532, 0.02003253623843193, 0.024694595485925674, 0.00898034032434225, -0.021984601393342018, -0.005723928567022085, -0.034177426248788834, -0.08124054223299026, -0.04217097535729408, -0.0050301034934818745, 0.004980183206498623, -0.01633579470217228, -0.03386649861931801, -0.007578887511044741, -0.09886054694652557, 0.09006758779287338, -0.01857788860797882, -0.016324002295732498, 0.011004201136529446, -0.0211110170930624, -0.01582392491400242, -0.010966764762997627, -0.014325395226478577, 0.06764224171638489, -0.023135272786021233, -0.0016324116149917245, -0.054048772901296616, 0.04871158301830292, 0.07301219552755356, -0.03419436141848564, 0.04716472700238228, 0.029143894091248512, -0.016996417194604874, -0.004571415483951569, 0.0233231820166111, 0.025437045842409134, 0.023592937737703323, -0.0025603780522942543, 0.012243933044373989, 0.023950619623064995, 0.02930031158030033, 0.03004934825003147, -0.024960584938526154, 0.03490111976861954, -0.014350108802318573, -0.3431795835494995, -0.045332275331020355, -0.009626634418964386, 0.01036761049181223, 0.0040370444767177105, -0.061441559344530106, 0.01186723355203867, 0.0058750915341079235, -0.00376919680275023, 0.023490961641073227, 0.07401712983846664, -0.022723199799656868, 0.0069860657677054405, -0.047013621777296066, -0.0051841470412909985, 0.03025752492249012, -0.029106752946972847, -0.012781181372702122, -0.046272847801446915, -0.008949817158281803, 0.0011013095499947667, -0.02180245704948902, -0.004514320753514767, -0.08528157323598862, -0.011816563084721565, -0.026422878727316856, 0.11513768881559372, -0.006632731296122074, 0.07824502140283585, -0.056288909167051315, 0.06459314376115799, -0.026705671101808548, -0.005796288605779409, -0.13087385892868042, 0.00769193796440959, -0.007254321593791246, 0.004020946100354195, 0.0048673017881810665, 0.029314719140529633, -0.02747180312871933, -0.021613623946905136, -0.014718362130224705, -0.04238075762987137, -0.021933695301413536, -0.03418232873082161, 0.027073519304394722, -0.020079050213098526, -0.04651356488466263, -0.03884274140000343, 0.08305133134126663, -0.01524798758327961, 0.025945965200662613, 0.012626995332539082, 0.04980238527059555, -0.04262968897819519, -0.026490898802876472, -0.06283769756555557, 0.008826997131109238, 0.017384696751832962, 0.01584509387612343, 0.040375057607889175, 0.06582783162593842, 0.04070155322551727, -0.05386144667863846, 0.0013541604857891798, -0.00500553660094738, -0.027274437248706818, 0.007991551421582699, 0.06999646872282028, 0.009013115428388119, -0.026876190677285194, 0.1104494035243988, -0.005374121014028788, -0.009770168922841549, 0.012579234316945076, 0.04420218989253044, -0.01198097039014101, 0.023270970210433006, 0.00922316126525402, 0.007247321307659149, 0.020291879773139954, -0.017806869000196457, 0.06057010218501091, -0.03547484427690506, 0.024360857903957367, 0.04349493607878685, 0.023425249382853508, -0.05497698113322258, 0.03737005591392517, -0.0004741764860227704, -0.022302860394120216, 0.006203431636095047, -0.007618866860866547, -0.07065072655677795, 0.04337889701128006, -0.021403416991233826, -0.24637846648693085, 0.02783047966659069, 0.0694042444229126, 0.07800982147455215, -0.009469741024076939, 0.033678147941827774, 0.016399530693888664, -0.030286269262433052, -0.02264818735420704, 0.02374810352921486, 0.024657268077135086, -0.015841485932469368, 0.009128980338573456, -0.013478460721671581, 0.044385574758052826, -0.0068460809998214245, 0.05353985354304314, 0.025322919711470604, 0.021738523617386818, -0.025585688650608063, 0.025223318487405777, -0.0020826118998229504, 0.1854037344455719, 0.010620432905852795, 0.03252029046416283, -0.004453638568520546, -0.0038113060873001814, 0.020780500024557114, 0.04164685681462288, 0.022244321182370186, -0.019499098882079124, -0.004304397851228714, 0.0333777479827404, -0.016346216201782227, 0.02123357728123665, -0.06785506010055542, -0.024448098614811897, -0.019273992627859116, 0.06366699188947678, 0.002073148963972926, 0.002985507482662797, 0.012425128370523453, -0.048067446798086166, 0.00816359557211399, 0.05514974519610405, 0.03456148877739906, 0.02259860187768936, -0.042356424033641815, -0.05339586362242699, -0.002435394562780857, -0.041990891098976135, -0.071470707654953, -0.0203678160905838, 0.014378096908330917, -0.0035843797959387302, 0.04069114848971367, 0.035613641142845154, -0.0557040199637413, -0.03371024504303932, -0.00028423877665773034, -0.01615316979587078, -0.008190392516553402, 0.05605340749025345, -0.009928316809237003, 0.031191330403089523 ]
[ 0.006360363215208054, 0.002965779509395361, 0.00799725204706192, -0.024591894820332527, -0.014232393354177475, -0.009744337759912014, 0.0191348809748888, 0.012293806299567223, 0.007419424131512642, -0.05033070966601372, -0.007080469746142626, 0.021365482360124588, 0.008013683371245861, -0.002911295974627137, 0.06675322353839874, -0.014544639736413956, 0.0506352074444294, -0.028216425329446793, 0.043391596525907516, -0.022828897461295128, 0.00024744655820541084, 0.0256030410528183, -0.024153584614396095, -0.026967618614435196, 0.00000488683645016863, 0.015216730535030365, 0.014890805818140507, 0.007897414267063141, 0.03879760578274727, -0.12165088206529617, -0.011403881944715977, 0.0028525996021926403, 0.004713692236691713, 0.0322943814098835, 0.004169750958681107, -0.02093597687780857, -0.03530154004693031, 0.002408296335488558, 0.03442251682281494, -0.02797711454331875, 0.007662092801183462, -0.03110555000603199, 0.0166611485183239, 0.025517405942082405, -0.008965278044342995, 0.013044499792158604, -0.022422105073928833, -0.010311904363334179, -0.007651001214981079, 0.004844200797379017, -0.030141392722725868, -0.04883561283349991, 0.0061437939293682575, 0.0077542709186673164, -0.027363328263163567, -0.04002297297120094, -0.008432426489889622, 0.007691600359976292, 0.019277574494481087, -0.02928345464169979, 0.009825929068028927, -0.03558838367462158, -0.028430067002773285, -0.003022406017407775, -0.01822676695883274, -0.005959737114608288, -0.04019198566675186, -0.011556620709598064, -0.06464418768882751, 0.0021753173787146807, 0.0025319152045994997, -0.0001528008288005367, -0.003302684286609292, -0.011536244302988052, 0.014611742459237576, -0.010968835093080997, -0.012776494957506657, -0.01534309796988964, -0.007068472448736429, -0.025879858061671257, -0.015105683356523514, 0.03579522296786308, 0.006952994037419558, 0.009945293888449669, 0.00404870742931962, 0.02488298900425434, 0.014360765926539898, -0.012659893371164799, 0.016358574852347374, 0.01303787063807249, -0.021545033901929855, -0.016695033758878708, -0.0025884925853461027, 0.0028818415012210608, -0.08659909665584564, -0.02678181603550911, -0.03257010132074356, -0.005365610588341951, -0.03083617426455021, 0.8495176434516907, -0.003580292221158743, 0.008308695629239082, 0.014099948108196259, -0.010631057433784008, -0.03105221316218376, 0.0072809127159416676, -0.0218375101685524, 0.05009680613875389, 0.0370623804628849, -0.018823537975549698, -0.015525223687291145, 0.012557842768728733, 0.011812947690486908, 0.03294682130217552, 0.0004559622029773891, -0.030282769352197647, 0.010732839815318584, -0.01662043109536171, 0.01801604963839054, -0.0038169040344655514, -0.01373285986483097, 0.01876359060406685, 0.006569300778210163, -0.034190643578767776, -0.011435108259320259, -0.16321252286434174, 0.07155205309391022, -9.23529340775438e-33, 0.01575242355465889, 0.03936915472149849, -0.01623217761516571, 0.013945759274065495, 0.02930568903684616, 0.006985550280660391, 0.039700817316770554, -0.008899053558707237, 0.018085796386003494, -0.015699904412031174, -0.010817180387675762, 0.03997839242219925, 0.003802444553002715, -0.01081671193242073, 0.01413568202406168, -0.013442745432257652, 0.03580876439809799, 0.02536126598715782, 0.028861522674560547, -0.00287094758823514, 0.06644570827484131, 0.021230576559901237, 0.0016164439730346203, -0.00006238705100258812, -0.0026934887282550335, 0.043596018105745316, 0.002961026504635811, 0.007894393987953663, 0.014093300327658653, -0.032933905720710754, -0.005334549583494663, 0.018703637644648552, -0.0049745929427444935, 0.03720342367887497, 0.028241265565156937, -0.038286469876766205, -0.019277416169643402, -0.00838334672152996, 0.006515808869153261, -0.027882417663931847, -0.07254303991794586, 0.01109718531370163, -0.03487294167280197, -0.012775715440511703, -0.02308603562414646, 0.005488364491611719, 0.007294044829905033, 0.024094803258776665, 0.011470955796539783, -0.021281488239765167, 0.009066875092685223, -0.004046255256980658, 0.005153342615813017, 0.03814417123794556, -0.00976547971367836, -0.037777308374643326, -0.02589392475783825, -0.010362296365201473, -0.010455833747982979, 0.002902293112128973, 0.0023674159310758114, -0.02020016871392727, -0.0015975156566128135, 0.03302028775215149, -0.010654710233211517, -0.02393605373799801, 0.023860715329647064, 0.005062198266386986, -0.0013688151957467198, -0.029572565108537674, -0.019256478175520897, -0.011475798673927784, 0.02630654163658619, 0.022923849523067474, -0.008932260796427727, 0.012687824666500092, -0.006153308320790529, 0.04068249091506004, 0.013194210827350616, 0.055539652705192566, -0.01750253140926361, -0.0055319578386843204, 0.0411531925201416, 0.0035853309091180563, 0.015129045583307743, 0.009482426568865776, 0.041606176644563675, -0.016169480979442596, 0.017555441707372665, 0.04995591565966606, 0.000769473088439554, 0.01140991784632206, 0.023673269897699356, 0.010883314535021782, -0.023630540817975998, 8.842559275776715e-33, 0.0031217073556035757, -0.008297761902213097, -0.030226625502109528, -0.012233106419444084, -0.029586903750896454, -0.010342643596231937, 0.04695705324411392, 0.025783343240618706, -0.0491853728890419, 0.006005222909152508, -0.009490139782428741, -0.013127366080880165, 0.00767163373529911, 0.04299910366535187, 0.03693746402859688, -0.02683025225996971, 0.04900316521525383, -0.014596426859498024, 0.013491050340235233, 0.02831891179084778, 0.026294173672795296, 0.00038515334017574787, -0.019141823053359985, 0.008172787725925446, -0.0035318885929882526, 0.048579178750514984, -0.02139277569949627, 0.022176343947649002, -0.019188590347766876, -0.0034953809808939695, -0.004565494135022163, 0.03460234776139259, 0.02869327738881111, -0.04885537922382355, -0.025928884744644165, 0.010777103714644909, -0.000191336395801045, -0.01417337916791439, 0.028617804870009422, -0.017109770327806473, 0.023420771583914757, -0.017612021416425705, -0.020418496802449226, 0.020519688725471497, 0.03401801735162735, -0.00858897715806961, -0.0341535322368145, -0.06640588492155075, -0.009800593368709087, 0.027725687250494957, 0.017285626381635666, 0.012139549478888512, 0.04550747573375702, -0.018284153193235397, -0.031372979283332825, -0.023632820695638657, -0.007600306998938322, -0.02468182146549225, 0.00038777891313657165, 0.006590185221284628, 0.004432360641658306, 0.006043546367436647, 0.001501617138274014, 0.00559984939172864, -0.02333603799343109, 0.025657175108790398, -0.017627762630581856, 0.007089346181601286, 0.009842953644692898, -0.04663600027561188, 0.006604655180126429, -0.024818623438477516, -0.033930081874132156, 0.023799192160367966, 0.002331708325073123, -0.00931983720511198, 0.01647520810365677, -0.017887942492961884, -0.004665388725697994, 0.020706862211227417, 0.004738940391689539, 0.043268196284770966, 0.017672743648290634, -0.01968631148338318, -0.017491858452558517, 0.012583700008690357, -0.042005278170108795, 0.01096546370536089, -0.007948821410536766, -0.016017425805330276, -0.012556465342640877, -0.015069720335304737, -0.02678484469652176, 0.021869322285056114, 0.011312758550047874, -1.4114775126472523e-8, -0.06776837259531021, 0.020100342109799385, -0.005474250763654709, 0.003181138075888157, -0.00029476999770849943, -0.04203374311327934, -0.00897190347313881, -0.0158525500446558, -0.012522242031991482, -0.00557722058147192, 0.009581957012414932, -0.03244074806571007, -0.01905890181660652, 0.04065005108714104, 0.021678045392036438, -0.0014856507768854499, -0.016617141664028168, -0.01676318049430847, 0.03445493057370186, 0.03454077988862991, 0.058632828295230865, 0.07027176022529602, 0.034953873604536057, -0.009285906329751015, 0.04068487137556076, -0.005956924986094236, -0.010481569916009903, -0.07325804978609085, 0.013115369714796543, 0.004973836243152618, -0.0008252607076428831, -0.030106225982308388, -0.043984659016132355, 0.009008672088384628, -0.03363458067178726, -0.025545137003064156, -0.0035619197878986597, -0.020825466141104698, 0.023673580959439278, 0.00583904841914773, 0.009252384305000305, 0.020184330642223358, -0.012711666524410248, -0.01831870898604393, -0.016697727143764496, 0.007424935232847929, -0.041463062167167664, -0.021907098591327667, 0.037098705768585205, -0.03885718435049057, -0.0318082831799984, 0.02185697667300701, 0.004564960021525621, 0.00992498267441988, 0.01888766698539257, -0.036908213049173355, 0.010153403505682945, -0.022629264742136, -0.02664993517100811, -0.023097120225429535, 0.004692476708441973, 0.05007144436240196, -0.020801369100809097, -0.005244960077106953 ]
how-does-the-user-language-fit-in-with-the-ubiquitous-language
https://markhneedham.com/blog/2009/01/10/how-does-the-user-language-fit-in-with-the-ubiquitous-language
false
2009-01-19 21:38:20
Cruise: Pipelining for fast visual feedback
[ "agile", "build" ]
[ "Build" ]
One of the cool features in build servers like http://studios.thoughtworks.com/cruise-continuous-integration[Cruise] and http://www.jetbrains.com/teamcity/[Team City] is the ability to create build http://studios.thoughtworks.com/cruise-continuous-integration/deployment-pipelines[pipelines]. I have done a bit of work using this feature in previous projects but the key driver for doing so there was to create a chain of producers/consumers (producing and consuming artifacts) eventually resulting in a manual step to put the application into a testing environment. While this is certainly a good reason to create a build pipeline, http://twitter.com/davcamer[a colleague] pointed out an equally useful way of using this feature to split the build into separate steps pipelined together. By doing this we get a nice graphical display from the cruise dashboard which allows us to see where the build is failing, therefore pointing out where we need to direct our focus. image::{{<siteurl>}}/uploads/2009/01/pipeline-activity-small.png[pipeline_activity_small.png,324] One way to use the pipelines is to work out the distinct potential areas where you would want to signal that something needs to be investigated and then make each of these targets a separate build target. For example we could set it up like so: No dependency build \=> + Services build \=> + End to End smoke test build \=> + Full build == Benefits of this approach The benefit of this approach is that it helps to *create more confidence in the build process*. When we have a long running build it is easy to get into a state where it is failing after 3/4 of the build has run and all we get is the red failed build to indicate something has gone wrong. We can drill down to find out where the failure is but it's not as obvious. The approach we have taken to checking in is that it is fine to do as long as the first stage of the build is green. This has worked reasonably well so far and failure further down stream has been fixed relatively quickly. == Things to watch for We have setup the final step of the build to be a manual step due to the fact that it takes quite a long time to run and we've been unable to get a dedicated machine to run an agent on. Ideally we would have it running constantly on its own agent. This isn't run as frequently as when we had it running automatically and I guess the danger is that we are *pushing problems further down stream* rather than catching them early. Hopefully this issue will be solved if we can get a dedicated agent running this build. We're still looking for ways to improve our build process but this is what's currently working for reasonably well for us at the moment. It would be interesting to hear what others are doing.
null
null
[ 0.04232434928417206, -0.01139635406434536, 0.015220558270812035, 0.06107986345887184, 0.10177992284297943, 0.02835308387875557, 0.03212270885705948, 0.05726933851838112, 0.025379879400134087, -0.023160021752119064, -0.019615722820162773, -0.011031297035515308, -0.0715683177113533, 0.03966674953699112, -0.03896348178386688, 0.06131413206458092, 0.08275766670703888, 0.029376337304711342, 0.03647296130657196, 0.033753398805856705, 0.03766464442014694, 0.066131591796875, 0.023410744965076447, 0.03250358626246452, 0.023774703964591026, 0.01407117210328579, 0.018479542806744576, 0.012343211099505424, -0.06172933056950569, -0.03288450837135315, 0.0322929210960865, -0.010122188366949558, -0.008395505137741566, -0.022776272147893906, 0.02078639157116413, -0.024000875651836395, -0.05588604882359505, 0.010227545164525509, -0.00026723797782324255, 0.006709059234708548, -0.08261512219905853, 0.0479048416018486, 0.006945775356143713, -0.007387238088995218, -0.04692702740430832, 0.045278944075107574, -0.03164397180080414, 0.0019056483870372176, -0.002177213318645954, -0.03417642414569855, -0.0759640634059906, 0.030878348276019096, -0.0356680229306221, -0.005887026898562908, 0.02556598372757435, 0.022421838715672493, 0.013149804435670376, -0.06813351064920425, 0.027202384546399117, -0.03904493898153305, 0.006533249747008085, -0.026106860488653183, -0.005001931916922331, 0.033969294279813766, 0.025958333164453506, -0.039909377694129944, -0.0046516708098351955, 0.045093223452568054, -0.00779223395511508, 0.00398928252980113, -0.007183738984167576, -0.003108162432909012, -0.020363664254546165, -0.00391177274286747, -0.01622215285897255, -0.0494484081864357, 0.007200257852673531, 0.06604406237602234, 0.04127134010195732, 0.043612804263830185, -0.027959223836660385, 0.00828807707875967, -0.007681167218834162, 0.03201966732740402, -0.03170158714056015, -0.0193929523229599, 0.030457617715001106, -0.03423915430903435, -0.08966845273971558, 0.08416049927473068, 0.022697502747178078, -0.0338195376098156, 0.013140888884663582, 0.020778214558959007, 0.02449069358408451, 0.01072442065924406, 0.0060785552486777306, 0.026324408128857613, 0.02252798154950142, -0.0007583665428683162, -0.02534530870616436, 0.032062843441963196, -0.03203096613287926, 0.030296683311462402, -0.06474582850933075, -0.02584267221391201, -0.006477731745690107, -0.0005190841038711369, -0.009852701798081398, 0.007426602300256491, -0.0021166838705539703, 0.023807184770703316, -0.009424355812370777, 0.015441571362316608, -0.09888091683387756, 0.06782275438308716, -0.0027697240002453327, -0.040028758347034454, -0.0319446362555027, -0.006200856529176235, 0.029975775629281998, 0.03833003714680672, -0.020770497620105743, 0.056077998131513596, -0.0256205927580595, 0.05208813026547432, -0.01743653044104576, 0.031165415421128273, -0.003114381805062294, -0.08122912049293518, 0.01052022259682417, 0.053334660828113556, -0.02834242396056652, -0.006673482246696949, -0.014435344375669956, -0.01840933784842491, 0.029058219864964485, 0.0031083484645932913, 0.03039727732539177, 0.027269825339317322, -0.017526742070913315, -0.0487685464322567, 0.03752296417951584, 0.0028705629520118237, 0.03581784665584564, 0.005166652146726847, -0.01636348105967045, -0.04847673699259758, -0.0496780090034008, 0.025486601516604424, -0.006184729747474194, 0.030111737549304962, 0.013480862602591515, -0.05537472292780876, 0.03374777361750603, 0.09091774374246597, 0.061532750725746155, -0.015807008370757103, -0.028581930324435234, 0.023301608860492706, 0.042894069105386734, 0.02827605977654457, 0.02415993995964527, 0.02554878033697605, 0.031983718276023865, -0.02887684293091297, -0.0060653178952634335, -0.0006462591118179262, 0.007499012164771557, -0.0034470835234969854, -0.05169431492686272, -0.06630650162696838, 0.05183856934309006, -0.024279547855257988, 0.013291237875819206, 0.03971720486879349, 0.09291534125804901, 0.04795724153518677, 0.019554130733013153, 0.014598875306546688, -0.07184487581253052, 0.03700004518032074, 0.004710780456662178, 0.019206013530492783, 0.02129385992884636, -0.03986943140625954, 0.06759477406740189, 0.015422441996634007, -0.02131786197423935, 0.03464078530669212, -0.07268310338258743, -0.09583143889904022, -0.0064017558470368385, -0.029182638972997665, 0.04004594683647156, -0.0330507755279541, -0.023651963099837303, 0.04903767630457878, 0.022347329184412956, 0.06191844120621681, 0.017743565142154694, 0.011253554373979568, 0.012933838181197643, -0.07654744386672974, -0.06810557097196579, 0.04878949746489525, 0.032019905745983124, -0.00448024645447731, -0.05611103028059006, 0.016518471762537956, 0.00021470739739015698, -0.01140536554157734, 0.03938588500022888, -0.005846007727086544, 0.05939953774213791, -0.008407828398048878, 0.028502332046628, -0.04127225652337074, 0.05260087177157402, -0.04619935527443886, 0.006339929532259703, -0.0034251785837113857, -0.015270133502781391, 0.022492311894893646, -0.016798464581370354, 0.09274454414844513, 0.03918934240937233, -0.04288012906908989, -0.046095624566078186, 0.05018800497055054, 0.022492049261927605, -0.012516383081674576, -0.011101425625383854, 0.0006329987663775682, 0.020983349531888962, 0.0070086391642689705, -0.03987674415111542, -0.008652848191559315, -0.01462460495531559, -0.04016011580824852, -0.0011769235134124756, 0.05700738728046417, -0.02944933995604515, 0.0530417338013649, 0.02642497606575489, -0.036267563700675964, 0.010464497841894627, -0.04303818196058273, -0.07025318592786789, 0.003056830959394574, 0.018596848472952843, -0.01533840037882328, 0.046308957040309906, -0.03936201333999634, -0.0323089063167572, -0.039399031549692154, -0.036780841648578644, 0.015137458220124245, 0.015168942511081696, 0.06838652491569519, -0.029668357223272324, 0.06754688918590546, -0.008514216169714928, 0.0366971381008625, 0.022216232493519783, -0.040496885776519775, -0.017180919647216797, -0.013079485855996609, 0.011984641663730145, 0.03356580436229706, -0.004922693129628897, 0.019854310899972916, 0.010043412446975708, -0.008043291047215462, 0.0005543534643948078, -0.014131276868283749, 0.019231727346777916, -0.010316836647689342, 0.028747830539941788, -0.026871804147958755, -0.01891690492630005, 0.05219826474785805, -0.048055507242679596, 0.013233831152319908, 0.013113751076161861, -0.04217153042554855, 0.026789719238877296, -0.10459613054990768, -0.04812140762805939, -0.019731631502509117, 0.006134593393653631, -0.004066061694175005, 0.007108838763087988, 0.020880550146102905, 0.07886283099651337, 0.026598377153277397, 0.01412777230143547, -0.006033380050212145, -0.003895968198776245, 0.05565040558576584, 0.011189400218427181, 0.0015623084036633372, 0.06045401468873024, -0.010160332545638084, 0.0023243140894919634, -0.04304545745253563, 0.019473087042570114, -0.031638260930776596, -0.27526578307151794, 0.01833414100110531, 0.018244460225105286, -0.06716267764568329, 0.03351655602455139, -0.0349145233631134, 0.0030734697356820107, -0.04215162247419357, -0.023913081735372543, 0.01815740391612053, -0.026790384203195572, -0.05137626454234123, 0.0003649122954811901, 0.03309301286935806, 0.008335541933774948, 0.009601886384189129, 0.026057610288262367, -0.04160519316792488, 0.02533623017370701, 0.00635989336296916, -0.027729211375117302, -0.05052971467375755, 0.01001457404345274, 0.004350429866462946, 0.04362574219703674, 0.048590563237667084, -0.08245602995157242, 0.06499610096216202, -0.04629009589552879, -0.006372307892888784, 0.017207834869623184, -0.004164327401667833, -0.018106942996382713, -0.007607639767229557, -0.03466140106320381, -0.0020875532645732164, 0.042772937566041946, 0.004329077433794737, -0.004156820476055145, -0.011616084724664688, -0.02272624336183071, -0.04145773872733116, -0.007362788077443838, -0.00008331859135068953, 0.06678614765405655, -0.013368290849030018, -0.10094060003757477, 0.010317633859813213, -0.04482262209057808, 0.06342951208353043, -0.029993658885359764, -0.03266116976737976, -0.0022736098617315292, 0.02602142095565796, -0.0191965214908123, -0.017958756536245346, -0.0030405977740883827, -0.00570542411878705, -0.0508519783616066, -0.0039955368265509605, -0.0169464610517025, -0.016640694811940193, -0.010376322083175182, -0.0468570739030838, 0.001795659656636417, -0.05208571255207062, -0.0455360971391201, -0.0177908968180418, 0.07370634377002716, -0.0019407076761126518, -0.03773457929491997, 0.010122804902493954, -0.01495964452624321, -0.1104331687092781, 0.004014877136796713, -0.012338999658823013, -0.03350784257054329, -0.018145276233553886, -0.0006079835002310574, 0.05698700621724129, -0.010487913154065609, -0.044879551976919174, 0.03496302291750908, 0.015218093059957027, 0.0037498334422707558, 0.014329838566482067, 0.022564435377717018, 0.046050406992435455, -0.011042682453989983, 0.013526114635169506, 0.060454003512859344, -0.03106069006025791, -0.018458547070622444, -0.03144301846623421, 0.00242166337557137, 0.01293985266238451, -0.006162309553474188, 0.015383307822048664, -0.017636960372328758, 0.011612373404204845, 0.028359651565551758, -0.03857480362057686, 0.03428499400615692, -0.0046780770644545555, -0.013687381520867348, -0.022452443838119507, -0.05088064819574356, 0.0053688883781433105, 0.032824981957674026, 0.06203245744109154, 0.0033669909462332726, -0.005903531331568956, 0.03354373946785927, -0.02432042546570301, -0.023220311850309372, -0.005590524058789015, -0.005188250448554754, 0.05324788764119148, 0.007124890573322773, -0.007147517520934343, -0.066582091152668, 0.03556423634290695, 0.01116473600268364, 0.000746553239878267, -0.0454489104449749, -0.013950612396001816, 0.0008363767410628498, 0.005708363372832537, 0.0006499509327113628, 0.028961459174752235, -0.021024486050009727, 0.04236000031232834, 0.037126004695892334, -0.017253924161195755, 0.019334524869918823, -0.03834542632102966, -0.052970271557569504, -0.043696362525224686, 0.009992659091949463, 0.005768853705376387, -0.03064064495265484, 0.037101320922374725, 0.018926195800304413, 0.02272297628223896, 0.0507882796227932, 0.02591034211218357, 0.03338395804166794, 0.0042754653841257095, 0.041516661643981934, 0.006542178802192211, -0.005954834166914225, -0.06976199150085449, 0.010791100561618805, -0.06125286594033241, -0.008183750323951244, -0.02960936352610588, 0.03482278436422348, -0.021688876673579216, -0.0548953041434288, -0.014626800082623959, 0.018918292596936226, -0.040873803198337555, -0.0024018781259655952, -0.005957603454589844, 0.012867589481174946, 0.051869429647922516, 0.0000797192842583172, -0.0032923100516200066, -0.047047846019268036, -0.007071236148476601, 0.0038197964895516634, 0.0050124297849833965, -0.06506409496068954, -0.0018391028279438615, 0.00908667128533125, 0.013780697248876095, -0.01252047810703516, -0.01312214508652687, 0.05656773969531059, -0.0010408004745841026, -0.019284697249531746, -0.002579733729362488, 0.01455308124423027, -0.009350907988846302, 0.028082067146897316, -0.004755245987325907, -0.015382759273052216, 0.018950317054986954, -0.01907780021429062, -0.005059573799371719, -0.022066984325647354, 0.007988844998180866, -0.008193263784050941, 0.0159758348017931, -0.014534048736095428, -0.08238328248262405, 0.0809134989976883, 0.03666570037603378, 0.03296525031328201, 0.0033310626167804003, -0.013991504907608032, -0.00879472866654396, -0.02023346722126007, 0.049774982035160065, 0.09902242571115494, -0.05044732987880707, 0.015105091035366058, 0.0069831982254981995, 0.001340230810455978, 0.0013139151269569993, -0.008384274318814278, -0.057082753628492355, -0.030607420951128006, -0.012524079531431198, 0.013232250697910786, -0.08051200211048126, -0.022772276774048805, -0.036129504442214966, 0.022265825420618057, 0.0024198524188250303, 0.007422540802508593, -0.008276451379060745, -0.0028501893393695354, -0.02146502025425434, -0.025685885921120644, 0.0032633203081786633, -0.044105030596256256, 0.0023924210108816624, 0.027516698464751244, -0.03473398834466934, 0.004232758190482855, -0.024748917669057846, 0.01422722078859806, 0.016097530722618103, -0.008421194739639759, -0.014868113212287426, -0.04032430052757263, -0.01485348679125309, 0.0044386680237948895, 0.024176374077796936, -0.013885386288166046, -0.003296039067208767, -0.019237585365772247, -0.023205174133181572, -0.024227071553468704, -0.010014528408646584, -0.012246823869645596, 0.005511213559657335, 0.0029099425300955772, 0.058636631816625595, -0.03403373807668686, 0.017472634091973305, -0.0012722447281703353, -0.02790096588432789, 0.03964631259441376, -0.07681290060281754, -0.037052080035209656, -0.0316903181374073, -0.05511491373181343, 0.00010367799404775724, 0.003233230672776699, -0.0060593681409955025, -0.061053235083818436, 0.05130542442202568, 0.046043191105127335, 0.023801026865839958, 0.025448495522141457, 0.0002370247821090743, 0.025536062195897102, -0.035404499620199203, -0.0145183764398098, -0.07468695193529129, 0.0076721650548279285, 0.030755439773201942, -0.006828335113823414, 0.009466860443353653, -0.004181169904768467, -0.015383094549179077, 0.04911345988512039, -0.045102838426828384, -0.03824558109045029, 0.05297134444117546, -0.02115832455456257, 0.004156916402280331, 0.012272880412638187, -0.04929785802960396, 0.021569522097706795, 0.01316064316779375, -0.023252546787261963, -0.00649251090362668, -0.03886330872774124, 0.037120476365089417, -0.014826912432909012, 0.028205344453454018, -0.03192329779267311, -0.033652156591415405, 0.07121271640062332, 0.007239386439323425, -0.001643132884055376, 0.041085172444581985, 0.010525827296078205, 0.04045319929718971, 0.03132222592830658, 0.00337919220328331, -0.0035843790974467993, 0.031773291528224945, -0.005150871817022562, -0.02832500822842121, 0.05166434124112129, 0.013828331604599953, -0.02893313392996788, -0.025914287194609642, 0.06668316572904587, 0.028553465381264687, -0.04044512286782265, -0.035669345408678055, 0.022106114774942398, -0.035020675510168076, -0.016385510563850403, 0.0007148098084144294, -0.008229317143559456, -0.0517670176923275, 0.05474308505654335, -0.00588367972522974, 0.011861014179885387, 0.07269738614559174, 0.019502870738506317, -0.020795198157429695, -0.014003853313624859, 0.10115931928157806, 0.06920819729566574, 0.029011566191911697, 0.004806522745639086, 0.05906413123011589, -0.006679430138319731, -0.046173810958862305, 0.025407515466213226, -0.00897937174886465, -0.013497905805706978, -0.03711021691560745, 0.04266186058521271, 0.05149935185909271, 0.0024150966200977564, 0.04707792401313782, -0.014802312478423119, -0.004292232915759087, 0.010084297508001328, 0.05184813216328621, 0.0143933380022645, 0.047768209129571915, 0.0048568882048130035, 0.010807021521031857, -0.008227196522057056, -0.047965794801712036, 0.019904185086488724, -0.03359781578183174, -0.016655704006552696, 0.033374521881341934, 0.021397344768047333, 0.011975403875112534, 0.016000282019376755, 0.011468186043202877, 0.08223813772201538, -0.03455076366662979, -0.0027943088207393885, -0.020387856289744377, 0.02732931636273861, 0.009099500253796577, -0.0029894381295889616, -0.015808310359716415, -0.02345394715666771, -0.004926539957523346, -0.04145706817507744, -0.022968115285038948, -0.004320200998336077, 0.0007095140172168612, 0.04449307918548584, -0.01863403245806694, 0.01752830296754837, 0.018858114257454872, -0.015685299411416054, -0.037828680127859116, -0.04164278134703636, -0.04381345584988594, -0.03588506579399109, -0.03077545575797558, -0.0015619355253875256, 0.02252298593521118, -0.02230663225054741, -0.026876667514443398, -0.03053337335586548, -0.006781227886676788, -0.03797541558742523, 0.023317981511354446, -0.0749686062335968, -0.02550061233341694, 0.02919681742787361, 0.00801088660955429, 0.02430250681936741, 0.013373986817896366, 0.06003314256668091, 0.010331204161047935, -0.008689839392900467, -0.027291622012853622, 0.038208454847335815, -0.0052689677104353905, -0.00466502457857132, 0.0371757447719574, -0.061983220279216766, 0.026681646704673767, 0.009082796052098274, 0.004665425978600979, -0.06209155172109604, -0.004565344657748938, 0.02510889433324337, -0.02194836735725403, 0.05579824000597, -0.010643959045410156, 0.0220025721937418, -0.07131867855787277, -0.003342769807204604, -0.00909056980162859, -0.0003677051863633096, 0.037117619067430496, -0.021650219336152077, 0.07010629773139954, 0.022663669660687447, -0.03193815425038338, -0.029803384095430374, -0.019876716658473015, -0.005508987233042717, -0.005683778785169125, -0.021702589467167854, -0.02581915818154812, -0.03728979453444481, -0.11939142644405365, -0.033728037029504776, -0.007091718725860119, -0.002824741182848811, -0.012345990166068077, 0.024892082437872887, 0.0024190726689994335, -0.06466413289308548, -0.01623605005443096, -0.04906752333045006, 0.008524681441485882, -0.016072696074843407, 0.0014800356002524495, 0.0212937593460083, 0.034535281360149384, 0.029891183599829674, -0.012309103272855282, 0.015519699081778526, -0.055277980864048004, 0.01387039665132761, -0.0354514941573143, 0.02358414977788925, 0.04675465077161789, 0.028459176421165466, -0.016332369297742844 ]
[ -0.08001995831727982, -0.018308281898498535, -0.0071256025694310665, -0.03846009075641632, 0.03596634045243263, -0.022533327341079712, -0.051987528800964355, 0.014376247301697731, -0.03644720837473869, -0.022691236808896065, 0.022066248580813408, -0.035603880882263184, -0.016373788937926292, -0.033811043947935104, 0.05247662961483002, 0.01912667602300644, -0.028103236109018326, -0.03806072473526001, 0.008818550035357475, -0.0033869489561766386, -0.030296243727207184, -0.038174841552972794, -0.06817223131656647, -0.017467420548200607, 0.027791058644652367, 0.011085689067840576, 0.04407835751771927, -0.013967329636216164, 0.005135379731655121, -0.1932917982339859, 0.013252395205199718, -0.007271924056112766, 0.02816716767847538, -0.015723226591944695, 0.018791435286402702, 0.02459050714969635, 0.016436470672488213, 0.01824481226503849, 0.0023112716153264046, 0.022613447159528732, 0.016612667590379715, 0.04146784171462059, -0.04085320606827736, -0.021349996328353882, 0.02036109007894993, 0.000901638763025403, 0.008603683672845364, -0.01499374583363533, 0.024820759892463684, 0.005404527299106121, -0.01579924486577511, -0.03707258030772209, -0.01961537078022957, -0.05834412947297096, -0.02037745900452137, 0.01671859435737133, 0.017546620219945908, 0.07574443519115448, 0.031134774908423424, 0.022716296836733818, 0.041897449642419815, -0.028803009539842606, -0.16742344200611115, 0.06890740245580673, 0.04261767491698265, 0.047030333429574966, -0.06356199830770493, -0.018154138699173927, -0.005336207337677479, 0.1007821336388588, -0.00222541531547904, -0.033993199467659, -0.009582653641700745, 0.055452387779951096, 0.033038701862096786, 0.018600745126605034, 0.01181356143206358, 0.0328412801027298, 0.04255359619855881, -0.03804505988955498, -0.03205583617091179, -0.02670331485569477, -0.04441739246249199, -0.00001855489426816348, -0.06326758861541748, 0.025681328028440475, -0.014806807041168213, 0.08254413306713104, 0.03124932572245598, 0.05309049040079117, 0.015177501365542412, -0.012005483731627464, 0.034133315086364746, 0.023531949147582054, -0.10931157320737839, -0.00950306560844183, -0.008292359299957752, -0.020653681829571724, -0.04054299741983414, 0.43910467624664307, -0.013306081295013428, -0.018414441496133804, 0.04776151105761528, 0.037154700607061386, 0.009119613096117973, 0.00922780018299818, 0.01308488380163908, -0.03317974880337715, 0.017492476850748062, -0.023215187713503838, -0.014361226931214333, 0.01682247221469879, 0.031001266092061996, -0.06155852600932121, 0.015932129696011543, 0.003124988405033946, -0.02468685247004032, 0.023081811144948006, -0.05838094651699066, 0.008748355321586132, 0.0062445686198771, -0.007185660768300295, 0.046285469084978104, 0.027523402124643326, -0.011054856702685356, -0.0044981809332966805, 0.07146923989057541, 0.021030787378549576, 0.03684282675385475, -0.014556090347468853, 0.02441031113266945, -0.027137501165270805, -0.030536025762557983, 0.018051566556096077, 0.03199473395943642, -0.0022341408766806126, 0.04087534174323082, -0.041590798646211624, -0.017349915578961372, 0.03165855631232262, 0.0055690668523311615, 0.021346930414438248, 0.044516671448946, -0.053984686732292175, -0.03444087877869606, 0.07956381887197495, 0.05594570189714432, -0.014806611463427544, -0.035772424191236496, -0.04068606346845627, -0.012347050942480564, 0.026189617812633514, 0.0387498140335083, -0.015040024183690548, 0.03061235509812832, 0.010150957852602005, 0.04703609272837639, -0.0077918884344398975, -0.05652299150824547, 0.014333312399685383, -0.009213692508637905, -0.02983124367892742, -0.05526827275753021, 0.03385800123214722, 0.050094377249479294, -0.12542685866355896, -0.046142883598804474, 0.021949905902147293, 0.016546932980418205, -0.0619225800037384, -0.043314799666404724, 0.04018464684486389, 0.015773512423038483, -0.006718574091792107, 0.03364722803235054, -0.030680183321237564, -0.056230004876852036, 0.018789147958159447, 0.04601994901895523, 0.013600091449916363, 0.013371815904974937, 0.03148975223302841, -0.017482805997133255, -0.0019440940814092755, -0.016296889632940292, -0.09734723716974258, -0.06659282743930817, -0.014321903698146343, -0.05201863870024681, -0.011511402204632759, -0.035010192543268204, -0.005303664598613977, -0.050809118896722794, 0.10309458523988724, 0.003457448910921812, -0.02202259749174118, 0.02189350500702858, -0.02328752912580967, -0.026326589286327362, -0.04491082578897476, -0.0037771929055452347, 0.015824608504772186, -0.012546767480671406, 0.0322856679558754, -0.09347859025001526, 0.06214902549982071, 0.04315096139907837, -0.032164085656404495, 0.04465777426958084, 0.03879760205745697, -0.04582572728395462, -0.0019241351401433349, 0.004928140435367823, 0.024201877415180206, -0.003420949447900057, 0.013762308284640312, 0.01149026583880186, 0.014724568463861942, -0.01837325654923916, 0.027686847373843193, -0.0035790479741990566, 0.03121962584555149, -0.0028181932866573334, -0.3223547637462616, -0.04831022024154663, -0.025409841910004616, 0.01750129647552967, 0.03583769127726555, -0.03421337157487869, -0.003447020659223199, 0.018153218552470207, -0.01812412217259407, -0.0018009560881182551, 0.11095044761896133, -0.04239043593406677, -0.006284138187766075, -0.0978694036602974, -0.01496131718158722, 0.013422591611742973, -0.04635465517640114, -0.041859764605760574, -0.03420265018939972, 0.005734608042985201, 0.007230112329125404, -0.01761488988995552, -0.046384334564208984, -0.07162953168153763, 0.03826623037457466, -0.022529110312461853, 0.11007045209407806, -0.02653253637254238, 0.08542689681053162, -0.06159605085849762, 0.04274868592619896, 0.02983900159597397, 0.024462314322590828, -0.083058200776577, 0.017771275714039803, -0.03163047507405281, 0.05008504539728165, -0.03690420091152191, 0.02048172615468502, -0.0015462968731299043, -0.06221027672290802, 0.02901081182062626, -0.07735678553581238, -0.07714766263961792, -0.010797431692481041, -0.03132990747690201, -0.04097551479935646, 0.04542495682835579, -0.03373640403151512, 0.036988042294979095, 0.019669005647301674, -0.008968924172222614, 0.0092192767187953, -0.0059501430951058865, 0.015493075363337994, -0.02890116348862648, -0.06892053037881851, -0.012727842666208744, -0.013989666476845741, -0.05302959680557251, 0.04329228401184082, 0.07090086489915848, 0.022285863757133484, -0.028016678988933563, 0.041172269731760025, 0.0035295174457132816, -0.0023509853053838015, 0.0033034957014024258, 0.029099343344569206, -0.03654709830880165, -0.009911342523992062, 0.08998465538024902, 0.007149549666792154, 0.019792508333921432, 0.05479401722550392, 0.022953025996685028, -0.04757525399327278, -0.0011163607705384493, 0.021684404462575912, -0.007827863097190857, 0.008379357866942883, -0.04568362981081009, 0.04798976704478264, -0.03550359234213829, 0.025605762377381325, 0.07497356832027435, -0.04914988577365875, -0.04612962156534195, 0.048582565039396286, 0.0014108818722888827, 0.00009054091788129881, 0.0003466934140305966, -0.016320647671818733, -0.07259148359298706, 0.07912753522396088, -0.007332119159400463, -0.2442290186882019, 0.017177382484078407, 0.0687621459364891, 0.01850956492125988, -0.013408970087766647, 0.019190600141882896, 0.03877996653318405, 0.006961727049201727, 0.0447813980281353, 0.041840847581624985, 0.002526290016248822, 0.039200715720653534, -0.011749627068638802, 0.004395767115056515, 0.04190918803215027, -0.007894661277532578, 0.06095244362950325, 0.0025655918288975954, 0.04581873118877411, -0.00008951598283601925, -0.006099178921431303, 0.006376957055181265, 0.146656796336174, 0.018361814320087433, 0.0360373891890049, 0.022753966972231865, -0.03590578958392143, 0.02857181616127491, 0.04802976921200752, 0.04149210453033447, -0.00999465025961399, 0.025165757164359093, 0.002261039800941944, 0.004912262782454491, 0.025379354134202003, -0.04083239287137985, -0.0032016707118600607, 0.05541390925645828, -0.01404512394219637, 0.013391884975135326, 0.00703119020909071, 0.020285790786147118, 0.027317918837070465, 0.04191239923238754, 0.0512692965567112, -0.02075693942606449, -0.022134294733405113, -0.07254144549369812, -0.03375592455267906, -0.027096448466181755, -0.056343924254179, -0.04976745322346687, 0.02374708652496338, -0.03546491265296936, 0.012201203964650631, 0.07610853016376495, 0.03476500138640404, -0.036871280521154404, 0.03344956412911415, 0.013342957943677902, -0.005337241571396589, -0.03929806873202324, 0.11860421299934387, 0.026533793658018112, 0.03208274021744728 ]
[ 0.012145338580012321, 0.021920504048466682, 0.013972588814795017, 0.009862516075372696, 0.01655741222202778, -0.00943136028945446, -0.025142908096313477, 0.025888189673423767, -0.020965807139873505, -0.029867535457015038, -0.006147648207843304, -0.003234377596527338, 0.014924325980246067, 0.011097913607954979, 0.032081518322229385, 0.02431364357471466, 0.00013023184146732092, 0.01282940711826086, 0.025029456242918968, -0.046085745096206665, -0.014550051651895046, 0.022393764927983284, -0.008024330250918865, 0.03497956320643425, -0.016669178381562233, 0.01200038380920887, -0.06632402539253235, 0.03027728572487831, 0.02384517528116703, -0.1261347532272339, -0.004331151954829693, -0.026544515043497086, -0.016713200137019157, -0.009476729668676853, 0.03252768516540527, -0.023868588730692863, 0.004077245015650988, 0.01719239167869091, -0.003543213475495577, 0.018495965749025345, 0.027282550930976868, -0.023658109828829765, 0.00800299271941185, 0.028143782168626785, -0.028620408847928047, -0.017340034246444702, -0.034212686121463776, -0.04876742511987686, 0.004735985305160284, 0.006837319117039442, -0.029839888215065002, -0.032044246792793274, 0.007535439915955067, 0.005511852912604809, 0.01965787075459957, 0.0006543212221004069, -0.027729660272598267, -0.004394491668790579, 0.02047847770154476, -0.0419667549431324, 0.03243618085980415, 0.018839143216609955, -0.027518747374415398, -0.012274865061044693, -0.020872144028544426, 0.004398166202008724, 0.007032911293208599, 0.014255461283028126, -0.004613416735082865, -0.017978807911276817, -0.012333963066339493, 0.016580136492848396, -0.038283899426460266, -0.0389813631772995, 0.004079259000718594, 0.05450781434774399, 0.020415885373950005, 0.0059273382648825645, -0.015916449949145317, -0.014649233780801296, -0.03433061018586159, 0.016158830374479294, -0.039508458226919174, 0.0033683665096759796, -0.016513768583536148, 0.012890207581222057, 0.004942068364471197, 0.00032965163700282574, 0.025401659309864044, 0.05093025788664818, -0.03318400681018829, 0.02311353199183941, -0.011304281651973724, 0.0020379405468702316, -0.07034461200237274, 0.008258223533630371, -0.02022622339427471, -0.026395553722977638, -0.007642852608114481, 0.8172202706336975, 0.010322864167392254, 0.006578442174941301, 0.047211527824401855, -0.011625357903540134, 0.0037548088002949953, 0.004632072057574987, 0.0070046172477304935, 0.031661417335271835, 0.013961458578705788, -0.05494650453329086, -0.008085526525974274, 0.012318721041083336, 0.02221764251589775, -0.031441524624824524, 0.017303835600614548, 0.033746346831321716, -0.010333721525967121, -0.02112983539700508, -0.023683248087763786, -0.011966344900429249, 0.030846385285258293, -0.00890317466109991, 0.031045403331518173, 0.004530224017798901, 0.03535149618983269, -0.18545156717300415, 0.010922781191766262, -6.903352122696941e-33, 0.03820831701159477, -0.03328269347548485, -0.000461524905404076, 0.020966041833162308, 0.06216881796717644, -0.022067781537771225, 0.028250889852643013, 0.0053749061189591885, -0.047588638961315155, -0.028254132717847824, -0.005818111356347799, -0.027079179883003235, -0.009166242554783821, -0.013138831593096256, 0.0228837002068758, -0.06530121713876724, 0.003635391825810075, 0.03298357501626015, -0.025993453338742256, -0.002252687467262149, 0.021172188222408295, 0.0015531504759564996, -0.028087710961699486, 0.011663203127682209, 0.03710457310080528, 0.014701656997203827, 0.021371835842728615, 0.03571483492851257, -0.03383897617459297, -0.026896636933088303, -0.03916919231414795, 0.05277503281831741, -0.00013520197535399348, -0.0018932329257950187, 0.01796557568013668, -0.05331069231033325, -0.016177276149392128, 0.007985906675457954, -0.045618847012519836, 0.0021904197055846453, -0.03933986276388168, 0.0026109362952411175, -0.03608997166156769, 0.00397654389962554, -0.0298666600137949, -0.03228604048490524, -0.0018857017857953906, -0.014073288068175316, 0.028897901996970177, 0.0002605315239634365, 0.03376046568155289, -0.004585711285471916, 0.019513851031661034, 0.015057838521897793, 0.015273449942469597, 0.019468629732728004, 0.007400612812489271, 0.0033242262434214354, -0.018624739721417427, -0.03570720553398132, -0.031064068898558617, 0.02416866458952427, -0.05311281234025955, 0.05215388163924217, 0.010589181445538998, 0.018146900460124016, 0.014287709258496761, 0.014899838715791702, 0.03659532219171524, 0.0001582205732120201, -0.053841836750507355, 0.0016478926409035921, 0.0017838088097050786, -0.052103616297245026, 0.0657501220703125, -0.047920066863298416, -0.01676301471889019, 0.02537708915770054, 0.00154489662963897, 0.07667414844036102, -0.0061933258548378944, -0.025171346962451935, -0.012769424356520176, -0.019786277785897255, -0.011583277024328709, 0.004523939918726683, 0.03921433910727501, 0.039240702986717224, -0.01570332795381546, 0.04629625007510185, 0.0003685923002194613, -0.014846939593553543, 0.034613776952028275, 0.0013108646962791681, -0.005707912612706423, 8.103671444840657e-33, -0.021754488348960876, -0.01137473899871111, -0.004461600445210934, 0.011120102368295193, 0.013169202953577042, -0.021329501643776894, 0.025116242468357086, 0.001182518433779478, -0.04158155992627144, 0.01744130812585354, -0.014539197087287903, 0.026960577815771103, -0.04751315340399742, 0.029702521860599518, 0.01133703999221325, -0.012154660187661648, 0.031165635213255882, -0.0554342046380043, 0.03943581506609917, 0.02694939449429512, 0.04143808037042618, -0.028344236314296722, -0.03513052314519882, 0.019862916320562363, -0.005215439945459366, 0.06709020584821701, 0.00019379809964448214, -0.004026893991976976, -0.002591971307992935, -0.030061086639761925, 0.008653148077428341, 0.0026540204416960478, -0.005468066316097975, -0.02657005935907364, -0.021322067826986313, 0.029723266139626503, -0.044521138072013855, 0.04459646716713905, -0.0012579914182424545, -0.0001754032855387777, 0.029406869783997536, -0.008544398471713066, 0.011833644472062588, 0.014685801230370998, -0.012812204658985138, 0.03313681483268738, 0.022763928398489952, -0.059416819363832474, -0.04755263030529022, 0.03566781431436539, 0.009966416284441948, 0.03348530828952789, -0.016746070235967636, 0.033539414405822754, 0.01529758796095848, 0.00047136531793512404, -0.03336453437805176, 0.016424348577857018, -0.03650505468249321, 0.025889743119478226, 0.015596963465213776, 0.005699144210666418, -0.0004042549408040941, 0.01924114301800728, -0.037708476185798645, -0.016553061082959175, -0.0075007169507443905, 0.037370555102825165, -0.021972382441163063, 0.03161834925413132, -0.006585817784070969, 0.030512357130646706, -0.0393497608602047, 0.04456467926502228, 0.014402754604816437, -0.08946686238050461, -0.03833990916609764, -0.007119391113519669, -0.012703115120530128, 0.04666025564074516, 0.0070568956434726715, 0.013675931841135025, -0.026527881622314453, 0.0009879621211439371, -0.012587245553731918, -0.007332665380090475, -0.0231462549418211, 0.04447947442531586, 0.04135604947805405, -0.030047018080949783, 0.0012181870406493545, -0.0048975711688399315, -0.03537054732441902, 0.019581206142902374, -0.012960723601281643, -1.280115125013026e-8, -0.01370609924197197, 0.026344656944274902, -0.010097866877913475, 0.04281536862254143, 0.011145133525133133, -0.0019173644250258803, -0.003491943469271064, 0.04397280886769295, -0.02474367432296276, 0.020756956189870834, 0.06379497051239014, -0.009180938825011253, -0.015683909878134727, 0.018332159146666527, 0.006863919552415609, -0.05787571892142296, 0.007392233703285456, 0.0073000225238502026, 0.044198185205459595, -0.021549737080931664, 0.012312592938542366, 0.04917670786380768, -0.03054058738052845, -0.007805540692061186, -0.007739644031971693, 0.009112212806940079, 0.0137095982208848, -0.0702500194311142, 0.002410714514553547, 0.015818487852811813, 0.01269223727285862, 0.0006783542921766639, -0.06120821833610535, 0.0267266146838665, 0.007454656530171633, -0.04094718024134636, 0.023574883118271828, 0.008296660147607327, 0.018744703382253647, -0.0047071329317986965, -0.008985011838376522, 0.03811858594417572, 0.009669692255556583, -0.028202686458826065, 0.002450777916237712, 0.030251488089561462, -0.034417565912008286, 0.005897012539207935, -0.00018799696408677846, -0.05715155601501465, 0.03194940462708473, -0.013467127457261086, -0.016075124964118004, 0.05433870851993561, 0.01545439101755619, -0.0055068363435566425, 0.04512249678373337, -0.007743373978883028, -0.04392353817820549, -0.0069655380211770535, 0.017773449420928955, 0.020025067031383514, 0.006972834002226591, -0.007322538644075394 ]
cruise-pipelining-for-fast-visual-feedback
https://markhneedham.com/blog/2009/01/19/cruise-pipelining-for-fast-visual-feedback
false
2009-01-19 19:24:25
F# vs C# vs Java: Functional Collection Parameters
[ "c", "java", "f", "functional-programming" ]
[ ".NET", "Java" ]
I wrote a post about a month ago on using http://www.markhneedham.com/blog/2008/12/17/functional-collection-parameters-in-c/[functional collection parameters] in C# and over the weekend http://fabiopereira.me/blog/[Fabio] and I decided to try and contrast the way you would do this in Java, C# and then F# just for fun. == Map Map evaluates a high order function on all the elements in a collection and then returns a new collection containing the results of the function evaluation. Given the numbers 1-5, return the square of each number Java [source,java] ---- int[] numbers = { 1,2,3,4,5}; for (int number : numbers) { System.out.println(f(number)); } private int f(int value) { return value*value; } ---- C# [source,csharp] ---- new List<int> (new[] {1, 2, 3, 4, 5}.Select(x => x*x)).ForEach(Console.WriteLine); ---- F# [source,text] ---- [1..5] |> List.map (fun x -> x*x) |> List.iter (printfn "%d");; ---- == Filter Filter applies a predicate against all of the elements in a collection and then returns a collection of elements which matched the predicate. Given the numbers 1-5, print out only the numbers greater than 3: Java [source,java] ---- int[] numbers = { 1,2,3,4,5}; for (int number : numbers) { f(number); } private void f(int value) { if(value > 3) { System.out.println(value); } } ---- C# [source,csharp] ---- new List<int> { 1,2,3,4,5}.FindAll(x => x > 3).ForEach(Console.WriteLine); ---- F# [source,text] ---- [1..5] |> List.filter (fun x -> x > 3) |> List.iter (printfn "%d");; ---- == Reduce Reduce applies a high order function against all the elements in a collection and then returns a single result. Given a list of numbers 1-5, add them all together and print out the answer Java [source,java] ---- int sum = 0; int[] numbers = { 1,2,3,4,5}; for (int number : numbers) { sum += number; } System.out.println(sum); ---- C# [source,java] ---- Console.WriteLine(new[] {1, 2, 3, 4, 5}.Aggregate(0, (accumulator, x) => accumulator + x)); ---- F# [source,text] ---- [1..5] |> List.fold_left (+) 0 |> printfn "%d";; ---- == In Summary I was surprised that we could achieve these results in relatively few lines of Java. The C# and F# versions are still more concise but the Java version isn't too bad. The http://commons.apache.org/collections/api-2.1.1/org/apache/commons/collections/CollectionUtils.html#select(java.util.Collection,%20org.apache.commons.collections.Predicate)[Apache Commons Library has a class] which allows you to write these in a functional way but the need to use anonymous methods means it's not as clean as what you can achieve in C# and F#. I think there is still a bit of a mindset switch to make from thinking procedurally about these things to thinking in a way that allows you to make the most of functional programming concepts. Keeping the code as declarative as possible and reducing the amount of state in our code are the most obvious things I have learned so far from playing with F#.
null
null
[ 0.0029041345696896315, -0.014981891959905624, -0.0006742353434674442, 0.012705205008387566, 0.06529898196458817, 0.0030567136127501726, 0.013848981820046902, 0.006701876875013113, -0.01735699363052845, -0.017193978652358055, 0.018520209938287735, 0.0040548741817474365, -0.07674301415681839, 0.025065312162041664, -0.00636723916977644, 0.07855219393968582, 0.075169637799263, -0.03824266791343689, 0.03942815959453583, -0.01687859185039997, -0.018017830327153206, 0.061823852360248566, 0.01354492548853159, 0.023781396448612213, 0.032232969999313354, 0.026319215074181557, 0.00971179362386465, 0.0149494968354702, -0.04420099034905434, 0.004793665837496519, 0.02348693646490574, 0.03223242238163948, -0.025728369131684303, -0.015365421772003174, -0.02143424190580845, -0.034185320138931274, 0.00704933563247323, -0.013857080601155758, -0.004455625545233488, 0.03223741799592972, -0.05562414973974228, 0.02657500095665455, -0.0024121820461004972, 0.01844940334558487, -0.06907271593809128, 0.027325082570314407, -0.04023423045873642, -0.012135856784880161, -0.029251063242554665, -0.0004455620073713362, -0.05166245996952057, 0.029368633404374123, -0.04769508168101311, 0.005519615951925516, -0.006713124457746744, 0.05765189230442047, -0.025400709360837936, -0.0652049258351326, 0.026256613433361053, -0.043831005692481995, 0.02442464604973793, -0.0015921315643936396, 0.009694515727460384, 0.043077826499938965, 0.014550328254699707, -0.00019550697470549494, -0.0362384058535099, 0.048035621643066406, -0.03933541849255562, -0.01378196757286787, -0.024527398869395256, 0.01952066272497177, -0.00922604650259018, -0.014609296806156635, 0.014168930239975452, -0.055921006947755814, -0.011236060410737991, 0.04933037608861923, 0.007040227763354778, 0.03157251700758934, -0.008634550496935844, 0.022163676097989082, 0.06521619111299515, 0.013475058600306511, 0.0256829634308815, -0.029179930686950684, -0.0313982255756855, -0.01182084996253252, -0.005166579503566027, 0.05453421548008919, 0.026329008862376213, -0.024537168443202972, -0.007401216775178909, 0.016881505027413368, -0.003436645958572626, -0.01621837541460991, -0.0037347080651670694, -0.040372736752033234, -0.019623003900051117, 0.0265362486243248, -0.01618383638560772, -0.0413271002471447, 0.037665050476789474, -0.006421175319701433, -0.07625389099121094, -0.02795739658176899, -0.002769381506368518, -0.0009488509385846555, 0.02371370978653431, 0.03891456872224808, -0.03955916315317154, 0.014979726634919643, -0.010244511999189854, 0.01570139452815056, -0.08419488370418549, 0.03879491612315178, 0.00888555496931076, -0.0010586791904643178, -0.013539565727114677, 0.04049524664878845, 0.055973369628190994, 0.027187949046492577, -0.002374682342633605, 0.08365859091281891, 0.0029490143060684204, 0.032520592212677, -0.0001489482820034027, 0.06536059081554413, 0.0030944738537073135, -0.07017254084348679, -0.018398664891719818, 0.040382981300354004, -0.0023808754049241543, -0.007029170170426369, -0.003987887408584356, -0.058927346020936966, -0.03627631440758705, 0.007496320176869631, 0.04345941171050072, 0.03263188153505325, 0.003940187394618988, -0.055212561041116714, 0.012988686561584473, -0.05103640630841255, 0.012869893573224545, 0.014385062269866467, -0.016325296834111214, 0.006835872307419777, 0.0031483289785683155, 0.0388466939330101, 0.02493785135447979, 0.08162666112184525, 0.046921487897634506, -0.02628866396844387, 0.020218173041939735, 0.07755021750926971, 0.0146631496027112, 0.02290831319987774, -0.0010247821919620037, 0.02940348908305168, 0.04219130799174309, 0.03323037549853325, 0.011833536438643932, 0.04052426293492317, -0.013133796863257885, 0.0053277406841516495, 0.01293809711933136, 0.07575972378253937, -0.016309725120663643, -0.02388298138976097, -0.03898327052593231, -0.046950019896030426, 0.03221278637647629, -0.020140279084444046, -0.002483049174770713, 0.006871612276881933, 0.0730748400092125, -0.007228232454508543, 0.06885235011577606, 0.005265044514089823, -0.07413409650325775, 0.012676316313445568, 0.012202916666865349, 0.004675176925957203, -0.0010368004441261292, 0.004991438705474138, 0.06630808115005493, 0.026792673394083977, 0.011579961515963078, 0.018098820000886917, -0.05191386863589287, -0.08370468020439148, -0.05752402916550636, -0.01743960566818714, 0.0777098760008812, -0.013078956864774227, -0.010862430557608604, 0.033903516829013824, 0.026833953335881233, 0.04560382664203644, 0.04062751680612564, -0.03845832869410515, 0.03583116456866264, -0.015223918482661247, -0.04957456514239311, 0.056712813675403595, 0.025027675554156303, -0.000810357101727277, -0.04633627459406853, 0.010759997181594372, -0.008114770986139774, 0.008053937926888466, 0.030983518809080124, -0.021306436508893967, 0.047737006098032, 0.010935106314718723, 0.019064199179410934, -0.03793693706393242, 0.056417275220155716, -0.06418278068304062, 0.02355569787323475, 0.005864049308001995, -0.014113065786659718, 0.012949150986969471, 0.005116601008921862, 0.13363148272037506, 0.05526013299822807, -0.0446748323738575, -0.04811416193842888, 0.017773784697055817, 0.009638302959501743, -0.04226750507950783, 0.0028916029259562492, -0.018350956961512566, 0.01264968328177929, 0.004410150460898876, -0.027655890211462975, 0.002729960950091481, 0.011221855878829956, -0.03843603655695915, -0.003974263556301594, 0.06355702131986618, -0.014090691693127155, 0.0630888119339943, 0.012897346168756485, -0.03465278819203377, 0.0008575293468311429, -0.033745769411325455, -0.030995171517133713, -0.0008991769864223897, 0.011869248002767563, -0.027587801218032837, 0.05729304626584053, -0.031239259988069534, -0.020393528044223785, -0.014131931588053703, -0.033175721764564514, 0.011724775657057762, 0.039239682257175446, 0.0694594457745552, -0.009380142204463482, 0.043237194418907166, -0.023971648886799812, -0.01788131520152092, -0.011729520745575428, -0.06241164356470108, 0.004091106820851564, 0.016845697537064552, 0.020962955430150032, 0.059118326753377914, 0.010222864337265491, 0.004690476693212986, 0.03710241988301277, -0.0018593695713207126, -0.04362642392516136, -0.029912985861301422, 0.03878973424434662, -0.005552821792662144, -0.07047035545110703, -0.04211990535259247, -0.043184153735637665, 0.05920291319489479, -0.02381023019552231, -0.04206211864948273, -0.014447967521846294, -0.05200755596160889, 0.07210557162761688, -0.08363845944404602, -0.030563324689865112, 0.010048389434814453, 0.04972361773252487, 0.0332784503698349, -0.03187837451696396, 0.0005307357059791684, 0.05834763124585152, -0.0003330577746964991, -0.01018892414867878, 0.026909947395324707, -0.002153130481019616, -0.010485331527888775, -0.02935907430946827, 0.016797615215182304, 0.04537680745124817, 0.02428700588643551, 0.0012310093734413385, -0.05799423158168793, 0.017558543011546135, 0.009201218374073505, -0.27144256234169006, 0.03433731943368912, -0.006007913500070572, -0.02184266597032547, 0.00443035364151001, -0.006849341560155153, 0.009426225908100605, -0.05132683739066124, -0.006899014115333557, 0.049810077995061874, -0.034505151212215424, -0.009892002679407597, -0.06506364047527313, 0.065373994410038, -0.0003634984605014324, -0.013273322954773903, -0.016008295118808746, -0.0361136794090271, -0.013477479107677937, 0.05762796849012375, 0.006893607322126627, -0.08907563984394073, 0.009837410412728786, 0.05400604009628296, 0.023272201418876648, 0.05321931466460228, -0.0654832199215889, 0.043331991881132126, -0.032755088061094284, 0.00826308224350214, -0.019782422110438347, -0.0037176127079874277, 0.030408570542931557, -0.054102491587400436, -0.022066622972488403, -0.023008445277810097, 0.014506303705275059, 0.01623784936964512, 0.0007932434091344476, 0.044563472270965576, -0.037080876529216766, -0.057099923491477966, -0.013938413001596928, 0.02288266271352768, 0.07382845878601074, -0.00279875285923481, -0.06682292371988297, -0.02500849775969982, -0.03941887244582176, 0.05665828287601471, -0.002632435644045472, -0.05193155258893967, -0.002502335235476494, 0.042158644646406174, -0.025156889110803604, -0.03847356140613556, 0.010479900985956192, -0.015525136142969131, -0.034848395735025406, -0.012329488061368465, -0.017781661823391914, -0.05144008994102478, -0.015211307443678379, -0.028512343764305115, -0.04354259371757507, -0.05757248029112816, -0.05715852603316307, 0.0023458334617316723, 0.056634657084941864, 0.007394802290946245, 0.008792349137365818, -0.008510260842740536, -0.0026366610545665026, -0.11616941541433334, -0.038674741983413696, -0.03164682909846306, -0.04287580028176308, -0.030294671654701233, 0.023059291765093803, 0.04781708866357803, -0.03934502229094505, -0.06089992821216583, 0.014240833930671215, 0.0375460609793663, 0.035531774163246155, -0.032000355422496796, 0.003327858168631792, -0.0047528850845992565, -0.011779178865253925, 0.0018243857193738222, 0.08031991869211197, 0.004717230796813965, 0.008117812685668468, -0.03163543716073036, 0.042083293199539185, 0.0357232429087162, 0.038177575916051865, 0.0036207223311066628, 0.02976907603442669, 0.023433761671185493, 0.06691794842481613, -0.03982945904135704, 0.035387709736824036, -0.03668082132935524, -0.01589428074657917, -0.001958286389708519, -0.05109887942671776, 0.0179090928286314, 0.03213892877101898, -0.008574683219194412, -0.015385895036160946, -0.03419887274503708, 0.02648232877254486, -0.05222048610448837, -0.012975804507732391, -0.028211871162056923, 0.014642201364040375, 0.01705264300107956, 0.02776779793202877, -0.008947226218879223, -0.049092862755060196, 0.019324438646435738, 0.012609437108039856, -0.02678065374493599, -0.07011908292770386, -0.042238909751176834, -0.031604424118995667, -0.02028637006878853, 0.008779491297900677, 0.031238434836268425, -0.006183049641549587, 0.04249761998653412, -0.006140301935374737, -0.012866492383182049, 0.02383328229188919, -0.028680268675088882, 0.010214246809482574, -0.03229105472564697, -0.027619322761893272, -0.019992895424365997, 0.003010059939697385, -0.008894757367670536, 0.03199388086795807, 0.01997051015496254, 0.0142204025760293, -0.0029445907566696405, 0.02968127839267254, 0.01280378457158804, 0.00365174631588161, 0.02889624424278736, -0.0034791079815477133, -0.050279274582862854, 0.0191611647605896, -0.05195338651537895, -0.017136896029114723, 0.0021720712538808584, 0.05146201327443123, -0.03748507425189018, -0.04999544098973274, -0.07024698704481125, 0.054711081087589264, -0.03591490164399147, -0.037321727722883224, -0.027102114632725716, -0.018626201897859573, 0.050709471106529236, -0.04091140627861023, 0.04740830138325691, -0.025942718610167503, -0.006023748777806759, 0.03397982940077782, 0.0048302276991307735, -0.011163739487528801, 0.03628652170300484, 0.003031820757314563, -0.014753982424736023, -0.0026094987988471985, 0.03958141803741455, 0.018170787021517754, 0.00919319037348032, 0.005828585475683212, -0.02657477557659149, 0.015313119627535343, -0.0068839131854474545, 0.04855310916900635, -0.0018288185819983482, 0.00934122409671545, -0.016012484207749367, -0.02248568832874298, -0.006734773516654968, -0.02855992503464222, -0.01224785577505827, -0.021092373877763748, 0.03550967201590538, -0.04034292697906494, -0.0677422434091568, 0.027068985626101494, 0.014278545044362545, -0.0017195339314639568, -0.00007416988955810666, 0.01476378459483385, -0.004852475598454475, -0.0037411481607705355, 0.01167369820177555, 0.062347736209630966, -0.06147576496005058, 0.03153501823544502, 0.009441048838198185, 0.0029989376198500395, 0.0367887057363987, 0.01301940344274044, -0.03235062584280968, -0.011550926603376865, -0.023320382460951805, 0.001849684165790677, -0.03245381638407707, -0.02451694943010807, -0.01471103634685278, 0.01759936474263668, -0.0098486989736557, -0.02923211269080639, -0.0003958968154620379, -0.014288605190813541, -0.043007902801036835, -0.01754988543689251, 0.016568336635828018, -0.047454021871089935, -0.022226955741643906, 0.014506563544273376, -0.056519243866205215, 0.016136333346366882, -0.027484415099024773, 0.020002011209726334, 0.0365445651113987, -0.017370333895087242, -0.00855229515582323, -0.06668711453676224, 0.018516233190894127, -0.03263210132718086, 0.06793481856584549, -0.020945359021425247, -0.03040785901248455, -0.015054520219564438, -0.017887979745864868, -0.03087085299193859, 0.013042575679719448, 0.008111235685646534, -0.026053717359900475, 0.009590202942490578, 0.04581465944647789, -0.02041005529463291, 0.04548385739326477, -0.005855483468621969, 0.0006983655039221048, 0.08160550892353058, -0.03128351271152496, -0.002569514326751232, -0.008762056939303875, -0.04633967578411102, -0.0013125614495947957, -0.01834746263921261, 0.01476941630244255, -0.048619527369737625, 0.037409305572509766, 0.048460640013217926, 0.02006005495786667, 0.02347724512219429, 0.00007767326314933598, 0.03647157922387123, -0.012184462510049343, -0.014976363629102707, -0.07848676294088364, 0.01108749769628048, 0.0392087921500206, 0.03512983024120331, -0.03446655347943306, -0.03791159763932228, -0.02928326465189457, 0.02512291446328163, -0.07592739164829254, 0.0003521853650454432, 0.0151214012876153, -0.0174671933054924, -0.010050153359770775, 0.01661689579486847, -0.03797055035829544, 0.015521415509283543, 0.027832763269543648, -0.027382487431168556, -0.026208102703094482, -0.026369042694568634, 0.04333142936229706, 0.019363103434443474, -0.006316702347248793, -0.018940670415759087, 0.027834415435791016, 0.054976511746644974, 0.04011014103889465, 0.009479780681431293, 0.07589324563741684, -0.022911563515663147, 0.026247594505548477, 0.022127212956547737, -0.013895460404455662, -0.007569368463009596, -0.009312144480645657, -0.006327413022518158, -0.04932907968759537, -0.018813731148838997, 0.007605969440191984, -0.05051887035369873, -0.07004636526107788, 0.05960605666041374, 0.020849913358688354, -0.013947264291346073, -0.04265836626291275, 0.013778227381408215, -0.048338159918785095, -0.0020179369021207094, -0.023922443389892578, 0.01748674176633358, -0.02732202783226967, 0.08159821480512619, 0.00542108528316021, -0.00971214473247528, 0.04925939068198204, -0.000023901578970253468, -0.011187697760760784, 0.011519578285515308, 0.09482954442501068, 0.07241559773683548, 0.05105828121304512, -0.010689498856663704, 0.06890293955802917, -0.027951546013355255, -0.04840417206287384, 0.002898834878578782, -0.014311759732663631, -0.0034845806658267975, -0.0016772293020039797, 0.04155411571264267, 0.11050274968147278, -0.0010038859909400344, 0.0566011480987072, -0.04486525431275368, -0.005891522858291864, -0.01701243780553341, 0.0028022723272442818, 0.03025202266871929, 0.051109474152326584, -0.0021540119778364897, 0.017799600958824158, -0.005363763775676489, -0.032358575612306595, 0.04151557758450508, -0.01658191904425621, 0.0031617004424333572, 0.009027361869812012, 0.007784754037857056, 0.01703665964305401, 0.014432520605623722, 0.028769711032509804, 0.06572075188159943, -0.024443762376904488, -0.01171282958239317, 0.014601284638047218, 0.007721727713942528, 0.01300001796334982, -0.03669827803969383, -0.022219378501176834, -0.030631858855485916, 0.008532345294952393, 0.019572915509343147, -0.016156623139977455, -0.02322712354362011, -0.031676556915044785, 0.02099107764661312, -0.042820170521736145, 0.012341405265033245, 0.0024636744055896997, 0.0039033961948007345, -0.0413590744137764, -0.048448290675878525, -0.040353335440158844, -0.02441759966313839, -0.06948340684175491, -0.014587027952075005, 0.024023136124014854, -0.026180030778050423, -0.03603597357869148, -0.02972097136080265, 0.004263248760253191, -0.027803169563412666, 0.05415256693959236, -0.026500508189201355, -0.027852492406964302, 0.009781387634575367, 0.017829114571213722, 0.04186635836958885, 0.034881871193647385, 0.044682297855615616, -0.03673044964671135, 0.00783926248550415, -0.04843064025044441, -0.03106687217950821, 0.07663331180810928, 0.022362764924764633, 0.011600491590797901, -0.09172026813030243, 0.002576979575678706, 0.017322398722171783, 0.0008505815058015287, -0.0760493054986, -0.013182956725358963, 0.003090872894972563, -0.019659562036395073, 0.040049273520708084, -0.015795517712831497, -0.03514603152871132, -0.05225043371319771, -0.0015319142257794738, 0.02371808886528015, -0.012064382433891296, 0.05802656710147858, -0.034188710153102875, 0.06590047478675842, 0.0021594809368252754, -0.02364235743880272, -0.026496700942516327, 0.011731477454304695, -0.022510897368192673, 0.021182982251048088, -0.055283185094594955, -0.04352390393614769, 0.002933560172095895, -0.04878219589591026, 0.009423846378922462, 0.02251870557665825, -0.021683845669031143, -0.039293162524700165, 0.02177416905760765, 0.05642165616154671, -0.054979730397462845, 0.03723818436264992, -0.015002862550318241, 0.04027939587831497, -0.01520795188844204, -0.016309065744280815, 0.006447564344853163, 0.028733864426612854, 0.007070524618029594, 0.033727772533893585, 0.03330542892217636, -0.025564707815647125, -0.023535562679171562, -0.00713180610910058, 0.004142819903790951, 0.04494422674179077, -0.00741593400016427, 0.040569595992565155 ]
[ -0.09598325192928314, -0.013710466213524342, -0.037123166024684906, -0.02137673646211624, 0.033095505088567734, -0.02927221730351448, 0.038984496146440506, 0.039381884038448334, 0.015312977135181427, -0.001743527129292488, -0.010961205698549747, -0.045849502086639404, 0.012800062075257301, 0.02553796023130417, 0.0401681512594223, 0.017593983560800552, -0.02655024640262127, -0.013247489929199219, -0.05299975350499153, 0.010001475922763348, 0.07514356821775436, -0.02049327827990055, -0.06413638591766357, -0.06013672053813934, 0.034781668335199356, 0.043907567858695984, 0.025684745982289314, -0.056202612817287445, 0.0066901920363307, -0.2251572608947754, -0.03285125643014908, -0.014026587828993797, 0.05662968009710312, -0.044081538915634155, -0.013313453644514084, 0.022246064618229866, 0.01828525960445404, 0.04708317294716835, -0.024895641952753067, 0.04690680652856827, 0.021306825801730156, 0.04127604514360428, -0.05196676403284073, -0.010366186499595642, 0.012019990012049675, -0.029085949063301086, -0.036161791533231735, -0.026803186163306236, 0.005320961587131023, 0.012762989848852158, -0.0693463608622551, -0.0032820699270814657, -0.011375362984836102, 0.007334728725254536, -0.015189955942332745, 0.03676614165306091, 0.045169487595558167, 0.07403223216533661, 0.03196104243397713, 0.03252936899662018, 0.013323609717190266, -0.03418416157364845, -0.12020576000213623, 0.0896628275513649, 0.0030207873787730932, 0.04474551975727081, 0.0064543066546320915, -0.048465609550476074, -0.00327354040928185, 0.08134112507104874, 0.03526635468006134, -0.018412025645375252, -0.028042638674378395, 0.0541856549680233, 0.01968960464000702, -0.06544829159975052, -0.04053704813122749, 0.03387460485100746, 0.04939187318086624, -0.01362600363790989, -0.07068462669849396, -0.037689317017793655, 0.0376589410007, -0.018955964595079422, -0.0016031158156692982, 0.016246166080236435, -0.0014449679292738438, 0.04346929118037224, 0.031033240258693695, 0.0378105565905571, 0.031075362116098404, 0.010270493105053902, 0.01450024638324976, 0.027121268212795258, -0.07608117908239365, -0.015178032219409943, -0.00335982465185225, -0.0017246694769710302, 0.0022027113009244204, 0.3887173533439636, -0.022226037457585335, -0.020204393193125725, 0.03426937013864517, 0.005151348654180765, -0.03274941444396973, -0.008193845860660076, 0.016124684363603592, -0.050633180886507034, -0.00858286302536726, -0.04937268793582916, -0.041205402463674545, -0.03837430477142334, 0.044067226350307465, -0.06042179837822914, -0.012211525812745094, 0.015781927853822708, 0.04369561746716499, 0.018624402582645416, 0.006090523209422827, 0.0017376742325723171, 0.01481391116976738, -0.007849370129406452, 0.01867719739675522, 0.03610146418213844, 0.04273676127195358, -0.012037485837936401, 0.027584083378314972, 0.051525671035051346, 0.04090325906872749, 0.044895485043525696, 0.060902733355760574, -0.03882753103971481, -0.09140107780694962, -0.021613771095871925, 0.004610131494700909, 0.03159652650356293, 0.0555732324719429, -0.033818915486335754, 0.017307357862591743, 0.018701758235692978, -0.007247436325997114, -0.018729709088802338, 0.007350997067987919, -0.03339877352118492, -0.04523099586367607, 0.14753592014312744, 0.005106521304696798, -0.0293334499001503, -0.031624261289834976, -0.04341460391879082, 0.0049706012941896915, 0.048338960856199265, 0.004091421142220497, -0.03668328747153282, 0.0047622076235711575, 0.03760707750916481, 0.05784788355231285, -0.019608044996857643, -0.05269197002053261, -0.010911785066127777, -0.0615999810397625, 0.008115359582006931, -0.036724746227264404, 0.07319420576095581, 0.019687943160533905, -0.026265624910593033, -0.027289336547255516, -0.0046499427407979965, -0.014805888757109642, -0.07741470634937286, 0.001693463302217424, 0.024682048708200455, -0.046396613121032715, 0.0071422383189201355, 0.07099480926990509, 0.003827448934316635, -0.039522524923086166, -0.02261124551296234, 0.019124330952763557, 0.013960503041744232, -0.03476639837026596, 0.02544677071273327, -0.03917936980724335, -0.001932492246851325, -0.029452413320541382, -0.08593620359897614, -0.06651358306407928, 0.0025287976022809744, -0.01896192878484726, -0.003850910346955061, -0.002045929431915283, -0.02063967101275921, -0.041395675390958786, 0.08475323766469955, -0.048949241638183594, -0.047980897128582, 0.03325825184583664, 0.006142754573374987, -0.0011484146816655993, -0.03993101418018341, 0.05903063341975212, 0.028666799888014793, 0.012436378747224808, 0.055056724697351456, -0.04144478961825371, -0.0035241080913692713, 0.0363534651696682, -0.053171150386333466, 0.03725573420524597, 0.019792765378952026, -0.041485778987407684, -0.01152761746197939, -0.01502627320587635, 0.02492544800043106, -0.015134192071855068, -0.032802555710077286, 0.019929829984903336, 0.012895580381155014, 0.02288460172712803, 0.009508899413049221, -0.03996177390217781, -0.06590916961431503, -0.011718311347067356, -0.3418610394001007, -0.015672240406274796, -0.026136450469493866, -0.021923411637544632, 0.0055174389854073524, -0.043025337159633636, -0.012689326889812946, -0.04208030179142952, -0.03386017307639122, 0.011041904799640179, 0.05980600416660309, -0.025857528671622276, -0.012256423942744732, -0.03301875293254852, -0.013468759134411812, 0.017948459833860397, -0.03290716931223869, -0.05175814405083656, -0.03183962032198906, 0.037251200526952744, 0.017599357292056084, 0.018567480146884918, -0.022720620036125183, -0.062137704342603683, 0.008310695178806782, -0.038807839155197144, 0.09987644851207733, -0.037940654903650284, 0.06261926889419556, -0.026380132883787155, 0.062430597841739655, -0.011333524249494076, -0.01820128783583641, -0.020533548668026924, -0.011856638826429844, -0.03521515801548958, -0.044310566037893295, -0.005900837481021881, 0.040085505694150925, -0.0050426870584487915, -0.03008517064154148, 0.012262833304703236, -0.05474570766091347, -0.0535915344953537, -0.0012327488511800766, 0.019512301310896873, -0.01490039937198162, -0.018072623759508133, 0.027574477717280388, 0.06733446568250656, -0.01430430356413126, -0.01820170134305954, 0.014918645843863487, 0.01971641182899475, 0.027812466025352478, -0.023030787706375122, -0.052444953471422195, -0.022087903693318367, -0.032491277903318405, -0.00860978290438652, 0.03503921255469322, 0.047451201826334, 0.017154473811388016, -0.01298027578741312, 0.009075167588889599, 0.016356494277715683, -0.013910581357777119, -0.019380640238523483, 0.06151748448610306, -0.05575336515903473, -0.05126462131738663, 0.060535334050655365, 0.007048142608255148, 0.011873677372932434, 0.036782197654247284, 0.06477413326501846, -0.014614572748541832, 0.035285092890262604, 0.0447593592107296, 0.0008403511601500213, 0.02860567718744278, 0.03531109541654587, 0.03730638325214386, -0.009257451631128788, -0.006829514168202877, 0.03758373111486435, -0.0021500366274267435, 0.009162617847323418, 0.01978253200650215, -0.03552807494997978, -0.018554916605353355, 0.017097266390919685, 0.012160786427557468, -0.08592679351568222, 0.05660577118396759, -0.019917599856853485, -0.2637999355792999, 0.021695515140891075, 0.07420223206281662, 0.053650032728910446, -0.030932502821087837, 0.0022584456019103527, 0.05160601809620857, -0.062459547072649, 0.007939618080854416, 0.015069358050823212, 0.014845425263047218, 0.0513005293905735, 0.020024001598358154, -0.022113021463155746, 0.030724313110113144, -0.02327151782810688, 0.0003496238205116242, -0.01998593471944332, 0.06101149320602417, 0.009282898157835007, 0.04575556144118309, 0.018377937376499176, 0.2276606261730194, 0.0138087198138237, 0.031476106494665146, 0.01504751667380333, 0.02929939143359661, -0.008157079108059406, 0.08740309625864029, 0.0230951439589262, 0.03910645470023155, -0.03142203763127327, 0.12835168838500977, 0.019918285310268402, 0.035971809178590775, -0.07257025688886642, -0.01693914458155632, 0.06487733125686646, -0.0000645193867967464, -0.02232801914215088, -0.04535647854208946, 0.019173042848706245, -0.06079303100705147, 0.015125433914363384, 0.09671232849359512, 0.010848179459571838, -0.017595229670405388, -0.023799678310751915, -0.042380191385746, 0.010655117221176624, -0.04014875367283821, -0.004350368399173021, 0.02607773058116436, -0.05852057784795761, 0.012410055845975876, 0.05514722689986229, -0.0060505615547299385, -0.02614689990878105, -0.035699885338544846, 0.031149353832006454, 0.007555346470326185, 0.015555799938738346, 0.08548807352781296, 0.0020174437668174505, 0.01992465741932392 ]
[ 0.028980430215597153, 0.0798291563987732, -0.016343822702765465, 0.0025144037790596485, -0.01786871813237667, 0.02086716517806053, 0.010779149830341339, 0.008878243155777454, -0.012278077192604542, -0.020295286551117897, -0.04314301535487175, 0.0002200402959715575, 0.002789499470964074, -0.049939606338739395, 0.015460428781807423, -0.03561783581972122, -0.016396470367908478, 0.01939552277326584, 0.037084273993968964, -0.011772191151976585, -0.0076752761378884315, 0.04231790080666542, 0.037841420620679855, -0.03771868348121643, -0.013390567153692245, 0.034523867070674896, -0.012735545635223389, -0.022102804854512215, -0.006773014552891254, -0.13632963597774506, -0.03475107252597809, -0.007588096894323826, -0.026135113090276718, -0.009415439330041409, -0.027171684429049492, 0.024076126515865326, -0.010498260147869587, 0.016342712566256523, 0.02439587190747261, 0.005466612987220287, -0.03885173797607422, 0.00986300315707922, -0.05003748834133148, -0.0034057542216032743, -0.015160243026912212, -0.014213025569915771, -0.002927609020844102, -0.023005792871117592, -0.008473952300846577, 0.03688317909836769, -0.03174419328570366, 0.025936970487236977, -0.0029244269244372845, -0.0016198436496779323, 0.045095380395650864, -0.040814124047756195, -0.04495297744870186, -0.04288065806031227, -0.008613038808107376, -0.008567946963012218, -0.01326370146125555, -0.016116471961140633, -0.0202681552618742, -0.017551884055137634, 0.002195659326389432, -0.04866551235318184, 0.021269777789711952, -0.009998827241361141, 0.010053971782326698, -0.020725609734654427, -0.01122698001563549, 0.05081119388341904, 0.009096380323171616, -0.03703027963638306, -0.016947340220212936, -0.0024284503888338804, 0.007554492447525263, -0.036236368119716644, 0.010928841307759285, -0.013300053775310516, -0.007735199760645628, -0.00902536977082491, -0.022663267329335213, 0.030469607561826706, -0.015589467249810696, -0.03868657350540161, 0.0008273519342765212, -0.0045808725990355015, 0.007005421444773674, 0.03919064253568649, -0.046830520033836365, -0.0023673574905842543, 0.024138273671269417, 0.023605210706591606, -0.0832676887512207, 0.027332762256264687, -0.004150130786001682, -0.007527580019086599, 0.0018327200086787343, 0.8355937600135803, 0.00264258636161685, 0.05875173211097717, 0.043286290019750595, -0.02636149153113365, 0.00020874342590104789, -0.03585667163133621, -0.030607685446739197, 0.008934994228184223, 0.010004144161939621, -0.04914458096027374, -0.006769473198801279, -0.01841675490140915, 0.03882351517677307, -0.0009609139524400234, 0.0014561577700078487, 0.021341366693377495, 0.04151665419340134, -0.017367269843816757, 0.016514714807271957, 0.010946263559162617, 0.04482298344373703, 0.005195440258830786, 0.02537369728088379, 0.002227590186521411, 0.014212808571755886, -0.1270294040441513, -0.014132619835436344, -7.832531917879988e-33, 0.04629361256957054, -0.026976322755217552, 0.03636901080608368, 0.016646891832351685, 0.021749917417764664, 0.0008970386115834117, 0.015577479265630245, 0.0012102331966161728, 0.012078707106411457, -0.026768013834953308, 0.026978248730301857, -0.019996527582406998, 0.002158739836886525, -0.008826781064271927, 0.03354232385754585, -0.016896046698093414, 0.016819149255752563, 0.02722909115254879, 0.025635959580540657, -0.021403010934591293, 0.010140735656023026, 0.006381063722074032, 0.046183548867702484, -0.009535708464682102, 0.02328965812921524, 0.028220415115356445, 0.02243812009692192, 0.015815939754247665, -0.014640008099377155, -0.04089485853910446, 0.008195534348487854, 0.014309270307421684, -0.008394167758524418, -0.004515808075666428, 0.08432072401046753, -0.016153234988451004, -0.00416002981364727, -0.005944272968918085, -0.011555698700249195, -0.046957388520240784, -0.0758017972111702, -0.004568496719002724, -0.0037238383665680885, 0.00432478217408061, -0.002675796626135707, -0.03527865558862686, -0.019392427057027817, 0.035032719373703, 0.02207914926111698, 0.07567956298589706, -0.0011447175638750196, 0.024195127189159393, 0.01985700987279415, -0.0015072806272655725, 0.000284599547740072, 0.007002058904618025, -0.0030832523480057716, 0.00672904634848237, -0.015415102243423462, 0.061306457966566086, -0.021398890763521194, 0.024616878479719162, -0.00002101344034599606, 0.019972307607531548, -0.029584456235170364, 0.004783887881785631, -0.002712502609938383, -0.014647985808551311, 0.004488267935812473, 0.029852816835045815, -0.02715674601495266, 0.0014986988389864564, 0.012164886109530926, -0.01966317556798458, -0.0030252791475504637, -0.006007176358252764, -0.01977006532251835, -0.038825564086437225, -0.0024406530428677797, -0.0039949496276676655, 0.039904650300741196, -0.034160397946834564, 0.0221750196069479, 0.001609336119145155, 0.0039607263170182705, -0.011186440475285053, 0.018912825733423233, 0.023702483624219894, 0.03899926692247391, 0.0030329511500895023, 0.03631842881441116, 0.05129437893629074, -0.022787733003497124, -0.00922002550214529, -0.006136611104011536, 6.846791742639188e-33, -0.022453999146819115, 0.002503077033907175, -0.011442925781011581, 0.01396135613322258, 0.013383974321186543, -0.015294150449335575, 0.014302246272563934, 0.017002712935209274, -0.03427399694919586, 0.04156261682510376, -0.0214963648468256, 0.00636200001463294, -0.029626017436385155, 0.004737112205475569, 0.06559349596500397, -0.016234878450632095, 0.033173441886901855, -0.016519755125045776, -0.00021008399198763072, 0.0025937401223927736, 0.009986852295696735, 0.006066572852432728, 0.024870023131370544, 0.01331684086471796, 0.01774381473660469, 0.027342215180397034, -0.020701339468359947, -0.019727280363440514, -0.0047125122509896755, 0.02361651137471199, 0.0469125360250473, -0.015660516917705536, 0.02092086710035801, -0.061111342161893845, 0.010351634584367275, -0.010981088504195213, 0.01476271077990532, 0.014774304814636707, 0.04017864912748337, 0.029544740915298462, 0.02415871061384678, -0.020855272188782692, 0.04033641889691353, 0.013214223086833954, 0.012117515318095684, -0.022558296099305153, 0.0010717380791902542, 0.031501833349466324, 0.018875526264309883, 0.024517038837075233, 0.012558073736727238, -0.020683709532022476, -0.046613819897174835, 0.013952363282442093, 0.010834899730980396, 0.0012901638401672244, -0.04296617954969406, -0.0033851845655590296, -0.006402669940143824, 0.04558757320046425, -0.016014739871025085, -0.03491101413965225, -0.009226241149008274, 0.015423926524817944, -0.016166428104043007, -0.010102243162691593, -0.020077859982848167, -0.05442415550351143, -0.04010441154241562, 0.015092538669705391, -0.02497427724301815, -0.04891781881451607, -0.0153960594907403, 0.03463463857769966, -0.003830959089100361, -0.04694419726729393, -0.015578489750623703, 0.03138086199760437, -0.0022607906721532345, 0.025870537385344505, 0.05929257720708847, 0.009239265695214272, 0.0176992304623127, -0.026443084701895714, -0.012980429455637932, -0.021279916167259216, -0.0005371865699999034, -0.020689312368631363, -0.029989415779709816, -0.04354439303278923, -0.002068174770101905, 0.003815253032371402, -0.012502544559538364, 0.01624561846256256, 0.029266249388456345, -1.2892451550783335e-8, -0.041627515107393265, -0.008441278710961342, -0.01408065389841795, 0.0224748607724905, 0.04421292617917061, 0.0008128901245072484, -0.052846502512693405, -0.038913775235414505, 0.013184316456317902, 0.0067246537655591965, 0.017038557678461075, -0.004801996983587742, 0.017441855743527412, -0.005647948477417231, 0.022862190380692482, -0.0607328824698925, 0.017419639974832535, -0.01287620235234499, 0.008002734743058681, 0.03739551454782486, -0.002732560969889164, 0.008941658772528172, -0.021323710680007935, -0.009089121595025063, 0.023169266059994698, -0.02738284133374691, 0.043093468993902206, -0.049807194620370865, 0.015677552670240402, 0.012900655157864094, -0.0033012391068041325, -0.01691608875989914, -0.004580717533826828, -0.01118155475705862, -0.05557660013437271, -0.04970983415842056, -0.007624540477991104, -0.011266905814409256, -0.008302798494696617, 0.004585050977766514, -0.0374656543135643, -0.008536286652088165, 0.020337853580713272, -0.011256169527769089, -0.007614722941070795, -0.0240411888808012, -0.018672829493880272, -0.007930257357656956, 0.010109356604516506, -0.03729088231921196, -0.04249245300889015, 0.01941930316388607, 0.07533346861600876, -0.009292182512581348, 0.03143385797739029, 0.015409700572490692, 0.016267970204353333, -0.02856948785483837, -0.03210800513625145, 0.01810123585164547, 0.0410589762032032, -0.0288703590631485, -0.04358350858092308, -0.022116146981716156 ]
f-vs-c-vs-java-functional-collection-parameters
https://markhneedham.com/blog/2009/01/19/f-vs-c-vs-java-functional-collection-parameters
false
2009-01-21 06:42:22
Coding: Contextual learning
[ "coding", "learning" ]
[ "Coding", "Learning" ]
While reading my colleague's notes on a http://sarahtaraporewalla.com/thoughts/agile/notes-from-a-brown-bag-session-on-pair-programming/[brown bag session on pair programming] she gave I was reminded of my belief that we learn much more effectively when we are learning in a practical environment. The bit that interested me was this bit regarding onboarding: ____ On board new team members to bring them up to speed on the overall goal and design, so you do not need to repeat basic details when you work with them on a story. ____ It's fairly normal for the Tech Lead to give new starters on a project this kind of overview and although it is useful as a starting point, nearly everyone I have worked with is keen to see how these ideas are implemented in the code. I think there is still a place for the presentation/context free style of teaching but we should look for opportunities to get people into the context of what they are being taught as often as possible. == Pair Programming I've written about this http://www.markhneedham.com/blog/2008/12/17/pair-programming-what-works-for-me/[quite] http://www.markhneedham.com/blog/2008/11/04/pair-programming-benefits-of-the-pair-switch-mid-story/[a] http://www.markhneedham.com/blog/2008/11/02/pair-programming-driving-quickly/[few] http://www.markhneedham.com/blog/2008/10/17/pair-programming-pair-flow/[times] in the past so I don't want to labour the point, but this is by far the most effective learning approach that I have seen so far. It works especially well when at least one person is skillful in the technology currently being used. Obviously it works even better if both people know it but it is useful to have one person who has the ability to teach the other. Being shown how to do something and then trying it out yourself is much more effective than having someone talk about it at a more abstract level and then trying to apply what they have taught. For example, we have been discussing recently how to write better Javascript/jQuery code and all the things talked about make sense but it didn't really click in my head until I got the chance to work with some colleagues who were really skilled in this area. I'm certainly not an expert but having this opportunity has given me the chance to improve more effectively. == Coding Dojo Style Learning We have been holding some Coding Dojo sessions over the last couple of months in the ThoughtWorks Sydney office and I think they are really useful for *helping to spread best practices*. For example, one of the key ideas of TDD is that we should take small steps, at all times making a change and then running the tests to make sure we didn't break something. In a pair programming session it is quite easy to ignore this guideline and then suffer the consequences, but with 5 or 6 other people watching you make that mistake it is much less likely to happen! I haven't seen this approach used on a project yet, but http://twitter.com/adean[Alan Dean] has been http://twitter.com/adean/statuses/1118065280[posting] http://twitter.com/adean/statuses/1118065842[on] http://twitter.com/adean/statuses/1118066933[Twitter recently] about using a Coding Dojo for a refactoring session on the code base he is currently working on. This certainly seems like a more effective approach than talking about how the code base needs refactoring in a white boarding session without being able to show exactly what is meant. == And if you must whiteboard\... Although I think these other two approaches are more effective, the whiteboard is still an effective tool as long as we use it in an interactive way. If it's just one person drawing stuff out and others are not having any input then from my experience it's not going to be an effective way to learn. A far more useful approach is for the first person to start drawing out their ideas and the others can then add to this to check that their understanding is correct. Although this is a useful exercise, it certainly makes sense to then go and try out those ideas in the code to ensure that you actually did understand what was being discussed. == Overall I think the thing with all these approaches is that they are designed for small groups - with pair programming just two people for example! I'm not sure how we could get the same effectiveness of learning with a bigger group - certainly the university style of lecturing is not the answer. Whatever approach we take, keeping people involved and keeping it contextual is the best way to go.
null
null
[ 0.027358347550034523, -0.015668584033846855, -0.011248024180531502, 0.030845776200294495, 0.07739952206611633, 0.015404418110847473, 0.026201728731393814, 0.0394195094704628, 0.018358299508690834, -0.02094830572605133, -0.02154175378382206, 0.011758599430322647, -0.04292667657136917, -0.00009481859160587192, -0.04851754754781723, 0.05859023705124855, 0.06895120441913605, -0.010968961752951145, 0.010822677053511143, 0.009340088814496994, 0.028674984350800514, 0.08435297012329102, 0.01990470103919506, 0.029132477939128876, 0.0333743654191494, 0.006728779058903456, 0.016645915806293488, -0.0031210780143737793, -0.05270683765411377, -0.003536648815497756, 0.04260873422026634, 0.006351508665829897, 0.016127241775393486, 0.0021742091048508883, 0.027801109477877617, -0.012243333272635937, 0.011469678021967411, 0.03275446966290474, 0.001845499617047608, 0.001808385830372572, -0.061834197491407394, 0.0397748202085495, -0.001155503443442285, 0.010077552869915962, -0.030700787901878357, 0.007048494648188353, -0.04160669818520546, 0.019213560968637466, 0.008337204344570637, -0.00760063249617815, -0.06700150668621063, 0.031168026849627495, 0.028210056945681572, -0.020482920110225677, -0.017578355967998505, 0.05029188096523285, 0.01684216968715191, -0.06456655263900757, -0.002061663893982768, -0.055476054549217224, -0.007085457909852266, -0.008035469800233841, 0.011344090104103088, 0.04624541848897934, 0.042296312749385834, -0.026462679728865623, 0.00196625548414886, 0.027651270851492882, -0.03460202366113663, -0.0009688644204288721, -0.009008259512484074, 0.015720905736088753, -0.04382535442709923, -0.022405067458748817, -0.007203938905149698, -0.0530945360660553, 0.000367193715646863, 0.06938430666923523, 0.024816662073135376, 0.027021639049053192, -0.016746846958994865, 0.025317402556538582, 0.0018945973133668303, 0.018512997776269913, -0.008080635219812393, -0.03667161613702774, -0.01059364341199398, -0.02501041069626808, -0.07586320489645004, 0.06436996906995773, 0.011196841485798359, -0.06912866234779358, 0.011099773459136486, 0.050839707255363464, 0.002300384221598506, 0.03463267534971237, 0.027589861303567886, 0.018234390765428543, -0.003389356890693307, -0.03194728493690491, -0.03441835194826126, -0.01257688645273447, 0.002685133833438158, -0.004084620624780655, -0.07516283541917801, 0.007891532965004444, -0.02065887302160263, -0.022929543629288673, -0.0082926694303751, 0.009829775430262089, -0.030658641830086708, 0.023622866719961166, -0.015780150890350342, 0.004317914601415396, -0.07115647196769714, 0.06968754529953003, -0.009614239446818829, -0.034537218511104584, -0.048285871744155884, -0.013951141387224197, 0.023934537544846535, 0.020335864275693893, 0.003934265114367008, 0.08476656675338745, 0.009653518907725811, 0.02607611194252968, -0.035203006118535995, 0.06512868404388428, -0.014346396550536156, -0.06192263588309288, -0.023245643824338913, 0.04746263846755028, -0.03314565494656563, -0.009814183227717876, 0.0008786138496361673, -0.01766028255224228, -0.0007684229058213532, 0.01476089097559452, 0.02320689707994461, 0.0822097659111023, -0.00862068496644497, -0.017688743770122528, 0.04092930257320404, 0.005155980121344328, 0.023211468011140823, -0.0029042456299066544, -0.007399713154882193, -0.02342585287988186, -0.05745812878012657, -0.015404348261654377, 0.005550544708967209, 0.0020773776341229677, 0.014649265445768833, -0.03245774284005165, 0.030159499496221542, 0.07907762378454208, 0.03543587028980255, 0.015522358007729053, -0.021001948043704033, 0.040851421654224396, 0.02553706057369709, 0.024074213579297066, 0.00019651342881843448, 0.03384062647819519, 0.005132562480866909, 0.00041459582280367613, -0.008425782434642315, 0.03068535588681698, 0.0010203194105997682, 0.0020709503442049026, -0.05232929810881615, -0.021201109513640404, 0.041098516434431076, -0.05904092267155647, -0.050425734370946884, 0.03895073011517525, 0.06237760931253433, 0.02490970864892006, 0.046523481607437134, 0.0033822450786828995, -0.07670732587575912, 0.01824689656496048, 0.041390154510736465, 0.0272713303565979, 0.03598569706082344, -0.017696749418973923, 0.04856256768107414, 0.040011659264564514, -0.020248794928193092, 0.04799696430563927, -0.07275338470935822, -0.07695815712213516, -0.01989726349711418, -0.026472657918930054, 0.05679718777537346, -0.056898728013038635, 0.022709013894200325, 0.07039996981620789, 0.020247559994459152, 0.042679253965616226, 0.03545208275318146, -0.0052877552807331085, -0.004377690609544516, -0.026291420683264732, -0.02848644368350506, 0.07211336493492126, 0.05440051481127739, -0.007527507841587067, -0.07042243331670761, 0.01864788495004177, -0.022548198699951172, -0.02039794810116291, 0.03686888888478279, -0.005049689672887325, 0.04526032134890556, -0.0026776976883411407, 0.04261108115315437, -0.03280958905816078, 0.061247795820236206, -0.03783996030688286, 0.012950269505381584, 0.002862142864614725, -0.016788991168141365, 0.013337895274162292, 0.018273737281560898, 0.10725183039903641, 0.05977679044008255, -0.05069725587964058, -0.032316531985998154, 0.018483063206076622, 0.031127678230404854, -0.04132695496082306, 0.0012693736935034394, 0.00006063952241674997, 0.010767770931124687, 0.003577840281650424, -0.05196790397167206, -0.034345999360084534, 0.023051640018820763, -0.05564452335238457, 0.009762456640601158, 0.060986392199993134, -0.022006899118423462, 0.06722185015678406, -0.0024705054238438606, -0.022247830405831337, 0.0024620075710117817, 0.007445527706295252, -0.03929618373513222, 0.002915083896368742, 0.021987853571772575, -0.019714344292879105, 0.044581107795238495, -0.02550814114511013, -0.047706954181194305, -0.047513727098703384, -0.038769327104091644, -0.014573079533874989, 0.05941975489258766, 0.06729729473590851, -0.012289445847272873, 0.06172268092632294, -0.009100060909986496, 0.03659304603934288, 0.011169551871716976, -0.044693272560834885, -0.03526473417878151, -0.04028879851102829, 0.014006082899868488, 0.030824286863207817, 0.00045886976295150816, 0.006747756619006395, 0.023350859060883522, 0.004648406524211168, -0.02352040819823742, -0.009515018202364445, 0.032508742064237595, -0.001046906691044569, -0.004226274322718382, -0.03735814243555069, -0.02476184256374836, 0.02979683317244053, -0.03675548732280731, -0.024451639503240585, 0.010153258219361305, -0.08327067643404007, 0.029910210520029068, -0.060951411724090576, -0.05833667889237404, 0.010483748279511929, 0.033601779490709305, 0.058427970856428146, -0.0020564384758472443, 0.007097372319549322, 0.07776856422424316, 0.016621997579932213, 0.014908205717802048, 0.0020010084845125675, -0.004347030073404312, 0.0481993667781353, 0.015037067234516144, -0.0202496275305748, 0.03948529064655304, -0.0025441686157137156, -0.00438274908810854, -0.05558008328080177, 0.07221172004938126, -0.04301305487751961, -0.2846773564815521, 0.03985196724534035, 0.004531207028776407, -0.030712701380252838, 0.016617676243185997, -0.0401952788233757, 0.007301616482436657, -0.05164003372192383, -0.02306539937853813, 0.00663243792951107, -0.05405431240797043, -0.039106614887714386, -0.027215521782636642, 0.04207432642579079, -0.006345500238239765, 0.022618910297751427, 0.01840406097471714, -0.023448482155799866, 0.016576692461967468, 0.06460826843976974, -0.012707024812698364, -0.07649067044258118, -0.007884827442467213, 0.04165174067020416, 0.04866771027445793, 0.04656865820288658, -0.09349209815263748, 0.02538522146642208, -0.05671699717640877, 0.0053694648668169975, 0.014293763786554337, 0.013095819391310215, 0.0046877628192305565, -0.025357350707054138, -0.00774500472471118, -0.007443382870405912, 0.05187714844942093, -0.010987912304699421, -0.005961050279438496, 0.0011176440166309476, -0.029818907380104065, -0.025593874976038933, 0.012176360934972763, 0.022881504148244858, 0.05801210552453995, 0.006264709867537022, -0.07431264221668243, -0.00806476455181837, -0.0177240539342165, 0.07865747809410095, -0.05689471587538719, -0.0254270788282156, -0.0003794947115238756, 0.03368576243519783, -0.0030513834208250046, -0.046404123306274414, 0.007300044875591993, -0.01186993345618248, -0.012910965830087662, -0.040613140910863876, -0.011640400625765324, -0.033994004130363464, -0.0070523167960345745, -0.06405510753393173, 0.02504166215658188, -0.06513462215662003, -0.06273750960826874, -0.004009006544947624, 0.052355553954839706, 0.014600718393921852, -0.03921067714691162, -0.002094252733513713, -0.0030587611254304647, -0.10627753287553787, 0.006581570953130722, 0.002311108401045203, -0.008304154500365257, -0.007143574766814709, 0.03006439097225666, 0.04548301175236702, -0.019487686455249786, -0.07197724282741547, 0.029487794265151024, 0.003273721318691969, 0.042875368148088455, -0.012003899551928043, 0.052617017179727554, 0.009152727201581001, -0.027745142579078674, 0.014993568882346153, 0.06692789494991302, 0.013851208612322807, -0.03949606791138649, -0.01013512909412384, 0.05275769159197807, 0.010064156726002693, 0.02619669772684574, -0.023626193404197693, 0.012239634990692139, 0.021557673811912537, -0.02472679130733013, -0.04054184630513191, 0.01685136742889881, -0.0025362803135067225, -0.011285523883998394, -0.0103036779910326, -0.049069635570049286, 0.020393379032611847, 0.04917752742767334, 0.02720886841416359, 0.0010771738598123193, -0.039631038904190063, -0.002610796596854925, -0.041599951684474945, -0.02833881974220276, -0.015713635832071304, 0.009479084052145481, 0.03064008802175522, -0.016221841797232628, -0.006032995879650116, -0.06554055213928223, -0.008484238758683205, -0.008171500638127327, 0.02034146338701248, -0.06984290480613708, -0.022966092452406883, -0.010993069969117641, -0.03560444340109825, 0.014027778059244156, 0.01423514075577259, -0.002580104861408472, 0.017757005989551544, 0.01843508519232273, -0.052695076912641525, 0.014069518074393272, -0.02299836464226246, -0.06407700479030609, -0.0261406097561121, -0.001973638543859124, -0.007265249267220497, -0.012877903878688812, 0.04387641325592995, 0.0025211763568222523, 0.012739308178424835, 0.033748894929885864, 0.01758279837667942, -0.0013937304029241204, -0.01910117268562317, 0.008068918250501156, 0.0028502438217401505, 0.012844801880419254, -0.0680234357714653, 0.0016488955589011312, -0.028958402574062347, -0.022052282467484474, -0.028183341026306152, 0.029036076739430428, -0.009122123941779137, -0.035907648503780365, 0.0018216915195807815, 0.009627709165215492, -0.058934666216373444, -0.03346206620335579, -0.035061199218034744, 0.02767867036163807, 0.05438228324055672, -0.001459599588997662, 0.024747131392359734, -0.030917881056666374, -0.023835880681872368, 0.008243252523243427, 0.005387760698795319, -0.05185931548476219, -0.006382890045642853, 0.004201632924377918, -0.006466081831604242, 0.004342637024819851, 0.009578811936080456, 0.03964744880795479, 0.002436127047985792, 0.007506417576223612, -0.0339195691049099, 0.007634570822119713, 0.024470804259181023, 0.045153554528951645, 0.028224878013134003, 0.0011809978168457747, -0.008335815742611885, -0.010511626489460468, -0.030529377982020378, -0.0474064014852047, -0.00926920771598816, 0.01132356096059084, 0.03385060280561447, -0.040290068835020065, -0.0744909793138504, 0.04139772057533264, 0.03392811864614487, -0.0037076694425195456, 0.03432700037956238, -0.03584922477602959, 0.006581682246178389, -0.01500357873737812, 0.04357222467660904, 0.06545507907867432, -0.06319865584373474, 0.00047093749162741005, -0.015033761039376259, 0.008560189045965672, -0.015593388117849827, -0.01722344197332859, -0.035045042634010315, -0.01627456024289131, -0.03012259304523468, -0.004261201713234186, -0.0688149556517601, -0.017600709572434425, -0.018085194751620293, 0.011563602834939957, 0.010997860692441463, -0.010353552177548409, -0.014236466959118843, -0.007466032635420561, -0.038834307342767715, -0.032289888709783554, 0.010666335932910442, -0.06188288331031799, 0.011043507605791092, 0.005839067976921797, -0.03804098069667816, -0.006980885751545429, -0.030158190056681633, 0.025144271552562714, 0.011493225581943989, -0.018176838755607605, -0.0033203454222530127, -0.03680897131562233, 0.008533896878361702, 0.018775809556245804, 0.029349517077207565, -0.0077248807065188885, -0.018716372549533844, -0.042618829756975174, -0.005095600616186857, -0.05906230956315994, 0.008748112246394157, -0.045128218829631805, -0.00419646268710494, 0.033004894852638245, 0.05944335088133812, 0.03263910859823227, 0.04394349083304405, 0.002773964311927557, -0.02162635140120983, 0.041906144469976425, -0.047445155680179596, -0.033760420978069305, -0.040564242750406265, -0.06478714942932129, -0.008725620806217194, 0.015537409111857414, 0.032794006168842316, -0.06167972832918167, 0.03823496773838997, 0.006202800665050745, 0.043013397604227066, 0.030815789476037025, -0.003631453262642026, 0.030388791114091873, -0.052712101489305496, 0.015025613829493523, -0.08563857525587082, -0.019236302003264427, 0.02219950407743454, 0.016376130282878876, -0.017831293866038322, -0.004216586239635944, -0.03113216906785965, 0.04587114602327347, -0.08301390707492828, -0.011917791329324245, 0.05732494220137596, 0.007669675629585981, -0.027337664738297462, 0.006699740886688232, -0.06859440356492996, 0.03389568626880646, 0.010039218701422215, -0.04923534765839577, -0.014446567744016647, -0.025838227942585945, 0.047611840069293976, 0.00024002211284823716, 0.037197984755039215, -0.03477681055665016, 0.009948501363396645, 0.0795646533370018, 0.008671913295984268, -0.0020822747610509396, 0.047209542244672775, 0.007176081649959087, 0.03940955922007561, 0.024005642160773277, 0.016754327341914177, -0.01235006470233202, 0.004639836028218269, -0.002366856439039111, -0.06717264652252197, 0.02387642301619053, 0.02214937098324299, -0.034822992980480194, -0.019828064367175102, 0.055755916982889175, 0.025057353079319, -0.029631411656737328, -0.05141019448637962, -0.005144867580384016, -0.07054927200078964, 0.0027807268779724836, -0.013973316177725792, 0.002496919361874461, -0.0658956989645958, 0.04433611407876015, 0.003303640754893422, 0.005767123773694038, 0.05567924678325653, 0.016337135806679726, -0.03604996204376221, -0.013665520586073399, 0.09645675867795944, 0.07576309144496918, 0.06381900608539581, 0.012693901546299458, 0.07318206876516342, -0.018471093848347664, -0.0427471287548542, 0.020315052941441536, -0.004718524403870106, -0.01648181676864624, -0.028950463980436325, 0.04047048091888428, 0.06048961728811264, -0.0034660068340599537, 0.06591996550559998, -0.020670613273978233, -0.030140874907374382, 0.02136123552918434, 0.03997994214296341, 0.010892022401094437, 0.057503920048475266, 0.02258233167231083, 0.014390457421541214, -0.03161654993891716, -0.049615275114774704, 0.03194306045770645, -0.03698871284723282, 0.0007768067298457026, 0.020224452018737793, -0.000335279677528888, 0.03133236616849899, 0.02551388554275036, 0.020566850900650024, 0.08376915752887726, -0.06011795625090599, 0.010229360312223434, -0.02385867014527321, 0.018593840301036835, -0.005728228483349085, 0.02110910415649414, -0.016305983066558838, -0.018082140013575554, 0.006192782428115606, -0.01617201790213585, -0.02188257686793804, -0.02115798555314541, -0.006840852089226246, 0.03898642212152481, -0.02910507842898369, 0.01405868399888277, 0.02761729620397091, 0.021090826019644737, -0.029031123965978622, -0.06950917094945908, -0.03044571541249752, -0.029010450467467308, -0.04490445926785469, -0.013569287024438381, 0.03000842221081257, -0.010158078745007515, -0.016783999279141426, -0.003180008614435792, -0.01525879930704832, -0.022116072475910187, 0.03687121346592903, -0.05808228254318237, -0.024849720299243927, 0.0036070048809051514, 0.03588036075234413, 0.04303859919309616, 0.018728289753198624, 0.028003307059407234, -0.005274143535643816, -0.0022459367755800486, -0.010288102552294731, 0.0025669136084616184, 0.026868820190429688, -0.002849443582817912, 0.012079496867954731, -0.0804244801402092, 0.011589999310672283, 0.03643528372049332, -0.001404647366143763, -0.05311652272939682, 0.02433365024626255, 0.006516464054584503, 0.00481023034080863, 0.04561196640133858, -0.004624400287866592, 0.025820037350058556, -0.03138459846377373, -0.0055859703570604324, -0.008946395479142666, 0.01615840382874012, 0.04808442294597626, -0.021863462403416634, 0.09573322534561157, -0.005256205331534147, -0.01239829882979393, -0.03967037424445152, -0.018719278275966644, 0.020876552909612656, -0.007705141790211201, -0.00958705972880125, -0.032323092222213745, -0.007109622471034527, -0.08144108951091766, -0.048380594700574875, 0.015993069857358932, -0.013935938477516174, -0.03174672648310661, 0.026329226791858673, 0.028141241520643234, -0.01980145089328289, 0.024425331503152847, -0.05215025693178177, 0.040098886936903, -0.017393071204423904, -0.0029191828798502684, 0.014102907851338387, 0.0023194265086203814, -0.026419488713145256, -0.00462229922413826, 0.008285884745419025, -0.03794916719198227, -0.002675519324839115, 0.017632829025387764, 0.04467835649847984, 0.04150785133242607, -0.0027419717516750097, 0.0038048531860113144 ]
[ -0.07915838807821274, 0.003858184441924095, -0.015336901880800724, -0.03797071427106857, 0.01064749900251627, -0.04052075371146202, 0.00007921372161945328, 0.03949227184057236, -0.004010471515357494, -0.0442093126475811, -0.017790667712688446, -0.02284860610961914, 0.012324183247983456, -0.01786501705646515, 0.08865787088871002, -0.002633175114169717, -0.029396934434771538, -0.05270767956972122, 0.004442860372364521, 0.026995254680514336, -0.0003536018484737724, -0.053121279925107956, -0.06305095553398132, -0.03614630177617073, 0.011797985062003136, 0.04476257413625717, 0.010656345635652542, -0.06487342715263367, 0.03925948217511177, -0.1525736004114151, -0.0013390809763222933, 0.05276942625641823, 0.0722607746720314, -0.021438730880618095, -0.01682075671851635, 0.07775203138589859, 0.03598790615797043, 0.003507215529680252, -0.013134695589542389, 0.012465481646358967, 0.01050138846039772, -0.006131683476269245, -0.04290442168712616, -0.024836581200361252, 0.019971376284956932, 0.01087797712534666, 0.01893559843301773, -0.0785897970199585, -0.022742984816432, 0.009706315584480762, -0.04319937154650688, -0.04775836318731308, -0.02861553430557251, -0.03341880813241005, 0.005451691336929798, 0.044473014771938324, 0.01975959911942482, 0.0453324168920517, -0.03439704701304436, 0.05429314821958542, -0.010004067793488503, -0.01397656463086605, -0.13449549674987793, 0.09079299867153168, 0.02750989980995655, 0.044929392635822296, -0.04798794910311699, 0.0034619385842233896, -0.011389152146875858, 0.09646625816822052, 0.02967890165746212, -0.019880976527929306, -0.01323423720896244, 0.04077582433819771, 0.018479328602552414, 0.0037531170528382063, -0.01603558659553528, 0.026752550154924393, 0.0449695847928524, -0.06798665225505829, -0.04120097681879997, -0.03746490925550461, 0.0010571255115792155, -0.01035093143582344, -0.03213685005903244, 0.038707196712493896, -0.010931865312159061, 0.011897649616003036, 0.03260151296854019, -0.00046210954315029085, 0.03621576726436615, -0.005876292008906603, 0.00320263858884573, -0.002840134548023343, -0.07099487632513046, -0.019154852256178856, 0.0055934670381248, 0.017417337745428085, -0.07377400994300842, 0.40553924441337585, -0.04926012456417084, -0.008848528377711773, 0.11234742403030396, 0.029229111969470978, -0.013646159321069717, -0.021280363202095032, 0.02890552207827568, -0.05039699003100395, 0.049000103026628494, -0.044663216918706894, 0.005278486292809248, 0.00356309930793941, 0.04558809846639633, -0.027343107387423515, 0.005130582954734564, 0.07301746308803558, 0.04658479616045952, 0.022678731009364128, 0.04228675365447998, -0.013877540826797485, -0.011351825669407845, -0.005681143142282963, 0.027443647384643555, -0.005249199457466602, -0.03237089142203331, -0.037161026149988174, 0.030593890696763992, 0.05498334392905235, 0.02446013130247593, 0.007786547765135765, 0.0922565683722496, -0.043129779398441315, -0.04228582978248596, -0.00008926400914788246, -0.017960283905267715, -0.001969488337635994, 0.02215060219168663, -0.016426311805844307, -0.0008018638473004103, 0.06083177402615547, 0.02281799167394638, -0.02146332710981369, 0.04316575080156326, -0.028002839535474777, -0.030765032395720482, 0.1194094568490982, 0.023243043571710587, -0.026564739644527435, -0.01888423226773739, -0.025014562532305717, -0.008220260962843895, 0.02361656166613102, 0.01224587857723236, -0.047192566096782684, 0.039833806455135345, 0.006115874741226435, 0.11755381524562836, -0.015767360106110573, -0.04752601683139801, 0.00404746551066637, -0.039645709097385406, -0.01957344263792038, -0.0715954527258873, 0.029007308185100555, 0.12098158150911331, -0.11534921824932098, 0.004199446178972721, -0.002505058655515313, 0.025321388617157936, -0.0674881786108017, 0.015993693843483925, 0.013330608606338501, -0.015297987498342991, 0.006166931241750717, 0.04853218421339989, -0.033596910536289215, -0.061030372977256775, -0.002930358285084367, 0.06352456659078598, 0.01563985086977482, 0.040798384696245193, 0.015037603676319122, -0.03168661892414093, 0.004650705028325319, -0.022224806249141693, -0.056944407522678375, -0.03698896989226341, -0.022538140416145325, -0.03727422654628754, -0.000026789721232489683, -0.0073935831896960735, -0.019570978358387947, -0.06587450951337814, 0.09684037417173386, -0.02097243070602417, -0.02758321724832058, 0.04580841585993767, -0.03877514228224754, -0.07530978322029114, -0.014545083045959473, -0.07628967612981796, 0.02494915761053562, -0.04761625826358795, 0.02740006148815155, -0.051923904567956924, 0.03639964759349823, 0.05522513762116432, -0.029604759067296982, 0.09351547062397003, 0.044182002544403076, -0.004604053217917681, -0.05379330366849899, 0.0036715343594551086, 0.027759511023759842, -0.011652886867523193, -0.0365583598613739, -0.0023809848353266716, 0.04649307206273079, -0.01430504024028778, 0.03846306353807449, -0.009731055237352848, 0.020253079012036324, 0.015927350148558617, -0.3576256334781647, -0.01118561066687107, 0.004117538686841726, 0.006550055928528309, 0.012500358745455742, -0.04479169473052025, 0.03088374249637127, -0.010957284830510616, -0.05715743079781532, -0.003035577479749918, 0.08474861830472946, -0.030031468719244003, 0.018623612821102142, -0.09696272015571594, 0.0024045435711741447, 0.030078938230872154, -0.013216259889304638, -0.012039463967084885, -0.007947534322738647, -0.002109216060489416, 0.01368183083832264, 0.023899734020233154, -0.005030049476772547, -0.04921811446547508, 0.0180350411683321, -0.04965831711888313, 0.08721525967121124, -0.002666170010343194, 0.09224630147218704, -0.03025243990123272, 0.02999032475054264, 0.008931574411690235, 0.03355497866868973, -0.10873948782682419, 0.012807187624275684, -0.013325116597115993, 0.024278298020362854, -0.06009582802653313, 0.05779597908258438, -0.03262963518500328, -0.06270593404769897, 0.0017485449789091945, -0.05193188413977623, -0.03305370360612869, -0.09092949330806732, -0.015498773194849491, -0.03137494623661041, -0.048306699842214584, -0.02270890586078167, 0.03911377117037773, 0.017342107370495796, 0.001960447058081627, 0.019171442836523056, -0.025530196726322174, -0.04540977627038956, -0.024560604244470596, -0.09755244851112366, 0.029669998213648796, -0.010442492552101612, 0.008448285982012749, 0.007682169787585735, 0.047909826040267944, 0.021199004724621773, -0.06413209438323975, 0.014517809264361858, 0.002456443617120385, 0.02420126646757126, 0.016202963888645172, 0.041128650307655334, 0.002973838010802865, -0.012509563006460667, 0.06064927205443382, 0.01668718084692955, -0.02136138267815113, 0.013268491253256798, -0.006591812241822481, -0.007262295577675104, 0.02639196626842022, 0.023329805582761765, -0.015328053385019302, 0.02209707908332348, -0.035892728716135025, 0.029335014522075653, 0.000866453570779413, 0.013721872121095657, -0.016677644103765488, 0.03099699877202511, -0.03552026301622391, 0.04794221743941307, 0.020977912470698357, -0.04063010215759277, 0.004071117844432592, -0.009916603565216064, -0.04561711847782135, 0.0745999664068222, -0.008869544602930546, -0.2437841147184372, 0.004618001636117697, 0.046751659363508224, 0.037683986127376556, -0.020934782922267914, 0.06055358424782753, 0.020495593547821045, -0.0465485155582428, -0.009452473372220993, -0.023796135559678078, 0.02026868239045143, -0.0008575591491535306, 0.008483522571623325, 0.0221950002014637, 0.04508603364229202, 0.030117735266685486, 0.07017627358436584, -0.018155710771679878, -0.006529518403112888, -0.03499721735715866, 0.01707432232797146, -0.007918175309896469, 0.14295707643032074, 0.00511207664385438, 0.05731866881251335, 0.011298947036266327, -0.017797553911805153, 0.0029283713083714247, 0.08829653263092041, 0.0024061736185103655, 0.031803179532289505, 0.002056239638477564, 0.04570712521672249, -0.0021181204356253147, 0.007173316553235054, -0.022854914888739586, -0.0106683149933815, 0.01643330231308937, 0.02473263256251812, 0.013374809175729752, 0.005492853466421366, -0.007898912765085697, -0.023693405091762543, -0.005611250642687082, 0.08088085800409317, 0.02239593304693699, 0.013492475263774395, -0.047017164528369904, -0.05483118072152138, -0.013443686068058014, -0.030105886980891228, -0.025845419615507126, 0.00666240556165576, -0.0005261005717329681, -0.00021252877195365727, 0.07114682346582413, 0.005116839427500963, -0.03919102996587753, -0.02805781550705433, 0.016608497127890587, -0.006255049258470535, -0.015075165778398514, 0.09553410857915878, 0.059145238250494, 0.054923634976148605 ]
[ -0.017282288521528244, 0.007318037562072277, -0.016302699223160744, 0.01950111612677574, -0.016074087470769882, 0.029012026265263557, 0.008615746162831783, 0.0038474590983241796, 0.0044137523509562016, -0.018049759790301323, -0.01697424240410328, 0.04412049800157547, 0.015605336055159569, -0.0009721614187583327, 0.03363911435008049, 0.00009524066263111308, 0.008737585507333279, -0.020612001419067383, 0.034623079001903534, 0.02183852158486843, -0.01800793781876564, -0.002455556532368064, 0.0010380620369687676, -0.014664680697023869, -0.015789950266480446, 0.021195469424128532, -0.0019294597441330552, -0.03068692982196808, 0.041728321462869644, -0.1262771189212799, -0.056373145431280136, -0.011394857428967953, 0.03097664937376976, 0.016312578693032265, -0.0009467056952416897, 0.0005705481162294745, 0.03862083703279495, 0.038367919623851776, -0.002778786001726985, -0.018259825184941292, -0.010463512502610683, -0.011145394295454025, -0.008331085555255413, 0.019367899745702744, -0.0035625044256448746, 0.022825142368674278, -0.010752045549452305, -0.024042939767241478, -0.0157749205827713, -0.011302598752081394, -0.028163066133856773, 0.001272126566618681, -0.020932462066411972, 0.002358753466978669, 0.009294540621340275, 0.0010694862576201558, -0.003357037901878357, -0.009363413788378239, 0.002122557023540139, -0.014434974640607834, -0.00042049834155477583, -0.00018733000615611672, -0.05207391083240509, -0.00998365506529808, -0.0033236248418688774, -0.017670484259724617, -0.008292307145893574, 0.016102729365229607, -0.01759747602045536, 0.007369400933384895, -0.011768451891839504, 0.033264122903347015, -0.035162460058927536, -0.023366356268525124, 0.015062503516674042, 0.01223452016711235, 0.021953117102384567, -0.014210402965545654, 0.02670617215335369, -0.03710886463522911, -0.07480419427156448, -0.003836249466985464, 0.0021021210122853518, 0.012992516160011292, 0.011569298803806305, -0.024486349895596504, 0.00493145827203989, -0.008842365816235542, 0.00784618966281414, -0.006153625901788473, -0.05429217591881752, 0.03383522480726242, -0.01742263324558735, 0.017739109694957733, -0.10237488150596619, 0.029634088277816772, -0.022770516574382782, 0.010005859658122063, -0.01245942059904337, 0.8480163216590881, -0.017211275175213814, 0.039912499487400055, 0.06034816429018974, -0.0007595480419695377, 0.004399875178933144, -0.0045125605538487434, 0.018314920365810394, -0.04696891829371452, 0.044139403849840164, -0.023681335151195526, 0.027040759101510048, 0.004786545876413584, 0.027103878557682037, 0.01707128994166851, 0.03660992160439491, 0.028418170288205147, 0.004343253560364246, 0.02346017211675644, -0.01893778145313263, -0.007702035829424858, -0.016835996881127357, -0.0049215564504265785, 0.029246123507618904, 0.009209277108311653, 0.000113976355351042, -0.19906221330165863, 0.006569324992597103, -8.116048665670846e-33, 0.04190102592110634, 0.002479324582964182, 0.001825050450861454, 0.017173005267977715, 0.0003046237980015576, -0.008633735589683056, 0.01384858600795269, -0.03747916594147682, -0.03759714961051941, 0.012607392854988575, 0.014401149936020374, -0.005422449205070734, 0.03836396336555481, -0.011379529722034931, 0.022860072553157806, -0.040879953652620316, -0.013588424772024155, -0.010790571570396423, -0.009153546765446663, 0.03464316949248314, 0.03567621856927872, 0.03178400546312332, 0.00517328642308712, -0.016639724373817444, -0.0016676514642313123, 0.0004365593194961548, 0.014910793863236904, 0.05360915884375572, 0.026113498955965042, -0.033577173948287964, -0.012140924111008644, 0.03858479857444763, -0.02792447619140148, -0.019582830369472504, -0.009456478990614414, -0.03879617154598236, 0.00935520138591528, 0.007045220583677292, 0.008371507748961449, -0.01702982932329178, -0.0320897102355957, -0.016463762149214745, -0.012460822239518166, -0.04312942549586296, -0.013811708427965641, -0.035907212644815445, 0.025268806144595146, 0.03878268972039223, -0.002922054845839739, -0.029954632744193077, -0.03751432150602341, 0.013052904978394508, -0.0012809213949367404, 0.00212116283364594, -0.02786056324839592, 0.0074841333553195, 0.01781832054257393, 0.014059456065297127, -0.0047758775763213634, 0.030334902927279472, 0.02462785318493843, 0.018808700144290924, -0.024445269256830215, 0.01153211947530508, 0.008928993716835976, -0.005392567720264196, 0.027273254469037056, 0.016647567972540855, 0.030122430995106697, -0.01928701065480709, -0.03822629526257515, 0.013632514514029026, -0.007008965592831373, -0.021853351965546608, 0.00581013597548008, -0.024448411539196968, 0.03223567083477974, 0.008508684113621712, -0.006094218231737614, 0.04303795471787453, 0.020708443596959114, -0.01976274885237217, 0.016742544248700142, -0.020291447639465332, -0.045532211661338806, -0.010880980640649796, 0.004085509572178125, -0.017715347930788994, -0.008905602619051933, 0.029326410964131355, 0.02318529598414898, 0.03682069852948189, -0.010226872749626637, -0.015008840709924698, 0.016902418807148933, 7.917633300775706e-33, 0.02854454331099987, -0.0008577125263400376, -0.007467139046639204, 0.009230063296854496, 0.06861529499292374, -0.01378294825553894, 0.025219526141881943, -0.027243658900260925, -0.048514313995838165, 0.025734592229127884, -0.006351008545607328, -0.020955603569746017, -0.03375611826777458, 0.03197942674160004, 0.04456585273146629, -0.0025913126301020384, 0.0009732403559610248, -0.01962174102663994, 0.033666376024484634, -0.030587587505578995, 0.013943207450211048, -0.0023924882989376783, 0.00890299677848816, 0.01632128655910492, 0.014345897361636162, 0.04109368845820427, -0.003823003964498639, 0.03805360570549965, -0.0214198250323534, -0.004618184175342321, 0.0010294013191014528, -0.021356290206313133, 0.020116183906793594, 0.0162288099527359, -0.013566231355071068, 0.0146992402151227, -0.02674631029367447, -0.03079432062804699, 0.02080024592578411, -0.02567227929830551, 0.014938862062990665, -0.02150522731244564, -0.021414868533611298, -0.006075437646359205, 0.023876912891864777, -0.007158664986491203, 0.012428258545696735, -0.017128799110651016, -0.02301996760070324, 0.0002489853068254888, 0.010483190417289734, 0.04382561147212982, -0.044784411787986755, -0.0272612776607275, 0.0030366526916623116, -0.03390422835946083, 0.0035547055304050446, -0.00456080911681056, 0.019966235384345055, -0.0021163190249353647, 0.0024008851032704115, 0.019219141453504562, -0.03772992268204689, -0.00048614887055009604, -0.013237074948847294, -0.01215330045670271, -0.021426621824502945, 0.010288389399647713, -0.004625216126441956, 0.0040075466968119144, -0.030072705820202827, -0.009871029295027256, 0.03359153866767883, 0.020096976310014725, -0.00767680536955595, -0.018094968050718307, -0.027036026120185852, 0.007262613624334335, 0.006560151465237141, 0.001204892061650753, 0.009466705843806267, 0.017296025529503822, 0.022480104118585587, 0.030511189252138138, 0.0127619793638587, 0.05605274811387062, -0.006957299541682005, 0.040220700204372406, -0.002961436053737998, -0.024332359433174133, -0.006160601507872343, -0.013979949057102203, 0.022718803957104683, 0.02180764079093933, -0.009131556376814842, -1.3857686553819804e-8, -0.05221164599061012, 0.014672172255814075, -0.030069900676608086, -0.001006283680908382, 0.01631380058825016, 0.018156006932258606, 0.005118215456604958, -0.009681525640189648, -0.04411683976650238, 0.020869828760623932, 0.0024438626132905483, -0.017376026138663292, -0.007226159796118736, 0.03832434490323067, 0.0344901978969574, -0.017011422663927078, 0.008286891505122185, -0.04276850447058678, 0.01788773201406002, -0.0179927796125412, 0.02632294036448002, 0.041174549609422684, -0.004806864075362682, 0.03767650946974754, -0.019925223663449287, -0.009291295893490314, -0.015391829423606396, -0.09829307347536087, 0.010904609225690365, 0.017958974465727806, -0.018053894862532616, -0.03139698505401611, -0.042704612016677856, 0.006129133049398661, 0.009908594191074371, -0.017258107662200928, -0.006164509803056717, 0.022929340600967407, 0.00470542348921299, 0.006707489024847746, -0.030263695865869522, 0.014898007735610008, -0.016934238374233246, -0.03561757132411003, 0.007351994048804045, 0.030976371839642525, -0.05514271929860115, -0.022497696802020073, -0.02936202846467495, -0.022123316302895546, 0.005818062927573919, -0.011542614549398422, 0.03071748837828636, 0.007203330751508474, 0.00445205345749855, 0.025178080424666405, -0.04367600753903389, -0.03473978862166405, 0.013476921245455742, 0.00602074945345521, -0.029398590326309204, 0.020777426660060883, -0.02274993062019348, -0.030424024909734726 ]
coding-contextual-learning
https://markhneedham.com/blog/2009/01/21/coding-contextual-learning
false
2009-01-21 23:49:13
C#: Builder pattern still useful for test data
[ "c", "net" ]
[ ".NET" ]
I had thought that with the ability to use the new http://davidhayden.com/blog/dave/archive/2006/12/04/ObjectInitializationExpressions.aspx[object initalizer] syntax in C# 3.0 meant that the builder pattern was now no longer necessary but some recent refactoring efforts have made me believe otherwise. My original thought was that the builder pattern was really useful for providing a nicely chained way of creating objects, but after a bit of discussion with some colleagues I have come across three different reasons why we might want to use the builder pattern to create test data: * It creates a nice to read fluent interface describing the object being created. This argument holds more for Java rather than C# where we now have object initializers. * Domain objects are a bit complicated to create - encapsulate this logic in the builder. * We want to default non null data on some of the fields in our object. If we don't explicitly set a value for a property in C# it defaults to null. Even with the object initializer syntax we can still end up having to specify extra data that we don't really care about in our test. The following is not uncommon: [source,csharp] ---- new Foo {Bar = "bar", Baz = "baz", Bling = "bling"}; ---- [source,csharp] ---- public class Foo { public string Bar {get; set;} public string Baz { get; set; } public string Bling { get; set; } } ---- Let's say we only care about Bar for this test though but Baz and Bling are both being used in our code so we end up with a Null Reference Exception if we don't set values for them. We can quickly end up having this redundant data being repeated across all our tests. In steps the builder pattern! [source,csharp] ---- new FooBuilder().Bar("bar").Build(); ---- [source,csharp] ---- public class FooBuilder { private string bar = "defaultBar"; private string baz = "defaultBaz"; private string bling = "defaultBling"; public FooBuilder Bar(string value) { bar = value; return this; } public FooBuilder Baz(string value) { baz = value; return this; } public FooBuilder Bling(string value) { bling = value; return this; } public Foo Build() { return new Foo {Bar = bar, Baz = baz, Bling = bling}; } } ---- It takes a bit more code to setup but every time we use the builder it saves us typing in extra data that we don't need. It would be even better if we could not have to call that 'Build' method and we can get around this by using the http://realfiction.net/?q=node/138[implicit operator], the problem being that you need to apply it to the target class (i.e. Foo) rather than the class you want to implicitly convert from (i.e. FooBuilder). I don't really want to change a production code class just for test purposes so the 'Build' will have to stay in there for the time being.
null
null
[ 0.020466001704335213, -0.015248727984726429, 0.010389997623860836, 0.01888635754585266, 0.08194327354431152, 0.012135614641010761, 0.019261488690972328, 0.020378300920128822, -0.005631116684526205, -0.01493475679308176, -0.025553857907652855, -0.0047845421358942986, -0.07701282948255539, 0.020704975351691246, -0.03328973799943924, 0.06725361943244934, 0.07592323422431946, -0.002267401432618499, 0.0021536455024033785, -0.013416696339845657, 0.012235017493367195, 0.0458182767033577, -0.001625933451578021, 0.03902584686875343, 0.051207199692726135, 0.022936146706342697, -0.013466592878103256, 0.0027747596614062786, -0.04804486781358719, -0.021385714411735535, 0.025743363425135612, 0.0123622240498662, 0.005018953233957291, -0.020375454798340797, 0.0032152303028851748, -0.030773282051086426, -0.021214794367551804, -0.00644961791113019, -0.011613723821938038, 0.014416411519050598, -0.09013324230909348, 0.032535895705223083, 0.014718295074999332, 0.004787377081811428, -0.025796910747885704, 0.007020099554210901, -0.06812544167041779, -0.021557291969656944, -0.04682578146457672, -0.029757658019661903, -0.07052867114543915, 0.041769180446863174, -0.05305103212594986, 0.014509615488350391, 0.018564699217677116, 0.041112370789051056, 0.026267314329743385, -0.08622689545154572, 0.020445801317691803, -0.051463741809129715, 0.01652423106133938, 0.0011070631444454193, 0.008262597024440765, 0.014886399731040001, 0.024536162614822388, 0.008984150364995003, -0.025382129475474358, 0.03660547733306885, -0.03481330722570419, -0.02913341298699379, -0.0303309615701437, -0.021561359986662865, 0.017185399308800697, -0.002730016130954027, 0.0006564728100784123, -0.030292199924588203, -0.026357203722000122, 0.03795706108212471, 0.022877419367432594, 0.04663236811757088, 0.0005556795513257384, -0.003047530073672533, 0.024888476356863976, -0.007885978557169437, 0.011719471774995327, -0.0394895076751709, -0.030032260343432426, 0.01760696806013584, -0.005871130619198084, 0.06377704441547394, 0.022047435864806175, -0.018380071967840195, 0.0026192606892436743, 0.01758382096886635, 0.005186424124985933, -0.004508569836616516, 0.010044502094388008, -0.006970540154725313, 0.010299354791641235, 0.013549190014600754, -0.014519207179546356, -0.00544595206156373, 0.027956344187259674, 0.012417428195476532, -0.05883447825908661, -0.03237615525722504, -0.0577433705329895, -0.006884366739541292, -0.004291726741939783, 0.01188131608068943, -0.06287727504968643, 0.016581276431679726, -0.012840810231864452, -0.00426113186404109, -0.0748906284570694, 0.048234909772872925, 0.019675951451063156, 0.005118436645716429, -0.016711553558707237, 0.03201073780655861, 0.0380597785115242, 0.015215298160910606, -0.0018422227585688233, 0.057711392641067505, -0.006710736081004143, 0.034069087356328964, -0.02015526406466961, 0.09933716058731079, -0.019605835899710655, -0.08372444659471512, -0.002291595796123147, 0.051768649369478226, -0.006681542843580246, 0.005348349455744028, 0.012311678379774094, -0.01440002117305994, 0.01994653046131134, -0.012526989914476871, 0.04250594601035118, 0.031551651656627655, -0.03483832627534866, -0.06423761695623398, 0.0378238819539547, -0.010214542038738728, -0.001089163008145988, 0.02510436438024044, -0.011057218536734581, -0.02013743482530117, 0.0015739942900836468, 0.052685197442770004, 0.01933464966714382, 0.08012735098600388, 0.05661420151591301, -0.032816074788570404, -0.002601941116154194, 0.06637062132358551, -0.008358077146112919, 0.001330409781076014, 0.008917756378650665, 0.0330146849155426, 0.04144365340471268, 0.03693399950861931, 0.035922639071941376, 0.02794361114501953, 0.03160525858402252, 0.013041346333920956, -0.0029093329794704914, 0.04230011627078056, 0.005690263584256172, -0.019561192020773888, -0.07218864560127258, -0.056540265679359436, 0.033034346997737885, -0.05279236659407616, -0.0005274889408610761, 0.007774729281663895, 0.07781364768743515, -0.020994648337364197, 0.06472256779670715, -0.0016847549704834819, -0.06372911483049393, 0.016987843438982964, -0.01479407399892807, 0.016956942155957222, 0.030025556683540344, -0.01965942606329918, 0.06618890166282654, 0.0232535507529974, 0.0018794664647430182, 0.026210440322756767, -0.047953080385923386, -0.04843103885650635, -0.018133636564016342, -0.011252951808273792, 0.04631471261382103, -0.02873833104968071, -0.0410672202706337, 0.0922837033867836, 0.021973827853798866, 0.04668870568275452, 0.03901451453566551, -0.012910230085253716, 0.001149844378232956, -0.027238838374614716, -0.04124817997217178, 0.018678531050682068, 0.03911609575152397, 0.008953506126999855, -0.041444726288318634, 0.0013571062590926886, 0.007249062415212393, -0.0018927933415398002, 0.04906695708632469, -0.0043860734440386295, 0.04932093992829323, -0.0034488935489207506, 0.024753818288445473, -0.031080882996320724, 0.05769149214029312, -0.06860010325908661, -0.0023369521368294954, -0.01595831848680973, -0.009379801340401173, -0.017933521419763565, -0.00893891230225563, 0.1385834813117981, 0.0303473100066185, -0.058030419051647186, -0.0570862777531147, 0.03610851988196373, 0.02218887023627758, -0.010379914194345474, 0.01811041496694088, -0.01871049590408802, 0.008274011313915253, -0.0037735283840447664, -0.04372540861368179, -0.0166914165019989, -0.0054365829564630985, -0.022209152579307556, 0.0507158599793911, 0.07365687936544418, -0.04749775677919388, 0.03967304900288582, 0.0017342583741992712, -0.014429610222578049, -0.003785094479098916, -0.041967302560806274, -0.0781756043434143, 0.0048996382392942905, 0.027849800884723663, -0.007405725307762623, 0.06966971606016159, -0.010703317821025848, -0.035276077687740326, -0.008801068179309368, -0.07333087176084518, 0.003258385928347707, 0.01602187007665634, 0.071589894592762, 0.002012812765315175, 0.05250067636370659, -0.026752186939120293, 0.007534952834248543, -0.018545612692832947, -0.04989029839634895, 0.02914142608642578, 0.011619514785706997, 0.009258072823286057, 0.04419124871492386, -0.028071969747543335, 0.022906562313437462, 0.015817701816558838, 0.024724595248699188, -0.0247866902500391, -0.00009832270734477788, 0.028923265635967255, -0.018277611583471298, -0.04121009260416031, -0.04538372531533241, -0.04785721004009247, 0.032142553478479385, -0.04584255442023277, -0.04464859515428543, -0.01242182869464159, -0.08209796994924545, 0.024408308789134026, -0.08287184685468674, -0.07715778052806854, -0.01309666782617569, 0.035337742418050766, 0.02488281950354576, 0.008046255446970463, 0.034177180379629135, 0.08718474209308624, 0.03600569814443588, -0.01062245387583971, -0.0013244935544207692, -0.003204421838745475, 0.018368201330304146, -0.02734098769724369, 0.02972349524497986, 0.04621497541666031, 0.004738623276352882, 0.0014453304465860128, -0.025737915188074112, 0.027156269177794456, 0.018220329657197, -0.24677053093910217, 0.025189220905303955, 0.007997162640094757, -0.06688419729471207, 0.018538761883974075, 0.01872852072119713, 0.02269744873046875, -0.03545522317290306, -0.029677817597985268, 0.07055113464593887, -0.019139759242534637, -0.059344206005334854, -0.004488103091716766, 0.033640921115875244, -0.023614659905433655, 0.019311537966132164, -0.010697098448872566, -0.03179622069001198, -0.0001268732885364443, 0.05358193442225456, -0.018923215568065643, -0.06388010084629059, 0.03390646353363991, 0.023509658873081207, 0.01946658454835415, 0.05283534526824951, -0.0695711150765419, 0.050951484590768814, -0.028938153758645058, -0.017482060939073563, 0.0015928102657198906, -0.00042343841050751507, 0.014571267180144787, -0.016297830268740654, -0.047973524779081345, -0.004787120036780834, 0.006825174205005169, 0.03258366137742996, -0.004212685860693455, 0.018434667959809303, -0.032911986112594604, -0.07139351218938828, -0.017325567081570625, -0.0019330841023474932, 0.0791495144367218, -0.03075997903943062, -0.08923358470201492, -0.015802675858139992, -0.0664183497428894, 0.06521277129650116, -0.03349558264017105, -0.041768282651901245, 0.002192915417253971, 0.03430851548910141, -0.017076462507247925, -0.022103723138570786, -0.0013915846357122064, -0.009439549408853054, -0.04678398743271828, -0.01535660307854414, 0.002332948846742511, -0.03690563514828682, 0.00209229439496994, -0.040499139577150345, -0.002750970656052232, -0.06958362460136414, -0.058941956609487534, -0.010274875909090042, 0.08692590892314911, 0.061800267547369, 0.00745878741145134, 0.01366584561765194, 0.01661798544228077, -0.1220637857913971, 0.011528152041137218, -0.05132670700550079, -0.008780349977314472, -0.0559203140437603, -0.035577598959207535, 0.0621342808008194, -0.017680153250694275, -0.031183069571852684, 0.04362013563513756, 0.03203507885336876, -0.007058967836201191, 0.014064903371036053, 0.02261592447757721, 0.0018885594327002764, -0.01855117455124855, 0.0077714999206364155, 0.0504494346678257, -0.003697003237903118, -0.0008556171087548137, -0.050546854734420776, 0.008704878389835358, 0.032503869384527206, 0.03049211949110031, -0.017844615504145622, 0.03670988604426384, 0.0072549316100776196, 0.06298666447401047, -0.04479244351387024, 0.03362097963690758, -0.011585904285311699, 0.002068247413262725, -0.021803544834256172, -0.052616726607084274, 0.030079929158091545, 0.022455772385001183, 0.00922789704054594, -0.007640626281499863, -0.014066695235669613, -0.0019789482466876507, -0.04294280335307121, -0.018807779997587204, -0.030471768230199814, -0.0015140582108870149, 0.0069122170098125935, -0.02228061854839325, -0.02050248719751835, -0.042709797620773315, 0.03678004816174507, -0.003025833982974291, -0.005787357687950134, -0.05911766737699509, -0.05076497048139572, -0.017029689624905586, -0.001382527407258749, -0.00432770187035203, 0.021230347454547882, -0.014363315887749195, 0.03812709450721741, 0.0037870300002396107, -0.03557240590453148, 0.0074243973940610886, 0.01111071091145277, -0.02237487956881523, -0.05739424005150795, -0.058904360979795456, -0.015856893733143806, 0.007095888257026672, -0.00483555207028985, 0.030661748722195625, 0.01920003816485405, 0.044682636857032776, -0.0009269661386497319, 0.06037348881363869, 0.023046305403113365, -0.004982852376997471, 0.0015764894196763635, 0.01709252968430519, -0.08323093503713608, 0.04013994708657265, -0.04332716017961502, -0.04075605794787407, -0.03458898141980171, 0.048626478761434555, -0.03109833411872387, -0.029925992712378502, -0.04788936302065849, 0.046806398779153824, -0.04084073379635811, -0.020925140008330345, -0.02936669997870922, 0.02518540807068348, 0.04881320521235466, -0.007717608008533716, 0.047124579548835754, -0.03997419402003288, -0.002055662451311946, 0.026012996211647987, 0.013317174278199673, -0.06883295625448227, 0.03905413672327995, 0.0017551752971485257, -0.016379553824663162, -0.009952807798981667, 0.010052789002656937, 0.04236521199345589, 0.02223576046526432, -0.005826907232403755, -0.012107395566999912, 0.006449304986745119, -0.0012026908807456493, 0.04822208732366562, 0.01804361492395401, -0.0009636037866584957, -0.004229276441037655, -0.028951892629265785, -0.0027157734148204327, -0.004926026798784733, -0.034422896802425385, -0.005586069077253342, 0.04645061492919922, -0.04121183604001999, -0.06515758484601974, 0.019777514040470123, 0.018965303897857666, 0.030549973249435425, 0.021645186468958855, 0.007001716177910566, 0.000007007938165770611, -0.03429042547941208, 0.011183258146047592, 0.06816739588975906, -0.04518667981028557, 0.013398409821093082, -0.006239971611648798, 0.011492447927594185, 0.05467222258448601, 0.04363527521491051, -0.04640083387494087, 0.0035936464555561543, -0.010197051800787449, 0.009850881062448025, -0.04348753020167351, -0.021793439984321594, -0.014074097387492657, 0.01919238455593586, 0.005524250213056803, -0.01940898410975933, -0.009697834961116314, 0.0005690207472071052, 0.009350656531751156, -0.02752750553190708, 0.04080083221197128, -0.045021284371614456, 0.005913489498198032, 0.02769213542342186, -0.04750918224453926, 0.015271607786417007, -0.008511640131473541, 0.004545694682747126, 0.011186759918928146, -0.015424421057105064, -0.03728661313652992, -0.05444669723510742, 0.02431091107428074, -0.005984295159578323, 0.05021893233060837, 0.011109543964266777, -0.02899886667728424, -0.025469567626714706, -0.023282192647457123, -0.028963858261704445, 0.0014291505794972181, -0.010403932072222233, -0.005848985631018877, 0.019171221181750298, 0.054251354187726974, -0.017520643770694733, 0.037371017038822174, 0.0011602520244196057, -0.025485465303063393, 0.06976529955863953, -0.07146192342042923, -0.022477153688669205, -0.03066335991024971, -0.06792265921831131, 0.01246423739939928, 0.01341946143656969, 0.031123144552111626, -0.02919502556324005, 0.04094403237104416, 0.05343649908900261, 0.024774326011538506, 0.019273806363344193, 0.030472399666905403, 0.03736071661114693, -0.03923874720931053, -0.017454031854867935, -0.07694641500711441, 0.03791501373052597, 0.05977628380060196, 0.037476588040590286, -0.01835916005074978, -0.032735150307416916, -0.008554342202842236, 0.027328671887516975, -0.04809802770614624, -0.03753199428319931, 0.026282789185643196, 0.01980111189186573, -0.004599619656801224, -0.012602499686181545, -0.04589260742068291, 0.030758323147892952, 0.016911441460251808, -0.038343220949172974, -0.04834418743848801, -0.035611119121313095, 0.05405116081237793, 0.013986129313707352, 0.010244915261864662, -0.04781882092356682, 0.004142523743212223, 0.055453233420848846, 0.03041461668908596, 0.05255831032991409, 0.02650650031864643, -0.02684997022151947, 0.04389708861708641, 0.04313414916396141, -0.02189975418150425, -0.002014600671827793, -0.009981125593185425, 0.020916812121868134, -0.04953157529234886, 0.021602755412459373, 0.025052208453416824, -0.04509984329342842, -0.040971096605062485, 0.05952998623251915, 0.018509306013584137, -0.03598923608660698, -0.04011184349656105, 0.009773549623787403, -0.0169496051967144, -0.03299123793840408, -0.0130758136510849, 0.023112064227461815, -0.02932114526629448, 0.05218175798654556, 0.008475985378026962, -0.015838025137782097, 0.055560190230607986, 0.008552782237529755, -0.00494299316778779, -0.005056244321167469, 0.07082506269216537, 0.07700106501579285, 0.027345597743988037, 0.017682421952486038, 0.04065712168812752, -0.022295797243714333, -0.06298274546861649, 0.02376895397901535, -0.03063316084444523, -0.006134457886219025, -0.02082054875791073, 0.014722850173711777, 0.08462410420179367, -0.00426335446536541, 0.04487219825387001, -0.04408491775393486, -0.017821403220295906, -0.01283031702041626, 0.043076951056718826, 0.02543644793331623, 0.0312902107834816, 0.0021848073229193687, 0.011465701274573803, 0.004622367676347494, -0.038125138729810715, 0.010594496503472328, -0.01823502965271473, -0.03383944183588028, 0.029042869806289673, 0.013085564598441124, -0.01097364816814661, 0.004816986620426178, 0.03602239489555359, 0.08489776402711868, -0.04458874836564064, -0.016958942636847496, 0.0015129803214222193, 0.0009072786197066307, 0.02784213423728943, -0.04515250027179718, -0.013213763013482094, -0.038773659616708755, -0.011962216347455978, 0.008860062807798386, -0.0048055085353553295, -0.03587845712900162, -0.01131388172507286, 0.029701082035899162, -0.005941919516772032, 0.0017193951644003391, 0.022532060742378235, 0.010641763918101788, -0.025021612644195557, -0.0600251778960228, -0.051312513649463654, -0.03421687334775925, -0.0745367556810379, -0.017142804339528084, 0.01669890806078911, -0.02045156992971897, -0.012530559673905373, -0.05484439432621002, -0.005682804621756077, -0.014080150052905083, 0.04037364199757576, -0.04304954782128334, -0.03246552497148514, 0.03641003370285034, 0.012976973317563534, 0.03565242886543274, 0.04581163078546524, 0.033121660351753235, 0.015554036945104599, -0.009655330330133438, -0.03704165667295456, 0.004077394492924213, 0.025272343307733536, 0.00901605375111103, 0.013452302664518356, -0.09415362775325775, 0.018281249329447746, 0.00029285845812410116, -0.026165053248405457, -0.06977873295545578, 0.00574136059731245, 0.0245837215334177, -0.008362294174730778, 0.05353276804089546, -0.0164326298981905, -0.019381307065486908, -0.02461160346865654, 0.007082037627696991, 0.03635427728295326, 0.011364175006747246, 0.048920515924692154, -0.019929997622966766, 0.06945902854204178, 0.04812188446521759, -0.04211926832795143, 0.0018033487722277641, 0.004085310269147158, -0.01241211500018835, 0.01820722222328186, -0.01580100692808628, -0.01947110891342163, -0.03972156345844269, -0.04964904114603996, -0.001527493936009705, -0.005215100012719631, -0.03140940144658089, -0.03788171708583832, 0.009967859834432602, 0.05676625296473503, -0.04461778327822685, 0.03130040690302849, -0.021759914234280586, 0.034257836639881134, -0.013723785057663918, -0.02272646874189377, 0.008048499934375286, 0.015253434889018536, 0.0031011744868010283, 0.01868223398923874, 0.004505702294409275, -0.018040362745523453, -0.019484758377075195, -0.033681720495224, 0.026071762666106224, 0.034138549119234085, -0.002170031424611807, 0.0225351694971323 ]
[ -0.0809580460190773, 0.022687112912535667, -0.03839576989412308, -0.02230394072830677, 0.024420926347374916, -0.016708631068468094, 0.011604788713157177, -0.0026243505999445915, 0.02190387062728405, -0.01843498833477497, -0.015529914759099483, -0.045072585344314575, -0.02293510176241398, 0.006517502479255199, 0.04271772876381874, 0.0022649026941508055, -0.02504601702094078, -0.022923938930034637, -0.020367801189422607, 0.03000732511281967, 0.026257285848259926, -0.029501495882868767, -0.04270094633102417, -0.05965422838926315, 0.020396247506141663, 0.03589331731200218, 0.0410020649433136, -0.008903713896870613, 0.03416529670357704, -0.21098072826862335, -0.034103911370038986, -0.008159028366208076, 0.02310895174741745, -0.006639654282480478, 0.00022549166169483215, 0.021121468394994736, 0.00589808588847518, 0.07323545962572098, -0.002382065635174513, 0.025525793433189392, 0.0005350466235540807, 0.07273297011852264, -0.03700809180736542, 0.007181626744568348, 0.033807892352342606, 0.0276021808385849, -0.004510773811489344, -0.020618319511413574, -0.02794845774769783, 0.01864541508257389, -0.029268264770507812, -0.041707076132297516, -0.027142975479364395, -0.011575736105442047, 0.032755110412836075, 0.043818555772304535, 0.04403159022331238, 0.043184228241443634, 0.011490948498249054, 0.029964981600642204, -0.002882761647924781, -0.020295070484280586, -0.11721816658973694, 0.10020498186349869, 0.03925834968686104, 0.03373748064041138, -0.01094850618392229, -0.04472155123949051, -0.022438103333115578, 0.07419271022081375, 0.013394851237535477, -0.030371690168976784, -0.006791801657527685, 0.035316724330186844, 0.041990023106336594, -0.01664014346897602, -0.00903482735157013, 0.007454785518348217, 0.04674072936177254, -0.006744460668414831, -0.04623721167445183, -0.028022779151797295, 0.01300783734768629, -0.004090520553290844, -0.044134560972452164, 0.01482695434242487, 0.0007259646081365645, -0.016617005690932274, 0.048192158341407776, 0.025457872077822685, 0.00946186576038599, -0.04053960740566254, 0.0072400616481900215, -0.00008358385093742982, -0.07352165132761002, -0.00004620889012585394, -0.031679026782512665, -0.020639963448047638, -0.03147544339299202, 0.38654083013534546, -0.0515865832567215, -0.03669436648488045, 0.027703216299414635, 0.01941639371216297, -0.014263750053942204, 0.03824027627706528, -0.014012206345796585, -0.04122837260365486, -0.007919465191662312, -0.023557227104902267, -0.016983235254883766, 0.031255196779966354, -0.006879232358187437, -0.06095142289996147, -0.026317261159420013, -0.01561062317341566, 0.00004767149584949948, -0.008141754195094109, 0.02454078383743763, 0.028861653059720993, 0.026915399357676506, -0.004612550139427185, 0.019073784351348877, 0.038593996316194534, 0.001679846434853971, -0.028611112385988235, -0.006905502639710903, 0.038436513394117355, 0.038703788071870804, 0.011517873965203762, 0.04317032918334007, -0.056198280304670334, -0.10446158796548843, 0.01591191068291664, 0.0170196071267128, -0.004706218838691711, 0.03399623557925224, 0.0031038301531225443, 0.0003780596307478845, -0.014299229718744755, -0.021678881719708443, 0.018103839829564095, 0.03883220627903938, -0.03298378735780716, -0.03867961838841438, 0.0984126403927803, -0.01681654527783394, -0.005617392249405384, -0.016564060002565384, -0.02365940995514393, -0.02476917952299118, 0.04453347623348236, -0.019053975120186806, -0.0657486692070961, 0.01979305036365986, 0.018420031294226646, 0.03362693265080452, 0.010444916784763336, -0.04031278192996979, -0.05147694796323776, -0.0598384290933609, 0.025050250813364983, -0.02777946926653385, 0.028739802539348602, 0.021093375980854034, -0.10210654139518738, -0.05806155502796173, 0.020799780264496803, 0.01367355789989233, -0.07098816335201263, -0.008835598826408386, 0.031166940927505493, -0.0666523203253746, -0.012556089088320732, 0.03003356046974659, 0.007348713465034962, -0.050424642860889435, -0.011839278973639011, 0.020550744608044624, 0.03525150567293167, 0.0237166378647089, 0.018019260838627815, -0.040859680622816086, 0.017505772411823273, -0.016812138259410858, -0.07654063403606415, -0.0554281510412693, -0.003381368238478899, -0.025380823761224747, -0.05409572646021843, -0.03210753574967384, -0.029563535004854202, -0.049468886107206345, 0.09829561412334442, -0.02805936336517334, 0.012707816436886787, 0.047628313302993774, -0.0010403929045423865, 0.015414545312523842, -0.04326872527599335, 0.019970912486314774, 0.053266819566488266, 0.007442590780556202, 0.05088014900684357, -0.06594218313694, 0.07581525295972824, 0.06832386553287506, -0.08374394476413727, 0.08148732036352158, 0.01908051408827305, -0.061424534767866135, -0.009755407460033894, -0.03333938866853714, -0.0003919543814845383, -0.006655100733041763, -0.029921522364020348, -0.021025147289037704, 0.02362295612692833, 0.015066415071487427, 0.015881430357694626, -0.08002319186925888, 0.022771775722503662, -0.011783299036324024, -0.337629109621048, 0.0080815888941288, -0.0050701540894806385, -0.008138274773955345, 0.008409541100263596, -0.05862899497151375, 0.005163508467376232, -0.0005993845988996327, -0.039163779467344284, -0.0193977952003479, 0.04232010245323181, -0.011254293844103813, 0.029292330145835876, -0.06356222182512283, -0.013839771039783955, 0.003964527510106564, -0.02478669583797455, -0.055870313197374344, -0.05504869669675827, 0.040239397436380386, -0.001905631273984909, 0.025026481598615646, 0.0011475294595584273, -0.05940459296107292, 0.006048679351806641, -0.054087065160274506, 0.07936252653598785, -0.025488849729299545, 0.10558026283979416, -0.009256171993911266, 0.06535715609788895, 0.026316490024328232, 0.0015249274438247085, -0.07607509195804596, 0.00856721680611372, -0.014760340563952923, -0.0140791991725564, 0.023931609466671944, 0.01963447593152523, -0.007565272971987724, -0.010376649908721447, -0.007483453024178743, -0.03201620653271675, -0.06496905535459518, 0.036987755447626114, -0.03362195938825607, 0.011371880769729614, -0.0010057361796498299, -0.010287434794008732, 0.10432682931423187, -0.018134109675884247, 0.021942470222711563, 0.017132410779595375, 0.04024513065814972, 0.014944221824407578, -0.054490357637405396, -0.06016715615987778, -0.005030556116253138, 0.012892575934529305, 0.0018036328256130219, 0.06961769610643387, 0.04438226670026779, 0.0651521235704422, -0.03197812661528587, -0.017965033650398254, 0.006109570153057575, -0.023736272007226944, -0.024943426251411438, 0.03398474305868149, -0.058790311217308044, -0.04226929321885109, 0.10940459370613098, -0.0021140931639820337, -0.05406869575381279, 0.030313272029161453, 0.04015355929732323, -0.0085604852065444, 0.006735566537827253, 0.019162079319357872, -0.004653471056371927, -0.0365055613219738, -0.011631152592599392, 0.026668759062886238, -0.013521650806069374, 0.034209441393613815, 0.06491148471832275, -0.03549320995807648, 0.029470443725585938, 0.042075831443071365, -0.026499591767787933, -0.02008972503244877, -0.013985722325742245, 0.012640382163226604, -0.05080920830368996, 0.0682167112827301, -0.03489578142762184, -0.26426732540130615, 0.012680013664066792, 0.09412957727909088, 0.05642545595765114, -0.007938197813928127, 0.010993980802595615, 0.044229213148355484, -0.073589026927948, 0.02947283163666725, -0.0003632775042206049, 0.02569505013525486, 0.014735040254890919, 0.01792760193347931, 0.021485639736056328, 0.04649673402309418, -0.017499132081866264, 0.06992373615503311, 0.0071623134426772594, 0.02130112424492836, -0.01158568449318409, 0.011996903456747532, -0.005094760097563267, 0.2296571135520935, 0.012881205417215824, 0.04695766419172287, -0.010895428247749805, 0.024116696789860725, 0.017916318029165268, 0.058154623955488205, 0.04875948280096054, 0.032587576657533646, -0.005734315607696772, 0.12573449313640594, 0.014728088863193989, 0.04259810224175453, -0.12308292835950851, -0.0003945669741369784, 0.024047400802373886, -0.0039417073130607605, -0.0006397078395821154, -0.025034824386239052, 0.0029636058025062084, -0.047773052006959915, 0.021738208830356598, 0.07743676751852036, 0.013889923691749573, -0.0053712171502411366, -0.024501895532011986, -0.03513592109084129, -0.03762754052877426, -0.06413612514734268, -0.04242454096674919, 0.03960148245096207, -0.02227063477039337, 0.012520626187324524, 0.03530295565724373, 0.016166646033525467, -0.02808951772749424, -0.004736397881060839, 0.03557179495692253, 0.05031750723719597, 0.023679247125983238, 0.08020281791687012, 0.05225394293665886, 0.030297674238681793 ]
[ -0.032847002148628235, 0.0435195118188858, -0.011415606364607811, 0.03661063686013222, -0.06203855946660042, 0.019505638629198074, -0.025926517322659492, 0.022814897820353508, -0.02652115561068058, 0.006277735345065594, -0.03105991706252098, -0.030220577493309975, 0.026242896914482117, -0.057017046958208084, 0.04668761417269707, 0.02202201634645462, 0.02354610152542591, -0.03239774331450462, -0.0004547465650830418, 0.0004942183149978518, -0.028866436332464218, 0.018609553575515747, 0.0014582097064703703, -0.021164456382393837, 0.03774203360080719, -0.00654200604185462, 0.002293601166456938, 0.01938491500914097, 0.04196946695446968, -0.11293144524097443, -0.0411527045071125, -0.017013240605592728, -0.0005363164818845689, 0.015568614937365055, 0.01277170144021511, 0.023966768756508827, 0.05225596949458122, 0.05249190330505371, -0.022641539573669434, -0.026824085041880608, 0.007695228327065706, 0.015101662836968899, 0.005825412459671497, -0.004255655221641064, -0.02339262142777443, 0.030607890337705612, -0.01515914686024189, -0.03993682190775871, -0.008664984256029129, -0.05207198113203049, -0.03386693447828293, -0.009522521868348122, 0.009356115013360977, -0.009102636948227882, 0.034680258482694626, 0.006666313856840134, -0.010191019624471664, -0.029895836487412453, 0.02842525579035282, -0.018285326659679413, 0.015784427523612976, -0.020881541073322296, -0.0362837053835392, -0.027099033817648888, 0.01999003067612648, 0.00788126327097416, -0.004883852321654558, 0.01750882901251316, 0.006528637371957302, -0.03219912573695183, -0.007693438790738583, -0.020667212083935738, 0.02080775611102581, 0.00821087695658207, 0.00701920036226511, 0.023359941318631172, -0.00017215640400536358, -0.013961265794932842, 0.0421074703335762, -0.01636834442615509, -0.032770365476608276, -0.008913973346352577, -0.026797892525792122, -0.0008512904169037938, 0.0018924335017800331, 0.03378299996256828, -0.0009848171612247825, 0.029920099303126335, -0.011920955963432789, 0.0706540197134018, -0.02844381146132946, 0.017344573512673378, 0.019841913133859634, 0.037217870354652405, -0.06405647099018097, 0.00926994625478983, -0.024253252893686295, -0.013141526840627193, 0.005663034971803427, 0.8068313598632812, -0.015654224902391434, 0.05158562958240509, 0.05474875494837761, 0.04679097980260849, -0.002582198241725564, -0.04071476310491562, -0.03220066800713539, 0.0037320011761039495, 0.043128568679094315, -0.033009693026542664, 0.007297869771718979, -0.011409725993871689, 0.04689939692616463, -0.019841039553284645, 0.00613219290971756, 0.009850714355707169, 0.009933182038366795, -0.016895998269319534, -0.022298486903309822, 0.02502124197781086, 0.019062355160713196, -0.02871016040444374, -0.0018233776791021228, -0.01726919785141945, -0.00237228162586689, -0.19927427172660828, -0.009002228267490864, -8.118404062476307e-33, 0.07140085101127625, -0.015038156881928444, 0.034820545464754105, 0.026870479807257652, 0.018209492787718773, 0.00023861067893449217, 0.01841951161623001, 0.05544717237353325, 0.04877008497714996, -0.04088396579027176, 0.02450692281126976, -0.03682411089539528, -0.012166236527264118, 0.0016679874388501048, 0.03190918266773224, -0.024436822161078453, -0.004288175143301487, 0.018046502023935318, -0.03063243441283703, 0.034967321902513504, 0.027563700452446938, 0.039796698838472366, -0.004853470716625452, -0.03974144533276558, 0.017912203446030617, -0.037155505269765854, 0.03215520456433296, 0.01531711220741272, -0.05309678614139557, -0.035651758313179016, -0.03454509377479553, -0.013348697684705257, 0.007208406925201416, -0.007290048059076071, 0.01832110621035099, -0.033941447734832764, 0.007575629279017448, 0.02711789682507515, 0.0005590150831267238, -0.02980615943670273, -0.024277890101075172, -0.014321736060082912, -0.05796021223068237, 0.0059785619378089905, -0.03824997320771217, -0.040689319372177124, -0.01958807371556759, -0.017226507887244225, 0.03042556531727314, -0.022062210366129875, 0.04712726175785065, 0.07880906015634537, -0.004385917913168669, 0.03538568690419197, -0.023441988974809647, 0.024235155433416367, -0.02457793988287449, -0.017376882955431938, -0.01299478579312563, -0.014440889470279217, -0.01607867330312729, 0.003171609714627266, -0.034624408930540085, 0.026555007323622704, -0.010780180804431438, 0.00236882409080863, 0.017022382467985153, -0.016228187829256058, -0.00785922072827816, -0.01087692566215992, -0.038820892572402954, -0.021095793694257736, -0.03423511981964111, -0.056150030344724655, 0.01920730248093605, 0.019405636936426163, -0.018569039180874825, 0.0178778525441885, -0.006909744348376989, 0.019830718636512756, 0.015042812563478947, 0.02392951212823391, 0.01052750926464796, 0.010945960879325867, 0.0005342744407244027, -0.0173349566757679, 0.04670608043670654, -0.020068328827619553, 0.015776753425598145, -0.029200004413723946, 0.05000889301300049, -0.00010759860015241429, -0.008025755174458027, -0.007569662295281887, -0.009127005003392696, 8.094512874479813e-33, 0.008375844918191433, -0.03412490710616112, -0.021695200353860855, -0.01929612085223198, 0.02120085433125496, -0.010116199031472206, 0.024244792759418488, 0.0009761067922227085, -0.03875318169593811, 0.032855257391929626, 0.021130269393324852, 0.05408385023474693, 0.012703601270914078, 0.01706390641629696, 0.04329058900475502, 0.003596629248932004, 0.02143024280667305, -0.032884810119867325, 0.02740570344030857, -0.00839837547391653, 0.06039734184741974, 0.01303897611796856, 0.018241532146930695, -0.0021051643416285515, -0.0016076683532446623, 0.03113856352865696, -0.06278682500123978, 0.022136105224490166, 0.022533347830176353, 0.006650105118751526, 0.014167198911309242, -0.00799654796719551, 0.011326401494443417, -0.06888613849878311, -0.06166575103998184, 0.013604949228465557, 0.0022333012893795967, 0.012820140458643436, 0.021703340113162994, -0.005228614434599876, 0.023999221622943878, 0.01916632615029812, -0.016037242487072945, 0.013155920431017876, 0.017225923016667366, -0.00021530971571337432, 0.016771728172898293, -0.06673858314752579, 0.002110009780153632, 0.053442224860191345, 0.04347333312034607, 0.04174105077981949, 0.034663405269384384, 0.004424856510013342, 0.02053876779973507, -0.035769376903772354, -0.022790804505348206, -0.015201524831354618, -0.001510267029516399, 0.05052781105041504, -0.0383116714656353, 0.015306414104998112, 0.03326176851987839, -0.0016506165266036987, -0.03913634270429611, 0.002391217276453972, -0.028060179203748703, -0.009364594705402851, -0.009775375947356224, -0.042337194085121155, -0.03976045548915863, 0.011876017786562443, -0.017951369285583496, 0.045554019510746, -0.0016742253210395575, -0.009855678305029869, 0.009210861288011074, 0.007872821763157845, -0.00020709481032099575, 0.00043018226278945804, 0.017741020768880844, -0.001672404701821506, 0.029206058010458946, 0.01981303095817566, 0.021035633981227875, -0.028206441551446915, -0.011547783389687538, -0.005909446626901627, 0.027491144835948944, -0.0038302335888147354, -0.046238645911216736, -0.008078032173216343, -0.01093993429094553, 0.008221329189836979, -0.020650558173656464, -1.3202087423280773e-8, -0.06380723416805267, 0.004364590160548687, -0.026303879916667938, 0.01574329473078251, 0.004681456834077835, -0.01413741149008274, -0.045008473098278046, -0.028422728180885315, 0.01326972059905529, -0.05496935546398163, 0.043382082134485245, 0.006843282375484705, -0.013251226395368576, -0.022578468546271324, -0.0001770270464476198, -0.07079163193702698, -0.02588917315006256, -0.039746250957250595, 0.024409348145127296, -0.008959144353866577, 0.007566721644252539, 0.04120694473385811, -0.017701465636491776, 0.011091983877122402, 0.029685918241739273, -0.014293595217168331, -0.012466330081224442, -0.09987297654151917, 0.04702023044228554, 0.06780773401260376, -0.013359569944441319, 0.008558094501495361, -0.00311447586864233, 0.001509724766947329, -0.03704989328980446, -0.0008330257842317224, 0.0289680827409029, 0.015097511000931263, -0.017914915457367897, -0.014842189848423004, 0.03603782877326012, -0.0025358872953802347, -0.006520634982734919, -0.028488434851169586, 0.018076971173286438, -0.010486291721463203, -0.0067339395172894, -0.0016630031168460846, 0.02598484419286251, -0.04420202597975731, 0.002068155212327838, 0.03929877281188965, -0.0016090498538687825, 0.02529628574848175, 0.02059979923069477, 0.00524217588827014, -0.015457237139344215, 0.013107332400977612, -0.0031978210899978876, 0.0018735708435997367, 0.047698408365249634, -0.005857124458998442, -0.014096779748797417, -0.014008253812789917 ]
c-builder-pattern-still-useful-for-test-data
https://markhneedham.com/blog/2009/01/21/c-builder-pattern-still-useful-for-test-data
false
2009-01-07 23:17:05
Javascript Dates - Be aware of mutability
[ "javascript", "dates" ]
[ "Javascript" ]
It seems that http://www.markhneedham.com/blog/2008/09/18/using-javautildate-safely/[much like in Java], dates in Javascript are mutable, meaning that it is possible to change a date after it has been created. We had this painfully shown to us when using the http://datejs.com/[datejs] library to http://www.markhneedham.com/blog/2009/01/07/javascript-add-a-month-to-a-date/[manipulate some dates]. The erroneous code was similar to this: [source,javascript] ---- var jan312009 = new Date(2008, 1-1, 31); var oneMonthFromJan312009 = new Date(jan312009.add(1).month()); ---- See the subtle error? Outputting these two values gives the following: [source,text] ---- Fri Feb 29 2008 00:00:00 GMT+1100 (EST) Fri Feb 29 2008 00:00:00 GMT+1100 (EST) ---- The error is around how we have created the 'oneMonthFromJan312009': ____ var oneMonthFromJan312009 = new Date(*jan312009.add(1).month()*); ____ We created a new Date but we are also changing the value in 'jan312009' as well. It was the case of having the bracket in the wrong place. It should actually be after the 'jan312009' rather than at the end of the statement. This is the code we wanted: [source,javascript] ---- var jan312009 = new Date(2008, 1-1, 31); var oneMonthFromJan312009 = new Date(jan312009).add(1).month()); ---- Which leads to more expected results: [source,text] ---- Sat Jan 31 2009 00:00:00 GMT+1100 (EST) Sat Feb 28 2009 00:00:00 GMT+1100 (EST) ----
null
null
[ -0.029833324253559113, -0.009224707260727882, -0.030006282031536102, 0.005368138663470745, 0.07548722624778748, -0.023061582818627357, 0.05147653445601463, 0.060371074825525284, 0.008533994667232037, -0.008678372949361801, -0.009796389378607273, -0.001016817637719214, -0.06629438698291779, 0.015278724022209644, -0.05663437768816948, 0.06332015991210938, 0.0717177540063858, -0.026245325803756714, -0.001560697564855218, -0.004972029477357864, 0.02232464775443077, 0.05883001908659935, -0.0064458963461220264, 0.002620646031573415, 0.0223380234092474, 0.0026842928491532803, -0.03403627127408981, -0.02512391097843647, -0.0724521055817604, -0.02853216975927353, 0.0059218741953372955, 0.042166609317064285, -0.014860237948596478, 0.015323213301599026, -0.0014450466260313988, -0.0046279593370854855, -0.038780972361564636, -0.002816698746755719, 0.001450922922231257, 0.04886140674352646, -0.04841957613825798, 0.009251268580555916, 0.028624720871448517, 0.01675119251012802, -0.06653499603271484, -0.010095971636474133, -0.019678909331560135, 0.029195817187428474, -0.031772829592227936, 0.021777469664812088, -0.031031524762511253, 0.009431686252355576, 0.01110981497913599, -0.013653196394443512, -0.012904267758131027, 0.07232413440942764, 0.029361648485064507, -0.08101756125688553, 0.002976322313770652, -0.04889824241399765, 0.05822129547595978, -0.006471103988587856, -0.011649041436612606, -0.006524986587464809, -0.00962164718657732, -0.006048507522791624, -0.0014393286546692252, 0.04116995632648468, -0.03294744715094566, -0.03772260993719101, -0.012904644943773746, 0.012768181040883064, -0.012184897437691689, -0.01507051195949316, 0.015302811749279499, -0.04225661978125572, -0.04130014032125473, 0.044832807034254074, -0.0025703278370201588, 0.05058560520410538, -0.023187775164842606, -0.00120885472279042, 0.07455626875162125, 0.0036760095972567797, 0.029357027262449265, -0.024704672396183014, -0.046633630990982056, -0.018055688589811325, -0.03695623576641083, 0.034149494022130966, 0.02928074076771736, -0.05709734186530113, 0.0653228759765625, 0.038046497851610184, 0.003920769318938255, -0.02118799276649952, -0.007385308388620615, 0.015963848680257797, 0.012225564569234848, -0.024526547640562057, -0.033694345504045486, -0.008862966671586037, 0.023192165419459343, -0.014419086277484894, -0.04378329589962959, -0.03002108447253704, -0.03689345344901085, -0.025696879252791405, 0.021096622571349144, -0.0018366124713793397, -0.01745540276169777, 0.05114971473813057, 0.018608689308166504, -0.0023195247631520033, -0.05696508660912514, 0.05895426124334335, -0.009972259402275085, -0.045220255851745605, -0.03382544219493866, 0.02289551869034767, 0.0523807629942894, 0.0055506471544504166, -0.016760090366005898, 0.0814654678106308, 0.014990136958658695, 0.06830021739006042, 0.0032745145726948977, 0.06099037081003189, -0.028695227578282356, -0.06493818014860153, -0.0036310593131929636, 0.05218442156910896, -0.016219114884734154, -0.01393419411033392, 0.014888427220284939, -0.00895556528121233, -0.036918897181749344, -0.006510213948786259, 0.06878963857889175, 0.029107334092259407, -0.018184345215559006, -0.04418065771460533, -0.030805615708231926, -0.015413129702210426, -0.0008664699853397906, 0.061705928295850754, -0.018801134079694748, -0.040390122681856155, -0.03030913509428501, 0.01673516258597374, 0.04558291286230087, 0.02842848189175129, 0.05235536769032478, -0.016044871881604195, 0.02056300640106201, 0.0780874714255333, 0.014744690619409084, 0.014911673963069916, -0.03693892061710358, 0.01811118610203266, 0.03518518805503845, 0.01900203712284565, 0.0005436133942566812, 0.035440970212221146, 0.004920433275401592, -0.01225966215133667, 0.026981929317116737, 0.044848471879959106, -0.002799482084810734, -0.026237444952130318, -0.04538211226463318, -0.04247139021754265, 0.06275881081819534, -0.03913441300392151, -0.021607408300042152, 0.08147246390581131, 0.08782394975423813, 0.004423357546329498, 0.054497212171554565, 0.012760533951222897, -0.07282993197441101, 0.030859777703881264, 0.02502785250544548, 0.029202580451965332, 0.04743081331253052, -0.023702004924416542, 0.05347568914294243, -0.022732684388756752, 0.008813104592263699, 0.025225523859262466, -0.07501346617937088, -0.06141930818557739, -0.04590487480163574, -0.009923909790813923, 0.03954965993762016, -0.03669183701276779, -0.013119288720190525, 0.07778691500425339, 0.020695297047495842, 0.06046851724386215, -0.00008714313298696652, -0.015401260927319527, 0.028056664392352104, -0.028428027406334877, 0.008850924670696259, 0.026568014174699783, 0.06592351198196411, -0.00952634122222662, 0.006741428282111883, 0.03963970020413399, -0.016776718199253082, 0.0016279283445328474, 0.04552927613258362, -0.012329606339335442, -0.0017984966980293393, 0.04584263265132904, 0.05695195123553276, -0.02151702158153057, 0.006315856706351042, -0.04420972615480423, 0.03193521872162819, 0.015778671950101852, -0.0002784669050015509, -0.01985047571361065, 0.017456505447626114, 0.13223780691623688, 0.03309588506817818, -0.03828581050038338, -0.03305670619010925, -0.0010242954595014453, 0.019671669229865074, -0.03917653486132622, 0.005857279058545828, 0.007333029061555862, 0.04845596104860306, 0.0022476529702544212, -0.010822970420122147, -0.009058184921741486, -0.013482941314578056, -0.04017416760325432, 0.032217808067798615, 0.08472653478384018, -0.02980765886604786, 0.06568761169910431, -0.04563939571380615, 0.0015518015716224909, -0.0038785410579293966, -0.02894081361591816, -0.057671356946229935, 0.005904242396354675, 0.01770111918449402, -0.027054497972130775, 0.048688556998968124, -0.017433352768421173, -0.041108518838882446, 0.017109515145421028, -0.06202542036771774, 0.018618416041135788, 0.048254650086164474, 0.03592095151543617, -0.006596317980438471, 0.03527257964015007, 0.017337169498205185, -0.01939454674720764, -0.027310669422149658, -0.031868826597929, -0.019024742767214775, 0.018522243946790695, -0.02104366198182106, 0.03236417844891548, 0.04289569333195686, -0.009197275154292583, 0.005062372423708439, 0.048336710780858994, -0.032202813774347305, -0.0034021276514977217, 0.033474404364824295, -0.026787348091602325, -0.028917133808135986, -0.018525471910834312, -0.00808615330606699, 0.043868906795978546, -0.03122510015964508, -0.04997712001204491, 0.0031533194705843925, -0.07824025303125381, 0.024260133504867554, -0.05695971101522446, -0.052284255623817444, 0.012498403899371624, 0.00496159540489316, 0.04972347244620323, -0.007366745267063379, 0.03867075592279434, 0.08364931493997574, -0.00490788696333766, 0.012211263179779053, 0.008458353579044342, -0.0069564213044941425, 0.04754771292209625, 0.038704920560121536, -0.0010174649069085717, 0.07933732867240906, -0.01921885274350643, -0.009428323246538639, -0.024938195943832397, -0.0022490452975034714, -0.008333311416208744, -0.2255983203649521, 0.027663618326187134, -0.03373316675424576, -0.05280684679746628, 0.022196674719452858, -0.007820216938853264, 0.03688465431332588, -0.05020640045404434, -0.027215342968702316, 0.012235088273882866, 0.005949294660240412, -0.06551501899957657, -0.0523223951458931, 0.06581860035657883, 0.008514094166457653, -0.05395374074578285, -0.019270427525043488, -0.03950474038720131, -0.010753077454864979, 0.04450109973549843, -0.006728708278387785, -0.05273507535457611, 0.021681781858205795, 0.050674568861722946, 0.039539605379104614, 0.04847028851509094, -0.048840101808309555, 0.01801106333732605, -0.05480361729860306, -0.014521406032145023, -0.01292346976697445, -0.03892168402671814, 0.03913773596286774, -0.036769796162843704, -0.007541868835687637, -0.021008631214499474, 0.023137705400586128, 0.015132811851799488, 0.0022406887728720903, 0.0049421535804867744, -0.0375637523829937, -0.04038192704319954, 0.028272220864892006, 0.011614559218287468, 0.0916040912270546, -0.0004772208340000361, -0.05088599771261215, 0.015438541769981384, -0.03293998911976814, 0.046906691044569016, 0.02020731195807457, -0.02573806792497635, -0.016877466812729836, 0.02265937626361847, -0.019123168662190437, 0.005867406725883484, -0.02139176055788994, -0.038712140172719955, -0.00983978621661663, -0.020579759031534195, 0.008631345815956593, -0.04771506413817406, -0.009100851602852345, -0.03516259416937828, -0.024581843987107277, -0.07827271521091461, -0.0688522607088089, -0.01562732830643654, 0.0851883739233017, 0.018317455425858498, -0.014381914399564266, -0.006701698061078787, 0.005800802726298571, -0.10700692236423492, -0.006475290283560753, -0.035558439791202545, -0.025365974754095078, -0.022218437865376472, -0.06451762467622757, 0.027468686923384666, -0.0650518387556076, -0.04104912653565407, 0.016371918842196465, 0.02808368019759655, 0.03971274569630623, -0.03271694481372833, 0.019203733652830124, 0.002740298630669713, -0.029302358627319336, -0.019168829545378685, 0.052348051220178604, -0.04004688188433647, -0.023676786571741104, -0.019602425396442413, -0.00482685724273324, 0.04306706041097641, -0.0058497050777077675, -0.009401173330843449, 0.036749906837940216, 0.0008373777964152396, 0.013074284419417381, -0.04411860555410385, 0.04909750446677208, -0.056584835052490234, 0.00007466320676030591, -0.018983609974384308, -0.047989554703235626, 0.04862740635871887, -0.0064010899513959885, 0.04696141183376312, 0.0006799472612328827, -0.016857903450727463, -0.005522985011339188, -0.06364360451698303, -0.06623713672161102, -0.03183101862668991, -0.0036565540358424187, 0.02765105478465557, 0.014420585706830025, -0.021260958164930344, -0.054582737386226654, 0.013103526085615158, 0.025728793814778328, 0.0011393193854019046, -0.03215848654508591, -0.01473505049943924, -0.02133289910852909, 0.0021983589977025986, 0.048695992678403854, 0.01586053892970085, -0.022833475843071938, 0.04293278977274895, 0.008493670262396336, 0.0050050332210958, 0.007394745480269194, -0.030395979061722755, -0.015422276221215725, -0.02540057897567749, -0.03283783793449402, -0.0039046297315508127, 0.006068072281777859, 0.028639206662774086, -0.022786937654018402, -0.03148560971021652, 0.023067953065037727, 0.0025093175936490297, 0.04257351532578468, 0.021613599732518196, 0.0041562700644135475, 0.015364950522780418, 0.0007491033175028861, -0.07033149898052216, 0.005880123935639858, -0.030209310352802277, -0.05839962884783745, 0.018683932721614838, 0.02718718908727169, -0.007723841350525618, -0.04077165201306343, -0.027226032689213753, -0.002462958451360464, -0.07696215063333511, -0.002197449328377843, -0.010672779753804207, -0.001502322149462998, 0.06484732031822205, -0.0057825250551104546, 0.0522364042699337, -0.019733436405658722, -0.009293396957218647, -0.020167242735624313, -0.0003258911310695112, -0.03872229531407356, -0.001634906162507832, 0.0077850292436778545, -0.030650008469820023, -0.007310870103538036, -0.00007753129466436803, 0.020565185695886612, -0.0011932270135730505, 0.009946337901055813, 0.008141591213643551, -0.012834870256483555, 0.010287078097462654, 0.0349435918033123, -0.02673901990056038, 0.02657945454120636, -0.010286044329404831, -0.024180488660931587, -0.07600990682840347, -0.015359830111265182, -0.014434476383030415, -0.005341976415365934, -0.013487061485648155, -0.033112432807683945, -0.07819110155105591, 0.031153634190559387, 0.04400892183184624, 0.04330521076917648, 0.03336969017982483, -0.022909322753548622, -0.0019072705181315541, -0.04793994128704071, 0.030295442789793015, 0.04318626597523689, -0.048829883337020874, 0.006676982622593641, -0.005457779858261347, -0.012357033789157867, 0.005456957966089249, 0.019444994628429413, -0.026772107928991318, 0.004573905374854803, -0.024941079318523407, 0.007729194592684507, -0.015027603134512901, -0.03704047575592995, -0.034708984196186066, 0.025165684521198273, -0.01964840292930603, 0.023677315562963486, 0.008197124116122723, -0.002569722943007946, -0.0036759187933057547, -0.0069766840897500515, 0.026539750397205353, -0.044591981917619705, 0.040185701102018356, 0.046595893800258636, -0.007847496308386326, 0.05997653678059578, -0.022510692477226257, 0.012338652275502682, 0.021531952545046806, -0.025259127840399742, -0.05234384536743164, -0.04088829085230827, 0.006377352401614189, -0.01593446172773838, 0.06266587972640991, 0.007147705648094416, -0.014254587702453136, -0.03235882148146629, 0.0018873580265790224, -0.050843339413404465, 0.0076799290254712105, -0.04816985875368118, -0.015021483413875103, 0.012843269854784012, 0.0520811527967453, 0.040509797632694244, 0.01421293243765831, -0.012046730145812035, -0.011779687367379665, 0.03825293108820915, -0.07175994664430618, -0.0022840609308332205, -0.019083401188254356, -0.06822419911623001, -0.0048862178809940815, 0.01644614338874817, 0.03051433525979519, -0.03556571528315544, 0.042055871337652206, 0.05998091772198677, 0.04121245816349983, 0.045325711369514465, 0.004573793150484562, 0.008579813875257969, -0.02070842683315277, -0.024976668879389763, -0.10038809478282928, 0.030338020995259285, 0.019997917115688324, 0.0378088504076004, -0.02162199653685093, -0.015147287398576736, -0.01839783601462841, 0.017502060160040855, -0.06013747677206993, -0.006382622290402651, 0.03241533041000366, 0.011810808442533016, -0.013310371898114681, 0.027995049953460693, -0.058330126106739044, 0.010945424437522888, 0.055466942489147186, -0.04280772805213928, -0.023187708109617233, -0.020505916327238083, 0.06566143035888672, 0.011220511980354786, 0.019692400470376015, -0.03433489054441452, 0.02681637369096279, 0.0684676542878151, 0.01744229905307293, 0.025665953755378723, 0.027331942692399025, -0.011210140772163868, 0.03284774720668793, 0.0471007414162159, 0.011678159236907959, -0.007341407705098391, 0.024032745510339737, -0.014667974784970284, -0.053783830255270004, 0.016515128314495087, 0.023757141083478928, -0.03305019438266754, -0.009828641079366207, 0.08005353808403015, -0.001153286313638091, -0.02043299376964569, -0.041400741785764694, -0.01820976659655571, -0.022059272974729538, -0.01963692717254162, -0.016495266929268837, 0.005477169994264841, -0.036731988191604614, 0.058860763907432556, -0.016455866396427155, 0.02407129481434822, 0.07716242969036102, 0.0344989150762558, 0.013373191468417645, -0.021123331040143967, 0.0577361099421978, 0.08153719455003738, 0.039586637169122696, 0.006951577961444855, 0.05396741256117821, -0.004143154714256525, -0.03647071495652199, 0.026995189487934113, -0.07738924771547318, -0.03833075985312462, -0.01705784723162651, -0.0020064401905983686, 0.09663629531860352, -0.03967038542032242, 0.04765276610851288, 0.00484065618366003, -0.008171424269676208, -0.003988477401435375, 0.029391201213002205, 0.0227588452398777, 0.027147313579916954, 0.027890747413039207, -0.010209289379417896, -0.007840737700462341, -0.04813337326049805, 0.04906102642416954, -0.03662871569395065, -0.027259740978479385, 0.023775886744260788, 0.023227721452713013, 0.008092088624835014, -0.007251310627907515, 0.029170481488108635, 0.054873883724212646, -0.022400908172130585, 0.031184706836938858, 0.00777431670576334, 0.03440384194254875, 0.02124466747045517, 0.03602723404765129, -0.027774877846240997, -0.011455763131380081, 0.0027987933717668056, -0.01977960579097271, 0.002309312578290701, 0.004297690000385046, -0.021433290094137192, 0.04155026748776436, -0.03060348518192768, 0.022828102111816406, 0.025587840005755424, -0.0369688980281353, -0.03710019588470459, -0.02261807583272457, -0.014925436116755009, -0.059896230697631836, -0.07218381017446518, -0.014000878669321537, 0.033240918070077896, -0.05621146410703659, -0.027276040986180305, 0.021835463121533394, -0.008876558393239975, -0.003709347452968359, 0.004106966778635979, -0.051328979432582855, -0.041876908391714096, 0.046212490648031235, 0.03404827415943146, -0.01854022778570652, 0.02392483875155449, 0.03232775256037712, -0.01470651850104332, -0.03352769836783409, -0.03580986335873604, -0.0061090076342225075, 0.03298202529549599, 0.014056987129151821, 0.002904252614825964, -0.04842555522918701, 0.04096091911196709, 0.05006509646773338, -0.040759626775979996, -0.060293830931186676, 0.04656077176332474, -0.009637711569666862, -0.03193630278110504, 0.06391845643520355, 0.004916041158139706, -0.024944504722952843, 0.003302389057353139, -0.010607106611132622, 0.018775319680571556, 0.00100641546305269, 0.045959651470184326, -0.027485456317663193, 0.08406451344490051, 0.06258281320333481, -0.01752600260078907, -0.0031146216206252575, -0.007273796014487743, -0.0008892420446500182, -0.027553550899028778, -0.017307205125689507, -0.037840619683265686, -0.08139389008283615, -0.0772768035531044, -0.013540162704885006, 0.021004008129239082, -0.04635802283883095, -0.021831529214978218, 0.023943020030856133, 0.04527716338634491, -0.05186369642615318, 0.024417808279395103, -0.027024533599615097, 0.011452226899564266, -0.02548772469162941, -0.006488291081041098, 0.008089789189398289, 0.018864072859287262, 0.017678461968898773, -0.009875998832285404, 0.005062955431640148, -0.0660129263997078, 0.0044195824302732944, -0.009111972525715828, 0.000561789667699486, 0.014833147637546062, 0.00023659755242988467, 0.005495123099535704 ]
[ -0.10340872406959534, -0.023974383249878883, -0.0121413329616189, -0.01174685638397932, 0.01697264239192009, -0.07253408432006836, -0.007839935831725597, -0.0025201942771673203, -0.007944393903017044, 0.00860805343836546, 0.037988800555467606, -0.012025325559079647, -0.02600780688226223, 0.013005746528506279, 0.051802150905132294, 0.0145255820825696, -0.08731695264577866, -0.08338049799203873, -0.0498918779194355, 0.05641699582338333, 0.05312986299395561, 0.015356403775513172, -0.0750676617026329, -0.045806240290403366, 0.04160613566637039, 0.06339550018310547, 0.02954997308552265, -0.04053983837366104, -0.020376386120915413, -0.1657624989748001, -0.016964927315711975, -0.04034782573580742, 0.004732910543680191, -0.021597564220428467, -0.004202467389404774, -0.022482817992568016, 0.0393482968211174, 0.027934972196817398, 0.009032197296619415, 0.06157318875193596, 0.0009115093853324652, 0.028308028355240822, -0.038939397782087326, -0.06039537489414215, 0.028388462960720062, 0.004748966079205275, -0.01176973432302475, 0.011663541197776794, -0.017790786921977997, 0.03211318328976631, -0.04987044632434845, -0.015866516157984734, 0.0019336097175255418, -0.0178630780428648, 0.027630513533949852, 0.05822667479515076, 0.035625770688056946, 0.07621237635612488, 0.033710554242134094, 0.0364338643848896, 0.017639843747019768, -0.018018726259469986, -0.13600903749465942, 0.09999383985996246, 0.020160673186182976, 0.027386657893657684, -0.016750959679484367, -0.014124332927167416, -0.0580519437789917, 0.06410976499319077, 0.03627121075987816, 0.000028036805815645494, -0.03715057671070099, 0.02930106595158577, 0.021219592541456223, -0.043185845017433167, -0.00738069973886013, 0.012095822021365166, 0.05911405012011528, 0.012303433381021023, -0.04329941049218178, -0.04939188063144684, 0.016642143949866295, -0.05375007539987564, 0.008270854130387306, -0.034588947892189026, -0.008043206296861172, 0.005791264120489359, -0.0018927378114312887, 0.04344171658158302, 0.010194159112870693, -0.03671049699187279, 0.020821966230869293, 0.014245869591832161, -0.0731261819601059, 0.03369086980819702, 0.010119229555130005, 0.024596814066171646, -0.02951647900044918, 0.380061537027359, -0.04477065056562424, 0.0129847452044487, 0.017106976360082626, 0.04411944001913071, -0.035648901015520096, -0.006968223489820957, -0.0032727906946092844, -0.05491792783141136, 0.008594796061515808, -0.05178513005375862, -0.040710557252168655, -0.008431944064795971, 0.08392333984375, -0.06927360594272614, -0.006968734320253134, 0.019802149385213852, 0.04757167398929596, 0.008303484879434109, 0.022424818947911263, 0.05976345017552376, 0.036369021981954575, 0.013818589970469475, 0.042411115020513535, 0.02338818833231926, -0.006554868072271347, 0.018519727513194084, 0.026165997609496117, 0.05769271403551102, -0.008302740752696991, -0.029631366953253746, 0.07710406184196472, -0.02892347238957882, -0.048285871744155884, 0.013620504178106785, 0.027310313656926155, 0.018007205799221992, -0.01563079282641411, -0.033962182700634, 0.06064988672733307, 0.002943234983831644, -0.037306737154722214, -0.06364697217941284, 0.020897582173347473, 0.0013709268532693386, -0.05168032646179199, 0.12399926036596298, 0.019356565549969673, -0.03211042657494545, 0.018615759909152985, 0.014199862256646156, -0.06036021187901497, 0.03648914024233818, 0.017687294632196426, -0.07405635714530945, 0.007669095881283283, 0.02698485553264618, 0.05552094802260399, -0.0030772648751735687, -0.04552531987428665, -0.03477057069540024, -0.008215696550905704, -0.0018059535650536418, -0.0488768070936203, 0.025263411924242973, 0.08151068538427353, -0.09933698177337646, 0.002005729591473937, 0.02328220196068287, 0.05165689066052437, -0.07849494367837906, -0.01265630591660738, 0.026301661506295204, -0.025975322350859642, -0.01619020849466324, 0.10191968828439713, 0.0015473824460059404, 0.037762414664030075, -0.0075367470271885395, 0.031722959131002426, -0.008993937633931637, -0.007355988956987858, 0.03505654260516167, -0.05683155730366707, 0.009686682373285294, -0.002369833877310157, -0.07715453207492828, -0.01871350035071373, -0.0169815793633461, 0.030313950031995773, 0.013357964344322681, 0.005320281255990267, -0.07527405023574829, -0.0738903358578682, 0.07457341998815536, -0.03868424892425537, -0.027756888419389725, -0.018609995022416115, 0.01511678472161293, 0.009110260754823685, -0.04094589501619339, 0.010042840614914894, -0.026331402361392975, 0.012305006384849548, 0.03003579191863537, -0.04186691716313362, 0.04686765745282173, 0.0899258404970169, -0.07919453084468842, 0.050521478056907654, 0.04855473339557648, -0.033117394894361496, -0.0061216456815600395, 0.013218816369771957, 0.008876697160303593, 0.011842724867165089, -0.02432888001203537, -0.05002518370747566, -0.0069187660701572895, -0.0008044284768402576, -0.00275043910369277, -0.03887850418686867, -0.02622159942984581, 0.05315777659416199, -0.33516737818717957, -0.025571106001734734, 0.010574770160019398, -0.02430303767323494, 0.031506944447755814, -0.03370252624154091, -0.008807056583464146, -0.04185871779918671, -0.018942860886454582, 0.04865428805351257, 0.045769136399030685, -0.03423575684428215, -0.03234044089913368, -0.0772523581981659, -0.02785925567150116, 0.024101827293634415, -0.02360730990767479, -0.06792908161878586, 0.005339339841157198, 0.0034289739560335875, -0.032292019575834274, 0.005034668371081352, -0.038873858749866486, -0.09250672906637192, 0.0033562451135367155, -0.0394052192568779, 0.09700687229633331, 0.022354232147336006, 0.05582867190241814, -0.06842485070228577, 0.07867895066738129, -0.04763491824269295, 0.026028402149677277, -0.06946122646331787, -0.002925414126366377, -0.03013669140636921, -0.015759192407131195, -0.017031114548444748, 0.002325810957700014, -0.029802586883306503, -0.032250743359327316, -0.008799952454864979, -0.01418361533433199, 0.015202270820736885, -0.007755761034786701, 0.043109674006700516, 0.0047205057926476, -0.01668398827314377, -0.01889081485569477, 0.05707159265875816, 0.0187484510242939, -0.006586199160665274, 0.04821871966123581, 0.0441817045211792, 0.02184281498193741, -0.012402696534991264, -0.05592460557818413, 0.004079821053892374, 0.022486994042992592, 0.0035103391855955124, 0.03447877615690231, 0.05157461017370224, 0.02241816371679306, -0.01920471526682377, -0.0038813536521047354, 0.049147624522447586, 0.0037421074230223894, -0.04987587779760361, -0.009565196000039577, 0.02230592630803585, -0.047874972224235535, 0.11265619099140167, -0.003921017050743103, -0.007487576454877853, 0.03214682638645172, 0.025262245908379555, -0.03934897854924202, 0.02927403338253498, 0.02723436802625656, -0.005655564367771149, 0.010196895338594913, -0.00565776601433754, 0.06783048808574677, 0.005316162947565317, 0.015602883882820606, 0.031727809458971024, -0.013324744068086147, 0.011948521248996258, 0.022752229124307632, -0.024099698290228844, -0.05261213704943657, -0.026577437296509743, -0.038511861115694046, -0.04495527967810631, 0.06615093350410461, -0.03971366211771965, -0.2711811661720276, 0.052110880613327026, 0.05659713223576546, 0.04513069614768028, 0.01434803381562233, 0.027570350095629692, -0.0604957714676857, -0.014901025220751762, -0.026419566944241524, 0.04427166283130646, -0.00807134248316288, 0.02852184884250164, 0.021169433370232582, -0.005957828368991613, 0.03547560051083565, 0.005826778709888458, -0.0168309286236763, 0.022460421547293663, 0.02502451278269291, -0.01693461835384369, 0.06664063036441803, 0.019510772079229355, 0.1705043464899063, 0.0432158038020134, -0.01217310968786478, 0.021436482667922974, 0.019069956615567207, 0.05436665564775467, 0.10200664401054382, 0.00702274264767766, -0.028131581842899323, 0.014083689078688622, 0.07167875021696091, 0.03049866482615471, 0.01786980591714382, -0.05470410734415054, -0.051766328513622284, 0.0463581308722496, 0.036491915583610535, -0.053248465061187744, -0.047825463116168976, 0.020579641684889793, -0.009835676290094852, 0.02645556814968586, 0.10205753147602081, 0.029619017615914345, 0.014407447539269924, -0.04553719982504845, -0.015133226290345192, -0.019960876554250717, -0.04042162746191025, -0.04462161287665367, -0.02489027939736843, 0.02071632631123066, -0.0387294739484787, 0.009329295717179775, 0.05866657942533493, -0.028057711198925972, -0.017389344051480293, 0.005168495699763298, -0.0031207227148115635, -0.014695068821310997, 0.08583442121744156, 0.0032668060157448053, -0.01531272754073143 ]
[ -0.03337487950921059, -0.006221032701432705, 0.03552677482366562, 0.037158723920583725, 0.0019185551209375262, 0.03983331099152565, -0.027451904490590096, 0.017077330499887466, 0.030475810170173645, -0.037099722772836685, -0.03746143355965614, -0.0010533785680308938, -0.01132292952388525, -0.06343871355056763, 0.015466730110347271, -0.0012504674959927797, -0.007281813304871321, 0.009483518078923225, 0.05983991175889969, 0.03656533360481262, -0.004344334360212088, -0.006819013971835375, 0.0073923771269619465, 0.008661506697535515, 0.010148546658456326, 0.028618551790714264, -0.021856267005205154, 0.021941157057881355, 0.005109977442771196, -0.10193023830652237, -0.019917218014597893, -0.006394222378730774, -0.04844559729099274, -0.007847750559449196, -0.011384109035134315, 0.021840179339051247, -0.019227268174290657, -0.00008719202014617622, 0.03208896890282631, 0.0004185532161500305, -0.041339535266160965, -0.004719123709946871, 0.027399646118283272, -0.03612728789448738, -0.007179143838584423, -0.01339151244610548, -0.02154058776795864, 0.008876360021531582, -0.07691124081611633, 0.034225109964609146, -0.031783878803253174, -0.0193623136729002, -0.040999773889780045, 0.016401711851358414, 0.03299258276820183, -0.01582103595137596, -0.05629570037126541, -0.0006781241972930729, 0.003469242248684168, 0.015808481723070145, -0.004929929040372372, 0.05273975059390068, -0.04851792752742767, -0.016601692885160446, 0.022483929991722107, -0.05491050332784653, 0.01848592422902584, 0.0029349608812481165, 0.029000278562307358, 0.003796200966462493, -0.023553231731057167, 0.04246344789862633, -0.005709419492632151, 0.00945059023797512, -0.05282893776893616, -0.0013681167038157582, -0.024047669023275375, -0.0013133144238963723, 0.044044964015483856, -0.027222000062465668, -0.02853929065167904, -0.00007299549906747416, 0.010569573380053043, 0.007481459062546492, 0.006300739943981171, -0.028216028586030006, 0.009041269309818745, 0.058493874967098236, 0.02006150595843792, -0.00600438192486763, 0.0037940212059766054, -0.005593125708401203, 0.028470225632190704, 0.04497850313782692, -0.0923851728439331, 0.0015565496869385242, -0.03754518926143646, 0.016822075471282005, 0.02843114174902439, 0.823183000087738, 0.022196007892489433, 0.06276361644268036, -0.023334911093115807, 0.033341895788908005, 0.02515525184571743, 0.0008762737270444632, -0.03498747944831848, -0.02072722464799881, -0.010016920045018196, -0.005531279370188713, -0.005277535878121853, 0.03918871656060219, 0.022786634042859077, -0.030935797840356827, -0.01492222212255001, 0.009881501086056232, 0.026829876005649567, -0.022504543885588646, 0.019495021551847458, 0.0365663580596447, 0.037328898906707764, 0.024702416732907295, 0.01072372030466795, 0.004829137120395899, 0.020825890824198723, -0.14186213910579681, 0.04248901456594467, -7.001433167277645e-33, 0.03077763132750988, -0.02010832540690899, 0.06139611080288887, -0.02747238613665104, 0.016340209171175957, 0.03998737037181854, 0.0016580671072006226, 0.03173496201634407, 0.008158845826983452, -0.045412492007017136, 0.022830238565802574, -0.02754373662173748, -0.007939078845083714, -0.07241024076938629, 0.012939956970512867, -0.020491262897849083, 0.015195803716778755, 0.034073516726493835, 0.04130022972822189, 0.028074780479073524, 0.016938917338848114, -0.016452929005026817, 0.06982871890068054, 0.0153500372543931, -0.013995599932968616, 0.03593580424785614, 0.01422090083360672, 0.03502776473760605, -0.02118297666311264, -0.03996269404888153, 0.005469494499266148, -0.03211478516459465, -0.026786087080836296, -0.018807774409651756, 0.06387720257043839, -0.04642114415764809, -0.026754137128591537, 0.0015915125841274858, -0.010768840089440346, 0.022374583408236504, -0.07095327228307724, -0.01668400876224041, -0.042613424360752106, -0.02980620414018631, -0.0016899979673326015, 0.013186490163207054, 0.012385403737425804, 0.03232276067137718, -0.0006320810643956065, 0.0200206246227026, -0.061043623834848404, 0.008813496679067612, 0.004067535977810621, -0.031696170568466187, -0.04107210040092468, 0.034322403371334076, 0.01831168122589588, 0.01413991954177618, -0.03212914243340492, -0.018669545650482178, 0.020140156149864197, -0.0038871015422046185, -0.01334188412874937, -0.014109396375715733, -0.02902299538254738, -0.009091549552977085, 0.02311527729034424, 0.0203623715788126, 0.018772730603814125, 0.04798554256558418, -0.04085376113653183, 0.013303522951900959, -0.014969147741794586, 0.03682918846607208, -0.006879804655909538, -0.016621960327029228, 0.01879507675766945, -0.013735462911427021, 0.0184249859303236, 0.005079327616840601, 0.03861093148589134, -0.01907065138220787, 0.03224833682179451, 0.0161313284188509, -0.020551221445202827, -0.017693284898996353, 0.0003061466559302062, 0.03708575293421745, -0.0057538836263120174, 0.016484038904309273, 0.055323436856269836, 0.010913780890405178, -0.006583822425454855, -0.009460565634071827, 0.008211060427129269, 6.484480873828743e-33, -0.005706551484763622, -0.001747869304381311, -0.030218422412872314, 0.018406348302960396, 0.02595570869743824, -0.05536879971623421, -0.020234370604157448, 0.05064051225781441, -0.022963853552937508, 0.0545918233692646, -0.01796039007604122, -0.005417872220277786, -0.04275574907660484, 0.03323987498879433, 0.051356714218854904, -0.02494099922478199, 0.02945425920188427, 0.008151108399033546, -0.004027897957712412, -0.015980198979377747, 0.013675365597009659, 0.018183516338467598, -0.01656423881649971, -0.00211014854721725, 0.06571871042251587, 0.02213548682630062, -0.01957657001912594, 0.018841518089175224, 0.0011224995832890272, 0.02375056780874729, -0.009429102763533592, -0.014164307154715061, -0.0025299929548054934, -0.03592709079384804, -0.01830924116075039, 0.02593749389052391, 0.012946651317179203, -0.006212195381522179, 0.03751763701438904, -0.01003946177661419, -0.002986426465213299, -0.030258772894740105, -0.022307034581899643, 0.036734066903591156, 0.023030711337924004, 0.04528089612722397, 0.013491876423358917, 0.040301613509655, 0.017161458730697632, -0.016299445182085037, 0.005356081295758486, -0.03812963142991066, -0.017897455021739006, 0.0002543960581533611, 0.01537027582526207, -0.04923603683710098, -0.023344045504927635, -0.017381034791469574, -0.02117190696299076, -0.01050723996013403, -0.05180426687002182, -0.004560748115181923, -0.026049552485346794, -0.026204219087958336, -0.030887339264154434, -0.04062971472740173, -0.020187845453619957, -0.028353586792945862, 0.00693695480003953, -0.01578112505376339, -0.0099968696013093, -0.007904831320047379, -0.014600971713662148, 0.011335956864058971, -0.0006166919483803213, -0.014637695625424385, -0.005736424122005701, 0.008491565473377705, -0.0405888557434082, 0.030948342755436897, 0.012092738412320614, 0.020776337012648582, -0.0036972842644900084, 0.002139020711183548, -0.003175068413838744, 0.03429047018289566, -0.02463231049478054, 0.008069630712270737, -0.011253874748945236, -0.058420579880476, -0.022192537784576416, -0.0016670802142471075, -0.041431084275245667, 0.031795062124729156, -0.00320280808955431, -1.2481804922970241e-8, -0.014872723259031773, 0.0010034452425315976, -0.024242529645562172, -0.008581739850342274, 0.017106158658862114, -0.025992387905716896, -0.021479841321706772, 0.0026950316969305277, 0.013496835716068745, 0.0026673059910535812, 0.05772611126303673, -0.0034611341543495655, 0.05010131001472473, 0.05362895131111145, -0.03495410084724426, -0.04576236009597778, -0.028985871002078056, 0.012836886569857597, -0.0007359886658377945, 0.027252869680523872, 0.027721157297492027, 0.007533864583820105, 0.0564628429710865, -0.020906908437609673, 0.03898876532912254, -0.01811121590435505, 0.005076861474663019, -0.05110078305006027, 0.011591067537665367, 0.012676621787250042, 0.018487799912691116, -0.02837955579161644, -0.011114271357655525, -0.016364315524697304, -0.05412449315190315, -0.028764402493834496, -0.014369044452905655, 0.02990485355257988, -0.027316967025399208, 0.002799627836793661, 0.017144910991191864, -0.002100004581734538, -0.02708674967288971, -0.0006477808929048479, -0.009400466457009315, -0.0045877317897975445, -0.035961784422397614, -0.01693086326122284, 0.008170375600457191, -0.0452398881316185, 0.006703822873532772, 0.009134722873568535, 0.013525111600756645, 0.02291707880795002, 0.02133389562368393, 0.0055856420658528805, 0.015407701954245567, -0.034605156630277634, -0.024742331355810165, -0.014331932179629803, 0.011077981442213058, 0.001299788011237979, -0.01081722229719162, -0.0337657704949379 ]
javascript-dates-be-aware-of-mutability
https://markhneedham.com/blog/2009/01/07/javascript-dates-be-aware-of-mutability
false
2009-01-07 23:00:58
Javascript: Add a month to a date
[ "javascript", "datejs" ]
[ "Javascript" ]
We've been doing a bit of date manipulation in Javascript on my current project and one of the things that we wanted to do is add 1 month to a given date. We can kind of achieve this using the standard date libraries but it doesn't work for edge cases. For example, say we want to add one month to January 31st 2009. We would expect one month from this date to be February 28th 2009: [source,javascript] ---- var jan312009 = new Date(2009, 1-1, 31); var oneMonthFromJan312009 = new Date(new Date(jan312009).setMonth(jan312009.getMonth()+1)); ---- The output of these two variables is: [source,javascript] ---- Sat Jan 31 2009 00:00:00 GMT+1100 (EST) Tue Mar 03 2009 00:00:00 GMT+1100 (EST) ---- Not quite what we want! Luckily there is a library called http://www.datejs.com/[datejs] which has taken care of this problem for us. It provides a really nice http://www.martinfowler.com/bliki/DomainSpecificLanguage.html[DSL] which makes it very easy for us to do what we want. We can add a month to a date very easily now: [source,javascript] ---- var jan312009 = new Date(2009, 1-1, 31); var oneMonthFromJan312009 = new Date(jan312009).add(1).month(); ---- [source,javascript] ---- Sat Jan 31 2009 00:00:00 GMT+1100 (EST) Sat Feb 28 2009 00:00:00 GMT+1100 (EST) ---- There are loads of other useful date manipulation functions which you can read more about on the http://code.google.com/p/datejs/wiki/APIDocumentation[API], just don't forget that date in Javascript is mutable so any manipulation done to dates contained in vars will change the original value.
null
null
[ -0.03220009803771973, -0.011019770056009293, 0.002560361986979842, 0.042343780398368835, 0.06385529786348343, -0.0042634946294128895, 0.03777666762471199, 0.053911179304122925, 0.004956366028636694, -0.012228368781507015, 0.005431882105767727, 0.005787537433207035, -0.07749661803245544, 0.015107040293514729, -0.030575966462492943, 0.06902501732110977, 0.07478881627321243, -0.01722320169210434, 0.0011731921695172787, -0.027049489319324493, 0.02492501027882099, 0.029811182990670204, 0.015952885150909424, 0.004819446709007025, 0.007878564298152924, -0.02002432569861412, -0.025487571954727173, -0.036082759499549866, -0.06505897641181946, -0.02349007874727249, 0.018985042348504066, 0.02727217599749565, -0.01637711003422737, 0.0031319318804889917, 0.011709962971508503, -0.011416482739150524, -0.04140951484441757, -0.004143090918660164, -0.004364713095128536, 0.054323721677064896, -0.06066508963704109, 0.028022605925798416, 0.02748534269630909, 0.001359325717203319, -0.04978787899017334, -0.004191486164927483, -0.02988605760037899, 0.030735725536942482, -0.018794264644384384, 0.012322131544351578, -0.05494315177202225, 0.020356755703687668, 0.0037769463378936052, -0.0025922663044184446, -0.02847328595817089, 0.07736805826425552, 0.026783933863043785, -0.07566450536251068, -0.021610163152217865, -0.034586548805236816, 0.04700969159603119, -0.006202304735779762, -0.004154578782618046, 0.007492744363844395, -0.00018575113790575415, 0.004789609927684069, -0.007146790158003569, 0.051686596125364304, -0.011387303471565247, -0.040192462503910065, 0.0021403953433036804, 0.019474761560559273, -0.021092412993311882, -0.016734158620238304, 0.009617496281862259, -0.04091065376996994, -0.018839355558156967, 0.04000060632824898, 0.0009795977966859937, 0.03058270551264286, -0.021257273852825165, 0.010436182841658592, 0.05370454490184784, 0.005983647424727678, 0.018476637080311775, -0.018665408715605736, -0.07964887470006943, -0.02680940367281437, -0.060511671006679535, 0.02472374029457569, 0.02272960916161537, -0.07665777206420898, 0.07147679477930069, 0.03738637641072273, 0.029029736295342445, 0.000060391510487534106, -0.0006487030768766999, 0.026441920548677444, 0.040533699095249176, -0.006717129610478878, -0.014657248742878437, -0.027571074664592743, 0.035055916756391525, -0.013917758129537106, -0.04957520216703415, -0.0354376956820488, -0.029005784541368484, -0.01743721030652523, 0.028026437386870384, -0.010814283974468708, -0.03907515108585358, 0.03075624443590641, 0.0014787085819989443, 0.009245271794497967, -0.07252983748912811, 0.05680349841713905, -0.011289174668490887, -0.026001114398241043, -0.03498854488134384, 0.025042228400707245, 0.03817504644393921, -0.002779314061626792, -0.02563135325908661, 0.07783936709165573, 0.013483023270964622, 0.058625396341085434, -0.007310010492801666, 0.08596279472112656, -0.017559142783284187, -0.0658702403306961, -0.0014855648623779416, 0.04745309799909592, 0.00034409345244057477, -0.01778569445014, 0.009493761695921421, -0.00383302615955472, -0.010633852332830429, 0.0003074890119023621, 0.07242336124181747, 0.008913246914744377, -0.012448747642338276, -0.053412772715091705, -0.023902324959635735, -0.028886744752526283, 0.015646684914827347, 0.03174860402941704, -0.02520030364394188, -0.04975242167711258, -0.03002639301121235, 0.007180113811045885, 0.030543947592377663, 0.01677774079144001, 0.053401485085487366, -0.01920071244239807, 0.020579475909471512, 0.07968395203351974, 0.01931500993669033, 0.000011842132153105922, -0.024358605965971947, -0.016606498509645462, 0.01243972685188055, 0.01735753007233143, 0.0036941084545105696, 0.057844389230012894, 0.0006267508724704385, 0.003874518210068345, 0.02161182276904583, 0.0380089208483696, -0.03472037613391876, -0.021700214594602585, -0.02984275110065937, -0.0025982018560171127, 0.070554718375206, -0.03634437173604965, -0.01163572072982788, 0.08400682359933853, 0.0877901241183281, 0.003456877078860998, 0.04479670524597168, -0.007855995558202267, -0.0747765451669693, 0.026335665956139565, 0.0338079035282135, 0.008487609215080738, 0.018019404262304306, -0.018643323332071304, 0.049921032041311264, -0.02900046855211258, 0.012354913167655468, 0.044328395277261734, -0.07572655379772186, -0.047887250781059265, -0.04400727525353432, -0.01850767806172371, 0.05267898738384247, -0.052321355789899826, -0.00556197389960289, 0.07025419175624847, 0.011406642384827137, 0.06309862434864044, -0.0019468712853267789, -0.03807704895734787, 0.041533488780260086, -0.008042819797992706, -0.0039968122728168964, 0.01545956451445818, 0.03931986168026924, -0.011251990683376789, 0.026718994602560997, 0.031275004148483276, -0.019402053207159042, -0.005095023661851883, 0.059518035501241684, -0.005601502023637295, -0.005276633892208338, 0.0463140569627285, 0.06299763917922974, -0.02632465586066246, 0.02044537104666233, -0.03919282555580139, 0.0547637976706028, 0.009058887138962746, -0.011186184361577034, -0.03107183426618576, 0.024711886420845985, 0.13620814681053162, 0.04975578933954239, -0.04666203260421753, -0.034181252121925354, -0.01370824035257101, 0.0022371166851371527, -0.04066237807273865, 0.01765815168619156, 0.007131366990506649, 0.04178175330162048, 0.02024492435157299, -0.005350104067474604, -0.0021156813018023968, -0.018222473561763763, -0.04585520178079605, 0.04865701496601105, 0.06738156080245972, -0.016041919589042664, 0.07531406730413437, -0.031651098281145096, 0.020852332934737206, -0.0100638372823596, -0.01256292313337326, -0.02600375935435295, 0.003114062827080488, 0.025969060137867928, -0.00844326987862587, 0.03976968675851822, -0.007303507532924414, -0.041884247213602066, 0.0070497640408575535, -0.037088342010974884, 0.01321384496986866, 0.04635101929306984, 0.04903016239404678, 0.012047446332871914, 0.0259589571505785, 0.015993185341358185, 0.00001678990520304069, -0.035728391259908676, -0.03360047936439514, -0.033551741391420364, -0.001591671141795814, 0.008022710680961609, 0.01637066714465618, 0.04773043841123581, -0.015665849670767784, 0.02854551561176777, 0.04196885973215103, -0.030440431088209152, -0.013285936787724495, 0.01817898079752922, -0.033441197127103806, -0.04897189512848854, -0.04119335487484932, -0.002150908811017871, 0.05799436196684837, -0.03409798443317413, -0.045787129551172256, -0.008947097696363926, -0.08349142223596573, 0.03871599957346916, -0.07527246326208115, -0.03412638232111931, -0.00881950929760933, -0.00842756126075983, 0.03599223494529724, -0.015201662667095661, 0.03091590851545334, 0.07265563309192657, 0.00019122080993838608, 0.017198782414197922, -0.00004128564614802599, 0.020189639180898666, 0.029887879267334938, 0.04757671430706978, -0.0027094949036836624, 0.08653654903173447, -0.004790056496858597, -0.02316460758447647, -0.050152167677879333, 0.013680186122655869, -0.03957020863890648, -0.2304740697145462, 0.029153212904930115, -0.05702967196702957, -0.060059577226638794, 0.018268899992108345, -0.023446202278137207, 0.03908725827932358, -0.0523524135351181, -0.016332441940903664, -0.013544942252337933, 0.011130979284644127, -0.07675354927778244, -0.06314970552921295, 0.06027914583683014, 0.0296670813113451, -0.04402025043964386, -0.019661886617541313, -0.032325197011232376, 0.008992030285298824, 0.025425245985388756, -0.006195995956659317, -0.06374805420637131, 0.043111737817525864, 0.05418529361486435, 0.029229886829853058, 0.05422062799334526, -0.04577421769499779, 0.008229379542171955, -0.0489618219435215, -0.016334228217601776, 0.003727103816345334, -0.03038140945136547, 0.029032649472355843, -0.03437192365527153, 0.0014015824999660254, -0.02309783361852169, 0.05069795995950699, 0.005259708967059851, 0.0040273466147482395, -0.001688492950052023, -0.016543392091989517, -0.01669021137058735, 0.03690197691321373, 0.04310659319162369, 0.12387026101350784, 0.0013339313445612788, -0.04246699437499046, 0.010791772976517677, -0.02870083972811699, 0.05373399332165718, 0.0020176616962999105, -0.009519931860268116, -0.03801431506872177, 0.03035569377243519, -0.018626870587468147, 0.009885273873806, -0.02867494523525238, -0.03268404304981232, -0.025523927062749863, -0.016644053161144257, 0.015093391761183739, -0.023322895169258118, -0.013547835871577263, -0.048532240092754364, -0.006727916654199362, -0.09550163894891739, -0.060805462300777435, -0.04124075174331665, 0.049759697169065475, 0.04027911648154259, 0.000511440506670624, -0.007054495625197887, -0.007706142496317625, -0.10138501226902008, 0.0010254208464175463, -0.023149963468313217, -0.00018510247173253447, -0.011834470555186272, -0.04962087795138359, 0.019817296415567398, -0.054833944886922836, -0.03323310986161232, 0.007543421350419521, 0.02312505431473255, 0.026794318109750748, -0.025197438895702362, 0.013551224954426289, -0.01401668880134821, -0.02771565690636635, -0.00474223168566823, 0.05013203248381615, -0.02980547957122326, -0.004255328793078661, -0.010083559900522232, -0.008029448799788952, 0.03296693041920662, 0.00538743007928133, -0.004532877821475267, 0.02575107291340828, 0.005010515917092562, 0.014409499242901802, -0.021181456744670868, 0.030923590064048767, -0.056118324398994446, -0.011586767621338367, -0.023625973612070084, -0.03751512989401817, 0.05357836186885834, -0.0033337839413434267, 0.03247351571917534, -0.011710720136761665, -0.011189814656972885, -0.012044431641697884, -0.053662337362766266, -0.06985563039779663, -0.020841846242547035, -0.01230690535157919, 0.029212063178420067, 0.003716107225045562, -0.03649402782320976, -0.0631357878446579, -0.009646937251091003, 0.021638719365000725, 0.01728619448840618, -0.035287730395793915, -0.006890644785016775, -0.039160359650850296, 0.03060622327029705, 0.05306879058480263, 0.02177872322499752, -0.020776206627488136, 0.05611136555671692, -0.007012798450887203, -0.018512669950723648, 0.023696651682257652, -0.03810497000813484, 0.00773754483088851, -0.02978784590959549, -0.00671342620626092, 0.008237725123763084, 0.01500630658119917, 0.03123217448592186, -0.012567329220473766, -0.004827273543924093, 0.03825431317090988, 0.007078452501446009, 0.01857183501124382, 0.008078501559793949, 0.002318521961569786, 0.014386195689439774, -0.021968094632029533, -0.07159531861543655, -0.004732824862003326, -0.03679637238383293, -0.027345094829797745, 0.005835273768752813, 0.03244495764374733, 0.00417162524536252, -0.051636721938848495, -0.019475292414426804, 0.007457421161234379, -0.0420512817800045, -0.011356045491993427, -0.015600101090967655, 0.01695382036268711, 0.05357655510306358, 0.006123990286141634, 0.04856416583061218, -0.004780516028404236, -0.0022625417914241552, -0.014358477666974068, -0.005820842459797859, -0.03500017523765564, 0.0219627246260643, -0.009776019491255283, -0.03228786587715149, -0.01553194597363472, -0.009140672162175179, 0.03964800015091896, 0.011178354732692242, 0.014745790511369705, -0.008850078098475933, -0.024536149576306343, 0.02143017016351223, 0.03878350928425789, -0.013746182434260845, -0.011736421845853329, -0.004841165617108345, -0.03342929854989052, -0.049880340695381165, -0.023378746584057808, -0.03371105715632439, -0.012332608923316002, -0.021707823500037193, -0.021301258355379105, -0.08411456644535065, 0.04474688693881035, 0.03192095085978508, 0.026400359347462654, 0.03115701675415039, -0.03605082631111145, -0.002525204559788108, -0.03619103878736496, 0.060281507670879364, 0.04874265938997269, -0.0506160706281662, 0.013908697292208672, -0.004243808798491955, 0.016249358654022217, 0.007172430399805307, 0.027049213647842407, -0.045079343020915985, -0.006234617903828621, -0.013981555588543415, 0.0034679388627409935, -0.01152066420763731, -0.03192297741770744, -0.049764297902584076, 0.0062721953727304935, -0.0033007049933075905, 0.03207739070057869, -0.009700853377580643, -0.014492716640233994, -0.023558400571346283, 0.001174058299511671, 0.033341024070978165, -0.03682541102170944, 0.02699858509004116, 0.05263702571392059, 0.002301241271197796, 0.03242586925625801, -0.04079609736800194, 0.005543513223528862, 0.008582173846662045, -0.027154654264450073, -0.04177442193031311, -0.06196696683764458, -0.006179905496537685, -0.00656416080892086, 0.057995766401290894, 0.0007417540182359517, -0.013058846816420555, -0.04978254437446594, 0.008876049891114235, -0.027933847159147263, 0.008196496404707432, -0.03160006180405617, -0.01979217119514942, 0.010633911937475204, 0.04921266436576843, 0.009076849557459354, 0.009610960260033607, 0.009294700808823109, -0.02063688077032566, 0.03374762460589409, -0.07041630148887634, 0.0006636003381572664, -0.0031622154638171196, -0.06164318323135376, 0.003907224163413048, 0.004529827274382114, 0.026031015440821648, -0.03470972925424576, 0.06830274313688278, 0.05773098021745682, 0.045406803488731384, 0.03139108419418335, -0.0018203394720330834, 0.011366589926183224, 0.012615136802196503, -0.010829833336174488, -0.08093428611755371, 0.012761768884956837, -0.0009668698185123503, 0.03771280124783516, -0.03765552490949631, -0.007451710291206837, 0.0034816705156117678, 0.01880265213549137, -0.06951969116926193, -0.018119854852557182, 0.029483947902917862, 0.007781473454087973, -0.015331258997321129, 0.0029055436607450247, -0.06212105229496956, -0.00022961721697356552, 0.0654347687959671, -0.03482072800397873, -0.012315325438976288, 0.002540931338444352, 0.06579224020242691, -0.019119160249829292, 0.03062942996621132, -0.05336040258407593, 0.0016673452919349074, 0.0608469620347023, 0.024920878931879997, 0.007513764780014753, 0.017817705869674683, 0.0011887128930538893, 0.037276603281497955, 0.01959354430437088, 0.0016420769970864058, -0.025715695694088936, 0.04561861604452133, -0.011788809671998024, -0.04332682490348816, 0.032495755702257156, 0.014259373769164085, -0.028327619656920433, 0.007546778302639723, 0.07877429574728012, -0.01838875375688076, -0.005315186455845833, -0.03354183956980705, 0.008130980655550957, -0.01887807995080948, -0.015090943314135075, -0.0041786921210587025, -0.0237977784126997, -0.01850055903196335, 0.05493655055761337, -0.023390386253595352, 0.00229702633805573, 0.07571956515312195, 0.027700286358594894, 0.02325032837688923, -0.018701843917369843, 0.08375436812639236, 0.08207893371582031, 0.05496751889586449, 0.0012133559212088585, 0.06222763657569885, -0.014408965595066547, -0.04420667514204979, -0.0023905334528535604, -0.06474287062883377, -0.018867142498493195, -0.017855443060398102, 0.029377972707152367, 0.0940730944275856, -0.04624505713582039, 0.04146547242999077, 0.006257194094359875, -0.021571356803178787, 0.010954029858112335, 0.04393358156085014, -0.0031565430108457804, 0.020399847999215126, 0.04244913160800934, -0.0196484737098217, -0.03383534029126167, -0.0402335450053215, 0.05740700289607048, -0.020965903997421265, -0.03028029017150402, 0.03251798450946808, 0.01732933148741722, -0.000609824899584055, -0.022526215761899948, 0.026724085211753845, 0.08494959026575089, -0.031124386936426163, -0.00023680913727730513, 0.012037966400384903, 0.028417406603693962, 0.03105243481695652, 0.016564948484301567, -0.01950889639556408, 0.0017679217271506786, 0.0020876158960163593, -0.03126989305019379, 0.0022403616458177567, -0.013217540457844734, -0.026870720088481903, 0.023057065904140472, -0.0418161042034626, 0.028453286737203598, 0.023199940100312233, -0.05283177271485329, -0.04940095543861389, -0.03259855881333351, -0.03565244376659393, -0.043930534273386, -0.08958882838487625, -0.004560479428619146, 0.06302306801080704, -0.056829534471035004, -0.028557442128658295, 0.013338655233383179, 0.021900080144405365, -0.019536510109901428, -0.006660184357315302, -0.025204870849847794, -0.04867156967520714, 0.0522439144551754, 0.04760640859603882, -0.006522038485854864, 0.030230941250920296, 0.03010263852775097, -0.005435313563793898, -0.03426557034254074, -0.023535601794719696, -0.0052265296690166, 0.009512240067124367, 0.008748425170779228, 0.015823377296328545, -0.05536995455622673, 0.010008358396589756, 0.03071695752441883, -0.044800907373428345, -0.07212501019239426, 0.037631258368492126, 0.009721416048705578, -0.022903630509972572, 0.07225023210048676, 0.003891454078257084, -0.03739646449685097, -0.014210146851837635, -0.014699415303766727, 0.025334687903523445, 0.01164680439978838, 0.047378361225128174, -0.009842030704021454, 0.09314315021038055, 0.05174717679619789, -0.010439379140734673, -0.0034393719397485256, -0.016363168135285378, -0.025389153510332108, -0.02590625174343586, -0.03695284202694893, -0.017002100124955177, -0.06510087102651596, -0.0586002878844738, -0.05476977676153183, -0.006811943370848894, -0.03793077915906906, -0.009476698003709316, 0.024072794243693352, 0.04994344711303711, -0.031247135251760483, 0.04152211546897888, -0.022598527371883392, -0.006029896438121796, -0.038014695048332214, -0.013756975531578064, 0.014980734325945377, 0.019126420840620995, 0.008445541374385357, -0.017078464850783348, 0.021435976028442383, -0.06233099475502968, -0.010203316807746887, -0.006797908339649439, -0.012064107693731785, 0.006535940803587437, 0.009520914405584335, -0.0003337537928018719 ]
[ -0.09775906801223755, -0.0037740482948720455, 0.004572317469865084, -0.016052529215812683, 0.02000456675887108, -0.06073494628071785, 0.005824218969792128, -0.004022688139230013, -0.026161296293139458, 0.010357467457652092, 0.02063925378024578, -0.0004326587077230215, -0.025368617847561836, 0.015187934041023254, 0.05092179402709007, -0.0033096931874752045, -0.05903726816177368, -0.08235728740692139, -0.06678686290979385, 0.0636337548494339, 0.06517862528562546, 0.01081353984773159, -0.08624131232500076, -0.03473896160721779, 0.03768707439303398, 0.055936265736818314, 0.03829720616340637, -0.05102290213108063, -0.01360316202044487, -0.13909780979156494, 0.0016890368424355984, -0.027533238753676414, 0.003411063924431801, -0.027702445164322853, -0.017159346491098404, -0.009894324466586113, 0.0555245503783226, 0.021914364770054817, -0.024191319942474365, 0.04848000407218933, 0.017192918807268143, 0.025057770311832428, -0.03738395869731903, -0.051713164895772934, 0.022085489705204964, 0.010089394636452198, -0.027335813269019127, 0.0015941755846142769, -0.02227133698761463, 0.027646854519844055, -0.003711152821779251, -0.004596811719238758, 0.002450577449053526, -0.027235662564635277, 0.020036406815052032, 0.034152813255786896, 0.008115066215395927, 0.04546910896897316, 0.02846439741551876, 0.04472072795033455, 0.01157620083540678, -0.031409088522195816, -0.15412192046642303, 0.11830585449934006, 0.002135287970304489, 0.031012682244181633, -0.025458915159106255, 0.003658435307443142, -0.0523955263197422, 0.06561768800020218, 0.039737164974212646, 0.008631791919469833, -0.029337892308831215, 0.02471558190882206, 0.019834600389003754, -0.04049837216734886, 0.0021061887964606285, -0.0035033239983022213, 0.08088092505931854, 0.002101723337545991, -0.04269004613161087, -0.028063850477337837, 0.01391055341809988, -0.039512891322374344, 0.017737651243805885, -0.035494353622198105, -0.010868451558053493, -0.0006589543190784752, -0.006663362495601177, 0.05181664600968361, 0.03308960795402527, -0.03564424067735672, 0.003775158431380987, 0.012208360247313976, -0.07073061913251877, 0.005411073099821806, 0.034951575100421906, 0.02185598760843277, -0.03750161454081535, 0.3709149658679962, -0.049577925354242325, 0.02230396308004856, 0.008593576028943062, 0.02399751916527748, -0.04471023008227348, -0.010457786731421947, 0.007067379541695118, -0.05431140586733818, 0.0028102200012654066, -0.052899181842803955, -0.04655218869447708, 0.004905782174319029, 0.06228949874639511, -0.09896575659513474, -0.0009921607561409473, 0.0061379000544548035, 0.0379302091896534, -0.0035198878031224012, 0.05215711146593094, 0.03874186798930168, 0.055177200585603714, 0.015781402587890625, 0.05763115733861923, 0.02736394666135311, -0.0071672494523227215, 0.023757105693221092, 0.043182145804166794, 0.05911295861005783, -0.01820497214794159, -0.025895318016409874, 0.10030423104763031, -0.05193955451250076, -0.052871596068143845, 0.012354101985692978, 0.008157399483025074, 0.017363833263516426, -0.025773383677005768, -0.040696848183870316, 0.031804244965314865, -0.0057117813266813755, -0.03916357085108757, -0.05445675551891327, 0.048640407621860504, -0.007160875014960766, -0.038558512926101685, 0.11244414746761322, 0.026084769517183304, -0.028665317222476006, -0.009093382395803928, -0.008898680098354816, -0.04487989842891693, 0.060031380504369736, 0.033217426389455795, -0.06613878160715103, 0.02821708284318447, 0.0100493049249053, 0.07983635365962982, -0.028021013364195824, -0.07086414098739624, -0.009158875793218613, -0.029771748930215836, 0.013073999434709549, -0.04807494953274727, 0.0033357865177094936, 0.0940873846411705, -0.12719787657260895, 0.004245665390044451, 0.015959972515702248, 0.05767180398106575, -0.07165253162384033, -0.00728125125169754, 0.02184492163360119, -0.021705234423279762, -0.03738532215356827, 0.11475027352571487, 0.0008594939135946333, 0.03404020890593529, -0.005062644369900227, 0.024918673560023308, -0.016003362834453583, -0.017470993101596832, 0.018849030137062073, -0.03050891123712063, -0.003265654668211937, -0.0060793678276240826, -0.07640896737575531, -0.008942070417106152, -0.014175927266478539, 0.009844566695392132, -0.01630263216793537, 0.02316085249185562, -0.0530521497130394, -0.06137354299426079, 0.08207660913467407, -0.03138023614883423, -0.014782178215682507, -0.03028975985944271, 0.021723829209804535, 0.0029340889304876328, -0.01908070407807827, 0.024191707372665405, -0.07304298132658005, 0.02620016783475876, 0.02532224729657173, -0.020850248634815216, 0.040149688720703125, 0.10005459934473038, -0.08056390285491943, 0.056622523814439774, 0.05538564547896385, -0.019558066502213478, -0.003535089548677206, 0.05425209179520607, -0.006875294726341963, 0.018839504569768906, -0.014529649168252945, -0.03882092982530594, -0.019455917179584503, -0.004894542507827282, 0.019246850162744522, -0.011623878963291645, -0.02588726580142975, 0.05914059281349182, -0.32662343978881836, -0.03698074072599411, 0.008354809135198593, -0.023316020146012306, 0.05568432807922363, -0.039704956114292145, 0.01768087036907673, -0.03183351457118988, -0.01130362693220377, 0.05718981847167015, 0.054184336215257645, -0.0374273955821991, -0.026597462594509125, -0.0862564966082573, -0.01932651549577713, 0.03215257078409195, -0.005318986717611551, -0.07645957916975021, 0.03160220384597778, 0.014379511587321758, -0.0357450433075428, -0.005306350067257881, -0.029911577701568604, -0.10944343358278275, -0.00633948715403676, -0.03533589094877243, 0.07263105362653732, 0.014920514076948166, 0.03493249788880348, -0.07442015409469604, 0.07298196107149124, -0.058716174215078354, 0.025297459214925766, -0.07485071569681168, -0.007881215773522854, -0.0386674627661705, -0.002210386097431183, -0.0125819006934762, 0.0070824702270329, -0.03322189673781395, -0.034171391278505325, 0.006619213614612818, -0.028607968240976334, 0.014969629235565662, -0.03188744932413101, 0.03195454552769661, 0.019665878266096115, -0.015773938968777657, -0.005758889019489288, 0.05422023683786392, 0.007909745909273624, -0.009154576808214188, 0.0524294450879097, 0.031470656394958496, 0.01665785163640976, -0.03913329169154167, -0.07099806517362595, -0.001504665007814765, 0.00989486277103424, 0.008436460047960281, 0.02013539895415306, 0.031958259642124176, 0.033733706921339035, -0.02206086553633213, -0.00407403614372015, 0.059875741600990295, 0.00007004836515989155, -0.045440223067998886, -0.009030462242662907, 0.035019900649785995, -0.027306444942951202, 0.10043001919984818, -0.0025779723655432463, 0.002998881973326206, 0.03780825808644295, 0.0071298424154520035, -0.027362627908587456, 0.0648793950676918, 0.02600765973329544, -0.017928028479218483, 0.016352331265807152, -0.011042275466024876, 0.0455118790268898, 0.0022165782283991575, 0.010997550562024117, 0.044894345104694366, 0.007056403439491987, -0.005386669188737869, 0.016724053770303726, -0.006196950562298298, -0.05422474443912506, -0.035479795187711716, -0.024744953960180283, -0.07166596502065659, 0.061090342700481415, -0.030717549845576286, -0.27057528495788574, 0.042706795036792755, 0.03811418265104294, 0.055414967238903046, 0.002898053266108036, 0.028748225420713425, -0.06311220675706863, -0.018523864448070526, -0.036392658948898315, 0.031255848705768585, -0.01287800446152687, 0.030253905802965164, 0.011509659700095654, -0.0012135207653045654, 0.03294037654995918, -0.002085117856040597, -0.02195093408226967, 0.007119056768715382, 0.007372918073087931, -0.012891256250441074, 0.07174152880907059, 0.0061286455020308495, 0.16839998960494995, 0.05619663745164871, -0.013946447521448135, 0.015499578788876534, 0.013356182724237442, 0.03903123736381531, 0.12251043319702148, -0.00546994199976325, -0.012747442349791527, 0.01413518562912941, 0.04118890315294266, 0.01861998625099659, 0.02877027355134487, -0.04744338616728783, -0.05130298435688019, 0.07368623465299606, 0.03193429484963417, -0.03960978239774704, -0.03999769687652588, 0.01598537154495716, -0.02230474166572094, 0.017285732552409172, 0.09291783720254898, 0.008733772672712803, 0.0022771661169826984, -0.04060075059533119, -0.031672123819589615, -0.027270974591374397, -0.03418136388063431, -0.03541760519146919, -0.01019812747836113, 0.024762317538261414, -0.014905485324561596, 0.02237864024937153, 0.08124926686286926, -0.025360452011227608, 0.003163427347317338, 0.0030562947504222393, -0.017591193318367004, -0.012572462670505047, 0.0835808515548706, 0.027716783806681633, 0.0009615343296900392 ]
[ -0.04571251943707466, -0.020713085308670998, 0.029580874368548393, 0.02738465555012226, -0.016548851504921913, 0.04244530573487282, -0.030270058661699295, 0.004143367521464825, 0.013725495897233486, -0.034661050885915756, -0.0660594180226326, 0.00903056189417839, -0.03917407616972923, -0.06411542743444443, 0.023124733939766884, 0.009174157865345478, -0.00929510872811079, 0.006948795169591904, 0.06573251634836197, 0.009061876684427261, -0.009227622300386429, 0.0023866957053542137, -0.007810699753463268, -0.00564553402364254, 0.011369802989065647, 0.012014606036245823, -0.012199240736663342, 0.012972823344171047, -0.0005652066902257502, -0.0886177197098732, -0.029583092778921127, -0.007461331319063902, -0.04515175521373749, -0.009665470570325851, -0.019926611334085464, 0.01945667155086994, -0.016724968329072, 0.019123969599604607, 0.028431203216314316, 0.01490488275885582, -0.03159714117646217, 0.000583493325393647, 0.03260702267289162, -0.047058772295713425, -0.0006907744100317359, 0.003870539367198944, -0.01161816157400608, -0.004835234023630619, -0.07590015977621078, 0.040966201573610306, -0.0027399833779782057, -0.019545897841453552, -0.06629887223243713, 0.01346708182245493, 0.019962817430496216, -0.01891964301466942, -0.05183470621705055, 0.007620429620146751, -0.011226850561797619, 0.01701500080525875, -0.017446279525756836, 0.04367668554186821, -0.0537102036178112, -0.012886480428278446, 0.024198273196816444, -0.048518598079681396, 0.007668834645301104, 0.011948712170124054, 0.031677525490522385, 0.008727947250008583, -0.0003341285919304937, 0.03967422991991043, -0.012949900701642036, -5.782173957413761e-7, -0.03653492033481598, -0.008327229879796505, -0.005764537490904331, 0.002421231009066105, 0.055571991950273514, -0.018697112798690796, -0.028294099494814873, 0.009730231948196888, 0.0017278671730309725, 0.032578129321336746, -0.009342752397060394, -0.03029145486652851, 0.012380039319396019, 0.05457548052072525, 0.023152047768235207, -0.024241238832473755, -0.014393182471394539, -0.007454294245690107, 0.037094976752996445, 0.04424954578280449, -0.06411272287368774, 0.0034107177052646875, 0.007865868508815765, 0.01153175625950098, 0.02665257267653942, 0.8211353421211243, 0.00044921747758053243, 0.05496859923005104, -0.03983044996857643, 0.031053530052304268, 0.027867481112480164, 0.020598281174898148, -0.040739793330430984, -0.045722875744104385, -0.015388170257210732, -0.010923906229436398, 0.009168000891804695, 0.03943483158946037, 0.02568967081606388, -0.01576029323041439, -0.009231247007846832, 0.0080338753759861, 0.03245498239994049, -0.022323638200759888, 0.03222625330090523, 0.004046462941914797, 0.025868134573101997, 0.01172543503344059, 0.009711711667478085, 0.003057503141462803, 0.023176180198788643, -0.1502695083618164, 0.0399564690887928, -7.092198228892419e-33, 0.022390717640519142, -0.010835965164005756, 0.07120098173618317, -0.041883353143930435, 0.02014520764350891, 0.0428251288831234, 0.01701764576137066, 0.025308063253760338, 0.008368868380784988, -0.035030920058488846, -0.00930581521242857, -0.022293252870440483, -0.016437336802482605, -0.0656856968998909, 0.014004865661263466, -0.009114895015954971, -0.0020225830376148224, 0.043005116283893585, 0.035619866102933884, 0.04524035006761551, 0.008395809680223465, -0.019010523334145546, 0.04485462233424187, 0.0304110124707222, -0.015604540705680847, 0.01707310788333416, 0.020801803097128868, 0.022895941510796547, -0.028622334823012352, -0.05338307097554207, 0.011356464587152004, -0.0018976853461936116, -0.007597144227474928, -0.0000713289191480726, 0.0626513808965683, -0.030168991535902023, -0.03562597557902336, 0.002431530738249421, -0.018391679972410202, 0.020311417058110237, -0.0444631464779377, -0.017975393682718277, -0.036379292607307434, -0.038846712559461594, -0.026020806282758713, 0.006679813377559185, 0.007935735397040844, 0.025728752836585045, 0.016326094046235085, 0.014352737925946712, -0.052703358232975006, 0.03144771605730057, 0.003728655166924, -0.04048134759068489, -0.019015079364180565, 0.012571919709444046, 0.02259521186351776, 0.022822896018624306, -0.016179027035832405, -0.02498367615044117, 0.03887052461504936, -0.023620806634426117, -0.010005633346736431, -0.01004292257130146, -0.0430590845644474, -0.041227009147405624, 0.02639751508831978, 0.0319078266620636, 0.028749264776706696, 0.01667337864637375, -0.04367545247077942, 0.020486854016780853, -0.02267332188785076, 0.01972624659538269, 0.019010964781045914, 0.0011371375294402242, 0.050333715975284576, 0.0051738605834543705, 0.02422487922012806, -0.02733151987195015, 0.040002867579460144, -0.01595696061849594, 0.04029734432697296, 0.008004029281437397, -0.007075593341141939, -0.0016782521270215511, -0.011522348038852215, 0.0348646342754364, 0.011390401981770992, 0.015382464043796062, 0.044549182057380676, -0.013533078134059906, -0.006193777080625296, -0.011660118587315083, -0.0013987320708110929, 6.884121769801458e-33, -0.013432483188807964, -0.024374110624194145, -0.04396991431713104, 0.02708226442337036, 0.011721068993210793, -0.0577627494931221, -0.005206004250794649, 0.050447914749383926, -0.012822873890399933, 0.061118483543395996, 0.009217584505677223, 0.004468335770070553, -0.03846383094787598, 0.029403002932667732, 0.03768432140350342, -0.04567374661564827, 0.023614734411239624, -0.013577494770288467, -0.003055035602301359, -0.03276575729250908, -0.013147557154297829, 0.0020672378595918417, -0.008667754009366035, -0.025975707918405533, 0.06349285691976547, 0.03576906397938728, -0.01594136655330658, 0.030191509053111076, -0.007511116098612547, 0.025420991703867912, -0.0017722202464938164, -0.0044167120940983295, 0.004309662152081728, -0.040889058262109756, -0.008567334152758121, 0.03050769492983818, 0.015488766133785248, -0.028021780773997307, 0.04371228441596031, -0.011404935270547867, -0.025508636608719826, -0.04085264354944229, -0.017534717917442322, 0.0027108320500701666, 0.03936297819018364, 0.06259261071681976, 0.011387726292014122, 0.04012114182114601, 0.010228823870420456, -0.03124903328716755, 0.01430074404925108, -0.02302805706858635, -0.01424365397542715, 0.008864887990057468, 0.022367723286151886, -0.037688300013542175, -0.021699003875255585, -0.026406479999423027, -0.006940741557627916, -0.001522932550869882, -0.036875154823064804, -0.027075259014964104, -0.019141046330332756, -0.0248399768024683, -0.050187401473522186, -0.027809716761112213, -0.02189723774790764, -0.033178556710481644, 0.0087584862485528, -0.007560806814581156, 0.0008748445543460548, 0.005833516828715801, -0.015152138657867908, 0.02369491010904312, -0.0128000034019351, -0.02555827423930168, 0.014809057116508484, 0.005445944145321846, -0.04365380108356476, 0.027277832850813866, -0.015939120203256607, 0.004922970198094845, 0.004990172106772661, 0.012752261012792587, -0.012029983103275299, 0.05507795140147209, -0.02396129071712494, 0.014425667934119701, -0.01907810941338539, -0.03975103050470352, -0.040690142661333084, 0.007367893122136593, -0.057308629155159, 0.031529612839221954, -0.006603364832699299, -1.2713150532306372e-8, -0.012089075520634651, 0.031262725591659546, -0.020578524097800255, -0.011472603306174278, 0.0016069746343418956, -0.022286036983132362, 0.003198894439265132, 0.013740749098360538, 0.03170383349061012, -0.001993946498259902, 0.06470434367656708, -0.018130989745259285, 0.03824437037110329, 0.04235495999455452, -0.023074137046933174, -0.009343110956251621, -0.038541361689567566, 0.02539336308836937, 0.0034829135984182358, 0.008306396193802357, 0.04075685515999794, 0.007870539091527462, 0.050709083676338196, -0.03340091183781624, 0.032739151269197464, -0.012070880271494389, 0.011547249741852283, -0.01568775624036789, 0.035488028079271317, 0.008692028000950813, -0.004522451665252447, -0.02908654324710369, 0.009933575056493282, -0.0293460413813591, -0.04935622960329056, -0.04247751832008362, 0.0005296272574923933, 0.023954715579748154, -0.024754401296377182, 0.004080538637936115, 0.027101272717118263, -0.006869756616652012, -0.031171748414635658, 0.007977088913321495, -0.011618261225521564, 0.005222625099122524, -0.023055143654346466, -0.004971763584762812, 0.005154987331479788, -0.02907637692987919, 0.011774111539125443, 0.02056872844696045, 0.0256833266466856, 0.005139972548931837, 0.02601722441613674, 0.01932097040116787, 0.010679113678634167, -0.05143262818455696, -0.034972578287124634, 0.004932043142616749, -0.01893303357064724, 0.01647421345114708, -0.028113916516304016, -0.024035219103097916 ]
javascript-add-a-month-to-a-date
https://markhneedham.com/blog/2009/01/07/javascript-add-a-month-to-a-date
false
2009-01-30 11:17:58
Coding Dojo #8: Isola
[ "coding-dojo" ]
[ "Coding Dojo" ]
Our latest coding dojo involved writing the board game http://en.wikipedia.org/wiki/Isola_(board_game)[Isola] in Java. == The Format We used the http://codingdojo.org/cgi-bin/wiki.pl?RandoriKata[Randori] approach again with around 8 or 9 people participating for the majority of the session, our biggest turnout yet. I think the majority of people had the opportunity to drive a couple of times over the evening. We had the pair driving at the front of the room and everyone else further back to stop the tendency of observers to whiteboard stuff. == What We Learnt * We took the approach of trying to get a useable front end for the game working as quickly as possible this time which was a bit different to our normal approach where we tend to focus more heavily on the modeling side of the problem. We therefore decided to do the *simplest thing that could possibly work* and hardcoded the representation of the board as a string, which surprisingly (to me at least) proved adequate for the whole time we were coding and it was only towards the end that we felt we needed to put in a more robust data structure. Certainly a lesson for me of the value of not over engineering a solution. * This led to a discussion around what sort of situation this would represent on a real project. The closest we came up with was that of using an in memory repository early on until a real database is actually needed. We need to *trade off the complexity we are adding in by doing this integration versus the gains we get from integrating early*. * An cool approach which http://pilchardfriendly.blogspot.com/[Nick] showed us was to *always implement code inline*, make the test pass and then extract it into methods or classes as part of a refactoring step. This is similar to the idea of http://www.thekua.com/atwork/2008/10/sprouting-inner-classes/[sprouting inner classes] which Pat Kua wrote about a couple of months ago. This takes the idea of taking small steps even further which can only be a good thing. * It was interesting to see that without a domain expert we ending up changing the ubiquitous language in the code quite frequently but never really came up with one that made sense to everyone - when talking about the code we ended up with people doing translation between their understanding of various concepts. == For next time * The plan for next week is to continue working on Isola - it turned out to be quite an interesting game to try and model, simple enough that we could understand the rules quickly but complicated enough that it takes a while to implement.
null
null
[ 0.00034182899980805814, -0.011905239894986153, 0.007337408605962992, 0.030825071036815643, 0.06493990868330002, 0.010204983875155449, 0.020791810005903244, 0.03170706331729889, 0.001842078403569758, -0.02330576255917549, -0.015944521874189377, -0.00980224646627903, -0.04507913440465927, 0.008875258266925812, -0.03670668974518776, 0.06899656355381012, 0.06947880983352661, -0.01825832948088646, 0.02820872701704502, 0.007277698256075382, 0.010659966617822647, 0.07152904570102692, 0.014822067692875862, 0.041430942714214325, 0.015839381143450737, 0.017975402995944023, 0.011875869706273079, 0.012032750993967056, -0.06071316450834274, -0.021135954186320305, 0.040901243686676025, 0.014628906734287739, 0.014457846991717815, 0.0027593316044658422, 0.017622051760554314, -0.032072193920612335, -0.02134040556848049, 0.04808933287858963, 0.0003134970320388675, 0.017065640538930893, -0.05682702362537384, 0.04856276884675026, 0.010657057166099548, 0.017016900703310966, -0.02969018742442131, -0.0065924120135605335, -0.054968252778053284, 0.01891959458589554, -0.001083030248992145, -0.00031346260220743716, -0.07936348021030426, 0.024927690625190735, 0.00036240171175450087, 0.005538746248930693, -0.03192475438117981, 0.044570278376340866, 0.044607315212488174, -0.05538962781429291, 0.009123928844928741, -0.05407159775495529, -0.0000026207580958725885, -0.01421669777482748, 0.01973991096019745, 0.025304671376943588, 0.017110060900449753, -0.028926054015755653, -0.0006754080532118678, 0.04611124470829964, -0.03710590675473213, 0.011767620220780373, -0.012922566384077072, 0.029825108125805855, -0.022709546610713005, -0.04543226212263107, 0.01749703288078308, -0.06064733490347862, 0.011865071952342987, 0.06970889866352081, 0.02303599938750267, 0.020722536370158195, -0.026940690353512764, 0.004550350829958916, 0.027973929420113564, 0.022447848692536354, 0.0011394177563488483, -0.044064395129680634, -0.016201376914978027, -0.036545198410749435, -0.06682524085044861, 0.05697908625006676, 0.0005045549478381872, -0.04957403987646103, 0.01390876155346632, 0.02923143468797207, -0.00317723979242146, 0.03650302812457085, 0.021257108077406883, -0.0006166101084090769, -0.014659123495221138, -0.022032545879483223, -0.021277954801917076, -0.019841037690639496, 0.03356843441724777, 0.006263209972530603, -0.0819767639040947, -0.016658952459692955, -0.008676907047629356, -0.018832441419363022, 0.0029796543531119823, 0.012222129851579666, -0.01718907244503498, -0.009093305096030235, -0.008846057578921318, -0.007881777361035347, -0.06456402689218521, 0.06341031938791275, 0.002636007033288479, -0.02926105260848999, -0.034555353224277496, 0.01963750086724758, 0.042404867708683014, 0.028053587302565575, -0.006520632188767195, 0.10265534371137619, 0.01663804240524769, 0.026200365275144577, -0.021494882181286812, 0.06261405348777771, -0.015150126069784164, -0.06715621799230576, 0.005574231967329979, 0.048200108110904694, -0.02223903313279152, -0.005168604664504528, 0.02227330580353737, -0.04189040884375572, -0.004809301812201738, 0.00001144421457865974, 0.013223822228610516, 0.03361942246556282, -0.023235393688082695, -0.03823291137814522, 0.025412168353796005, 0.004408774897456169, 0.02288467437028885, 0.000011117806934635155, -0.02004922553896904, -0.02348414994776249, -0.03918538615107536, -0.004132733214646578, -0.018538501113653183, 0.014619343914091587, 0.014028643257915974, -0.05257697403430939, 0.022996556013822556, 0.08502521365880966, -0.004712381400167942, 0.02065356820821762, -0.014676587656140327, 0.03778817504644394, 0.01972678117454052, 0.007795119658112526, 0.006495621055364609, 0.023583021014928818, 0.004368976689875126, -0.009864674881100655, 0.015530991367995739, 0.048347942531108856, 0.00112419412471354, 0.01861715503036976, -0.057204294949769974, -0.04180741310119629, 0.042492419481277466, -0.05719282850623131, -0.03723115846514702, 0.029041780158877373, 0.07734602689743042, 0.03287283331155777, 0.05285051837563515, -0.017637865617871284, -0.08775537461042404, -0.006921715568751097, 0.0019083223305642605, 0.007513583637773991, 0.013049012050032616, -0.03596184775233269, 0.05220678448677063, 0.010864305309951305, 0.004089393187314272, 0.048871107399463654, -0.0664951503276825, -0.07730840891599655, -0.009114504791796207, -0.012652020901441574, 0.06221994385123253, -0.01786791905760765, 0.016363725066184998, 0.062170322984457016, 0.01175798662006855, 0.034922439604997635, 0.030787955969572067, 0.006353355012834072, 0.025931932032108307, -0.02351502515375614, -0.02109890803694725, 0.037187494337558746, 0.03634348511695862, -0.009596076793968678, -0.05036885663866997, -0.0006793553475290537, -0.018528783693909645, -0.023171020671725273, 0.04006142169237137, -0.017255481332540512, 0.04275493323802948, 0.017030183225870132, 0.050677213817834854, -0.019514966756105423, 0.057167910039424896, -0.06762911379337311, 0.00938362069427967, -0.0018634841544553638, -0.02368762716650963, 0.0020261399913579226, 0.017280202358961105, 0.13266925513744354, 0.04474348947405815, -0.04551785811781883, -0.03176877647638321, 0.01903940550982952, 0.012945468537509441, -0.048477448523044586, -0.00021929953072685748, -0.014267713762819767, 0.013834566809237003, -0.008544445037841797, -0.06751113384962082, -0.05951492115855217, 0.036197539418935776, -0.047468993812799454, 0.007656710222363472, 0.07419374585151672, -0.015963159501552582, 0.054629046469926834, 0.0047649503685534, -0.003694785526022315, -0.0011114246444776654, -0.009189343079924583, -0.032753679901361465, 0.02390945702791214, 0.0038645300082862377, -0.029833784326910973, 0.04137447476387024, -0.016632527112960815, -0.02593732811510563, -0.0402907058596611, -0.02266569994390011, -0.02227620966732502, 0.04116649925708771, 0.057658106088638306, -0.002855157945305109, 0.05852867290377617, -0.004412129987031221, 0.010028631426393986, -0.001957189291715622, -0.06382521986961365, -0.029696373268961906, -0.04105258733034134, -0.002569063799455762, 0.04431302100419998, 0.010286116041243076, 0.022798843681812286, 0.03619737550616264, -0.01645566150546074, -0.02984030917286873, -0.022749941796064377, 0.03426017612218857, -0.0076815057545900345, -0.03385189548134804, -0.03447842225432396, -0.018777623772621155, 0.04485790431499481, -0.041190940886735916, -0.018046123906970024, 0.004037004895508289, -0.06537099182605743, 0.0459098182618618, -0.07242805510759354, -0.05451352149248123, 0.00811563991010189, 0.031015388667583466, 0.05934716761112213, -0.04453350603580475, -0.0027267809491604567, 0.09131625294685364, -0.0024765010457485914, 0.012024998664855957, -0.008137412369251251, 0.0024642401840537786, 0.03197421878576279, -0.008567864075303078, 0.005973369348794222, 0.02108941413462162, 0.015380528755486012, -0.014473349787294865, -0.03610764071345329, 0.04912212863564491, -0.008955643512308598, -0.2783907651901245, 0.018060458824038506, -0.019877469167113304, -0.03692229837179184, 0.017720945179462433, -0.01073393039405346, 0.008757276460528374, -0.05050809681415558, -0.013688935898244381, 0.009388518519699574, -0.037791892886161804, -0.04389303922653198, -0.033336903899908066, 0.07629992812871933, 0.01637916825711727, 0.04046805948019028, 0.020622998476028442, -0.031157521530985832, 0.003884227480739355, 0.05796477943658829, -0.014726249501109123, -0.06795022636651993, -0.0030649008695036173, 0.056966815143823624, 0.03851689398288727, 0.06551623344421387, -0.10009666532278061, 0.0034451906103640795, -0.04483678191900253, 0.0007535415352322161, 0.018030216917395592, 0.013257740065455437, -0.004635588265955448, -0.025034932419657707, -0.02220241166651249, -0.006094548385590315, 0.05263020843267441, 0.01599561795592308, -0.0070473812520504, 0.024295635521411896, -0.023568378761410713, -0.023513128980994225, -0.024076437577605247, 0.004627520218491554, 0.07577139884233475, 0.007126108277589083, -0.06930165737867355, -0.00025605401606298983, -0.026226162910461426, 0.06679463386535645, -0.023761367425322533, -0.02983584627509117, 0.0009468495263718069, 0.03789408132433891, -0.0034011718817055225, -0.016346922144293785, -0.01030708197504282, -0.0029358265455812216, -0.046209439635276794, -0.049280550330877304, -0.023397911339998245, -0.04515734687447548, -0.017280640080571175, -0.055818576365709305, 0.011648483574390411, -0.07780466228723526, -0.042420826852321625, 0.013886812143027782, 0.08321912586688995, 0.04326525330543518, -0.040265295654535294, 0.01742454804480076, -0.0059389774687588215, -0.1043505147099495, 0.005758330691605806, 0.018669381737709045, -0.014648242853581905, -0.0012441750150173903, 0.025352027267217636, 0.046512726694345474, -0.023155096918344498, -0.06150784716010094, 0.02281973510980606, 0.01073892880231142, 0.01857905089855194, -0.013451136648654938, 0.04865746572613716, 0.0024601342156529427, -0.00834933016449213, 0.013315859250724316, 0.06557115167379379, 0.0014778972836211324, -0.025912638753652573, -0.023039037361741066, 0.030272267758846283, 0.033484600484371185, 0.036844778805971146, -0.017201291397213936, -0.0007932831067591906, 0.026232637465000153, -0.0005022853729315102, -0.059627681970596313, 0.0369722843170166, -0.018039608374238014, 0.0006196286412887275, 0.002688739215955138, -0.04882245510816574, 0.009153884835541248, 0.0515049584209919, 0.03354048728942871, -0.003042202675715089, -0.050537291914224625, 0.013620282523334026, -0.04528459534049034, -0.0023325816728174686, -0.034380681812763214, 0.02218710072338581, 0.05149562284350395, -0.021709876134991646, -0.021724948659539223, -0.05480765923857689, 0.01733480393886566, 0.007682429626584053, 0.007630572654306889, -0.04572872072458267, -0.014695018529891968, -0.020619601011276245, -0.024138515815138817, 0.02230832539498806, 0.003910319413989782, -0.01023403275758028, 0.02243729867041111, 0.008618997409939766, -0.025391321629285812, 0.022880075499415398, -0.014888407662510872, -0.053989678621292114, -0.024801058694720268, -0.016373608261346817, -0.0033243747893720865, -0.0021819784305989742, 0.024246344342827797, -0.007506054360419512, 0.0187806636095047, 0.029933234676718712, 0.008095014840364456, 0.029011443257331848, -0.0051503232680261135, 0.015624347142875195, 0.012599702924489975, 0.007886526174843311, -0.08859236538410187, 0.028949014842510223, -0.0495147779583931, -0.03488827496767044, -0.029481826350092888, 0.03629143908619881, -0.016437098383903503, -0.019794365391135216, -0.014304790645837784, 0.008406865410506725, -0.045594774186611176, -0.03389941155910492, -0.02452918328344822, 0.01110384427011013, 0.06616372615098953, -0.004358694422990084, 0.021223170682787895, -0.01775268465280533, -0.02729664370417595, 0.032787490636110306, 0.02131408080458641, -0.03677014261484146, 0.013092255219817162, 0.02206481248140335, -0.02708551287651062, -0.005083163734525442, -0.013357974588871002, 0.0467708483338356, 0.015212304890155792, -0.0030710846185684204, -0.025776604190468788, 0.0062461430206894875, 0.005548994988203049, 0.04866486415266991, 0.020851848646998405, 0.01364104449748993, 0.008603277616202831, -0.011466266587376595, -0.022048085927963257, -0.03253181278705597, -0.011731164529919624, 0.010927530005574226, 0.011805715039372444, -0.045089419931173325, -0.05844424292445183, 0.04778890311717987, 0.02772778831422329, 0.004463554825633764, 0.024270515888929367, 0.02091982029378414, -0.0009226609254255891, -0.03149200603365898, 0.014433552511036396, 0.06243763491511345, -0.06777514517307281, 0.020738128572702408, -0.009454509243369102, 0.016118396073579788, -0.008607183583080769, -0.006427868269383907, -0.022481093183159828, -0.01702340506017208, -0.0379103384912014, -0.005818724166601896, -0.06061967834830284, -0.028745651245117188, -0.009084291756153107, 0.019283540546894073, -0.019771751016378403, -0.0098634734749794, -0.01143544539809227, -0.00820893608033657, -0.024167023599147797, -0.02970740757882595, 0.018712753430008888, -0.05893096700310707, 0.003421486122533679, 0.00612863153219223, -0.028581826016306877, 0.017420392483472824, -0.031410157680511475, 0.016274986788630486, 0.0296477060765028, -0.024536414071917534, -0.015532397665083408, -0.05988571047782898, 0.01279898639768362, 0.0263102725148201, 0.04964747279882431, 0.009574977681040764, -0.027496211230754852, -0.05202040076255798, -0.007188885938376188, -0.05029239133000374, 0.024087080731987953, -0.02509547956287861, -0.013632955960929394, 0.03887626528739929, 0.04989336431026459, 0.030047668144106865, 0.028748203068971634, -0.02361876145005226, -0.020424198359251022, 0.044651348143815994, -0.0833616554737091, -0.01446740422397852, -0.01835761032998562, -0.07287880033254623, -0.010066334158182144, -0.009754548780620098, 0.039036061614751816, -0.021599382162094116, 0.046218451112508774, 0.015582112595438957, 0.03172656148672104, 0.020620271563529968, -0.02149835228919983, 0.02768895961344242, -0.04347529634833336, 0.010834482498466969, -0.07424552738666534, 0.010022850707173347, 0.04113534837961197, 0.01711035706102848, -0.021105142310261726, -0.002109939930960536, -0.04438696801662445, 0.04265202209353447, -0.06511016190052032, -0.006988830398768187, 0.06583715230226517, -0.002390578156337142, -0.01469350978732109, 0.007719083223491907, -0.07121334969997406, 0.02334153652191162, 0.02922695316374302, -0.04214273765683174, -0.022280482575297356, -0.04140496253967285, 0.05092175304889679, 0.008728433400392532, 0.04218951240181923, -0.020046377554535866, 0.004361147992312908, 0.08073073625564575, 0.002819665241986513, 0.0019838104490190744, 0.05174987018108368, -0.007766206283122301, 0.05537281185388565, 0.03579900413751602, 0.01751212775707245, -0.004552080295979977, -0.007085741497576237, -0.009134549647569656, -0.059525005519390106, 0.0018927642377093434, 0.02103688195347786, -0.047545481473207474, -0.05001993849873543, 0.06418825685977936, 0.030059566721320152, -0.02837510034441948, -0.04253553971648216, 0.022120442241430283, -0.07076331228017807, 0.0105733098462224, -0.031858891248703, 0.001277042319998145, -0.05433335900306702, 0.0541827455163002, 0.0039536068215966225, 0.0012588738463819027, 0.05376734212040901, 0.0037953571882098913, -0.03936496004462242, -0.034374989569187164, 0.09222748130559921, 0.08369217813014984, 0.05516767501831055, 0.020042091608047485, 0.06261197477579117, -0.02948104962706566, -0.04264168441295624, 0.022958975285291672, 0.012842620722949505, -0.02487005852162838, -0.0194179005920887, 0.03216671571135521, 0.0586712583899498, -0.022533707320690155, 0.05869155749678612, -0.02091977559030056, -0.023179393261671066, 0.022669002413749695, 0.028093600645661354, 0.004228381440043449, 0.06654966622591019, 0.015968507155776024, 0.004131809342652559, -0.0034654242917895317, -0.04611136391758919, 0.034563492983579636, -0.030057840049266815, -0.0036516000982373953, 0.023267420008778572, -0.003436237806454301, 0.030654802918434143, 0.014564154669642448, 0.032769761979579926, 0.09401866048574448, -0.04788615554571152, 0.011891068890690804, -0.009214391931891441, 0.02337888814508915, 0.019634053111076355, 0.006771870423108339, -0.028746653348207474, -0.017490042373538017, 0.0008926097652874887, -0.03384024277329445, -0.007729673758149147, -0.02609623409807682, -0.00897274725139141, 0.03620785102248192, -0.016816163435578346, 0.009804676286876202, 0.02883734554052353, 0.01733185350894928, -0.031247107312083244, -0.06548292934894562, -0.04219028726220131, -0.02732524275779724, -0.06867431849241257, -0.022601371631026268, 0.050111524760723114, -0.01792929321527481, -0.04062913730740547, -0.006703244987875223, -0.03942291811108589, -0.018668048083782196, 0.04565025493502617, -0.04817040637135506, -0.03250369802117348, 0.02943417616188526, 0.013339473865926266, 0.039987411350011826, 0.022009756416082382, 0.048075348138809204, -0.009522593580186367, -0.009221023879945278, -0.03353535383939743, 0.008160319179296494, 0.025236373767256737, 0.0014553777873516083, -0.000990110682323575, -0.08849906176328659, 0.02953513152897358, 0.037640951573848724, -0.008189620450139046, -0.0536850169301033, 0.03409750014543533, 0.000565121416002512, 0.008880049921572208, 0.06708479672670364, -0.01463252678513527, 0.009819564409554005, -0.03118005022406578, -0.010822483338415623, -0.01015651784837246, 0.00854429230093956, 0.04386336728930473, -0.019460173323750496, 0.0869462639093399, 0.018915802240371704, -0.037667326629161835, -0.05510813370347023, -0.005297568626701832, -0.0009385700686834753, -0.017485348507761955, -0.00853688083589077, -0.04677089676260948, -0.014689024537801743, -0.06931893527507782, -0.021306117996573448, 0.02145576849579811, -0.000524547474924475, -0.04170168936252594, 0.022658662870526314, 0.03906451165676117, -0.028588369488716125, 0.017873622477054596, -0.038157057017087936, 0.04004749283194542, -0.037582676857709885, 0.0017076133517548442, -0.0018868310144171119, -0.0010991034796461463, -0.021269483491778374, 0.010076461359858513, 0.03279766067862511, -0.04761950671672821, -0.0013018844183534384, 0.013132290914654732, 0.029663169756531715, 0.039903733879327774, 0.023105008527636528, -0.01600409485399723 ]
[ -0.10544022917747498, -0.0022762196604162455, -0.031743548810482025, -0.05951615050435066, 0.026656923815608025, -0.012488112784922123, -0.04340560734272003, 0.01802702620625496, 0.005582133308053017, -0.015494228340685368, 0.001809420413337648, -0.03086833283305168, -0.015911605209112167, 0.006390082184225321, 0.09072213619947433, 0.0071718948893249035, -0.02066226676106453, -0.0438828282058239, 0.02067258208990097, 0.02560385689139366, 0.015428479760885239, -0.03556712344288826, -0.02883852645754814, -0.04014655947685242, 0.009689796715974808, 0.036095719784498215, 0.01766303740441799, -0.07232673466205597, 0.01790229231119156, -0.1992253065109253, -0.0010380535386502743, 0.021465547382831573, 0.06314403563737869, -0.02394360862672329, -0.023535991087555885, 0.04227796569466591, 0.011496431194245815, 0.02004316635429859, -0.029437141492962837, 0.024331798776984215, 0.0034188779536634684, 0.012045606970787048, -0.03577191382646561, -0.034398458898067474, 0.02653629705309868, -0.008704992942512035, 0.007918129675090313, -0.04606553167104721, -0.011597820557653904, 0.02156170643866062, -0.05382878705859184, -0.01704777032136917, -0.006015455350279808, -0.03527913987636566, 0.0065474058501422405, 0.007314360234886408, 0.03530316427350044, 0.05924934521317482, -0.007869482971727848, 0.014776194468140602, 0.008936719968914986, -0.006180858239531517, -0.11406754702329636, 0.08271723985671997, 0.04213263839483261, 0.05001816898584366, -0.017349528148770332, -0.010660049505531788, 0.019676730036735535, 0.09328087419271469, 0.012126614339649677, -0.015370563603937626, 0.010248936712741852, 0.0419309176504612, 0.013096299953758717, 0.008980472572147846, 0.010209549218416214, 0.003563266946002841, 0.02633565291762352, -0.06379277259111404, -0.04657624289393425, -0.03295726701617241, -0.0017620588187128305, 0.004429664462804794, -0.04346701502799988, 0.026635074988007545, -0.027667438611388206, 0.056277088820934296, 0.007868345826864243, 0.02444533072412014, 0.04860018193721771, 0.013735480606555939, 0.031213881447911263, -0.009161878377199173, -0.08884388953447342, -0.00020462107204366475, -0.022014183923602104, 0.015385100618004799, -0.028999261558055878, 0.4844922721385956, -0.024717286229133606, -0.031161438673734665, 0.06898122280836105, 0.023110276088118553, -0.013945677317678928, -0.011621844954788685, 0.014275768771767616, -0.06603322923183441, 0.025077078491449356, -0.04636751115322113, 0.007391952909529209, 0.006191398482769728, 0.0850362554192543, -0.010314740240573883, -0.010316448286175728, 0.04573356732726097, 0.03615338355302811, 0.009048020467162132, 0.0016585133271291852, -0.004208520520478487, -0.005350972525775433, 0.013569936156272888, 0.006221393588930368, -0.010087421163916588, -0.004782709758728743, -0.03372467681765556, 0.002603086642920971, 0.05151982232928276, 0.05484868958592415, 0.013614115305244923, 0.06040792167186737, -0.04581074044108391, -0.05294158682227135, -0.004281035624444485, -0.005784137174487114, 0.002760358154773712, 0.0438099205493927, -0.01962265558540821, 0.009288203902542591, 0.03270867466926575, 0.007249276619404554, -0.006835707928985357, 0.04888945817947388, -0.027356190606951714, -0.055532943457365036, 0.08185364305973053, 0.024690784513950348, -0.034724555909633636, 0.01350377406924963, -0.021841151639819145, 0.00122571992687881, 0.026646152138710022, -0.011342753656208515, -0.055562593042850494, 0.018856462091207504, -0.00733900535851717, 0.08470828831195831, 0.008301138877868652, -0.06685619801282883, -0.023085152730345726, -0.02451474219560623, -0.02722157910466194, -0.03791411593556404, 0.038632165640592575, 0.05798162892460823, -0.0879361480474472, -0.00990146305412054, -0.0013159345835447311, 0.029357990249991417, -0.07414932548999786, -0.01522279717028141, 0.020458728075027466, -0.029224533587694168, 0.008530027233064175, 0.05370441824197769, -0.029741115868091583, -0.009615987539291382, 0.019038526341319084, 0.04081158712506294, 0.03670560196042061, 0.02966975048184395, 0.021927189081907272, -0.034145962446928024, 0.0038799350149929523, -0.04135896638035774, -0.08437084406614304, -0.04126602038741112, -0.0054498654790222645, -0.04955773055553436, 0.0060166968032717705, -0.02251824364066124, -0.004736714065074921, -0.1083163172006607, 0.09621606022119522, -0.016625674441456795, -0.04497719183564186, 0.037795864045619965, -0.02720601297914982, -0.034844376146793365, -0.018339436501264572, -0.04621376842260361, 0.053551770746707916, -0.03255464881658554, 0.04109952226281166, -0.0362771674990654, 0.0294825229793787, 0.07016481459140778, -0.04627519100904465, 0.08126797527074814, 0.06811264902353287, -0.03969225287437439, -0.040493592619895935, 0.022725136950612068, 0.020063847303390503, 0.003938756417483091, -0.015155286528170109, 0.010518590919673443, 0.028811175376176834, 0.0028852757532149553, 0.023642484098672867, -0.025427766144275665, -0.007464730646461248, -0.013483114540576935, -0.3289931118488312, -0.02934182621538639, -0.013042761944234371, -0.030587997287511826, 0.010367697104811668, -0.04923407733440399, 0.022442499175667763, -0.04024003446102142, -0.008504309691488743, -0.010449010878801346, 0.06522750854492188, -0.013223441317677498, -0.0010717877885326743, -0.07323378324508667, -0.02396988868713379, 0.006011456251144409, -0.03487248346209526, -0.012881463393568993, -0.02830197848379612, 0.016319138929247856, 0.002641605446115136, -0.009245774708688259, -0.0019922934006899595, -0.050203073769807816, -0.03715502843260765, -0.0343138612806797, 0.10704395920038223, 0.007623843848705292, 0.109080970287323, -0.04444226250052452, 0.02601431868970394, 0.0009225833928212523, 0.016054177656769753, -0.09091401100158691, 0.014889749698340893, -0.01870771124958992, 0.008481011725962162, -0.009558080695569515, 0.04193902760744095, -0.03803374990820885, -0.045526836067438126, 0.015500596724450588, -0.05307621881365776, -0.051199670881032944, -0.0492592453956604, 0.01763802394270897, -0.025912394747138023, -0.059741828590631485, -0.021307744085788727, 0.06431250274181366, 0.01813400164246559, -0.036258429288864136, 0.0372580848634243, -0.012711046263575554, -0.016912780702114105, -0.019193794578313828, -0.051740024238824844, 0.006804266013205051, 0.01638253778219223, 0.026300817728042603, 0.03931537643074989, 0.07641889899969101, -0.004027061630040407, -0.04378407821059227, -0.007333399727940559, 0.020165471360087395, 0.009475717321038246, 0.006887511350214481, 0.0583195798099041, -0.023442525416612625, -0.02427877113223076, 0.0649012103676796, 0.011903171427547932, -0.03880522772669792, 0.034634705632925034, 0.04882732778787613, -0.005059279967099428, 0.006710623390972614, 0.016095684841275215, 0.01275633554905653, 0.025752758607268333, -0.028350872918963432, 0.050032101571559906, -0.029994938522577286, 0.004982672166079283, 0.04527764394879341, 0.010917377658188343, -0.03472382202744484, 0.04393929988145828, 0.01843893900513649, -0.018716538324952126, 0.004710021428763866, -0.016786977648735046, -0.02930809184908867, 0.060497403144836426, -0.007909366860985756, -0.2699645459651947, 0.012902315706014633, 0.05297776684165001, 0.03145178407430649, -0.0017448454163968563, 0.034624647349119186, 0.03766687214374542, -0.04259875789284706, 0.012998322024941444, 0.006346698384732008, 0.04287091642618179, 0.020716622471809387, 0.0016680211992934346, -0.006329728756099939, 0.047973766922950745, -0.006770062725991011, 0.014153006486594677, -0.011460668407380581, 0.0559576153755188, -0.014008554629981518, -0.001853137626312673, 0.012470224872231483, 0.15399932861328125, -0.014985314570367336, 0.05636794865131378, 0.030775003135204315, 0.013366873376071453, -0.009427455253899097, 0.07226637005805969, 0.006712456699460745, -0.02493644878268242, -0.0072902776300907135, 0.04759965464472771, 0.00525004044175148, 0.02597377635538578, -0.06287141144275665, -0.02400459535419941, 0.01708814688026905, 0.008020826615393162, 0.006956884171813726, 0.017231594771146774, -0.004960142076015472, -0.018868284299969673, 0.028352003544569016, 0.04485500976443291, 0.04832202568650246, 0.00720744114369154, -0.040226809680461884, -0.05276898294687271, -0.017791099846363068, -0.030904442071914673, -0.04861981049180031, -0.008132068440318108, -0.01899127848446369, -0.005810089875012636, 0.08009115606546402, -0.012810827232897282, -0.019970236346125603, -0.031106097623705864, 0.0163210891187191, -0.017701061442494392, -0.0144588528200984, 0.10891015082597733, 0.01782349869608879, 0.025112265720963478 ]
[ 0.012851360253989697, -0.012178651057183743, -0.022151680663228035, -0.027292374521493912, -0.020455099642276764, 0.001171375741250813, 0.015333644114434719, 0.020597392693161964, -0.012190619483590126, 0.0029838208574801683, -0.012791325338184834, 0.02123602107167244, -0.006562847178429365, -0.03185843676328659, 0.0270660649985075, -0.008471064269542694, 0.04021212458610535, -0.0015477819833904505, 0.027675233781337738, -0.009078397415578365, -0.014924673363566399, -0.014634275808930397, 0.015347962267696857, -0.026452353224158287, -0.004079757258296013, -0.015662623569369316, 0.013525065034627914, 0.0008257489535026252, 0.029685255140066147, -0.13907547295093536, -0.005250411108136177, -0.02535739354789257, 0.0051803323440253735, -0.005054502282291651, 0.0075637600384652615, -0.001954220235347748, -0.01994728110730648, -0.029331639409065247, 0.013313235715031624, -0.02786656841635704, 0.003354641841724515, -0.009201796725392342, -0.004926806315779686, 0.05424797162413597, -0.01759413816034794, -0.014237462542951107, -0.013050747103989124, -0.07399208843708038, -0.02219298668205738, -0.031957656145095825, -0.03559945523738861, -0.03631990775465965, -0.004780983552336693, 0.007779484149068594, -0.019150931388139725, -0.019148537889122963, -0.0005473834462463856, 0.02185264229774475, 0.019255520775914192, -0.01453953143209219, -0.031387049704790115, -0.008198118768632412, -0.015137951821088791, -0.017861036583781242, -0.03334294259548187, -0.03810223564505577, 0.0041425772942602634, 0.02584025077521801, -0.012621713802218437, 0.0021199388429522514, -0.02005765028297901, 0.02328725904226303, -0.022941596806049347, -0.019217554479837418, 0.001857999712228775, 0.019149981439113617, -0.009692278690636158, -0.0015249312855303288, 0.009948170743882656, -0.017139414325356483, -0.026815684512257576, 0.006445648614317179, 0.02596791833639145, -0.006468137260526419, -0.004975862335413694, 0.008465392515063286, 0.015431699343025684, 0.009669674560427666, 0.029750928282737732, -0.021044189110398293, -0.01267753541469574, 0.03771863505244255, 0.024909958243370056, 0.011320660822093487, -0.09301701933145523, 0.005813335534185171, -0.008995401673018932, -0.03205191344022751, 0.0035385170485824347, 0.8695888519287109, -0.019284764304757118, 0.021705299615859985, 0.0250875111669302, 0.015134992077946663, 0.016263343393802643, 0.010188736021518707, 0.019709806889295578, 0.01573803275823593, 0.03210305795073509, -0.04301983863115311, -0.009096275083720684, 0.020029589533805847, 0.023281827569007874, 0.021723153069615364, -0.012443301267921925, 0.004035918973386288, 0.02046096697449684, 0.0016447275411337614, 0.007891458459198475, 0.0060878642834723, 0.015840621665120125, -0.024927210062742233, 0.013064464554190636, 0.01011746097356081, 0.015308518894016743, -0.16805431246757507, 0.03997385874390602, -8.60488239956411e-33, 0.059917911887168884, -0.034829217940568924, -0.011109508574008942, -0.005849794950336218, 0.026933971792459488, -0.011290429159998894, 0.06117631867527962, -0.009583752602338791, 0.001731726573780179, -0.02100037783384323, -0.02179449237883091, 0.004508806858211756, -0.014426463283598423, -0.013681297190487385, 0.03197721019387245, -0.00471380352973938, -0.02267104759812355, 0.03542957454919815, 0.005175683181732893, 0.03095041774213314, 0.035657282918691635, 0.02670714072883129, 0.020023543387651443, -0.018911801278591156, 0.0416281595826149, 0.029151620343327522, -0.0029502948746085167, -0.011420362628996372, 0.0010909491684287786, -0.03633257374167442, 0.002695799572393298, -0.006277190521359444, -0.032671112567186356, -0.0012765942374244332, 0.020608533173799515, -0.024653423577547073, 0.004800932016223669, 0.00925034936517477, -0.05674905702471733, -0.030197376385331154, -0.01923314854502678, -0.0008920185500755906, -0.02428477257490158, 0.0006366728921420872, 0.0002050751500064507, -0.012813493609428406, 0.01261976733803749, 0.01802922785282135, 0.019817277789115906, 0.0031780595891177654, -0.011257410980761051, 0.02158377505838871, 0.024659255519509315, -0.006944446358829737, -0.014604473486542702, 0.003650886006653309, 0.018467705696821213, 0.004948557820171118, -0.002924250205978751, 0.05670546740293503, -0.019132345914840698, 0.00679044658318162, -0.016891472041606903, 0.027918830513954163, -0.03413408249616623, -0.011302689090371132, 0.004422076977789402, 0.0093449167907238, 0.0423334576189518, -0.028697408735752106, -0.040588878095149994, -0.0072256093844771385, -0.0014864919940009713, 0.0010420134058222175, -0.012014641426503658, -0.009493241086602211, -0.0013984704855829477, -0.01786527968943119, -0.004697899799793959, 0.019092824310064316, 0.02291122078895569, -0.017478225752711296, -0.023205788806080818, -0.02228703908622265, 0.006627749651670456, 0.009825418703258038, 0.002982334466651082, -0.01618853770196438, -0.006624626461416483, 0.01762116514146328, 0.03561466559767723, 0.015943948179483414, 0.014073929749429226, 0.0023378857877105474, -0.01703513041138649, 8.597503968460793e-33, -0.029229357838630676, 0.000368606299161911, -0.0271343681961298, 0.015213181264698505, 0.018101569265127182, -0.015167511068284512, 0.03623412922024727, -0.004902232438325882, -0.04258888587355614, 0.02144000306725502, -0.03661823645234108, 0.02449255809187889, 0.002328545553609729, 0.02519311010837555, 0.031710993498563766, -0.04342634603381157, 0.03193935379385948, -0.0015544261550530791, 0.013236777856945992, 0.008789710700511932, 0.021494286134839058, 0.023932939395308495, -0.0018193975556641817, -0.001286773243919015, 0.037769466638565063, 0.0644596517086029, -0.008393962867558002, 0.023799831047654152, -0.01632719114422798, 0.02269105426967144, -0.0023441261146217585, 0.0005987407639622688, 0.03009227104485035, 0.0016562255332246423, -0.033274419605731964, -0.0013605509884655476, -0.006872915662825108, 0.0017055264906957746, 0.007946185767650604, -0.012497051618993282, 0.015116416849195957, -0.004664209671318531, -0.0005164174363017082, 0.052336275577545166, 0.001185945002362132, 0.01891479268670082, -0.02100847102701664, 0.013631453737616539, -0.024112191051244736, 0.011929156258702278, -0.011380630545318127, 0.019709838554263115, 0.01637047529220581, -0.02662404254078865, 0.012268527410924435, -0.00426172511652112, -0.058188144117593765, 0.013866720721125603, -0.0030360224191099405, 0.042599841952323914, 0.000039973179809749126, -0.011298411525785923, -0.017755165696144104, 0.029994361102581024, 0.00831702258437872, 0.019122550264000893, -0.030009645968675613, -0.017792169004678726, -0.014478262513875961, -0.025375518947839737, -0.016032906249165535, -0.008426168002188206, -0.02792089618742466, 0.041608478873968124, 0.017161792144179344, -0.03194306418299675, -0.03522137925028801, 0.006073212716728449, 0.007359202951192856, 0.03418160602450371, -0.004739863332360983, -0.014414758421480656, 0.018382268026471138, -0.04933982715010643, 0.03888814151287079, 0.012993941083550453, -0.02978520095348358, 0.014006213285028934, 0.008341279812157154, -0.03838786110281944, 0.005513843148946762, 0.022087693214416504, 0.025283511728048325, -0.012047749944031239, 0.004455419257283211, -1.3629168904571998e-8, 0.013881477527320385, 0.0031195750925689936, -0.0018543779151514173, 0.0203348807990551, 0.04294327273964882, 0.009285611100494862, -0.01773955300450325, -0.0046883439645171165, -0.012747402302920818, 0.008424828760325909, 0.04368934407830238, 0.006857594475150108, -0.009092137217521667, 0.030467916280031204, 0.0319654680788517, -0.013798740692436695, -0.017409516498446465, -0.013484318740665913, 0.014021472074091434, 0.02236764132976532, 0.01847032830119133, 0.036489326506853104, -0.01638052612543106, -0.00515787536278367, -0.01244414784014225, -0.019100479781627655, 0.01963157020509243, -0.06038263067603111, 0.004439434036612511, 0.0001828187087085098, -0.005693068727850914, -0.014771164394915104, -0.026979394257068634, 0.024053355678915977, -0.022934097796678543, -0.000519764085765928, 0.03734413534402847, 0.005693692713975906, 0.014904571697115898, 0.009548679925501347, -0.0332430824637413, -0.013726663775742054, -0.0032397869508713484, -0.03457890823483467, -0.014591976068913937, 0.03450220450758934, -0.02233818545937538, 0.010705391876399517, 0.037135958671569824, -0.04475698247551918, 0.008600438944995403, -0.00814972072839737, -0.018285581842064857, 0.004451657645404339, 0.040708232671022415, -0.010903120040893555, 0.0025841568130999804, 0.005823683924973011, -0.010854093357920647, 0.0119594382122159, 0.018896302208304405, 0.017686501145362854, -0.023181045427918434, -0.03819800168275833 ]
coding-dojo-8-isola
https://markhneedham.com/blog/2009/01/30/coding-dojo-8-isola
false
2009-01-30 11:16:27
TDD: Test DRYness
[ "tdd", "testing" ]
[ "Testing" ]
I had a discussion recently with http://fabiopereira.me/blog/[Fabio] about http://c2.com/cgi/wiki?DontRepeatYourself[DRY]ness in our tests and how we don't tend to adhere to this principal as often in test code as in production code. I think certainly some of the reason for this is that we don't take as much care of our test code as we do production code but for me at least some of it is down to the fact that if we make our tests http://dannorth.net/2008/06/let-your-examples-flow[too DRY then they become very difficult to read] and perhaps more importantly, very difficult to http://www.markhneedham.com/blog/2009/01/28/tdd-design-tests-for-failure/[debug when there is a failure]. There seem to be different types of DRYness that weave themselves into our test code which result in our code becoming more difficult to read. == Suboptimal DRYness == Setup method Putting code into a setup method is the most common way to reduce duplication in our tests but I don't think this is necessarily the best way to do it. The problem is that we end up increasing the context required to understand what a test does such that the reader needs to read/scroll around the test class a lot more to work out what is going on. This problem becomes especially obvious when we put mock expectations into our setup method. One of those expectations becomes unnecessary in one of our tests and not only is it not obvious why the test has failed but we also have a bit of a refactoring job to move the expectations out and only into the tests that rely on them. == Helper methods with more than one responsibility Extracting repeated code into helper methods is good practice but going too far and putting too much code into these methods defeats the purpose. One of the most common ways that this is violated is when we have methods which *create the object under test but also define some expectations on that object's dependencies in the same method*. This violates the idea of having intention revealing method names as well as making it difficult to identify the reason for test failures when they happen. == Assertions I tend to follow the http://www.lostechies.com/blogs/jimmy_bogard/archive/2008/07/24/arrange-act-assert-and-bdd-specifications.aspx[Arrange, Act, Assert] approach to designing tests whereby the last section of the test asserts whether or not the code under test acted as expected. I'm not yet convinced that following the DRY approach is beneficial here because it means that you need to do more work to understand why a test is failing. On the other hand if assertions are pulled out into an intention revealing method then the gain in readability might level out the extra time it takes to click through to a failing assertion. My favourite approach to test assertions is to use behavioral style assertions e.g. [source,csharp] ---- stringValue.ShouldEqual("someString") ---- ...and I don't think applying the DRY principle here, if we have a lot of similar assertions, adds a lot of value. == DRY and expressive I'm not against DRYness in tests, I think it's a good thing as long as we go about it in a way that still keeps the code expressive. == Test data setup The setup and use of test data is certainly an area where we don't gain an awful lot by having duplication in our tests. If anything having duplication merely leads to clutter and doesn't make the tests any easier to read. I have found the http://www.markhneedham.com/blog/2009/01/21/c-builder-pattern-still-useful-for-test-data/[builder pattern] to be very useful for creating clutter free test data where you only specifically define the data that you care about for your test and default the rest. == Single responsibility helper methods If we decide that extracting code into a helper method increases the readability of a test then the key for is to ensure that these helper methods only do one thing otherwise it becomes much more difficult to understand what's going on. My current thinking is that we should aim for having only one statement per method where possible so that we can skim through these helper methods quickly without having to spend too much time working out what's going on. An idea Dan North talks about (and which is nicely illustrated in http://www.lindsaar.net/2008/6/24/tip-24-being-clever-in-specs-is-for-dummies[this blog post]) is putting these helper methods just before the test which makes use of them. I haven't tried this out yet but it seems like a neat way of making the code more DRY and more readable. == In Summary I've noticed recently that I don't tend to read test names as often as I used to so I'm looking to the test code to be expressive enough that I can quickly understand what is going on just from scanning the test. Keeping the code as simple as possible, extracting method when it makes sense and removing clutter are some useful steps on the way to achieving this.
null
null
[ 0.042118072509765625, 0.000746118079405278, -0.029264386743307114, 0.06164205074310303, 0.07418765127658844, 0.022210778668522835, 0.04761141166090965, 0.015491528436541557, 0.02323930151760578, -0.023522285744547844, -0.013216669671237469, 0.015056348405778408, -0.059572093188762665, 0.005041168536990881, -0.05664999783039093, 0.08503396064043045, 0.0728074386715889, -0.015266980044543743, 0.040637820959091187, 0.00942672323435545, 0.04419350624084473, 0.054986149072647095, 0.003651347244158387, 0.03670969232916832, 0.04958890751004219, 0.014257305301725864, 0.0007981846574693918, -0.009360513649880886, -0.057296447455883026, -0.036057841032743454, 0.042577531188726425, 0.010673297569155693, 0.017906852066516876, -0.015275217592716217, 0.013243984431028366, -0.012428666464984417, -0.036708176136016846, 0.02021288312971592, 0.001503206673078239, 0.005441849119961262, -0.05946693196892738, 0.02269645594060421, -0.013923326507210732, 0.015959590673446655, -0.04665480554103851, 0.02025373838841915, -0.025235703215003014, 0.0021934921387583017, -0.008863319642841816, -0.013934047892689705, -0.0560428723692894, 0.05731789395213127, -0.02866281382739544, 0.007881149649620056, -0.009666774421930313, 0.04365171492099762, 0.031406525522470474, -0.0821085125207901, 0.0278097465634346, -0.05762737989425659, -0.010496877133846283, -0.02563105709850788, -0.021428661420941353, 0.04340622201561928, 0.028457267209887505, -0.021366676315665245, -0.014021367765963078, 0.05549509823322296, -0.04343058541417122, -0.0037424308247864246, -0.013898804783821106, -0.0021059869322925806, -0.008203942328691483, -0.015932541340589523, 0.006979518104344606, -0.03788284957408905, -0.0022665238939225674, 0.048595987260341644, 0.005278456956148148, 0.03717093542218208, -0.019419679418206215, -0.0028404335025697947, 0.031927261501550674, -0.0038345165085047483, -0.01397845707833767, -0.03179772570729256, 0.012959517538547516, -0.019223351031541824, -0.03507048264145851, 0.07213175296783447, 0.025215715169906616, -0.04472098499536514, 0.020491475239396095, 0.030428728088736534, -0.01176068652421236, 0.02120772749185562, 0.02518751285970211, -0.001240042969584465, 0.0038240356370806694, -0.008142485283315182, -0.02730599232017994, -0.014040187001228333, 0.012384157627820969, 0.03373757377266884, -0.07849983870983124, 0.001752981566824019, -0.013385003432631493, -0.01856338232755661, -0.01768852025270462, 0.013972099870443344, -0.029821686446666718, 0.02044437639415264, -0.01876094378530979, -0.015038986690342426, -0.09996341913938522, 0.05305233225226402, 0.002192464657127857, -0.03356095030903816, -0.017464466392993927, 0.022831298410892487, 0.042422425001859665, 0.015297234058380127, 0.002387154148891568, 0.07329043000936508, 0.0006504098419100046, 0.03676563873887062, -0.032343294471502304, 0.05006794631481171, -0.01907038502395153, -0.04404854774475098, -0.01653190143406391, 0.04111982882022858, -0.013442699797451496, -0.003916214220225811, 0.006147011648863554, -0.021117480471730232, -0.0018067148048430681, -0.002568292897194624, 0.023730386048555374, 0.05354365333914757, -0.05312955006957054, -0.046179868280887604, 0.028730062767863274, 0.02273072861135006, -0.00433701928704977, 0.028178410604596138, 0.004017336294054985, -0.011708675883710384, -0.02640906535089016, 0.022711802273988724, 0.01913788914680481, 0.024216586723923683, 0.015220214612782001, -0.05486723780632019, 0.015746816992759705, 0.08706668764352798, -0.012007463723421097, 0.024065520614385605, 0.009037306532263756, 0.032539114356040955, 0.026116669178009033, 0.028263600543141365, 0.018529562279582024, 0.04396238550543785, 0.03735659644007683, -0.0023847247939556837, -0.008206180296838284, 0.05081101506948471, -0.007485378999263048, 0.003099828027188778, -0.062331121414899826, -0.06481605023145676, 0.05116008594632149, -0.06325539201498032, -0.01978369429707527, 0.053441066294908524, 0.07928013801574707, 0.012646881863474846, 0.030688930302858353, 0.026926150545477867, -0.08158411085605621, 0.0282455887645483, 0.014433748088777065, 0.016610341146588326, 0.005246075335890055, -0.018068788573145866, 0.0639268159866333, 0.01909797452390194, -0.012483885511755943, 0.042219072580337524, -0.07948342710733414, -0.07897812128067017, -0.001968027325347066, -0.03912249952554703, 0.061344485729932785, -0.030133284628391266, 0.010059316642582417, 0.08646731823682785, 0.01483085472136736, 0.04020344465970993, 0.03362037241458893, 0.002423601457849145, 0.0002587143098935485, -0.03776056319475174, -0.035180576145648956, 0.06721020489931107, 0.04537232592701912, -0.01784376986324787, -0.04487330839037895, 0.0012061508605256677, 0.005070012994110584, 0.0025834133848547935, 0.02491217479109764, -0.011283339001238346, 0.026133505627512932, 0.012763874605298042, 0.0752791091799736, -0.015450717881321907, 0.07538498938083649, -0.07145041227340698, -0.00400828942656517, -0.005636447574943304, -0.017912520095705986, 0.014048480428755283, 0.003337153932079673, 0.11578809469938278, 0.05446190387010574, -0.038215234875679016, -0.043953053653240204, -0.00035412056604400277, 0.025685103610157967, -0.04840844124555588, -0.0010405504144728184, -0.018994374200701714, 0.0013982347445562482, 0.014632071368396282, -0.054623011499643326, -0.019655363634228706, 0.01203533262014389, -0.029124286025762558, 0.010283125564455986, 0.06917857378721237, -0.03170883283019066, 0.04346368461847305, -0.010042709298431873, -0.02035512588918209, -0.003318005707114935, -0.012223641388118267, -0.05107622221112251, 0.014810376800596714, 0.030625609681010246, -0.017672793939709663, 0.06205336004495621, -0.02132936753332615, -0.027271002531051636, -0.022588461637496948, -0.04166117683053017, 0.0162567887455225, 0.04658355191349983, 0.06503496319055557, -0.03169575706124306, 0.0488634817302227, 0.00562812015414238, 0.01154277566820383, 0.006757677067071199, -0.04452907666563988, -0.03706202656030655, -0.005303801503032446, -0.019664805382490158, 0.04962365701794624, 0.0034136991016566753, 0.03251330927014351, 0.0277224313467741, 0.01278715580701828, -0.026038629934191704, 0.009103517979383469, 0.048383720219135284, 0.0295234527438879, -0.0021942059975117445, -0.0014215748524293303, -0.039875272661447525, 0.037614598870277405, -0.034379519522190094, -0.006716876290738583, 0.012853003107011318, -0.08081775903701782, 0.024425139650702477, -0.08030007034540176, -0.0703042596578598, 0.010742834769189358, 0.029787858948111534, 0.02985730580985546, 0.0030497086700052023, 0.024983633309602737, 0.07768414914608002, 0.004856789950281382, 0.014156889170408249, 0.0032830447889864445, 0.023619113489985466, 0.04207539185881615, 0.013538330793380737, -0.01540119294077158, 0.01800594851374626, 0.01845867745578289, 0.01805867813527584, -0.04103692248463631, 0.04175383225083351, -0.009307945147156715, -0.2753784656524658, 0.03846167027950287, 0.024013077840209007, -0.033795762807130814, 0.032823942601680756, -0.01234729029238224, 0.009553283452987671, -0.04848365858197212, -0.020875992253422737, 0.04878200590610504, -0.017255563288927078, -0.04640038311481476, -0.027545826509594917, 0.047817666083574295, 0.0003452806849963963, 0.001834771130234003, 0.038822248578071594, -0.048570722341537476, 0.03591422736644745, 0.06938768923282623, 0.0026206725742667913, -0.06175466999411583, 0.004853006452322006, 0.03789972513914108, 0.018424293026328087, 0.057731322944164276, -0.09477303177118301, 0.06099562346935272, -0.042398132383823395, 0.012077396735548973, -0.0026236148551106453, 0.006529800593852997, -0.007505463901907206, -0.02648542821407318, -0.02135865017771721, -0.001954475184902549, 0.015355510637164116, 0.005710780154913664, -0.024796703830361366, 0.0373397096991539, -0.02046354115009308, -0.0439043864607811, -0.01988387666642666, 0.019282586872577667, 0.06856553256511688, -0.01242783758789301, -0.062429312616586685, -0.01868268847465515, -0.026650264859199524, 0.07884740829467773, -0.05074610561132431, -0.02393203414976597, -0.001726164249703288, 0.04570448771119118, -0.013408279046416283, -0.024170473217964172, 0.021261226385831833, -0.012803267687559128, -0.04294358193874359, -0.030406810343265533, -0.04597487300634384, -0.0404762402176857, -0.013556811958551407, -0.042702335864305496, -0.01511859055608511, -0.05152663588523865, -0.04954766854643822, -0.008787467144429684, 0.06032092496752739, 0.020508447661995888, -0.03909105435013771, 0.015128882601857185, 0.004391828086227179, -0.10643873363733292, -0.0018602596828714013, -0.028512263670563698, -0.039134517312049866, -0.022864945232868195, 0.010649190284311771, 0.03735563904047012, -0.042770449072122574, -0.05053538829088211, 0.034854572266340256, 0.027515415102243423, 0.027909284457564354, -0.0047040884383022785, 0.014711287803947926, -0.0002681383630260825, -0.01859852857887745, 0.037299782037734985, 0.06507761776447296, 0.02343270555138588, -0.03214261308312416, -0.04443022608757019, 0.026785874739289284, 0.05069276690483093, 0.035057127475738525, -0.002582330722361803, 0.029495203867554665, 0.010663343593478203, -0.0017251798417419195, -0.054913703352212906, 0.05565640702843666, -0.004455524496734142, 0.009428712539374828, -0.034552574157714844, -0.05249554663896561, 0.040255069732666016, 0.03229418769478798, 0.03309691697359085, -0.009255299344658852, -0.029054511338472366, 0.012494128197431564, -0.03667471185326576, -0.03559393435716629, -0.02573269046843052, 0.005613688379526138, 0.04160362109541893, -0.020477866753935814, -0.01761535368859768, -0.04534487798810005, 0.010900589637458324, 0.00374294794164598, -0.020731570199131966, -0.04764661192893982, -0.031844038516283035, 0.011836614459753036, -0.023018337786197662, 0.008547035045921803, 0.01367854978889227, -0.022251369431614876, 0.037920597940683365, 0.028802722692489624, -0.03999863564968109, 0.0007654778892174363, -0.0063674491830170155, -0.04671647772192955, -0.012585541233420372, -0.00790421012789011, -0.029251931235194206, -0.0006006445037201047, 0.0022256141528487206, -0.0011061637196689844, 0.026065636426210403, 0.03786490485072136, 0.002649600151926279, 0.03347219154238701, -0.019911186769604683, 0.02046293392777443, 0.01604652963578701, 0.0023921022657305002, -0.06716248393058777, 0.028556251898407936, -0.033440664410591125, -0.033989932388067245, -0.018743846565485, 0.02338339388370514, -0.0038560377433896065, -0.048459865152835846, -0.02873651310801506, 0.021800685673952103, -0.047200482338666916, -0.051724378019571304, -0.04574160277843475, 0.0222163125872612, 0.07111136615276337, -0.031965240836143494, 0.013791225850582123, -0.029229536652565002, -0.029751861467957497, 0.01251356303691864, 0.013753597624599934, -0.05520900338888168, 0.02369917370378971, 0.015316477976739407, -0.009072765707969666, 0.004762331489473581, 0.005173682235181332, 0.047591060400009155, 0.011134183965623379, 0.0004834504215978086, -0.031466271728277206, 0.02651205100119114, 0.006796300411224365, 0.037483327090740204, -0.03039783053100109, 0.0008868877775967121, -0.004370908718556166, -0.020955920219421387, -0.018906814977526665, -0.03700359910726547, -0.026470210403203964, 0.020759141072630882, 0.04978257790207863, -0.04274907335639, -0.06679676473140717, 0.04261363670229912, 0.019866112619638443, 0.01739811711013317, 0.021275384351611137, 0.0037083078641444445, 0.0016778887948021293, -0.029981205239892006, 0.014386164024472237, 0.06315968930721283, -0.05836192145943642, 0.006036639213562012, 0.0029394421726465225, 0.006236550863832235, 0.008889755234122276, -0.010350164026021957, -0.05616239085793495, -0.04354529827833176, -0.024997655302286148, -0.009122981689870358, -0.06343461573123932, -0.03252892196178436, -0.028090249747037888, 0.027899207547307014, -0.0003458142455201596, -0.04026469588279724, -0.020234765484929085, 0.0007468247204087675, -0.017654184252023697, -0.009002209641039371, -0.0033614502754062414, -0.036574359983205795, 0.0034763948060572147, 0.02231844700872898, -0.03986387699842453, 0.00746424263343215, -0.0185606237500906, 0.03516903892159462, 0.004043229855597019, -0.027877751737833023, -0.03473471477627754, -0.033576600253582, 0.017082730308175087, -0.002292951103299856, 0.01556753646582365, -0.0070367795415222645, -0.014901452697813511, -0.018157916143536568, 0.000907866342458874, -0.031538527458906174, 0.01473612617701292, -0.026596330106258392, -0.028639735653996468, 0.030165420845150948, 0.0679151639342308, 0.034148070961236954, 0.04587192460894585, -0.001672963728196919, -0.00366362277418375, 0.054834578186273575, -0.08462318778038025, -0.02685677446424961, -0.04801607504487038, -0.06639917939901352, 0.016551852226257324, 0.0033039667177945375, 0.02599566988646984, -0.01973876543343067, 0.04124545678496361, 0.006807762198150158, 0.029562881216406822, 0.027781890705227852, 0.0038127584848552942, 0.03270569443702698, -0.0705745741724968, 0.0050434451550245285, -0.08329510688781738, 0.013151269406080246, 0.0284135639667511, 0.011185321025550365, -0.0035896890331059694, -0.022974716499447823, -0.034246496856212616, 0.05784212425351143, -0.0530303455889225, -0.003029960673302412, 0.028977978974580765, -0.007371006533503532, -0.002514250110834837, 0.013118685223162174, -0.06313252449035645, 0.013680088333785534, 0.04005815461277962, -0.045134369283914566, -0.04417576640844345, -0.007277661468833685, 0.05678863078355789, 0.02750128135085106, -0.006400891114026308, -0.02595837041735649, 0.01075721811503172, 0.05494525283575058, 0.007399369962513447, 0.023864850401878357, 0.026179207488894463, -0.02978331968188286, 0.0509919635951519, 0.05397334322333336, -0.002508968347683549, -0.026308761909604073, 0.009203084744513035, 0.003041614778339863, -0.05678032711148262, 0.04614529758691788, 0.014765370637178421, -0.029335319995880127, -0.03485571965575218, 0.05444197356700897, 0.025359665974974632, -0.03349224478006363, -0.06053401529788971, -0.005062168464064598, -0.05970821529626846, -0.01398036815226078, -0.022844398394227028, -0.011458098888397217, -0.0592476986348629, 0.059451982378959656, -0.007509857416152954, -0.016532868146896362, 0.06814348697662354, -0.0006741546676494181, -0.022747445851564407, -0.016026899218559265, 0.07507459819316864, 0.09713606536388397, 0.03462646156549454, 0.020349904894828796, 0.055940892547369, -0.01141155045479536, -0.034608080983161926, 0.012242568656802177, -0.025431280955672264, -0.007051767781376839, -0.04075681045651436, 0.007580470759421587, 0.03188597410917282, 0.0011422992683947086, 0.06420183926820755, -0.02744111977517605, -0.0031930641271173954, -0.007279243785887957, 0.03382587432861328, 0.005532342474907637, 0.07406163215637207, -0.006150847300887108, -0.00999639555811882, 0.008068829774856567, -0.05059114471077919, 0.017788343131542206, -0.02775115892291069, -0.02161051332950592, 0.02356732450425625, -0.0091924499720335, 0.00664313742890954, 0.01184097770601511, 0.010967014357447624, 0.055075664073228836, -0.03792174533009529, 0.02829272672533989, -0.006307222880423069, 0.03883824869990349, -0.0007380236638709903, -0.007112512830644846, -0.0205818060785532, -0.03773033246397972, -0.008968216367065907, -0.024775007739663124, -0.008246536366641521, -0.017405642196536064, -0.015714449808001518, 0.05074729397892952, -0.0037428513169288635, -0.0021722998935729265, 0.026854192838072777, 0.019326748326420784, -0.039334509521722794, -0.0688043013215065, -0.040985848754644394, -0.037747353315353394, -0.03920544311404228, -0.010950986295938492, 0.03353838995099068, -0.010173710994422436, -0.02994404174387455, -0.01859651319682598, -0.03016491048038006, -0.043648771941661835, 0.048571713268756866, -0.04135321453213692, -0.018815986812114716, 0.019742267206311226, 0.012182795442640781, 0.0376904159784317, -0.0011431078892201185, 0.045139145106077194, 0.005804865621030331, -0.00980990007519722, -0.034681711345911026, -0.01712445542216301, 0.02599657140672207, 0.007106676232069731, 0.03716530278325081, -0.08000849187374115, 0.002010943600907922, 0.032166559249162674, 0.0038270673248916864, -0.0675598531961441, 0.043427228927612305, -0.01288624107837677, -0.03298282250761986, 0.052139028906822205, -0.024321697652339935, 0.01782771199941635, -0.03256722167134285, -0.006503771990537643, -0.019254537299275398, 0.032007716596126556, 0.02875201217830181, -0.0049907974898815155, 0.07668781280517578, 0.005418757442384958, -0.02318122237920761, -0.03742043673992157, 0.00039206791552715003, 0.00960735697299242, 0.011553528718650341, -0.019301269203424454, -0.018476475030183792, -0.0418560653924942, -0.07643499225378036, -0.022424684837460518, 0.022354984655976295, -0.03154494985938072, -0.02751253731548786, 0.019412923604249954, 0.000472082756459713, -0.06398387998342514, 0.020324591547250748, -0.03339763730764389, 0.03933606296777725, -0.0361606739461422, -0.030406396836042404, 0.04495343193411827, 0.023032329976558685, -0.006950819864869118, 0.011700846254825592, 0.016017533838748932, -0.05148442089557648, 0.0012414148077368736, 0.005536018870770931, 0.025342455133795738, 0.049586545675992966, -0.0059126499108970165, -0.014270064420998096 ]
[ -0.08431295305490494, 0.01780714839696884, -0.019185524433851242, -0.0199261661618948, 0.04721019044518471, -0.03938597813248634, -0.007459655869752169, 0.01959708333015442, -0.005145287606865168, -0.024913301691412926, -0.018715621903538704, -0.052987709641456604, 0.0010138474171981215, 0.00673748180270195, 0.0760883167386055, 0.009589791297912598, -0.003924423363059759, -0.06318804621696472, 0.00969524122774601, 0.021910643205046654, 0.021188169717788696, 0.010798164643347263, -0.02796243131160736, -0.011236676946282387, 0.005779728759080172, 0.03573913872241974, 0.03296876698732376, -0.03442482277750969, 0.00815512239933014, -0.20933285355567932, 0.0066049108281731606, 0.009983220137655735, 0.022181006148457527, -0.026087529957294464, 0.00433660252019763, 0.03503995016217232, 0.03424800932407379, 0.008237016387283802, 0.006255538202822208, 0.04262342303991318, 0.002391690853983164, 0.03080584481358528, -0.07085499912500381, -0.034206777811050415, 0.028029941022396088, 0.02003631182014942, 0.005435043480247259, -0.04352704435586929, 0.018345870077610016, 0.021628865972161293, -0.04716357961297035, -0.03607691079378128, -0.01898021809756756, -0.0521252267062664, -0.00015917205018922687, 0.004104407504200935, 0.0334702767431736, 0.07351858913898468, 0.008823692798614502, 0.0000722063341527246, 0.01590181514620781, -0.034666918218135834, -0.1334572732448578, 0.05932892486453056, 0.06822800636291504, 0.05972329154610634, -0.03337732329964638, -0.020700911059975624, 0.01041845791041851, 0.10033334791660309, -0.0036278236657381058, -0.00866716168820858, -0.012046006508171558, 0.08466849476099014, 0.009980874136090279, 0.008193750865757465, 0.020119087770581245, 0.013486543670296669, 0.04751172289252281, -0.06259946525096893, -0.0017113833455368876, -0.017544426023960114, 0.007639165036380291, -0.003782781772315502, -0.025792406871914864, -0.0008220692398026586, -0.030666222795844078, 0.0569876953959465, 0.06339950859546661, 0.020281029865145683, 0.05022097006440163, -0.02358987182378769, 0.005223002750426531, 0.027171410620212555, -0.06521034240722656, -0.016645167022943497, -0.012141917832195759, 0.007399716880172491, -0.054497115314006805, 0.42057499289512634, -0.059086889028549194, -0.028592627495527267, 0.05559443682432175, 0.056821271777153015, -0.01873619854450226, -0.01062840037047863, 0.010914762504398823, -0.06033787131309509, 0.01996009051799774, -0.05708732828497887, 0.03533894941210747, 0.001083357143215835, 0.06447380036115646, -0.036894895136356354, -0.018210619688034058, 0.020480584353208542, 0.03114294447004795, 0.0022003352642059326, -0.01253357995301485, 0.006838901899755001, 0.002279548905789852, -0.010966293513774872, 0.011898291297256947, 0.0023351304698735476, 0.0036412132903933525, -0.04572329297661781, 0.018506083637475967, 0.08448462933301926, 0.023426789790391922, -0.020083103328943253, 0.0406872034072876, -0.052514053881168365, -0.08084437251091003, 0.011023114435374737, -0.011216560378670692, -0.0014091379707679152, 0.03668302670121193, -0.0035145001020282507, 0.01747727021574974, 0.020000223070383072, 0.01540316827595234, -0.012954187579452991, 0.03207596763968468, -0.02050161547958851, -0.03393850475549698, 0.10371346771717072, -0.013431807979941368, -0.021856246516108513, -0.03532712906599045, -0.07162347435951233, 0.015371283516287804, 0.03726033493876457, -0.021427834406495094, -0.05773741379380226, 0.028979264199733734, 0.003795638680458069, 0.06147360801696777, -0.0038315278943628073, -0.035319481045007706, -0.02813144028186798, -0.015619211830198765, -0.019777271896600723, -0.06460055708885193, 0.018304327502846718, 0.05287883058190346, -0.04192322865128517, -0.0395110622048378, 0.0019369552610442042, 0.027678295969963074, -0.06717106699943542, -0.0005346544785425067, 0.012826409190893173, -0.018446683883666992, -0.017285240814089775, 0.018297920003533363, -0.02189471200108528, -0.021993493661284447, 0.02212081104516983, 0.04503918066620827, 0.04419705271720886, 0.04558367282152176, 0.015544058755040169, -0.04811351001262665, 0.01515173353254795, -0.018048416823148727, -0.0828520879149437, -0.047607842832803726, -0.007182467728853226, -0.02811831794679165, 0.005700108595192432, -0.026560043916106224, -0.04986199364066124, -0.09114757180213928, 0.09847906231880188, -0.04008205607533455, -0.021858522668480873, 0.041191622614860535, 0.0025816995184868574, -0.030935386195778847, -0.030490897595882416, -0.024781033396720886, 0.06185803934931755, -0.0022776806727051735, 0.03824756667017937, -0.07673568278551102, 0.0823601707816124, 0.08450344949960709, -0.07525358349084854, 0.0753321424126625, 0.03826640173792839, -0.05296821519732475, -0.040552057325839996, 0.005094884429126978, 0.034586820751428604, -0.019991377368569374, -0.018864942714571953, 0.0025884138885885477, 0.02509440667927265, -0.004070456139743328, 0.0229756198823452, -0.0013878617901355028, -0.011398662813007832, 0.004686323925852776, -0.35542675852775574, -0.03553202375769615, -0.015947172418236732, -0.00965000968426466, 0.042108841240406036, -0.048709623515605927, -0.008028104901313782, 0.014659218490123749, -0.032708149403333664, -0.009165908209979534, 0.0882190614938736, -0.010985629633069038, 0.0014688753290101886, -0.10602545738220215, 0.009281662292778492, -0.005863668397068977, -0.04245583340525627, -0.036631178110837936, -0.03227832540869713, 0.012632405385375023, -0.006751760374754667, 0.0033015862572938204, 0.005932861007750034, -0.06361187994480133, 0.015124269761145115, -0.05368540808558464, 0.0873931497335434, -0.031848493963479996, 0.08135917782783508, -0.03166074678301811, 0.03490493819117546, 0.007406613323837519, 0.02264748513698578, -0.08410812169313431, -0.014114104211330414, -0.009053334593772888, -0.025577588006854057, 0.00764872133731842, 0.035174380987882614, -0.03704037889838219, -0.029314382001757622, 0.026949822902679443, -0.052214305847883224, -0.03936895355582237, -0.04085506498813629, 0.01780402846634388, -0.02458534762263298, -0.0046636671759188175, -0.06115107983350754, 0.07660280168056488, 0.011766146868467331, -0.004110299050807953, -0.002034917939454317, 0.002788729267194867, 0.007473545614629984, -0.03778459504246712, -0.09084063768386841, 0.025891076773405075, 0.015041007660329342, -0.006032200064510107, 0.04580537974834442, 0.07453079521656036, 0.04732595756649971, -0.05127687379717827, -0.018695706501603127, 0.004333320539444685, 0.006803784519433975, -0.03580794483423233, 0.05222797393798828, -0.006794371176511049, -0.01601605862379074, 0.1132591962814331, -0.008028727024793625, -0.0218974556773901, 0.018017098307609558, 0.034761693328619, -0.01651274599134922, 0.001421936322003603, 0.005641672294586897, -0.014114837162196636, 0.03576667234301567, -0.0004941865336149931, 0.02118535526096821, -0.022627975791692734, 0.004425452556461096, 0.019265353679656982, -0.04350103810429573, -0.022678935900330544, 0.05726258084177971, 0.004756610374897718, -0.04775162786245346, 0.023289166390895844, -0.028394091874361038, -0.05982744321227074, 0.069706492125988, 0.01213157456368208, -0.22681713104248047, -0.0022359457798302174, 0.07246009260416031, 0.05738336965441704, -0.01935652457177639, 0.04788259044289589, 0.0373929888010025, -0.03876746818423271, 0.021150514483451843, -0.005012731067836285, 0.0038988194428384304, 0.012644398957490921, 0.004074954427778721, -0.017369117587804794, 0.05664835497736931, -0.015451314859092236, 0.05150045454502106, -0.012666821479797363, 0.021696150302886963, -0.024804500862956047, 0.024761326611042023, -0.016676409170031548, 0.14971321821212769, -0.00799612794071436, 0.017387449741363525, 0.029766077175736427, 0.04103299230337143, 0.01444227248430252, 0.0858728289604187, 0.018551651388406754, 0.016446013003587723, 0.010730987414717674, 0.0441904217004776, 0.008919518440961838, 0.02754458598792553, -0.06160418689250946, -0.028592100366950035, 0.010461162775754929, 0.043844159692525864, -0.011130599305033684, 0.024181948974728584, -0.008098870515823364, -0.05594797804951668, 0.012583902105689049, 0.0785955935716629, 0.01279526762664318, -0.014207901433110237, -0.06914402544498444, -0.03779401257634163, -0.005088969599455595, -0.03999330848455429, -0.039314739406108856, 0.024121960625052452, -0.015889856964349747, 0.003584478050470352, 0.07048846781253815, 0.029503358528017998, -0.004251240752637386, -0.027019208297133446, 0.02389756590127945, 0.0054274206049740314, -0.04649491235613823, 0.1212891936302185, 0.07423540949821472, 0.008422850631177425 ]
[ -0.02372628077864647, -0.0007562390528619289, 0.012637464329600334, 0.009906474500894547, -0.004707734566181898, -0.0042754244059324265, -0.008784438483417034, 0.03288203105330467, 0.0027792230248451233, -0.0010817121947184205, -0.031973518431186676, -0.00032748666126281023, 0.016340060159564018, 0.00937674380838871, 0.00398447597399354, 0.0025006902869790792, -0.008231219835579395, 0.006831577979028225, 0.027429131790995598, 0.0011361284414306283, -0.003787454217672348, 0.02394072338938713, 0.029807893559336662, -0.006787880789488554, -0.017021048814058304, 0.013565913774073124, -0.007669429760426283, 0.0036100568249821663, 0.011671748012304306, -0.13620224595069885, -0.025860242545604706, -0.025158094242215157, -0.020029745995998383, 0.03163202479481697, 0.004899509251117706, -0.006006323732435703, 0.0020816989708691835, 0.03383805230259895, 0.009562364779412746, 0.012337586842477322, 0.0054969144985079765, 0.018690377473831177, 0.008878456428647041, 0.003742787754163146, 0.0003876672708429396, 0.00459416164085269, -0.011539595201611519, -0.015411983244121075, -0.017112931236624718, -0.019166870042681694, 0.002417859388515353, 0.013831271789968014, 0.022351456806063652, -0.004531767684966326, 0.020500419661402702, -0.0059353867545723915, 0.023199671879410744, -0.030463773757219315, -0.004427574574947357, 0.0004929710412397981, 0.009880195371806622, 0.01846662163734436, -0.033043332397937775, -0.0294952355325222, -0.009923969395458698, -0.006544202566146851, -0.015699243173003197, 0.01341691892594099, -0.0203898586332798, -0.006105232983827591, -0.04314746335148811, 0.009992933832108974, -0.01612129434943199, 0.007893521338701248, -0.0033534846734255552, 0.02015923336148262, 0.012973889708518982, -0.017591232433915138, 0.01868763379752636, -0.021891746670007706, -0.027503859251737595, 0.020886709913611412, 0.015473788604140282, 0.016114966943860054, 0.0066923885606229305, -0.003935002721846104, 0.039402641355991364, -0.009170453995466232, 0.03148534521460533, 0.013337290845811367, -0.021000567823648453, 0.013131898827850819, -0.02739773504436016, 0.045369233936071396, -0.059921346604824066, -0.0025342977605760098, 0.022019583731889725, -0.002710538450628519, 0.011879751458764076, 0.8756856322288513, -0.010654854588210583, 0.02309001423418522, 0.05101415142416954, 0.010117055848240852, 0.00553690642118454, -0.04071318730711937, 0.0014482616679742932, -0.023901931941509247, 0.032443102449178696, -0.061908502131700516, -0.01696319691836834, 0.014586349949240685, 0.038692452013492584, 0.012184218503534794, -0.005541312042623758, 0.005857036914676428, -0.011804130859673023, -0.0006311338511295617, -0.013267630711197853, -0.002865428803488612, 0.03123221918940544, 0.009338087402284145, 0.012665129266679287, 0.01761932671070099, 0.03198167309165001, -0.16572482883930206, 0.0073114847764372826, -9.621607136524647e-33, 0.03680448979139328, -0.02203429862856865, 0.0017539338441565633, 0.01388462632894516, 0.012438692152500153, -0.003237792756408453, 0.03880506008863449, 0.027171215042471886, 0.007967425510287285, -0.040707074105739594, 0.016008907929062843, -0.030916012823581696, -0.01724820025265217, -0.0007348830113187432, 0.018202489241957664, 0.014295275323092937, -0.011124856770038605, 0.04057338461279869, -0.014613993465900421, 0.03623291850090027, 0.004758128430694342, 0.026288384571671486, -0.00001693882586550899, -0.03976715728640556, -0.0036446594167500734, -0.0014351756544783711, 0.012779849581420422, 0.03971678763628006, -0.008713196031749249, -0.04018079489469528, -0.00880382489413023, 0.01644786447286606, -0.01439556572586298, 0.0010547356214374304, 0.0014810082502663136, -0.0457322858273983, -0.011881541460752487, 0.01944516785442829, 0.012888035736978054, -0.012353720143437386, -0.037094250321388245, -0.010153299197554588, -0.04401213303208351, 0.010577315464615822, -0.0017989733023568988, -0.030959833413362503, -0.009259811602532864, 0.006210877560079098, 0.03806262090802193, -0.021653946489095688, -0.006870851386338472, 0.011758469976484776, 0.025548839941620827, -0.021507468074560165, 0.015486679039895535, -0.00038033840246498585, -0.00779950525611639, -0.005521649494767189, 0.02411494217813015, 0.02964872494339943, -0.010168946348130703, 0.0036140677984803915, -0.058623991906642914, 0.019279753789305687, -0.006516539957374334, -0.04768957570195198, 0.01958773285150528, -0.007996811531484127, 0.01595805026590824, -0.038938697427511215, -0.03742850571870804, -0.017870604991912842, -0.03932822868227959, -0.00592877296730876, 0.016212865710258484, -0.017123937606811523, 0.0036611370742321014, 0.0391177274286747, -0.007333665620535612, 0.015690548345446587, 0.026678651571273804, -0.015757760033011436, -0.008492651395499706, -0.036372847855091095, -0.013157814741134644, 0.015826493501663208, 0.014401732012629509, -0.02073279768228531, -0.014969457872211933, -0.0018489871872588992, 0.005056220106780529, 0.0032533735502511263, 0.015351375564932823, -0.03316163644194603, 0.010136113502085209, 9.715400565460727e-33, 0.002944482956081629, -0.002044969005510211, -0.035557821393013, 0.023456547409296036, 0.034547191113233566, -0.014341671019792557, 0.005089648999273777, -0.013986813835799694, -0.0512922964990139, 0.04458610713481903, -0.001859547570347786, 0.0025827926583588123, -0.03467819094657898, 0.027154965326189995, 0.0042926594614982605, -0.006584035232663155, 0.017673339694738388, -0.011550177820026875, 0.029521677643060684, -0.008503795601427555, 0.04678676649928093, 0.013266249559819698, 0.01937253028154373, -0.021141724660992622, -0.014599877409636974, 0.04834822565317154, -0.03510067239403725, 0.0438721738755703, 0.005147412419319153, -0.015206586569547653, 0.007041762117296457, 0.007119246758520603, 0.02723095938563347, 0.022485964000225067, -0.00871194712817669, 0.017847824841737747, -0.0002453341439832002, -0.004654113668948412, -0.0033028707839548588, 0.011729651130735874, 0.016685085371136665, 0.014988388866186142, 0.008700260892510414, 0.004050340037792921, 0.0322793610394001, 0.029135696589946747, 0.022358007729053497, -0.055622514337301254, -0.005583821330219507, 0.022552479058504105, -0.002578029176220298, 0.0032938155345618725, 0.01646982878446579, 0.004887315910309553, 0.0032812461722642183, -0.007516354788094759, -0.021401552483439445, -0.010498872958123684, -0.04063098132610321, 0.04147161543369293, -0.00599753437563777, 0.026888538151979446, -0.0265278872102499, 0.006871827878057957, -0.04219558835029602, -0.0009551618131808937, -0.028077637776732445, 0.017770497128367424, -0.002270636847242713, -0.0016052747378125787, -0.030560415238142014, -0.019675377756357193, -0.0009557045414112508, 0.005424877628684044, 0.0412638783454895, 0.013242775574326515, -0.035617485642433167, -0.011411084793508053, -0.0005332073196768761, -0.002796716755256057, 0.008993406780064106, -0.048811282962560654, 0.0025140680372714996, 0.0019524098606780171, -0.004767518490552902, 0.016645818948745728, -0.0026170024648308754, 0.018820015713572502, -0.006286544259637594, 0.0012572146952152252, -0.023877961561083794, -0.02929602563381195, 0.014723686501383781, -0.0016308942576870322, -0.0064454516395926476, -1.4762929545497627e-8, -0.02106267400085926, -0.0031581446528434753, -0.02016182616353035, 0.0027887860778719187, 0.010890468023717403, -0.024669086560606956, -0.008487469516694546, 0.0065145608969032764, -0.030506504699587822, 0.008978493511676788, 0.029310468584299088, 0.007738460786640644, 0.012825959362089634, 0.013161355629563332, 0.015914075076580048, -0.07169400900602341, -0.023301012814044952, 0.005047732498496771, 0.018311845138669014, -0.002579235704615712, 0.03081459552049637, 0.0517394058406353, -0.03565610200166702, 0.03865324333310127, 0.030410397797822952, 0.027204927057027817, 0.026095062494277954, -0.08070795238018036, 0.0016182506224140525, 0.01458750106394291, 0.022663505747914314, -0.026495663449168205, -0.023954538628458977, 0.0011390458093956113, -0.02507784403860569, -0.02757066860795021, -0.011984567157924175, 0.03309120982885361, 0.015108361840248108, -0.005057555623352528, 0.0026842032093554735, -0.016902398318052292, 0.01407533697783947, -0.022067908197641373, 0.0006181373610161245, -0.003999755717813969, -0.0400703102350235, -0.020493095740675926, 0.004062135238200426, -0.05108966305851936, 0.0008389396243728697, 0.005874003283679485, 0.004021880682557821, -0.0001919891219586134, 0.0032385813537985086, -0.0061917975544929504, 0.002345184562727809, 0.02142920531332493, -0.03673231974244118, -0.019888250157237053, -0.004676243290305138, 0.03530643507838249, 0.008010109886527061, -0.0175595972687006 ]
tdd-test-dryness
https://markhneedham.com/blog/2009/01/30/tdd-test-dryness
false
2009-01-08 23:41:57
Coding Dojo #5: Uno
[ "coding-dojo" ]
[ "Java", "Coding Dojo" ]
We ran our 5th coding dojo on Thursday night, writing the card game http://en.wikipedia.org/wiki/Uno_(game)[Uno] in Java. We didn't all know the rules so http://www.youtube.com/watch?v=biNXzYOxmb8[this video] explained it - surely a parody but you never know! == The Format We used the http://codingdojo.org/cgi-bin/wiki.pl?RandoriKata[Randori] approach again with 6 people participating for the majority of the session. Everyone paired with everyone else at least once and sometimes a couple of times. We had the pair driving at the front of the room and everyone else further back to stop the tendency of observers to whiteboard stuff. == What We Learnt * *Modeling games is really good for practicing design skills*. Most people had played the game so we had domain experts who could use their knowledge to help drive out the API of the various classes. We didn't get to the scoring part of the game in the time available but it was quite cool to see our code with all the terms detailed in Wikipedia's entry on the term. * We managed to *drive the design much more effectively* than we have done on previous sessions. The flexibility to move between classes depending on where it made most sense to test from next was finally there and we didn't end up with the problem we've had on previous sessions where we ended up with coarsely grained tests and then tried to code the whole application in one go. * It was quite painful for me personally having to manually perform operations on collections in Java rather than having the selection of http://www.markhneedham.com/blog/2008/12/17/functional-collection-parameters-in-c/[functional operators] that are available in C# 3.0. * It wasn't a new learning but I've noticed in my project work that I've become a lot more keen to *keep the steps really small* - there is a bit of pressure on you to do this in a dojo situation and I think it's just continued over from there. Every time I try to be too clever and take a big step something inevitably doesn't work and I end up doing the small steps anyway. It's also a lot of fun coding in this type of environment and watching how others approach problems and how they pair with each other. If you get a chance to attend a dojo I think it'd definitely be worthwhile. == Other Dojo Thoughts * Some ideas for future coding dojos that we discussed were: ** Concurrency - using the http://code.google.com/p/retlang/[Retlang]/http://code.google.com/p/jetlang/[Jetlang] libraries ** Do some stuff with http://code.google.com/p/webdriver/[Web Driver] ** Modeling games ** Taking an open source project and refactoring it * I notice there are a couple of sessions of coding/coding dojos planned for Jason Gorman's http://parlezuml.com/softwarecraftsmanship/sessions/programme.htm[Software Craftsmanship conference]. It will be interesting to see how those work out, especially if there are high numbers of participants. We've always had a fairly small number of people involved which I think has helped to keep everyone involved. I'm not convinced it would be effective with many more participants.
null
null
[ 0.0061080073937773705, -0.009315571747720242, 0.008891466073691845, 0.031610921025276184, 0.06141851842403412, 0.00395682267844677, 0.020032865926623344, 0.03849302604794502, 0.009876963682472706, -0.01718839816749096, -0.010641775093972683, 0.00011557156540220603, -0.04504312202334404, 0.008908889256417751, -0.03394747152924538, 0.06296271830797195, 0.06688805669546127, -0.012912755832076073, 0.02015298791229725, -0.009794102050364017, 0.015646839514374733, 0.0664287805557251, 0.002868067938834429, 0.03764047101140022, 0.02546246349811554, 0.030728746205568314, 0.016553856432437897, 0.008658185601234436, -0.06184493005275726, -0.02364274673163891, 0.04216833785176277, 0.021306829527020454, 0.028057299554347992, -0.0023580091074109077, 0.011250585317611694, -0.032856911420822144, -0.03140447661280632, 0.03866326063871384, 0.01129485946148634, 0.025784414261579514, -0.054378267377614975, 0.04593353718519211, 0.009964191354811192, 0.0063240849412977695, -0.035206619650125504, -0.009134108200669289, -0.040982283651828766, 0.00975053757429123, -0.008314479142427444, -0.005524404812604189, -0.06774429231882095, 0.019095778465270996, -0.008203679695725441, 0.008121802471578121, -0.021072546020150185, 0.05101749300956726, 0.05574267730116844, -0.04695833474397659, 0.013859368860721588, -0.05064692720770836, 0.010140368714928627, -0.007564852479845285, 0.008389917202293873, 0.02084122598171234, 0.010393786244094372, -0.038774147629737854, 0.002432409906759858, 0.0631232038140297, -0.022389626130461693, 0.007161431945860386, -0.015302328392863274, 0.02626180090010166, -0.009198928251862526, -0.04198271781206131, 0.019921666011214256, -0.062206659466028214, 0.017166150733828545, 0.06735730916261673, 0.0031391368247568607, 0.029700493440032005, -0.033552493900060654, 0.01777048595249653, 0.03628572076559067, 0.023341486230492592, -0.006727829575538635, -0.04204890877008438, -0.018048204481601715, -0.02418810874223709, -0.05290740728378296, 0.048529207706451416, 0.004982007667422295, -0.04586634039878845, 0.021897677332162857, 0.033959757536649704, -0.01869984343647957, 0.03378233686089516, 0.010533817112445831, -0.011847542598843575, -0.010519308969378471, -0.010472346097230911, -0.013556038960814476, -0.022443309426307678, 0.040326718240976334, 0.005880598444491625, -0.07877571135759354, -0.0012562343617901206, 0.00797204114496708, -0.021475737914443016, -0.008936240337789059, 0.028791623190045357, -0.028589921072125435, 0.0033571908716112375, -0.004742017015814781, -0.003105912124738097, -0.06995296478271484, 0.06478940695524216, 0.012302735820412636, -0.03577040880918503, -0.034005459398031235, 0.020183447748422623, 0.04789462685585022, 0.02516264095902443, -0.014917468652129173, 0.09703822433948517, 0.012970234267413616, 0.028688868507742882, -0.023525945842266083, 0.054874155670404434, -0.015452086925506592, -0.07470624148845673, 0.006009622942656279, 0.04486401006579399, -0.02986336126923561, -0.004965531174093485, 0.012467381544411182, -0.04056160897016525, -0.00855038221925497, -0.009066538885235786, 0.021189795807003975, 0.024468472227454185, -0.029640905559062958, -0.03265836462378502, 0.028750216588377953, 0.0026634305249899626, 0.016124632209539413, 0.008306407369673252, -0.015424013137817383, -0.029031571000814438, -0.021053632721304893, 0.0008046107250265777, -0.003948980942368507, 0.008239256218075752, 0.018650487065315247, -0.05131088197231293, 0.011268975213170052, 0.08718310296535492, -0.00268716923892498, 0.024087699130177498, -0.017407424747943878, 0.03448716178536415, 0.019791405647993088, 0.0032249828800559044, 0.004511918872594833, 0.02445502206683159, -0.00002725724880292546, -0.011779561638832092, 0.017849812284111977, 0.062427494674921036, -0.012079296633601189, 0.017883989959955215, -0.0691867247223854, -0.04201590269804001, 0.04399457201361656, -0.051744136959314346, -0.045692671090364456, 0.039664652198553085, 0.07210516184568405, 0.02981456182897091, 0.05148199945688248, -0.004047617316246033, -0.08324798941612244, -0.006370088551193476, 0.014054633677005768, 0.017359580844640732, 0.012994959950447083, -0.02718895487487316, 0.05065348744392395, 0.01905890926718712, 0.0015603910433128476, 0.056727517396211624, -0.058811064809560776, -0.07258165627717972, -0.010176585055887699, -0.01726844348013401, 0.05884186923503876, -0.009981280192732811, 0.012149553745985031, 0.07014061510562897, 0.015880556777119637, 0.03159381449222565, 0.027060916647315025, 0.0058916835114359856, 0.03298681974411011, -0.026728589087724686, -0.025604812428355217, 0.05177926644682884, 0.03447750583291054, -0.014006160199642181, -0.044744160026311874, 0.0014254350680857897, -0.008950208313763142, -0.014049138873815536, 0.03492096811532974, -0.019732873886823654, 0.041393473744392395, 0.021678434684872627, 0.05667655169963837, -0.026241682469844818, 0.05645051598548889, -0.06369844824075699, 0.007726093288511038, 0.008010155521333218, -0.015447867102921009, -0.0015286692650988698, 0.01594013161957264, 0.13863681256771088, 0.0512472540140152, -0.044235698878765106, -0.02749781869351864, 0.014367932453751564, 0.0037624298129230738, -0.057189274579286575, -0.00575259467586875, -0.004235849250108004, 0.0059219771064817905, -0.017630238085985184, -0.056081801652908325, -0.055968206375837326, 0.035174012184143066, -0.038254596292972565, -0.000609629147220403, 0.07440929859876633, -0.020121848210692406, 0.05361964926123619, -0.0026323983911424875, -0.007832623086869717, -0.002921885345131159, -0.005593824200332165, -0.024382058531045914, 0.018594564869999886, 0.006701323669403791, -0.02779470570385456, 0.05121108889579773, -0.017073003575205803, -0.02733045443892479, -0.04365471377968788, -0.018846305087208748, -0.0021028160117566586, 0.03749319538474083, 0.047743454575538635, -0.00561385415494442, 0.060893114656209946, 0.0010351163800805807, -0.004002568777650595, -0.011127861216664314, -0.05998595803976059, -0.03816601634025574, -0.028747498989105225, -0.008829385973513126, 0.043357450515031815, 0.00890981312841177, 0.03416677191853523, 0.03750217333436012, -0.02433984912931919, -0.03775828331708908, -0.02183130383491516, 0.029488664120435715, 0.001703490037471056, -0.031379811465740204, -0.02870805747807026, -0.027050532400608063, 0.04054975509643555, -0.056772276759147644, -0.025040121749043465, 0.0061245630495250225, -0.0604792982339859, 0.056379444897174835, -0.0711849108338356, -0.06469212472438812, 0.009241277351975441, 0.02446666546165943, 0.07373376935720444, -0.03768276795744896, -0.0004131286987103522, 0.08994364738464355, -0.012196571566164494, 0.020076993852853775, -0.005750613287091255, 0.0015360091347247362, 0.035989005118608475, -0.004567022901028395, 0.0019283767323940992, 0.03359535336494446, 0.010489189997315407, -0.013027642853558064, -0.038350000977516174, 0.04216265305876732, -0.014199505560100079, -0.2796991467475891, 0.025072095915675163, -0.013720132410526276, -0.025353416800498962, 0.01962255872786045, -0.018851496279239655, 0.014610650017857552, -0.046349309384822845, -0.018162617459893227, 0.01819360814988613, -0.033286962658166885, -0.03977508842945099, -0.05062081664800644, 0.06556851416826248, 0.009987951256334782, 0.028132084757089615, 0.019659915938973427, -0.03550126403570175, -0.004023934714496136, 0.05744510516524315, -0.012729800306260586, -0.06326805800199509, -0.009267543442547321, 0.05450954660773277, 0.031094050034880638, 0.06194856017827988, -0.09600528329610825, -0.002308958675712347, -0.044382333755493164, -0.005210251547396183, 0.012736176140606403, 0.01572387106716633, 0.001170841627754271, -0.020456254482269287, -0.025113636627793312, -0.010252151638269424, 0.05023336783051491, -0.0033314472530037165, -0.01661030948162079, 0.025731736794114113, -0.02678282931447029, -0.05054521933197975, -0.021145137026906013, 0.015345887281000614, 0.07407055795192719, 0.00971477571874857, -0.07603152096271515, -0.014310727827250957, -0.024333640933036804, 0.06047924607992172, -0.015383296646177769, -0.03627872094511986, -0.010197420604526997, 0.03688066825270653, -0.008441774174571037, -0.019182268530130386, -0.015474846586585045, -0.007743427995592356, -0.05459050089120865, -0.046741783618927, -0.027423767372965813, -0.04656907916069031, -0.013970441184937954, -0.05909920111298561, 0.010401847772300243, -0.08169995993375778, -0.03388850390911102, 0.013166290707886219, 0.09254608303308487, 0.04120507091283798, -0.035286568105220795, 0.024346720427274704, -0.0114305280148983, -0.10606102645397186, -0.0013156899949535728, 0.014587306417524815, -0.018973225727677345, -0.003960542380809784, 0.013063221238553524, 0.055482346564531326, -0.026840299367904663, -0.0645933598279953, 0.03321351855993271, 0.009494432248175144, 0.01634235866367817, -0.014040892012417316, 0.04721164330840111, 0.009792109951376915, -0.007124410476535559, 0.021598955616354942, 0.07928693294525146, 0.014893317595124245, -0.03057411126792431, -0.026798443868756294, 0.04539915919303894, 0.03912375122308731, 0.036898668855428696, -0.023683730512857437, -0.004148742649704218, 0.033990923315286636, 0.006825512275099754, -0.05239655077457428, 0.03023678809404373, -0.022644786164164543, 0.003226500703021884, 0.0013945202808827162, -0.050346147269010544, 0.015085763297975063, 0.03831920772790909, 0.03859582915902138, 0.005212143063545227, -0.04698936641216278, 0.01920182630419731, -0.03765949606895447, -0.003613967914134264, -0.024659104645252228, 0.02774534747004509, 0.04797568544745445, -0.0064702704548835754, -0.008982911705970764, -0.05364587530493736, 0.024513952434062958, 0.018036777153611183, -0.021241893991827965, -0.04256352409720421, -0.01373512763530016, -0.035881634801626205, -0.01617605984210968, 0.02357294224202633, 0.0040626744739711285, -0.003935468848794699, 0.023974496871232986, -0.00036539777647703886, -0.012769944034516811, 0.019556356593966484, -0.01637708581984043, -0.05707641318440437, -0.03096756339073181, -0.013714836910367012, -0.006896072532981634, 0.0009817887330427766, 0.03208110108971596, -0.0062131984159350395, 0.011898042634129524, 0.02252565324306488, 0.001395343686453998, 0.03246280178427696, -0.0027161557227373123, 0.016961516812443733, 0.01986045204102993, -0.00034621029044501483, -0.09777101129293442, 0.03185997158288956, -0.05319146811962128, -0.025505036115646362, -0.01744389906525612, 0.032438140362501144, -0.023051653057336807, -0.019715826958417892, -0.01338488981127739, 0.019307836890220642, -0.04085397347807884, -0.02243586629629135, -0.039307672530412674, 0.014752797782421112, 0.06006890907883644, 0.0005798794445581734, 0.016213955357670784, -0.020444443449378014, -0.01986078917980194, 0.032185230404138565, 0.020862121134996414, -0.02866034023463726, 0.011938442476093769, 0.016181057319045067, -0.018937455490231514, -0.010735215619206429, -0.018889987841248512, 0.04219430312514305, 0.003150381613522768, -0.003852907568216324, -0.02139715850353241, 0.00763612100854516, 0.0022523601073771715, 0.0492301769554615, 0.004943552426993847, 0.01794036105275154, 0.009295576252043247, -0.010397935286164284, -0.012628248892724514, -0.04086413234472275, -0.014857457019388676, 0.0062951575964689255, 0.004526977892965078, -0.05766691267490387, -0.058494195342063904, 0.04614316672086716, 0.045330747961997986, 0.008373530581593513, 0.021579371765255928, 0.022150037810206413, -0.007224710192531347, -0.031004492193460464, 0.01074114628136158, 0.059318650513887405, -0.07095416635274887, 0.014919907785952091, -0.008049366064369678, 0.013034946285188198, -0.011318961158394814, -0.018274348229169846, -0.0369051955640316, -0.012399560771882534, -0.05209643393754959, -0.006757871713489294, -0.051203448325395584, -0.03769396245479584, -0.019401147961616516, 0.02030194364488125, -0.016813602298498154, -0.009390939027071, -0.008304238319396973, -0.016767961904406548, -0.024699244648218155, -0.017082098871469498, 0.019173994660377502, -0.06963424384593964, -0.0009944033809006214, 0.011583836749196053, -0.02814817801117897, 0.009586930274963379, -0.02227635681629181, 0.011834997683763504, 0.023685287684202194, -0.022733841091394424, -0.031209908425807953, -0.05365784093737602, 0.009779947809875011, 0.024733154103159904, 0.051719244569540024, 0.011758851818740368, -0.017265738919377327, -0.04700857400894165, -0.007709002587944269, -0.03504366800189018, 0.015209372155368328, -0.020425761118531227, -0.025730853900313377, 0.03265014663338661, 0.0554044172167778, 0.03789743036031723, 0.03111431747674942, -0.029126374050974846, -0.022586612030863762, 0.05034271627664566, -0.07816600799560547, -0.00494298804551363, -0.016795849427580833, -0.07151975482702255, 0.00843809824436903, -0.01252935640513897, 0.04244563356041908, -0.03239278495311737, 0.0351150818169117, 0.009881116449832916, 0.038415759801864624, 0.02911572903394699, -0.024091346189379692, 0.022059934213757515, -0.030194981023669243, 0.01084898691624403, -0.08347398787736893, 0.02113991603255272, 0.04242817312479019, 0.022638147696852684, -0.006883456837385893, -0.012374160811305046, -0.042406752705574036, 0.04762503132224083, -0.06617794185876846, 0.0066252402029931545, 0.047772690653800964, 0.0029512285254895687, -0.033152200281620026, 0.010650976561009884, -0.07026120275259018, 0.02538914792239666, 0.0321340411901474, -0.03976837545633316, -0.017015432938933372, -0.038384076207876205, 0.05353033170104027, 0.02226962335407734, 0.030238820239901543, -0.010723968036472797, -0.00614225072786212, 0.07808052003383636, 0.0043866257183253765, 0.000933061062823981, 0.05798186734318733, -0.00788961723446846, 0.05592961236834526, 0.03163408115506172, 0.019104033708572388, -0.000008209050065488555, -0.002656603464856744, -0.016733979806303978, -0.06394583731889725, 0.0038227245677262545, 0.02099657617509365, -0.05284269526600838, -0.04912760481238365, 0.05802695453166962, 0.021799596026539803, -0.03958182409405708, -0.04763088747859001, 0.016197673976421356, -0.06756903231143951, 0.003353122854605317, -0.043481748551130295, 0.015636950731277466, -0.05395771190524101, 0.05487928166985512, 0.0006919438019394875, -0.0006576519226655364, 0.056119706481695175, 0.0039527942426502705, -0.0439278744161129, -0.017403176054358482, 0.08730694651603699, 0.07015752047300339, 0.052939433604478836, 0.02228451706469059, 0.06581907719373703, -0.017085157334804535, -0.039717406034469604, 0.020145153626799583, 0.00004516557964961976, -0.012654642574489117, -0.01927674375474453, 0.023101994767785072, 0.05573566257953644, -0.021527880802750587, 0.05595128610730171, -0.010608565993607044, -0.030821142718195915, 0.023565644398331642, 0.02816932089626789, 0.005152536556124687, 0.0592193640768528, 0.023953676223754883, 0.0035883274395018816, -0.006427423562854528, -0.04683752730488777, 0.037051886320114136, -0.03369063138961792, 0.0003650117723736912, 0.018212102353572845, -0.0027647102251648903, 0.03832883760333061, 0.008442266844213009, 0.029744580388069153, 0.08334063738584518, -0.046154845505952835, 0.018681446090340614, 0.003140015760436654, 0.03547714650630951, 0.023728247731924057, -0.0003270155575592071, -0.03841806575655937, -0.0300996545702219, 0.006857068277895451, -0.03811286762356758, -0.015682155266404152, -0.010269718244671822, -0.013066301122307777, 0.03694847598671913, -0.023394649848341942, 0.020099397748708725, 0.02586912363767624, 0.023202523589134216, -0.02891651913523674, -0.06682310253381729, -0.04827681556344032, -0.017893264070153236, -0.06365953385829926, -0.01876262202858925, 0.04244265705347061, -0.02072129212319851, -0.03875264897942543, -0.00030109097133390605, -0.03613561764359474, -0.013076658360660076, 0.057178422808647156, -0.042178500443696976, -0.04056042432785034, 0.025136835873126984, 0.0013425108045339584, 0.038500428199768066, 0.02137794718146324, 0.054591745138168335, -0.01865125633776188, 0.002072245581075549, -0.045347701758146286, -0.0024189266841858625, 0.03304486721754074, 0.0002671235706657171, -0.0014833806781098247, -0.08418135344982147, 0.03288827836513519, 0.030198033899068832, -0.010086150839924812, -0.049881186336278915, 0.026103075593709946, 0.009162460453808308, -0.001607205718755722, 0.06823895126581192, -0.022832637652754784, 0.004999073687940836, -0.04508938640356064, -0.008514555171132088, -0.01020132564008236, 0.006814206950366497, 0.0467398576438427, -0.023780088871717453, 0.08640340715646744, 0.012283063493669033, -0.03403183072805405, -0.038529276847839355, -0.009467186406254768, 0.005414558108896017, -0.01741647720336914, -0.016379686072468758, -0.03742554038763046, -0.027989210560917854, -0.07904589921236038, -0.016339728608727455, 0.018715664744377136, -0.008906991221010685, -0.03603042662143707, 0.017722027376294136, 0.030076999217271805, -0.0286080501973629, 0.011082540266215801, -0.035351693630218506, 0.047566577792167664, -0.037411995232105255, 0.00908147543668747, 0.018917066976428032, -0.007998481392860413, -0.030476894229650497, 0.0001397368760081008, 0.035583481192588806, -0.03696748986840248, -0.006268815137445927, 0.014603531919419765, 0.01477861125022173, 0.04316229000687599, 0.011264584958553314, -0.022755153477191925 ]
[ -0.11235271394252777, 0.00512009859085083, -0.015167522244155407, -0.04266684129834175, 0.02840154804289341, -0.01915057934820652, -0.027146799489855766, 0.018510030582547188, 0.004456107504665852, -0.01781412772834301, -0.007505467627197504, -0.025051303207874298, -0.011364432983100414, 0.01451051700860262, 0.08031861484050751, 0.0002729561529122293, -0.021453429013490677, -0.03859700635075569, 0.0037329006008803844, 0.025233598425984383, 0.03035682626068592, -0.027344487607479095, -0.023315196856856346, -0.043722398579120636, 0.011394426226615906, 0.04310973361134529, 0.023525167256593704, -0.06159180402755737, 0.02615184150636196, -0.19047074019908905, -0.013558524660766125, 0.025198515504598618, 0.06094872206449509, -0.007265962194651365, -0.024158382788300514, 0.056703563779592514, 0.00015812281344551593, 0.029548559337854385, -0.03244810178875923, 0.02664497308433056, -0.004387237597256899, 0.016106078401207924, -0.04131967946887016, -0.05205489322543144, 0.0500996895134449, -0.014794565737247467, 0.0007138383225537837, -0.06162679195404053, 0.0012498355936259031, 0.019555602222681046, -0.06313362717628479, -0.030174819752573967, -0.006163279991596937, -0.03142498433589935, 0.019582068547606468, 0.008931552991271019, 0.055811893194913864, 0.04262806475162506, -0.012597518041729927, 0.022837890312075615, 0.0018630379345268011, -0.017429213970899582, -0.10573263466358185, 0.07159392535686493, 0.03531559184193611, 0.04177900776267052, -0.02478901483118534, -0.01087223831564188, 0.013484425842761993, 0.0992489829659462, 0.014671597629785538, -0.024618467316031456, 0.0036521756555885077, 0.052138861268758774, 0.0018953484250232577, 0.01294725015759468, 0.008729970082640648, -0.011530398391187191, 0.019831836223602295, -0.04007605463266373, -0.04633157327771187, -0.04526808485388756, -0.005538054276257753, -0.005171982105821371, -0.03251584619283676, 0.037427257746458054, -0.020260756835341454, 0.05408736690878868, 0.008624082431197166, 0.028033697977662086, 0.05737406760454178, 0.018374303355813026, 0.030558573082089424, -0.002508886158466339, -0.0831499844789505, -0.018703322857618332, -0.01440721657127142, 0.025000473484396935, -0.039587751030921936, 0.4942168891429901, -0.01404225081205368, -0.04000639170408249, 0.08525699377059937, 0.021813444793224335, -0.003374804276973009, 0.003638451686128974, 0.01839573308825493, -0.0609898641705513, 0.02054712362587452, -0.044158078730106354, 0.0006445278413593769, 0.014746098779141903, 0.07404033839702606, -0.017623377963900566, 0.005498357117176056, 0.06486700475215912, 0.03712424263358116, 0.023268861696124077, 0.0060445102863013744, 0.003505229949951172, -0.000613062409684062, 0.02587522380053997, -0.0064438628032803535, 0.003995876759290695, -0.018758192658424377, -0.05356474593281746, 0.0051094223745167255, 0.04851842671632767, 0.03828420862555504, 0.004735669586807489, 0.059504393488168716, -0.054656680673360825, -0.058413490653038025, -0.0007750776130706072, -0.013587520457804203, 0.004100953694432974, 0.04097926244139671, -0.007392053958028555, 0.006574712693691254, 0.04181643947958946, 0.016711005941033363, 0.004236776847392321, 0.04604870080947876, -0.03763515129685402, -0.05268473923206329, 0.09455305337905884, 0.015271435491740704, -0.010598420165479183, 0.03121044859290123, -0.027077319100499153, 0.0006185569218359888, 0.008609853684902191, -0.009342784062027931, -0.04828871041536331, 0.009198651649057865, -0.016537964344024658, 0.09436256438493729, 0.010328718461096287, -0.05779200792312622, -0.026626750826835632, -0.0253052469342947, -0.026787862181663513, -0.034671299159526825, 0.020132042467594147, 0.06936618685722351, -0.07332056015729904, -0.01900600828230381, 0.010147813707590103, 0.02759462036192417, -0.08129324018955231, -0.022204868495464325, 0.019101886078715324, -0.049576710909605026, 0.004083616659045219, 0.07062635570764542, -0.02707950957119465, -0.016611719503998756, 0.023849302902817726, 0.03907186537981033, 0.036749206483364105, 0.015747493132948875, 0.021842559799551964, -0.020268673077225685, -0.009105290286242962, -0.03934691846370697, -0.07539960741996765, -0.03315608203411102, -0.011642585508525372, -0.019764520227909088, 0.003433705074712634, -0.021021462976932526, -0.024879222735762596, -0.09344492107629776, 0.09270969033241272, -0.02553899772465229, -0.03166944533586502, 0.030946269631385803, -0.032831739634275436, -0.025743652135133743, -0.03017905168235302, -0.04480462148785591, 0.038540590554475784, -0.01812717132270336, 0.0323919914662838, -0.03224965184926987, 0.025088924914598465, 0.07122315466403961, -0.04986337199807167, 0.07488080114126205, 0.06874889135360718, -0.05544320121407509, -0.04628801345825195, 0.025196542963385582, 0.02291220985352993, 0.008667951449751854, -0.022155562415719032, 0.005230735056102276, 0.024384740740060806, 0.0025841195601969957, 0.00354224955663085, -0.029462352395057678, -0.010545679368078709, -0.0007975844782777131, -0.31419873237609863, -0.024552496150135994, -0.02336919866502285, -0.022944096475839615, 0.0065346225164830685, -0.037821028381586075, 0.017319273203611374, -0.04884345456957817, 0.010766501538455486, -0.016483867540955544, 0.06358195096254349, -0.021134836599230766, 0.008211667649447918, -0.062309280037879944, -0.012936705723404884, 0.007772143464535475, -0.038923200219869614, -0.0036601924803107977, -0.024267617613077164, 0.025750527158379555, 0.007613512221723795, -0.008203013800084591, 0.0015384969301521778, -0.053547922521829605, -0.04010191559791565, -0.04052578657865524, 0.110395647585392, 0.022053761407732964, 0.09094627946615219, -0.050764381885528564, 0.03142959624528885, 0.0003350578772369772, 0.018859807401895523, -0.0863848328590393, 0.01920892857015133, -0.022768622264266014, 0.000569439260289073, -0.03784924000501633, 0.038829900324344635, -0.04337400570511818, -0.05654301866889, 0.011158383451402187, -0.041100431233644485, -0.04475641995668411, -0.05644452944397926, 0.025177275761961937, -0.038279302418231964, -0.05230632424354553, -0.021317889913916588, 0.06792163848876953, 0.022224513813853264, -0.032852597534656525, 0.031288888305425644, -0.013679802417755127, -0.019479259848594666, -0.01716209389269352, -0.07778944820165634, 0.018260959535837173, 0.02628730610013008, 0.01921199820935726, 0.03996773436665535, 0.06612727791070938, 0.004115992225706577, -0.056944478303194046, 0.0051199691370129585, 0.02717769332230091, 0.014715397730469704, 0.009283903054893017, 0.06633717566728592, -0.01662268117070198, -0.02626582607626915, 0.058474451303482056, 0.02486468479037285, -0.03170786798000336, 0.02952849492430687, 0.04251785948872566, 0.007628085557371378, -0.007077919784933329, 0.01590825617313385, 0.015900513157248497, 0.01781151257455349, -0.01673016883432865, 0.03196125105023384, -0.024729900062084198, -0.005774214398115873, 0.03516266867518425, 0.011118513531982899, -0.034157007932662964, 0.05808934196829796, 0.015745261684060097, -0.02211126871407032, 0.024960637092590332, -0.012664871290326118, -0.02256402187049389, 0.059053678065538406, -0.005819641053676605, -0.26696184277534485, 0.012730371206998825, 0.04475368559360504, 0.04459260031580925, -0.0027494640089571476, 0.014434983022511005, 0.03202786296606064, -0.06633395701646805, 0.011914055794477463, 0.0073772212490439415, 0.048121362924575806, 0.016842089593410492, -0.009164411574602127, -0.028740137815475464, 0.044745735824108124, -0.00572696840390563, 0.004117052536457777, -0.0076785581186413765, 0.06629449874162674, -0.0074323504231870174, 0.004159368574619293, 0.028195872902870178, 0.1595677137374878, -0.002697321120649576, 0.03446652740240097, 0.020136164501309395, 0.01211449783295393, -0.009744741953909397, 0.060364555567502975, 0.008550667203962803, -0.02369558811187744, 0.0012347655138000846, 0.04415357485413551, 0.016093291342258453, 0.030285809189081192, -0.07533271610736847, -0.036282215267419815, 0.016839375719428062, -0.001789271249435842, 0.0035572845954447985, -0.013366230763494968, -0.011392920278012753, -0.02909843996167183, 0.002209650119766593, 0.0542316660284996, 0.036419179290533066, 0.01185220293700695, -0.027301503345370293, -0.06169743090867996, -0.012889831326901913, -0.028081761673092842, -0.056169308722019196, 0.0007062053773552179, -0.019796516746282578, -0.0021001265849918127, 0.08692159503698349, -0.004881730768829584, -0.024040207266807556, -0.02818230353295803, 0.003323810640722513, -0.017010021954774857, -0.007074157707393169, 0.11520937830209732, 0.017033999785780907, 0.013889010064303875 ]
[ -0.004658286459743977, 0.010965269058942795, -0.024455111473798752, -0.018591705709695816, -0.01741335727274418, 0.011585547588765621, 0.011318918317556381, 0.007945692166686058, -0.007243876811116934, -0.006751950830221176, -0.032200269401073456, -0.00009060355660039932, -0.00477362796664238, -0.022974669933319092, 0.026465415954589844, -0.012005167081952095, 0.03714089095592499, -0.010599863715469837, 0.011245210655033588, 0.010903316549956799, -0.0060937972739338875, -0.004454148467630148, 0.042581748217344284, -0.02667507901787758, -0.016211584210395813, -0.00400830153375864, 0.028019024059176445, -0.01273168995976448, 0.016867412254214287, -0.14133398234844208, -0.031693533062934875, -0.016653459519147873, 0.0050108530558645725, -0.012849366292357445, 0.004960931837558746, -0.0036636751610785723, 0.0030321311205625534, -0.022713622078299522, 0.00021947025379631668, -0.02524968981742859, -0.02928868681192398, -0.0018002032302320004, -0.012167805805802345, 0.04039065167307854, -0.012601491063833237, -0.004616414662450552, -0.006355867721140385, -0.06297388672828674, -0.0056533971801400185, -0.006811817642301321, -0.03559928759932518, -0.002942813327535987, 0.014948965981602669, 0.011753222905099392, 0.016370391473174095, -0.00829706434160471, -0.018138572573661804, -0.003966145683079958, 0.013369506224989891, -0.010495803318917751, -0.018581582233309746, -0.016310719773173332, -0.0316484235227108, -0.005684601608663797, -0.00450672022998333, -0.034810278564691544, 0.0003792475035879761, 0.015683189034461975, -0.010081174783408642, -0.015806421637535095, -0.012694264762103558, 0.03651170805096626, 0.01181207038462162, -0.03779729828238487, 0.021023830398917198, -0.007917575538158417, -0.0004583679838106036, -0.026703966781497, 0.008331352844834328, -0.026616884395480156, -0.04117611050605774, -0.00767028983682394, 0.022268613800406456, 0.0054116868413984776, 0.01960098184645176, 0.009463340975344181, -0.0031563921365886927, 0.028701959177851677, 0.01993543840944767, 0.003080545924603939, -0.04708150401711464, 0.045082636177539825, 0.01837710291147232, 0.0180516317486763, -0.07140480726957321, 0.013265407644212246, 0.010794964618980885, -0.018768196925520897, 0.008815625682473183, 0.8737122416496277, -0.0035560543183237314, 0.0335981510579586, 0.04114349186420441, 0.005006004124879837, 0.005583530757576227, 0.030917039141058922, 0.002347552450373769, 0.015554395504295826, 0.02669185772538185, -0.051397498697042465, 0.021813932806253433, -0.004255084786564112, 0.02148018404841423, 0.012689302675426006, -0.01792241632938385, 0.018460368737578392, -0.004952355287969112, 0.025812791660428047, -0.016373880207538605, 0.01974848099052906, 0.02146240882575512, -0.033747728914022446, 0.009818755090236664, 0.014573442749679089, 0.035018958151340485, -0.1667294204235077, 0.03249019756913185, -8.060007707179363e-33, 0.06600487977266312, -0.05083218961954117, -0.0061357226222753525, 0.010725214146077633, 0.019043872132897377, 0.010251195169985294, 0.0439181923866272, -0.0005675731808878481, -0.009606854990124702, -0.02250736393034458, -0.002196535700932145, 0.009151393547654152, 0.004774671047925949, -0.029036853462457657, 0.03163054957985878, -0.020593741908669472, -0.01686262898147106, 0.02150668017566204, 0.006762252189218998, 0.02534768171608448, 0.04606683924794197, 0.031208593398332596, -0.0017209778307005763, -0.02425405941903591, -0.007482829038053751, 0.047982677817344666, 0.0008607785566709936, 0.013945790939033031, 0.023269906640052795, -0.025108693167567253, -0.008250455372035503, 0.002254885621368885, -0.03166434168815613, 0.0018799265380948782, -0.0030682587530463934, -0.008162559010088444, -0.03707752004265785, 0.0016984862741082907, -0.03495526313781738, -0.03922658786177635, -0.018676510080695152, -0.0023223210591822863, -0.03746574744582176, -0.023329133167862892, -0.020609473809599876, -0.039481379091739655, 0.016633952036499977, 0.007016886491328478, 0.011196589097380638, 0.053553976118564606, -0.01868201419711113, 0.002647202229127288, 0.025848276913166046, -0.011869899928569794, -0.02778243087232113, -0.009534274227917194, 0.005384697113186121, 0.015978623181581497, -0.006680150981992483, 0.05037609115242958, -0.02940893918275833, 0.008023693226277828, -0.029835185036063194, 0.03485191613435745, -0.019253207370638847, -0.015523338690400124, -0.0035199527628719807, -0.008724052459001541, 0.027180681005120277, -0.014119175262749195, -0.03735029324889183, 0.014500399120151997, -0.021235637366771698, 0.005677520763128996, -0.004589510150253773, -0.015122942626476288, 0.008651142939925194, -0.004090654663741589, 0.0014770817942917347, 0.020637160167098045, 0.031446974724531174, -0.008837235160171986, -0.019838495180010796, -0.032730113714933395, -0.018831895664334297, 0.02507978118956089, 0.0015046767657622695, -0.029921427369117737, -0.02437208779156208, 0.01577545516192913, 0.03365405648946762, 0.009646151214838028, 0.0011937908129766583, 0.001845025341026485, -0.004965735599398613, 7.403221544492519e-33, -0.02648606151342392, -0.005242419429123402, -0.005428653210401535, 0.010161491110920906, 0.04200401529669762, -0.009361681528389454, 0.03126528114080429, -0.02746111899614334, -0.02725255861878395, 0.00786597840487957, -0.027472401037812233, 0.012160289101302624, -0.004432170186191797, 0.017217444255948067, 0.05062389001250267, -0.036102116107940674, 0.018563834950327873, -0.01575235277414322, 0.028088491410017014, 0.004256701562553644, 0.040184877812862396, 0.013483068905770779, 0.0037630435544997454, -0.003170464653521776, -0.01110985316336155, 0.06093665584921837, -0.017535807564854622, 0.004210789687931538, -0.013482950627803802, 0.02841520681977272, 0.012784966267645359, -0.015843737870454788, 0.009169225580990314, 0.0007979747606441379, 0.005836991593241692, 0.005579126998782158, -0.008006960153579712, 0.0008949311450123787, 0.001894385670311749, 0.003319537965580821, 0.006933717522770166, -0.008840490132570267, 0.005056590307503939, 0.0249199029058218, 0.0226158257573843, 0.019365934655070305, -0.018332265317440033, 0.0028607354033738375, -0.016696017235517502, 0.03186655417084694, -0.004118786659091711, 0.02457459457218647, -0.013304443098604679, -0.02368171140551567, -0.005688636098057032, -0.0038451836444437504, -0.02423465996980667, 0.0056482236832380295, 0.010049307718873024, 0.02871527522802353, 0.013556599617004395, 0.004451581742614508, -0.022438496351242065, 0.03736400231719017, 0.0018433971563354135, 0.014328881166875362, -0.030629783868789673, -0.010346687398850918, -0.006005609408020973, -0.0026523410342633724, -0.016258517280220985, 0.008813049644231796, -0.025143645703792572, 0.0350322388112545, 0.0022949855774641037, -0.05633988976478577, -0.0342915803194046, 0.0029062749817967415, -0.005213967990130186, 0.011735540814697742, 0.011036427691578865, 0.005470449570566416, 0.03746527060866356, -0.013993775472044945, 0.009728181175887585, 0.04070352762937546, 0.011237787082791328, 0.0030166811775416136, -0.004486266523599625, -0.018311914056539536, 0.014025264419615269, 0.022092590108513832, 0.041490089148283005, -0.004839227069169283, -0.009997738525271416, -1.336712962540787e-8, -0.017225665971636772, -0.0020817716140300035, -0.017962269484996796, 0.007617665454745293, 0.019063478335738182, 0.018430763855576515, -0.01987214758992195, -0.0034282575361430645, -0.03370708227157593, 0.003482375293970108, 0.06466880440711975, -0.003661660710349679, 0.0067991577088832855, 0.002731440821662545, 0.05406784638762474, -0.02952231466770172, -0.007469350937753916, -0.01187849510461092, 0.009710099548101425, 0.018931439146399498, 0.03153269365429878, 0.024152062833309174, 0.003314052242785692, 0.003229325171560049, -0.016929449513554573, -0.008007286116480827, 0.008978834375739098, -0.06876105815172195, -0.02165393903851509, -0.003003629855811596, -0.028085093945264816, -0.018458420410752296, -0.005535116884857416, 0.012400489300489426, -0.02277764305472374, -0.032470766454935074, 0.02124159410595894, 0.01766028255224228, 0.003909553866833448, -0.0003034955880139023, -0.036832865327596664, -0.011045706458389759, 0.00042361984378658235, -0.021680237725377083, -0.02442914806306362, -0.002784642158076167, -0.01717545837163925, -0.016603054478764534, 0.026321208104491234, -0.03307364508509636, -0.0077743371948599815, -0.004820461850613356, -0.019021887332201004, 0.00720058660954237, 0.020574091002345085, 0.007332079112529755, -0.015550626441836357, -0.017506662756204605, -0.012388425879180431, -0.003548934357240796, 0.02615460753440857, 0.008863271214067936, -0.04894942045211792, -0.029501406475901604 ]
coding-dojo-5-uno
https://markhneedham.com/blog/2009/01/08/coding-dojo-5-uno
false
2009-01-01 09:28:23
2008: My Technical Review
[ "learning" ]
[ "Learning" ]
http://dahliabock.wordpress.com/2008/12/28/2008-in-hindsight/[Others] in the http://haacked.com/archive/2008/12/30/not-your-typical-top-ten-of-2008-post.aspx[blogosphere] seem to be doing 2008 round ups around about now so I thought I'd jump in on the action. == Project Overview * I worked on 5 projects this year writing code in C# 2.0/3.0, Java and Ruby. * 2 of the projects were writing client side code, 2 web applications and 1 writing services. * The domains I worked in were investment banking, insurance and an industrial automation system == What did I learn in 2008? Probably the year in which I've learn the most so far and I've blogged a lot of it previously so these are just some of the main points that come to mind. * I hadn't worked on a legacy code base until this year but got the opportunity to work out how to put *tests around code written in a non TDD way*. I still have more to learn around this area and Michael Feathers 'http://www.amazon.co.uk/Working-Effectively-Legacy-Robert-Martin/dp/0131177052/ref=sr_1_1?ie=UTF8&s=books&qid=1230762963&sr=8-1[Working Effectively with Legacy Code]' is probably the best place to learn it. * I thought I had a reasonable grasp on *coding in an Object Oriented way* but I worked on a project in the second half of the year where I realised how much more could be done by sticking to the principles. We tried out http://www.markhneedham.com/blog/2008/11/06/object-calisthenics-first-thoughts/[object calisthenics] in some coding dojos and I learnt a bit about the idea of managing the flow of an application through using lots of small fine grained objects rather than putting a lot of state into a smaller number of them. * I'd heard of http://en.wikipedia.org/wiki/Representational_State_Transfer[REST] but hadn't worked with this approach on any projects. I did on two projects this year and I think what it advocates ties in very nicely with my current preference for minimising state and keeping it simple. * I worked on projects which all approach agile in a slightly different way. My favourite approach was on a project at the start of the year which was termed *lightweight agile* by one of my colleagues. Looking back on it now I suppose it was almost lean in a way - we had some process but not too much, information about stories was only shared just before it was needed and we spent really high percentage of the time coding. It just worked! * I started writing this blog with some regularity and realised that *putting your thoughts into words makes them much clearer* in your own mind. I think http://apprenticeship.oreilly.com/wiki/share_what_you_learn[sharing your learning] is not only a good way of tracking what you have learnt but for providing a starting point for others trying to learn the same things so I intend to keep doing this. * *Twitter is a really good learning medium* - I wrote previously of how I was using http://www.markhneedham.com/blog/2008/12/07/twitter-as-a-learning-tool/[Twitter as a learning too]l and since then it's proved itself again with some interesting conversations about the http://code.google.com/p/specunit-net/[Context/Spec framework] http://twitter.com/bellware[Scott Bellware] wrote and which http://twitter.com/gblock[Glenn Block] is learning about, and some interesting ideas around Software Craftsmanship by http://twitter.com/coreyhaines[Corey Haines] and http://twitter.com/cory_foy[Cory Foy]. I've not met any of these guys but Twitter has given me the opportunity to learn from them which I think is really great. == What do I want to learn in 2009? There are bound to be areas of learning that come up which I hadn't considered and I'll gain knowledge in those areas, but these are some of the areas that I already know I need to improve in. * *Reading code bases* - This is one thing I've ended up doing much more in 2008 than 2007, in particular reading the code of open source projects. http://softwarecraftsmanship.oreilly.com/wiki/use_the_source[Going to the source] is one of the best way of learning different approaches to problem solving and I'm keen to learn techniques for doing this more effectively. I intend to blog my thoughts on different code bases as I did for http://www.markhneedham.com/blog/2008/12/31/oxite-some-thoughts/[Oxite] as I find doing this allows me to gain more from the process. * In my reading of open source code I've realised that code written for frameworks is much different than that written for applications. I'm keen to spend some time coding like this, just need to find an open source project that intrigues me enough now! * *Functional programming* - I have played around briefly with http://erlang.org/[Erlang] and http://research.microsoft.com/en-us/um/people/curtisvv/fsharp_default.aspx[F#] this year and in the latter part of the year I've had the opportunity to work with some of the functional features in C# but I haven't practice for any length of time yet. I'm keen to see how doing so will influence the way that I write code in imperative languages. I imagine that if I work in the Java world at some stage in 2009 http://clojure.org/[Clojure] will be another language to look at. * How to *utilise coding dojos effectively* - a more general area of learning than the others but I want to try and work out if/how we can make these sessions about deliberate practice to make them more effective for improving skills. * *How to apply lean on projects* - I've been doing quite a bit of reading about the http://www.markhneedham.com/blog/2008/11/19/the-toyota-way-book-review/[The Toyota Way] and http://www.markhneedham.com/blog/2008/12/20/lean-software-development-book-review/[Lean] lately and I'm keen to see how we can apply this principles on software projects. I think this will be in the form of applying agile principles more effectively but it will be interesting to find out.
null
null
[ 0.02598896622657776, 0.008714764378964901, 0.011565692722797394, 0.040387701243162155, 0.09580332785844803, 0.03200788423418999, 0.026253150776028633, 0.04167148843407631, -0.0017814472084864974, -0.0217483788728714, -0.013958053663372993, -0.006448069587349892, -0.05331439524888992, -0.0074561904184520245, -0.044824618846178055, 0.05700230225920677, 0.07506629079580307, -0.01347031444311142, 0.036810629069805145, 0.00411564763635397, 0.02955767512321472, 0.09011990576982498, 0.005769779440015554, 0.03150399401783943, 0.027619322761893272, 0.03515295311808586, 0.010923945344984531, 0.006045978050678968, -0.06527914106845856, -0.019817374646663666, 0.04347381740808487, 0.010755798779428005, 0.019135912880301476, 0.008306341245770454, 0.0233914814889431, -0.01909421570599079, -0.011097701266407967, 0.0212241280823946, 0.0109600480645895, 0.009685417637228966, -0.06560622155666351, 0.05208718031644821, -0.014334493316709995, 0.01823928765952587, -0.049075134098529816, 0.008680501952767372, -0.0255538672208786, -0.00015387671010103077, 0.004899992141872644, -0.0033258439507335424, -0.06752359867095947, 0.02513214200735092, -0.025157898664474487, 0.004991607740521431, -0.03655814379453659, 0.06703601032495499, 0.03570682927966118, -0.0669773668050766, 0.005619601812213659, -0.040521442890167236, 0.004955712705850601, -0.014785241335630417, 0.016694124788045883, 0.04369707033038139, 0.024415092542767525, -0.03438705950975418, -0.0059789554215967655, 0.03753814846277237, -0.03164975717663765, 0.0003109984681941569, -0.006494215689599514, 0.00783685501664877, 0.0035404388327151537, -0.013296990655362606, 0.025895433500409126, -0.05086413025856018, -0.001616336521692574, 0.06866097450256348, 0.008746818639338017, 0.03941881284117699, -0.028375700116157532, 0.02624320425093174, 0.014380289241671562, 0.027564968913793564, -0.013595467433333397, -0.042810890823602676, -0.01591281034052372, -0.02421363815665245, -0.05848624184727669, 0.05943441390991211, 0.0029164631851017475, -0.053807467222213745, 0.03651707246899605, 0.0519426055252552, 0.0007012806599959731, 0.013299532234668732, 0.019472388550639153, 0.01013495959341526, 0.001359647256322205, -0.014513418078422546, -0.04426237940788269, -0.020688775926828384, 0.012831568717956543, 0.003286175662651658, -0.07384871691465378, -0.006394045893102884, -0.026592420414090157, 0.0025713564828038216, -0.006971636321395636, 0.0016877236776053905, -0.012723512016236782, 0.03280835971236229, -0.026826022192835808, -0.001723124529235065, -0.061730049550533295, 0.06322324275970459, 0.005682309623807669, -0.04589802399277687, -0.0018672936130315065, -0.0018310918239876628, 0.03720427304506302, 0.03558249771595001, -0.011413246393203735, 0.07942819595336914, 0.018722454085946083, 0.01958230696618557, -0.018739668652415276, 0.04731371998786926, -0.031110014766454697, -0.05680638551712036, -0.009119919501245022, 0.040532395243644714, -0.04425058513879776, 0.0015602133935317397, 0.003438652725890279, -0.01935691386461258, -0.002087607514113188, 0.0015364267164841294, 0.03683070093393326, 0.05229003354907036, -0.004292672034353018, -0.06687919795513153, 0.01154308207333088, 0.003827541135251522, 0.025121476501226425, -0.0059925224632024765, 0.019206134602427483, -0.022881485521793365, -0.036520686000585556, 0.0019180045928806067, -0.0037153749726712704, 0.022593900561332703, 0.008283410221338272, -0.040988676249980927, 0.02826327458024025, 0.07020488381385803, 0.029590724036097527, 0.02546887844800949, -0.007175789214670658, 0.04434232786297798, 0.03404659405350685, 0.03479916602373123, 0.014535261318087578, 0.022915871813893318, 0.005290879402309656, 0.0012411063071340322, 0.00616041012108326, 0.040426451712846756, -0.0025737548712641, 0.015189019031822681, -0.07371774315834045, -0.04383140429854393, 0.061352331191301346, -0.053170345723629, -0.03939638286828995, 0.039241161197423935, 0.08901149034500122, 0.017884865403175354, 0.04185674339532852, -0.010331382974982262, -0.08240792155265808, 0.014748530462384224, 0.015316049568355083, 0.026811378076672554, 0.01224472001194954, -0.030460217967629433, 0.06506989151239395, 0.020005514845252037, 0.010169724933803082, 0.03596196323633194, -0.07616148144006729, -0.09732870757579803, -0.03302654251456261, -0.032582081854343414, 0.051821231842041016, -0.021028362214565277, 0.005403128918260336, 0.06686937808990479, -0.005529834423214197, 0.054751206189394, 0.008745132014155388, 0.0032034525647759438, 0.02221393771469593, -0.04783754423260689, -0.02496696263551712, 0.0554344616830349, 0.03845280036330223, 0.007306884508579969, -0.043853212147951126, 0.012778566218912601, 0.005288306158035994, -0.0036137860734015703, 0.046040456742048264, -0.03316803276538849, 0.03859467804431915, 0.026491301134228706, 0.06913276016712189, -0.022689590230584145, 0.054149311035871506, -0.04389993101358414, 0.010638369247317314, 0.0023474565241485834, -0.02914375066757202, 0.012881910428404808, 0.01380859687924385, 0.10980496555566788, 0.0627007782459259, -0.06490721553564072, -0.032497651875019073, 0.014688045717775822, 0.01873166300356388, -0.055189911276102066, -0.0168582946062088, -0.009412898682057858, 0.009640666656196117, 0.009656025096774101, -0.05838631093502045, -0.0475788339972496, 0.011856196448206902, -0.037265434861183167, 0.016351599246263504, 0.07140915095806122, -0.016807865351438522, 0.049718305468559265, -0.011857538484036922, -0.01850942336022854, -0.016017703339457512, -0.005032781511545181, -0.05372925475239754, 0.014385639689862728, 0.0012498802971094847, -0.005568722262978554, 0.05931980535387993, -0.020523615181446075, -0.03169548884034157, -0.03317036107182503, -0.043445564806461334, 0.022375155240297318, 0.03392888233065605, 0.060605429112911224, -0.018242210149765015, 0.049562111496925354, -0.0036139695439487696, 0.042119719088077545, 0.006060740444809198, -0.038628485053777695, -0.04243116080760956, -0.0424032099545002, 0.006289427634328604, 0.025455325841903687, 0.0025470785330981016, 0.029266102239489555, 0.03085559979081154, 0.007428699638694525, -0.0006210710271261632, -0.017283719033002853, 0.042394619435071945, 0.00340924016200006, -0.031372733414173126, -0.04022268205881119, -0.040798574686050415, 0.051356520503759384, -0.056256458163261414, -0.01891964115202427, -0.005954706575721502, -0.07961472868919373, 0.06443912535905838, -0.07131059467792511, -0.0458659827709198, 0.011113975197076797, 0.009522377513349056, 0.033729471266269684, -0.0024600874166935682, 0.029211001470685005, 0.08101046830415726, 0.00773148238658905, 0.012733540497720242, -0.011944306083023548, -0.009979215450584888, 0.021952182054519653, 0.004068735521286726, -0.0014100010739639401, 0.025659991428256035, 0.011630304157733917, -0.005312252789735794, -0.041706059128046036, 0.04408576339483261, -0.018930431455373764, -0.28664430975914, 0.03647400438785553, 0.0036332374438643456, -0.05774867162108421, 0.02596680074930191, 0.004247616045176983, 0.002471960848197341, -0.055946093052625656, -0.014627987518906593, 0.013324040919542313, -0.019221754744648933, -0.07098997384309769, -0.027039524167776108, 0.051735781133174896, -0.0040116142481565475, 0.016157442703843117, 0.029040351510047913, -0.0223664753139019, -0.015308205038309097, 0.037767358124256134, -0.009142497554421425, -0.0685509666800499, 0.007500171661376953, 0.04883885011076927, 0.03985680639743805, 0.0516204908490181, -0.09531515091657639, 0.04380064457654953, -0.05774030089378357, -0.004207570571452379, -0.002761558862403035, 0.02276129648089409, 0.007074545603245497, -0.012205448932945728, -0.0314682237803936, -0.011757970787584782, 0.04134067893028259, 0.006613817065954208, -0.002618714002892375, 0.007910987362265587, -0.026837816461920738, -0.028726793825626373, -0.02738097682595253, 0.0005336960311979055, 0.07191184163093567, -0.00003525218562572263, -0.0864267498254776, -0.020497575402259827, -0.023641714826226234, 0.07145971059799194, -0.03634194657206535, -0.03249271586537361, 0.0022985092364251614, 0.05697431415319443, 0.002931991359218955, -0.04251210764050484, 0.002122114645317197, -0.025548594072461128, -0.036289870738983154, -0.028145788237452507, -0.016532085835933685, -0.026381315663456917, -0.004665423650294542, -0.05350981280207634, 0.00862027145922184, -0.06853289157152176, -0.06933533400297165, -0.020522791892290115, 0.08770103752613068, 0.018018756061792374, -0.03315015137195587, 0.02042832039296627, -0.008888049982488155, -0.11296496540307999, 0.01248515211045742, -0.007503322791308165, -0.020769093185663223, -0.0036804103292524815, 0.018424296751618385, 0.041194699704647064, -0.007807702291756868, -0.05677372217178345, 0.01927061192691326, 0.015236328355967999, 0.01883087307214737, -0.023060012608766556, 0.035640645772218704, 0.005553360562771559, -0.024677066132426262, 0.011233801953494549, 0.07356074452400208, 0.000605461245868355, -0.02610185369849205, -0.030372777953743935, 0.016826117411255836, 0.01799442060291767, 0.03460122272372246, -0.00713504059240222, 0.007505843415856361, 0.03885550796985626, 0.013743401505053043, -0.07299889624118805, 0.03310772404074669, -0.031357064843177795, -0.007140932604670525, -0.025264648720622063, -0.03836996108293533, 0.023715129122138023, 0.0382796935737133, 0.031055672094225883, -0.009406852535903454, -0.04882914200425148, 0.011905082501471043, -0.051860250532627106, -0.03792485222220421, -0.011982154101133347, 0.016827505081892014, 0.02560984157025814, -0.019515138119459152, -0.012187333777546883, -0.025567907840013504, 0.0028223772533237934, -0.003359668655321002, -0.010297192260622978, -0.05344739556312561, -0.0339282751083374, -0.014223811216652393, -0.021969744935631752, 0.02172865904867649, 0.029638903215527534, -0.026561247184872627, 0.031129976734519005, -0.0034716464579105377, -0.04898877441883087, 0.009350898675620556, -0.012574789114296436, -0.0480586439371109, -0.03222588449716568, 0.009397375397384167, -0.008556445129215717, 0.002170899882912636, 0.020754382014274597, -0.008070251904428005, 0.02325904555618763, 0.043888647109270096, 0.023133311420679092, 0.03588990122079849, -0.008759251795709133, 0.023450423032045364, 0.005683057941496372, -0.008903049863874912, -0.07498263567686081, 0.020052820444107056, -0.05073856934905052, -0.04150853306055069, -0.024181479588150978, 0.04439419507980347, -0.018145490437746048, -0.03525784611701965, -0.003922662697732449, 0.011757885105907917, -0.0551997609436512, -0.035783279687166214, -0.025128720328211784, 0.017070923000574112, 0.05226012319326401, -0.016879012808203697, 0.045458272099494934, -0.017011886462569237, -0.01374453492462635, 0.01709229312837124, 0.022395195439457893, -0.03477172181010246, 0.002788010286167264, 0.01566159911453724, -0.0019719807896763086, -0.012753112241625786, -0.005064386874437332, 0.059690289199352264, 0.01021641120314598, -0.0053599863313138485, -0.0365462452173233, -0.0029832993168383837, 0.019728753715753555, 0.037167154252529144, -0.0031515946611762047, -0.004189038183540106, -0.006703440565615892, -0.022220220416784286, -0.015167919918894768, -0.03337757661938667, -0.012309412471950054, 0.0014931221958249807, 0.03764931485056877, -0.03790978714823723, -0.07984507828950882, 0.054745446890592575, 0.026506582275032997, 0.005857651121914387, 0.0231048371642828, -0.005846006795763969, 0.002650720300152898, -0.017527269199490547, 0.047015231102705, 0.04433208703994751, -0.06463240832090378, 0.006284814327955246, -0.01035736221820116, 0.02685559168457985, 0.006862514652311802, -0.0007728830096311867, -0.03622644022107124, -0.007533549796789885, -0.03582116588950157, 0.006686353590339422, -0.05337896570563316, -0.013818453066051006, -0.012696953490376472, 0.007383907679468393, -0.02415921352803707, -0.007883189246058464, -0.006744439247995615, -0.002269753022119403, -0.017221691086888313, -0.024494897574186325, 0.03320915997028351, -0.041464321315288544, 0.002697419375181198, 0.018746376037597656, -0.0400652252137661, 0.015334625728428364, -0.024937892332673073, 0.005926487967371941, 0.020990025252103806, -0.020161347463726997, -0.01685003563761711, -0.02466820552945137, 0.0008394374162890017, -0.0102933868765831, 0.05181300267577171, -0.01850801706314087, -0.03940996527671814, -0.038604140281677246, -0.006920090410858393, -0.040134772658348083, 0.025831276550889015, -0.04001395404338837, -0.008438760414719582, 0.03618385270237923, 0.0427352711558342, 0.023812400177121162, 0.03257911279797554, -0.0149158900603652, -0.018468603491783142, 0.04999776929616928, -0.07685340195894241, -0.020936399698257446, -0.0386575385928154, -0.05033181980252266, 0.00816098228096962, 0.00816653948277235, 0.023456629365682602, -0.03178154304623604, 0.06417888402938843, 0.029835138469934464, 0.03643950819969177, 0.03568955883383751, -0.004284224007278681, 0.030116751790046692, -0.07243461161851883, 0.012738862074911594, -0.08149905502796173, 0.0015326618449762464, 0.0348953902721405, 0.011661713011562824, -0.01271046418696642, 0.009096454828977585, -0.04785292595624924, 0.03789079189300537, -0.06738758087158203, -0.02438373491168022, 0.0366927832365036, -0.015037297271192074, -0.019981462508440018, 0.0008237515576183796, -0.064870685338974, 0.03736305236816406, 0.021734297275543213, -0.05422414466738701, -0.033678848296403885, -0.020026111975312233, 0.05135944113135338, 0.00032683744211681187, 0.045873358845710754, -0.04078272357583046, -0.00011217783321626484, 0.07217493653297424, 0.015099568292498589, -0.0022726720198988914, 0.043216101825237274, -0.01610877551138401, 0.043092433363199234, 0.03357412666082382, 0.01769820600748062, -0.01467739138752222, 0.005393140949308872, -0.0036987578496336937, -0.05771401897072792, 0.005513412412256002, 0.015501783229410648, -0.05839868634939194, -0.03412525728344917, 0.06199728697538376, 0.03251427039504051, -0.013622356578707695, -0.049358632415533066, -0.00004155910210101865, -0.06554605811834335, 0.0020656012929975986, -0.02220091223716736, 0.011954104527831078, -0.04828299209475517, 0.046837419271469116, 0.0050271316431462765, 0.00173732521943748, 0.0737011507153511, -0.018692972138524055, -0.024313027039170265, -0.02100416272878647, 0.09541945159435272, 0.07121925801038742, 0.05635358393192291, 0.0006371861672960222, 0.060651857405900955, -0.027169106528162956, -0.03674215078353882, 0.024090386927127838, -0.012589401565492153, -0.011611560359597206, -0.031407736241817474, 0.006570303812623024, 0.061554282903671265, 0.0010014852741733193, 0.06679187715053558, -0.026210064068436623, -0.01900888793170452, 0.0017691331449896097, 0.027852455154061317, 0.01784534566104412, 0.06484628468751907, 0.003927105572074652, 0.012756348587572575, -0.005378691479563713, -0.04649315029382706, 0.025564193725585938, -0.040806468576192856, -0.022044770419597626, 0.027224428951740265, -0.0019514288287609816, 0.016210047528147697, 0.006384124048054218, 0.03240232542157173, 0.08177050948143005, -0.04029298946261406, 0.017797380685806274, -0.009929974563419819, 0.024251434952020645, 0.013725114986300468, -0.0014678173465654254, -0.03568734973669052, 0.0015200552297756076, -0.004276139661669731, -0.01773637905716896, 0.003463750472292304, -0.019280510023236275, -0.016634812578558922, 0.04246046766638756, -0.022410176694393158, -0.019900858402252197, 0.03212922438979149, -0.002008435782045126, -0.032870300114154816, -0.055948592722415924, -0.04086318239569664, -0.03658519685268402, -0.060083359479904175, -0.025946136564016342, 0.014293697662651539, 0.0025393320247530937, -0.027435870841145515, -0.014595462009310722, -0.03332396596670151, -0.03862671181559563, 0.06812553107738495, -0.0428546778857708, -0.022710470482707024, 0.00791564304381609, 0.011462505906820297, 0.024068111553788185, 0.033604878932237625, 0.04603465646505356, -0.005771837197244167, 0.004579706117510796, -0.025929130613803864, 0.00047094965702854097, 0.024437857791781425, 0.01409147959202528, 0.01862393133342266, -0.07157855480909348, 0.03387801721692085, 0.01654067076742649, 0.002050635404884815, -0.0600380077958107, 0.026539811864495277, 0.011291885748505592, -0.012160947546362877, 0.052782464772462845, -0.027816802263259888, 0.013047187589108944, -0.02376556023955345, -0.0033869927283376455, -0.026061441749334335, 0.010384381748735905, 0.04094316065311432, -0.018403450027108192, 0.08487556874752045, 0.028748314827680588, -0.013985560275614262, -0.0334881916642189, -0.023354876786470413, 0.006681127939373255, -0.003016142873093486, -0.031727176159620285, -0.02031060867011547, -0.03181128576397896, -0.06844818592071533, -0.023867135867476463, 0.021403247490525246, -0.01860520802438259, -0.03575962409377098, 0.02953963354229927, 0.026761915534734726, -0.0315789096057415, 0.0223777424544096, -0.03772571310400963, 0.038672372698783875, -0.01529854815453291, -0.005710201803594828, 0.0032844142988324165, 0.013751113787293434, 0.005349796265363693, -0.0015363009879365563, 0.012376022525131702, -0.045579176396131516, 0.0006487693171948195, 0.017437217757105827, 0.03712504729628563, 0.021185217425227165, 0.022759126499295235, -0.004635657649487257 ]
[ -0.112002432346344, -0.011433688923716545, -0.027563942596316338, -0.03841889277100563, 0.03221604600548744, -0.024837980046868324, -0.024356672540307045, 0.02047422155737877, -0.02003265917301178, -0.024423053488135338, -0.007660675328224897, -0.001571173663251102, -0.022705594077706337, 0.008035472594201565, 0.07101961225271225, 0.023920943960547447, -0.01790144294500351, -0.045385073870420456, 0.019802840426564217, 0.01572844199836254, 0.02258170023560524, -0.02841513603925705, -0.019879745319485664, -0.015888072550296783, 0.0189201757311821, 0.0405258983373642, 0.041090257465839386, -0.04173693060874939, 0.016113264486193657, -0.18920370936393738, -0.01721976511180401, 0.032059598714113235, 0.05047586187720299, -0.030644547194242477, 0.018423132598400116, 0.06386495381593704, 0.017743369564414024, 0.03717745095491409, -0.027318986132740974, 0.035729460418224335, 0.03490997478365898, 0.010188914835453033, -0.02940664440393448, -0.026856815442442894, 0.04254850745201111, 0.0013625965220853686, 0.026410656049847603, -0.048204872757196426, -0.01666814461350441, 0.02056221105158329, -0.058864276856184006, -0.03869166970252991, -0.007870080880820751, -0.014154474250972271, -0.005683061666786671, 0.015873193740844727, 0.010794572532176971, 0.09017939120531082, -0.017260581254959106, 0.021506985649466515, 0.01205491740256548, -0.040733397006988525, -0.12875886261463165, 0.09689314663410187, 0.04067418724298477, 0.061332687735557556, -0.02540663070976734, -0.014618746936321259, -0.008077660575509071, 0.09522776305675507, 0.026314973831176758, -0.02870108000934124, -0.014466783031821251, 0.039031509310007095, 0.014490113593637943, -0.0017126876628026366, 0.023324809968471527, 0.011448654346168041, 0.01968344859778881, -0.05381552502512932, -0.021727319806814194, -0.004983352031558752, 0.0028648695442825556, -0.010222375392913818, -0.04018349200487137, 0.0133053595200181, -0.011792915873229504, 0.04262813925743103, 0.039779867976903915, 0.024265730753540993, 0.03818180039525032, -0.011722905561327934, 0.037944164127111435, -0.0229201577603817, -0.08066601306200027, -0.02454311214387417, 0.008489546366035938, 0.008665096014738083, -0.021544894203543663, 0.4560321867465973, -0.024133360013365746, -0.043117206543684006, 0.0985933318734169, 0.021564895287156105, -0.008072441443800926, 0.008701668120920658, 0.030623065307736397, -0.0348137728869915, 0.023102128878235817, -0.029875172302126884, -0.004107796587049961, 0.027263406664133072, 0.06076449900865555, -0.03543319180607796, 0.012284833006560802, -0.0038067807909101248, 0.024521203711628914, 0.028528327122330666, 0.028477689251303673, 0.0010603128466755152, -0.006473145447671413, -0.01539779081940651, 0.015723511576652527, -0.004248073790222406, -0.04530166834592819, -0.04053499549627304, 0.022649306803941727, 0.0480143241584301, 0.04211917892098427, 0.014903937466442585, 0.05303991958498955, -0.03741989657282829, -0.07129107415676117, -0.026469262316823006, 0.0044611538760364056, 0.01964154839515686, 0.03529757633805275, -0.03439811244606972, 0.004678996745496988, 0.026527145877480507, -0.016864724457263947, -0.004201723728328943, 0.03371214494109154, 0.0029024335090070963, -0.05976324900984764, 0.11449610441923141, 0.020534779876470566, -0.008935397490859032, -0.011024714447557926, -0.027779685333371162, 0.019347401335835457, 0.04111293703317642, -0.006828825455158949, -0.048907965421676636, 0.027454612776637077, 0.017158230766654015, 0.09762310981750488, -0.026070084422826767, -0.04575754329562187, -0.012279604561626911, -0.05777349695563316, -0.027743026614189148, -0.040015555918216705, 0.048512812703847885, 0.0453159473836422, -0.12695859372615814, -0.02253691479563713, 0.00950510986149311, 0.03642386198043823, -0.07285547256469727, 0.016668017953634262, 0.01968328468501568, -0.017793577164411545, -0.027780482545495033, 0.05692671239376068, -0.025403108447790146, -0.027456134557724, 0.019788773730397224, 0.049987904727458954, 0.03007027879357338, 0.01881500333547592, -0.0026921448297798634, -0.0317285992205143, 0.008375298231840134, -0.02973206155002117, -0.08093997091054916, -0.031032869592308998, -0.018290448933839798, -0.03521760180592537, 0.005559032317250967, -0.026560310274362564, -0.023025434464216232, -0.09114920347929001, 0.0792451798915863, -0.01619008556008339, 0.0009823259897530079, 0.044877223670482635, -0.006777212023735046, -0.0072420937940478325, -0.03710722178220749, -0.031336165964603424, 0.0256359726190567, -0.03970957547426224, 0.02855949103832245, -0.051064178347587585, 0.043343208730220795, 0.0637710690498352, -0.04933502525091171, 0.0843193307518959, 0.044293731451034546, -0.061869747936725616, -0.051666803658008575, 0.03422098606824875, 0.019369637593626976, 0.008425170555710793, -0.04756111279129982, -0.019376536831259727, 0.021522117778658867, -0.017402444034814835, 0.007473270408809185, -0.02598128467798233, -0.0325155146420002, -0.017605265602469444, -0.3346610367298126, -0.035900820046663284, -0.017422202974557877, -0.02109425514936447, 0.012140551581978798, -0.0649227425456047, 0.01820739358663559, -0.013735383749008179, -0.023617135360836983, 0.008887818083167076, 0.05299994349479675, -0.02957070618867874, 0.024405788630247116, -0.09315627068281174, -0.0012895900290459394, 0.01651834510266781, -0.006783835589885712, -0.029888728633522987, -0.028361445292830467, 0.012366535142064095, -0.009153159335255623, -0.018786462023854256, -0.0009036489063873887, -0.06709279119968414, -0.011623797006905079, -0.06601797044277191, 0.0759727880358696, -0.0038909304421395063, 0.10556290298700333, -0.01850285194814205, 0.04363732412457466, 0.006279736291617155, 0.04583882912993431, -0.11290497332811356, 0.015115462243556976, -0.021709734573960304, 0.0034386012703180313, -0.005623870529234409, 0.02353346161544323, -0.034416407346725464, -0.03907926753163338, 0.010503512807190418, -0.06750354915857315, -0.04254572466015816, -0.062063638120889664, 0.007167171221226454, -0.015840519219636917, -0.051933955401182175, -0.010200518183410168, 0.06196393445134163, -0.0000614336458966136, -0.027688054367899895, 0.018064122647047043, 0.02403653785586357, -0.026291031390428543, -0.01647631824016571, -0.0740789994597435, 0.00700228288769722, 0.0077786934562027454, 0.020321356132626534, 0.04606936499476433, 0.03741144761443138, 0.015085313469171524, -0.04105507582426071, -0.0028948807157576084, 0.013335175812244415, -0.0030856335069984198, -0.01029792707413435, 0.05173870176076889, -0.028980499133467674, -0.03852876275777817, 0.09020597487688065, 0.001519364072009921, -0.029808344319462776, 0.02804453670978546, 0.04624909907579422, -0.022075071930885315, 0.04312645643949509, 0.04594148322939873, -0.004542941693216562, 0.015017684549093246, -0.030949318781495094, 0.03243812546133995, -0.013021308928728104, 0.009042466059327126, 0.04144236817955971, -0.012576747685670853, -0.037971045821905136, 0.03679143264889717, 0.017803866416215897, -0.01578012853860855, -0.00560296094045043, -0.0041046892292797565, -0.03844570368528366, 0.0762854740023613, -0.000011698080925270915, -0.2419564127922058, 0.011085506528615952, 0.09033650904893875, 0.03673212230205536, 0.00029643517336808145, 0.018701909109950066, 0.03842081502079964, -0.08282271027565002, 0.01869451440870762, 0.013426065444946289, 0.04333115741610527, 0.022608397528529167, 0.00437413202598691, -0.017296073958277702, 0.04707605764269829, -0.0196266770362854, 0.02988225221633911, 0.0026676265988498926, 0.012095312587916851, 0.009398837573826313, 0.012509212829172611, 0.012587297707796097, 0.15015551447868347, 0.008323198184370995, 0.03016851842403412, -0.01236303336918354, 0.0053986492566764355, 0.02105712704360485, 0.06676187366247177, 0.012713291682302952, 0.02778811752796173, -0.0015578127931803465, 0.058242958039045334, 0.004340340383350849, 0.013796388171613216, -0.08918313682079315, -0.018823722377419472, 0.05805905908346176, 0.007782512344419956, 0.008485245518386364, 0.009699691087007523, -0.007704016752541065, -0.040103618055582047, 0.01653478853404522, 0.06968208402395248, 0.03864729404449463, 0.009847737848758698, -0.045184072107076645, -0.04028363898396492, -0.03820211812853813, -0.04275060445070267, -0.041480064392089844, 0.01749100536108017, -0.0034380771685391665, 0.00047996817738749087, 0.07134708017110825, -0.003366580931469798, -0.03260698541998863, -0.043026626110076904, -0.009624010883271694, 0.005416207015514374, -0.02365054003894329, 0.11153183877468109, 0.025024538859725, 0.027515582740306854 ]
[ -0.02458016388118267, 0.00010572395694907755, -0.03145679086446762, -0.007715917192399502, -0.015724798664450645, 0.015497289597988129, 0.03366481140255928, 0.01997804082930088, -0.027169102802872658, 0.001950605190359056, -0.003942377399653196, 0.041882626712322235, 0.023814735934138298, -0.016892991960048676, 0.01689297705888748, -0.014841069467365742, -0.0050529176369309425, -0.016316428780555725, 0.008540610782802105, 0.01078494917601347, 0.0015933566028252244, 0.013280470855534077, -0.016287732869386673, -0.019790124148130417, -0.008730487897992134, 0.05446133762598038, 0.023964904248714447, -0.018939893692731857, 0.0003985123476013541, -0.12173030525445938, -0.038717903196811676, -0.02404286153614521, -0.013564825989305973, 0.016199328005313873, 0.01934383064508438, -0.023982470855116844, 0.009328830987215042, 0.005905708763748407, 0.003201700048521161, -0.03210557624697685, 0.01825633831322193, -0.014154739677906036, -0.00696226954460144, 0.005110218655318022, 0.0003947711375076324, 0.008199905976653099, 0.024069927632808685, -0.0383552610874176, -0.0026134292129427195, -0.04304890334606171, -0.03567846119403839, 0.001764685264788568, -0.002080619568005204, -0.0012503017205744982, 0.006335914134979248, -0.023564696311950684, 0.035083211958408356, -0.006057283841073513, -0.02904185652732849, -0.037282682955265045, 0.00040728889871388674, 0.011280558072030544, -0.014888817444443703, -0.013211610727012157, -0.010523902252316475, 0.0006841617869213223, -0.023018430918455124, 0.035553473979234695, -0.04408854618668556, -0.014596503227949142, -0.0077897668816149235, -0.013557442463934422, -0.047292083501815796, -0.02376345545053482, 0.010535425506532192, -0.02120562456548214, 0.018916867673397064, -0.0037695227656513453, 0.0211312398314476, -0.04155570641160011, -0.040807534009218216, 0.024685589596629143, -0.0032043675892055035, 0.022674497216939926, -0.01267679501324892, 0.019562095403671265, -0.005836457014083862, -0.008199258707463741, 0.03695617988705635, 0.008242999203503132, -0.005521508865058422, 0.017364807426929474, 0.006035068072378635, -0.015503466129302979, -0.07376948744058609, -0.04857930913567543, 0.015264628455042839, 0.000035309010854689404, -0.0012066445779055357, 0.8677866458892822, 0.011221379041671753, 0.005116077605634928, 0.02143743447959423, 0.017224326729774475, -0.004752565175294876, 0.022068601101636887, -0.003754429752007127, 0.024564944207668304, 0.03037012554705143, -0.05114182084798813, 0.016783829778432846, 0.04063159599900246, 0.02358749695122242, 0.007961454801261425, 0.01224672980606556, 0.0034612941090017557, -0.01102857943624258, -0.0020209390204399824, -0.00427013635635376, 0.022820422425866127, 0.03209395706653595, 0.01619822345674038, -0.02459002658724785, -0.013065717183053493, -0.0008838080684654415, -0.1561344861984253, -0.013923393562436104, -8.074676407309687e-33, 0.016108432784676552, 0.012279536575078964, -0.03144358843564987, -0.003861290169879794, 0.005272489972412586, -0.004107148852199316, 0.03876350447535515, 0.02732602320611477, 0.01305379904806614, -0.007994736544787884, -0.01895664446055889, 0.010907518677413464, -0.006708766333758831, -0.023971177637577057, 0.031192170456051826, -0.020373651757836342, -0.007317027077078819, 0.0334005281329155, 0.01660405658185482, 0.03716517239809036, 0.030846675857901573, 0.017996056005358696, -0.002940770238637924, -0.0106735248118639, 0.010146534070372581, 0.016764620319008827, -0.0050390358082950115, 0.01257774606347084, 0.0050109089352190495, -0.029275760054588318, 0.02750816009938717, 0.04287393018603325, -0.007933669723570347, -0.007858853787183762, -0.0060105337761342525, -0.02866997942328453, -0.026453623548150063, -0.015394528396427631, -0.014831404201686382, -0.05018718168139458, -0.03465311974287033, -0.011584766209125519, -0.01861196756362915, 0.007426401600241661, 0.008451448753476143, -0.0023680399172008038, -0.009940844029188156, 0.029439840465784073, 0.020570993423461914, -0.004549639765173197, 0.011665508151054382, -0.006836233660578728, 0.01747085154056549, -0.004479735624045134, -0.03867022320628166, 0.017188305035233498, -0.012317894026637077, 0.004236765671521425, 0.008144579827785492, 0.007710619829595089, -0.0042544943280518055, -0.0091231819242239, -0.024082398042082787, 0.010189272463321686, -0.01984756626188755, 0.010795757174491882, 0.002952250652015209, 0.020311854779720306, 0.030287817120552063, -0.018292127177119255, -0.04685181751847267, 0.02339817024767399, -0.009167647920548916, 0.007877360098063946, 0.02203226275742054, -0.01261302549391985, 0.02201157435774803, 0.027891404926776886, -0.025061070919036865, 0.03637031838297844, 0.022990545257925987, 0.008612527512013912, 0.002748388797044754, -0.021509861573576927, 0.014215015806257725, 0.05074664577841759, 0.019722692668437958, -0.009737681597471237, -0.009723932482302189, 0.021491074934601784, 0.0329342857003212, -0.011270534247159958, 0.0073353080078959465, -0.013138179667294025, 0.004627360496670008, 7.538609106348476e-33, -0.013223507441580296, -0.03686007484793663, -0.004955577198415995, 0.005934343207627535, -0.0188166294246912, -0.010568772442638874, 0.028666866943240166, -0.011741873808205128, -0.0433754101395607, 0.03732673451304436, -0.026890600100159645, -0.02225552685558796, -0.005659770220518112, 0.025114351883530617, 0.04763777181506157, -0.016914110630750656, 0.025677425786852837, -0.032799508422613144, 0.03747096657752991, -0.005762416869401932, 0.03858855739235878, 0.018462320789694786, -0.006668162066489458, 0.013735543005168438, 0.008916143327951431, 0.032695967704057693, -0.06386441737413406, 0.029531193897128105, 0.007443356327712536, -0.02499176561832428, -0.009133424609899521, -0.02045893482863903, 0.024928882718086243, -0.001892970292828977, -0.056687336415052414, -0.0004744750913232565, 0.004493871238082647, -0.016976412385702133, -0.01115760300308466, -0.008080551400780678, 0.041266560554504395, -0.047525279223918915, 0.009668335318565369, 0.03372487798333168, 0.011169608682394028, 0.007610329892486334, -0.003083737101405859, -0.021112186834216118, 3.566566704193974e-7, 0.02702571079134941, 0.0033281855285167694, 0.03358754515647888, -0.006075047887861729, 0.018356550484895706, -0.02631380595266819, -0.0019905390217900276, 0.015170169994235039, -0.0017782398499548435, -0.012401892803609371, 0.031388938426971436, -0.021724313497543335, 0.005939266178756952, 0.02017686888575554, 0.019283972680568695, -0.023638416081666946, -0.05540524795651436, 0.0055689737200737, -0.019243257120251656, 0.025948313996195793, -0.05511042848229408, -0.029160110279917717, 0.0024085701443254948, 0.017943590879440308, 0.02663806825876236, 0.013123445212841034, -0.02783554047346115, -0.038602475076913834, -0.005714738741517067, -0.030203210189938545, 0.023472117260098457, -0.001179837854579091, -0.006730339955538511, 0.013775893487036228, 0.016462882980704308, -0.0009890806395560503, 0.04172344133257866, -0.009764418005943298, -0.000600144499912858, 0.0024915416724979877, -0.019121497869491577, -0.041484467685222626, -0.016844142228364944, 0.008910060860216618, -0.011258077807724476, -0.0408073253929615, -1.3539259491324174e-8, -0.009564570151269436, 0.015801627188920975, 0.0036369352601468563, -0.0012318817898631096, 0.020530641078948975, 0.01632528565824032, -0.01968207396566868, 0.003938679117709398, -0.03203299269080162, -0.0025791185908019543, 0.038529008626937866, -0.002409684704616666, -0.02183019556105137, 0.005044624675065279, -0.0053128646686673164, -0.03480616956949234, -0.002392352791503072, -0.022974254563450813, 0.020666344091296196, 0.032576363533735275, 0.05811954289674759, 0.033484265208244324, -0.01605239324271679, 0.019018640741705894, -0.005511726718395948, -0.010466137900948524, 0.005121518857777119, -0.05873436853289604, 0.009566300548613071, -0.005061236210167408, -0.010528134182095528, -0.013983974233269691, -0.003091751364991069, 0.024436023086309433, -0.024093015119433403, -0.05262871831655502, 0.03992551565170288, 0.033839814364910126, -0.0033199219033122063, -0.006672305520623922, 0.005781353451311588, -0.00984287541359663, -0.01535709947347641, -0.018839294090867043, -0.0028265819419175386, -0.02430180087685585, -0.013603029772639275, -0.03397242724895477, 0.036776114255189896, -0.07330645620822906, 0.015362364239990711, 0.000303832784993574, 0.028435926884412766, 0.055389128625392914, 0.026915648952126503, -0.007303943391889334, 0.011379191651940346, -0.05609975382685661, -0.038603078573942184, 0.02198241651058197, 0.0166274756193161, 0.021784305572509766, -0.014528966508805752, -0.017451630905270576 ]
2008-my-technical-review
https://markhneedham.com/blog/2009/01/01/2008-my-technical-review
false
2009-01-06 23:23:06
Outliers: Book Review
[ "success", "gladwell", "deliberate-practice", "books", "book-review" ]
[ "Books" ]
== The Book http://www.amazon.co.uk/Outliers-Story-Success-Malcolm-Gladwell/dp/1846141214/ref=sr_1_1?ie=UTF8&s=books&qid=1231078831&sr=8-1[Outliers] by Malcolm Gladwell == The Review I came across this book following recommendations by http://twitter.com/jchyip[Jason Yip] and http://twitter.com/athought[Steven 'Doc' List] on Twitter. I've previously read The Tipping Point and Blink and I like his easy going style so it was a no brainer that I was going to read this one. I found that this book complimented http://www.markhneedham.com/blog/2008/12/29/talent-is-overrated-book-review/[Talent is Overrated] quite nicely. Outliers covers how the story of how people became the best at what they do whereas Talent is Overrated focuses more on what you need to do if you want to become one of these people. == What did I learn? * Both this and Talent is Overrated refer to the http://www.psy.fsu.edu/faculty/ericsson/ericsson.exp.perf.html[paper] written by K. Anders Ericsson about *Expert Performance and Deliberate Practice*. This is complemented quite nicely by a http://groups.google.com/group/software_craftsmanship/browse_thread/thread/daf1be135a2f4697[discussion] on the http://groups.google.com/group/software_craftsmanship/[Software Craftsmanship] user group. Gladwell doesn't cover the ideas of Deliberate Practice so much and in a lot of the examples he referred to the need for 10,000 hours of practice to become an expert but didn't focus on the fact that this practice needs to be on tasks just above our level of competence. This type of practice is very mentally exhausting and we probably can't do it for more than 4 or 5 hours a day at the most. * There are various examples talking about the *luck involved in being given the opportunity to practice skills* which will make us successful, ranging from Bill Gates and Bill Joy to Canadian ice hockey players. The lessons we can learn from here are that not everyone has the same opportunities and in some cases this can be changed by society. One example of this is around Canadian ice hockey leagues where the vast majority of players tend to be born in the first few months of the year because they had a strength advantage over younger children and therefore got picked for province teams and widened the gap over the others. This problem could be solved by creating 3 intakes so that kids born later can compete against others their size. I think it's important to note that even if you get the opportunity it still needs to be seized upon and the hard work put in if you are to achieve something. * There was an intriguing chapter in the book which talked about the *Power Distance Index* (PDI) and how this varied in different cultures. To paraphrase, the PDI basically describes the willingness of people to speak up to people higher in the hierarchy than themselves. The higher the value the less likely people are to challenge authority. This proved particularly problematic on airplanes where clear communication is necessary between crew members who are at different levels on a hierarchy. I think this idea is applied in software development too - when developing in an agile way I have certainly noticed that there is less hierarchy than in a more waterfall team where the architect would dictate how the work is going to be done and the developers would just follow those instructions. In a way it can manifest itself in pair programming where more Junior team members are afraid to challenge the ideas of the Senior team members although I haven't noticed this so much. * To again reference the chapter about airplane disasters, it was interesting to note that the planes generally weren't crashing because of technical problems, but because of *failure to communicate effectively*. This is exactly the same in software development where the ability to communicate effectively is at least as important as having good technical skills. As Ayende points out, a lot of our job is http://ayende.com/Blog/archive/2009/01/03/70-of-my-job-is-social-engineering.aspx[social engineering]. * *Meaningful work* is described as work which has autonomy, complexity and a clear link between effort and reward. This is the type of work which motivates people to put in the effort to become successful. This idea of a connection between effort and reward seems to link to the ideas around Risk/Reward contracts discussed in http://www.markhneedham.com/blog/2008/12/20/lean-software-development-book-review/[Lean Software Development] in that there needs to be some sort of motivation for improvement i.e. a financial reward. * There is an interesting discussion around Maths and how quickly people tend to *give up if they can't immediately solve a problem*. Maths is considered to be a skill that you either have or don't have, but examples are given of a different learning approach taken to the subject which allows students to take their time to grasp the ideas. I am trying to temper my tendency to do this in my F# learning. Luckily for me there is no rush for me to learn it so I'm taking my time to try and really understand how everything works. * *Cultured cultivation* is described as a difference in the way middle class and lower class families raise their children. Parents of the former give their children a sense of entitlement and encourage them to "customise the environment for their best purposes". This sounds very much like the parents acting as a teacher/coach to their children and guiding them on their journey. We can apply this in software development by adapting our principles to different situations. For example we can use OO techniques in many more situations if we take the time to consider the problem we are trying to solve. We shouldn't sacrifice our approach just because the problem seems too different to use it. == In Summary The book is very easy to read but a lot of it is just providing example after example to back up a point made earlier on. It would have been nice to see more ideas around how we can grasp opportunities that come our way rather than focusing so much on the luck element of this. There are a http://bokardo.com/archives/what-malcolm-gladwells-book-outliers-can-teach-us-about-interface-design/[few] http://www.craigbailey.net/live/post/2009/01/04/Outliers.aspx[other] http://dahliabock.wordpress.com/2009/01/01/book-review-outliers-the-story-of-success/[reviews] of the book that I found quite interesting to read. Each review approaches the book from a slightly different angle and takes different ideas out.
null
null
[ 0.02806704118847847, 0.00043436852865852416, 0.009924049489200115, 0.03496280685067177, 0.08929863572120667, 0.0033572567626833916, 0.05281384289264679, 0.04304929077625275, 0.019780322909355164, -0.01616472192108631, -0.009631146676838398, 0.005331306252628565, -0.06623812019824982, -0.00038727509672753513, -0.05230243504047394, 0.07592348009347916, 0.07303193211555481, 0.03302855044603348, -0.001819611992686987, 0.013021184131503105, 0.039885491132736206, 0.08916208893060684, 0.04168501868844032, 0.024361753836274147, 0.0269145630300045, 0.019717486575245857, 0.017771264538168907, -0.013941765762865543, -0.035423412919044495, -0.0008834644686430693, 0.05476609617471695, -0.012534983456134796, 0.01574063114821911, -0.00529094273224473, 0.00634383037686348, -0.024295145645737648, 0.0033867217134684324, 0.01254985760897398, 0.011036031879484653, 0.012799072079360485, -0.07889142632484436, 0.026967525482177734, -0.022192757576704025, 0.022968975827097893, -0.05530782788991928, 0.0007536842604167759, -0.0400628000497818, 0.02378937043249607, 0.0027280349750071764, -0.007344499696046114, -0.05064830556511879, 0.03646263852715492, -0.015242448076605797, -0.0178617425262928, -0.01628102920949459, 0.0529618002474308, 0.019133098423480988, -0.049450330436229706, 0.024326594546437263, -0.041155047714710236, -0.0022352789528667927, 0.0073736198246479034, -0.010615852661430836, 0.0323944129049778, 0.030059318989515305, -0.012445267289876938, 0.008236236870288849, 0.0469893179833889, -0.03463725373148918, 0.011756956577301025, -0.044185154139995575, 0.007577922660857439, -0.010740569792687893, -0.018203366547822952, 0.0030775584746152163, -0.05488896742463112, 0.025853127241134644, 0.06058613210916519, 0.02453380450606346, 0.041884470731019974, -0.011075363494455814, 0.02805819921195507, 0.015736419707536697, 0.04086228087544441, -0.05044852942228317, -0.03986107185482979, 0.014255770482122898, -0.033946409821510315, -0.06870285421609879, 0.058394432067871094, -0.009645833633840084, -0.04312817379832268, 0.001085568335838616, 0.043336544185876846, 0.0008854782790876925, -0.004898013547062874, 0.028493808582425117, -0.023593910038471222, -0.0346825085580349, -0.03276875615119934, -0.04124831780791283, -0.02793005295097828, -0.01210858952254057, 0.02423175424337387, -0.05945421755313873, 0.029246574267745018, -0.007468511816114187, 0.00013710849452763796, -0.008692057803273201, 0.01993301697075367, -0.030469996854662895, 0.02222610078752041, -0.029785314574837685, 0.00765911815688014, -0.07024252414703369, 0.0658453106880188, 0.019087133929133415, -0.03437859192490578, -0.0025338209234178066, 0.008274086751043797, 0.03928598016500473, 0.02810496650636196, -0.009215198457241058, 0.07084805518388748, 0.0032250715885311365, 0.008228576742112637, -0.007514688652008772, 0.04794400930404663, -0.004705387633293867, -0.024957643821835518, 0.003433259204030037, 0.04042156785726547, -0.0414540059864521, 0.022785402834415436, -0.005273522809147835, -0.010280211456120014, 0.007696953602135181, 0.01858064904808998, 0.015221696346998215, 0.046945735812187195, 0.017500121146440506, -0.036316730082035065, -0.007666422985494137, 0.005328127648681402, 0.020282909274101257, -0.01770883984863758, 0.01697753556072712, -0.02612949162721634, -0.03419666737318039, -0.010497380048036575, 0.030351614579558372, 0.022205369547009468, 0.005268957931548357, -0.024996262043714523, 0.028107870370149612, 0.08175212889909744, 0.04630856588482857, 0.00770112220197916, 0.0049865636974573135, 0.03002861514687538, 0.04350144788622856, 0.05716460943222046, 0.03496797755360603, 0.009385786950588226, 0.022005615755915642, -0.023252105340361595, -0.006201896350830793, 0.04429901763796806, -0.02872130647301674, 0.005495076067745686, -0.04645198956131935, -0.024245712906122208, 0.060313377529382706, -0.05189193785190582, -0.039611849933862686, 0.03530958667397499, 0.06961049139499664, 0.04698419198393822, 0.045395392924547195, 0.010727397166192532, -0.07758916169404984, 0.040575750172138214, 0.03446422517299652, 0.02105541341006756, 0.01217975839972496, -0.027895422652363777, 0.06330384314060211, 0.046582672744989395, 0.02027447149157524, 0.05436636134982109, -0.0645206943154335, -0.10385016351938248, 0.005794876720756292, -0.020330702885985374, 0.05442063510417938, -0.027834448963403702, 0.0191824808716774, 0.06521166861057281, 0.01824997365474701, 0.049336764961481094, -0.006140775978565216, -0.012368712574243546, -0.007615627255290747, -0.04363831877708435, -0.05102971941232681, 0.07518292963504791, 0.01172812283039093, 0.006052861921489239, -0.026102080941200256, 0.020928191021084785, -0.006980659905821085, -0.01587582193315029, 0.023191072046756744, -0.014110814779996872, 0.018422650173306465, 0.007531295530498028, 0.0570044182240963, -0.019734937697649002, 0.03865353390574455, -0.02715246193110943, 0.0099794277921319, -0.0036592562682926655, -0.013757901266217232, 0.0009250921430066228, 0.003112462814897299, 0.11734981089830399, 0.06814540177583694, -0.04842575639486313, -0.0531991645693779, 0.022733449935913086, -0.0037634759210050106, -0.052303001284599304, 0.00629050750285387, 0.013957206159830093, 0.0025718510150909424, -0.00908186286687851, -0.05082612857222557, -0.03306667506694794, 0.03175611421465874, -0.056086465716362, -0.006092624738812447, 0.05584632605314255, -0.017121244221925735, 0.06763405352830887, 0.004028929863125086, 0.0001520079531474039, -0.02582777664065361, -0.0011154988314956427, -0.04705704003572464, 0.003605959704145789, 0.0026683821342885494, -0.017269384115934372, 0.02834160067141056, -0.03520393744111061, -0.02048780582845211, -0.025751246139407158, -0.06067567691206932, 0.035746071487665176, 0.06774275004863739, 0.04816538468003273, -0.01671675406396389, 0.04758303984999657, -0.03225428983569145, 0.05231685936450958, 0.015211851336061954, -0.021504122763872147, -0.04951990768313408, -0.05399935692548752, 0.010371622629463673, -0.005770090967416763, 0.00816583912819624, 0.03489682823419571, 0.007072781212627888, 0.03511534631252289, -0.0016355516854673624, 0.0014998409897089005, 0.046859290450811386, -0.013368114829063416, -0.015889013186097145, -0.013716122135519981, -0.02520713023841381, 0.0744059681892395, -0.036451324820518494, -0.023131776601076126, -0.0017407856648787856, -0.0915922001004219, 0.015467881225049496, -0.03511888533830643, -0.0306007731705904, -0.0016835565911605954, 0.012330949306488037, 0.04103080555796623, 0.05460861697793007, 0.012894009239971638, 0.03160816431045532, 0.005660045892000198, 0.0014319351175799966, 0.010768011212348938, -0.006182224489748478, 0.023602843284606934, 0.012258287519216537, 0.030706722289323807, 0.036665163934230804, -0.0017378153279423714, 0.00745898624882102, -0.044138211756944656, 0.014664500020444393, -0.024377737194299698, -0.2734715938568115, 0.05957278609275818, 0.021188372746109962, -0.027223318815231323, 0.01765505038201809, -0.03222635015845299, 0.012511570937931538, -0.0501844696700573, -0.029155228286981583, 0.025879671797156334, -0.020459026098251343, -0.03213774785399437, -0.02609451673924923, 0.048055365681648254, 0.006412554997950792, -0.000813610793557018, 0.02701951190829277, -0.03981650620698929, -0.003980286419391632, 0.057241663336753845, -0.005947932135313749, -0.07115574926137924, -0.027112262323498726, 0.038855765014886856, 0.05092525854706764, 0.07813794910907745, -0.07087529450654984, 0.016246069222688675, -0.06564068794250488, -0.011671589687466621, 0.004490196239203215, 0.000008060264008236118, 0.008870628662407398, -0.00665046414360404, 0.00010231738997390494, -0.01756823994219303, 0.048894770443439484, 0.0024672525469213724, 0.0014356215251609683, 0.02092556655406952, -0.00795602984726429, -0.03543851524591446, -0.02857806533575058, 0.014177713543176651, 0.08825276046991348, 0.026811277493834496, -0.08515474945306778, 0.002581895561888814, -0.02114569954574108, 0.07517681270837784, -0.04906250908970833, -0.04175429791212082, -0.01756746508181095, 0.025012942031025887, -0.004008373711258173, -0.021366415545344353, 0.003035485977306962, -0.013791200704872608, -0.03892061114311218, -0.04893238842487335, -0.015719207003712654, 0.0030641574412584305, -0.018021753057837486, -0.05261717364192009, -0.020317981019616127, -0.06969217211008072, -0.04721975326538086, -0.030717045068740845, 0.07553208619356155, 0.006191974505782127, -0.04794446751475334, -0.0034639001823961735, -0.020431960001587868, -0.09955084323883057, -0.015407492406666279, -0.00767345679923892, -0.03212966397404671, 0.018199477344751358, 0.014948539435863495, 0.06323473155498505, -0.044275522232055664, -0.05079152435064316, 0.03225143998861313, -0.003050647908821702, 0.03285913169384003, -0.030965905636548996, 0.025380242615938187, 0.02539696916937828, -0.011611142195761204, 0.008894448168575764, 0.07285581529140472, 0.017222393304109573, -0.032556891441345215, -0.035136301070451736, 0.027343686670064926, 0.026545213535428047, 0.02026660367846489, -0.0004950040020048618, 0.01315215788781643, 0.03961670771241188, -0.015552498400211334, -0.06236248090863228, 0.010160726495087147, -0.02473459765315056, -0.026845362037420273, -0.0008742405916564167, -0.056437939405441284, 0.022202085703611374, 0.024864815175533295, -0.005305905360728502, 0.021881913766264915, -0.03255109116435051, 0.025252683088183403, -0.01622116006910801, -0.01921026036143303, -0.03378746286034584, 0.011354020796716213, 0.044797711074352264, -0.009380016475915909, 0.015973476693034172, -0.04999132826924324, 0.011846380308270454, -0.035473208874464035, -0.04734189435839653, -0.06037391722202301, -0.009009819477796555, 0.0041662720032036304, -0.018994508311152458, -0.002258567837998271, 0.019396554678678513, -0.019163168966770172, 0.025857573375105858, 0.02620304934680462, -0.04924507439136505, 0.004950470756739378, -0.05070541799068451, -0.059374500066041946, -0.03678622096776962, -0.001303793047554791, 0.014612844213843346, -0.009287693537771702, 0.021744096651673317, -0.01807219162583351, 0.023844538256525993, 0.04892913997173309, 0.018150251358747482, 0.02221742458641529, -0.023007148876786232, 0.02274196967482567, 0.019905006512999535, 0.00942919310182333, -0.05302687734365463, 0.03405110165476799, -0.04481172561645508, -0.02782445028424263, 0.004254855681210756, 0.011885974556207657, -0.017928991466760635, -0.04667336121201515, -0.02437964826822281, 0.015617315657436848, -0.045543521642684937, -0.05255667865276337, -0.04161906987428665, 0.015406970866024494, 0.051502734422683716, -0.03798021003603935, 0.0388256311416626, -0.022897876799106598, 0.002400893485173583, 0.02413833700120449, 0.009313791058957577, -0.040098242461681366, -0.011082107201218605, -0.003084146650508046, 0.010257979854941368, 0.006920319981873035, -0.008620554581284523, 0.03613780438899994, -0.009330361150205135, -0.012626989744603634, -0.03467772901058197, -0.012420070357620716, 0.006393460091203451, 0.04588168486952782, 0.011847026646137238, -0.024816300719976425, -0.02722971700131893, -0.035652391612529755, -0.021543921902775764, -0.03505702689290047, -0.018905891105532646, -0.0011497922241687775, 0.028777625411748886, -0.02878647670149803, -0.062297023832798004, 0.0475577712059021, 0.022708941251039505, -0.01291238609701395, 0.03395821154117584, -0.012157326564192772, 0.005274302326142788, -0.049566466361284256, 0.006170937791466713, 0.05664758384227753, -0.0764157623052597, 0.01520533300936222, -0.023485885933041573, -0.008292905986309052, 0.023886147886514664, -0.02423800155520439, -0.03406190127134323, -0.0027125952765345573, -0.02387831173837185, 0.03011501580476761, -0.07529658079147339, -0.00682948250323534, -0.03908867761492729, 0.006611456163227558, -0.011031282134354115, 0.0093631437048316, -0.025028696283698082, -0.028589649125933647, -0.014864529483020306, -0.021435469388961792, 0.006692621856927872, -0.04152652248740196, -0.007349710911512375, 0.026073893532156944, -0.06418299674987793, 0.0014505446888506413, -0.023140667006373405, 0.0036721357610076666, 0.028508048504590988, -0.016196899116039276, -0.01907644420862198, -0.042454980313777924, -0.004195214249193668, 0.0052888235077261925, 0.02151109278202057, 0.011277045123279095, -0.015183210372924805, -0.028804972767829895, -0.0023344040382653475, -0.040004804730415344, 0.01639997400343418, -0.012698831036686897, -0.0014321121852844954, 0.06193073093891144, 0.058906037360429764, 0.020503750070929527, 0.0027215529698878527, -0.01590866409242153, -0.018849916756153107, 0.050799112766981125, -0.061985451728105545, -0.01846141740679741, -0.006567931734025478, -0.04937093332409859, 0.028182635083794594, 0.022654131054878235, 0.03921598568558693, -0.032968610525131226, 0.03981977701187134, 0.009977538138628006, 0.03118206188082695, 0.035977818071842194, 0.01275730226188898, 0.02259925939142704, -0.0648413673043251, -0.0010781555902212858, -0.09506690502166748, -0.02428445592522621, 0.006634600460529327, 0.0013174517080187798, -0.019015539437532425, 0.007543270476162434, -0.04767657443881035, 0.04978238791227341, -0.08640030026435852, -0.030322197824716568, 0.029057661071419716, -0.01342860795557499, -0.034431908279657364, 0.009572560898959637, -0.05580137297511101, 0.031308889389038086, -0.0002412186877336353, -0.04824835807085037, -0.02621837891638279, -0.012486839666962624, 0.059792410582304, 0.0035317435394972563, 0.03338271751999855, -0.03040134720504284, -0.011901451274752617, 0.07834731042385101, 0.03072221390902996, -0.00549166277050972, 0.03511590138077736, -0.010608709417283535, 0.016254451125860214, 0.03625044226646423, 0.03205415979027748, 0.016063405200839043, 0.029709327965974808, -0.013943400233983994, -0.06696615368127823, 0.0344671756029129, -0.034799519926309586, -0.035596124827861786, -0.042378850281238556, 0.0548715777695179, 0.008838502690196037, -0.03476458415389061, -0.0782279223203659, 0.017324963584542274, -0.03148910030722618, -0.0189074520021677, -0.019351569935679436, 0.006854410748928785, -0.04935697466135025, 0.04837803170084953, 0.0016030464321374893, 0.012673339806497097, 0.05934605002403259, -0.018301459029316902, -0.02370334044098854, -0.002853546990081668, 0.09247715771198273, 0.07252252846956253, 0.05387568846344948, 0.00917846616357565, 0.0762462168931961, 0.006738753989338875, -0.05070899799466133, 0.014747515320777893, -0.0013937626499682665, -0.015003213658928871, -0.026389701291918755, 0.034603383392095566, 0.057280804961919785, -0.0019673374481499195, 0.0759076401591301, -0.02079959772527218, -0.04368561506271362, -0.020282777026295662, 0.030568156391382217, 0.012902921065688133, 0.05805054306983948, 0.007393124978989363, 0.02327144332230091, -0.01911727525293827, -0.05508698895573616, 0.0500817708671093, -0.022186020389199257, -0.020464355126023293, 0.0312814824283123, -0.03154188022017479, 0.015793662518262863, 0.010014725849032402, 0.025535063818097115, 0.0750575065612793, -0.02864454686641693, 0.023360619321465492, 0.0050697410479187965, 0.02406488172709942, -0.0012017249828204513, 0.01826072856783867, -0.03274480998516083, -0.007905873470008373, -0.03375568240880966, -0.02389904484152794, -0.024936970323324203, -0.016606442630290985, -0.005354462191462517, 0.032112862914800644, -0.027397295460104942, 0.018529841676354408, 0.039489373564720154, 0.0023772320710122585, -0.013847206719219685, -0.06423772126436234, -0.03674763813614845, -0.03259627893567085, -0.04623036831617355, -0.003288879292085767, 0.0046376450918614864, -0.008862374350428581, -0.03733185678720474, -0.01270431187003851, -0.003008815459907055, -0.03766315430402756, 0.04396452754735947, -0.06131388247013092, -0.02492019347846508, -0.008861882612109184, 0.015890194103121758, 0.01008201390504837, 0.010512803681194782, 0.06260059773921967, 0.007875008508563042, -0.014877493493258953, 0.027501802891492844, 0.008534095250070095, 0.020886406302452087, 0.007684129290282726, 0.03857310116291046, -0.07852905243635178, 0.00827574823051691, 0.014977284707129002, -0.017700668424367905, -0.06706241518259048, 0.031509704887866974, 0.04225606843829155, -0.0016253298381343484, 0.04229101166129112, -0.007111049257218838, 0.00835705641657114, -0.042681995779275894, 0.005306640639901161, -0.009268895722925663, 0.0001995588099816814, 0.03467757627367973, -0.035097844898700714, 0.09348589926958084, 0.023895133286714554, 0.002442534314468503, -0.04753211885690689, -0.022186024114489555, 0.0009572039707563818, 0.0106961103156209, -0.04736102372407913, -0.0014732485869899392, -0.020477645099163055, -0.09534057974815369, -0.00575759494677186, 0.0178060382604599, -0.02619442716240883, -0.04899822920560837, 0.025594091042876244, -0.007854936644434929, -0.02796121872961521, 0.0313304178416729, -0.027649762108922005, 0.03475746512413025, -0.036508649587631226, -0.005219822749495506, 0.013841389678418636, 0.019914135336875916, 0.010706624947488308, 0.00451674172654748, 0.006419730838388205, -0.049186792224645615, 0.011757560074329376, -0.0313866063952446, 0.018894309177994728, 0.05022214353084564, 0.011454005725681782, 0.0003867194755002856 ]
[ -0.07318180799484253, -0.020231861621141434, -0.0034340531565248966, -0.020622333511710167, 0.024706879630684853, -0.0428960882127285, -0.014445911161601543, 0.0035278613213449717, -0.010956807993352413, -0.009513533674180508, 0.020638270303606987, 0.00007392164116026834, -0.008093724958598614, -0.015072331763803959, 0.05078249052166939, 0.031408023089170456, 0.04509758576750755, -0.07321221381425858, -0.0008441557292826474, 0.019936256110668182, 0.018466897308826447, -0.019019875675439835, -0.010280290618538857, -0.0324685238301754, 0.032380059361457825, -0.001625768025405705, 0.030287155881524086, -0.047407958656549454, 0.0016247512539848685, -0.145058274269104, -0.01508131343871355, 0.02555202506482601, 0.038561683148145676, 0.0011812880402430892, -0.023468689993023872, 0.0703306645154953, 0.020941749215126038, -0.017198694869875908, 0.012017140164971352, 0.027855541557073593, 0.02373361401259899, 0.020903559401631355, -0.0461336225271225, -0.012964042834937572, 0.049609653651714325, 0.031379878520965576, -0.017747096717357635, -0.03083111345767975, -0.0027017705142498016, 0.0147585803642869, -0.08632966876029968, -0.033226773142814636, -0.016396909952163696, 0.015255843289196491, -0.013005162589251995, 0.004653777927160263, 0.037169720977544785, 0.07680821418762207, -0.0010164078557863832, 0.011669309809803963, 0.04098428785800934, -0.002279299311339855, -0.13946066796779633, 0.07208511978387833, 0.0246462170034647, 0.04414425417780876, -0.03198695182800293, -0.027814742177724838, -0.02972700446844101, 0.049428075551986694, 0.0230465829372406, -0.030619746074080467, -0.0051129464991390705, 0.03857553005218506, 0.013848637230694294, 0.013747792690992355, 0.0090181240811944, 0.005389637779444456, 0.02005709894001484, -0.01838107779622078, 0.02097107283771038, 0.005810427013784647, -0.013605390675365925, -0.03510052338242531, -0.0404895581305027, 0.032221321016550064, -0.0058035580441355705, 0.04642874002456665, 0.024810761213302612, 0.015480710193514824, 0.046695612370967865, -0.016341062262654305, 0.020033519715070724, -0.0007672316278330982, -0.040971510112285614, -0.05214279890060425, -0.0027167738880962133, 0.027013009414076805, -0.05933139845728874, 0.4698587656021118, -0.00024953551474027336, -0.009361229836940765, 0.05314919352531433, 0.05215241387486458, 0.010037083178758621, -0.007282511331140995, 0.0356503501534462, -0.05106912553310394, 0.016654735431075096, -0.024008354172110558, 0.03801726922392845, 0.021545035764575005, 0.07063102722167969, -0.04447959363460541, 0.03421874716877937, 0.024981539696455002, 0.055266089737415314, 0.04106800630688667, 0.02467055805027485, -0.022468771785497665, -0.018007297068834305, -0.010408042930066586, 0.02900412492454052, -0.00380019866861403, -0.028520731255412102, -0.10100027173757553, 0.01341980416327715, 0.055454935878515244, 0.0434541180729866, -0.0060239327140152454, 0.04889851063489914, -0.05360954627394676, -0.06383470445871353, -0.009976344183087349, -0.007233371492475271, 0.012299985624849796, 0.016872132197022438, 0.012921218760311604, 0.01968161202967167, 0.027990249916911125, 0.045326799154281616, -0.016093183308839798, -0.012892941012978554, -0.02640606090426445, -0.020043250173330307, 0.10165232419967651, 0.051912952214479446, -0.019986828789114952, 0.013669371604919434, -0.01809626631438732, -0.00618774862959981, 0.018084771931171417, -0.01239856705069542, -0.03239213302731514, 0.03559570014476776, 0.01420424971729517, 0.12588545680046082, -0.00022496894234791398, -0.0801374539732933, -0.015376029536128044, -0.015910251066088676, -0.024224357679486275, -0.06869431585073471, 0.015547708608210087, 0.0614229179918766, -0.07392869889736176, -0.006278351414948702, 0.0007136870408430696, -0.02771691232919693, -0.0298253633081913, 0.007772334385663271, -0.03146076202392578, -0.06082729250192642, 0.04693431034684181, 0.06656418740749359, -0.0434466227889061, -0.02010563388466835, -0.012216651812195778, 0.05640588328242302, 0.0307600237429142, 0.03135665878653526, -0.023169908672571182, -0.031984712928533554, 0.01312245149165392, -0.05488479509949684, -0.039774809032678604, -0.03543561324477196, -0.02043326012790203, 0.003928229678422213, 0.04280708730220795, -0.008123325183987617, -0.022183023393154144, -0.08685728907585144, 0.06492801010608673, -0.026466574519872665, -0.008745475672185421, -0.002160223200917244, -0.00011302578786853701, -0.038272686302661896, -0.026324624195694923, -0.1338856816291809, -0.00312933255918324, -0.03383759409189224, 0.0035029903519898653, -0.053440093994140625, 0.04856671020388603, 0.04193482547998428, -0.054303549230098724, 0.11118078231811523, 0.06654664874076843, -0.05479181185364723, -0.05452046915888786, -0.015750836580991745, 0.06050589308142662, -0.0025197616778314114, -0.023639624938368797, 0.004491078667342663, 0.02875131368637085, -0.02148006111383438, 0.011598852463066578, -0.04148588329553604, -0.01981314830482006, -0.05335750803351402, -0.33839353919029236, -0.029775036498904228, -0.031600046902894974, -0.010955143719911575, 0.030751850455999374, -0.042395371943712234, -0.004450737964361906, -0.00955656822770834, -0.02014474757015705, 0.04444369301199913, 0.05104649439454079, -0.021815810352563858, 0.03049127571284771, -0.07232653349637985, 0.003594247391447425, 0.00015472354425583035, -0.03526569530367851, -0.00824753288179636, -0.02192024514079094, -0.004201285541057587, 0.020534459501504898, 0.03501473739743233, -0.03577614575624466, -0.059426210820674896, -0.005497559905052185, -0.05218486860394478, 0.06390486657619476, 0.043591711670160294, 0.0881464034318924, -0.007651521358639002, 0.023654943332076073, 0.028970111161470413, 0.04072447866201401, -0.09861397743225098, -0.007112965453416109, -0.014606516808271408, 0.060216281563043594, -0.021639063954353333, -0.016210732981562614, -0.030103309080004692, -0.057919297367334366, 0.03183428570628166, -0.06383122503757477, -0.03366429731249809, -0.11478863656520844, 0.0399659164249897, -0.026096133515238762, -0.02216564305126667, -0.03929577022790909, 0.08793549239635468, 0.026649706065654755, 0.0008317915489897132, 0.00402692798525095, -0.005498041864484549, -0.01545413862913847, -0.009697702713310719, -0.12043361365795135, 0.04580673947930336, -0.017599627375602722, -0.016252968460321426, 0.02746998332440853, 0.043392591178417206, 0.053672365844249725, -0.06222972273826599, -0.01084186602383852, -0.0071101803332567215, -0.003808411303907633, 0.01800421252846718, 0.029666436836123466, -0.005888673011213541, -0.028333591297268867, 0.07265285402536392, -0.015706665813922882, -0.02521793730556965, 0.001614023232832551, 0.03405506908893585, -0.00658493023365736, 0.01576966978609562, 0.002281789667904377, -0.015584073960781097, -0.0018363359849900007, -0.014271488413214684, -0.0037875159177929163, -0.020549491047859192, -0.021974463015794754, -0.010929558426141739, -0.013052781112492085, -0.06467147916555405, 0.05418059602379799, 0.03506609797477722, -0.04309751093387604, 0.03595491126179695, -0.02898232266306877, -0.04719088226556778, 0.05440691113471985, 0.024818481877446175, -0.21976499259471893, 0.006976616103202105, 0.0537475161254406, 0.0692945346236229, -0.0056633055210113525, -0.00982812512665987, 0.014771145768463612, -0.06349729001522064, 0.010080111213028431, 0.03578980267047882, 0.07503511756658554, 0.001476248842664063, -0.023547811433672905, -0.01126611977815628, 0.02134106308221817, -0.03296017274260521, 0.05148692429065704, -0.001764072454534471, 0.017892370000481606, 0.047479938715696335, 0.014818805269896984, 0.0077395690605044365, 0.1268732249736786, 0.016307298094034195, 0.0022065984085202217, -0.0052465712651610374, 0.005954599007964134, -0.010254746302962303, 0.06123232841491699, -0.011443303897976875, 0.05148647725582123, 0.021099761128425598, 0.026441803202033043, 0.014248046092689037, 0.018109122291207314, -0.07651796191930771, -0.06432917714118958, 0.029489535838365555, 0.013463100418448448, -0.02588413842022419, 0.03102189116179943, -0.0072877854108810425, -0.0076194931752979755, 0.051400940865278244, 0.07427744567394257, -0.0153017807751894, 0.011518046259880066, -0.04779038205742836, -0.04558707773685455, 0.004523437935858965, -0.022022759541869164, -0.025325972586870193, 0.012430284172296524, 0.014588510617613792, 0.01878528669476509, 0.07343363016843796, 0.031597062945365906, -0.016754917800426483, 0.019236721098423004, -0.01595282182097435, -0.02050972171127796, -0.03196559473872185, 0.09826480597257614, 0.061873357743024826, 0.031249018386006355 ]
[ -0.03666292503476143, -0.010627674870193005, 0.005504662171006203, -0.0059011029079556465, -0.02155042625963688, -0.003867952385917306, 0.030278731137514114, 0.016255266964435577, -0.059505246579647064, -0.012579976581037045, 0.0030451614875346422, 0.0578007735311985, 0.023340994492173195, -0.013455408625304699, 0.007981045171618462, 0.007205388508737087, -0.00900939479470253, -0.0104451235383749, 0.0146482577547431, -0.006941479630768299, 0.014295227825641632, -0.002678705146536231, 0.0023797752801328897, 0.019137291237711906, -0.03067147172987461, 0.013551934622228146, -0.005605811718851328, 0.007396200206130743, 0.013196857646107674, -0.15387360751628876, -0.044950928539037704, 0.014821963384747505, -0.027508718892931938, -0.006014637183398008, -0.010573744773864746, -0.00467979721724987, -0.0062708063051104546, 0.017574133351445198, 0.008743813261389732, 0.008624647743999958, 0.0038301083259284496, -0.05352097377181053, -0.013064668513834476, 0.017903363332152367, -0.006566415540874004, -0.011447655037045479, 0.020954199135303497, -0.03329605981707573, -0.014692001044750214, -0.007364276330918074, -0.04769546911120415, -0.01906190998852253, 0.011245287954807281, -0.018989266827702522, 0.013133159838616848, 0.017752178013324738, 0.009588849730789661, -0.004985067527741194, 0.010236456990242004, -0.014691541902720928, 0.0007033023866824806, -0.02214561589062214, -0.05463444069027901, -0.03534848615527153, -0.00515413424000144, -0.019888775423169136, -0.04112488031387329, 0.004028163850307465, -0.04216770827770233, -0.00437172269448638, 0.008825672790408134, -0.004662847146391869, -0.01852715201675892, -0.03213408216834068, 0.048974212259054184, -0.026928216218948364, -0.005854696035385132, -0.025535736232995987, -0.00404372438788414, 0.0020982297137379646, -0.03485940024256706, 0.02999638393521309, 0.009017707780003548, -0.018003420904278755, -0.01523610483855009, -0.030693847686052322, 0.021044524386525154, 0.00694268150255084, 0.02441404014825821, 0.02161560021340847, -0.023144802078604698, 0.02034578286111355, -0.018921444192528725, -0.010197577066719532, -0.07293155044317245, 0.02689439244568348, -0.001118233660236001, -0.018920857459306717, -0.013336091302335262, 0.8474161624908447, -0.0203261598944664, 0.017656126990914345, 0.01691126637160778, -0.0041523277759552, 0.0281782578676939, 0.012724010273814201, 0.021285969763994217, 0.012771869078278542, 0.007225284352898598, -0.058672837913036346, 0.007049249950796366, 0.016920335590839386, 0.02197091467678547, 0.029650526121258736, 0.043010205030441284, 0.03238226845860481, -0.02217104285955429, 0.016303353011608124, 0.003093024017289281, 0.0061211371794342995, 0.0026276044081896544, 0.038781601935625076, 0.010853119194507599, 0.04134687781333923, 0.002001471584662795, -0.15844623744487762, 0.005345223005861044, -7.772328240018655e-33, 0.03864394500851631, 0.026428943499922752, -0.014529061503708363, -0.020248811691999435, -0.017898181453347206, -0.03264285624027252, 0.056644830852746964, 0.03143872320652008, 0.010772615671157837, -0.03221290558576584, 0.0018328496953472495, -0.01751662604510784, -0.029890917241573334, -0.00736971152946353, 0.042234230786561966, 0.014011829160153866, -0.006776156835258007, 0.04568292945623398, -0.001449196133762598, 0.029389290139079094, 0.030397312715649605, 0.004417788702994585, -0.01813126541674137, 0.020116670057177544, 0.006396469660103321, 0.04877236858010292, -0.01610642299056053, 0.0064126173965632915, -0.013407591730356216, -0.03999749943614006, 0.011375857517123222, 0.03420295938849449, 0.0017860813532024622, -0.043905310332775116, 0.010696305893361568, -0.028623007237911224, -0.010420667007565498, 0.01936466246843338, 0.007992875762283802, -0.017374645918607712, -0.050071507692337036, 0.012388116680085659, -0.014339888468384743, -0.010863340459764004, -0.01786237210035324, 0.017125204205513, 0.014174392446875572, 0.01715218834578991, 0.009898856282234192, -0.01560621615499258, 0.00335415150038898, 0.02892637625336647, 0.038723502308130264, 0.005301845259964466, 0.0021702370140701532, 0.03363136574625969, 0.0023031721357256174, 0.026750735938549042, -0.01137151662260294, 0.02404804714024067, 0.03457942232489586, 0.0022734373342245817, -0.031973861157894135, 0.02927841804921627, -0.010149950161576271, -0.04106510058045387, 0.032020825892686844, 0.006259269546717405, 0.037326499819755554, -0.02942759543657303, -0.04773822799324989, -0.023371798917651176, -0.02928101271390915, -0.008557526394724846, -0.006522843148559332, -0.03145548328757286, 0.006083643529564142, 0.012738564051687717, -0.01791507564485073, 0.026544058695435524, -0.001607234007678926, 0.021343182772397995, -0.03520598262548447, -0.06674761325120926, 0.008047940209507942, 0.01601910963654518, 0.02644810639321804, -0.04900383949279785, -0.02078567072749138, 0.0033290255814790726, 0.018299361690878868, -0.017030201852321625, -0.019690891727805138, 0.0010172490729019046, -0.03362727910280228, 7.952042224476182e-33, 0.016301611438393593, -0.028597235679626465, 0.008644649758934975, 0.018008749932050705, 0.038591910153627396, 0.012806514278054237, 0.028012612834572792, -0.005136622581630945, -0.04499856010079384, 0.03307556360960007, -0.003861301578581333, -0.010443078354001045, -0.028785888105630875, -0.0015526877250522375, 0.02287186309695244, -0.04607760161161423, 0.007451632991433144, 0.034095946699380875, 0.03441395238041878, 0.012658142484724522, 0.050413742661476135, 0.010359039530158043, 0.008177561685442924, -0.0188645888119936, 0.01414454821497202, 0.04204544425010681, -0.03458813577890396, 0.028931092470884323, -0.021448219195008278, 0.023570192977786064, 0.02859950251877308, 0.006433823145925999, 0.021704748272895813, 0.010014833882451057, -0.011071300134062767, 0.021075794473290443, -0.009517725557088852, -0.02076093852519989, -0.017590658739209175, 0.012514850124716759, 0.03045780211687088, -0.024531107395887375, 0.004857040476053953, 0.02054387703537941, -0.013367002829909325, 0.008983694948256016, -0.011803725734353065, -0.014809505082666874, -0.029107343405485153, 0.007780654821544886, 0.0131131736561656, 0.02699228934943676, 0.00895670522004366, 0.023723600432276726, -0.004340153653174639, -0.005746666342020035, -0.011711597442626953, -0.039744533598423004, -0.012737416662275791, 0.03163810819387436, -0.007498820312321186, 0.0009063423494808376, -0.022071372717618942, 0.00018041090515907854, -0.004833732731640339, -0.016712209209799767, 0.011015617288649082, 0.0021834473591297865, -0.016185259446501732, 0.01023140735924244, -0.03577578812837601, 0.009442329406738281, 0.033108826726675034, 0.03825776278972626, -0.05411027371883392, -0.004725228063762188, -0.03583890199661255, 0.0010071530705317855, -0.039918869733810425, -0.010991133749485016, 0.005519833881407976, -0.018935317173600197, 0.006620338652282953, 0.04114788398146629, 0.007200679276138544, 0.05284905061125755, 0.04486061632633209, 0.019465750083327293, 0.0035164509899914265, -0.009108000434935093, 0.010003593750298023, -0.03855985030531883, 0.025815550237894058, 0.018190400674939156, 0.0030318484641611576, -1.3559752432001915e-8, -0.03206007555127144, 0.019787276163697243, -0.006897338666021824, 0.0013587810099124908, 0.025111254304647446, 0.03951803967356682, -0.0310211181640625, 0.022829685360193253, -0.028094522655010223, 0.021753935143351555, 0.045903146266937256, -0.05220632255077362, 0.005957769230008125, 0.02088972181081772, 0.027906065806746483, -0.07097509503364563, 0.01656952314078808, 0.027965210378170013, 0.02124042622745037, -0.02328380011022091, 0.038950588554143906, 0.03148041293025017, -0.0033136759884655476, 0.01204707007855177, -0.0024563828483223915, -0.008472600020468235, -0.008515543304383755, -0.06650574505329132, -0.009779921732842922, 0.004960105288773775, 0.008055293932557106, -0.03607574477791786, 0.010811986401677132, 0.05447445809841156, -0.0092146135866642, -0.022645458579063416, -0.0016980862710624933, -0.005094548221677542, -0.045520052313804626, 0.005071851424872875, -0.028598127886652946, 0.012164655141532421, -0.02570533938705921, -0.02775760367512703, -0.012844002805650234, -0.007590014953166246, -0.018884798511862755, -0.033910948783159256, 0.013377741910517216, -0.02277710661292076, 0.020571056753396988, -0.01682250387966633, 0.04130566492676735, 0.013890879228711128, 0.012636966072022915, 0.03263618424534798, -0.0016672320198267698, -0.00761564401909709, -0.051329467445611954, 0.0034432224929332733, 0.005537864752113819, 0.046478088945150375, -0.012516350485384464, -0.019452691078186035 ]
outliers-book-review
https://markhneedham.com/blog/2009/01/06/outliers-book-review
false
2009-01-06 21:57:06
jQuery datepicker IE6 positioning bug
[ "jquery", "ie6" ]
[ "jQuery" ]
We've been using the http://docs.jquery.com/UI/Datepicker[jQuery datepicker] on my current project and came across some strange behaviour with regards to the positioning of the calendar in IE6. The calendar was always positioning itself right at the top of the screen instead of just below the textbox it was hooked up to but in Firefox it was working fine. After a bit of exploration in the jQuery code (http://ui.jquery.com/latest/ui/ui.datepicker.js[ui.datepicker.js]) we worked out that the 'document.documentElement.clientHeight' call in the '_checkOffset' function was always returning a value of 0 meaning that the position of the calendar was always right at the top of the screen. [source,text] ---- _checkOffset: function(inst, offset, isFixed) { var pos = inst.input ? this._findPos(inst.input[0]) : null; var browserWidth = window.innerWidth || document.documentElement.clientWidth; var browserHeight = window.innerHeight || document.documentElement.clientHeight; ... ---- It turned that we were missing the doctype at the top of the HTML page which make the page standards compliant and as a result document.documentElement.clientHeight returns the proper height. [source,text] ---- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> ---- Not having this set puts IE into Quirks Mode meaning that document.documentElement.clientHeight always returns 0. We found a post on the Webmaster World Forum which helps explain http://www.webmasterworld.com/forum21/11096.htm[why this change makes a difference].
null
null
[ -0.05025135353207588, -0.014888818375766277, 0.011376225389540195, 0.019478507339954376, 0.00899461843073368, -0.017021995037794113, 0.009906958788633347, 0.034466952085494995, 0.01353039313107729, -0.02529565803706646, -0.025261487811803818, 0.0008556506363674998, -0.05545815825462341, 0.0022840385790914297, 0.004942463710904121, 0.05894282087683678, 0.0880456268787384, -0.014656886458396912, 0.004119532182812691, -0.03214338421821594, 0.0449489951133728, 0.03957745432853699, -0.025691915303468704, 0.022250700742006302, 0.04525434970855713, 0.013629576191306114, -0.014791214838624, -0.00654558464884758, -0.06766161322593689, 0.0014582877047359943, 0.015471607446670532, 0.009131032973527908, -0.029296256601810455, -0.0350540466606617, 0.033127110451459885, -0.03128787875175476, -0.010719678364694118, 0.021532606333494186, -0.02394914999604225, 0.07322987914085388, -0.049838706851005554, 0.0025458030868321657, 0.015223694033920765, 0.02762334793806076, -0.06037190183997154, -0.018922733142971992, -0.05478982627391815, 0.009743609465658665, -0.03411141782999039, 0.024491023272275925, -0.07398528605699539, 0.05271705985069275, -0.04346330836415291, 0.016731932759284973, 0.00011667892977129668, 0.048274796456098557, 0.0178766418248415, -0.03469636291265488, 0.013513706624507904, -0.031234076246619225, 0.03845013305544853, -0.008473008871078491, 0.011650442145764828, 0.0391116738319397, 0.00493696890771389, -0.019291240721940994, -0.013657926581799984, 0.04969771206378937, -0.05117986723780632, -0.016155138611793518, -0.013820291496813297, 0.030971789732575417, -0.005739220883697271, -0.004041701555252075, 0.04734136909246445, -0.02629806660115719, -0.06290187686681747, 0.047034237533807755, 0.005171745549887419, 0.03827184811234474, -0.007017028518021107, 0.00648751063272357, 0.05944576859474182, 0.046599965542554855, 0.0004543817776720971, 0.0004378838639240712, -0.05720808729529381, -0.009548144415020943, -0.0294195543974638, 0.039757609367370605, 0.03280583769083023, -0.044161465018987656, 0.044353220611810684, 0.03430360183119774, 0.0011509248288348317, -0.013697519898414612, -0.01820371113717556, -0.0006552423001267016, 0.0018101795576512814, -0.017862733453512192, -0.036683060228824615, -0.0010704412125051022, 0.045230504125356674, 0.009721629321575165, -0.04018599912524223, -0.043564632534980774, -0.021074669435620308, -0.016560593619942665, -0.00007998210639925674, -0.002985628554597497, -0.04530954360961914, 0.03254704549908638, 0.0013185166753828526, -0.01766117475926876, -0.05325785651803017, 0.03656188026070595, 0.020132824778556824, -0.015155501663684845, -0.012223362922668457, 0.044583987444639206, 0.05869423225522041, 0.0113123320043087, -0.030473895370960236, 0.08048909902572632, -0.009708723984658718, 0.07139861583709717, -0.022796226665377617, 0.0570104606449604, -0.010374527424573898, -0.060667235404253006, -0.020615849643945694, 0.06519611179828644, -0.023543987423181534, -0.01844894140958786, -0.0032212096266448498, 0.004252515267580748, 0.008055107668042183, 0.0037708671297878027, 0.08837923407554626, 0.0059132203459739685, -0.04027429223060608, -0.0538981556892395, -0.018561359494924545, -0.011142207309603691, -0.003184705972671509, 0.0206577330827713, -0.024379324167966843, -0.05105257034301758, -0.029257040470838547, 0.02394293062388897, 0.046392593532800674, -0.0011174966348335147, 0.059529464691877365, -0.008813139982521534, -0.020553147420287132, 0.05698079615831375, 0.01781466044485569, -0.002406773855909705, -0.002391403540968895, -0.005965928081423044, 0.021735213696956635, 0.016957608982920647, -0.00046468040090985596, 0.08010813593864441, -0.01330476813018322, 0.018361855298280716, 0.007945808582007885, 0.058719899505376816, -0.013775458559393883, -0.0016988038551062346, -0.051146313548088074, -0.03708723559975624, 0.06023315340280533, -0.0494421124458313, -0.01813393644988537, 0.07449056953191757, 0.07975686341524124, -0.005775640718638897, 0.021984994411468506, 0.03797832503914833, -0.055024515837430954, -0.001034563989378512, 0.04020380973815918, 0.028054192662239075, 0.059334833174943924, 0.0013345472980290651, 0.06749308109283447, 0.04338821396231651, -0.030046474188566208, 0.010143822990357876, -0.06930725276470184, -0.056453168392181396, -0.05869626626372337, -0.01168110128492117, 0.058085765689611435, -0.05150393024086952, -0.007812498603016138, 0.0465921014547348, 0.04997183382511139, 0.03470734879374504, 0.003938290290534496, -0.034903720021247864, 0.029726656153798103, -0.0038000522181391716, -0.03778182342648506, -0.0028325198218226433, 0.04718916490674019, -0.00016121794760692865, -0.02397044561803341, 0.011942615732550621, -0.02750294655561447, 0.021466048434376717, 0.048325274139642715, 0.020483439788222313, 0.01202826015651226, 0.0216083861887455, 0.046517059206962585, -0.04793595150113106, 0.018350081518292427, -0.038020070642232895, 0.053201284259557724, 0.025553148239850998, -0.022753819823265076, -0.01870931126177311, -0.023888912051916122, 0.11363499611616135, 0.04831008240580559, -0.02473166584968567, -0.02344817854464054, -0.027702245861291885, -0.011144149117171764, -0.04814949631690979, 0.012019939720630646, 0.004651792347431183, -0.014936751686036587, -0.006401695776730776, -0.0006446805200539529, 0.003284991253167391, 0.01303902454674244, -0.04065575450658798, 0.03701307252049446, 0.038754191249608994, 0.004243416246026754, 0.05306911841034889, -0.007084144279360771, -0.02729962393641472, 0.04405926167964935, 0.02547377347946167, -0.05673106387257576, -0.008846944198012352, 0.0583275705575943, 0.002280974527820945, 0.04746275767683983, -0.0333220399916172, -0.013689178973436356, 0.008405323140323162, -0.03784652799367905, 0.032223429530858994, 0.06199396401643753, 0.050790272653102875, 0.0292789526283741, 0.0030956421978771687, 0.030724698677659035, -0.004499920178204775, 0.002586106536909938, -0.0392877571284771, -0.00429653562605381, 0.0028193399775773287, -0.014504273422062397, 0.0433836467564106, 0.037991713732481, 0.0003285822458565235, -0.0015244135865941644, -0.007414966821670532, -0.03363116830587387, -0.03205804526805878, 0.006879753433167934, -0.0008913370547816157, -0.014535137452185154, -0.02184201218187809, -0.012376895174384117, 0.029463395476341248, -0.0014354921877384186, -0.0514097660779953, 0.0038371668197214603, -0.04604288935661316, 0.026457853615283966, -0.08438173681497574, -0.05132817476987839, -0.020835138857364655, 0.010882415808737278, 0.046321552246809006, 0.00683077285066247, 0.05015736445784569, 0.036849942058324814, 0.03245655447244644, 0.01957683637738228, 0.010988087393343449, -0.006429306231439114, 0.021807309240102768, 0.037725016474723816, 0.005872409790754318, 0.07598493248224258, -0.0340932197868824, 0.0021671848371624947, -0.028117094188928604, 0.022646674886345863, -0.004936960060149431, -0.26824554800987244, 0.054979950189590454, 0.012351243756711483, -0.02504647709429264, 0.008169158361852169, -0.031248658895492554, 0.03181546553969383, -0.06423234939575195, -0.02901548147201538, -0.005443316884338856, 0.0011670273961499333, -0.013285662047564983, -0.022975100204348564, 0.042691148817539215, -0.011119648814201355, 0.009196814149618149, 0.025325175374746323, -0.018761850893497467, 0.04165320843458176, 0.004176152404397726, -0.004117161966860294, -0.07241199910640717, 0.024752872064709663, 0.061342887580394745, 0.02615341730415821, 0.037554144859313965, -0.05279852822422981, 0.03274283930659294, -0.02187759429216385, -0.01572982594370842, 0.016979344189167023, -0.017687417566776276, 0.016580456867814064, -0.04169592633843422, -0.009589475579559803, -0.011020727455615997, 0.07256525009870529, 0.01282532699406147, 0.004165477119386196, -0.0036416291259229183, -0.01800156570971012, -0.037318550050258636, 0.015131255611777306, 0.0061759972013533115, 0.08207853138446808, -0.03285955265164375, -0.04770668223500252, 0.007609063759446144, -0.03196440264582634, 0.04220793396234512, 0.0002179456496378407, -0.0271870419383049, -0.024198420345783234, 0.050988998264074326, 0.02843313105404377, -0.003886914113536477, -0.017181552946567535, 0.0005919282557442784, -0.026868082582950592, -0.06026000902056694, 0.003891092026606202, -0.03476636856794357, -0.0602496862411499, -0.02481798082590103, -0.0062751565128564835, -0.08480995148420334, -0.07479359209537506, -0.005053278990089893, 0.06295411288738251, 0.01347200945019722, -0.013753317296504974, -0.029410239309072495, -0.0020055442582815886, -0.10316874831914902, 0.005315039306879044, -0.03869732469320297, -0.012121736072003841, -0.009366757236421108, -0.029905235394835472, 0.008444520644843578, -0.0741535946726799, -0.03292327746748924, 0.026781512424349785, 0.0352204255759716, -0.007488146889954805, 0.006377364043146372, 0.049081698060035706, 0.02217900939285755, -0.019823839887976646, -0.013057440519332886, 0.07063111662864685, -0.03527487441897392, -0.03451916202902794, -0.022350754588842392, 0.013271593488752842, 0.034220948815345764, 0.004427970852702856, 0.001908099395222962, 0.07056450098752975, 0.0183589905500412, 0.030730223283171654, -0.03146972879767418, 0.03151654824614525, 0.01597127877175808, 0.01915792189538479, -0.014001836068928242, -0.03766325116157532, 0.04752172529697418, 0.013172291219234467, 0.007950467988848686, -0.03175613284111023, -0.028083452954888344, -0.01753472164273262, -0.05478733405470848, -0.019328340888023376, -0.0240040123462677, -0.010315794497728348, -0.0027654205914586782, -0.010955938138067722, -0.03094792738556862, -0.060493435710668564, -0.00735970726236701, -0.02263408713042736, -0.027242764830589294, -0.062337156385183334, 0.018744586035609245, -0.0324244387447834, -0.015233993530273438, 0.031010190024971962, -0.00016253367357421666, -0.009013580158352852, 0.05224277079105377, 0.008775628171861172, -0.0010638455860316753, 0.005640238523483276, -0.024702902883291245, 0.004137447103857994, -0.019483832642436028, 0.01595858298242092, -0.0006689453148283064, 0.002080333884805441, 0.01888570748269558, -0.009546427056193352, -0.005625046323984861, 0.0602605938911438, 0.004316752776503563, 0.013308619149029255, 0.008075335063040257, -0.015665341168642044, 0.027444276958703995, -0.01768878474831581, -0.043920863419771194, -0.0060254791751503944, -0.020517367869615555, -0.06549548357725143, 0.0058888029307127, 0.024321870878338814, 0.030641745775938034, -0.030918505042791367, -0.05114085227251053, 0.010133214294910431, -0.0671682357788086, -0.031021153554320335, -0.0285995751619339, 0.008714310824871063, 0.01046130619943142, 0.04599091038107872, 0.036486830562353134, 0.004062699619680643, -0.027892809361219406, -0.007062911055982113, 0.047096047550439835, -0.024242432788014412, -0.0017030820017680526, -0.020685046911239624, 0.008082650601863861, 0.006915579084306955, 0.025682296603918076, 0.0224174614995718, 0.016555244103074074, 0.03683560714125633, -0.013685901649296284, 0.046769123524427414, 0.012959214858710766, -0.00017002079403027892, 0.008342179469764233, -0.039821308106184006, -0.01137967873364687, -0.029545655474066734, -0.03086205944418907, -0.04494868963956833, -0.004855381324887276, -0.039115291088819504, -0.012365848757326603, -0.022855084389448166, -0.08069571107625961, 0.02508588880300522, -0.012285126373171806, 0.030180392786860466, 0.03400459885597229, -0.038138169795274734, -0.0018523316830396652, -0.044520650058984756, 0.019364017993211746, 0.015755735337734222, -0.03887723758816719, 0.008650416508316994, -0.00644200574606657, 0.026540569961071014, 0.022755352780222893, -0.0003512208058964461, -0.061647117137908936, -0.02721385471522808, -0.04774647578597069, 0.008652244694530964, -0.043673254549503326, -0.02882709726691246, -0.07192863523960114, -0.000855094229336828, -0.008941464126110077, 0.014309405349195004, 0.01109983678907156, -0.001853137626312673, -0.009112539701163769, -0.00850616954267025, 0.006371531169861555, 0.0029939047526568174, -0.010358927771449089, 0.00994593370705843, -0.030606942251324654, 0.037319883704185486, 0.011686734855175018, 0.042128805071115494, 0.026984289288520813, -0.056135229766368866, 0.0006905804621055722, -0.09621767699718475, -0.003586853388696909, -0.019122803583741188, 0.08068855851888657, 0.007422704715281725, -0.015315793454647064, -0.03566877171397209, 0.004179873038083315, -0.02249039337038994, 0.019511623308062553, -0.017568783834576607, -0.07302390038967133, 0.023546649143099785, 0.06405715644359589, -0.005735952872782946, -0.003480711253359914, 0.019441625103354454, 0.006921350955963135, 0.0026974419597536325, -0.07425644248723984, -0.0027337311767041683, -0.021646732464432716, -0.0758727639913559, 0.030134083703160286, 0.016500821337103844, 0.04180325195193291, -0.029756659641861916, 0.03313087671995163, 0.029880095273256302, 0.0339675098657608, 0.0018300986848771572, -0.020853528752923012, 0.01936056651175022, -0.009128756821155548, -0.03494254872202873, -0.08796539157629013, 0.0222188550978899, -0.018144110217690468, 0.027676265686750412, -0.06751277297735214, 0.0030857871752232313, -0.00586490286514163, 0.03735456243157387, -0.08123620599508286, -0.037143804132938385, 0.022619476541876793, 0.03908127173781395, 0.006889678537845612, -0.002081154612824321, -0.05870812013745308, 0.044132012873888016, 0.03076556883752346, -0.03857000917196274, -0.02747528813779354, -0.02384466491639614, 0.06281990557909012, -0.014013398438692093, -0.03965194895863533, -0.05162222310900688, -0.009931235574185848, 0.04697320982813835, 0.023080233484506607, -0.001452288357540965, 0.01573067158460617, -0.00023590709315612912, 0.036327436566352844, 0.0625787079334259, 0.009790407493710518, 0.0014002032112330198, -0.01007490511983633, 0.005947424098849297, -0.05842221900820732, 0.04813631623983383, 0.011566256172955036, 0.0010116738267242908, -0.024651765823364258, 0.06742185354232788, 0.01347162015736103, -0.0023993635550141335, -0.009635087102651596, -0.005381419323384762, 0.018327662721276283, 0.0019578924402594566, -0.04175213351845741, -0.0012923753820359707, 0.0027038068510591984, 0.04669523611664772, -0.018702896311879158, 0.000853054691106081, 0.06957443803548813, 0.0207088440656662, 0.028987064957618713, 0.025366218760609627, 0.07609399408102036, 0.09047944843769073, 0.06098596751689911, 0.008119671605527401, 0.0809907615184784, -0.03628367558121681, -0.06761659681797028, -0.004895551595836878, -0.07283850759267807, 0.0017483467236161232, -0.034389812499284744, 0.02351215109229088, 0.07539316266775131, -0.011770498938858509, 0.06426271051168442, -0.01879110001027584, -0.0024671503342688084, -0.030399687588214874, 0.01332947053015232, 0.029038818553090096, 0.01868314854800701, 0.02077617309987545, -0.03639942780137062, -0.03728799894452095, -0.015505962073802948, 0.05364186689257622, 0.005168418399989605, -0.017204320058226585, -0.0007403229246847332, 0.023585528135299683, 0.012868770398199558, -0.04047790542244911, 0.0301936287432909, 0.037191666662693024, -0.015227060765028, -0.011542757041752338, 0.05234529823064804, 0.019157862290740013, 0.02424486167728901, -0.00021149571693968028, -0.02076168730854988, 0.017762627452611923, -0.00208286358974874, -0.013815115205943584, -0.01575956679880619, 0.0029115707147866488, -0.016147669404745102, 0.07442928105592728, -0.05756908655166626, 0.05261573940515518, 0.03097660280764103, -0.010381946340203285, -0.06184055283665657, -0.05389218404889107, -0.03248928487300873, -0.03464025631546974, -0.0539918951690197, -0.02919585257768631, 0.08538500219583511, -0.014167556539177895, -0.019927769899368286, -0.034031059592962265, 0.005865192040801048, 0.027807850390672684, -0.006655956152826548, -0.04321323707699776, -0.06219911202788353, 0.051642801612615585, 0.007011898327618837, 0.0137620959430933, 0.04556620493531227, 0.019909590482711792, -0.027129249647259712, -0.021616976708173752, -0.04377594590187073, -0.008100693114101887, 0.06431521475315094, 0.025708965957164764, 0.00977442879229784, -0.06500187516212463, 0.0009602908976376057, 0.03348485007882118, 0.0004752611566800624, -0.04330228269100189, 0.018625471740961075, -0.005960946902632713, -0.06217632442712784, 0.04570966958999634, -0.02176262065768242, -0.009073668159544468, -0.021065713837742805, -0.018499691039323807, 0.032884251326322556, -0.00844751950353384, 0.025496697053313255, -0.03167123720049858, 0.08774503320455551, 0.04047886282205582, 0.02425938844680786, -0.005091154482215643, 0.011384876444935799, -0.02632492035627365, -0.020557813346385956, -0.04126788675785065, -0.014819273725152016, -0.06752163916826248, -0.022675491869449615, -0.036439597606658936, 0.01222951803356409, -0.010927217081189156, -0.027012629434466362, 0.02045736461877823, 0.03505326062440872, -0.07111717015504837, 0.016057610511779785, -0.03671848028898239, 0.008447224274277687, -0.05794436112046242, -0.0157041996717453, 0.021546745672822, 0.004927331581711769, 0.031383391469717026, -0.03623892739415169, 0.022901665419340134, -0.043863143771886826, -0.0034981360659003258, -0.03380769118666649, 0.014350145123898983, 0.0358346551656723, 0.0018925914773717523, -0.005779622588306665 ]
[ -0.09131703525781631, -0.0030165105126798153, -0.02094278298318386, -0.03424984961748123, 0.019802115857601166, -0.040890973061323166, 0.004068012349307537, 0.016317149624228477, 0.007475840859115124, -0.003403776790946722, 0.020911917090415955, 0.0125057278200984, -0.039578717201948166, 0.047518204897642136, 0.04841097444295883, 0.001505024149082601, -0.018563061952590942, -0.06245763227343559, -0.04800143837928772, 0.04680542275309563, 0.044814951717853546, -0.02817045897245407, -0.04211437702178955, -0.023604482412338257, 0.004342727363109589, 0.03653787076473236, 0.018366239964962006, -0.031814899295568466, -0.0027022988069802523, -0.17786236107349396, -0.01273523923009634, -0.06511121243238449, 0.019922563806176186, -0.023948630318045616, -0.02214042656123638, 0.0026554951909929514, 0.016219889745116234, 0.04078347235918045, 0.05259330943226814, 0.011696641333401203, 0.011321092955768108, 0.04422219097614288, -0.06046416610479355, -0.05227234214544296, 0.07243750244379044, -0.009991157799959183, -0.0068142227828502655, -0.00024082581512629986, -0.061251942068338394, 0.04370559751987457, -0.026744553819298744, -0.017310600727796555, 0.005505287554115057, 0.0004427364910952747, 0.0009842346189543605, 0.07332795858383179, -0.0027801403775811195, 0.05949015915393829, 0.02915448136627674, 0.044548314064741135, -0.004946616943925619, -0.027293359860777855, -0.1526786834001541, 0.15461640059947968, -0.0035474079195410013, 0.03904162719845772, -0.0421869195997715, -0.0379440002143383, -0.053988102823495865, 0.043665189296007156, 0.05204662308096886, -0.02267570234835148, -0.02744540572166443, 0.028140751644968987, 0.05605408921837807, -0.051166750490665436, 0.02250077947974205, 0.02606026828289032, 0.05386783927679062, -0.005796903744339943, -0.021648667752742767, -0.03730999305844307, -0.011497066356241703, -0.003593647852540016, -0.010729627683758736, -0.014849074184894562, 0.0037033536937087774, 0.022219127044081688, -0.011603223159909248, 0.018603580072522163, 0.035836704075336456, -0.052005451172590256, -0.0362572968006134, -0.01960589550435543, -0.056834518909454346, -0.015756435692310333, 0.008969404734671116, 0.026358574628829956, -0.041786517947912216, 0.4084892272949219, -0.03674670308828354, 0.05063704028725624, 0.05499151721596718, 0.03342790529131889, -0.02718724124133587, -0.0052003152668476105, -0.005456363782286644, -0.04846455156803131, -0.007510562893003225, -0.002558223670348525, -0.027539648115634918, 0.007640748750418425, 0.06793436408042908, -0.05584446340799332, 0.0061468998901546, -0.00535122724249959, 0.02570238709449768, 0.022427013143897057, 0.02617584727704525, -0.012749817222356796, 0.024504266679286957, 0.01935802586376667, 0.022062523290514946, 0.04063156619668007, 0.025472033768892288, 0.0014739771140739322, 0.05692489445209503, 0.03706160560250282, 0.007351906504482031, -0.008534710854291916, 0.0477786585688591, -0.054845504462718964, -0.02645748108625412, -0.001907697063870728, 0.0064872438088059425, 0.036437876522541046, 0.009563581086695194, -0.03861530125141144, 0.04797530546784401, -0.017064537853002548, -0.03254774957895279, -0.048932723701000214, 0.03390508517622948, 0.011821935884654522, -0.02789515070617199, 0.13571125268936157, -0.02230212651193142, -0.037438929080963135, 0.008151130750775337, -0.03495926037430763, -0.038784775882959366, 0.038903459906578064, 0.009527821093797684, -0.020140239968895912, 0.0074486942030489445, 0.05258096754550934, 0.007529282942414284, -0.011649643070995808, -0.03460589051246643, -0.03255961462855339, -0.008432543836534023, 0.0035958238877356052, -0.028767358511686325, 0.046098120510578156, 0.05700299143791199, -0.12801946699619293, -0.038098085671663284, 0.05025633051991463, -0.016342831775546074, -0.04267679154872894, -0.015835292637348175, 0.030425820499658585, -0.035101525485515594, -0.018171165138483047, 0.09831036627292633, 0.008884922601282597, -0.02260538935661316, -0.0002035029319813475, 0.040154002606868744, -0.004487522877752781, 0.003937462344765663, -0.019346924498677254, -0.06382467597723007, 0.007061280310153961, -0.01882852613925934, -0.07554257661104202, -0.028754478320479393, -0.033290717750787735, 0.020128393545746803, 0.0032049536239355803, 0.017169585451483727, -0.09027818590402603, -0.04279439151287079, 0.0733206570148468, 0.006524200085550547, -0.011141284368932247, -0.024213219061493874, 0.015201713889837265, 0.009515060111880302, -0.012277228757739067, 0.04970645532011986, 0.001327349804341793, 0.018589144572615623, 0.026950372382998466, -0.03097281977534294, 0.06581886857748032, 0.09077359735965729, -0.06975299119949341, 0.08898641914129257, -0.026996104046702385, -0.06823762506246567, -0.0237210001796484, 0.026655787602066994, -0.02524752728641033, 0.03215005248785019, -0.018400995060801506, -0.009807317517697811, 0.0016356823034584522, 0.008972772397100925, 0.02936837263405323, -0.0004405907529871911, -0.010929885320365429, 0.003945168107748032, -0.3273588716983795, -0.03511703759431839, -0.04297418147325516, 0.010533653199672699, 0.005066479556262493, -0.035178959369659424, -0.004966823849827051, -0.011399650014936924, 0.04012955725193024, -0.0011831170413643122, 0.07812689244747162, -0.0025289789773523808, -0.029193365946412086, -0.0829266756772995, -0.008561785332858562, 0.03687235340476036, -0.041343994438648224, -0.07581018656492233, -0.015081202611327171, 0.015329496003687382, 0.006358465179800987, 0.028759241104125977, -0.10449547320604324, -0.08466526865959167, 0.031153881922364235, -0.032527945935726166, 0.09393807500600815, 0.02763858065009117, 0.06267569959163666, -0.04891864210367203, 0.08807734400033951, -0.019096054136753082, -0.009485622867941856, -0.04894585907459259, -0.010030919685959816, -0.027049437165260315, 0.0008524134173057973, -0.03681524842977524, -0.009736214764416218, -0.026578068733215332, -0.07027950137853622, -0.0021771551109850407, -0.026367299258708954, -0.06292098015546799, -0.015216243453323841, 0.01708800159394741, 0.03329458460211754, 0.006804635748267174, -0.014601591974496841, 0.06000877171754837, 0.002034569624811411, -0.014736038632690907, 0.004017502535134554, 0.07215193659067154, 0.0401248000562191, -0.03314695507287979, -0.0447482131421566, -0.035088952630758286, 0.0057851532474160194, -0.02973075583577156, 0.022558322176337242, 0.008895440958440304, 0.027473345398902893, -0.018072139471769333, -0.012596171349287033, 0.06762706488370895, 0.00015841369167901576, -0.031326327472925186, 0.035857632756233215, -0.010806025937199593, -0.04401583597064018, 0.09821804612874985, 0.008862840011715889, 0.016617493703961372, 0.017746970057487488, 0.015347398817539215, 0.006522140000015497, 0.07561624050140381, 0.06956566125154495, -0.011048413813114166, -0.005119704641401768, 0.027730729430913925, 0.04456565901637077, -0.04107677564024925, -0.006860958877950907, 0.023124370723962784, -0.06509183347225189, -0.01144320797175169, 0.034704841673374176, -0.04447565972805023, -0.024836059659719467, 0.03395187854766846, -0.043861810117959976, -0.07015042752027512, 0.04249128699302673, -0.029212970286607742, -0.26791709661483765, 0.00961457472294569, 0.09392597526311874, 0.05619234964251518, -0.019430523738265038, 0.04324730485677719, -0.011893060989677906, -0.03059024177491665, 0.002812226302921772, 0.028506577014923096, -0.03210630640387535, -0.003936780150979757, -0.005061708390712738, -0.03782166168093681, -0.003736968617886305, -0.004670982714742422, -0.0020315381698310375, 0.0024115596897900105, 0.019814804196357727, 0.004204367287456989, 0.03506055846810341, 0.02653190866112709, 0.16533152759075165, 0.032436300069093704, -0.005801546387374401, 0.028984252363443375, 0.020700668916106224, -0.014134381897747517, 0.060204386711120605, -0.00007045170059427619, -0.01284816861152649, -0.004329684190452099, 0.03301835060119629, 0.027018176391720772, 0.008058084174990654, -0.06672664731740952, -0.03390081599354744, 0.04944698512554169, 0.011371572501957417, -0.01835501752793789, -0.0022778066340833902, 0.05890476331114769, -0.03644561767578125, -0.01022421009838581, 0.07438968867063522, -0.00899202935397625, 0.013094944879412651, 0.03451214358210564, -0.0005041281110607088, -0.002654827432706952, -0.04267885908484459, -0.04084271565079689, 0.010428580455482006, 0.01830562949180603, -0.011689461767673492, 0.053359463810920715, 0.043948303908109665, -0.039402496069669724, -0.004636744502931833, 0.04027196764945984, -0.017177265137434006, 0.020307965576648712, 0.08076062798500061, -0.0164450965821743, 0.0777493342757225 ]
[ -0.023415211588144302, 0.04040859267115593, 0.060605645179748535, 0.07575151324272156, 0.01673506759107113, 0.03789317235350609, -0.04713449254631996, -0.002708619460463524, 0.032633185386657715, -0.045451752841472626, -0.0658411830663681, 0.0037844828329980373, -0.02189096435904503, -0.04645312950015068, -0.010288880206644535, -0.014973304234445095, -0.028379084542393684, -0.011585742235183716, 0.05268578603863716, 0.054637618362903595, -0.052598852664232254, -0.012216972187161446, -0.01653049699962139, 0.02467978373169899, -0.01618971861898899, 0.0016111903823912144, -0.013713181018829346, 0.027806531637907028, -0.0022016665898263454, -0.10264786332845688, -0.0017472464824095368, -0.024776875972747803, -0.047437634319067, -0.019317004829645157, -0.008358187042176723, 0.040408648550510406, -0.0016138673527166247, 0.02263130620121956, 0.0192146897315979, 0.03873094543814659, -0.02308262698352337, -0.039312560111284256, 0.01896890066564083, 0.017799701541662216, -0.0021298155188560486, 0.011169814504683018, -0.029627066105604172, -0.0065263560973107815, -0.07040079683065414, 0.05121592804789543, -0.0003590837004594505, 0.0010998735670000315, -0.023635610938072205, 0.012557078152894974, 0.027857959270477295, 0.0051954700611531734, -0.027338307350873947, -0.007459412328898907, 0.014863986521959305, 0.05401883274316788, 0.0034506197553128004, 0.04797784611582756, -0.032273244112730026, -0.01781385950744152, 0.017047425732016563, -0.014167223125696182, -0.039634156972169876, -0.008378688246011734, -0.01729864999651909, -0.013469967059791088, 0.012134145945310593, 0.015376034192740917, 0.04217054694890976, 0.024501144886016846, -0.01749894581735134, -0.02200774848461151, -0.013884457759559155, 0.014724439941346645, 0.03185054287314415, -0.03971874341368675, -0.04204912483692169, -0.014713549055159092, 0.01577821560204029, 0.05627685785293579, -0.01753801479935646, -0.007896718569099903, -0.0052208127453923225, 0.059744302183389664, -0.020692236721515656, 0.004731947090476751, -0.027970949187874794, 0.024904126301407814, 0.02168267033994198, 0.07293277978897095, -0.06479541957378387, 0.042911965399980545, -0.004030085168778896, 0.0062116170302033424, 0.0047706374898552895, 0.7561154961585999, 0.004875231999903917, 0.05636974424123764, 0.011524943634867668, 0.07783142477273941, 0.026065858080983162, -0.03695695102214813, -0.04244895651936531, -0.05378926545381546, -0.009763011708855629, -0.0527895912528038, -0.0058956691063940525, 0.011613245122134686, 0.021944157779216766, 0.026803666725754738, 0.0038170351181179285, 0.02275710180401802, 0.012446065433323383, 0.022112546488642693, 0.02005581185221672, -0.013368845917284489, 0.027647335082292557, 0.03718665987253189, 0.009062571451067924, -0.0024876717943698168, 0.013366809114813805, -0.14204183220863342, 0.0820540189743042, -7.497250806982732e-33, -0.02612409181892872, -0.008644582703709602, 0.04796956107020378, -0.008906199596822262, 0.03937925770878792, -0.01181561779230833, -0.01577077805995941, -0.025546958670020103, 0.015899881720542908, -0.02736935019493103, 0.020532067865133286, -0.03184838593006134, -0.04505044221878052, -0.06544486433267593, 0.05816300958395004, 0.022927768528461456, -0.02596200257539749, 0.07896215468645096, 0.020454710349440575, 0.012028362601995468, 0.02475195750594139, -0.01998242363333702, 0.034087177366018295, -0.004818133544176817, -0.028253721073269844, 0.06261765211820602, -0.006976382806897163, 0.018225114792585373, -0.03999360278248787, -0.07333162426948547, -0.01859850250184536, -0.0023257911670953035, 0.029840530827641487, -0.008407371118664742, 0.011277759447693825, -0.02611534669995308, -0.012803053483366966, 0.00286310282535851, -0.02786037139594555, 0.059893980622291565, -0.08099875599145889, -0.05402109771966934, 0.009303692728281021, -0.04334399104118347, 0.012501068413257599, 0.025463158264756203, 0.006981684826314449, -0.009027631022036076, 0.014793489128351212, -0.007575951050966978, -0.004103632643818855, -0.010300135239958763, -0.011629149317741394, -0.04469413682818413, -0.028422359377145767, 0.014333048835396767, 0.029955575242638588, 0.015438771806657314, 0.0429413802921772, -0.009683462791144848, 0.048695143312215805, -0.055640894919633865, -0.019145675003528595, -0.030116744339466095, -0.04345002397894859, -0.03506675362586975, 0.025719275698065758, -0.020234037190675735, 0.008399827405810356, 0.017834505066275597, -0.05107378959655762, 0.03461640700697899, 0.0025388263165950775, -0.009683061391115189, 0.0433511920273304, 0.008585907518863678, 0.01777675747871399, -0.018610911443829536, 0.030211132019758224, 0.028787024319171906, 0.028674235567450523, -0.020096145570278168, 0.0650603324174881, -0.026691539213061333, -0.004290587268769741, -0.0264922883361578, -0.025866029784083366, 0.011888123117387295, 0.03343018889427185, 0.05742301046848297, 0.02588510513305664, -0.0027481094002723694, -0.047616053372621536, -0.002136413473635912, -0.001859561656601727, 7.679713978853245e-33, 0.01664147339761257, -0.04151812568306923, -0.05428957939147949, 0.03034726344048977, -0.006791718304157257, -0.005298794712871313, 0.004776985850185156, 0.05545647442340851, -0.005841501522809267, 0.02263042889535427, 0.03296993300318718, 0.04599980264902115, -0.01420549489557743, -0.009616152383387089, 0.017557663843035698, 0.009755795821547508, 0.02554873749613762, -0.019554680213332176, 0.024663744494318962, -0.049907978624105453, 0.01673285849392414, 0.01858585700392723, -0.05182403326034546, -0.0014167643385007977, 0.04121709614992142, 0.04254885017871857, 0.00004173420529696159, -0.006094802636653185, 0.03333071991801262, 0.0076905484311282635, -0.006677932105958462, -0.041374560445547104, 0.0027992702089250088, -0.03170314431190491, 0.02521524764597416, 0.028844455257058144, -0.009576450102031231, -0.01977798342704773, 0.0012246655533090234, 0.014996178448200226, -0.04020746424794197, 0.0012759497622027993, -0.04377271980047226, 0.00048670012620277703, 0.05088287219405174, 0.07428156584501266, 0.00032001969520933926, 0.017084220424294472, 0.0457671619951725, 0.050784479826688766, -0.01140625961124897, 0.007991092279553413, -0.03718791902065277, -0.0059155975468456745, -0.0094719547778368, -0.021759236231446266, -0.017102133482694626, -0.045900214463472366, 0.012770326808094978, 0.005720420274883509, -0.035652171820402145, -0.040315210819244385, -0.02205316722393036, 0.016495410352945328, -0.051704827696084976, -0.003864130238071084, -0.015787893906235695, 0.05722799524664879, 0.06627344340085983, -0.026687512174248695, 0.027343524619936943, -0.015381311066448689, -0.004977268632501364, -0.0035127182491123676, 0.03837091475725174, 0.005448175594210625, 0.06409754604101181, 0.017468610778450966, -0.029686562716960907, -0.011653128080070019, -0.010713710449635983, 0.08571261167526245, 0.005919356364756823, -0.04109085723757744, -0.02412375435233116, 0.0582306943833828, -0.03122909739613533, 0.014159918762743473, -0.04758727177977562, -0.05675748735666275, -0.004858734086155891, -0.0034716620575636625, -0.03789546340703964, -0.005971758626401424, -0.0017939485842362046, -1.2619246092526737e-8, -0.0691412165760994, 0.03821833059191704, -0.004782864823937416, -0.06519585847854614, -0.011791732162237167, -0.06077507138252258, 0.009975994937121868, 0.0063906479626894, 0.015171024948358536, 0.02262759953737259, 0.06595102697610855, -0.03188278153538704, 0.042230263352394104, -0.0038924808613955975, -0.038614992052316666, -0.01676863618195057, -0.05256107822060585, 0.056515470147132874, 0.014573968946933746, -0.002794275525957346, 0.0504363477230072, -0.017183689400553703, 0.026615051552653313, -0.05164293944835663, -0.0022686345037072897, 0.007896572351455688, -0.07413958013057709, -0.011195973493158817, 0.0357479453086853, 0.009930886328220367, -0.008132830262184143, -0.02837279997766018, 0.01866091787815094, -0.03422394394874573, -0.024829857051372528, -0.023576360195875168, -0.04201506823301315, -0.021316194906830788, 0.003997735679149628, 0.0008409275324083865, 0.05502529442310333, -0.033403463661670685, 0.012748637236654758, -0.0035168740432709455, -0.017000393941998482, 0.015869755297899246, -0.051112059503793716, -0.011171238496899605, 0.025958165526390076, -0.02347232960164547, -0.052473925054073334, 0.012295259162783623, 0.05787177383899689, -0.04736774414777756, 0.008438264019787312, 0.024497199803590775, 0.029549259692430496, -0.02585475519299507, -0.019708072766661644, -0.027621973305940628, 0.003476715413853526, 0.03204801678657532, -0.02157081663608551, 0.01219119131565094 ]
jquery-datepicker-ie6-positioning-bug
https://markhneedham.com/blog/2009/01/06/jquery-datepicker-ie6-positioning-bug
false
2009-01-06 00:19:52
F#: Forward Operator
[ "net", "f" ]
[ ".NET", "fsharp" ]
Continuing on my F# journey I came across a post by Ben Hall describing the http://blog.benhall.me.uk/2008/12/learning-new-language-write-some-tests.html[approach he takes when learning a new programming language]. One of the approaches he describes is that of writing unit tests to help keep your learning on track. I've only been using the F# interactive console so far so I thought I'd give it a try. After reading about the somewhat http://devhawk.net/2007/12/12/Practical+F+Parsing+Unit+Testing.aspx[convoluted approach] required to use NUnit or MBUnit to write F# unit tests I came across http://www.codeplex.com/xunit[XUnit.NET] via http://weblogs.asp.net/podwysocki/archive/2008/06/19/announcing-fstest-a-testing-dsl-for-f.aspx[Matthew Podwysocki's blog post about FsTest] - a http://www.codeplex.com/FsTest[testing DSL] he's written to use on top of XUnit.NET. [cols=2*] |=== | One of the cool F# features I came across while reading Matthew's post is the Forward Operator ( | >). |=== This is particularly useful for writing test assertions which read like English. For example: [source,text] ---- [<Fact>] let list_should_contain_3() = [1..5] |> should contain 3 ---- Typically we would have the function followed by the data we want to apply it against but using this operator allows us to do it the other way around. From my understanding the http://www.c-sharpcorner.com/UploadFile/rmcochran/fsharptypes03212008225543PM/fsharptypes.aspx[forward operator] (also known as the push operator) pushes the value from the left hand side of the function to the first parameter of the function. To use a simpler example of adding 5 to a number. Normally we would do this: [source,text] ---- > (fun x -> x+5) 5;; val it : int = 10 ---- Using the forward operator we can do this instead: [source,text] ---- > 5 |> (fun x -> x+5) val it : int = 10 ---- [cols=2*] |=== | If we look at the definition of " | >" this makes a bit more sense: |=== [source,text] ---- > (|>);; val it : ('a -> ('a -> 'b) -> 'b) = <fun:clo@84> ---- It takes in 2 arguments "'a" and "('a \-> 'b)" and returns "'b". The first argument in this case is the value '5' and the second is a function which takes in an "'a" and returns a "'b", in this case the (x \-> x +5) function. Armed with that knowledge the DSL example hopefully now makes more sense. To recall with the full code: [source,text] ---- #light open Xunit let should f actual = f actual let contain (expected: int) (actual: int list) = Assert.Contains(expected, actual) [<Fact>] let list_should_contain_3() = [1..5] |> should contain 3 ---- This is the same as writing the following: [source,text] ---- [<Fact>] let list_should_contain_3() = should contain 3 [1..5] ---- Working from the 'should' outwards... [source,text] ---- > should;; val it : (('a -> 'b) -> 'a -> 'b) = <fun:clo@0_1> ---- It expects to take in a function ('a \-> 'b), a value ('a) and will return a value ('b). In this case that function is 'contain': [source,text] ---- > contain;; val it : (int -> int list -> unit) = <fun:clo@0_2> ---- It expects to take in two values (an int and a list of ints) and doesn't return any value (unit is the equivalent of void in C#.) Evaluating both together: [source,text] ---- > should contain;; val it : (int -> int list -> unit) = <fun:clo@88_1> ---- Here we have a partial application of the 'should' function i.e. we have only passed in one of the arguments (the 'contain' function). We have now created another function which requires an int and a list of ints and returns nothing. If we now take the whole statement together: [source,text] ---- [1..5] |> should contain 1;; ---- [cols=2*] |=== | It seems like the [1..5] should be applied as the first argument to the 'contain' function but in actual fact the precedence rules dictate that the right hand side of the " | >" gets evaluated first meaning that the 1 is passed as the first argument to 'contain'. |=== The [1..5] is passed in as the second argument to the 'contain' function completing all the inputs needed by the expression and therefore executing the Assert.Contains(...) assertion. Matthew Cochran has an article which helps http://www.c-sharpcorner.com/UploadFile/rmcochran/fsharptypes03212008225543PM/fsharptypes.aspx[explain the operator with some diagrams] and Matthew Podwysocki talks about it more in his post about http://weblogs.asp.net/podwysocki/archive/2008/06/04/language-oriented-programming-and-functional-unit-testing-in-f.aspx[language oriented programming]. I'm new to F# so if I've got anything wrong about the way this works please let me know.
null
null
[ 0.0025741264689713717, -0.015327678993344307, 0.013783787377178669, 0.019060613587498665, 0.08273300528526306, 0.03612157329916954, 0.025232598185539246, 0.04432336241006851, 0.011213280260562897, -0.01813255436718464, 0.0014405276160687208, 0.00812308955937624, -0.07382787764072418, -0.004342088010162115, 0.007150923367589712, 0.07068803161382675, 0.07473183423280716, -0.03791337087750435, 0.05021790415048599, -0.018428985029459, -0.005050709471106529, 0.04184940084815025, -0.010818586684763432, 0.03603111207485199, 0.0006672068266198039, 0.002099303063005209, 0.02108178660273552, 0.00509069487452507, -0.06251096725463867, -0.017804259434342384, 0.03286098316311836, 0.012033936567604542, -0.002892592689022422, -0.0327988937497139, 0.00009811387280933559, -0.006846786011010408, 0.009855398908257484, 0.015644840896129608, 0.026457279920578003, 0.03801695257425308, -0.07423289865255356, -0.01835004612803459, -0.009185968898236752, -0.002737003844231367, -0.04944382980465889, 0.007188969757407904, -0.04438843950629234, -0.02728382498025894, -0.020820215344429016, 0.002052910393103957, -0.057121820747852325, 0.04508717730641365, -0.007141546346247196, -0.0022142662201076746, 0.006191528867930174, 0.06151934340596199, 0.00715056573972106, -0.06178096681833267, 0.034507568925619125, -0.05967491492629051, 0.014047856442630291, -0.003512395778670907, 0.003953545819967985, 0.05842039734125137, 0.05186687409877777, -0.014689679257571697, -0.017998775467276573, 0.03836943209171295, -0.056836653500795364, -0.02142319642007351, -0.00534039968624711, 0.012876923196017742, -0.037688013166189194, -0.014418840408325195, 0.014147061854600906, -0.03728747367858887, -0.017434019595384598, 0.04324042424559593, 0.01755533553659916, 0.04760103300213814, 0.004358687438070774, 0.03888914734125137, 0.06568697839975357, 0.0026061241514980793, -0.0039883884601294994, -0.018233340233564377, -0.008548283949494362, 0.027361072599887848, -0.0358956903219223, 0.07687985152006149, 0.018049534410238266, -0.05735262855887413, 0.021005580201745033, 0.005679579917341471, 0.019730230793356895, 0.006920288782566786, 0.0027900291606783867, 0.013709310442209244, 0.0017240374581888318, 0.01557971816509962, -0.039051223546266556, -0.03210743889212608, 0.03470670431852341, 0.014259330928325653, -0.08687467873096466, -0.0064489105716347694, -0.02332904562354088, -0.03417959809303284, 0.018156347796320915, 0.022808318957686424, -0.05646439641714096, 0.011566715314984322, 0.006988827604800463, 0.0012140258913859725, -0.08524496108293533, 0.03017592988908291, 0.001501541119068861, -0.024654462933540344, -0.002298345323652029, 0.0065631140023469925, 0.03394334763288498, 0.010852868668735027, -0.02556733600795269, 0.05963258072733879, 0.021726904436945915, 0.0474514365196228, -0.016365643590688705, 0.08477364480495453, -0.01518325973302126, -0.0770331621170044, -0.033886395394802094, 0.03738032653927803, -0.007680824957787991, 0.013802662491798401, 0.003298296360298991, -0.03002834878861904, -0.03150884062051773, -0.017453597858548164, 0.03153533488512039, 0.06433819234371185, -0.0004142783582210541, -0.044406708329916, 0.032986823469400406, -0.04650089517235756, 0.005241502076387405, 0.014964227564632893, -0.0006575477891601622, -0.011331284418702126, -0.022911105304956436, 0.01456567831337452, 0.01093446183949709, 0.031414944678545, 0.06763732433319092, -0.0322200208902359, 0.0009228288545273244, 0.056175071746110916, 0.03739308938384056, 0.0055984375067055225, 0.006478858646005392, 0.017063112929463387, 0.05636212229728699, 0.03180001676082611, 0.00008986657485365868, 0.04489967226982117, 0.01220735814422369, -0.001279091346077621, 0.014264725148677826, 0.04834876209497452, -0.03133692964911461, 0.0069107478484511375, -0.03625274449586868, -0.02330225519835949, 0.053466469049453735, -0.03540841490030289, -0.017976438626646996, 0.044529564678668976, 0.05501531809568405, 0.006160478573292494, 0.05847451835870743, 0.00787424761801958, -0.07623840123414993, 0.03592593967914581, 0.029064428061246872, 0.02385031431913376, -0.01621474139392376, 0.01123544666916132, 0.06388617306947708, 0.017968449741601944, 0.005801189225167036, 0.047464754432439804, -0.05133954435586929, -0.07564833015203476, -0.06333902478218079, -0.032384857535362244, 0.0782693400979042, -0.015259221196174622, -0.014976546168327332, 0.05075155943632126, 0.02188253402709961, 0.034995730966329575, 0.038909249007701874, -0.02604987472295761, 0.02715310826897621, -0.018401285633444786, -0.04005942866206169, 0.06194992735981941, 0.016012592241168022, -0.011796724982559681, -0.056415002793073654, 0.01906469464302063, -0.016483813524246216, 0.00034049293026328087, 0.052250348031520844, -0.002507842145860195, 0.03551035374403, 0.005921660922467709, 0.035477928817272186, -0.03476790338754654, 0.04505517706274986, -0.06015991047024727, 0.021940944716334343, -0.01046699844300747, -0.013409636914730072, -0.01848912052810192, -0.002722203964367509, 0.11736297607421875, 0.05764864385128021, -0.051498088985681534, -0.04864545539021492, -0.020680343732237816, 0.005082390736788511, -0.04763200879096985, 0.011235835030674934, 0.0031428339425474405, -0.0016596880741417408, 0.0012175642186775804, -0.020947154611349106, 0.004323150031268597, 0.01405381690710783, -0.022730501368641853, 0.032245781272649765, 0.06872861832380295, -0.0057649873197078705, 0.028053419664502144, -0.004675314296036959, -0.021179135888814926, 0.028893737122416496, -0.004571724217385054, -0.02674761973321438, 0.0008373009623028338, 0.030677204951643944, -0.011744692921638489, 0.04457096755504608, -0.017797926440835, -0.03726239129900932, -0.014975493773818016, -0.034636832773685455, 0.023687340319156647, 0.04876820370554924, 0.048059605062007904, 0.00777614489197731, 0.021185612305998802, -0.03288288041949272, 0.016840672120451927, -0.0022361837327480316, -0.06014454364776611, -0.02157781273126602, 0.007805190049111843, 0.044999975711107254, 0.058091551065444946, -0.008374552242457867, -0.0011833172757178545, 0.04082516208291054, 0.005610957276076078, -0.03259744867682457, -0.017810868099331856, 0.02734152227640152, 0.004311838187277317, -0.058834873139858246, -0.031138889491558075, -0.04221287742257118, 0.042093947529792786, -0.028277039527893066, -0.02642800845205784, 0.011238803155720234, -0.062329307198524475, 0.03687414899468422, -0.059297822415828705, -0.05081699416041374, 0.0033879957627505064, 0.019781820476055145, 0.021679062396287918, -0.015082749538123608, -0.009530892595648766, 0.06044088304042816, 0.040270477533340454, 0.03715800866484642, 0.0128844128921628, -0.02501148171722889, 0.016410665586590767, -0.021977966651320457, -0.006931922864168882, 0.053569525480270386, -0.0025138836354017258, 0.010852797888219357, -0.07321768999099731, 0.012460595928132534, -0.008725184015929699, -0.27193957567214966, 0.032995086163282394, -0.030668148770928383, -0.02135976403951645, 0.03707254305481911, -0.017339937388896942, -0.0023464772384613752, -0.03432305157184601, -0.02343553863465786, 0.058173127472400665, -0.029845912009477615, -0.023177551105618477, -0.031210076063871384, 0.03650057315826416, -0.017610391601920128, -0.0006169819389469922, -0.0005639222799800336, -0.03209199383854866, 0.005012837238609791, 0.06543450802564621, 0.0021601016633212566, -0.07188558578491211, 0.03683318570256233, 0.05483283847570419, 0.06662526726722717, 0.022471865639090538, -0.10181745141744614, 0.06888757646083832, -0.029402989894151688, -0.022142499685287476, -0.00752637954428792, 0.011233896017074585, 0.02973935939371586, -0.02862762287259102, -0.031309083104133606, -0.026780564337968826, 0.014752892777323723, 0.008557369001209736, 0.0035583782009780407, 0.016062280163168907, -0.052290935069322586, -0.04225963354110718, -0.010472782887518406, -0.004577868152409792, 0.08235044777393341, -0.02809322252869606, -0.07753034681081772, 0.002925650216639042, -0.036456163972616196, 0.07214771956205368, -0.06433793157339096, -0.03735901042819023, -0.0022858832962810993, 0.04225435107946396, -0.022682571783661842, -0.04138839989900589, 0.017636291682720184, -0.012699836865067482, -0.057201795279979706, -0.04303000122308731, -0.026917843148112297, -0.055042367428541183, -0.015683909878134727, -0.048112500458955765, -0.03126595914363861, -0.05418604984879494, -0.046279530972242355, -0.005552390590310097, 0.05496170371770859, 0.003862658515572548, -0.028514744713902473, 0.003983084578067064, 0.008103190921247005, -0.11931296437978745, -0.029141612350940704, -0.040672045201063156, -0.03423766791820526, -0.04995056614279747, 0.011629832908511162, 0.08359652012586594, -0.03136344254016876, -0.05018668621778488, 0.027483364567160606, 0.015408407896757126, 0.013858265243470669, 0.012234920635819435, 0.034047599881887436, 0.00321404542773962, -0.029302315786480904, -0.004510397557169199, 0.09467951953411102, -0.0008042547851800919, 0.016316529363393784, -0.041676115244627, 0.023134436458349228, 0.014015473425388336, 0.018801089376211166, 0.00910239852964878, 0.014605163596570492, -0.004974297247827053, 0.03835120424628258, -0.06157282367348671, 0.008382916450500488, -0.05717591568827629, 0.0063741314224898815, -0.008052929304540157, -0.05240637809038162, 0.03918671980500221, 0.020504053682088852, 0.007186429109424353, -0.020378421992063522, -0.04339566081762314, 0.02478145807981491, -0.02993203140795231, -0.0368553027510643, -0.009476101957261562, 0.011396151036024094, 0.009511374868452549, 0.0035681563895195723, -0.005016525741666555, -0.03911938518285751, -0.012074054218828678, 0.01762395352125168, -0.03703310340642929, -0.06304427236318588, -0.061278052628040314, -0.011027101427316666, -0.03334486857056618, 0.013544980436563492, 0.023886142298579216, 0.0018679287750273943, 0.0369853638112545, 0.010827906429767609, -0.026338797062635422, 0.017662229016423225, -0.01204041950404644, -0.0016611975152045488, -0.03336043283343315, -0.009378825314342976, -0.011042781174182892, -0.019724920392036438, 0.003272694069892168, 0.022720249369740486, 0.024646040052175522, 0.02693025767803192, 0.017955798655748367, 0.0024077126290649176, 0.0033121821470558643, -0.00476225558668375, 0.01769649237394333, 0.034166280180215836, -0.04384396970272064, 0.009492953307926655, -0.025756873190402985, -0.04823314771056175, 0.010510826483368874, 0.03750265762209892, -0.02345406822860241, -0.03900052607059479, -0.06403698772192001, 0.044603586196899414, -0.030531233176589012, -0.007166844327002764, -0.04395895078778267, 0.02021396905183792, 0.02872789464890957, -0.0423637256026268, 0.040575653314590454, -0.008221596479415894, -0.0034474001731723547, 0.03922051191329956, 0.03596894070506096, -0.037294644862413406, 0.02991832233965397, -0.021807944402098656, 0.010864930227398872, -0.019356202334165573, 0.02006254531443119, 0.0678800418972969, 0.020516833290457726, 0.01434580609202385, -0.007370371371507645, 0.01173770148307085, 0.02413940615952015, 0.043395254760980606, 0.016427718102931976, 0.026596924290060997, -0.0024852766655385494, -0.019721051678061485, 0.008114675991237164, -0.03544490784406662, -0.022604355588555336, -0.03516858071088791, 0.06019798293709755, -0.0465264618396759, -0.059757791459560394, 0.017943335697054863, 0.03134254738688469, 0.0014246426289901137, 0.008773409761488438, -0.009209806099534035, -0.007293318398296833, -0.012019233778119087, 0.027493348345160484, 0.05913705751299858, -0.05678871273994446, 0.009012628346681595, 0.005084849428385496, 0.019319597631692886, 0.010974784381687641, 0.03367616981267929, -0.03550375625491142, -0.03535354882478714, -0.01881852000951767, -0.017049673944711685, -0.019087592139840126, -0.009631315246224403, -0.02489066682755947, 0.02180781029164791, -0.014222189784049988, -0.00033957816776819527, -0.023002995178103447, 0.006914322730153799, -0.02553054876625538, -0.022466136142611504, 0.0029715141281485558, -0.019851509481668472, -0.014445626176893711, 0.03564221039414406, -0.04146610572934151, 0.02639038674533367, -0.030391179025173187, 0.041572000831365585, 0.03910079598426819, -0.01783292181789875, 0.00428953068330884, -0.05703405290842056, -0.012908798642456532, -0.04099932685494423, 0.040908776223659515, 0.008223247714340687, -0.010642919689416885, -0.007001838181167841, -0.0014672318939119577, -0.03707905486226082, -0.019710272550582886, 0.02260742522776127, -0.05136965960264206, 0.023798445239663124, 0.05831046774983406, -0.015746215358376503, 0.001094792620278895, -0.020284181460738182, -0.014750161208212376, 0.057786330580711365, -0.08154550194740295, -0.0037842572201043367, -0.02291882410645485, -0.07368253916501999, -0.010709375143051147, -0.01714950241148472, 0.01881456933915615, -0.07002108544111252, 0.04930427670478821, 0.04954427480697632, 0.03090839460492134, 0.04333939403295517, 0.007493921089917421, 0.03006383776664734, -0.02622102200984955, -0.005054759792983532, -0.08870427310466766, 0.017345378175377846, 0.04142408445477486, 0.013100418262183666, -0.009571979753673077, 0.007567748427391052, -0.0002603745961096138, 0.04265487194061279, -0.049917083233594894, -0.023408319801092148, 0.03935873880982399, 0.010371329262852669, -0.013067064806818962, -0.0033287019468843937, -0.034930095076560974, 0.0182186271995306, 0.0342295840382576, -0.025593597441911697, -0.0169682577252388, -0.0280196163803339, 0.05439838394522667, -0.020665714517235756, -0.014987638220191002, -0.02991383522748947, -0.0175069160759449, 0.03537426516413689, 0.023009195923805237, 0.01819845661520958, 0.048768021166324615, -0.02572454884648323, 0.021674754098057747, 0.008170634508132935, -0.013039692305028439, 0.005322813522070646, -0.015240451321005821, -0.01087646558880806, -0.06324329227209091, 0.03396919369697571, 0.01939927600324154, -0.04160002991557121, -0.0536516010761261, 0.032909806817770004, -0.00042817078065127134, -0.01138382963836193, -0.0528368204832077, 0.004863385111093521, -0.049094054847955704, -0.02792680636048317, -0.010894722305238247, 0.009878206998109818, -0.028164099901914597, 0.07546374201774597, 0.015464200638234615, -0.037252165377140045, 0.07788887619972229, -0.030494170263409615, -0.01529432088136673, -0.021257925778627396, 0.09052984416484833, 0.07079461961984634, 0.040196046233177185, -0.024999188259243965, 0.06375174224376678, -0.029869476333260536, -0.0741010531783104, 0.01810525357723236, -0.009563104249536991, 0.028897039592266083, -0.012805589474737644, 0.015236049890518188, 0.10085351020097733, 0.016473911702632904, 0.06055612117052078, -0.038120564073324203, 0.016577286645770073, -0.024586880579590797, 0.025563037022948265, 0.02090834081172943, 0.048575885593891144, 0.01463609840720892, 0.002644873457029462, 0.014632216654717922, -0.05824887007474899, 0.027006464079022408, -0.024259693920612335, 0.009495391510426998, -0.017944663763046265, 0.004983366932719946, 0.03295879811048508, 0.003806663677096367, 0.021222751587629318, 0.07093510031700134, -0.04456020146608353, 0.0018086266936734319, -0.018962953239679337, 0.017680609598755836, 0.017967425286769867, -0.01870967261493206, -0.017568297684192657, 0.003977008629590273, 0.004489335231482983, -0.005533183924853802, -0.01975112594664097, -0.010198387317359447, -0.03300795331597328, 0.02649889513850212, -0.03724974766373634, -0.008492181077599525, 0.02383335493505001, -0.030785495415329933, -0.015897048637270927, -0.055549170821905136, -0.052484702318906784, -0.016196230426430702, -0.06723174452781677, -0.027547987177968025, -0.0030049614142626524, -0.019143547862768173, -0.023368967697024345, -0.054816752672195435, -0.03590419888496399, -0.02148302085697651, 0.032585714012384415, -0.013283520936965942, -0.021291568875312805, 0.015320947393774986, 0.022594664245843887, 0.01517373789101839, 0.03565989062190056, 0.03370889276266098, -0.01379353553056717, 0.019476458430290222, -0.04167703911662102, -0.0387902557849884, 0.051940277218818665, 0.0037338638212531805, 0.02643026039004326, -0.07239474356174469, 0.018739979714155197, 0.017607787624001503, 0.04172376170754433, -0.07491860538721085, 0.0019733551889657974, -0.010360189713537693, -0.029662827029824257, 0.031911253929138184, -0.03524422273039818, 0.00263661309145391, -0.005666890647262335, -0.019573897123336792, 0.025924071669578552, 0.018119193613529205, 0.054497309029102325, -0.029259780421853065, 0.07155591994524002, 0.002862448338419199, -0.006830956321209669, -0.009959991089999676, -0.0004192530468571931, -0.011061854660511017, 0.0336514487862587, -0.02255268581211567, -0.04073431342840195, -0.04025663807988167, -0.03944942727684975, 0.0006862764712423086, -0.001827726955525577, -0.016534892842173576, -0.03173470497131348, 0.02408997155725956, 0.04410332813858986, -0.04457053914666176, 0.040137577801942825, -0.025883998721837997, 0.020438937470316887, 0.0045754867605865, -0.0317007340490818, 0.038727086037397385, 0.045921970158815384, 0.0158391036093235, 0.011477337218821049, 0.07335318624973297, -0.04849063977599144, -0.01659287139773369, 0.022545577958226204, 0.01048299204558134, 0.05230666697025299, -0.018751565366983414, 0.009780121967196465 ]
[ -0.12245287746191025, 0.005547600332647562, -0.0280817449092865, -0.020285319536924362, 0.027787674218416214, -0.022368144243955612, -0.011231978423893452, 0.05058128014206886, -0.01118625607341528, -0.05664094537496567, -0.014191114343702793, -0.048119284212589264, -0.038851309567689896, -0.015882771462202072, 0.07366881519556046, -0.012526785023510456, -0.02141530252993107, -0.059046514332294464, -0.022906320169568062, -0.0163962971419096, 0.00677095539867878, -0.03893769532442093, -0.04988624155521393, -0.02810777723789215, 0.015289440751075745, 0.05623503029346466, 0.050481993705034256, -0.05798989534378052, 0.003887419356033206, -0.20179115235805511, 0.010397904552519321, 0.01950257457792759, 0.03147602826356888, -0.06163502484560013, -0.017188992351293564, 0.02784855104982853, 0.013823768123984337, 0.016146881505846977, 0.007196258753538132, 0.03609635308384895, -0.011217416264116764, 0.00819167960435152, -0.03337147459387779, -0.004773029591888189, 0.039506059139966965, -0.02179124765098095, -0.01658773049712181, -0.047553498297929764, 0.00907512754201889, 0.020927228033542633, -0.03939343988895416, -0.022230049595236778, -0.007404791656881571, -0.014032814651727676, 0.014109207317233086, -0.0008062933920882642, 0.06952043622732162, 0.02421611361205578, 0.01706635020673275, 0.034386854618787766, -0.005470759700983763, -0.037840187549591064, -0.146495521068573, 0.09815958887338638, 0.02535993792116642, 0.06050967425107956, -0.0029039413202553988, -0.04317454621195793, -0.015518061816692352, 0.11659795045852661, 0.01002899557352066, -0.03195680305361748, -0.05489638075232506, 0.06521594524383545, 0.018115706741809845, -0.028058374300599098, 0.008038017898797989, 0.00680816313251853, 0.04296400398015976, -0.021000225096940994, -0.02977946773171425, -0.03377612680196762, -0.013236120343208313, -0.020878467708826065, -0.015163794159889221, 0.002030614297837019, 0.001989685231819749, 0.037193216383457184, 0.027393996715545654, 0.02533535286784172, 0.02746482565999031, -0.00015471976075787097, 0.014593275263905525, 0.028536539524793625, -0.03883504867553711, -0.03404741361737251, -0.0036109378561377525, -0.00042229043901897967, -0.03809071332216263, 0.3869100511074066, -0.032060761004686356, -0.0012572152772918344, 0.06423619389533997, 0.029905207455158234, -0.0075577059760689735, 0.017262518405914307, 0.046476203948259354, -0.021494679152965546, -0.033471036702394485, -0.056915104389190674, -0.01715913414955139, 0.033735841512680054, 0.047148168087005615, -0.038484565913677216, 0.009818446822464466, 0.009906347841024399, 0.03708983212709427, -0.011448568664491177, 0.013962449505925179, 0.017152026295661926, 0.01956280693411827, -0.004991902504116297, -0.011081866919994354, 0.004824339412152767, 0.012188349850475788, -0.046359870582818985, 0.03332129493355751, 0.0530683770775795, 0.024465186521410942, 0.025944916531443596, 0.05470465496182442, -0.03889613226056099, -0.07407858222723007, -0.019698921591043472, 0.007143628783524036, 0.054700348526239395, 0.035956040024757385, -0.027174022048711777, -0.005365925375372171, 0.03830030560493469, -0.0010268238838762045, -0.0338677354156971, 0.057566531002521515, -0.004245733376592398, -0.044281575828790665, 0.10373716801404953, -0.01848684810101986, -0.021455887705087662, -0.002929039765149355, -0.017051592469215393, 0.027071505784988403, 0.033057283610105515, -0.020795103162527084, -0.06416219472885132, 0.03178294003009796, 0.022839104756712914, 0.0830775797367096, -0.018290629610419273, -0.06308925151824951, -0.01952265575528145, -0.0620286762714386, -0.026926157996058464, -0.031984370201826096, 0.03386583551764488, 0.045085106045007706, -0.10786523669958115, -0.04379380866885185, 0.019662775099277496, 0.02135455422103405, -0.10702443867921829, 0.0063397991470992565, 0.002578389598056674, -0.06284958869218826, -0.04475971311330795, 0.0300908163189888, -0.014748908579349518, -0.007700894959270954, 0.01310795545578003, 0.051520440727472305, 0.003940901719033718, 0.00494545279070735, 0.009837888181209564, 0.005283241160213947, -0.004595538135617971, -0.01860981062054634, -0.0841754674911499, -0.03928153216838837, -0.02295924350619316, -0.018766798079013824, -0.026023665443062782, -0.0159002598375082, -0.01909979060292244, -0.08006130903959274, 0.09005192667245865, -0.05257980525493622, -0.003907475154846907, 0.008528083562850952, -0.0019151915330439806, -0.01108172070235014, -0.046326979994773865, 0.004009927157312632, 0.021302521228790283, -0.00022315770911518484, 0.04885707423090935, -0.05550852417945862, 0.04330749437212944, 0.08649153262376785, -0.046838123351335526, 0.06964826583862305, 0.046671122312545776, -0.03560958430171013, -0.0271841362118721, 0.03983219712972641, 0.023125596344470978, -0.011364181526005268, -0.03346091881394386, -0.025290949270129204, 0.005264786072075367, -0.020810937508940697, 0.040784984827041626, -0.009476399049162865, -0.027108805254101753, -0.0441831611096859, -0.34964919090270996, -0.028469549492001534, -0.001112892059609294, -0.010778644122183323, 0.04630124196410179, -0.07106766104698181, -0.0048196748830378056, -0.00003878614734276198, -0.00706196716055274, -0.002375055802986026, 0.07231917977333069, -0.012352037243545055, 0.020865721628069878, -0.09872647374868393, 0.005499077495187521, -0.00029795270529575646, -0.011435429565608501, -0.05804287642240524, -0.012422803789377213, 0.02605782262980938, -0.011235112324357033, 0.010167981497943401, -0.036329615861177444, -0.06298443675041199, 0.007860928773880005, -0.04344740882515907, 0.08939960598945618, -0.011414210312068462, 0.1378956139087677, -0.05284944176673889, 0.061911989003419876, 0.0004500847717281431, 0.03161129727959633, -0.048137959092855453, -0.005555306561291218, -0.041292786598205566, 0.006234269589185715, -0.007153790909796953, 0.06866951286792755, -0.040343139320611954, -0.00808256771415472, 0.0207524374127388, -0.04479231312870979, -0.019770730286836624, -0.04320691153407097, 0.003971484489738941, -0.00642777094617486, -0.024948587641119957, -0.00939401425421238, 0.06794746965169907, -0.0062749492935836315, -0.008494623936712742, 0.00900022592395544, 0.03996976092457771, -0.008962082676589489, -0.028311431407928467, -0.08596986532211304, 0.0011441190727055073, -0.0270753875374794, -0.010865540243685246, 0.06868749111890793, 0.06879005581140518, 0.043531954288482666, -0.02970682643353939, 0.006439941935241222, 0.0315895713865757, -0.015496124513447285, -0.014069009572267532, 0.06865543872117996, 0.010706285014748573, -0.023423463106155396, 0.08210285007953644, -0.024818608537316322, 0.0003722204128280282, 0.04436980187892914, 0.03562963381409645, 0.0021733094472438097, 0.03882764279842377, 0.008982887491583824, -0.008461902849376202, 0.017550552263855934, 0.004373236559331417, 0.026747168973088264, -0.06292180716991425, -0.012001113966107368, 0.03166339173913002, -0.000018213004295830615, -0.007120982743799686, 0.04646950587630272, 0.013844163157045841, -0.04200848564505577, 0.01604650728404522, 0.01731768436729908, -0.060653988271951675, 0.05458635091781616, -0.026536567136645317, -0.24440042674541473, -0.0021685748361051083, 0.09077947586774826, 0.06115468963980675, -0.019430913031101227, 0.010855765081942081, 0.04492083191871643, -0.0918332114815712, -0.013196252286434174, 0.029113823547959328, -0.0005387271521613002, 0.054168179631233215, 0.034524064511060715, -0.017392905429005623, 0.049554191529750824, -0.004636079538613558, 0.0335489921271801, 0.03493154048919678, 0.01585637778043747, 0.01580263301730156, 0.03340902552008629, 0.00021922092128079385, 0.1706915944814682, -0.015558959916234016, 0.01910332776606083, 0.020036054775118828, 0.009711765684187412, 0.01900445856153965, 0.08415888994932175, 0.002668487373739481, 0.07049798965454102, -0.019236629828810692, 0.04965857043862343, 0.0054512410424649715, 0.01914694719016552, -0.06635710597038269, -0.01372878160327673, 0.07078543305397034, 0.03445716202259064, -0.027985837310552597, -0.006787522230297327, 0.004629378207027912, -0.040133036673069, 0.00349314883351326, 0.08280003070831299, 0.01139982882887125, 0.006153450347483158, -0.04841817170381546, -0.06776043027639389, 0.004484223201870918, -0.03194858506321907, -0.01564696803689003, 0.03391069546341896, -0.0010233629727736115, 0.00853646919131279, 0.043713707476854324, 0.020120104774832726, -0.0483870804309845, -0.015022475272417068, 0.015020331367850304, 0.003406482981517911, -0.0044580078683793545, 0.1044025793671608, 0.034395087510347366, 0.03981542959809303 ]
[ 0.0007694030646234751, -0.024057766422629356, -0.03504705801606178, 0.012533493340015411, 0.021585017442703247, 0.004284818656742573, -0.007435058243572712, 0.007681640330702066, -0.009794228710234165, -0.0027614745777100325, -0.0371323861181736, 0.0008852881728671491, 0.011791523545980453, -0.014016129076480865, 0.012060570530593395, -0.04511847347021103, -0.024090195074677467, -0.011299945414066315, -0.006240403279662132, -0.0180357713252306, -0.013803159818053246, 0.024900518357753754, 0.014012204483151436, 0.009477860294282436, -0.02449902333319187, -0.012078666128218174, -0.01089630275964737, -0.030556052923202515, 0.028197938576340675, -0.15303348004817963, -0.007752651814371347, -0.0202802587300539, 0.019424932077527046, 0.020710818469524384, -0.02064293995499611, -0.011581769213080406, 0.022697074338793755, 0.02214587852358818, -0.021913783624768257, 0.00868038460612297, -0.03461980074644089, -0.04801604151725769, 0.010735081508755684, -0.014140240848064423, 0.020824363455176353, -0.00048279730253852904, 0.0010960908839479089, -0.037476617842912674, 0.006836679298430681, 0.01788538321852684, -0.013558873906731606, 0.03954394906759262, -0.025132916867733, 0.020737219601869583, 0.018784960731863976, -0.006508451886475086, 0.01804433763027191, -0.012120749801397324, -0.02022722363471985, -0.00993808638304472, -0.02131124958395958, -0.004567955154925585, -0.03737790510058403, -0.028215916827321053, 0.0044848863035440445, 0.00063294917345047, -0.043799106031656265, -0.0031606738921254873, 0.008089028298854828, 0.019099419936537743, -0.006337551400065422, 0.027463119477033615, 0.013860074803233147, -0.004449852742254734, 0.021505579352378845, 0.012187715619802475, 0.025771450251340866, -0.013445358723402023, 0.019675685092806816, -0.0032910944428294897, -0.009295087307691574, -0.011057339608669281, 0.02537481300532818, 0.008475372567772865, 0.0309157632291317, -0.005073089152574539, -0.01196261402219534, -0.0024052392691373825, 0.0007153712795116007, 0.0059817396104335785, -0.0265485942363739, 0.021700583398342133, -0.022306477651000023, 0.05150795727968216, -0.06655871868133545, 0.0058967978693544865, -0.01992819830775261, -0.0201866514980793, -0.013182182796299458, 0.8492166996002197, -0.03312508761882782, 0.04139867052435875, 0.020911315456032753, 0.0074330950155854225, -0.014103752560913563, -0.028754480183124542, 0.01332252100110054, -0.017727894708514214, 0.014096144586801529, -0.08008621633052826, 0.04147712513804436, -0.004650537855923176, 0.00835033692419529, 0.001482594758272171, 0.006702984683215618, -0.01934134028851986, 0.01887703873217106, -0.005955343600362539, -0.0057658059522509575, -0.020784802734851837, 0.01411175075918436, 0.017157722264528275, 0.0017723526107147336, 0.033095844089984894, 0.029107896611094475, -0.17776517570018768, -0.008145731873810291, -7.39477635226583e-33, 0.018450623378157616, -0.003429197473451495, 0.005691347178071737, -0.00040356116369366646, 0.01983013190329075, -0.00033460513805039227, 0.0588313490152359, 0.026107626035809517, -0.009159950539469719, -0.0166951771825552, 0.008992931805551052, -0.012618156149983406, -0.007772706914693117, -0.039434246718883514, 0.021474434062838554, -0.034332044422626495, 0.0025905268266797066, 0.030364861711859703, -0.01564651168882847, 0.00782005861401558, 0.1118437722325325, 0.042909443378448486, 0.013319695368409157, -0.035766854882240295, 0.030224144458770752, 0.009809981100261211, -0.012544129975140095, 0.011723321862518787, 0.001236082287505269, -0.03006168268620968, -0.035947490483522415, 0.030398283153772354, -0.04687143862247467, -0.03139836713671684, 0.023807449266314507, -0.047686535865068436, -0.0050002289935946465, -0.01319033931940794, -0.017643775790929794, -0.024643424898386, -0.02850162610411644, -0.012246049009263515, -0.036434873938560486, -0.020622223615646362, -0.022130552679300308, -0.010473951697349548, -0.0006193324807099998, -0.0006157548632472754, 0.05001652613282204, 0.008839366026222706, 0.01803143322467804, 0.0031623695977032185, -0.009193453937768936, -0.02083624340593815, 0.010835296474397182, 0.017525577917695045, -0.0010514393215999007, 0.011301896534860134, 0.01939917355775833, 0.046504419296979904, -0.009092055261135101, -0.021020779386162758, -0.014640268869698048, 0.02594149298965931, -0.030270032584667206, -0.019361227750778198, 0.017486222088336945, 0.008384634740650654, 0.029197005555033684, 0.0024443170987069607, -0.04561527818441391, 0.019024766981601715, -0.027887340635061264, -0.010551274754106998, 0.039805132895708084, 0.012643677182495594, -0.0038190067280083895, -0.017705487087368965, -0.0036600520834326744, 0.0003004867467097938, 0.03250733017921448, -0.040793534368276596, -0.005727256648242474, 0.016071157529950142, -0.012950582429766655, -0.0026559787802398205, 0.00013054170995019376, -0.021877676248550415, 0.012455938383936882, -0.02266046032309532, 0.02033228427171707, 0.020751941949129105, -0.021394353359937668, -0.003131875768303871, -0.00799479428678751, 7.063153967535508e-33, -0.018559368327260017, 0.01299269124865532, -0.025651942938566208, 0.03788037598133087, -0.027487002313137054, -0.016265854239463806, 0.05044165253639221, -0.000005535280251933727, -0.010955343022942543, 0.046473730355501175, -0.015744728967547417, -0.014450732618570328, -0.011094551533460617, 0.002441153395920992, 0.025629784911870956, -0.041150618344545364, 0.01160794124007225, -0.018127351999282837, 0.029262952506542206, 0.01656249724328518, 0.009853547438979149, 0.02087252214550972, 0.03364335000514984, -0.001278634648770094, 0.0016390581149607897, 0.057856738567352295, -0.016026653349399567, -0.011249888688325882, 0.006539067253470421, 0.005143679212778807, 0.014530833810567856, 0.023711353540420532, 0.03807438537478447, -0.05040443316102028, -0.019306980073451996, 0.017748074606060982, 0.021261394023895264, 0.002908690832555294, 0.021046636626124382, 0.0162531528621912, 0.05548396706581116, 0.016021408140659332, 0.03658907115459442, -0.02223465032875538, 0.0009561795159243047, 0.012349998578429222, 0.017595365643501282, -0.01370144821703434, 0.03179445117712021, 0.03190230205655098, 0.017383765429258347, -0.011726323515176773, -0.018840281292796135, 0.015354330651462078, -0.024920351803302765, -0.025811977684497833, -0.01238594576716423, -0.01907685585319996, -0.020912999287247658, 0.026121286675333977, -0.013481833040714264, 0.003448497736826539, -0.00912906788289547, -0.014206522144377232, -0.003579565091058612, -0.005961685907095671, -0.02000952698290348, -0.013813753612339497, 0.0025589722208678722, 0.04590670019388199, -0.029961317777633667, 0.0010965666733682156, 0.04041905328631401, 0.06027689576148987, -0.010627410374581814, -0.017269941046833992, -0.022686801850795746, -0.01591339334845543, 0.011060656979680061, 0.05192049220204353, -0.0019984154496341944, -0.010330668650567532, -0.0032457944471389055, 0.006805988494306803, -0.03914719447493553, -0.009124885313212872, 0.019772928208112717, 0.023844439536333084, 0.019078701734542847, -0.03884565457701683, -0.004141957964748144, 0.0036625841166824102, -0.005728491116315126, -0.012690526433289051, -0.010160264559090137, -1.3142581245517704e-8, -0.054821453988552094, 0.011967634782195091, -0.052329111844301224, 0.03129425644874573, 0.017534390091896057, -0.01489921472966671, -0.033534321933984756, -0.023730730637907982, 0.002972103888168931, -0.017610644921660423, -0.008125009946525097, 0.012003631331026554, 0.0010975532932206988, -0.02190863899886608, 0.005112878512591124, -0.04453685134649277, 0.006489094812422991, -0.03302866220474243, 0.03453590348362923, -0.0036267833784222603, 0.007408678065985441, 0.04298589751124382, -0.018617823719978333, -0.004717079922556877, 0.0005279530887492001, 0.01730623096227646, -0.007509633898735046, -0.060570161789655685, 0.019997311756014824, 0.01618887297809124, 0.025139424949884415, -0.0008583338931202888, -0.011336605064570904, 0.029965179041028023, -0.024457156658172607, -0.005113446619361639, 0.010237224400043488, 0.04117489606142044, -0.007847171276807785, 0.010438975878059864, 0.015986541286110878, -0.008701076731085777, 0.01009636465460062, -0.024713607504963875, -0.03830118849873543, -0.024215301498770714, -0.03215730935335159, -0.0004104340623598546, 0.01126259844750166, -0.05584045872092247, 0.03150041401386261, 0.007163492497056723, 0.01928485371172428, 0.050580091774463654, 0.026010220870375633, 0.033518414944410324, -0.02490285038948059, -0.0490293875336647, -0.03955833241343498, 0.019379541277885437, 0.003302989760413766, -0.01834719628095627, -0.015577142126858234, -0.014672425575554371 ]
f-forward-operator
https://markhneedham.com/blog/2009/01/06/f-forward-operator
false
2009-01-24 09:36:32
jQuery: Approaches to testing
[ "jquery" ]
[ "jQuery" ]
We've been doing a bit of work with http://jquery.com/[jQuery] and true to our TDD roots we've been trying to work out the best way to test drive our coding in this area. There seem to be 3 main ways that you can go about doing this, regardless of the testing framework you choose to you. We are using http://github.com/nkallen/screw-unit/tree/master[screw-unit] for our javascript testing. == Mock everything out The idea here is that we mock out all calls made to jQuery functions and then we assert that the expected calls were made in our test. Taking this approach means we are able to reduce the dependencies in our tests and they run very quickly. The problem is that a lot of assertions become assertions checking that certain operations were called on the DOM since jQuery makes a lot of these type of calls in its code. The tests therefore end up being quite long and difficult to understand unless you were the one who initially wrote them. We also effectively end up testing how the framework interacts with the DOM rather than testing our own code with this approach. == Don't mock anything The opposite approach is to just test directly against jQuery and then do assertions against the part of the DOM affected by the javascript code we are testing. The problem here is that if you want to test against plugins which make ajax requests or carry out animation effects then the tests become dependent on how long these calls take and we need to find a way to block the test until those calls return which is quite difficult! == Only stub certain calls The happy medium is that we test directly against the jQuery library but stub out ajax requests and animation effects. Our test assertions are against the state of the DOM to check that it was changed in the way that we expected. This approach allows us to test our javascript code in terms of its behaviour without testing the internals of how jQuery works. The wiring up of events to different controls on the page is done in our test but the actual logic that happens when these events are fired is in our js file under test. We currently favour this last approach as it seems to give us the best of both worlds so to speak. It be would be interesting to hear how are other people going about Javascript testing.
null
null
[ 0.0030284987296909094, -0.009842811152338982, -0.0243843961507082, 0.04442797973752022, 0.0365760438144207, -0.0016509294509887695, 0.03703729063272476, 0.034873124212026596, 0.023922480642795563, -0.014555570669472218, -0.0043080635368824005, 0.0192726943641901, -0.0570063553750515, 0.00031952420249581337, -0.026076054200530052, 0.05710364878177643, 0.071556955575943, -0.02048133872449398, 0.06280703097581863, -0.017255185171961784, 0.01170140691101551, 0.0443519689142704, 0.0006809092010371387, 0.035974230617284775, 0.04891418293118477, 0.007527221459895372, 0.01673724688589573, 0.017391923815011978, -0.08806052058935165, -0.026127208024263382, 0.033430442214012146, 0.017760658636689186, -0.01000189408659935, -0.015615390613675117, 0.004182790871709585, 0.005349178332835436, -0.003028532722964883, 0.029647555202245712, 0.007607566192746162, 0.038130324333906174, -0.07760126888751984, 0.01477122213691473, -0.006477621849626303, 0.00869055837392807, -0.050203025341033936, -0.008263979107141495, -0.030123554170131683, -0.0017992426874116063, -0.0085015669465065, 0.011929117143154144, -0.06507930904626846, 0.04403211176395416, -0.003182819811627269, -0.011678660288453102, -0.009162701666355133, 0.054178982973098755, 0.011940228752791882, -0.08292277157306671, 0.025288542732596397, -0.0775105431675911, 0.009031368419528008, 0.026364365592598915, 0.003293335437774658, 0.047571811825037, 0.018060151487588882, -0.010916778817772865, 0.0278091449290514, 0.05366959422826767, -0.05570539832115173, 0.0018485845066606998, 0.018564581871032715, 0.024862803518772125, -0.04144195467233658, -0.013045558705925941, 0.02106541208922863, -0.04570326954126358, -0.036690469831228256, 0.04015543311834335, -0.0076766544952988625, 0.04770592600107193, -0.017371971160173416, 0.008460501208901405, 0.020915178582072258, 0.005872159730643034, 0.00227124011144042, -0.033507298678159714, -0.01369011402130127, 0.012433327734470367, -0.05174029991030693, 0.0575929693877697, 0.0612027570605278, -0.030575977638363838, 0.025745421648025513, 0.032886285334825516, 0.010266860015690327, 0.015421654097735882, 0.012989725917577744, 0.00560162216424942, -0.00880433153361082, 0.00025192066095769405, -0.02774134837090969, -0.006315970327705145, 0.025030061602592468, -0.018330927938222885, -0.08257295191287994, 0.00876959040760994, -0.006905824411660433, -0.025234734639525414, -0.014774378389120102, 0.014572296291589737, -0.03941776603460312, 0.018156085163354874, -0.006127181928604841, -0.003911849111318588, -0.06560778617858887, 0.07843855023384094, -0.004152352921664715, -0.00583757646381855, -0.04091542214155197, 0.040886182337999344, 0.05534406751394272, 0.008391628973186016, -0.02451062947511673, 0.07691843807697296, 0.04117657244205475, 0.05586821585893631, -0.03608886897563934, 0.04761948063969612, 0.0048028090968728065, -0.05830203369259834, 0.00523399980738759, 0.05392386019229889, -0.022154489532113075, -0.005794788245111704, 0.009877187199890614, -0.023678263649344444, -0.007338561117649078, -0.0037569201085716486, 0.053716059774160385, 0.030215229839086533, -0.05026588216423988, -0.021801918745040894, 0.010121054016053677, -0.0006884116446599364, 0.014026090502738953, 0.020520871505141258, -0.021596794947981834, -0.03534663841128349, -0.011284388601779938, 0.03779261186718941, 0.011069540865719318, 0.03202342987060547, 0.03383016586303711, -0.021220456808805466, -0.00018130811804439873, 0.08209334313869476, 0.03282429650425911, -0.005165002308785915, -0.012865656055510044, 0.020264817401766777, 0.02989039570093155, 0.007086159661412239, 0.015771133825182915, 0.0429944172501564, 0.002451673150062561, 0.020636729896068573, -0.026421982795000076, 0.06305813789367676, -0.002582912566140294, -0.01655770279467106, -0.06557690352201462, -0.04080348089337349, 0.06372077763080597, -0.05486448109149933, -0.00303632696159184, 0.045538004487752914, 0.07774294167757034, -0.006863872054964304, 0.04161522537469864, 0.01620490290224552, -0.07686316967010498, 0.022816425189375877, 0.026425037533044815, 0.021303292363882065, 0.04600880667567253, -0.007417948916554451, 0.0646388828754425, 0.028455497696995735, -0.018074175342917442, 0.023467453196644783, -0.0772845447063446, -0.06472179293632507, -0.025503026321530342, -0.025612784549593925, 0.07424962520599365, -0.036587703973054886, -0.005244265776127577, 0.0761825442314148, 0.04049815982580185, 0.045048318803310394, 0.0276050865650177, -0.027917496860027313, 0.029314691200852394, -0.02594168297946453, -0.025730226188898087, 0.020573532208800316, 0.06566040962934494, -0.02054663933813572, -0.04131235554814339, -0.006292609963566065, -0.027962377294898033, 0.0038050042930990458, 0.02653890661895275, -0.013188564218580723, 0.027909452095627785, 0.003843180136755109, 0.047195177525281906, -0.03458687663078308, 0.06241852417588234, -0.07358453422784805, 0.03646959736943245, -0.008974570780992508, -0.01829129457473755, -0.02413514256477356, -0.003447116119787097, 0.1083952859044075, 0.053193073719739914, -0.043017271906137466, -0.031652625650167465, -0.0006657826597802341, 0.00019992268062196672, -0.05439770966768265, -0.013920465484261513, -0.011145271360874176, -0.0017440449446439743, 0.0012542597251012921, -0.020325440913438797, -0.007098591420799494, 0.014426668174564838, -0.043735962361097336, 0.02331138774752617, 0.05719522759318352, -0.013287818990647793, 0.05355251953005791, -0.009813190437853336, -0.03323062136769295, 0.03042515367269516, 0.004530011210590601, -0.06608901172876358, -0.003911016508936882, 0.04882120341062546, -0.017549432814121246, 0.025875434279441833, -0.02109834924340248, -0.014148729853332043, -0.03882600739598274, -0.018125979229807854, 0.014990736730396748, 0.013729509897530079, 0.0755523294210434, -0.00243024667724967, 0.03501185029745102, 0.025789467617869377, 0.017905347049236298, 0.0014417060883715749, -0.05558300018310547, -0.022098764777183533, -0.02605029009282589, -0.006105395499616861, 0.04338779300451279, 0.015945743769407272, -0.0011100817937403917, 0.009134646505117416, -0.00952470675110817, -0.038222525268793106, 0.0009651010041125119, 0.016206424683332443, -0.007769391871988773, -0.030715251341462135, 0.003877813694998622, -0.03921592980623245, 0.04053013399243355, -0.03536195307970047, -0.040771763771772385, 0.020790720358490944, -0.0798814594745636, 0.03500969707965851, -0.09082405269145966, -0.06545194983482361, 0.000642834638711065, 0.018875982612371445, 0.02946542017161846, -0.024938667193055153, 0.035393696278333664, 0.05962521210312843, 0.005929628852754831, 0.027795806527137756, 0.006626395042985678, 0.017446642741560936, 0.014819922856986523, -0.007815931923687458, -0.02699343115091324, 0.030214734375476837, 0.00148579862434417, 0.01099228486418724, -0.03608386218547821, 0.017279135063290596, -0.00590429687872529, -0.28569361567497253, 0.021095721051096916, 0.019116351380944252, -0.03858506307005882, 0.03637115657329559, -0.027950352057814598, 0.004284433554857969, -0.06204976141452789, -0.01116255484521389, 0.01355933677405119, -0.026092642918229103, -0.025687862187623978, -0.03917562961578369, 0.05836084485054016, -0.03253244608640671, -0.010848735459148884, 0.02114819549024105, -0.024683773517608643, 0.02755952998995781, 0.048289526253938675, -0.010203263722360134, -0.06692700833082199, 0.015301957726478577, 0.05089501291513443, 0.055431071668863297, 0.04088541492819786, -0.06927221268415451, 0.04533204808831215, -0.03533386439085007, -0.008787012659013271, 0.04106112942099571, -0.014345201663672924, -0.008957074955105782, -0.03303257003426552, 0.0004701533180195838, 0.016072837635874748, 0.05489668250083923, 0.004597268998622894, 0.004346366971731186, 0.0037725018337368965, -0.009769482538104057, -0.053140681236982346, -0.020939817652106285, 0.02237788960337639, 0.0708710178732872, -0.03805168718099594, -0.056521493941545486, 0.008159032091498375, -0.030622310936450958, 0.07246920466423035, -0.01291500125080347, -0.017077429220080376, -0.017887262627482414, 0.02644391916692257, -0.016443300992250443, -0.02321666292846203, -0.0014935018261894584, -0.01078728586435318, -0.053236279636621475, -0.04375816881656647, -0.03522660583257675, -0.044992752373218536, -0.04618179425597191, -0.024688446894288063, 0.014570620842278004, -0.07411622256040573, -0.03721286356449127, -0.022120872512459755, 0.07365977019071579, 0.0065470351837575436, -0.009082432836294174, 0.01468136627227068, -0.01985081657767296, -0.1119222417473793, 0.01830054260790348, -0.009441799484193325, -0.008840689435601234, -0.025803934782743454, 0.0019090159330517054, 0.039667002856731415, -0.05133187770843506, -0.04816721752285957, 0.02796035446226597, -0.012659309431910515, 0.007516670040786266, -0.0005642996402457356, 0.029926402494311333, 0.009424117393791676, 0.0002228463999927044, 0.017089474946260452, 0.09589646011590958, -0.006335217040032148, -0.04446426406502724, -0.029843393713235855, 0.018483668565750122, 0.034237612038850784, 0.032628171145915985, 0.0008622916066087782, 0.03473872318863869, 0.008637611754238605, -0.006019442342221737, -0.04674182087182999, 0.04029378667473793, -0.00521851098164916, -0.003780151018872857, -0.03851175680756569, -0.05443133786320686, 0.0552474781870842, 0.012636445462703705, 0.028543218970298767, -0.020857488736510277, -0.02776951901614666, -0.011690902523696423, -0.06254880130290985, -0.0207461416721344, -0.030370865017175674, 0.005592003930360079, 0.013831141404807568, -0.026469720527529716, -0.010200208984315395, -0.05042049288749695, 0.01529612671583891, 0.003139035776257515, -0.023197097703814507, -0.04816742241382599, -0.02092164196074009, -0.013459446839988232, -0.0024136584252119064, 0.008848178200423717, -0.01648511365056038, 0.013250472955405712, 0.034152042120695114, -0.006820971611887217, -0.006210051476955414, -0.005737965926527977, -0.013170075602829456, -0.046920277178287506, -0.0022209202870726585, 0.005960402544587851, -0.013258056715130806, -0.005353079177439213, 0.029154367744922638, -0.0018787089502438903, 0.022663911804556847, 0.014546173624694347, 0.016391796991229057, 0.018075866624712944, 0.014911905862390995, -0.012870339676737785, 0.003949361853301525, 0.02583198808133602, -0.08584471046924591, -0.00037813358358107507, -0.020374195650219917, -0.026574328541755676, -0.01935836486518383, 0.021889306604862213, 0.015243924222886562, -0.03592468425631523, -0.0378863550722599, -0.024120179936289787, -0.0663202702999115, -0.013260274194180965, -0.04545825719833374, -0.002032088115811348, 0.04439907521009445, 0.0013409623643383384, 0.03416744992136955, -0.010345889255404472, -0.0312326792627573, -0.016774442046880722, 0.027745941653847694, -0.03328641504049301, 0.006131149362772703, 0.010648616589605808, -0.00753125362098217, -0.01847858540713787, -0.006301157176494598, 0.02357638254761696, 0.013408971019089222, 0.023306412622332573, -0.035953618586063385, 0.04907627031207085, 0.035547126084566116, 0.03962143883109093, -0.024388615041971207, -0.01615716889500618, -0.0016989961732178926, -0.0062111746519804, -0.003391710575670004, -0.04986979812383652, -0.023858828470110893, -0.0027967889327555895, 0.0015120476018637419, -0.039818983525037766, -0.07838530838489532, 0.0315367765724659, 0.03175104781985283, 0.01068457867950201, 0.02005009539425373, 0.008493911474943161, -0.017463626340031624, -0.035864487290382385, 0.03700868785381317, 0.06623275578022003, -0.05778658390045166, -0.015178222209215164, 0.008149082772433758, 0.03237653896212578, -0.0005054273642599583, 0.0025126116815954447, -0.06662203371524811, -0.03258905187249184, -0.02940192259848118, -0.02233564481139183, -0.04269177466630936, -0.026973465457558632, -0.042471565306186676, 0.0068611991591751575, -0.019803840667009354, -0.027290254831314087, -0.014692076481878757, -0.01511120330542326, -0.012587901204824448, -0.01723952405154705, -0.0003174736048094928, -0.027591263875365257, -0.000224002476898022, 0.019566534087061882, -0.027351921424269676, 0.016116267070174217, -0.00400062371045351, 0.03753168135881424, 0.020531848073005676, -0.033850912004709244, -0.014629763551056385, -0.047320637851953506, -0.016417933627963066, 0.010138798505067825, 0.03630213439464569, -0.00014003484102431685, -0.0007366079953499138, -0.02557428553700447, 0.034813083708286285, -0.014893271028995514, 0.025270512327551842, -0.01807665452361107, -0.04163587838411331, 0.042618151754140854, 0.07608714699745178, 0.01876373402774334, 0.04369237646460533, 0.02445811964571476, 0.0017535618972033262, 0.06355784088373184, -0.11072035878896713, 0.011781582608819008, -0.04858747497200966, -0.07218736410140991, 0.03336162865161896, 0.006563965231180191, 0.05222111940383911, -0.028996871784329414, 0.022601598873734474, 0.010908660478889942, 0.018590172752738, 0.0314328707754612, -0.019466735422611237, 0.04920210689306259, -0.043500229716300964, 0.01294174324721098, -0.0858343243598938, 0.02819966897368431, 0.04040050879120827, -0.0109812431037426, -0.018327878788113594, -0.024268850684165955, -0.036594778299331665, 0.044075608253479004, -0.03482921048998833, 0.011352956295013428, 0.05197783187031746, -0.002804351272061467, -0.031320128589868546, -0.0030660044867545366, -0.08191711455583572, 0.04429526999592781, 0.04823746159672737, -0.02221057005226612, -0.0020444791298359632, -0.028681369498372078, 0.05404762923717499, 0.02541528083384037, -0.017609978094697, -0.030641214922070503, 0.02438519522547722, 0.041168902069330215, 0.022204140201210976, -0.00535777909681201, 0.02747860550880432, -0.015681613236665726, 0.029209034517407417, 0.024605873972177505, 0.009465985931456089, -0.005518842022866011, 0.008248853497207165, 0.006327555049210787, -0.05937856063246727, 0.042403239756822586, 0.021175507456064224, -0.034597501158714294, -0.03811086341738701, 0.048032280057668686, 0.03438734635710716, -0.02104138769209385, -0.026769215241074562, -0.023147253319621086, -0.04614484682679176, -0.03290876746177673, -0.018293529748916626, -0.013117434456944466, -0.0331757478415966, 0.054463941603899, -0.01735881343483925, -0.0011460676323622465, 0.07256700843572617, 0.017107784748077393, -0.015027313493192196, -0.01308562234044075, 0.06668279320001602, 0.07955969125032425, 0.05369566008448601, 0.017108194530010223, 0.06352695822715759, 0.009475601837038994, -0.06154606491327286, 0.020731410011649132, -0.01937229186296463, -0.0065050492994487286, -0.036343369632959366, 0.022946251556277275, 0.04163997992873192, -0.01497744396328926, 0.05936717242002487, -0.0210124421864748, 0.01205004658550024, 0.0009648007689975202, 0.013903424143791199, 0.0018659800989553332, 0.08903763443231583, 0.03748001903295517, 0.010221024043858051, 0.018808891996741295, -0.023335648700594902, 0.04155969247221947, -0.058240242302417755, -0.022436195984482765, 0.020433858036994934, 0.019839072600007057, 0.024939613416790962, 0.023843543604016304, 0.038180578500032425, 0.05977262556552887, -0.020775824785232544, 0.005564028397202492, 0.005912747699767351, 0.05892359837889671, 0.030940957367420197, 0.008518371731042862, -0.006043825764209032, -0.025435902178287506, 0.004564099479466677, -0.027640290558338165, -0.004677935037761927, -0.006838595028966665, -0.024932967498898506, 0.05747316777706146, -0.027278617024421692, 0.009705165401101112, 0.03818058595061302, 0.0012770668836310506, -0.021277442574501038, -0.07805190235376358, -0.05023498833179474, -0.037362683564424515, -0.04304790124297142, -0.04135935381054878, 0.049096811562776566, -0.02990371361374855, -0.04152268171310425, -0.02514072321355343, -0.001781933824531734, -0.0024568368680775166, 0.030252547934651375, -0.036595962941646576, -0.027614271268248558, 0.037131041288375854, -0.009783689863979816, 0.050602834671735764, 0.014250066131353378, 0.026010029017925262, 0.015104824677109718, -0.006993615999817848, -0.04661938548088074, -0.015139258466660976, 0.05063929781317711, 0.00255763391032815, 0.014343672432005405, -0.06940271705389023, -0.0028592173475772142, 0.014076587744057178, 0.011009532026946545, -0.05006568506360054, 0.028229283168911934, -0.01676761917769909, -0.032321713864803314, 0.061285484582185745, -0.04234735667705536, 0.026038698852062225, -0.03600989654660225, -0.03421647846698761, 0.016013892367482185, 0.015382005833089352, 0.05168453976511955, -0.007210307754576206, 0.0846555083990097, -0.008193155750632286, -0.03017454966902733, -0.024805059656500816, -0.0006040174048393965, -0.007703878451138735, -0.014710534363985062, -0.01961141638457775, -0.03421368449926376, -0.042151812463998795, -0.06315045803785324, -0.04028791934251785, -0.0005143476882949471, -0.007115738000720739, -0.02216438390314579, 0.028280682861804962, 0.008010893128812313, -0.06375078856945038, 0.015478732995688915, -0.05004652217030525, 0.03716195002198219, -0.041728824377059937, -0.00909499917179346, 0.03966916352510452, -0.009738847613334656, 0.005931925028562546, -0.013263256289064884, 0.04824722930788994, -0.039247043430805206, -0.0339432917535305, -0.0070928228087723255, 0.031290203332901, 0.044201236218214035, -0.007390361279249191, -0.01401054859161377 ]
[ -0.10758554935455322, 0.00855714175850153, -0.02683361992239952, -0.04375453665852547, 0.024678725749254227, 0.00786698516458273, 0.008766721934080124, 0.03055642545223236, -0.008013581857085228, -0.045773789286613464, -0.04092619568109512, 0.018173271790146828, -0.0490005724132061, 0.01613219641149044, 0.07324954122304916, -0.0032210377976298332, -0.022014988586306572, -0.05535854399204254, -0.042045921087265015, 0.03740512579679489, 0.00559350335970521, -0.012408346869051456, -0.04025571420788765, -0.04881492629647255, -0.004653711803257465, 0.040129173547029495, 0.05657162889838219, -0.0177605077624321, 0.001342078554444015, -0.1840917319059372, 0.02083323709666729, -0.06576517969369888, -0.0013681866694241762, -0.03575081378221512, -0.005387238226830959, 0.025440437719225883, -0.006123928353190422, 0.013247771188616753, 0.017450490966439247, 0.02591118775308132, 0.033274032175540924, 0.009162324480712414, -0.05620095506310463, -0.052958909422159195, 0.06599366664886475, -0.0001427034439984709, -0.012355251237750053, -0.027512893080711365, -0.025703223422169685, 0.0342094749212265, -0.044269662350416183, -0.02761600725352764, 0.024644901975989342, -0.05505754426121712, -0.003793702693656087, 0.0367831252515316, 0.0184758473187685, 0.05439813807606697, 0.002586816204711795, 0.046180639415979385, -0.020077019929885864, -0.008635526522994041, -0.12373482435941696, 0.12705908715724945, 0.02918293885886669, 0.059177156537771225, -0.019105587154626846, -0.0011716079898178577, -0.015388372354209423, 0.10885793715715408, 0.032874949276447296, -0.013997389003634453, -0.03940969705581665, 0.06699833273887634, 0.009802248328924179, -0.010237619280815125, -0.014719539321959019, 0.00121534604113549, 0.060131706297397614, -0.031202150508761406, -0.04517482593655586, -0.0716165229678154, 0.0072298129089176655, -0.024771513417363167, -0.043284036219120026, -0.005016679875552654, -0.00888852495700121, 0.0486614890396595, 0.041585907340049744, 0.034211885184049606, 0.0487188994884491, -0.020502151921391487, -0.004889864940196276, -0.012707673013210297, -0.06853082031011581, -0.009811834432184696, -0.02403494156897068, -0.019795605912804604, -0.038961756974458694, 0.41607025265693665, -0.03679489344358444, 0.014822172932326794, 0.06601114571094513, -0.01257385965436697, -0.045330557972192764, 0.0036327471025288105, -0.008106861263513565, -0.03785403445363045, 0.014056617394089699, -0.024109670892357826, 0.0010997855570167303, 0.00462309131398797, 0.05767254903912544, -0.03633618727326393, -0.02096392773091793, -0.00773586006835103, 0.04821810498833656, -0.009187096729874611, 0.02050001733005047, -0.014382134191691875, 0.042407527565956116, 0.035246044397354126, 0.016583861783146858, 0.0027434814255684614, 0.040955107659101486, -0.021963845938444138, 0.035458583384752274, 0.05959668383002281, 0.014944368042051792, 0.017670156434178352, 0.030476955696940422, -0.06158376485109329, -0.05512556806206703, 0.025082804262638092, -0.00553878815844655, 0.022790951654314995, 0.017972834408283234, 0.014893975108861923, 0.021344343200325966, 0.046275895088911057, -0.004828857723623514, -0.04564673826098442, 0.02608845941722393, -0.027500981464982033, -0.034391503781080246, 0.05124451592564583, 0.005540645215660334, -0.02615148201584816, -0.014737026765942574, -0.04905067756772041, 0.014053964987397194, 0.061810482293367386, -0.0016456793528050184, -0.051402829587459564, -0.008869441226124763, 0.022890595719218254, 0.023012205958366394, -0.0018386886222288013, -0.01375060249119997, -0.004013539291918278, -0.056760162115097046, -0.007300389930605888, -0.046118155121803284, 0.06035641208291054, 0.01767716370522976, -0.10140315443277359, -0.049020297825336456, -0.004816947039216757, 0.03456442803144455, -0.09050032496452332, -0.004336198326200247, 0.02331666834652424, -0.08426244556903839, -0.025167502462863922, 0.021884005516767502, -0.036487821489572525, -0.027551041916012764, 0.015967808663845062, 0.043554916977882385, 0.029362736269831657, 0.01727989874780178, -0.002108199056237936, -0.05528613179922104, 0.02575446292757988, -0.018771644681692123, -0.04861566051840782, -0.026129363104701042, -0.0076520140282809734, 0.0042708334513008595, 0.026926714926958084, -0.010024188086390495, -0.05995578691363335, -0.06252327561378479, 0.06885115057229996, -0.017813941463828087, 0.0181298665702343, -0.005316524300724268, -0.01611262932419777, 0.006222190335392952, -0.0037916763685643673, 0.03166218474507332, 0.03200145810842514, 0.013152317143976688, 0.054761309176683426, -0.06432999670505524, 0.10406823456287384, 0.08719530701637268, -0.06961388885974884, 0.1036434918642044, 0.03485690429806709, -0.06915833055973053, -0.01156279444694519, 0.022836728021502495, -0.006333424709737301, 0.020082693547010422, -0.011511596851050854, -0.009197487495839596, 0.008545467630028725, 0.017070341855287552, 0.04663093760609627, -0.03871522843837738, 0.019406601786613464, 0.03621724992990494, -0.3159068524837494, -0.05795259028673172, -0.02040293999016285, 0.0005648342194035649, 0.03542262688279152, -0.049926407635211945, 0.008351302705705166, -0.011724874377250671, -0.012379010207951069, -0.008326622657477856, 0.06417109072208405, -0.001140786218456924, -0.01856859214603901, -0.11207655817270279, 0.0035035032778978348, 0.013244609348475933, -0.0292193666100502, -0.06514321267604828, -0.022375941276550293, 0.01230483315885067, -0.026647990569472313, 0.002211193321272731, -0.02436971664428711, -0.08500991016626358, 0.032200563699007034, -0.03047727607190609, 0.0991402268409729, 0.011408128775656223, 0.07427409291267395, -0.01892433501780033, 0.05527355894446373, -0.003062888514250517, 0.03429090231657028, -0.04996680095791817, -0.004193573724478483, -0.044532157480716705, -0.016710976138710976, -0.015338500961661339, 0.02896866574883461, -0.0083411680534482, -0.05306646600365639, -0.016290904954075813, -0.02870531938970089, -0.07593315094709396, -0.03760656714439392, 0.003939610440284014, -0.0019790830556303263, -0.005157185718417168, -0.05059591680765152, 0.04995211958885193, 0.03925624489784241, -0.013017989695072174, 0.03708299994468689, 0.03609352186322212, 0.004025203175842762, -0.021832767874002457, -0.035240765661001205, -0.02611333131790161, -0.0003465448971837759, -0.005011811386793852, 0.04536716267466545, 0.06016917526721954, 0.0535162016749382, -0.0467807911336422, -0.0008946653106249869, 0.009859872050583363, 0.010190644301474094, -0.027797505259513855, 0.06905723363161087, -0.023906240239739418, -0.06560386717319489, 0.11278662085533142, 0.04192090407013893, 0.023773493245244026, 0.01953604444861412, 0.03485877066850662, -0.017819156870245934, 0.024494461715221405, 0.0373351126909256, 0.004286940209567547, 0.0013055142480880022, 0.052924226969480515, 0.009904216974973679, -0.028697315603494644, -0.040041934698820114, 0.014345385134220123, -0.05167843773961067, -0.01958519220352173, 0.041975248605012894, -0.032255593687295914, -0.049760013818740845, 0.027266759425401688, -0.01944216713309288, -0.08931861817836761, 0.02035876363515854, -0.001095201470889151, -0.22958803176879883, -0.009458623826503754, 0.08369125425815582, 0.10185903310775757, -0.032138556241989136, 0.02165607176721096, 0.036868732422590256, -0.05783462151885033, -0.002956056036055088, 0.03192086145281792, 0.027312636375427246, 0.029761070385575294, -0.0025475264992564917, 0.0007349216029979289, 0.05058995261788368, -0.02404816821217537, 0.008307107724249363, 0.009616855531930923, 0.007666587829589844, -0.016278231516480446, 0.047582000494003296, -0.02553831972181797, 0.2003931701183319, -0.002415090100839734, 0.02403714507818222, 0.05382232740521431, 0.016018707305192947, 0.020362528041005135, 0.07490292191505432, -0.03201679140329361, -0.0228898748755455, 0.011963466182351112, 0.04737279564142227, -0.010478770360350609, 0.014986885711550713, -0.06409932672977448, -0.06589274108409882, 0.04626137390732765, 0.006175424437969923, -0.029692059382796288, 0.007783014327287674, 0.01724184677004814, 0.00324916560202837, 0.011130855418741703, 0.06036238744854927, 0.0028410726226866245, 0.01108680758625269, -0.02081427536904812, -0.05189809203147888, 0.008512312546372414, -0.04367164894938469, -0.0432993620634079, 0.03155573457479477, -0.02310977131128311, -0.0142669677734375, 0.07253666967153549, 0.045901503413915634, -0.02048073336482048, 0.014116307720541954, 0.017168190330266953, -0.01725579798221588, 0.026094701141119003, 0.11336067318916321, 0.041751861572265625, 0.0382956899702549 ]
[ -0.023640163242816925, -0.0033004044089466333, 0.010983707383275032, 0.02247576043009758, 0.025953952223062515, -0.0005532563081942499, -0.013838577084243298, -0.006910649593919516, 0.037699539214372635, -0.01989821530878544, -0.027517331764101982, 0.0306406170129776, 0.015905175358057022, -0.0031204421538859606, 0.015443374402821064, -0.03229901194572449, -0.03702511638402939, 0.01895930990576744, 0.021799594163894653, -0.01956343837082386, -0.00499295350164175, -0.018991850316524506, 0.02282126434147358, -0.005736556835472584, -0.04512700438499451, -0.029518017545342445, 0.00346699939109385, -0.010943172499537468, 0.007876780815422535, -0.11804568767547607, -0.016875041648745537, -0.04998985305428505, -0.024123141542077065, -0.023428088054060936, -0.039704401046037674, 0.008487900719046593, 0.0028361850418150425, 0.024579429998993874, 0.015307938680052757, 0.013065601699054241, 0.00021600462787318975, -0.006639466620981693, 0.000655248062685132, -0.0043617235496640205, 0.015540090389549732, -0.018272731453180313, -0.024358108639717102, -0.04072735831141472, -0.0465817004442215, -0.00785706378519535, 0.015389014966785908, 0.020352818071842194, -0.015367520041763783, 0.004349120426923037, -0.03292674198746681, -0.028028404340147972, 0.032275233417749405, -0.02310386672616005, 0.05962233617901802, 0.078821562230587, 0.008326983079314232, 0.022198133170604706, 0.005062034819275141, -0.026139771565794945, -0.01601250469684601, -0.006334311328828335, 0.031973253935575485, 0.015705468133091927, -0.016522854566574097, 0.009634376503527164, -0.03344828635454178, -0.00453497190028429, 0.0027034319937229156, -0.02533084899187088, -0.01195621956139803, -0.01490919291973114, -0.056227706372737885, 0.004177413415163755, 0.04385688528418541, 0.019085396081209183, -0.041086357086896896, -0.005282168742269278, 0.014130689203739166, 0.015181061811745167, 0.007351775653660297, 0.05639588460326195, 0.03591856360435486, 0.01984456367790699, 0.004974987357854843, 0.0019274052465334535, -0.04375901073217392, 0.02682221308350563, 0.016046341508626938, 0.09604274481534958, -0.07646729797124863, 0.0055749258026480675, 0.01804846152663231, -0.03884069621562958, -0.016588080674409866, 0.8134803175926208, -0.008655518293380737, 0.043244779109954834, 0.036702025681734085, 0.046046994626522064, -0.015887927263975143, -0.015355137176811695, -0.014025980606675148, -0.011065836995840073, 0.04838475212454796, -0.015301848761737347, 0.00817040354013443, 0.023086722940206528, 0.02718513458967209, -0.00545336352661252, 0.0069306087680161, 0.004493644926697016, 0.02310803346335888, -0.006543414667248726, 0.023987574502825737, -0.0024584645871073008, 0.08398623764514923, 0.01745563931763172, -0.004939918406307697, 0.0308309905230999, 0.07594314217567444, -0.15239953994750977, 0.01843661442399025, -9.297452079657924e-33, 0.061954714357852936, 0.018084533512592316, 0.05750959739089012, 0.00010995164484484121, -0.0036492892540991306, 0.00935988500714302, 0.024255260825157166, 0.05695285275578499, -0.011503802612423897, -0.034468237310647964, 0.04116104170680046, -0.0225246362388134, -0.008084512315690517, -0.03040703386068344, 0.009892255999147892, 0.021656149998307228, -0.010784354992210865, 0.021858541294932365, 0.012019089423120022, 0.045306406915187836, -0.021034179255366325, 0.04993220418691635, 0.021531008183956146, 0.04257521033287048, -0.008656094782054424, 0.0080444710329175, 0.006412745453417301, 0.026816947385668755, -0.016601642593741417, -0.05111066251993179, -0.021908670663833618, 0.002780609531328082, -0.03451995551586151, 0.013054637238383293, 0.011124840006232262, -0.018215209245681763, -0.012287555262446404, -0.006946633104234934, 0.010919866152107716, -0.01795695163309574, -0.014038672670722008, -0.04277921840548515, -0.024670379236340523, -0.021366005763411522, -0.02357863448560238, -0.031261008232831955, -0.019625457003712654, -0.043046001344919205, 0.022932006046175957, 0.0074127414263784885, -0.00039384711999446154, 0.028502700850367546, 0.015886100009083748, -0.02993621863424778, -0.023860329762101173, 0.039700206369161606, 0.0021369231399148703, 0.020274830982089043, 0.018545500934123993, 0.02664985880255699, 0.03550726920366287, -0.039602503180503845, -0.03505702316761017, 0.014764844439923763, -0.024629080668091774, -0.05807783827185631, -0.0414133183658123, 0.0030805892311036587, 0.026765698567032814, -0.02127474546432495, -0.02142392471432686, 0.031429823487997055, -0.00023806304670870304, 0.0024280163925141096, 0.032244663685560226, -0.00850911159068346, -0.024572761729359627, 0.06094953790307045, -0.006538106128573418, 0.016575299203395844, 0.056392569094896317, -0.04070253670215607, -0.020418811589479446, -0.019090861082077026, 0.04123147949576378, -0.018951524049043655, -0.011143859475851059, -0.008274705149233341, 0.030301379039883614, 0.032330065965652466, 0.015315897762775421, 0.0186806358397007, -0.014789457432925701, -0.020525075495243073, -0.014401601627469063, 8.763435281654928e-33, -0.008745822124183178, 0.005508812610059977, -0.05533928796648979, 0.035850636661052704, 0.03180750086903572, -0.03123534843325615, 0.004698829725384712, 0.006339090410619974, -0.06761780381202698, 0.014215965755283833, -0.002015329897403717, 0.0033993020188063383, -0.01690881885588169, -0.004274517763406038, 0.010767529718577862, 0.00797353871166706, 0.03587222844362259, -0.045825835317373276, 0.03287345543503761, -0.015596425160765648, 0.046308305114507675, 0.02432752400636673, 0.01669229567050934, -0.00811475794762373, -0.023181671276688576, 0.03709754720330238, -0.038264237344264984, 0.013273654505610466, 0.021863188594579697, 0.012781563214957714, -0.017224492505192757, 0.022100191563367844, 0.013903968036174774, -0.01640082523226738, 0.00194785394705832, 0.0031124509405344725, -0.020221685990691185, 0.006935684476047754, 0.03795621916651726, 0.004793587140738964, -0.016254009678959846, -0.0439930260181427, 0.01672605238854885, 0.01997707411646843, 0.037833813577890396, 0.03696468845009804, -0.0003631077997852117, -0.00020006575505249202, 0.040334492921829224, 0.03715667128562927, -0.0230324175208807, 0.03307580575346947, -0.01137965265661478, 0.007399078458547592, 0.011471400037407875, -0.02804204449057579, -0.04393618181347847, -0.0006230112630873919, -0.00168505625333637, 0.021082697436213493, -0.012994985096156597, 0.023145483806729317, -0.033633168786764145, 0.0024948976933956146, -0.03743766248226166, 0.005960330832749605, -0.05086750164628029, 0.007986812852323055, 0.009892481379210949, -0.04422399401664734, -0.011260836385190487, -0.00660783750936389, 0.012206260114908218, 0.0035889013670384884, 0.036590706557035446, -0.051837336272001266, -0.006717273499816656, -0.02553252875804901, -0.021724877879023552, 0.01982090435922146, 0.02189074456691742, 0.011481542140245438, 0.014305772259831429, -0.060414645820856094, -0.02698546275496483, 0.043297238647937775, -0.0178054329007864, 0.02073763497173786, -0.02531496435403824, -0.04292655736207962, -0.00045458361273631454, 0.026270590722560883, -0.015408920124173164, -0.03733585402369499, 0.018579868599772453, -1.383329184534432e-8, -0.03713711351156235, 0.015355182811617851, -0.0011681594187393785, -0.06937023997306824, -0.031494736671447754, -0.008512500673532486, -0.005390348378568888, 0.01666247844696045, -0.03370177745819092, -0.007756328210234642, 0.06967252492904663, -0.001730133080855012, 0.027877328917384148, 0.03963954374194145, -0.012037156149744987, -0.035679593682289124, -0.06429225206375122, -0.008922000415623188, 0.026708051562309265, 0.04103062301874161, -0.006370488088577986, 0.04843582957983017, -0.0035565656144171953, 0.0005415354389697313, -0.018593141809105873, -0.0016659521497786045, 0.011383747681975365, -0.05747441202402115, -0.0073096491396427155, -0.010777435265481472, -0.02478596195578575, -0.0347423180937767, -0.012388682924211025, -0.027086816728115082, -0.04878982901573181, -0.02206997014582157, -0.008492636494338512, -0.014132533222436905, 0.03171193227171898, -0.024200068786740303, 0.013495243154466152, -0.05053048953413963, -0.009353945963084698, -0.01162502821534872, 0.005620586685836315, -0.0024129231460392475, -0.05351852998137474, 0.016627037897706032, 0.038858041167259216, -0.04938289150595665, -0.012048359960317612, 0.023706259205937386, -0.012470046989619732, -0.03077046014368534, 0.02811536192893982, 0.00045624125050380826, 0.02700168453156948, -0.011369343847036362, -0.02364283613860607, -0.02952500618994236, 0.04711524769663811, 0.019402701407670975, -0.0040993234142661095, -0.02352823130786419 ]
jquery-approaches-to-testing
https://markhneedham.com/blog/2009/01/24/jquery-approaches-to-testing
false
2009-01-15 00:37:24
Coding Dojo #6: Web Driver
[ "coding-dojo" ]
[ "Coding Dojo" ]
We ran a sort of coding dojo/more playing around with http://code.google.com/p/webdriver/[web driver] learning session this evening, coding some tests in Java driving http://blogs.thoughtworks.com/[Planet TW] from the code. == The Format We had the same setup as for our normal coding dojos but only one person was driving at a time and the others were watching from around them offering tips on different approaches. I think only a couple of us drove during the session. == What We Learnt * This was an interesting way to start learning about a tool that I hadn't previously used. Two of my colleagues had used it before and they were able to provide knowledge of best practices, such as the http://code.google.com/p/webdriver/wiki/PageObjects[Page Object] pattern. I finally got the value in this pattern today after seeing the way that we can use the http://code.google.com/p/webdriver/wiki/PageFactory[PageFactory] to help cut out a lot of the boiler plate code usually needed to get the elements on each page into a class. * Web Driver seems to be *simpler to setup than Selenium* from my experiences tonight. We don't have to worry about the reverse proxy like we do when using Selenium which makes things much easier. The tests, especially when using the Html Unit driver, ran fairly rapidly. * We worked with the Safari driver for most of the time but had to put in a lot of sleeps because the calls to pages didn't seem to wait for that page to load before going onto the next step. A quick browse of the mailing list suggests that this is an area that will be worked on soon. The Html Unit Driver worked really well though. * I learnt about the idea of https://lift.dev.java.net/[LiFT style APIs] - we can write web driver tests in this style by using the correct context wrapper. Effectively an acceptance testing DSL: + ____ LiFT allows writing automated tests in a style that makes them very readable, even for non-programmers. Using the LiFT API, we can write tests that read almost like natural language, allowing business requirements to be expressed very clearly. This aids communication amongst developers and customers, helping give all stakeholders confidence that the right things are being tested. ____ * http://lizdouglass.wordpress.com/[Liz] mentioned an earlier discussion she had been having around the creation of strings using literals ("string") or by using the constructor (new String("string)). The latter is not encouraged as those strings are not put into the string pool and therefore cannot be reused. There is more discussion of the two approaches to creating strings on the http://www.coderanch.com/t/381271/Java-General-intermediate/Difference-between-String-s-Marcus[Code Ranch forums] and on http://weblogs.java.net/blog/enicholas/archive/2006/06/all_about_inter.html[Ethan Nicholas' blog]. == Next Time * Next week we are going to explore the http://code.google.com/p/retlang/wiki/[Retlang] concurrency library. I think the plan is to take a concurrency problem and try to solve it with the library. * I'm still not sure how well the Dojo format works for learning or exploring things that are new to most of the group. This week's one certainly wasn't as intense as last week's although I still learnt about things that I previously didn't know about.
null
null
[ 0.01867401786148548, 0.006530812010169029, 0.006740949582308531, 0.054192282259464264, 0.07246717065572739, 0.007791443727910519, 0.02325153909623623, 0.04753311723470688, 0.04110532999038696, -0.030222434550523758, -0.0034561094362288713, 0.011898128315806389, -0.05898086726665497, -0.006097240373492241, -0.027628447860479355, 0.06851551681756973, 0.06745873391628265, -0.0028416141867637634, 0.01272694580256939, -0.008686752989888191, 0.012115481309592724, 0.052740782499313354, 0.0036689271219074726, 0.03808877244591713, 0.025135792791843414, 0.015195422805845737, 0.0047739907167851925, 0.006073990371078253, -0.07452947646379471, -0.027740947902202606, 0.04109732434153557, 0.030254226177930832, 0.004121809266507626, 0.012018192559480667, 0.001046835444867611, -0.037453584372997284, 0.0012030235957354307, 0.0082007497549057, 0.018558183684945107, 0.04293127357959747, -0.06036680191755295, 0.0209449902176857, -0.0012570427497848868, 0.018094761297106743, -0.04042592644691467, 0.013590299524366856, -0.035083871334791183, 0.0058307587169110775, -0.006429241970181465, -0.015489772893488407, -0.056302569806575775, 0.04817397892475128, -0.014841059222817421, 0.021679440513253212, -0.005351478699594736, 0.045152563601732254, 0.05118250474333763, -0.07750927656888962, 0.037231478840112686, -0.052543625235557556, 0.0013688643230125308, 0.008101091720163822, 0.004530241712927818, 0.04294883832335472, 0.01690385304391384, -0.028832919895648956, -0.011608019471168518, 0.05173185095191002, -0.043757762759923935, -0.01789475418627262, -0.025155819952487946, 0.007976389490067959, -0.019402815029025078, -0.025279073044657707, 0.030424227938055992, -0.03948957473039627, -0.008962357416749, 0.06066136062145233, 0.0005978726549074054, 0.028177596628665924, -0.028117328882217407, 0.018487438559532166, 0.035149674862623215, 0.045304108411073685, -0.019058549776673317, -0.03380921110510826, -0.03088759258389473, -0.016475530341267586, -0.03465524688363075, 0.06805380433797836, 0.01004570908844471, -0.05373302847146988, -0.0003445656911935657, 0.03876287490129471, -0.008244645781815052, 0.011970085091888905, 0.033113107085227966, -0.008085534907877445, -0.01677560806274414, -0.017926977947354317, -0.028969474136829376, -0.03613812476396561, 0.028085947036743164, 0.005939363036304712, -0.07838693261146545, 0.017815453931689262, -0.02533506229519844, -0.006739791017025709, 0.00939171202480793, 0.026081742718815804, -0.02555968426167965, 0.0061644818633794785, -0.02439621463418007, 0.022025587037205696, -0.06413966417312622, 0.057444773614406586, -0.017401885241270065, -0.05705636367201805, -0.016050957143306732, 0.020211944356560707, 0.013325965963304043, 0.03161172568798065, -0.012868487276136875, 0.08770327270030975, 0.01473095454275608, 0.04797593131661415, -0.02494392916560173, 0.04676195606589317, -0.0065226126462221146, -0.06937259435653687, 0.013463124632835388, 0.022263888269662857, -0.00010479024786036462, -0.0055037690326571465, -0.0008762858342379332, -0.02731977589428425, 0.00021150500106159598, 0.0057638161815702915, 0.024646541103720665, 0.04366864636540413, -0.03494224697351456, -0.03933888301253319, 0.0448022298514843, 0.002618014346808195, 0.03926216438412666, -0.0018294526962563396, 0.0057853455655276775, -0.018994836136698723, -0.04071950912475586, 0.02043594978749752, -0.0014033877523615956, -0.007249223534017801, 0.00305276014842093, -0.03306279331445694, 0.012504219077527523, 0.08847552537918091, 0.004395943135023117, 0.028608812019228935, -0.016874806955456734, 0.023640986531972885, 0.02384372614324093, 0.025905610993504524, -0.009325613267719746, 0.025751201435923576, -0.0014940113760530949, 0.018316442146897316, -0.007988952100276947, 0.04636175185441971, 0.003206331981346011, 0.020496996119618416, -0.0677611231803894, -0.055671073496341705, 0.044884517788887024, -0.06906512379646301, -0.04448797553777695, 0.03853030502796173, 0.09278357774019241, 0.009919669479131699, 0.05388478562235832, -0.0018282387172803283, -0.07072634994983673, -0.002817644039168954, 0.023343324661254883, 0.027103528380393982, 0.011626848950982094, -0.04199318215250969, 0.07075967639684677, 0.029809005558490753, -0.018478719517588615, 0.019256167113780975, -0.07903549820184708, -0.08594424277544022, -0.0258847214281559, -0.024730823934078217, 0.06866128742694855, -0.027526121586561203, 0.012823006138205528, 0.07175517082214355, 0.01345757208764553, 0.047585628926754, 0.02495633251965046, -0.0063059269450604916, 0.026012038812041283, -0.06504510343074799, -0.030292082577943802, 0.0463506318628788, 0.04077906534075737, -0.04744022712111473, -0.07523632049560547, -0.0017746988451108336, -0.016324665397405624, -0.003956317435950041, 0.037864428013563156, 0.005154743324965239, 0.04018903151154518, 0.025181151926517487, 0.07928783446550369, -0.03005880117416382, 0.06101174280047417, -0.04766717180609703, 0.021809639409184456, -0.009887352585792542, -0.02529056742787361, 0.0072690569795668125, 0.013745579868555069, 0.12408893555402756, 0.07291873544454575, -0.04437122493982315, -0.042211830615997314, 0.020769285038113594, 0.004520196933299303, -0.03629655763506889, 0.0005152233643457294, -0.007705916650593281, -0.0032444309908896685, -0.002738187788054347, -0.06212928146123886, -0.03736690804362297, 0.0023059933446347713, -0.043801065534353256, 0.03419864922761917, 0.07133102416992188, -0.023806044831871986, 0.0472012460231781, -0.00262082158587873, -0.010023731738328934, 0.002794091124087572, -0.0124153271317482, -0.024896247312426567, 0.004087183624505997, 0.012729821726679802, -0.020255986601114273, 0.035679835826158524, -0.014935187064111233, -0.02656957507133484, -0.028318969532847404, -0.03286862000823021, -0.0013484228402376175, 0.06434733420610428, 0.05960378795862198, -0.008570843376219273, 0.057647302746772766, -0.0126077551394701, 0.032594095915555954, 0.009873094968497753, -0.061310820281505585, -0.013537164777517319, -0.029011595994234085, -0.004834155552089214, 0.06484882533550262, -0.003181960666552186, 0.03843412175774574, 0.04592355713248253, 0.0054332055151462555, -0.020107530057430267, -0.01280182134360075, 0.033858831971883774, -0.014183900319039822, -0.010597828775644302, -0.01883508637547493, -0.020353009924292564, 0.03888551890850067, -0.03497946262359619, -0.013222992420196533, 0.018608849495649338, -0.07082610577344894, 0.046966757625341415, -0.08350533992052078, -0.07366246730089188, 0.0005132344667799771, 0.021993735805153847, 0.037637416273355484, -0.011803408153355122, 0.03994414582848549, 0.07790428400039673, 0.003945318982005119, 0.015891412273049355, -0.007227566558867693, 0.012514143250882626, 0.022028930485248566, 0.009972799569368362, 0.011570977047085762, 0.021825164556503296, -0.008458927273750305, 0.012247778475284576, -0.05986237898468971, 0.036375731229782104, -0.02268560230731964, -0.2806897461414337, 0.032433170825242996, -0.000996810500510037, -0.04584433138370514, 0.02438689023256302, 0.002017021644860506, 0.01597750373184681, -0.055340711027383804, -0.011496318504214287, 0.014432264491915703, -0.031129270792007446, -0.031173350289463997, -0.03916213661432266, 0.04573972895741463, -0.014283234253525734, 0.04688168689608574, 0.02859952300786972, -0.039362214505672455, 0.02299908734858036, 0.0332411490380764, -0.011143195442855358, -0.08006525039672852, 0.008595257997512817, 0.04205096885561943, 0.036472540348768234, 0.0584186352789402, -0.08246023952960968, 0.04136474430561066, -0.0362890250980854, -0.002270711353048682, 0.05972428619861603, 0.005643954500555992, 0.0040969243273139, -0.019882261753082275, -0.02367987670004368, -0.004930925089865923, 0.04640895500779152, -0.0061968970112502575, 0.01206254307180643, 0.011004271917045116, -0.028420766815543175, -0.032240062952041626, -0.024171169847249985, -0.005820391699671745, 0.07178176194429398, -0.006164011545479298, -0.06824374943971634, -0.009111450985074043, -0.018445711582899094, 0.07212039083242416, -0.04096490144729614, -0.02593415416777134, -0.00919247418642044, 0.0418478325009346, 0.005821746774017811, -0.012283978052437305, -0.026614049449563026, 0.012163587845861912, -0.034787170588970184, -0.04171239957213402, -0.008500797674059868, -0.04372147470712662, -0.02687647193670273, -0.0731353759765625, 0.015038251876831055, -0.06734925508499146, -0.02272949367761612, -0.0007445162627846003, 0.08908610790967941, 0.03003152273595333, -0.03632311895489693, 0.02750948816537857, 0.006876508705317974, -0.10752801597118378, 0.017881792038679123, -0.009889253415167332, -0.01675448566675186, -0.016130313277244568, -0.004626137670129538, 0.05502041429281235, -0.03908640891313553, -0.04978727176785469, 0.023116853088140488, -0.006468524225056171, 0.014548120088875294, -0.02235795184969902, 0.04303986579179764, -0.018291953951120377, -0.009573970921337605, 0.004629497416317463, 0.0929672122001648, -0.0267434474080801, -0.017375417053699493, -0.029502755030989647, 0.033431220799684525, 0.041278935968875885, 0.03034716285765171, 0.0038210260681807995, -0.0024547064676880836, 0.017466969788074493, 0.0177470613270998, -0.05161314085125923, 0.03350566700100899, -0.008601097390055656, 0.01453001331537962, -0.0011943207355216146, -0.04900762066245079, 0.019930429756641388, 0.01973705179989338, 0.03156956657767296, -0.00516129843890667, -0.03586658462882042, -0.005595085211098194, -0.031008392572402954, -0.019940780475735664, -0.019528120756149292, 0.012069509364664555, 0.024032918736338615, -0.03219945356249809, -0.015238848514854908, -0.050957683473825455, 0.0033508180640637875, 0.012479620054364204, -0.014482126571238041, -0.05465533211827278, -0.027971478179097176, -0.0058709015138447285, -0.00603438587859273, 0.02632318064570427, 0.011751851998269558, -0.004100828431546688, 0.028098594397306442, 0.010746846906840801, -0.022254742681980133, -0.0030506588518619537, -0.019624674692749977, -0.04332384839653969, -0.022885361686348915, -0.008844004012644291, 0.01629015803337097, -0.007158189546316862, 0.017629485577344894, 0.0052924994379282, 0.010848951525986195, 0.039207473397254944, 0.004040626343339682, 0.01088794320821762, 0.005681860726326704, -0.020489560440182686, -0.003226578002795577, -0.0027337472420185804, -0.07118120789527893, 0.00012966756185051054, -0.050860412418842316, -0.03960433974862099, -0.03801415488123894, 0.03912339732050896, 0.00037027246435172856, -0.02985571324825287, -0.008848472498357296, 0.026173509657382965, -0.061978474259376526, -0.012865698896348476, -0.006064546760171652, -0.0029295270796865225, 0.055648624897003174, -0.005375283770263195, 0.020000644028186798, -0.012886895798146725, -0.013765174895524979, 0.013646244071424007, 0.017249010503292084, -0.05638262256979942, 0.012628907337784767, -0.0008369022398255765, -0.02448679506778717, -0.01730264537036419, -0.008492358960211277, 0.037403129041194916, 0.008923739194869995, -0.008007271215319633, -0.01077810488641262, 0.00742999417707324, 0.0010644039139151573, 0.05354680120944977, -0.006021103821694851, -0.004763261415064335, 0.016104260459542274, 0.0077154976315796375, -0.007653215900063515, -0.0305437333881855, -0.019166545942425728, 0.008657802827656269, 0.02789403684437275, -0.030308175832033157, -0.07542219758033752, 0.055929068475961685, 0.0191261675208807, 0.004767104517668486, 0.014092904515564442, -0.015645882114768028, -0.0053447941318154335, -0.013134161941707134, 0.03919919952750206, 0.026587817817926407, -0.06372709572315216, 0.015073411166667938, -0.011415394023060799, -0.0036662386264652014, 0.01498802937567234, -0.01151376310735941, -0.04737139120697975, -0.022977594286203384, -0.0204829853028059, -0.021660910919308662, -0.033642955124378204, -0.023490775376558304, -0.027948817238211632, 0.01599707454442978, -0.01995408535003662, -0.004325638525187969, -0.015500145964324474, -0.014453735202550888, -0.033751778304576874, -0.012960203923285007, -0.0005290480330586433, -0.028570495545864105, -0.0028206908609718084, 0.02283654175698757, -0.0481114387512207, 0.04208281636238098, -0.022137250751256943, 0.010682696476578712, 0.02870611660182476, -0.012397585436701775, -0.02062615565955639, -0.04181503877043724, -0.010587237775325775, 0.019378431141376495, 0.042238276451826096, 0.01609095372259617, 0.004224419593811035, -0.0586792416870594, -0.009777736850082874, -0.030547181144356728, 0.02338155172765255, -0.02523425780236721, -0.02300078794360161, 0.026424139738082886, 0.06240477412939072, 0.01653170958161354, 0.03243579342961311, 0.002350650727748871, 0.00303377746604383, 0.04460163414478302, -0.07066512107849121, -0.03196819871664047, -0.04632771015167236, -0.05865508317947388, 0.014037166722118855, 0.008312329649925232, 0.04389054700732231, -0.02720179595053196, 0.03576106205582619, -0.0123704569414258, 0.016605490818619728, 0.020153123885393143, -0.02056274563074112, 0.048351939767599106, -0.050298791378736496, 0.0261555053293705, -0.08588141947984695, -0.000392548565287143, 0.04794048145413399, -0.00008355446334462613, -0.027540192008018494, 0.004355829209089279, -0.04508380591869354, 0.056610699743032455, -0.05352545902132988, -0.018623538315296173, 0.045587293803691864, 0.009896384552121162, -0.04480965435504913, -0.007800101302564144, -0.06306612491607666, 0.041349902749061584, 0.019633334130048752, -0.047869034111499786, -0.005421883892267942, -0.017773527652025223, 0.05796286463737488, 0.0020221860613673925, 0.021934881806373596, -0.020769720897078514, -0.010353363119065762, 0.0800890177488327, 0.011180154047906399, -0.020729277282953262, 0.020068200305104256, -0.0017767378594726324, 0.05191625654697418, 0.02992403693497181, 0.012377126142382622, -0.0041173179633915424, 0.013593638315796852, -0.0012190707493573427, -0.06633377820253372, 0.02863398939371109, 0.0042168074287474155, -0.026210656389594078, -0.037996359169483185, 0.0630728155374527, 0.05478259176015854, -0.04426295682787895, -0.05638091638684273, 0.01863917149603367, -0.07173484563827515, -0.03263451159000397, -0.0053183953277766705, 0.014456992037594318, -0.03064030036330223, 0.04281838610768318, -0.0032778417225927114, 0.006137826479971409, 0.06568274646997452, 0.0008227802463807166, -0.02583928033709526, -0.029319947585463524, 0.08081989735364914, 0.07336428016424179, 0.04265633225440979, 0.010513195767998695, 0.06964723020792007, -0.009016239084303379, -0.050658438354730606, 0.010155213065445423, -0.008664638735353947, -0.0189109668135643, -0.03349286690354347, 0.005341431591659784, 0.05397030711174011, -0.004654526710510254, 0.07081517577171326, -0.01344368141144514, -0.013259201310575008, -0.0020040636882185936, 0.031051496043801308, 0.006253493018448353, 0.060746174305677414, 0.019549371674656868, 0.009721503593027592, -0.025670409202575684, -0.02911103144288063, 0.029934510588645935, -0.042246852070093155, -0.03147571161389351, 0.024660754948854446, -0.02614310197532177, 0.038464657962322235, 0.012469912879168987, 0.0366511307656765, 0.09646174311637878, -0.026475943624973297, 0.007972856052219868, -0.018036900088191032, 0.02995424158871174, 0.005112113896757364, -0.00376319233328104, -0.03277724236249924, -0.03196459636092186, -0.01569928601384163, -0.03890955075621605, -0.019962407648563385, -0.006503778044134378, -0.02119591273367405, 0.04030173271894455, -0.013834199868142605, 0.011803357861936092, 0.041553057730197906, 0.017409266903996468, -0.038472287356853485, -0.056827303022146225, -0.0627681240439415, -0.009057137183845043, -0.05189726874232292, -0.06862851977348328, 0.03995571285486221, -0.009849518537521362, -0.043007079511880875, -0.005054386332631111, -0.025823991745710373, -0.020603783428668976, 0.024976203218102455, -0.03726183995604515, -0.037494443356990814, 0.044167399406433105, 0.012994540855288506, 0.025133643299341202, 0.014752067625522614, 0.05331233888864517, -0.012928317300975323, -0.00032197599648498, -0.028898144140839577, 0.000056024877267191187, 0.03142465651035309, -0.008399986661970615, 0.032685134559869766, -0.07011525332927704, 0.005736673716455698, 0.012466263957321644, 0.007001031655818224, -0.05300145223736763, 0.030795171856880188, 0.008119635283946991, 0.0005515487282536924, 0.06796900182962418, -0.02825784496963024, 0.030234670266509056, -0.006323248613625765, -0.015944916754961014, 0.00907783955335617, 0.024353712797164917, 0.04340770095586777, 0.007480326574295759, 0.11397214233875275, -0.001608050661161542, -0.01906709372997284, -0.03982524573802948, 0.008724402636289597, -0.004035809077322483, -0.000045708111429121345, -0.026216814294457436, -0.05092701315879822, -0.042551908642053604, -0.07909184694290161, -0.020727507770061493, 0.004289205186069012, -0.007314315531402826, -0.022002292796969414, 0.006626011338084936, 0.006807240657508373, -0.04358166083693504, 0.016539733856916428, -0.059715837240219116, 0.028768159449100494, -0.021941984072327614, -0.015386124141514301, 0.00773165887221694, -0.00028338818810880184, -0.020096421241760254, -0.00621911371126771, 0.008744320832192898, -0.018929481506347656, -0.007629133760929108, 0.0050021205097436905, 0.03927553445100784, 0.013494355604052544, 0.010618481785058975, -0.02463381737470627 ]
[ -0.07519703358411789, -0.007370962295681238, -0.028335975483059883, -0.02806442603468895, 0.0199092049151659, -0.014842250384390354, -0.0317302942276001, 0.04288895055651665, -0.017868731170892715, -0.041696954518556595, -0.011597800068557262, -0.011349434964358807, -0.03287632018327713, -0.0030832034535706043, 0.08123241364955902, 0.004411046393215656, 0.007883190177381039, -0.05857057124376297, -0.009173468686640263, 0.021508190780878067, 0.010565536096692085, -0.024803530424833298, -0.03899736702442169, -0.05789061635732651, -0.0013832459226250648, 0.044650424271821976, 0.04439176619052887, -0.01640607789158821, 0.0021386458538472652, -0.17277954518795013, -0.009162233211100101, -0.023463184013962746, 0.07153376936912537, 0.0014956617960706353, -0.024347295984625816, 0.040805038064718246, 0.02278221771121025, 0.0136263994500041, -0.0018905526958405972, 0.005874945782124996, 0.029012469574809074, 0.01137680746614933, -0.06924773007631302, -0.009000481106340885, 0.02326732687652111, 0.012416580691933632, 0.023237349465489388, -0.054414086043834686, 0.011715399101376534, 0.013479387387633324, -0.07316609472036362, -0.020081231370568275, 0.02067020907998085, -0.04922715201973915, -0.008238819427788258, -0.008265185169875622, 0.03197616711258888, 0.06622223556041718, -0.002623002976179123, 0.02733190730214119, -0.003980894573032856, -0.03145638853311539, -0.13213959336280823, 0.08787725865840912, 0.0402551107108593, 0.0376819372177124, -0.050848253071308136, -0.03518262133002281, -0.001406374154612422, 0.0855383649468422, 0.019619576632976532, -0.0301095899194479, -0.04620751738548279, 0.04860939458012581, 0.005604998208582401, -0.0035524216946214437, -0.004385113716125488, 0.01514496374875307, 0.006535687018185854, -0.04819723218679428, -0.06858056038618088, -0.05661129206418991, -0.015794379636645317, -0.014710543677210808, -0.04409283772110939, 0.02704671397805214, -0.00751889543607831, 0.06417268514633179, 0.017096545547246933, 0.019358210265636444, 0.0299178808927536, -0.025515856221318245, 0.02043735235929489, 0.00645418418571353, -0.08745227009057999, -0.015860242769122124, -0.012361522763967514, 0.03229935094714165, -0.036784686148166656, 0.43808048963546753, -0.03012949787080288, -0.006906811613589525, 0.07838460057973862, 0.002967781387269497, -0.01651160418987274, 0.010493003763258457, 0.019863689318299294, -0.0283869206905365, 0.01192430779337883, -0.03583546727895737, 0.032227326184511185, 0.0064552403055131435, 0.0683286041021347, -0.017901187762618065, -0.010873314924538136, 0.03884069621562958, 0.02693113312125206, 0.01966097205877304, 0.030103793367743492, 0.009010818786919117, -0.006754667963832617, 0.003907591570168734, 0.013422281481325626, -0.0014529336476698518, 0.005320521537214518, -0.048123300075531006, 0.043604254722595215, 0.03973159193992615, 0.01640046387910843, 0.01900504156947136, 0.04916824400424957, -0.05728425830602646, -0.05012598633766174, 0.007580803241580725, -0.010585353709757328, 0.025332150980830193, 0.049698472023010254, 0.0007595578790642321, -0.013265120796859264, 0.041371963918209076, -0.0031950806733220816, -0.026021847501397133, 0.03697257116436958, -0.03319724649190903, -0.03685988113284111, 0.07894256711006165, 0.025420771911740303, -0.022429529577493668, 0.0007158319931477308, -0.0465099923312664, 0.0013356894487515092, 0.04162763059139252, -0.003900944720953703, -0.06881013512611389, 0.011794059537351131, 0.02682575210928917, 0.09690475463867188, -0.00516050448641181, -0.053445689380168915, -0.0004596496291924268, -0.017285974696278572, -0.027831459417939186, -0.05342553183436394, 0.02781752683222294, 0.08036836236715317, -0.11261826008558273, -0.026110487058758736, 0.020846227183938026, 0.022043421864509583, -0.07291366159915924, -0.023837346583604813, 0.035822343081235886, -0.04607589170336723, 0.0036378984805196524, 0.06187981739640236, -0.01695742830634117, -0.022011639550328255, 0.05854138731956482, 0.00033615980646573007, 0.008674336597323418, 0.015950297936797142, 0.0016068110708147287, -0.06541652977466583, -0.016815051436424255, -0.03575726971030235, -0.03737572208046913, -0.04921158403158188, 0.004450046923011541, -0.044623710215091705, 0.0016750459326431155, -0.015111606568098068, -0.018137188628315926, -0.0865866094827652, 0.08571796119213104, -0.0044466909021139145, -0.012248936109244823, -0.013055884279310703, -0.005187042523175478, -0.024147091433405876, -0.023646268993616104, -0.009417327120900154, 0.019443552941083908, -0.01721023954451084, 0.030906740576028824, -0.07566758990287781, 0.0344366617500782, 0.05642671883106232, -0.022762015461921692, 0.08711375296115875, 0.04707327112555504, -0.050651125609874725, -0.02598564699292183, 0.035389769822359085, 0.0201931931078434, -0.004894997924566269, -0.03534763678908348, -0.01879420131444931, 0.023075498640537262, 0.020786244422197342, 0.029249832034111023, -0.02851295657455921, -0.007398668210953474, -0.0027318678330630064, -0.33450543880462646, -0.05544690787792206, -0.035725247114896774, 0.03685694560408592, 0.022671863436698914, -0.053981341421604156, 0.03466706722974777, -0.024959076195955276, 0.007100556045770645, -0.005204618442803621, 0.08701936155557632, -0.025209816172719002, 0.021072370931506157, -0.08121641725301743, -0.005177089013159275, 0.027566755190491676, -0.027680713683366776, -0.03738559037446976, -0.03327568247914314, 0.03469036519527435, 0.010462614707648754, -0.0033448999747633934, -0.020679445937275887, -0.03864355757832527, 0.005461584776639938, -0.03244888037443161, 0.1059727594256401, -0.007144809700548649, 0.11355868726968765, -0.0757284164428711, 0.05251341313123703, -0.008827812038362026, 0.02430766634643078, -0.07561264932155609, -0.004762100987136364, -0.03372364491224289, 0.010960421524941921, -0.03617510199546814, 0.04614811763167381, -0.024127837270498276, -0.059302568435668945, 0.004498634021729231, -0.05791185796260834, -0.04615377262234688, -0.04257574677467346, -0.004391311667859554, -0.02257082611322403, -0.05487634241580963, -0.022867728024721146, 0.07632958889007568, 0.02905178628861904, -0.01576296053826809, 0.02537395805120468, 0.0038464281242340803, -0.012945190072059631, -0.031156035140156746, -0.05351245775818825, 0.002002724912017584, 0.01903165876865387, -0.019152099266648293, 0.021062523126602173, 0.05984601750969887, 0.022222192957997322, -0.06314592063426971, -0.0069901542738080025, 0.034451860934495926, 0.0038623707368969917, -0.005604569800198078, 0.04846269264817238, -0.03021600842475891, -0.04610346257686615, 0.08596296608448029, 0.008471260778605938, 0.029868686571717262, 0.009515523910522461, 0.05171036347746849, 0.009779022075235844, 0.035201847553253174, 0.043036483228206635, -0.013830121606588364, 0.009555523283779621, 0.0044027590192854404, 0.060405656695365906, -0.0017573145451024175, -0.004888304974883795, 0.06303349137306213, 0.012529319152235985, -0.056704774498939514, 0.042687006294727325, 0.007268429268151522, -0.013901355676352978, 0.017251480370759964, -0.017150644212961197, -0.07506811618804932, 0.08337229490280151, -0.0033201940823346376, -0.2410777062177658, -0.0014493274502456188, 0.018172645941376686, 0.06205398961901665, -0.014023857191205025, 0.016201084479689598, 0.048116493970155716, -0.0722702294588089, 0.00629819743335247, 0.008908120915293694, 0.01647168956696987, 0.03728616237640381, -0.0015980347525328398, -0.01090158335864544, 0.06669328361749649, 0.0050722635351121426, 0.016783734783530235, 0.03181540220975876, 0.03686492517590523, 0.009237811900675297, -0.007714474108070135, 0.01416019443422556, 0.16940514743328094, 0.010953386314213276, 0.050935059785842896, 0.053426966071128845, 0.001377912238240242, -0.010519151575863361, 0.09958899021148682, 0.02395576797425747, 0.0034166520927101374, -0.011263714171946049, 0.04847358167171478, -0.0045154825784265995, 0.025056984275579453, -0.08931481838226318, -0.05339335277676582, 0.030584493651986122, 0.00514361634850502, -0.0028205853886902332, 0.01517590694129467, 0.0241645947098732, -0.04300340637564659, -0.008346011862158775, 0.06499796360731125, 0.01141634862869978, 0.005110359285026789, -0.06261476129293442, -0.0385005846619606, -0.008978060446679592, -0.012206616811454296, -0.06805519014596939, -0.019995367154479027, -0.004204182419925928, 0.001433605095371604, 0.08445809781551361, 0.009562415070831776, -0.03119766153395176, -0.01651405356824398, 0.010644900612533092, -0.009216065518558025, -0.0006515498971566558, 0.11254752427339554, 0.030584905296564102, 0.04371054098010063 ]
[ -0.03013180010020733, 0.010249637067317963, 0.01497569214552641, 0.01592012494802475, -0.010555475018918514, -0.035357922315597534, 0.013170590624213219, 0.010259360074996948, -0.008639315143227577, -0.04043800011277199, 0.011758149601519108, 0.008622635155916214, 0.01835588738322258, -0.03593062609434128, 0.04616975039243698, -0.011444039642810822, 0.02093188837170601, 0.008478568866848946, 0.031060880050063133, 0.030617667362093925, -0.0007526486297138035, 0.03937770053744316, 0.014124968089163303, -0.006245804484933615, -0.0282843466848135, 0.02362549677491188, 0.013620208948850632, -0.014825190417468548, 0.023437706753611565, -0.13991008698940277, -0.026176340878009796, -0.014276479370892048, -0.024318533018231392, -0.009082643315196037, -0.03259962052106857, -0.01453408133238554, -0.003131959354504943, 0.017236463725566864, -0.021392425522208214, -0.03822161629796028, -0.005511227063834667, -0.0367804616689682, -0.00598079152405262, 0.016819296404719353, -0.027409752830863, -0.03483188897371292, -0.007012555841356516, -0.051397714763879776, -0.02064034715294838, -0.03418886661529541, -0.04960396885871887, -0.021355390548706055, 0.027983365580439568, -0.007064209319651127, -0.027170121669769287, -0.02758379839360714, 0.0007367544458247721, 0.0015687694540247321, 0.011150995269417763, 0.034435756504535675, -0.019765084609389305, -0.025752658024430275, -0.034734729677438736, -0.014151162467896938, -0.013078778050839901, 0.010245098732411861, -0.0011630852241069078, -0.025521865114569664, -0.023587150499224663, -0.0010433156276121736, -0.019747745245695114, 0.026033231988549232, -0.017401283606886864, -0.023737065494060516, -0.001970813376829028, -0.012405135668814182, -0.006845054216682911, 0.024609878659248352, 0.019647518172860146, -0.01006301213055849, -0.02128847874701023, -0.003677933244034648, 0.0010868738172575831, 0.05104006454348564, -0.005810776259750128, 0.0020127331372350454, 0.010987763293087482, 0.0231320858001709, -0.007535464130342007, 0.04114513471722603, -0.03857040777802467, 0.010166332125663757, -0.00020490145834628493, 0.03396330401301384, -0.09328430891036987, 0.017643535509705544, 0.015071835368871689, -0.009672249667346478, 0.0098099485039711, 0.8390105962753296, 0.004636083263903856, 0.037459395825862885, 0.0369710847735405, 0.008175347931683064, -0.04490124061703682, 0.0009149630786851048, -0.0027891015633940697, -0.004253289196640253, 0.05204745754599571, -0.06231776252388954, 0.03447558358311653, -0.0025214082561433315, 0.021276632323861122, 0.012011505663394928, -0.016738848760724068, -0.0113931093364954, 0.023409808054566383, 0.0032683666795492172, 0.03137364611029625, 0.0006884645554237068, -0.002591031603515148, 0.008596202358603477, 0.0022118552587926388, -0.01153624802827835, 0.032862789928913116, -0.17453674972057343, 0.021784452721476555, -7.93474776383971e-33, 0.061772190034389496, -0.04075384512543678, -0.025500917807221413, 0.02344599924981594, 0.027834149077534676, 0.033714741468429565, 0.045564644038677216, 0.046665437519550323, 0.0007555173942819238, -0.03901651129126549, -0.012777591124176979, 0.0014404800022020936, -0.002504231408238411, -0.031103109940886497, 0.026488561183214188, 0.014919653534889221, -0.030041035264730453, 0.024935083463788033, 0.014737625606358051, -0.007911453023552895, 0.058154985308647156, 0.02071020007133484, 0.012247875332832336, 0.007959569804370403, -0.011305038817226887, 0.05197438970208168, -0.01161209773272276, 0.033063437789678574, -0.007741271983832121, -0.027768095955252647, -0.013367372564971447, 0.00500580994412303, -0.04045283421874046, 0.02192440629005432, 0.016231421381235123, -0.018614018335938454, -0.053425099700689316, -0.014982625842094421, -0.04120688885450363, -0.01789618656039238, -0.04796044901013374, -0.01615077070891857, -0.04106586426496506, -0.04126006364822388, -0.04769531637430191, -0.022759443148970604, -0.025879180058836937, 0.010005057789385319, 0.003500494174659252, 0.04561009630560875, -0.01610759273171425, 0.009032552130520344, 0.030277786776423454, -0.015923239290714264, -0.05059328302741051, 0.029175300151109695, 0.007733533624559641, 0.021901976317167282, -0.004901492968201637, 0.037176862359046936, -0.00420421315357089, -0.0044138021767139435, -0.01362842321395874, 0.009159577079117298, -0.031168745830655098, -0.005551467649638653, 0.01194823533296585, 0.009050596505403519, -0.012875134125351906, -0.007880655117332935, 0.0020636178087443113, 0.008819503709673882, -0.035441651940345764, 0.01197386346757412, 0.00732502993196249, -0.01107150036841631, 0.013079189695417881, 0.0023281562607735395, 0.000008296239684568718, 0.03271929919719696, 0.03628157451748848, -0.009203239344060421, -0.0049205357208848, -0.04182632267475128, -0.0118272565305233, 0.0017342380015179515, 0.009406563825905323, -0.01556380745023489, -0.0023772360291332006, 0.03747222200036049, 0.00587116926908493, 0.0006536243017762899, -0.008771776221692562, 0.006380516570061445, -0.01474872324615717, 7.526100377087788e-33, -0.0028935493901371956, -0.004365820903331041, -0.00150773162022233, 0.008126127533614635, 0.02978384494781494, 0.005256040021777153, 0.03699921444058418, 0.019400721415877342, -0.040245454758405685, 0.03188681602478027, -0.014288941398262978, 0.014078550972044468, 0.0005880214739590883, 0.02523409016430378, 0.03139554709196091, -0.013886875472962856, -0.0006609915872104466, -0.05709810554981232, 0.013884879648685455, -0.003477976191788912, 0.023554284125566483, 0.03447767347097397, -0.0013322487939149141, 0.011825226247310638, 0.017270123586058617, 0.023099446669220924, -0.022229986265301704, 0.058703698217868805, -0.01997869834303856, 0.02770865708589554, 0.010232266038656235, -0.007992753759026527, 0.031476765871047974, -0.011712918989360332, 0.002442743629217148, 0.027499079704284668, -0.003673103405162692, 0.0001676816464168951, 0.03240448608994484, 0.014819190837442875, 0.024421829730272293, -0.026259450241923332, 0.030821053311228752, 0.047046102583408356, 0.03292904049158096, 0.008041753433644772, 0.0026007273700088263, -0.022404739633202553, 0.0028036492876708508, 0.029493601992726326, 0.010138864628970623, 0.019344357773661613, 0.005409600213170052, 0.011597181670367718, -0.008440571837127209, -0.019328448921442032, -0.02083129808306694, 0.010015306994318962, -0.023143621161580086, 0.00638309633359313, -0.013663955964148045, -0.01996133290231228, -0.023664066568017006, 0.05317380279302597, -0.030916554853320122, -0.024088416248559952, -0.03513104468584061, -0.011669833213090897, -0.009694797918200493, -0.016169585287570953, -0.02378220483660698, -0.011990628205239773, -0.013187048956751823, 0.03290966525673866, 0.027853598818182945, -0.05175618454813957, -0.0044072768650949, 0.02112582139670849, -0.010118008591234684, -0.0024293214082717896, 0.03437080606818199, 0.008956579491496086, 0.03209611028432846, -0.00701109878718853, -0.008320598863065243, 0.012238509953022003, -0.012011909857392311, 0.023415280506014824, 0.0092774024233222, -0.0016986059490591288, -0.01781429909169674, 0.04604991525411606, -0.029177209362387657, 0.021008919924497604, 0.003449602983891964, -1.3151164601765686e-8, -0.028039317578077316, -0.023005042225122452, 0.00019932090071961284, 0.03187836706638336, 0.021849898621439934, 0.007538275793194771, -0.00009651311120251194, -0.01185561716556549, -0.071915403008461, 0.008070206269621849, 0.06877049058675766, -0.03041543997824192, -0.011196265928447247, 0.033776283264160156, 0.005374382250010967, -0.0382344052195549, -0.02484617568552494, 0.00741218589246273, 0.010317238979041576, -0.00048397324280813336, 0.047618407756090164, 0.006381060928106308, 0.036389321088790894, 0.02945822663605213, 0.043070245534181595, -0.016117580235004425, -0.0035476337652653456, -0.07115717232227325, -0.018960658460855484, -0.02247919701039791, -0.044834282249212265, -0.025098741054534912, -0.028472235426306725, -0.005544278770685196, -0.015368185006082058, -0.01709384098649025, -0.012731468304991722, 0.011213528923690319, 0.0009504561312496662, 0.005309948697686195, -0.026950858533382416, 0.03679109364748001, -0.019462591037154198, -0.01967671886086464, -0.0036774526815861464, 0.02869316376745701, -0.06900201737880707, 0.004263449925929308, 0.024525193497538567, -0.013137834146618843, -0.009955800138413906, -0.010782714001834393, 0.021726377308368683, 0.04728114232420921, 0.003656612243503332, -0.013892462477087975, 0.034150607883930206, 0.00803949311375618, -0.0407499261200428, 0.005563123617321253, 0.031109564006328583, 0.04818780720233917, 0.004472718108445406, -0.026765719056129456 ]
coding-dojo-6-web-driver
https://markhneedham.com/blog/2009/01/15/coding-dojo-6-web-driver
false
2009-01-12 22:22:43
F#: Partial Function Application with the Function Composition Operator
[ "net", "f", "currying", "functional-programming" ]
[ ".NET", "fsharp" ]
In my continued reading of F# one of the ideas I've come across recently is that of partial function application. This is a way of allowing us to combine different functions together and allows some quite powerful syntax to be written. The term 'currying' is perhaps a better known term for describing this although as I understand they are not exactly the same. http://en.wikipedia.org/wiki/Currying[Currying] is where we return a function that has been partially applied, in such a way that we can chain together a group of functions with a single argument. I first came across this idea with the http://www.markhneedham.com/blog/2009/01/06/f-forward-operator/[forward piping operator] when reading about Matthew Podwysocki's http://www.codeplex.com/FsTest[FsTest] project but there is an even cleaner way of chaining functions together using http://blogs.msdn.com/chrsmith/archive/2008/06/14/function-composition.aspx[Function Composition]. The function composition operator (>>) is defined thus: [source,text] ---- > (>>);; val it : (('a -> 'b) -> ('b -> 'c) -> 'a -> 'c) ---- We take in two functions ('a \-> 'b and 'b \-> 'c) and one value ('a). We evaluate the first function ('a \-> 'b) with the argument 'a and then pass the result to the second function ('b \-> 'c). The way I understand this: * The first function takes in 'a (which is the 3rd argument passed to >>) and returns 'b * The second function takes in 'b (which is the return value of the first function) and returns 'c (which is the return value of >>) Chris Smith perhaps best explains this as follows: [source,text] ---- > let inline (>>) f g x = g(f x) val inline ( >> ) : ('a -> 'b) -> ('b -> 'c) -> 'a -> 'c ---- Given two functions (f, g) and a value x compute the result of f(x) and pass the result to g. From my reading so far this operator makes it even easier to write code in a http://en.wikipedia.org/wiki/Declarative_programming[declarative] way (although I suppose the functional programming approach does encourage that in the first place). [cols=2*] |=== | We can achieve a lot of this nice declarative style by using the forward piping operator ( | >) but the function composition operator takes it one step further: |=== Say we want to take a list of numbers, square all of them and then only show the negative ones: [source,text] ---- let findOddSquares = List.map (fun x-> x*x) >> List.filter (fun x -> x%2 <> 0);; ---- If we did this using the forward piping operator it would read like this i.e. we need to explicitly define the list: [source,text] ---- let findOddSquares list = list |> List.map (fun x-> x*x) |> List.filter (fun x -> x%2 <> 0);; ---- It's not that much more verbose but there's less code for doing the same thing if we use the function composition operator. I still think the forward piping operator works nicely when we just want to switch the order of the function and the data though: [source,text] ---- > [1..10] |> findOddSquares val it : int list = [1; 9; 25; 49; 81] ---- As with all my F# posts, I'm still learning so please point out if I have anything wrong. Chris Smith has http://blogs.msdn.com/chrsmith/archive/2008/06/14/function-composition.aspx[a closer to real life example] of how to use partial function application that probably shows the benefits more than I have here. * Update * As pointed out in the comments I'm actually finding the odd squares not the negative ones as I originally posted.
null
null
[ -0.006630064453929663, 0.0010686559835448861, 0.0015443710144609213, 0.026031244546175003, 0.06979092210531235, 0.03166444972157478, 0.01838437281548977, 0.007336528040468693, 0.017365576699376106, -0.014264543540775776, -0.0046243974938988686, -0.005973595194518566, -0.05752912163734436, -0.0007058376795612276, -0.0009842332219704986, 0.07453666627407074, 0.08430483192205429, -0.03915908560156822, 0.02347029745578766, -0.017720121890306473, 0.010446617379784584, 0.09734313189983368, 0.0007036458700895309, 0.022492218762636185, 0.020520538091659546, 0.008921632543206215, 0.022982893511652946, 0.012414064258337021, -0.046703238040208817, -0.020025156438350677, 0.06312458217144012, 0.0495125837624073, -0.019671082496643066, -0.026298759505152702, -0.004226610064506531, -0.03358010575175285, 0.025445222854614258, 0.010941112414002419, 0.012193342670798302, 0.04123394936323166, -0.06794467568397522, 0.00007069102866807953, -0.013916676864027977, -0.0006551430560648441, -0.06676515936851501, -0.0003145633381791413, -0.04692602530121803, -0.01979466900229454, -0.026946434751152992, -0.0034345167223364115, -0.05393579229712486, 0.014796707779169083, -0.01742631569504738, -0.0167851522564888, -0.011613762937486172, 0.06115509942173958, -0.01615823432803154, -0.07280344516038895, 0.027174904942512512, -0.05526216700673103, 0.021534694358706474, -0.006361974868923426, 0.0011651893146336079, 0.044714685529470444, 0.047877147793769836, 0.0008587962365709245, -0.01852085255086422, 0.030661197379231453, -0.032364532351493835, -0.024726182222366333, -0.013541975989937782, -0.0039323484525084496, -0.02516169846057892, -0.002690253546461463, -0.014423525892198086, -0.03556842356920242, 0.000013492311154550407, 0.060270264744758606, 0.0033841209951788187, 0.022714339196681976, -0.00244587822817266, 0.023563770577311516, 0.030957700684666634, 0.0237775556743145, 0.009431064128875732, -0.018215792253613472, -0.018927045166492462, 0.015802523121237755, -0.03751923143863678, 0.0748160108923912, 0.021913161501288414, -0.07269436120986938, 0.009525774978101254, 0.009543074294924736, 0.007791055832058191, 0.01932438276708126, 0.023056326434016228, -0.021942468360066414, 0.028387194499373436, -0.013428100384771824, -0.033811893314123154, -0.02848295494914055, 0.007713197264820337, -0.017736226320266724, -0.07879919558763504, -0.001978894229978323, -0.03839220479130745, -0.008189908228814602, 0.006798074580729008, 0.014361677691340446, -0.033273905515670776, 0.024908844381570816, 0.009596073068678379, 0.012654274702072144, -0.09317991882562637, 0.05441673472523689, -0.007207011803984642, -0.034638918936252594, -0.026941275224089622, 0.0012151111150160432, 0.051678113639354706, 0.044592417776584625, -0.004703359212726355, 0.07160252332687378, 0.037645962089300156, 0.04621625691652298, 0.003914166241884232, 0.08153583854436874, 0.00019775633700191975, -0.05365614593029022, -0.03607514873147011, 0.05557912588119507, -0.04404567927122116, 0.0034075623843818903, -0.02798493392765522, -0.02981984242796898, -0.03207743912935257, 0.013517445884644985, 0.04184418171644211, 0.05032229423522949, 0.0006337501690723002, -0.0528520867228508, 0.032612934708595276, -0.029193691909313202, 0.018950102850794792, -0.013603758066892624, 0.011961424723267555, 0.008272617124021053, -0.0012905382318422198, 0.010076899081468582, 0.031087815761566162, 0.0434408001601696, 0.05522056296467781, -0.023532433435320854, 0.011417158879339695, 0.045337870717048645, 0.03607900068163872, 0.0032500687520951033, 0.001192842610180378, 0.010220021940767765, 0.05168813467025757, 0.01752723567187786, 0.0025583805982023478, 0.03520580008625984, 0.01638253778219223, 0.003995392471551895, 0.008081039413809776, 0.06591418385505676, -0.016797441989183426, -0.0158035010099411, -0.05978766083717346, -0.026455609127879143, 0.05887051299214363, -0.00691997492685914, -0.018680181354284286, 0.0034953204449266195, 0.09091341495513916, 0.0024712304584681988, 0.05713842809200287, 0.004724997095763683, -0.06281685084104538, 0.024176502600312233, 0.004778600763529539, 0.013024468906223774, -0.0027188993990421295, 0.015262310393154621, 0.06672857701778412, 0.00868627242743969, -0.01218701433390379, 0.038403574377298355, -0.04658208042383194, -0.07453599572181702, -0.04003190994262695, -0.02142658457159996, 0.07056489586830139, -0.02339884079992771, -0.027624301612377167, 0.037003692239522934, 0.041907526552677155, 0.027557970955967903, 0.027094420045614243, -0.019261522218585014, 0.013629465363919735, 0.013055545277893543, -0.03264707699418068, 0.07011938095092773, 0.033653825521469116, -0.0009448033524677157, -0.0530848354101181, 0.007575307507067919, 0.010188691318035126, -0.002672557020559907, 0.029732169583439827, -0.01180131733417511, 0.05705299973487854, 0.03656858950853348, 0.02167525328695774, -0.03572770580649376, 0.040529005229473114, -0.05526227131485939, 0.01103738509118557, -0.003096797037869692, 0.010624471120536327, 0.005623023025691509, 0.0240071639418602, 0.11155188828706741, 0.07591132074594498, -0.05644930154085159, -0.044958487153053284, 0.022318461909890175, -0.006741825956851244, -0.033076394349336624, 0.022073831409215927, -0.008465347811579704, -0.00027128413785248995, 0.002485147211700678, 0.005823767278343439, 0.025492416694760323, 0.004834525752812624, -0.031736914068460464, -0.007613393943756819, 0.08179160952568054, -0.030196620151400566, 0.03745648264884949, -0.020446302369236946, -0.0293181911110878, 0.0064452956430613995, -0.02601088210940361, -0.02851078100502491, -0.0020867313724011183, 0.03761488199234009, -0.009775305166840553, 0.042047083377838135, -0.03634578734636307, -0.028612272813916206, -0.012169352732598782, -0.021101227030158043, 0.01035278756171465, 0.03997863829135895, 0.057783059775829315, -0.023780757561326027, 0.04798637703061104, 0.00349715119227767, -0.013250445947051048, -0.029758507385849953, -0.04972334951162338, -0.03359413146972656, 0.00045619436423294246, 0.016639908775687218, 0.02975451387465, 0.006941219791769981, 0.015867821872234344, -0.006516025867313147, 0.020383061841130257, -0.03748626261949539, -0.023118237033486366, 0.0002606443886179477, -0.015028592199087143, -0.07183751463890076, -0.047628965228796005, -0.04886624962091446, 0.0728156641125679, -0.01301412284374237, -0.02461228519678116, -0.008031693287193775, -0.05233877897262573, 0.04517904669046402, -0.10352923721075058, -0.014667303301393986, -0.011994735337793827, 0.044293325394392014, 0.030597256496548653, -0.023603441193699837, 0.007350421976298094, 0.057993121445178986, 0.009489906020462513, 0.025557056069374084, 0.0234249085187912, -0.008360643871128559, 0.044477447867393494, -0.024333158507943153, 0.001839086995460093, 0.06689036637544632, 0.02214314043521881, 0.007642680313438177, -0.0348476842045784, 0.002314008306711912, 0.011636189185082912, -0.24720442295074463, 0.011086590588092804, 0.012223293073475361, -0.014123707078397274, 0.019160686060786247, -0.009320255368947983, -0.000987259205430746, -0.051861681044101715, -0.010721198283135891, 0.013162973336875439, -0.02642326056957245, -0.03473798558115959, -0.04232725501060486, 0.03305673226714134, 0.009965429082512856, -0.010244683362543583, -0.028731493279337883, -0.04507791996002197, -0.002032943768426776, 0.06238226220011711, 0.006056822836399078, -0.07330834120512009, -0.0028651952743530273, 0.04043613746762276, 0.04250077158212662, -0.006445338483899832, -0.08290137350559235, 0.047389328479766846, -0.05554262921214104, -0.010518331080675125, -0.050334688276052475, 0.01101943664252758, 0.009223094210028648, -0.03468973562121391, -0.017614660784602165, -0.027800967916846275, 0.020758138969540596, -0.01590968295931816, 0.001253180205821991, 0.03236443176865578, 0.00006723522528773174, -0.0451609343290329, -0.0005323188961483538, -0.010019063949584961, 0.07728816568851471, -0.012112974189221859, -0.08507898449897766, 0.01171264611184597, -0.06209515035152435, 0.0682511180639267, -0.03370239585638046, -0.043110307306051254, -0.018400635570287704, 0.05168763920664787, -0.00974279548972845, -0.03962108865380287, -0.01211316417902708, -0.049694307148456573, -0.013399344868957996, -0.031221015378832817, -0.039746273308992386, -0.04956118389964104, -0.012837383896112442, -0.030753791332244873, -0.005342742428183556, -0.05996045470237732, -0.08108123391866684, -0.013190541416406631, 0.059131067246198654, 0.019165588542819023, -0.02861478552222252, -0.027765315026044846, -0.005861995741724968, -0.12532518804073334, -0.05430067703127861, -0.03126230463385582, -0.022653957828879356, -0.013965648598968983, 0.030306285247206688, 0.05745033174753189, -0.030628783628344536, -0.07011355459690094, 0.02320851758122444, 0.0040598176419734955, 0.05507494509220123, -0.003577967407181859, -0.010611464269459248, -0.0028218296356499195, -0.015177115797996521, -0.01459956169128418, 0.09514851123094559, 0.019189953804016113, -0.01640613004565239, -0.025377346202731133, 0.01913565956056118, 0.029444195330142975, 0.011841615661978722, 0.003975445870310068, 0.0056733679957687855, 0.00449236249551177, 0.03733853995800018, -0.06586906313896179, 0.012655505910515785, -0.023792216554284096, -0.04512312263250351, 0.0026606868486851454, -0.06013042852282524, 0.011457053013145924, 0.03123779036104679, 0.011954654939472675, -0.04262147843837738, -0.03362833335995674, 0.024464497342705727, -0.042882371693849564, -0.03563597425818443, -0.012084027752280235, -0.01361759938299656, 0.0021834326907992363, 0.020569512620568275, 0.012986513786017895, -0.06231554225087166, 0.008679755963385105, 0.012722277082502842, -0.014924447983503342, -0.07991429418325424, -0.042484745383262634, -0.01668592169880867, -0.03469783440232277, 0.01870676316320896, 0.027954110875725746, -0.014206508174538612, 0.0287643950432539, -0.014702350832521915, -0.026827502995729446, 0.026576640084385872, -0.005006732419133186, -0.002134170150384307, -0.032735999673604965, -0.0416250042617321, -0.027669621631503105, 0.017288746312260628, -0.004835519939661026, 0.03914802521467209, 0.024574339389801025, 0.01413822453469038, 0.023814251646399498, 0.013413049280643463, 0.013347459957003593, -0.020235054194927216, 0.05934220552444458, 0.007522019557654858, -0.030332984402775764, 0.014222285710275173, -0.029021840542554855, -0.0016436285804957151, 0.010861124843358994, 0.028386974707245827, 0.0015145416837185621, -0.06893792003393173, -0.041460588574409485, 0.025232277810573578, -0.016420822590589523, -0.007764367386698723, -0.05598682537674904, 0.026654604822397232, 0.06602609902620316, -0.047247424721717834, 0.04652731120586395, -0.03601473569869995, -0.006917805410921574, 0.02329394966363907, 0.022171109914779663, -0.02164866402745247, 0.006250046659260988, -0.014662451110780239, 0.007021911442279816, -0.026542389765381813, 0.00605290150269866, 0.026953497901558876, 0.0030448194593191147, -0.01493033580482006, -0.015605042688548565, 0.003332263557240367, 0.04112667590379715, 0.054038338363170624, 0.011995005421340466, 0.01778627559542656, -0.00744214141741395, -0.02784593217074871, 0.016131384298205376, -0.02114422246813774, 0.012607843615114689, -0.04023534432053566, 0.02765553444623947, -0.032622892409563065, -0.06576905399560928, 0.0048048123717308044, 0.04702603444457054, -0.001883876509964466, -0.01892281509935856, 0.017912723124027252, 0.013588101603090763, -0.0010698670521378517, 0.014502070844173431, 0.06530921161174774, -0.03878975287079811, 0.0236002616584301, -0.005810093600302935, 0.0028442370239645243, 0.03170923516154289, 0.023454617708921432, -0.04097873717546463, -0.01583511009812355, -0.015032636001706123, -0.010123021900653839, -0.00990373082458973, -0.0032737033907324076, 0.01061245333403349, 0.0047707511112093925, 0.01222850102931261, -0.009857513010501862, -0.03039006143808365, 0.013316288590431213, -0.011699901893734932, -0.034922488033771515, 0.011936976574361324, -0.0397382453083992, 0.002675570547580719, 0.027784038335084915, -0.03759344667196274, 0.02143421769142151, -0.007506613153964281, 0.013424213975667953, 0.0291964802891016, 0.003006007755175233, -0.012038188055157661, -0.06506361812353134, -0.018966201692819595, -0.048132020980119705, 0.024224918335676193, -0.016072381287813187, -0.031929437071084976, -0.026911258697509766, -0.0016581200761720538, -0.06474705785512924, -0.01879088580608368, 0.007751795928925276, -0.044251732528209686, 0.017815368250012398, 0.04457608982920647, -0.02436516247689724, 0.05347399041056633, 0.010939705185592175, 0.010073973797261715, 0.04553993418812752, -0.05962705984711647, -0.016347208991646767, -0.008962642401456833, -0.0425538495182991, -0.0010606474243104458, -0.022079193964600563, 0.014890781603753567, -0.04099498316645622, 0.016975361853837967, 0.061587221920490265, 0.013480857945978642, 0.049313660711050034, 0.004089983645826578, 0.04217224568128586, -0.006425417494028807, 0.005056075751781464, -0.07490548491477966, 0.01066416222602129, 0.02214699052274227, 0.02597014792263508, -0.0168401338160038, -0.008463532663881779, -0.03431551530957222, 0.036398131400346756, -0.03980208560824394, 0.011533991433680058, 0.03430301696062088, -0.011288803070783615, -0.003927841316908598, 0.016206985339522362, -0.07438482344150543, 0.0377831794321537, 0.010701754130423069, -0.025217929854989052, -0.023136669769883156, -0.011316400952637196, 0.046042028814554214, 0.013943818397819996, 0.03298123553395271, -0.010269328020513058, -0.006055355072021484, 0.033388879150152206, 0.03662554919719696, -0.004491553641855717, 0.06725110858678818, -0.01916895993053913, 0.02107694186270237, 0.016019858419895172, 0.026707563549280167, 0.01165911927819252, 0.01308454666286707, -0.020238643512129784, -0.0729917660355568, 0.025253886356949806, -0.00038108971784822643, -0.02951297163963318, -0.047324296087026596, 0.039801470935344696, -0.009157531894743443, -0.012998932041227818, -0.06719352304935455, 0.009459647350013256, -0.05705612525343895, 0.0006456502014771104, -0.011737274937331676, 0.022785453125834465, -0.015403499826788902, 0.0812276154756546, -0.0013458700850605965, -0.0320093035697937, 0.06809757649898529, 0.0005718867760151625, -0.03236990422010422, -0.006568303797394037, 0.10612800717353821, 0.0639100894331932, 0.05847540497779846, -0.021545276045799255, 0.053907278925180435, -0.026652825996279716, -0.053237009793519974, 0.023912452161312103, -0.010664538480341434, 0.026271527633070946, -0.013681908138096333, 0.0410957932472229, 0.08861835300922394, -0.02107093296945095, 0.0754590556025505, -0.034623321145772934, -0.005265263840556145, -0.0017340878257527947, -0.012678980827331543, 0.022660618647933006, 0.09584878385066986, 0.02370375394821167, 0.023006929084658623, 0.02008155733346939, -0.060292258858680725, 0.02275080978870392, -0.06052003800868988, -0.02356776036322117, -0.0116617726162076, 0.012844604440033436, 0.027944093570113182, 0.032861124724149704, 0.02643645368516445, 0.061362262815237045, -0.032381776720285416, 0.0052259559743106365, 0.018892869353294373, 0.010031230747699738, 0.0056376028805971146, -0.019540291279554367, -0.01619509980082512, -0.025657489895820618, -0.003334106644615531, 0.014616776257753372, -0.040044791996479034, -0.006312163546681404, -0.02436641976237297, 0.04020173102617264, -0.03774898499250412, 0.0016742261359468102, 0.013074313290417194, -0.029197871685028076, -0.021847568452358246, -0.0628422424197197, -0.04509798064827919, -0.040687259286642075, -0.061219751834869385, -0.03837648034095764, 0.01810566335916519, -0.034409768879413605, -0.0608544684946537, -0.020228486508131027, 0.014911784790456295, -0.027779504656791687, 0.045413147658109665, -0.032991040498018265, -0.023217609152197838, 0.022538654506206512, 0.006375148892402649, 0.061627551913261414, 0.021977728232741356, 0.035269420593976974, -0.017481321468949318, -0.0017393740126863122, -0.04600755125284195, -0.028598474338650703, 0.033347200602293015, 0.005907471291720867, 0.018845895305275917, -0.07034873962402344, 0.015074847266077995, 0.02339417301118374, 0.012055049650371075, -0.08796010911464691, 0.018684538081288338, -0.001767984009347856, -0.03469046205282211, 0.02544993907213211, -0.05129654332995415, 0.010584970936179161, -0.035368453711271286, -0.015845146030187607, 0.01685045100748539, 0.035868559032678604, 0.042545802891254425, -0.03173786774277687, 0.07400422543287277, 0.0010490071726962924, 0.015754569321870804, -0.002431057393550873, 0.0026417330373078585, -0.05963120982050896, 0.02514835074543953, -0.02821594476699829, -0.021267622709274292, -0.006786085199564695, -0.05067623034119606, -0.02489306591451168, 0.006130236200988293, -0.04552841931581497, -0.03526197746396065, 0.03145007789134979, 0.04045506939291954, -0.03128679469227791, 0.09322831779718399, -0.033674705773591995, 0.012540201656520367, -0.003934341948479414, -0.0021591028198599815, 0.04071379825472832, 0.040954917669296265, 0.0353841632604599, 0.026601877063512802, 0.0357537642121315, -0.04271969199180603, -0.02853894606232643, 0.013736143708229065, 0.015303446911275387, 0.03672279790043831, -0.009713215753436089, 0.036240607500076294 ]
[ -0.10231803357601166, -0.019337238743901253, -0.043973665684461594, -0.02313343994319439, -0.0037418531719595194, -0.022569555789232254, 0.01976243406534195, 0.02296733297407627, 0.024765029549598694, -0.030097421258687973, -0.038665950298309326, -0.04678666219115257, 0.02364417165517807, 0.00714113051071763, 0.0944429561495781, -0.035196591168642044, -0.028226926922798157, -0.03499925136566162, -0.033245254307985306, -0.041712258011102676, -0.008589988574385643, -0.01079587358981371, -0.08392024040222168, -0.049860551953315735, 0.037639085203409195, 0.02813313715159893, 0.037630073726177216, -0.04103431478142738, 0.01579875685274601, -0.20842823386192322, 0.0025793034583330154, 0.006318965926766396, 0.010136846452951431, -0.04230155795812607, -0.037262409925460815, 0.0433531291782856, 0.02838337980210781, 0.021481482312083244, 0.007544360589236021, 0.06338128447532654, 0.0007444971124641597, 0.0060592335648834705, -0.013326347805559635, 0.016360828652977943, 0.022955402731895447, 0.013039025478065014, -0.0647779032588005, -0.032641395926475525, -0.03555665910243988, 0.015105326659977436, -0.03326725214719772, 0.016367318108677864, -0.00598464161157608, -0.019477475434541702, 0.01797870546579361, 0.023654432967305183, 0.055554796010255814, 0.08884183317422867, 0.028896471485495567, 0.054438043385744095, 0.007539606187492609, -0.018035227432847023, -0.11276856809854507, 0.08918053656816483, 0.02469179779291153, 0.03814341127872467, 0.009957143105566502, -0.04414670914411545, -0.0026797412429004908, 0.14112354815006256, 0.004471672233194113, 0.009727044962346554, -0.03281080350279808, 0.052406903356313705, 0.016139771789312363, -0.03901689872145653, -0.013588497415184975, 0.028124786913394928, 0.009311947971582413, -0.024043364450335503, -0.007641011383384466, -0.013619430363178253, -0.0229096207767725, -0.004797321744263172, -0.035660404711961746, 0.030214445665478706, -0.024854762479662895, 0.02148936130106449, 0.039991382509469986, 0.018118709325790405, 0.023767122998833656, -0.008643253706395626, 0.03020571917295456, 0.019742058590054512, -0.05122232064604759, 0.008765490725636482, 0.0010213463101536036, -0.025642458349466324, -0.024319332093000412, 0.38689985871315, -0.0427870899438858, -0.0039700716733932495, 0.0815897136926651, 0.001967207295820117, -0.02826252579689026, 0.004853509366512299, -0.006548050791025162, -0.03126196935772896, -0.017421655356884003, -0.05174225568771362, -0.04507116228342056, -0.0016632417682558298, 0.08112725615501404, -0.07187576591968536, -0.011310389265418053, 0.0056153940968215466, 0.02959352545440197, 0.007580734323710203, 0.02205994725227356, 0.019812269136309624, 0.007322425022721291, 0.01912299357354641, 0.01615472137928009, 0.03976352885365486, -0.010614973492920399, -0.002102562226355076, 0.009499745443463326, 0.05393679440021515, 0.0528578944504261, 0.01919546164572239, 0.06395428627729416, -0.042043112218379974, -0.05143226310610771, -0.01611856371164322, -0.004853674676269293, 0.02999175526201725, 0.036779314279556274, -0.03370017558336258, 0.03460737690329552, 0.03551267087459564, 0.00008979294943856075, -0.012819239869713783, 0.029703106731176376, -0.030294835567474365, -0.027668938040733337, 0.12693895399570465, -0.023674771189689636, -0.05153825879096985, -0.02821882627904415, -0.0005742558860220015, 0.0020770328119397163, 0.031063253059983253, -0.021176110953092575, -0.06946665048599243, 0.02976858988404274, 0.027880173176527023, 0.043962325900793076, -0.01658402942121029, -0.043760113418102264, -0.008308379910886288, -0.10978024452924728, -0.012878299690783024, -0.04560741409659386, 0.06489789485931396, 0.0218943003565073, -0.1120305210351944, -0.03575689345598221, 0.033195290714502335, 0.002227090299129486, -0.10157018154859543, 0.01604142226278782, 0.01790415495634079, -0.05189597234129906, -0.04366392642259598, 0.04210667684674263, -0.001574070891365409, -0.03798713907599449, -0.007905886508524418, 0.044589072465896606, 0.03904452547430992, 0.04859767109155655, 0.01046120747923851, -0.04857611656188965, 0.0019926053937524557, -0.010969879105687141, -0.08592159301042557, -0.06351634114980698, -0.01576179638504982, -0.039509695023298264, 0.019125839695334435, -0.020540546625852585, -0.01403068844228983, -0.06030614301562309, 0.03780466318130493, -0.05367045849561691, -0.038722869008779526, 0.016916075721383095, -0.0074245217256248, -0.026253990828990936, 0.007215235847979784, -0.028001971542835236, 0.043800726532936096, -0.010706108994781971, 0.020371271297335625, -0.046515826135873795, 0.02051975391805172, 0.05910467356443405, -0.03294502943754196, 0.019444134086370468, 0.05307283252477646, -0.029269538819789886, -0.008007032796740532, -0.021391484886407852, 0.042643699795007706, 0.0030996003188192844, -0.020009823143482208, 0.006239041220396757, 0.028085879981517792, -0.008652430959045887, 0.007496899459511042, -0.014809072017669678, -0.05021263286471367, -0.004350029397755861, -0.35934504866600037, -0.048115842044353485, -0.0022147002164274454, -0.03481311723589897, 0.05116286501288414, -0.06519944965839386, -0.025217346847057343, 0.00023524012067355216, -0.03931739181280136, 0.026695838198065758, 0.06100471317768097, 0.03818637132644653, -0.012700451537966728, -0.08641514182090759, 0.013036906719207764, 0.023246370255947113, -0.008132819086313248, -0.0615980364382267, -0.03263326734304428, 0.028305916115641594, -0.004118488635867834, 0.026657676324248314, -0.01770677976310253, -0.05184299126267433, 0.05852953717112541, -0.012150873430073261, 0.08775166422128677, -0.017682915553450584, 0.11828570067882538, -0.03278577700257301, 0.04751016944646835, -0.0002394846815150231, 0.005559053272008896, -0.008803547360002995, -0.010599717497825623, -0.048062197864055634, 0.026141896843910217, -0.013527456670999527, 0.04178764671087265, -0.017938731238245964, -0.019444473087787628, -0.0020754733122885227, -0.05307842418551445, -0.025760231539607048, 0.0051583400927484035, 0.013443580828607082, -0.016853945329785347, -0.07833836227655411, -0.003138693980872631, 0.07315786927938461, 0.01753254234790802, 0.010087667033076286, 0.006658593658357859, 0.037182074040174484, 0.006669665686786175, -0.004848006647080183, -0.05732114613056183, -0.01484857127070427, -0.02271714061498642, -0.004256047308444977, 0.036234259605407715, 0.025708245113492012, 0.037723734974861145, -0.005873334594070911, 0.0041673495434224606, 0.00898635946214199, 0.020561447367072105, 0.0016470655100420117, 0.044071536511182785, -0.012128493748605251, -0.04829952493309975, 0.0694260224699974, -0.02940204180777073, 0.015646496787667274, 0.02705838903784752, 0.038697756826877594, 0.009049711748957634, 0.025406548753380775, 0.024543216452002525, 0.022638369351625443, 0.04802161827683449, -0.006024137604981661, 0.0034791252110153437, -0.03209053352475166, -0.035073745995759964, -0.020674407482147217, -0.0177654679864645, -0.0033514872193336487, 0.01768847554922104, -0.012573287822306156, -0.052623674273490906, -0.004912798758596182, -0.002717124531045556, -0.0050700693391263485, 0.05640101805329323, -0.007344455923885107, -0.26348838210105896, 0.010819156654179096, 0.09829916059970856, 0.056804753839969635, -0.027974359691143036, 0.030737830325961113, 0.0521392822265625, -0.08378620445728302, -0.04965529218316078, 0.01275978609919548, 0.013830258511006832, 0.042391251772642136, 0.05285947397351265, -0.0022054060827940702, 0.04709009826183319, -0.027810808271169662, 0.06315100193023682, 0.015724167227745056, -0.005687731318175793, 0.003313505556434393, 0.04331030696630478, 0.008319812826812267, 0.19072653353214264, -0.0437641367316246, 0.041659604758024216, 0.0069771115668118, -0.008930198848247528, -0.010426947847008705, 0.061413295567035675, -0.015773126855492592, 0.027461426332592964, 0.010502533055841923, 0.06637830287218094, -0.01748676784336567, 0.030038507655262947, -0.07344906777143478, 0.025595644488930702, 0.0702379047870636, 0.03472498431801796, 0.0055411760695278645, -0.003167502349242568, 0.003125536721199751, -0.06729942560195923, -0.0007916106260381639, 0.06629468500614166, 0.014467909000813961, 0.0029789626132696867, -0.039325397461652756, -0.06145690381526947, -0.0016522308578714728, -0.013431641273200512, 0.005472321063280106, 0.01890152506530285, -0.011421225033700466, 0.0071118781343102455, 0.027114881202578545, 0.001156217185780406, -0.03990772366523743, -0.03175884485244751, 0.05398926883935928, 0.025829847902059555, -0.0031123317312449217, 0.09776293486356735, 0.06563093513250351, 0.01760397106409073 ]
[ 0.0010069661075249314, -0.0034811387304216623, -0.00697046285495162, -0.00300793070346117, -0.027407439425587654, -0.003827829612419009, -0.004361290950328112, -0.0004070115101058036, -0.004603419918566942, -0.029390376061201096, -0.013182898983359337, 0.03674530237913132, -0.0031453450210392475, -0.03390059247612953, 0.02565336413681507, -0.03683730587363243, -0.003768357913941145, 0.0010506666731089354, -0.015748176723718643, -0.056710511445999146, -0.028628285974264145, 0.03326873108744621, 0.0033192262053489685, 0.013379300013184547, -0.004981006029993296, 0.0038199303671717644, -0.0477183498442173, -0.003030685940757394, 0.0321112796664238, -0.13917632400989532, -0.02602436952292919, -0.03899740055203438, -0.015920275822281837, 0.020535247400403023, -0.0765232965350151, 0.02215903252363205, -0.004747326951473951, 0.02627181075513363, 0.004141924902796745, -0.003762615844607353, -0.022642947733402252, -0.018591925501823425, -0.018946683034300804, -0.0009294789633713663, 0.022647028788924217, 0.025514205917716026, -0.014894197694957256, -0.015214981511235237, 0.001496829092502594, 0.03224768862128258, -0.03503918647766113, 0.04075966402888298, -0.02387363091111183, 0.02285107783973217, 0.029336242005228996, -0.004257486667484045, 0.03236985206604004, -0.01752566546201706, -0.0002643087937030941, 0.003493351861834526, -0.05760248750448227, 0.0031988208647817373, -0.04214145243167877, 0.002239904133602977, -0.013801231980323792, -0.026747049763798714, -0.015122638083994389, 0.018838021904230118, 0.019156798720359802, 0.00687822699546814, 0.006208713632076979, 0.020286444574594498, -0.03176359832286835, -0.016045404598116875, 0.036236491054296494, 0.03948837146162987, 0.02590843476355076, 0.013132089748978615, 0.025163456797599792, -0.04822780191898346, 0.008310532197356224, 0.026325896382331848, -0.015064286068081856, 0.012036138214170933, -0.004307352937757969, -0.014784809201955795, -0.015655096620321274, -0.02210768684744835, 0.023156123235821724, 0.0020440449006855488, -0.030231429263949394, 0.003522721119225025, 0.012712269090116024, -0.005047224462032318, -0.05975109338760376, -0.01635085791349411, 0.006540014874190092, -0.03073989599943161, -0.006766200065612793, 0.8283847570419312, -0.015617942437529564, 0.0612969845533371, 0.042932890355587006, -0.0044166091829538345, 0.001168956863693893, 0.003002692712470889, -0.030494874343276024, -0.011019417084753513, 0.03526312857866287, -0.06190275773406029, 0.017084838822484016, -0.0033988007344305515, 0.051713209599256516, -0.03074687160551548, -0.012149476446211338, -0.005532630253583193, 0.06198892742395401, -0.04368408024311066, 0.027852797880768776, -0.0009898269781842828, 0.011174183338880539, -0.03342075273394585, 0.018638167530298233, 0.03835155442357063, 0.010707009583711624, -0.20149116218090057, -0.009918460622429848, -8.052942251446952e-33, 0.00767266470938921, -0.018002483993768692, 0.021259363740682602, -0.001647664699703455, 0.05709514766931534, 0.010274888947606087, 0.06485375761985779, -0.03082428313791752, -0.03308612480759621, -0.011808727867901325, -0.0006951555842533708, -0.006972286384552717, -0.02536529302597046, -0.00492112198844552, 0.011926188133656979, -0.01830422133207321, 0.021416395902633667, 0.03441290929913521, -0.022854693233966827, -0.020057417452335358, 0.0590260811150074, 0.005028915591537952, 0.032740518450737, 0.008891300298273563, 0.013880890794098377, 0.01466054655611515, 0.02633587084710598, 0.005077678244560957, -0.0028508377727121115, -0.04655081778764725, -0.004414551891386509, 0.01675557717680931, -0.00021312094759196043, -0.024032078683376312, 0.019804242998361588, -0.025419021025300026, -0.014384370297193527, -0.003542026039212942, 0.007600000128149986, 0.0019432342378422618, -0.02105359546840191, -0.008703082799911499, -0.0037580709904432297, 0.0015003206208348274, -0.039963528513908386, -0.0365406759083271, -0.031286563724279404, 0.039675645530223846, 0.0520423948764801, 0.032392267137765884, 0.05329347029328346, 0.044539134949445724, 0.02385609969496727, -0.010927537456154823, -0.009548994712531567, 0.016531504690647125, -0.01850389502942562, 0.01570115238428116, -0.02132881060242653, 0.044257067143917084, 0.026562238112092018, 0.02237573452293873, -0.035488925874233246, 0.03529603034257889, -0.04841294139623642, -0.02895710989832878, -0.011286516673862934, 0.03742406889796257, 0.04298457130789757, 0.0290193110704422, -0.04078662395477295, 0.01900303177535534, -0.007515586446970701, -0.018569381907582283, 0.017689481377601624, -0.0014942839043214917, -0.053466543555259705, -0.04991532862186432, 0.00038691653753630817, -0.006227473728358746, -0.004340097773820162, 0.01413777470588684, -0.012045574374496937, 0.028265535831451416, 0.006645000074058771, -0.02733197994530201, -0.03663737326860428, -0.015143759548664093, -0.011679621413350105, 0.03624369576573372, -0.0006610163836739957, 0.04125053435564041, 0.0030208141542971134, -0.016047552227973938, 0.0017976276576519012, 7.472368530311701e-33, -0.007173920050263405, -0.007115550804883242, -0.022928452119231224, 0.03595544770359993, -0.01168384775519371, -0.04968370124697685, 0.016956595703959465, 0.012915349565446377, -0.005557473748922348, 0.03288539871573448, -0.02857833169400692, 0.035334642976522446, 0.022856703028082848, 0.0017925170250236988, 0.051375266164541245, -0.008773183450102806, 0.023121748119592667, 0.013244547881186008, 0.005663490388542414, 0.0017572944052517414, 0.0043145278468728065, -0.0003967425145674497, 0.01294753048568964, 0.02632651850581169, -0.011294118128716946, 0.046958714723587036, -0.020671015605330467, 0.019465044140815735, 0.008962447755038738, 0.004460503347218037, -0.020223047584295273, -0.015574664808809757, 0.029050961136817932, -0.05463767796754837, -0.010074140504002571, 0.0028081354685127735, 0.005447316914796829, -0.004555806051939726, 0.04508763924241066, -0.008865815587341785, 0.03607397899031639, 0.001783232786692679, 0.026760758832097054, 0.003525429405272007, 0.008312102407217026, 0.045272812247276306, 0.00630264263600111, -0.022694695740938187, 0.025363218039274216, 0.026319336146116257, -0.004220094997435808, -0.005838134791702032, -0.039720382541418076, 0.030927209183573723, -0.020494254305958748, -0.011825629509985447, -0.015665166079998016, 0.004995499737560749, -0.05064258724451065, 0.00249281688593328, -0.02014419622719288, -0.01227125246077776, 0.025596970692276955, -0.042841728776693344, -0.003802830819040537, -0.011867095716297626, -0.0035525590647011995, -0.03048589825630188, 0.0348193384706974, -0.011775226332247257, -0.018293781206011772, -0.0038667796179652214, 0.012776326388120651, 0.03469491004943848, 0.0034430683590471745, -0.0006650157156400383, 0.010761984623968601, 0.003979742992669344, 0.02600368671119213, 0.039706576615571976, 0.034197669476270676, -0.019078610464930534, 0.022107457742094994, 0.02107996493577957, 0.000998850679025054, -0.017209302634000778, -0.008876933716237545, 0.026401782408356667, 0.037616174668073654, -0.03245058283209801, 0.020369987934827805, 0.005014291498810053, 0.004731156397610903, -0.02137097530066967, 0.002407174790278077, -1.3249001007409333e-8, 0.014454483985900879, 0.0035344106145203114, -0.04286962002515793, 0.013785585761070251, -0.016962315887212753, 0.013227731920778751, -0.019626883789896965, -0.037004753947257996, -0.023607103154063225, -0.030073976144194603, 0.007023442070931196, 0.011057322844862938, 0.014128139242529869, -0.04543900862336159, 0.004194977227598429, -0.028006495907902718, -0.016478946432471275, 0.005086734890937805, 0.01541727315634489, 0.003857923438772559, -0.04685152694582939, 0.05754171684384346, -0.02690834365785122, 0.022692549973726273, -0.01116134412586689, -0.020273642614483833, -0.005391118116676807, -0.08901286870241165, 0.02721327915787697, -0.0369376540184021, 0.01284976489841938, -0.033194269984960556, -0.03007875196635723, 0.01407687459141016, -0.014651470817625523, -0.04324851557612419, 0.009412678889930248, 0.030393755063414574, 0.021948132663965225, 0.0003617711190599948, -0.0019329591887071729, -0.015277274884283543, 0.007251359056681395, -0.035509899258613586, -0.02864750474691391, -0.03739472106099129, -0.00851415004581213, -0.005188570823520422, -0.01608564704656601, -0.0004398573946673423, 0.04361886531114578, 0.026726748794317245, 0.03490104153752327, 0.028142469003796577, 0.026758713647723198, 0.0063330624252557755, 0.0037719961255788803, -0.045390281826257706, -0.017891883850097656, -0.005482633598148823, 0.0016607223078608513, 0.03456668555736542, -0.02583122067153454, -0.025687171146273613 ]
f-partial-function-application-with-the-function-composition-operator
https://markhneedham.com/blog/2009/01/12/f-partial-function-application-with-the-function-composition-operator
false
2009-01-22 23:02:15
Coding Dojo #7: Retlang/Hamcrest .NET attempt
[ "coding-dojo" ]
[ "Coding Dojo" ]
We ran a sort of coding dojo/playing around session which started with us looking at the .NET concurrency library, http://code.google.com/p/retlang/[Retlang], and ended with an attempt to write http://code.google.com/p/hamcrest/[Hamcrest] style assertions in C#. == The Format We had the same setup as for our normal coding dojos with two people at the keyboard although we didn't rotate as aggressively as normal. == What We Learnt * We started off having a look at a concurrency problem in http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET[Cruise Control .NET] which link:[Dave Cameron] recently fixed. The intention was to try and take one of the cases of multi threading and replace it with a message based approach using the Retlang library. * As I understand it, you can have *any number of subscribers* subscribe to any channel using Retlang which is different to the Erlang approach whereby only one subscriber would be allowed. A bit of experimentation also suggests that subscribers need to be subscribed to a channel at the time a message is published in order to receive it. * We started off with an initial test case but got sidetracked in trying to work out how to make the assertion syntax a bit nicer. The original assertion read like the examples on the website in that we check the state of a ManualResetEvent so that we know whether or not a message was received by a subscriber. The assertion read like this: ~~~csharp var gotMessage = new ManualResetEvent(false); \... Assert.IsTrue(gotMessage.WaitOne(2000, false)); ~~~ We initially worked this to read like so: ~~~csharp AssertThat(gotMessage, HasTrippedWithin(2.Seconds()); ~~~ AssertThat and HasTrippedWithin were local methods and Seconds was an extension method. It's pretty nice but the problem is that we can't reuse this code easily in other test classes and keep the readability. C# doesn't have Java's ability to import static methods so we would need to reference the class which the AssertThat method and HasTrippedWithin methods reside on directly either by having every test case extend it or by explicitly referencing it when we use the methods. * A bit more playing around with extension methods and trying to work out a good way to write Matchers led us to the following syntax: ~~~csharp gotMessage.Should(Be.TrippedWithin(2.Seconds()); ~~~ We also considered putting a Verify extension method on object so that a test case could have a series of different matchers to be evaluated. ~~~csharp this.Verify( gotMessage.Is().TrippedWithin(2.Seconds()) ); ~~~ For some reason we need to use the 'this' keyword in order to access an extension method defined on object - I don't really understand why as I thought classes implicitly extended object, meaning the following should be possible: ~~~csharp Verify(gotMessage.Is().TrippedWithin(2.Seconds())); ~~~ * I think the way that our tests fail and the way that they report this failure is vital for getting the most out of TDD so I'd be interested to know of any ideas people have with regards to this. The thing that makes Hamcrest so good is not just the fluent syntax but the error messages that you receive when tests fail - it's very clear where the problem lies when a test fails, there is rarely a need to get out the debugger in complete confusion as to why the test failed. == Next Time * I think we may make a return to coding some OO problems again next week - I'm not convinced that we are getting the most out of the Dojo sessions learning something which is new to the majority of people taking part. </ul>
null
null
[ 0.013100383803248405, -0.042574744671583176, -0.014757432974874973, 0.054353341460227966, 0.06965550780296326, -0.012815254740417004, 0.04615791141986847, 0.035366155207157135, 0.01159608829766512, -0.00333245936781168, 0.018815135583281517, 0.021569693461060524, -0.09309698641300201, 0.017169777303934097, -0.024466104805469513, 0.05111765116453171, 0.09680778533220291, -0.021364012733101845, 0.02422015555202961, -0.002210352336987853, -0.005493118893355131, 0.05207851156592369, -0.005668135825544596, 0.006778973154723644, 0.019007369875907898, 0.03547681123018265, -0.0010815043933689594, -0.01743205450475216, -0.06461697816848755, -0.024813717231154442, 0.04502101242542267, 0.019840676337480545, 0.028134945780038834, 0.0020078832749277353, 0.023024391382932663, 0.008894803002476692, -0.010680219158530235, 0.019999952986836433, 0.004281847737729549, 0.023346027359366417, -0.06832652539014816, 0.025677375495433807, -0.015130497515201569, -0.00425679748877883, -0.04123719036579132, 0.019732747226953506, -0.01748868264257908, -0.013202819041907787, -0.021892618387937546, -0.01597246713936329, -0.10581289231777191, 0.02456732839345932, -0.03733707219362259, 0.03192843496799469, 0.013426165096461773, 0.0545026920735836, 0.005353205371648073, -0.06016489118337631, 0.03214893117547035, -0.05787288025021553, 0.0029501477256417274, -0.019293639808893204, -0.005167662166059017, 0.02623501978814602, 0.0016265901504084468, 0.0027079330757260323, 0.011163689196109772, 0.04300752654671669, -0.021654440090060234, -0.0030655369628220797, -0.015626270323991776, 0.017444852739572525, -0.008365770801901817, 0.0037774795200675726, 0.03325938433408737, -0.037117067724466324, 0.006762970704585314, 0.03389871120452881, 0.011970490217208862, 0.02761191874742508, -0.014003416523337364, 0.018863247707486153, 0.054684802889823914, -0.005208240356296301, 0.007839635014533997, -0.029536770656704903, -0.011440486647188663, -0.010272962041199207, -0.03570910543203354, 0.07930494844913483, -0.00822600070387125, -0.0296438317745924, 0.013948357664048672, 0.02093110978603363, -0.007444295100867748, 0.024037960916757584, -0.010639316402375698, -0.0023590163327753544, 0.017394229769706726, -0.004364484455436468, -0.03871608525514603, 0.005805549677461386, 0.01560358889400959, 0.02697465941309929, -0.0586443729698658, 0.014694854617118835, -0.022939102724194527, -0.025454344227910042, 0.006248978432267904, 0.028562374413013458, -0.03179545700550079, 0.004624297376722097, -0.0142836794257164, -0.004856308922171593, -0.08821632713079453, 0.06550686061382294, 0.02836562879383564, -0.012386183254420757, -0.03384933993220329, 0.006072664633393288, 0.04117701202630997, 0.0334571972489357, 0.01293799839913845, 0.07434836030006409, 0.022608822211623192, 0.042385708540678024, -0.02846086584031582, 0.0605875588953495, -0.016911542043089867, -0.07005711644887924, 0.008829276077449322, 0.054281529039144516, -0.008398439735174179, 0.024056151509284973, -0.016710102558135986, 0.003622999880462885, 0.006728340405970812, -0.010050883516669273, 0.04050729423761368, 0.04552682861685753, -0.013899864628911018, -0.02306414395570755, 0.02677941881120205, -0.008422525599598885, -0.006641951389610767, 0.04016759991645813, -0.020792383700609207, -0.015384426340460777, -0.01591191440820694, 0.05555538088083267, 0.028532037511467934, 0.023504123091697693, 0.039383891969919205, -0.045211061835289, 0.02469528652727604, 0.05876779556274414, 0.002785714343190193, 0.03355523571372032, -0.0017350510461255908, 0.015840979292988777, 0.016993584111332893, 0.03971363604068756, 0.01328247506171465, 0.03786403313279152, 0.01052950881421566, -0.0012058938154950738, -0.012957712635397911, 0.030833225697278976, -0.013723906129598618, -0.003204899840056896, -0.06933680921792984, -0.0441482737660408, 0.021906206384301186, -0.05864446237683296, 0.004510317929089069, 0.02589951828122139, 0.0870165154337883, 0.023808544501662254, 0.0442422591149807, -0.002015209523960948, -0.07259625196456909, 0.029963621869683266, 0.0026952142361551523, -0.007073310203850269, 0.007282858714461327, -0.028049331158399582, 0.06195966526865959, 0.004683239385485649, -0.020313596352934837, 0.03247169032692909, -0.06593963503837585, -0.04934266209602356, 0.0011978023685514927, -0.020305544137954712, 0.07362198084592819, -0.024064509198069572, -0.014611335471272469, 0.08414550125598907, 0.03162084147334099, 0.04242098703980446, 0.03747020289301872, -0.015062637627124786, 0.010199114680290222, -0.026594161987304688, -0.04757149517536163, 0.04915459454059601, 0.024120328947901726, -0.015352741815149784, -0.06009913980960846, 0.002490370301529765, -0.011885790154337883, 0.011356729082763195, 0.03324347734451294, 0.0014387642731890082, 0.04546472802758217, -0.007305551320314407, 0.045511797070503235, -0.013131717219948769, 0.07317425310611725, -0.05701809749007225, 0.02292201854288578, -0.0010148221626877785, -0.016044188290834427, 0.0033862460404634476, 0.0022616602946072817, 0.13814441859722137, 0.057126227766275406, -0.02224035933613777, -0.04608839377760887, 0.026166021823883057, 0.012291447259485722, -0.02819177694618702, -0.013269911520183086, -0.028233684599399567, 0.025245672091841698, 0.001980998320505023, -0.021747935563325882, 0.004949330817908049, 0.0013690127525478601, -0.029516680166125298, 0.0356808640062809, 0.07074679434299469, -0.020922953262925148, 0.04283253103494644, 0.02379497140645981, -0.012095628306269646, 0.014878653921186924, -0.017309390008449554, -0.06753810495138168, 0.017500190064311028, 0.009721962735056877, -0.009847029112279415, 0.0669165626168251, -0.06359584629535675, -0.03166450187563896, -0.023127170279622078, -0.039346639066934586, 0.01194093283265829, 0.027158694341778755, 0.0595388300716877, 0.007311641238629818, 0.06364988535642624, -0.028109615668654442, -0.030064359307289124, -0.017646653577685356, -0.0581645667552948, -0.011523027904331684, 0.013501699082553387, 0.009097724221646786, 0.02379624731838703, -0.0074943783693015575, 0.025541312992572784, 0.04527094215154648, 0.01842624321579933, -0.029346106573939323, -0.010963995940983295, 0.036482617259025574, -0.0035529376473277807, -0.025112876668572426, -0.01052344311028719, -0.05817112699151039, 0.030810033902525902, -0.030156780034303665, -0.01805834099650383, 0.0099807633087039, -0.06666097790002823, 0.03981899470090866, -0.09397978335618973, -0.06457604467868805, 0.0035636627580970526, 0.0035400341730564833, 0.032032277435064316, -0.012400256469845772, 0.04629167169332504, 0.07169395685195923, 0.01637064851820469, 0.03367672860622406, 0.005832640454173088, -0.009172516874969006, 0.0016364783514291048, 0.010466368868947029, -0.014816571958363056, 0.03182240575551987, 0.012019664980471134, -0.004331737756729126, -0.08383823931217194, 0.043786417692899704, -0.009479749016463757, -0.28784433007240295, 0.01927788183093071, -0.00025302666472271085, -0.060229409486055374, 0.030929887667298317, -0.004510305821895599, 0.03129567578434944, -0.05639555677771568, -0.010569908656179905, 0.047907404601573944, -0.02194606326520443, -0.052911240607500076, -0.04058551788330078, 0.04356963187456131, 0.012234054505825043, 0.012926493771374226, -0.0026658454444259405, -0.046750497072935104, 0.03333957493305206, 0.03018084168434143, -0.010346869006752968, -0.05095168575644493, 0.00959917064756155, 0.042760543525218964, 0.021478643640875816, 0.043435998260974884, -0.08463648706674576, 0.05234959349036217, -0.026669666171073914, -0.006517915986478329, 0.011277583427727222, -0.0032271130476146936, 0.0026701472233980894, -0.04824649170041084, -0.014405890367925167, 0.001700256485491991, 0.01805424876511097, 0.044393282383680344, -0.003010667860507965, -0.0066992598585784435, -0.006606486160308123, -0.0668947696685791, -0.02226300537586212, -0.020031224936246872, 0.07472553104162216, 0.024906575679779053, -0.07883165776729584, -0.008836105465888977, -0.05495878681540489, 0.07790476083755493, -0.04042726382613182, -0.06025659665465355, 0.007049445062875748, 0.030132068321108818, -0.031919050961732864, -0.02989843115210533, -0.026332415640354156, -0.03365584462881088, -0.050086285918951035, -0.0024093857500702143, -0.04030546918511391, -0.0458078607916832, -0.022229420021176338, -0.050777435302734375, -0.004339276347309351, -0.07515677064657211, -0.0618266798555851, -0.010221750475466251, 0.07720816135406494, 0.014054159633815289, -0.03617769479751587, 0.01893414929509163, -0.023015622049570084, -0.11929928511381149, -0.010484457947313786, -0.043925028294324875, -0.022175922989845276, -0.017746733501553535, 0.0020760428160429, 0.053808584809303284, -0.033438291400671005, -0.029789907857775688, 0.024128472432494164, 0.018051205202937126, 0.04961506649851799, 0.004742443561553955, 0.01093449629843235, -0.03428131714463234, -0.028977908194065094, 0.008698194287717342, 0.07849340885877609, -0.025129392743110657, -0.014847012236714363, -0.018104257062077522, 0.03201962634921074, 0.035858310759067535, 0.009411492384970188, -0.012211489491164684, 0.029348434880375862, 0.015045925043523312, 0.036557916551828384, -0.06322091817855835, 0.0287395641207695, -0.043210096657276154, -0.00891538430005312, -0.007390981540083885, -0.04775608330965042, 0.02541947551071644, 0.034356534481048584, 0.01917840726673603, -0.031184621155261993, -0.011595247313380241, 0.006904636975377798, -0.0421285480260849, -0.002508596982806921, -0.02951565571129322, 0.007627616170793772, 0.030429236590862274, -0.014528810977935791, -0.031896695494651794, -0.04593320190906525, 0.025396455079317093, 0.025546450167894363, 0.010605936869978905, -0.06463160365819931, -0.0328354611992836, -0.00936404149979353, -0.006873615551739931, -0.0038952527102082968, 0.04173792898654938, -0.024811143055558205, 0.02660403773188591, 0.03931955248117447, -0.022436095401644707, 0.0164113137871027, -0.01145193912088871, -0.03352450206875801, -0.031930990517139435, -0.017215967178344727, 0.01365233026444912, -0.017834903672337532, 0.016676606610417366, 0.01330025028437376, 0.017519433051347733, 0.04436244070529938, 0.006607256829738617, 0.03268463537096977, 0.02363382652401924, -0.0033737740013748407, 0.013528642244637012, 0.0031637935899198055, -0.10351355373859406, 0.015053186565637589, -0.0090485829859972, -0.009042990393936634, -0.0002459140960127115, 0.03512672334909439, -0.010617884807288647, -0.0447574108839035, -0.03477232903242111, 0.028887726366519928, -0.05076128616929054, -0.0029426782857626677, -0.040217164903879166, 0.01718895323574543, 0.0386139452457428, -0.024938475340604782, 0.04245017468929291, -0.02213454619050026, -0.05101167410612106, -0.014433913864195347, 0.0014666500501334667, -0.03884214162826538, 0.04772821068763733, 0.010260384529829025, 0.008114520460367203, 0.00395872350782156, -0.0006295929197221994, 0.02781917341053486, 0.009487232193350792, 0.0036921799182891846, -0.008674015291035175, 0.004999794531613588, 0.0041695223189890385, 0.044317446649074554, -0.009022660553455353, -0.01319639291614294, -0.01030146423727274, -0.03932220861315727, -0.010726490058004856, -0.012235733680427074, -0.003234863979741931, -0.04040315002202988, 0.035566430538892746, -0.02331218495965004, -0.07151824235916138, 0.035869747400283813, 0.03845570608973503, 0.034149713814258575, 0.013663236051797867, 0.01741926744580269, 0.010194888338446617, -0.006971436087042093, 0.01837674342095852, 0.06277123093605042, -0.04078229144215584, 0.023495862260460854, -0.003806295106187463, 0.01631169579923153, 0.003412386868149042, -0.009466269053518772, -0.03781936690211296, -0.005953798536211252, -0.029787903651595116, 0.005995380692183971, -0.035707611590623856, -0.03575499355792999, -0.053469303995370865, 0.02008393220603466, -0.011827872134745121, -0.017713848501443863, -0.023662960156798363, -0.025437617674469948, -0.0040949080139398575, -0.017331629991531372, 0.0035895355977118015, -0.03897162154316902, -0.006470477674156427, 0.04596710577607155, -0.03180912509560585, -0.0027317737694829702, -0.007616494316607714, 0.033982835710048676, 0.01636604778468609, -0.025953255593776703, -0.05126907676458359, -0.04693993180990219, 0.009113543666899204, -0.02402110956609249, 0.059957414865493774, -0.0015063952887430787, -0.0013953068992123008, -0.012176843360066414, 0.00563886109739542, -0.017144978046417236, 0.0317038856446743, 0.0070350281894207, -0.02299010567367077, 0.01840503327548504, 0.06684968620538712, -0.00018520824960432947, 0.030151501297950745, 0.010657843202352524, 0.014029566198587418, 0.05779172480106354, -0.08411288261413574, -0.01037877332419157, -0.01095089316368103, -0.07689525187015533, 0.01386591698974371, 0.017907405272126198, 0.01632656529545784, -0.07590147852897644, 0.022441519424319267, 0.024928441271185875, 0.03476756066083908, 0.025541091337800026, -0.0033284970559179783, 0.028090113773941994, -0.030549516901373863, 0.03245367109775543, -0.08604275435209274, 0.026893969625234604, 0.0451347678899765, 0.027453456073999405, 0.00795601587742567, -0.025856370106339455, -0.031130772083997726, 0.026630615815520287, -0.049884360283613205, -0.003896064590662718, 0.017372313886880875, 0.002648325404152274, -0.021921858191490173, 0.013309743255376816, -0.04511268436908722, 0.0333695113658905, 0.01638766936957836, -0.030614424496889114, -0.02738233469426632, -0.050016794353723526, 0.03376426175236702, 0.04644745588302612, 0.03427615761756897, -0.041277527809143066, -0.0033082792069762945, 0.07524711638689041, 0.014659096486866474, 0.007095867767930031, 0.039392873644828796, -0.021134236827492714, 0.030740825459361076, 0.037388697266578674, -0.021831825375556946, -0.0016364913899451494, -0.0015878707636147738, -0.015319615602493286, -0.06425490975379944, 0.043436333537101746, 0.004374791868031025, -0.040157150477170944, -0.042986903339624405, 0.06316441297531128, -0.00009456939005758613, -0.0330619253218174, -0.04957468435168266, 0.012062030844390392, -0.0419783890247345, -0.04657823219895363, -0.019329454749822617, 0.027675479650497437, -0.039010290056467056, 0.0632309839129448, -0.00747040007263422, -0.00010341036977479234, 0.06230669096112251, -0.01163631584495306, -0.013513348065316677, -0.017628096044063568, 0.09602698683738708, 0.06601107865571976, 0.02538909763097763, 0.0022932770662009716, 0.06687580049037933, -0.01980670355260372, -0.03310221806168556, 0.010092253796756268, 0.000993043533526361, -0.011621836572885513, -0.030206764116883278, 0.020813265815377235, 0.05992604419589043, -0.026406968012452126, 0.05247749760746956, -0.05171487107872963, -0.018637554720044136, 0.0012095948914065957, 0.031264252960681915, 0.006776697002351284, 0.03501022979617119, 0.015232902020215988, 0.004656774457544088, 0.022762272506952286, -0.02420036867260933, 0.05154578760266304, -0.01741057261824608, -0.034239355474710464, 0.020235858857631683, 0.012840993702411652, 0.022611185908317566, 0.004612055607140064, -0.0004970988375134766, 0.07662240415811539, -0.02555500902235508, 0.009653105400502682, 0.008353088982403278, 0.033829085528850555, 0.014546546153724194, -0.019188765436410904, -0.019053103402256966, -0.03078944981098175, -0.020711643621325493, -0.02062038704752922, -0.016335541382431984, -0.040979184210300446, -0.04010138288140297, 0.012940628454089165, -0.016528712585568428, 0.016604108735919, 0.0037613753229379654, -0.011970204301178455, -0.06774719059467316, -0.03711922466754913, -0.07126849889755249, -0.03462721034884453, -0.024850061163306236, -0.0021620276384055614, -0.0020071801263839006, -0.013295415788888931, -0.031092004850506783, -0.023916419595479965, -0.022487781941890717, -0.032581306993961334, 0.027543263509869576, -0.00923738069832325, -0.016354791820049286, 0.05750936269760132, -0.004318981431424618, 0.021552545949816704, 0.035040948539972305, 0.03838909789919853, -0.00565516110509634, 0.010003828443586826, -0.07993003726005554, -0.004400302655994892, 0.03130878135561943, 0.014901721850037575, 0.027816781774163246, -0.08011426031589508, 0.006635742727667093, -0.016177240759134293, 0.017601268365979195, -0.05968129634857178, 0.010781053453683853, 0.012061255984008312, -0.0013497668551281095, 0.051340892910957336, -0.017409414052963257, 0.007745083887130022, -0.007496408652514219, -0.038773465901613235, 0.009057127870619297, 0.03566405922174454, 0.040514085441827774, -0.002546768868342042, 0.08100597560405731, 0.023462090641260147, -0.039137132465839386, -0.03190439194440842, -0.0030675858724862337, -0.002924747532233596, -0.0053148106671869755, -0.014263889752328396, -0.03569385036826134, -0.03875917196273804, -0.06719452142715454, -0.008647005073726177, 0.01746421679854393, 0.024449367076158524, -0.015283185988664627, 0.05518008768558502, 0.03208627179265022, -0.060198187828063965, 0.018444474786520004, -0.029138147830963135, 0.020363392308354378, -0.024902809411287308, -0.04244884476065636, 0.016942327842116356, 0.004884474445134401, 0.0004496999317780137, -0.02613002434372902, 0.018049154430627823, -0.054115187376737595, -0.0219559408724308, 0.007531124632805586, 0.005152274388819933, 0.03841925039887428, -0.008466874249279499, -0.026609230786561966 ]
[ -0.13734261691570282, 0.0027507625054568052, -0.04870085045695305, -0.032149530947208405, 0.027831176295876503, -0.029328281059861183, 0.00196719728410244, 0.0267757810652256, -0.0039519150741398335, -0.04769538342952728, 0.0015277271158993244, -0.027081672102212906, -0.021291134878993034, 0.023885423317551613, 0.09245111793279648, 0.02056097611784935, 0.0000575685226067435, -0.036838069558143616, -0.0016452298732474446, 0.03632482513785362, 0.01667976938188076, -0.027353638783097267, -0.033442508429288864, -0.020748823881149292, 0.023528732359409332, 0.023699210956692696, 0.03654642030596733, -0.048690930008888245, 0.014373300597071648, -0.2070479691028595, -0.0037048007361590862, -0.025071287527680397, 0.030659755691885948, -0.008971919305622578, -0.005012311972677708, 0.025346964597702026, -0.00655357027426362, 0.005409684497863054, -0.018032222986221313, 0.05651441216468811, 0.004975493531674147, 0.039744410663843155, -0.04478326067328453, -0.008758987300097942, 0.02138029970228672, -0.0303268413990736, -0.004861797206103802, -0.023828743025660515, 0.013761132024228573, 0.022598130628466606, -0.04356103762984276, -0.034639302641153336, 0.007043932098895311, -0.020365837961435318, -0.002486809389665723, 0.014262733981013298, 0.015172175131738186, 0.07039114832878113, 0.028416048735380173, 0.020786378532648087, -0.0006361731211654842, -0.010554146021604538, -0.12967327237129211, 0.0856531485915184, 0.01987658254802227, 0.05168181657791138, -0.007377576548606157, 0.004679508041590452, -0.0003106114163529128, 0.08883927017450333, 0.015816587954759598, -0.04268553480505943, -0.04564710333943367, 0.059669703245162964, -0.002768103498965502, -0.02613408863544464, -0.0011493820929899812, 0.023550456389784813, 0.026517804712057114, -0.023754775524139404, -0.06872007995843887, -0.04568079113960266, 0.016068637371063232, -0.027252456173300743, -0.04267406091094017, 0.01900516264140606, -0.009228392504155636, 0.04235071688890457, 0.003868117928504944, 0.019862258806824684, 0.025510944426059723, 0.01606680639088154, 0.05074230954051018, 0.0031250708270817995, -0.11326392740011215, -0.004418297670781612, -0.026235567405819893, 0.015502283349633217, -0.03246256336569786, 0.44287532567977905, -0.010099489241838455, -0.023569544777274132, 0.062322404235601425, 0.04044298082590103, 0.011559627018868923, 0.010784334503114223, 0.010782814584672451, -0.030446069315075874, 0.016730615869164467, -0.03666127100586891, -0.016254868358373642, 0.011983819305896759, 0.06960979104042053, -0.04906143993139267, -0.01802843064069748, 0.05254063382744789, 0.04439364746212959, 0.01766827702522278, -0.025635473430156708, 0.013068124651908875, -0.009852491319179535, -0.015458719804883003, 0.030721604824066162, 0.015551193617284298, 0.008739400655031204, -0.043205875903367996, 0.03171475604176521, 0.05599033460021019, 0.0195329487323761, -0.01155081856995821, 0.05661211907863617, -0.026451295241713524, -0.0464763306081295, 0.0027448460459709167, 0.018336007371544838, 0.007722161244601011, 0.03586926683783531, -0.01919637992978096, 0.009665251709520817, 0.036798253655433655, -0.000969579559750855, -0.017008258029818535, 0.04352980852127075, -0.041963446885347366, -0.07587134838104248, 0.09303230792284012, 0.00029815456946380436, -0.01567930355668068, -0.008945693261921406, -0.03284022584557533, -0.018099382519721985, 0.028237834572792053, -0.012088000774383545, -0.06154393404722214, 0.00408664345741272, 0.0018952070968225598, 0.0751848891377449, -0.004900945350527763, -0.051316194236278534, -0.001627956167794764, -0.02881353348493576, -0.026520751416683197, -0.03254414722323418, 0.05767213553190231, 0.06110931187868118, -0.10891016572713852, -0.013600124977529049, 0.013180691748857498, 0.02010243572294712, -0.08284879475831985, -0.0246448814868927, 0.030614009127020836, -0.04487608000636101, -0.013569195754826069, 0.04249197617173195, -0.009379913099110126, -0.002253450220450759, 0.014093950390815735, 0.021828046068549156, 0.03985361382365227, -0.009988314472138882, 0.021456196904182434, -0.05070256069302559, 0.021939463913440704, -0.006273217499256134, -0.07438987493515015, -0.05819278582930565, 0.004107255954295397, -0.015806445851922035, -0.015230782330036163, -0.03204326704144478, -0.05751342326402664, -0.07897693663835526, 0.1094115674495697, -0.0294263307005167, -0.03148634731769562, 0.0174468494951725, -0.015640530735254288, -0.00025678591919131577, -0.027422789484262466, 0.006130570080131292, 0.0628015547990799, -0.008288845419883728, 0.027471259236335754, -0.06507774442434311, 0.033681053668260574, 0.04298824444413185, -0.03539040684700012, 0.050012968480587006, 0.04807167500257492, -0.03447674214839935, -0.004856440704315901, -0.010279587469995022, 0.009189178235828876, 0.015823476016521454, -0.0232728011906147, -0.004608938470482826, 0.04601516202092171, 0.01404841523617506, 0.024371253326535225, -0.04316119849681854, -0.02136259526014328, 0.006653334945440292, -0.33748719096183777, -0.05042225494980812, -0.009801429696381092, -0.0034846963826566935, 0.02616046369075775, -0.062280766665935516, 0.022891979664564133, -0.027502231299877167, -0.0012805277947336435, -0.0276036337018013, 0.0722222551703453, -0.01194729469716549, -0.01900225318968296, -0.08620218932628632, 0.033005084842443466, 0.024996628984808922, -0.042763739824295044, -0.024628562852740288, -0.0196502935141325, 0.0035884713288396597, 0.009113154374063015, 0.0057493238709867, -0.019391335546970367, -0.041378945112228394, -0.0070413099601864815, -0.034701380878686905, 0.08555147796869278, 0.019449368119239807, 0.1209196224808693, -0.049361880868673325, 0.04624394327402115, -0.01318612415343523, 0.032108429819345474, -0.06982624530792236, -0.007223373278975487, -0.022583091631531715, -0.004635136108845472, -0.007172222249209881, 0.06918477267026901, -0.026621557772159576, -0.056273989379405975, 0.020121604204177856, -0.048842333257198334, -0.06414884328842163, -0.026141801849007607, -0.0011572318617254496, -0.012676047161221504, -0.04001111164689064, -0.0020254915580153465, 0.04214121401309967, -0.0024493655655533075, -0.015823641791939735, 0.013055253773927689, 0.049770157784223557, -0.022616028785705566, -0.004161233548074961, -0.08319251239299774, -0.01672263629734516, -0.0003937033179681748, -0.01682494394481182, 0.042065590620040894, 0.08749053627252579, 0.03497850522398949, -0.047609370201826096, -0.004952492658048868, 0.04693995416164398, 0.01379457302391529, -0.02460993267595768, 0.06338030844926834, -0.03377204015851021, -0.03766735643148422, 0.08791026473045349, -0.016022441908717155, -0.012537656351923943, 0.012155895121395588, 0.0538875050842762, -0.02813800238072872, -0.03283549100160599, -0.0012808151077479124, 0.01746550388634205, 0.006648165173828602, 0.00028041822952218354, 0.04026368632912636, -0.03567970171570778, -0.007801990024745464, 0.040603067725896835, -0.019137727096676826, 0.010141302831470966, 0.0448702871799469, -0.0006093591218814254, -0.030299171805381775, 0.01830120198428631, -0.013104474171996117, -0.05909784883260727, 0.04649635776877403, 0.004952463321387768, -0.2428698092699051, 0.007196333259344101, 0.0337180532515049, 0.06675504893064499, -0.0263522919267416, 0.052902162075042725, 0.04684688523411751, -0.04530251771211624, -0.02613636665046215, 0.012310412712395191, 0.05504851043224335, 0.04209194704890251, -0.009420327842235565, 0.01199004054069519, 0.04290438070893288, 0.009445663541555405, 0.00982021726667881, 0.013442464172840118, 0.018781142309308052, -0.008812282234430313, -0.0025746456813067198, 0.008258557878434658, 0.16460436582565308, 0.01708676666021347, 0.03543706238269806, 0.04396960884332657, 0.03687011078000069, 0.020072150975465775, 0.07962445169687271, 0.011296918615698814, -0.022844234481453896, -0.0034244863782078028, 0.07529465109109879, 0.008976008743047714, 0.02856629155576229, -0.09427934885025024, -0.014605628326535225, 0.04080313444137573, 0.01835225336253643, -0.007178394123911858, -0.03449537605047226, -0.002054228913038969, -0.004432687070220709, 0.006088755093514919, 0.09139638394117355, 0.03304165229201317, -0.008768174797296524, -0.054623328149318695, -0.022437890991568565, 0.00480872904881835, -0.053304217755794525, -0.06463736295700073, 0.02008427120745182, -0.007895197719335556, 0.004643677733838558, 0.07105298340320587, -0.006272781640291214, -0.02527867816388607, -0.020545316860079765, 0.019941061735153198, 0.0072631146758794785, -0.01895623467862606, 0.11703409999608994, -0.006787347141653299, -0.00266894674859941 ]
[ -0.004092155024409294, 0.013895665295422077, 0.02798973210155964, 0.01396495383232832, 0.002485119504854083, 0.018882816657423973, 0.003467715810984373, 0.009788121096789837, 0.022910963743925095, 0.01420028880238533, 0.016109859570860863, -0.021258343011140823, 0.050472524017095566, -0.027897361665964127, 0.03093542717397213, -0.017159754410386086, 0.02665519528090954, -0.010173025541007519, 0.02214071713387966, 0.01101940218359232, -0.004680570214986801, 0.032878607511520386, 0.005477439612150192, -0.001910388353280723, -0.02768806740641594, 0.007085504475980997, -0.008280261419713497, -0.021817294880747795, 0.006519032176584005, -0.12948870658874512, -0.05405375361442566, -0.0164148211479187, -0.012672114185988903, 0.0037156324833631516, -0.014554327353835106, 0.012067578732967377, 0.024310477077960968, 0.027488764375448227, -0.01860661618411541, -0.004484182223677635, -0.012888490222394466, -0.013540617190301418, 0.017352046445012093, 0.02041369490325451, 0.001275990973226726, -0.03138698264956474, -0.013765765354037285, -0.005024970043450594, 0.0043348148465156555, -0.0018142262706533074, -0.00852813571691513, -0.014287568628787994, 0.005678312852978706, -0.01344507560133934, 0.053161125630140305, 0.009531532414257526, -0.02726423554122448, -0.007016784977167845, 0.02446199767291546, -0.0036310518626123667, 0.017305154353380203, 0.020309196785092354, -0.04064782336354256, -0.022043174132704735, -0.007606667932122946, 0.01717304065823555, 0.01548805832862854, -0.01733257807791233, -0.01006773766130209, -0.03304483741521835, -0.02406136877834797, 0.011387379840016365, -0.04484199732542038, 0.008316763676702976, -0.022454671561717987, -0.02821732498705387, 0.018275294452905655, -0.004425661638379097, 0.0006399279227480292, -0.03756086528301239, -0.02501051500439644, -0.015987107530236244, 0.02631518617272377, 0.020949862897396088, 0.00371656590141356, -0.01463820319622755, -0.031976278871297836, 0.0071837566792964935, 0.01046423614025116, 0.028064023703336716, -0.038660310208797455, 0.028455493971705437, -0.005877952557057142, 0.0023461165837943554, -0.08267595618963242, 0.010793490335345268, -0.05085653439164162, -0.00788251031190157, 0.011394917033612728, 0.8544211983680725, 0.05289629474282265, 0.040927544236183167, 0.02651561237871647, 0.0015100635355338454, -0.0029087767470628023, 0.009523245505988598, 0.012264908291399479, -0.01613217405974865, 0.010925960727036, -0.032889481633901596, 0.010308858007192612, 0.02768670953810215, 0.014373891986906528, 0.007222470827400684, 0.006089820992201567, 0.034260381013154984, 0.024105770513415337, -0.0013697288231924176, 0.010213728994131088, 0.017070027068257332, 0.016445688903331757, -0.01980595663189888, 0.005904664751142263, -0.016453424468636513, 0.032362956553697586, -0.1843714565038681, 0.04209638386964798, -7.61438147220248e-33, 0.0022005694918334484, -0.020925283432006836, -0.002093004761263728, 0.026854075491428375, 0.03742244094610214, 0.036080509424209595, 0.025374451652169228, 0.010865812189877033, 0.009716632775962353, -0.029522450640797615, -0.02500714175403118, -0.027291633188724518, 0.006738600321114063, -0.04320598766207695, 0.03312217444181442, -0.033268578350543976, -0.012858470901846886, 0.024324966594576836, -0.0061754160560667515, -0.023850800469517708, 0.013117646798491478, 0.01929665170609951, 0.031369488686323166, -0.020260021090507507, 0.009270478039979935, 0.02555178664624691, 0.0032403385266661644, 0.0039448426105082035, 0.016190337017178535, -0.04469028115272522, 0.005046965554356575, 0.017125198617577553, -0.02337457798421383, 0.02786238119006157, -0.0064299264922738075, -0.03852259740233421, -0.030030732974410057, -0.0035110139288008213, -0.02448621764779091, -0.043441638350486755, -0.07170431315898895, 0.010566913522779942, -0.057754047214984894, 0.006836468353867531, -0.028518659994006157, -0.04059222340583801, -0.012241620570421219, 0.022298423573374748, 0.013689395971596241, 0.039185330271720886, 0.014984962530434132, 0.013210553675889969, -0.005833272356539965, -0.02692173421382904, -0.029397377744317055, 0.03377310931682587, 0.030095435678958893, 0.03522636741399765, -0.025011613965034485, 0.036235541105270386, 0.008368248119950294, -0.006091380026191473, -0.028189558535814285, 0.005685889162123203, 0.020860088989138603, 0.026621416211128235, -0.03570500761270523, -0.0018517811549827456, -0.013012547977268696, -0.021259766072034836, -0.021846890449523926, -0.021563192829489708, -0.003910714294761419, -0.0014971042983233929, 0.009706034325063229, 0.00014005757111590356, -0.0095351068302989, 0.018069611862301826, -0.012977254576981068, 0.040743712335824966, 0.008859067223966122, -0.0052611143328249454, 0.00650590006262064, -0.014651232399046421, 0.01059167180210352, -0.012654859572649002, 0.032124269753694534, -0.0035422896035015583, 0.0122328856959939, 0.024256285279989243, 0.051774751394987106, 0.03390450403094292, 0.00393061013892293, 0.0013197411317378283, -0.012602010741829872, 8.215951726495325e-33, -0.03530800715088844, -0.014286266639828682, -0.022983910515904427, -0.003406030358746648, 0.008411387912929058, -0.00596004631370306, -0.0006489534862339497, 0.008304215036332607, -0.07649847120046616, 0.0024641745258122683, -0.0203064177185297, 0.014718026854097843, -0.016582200303673744, 0.054083652794361115, 0.04088166728615761, -0.04070427268743515, 0.05533220246434212, -0.0033181828912347555, 0.005746675655245781, 0.004554803017526865, 0.03418551757931709, -0.003893540007993579, -0.013709260150790215, 0.00679196510463953, 0.0028300138656049967, 0.04068295285105705, -0.016128940507769585, 0.031811054795980453, -0.0116713996976614, -0.002429546555504203, -0.00950947031378746, 0.007435956038534641, 0.016686473041772842, -0.029873905703425407, 0.02143033593893051, 0.005088495090603828, 0.013296679593622684, 0.0010915185557678342, 0.0018994018901139498, -0.007120505440980196, 0.0035017668269574642, -0.012608570046722889, -0.02316908910870552, 0.020321179181337357, 0.0067735337652266026, 0.0498458631336689, -0.0023691453970968723, -0.028001757338643074, -0.015221362933516502, 0.042679667472839355, 0.008568606339395046, -0.015501691959798336, 0.036392681300640106, 0.003711823606863618, 0.015694523230195045, -0.013850313611328602, -0.008412092924118042, -0.001529287314042449, 0.031083298847079277, -0.021442290395498276, -0.018223565071821213, -0.013892210088670254, -0.03839459642767906, 0.0378962904214859, 0.009140262380242348, -0.0028605025727301836, -0.0029943883419036865, -0.01795099675655365, -0.0052540781907737255, -0.0038125498685985804, -0.021151820197701454, 0.001606488018296659, -0.028799844905734062, 0.03820940479636192, -0.007351509761065245, -0.023295119404792786, 0.02615007385611534, -0.012333647347986698, -0.03029157966375351, 0.004996868781745434, 0.010566473938524723, 0.014632794074714184, -0.01190780010074377, 0.0068826680071651936, -0.022937247529625893, -0.004180606920272112, -0.005883265286684036, 0.010447429493069649, 0.020194899290800095, -0.02274521067738533, -0.004214709624648094, 0.021864505484700203, -0.015345871448516846, 0.01917652040719986, 0.027394751086831093, -1.3249239927404233e-8, -0.04419918358325958, 0.006479029543697834, -0.004475320223718882, 0.0017062819097191095, 0.026918787509202957, 0.03180091455578804, -0.027613934129476547, -0.04437115415930748, -0.04897666722536087, 0.004830063320696354, 0.0335288904607296, 0.0031755072996020317, 0.021331725642085075, -0.01268809661269188, 0.01860540173947811, -0.039182066917419434, -0.03212841972708702, -0.03171578049659729, 0.032224513590335846, 0.026893889531493187, 0.05644629895687103, 0.038094665855169296, -0.010724053718149662, 0.014491230249404907, 0.01001145038753748, -0.007617785129696131, 0.0404781736433506, -0.05948299914598465, 0.018910324200987816, -0.024343017488718033, -0.029309233650565147, -0.02607009932398796, -0.0304348636418581, 0.009688938036561012, -0.03408978879451752, -0.015581922605633736, -0.018481148406863213, 0.028527388349175453, 0.03403500095009804, -0.011710599064826965, -0.01142636127769947, 0.00019548764976207167, -0.01130842138081789, -0.008952849544584751, 0.022765161469578743, 0.0006698176730424166, -0.0373523011803627, -0.007244553882628679, 0.0390862300992012, -0.03780954331159592, -0.013911120593547821, -0.022120434790849686, 0.044110339134931564, 0.016217729076743126, 0.0027499087154865265, 0.0026775123551487923, 0.025447426363825798, 0.007000511046499014, 0.01175694540143013, 0.031795684248209, 0.015621703118085861, 0.02760784514248371, -0.04067893326282501, -0.031083127483725548 ]
coding-dojo-7-retlanghamcrest-net-attempt
https://markhneedham.com/blog/2009/01/22/coding-dojo-7-retlanghamcrest-net-attempt
false
2009-01-25 23:00:39
Learning alone or Learning together
[ "learning" ]
[ "Learning" ]
One of the things that I have been curious about since we started running http://www.markhneedham.com/blog/category/coding-dojo/[coding dojos] is whether people learn more effectively alone or when learning as part of a group. Not that I think they are mutually exclusive, I think a combination of both is probably the way to go depending on what it is we are trying to learn and the way that we're trying to learn it. == A new language I think learning a new programming language is one of the times when learning on your own makes the most sense. That way we have the freedom to try things out and understand how everything fits together without frustrating other people who may understand more than we do. There comes a certain stage though where we have questions that we can't answer and then I think it is quite useful to be able to work through the problem with someone else and get their input. I'm currently learning F# and although I've been learning it alone it has still proved to be useful to talk through some of the ideas I've come across with colleagues and get their input on useful approaches to take for my future learning. == Technical Book Club We recently started running a weekly http://www.lostechies.com/blogs/jimmy_bogard/archive/2007/12/12/decomposing-a-book-club.aspx[Technical book club] in the ThoughtWorks Sydney office. The first book we're reading is Eric Evans' http://www.amazon.co.uk/Domain-driven-Design-Tackling-Complexity-Software/dp/0321125215/ref=sr_1_1?ie=UTF8&s=books&qid=1232876782&sr=8-1[Domain Driven Design]. The idea is that people read part of a chapter alone and then we come together once a week to discuss that area of reading. The idea of discussing what you read is one which is encouraged by Andy Hunt in http://www.markhneedham.com/blog/2008/10/06/pragmatic-learning-and-thinking-book-review/[Pragmatic Learning and Thinking], and I have certainly got more from reading the book and discussing it with my colleagues than I did from just reading it alone about 6 months ago. We've been going through a few chapters over the last couple of weeks which we've found quite difficult to discuss but actually showing some code of how to implement certain ideas has made the sessions much more interesting. For example last week two of the members of the group were able to show some examples of using the specification pattern which brought the ideas to life a lot more for me than just reading about them in the book. I've found taking part in a book club brings a renewed focus when reading and others in the book club are able to explain areas of the text that I didn't understand when I read it. == Coding Dojos Coding Dojos are the ultimate when it comes to learning together. The format that we have used the most is to have one pair driving the code, rotating a new person in every seven minutes. We started out solving problems in an area where everyone had a high level of proficiency but the last two weeks have tried playing around with libraries that not everyone had a great deal of experience with. While there is learning to be gained from the latter, people seemed less keen to get involved at the keyboard on these sessions so I don't know if as much was gained from these sessions as could have been. In previous sessions though I think the dojo approach has been really good for helping us to 'practice what we preach' in terms of following good practices while at the keyboard. Having 4 or 5 other people watching you tends to encourage that! I'm sure we haven't found all the learning areas where coding dojos can be useful, but I'm veering towards thinking the maximum is gained when the majority of people have some experience with the technology being used. Alan Dean looks to be taking the idea even further with his http://alandean.blogspot.com/2008/11/space-coding-day.html[Open Space Coding Days] which http://openspacecode.com/uk/london/2009-01-31.xhtml[start next weekend]. It will be interesting to see the feedback on the learning people were able to achieve in this environment.
null
null
[ 0.006264363415539265, 0.007233625277876854, -0.01437439490109682, 0.0227044764906168, 0.07933252304792404, 0.0015380749246105552, 0.031599462032318115, 0.032578714191913605, 0.021879343315958977, -0.008374069817364216, -0.030031869187951088, 0.005982900969684124, -0.03622657060623169, -0.0007135134655982256, -0.035774216055870056, 0.06846054643392563, 0.08325740694999695, -0.00039501121500506997, 0.010692844167351723, -0.009804249741137028, 0.021577592939138412, 0.07005012035369873, 0.019298657774925232, 0.043972499668598175, 0.044275034219026566, -0.01024202536791563, 0.03686610609292984, -0.016746535897254944, -0.0342646986246109, -0.004373733885586262, 0.04416567459702492, 0.004489444196224213, 0.017610855400562286, 0.0005701460759155452, 0.03491869196295738, -0.027563422918319702, -0.007533017545938492, 0.02068747580051422, 0.00790286436676979, 0.022882577031850815, -0.06313055008649826, 0.05452601611614227, -0.006225208286195993, 0.016423843801021576, -0.04695172980427742, 0.0014455773634836078, -0.044268373399972916, 0.000794622057583183, 0.004029321949928999, -0.02165677398443222, -0.07037588208913803, 0.022424710914492607, 0.028532812371850014, -0.011191693134605885, -0.007189399562776089, 0.04955890402197838, 0.0213264562189579, -0.048800867050886154, 0.017731349915266037, -0.04011014476418495, 0.0010921790963038802, -0.010577356442809105, -0.0013507691910490394, 0.027160106226801872, 0.02489592134952545, -0.05145968124270439, -0.00018513599934522063, 0.031931594014167786, -0.027555929496884346, 0.015426529571413994, -0.023779887706041336, 0.021718280389904976, -0.03274545818567276, -0.004072423558682203, 0.0026979497633874416, -0.04957534372806549, 0.010623241774737835, 0.05630773305892944, 0.011661739088594913, 0.022593528032302856, -0.0206161979585886, 0.02913544327020645, 0.002296284306794405, 0.023518910631537437, -0.0042396606877446175, -0.045409414917230606, 0.006773443892598152, -0.0173536017537117, -0.06078590825200081, 0.06339896470308304, 0.0025262513663619757, -0.057076387107372284, -0.0006527298246510327, 0.03451581671833992, 0.012419859878718853, 0.022837523370981216, 0.039191439747810364, -0.0001782193430699408, -0.022120459005236626, -0.03628241643309593, -0.016915861517190933, -0.016285916790366173, 0.018330836668610573, 0.0035626282915472984, -0.08007269352674484, 0.01229715347290039, 0.004041021689772606, -0.019910277798771858, 0.00905806478112936, 0.006602678447961807, -0.0323486328125, 0.007529625669121742, -0.02524283155798912, 0.008675962686538696, -0.0621814951300621, 0.0619053840637207, 0.008900816552340984, -0.04531245306134224, -0.030617376789450645, 0.005692477338016033, 0.029904987663030624, 0.022570418193936348, -0.0049149938859045506, 0.08631186932325363, 0.000019316534235258587, -0.010898002423346043, -0.04577551782131195, 0.06279259920120239, -0.01916451007127762, -0.06629885733127594, -0.00921089481562376, 0.0438552051782608, -0.025298887863755226, -0.010464327409863472, -0.011594937182962894, -0.019964467734098434, 0.011945327743887901, 0.021056069061160088, 0.010812357068061829, 0.06737428158521652, -0.0066634430550038815, -0.027262112125754356, 0.03953840211033821, 0.002263600006699562, 0.02162739261984825, -0.0037217987701296806, -0.00002345364191569388, -0.015860337764024734, -0.035740163177251816, -0.0311735812574625, 0.00878776703029871, 0.019679972901940346, 0.012193773873150349, -0.03715476766228676, 0.023088833317160606, 0.08165013790130615, 0.01732858270406723, 0.04322187975049019, -0.014220787212252617, 0.029180938377976418, 0.01099973451346159, 0.026017647236585617, 0.012279316782951355, 0.03892550244927406, 0.007350850850343704, -0.009868311695754528, 0.0021379098761826754, 0.03788622096180916, -0.005221518687903881, 0.017698392271995544, -0.054317258298397064, -0.025402575731277466, 0.036678165197372437, -0.07623092085123062, -0.04797792062163353, 0.021678175777196884, 0.07795756310224533, 0.036496616899967194, 0.041977811604738235, -0.018588533625006676, -0.06821554899215698, 0.011230811476707458, 0.018265672028064728, 0.006534246262162924, 0.01778365857899189, -0.032004501670598984, 0.03673626482486725, 0.048547085374593735, -0.0031940899789333344, 0.050941500812768936, -0.07201758772134781, -0.08351311832666397, -0.0001601957337697968, -0.011725107207894325, 0.058506447821855545, -0.03451278433203697, 0.04284125939011574, 0.07341548800468445, -0.0039985887706279755, 0.04568557068705559, 0.03840344771742821, -0.004324390087276697, 0.028886763378977776, -0.010266308672726154, -0.020333053544163704, 0.06090030446648598, 0.01820957660675049, -0.006494483444839716, -0.03687438741326332, -0.010689827613532543, -0.02168365940451622, -0.028182847425341606, 0.034985922276973724, 0.0023708827793598175, 0.02654281072318554, -0.0009886418702080846, 0.06138281524181366, -0.02503521367907524, 0.05243469774723053, -0.039125531911849976, 0.008552607148885727, -0.006804185453802347, -0.009515601210296154, 0.016395434737205505, 0.011204174719750881, 0.11233790963888168, 0.05296945571899414, -0.0417032465338707, -0.03726673871278763, 0.026576252654194832, 0.018175089731812477, -0.05809350311756134, 0.0011859643273055553, 0.010315223596990108, 0.026636091992259026, -0.017480110749602318, -0.06496826559305191, -0.045517586171627045, 0.027242381125688553, -0.03714397922158241, -0.01362083200365305, 0.05129120871424675, -0.015219449065625668, 0.05510266125202179, -0.0018943407339975238, -0.0021834459621459246, -0.0016725650057196617, 0.017671838402748108, -0.03792459890246391, 0.011159233748912811, 0.0073858220130205154, -0.020794078707695007, 0.03861004114151001, -0.03002701699733734, -0.030771611258387566, -0.03265371173620224, -0.019401002675294876, -0.009259659796953201, 0.06406840682029724, 0.04389564320445061, -0.02602309174835682, 0.07318338751792908, -0.0012639624765142798, 0.03881971165537834, -0.006838982924818993, -0.046576302498579025, -0.047693006694316864, -0.04054716229438782, 0.002442594151943922, 0.017695501446723938, 0.0024952285457402468, 0.008255591616034508, 0.01858384907245636, 0.03166789188981056, -0.02807995118200779, -0.006442482583224773, 0.036441266536712646, -0.004133590962737799, -0.007108265534043312, -0.0324801504611969, -0.02365763857960701, 0.045920368283987045, -0.041037850081920624, -0.016289085149765015, 0.0031757112592458725, -0.0872206762433052, 0.052506886422634125, -0.06496839225292206, -0.07819897681474686, 0.009964002296328545, 0.0465710386633873, 0.050248563289642334, 0.0246150903403759, 0.012458236888051033, 0.07580438256263733, 0.011051518842577934, 0.008761880919337273, -0.007676823064684868, -0.009420638903975487, 0.04795106127858162, -0.008942559361457825, -0.029133135452866554, 0.05812862887978554, 0.01474645733833313, 0.003186258254572749, -0.04707459732890129, 0.058771513402462006, -0.02943931519985199, -0.2891539931297302, 0.030889563262462616, -0.0036688910331577063, -0.04483325406908989, 0.014359187334775925, -0.035052694380283356, 0.0007639721152372658, -0.05324992164969444, -0.041009243577718735, 0.01653336174786091, -0.04419882595539093, -0.04744144529104233, -0.024240972474217415, 0.043073397129774094, 0.005998472683131695, 0.031091054901480675, 0.009929496794939041, -0.033024970442056656, 0.01535138487815857, 0.060112353414297104, -0.008193549700081348, -0.05631469935178757, -0.013810944743454456, 0.07200251519680023, 0.040638282895088196, 0.059769611805677414, -0.11234932392835617, 0.01819763518869877, -0.0547751784324646, 0.006852730177342892, 0.004292292054742575, 0.025243407115340233, 0.00003083003684878349, -0.041899435222148895, -0.012018629349768162, -0.014043601229786873, 0.060575224459171295, 0.004443157929927111, -0.007513739634305239, 0.03603513166308403, -0.024716541171073914, -0.03584499657154083, -0.0028768579941242933, 0.014690878801047802, 0.0602564662694931, 0.01279393583536148, -0.08675828576087952, -0.016376540064811707, -0.023442665114998817, 0.0957670509815216, -0.056271690875291824, -0.036958958953619, 0.0020243681501597166, 0.04442267492413521, 0.012085244990885258, -0.022339342162013054, -0.00877256691455841, -0.028475042432546616, -0.04391852021217346, -0.056226033717393875, -0.019710775464773178, -0.02383059822022915, -0.007431517820805311, -0.0786791518330574, 0.017395073547959328, -0.06580979377031326, -0.05724964290857315, -0.005329967010766268, 0.07624077796936035, 0.0396580845117569, -0.05663742870092392, 0.023350175470113754, -0.011194761842489243, -0.10697805881500244, -0.00855549331754446, 0.025180086493492126, -0.012001939117908478, 0.001183826825581491, 0.02902856469154358, 0.05810573324561119, -0.02528628148138523, -0.050428323447704315, 0.03359300643205643, 0.006240608170628548, 0.04726375266909599, -0.015786081552505493, 0.03288828581571579, 0.00984282698482275, -0.02297462522983551, 0.0057877227663993835, 0.06983769685029984, 0.03444970026612282, -0.03809552639722824, -0.031488049775362015, 0.04879375547170639, 0.025285327807068825, 0.02319418638944626, -0.022854667156934738, 0.01771567203104496, 0.016869086772203445, -0.003711131401360035, -0.041592977941036224, 0.0009546726942062378, 0.005760047119110823, 0.0011058530071750283, -0.02273218147456646, -0.05368660017848015, 0.027614576742053032, 0.04421700909733772, 0.004230013117194176, -0.010903986170887947, -0.03980155661702156, -0.000576395948883146, -0.025169216096401215, -0.024407651275396347, -0.028911806643009186, -0.004449679050594568, 0.03964626044034958, -0.019891900941729546, -0.011263732798397541, -0.04705643653869629, -0.007571993861347437, 0.000913045194465667, -0.019580122083425522, -0.05724054202437401, -0.016559474170207977, -0.024167852476239204, -0.0444822795689106, 0.005281833931803703, 0.004881138913333416, -0.0167827270925045, 0.009940996766090393, 0.024277999997138977, -0.03931058943271637, 0.01243580598384142, -0.029634656384587288, -0.06695621460676193, -0.02449790947139263, -0.01970834471285343, 0.015866247937083244, -0.013335593044757843, 0.024939708411693573, -0.010156125761568546, 0.014120729640126228, 0.026428785175085068, 0.018642954528331757, -0.017451994121074677, 0.011585883796215057, 0.002721476834267378, -0.0004334180848672986, 0.005267281085252762, -0.06269697844982147, 0.029469281435012817, -0.025813976302742958, -0.01970694586634636, 0.00121504464186728, 0.014956239610910416, 0.001485660090111196, -0.03132307529449463, -0.0033233172725886106, 0.016062088310718536, -0.05575531721115112, -0.036646097898483276, -0.034629784524440765, 0.030078265815973282, 0.06247019022703171, -0.025677531957626343, 0.01967311091721058, -0.004229155834764242, -0.03089240752160549, 0.020427515730261803, 0.014963991940021515, -0.03612572327256203, 0.013829176314175129, 0.013902029953897, -0.002815559972077608, 0.0044348519295454025, -0.01021791622042656, 0.04706587269902229, 0.002217430854216218, -0.003206346882507205, -0.04001620411872864, 0.012176178395748138, 0.015098350122570992, 0.06644543260335922, 0.027576472610235214, 0.006319655571132898, -0.007322191260755062, -0.0296797975897789, -0.03656423091888428, -0.045717086642980576, -0.02040049433708191, -0.006446426268666983, 0.016860751435160637, -0.04897294193506241, -0.057551950216293335, 0.05235741659998894, 0.020878054201602936, 0.01100477296859026, 0.022845663130283356, -0.01800561510026455, 0.008052145130932331, -0.02578212134540081, 0.037590526044368744, 0.06577161699533463, -0.05759020894765854, 0.0020211082883179188, -0.018628615885972977, 0.01191223505884409, 0.001125460839830339, -0.028512777760624886, -0.045809317380189896, -0.009200838394463062, -0.038992740213871, -0.005785368382930756, -0.06270463019609451, -0.027768509462475777, -0.02386837638914585, 0.02918148599565029, -0.0011530962074175477, 0.008152766153216362, -0.008027493953704834, 0.005285890307277441, -0.027381984516978264, -0.021404491737484932, 0.02051718160510063, -0.05209580808877945, 0.029730118811130524, 0.005261952057480812, -0.0486815944314003, -0.007707709912210703, -0.01863197237253189, 0.02493387460708618, 0.012379367835819721, -0.0320931077003479, -0.023306328803300858, -0.02943785861134529, 0.011322097852826118, 0.013947420753538609, 0.047983359545469284, 0.01496371254324913, -0.004658167716115713, -0.037652794271707535, -0.011520453728735447, -0.053922560065984726, 0.033957887440919876, -0.04098835960030556, -0.022964119911193848, 0.045977503061294556, 0.06082895025610924, 0.0419452078640461, 0.023273520171642303, 0.0036487726029008627, -0.026284078136086464, 0.038932379335165024, -0.045590590685606, -0.04795017093420029, -0.02214081771671772, -0.07745836675167084, 0.009139041416347027, 0.004701295867562294, 0.040606677532196045, -0.0436900332570076, 0.042805612087249756, 0.006969458889216185, 0.0417584590613842, 0.018996715545654297, -0.0039857784286141396, 0.03256393224000931, -0.05311441048979759, -0.008222461678087711, -0.08073849231004715, 0.00499428017064929, 0.019468149170279503, 0.023068081587553024, -0.012978083454072475, -0.01304627675563097, -0.033645085990428925, 0.05534893274307251, -0.0789421796798706, -0.0038634897209703922, 0.04300851374864578, 0.011831620708107948, -0.030454427003860474, -0.005765152163803577, -0.07299989461898804, 0.017761677503585815, 0.027290748432278633, -0.03784884884953499, -0.030573317781090736, -0.039133019745349884, 0.030357657000422478, 0.005616441369056702, 0.02365655079483986, 0.002138925949111581, -0.015661656856536865, 0.06639709323644638, 0.007450432050973177, -0.00477334251627326, 0.04784408584237099, 0.004143272526562214, 0.039358071982860565, 0.02602502331137657, 0.03707973286509514, 0.0033319273497909307, 0.002495745662599802, -0.00351121393032372, -0.057425014674663544, 0.03362846374511719, 0.004948485642671585, -0.02720024436712265, -0.029484430328011513, 0.05846112221479416, 0.030327875167131424, -0.03255663439631462, -0.05230807885527611, 0.017241964116692543, -0.06159446761012077, -0.004313870333135128, -0.015110835433006287, 0.006386929657310247, -0.031304143369197845, 0.04248196631669998, -0.013461309485137463, -0.002128957537934184, 0.04047727212309837, -0.005722384434193373, -0.04097801074385643, -0.031898319721221924, 0.1034168154001236, 0.07198789715766907, 0.07009574770927429, 0.01531150471419096, 0.07259567081928253, -0.014148748479783535, -0.04916471987962723, 0.008585749194025993, -0.003281756304204464, -0.03858330845832825, -0.04357330873608589, 0.03881486877799034, 0.039982616901397705, -0.02047865465283394, 0.0483214296400547, -0.021581361070275307, -0.04403305426239967, 0.007407402154058218, 0.057767245918512344, 0.012182350270450115, 0.05293302610516548, 0.027571769431233406, 0.02217048406600952, -0.01295238547027111, -0.07248101383447647, 0.030841905623674393, -0.031041167676448822, -0.0007524251122958958, 0.01259483303874731, -0.007915010675787926, 0.008102411404252052, 0.019151385873556137, 0.05496661737561226, 0.07451069355010986, -0.041923172771930695, 0.018824255093932152, -0.00994742102921009, 0.02204747498035431, -0.015650250017642975, 0.0017695630667731166, -0.002991034649312496, -0.02139897830784321, 0.002804417163133621, -0.02646934986114502, -0.047079358249902725, -0.016956882551312447, -0.009109143167734146, 0.02970818057656288, -0.03481117635965347, -0.006591239012777805, 0.0252824816852808, 0.021489016711711884, -0.024601297453045845, -0.07268758863210678, -0.032294031232595444, -0.013058368116617203, -0.03206126019358635, -0.013991382904350758, 0.038793932646512985, -0.0034015001729130745, -0.014765719883143902, -0.006902393419295549, -0.0175132155418396, -0.035913802683353424, 0.03035786747932434, -0.07047716528177261, -0.03158917650580406, 0.009185820817947388, 0.02514406107366085, 0.04996797814965248, 0.013853542506694794, 0.02309032902121544, -0.01555650494992733, -0.009147470816969872, -0.009534928947687149, 0.011535543017089367, 0.013690216466784477, -0.0033562486059963703, 0.010486344806849957, -0.0915587991476059, 0.022337879985570908, 0.032751403748989105, 0.005216871853917837, -0.048783183097839355, 0.027846066281199455, 0.034416563808918, 0.002973720198497176, 0.04087669029831886, -0.0040254853665828705, 0.026885375380516052, -0.026435768231749535, -0.0012998979073017836, 0.01240623090416193, 0.0309055894613266, 0.04295649752020836, -0.008865723386406898, 0.08862100541591644, 0.0006518045556731522, -0.008765227161347866, -0.0463273711502552, -0.014720404520630836, 0.0011237788712605834, 0.0013729375787079334, -0.008633173070847988, -0.029899409040808678, -0.01812458224594593, -0.06448407471179962, -0.042615171521902084, 0.02660028077661991, -0.019800301641225815, -0.015109975822269917, 0.017589077353477478, 0.0005958330584689975, -0.004541813861578703, 0.04284670948982239, -0.030517375096678734, 0.01859414391219616, -0.022123772650957108, -0.0031109973788261414, 0.02485811524093151, -0.009583055973052979, -0.0007580824312753975, -0.0020608811173588037, 0.012340514920651913, -0.04145984724164009, -0.0036306248512119055, 0.011380046606063843, 0.04860450327396393, 0.05417526885867119, -0.012087278999388218, -0.02728412114083767 ]
[ -0.07965055108070374, -0.01783512718975544, -0.03494277223944664, -0.033733174204826355, 0.02674236334860325, -0.027166223153471947, -0.020048154518008232, 0.03221491351723671, -0.0025750920176506042, -0.05559469386935234, 0.00860361848026514, -0.02994101494550705, -0.01016631256788969, 0.0014976680977270007, 0.09287171065807343, -0.004894030746072531, -0.020031670108437538, -0.07524096220731735, -0.0018054881365969777, -0.002061115810647607, -0.00822668056935072, -0.02870209328830242, -0.03393690288066864, -0.025934020057320595, 0.025013713166117668, 0.036658238619565964, 0.03839065134525299, -0.06642153114080429, 0.030953705310821533, -0.161118283867836, -0.008764087222516537, 0.029956623911857605, 0.058633290231227875, -0.021695232018828392, -0.024092692881822586, 0.05928307771682739, 0.03990143910050392, 0.015747195109725, -0.020388120785355568, 0.039711665362119675, -0.0021750698797404766, 0.025178879499435425, -0.043206267058849335, -0.005461203400045633, 0.037441324442625046, 0.014911869540810585, 0.0032127697486430407, -0.06270744651556015, -0.017843544483184814, 0.010918167419731617, -0.06668148934841156, -0.039839599281549454, -0.009429489262402058, -0.024482646957039833, -0.018897410482168198, 0.03197964280843735, 0.03328804299235344, 0.053390927612781525, -0.022846275940537453, 0.009164271876215935, 0.010235995054244995, -0.010325062088668346, -0.137091264128685, 0.1079101487994194, 0.03922036290168762, 0.06712017208337784, -0.0230388306081295, 0.022213265299797058, 0.008259533904492855, 0.08997918665409088, 0.010844768956303596, 0.009910853579640388, -0.023127838969230652, 0.04368503764271736, 0.02803015522658825, 0.005531884264200926, 0.006272224709391594, 0.024253278970718384, 0.043862733989953995, -0.05346635729074478, -0.029217321425676346, -0.009792264550924301, 0.007719823624938726, -0.03778364881873131, -0.03271152824163437, 0.02172350324690342, -0.02370072342455387, 0.03825650364160538, -0.001156328245997429, 0.019068479537963867, 0.027797069400548935, -0.0031734444200992584, 0.011601841077208519, 0.030789338052272797, -0.07141965627670288, -0.05399182066321373, 0.009276827797293663, 0.024676164612174034, -0.04111204296350479, 0.41349664330482483, -0.04040459543466568, -0.018080895766615868, 0.09716387838125229, 0.029665866866707802, -0.023913079872727394, -0.023145031183958054, 0.045005373656749725, -0.05897681787610054, 0.04397866129875183, -0.05024680495262146, -0.004147082567214966, 0.00046917505096644163, 0.05305926501750946, -0.04279228299856186, 0.0020328767132014036, 0.04218382388353348, 0.06008986756205559, 0.013578676618635654, 0.03058166429400444, -0.0009961978066712618, 0.0032473306637257338, -0.002088960027322173, 0.03066195175051689, -0.020374786108732224, -0.013809112831950188, -0.04222627356648445, 0.019529610872268677, 0.06555309891700745, 0.041990090161561966, 0.005086731165647507, 0.09284918755292892, -0.04937956482172012, -0.04475698620080948, -0.015061796642839909, -0.007429423741996288, 0.007171589881181717, 0.021502820774912834, -0.009668564423918724, 0.012856428511440754, 0.02775608003139496, 0.025200752541422844, -0.020961612462997437, 0.043870724737644196, -0.023250937461853027, -0.04821288213133812, 0.11680980771780014, 0.019399555400013924, -0.026717042550444603, -0.009415377862751484, -0.022428598254919052, -0.01857002265751362, 0.012018784880638123, -0.007497776299715042, -0.06700558960437775, 0.027431512251496315, -0.009934465400874615, 0.14088892936706543, -0.031575560569763184, -0.04953019320964813, -0.015968166291713715, -0.040528424084186554, -0.013855413533747196, -0.04882493242621422, 0.03152156248688698, 0.08528454601764679, -0.06714598834514618, -0.01854732446372509, 0.002132364781573415, 0.010138167068362236, -0.08684580028057098, 0.0018552978290244937, 0.01913432776927948, -0.025575576350092888, 0.036798905581235886, 0.08073818683624268, -0.013078807853162289, -0.04393510892987251, 0.0143069913610816, 0.04182104393839836, 0.03303545340895653, 0.034386131912469864, -0.0028966532554477453, -0.01915166527032852, 0.008290454745292664, -0.01924348808825016, -0.05546756088733673, -0.03307224437594414, -0.04144904762506485, -0.007401541341096163, 0.0037807305343449116, -0.003107911441475153, -0.0010267882607877254, -0.062314216047525406, 0.08204982429742813, -0.022574877366423607, -0.019151311367750168, 0.04053579270839691, -0.030223432928323746, -0.04770731180906296, -0.0046759117394685745, -0.10085731744766235, 0.01858161762356758, -0.05743769556283951, 0.02255968004465103, -0.04440392553806305, 0.03726331517100334, 0.08716622740030289, -0.041349366307258606, 0.10510419309139252, 0.051106035709381104, -0.03464635834097862, -0.052754420787096024, 0.013417157344520092, 0.013529431074857712, 0.02155439183115959, -0.033675648272037506, -0.0039957319386303425, 0.031201926991343498, -0.02115599252283573, 0.020104102790355682, -0.020546769723296165, -0.05426780879497528, -0.032374512404203415, -0.3326095640659332, -0.026112942025065422, 0.003262435318902135, -0.021231673657894135, 0.021869471296668053, -0.06294012069702148, 0.03259671479463577, -0.01661205291748047, -0.03371092304587364, 0.01835530437529087, 0.07094448059797287, -0.028096633031964302, 0.003784236731007695, -0.07027009129524231, 0.012724723666906357, 0.025188889354467392, -0.030094685032963753, -0.031855419278144836, -0.042337626218795776, 0.01099175401031971, 0.014808165840804577, 0.016077345237135887, 0.0035530850291252136, -0.061494093388319016, -0.024191711097955704, -0.03983617201447487, 0.08738917112350464, 0.003222821978852153, 0.09884388744831085, -0.04185423254966736, 0.03409478813409805, 0.013358787633478642, 0.01955292373895645, -0.11497301608324051, -0.0044258469715714455, -0.02519972436130047, -0.004238774534314871, -0.0552886500954628, 0.03985215350985527, -0.04056819528341293, -0.020632004365324974, 0.01720372587442398, -0.05731379985809326, -0.0240189041942358, -0.09006143361330032, 0.007104044780135155, -0.01855108141899109, -0.02359667420387268, -0.022021999582648277, 0.044012539088726044, 0.02403130568563938, -0.0031879127491265535, 0.002293424680829048, 0.006520001217722893, -0.04808974638581276, -0.01945124939084053, -0.09777342528104782, 0.0008473963825963438, -0.019891658797860146, 0.008535882458090782, 0.009772147983312607, 0.08525647968053818, 0.017374055460095406, -0.07403382658958435, 0.007219371851533651, -0.0035874093882739544, -0.014681988395750523, 0.016319869086146355, 0.0708938017487526, 0.015488251112401485, -0.03893016278743744, 0.05960460379719734, 0.006991359870880842, -0.01461419090628624, 0.00885226670652628, 0.028190484270453453, -0.0026760390028357506, 0.027959676459431648, 0.008922296576201916, -0.020742055028676987, 0.02193300984799862, -0.0382118821144104, 0.025347361341118813, -0.008453544229269028, 0.00024966607452370226, 0.005659028887748718, -0.007299639750272036, -0.040445901453495026, 0.04658917710185051, 0.03306300938129425, -0.03238167613744736, 0.01389404572546482, 0.0004711411602329463, -0.045754846185445786, 0.0675279051065445, -0.006382510531693697, -0.23101329803466797, 0.04242221266031265, 0.04869259521365166, 0.04742177575826645, 0.002293060766533017, 0.04657065495848656, 0.04388073831796646, -0.059531211853027344, -0.019957266747951508, 0.005409304518252611, 0.05764889344573021, 0.0064650955609977245, -0.014942407608032227, -0.020306941121816635, 0.0352783277630806, 0.016155650839209557, 0.06732417643070221, 0.006411938928067684, 0.010439460165798664, 0.0019617185462266207, 0.023437030613422394, 0.026332581415772438, 0.16798388957977295, 0.00822714064270258, 0.04360535740852356, -0.01088923029601574, -0.004024505149573088, 0.017078880220651627, 0.06461149454116821, 0.0034801948349922895, 0.015258489176630974, 0.008114024065434933, 0.04968653991818428, -0.004539975430816412, 0.020585011690855026, -0.06384522467851639, -0.033639367669820786, 0.02726626582443714, 0.035216908901929855, -0.004998980090022087, 0.010587223805487156, -0.0030881171114742756, -0.0643959492444992, -0.00350610981695354, 0.07472477853298187, 0.028624625876545906, 0.024912189692258835, -0.07098597288131714, -0.08628465980291367, -0.013787963427603245, -0.016541874036192894, -0.02499338798224926, -0.0048017119988799095, 0.0059380903840065, 0.024637794122099876, 0.06727492064237595, 0.01746133342385292, -0.028138602152466774, -0.013006138615310192, -0.009742540307343006, -0.023332027718424797, -0.014107284136116505, 0.11778341978788376, 0.04978031665086746, 0.02820274420082569 ]
[ 0.011491426266729832, -0.0034547396935522556, -0.020589008927345276, 0.0008843045798130333, 0.00010813209519255906, 0.009785346686840057, 0.007026823703199625, 0.0032938902731984854, 0.010968884453177452, 0.02045162208378315, 0.01349438726902008, 0.022749537602066994, 0.015172417275607586, -0.01638512872159481, 0.03286632522940636, -0.02311594970524311, -0.032117027789354324, -0.04602230340242386, 0.022274240851402283, -0.007621803320944309, -0.018519967794418335, 0.01622914895415306, 0.005732494406402111, -0.01328035444021225, -0.026210978627204895, 0.03548266366124153, 0.0015759094385430217, -0.019953304901719093, 0.02571195550262928, -0.12715303897857666, -0.023549456149339676, -0.009648987092077732, -0.012718664482235909, 0.006015252321958542, -0.022344551980495453, 0.00786309689283371, 0.011471029371023178, 0.021702993661165237, 0.01339152455329895, -0.016229206696152687, -0.049356915056705475, 0.00003145133450743742, 0.015670064836740494, 0.01013712864369154, -0.0093927513808012, -0.0029338772874325514, 0.014472190290689468, -0.042687881737947464, -0.012018974870443344, -0.0020030506420880556, -0.014780711382627487, -0.008967801928520203, -0.004095063079148531, 0.013443447649478912, 0.02042076736688614, 0.0033707355614751577, 0.01232842355966568, -0.010527854785323143, -0.03871679678559303, -0.01076460536569357, -0.021055182442069054, -0.033285342156887054, -0.0745539516210556, -0.016624851152300835, 0.009118196554481983, -0.0030483179725706577, -0.039743851870298386, 0.019595148041844368, -0.039716605097055435, 0.0010678879916667938, -0.009614772163331509, 0.02480919472873211, -0.010564492084085941, -0.018933219835162163, 0.0456242561340332, -0.013890517875552177, 0.007003514561802149, -0.017074555158615112, 0.03819592669606209, -0.02023991383612156, -0.036390021443367004, 0.036717019975185394, -0.0040204450488090515, -0.015572584234178066, 0.010516230016946793, -0.003588991006836295, 0.010234154760837555, 0.005758959334343672, -0.008310697972774506, 0.011842269450426102, -0.04276704415678978, 0.05050875246524811, -0.005154378246515989, 0.017446337267756462, -0.09445657581090927, -0.014768249355256557, -0.025603951886296272, -0.002855741884559393, -0.0148114999756217, 0.8633781671524048, -0.024255074560642242, 0.01991547830402851, 0.04489106312394142, -0.030860770493745804, -0.012094479985535145, 0.001661347458139062, 0.0038155908696353436, -0.009388353675603867, 0.029158499091863632, -0.06466374546289444, -0.00027606694493442774, 0.020009491592645645, 0.02499501034617424, 0.031232282519340515, 0.013293665833771229, 0.014272878877818584, 0.03965151309967041, 0.0035529276356101036, 0.009582849219441414, 0.0019173541804775596, -0.018524453043937683, 0.008434425108134747, 0.012418068014085293, 0.041332654654979706, -0.010047705844044685, -0.19213953614234924, 0.0014503342099487782, -8.31113664686919e-33, 0.022031962871551514, 0.01724536344408989, -0.006326574366539717, 0.005507117602974176, 0.01408489141613245, -0.006862481124699116, 0.05234011262655258, 0.017659073695540428, -0.015417991206049919, -0.009651390835642815, -0.011444685980677605, -0.00387650728225708, -0.0052771116606891155, -0.018324490636587143, 0.036133669316768646, -0.023347659036517143, 0.010937467217445374, 0.01649276167154312, -0.004069911781698465, -0.00022405853087548167, 0.056959982961416245, 0.0425434373319149, 0.005871486850082874, -0.02752968668937683, -0.006690070498734713, 0.015329303219914436, -0.006224222481250763, 0.009550828486680984, 0.003092911560088396, -0.03329290449619293, -0.023295167833566666, 0.02299271523952484, -0.05038296803832054, -0.038036976009607315, 0.004112801514565945, -0.038919441401958466, -0.021190736442804337, 0.011744881980121136, 0.003073533531278372, -0.0394546315073967, -0.01906399242579937, -0.007290068548172712, -0.020468857139348984, -0.018321633338928223, -0.018719365820288658, 0.020135095342993736, 0.01047462783753872, 0.015361816622316837, 0.01811850257217884, 0.022612154483795166, -0.00795926433056593, 0.007761141285300255, 0.011453862302005291, 0.012287197634577751, -0.012578513473272324, 0.005436662584543228, -0.01901782676577568, 0.006804816424846649, 0.025491870939731598, 0.03351696580648422, 0.005632409360259771, 0.009604258462786674, -0.012120925821363926, 0.023662518709897995, -0.011364377103745937, 0.003070033621042967, 0.0385955348610878, 0.008256819099187851, 0.043017420917749405, -0.02709141932427883, -0.04914296418428421, 0.021328914910554886, -0.010528119280934334, -0.015736548230051994, 0.006197603885084391, -0.009911064058542252, -0.001738830003887415, 0.004571958445012569, -0.011746054515242577, 0.03934093937277794, 0.0011004384141415358, 0.002961277961730957, -0.006477754563093185, -0.039288681000471115, -0.02614520490169525, 0.03457644209265709, 0.03322046622633934, -0.03389962390065193, -0.013952386565506458, 0.006146108265966177, 0.02203839085996151, 0.0063133686780929565, -0.002511262660846114, -0.00897439755499363, 0.021226104348897934, 7.637230878330558e-33, 0.004438903648406267, -0.0235533956438303, -0.023427896201610565, -0.00903942622244358, 0.019573891535401344, -0.01822695881128311, 0.018166102468967438, 0.0032679918222129345, -0.04484834894537926, 0.018964052200317383, -0.016041511669754982, -0.012710785493254662, -0.00919304322451353, 0.016773702576756477, 0.01329770963639021, -0.035669561475515366, -0.00006674410542473197, -0.01284098718315363, 0.05128493905067444, -0.002778795547783375, 0.009649040177464485, 0.006971154827624559, -0.0034307341556996107, 0.010175165720283985, 0.02729038894176483, 0.056121353060007095, -0.024035079404711723, 0.02091200463473797, -0.0016459719045087695, 0.03701411560177803, -0.0007087480626069009, -0.0001109623335651122, 0.026292065158486366, -0.018480023369193077, -0.029620574787259102, 0.002549896016716957, -0.008695047348737717, 0.009786607697606087, -0.016589287668466568, 0.0015926607884466648, 0.024192556738853455, 0.006418048869818449, -0.00808460172265768, 0.0045471228659152985, 0.005033198278397322, 0.020871667191386223, 0.007400570437312126, -0.023822080343961716, -0.02687465399503708, 0.036436282098293304, -0.003209795570001006, 0.018815750256180763, 0.0037793517112731934, -0.04229625314474106, -0.005615226458758116, -0.020673366263508797, 0.010322985239326954, -0.013387201353907585, -0.009395526722073555, 0.017792070284485817, -0.013876033946871758, -0.003770657815039158, -0.03555202856659889, 0.006427485030144453, -0.012623298913240433, -0.01934215985238552, -0.02269219048321247, -0.009827843867242336, 0.0298132486641407, 0.00761349406093359, -0.022838816046714783, 0.01765560358762741, 0.02781272493302822, 0.014178682118654251, 0.004730711691081524, 0.004057660698890686, -0.018440252169966698, 0.002471952000632882, -0.05922379717230797, 0.04086540639400482, 0.006126201245933771, -0.018119145184755325, 0.011534031480550766, 0.04216284304857254, -0.009602035395801067, 0.026790544390678406, 0.005011363420635462, 0.019426928833127022, -0.01801133155822754, -0.029202695935964584, 0.011845887638628483, -0.005182094871997833, 0.009519469924271107, 0.019998813048005104, -0.014371193945407867, -1.3642322826967757e-8, -0.04122207313776016, 0.021565938368439674, -0.010478506796061993, -0.007921896874904633, 0.020644759759306908, 0.034742437303066254, -0.009315629489719868, -0.007425312418490648, -0.033599916845560074, 0.010269250720739365, 0.025227008387446404, -0.026607919484376907, -0.004821767099201679, 0.01798330992460251, 0.009893704205751419, -0.0073127541691064835, -0.007319271564483643, -0.013863099738955498, 0.022819532081484795, 0.00039302592631429434, 0.04071171209216118, 0.04007156565785408, 0.0005695566069334745, 0.02107030339539051, 0.00026439089560881257, 0.007896829396486282, -0.03341229632496834, -0.07766462862491608, -0.02160927839577198, 0.0019235408399254084, 0.00728946877643466, -0.027776135131716728, -0.013572019524872303, 0.03933671489357948, -0.022189714014530182, -0.03283319249749184, 0.010809255763888359, 0.04032421484589577, -0.03462060168385506, -0.0030484595336019993, -0.009124775417149067, -0.004134200047701597, 0.007345267571508884, -0.030002275481820107, -0.021842611953616142, 0.011325518600642681, -0.006840024143457413, -0.0351225882768631, 0.01794923096895218, -0.02921629138290882, 0.014897036366164684, 0.008521958254277706, 0.04004160314798355, 0.039339616894721985, 0.029537100344896317, 0.024746736511588097, -0.023303458467125893, -0.00018495270342100412, -0.03922203183174133, 0.0012065987102687359, 0.009012816473841667, 0.033028893172740936, -0.03693592920899391, -0.01696206070482731 ]
learning-alone-or-learning-together
https://markhneedham.com/blog/2009/01/25/learning-alone-or-learning-together
false
2009-06-04 20:30:47
Coding: Why do we extract method?
[ "coding", "refactoring", "extract-method" ]
[ "Coding" ]
Ever since I've read http://www.markhneedham.com/blog/2008/09/15/clean-code-book-review/[Uncle Bob's Clean Code book] my approach to coding has been all about the 'http://c2.com/cgi/wiki?ExtractMethod[extract method]' refactoring - I pretty much look to extract method as much as I can until I get to the point where extracting another method would result in me just describing the language semantics in the method name. One of the approaches that I've come across with regards to doing this refactoring is that it's only used when there is duplication of code and we want to reduce that duplication so that it's all in one place and then call that method from two places. While this is certainly a valuable reason for doing extracting method I think there are other reasons why we would want to do it more frequently than just this. == Expressing intent One of the main reasons we design code in an object oriented way is that it often allows us to describe the intent of our code more clearly than we would be able to it we wrote it with a more procedural approach and I think the same thing applies when extracting methods inside a class. Quite often when reading code we're interested in knowing a bit more about a class than we can derive from its name but we're not really that interested in all the low level details of its implementation. If methods have been extracted abstracting all that detail away from us then *we're able to quickly glance at the class and fairly quickly work out what is going on* and then move back to working out what we were actually doing in the first place. == It makes code easier to read A consequence of extracting that detail away is that it makes the code easier to read because *we don't have to hold as much information about what is going on in our head at any one time*. The aim is to try and ensure that the chunks of code that we extract into a method are all at the same level of abstraction - Neal Ford refers to this as the Single Level of Abstraction Principle (SLAP) in http://www.markhneedham.com/blog/2008/09/05/the-productive-programmer-book-review/[The Productive Programmer]. We would therefore not have a chunk of code which described some business concept or rule mixed in with a bit of code that was interacting with the database as an extreme example. I find myself most frequently extracting method when I come across several lines of code doing similar operations, the aim being that when we read the code we don't need to care about each of the individual operations but just the fact that operations are being done. == It exposes semantic errors One benefit which I hadn't actually appreciated until recently is that extracting a method can actually help to *identify areas of code which shouldn't actually be where they are*. We were recently working on some code around starting up a Selenium session where the 'ResetSeleniumSession' method was doing the following: [source,csharp] ---- public ISelenium ResetSeleniumSession() { if(Selenium != null) { Selenium.Stop(); } Selenium = new CustomSelenium(....) Selenium.Start() Selenium.Open(ApplicationRootUrl); Selenium.WindowMaximize(); } ---- We didn't think those last two lines belonged in there so we extracted them out so that we could make sure that the opening of the selenium client was still being done in all the places that ResetSeleniumSession was being called: [source,csharp] ---- public ISelenium ResetSeleniumSession() { ... Selenium = new CustomSelenium(....) Selenium.Start() LoadAndMaximise(ApplicationRootUrl); } ---- Later on another colleague passed by and saw us looking at this method and pointed out that it was wrong that we were launching the client from inside this method and had probably been added into that method by mistake! Maybe that code would have been spotted anyway but it had been like that for a while and I think extracting it out into its own method to make it more obvious was useful for exposing that. == In Summary That's all I can think of for the moment although I'm sure there are more reasons why we'd want to extract method. From my experience extract method is the most useful refactoring that we can do and it can quickly make a bit of code that seems impossible to understand somewhat readable and it can help keep new code that we write easy for others to understand instead of becoming a legacy mess.
null
null
[ 0.008571155369281769, 0.005516362842172384, -0.02037620358169079, 0.01602623052895069, 0.06965945661067963, 0.010049433447420597, 0.03551783040165901, 0.017571987584233284, 0.025276044383645058, -0.02554706670343876, -0.012757306918501854, 0.004327398259192705, -0.07394438982009888, 0.0009870186913758516, -0.02503281831741333, 0.06995419412851334, 0.07220426201820374, -0.03833816573023796, 0.02465144731104374, 0.013171221129596233, 0.016374513506889343, 0.08748003840446472, 0.0002371604205109179, 0.026190541684627533, 0.020673565566539764, 0.02747885137796402, 0.0028424595948308706, 0.000006194697107275715, -0.06902845203876495, -0.006930422969162464, 0.053839750587940216, 0.014336508698761463, 0.02634676918387413, -0.004933030344545841, 0.02471330016851425, -0.027314113453030586, -0.008650552481412888, 0.00796602014452219, 0.011279989033937454, 0.016160519793629646, -0.05252949893474579, 0.04089239984750748, -0.010353236459195614, 0.010641127824783325, -0.04972558096051216, -0.0016693950165063143, -0.03462672233581543, -0.0045859552919864655, -0.03266282007098198, -0.013773092068731785, -0.06412480026483536, 0.019829249009490013, -0.00913091842085123, -0.0012394103687256575, -0.008259980008006096, 0.08505306392908096, 0.015487248077988625, -0.0768875777721405, -0.0028131017461419106, -0.04480988532304764, -0.008088657632470131, -0.021302133798599243, -0.003433376317843795, 0.036688849329948425, 0.028367463499307632, -0.006204772274941206, -0.02172563038766384, 0.035754214972257614, -0.033156197518110275, -0.006461725570261478, -0.0063248006626963615, 0.010362961329519749, -0.034874413162469864, 0.0008849304285831749, -0.0021252750884741545, -0.02678176946938038, 0.014990352094173431, 0.08022645115852356, -0.009903909638524055, 0.04996902868151665, -0.01637410931289196, 0.01674853451550007, 0.020965678617358208, 0.0164690800011158, 0.031559642404317856, -0.03596439212560654, -0.013923808932304382, -0.00006819635018473491, -0.03314429894089699, 0.05652313306927681, -0.010230458341538906, -0.060287464410066605, 0.0076202149502933025, 0.03398015722632408, -0.0021660563070327044, 0.014588551595807076, 0.02792760729789734, 0.004723756108433008, 0.007944883778691292, -0.009429733268916607, -0.025796856731176376, -0.036053694784641266, 0.024308985099196434, 0.009372393600642681, -0.07323265075683594, -0.015143204480409622, -0.016834145411849022, -0.019919948652386665, 0.009591780602931976, -0.011931736953556538, -0.032504476606845856, 0.024641355499625206, -0.029151935130357742, -0.014766598120331764, -0.0719391480088234, 0.04683605581521988, -0.008728306740522385, -0.03478962928056717, -0.02002658136188984, 0.004743421915918589, 0.04352247342467308, 0.04594862088561058, 0.019464148208498955, 0.09120922535657883, 0.02014879696071148, 0.002052095951512456, -0.034478768706321716, 0.07517561316490173, -0.032489776611328125, -0.04321929067373276, -0.002066435758024454, 0.04503880813717842, -0.021893247961997986, -0.0026868884451687336, -0.008465373888611794, -0.022357778623700142, -0.03021993115544319, 0.002214358188211918, 0.017518343403935432, 0.03546163812279701, -0.022690001875162125, -0.059431493282318115, 0.021799147129058838, -0.00788654014468193, -0.0069524794816970825, 0.00014186673797667027, -0.008768058381974697, -0.008826218545436859, -0.009166126139461994, -0.014652643352746964, 0.004114238545298576, 0.06245840713381767, 0.016034996137022972, -0.04762997478246689, 0.03544839471578598, 0.09407539665699005, 0.011276023462414742, 0.03256644681096077, 0.003955439664423466, 0.034829508513212204, 0.05661273002624512, 0.036734580993652344, 0.008135569281876087, 0.009760065004229546, 0.02208644151687622, -0.002387293381616473, 0.004621980711817741, 0.05020013079047203, 0.0036776945926249027, 0.00397955346852541, -0.05209970474243164, -0.03357001021504402, 0.07091929763555527, -0.05915989726781845, -0.00987294502556324, 0.020960506051778793, 0.07362568378448486, 0.019397852942347527, 0.07186867296695709, 0.0007392566767521203, -0.06913097947835922, 0.006234361324459314, -0.0024762104731053114, 0.011371214874088764, 0.0017910887254402041, -0.02923419512808323, 0.07412134110927582, 0.020822642371058464, 0.007045513018965721, 0.029835140332579613, -0.0748465359210968, -0.07795829325914383, -0.009799076244235039, -0.0352490209043026, 0.07584425061941147, -0.009684761054813862, 0.007144516333937645, 0.08232750743627548, 0.014206879772245884, 0.05764574557542801, 0.03926367685198784, 0.015363936312496662, -0.012698044069111347, -0.029432671144604683, -0.01969042606651783, 0.033745743334293365, 0.03726090490818024, -0.0002905105648096651, -0.046896789222955704, 0.014544478617608547, 0.009571057744324207, 0.002223817165941, 0.04136936739087105, -0.009382439777255058, 0.028691062703728676, 0.029343245550990105, 0.06148315966129303, -0.025587137788534164, 0.07574652135372162, -0.0685039758682251, -0.010241728276014328, 0.014159866608679295, -0.027545901015400887, 0.0063241021707654, 0.011430144309997559, 0.11553037166595459, 0.06313195079565048, -0.04272560402750969, -0.04975214600563049, 0.006448548287153244, 0.020473143085837364, -0.05056097358465195, -0.02508779615163803, -0.022430531680583954, 0.003914035391062498, -0.006368993781507015, -0.04627475142478943, -0.0009455104591324925, 0.011718383990228176, -0.031207971274852753, -0.006640421226620674, 0.06279847770929337, -0.024148378521203995, 0.0260758139193058, 0.013072731904685497, -0.001721844426356256, -0.003894576570019126, -0.01615064963698387, -0.045036621391773224, 0.019900023937225342, 0.009887885302305222, -0.01018349640071392, 0.0672597736120224, -0.047125812619924545, -0.02900981716811657, -0.026575671508908272, -0.03988486900925636, 0.002018991392105818, 0.04246801510453224, 0.06154010444879532, -0.016831515356898308, 0.04886478930711746, 0.0013511175056919456, 0.01708490401506424, -0.004286164417862892, -0.054552920162677765, -0.011192557401955128, -0.03415850177407265, 0.015303854830563068, 0.04247410222887993, -0.019515231251716614, 0.050683844834566116, 0.015726232901215553, 0.018088078126311302, -0.03475198522210121, -0.027454743161797523, 0.044606633484363556, 0.0009029162465594709, -0.02400297112762928, -0.03992455452680588, -0.061916060745716095, 0.04910967871546745, -0.04769742861390114, -0.024228285998106003, -0.0008790973806753755, -0.08909571170806885, 0.0651237815618515, -0.06115443632006645, -0.06176166236400604, 0.018216153606772423, 0.03592412546277046, 0.03179202973842621, -0.007652380038052797, 0.02453978732228279, 0.08145048469305038, 0.006174496375024319, 0.005712462123483419, -0.02401844784617424, 0.011640366166830063, 0.01762630045413971, 0.0069298213347792625, -0.0004803529300261289, 0.03454725816845894, 0.010537069290876389, -0.014232302084565163, -0.02550777792930603, 0.024314815178513527, 0.016349466517567635, -0.27257707715034485, 0.02435542643070221, -0.011174657382071018, -0.05839572846889496, 0.0100397365167737, -0.011833162978291512, -0.013552559539675713, -0.04045788571238518, -0.00779695063829422, 0.035542868077754974, -0.0530911386013031, -0.0666465312242508, -0.010380810126662254, 0.06453708559274673, -0.0037605797406286, 0.02241704612970352, -0.010262367315590382, -0.030894940719008446, -0.011245710775256157, 0.0801263228058815, -0.010705390013754368, -0.06891699880361557, -0.006778690032660961, 0.04481018707156181, 0.01672830991446972, 0.03330012038350105, -0.09748342633247375, 0.025799138471484184, -0.05049772933125496, -0.0002166881604352966, -0.016224145889282227, 0.005420954432338476, 0.0014722651103511453, -0.03688201680779457, -0.02575021982192993, -0.015026096254587173, 0.017116444185376167, 0.02893933095037937, 0.0004943814710713923, 0.0477587953209877, -0.030138719826936722, -0.03321720287203789, -0.020575925707817078, 0.004174625966697931, 0.06357860565185547, 0.02136324532330036, -0.06848280876874924, -0.02834317833185196, -0.012851886451244354, 0.08421139419078827, -0.04684602469205856, -0.038242023438215256, -0.002387592103332281, 0.04842718318104744, -0.007814206182956696, -0.04117025434970856, 0.01512829028069973, -0.026068350300192833, -0.034096892923116684, -0.03876620903611183, -0.028806187212467194, -0.044208090752363205, -0.0016364469192922115, -0.0462024100124836, -0.0015580658800899982, -0.04999946802854538, -0.0657067596912384, -0.0033412366174161434, 0.06252308189868927, 0.04626878723502159, -0.026346644386649132, 0.02008926495909691, -0.0018479881109669805, -0.10675908625125885, -0.028651507571339607, -0.027901597321033478, -0.023323694244027138, -0.010694245807826519, 0.0074440534226596355, 0.0591794028878212, -0.03957512229681015, -0.041244007647037506, 0.030914070084691048, 0.014800289645791054, 0.023409128189086914, -0.019629916176199913, 0.015721449628472328, -0.00442479969933629, -0.012339703738689423, 0.0038605539593845606, 0.07905131578445435, 0.028475411236286163, -0.03286190703511238, -0.04220699518918991, 0.030491149052977562, 0.019676581025123596, 0.04398082569241524, -0.02168329991400242, 0.015721037983894348, 0.00399234751239419, 0.01988089457154274, -0.05303092673420906, 0.01641109399497509, -0.020313728600740433, -0.011712375096976757, -0.013500922359526157, -0.05371992662549019, 0.029443873092532158, 0.04148542508482933, 0.03588972985744476, -0.007267690729349852, -0.03343546390533447, 0.007278184872120619, -0.030523451045155525, -0.01881408877670765, -0.022429831326007843, -0.005950744729489088, 0.03563565015792847, -0.02306388132274151, -0.014432656578719616, -0.044542837888002396, -0.0014927134616300464, -0.008095254190266132, -0.008540757931768894, -0.0745701715350151, -0.06055925041437149, -0.007148122414946556, -0.010270454920828342, 0.00959605909883976, 0.04715180769562721, -0.010986602865159512, 0.02828151546418667, 0.010654792189598083, -0.04601560905575752, 0.007780223153531551, -0.013261971063911915, -0.039947882294654846, -0.03211315721273422, -0.02166290208697319, -0.005135882180184126, 0.010139061138033867, 0.019343921914696693, -0.004401865880936384, 0.024383801966905594, 0.03398028016090393, 0.004519128706306219, 0.03586320951581001, -0.01345858070999384, -0.0009724349365569651, 0.018247542902827263, 0.010720807127654552, -0.09040115028619766, 0.02757575549185276, -0.04741491749882698, -0.007786269299685955, -0.026249423623085022, 0.008202917873859406, -0.00650979345664382, -0.04802802950143814, -0.0014689185190945864, 0.047391023486852646, -0.02519673854112625, -0.029162943363189697, -0.03890937194228172, 0.011531357653439045, 0.06411515176296234, -0.031192641705274582, 0.04710783436894417, -0.02639380283653736, -0.03951537236571312, 0.011946193873882294, 0.009353634901344776, -0.052681028842926025, 0.019165292382240295, 0.03093053214251995, -0.022840479388833046, -0.0067673963494598866, 0.010482700541615486, 0.03650742769241333, 0.03274685889482498, -0.009150417521595955, -0.05710458755493164, 0.01816047914326191, 0.0051191081292927265, 0.059587303549051285, 0.0015775185311213136, 0.0108384033665061, -0.010712411254644394, -0.02241852506995201, -0.013818396255373955, -0.04472248628735542, -0.004534471780061722, -0.00002199425762228202, 0.049580905586481094, -0.040718358010053635, -0.0653744786977768, 0.050460368394851685, 0.03884654492139816, 0.009826675057411194, 0.012750917114317417, 0.009346365928649902, 0.005316229071468115, -0.01122960913926363, 0.02393903210759163, 0.04163717105984688, -0.05453503504395485, 0.0010305894538760185, -0.0013437347952276468, 0.013553584925830364, 0.023191500455141068, 0.014151540584862232, -0.05241168662905693, -0.02168501354753971, -0.04503750801086426, -0.012471038848161697, -0.04141038656234741, -0.011787816882133484, -0.02975105680525303, 0.006617341190576553, 0.008350551128387451, -0.010372358374297619, -0.012891724705696106, -0.012598163448274136, 0.0008399367216043174, -0.0060624172911047935, -0.005210966803133488, -0.03658391907811165, 0.017876723781228065, 0.010095310397446156, -0.03384144976735115, 0.005712040234357119, -0.02666328102350235, 0.03495938330888748, 0.03326647728681564, 0.0005264991777949035, -0.015594751574099064, -0.03490705043077469, 0.014647151343524456, -0.0031802488956600428, 0.034332506358623505, -0.0013425006764009595, -0.01882428675889969, -0.01336137019097805, -0.01055954210460186, -0.05280835181474686, 0.013585859909653664, -0.03313543647527695, -0.04974024370312691, 0.02343359775841236, 0.055919576436281204, 0.02148853987455368, 0.04124493524432182, 0.007507226429879665, -0.02241133712232113, 0.06297348439693451, -0.07643546164035797, -0.03585342690348625, -0.028503643348813057, -0.07089322060346603, 0.02464180439710617, 0.009975180961191654, 0.038158118724823, -0.028054768219590187, 0.0323578342795372, 0.019865654408931732, 0.039163459092378616, 0.03283533826470375, 0.015902111306786537, 0.052235640585422516, -0.06236082315444946, 0.017274150624871254, -0.09065859764814377, 0.0008155751856975257, 0.05020997300744057, 0.01958727277815342, -0.022752240300178528, -0.03966710343956947, -0.03192821145057678, 0.03118067979812622, -0.07570891082286835, -0.00958595797419548, 0.036227401345968246, 0.02082233689725399, -0.01576146110892296, 0.005988570395857096, -0.06230517476797104, 0.012502790428698063, 0.021320568397641182, -0.029654793441295624, -0.0340607650578022, -0.054492805153131485, 0.05328180640935898, 0.023398401215672493, 0.023540539667010307, -0.026153549551963806, 0.009610654786229134, 0.0633527934551239, 0.0163369569927454, 0.014563627541065216, 0.02164565399289131, -0.015650494024157524, 0.03214861825108528, 0.016357025131583214, 0.005314697977155447, -0.02260507084429264, 0.001996078994125128, 0.005067831836640835, -0.05093315616250038, 0.021297503262758255, 0.009933249093592167, -0.04525629058480263, -0.021714042872190475, 0.06420597434043884, 0.024928811937570572, -0.020396366715431213, -0.048993196338415146, 0.005263828206807375, -0.06661665439605713, -0.0029719327576458454, -0.018621249124407768, -0.0012870685895904899, -0.025785040110349655, 0.05459080636501312, 0.009605045430362225, -0.01967143826186657, 0.059627387672662735, -0.020053891465067863, -0.02765830047428608, -0.033320315182209015, 0.0889318659901619, 0.06590195745229721, 0.07128706574440002, -0.0077680787071585655, 0.041897084563970566, -0.01616957038640976, -0.03308941051363945, 0.02042408101260662, 0.0005426407442428172, 0.005850025452673435, -0.028224710375070572, 0.020846715196967125, 0.05437762662768364, -0.013116962276399136, 0.05865775793790817, -0.032016195356845856, -0.012275897897779942, -0.007279065903276205, 0.016817213967442513, 0.022845445200800896, 0.06844370067119598, 0.018367229029536247, 0.0053135850466787815, -0.016502143815159798, -0.04867853596806526, 0.031007641926407814, -0.012462007813155651, -0.02206783927977085, 0.0138399014249444, 0.011211891658604145, 0.014356689527630806, 0.023937104269862175, 0.027128394693136215, 0.07543810456991196, -0.02540317177772522, 0.023744141682982445, -0.002158041810616851, 0.031138131394982338, -0.0012876109685748816, -0.0050628348253667355, -0.03129037469625473, -0.03502886742353439, -0.0014393184101209044, -0.02307455614209175, -0.028260424733161926, -0.00290864915587008, -0.011764866299927235, 0.06526060402393341, -0.012592609971761703, 0.0011495721992105246, 0.003084615571424365, 0.03813571482896805, -0.024030350148677826, -0.05486642196774483, -0.06907185912132263, -0.03235286846756935, -0.034927159547805786, -0.0259796604514122, 0.046212583780288696, -0.01526506245136261, -0.029566016048192978, -0.02110842801630497, -0.017134057357907295, -0.025939812883734703, 0.052095070481300354, -0.0558214969933033, -0.00082093954551965, 0.0017735175788402557, 0.025372697040438652, 0.05393644794821739, 0.01972075179219246, 0.03713565319776535, -0.00021760626987088472, 0.002312549389898777, -0.018465884029865265, -0.008632080629467964, 0.025371067225933075, 0.012334924191236496, 0.011511568911373615, -0.08837316930294037, 0.0019419898744672537, 0.02022375352680683, 0.01319975033402443, -0.07146967202425003, 0.030881354585289955, 0.012206649407744408, -0.004060268867760897, 0.05021483451128006, -0.04356688633561134, 0.0108539629727602, -0.01831335388123989, -0.01746535301208496, -0.005260114558041096, 0.027303563430905342, 0.044682592153549194, -0.023830225691199303, 0.08327510952949524, 0.008768873289227486, -0.005783671047538519, -0.04029758274555206, -0.004532822407782078, -0.009036953561007977, 0.014648783951997757, -0.03520398586988449, -0.011625824496150017, -0.0034082334022969007, -0.06867596507072449, -0.02340412698686123, 0.024475988000631332, -0.0100210877135396, -0.03552135080099106, 0.03816339001059532, 0.03911327198147774, -0.06721910834312439, 0.021537870168685913, -0.030678847804665565, 0.04410431161522865, -0.026768270879983902, -0.006595260463654995, 0.004838027060031891, 0.015934495255351067, -0.00851703342050314, 0.018791472539305687, 0.011814601719379425, -0.028868183493614197, -0.0004130062006879598, -0.0008143226150423288, 0.03642330691218376, 0.04685113951563835, -0.007686972618103027, -0.008333985693752766 ]
[ -0.10596054047346115, -0.016668181866407394, -0.034699469804763794, -0.0414896234869957, 0.03472386673092842, -0.0617811419069767, -0.01967419497668743, 0.03292679414153099, 0.0005572142545133829, -0.022740771993994713, 0.0009877842385321856, -0.026161637157201767, -0.024346590042114258, -0.016314802691340446, 0.08157016336917877, 0.012695186771452427, 0.011404214426875114, -0.01684722863137722, 0.025249626487493515, -0.026177166029810905, 0.025569049641489983, -0.019858043640851974, -0.027906497940421104, -0.022704483941197395, 0.025547198951244354, 0.05541012063622475, 0.022635655477643013, -0.02598719298839569, 0.039019182324409485, -0.20288503170013428, -0.0019587422721087933, 0.04189935326576233, 0.03675755113363266, -0.03144993260502815, -0.0029019268695265055, 0.056217871606349945, 0.021037600934505463, 0.03982748091220856, -0.013459045439958572, 0.062110625207424164, 0.005489206872880459, 0.03342869132757187, -0.057803791016340256, -0.021259114146232605, 0.018421201035380363, 0.021389245986938477, -0.01269885990768671, -0.042448632419109344, -0.03235441818833351, 0.019189121201634407, -0.06643445044755936, -0.02153824269771576, -0.027541691437363625, -0.024613138288259506, -0.005329921375960112, 0.025089552626013756, 0.04957635700702667, 0.0920160710811615, 0.0026125700678676367, 0.006135337986052036, 0.02155867964029312, -0.023285435512661934, -0.12212051451206207, 0.08849824965000153, 0.047421377152204514, 0.0423407107591629, -0.02207990735769272, -0.020242583006620407, 0.030043618753552437, 0.09167475998401642, -0.0070646582171320915, -0.005156789440661669, -0.028883105143904686, 0.0504564493894577, 0.018789762631058693, -0.019641749560832977, 0.00010337943240301684, 0.01785247027873993, 0.01582399569451809, -0.04814588278532028, -0.054864998906850815, -0.023675713688135147, 0.015963584184646606, 0.0008787431288510561, -0.03877060115337372, 0.038732025772333145, -0.009363997727632523, 0.04908662289381027, 0.07223787903785706, 0.014754293486475945, 0.05314425006508827, -0.03948897123336792, 0.03980426862835884, 0.0008472759509459138, -0.06246859207749367, -0.009767379611730576, -0.011181710287928581, 0.012525109574198723, -0.020907267928123474, 0.41067856550216675, -0.05925682559609413, -0.044706594198942184, 0.06334114074707031, 0.02167920581996441, -0.02727891132235527, 0.003663439303636551, -0.010089813731610775, -0.0538187175989151, 0.0241652000695467, -0.043286703526973724, 0.006795208435505629, 0.023275936022400856, 0.05298112705349922, -0.05057591199874878, -0.0001173716300399974, 0.02228650636970997, 0.04135239124298096, -0.0015390361659228802, 0.0030931502114981413, -0.017039954662322998, -0.008081164211034775, -0.013413148000836372, 0.022667573764920235, -0.00008619150321464986, -0.012624173425137997, -0.026273371651768684, 0.0017411689041182399, 0.05470433458685875, 0.03542391210794449, 0.02391253598034382, 0.05813455954194069, -0.04029637947678566, -0.07875508069992065, -0.017441436648368835, 0.011315367184579372, 0.017815832048654556, 0.025987055152654648, -0.008583643473684788, -0.009726275689899921, 0.026368362829089165, 0.009083190001547337, 0.007824847474694252, 0.015874357894062996, -0.009046275168657303, -0.05814724043011665, 0.12740737199783325, -0.009650926105678082, -0.04386751353740692, -0.020104290917515755, -0.06509162485599518, -0.0015772918704897165, 0.03576755151152611, -0.020762363448739052, -0.059327974915504456, 0.02839382365345955, 0.008509038016200066, 0.08976396173238754, -0.016333574429154396, -0.07008910924196243, -0.006882063578814268, -0.024573730304837227, -0.009422711096704006, -0.06096705421805382, 0.0570850744843483, 0.05991596728563309, -0.062263619154691696, -0.027719881385564804, -0.010433412156999111, 0.02389637567102909, -0.058802321553230286, 0.0014858720824122429, 0.031429946422576904, -0.012461533769965172, 0.004305757116526365, 0.05188775062561035, -0.01573091931641102, -0.0471186637878418, -0.015462671406567097, 0.06602359563112259, 0.02232375368475914, 0.0562019869685173, 0.014540433883666992, -0.04621772840619087, 0.006781608797609806, -0.010913053527474403, -0.09371501207351685, -0.06113678589463234, -0.0013036460150033236, -0.023631976917386055, 0.02059200219810009, -0.039758890867233276, -0.0007602632977068424, -0.048124659806489944, 0.06700432300567627, -0.03506523370742798, -0.027038970962166786, 0.04303373768925667, -0.00873362272977829, -0.029225800186395645, -0.011821634136140347, -0.031179742887616158, 0.05887774005532265, -0.03740201145410538, 0.006563546601682901, -0.040321122854948044, 0.05524415150284767, 0.05789615586400032, -0.06949902325868607, 0.05238579213619232, 0.06088843569159508, -0.06078869104385376, -0.036681581288576126, 0.0054025896824896336, 0.022048646584153175, -0.0046642497181892395, -0.03480285778641701, 0.02154330350458622, 0.03924178332090378, 0.012283099815249443, -0.013089287094771862, -0.06776508688926697, -0.03422960638999939, -0.013866337016224861, -0.3312447965145111, -0.023365534842014313, -0.012174713425338268, -0.03508172556757927, 0.0138322114944458, -0.08566704392433167, 0.029320010915398598, -0.027591431513428688, -0.032588813453912735, 0.0075211129151284695, 0.05583206191658974, -0.016865253448486328, -0.006599348038434982, -0.07134512066841125, 0.00994742102921009, 0.013175356201827526, -0.015636837109923363, -0.028446992859244347, -0.035631634294986725, 0.01059358473867178, 0.022063549607992172, -0.0025543556548655033, -0.0012700691586360335, -0.07484423369169235, -0.015706462785601616, -0.061659835278987885, 0.09449494630098343, -0.018599746748805046, 0.12589260935783386, -0.003263481194153428, 0.044080477207899094, -0.010964576154947281, 0.028599461540579796, -0.1123373955488205, -0.0006330902106128633, -0.016752321273088455, 0.0018011913634836674, -0.0006042591412551701, 0.05186910182237625, -0.026733368635177612, -0.0078021204099059105, 0.011987761594355106, -0.04970688745379448, -0.04240734130144119, -0.054306745529174805, 0.015156619250774384, -0.03841366246342659, -0.06873441487550735, -0.012350663542747498, 0.07653138041496277, 0.012493439018726349, 0.026248538866639137, 0.020488550886511803, 0.0030857815872877836, -0.032908130437135696, 0.0008655498968437314, -0.062320295721292496, 0.03207796812057495, 0.01670045033097267, 0.0056910160928964615, 0.021970506757497787, 0.051435135304927826, 0.02700759656727314, -0.05984826758503914, 0.01698189415037632, 0.0316813699901104, 0.0067169517278671265, -0.010793442837893963, 0.033249806612730026, -0.029267413541674614, -0.01807796023786068, 0.12081502377986908, -0.0065112970769405365, -0.04552358388900757, 0.010762947611510754, 0.06992838531732559, 0.0005257747252471745, 0.031951285898685455, 0.02776424027979374, -0.02310737408697605, 0.014460166916251183, -0.014362728223204613, 0.029627002775669098, -0.03941616788506508, -0.0008937158272601664, 0.009843708015978336, -0.017711617052555084, -0.05210995301604271, 0.017161335796117783, 0.005364600103348494, -0.03077254444360733, 0.006562722846865654, -0.01868133805692196, -0.038604091852903366, 0.07401877641677856, 0.004107322543859482, -0.22267760336399078, -0.005925985053181648, 0.07907252013683319, 0.05342027544975281, -0.006572264712303877, 0.053833384066820145, 0.04792133718729019, -0.07595819234848022, 0.024325093254446983, -0.004931958392262459, 0.000841292436234653, 0.020556503906846046, 0.006616149563342333, -0.01161948498338461, 0.05165192857384682, -0.0032387771643698215, 0.07149699330329895, -0.02109398879110813, 0.027521425858139992, 0.002409229287877679, 0.00289938529022038, -0.009715239517390728, 0.1737346649169922, -0.0031583502423018217, 0.04662606492638588, -0.013378063216805458, 0.006938587408512831, -0.007682373747229576, 0.07966969162225723, 0.006658934056758881, 0.0013593374751508236, -0.012582078576087952, 0.08459169417619705, 0.0023548980243504047, 0.019451994448900223, -0.05574522167444229, -0.002043859101831913, 0.018552208319306374, 0.04736478626728058, -0.02057427354156971, 0.031207814812660217, 0.01299228798598051, -0.054261595010757446, -0.002454597968608141, 0.052110206335783005, 0.01859886758029461, -0.006577279884368181, -0.062106337398290634, -0.07251472026109695, 0.015429813414812088, -0.037742771208286285, -0.019620120525360107, 0.003487270325422287, -0.016141876578330994, 0.02489512227475643, 0.06787963211536407, -0.004377452656626701, -0.01149973925203085, -0.04541366547346115, 0.04327218234539032, 0.006144136190414429, -0.02872011996805668, 0.11741340905427933, 0.05687461793422699, 0.020824287086725235 ]
[ -0.04068560153245926, -0.0016377153806388378, -0.003948093391954899, 0.021981272846460342, -0.008895684964954853, -0.004273086320608854, -0.018041690811514854, -0.00018161334446631372, 0.01641005463898182, 0.0033007666934281588, -0.009078489616513252, 0.0014656262937933207, -0.014093855395913124, -0.017813902348279953, 0.03637726977467537, -0.007536448538303375, -0.009187115356326103, -0.010151668451726437, 0.023471761494874954, 0.005238168407231569, 0.00723990797996521, 0.033509254455566406, 0.00013224517169874161, 0.0059760273434221745, 0.0028306744061410427, 0.005921661388128996, -0.015277975238859653, -0.01353608351200819, 0.031729307025671005, -0.12929989397525787, -0.024382807314395905, 0.00302923284471035, -0.006118555087596178, 0.023837251588702202, -0.02573268860578537, 0.03153063729405403, 0.011558554135262966, 0.029876556247472763, 0.0313347727060318, 0.004821728449314833, -0.03691999614238739, 0.011559762991964817, -0.0075678410939872265, 0.020517641678452492, -0.0006214343593455851, 0.010179748758673668, 0.00042116298573091626, -0.042438458651304245, -0.004516657441854477, -0.036734506487846375, -0.036493461579084396, 0.01549844816327095, -0.019945211708545685, -0.0022719278931617737, 0.03194315731525421, -0.025222143158316612, 0.019645845517516136, -0.011458161287009716, -0.02822495810687542, -0.011372648179531097, -0.03570142015814781, -0.010514496825635433, -0.049027588218450546, -0.001289350795559585, -0.004981657490134239, -0.011852435767650604, -0.012358407489955425, 0.016234640032052994, -0.0035630736965686083, -0.0013329354114830494, -0.02980763092637062, -0.015587140806019306, 0.0037186145782470703, -0.03142238408327103, 0.01110492367297411, 0.019483176991343498, -0.005931036081165075, -0.012650690041482449, 0.01468418724834919, -0.015648385509848595, -0.025978192687034607, 0.024932781234383583, 0.052755679935216904, -0.011654941365122795, -0.013313853181898594, -0.0000017046476159521262, 0.018199970945715904, -0.024126911535859108, 0.03062288649380207, 0.010542232543230057, -0.0006715395720675588, 0.013330903835594654, -0.008365711197257042, 0.005241078790277243, -0.08572110533714294, -0.012913616374135017, -0.007487213704735041, -0.026393292471766472, -0.0008577964617870748, 0.8776752948760986, -0.006004028022289276, 0.0554736964404583, 0.03231452777981758, -0.035348400473594666, 0.004936616402119398, -0.016552487388253212, -0.001303866389207542, -0.024669907987117767, 0.03121596947312355, -0.031211476773023605, 0.01633933000266552, -0.004553207196295261, 0.022335704416036606, 0.0059087094850838184, 0.013138866983354092, 0.01936899870634079, 0.029789801687002182, -0.019688788801431656, 0.017956431955099106, 0.002765027806162834, -0.005420187953859568, -0.023413021117448807, 0.010770230554044247, 0.01768086478114128, 0.018481239676475525, -0.18260152637958527, 0.005168567877262831, -9.767521250292218e-33, 0.024106653407216072, 0.0029963168781250715, -0.015472084283828735, 0.007596488110721111, -0.02332485467195511, -0.01132969744503498, 0.04401914402842522, 0.004888955503702164, -0.002312506316229701, -0.01267060823738575, -0.003464326960965991, -0.019467486068606377, -0.014968089759349823, 0.010898539796471596, 0.01136555802077055, 0.015146270394325256, -0.02061253972351551, 0.03426344320178032, -0.02966018207371235, 0.025097103789448738, 0.020346876233816147, 0.02663593366742134, 0.0007158605731092393, -0.010826919227838516, 0.024815689772367477, 0.02065623737871647, -0.0000638767087366432, -0.008567478507757187, -0.024506352841854095, -0.03847862407565117, -0.005678453017026186, 0.022306494414806366, -0.032895658165216446, -0.013726895675063133, 0.01469949260354042, -0.03785382956266403, -0.004527979996055365, 0.016939524561166763, -0.0010062704095616937, -0.035089895129203796, -0.014356427825987339, 0.00649996055290103, -0.039734937250614166, -0.020095523446798325, 0.005061573348939419, 0.0017369053093716502, -0.02184954658150673, 0.03462241590023041, 0.01837194710969925, -0.006536607630550861, 0.02066844515502453, 0.030096277594566345, 0.02691628411412239, 0.008927268907427788, -0.032433681190013885, 0.010492918081581593, 0.009890949353575706, 0.004545407835394144, 0.03249607980251312, 0.05640884116292, 0.002680334961041808, 0.014796720817685127, -0.03606429696083069, 0.020179208368062973, -0.008805748075246811, -0.0159003846347332, 0.0030016638338565826, 0.0372454859316349, 0.01808842457830906, -0.006531110964715481, -0.03726223483681679, 0.005596462171524763, 0.0006798494141548872, -0.010606626980006695, 0.007952976040542126, -0.004008956719189882, 0.012768557295203209, -0.016795258969068527, -0.00509721739217639, 0.02869742177426815, 0.012663697823882103, -0.00563536724075675, 0.0226932093501091, -0.054418038576841354, -0.03159966692328453, 0.013734598644077778, 0.024319278076291084, -0.0324213020503521, 0.007131453603506088, 0.017966512590646744, 0.04249431937932968, 0.000054618540161754936, 0.0027613036800175905, -0.027988728135824203, -0.006133080925792456, 8.728704566375914e-33, 0.010831411927938461, -0.03561379387974739, -0.03459211438894272, -0.017576338723301888, -0.0027682080399245024, 0.0008331218268722296, -0.005370310973376036, -0.004217405803501606, -0.06641163676977158, 0.028957851231098175, -0.011878252029418945, -0.005450068973004818, -0.005654079373925924, 0.047851622104644775, 0.031097939237952232, -0.016385739669203758, 0.009379428811371326, -0.0176488496363163, 0.011267450638115406, 0.02765452116727829, 0.01780221424996853, 0.012618998065590858, 0.027287697419524193, 0.004206124227494001, 0.009158043190836906, 0.03349762782454491, -0.032874636352062225, 0.021680017933249474, 0.015173835679888725, 0.02078426070511341, -0.007138501387089491, -0.03311113640666008, 0.015809480100870132, -0.016186656430363655, -0.030632533133029938, 0.017084570601582527, -0.007470793090760708, -0.013513513840734959, 0.03334800526499748, 0.005177948623895645, 0.027404561638832092, -0.015920117497444153, -0.018722474575042725, 0.012116340920329094, 0.014765724539756775, 0.006058759521692991, 0.004337621852755547, -0.0012141477782279253, -0.01579376868903637, 0.007223700173199177, 0.016628652811050415, 0.015086314640939236, 0.008086562156677246, -0.004921239335089922, 0.006546666845679283, -0.015048615634441376, -0.02884187176823616, -0.03604787215590477, -0.0289737731218338, 0.025929974392056465, -0.03097642958164215, 0.008876662701368332, -0.05433497205376625, 0.00914730690419674, -0.02220032550394535, 0.00301929353736341, 0.00040597785846330225, -0.008325962349772453, -0.01762026734650135, -0.003912150394171476, -0.020891107618808746, 0.028390293940901756, -0.000017175434550154023, 0.03151607885956764, 0.01875349134206772, 0.01788419857621193, -0.0034485231153666973, 0.0035042744129896164, -0.014959677122533321, 0.01524901483207941, 0.009839920327067375, -0.03047912009060383, 0.02106489986181259, -0.02042536996304989, -0.02615157514810562, -0.007924076169729233, -0.012797834351658821, 0.020331624895334244, -0.005399905610829592, -0.04738350957632065, -0.023320302367210388, -0.011088816449046135, 0.015805082395672798, 0.01284618116915226, -0.006137934047728777, -1.4563214634222277e-8, -0.023099258542060852, 0.014174303039908409, -0.0011427531717345119, 0.042247556149959564, 0.02939247526228428, 0.005008460953831673, -0.010235028341412544, 0.0016447557136416435, -0.03155112639069557, -0.015754759311676025, 0.027887126430869102, 0.0010727690532803535, -0.0040438491851091385, 0.008586186915636063, 0.027583329007029533, -0.04779008775949478, -0.027750777080655098, 0.01311806682497263, 0.032187387347221375, 0.02089270018041134, 0.002822829643264413, 0.023179760202765465, -0.012855781242251396, 0.012575712986290455, 0.0006592591525986791, 0.01762625202536583, 0.0012907497584819794, -0.06244630366563797, 0.0014369393466040492, 0.0037481088656932116, 0.018894311040639877, -0.018878258764743805, -0.02726934850215912, 0.02166549488902092, -0.015739433467388153, -0.0423390194773674, 0.011420060880482197, 0.017757834866642952, -0.02291884459555149, 0.0011606591288000345, -0.01195855438709259, -0.005610782187432051, -0.004272120073437691, -0.02740084007382393, -0.005333935376256704, 0.022291285917162895, -0.02172068879008293, -0.03951248154044151, 0.03500603511929512, -0.003489732975140214, 0.005955426953732967, 0.014063551090657711, 0.008898450061678886, 0.03581293299794197, 0.0026189263444393873, 0.009525557048618793, -0.006842367351055145, -0.0029446305707097054, -0.04638269171118736, 0.00029385171364992857, 0.025070900097489357, 0.028572214767336845, -0.008231711573898792, -0.015309826470911503 ]
coding-why-do-we-extract-method
https://markhneedham.com/blog/2009/06/04/coding-why-do-we-extract-method
false
2009-06-02 21:36:46
VMware: Accessing host server
[ "vmware" ]
[ "Software Development" ]
I've been doing all my spare time .NET development from within VMWare for about the last year or so and now and then it's quite useful to be able to access the host machine either to get some files from there or to access a server that's running on the host. The former problem is solved by going to 'Virtual Machines \-> Shared Folders' and clicking on the + button on the bottom left of the menu to add a folder that you want to share. This folder will be accessible by going to 'My Network Places \-> Entire Network \-> VMWare Shared Folders \-> .host \-> Shared Folders' from Windows Explorer or by typing '\.host\Shared Folders' into the Windows Explorer address bar. The latter is something I'd not wanted to do until today when I wanted to access a CouchDB server I had running via http://janl.github.com/couchdbx/[CouchDBX] (thanks to http://twitter.com/jchris/statuses/1996608145[J Chris Anderson for the recommendation]) from a .NET application that I was running inside VMWare. From the host environment I can view all the databases in CouchDB by going to 'http://127.0.0.1:5984/_utils' but from VMWare I need to make use of the Gateway IP address which can be found by typing 'ipconfig' at the command prompt inside the VM. The database listing is now available at 'http://the.gateway.ip:5984/_utils'.
null
null
[ 0.0121911084279418, -0.022799886763095856, -0.024754902347922325, 0.034468431025743484, 0.10298271477222443, -0.01298651285469532, 0.019298415631055832, 0.027698492631316185, -0.002958168974146247, -0.05467256158590317, -0.009021110832691193, -0.0049554468132555485, -0.037303101271390915, 0.030329644680023193, -0.008126422762870789, 0.07116445153951645, 0.0928584635257721, -0.041832514107227325, 0.004031275399029255, -0.014475448988378048, -0.013498907908797264, 0.06152660399675369, 0.020206909626722336, 0.047341253608465195, -0.008225063793361187, 0.03698960319161415, 0.0054580834694206715, -0.018005231395363808, -0.03509926423430443, -0.043388355523347855, 0.018440628424286842, -0.02335379458963871, 0.0420282743871212, -0.013635773211717606, 0.04127637296915054, -0.027865087613463402, -0.008288921788334846, 0.02704373188316822, -0.006773332133889198, -0.003668920835480094, -0.07212188839912415, 0.04497651383280754, -0.037557054311037064, 0.03199346363544464, -0.012877926230430603, 0.03335344046354294, -0.040537863969802856, 0.0015012259827926755, -0.0029276683926582336, 0.014370786026120186, -0.05123069882392883, 0.038179926574230194, -0.03381622955203056, 0.013320422731339931, 0.026907630264759064, 0.032967567443847656, 0.012958980165421963, -0.08532173931598663, 0.045721787959337234, -0.011745150201022625, -0.018474450334906578, -0.012145915068686008, 0.0007341848104260862, 0.030478792265057564, 0.03251498565077782, -0.016830841079354286, 0.010884765535593033, 0.05952625721693039, -0.053085438907146454, -0.01488539669662714, -0.003169315867125988, 0.0011494389036670327, -0.009486383758485317, -0.005577669478952885, 0.010166621766984463, -0.05458769202232361, 0.008515148423612118, 0.0019190729362890124, 0.04625916853547096, 0.06025511771440506, -0.052175261080265045, 0.025570251047611237, 0.005544118583202362, 0.038157690316438675, 0.013509092852473259, -0.056442685425281525, -0.0386098213493824, 0.016911601647734642, -0.04668952524662018, 0.04743298888206482, 0.026421884074807167, -0.05986076220870018, 0.0035226058680564165, 0.010774665512144566, 0.0041856467723846436, -0.013098934665322304, 0.052457187324762344, -0.007668762933462858, 0.03684252128005028, -0.00389721617102623, -0.05305015295743942, 0.004074334632605314, -0.024395406246185303, 0.02343294583261013, -0.06606107950210571, 0.013805878348648548, -0.022051379084587097, -0.008706167340278625, -0.012054791674017906, 0.00007769372314214706, -0.04256613552570343, 0.024849211797118187, -0.031218836084008217, 0.013709209859371185, -0.06332948058843613, 0.05281146988272667, 0.037089962512254715, -0.04624934494495392, 0.012284744530916214, 0.022680414840579033, 0.03569352254271507, 0.02182052470743656, -0.028675146400928497, 0.054163649678230286, -0.008269391022622585, 0.004023881629109383, -0.0011742650531232357, 0.04192530736327171, 0.00868628267198801, -0.06333599239587784, 0.005062364507466555, 0.04647563770413399, -0.001239309087395668, 0.044847793877124786, -0.017740733921527863, -0.01949167251586914, 0.018746566027402878, 0.016731617972254753, 0.03486425429582596, 0.008791467174887657, -0.002568373456597328, -0.06425055861473083, -0.009906475432217121, 0.0027630238328129053, 0.02222507633268833, 0.03402384743094444, -0.008251694962382317, -0.048890870064496994, -0.058188654482364655, 0.03925958648324013, 0.03165682032704353, 0.052408818155527115, 0.05177726969122887, -0.046913400292396545, 0.0016079953638836741, 0.09963291138410568, 0.03425920382142067, 0.034372728317976, -0.011147688142955303, -0.010939488187432289, 0.023316387087106705, 0.0388273261487484, -0.02012544497847557, 0.04365311563014984, -0.018199149519205093, 0.0028717750683426857, 0.014784151688218117, 0.05739004164934158, 0.025719700381159782, 0.003489907132461667, -0.07321880012750626, -0.060524679720401764, 0.059696998447179794, -0.04192491993308067, -0.011131906881928444, 0.04298439249396324, 0.06563904881477356, 0.025803474709391594, 0.026466479524970055, 0.0016654300270602107, -0.06277451664209366, 0.009288366883993149, -0.0016673945356160402, -0.016720712184906006, 0.037283752113580704, 0.008661064319312572, 0.05697384849190712, 0.01520141027867794, 0.0008037452935241163, 0.03703421354293823, -0.06910501420497894, -0.09262195974588394, -0.05086704343557358, 0.010177860036492348, 0.03608947992324829, -0.022329989820718765, -0.012011371552944183, 0.05650833621621132, 0.030674172565340996, 0.04197700694203377, 0.035134926438331604, -0.0025305217131972313, 0.036212027072906494, -0.052523426711559296, -0.08341751247644424, 0.04047858342528343, -0.004998756106942892, -0.005982666742056608, -0.048614971339702606, -0.000700309406965971, -0.027733754366636276, -0.001909288577735424, 0.04287083446979523, 0.0026879434008151293, 0.0688944011926651, 0.02395927906036377, 0.033337973058223724, -0.024512968957424164, 0.026057500392198563, -0.05342913046479225, 0.023677416145801544, -0.011846223846077919, -0.016289928928017616, 0.022415632382035255, 0.022426223382353783, 0.11059717833995819, 0.04863899573683739, -0.043160777539014816, -0.04203983023762703, 0.017652615904808044, -0.0031146167311817408, -0.0549691841006279, -0.011095881462097168, -0.017028989270329475, 0.020008880645036697, 0.0387403704226017, -0.05627032741904259, -0.028090182691812515, -0.002605671528726816, -0.027597760781645775, 0.015312698669731617, 0.06113870441913605, -0.0052140154875814915, 0.03453090041875839, 0.0316619947552681, -0.03730384260416031, 0.02583284117281437, -0.04747418314218521, -0.04392337426543236, 0.009408249519765377, 0.0268459040671587, -0.009880161844193935, 0.05267724394798279, -0.023110855370759964, 0.00658179447054863, -0.026710329577326775, -0.047995638102293015, 0.03943396732211113, 0.006606964394450188, 0.07392986118793488, -0.015317779034376144, 0.05811186507344246, -0.027218295261263847, 0.040754735469818115, -0.010384486056864262, -0.025395918637514114, -0.03553040698170662, 0.01007015909999609, 0.045594122260808945, 0.0014729752438142896, 0.008588886819779873, -0.0225206445902586, 0.005534009076654911, 0.001738351071253419, 0.01442183181643486, -0.021127332001924515, 0.0160150658339262, 0.03421986848115921, -0.0007622902630828321, -0.06144493445754051, -0.012070642784237862, 0.02429317869246006, -0.05270892381668091, -0.020389629527926445, 0.029459604993462563, -0.061518993228673935, 0.007711394689977169, -0.08765338361263275, -0.03674541413784027, -0.029235558584332466, 0.043749332427978516, 0.027503985911607742, 0.022567952051758766, 0.029949409887194633, 0.03795810788869858, 0.009738658554852009, 0.016829082742333412, 0.033420853316783905, 0.01546219177544117, 0.023814242333173752, -0.002194615313783288, 0.012130886316299438, 0.024241792038083076, -0.009423693642020226, 0.008251427672803402, -0.08877647668123245, 0.03438398614525795, -0.04842366278171539, -0.28071847558021545, 0.041658855974674225, -0.0010593000333756208, -0.04708576202392578, 0.05181068927049637, -0.007297800853848457, 0.007714520208537579, -0.03915119916200638, -0.03777816891670227, -0.0036667450331151485, -0.03065074421465397, -0.045455463230609894, -0.0046220459043979645, 0.019890926778316498, -0.031002242118120193, 0.04515319690108299, 0.019300926476716995, -0.04815110191702843, 0.006708426866680384, -0.021904217079281807, -0.04105689004063606, -0.05032757669687271, 0.01853264309465885, 0.020553074777126312, 0.024213550612330437, 0.06538627296686172, -0.03435647860169411, 0.05812070146203041, -0.03616684675216675, -0.005104168318212032, 0.003993446938693523, -0.01590990461409092, 0.0009640087373554707, -0.02170548401772976, -0.029792623594403267, -0.02382926642894745, 0.03728547319769859, -0.03451404348015785, 0.021805085241794586, -0.008399296551942825, -0.02866281569004059, -0.035254497081041336, -0.002338605700060725, 0.0016238563694059849, 0.06234334409236908, -0.02715195156633854, -0.07122457772493362, -0.014869936741888523, -0.03440101817250252, 0.06970607489347458, -0.05013401433825493, -0.05133922025561333, -0.00007549252768512815, 0.0765022411942482, -0.0044489228166639805, -0.03297499939799309, -0.018929511308670044, 0.003439432941377163, -0.04191114380955696, -0.02940351888537407, -0.02535327337682247, -0.04410991817712784, -0.03366959095001221, -0.07183961570262909, 0.03661146014928818, -0.06101759523153305, -0.0746222510933876, -0.03813895955681801, 0.05771777033805847, 0.03012956492602825, -0.0381418913602829, -0.0010773532558232546, -0.006274439860135317, -0.11327774077653885, -0.015474843792617321, -0.007339467294514179, -0.04583250358700752, -0.0014413301832973957, 0.00010115854820469394, 0.051821816712617874, -0.03867841884493828, -0.015207400545477867, -0.012684118002653122, 0.00024310214212164283, -0.015014595352113247, -0.019764361903071404, 0.0415683388710022, -0.017338592559099197, -0.03181413188576698, -0.004939238540828228, 0.04883931577205658, -0.016855884343385696, -0.003826258471235633, -0.04398080334067345, -0.01919875666499138, 0.00694191874936223, 0.006788714788854122, 0.031580958515405655, 0.018927887082099915, 0.03414171189069748, 0.06761553138494492, -0.05722345784306526, -0.005112327169626951, -0.03038567677140236, -0.007337913382798433, -0.008511088788509369, -0.027537746354937553, 0.011057300493121147, 0.04051370918750763, 0.03887595236301422, -0.031118115410208702, -0.03573057800531387, 0.010530960746109486, -0.07457958906888962, 0.007289308123290539, -0.013124607503414154, 0.015767844393849373, 0.01284247450530529, 0.04376298561692238, -0.04637128487229347, -0.0396227203309536, 0.013019971549510956, 0.05395427718758583, 0.01157892495393753, -0.049669817090034485, 0.011907699517905712, 0.006314560770988464, -0.014244339428842068, 0.022772284224629402, 0.020244600251317024, -0.022942306473851204, 0.023539949208498, 0.04741479828953743, -0.03161199763417244, 0.040557220578193665, -0.039697639644145966, 0.002098061377182603, -0.015152779407799244, -0.005393421743065119, -0.004612358752638102, -0.04594824090600014, -0.004429244436323643, -0.007603481411933899, 0.023799007758498192, 0.04604590684175491, 0.034940749406814575, 0.014183497987687588, -0.0009241397492587566, 0.023298906162381172, -0.02277987264096737, -0.0007869572727940977, -0.053327880799770355, 0.031049473211169243, -0.025825096294283867, -0.03482692316174507, -0.01967904530465603, 0.02092338725924492, -0.04110299423336983, -0.033101171255111694, -0.03281912952661514, 0.016824355348944664, -0.056237008422613144, -0.010627173818647861, 0.028648527339100838, -0.03310707211494446, 0.07029268890619278, 0.0020262461621314287, 0.005423779133707285, -0.017914002761244774, 0.008902601897716522, 0.028833162039518356, 0.03578939288854599, -0.022420860826969147, -0.0032843472436070442, 0.0009046989725902677, 0.033801160752773285, -0.009942947886884212, 0.05584003031253815, 0.044641122221946716, 0.01650649681687355, 0.04070907086133957, -0.008542359806597233, 0.015894044190645218, 0.0003215154865756631, 0.046037182211875916, -0.00841823685914278, -0.017906667664647102, 0.011857950128614902, 0.001313021406531334, -0.01741904206573963, -0.010962676256895065, 0.0050460584461688995, -0.022847261279821396, 0.015329730696976185, -0.006042054854333401, -0.0676795020699501, 0.04989098757505417, -0.01408142689615488, -0.0010261174757033587, -0.012654588557779789, -0.0044001443311572075, 0.013296416960656643, 0.001342774135991931, 0.07298582047224045, 0.05130928382277489, -0.03706438094377518, 0.007143424358218908, 0.005192943848669529, 0.018262526020407677, 0.005105751566588879, 0.0030645800288766623, -0.019748995080590248, -0.02285468950867653, -0.005325096193701029, 0.02031503990292549, -0.055780742317438126, -0.026411253958940506, -0.023009194061160088, 0.012223995290696621, 0.008131598122417927, -0.0057071056216955185, 0.010478385724127293, -0.0106993168592453, -0.007672479376196861, -0.053876928985118866, 0.014455213211476803, -0.00802652258425951, -0.020178457722067833, -0.008667130954563618, -0.017383717000484467, -0.0037144164089113474, -0.05734400451183319, 0.03437639772891998, 0.008648731745779514, -0.016903724521398544, -0.023347249254584312, -0.0252287108451128, 0.017854226753115654, -0.01871647872030735, 0.02798239327967167, 0.0046033067628741264, 0.010810370557010174, -0.044434502720832825, 0.008400342427194118, -0.023345934227108955, 0.009643837809562683, -0.030942551791667938, -0.006986653432250023, 0.028067508712410927, 0.03711003437638283, -0.014618990942835808, 0.0013308769557625055, -0.024665426462888718, -0.0283200703561306, 0.05505163222551346, -0.09075870364904404, -0.021412357687950134, 0.0010075544705614448, -0.05621275305747986, -0.003281585406512022, 0.0014972119824960828, -0.014675081707537174, -0.04620083048939705, 0.08176907896995544, 0.025407902896404266, -0.032463788986206055, 0.04564914107322693, 0.015331144444644451, 0.028019612655043602, -0.0394647978246212, -0.03650747612118721, -0.08190146088600159, -0.016442740336060524, 0.010056373663246632, -0.00018600460316520184, -0.007427562493830919, 0.04513233155012131, -0.037638675421476364, 0.03844347223639488, -0.08682435005903244, -0.041033823043107986, 0.024610545486211777, -0.018677564337849617, -0.022287826985120773, -0.0036008113529533148, -0.04714738205075264, 0.038812633603811264, 0.027081383392214775, -0.03827150911092758, -0.029664654284715652, 0.018977196887135506, 0.024354536086320877, 0.01081383042037487, 0.028440216556191444, -0.03100942075252533, -0.018564125522971153, 0.0777372494339943, 0.023881820961833, 0.021162664517760277, 0.0518869012594223, -0.01450902409851551, 0.0410192646086216, 0.027727147564291954, -0.036255184561014175, 0.01677505299448967, -0.009023663587868214, -0.010148576460778713, -0.048816561698913574, 0.0014271007385104895, 0.00641414150595665, 0.010754147544503212, -0.04866943508386612, 0.06407641619443893, 0.0009560245089232922, -0.012010290287435055, -0.028200695291161537, 0.03239509463310242, -0.05085782706737518, -0.029278406873345375, -0.04554954916238785, 0.02950514666736126, -0.013263000175356865, 0.045806512236595154, -0.006604576017707586, 0.02443184144794941, 0.058538325130939484, -0.028829459100961685, 0.005583279300481081, 0.027888000011444092, 0.07329442352056503, 0.08632983267307281, 0.024462582543492317, 0.034656424075365067, 0.06395316123962402, -0.02201462909579277, -0.038906726986169815, -0.03696205094456673, -0.04915035516023636, -0.014473260380327702, -0.03571644425392151, 0.005300708115100861, 0.10464779287576675, 0.012770137749612331, 0.060791850090026855, -0.016074350103735924, 0.021028611809015274, 0.003408649703487754, 0.006519940681755543, -0.001768476446159184, 0.0016269693151116371, 0.016889508813619614, 0.02328556962311268, -0.007436731364578009, -0.037142109125852585, 0.009540538303554058, 0.0022771256044507027, -0.010952102951705456, 0.012351452372968197, -0.012096692807972431, 0.028731249272823334, 0.01521618664264679, 0.023912716656923294, 0.07844151556491852, -0.004985393490642309, 0.01184365525841713, 0.0005299372132867575, 0.019069235771894455, -0.026574494317173958, 0.021438008174300194, -0.0353509746491909, 0.004200661554932594, -0.0018437724793329835, -0.00467347539961338, -0.02303406223654747, -0.010813250206410885, 0.004926961846649647, 0.02147509716451168, -0.03531329333782196, -0.007658027578145266, 0.005055096000432968, 0.02210363745689392, -0.03343243524432182, -0.028413070365786552, -0.06509014219045639, -0.0077298847027122974, -0.04902322590351105, -0.015013102442026138, 0.032988063991069794, 0.011598994955420494, -0.04351173713803291, -0.005818821489810944, -0.03781377151608467, -0.02128061093389988, 0.03547842428088188, -0.023546362295746803, -0.046036090701818466, 0.023276563733816147, 0.015144914388656616, 0.04223456233739853, 0.030584407970309258, 0.06014750525355339, -0.025545630604028702, -0.01729697175323963, -0.044164106249809265, 0.004510635510087013, 0.05324728041887283, -0.035870183259248734, 0.008802265860140324, -0.05723594129085541, 0.05861072614789009, 0.039516981691122055, 0.026195652782917023, -0.0706808790564537, 0.007272864691913128, 0.07588481158018112, 0.018477145582437515, 0.043729912489652634, -0.017480013892054558, -0.0026330980472266674, -0.01706939935684204, -0.016082115471363068, -0.006288208067417145, 0.0019244920695200562, 0.02838839404284954, 0.014242397621273994, 0.06231341511011124, 0.04954081401228905, -0.012306749820709229, -0.030769415199756622, -0.008825661614537239, -0.00857329461723566, 0.029194045811891556, -0.038265738636255264, -0.0066778045147657394, -0.03439071401953697, -0.07724849134683609, -0.028229907155036926, 0.016742104664444923, -0.017226437106728554, -0.017877038568258286, 0.005114655941724777, -0.0003064892953261733, -0.06510041654109955, 0.036370765417814255, -0.0383986160159111, -0.01611657626926899, -0.011014426127076149, -0.02593359537422657, -0.02182903327047825, 0.010357039049267769, -0.005142239388078451, -0.017936881631612778, 0.04599843546748161, -0.023371972143650055, -0.02322942577302456, 0.0035272350069135427, 0.007974451407790184, 0.04465783014893532, 0.017908325418829918, 0.0356929711997509 ]
[ -0.06630124896764755, -0.02843531034886837, -0.011331889778375626, -0.028440361842513084, 0.09220751374959946, -0.04455604776740074, -0.0167302917689085, 0.005794866941869259, -0.009927819482982159, -0.02745157666504383, 0.014059544540941715, -0.025275127962231636, 0.020900167524814606, -0.03156445175409317, 0.10594171285629272, 0.03958588466048241, -0.031945254653692245, -0.06973958015441895, 0.03585723415017128, 0.04489665850996971, -0.03580467030405998, -0.033851027488708496, -0.03794272243976593, -0.04343770816922188, -0.035999979823827744, 0.009011375717818737, 0.032595910131931305, -0.03676581010222435, -0.01023885514587164, -0.1580897867679596, 0.03195275366306305, -0.022935153916478157, 0.022707775235176086, -0.003975706174969673, 0.01660519652068615, 0.014688212424516678, 0.05681786686182022, -0.0025697401724755764, -0.011332802474498749, 0.03176606446504593, 0.048617053776979446, 0.02004254050552845, -0.06641853600740433, -0.015776872634887695, 0.036877576261758804, -0.024564964696764946, 0.011762995272874832, -0.014207195490598679, 0.03867281228303909, -0.03287786617875099, -0.032275546342134476, -0.005581640638411045, -0.05187966302037239, -0.03427749499678612, -0.010643797926604748, 0.007159635424613953, 0.02715950459241867, 0.026395097374916077, -0.021961258724331856, 0.030045036226511, 0.04610107094049454, -0.03224707767367363, -0.13339051604270935, 0.1053658053278923, 0.02033114992082119, 0.04338592290878296, -0.041169412434101105, -0.029670147225260735, -0.01017849426716566, 0.07435648143291473, -0.008326034992933273, 0.0021657340694218874, -0.033403489738702774, 0.041802722960710526, 0.025717051699757576, 0.004302163142710924, 0.009433098137378693, 0.023525871336460114, 0.047988709062337875, -0.02432633936405182, -0.02558516524732113, -0.015162540599703789, -0.008510913699865341, -0.00031606818083673716, -0.05008425936102867, 0.036522455513477325, 0.0013360286829993129, 0.07079639285802841, 0.014312369748950005, 0.02103343978524208, -0.020563092082738876, -0.01315038651227951, 0.03393610566854477, -0.004610246047377586, -0.0887262150645256, -0.03096766769886017, 0.002133456524461508, 0.0009223718079738319, -0.025737369433045387, 0.40938934683799744, -0.02640451304614544, -0.04882287234067917, 0.04299694672226906, -0.005705760791897774, -0.011007771827280521, 0.027866562828421593, 0.014186208136379719, -0.021143462508916855, 0.04511302337050438, 0.020762357860803604, -0.027470137923955917, 0.01071030180901289, 0.025110453367233276, -0.03789602220058441, 0.023300915956497192, 0.024890506640076637, -0.020300835371017456, 0.010509480722248554, -0.026995545253157616, -0.01180639211088419, -0.026490595191717148, -0.0034217170905321836, 0.035897690802812576, 0.014996434561908245, 0.03827138990163803, -0.016493797302246094, 0.06189160421490669, 0.04818064346909523, 0.034180790185928345, -0.0009752103360369802, 0.008560143411159515, -0.06326231360435486, -0.04771191626787186, -0.02697041817009449, 0.021778007969260216, 0.01001728605479002, 0.04702414944767952, -0.04835586994886398, -0.02864677459001541, 0.01908191479742527, -0.024413101375102997, -0.009440666995942593, 0.04220438748598099, -0.01009259931743145, -0.014025724492967129, 0.10161133855581284, 0.02904755063354969, -0.04384232684969902, -0.024669941514730453, -0.0769820436835289, 0.021959329023957253, 0.05229181423783302, 0.013190540485084057, -0.05850036442279816, -0.010212135501205921, 0.02516825683414936, 0.08305748552083969, -0.004782265517860651, -0.02817697264254093, -0.01521147321909666, -0.005630846135318279, -0.022708822041749954, -0.01921897567808628, 0.08428915590047836, 0.045941565185785294, -0.11818914115428925, -0.04258141666650772, 0.03003365732729435, 0.025477027520537376, -0.06271392107009888, -0.04367892071604729, 0.00973571464419365, -0.04941849038004875, -0.014560663141310215, 0.03581125661730766, -0.055398061871528625, -0.02596982754766941, 0.028593700379133224, -0.018527109175920486, 0.00244219065643847, -0.04666297137737274, -0.02143041417002678, -0.036657266318798065, -0.00815613940358162, -0.0058347550220787525, -0.0662444606423378, -0.04448850825428963, -0.0034207291901111603, -0.05178193747997284, -0.05340610072016716, -0.05984438583254814, -0.03452824801206589, -0.08639662712812424, 0.07143131643533707, 0.01748085394501686, -0.010229327715933323, 0.011723868548870087, 0.03184505179524422, 0.026641270145773888, -0.05351610854268074, 0.02962413802742958, 0.05881143733859062, -0.03178799897432327, 0.05632171407341957, -0.11400531232357025, 0.03691616281867027, 0.026145335286855698, -0.03705868124961853, 0.0389065183699131, 0.028072156012058258, -0.01982896216213703, -0.027629157528281212, 0.01097105909138918, 0.012495746836066246, -0.03207879140973091, -0.0030743384268134832, 0.014562487602233887, 0.04717680439352989, 0.03667256981134415, 0.04891062527894974, 0.002836743136867881, -0.008225544355809689, -0.01455152127891779, -0.33503371477127075, -0.01344172190874815, -0.031302206218242645, 0.0005618388531729579, -0.002660928061231971, -0.033427644520998, 0.025877125561237335, 0.023435046896338463, -0.012993593700230122, -0.01046754326671362, 0.12790842354297638, -0.04516806825995445, 0.0349082313477993, -0.0813322588801384, 0.015234452672302723, 0.04356886446475983, 0.008946307934820652, 0.0015058823628351092, -0.05565299093723297, -0.01409707497805357, -0.015202155336737633, -0.02705865353345871, -0.026086103171110153, -0.007670796941965818, 0.0026024964172393084, -0.007532785646617413, 0.12917973101139069, -0.034679800271987915, 0.11224432289600372, -0.02302391454577446, 0.0678902119398117, 0.024190494790673256, 0.00535249337553978, -0.12878476083278656, -0.04016036167740822, -0.0001955077750608325, 0.031309567391872406, 0.018794963136315346, 0.021604396402835846, -0.005850408226251602, -0.08893649280071259, 0.043930910527706146, -0.06122574955224991, -0.07645002752542496, -0.021627012640237808, 0.011794685386121273, -0.00041970028541982174, -0.03195814788341522, -0.03133848309516907, 0.0690612718462944, 0.0029947063885629177, 0.009171887300908566, 0.0030907774344086647, 0.03919089958071709, 0.013520227745175362, -0.03964503854513168, -0.030312173068523407, -0.02945474348962307, 0.01153560634702444, 0.043373558670282364, 0.03415322303771973, 0.0649830773472786, 0.005753032863140106, -0.09196921437978745, 0.022267337888479233, 0.004321972373872995, -0.00003336323061375879, 0.018133992329239845, 0.10697486996650696, -0.041022028774023056, -0.039883241057395935, 0.04090661182999611, 0.007654051296412945, 0.041705258190631866, 0.0046843839809298515, 0.0007887486717663705, -0.027879565954208374, 0.027759209275245667, 0.01845598593354225, -0.013513310812413692, 0.028811844065785408, -0.04124373197555542, 0.031322721391916275, -0.008711747825145721, 0.01787278614938259, 0.07115168124437332, -0.033892180770635605, 0.03358319029211998, 0.046563517302274704, 0.008000113070011139, -0.04455147683620453, -0.02783086709678173, -0.001241867314092815, -0.08353658765554428, 0.049245622009038925, 0.0042718867771327496, -0.23897220194339752, 0.025884725153446198, 0.05917586758732796, 0.05207666754722595, -0.012161417864263058, 0.02277844399213791, 0.02273024432361126, -0.029463620856404305, 0.02087784744799137, 0.002047680551186204, 0.05882136896252632, 0.017949627712368965, -0.03185770660638809, -0.015438267029821873, 0.01630454696714878, 0.015491199679672718, 0.039936646819114685, 0.047319669276475906, 0.022266918793320656, -0.035407569259405136, -0.004893749952316284, -0.017119411379098892, 0.15386070311069489, 0.013850906863808632, 0.020189981907606125, 0.035787709057331085, -0.005714822094887495, 0.0436994694173336, 0.03628409281373024, 0.045025844126939774, 0.018267523497343063, -0.017990978434681892, 0.040497470647096634, -0.023973314091563225, 0.03206201270222664, -0.06879178434610367, 0.008833661675453186, 0.05752064287662506, 0.04362219199538231, -0.017576519399881363, -0.02790263295173645, -0.00991420354694128, -0.06572940945625305, 0.023594701662659645, 0.048443060368299484, 0.002791663398966193, 0.03574901819229126, -0.027985265478491783, 0.000946943589951843, -0.008320250548422337, -0.05633174255490303, -0.041063155978918076, 0.04030177742242813, 0.009808116592466831, 0.04358195513486862, 0.036181915551424026, 0.0036122379824519157, -0.04042648896574974, -0.009437589906156063, 0.0265433881431818, 0.02975436858832836, -0.05806412920355797, 0.10891814529895782, -0.02224196307361126, 0.024874208495020866 ]
[ 0.007978876121342182, 0.022161683067679405, 0.02255495823919773, 0.0207385066896677, 0.013849056325852871, 0.0399898923933506, -0.022827643901109695, -0.026113450527191162, -0.025200456380844116, 0.024986224249005318, -0.022547543048858643, 0.014756554737687111, 0.01419348455965519, -0.013908623717725277, -0.01658499985933304, -0.011079603806138039, 0.008333347737789154, 0.005210792645812035, 0.049403999000787735, 0.06270600110292435, -0.03557733818888664, 0.045113444328308105, -0.04597212374210358, -0.018221672624349594, 0.02587079256772995, -0.021802393719553947, -0.030455170199275017, -0.007345816120505333, 0.036920107901096344, -0.10824939608573914, -0.02308060973882675, -0.033429794013500214, -0.019741656258702278, 0.05859817937016487, 0.0007774208206683397, -0.03453965485095978, 0.03156253322958946, -0.02376159466803074, -0.06080791354179382, 0.007209661416709423, 0.011256540194153786, -0.017931712791323662, -0.025310633704066277, 0.007811920717358589, -0.021164337173104286, 0.012792591005563736, -0.010316936299204826, -0.04076843336224556, 0.019317371770739555, 0.03988013416528702, -0.06453641504049301, -0.009727392345666885, 0.020224185660481453, -0.004956444725394249, 0.00018846355669666082, 0.01942928321659565, 0.037709739059209824, 0.05331500619649887, -0.037426918745040894, -0.03784243017435074, 0.02390708401799202, -0.025343110784888268, -0.04505795240402222, -0.008808116428554058, -0.020891332998871803, -0.020957551896572113, -0.01512055192142725, 0.010194286704063416, -0.02672841213643551, -0.013511540368199348, -0.02361597679555416, 0.08020401746034622, -0.049497175961732864, -0.047399166971445084, -0.008795992471277714, 0.011506258510053158, -0.011304386891424656, -0.01050946768373251, 0.05163326486945152, 0.016607671976089478, -0.031001629307866096, 0.06321299076080322, -0.0487360805273056, -0.009682598523795605, -0.00824232492595911, 0.04438740760087967, 0.0032712004613131285, -0.018871620297431946, 0.015440259128808975, -0.025079453364014626, -0.021121883764863014, -0.008027859963476658, -0.0007937168702483177, -0.0009114264976233244, -0.09585396945476532, -0.007779209408909082, -0.003941735718399286, -0.06312127411365509, 0.028871415182948112, 0.7566261291503906, -0.03143491968512535, 0.0058053042739629745, 0.0026846721302717924, -0.015999121591448784, 0.023867450654506683, 0.03172929957509041, 0.05963535234332085, -0.03116929717361927, -0.048700977116823196, -0.04139973968267441, -0.01927715167403221, 0.06283867359161377, 0.02241821028292179, -0.02326984889805317, 0.029861880466341972, 0.034836143255233765, 0.048313576728105545, -0.009030168876051903, -0.027122508734464645, -0.025447765365242958, -0.010659466497600079, -0.012278671376407146, 0.03154774010181427, 0.009807977825403214, -0.058568451553583145, -0.18388879299163818, 0.018403250724077225, -7.997444959092724e-33, -0.04714689031243324, -0.013363108038902283, 0.04142007604241371, 0.0049782367423176765, 0.051949817687273026, 0.0073819225654006, 0.0028124372474849224, 0.013995199464261532, -0.0777062475681305, -0.01424256432801485, -0.05595996603369713, -0.04329421743750572, 0.07640383392572403, -0.05901519954204559, 0.03258269280195236, -0.021824421361088753, 0.014137156307697296, 0.059004053473472595, 0.003119864733889699, 0.012974264100193977, 0.0253140889108181, 0.03454490751028061, 0.049373041838407516, -0.008565385825932026, -0.035500939935445786, -0.013782603666186333, 0.02372918650507927, 0.004960877355188131, 0.007781477179378271, -0.05980084836483002, -0.030205124989151955, 0.007870174013078213, -0.01055316161364317, -0.04355708882212639, -0.07625067234039307, -0.023927925154566765, -0.003938508685678244, -0.04112907871603966, -0.04613099992275238, 0.007812601514160633, -0.01853248104453087, 0.026343250647187233, -0.020735135301947594, -0.015069565735757351, -0.040976136922836304, 0.049075379967689514, 0.022720200940966606, 0.03715210407972336, -0.003948087338358164, 0.027058856561779976, 0.003974002320319414, -0.010217063128948212, -0.036615099757909775, -0.00007066304533509538, 0.005027450621128082, 0.04498783126473427, 0.03178362175822258, 0.024997903034090996, 0.04557652771472931, 0.028475238010287285, 0.033853694796562195, -0.01366259716451168, 0.003003411227837205, -0.007198875769972801, -0.029617510735988617, 0.005744027439504862, 0.021976089105010033, -0.002646579872816801, 0.029698597267270088, 0.026651740074157715, -0.04121244326233864, 0.03599932789802551, -0.05434864014387131, -0.05484233424067497, 0.03663871809840202, -0.018187060952186584, -0.03333562985062599, -0.05927807092666626, 0.01847713068127632, 0.024463195353746414, 0.028628747910261154, 0.006041352637112141, -0.044804006814956665, -0.015419146977365017, -0.0513131283223629, -0.03236635401844978, -0.006181837059557438, 0.008581161499023438, -0.015271270647644997, 0.022037696093320847, 0.05900000408291817, 0.00470807496458292, 0.014164194464683533, -0.013534470461308956, -0.041959382593631744, 8.03644492291713e-33, 0.027647430077195168, 0.0038509778678417206, -0.01627098210155964, -0.0012941077584400773, 0.03155573084950447, 0.016711898148059845, 0.0345647856593132, -0.013639416545629501, -0.06405900418758392, 0.026810631155967712, 0.01799676939845085, 0.008125703781843185, -0.0036606043577194214, 0.020368413999676704, 0.0247185081243515, 0.03184794262051582, 0.03740555793046951, -0.03252057358622551, 0.050132304430007935, -0.006871851161122322, -0.011022282764315605, 0.010745731182396412, 0.01398481149226427, 0.008028903976082802, 0.011241552419960499, 0.06411608308553696, 0.0010779417352750897, 0.003809885587543249, -0.014767872169613838, 0.009869609959423542, 0.0009415557724423707, -0.005178571213036776, 0.007279132027179003, -0.020739231258630753, 0.032310642302036285, 0.03819522634148598, 0.026702336966991425, 0.017252005636692047, 0.02359764091670513, -0.006554662249982357, -0.003001441014930606, 0.020286135375499725, -0.04937020689249039, 0.037762321531772614, 0.002838670741766691, 0.011881619691848755, -0.025330739095807076, 0.015745513141155243, 0.003234168514609337, 0.03466321900486946, 0.00963280163705349, -0.01642480492591858, 0.025904545560479164, 0.029014624655246735, 0.0068051982671022415, -0.026434972882270813, -0.04341285675764084, 0.03295118361711502, 0.044213976711034775, 0.005660441238433123, 0.01926102489233017, 0.023327888920903206, -0.08404386788606644, 0.06474797427654266, -0.02957996353507042, 0.0095780398696661, -0.01085013896226883, 0.007945379242300987, 0.010382798500359058, -0.05423589423298836, -0.004262879956513643, 0.032439108937978745, 0.009670485742390156, 0.018748367205262184, 0.004106845706701279, -0.03390682116150856, 0.017137393355369568, -0.01701025851070881, -0.027477195486426353, 0.0751328244805336, -0.0113456966355443, -0.02653672732412815, 0.043203242123126984, -0.005787499248981476, -0.02519616112112999, 0.02136574313044548, -0.04412141069769859, 0.03779430687427521, -0.0016935341991484165, 0.01589839905500412, -0.04376044496893883, -0.0333021879196167, -0.04264058545231819, 0.009936582297086716, 0.014021866954863071, -1.2843635488479777e-8, -0.050215791910886765, -0.01791604608297348, 0.013404002413153648, -0.032956697046756744, -0.028058309108018875, 0.07169118523597717, -0.016371453180909157, 0.03476335108280182, 0.0018229868728667498, 0.04368983209133148, 0.003076080698519945, -0.02473253197968006, -0.0008920237305574119, 0.055730316787958145, 0.014447841793298721, 0.03277447074651718, 0.027315383777022362, -0.011595961637794971, 0.0457310751080513, -0.018302185460925102, 0.0005285158404149115, 0.06311451643705368, 0.025489669293165207, -0.045189760625362396, -0.000780857284553349, 0.006043544504791498, -0.03025992400944233, -0.07791498303413391, -0.0369790680706501, 0.00369429518468678, 0.015848442912101746, -0.002788560464978218, -0.06194387003779411, 0.027590932324528694, -0.043418340384960175, 0.01060539297759533, -0.029678884893655777, 0.08515956252813339, 0.04311754181981087, 0.004925711080431938, -0.0436452180147171, -0.01918552815914154, -0.00749876257032156, -0.04010108858346939, 0.006155297160148621, 0.019244123250246048, 0.0025002826005220413, 0.00560219818726182, -0.01155933178961277, -0.056696031242609024, 0.03933717682957649, -0.0018454795936122537, 0.047372858971357346, 0.03618398308753967, -0.012928633019328117, 0.007383441086858511, -0.007712807040661573, 0.0030226348899304867, 0.008382877334952354, -0.029377469792962074, 0.01642037183046341, 0.046130552887916565, -0.022151095792651176, -0.002777975983917713 ]
vmware-accessing-host-server
https://markhneedham.com/blog/2009/06/02/vmware-accessing-host-server
false
2009-06-02 22:01:52
F#: Tuples don't seem to express intent well
[ "f" ]
[ "fsharp" ]
Tuples are one of the data types that I learnt about at university but never actually got to use for anything until I started playing around with F# which has this type in the language. A http://diditwith.net/2008/01/18/WhyILoveFTuples.aspx[tuple] describes an ordered group of values and in that sense is similar to a C# anonymous type except an anonymous type's values are named whereas a tuple's are not. In F# we can create one by separating a sequence of values with a comma in a value assignment: [source,ocaml] ---- > let myTuple = "mark", 7;; val myTuple : string * int ---- As we can see the type of myTuple is 'string * int' and there are some functions such as 'fst' and 'snd' which allow us to extract the individual values from the tuple. They're also quite nice to work with in terms of pattern matching which is why I decided to make use of a tuple in my twitter application to represent the running state of the retrieval of tweets. [source,ocaml] ---- type TwitterService() = static member GetLatestTwitterStatuses(recordsToSearch) = findStatuses(0L, 0, recordsToSearch) ---- [source,ocaml] ---- let rec findStatuses (args:int64 * int * int) = let findOldestStatus (statuses:seq<TwitterStatus>) = statuses |> Seq.sortBy (fun eachStatus -> eachStatus.Id) |> Seq.hd match args with | (_, numberProcessed, statusesToSearch) when numberProcessed >= statusesToSearch -> centralProcessor.Stop() | (lastId, numberProcessed, statusesToSearch) -> let latestStatuses = getStatusesBefore lastId centralProcessor.Send(latestStatuses) findStatuses(findOldestStatus(latestStatuses).Id, numberProcessed + 20, statusesToSearch) ---- The pattern matching is evident here and has allowed me to easily separate each of the values and give it a meaningful name inside the findStatuses function. The problem I had is that looking at the 'GetLatestTwitterStatuses' method after a few weeks of not working with this code I didn't really have any idea what the first two 0's being passed to 'findStatuses' mean - I'm not expressing intent very well at all. I decided to refactor this code to make it a bit more explicit by introducing a type to describe the search parameters. [source,ocaml] ---- type TwitterService() = static member GetLatestTwitterStatuses(recordsToSearch) = findStatuses(new TwitterBackwardsSearch(startingTweetId = 0L,tweetsSoFar = 0 , tweetsToTraverse = recordsToSearch)) ---- [source,ocaml] ---- type TwitterBackwardsSearch(startingTweetId:int64, tweetsSoFar:int, tweetsToTraverse:int) = member x.ShouldKeepSearching() = tweetsSoFar < tweetsToTraverse member x.LastId = startingTweetId member x.NextSearch(newStartingTweetId: int64) = new TwitterBackwardsSearch( startingTweetId = newStartingTweetId, tweetsSoFar = tweetsSoFar+20, tweetsToTraverse = tweetsToTraverse) let rec findStatuses(twitterBackwardsSearch:TwitterBackwardsSearch) = if(twitterBackwardsSearch.ShouldKeepSearching()) then let findOldestStatus (statuses:seq<TwitterStatus>) = statuses |> Seq.sortBy (fun eachStatus -> eachStatus.Id) |> Seq.hd let latestStatuses = getStatusesBefore twitterBackwardsSearch.LastId centralProcessor.Send(latestStatuses) findStatuses(twitterBackwardsSearch.NextSearch(findOldestStatus(latestStatuses).Id)) else centralProcessor.Stop() ---- There's more code there than there was in the original solution but I think it is easier to work out what's going on from reading that than from reading the original code because it's more explicit. Another advantage I found from doing this refactoring was that I could write tests describing whether or not we should keep on processing more tweets or not: [source,ocaml] ---- [<Fact>] let should_not_keep_processing_if_number_processed_is_equal_or_higher_than_number_to_search () = let twitterBackwardsSearch = new TwitterBackwardsSearch(startingTweetId = 0L, tweetsSoFar = 20, tweetsToTraverse = 20) Assert.False(twitterBackwardsSearch.ShouldKeepSearching()) [<Fact>] let should_keep_processing_if_number_processed_is_less_than_number_to_search () = let twitterBackwardsSearch = new TwitterBackwardsSearch(startingTweetId = 0L, tweetsSoFar = 20, tweetsToTraverse = 40) Assert.True(twitterBackwardsSearch.ShouldKeepSearching()) ---- I've definitely refactored the code into a more object oriented style although I don't think that what I had before was necessarily the functional style - it felt more like a mix of different concerns in the same function. I don't think a tuple was the correct choice of data type for what I wanted to do although I could certainly see their value when doing mathematical calculations which require x and y values for example. I'm intrigued to see what usages people will come up with for http://weblogs.asp.net/podwysocki/archive/2008/11/16/functional-net-4-0-tuples-and-zip.aspx[using tuples in C# 4.0] - I'm not really convinced that they are beneficial for use when describing most types although I can certainly see some value from the way we can make use of them in active patterns to do pattern matching against certain parts of an instance of a stronger type as Matt Podwysocki explains about half way down the page of http://weblogs.asp.net/podwysocki/archive/2008/11/16/functional-net-4-0-tuples-and-zip.aspx[his post].
null
null
[ 0.006363716907799244, -0.02408842369914055, -0.025238215923309326, 0.03445148840546608, 0.061229508370161057, 0.037627074867486954, 0.002358650788664818, 0.03759559988975525, -0.00411732355132699, -0.006789634469896555, 0.0014566507888957858, -0.015902969986200333, -0.09113137423992157, 0.03477146849036217, -0.0070518385618925095, 0.05773310363292694, 0.06920667737722397, -0.052803460508584976, 0.023759029805660248, -0.0063493154011666775, -0.00862233154475689, 0.04563629627227783, -0.019021514803171158, 0.011472580954432487, 0.022240465506911278, 0.024033913388848305, 0.027509626001119614, -0.019018515944480896, -0.03972379118204117, 0.009170196019113064, 0.024890292435884476, 0.032687172293663025, -0.01685432717204094, -0.0302103441208601, -0.002200388116762042, 0.011385131627321243, 0.03607940301299095, -0.010000178590416908, -0.008835629560053349, 0.029318585991859436, -0.08757966756820679, 0.001648739562369883, 0.019935697317123413, 0.006503609009087086, -0.046270571649074554, 0.011315316893160343, -0.03930840641260147, -0.004697179421782494, -0.02333882823586464, 0.02958587370812893, -0.04949392005801201, 0.01960560493171215, -0.023028874769806862, -0.024140862748026848, 0.01373728271573782, 0.04872329533100128, -0.0017059161327779293, -0.07732046395540237, 0.034043557941913605, -0.0401071198284626, 0.0024749343283474445, -0.01797306537628174, 0.028894048184156418, 0.010675295256078243, 0.020817819982767105, -0.004715085029602051, -0.014261340722441673, 0.040189240127801895, -0.059368595480918884, -0.030685119330883026, 0.008854330517351627, 0.005934436339884996, -0.031044816598296165, -0.006239519454538822, 0.0016167068388313055, -0.02580145373940468, -0.01741868071258068, 0.04800252243876457, 0.03285371884703636, 0.06876499205827713, -0.027089636772871017, 0.016947751864790916, 0.04419530928134918, 0.023771440610289574, 0.03589436039328575, -0.012164528481662273, -0.03957296535372734, -0.00006586869858438149, -0.027849342674016953, 0.04701143130660057, 0.01868414133787155, -0.03405209630727768, 0.001648075645789504, 0.004906785674393177, -0.01621990092098713, -0.002410713117569685, 0.005056123714894056, -0.034218404442071915, -0.014270743355154991, -0.029341666027903557, -0.04794824868440628, -0.03018707036972046, 0.044622212648391724, 0.00688893161714077, -0.08325978368520737, -0.02510358765721321, -0.034856148064136505, -0.01662052981555462, 0.06440510600805283, 0.01197599247097969, -0.04380734637379646, -0.018640384078025818, -0.02228724956512451, 0.03514757379889488, -0.0755026713013649, 0.06034812703728676, 0.025834741070866585, 0.013853347860276699, -0.0029041972011327744, 0.02531670406460762, 0.048081547021865845, 0.0185378510504961, -0.01210755854845047, 0.06012536957859993, 0.0069326492957770824, 0.028190094977617264, -0.006352175027132034, 0.07660907506942749, 0.004423947539180517, -0.06707128137350082, -0.02813701145350933, 0.06422970443964005, -0.030378900468349457, 0.004506015684455633, -0.021173596382141113, -0.010384541004896164, -0.04918234050273895, 0.004187596961855888, 0.05546335503458977, 0.04754915088415146, -0.0020793608855456114, -0.05097918584942818, 0.003135404549539089, -0.04228707030415535, 0.029013855382800102, 0.005230558104813099, -0.04570049047470093, -0.011097068898379803, -0.017806919291615486, 0.058271460235118866, 0.020226340740919113, 0.02077786810696125, 0.06859227269887924, -0.038197316229343414, 0.023419149219989777, 0.07635336369276047, 0.04727951064705849, 0.00889197550714016, 0.01512768305838108, 0.013015222735702991, 0.03916129842400551, 0.039386212825775146, 0.016893820837140083, 0.046558771282434464, 0.042269106954336166, 0.003761428175494075, 0.025840288028120995, 0.06227857992053032, -0.03253726661205292, 0.005179757717996836, -0.05961194261908531, -0.033906687051057816, 0.05497291684150696, -0.013880595564842224, 0.025544192641973495, 0.03476674482226372, 0.07507232576608658, -0.008792944252490997, 0.03715852275490761, -0.013214146718382835, -0.0659266784787178, 0.04257817566394806, 0.01107761450111866, 0.010475890710949898, -0.008536006323993206, 0.004199369344860315, 0.05673344433307648, 0.016839148476719856, 0.019901564344763756, 0.017217028886079788, -0.038722362369298935, -0.07664890587329865, -0.04900851100683212, -0.010702744126319885, 0.07550287246704102, -0.04846249148249626, 0.00201492034830153, 0.05083976313471794, -0.009116188623011112, 0.03808824345469475, 0.033696241676807404, -0.026255562901496887, 0.005094918422400951, -0.02702684886753559, -0.045701056718826294, 0.0651378259062767, 0.05120571702718735, -0.015758056193590164, -0.04506291449069977, 0.004749824292957783, 0.011292465031147003, 0.003716664155945182, 0.024023739621043205, 0.004036948550492525, 0.02678028680384159, 0.022594520822167397, 0.0011793405283242464, -0.025096390396356583, 0.06275179237127304, -0.07408054172992706, 0.039119888097047806, -0.009578166529536247, -0.00592458713799715, -0.04218563809990883, -0.0020819392520934343, 0.12777286767959595, 0.04790284112095833, -0.03943980485200882, -0.02814914844930172, 0.028168270364403725, 0.01611964777112007, -0.027460841462016106, 0.010684704408049583, -0.006753432564437389, -0.01808980107307434, 0.00927824154496193, -0.03144038841128349, -0.013785282149910927, 0.040829554200172424, -0.04954361170530319, -0.01040444802492857, 0.0872277244925499, -0.04370521008968353, 0.029805824160575867, -0.0026870316360145807, -0.047643329948186874, 0.034682247787714005, -0.010554547421634197, -0.012426641769707203, 0.01875433698296547, 0.02051839791238308, -0.010571296326816082, 0.03202877566218376, -0.00982559472322464, -0.02798471786081791, 0.003125113435089588, -0.04350496083498001, 0.028098205104470253, 0.038635484874248505, 0.03537936881184578, -0.02462104521691799, 0.04071313515305519, -0.0310932919383049, -0.02031663991510868, -0.01434473879635334, -0.06440913677215576, -0.020162008702754974, 0.020761830732226372, 0.05297907069325447, 0.027256743982434273, 0.01718028448522091, -0.02596355602145195, 0.005388617981225252, 0.02777627296745777, -0.016361502930521965, -0.02140640839934349, 0.020669883117079735, -0.0002699140168260783, -0.06466247886419296, -0.03815576806664467, -0.06055532023310661, 0.04260871559381485, -0.035203080624341965, -0.055656373500823975, -0.015165470540523529, -0.05457347258925438, 0.05759428068995476, -0.0670168474316597, -0.04955774545669556, -0.013418290764093399, 0.04101262614130974, 0.006733568850904703, -0.03535403311252594, -0.02184261381626129, 0.061053503304719925, 0.024638144299387932, 0.02796158939599991, 0.030414918437600136, 0.0010787687497213483, 0.002180948155000806, -0.011918670497834682, 0.02373330481350422, 0.07403305172920227, -0.0015888873022049665, -0.020732250064611435, -0.05142073705792427, 0.00045899965334683657, 0.00549713708460331, -0.2460823804140091, 0.013300630263984203, -0.015980761498212814, -0.013428785838186741, -0.004875017795711756, -0.02627491019666195, -0.0109861483797431, -0.02174466662108898, -0.009216096252202988, 0.024470530450344086, 0.005231935530900955, -0.023398950695991516, -0.014873867854475975, 0.04227723553776741, 0.0033414566423743963, -0.035885076969861984, -0.020996255800127983, -0.0522032305598259, 0.008679097518324852, 0.055615827441215515, -0.002186478115618229, -0.047282736748456955, 0.010834896005690098, 0.057660847902297974, 0.02417849563062191, 0.04856877028942108, -0.10853539407253265, 0.01797315664589405, -0.02927728183567524, -0.019636359065771103, -0.004122202750295401, -0.005832010880112648, 0.014330418780446053, -0.024917542934417725, -0.021126173436641693, -0.04047621414065361, 0.024626506492495537, 0.0015994582790881395, 0.016096195206046104, 0.027344634756445885, -0.0353744812309742, -0.04954730346798897, -0.000719116535037756, -0.006428622640669346, 0.08511031419038773, -0.018594777211546898, -0.04532969370484352, 0.012163166888058186, -0.02511756122112274, 0.055088989436626434, -0.0465250238776207, -0.021912703290581703, -0.027537643909454346, 0.04069187119603157, -0.027386993169784546, -0.038644906133413315, 0.008804086595773697, -0.02893790788948536, -0.047719430178403854, -0.016074951738119125, -0.011273972690105438, -0.051534514874219894, 0.003554235678166151, -0.06443595886230469, -0.025548255071043968, -0.05922486260533333, -0.05378371477127075, 0.009088465943932533, 0.05096980556845665, 0.01185423880815506, -0.0019520876230672002, 0.005224146414548159, -0.0233314111828804, -0.11343421787023544, -0.03363818675279617, -0.0371907614171505, -0.012303225696086884, -0.021717067807912827, 0.001496748300269246, 0.05381916090846062, -0.042141143232584, -0.058885153383016586, 0.050247594714164734, 0.015671417117118835, 0.042168013751506805, -0.003883575787767768, 0.0011613734532147646, -0.03860756754875183, -0.020873013883829117, 0.003762641688808799, 0.06931628286838531, -0.026166215538978577, -0.0008596338448114693, -0.014247903600335121, 0.022367797791957855, 0.023261310532689095, 0.02552838809788227, -0.005919317249208689, 0.03337734192609787, 0.022077174857258797, 0.05584516376256943, -0.03387979045510292, -0.004894375801086426, -0.031298574060201645, -0.021204035729169846, 0.009236668236553669, -0.04182685166597366, 0.041417982429265976, 0.017571307718753815, 0.006421044003218412, -0.02346619963645935, -0.03678613901138306, 0.022358136251568794, -0.04539904743432999, -0.01907925307750702, -0.03141987323760986, 0.005645187571644783, -0.002446789527311921, 0.021860860288143158, -0.028282346203923225, -0.04268514737486839, 0.002770126797258854, -0.0030408655293285847, -0.006290116347372532, -0.07400914281606674, -0.06040332838892937, -0.020169300958514214, -0.03085986338555813, -0.03691526874899864, 0.04053867980837822, -0.004456136375665665, 0.03576238080859184, 0.006628764793276787, -0.028062380850315094, 0.03467680886387825, 0.011265868321061134, 0.02256605587899685, -0.039207573980093, -0.02155117131769657, -0.03417206183075905, 0.0076680853962898254, -0.0035375445149838924, 0.03388252854347229, 0.02022169902920723, 0.06541416794061661, 0.024568691849708557, 0.0025574229657649994, 0.0024757669307291508, -0.002909949282184243, 0.02076299488544464, 0.026506707072257996, -0.03252951800823212, 0.032029639929533005, -0.02634504996240139, -0.006579721812158823, -0.027642466127872467, 0.03781726583838463, -0.04198981821537018, -0.03385055065155029, -0.06410135328769684, 0.02714381366968155, -0.019920043647289276, -0.014484279789030552, -0.03737499937415123, -0.0011457849759608507, 0.029514910653233528, -0.0379851832985878, 0.0417780801653862, -0.025681888684630394, -0.0052683413960039616, 0.0012638121843338013, 0.011288413777947426, 0.016213228926062584, 0.03652023524045944, -0.01825983263552189, -0.039393797516822815, 0.010624144226312637, 0.037588562816381454, -0.00031259554089047015, 0.022330867126584053, -0.013453152030706406, -0.007344153244048357, 0.009323788806796074, 0.028552351519465446, 0.06593070924282074, 0.058969758450984955, -0.018790531903505325, -0.015763169154524803, -0.024232864379882812, 0.0001309866493102163, -0.029468072578310966, -0.02406063675880432, -0.024697154760360718, 0.018887707963585854, -0.045263539999723434, -0.07413530349731445, 0.004586788360029459, 0.02923349291086197, 0.026275189593434334, 0.0030015818774700165, 0.014421220868825912, -0.0004032512370031327, 0.003461864311248064, 0.009722529910504818, 0.06815946847200394, -0.052341654896736145, 0.01919681392610073, 0.008225240744650364, 0.019392328336834908, 0.0471029207110405, 0.05460720136761665, -0.060194678604602814, -0.007923340424895287, -0.0028401107992976904, 0.0016224496066570282, -0.017908167093992233, -0.03922994062304497, -0.006926865316927433, 0.0186405461281538, -0.042269229888916016, 0.0036186613142490387, -0.01752585731446743, -0.004063943400979042, -0.01244371384382248, -0.01675564981997013, 0.004565328359603882, -0.0358722023665905, 0.00365825230255723, 0.0433039627969265, -0.009715484455227852, 0.010189933702349663, -0.05035330355167389, 0.007949928753077984, 0.022015178576111794, -0.032853126525878906, -0.017460662871599197, -0.051000069826841354, 0.01668996550142765, -0.02383304387331009, 0.0474802628159523, -0.007155227474868298, -0.03196755051612854, -0.002563808811828494, -0.02593267895281315, -0.03615628182888031, -0.013936927542090416, 0.0067241913639009, -0.027049824595451355, 0.02238357625901699, 0.036154117435216904, -0.00757416570559144, 0.03414229676127434, -0.01894165761768818, -0.011300587095320225, 0.05559667944908142, -0.02652920037508011, 0.0010075822938233614, -0.01326858252286911, -0.03522859513759613, 0.03668472543358803, 0.010209431871771812, -0.008953912183642387, -0.034741539508104324, 0.032771747559309006, 0.06412749737501144, 0.04121288284659386, 0.050440192222595215, -0.004062652587890625, 0.030600260943174362, -0.013345954939723015, 0.009575416333973408, -0.07808718830347061, -0.003891289932653308, 0.009963955730199814, 0.011990338563919067, -0.05106666311621666, -0.004307129420340061, 0.006282723043113947, 0.02403387986123562, -0.05874211713671684, -0.02058970369398594, 0.02003810927271843, -0.005992835853248835, 0.021916398778557777, 0.00013254595978651196, -0.03489495441317558, 0.0528140515089035, 0.041141390800476074, -0.019648337736725807, -0.026359442621469498, -0.014964263886213303, 0.05542437359690666, 0.02341526746749878, 0.005396766122430563, -0.008165104314684868, -0.007448200136423111, 0.04337132349610329, 0.04576528072357178, 0.027889031916856766, 0.08994144946336746, -0.04081066697835922, 0.016117054969072342, 0.014555469155311584, -0.06835789978504181, 0.0225540641695261, 0.0004106773412786424, -0.014802048914134502, -0.06428531557321548, -0.0034542905632406473, 0.01846987195312977, -0.05001915618777275, -0.05564818158745766, 0.07829958200454712, 0.015428179875016212, -0.012049256823956966, -0.043106809258461, 0.009454396553337574, -0.03992800414562225, -0.020957645028829575, -0.024548504501581192, 0.018315749242901802, -0.03016001358628273, 0.06808426976203918, 0.019001470878720284, 0.023788096383213997, 0.051331691443920135, -0.009483185596764088, 0.013410764746367931, 0.02590913511812687, 0.06989672034978867, 0.08955059200525284, 0.03739751875400543, -0.01797756552696228, 0.04323190078139305, -0.032397717237472534, -0.04504793882369995, 0.020923076197504997, -0.04644270986318588, 0.0027786470018327236, 0.0009485967457294464, 0.03157529979944229, 0.08174590021371841, 0.010138696059584618, 0.053037483245134354, -0.06478328257799149, 0.024735761806368828, -0.01849282532930374, 0.010578888468444347, 0.03866057097911835, 0.03522978723049164, 0.0024205907247960567, 0.04017384350299835, 0.005947037599980831, -0.018859796226024628, 0.026321331039071083, -0.011936480179429054, -0.02017180249094963, -0.007728053256869316, -0.0008646031492389739, 0.009414038620889187, 0.025377655401825905, 0.07365833222866058, 0.06710463762283325, -0.03555446118116379, -0.03228673338890076, 0.019295334815979004, 0.024708984419703484, -0.004849827382713556, 0.010538067668676376, 0.0029268404468894005, -0.006757244933396578, 0.019548660144209862, 0.010058174841105938, 0.008798209019005299, -0.04745364561676979, -0.04023965075612068, 0.04524768888950348, -0.0011404610704630613, -0.025462400168180466, 0.011738301254808903, -0.040277544409036636, -0.033141378313302994, -0.049425289034843445, -0.05098114162683487, -0.025165438652038574, -0.07730428129434586, 0.005278280004858971, 0.0013296070974320173, -0.003714672289788723, -0.018318410962820053, -0.06666895002126694, -0.007050806190818548, 0.0029089762829244137, 0.048661183565855026, -0.024798734113574028, -0.03680743649601936, 0.009370490908622742, 0.040633946657180786, 0.03503698855638504, 0.045573677867650986, 0.03533482179045677, -0.021718261763453484, -0.010559079237282276, -0.046999406069517136, -0.034612756222486496, 0.051973115652799606, 0.02885075844824314, -0.01356279943138361, -0.08621302992105484, -0.0039053463842719793, 0.027749283239245415, 0.014112469740211964, -0.08489852398633957, -0.017695480957627296, 0.017492851242423058, 0.004506072495132685, 0.026921773329377174, -0.028332684189081192, -0.024233514443039894, -0.045631784945726395, -0.012681369669735432, 0.028274348005652428, 0.009327425621449947, 0.06263936311006546, -0.058569587767124176, 0.07154253870248795, 0.019343579187989235, -0.008883641101419926, -0.027754727751016617, -0.005861207377165556, -0.03416689857840538, 0.05290446802973747, -0.043669167906045914, -0.0589025653898716, -0.03916042670607567, -0.04144638031721115, -0.019395379349589348, 0.014082573354244232, -0.0389365553855896, -0.03873516991734505, 0.00693029910326004, 0.06046817824244499, -0.0546426922082901, 0.059462159872055054, -0.04130754992365837, 0.025311043485999107, 0.001605893368832767, -0.035242777317762375, -0.014444326050579548, 0.04766806587576866, -0.009201478213071823, 0.015895584598183632, 0.044405724853277206, -0.002353227697312832, -0.01946752332150936, -0.02973087504506111, 0.024588683620095253, 0.008503055199980736, -0.0274359043687582, 0.06833520531654358 ]
[ -0.09049373120069504, -0.03566106781363487, -0.037188783288002014, -0.011583035811781883, 0.05355905741453171, -0.04055105894804001, 0.019097160547971725, 0.014675830490887165, 0.011037765070796013, -0.032913919538259506, -0.00838035624474287, -0.05569137632846832, -0.0012699561193585396, -0.0057399338111281395, 0.08991962671279907, 0.0077398172579705715, -0.0180166345089674, -0.0708126574754715, -0.03722551837563515, -0.019505923613905907, 0.03329000622034073, -0.037426065653562546, -0.07226276397705078, -0.030275283381342888, 0.02839469164609909, 0.020814578980207443, 0.013491779565811157, -0.08402471244335175, 0.016491297632455826, -0.20375743508338928, 0.02185473032295704, 0.01741115190088749, 0.03122173249721527, -0.015873074531555176, 0.010929383337497711, 0.025684598833322525, 0.02590196765959263, 0.008344665169715881, -0.0026662705931812525, 0.047673314809799194, -0.009273586794734001, -0.001231575384736061, -0.031071655452251434, -0.028986196964979172, 0.03759003058075905, 0.002624163404107094, -0.03823111206293106, -0.002768224570900202, -0.036667611449956894, 0.009301074780523777, -0.059451308101415634, 0.008855015970766544, -0.04469122737646103, 0.0007772584212943912, -0.00020834281167481095, 0.022417431697249413, 0.06396904587745667, 0.06647893786430359, 0.0033473174553364515, 0.02208860032260418, 0.05650877580046654, -0.02728925086557865, -0.10842390358448029, 0.0893869698047638, -0.003270273096859455, 0.0661834329366684, -0.009580057114362717, -0.03394322097301483, -0.0226424653083086, 0.06434696167707443, 0.02206731028854847, -0.026248103007674217, -0.01937054842710495, 0.0765727162361145, 0.01361821684986353, -0.030805818736553192, 0.0038318028673529625, -0.0009075558627955616, 0.022716674953699112, -0.018487947061657906, -0.05448112636804581, 0.014462747611105442, 0.010038538835942745, 0.004248776938766241, -0.04879932478070259, -0.029987987130880356, -0.0184902623295784, 0.02555878832936287, 0.022492265328764915, 0.010153064504265785, 0.030298836529254913, -0.009898586198687553, 0.022763222455978394, 0.03378700464963913, -0.040291812270879745, -0.014072058722376823, -0.006105232052505016, -0.020548943430185318, 0.014878355897963047, 0.4182971119880676, -0.044070765376091, 0.009091372601687908, 0.05975736677646637, 0.034334391355514526, 0.02596011571586132, 0.021298831328749657, 0.00404450623318553, -0.0675072968006134, -0.019934948533773422, -0.06125706434249878, -0.00253762723878026, -0.0185594130307436, 0.03835305571556091, -0.04698985069990158, -0.012757587246596813, 0.012764399871230125, 0.029788555577397346, -0.006765950936824083, 0.02849745936691761, 0.025290314108133316, -0.03101537749171257, 0.011264911852777004, 0.02382073923945427, 0.014413648284971714, 0.014692721888422966, 0.02458125725388527, 0.037048645317554474, 0.04833080619573593, 0.05720941349864006, 0.04865444824099541, 0.042313624173402786, -0.01826171576976776, -0.09337004274129868, -0.0053375279530882835, -0.011107628233730793, 0.02604212798178196, 0.024463068693876266, -0.0538540743291378, -0.02420223131775856, 0.003279656171798706, -0.004432379733771086, -0.05717131122946739, 0.03397615998983383, -0.001916580949909985, -0.050508201122283936, 0.16686971485614777, -0.029351744800806046, -0.010715012438595295, -0.043096303939819336, 0.002076470060274005, -0.012525021098554134, 0.04611699655652046, -0.029870670288801193, -0.07104777544736862, 0.003502009902149439, 0.03355554863810539, 0.06524838507175446, 0.0034593192394822836, -0.0634658932685852, -0.01646874099969864, -0.05637151375412941, -0.024230407550930977, -0.027764691039919853, 0.03088468499481678, 0.023118019104003906, -0.11387696117162704, 0.008194726891815662, 0.017429955303668976, 0.012511037290096283, -0.09067893028259277, 0.016943251714110374, 0.0212405975908041, -0.052585918456315994, -0.005520644597709179, 0.03568309545516968, -0.000982780009508133, -0.025848064571619034, -0.03240276128053665, 0.06587368249893188, 0.0072516812942922115, -0.025710534304380417, 0.007209694944322109, -0.05082480236887932, 0.005321265663951635, -0.030731724575161934, -0.04413347691297531, -0.03186916932463646, 0.014073481783270836, 0.014808044768869877, 0.002991888439282775, 0.01019259262830019, -0.027291471138596535, -0.061778221279382706, 0.042945608496665955, -0.042432840913534164, -0.03063843585550785, 0.04594440758228302, 0.026165222749114037, 0.010254786349833012, 0.00395445479080081, -0.005426736082881689, 0.04561644792556763, 0.004516325891017914, 0.037262145429849625, -0.05036204308271408, 0.022143999114632607, 0.058149613440036774, -0.04846399277448654, 0.0575517937541008, 0.03380529209971428, -0.008253795094788074, -0.014516491442918777, -0.02032998763024807, 0.0027732467278838158, -0.012889581732451916, -0.08598367124795914, 0.02813546359539032, 0.01180245541036129, 0.01602749153971672, 0.02215675450861454, -0.04512939229607582, -0.07763748615980148, -0.021107785403728485, -0.3382175862789154, -0.05772565305233002, 0.004065802786499262, -0.021655501797795296, 0.012628991156816483, -0.08032011985778809, -0.02128509059548378, -0.028067713603377342, -0.028180444613099098, 0.027047980576753616, 0.07339193671941757, -0.024505887180566788, -0.022575639188289642, -0.0694105252623558, -0.008230159990489483, 0.020700400695204735, -0.03200642764568329, -0.046324361115694046, -0.017819536849856377, 0.01747812330722809, -0.01922393962740898, 0.01709761470556259, -0.01889258809387684, -0.051615819334983826, 0.009907478466629982, -0.0283745639026165, 0.11581005901098251, 0.0026961322873830795, 0.09408218413591385, -0.042992182075977325, 0.020551348105072975, -0.02420223131775856, 0.0002028789749601856, -0.055626511573791504, 0.0021087524946779013, -0.029914531856775284, -0.0372348316013813, -0.0033549286890774965, 0.034190766513347626, -0.009550979360938072, -0.054054439067840576, 0.014453240670263767, -0.023445313796401024, -0.06592893600463867, -0.008190380409359932, -0.010045817121863365, -0.004346328321844339, -0.05244677886366844, 0.0275446567684412, 0.07817205041646957, 0.009292138740420341, 0.01646541804075241, 0.0062815481796860695, 0.03672151640057564, -0.0020886699203401804, -0.0294325090944767, -0.06142466515302658, -0.017313985154032707, -0.0058289566077291965, -0.0016648981254547834, 0.05843115970492363, 0.030914682894945145, 0.049891892820596695, -0.05225919932126999, -0.007733444683253765, 0.006459434516727924, -0.022429442033171654, -0.0008658607839606702, 0.0380789153277874, -0.0449242889881134, -0.026786288246512413, 0.11702307313680649, 0.004173362627625465, 0.028424838557839394, 0.011896376498043537, 0.04747586324810982, -0.018162813037633896, 0.020130937919020653, 0.03351068124175072, 0.0034526698291301727, 0.021117351949214935, -0.01093738991767168, 0.04100321978330612, -0.03161831945180893, -0.014372098259627819, 0.04096626862883568, 0.0011875185882672668, 0.015057818964123726, 0.0649539977312088, 0.0026973197236657143, -0.0018327675061300397, -0.0006311024772003293, 0.022918857634067535, -0.05322330817580223, 0.06845735013484955, -0.011253280565142632, -0.268648236989975, 0.03864908963441849, 0.0456940233707428, 0.029234079644083977, 0.0259598009288311, 0.025387736037373543, 0.026389790698885918, -0.07002679258584976, -0.007878278382122517, -0.0162324458360672, 0.0234454907476902, 0.04204612597823143, 0.02049645595252514, -0.0357828214764595, 0.02737439051270485, 0.009221694432199001, 0.05763624235987663, -0.015337754972279072, 0.01637846790254116, 0.04762587696313858, 0.04386422783136368, -0.008662097156047821, 0.19730010628700256, -0.001960963476449251, 0.04000702127814293, 0.01854814775288105, 0.00530806090682745, 0.02774796262383461, 0.08069463074207306, 0.03443720564246178, 0.026564141735434532, -0.016177760437130928, 0.05772147700190544, 0.00020885575213469565, 0.03917558118700981, -0.06473295390605927, 0.011171073652803898, 0.072115957736969, 0.0070261275395751, -0.0006911330856382847, -0.027214623987674713, -0.006564621347934008, -0.051886409521102905, -0.00818389467895031, 0.06953970342874527, 0.01694704219698906, 0.003570178523659706, -0.04592893645167351, -0.04357793554663658, 0.01042814739048481, -0.029075227677822113, -0.004391369875520468, -0.024090997874736786, 0.0023510034661740065, 0.04856407269835472, 0.05332310125231743, 0.022892765700817108, 0.002662667538970709, 0.011482938192784786, 0.019564734771847725, -0.024632036685943604, -0.007066397462040186, 0.06164997071027756, 0.06116175651550293, 0.02711869589984417 ]
[ 0.002352540148422122, 0.03483733907341957, -0.024274228140711784, 0.011322909034788609, -0.007274926174432039, 0.003815880510956049, 0.03858072683215141, 0.0259045772254467, -0.015094767324626446, 0.005386536009609699, -0.04823631793260574, -0.000933171424549073, 0.035978496074676514, -0.043266020715236664, 0.007826884277164936, -0.01974150910973549, 0.010838484391570091, -0.03931150957942009, 0.02490655519068241, -0.04415193200111389, -0.03342302888631821, 0.03702891245484352, 0.008732558228075504, -0.0021536939311772585, 0.004581254906952381, -0.0031949542462825775, -0.03282624110579491, -0.021397754549980164, 0.027509205043315887, -0.10062990337610245, -0.048120323568582535, -0.033703915774822235, -0.004826076794415712, 0.015604381449520588, -0.022084353491663933, -0.029438743367791176, -0.028684459626674652, 0.009328226558864117, -0.013601094484329224, 0.02943340316414833, -0.010600968264043331, -0.023497847840189934, -0.01770285703241825, 0.01608678326010704, 0.004690481815487146, -0.024116668850183487, -0.017380094155669212, -0.018608899787068367, -0.010294333100318909, 0.03106459230184555, -0.042043864727020264, 0.016315756365656853, -0.016752414405345917, 0.029897084459662437, 0.03622009977698326, -0.01151787769049406, -0.026230761781334877, -0.03317542001605034, -0.02065207064151764, -0.0242060124874115, -0.004317904822528362, -0.010616008192300797, 0.0017712244298309088, -0.01823572814464569, -0.0005825386615470052, -0.026125729084014893, -0.013419460505247116, -0.005160271190106869, 0.01350773312151432, 0.007834083400666714, 0.0022809039801359177, 0.02958822064101696, -0.014571531675755978, 0.03070768155157566, -0.03268548101186752, 0.01245888788253069, 0.037645891308784485, -0.05139424279332161, -0.022686472162604332, -0.0023235490079969168, -0.04862412065267563, 0.0045392815954983234, -0.018490592017769814, 0.017263036221265793, 0.000784232746809721, -0.052803296595811844, 0.005195658188313246, 0.015510937198996544, 0.013965536840260029, 0.040102675557136536, -0.013800797052681446, 0.012348790653049946, 0.01518133282661438, -0.016782192513346672, -0.06796050816774368, 0.01631043292582035, -0.01867476850748062, -0.01144473534077406, -0.0012102153850719333, 0.8536887168884277, -0.024971580132842064, 0.05171189084649086, 0.029344592243433, 0.013244681060314178, -0.02723129279911518, 0.0122196851298213, -0.0073097385466098785, -0.021774258464574814, 0.013084455393254757, -0.06712227314710617, -0.003208906389772892, 0.005607761442661285, 0.06059279665350914, 0.03478294238448143, 0.031679313629865646, 0.02414000779390335, 0.012055723927915096, 0.014397035352885723, 0.01776178553700447, 0.01317061111330986, 0.038011349737644196, -0.009954653680324554, 0.012745377607643604, 0.026587745174765587, 0.012467374093830585, -0.12738485634326935, 0.00794849544763565, -6.532646754853686e-33, 0.055870525538921356, 0.004146380349993706, 0.012541570700705051, -0.011268854141235352, 0.02892535738646984, 0.005844513885676861, 0.014352237805724144, 0.008685420267283916, -0.046982765197753906, -0.01016576960682869, -0.021841680631041527, 0.0072198533453047276, 0.002992768306285143, -0.03085302747786045, 0.03451009467244148, -0.010633021593093872, 0.0039315056055784225, 0.054959122091531754, -0.016243543475866318, -0.00789041630923748, 0.02901100367307663, 0.04579911381006241, -0.0010810410603880882, 0.012621676549315453, 0.0055555240251123905, 0.033198706805706024, 0.010008789598941803, 0.008419421501457691, 0.0017480128444731236, -0.052214525640010834, 0.0019963248632848263, 0.019874094054102898, -0.017354322597384453, -0.03354937583208084, 0.05530336871743202, -0.054685600101947784, -0.01664358377456665, 0.024463362991809845, 0.0026095916982740164, -0.05154162272810936, -0.016884097829461098, 0.051331207156181335, -0.0050934115424752235, -0.023849111050367355, -0.010635246522724628, -0.01600044220685959, -0.002140283351764083, 0.011534598655998707, -0.0030830318573862314, -0.018729839473962784, 0.02846090868115425, 0.0034369046334177256, -0.0020799662452191114, -0.02970617637038231, 0.005015896633267403, 0.008230575360357761, -0.0035205241292715073, 0.019573166966438293, 0.017746003344655037, 0.058757536113262177, 0.0076200515031814575, -0.01211346685886383, 0.011216044425964355, 0.017485477030277252, 0.001025170087814331, 0.03747149929404259, -0.018585970625281334, -0.03269672766327858, 0.04591765254735947, -0.010514876805245876, -0.03779768571257591, 0.021732639521360397, -0.013856641948223114, -0.020877892151474953, 0.04108617082238197, -0.02197590097784996, -0.01335278619080782, -0.06183982640504837, -0.028518643230199814, -0.004951363895088434, -0.010455864481627941, -0.03688731789588928, 0.0022257259115576744, -0.030825253576040268, 0.00247769383713603, -0.026931164786219597, 0.0006349801551550627, -0.008698918856680393, 0.027247944846749306, -0.008892105892300606, 0.021707473322749138, 0.022512199357151985, -0.016308167949318886, -0.026540901511907578, -0.02058849297463894, 6.72334279528377e-33, -0.030092362314462662, -0.021916117519140244, -0.022427907213568687, -0.003344715340062976, 0.002718300325796008, -0.025627369061112404, 0.01681097224354744, 0.0136050870642066, -0.031322069466114044, 0.027114078402519226, -0.014528082683682442, -0.01411602832376957, -0.02811330556869507, 0.0030495787505060434, 0.057278987020254135, -0.018051667138934135, 0.02132858894765377, -0.017762886360287666, -0.01602858491241932, 0.01666005328297615, -0.014565118588507175, -0.0038902624510228634, 0.019575657323002815, 0.03827371448278427, 0.019647367298603058, 0.05547020584344864, -0.02111065201461315, -0.004132499452680349, 0.0033307389821857214, -0.0068006631918251514, 0.010697863064706326, -0.023946790024638176, -0.0010805265046656132, -0.037733785808086395, -0.03207383304834366, 0.029374172911047935, -0.00207038433291018, -0.026915358379483223, 0.013284851796925068, 0.019340408965945244, 0.056793954223394394, -0.023854726925492287, 0.017753474414348602, 0.025162862613797188, -0.03350196033716202, 0.021712452173233032, -0.00035049329744651914, 0.018104661256074905, -0.024337872862815857, 0.0037124694790691137, 0.03748407959938049, -0.0013956150505691767, -0.024205025285482407, 0.010873774997889996, 0.03991909697651863, 0.005817113909870386, -0.018412645906209946, -0.004304364323616028, -0.05743338167667389, -0.00625808909535408, -0.008792613632977009, 0.026417573913931847, -0.0003707399300765246, 0.018423717468976974, 0.0058340695686638355, 0.0011425839038565755, -0.021871598437428474, -0.005485231522470713, -0.0486723855137825, 0.009990628808736801, -0.024649230763316154, -0.03771406412124634, 0.001759298495016992, 0.04105193540453911, 0.022683126851916313, -0.014869758859276772, -0.03545011952519417, 0.032217275351285934, -0.0011524445144459605, 0.03936909884214401, 0.01895865984261036, -0.017237268388271332, 0.025847632437944412, -0.0011514644138514996, -0.010512381792068481, 0.010202250443398952, -0.013535935431718826, 0.024583997204899788, 0.02152061276137829, 0.0038953986950218678, -0.012490515597164631, -0.016564438119530678, -0.01877063326537609, 0.00921840313822031, 0.012028675526380539, -1.2693300632804494e-8, -0.045285098254680634, -0.016078345477581024, -0.041799042373895645, 0.06196383014321327, 0.032587625086307526, -0.005577084142714739, -0.028360147029161453, -0.018414203077554703, -0.0013227082090452313, -0.015187111683189869, -0.015489092096686363, -0.018973948433995247, 0.008727788925170898, -0.02355014719069004, 0.03482698276638985, -0.030756736174225807, -0.0017315675504505634, -0.03322369232773781, 0.024542437866330147, 0.015342477709054947, 0.011017612181603909, 0.020264558494091034, -0.04070722311735153, 0.01962025836110115, 0.016217688098549843, 0.0042883832938969135, 0.03696868568658829, -0.05483866110444069, 0.014309423975646496, 0.03580189123749733, 0.03404867649078369, -0.03090912662446499, -0.0012416769750416279, 0.01444639079272747, 0.009995043277740479, -0.005788013804703951, 0.02941703237593174, -0.0009494010009802878, 0.04917175695300102, -0.018236948177218437, -0.00879271887242794, 0.0021607636008411646, -0.0016877776943147182, -0.02272157184779644, -0.021779226139187813, -0.005704318173229694, -0.025238242000341415, 0.019001701846718788, 0.02038632333278656, -0.045022279024124146, -0.02408711053431034, -0.03211965039372444, 0.028452424332499504, 0.026011774316430092, 0.030514633283019066, 0.02663358859717846, 0.03809259831905365, -0.024161329492926598, -0.031051194295287132, 0.0020365663804113865, 0.05187182500958443, -0.030672723427414894, -0.010481685400009155, -0.01035290863364935 ]
f-tuples-dont-seem-to-express-intent-well
https://markhneedham.com/blog/2009/06/02/f-tuples-dont-seem-to-express-intent-well
false
2009-06-02 23:35:31
Coding: Putting code where people can find it
[ "coding", "communication" ]
[ "Coding", "Communication" ]
I've previously written about the http://www.markhneedham.com/blog/2009/01/21/c-builder-pattern-still-useful-for-test-data/[builder pattern] which I think is a very useful pattern for helping to setup data. It allows us to setup custom data when we care about a specific piece of data in a test or just use default values if we're not bothered about a piece of data but need it to be present for our test to execute successfully. One problem that I noticed was that despite the fact we had builders for quite a number of the classes we were using in our tests, when new tests were being added test data was still being setup by directly using the classes instead of making use of the builders which had already done the hard work for you. A colleague and I were pairing last week and I pointed out one of these areas and he suggested that we should try and introduce the builder pattern to try and solve it! We actually didn't have a builder for that particular piece of data yet but I pointed out several other builders we did have which he wasn't aware actually existed. Clearly I hadn't done a very good job of communicating the existence of the builders but when discussing this we realised that the turn around time for checking whether or not a builder existed was actually not very quick at all. * Start writing test and realise that test data setup was a bit complicated * At best search for 'ClassNameBuilder' if you knew that was the naming convention for these builders * Create test data for the test by typing 'new ClassNameBuilder()\...' We therefore came up with the idea of anchoring the builders to a common class which we called 'GetBuilderFor'. It is now possible to create test data by writing code like this: [source,csharp] ---- var car = GetBuilderFor.Car().Year("2009").Make("Audi").Build(); ---- The nice thing about this is that we now only have to type in 'GetBuilderFor' and then a '.' and ReSharper will show us all the builders that are available to us. If there isn't one then we can create it. Communication wise we've both been mentioning this approach in our stand ups and to other people when we pair with them and hopefully this approach will stop the duplication of test data creation. For those in the Java world http://blog.jayfields.com/2009/01/most-java-unit-tests-consist-of-class.html[Jay Fields wrote a cool post a few months ago where he describes a way to do a similar thing in Java]. I think this is one place where having static imports makes the code read really fluently.
null
null
[ 0.03438624367117882, -0.006973697803914547, 0.011980246752500534, 0.047094911336898804, 0.09280329942703247, 0.02839266136288643, 0.024861890822649002, 0.014466562308371067, 0.010482877492904663, -0.027580851688981056, 0.0005527752218768001, -0.000986141967587173, -0.06719031184911728, 0.019630152732133865, -0.05343901365995407, 0.0593126006424427, 0.06642135977745056, 0.01596934348344803, 0.035610295832157135, 0.007807911839336157, 0.02255321480333805, 0.03872576728463173, 0.0008126907050609589, 0.057188861072063446, 0.0182011891156435, 0.028945742174983025, 0.010960934683680534, 0.0011453801998868585, -0.05699572712182999, -0.016663432121276855, 0.04231071099638939, 0.014619269408285618, 0.021296296268701553, -0.01221471931785345, -0.0010199393145740032, -0.022278770804405212, -0.028051476925611496, 0.007692626677453518, -0.0021128493826836348, 0.010228649713099003, -0.09119360893964767, 0.02276439405977726, 0.01224081963300705, 0.006471947301179171, -0.048125259578228, 0.009602724574506283, -0.05270012840628624, -0.01556705404073, -0.026019996032118797, -0.005659539718180895, -0.052930060774087906, 0.046226710081100464, -0.03785421699285507, 0.007496396545320749, 0.0033755283802747726, 0.03523006662726402, 0.03936874866485596, -0.09202462434768677, 0.03611312434077263, -0.046958401799201965, 0.011522063985466957, -0.004029396455734968, -0.0052983323112130165, 0.027094770222902298, 0.010694007389247417, -0.010902496054768562, -0.015603448264300823, 0.05101795494556427, -0.03871248662471771, -0.010373792611062527, -0.028133872896432877, -0.0032411098945885897, 0.0020762670319527388, -0.02675483748316765, 0.013110342435538769, -0.03671950474381447, -0.009759326465427876, 0.05590350925922394, 0.03480834513902664, 0.035016369074583054, -0.015370316803455353, -0.0031400893349200487, 0.03132019191980362, 0.009022071957588196, 0.015159453265368938, -0.04832581430673599, -0.01270446740090847, -0.009538027457892895, -0.028146391734480858, 0.08294612914323807, 0.0345861092209816, -0.04439316317439079, 0.01276469323784113, 0.027101820334792137, -0.007057412527501583, -0.0027795927599072456, 0.0014522257260978222, -0.02342813089489937, 0.0003917081339750439, 0.003964927978813648, -0.019537977874279022, -0.007074080407619476, 0.011803478002548218, 0.014934180304408073, -0.06817363202571869, -0.019131412729620934, -0.047510940581560135, -0.013625442050397396, -0.003621460637077689, 0.028449904173612595, -0.04016910120844841, 0.012126956135034561, -0.009776639752089977, 0.0015942627796903253, -0.09881891310214996, 0.06629651039838791, 0.01875849813222885, -0.019890036433935165, -0.022771956399083138, 0.029904281720519066, 0.03968124836683273, 0.04015520587563515, -0.0016711135394871235, 0.06134983152151108, 0.009835446253418922, 0.04205568879842758, 0.002297733211889863, 0.07293214648962021, -0.008831894025206566, -0.0666382685303688, -0.0011719309259206057, 0.06103790923953056, -0.006262820679694414, 0.0075375996530056, 0.017509393393993378, -0.018491754308342934, -0.008020752109587193, -0.0005315968301147223, 0.038523972034454346, 0.05333920568227768, -0.01946915127336979, -0.03702213242650032, 0.04437108337879181, 0.0026393262669444084, -0.0023724930360913277, 0.0237213633954525, -0.023945119231939316, -0.0182886254042387, -0.029334530234336853, 0.04615268111228943, 0.0009989221580326557, 0.07300271093845367, 0.03824784606695175, -0.05388064682483673, 0.015126622281968594, 0.06955298036336899, 0.005126592703163624, 0.0037779277190566063, -0.005077729467302561, 0.03228379040956497, 0.024223489686846733, 0.028229305520653725, 0.03880472108721733, 0.016523215919733047, 0.0150764100253582, 0.001153309247456491, 0.005265010520815849, 0.029836205765604973, -0.004337491933256388, -0.004059324506670237, -0.06919767707586288, -0.058599431067705154, 0.054103702306747437, -0.049998290836811066, -0.00257826317101717, 0.02082398720085621, 0.09559452533721924, -0.013586709275841713, 0.04841368645429611, 0.0032856068573892117, -0.07045998424291611, 0.013493097387254238, 0.011359321884810925, 0.014102740213274956, 0.0333072803914547, -0.02179861254990101, 0.07177039980888367, 0.03938984125852585, -0.004757747519761324, 0.03977442905306816, -0.052509382367134094, -0.06077151745557785, 0.0038565422873944044, -0.023920048028230667, 0.05042596161365509, -0.024351386353373528, -0.011434144340455532, 0.07983545958995819, 0.020829103887081146, 0.045066382735967636, 0.033883240073919296, -0.003798004239797592, 0.004267499316483736, -0.0451371856033802, -0.0402224026620388, 0.030214408412575722, 0.03273661807179451, -0.0036163339391350746, -0.048940788954496384, 0.011114484630525112, 0.0030096061527729034, 0.005586728453636169, 0.051506608724594116, -0.0076611717231571674, 0.04367929697036743, 0.005619863513857126, 0.02730320394039154, -0.02295367233455181, 0.06239386647939682, -0.05358656495809555, 0.003456950420513749, -0.02446015365421772, -0.049328695982694626, 0.007305428385734558, -0.004452541004866362, 0.13231442868709564, 0.03466523066163063, -0.06000789254903793, -0.04389405623078346, 0.03159033879637718, 0.02676006220281124, -0.019310900941491127, 0.006692654453217983, -0.011796130798757076, 0.008404172025620937, -0.004014826379716396, -0.0559939444065094, -0.027821006253361702, 0.01445993036031723, -0.02701578289270401, 0.03928536921739578, 0.08646512031555176, -0.04840405285358429, 0.05453861132264137, 0.002840406959876418, -0.016961876302957535, -0.005147104151546955, -0.03747173398733139, -0.05465921387076378, -0.0016534223686903715, 0.01751798205077648, -0.014070604927837849, 0.05151612311601639, -0.02333088032901287, -0.035291559994220734, -0.030365483835339546, -0.05334228649735451, 0.005393144208937883, 0.025547971948981285, 0.08217974752187729, 0.009786718524992466, 0.04052826762199402, -0.010298550128936768, 0.03429049253463745, 0.0003191313298884779, -0.06275304406881332, 0.011921864934265614, 0.002138024428859353, 0.005244637839496136, 0.045525193214416504, -0.021554013714194298, 0.024271676316857338, 0.02311846986413002, 0.015240473672747612, -0.011885063722729683, -0.01439708098769188, 0.0197367575019598, -0.01777835562825203, -0.029039813205599785, -0.030084386467933655, -0.0483161062002182, 0.04218943417072296, -0.038930121809244156, -0.01802741549909115, 0.03401913866400719, -0.06579674780368805, 0.029577959328889847, -0.08569616079330444, -0.058744993060827255, -0.005090758204460144, 0.020334260538220406, 0.015930136665701866, 0.0031408555805683136, 0.02503267675638199, 0.10507877171039581, 0.027454916387796402, -0.009128441102802753, -0.002432732144370675, -0.013414490967988968, 0.0314483642578125, -0.00851777195930481, 0.028383927419781685, 0.02590431086719036, 0.009577163495123386, -0.0020890035666525364, -0.04043888300657272, 0.02997942827641964, -0.01586015336215496, -0.26777884364128113, 0.027172675356268883, -0.009852472692728043, -0.06854899972677231, 0.03263727203011513, -0.0004990051966160536, 0.009236166253685951, -0.04341363534331322, -0.017061298713088036, 0.04821968078613281, -0.03365907073020935, -0.04902983084321022, -0.0059152813628315926, 0.04993089661002159, -0.006551936734467745, 0.024557940661907196, 0.013323351740837097, -0.024712875485420227, 0.02466682903468609, 0.0253884419798851, 0.00860481895506382, -0.06518568843603134, 0.014715722762048244, 0.032714031636714935, 0.035271916538476944, 0.05691738426685333, -0.0818561539053917, 0.06026085093617439, -0.039211440831422806, -0.00033575171255506575, 0.01372401975095272, 0.003502143546938896, 0.005309868138283491, -0.010157577693462372, -0.03999163210391998, -0.004478443413972855, 0.014064873568713665, 0.01514667272567749, -0.021049441769719124, 0.008700528182089329, -0.02289966121315956, -0.05284780636429787, -0.023454435169696808, 0.0019740236457437277, 0.06496650725603104, -0.005658659618347883, -0.08960629999637604, -0.0011633164249360561, -0.030132541432976723, 0.06254205852746964, -0.04714290425181389, -0.04797054082155228, -0.006208432372659445, 0.03574030101299286, -0.02023109421133995, -0.03662308305501938, 0.0021256713662296534, -0.008288559503853321, -0.048199720680713654, -0.019463103264570236, -0.006061262916773558, -0.03222803398966789, 0.018320346251130104, -0.057403016835451126, -0.013475317507982254, -0.07084115594625473, -0.055459070950746536, -0.02307809516787529, 0.08374542742967606, 0.0371597483754158, -0.016972076147794724, 0.0017277075676247478, 0.005075283348560333, -0.1277213990688324, 0.015664510428905487, -0.023271121084690094, -0.02132577821612358, -0.04468940198421478, -0.01640395075082779, 0.06742589920759201, -0.0272125955671072, -0.041994985193014145, 0.04224066063761711, 0.021250737830996513, 0.0083324508741498, 0.011165124364197254, 0.012490539811551571, 0.007701740600168705, -0.026320340111851692, 0.011517520062625408, 0.06832093745470047, -0.032205503433942795, -0.003568552900105715, -0.047215305268764496, 0.014596996828913689, 0.027819231152534485, 0.01973455585539341, -0.0022478755563497543, 0.03049370087683201, 0.020094851031899452, 0.03167804703116417, -0.046726468950510025, 0.03631073608994484, -0.031702976673841476, 0.02202562242746353, -0.03485384210944176, -0.05533729866147041, 0.017557015642523766, 0.01504287775605917, 0.032979004085063934, 0.00018264964455738664, -0.029623612761497498, -0.0014437695499509573, -0.04855052009224892, -0.030407732352614403, -0.019007422029972076, 0.009463533759117126, 0.043186236172914505, -0.021524246782064438, -0.008500441908836365, -0.04254147410392761, 0.016643662005662918, -0.002854742808267474, -0.0046027409844100475, -0.05075322836637497, -0.030438600108027458, -0.003713679499924183, -0.015326124615967274, 0.014641782268881798, 0.022487256675958633, -0.017516251653432846, 0.030716923996806145, 0.005795609671622515, -0.04251691326498985, 0.01704806089401245, 0.009579923003911972, -0.03139964118599892, -0.03671415522694588, -0.02928430587053299, -0.007525178138166666, -0.012813840992748737, 0.003873614128679037, 0.034003324806690216, 0.02388102374970913, 0.049733467400074005, 0.004687728825956583, 0.043906114995479584, 0.004362262785434723, 0.014396081678569317, -0.001057444023899734, 0.007695868145674467, -0.07904317229986191, 0.043496452271938324, -0.0569155178964138, -0.01962161995470524, -0.039070211350917816, 0.060088641941547394, -0.011662541888654232, -0.03816838935017586, -0.03379698842763901, 0.02324404940009117, -0.05716872960329056, -0.010162285529077053, -0.02635631151497364, 0.025469636544585228, 0.06240340694785118, -0.00988940242677927, 0.03380035236477852, -0.03816186264157295, -0.007137075066566467, 0.013858061283826828, 0.025829331949353218, -0.05271187052130699, 0.03876468166708946, 0.014174887910485268, -0.02765006758272648, -0.0118873817846179, -0.012507428415119648, 0.061403751373291016, 0.01666526310145855, -0.014393550343811512, -0.012768825516104698, -0.007896172814071178, -0.0046486626379191875, 0.05840415880084038, 0.023573610931634903, -0.006372690200805664, 0.0005289390101097524, -0.021112095564603806, -0.006343433167785406, -0.01054274383932352, -0.00899571180343628, 0.013290060684084892, 0.03339562937617302, -0.04227665811777115, -0.0791332870721817, 0.04556889832019806, 0.03755440562963486, 0.01748896762728691, 0.021316125988960266, -0.005594437476247549, -0.011988572776317596, -0.02386637218296528, 0.03417060151696205, 0.07383714616298676, -0.04335308447480202, 0.014028603211045265, -0.0035778447054326534, -0.007743056397885084, 0.03145528957247734, 0.027897702530026436, -0.0357162244617939, -0.008294238708913326, -0.0024431897327303886, -0.007214417215436697, -0.07048790156841278, -0.03213426470756531, -0.01823144219815731, 0.03539218008518219, -0.005625695455819368, -0.03602725267410278, -0.0032084931153804064, 0.006021203938871622, -0.007620249874889851, -0.032955531030893326, 0.015138136222958565, -0.037484463304281235, -0.005141411442309618, 0.005654322449117899, -0.054509785026311874, 0.022573838010430336, -0.02525121346116066, -0.004575992468744516, 0.025296267122030258, -0.010094261728227139, -0.0464639738202095, -0.045562468469142914, 0.007690142840147018, -0.0027740050572901964, 0.04125956445932388, -0.006290601100772619, -0.038426801562309265, -0.051491010934114456, -0.011922807432711124, -0.03534790873527527, 0.010500178672373295, -0.01389180589467287, 0.00451677804812789, 0.022928772494196892, 0.05196300148963928, -0.011962280608713627, 0.028255337849259377, -0.015259030275046825, -0.01422744058072567, 0.060942862182855606, -0.06284251064062119, -0.027884621173143387, -0.036157164722681046, -0.06088199093937874, 0.0026683050673455, 0.00564134307205677, 0.012258929200470448, -0.019167913123965263, 0.06205759570002556, 0.029268760234117508, 0.011113512329757214, 0.008947041817009449, 0.02064591646194458, 0.037842944264411926, -0.055198438465595245, -0.004905803129076958, -0.06691227853298187, 0.023658093065023422, 0.05270279943943024, 0.021221717819571495, -0.010377662256360054, -0.026472005993127823, -0.03710796684026718, 0.04457978531718254, -0.04823978245258331, -0.04242906719446182, 0.037281621247529984, 0.005663061514496803, -0.002860227832570672, -0.0012164342915639281, -0.0481242798268795, 0.021322643384337425, 0.006102554500102997, -0.024861857295036316, -0.034529559314250946, -0.04460970312356949, 0.05034997686743736, -0.00155495700892061, 0.011374786496162415, -0.03418314456939697, 0.008491721004247665, 0.054070811718702316, 0.0163075253367424, 0.03562968969345093, 0.02151496708393097, -0.027433639392256737, 0.043955735862255096, 0.0465383343398571, -0.010658631101250648, -0.006432455498725176, 0.005925924051553011, 0.009518628008663654, -0.05071820691227913, 0.0029690894298255444, 0.022381562739610672, -0.0385487899184227, -0.0435359887778759, 0.0650194063782692, 0.028514757752418518, -0.04475398734211922, -0.03897785767912865, 0.006176380440592766, -0.03922374173998833, -0.022539691999554634, -0.007483170833438635, 0.008322294801473618, -0.0556969977915287, 0.04881850630044937, -0.003942214883863926, -0.015772217884659767, 0.07029258459806442, 0.009531035088002682, -0.013141931034624577, -0.017107555642724037, 0.08354099839925766, 0.08423902839422226, 0.023126306012272835, -0.0011137287365272641, 0.06593172997236252, -0.017919696867465973, -0.05731412023305893, 0.018553216010332108, -0.022210020571947098, 0.0010532664600759745, -0.019089490175247192, 0.012777185067534447, 0.06476031988859177, -0.0084157083183527, 0.06774094700813293, -0.03286702558398247, 0.0022743854206055403, -0.0045128799974918365, 0.034788262099027634, 0.020401794463396072, 0.03624590113759041, -0.008055068552494049, 0.01178376842290163, -0.008659888058900833, -0.034359727054834366, 0.004777850117534399, -0.028854472562670708, -0.023858681321144104, 0.045772701501846313, 0.0012054926482960582, 0.007386357057839632, 0.0024608317762613297, 0.026378802955150604, 0.07915852218866348, -0.02918856032192707, -0.011491464450955391, -0.007486981805413961, 0.030003469437360764, 0.01826777681708336, -0.02183721959590912, -0.02668851800262928, -0.025607582181692123, -0.019748155027627945, -0.01427873969078064, -0.007750201504677534, -0.03729584068059921, -0.009835648350417614, 0.031580861657857895, -0.015469254925847054, -0.006272524129599333, 0.01530881505459547, 0.00671981880441308, -0.023144995793700218, -0.05562616512179375, -0.0420026034116745, -0.011490858159959316, -0.07393345981836319, -0.015191439539194107, 0.013047813437879086, -0.009266626089811325, -0.021713417023420334, -0.036955416202545166, -0.019962407648563385, -0.028229394927620888, 0.051046837121248245, -0.058587316423654556, -0.043784379959106445, 0.027634184807538986, 0.014305018819868565, 0.0563446581363678, 0.028527677059173584, 0.047175515443086624, 0.017893563956022263, -0.016394736245274544, -0.042456161230802536, -0.011530133895576, 0.010193300433456898, 0.011066206730902195, 0.022820938378572464, -0.09289514273405075, 0.033538252115249634, 0.010427778586745262, -0.004564871545881033, -0.06349886953830719, 0.014564773067831993, 0.0072499108500778675, -0.005584102589637041, 0.06482535600662231, -0.018638957291841507, -0.0021368928719311953, -0.02239261381328106, -0.0020714791025966406, 0.022469613701105118, 0.0024614071007817984, 0.0372844822704792, -0.023284051567316055, 0.07993973046541214, 0.03150084614753723, -0.04194290190935135, -0.024129904806613922, -0.017531493678689003, -0.000656380201689899, 0.010010371915996075, -0.033223457634449005, -0.037548139691352844, -0.034213632345199585, -0.06874460726976395, -0.009203117340803146, -0.011683830991387367, -0.022882718592882156, -0.026655783876776695, 0.030356524512171745, 0.04618142172694206, -0.042449116706848145, 0.008673871867358685, -0.05234978348016739, 0.03654095157980919, -0.032458920031785965, -0.02691832184791565, 0.011928511783480644, 0.02131698466837406, -0.0060968780890107155, 0.01574268378317356, -0.0029659427236765623, -0.04558374360203743, -0.010863681323826313, -0.017063474282622337, 0.03837549313902855, 0.03611025959253311, 0.005271981470286846, -0.004856088664382696 ]
[ -0.07407797873020172, 0.03791229426860809, -0.016230326145887375, -0.024197090417146683, 0.03934754058718681, -0.01621316932141781, -0.017217127606272697, 0.022102532908320427, -0.00014918793749529868, -0.033702969551086426, 0.00037142494693398476, -0.045861560851335526, -0.027010297402739525, -0.013653990812599659, 0.07108712196350098, 0.020257558673620224, -0.026538169011473656, -0.048690471798181534, 0.02601916715502739, 0.02339825965464115, 0.0007298730779439211, -0.020065756514668465, -0.0443093478679657, -0.032088398933410645, 0.018228882923722267, 0.0317685641348362, 0.03609133139252663, -0.025069015100598335, 0.004713547416031361, -0.2142033576965332, 0.008585095405578613, -0.0012121886247768998, 0.04558183625340462, -0.003833077847957611, 0.014886008575558662, 0.022391531616449356, 0.0058295573107898235, 0.05743023753166199, -0.00021489534992724657, 0.043483152985572815, -0.003160160733386874, 0.02151576802134514, -0.060283008962869644, 0.001046165474690497, 0.04510636627674103, 0.052618689835071564, 0.011660550720989704, -0.03448240086436272, 0.005651087500154972, 0.01723288744688034, -0.03993510082364082, -0.028784584254026413, -0.012562460266053677, -0.04242098703980446, 0.0060819522477686405, 0.0313231535255909, 0.04655751213431358, 0.03772778809070587, 0.03204615041613579, 0.021872373297810555, -0.01539586205035448, 0.008729364722967148, -0.1312233954668045, 0.07812769711017609, 0.034549590200185776, 0.03684820234775543, -0.028526511043310165, -0.037628140300512314, 0.012024139985442162, 0.09068846702575684, -0.002254740335047245, -0.059297826141119, -0.017979878932237625, 0.04165719076991081, 0.024453436955809593, 0.009306030347943306, -0.013550525531172752, 0.015585334971547127, 0.03407673165202141, -0.056915752589702606, -0.051046062260866165, -0.028474288061261177, -0.017411820590496063, -0.026192648336291313, -0.025502309203147888, 0.03292058780789375, -0.019558854401111603, 0.03239035606384277, 0.04321511834859848, 0.027762139216065407, 0.04066266492009163, -0.04297119751572609, 0.008601612411439419, 0.031112778931856155, -0.08890955150127411, -0.013732236810028553, -0.006042169407010078, 0.006677230820059776, -0.038066063076257706, 0.458599716424942, -0.04458905756473541, -0.015675485134124756, 0.04615668207406998, 0.04254719987511635, -0.022548208013176918, 0.02252974361181259, -0.025604071095585823, -0.04710511490702629, -0.0022617254871875048, -0.06562377512454987, 0.030434060841798782, 0.02333289384841919, 0.04418930411338806, -0.04932451620697975, -0.010408991947770119, 0.009058152325451374, -0.003951725084334612, -0.010098587721586227, -0.008731218054890633, 0.010206128470599651, 0.0008650601957924664, 0.019312994554638863, 0.023827824741601944, -0.0118204141035676, 0.015268422663211823, -0.03321188688278198, 0.02327096462249756, 0.032153040170669556, 0.025676989927887917, 0.002701729768887162, 0.029816022142767906, -0.029261423274874687, -0.09727269411087036, 0.022212691605091095, -0.008575430139899254, -0.0039038686081767082, 0.028301730751991272, -0.021352166309952736, 0.0035933847539126873, 0.0163565743714571, -0.022633736953139305, -0.0073793730698525906, 0.020058363676071167, -0.021729592233896255, -0.05439591035246849, 0.06462714076042175, 0.0063980091363191605, 0.012930997647345066, -0.026294991374015808, -0.05343697592616081, 0.012268044985830784, 0.03907262906432152, 0.014503407292068005, -0.0885239690542221, 0.02071196213364601, 0.017183775082230568, 0.0684221163392067, 0.001589156687259674, -0.051409877836704254, -0.018499040976166725, -0.012525788508355618, 0.001278813579119742, -0.042137689888477325, 0.025592677295207977, 0.06338152289390564, -0.11346658319234848, -0.042365655303001404, 0.039816174656152725, 0.04001380875706673, -0.06672793626785278, -0.007548674941062927, 0.036873865872621536, -0.04065529629588127, 0.007234732620418072, 0.04787839576601982, -0.024397525936365128, -0.04446284845471382, 0.01798691228032112, 0.03899839147925377, 0.021370897069573402, 0.01678355596959591, -0.008868158794939518, -0.04672586917877197, 0.010867401026189327, -0.0293496735394001, -0.07697287946939468, -0.06068018823862076, -0.006301545072346926, -0.036375563591718674, -0.026233183220028877, -0.027546819299459457, -0.00016375935229007155, -0.08691386133432388, 0.08367118239402771, -0.028600741177797318, -0.03022151067852974, 0.04343303665518761, -0.006965931970626116, 0.011564711108803749, -0.032644566148519516, -0.021914279088377953, 0.0162305049598217, 0.006588369142264128, 0.06539823114871979, -0.09892087429761887, 0.07251682877540588, 0.05479957163333893, -0.04619595780968666, 0.10793250054121017, 0.03498614951968193, -0.016287799924612045, -0.038045573979616165, 0.006777653936296701, -0.003551838453859091, -0.009475171566009521, -0.011538177728652954, -0.011420411989092827, 0.030611177906394005, 0.01648097299039364, 0.014846722595393658, -0.04199158027768135, 0.015938762575387955, -0.008914402686059475, -0.34710073471069336, -0.04587192088365555, -0.020145190879702568, 0.009566018357872963, -0.00761763658374548, -0.05634570121765137, 0.013295854441821575, -0.0022924754302948713, -0.0414329431951046, -0.02206488884985447, 0.07583172619342804, -0.001340667949989438, 0.015396436676383018, -0.08000008761882782, -0.01297750137746334, -0.014756014570593834, -0.021743619814515114, -0.02969720959663391, -0.03557554632425308, 0.030245868489146233, 0.011600230820477009, 0.010131857357919216, -0.0003382423601578921, -0.058028314262628555, 0.008302508853375912, -0.06307845562696457, 0.10328835994005203, -0.0200599804520607, 0.09127134829759598, -0.02060791105031967, 0.059842370450496674, 0.012106318958103657, 0.027376290410757065, -0.06685236841440201, -0.0034691886976361275, -0.025455033406615257, -0.020909275859594345, 0.01744570955634117, 0.02771947532892227, -0.025183754041790962, -0.032143570482730865, 0.015801789239048958, -0.04524846374988556, -0.05750233680009842, -0.02276667393743992, -0.01440810039639473, -0.02481197752058506, 0.001270316424779594, -0.045558128505945206, 0.0828867256641388, 0.015049244277179241, -0.0028477045707404613, 0.029031483456492424, 0.0007914855377748609, 0.0036360372323542833, -0.06075068563222885, -0.08643535524606705, 0.024736719205975533, 0.009947187267243862, -0.003997002262622118, 0.05253325030207634, 0.06836193054914474, 0.04474281519651413, -0.043267689645290375, -0.01204617414623499, -0.006582905072718859, -0.01723579876124859, -0.006826784927397966, 0.030077805742621422, -0.043738894164562225, -0.0230904258787632, 0.09029585123062134, -0.023026786744594574, -0.005689642392098904, 0.01236296258866787, 0.03579388186335564, -0.03237377852201462, -0.006135131698101759, 0.02644665539264679, -0.0035548247396945953, 0.00414218520745635, -0.028007108718156815, 0.020227931439876556, -0.006704482715576887, 0.018339671194553375, 0.05076473951339722, -0.01235293410718441, 0.013100138865411282, 0.05614510178565979, -0.0030490849167108536, -0.024004492908716202, 0.015137148089706898, 0.0067258598282933235, -0.05678360164165497, 0.08272624015808105, -0.00040249023004435003, -0.23629707098007202, 0.00866831187158823, 0.048765648156404495, 0.05090775713324547, -0.006167748011648655, 0.000725818332284689, 0.019590644165873528, -0.037219639867544174, 0.04192233085632324, 0.01811683550477028, 0.02432326041162014, 0.015716083347797394, -0.0013752988306805491, 0.016204597428441048, 0.04144258052110672, -0.01724010705947876, 0.05643027648329735, -0.023390425369143486, 0.014777998439967632, -0.0028536138124763966, 0.0267360657453537, -0.009495946578681469, 0.17430417239665985, 0.0011992118088528514, 0.0415927916765213, 0.002551147947087884, 0.006336469203233719, 0.02858853153884411, 0.0689416378736496, 0.03011954575777054, -0.00010610904428176582, -0.003633286338299513, 0.050376128405332565, 0.00485546700656414, 0.009403698146343231, -0.06708583235740662, -0.008466414175927639, 0.011609707027673721, 0.010770169086754322, 0.022449446842074394, 0.002332148142158985, 0.01667732372879982, -0.05456550046801567, 0.036468394100666046, 0.06608593463897705, 0.009189899079501629, -0.0010927992407232523, -0.04543120041489601, -0.03993606194853783, -0.02327466569840908, -0.04086212441325188, -0.04873986542224884, 0.006011505611240864, -0.013189084827899933, 0.009597831405699253, 0.06657633930444717, 0.013252569362521172, -0.03158523514866829, 0.025180790573358536, 0.02221756801009178, -0.007960821501910686, 0.018106309697031975, 0.12406131625175476, 0.06536457687616348, 0.01970645971596241 ]
[ -0.04525410756468773, 0.041737351566553116, 0.0017775730229914188, 0.033949367702007294, -0.04697716608643532, 0.005807094741612673, -0.0588727667927742, 0.0067513384856283665, -0.040583159774541855, -0.010031131096184254, -0.015819812193512917, -0.04548456519842148, 0.015484397299587727, -0.058448728173971176, 0.044305220246315, -0.0015035623218864202, -0.010811454616487026, -0.03073824755847454, 0.012118798680603504, -0.002972124610096216, -0.015328737907111645, 0.013746794313192368, -0.010298016481101513, 0.014810684137046337, 0.03279038891196251, 0.005094905383884907, -0.03224287927150726, 0.046191081404685974, 0.029007457196712494, -0.09575849771499634, -0.019016297534108162, -0.008115384727716446, -0.0020447049755603075, 0.030475957319140434, 0.0003537367738317698, 0.01832924224436283, 0.032337140291929245, 0.06516211479902267, -0.03569592535495758, -0.03083021380007267, 0.014190524816513062, -0.025619346648454666, 0.024195987731218338, -0.01777462288737297, -0.021493110805749893, 0.05285122990608215, 0.003500846214592457, -0.035139165818691254, 0.019820846617221832, -0.021040864288806915, -0.04022142291069031, -0.015544788911938667, -0.02521331235766411, -0.014051445759832859, 0.004178795963525772, -0.00004727707710117102, 0.02325243130326271, -0.011913584545254707, 0.0046902489848434925, -0.02872898429632187, 0.024904850870370865, 0.0041388580575585365, -0.037511810660362244, -0.035029731690883636, -0.02088915929198265, 0.011830453760921955, -0.015886245295405388, 0.056031063199043274, -0.00279934611171484, -0.00835546012967825, 0.02329275757074356, -0.022534789517521858, 0.013233507052063942, -0.03986654430627823, 0.030080540105700493, 0.043586742132902145, 0.0014743078500032425, -0.015221779234707355, 0.029543327167630196, -0.04295703023672104, -0.037705980241298676, 0.013825928792357445, -0.05108179524540901, -0.0217099878937006, 0.01352465245872736, 0.03145429864525795, 0.027178015559911728, 0.026442306116223335, -0.028718125075101852, 0.03842996060848236, -0.023332785815000534, -0.0007895607850514352, 0.020801609382033348, 0.03293919190764427, -0.05371532961726189, 0.025081638246774673, 0.010408535599708557, -0.0008632577955722809, 0.03383614122867584, 0.7933918237686157, -0.02481538988649845, 0.061784010380506516, 0.03196801245212555, 0.030620476230978966, -0.038145408034324646, -0.014834988862276077, -0.039769116789102554, 0.014325622469186783, 0.029104357585310936, -0.057125795632600784, 0.010049003176391125, 0.0047624618746340275, 0.04493013396859169, -0.029802527278661728, 0.01813892461359501, -0.01559504121541977, -0.027014270424842834, -0.012348564341664314, -0.03726620599627495, 0.034706972539424896, 0.02072313241660595, -0.02431797794997692, 0.02187380939722061, -0.012808635830879211, 0.023547735065221786, -0.21113798022270203, -0.0016106232069432735, -7.614006783378156e-33, 0.06836222112178802, -0.027575163170695305, 0.02248138189315796, 0.027053918689489365, 0.03753844276070595, -0.0018057283014059067, 0.01986049674451351, 0.08799046277999878, 0.004070650320500135, -0.01430260855704546, 0.05878182128071785, -0.039485253393650055, -0.0095673231408, -0.013769879005849361, 0.042391013354063034, -0.013538714498281479, -0.03694082051515579, -0.0036225677467882633, -0.034890588372945786, 0.02099429816007614, 0.03096782974898815, 0.020084865391254425, -0.00480236578732729, -0.0019455535802990198, 0.03441385552287102, -0.015626735985279083, 0.04306989163160324, 0.014561370015144348, -0.05534696951508522, -0.027107911184430122, -0.06063837185502052, 0.01263810507953167, 0.004188928287476301, 0.007221196312457323, 0.020801013335585594, -0.03744864463806152, -0.04084629565477371, 0.020677076652646065, -0.024608785286545753, -0.007142479065805674, 0.003867994761094451, -0.02603859454393387, -0.042692214250564575, 0.0033621618058532476, -0.040556538850069046, -0.014674166217446327, -0.005360219161957502, 0.0008924026042222977, 0.018156878650188446, -0.010173988528549671, 0.03487706184387207, 0.03552525117993355, -0.001124506932683289, 0.008934589102864265, -0.0337449349462986, 0.014264203608036041, -0.004204742144793272, -0.0123817203566432, -0.032789506018161774, -0.022787265479564667, -0.01936953142285347, 0.026033634319901466, -0.021064043045043945, 0.04290657863020897, -0.04742148146033287, 0.003947602119296789, -0.012061618268489838, -0.008843512274324894, 0.034408580511808395, 0.013194628059864044, -0.0015588554088026285, -0.02379908785223961, -0.033665891736745834, -0.050382573157548904, 0.030139071866869926, 0.020273225381970406, -0.001982215791940689, 0.012965192086994648, -0.01653929427266121, 0.028401225805282593, 0.0005233687697909772, 0.04051094874739647, 0.0025230287574231625, -0.024943511933088303, 0.01883971132338047, 0.011265525594353676, 0.0216319989413023, -0.023000555112957954, -0.005332116968929768, -0.0035710344091057777, 0.010842920280992985, 0.009533545933663845, -0.003777701873332262, -0.027208592742681503, -0.016013817861676216, 7.973356141108498e-33, -0.003658658592030406, -0.026843953877687454, 0.0017177443951368332, -0.013584439642727375, 0.0393090546131134, -0.03148595243692398, -0.008119801990687847, 0.0067399838007986546, -0.029400663450360298, 0.06333319842815399, 0.007353747263550758, 0.02344767190515995, 0.01222928799688816, -0.0017434412147849798, 0.02391311712563038, -0.01012897863984108, 0.051280178129673004, -0.07452180236577988, 0.01835586503148079, -0.011311023496091366, 0.04451795294880867, -0.006257745437324047, 0.03661389276385307, -0.012740862555801868, 0.0007616706425324082, 0.02730729430913925, -0.07721351832151413, 0.03869837522506714, 0.04148998484015465, -0.012061242014169693, 0.007654877379536629, -0.046681422740221024, 0.00391162047162652, -0.03248962014913559, -0.011042661964893341, 0.026991726830601692, 0.007397227920591831, -0.009710457175970078, -0.03279106691479683, -0.010096698068082333, 0.018205413594841957, 0.0269235260784626, -0.011049714870750904, 0.029460709542036057, 0.02386394515633583, 0.012051769532263279, 0.021632647141814232, -0.05894353613257408, -0.00041935680201277137, 0.02976291999220848, 0.0796305388212204, 0.048787929117679596, 0.01670246757566929, 0.020889798179268837, 0.016806308180093765, -0.017764899879693985, 0.014314713887870312, 0.010892106220126152, -0.028853897005319595, 0.068821482360363, -0.03254466503858566, 0.014797806739807129, 0.01069371122866869, 0.0051183938048779964, -0.04078541696071625, -0.029129553586244583, -0.0290010254830122, -0.012737269513309002, -0.020110875368118286, -0.021268241107463837, -0.04031147062778473, -0.021053418517112732, -0.014199831523001194, 0.044158630073070526, -0.029644953086972237, -0.0377892442047596, -0.003997176419943571, 0.03046751394867897, 0.019921455532312393, 0.008737330324947834, 0.017537374049425125, -0.0041010077111423016, 0.026925498619675636, 0.016177862882614136, 0.006317668594419956, 0.0007787722861394286, 0.011064715683460236, 0.022854244336485863, 0.04498915746808052, -0.0052175638265907764, -0.005535176955163479, 0.01134476624429226, -0.004172788001596928, -0.008087612688541412, -0.025586040690541267, -1.291079776422066e-8, -0.01761271245777607, 0.004081827588379383, -0.022174783051013947, 0.006849205121397972, 0.0020726139191538095, -0.029300536960363388, -0.010633870959281921, 0.011531944386661053, -0.022279653698205948, -0.012324892915785313, 0.09184330701828003, -0.030531320720911026, -0.014155072160065174, -0.007705766707658768, -0.0070426566526293755, -0.09627540409564972, -0.00850669015198946, -0.011021111160516739, 0.015271306969225407, -0.022012652829289436, 0.012622569687664509, 0.039071887731552124, -0.03755420446395874, 0.03385272994637489, 0.00412681233137846, -0.012195069342851639, -0.0015586747322231531, -0.10741211473941803, 0.018468059599399567, 0.0398489385843277, -0.031203698366880417, 0.002386729931458831, -0.000031700987165095285, -0.004185608122497797, -0.015832290053367615, -0.03202662616968155, 0.06045620143413544, 0.052009232342243195, 0.0016421560430899262, -0.017043057829141617, 0.03177880123257637, -0.002482134848833084, -0.009277277626097202, -0.024435274302959442, 0.024876009672880173, -0.0009635950555093586, -0.005630913190543652, -0.026377730071544647, 0.017053402960300446, -0.051311902701854706, 0.01705041155219078, 0.02246696874499321, 0.017910422757267952, 0.02988693118095398, 0.013416416011750698, 0.004325524438172579, -0.011348718777298927, -0.009488585405051708, 0.0010629049502313137, -0.014058822765946388, 0.04417134448885918, 0.006772894877940416, 0.004897093400359154, 0.004370617214590311 ]
coding-putting-code-where-people-can-find-it
https://markhneedham.com/blog/2009/06/02/coding-putting-code-where-people-can-find-it
false
2009-06-20 11:26:51
Book Club: The Readability of Tests - Growing Object Oriented Software (Steve Freeman/Nat Pryce)
[ "testing", "tests" ]
[ "Book Club" ]
Our technical book club this week focused on 'http://www.mockobjects.com/book/readability.html[The Readability of Tests]' chapter from Steve Freeman & Nat Pryce's upcoming book 'http://www.mockobjects.com/book/index.html[Growing Object Oriented Software, guide by tests]'. I've been reading through some of the other chapters online and I thought this would be an interesting chapter to talk about as people seem to have different opinions on how DRY tests should be, how we build test data, how we name tests and so on. These were some of my thoughts and our discussion on the chapter: * I found it interesting that there wasn't any mention of the http://www.markhneedham.com/blog/2008/09/04/bdd-style-unit-test-names/[BDD style of test naming] whereby the name of the test begins with 'should\...'. I've been using these style of naming for about 2 years now as I find it useful for allowing us to *question whether or not the test is valid*. There are equally arguments against using the word 'should' as it's not particularly assertive and perhaps we ought to be more certain about what our tests are asserting. Recently I have started to move more towards Jay Fields idea that http://blog.jayfields.com/2008/05/testing-value-of-test-names.html[test names are just comments] and if we write tests to be really clear and readable then the test name becomes redundant. * The chapter talks about the order in which the authors write their tests, the approach being to try and *start with the assertion first* and then write the execution and setup steps. My current approach is to write the execution step first and then build up the setup and expectations almost simultaneously. I've never been able to quite get the hang of writing the test bottom up but it's something I might experiment with again. * Refactoring tests is something I've http://www.markhneedham.com/blog/2009/01/30/tdd-test-dryness/[written about previously] and my current thinking is that our aim shouldn't be to remove absolutely all duplication in tests but instead remove it to a stage where we can still easily understand the test when it fails. This seems to fit in with the authors' idea of 'refactoring but not too hard'. I am currently following the idea of having http://www.markhneedham.com/blog/2009/04/13/tdd-balancing-dryness-and-readability/[three distinct areas in my tests] (Given, When, Then) with each section separated by an empty line. I find writing them in this style makes it easier for me to quickly work out why a test is failing. I was recently watching http://blog.jayfields.com/2009/06/developer-testing-welcome-to-beta-test.html[Jay Fields' presentation from SpeakerConf] and Michael Feathers makes an interesting comment that we need to keep in mind that the reason for removing duplication in code is so that when we need to make changes we know where to do that. In test code the test failing will tell us where we need to make changes so the need to remove duplication to do this is less. I'm still heavily in favour of *trading duplication for better readability when it comes to writing tests*. * The idea of keeping http://blog.jayfields.com/2008/11/ubiquitous-assertion-syntax.html[consistency in tests] is an important one although I think it's *difficult to keep this consistency across the whole suite of tests*. Certainly within a single test fixture it should be possible though. One example of something which doesn't follow this approach is the 'ExpectedException' annotation in JUnit/NUnit which goes against the style of pretty much all other tests. * When it comes to setting up tests data I think it's pretty much given that test data builders are a really good way to help remove noise and duplication from our tests. Other patterns such as object mother can be useful but it doesn't seem to work as well when you have multiple different was that you want to setup your data for tests. * There's no specific mention of *'Setup' and 'Teardown' methods* in the chapter but this is another area which I think has an important impact on readability. I'm not yet completely against tear down methods for integration style tests but I've seen a lot of pain causes by putting http://www.markhneedham.com/blog/2008/12/19/tdd-mock-expectations-in-setup/[mocks in setup methods] and even just having the setup method means that you have to go up and down the test fixture just to work out what's going on. I prefer to try and http://fragmental.tw/2008/07/02/domain-driven-tests/[keep all the context needed for a test in one place] . * I found the section about the way that we name literals/variables in tests to be particularly interesting as this is a discussion I've been having with a couple of colleagues recently. I find it useful to state *why that variable is important or not important for this particular test* (i.e. give it context) so that someone can easily understand what's going on when they look at the test. For example if we have a variable in a test that doesn't affect the outcome then it might be useful to name it 'stubFoo' or 'irrelevantFoo' or something similar. I've previously been against the idea of naming dependencies we're mocking/stubbing as 'mockRepository' or 'stubRepository' but I've been trying this out a bit this week and it exposed some mistakes I'd made which I don't think I would have seen otherwise. * Another idea which I quite liked is the idea of *only testing one feature set per test*. I've certainly written a lot of tests which break this rule and you really suffer when you need to make a change later on. Jay Fields also applies this rule to mocks whereby you can only have one expectation per test but as many stubs as you want. I've been trying that out both these approaches this week and although there's probably more code overall as a result of writing more tests, each of the tests feels much more succinct and understandable.
null
null
[ 0.008641115389764309, 0.017579229548573494, -0.04223257303237915, 0.025018351152539253, 0.08151339739561081, 0.018141252920031548, 0.03081573359668255, 0.021656405180692673, 0.03309075906872749, -0.01885850541293621, 0.009163739159703255, 0.02908248081803322, -0.03949848935008049, 0.01945820450782776, -0.04469987377524376, 0.08578494191169739, 0.08539780229330063, 0.007726902142167091, 0.05537889525294304, -0.006209670100361109, 0.03453650698065758, 0.0521993562579155, 0.020284058526158333, 0.051477883011102676, 0.04268893599510193, -0.00393954012542963, 0.01816846802830696, 0.0034162222873419523, -0.05213495343923569, -0.021761560812592506, 0.005638535134494305, -0.014382271096110344, 0.01401143055409193, 0.015907173976302147, 0.01975710503757, -0.010062064044177532, -0.020748842507600784, 0.0006141429184935987, 0.0268243420869112, 0.010276172310113907, -0.0749594196677208, 0.0278791394084692, 0.0006789417820982635, -0.021559476852416992, -0.04762844368815422, -0.0008540508570149541, -0.02109997719526291, -0.0074953665025532246, -0.009047804400324821, -0.0028881020843982697, -0.03444897010922432, 0.04642485827207565, -0.02455894835293293, -0.008603530935943127, 0.0002838632499333471, 0.035506196320056915, 0.02726680412888527, -0.06403710693120956, 0.03142191097140312, -0.04855326563119888, -0.0023437754716724157, -0.024508625268936157, -0.009018823504447937, 0.06754995137453079, 0.033422552049160004, -0.024265361949801445, -0.023747600615024567, 0.03369544446468353, -0.048763468861579895, 0.013373218476772308, -0.020869215950369835, -0.006537734530866146, 0.008119018748402596, -0.02818085253238678, -0.006611686199903488, -0.030842754989862442, 0.019807420670986176, 0.05105980485677719, 0.02032531052827835, 0.03732609376311302, 0.011414856649935246, -0.0025743325240910053, 0.03145939111709595, 0.02181336283683777, -0.018849791958928108, -0.034465380012989044, -0.018137848004698753, 0.0038446560502052307, -0.03560544177889824, 0.07338432967662811, 0.015195081010460854, -0.05145858973264694, 0.0111226262524724, 0.03758362680673599, -0.018585020676255226, -0.0012639309279620647, 0.03328334167599678, 0.0037724340800195932, -0.0025494734290987253, -0.007283986546099186, -0.032653696835041046, -0.024574793875217438, 0.01777358539402485, 0.022196896374225616, -0.09050087630748749, 0.0029806112870573997, -0.02399955503642559, -0.037996917963027954, -0.0012210413115099072, 0.036440178751945496, -0.03371545299887657, 0.024795550853013992, -0.005207701586186886, 0.002513962797820568, -0.0896245464682579, 0.06985946744680405, 0.006589797325432301, -0.031974855810403824, -0.008093263022601604, 0.03295895829796791, 0.02224172279238701, 0.030594002455472946, 0.0030260079074651003, 0.06497747451066971, 0.02418476529419422, 0.03839816898107529, -0.04327068477869034, 0.05378011614084244, -0.013203775510191917, -0.06348568946123123, -0.01210162602365017, 0.038347456604242325, -0.01113321166485548, 0.00766820227727294, -0.007615921553224325, -0.03975925222039223, 0.0034443142358213663, 0.010344543494284153, 0.03937894478440285, 0.07234256714582443, -0.010730345733463764, -0.03746364638209343, 0.013983264565467834, 0.022826727479696274, 0.003662887727841735, 0.0045109279453754425, -0.015936799347400665, -0.006704607512801886, -0.045542337000370026, 0.026696203276515007, 0.012033449485898018, 0.02811341919004917, 0.019224723801016808, -0.035638511180877686, 0.02312794141471386, 0.08234798163175583, 0.005309927277266979, 0.0452476404607296, 0.0005761927459388971, 0.045172661542892456, 0.04148242250084877, 0.04875410720705986, 0.01615152321755886, 0.03909143805503845, 0.009579053148627281, 0.011435327120125294, -0.0032516748178750277, 0.03419740870594978, 0.006944149732589722, -0.014326326549053192, -0.05042971298098564, -0.06059112772345543, 0.049652937799692154, -0.03726239874958992, 0.007402769289910793, 0.05377982556819916, 0.07378608733415604, 0.025479773059487343, 0.029251214116811752, 0.010067054070532322, -0.07024750858545303, 0.01795809157192707, 0.03689895197749138, 0.008934112265706062, 0.011340231634676456, -0.011911407113075256, 0.05615771561861038, 0.024711186066269875, -0.016589850187301636, 0.046388231217861176, -0.062301963567733765, -0.07682430744171143, 0.0069650947116315365, -0.020930090919137, 0.06108039990067482, -0.04506095498800278, 0.008549320511519909, 0.08437392860651016, 0.02232821099460125, 0.026916470378637314, 0.04473627731204033, 0.013707946985960007, 0.004415999632328749, -0.05874539911746979, -0.03551531583070755, 0.03845015540719032, 0.02582111395895481, -0.019356798380613327, -0.04778694733977318, 0.0193877425044775, -0.000753351952880621, 0.0039060430135577917, 0.044936228543519974, 0.009272260591387749, 0.012553105130791664, 0.014021404087543488, 0.07189707458019257, -0.015669962391257286, 0.08768107742071152, -0.06748861074447632, 0.005033988505601883, -0.007174864877015352, -0.028569933027029037, -0.004680268932133913, 0.001927905366756022, 0.12249025702476501, 0.05804697796702385, -0.024472730234265327, -0.04192378744482994, 0.0027704332023859024, 0.019716212525963783, -0.04464814066886902, 0.012710579670965672, -0.00929303653538227, 0.005966127384454012, -0.0062609147280454636, -0.049811314791440964, -0.024174589663743973, 0.0041300090961158276, -0.04165559634566307, 0.003128115786239505, 0.05321674421429634, -0.008188441395759583, 0.053760554641485214, 0.0006962621700949967, -0.007670695893466473, 0.015739383175969124, -0.025691140443086624, -0.06095677986741066, 0.0015854862285777926, 0.01593797840178013, -0.022231776267290115, 0.04351328685879707, -0.033846624195575714, -0.06407348066568375, -0.013294845819473267, -0.03295119106769562, 0.02417398989200592, 0.05744931101799011, 0.06296585500240326, -0.03759497031569481, 0.07915838062763214, 0.0012681020889431238, 0.022177914157509804, 0.006779379677027464, -0.04326905682682991, -0.03750152513384819, -0.011675149202346802, -0.020893875509500504, 0.03143160045146942, -0.018049294129014015, 0.04213346168398857, 0.003993493504822254, 0.008991222828626633, -0.02143755927681923, 0.004011407028883696, 0.0360986702144146, 0.010784736834466457, -0.012467692606151104, -0.024189580231904984, -0.0745374783873558, 0.020792702212929726, -0.03265920281410217, -0.02712116949260235, 0.03052804246544838, -0.09698513150215149, 0.027362070977687836, -0.07733111083507538, -0.07738909870386124, -0.0028406621422618628, 0.018289487808942795, 0.025408336892724037, 0.025957539677619934, 0.009517785161733627, 0.056399617344141006, 0.033575817942619324, -0.0048194583505392075, -0.001170231495052576, -0.0004021007916890085, 0.04594678431749344, 0.011731238104403019, -0.016748247668147087, 0.022656811401247978, 0.0012822229182347655, 0.027638796716928482, -0.04083212837576866, 0.010242798365652561, 0.008738702163100243, -0.2663469910621643, 0.022863496094942093, 0.006211457774043083, -0.05857454240322113, 0.023703569546341896, -0.01638701744377613, -0.0067958347499370575, -0.058032989501953125, -0.04214826971292496, 0.05717549845576286, -0.05160468444228172, -0.03561443090438843, -0.008321430534124374, 0.05424847826361656, 0.006924061104655266, 0.02603757195174694, 0.04450685903429985, -0.05802401155233383, 0.022285226732492447, 0.058463968336582184, 0.0007895853486843407, -0.07787857949733734, -0.007588304113596678, 0.02830054610967636, 0.021082507446408272, 0.056782227009534836, -0.08993352204561234, 0.0495624840259552, -0.043043285608291626, 0.01090573612600565, 0.030564121901988983, -0.0009244625689461827, 0.0017713659908622503, -0.024621086195111275, -0.01044614240527153, 0.0022949588019400835, 0.011416836641728878, -0.0010222556302323937, -0.0159793458878994, 0.02431160770356655, -0.026506204158067703, -0.04665856063365936, -0.02556089125573635, 0.009804563596844673, 0.06340691447257996, -0.022015448659658432, -0.06394311040639877, -0.010891160927712917, -0.05241655185818672, 0.07967942208051682, -0.04464741796255112, -0.01983843557536602, -0.012386883608996868, 0.022737808525562286, -0.024394173175096512, -0.05186072364449501, 0.009058180265128613, -0.034660257399082184, -0.033871982246637344, -0.055008720606565475, -0.036854468286037445, -0.02535352297127247, -0.0054364874958992004, -0.05608240142464638, -0.0055011785589158535, -0.05883052200078964, -0.06500278413295746, 0.0000046164477680576965, 0.05463537946343422, 0.02146245539188385, -0.028941024094820023, 0.00962934922426939, -0.006608706433326006, -0.11530323326587677, -0.02704774960875511, -0.023972036316990852, -0.01682661473751068, -0.02399253100156784, -0.02322622947394848, 0.06306618452072144, -0.02241266518831253, -0.0394289456307888, 0.02737915888428688, -0.0015227585099637508, 0.015488428063690662, -0.015608636662364006, 0.022572539746761322, 0.020058104768395424, -0.022172383964061737, 0.001348032965324819, 0.08998033404350281, 0.012481676414608955, -0.01667209342122078, -0.03820241987705231, 0.034579239785671234, 0.024107059463858604, 0.028662223368883133, -0.01746668480336666, 0.01232803612947464, 0.0010890488047152758, -0.007429162506014109, -0.05584486573934555, 0.036984484642744064, -0.012105795554816723, -0.004092659335583448, -0.024645987898111343, -0.053330790251493454, 0.022529253736138344, 0.028220759704709053, -0.0045418511144816875, -0.002046953421086073, -0.022130344063043594, 0.02914096601307392, -0.04611234739422798, -0.03752937912940979, -0.03731441870331764, 0.02119597978889942, 0.049356505274772644, -0.029428275302052498, -0.004886081907898188, -0.06453008949756622, 0.0099385567009449, -0.0026907443534582853, -0.04716332256793976, -0.050100021064281464, -0.04662695154547691, 0.007180867251008749, -0.03400159627199173, 0.00503114890307188, 0.006808611564338207, -0.021936288103461266, 0.016880040988326073, 0.02942046709358692, -0.024671578779816628, -0.005773583892732859, -0.0059026386588811874, -0.05728067830204964, -0.014801370911300182, -0.010869848541915417, -0.0026758306194096804, -0.0028224249836057425, 0.001557979267090559, -0.0054298341274261475, 0.02698000706732273, 0.03286780044436455, -0.005432275589555502, 0.01836298033595085, -0.0134868323802948, 0.02844742126762867, 0.016016865149140358, 0.02072291076183319, -0.06110610440373421, 0.008837277069687843, -0.02348502166569233, -0.030294690281152725, -0.01974588818848133, 0.01940690167248249, 0.013631136156618595, -0.052208106964826584, -0.021833252161741257, 0.01254028920084238, -0.04820139333605766, 0.001922791125252843, -0.022220784798264503, 0.02298881858587265, 0.06964394450187683, -0.03521129861474037, 0.035507842898368835, -0.03025006502866745, -0.03434490039944649, 0.0004733156238216907, -0.004069545306265354, -0.03670745715498924, 0.014930294826626778, 0.013801703229546547, -0.003976797219365835, 0.019652022048830986, -0.00024806708097457886, 0.05632568895816803, 0.01863526925444603, -0.007153158076107502, -0.049716781824827194, 0.015720529481768608, 0.025573648512363434, 0.04376809671521187, -0.0020612962543964386, 0.012530043721199036, -0.02993019111454487, -0.037589069455862045, -0.02796240895986557, -0.03228696063160896, -0.004220382310450077, 0.017985209822654724, 0.04034360498189926, -0.05074172466993332, -0.08415807038545609, 0.040666695684194565, -0.004718990996479988, 0.010168146342039108, 0.00699925422668457, 0.015331455506384373, -0.00669025769457221, -0.0187861155718565, 0.030529480427503586, 0.05469503626227379, -0.05143750086426735, 0.0030880318954586983, -0.015857025980949402, -0.008606352843344212, 0.0032853446900844574, 0.008469770662486553, -0.0569336973130703, -0.0488956980407238, -0.0012902863090857863, 0.001859464799053967, -0.05362318456172943, -0.03615226969122887, -0.04579738527536392, 0.012163705192506313, 0.0013565932167693973, -0.023985370993614197, -0.009584447368979454, 0.006253417581319809, -0.0054864040575921535, -0.01256687380373478, 0.02252630889415741, -0.014894677326083183, 0.016262924298644066, 0.03580544516444206, -0.028876669704914093, 0.015393709763884544, -0.027326293289661407, 0.027009980753064156, 0.011596772819757462, -0.021249685436487198, -0.04133278876543045, -0.03729860112071037, 0.008920815773308277, 0.006099537946283817, 0.041763026267290115, 0.022170472890138626, 0.0006957320147193968, -0.04040982574224472, 0.009051872417330742, -0.04954131320118904, -0.012375982478260994, 0.004658208228647709, -0.0342240035533905, 0.030726062133908272, 0.06776445358991623, 0.02205580100417137, 0.03358271345496178, -0.009994743391871452, -0.004195262677967548, 0.04544680938124657, -0.08606347441673279, -0.011880612000823021, -0.04198268800973892, -0.06794637441635132, 0.00565808080136776, 0.0066628227941691875, 0.027514293789863586, -0.039498742669820786, 0.03112771362066269, 0.022933553904294968, 0.03004605881869793, 0.01958739571273327, -0.011084794998168945, 0.0218895822763443, -0.05985323712229729, 0.02326887845993042, -0.08976611495018005, 0.0049115074798464775, 0.025023730471730232, 0.012211194261908531, 0.005079073365777731, -0.017191791906952858, -0.052710048854351044, 0.05216597765684128, -0.06102018803358078, -0.012824848294258118, 0.06091025471687317, -0.017792342230677605, -0.008187868632376194, 0.02242395654320717, -0.07137757539749146, 0.027186263352632523, 0.026688596233725548, -0.03138317912817001, -0.024722523987293243, -0.008321581408381462, 0.03230203315615654, 0.017972376197576523, -0.0018049170030280948, -0.02376248501241207, 0.0024113645777106285, 0.07306519895792007, 0.027551647275686264, 0.02925771102309227, 0.01971849985420704, -0.006535960361361504, 0.037666015326976776, 0.04686948284506798, -0.004770065192133188, -0.007002613041549921, 0.022979440167546272, -0.023527350276708603, -0.05060676857829094, 0.018861640244722366, 0.03233502060174942, -0.027390653267502785, -0.03169770538806915, 0.0503748282790184, 0.007220762316137552, -0.0415886715054512, -0.07121538370847702, -0.0013377700233832002, -0.060423146933317184, -0.022334907203912735, -0.04012811556458473, 0.0022413725964725018, -0.029752187430858612, 0.05617920681834221, 0.0006479418370872736, -0.010764682665467262, 0.07000485062599182, -0.02199002541601658, -0.02545996569097042, -0.02850842848420143, 0.07639205455780029, 0.10764091461896896, 0.033048659563064575, -0.0006258171051740646, 0.06205575168132782, -0.008552070707082748, -0.04975251853466034, 0.02194644697010517, -0.021074341610074043, -0.001569602987729013, -0.018066225573420525, -0.0028872545808553696, 0.043019138276576996, -0.015493502840399742, 0.04505595937371254, -0.028034573420882225, 0.02252582088112831, -0.0014494925271719694, 0.03651532530784607, -0.0019283094443380833, 0.06954123079776764, 0.00552593357861042, 0.016979048028588295, -0.007924112491309643, -0.03474763408303261, 0.015451832674443722, -0.038578324019908905, -0.030170990154147148, 0.03076646663248539, -0.02792578935623169, 0.0188271626830101, 0.0053542363457381725, 0.03314313665032387, 0.06793507933616638, -0.02044784463942051, 0.018187223002314568, 0.008058339357376099, 0.03436118736863136, 0.006403256207704544, 0.01834152080118656, -0.00021071353694424033, -0.006867630407214165, -0.009207400493323803, -0.02346491627395153, -0.020081546157598495, -0.01585453562438488, -0.033110011368989944, 0.052206020802259445, 0.0038609032053500414, 0.007088817656040192, 0.023537635803222656, 0.031009992584586143, -0.033640600740909576, -0.08249171078205109, -0.06607415527105331, -0.023502375930547714, -0.02484838292002678, -0.01639336533844471, 0.029062671586871147, 0.012155015021562576, -0.0443970151245594, -0.024628479033708572, -0.027654442936182022, -0.021070390939712524, 0.025882551446557045, -0.06759751588106155, -0.016905246302485466, 0.023386429995298386, 0.03686210885643959, 0.021921969950199127, 0.020218482241034508, 0.03429015725851059, 0.0029617955442517996, -0.021845394745469093, -0.009089071303606033, -0.019873041659593582, 0.03297315537929535, -0.005261348094791174, 0.053436294198036194, -0.06998737901449203, -0.007329149171710014, 0.0358056016266346, 0.013450619764626026, -0.05662776902318001, 0.042039401829242706, -0.0019708885811269283, -0.033221807330846786, 0.024684149771928787, -0.012430383823812008, 0.03204026818275452, -0.008833339437842369, -0.014669903554022312, 0.024021001532673836, 0.02607489749789238, 0.028165314346551895, -0.009503980167210102, 0.10068891197443008, 0.013352888636291027, -0.029591208323836327, -0.04066994786262512, -0.02765476517379284, 0.016597948968410492, 0.0159022007137537, -0.026839064434170723, -0.028369374573230743, -0.045042332261800766, -0.07429639995098114, 0.000967805739492178, 0.022185252979397774, -0.028812555596232414, -0.009485440328717232, 0.01384770218282938, 0.01164432242512703, -0.030216867104172707, 0.03338514640927315, -0.031747929751873016, 0.02062601037323475, -0.019042188301682472, -0.013664442114531994, 0.017852729186415672, 0.012551385909318924, -0.012693146243691444, 0.03146231919527054, 0.01827908307313919, -0.042703427374362946, -0.012261960655450821, 0.0025071888230741024, 0.026989024132490158, 0.039028625935316086, 0.003308843821287155, -0.030707549303770065 ]
[ -0.1070655882358551, 0.018156813457608223, -0.02273477427661419, -0.011551117524504662, 0.03501775115728378, -0.022551657631993294, -0.016539504751563072, 0.03430471941828728, -0.017356527969241142, -0.024019276723265648, -0.01894531212747097, -0.04268762841820717, -0.017840011045336723, -0.008189261890947819, 0.06815509498119354, -0.0021550634410232306, 0.004456403665244579, -0.07003381103277206, 0.03760332614183426, 0.030323725193738937, 0.010235843248665333, 0.008410503156483173, -0.01732027344405651, 0.004405154846608639, 0.02904440462589264, 0.048177964985370636, 0.053647492080926895, -0.016362402588129044, 0.004388557747006416, -0.2244672179222107, 0.0000021741520868090447, 0.01695423573255539, 0.031603265553712845, -0.016198009252548218, -0.008835386484861374, 0.04986516386270523, 0.02621437981724739, 0.01135263778269291, -0.02249841019511223, 0.03333275020122528, 0.024349240586161613, 0.00710645504295826, -0.03189852461218834, -0.020069660618901253, 0.04290130361914635, 0.017403455451130867, 0.013805446214973927, -0.04487922787666321, 0.00973887275904417, 0.030715685337781906, -0.07028966397047043, -0.05092262104153633, -0.006463124882429838, -0.026163624599575996, -0.02018553391098976, 0.011692369356751442, 0.03839722275733948, 0.05395498126745224, -0.010111971758306026, -0.010534117929637432, -0.00016018396127037704, -0.011450312100350857, -0.12603221833705902, 0.07948080450296402, 0.04715973883867264, 0.0421200729906559, -0.03432418406009674, -0.0061861793510615826, 0.02046974003314972, 0.08116476982831955, 0.022347670048475266, -0.00603387551382184, -0.01421976275742054, 0.06964954733848572, -0.001909164828248322, 0.008686745539307594, 0.0009041051962412894, -0.007135147228837013, 0.05139357969164848, -0.07920137792825699, -0.042871635407209396, -0.015257391147315502, 0.0189039446413517, -0.03145108371973038, -0.02268390730023384, 0.014413329772651196, -0.01724792644381523, 0.035441216081380844, 0.025467654690146446, 0.03830340877175331, 0.04522820562124252, -0.02019062638282776, 0.023667559027671814, 0.03782280161976814, -0.07768189162015915, -0.023299401625990868, -0.02915274165570736, -0.005786270834505558, -0.028023121878504753, 0.48687663674354553, -0.05384352430701256, -0.008886068128049374, 0.03697298839688301, 0.03610727936029434, -0.01855459064245224, 0.001489727757871151, 0.01881072111427784, -0.07711338996887207, 0.01715812273323536, -0.036280881613492966, 0.0394584946334362, 0.02449815906584263, 0.07474437355995178, -0.04919710010290146, -0.0010780185693874955, 0.046451736241579056, 0.054098471999168396, 0.0013264495646581054, -0.004588340409100056, -0.0245792455971241, 0.0002937137323897332, 0.005720296874642372, 0.008637722581624985, -0.002275391248986125, 0.006444629747420549, -0.05740124359726906, 0.03571448475122452, 0.04709908738732338, 0.015782563015818596, 0.00912981852889061, 0.04639841616153717, -0.04397536814212799, -0.08710002154111862, -0.006208876147866249, 0.013261673972010612, 0.027914388105273247, 0.009561521001160145, -0.027373945340514183, -0.006386930122971535, 0.04702296853065491, 0.0030144599732011557, -0.021891223266720772, 0.022802814841270447, -0.02988211065530777, -0.04918908700346947, 0.08458702266216278, -0.0033426920417696238, -0.019147317856550217, -0.025427306070923805, -0.029432781040668488, 0.02143762819468975, 0.030180275440216064, -0.013862336985766888, -0.05519404262304306, 0.020773647353053093, -0.005736901890486479, 0.07746008783578873, -0.004098754841834307, -0.040924884378910065, -0.025670219212770462, -0.008261587470769882, -0.009513217024505138, -0.053604818880558014, 0.0286693312227726, 0.03495247662067413, -0.07443264871835709, -0.04348665848374367, 0.015001040883362293, 0.017905667424201965, -0.07867123931646347, 0.02208731137216091, 0.0018738183425739408, -0.044443100690841675, 0.003980616573244333, 0.016096817329525948, -0.031198959797620773, -0.007835633121430874, 0.02407761663198471, 0.043391335755586624, 0.011756451800465584, 0.020620614290237427, -0.005085154436528683, -0.040036220103502274, 0.00102895381860435, -0.007139632944017649, -0.05591883882880211, -0.05934852734208107, -0.027240097522735596, -0.013302632607519627, 0.012556497938930988, -0.016709445044398308, -0.03850383311510086, -0.08985886722803116, 0.09638748317956924, -0.04567871615290642, -0.018895002081990242, 0.016359595581889153, -0.00986586045473814, -0.023078957572579384, -0.03239164873957634, -0.01761123724281788, 0.03448035940527916, -0.015798455104231834, 0.051276057958602905, -0.0518854558467865, 0.060514114797115326, 0.083962082862854, -0.05341660603880882, 0.09502846747636795, 0.028955310583114624, -0.035593483597040176, -0.03769199550151825, -0.0033607471268624067, 0.011688871309161186, -0.023917537182569504, -0.02543036825954914, 0.0009585559018887579, 0.010036117397248745, -0.013607237488031387, 0.021846799179911613, -0.007868364453315735, 0.005871187895536423, -0.025287291035056114, -0.3121607303619385, -0.03368356078863144, -0.016282880678772926, -0.0075181834399700165, 0.042635586112737656, -0.05206017568707466, 0.013398872688412666, 0.02177157625555992, -0.011700177565217018, -0.0008557595429010689, 0.062480662018060684, -0.028612446039915085, 0.004196751397103071, -0.0943312793970108, -0.004498859401792288, 0.0013202052796259522, -0.033750344067811966, -0.048668332397937775, -0.03761209547519684, 0.008323239162564278, -0.010787713341414928, 0.004966492764651775, -0.008268463425338268, -0.03490471839904785, -0.01007735077291727, -0.05227818340063095, 0.07475249469280243, 0.0025981348007917404, 0.0938928946852684, -0.009331849403679371, 0.03658004477620125, 0.00636160746216774, 0.04215925931930542, -0.09658173471689224, -0.019316600635647774, 0.0019627653528004885, -0.039386086165905, 0.0009802766144275665, 0.023004239425063133, -0.04560616612434387, -0.027500290423631668, 0.03823346272110939, -0.04308020696043968, -0.04473893716931343, -0.06559004634618759, 0.014464612118899822, -0.013717960566282272, -0.006535463035106659, -0.037337083369493484, 0.07511210441589355, 0.022048037499189377, -0.00740508409217, 0.0034687230363488197, 0.00019763267482630908, 0.004852416459470987, -0.035595133900642395, -0.08183912187814713, -0.0010543044190853834, -0.0011347945546731353, -0.025578290224075317, 0.03874881938099861, 0.08447074890136719, 0.03011794202029705, -0.0450948141515255, -0.006324661895632744, -0.00918911024928093, -0.01647254079580307, -0.01508763711899519, 0.05886773392558098, -0.021151645109057426, -0.029806366190314293, 0.07600076496601105, -0.008652997203171253, -0.015443290583789349, 0.01830238290131092, 0.055376604199409485, -0.005805306602269411, 0.0042592668905854225, 0.011392609216272831, -0.008271336555480957, 0.007841452956199646, -0.009268048219382763, 0.03593016415834427, -0.016068147495388985, -0.004805617034435272, 0.032074205577373505, -0.007215956225991249, -0.03871631622314453, 0.055525023490190506, 0.0024116712156683207, -0.03802036494016647, 0.014454788528382778, -0.020070647820830345, -0.05511080473661423, 0.08035720884799957, 0.008045540191233158, -0.2225750833749771, 0.0037734361831098795, 0.06494293361902237, 0.07397321611642838, 0.0022002365440130234, 0.031020114198327065, 0.034182511270046234, -0.08381081372499466, 0.016741182655096054, 0.011975709348917007, 0.03815301135182381, 0.02175816148519516, 0.016089925542473793, -0.018971653655171394, 0.02051588147878647, 0.019015980884432793, 0.06129258871078491, -0.020790845155715942, 0.009953164495527744, -0.0008198026334866881, 0.011508187279105186, -0.007033975794911385, 0.1570272445678711, -0.01601465791463852, 0.031095124781131744, 0.022061482071876526, 0.03593533858656883, 0.0409659743309021, 0.0714954286813736, 0.023256631568074226, 0.031441304832696915, -0.018718009814620018, 0.023135971277952194, 0.0027257688343524933, 0.025834770873188972, -0.0654887855052948, -0.02818065881729126, 0.0007982427487149835, 0.04176424443721771, -0.01612754352390766, 0.045156147330999374, -0.011833149008452892, -0.037088923156261444, 0.02164996787905693, 0.06741943210363388, 0.02412187121808529, -0.022571412846446037, -0.05670442804694176, -0.044337790459394455, 0.0017985301092267036, -0.03029797598719597, -0.04849662259221077, -0.005651234649121761, -0.00827658548951149, 0.023666223511099815, 0.05519303306937218, 0.0484590008854866, -0.028311224654316902, -0.014166877605021, -0.01435910351574421, -0.022952405735850334, -0.014364970847964287, 0.13565076887607574, 0.07382722198963165, 0.019198356196284294 ]
[ -0.027283096686005592, -0.010119241662323475, -0.017411360517144203, 0.02228907309472561, -0.03429017961025238, -0.009757951833307743, 0.01426478661596775, 0.022839104756712914, 0.0002284561633132398, -0.00027696628239937127, -0.037183526903390884, 0.014930793084204197, 0.017241671681404114, -0.02067544497549534, 0.016893601045012474, 0.011689022183418274, -0.014527992345392704, -0.001989299664273858, 0.03780481591820717, -0.020137326791882515, -0.015205367468297482, 0.01817886345088482, 0.0184036735445261, 0.013292049057781696, -0.005423481576144695, 0.026770848780870438, 0.01729523576796055, -0.013857903890311718, 0.009131219238042831, -0.14652737975120544, -0.027867840602993965, -0.030848238617181778, -0.008972353301942348, 0.006423939950764179, 0.011003350839018822, -0.019521506503224373, 0.007422034628689289, 0.014493600465357304, -0.0009780802065506577, 0.004995709750801325, 0.052987758070230484, 0.00010231036867480725, 0.02336573787033558, 0.007693723309785128, -0.007453765254467726, 0.02992979623377323, -0.012180275283753872, -0.017241045832633972, 0.0009381088893860579, -0.010476845316588879, -0.028784656897187233, -0.03768527880311012, -0.014506257139146328, 0.01666644960641861, 0.009849992580711842, -0.001014383160509169, 0.016210006549954414, -0.03871402516961098, -0.0000755114815547131, -0.01070469245314598, -0.028473319485783577, 0.017765512689948082, -0.009163974784314632, -0.01527874544262886, 0.0026081339456140995, -0.0016681392444297671, -0.013897430151700974, 0.009444604627788067, -0.008461509831249714, -0.00756641523912549, -0.03300211951136589, 0.03433142229914665, 0.02062496356666088, 0.016356976702809334, 0.0015575512079522014, 0.055647749453783035, -0.010137798264622688, 0.00040345446905121207, 0.02853989228606224, -0.02882308140397072, -0.056905150413513184, -0.008755093440413475, 0.04060867801308632, 0.005968689452856779, -0.020449530333280563, 0.023922502994537354, 0.04253428056836128, -0.02152232639491558, -0.00576759222894907, -0.006237682420760393, -0.0033067925833165646, 0.03374534472823143, -0.03980223834514618, 0.03139659762382507, -0.06815899163484573, -0.012502041645348072, 0.00018016689864452928, -0.014403190463781357, 0.002441918710246682, 0.8461247682571411, -0.0165545791387558, 0.036790985614061356, 0.04906010255217552, 0.02282215654850006, -0.026861116290092468, -0.02585608698427677, -0.004846646916121244, -0.03578772768378258, 0.04523596540093422, -0.04663859307765961, 0.011864240281283855, 0.013221831060945988, 0.04620476812124252, -0.00047574142809025943, 0.008650974370539188, -0.0054440246894955635, 0.005353785119950771, 0.022926392033696175, -0.012396720238029957, -0.0014258571900427341, 0.029770303517580032, -0.0007714866660535336, -0.003353012492880225, 0.004358202684670687, 0.0374898761510849, -0.16170969605445862, 0.00872012972831726, -9.006894855389609e-33, 0.049166299402713776, -0.004758964292705059, 0.007990124635398388, 0.012364858761429787, -0.0016072606667876244, 0.008393814787268639, 0.054455243051052094, 0.044960398226976395, -0.005838884972035885, -0.03181174769997597, -0.0044593303464353085, -0.015455103479325771, 0.00435863621532917, -0.022237835451960564, 0.014667141251266003, 0.01168783288449049, -0.02358134835958481, 0.02247774228453636, -0.001793849398382008, 0.042091213166713715, 0.04665220156311989, 0.03619639575481415, -0.03547779470682144, -0.03211352601647377, -0.01580340601503849, -0.0073217060416936874, 0.013348548673093319, 0.04153776913881302, -0.025907892733812332, -0.041192427277565, -0.02127581462264061, 0.04480382055044174, -0.037187185138463974, -0.005494099110364914, 0.017438597977161407, -0.0520540252327919, 0.00808641780167818, 0.013251706026494503, -0.00452162092551589, 0.0037621825467795134, -0.013104746118187904, -0.018210267648100853, -0.027377787977457047, -0.008601623587310314, 0.008549951016902924, -0.014142405241727829, -0.014958810061216354, -0.004515926353633404, 0.04656825587153435, -0.016035228967666626, -0.0022010640241205692, 0.003976980224251747, 0.02083294838666916, -0.01078751590102911, -0.02653118036687374, 0.02202150970697403, -0.012985901907086372, -0.010161135345697403, -0.0023072236217558384, 0.0703439861536026, 0.016544029116630554, 0.030457213521003723, -0.03766511753201485, 0.00294331181794405, -0.012636471539735794, -0.028209611773490906, 0.0263505969196558, -0.014995932579040527, 0.009564697742462158, -0.03646256402134895, -0.015376981347799301, -0.005511349532753229, -0.0138868298381567, -0.00048497700481675565, -0.0026907059364020824, -0.04928063973784447, 0.013023918494582176, 0.04066210240125656, -0.009852108545601368, 0.009378066286444664, -0.0015174753498286009, -0.04540453106164932, -0.013661626726388931, -0.03403523564338684, 0.010440625250339508, -0.020542189478874207, 0.011887258850038052, -0.0418018214404583, -0.018848197534680367, -0.03645551949739456, 0.042144712060689926, 0.021561557427048683, 0.0017274139681831002, -0.025462273508310318, -0.01021644938737154, 9.453033165093069e-33, 0.01675121672451496, -0.022840460762381554, -0.029777269810438156, 0.03043188899755478, 0.015324940904974937, -0.026649825274944305, 0.031764816492795944, 0.016035830602049828, -0.05554206296801567, 0.04046666622161865, -0.023544318974018097, -0.0009528500959277153, -0.006391474977135658, 0.010737239383161068, 0.03403715789318085, -0.018465612083673477, 0.010297052562236786, -0.052846238017082214, 0.007489193230867386, -0.018447991460561752, 0.03818942606449127, 0.022250045090913773, 0.028408782556653023, -0.019476275891065598, 0.011187267489731312, 0.03967529162764549, -0.046589430421590805, 0.03797755017876625, 0.005807021167129278, -0.002604214008897543, -0.013339716009795666, 0.036687418818473816, 0.01827581599354744, 0.00019731059728655964, -0.015222037211060524, 0.013641836121678352, 0.019555382430553436, -0.02110317535698414, 0.0014120074920356274, -0.003876277944073081, 0.021778574213385582, 0.005153879523277283, -0.014193248935043812, 0.01313105784356594, 0.027892502024769783, 0.03737128525972366, 0.007486114744096994, -0.024823980405926704, 0.011699630878865719, 0.015666823834180832, -0.002582967048510909, 0.008107011206448078, -0.0016539720818400383, 0.001302346121519804, -0.008221116848289967, -0.023207468912005424, -0.028330545872449875, -0.0034006605856120586, -0.033005669713020325, 0.04146057367324829, 0.014107488095760345, 0.025061555206775665, -0.03193504735827446, 0.03274239972233772, -0.04524031654000282, -0.004412088543176651, -0.0030759063083678484, 0.003683098591864109, 0.029392719268798828, -0.009598984383046627, -0.046844594180583954, -0.004727901425212622, 0.020661577582359314, 0.029767779633402824, 0.035413485020399094, 0.0030491717625409365, -0.02744198404252529, -0.0010330656077712774, -0.02257988415658474, 0.02811647579073906, 0.007390724029392004, -0.005119952838867903, -0.02182329073548317, 0.031932905316352844, -0.011593232862651348, 0.025841666385531425, 0.019108407199382782, 0.018142009153962135, -0.015645306557416916, 0.01148721482604742, -0.01727655529975891, -0.015482394024729729, -0.0008281735936179757, -0.0020834689494222403, -0.02591405063867569, -1.4212665710999772e-8, -0.008812176063656807, 0.012320156209170818, -0.03164996951818466, 0.023393163457512856, 0.0018400948029011488, -0.010717022232711315, -0.029459688812494278, -0.000792149396147579, -0.02813003584742546, 0.009750391356647015, 0.03437373787164688, -0.017418555915355682, 0.005150717683136463, 0.030683353543281555, 0.02202606573700905, -0.031412478536367416, -0.037641577422618866, -0.00918479822576046, 0.018014464527368546, 0.01898845285177231, 0.014514620415866375, 0.06543765217065811, -0.009568344801664352, 0.025828951969742775, 0.03545267507433891, 0.060139380395412445, 0.006352937314659357, -0.08508460968732834, -0.013514687307178974, 0.02345522865653038, 0.041729189455509186, -0.045131802558898926, -0.014926929026842117, 0.02005436271429062, -0.008845438249409199, -0.014919668436050415, 0.010765835642814636, 0.07246322184801102, 0.019868943840265274, 0.004104202147573233, -0.02965651825070381, -0.008891591802239418, 0.019453315064311028, -0.020484980195760727, -0.00047688998165540397, -0.015979336574673653, -0.07841917872428894, -0.009304671548306942, -0.0030097300186753273, -0.05126200243830681, -0.013387120328843594, -0.0010514722671359777, 0.006511567160487175, -0.003356125671416521, 0.00719167897477746, 0.004444746300578117, -0.007619188632816076, -0.001578903291374445, -0.057663314044475555, -0.0027238638140261173, 0.027755120769143105, 0.014451930299401283, -0.006117579992860556, -0.00952934380620718 ]
book-club-the-readability-of-tests-growing-object-oriented-software-steve-freemannat-pryce
https://markhneedham.com/blog/2009/06/20/book-club-the-readability-of-tests-growing-object-oriented-software-steve-freemannat-pryce